@iconlake/client 1.3.1 → 1.5.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 (51) hide show
  1. package/dist/index.iife.js +4 -4
  2. package/dist/index.js +4 -4
  3. package/dist/index.mjs +35119 -30974
  4. package/dist/index.umd.js +4 -4
  5. package/package.json +2 -2
  6. package/types/amino.d.ts +90 -0
  7. package/types/client.d.ts +1 -0
  8. package/types/cosmos.authz.v1beta1/module.d.ts +15 -15
  9. package/types/cosmos.bank.v1beta1/module.d.ts +10 -10
  10. package/types/cosmos.distribution.v1beta1/module.d.ts +25 -25
  11. package/types/cosmos.feegrant.v1beta1/module.d.ts +10 -10
  12. package/types/cosmos.gov.v1/module.d.ts +21 -21
  13. package/types/cosmos.group.v1/module.d.ts +70 -70
  14. package/types/cosmos.staking.v1beta1/module.d.ts +29 -29
  15. package/types/cosmos.upgrade.v1beta1/module.d.ts +10 -10
  16. package/types/cosmos.vesting.v1beta1/module.d.ts +15 -15
  17. package/types/iconlake.drop/module.d.ts +11 -11
  18. package/types/iconlake.icon/module.d.ts +18 -18
  19. package/types/iconlake.icon/types/iconlake/icon/tx.d.ts +3 -3
  20. package/types/iconlake.lake/index.d.ts +5 -0
  21. package/types/iconlake.lake/module.d.ts +55 -0
  22. package/types/iconlake.lake/registry.d.ts +3 -0
  23. package/types/iconlake.lake/rest.d.ts +183 -0
  24. package/types/iconlake.lake/types/cosmos/base/query/v1beta1/pagination.d.ts +108 -0
  25. package/types/iconlake.lake/types/gogoproto/gogo.d.ts +1 -0
  26. package/types/iconlake.lake/types/google/api/annotations.d.ts +1 -0
  27. package/types/iconlake.lake/types/google/api/http.d.ts +1634 -0
  28. package/types/iconlake.lake/types/google/protobuf/descriptor.d.ts +50957 -0
  29. package/types/iconlake.lake/types/iconlake/lake/allowed_sender.d.ts +27 -0
  30. package/types/iconlake.lake/types/iconlake/lake/genesis.d.ts +43 -0
  31. package/types/iconlake.lake/types/iconlake/lake/params.d.ts +23 -0
  32. package/types/iconlake.lake/types/iconlake/lake/query.d.ts +162 -0
  33. package/types/iconlake.lake/types/iconlake/lake/tx.d.ts +103 -0
  34. package/types/iconlake.lake/types.d.ts +3 -0
  35. package/types/iconlake.license/index.d.ts +5 -0
  36. package/types/iconlake.license/module.d.ts +77 -0
  37. package/types/iconlake.license/registry.d.ts +3 -0
  38. package/types/iconlake.license/rest.d.ts +305 -0
  39. package/types/iconlake.license/types/cosmos/base/query/v1beta1/pagination.d.ts +108 -0
  40. package/types/iconlake.license/types/gogoproto/gogo.d.ts +1 -0
  41. package/types/iconlake.license/types/google/api/annotations.d.ts +1 -0
  42. package/types/iconlake.license/types/google/api/http.d.ts +1634 -0
  43. package/types/iconlake.license/types/google/protobuf/descriptor.d.ts +50957 -0
  44. package/types/iconlake.license/types/iconlake/license/genesis.d.ts +132 -0
  45. package/types/iconlake.license/types/iconlake/license/license_template.d.ts +48 -0
  46. package/types/iconlake.license/types/iconlake/license/params.d.ts +31 -0
  47. package/types/iconlake.license/types/iconlake/license/query.d.ts +581 -0
  48. package/types/iconlake.license/types/iconlake/license/tx.d.ts +246 -0
  49. package/types/iconlake.license/types/iconlake/license/user_license.d.ts +42 -0
  50. package/types/iconlake.license/types.d.ts +4 -0
  51. package/types/index.d.ts +215 -149
@@ -0,0 +1,1634 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "google.api";
3
+ /**
4
+ * Defines the HTTP configuration for an API service. It contains a list of
5
+ * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
6
+ * to one or more HTTP REST API methods.
7
+ */
8
+ export interface Http {
9
+ /**
10
+ * A list of HTTP configuration rules that apply to individual API methods.
11
+ *
12
+ * **NOTE:** All service configuration rules follow "last one wins" order.
13
+ */
14
+ rules: HttpRule[];
15
+ /**
16
+ * When set to true, URL path parmeters will be fully URI-decoded except in
17
+ * cases of single segment matches in reserved expansion, where "%2F" will be
18
+ * left encoded.
19
+ *
20
+ * The default behavior is to not decode RFC 6570 reserved characters in multi
21
+ * segment matches.
22
+ */
23
+ fullyDecodeReservedExpansion: boolean;
24
+ }
25
+ /**
26
+ * `HttpRule` defines the mapping of an RPC method to one or more HTTP
27
+ * REST API methods. The mapping specifies how different portions of the RPC
28
+ * request message are mapped to URL path, URL query parameters, and
29
+ * HTTP request body. The mapping is typically specified as an
30
+ * `google.api.http` annotation on the RPC method,
31
+ * see "google/api/annotations.proto" for details.
32
+ *
33
+ * The mapping consists of a field specifying the path template and
34
+ * method kind. The path template can refer to fields in the request
35
+ * message, as in the example below which describes a REST GET
36
+ * operation on a resource collection of messages:
37
+ *
38
+ * service Messaging {
39
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
40
+ * option (google.api.http).get = "/v1/messages/{message_id}/{sub.subfield}";
41
+ * }
42
+ * }
43
+ * message GetMessageRequest {
44
+ * message SubMessage {
45
+ * string subfield = 1;
46
+ * }
47
+ * string message_id = 1; // mapped to the URL
48
+ * SubMessage sub = 2; // `sub.subfield` is url-mapped
49
+ * }
50
+ * message Message {
51
+ * string text = 1; // content of the resource
52
+ * }
53
+ *
54
+ * The same http annotation can alternatively be expressed inside the
55
+ * `GRPC API Configuration` YAML file.
56
+ *
57
+ * http:
58
+ * rules:
59
+ * - selector: <proto_package_name>.Messaging.GetMessage
60
+ * get: /v1/messages/{message_id}/{sub.subfield}
61
+ *
62
+ * This definition enables an automatic, bidrectional mapping of HTTP
63
+ * JSON to RPC. Example:
64
+ *
65
+ * HTTP | RPC
66
+ * -----|-----
67
+ * `GET /v1/messages/123456/foo` | `GetMessage(message_id: "123456" sub: SubMessage(subfield: "foo"))`
68
+ *
69
+ * In general, not only fields but also field paths can be referenced
70
+ * from a path pattern. Fields mapped to the path pattern cannot be
71
+ * repeated and must have a primitive (non-message) type.
72
+ *
73
+ * Any fields in the request message which are not bound by the path
74
+ * pattern automatically become (optional) HTTP query
75
+ * parameters. Assume the following definition of the request message:
76
+ *
77
+ * service Messaging {
78
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
79
+ * option (google.api.http).get = "/v1/messages/{message_id}";
80
+ * }
81
+ * }
82
+ * message GetMessageRequest {
83
+ * message SubMessage {
84
+ * string subfield = 1;
85
+ * }
86
+ * string message_id = 1; // mapped to the URL
87
+ * int64 revision = 2; // becomes a parameter
88
+ * SubMessage sub = 3; // `sub.subfield` becomes a parameter
89
+ * }
90
+ *
91
+ * This enables a HTTP JSON to RPC mapping as below:
92
+ *
93
+ * HTTP | RPC
94
+ * -----|-----
95
+ * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))`
96
+ *
97
+ * Note that fields which are mapped to HTTP parameters must have a
98
+ * primitive type or a repeated primitive type. Message types are not
99
+ * allowed. In the case of a repeated type, the parameter can be
100
+ * repeated in the URL, as in `...?param=A&param=B`.
101
+ *
102
+ * For HTTP method kinds which allow a request body, the `body` field
103
+ * specifies the mapping. Consider a REST update method on the
104
+ * message resource collection:
105
+ *
106
+ * service Messaging {
107
+ * rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
108
+ * option (google.api.http) = {
109
+ * put: "/v1/messages/{message_id}"
110
+ * body: "message"
111
+ * };
112
+ * }
113
+ * }
114
+ * message UpdateMessageRequest {
115
+ * string message_id = 1; // mapped to the URL
116
+ * Message message = 2; // mapped to the body
117
+ * }
118
+ *
119
+ * The following HTTP JSON to RPC mapping is enabled, where the
120
+ * representation of the JSON in the request body is determined by
121
+ * protos JSON encoding:
122
+ *
123
+ * HTTP | RPC
124
+ * -----|-----
125
+ * `PUT /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })`
126
+ *
127
+ * The special name `*` can be used in the body mapping to define that
128
+ * every field not bound by the path template should be mapped to the
129
+ * request body. This enables the following alternative definition of
130
+ * the update method:
131
+ *
132
+ * service Messaging {
133
+ * rpc UpdateMessage(Message) returns (Message) {
134
+ * option (google.api.http) = {
135
+ * put: "/v1/messages/{message_id}"
136
+ * body: "*"
137
+ * };
138
+ * }
139
+ * }
140
+ * message Message {
141
+ * string message_id = 1;
142
+ * string text = 2;
143
+ * }
144
+ *
145
+ * The following HTTP JSON to RPC mapping is enabled:
146
+ *
147
+ * HTTP | RPC
148
+ * -----|-----
149
+ * `PUT /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")`
150
+ *
151
+ * Note that when using `*` in the body mapping, it is not possible to
152
+ * have HTTP parameters, as all fields not bound by the path end in
153
+ * the body. This makes this option more rarely used in practice of
154
+ * defining REST APIs. The common usage of `*` is in custom methods
155
+ * which don't use the URL at all for transferring data.
156
+ *
157
+ * It is possible to define multiple HTTP methods for one RPC by using
158
+ * the `additional_bindings` option. Example:
159
+ *
160
+ * service Messaging {
161
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
162
+ * option (google.api.http) = {
163
+ * get: "/v1/messages/{message_id}"
164
+ * additional_bindings {
165
+ * get: "/v1/users/{user_id}/messages/{message_id}"
166
+ * }
167
+ * };
168
+ * }
169
+ * }
170
+ * message GetMessageRequest {
171
+ * string message_id = 1;
172
+ * string user_id = 2;
173
+ * }
174
+ *
175
+ * This enables the following two alternative HTTP JSON to RPC
176
+ * mappings:
177
+ *
178
+ * HTTP | RPC
179
+ * -----|-----
180
+ * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
181
+ * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")`
182
+ *
183
+ * # Rules for HTTP mapping
184
+ *
185
+ * The rules for mapping HTTP path, query parameters, and body fields
186
+ * to the request message are as follows:
187
+ *
188
+ * 1. The `body` field specifies either `*` or a field path, or is
189
+ * omitted. If omitted, it indicates there is no HTTP request body.
190
+ * 2. Leaf fields (recursive expansion of nested messages in the
191
+ * request) can be classified into three types:
192
+ * (a) Matched in the URL template.
193
+ * (b) Covered by body (if body is `*`, everything except (a) fields;
194
+ * else everything under the body field)
195
+ * (c) All other fields.
196
+ * 3. URL query parameters found in the HTTP request are mapped to (c) fields.
197
+ * 4. Any body sent with an HTTP request can contain only (b) fields.
198
+ *
199
+ * The syntax of the path template is as follows:
200
+ *
201
+ * Template = "/" Segments [ Verb ] ;
202
+ * Segments = Segment { "/" Segment } ;
203
+ * Segment = "*" | "**" | LITERAL | Variable ;
204
+ * Variable = "{" FieldPath [ "=" Segments ] "}" ;
205
+ * FieldPath = IDENT { "." IDENT } ;
206
+ * Verb = ":" LITERAL ;
207
+ *
208
+ * The syntax `*` matches a single path segment. The syntax `**` matches zero
209
+ * or more path segments, which must be the last part of the path except the
210
+ * `Verb`. The syntax `LITERAL` matches literal text in the path.
211
+ *
212
+ * The syntax `Variable` matches part of the URL path as specified by its
213
+ * template. A variable template must not contain other variables. If a variable
214
+ * matches a single path segment, its template may be omitted, e.g. `{var}`
215
+ * is equivalent to `{var=*}`.
216
+ *
217
+ * If a variable contains exactly one path segment, such as `"{var}"` or
218
+ * `"{var=*}"`, when such a variable is expanded into a URL path, all characters
219
+ * except `[-_.~0-9a-zA-Z]` are percent-encoded. Such variables show up in the
220
+ * Discovery Document as `{var}`.
221
+ *
222
+ * If a variable contains one or more path segments, such as `"{var=foo/*}"`
223
+ * or `"{var=**}"`, when such a variable is expanded into a URL path, all
224
+ * characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. Such variables
225
+ * show up in the Discovery Document as `{+var}`.
226
+ *
227
+ * NOTE: While the single segment variable matches the semantics of
228
+ * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2
229
+ * Simple String Expansion, the multi segment variable **does not** match
230
+ * RFC 6570 Reserved Expansion. The reason is that the Reserved Expansion
231
+ * does not expand special characters like `?` and `#`, which would lead
232
+ * to invalid URLs.
233
+ *
234
+ * NOTE: the field paths in variables and in the `body` must not refer to
235
+ * repeated fields or map fields.
236
+ */
237
+ export interface HttpRule {
238
+ /**
239
+ * Selects methods to which this rule applies.
240
+ *
241
+ * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
242
+ */
243
+ selector: string;
244
+ /** Used for listing and getting information about resources. */
245
+ get: string | undefined;
246
+ /** Used for updating a resource. */
247
+ put: string | undefined;
248
+ /** Used for creating a resource. */
249
+ post: string | undefined;
250
+ /** Used for deleting a resource. */
251
+ delete: string | undefined;
252
+ /** Used for updating a resource. */
253
+ patch: string | undefined;
254
+ /**
255
+ * The custom pattern is used for specifying an HTTP method that is not
256
+ * included in the `pattern` field, such as HEAD, or "*" to leave the
257
+ * HTTP method unspecified for this rule. The wild-card rule is useful
258
+ * for services that provide content to Web (HTML) clients.
259
+ */
260
+ custom: CustomHttpPattern | undefined;
261
+ /**
262
+ * The name of the request field whose value is mapped to the HTTP body, or
263
+ * `*` for mapping all fields not captured by the path pattern to the HTTP
264
+ * body. NOTE: the referred field must not be a repeated field and must be
265
+ * present at the top-level of request message type.
266
+ */
267
+ body: string;
268
+ /**
269
+ * Optional. The name of the response field whose value is mapped to the HTTP
270
+ * body of response. Other response fields are ignored. When
271
+ * not set, the response message will be used as HTTP body of response.
272
+ */
273
+ responseBody: string;
274
+ /**
275
+ * Additional HTTP bindings for the selector. Nested bindings must
276
+ * not contain an `additional_bindings` field themselves (that is,
277
+ * the nesting may only be one level deep).
278
+ */
279
+ additionalBindings: HttpRule[];
280
+ }
281
+ /** A custom pattern is used for defining custom HTTP verb. */
282
+ export interface CustomHttpPattern {
283
+ /** The name of this custom HTTP verb. */
284
+ kind: string;
285
+ /** The path matched by this custom verb. */
286
+ path: string;
287
+ }
288
+ export declare const Http: {
289
+ encode(message: Http, writer?: _m0.Writer): _m0.Writer;
290
+ decode(input: _m0.Reader | Uint8Array, length?: number): Http;
291
+ fromJSON(object: any): Http;
292
+ toJSON(message: Http): unknown;
293
+ fromPartial<I extends {
294
+ rules?: {
295
+ selector?: string;
296
+ get?: string | undefined;
297
+ put?: string | undefined;
298
+ post?: string | undefined;
299
+ delete?: string | undefined;
300
+ patch?: string | undefined;
301
+ custom?: {
302
+ kind?: string;
303
+ path?: string;
304
+ };
305
+ body?: string;
306
+ responseBody?: string;
307
+ additionalBindings?: any[];
308
+ }[];
309
+ fullyDecodeReservedExpansion?: boolean;
310
+ } & {
311
+ rules?: {
312
+ selector?: string;
313
+ get?: string | undefined;
314
+ put?: string | undefined;
315
+ post?: string | undefined;
316
+ delete?: string | undefined;
317
+ patch?: string | undefined;
318
+ custom?: {
319
+ kind?: string;
320
+ path?: string;
321
+ };
322
+ body?: string;
323
+ responseBody?: string;
324
+ additionalBindings?: any[];
325
+ }[] & ({
326
+ selector?: string;
327
+ get?: string | undefined;
328
+ put?: string | undefined;
329
+ post?: string | undefined;
330
+ delete?: string | undefined;
331
+ patch?: string | undefined;
332
+ custom?: {
333
+ kind?: string;
334
+ path?: string;
335
+ };
336
+ body?: string;
337
+ responseBody?: string;
338
+ additionalBindings?: any[];
339
+ } & {
340
+ selector?: string;
341
+ get?: string | undefined;
342
+ put?: string | undefined;
343
+ post?: string | undefined;
344
+ delete?: string | undefined;
345
+ patch?: string | undefined;
346
+ custom?: {
347
+ kind?: string;
348
+ path?: string;
349
+ } & {
350
+ kind?: string;
351
+ path?: string;
352
+ } & { [K in Exclude<keyof I["rules"][number]["custom"], keyof CustomHttpPattern>]: never; };
353
+ body?: string;
354
+ responseBody?: string;
355
+ additionalBindings?: {
356
+ selector?: string;
357
+ get?: string | undefined;
358
+ put?: string | undefined;
359
+ post?: string | undefined;
360
+ delete?: string | undefined;
361
+ patch?: string | undefined;
362
+ custom?: {
363
+ kind?: string;
364
+ path?: string;
365
+ };
366
+ body?: string;
367
+ responseBody?: string;
368
+ additionalBindings?: any[];
369
+ }[] & ({
370
+ selector?: string;
371
+ get?: string | undefined;
372
+ put?: string | undefined;
373
+ post?: string | undefined;
374
+ delete?: string | undefined;
375
+ patch?: string | undefined;
376
+ custom?: {
377
+ kind?: string;
378
+ path?: string;
379
+ };
380
+ body?: string;
381
+ responseBody?: string;
382
+ additionalBindings?: any[];
383
+ } & {
384
+ selector?: string;
385
+ get?: string | undefined;
386
+ put?: string | undefined;
387
+ post?: string | undefined;
388
+ delete?: string | undefined;
389
+ patch?: string | undefined;
390
+ custom?: {
391
+ kind?: string;
392
+ path?: string;
393
+ } & {
394
+ kind?: string;
395
+ path?: string;
396
+ } & { [K_1 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
397
+ body?: string;
398
+ responseBody?: string;
399
+ additionalBindings?: {
400
+ selector?: string;
401
+ get?: string | undefined;
402
+ put?: string | undefined;
403
+ post?: string | undefined;
404
+ delete?: string | undefined;
405
+ patch?: string | undefined;
406
+ custom?: {
407
+ kind?: string;
408
+ path?: string;
409
+ };
410
+ body?: string;
411
+ responseBody?: string;
412
+ additionalBindings?: any[];
413
+ }[] & ({
414
+ selector?: string;
415
+ get?: string | undefined;
416
+ put?: string | undefined;
417
+ post?: string | undefined;
418
+ delete?: string | undefined;
419
+ patch?: string | undefined;
420
+ custom?: {
421
+ kind?: string;
422
+ path?: string;
423
+ };
424
+ body?: string;
425
+ responseBody?: string;
426
+ additionalBindings?: any[];
427
+ } & {
428
+ selector?: string;
429
+ get?: string | undefined;
430
+ put?: string | undefined;
431
+ post?: string | undefined;
432
+ delete?: string | undefined;
433
+ patch?: string | undefined;
434
+ custom?: {
435
+ kind?: string;
436
+ path?: string;
437
+ } & {
438
+ kind?: string;
439
+ path?: string;
440
+ } & { [K_2 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
441
+ body?: string;
442
+ responseBody?: string;
443
+ additionalBindings?: {
444
+ selector?: string;
445
+ get?: string | undefined;
446
+ put?: string | undefined;
447
+ post?: string | undefined;
448
+ delete?: string | undefined;
449
+ patch?: string | undefined;
450
+ custom?: {
451
+ kind?: string;
452
+ path?: string;
453
+ };
454
+ body?: string;
455
+ responseBody?: string;
456
+ additionalBindings?: any[];
457
+ }[] & ({
458
+ selector?: string;
459
+ get?: string | undefined;
460
+ put?: string | undefined;
461
+ post?: string | undefined;
462
+ delete?: string | undefined;
463
+ patch?: string | undefined;
464
+ custom?: {
465
+ kind?: string;
466
+ path?: string;
467
+ };
468
+ body?: string;
469
+ responseBody?: string;
470
+ additionalBindings?: any[];
471
+ } & {
472
+ selector?: string;
473
+ get?: string | undefined;
474
+ put?: string | undefined;
475
+ post?: string | undefined;
476
+ delete?: string | undefined;
477
+ patch?: string | undefined;
478
+ custom?: {
479
+ kind?: string;
480
+ path?: string;
481
+ } & {
482
+ kind?: string;
483
+ path?: string;
484
+ } & { [K_3 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
485
+ body?: string;
486
+ responseBody?: string;
487
+ additionalBindings?: {
488
+ selector?: string;
489
+ get?: string | undefined;
490
+ put?: string | undefined;
491
+ post?: string | undefined;
492
+ delete?: string | undefined;
493
+ patch?: string | undefined;
494
+ custom?: {
495
+ kind?: string;
496
+ path?: string;
497
+ };
498
+ body?: string;
499
+ responseBody?: string;
500
+ additionalBindings?: any[];
501
+ }[] & ({
502
+ selector?: string;
503
+ get?: string | undefined;
504
+ put?: string | undefined;
505
+ post?: string | undefined;
506
+ delete?: string | undefined;
507
+ patch?: string | undefined;
508
+ custom?: {
509
+ kind?: string;
510
+ path?: string;
511
+ };
512
+ body?: string;
513
+ responseBody?: string;
514
+ additionalBindings?: any[];
515
+ } & {
516
+ selector?: string;
517
+ get?: string | undefined;
518
+ put?: string | undefined;
519
+ post?: string | undefined;
520
+ delete?: string | undefined;
521
+ patch?: string | undefined;
522
+ custom?: {
523
+ kind?: string;
524
+ path?: string;
525
+ } & {
526
+ kind?: string;
527
+ path?: string;
528
+ } & { [K_4 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
529
+ body?: string;
530
+ responseBody?: string;
531
+ additionalBindings?: {
532
+ selector?: string;
533
+ get?: string | undefined;
534
+ put?: string | undefined;
535
+ post?: string | undefined;
536
+ delete?: string | undefined;
537
+ patch?: string | undefined;
538
+ custom?: {
539
+ kind?: string;
540
+ path?: string;
541
+ };
542
+ body?: string;
543
+ responseBody?: string;
544
+ additionalBindings?: any[];
545
+ }[] & ({
546
+ selector?: string;
547
+ get?: string | undefined;
548
+ put?: string | undefined;
549
+ post?: string | undefined;
550
+ delete?: string | undefined;
551
+ patch?: string | undefined;
552
+ custom?: {
553
+ kind?: string;
554
+ path?: string;
555
+ };
556
+ body?: string;
557
+ responseBody?: string;
558
+ additionalBindings?: any[];
559
+ } & {
560
+ selector?: string;
561
+ get?: string | undefined;
562
+ put?: string | undefined;
563
+ post?: string | undefined;
564
+ delete?: string | undefined;
565
+ patch?: string | undefined;
566
+ custom?: {
567
+ kind?: string;
568
+ path?: string;
569
+ } & {
570
+ kind?: string;
571
+ path?: string;
572
+ } & { [K_5 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
573
+ body?: string;
574
+ responseBody?: string;
575
+ additionalBindings?: {
576
+ selector?: string;
577
+ get?: string | undefined;
578
+ put?: string | undefined;
579
+ post?: string | undefined;
580
+ delete?: string | undefined;
581
+ patch?: string | undefined;
582
+ custom?: {
583
+ kind?: string;
584
+ path?: string;
585
+ };
586
+ body?: string;
587
+ responseBody?: string;
588
+ additionalBindings?: any[];
589
+ }[] & ({
590
+ selector?: string;
591
+ get?: string | undefined;
592
+ put?: string | undefined;
593
+ post?: string | undefined;
594
+ delete?: string | undefined;
595
+ patch?: string | undefined;
596
+ custom?: {
597
+ kind?: string;
598
+ path?: string;
599
+ };
600
+ body?: string;
601
+ responseBody?: string;
602
+ additionalBindings?: any[];
603
+ } & {
604
+ selector?: string;
605
+ get?: string | undefined;
606
+ put?: string | undefined;
607
+ post?: string | undefined;
608
+ delete?: string | undefined;
609
+ patch?: string | undefined;
610
+ custom?: {
611
+ kind?: string;
612
+ path?: string;
613
+ } & {
614
+ kind?: string;
615
+ path?: string;
616
+ } & { [K_6 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
617
+ body?: string;
618
+ responseBody?: string;
619
+ additionalBindings?: {
620
+ selector?: string;
621
+ get?: string | undefined;
622
+ put?: string | undefined;
623
+ post?: string | undefined;
624
+ delete?: string | undefined;
625
+ patch?: string | undefined;
626
+ custom?: {
627
+ kind?: string;
628
+ path?: string;
629
+ };
630
+ body?: string;
631
+ responseBody?: string;
632
+ additionalBindings?: any[];
633
+ }[] & ({
634
+ selector?: string;
635
+ get?: string | undefined;
636
+ put?: string | undefined;
637
+ post?: string | undefined;
638
+ delete?: string | undefined;
639
+ patch?: string | undefined;
640
+ custom?: {
641
+ kind?: string;
642
+ path?: string;
643
+ };
644
+ body?: string;
645
+ responseBody?: string;
646
+ additionalBindings?: any[];
647
+ } & {
648
+ selector?: string;
649
+ get?: string | undefined;
650
+ put?: string | undefined;
651
+ post?: string | undefined;
652
+ delete?: string | undefined;
653
+ patch?: string | undefined;
654
+ custom?: {
655
+ kind?: string;
656
+ path?: string;
657
+ } & {
658
+ kind?: string;
659
+ path?: string;
660
+ } & { [K_7 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
661
+ body?: string;
662
+ responseBody?: string;
663
+ additionalBindings?: {
664
+ selector?: string;
665
+ get?: string | undefined;
666
+ put?: string | undefined;
667
+ post?: string | undefined;
668
+ delete?: string | undefined;
669
+ patch?: string | undefined;
670
+ custom?: {
671
+ kind?: string;
672
+ path?: string;
673
+ };
674
+ body?: string;
675
+ responseBody?: string;
676
+ additionalBindings?: any[];
677
+ }[] & ({
678
+ selector?: string;
679
+ get?: string | undefined;
680
+ put?: string | undefined;
681
+ post?: string | undefined;
682
+ delete?: string | undefined;
683
+ patch?: string | undefined;
684
+ custom?: {
685
+ kind?: string;
686
+ path?: string;
687
+ };
688
+ body?: string;
689
+ responseBody?: string;
690
+ additionalBindings?: any[];
691
+ } & {
692
+ selector?: string;
693
+ get?: string | undefined;
694
+ put?: string | undefined;
695
+ post?: string | undefined;
696
+ delete?: string | undefined;
697
+ patch?: string | undefined;
698
+ custom?: {
699
+ kind?: string;
700
+ path?: string;
701
+ } & {
702
+ kind?: string;
703
+ path?: string;
704
+ } & { [K_8 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
705
+ body?: string;
706
+ responseBody?: string;
707
+ additionalBindings?: {
708
+ selector?: string;
709
+ get?: string | undefined;
710
+ put?: string | undefined;
711
+ post?: string | undefined;
712
+ delete?: string | undefined;
713
+ patch?: string | undefined;
714
+ custom?: {
715
+ kind?: string;
716
+ path?: string;
717
+ };
718
+ body?: string;
719
+ responseBody?: string;
720
+ additionalBindings?: any[];
721
+ }[] & ({
722
+ selector?: string;
723
+ get?: string | undefined;
724
+ put?: string | undefined;
725
+ post?: string | undefined;
726
+ delete?: string | undefined;
727
+ patch?: string | undefined;
728
+ custom?: {
729
+ kind?: string;
730
+ path?: string;
731
+ };
732
+ body?: string;
733
+ responseBody?: string;
734
+ additionalBindings?: any[];
735
+ } & {
736
+ selector?: string;
737
+ get?: string | undefined;
738
+ put?: string | undefined;
739
+ post?: string | undefined;
740
+ delete?: string | undefined;
741
+ patch?: string | undefined;
742
+ custom?: {
743
+ kind?: string;
744
+ path?: string;
745
+ } & any & { [K_9 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
746
+ body?: string;
747
+ responseBody?: string;
748
+ additionalBindings?: {
749
+ selector?: string;
750
+ get?: string | undefined;
751
+ put?: string | undefined;
752
+ post?: string | undefined;
753
+ delete?: string | undefined;
754
+ patch?: string | undefined;
755
+ custom?: {
756
+ kind?: string;
757
+ path?: string;
758
+ };
759
+ body?: string;
760
+ responseBody?: string;
761
+ additionalBindings?: any[];
762
+ }[] & ({
763
+ selector?: string;
764
+ get?: string | undefined;
765
+ put?: string | undefined;
766
+ post?: string | undefined;
767
+ delete?: string | undefined;
768
+ patch?: string | undefined;
769
+ custom?: {
770
+ kind?: string;
771
+ path?: string;
772
+ };
773
+ body?: string;
774
+ responseBody?: string;
775
+ additionalBindings?: any[];
776
+ } & any & { [K_10 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_11 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
777
+ selector?: string;
778
+ get?: string | undefined;
779
+ put?: string | undefined;
780
+ post?: string | undefined;
781
+ delete?: string | undefined;
782
+ patch?: string | undefined;
783
+ custom?: {
784
+ kind?: string;
785
+ path?: string;
786
+ };
787
+ body?: string;
788
+ responseBody?: string;
789
+ additionalBindings?: any[];
790
+ }[]>]: never; };
791
+ } & { [K_12 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_13 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
792
+ selector?: string;
793
+ get?: string | undefined;
794
+ put?: string | undefined;
795
+ post?: string | undefined;
796
+ delete?: string | undefined;
797
+ patch?: string | undefined;
798
+ custom?: {
799
+ kind?: string;
800
+ path?: string;
801
+ };
802
+ body?: string;
803
+ responseBody?: string;
804
+ additionalBindings?: any[];
805
+ }[]>]: never; };
806
+ } & { [K_14 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_15 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
807
+ selector?: string;
808
+ get?: string | undefined;
809
+ put?: string | undefined;
810
+ post?: string | undefined;
811
+ delete?: string | undefined;
812
+ patch?: string | undefined;
813
+ custom?: {
814
+ kind?: string;
815
+ path?: string;
816
+ };
817
+ body?: string;
818
+ responseBody?: string;
819
+ additionalBindings?: any[];
820
+ }[]>]: never; };
821
+ } & { [K_16 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_17 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
822
+ selector?: string;
823
+ get?: string | undefined;
824
+ put?: string | undefined;
825
+ post?: string | undefined;
826
+ delete?: string | undefined;
827
+ patch?: string | undefined;
828
+ custom?: {
829
+ kind?: string;
830
+ path?: string;
831
+ };
832
+ body?: string;
833
+ responseBody?: string;
834
+ additionalBindings?: any[];
835
+ }[]>]: never; };
836
+ } & { [K_18 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_19 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
837
+ selector?: string;
838
+ get?: string | undefined;
839
+ put?: string | undefined;
840
+ post?: string | undefined;
841
+ delete?: string | undefined;
842
+ patch?: string | undefined;
843
+ custom?: {
844
+ kind?: string;
845
+ path?: string;
846
+ };
847
+ body?: string;
848
+ responseBody?: string;
849
+ additionalBindings?: any[];
850
+ }[]>]: never; };
851
+ } & { [K_20 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_21 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
852
+ selector?: string;
853
+ get?: string | undefined;
854
+ put?: string | undefined;
855
+ post?: string | undefined;
856
+ delete?: string | undefined;
857
+ patch?: string | undefined;
858
+ custom?: {
859
+ kind?: string;
860
+ path?: string;
861
+ };
862
+ body?: string;
863
+ responseBody?: string;
864
+ additionalBindings?: any[];
865
+ }[]>]: never; };
866
+ } & { [K_22 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_23 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
867
+ selector?: string;
868
+ get?: string | undefined;
869
+ put?: string | undefined;
870
+ post?: string | undefined;
871
+ delete?: string | undefined;
872
+ patch?: string | undefined;
873
+ custom?: {
874
+ kind?: string;
875
+ path?: string;
876
+ };
877
+ body?: string;
878
+ responseBody?: string;
879
+ additionalBindings?: any[];
880
+ }[]>]: never; };
881
+ } & { [K_24 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_25 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
882
+ selector?: string;
883
+ get?: string | undefined;
884
+ put?: string | undefined;
885
+ post?: string | undefined;
886
+ delete?: string | undefined;
887
+ patch?: string | undefined;
888
+ custom?: {
889
+ kind?: string;
890
+ path?: string;
891
+ };
892
+ body?: string;
893
+ responseBody?: string;
894
+ additionalBindings?: any[];
895
+ }[]>]: never; };
896
+ } & { [K_26 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_27 in Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"], keyof {
897
+ selector?: string;
898
+ get?: string | undefined;
899
+ put?: string | undefined;
900
+ post?: string | undefined;
901
+ delete?: string | undefined;
902
+ patch?: string | undefined;
903
+ custom?: {
904
+ kind?: string;
905
+ path?: string;
906
+ };
907
+ body?: string;
908
+ responseBody?: string;
909
+ additionalBindings?: any[];
910
+ }[]>]: never; };
911
+ } & { [K_28 in Exclude<keyof I["rules"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_29 in Exclude<keyof I["rules"][number]["additionalBindings"], keyof {
912
+ selector?: string;
913
+ get?: string | undefined;
914
+ put?: string | undefined;
915
+ post?: string | undefined;
916
+ delete?: string | undefined;
917
+ patch?: string | undefined;
918
+ custom?: {
919
+ kind?: string;
920
+ path?: string;
921
+ };
922
+ body?: string;
923
+ responseBody?: string;
924
+ additionalBindings?: any[];
925
+ }[]>]: never; };
926
+ } & { [K_30 in Exclude<keyof I["rules"][number], keyof HttpRule>]: never; })[] & { [K_31 in Exclude<keyof I["rules"], keyof {
927
+ selector?: string;
928
+ get?: string | undefined;
929
+ put?: string | undefined;
930
+ post?: string | undefined;
931
+ delete?: string | undefined;
932
+ patch?: string | undefined;
933
+ custom?: {
934
+ kind?: string;
935
+ path?: string;
936
+ };
937
+ body?: string;
938
+ responseBody?: string;
939
+ additionalBindings?: any[];
940
+ }[]>]: never; };
941
+ fullyDecodeReservedExpansion?: boolean;
942
+ } & { [K_32 in Exclude<keyof I, keyof Http>]: never; }>(object: I): Http;
943
+ };
944
+ export declare const HttpRule: {
945
+ encode(message: HttpRule, writer?: _m0.Writer): _m0.Writer;
946
+ decode(input: _m0.Reader | Uint8Array, length?: number): HttpRule;
947
+ fromJSON(object: any): HttpRule;
948
+ toJSON(message: HttpRule): unknown;
949
+ fromPartial<I extends {
950
+ selector?: string;
951
+ get?: string | undefined;
952
+ put?: string | undefined;
953
+ post?: string | undefined;
954
+ delete?: string | undefined;
955
+ patch?: string | undefined;
956
+ custom?: {
957
+ kind?: string;
958
+ path?: string;
959
+ };
960
+ body?: string;
961
+ responseBody?: string;
962
+ additionalBindings?: any[];
963
+ } & {
964
+ selector?: string;
965
+ get?: string | undefined;
966
+ put?: string | undefined;
967
+ post?: string | undefined;
968
+ delete?: string | undefined;
969
+ patch?: string | undefined;
970
+ custom?: {
971
+ kind?: string;
972
+ path?: string;
973
+ } & {
974
+ kind?: string;
975
+ path?: string;
976
+ } & { [K in Exclude<keyof I["custom"], keyof CustomHttpPattern>]: never; };
977
+ body?: string;
978
+ responseBody?: string;
979
+ additionalBindings?: {
980
+ selector?: string;
981
+ get?: string | undefined;
982
+ put?: string | undefined;
983
+ post?: string | undefined;
984
+ delete?: string | undefined;
985
+ patch?: string | undefined;
986
+ custom?: {
987
+ kind?: string;
988
+ path?: string;
989
+ };
990
+ body?: string;
991
+ responseBody?: string;
992
+ additionalBindings?: any[];
993
+ }[] & ({
994
+ selector?: string;
995
+ get?: string | undefined;
996
+ put?: string | undefined;
997
+ post?: string | undefined;
998
+ delete?: string | undefined;
999
+ patch?: string | undefined;
1000
+ custom?: {
1001
+ kind?: string;
1002
+ path?: string;
1003
+ };
1004
+ body?: string;
1005
+ responseBody?: string;
1006
+ additionalBindings?: any[];
1007
+ } & {
1008
+ selector?: string;
1009
+ get?: string | undefined;
1010
+ put?: string | undefined;
1011
+ post?: string | undefined;
1012
+ delete?: string | undefined;
1013
+ patch?: string | undefined;
1014
+ custom?: {
1015
+ kind?: string;
1016
+ path?: string;
1017
+ } & {
1018
+ kind?: string;
1019
+ path?: string;
1020
+ } & { [K_1 in Exclude<keyof I["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
1021
+ body?: string;
1022
+ responseBody?: string;
1023
+ additionalBindings?: {
1024
+ selector?: string;
1025
+ get?: string | undefined;
1026
+ put?: string | undefined;
1027
+ post?: string | undefined;
1028
+ delete?: string | undefined;
1029
+ patch?: string | undefined;
1030
+ custom?: {
1031
+ kind?: string;
1032
+ path?: string;
1033
+ };
1034
+ body?: string;
1035
+ responseBody?: string;
1036
+ additionalBindings?: any[];
1037
+ }[] & ({
1038
+ selector?: string;
1039
+ get?: string | undefined;
1040
+ put?: string | undefined;
1041
+ post?: string | undefined;
1042
+ delete?: string | undefined;
1043
+ patch?: string | undefined;
1044
+ custom?: {
1045
+ kind?: string;
1046
+ path?: string;
1047
+ };
1048
+ body?: string;
1049
+ responseBody?: string;
1050
+ additionalBindings?: any[];
1051
+ } & {
1052
+ selector?: string;
1053
+ get?: string | undefined;
1054
+ put?: string | undefined;
1055
+ post?: string | undefined;
1056
+ delete?: string | undefined;
1057
+ patch?: string | undefined;
1058
+ custom?: {
1059
+ kind?: string;
1060
+ path?: string;
1061
+ } & {
1062
+ kind?: string;
1063
+ path?: string;
1064
+ } & { [K_2 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
1065
+ body?: string;
1066
+ responseBody?: string;
1067
+ additionalBindings?: {
1068
+ selector?: string;
1069
+ get?: string | undefined;
1070
+ put?: string | undefined;
1071
+ post?: string | undefined;
1072
+ delete?: string | undefined;
1073
+ patch?: string | undefined;
1074
+ custom?: {
1075
+ kind?: string;
1076
+ path?: string;
1077
+ };
1078
+ body?: string;
1079
+ responseBody?: string;
1080
+ additionalBindings?: any[];
1081
+ }[] & ({
1082
+ selector?: string;
1083
+ get?: string | undefined;
1084
+ put?: string | undefined;
1085
+ post?: string | undefined;
1086
+ delete?: string | undefined;
1087
+ patch?: string | undefined;
1088
+ custom?: {
1089
+ kind?: string;
1090
+ path?: string;
1091
+ };
1092
+ body?: string;
1093
+ responseBody?: string;
1094
+ additionalBindings?: any[];
1095
+ } & {
1096
+ selector?: string;
1097
+ get?: string | undefined;
1098
+ put?: string | undefined;
1099
+ post?: string | undefined;
1100
+ delete?: string | undefined;
1101
+ patch?: string | undefined;
1102
+ custom?: {
1103
+ kind?: string;
1104
+ path?: string;
1105
+ } & {
1106
+ kind?: string;
1107
+ path?: string;
1108
+ } & { [K_3 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
1109
+ body?: string;
1110
+ responseBody?: string;
1111
+ additionalBindings?: {
1112
+ selector?: string;
1113
+ get?: string | undefined;
1114
+ put?: string | undefined;
1115
+ post?: string | undefined;
1116
+ delete?: string | undefined;
1117
+ patch?: string | undefined;
1118
+ custom?: {
1119
+ kind?: string;
1120
+ path?: string;
1121
+ };
1122
+ body?: string;
1123
+ responseBody?: string;
1124
+ additionalBindings?: any[];
1125
+ }[] & ({
1126
+ selector?: string;
1127
+ get?: string | undefined;
1128
+ put?: string | undefined;
1129
+ post?: string | undefined;
1130
+ delete?: string | undefined;
1131
+ patch?: string | undefined;
1132
+ custom?: {
1133
+ kind?: string;
1134
+ path?: string;
1135
+ };
1136
+ body?: string;
1137
+ responseBody?: string;
1138
+ additionalBindings?: any[];
1139
+ } & {
1140
+ selector?: string;
1141
+ get?: string | undefined;
1142
+ put?: string | undefined;
1143
+ post?: string | undefined;
1144
+ delete?: string | undefined;
1145
+ patch?: string | undefined;
1146
+ custom?: {
1147
+ kind?: string;
1148
+ path?: string;
1149
+ } & {
1150
+ kind?: string;
1151
+ path?: string;
1152
+ } & { [K_4 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
1153
+ body?: string;
1154
+ responseBody?: string;
1155
+ additionalBindings?: {
1156
+ selector?: string;
1157
+ get?: string | undefined;
1158
+ put?: string | undefined;
1159
+ post?: string | undefined;
1160
+ delete?: string | undefined;
1161
+ patch?: string | undefined;
1162
+ custom?: {
1163
+ kind?: string;
1164
+ path?: string;
1165
+ };
1166
+ body?: string;
1167
+ responseBody?: string;
1168
+ additionalBindings?: any[];
1169
+ }[] & ({
1170
+ selector?: string;
1171
+ get?: string | undefined;
1172
+ put?: string | undefined;
1173
+ post?: string | undefined;
1174
+ delete?: string | undefined;
1175
+ patch?: string | undefined;
1176
+ custom?: {
1177
+ kind?: string;
1178
+ path?: string;
1179
+ };
1180
+ body?: string;
1181
+ responseBody?: string;
1182
+ additionalBindings?: any[];
1183
+ } & {
1184
+ selector?: string;
1185
+ get?: string | undefined;
1186
+ put?: string | undefined;
1187
+ post?: string | undefined;
1188
+ delete?: string | undefined;
1189
+ patch?: string | undefined;
1190
+ custom?: {
1191
+ kind?: string;
1192
+ path?: string;
1193
+ } & {
1194
+ kind?: string;
1195
+ path?: string;
1196
+ } & { [K_5 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
1197
+ body?: string;
1198
+ responseBody?: string;
1199
+ additionalBindings?: {
1200
+ selector?: string;
1201
+ get?: string | undefined;
1202
+ put?: string | undefined;
1203
+ post?: string | undefined;
1204
+ delete?: string | undefined;
1205
+ patch?: string | undefined;
1206
+ custom?: {
1207
+ kind?: string;
1208
+ path?: string;
1209
+ };
1210
+ body?: string;
1211
+ responseBody?: string;
1212
+ additionalBindings?: any[];
1213
+ }[] & ({
1214
+ selector?: string;
1215
+ get?: string | undefined;
1216
+ put?: string | undefined;
1217
+ post?: string | undefined;
1218
+ delete?: string | undefined;
1219
+ patch?: string | undefined;
1220
+ custom?: {
1221
+ kind?: string;
1222
+ path?: string;
1223
+ };
1224
+ body?: string;
1225
+ responseBody?: string;
1226
+ additionalBindings?: any[];
1227
+ } & {
1228
+ selector?: string;
1229
+ get?: string | undefined;
1230
+ put?: string | undefined;
1231
+ post?: string | undefined;
1232
+ delete?: string | undefined;
1233
+ patch?: string | undefined;
1234
+ custom?: {
1235
+ kind?: string;
1236
+ path?: string;
1237
+ } & {
1238
+ kind?: string;
1239
+ path?: string;
1240
+ } & { [K_6 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
1241
+ body?: string;
1242
+ responseBody?: string;
1243
+ additionalBindings?: {
1244
+ selector?: string;
1245
+ get?: string | undefined;
1246
+ put?: string | undefined;
1247
+ post?: string | undefined;
1248
+ delete?: string | undefined;
1249
+ patch?: string | undefined;
1250
+ custom?: {
1251
+ kind?: string;
1252
+ path?: string;
1253
+ };
1254
+ body?: string;
1255
+ responseBody?: string;
1256
+ additionalBindings?: any[];
1257
+ }[] & ({
1258
+ selector?: string;
1259
+ get?: string | undefined;
1260
+ put?: string | undefined;
1261
+ post?: string | undefined;
1262
+ delete?: string | undefined;
1263
+ patch?: string | undefined;
1264
+ custom?: {
1265
+ kind?: string;
1266
+ path?: string;
1267
+ };
1268
+ body?: string;
1269
+ responseBody?: string;
1270
+ additionalBindings?: any[];
1271
+ } & {
1272
+ selector?: string;
1273
+ get?: string | undefined;
1274
+ put?: string | undefined;
1275
+ post?: string | undefined;
1276
+ delete?: string | undefined;
1277
+ patch?: string | undefined;
1278
+ custom?: {
1279
+ kind?: string;
1280
+ path?: string;
1281
+ } & {
1282
+ kind?: string;
1283
+ path?: string;
1284
+ } & { [K_7 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
1285
+ body?: string;
1286
+ responseBody?: string;
1287
+ additionalBindings?: {
1288
+ selector?: string;
1289
+ get?: string | undefined;
1290
+ put?: string | undefined;
1291
+ post?: string | undefined;
1292
+ delete?: string | undefined;
1293
+ patch?: string | undefined;
1294
+ custom?: {
1295
+ kind?: string;
1296
+ path?: string;
1297
+ };
1298
+ body?: string;
1299
+ responseBody?: string;
1300
+ additionalBindings?: any[];
1301
+ }[] & ({
1302
+ selector?: string;
1303
+ get?: string | undefined;
1304
+ put?: string | undefined;
1305
+ post?: string | undefined;
1306
+ delete?: string | undefined;
1307
+ patch?: string | undefined;
1308
+ custom?: {
1309
+ kind?: string;
1310
+ path?: string;
1311
+ };
1312
+ body?: string;
1313
+ responseBody?: string;
1314
+ additionalBindings?: any[];
1315
+ } & {
1316
+ selector?: string;
1317
+ get?: string | undefined;
1318
+ put?: string | undefined;
1319
+ post?: string | undefined;
1320
+ delete?: string | undefined;
1321
+ patch?: string | undefined;
1322
+ custom?: {
1323
+ kind?: string;
1324
+ path?: string;
1325
+ } & {
1326
+ kind?: string;
1327
+ path?: string;
1328
+ } & { [K_8 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
1329
+ body?: string;
1330
+ responseBody?: string;
1331
+ additionalBindings?: {
1332
+ selector?: string;
1333
+ get?: string | undefined;
1334
+ put?: string | undefined;
1335
+ post?: string | undefined;
1336
+ delete?: string | undefined;
1337
+ patch?: string | undefined;
1338
+ custom?: {
1339
+ kind?: string;
1340
+ path?: string;
1341
+ };
1342
+ body?: string;
1343
+ responseBody?: string;
1344
+ additionalBindings?: any[];
1345
+ }[] & ({
1346
+ selector?: string;
1347
+ get?: string | undefined;
1348
+ put?: string | undefined;
1349
+ post?: string | undefined;
1350
+ delete?: string | undefined;
1351
+ patch?: string | undefined;
1352
+ custom?: {
1353
+ kind?: string;
1354
+ path?: string;
1355
+ };
1356
+ body?: string;
1357
+ responseBody?: string;
1358
+ additionalBindings?: any[];
1359
+ } & {
1360
+ selector?: string;
1361
+ get?: string | undefined;
1362
+ put?: string | undefined;
1363
+ post?: string | undefined;
1364
+ delete?: string | undefined;
1365
+ patch?: string | undefined;
1366
+ custom?: {
1367
+ kind?: string;
1368
+ path?: string;
1369
+ } & {
1370
+ kind?: string;
1371
+ path?: string;
1372
+ } & { [K_9 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
1373
+ body?: string;
1374
+ responseBody?: string;
1375
+ additionalBindings?: {
1376
+ selector?: string;
1377
+ get?: string | undefined;
1378
+ put?: string | undefined;
1379
+ post?: string | undefined;
1380
+ delete?: string | undefined;
1381
+ patch?: string | undefined;
1382
+ custom?: {
1383
+ kind?: string;
1384
+ path?: string;
1385
+ };
1386
+ body?: string;
1387
+ responseBody?: string;
1388
+ additionalBindings?: any[];
1389
+ }[] & ({
1390
+ selector?: string;
1391
+ get?: string | undefined;
1392
+ put?: string | undefined;
1393
+ post?: string | undefined;
1394
+ delete?: string | undefined;
1395
+ patch?: string | undefined;
1396
+ custom?: {
1397
+ kind?: string;
1398
+ path?: string;
1399
+ };
1400
+ body?: string;
1401
+ responseBody?: string;
1402
+ additionalBindings?: any[];
1403
+ } & {
1404
+ selector?: string;
1405
+ get?: string | undefined;
1406
+ put?: string | undefined;
1407
+ post?: string | undefined;
1408
+ delete?: string | undefined;
1409
+ patch?: string | undefined;
1410
+ custom?: {
1411
+ kind?: string;
1412
+ path?: string;
1413
+ } & any & { [K_10 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["custom"], keyof CustomHttpPattern>]: never; };
1414
+ body?: string;
1415
+ responseBody?: string;
1416
+ additionalBindings?: {
1417
+ selector?: string;
1418
+ get?: string | undefined;
1419
+ put?: string | undefined;
1420
+ post?: string | undefined;
1421
+ delete?: string | undefined;
1422
+ patch?: string | undefined;
1423
+ custom?: {
1424
+ kind?: string;
1425
+ path?: string;
1426
+ };
1427
+ body?: string;
1428
+ responseBody?: string;
1429
+ additionalBindings?: any[];
1430
+ }[] & ({
1431
+ selector?: string;
1432
+ get?: string | undefined;
1433
+ put?: string | undefined;
1434
+ post?: string | undefined;
1435
+ delete?: string | undefined;
1436
+ patch?: string | undefined;
1437
+ custom?: {
1438
+ kind?: string;
1439
+ path?: string;
1440
+ };
1441
+ body?: string;
1442
+ responseBody?: string;
1443
+ additionalBindings?: any[];
1444
+ } & any & { [K_11 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_12 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
1445
+ selector?: string;
1446
+ get?: string | undefined;
1447
+ put?: string | undefined;
1448
+ post?: string | undefined;
1449
+ delete?: string | undefined;
1450
+ patch?: string | undefined;
1451
+ custom?: {
1452
+ kind?: string;
1453
+ path?: string;
1454
+ };
1455
+ body?: string;
1456
+ responseBody?: string;
1457
+ additionalBindings?: any[];
1458
+ }[]>]: never; };
1459
+ } & { [K_13 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_14 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
1460
+ selector?: string;
1461
+ get?: string | undefined;
1462
+ put?: string | undefined;
1463
+ post?: string | undefined;
1464
+ delete?: string | undefined;
1465
+ patch?: string | undefined;
1466
+ custom?: {
1467
+ kind?: string;
1468
+ path?: string;
1469
+ };
1470
+ body?: string;
1471
+ responseBody?: string;
1472
+ additionalBindings?: any[];
1473
+ }[]>]: never; };
1474
+ } & { [K_15 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_16 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
1475
+ selector?: string;
1476
+ get?: string | undefined;
1477
+ put?: string | undefined;
1478
+ post?: string | undefined;
1479
+ delete?: string | undefined;
1480
+ patch?: string | undefined;
1481
+ custom?: {
1482
+ kind?: string;
1483
+ path?: string;
1484
+ };
1485
+ body?: string;
1486
+ responseBody?: string;
1487
+ additionalBindings?: any[];
1488
+ }[]>]: never; };
1489
+ } & { [K_17 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_18 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
1490
+ selector?: string;
1491
+ get?: string | undefined;
1492
+ put?: string | undefined;
1493
+ post?: string | undefined;
1494
+ delete?: string | undefined;
1495
+ patch?: string | undefined;
1496
+ custom?: {
1497
+ kind?: string;
1498
+ path?: string;
1499
+ };
1500
+ body?: string;
1501
+ responseBody?: string;
1502
+ additionalBindings?: any[];
1503
+ }[]>]: never; };
1504
+ } & { [K_19 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_20 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
1505
+ selector?: string;
1506
+ get?: string | undefined;
1507
+ put?: string | undefined;
1508
+ post?: string | undefined;
1509
+ delete?: string | undefined;
1510
+ patch?: string | undefined;
1511
+ custom?: {
1512
+ kind?: string;
1513
+ path?: string;
1514
+ };
1515
+ body?: string;
1516
+ responseBody?: string;
1517
+ additionalBindings?: any[];
1518
+ }[]>]: never; };
1519
+ } & { [K_21 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_22 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
1520
+ selector?: string;
1521
+ get?: string | undefined;
1522
+ put?: string | undefined;
1523
+ post?: string | undefined;
1524
+ delete?: string | undefined;
1525
+ patch?: string | undefined;
1526
+ custom?: {
1527
+ kind?: string;
1528
+ path?: string;
1529
+ };
1530
+ body?: string;
1531
+ responseBody?: string;
1532
+ additionalBindings?: any[];
1533
+ }[]>]: never; };
1534
+ } & { [K_23 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_24 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
1535
+ selector?: string;
1536
+ get?: string | undefined;
1537
+ put?: string | undefined;
1538
+ post?: string | undefined;
1539
+ delete?: string | undefined;
1540
+ patch?: string | undefined;
1541
+ custom?: {
1542
+ kind?: string;
1543
+ path?: string;
1544
+ };
1545
+ body?: string;
1546
+ responseBody?: string;
1547
+ additionalBindings?: any[];
1548
+ }[]>]: never; };
1549
+ } & { [K_25 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_26 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
1550
+ selector?: string;
1551
+ get?: string | undefined;
1552
+ put?: string | undefined;
1553
+ post?: string | undefined;
1554
+ delete?: string | undefined;
1555
+ patch?: string | undefined;
1556
+ custom?: {
1557
+ kind?: string;
1558
+ path?: string;
1559
+ };
1560
+ body?: string;
1561
+ responseBody?: string;
1562
+ additionalBindings?: any[];
1563
+ }[]>]: never; };
1564
+ } & { [K_27 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_28 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
1565
+ selector?: string;
1566
+ get?: string | undefined;
1567
+ put?: string | undefined;
1568
+ post?: string | undefined;
1569
+ delete?: string | undefined;
1570
+ patch?: string | undefined;
1571
+ custom?: {
1572
+ kind?: string;
1573
+ path?: string;
1574
+ };
1575
+ body?: string;
1576
+ responseBody?: string;
1577
+ additionalBindings?: any[];
1578
+ }[]>]: never; };
1579
+ } & { [K_29 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_30 in Exclude<keyof I["additionalBindings"][number]["additionalBindings"], keyof {
1580
+ selector?: string;
1581
+ get?: string | undefined;
1582
+ put?: string | undefined;
1583
+ post?: string | undefined;
1584
+ delete?: string | undefined;
1585
+ patch?: string | undefined;
1586
+ custom?: {
1587
+ kind?: string;
1588
+ path?: string;
1589
+ };
1590
+ body?: string;
1591
+ responseBody?: string;
1592
+ additionalBindings?: any[];
1593
+ }[]>]: never; };
1594
+ } & { [K_31 in Exclude<keyof I["additionalBindings"][number], keyof HttpRule>]: never; })[] & { [K_32 in Exclude<keyof I["additionalBindings"], keyof {
1595
+ selector?: string;
1596
+ get?: string | undefined;
1597
+ put?: string | undefined;
1598
+ post?: string | undefined;
1599
+ delete?: string | undefined;
1600
+ patch?: string | undefined;
1601
+ custom?: {
1602
+ kind?: string;
1603
+ path?: string;
1604
+ };
1605
+ body?: string;
1606
+ responseBody?: string;
1607
+ additionalBindings?: any[];
1608
+ }[]>]: never; };
1609
+ } & { [K_33 in Exclude<keyof I, keyof HttpRule>]: never; }>(object: I): HttpRule;
1610
+ };
1611
+ export declare const CustomHttpPattern: {
1612
+ encode(message: CustomHttpPattern, writer?: _m0.Writer): _m0.Writer;
1613
+ decode(input: _m0.Reader | Uint8Array, length?: number): CustomHttpPattern;
1614
+ fromJSON(object: any): CustomHttpPattern;
1615
+ toJSON(message: CustomHttpPattern): unknown;
1616
+ fromPartial<I extends {
1617
+ kind?: string;
1618
+ path?: string;
1619
+ } & {
1620
+ kind?: string;
1621
+ path?: string;
1622
+ } & { [K in Exclude<keyof I, keyof CustomHttpPattern>]: never; }>(object: I): CustomHttpPattern;
1623
+ };
1624
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1625
+ export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
1626
+ [K in keyof T]?: DeepPartial<T[K]>;
1627
+ } : Partial<T>;
1628
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
1629
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
1630
+ [K in keyof P]: Exact<P[K], I[K]>;
1631
+ } & {
1632
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
1633
+ };
1634
+ export {};