@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,49 @@
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/error_reason.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import { enumDesc, fileDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
20
+
21
+ /**
22
+ * Describes the file google/api/error_reason.proto.
23
+ */
24
+ export const file_google_api_error_reason = /*@__PURE__*/
25
+ fileDesc("Ch1nb29nbGUvYXBpL2Vycm9yX3JlYXNvbi5wcm90bxIKZ29vZ2xlLmFwaSq6BwoLRXJyb3JSZWFzb24SHAoYRVJST1JfUkVBU09OX1VOU1BFQ0lGSUVEEAASFAoQU0VSVklDRV9ESVNBQkxFRBABEhQKEEJJTExJTkdfRElTQUJMRUQQAhITCg9BUElfS0VZX0lOVkFMSUQQAxIbChdBUElfS0VZX1NFUlZJQ0VfQkxPQ0tFRBAEEiEKHUFQSV9LRVlfSFRUUF9SRUZFUlJFUl9CTE9DS0VEEAcSHgoaQVBJX0tFWV9JUF9BRERSRVNTX0JMT0NLRUQQCBIfChtBUElfS0VZX0FORFJPSURfQVBQX0JMT0NLRUQQCRIbChdBUElfS0VZX0lPU19BUFBfQkxPQ0tFRBANEhcKE1JBVEVfTElNSVRfRVhDRUVERUQQBRIbChdSRVNPVVJDRV9RVU9UQV9FWENFRURFRBAGEiAKHExPQ0FUSU9OX1RBWF9QT0xJQ1lfVklPTEFURUQQChIXChNVU0VSX1BST0pFQ1RfREVOSUVEEAsSFgoSQ09OU1VNRVJfU1VTUEVOREVEEAwSFAoQQ09OU1VNRVJfSU5WQUxJRBAOEhwKGFNFQ1VSSVRZX1BPTElDWV9WSU9MQVRFRBAPEhgKFEFDQ0VTU19UT0tFTl9FWFBJUkVEEBASIwofQUNDRVNTX1RPS0VOX1NDT1BFX0lOU1VGRklDSUVOVBAREhkKFUFDQ09VTlRfU1RBVEVfSU5WQUxJRBASEiEKHUFDQ0VTU19UT0tFTl9UWVBFX1VOU1VQUE9SVEVEEBMSFwoTQ1JFREVOVElBTFNfTUlTU0lORxAUEhwKGFJFU09VUkNFX1BST0pFQ1RfSU5WQUxJRBAVEhoKFlNFU1NJT05fQ09PS0lFX0lOVkFMSUQQFxIZChVVU0VSX0JMT0NLRURfQllfQURNSU4QGBInCiNSRVNPVVJDRV9VU0FHRV9SRVNUUklDVElPTl9WSU9MQVRFRBAZEiAKHFNZU1RFTV9QQVJBTUVURVJfVU5TVVBQT1JURUQQGhIdChlPUkdfUkVTVFJJQ1RJT05fVklPTEFUSU9OEBsSIgoeT1JHX1JFU1RSSUNUSU9OX0hFQURFUl9JTlZBTElEEBwSFwoTU0VSVklDRV9OT1RfVklTSUJMRRAdEhEKDUdDUF9TVVNQRU5ERUQQHhIcChhMT0NBVElPTl9QT0xJQ1lfVklPTEFURUQQHxISCg5NSVNTSU5HX09SSUdJThAhEhoKFk9WRVJMT0FERURfQ1JFREVOVElBTFMQIkJwCg5jb20uZ29vZ2xlLmFwaUIQRXJyb3JSZWFzb25Qcm90b1ABWkNnb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2FwaS9lcnJvcl9yZWFzb247ZXJyb3JfcmVhc29uogIER0FQSWIGcHJvdG8z");
26
+
27
+ /**
28
+ * Describes the enum google.api.ErrorReason.
29
+ */
30
+ export const ErrorReasonSchema = /*@__PURE__*/
31
+ enumDesc(file_google_api_error_reason, 0);
32
+
33
+ /**
34
+ * Defines the supported values for `google.rpc.ErrorInfo.reason` for the
35
+ * `googleapis.com` error domain. This error domain is reserved for [Service
36
+ * Infrastructure](https://cloud.google.com/service-infrastructure/docs/overview).
37
+ * For each error info of this domain, the metadata key "service" refers to the
38
+ * logical identifier of an API service, such as "pubsub.googleapis.com". The
39
+ * "consumer" refers to the entity that consumes an API Service. It typically is
40
+ * a Google project that owns the client application or the server resource,
41
+ * such as "projects/123". Other metadata keys are specific to each error
42
+ * reason. For more information, see the definition of the specific error
43
+ * reason.
44
+ *
45
+ * @generated from enum google.api.ErrorReason
46
+ */
47
+ export const ErrorReason = /*@__PURE__*/
48
+ tsEnum(ErrorReasonSchema);
49
+
@@ -0,0 +1,152 @@
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/field_behavior.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenEnum, GenExtension, GenFile } from "@bufbuild/protobuf/codegenv2";
20
+ import type { FieldOptions } from "@bufbuild/protobuf/wkt";
21
+
22
+ /**
23
+ * Describes the file google/api/field_behavior.proto.
24
+ */
25
+ export declare const file_google_api_field_behavior: GenFile;
26
+
27
+ /**
28
+ * An indicator of the behavior of a given field (for example, that a field
29
+ * is required in requests, or given as output but ignored as input).
30
+ * This **does not** change the behavior in protocol buffers itself; it only
31
+ * denotes the behavior and may affect how API tooling handles the field.
32
+ *
33
+ * Note: This enum **may** receive new values in the future.
34
+ *
35
+ * @generated from enum google.api.FieldBehavior
36
+ */
37
+ export enum FieldBehavior {
38
+ /**
39
+ * Conventional default for enums. Do not use this.
40
+ *
41
+ * @generated from enum value: FIELD_BEHAVIOR_UNSPECIFIED = 0;
42
+ */
43
+ FIELD_BEHAVIOR_UNSPECIFIED = 0,
44
+
45
+ /**
46
+ * Specifically denotes a field as optional.
47
+ * While all fields in protocol buffers are optional, this may be specified
48
+ * for emphasis if appropriate.
49
+ *
50
+ * @generated from enum value: OPTIONAL = 1;
51
+ */
52
+ OPTIONAL = 1,
53
+
54
+ /**
55
+ * Denotes a field as required.
56
+ * This indicates that the field **must** be provided as part of the request,
57
+ * and failure to do so will cause an error (usually `INVALID_ARGUMENT`).
58
+ *
59
+ * @generated from enum value: REQUIRED = 2;
60
+ */
61
+ REQUIRED = 2,
62
+
63
+ /**
64
+ * Denotes a field as output only.
65
+ * This indicates that the field is provided in responses, but including the
66
+ * field in a request does nothing (the server *must* ignore it and
67
+ * *must not* throw an error as a result of the field's presence).
68
+ *
69
+ * @generated from enum value: OUTPUT_ONLY = 3;
70
+ */
71
+ OUTPUT_ONLY = 3,
72
+
73
+ /**
74
+ * Denotes a field as input only.
75
+ * This indicates that the field is provided in requests, and the
76
+ * corresponding field is not included in output.
77
+ *
78
+ * @generated from enum value: INPUT_ONLY = 4;
79
+ */
80
+ INPUT_ONLY = 4,
81
+
82
+ /**
83
+ * Denotes a field as immutable.
84
+ * This indicates that the field may be set once in a request to create a
85
+ * resource, but may not be changed thereafter.
86
+ *
87
+ * @generated from enum value: IMMUTABLE = 5;
88
+ */
89
+ IMMUTABLE = 5,
90
+
91
+ /**
92
+ * Denotes that a (repeated) field is an unordered list.
93
+ * This indicates that the service may provide the elements of the list
94
+ * in any arbitrary order, rather than the order the user originally
95
+ * provided. Additionally, the list's order may or may not be stable.
96
+ *
97
+ * @generated from enum value: UNORDERED_LIST = 6;
98
+ */
99
+ UNORDERED_LIST = 6,
100
+
101
+ /**
102
+ * Denotes that this field returns a non-empty default value if not set.
103
+ * This indicates that if the user provides the empty value in a request,
104
+ * a non-empty value will be returned. The user will not be aware of what
105
+ * non-empty value to expect.
106
+ *
107
+ * @generated from enum value: NON_EMPTY_DEFAULT = 7;
108
+ */
109
+ NON_EMPTY_DEFAULT = 7,
110
+
111
+ /**
112
+ * Denotes that the field in a resource (a message annotated with
113
+ * google.api.resource) is used in the resource name to uniquely identify the
114
+ * resource. For AIP-compliant APIs, this should only be applied to the
115
+ * `name` field on the resource.
116
+ *
117
+ * This behavior should not be applied to references to other resources within
118
+ * the message.
119
+ *
120
+ * The identifier field of resources often have different field behavior
121
+ * depending on the request it is embedded in (e.g. for Create methods name
122
+ * is optional and unused, while for Update methods it is required). Instead
123
+ * of method-specific annotations, only `IDENTIFIER` is required.
124
+ *
125
+ * @generated from enum value: IDENTIFIER = 8;
126
+ */
127
+ IDENTIFIER = 8,
128
+ }
129
+
130
+ /**
131
+ * Describes the enum google.api.FieldBehavior.
132
+ */
133
+ export declare const FieldBehaviorSchema: GenEnum<FieldBehavior>;
134
+
135
+ /**
136
+ * A designation of a specific field behavior (required, output only, etc.)
137
+ * in protobuf messages.
138
+ *
139
+ * Examples:
140
+ *
141
+ * string name = 1 [(google.api.field_behavior) = REQUIRED];
142
+ * State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
143
+ * google.protobuf.Duration ttl = 1
144
+ * [(google.api.field_behavior) = INPUT_ONLY];
145
+ * google.protobuf.Timestamp expire_time = 1
146
+ * [(google.api.field_behavior) = OUTPUT_ONLY,
147
+ * (google.api.field_behavior) = IMMUTABLE];
148
+ *
149
+ * @generated from extension: repeated google.api.FieldBehavior field_behavior = 1052 [packed = false];
150
+ */
151
+ export declare const field_behavior: GenExtension<FieldOptions, FieldBehavior[]>;
152
+
@@ -0,0 +1,65 @@
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/field_behavior.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import { enumDesc, extDesc, fileDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
20
+ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
21
+
22
+ /**
23
+ * Describes the file google/api/field_behavior.proto.
24
+ */
25
+ export const file_google_api_field_behavior = /*@__PURE__*/
26
+ fileDesc("Ch9nb29nbGUvYXBpL2ZpZWxkX2JlaGF2aW9yLnByb3RvEgpnb29nbGUuYXBpKrYBCg1GaWVsZEJlaGF2aW9yEh4KGkZJRUxEX0JFSEFWSU9SX1VOU1BFQ0lGSUVEEAASDAoIT1BUSU9OQUwQARIMCghSRVFVSVJFRBACEg8KC09VVFBVVF9PTkxZEAMSDgoKSU5QVVRfT05MWRAEEg0KCUlNTVVUQUJMRRAFEhIKDlVOT1JERVJFRF9MSVNUEAYSFQoRTk9OX0VNUFRZX0RFRkFVTFQQBxIOCgpJREVOVElGSUVSEAg6ZAoOZmllbGRfYmVoYXZpb3ISHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGJwIIAMoDjIZLmdvb2dsZS5hcGkuRmllbGRCZWhhdmlvckICEABSDWZpZWxkQmVoYXZpb3JCcAoOY29tLmdvb2dsZS5hcGlCEkZpZWxkQmVoYXZpb3JQcm90b1ABWkFnb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2FwaS9hbm5vdGF0aW9uczthbm5vdGF0aW9uc6ICBEdBUEliBnByb3RvMw", [file_google_protobuf_descriptor]);
27
+
28
+ /**
29
+ * Describes the enum google.api.FieldBehavior.
30
+ */
31
+ export const FieldBehaviorSchema = /*@__PURE__*/
32
+ enumDesc(file_google_api_field_behavior, 0);
33
+
34
+ /**
35
+ * An indicator of the behavior of a given field (for example, that a field
36
+ * is required in requests, or given as output but ignored as input).
37
+ * This **does not** change the behavior in protocol buffers itself; it only
38
+ * denotes the behavior and may affect how API tooling handles the field.
39
+ *
40
+ * Note: This enum **may** receive new values in the future.
41
+ *
42
+ * @generated from enum google.api.FieldBehavior
43
+ */
44
+ export const FieldBehavior = /*@__PURE__*/
45
+ tsEnum(FieldBehaviorSchema);
46
+
47
+ /**
48
+ * A designation of a specific field behavior (required, output only, etc.)
49
+ * in protobuf messages.
50
+ *
51
+ * Examples:
52
+ *
53
+ * string name = 1 [(google.api.field_behavior) = REQUIRED];
54
+ * State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
55
+ * google.protobuf.Duration ttl = 1
56
+ * [(google.api.field_behavior) = INPUT_ONLY];
57
+ * google.protobuf.Timestamp expire_time = 1
58
+ * [(google.api.field_behavior) = OUTPUT_ONLY,
59
+ * (google.api.field_behavior) = IMMUTABLE];
60
+ *
61
+ * @generated from extension: repeated google.api.FieldBehavior field_behavior = 1052 [packed = false];
62
+ */
63
+ export const field_behavior = /*@__PURE__*/
64
+ extDesc(file_google_api_field_behavior, 0);
65
+
@@ -0,0 +1,171 @@
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/field_info.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenEnum, GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
20
+ import type { Message } from "@bufbuild/protobuf";
21
+ import type { FieldOptions } from "@bufbuild/protobuf/wkt";
22
+
23
+ /**
24
+ * Describes the file google/api/field_info.proto.
25
+ */
26
+ export declare const file_google_api_field_info: GenFile;
27
+
28
+ /**
29
+ * Rich semantic information of an API field beyond basic typing.
30
+ *
31
+ * @generated from message google.api.FieldInfo
32
+ */
33
+ export declare type FieldInfo = Message<"google.api.FieldInfo"> & {
34
+ /**
35
+ * The standard format of a field value. This does not explicitly configure
36
+ * any API consumer, just documents the API's format for the field it is
37
+ * applied to.
38
+ *
39
+ * @generated from field: google.api.FieldInfo.Format format = 1;
40
+ */
41
+ format: FieldInfo_Format;
42
+
43
+ /**
44
+ * The type(s) that the annotated, generic field may represent.
45
+ *
46
+ * Currently, this must only be used on fields of type `google.protobuf.Any`.
47
+ * Supporting other generic types may be considered in the future.
48
+ *
49
+ * @generated from field: repeated google.api.TypeReference referenced_types = 2;
50
+ */
51
+ referencedTypes: TypeReference[];
52
+ };
53
+
54
+ /**
55
+ * Describes the message google.api.FieldInfo.
56
+ * Use `create(FieldInfoSchema)` to create a new message.
57
+ */
58
+ export declare const FieldInfoSchema: GenMessage<FieldInfo>;
59
+
60
+ /**
61
+ * The standard format of a field value. The supported formats are all backed
62
+ * by either an RFC defined by the IETF or a Google-defined AIP.
63
+ *
64
+ * @generated from enum google.api.FieldInfo.Format
65
+ */
66
+ export enum FieldInfo_Format {
67
+ /**
68
+ * Default, unspecified value.
69
+ *
70
+ * @generated from enum value: FORMAT_UNSPECIFIED = 0;
71
+ */
72
+ FORMAT_UNSPECIFIED = 0,
73
+
74
+ /**
75
+ * Universally Unique Identifier, version 4, value as defined by
76
+ * https://datatracker.ietf.org/doc/html/rfc4122. The value may be
77
+ * normalized to entirely lowercase letters. For example, the value
78
+ * `F47AC10B-58CC-0372-8567-0E02B2C3D479` would be normalized to
79
+ * `f47ac10b-58cc-0372-8567-0e02b2c3d479`.
80
+ *
81
+ * @generated from enum value: UUID4 = 1;
82
+ */
83
+ UUID4 = 1,
84
+
85
+ /**
86
+ * Internet Protocol v4 value as defined by [RFC
87
+ * 791](https://datatracker.ietf.org/doc/html/rfc791). The value may be
88
+ * condensed, with leading zeros in each octet stripped. For example,
89
+ * `001.022.233.040` would be condensed to `1.22.233.40`.
90
+ *
91
+ * @generated from enum value: IPV4 = 2;
92
+ */
93
+ IPV4 = 2,
94
+
95
+ /**
96
+ * Internet Protocol v6 value as defined by [RFC
97
+ * 2460](https://datatracker.ietf.org/doc/html/rfc2460). The value may be
98
+ * normalized to entirely lowercase letters with zeros compressed, following
99
+ * [RFC 5952](https://datatracker.ietf.org/doc/html/rfc5952). For example,
100
+ * the value `2001:0DB8:0::0` would be normalized to `2001:db8::`.
101
+ *
102
+ * @generated from enum value: IPV6 = 3;
103
+ */
104
+ IPV6 = 3,
105
+
106
+ /**
107
+ * An IP address in either v4 or v6 format as described by the individual
108
+ * values defined herein. See the comments on the IPV4 and IPV6 types for
109
+ * allowed normalizations of each.
110
+ *
111
+ * @generated from enum value: IPV4_OR_IPV6 = 4;
112
+ */
113
+ IPV4_OR_IPV6 = 4,
114
+ }
115
+
116
+ /**
117
+ * Describes the enum google.api.FieldInfo.Format.
118
+ */
119
+ export declare const FieldInfo_FormatSchema: GenEnum<FieldInfo_Format>;
120
+
121
+ /**
122
+ * A reference to a message type, for use in [FieldInfo][google.api.FieldInfo].
123
+ *
124
+ * @generated from message google.api.TypeReference
125
+ */
126
+ export declare type TypeReference = Message<"google.api.TypeReference"> & {
127
+ /**
128
+ * The name of the type that the annotated, generic field may represent.
129
+ * If the type is in the same protobuf package, the value can be the simple
130
+ * message name e.g., `"MyMessage"`. Otherwise, the value must be the
131
+ * fully-qualified message name e.g., `"google.library.v1.Book"`.
132
+ *
133
+ * If the type(s) are unknown to the service (e.g. the field accepts generic
134
+ * user input), use the wildcard `"*"` to denote this behavior.
135
+ *
136
+ * See [AIP-202](https://google.aip.dev/202#type-references) for more details.
137
+ *
138
+ * @generated from field: string type_name = 1;
139
+ */
140
+ typeName: string;
141
+ };
142
+
143
+ /**
144
+ * Describes the message google.api.TypeReference.
145
+ * Use `create(TypeReferenceSchema)` to create a new message.
146
+ */
147
+ export declare const TypeReferenceSchema: GenMessage<TypeReference>;
148
+
149
+ /**
150
+ * Rich semantic descriptor of an API field beyond the basic typing.
151
+ *
152
+ * Examples:
153
+ *
154
+ * string request_id = 1 [(google.api.field_info).format = UUID4];
155
+ * string old_ip_address = 2 [(google.api.field_info).format = IPV4];
156
+ * string new_ip_address = 3 [(google.api.field_info).format = IPV6];
157
+ * string actual_ip_address = 4 [
158
+ * (google.api.field_info).format = IPV4_OR_IPV6
159
+ * ];
160
+ * google.protobuf.Any generic_field = 5 [
161
+ * (google.api.field_info).referenced_types = {type_name: "ActualType"},
162
+ * (google.api.field_info).referenced_types = {type_name: "OtherType"},
163
+ * ];
164
+ * google.protobuf.Any generic_user_input = 5 [
165
+ * (google.api.field_info).referenced_types = {type_name: "*"},
166
+ * ];
167
+ *
168
+ * @generated from extension: google.api.FieldInfo field_info = 291403980;
169
+ */
170
+ export declare const field_info: GenExtension<FieldOptions, FieldInfo>;
171
+
@@ -0,0 +1,80 @@
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/field_info.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import { enumDesc, extDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
20
+ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
21
+
22
+ /**
23
+ * Describes the file google/api/field_info.proto.
24
+ */
25
+ export const file_google_api_field_info = /*@__PURE__*/
26
+ fileDesc("Chtnb29nbGUvYXBpL2ZpZWxkX2luZm8ucHJvdG8SCmdvb2dsZS5hcGkiwQEKCUZpZWxkSW5mbxIsCgZmb3JtYXQYASABKA4yHC5nb29nbGUuYXBpLkZpZWxkSW5mby5Gb3JtYXQSMwoQcmVmZXJlbmNlZF90eXBlcxgCIAMoCzIZLmdvb2dsZS5hcGkuVHlwZVJlZmVyZW5jZSJRCgZGb3JtYXQSFgoSRk9STUFUX1VOU1BFQ0lGSUVEEAASCQoFVVVJRDQQARIICgRJUFY0EAISCAoESVBWNhADEhAKDElQVjRfT1JfSVBWNhAEIiIKDVR5cGVSZWZlcmVuY2USEQoJdHlwZV9uYW1lGAEgASgJOlcKCmZpZWxkX2luZm8SHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGMzx+YoBIAEoCzIVLmdvb2dsZS5hcGkuRmllbGRJbmZvUglmaWVsZEluZm9CbAoOY29tLmdvb2dsZS5hcGlCDkZpZWxkSW5mb1Byb3RvUAFaQWdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL2Fubm90YXRpb25zO2Fubm90YXRpb25zogIER0FQSWIGcHJvdG8z", [file_google_protobuf_descriptor]);
27
+
28
+ /**
29
+ * Describes the message google.api.FieldInfo.
30
+ * Use `create(FieldInfoSchema)` to create a new message.
31
+ */
32
+ export const FieldInfoSchema = /*@__PURE__*/
33
+ messageDesc(file_google_api_field_info, 0);
34
+
35
+ /**
36
+ * Describes the enum google.api.FieldInfo.Format.
37
+ */
38
+ export const FieldInfo_FormatSchema = /*@__PURE__*/
39
+ enumDesc(file_google_api_field_info, 0, 0);
40
+
41
+ /**
42
+ * The standard format of a field value. The supported formats are all backed
43
+ * by either an RFC defined by the IETF or a Google-defined AIP.
44
+ *
45
+ * @generated from enum google.api.FieldInfo.Format
46
+ */
47
+ export const FieldInfo_Format = /*@__PURE__*/
48
+ tsEnum(FieldInfo_FormatSchema);
49
+
50
+ /**
51
+ * Describes the message google.api.TypeReference.
52
+ * Use `create(TypeReferenceSchema)` to create a new message.
53
+ */
54
+ export const TypeReferenceSchema = /*@__PURE__*/
55
+ messageDesc(file_google_api_field_info, 1);
56
+
57
+ /**
58
+ * Rich semantic descriptor of an API field beyond the basic typing.
59
+ *
60
+ * Examples:
61
+ *
62
+ * string request_id = 1 [(google.api.field_info).format = UUID4];
63
+ * string old_ip_address = 2 [(google.api.field_info).format = IPV4];
64
+ * string new_ip_address = 3 [(google.api.field_info).format = IPV6];
65
+ * string actual_ip_address = 4 [
66
+ * (google.api.field_info).format = IPV4_OR_IPV6
67
+ * ];
68
+ * google.protobuf.Any generic_field = 5 [
69
+ * (google.api.field_info).referenced_types = {type_name: "ActualType"},
70
+ * (google.api.field_info).referenced_types = {type_name: "OtherType"},
71
+ * ];
72
+ * google.protobuf.Any generic_user_input = 5 [
73
+ * (google.api.field_info).referenced_types = {type_name: "*"},
74
+ * ];
75
+ *
76
+ * @generated from extension: google.api.FieldInfo field_info = 291403980;
77
+ */
78
+ export const field_info = /*@__PURE__*/
79
+ extDesc(file_google_api_field_info, 0);
80
+