@creator.co/creatorco-prisma-client 1.0.64 → 1.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/edge.js +11 -5
- package/index-browser.js +7 -1
- package/index.d.ts +213 -40
- package/index.js +11 -5
- package/package.json +1 -1
- package/schema.prisma +9 -2
- package/wasm.js +7 -1
package/package.json
CHANGED
package/schema.prisma
CHANGED
|
@@ -1623,14 +1623,21 @@ model BrandContract {
|
|
|
1623
1623
|
fileId String? @unique @map("file_id")
|
|
1624
1624
|
file File? @relation(fields: [fileId], references: [id])
|
|
1625
1625
|
|
|
1626
|
+
// Optional as we may have legacy data that may cause a break
|
|
1627
|
+
chargebeeSubscriptionId String? @map("chargebee_subscription_id")
|
|
1628
|
+
|
|
1626
1629
|
contractType String @map("contract_type")
|
|
1630
|
+
addOns String? @map("add_ons")
|
|
1627
1631
|
startDate DateTime @map("start_date")
|
|
1628
1632
|
endDate DateTime? @map("end_date")
|
|
1629
1633
|
|
|
1634
|
+
// Optional as we may have legacy data that may cause a break
|
|
1635
|
+
status String? @map("status")
|
|
1636
|
+
|
|
1630
1637
|
archivedAt DateTime? @map("archived_at")
|
|
1631
1638
|
|
|
1632
|
-
createdByUserId Int @map("created_by_user_id")
|
|
1633
|
-
createdByUser User @relation("UserCreatedContract", fields: [createdByUserId], references: [id])
|
|
1639
|
+
createdByUserId Int? @map("created_by_user_id")
|
|
1640
|
+
createdByUser User? @relation("UserCreatedContract", fields: [createdByUserId], references: [id])
|
|
1634
1641
|
|
|
1635
1642
|
editedByUserId Int? @map("edited_by_user_id")
|
|
1636
1643
|
editedByUser User? @relation("UserEditedContract", fields: [editedByUserId], references: [id])
|
package/wasm.js
CHANGED
|
@@ -1065,9 +1065,12 @@ exports.Prisma.BrandContractScalarFieldEnum = {
|
|
|
1065
1065
|
createdAt: 'createdAt',
|
|
1066
1066
|
updatedAt: 'updatedAt',
|
|
1067
1067
|
fileId: 'fileId',
|
|
1068
|
+
chargebeeSubscriptionId: 'chargebeeSubscriptionId',
|
|
1068
1069
|
contractType: 'contractType',
|
|
1070
|
+
addOns: 'addOns',
|
|
1069
1071
|
startDate: 'startDate',
|
|
1070
1072
|
endDate: 'endDate',
|
|
1073
|
+
status: 'status',
|
|
1071
1074
|
archivedAt: 'archivedAt',
|
|
1072
1075
|
createdByUserId: 'createdByUserId',
|
|
1073
1076
|
editedByUserId: 'editedByUserId'
|
|
@@ -1509,7 +1512,10 @@ exports.Prisma.CreatorFlagOrderByRelevanceFieldEnum = {
|
|
|
1509
1512
|
|
|
1510
1513
|
exports.Prisma.BrandContractOrderByRelevanceFieldEnum = {
|
|
1511
1514
|
fileId: 'fileId',
|
|
1512
|
-
|
|
1515
|
+
chargebeeSubscriptionId: 'chargebeeSubscriptionId',
|
|
1516
|
+
contractType: 'contractType',
|
|
1517
|
+
addOns: 'addOns',
|
|
1518
|
+
status: 'status'
|
|
1513
1519
|
};
|
|
1514
1520
|
|
|
1515
1521
|
exports.Prisma.FileOrderByRelevanceFieldEnum = {
|