@creator.co/creatorco-prisma-client 1.0.21 → 1.0.22-alpha-c4b16cb

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/index-browser.js CHANGED
@@ -7,7 +7,7 @@ const {
7
7
  makeStrictEnum,
8
8
  Public,
9
9
  detectRuntime,
10
- } = require('./runtime/index-browser')
10
+ } = require('./runtime/index-browser.js')
11
11
 
12
12
 
13
13
  const Prisma = {}
@@ -16,37 +16,37 @@ exports.Prisma = Prisma
16
16
  exports.$Enums = {}
17
17
 
18
18
  /**
19
- * Prisma Client JS version: 5.6.0
20
- * Query Engine version: e95e739751f42d8ca026f6b910f5a2dc5adeaeee
19
+ * Prisma Client JS version: 5.9.1
20
+ * Query Engine version: 23fdc5965b1e05fc54e5f26ed3de66776b93de64
21
21
  */
22
22
  Prisma.prismaVersion = {
23
- client: "5.6.0",
24
- engine: "e95e739751f42d8ca026f6b910f5a2dc5adeaeee"
23
+ client: "5.9.1",
24
+ engine: "23fdc5965b1e05fc54e5f26ed3de66776b93de64"
25
25
  }
26
26
 
27
27
  Prisma.PrismaClientKnownRequestError = () => {
28
28
  throw new Error(`PrismaClientKnownRequestError is unable to be run ${runtimeDescription}.
29
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
29
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
30
30
  )};
31
31
  Prisma.PrismaClientUnknownRequestError = () => {
32
32
  throw new Error(`PrismaClientUnknownRequestError is unable to be run ${runtimeDescription}.
33
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
33
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
34
34
  )}
35
35
  Prisma.PrismaClientRustPanicError = () => {
36
36
  throw new Error(`PrismaClientRustPanicError is unable to be run ${runtimeDescription}.
37
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
37
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
38
38
  )}
39
39
  Prisma.PrismaClientInitializationError = () => {
40
40
  throw new Error(`PrismaClientInitializationError is unable to be run ${runtimeDescription}.
41
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
41
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
42
42
  )}
43
43
  Prisma.PrismaClientValidationError = () => {
44
44
  throw new Error(`PrismaClientValidationError is unable to be run ${runtimeDescription}.
45
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
45
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
46
46
  )}
47
47
  Prisma.NotFoundError = () => {
48
48
  throw new Error(`NotFoundError is unable to be run ${runtimeDescription}.
49
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
49
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
50
50
  )}
51
51
  Prisma.Decimal = Decimal
52
52
 
@@ -55,19 +55,19 @@ Prisma.Decimal = Decimal
55
55
  */
56
56
  Prisma.sql = () => {
57
57
  throw new Error(`sqltag is unable to be run ${runtimeDescription}.
58
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
58
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
59
59
  )}
60
60
  Prisma.empty = () => {
61
61
  throw new Error(`empty is unable to be run ${runtimeDescription}.
62
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
62
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
63
63
  )}
64
64
  Prisma.join = () => {
65
65
  throw new Error(`join is unable to be run ${runtimeDescription}.
66
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
66
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
67
67
  )}
68
68
  Prisma.raw = () => {
69
69
  throw new Error(`raw is unable to be run ${runtimeDescription}.
70
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
70
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
71
71
  )}
72
72
  Prisma.validator = Public.validator
73
73
 
@@ -76,11 +76,11 @@ Prisma.validator = Public.validator
76
76
  */
77
77
  Prisma.getExtensionContext = () => {
78
78
  throw new Error(`Extensions.getExtensionContext is unable to be run ${runtimeDescription}.
79
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
79
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
80
80
  )}
81
81
  Prisma.defineExtension = () => {
82
82
  throw new Error(`Extensions.defineExtension is unable to be run ${runtimeDescription}.
83
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
83
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
84
84
  )}
85
85
 
86
86
  /**
@@ -836,6 +836,32 @@ exports.Prisma.SequenceImapCheckpointScalarFieldEnum = {
836
836
  updatedAt: 'updatedAt'
837
837
  };
838
838
 
839
+ exports.Prisma.ShopifyStoreScalarFieldEnum = {
840
+ id: 'id',
841
+ shopifyId: 'shopifyId',
842
+ name: 'name',
843
+ url: 'url',
844
+ accessToken: 'accessToken',
845
+ metaData: 'metaData',
846
+ brandId: 'brandId'
847
+ };
848
+
849
+ exports.Prisma.ShopifyProductScalarFieldEnum = {
850
+ id: 'id',
851
+ shopifyId: 'shopifyId',
852
+ title: 'title',
853
+ handle: 'handle',
854
+ imageUrl: 'imageUrl',
855
+ metaData: 'metaData',
856
+ lastSynced: 'lastSynced',
857
+ shopifyStoreId: 'shopifyStoreId'
858
+ };
859
+
860
+ exports.Prisma.CampaignToShopifyProductScalarFieldEnum = {
861
+ campaignId: 'campaignId',
862
+ shopifyProductId: 'shopifyProductId'
863
+ };
864
+
839
865
  exports.Prisma.SortOrder = {
840
866
  asc: 'asc',
841
867
  desc: 'desc'
@@ -1162,6 +1188,20 @@ exports.Prisma.SequenceOrderByRelevanceFieldEnum = {
1162
1188
  exports.Prisma.SequenceInboundEmailOrderByRelevanceFieldEnum = {
1163
1189
  msgHash: 'msgHash'
1164
1190
  };
1191
+
1192
+ exports.Prisma.ShopifyStoreOrderByRelevanceFieldEnum = {
1193
+ shopifyId: 'shopifyId',
1194
+ name: 'name',
1195
+ url: 'url',
1196
+ accessToken: 'accessToken'
1197
+ };
1198
+
1199
+ exports.Prisma.ShopifyProductOrderByRelevanceFieldEnum = {
1200
+ shopifyId: 'shopifyId',
1201
+ title: 'title',
1202
+ handle: 'handle',
1203
+ imageUrl: 'imageUrl'
1204
+ };
1165
1205
  exports.trolleyPaymentType = exports.$Enums.trolleyPaymentType = {
1166
1206
  optIn: 'optIn',
1167
1207
  tip: 'tip',
@@ -1236,7 +1276,10 @@ exports.Prisma.ModelName = {
1236
1276
  SequenceStep: 'SequenceStep',
1237
1277
  SequenceOutboundEmail: 'SequenceOutboundEmail',
1238
1278
  SequenceInboundEmail: 'SequenceInboundEmail',
1239
- SequenceImapCheckpoint: 'SequenceImapCheckpoint'
1279
+ SequenceImapCheckpoint: 'SequenceImapCheckpoint',
1280
+ ShopifyStore: 'ShopifyStore',
1281
+ ShopifyProduct: 'ShopifyProduct',
1282
+ CampaignToShopifyProduct: 'CampaignToShopifyProduct'
1240
1283
  };
1241
1284
 
1242
1285
  /**
@@ -1251,7 +1294,7 @@ class PrismaClient {
1251
1294
  'workerd': 'Cloudflare Workers',
1252
1295
  'deno': 'Deno and Deno Deploy',
1253
1296
  'netlify': 'Netlify Edge Functions',
1254
- 'edge-light': 'Vercel Edge Functions',
1297
+ 'edge-light': 'Vercel Edge Functions or Edge Middleware',
1255
1298
  }[runtime]
1256
1299
 
1257
1300
  let message = 'PrismaClient is unable to run in '
@@ -1262,7 +1305,7 @@ class PrismaClient {
1262
1305
  }
1263
1306
 
1264
1307
  message += `
1265
- If this is unexpected, please open an issue: https://github.com/prisma/prisma/issues`
1308
+ If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
1266
1309
 
1267
1310
  throw new Error(message)
1268
1311
  }