@finam/grpc-tradeapi 2.14.0

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 (146) hide show
  1. package/README.md +41 -0
  2. package/google/api/annotations_pb.d.ts +34 -0
  3. package/google/api/annotations_pb.js +36 -0
  4. package/google/api/auth_pb.d.ts +382 -0
  5. package/google/api/auth_pb.js +68 -0
  6. package/google/api/backend_pb.d.ts +278 -0
  7. package/google/api/backend_pb.js +60 -0
  8. package/google/api/billing_pb.d.ts +112 -0
  9. package/google/api/billing_pb.js +40 -0
  10. package/google/api/client_pb.d.ts +906 -0
  11. package/google/api/client_pb.js +268 -0
  12. package/google/api/config_change_pb.d.ts +156 -0
  13. package/google/api/config_change_pb.js +55 -0
  14. package/google/api/consumer_pb.d.ts +151 -0
  15. package/google/api/consumer_pb.js +54 -0
  16. package/google/api/context_pb.d.ts +139 -0
  17. package/google/api/context_pb.js +40 -0
  18. package/google/api/control_pb.d.ts +61 -0
  19. package/google/api/control_pb.js +34 -0
  20. package/google/api/distribution_pb.d.ts +379 -0
  21. package/google/api/distribution_pb.js +76 -0
  22. package/google/api/documentation_pb.d.ts +249 -0
  23. package/google/api/documentation_pb.js +47 -0
  24. package/google/api/endpoint_pb.d.ts +98 -0
  25. package/google/api/endpoint_pb.js +33 -0
  26. package/google/api/error_reason_pb.d.ts +765 -0
  27. package/google/api/error_reason_pb.js +49 -0
  28. package/google/api/field_behavior_pb.d.ts +152 -0
  29. package/google/api/field_behavior_pb.js +65 -0
  30. package/google/api/field_info_pb.d.ts +171 -0
  31. package/google/api/field_info_pb.js +80 -0
  32. package/google/api/http_pb.d.ts +469 -0
  33. package/google/api/http_pb.js +47 -0
  34. package/google/api/httpbody_pb.d.ts +104 -0
  35. package/google/api/httpbody_pb.js +34 -0
  36. package/google/api/label_pb.d.ts +93 -0
  37. package/google/api/label_pb.js +47 -0
  38. package/google/api/launch_stage_pb.d.ts +115 -0
  39. package/google/api/launch_stage_pb.js +41 -0
  40. package/google/api/log_pb.d.ts +82 -0
  41. package/google/api/log_pb.js +34 -0
  42. package/google/api/logging_pb.d.ts +120 -0
  43. package/google/api/logging_pb.js +40 -0
  44. package/google/api/metric_pb.d.ts +474 -0
  45. package/google/api/metric_pb.js +94 -0
  46. package/google/api/monitored_resource_pb.d.ts +200 -0
  47. package/google/api/monitored_resource_pb.js +50 -0
  48. package/google/api/monitoring_pb.d.ts +146 -0
  49. package/google/api/monitoring_pb.js +40 -0
  50. package/google/api/policy_pb.d.ts +128 -0
  51. package/google/api/policy_pb.js +57 -0
  52. package/google/api/quota_pb.d.ts +273 -0
  53. package/google/api/quota_pb.js +47 -0
  54. package/google/api/resource_pb.d.ts +344 -0
  55. package/google/api/resource_pb.js +97 -0
  56. package/google/api/routing_pb.d.ts +497 -0
  57. package/google/api/routing_pb.js +49 -0
  58. package/google/api/service_pb.d.ts +305 -0
  59. package/google/api/service_pb.js +52 -0
  60. package/google/api/source_info_pb.d.ts +47 -0
  61. package/google/api/source_info_pb.js +34 -0
  62. package/google/api/system_parameter_pb.d.ts +153 -0
  63. package/google/api/system_parameter_pb.js +47 -0
  64. package/google/api/usage_pb.d.ts +143 -0
  65. package/google/api/usage_pb.js +40 -0
  66. package/google/api/visibility_pb.d.ts +158 -0
  67. package/google/api/visibility_pb.js +89 -0
  68. package/google/protobuf/any_pb.d.ts +182 -0
  69. package/google/protobuf/any_pb.js +49 -0
  70. package/google/protobuf/api_pb.d.ts +302 -0
  71. package/google/protobuf/api_pb.js +65 -0
  72. package/google/protobuf/descriptor_pb.d.ts +2511 -0
  73. package/google/protobuf/descriptor_pb.js +500 -0
  74. package/google/protobuf/duration_pb.d.ts +134 -0
  75. package/google/protobuf/duration_pb.js +49 -0
  76. package/google/protobuf/empty_pb.d.ts +63 -0
  77. package/google/protobuf/empty_pb.js +49 -0
  78. package/google/protobuf/field_mask_pb.d.ts +260 -0
  79. package/google/protobuf/field_mask_pb.js +49 -0
  80. package/google/protobuf/source_context_pb.d.ts +64 -0
  81. package/google/protobuf/source_context_pb.js +49 -0
  82. package/google/protobuf/struct_pb.d.ts +186 -0
  83. package/google/protobuf/struct_pb.js +80 -0
  84. package/google/protobuf/timestamp_pb.d.ts +163 -0
  85. package/google/protobuf/timestamp_pb.js +49 -0
  86. package/google/protobuf/type_pb.d.ts +532 -0
  87. package/google/protobuf/type_pb.js +121 -0
  88. package/google/protobuf/wrappers_pb.d.ts +250 -0
  89. package/google/protobuf/wrappers_pb.js +115 -0
  90. package/google/type/calendar_period_pb.d.ts +99 -0
  91. package/google/type/calendar_period_pb.js +42 -0
  92. package/google/type/color_pb.d.ts +200 -0
  93. package/google/type/color_pb.js +34 -0
  94. package/google/type/date_pb.d.ts +76 -0
  95. package/google/type/date_pb.js +33 -0
  96. package/google/type/datetime_pb.d.ts +175 -0
  97. package/google/type/datetime_pb.js +41 -0
  98. package/google/type/dayofweek_pb.d.ts +93 -0
  99. package/google/type/dayofweek_pb.js +40 -0
  100. package/google/type/decimal_pb.d.ts +111 -0
  101. package/google/type/decimal_pb.js +33 -0
  102. package/google/type/expr_pb.d.ts +102 -0
  103. package/google/type/expr_pb.js +33 -0
  104. package/google/type/fraction_pb.d.ts +54 -0
  105. package/google/type/fraction_pb.js +33 -0
  106. package/google/type/interval_pb.d.ts +65 -0
  107. package/google/type/interval_pb.js +34 -0
  108. package/google/type/latlng_pb.d.ts +57 -0
  109. package/google/type/latlng_pb.js +33 -0
  110. package/google/type/localized_text_pb.d.ts +56 -0
  111. package/google/type/localized_text_pb.js +33 -0
  112. package/google/type/money_pb.d.ts +66 -0
  113. package/google/type/money_pb.js +33 -0
  114. package/google/type/month_pb.d.ts +128 -0
  115. package/google/type/month_pb.js +40 -0
  116. package/google/type/phone_number_pb.d.ts +161 -0
  117. package/google/type/phone_number_pb.js +40 -0
  118. package/google/type/postal_address_pb.d.ts +190 -0
  119. package/google/type/postal_address_pb.js +33 -0
  120. package/google/type/quaternion_pb.d.ts +122 -0
  121. package/google/type/quaternion_pb.js +33 -0
  122. package/google/type/timeofday_pb.d.ts +72 -0
  123. package/google/type/timeofday_pb.js +33 -0
  124. package/grpc/gateway/protoc_gen_openapiv2/options/annotations_pb.d.ts +73 -0
  125. package/grpc/gateway/protoc_gen_openapiv2/options/annotations_pb.js +80 -0
  126. package/grpc/gateway/protoc_gen_openapiv2/options/openapiv2_pb.d.ts +1586 -0
  127. package/grpc/gateway/protoc_gen_openapiv2/options/openapiv2_pb.js +239 -0
  128. package/grpc/tradeapi/v1/accounts/accounts_service_pb.d.ts +671 -0
  129. package/grpc/tradeapi/v1/accounts/accounts_service_pb.js +126 -0
  130. package/grpc/tradeapi/v1/assets/assets_service_pb.d.ts +1318 -0
  131. package/grpc/tradeapi/v1/assets/assets_service_pb.js +279 -0
  132. package/grpc/tradeapi/v1/auth/auth_service_pb.d.ts +336 -0
  133. package/grpc/tradeapi/v1/auth/auth_service_pb.js +86 -0
  134. package/grpc/tradeapi/v1/marketdata/marketdata_service_pb.d.ts +1215 -0
  135. package/grpc/tradeapi/v1/marketdata/marketdata_service_pb.js +243 -0
  136. package/grpc/tradeapi/v1/metrics/usage_metrics_service_pb.d.ts +111 -0
  137. package/grpc/tradeapi/v1/metrics/usage_metrics_service_pb.js +46 -0
  138. package/grpc/tradeapi/v1/orders/orders_service_pb.d.ts +1256 -0
  139. package/grpc/tradeapi/v1/orders/orders_service_pb.js +242 -0
  140. package/grpc/tradeapi/v1/reports/reports_service_pb.d.ts +353 -0
  141. package/grpc/tradeapi/v1/reports/reports_service_pb.js +107 -0
  142. package/grpc/tradeapi/v1/side_pb.d.ts +44 -0
  143. package/grpc/tradeapi/v1/side_pb.js +26 -0
  144. package/grpc/tradeapi/v1/trade_pb.d.ts +91 -0
  145. package/grpc/tradeapi/v1/trade_pb.js +22 -0
  146. package/package.json +14 -0
@@ -0,0 +1,107 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file grpc/tradeapi/v1/reports/reports_service.proto (package grpc.tradeapi.v1.reports, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_google_api_annotations } from "../../../../google/api/annotations_pb.js";
7
+ import { file_google_protobuf_timestamp, file_google_protobuf_wrappers } from "@bufbuild/protobuf/wkt";
8
+ import { file_grpc_gateway_protoc_gen_openapiv2_options_annotations } from "../../../gateway/protoc_gen_openapiv2/options/annotations_pb.js";
9
+
10
+ /**
11
+ * Describes the file grpc/tradeapi/v1/reports/reports_service.proto.
12
+ */
13
+ export const file_grpc_tradeapi_v1_reports_reports_service = /*@__PURE__*/
14
+ fileDesc("Ci5ncnBjL3RyYWRlYXBpL3YxL3JlcG9ydHMvcmVwb3J0c19zZXJ2aWNlLnByb3RvEhhncnBjLnRyYWRlYXBpLnYxLnJlcG9ydHMipAEKGkNyZWF0ZUFjY291bnRSZXBvcnRSZXF1ZXN0EjcKCmRhdGVfcmFuZ2UYASABKAsyIy5ncnBjLnRyYWRlYXBpLnYxLnJlcG9ydHMuRGF0ZVJhbmdlEjkKC3JlcG9ydF9mb3JtGAIgASgOMiQuZ3JwYy50cmFkZWFwaS52MS5yZXBvcnRzLlJlcG9ydEZvcm0SEgoKYWNjb3VudF9pZBgDIAEoAyIwChtDcmVhdGVBY2NvdW50UmVwb3J0UmVzcG9uc2USEQoJcmVwb3J0X2lkGAEgASgJIjAKG0dldEFjY291bnRSZXBvcnRJbmZvUmVxdWVzdBIRCglyZXBvcnRfaWQYASABKAkiWQocR2V0QWNjb3VudFJlcG9ydEluZm9SZXNwb25zZRI5CgRpbmZvGAEgASgLMisuZ3JwYy50cmFkZWFwaS52MS5yZXBvcnRzLkFjY291bnRSZXBvcnRJbmZvIjYKIVN1YnNjcmliZUFjY291bnRSZXBvcnRJbmZvUmVxdWVzdBIRCglyZXBvcnRfaWQYASABKAkiXwoiU3Vic2NyaWJlQWNjb3VudFJlcG9ydEluZm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DQtNCw0L3QvdGL0Lkg0LzQvtC80LXQvdGCINC90LUg0LTQvtGB0YLRg9C/0LXQvS4g0J/QvtC/0YDQvtCx0YPQudGC0LUg0L/QvtC30LbQtVJWCgM1MDQSTwpN0JrRgNCw0LnQvdC40Lkg0YHRgNC+0Log0LjRgdGC0LXQuiDQtNC+INC30LDQstC10YDRiNC10L3QuNGPINC+0L/QtdGA0LDRhtC40LhSIQoHZGVmYXVsdBIWEhQKEhoQZ29vZ2xldHlwZVN0YXR1c1pNCksKDUF1dGhvcml6YXRpb24SOggCEiVKV1Qg0YLQvtC60LXQvSDQsNCy0YLQvtGA0LjQt9Cw0YbQuNC4Gg1BdXRob3JpemF0aW9uIAJiBnByb3RvMw", [file_google_api_annotations, file_google_protobuf_timestamp, file_google_protobuf_wrappers, file_grpc_gateway_protoc_gen_openapiv2_options_annotations]);
15
+
16
+ /**
17
+ * Describes the message grpc.tradeapi.v1.reports.CreateAccountReportRequest.
18
+ * Use `create(CreateAccountReportRequestSchema)` to create a new message.
19
+ */
20
+ export const CreateAccountReportRequestSchema = /*@__PURE__*/
21
+ messageDesc(file_grpc_tradeapi_v1_reports_reports_service, 0);
22
+
23
+ /**
24
+ * Describes the message grpc.tradeapi.v1.reports.CreateAccountReportResponse.
25
+ * Use `create(CreateAccountReportResponseSchema)` to create a new message.
26
+ */
27
+ export const CreateAccountReportResponseSchema = /*@__PURE__*/
28
+ messageDesc(file_grpc_tradeapi_v1_reports_reports_service, 1);
29
+
30
+ /**
31
+ * Describes the message grpc.tradeapi.v1.reports.GetAccountReportInfoRequest.
32
+ * Use `create(GetAccountReportInfoRequestSchema)` to create a new message.
33
+ */
34
+ export const GetAccountReportInfoRequestSchema = /*@__PURE__*/
35
+ messageDesc(file_grpc_tradeapi_v1_reports_reports_service, 2);
36
+
37
+ /**
38
+ * Describes the message grpc.tradeapi.v1.reports.GetAccountReportInfoResponse.
39
+ * Use `create(GetAccountReportInfoResponseSchema)` to create a new message.
40
+ */
41
+ export const GetAccountReportInfoResponseSchema = /*@__PURE__*/
42
+ messageDesc(file_grpc_tradeapi_v1_reports_reports_service, 3);
43
+
44
+ /**
45
+ * Describes the message grpc.tradeapi.v1.reports.SubscribeAccountReportInfoRequest.
46
+ * Use `create(SubscribeAccountReportInfoRequestSchema)` to create a new message.
47
+ */
48
+ export const SubscribeAccountReportInfoRequestSchema = /*@__PURE__*/
49
+ messageDesc(file_grpc_tradeapi_v1_reports_reports_service, 4);
50
+
51
+ /**
52
+ * Describes the message grpc.tradeapi.v1.reports.SubscribeAccountReportInfoResponse.
53
+ * Use `create(SubscribeAccountReportInfoResponseSchema)` to create a new message.
54
+ */
55
+ export const SubscribeAccountReportInfoResponseSchema = /*@__PURE__*/
56
+ messageDesc(file_grpc_tradeapi_v1_reports_reports_service, 5);
57
+
58
+ /**
59
+ * Describes the message grpc.tradeapi.v1.reports.AccountReportInfo.
60
+ * Use `create(AccountReportInfoSchema)` to create a new message.
61
+ */
62
+ export const AccountReportInfoSchema = /*@__PURE__*/
63
+ messageDesc(file_grpc_tradeapi_v1_reports_reports_service, 6);
64
+
65
+ /**
66
+ * Describes the message grpc.tradeapi.v1.reports.DateRange.
67
+ * Use `create(DateRangeSchema)` to create a new message.
68
+ */
69
+ export const DateRangeSchema = /*@__PURE__*/
70
+ messageDesc(file_grpc_tradeapi_v1_reports_reports_service, 7);
71
+
72
+ /**
73
+ * Describes the enum grpc.tradeapi.v1.reports.ReportForm.
74
+ */
75
+ export const ReportFormSchema = /*@__PURE__*/
76
+ enumDesc(file_grpc_tradeapi_v1_reports_reports_service, 0);
77
+
78
+ /**
79
+ * Форма отчета
80
+ *
81
+ * @generated from enum grpc.tradeapi.v1.reports.ReportForm
82
+ */
83
+ export const ReportForm = /*@__PURE__*/
84
+ tsEnum(ReportFormSchema);
85
+
86
+ /**
87
+ * Describes the enum grpc.tradeapi.v1.reports.ReportCreationStatus.
88
+ */
89
+ export const ReportCreationStatusSchema = /*@__PURE__*/
90
+ enumDesc(file_grpc_tradeapi_v1_reports_reports_service, 1);
91
+
92
+ /**
93
+ * Статус генерации отчёта
94
+ *
95
+ * @generated from enum grpc.tradeapi.v1.reports.ReportCreationStatus
96
+ */
97
+ export const ReportCreationStatus = /*@__PURE__*/
98
+ tsEnum(ReportCreationStatusSchema);
99
+
100
+ /**
101
+ * Сервис для получения пользовательских отчетов.
102
+ *
103
+ * @generated from service grpc.tradeapi.v1.reports.ReportsService
104
+ */
105
+ export const ReportsService = /*@__PURE__*/
106
+ serviceDesc(file_grpc_tradeapi_v1_reports_reports_service, 0);
107
+
@@ -0,0 +1,44 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file grpc/tradeapi/v1/side.proto (package grpc.tradeapi.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
6
+
7
+ /**
8
+ * Describes the file grpc/tradeapi/v1/side.proto.
9
+ */
10
+ export declare const file_grpc_tradeapi_v1_side: GenFile;
11
+
12
+ /**
13
+ * Сторона сделки
14
+ *
15
+ * @generated from enum grpc.tradeapi.v1.Side
16
+ */
17
+ export enum Side {
18
+ /**
19
+ * Сторона сделки не указана
20
+ *
21
+ * @generated from enum value: SIDE_UNSPECIFIED = 0;
22
+ */
23
+ UNSPECIFIED = 0,
24
+
25
+ /**
26
+ * Покупка
27
+ *
28
+ * @generated from enum value: SIDE_BUY = 1;
29
+ */
30
+ BUY = 1,
31
+
32
+ /**
33
+ * Продажа
34
+ *
35
+ * @generated from enum value: SIDE_SELL = 2;
36
+ */
37
+ SELL = 2,
38
+ }
39
+
40
+ /**
41
+ * Describes the enum grpc.tradeapi.v1.Side.
42
+ */
43
+ export declare const SideSchema: GenEnum<Side>;
44
+
@@ -0,0 +1,26 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file grpc/tradeapi/v1/side.proto (package grpc.tradeapi.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { enumDesc, fileDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
6
+
7
+ /**
8
+ * Describes the file grpc/tradeapi/v1/side.proto.
9
+ */
10
+ export const file_grpc_tradeapi_v1_side = /*@__PURE__*/
11
+ fileDesc("ChtncnBjL3RyYWRlYXBpL3YxL3NpZGUucHJvdG8SEGdycGMudHJhZGVhcGkudjEqOQoEU2lkZRIUChBTSURFX1VOU1BFQ0lGSUVEEAASDAoIU0lERV9CVVkQARINCglTSURFX1NFTEwQAkI7UAFaN2dpdGh1Yi5jb20vRmluYW1XZWIvZmluYW0tdHJhZGUtYXBpL2dvL2dycGMvdHJhZGVhcGkvdjFiBnByb3RvMw");
12
+
13
+ /**
14
+ * Describes the enum grpc.tradeapi.v1.Side.
15
+ */
16
+ export const SideSchema = /*@__PURE__*/
17
+ enumDesc(file_grpc_tradeapi_v1_side, 0);
18
+
19
+ /**
20
+ * Сторона сделки
21
+ *
22
+ * @generated from enum grpc.tradeapi.v1.Side
23
+ */
24
+ export const Side = /*@__PURE__*/
25
+ tsEnum(SideSchema);
26
+
@@ -0,0 +1,91 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file grpc/tradeapi/v1/trade.proto (package grpc.tradeapi.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { Decimal } from "../../../google/type/decimal_pb.js";
8
+ import type { Side } from "./side_pb.js";
9
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
10
+
11
+ /**
12
+ * Describes the file grpc/tradeapi/v1/trade.proto.
13
+ */
14
+ export declare const file_grpc_tradeapi_v1_trade: GenFile;
15
+
16
+ /**
17
+ * Информация о сделке
18
+ *
19
+ * @generated from message grpc.tradeapi.v1.AccountTrade
20
+ */
21
+ export declare type AccountTrade = Message<"grpc.tradeapi.v1.AccountTrade"> & {
22
+ /**
23
+ * Идентификатор сделки
24
+ *
25
+ * @generated from field: string trade_id = 1;
26
+ */
27
+ tradeId: string;
28
+
29
+ /**
30
+ * Символ инструмента
31
+ *
32
+ * @generated from field: string symbol = 2;
33
+ */
34
+ symbol: string;
35
+
36
+ /**
37
+ * Цена исполнения
38
+ *
39
+ * @generated from field: google.type.Decimal price = 3;
40
+ */
41
+ price?: Decimal;
42
+
43
+ /**
44
+ * Размер в шт.
45
+ *
46
+ * @generated from field: google.type.Decimal size = 4;
47
+ */
48
+ size?: Decimal;
49
+
50
+ /**
51
+ * Сторона сделки (long или short)
52
+ *
53
+ * @generated from field: grpc.tradeapi.v1.Side side = 5;
54
+ */
55
+ side: Side;
56
+
57
+ /**
58
+ * Метка времени
59
+ *
60
+ * @generated from field: google.protobuf.Timestamp timestamp = 6;
61
+ */
62
+ timestamp?: Timestamp;
63
+
64
+ /**
65
+ * Идентификатор заявки
66
+ *
67
+ * @generated from field: string order_id = 7;
68
+ */
69
+ orderId: string;
70
+
71
+ /**
72
+ * Идентификатор аккаунта
73
+ *
74
+ * @generated from field: string account_id = 8;
75
+ */
76
+ accountId: string;
77
+
78
+ /**
79
+ * Метка заявки. (максимум 128 символов)
80
+ *
81
+ * @generated from field: string comment = 9;
82
+ */
83
+ comment: string;
84
+ };
85
+
86
+ /**
87
+ * Describes the message grpc.tradeapi.v1.AccountTrade.
88
+ * Use `create(AccountTradeSchema)` to create a new message.
89
+ */
90
+ export declare const AccountTradeSchema: GenMessage<AccountTrade>;
91
+
@@ -0,0 +1,22 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file grpc/tradeapi/v1/trade.proto (package grpc.tradeapi.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
7
+ import { file_google_type_decimal } from "../../../google/type/decimal_pb.js";
8
+ import { file_grpc_tradeapi_v1_side } from "./side_pb.js";
9
+
10
+ /**
11
+ * Describes the file grpc/tradeapi/v1/trade.proto.
12
+ */
13
+ export const file_grpc_tradeapi_v1_trade = /*@__PURE__*/
14
+ fileDesc("ChxncnBjL3RyYWRlYXBpL3YxL3RyYWRlLnByb3RvEhBncnBjLnRyYWRlYXBpLnYxIoUCCgxBY2NvdW50VHJhZGUSEAoIdHJhZGVfaWQYASABKAkSDgoGc3ltYm9sGAIgASgJEiMKBXByaWNlGAMgASgLMhQuZ29vZ2xlLnR5cGUuRGVjaW1hbBIiCgRzaXplGAQgASgLMhQuZ29vZ2xlLnR5cGUuRGVjaW1hbBIkCgRzaWRlGAUgASgOMhYuZ3JwYy50cmFkZWFwaS52MS5TaWRlEi0KCXRpbWVzdGFtcBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASEAoIb3JkZXJfaWQYByABKAkSEgoKYWNjb3VudF9pZBgIIAEoCRIPCgdjb21tZW50GAkgASgJQjtQAVo3Z2l0aHViLmNvbS9GaW5hbVdlYi9maW5hbS10cmFkZS1hcGkvZ28vZ3JwYy90cmFkZWFwaS92MWIGcHJvdG8z", [file_google_protobuf_timestamp, file_google_type_decimal, file_grpc_tradeapi_v1_side]);
15
+
16
+ /**
17
+ * Describes the message grpc.tradeapi.v1.AccountTrade.
18
+ * Use `create(AccountTradeSchema)` to create a new message.
19
+ */
20
+ export const AccountTradeSchema = /*@__PURE__*/
21
+ messageDesc(file_grpc_tradeapi_v1_trade, 0);
22
+
package/package.json ADDED
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "@finam/grpc-tradeapi",
3
+ "version": "2.14.0",
4
+ "type": "module",
5
+ "exports": {
6
+ "./*": {
7
+ "types": "./*.d.ts",
8
+ "default": "./*.js"
9
+ }
10
+ },
11
+ "dependencies": {
12
+ "@bufbuild/protobuf": "^2.11.0"
13
+ }
14
+ }