@creator.co/creatorco-prisma-client 1.0.47-alpha-15ad3c3 → 1.0.47-alpha-e6ce134
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 +6 -7
- package/index-browser.js +2 -3
- package/index.d.ts +147 -142
- package/index.js +6 -7
- package/package.json +1 -1
- package/schema.prisma +5 -5
- package/wasm.js +2 -3
package/package.json
CHANGED
package/schema.prisma
CHANGED
|
@@ -781,7 +781,7 @@ model OptIn {
|
|
|
781
781
|
ExternalAffiliateClick ExternalAffiliateClick[]
|
|
782
782
|
ImpactRadiusEvent ImpactRadiusEvent[]
|
|
783
783
|
ShareASaleEvents ShareASaleEvent[]
|
|
784
|
-
|
|
784
|
+
shopifyDiscountCodes ShopifyDiscountCode[]
|
|
785
785
|
|
|
786
786
|
@@index([userId])
|
|
787
787
|
@@index([campaignId])
|
|
@@ -1461,10 +1461,10 @@ model CampaignToShopifyProduct {
|
|
|
1461
1461
|
}
|
|
1462
1462
|
|
|
1463
1463
|
model ShopifyDiscountCode {
|
|
1464
|
-
id
|
|
1465
|
-
code
|
|
1466
|
-
|
|
1467
|
-
shopifyPriceRuleId
|
|
1464
|
+
id Int @id @default(autoincrement())
|
|
1465
|
+
code String @unique
|
|
1466
|
+
shopifyDiscountCodeId Int? @unique @map("shopify_discount_code_id")
|
|
1467
|
+
shopifyPriceRuleId Int? @map("price_rule_id")
|
|
1468
1468
|
|
|
1469
1469
|
optInId Int @map("optin_id")
|
|
1470
1470
|
|
package/wasm.js
CHANGED
|
@@ -984,7 +984,7 @@ exports.Prisma.CampaignToShopifyProductScalarFieldEnum = {
|
|
|
984
984
|
exports.Prisma.ShopifyDiscountCodeScalarFieldEnum = {
|
|
985
985
|
id: 'id',
|
|
986
986
|
code: 'code',
|
|
987
|
-
|
|
987
|
+
shopifyDiscountCodeId: 'shopifyDiscountCodeId',
|
|
988
988
|
shopifyPriceRuleId: 'shopifyPriceRuleId',
|
|
989
989
|
optInId: 'optInId'
|
|
990
990
|
};
|
|
@@ -1380,8 +1380,7 @@ exports.Prisma.ShopifyProductVariationOrderByRelevanceFieldEnum = {
|
|
|
1380
1380
|
};
|
|
1381
1381
|
|
|
1382
1382
|
exports.Prisma.ShopifyDiscountCodeOrderByRelevanceFieldEnum = {
|
|
1383
|
-
code: 'code'
|
|
1384
|
-
shopifyPriceRuleId: 'shopifyPriceRuleId'
|
|
1383
|
+
code: 'code'
|
|
1385
1384
|
};
|
|
1386
1385
|
exports.trolleyPaymentType = exports.$Enums.trolleyPaymentType = {
|
|
1387
1386
|
optIn: 'optIn',
|