@a_team/prisma 3.8.6-win → 3.9.0-linux

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.
@@ -23,6 +23,21 @@ export type AccountsMember = $Result.DefaultSelection<Prisma.$AccountsMemberPayl
23
23
  *
24
24
  */
25
25
  export type AccountsWorkspace = $Result.DefaultSelection<Prisma.$AccountsWorkspacePayload>
26
+ /**
27
+ * Model BillingAccountBillingInfo
28
+ *
29
+ */
30
+ export type BillingAccountBillingInfo = $Result.DefaultSelection<Prisma.$BillingAccountBillingInfoPayload>
31
+ /**
32
+ * Model BillingAccountStripeInfo
33
+ *
34
+ */
35
+ export type BillingAccountStripeInfo = $Result.DefaultSelection<Prisma.$BillingAccountStripeInfoPayload>
36
+ /**
37
+ * Model BillingAccountPaymentTerms
38
+ *
39
+ */
40
+ export type BillingAccountPaymentTerms = $Result.DefaultSelection<Prisma.$BillingAccountPaymentTermsPayload>
26
41
  /**
27
42
  * Model LocalHourRange
28
43
  *
@@ -348,6 +363,11 @@ export type PlatformExperience = $Result.DefaultSelection<Prisma.$PlatformExperi
348
363
  *
349
364
  */
350
365
  export type Account = $Result.DefaultSelection<Prisma.$AccountPayload>
366
+ /**
367
+ * Model BillingAccount
368
+ *
369
+ */
370
+ export type BillingAccount = $Result.DefaultSelection<Prisma.$BillingAccountPayload>
351
371
  /**
352
372
  * Model ClientCompany
353
373
  *
@@ -557,6 +577,19 @@ export const InternalOnboardingStage: {
557
577
  export type InternalOnboardingStage = (typeof InternalOnboardingStage)[keyof typeof InternalOnboardingStage]
558
578
 
559
579
 
580
+ export const BillingPaymentDue: {
581
+ Net0: 'Net0',
582
+ Net15: 'Net15',
583
+ Net30: 'Net30',
584
+ Net45: 'Net45',
585
+ Net60: 'Net60',
586
+ Net90: 'Net90',
587
+ Net120: 'Net120'
588
+ };
589
+
590
+ export type BillingPaymentDue = (typeof BillingPaymentDue)[keyof typeof BillingPaymentDue]
591
+
592
+
560
593
  export const ContractPartyType: {
561
594
  BillingCustomer: 'BillingCustomer',
562
595
  MissionRole: 'MissionRole',
@@ -729,6 +762,10 @@ export type InternalOnboardingStage = $Enums.InternalOnboardingStage
729
762
 
730
763
  export const InternalOnboardingStage: typeof $Enums.InternalOnboardingStage
731
764
 
765
+ export type BillingPaymentDue = $Enums.BillingPaymentDue
766
+
767
+ export const BillingPaymentDue: typeof $Enums.BillingPaymentDue
768
+
732
769
  export type ContractPartyType = $Enums.ContractPartyType
733
770
 
734
771
  export const ContractPartyType: typeof $Enums.ContractPartyType
@@ -881,6 +918,16 @@ export class PrismaClient<
881
918
  */
882
919
  get account(): Prisma.AccountDelegate<ExtArgs>;
883
920
 
921
+ /**
922
+ * `prisma.billingAccount`: Exposes CRUD operations for the **BillingAccount** model.
923
+ * Example usage:
924
+ * ```ts
925
+ * // Fetch zero or more BillingAccounts
926
+ * const billingAccounts = await prisma.billingAccount.findMany()
927
+ * ```
928
+ */
929
+ get billingAccount(): Prisma.BillingAccountDelegate<ExtArgs>;
930
+
884
931
  /**
885
932
  * `prisma.clientCompany`: Exposes CRUD operations for the **ClientCompany** model.
886
933
  * Example usage:
@@ -1462,6 +1509,7 @@ export namespace Prisma {
1462
1509
 
1463
1510
  export const ModelName: {
1464
1511
  Account: 'Account',
1512
+ BillingAccount: 'BillingAccount',
1465
1513
  ClientCompany: 'ClientCompany',
1466
1514
  Company: 'Company',
1467
1515
  Contract: 'Contract',
@@ -1491,7 +1539,7 @@ export namespace Prisma {
1491
1539
 
1492
1540
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
1493
1541
  meta: {
1494
- modelProps: "account" | "clientCompany" | "company" | "contract" | "experience" | "mission" | "missionApplication" | "missionPrefill" | "missionSpec" | "proposal" | "roleCategory" | "solution" | "talentCategory" | "talentIndustry" | "user"
1542
+ modelProps: "account" | "billingAccount" | "clientCompany" | "company" | "contract" | "experience" | "mission" | "missionApplication" | "missionPrefill" | "missionSpec" | "proposal" | "roleCategory" | "solution" | "talentCategory" | "talentIndustry" | "user"
1495
1543
  txIsolationLevel: never
1496
1544
  }
1497
1545
  model: {
@@ -1569,6 +1617,80 @@ export namespace Prisma {
1569
1617
  }
1570
1618
  }
1571
1619
  }
1620
+ BillingAccount: {
1621
+ payload: Prisma.$BillingAccountPayload<ExtArgs>
1622
+ fields: Prisma.BillingAccountFieldRefs
1623
+ operations: {
1624
+ findUnique: {
1625
+ args: Prisma.BillingAccountFindUniqueArgs<ExtArgs>
1626
+ result: $Utils.PayloadToResult<Prisma.$BillingAccountPayload> | null
1627
+ }
1628
+ findUniqueOrThrow: {
1629
+ args: Prisma.BillingAccountFindUniqueOrThrowArgs<ExtArgs>
1630
+ result: $Utils.PayloadToResult<Prisma.$BillingAccountPayload>
1631
+ }
1632
+ findFirst: {
1633
+ args: Prisma.BillingAccountFindFirstArgs<ExtArgs>
1634
+ result: $Utils.PayloadToResult<Prisma.$BillingAccountPayload> | null
1635
+ }
1636
+ findFirstOrThrow: {
1637
+ args: Prisma.BillingAccountFindFirstOrThrowArgs<ExtArgs>
1638
+ result: $Utils.PayloadToResult<Prisma.$BillingAccountPayload>
1639
+ }
1640
+ findMany: {
1641
+ args: Prisma.BillingAccountFindManyArgs<ExtArgs>
1642
+ result: $Utils.PayloadToResult<Prisma.$BillingAccountPayload>[]
1643
+ }
1644
+ create: {
1645
+ args: Prisma.BillingAccountCreateArgs<ExtArgs>
1646
+ result: $Utils.PayloadToResult<Prisma.$BillingAccountPayload>
1647
+ }
1648
+ createMany: {
1649
+ args: Prisma.BillingAccountCreateManyArgs<ExtArgs>
1650
+ result: BatchPayload
1651
+ }
1652
+ delete: {
1653
+ args: Prisma.BillingAccountDeleteArgs<ExtArgs>
1654
+ result: $Utils.PayloadToResult<Prisma.$BillingAccountPayload>
1655
+ }
1656
+ update: {
1657
+ args: Prisma.BillingAccountUpdateArgs<ExtArgs>
1658
+ result: $Utils.PayloadToResult<Prisma.$BillingAccountPayload>
1659
+ }
1660
+ deleteMany: {
1661
+ args: Prisma.BillingAccountDeleteManyArgs<ExtArgs>
1662
+ result: BatchPayload
1663
+ }
1664
+ updateMany: {
1665
+ args: Prisma.BillingAccountUpdateManyArgs<ExtArgs>
1666
+ result: BatchPayload
1667
+ }
1668
+ upsert: {
1669
+ args: Prisma.BillingAccountUpsertArgs<ExtArgs>
1670
+ result: $Utils.PayloadToResult<Prisma.$BillingAccountPayload>
1671
+ }
1672
+ aggregate: {
1673
+ args: Prisma.BillingAccountAggregateArgs<ExtArgs>
1674
+ result: $Utils.Optional<AggregateBillingAccount>
1675
+ }
1676
+ groupBy: {
1677
+ args: Prisma.BillingAccountGroupByArgs<ExtArgs>
1678
+ result: $Utils.Optional<BillingAccountGroupByOutputType>[]
1679
+ }
1680
+ findRaw: {
1681
+ args: Prisma.BillingAccountFindRawArgs<ExtArgs>
1682
+ result: JsonObject
1683
+ }
1684
+ aggregateRaw: {
1685
+ args: Prisma.BillingAccountAggregateRawArgs<ExtArgs>
1686
+ result: JsonObject
1687
+ }
1688
+ count: {
1689
+ args: Prisma.BillingAccountCountArgs<ExtArgs>
1690
+ result: $Utils.Optional<BillingAccountCountAggregateOutputType> | number
1691
+ }
1692
+ }
1693
+ }
1572
1694
  ClientCompany: {
1573
1695
  payload: Prisma.$ClientCompanyPayload<ExtArgs>
1574
1696
  fields: Prisma.ClientCompanyFieldRefs
@@ -2797,6 +2919,37 @@ export namespace Prisma {
2797
2919
  }
2798
2920
 
2799
2921
 
2922
+ /**
2923
+ * Count Type BillingAccountCountOutputType
2924
+ */
2925
+
2926
+ export type BillingAccountCountOutputType = {
2927
+ Account: number
2928
+ }
2929
+
2930
+ export type BillingAccountCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2931
+ Account?: boolean | BillingAccountCountOutputTypeCountAccountArgs
2932
+ }
2933
+
2934
+ // Custom InputTypes
2935
+ /**
2936
+ * BillingAccountCountOutputType without action
2937
+ */
2938
+ export type BillingAccountCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2939
+ /**
2940
+ * Select specific fields to fetch from the BillingAccountCountOutputType
2941
+ */
2942
+ select?: BillingAccountCountOutputTypeSelect<ExtArgs> | null
2943
+ }
2944
+
2945
+ /**
2946
+ * BillingAccountCountOutputType without action
2947
+ */
2948
+ export type BillingAccountCountOutputTypeCountAccountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2949
+ where?: AccountWhereInput
2950
+ }
2951
+
2952
+
2800
2953
  /**
2801
2954
  * Count Type ClientCompanyCountOutputType
2802
2955
  */
@@ -2804,11 +2957,13 @@ export namespace Prisma {
2804
2957
  export type ClientCompanyCountOutputType = {
2805
2958
  accounts: number
2806
2959
  missionSpecs: number
2960
+ BillingAccount: number
2807
2961
  }
2808
2962
 
2809
2963
  export type ClientCompanyCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2810
2964
  accounts?: boolean | ClientCompanyCountOutputTypeCountAccountsArgs
2811
2965
  missionSpecs?: boolean | ClientCompanyCountOutputTypeCountMissionSpecsArgs
2966
+ BillingAccount?: boolean | ClientCompanyCountOutputTypeCountBillingAccountArgs
2812
2967
  }
2813
2968
 
2814
2969
  // Custom InputTypes
@@ -2836,6 +2991,13 @@ export namespace Prisma {
2836
2991
  where?: MissionSpecWhereInput
2837
2992
  }
2838
2993
 
2994
+ /**
2995
+ * ClientCompanyCountOutputType without action
2996
+ */
2997
+ export type ClientCompanyCountOutputTypeCountBillingAccountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2998
+ where?: BillingAccountWhereInput
2999
+ }
3000
+
2839
3001
 
2840
3002
  /**
2841
3003
  * Count Type CompanyCountOutputType
@@ -3163,6 +3325,177 @@ export namespace Prisma {
3163
3325
  }
3164
3326
 
3165
3327
 
3328
+ /**
3329
+ * Model BillingAccountBillingInfo
3330
+ */
3331
+
3332
+
3333
+
3334
+
3335
+
3336
+ export type BillingAccountBillingInfoSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
3337
+ name?: boolean
3338
+ contactName?: boolean
3339
+ contactEmail?: boolean
3340
+ tin?: boolean
3341
+ }, ExtArgs["result"]["billingAccountBillingInfo"]>
3342
+
3343
+
3344
+ export type BillingAccountBillingInfoSelectScalar = {
3345
+ name?: boolean
3346
+ contactName?: boolean
3347
+ contactEmail?: boolean
3348
+ tin?: boolean
3349
+ }
3350
+
3351
+
3352
+ export type $BillingAccountBillingInfoPayload = {
3353
+ name: "BillingAccountBillingInfo"
3354
+ objects: {}
3355
+ scalars: {
3356
+ name: string
3357
+ contactName: string | null
3358
+ contactEmail: string | null
3359
+ tin: string | null
3360
+ }
3361
+ composites: {}
3362
+ }
3363
+
3364
+ type BillingAccountBillingInfoGetPayload<S extends boolean | null | undefined | BillingAccountBillingInfoDefaultArgs> = $Result.GetResult<Prisma.$BillingAccountBillingInfoPayload, S>
3365
+
3366
+
3367
+
3368
+
3369
+
3370
+ /**
3371
+ * Fields of the BillingAccountBillingInfo model
3372
+ */
3373
+ interface BillingAccountBillingInfoFieldRefs {
3374
+ readonly name: FieldRef<"BillingAccountBillingInfo", 'String'>
3375
+ readonly contactName: FieldRef<"BillingAccountBillingInfo", 'String'>
3376
+ readonly contactEmail: FieldRef<"BillingAccountBillingInfo", 'String'>
3377
+ readonly tin: FieldRef<"BillingAccountBillingInfo", 'String'>
3378
+ }
3379
+
3380
+
3381
+ // Custom InputTypes
3382
+ /**
3383
+ * BillingAccountBillingInfo without action
3384
+ */
3385
+ export type BillingAccountBillingInfoDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3386
+ /**
3387
+ * Select specific fields to fetch from the BillingAccountBillingInfo
3388
+ */
3389
+ select?: BillingAccountBillingInfoSelect<ExtArgs> | null
3390
+ }
3391
+
3392
+
3393
+ /**
3394
+ * Model BillingAccountStripeInfo
3395
+ */
3396
+
3397
+
3398
+
3399
+
3400
+
3401
+ export type BillingAccountStripeInfoSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
3402
+ customerId?: boolean
3403
+ }, ExtArgs["result"]["billingAccountStripeInfo"]>
3404
+
3405
+
3406
+ export type BillingAccountStripeInfoSelectScalar = {
3407
+ customerId?: boolean
3408
+ }
3409
+
3410
+
3411
+ export type $BillingAccountStripeInfoPayload = {
3412
+ name: "BillingAccountStripeInfo"
3413
+ objects: {}
3414
+ scalars: {
3415
+ customerId: string
3416
+ }
3417
+ composites: {}
3418
+ }
3419
+
3420
+ type BillingAccountStripeInfoGetPayload<S extends boolean | null | undefined | BillingAccountStripeInfoDefaultArgs> = $Result.GetResult<Prisma.$BillingAccountStripeInfoPayload, S>
3421
+
3422
+
3423
+
3424
+
3425
+
3426
+ /**
3427
+ * Fields of the BillingAccountStripeInfo model
3428
+ */
3429
+ interface BillingAccountStripeInfoFieldRefs {
3430
+ readonly customerId: FieldRef<"BillingAccountStripeInfo", 'String'>
3431
+ }
3432
+
3433
+
3434
+ // Custom InputTypes
3435
+ /**
3436
+ * BillingAccountStripeInfo without action
3437
+ */
3438
+ export type BillingAccountStripeInfoDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3439
+ /**
3440
+ * Select specific fields to fetch from the BillingAccountStripeInfo
3441
+ */
3442
+ select?: BillingAccountStripeInfoSelect<ExtArgs> | null
3443
+ }
3444
+
3445
+
3446
+ /**
3447
+ * Model BillingAccountPaymentTerms
3448
+ */
3449
+
3450
+
3451
+
3452
+
3453
+
3454
+ export type BillingAccountPaymentTermsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
3455
+ due?: boolean
3456
+ }, ExtArgs["result"]["billingAccountPaymentTerms"]>
3457
+
3458
+
3459
+ export type BillingAccountPaymentTermsSelectScalar = {
3460
+ due?: boolean
3461
+ }
3462
+
3463
+
3464
+ export type $BillingAccountPaymentTermsPayload = {
3465
+ name: "BillingAccountPaymentTerms"
3466
+ objects: {}
3467
+ scalars: {
3468
+ due: $Enums.BillingPaymentDue
3469
+ }
3470
+ composites: {}
3471
+ }
3472
+
3473
+ type BillingAccountPaymentTermsGetPayload<S extends boolean | null | undefined | BillingAccountPaymentTermsDefaultArgs> = $Result.GetResult<Prisma.$BillingAccountPaymentTermsPayload, S>
3474
+
3475
+
3476
+
3477
+
3478
+
3479
+ /**
3480
+ * Fields of the BillingAccountPaymentTerms model
3481
+ */
3482
+ interface BillingAccountPaymentTermsFieldRefs {
3483
+ readonly due: FieldRef<"BillingAccountPaymentTerms", 'BillingPaymentDue'>
3484
+ }
3485
+
3486
+
3487
+ // Custom InputTypes
3488
+ /**
3489
+ * BillingAccountPaymentTerms without action
3490
+ */
3491
+ export type BillingAccountPaymentTermsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3492
+ /**
3493
+ * Select specific fields to fetch from the BillingAccountPaymentTerms
3494
+ */
3495
+ select?: BillingAccountPaymentTermsSelect<ExtArgs> | null
3496
+ }
3497
+
3498
+
3166
3499
  /**
3167
3500
  * Model LocalHourRange
3168
3501
  */
@@ -7653,6 +7986,7 @@ export namespace Prisma {
7653
7986
  migrations?: boolean
7654
7987
  clientCompanyModel?: boolean | Account$clientCompanyModelArgs<ExtArgs>
7655
7988
  company?: boolean | Account$companyArgs<ExtArgs>
7989
+ billingAccountModel?: boolean | Account$billingAccountModelArgs<ExtArgs>
7656
7990
  missions?: boolean | Account$missionsArgs<ExtArgs>
7657
7991
  missionSpecs?: boolean | Account$missionSpecsArgs<ExtArgs>
7658
7992
  contracts?: boolean | Account$contractsArgs<ExtArgs>
@@ -7674,6 +8008,7 @@ export namespace Prisma {
7674
8008
  export type AccountInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7675
8009
  clientCompanyModel?: boolean | Account$clientCompanyModelArgs<ExtArgs>
7676
8010
  company?: boolean | Account$companyArgs<ExtArgs>
8011
+ billingAccountModel?: boolean | Account$billingAccountModelArgs<ExtArgs>
7677
8012
  missions?: boolean | Account$missionsArgs<ExtArgs>
7678
8013
  missionSpecs?: boolean | Account$missionSpecsArgs<ExtArgs>
7679
8014
  contracts?: boolean | Account$contractsArgs<ExtArgs>
@@ -7685,6 +8020,7 @@ export namespace Prisma {
7685
8020
  objects: {
7686
8021
  clientCompanyModel: Prisma.$ClientCompanyPayload<ExtArgs> | null
7687
8022
  company: Prisma.$CompanyPayload<ExtArgs> | null
8023
+ billingAccountModel: Prisma.$BillingAccountPayload<ExtArgs> | null
7688
8024
  missions: Prisma.$MissionPayload<ExtArgs>[]
7689
8025
  missionSpecs: Prisma.$MissionSpecPayload<ExtArgs>[]
7690
8026
  contracts: Prisma.$ContractPayload<ExtArgs>[]
@@ -8066,6 +8402,7 @@ export namespace Prisma {
8066
8402
  readonly [Symbol.toStringTag]: "PrismaPromise"
8067
8403
  clientCompanyModel<T extends Account$clientCompanyModelArgs<ExtArgs> = {}>(args?: Subset<T, Account$clientCompanyModelArgs<ExtArgs>>): Prisma__ClientCompanyClient<$Result.GetResult<Prisma.$ClientCompanyPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
8068
8404
  company<T extends Account$companyArgs<ExtArgs> = {}>(args?: Subset<T, Account$companyArgs<ExtArgs>>): Prisma__CompanyClient<$Result.GetResult<Prisma.$CompanyPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
8405
+ billingAccountModel<T extends Account$billingAccountModelArgs<ExtArgs> = {}>(args?: Subset<T, Account$billingAccountModelArgs<ExtArgs>>): Prisma__BillingAccountClient<$Result.GetResult<Prisma.$BillingAccountPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
8069
8406
  missions<T extends Account$missionsArgs<ExtArgs> = {}>(args?: Subset<T, Account$missionsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MissionPayload<ExtArgs>, T, "findMany"> | Null>
8070
8407
  missionSpecs<T extends Account$missionSpecsArgs<ExtArgs> = {}>(args?: Subset<T, Account$missionSpecsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MissionSpecPayload<ExtArgs>, T, "findMany"> | Null>
8071
8408
  contracts<T extends Account$contractsArgs<ExtArgs> = {}>(args?: Subset<T, Account$contractsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ContractPayload<ExtArgs>, T, "findMany"> | Null>
@@ -8095,318 +8432,1354 @@ export namespace Prisma {
8095
8432
 
8096
8433
 
8097
8434
  /**
8098
- * Fields of the Account model
8435
+ * Fields of the Account model
8436
+ */
8437
+ interface AccountFieldRefs {
8438
+ readonly id: FieldRef<"Account", 'String'>
8439
+ readonly clientCompany: FieldRef<"Account", 'String'>
8440
+ readonly companyId: FieldRef<"Account", 'String'>
8441
+ readonly billingAccount: FieldRef<"Account", 'String'>
8442
+ readonly createdAt: FieldRef<"Account", 'DateTime'>
8443
+ readonly updatedAt: FieldRef<"Account", 'DateTime'>
8444
+ readonly deletedAt: FieldRef<"Account", 'DateTime'>
8445
+ readonly migrations: FieldRef<"Account", 'String[]'>
8446
+ }
8447
+
8448
+
8449
+ // Custom InputTypes
8450
+ /**
8451
+ * Account findUnique
8452
+ */
8453
+ export type AccountFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8454
+ /**
8455
+ * Select specific fields to fetch from the Account
8456
+ */
8457
+ select?: AccountSelect<ExtArgs> | null
8458
+ /**
8459
+ * Choose, which related nodes to fetch as well
8460
+ */
8461
+ include?: AccountInclude<ExtArgs> | null
8462
+ /**
8463
+ * Filter, which Account to fetch.
8464
+ */
8465
+ where: AccountWhereUniqueInput
8466
+ }
8467
+
8468
+ /**
8469
+ * Account findUniqueOrThrow
8470
+ */
8471
+ export type AccountFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8472
+ /**
8473
+ * Select specific fields to fetch from the Account
8474
+ */
8475
+ select?: AccountSelect<ExtArgs> | null
8476
+ /**
8477
+ * Choose, which related nodes to fetch as well
8478
+ */
8479
+ include?: AccountInclude<ExtArgs> | null
8480
+ /**
8481
+ * Filter, which Account to fetch.
8482
+ */
8483
+ where: AccountWhereUniqueInput
8484
+ }
8485
+
8486
+ /**
8487
+ * Account findFirst
8488
+ */
8489
+ export type AccountFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8490
+ /**
8491
+ * Select specific fields to fetch from the Account
8492
+ */
8493
+ select?: AccountSelect<ExtArgs> | null
8494
+ /**
8495
+ * Choose, which related nodes to fetch as well
8496
+ */
8497
+ include?: AccountInclude<ExtArgs> | null
8498
+ /**
8499
+ * Filter, which Account to fetch.
8500
+ */
8501
+ where?: AccountWhereInput
8502
+ /**
8503
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
8504
+ *
8505
+ * Determine the order of Accounts to fetch.
8506
+ */
8507
+ orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[]
8508
+ /**
8509
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
8510
+ *
8511
+ * Sets the position for searching for Accounts.
8512
+ */
8513
+ cursor?: AccountWhereUniqueInput
8514
+ /**
8515
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8516
+ *
8517
+ * Take `±n` Accounts from the position of the cursor.
8518
+ */
8519
+ take?: number
8520
+ /**
8521
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8522
+ *
8523
+ * Skip the first `n` Accounts.
8524
+ */
8525
+ skip?: number
8526
+ /**
8527
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
8528
+ *
8529
+ * Filter by unique combinations of Accounts.
8530
+ */
8531
+ distinct?: AccountScalarFieldEnum | AccountScalarFieldEnum[]
8532
+ }
8533
+
8534
+ /**
8535
+ * Account findFirstOrThrow
8536
+ */
8537
+ export type AccountFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8538
+ /**
8539
+ * Select specific fields to fetch from the Account
8540
+ */
8541
+ select?: AccountSelect<ExtArgs> | null
8542
+ /**
8543
+ * Choose, which related nodes to fetch as well
8544
+ */
8545
+ include?: AccountInclude<ExtArgs> | null
8546
+ /**
8547
+ * Filter, which Account to fetch.
8548
+ */
8549
+ where?: AccountWhereInput
8550
+ /**
8551
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
8552
+ *
8553
+ * Determine the order of Accounts to fetch.
8554
+ */
8555
+ orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[]
8556
+ /**
8557
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
8558
+ *
8559
+ * Sets the position for searching for Accounts.
8560
+ */
8561
+ cursor?: AccountWhereUniqueInput
8562
+ /**
8563
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8564
+ *
8565
+ * Take `±n` Accounts from the position of the cursor.
8566
+ */
8567
+ take?: number
8568
+ /**
8569
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8570
+ *
8571
+ * Skip the first `n` Accounts.
8572
+ */
8573
+ skip?: number
8574
+ /**
8575
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
8576
+ *
8577
+ * Filter by unique combinations of Accounts.
8578
+ */
8579
+ distinct?: AccountScalarFieldEnum | AccountScalarFieldEnum[]
8580
+ }
8581
+
8582
+ /**
8583
+ * Account findMany
8584
+ */
8585
+ export type AccountFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8586
+ /**
8587
+ * Select specific fields to fetch from the Account
8588
+ */
8589
+ select?: AccountSelect<ExtArgs> | null
8590
+ /**
8591
+ * Choose, which related nodes to fetch as well
8592
+ */
8593
+ include?: AccountInclude<ExtArgs> | null
8594
+ /**
8595
+ * Filter, which Accounts to fetch.
8596
+ */
8597
+ where?: AccountWhereInput
8598
+ /**
8599
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
8600
+ *
8601
+ * Determine the order of Accounts to fetch.
8602
+ */
8603
+ orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[]
8604
+ /**
8605
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
8606
+ *
8607
+ * Sets the position for listing Accounts.
8608
+ */
8609
+ cursor?: AccountWhereUniqueInput
8610
+ /**
8611
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8612
+ *
8613
+ * Take `±n` Accounts from the position of the cursor.
8614
+ */
8615
+ take?: number
8616
+ /**
8617
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8618
+ *
8619
+ * Skip the first `n` Accounts.
8620
+ */
8621
+ skip?: number
8622
+ distinct?: AccountScalarFieldEnum | AccountScalarFieldEnum[]
8623
+ }
8624
+
8625
+ /**
8626
+ * Account create
8627
+ */
8628
+ export type AccountCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8629
+ /**
8630
+ * Select specific fields to fetch from the Account
8631
+ */
8632
+ select?: AccountSelect<ExtArgs> | null
8633
+ /**
8634
+ * Choose, which related nodes to fetch as well
8635
+ */
8636
+ include?: AccountInclude<ExtArgs> | null
8637
+ /**
8638
+ * The data needed to create a Account.
8639
+ */
8640
+ data?: XOR<AccountCreateInput, AccountUncheckedCreateInput>
8641
+ }
8642
+
8643
+ /**
8644
+ * Account createMany
8645
+ */
8646
+ export type AccountCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8647
+ /**
8648
+ * The data used to create many Accounts.
8649
+ */
8650
+ data: AccountCreateManyInput | AccountCreateManyInput[]
8651
+ }
8652
+
8653
+ /**
8654
+ * Account update
8655
+ */
8656
+ export type AccountUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8657
+ /**
8658
+ * Select specific fields to fetch from the Account
8659
+ */
8660
+ select?: AccountSelect<ExtArgs> | null
8661
+ /**
8662
+ * Choose, which related nodes to fetch as well
8663
+ */
8664
+ include?: AccountInclude<ExtArgs> | null
8665
+ /**
8666
+ * The data needed to update a Account.
8667
+ */
8668
+ data: XOR<AccountUpdateInput, AccountUncheckedUpdateInput>
8669
+ /**
8670
+ * Choose, which Account to update.
8671
+ */
8672
+ where: AccountWhereUniqueInput
8673
+ }
8674
+
8675
+ /**
8676
+ * Account updateMany
8677
+ */
8678
+ export type AccountUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8679
+ /**
8680
+ * The data used to update Accounts.
8681
+ */
8682
+ data: XOR<AccountUpdateManyMutationInput, AccountUncheckedUpdateManyInput>
8683
+ /**
8684
+ * Filter which Accounts to update
8685
+ */
8686
+ where?: AccountWhereInput
8687
+ }
8688
+
8689
+ /**
8690
+ * Account upsert
8691
+ */
8692
+ export type AccountUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8693
+ /**
8694
+ * Select specific fields to fetch from the Account
8695
+ */
8696
+ select?: AccountSelect<ExtArgs> | null
8697
+ /**
8698
+ * Choose, which related nodes to fetch as well
8699
+ */
8700
+ include?: AccountInclude<ExtArgs> | null
8701
+ /**
8702
+ * The filter to search for the Account to update in case it exists.
8703
+ */
8704
+ where: AccountWhereUniqueInput
8705
+ /**
8706
+ * In case the Account found by the `where` argument doesn't exist, create a new Account with this data.
8707
+ */
8708
+ create: XOR<AccountCreateInput, AccountUncheckedCreateInput>
8709
+ /**
8710
+ * In case the Account was found with the provided `where` argument, update it with this data.
8711
+ */
8712
+ update: XOR<AccountUpdateInput, AccountUncheckedUpdateInput>
8713
+ }
8714
+
8715
+ /**
8716
+ * Account delete
8717
+ */
8718
+ export type AccountDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8719
+ /**
8720
+ * Select specific fields to fetch from the Account
8721
+ */
8722
+ select?: AccountSelect<ExtArgs> | null
8723
+ /**
8724
+ * Choose, which related nodes to fetch as well
8725
+ */
8726
+ include?: AccountInclude<ExtArgs> | null
8727
+ /**
8728
+ * Filter which Account to delete.
8729
+ */
8730
+ where: AccountWhereUniqueInput
8731
+ }
8732
+
8733
+ /**
8734
+ * Account deleteMany
8735
+ */
8736
+ export type AccountDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8737
+ /**
8738
+ * Filter which Accounts to delete
8739
+ */
8740
+ where?: AccountWhereInput
8741
+ }
8742
+
8743
+ /**
8744
+ * Account findRaw
8745
+ */
8746
+ export type AccountFindRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8747
+ /**
8748
+ * The query predicate filter. If unspecified, then all documents in the collection will match the predicate. ${@link https://docs.mongodb.com/manual/reference/operator/query MongoDB Docs}.
8749
+ */
8750
+ filter?: InputJsonValue
8751
+ /**
8752
+ * Additional options to pass to the `find` command ${@link https://docs.mongodb.com/manual/reference/command/find/#command-fields MongoDB Docs}.
8753
+ */
8754
+ options?: InputJsonValue
8755
+ }
8756
+
8757
+ /**
8758
+ * Account aggregateRaw
8759
+ */
8760
+ export type AccountAggregateRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8761
+ /**
8762
+ * An array of aggregation stages to process and transform the document stream via the aggregation pipeline. ${@link https://docs.mongodb.com/manual/reference/operator/aggregation-pipeline MongoDB Docs}.
8763
+ */
8764
+ pipeline?: InputJsonValue[]
8765
+ /**
8766
+ * Additional options to pass to the `aggregate` command ${@link https://docs.mongodb.com/manual/reference/command/aggregate/#command-fields MongoDB Docs}.
8767
+ */
8768
+ options?: InputJsonValue
8769
+ }
8770
+
8771
+ /**
8772
+ * Account.clientCompanyModel
8773
+ */
8774
+ export type Account$clientCompanyModelArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8775
+ /**
8776
+ * Select specific fields to fetch from the ClientCompany
8777
+ */
8778
+ select?: ClientCompanySelect<ExtArgs> | null
8779
+ /**
8780
+ * Choose, which related nodes to fetch as well
8781
+ */
8782
+ include?: ClientCompanyInclude<ExtArgs> | null
8783
+ where?: ClientCompanyWhereInput
8784
+ }
8785
+
8786
+ /**
8787
+ * Account.company
8788
+ */
8789
+ export type Account$companyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8790
+ /**
8791
+ * Select specific fields to fetch from the Company
8792
+ */
8793
+ select?: CompanySelect<ExtArgs> | null
8794
+ /**
8795
+ * Choose, which related nodes to fetch as well
8796
+ */
8797
+ include?: CompanyInclude<ExtArgs> | null
8798
+ where?: CompanyWhereInput
8799
+ }
8800
+
8801
+ /**
8802
+ * Account.billingAccountModel
8803
+ */
8804
+ export type Account$billingAccountModelArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8805
+ /**
8806
+ * Select specific fields to fetch from the BillingAccount
8807
+ */
8808
+ select?: BillingAccountSelect<ExtArgs> | null
8809
+ /**
8810
+ * Choose, which related nodes to fetch as well
8811
+ */
8812
+ include?: BillingAccountInclude<ExtArgs> | null
8813
+ where?: BillingAccountWhereInput
8814
+ }
8815
+
8816
+ /**
8817
+ * Account.missions
8818
+ */
8819
+ export type Account$missionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8820
+ /**
8821
+ * Select specific fields to fetch from the Mission
8822
+ */
8823
+ select?: MissionSelect<ExtArgs> | null
8824
+ /**
8825
+ * Choose, which related nodes to fetch as well
8826
+ */
8827
+ include?: MissionInclude<ExtArgs> | null
8828
+ where?: MissionWhereInput
8829
+ orderBy?: MissionOrderByWithRelationInput | MissionOrderByWithRelationInput[]
8830
+ cursor?: MissionWhereUniqueInput
8831
+ take?: number
8832
+ skip?: number
8833
+ distinct?: MissionScalarFieldEnum | MissionScalarFieldEnum[]
8834
+ }
8835
+
8836
+ /**
8837
+ * Account.missionSpecs
8838
+ */
8839
+ export type Account$missionSpecsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8840
+ /**
8841
+ * Select specific fields to fetch from the MissionSpec
8842
+ */
8843
+ select?: MissionSpecSelect<ExtArgs> | null
8844
+ /**
8845
+ * Choose, which related nodes to fetch as well
8846
+ */
8847
+ include?: MissionSpecInclude<ExtArgs> | null
8848
+ where?: MissionSpecWhereInput
8849
+ orderBy?: MissionSpecOrderByWithRelationInput | MissionSpecOrderByWithRelationInput[]
8850
+ cursor?: MissionSpecWhereUniqueInput
8851
+ take?: number
8852
+ skip?: number
8853
+ distinct?: MissionSpecScalarFieldEnum | MissionSpecScalarFieldEnum[]
8854
+ }
8855
+
8856
+ /**
8857
+ * Account.contracts
8858
+ */
8859
+ export type Account$contractsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8860
+ /**
8861
+ * Select specific fields to fetch from the Contract
8862
+ */
8863
+ select?: ContractSelect<ExtArgs> | null
8864
+ /**
8865
+ * Choose, which related nodes to fetch as well
8866
+ */
8867
+ include?: ContractInclude<ExtArgs> | null
8868
+ where?: ContractWhereInput
8869
+ orderBy?: ContractOrderByWithRelationInput | ContractOrderByWithRelationInput[]
8870
+ cursor?: ContractWhereUniqueInput
8871
+ take?: number
8872
+ skip?: number
8873
+ distinct?: ContractScalarFieldEnum | ContractScalarFieldEnum[]
8874
+ }
8875
+
8876
+ /**
8877
+ * Account without action
8878
+ */
8879
+ export type AccountDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8880
+ /**
8881
+ * Select specific fields to fetch from the Account
8882
+ */
8883
+ select?: AccountSelect<ExtArgs> | null
8884
+ /**
8885
+ * Choose, which related nodes to fetch as well
8886
+ */
8887
+ include?: AccountInclude<ExtArgs> | null
8888
+ }
8889
+
8890
+
8891
+ /**
8892
+ * Model BillingAccount
8893
+ */
8894
+
8895
+ export type AggregateBillingAccount = {
8896
+ _count: BillingAccountCountAggregateOutputType | null
8897
+ _min: BillingAccountMinAggregateOutputType | null
8898
+ _max: BillingAccountMaxAggregateOutputType | null
8899
+ }
8900
+
8901
+ export type BillingAccountMinAggregateOutputType = {
8902
+ id: string | null
8903
+ clientCompany: string | null
8904
+ createdAt: Date | null
8905
+ updatedAt: Date | null
8906
+ }
8907
+
8908
+ export type BillingAccountMaxAggregateOutputType = {
8909
+ id: string | null
8910
+ clientCompany: string | null
8911
+ createdAt: Date | null
8912
+ updatedAt: Date | null
8913
+ }
8914
+
8915
+ export type BillingAccountCountAggregateOutputType = {
8916
+ id: number
8917
+ clientCompany: number
8918
+ createdAt: number
8919
+ updatedAt: number
8920
+ _all: number
8921
+ }
8922
+
8923
+
8924
+ export type BillingAccountMinAggregateInputType = {
8925
+ id?: true
8926
+ clientCompany?: true
8927
+ createdAt?: true
8928
+ updatedAt?: true
8929
+ }
8930
+
8931
+ export type BillingAccountMaxAggregateInputType = {
8932
+ id?: true
8933
+ clientCompany?: true
8934
+ createdAt?: true
8935
+ updatedAt?: true
8936
+ }
8937
+
8938
+ export type BillingAccountCountAggregateInputType = {
8939
+ id?: true
8940
+ clientCompany?: true
8941
+ createdAt?: true
8942
+ updatedAt?: true
8943
+ _all?: true
8944
+ }
8945
+
8946
+ export type BillingAccountAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8947
+ /**
8948
+ * Filter which BillingAccount to aggregate.
8949
+ */
8950
+ where?: BillingAccountWhereInput
8951
+ /**
8952
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
8953
+ *
8954
+ * Determine the order of BillingAccounts to fetch.
8955
+ */
8956
+ orderBy?: BillingAccountOrderByWithRelationInput | BillingAccountOrderByWithRelationInput[]
8957
+ /**
8958
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
8959
+ *
8960
+ * Sets the start position
8961
+ */
8962
+ cursor?: BillingAccountWhereUniqueInput
8963
+ /**
8964
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8965
+ *
8966
+ * Take `±n` BillingAccounts from the position of the cursor.
8967
+ */
8968
+ take?: number
8969
+ /**
8970
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8971
+ *
8972
+ * Skip the first `n` BillingAccounts.
8973
+ */
8974
+ skip?: number
8975
+ /**
8976
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
8977
+ *
8978
+ * Count returned BillingAccounts
8979
+ **/
8980
+ _count?: true | BillingAccountCountAggregateInputType
8981
+ /**
8982
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
8983
+ *
8984
+ * Select which fields to find the minimum value
8985
+ **/
8986
+ _min?: BillingAccountMinAggregateInputType
8987
+ /**
8988
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
8989
+ *
8990
+ * Select which fields to find the maximum value
8991
+ **/
8992
+ _max?: BillingAccountMaxAggregateInputType
8993
+ }
8994
+
8995
+ export type GetBillingAccountAggregateType<T extends BillingAccountAggregateArgs> = {
8996
+ [P in keyof T & keyof AggregateBillingAccount]: P extends '_count' | 'count'
8997
+ ? T[P] extends true
8998
+ ? number
8999
+ : GetScalarType<T[P], AggregateBillingAccount[P]>
9000
+ : GetScalarType<T[P], AggregateBillingAccount[P]>
9001
+ }
9002
+
9003
+
9004
+
9005
+
9006
+ export type BillingAccountGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9007
+ where?: BillingAccountWhereInput
9008
+ orderBy?: BillingAccountOrderByWithAggregationInput | BillingAccountOrderByWithAggregationInput[]
9009
+ by: BillingAccountScalarFieldEnum[] | BillingAccountScalarFieldEnum
9010
+ having?: BillingAccountScalarWhereWithAggregatesInput
9011
+ take?: number
9012
+ skip?: number
9013
+ _count?: BillingAccountCountAggregateInputType | true
9014
+ _min?: BillingAccountMinAggregateInputType
9015
+ _max?: BillingAccountMaxAggregateInputType
9016
+ }
9017
+
9018
+ export type BillingAccountGroupByOutputType = {
9019
+ id: string
9020
+ clientCompany: string | null
9021
+ createdAt: Date | null
9022
+ updatedAt: Date | null
9023
+ _count: BillingAccountCountAggregateOutputType | null
9024
+ _min: BillingAccountMinAggregateOutputType | null
9025
+ _max: BillingAccountMaxAggregateOutputType | null
9026
+ }
9027
+
9028
+ type GetBillingAccountGroupByPayload<T extends BillingAccountGroupByArgs> = Prisma.PrismaPromise<
9029
+ Array<
9030
+ PickEnumerable<BillingAccountGroupByOutputType, T['by']> &
9031
+ {
9032
+ [P in ((keyof T) & (keyof BillingAccountGroupByOutputType))]: P extends '_count'
9033
+ ? T[P] extends boolean
9034
+ ? number
9035
+ : GetScalarType<T[P], BillingAccountGroupByOutputType[P]>
9036
+ : GetScalarType<T[P], BillingAccountGroupByOutputType[P]>
9037
+ }
9038
+ >
9039
+ >
9040
+
9041
+
9042
+ export type BillingAccountSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
9043
+ id?: boolean
9044
+ billingInfo?: boolean | BillingAccountBillingInfoDefaultArgs<ExtArgs>
9045
+ stripe?: boolean | BillingAccountStripeInfoDefaultArgs<ExtArgs>
9046
+ paymentTerms?: boolean | BillingAccountPaymentTermsDefaultArgs<ExtArgs>
9047
+ clientCompany?: boolean
9048
+ createdAt?: boolean
9049
+ updatedAt?: boolean
9050
+ clientCompanyModel?: boolean | BillingAccount$clientCompanyModelArgs<ExtArgs>
9051
+ Account?: boolean | BillingAccount$AccountArgs<ExtArgs>
9052
+ _count?: boolean | BillingAccountCountOutputTypeDefaultArgs<ExtArgs>
9053
+ }, ExtArgs["result"]["billingAccount"]>
9054
+
9055
+
9056
+ export type BillingAccountSelectScalar = {
9057
+ id?: boolean
9058
+ clientCompany?: boolean
9059
+ createdAt?: boolean
9060
+ updatedAt?: boolean
9061
+ }
9062
+
9063
+ export type BillingAccountInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9064
+ clientCompanyModel?: boolean | BillingAccount$clientCompanyModelArgs<ExtArgs>
9065
+ Account?: boolean | BillingAccount$AccountArgs<ExtArgs>
9066
+ _count?: boolean | BillingAccountCountOutputTypeDefaultArgs<ExtArgs>
9067
+ }
9068
+
9069
+ export type $BillingAccountPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9070
+ name: "BillingAccount"
9071
+ objects: {
9072
+ clientCompanyModel: Prisma.$ClientCompanyPayload<ExtArgs> | null
9073
+ Account: Prisma.$AccountPayload<ExtArgs>[]
9074
+ }
9075
+ scalars: $Extensions.GetPayloadResult<{
9076
+ id: string
9077
+ clientCompany: string | null
9078
+ createdAt: Date | null
9079
+ updatedAt: Date | null
9080
+ }, ExtArgs["result"]["billingAccount"]>
9081
+ composites: {
9082
+ billingInfo: Prisma.$BillingAccountBillingInfoPayload | null
9083
+ stripe: Prisma.$BillingAccountStripeInfoPayload | null
9084
+ paymentTerms: Prisma.$BillingAccountPaymentTermsPayload | null
9085
+ }
9086
+ }
9087
+
9088
+ type BillingAccountGetPayload<S extends boolean | null | undefined | BillingAccountDefaultArgs> = $Result.GetResult<Prisma.$BillingAccountPayload, S>
9089
+
9090
+ type BillingAccountCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
9091
+ Omit<BillingAccountFindManyArgs, 'select' | 'include' | 'distinct'> & {
9092
+ select?: BillingAccountCountAggregateInputType | true
9093
+ }
9094
+
9095
+ export interface BillingAccountDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
9096
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BillingAccount'], meta: { name: 'BillingAccount' } }
9097
+ /**
9098
+ * Find zero or one BillingAccount that matches the filter.
9099
+ * @param {BillingAccountFindUniqueArgs} args - Arguments to find a BillingAccount
9100
+ * @example
9101
+ * // Get one BillingAccount
9102
+ * const billingAccount = await prisma.billingAccount.findUnique({
9103
+ * where: {
9104
+ * // ... provide filter here
9105
+ * }
9106
+ * })
9107
+ */
9108
+ findUnique<T extends BillingAccountFindUniqueArgs>(args: SelectSubset<T, BillingAccountFindUniqueArgs<ExtArgs>>): Prisma__BillingAccountClient<$Result.GetResult<Prisma.$BillingAccountPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
9109
+
9110
+ /**
9111
+ * Find one BillingAccount that matches the filter or throw an error with `error.code='P2025'`
9112
+ * if no matches were found.
9113
+ * @param {BillingAccountFindUniqueOrThrowArgs} args - Arguments to find a BillingAccount
9114
+ * @example
9115
+ * // Get one BillingAccount
9116
+ * const billingAccount = await prisma.billingAccount.findUniqueOrThrow({
9117
+ * where: {
9118
+ * // ... provide filter here
9119
+ * }
9120
+ * })
9121
+ */
9122
+ findUniqueOrThrow<T extends BillingAccountFindUniqueOrThrowArgs>(args: SelectSubset<T, BillingAccountFindUniqueOrThrowArgs<ExtArgs>>): Prisma__BillingAccountClient<$Result.GetResult<Prisma.$BillingAccountPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
9123
+
9124
+ /**
9125
+ * Find the first BillingAccount that matches the filter.
9126
+ * Note, that providing `undefined` is treated as the value not being there.
9127
+ * Read more here: https://pris.ly/d/null-undefined
9128
+ * @param {BillingAccountFindFirstArgs} args - Arguments to find a BillingAccount
9129
+ * @example
9130
+ * // Get one BillingAccount
9131
+ * const billingAccount = await prisma.billingAccount.findFirst({
9132
+ * where: {
9133
+ * // ... provide filter here
9134
+ * }
9135
+ * })
9136
+ */
9137
+ findFirst<T extends BillingAccountFindFirstArgs>(args?: SelectSubset<T, BillingAccountFindFirstArgs<ExtArgs>>): Prisma__BillingAccountClient<$Result.GetResult<Prisma.$BillingAccountPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
9138
+
9139
+ /**
9140
+ * Find the first BillingAccount that matches the filter or
9141
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
9142
+ * Note, that providing `undefined` is treated as the value not being there.
9143
+ * Read more here: https://pris.ly/d/null-undefined
9144
+ * @param {BillingAccountFindFirstOrThrowArgs} args - Arguments to find a BillingAccount
9145
+ * @example
9146
+ * // Get one BillingAccount
9147
+ * const billingAccount = await prisma.billingAccount.findFirstOrThrow({
9148
+ * where: {
9149
+ * // ... provide filter here
9150
+ * }
9151
+ * })
9152
+ */
9153
+ findFirstOrThrow<T extends BillingAccountFindFirstOrThrowArgs>(args?: SelectSubset<T, BillingAccountFindFirstOrThrowArgs<ExtArgs>>): Prisma__BillingAccountClient<$Result.GetResult<Prisma.$BillingAccountPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
9154
+
9155
+ /**
9156
+ * Find zero or more BillingAccounts that matches the filter.
9157
+ * Note, that providing `undefined` is treated as the value not being there.
9158
+ * Read more here: https://pris.ly/d/null-undefined
9159
+ * @param {BillingAccountFindManyArgs} args - Arguments to filter and select certain fields only.
9160
+ * @example
9161
+ * // Get all BillingAccounts
9162
+ * const billingAccounts = await prisma.billingAccount.findMany()
9163
+ *
9164
+ * // Get first 10 BillingAccounts
9165
+ * const billingAccounts = await prisma.billingAccount.findMany({ take: 10 })
9166
+ *
9167
+ * // Only select the `id`
9168
+ * const billingAccountWithIdOnly = await prisma.billingAccount.findMany({ select: { id: true } })
9169
+ *
9170
+ */
9171
+ findMany<T extends BillingAccountFindManyArgs>(args?: SelectSubset<T, BillingAccountFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$BillingAccountPayload<ExtArgs>, T, "findMany">>
9172
+
9173
+ /**
9174
+ * Create a BillingAccount.
9175
+ * @param {BillingAccountCreateArgs} args - Arguments to create a BillingAccount.
9176
+ * @example
9177
+ * // Create one BillingAccount
9178
+ * const BillingAccount = await prisma.billingAccount.create({
9179
+ * data: {
9180
+ * // ... data to create a BillingAccount
9181
+ * }
9182
+ * })
9183
+ *
9184
+ */
9185
+ create<T extends BillingAccountCreateArgs>(args: SelectSubset<T, BillingAccountCreateArgs<ExtArgs>>): Prisma__BillingAccountClient<$Result.GetResult<Prisma.$BillingAccountPayload<ExtArgs>, T, "create">, never, ExtArgs>
9186
+
9187
+ /**
9188
+ * Create many BillingAccounts.
9189
+ * @param {BillingAccountCreateManyArgs} args - Arguments to create many BillingAccounts.
9190
+ * @example
9191
+ * // Create many BillingAccounts
9192
+ * const billingAccount = await prisma.billingAccount.createMany({
9193
+ * data: [
9194
+ * // ... provide data here
9195
+ * ]
9196
+ * })
9197
+ *
9198
+ */
9199
+ createMany<T extends BillingAccountCreateManyArgs>(args?: SelectSubset<T, BillingAccountCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
9200
+
9201
+ /**
9202
+ * Delete a BillingAccount.
9203
+ * @param {BillingAccountDeleteArgs} args - Arguments to delete one BillingAccount.
9204
+ * @example
9205
+ * // Delete one BillingAccount
9206
+ * const BillingAccount = await prisma.billingAccount.delete({
9207
+ * where: {
9208
+ * // ... filter to delete one BillingAccount
9209
+ * }
9210
+ * })
9211
+ *
9212
+ */
9213
+ delete<T extends BillingAccountDeleteArgs>(args: SelectSubset<T, BillingAccountDeleteArgs<ExtArgs>>): Prisma__BillingAccountClient<$Result.GetResult<Prisma.$BillingAccountPayload<ExtArgs>, T, "delete">, never, ExtArgs>
9214
+
9215
+ /**
9216
+ * Update one BillingAccount.
9217
+ * @param {BillingAccountUpdateArgs} args - Arguments to update one BillingAccount.
9218
+ * @example
9219
+ * // Update one BillingAccount
9220
+ * const billingAccount = await prisma.billingAccount.update({
9221
+ * where: {
9222
+ * // ... provide filter here
9223
+ * },
9224
+ * data: {
9225
+ * // ... provide data here
9226
+ * }
9227
+ * })
9228
+ *
9229
+ */
9230
+ update<T extends BillingAccountUpdateArgs>(args: SelectSubset<T, BillingAccountUpdateArgs<ExtArgs>>): Prisma__BillingAccountClient<$Result.GetResult<Prisma.$BillingAccountPayload<ExtArgs>, T, "update">, never, ExtArgs>
9231
+
9232
+ /**
9233
+ * Delete zero or more BillingAccounts.
9234
+ * @param {BillingAccountDeleteManyArgs} args - Arguments to filter BillingAccounts to delete.
9235
+ * @example
9236
+ * // Delete a few BillingAccounts
9237
+ * const { count } = await prisma.billingAccount.deleteMany({
9238
+ * where: {
9239
+ * // ... provide filter here
9240
+ * }
9241
+ * })
9242
+ *
9243
+ */
9244
+ deleteMany<T extends BillingAccountDeleteManyArgs>(args?: SelectSubset<T, BillingAccountDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
9245
+
9246
+ /**
9247
+ * Update zero or more BillingAccounts.
9248
+ * Note, that providing `undefined` is treated as the value not being there.
9249
+ * Read more here: https://pris.ly/d/null-undefined
9250
+ * @param {BillingAccountUpdateManyArgs} args - Arguments to update one or more rows.
9251
+ * @example
9252
+ * // Update many BillingAccounts
9253
+ * const billingAccount = await prisma.billingAccount.updateMany({
9254
+ * where: {
9255
+ * // ... provide filter here
9256
+ * },
9257
+ * data: {
9258
+ * // ... provide data here
9259
+ * }
9260
+ * })
9261
+ *
9262
+ */
9263
+ updateMany<T extends BillingAccountUpdateManyArgs>(args: SelectSubset<T, BillingAccountUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
9264
+
9265
+ /**
9266
+ * Create or update one BillingAccount.
9267
+ * @param {BillingAccountUpsertArgs} args - Arguments to update or create a BillingAccount.
9268
+ * @example
9269
+ * // Update or create a BillingAccount
9270
+ * const billingAccount = await prisma.billingAccount.upsert({
9271
+ * create: {
9272
+ * // ... data to create a BillingAccount
9273
+ * },
9274
+ * update: {
9275
+ * // ... in case it already exists, update
9276
+ * },
9277
+ * where: {
9278
+ * // ... the filter for the BillingAccount we want to update
9279
+ * }
9280
+ * })
9281
+ */
9282
+ upsert<T extends BillingAccountUpsertArgs>(args: SelectSubset<T, BillingAccountUpsertArgs<ExtArgs>>): Prisma__BillingAccountClient<$Result.GetResult<Prisma.$BillingAccountPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
9283
+
9284
+ /**
9285
+ * Find zero or more BillingAccounts that matches the filter.
9286
+ * @param {BillingAccountFindRawArgs} args - Select which filters you would like to apply.
9287
+ * @example
9288
+ * const billingAccount = await prisma.billingAccount.findRaw({
9289
+ * filter: { age: { $gt: 25 } }
9290
+ * })
9291
+ */
9292
+ findRaw(args?: BillingAccountFindRawArgs): Prisma.PrismaPromise<JsonObject>
9293
+
9294
+ /**
9295
+ * Perform aggregation operations on a BillingAccount.
9296
+ * @param {BillingAccountAggregateRawArgs} args - Select which aggregations you would like to apply.
9297
+ * @example
9298
+ * const billingAccount = await prisma.billingAccount.aggregateRaw({
9299
+ * pipeline: [
9300
+ * { $match: { status: "registered" } },
9301
+ * { $group: { _id: "$country", total: { $sum: 1 } } }
9302
+ * ]
9303
+ * })
9304
+ */
9305
+ aggregateRaw(args?: BillingAccountAggregateRawArgs): Prisma.PrismaPromise<JsonObject>
9306
+
9307
+
9308
+ /**
9309
+ * Count the number of BillingAccounts.
9310
+ * Note, that providing `undefined` is treated as the value not being there.
9311
+ * Read more here: https://pris.ly/d/null-undefined
9312
+ * @param {BillingAccountCountArgs} args - Arguments to filter BillingAccounts to count.
9313
+ * @example
9314
+ * // Count the number of BillingAccounts
9315
+ * const count = await prisma.billingAccount.count({
9316
+ * where: {
9317
+ * // ... the filter for the BillingAccounts we want to count
9318
+ * }
9319
+ * })
9320
+ **/
9321
+ count<T extends BillingAccountCountArgs>(
9322
+ args?: Subset<T, BillingAccountCountArgs>,
9323
+ ): Prisma.PrismaPromise<
9324
+ T extends $Utils.Record<'select', any>
9325
+ ? T['select'] extends true
9326
+ ? number
9327
+ : GetScalarType<T['select'], BillingAccountCountAggregateOutputType>
9328
+ : number
9329
+ >
9330
+
9331
+ /**
9332
+ * Allows you to perform aggregations operations on a BillingAccount.
9333
+ * Note, that providing `undefined` is treated as the value not being there.
9334
+ * Read more here: https://pris.ly/d/null-undefined
9335
+ * @param {BillingAccountAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
9336
+ * @example
9337
+ * // Ordered by age ascending
9338
+ * // Where email contains prisma.io
9339
+ * // Limited to the 10 users
9340
+ * const aggregations = await prisma.user.aggregate({
9341
+ * _avg: {
9342
+ * age: true,
9343
+ * },
9344
+ * where: {
9345
+ * email: {
9346
+ * contains: "prisma.io",
9347
+ * },
9348
+ * },
9349
+ * orderBy: {
9350
+ * age: "asc",
9351
+ * },
9352
+ * take: 10,
9353
+ * })
9354
+ **/
9355
+ aggregate<T extends BillingAccountAggregateArgs>(args: Subset<T, BillingAccountAggregateArgs>): Prisma.PrismaPromise<GetBillingAccountAggregateType<T>>
9356
+
9357
+ /**
9358
+ * Group by BillingAccount.
9359
+ * Note, that providing `undefined` is treated as the value not being there.
9360
+ * Read more here: https://pris.ly/d/null-undefined
9361
+ * @param {BillingAccountGroupByArgs} args - Group by arguments.
9362
+ * @example
9363
+ * // Group by city, order by createdAt, get count
9364
+ * const result = await prisma.user.groupBy({
9365
+ * by: ['city', 'createdAt'],
9366
+ * orderBy: {
9367
+ * createdAt: true
9368
+ * },
9369
+ * _count: {
9370
+ * _all: true
9371
+ * },
9372
+ * })
9373
+ *
9374
+ **/
9375
+ groupBy<
9376
+ T extends BillingAccountGroupByArgs,
9377
+ HasSelectOrTake extends Or<
9378
+ Extends<'skip', Keys<T>>,
9379
+ Extends<'take', Keys<T>>
9380
+ >,
9381
+ OrderByArg extends True extends HasSelectOrTake
9382
+ ? { orderBy: BillingAccountGroupByArgs['orderBy'] }
9383
+ : { orderBy?: BillingAccountGroupByArgs['orderBy'] },
9384
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
9385
+ ByFields extends MaybeTupleToUnion<T['by']>,
9386
+ ByValid extends Has<ByFields, OrderFields>,
9387
+ HavingFields extends GetHavingFields<T['having']>,
9388
+ HavingValid extends Has<ByFields, HavingFields>,
9389
+ ByEmpty extends T['by'] extends never[] ? True : False,
9390
+ InputErrors extends ByEmpty extends True
9391
+ ? `Error: "by" must not be empty.`
9392
+ : HavingValid extends False
9393
+ ? {
9394
+ [P in HavingFields]: P extends ByFields
9395
+ ? never
9396
+ : P extends string
9397
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
9398
+ : [
9399
+ Error,
9400
+ 'Field ',
9401
+ P,
9402
+ ` in "having" needs to be provided in "by"`,
9403
+ ]
9404
+ }[HavingFields]
9405
+ : 'take' extends Keys<T>
9406
+ ? 'orderBy' extends Keys<T>
9407
+ ? ByValid extends True
9408
+ ? {}
9409
+ : {
9410
+ [P in OrderFields]: P extends ByFields
9411
+ ? never
9412
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
9413
+ }[OrderFields]
9414
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
9415
+ : 'skip' extends Keys<T>
9416
+ ? 'orderBy' extends Keys<T>
9417
+ ? ByValid extends True
9418
+ ? {}
9419
+ : {
9420
+ [P in OrderFields]: P extends ByFields
9421
+ ? never
9422
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
9423
+ }[OrderFields]
9424
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
9425
+ : ByValid extends True
9426
+ ? {}
9427
+ : {
9428
+ [P in OrderFields]: P extends ByFields
9429
+ ? never
9430
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
9431
+ }[OrderFields]
9432
+ >(args: SubsetIntersection<T, BillingAccountGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBillingAccountGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
9433
+ /**
9434
+ * Fields of the BillingAccount model
9435
+ */
9436
+ readonly fields: BillingAccountFieldRefs;
9437
+ }
9438
+
9439
+ /**
9440
+ * The delegate class that acts as a "Promise-like" for BillingAccount.
9441
+ * Why is this prefixed with `Prisma__`?
9442
+ * Because we want to prevent naming conflicts as mentioned in
9443
+ * https://github.com/prisma/prisma-client-js/issues/707
9444
+ */
9445
+ export interface Prisma__BillingAccountClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
9446
+ readonly [Symbol.toStringTag]: "PrismaPromise"
9447
+ clientCompanyModel<T extends BillingAccount$clientCompanyModelArgs<ExtArgs> = {}>(args?: Subset<T, BillingAccount$clientCompanyModelArgs<ExtArgs>>): Prisma__ClientCompanyClient<$Result.GetResult<Prisma.$ClientCompanyPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
9448
+ Account<T extends BillingAccount$AccountArgs<ExtArgs> = {}>(args?: Subset<T, BillingAccount$AccountArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findMany"> | Null>
9449
+ /**
9450
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
9451
+ * @param onfulfilled The callback to execute when the Promise is resolved.
9452
+ * @param onrejected The callback to execute when the Promise is rejected.
9453
+ * @returns A Promise for the completion of which ever callback is executed.
9454
+ */
9455
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
9456
+ /**
9457
+ * Attaches a callback for only the rejection of the Promise.
9458
+ * @param onrejected The callback to execute when the Promise is rejected.
9459
+ * @returns A Promise for the completion of the callback.
9460
+ */
9461
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
9462
+ /**
9463
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
9464
+ * resolved value cannot be modified from the callback.
9465
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
9466
+ * @returns A Promise for the completion of the callback.
9467
+ */
9468
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
9469
+ }
9470
+
9471
+
9472
+
9473
+
9474
+ /**
9475
+ * Fields of the BillingAccount model
8099
9476
  */
8100
- interface AccountFieldRefs {
8101
- readonly id: FieldRef<"Account", 'String'>
8102
- readonly clientCompany: FieldRef<"Account", 'String'>
8103
- readonly companyId: FieldRef<"Account", 'String'>
8104
- readonly billingAccount: FieldRef<"Account", 'String'>
8105
- readonly createdAt: FieldRef<"Account", 'DateTime'>
8106
- readonly updatedAt: FieldRef<"Account", 'DateTime'>
8107
- readonly deletedAt: FieldRef<"Account", 'DateTime'>
8108
- readonly migrations: FieldRef<"Account", 'String[]'>
9477
+ interface BillingAccountFieldRefs {
9478
+ readonly id: FieldRef<"BillingAccount", 'String'>
9479
+ readonly clientCompany: FieldRef<"BillingAccount", 'String'>
9480
+ readonly createdAt: FieldRef<"BillingAccount", 'DateTime'>
9481
+ readonly updatedAt: FieldRef<"BillingAccount", 'DateTime'>
8109
9482
  }
8110
9483
 
8111
9484
 
8112
9485
  // Custom InputTypes
8113
9486
  /**
8114
- * Account findUnique
9487
+ * BillingAccount findUnique
8115
9488
  */
8116
- export type AccountFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9489
+ export type BillingAccountFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8117
9490
  /**
8118
- * Select specific fields to fetch from the Account
9491
+ * Select specific fields to fetch from the BillingAccount
8119
9492
  */
8120
- select?: AccountSelect<ExtArgs> | null
9493
+ select?: BillingAccountSelect<ExtArgs> | null
8121
9494
  /**
8122
9495
  * Choose, which related nodes to fetch as well
8123
9496
  */
8124
- include?: AccountInclude<ExtArgs> | null
9497
+ include?: BillingAccountInclude<ExtArgs> | null
8125
9498
  /**
8126
- * Filter, which Account to fetch.
9499
+ * Filter, which BillingAccount to fetch.
8127
9500
  */
8128
- where: AccountWhereUniqueInput
9501
+ where: BillingAccountWhereUniqueInput
8129
9502
  }
8130
9503
 
8131
9504
  /**
8132
- * Account findUniqueOrThrow
9505
+ * BillingAccount findUniqueOrThrow
8133
9506
  */
8134
- export type AccountFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9507
+ export type BillingAccountFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8135
9508
  /**
8136
- * Select specific fields to fetch from the Account
9509
+ * Select specific fields to fetch from the BillingAccount
8137
9510
  */
8138
- select?: AccountSelect<ExtArgs> | null
9511
+ select?: BillingAccountSelect<ExtArgs> | null
8139
9512
  /**
8140
9513
  * Choose, which related nodes to fetch as well
8141
9514
  */
8142
- include?: AccountInclude<ExtArgs> | null
9515
+ include?: BillingAccountInclude<ExtArgs> | null
8143
9516
  /**
8144
- * Filter, which Account to fetch.
9517
+ * Filter, which BillingAccount to fetch.
8145
9518
  */
8146
- where: AccountWhereUniqueInput
9519
+ where: BillingAccountWhereUniqueInput
8147
9520
  }
8148
9521
 
8149
9522
  /**
8150
- * Account findFirst
9523
+ * BillingAccount findFirst
8151
9524
  */
8152
- export type AccountFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9525
+ export type BillingAccountFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8153
9526
  /**
8154
- * Select specific fields to fetch from the Account
9527
+ * Select specific fields to fetch from the BillingAccount
8155
9528
  */
8156
- select?: AccountSelect<ExtArgs> | null
9529
+ select?: BillingAccountSelect<ExtArgs> | null
8157
9530
  /**
8158
9531
  * Choose, which related nodes to fetch as well
8159
9532
  */
8160
- include?: AccountInclude<ExtArgs> | null
9533
+ include?: BillingAccountInclude<ExtArgs> | null
8161
9534
  /**
8162
- * Filter, which Account to fetch.
9535
+ * Filter, which BillingAccount to fetch.
8163
9536
  */
8164
- where?: AccountWhereInput
9537
+ where?: BillingAccountWhereInput
8165
9538
  /**
8166
9539
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
8167
9540
  *
8168
- * Determine the order of Accounts to fetch.
9541
+ * Determine the order of BillingAccounts to fetch.
8169
9542
  */
8170
- orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[]
9543
+ orderBy?: BillingAccountOrderByWithRelationInput | BillingAccountOrderByWithRelationInput[]
8171
9544
  /**
8172
9545
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
8173
9546
  *
8174
- * Sets the position for searching for Accounts.
9547
+ * Sets the position for searching for BillingAccounts.
8175
9548
  */
8176
- cursor?: AccountWhereUniqueInput
9549
+ cursor?: BillingAccountWhereUniqueInput
8177
9550
  /**
8178
9551
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8179
9552
  *
8180
- * Take `±n` Accounts from the position of the cursor.
9553
+ * Take `±n` BillingAccounts from the position of the cursor.
8181
9554
  */
8182
9555
  take?: number
8183
9556
  /**
8184
9557
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8185
9558
  *
8186
- * Skip the first `n` Accounts.
9559
+ * Skip the first `n` BillingAccounts.
8187
9560
  */
8188
9561
  skip?: number
8189
9562
  /**
8190
9563
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
8191
9564
  *
8192
- * Filter by unique combinations of Accounts.
9565
+ * Filter by unique combinations of BillingAccounts.
8193
9566
  */
8194
- distinct?: AccountScalarFieldEnum | AccountScalarFieldEnum[]
9567
+ distinct?: BillingAccountScalarFieldEnum | BillingAccountScalarFieldEnum[]
8195
9568
  }
8196
9569
 
8197
9570
  /**
8198
- * Account findFirstOrThrow
9571
+ * BillingAccount findFirstOrThrow
8199
9572
  */
8200
- export type AccountFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9573
+ export type BillingAccountFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8201
9574
  /**
8202
- * Select specific fields to fetch from the Account
9575
+ * Select specific fields to fetch from the BillingAccount
8203
9576
  */
8204
- select?: AccountSelect<ExtArgs> | null
9577
+ select?: BillingAccountSelect<ExtArgs> | null
8205
9578
  /**
8206
9579
  * Choose, which related nodes to fetch as well
8207
9580
  */
8208
- include?: AccountInclude<ExtArgs> | null
9581
+ include?: BillingAccountInclude<ExtArgs> | null
8209
9582
  /**
8210
- * Filter, which Account to fetch.
9583
+ * Filter, which BillingAccount to fetch.
8211
9584
  */
8212
- where?: AccountWhereInput
9585
+ where?: BillingAccountWhereInput
8213
9586
  /**
8214
9587
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
8215
9588
  *
8216
- * Determine the order of Accounts to fetch.
9589
+ * Determine the order of BillingAccounts to fetch.
8217
9590
  */
8218
- orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[]
9591
+ orderBy?: BillingAccountOrderByWithRelationInput | BillingAccountOrderByWithRelationInput[]
8219
9592
  /**
8220
9593
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
8221
9594
  *
8222
- * Sets the position for searching for Accounts.
9595
+ * Sets the position for searching for BillingAccounts.
8223
9596
  */
8224
- cursor?: AccountWhereUniqueInput
9597
+ cursor?: BillingAccountWhereUniqueInput
8225
9598
  /**
8226
9599
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8227
9600
  *
8228
- * Take `±n` Accounts from the position of the cursor.
9601
+ * Take `±n` BillingAccounts from the position of the cursor.
8229
9602
  */
8230
9603
  take?: number
8231
9604
  /**
8232
9605
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8233
9606
  *
8234
- * Skip the first `n` Accounts.
9607
+ * Skip the first `n` BillingAccounts.
8235
9608
  */
8236
9609
  skip?: number
8237
9610
  /**
8238
9611
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
8239
9612
  *
8240
- * Filter by unique combinations of Accounts.
9613
+ * Filter by unique combinations of BillingAccounts.
8241
9614
  */
8242
- distinct?: AccountScalarFieldEnum | AccountScalarFieldEnum[]
9615
+ distinct?: BillingAccountScalarFieldEnum | BillingAccountScalarFieldEnum[]
8243
9616
  }
8244
9617
 
8245
9618
  /**
8246
- * Account findMany
9619
+ * BillingAccount findMany
8247
9620
  */
8248
- export type AccountFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9621
+ export type BillingAccountFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8249
9622
  /**
8250
- * Select specific fields to fetch from the Account
9623
+ * Select specific fields to fetch from the BillingAccount
8251
9624
  */
8252
- select?: AccountSelect<ExtArgs> | null
9625
+ select?: BillingAccountSelect<ExtArgs> | null
8253
9626
  /**
8254
9627
  * Choose, which related nodes to fetch as well
8255
9628
  */
8256
- include?: AccountInclude<ExtArgs> | null
9629
+ include?: BillingAccountInclude<ExtArgs> | null
8257
9630
  /**
8258
- * Filter, which Accounts to fetch.
9631
+ * Filter, which BillingAccounts to fetch.
8259
9632
  */
8260
- where?: AccountWhereInput
9633
+ where?: BillingAccountWhereInput
8261
9634
  /**
8262
9635
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
8263
9636
  *
8264
- * Determine the order of Accounts to fetch.
9637
+ * Determine the order of BillingAccounts to fetch.
8265
9638
  */
8266
- orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[]
9639
+ orderBy?: BillingAccountOrderByWithRelationInput | BillingAccountOrderByWithRelationInput[]
8267
9640
  /**
8268
9641
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
8269
9642
  *
8270
- * Sets the position for listing Accounts.
9643
+ * Sets the position for listing BillingAccounts.
8271
9644
  */
8272
- cursor?: AccountWhereUniqueInput
9645
+ cursor?: BillingAccountWhereUniqueInput
8273
9646
  /**
8274
9647
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8275
9648
  *
8276
- * Take `±n` Accounts from the position of the cursor.
9649
+ * Take `±n` BillingAccounts from the position of the cursor.
8277
9650
  */
8278
9651
  take?: number
8279
9652
  /**
8280
9653
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8281
9654
  *
8282
- * Skip the first `n` Accounts.
9655
+ * Skip the first `n` BillingAccounts.
8283
9656
  */
8284
9657
  skip?: number
8285
- distinct?: AccountScalarFieldEnum | AccountScalarFieldEnum[]
9658
+ distinct?: BillingAccountScalarFieldEnum | BillingAccountScalarFieldEnum[]
8286
9659
  }
8287
9660
 
8288
9661
  /**
8289
- * Account create
9662
+ * BillingAccount create
8290
9663
  */
8291
- export type AccountCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9664
+ export type BillingAccountCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8292
9665
  /**
8293
- * Select specific fields to fetch from the Account
9666
+ * Select specific fields to fetch from the BillingAccount
8294
9667
  */
8295
- select?: AccountSelect<ExtArgs> | null
9668
+ select?: BillingAccountSelect<ExtArgs> | null
8296
9669
  /**
8297
9670
  * Choose, which related nodes to fetch as well
8298
9671
  */
8299
- include?: AccountInclude<ExtArgs> | null
9672
+ include?: BillingAccountInclude<ExtArgs> | null
8300
9673
  /**
8301
- * The data needed to create a Account.
9674
+ * The data needed to create a BillingAccount.
8302
9675
  */
8303
- data?: XOR<AccountCreateInput, AccountUncheckedCreateInput>
9676
+ data?: XOR<BillingAccountCreateInput, BillingAccountUncheckedCreateInput>
8304
9677
  }
8305
9678
 
8306
9679
  /**
8307
- * Account createMany
9680
+ * BillingAccount createMany
8308
9681
  */
8309
- export type AccountCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9682
+ export type BillingAccountCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8310
9683
  /**
8311
- * The data used to create many Accounts.
9684
+ * The data used to create many BillingAccounts.
8312
9685
  */
8313
- data: AccountCreateManyInput | AccountCreateManyInput[]
9686
+ data: BillingAccountCreateManyInput | BillingAccountCreateManyInput[]
8314
9687
  }
8315
9688
 
8316
9689
  /**
8317
- * Account update
9690
+ * BillingAccount update
8318
9691
  */
8319
- export type AccountUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9692
+ export type BillingAccountUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8320
9693
  /**
8321
- * Select specific fields to fetch from the Account
9694
+ * Select specific fields to fetch from the BillingAccount
8322
9695
  */
8323
- select?: AccountSelect<ExtArgs> | null
9696
+ select?: BillingAccountSelect<ExtArgs> | null
8324
9697
  /**
8325
9698
  * Choose, which related nodes to fetch as well
8326
9699
  */
8327
- include?: AccountInclude<ExtArgs> | null
9700
+ include?: BillingAccountInclude<ExtArgs> | null
8328
9701
  /**
8329
- * The data needed to update a Account.
9702
+ * The data needed to update a BillingAccount.
8330
9703
  */
8331
- data: XOR<AccountUpdateInput, AccountUncheckedUpdateInput>
9704
+ data: XOR<BillingAccountUpdateInput, BillingAccountUncheckedUpdateInput>
8332
9705
  /**
8333
- * Choose, which Account to update.
9706
+ * Choose, which BillingAccount to update.
8334
9707
  */
8335
- where: AccountWhereUniqueInput
9708
+ where: BillingAccountWhereUniqueInput
8336
9709
  }
8337
9710
 
8338
9711
  /**
8339
- * Account updateMany
9712
+ * BillingAccount updateMany
8340
9713
  */
8341
- export type AccountUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9714
+ export type BillingAccountUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8342
9715
  /**
8343
- * The data used to update Accounts.
9716
+ * The data used to update BillingAccounts.
8344
9717
  */
8345
- data: XOR<AccountUpdateManyMutationInput, AccountUncheckedUpdateManyInput>
9718
+ data: XOR<BillingAccountUpdateManyMutationInput, BillingAccountUncheckedUpdateManyInput>
8346
9719
  /**
8347
- * Filter which Accounts to update
9720
+ * Filter which BillingAccounts to update
8348
9721
  */
8349
- where?: AccountWhereInput
9722
+ where?: BillingAccountWhereInput
8350
9723
  }
8351
9724
 
8352
9725
  /**
8353
- * Account upsert
9726
+ * BillingAccount upsert
8354
9727
  */
8355
- export type AccountUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9728
+ export type BillingAccountUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8356
9729
  /**
8357
- * Select specific fields to fetch from the Account
9730
+ * Select specific fields to fetch from the BillingAccount
8358
9731
  */
8359
- select?: AccountSelect<ExtArgs> | null
9732
+ select?: BillingAccountSelect<ExtArgs> | null
8360
9733
  /**
8361
9734
  * Choose, which related nodes to fetch as well
8362
9735
  */
8363
- include?: AccountInclude<ExtArgs> | null
9736
+ include?: BillingAccountInclude<ExtArgs> | null
8364
9737
  /**
8365
- * The filter to search for the Account to update in case it exists.
9738
+ * The filter to search for the BillingAccount to update in case it exists.
8366
9739
  */
8367
- where: AccountWhereUniqueInput
9740
+ where: BillingAccountWhereUniqueInput
8368
9741
  /**
8369
- * In case the Account found by the `where` argument doesn't exist, create a new Account with this data.
9742
+ * In case the BillingAccount found by the `where` argument doesn't exist, create a new BillingAccount with this data.
8370
9743
  */
8371
- create: XOR<AccountCreateInput, AccountUncheckedCreateInput>
9744
+ create: XOR<BillingAccountCreateInput, BillingAccountUncheckedCreateInput>
8372
9745
  /**
8373
- * In case the Account was found with the provided `where` argument, update it with this data.
9746
+ * In case the BillingAccount was found with the provided `where` argument, update it with this data.
8374
9747
  */
8375
- update: XOR<AccountUpdateInput, AccountUncheckedUpdateInput>
9748
+ update: XOR<BillingAccountUpdateInput, BillingAccountUncheckedUpdateInput>
8376
9749
  }
8377
9750
 
8378
9751
  /**
8379
- * Account delete
9752
+ * BillingAccount delete
8380
9753
  */
8381
- export type AccountDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9754
+ export type BillingAccountDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8382
9755
  /**
8383
- * Select specific fields to fetch from the Account
9756
+ * Select specific fields to fetch from the BillingAccount
8384
9757
  */
8385
- select?: AccountSelect<ExtArgs> | null
9758
+ select?: BillingAccountSelect<ExtArgs> | null
8386
9759
  /**
8387
9760
  * Choose, which related nodes to fetch as well
8388
9761
  */
8389
- include?: AccountInclude<ExtArgs> | null
9762
+ include?: BillingAccountInclude<ExtArgs> | null
8390
9763
  /**
8391
- * Filter which Account to delete.
9764
+ * Filter which BillingAccount to delete.
8392
9765
  */
8393
- where: AccountWhereUniqueInput
9766
+ where: BillingAccountWhereUniqueInput
8394
9767
  }
8395
9768
 
8396
9769
  /**
8397
- * Account deleteMany
9770
+ * BillingAccount deleteMany
8398
9771
  */
8399
- export type AccountDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9772
+ export type BillingAccountDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8400
9773
  /**
8401
- * Filter which Accounts to delete
9774
+ * Filter which BillingAccounts to delete
8402
9775
  */
8403
- where?: AccountWhereInput
9776
+ where?: BillingAccountWhereInput
8404
9777
  }
8405
9778
 
8406
9779
  /**
8407
- * Account findRaw
9780
+ * BillingAccount findRaw
8408
9781
  */
8409
- export type AccountFindRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9782
+ export type BillingAccountFindRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8410
9783
  /**
8411
9784
  * The query predicate filter. If unspecified, then all documents in the collection will match the predicate. ${@link https://docs.mongodb.com/manual/reference/operator/query MongoDB Docs}.
8412
9785
  */
@@ -8418,9 +9791,9 @@ export namespace Prisma {
8418
9791
  }
8419
9792
 
8420
9793
  /**
8421
- * Account aggregateRaw
9794
+ * BillingAccount aggregateRaw
8422
9795
  */
8423
- export type AccountAggregateRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9796
+ export type BillingAccountAggregateRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8424
9797
  /**
8425
9798
  * An array of aggregation stages to process and transform the document stream via the aggregation pipeline. ${@link https://docs.mongodb.com/manual/reference/operator/aggregation-pipeline MongoDB Docs}.
8426
9799
  */
@@ -8432,9 +9805,9 @@ export namespace Prisma {
8432
9805
  }
8433
9806
 
8434
9807
  /**
8435
- * Account.clientCompanyModel
9808
+ * BillingAccount.clientCompanyModel
8436
9809
  */
8437
- export type Account$clientCompanyModelArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9810
+ export type BillingAccount$clientCompanyModelArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8438
9811
  /**
8439
9812
  * Select specific fields to fetch from the ClientCompany
8440
9813
  */
@@ -8447,92 +9820,37 @@ export namespace Prisma {
8447
9820
  }
8448
9821
 
8449
9822
  /**
8450
- * Account.company
8451
- */
8452
- export type Account$companyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8453
- /**
8454
- * Select specific fields to fetch from the Company
8455
- */
8456
- select?: CompanySelect<ExtArgs> | null
8457
- /**
8458
- * Choose, which related nodes to fetch as well
8459
- */
8460
- include?: CompanyInclude<ExtArgs> | null
8461
- where?: CompanyWhereInput
8462
- }
8463
-
8464
- /**
8465
- * Account.missions
8466
- */
8467
- export type Account$missionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8468
- /**
8469
- * Select specific fields to fetch from the Mission
8470
- */
8471
- select?: MissionSelect<ExtArgs> | null
8472
- /**
8473
- * Choose, which related nodes to fetch as well
8474
- */
8475
- include?: MissionInclude<ExtArgs> | null
8476
- where?: MissionWhereInput
8477
- orderBy?: MissionOrderByWithRelationInput | MissionOrderByWithRelationInput[]
8478
- cursor?: MissionWhereUniqueInput
8479
- take?: number
8480
- skip?: number
8481
- distinct?: MissionScalarFieldEnum | MissionScalarFieldEnum[]
8482
- }
8483
-
8484
- /**
8485
- * Account.missionSpecs
8486
- */
8487
- export type Account$missionSpecsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8488
- /**
8489
- * Select specific fields to fetch from the MissionSpec
8490
- */
8491
- select?: MissionSpecSelect<ExtArgs> | null
8492
- /**
8493
- * Choose, which related nodes to fetch as well
8494
- */
8495
- include?: MissionSpecInclude<ExtArgs> | null
8496
- where?: MissionSpecWhereInput
8497
- orderBy?: MissionSpecOrderByWithRelationInput | MissionSpecOrderByWithRelationInput[]
8498
- cursor?: MissionSpecWhereUniqueInput
8499
- take?: number
8500
- skip?: number
8501
- distinct?: MissionSpecScalarFieldEnum | MissionSpecScalarFieldEnum[]
8502
- }
8503
-
8504
- /**
8505
- * Account.contracts
9823
+ * BillingAccount.Account
8506
9824
  */
8507
- export type Account$contractsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9825
+ export type BillingAccount$AccountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8508
9826
  /**
8509
- * Select specific fields to fetch from the Contract
9827
+ * Select specific fields to fetch from the Account
8510
9828
  */
8511
- select?: ContractSelect<ExtArgs> | null
9829
+ select?: AccountSelect<ExtArgs> | null
8512
9830
  /**
8513
9831
  * Choose, which related nodes to fetch as well
8514
9832
  */
8515
- include?: ContractInclude<ExtArgs> | null
8516
- where?: ContractWhereInput
8517
- orderBy?: ContractOrderByWithRelationInput | ContractOrderByWithRelationInput[]
8518
- cursor?: ContractWhereUniqueInput
9833
+ include?: AccountInclude<ExtArgs> | null
9834
+ where?: AccountWhereInput
9835
+ orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[]
9836
+ cursor?: AccountWhereUniqueInput
8519
9837
  take?: number
8520
9838
  skip?: number
8521
- distinct?: ContractScalarFieldEnum | ContractScalarFieldEnum[]
9839
+ distinct?: AccountScalarFieldEnum | AccountScalarFieldEnum[]
8522
9840
  }
8523
9841
 
8524
9842
  /**
8525
- * Account without action
9843
+ * BillingAccount without action
8526
9844
  */
8527
- export type AccountDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9845
+ export type BillingAccountDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8528
9846
  /**
8529
- * Select specific fields to fetch from the Account
9847
+ * Select specific fields to fetch from the BillingAccount
8530
9848
  */
8531
- select?: AccountSelect<ExtArgs> | null
9849
+ select?: BillingAccountSelect<ExtArgs> | null
8532
9850
  /**
8533
9851
  * Choose, which related nodes to fetch as well
8534
9852
  */
8535
- include?: AccountInclude<ExtArgs> | null
9853
+ include?: BillingAccountInclude<ExtArgs> | null
8536
9854
  }
8537
9855
 
8538
9856
 
@@ -8742,6 +10060,7 @@ export namespace Prisma {
8742
10060
  logo?: boolean
8743
10061
  accounts?: boolean | ClientCompany$accountsArgs<ExtArgs>
8744
10062
  missionSpecs?: boolean | ClientCompany$missionSpecsArgs<ExtArgs>
10063
+ BillingAccount?: boolean | ClientCompany$BillingAccountArgs<ExtArgs>
8745
10064
  _count?: boolean | ClientCompanyCountOutputTypeDefaultArgs<ExtArgs>
8746
10065
  }, ExtArgs["result"]["clientCompany"]>
8747
10066
 
@@ -8762,6 +10081,7 @@ export namespace Prisma {
8762
10081
  export type ClientCompanyInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8763
10082
  accounts?: boolean | ClientCompany$accountsArgs<ExtArgs>
8764
10083
  missionSpecs?: boolean | ClientCompany$missionSpecsArgs<ExtArgs>
10084
+ BillingAccount?: boolean | ClientCompany$BillingAccountArgs<ExtArgs>
8765
10085
  _count?: boolean | ClientCompanyCountOutputTypeDefaultArgs<ExtArgs>
8766
10086
  }
8767
10087
 
@@ -8770,6 +10090,7 @@ export namespace Prisma {
8770
10090
  objects: {
8771
10091
  accounts: Prisma.$AccountPayload<ExtArgs>[]
8772
10092
  missionSpecs: Prisma.$MissionSpecPayload<ExtArgs>[]
10093
+ BillingAccount: Prisma.$BillingAccountPayload<ExtArgs>[]
8773
10094
  }
8774
10095
  scalars: $Extensions.GetPayloadResult<{
8775
10096
  id: string
@@ -9147,6 +10468,7 @@ export namespace Prisma {
9147
10468
  readonly [Symbol.toStringTag]: "PrismaPromise"
9148
10469
  accounts<T extends ClientCompany$accountsArgs<ExtArgs> = {}>(args?: Subset<T, ClientCompany$accountsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findMany"> | Null>
9149
10470
  missionSpecs<T extends ClientCompany$missionSpecsArgs<ExtArgs> = {}>(args?: Subset<T, ClientCompany$missionSpecsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MissionSpecPayload<ExtArgs>, T, "findMany"> | Null>
10471
+ BillingAccount<T extends ClientCompany$BillingAccountArgs<ExtArgs> = {}>(args?: Subset<T, ClientCompany$BillingAccountArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$BillingAccountPayload<ExtArgs>, T, "findMany"> | Null>
9150
10472
  /**
9151
10473
  * Attaches callbacks for the resolution and/or rejection of the Promise.
9152
10474
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -9551,6 +10873,26 @@ export namespace Prisma {
9551
10873
  distinct?: MissionSpecScalarFieldEnum | MissionSpecScalarFieldEnum[]
9552
10874
  }
9553
10875
 
10876
+ /**
10877
+ * ClientCompany.BillingAccount
10878
+ */
10879
+ export type ClientCompany$BillingAccountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10880
+ /**
10881
+ * Select specific fields to fetch from the BillingAccount
10882
+ */
10883
+ select?: BillingAccountSelect<ExtArgs> | null
10884
+ /**
10885
+ * Choose, which related nodes to fetch as well
10886
+ */
10887
+ include?: BillingAccountInclude<ExtArgs> | null
10888
+ where?: BillingAccountWhereInput
10889
+ orderBy?: BillingAccountOrderByWithRelationInput | BillingAccountOrderByWithRelationInput[]
10890
+ cursor?: BillingAccountWhereUniqueInput
10891
+ take?: number
10892
+ skip?: number
10893
+ distinct?: BillingAccountScalarFieldEnum | BillingAccountScalarFieldEnum[]
10894
+ }
10895
+
9554
10896
  /**
9555
10897
  * ClientCompany without action
9556
10898
  */
@@ -23607,6 +24949,16 @@ export namespace Prisma {
23607
24949
  export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum]
23608
24950
 
23609
24951
 
24952
+ export const BillingAccountScalarFieldEnum: {
24953
+ id: 'id',
24954
+ clientCompany: 'clientCompany',
24955
+ createdAt: 'createdAt',
24956
+ updatedAt: 'updatedAt'
24957
+ };
24958
+
24959
+ export type BillingAccountScalarFieldEnum = (typeof BillingAccountScalarFieldEnum)[keyof typeof BillingAccountScalarFieldEnum]
24960
+
24961
+
23610
24962
  export const ClientCompanyScalarFieldEnum: {
23611
24963
  id: 'id',
23612
24964
  createdAt: 'createdAt',
@@ -24142,6 +25494,20 @@ export namespace Prisma {
24142
25494
 
24143
25495
 
24144
25496
 
25497
+ /**
25498
+ * Reference to a field of type 'BillingPaymentDue'
25499
+ */
25500
+ export type EnumBillingPaymentDueFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BillingPaymentDue'>
25501
+
25502
+
25503
+
25504
+ /**
25505
+ * Reference to a field of type 'BillingPaymentDue[]'
25506
+ */
25507
+ export type ListEnumBillingPaymentDueFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BillingPaymentDue[]'>
25508
+
25509
+
25510
+
24145
25511
  /**
24146
25512
  * Reference to a field of type 'ContractPartyType'
24147
25513
  */
@@ -24350,6 +25716,7 @@ export namespace Prisma {
24350
25716
  migrations?: StringNullableListFilter<"Account">
24351
25717
  clientCompanyModel?: XOR<ClientCompanyNullableRelationFilter, ClientCompanyWhereInput> | null
24352
25718
  company?: XOR<CompanyNullableRelationFilter, CompanyWhereInput> | null
25719
+ billingAccountModel?: XOR<BillingAccountNullableRelationFilter, BillingAccountWhereInput> | null
24353
25720
  missions?: MissionListRelationFilter
24354
25721
  missionSpecs?: MissionSpecListRelationFilter
24355
25722
  contracts?: ContractListRelationFilter
@@ -24368,6 +25735,7 @@ export namespace Prisma {
24368
25735
  migrations?: SortOrder
24369
25736
  clientCompanyModel?: ClientCompanyOrderByWithRelationInput
24370
25737
  company?: CompanyOrderByWithRelationInput
25738
+ billingAccountModel?: BillingAccountOrderByWithRelationInput
24371
25739
  missions?: MissionOrderByRelationAggregateInput
24372
25740
  missionSpecs?: MissionSpecOrderByRelationAggregateInput
24373
25741
  contracts?: ContractOrderByRelationAggregateInput
@@ -24389,6 +25757,7 @@ export namespace Prisma {
24389
25757
  migrations?: StringNullableListFilter<"Account">
24390
25758
  clientCompanyModel?: XOR<ClientCompanyNullableRelationFilter, ClientCompanyWhereInput> | null
24391
25759
  company?: XOR<CompanyNullableRelationFilter, CompanyWhereInput> | null
25760
+ billingAccountModel?: XOR<BillingAccountNullableRelationFilter, BillingAccountWhereInput> | null
24392
25761
  missions?: MissionListRelationFilter
24393
25762
  missionSpecs?: MissionSpecListRelationFilter
24394
25763
  contracts?: ContractListRelationFilter
@@ -24422,6 +25791,68 @@ export namespace Prisma {
24422
25791
  migrations?: StringNullableListFilter<"Account">
24423
25792
  }
24424
25793
 
25794
+ export type BillingAccountWhereInput = {
25795
+ AND?: BillingAccountWhereInput | BillingAccountWhereInput[]
25796
+ OR?: BillingAccountWhereInput[]
25797
+ NOT?: BillingAccountWhereInput | BillingAccountWhereInput[]
25798
+ id?: StringFilter<"BillingAccount"> | string
25799
+ billingInfo?: XOR<BillingAccountBillingInfoNullableCompositeFilter, BillingAccountBillingInfoObjectEqualityInput> | null
25800
+ stripe?: XOR<BillingAccountStripeInfoNullableCompositeFilter, BillingAccountStripeInfoObjectEqualityInput> | null
25801
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableCompositeFilter, BillingAccountPaymentTermsObjectEqualityInput> | null
25802
+ clientCompany?: StringNullableFilter<"BillingAccount"> | string | null
25803
+ createdAt?: DateTimeNullableFilter<"BillingAccount"> | Date | string | null
25804
+ updatedAt?: DateTimeNullableFilter<"BillingAccount"> | Date | string | null
25805
+ clientCompanyModel?: XOR<ClientCompanyNullableRelationFilter, ClientCompanyWhereInput> | null
25806
+ Account?: AccountListRelationFilter
25807
+ }
25808
+
25809
+ export type BillingAccountOrderByWithRelationInput = {
25810
+ id?: SortOrder
25811
+ billingInfo?: BillingAccountBillingInfoOrderByInput
25812
+ stripe?: BillingAccountStripeInfoOrderByInput
25813
+ paymentTerms?: BillingAccountPaymentTermsOrderByInput
25814
+ clientCompany?: SortOrder
25815
+ createdAt?: SortOrder
25816
+ updatedAt?: SortOrder
25817
+ clientCompanyModel?: ClientCompanyOrderByWithRelationInput
25818
+ Account?: AccountOrderByRelationAggregateInput
25819
+ }
25820
+
25821
+ export type BillingAccountWhereUniqueInput = Prisma.AtLeast<{
25822
+ id?: string
25823
+ AND?: BillingAccountWhereInput | BillingAccountWhereInput[]
25824
+ OR?: BillingAccountWhereInput[]
25825
+ NOT?: BillingAccountWhereInput | BillingAccountWhereInput[]
25826
+ billingInfo?: XOR<BillingAccountBillingInfoNullableCompositeFilter, BillingAccountBillingInfoObjectEqualityInput> | null
25827
+ stripe?: XOR<BillingAccountStripeInfoNullableCompositeFilter, BillingAccountStripeInfoObjectEqualityInput> | null
25828
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableCompositeFilter, BillingAccountPaymentTermsObjectEqualityInput> | null
25829
+ clientCompany?: StringNullableFilter<"BillingAccount"> | string | null
25830
+ createdAt?: DateTimeNullableFilter<"BillingAccount"> | Date | string | null
25831
+ updatedAt?: DateTimeNullableFilter<"BillingAccount"> | Date | string | null
25832
+ clientCompanyModel?: XOR<ClientCompanyNullableRelationFilter, ClientCompanyWhereInput> | null
25833
+ Account?: AccountListRelationFilter
25834
+ }, "id">
25835
+
25836
+ export type BillingAccountOrderByWithAggregationInput = {
25837
+ id?: SortOrder
25838
+ clientCompany?: SortOrder
25839
+ createdAt?: SortOrder
25840
+ updatedAt?: SortOrder
25841
+ _count?: BillingAccountCountOrderByAggregateInput
25842
+ _max?: BillingAccountMaxOrderByAggregateInput
25843
+ _min?: BillingAccountMinOrderByAggregateInput
25844
+ }
25845
+
25846
+ export type BillingAccountScalarWhereWithAggregatesInput = {
25847
+ AND?: BillingAccountScalarWhereWithAggregatesInput | BillingAccountScalarWhereWithAggregatesInput[]
25848
+ OR?: BillingAccountScalarWhereWithAggregatesInput[]
25849
+ NOT?: BillingAccountScalarWhereWithAggregatesInput | BillingAccountScalarWhereWithAggregatesInput[]
25850
+ id?: StringWithAggregatesFilter<"BillingAccount"> | string
25851
+ clientCompany?: StringNullableWithAggregatesFilter<"BillingAccount"> | string | null
25852
+ createdAt?: DateTimeNullableWithAggregatesFilter<"BillingAccount"> | Date | string | null
25853
+ updatedAt?: DateTimeNullableWithAggregatesFilter<"BillingAccount"> | Date | string | null
25854
+ }
25855
+
24425
25856
  export type ClientCompanyWhereInput = {
24426
25857
  AND?: ClientCompanyWhereInput | ClientCompanyWhereInput[]
24427
25858
  OR?: ClientCompanyWhereInput[]
@@ -24438,6 +25869,7 @@ export namespace Prisma {
24438
25869
  logo?: StringNullableFilter<"ClientCompany"> | string | null
24439
25870
  accounts?: AccountListRelationFilter
24440
25871
  missionSpecs?: MissionSpecListRelationFilter
25872
+ BillingAccount?: BillingAccountListRelationFilter
24441
25873
  }
24442
25874
 
24443
25875
  export type ClientCompanyOrderByWithRelationInput = {
@@ -24453,6 +25885,7 @@ export namespace Prisma {
24453
25885
  logo?: SortOrder
24454
25886
  accounts?: AccountOrderByRelationAggregateInput
24455
25887
  missionSpecs?: MissionSpecOrderByRelationAggregateInput
25888
+ BillingAccount?: BillingAccountOrderByRelationAggregateInput
24456
25889
  }
24457
25890
 
24458
25891
  export type ClientCompanyWhereUniqueInput = Prisma.AtLeast<{
@@ -24471,6 +25904,7 @@ export namespace Prisma {
24471
25904
  logo?: StringNullableFilter<"ClientCompany"> | string | null
24472
25905
  accounts?: AccountListRelationFilter
24473
25906
  missionSpecs?: MissionSpecListRelationFilter
25907
+ BillingAccount?: BillingAccountListRelationFilter
24474
25908
  }, "id">
24475
25909
 
24476
25910
  export type ClientCompanyOrderByWithAggregationInput = {
@@ -26020,13 +27454,13 @@ export namespace Prisma {
26020
27454
  id?: string
26021
27455
  members?: XOR<AccountsMemberListCreateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
26022
27456
  workspace?: XOR<AccountsWorkspaceNullableCreateEnvelopeInput, AccountsWorkspaceCreateInput> | null
26023
- billingAccount?: string | null
26024
27457
  createdAt?: Date | string | null
26025
27458
  updatedAt?: Date | string | null
26026
27459
  deletedAt?: Date | string | null
26027
27460
  migrations?: AccountCreatemigrationsInput | string[]
26028
27461
  clientCompanyModel?: ClientCompanyCreateNestedOneWithoutAccountsInput
26029
27462
  company?: CompanyCreateNestedOneWithoutAccountsInput
27463
+ billingAccountModel?: BillingAccountCreateNestedOneWithoutAccountInput
26030
27464
  missions?: MissionCreateNestedManyWithoutAccountModelInput
26031
27465
  missionSpecs?: MissionSpecCreateNestedManyWithoutAccountInput
26032
27466
  contracts?: ContractCreateNestedManyWithoutAccountInput
@@ -26051,13 +27485,13 @@ export namespace Prisma {
26051
27485
  export type AccountUpdateInput = {
26052
27486
  members?: XOR<AccountsMemberListUpdateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
26053
27487
  workspace?: XOR<AccountsWorkspaceNullableUpdateEnvelopeInput, AccountsWorkspaceCreateInput> | null
26054
- billingAccount?: NullableStringFieldUpdateOperationsInput | string | null
26055
27488
  createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
26056
27489
  updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
26057
27490
  deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
26058
27491
  migrations?: AccountUpdatemigrationsInput | string[]
26059
27492
  clientCompanyModel?: ClientCompanyUpdateOneWithoutAccountsNestedInput
26060
27493
  company?: CompanyUpdateOneWithoutAccountsNestedInput
27494
+ billingAccountModel?: BillingAccountUpdateOneWithoutAccountNestedInput
26061
27495
  missions?: MissionUpdateManyWithoutAccountModelNestedInput
26062
27496
  missionSpecs?: MissionSpecUpdateManyWithoutAccountNestedInput
26063
27497
  contracts?: ContractUpdateManyWithoutAccountNestedInput
@@ -26094,7 +27528,6 @@ export namespace Prisma {
26094
27528
  export type AccountUpdateManyMutationInput = {
26095
27529
  members?: XOR<AccountsMemberListUpdateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
26096
27530
  workspace?: XOR<AccountsWorkspaceNullableUpdateEnvelopeInput, AccountsWorkspaceCreateInput> | null
26097
- billingAccount?: NullableStringFieldUpdateOperationsInput | string | null
26098
27531
  createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
26099
27532
  updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
26100
27533
  deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -26113,6 +27546,75 @@ export namespace Prisma {
26113
27546
  migrations?: AccountUpdatemigrationsInput | string[]
26114
27547
  }
26115
27548
 
27549
+ export type BillingAccountCreateInput = {
27550
+ id?: string
27551
+ billingInfo?: XOR<BillingAccountBillingInfoNullableCreateEnvelopeInput, BillingAccountBillingInfoCreateInput> | null
27552
+ stripe?: XOR<BillingAccountStripeInfoNullableCreateEnvelopeInput, BillingAccountStripeInfoCreateInput> | null
27553
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableCreateEnvelopeInput, BillingAccountPaymentTermsCreateInput> | null
27554
+ createdAt?: Date | string | null
27555
+ updatedAt?: Date | string | null
27556
+ clientCompanyModel?: ClientCompanyCreateNestedOneWithoutBillingAccountInput
27557
+ Account?: AccountCreateNestedManyWithoutBillingAccountModelInput
27558
+ }
27559
+
27560
+ export type BillingAccountUncheckedCreateInput = {
27561
+ id?: string
27562
+ billingInfo?: XOR<BillingAccountBillingInfoNullableCreateEnvelopeInput, BillingAccountBillingInfoCreateInput> | null
27563
+ stripe?: XOR<BillingAccountStripeInfoNullableCreateEnvelopeInput, BillingAccountStripeInfoCreateInput> | null
27564
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableCreateEnvelopeInput, BillingAccountPaymentTermsCreateInput> | null
27565
+ clientCompany?: string | null
27566
+ createdAt?: Date | string | null
27567
+ updatedAt?: Date | string | null
27568
+ Account?: AccountUncheckedCreateNestedManyWithoutBillingAccountModelInput
27569
+ }
27570
+
27571
+ export type BillingAccountUpdateInput = {
27572
+ billingInfo?: XOR<BillingAccountBillingInfoNullableUpdateEnvelopeInput, BillingAccountBillingInfoCreateInput> | null
27573
+ stripe?: XOR<BillingAccountStripeInfoNullableUpdateEnvelopeInput, BillingAccountStripeInfoCreateInput> | null
27574
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableUpdateEnvelopeInput, BillingAccountPaymentTermsCreateInput> | null
27575
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27576
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27577
+ clientCompanyModel?: ClientCompanyUpdateOneWithoutBillingAccountNestedInput
27578
+ Account?: AccountUpdateManyWithoutBillingAccountModelNestedInput
27579
+ }
27580
+
27581
+ export type BillingAccountUncheckedUpdateInput = {
27582
+ billingInfo?: XOR<BillingAccountBillingInfoNullableUpdateEnvelopeInput, BillingAccountBillingInfoCreateInput> | null
27583
+ stripe?: XOR<BillingAccountStripeInfoNullableUpdateEnvelopeInput, BillingAccountStripeInfoCreateInput> | null
27584
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableUpdateEnvelopeInput, BillingAccountPaymentTermsCreateInput> | null
27585
+ clientCompany?: NullableStringFieldUpdateOperationsInput | string | null
27586
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27587
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27588
+ Account?: AccountUncheckedUpdateManyWithoutBillingAccountModelNestedInput
27589
+ }
27590
+
27591
+ export type BillingAccountCreateManyInput = {
27592
+ id?: string
27593
+ billingInfo?: XOR<BillingAccountBillingInfoNullableCreateEnvelopeInput, BillingAccountBillingInfoCreateInput> | null
27594
+ stripe?: XOR<BillingAccountStripeInfoNullableCreateEnvelopeInput, BillingAccountStripeInfoCreateInput> | null
27595
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableCreateEnvelopeInput, BillingAccountPaymentTermsCreateInput> | null
27596
+ clientCompany?: string | null
27597
+ createdAt?: Date | string | null
27598
+ updatedAt?: Date | string | null
27599
+ }
27600
+
27601
+ export type BillingAccountUpdateManyMutationInput = {
27602
+ billingInfo?: XOR<BillingAccountBillingInfoNullableUpdateEnvelopeInput, BillingAccountBillingInfoCreateInput> | null
27603
+ stripe?: XOR<BillingAccountStripeInfoNullableUpdateEnvelopeInput, BillingAccountStripeInfoCreateInput> | null
27604
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableUpdateEnvelopeInput, BillingAccountPaymentTermsCreateInput> | null
27605
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27606
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27607
+ }
27608
+
27609
+ export type BillingAccountUncheckedUpdateManyInput = {
27610
+ billingInfo?: XOR<BillingAccountBillingInfoNullableUpdateEnvelopeInput, BillingAccountBillingInfoCreateInput> | null
27611
+ stripe?: XOR<BillingAccountStripeInfoNullableUpdateEnvelopeInput, BillingAccountStripeInfoCreateInput> | null
27612
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableUpdateEnvelopeInput, BillingAccountPaymentTermsCreateInput> | null
27613
+ clientCompany?: NullableStringFieldUpdateOperationsInput | string | null
27614
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27615
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27616
+ }
27617
+
26116
27618
  export type ClientCompanyCreateInput = {
26117
27619
  id?: string
26118
27620
  createdAt?: Date | string | null
@@ -26126,6 +27628,7 @@ export namespace Prisma {
26126
27628
  logo?: string | null
26127
27629
  accounts?: AccountCreateNestedManyWithoutClientCompanyModelInput
26128
27630
  missionSpecs?: MissionSpecCreateNestedManyWithoutClientCompanyInput
27631
+ BillingAccount?: BillingAccountCreateNestedManyWithoutClientCompanyModelInput
26129
27632
  }
26130
27633
 
26131
27634
  export type ClientCompanyUncheckedCreateInput = {
@@ -26141,6 +27644,7 @@ export namespace Prisma {
26141
27644
  logo?: string | null
26142
27645
  accounts?: AccountUncheckedCreateNestedManyWithoutClientCompanyModelInput
26143
27646
  missionSpecs?: MissionSpecUncheckedCreateNestedManyWithoutClientCompanyInput
27647
+ BillingAccount?: BillingAccountUncheckedCreateNestedManyWithoutClientCompanyModelInput
26144
27648
  }
26145
27649
 
26146
27650
  export type ClientCompanyUpdateInput = {
@@ -26155,6 +27659,7 @@ export namespace Prisma {
26155
27659
  logo?: NullableStringFieldUpdateOperationsInput | string | null
26156
27660
  accounts?: AccountUpdateManyWithoutClientCompanyModelNestedInput
26157
27661
  missionSpecs?: MissionSpecUpdateManyWithoutClientCompanyNestedInput
27662
+ BillingAccount?: BillingAccountUpdateManyWithoutClientCompanyModelNestedInput
26158
27663
  }
26159
27664
 
26160
27665
  export type ClientCompanyUncheckedUpdateInput = {
@@ -26169,6 +27674,7 @@ export namespace Prisma {
26169
27674
  logo?: NullableStringFieldUpdateOperationsInput | string | null
26170
27675
  accounts?: AccountUncheckedUpdateManyWithoutClientCompanyModelNestedInput
26171
27676
  missionSpecs?: MissionSpecUncheckedUpdateManyWithoutClientCompanyNestedInput
27677
+ BillingAccount?: BillingAccountUncheckedUpdateManyWithoutClientCompanyModelNestedInput
26172
27678
  }
26173
27679
 
26174
27680
  export type ClientCompanyCreateManyInput = {
@@ -28158,6 +29664,11 @@ export namespace Prisma {
28158
29664
  isNot?: CompanyWhereInput | null
28159
29665
  }
28160
29666
 
29667
+ export type BillingAccountNullableRelationFilter = {
29668
+ is?: BillingAccountWhereInput | null
29669
+ isNot?: BillingAccountWhereInput | null
29670
+ }
29671
+
28161
29672
  export type MissionListRelationFilter = {
28162
29673
  every?: MissionWhereInput
28163
29674
  some?: MissionWhereInput
@@ -28282,16 +29793,98 @@ export namespace Prisma {
28282
29793
  isSet?: boolean
28283
29794
  }
28284
29795
 
29796
+ export type BillingAccountBillingInfoNullableCompositeFilter = {
29797
+ equals?: BillingAccountBillingInfoObjectEqualityInput | null
29798
+ is?: BillingAccountBillingInfoWhereInput | null
29799
+ isNot?: BillingAccountBillingInfoWhereInput | null
29800
+ isSet?: boolean
29801
+ }
29802
+
29803
+ export type BillingAccountBillingInfoObjectEqualityInput = {
29804
+ name: string
29805
+ contactName?: string | null
29806
+ contactEmail?: string | null
29807
+ tin?: string | null
29808
+ }
29809
+
29810
+ export type BillingAccountStripeInfoNullableCompositeFilter = {
29811
+ equals?: BillingAccountStripeInfoObjectEqualityInput | null
29812
+ is?: BillingAccountStripeInfoWhereInput | null
29813
+ isNot?: BillingAccountStripeInfoWhereInput | null
29814
+ isSet?: boolean
29815
+ }
29816
+
29817
+ export type BillingAccountStripeInfoObjectEqualityInput = {
29818
+ customerId: string
29819
+ }
29820
+
29821
+ export type BillingAccountPaymentTermsNullableCompositeFilter = {
29822
+ equals?: BillingAccountPaymentTermsObjectEqualityInput | null
29823
+ is?: BillingAccountPaymentTermsWhereInput | null
29824
+ isNot?: BillingAccountPaymentTermsWhereInput | null
29825
+ isSet?: boolean
29826
+ }
29827
+
29828
+ export type BillingAccountPaymentTermsObjectEqualityInput = {
29829
+ due: $Enums.BillingPaymentDue
29830
+ }
29831
+
28285
29832
  export type AccountListRelationFilter = {
28286
29833
  every?: AccountWhereInput
28287
29834
  some?: AccountWhereInput
28288
29835
  none?: AccountWhereInput
28289
29836
  }
28290
29837
 
29838
+ export type BillingAccountBillingInfoOrderByInput = {
29839
+ name?: SortOrder
29840
+ contactName?: SortOrder
29841
+ contactEmail?: SortOrder
29842
+ tin?: SortOrder
29843
+ }
29844
+
29845
+ export type BillingAccountStripeInfoOrderByInput = {
29846
+ customerId?: SortOrder
29847
+ }
29848
+
29849
+ export type BillingAccountPaymentTermsOrderByInput = {
29850
+ due?: SortOrder
29851
+ }
29852
+
28291
29853
  export type AccountOrderByRelationAggregateInput = {
28292
29854
  _count?: SortOrder
28293
29855
  }
28294
29856
 
29857
+ export type BillingAccountCountOrderByAggregateInput = {
29858
+ id?: SortOrder
29859
+ clientCompany?: SortOrder
29860
+ createdAt?: SortOrder
29861
+ updatedAt?: SortOrder
29862
+ }
29863
+
29864
+ export type BillingAccountMaxOrderByAggregateInput = {
29865
+ id?: SortOrder
29866
+ clientCompany?: SortOrder
29867
+ createdAt?: SortOrder
29868
+ updatedAt?: SortOrder
29869
+ }
29870
+
29871
+ export type BillingAccountMinOrderByAggregateInput = {
29872
+ id?: SortOrder
29873
+ clientCompany?: SortOrder
29874
+ createdAt?: SortOrder
29875
+ updatedAt?: SortOrder
29876
+ }
29877
+
29878
+ export type BillingAccountListRelationFilter = {
29879
+ every?: BillingAccountWhereInput
29880
+ some?: BillingAccountWhereInput
29881
+ none?: BillingAccountWhereInput
29882
+ }
29883
+
29884
+ export type BillingAccountOrderByRelationAggregateInput = {
29885
+ _count?: SortOrder
29886
+ }
29887
+
28295
29888
  export type ClientCompanyCountOrderByAggregateInput = {
28296
29889
  id?: SortOrder
28297
29890
  createdAt?: SortOrder
@@ -30313,6 +31906,12 @@ export namespace Prisma {
30313
31906
  connect?: CompanyWhereUniqueInput
30314
31907
  }
30315
31908
 
31909
+ export type BillingAccountCreateNestedOneWithoutAccountInput = {
31910
+ create?: XOR<BillingAccountCreateWithoutAccountInput, BillingAccountUncheckedCreateWithoutAccountInput>
31911
+ connectOrCreate?: BillingAccountCreateOrConnectWithoutAccountInput
31912
+ connect?: BillingAccountWhereUniqueInput
31913
+ }
31914
+
30316
31915
  export type MissionCreateNestedManyWithoutAccountModelInput = {
30317
31916
  create?: XOR<MissionCreateWithoutAccountModelInput, MissionUncheckedCreateWithoutAccountModelInput> | MissionCreateWithoutAccountModelInput[] | MissionUncheckedCreateWithoutAccountModelInput[]
30318
31917
  connectOrCreate?: MissionCreateOrConnectWithoutAccountModelInput | MissionCreateOrConnectWithoutAccountModelInput[]
@@ -30368,11 +31967,6 @@ export namespace Prisma {
30368
31967
  unset?: boolean
30369
31968
  }
30370
31969
 
30371
- export type NullableStringFieldUpdateOperationsInput = {
30372
- set?: string | null
30373
- unset?: boolean
30374
- }
30375
-
30376
31970
  export type NullableDateTimeFieldUpdateOperationsInput = {
30377
31971
  set?: Date | string | null
30378
31972
  unset?: boolean
@@ -30403,6 +31997,16 @@ export namespace Prisma {
30403
31997
  update?: XOR<XOR<CompanyUpdateToOneWithWhereWithoutAccountsInput, CompanyUpdateWithoutAccountsInput>, CompanyUncheckedUpdateWithoutAccountsInput>
30404
31998
  }
30405
31999
 
32000
+ export type BillingAccountUpdateOneWithoutAccountNestedInput = {
32001
+ create?: XOR<BillingAccountCreateWithoutAccountInput, BillingAccountUncheckedCreateWithoutAccountInput>
32002
+ connectOrCreate?: BillingAccountCreateOrConnectWithoutAccountInput
32003
+ upsert?: BillingAccountUpsertWithoutAccountInput
32004
+ disconnect?: boolean
32005
+ delete?: BillingAccountWhereInput | boolean
32006
+ connect?: BillingAccountWhereUniqueInput
32007
+ update?: XOR<XOR<BillingAccountUpdateToOneWithWhereWithoutAccountInput, BillingAccountUpdateWithoutAccountInput>, BillingAccountUncheckedUpdateWithoutAccountInput>
32008
+ }
32009
+
30406
32010
  export type MissionUpdateManyWithoutAccountModelNestedInput = {
30407
32011
  create?: XOR<MissionCreateWithoutAccountModelInput, MissionUncheckedCreateWithoutAccountModelInput> | MissionCreateWithoutAccountModelInput[] | MissionUncheckedCreateWithoutAccountModelInput[]
30408
32012
  connectOrCreate?: MissionCreateOrConnectWithoutAccountModelInput | MissionCreateOrConnectWithoutAccountModelInput[]
@@ -30445,6 +32049,11 @@ export namespace Prisma {
30445
32049
  deleteMany?: ContractScalarWhereInput | ContractScalarWhereInput[]
30446
32050
  }
30447
32051
 
32052
+ export type NullableStringFieldUpdateOperationsInput = {
32053
+ set?: string | null
32054
+ unset?: boolean
32055
+ }
32056
+
30448
32057
  export type MissionUncheckedUpdateManyWithoutAccountModelNestedInput = {
30449
32058
  create?: XOR<MissionCreateWithoutAccountModelInput, MissionUncheckedCreateWithoutAccountModelInput> | MissionCreateWithoutAccountModelInput[] | MissionUncheckedCreateWithoutAccountModelInput[]
30450
32059
  connectOrCreate?: MissionCreateOrConnectWithoutAccountModelInput | MissionCreateOrConnectWithoutAccountModelInput[]
@@ -30487,6 +32096,109 @@ export namespace Prisma {
30487
32096
  deleteMany?: ContractScalarWhereInput | ContractScalarWhereInput[]
30488
32097
  }
30489
32098
 
32099
+ export type BillingAccountBillingInfoNullableCreateEnvelopeInput = {
32100
+ set?: BillingAccountBillingInfoCreateInput | null
32101
+ }
32102
+
32103
+ export type BillingAccountBillingInfoCreateInput = {
32104
+ name: string
32105
+ contactName?: string | null
32106
+ contactEmail?: string | null
32107
+ tin?: string | null
32108
+ }
32109
+
32110
+ export type BillingAccountStripeInfoNullableCreateEnvelopeInput = {
32111
+ set?: BillingAccountStripeInfoCreateInput | null
32112
+ }
32113
+
32114
+ export type BillingAccountStripeInfoCreateInput = {
32115
+ customerId: string
32116
+ }
32117
+
32118
+ export type BillingAccountPaymentTermsNullableCreateEnvelopeInput = {
32119
+ set?: BillingAccountPaymentTermsCreateInput | null
32120
+ }
32121
+
32122
+ export type BillingAccountPaymentTermsCreateInput = {
32123
+ due: $Enums.BillingPaymentDue
32124
+ }
32125
+
32126
+ export type ClientCompanyCreateNestedOneWithoutBillingAccountInput = {
32127
+ create?: XOR<ClientCompanyCreateWithoutBillingAccountInput, ClientCompanyUncheckedCreateWithoutBillingAccountInput>
32128
+ connectOrCreate?: ClientCompanyCreateOrConnectWithoutBillingAccountInput
32129
+ connect?: ClientCompanyWhereUniqueInput
32130
+ }
32131
+
32132
+ export type AccountCreateNestedManyWithoutBillingAccountModelInput = {
32133
+ create?: XOR<AccountCreateWithoutBillingAccountModelInput, AccountUncheckedCreateWithoutBillingAccountModelInput> | AccountCreateWithoutBillingAccountModelInput[] | AccountUncheckedCreateWithoutBillingAccountModelInput[]
32134
+ connectOrCreate?: AccountCreateOrConnectWithoutBillingAccountModelInput | AccountCreateOrConnectWithoutBillingAccountModelInput[]
32135
+ createMany?: AccountCreateManyBillingAccountModelInputEnvelope
32136
+ connect?: AccountWhereUniqueInput | AccountWhereUniqueInput[]
32137
+ }
32138
+
32139
+ export type AccountUncheckedCreateNestedManyWithoutBillingAccountModelInput = {
32140
+ create?: XOR<AccountCreateWithoutBillingAccountModelInput, AccountUncheckedCreateWithoutBillingAccountModelInput> | AccountCreateWithoutBillingAccountModelInput[] | AccountUncheckedCreateWithoutBillingAccountModelInput[]
32141
+ connectOrCreate?: AccountCreateOrConnectWithoutBillingAccountModelInput | AccountCreateOrConnectWithoutBillingAccountModelInput[]
32142
+ createMany?: AccountCreateManyBillingAccountModelInputEnvelope
32143
+ connect?: AccountWhereUniqueInput | AccountWhereUniqueInput[]
32144
+ }
32145
+
32146
+ export type BillingAccountBillingInfoNullableUpdateEnvelopeInput = {
32147
+ set?: BillingAccountBillingInfoCreateInput | null
32148
+ upsert?: BillingAccountBillingInfoUpsertInput
32149
+ unset?: boolean
32150
+ }
32151
+
32152
+ export type BillingAccountStripeInfoNullableUpdateEnvelopeInput = {
32153
+ set?: BillingAccountStripeInfoCreateInput | null
32154
+ upsert?: BillingAccountStripeInfoUpsertInput
32155
+ unset?: boolean
32156
+ }
32157
+
32158
+ export type BillingAccountPaymentTermsNullableUpdateEnvelopeInput = {
32159
+ set?: BillingAccountPaymentTermsCreateInput | null
32160
+ upsert?: BillingAccountPaymentTermsUpsertInput
32161
+ unset?: boolean
32162
+ }
32163
+
32164
+ export type ClientCompanyUpdateOneWithoutBillingAccountNestedInput = {
32165
+ create?: XOR<ClientCompanyCreateWithoutBillingAccountInput, ClientCompanyUncheckedCreateWithoutBillingAccountInput>
32166
+ connectOrCreate?: ClientCompanyCreateOrConnectWithoutBillingAccountInput
32167
+ upsert?: ClientCompanyUpsertWithoutBillingAccountInput
32168
+ disconnect?: boolean
32169
+ delete?: ClientCompanyWhereInput | boolean
32170
+ connect?: ClientCompanyWhereUniqueInput
32171
+ update?: XOR<XOR<ClientCompanyUpdateToOneWithWhereWithoutBillingAccountInput, ClientCompanyUpdateWithoutBillingAccountInput>, ClientCompanyUncheckedUpdateWithoutBillingAccountInput>
32172
+ }
32173
+
32174
+ export type AccountUpdateManyWithoutBillingAccountModelNestedInput = {
32175
+ create?: XOR<AccountCreateWithoutBillingAccountModelInput, AccountUncheckedCreateWithoutBillingAccountModelInput> | AccountCreateWithoutBillingAccountModelInput[] | AccountUncheckedCreateWithoutBillingAccountModelInput[]
32176
+ connectOrCreate?: AccountCreateOrConnectWithoutBillingAccountModelInput | AccountCreateOrConnectWithoutBillingAccountModelInput[]
32177
+ upsert?: AccountUpsertWithWhereUniqueWithoutBillingAccountModelInput | AccountUpsertWithWhereUniqueWithoutBillingAccountModelInput[]
32178
+ createMany?: AccountCreateManyBillingAccountModelInputEnvelope
32179
+ set?: AccountWhereUniqueInput | AccountWhereUniqueInput[]
32180
+ disconnect?: AccountWhereUniqueInput | AccountWhereUniqueInput[]
32181
+ delete?: AccountWhereUniqueInput | AccountWhereUniqueInput[]
32182
+ connect?: AccountWhereUniqueInput | AccountWhereUniqueInput[]
32183
+ update?: AccountUpdateWithWhereUniqueWithoutBillingAccountModelInput | AccountUpdateWithWhereUniqueWithoutBillingAccountModelInput[]
32184
+ updateMany?: AccountUpdateManyWithWhereWithoutBillingAccountModelInput | AccountUpdateManyWithWhereWithoutBillingAccountModelInput[]
32185
+ deleteMany?: AccountScalarWhereInput | AccountScalarWhereInput[]
32186
+ }
32187
+
32188
+ export type AccountUncheckedUpdateManyWithoutBillingAccountModelNestedInput = {
32189
+ create?: XOR<AccountCreateWithoutBillingAccountModelInput, AccountUncheckedCreateWithoutBillingAccountModelInput> | AccountCreateWithoutBillingAccountModelInput[] | AccountUncheckedCreateWithoutBillingAccountModelInput[]
32190
+ connectOrCreate?: AccountCreateOrConnectWithoutBillingAccountModelInput | AccountCreateOrConnectWithoutBillingAccountModelInput[]
32191
+ upsert?: AccountUpsertWithWhereUniqueWithoutBillingAccountModelInput | AccountUpsertWithWhereUniqueWithoutBillingAccountModelInput[]
32192
+ createMany?: AccountCreateManyBillingAccountModelInputEnvelope
32193
+ set?: AccountWhereUniqueInput | AccountWhereUniqueInput[]
32194
+ disconnect?: AccountWhereUniqueInput | AccountWhereUniqueInput[]
32195
+ delete?: AccountWhereUniqueInput | AccountWhereUniqueInput[]
32196
+ connect?: AccountWhereUniqueInput | AccountWhereUniqueInput[]
32197
+ update?: AccountUpdateWithWhereUniqueWithoutBillingAccountModelInput | AccountUpdateWithWhereUniqueWithoutBillingAccountModelInput[]
32198
+ updateMany?: AccountUpdateManyWithWhereWithoutBillingAccountModelInput | AccountUpdateManyWithWhereWithoutBillingAccountModelInput[]
32199
+ deleteMany?: AccountScalarWhereInput | AccountScalarWhereInput[]
32200
+ }
32201
+
30490
32202
  export type AccountCreateNestedManyWithoutClientCompanyModelInput = {
30491
32203
  create?: XOR<AccountCreateWithoutClientCompanyModelInput, AccountUncheckedCreateWithoutClientCompanyModelInput> | AccountCreateWithoutClientCompanyModelInput[] | AccountUncheckedCreateWithoutClientCompanyModelInput[]
30492
32204
  connectOrCreate?: AccountCreateOrConnectWithoutClientCompanyModelInput | AccountCreateOrConnectWithoutClientCompanyModelInput[]
@@ -30501,6 +32213,13 @@ export namespace Prisma {
30501
32213
  connect?: MissionSpecWhereUniqueInput | MissionSpecWhereUniqueInput[]
30502
32214
  }
30503
32215
 
32216
+ export type BillingAccountCreateNestedManyWithoutClientCompanyModelInput = {
32217
+ create?: XOR<BillingAccountCreateWithoutClientCompanyModelInput, BillingAccountUncheckedCreateWithoutClientCompanyModelInput> | BillingAccountCreateWithoutClientCompanyModelInput[] | BillingAccountUncheckedCreateWithoutClientCompanyModelInput[]
32218
+ connectOrCreate?: BillingAccountCreateOrConnectWithoutClientCompanyModelInput | BillingAccountCreateOrConnectWithoutClientCompanyModelInput[]
32219
+ createMany?: BillingAccountCreateManyClientCompanyModelInputEnvelope
32220
+ connect?: BillingAccountWhereUniqueInput | BillingAccountWhereUniqueInput[]
32221
+ }
32222
+
30504
32223
  export type AccountUncheckedCreateNestedManyWithoutClientCompanyModelInput = {
30505
32224
  create?: XOR<AccountCreateWithoutClientCompanyModelInput, AccountUncheckedCreateWithoutClientCompanyModelInput> | AccountCreateWithoutClientCompanyModelInput[] | AccountUncheckedCreateWithoutClientCompanyModelInput[]
30506
32225
  connectOrCreate?: AccountCreateOrConnectWithoutClientCompanyModelInput | AccountCreateOrConnectWithoutClientCompanyModelInput[]
@@ -30515,6 +32234,13 @@ export namespace Prisma {
30515
32234
  connect?: MissionSpecWhereUniqueInput | MissionSpecWhereUniqueInput[]
30516
32235
  }
30517
32236
 
32237
+ export type BillingAccountUncheckedCreateNestedManyWithoutClientCompanyModelInput = {
32238
+ create?: XOR<BillingAccountCreateWithoutClientCompanyModelInput, BillingAccountUncheckedCreateWithoutClientCompanyModelInput> | BillingAccountCreateWithoutClientCompanyModelInput[] | BillingAccountUncheckedCreateWithoutClientCompanyModelInput[]
32239
+ connectOrCreate?: BillingAccountCreateOrConnectWithoutClientCompanyModelInput | BillingAccountCreateOrConnectWithoutClientCompanyModelInput[]
32240
+ createMany?: BillingAccountCreateManyClientCompanyModelInputEnvelope
32241
+ connect?: BillingAccountWhereUniqueInput | BillingAccountWhereUniqueInput[]
32242
+ }
32243
+
30518
32244
  export type StringFieldUpdateOperationsInput = {
30519
32245
  set?: string
30520
32246
  }
@@ -30547,6 +32273,20 @@ export namespace Prisma {
30547
32273
  deleteMany?: MissionSpecScalarWhereInput | MissionSpecScalarWhereInput[]
30548
32274
  }
30549
32275
 
32276
+ export type BillingAccountUpdateManyWithoutClientCompanyModelNestedInput = {
32277
+ create?: XOR<BillingAccountCreateWithoutClientCompanyModelInput, BillingAccountUncheckedCreateWithoutClientCompanyModelInput> | BillingAccountCreateWithoutClientCompanyModelInput[] | BillingAccountUncheckedCreateWithoutClientCompanyModelInput[]
32278
+ connectOrCreate?: BillingAccountCreateOrConnectWithoutClientCompanyModelInput | BillingAccountCreateOrConnectWithoutClientCompanyModelInput[]
32279
+ upsert?: BillingAccountUpsertWithWhereUniqueWithoutClientCompanyModelInput | BillingAccountUpsertWithWhereUniqueWithoutClientCompanyModelInput[]
32280
+ createMany?: BillingAccountCreateManyClientCompanyModelInputEnvelope
32281
+ set?: BillingAccountWhereUniqueInput | BillingAccountWhereUniqueInput[]
32282
+ disconnect?: BillingAccountWhereUniqueInput | BillingAccountWhereUniqueInput[]
32283
+ delete?: BillingAccountWhereUniqueInput | BillingAccountWhereUniqueInput[]
32284
+ connect?: BillingAccountWhereUniqueInput | BillingAccountWhereUniqueInput[]
32285
+ update?: BillingAccountUpdateWithWhereUniqueWithoutClientCompanyModelInput | BillingAccountUpdateWithWhereUniqueWithoutClientCompanyModelInput[]
32286
+ updateMany?: BillingAccountUpdateManyWithWhereWithoutClientCompanyModelInput | BillingAccountUpdateManyWithWhereWithoutClientCompanyModelInput[]
32287
+ deleteMany?: BillingAccountScalarWhereInput | BillingAccountScalarWhereInput[]
32288
+ }
32289
+
30550
32290
  export type AccountUncheckedUpdateManyWithoutClientCompanyModelNestedInput = {
30551
32291
  create?: XOR<AccountCreateWithoutClientCompanyModelInput, AccountUncheckedCreateWithoutClientCompanyModelInput> | AccountCreateWithoutClientCompanyModelInput[] | AccountUncheckedCreateWithoutClientCompanyModelInput[]
30552
32292
  connectOrCreate?: AccountCreateOrConnectWithoutClientCompanyModelInput | AccountCreateOrConnectWithoutClientCompanyModelInput[]
@@ -30575,6 +32315,20 @@ export namespace Prisma {
30575
32315
  deleteMany?: MissionSpecScalarWhereInput | MissionSpecScalarWhereInput[]
30576
32316
  }
30577
32317
 
32318
+ export type BillingAccountUncheckedUpdateManyWithoutClientCompanyModelNestedInput = {
32319
+ create?: XOR<BillingAccountCreateWithoutClientCompanyModelInput, BillingAccountUncheckedCreateWithoutClientCompanyModelInput> | BillingAccountCreateWithoutClientCompanyModelInput[] | BillingAccountUncheckedCreateWithoutClientCompanyModelInput[]
32320
+ connectOrCreate?: BillingAccountCreateOrConnectWithoutClientCompanyModelInput | BillingAccountCreateOrConnectWithoutClientCompanyModelInput[]
32321
+ upsert?: BillingAccountUpsertWithWhereUniqueWithoutClientCompanyModelInput | BillingAccountUpsertWithWhereUniqueWithoutClientCompanyModelInput[]
32322
+ createMany?: BillingAccountCreateManyClientCompanyModelInputEnvelope
32323
+ set?: BillingAccountWhereUniqueInput | BillingAccountWhereUniqueInput[]
32324
+ disconnect?: BillingAccountWhereUniqueInput | BillingAccountWhereUniqueInput[]
32325
+ delete?: BillingAccountWhereUniqueInput | BillingAccountWhereUniqueInput[]
32326
+ connect?: BillingAccountWhereUniqueInput | BillingAccountWhereUniqueInput[]
32327
+ update?: BillingAccountUpdateWithWhereUniqueWithoutClientCompanyModelInput | BillingAccountUpdateWithWhereUniqueWithoutClientCompanyModelInput[]
32328
+ updateMany?: BillingAccountUpdateManyWithWhereWithoutClientCompanyModelInput | BillingAccountUpdateManyWithWhereWithoutClientCompanyModelInput[]
32329
+ deleteMany?: BillingAccountScalarWhereInput | BillingAccountScalarWhereInput[]
32330
+ }
32331
+
30578
32332
  export type CompanyEnrichmentCreateEnvelopeInput = {
30579
32333
  set?: CompanyEnrichmentCreateInput
30580
32334
  }
@@ -32464,6 +34218,30 @@ export namespace Prisma {
32464
34218
  isSet?: boolean
32465
34219
  }
32466
34220
 
34221
+ export type BillingAccountBillingInfoWhereInput = {
34222
+ AND?: BillingAccountBillingInfoWhereInput | BillingAccountBillingInfoWhereInput[]
34223
+ OR?: BillingAccountBillingInfoWhereInput[]
34224
+ NOT?: BillingAccountBillingInfoWhereInput | BillingAccountBillingInfoWhereInput[]
34225
+ name?: StringFilter<"BillingAccountBillingInfo"> | string
34226
+ contactName?: StringNullableFilter<"BillingAccountBillingInfo"> | string | null
34227
+ contactEmail?: StringNullableFilter<"BillingAccountBillingInfo"> | string | null
34228
+ tin?: StringNullableFilter<"BillingAccountBillingInfo"> | string | null
34229
+ }
34230
+
34231
+ export type BillingAccountStripeInfoWhereInput = {
34232
+ AND?: BillingAccountStripeInfoWhereInput | BillingAccountStripeInfoWhereInput[]
34233
+ OR?: BillingAccountStripeInfoWhereInput[]
34234
+ NOT?: BillingAccountStripeInfoWhereInput | BillingAccountStripeInfoWhereInput[]
34235
+ customerId?: StringFilter<"BillingAccountStripeInfo"> | string
34236
+ }
34237
+
34238
+ export type BillingAccountPaymentTermsWhereInput = {
34239
+ AND?: BillingAccountPaymentTermsWhereInput | BillingAccountPaymentTermsWhereInput[]
34240
+ OR?: BillingAccountPaymentTermsWhereInput[]
34241
+ NOT?: BillingAccountPaymentTermsWhereInput | BillingAccountPaymentTermsWhereInput[]
34242
+ due?: EnumBillingPaymentDueFilter<"BillingAccountPaymentTerms"> | $Enums.BillingPaymentDue
34243
+ }
34244
+
32467
34245
  export type CompanyEnrichmentWhereInput = {
32468
34246
  AND?: CompanyEnrichmentWhereInput | CompanyEnrichmentWhereInput[]
32469
34247
  OR?: CompanyEnrichmentWhereInput[]
@@ -33440,6 +35218,7 @@ export namespace Prisma {
33440
35218
  description?: string | null
33441
35219
  logo?: string | null
33442
35220
  missionSpecs?: MissionSpecCreateNestedManyWithoutClientCompanyInput
35221
+ BillingAccount?: BillingAccountCreateNestedManyWithoutClientCompanyModelInput
33443
35222
  }
33444
35223
 
33445
35224
  export type ClientCompanyUncheckedCreateWithoutAccountsInput = {
@@ -33454,6 +35233,7 @@ export namespace Prisma {
33454
35233
  description?: string | null
33455
35234
  logo?: string | null
33456
35235
  missionSpecs?: MissionSpecUncheckedCreateNestedManyWithoutClientCompanyInput
35236
+ BillingAccount?: BillingAccountUncheckedCreateNestedManyWithoutClientCompanyModelInput
33457
35237
  }
33458
35238
 
33459
35239
  export type ClientCompanyCreateOrConnectWithoutAccountsInput = {
@@ -33488,6 +35268,31 @@ export namespace Prisma {
33488
35268
  create: XOR<CompanyCreateWithoutAccountsInput, CompanyUncheckedCreateWithoutAccountsInput>
33489
35269
  }
33490
35270
 
35271
+ export type BillingAccountCreateWithoutAccountInput = {
35272
+ id?: string
35273
+ billingInfo?: XOR<BillingAccountBillingInfoNullableCreateEnvelopeInput, BillingAccountBillingInfoCreateInput> | null
35274
+ stripe?: XOR<BillingAccountStripeInfoNullableCreateEnvelopeInput, BillingAccountStripeInfoCreateInput> | null
35275
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableCreateEnvelopeInput, BillingAccountPaymentTermsCreateInput> | null
35276
+ createdAt?: Date | string | null
35277
+ updatedAt?: Date | string | null
35278
+ clientCompanyModel?: ClientCompanyCreateNestedOneWithoutBillingAccountInput
35279
+ }
35280
+
35281
+ export type BillingAccountUncheckedCreateWithoutAccountInput = {
35282
+ id?: string
35283
+ billingInfo?: XOR<BillingAccountBillingInfoNullableCreateEnvelopeInput, BillingAccountBillingInfoCreateInput> | null
35284
+ stripe?: XOR<BillingAccountStripeInfoNullableCreateEnvelopeInput, BillingAccountStripeInfoCreateInput> | null
35285
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableCreateEnvelopeInput, BillingAccountPaymentTermsCreateInput> | null
35286
+ clientCompany?: string | null
35287
+ createdAt?: Date | string | null
35288
+ updatedAt?: Date | string | null
35289
+ }
35290
+
35291
+ export type BillingAccountCreateOrConnectWithoutAccountInput = {
35292
+ where: BillingAccountWhereUniqueInput
35293
+ create: XOR<BillingAccountCreateWithoutAccountInput, BillingAccountUncheckedCreateWithoutAccountInput>
35294
+ }
35295
+
33491
35296
  export type MissionCreateWithoutAccountModelInput = {
33492
35297
  mid?: string
33493
35298
  applyStatus?: string | null
@@ -33745,6 +35550,7 @@ export namespace Prisma {
33745
35550
  description?: NullableStringFieldUpdateOperationsInput | string | null
33746
35551
  logo?: NullableStringFieldUpdateOperationsInput | string | null
33747
35552
  missionSpecs?: MissionSpecUpdateManyWithoutClientCompanyNestedInput
35553
+ BillingAccount?: BillingAccountUpdateManyWithoutClientCompanyModelNestedInput
33748
35554
  }
33749
35555
 
33750
35556
  export type ClientCompanyUncheckedUpdateWithoutAccountsInput = {
@@ -33758,6 +35564,7 @@ export namespace Prisma {
33758
35564
  description?: NullableStringFieldUpdateOperationsInput | string | null
33759
35565
  logo?: NullableStringFieldUpdateOperationsInput | string | null
33760
35566
  missionSpecs?: MissionSpecUncheckedUpdateManyWithoutClientCompanyNestedInput
35567
+ BillingAccount?: BillingAccountUncheckedUpdateManyWithoutClientCompanyModelNestedInput
33761
35568
  }
33762
35569
 
33763
35570
  export type CompanyUpsertWithoutAccountsInput = {
@@ -33791,6 +35598,35 @@ export namespace Prisma {
33791
35598
  requiresDeepEnrichment?: NullableBoolFieldUpdateOperationsInput | boolean | null
33792
35599
  }
33793
35600
 
35601
+ export type BillingAccountUpsertWithoutAccountInput = {
35602
+ update: XOR<BillingAccountUpdateWithoutAccountInput, BillingAccountUncheckedUpdateWithoutAccountInput>
35603
+ create: XOR<BillingAccountCreateWithoutAccountInput, BillingAccountUncheckedCreateWithoutAccountInput>
35604
+ where?: BillingAccountWhereInput
35605
+ }
35606
+
35607
+ export type BillingAccountUpdateToOneWithWhereWithoutAccountInput = {
35608
+ where?: BillingAccountWhereInput
35609
+ data: XOR<BillingAccountUpdateWithoutAccountInput, BillingAccountUncheckedUpdateWithoutAccountInput>
35610
+ }
35611
+
35612
+ export type BillingAccountUpdateWithoutAccountInput = {
35613
+ billingInfo?: XOR<BillingAccountBillingInfoNullableUpdateEnvelopeInput, BillingAccountBillingInfoCreateInput> | null
35614
+ stripe?: XOR<BillingAccountStripeInfoNullableUpdateEnvelopeInput, BillingAccountStripeInfoCreateInput> | null
35615
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableUpdateEnvelopeInput, BillingAccountPaymentTermsCreateInput> | null
35616
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35617
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35618
+ clientCompanyModel?: ClientCompanyUpdateOneWithoutBillingAccountNestedInput
35619
+ }
35620
+
35621
+ export type BillingAccountUncheckedUpdateWithoutAccountInput = {
35622
+ billingInfo?: XOR<BillingAccountBillingInfoNullableUpdateEnvelopeInput, BillingAccountBillingInfoCreateInput> | null
35623
+ stripe?: XOR<BillingAccountStripeInfoNullableUpdateEnvelopeInput, BillingAccountStripeInfoCreateInput> | null
35624
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableUpdateEnvelopeInput, BillingAccountPaymentTermsCreateInput> | null
35625
+ clientCompany?: NullableStringFieldUpdateOperationsInput | string | null
35626
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35627
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35628
+ }
35629
+
33794
35630
  export type MissionUpsertWithWhereUniqueWithoutAccountModelInput = {
33795
35631
  where: MissionWhereUniqueInput
33796
35632
  update: XOR<MissionUpdateWithoutAccountModelInput, MissionUncheckedUpdateWithoutAccountModelInput>
@@ -33931,16 +35767,174 @@ export namespace Prisma {
33931
35767
  deletedAt?: DateTimeNullableFilter<"Contract"> | Date | string | null
33932
35768
  }
33933
35769
 
35770
+ export type ClientCompanyCreateWithoutBillingAccountInput = {
35771
+ id?: string
35772
+ createdAt?: Date | string | null
35773
+ author?: string | null
35774
+ name: string
35775
+ slug?: string | null
35776
+ product?: string | null
35777
+ website?: string | null
35778
+ size?: string | null
35779
+ description?: string | null
35780
+ logo?: string | null
35781
+ accounts?: AccountCreateNestedManyWithoutClientCompanyModelInput
35782
+ missionSpecs?: MissionSpecCreateNestedManyWithoutClientCompanyInput
35783
+ }
35784
+
35785
+ export type ClientCompanyUncheckedCreateWithoutBillingAccountInput = {
35786
+ id?: string
35787
+ createdAt?: Date | string | null
35788
+ author?: string | null
35789
+ name: string
35790
+ slug?: string | null
35791
+ product?: string | null
35792
+ website?: string | null
35793
+ size?: string | null
35794
+ description?: string | null
35795
+ logo?: string | null
35796
+ accounts?: AccountUncheckedCreateNestedManyWithoutClientCompanyModelInput
35797
+ missionSpecs?: MissionSpecUncheckedCreateNestedManyWithoutClientCompanyInput
35798
+ }
35799
+
35800
+ export type ClientCompanyCreateOrConnectWithoutBillingAccountInput = {
35801
+ where: ClientCompanyWhereUniqueInput
35802
+ create: XOR<ClientCompanyCreateWithoutBillingAccountInput, ClientCompanyUncheckedCreateWithoutBillingAccountInput>
35803
+ }
35804
+
35805
+ export type AccountCreateWithoutBillingAccountModelInput = {
35806
+ id?: string
35807
+ members?: XOR<AccountsMemberListCreateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
35808
+ workspace?: XOR<AccountsWorkspaceNullableCreateEnvelopeInput, AccountsWorkspaceCreateInput> | null
35809
+ createdAt?: Date | string | null
35810
+ updatedAt?: Date | string | null
35811
+ deletedAt?: Date | string | null
35812
+ migrations?: AccountCreatemigrationsInput | string[]
35813
+ clientCompanyModel?: ClientCompanyCreateNestedOneWithoutAccountsInput
35814
+ company?: CompanyCreateNestedOneWithoutAccountsInput
35815
+ missions?: MissionCreateNestedManyWithoutAccountModelInput
35816
+ missionSpecs?: MissionSpecCreateNestedManyWithoutAccountInput
35817
+ contracts?: ContractCreateNestedManyWithoutAccountInput
35818
+ }
35819
+
35820
+ export type AccountUncheckedCreateWithoutBillingAccountModelInput = {
35821
+ id?: string
35822
+ clientCompany?: string | null
35823
+ companyId?: string | null
35824
+ members?: XOR<AccountsMemberListCreateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
35825
+ workspace?: XOR<AccountsWorkspaceNullableCreateEnvelopeInput, AccountsWorkspaceCreateInput> | null
35826
+ createdAt?: Date | string | null
35827
+ updatedAt?: Date | string | null
35828
+ deletedAt?: Date | string | null
35829
+ migrations?: AccountCreatemigrationsInput | string[]
35830
+ missions?: MissionUncheckedCreateNestedManyWithoutAccountModelInput
35831
+ missionSpecs?: MissionSpecUncheckedCreateNestedManyWithoutAccountInput
35832
+ contracts?: ContractUncheckedCreateNestedManyWithoutAccountInput
35833
+ }
35834
+
35835
+ export type AccountCreateOrConnectWithoutBillingAccountModelInput = {
35836
+ where: AccountWhereUniqueInput
35837
+ create: XOR<AccountCreateWithoutBillingAccountModelInput, AccountUncheckedCreateWithoutBillingAccountModelInput>
35838
+ }
35839
+
35840
+ export type AccountCreateManyBillingAccountModelInputEnvelope = {
35841
+ data: AccountCreateManyBillingAccountModelInput | AccountCreateManyBillingAccountModelInput[]
35842
+ }
35843
+
35844
+ export type BillingAccountBillingInfoUpsertInput = {
35845
+ set: BillingAccountBillingInfoCreateInput | null
35846
+ update: BillingAccountBillingInfoUpdateInput
35847
+ }
35848
+
35849
+ export type BillingAccountStripeInfoUpsertInput = {
35850
+ set: BillingAccountStripeInfoCreateInput | null
35851
+ update: BillingAccountStripeInfoUpdateInput
35852
+ }
35853
+
35854
+ export type BillingAccountPaymentTermsUpsertInput = {
35855
+ set: BillingAccountPaymentTermsCreateInput | null
35856
+ update: BillingAccountPaymentTermsUpdateInput
35857
+ }
35858
+
35859
+ export type ClientCompanyUpsertWithoutBillingAccountInput = {
35860
+ update: XOR<ClientCompanyUpdateWithoutBillingAccountInput, ClientCompanyUncheckedUpdateWithoutBillingAccountInput>
35861
+ create: XOR<ClientCompanyCreateWithoutBillingAccountInput, ClientCompanyUncheckedCreateWithoutBillingAccountInput>
35862
+ where?: ClientCompanyWhereInput
35863
+ }
35864
+
35865
+ export type ClientCompanyUpdateToOneWithWhereWithoutBillingAccountInput = {
35866
+ where?: ClientCompanyWhereInput
35867
+ data: XOR<ClientCompanyUpdateWithoutBillingAccountInput, ClientCompanyUncheckedUpdateWithoutBillingAccountInput>
35868
+ }
35869
+
35870
+ export type ClientCompanyUpdateWithoutBillingAccountInput = {
35871
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35872
+ author?: NullableStringFieldUpdateOperationsInput | string | null
35873
+ name?: StringFieldUpdateOperationsInput | string
35874
+ slug?: NullableStringFieldUpdateOperationsInput | string | null
35875
+ product?: NullableStringFieldUpdateOperationsInput | string | null
35876
+ website?: NullableStringFieldUpdateOperationsInput | string | null
35877
+ size?: NullableStringFieldUpdateOperationsInput | string | null
35878
+ description?: NullableStringFieldUpdateOperationsInput | string | null
35879
+ logo?: NullableStringFieldUpdateOperationsInput | string | null
35880
+ accounts?: AccountUpdateManyWithoutClientCompanyModelNestedInput
35881
+ missionSpecs?: MissionSpecUpdateManyWithoutClientCompanyNestedInput
35882
+ }
35883
+
35884
+ export type ClientCompanyUncheckedUpdateWithoutBillingAccountInput = {
35885
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35886
+ author?: NullableStringFieldUpdateOperationsInput | string | null
35887
+ name?: StringFieldUpdateOperationsInput | string
35888
+ slug?: NullableStringFieldUpdateOperationsInput | string | null
35889
+ product?: NullableStringFieldUpdateOperationsInput | string | null
35890
+ website?: NullableStringFieldUpdateOperationsInput | string | null
35891
+ size?: NullableStringFieldUpdateOperationsInput | string | null
35892
+ description?: NullableStringFieldUpdateOperationsInput | string | null
35893
+ logo?: NullableStringFieldUpdateOperationsInput | string | null
35894
+ accounts?: AccountUncheckedUpdateManyWithoutClientCompanyModelNestedInput
35895
+ missionSpecs?: MissionSpecUncheckedUpdateManyWithoutClientCompanyNestedInput
35896
+ }
35897
+
35898
+ export type AccountUpsertWithWhereUniqueWithoutBillingAccountModelInput = {
35899
+ where: AccountWhereUniqueInput
35900
+ update: XOR<AccountUpdateWithoutBillingAccountModelInput, AccountUncheckedUpdateWithoutBillingAccountModelInput>
35901
+ create: XOR<AccountCreateWithoutBillingAccountModelInput, AccountUncheckedCreateWithoutBillingAccountModelInput>
35902
+ }
35903
+
35904
+ export type AccountUpdateWithWhereUniqueWithoutBillingAccountModelInput = {
35905
+ where: AccountWhereUniqueInput
35906
+ data: XOR<AccountUpdateWithoutBillingAccountModelInput, AccountUncheckedUpdateWithoutBillingAccountModelInput>
35907
+ }
35908
+
35909
+ export type AccountUpdateManyWithWhereWithoutBillingAccountModelInput = {
35910
+ where: AccountScalarWhereInput
35911
+ data: XOR<AccountUpdateManyMutationInput, AccountUncheckedUpdateManyWithoutBillingAccountModelInput>
35912
+ }
35913
+
35914
+ export type AccountScalarWhereInput = {
35915
+ AND?: AccountScalarWhereInput | AccountScalarWhereInput[]
35916
+ OR?: AccountScalarWhereInput[]
35917
+ NOT?: AccountScalarWhereInput | AccountScalarWhereInput[]
35918
+ id?: StringFilter<"Account"> | string
35919
+ clientCompany?: StringNullableFilter<"Account"> | string | null
35920
+ companyId?: StringNullableFilter<"Account"> | string | null
35921
+ billingAccount?: StringNullableFilter<"Account"> | string | null
35922
+ createdAt?: DateTimeNullableFilter<"Account"> | Date | string | null
35923
+ updatedAt?: DateTimeNullableFilter<"Account"> | Date | string | null
35924
+ deletedAt?: DateTimeNullableFilter<"Account"> | Date | string | null
35925
+ migrations?: StringNullableListFilter<"Account">
35926
+ }
35927
+
33934
35928
  export type AccountCreateWithoutClientCompanyModelInput = {
33935
35929
  id?: string
33936
35930
  members?: XOR<AccountsMemberListCreateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
33937
35931
  workspace?: XOR<AccountsWorkspaceNullableCreateEnvelopeInput, AccountsWorkspaceCreateInput> | null
33938
- billingAccount?: string | null
33939
35932
  createdAt?: Date | string | null
33940
35933
  updatedAt?: Date | string | null
33941
35934
  deletedAt?: Date | string | null
33942
35935
  migrations?: AccountCreatemigrationsInput | string[]
33943
35936
  company?: CompanyCreateNestedOneWithoutAccountsInput
35937
+ billingAccountModel?: BillingAccountCreateNestedOneWithoutAccountInput
33944
35938
  missions?: MissionCreateNestedManyWithoutAccountModelInput
33945
35939
  missionSpecs?: MissionSpecCreateNestedManyWithoutAccountInput
33946
35940
  contracts?: ContractCreateNestedManyWithoutAccountInput
@@ -34039,6 +36033,35 @@ export namespace Prisma {
34039
36033
  data: MissionSpecCreateManyClientCompanyInput | MissionSpecCreateManyClientCompanyInput[]
34040
36034
  }
34041
36035
 
36036
+ export type BillingAccountCreateWithoutClientCompanyModelInput = {
36037
+ id?: string
36038
+ billingInfo?: XOR<BillingAccountBillingInfoNullableCreateEnvelopeInput, BillingAccountBillingInfoCreateInput> | null
36039
+ stripe?: XOR<BillingAccountStripeInfoNullableCreateEnvelopeInput, BillingAccountStripeInfoCreateInput> | null
36040
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableCreateEnvelopeInput, BillingAccountPaymentTermsCreateInput> | null
36041
+ createdAt?: Date | string | null
36042
+ updatedAt?: Date | string | null
36043
+ Account?: AccountCreateNestedManyWithoutBillingAccountModelInput
36044
+ }
36045
+
36046
+ export type BillingAccountUncheckedCreateWithoutClientCompanyModelInput = {
36047
+ id?: string
36048
+ billingInfo?: XOR<BillingAccountBillingInfoNullableCreateEnvelopeInput, BillingAccountBillingInfoCreateInput> | null
36049
+ stripe?: XOR<BillingAccountStripeInfoNullableCreateEnvelopeInput, BillingAccountStripeInfoCreateInput> | null
36050
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableCreateEnvelopeInput, BillingAccountPaymentTermsCreateInput> | null
36051
+ createdAt?: Date | string | null
36052
+ updatedAt?: Date | string | null
36053
+ Account?: AccountUncheckedCreateNestedManyWithoutBillingAccountModelInput
36054
+ }
36055
+
36056
+ export type BillingAccountCreateOrConnectWithoutClientCompanyModelInput = {
36057
+ where: BillingAccountWhereUniqueInput
36058
+ create: XOR<BillingAccountCreateWithoutClientCompanyModelInput, BillingAccountUncheckedCreateWithoutClientCompanyModelInput>
36059
+ }
36060
+
36061
+ export type BillingAccountCreateManyClientCompanyModelInputEnvelope = {
36062
+ data: BillingAccountCreateManyClientCompanyModelInput | BillingAccountCreateManyClientCompanyModelInput[]
36063
+ }
36064
+
34042
36065
  export type AccountUpsertWithWhereUniqueWithoutClientCompanyModelInput = {
34043
36066
  where: AccountWhereUniqueInput
34044
36067
  update: XOR<AccountUpdateWithoutClientCompanyModelInput, AccountUncheckedUpdateWithoutClientCompanyModelInput>
@@ -34055,20 +36078,6 @@ export namespace Prisma {
34055
36078
  data: XOR<AccountUpdateManyMutationInput, AccountUncheckedUpdateManyWithoutClientCompanyModelInput>
34056
36079
  }
34057
36080
 
34058
- export type AccountScalarWhereInput = {
34059
- AND?: AccountScalarWhereInput | AccountScalarWhereInput[]
34060
- OR?: AccountScalarWhereInput[]
34061
- NOT?: AccountScalarWhereInput | AccountScalarWhereInput[]
34062
- id?: StringFilter<"Account"> | string
34063
- clientCompany?: StringNullableFilter<"Account"> | string | null
34064
- companyId?: StringNullableFilter<"Account"> | string | null
34065
- billingAccount?: StringNullableFilter<"Account"> | string | null
34066
- createdAt?: DateTimeNullableFilter<"Account"> | Date | string | null
34067
- updatedAt?: DateTimeNullableFilter<"Account"> | Date | string | null
34068
- deletedAt?: DateTimeNullableFilter<"Account"> | Date | string | null
34069
- migrations?: StringNullableListFilter<"Account">
34070
- }
34071
-
34072
36081
  export type MissionSpecUpsertWithWhereUniqueWithoutClientCompanyInput = {
34073
36082
  where: MissionSpecWhereUniqueInput
34074
36083
  update: XOR<MissionSpecUpdateWithoutClientCompanyInput, MissionSpecUncheckedUpdateWithoutClientCompanyInput>
@@ -34085,6 +36094,32 @@ export namespace Prisma {
34085
36094
  data: XOR<MissionSpecUpdateManyMutationInput, MissionSpecUncheckedUpdateManyWithoutClientCompanyInput>
34086
36095
  }
34087
36096
 
36097
+ export type BillingAccountUpsertWithWhereUniqueWithoutClientCompanyModelInput = {
36098
+ where: BillingAccountWhereUniqueInput
36099
+ update: XOR<BillingAccountUpdateWithoutClientCompanyModelInput, BillingAccountUncheckedUpdateWithoutClientCompanyModelInput>
36100
+ create: XOR<BillingAccountCreateWithoutClientCompanyModelInput, BillingAccountUncheckedCreateWithoutClientCompanyModelInput>
36101
+ }
36102
+
36103
+ export type BillingAccountUpdateWithWhereUniqueWithoutClientCompanyModelInput = {
36104
+ where: BillingAccountWhereUniqueInput
36105
+ data: XOR<BillingAccountUpdateWithoutClientCompanyModelInput, BillingAccountUncheckedUpdateWithoutClientCompanyModelInput>
36106
+ }
36107
+
36108
+ export type BillingAccountUpdateManyWithWhereWithoutClientCompanyModelInput = {
36109
+ where: BillingAccountScalarWhereInput
36110
+ data: XOR<BillingAccountUpdateManyMutationInput, BillingAccountUncheckedUpdateManyWithoutClientCompanyModelInput>
36111
+ }
36112
+
36113
+ export type BillingAccountScalarWhereInput = {
36114
+ AND?: BillingAccountScalarWhereInput | BillingAccountScalarWhereInput[]
36115
+ OR?: BillingAccountScalarWhereInput[]
36116
+ NOT?: BillingAccountScalarWhereInput | BillingAccountScalarWhereInput[]
36117
+ id?: StringFilter<"BillingAccount"> | string
36118
+ clientCompany?: StringNullableFilter<"BillingAccount"> | string | null
36119
+ createdAt?: DateTimeNullableFilter<"BillingAccount"> | Date | string | null
36120
+ updatedAt?: DateTimeNullableFilter<"BillingAccount"> | Date | string | null
36121
+ }
36122
+
34088
36123
  export type StructuredEnrichmentCreateInput = {
34089
36124
  name?: string | null
34090
36125
  countryCode?: string | null
@@ -34110,12 +36145,12 @@ export namespace Prisma {
34110
36145
  id?: string
34111
36146
  members?: XOR<AccountsMemberListCreateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
34112
36147
  workspace?: XOR<AccountsWorkspaceNullableCreateEnvelopeInput, AccountsWorkspaceCreateInput> | null
34113
- billingAccount?: string | null
34114
36148
  createdAt?: Date | string | null
34115
36149
  updatedAt?: Date | string | null
34116
36150
  deletedAt?: Date | string | null
34117
36151
  migrations?: AccountCreatemigrationsInput | string[]
34118
36152
  clientCompanyModel?: ClientCompanyCreateNestedOneWithoutAccountsInput
36153
+ billingAccountModel?: BillingAccountCreateNestedOneWithoutAccountInput
34119
36154
  missions?: MissionCreateNestedManyWithoutAccountModelInput
34120
36155
  missionSpecs?: MissionSpecCreateNestedManyWithoutAccountInput
34121
36156
  contracts?: ContractCreateNestedManyWithoutAccountInput
@@ -34282,13 +36317,13 @@ export namespace Prisma {
34282
36317
  id?: string
34283
36318
  members?: XOR<AccountsMemberListCreateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
34284
36319
  workspace?: XOR<AccountsWorkspaceNullableCreateEnvelopeInput, AccountsWorkspaceCreateInput> | null
34285
- billingAccount?: string | null
34286
36320
  createdAt?: Date | string | null
34287
36321
  updatedAt?: Date | string | null
34288
36322
  deletedAt?: Date | string | null
34289
36323
  migrations?: AccountCreatemigrationsInput | string[]
34290
36324
  clientCompanyModel?: ClientCompanyCreateNestedOneWithoutAccountsInput
34291
36325
  company?: CompanyCreateNestedOneWithoutAccountsInput
36326
+ billingAccountModel?: BillingAccountCreateNestedOneWithoutAccountInput
34292
36327
  missions?: MissionCreateNestedManyWithoutAccountModelInput
34293
36328
  missionSpecs?: MissionSpecCreateNestedManyWithoutAccountInput
34294
36329
  }
@@ -34450,13 +36485,13 @@ export namespace Prisma {
34450
36485
  export type AccountUpdateWithoutContractsInput = {
34451
36486
  members?: XOR<AccountsMemberListUpdateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
34452
36487
  workspace?: XOR<AccountsWorkspaceNullableUpdateEnvelopeInput, AccountsWorkspaceCreateInput> | null
34453
- billingAccount?: NullableStringFieldUpdateOperationsInput | string | null
34454
36488
  createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34455
36489
  updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34456
36490
  deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34457
36491
  migrations?: AccountUpdatemigrationsInput | string[]
34458
36492
  clientCompanyModel?: ClientCompanyUpdateOneWithoutAccountsNestedInput
34459
36493
  company?: CompanyUpdateOneWithoutAccountsNestedInput
36494
+ billingAccountModel?: BillingAccountUpdateOneWithoutAccountNestedInput
34460
36495
  missions?: MissionUpdateManyWithoutAccountModelNestedInput
34461
36496
  missionSpecs?: MissionSpecUpdateManyWithoutAccountNestedInput
34462
36497
  }
@@ -34553,13 +36588,13 @@ export namespace Prisma {
34553
36588
  id?: string
34554
36589
  members?: XOR<AccountsMemberListCreateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
34555
36590
  workspace?: XOR<AccountsWorkspaceNullableCreateEnvelopeInput, AccountsWorkspaceCreateInput> | null
34556
- billingAccount?: string | null
34557
36591
  createdAt?: Date | string | null
34558
36592
  updatedAt?: Date | string | null
34559
36593
  deletedAt?: Date | string | null
34560
36594
  migrations?: AccountCreatemigrationsInput | string[]
34561
36595
  clientCompanyModel?: ClientCompanyCreateNestedOneWithoutAccountsInput
34562
36596
  company?: CompanyCreateNestedOneWithoutAccountsInput
36597
+ billingAccountModel?: BillingAccountCreateNestedOneWithoutAccountInput
34563
36598
  missionSpecs?: MissionSpecCreateNestedManyWithoutAccountInput
34564
36599
  contracts?: ContractCreateNestedManyWithoutAccountInput
34565
36600
  }
@@ -34977,13 +37012,13 @@ export namespace Prisma {
34977
37012
  export type AccountUpdateWithoutMissionsInput = {
34978
37013
  members?: XOR<AccountsMemberListUpdateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
34979
37014
  workspace?: XOR<AccountsWorkspaceNullableUpdateEnvelopeInput, AccountsWorkspaceCreateInput> | null
34980
- billingAccount?: NullableStringFieldUpdateOperationsInput | string | null
34981
37015
  createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34982
37016
  updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34983
37017
  deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34984
37018
  migrations?: AccountUpdatemigrationsInput | string[]
34985
37019
  clientCompanyModel?: ClientCompanyUpdateOneWithoutAccountsNestedInput
34986
37020
  company?: CompanyUpdateOneWithoutAccountsNestedInput
37021
+ billingAccountModel?: BillingAccountUpdateOneWithoutAccountNestedInput
34987
37022
  missionSpecs?: MissionSpecUpdateManyWithoutAccountNestedInput
34988
37023
  contracts?: ContractUpdateManyWithoutAccountNestedInput
34989
37024
  }
@@ -35786,13 +37821,13 @@ export namespace Prisma {
35786
37821
  id?: string
35787
37822
  members?: XOR<AccountsMemberListCreateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
35788
37823
  workspace?: XOR<AccountsWorkspaceNullableCreateEnvelopeInput, AccountsWorkspaceCreateInput> | null
35789
- billingAccount?: string | null
35790
37824
  createdAt?: Date | string | null
35791
37825
  updatedAt?: Date | string | null
35792
37826
  deletedAt?: Date | string | null
35793
37827
  migrations?: AccountCreatemigrationsInput | string[]
35794
37828
  clientCompanyModel?: ClientCompanyCreateNestedOneWithoutAccountsInput
35795
37829
  company?: CompanyCreateNestedOneWithoutAccountsInput
37830
+ billingAccountModel?: BillingAccountCreateNestedOneWithoutAccountInput
35796
37831
  missions?: MissionCreateNestedManyWithoutAccountModelInput
35797
37832
  contracts?: ContractCreateNestedManyWithoutAccountInput
35798
37833
  }
@@ -35912,6 +37947,7 @@ export namespace Prisma {
35912
37947
  description?: string | null
35913
37948
  logo?: string | null
35914
37949
  accounts?: AccountCreateNestedManyWithoutClientCompanyModelInput
37950
+ BillingAccount?: BillingAccountCreateNestedManyWithoutClientCompanyModelInput
35915
37951
  }
35916
37952
 
35917
37953
  export type ClientCompanyUncheckedCreateWithoutMissionSpecsInput = {
@@ -35926,6 +37962,7 @@ export namespace Prisma {
35926
37962
  description?: string | null
35927
37963
  logo?: string | null
35928
37964
  accounts?: AccountUncheckedCreateNestedManyWithoutClientCompanyModelInput
37965
+ BillingAccount?: BillingAccountUncheckedCreateNestedManyWithoutClientCompanyModelInput
35929
37966
  }
35930
37967
 
35931
37968
  export type ClientCompanyCreateOrConnectWithoutMissionSpecsInput = {
@@ -36231,13 +38268,13 @@ export namespace Prisma {
36231
38268
  export type AccountUpdateWithoutMissionSpecsInput = {
36232
38269
  members?: XOR<AccountsMemberListUpdateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
36233
38270
  workspace?: XOR<AccountsWorkspaceNullableUpdateEnvelopeInput, AccountsWorkspaceCreateInput> | null
36234
- billingAccount?: NullableStringFieldUpdateOperationsInput | string | null
36235
38271
  createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
36236
38272
  updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
36237
38273
  deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
36238
38274
  migrations?: AccountUpdatemigrationsInput | string[]
36239
38275
  clientCompanyModel?: ClientCompanyUpdateOneWithoutAccountsNestedInput
36240
38276
  company?: CompanyUpdateOneWithoutAccountsNestedInput
38277
+ billingAccountModel?: BillingAccountUpdateOneWithoutAccountNestedInput
36241
38278
  missions?: MissionUpdateManyWithoutAccountModelNestedInput
36242
38279
  contracts?: ContractUpdateManyWithoutAccountNestedInput
36243
38280
  }
@@ -36365,6 +38402,7 @@ export namespace Prisma {
36365
38402
  description?: NullableStringFieldUpdateOperationsInput | string | null
36366
38403
  logo?: NullableStringFieldUpdateOperationsInput | string | null
36367
38404
  accounts?: AccountUpdateManyWithoutClientCompanyModelNestedInput
38405
+ BillingAccount?: BillingAccountUpdateManyWithoutClientCompanyModelNestedInput
36368
38406
  }
36369
38407
 
36370
38408
  export type ClientCompanyUncheckedUpdateWithoutMissionSpecsInput = {
@@ -36378,6 +38416,7 @@ export namespace Prisma {
36378
38416
  description?: NullableStringFieldUpdateOperationsInput | string | null
36379
38417
  logo?: NullableStringFieldUpdateOperationsInput | string | null
36380
38418
  accounts?: AccountUncheckedUpdateManyWithoutClientCompanyModelNestedInput
38419
+ BillingAccount?: BillingAccountUncheckedUpdateManyWithoutClientCompanyModelNestedInput
36381
38420
  }
36382
38421
 
36383
38422
  export type UserUpsertWithoutModifiedMissionSpecsInput = {
@@ -38144,6 +40183,13 @@ export namespace Prisma {
38144
40183
  data: XOR<ProposalUpdateManyMutationInput, ProposalUncheckedUpdateManyWithoutSharedByInput>
38145
40184
  }
38146
40185
 
40186
+ export type EnumBillingPaymentDueFilter<$PrismaModel = never> = {
40187
+ equals?: $Enums.BillingPaymentDue | EnumBillingPaymentDueFieldRefInput<$PrismaModel>
40188
+ in?: $Enums.BillingPaymentDue[] | ListEnumBillingPaymentDueFieldRefInput<$PrismaModel>
40189
+ notIn?: $Enums.BillingPaymentDue[] | ListEnumBillingPaymentDueFieldRefInput<$PrismaModel>
40190
+ not?: NestedEnumBillingPaymentDueFilter<$PrismaModel> | $Enums.BillingPaymentDue
40191
+ }
40192
+
38147
40193
  export type StructuredEnrichmentNullableCompositeFilter = {
38148
40194
  equals?: StructuredEnrichmentObjectEqualityInput | null
38149
40195
  is?: StructuredEnrichmentWhereInput | null
@@ -38833,6 +40879,72 @@ export namespace Prisma {
38833
40879
  deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
38834
40880
  }
38835
40881
 
40882
+ export type AccountCreateManyBillingAccountModelInput = {
40883
+ id?: string
40884
+ clientCompany?: string | null
40885
+ companyId?: string | null
40886
+ members?: XOR<AccountsMemberListCreateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
40887
+ workspace?: XOR<AccountsWorkspaceNullableCreateEnvelopeInput, AccountsWorkspaceCreateInput> | null
40888
+ createdAt?: Date | string | null
40889
+ updatedAt?: Date | string | null
40890
+ deletedAt?: Date | string | null
40891
+ migrations?: AccountCreatemigrationsInput | string[]
40892
+ }
40893
+
40894
+ export type BillingAccountBillingInfoUpdateInput = {
40895
+ name?: StringFieldUpdateOperationsInput | string
40896
+ contactName?: NullableStringFieldUpdateOperationsInput | string | null
40897
+ contactEmail?: NullableStringFieldUpdateOperationsInput | string | null
40898
+ tin?: NullableStringFieldUpdateOperationsInput | string | null
40899
+ }
40900
+
40901
+ export type BillingAccountStripeInfoUpdateInput = {
40902
+ customerId?: StringFieldUpdateOperationsInput | string
40903
+ }
40904
+
40905
+ export type BillingAccountPaymentTermsUpdateInput = {
40906
+ due?: EnumBillingPaymentDueFieldUpdateOperationsInput | $Enums.BillingPaymentDue
40907
+ }
40908
+
40909
+ export type AccountUpdateWithoutBillingAccountModelInput = {
40910
+ members?: XOR<AccountsMemberListUpdateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
40911
+ workspace?: XOR<AccountsWorkspaceNullableUpdateEnvelopeInput, AccountsWorkspaceCreateInput> | null
40912
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
40913
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
40914
+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
40915
+ migrations?: AccountUpdatemigrationsInput | string[]
40916
+ clientCompanyModel?: ClientCompanyUpdateOneWithoutAccountsNestedInput
40917
+ company?: CompanyUpdateOneWithoutAccountsNestedInput
40918
+ missions?: MissionUpdateManyWithoutAccountModelNestedInput
40919
+ missionSpecs?: MissionSpecUpdateManyWithoutAccountNestedInput
40920
+ contracts?: ContractUpdateManyWithoutAccountNestedInput
40921
+ }
40922
+
40923
+ export type AccountUncheckedUpdateWithoutBillingAccountModelInput = {
40924
+ clientCompany?: NullableStringFieldUpdateOperationsInput | string | null
40925
+ companyId?: NullableStringFieldUpdateOperationsInput | string | null
40926
+ members?: XOR<AccountsMemberListUpdateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
40927
+ workspace?: XOR<AccountsWorkspaceNullableUpdateEnvelopeInput, AccountsWorkspaceCreateInput> | null
40928
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
40929
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
40930
+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
40931
+ migrations?: AccountUpdatemigrationsInput | string[]
40932
+ missions?: MissionUncheckedUpdateManyWithoutAccountModelNestedInput
40933
+ missionSpecs?: MissionSpecUncheckedUpdateManyWithoutAccountNestedInput
40934
+ contracts?: ContractUncheckedUpdateManyWithoutAccountNestedInput
40935
+ }
40936
+
40937
+ export type AccountUncheckedUpdateManyWithoutBillingAccountModelInput = {
40938
+ clientCompany?: NullableStringFieldUpdateOperationsInput | string | null
40939
+ companyId?: NullableStringFieldUpdateOperationsInput | string | null
40940
+ members?: XOR<AccountsMemberListUpdateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
40941
+ workspace?: XOR<AccountsWorkspaceNullableUpdateEnvelopeInput, AccountsWorkspaceCreateInput> | null
40942
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
40943
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
40944
+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
40945
+ migrations?: AccountUpdatemigrationsInput | string[]
40946
+ }
40947
+
38836
40948
  export type AccountCreateManyClientCompanyModelInput = {
38837
40949
  id?: string
38838
40950
  companyId?: string | null
@@ -38873,15 +40985,24 @@ export namespace Prisma {
38873
40985
  workingHoursNumberOfMinutesOverlap?: number | null
38874
40986
  }
38875
40987
 
40988
+ export type BillingAccountCreateManyClientCompanyModelInput = {
40989
+ id?: string
40990
+ billingInfo?: XOR<BillingAccountBillingInfoNullableCreateEnvelopeInput, BillingAccountBillingInfoCreateInput> | null
40991
+ stripe?: XOR<BillingAccountStripeInfoNullableCreateEnvelopeInput, BillingAccountStripeInfoCreateInput> | null
40992
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableCreateEnvelopeInput, BillingAccountPaymentTermsCreateInput> | null
40993
+ createdAt?: Date | string | null
40994
+ updatedAt?: Date | string | null
40995
+ }
40996
+
38876
40997
  export type AccountUpdateWithoutClientCompanyModelInput = {
38877
40998
  members?: XOR<AccountsMemberListUpdateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
38878
40999
  workspace?: XOR<AccountsWorkspaceNullableUpdateEnvelopeInput, AccountsWorkspaceCreateInput> | null
38879
- billingAccount?: NullableStringFieldUpdateOperationsInput | string | null
38880
41000
  createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
38881
41001
  updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
38882
41002
  deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
38883
41003
  migrations?: AccountUpdatemigrationsInput | string[]
38884
41004
  company?: CompanyUpdateOneWithoutAccountsNestedInput
41005
+ billingAccountModel?: BillingAccountUpdateOneWithoutAccountNestedInput
38885
41006
  missions?: MissionUpdateManyWithoutAccountModelNestedInput
38886
41007
  missionSpecs?: MissionSpecUpdateManyWithoutAccountNestedInput
38887
41008
  contracts?: ContractUpdateManyWithoutAccountNestedInput
@@ -38997,6 +41118,32 @@ export namespace Prisma {
38997
41118
  workingHoursNumberOfMinutesOverlap?: NullableIntFieldUpdateOperationsInput | number | null
38998
41119
  }
38999
41120
 
41121
+ export type BillingAccountUpdateWithoutClientCompanyModelInput = {
41122
+ billingInfo?: XOR<BillingAccountBillingInfoNullableUpdateEnvelopeInput, BillingAccountBillingInfoCreateInput> | null
41123
+ stripe?: XOR<BillingAccountStripeInfoNullableUpdateEnvelopeInput, BillingAccountStripeInfoCreateInput> | null
41124
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableUpdateEnvelopeInput, BillingAccountPaymentTermsCreateInput> | null
41125
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
41126
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
41127
+ Account?: AccountUpdateManyWithoutBillingAccountModelNestedInput
41128
+ }
41129
+
41130
+ export type BillingAccountUncheckedUpdateWithoutClientCompanyModelInput = {
41131
+ billingInfo?: XOR<BillingAccountBillingInfoNullableUpdateEnvelopeInput, BillingAccountBillingInfoCreateInput> | null
41132
+ stripe?: XOR<BillingAccountStripeInfoNullableUpdateEnvelopeInput, BillingAccountStripeInfoCreateInput> | null
41133
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableUpdateEnvelopeInput, BillingAccountPaymentTermsCreateInput> | null
41134
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
41135
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
41136
+ Account?: AccountUncheckedUpdateManyWithoutBillingAccountModelNestedInput
41137
+ }
41138
+
41139
+ export type BillingAccountUncheckedUpdateManyWithoutClientCompanyModelInput = {
41140
+ billingInfo?: XOR<BillingAccountBillingInfoNullableUpdateEnvelopeInput, BillingAccountBillingInfoCreateInput> | null
41141
+ stripe?: XOR<BillingAccountStripeInfoNullableUpdateEnvelopeInput, BillingAccountStripeInfoCreateInput> | null
41142
+ paymentTerms?: XOR<BillingAccountPaymentTermsNullableUpdateEnvelopeInput, BillingAccountPaymentTermsCreateInput> | null
41143
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
41144
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
41145
+ }
41146
+
39000
41147
  export type StructuredEnrichmentCreateindustriesInput = {
39001
41148
  set: string[]
39002
41149
  }
@@ -39034,12 +41181,12 @@ export namespace Prisma {
39034
41181
  export type AccountUpdateWithoutCompanyInput = {
39035
41182
  members?: XOR<AccountsMemberListUpdateEnvelopeInput, AccountsMemberCreateInput> | AccountsMemberCreateInput[]
39036
41183
  workspace?: XOR<AccountsWorkspaceNullableUpdateEnvelopeInput, AccountsWorkspaceCreateInput> | null
39037
- billingAccount?: NullableStringFieldUpdateOperationsInput | string | null
39038
41184
  createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
39039
41185
  updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
39040
41186
  deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
39041
41187
  migrations?: AccountUpdatemigrationsInput | string[]
39042
41188
  clientCompanyModel?: ClientCompanyUpdateOneWithoutAccountsNestedInput
41189
+ billingAccountModel?: BillingAccountUpdateOneWithoutAccountNestedInput
39043
41190
  missions?: MissionUpdateManyWithoutAccountModelNestedInput
39044
41191
  missionSpecs?: MissionSpecUpdateManyWithoutAccountNestedInput
39045
41192
  contracts?: ContractUpdateManyWithoutAccountNestedInput
@@ -40664,6 +42811,13 @@ export namespace Prisma {
40664
42811
  teamProposal?: NullableBoolFieldUpdateOperationsInput | boolean | null
40665
42812
  }
40666
42813
 
42814
+ export type NestedEnumBillingPaymentDueFilter<$PrismaModel = never> = {
42815
+ equals?: $Enums.BillingPaymentDue | EnumBillingPaymentDueFieldRefInput<$PrismaModel>
42816
+ in?: $Enums.BillingPaymentDue[] | ListEnumBillingPaymentDueFieldRefInput<$PrismaModel>
42817
+ notIn?: $Enums.BillingPaymentDue[] | ListEnumBillingPaymentDueFieldRefInput<$PrismaModel>
42818
+ not?: NestedEnumBillingPaymentDueFilter<$PrismaModel> | $Enums.BillingPaymentDue
42819
+ }
42820
+
40667
42821
  export type StructuredEnrichmentWhereInput = {
40668
42822
  AND?: StructuredEnrichmentWhereInput | StructuredEnrichmentWhereInput[]
40669
42823
  OR?: StructuredEnrichmentWhereInput[]
@@ -40911,6 +43065,10 @@ export namespace Prisma {
40911
43065
  weeklyHoursAvailable?: IntNullableFilter<"AvailabilityObject"> | number | null
40912
43066
  }
40913
43067
 
43068
+ export type EnumBillingPaymentDueFieldUpdateOperationsInput = {
43069
+ set?: $Enums.BillingPaymentDue
43070
+ }
43071
+
40914
43072
  export type StructuredEnrichmentUpsertInput = {
40915
43073
  set: StructuredEnrichmentCreateInput | null
40916
43074
  update: StructuredEnrichmentUpdateInput
@@ -41595,6 +43753,10 @@ export namespace Prisma {
41595
43753
  * @deprecated Use AccountCountOutputTypeDefaultArgs instead
41596
43754
  */
41597
43755
  export type AccountCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AccountCountOutputTypeDefaultArgs<ExtArgs>
43756
+ /**
43757
+ * @deprecated Use BillingAccountCountOutputTypeDefaultArgs instead
43758
+ */
43759
+ export type BillingAccountCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = BillingAccountCountOutputTypeDefaultArgs<ExtArgs>
41598
43760
  /**
41599
43761
  * @deprecated Use ClientCompanyCountOutputTypeDefaultArgs instead
41600
43762
  */
@@ -41623,6 +43785,18 @@ export namespace Prisma {
41623
43785
  * @deprecated Use AccountsWorkspaceDefaultArgs instead
41624
43786
  */
41625
43787
  export type AccountsWorkspaceArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AccountsWorkspaceDefaultArgs<ExtArgs>
43788
+ /**
43789
+ * @deprecated Use BillingAccountBillingInfoDefaultArgs instead
43790
+ */
43791
+ export type BillingAccountBillingInfoArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = BillingAccountBillingInfoDefaultArgs<ExtArgs>
43792
+ /**
43793
+ * @deprecated Use BillingAccountStripeInfoDefaultArgs instead
43794
+ */
43795
+ export type BillingAccountStripeInfoArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = BillingAccountStripeInfoDefaultArgs<ExtArgs>
43796
+ /**
43797
+ * @deprecated Use BillingAccountPaymentTermsDefaultArgs instead
43798
+ */
43799
+ export type BillingAccountPaymentTermsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = BillingAccountPaymentTermsDefaultArgs<ExtArgs>
41626
43800
  /**
41627
43801
  * @deprecated Use LocalHourRangeDefaultArgs instead
41628
43802
  */
@@ -41883,6 +44057,10 @@ export namespace Prisma {
41883
44057
  * @deprecated Use AccountDefaultArgs instead
41884
44058
  */
41885
44059
  export type AccountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AccountDefaultArgs<ExtArgs>
44060
+ /**
44061
+ * @deprecated Use BillingAccountDefaultArgs instead
44062
+ */
44063
+ export type BillingAccountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = BillingAccountDefaultArgs<ExtArgs>
41886
44064
  /**
41887
44065
  * @deprecated Use ClientCompanyDefaultArgs instead
41888
44066
  */