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.
- package/Account.cjs +4 -12
- package/Alert.cjs +11 -33
- package/Allocation.cjs +11 -33
- package/AlpacaAccount.cjs +8 -24
- package/Authenticator.cjs +8 -24
- package/Customer.cjs +8 -24
- package/Session.cjs +8 -24
- package/User.cjs +5 -15
- package/esm/Account.d.ts.map +1 -1
- package/esm/Account.js.map +1 -1
- package/esm/Account.mjs +4 -12
- package/esm/Alert.d.ts.map +1 -1
- package/esm/Alert.js.map +1 -1
- package/esm/Alert.mjs +11 -33
- package/esm/Allocation.d.ts.map +1 -1
- package/esm/Allocation.js.map +1 -1
- package/esm/Allocation.mjs +11 -33
- package/esm/AlpacaAccount.d.ts.map +1 -1
- package/esm/AlpacaAccount.js.map +1 -1
- package/esm/AlpacaAccount.mjs +8 -24
- package/esm/Authenticator.d.ts.map +1 -1
- package/esm/Authenticator.js.map +1 -1
- package/esm/Authenticator.mjs +8 -24
- package/esm/Customer.d.ts.map +1 -1
- package/esm/Customer.js.map +1 -1
- package/esm/Customer.mjs +8 -24
- package/esm/Session.d.ts.map +1 -1
- package/esm/Session.js.map +1 -1
- package/esm/Session.mjs +8 -24
- package/esm/User.d.ts.map +1 -1
- package/esm/User.js.map +1 -1
- package/esm/User.mjs +5 -15
- package/esm/generated/typegraphql-prisma/enhance.js.map +1 -1
- package/esm/generated/typegraphql-prisma/enhance.mjs +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.mjs +7 -7
- package/generated/typegraphql-prisma/enhance.cjs +1 -1
- package/generated/typegraphql-prisma/enhance.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.cjs +6 -6
- package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.js.map +1 -1
- package/package.json +1 -1
package/Customer.cjs
CHANGED
@@ -200,12 +200,10 @@ exports.Customer = {
|
|
200
200
|
: { connectOrCreate: item.accounts.map((item) => ({
|
201
201
|
where: {
|
202
202
|
id: item.id !== undefined ? item.id : undefined,
|
203
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
203
204
|
userId: item.userId !== undefined ? {
|
204
205
|
equals: item.userId
|
205
206
|
} : undefined,
|
206
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
207
|
-
equals: item.providerAccountId
|
208
|
-
} : undefined,
|
209
207
|
},
|
210
208
|
create: {
|
211
209
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -595,12 +593,10 @@ exports.Customer = {
|
|
595
593
|
} : { upsert: item.accounts.map((item) => ({
|
596
594
|
where: {
|
597
595
|
id: item.id !== undefined ? item.id : undefined,
|
596
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
598
597
|
userId: item.userId !== undefined ? {
|
599
598
|
equals: item.userId
|
600
599
|
} : undefined,
|
601
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
602
|
-
equals: item.providerAccountId
|
603
|
-
} : undefined,
|
604
600
|
},
|
605
601
|
update: {
|
606
602
|
id: item.id !== undefined ? {
|
@@ -953,12 +949,10 @@ exports.Customer = {
|
|
953
949
|
: { connectOrCreate: item.accounts.map((item) => ({
|
954
950
|
where: {
|
955
951
|
id: item.id !== undefined ? item.id : undefined,
|
952
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
956
953
|
userId: item.userId !== undefined ? {
|
957
954
|
equals: item.userId
|
958
955
|
} : undefined,
|
959
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
960
|
-
equals: item.providerAccountId
|
961
|
-
} : undefined,
|
962
956
|
},
|
963
957
|
create: {
|
964
958
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -1223,12 +1217,10 @@ exports.Customer = {
|
|
1223
1217
|
: { connectOrCreate: item.accounts.map((item) => ({
|
1224
1218
|
where: {
|
1225
1219
|
id: item.id !== undefined ? item.id : undefined,
|
1220
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1226
1221
|
userId: item.userId !== undefined ? {
|
1227
1222
|
equals: item.userId
|
1228
1223
|
} : undefined,
|
1229
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1230
|
-
equals: item.providerAccountId
|
1231
|
-
} : undefined,
|
1232
1224
|
},
|
1233
1225
|
create: {
|
1234
1226
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -1449,12 +1441,10 @@ exports.Customer = {
|
|
1449
1441
|
} : { upsert: item.accounts.map((item) => ({
|
1450
1442
|
where: {
|
1451
1443
|
id: item.id !== undefined ? item.id : undefined,
|
1444
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1452
1445
|
userId: item.userId !== undefined ? {
|
1453
1446
|
equals: item.userId
|
1454
1447
|
} : undefined,
|
1455
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1456
|
-
equals: item.providerAccountId
|
1457
|
-
} : undefined,
|
1458
1448
|
},
|
1459
1449
|
update: {
|
1460
1450
|
id: item.id !== undefined ? {
|
@@ -1807,12 +1797,10 @@ exports.Customer = {
|
|
1807
1797
|
: { connectOrCreate: item.accounts.map((item) => ({
|
1808
1798
|
where: {
|
1809
1799
|
id: item.id !== undefined ? item.id : undefined,
|
1800
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1810
1801
|
userId: item.userId !== undefined ? {
|
1811
1802
|
equals: item.userId
|
1812
1803
|
} : undefined,
|
1813
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1814
|
-
equals: item.providerAccountId
|
1815
|
-
} : undefined,
|
1816
1804
|
},
|
1817
1805
|
create: {
|
1818
1806
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -2123,12 +2111,10 @@ exports.Customer = {
|
|
2123
2111
|
} : { upsert: item.accounts.map((item) => ({
|
2124
2112
|
where: {
|
2125
2113
|
id: item.id !== undefined ? item.id : undefined,
|
2114
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
2126
2115
|
userId: item.userId !== undefined ? {
|
2127
2116
|
equals: item.userId
|
2128
2117
|
} : undefined,
|
2129
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
2130
|
-
equals: item.providerAccountId
|
2131
|
-
} : undefined,
|
2132
2118
|
},
|
2133
2119
|
update: {
|
2134
2120
|
id: item.id !== undefined ? {
|
@@ -2481,12 +2467,10 @@ exports.Customer = {
|
|
2481
2467
|
: { connectOrCreate: item.accounts.map((item) => ({
|
2482
2468
|
where: {
|
2483
2469
|
id: item.id !== undefined ? item.id : undefined,
|
2470
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
2484
2471
|
userId: item.userId !== undefined ? {
|
2485
2472
|
equals: item.userId
|
2486
2473
|
} : undefined,
|
2487
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
2488
|
-
equals: item.providerAccountId
|
2489
|
-
} : undefined,
|
2490
2474
|
},
|
2491
2475
|
create: {
|
2492
2476
|
type: item.type !== undefined ? item.type : undefined,
|
package/Session.cjs
CHANGED
@@ -181,12 +181,10 @@ exports.Session = {
|
|
181
181
|
: { connectOrCreate: props.user.accounts.map((item) => ({
|
182
182
|
where: {
|
183
183
|
id: item.id !== undefined ? item.id : undefined,
|
184
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
184
185
|
userId: item.userId !== undefined ? {
|
185
186
|
equals: item.userId
|
186
187
|
} : undefined,
|
187
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
188
|
-
equals: item.providerAccountId
|
189
|
-
} : undefined,
|
190
188
|
},
|
191
189
|
create: {
|
192
190
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -599,12 +597,10 @@ exports.Session = {
|
|
599
597
|
} : { upsert: props.user.accounts.map((item) => ({
|
600
598
|
where: {
|
601
599
|
id: item.id !== undefined ? item.id : undefined,
|
600
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
602
601
|
userId: item.userId !== undefined ? {
|
603
602
|
equals: item.userId
|
604
603
|
} : undefined,
|
605
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
606
|
-
equals: item.providerAccountId
|
607
|
-
} : undefined,
|
608
604
|
},
|
609
605
|
update: {
|
610
606
|
id: item.id !== undefined ? {
|
@@ -960,12 +956,10 @@ exports.Session = {
|
|
960
956
|
: { connectOrCreate: props.user.accounts.map((item) => ({
|
961
957
|
where: {
|
962
958
|
id: item.id !== undefined ? item.id : undefined,
|
959
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
963
960
|
userId: item.userId !== undefined ? {
|
964
961
|
equals: item.userId
|
965
962
|
} : undefined,
|
966
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
967
|
-
equals: item.providerAccountId
|
968
|
-
} : undefined,
|
969
963
|
},
|
970
964
|
create: {
|
971
965
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -1230,12 +1224,10 @@ exports.Session = {
|
|
1230
1224
|
: { connectOrCreate: props.user.accounts.map((item) => ({
|
1231
1225
|
where: {
|
1232
1226
|
id: item.id !== undefined ? item.id : undefined,
|
1227
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1233
1228
|
userId: item.userId !== undefined ? {
|
1234
1229
|
equals: item.userId
|
1235
1230
|
} : undefined,
|
1236
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1237
|
-
equals: item.providerAccountId
|
1238
|
-
} : undefined,
|
1239
1231
|
},
|
1240
1232
|
create: {
|
1241
1233
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -1488,12 +1480,10 @@ exports.Session = {
|
|
1488
1480
|
} : { upsert: props.user.accounts.map((item) => ({
|
1489
1481
|
where: {
|
1490
1482
|
id: item.id !== undefined ? item.id : undefined,
|
1483
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1491
1484
|
userId: item.userId !== undefined ? {
|
1492
1485
|
equals: item.userId
|
1493
1486
|
} : undefined,
|
1494
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1495
|
-
equals: item.providerAccountId
|
1496
|
-
} : undefined,
|
1497
1487
|
},
|
1498
1488
|
update: {
|
1499
1489
|
id: item.id !== undefined ? {
|
@@ -1849,12 +1839,10 @@ exports.Session = {
|
|
1849
1839
|
: { connectOrCreate: props.user.accounts.map((item) => ({
|
1850
1840
|
where: {
|
1851
1841
|
id: item.id !== undefined ? item.id : undefined,
|
1842
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1852
1843
|
userId: item.userId !== undefined ? {
|
1853
1844
|
equals: item.userId
|
1854
1845
|
} : undefined,
|
1855
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1856
|
-
equals: item.providerAccountId
|
1857
|
-
} : undefined,
|
1858
1846
|
},
|
1859
1847
|
create: {
|
1860
1848
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -2192,12 +2180,10 @@ exports.Session = {
|
|
2192
2180
|
} : { upsert: prop.user.accounts.map((item) => ({
|
2193
2181
|
where: {
|
2194
2182
|
id: item.id !== undefined ? item.id : undefined,
|
2183
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
2195
2184
|
userId: item.userId !== undefined ? {
|
2196
2185
|
equals: item.userId
|
2197
2186
|
} : undefined,
|
2198
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
2199
|
-
equals: item.providerAccountId
|
2200
|
-
} : undefined,
|
2201
2187
|
},
|
2202
2188
|
update: {
|
2203
2189
|
id: item.id !== undefined ? {
|
@@ -2553,12 +2539,10 @@ exports.Session = {
|
|
2553
2539
|
: { connectOrCreate: prop.user.accounts.map((item) => ({
|
2554
2540
|
where: {
|
2555
2541
|
id: item.id !== undefined ? item.id : undefined,
|
2542
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
2556
2543
|
userId: item.userId !== undefined ? {
|
2557
2544
|
equals: item.userId
|
2558
2545
|
} : undefined,
|
2559
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
2560
|
-
equals: item.providerAccountId
|
2561
|
-
} : undefined,
|
2562
2546
|
},
|
2563
2547
|
create: {
|
2564
2548
|
type: item.type !== undefined ? item.type : undefined,
|
package/User.cjs
CHANGED
@@ -210,12 +210,10 @@ exports.User = {
|
|
210
210
|
: { connectOrCreate: props.accounts.map((item) => ({
|
211
211
|
where: {
|
212
212
|
id: item.id !== undefined ? item.id : undefined,
|
213
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
213
214
|
userId: item.userId !== undefined ? {
|
214
215
|
equals: item.userId
|
215
216
|
} : undefined,
|
216
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
217
|
-
equals: item.providerAccountId
|
218
|
-
} : undefined,
|
219
217
|
},
|
220
218
|
create: {
|
221
219
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -623,12 +621,10 @@ exports.User = {
|
|
623
621
|
} : { upsert: props.accounts.map((item) => ({
|
624
622
|
where: {
|
625
623
|
id: item.id !== undefined ? item.id : undefined,
|
624
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
626
625
|
userId: item.userId !== undefined ? {
|
627
626
|
equals: item.userId
|
628
627
|
} : undefined,
|
629
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
630
|
-
equals: item.providerAccountId
|
631
|
-
} : undefined,
|
632
628
|
},
|
633
629
|
update: {
|
634
630
|
id: item.id !== undefined ? {
|
@@ -1090,12 +1086,10 @@ exports.User = {
|
|
1090
1086
|
: { connectOrCreate: props.accounts.map((item) => ({
|
1091
1087
|
where: {
|
1092
1088
|
id: item.id !== undefined ? item.id : undefined,
|
1089
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1093
1090
|
userId: item.userId !== undefined ? {
|
1094
1091
|
equals: item.userId
|
1095
1092
|
} : undefined,
|
1096
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1097
|
-
equals: item.providerAccountId
|
1098
|
-
} : undefined,
|
1099
1093
|
},
|
1100
1094
|
create: {
|
1101
1095
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -1333,12 +1327,10 @@ exports.User = {
|
|
1333
1327
|
} : { upsert: props.accounts.map((item) => ({
|
1334
1328
|
where: {
|
1335
1329
|
id: item.id !== undefined ? item.id : undefined,
|
1330
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1336
1331
|
userId: item.userId !== undefined ? {
|
1337
1332
|
equals: item.userId
|
1338
1333
|
} : undefined,
|
1339
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1340
|
-
equals: item.providerAccountId
|
1341
|
-
} : undefined,
|
1342
1334
|
},
|
1343
1335
|
update: {
|
1344
1336
|
id: item.id !== undefined ? {
|
@@ -1859,12 +1851,10 @@ exports.User = {
|
|
1859
1851
|
} : { upsert: prop.accounts.map((item) => ({
|
1860
1852
|
where: {
|
1861
1853
|
id: item.id !== undefined ? item.id : undefined,
|
1854
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1862
1855
|
userId: item.userId !== undefined ? {
|
1863
1856
|
equals: item.userId
|
1864
1857
|
} : undefined,
|
1865
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1866
|
-
equals: item.providerAccountId
|
1867
|
-
} : undefined,
|
1868
1858
|
},
|
1869
1859
|
update: {
|
1870
1860
|
id: item.id !== undefined ? {
|
package/esm/Account.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../src/Account.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAA4B,gBAAgB,EAAE,qBAAqB,EAAoB,MAAM,UAAU,CAAC;AAyH7G,eAAO,MAAM,OAAO;IAElB;;;;;OAKG;IAEH;;;;;;OAMG;kBACiB,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC;IAyQhH;;;;;;OAMG;sBACqB,WAAW,EAAE,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAqFjI;;;;;;OAMG;kBACiB,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC;
|
1
|
+
{"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../src/Account.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAA4B,gBAAgB,EAAE,qBAAqB,EAAoB,MAAM,UAAU,CAAC;AAyH7G,eAAO,MAAM,OAAO;IAElB;;;;;OAKG;IAEH;;;;;;OAMG;kBACiB,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC;IAyQhH;;;;;;OAMG;sBACqB,WAAW,EAAE,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAqFjI;;;;;;OAMG;kBACiB,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC;IA6qB9G;;;;;;OAMG;kBACiB,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC;IAm2B9G;;;;;;OAMG;sBACqB,WAAW,EAAE,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IA+qBjI;;;;;;OAMG;kBACiB,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC;IA2E9G;;;;;;;OAOG;eACc,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,eAAe,GAAG,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC;IA8EpI;;;;;OAKG;0BACyB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC;IAkEnG;;;;;;;OAOG;oBACmB,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,eAAe,GAAG,GAAG,OAAO,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC;CAsF5I,CAAC"}
|