adaptic-backend 1.0.341 → 1.0.343

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.
Files changed (45) hide show
  1. package/Account.cjs +4 -12
  2. package/Alert.cjs +11 -33
  3. package/Allocation.cjs +11 -33
  4. package/AlpacaAccount.cjs +8 -24
  5. package/Authenticator.cjs +8 -24
  6. package/Customer.cjs +8 -24
  7. package/Session.cjs +8 -24
  8. package/User.cjs +5 -15
  9. package/esm/Account.d.ts.map +1 -1
  10. package/esm/Account.js.map +1 -1
  11. package/esm/Account.mjs +4 -12
  12. package/esm/Alert.d.ts.map +1 -1
  13. package/esm/Alert.js.map +1 -1
  14. package/esm/Alert.mjs +11 -33
  15. package/esm/Allocation.d.ts.map +1 -1
  16. package/esm/Allocation.js.map +1 -1
  17. package/esm/Allocation.mjs +11 -33
  18. package/esm/AlpacaAccount.d.ts.map +1 -1
  19. package/esm/AlpacaAccount.js.map +1 -1
  20. package/esm/AlpacaAccount.mjs +8 -24
  21. package/esm/Authenticator.d.ts.map +1 -1
  22. package/esm/Authenticator.js.map +1 -1
  23. package/esm/Authenticator.mjs +8 -24
  24. package/esm/Customer.d.ts.map +1 -1
  25. package/esm/Customer.js.map +1 -1
  26. package/esm/Customer.mjs +8 -24
  27. package/esm/Session.d.ts.map +1 -1
  28. package/esm/Session.js.map +1 -1
  29. package/esm/Session.mjs +8 -24
  30. package/esm/User.d.ts.map +1 -1
  31. package/esm/User.js.map +1 -1
  32. package/esm/User.mjs +5 -15
  33. package/esm/generated/typegraphql-prisma/enhance.js.map +1 -1
  34. package/esm/generated/typegraphql-prisma/enhance.mjs +1 -1
  35. package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts +1 -1
  36. package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts.map +1 -1
  37. package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.js.map +1 -1
  38. package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.mjs +7 -7
  39. package/generated/typegraphql-prisma/enhance.cjs +1 -1
  40. package/generated/typegraphql-prisma/enhance.js.map +1 -1
  41. package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.cjs +6 -6
  42. package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts +1 -1
  43. package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts.map +1 -1
  44. package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.js.map +1 -1
  45. package/package.json +1 -1
@@ -224,12 +224,10 @@ export const Authenticator = {
224
224
  : { connectOrCreate: props.user.accounts.map((item) => ({
225
225
  where: {
226
226
  id: item.id !== undefined ? item.id : undefined,
227
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
227
228
  userId: item.userId !== undefined ? {
228
229
  equals: item.userId
229
230
  } : undefined,
230
- providerAccountId: item.providerAccountId !== undefined ? {
231
- equals: item.providerAccountId
232
- } : undefined,
233
231
  },
234
232
  create: {
235
233
  type: item.type !== undefined ? item.type : undefined,
@@ -643,12 +641,10 @@ export const Authenticator = {
643
641
  } : { upsert: props.user.accounts.map((item) => ({
644
642
  where: {
645
643
  id: item.id !== undefined ? item.id : undefined,
644
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
646
645
  userId: item.userId !== undefined ? {
647
646
  equals: item.userId
648
647
  } : undefined,
649
- providerAccountId: item.providerAccountId !== undefined ? {
650
- equals: item.providerAccountId
651
- } : undefined,
652
648
  },
653
649
  update: {
654
650
  id: item.id !== undefined ? {
@@ -1000,12 +996,10 @@ export const Authenticator = {
1000
996
  : { connectOrCreate: props.user.accounts.map((item) => ({
1001
997
  where: {
1002
998
  id: item.id !== undefined ? item.id : undefined,
999
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
1003
1000
  userId: item.userId !== undefined ? {
1004
1001
  equals: item.userId
1005
1002
  } : undefined,
1006
- providerAccountId: item.providerAccountId !== undefined ? {
1007
- equals: item.providerAccountId
1008
- } : undefined,
1009
1003
  },
1010
1004
  create: {
1011
1005
  type: item.type !== undefined ? item.type : undefined,
@@ -1269,12 +1263,10 @@ export const Authenticator = {
1269
1263
  : { connectOrCreate: props.user.accounts.map((item) => ({
1270
1264
  where: {
1271
1265
  id: item.id !== undefined ? item.id : undefined,
1266
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
1272
1267
  userId: item.userId !== undefined ? {
1273
1268
  equals: item.userId
1274
1269
  } : undefined,
1275
- providerAccountId: item.providerAccountId !== undefined ? {
1276
- equals: item.providerAccountId
1277
- } : undefined,
1278
1270
  },
1279
1271
  create: {
1280
1272
  type: item.type !== undefined ? item.type : undefined,
@@ -1529,12 +1521,10 @@ export const Authenticator = {
1529
1521
  } : { upsert: props.user.accounts.map((item) => ({
1530
1522
  where: {
1531
1523
  id: item.id !== undefined ? item.id : undefined,
1524
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
1532
1525
  userId: item.userId !== undefined ? {
1533
1526
  equals: item.userId
1534
1527
  } : undefined,
1535
- providerAccountId: item.providerAccountId !== undefined ? {
1536
- equals: item.providerAccountId
1537
- } : undefined,
1538
1528
  },
1539
1529
  update: {
1540
1530
  id: item.id !== undefined ? {
@@ -1886,12 +1876,10 @@ export const Authenticator = {
1886
1876
  : { connectOrCreate: props.user.accounts.map((item) => ({
1887
1877
  where: {
1888
1878
  id: item.id !== undefined ? item.id : undefined,
1879
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
1889
1880
  userId: item.userId !== undefined ? {
1890
1881
  equals: item.userId
1891
1882
  } : undefined,
1892
- providerAccountId: item.providerAccountId !== undefined ? {
1893
- equals: item.providerAccountId
1894
- } : undefined,
1895
1883
  },
1896
1884
  create: {
1897
1885
  type: item.type !== undefined ? item.type : undefined,
@@ -2230,12 +2218,10 @@ export const Authenticator = {
2230
2218
  } : { upsert: prop.user.accounts.map((item) => ({
2231
2219
  where: {
2232
2220
  id: item.id !== undefined ? item.id : undefined,
2221
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
2233
2222
  userId: item.userId !== undefined ? {
2234
2223
  equals: item.userId
2235
2224
  } : undefined,
2236
- providerAccountId: item.providerAccountId !== undefined ? {
2237
- equals: item.providerAccountId
2238
- } : undefined,
2239
2225
  },
2240
2226
  update: {
2241
2227
  id: item.id !== undefined ? {
@@ -2587,12 +2573,10 @@ export const Authenticator = {
2587
2573
  : { connectOrCreate: prop.user.accounts.map((item) => ({
2588
2574
  where: {
2589
2575
  id: item.id !== undefined ? item.id : undefined,
2576
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
2590
2577
  userId: item.userId !== undefined ? {
2591
2578
  equals: item.userId
2592
2579
  } : undefined,
2593
- providerAccountId: item.providerAccountId !== undefined ? {
2594
- equals: item.providerAccountId
2595
- } : undefined,
2596
2580
  },
2597
2581
  create: {
2598
2582
  type: item.type !== undefined ? item.type : undefined,
@@ -1 +1 @@
1
- {"version":3,"file":"Customer.d.ts","sourceRoot":"","sources":["../../src/Customer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EAA4B,gBAAgB,EAAE,qBAAqB,EAAoB,MAAM,UAAU,CAAC;AAyH7G,eAAO,MAAM,QAAQ;IAEnB;;;;;OAKG;IAEH;;;;;;OAMG;kBACiB,YAAY,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC;IAoQlH;;;;;;OAMG;sBACqB,YAAY,EAAE,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAiFlI;;;;;;OAMG;kBACiB,YAAY,iBAAiB,gBAA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