@creator.co/creatorco-prisma-client 1.0.58 → 1.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -79,7 +79,7 @@
79
79
  },
80
80
  "./*": "./*"
81
81
  },
82
- "version": "1.0.58",
82
+ "version": "1.0.59",
83
83
  "sideEffects": false,
84
84
  "description": "Prisma client for creatorco Database"
85
85
  }
package/schema.prisma CHANGED
@@ -328,31 +328,32 @@ model Brand {
328
328
  affiliateCommission Float?
329
329
  extraData Json @default("{}")
330
330
 
331
- specialistId Int?
332
- dedicatedSpecialist User? @relation(fields: [specialistId], references: [id])
333
- instagramProfile InstagramProfile?
334
- youtubeProfile YoutubeProfile?
335
- tiktokProfile TiktokProfile?
336
- campaigns Campaign[]
337
- brandUsers BrandUserProfile[]
338
- searchContacts SearchContacts[]
339
- reportCredits ReportCredits[]
340
- categories BrandToCategory[]
341
- paymentTransactions PaymentTransaction[]
342
- savedfiles SavedFile[]
343
- creatorLists CreatorList[]
344
- affiliateLinks BrandAffiliateLink[]
345
- messageTemplate MessageTemplate[]
346
- emailTemplates EmailTemplate[]
347
- socialListeningLists SocialListeningList[]
348
- campaignInvites CampaignInvite[]
349
- images BrandToImage[]
350
- creatorsearchfilter CreatorSearchFilter[]
351
- sequences Sequence[]
352
- impactRadiusEvents ImpactRadiusEvent[]
353
- cjEvents CjEvent[]
354
- shopifyStores ShopifyStore[]
355
- productLists ProductList[]
331
+ specialistId Int?
332
+ dedicatedSpecialist User? @relation(fields: [specialistId], references: [id])
333
+ instagramProfile InstagramProfile?
334
+ youtubeProfile YoutubeProfile?
335
+ tiktokProfile TiktokProfile?
336
+ campaigns Campaign[]
337
+ brandUsers BrandUserProfile[]
338
+ searchContacts SearchContacts[]
339
+ reportCredits ReportCredits[]
340
+ categories BrandToCategory[]
341
+ paymentTransactions PaymentTransaction[]
342
+ PendingBrandInvoicePayments PendingBrandInvoicePayment[]
343
+ savedfiles SavedFile[]
344
+ creatorLists CreatorList[]
345
+ affiliateLinks BrandAffiliateLink[]
346
+ messageTemplate MessageTemplate[]
347
+ emailTemplates EmailTemplate[]
348
+ socialListeningLists SocialListeningList[]
349
+ campaignInvites CampaignInvite[]
350
+ images BrandToImage[]
351
+ creatorsearchfilter CreatorSearchFilter[]
352
+ sequences Sequence[]
353
+ impactRadiusEvents ImpactRadiusEvent[]
354
+ cjEvents CjEvent[]
355
+ shopifyStores ShopifyStore[]
356
+ productLists ProductList[]
356
357
 
357
358
  // for agencies
358
359
  parentBrandId Int?
@@ -1002,6 +1003,20 @@ model State {
1002
1003
  @@map("state")
1003
1004
  }
1004
1005
 
1006
+ model PendingBrandInvoicePayment {
1007
+ id Int @id @default(autoincrement())
1008
+ invoiceId String
1009
+ type String
1010
+ source String
1011
+ brandId Int?
1012
+ status String
1013
+
1014
+ brand Brand? @relation(fields: [brandId], references: [id])
1015
+
1016
+ createdAt DateTime @default(now())
1017
+ updatedAt DateTime @updatedAt
1018
+ }
1019
+
1005
1020
  model PaymentTransaction {
1006
1021
  id Int @id @default(autoincrement())
1007
1022
  amount Float
package/wasm.js CHANGED
@@ -693,6 +693,17 @@ exports.Prisma.StateScalarFieldEnum = {
693
693
  stateName: 'stateName'
694
694
  };
695
695
 
696
+ exports.Prisma.PendingBrandInvoicePaymentScalarFieldEnum = {
697
+ id: 'id',
698
+ invoiceId: 'invoiceId',
699
+ type: 'type',
700
+ source: 'source',
701
+ brandId: 'brandId',
702
+ status: 'status',
703
+ createdAt: 'createdAt',
704
+ updatedAt: 'updatedAt'
705
+ };
706
+
696
707
  exports.Prisma.PaymentTransactionScalarFieldEnum = {
697
708
  id: 'id',
698
709
  amount: 'amount',
@@ -1311,6 +1322,13 @@ exports.Prisma.StateOrderByRelevanceFieldEnum = {
1311
1322
  stateName: 'stateName'
1312
1323
  };
1313
1324
 
1325
+ exports.Prisma.PendingBrandInvoicePaymentOrderByRelevanceFieldEnum = {
1326
+ invoiceId: 'invoiceId',
1327
+ type: 'type',
1328
+ source: 'source',
1329
+ status: 'status'
1330
+ };
1331
+
1314
1332
  exports.Prisma.PaymentTransactionOrderByRelevanceFieldEnum = {
1315
1333
  type: 'type',
1316
1334
  notes: 'notes'
@@ -1521,6 +1539,7 @@ exports.Prisma.ModelName = {
1521
1539
  BrandImage: 'BrandImage',
1522
1540
  Country: 'Country',
1523
1541
  State: 'State',
1542
+ PendingBrandInvoicePayment: 'PendingBrandInvoicePayment',
1524
1543
  PaymentTransaction: 'PaymentTransaction',
1525
1544
  ExternalAffiliateClick: 'ExternalAffiliateClick',
1526
1545
  BrandAffiliateLink: 'BrandAffiliateLink',