adaptic-backend 1.0.226 → 1.0.228

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 (57) hide show
  1. package/Action.cjs +33 -11
  2. package/AlpacaAccount.cjs +33 -11
  3. package/Asset.cjs +57 -19
  4. package/Contract.cjs +15 -5
  5. package/Deliverable.cjs +12 -4
  6. package/NewsArticleAssetSentiment.cjs +33 -11
  7. package/Order.cjs +57 -19
  8. package/Position.cjs +33 -11
  9. package/StopLoss.cjs +33 -11
  10. package/TakeProfit.cjs +33 -11
  11. package/Trade.cjs +33 -11
  12. package/generated/typegraphql-prisma/enhance.cjs +1 -1
  13. package/generated/typegraphql-prisma/enhance.js.map +1 -1
  14. package/generated/typegraphql-prisma/resolvers/inputs/DeliverableWhereUniqueInput.cjs +7 -6
  15. package/generated/typegraphql-prisma/resolvers/inputs/DeliverableWhereUniqueInput.d.ts +2 -1
  16. package/generated/typegraphql-prisma/resolvers/inputs/DeliverableWhereUniqueInput.d.ts.map +1 -1
  17. package/generated/typegraphql-prisma/resolvers/inputs/DeliverableWhereUniqueInput.js.map +1 -1
  18. package/package.json +1 -1
  19. package/server/Action.d.ts.map +1 -1
  20. package/server/Action.js.map +1 -1
  21. package/server/Action.mjs +33 -11
  22. package/server/AlpacaAccount.d.ts.map +1 -1
  23. package/server/AlpacaAccount.js.map +1 -1
  24. package/server/AlpacaAccount.mjs +33 -11
  25. package/server/Asset.d.ts.map +1 -1
  26. package/server/Asset.js.map +1 -1
  27. package/server/Asset.mjs +57 -19
  28. package/server/Contract.d.ts.map +1 -1
  29. package/server/Contract.js.map +1 -1
  30. package/server/Contract.mjs +15 -5
  31. package/server/Deliverable.d.ts.map +1 -1
  32. package/server/Deliverable.js.map +1 -1
  33. package/server/Deliverable.mjs +12 -4
  34. package/server/NewsArticleAssetSentiment.d.ts.map +1 -1
  35. package/server/NewsArticleAssetSentiment.js.map +1 -1
  36. package/server/NewsArticleAssetSentiment.mjs +33 -11
  37. package/server/Order.d.ts.map +1 -1
  38. package/server/Order.js.map +1 -1
  39. package/server/Order.mjs +57 -19
  40. package/server/Position.d.ts.map +1 -1
  41. package/server/Position.js.map +1 -1
  42. package/server/Position.mjs +33 -11
  43. package/server/StopLoss.d.ts.map +1 -1
  44. package/server/StopLoss.js.map +1 -1
  45. package/server/StopLoss.mjs +33 -11
  46. package/server/TakeProfit.d.ts.map +1 -1
  47. package/server/TakeProfit.js.map +1 -1
  48. package/server/TakeProfit.mjs +33 -11
  49. package/server/Trade.d.ts.map +1 -1
  50. package/server/Trade.js.map +1 -1
  51. package/server/Trade.mjs +33 -11
  52. package/server/generated/typegraphql-prisma/enhance.js.map +1 -1
  53. package/server/generated/typegraphql-prisma/enhance.mjs +1 -1
  54. package/server/generated/typegraphql-prisma/resolvers/inputs/DeliverableWhereUniqueInput.d.ts +2 -1
  55. package/server/generated/typegraphql-prisma/resolvers/inputs/DeliverableWhereUniqueInput.d.ts.map +1 -1
  56. package/server/generated/typegraphql-prisma/resolvers/inputs/DeliverableWhereUniqueInput.js.map +1 -1
  57. package/server/generated/typegraphql-prisma/resolvers/inputs/DeliverableWhereUniqueInput.mjs +8 -7
@@ -768,10 +768,12 @@ export const Deliverable = {
768
768
  const variables = {
769
769
  where: {
770
770
  id: props.id !== undefined ? props.id : undefined,
771
- contractId: props.contractId !== undefined ? props.contractId : undefined,
772
771
  symbol: props.symbol !== undefined ? {
773
772
  equals: props.symbol
774
773
  } : undefined,
774
+ contractId: props.contractId !== undefined ? {
775
+ equals: props.contractId
776
+ } : undefined,
775
777
  },
776
778
  data: {
777
779
  id: props.id !== undefined ? {
@@ -2705,10 +2707,12 @@ export const Deliverable = {
2705
2707
  const variables = {
2706
2708
  where: {
2707
2709
  id: props.id !== undefined ? props.id : undefined,
2708
- contractId: props.contractId !== undefined ? props.contractId : undefined,
2709
2710
  symbol: props.symbol !== undefined ? {
2710
2711
  equals: props.symbol
2711
2712
  } : undefined,
2713
+ contractId: props.contractId !== undefined ? {
2714
+ equals: props.contractId
2715
+ } : undefined,
2712
2716
  },
2713
2717
  create: {
2714
2718
  type: props.type !== undefined ? props.type : undefined,
@@ -5082,10 +5086,12 @@ export const Deliverable = {
5082
5086
  const variables = props.map(prop => ({
5083
5087
  where: {
5084
5088
  id: prop.id !== undefined ? prop.id : undefined,
5085
- contractId: prop.contractId !== undefined ? prop.contractId : undefined,
5086
5089
  symbol: prop.symbol !== undefined ? {
5087
5090
  equals: prop.symbol
5088
5091
  } : undefined,
5092
+ contractId: prop.contractId !== undefined ? {
5093
+ equals: prop.contractId
5094
+ } : undefined,
5089
5095
  },
5090
5096
  data: {
5091
5097
  id: prop.id !== undefined ? {
@@ -7053,10 +7059,12 @@ export const Deliverable = {
7053
7059
  const variables = {
7054
7060
  where: {
7055
7061
  id: props.id !== undefined ? props.id : undefined,
7056
- contractId: props.contractId !== undefined ? props.contractId : undefined,
7057
7062
  symbol: props.symbol !== undefined ? {
7058
7063
  equals: props.symbol
7059
7064
  } : undefined,
7065
+ contractId: props.contractId !== undefined ? {
7066
+ equals: props.contractId
7067
+ } : undefined,
7060
7068
  },
7061
7069
  };
7062
7070
  const filteredVariables = removeUndefinedProps(variables);
@@ -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;AAmG3I,eAAO,MAAM,yBAAyB;IAEpC;;;;OAIG;kBAEiB,6BAA6B,GAAG,OAAO,CAAC,6BAA6B,CAAC;IA2iB5F;;;;OAIG;sBACqB,6BAA6B,EAAE,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAoC3F;;;;OAIG;kBACiB,6BAA6B,GAAG,OAAO,CAAC,6BAA6B,CAAC;IA6+D1F;;;;OAIG;kBACiB,6BAA6B,GAAG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