@openmarket/market-data-proto 12.85.0 → 12.87.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.
@@ -0,0 +1,446 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { AssetClass, Category, Exchange, Type } from "../../enums_pb.js";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file tsdb-gateway/v3/search.proto.
6
+ */
7
+ export declare const file_tsdb_gateway_v3_search: GenFile;
8
+ /**
9
+ * @generated from message gateway.v3.StreamSearchRequest
10
+ */
11
+ export type StreamSearchRequest = Message<"gateway.v3.StreamSearchRequest"> & {
12
+ /**
13
+ * Required: an empty query is refused with V3_ERROR_CODE_INVALID_ARGUMENT.
14
+ * Case, spaces and the separators - _ / are ignored, so "btc-usdt" and
15
+ * "BTCUSDT" are the same query.
16
+ *
17
+ * @generated from field: string query = 1;
18
+ */
19
+ query: string;
20
+ /**
21
+ * Only groups of these classes. Empty is every class.
22
+ *
23
+ * @generated from field: repeated AssetClass assetClasses = 2;
24
+ */
25
+ assetClasses: AssetClass[];
26
+ /**
27
+ * Only these venues' markets; a group none of whose markets is on them is
28
+ * left out. Empty is every venue.
29
+ *
30
+ * @generated from field: repeated Exchange venues = 3;
31
+ */
32
+ venues: Exchange[];
33
+ /**
34
+ * Groups per page: 25 when unset, at most 100.
35
+ *
36
+ * @generated from field: int32 limit = 4;
37
+ */
38
+ limit: number;
39
+ /**
40
+ * The previous page's nextPageToken, sent back as received, with the same
41
+ * query and filters. Empty asks the first page.
42
+ *
43
+ * @generated from field: string pageToken = 5;
44
+ */
45
+ pageToken: string;
46
+ /**
47
+ * Markets per group: 5 when unset. variantCount still counts all of them.
48
+ *
49
+ * @generated from field: optional int32 variantLimit = 6;
50
+ */
51
+ variantLimit?: number;
52
+ };
53
+ /**
54
+ * Describes the message gateway.v3.StreamSearchRequest.
55
+ * Use `create(StreamSearchRequestSchema)` to create a new message.
56
+ */
57
+ export declare const StreamSearchRequestSchema: GenMessage<StreamSearchRequest>;
58
+ /**
59
+ * The search arm of V3Response. The envelope's asOfUnixS is when the index
60
+ * that answered was built.
61
+ *
62
+ * @generated from message gateway.v3.SearchResult
63
+ */
64
+ export type SearchResult = Message<"gateway.v3.SearchResult"> & {
65
+ /**
66
+ * Best match first. Groups with a market to open come first, then tokens
67
+ * known only on-chain, then groups with no market (data series); within
68
+ * each, by match tier, then by the group's 24h volume.
69
+ *
70
+ * @generated from field: repeated gateway.v3.SearchGroup groups = 1;
71
+ */
72
+ groups: SearchGroup[];
73
+ /**
74
+ * Asks the next page. It is opaque: it carries the groups already shown,
75
+ * so a page never repeats a group nor skips one when the index changes
76
+ * between pages. Empty when there is nothing more; search stops after 200
77
+ * groups, past which a longer query is the way to narrow it.
78
+ *
79
+ * @generated from field: string nextPageToken = 2;
80
+ */
81
+ nextPageToken: string;
82
+ };
83
+ /**
84
+ * Describes the message gateway.v3.SearchResult.
85
+ * Use `create(SearchResultSchema)` to create a new message.
86
+ */
87
+ export declare const SearchResultSchema: GenMessage<SearchResult>;
88
+ /**
89
+ * An asset and its markets: gold and its spot pair, perpetuals and COMEX
90
+ * futures; a prediction event and its outcomes.
91
+ *
92
+ * @generated from message gateway.v3.SearchGroup
93
+ */
94
+ export type SearchGroup = Message<"gateway.v3.SearchGroup"> & {
95
+ /**
96
+ * The asset's stable id, e.g. commodity:XAU or crypto:BTC.
97
+ *
98
+ * @generated from field: string groupKey = 1;
99
+ */
100
+ groupKey: string;
101
+ /**
102
+ * @generated from field: string name = 2;
103
+ */
104
+ name: string;
105
+ /**
106
+ * @generated from field: string ticker = 3;
107
+ */
108
+ ticker: string;
109
+ /**
110
+ * @generated from field: AssetClass assetClass = 4;
111
+ */
112
+ assetClass: AssetClass;
113
+ /**
114
+ * @generated from field: string logoUrl = 5;
115
+ */
116
+ logoUrl: string;
117
+ /**
118
+ * @generated from field: gateway.v3.SearchMatchTier matchTier = 6;
119
+ */
120
+ matchTier: SearchMatchTier;
121
+ /**
122
+ * False for a market no identity rule placed: it is shown on its own,
123
+ * under its own symbol, rather than merged with anything.
124
+ *
125
+ * @generated from field: bool resolved = 7;
126
+ */
127
+ resolved: boolean;
128
+ /**
129
+ * In the order Enter opens them: the first is the default market, whose
130
+ * figures the group's row shows. A prediction event's outcomes are ordered
131
+ * by last price, the leading outcome first, so the first is always its
132
+ * leader whatever the variant limit.
133
+ *
134
+ * @generated from field: repeated gateway.v3.SearchVariant variants = 8;
135
+ */
136
+ variants: SearchVariant[];
137
+ /**
138
+ * Every variant of the group, not only the ones returned.
139
+ *
140
+ * @generated from field: int32 variantCount = 9;
141
+ */
142
+ variantCount: number;
143
+ /**
144
+ * @generated from field: repeated gateway.v3.SearchLink links = 10;
145
+ */
146
+ links: SearchLink[];
147
+ /**
148
+ * @generated from field: repeated gateway.v3.SearchOptionChain optionChains = 11;
149
+ */
150
+ optionChains: SearchOptionChain[];
151
+ /**
152
+ * A prediction event's slug, which its page opens by. Set on prediction
153
+ * groups only.
154
+ *
155
+ * @generated from field: optional string eventSlug = 12;
156
+ */
157
+ eventSlug?: string;
158
+ /**
159
+ * A memecoin's market cap in USD: the largest one its pools report that
160
+ * reads as a market cap (not the pool's price, nor a figure its turnover or
161
+ * liquidity rules out).
162
+ *
163
+ * @generated from field: optional double marketCapUsd = 13;
164
+ */
165
+ marketCapUsd?: number;
166
+ /**
167
+ * A prediction event's traded volume in USD: a Polymarket event's all-time
168
+ * volume, a HIP-4 event's last 24 hours summed over its outcomes.
169
+ *
170
+ * @generated from field: optional double eventVolumeUsd = 14;
171
+ */
172
+ eventVolumeUsd?: number;
173
+ /**
174
+ * A memecoin whose pools report a market cap that does not read as one (a
175
+ * bad print): marketCapUsd is then unset, and the row can say why.
176
+ *
177
+ * @generated from field: bool marketCapRejected = 15;
178
+ */
179
+ marketCapRejected: boolean;
180
+ /**
181
+ * A memecoin's 24h traded volume in USD: its token's, across its pools.
182
+ *
183
+ * @generated from field: optional double volume24hUsd = 16;
184
+ */
185
+ volume24hUsd?: number;
186
+ };
187
+ /**
188
+ * Describes the message gateway.v3.SearchGroup.
189
+ * Use `create(SearchGroupSchema)` to create a new message.
190
+ */
191
+ export declare const SearchGroupSchema: GenMessage<SearchGroup>;
192
+ /**
193
+ * A market of the group: what names and places it, and the figures a result
194
+ * row shows. Figures are refreshed about every minute (the sparkline about every
195
+ * 15) and never set on a governed market, whose figures come through the CME
196
+ * gate.
197
+ *
198
+ * @generated from message gateway.v3.SearchVariant
199
+ */
200
+ export type SearchVariant = Message<"gateway.v3.SearchVariant"> & {
201
+ /**
202
+ * @generated from field: Exchange venue = 1;
203
+ */
204
+ venue: Exchange;
205
+ /**
206
+ * @generated from field: string symbol = 2;
207
+ */
208
+ symbol: string;
209
+ /**
210
+ * @generated from field: string normalizedSymbol = 3;
211
+ */
212
+ normalizedSymbol: string;
213
+ /**
214
+ * @generated from field: Category category = 4;
215
+ */
216
+ category: Category;
217
+ /**
218
+ * @generated from field: string coin = 5;
219
+ */
220
+ coin: string;
221
+ /**
222
+ * The data types stored for the market.
223
+ *
224
+ * @generated from field: repeated Type types = 6;
225
+ */
226
+ types: Type[];
227
+ /**
228
+ * @generated from field: optional int64 expiryUnixS = 7;
229
+ */
230
+ expiryUnixS?: bigint;
231
+ /**
232
+ * A venue whose data needs a licence (CME, CBOT, NYMEX, COMEX, OPRA, NYSE,
233
+ * NYSE_ARCA, NASDAQ): its figures come through the CME gate, delayed or not
234
+ * by the user's plan.
235
+ *
236
+ * @generated from field: bool governed = 8;
237
+ */
238
+ governed: boolean;
239
+ /**
240
+ * A prediction outcome's question. Its symbol is a condition or coin id,
241
+ * which names nothing a person would read.
242
+ *
243
+ * @generated from field: optional string title = 10;
244
+ */
245
+ title?: string;
246
+ /**
247
+ * How many units of the group's asset one contract is: 1000 for
248
+ * 1000PEPEUSDT under PEPE. Unset when it is one.
249
+ *
250
+ * @generated from field: optional double scale = 11;
251
+ */
252
+ scale?: number;
253
+ /**
254
+ * A data series about the asset (a stock's FINRA short volume), not a
255
+ * market of it. Data series come after the markets.
256
+ *
257
+ * @generated from field: bool data = 12;
258
+ */
259
+ data: boolean;
260
+ /**
261
+ * The exchange a share lists on (NYSE, NASDAQ): US shares all come through
262
+ * POLYGON, which names no listing. Unset for every other market.
263
+ *
264
+ * @generated from field: optional Exchange listingVenue = 13;
265
+ */
266
+ listingVenue?: Exchange;
267
+ /**
268
+ * The asset the market is quoted in: USDT for BTC-USDT. Empty when there is
269
+ * none to show: a US share, a prediction outcome, a data series.
270
+ *
271
+ * @generated from field: string quote = 14;
272
+ */
273
+ quote: string;
274
+ /**
275
+ * Who deployed a HYPERLIQUID_HIP3 market, as its symbol names it: xyz for
276
+ * xyz:NVDA. Empty on every other venue.
277
+ *
278
+ * @generated from field: string deployer = 15;
279
+ */
280
+ deployer: string;
281
+ /**
282
+ * A continuous future, such as ES1!: it follows its product's front
283
+ * contract through every roll.
284
+ *
285
+ * @generated from field: bool continuous = 16;
286
+ */
287
+ continuous: boolean;
288
+ /**
289
+ * The dated contract of its product that expires first, among those listed.
290
+ *
291
+ * @generated from field: bool frontMonth = 17;
292
+ */
293
+ frontMonth: boolean;
294
+ /**
295
+ * The last trade price. A prediction outcome's is its probability, 0 to 1.
296
+ *
297
+ * @generated from field: optional double lastPrice = 18;
298
+ */
299
+ lastPrice?: number;
300
+ /**
301
+ * Change of the last price over 24 hours, as a fraction: 0.05 is +5%.
302
+ *
303
+ * @generated from field: optional double priceChange24h = 19;
304
+ */
305
+ priceChange24h?: number;
306
+ /**
307
+ * The last 24 hourly closes, oldest first.
308
+ *
309
+ * @generated from field: repeated double sparkline = 20;
310
+ */
311
+ sparkline: number[];
312
+ /**
313
+ * On-chain pools only: the pool's liquidity in USD.
314
+ *
315
+ * @generated from field: optional double liquidityUsd = 21;
316
+ */
317
+ liquidityUsd?: number;
318
+ /**
319
+ * A prediction outcome's short name, which its event lists it by ("Donald
320
+ * Trump", "19°C"): Polymarket's own, a HIP-4 outcome's title. Empty where it
321
+ * has none.
322
+ *
323
+ * @generated from field: string outcomeName = 22;
324
+ */
325
+ outcomeName: string;
326
+ };
327
+ /**
328
+ * Describes the message gateway.v3.SearchVariant.
329
+ * Use `create(SearchVariantSchema)` to create a new message.
330
+ */
331
+ export declare const SearchVariantSchema: GenMessage<SearchVariant>;
332
+ /**
333
+ * A group related to this one, also in search.
334
+ *
335
+ * @generated from message gateway.v3.SearchLink
336
+ */
337
+ export type SearchLink = Message<"gateway.v3.SearchLink"> & {
338
+ /**
339
+ * @generated from field: string groupKey = 1;
340
+ */
341
+ groupKey: string;
342
+ /**
343
+ * @generated from field: gateway.v3.SearchLinkRelation relation = 2;
344
+ */
345
+ relation: SearchLinkRelation;
346
+ };
347
+ /**
348
+ * Describes the message gateway.v3.SearchLink.
349
+ * Use `create(SearchLinkSchema)` to create a new message.
350
+ */
351
+ export declare const SearchLinkSchema: GenMessage<SearchLink>;
352
+ /**
353
+ * An option chain the group's page can open: what StreamOptionChain takes.
354
+ *
355
+ * @generated from message gateway.v3.SearchOptionChain
356
+ */
357
+ export type SearchOptionChain = Message<"gateway.v3.SearchOptionChain"> & {
358
+ /**
359
+ * @generated from field: Exchange venue = 1;
360
+ */
361
+ venue: Exchange;
362
+ /**
363
+ * AAPL on OPRA, ES1! on CME, BTC on Deribit.
364
+ *
365
+ * @generated from field: string underlying = 2;
366
+ */
367
+ underlying: string;
368
+ };
369
+ /**
370
+ * Describes the message gateway.v3.SearchOptionChain.
371
+ * Use `create(SearchOptionChainSchema)` to create a new message.
372
+ */
373
+ export declare const SearchOptionChainSchema: GenMessage<SearchOptionChain>;
374
+ /**
375
+ * @generated from enum gateway.v3.SearchLinkRelation
376
+ */
377
+ export declare enum SearchLinkRelation {
378
+ /**
379
+ * @generated from enum value: SEARCH_LINK_RELATION_UNSPECIFIED = 0;
380
+ */
381
+ UNSPECIFIED = 0,
382
+ /**
383
+ * Follows the other's price: XAUT tracks gold, SPY tracks the S&P 500.
384
+ *
385
+ * @generated from enum value: SEARCH_LINK_RELATION_TRACKS = 1;
386
+ */
387
+ TRACKS = 1,
388
+ /**
389
+ * Is a token of the other: WBTC wraps bitcoin.
390
+ *
391
+ * @generated from enum value: SEARCH_LINK_RELATION_WRAPS = 2;
392
+ */
393
+ WRAPS = 2
394
+ }
395
+ /**
396
+ * Describes the enum gateway.v3.SearchLinkRelation.
397
+ */
398
+ export declare const SearchLinkRelationSchema: GenEnum<SearchLinkRelation>;
399
+ /**
400
+ * How the query matched the group, best first. SearchResult.groups says
401
+ * where the tier sits in the order.
402
+ *
403
+ * @generated from enum gateway.v3.SearchMatchTier
404
+ */
405
+ export declare enum SearchMatchTier {
406
+ /**
407
+ * @generated from enum value: SEARCH_MATCH_TIER_UNSPECIFIED = 0;
408
+ */
409
+ UNSPECIFIED = 0,
410
+ /**
411
+ * A curated alias: "gold" for XAU.
412
+ *
413
+ * @generated from enum value: SEARCH_MATCH_TIER_ALIAS = 1;
414
+ */
415
+ ALIAS = 1,
416
+ /**
417
+ * A ticker or symbol equal to the query.
418
+ *
419
+ * @generated from enum value: SEARCH_MATCH_TIER_EXACT = 2;
420
+ */
421
+ EXACT = 2,
422
+ /**
423
+ * A ticker or symbol starting with the query.
424
+ *
425
+ * @generated from enum value: SEARCH_MATCH_TIER_PREFIX = 3;
426
+ */
427
+ PREFIX = 3,
428
+ /**
429
+ * A prediction event's title, every query word starting a title word.
430
+ *
431
+ * @generated from enum value: SEARCH_MATCH_TIER_TITLE = 4;
432
+ */
433
+ TITLE = 4,
434
+ /**
435
+ * A ticker or name containing the query, for queries of 3 characters or
436
+ * more.
437
+ *
438
+ * @generated from enum value: SEARCH_MATCH_TIER_CONTAINS = 5;
439
+ */
440
+ CONTAINS = 5
441
+ }
442
+ /**
443
+ * Describes the enum gateway.v3.SearchMatchTier.
444
+ */
445
+ export declare const SearchMatchTierSchema: GenEnum<SearchMatchTier>;
446
+ //# sourceMappingURL=search_pb.d.ts.map
@@ -0,0 +1 @@
1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M,uBAAuB,EAAE,UAAU,CAAC,iBAAiB,CACrB,CAAC;AAE9C;;GAEG;AACH,oBAAY,kBAAkB;IAC5B;;OAEG;IACH,WAAW,IAAI;IAEf;;;;OAIG;IACH,MAAM,IAAI;IAEV;;;;OAIG;IACH,KAAK,IAAI;CACV;AAED;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,OAAO,CAAC,kBAAkB,CACvB,CAAC;AAE3C;;;;;GAKG;AACH,oBAAY,eAAe;IACzB;;OAEG;IACH,WAAW,IAAI;IAEf;;;;OAIG;IACH,KAAK,IAAI;IAET;;;;OAIG;IACH,KAAK,IAAI;IAET;;;;OAIG;IACH,MAAM,IAAI;IAEV;;;;OAIG;IACH,KAAK,IAAI;IAET;;;;;OAKG;IACH,QAAQ,IAAI;CACb;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,OAAO,CAAC,eAAe,CACjB,CAAC"}
@@ -0,0 +1,115 @@
1
+ // Market search on /v3, served by search-service, not by the tsdb-gateway
2
+ // reader: one index across every cluster, answering with markets already
3
+ // grouped under the asset they trade. The method sits in methods.proto
4
+ // (service SearchV3), as the envelope arm must, and this file holds its
5
+ // messages.
6
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import { file_enums } from "../../enums_pb.js";
8
+ /**
9
+ * Describes the file tsdb-gateway/v3/search.proto.
10
+ */
11
+ export const file_tsdb_gateway_v3_search = /*@__PURE__*/ fileDesc("Chx0c2RiLWdhdGV3YXkvdjMvc2VhcmNoLnByb3RvEgpnYXRld2F5LnYzIrABChNTdHJlYW1TZWFyY2hSZXF1ZXN0Eg0KBXF1ZXJ5GAEgASgJEiEKDGFzc2V0Q2xhc3NlcxgCIAMoDjILLkFzc2V0Q2xhc3MSGQoGdmVudWVzGAMgAygOMgkuRXhjaGFuZ2USDQoFbGltaXQYBCABKAUSEQoJcGFnZVRva2VuGAUgASgJEhkKDHZhcmlhbnRMaW1pdBgGIAEoBUgAiAEBQ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IX01BVENIX1RJRVJfUFJFRklYEAMSGwoXU0VBUkNIX01BVENIX1RJRVJfVElUTEUQBBIeChpTRUFSQ0hfTUFUQ0hfVElFUl9DT05UQUlOUxAFQgxaCnR5cGVzL3BidjNiBnByb3RvMw", [file_enums]);
12
+ /**
13
+ * Describes the message gateway.v3.StreamSearchRequest.
14
+ * Use `create(StreamSearchRequestSchema)` to create a new message.
15
+ */
16
+ export const StreamSearchRequestSchema = /*@__PURE__*/ messageDesc(file_tsdb_gateway_v3_search, 0);
17
+ /**
18
+ * Describes the message gateway.v3.SearchResult.
19
+ * Use `create(SearchResultSchema)` to create a new message.
20
+ */
21
+ export const SearchResultSchema = /*@__PURE__*/ messageDesc(file_tsdb_gateway_v3_search, 1);
22
+ /**
23
+ * Describes the message gateway.v3.SearchGroup.
24
+ * Use `create(SearchGroupSchema)` to create a new message.
25
+ */
26
+ export const SearchGroupSchema = /*@__PURE__*/ messageDesc(file_tsdb_gateway_v3_search, 2);
27
+ /**
28
+ * Describes the message gateway.v3.SearchVariant.
29
+ * Use `create(SearchVariantSchema)` to create a new message.
30
+ */
31
+ export const SearchVariantSchema = /*@__PURE__*/ messageDesc(file_tsdb_gateway_v3_search, 3);
32
+ /**
33
+ * Describes the message gateway.v3.SearchLink.
34
+ * Use `create(SearchLinkSchema)` to create a new message.
35
+ */
36
+ export const SearchLinkSchema = /*@__PURE__*/ messageDesc(file_tsdb_gateway_v3_search, 4);
37
+ /**
38
+ * Describes the message gateway.v3.SearchOptionChain.
39
+ * Use `create(SearchOptionChainSchema)` to create a new message.
40
+ */
41
+ export const SearchOptionChainSchema = /*@__PURE__*/ messageDesc(file_tsdb_gateway_v3_search, 5);
42
+ /**
43
+ * @generated from enum gateway.v3.SearchLinkRelation
44
+ */
45
+ export var SearchLinkRelation;
46
+ (function (SearchLinkRelation) {
47
+ /**
48
+ * @generated from enum value: SEARCH_LINK_RELATION_UNSPECIFIED = 0;
49
+ */
50
+ SearchLinkRelation[SearchLinkRelation["UNSPECIFIED"] = 0] = "UNSPECIFIED";
51
+ /**
52
+ * Follows the other's price: XAUT tracks gold, SPY tracks the S&P 500.
53
+ *
54
+ * @generated from enum value: SEARCH_LINK_RELATION_TRACKS = 1;
55
+ */
56
+ SearchLinkRelation[SearchLinkRelation["TRACKS"] = 1] = "TRACKS";
57
+ /**
58
+ * Is a token of the other: WBTC wraps bitcoin.
59
+ *
60
+ * @generated from enum value: SEARCH_LINK_RELATION_WRAPS = 2;
61
+ */
62
+ SearchLinkRelation[SearchLinkRelation["WRAPS"] = 2] = "WRAPS";
63
+ })(SearchLinkRelation || (SearchLinkRelation = {}));
64
+ /**
65
+ * Describes the enum gateway.v3.SearchLinkRelation.
66
+ */
67
+ export const SearchLinkRelationSchema = /*@__PURE__*/ enumDesc(file_tsdb_gateway_v3_search, 0);
68
+ /**
69
+ * How the query matched the group, best first. SearchResult.groups says
70
+ * where the tier sits in the order.
71
+ *
72
+ * @generated from enum gateway.v3.SearchMatchTier
73
+ */
74
+ export var SearchMatchTier;
75
+ (function (SearchMatchTier) {
76
+ /**
77
+ * @generated from enum value: SEARCH_MATCH_TIER_UNSPECIFIED = 0;
78
+ */
79
+ SearchMatchTier[SearchMatchTier["UNSPECIFIED"] = 0] = "UNSPECIFIED";
80
+ /**
81
+ * A curated alias: "gold" for XAU.
82
+ *
83
+ * @generated from enum value: SEARCH_MATCH_TIER_ALIAS = 1;
84
+ */
85
+ SearchMatchTier[SearchMatchTier["ALIAS"] = 1] = "ALIAS";
86
+ /**
87
+ * A ticker or symbol equal to the query.
88
+ *
89
+ * @generated from enum value: SEARCH_MATCH_TIER_EXACT = 2;
90
+ */
91
+ SearchMatchTier[SearchMatchTier["EXACT"] = 2] = "EXACT";
92
+ /**
93
+ * A ticker or symbol starting with the query.
94
+ *
95
+ * @generated from enum value: SEARCH_MATCH_TIER_PREFIX = 3;
96
+ */
97
+ SearchMatchTier[SearchMatchTier["PREFIX"] = 3] = "PREFIX";
98
+ /**
99
+ * A prediction event's title, every query word starting a title word.
100
+ *
101
+ * @generated from enum value: SEARCH_MATCH_TIER_TITLE = 4;
102
+ */
103
+ SearchMatchTier[SearchMatchTier["TITLE"] = 4] = "TITLE";
104
+ /**
105
+ * A ticker or name containing the query, for queries of 3 characters or
106
+ * more.
107
+ *
108
+ * @generated from enum value: SEARCH_MATCH_TIER_CONTAINS = 5;
109
+ */
110
+ SearchMatchTier[SearchMatchTier["CONTAINS"] = 5] = "CONTAINS";
111
+ })(SearchMatchTier || (SearchMatchTier = {}));
112
+ /**
113
+ * Describes the enum gateway.v3.SearchMatchTier.
114
+ */
115
+ export const SearchMatchTierSchema = /*@__PURE__*/ enumDesc(file_tsdb_gateway_v3_search, 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmarket/market-data-proto",
3
- "version": "12.85.0",
3
+ "version": "12.87.0",
4
4
  "description": "Generated protobuf-es message types for the Orange v2 market-data gateway (tsdb-gateway) and the data types it serves. Public subset of @orangecharts/orange-v2-pb-common, generated from the same proto sources.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",