@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,143 @@
1
+ // Copyright 2024 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=js"
16
+ // @generated from file google/api/usage.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
20
+ import type { Message } from "@bufbuild/protobuf";
21
+
22
+ /**
23
+ * Describes the file google/api/usage.proto.
24
+ */
25
+ export declare const file_google_api_usage: GenFile;
26
+
27
+ /**
28
+ * Configuration controlling usage of a service.
29
+ *
30
+ * @generated from message google.api.Usage
31
+ */
32
+ export declare type Usage = Message<"google.api.Usage"> & {
33
+ /**
34
+ * Requirements that must be satisfied before a consumer project can use the
35
+ * service. Each requirement is of the form <service.name>/<requirement-id>;
36
+ * for example 'serviceusage.googleapis.com/billing-enabled'.
37
+ *
38
+ * For Google APIs, a Terms of Service requirement must be included here.
39
+ * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
40
+ * Other Google APIs should include
41
+ * "serviceusage.googleapis.com/tos/universal". Additional ToS can be
42
+ * included based on the business needs.
43
+ *
44
+ * @generated from field: repeated string requirements = 1;
45
+ */
46
+ requirements: string[];
47
+
48
+ /**
49
+ * A list of usage rules that apply to individual API methods.
50
+ *
51
+ * **NOTE:** All service configuration rules follow "last one wins" order.
52
+ *
53
+ * @generated from field: repeated google.api.UsageRule rules = 6;
54
+ */
55
+ rules: UsageRule[];
56
+
57
+ /**
58
+ * The full resource name of a channel used for sending notifications to the
59
+ * service producer.
60
+ *
61
+ * Google Service Management currently only supports
62
+ * [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
63
+ * channel. To use Google Cloud Pub/Sub as the channel, this must be the name
64
+ * of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format
65
+ * documented in https://cloud.google.com/pubsub/docs/overview.
66
+ *
67
+ * @generated from field: string producer_notification_channel = 7;
68
+ */
69
+ producerNotificationChannel: string;
70
+ };
71
+
72
+ /**
73
+ * Describes the message google.api.Usage.
74
+ * Use `create(UsageSchema)` to create a new message.
75
+ */
76
+ export declare const UsageSchema: GenMessage<Usage>;
77
+
78
+ /**
79
+ * Usage configuration rules for the service.
80
+ *
81
+ * NOTE: Under development.
82
+ *
83
+ *
84
+ * Use this rule to configure unregistered calls for the service. Unregistered
85
+ * calls are calls that do not contain consumer project identity.
86
+ * (Example: calls that do not contain an API key).
87
+ * By default, API methods do not allow unregistered calls, and each method call
88
+ * must be identified by a consumer project identity. Use this rule to
89
+ * allow/disallow unregistered calls.
90
+ *
91
+ * Example of an API that wants to allow unregistered calls for entire service.
92
+ *
93
+ * usage:
94
+ * rules:
95
+ * - selector: "*"
96
+ * allow_unregistered_calls: true
97
+ *
98
+ * Example of a method that wants to allow unregistered calls.
99
+ *
100
+ * usage:
101
+ * rules:
102
+ * - selector: "google.example.library.v1.LibraryService.CreateBook"
103
+ * allow_unregistered_calls: true
104
+ *
105
+ * @generated from message google.api.UsageRule
106
+ */
107
+ export declare type UsageRule = Message<"google.api.UsageRule"> & {
108
+ /**
109
+ * Selects the methods to which this rule applies. Use '*' to indicate all
110
+ * methods in all APIs.
111
+ *
112
+ * Refer to [selector][google.api.DocumentationRule.selector] for syntax
113
+ * details.
114
+ *
115
+ * @generated from field: string selector = 1;
116
+ */
117
+ selector: string;
118
+
119
+ /**
120
+ * If true, the selected method allows unregistered calls, e.g. calls
121
+ * that don't identify any user or application.
122
+ *
123
+ * @generated from field: bool allow_unregistered_calls = 2;
124
+ */
125
+ allowUnregisteredCalls: boolean;
126
+
127
+ /**
128
+ * If true, the selected method should skip service control and the control
129
+ * plane features, such as quota and billing, will not be available.
130
+ * This flag is used by Google Cloud Endpoints to bypass checks for internal
131
+ * methods, such as service health check methods.
132
+ *
133
+ * @generated from field: bool skip_service_control = 3;
134
+ */
135
+ skipServiceControl: boolean;
136
+ };
137
+
138
+ /**
139
+ * Describes the message google.api.UsageRule.
140
+ * Use `create(UsageRuleSchema)` to create a new message.
141
+ */
142
+ export declare const UsageRuleSchema: GenMessage<UsageRule>;
143
+
@@ -0,0 +1,40 @@
1
+ // Copyright 2024 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=js"
16
+ // @generated from file google/api/usage.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
20
+
21
+ /**
22
+ * Describes the file google/api/usage.proto.
23
+ */
24
+ export const file_google_api_usage = /*@__PURE__*/
25
+ fileDesc("ChZnb29nbGUvYXBpL3VzYWdlLnByb3RvEgpnb29nbGUuYXBpImoKBVVzYWdlEhQKDHJlcXVpcmVtZW50cxgBIAMoCRIkCgVydWxlcxgGIAMoCzIVLmdvb2dsZS5hcGkuVXNhZ2VSdWxlEiUKHXByb2R1Y2VyX25vdGlmaWNhdGlvbl9jaGFubmVsGAcgASgJIl0KCVVzYWdlUnVsZRIQCghzZWxlY3RvchgBIAEoCRIgChhhbGxvd191bnJlZ2lzdGVyZWRfY2FsbHMYAiABKAgSHAoUc2tpcF9zZXJ2aWNlX2NvbnRyb2wYAyABKAhCbAoOY29tLmdvb2dsZS5hcGlCClVzYWdlUHJvdG9QAVpFZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvc2VydmljZWNvbmZpZztzZXJ2aWNlY29uZmlnogIER0FQSWIGcHJvdG8z");
26
+
27
+ /**
28
+ * Describes the message google.api.Usage.
29
+ * Use `create(UsageSchema)` to create a new message.
30
+ */
31
+ export const UsageSchema = /*@__PURE__*/
32
+ messageDesc(file_google_api_usage, 0);
33
+
34
+ /**
35
+ * Describes the message google.api.UsageRule.
36
+ * Use `create(UsageRuleSchema)` to create a new message.
37
+ */
38
+ export const UsageRuleSchema = /*@__PURE__*/
39
+ messageDesc(file_google_api_usage, 1);
40
+
@@ -0,0 +1,158 @@
1
+ // Copyright 2024 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=js"
16
+ // @generated from file google/api/visibility.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
20
+ import type { Message } from "@bufbuild/protobuf";
21
+ import type { EnumOptions, EnumValueOptions, FieldOptions, MessageOptions, MethodOptions, ServiceOptions } from "@bufbuild/protobuf/wkt";
22
+
23
+ /**
24
+ * Describes the file google/api/visibility.proto.
25
+ */
26
+ export declare const file_google_api_visibility: GenFile;
27
+
28
+ /**
29
+ * `Visibility` restricts service consumer's access to service elements,
30
+ * such as whether an application can call a visibility-restricted method.
31
+ * The restriction is expressed by applying visibility labels on service
32
+ * elements. The visibility labels are elsewhere linked to service consumers.
33
+ *
34
+ * A service can define multiple visibility labels, but a service consumer
35
+ * should be granted at most one visibility label. Multiple visibility
36
+ * labels for a single service consumer are not supported.
37
+ *
38
+ * If an element and all its parents have no visibility label, its visibility
39
+ * is unconditionally granted.
40
+ *
41
+ * Example:
42
+ *
43
+ * visibility:
44
+ * rules:
45
+ * - selector: google.calendar.Calendar.EnhancedSearch
46
+ * restriction: PREVIEW
47
+ * - selector: google.calendar.Calendar.Delegate
48
+ * restriction: INTERNAL
49
+ *
50
+ * Here, all methods are publicly visible except for the restricted methods
51
+ * EnhancedSearch and Delegate.
52
+ *
53
+ * @generated from message google.api.Visibility
54
+ */
55
+ export declare type Visibility = Message<"google.api.Visibility"> & {
56
+ /**
57
+ * A list of visibility rules that apply to individual API elements.
58
+ *
59
+ * **NOTE:** All service configuration rules follow "last one wins" order.
60
+ *
61
+ * @generated from field: repeated google.api.VisibilityRule rules = 1;
62
+ */
63
+ rules: VisibilityRule[];
64
+ };
65
+
66
+ /**
67
+ * Describes the message google.api.Visibility.
68
+ * Use `create(VisibilitySchema)` to create a new message.
69
+ */
70
+ export declare const VisibilitySchema: GenMessage<Visibility>;
71
+
72
+ /**
73
+ * A visibility rule provides visibility configuration for an individual API
74
+ * element.
75
+ *
76
+ * @generated from message google.api.VisibilityRule
77
+ */
78
+ export declare type VisibilityRule = Message<"google.api.VisibilityRule"> & {
79
+ /**
80
+ * Selects methods, messages, fields, enums, etc. to which this rule applies.
81
+ *
82
+ * Refer to [selector][google.api.DocumentationRule.selector] for syntax
83
+ * details.
84
+ *
85
+ * @generated from field: string selector = 1;
86
+ */
87
+ selector: string;
88
+
89
+ /**
90
+ * A comma-separated list of visibility labels that apply to the `selector`.
91
+ * Any of the listed labels can be used to grant the visibility.
92
+ *
93
+ * If a rule has multiple labels, removing one of the labels but not all of
94
+ * them can break clients.
95
+ *
96
+ * Example:
97
+ *
98
+ * visibility:
99
+ * rules:
100
+ * - selector: google.calendar.Calendar.EnhancedSearch
101
+ * restriction: INTERNAL, PREVIEW
102
+ *
103
+ * Removing INTERNAL from this restriction will break clients that rely on
104
+ * this method and only had access to it through INTERNAL.
105
+ *
106
+ * @generated from field: string restriction = 2;
107
+ */
108
+ restriction: string;
109
+ };
110
+
111
+ /**
112
+ * Describes the message google.api.VisibilityRule.
113
+ * Use `create(VisibilityRuleSchema)` to create a new message.
114
+ */
115
+ export declare const VisibilityRuleSchema: GenMessage<VisibilityRule>;
116
+
117
+ /**
118
+ * See `VisibilityRule`.
119
+ *
120
+ * @generated from extension: google.api.VisibilityRule enum_visibility = 72295727;
121
+ */
122
+ export declare const enum_visibility: GenExtension<EnumOptions, VisibilityRule>;
123
+
124
+ /**
125
+ * See `VisibilityRule`.
126
+ *
127
+ * @generated from extension: google.api.VisibilityRule value_visibility = 72295727;
128
+ */
129
+ export declare const value_visibility: GenExtension<EnumValueOptions, VisibilityRule>;
130
+
131
+ /**
132
+ * See `VisibilityRule`.
133
+ *
134
+ * @generated from extension: google.api.VisibilityRule field_visibility = 72295727;
135
+ */
136
+ export declare const field_visibility: GenExtension<FieldOptions, VisibilityRule>;
137
+
138
+ /**
139
+ * See `VisibilityRule`.
140
+ *
141
+ * @generated from extension: google.api.VisibilityRule message_visibility = 72295727;
142
+ */
143
+ export declare const message_visibility: GenExtension<MessageOptions, VisibilityRule>;
144
+
145
+ /**
146
+ * See `VisibilityRule`.
147
+ *
148
+ * @generated from extension: google.api.VisibilityRule method_visibility = 72295727;
149
+ */
150
+ export declare const method_visibility: GenExtension<MethodOptions, VisibilityRule>;
151
+
152
+ /**
153
+ * See `VisibilityRule`.
154
+ *
155
+ * @generated from extension: google.api.VisibilityRule api_visibility = 72295727;
156
+ */
157
+ export declare const api_visibility: GenExtension<ServiceOptions, VisibilityRule>;
158
+
@@ -0,0 +1,89 @@
1
+ // Copyright 2024 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=js"
16
+ // @generated from file google/api/visibility.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import { extDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
20
+ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
21
+
22
+ /**
23
+ * Describes the file google/api/visibility.proto.
24
+ */
25
+ export const file_google_api_visibility = /*@__PURE__*/
26
+ fileDesc("Chtnb29nbGUvYXBpL3Zpc2liaWxpdHkucHJvdG8SCmdvb2dsZS5hcGkiNwoKVmlzaWJpbGl0eRIpCgVydWxlcxgBIAMoCzIaLmdvb2dsZS5hcGkuVmlzaWJpbGl0eVJ1bGUiNwoOVmlzaWJpbGl0eVJ1bGUSEAoIc2VsZWN0b3IYASABKAkSEwoLcmVzdHJpY3Rpb24YAiABKAk6ZAoPZW51bV92aXNpYmlsaXR5EhwuZ29vZ2xlLnByb3RvYnVmLkVudW1PcHRpb25zGK/KvCIgASgLMhouZ29vZ2xlLmFwaS5WaXNpYmlsaXR5UnVsZVIOZW51bVZpc2liaWxpdHk6awoQdmFsdWVfdmlzaWJpbGl0eRIhLmdvb2dsZS5wcm90b2J1Zi5FbnVtVmFsdWVPcHRpb25zGK/KvCIgASgLMhouZ29vZ2xlLmFwaS5WaXNpYmlsaXR5UnVsZVIPdmFsdWVWaXNpYmlsaXR5OmcKEGZpZWxkX3Zpc2liaWxpdHkSHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGK/KvCIgASgLMhouZ29vZ2xlLmFwaS5WaXNpYmlsaXR5UnVsZVIPZmllbGRWaXNpYmlsaXR5Om0KEm1lc3NhZ2VfdmlzaWJpbGl0eRIfLmdvb2dsZS5wcm90b2J1Zi5NZXNzYWdlT3B0aW9ucxivyrwiIAEoCzIaLmdvb2dsZS5hcGkuVmlzaWJpbGl0eVJ1bGVSEW1lc3NhZ2VWaXNpYmlsaXR5OmoKEW1ldGhvZF92aXNpYmlsaXR5Eh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYr8q8IiABKAsyGi5nb29nbGUuYXBpLlZpc2liaWxpdHlSdWxlUhBtZXRob2RWaXNpYmlsaXR5OmUKDmFwaV92aXNpYmlsaXR5Eh8uZ29vZ2xlLnByb3RvYnVmLlNlcnZpY2VPcHRpb25zGK/KvCIgASgLMhouZ29vZ2xlLmFwaS5WaXNpYmlsaXR5UnVsZVINYXBpVmlzaWJpbGl0eUJuCg5jb20uZ29vZ2xlLmFwaUIPVmlzaWJpbGl0eVByb3RvUAFaP2dvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL3Zpc2liaWxpdHk7dmlzaWJpbGl0efgBAaICBEdBUEliBnByb3RvMw", [file_google_protobuf_descriptor]);
27
+
28
+ /**
29
+ * Describes the message google.api.Visibility.
30
+ * Use `create(VisibilitySchema)` to create a new message.
31
+ */
32
+ export const VisibilitySchema = /*@__PURE__*/
33
+ messageDesc(file_google_api_visibility, 0);
34
+
35
+ /**
36
+ * Describes the message google.api.VisibilityRule.
37
+ * Use `create(VisibilityRuleSchema)` to create a new message.
38
+ */
39
+ export const VisibilityRuleSchema = /*@__PURE__*/
40
+ messageDesc(file_google_api_visibility, 1);
41
+
42
+ /**
43
+ * See `VisibilityRule`.
44
+ *
45
+ * @generated from extension: google.api.VisibilityRule enum_visibility = 72295727;
46
+ */
47
+ export const enum_visibility = /*@__PURE__*/
48
+ extDesc(file_google_api_visibility, 0);
49
+
50
+ /**
51
+ * See `VisibilityRule`.
52
+ *
53
+ * @generated from extension: google.api.VisibilityRule value_visibility = 72295727;
54
+ */
55
+ export const value_visibility = /*@__PURE__*/
56
+ extDesc(file_google_api_visibility, 1);
57
+
58
+ /**
59
+ * See `VisibilityRule`.
60
+ *
61
+ * @generated from extension: google.api.VisibilityRule field_visibility = 72295727;
62
+ */
63
+ export const field_visibility = /*@__PURE__*/
64
+ extDesc(file_google_api_visibility, 2);
65
+
66
+ /**
67
+ * See `VisibilityRule`.
68
+ *
69
+ * @generated from extension: google.api.VisibilityRule message_visibility = 72295727;
70
+ */
71
+ export const message_visibility = /*@__PURE__*/
72
+ extDesc(file_google_api_visibility, 3);
73
+
74
+ /**
75
+ * See `VisibilityRule`.
76
+ *
77
+ * @generated from extension: google.api.VisibilityRule method_visibility = 72295727;
78
+ */
79
+ export const method_visibility = /*@__PURE__*/
80
+ extDesc(file_google_api_visibility, 4);
81
+
82
+ /**
83
+ * See `VisibilityRule`.
84
+ *
85
+ * @generated from extension: google.api.VisibilityRule api_visibility = 72295727;
86
+ */
87
+ export const api_visibility = /*@__PURE__*/
88
+ extDesc(file_google_api_visibility, 5);
89
+
@@ -0,0 +1,182 @@
1
+ // Protocol Buffers - Google's data interchange format
2
+ // Copyright 2008 Google Inc. All rights reserved.
3
+ // https://developers.google.com/protocol-buffers/
4
+ //
5
+ // Redistribution and use in source and binary forms, with or without
6
+ // modification, are permitted provided that the following conditions are
7
+ // met:
8
+ //
9
+ // * Redistributions of source code must retain the above copyright
10
+ // notice, this list of conditions and the following disclaimer.
11
+ // * Redistributions in binary form must reproduce the above
12
+ // copyright notice, this list of conditions and the following disclaimer
13
+ // in the documentation and/or other materials provided with the
14
+ // distribution.
15
+ // * Neither the name of Google Inc. nor the names of its
16
+ // contributors may be used to endorse or promote products derived from
17
+ // this software without specific prior written permission.
18
+ //
19
+ // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20
+ // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21
+ // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22
+ // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23
+ // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24
+ // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25
+ // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26
+ // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27
+ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28
+ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
+
31
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=js"
32
+ // @generated from file google/protobuf/any.proto (package google.protobuf, syntax proto3)
33
+ /* eslint-disable */
34
+
35
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
36
+ import type { Message } from "@bufbuild/protobuf";
37
+
38
+ /**
39
+ * Describes the file google/protobuf/any.proto.
40
+ */
41
+ export declare const file_google_protobuf_any: GenFile;
42
+
43
+ /**
44
+ * `Any` contains an arbitrary serialized protocol buffer message along with a
45
+ * URL that describes the type of the serialized message.
46
+ *
47
+ * Protobuf library provides support to pack/unpack Any values in the form
48
+ * of utility functions or additional generated methods of the Any type.
49
+ *
50
+ * Example 1: Pack and unpack a message in C++.
51
+ *
52
+ * Foo foo = ...;
53
+ * Any any;
54
+ * any.PackFrom(foo);
55
+ * ...
56
+ * if (any.UnpackTo(&foo)) {
57
+ * ...
58
+ * }
59
+ *
60
+ * Example 2: Pack and unpack a message in Java.
61
+ *
62
+ * Foo foo = ...;
63
+ * Any any = Any.pack(foo);
64
+ * ...
65
+ * if (any.is(Foo.class)) {
66
+ * foo = any.unpack(Foo.class);
67
+ * }
68
+ * // or ...
69
+ * if (any.isSameTypeAs(Foo.getDefaultInstance())) {
70
+ * foo = any.unpack(Foo.getDefaultInstance());
71
+ * }
72
+ *
73
+ * Example 3: Pack and unpack a message in Python.
74
+ *
75
+ * foo = Foo(...)
76
+ * any = Any()
77
+ * any.Pack(foo)
78
+ * ...
79
+ * if any.Is(Foo.DESCRIPTOR):
80
+ * any.Unpack(foo)
81
+ * ...
82
+ *
83
+ * Example 4: Pack and unpack a message in Go
84
+ *
85
+ * foo := &pb.Foo{...}
86
+ * any, err := anypb.New(foo)
87
+ * if err != nil {
88
+ * ...
89
+ * }
90
+ * ...
91
+ * foo := &pb.Foo{}
92
+ * if err := any.UnmarshalTo(foo); err != nil {
93
+ * ...
94
+ * }
95
+ *
96
+ * The pack methods provided by protobuf library will by default use
97
+ * 'type.googleapis.com/full.type.name' as the type URL and the unpack
98
+ * methods only use the fully qualified type name after the last '/'
99
+ * in the type URL, for example "foo.bar.com/x/y.z" will yield type
100
+ * name "y.z".
101
+ *
102
+ * JSON
103
+ * ====
104
+ * The JSON representation of an `Any` value uses the regular
105
+ * representation of the deserialized, embedded message, with an
106
+ * additional field `@type` which contains the type URL. Example:
107
+ *
108
+ * package google.profile;
109
+ * message Person {
110
+ * string first_name = 1;
111
+ * string last_name = 2;
112
+ * }
113
+ *
114
+ * {
115
+ * "@type": "type.googleapis.com/google.profile.Person",
116
+ * "firstName": <string>,
117
+ * "lastName": <string>
118
+ * }
119
+ *
120
+ * If the embedded message type is well-known and has a custom JSON
121
+ * representation, that representation will be embedded adding a field
122
+ * `value` which holds the custom JSON in addition to the `@type`
123
+ * field. Example (for message [google.protobuf.Duration][]):
124
+ *
125
+ * {
126
+ * "@type": "type.googleapis.com/google.protobuf.Duration",
127
+ * "value": "1.212s"
128
+ * }
129
+ *
130
+ *
131
+ * @generated from message google.protobuf.Any
132
+ */
133
+ export declare type Any = Message<"google.protobuf.Any"> & {
134
+ /**
135
+ * A URL/resource name that uniquely identifies the type of the serialized
136
+ * protocol buffer message. This string must contain at least
137
+ * one "/" character. The last segment of the URL's path must represent
138
+ * the fully qualified name of the type (as in
139
+ * `path/google.protobuf.Duration`). The name should be in a canonical form
140
+ * (e.g., leading "." is not accepted).
141
+ *
142
+ * In practice, teams usually precompile into the binary all types that they
143
+ * expect it to use in the context of Any. However, for URLs which use the
144
+ * scheme `http`, `https`, or no scheme, one can optionally set up a type
145
+ * server that maps type URLs to message definitions as follows:
146
+ *
147
+ * * If no scheme is provided, `https` is assumed.
148
+ * * An HTTP GET on the URL must yield a [google.protobuf.Type][]
149
+ * value in binary format, or produce an error.
150
+ * * Applications are allowed to cache lookup results based on the
151
+ * URL, or have them precompiled into a binary to avoid any
152
+ * lookup. Therefore, binary compatibility needs to be preserved
153
+ * on changes to types. (Use versioned type names to manage
154
+ * breaking changes.)
155
+ *
156
+ * Note: this functionality is not currently available in the official
157
+ * protobuf release, and it is not used for type URLs beginning with
158
+ * type.googleapis.com. As of May 2023, there are no widely used type server
159
+ * implementations and no plans to implement one.
160
+ *
161
+ * Schemes other than `http`, `https` (or the empty scheme) might be
162
+ * used with implementation specific semantics.
163
+ *
164
+ *
165
+ * @generated from field: string type_url = 1;
166
+ */
167
+ typeUrl: string;
168
+
169
+ /**
170
+ * Must be a valid serialized protocol buffer of the above specified type.
171
+ *
172
+ * @generated from field: bytes value = 2;
173
+ */
174
+ value: Uint8Array;
175
+ };
176
+
177
+ /**
178
+ * Describes the message google.protobuf.Any.
179
+ * Use `create(AnySchema)` to create a new message.
180
+ */
181
+ export declare const AnySchema: GenMessage<Any>;
182
+
@@ -0,0 +1,49 @@
1
+ // Protocol Buffers - Google's data interchange format
2
+ // Copyright 2008 Google Inc. All rights reserved.
3
+ // https://developers.google.com/protocol-buffers/
4
+ //
5
+ // Redistribution and use in source and binary forms, with or without
6
+ // modification, are permitted provided that the following conditions are
7
+ // met:
8
+ //
9
+ // * Redistributions of source code must retain the above copyright
10
+ // notice, this list of conditions and the following disclaimer.
11
+ // * Redistributions in binary form must reproduce the above
12
+ // copyright notice, this list of conditions and the following disclaimer
13
+ // in the documentation and/or other materials provided with the
14
+ // distribution.
15
+ // * Neither the name of Google Inc. nor the names of its
16
+ // contributors may be used to endorse or promote products derived from
17
+ // this software without specific prior written permission.
18
+ //
19
+ // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20
+ // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21
+ // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22
+ // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23
+ // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24
+ // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25
+ // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26
+ // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27
+ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28
+ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
+
31
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=js"
32
+ // @generated from file google/protobuf/any.proto (package google.protobuf, syntax proto3)
33
+ /* eslint-disable */
34
+
35
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
36
+
37
+ /**
38
+ * Describes the file google/protobuf/any.proto.
39
+ */
40
+ export const file_google_protobuf_any = /*@__PURE__*/
41
+ fileDesc("Chlnb29nbGUvcHJvdG9idWYvYW55LnByb3RvEg9nb29nbGUucHJvdG9idWYiJgoDQW55EhAKCHR5cGVfdXJsGAEgASgJEg0KBXZhbHVlGAIgASgMQnYKE2NvbS5nb29nbGUucHJvdG9idWZCCEFueVByb3RvUAFaLGdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2FueXBiogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM");
42
+
43
+ /**
44
+ * Describes the message google.protobuf.Any.
45
+ * Use `create(AnySchema)` to create a new message.
46
+ */
47
+ export const AnySchema = /*@__PURE__*/
48
+ messageDesc(file_google_protobuf_any, 0);
49
+