@a_team/prisma 2.0.12 → 2.0.14

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.
@@ -281,7 +281,8 @@ exports.ContractStatus = exports.$Enums.ContractStatus = {
281
281
 
282
282
  exports.ContractType = exports.$Enums.ContractType = {
283
283
  TermsOfService: 'TermsOfService',
284
- MissionAgreement: 'MissionAgreement'
284
+ MissionAgreement: 'MissionAgreement',
285
+ ClientContract: 'ClientContract'
285
286
  };
286
287
 
287
288
  exports.MissionSpecStatus = exports.$Enums.MissionSpecStatus = {
@@ -48,6 +48,11 @@ export type CompanyEnrichment = $Result.DefaultSelection<Prisma.$CompanyEnrichme
48
48
  *
49
49
  */
50
50
  export type ContractParty = $Result.DefaultSelection<Prisma.$ContractPartyPayload>
51
+ /**
52
+ * Model PandadocMetadata
53
+ *
54
+ */
55
+ export type PandadocMetadata = $Result.DefaultSelection<Prisma.$PandadocMetadataPayload>
51
56
  /**
52
57
  * Model MissionRoleAvailability
53
58
  *
@@ -208,7 +213,8 @@ export type ContractStatus = (typeof ContractStatus)[keyof typeof ContractStatus
208
213
 
209
214
  export const ContractType: {
210
215
  TermsOfService: 'TermsOfService',
211
- MissionAgreement: 'MissionAgreement'
216
+ MissionAgreement: 'MissionAgreement',
217
+ ClientContract: 'ClientContract'
212
218
  };
213
219
 
214
220
  export type ContractType = (typeof ContractType)[keyof typeof ContractType]
@@ -2491,6 +2497,59 @@ export namespace Prisma {
2491
2497
  }
2492
2498
 
2493
2499
 
2500
+ /**
2501
+ * Model PandadocMetadata
2502
+ */
2503
+
2504
+
2505
+
2506
+
2507
+
2508
+ export type PandadocMetadataSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
2509
+ id?: boolean
2510
+ }, ExtArgs["result"]["pandadocMetadata"]>
2511
+
2512
+
2513
+ export type PandadocMetadataSelectScalar = {
2514
+ id?: boolean
2515
+ }
2516
+
2517
+
2518
+ export type $PandadocMetadataPayload = {
2519
+ name: "PandadocMetadata"
2520
+ objects: {}
2521
+ scalars: {
2522
+ id: string
2523
+ }
2524
+ composites: {}
2525
+ }
2526
+
2527
+ type PandadocMetadataGetPayload<S extends boolean | null | undefined | PandadocMetadataDefaultArgs> = $Result.GetResult<Prisma.$PandadocMetadataPayload, S>
2528
+
2529
+
2530
+
2531
+
2532
+
2533
+ /**
2534
+ * Fields of the PandadocMetadata model
2535
+ */
2536
+ interface PandadocMetadataFieldRefs {
2537
+ readonly id: FieldRef<"PandadocMetadata", 'String'>
2538
+ }
2539
+
2540
+
2541
+ // Custom InputTypes
2542
+ /**
2543
+ * PandadocMetadata without action
2544
+ */
2545
+ export type PandadocMetadataDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2546
+ /**
2547
+ * Select specific fields to fetch from the PandadocMetadata
2548
+ */
2549
+ select?: PandadocMetadataSelect<ExtArgs> | null
2550
+ }
2551
+
2552
+
2494
2553
  /**
2495
2554
  * Model MissionRoleAvailability
2496
2555
  */
@@ -7114,6 +7173,7 @@ export namespace Prisma {
7114
7173
  missionId?: boolean
7115
7174
  role?: boolean
7116
7175
  custom?: boolean
7176
+ pandadocMetadata?: boolean | PandadocMetadataDefaultArgs<ExtArgs>
7117
7177
  mission?: boolean | Contract$missionArgs<ExtArgs>
7118
7178
  }, ExtArgs["result"]["contract"]>
7119
7179
 
@@ -7152,6 +7212,7 @@ export namespace Prisma {
7152
7212
  }, ExtArgs["result"]["contract"]>
7153
7213
  composites: {
7154
7214
  parties: Prisma.$ContractPartyPayload[]
7215
+ pandadocMetadata: Prisma.$PandadocMetadataPayload
7155
7216
  }
7156
7217
  }
7157
7218
 
@@ -14902,6 +14963,7 @@ export namespace Prisma {
14902
14963
  missionId?: StringNullableFilter<"Contract"> | string | null
14903
14964
  role?: StringNullableFilter<"Contract"> | string | null
14904
14965
  custom?: BoolNullableFilter<"Contract"> | boolean | null
14966
+ pandadocMetadata?: XOR<PandadocMetadataCompositeFilter, PandadocMetadataObjectEqualityInput>
14905
14967
  mission?: XOR<MissionNullableRelationFilter, MissionWhereInput> | null
14906
14968
  }
14907
14969
 
@@ -14916,6 +14978,7 @@ export namespace Prisma {
14916
14978
  missionId?: SortOrder
14917
14979
  role?: SortOrder
14918
14980
  custom?: SortOrder
14981
+ pandadocMetadata?: PandadocMetadataOrderByInput
14919
14982
  mission?: MissionOrderByWithRelationInput
14920
14983
  }
14921
14984
 
@@ -14933,6 +14996,7 @@ export namespace Prisma {
14933
14996
  missionId?: StringNullableFilter<"Contract"> | string | null
14934
14997
  role?: StringNullableFilter<"Contract"> | string | null
14935
14998
  custom?: BoolNullableFilter<"Contract"> | boolean | null
14999
+ pandadocMetadata?: XOR<PandadocMetadataCompositeFilter, PandadocMetadataObjectEqualityInput>
14936
15000
  mission?: XOR<MissionNullableRelationFilter, MissionWhereInput> | null
14937
15001
  }, "sid">
14938
15002
 
@@ -15927,6 +15991,7 @@ export namespace Prisma {
15927
15991
  parties?: XOR<ContractPartyListCreateEnvelopeInput, ContractPartyCreateInput> | ContractPartyCreateInput[]
15928
15992
  role?: string | null
15929
15993
  custom?: boolean | null
15994
+ pandadocMetadata: XOR<PandadocMetadataCreateEnvelopeInput, PandadocMetadataCreateInput>
15930
15995
  mission?: MissionCreateNestedOneWithoutContractsInput
15931
15996
  }
15932
15997
 
@@ -15941,6 +16006,7 @@ export namespace Prisma {
15941
16006
  missionId?: string | null
15942
16007
  role?: string | null
15943
16008
  custom?: boolean | null
16009
+ pandadocMetadata: XOR<PandadocMetadataCreateEnvelopeInput, PandadocMetadataCreateInput>
15944
16010
  }
15945
16011
 
15946
16012
  export type ContractUpdateInput = {
@@ -15952,6 +16018,7 @@ export namespace Prisma {
15952
16018
  parties?: XOR<ContractPartyListUpdateEnvelopeInput, ContractPartyCreateInput> | ContractPartyCreateInput[]
15953
16019
  role?: NullableStringFieldUpdateOperationsInput | string | null
15954
16020
  custom?: NullableBoolFieldUpdateOperationsInput | boolean | null
16021
+ pandadocMetadata?: XOR<PandadocMetadataUpdateEnvelopeInput, PandadocMetadataCreateInput>
15955
16022
  mission?: MissionUpdateOneWithoutContractsNestedInput
15956
16023
  }
15957
16024
 
@@ -15965,6 +16032,7 @@ export namespace Prisma {
15965
16032
  missionId?: NullableStringFieldUpdateOperationsInput | string | null
15966
16033
  role?: NullableStringFieldUpdateOperationsInput | string | null
15967
16034
  custom?: NullableBoolFieldUpdateOperationsInput | boolean | null
16035
+ pandadocMetadata?: XOR<PandadocMetadataUpdateEnvelopeInput, PandadocMetadataCreateInput>
15968
16036
  }
15969
16037
 
15970
16038
  export type ContractCreateManyInput = {
@@ -15978,6 +16046,7 @@ export namespace Prisma {
15978
16046
  missionId?: string | null
15979
16047
  role?: string | null
15980
16048
  custom?: boolean | null
16049
+ pandadocMetadata: XOR<PandadocMetadataCreateEnvelopeInput, PandadocMetadataCreateInput>
15981
16050
  }
15982
16051
 
15983
16052
  export type ContractUpdateManyMutationInput = {
@@ -15989,6 +16058,7 @@ export namespace Prisma {
15989
16058
  parties?: XOR<ContractPartyListUpdateEnvelopeInput, ContractPartyCreateInput> | ContractPartyCreateInput[]
15990
16059
  role?: NullableStringFieldUpdateOperationsInput | string | null
15991
16060
  custom?: NullableBoolFieldUpdateOperationsInput | boolean | null
16061
+ pandadocMetadata?: XOR<PandadocMetadataUpdateEnvelopeInput, PandadocMetadataCreateInput>
15992
16062
  }
15993
16063
 
15994
16064
  export type ContractUncheckedUpdateManyInput = {
@@ -16001,6 +16071,7 @@ export namespace Prisma {
16001
16071
  missionId?: NullableStringFieldUpdateOperationsInput | string | null
16002
16072
  role?: NullableStringFieldUpdateOperationsInput | string | null
16003
16073
  custom?: NullableBoolFieldUpdateOperationsInput | boolean | null
16074
+ pandadocMetadata?: XOR<PandadocMetadataUpdateEnvelopeInput, PandadocMetadataCreateInput>
16004
16075
  }
16005
16076
 
16006
16077
  export type MissionCreateInput = {
@@ -17176,6 +17247,16 @@ export namespace Prisma {
17176
17247
  stripeClient?: string | null
17177
17248
  }
17178
17249
 
17250
+ export type PandadocMetadataCompositeFilter = {
17251
+ equals?: PandadocMetadataObjectEqualityInput
17252
+ is?: PandadocMetadataWhereInput
17253
+ isNot?: PandadocMetadataWhereInput
17254
+ }
17255
+
17256
+ export type PandadocMetadataObjectEqualityInput = {
17257
+ id: string
17258
+ }
17259
+
17179
17260
  export type MissionNullableRelationFilter = {
17180
17261
  is?: MissionWhereInput | null
17181
17262
  isNot?: MissionWhereInput | null
@@ -17185,6 +17266,10 @@ export namespace Prisma {
17185
17266
  _count?: SortOrder
17186
17267
  }
17187
17268
 
17269
+ export type PandadocMetadataOrderByInput = {
17270
+ id?: SortOrder
17271
+ }
17272
+
17188
17273
  export type ContractCountOrderByAggregateInput = {
17189
17274
  sid?: SortOrder
17190
17275
  status?: SortOrder
@@ -18318,6 +18403,14 @@ export namespace Prisma {
18318
18403
  stripeClient?: string | null
18319
18404
  }
18320
18405
 
18406
+ export type PandadocMetadataCreateEnvelopeInput = {
18407
+ set?: PandadocMetadataCreateInput
18408
+ }
18409
+
18410
+ export type PandadocMetadataCreateInput = {
18411
+ id: string
18412
+ }
18413
+
18321
18414
  export type MissionCreateNestedOneWithoutContractsInput = {
18322
18415
  create?: XOR<MissionCreateWithoutContractsInput, MissionUncheckedCreateWithoutContractsInput>
18323
18416
  connectOrCreate?: MissionCreateOrConnectWithoutContractsInput
@@ -18343,6 +18436,11 @@ export namespace Prisma {
18343
18436
  deleteMany?: ContractPartyDeleteManyInput
18344
18437
  }
18345
18438
 
18439
+ export type PandadocMetadataUpdateEnvelopeInput = {
18440
+ set?: PandadocMetadataCreateInput
18441
+ update?: PandadocMetadataUpdateInput
18442
+ }
18443
+
18346
18444
  export type MissionUpdateOneWithoutContractsNestedInput = {
18347
18445
  create?: XOR<MissionCreateWithoutContractsInput, MissionUncheckedCreateWithoutContractsInput>
18348
18446
  connectOrCreate?: MissionCreateOrConnectWithoutContractsInput
@@ -19297,6 +19395,13 @@ export namespace Prisma {
19297
19395
  stripeClient?: StringNullableFilter<"ContractParty"> | string | null
19298
19396
  }
19299
19397
 
19398
+ export type PandadocMetadataWhereInput = {
19399
+ AND?: PandadocMetadataWhereInput | PandadocMetadataWhereInput[]
19400
+ OR?: PandadocMetadataWhereInput[]
19401
+ NOT?: PandadocMetadataWhereInput | PandadocMetadataWhereInput[]
19402
+ id?: StringFilter<"PandadocMetadata"> | string
19403
+ }
19404
+
19300
19405
  export type NestedEnumContractStatusWithAggregatesFilter<$PrismaModel = never> = {
19301
19406
  equals?: $Enums.ContractStatus | EnumContractStatusFieldRefInput<$PrismaModel>
19302
19407
  in?: $Enums.ContractStatus[] | ListEnumContractStatusFieldRefInput<$PrismaModel>
@@ -20386,6 +20491,10 @@ export namespace Prisma {
20386
20491
  where: ContractPartyWhereInput
20387
20492
  }
20388
20493
 
20494
+ export type PandadocMetadataUpdateInput = {
20495
+ id?: StringFieldUpdateOperationsInput | string
20496
+ }
20497
+
20389
20498
  export type MissionUpsertWithoutContractsInput = {
20390
20499
  update: XOR<MissionUpdateWithoutContractsInput, MissionUncheckedUpdateWithoutContractsInput>
20391
20500
  create: XOR<MissionCreateWithoutContractsInput, MissionUncheckedCreateWithoutContractsInput>
@@ -20723,6 +20832,7 @@ export namespace Prisma {
20723
20832
  parties?: XOR<ContractPartyListCreateEnvelopeInput, ContractPartyCreateInput> | ContractPartyCreateInput[]
20724
20833
  role?: string | null
20725
20834
  custom?: boolean | null
20835
+ pandadocMetadata: XOR<PandadocMetadataCreateEnvelopeInput, PandadocMetadataCreateInput>
20726
20836
  }
20727
20837
 
20728
20838
  export type ContractUncheckedCreateWithoutMissionInput = {
@@ -20735,6 +20845,7 @@ export namespace Prisma {
20735
20845
  parties?: XOR<ContractPartyListCreateEnvelopeInput, ContractPartyCreateInput> | ContractPartyCreateInput[]
20736
20846
  role?: string | null
20737
20847
  custom?: boolean | null
20848
+ pandadocMetadata: XOR<PandadocMetadataCreateEnvelopeInput, PandadocMetadataCreateInput>
20738
20849
  }
20739
20850
 
20740
20851
  export type ContractCreateOrConnectWithoutMissionInput = {
@@ -22624,6 +22735,7 @@ export namespace Prisma {
22624
22735
  parties?: XOR<ContractPartyListCreateEnvelopeInput, ContractPartyCreateInput> | ContractPartyCreateInput[]
22625
22736
  role?: string | null
22626
22737
  custom?: boolean | null
22738
+ pandadocMetadata: XOR<PandadocMetadataCreateEnvelopeInput, PandadocMetadataCreateInput>
22627
22739
  }
22628
22740
 
22629
22741
  export type MissionsAttachedLinkUpdateInput = {
@@ -22703,6 +22815,7 @@ export namespace Prisma {
22703
22815
  parties?: XOR<ContractPartyListUpdateEnvelopeInput, ContractPartyCreateInput> | ContractPartyCreateInput[]
22704
22816
  role?: NullableStringFieldUpdateOperationsInput | string | null
22705
22817
  custom?: NullableBoolFieldUpdateOperationsInput | boolean | null
22818
+ pandadocMetadata?: XOR<PandadocMetadataUpdateEnvelopeInput, PandadocMetadataCreateInput>
22706
22819
  }
22707
22820
 
22708
22821
  export type ContractUncheckedUpdateWithoutMissionInput = {
@@ -22714,6 +22827,7 @@ export namespace Prisma {
22714
22827
  parties?: XOR<ContractPartyListUpdateEnvelopeInput, ContractPartyCreateInput> | ContractPartyCreateInput[]
22715
22828
  role?: NullableStringFieldUpdateOperationsInput | string | null
22716
22829
  custom?: NullableBoolFieldUpdateOperationsInput | boolean | null
22830
+ pandadocMetadata?: XOR<PandadocMetadataUpdateEnvelopeInput, PandadocMetadataCreateInput>
22717
22831
  }
22718
22832
 
22719
22833
  export type ContractUncheckedUpdateManyWithoutMissionInput = {
@@ -22725,6 +22839,7 @@ export namespace Prisma {
22725
22839
  parties?: XOR<ContractPartyListUpdateEnvelopeInput, ContractPartyCreateInput> | ContractPartyCreateInput[]
22726
22840
  role?: NullableStringFieldUpdateOperationsInput | string | null
22727
22841
  custom?: NullableBoolFieldUpdateOperationsInput | boolean | null
22842
+ pandadocMetadata?: XOR<PandadocMetadataUpdateEnvelopeInput, PandadocMetadataCreateInput>
22728
22843
  }
22729
22844
 
22730
22845
  export type AttachedLinkUpdateInput = {
@@ -23803,6 +23918,10 @@ export namespace Prisma {
23803
23918
  * @deprecated Use ContractPartyDefaultArgs instead
23804
23919
  */
23805
23920
  export type ContractPartyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ContractPartyDefaultArgs<ExtArgs>
23921
+ /**
23922
+ * @deprecated Use PandadocMetadataDefaultArgs instead
23923
+ */
23924
+ export type PandadocMetadataArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = PandadocMetadataDefaultArgs<ExtArgs>
23806
23925
  /**
23807
23926
  * @deprecated Use MissionRoleAvailabilityDefaultArgs instead
23808
23927
  */