@fintekkers/ledger-models 0.1.95 → 0.1.97

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 (202) hide show
  1. package/node/fintekkers/models/portfolio/portfolio_grpc_pb.js +1 -0
  2. package/node/fintekkers/models/position/field_grpc_pb.js +1 -0
  3. package/node/fintekkers/models/position/measure_grpc_pb.js +1 -0
  4. package/node/fintekkers/models/position/position_filter_grpc_pb.js +1 -0
  5. package/node/fintekkers/models/position/position_grpc_pb.js +1 -0
  6. package/node/fintekkers/models/position/position_status_grpc_pb.js +1 -0
  7. package/node/fintekkers/models/position/position_util_grpc_pb.js +1 -0
  8. package/node/fintekkers/models/price/price_grpc_pb.js +1 -0
  9. package/node/fintekkers/models/security/bond/auction_type_grpc_pb.js +1 -0
  10. package/node/fintekkers/models/security/bond/issuance_grpc_pb.js +1 -0
  11. package/node/fintekkers/models/security/coupon_frequency_grpc_pb.js +1 -0
  12. package/node/fintekkers/models/security/coupon_type_grpc_pb.js +1 -0
  13. package/node/fintekkers/models/security/identifier/identifier_grpc_pb.js +1 -0
  14. package/node/fintekkers/models/security/identifier/identifier_type_grpc_pb.js +1 -0
  15. package/node/fintekkers/models/security/security_grpc_pb.js +1 -0
  16. package/node/fintekkers/models/security/security_pb.test.d.ts +1 -0
  17. package/node/fintekkers/models/security/security_pb.test.js +10 -10
  18. package/node/fintekkers/models/security/security_pb.test.js.map +1 -1
  19. package/node/fintekkers/models/security/security_quantity_type_grpc_pb.js +1 -0
  20. package/node/fintekkers/models/security/security_type_grpc_pb.js +1 -0
  21. package/node/fintekkers/models/security/tenor_grpc_pb.js +1 -0
  22. package/node/fintekkers/models/security/tenor_type_grpc_pb.js +1 -0
  23. package/node/fintekkers/models/strategy/strategy_allocation_grpc_pb.js +1 -0
  24. package/node/fintekkers/models/strategy/strategy_grpc_pb.js +1 -0
  25. package/node/fintekkers/models/transaction/transaction_grpc_pb.js +1 -0
  26. package/node/fintekkers/models/transaction/transaction_type_grpc_pb.js +1 -0
  27. package/node/fintekkers/models/util/api/api_key_grpc_pb.js +1 -0
  28. package/node/fintekkers/models/util/date_range_grpc_pb.js +1 -0
  29. package/node/fintekkers/models/util/date_range_pb.d.ts +43 -0
  30. package/node/fintekkers/models/util/date_range_pb.js +310 -0
  31. package/node/fintekkers/models/util/decimal_value_grpc_pb.js +1 -0
  32. package/node/fintekkers/models/util/endpoint_grpc_pb.js +1 -0
  33. package/node/fintekkers/models/util/local_date_grpc_pb.js +1 -0
  34. package/node/fintekkers/models/util/local_timestamp_grpc_pb.js +1 -0
  35. package/node/fintekkers/models/util/lock/node_partition_grpc_pb.js +1 -0
  36. package/node/fintekkers/models/util/lock/node_state_grpc_pb.js +1 -0
  37. package/node/fintekkers/models/util/uuid_grpc_pb.js +1 -0
  38. package/node/fintekkers/requests/portfolio/create_portfolio_request_grpc_pb.js +1 -0
  39. package/node/fintekkers/requests/portfolio/create_portfolio_response_grpc_pb.js +1 -0
  40. package/node/fintekkers/requests/portfolio/query_portfolio_request_grpc_pb.js +1 -0
  41. package/node/fintekkers/requests/portfolio/query_portfolio_response_grpc_pb.js +1 -0
  42. package/node/fintekkers/requests/position/query_position_request_grpc_pb.js +1 -0
  43. package/node/fintekkers/requests/position/query_position_response_grpc_pb.js +1 -0
  44. package/node/fintekkers/requests/price/create_price_request_grpc_pb.js +1 -0
  45. package/node/fintekkers/requests/price/create_price_response_grpc_pb.js +1 -0
  46. package/node/fintekkers/requests/price/query_price_request_grpc_pb.js +1 -0
  47. package/node/fintekkers/requests/price/query_price_request_pb.d.ts +47 -0
  48. package/node/fintekkers/requests/price/query_price_request_pb.js +190 -2
  49. package/node/fintekkers/requests/price/query_price_response_grpc_pb.js +1 -0
  50. package/node/fintekkers/requests/security/create_security_request_grpc_pb.js +1 -0
  51. package/node/fintekkers/requests/security/create_security_response_grpc_pb.js +1 -0
  52. package/node/fintekkers/requests/security/get_field_values_request_grpc_pb.js +1 -0
  53. package/node/fintekkers/requests/security/get_field_values_request_pb.js +238 -0
  54. package/node/fintekkers/requests/security/get_field_values_response_grpc_pb.js +1 -0
  55. package/node/fintekkers/requests/security/get_field_values_response_pb.js +268 -0
  56. package/node/fintekkers/requests/security/get_fields_response_grpc_pb.js +1 -0
  57. package/node/fintekkers/requests/security/get_fields_response_pb.js +266 -0
  58. package/node/fintekkers/requests/security/query_security_request_grpc_pb.js +1 -0
  59. package/node/fintekkers/requests/security/query_security_response_grpc_pb.js +1 -0
  60. package/node/fintekkers/requests/transaction/create_transaction_request_grpc_pb.js +1 -0
  61. package/node/fintekkers/requests/transaction/create_transaction_response_grpc_pb.js +1 -0
  62. package/node/fintekkers/requests/transaction/query_transaction_request_grpc_pb.js +1 -0
  63. package/node/fintekkers/requests/transaction/query_transaction_response_grpc_pb.js +1 -0
  64. package/node/fintekkers/requests/util/errors/error_grpc_pb.js +1 -0
  65. package/node/fintekkers/requests/util/errors/message_grpc_pb.js +1 -0
  66. package/node/fintekkers/requests/util/errors/summary_grpc_pb.js +1 -0
  67. package/node/fintekkers/requests/util/lock/lock_request_grpc_pb.js +1 -0
  68. package/node/fintekkers/requests/util/lock/lock_request_pb.js +54 -1
  69. package/node/fintekkers/requests/util/lock/lock_response_grpc_pb.js +1 -0
  70. package/node/fintekkers/requests/util/operation_grpc_pb.js +1 -0
  71. package/node/fintekkers/requests/valuation/valuation_request_grpc_pb.js +1 -0
  72. package/node/fintekkers/requests/valuation/valuation_response_grpc_pb.js +1 -0
  73. package/node/wrappers/models/portfolio/portfolio.d.ts +15 -0
  74. package/node/wrappers/models/portfolio/portfolio.js +26 -21
  75. package/node/wrappers/models/portfolio/portfolio.js.map +1 -1
  76. package/node/wrappers/models/portfolio/portfolio.ts +6 -2
  77. package/node/wrappers/models/position/field.d.ts +7 -0
  78. package/node/wrappers/models/position/field.js +10 -14
  79. package/node/wrappers/models/position/field.js.map +1 -1
  80. package/node/wrappers/models/position/field.test.d.ts +1 -0
  81. package/node/wrappers/models/position/field.test.js +10 -48
  82. package/node/wrappers/models/position/field.test.js.map +1 -1
  83. package/node/wrappers/models/position/field.ts +1 -2
  84. package/node/wrappers/models/position/position.d.ts +32 -0
  85. package/node/wrappers/models/position/position.js +89 -83
  86. package/node/wrappers/models/position/position.js.map +1 -1
  87. package/node/wrappers/models/position/position.test.d.ts +1 -0
  88. package/node/wrappers/models/position/position.test.js +128 -198
  89. package/node/wrappers/models/position/position.test.js.map +1 -1
  90. package/node/wrappers/models/position/position.test.ts +1 -1
  91. package/node/wrappers/models/position/position.ts +19 -12
  92. package/node/wrappers/models/position/positionfilter.d.ts +24 -0
  93. package/node/wrappers/models/position/positionfilter.js +19 -20
  94. package/node/wrappers/models/position/positionfilter.js.map +1 -1
  95. package/node/wrappers/models/position/positionfilter.ts +1 -1
  96. package/node/wrappers/models/security/security.d.ts +23 -0
  97. package/node/wrappers/models/security/security.js +55 -44
  98. package/node/wrappers/models/security/security.js.map +1 -1
  99. package/node/wrappers/models/security/security.test.d.ts +1 -0
  100. package/node/wrappers/models/security/security.test.js +14 -11
  101. package/node/wrappers/models/security/security.test.js.map +1 -1
  102. package/node/wrappers/models/security/security.ts +13 -6
  103. package/node/wrappers/models/transaction/transaction.d.ts +36 -0
  104. package/node/wrappers/models/transaction/transaction.js +98 -68
  105. package/node/wrappers/models/transaction/transaction.js.map +1 -1
  106. package/node/wrappers/models/transaction/transaction.test.d.ts +1 -0
  107. package/node/wrappers/models/transaction/transaction.test.js +12 -9
  108. package/node/wrappers/models/transaction/transaction.test.js.map +1 -1
  109. package/node/wrappers/models/transaction/transaction.ts +30 -12
  110. package/node/wrappers/models/transaction/transaction_type.d.ts +17 -0
  111. package/node/wrappers/models/transaction/transaction_type.js +12 -12
  112. package/node/wrappers/models/transaction/transaction_type.js.map +1 -1
  113. package/node/wrappers/models/transaction/transaction_type.ts +5 -5
  114. package/node/wrappers/models/utils/date.d.ts +11 -0
  115. package/node/wrappers/models/utils/date.js +16 -17
  116. package/node/wrappers/models/utils/date.js.map +1 -1
  117. package/node/wrappers/models/utils/date.test.d.ts +1 -0
  118. package/node/wrappers/models/utils/date.test.js +28 -58
  119. package/node/wrappers/models/utils/date.test.js.map +1 -1
  120. package/node/wrappers/models/utils/date.ts +1 -1
  121. package/node/wrappers/models/utils/datetime.d.ts +14 -0
  122. package/node/wrappers/models/utils/datetime.js +41 -34
  123. package/node/wrappers/models/utils/datetime.js.map +1 -1
  124. package/node/wrappers/models/utils/datetime.test.d.ts +1 -0
  125. package/node/wrappers/models/utils/datetime.test.js +40 -70
  126. package/node/wrappers/models/utils/datetime.test.js.map +1 -1
  127. package/node/wrappers/models/utils/datetime.ts +13 -8
  128. package/node/wrappers/models/utils/protoEnum.d.ts +12 -0
  129. package/node/wrappers/models/utils/protoEnum.js +22 -24
  130. package/node/wrappers/models/utils/protoEnum.js.map +1 -1
  131. package/node/wrappers/models/utils/protoEnum.test.d.ts +1 -0
  132. package/node/wrappers/models/utils/protoEnum.test.js +13 -13
  133. package/node/wrappers/models/utils/protoEnum.test.js.map +1 -1
  134. package/node/wrappers/models/utils/requestcontext.d.ts +13 -0
  135. package/node/wrappers/models/utils/requestcontext.js +52 -44
  136. package/node/wrappers/models/utils/requestcontext.js.map +1 -1
  137. package/node/wrappers/models/utils/requestcontext.ts +15 -15
  138. package/node/wrappers/models/utils/requestcontext_d.d.ts +6 -0
  139. package/node/wrappers/models/utils/requestcontext_d.js +1 -0
  140. package/node/wrappers/models/utils/serialization.d.ts +12 -0
  141. package/node/wrappers/models/utils/serialization.js +19 -22
  142. package/node/wrappers/models/utils/serialization.js.map +1 -1
  143. package/node/wrappers/models/utils/serialization.test.d.ts +1 -0
  144. package/node/wrappers/models/utils/serialization.test.js +14 -14
  145. package/node/wrappers/models/utils/serialization.test.js.map +1 -1
  146. package/node/wrappers/models/utils/serialization.ts +1 -1
  147. package/node/wrappers/models/utils/serialization.util.d.ts +4 -0
  148. package/node/wrappers/models/utils/serialization.util.js +25 -25
  149. package/node/wrappers/models/utils/serialization.util.js.map +1 -1
  150. package/node/wrappers/models/utils/serialization.util.test.d.ts +1 -0
  151. package/node/wrappers/models/utils/serialization.util.test.js +15 -15
  152. package/node/wrappers/models/utils/serialization.util.test.js.map +1 -1
  153. package/node/wrappers/models/utils/serialization.util.ts +5 -5
  154. package/node/wrappers/models/utils/uuid.d.ts +13 -0
  155. package/node/wrappers/models/utils/uuid.js +53 -31
  156. package/node/wrappers/models/utils/uuid.js.map +1 -1
  157. package/node/wrappers/models/utils/uuid.test.d.ts +1 -0
  158. package/node/wrappers/models/utils/uuid.test.js +7 -7
  159. package/node/wrappers/models/utils/uuid.test.js.map +1 -1
  160. package/node/wrappers/models/utils/uuid.ts +1 -1
  161. package/node/wrappers/requests/position/QueryPositionRequest.d.ts +19 -0
  162. package/node/wrappers/requests/position/QueryPositionRequest.js +19 -20
  163. package/node/wrappers/requests/position/QueryPositionRequest.js.map +1 -1
  164. package/node/wrappers/services/portfolio-service/PortfolioService.d.ts +15 -0
  165. package/node/wrappers/services/portfolio-service/PortfolioService.js +58 -109
  166. package/node/wrappers/services/portfolio-service/PortfolioService.js.map +1 -1
  167. package/node/wrappers/services/portfolio-service/PortfolioService.ts +2 -2
  168. package/node/wrappers/services/portfolio-service/portfolioService.test.d.ts +1 -0
  169. package/node/wrappers/services/portfolio-service/portfolioService.test.js +47 -64
  170. package/node/wrappers/services/portfolio-service/portfolioService.test.js.map +1 -1
  171. package/node/wrappers/services/position-service/PositionService.d.ts +10 -0
  172. package/node/wrappers/services/position-service/PositionService.js +45 -83
  173. package/node/wrappers/services/position-service/PositionService.js.map +1 -1
  174. package/node/wrappers/services/position-service/position.test.d.ts +1 -0
  175. package/node/wrappers/services/position-service/position.test.js +52 -118
  176. package/node/wrappers/services/position-service/position.test.js.map +1 -1
  177. package/node/wrappers/services/position-service/position.test.ts +7 -1
  178. package/node/wrappers/services/security-service/SecurityService.d.ts +15 -0
  179. package/node/wrappers/services/security-service/SecurityService.js +86 -117
  180. package/node/wrappers/services/security-service/SecurityService.js.map +1 -1
  181. package/node/wrappers/services/security-service/SecurityService.ts +2 -2
  182. package/node/wrappers/services/security-service/security.maturityLadder.test.d.ts +1 -0
  183. package/node/wrappers/services/security-service/security.maturityLadder.test.js +40 -75
  184. package/node/wrappers/services/security-service/security.maturityLadder.test.js.map +1 -1
  185. package/node/wrappers/services/security-service/security.maturityLadder.test.ts +1 -1
  186. package/node/wrappers/services/security-service/security.test.d.ts +1 -0
  187. package/node/wrappers/services/security-service/security.test.js +88 -114
  188. package/node/wrappers/services/security-service/security.test.js.map +1 -1
  189. package/node/wrappers/services/security-service/security.test.ts +2 -2
  190. package/node/wrappers/services/transaction-service/TransactionService.d.ts +13 -0
  191. package/node/wrappers/services/transaction-service/TransactionService.js +53 -98
  192. package/node/wrappers/services/transaction-service/TransactionService.js.map +1 -1
  193. package/node/wrappers/services/transaction-service/TransactionService.ts +2 -2
  194. package/node/wrappers/services/transaction-service/transaction.search.test.d.ts +1 -0
  195. package/node/wrappers/services/transaction-service/transaction.search.test.js +51 -70
  196. package/node/wrappers/services/transaction-service/transaction.search.test.js.map +1 -1
  197. package/node/wrappers/services/transaction-service/transaction.test.d.ts +1 -0
  198. package/node/wrappers/services/transaction-service/transaction.test.js +127 -171
  199. package/node/wrappers/services/transaction-service/transaction.test.js.map +1 -1
  200. package/node/wrappers/services/transaction-service/transaction.test.ts +3 -1
  201. package/package.json +4 -1
  202. package/tsconfig.json +15 -6
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  // Import or define the SecurityProto class
4
- var decimal_value_pb_1 = require("../util/decimal_value_pb");
5
- var local_date_pb_1 = require("../util/local_date_pb");
6
- var coupon_frequency_pb_1 = require("./coupon_frequency_pb");
7
- var coupon_type_pb_1 = require("./coupon_type_pb");
8
- var security_pb_1 = require("./security_pb");
9
- var security_type_pb_1 = require("./security_type_pb");
10
- test('create a security proto (from sue) object and test it can be read', function () {
4
+ const decimal_value_pb_1 = require("../util/decimal_value_pb");
5
+ const local_date_pb_1 = require("../util/local_date_pb");
6
+ const coupon_frequency_pb_1 = require("./coupon_frequency_pb");
7
+ const coupon_type_pb_1 = require("./coupon_type_pb");
8
+ const security_pb_1 = require("./security_pb");
9
+ const security_type_pb_1 = require("./security_type_pb");
10
+ test('create a security proto (from sue) object and test it can be read', () => {
11
11
  // Usage example
12
- var security = new security_pb_1.SecurityProto();
12
+ const security = new security_pb_1.SecurityProto();
13
13
  security.setObjectClass('SomeObjectClass');
14
14
  security.setVersion('1.0');
15
15
  security.setAssetClass('FixedIncome');
@@ -22,9 +22,9 @@ test('create a security proto (from sue) object and test it can be read', functi
22
22
  security.setSecurityType(security_type_pb_1.SecurityTypeProto.BOND_SECURITY);
23
23
  security.setCouponType(coupon_type_pb_1.CouponTypeProto.FIXED);
24
24
  // Serialize the object to a binary representation
25
- var binaryData = security.serializeBinary();
25
+ const binaryData = security.serializeBinary();
26
26
  // Deserialize the binary data back to a SecurityProto object
27
- var deserializedSecurity = security_pb_1.SecurityProto.deserializeBinary(binaryData);
27
+ const deserializedSecurity = security_pb_1.SecurityProto.deserializeBinary(binaryData);
28
28
  // Test that the deserialized object is the same as the original
29
29
  expect(deserializedSecurity.toObject()).toEqual(security.toObject());
30
30
  });
@@ -1 +1 @@
1
- {"version":3,"file":"security_pb.test.js","sourceRoot":"","sources":["security_pb.test.ts"],"names":[],"mappings":";;AAAA,2CAA2C;AAC3C,6DAA6D;AAC7D,uDAAuD;AACvD,6DAA6D;AAC7D,mDAAmD;AACnD,6CAA8C;AAC9C,uDAAuD;AAEvD,IAAI,CAAC,mEAAmE,EAAE;IACxE,gBAAgB;IAChB,IAAM,QAAQ,GAAG,IAAI,2BAAa,EAAE,CAAC;IAErC,QAAQ,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC;IAC3C,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IAC3B,QAAQ,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IACtC,QAAQ,CAAC,kBAAkB,CAAC,0CAAoB,CAAC,QAAQ,CAAC,CAAC;IAC3D,QAAQ,CAAC,aAAa,CAAC,IAAI,oCAAiB,EAAE,CAAC,0BAA0B,CAAC,MAAM,CAAC,CAAC,CAAC;IACnF,QAAQ,CAAC,YAAY,CAAC,IAAI,oCAAiB,EAAE,CAAC,0BAA0B,CAAC,SAAS,CAAC,CAAC,CAAC;IACrF,QAAQ,CAAC,YAAY,CAAC,IAAI,8BAAc,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAChF,QAAQ,CAAC,YAAY,CAAC,IAAI,8BAAc,EAAE,CAAC,OA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+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1,43 @@
1
+ // package: fintekkers.models.util
2
+ // file: fintekkers/models/util/date_range.proto
3
+
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+
7
+ import * as jspb from "google-protobuf";
8
+ import * as fintekkers_models_util_local_timestamp_pb from "../../../fintekkers/models/util/local_timestamp_pb";
9
+
10
+ export class DateRangeProto extends jspb.Message {
11
+ getObjectClass(): string;
12
+ setObjectClass(value: string): DateRangeProto;
13
+ getVersion(): string;
14
+ setVersion(value: string): DateRangeProto;
15
+
16
+ hasStart(): boolean;
17
+ clearStart(): void;
18
+ getStart(): fintekkers_models_util_local_timestamp_pb.LocalTimestampProto | undefined;
19
+ setStart(value?: fintekkers_models_util_local_timestamp_pb.LocalTimestampProto): DateRangeProto;
20
+
21
+ hasEnd(): boolean;
22
+ clearEnd(): void;
23
+ getEnd(): fintekkers_models_util_local_timestamp_pb.LocalTimestampProto | undefined;
24
+ setEnd(value?: fintekkers_models_util_local_timestamp_pb.LocalTimestampProto): DateRangeProto;
25
+
26
+ serializeBinary(): Uint8Array;
27
+ toObject(includeInstance?: boolean): DateRangeProto.AsObject;
28
+ static toObject(includeInstance: boolean, msg: DateRangeProto): DateRangeProto.AsObject;
29
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
30
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
31
+ static serializeBinaryToWriter(message: DateRangeProto, writer: jspb.BinaryWriter): void;
32
+ static deserializeBinary(bytes: Uint8Array): DateRangeProto;
33
+ static deserializeBinaryFromReader(message: DateRangeProto, reader: jspb.BinaryReader): DateRangeProto;
34
+ }
35
+
36
+ export namespace DateRangeProto {
37
+ export type AsObject = {
38
+ objectClass: string,
39
+ version: string,
40
+ start?: fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.AsObject,
41
+ end?: fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.AsObject,
42
+ }
43
+ }
@@ -0,0 +1,310 @@
1
+ // source: fintekkers/models/util/date_range.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global = (function() {
17
+ if (this) { return this; }
18
+ if (typeof window !== 'undefined') { return window; }
19
+ if (typeof global !== 'undefined') { return global; }
20
+ if (typeof self !== 'undefined') { return self; }
21
+ return Function('return this')();
22
+ }.call(null));
23
+
24
+ var fintekkers_models_util_local_timestamp_pb = require('../../../fintekkers/models/util/local_timestamp_pb.js');
25
+ goog.object.extend(proto, fintekkers_models_util_local_timestamp_pb);
26
+ goog.exportSymbol('proto.fintekkers.models.util.DateRangeProto', null, global);
27
+ /**
28
+ * Generated by JsPbCodeGenerator.
29
+ * @param {Array=} opt_data Optional initial data array, typically from a
30
+ * server response, or constructed directly in Javascript. The array is used
31
+ * in place and becomes part of the constructed object. It is not cloned.
32
+ * If no data is provided, the constructed object will be empty, but still
33
+ * valid.
34
+ * @extends {jspb.Message}
35
+ * @constructor
36
+ */
37
+ proto.fintekkers.models.util.DateRangeProto = function(opt_data) {
38
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
39
+ };
40
+ goog.inherits(proto.fintekkers.models.util.DateRangeProto, jspb.Message);
41
+ if (goog.DEBUG && !COMPILED) {
42
+ /**
43
+ * @public
44
+ * @override
45
+ */
46
+ proto.fintekkers.models.util.DateRangeProto.displayName = 'proto.fintekkers.models.util.DateRangeProto';
47
+ }
48
+
49
+
50
+
51
+ if (jspb.Message.GENERATE_TO_OBJECT) {
52
+ /**
53
+ * Creates an object representation of this proto.
54
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
55
+ * Optional fields that are not set will be set to undefined.
56
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
57
+ * For the list of reserved names please see:
58
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
59
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
60
+ * JSPB instance for transitional soy proto support:
61
+ * http://goto/soy-param-migration
62
+ * @return {!Object}
63
+ */
64
+ proto.fintekkers.models.util.DateRangeProto.prototype.toObject = function(opt_includeInstance) {
65
+ return proto.fintekkers.models.util.DateRangeProto.toObject(opt_includeInstance, this);
66
+ };
67
+
68
+
69
+ /**
70
+ * Static version of the {@see toObject} method.
71
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
72
+ * the JSPB instance for transitional soy proto support:
73
+ * http://goto/soy-param-migration
74
+ * @param {!proto.fintekkers.models.util.DateRangeProto} msg The msg instance to transform.
75
+ * @return {!Object}
76
+ * @suppress {unusedLocalVariables} f is only used for nested messages
77
+ */
78
+ proto.fintekkers.models.util.DateRangeProto.toObject = function(includeInstance, msg) {
79
+ var f, obj = {
80
+ objectClass: jspb.Message.getFieldWithDefault(msg, 1, ""),
81
+ version: jspb.Message.getFieldWithDefault(msg, 2, ""),
82
+ start: (f = msg.getStart()) && fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.toObject(includeInstance, f),
83
+ end: (f = msg.getEnd()) && fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.toObject(includeInstance, f)
84
+ };
85
+
86
+ if (includeInstance) {
87
+ obj.$jspbMessageInstance = msg;
88
+ }
89
+ return obj;
90
+ };
91
+ }
92
+
93
+
94
+ /**
95
+ * Deserializes binary data (in protobuf wire format).
96
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
97
+ * @return {!proto.fintekkers.models.util.DateRangeProto}
98
+ */
99
+ proto.fintekkers.models.util.DateRangeProto.deserializeBinary = function(bytes) {
100
+ var reader = new jspb.BinaryReader(bytes);
101
+ var msg = new proto.fintekkers.models.util.DateRangeProto;
102
+ return proto.fintekkers.models.util.DateRangeProto.deserializeBinaryFromReader(msg, reader);
103
+ };
104
+
105
+
106
+ /**
107
+ * Deserializes binary data (in protobuf wire format) from the
108
+ * given reader into the given message object.
109
+ * @param {!proto.fintekkers.models.util.DateRangeProto} msg The message object to deserialize into.
110
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
111
+ * @return {!proto.fintekkers.models.util.DateRangeProto}
112
+ */
113
+ proto.fintekkers.models.util.DateRangeProto.deserializeBinaryFromReader = function(msg, reader) {
114
+ while (reader.nextField()) {
115
+ if (reader.isEndGroup()) {
116
+ break;
117
+ }
118
+ var field = reader.getFieldNumber();
119
+ switch (field) {
120
+ case 1:
121
+ var value = /** @type {string} */ (reader.readString());
122
+ msg.setObjectClass(value);
123
+ break;
124
+ case 2:
125
+ var value = /** @type {string} */ (reader.readString());
126
+ msg.setVersion(value);
127
+ break;
128
+ case 10:
129
+ var value = new fintekkers_models_util_local_timestamp_pb.LocalTimestampProto;
130
+ reader.readMessage(value,fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.deserializeBinaryFromReader);
131
+ msg.setStart(value);
132
+ break;
133
+ case 11:
134
+ var value = new fintekkers_models_util_local_timestamp_pb.LocalTimestampProto;
135
+ reader.readMessage(value,fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.deserializeBinaryFromReader);
136
+ msg.setEnd(value);
137
+ break;
138
+ default:
139
+ reader.skipField();
140
+ break;
141
+ }
142
+ }
143
+ return msg;
144
+ };
145
+
146
+
147
+ /**
148
+ * Serializes the message to binary data (in protobuf wire format).
149
+ * @return {!Uint8Array}
150
+ */
151
+ proto.fintekkers.models.util.DateRangeProto.prototype.serializeBinary = function() {
152
+ var writer = new jspb.BinaryWriter();
153
+ proto.fintekkers.models.util.DateRangeProto.serializeBinaryToWriter(this, writer);
154
+ return writer.getResultBuffer();
155
+ };
156
+
157
+
158
+ /**
159
+ * Serializes the given message to binary data (in protobuf wire
160
+ * format), writing to the given BinaryWriter.
161
+ * @param {!proto.fintekkers.models.util.DateRangeProto} message
162
+ * @param {!jspb.BinaryWriter} writer
163
+ * @suppress {unusedLocalVariables} f is only used for nested messages
164
+ */
165
+ proto.fintekkers.models.util.DateRangeProto.serializeBinaryToWriter = function(message, writer) {
166
+ var f = undefined;
167
+ f = message.getObjectClass();
168
+ if (f.length > 0) {
169
+ writer.writeString(
170
+ 1,
171
+ f
172
+ );
173
+ }
174
+ f = message.getVersion();
175
+ if (f.length > 0) {
176
+ writer.writeString(
177
+ 2,
178
+ f
179
+ );
180
+ }
181
+ f = message.getStart();
182
+ if (f != null) {
183
+ writer.writeMessage(
184
+ 10,
185
+ f,
186
+ fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.serializeBinaryToWriter
187
+ );
188
+ }
189
+ f = message.getEnd();
190
+ if (f != null) {
191
+ writer.writeMessage(
192
+ 11,
193
+ f,
194
+ fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.serializeBinaryToWriter
195
+ );
196
+ }
197
+ };
198
+
199
+
200
+ /**
201
+ * optional string object_class = 1;
202
+ * @return {string}
203
+ */
204
+ proto.fintekkers.models.util.DateRangeProto.prototype.getObjectClass = function() {
205
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
206
+ };
207
+
208
+
209
+ /**
210
+ * @param {string} value
211
+ * @return {!proto.fintekkers.models.util.DateRangeProto} returns this
212
+ */
213
+ proto.fintekkers.models.util.DateRangeProto.prototype.setObjectClass = function(value) {
214
+ return jspb.Message.setProto3StringField(this, 1, value);
215
+ };
216
+
217
+
218
+ /**
219
+ * optional string version = 2;
220
+ * @return {string}
221
+ */
222
+ proto.fintekkers.models.util.DateRangeProto.prototype.getVersion = function() {
223
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
224
+ };
225
+
226
+
227
+ /**
228
+ * @param {string} value
229
+ * @return {!proto.fintekkers.models.util.DateRangeProto} returns this
230
+ */
231
+ proto.fintekkers.models.util.DateRangeProto.prototype.setVersion = function(value) {
232
+ return jspb.Message.setProto3StringField(this, 2, value);
233
+ };
234
+
235
+
236
+ /**
237
+ * optional LocalTimestampProto start = 10;
238
+ * @return {?proto.fintekkers.models.util.LocalTimestampProto}
239
+ */
240
+ proto.fintekkers.models.util.DateRangeProto.prototype.getStart = function() {
241
+ return /** @type{?proto.fintekkers.models.util.LocalTimestampProto} */ (
242
+ jspb.Message.getWrapperField(this, fintekkers_models_util_local_timestamp_pb.LocalTimestampProto, 10));
243
+ };
244
+
245
+
246
+ /**
247
+ * @param {?proto.fintekkers.models.util.LocalTimestampProto|undefined} value
248
+ * @return {!proto.fintekkers.models.util.DateRangeProto} returns this
249
+ */
250
+ proto.fintekkers.models.util.DateRangeProto.prototype.setStart = function(value) {
251
+ return jspb.Message.setWrapperField(this, 10, value);
252
+ };
253
+
254
+
255
+ /**
256
+ * Clears the message field making it undefined.
257
+ * @return {!proto.fintekkers.models.util.DateRangeProto} returns this
258
+ */
259
+ proto.fintekkers.models.util.DateRangeProto.prototype.clearStart = function() {
260
+ return this.setStart(undefined);
261
+ };
262
+
263
+
264
+ /**
265
+ * Returns whether this field is set.
266
+ * @return {boolean}
267
+ */
268
+ proto.fintekkers.models.util.DateRangeProto.prototype.hasStart = function() {
269
+ return jspb.Message.getField(this, 10) != null;
270
+ };
271
+
272
+
273
+ /**
274
+ * optional LocalTimestampProto end = 11;
275
+ * @return {?proto.fintekkers.models.util.LocalTimestampProto}
276
+ */
277
+ proto.fintekkers.models.util.DateRangeProto.prototype.getEnd = function() {
278
+ return /** @type{?proto.fintekkers.models.util.LocalTimestampProto} */ (
279
+ jspb.Message.getWrapperField(this, fintekkers_models_util_local_timestamp_pb.LocalTimestampProto, 11));
280
+ };
281
+
282
+
283
+ /**
284
+ * @param {?proto.fintekkers.models.util.LocalTimestampProto|undefined} value
285
+ * @return {!proto.fintekkers.models.util.DateRangeProto} returns this
286
+ */
287
+ proto.fintekkers.models.util.DateRangeProto.prototype.setEnd = function(value) {
288
+ return jspb.Message.setWrapperField(this, 11, value);
289
+ };
290
+
291
+
292
+ /**
293
+ * Clears the message field making it undefined.
294
+ * @return {!proto.fintekkers.models.util.DateRangeProto} returns this
295
+ */
296
+ proto.fintekkers.models.util.DateRangeProto.prototype.clearEnd = function() {
297
+ return this.setEnd(undefined);
298
+ };
299
+
300
+
301
+ /**
302
+ * Returns whether this field is set.
303
+ * @return {boolean}
304
+ */
305
+ proto.fintekkers.models.util.DateRangeProto.prototype.hasEnd = function() {
306
+ return jspb.Message.getField(this, 11) != null;
307
+ };
308
+
309
+
310
+ goog.object.extend(exports, proto.fintekkers.models.util);
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -8,6 +8,7 @@ import * as jspb from "google-protobuf";
8
8
  import * as fintekkers_models_util_uuid_pb from "../../../fintekkers/models/util/uuid_pb";
9
9
  import * as fintekkers_models_util_local_timestamp_pb from "../../../fintekkers/models/util/local_timestamp_pb";
10
10
  import * as fintekkers_models_position_position_filter_pb from "../../../fintekkers/models/position/position_filter_pb";
11
+ import * as fintekkers_models_util_date_range_pb from "../../../fintekkers/models/util/date_range_pb";
11
12
 
12
13
  export class QueryPriceRequestProto extends jspb.Message {
13
14
  getObjectClass(): string;
@@ -28,6 +29,20 @@ export class QueryPriceRequestProto extends jspb.Message {
28
29
  clearAsOf(): void;
29
30
  getAsOf(): fintekkers_models_util_local_timestamp_pb.LocalTimestampProto | undefined;
30
31
  setAsOf(value?: fintekkers_models_util_local_timestamp_pb.LocalTimestampProto): QueryPriceRequestProto;
32
+ getFrequency(): PriceFrequencyProto;
33
+ setFrequency(value: PriceFrequencyProto): QueryPriceRequestProto;
34
+
35
+ hasHorizon(): boolean;
36
+ clearHorizon(): void;
37
+ getHorizon(): PriceHorizonProto;
38
+ setHorizon(value: PriceHorizonProto): QueryPriceRequestProto;
39
+
40
+ hasDateRange(): boolean;
41
+ clearDateRange(): void;
42
+ getDateRange(): fintekkers_models_util_date_range_pb.DateRangeProto | undefined;
43
+ setDateRange(value?: fintekkers_models_util_date_range_pb.DateRangeProto): QueryPriceRequestProto;
44
+
45
+ getTimeRangeCase(): QueryPriceRequestProto.TimeRangeCase;
31
46
 
32
47
  serializeBinary(): Uint8Array;
33
48
  toObject(includeInstance?: boolean): QueryPriceRequestProto.AsObject;
@@ -46,5 +61,37 @@ export namespace QueryPriceRequestProto {
46
61
  uuidsList: Array<fintekkers_models_util_uuid_pb.UUIDProto.AsObject>,
47
62
  searchPriceInput?: fintekkers_models_position_position_filter_pb.PositionFilterProto.AsObject,
48
63
  asOf?: fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.AsObject,
64
+ frequency: PriceFrequencyProto,
65
+ horizon: PriceHorizonProto,
66
+ dateRange?: fintekkers_models_util_date_range_pb.DateRangeProto.AsObject,
67
+ }
68
+
69
+ export enum TimeRangeCase {
70
+ TIME_RANGE_NOT_SET = 0,
71
+ HORIZON = 25,
72
+ DATE_RANGE = 26,
49
73
  }
74
+
75
+ }
76
+
77
+ export enum PriceFrequencyProto {
78
+ PRICE_FREQUENCY_UNSPECIFIED = 0,
79
+ PRICE_FREQUENCY_WEEKLY = 10,
80
+ PRICE_FREQUENCY_DAILY = 20,
81
+ PRICE_FREQUENCY_HOURLY = 30,
82
+ PRICE_FREQUENCY_MINUTE = 40,
83
+ PRICE_FREQUENCY_EVERY_TICK = 90,
84
+ }
85
+
86
+ export enum PriceHorizonProto {
87
+ PRICE_HORIZON_UNSPECIFIED = 0,
88
+ PRICE_HORIZON_1_DAY = 1,
89
+ PRICE_HORIZON_5_DAYS = 2,
90
+ PRICE_HORIZON_1_WEEK = 3,
91
+ PRICE_HORIZON_1_MONTH = 4,
92
+ PRICE_HORIZON_6_MONTHS = 5,
93
+ PRICE_HORIZON_1_YEAR = 6,
94
+ PRICE_HORIZON_5_YEAR = 7,
95
+ PRICE_HORIZON_MAX = 8,
96
+ PRICE_HORIZON_YEAR_TO_DATE = 9,
50
97
  }