adaptic-backend 1.0.342 → 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 (69) hide show
  1. package/Account.cjs +14 -150
  2. package/Action.cjs +12 -90
  3. package/Alert.cjs +12 -60
  4. package/Allocation.cjs +4 -75
  5. package/AlpacaAccount.cjs +12 -300
  6. package/Asset.cjs +50 -839
  7. package/Authenticator.cjs +12 -63
  8. package/Customer.cjs +38 -62
  9. package/EconomicEvent.cjs +12 -75
  10. package/MarketSentiment.cjs +2 -75
  11. package/NewsArticle.cjs +14 -195
  12. package/NewsArticleAssetSentiment.cjs +14 -45
  13. package/ScheduledOptionOrder.cjs +2 -15
  14. package/Session.cjs +12 -48
  15. package/Trade.cjs +22 -210
  16. package/User.cjs +14 -165
  17. package/VerificationToken.cjs +2 -33
  18. package/esm/Account.d.ts.map +1 -1
  19. package/esm/Account.js.map +1 -1
  20. package/esm/Account.mjs +14 -150
  21. package/esm/Action.d.ts.map +1 -1
  22. package/esm/Action.js.map +1 -1
  23. package/esm/Action.mjs +12 -90
  24. package/esm/Alert.d.ts.map +1 -1
  25. package/esm/Alert.js.map +1 -1
  26. package/esm/Alert.mjs +12 -60
  27. package/esm/Allocation.d.ts.map +1 -1
  28. package/esm/Allocation.js.map +1 -1
  29. package/esm/Allocation.mjs +4 -75
  30. package/esm/AlpacaAccount.d.ts.map +1 -1
  31. package/esm/AlpacaAccount.js.map +1 -1
  32. package/esm/AlpacaAccount.mjs +12 -300
  33. package/esm/Asset.d.ts.map +1 -1
  34. package/esm/Asset.js.map +1 -1
  35. package/esm/Asset.mjs +50 -839
  36. package/esm/Authenticator.d.ts.map +1 -1
  37. package/esm/Authenticator.js.map +1 -1
  38. package/esm/Authenticator.mjs +12 -63
  39. package/esm/Customer.d.ts.map +1 -1
  40. package/esm/Customer.js.map +1 -1
  41. package/esm/Customer.mjs +38 -62
  42. package/esm/EconomicEvent.d.ts.map +1 -1
  43. package/esm/EconomicEvent.js.map +1 -1
  44. package/esm/EconomicEvent.mjs +12 -75
  45. package/esm/MarketSentiment.d.ts.map +1 -1
  46. package/esm/MarketSentiment.js.map +1 -1
  47. package/esm/MarketSentiment.mjs +2 -75
  48. package/esm/NewsArticle.d.ts.map +1 -1
  49. package/esm/NewsArticle.js.map +1 -1
  50. package/esm/NewsArticle.mjs +14 -195
  51. package/esm/NewsArticleAssetSentiment.d.ts.map +1 -1
  52. package/esm/NewsArticleAssetSentiment.js.map +1 -1
  53. package/esm/NewsArticleAssetSentiment.mjs +14 -45
  54. package/esm/ScheduledOptionOrder.d.ts.map +1 -1
  55. package/esm/ScheduledOptionOrder.js.map +1 -1
  56. package/esm/ScheduledOptionOrder.mjs +2 -15
  57. package/esm/Session.d.ts.map +1 -1
  58. package/esm/Session.js.map +1 -1
  59. package/esm/Session.mjs +12 -48
  60. package/esm/Trade.d.ts.map +1 -1
  61. package/esm/Trade.js.map +1 -1
  62. package/esm/Trade.mjs +22 -210
  63. package/esm/User.d.ts.map +1 -1
  64. package/esm/User.js.map +1 -1
  65. package/esm/User.mjs +14 -165
  66. package/esm/VerificationToken.d.ts.map +1 -1
  67. package/esm/VerificationToken.js.map +1 -1
  68. package/esm/VerificationToken.mjs +2 -33
  69. package/package.json +1 -1
@@ -401,45 +401,8 @@ export const NewsArticle = {
401
401
  where: {
402
402
  id: props.id !== undefined ? props.id : undefined,
403
403
  url: props.url !== undefined ? props.url : undefined,
404
- title: props.title !== undefined ? props.title : undefined,
405
- content: props.content !== undefined ? {
406
- equals: props.content
407
- } : undefined,
408
- source: props.source !== undefined ? {
409
- equals: props.source
410
- } : undefined,
411
- sourceDomain: props.sourceDomain !== undefined ? {
412
- equals: props.sourceDomain
413
- } : undefined,
414
- sentiment: props.sentiment !== undefined ? {
415
- equals: props.sentiment
416
- } : undefined,
417
- authors: props.authors !== undefined ? {
418
- equals: props.authors
419
- } : undefined,
420
- summary: props.summary !== undefined ? {
421
- equals: props.summary
422
- } : undefined,
423
- bannerImage: props.bannerImage !== undefined ? {
424
- equals: props.bannerImage
425
- } : undefined,
426
- timePublished: props.timePublished !== undefined ? {
427
- equals: props.timePublished
428
- } : undefined,
429
- category: props.category !== undefined ? {
430
- equals: props.category
431
- } : undefined,
432
- topics: props.topics !== undefined ? {
433
- equals: props.topics
434
- } : undefined,
435
- logo: props.logo !== undefined ? {
436
- equals: props.logo
437
- } : undefined,
438
- createdAt: props.createdAt !== undefined ? {
439
- equals: props.createdAt
440
- } : undefined,
441
- updatedAt: props.updatedAt !== undefined ? {
442
- equals: props.updatedAt
404
+ title: props.title !== undefined ? {
405
+ equals: props.title
443
406
  } : undefined,
444
407
  },
445
408
  data: {
@@ -923,45 +886,8 @@ export const NewsArticle = {
923
886
  where: {
924
887
  id: props.id !== undefined ? props.id : undefined,
925
888
  url: props.url !== undefined ? props.url : undefined,
926
- title: props.title !== undefined ? props.title : undefined,
927
- content: props.content !== undefined ? {
928
- equals: props.content
929
- } : undefined,
930
- source: props.source !== undefined ? {
931
- equals: props.source
932
- } : undefined,
933
- sourceDomain: props.sourceDomain !== undefined ? {
934
- equals: props.sourceDomain
935
- } : undefined,
936
- sentiment: props.sentiment !== undefined ? {
937
- equals: props.sentiment
938
- } : undefined,
939
- authors: props.authors !== undefined ? {
940
- equals: props.authors
941
- } : undefined,
942
- summary: props.summary !== undefined ? {
943
- equals: props.summary
944
- } : undefined,
945
- bannerImage: props.bannerImage !== undefined ? {
946
- equals: props.bannerImage
947
- } : undefined,
948
- timePublished: props.timePublished !== undefined ? {
949
- equals: props.timePublished
950
- } : undefined,
951
- category: props.category !== undefined ? {
952
- equals: props.category
953
- } : undefined,
954
- topics: props.topics !== undefined ? {
955
- equals: props.topics
956
- } : undefined,
957
- logo: props.logo !== undefined ? {
958
- equals: props.logo
959
- } : undefined,
960
- createdAt: props.createdAt !== undefined ? {
961
- equals: props.createdAt
962
- } : undefined,
963
- updatedAt: props.updatedAt !== undefined ? {
964
- equals: props.updatedAt
889
+ title: props.title !== undefined ? {
890
+ equals: props.title
965
891
  } : undefined,
966
892
  },
967
893
  create: {
@@ -1548,45 +1474,8 @@ export const NewsArticle = {
1548
1474
  where: {
1549
1475
  id: prop.id !== undefined ? prop.id : undefined,
1550
1476
  url: prop.url !== undefined ? prop.url : undefined,
1551
- title: prop.title !== undefined ? prop.title : undefined,
1552
- content: prop.content !== undefined ? {
1553
- equals: prop.content
1554
- } : undefined,
1555
- source: prop.source !== undefined ? {
1556
- equals: prop.source
1557
- } : undefined,
1558
- sourceDomain: prop.sourceDomain !== undefined ? {
1559
- equals: prop.sourceDomain
1560
- } : undefined,
1561
- sentiment: prop.sentiment !== undefined ? {
1562
- equals: prop.sentiment
1563
- } : undefined,
1564
- authors: prop.authors !== undefined ? {
1565
- equals: prop.authors
1566
- } : undefined,
1567
- summary: prop.summary !== undefined ? {
1568
- equals: prop.summary
1569
- } : undefined,
1570
- bannerImage: prop.bannerImage !== undefined ? {
1571
- equals: prop.bannerImage
1572
- } : undefined,
1573
- timePublished: prop.timePublished !== undefined ? {
1574
- equals: prop.timePublished
1575
- } : undefined,
1576
- category: prop.category !== undefined ? {
1577
- equals: prop.category
1578
- } : undefined,
1579
- topics: prop.topics !== undefined ? {
1580
- equals: prop.topics
1581
- } : undefined,
1582
- logo: prop.logo !== undefined ? {
1583
- equals: prop.logo
1584
- } : undefined,
1585
- createdAt: prop.createdAt !== undefined ? {
1586
- equals: prop.createdAt
1587
- } : undefined,
1588
- updatedAt: prop.updatedAt !== undefined ? {
1589
- equals: prop.updatedAt
1477
+ title: prop.title !== undefined ? {
1478
+ equals: prop.title
1590
1479
  } : undefined,
1591
1480
  },
1592
1481
  data: {
@@ -2143,45 +2032,8 @@ export const NewsArticle = {
2143
2032
  where: whereInput ? whereInput : {
2144
2033
  id: props.id !== undefined ? props.id : undefined,
2145
2034
  url: props.url !== undefined ? props.url : undefined,
2146
- title: props.title !== undefined ? props.title : undefined,
2147
- content: props.content !== undefined ? {
2148
- equals: props.content
2149
- } : undefined,
2150
- source: props.source !== undefined ? {
2151
- equals: props.source
2152
- } : undefined,
2153
- sourceDomain: props.sourceDomain !== undefined ? {
2154
- equals: props.sourceDomain
2155
- } : undefined,
2156
- sentiment: props.sentiment !== undefined ? {
2157
- equals: props.sentiment
2158
- } : undefined,
2159
- authors: props.authors !== undefined ? {
2160
- equals: props.authors
2161
- } : undefined,
2162
- summary: props.summary !== undefined ? {
2163
- equals: props.summary
2164
- } : undefined,
2165
- bannerImage: props.bannerImage !== undefined ? {
2166
- equals: props.bannerImage
2167
- } : undefined,
2168
- timePublished: props.timePublished !== undefined ? {
2169
- equals: props.timePublished
2170
- } : undefined,
2171
- category: props.category !== undefined ? {
2172
- equals: props.category
2173
- } : undefined,
2174
- topics: props.topics !== undefined ? {
2175
- equals: props.topics
2176
- } : undefined,
2177
- logo: props.logo !== undefined ? {
2178
- equals: props.logo
2179
- } : undefined,
2180
- createdAt: props.createdAt !== undefined ? {
2181
- equals: props.createdAt
2182
- } : undefined,
2183
- updatedAt: props.updatedAt !== undefined ? {
2184
- equals: props.updatedAt
2035
+ title: props.title !== undefined ? {
2036
+ equals: props.title
2185
2037
  } : undefined,
2186
2038
  },
2187
2039
  };
@@ -2315,47 +2167,14 @@ export const NewsArticle = {
2315
2167
  }`;
2316
2168
  const variables = {
2317
2169
  where: whereInput ? whereInput : {
2318
- id: props.id !== undefined ? props.id : undefined,
2319
- title: props.title !== undefined ? props.title : undefined,
2320
- content: props.content !== undefined ? {
2321
- equals: props.content
2322
- } : undefined,
2323
- source: props.source !== undefined ? {
2324
- equals: props.source
2325
- } : undefined,
2326
- sourceDomain: props.sourceDomain !== undefined ? {
2327
- equals: props.sourceDomain
2328
- } : undefined,
2329
- url: props.url !== undefined ? props.url : undefined,
2330
- sentiment: props.sentiment !== undefined ? {
2331
- equals: props.sentiment
2332
- } : undefined,
2333
- authors: props.authors !== undefined ? {
2334
- equals: props.authors
2335
- } : undefined,
2336
- summary: props.summary !== undefined ? {
2337
- equals: props.summary
2338
- } : undefined,
2339
- bannerImage: props.bannerImage !== undefined ? {
2340
- equals: props.bannerImage
2341
- } : undefined,
2342
- timePublished: props.timePublished !== undefined ? {
2343
- equals: props.timePublished
2344
- } : undefined,
2345
- category: props.category !== undefined ? {
2346
- equals: props.category
2347
- } : undefined,
2348
- topics: props.topics !== undefined ? {
2349
- equals: props.topics
2350
- } : undefined,
2351
- logo: props.logo !== undefined ? {
2352
- equals: props.logo
2170
+ id: props.id !== undefined ? {
2171
+ equals: props.id
2353
2172
  } : undefined,
2354
- createdAt: props.createdAt !== undefined ? {
2355
- equals: props.createdAt
2173
+ title: props.title !== undefined ? {
2174
+ equals: props.title
2356
2175
  } : undefined,
2357
- updatedAt: props.updatedAt !== undefined ? {
2358
- equals: props.updatedAt
2176
+ url: props.url !== undefined ? {
2177
+ equals: props.url
2359
2178
  } : undefined,
2360
2179
  },
2361
2180
  };
@@ -1 +1 @@
1
- {"version":3,"file":"NewsArticleAssetSentiment.d.ts","sourceRoot":"","sources":["../../src/NewsArticleAssetSentiment.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,IAAI,6BAA6B,EAAE,MAAM,iEAAiE,CAAC;AAC7I,OAAO,EAA4B,gBAAgB,EAAE,qBAAqB,EAAoB,MAAM,UAAU,CAAC;AAiG7G,eAAO,MAAM,yBAAyB;IAEpC;;;;;OAKG;IAEH;;;;;;OAMG;kBACiB,6BAA6B,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,6BAA6B,CAAC;IA0LpJ;;;;;;OAMG;sBACqB,6BAA6B,EAAE,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAgFnJ;;;;;;OAMG;kBACiB,6BAA6B,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,6BAA6B,CAAC;IAiblJ;;;;;;OAMG;kBACiB,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