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
@@ -218,12 +218,10 @@ export const AlpacaAccount = {
218
218
  : { connectOrCreate: props.user.accounts.map((item) => ({
219
219
  where: {
220
220
  id: item.id !== undefined ? item.id : undefined,
221
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
221
222
  userId: item.userId !== undefined ? {
222
223
  equals: item.userId
223
224
  } : undefined,
224
- providerAccountId: item.providerAccountId !== undefined ? {
225
- equals: item.providerAccountId
226
- } : undefined,
227
225
  },
228
226
  create: {
229
227
  type: item.type !== undefined ? item.type : undefined,
@@ -712,12 +710,10 @@ export const AlpacaAccount = {
712
710
  } : { upsert: props.user.accounts.map((item) => ({
713
711
  where: {
714
712
  id: item.id !== undefined ? item.id : undefined,
713
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
715
714
  userId: item.userId !== undefined ? {
716
715
  equals: item.userId
717
716
  } : undefined,
718
- providerAccountId: item.providerAccountId !== undefined ? {
719
- equals: item.providerAccountId
720
- } : undefined,
721
717
  },
722
718
  update: {
723
719
  id: item.id !== undefined ? {
@@ -884,12 +880,10 @@ export const AlpacaAccount = {
884
880
  : { connectOrCreate: props.user.accounts.map((item) => ({
885
881
  where: {
886
882
  id: item.id !== undefined ? item.id : undefined,
883
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
887
884
  userId: item.userId !== undefined ? {
888
885
  equals: item.userId
889
886
  } : undefined,
890
- providerAccountId: item.providerAccountId !== undefined ? {
891
- equals: item.providerAccountId
892
- } : undefined,
893
887
  },
894
888
  create: {
895
889
  type: item.type !== undefined ? item.type : undefined,
@@ -1166,12 +1160,10 @@ export const AlpacaAccount = {
1166
1160
  : { connectOrCreate: props.user.accounts.map((item) => ({
1167
1161
  where: {
1168
1162
  id: item.id !== undefined ? item.id : undefined,
1163
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
1169
1164
  userId: item.userId !== undefined ? {
1170
1165
  equals: item.userId
1171
1166
  } : undefined,
1172
- providerAccountId: item.providerAccountId !== undefined ? {
1173
- equals: item.providerAccountId
1174
- } : undefined,
1175
1167
  },
1176
1168
  create: {
1177
1169
  type: item.type !== undefined ? item.type : undefined,
@@ -1480,12 +1472,10 @@ export const AlpacaAccount = {
1480
1472
  } : { upsert: props.user.accounts.map((item) => ({
1481
1473
  where: {
1482
1474
  id: item.id !== undefined ? item.id : undefined,
1475
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
1483
1476
  userId: item.userId !== undefined ? {
1484
1477
  equals: item.userId
1485
1478
  } : undefined,
1486
- providerAccountId: item.providerAccountId !== undefined ? {
1487
- equals: item.providerAccountId
1488
- } : undefined,
1489
1479
  },
1490
1480
  update: {
1491
1481
  id: item.id !== undefined ? {
@@ -1652,12 +1642,10 @@ export const AlpacaAccount = {
1652
1642
  : { connectOrCreate: props.user.accounts.map((item) => ({
1653
1643
  where: {
1654
1644
  id: item.id !== undefined ? item.id : undefined,
1645
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
1655
1646
  userId: item.userId !== undefined ? {
1656
1647
  equals: item.userId
1657
1648
  } : undefined,
1658
- providerAccountId: item.providerAccountId !== undefined ? {
1659
- equals: item.providerAccountId
1660
- } : undefined,
1661
1649
  },
1662
1650
  create: {
1663
1651
  type: item.type !== undefined ? item.type : undefined,
@@ -2063,12 +2051,10 @@ export const AlpacaAccount = {
2063
2051
  } : { upsert: prop.user.accounts.map((item) => ({
2064
2052
  where: {
2065
2053
  id: item.id !== undefined ? item.id : undefined,
2054
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
2066
2055
  userId: item.userId !== undefined ? {
2067
2056
  equals: item.userId
2068
2057
  } : undefined,
2069
- providerAccountId: item.providerAccountId !== undefined ? {
2070
- equals: item.providerAccountId
2071
- } : undefined,
2072
2058
  },
2073
2059
  update: {
2074
2060
  id: item.id !== undefined ? {
@@ -2235,12 +2221,10 @@ export const AlpacaAccount = {
2235
2221
  : { connectOrCreate: prop.user.accounts.map((item) => ({
2236
2222
  where: {
2237
2223
  id: item.id !== undefined ? item.id : undefined,
2224
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
2238
2225
  userId: item.userId !== undefined ? {
2239
2226
  equals: item.userId
2240
2227
  } : undefined,
2241
- providerAccountId: item.providerAccountId !== undefined ? {
2242
- equals: item.providerAccountId
2243
- } : undefined,
2244
2228
  },
2245
2229
  create: {
2246
2230
  type: item.type !== undefined ? item.type : undefined,
@@ -1 +1 @@
1
- {"version":3,"file":"Authenticator.d.ts","sourceRoot":"","sources":["../../src/Authenticator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,qDAAqD,CAAC;AACzG,OAAO,EAA4B,gBAAgB,EAAE,qBAAqB,EAAoB,MAAM,UAAU,CAAC;AAyH7G,eAAO,MAAM,aAAa;IAExB;;;;;OAKG;IAEH;;;;;;OAMG;kBACiB,iBAAiB,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,iBAAiB,CAAC;IA4Q5H;;;;;;OAMG;sBACqB,iBAAiB,EAAE,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IA8EvI;;;;;;OAMG;kBACiB,iB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