@snap/push2web 0.11.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,3636 @@
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
+ *
39
+ * service Messaging {
40
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
41
+ * option (google.api.http).get = "/v1/messages/{message_id}/{sub.subfield}";
42
+ * }
43
+ * }
44
+ * message GetMessageRequest {
45
+ * message SubMessage {
46
+ * string subfield = 1;
47
+ * }
48
+ * string message_id = 1; // mapped to the URL
49
+ * SubMessage sub = 2; // `sub.subfield` is url-mapped
50
+ * }
51
+ * message Message {
52
+ * string text = 1; // content of the resource
53
+ * }
54
+ *
55
+ * The same http annotation can alternatively be expressed inside the
56
+ * `GRPC API Configuration` YAML file.
57
+ *
58
+ * http:
59
+ * rules:
60
+ * - selector: <proto_package_name>.Messaging.GetMessage
61
+ * get: /v1/messages/{message_id}/{sub.subfield}
62
+ *
63
+ * This definition enables an automatic, bidrectional mapping of HTTP
64
+ * JSON to RPC. Example:
65
+ *
66
+ * HTTP | RPC
67
+ * -----|-----
68
+ * `GET /v1/messages/123456/foo` | `GetMessage(message_id: "123456" sub: SubMessage(subfield: "foo"))`
69
+ *
70
+ * In general, not only fields but also field paths can be referenced
71
+ * from a path pattern. Fields mapped to the path pattern cannot be
72
+ * repeated and must have a primitive (non-message) type.
73
+ *
74
+ * Any fields in the request message which are not bound by the path
75
+ * pattern automatically become (optional) HTTP query
76
+ * parameters. Assume the following definition of the request message:
77
+ *
78
+ *
79
+ * service Messaging {
80
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
81
+ * option (google.api.http).get = "/v1/messages/{message_id}";
82
+ * }
83
+ * }
84
+ * message GetMessageRequest {
85
+ * message SubMessage {
86
+ * string subfield = 1;
87
+ * }
88
+ * string message_id = 1; // mapped to the URL
89
+ * int64 revision = 2; // becomes a parameter
90
+ * SubMessage sub = 3; // `sub.subfield` becomes a parameter
91
+ * }
92
+ *
93
+ *
94
+ * This enables a HTTP JSON to RPC mapping as below:
95
+ *
96
+ * HTTP | RPC
97
+ * -----|-----
98
+ * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))`
99
+ *
100
+ * Note that fields which are mapped to HTTP parameters must have a
101
+ * primitive type or a repeated primitive type. Message types are not
102
+ * allowed. In the case of a repeated type, the parameter can be
103
+ * repeated in the URL, as in `...?param=A&param=B`.
104
+ *
105
+ * For HTTP method kinds which allow a request body, the `body` field
106
+ * specifies the mapping. Consider a REST update method on the
107
+ * message resource collection:
108
+ *
109
+ *
110
+ * service Messaging {
111
+ * rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
112
+ * option (google.api.http) = {
113
+ * put: "/v1/messages/{message_id}"
114
+ * body: "message"
115
+ * };
116
+ * }
117
+ * }
118
+ * message UpdateMessageRequest {
119
+ * string message_id = 1; // mapped to the URL
120
+ * Message message = 2; // mapped to the body
121
+ * }
122
+ *
123
+ *
124
+ * The following HTTP JSON to RPC mapping is enabled, where the
125
+ * representation of the JSON in the request body is determined by
126
+ * protos JSON encoding:
127
+ *
128
+ * HTTP | RPC
129
+ * -----|-----
130
+ * `PUT /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })`
131
+ *
132
+ * The special name `*` can be used in the body mapping to define that
133
+ * every field not bound by the path template should be mapped to the
134
+ * request body. This enables the following alternative definition of
135
+ * the update method:
136
+ *
137
+ * service Messaging {
138
+ * rpc UpdateMessage(Message) returns (Message) {
139
+ * option (google.api.http) = {
140
+ * put: "/v1/messages/{message_id}"
141
+ * body: "*"
142
+ * };
143
+ * }
144
+ * }
145
+ * message Message {
146
+ * string message_id = 1;
147
+ * string text = 2;
148
+ * }
149
+ *
150
+ *
151
+ * The following HTTP JSON to RPC mapping is enabled:
152
+ *
153
+ * HTTP | RPC
154
+ * -----|-----
155
+ * `PUT /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")`
156
+ *
157
+ * Note that when using `*` in the body mapping, it is not possible to
158
+ * have HTTP parameters, as all fields not bound by the path end in
159
+ * the body. This makes this option more rarely used in practice of
160
+ * defining REST APIs. The common usage of `*` is in custom methods
161
+ * which don't use the URL at all for transferring data.
162
+ *
163
+ * It is possible to define multiple HTTP methods for one RPC by using
164
+ * the `additional_bindings` option. Example:
165
+ *
166
+ * service Messaging {
167
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
168
+ * option (google.api.http) = {
169
+ * get: "/v1/messages/{message_id}"
170
+ * additional_bindings {
171
+ * get: "/v1/users/{user_id}/messages/{message_id}"
172
+ * }
173
+ * };
174
+ * }
175
+ * }
176
+ * message GetMessageRequest {
177
+ * string message_id = 1;
178
+ * string user_id = 2;
179
+ * }
180
+ *
181
+ *
182
+ * This enables the following two alternative HTTP JSON to RPC
183
+ * mappings:
184
+ *
185
+ * HTTP | RPC
186
+ * -----|-----
187
+ * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
188
+ * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")`
189
+ *
190
+ * # Rules for HTTP mapping
191
+ *
192
+ * The rules for mapping HTTP path, query parameters, and body fields
193
+ * to the request message are as follows:
194
+ *
195
+ * 1. The `body` field specifies either `*` or a field path, or is
196
+ * omitted. If omitted, it indicates there is no HTTP request body.
197
+ * 2. Leaf fields (recursive expansion of nested messages in the
198
+ * request) can be classified into three types:
199
+ * (a) Matched in the URL template.
200
+ * (b) Covered by body (if body is `*`, everything except (a) fields;
201
+ * else everything under the body field)
202
+ * (c) All other fields.
203
+ * 3. URL query parameters found in the HTTP request are mapped to (c) fields.
204
+ * 4. Any body sent with an HTTP request can contain only (b) fields.
205
+ *
206
+ * The syntax of the path template is as follows:
207
+ *
208
+ * Template = "/" Segments [ Verb ] ;
209
+ * Segments = Segment { "/" Segment } ;
210
+ * Segment = "*" | "**" | LITERAL | Variable ;
211
+ * Variable = "{" FieldPath [ "=" Segments ] "}" ;
212
+ * FieldPath = IDENT { "." IDENT } ;
213
+ * Verb = ":" LITERAL ;
214
+ *
215
+ * The syntax `*` matches a single path segment. The syntax `**` matches zero
216
+ * or more path segments, which must be the last part of the path except the
217
+ * `Verb`. The syntax `LITERAL` matches literal text in the path.
218
+ *
219
+ * The syntax `Variable` matches part of the URL path as specified by its
220
+ * template. A variable template must not contain other variables. If a variable
221
+ * matches a single path segment, its template may be omitted, e.g. `{var}`
222
+ * is equivalent to `{var=*}`.
223
+ *
224
+ * If a variable contains exactly one path segment, such as `"{var}"` or
225
+ * `"{var=*}"`, when such a variable is expanded into a URL path, all characters
226
+ * except `[-_.~0-9a-zA-Z]` are percent-encoded. Such variables show up in the
227
+ * Discovery Document as `{var}`.
228
+ *
229
+ * If a variable contains one or more path segments, such as `"{var=foo/*}"`
230
+ * or `"{var=**}"`, when such a variable is expanded into a URL path, all
231
+ * characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. Such variables
232
+ * show up in the Discovery Document as `{+var}`.
233
+ *
234
+ * NOTE: While the single segment variable matches the semantics of
235
+ * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2
236
+ * Simple String Expansion, the multi segment variable **does not** match
237
+ * RFC 6570 Reserved Expansion. The reason is that the Reserved Expansion
238
+ * does not expand special characters like `?` and `#`, which would lead
239
+ * to invalid URLs.
240
+ *
241
+ * NOTE: the field paths in variables and in the `body` must not refer to
242
+ * repeated fields or map fields.
243
+ */
244
+ export interface HttpRule {
245
+ /**
246
+ * Selects methods to which this rule applies.
247
+ *
248
+ * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
249
+ */
250
+ selector: string;
251
+ pattern?: {
252
+ $case: "get";
253
+ get: string;
254
+ } | {
255
+ $case: "put";
256
+ put: string;
257
+ } | {
258
+ $case: "post";
259
+ post: string;
260
+ } | {
261
+ $case: "delete";
262
+ delete: string;
263
+ } | {
264
+ $case: "patch";
265
+ patch: string;
266
+ } | {
267
+ $case: "custom";
268
+ custom: CustomHttpPattern;
269
+ };
270
+ /**
271
+ * The name of the request field whose value is mapped to the HTTP body, or
272
+ * `*` for mapping all fields not captured by the path pattern to the HTTP
273
+ * body. NOTE: the referred field must not be a repeated field and must be
274
+ * present at the top-level of request message type.
275
+ */
276
+ body: string;
277
+ /**
278
+ * Additional HTTP bindings for the selector. Nested bindings must
279
+ * not contain an `additional_bindings` field themselves (that is,
280
+ * the nesting may only be one level deep).
281
+ */
282
+ additionalBindings: HttpRule[];
283
+ }
284
+ /** A custom pattern is used for defining custom HTTP verb. */
285
+ export interface CustomHttpPattern {
286
+ /** The name of this custom HTTP verb. */
287
+ kind: string;
288
+ /** The path matched by this custom verb. */
289
+ path: string;
290
+ }
291
+ export declare const Http: {
292
+ encode(message: Http, writer?: _m0.Writer): _m0.Writer;
293
+ decode(input: _m0.Reader | Uint8Array, length?: number): Http;
294
+ fromJSON(object: any): Http;
295
+ toJSON(message: Http): unknown;
296
+ fromPartial<I extends {
297
+ rules?: {
298
+ selector?: string | undefined;
299
+ pattern?: ({
300
+ get?: string | undefined;
301
+ } & {
302
+ $case: "get";
303
+ }) | ({
304
+ put?: string | undefined;
305
+ } & {
306
+ $case: "put";
307
+ }) | ({
308
+ post?: string | undefined;
309
+ } & {
310
+ $case: "post";
311
+ }) | ({
312
+ delete?: string | undefined;
313
+ } & {
314
+ $case: "delete";
315
+ }) | ({
316
+ patch?: string | undefined;
317
+ } & {
318
+ $case: "patch";
319
+ }) | ({
320
+ custom?: {
321
+ kind?: string | undefined;
322
+ path?: string | undefined;
323
+ } | undefined;
324
+ } & {
325
+ $case: "custom";
326
+ }) | undefined;
327
+ body?: string | undefined;
328
+ additionalBindings?: any[] | undefined;
329
+ }[] | undefined;
330
+ fullyDecodeReservedExpansion?: boolean | undefined;
331
+ } & {
332
+ rules?: ({
333
+ selector?: string | undefined;
334
+ pattern?: ({
335
+ get?: string | undefined;
336
+ } & {
337
+ $case: "get";
338
+ }) | ({
339
+ put?: string | undefined;
340
+ } & {
341
+ $case: "put";
342
+ }) | ({
343
+ post?: string | undefined;
344
+ } & {
345
+ $case: "post";
346
+ }) | ({
347
+ delete?: string | undefined;
348
+ } & {
349
+ $case: "delete";
350
+ }) | ({
351
+ patch?: string | undefined;
352
+ } & {
353
+ $case: "patch";
354
+ }) | ({
355
+ custom?: {
356
+ kind?: string | undefined;
357
+ path?: string | undefined;
358
+ } | undefined;
359
+ } & {
360
+ $case: "custom";
361
+ }) | undefined;
362
+ body?: string | undefined;
363
+ additionalBindings?: any[] | undefined;
364
+ }[] & ({
365
+ selector?: string | undefined;
366
+ pattern?: ({
367
+ get?: string | undefined;
368
+ } & {
369
+ $case: "get";
370
+ }) | ({
371
+ put?: string | undefined;
372
+ } & {
373
+ $case: "put";
374
+ }) | ({
375
+ post?: string | undefined;
376
+ } & {
377
+ $case: "post";
378
+ }) | ({
379
+ delete?: string | undefined;
380
+ } & {
381
+ $case: "delete";
382
+ }) | ({
383
+ patch?: string | undefined;
384
+ } & {
385
+ $case: "patch";
386
+ }) | ({
387
+ custom?: {
388
+ kind?: string | undefined;
389
+ path?: string | undefined;
390
+ } | undefined;
391
+ } & {
392
+ $case: "custom";
393
+ }) | undefined;
394
+ body?: string | undefined;
395
+ additionalBindings?: any[] | undefined;
396
+ } & {
397
+ selector?: string | undefined;
398
+ pattern?: ({
399
+ get?: string | undefined;
400
+ } & {
401
+ $case: "get";
402
+ } & {
403
+ get?: string | undefined;
404
+ $case: "get";
405
+ } & Record<Exclude<keyof I["rules"][number]["pattern"], "$case" | "get">, never>) | ({
406
+ put?: string | undefined;
407
+ } & {
408
+ $case: "put";
409
+ } & {
410
+ put?: string | undefined;
411
+ $case: "put";
412
+ } & Record<Exclude<keyof I["rules"][number]["pattern"], "$case" | "put">, never>) | ({
413
+ post?: string | undefined;
414
+ } & {
415
+ $case: "post";
416
+ } & {
417
+ post?: string | undefined;
418
+ $case: "post";
419
+ } & Record<Exclude<keyof I["rules"][number]["pattern"], "$case" | "post">, never>) | ({
420
+ delete?: string | undefined;
421
+ } & {
422
+ $case: "delete";
423
+ } & {
424
+ delete?: string | undefined;
425
+ $case: "delete";
426
+ } & Record<Exclude<keyof I["rules"][number]["pattern"], "$case" | "delete">, never>) | ({
427
+ patch?: string | undefined;
428
+ } & {
429
+ $case: "patch";
430
+ } & {
431
+ patch?: string | undefined;
432
+ $case: "patch";
433
+ } & Record<Exclude<keyof I["rules"][number]["pattern"], "$case" | "patch">, never>) | ({
434
+ custom?: {
435
+ kind?: string | undefined;
436
+ path?: string | undefined;
437
+ } | undefined;
438
+ } & {
439
+ $case: "custom";
440
+ } & {
441
+ custom?: ({
442
+ kind?: string | undefined;
443
+ path?: string | undefined;
444
+ } & {
445
+ kind?: string | undefined;
446
+ path?: string | undefined;
447
+ } & Record<Exclude<keyof I["rules"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
448
+ $case: "custom";
449
+ } & Record<Exclude<keyof I["rules"][number]["pattern"], "$case" | "custom">, never>) | undefined;
450
+ body?: string | undefined;
451
+ additionalBindings?: ({
452
+ selector?: string | undefined;
453
+ pattern?: ({
454
+ get?: string | undefined;
455
+ } & {
456
+ $case: "get";
457
+ }) | ({
458
+ put?: string | undefined;
459
+ } & {
460
+ $case: "put";
461
+ }) | ({
462
+ post?: string | undefined;
463
+ } & {
464
+ $case: "post";
465
+ }) | ({
466
+ delete?: string | undefined;
467
+ } & {
468
+ $case: "delete";
469
+ }) | ({
470
+ patch?: string | undefined;
471
+ } & {
472
+ $case: "patch";
473
+ }) | ({
474
+ custom?: {
475
+ kind?: string | undefined;
476
+ path?: string | undefined;
477
+ } | undefined;
478
+ } & {
479
+ $case: "custom";
480
+ }) | undefined;
481
+ body?: string | undefined;
482
+ additionalBindings?: any[] | undefined;
483
+ }[] & ({
484
+ selector?: string | undefined;
485
+ pattern?: ({
486
+ get?: string | undefined;
487
+ } & {
488
+ $case: "get";
489
+ }) | ({
490
+ put?: string | undefined;
491
+ } & {
492
+ $case: "put";
493
+ }) | ({
494
+ post?: string | undefined;
495
+ } & {
496
+ $case: "post";
497
+ }) | ({
498
+ delete?: string | undefined;
499
+ } & {
500
+ $case: "delete";
501
+ }) | ({
502
+ patch?: string | undefined;
503
+ } & {
504
+ $case: "patch";
505
+ }) | ({
506
+ custom?: {
507
+ kind?: string | undefined;
508
+ path?: string | undefined;
509
+ } | undefined;
510
+ } & {
511
+ $case: "custom";
512
+ }) | undefined;
513
+ body?: string | undefined;
514
+ additionalBindings?: any[] | undefined;
515
+ } & {
516
+ selector?: string | undefined;
517
+ pattern?: ({
518
+ get?: string | undefined;
519
+ } & {
520
+ $case: "get";
521
+ } & {
522
+ get?: string | undefined;
523
+ $case: "get";
524
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
525
+ put?: string | undefined;
526
+ } & {
527
+ $case: "put";
528
+ } & {
529
+ put?: string | undefined;
530
+ $case: "put";
531
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
532
+ post?: string | undefined;
533
+ } & {
534
+ $case: "post";
535
+ } & {
536
+ post?: string | undefined;
537
+ $case: "post";
538
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
539
+ delete?: string | undefined;
540
+ } & {
541
+ $case: "delete";
542
+ } & {
543
+ delete?: string | undefined;
544
+ $case: "delete";
545
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
546
+ patch?: string | undefined;
547
+ } & {
548
+ $case: "patch";
549
+ } & {
550
+ patch?: string | undefined;
551
+ $case: "patch";
552
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
553
+ custom?: {
554
+ kind?: string | undefined;
555
+ path?: string | undefined;
556
+ } | undefined;
557
+ } & {
558
+ $case: "custom";
559
+ } & {
560
+ custom?: ({
561
+ kind?: string | undefined;
562
+ path?: string | undefined;
563
+ } & {
564
+ kind?: string | undefined;
565
+ path?: string | undefined;
566
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
567
+ $case: "custom";
568
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
569
+ body?: string | undefined;
570
+ additionalBindings?: ({
571
+ selector?: string | undefined;
572
+ pattern?: ({
573
+ get?: string | undefined;
574
+ } & {
575
+ $case: "get";
576
+ }) | ({
577
+ put?: string | undefined;
578
+ } & {
579
+ $case: "put";
580
+ }) | ({
581
+ post?: string | undefined;
582
+ } & {
583
+ $case: "post";
584
+ }) | ({
585
+ delete?: string | undefined;
586
+ } & {
587
+ $case: "delete";
588
+ }) | ({
589
+ patch?: string | undefined;
590
+ } & {
591
+ $case: "patch";
592
+ }) | ({
593
+ custom?: {
594
+ kind?: string | undefined;
595
+ path?: string | undefined;
596
+ } | undefined;
597
+ } & {
598
+ $case: "custom";
599
+ }) | undefined;
600
+ body?: string | undefined;
601
+ additionalBindings?: any[] | undefined;
602
+ }[] & ({
603
+ selector?: string | undefined;
604
+ pattern?: ({
605
+ get?: string | undefined;
606
+ } & {
607
+ $case: "get";
608
+ }) | ({
609
+ put?: string | undefined;
610
+ } & {
611
+ $case: "put";
612
+ }) | ({
613
+ post?: string | undefined;
614
+ } & {
615
+ $case: "post";
616
+ }) | ({
617
+ delete?: string | undefined;
618
+ } & {
619
+ $case: "delete";
620
+ }) | ({
621
+ patch?: string | undefined;
622
+ } & {
623
+ $case: "patch";
624
+ }) | ({
625
+ custom?: {
626
+ kind?: string | undefined;
627
+ path?: string | undefined;
628
+ } | undefined;
629
+ } & {
630
+ $case: "custom";
631
+ }) | undefined;
632
+ body?: string | undefined;
633
+ additionalBindings?: any[] | undefined;
634
+ } & {
635
+ selector?: string | undefined;
636
+ pattern?: ({
637
+ get?: string | undefined;
638
+ } & {
639
+ $case: "get";
640
+ } & {
641
+ get?: string | undefined;
642
+ $case: "get";
643
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
644
+ put?: string | undefined;
645
+ } & {
646
+ $case: "put";
647
+ } & {
648
+ put?: string | undefined;
649
+ $case: "put";
650
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
651
+ post?: string | undefined;
652
+ } & {
653
+ $case: "post";
654
+ } & {
655
+ post?: string | undefined;
656
+ $case: "post";
657
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
658
+ delete?: string | undefined;
659
+ } & {
660
+ $case: "delete";
661
+ } & {
662
+ delete?: string | undefined;
663
+ $case: "delete";
664
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
665
+ patch?: string | undefined;
666
+ } & {
667
+ $case: "patch";
668
+ } & {
669
+ patch?: string | undefined;
670
+ $case: "patch";
671
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
672
+ custom?: {
673
+ kind?: string | undefined;
674
+ path?: string | undefined;
675
+ } | undefined;
676
+ } & {
677
+ $case: "custom";
678
+ } & {
679
+ custom?: ({
680
+ kind?: string | undefined;
681
+ path?: string | undefined;
682
+ } & {
683
+ kind?: string | undefined;
684
+ path?: string | undefined;
685
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
686
+ $case: "custom";
687
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
688
+ body?: string | undefined;
689
+ additionalBindings?: ({
690
+ selector?: string | undefined;
691
+ pattern?: ({
692
+ get?: string | undefined;
693
+ } & {
694
+ $case: "get";
695
+ }) | ({
696
+ put?: string | undefined;
697
+ } & {
698
+ $case: "put";
699
+ }) | ({
700
+ post?: string | undefined;
701
+ } & {
702
+ $case: "post";
703
+ }) | ({
704
+ delete?: string | undefined;
705
+ } & {
706
+ $case: "delete";
707
+ }) | ({
708
+ patch?: string | undefined;
709
+ } & {
710
+ $case: "patch";
711
+ }) | ({
712
+ custom?: {
713
+ kind?: string | undefined;
714
+ path?: string | undefined;
715
+ } | undefined;
716
+ } & {
717
+ $case: "custom";
718
+ }) | undefined;
719
+ body?: string | undefined;
720
+ additionalBindings?: any[] | undefined;
721
+ }[] & ({
722
+ selector?: string | undefined;
723
+ pattern?: ({
724
+ get?: string | undefined;
725
+ } & {
726
+ $case: "get";
727
+ }) | ({
728
+ put?: string | undefined;
729
+ } & {
730
+ $case: "put";
731
+ }) | ({
732
+ post?: string | undefined;
733
+ } & {
734
+ $case: "post";
735
+ }) | ({
736
+ delete?: string | undefined;
737
+ } & {
738
+ $case: "delete";
739
+ }) | ({
740
+ patch?: string | undefined;
741
+ } & {
742
+ $case: "patch";
743
+ }) | ({
744
+ custom?: {
745
+ kind?: string | undefined;
746
+ path?: string | undefined;
747
+ } | undefined;
748
+ } & {
749
+ $case: "custom";
750
+ }) | undefined;
751
+ body?: string | undefined;
752
+ additionalBindings?: any[] | undefined;
753
+ } & {
754
+ selector?: string | undefined;
755
+ pattern?: ({
756
+ get?: string | undefined;
757
+ } & {
758
+ $case: "get";
759
+ } & {
760
+ get?: string | undefined;
761
+ $case: "get";
762
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
763
+ put?: string | undefined;
764
+ } & {
765
+ $case: "put";
766
+ } & {
767
+ put?: string | undefined;
768
+ $case: "put";
769
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
770
+ post?: string | undefined;
771
+ } & {
772
+ $case: "post";
773
+ } & {
774
+ post?: string | undefined;
775
+ $case: "post";
776
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
777
+ delete?: string | undefined;
778
+ } & {
779
+ $case: "delete";
780
+ } & {
781
+ delete?: string | undefined;
782
+ $case: "delete";
783
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
784
+ patch?: string | undefined;
785
+ } & {
786
+ $case: "patch";
787
+ } & {
788
+ patch?: string | undefined;
789
+ $case: "patch";
790
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
791
+ custom?: {
792
+ kind?: string | undefined;
793
+ path?: string | undefined;
794
+ } | undefined;
795
+ } & {
796
+ $case: "custom";
797
+ } & {
798
+ custom?: ({
799
+ kind?: string | undefined;
800
+ path?: string | undefined;
801
+ } & {
802
+ kind?: string | undefined;
803
+ path?: string | undefined;
804
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
805
+ $case: "custom";
806
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
807
+ body?: string | undefined;
808
+ additionalBindings?: ({
809
+ selector?: string | undefined;
810
+ pattern?: ({
811
+ get?: string | undefined;
812
+ } & {
813
+ $case: "get";
814
+ }) | ({
815
+ put?: string | undefined;
816
+ } & {
817
+ $case: "put";
818
+ }) | ({
819
+ post?: string | undefined;
820
+ } & {
821
+ $case: "post";
822
+ }) | ({
823
+ delete?: string | undefined;
824
+ } & {
825
+ $case: "delete";
826
+ }) | ({
827
+ patch?: string | undefined;
828
+ } & {
829
+ $case: "patch";
830
+ }) | ({
831
+ custom?: {
832
+ kind?: string | undefined;
833
+ path?: string | undefined;
834
+ } | undefined;
835
+ } & {
836
+ $case: "custom";
837
+ }) | undefined;
838
+ body?: string | undefined;
839
+ additionalBindings?: any[] | undefined;
840
+ }[] & ({
841
+ selector?: string | undefined;
842
+ pattern?: ({
843
+ get?: string | undefined;
844
+ } & {
845
+ $case: "get";
846
+ }) | ({
847
+ put?: string | undefined;
848
+ } & {
849
+ $case: "put";
850
+ }) | ({
851
+ post?: string | undefined;
852
+ } & {
853
+ $case: "post";
854
+ }) | ({
855
+ delete?: string | undefined;
856
+ } & {
857
+ $case: "delete";
858
+ }) | ({
859
+ patch?: string | undefined;
860
+ } & {
861
+ $case: "patch";
862
+ }) | ({
863
+ custom?: {
864
+ kind?: string | undefined;
865
+ path?: string | undefined;
866
+ } | undefined;
867
+ } & {
868
+ $case: "custom";
869
+ }) | undefined;
870
+ body?: string | undefined;
871
+ additionalBindings?: any[] | undefined;
872
+ } & {
873
+ selector?: string | undefined;
874
+ pattern?: ({
875
+ get?: string | undefined;
876
+ } & {
877
+ $case: "get";
878
+ } & {
879
+ get?: string | undefined;
880
+ $case: "get";
881
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
882
+ put?: string | undefined;
883
+ } & {
884
+ $case: "put";
885
+ } & {
886
+ put?: string | undefined;
887
+ $case: "put";
888
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
889
+ post?: string | undefined;
890
+ } & {
891
+ $case: "post";
892
+ } & {
893
+ post?: string | undefined;
894
+ $case: "post";
895
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
896
+ delete?: string | undefined;
897
+ } & {
898
+ $case: "delete";
899
+ } & {
900
+ delete?: string | undefined;
901
+ $case: "delete";
902
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
903
+ patch?: string | undefined;
904
+ } & {
905
+ $case: "patch";
906
+ } & {
907
+ patch?: string | undefined;
908
+ $case: "patch";
909
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
910
+ custom?: {
911
+ kind?: string | undefined;
912
+ path?: string | undefined;
913
+ } | undefined;
914
+ } & {
915
+ $case: "custom";
916
+ } & {
917
+ custom?: ({
918
+ kind?: string | undefined;
919
+ path?: string | undefined;
920
+ } & {
921
+ kind?: string | undefined;
922
+ path?: string | undefined;
923
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
924
+ $case: "custom";
925
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
926
+ body?: string | undefined;
927
+ additionalBindings?: ({
928
+ selector?: string | undefined;
929
+ pattern?: ({
930
+ get?: string | undefined;
931
+ } & {
932
+ $case: "get";
933
+ }) | ({
934
+ put?: string | undefined;
935
+ } & {
936
+ $case: "put";
937
+ }) | ({
938
+ post?: string | undefined;
939
+ } & {
940
+ $case: "post";
941
+ }) | ({
942
+ delete?: string | undefined;
943
+ } & {
944
+ $case: "delete";
945
+ }) | ({
946
+ patch?: string | undefined;
947
+ } & {
948
+ $case: "patch";
949
+ }) | ({
950
+ custom?: {
951
+ kind?: string | undefined;
952
+ path?: string | undefined;
953
+ } | undefined;
954
+ } & {
955
+ $case: "custom";
956
+ }) | undefined;
957
+ body?: string | undefined;
958
+ additionalBindings?: any[] | undefined;
959
+ }[] & ({
960
+ selector?: string | undefined;
961
+ pattern?: ({
962
+ get?: string | undefined;
963
+ } & {
964
+ $case: "get";
965
+ }) | ({
966
+ put?: string | undefined;
967
+ } & {
968
+ $case: "put";
969
+ }) | ({
970
+ post?: string | undefined;
971
+ } & {
972
+ $case: "post";
973
+ }) | ({
974
+ delete?: string | undefined;
975
+ } & {
976
+ $case: "delete";
977
+ }) | ({
978
+ patch?: string | undefined;
979
+ } & {
980
+ $case: "patch";
981
+ }) | ({
982
+ custom?: {
983
+ kind?: string | undefined;
984
+ path?: string | undefined;
985
+ } | undefined;
986
+ } & {
987
+ $case: "custom";
988
+ }) | undefined;
989
+ body?: string | undefined;
990
+ additionalBindings?: any[] | undefined;
991
+ } & {
992
+ selector?: string | undefined;
993
+ pattern?: ({
994
+ get?: string | undefined;
995
+ } & {
996
+ $case: "get";
997
+ } & {
998
+ get?: string | undefined;
999
+ $case: "get";
1000
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
1001
+ put?: string | undefined;
1002
+ } & {
1003
+ $case: "put";
1004
+ } & {
1005
+ put?: string | undefined;
1006
+ $case: "put";
1007
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
1008
+ post?: string | undefined;
1009
+ } & {
1010
+ $case: "post";
1011
+ } & {
1012
+ post?: string | undefined;
1013
+ $case: "post";
1014
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
1015
+ delete?: string | undefined;
1016
+ } & {
1017
+ $case: "delete";
1018
+ } & {
1019
+ delete?: string | undefined;
1020
+ $case: "delete";
1021
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
1022
+ patch?: string | undefined;
1023
+ } & {
1024
+ $case: "patch";
1025
+ } & {
1026
+ patch?: string | undefined;
1027
+ $case: "patch";
1028
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
1029
+ custom?: {
1030
+ kind?: string | undefined;
1031
+ path?: string | undefined;
1032
+ } | undefined;
1033
+ } & {
1034
+ $case: "custom";
1035
+ } & {
1036
+ custom?: ({
1037
+ kind?: string | undefined;
1038
+ path?: string | undefined;
1039
+ } & {
1040
+ kind?: string | undefined;
1041
+ path?: string | undefined;
1042
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
1043
+ $case: "custom";
1044
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
1045
+ body?: string | undefined;
1046
+ additionalBindings?: ({
1047
+ selector?: string | undefined;
1048
+ pattern?: ({
1049
+ get?: string | undefined;
1050
+ } & {
1051
+ $case: "get";
1052
+ }) | ({
1053
+ put?: string | undefined;
1054
+ } & {
1055
+ $case: "put";
1056
+ }) | ({
1057
+ post?: string | undefined;
1058
+ } & {
1059
+ $case: "post";
1060
+ }) | ({
1061
+ delete?: string | undefined;
1062
+ } & {
1063
+ $case: "delete";
1064
+ }) | ({
1065
+ patch?: string | undefined;
1066
+ } & {
1067
+ $case: "patch";
1068
+ }) | ({
1069
+ custom?: {
1070
+ kind?: string | undefined;
1071
+ path?: string | undefined;
1072
+ } | undefined;
1073
+ } & {
1074
+ $case: "custom";
1075
+ }) | undefined;
1076
+ body?: string | undefined;
1077
+ additionalBindings?: any[] | undefined;
1078
+ }[] & ({
1079
+ selector?: string | undefined;
1080
+ pattern?: ({
1081
+ get?: string | undefined;
1082
+ } & {
1083
+ $case: "get";
1084
+ }) | ({
1085
+ put?: string | undefined;
1086
+ } & {
1087
+ $case: "put";
1088
+ }) | ({
1089
+ post?: string | undefined;
1090
+ } & {
1091
+ $case: "post";
1092
+ }) | ({
1093
+ delete?: string | undefined;
1094
+ } & {
1095
+ $case: "delete";
1096
+ }) | ({
1097
+ patch?: string | undefined;
1098
+ } & {
1099
+ $case: "patch";
1100
+ }) | ({
1101
+ custom?: {
1102
+ kind?: string | undefined;
1103
+ path?: string | undefined;
1104
+ } | undefined;
1105
+ } & {
1106
+ $case: "custom";
1107
+ }) | undefined;
1108
+ body?: string | undefined;
1109
+ additionalBindings?: any[] | undefined;
1110
+ } & {
1111
+ selector?: string | undefined;
1112
+ pattern?: ({
1113
+ get?: string | undefined;
1114
+ } & {
1115
+ $case: "get";
1116
+ } & {
1117
+ get?: string | undefined;
1118
+ $case: "get";
1119
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
1120
+ put?: string | undefined;
1121
+ } & {
1122
+ $case: "put";
1123
+ } & {
1124
+ put?: string | undefined;
1125
+ $case: "put";
1126
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
1127
+ post?: string | undefined;
1128
+ } & {
1129
+ $case: "post";
1130
+ } & {
1131
+ post?: string | undefined;
1132
+ $case: "post";
1133
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
1134
+ delete?: string | undefined;
1135
+ } & {
1136
+ $case: "delete";
1137
+ } & {
1138
+ delete?: string | undefined;
1139
+ $case: "delete";
1140
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
1141
+ patch?: string | undefined;
1142
+ } & {
1143
+ $case: "patch";
1144
+ } & {
1145
+ patch?: string | undefined;
1146
+ $case: "patch";
1147
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
1148
+ custom?: {
1149
+ kind?: string | undefined;
1150
+ path?: string | undefined;
1151
+ } | undefined;
1152
+ } & {
1153
+ $case: "custom";
1154
+ } & {
1155
+ custom?: ({
1156
+ kind?: string | undefined;
1157
+ path?: string | undefined;
1158
+ } & {
1159
+ kind?: string | undefined;
1160
+ path?: string | undefined;
1161
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
1162
+ $case: "custom";
1163
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
1164
+ body?: string | undefined;
1165
+ additionalBindings?: ({
1166
+ selector?: string | undefined;
1167
+ pattern?: ({
1168
+ get?: string | undefined;
1169
+ } & {
1170
+ $case: "get";
1171
+ }) | ({
1172
+ put?: string | undefined;
1173
+ } & {
1174
+ $case: "put";
1175
+ }) | ({
1176
+ post?: string | undefined;
1177
+ } & {
1178
+ $case: "post";
1179
+ }) | ({
1180
+ delete?: string | undefined;
1181
+ } & {
1182
+ $case: "delete";
1183
+ }) | ({
1184
+ patch?: string | undefined;
1185
+ } & {
1186
+ $case: "patch";
1187
+ }) | ({
1188
+ custom?: {
1189
+ kind?: string | undefined;
1190
+ path?: string | undefined;
1191
+ } | undefined;
1192
+ } & {
1193
+ $case: "custom";
1194
+ }) | undefined;
1195
+ body?: string | undefined;
1196
+ additionalBindings?: any[] | undefined;
1197
+ }[] & ({
1198
+ selector?: string | undefined;
1199
+ pattern?: ({
1200
+ get?: string | undefined;
1201
+ } & {
1202
+ $case: "get";
1203
+ }) | ({
1204
+ put?: string | undefined;
1205
+ } & {
1206
+ $case: "put";
1207
+ }) | ({
1208
+ post?: string | undefined;
1209
+ } & {
1210
+ $case: "post";
1211
+ }) | ({
1212
+ delete?: string | undefined;
1213
+ } & {
1214
+ $case: "delete";
1215
+ }) | ({
1216
+ patch?: string | undefined;
1217
+ } & {
1218
+ $case: "patch";
1219
+ }) | ({
1220
+ custom?: {
1221
+ kind?: string | undefined;
1222
+ path?: string | undefined;
1223
+ } | undefined;
1224
+ } & {
1225
+ $case: "custom";
1226
+ }) | undefined;
1227
+ body?: string | undefined;
1228
+ additionalBindings?: any[] | undefined;
1229
+ } & {
1230
+ selector?: string | undefined;
1231
+ pattern?: ({
1232
+ get?: string | undefined;
1233
+ } & {
1234
+ $case: "get";
1235
+ } & {
1236
+ get?: string | undefined;
1237
+ $case: "get";
1238
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
1239
+ put?: string | undefined;
1240
+ } & {
1241
+ $case: "put";
1242
+ } & {
1243
+ put?: string | undefined;
1244
+ $case: "put";
1245
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
1246
+ post?: string | undefined;
1247
+ } & {
1248
+ $case: "post";
1249
+ } & {
1250
+ post?: string | undefined;
1251
+ $case: "post";
1252
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
1253
+ delete?: string | undefined;
1254
+ } & {
1255
+ $case: "delete";
1256
+ } & {
1257
+ delete?: string | undefined;
1258
+ $case: "delete";
1259
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
1260
+ patch?: string | undefined;
1261
+ } & {
1262
+ $case: "patch";
1263
+ } & {
1264
+ patch?: string | undefined;
1265
+ $case: "patch";
1266
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
1267
+ custom?: {
1268
+ kind?: string | undefined;
1269
+ path?: string | undefined;
1270
+ } | undefined;
1271
+ } & {
1272
+ $case: "custom";
1273
+ } & {
1274
+ custom?: ({
1275
+ kind?: string | undefined;
1276
+ path?: string | undefined;
1277
+ } & {
1278
+ kind?: string | undefined;
1279
+ path?: string | undefined;
1280
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
1281
+ $case: "custom";
1282
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
1283
+ body?: string | undefined;
1284
+ additionalBindings?: ({
1285
+ selector?: string | undefined;
1286
+ pattern?: ({
1287
+ get?: string | undefined;
1288
+ } & {
1289
+ $case: "get";
1290
+ }) | ({
1291
+ put?: string | undefined;
1292
+ } & {
1293
+ $case: "put";
1294
+ }) | ({
1295
+ post?: string | undefined;
1296
+ } & {
1297
+ $case: "post";
1298
+ }) | ({
1299
+ delete?: string | undefined;
1300
+ } & {
1301
+ $case: "delete";
1302
+ }) | ({
1303
+ patch?: string | undefined;
1304
+ } & {
1305
+ $case: "patch";
1306
+ }) | ({
1307
+ custom?: {
1308
+ kind?: string | undefined;
1309
+ path?: string | undefined;
1310
+ } | undefined;
1311
+ } & {
1312
+ $case: "custom";
1313
+ }) | undefined;
1314
+ body?: string | undefined;
1315
+ additionalBindings?: any[] | undefined;
1316
+ }[] & ({
1317
+ selector?: string | undefined;
1318
+ pattern?: ({
1319
+ get?: string | undefined;
1320
+ } & {
1321
+ $case: "get";
1322
+ }) | ({
1323
+ put?: string | undefined;
1324
+ } & {
1325
+ $case: "put";
1326
+ }) | ({
1327
+ post?: string | undefined;
1328
+ } & {
1329
+ $case: "post";
1330
+ }) | ({
1331
+ delete?: string | undefined;
1332
+ } & {
1333
+ $case: "delete";
1334
+ }) | ({
1335
+ patch?: string | undefined;
1336
+ } & {
1337
+ $case: "patch";
1338
+ }) | ({
1339
+ custom?: {
1340
+ kind?: string | undefined;
1341
+ path?: string | undefined;
1342
+ } | undefined;
1343
+ } & {
1344
+ $case: "custom";
1345
+ }) | undefined;
1346
+ body?: string | undefined;
1347
+ additionalBindings?: any[] | undefined;
1348
+ } & {
1349
+ selector?: string | undefined;
1350
+ pattern?: ({
1351
+ get?: string | undefined;
1352
+ } & {
1353
+ $case: "get";
1354
+ } & {
1355
+ get?: string | undefined;
1356
+ $case: "get";
1357
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
1358
+ put?: string | undefined;
1359
+ } & {
1360
+ $case: "put";
1361
+ } & {
1362
+ put?: string | undefined;
1363
+ $case: "put";
1364
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
1365
+ post?: string | undefined;
1366
+ } & {
1367
+ $case: "post";
1368
+ } & {
1369
+ post?: string | undefined;
1370
+ $case: "post";
1371
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
1372
+ delete?: string | undefined;
1373
+ } & {
1374
+ $case: "delete";
1375
+ } & {
1376
+ delete?: string | undefined;
1377
+ $case: "delete";
1378
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
1379
+ patch?: string | undefined;
1380
+ } & {
1381
+ $case: "patch";
1382
+ } & {
1383
+ patch?: string | undefined;
1384
+ $case: "patch";
1385
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
1386
+ custom?: {
1387
+ kind?: string | undefined;
1388
+ path?: string | undefined;
1389
+ } | undefined;
1390
+ } & {
1391
+ $case: "custom";
1392
+ } & {
1393
+ custom?: ({
1394
+ kind?: string | undefined;
1395
+ path?: string | undefined;
1396
+ } & any & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
1397
+ $case: "custom";
1398
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
1399
+ body?: string | undefined;
1400
+ additionalBindings?: ({
1401
+ selector?: string | undefined;
1402
+ pattern?: ({
1403
+ get?: string | undefined;
1404
+ } & {
1405
+ $case: "get";
1406
+ }) | ({
1407
+ put?: string | undefined;
1408
+ } & {
1409
+ $case: "put";
1410
+ }) | ({
1411
+ post?: string | undefined;
1412
+ } & {
1413
+ $case: "post";
1414
+ }) | ({
1415
+ delete?: string | undefined;
1416
+ } & {
1417
+ $case: "delete";
1418
+ }) | ({
1419
+ patch?: string | undefined;
1420
+ } & {
1421
+ $case: "patch";
1422
+ }) | ({
1423
+ custom?: {
1424
+ kind?: string | undefined;
1425
+ path?: string | undefined;
1426
+ } | undefined;
1427
+ } & {
1428
+ $case: "custom";
1429
+ }) | undefined;
1430
+ body?: string | undefined;
1431
+ additionalBindings?: any[] | undefined;
1432
+ }[] & ({
1433
+ selector?: string | undefined;
1434
+ pattern?: ({
1435
+ get?: string | undefined;
1436
+ } & {
1437
+ $case: "get";
1438
+ }) | ({
1439
+ put?: string | undefined;
1440
+ } & {
1441
+ $case: "put";
1442
+ }) | ({
1443
+ post?: string | undefined;
1444
+ } & {
1445
+ $case: "post";
1446
+ }) | ({
1447
+ delete?: string | undefined;
1448
+ } & {
1449
+ $case: "delete";
1450
+ }) | ({
1451
+ patch?: string | undefined;
1452
+ } & {
1453
+ $case: "patch";
1454
+ }) | ({
1455
+ custom?: {
1456
+ kind?: string | undefined;
1457
+ path?: string | undefined;
1458
+ } | undefined;
1459
+ } & {
1460
+ $case: "custom";
1461
+ }) | undefined;
1462
+ body?: string | undefined;
1463
+ additionalBindings?: any[] | undefined;
1464
+ } & {
1465
+ selector?: string | undefined;
1466
+ pattern?: ({
1467
+ get?: string | undefined;
1468
+ } & {
1469
+ $case: "get";
1470
+ } & any & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
1471
+ put?: string | undefined;
1472
+ } & {
1473
+ $case: "put";
1474
+ } & any & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
1475
+ post?: string | undefined;
1476
+ } & {
1477
+ $case: "post";
1478
+ } & any & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
1479
+ delete?: string | undefined;
1480
+ } & {
1481
+ $case: "delete";
1482
+ } & any & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
1483
+ patch?: string | undefined;
1484
+ } & {
1485
+ $case: "patch";
1486
+ } & any & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
1487
+ custom?: {
1488
+ kind?: string | undefined;
1489
+ path?: string | undefined;
1490
+ } | undefined;
1491
+ } & {
1492
+ $case: "custom";
1493
+ } & any & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
1494
+ body?: string | undefined;
1495
+ additionalBindings?: ({
1496
+ selector?: string | undefined;
1497
+ pattern?: ({
1498
+ get?: string | undefined;
1499
+ } & {
1500
+ $case: "get";
1501
+ }) | ({
1502
+ put?: string | undefined;
1503
+ } & {
1504
+ $case: "put";
1505
+ }) | ({
1506
+ post?: string | undefined;
1507
+ } & {
1508
+ $case: "post";
1509
+ }) | ({
1510
+ delete?: string | undefined;
1511
+ } & {
1512
+ $case: "delete";
1513
+ }) | ({
1514
+ patch?: string | undefined;
1515
+ } & {
1516
+ $case: "patch";
1517
+ }) | ({
1518
+ custom?: {
1519
+ kind?: string | undefined;
1520
+ path?: string | undefined;
1521
+ } | undefined;
1522
+ } & {
1523
+ $case: "custom";
1524
+ }) | undefined;
1525
+ body?: string | undefined;
1526
+ additionalBindings?: any[] | undefined;
1527
+ }[] & ({
1528
+ selector?: string | undefined;
1529
+ pattern?: ({
1530
+ get?: string | undefined;
1531
+ } & {
1532
+ $case: "get";
1533
+ }) | ({
1534
+ put?: string | undefined;
1535
+ } & {
1536
+ $case: "put";
1537
+ }) | ({
1538
+ post?: string | undefined;
1539
+ } & {
1540
+ $case: "post";
1541
+ }) | ({
1542
+ delete?: string | undefined;
1543
+ } & {
1544
+ $case: "delete";
1545
+ }) | ({
1546
+ patch?: string | undefined;
1547
+ } & {
1548
+ $case: "patch";
1549
+ }) | ({
1550
+ custom?: {
1551
+ kind?: string | undefined;
1552
+ path?: string | undefined;
1553
+ } | undefined;
1554
+ } & {
1555
+ $case: "custom";
1556
+ }) | undefined;
1557
+ body?: string | undefined;
1558
+ additionalBindings?: any[] | undefined;
1559
+ } & any & Record<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>)[] & Record<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 {
1560
+ selector?: string | undefined;
1561
+ pattern?: ({
1562
+ get?: string | undefined;
1563
+ } & {
1564
+ $case: "get";
1565
+ }) | ({
1566
+ put?: string | undefined;
1567
+ } & {
1568
+ $case: "put";
1569
+ }) | ({
1570
+ post?: string | undefined;
1571
+ } & {
1572
+ $case: "post";
1573
+ }) | ({
1574
+ delete?: string | undefined;
1575
+ } & {
1576
+ $case: "delete";
1577
+ }) | ({
1578
+ patch?: string | undefined;
1579
+ } & {
1580
+ $case: "patch";
1581
+ }) | ({
1582
+ custom?: {
1583
+ kind?: string | undefined;
1584
+ path?: string | undefined;
1585
+ } | undefined;
1586
+ } & {
1587
+ $case: "custom";
1588
+ }) | undefined;
1589
+ body?: string | undefined;
1590
+ additionalBindings?: any[] | undefined;
1591
+ }[]>, never>) | undefined;
1592
+ } & Record<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>)[] & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
1593
+ selector?: string | undefined;
1594
+ pattern?: ({
1595
+ get?: string | undefined;
1596
+ } & {
1597
+ $case: "get";
1598
+ }) | ({
1599
+ put?: string | undefined;
1600
+ } & {
1601
+ $case: "put";
1602
+ }) | ({
1603
+ post?: string | undefined;
1604
+ } & {
1605
+ $case: "post";
1606
+ }) | ({
1607
+ delete?: string | undefined;
1608
+ } & {
1609
+ $case: "delete";
1610
+ }) | ({
1611
+ patch?: string | undefined;
1612
+ } & {
1613
+ $case: "patch";
1614
+ }) | ({
1615
+ custom?: {
1616
+ kind?: string | undefined;
1617
+ path?: string | undefined;
1618
+ } | undefined;
1619
+ } & {
1620
+ $case: "custom";
1621
+ }) | undefined;
1622
+ body?: string | undefined;
1623
+ additionalBindings?: any[] | undefined;
1624
+ }[]>, never>) | undefined;
1625
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
1626
+ selector?: string | undefined;
1627
+ pattern?: ({
1628
+ get?: string | undefined;
1629
+ } & {
1630
+ $case: "get";
1631
+ }) | ({
1632
+ put?: string | undefined;
1633
+ } & {
1634
+ $case: "put";
1635
+ }) | ({
1636
+ post?: string | undefined;
1637
+ } & {
1638
+ $case: "post";
1639
+ }) | ({
1640
+ delete?: string | undefined;
1641
+ } & {
1642
+ $case: "delete";
1643
+ }) | ({
1644
+ patch?: string | undefined;
1645
+ } & {
1646
+ $case: "patch";
1647
+ }) | ({
1648
+ custom?: {
1649
+ kind?: string | undefined;
1650
+ path?: string | undefined;
1651
+ } | undefined;
1652
+ } & {
1653
+ $case: "custom";
1654
+ }) | undefined;
1655
+ body?: string | undefined;
1656
+ additionalBindings?: any[] | undefined;
1657
+ }[]>, never>) | undefined;
1658
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
1659
+ selector?: string | undefined;
1660
+ pattern?: ({
1661
+ get?: string | undefined;
1662
+ } & {
1663
+ $case: "get";
1664
+ }) | ({
1665
+ put?: string | undefined;
1666
+ } & {
1667
+ $case: "put";
1668
+ }) | ({
1669
+ post?: string | undefined;
1670
+ } & {
1671
+ $case: "post";
1672
+ }) | ({
1673
+ delete?: string | undefined;
1674
+ } & {
1675
+ $case: "delete";
1676
+ }) | ({
1677
+ patch?: string | undefined;
1678
+ } & {
1679
+ $case: "patch";
1680
+ }) | ({
1681
+ custom?: {
1682
+ kind?: string | undefined;
1683
+ path?: string | undefined;
1684
+ } | undefined;
1685
+ } & {
1686
+ $case: "custom";
1687
+ }) | undefined;
1688
+ body?: string | undefined;
1689
+ additionalBindings?: any[] | undefined;
1690
+ }[]>, never>) | undefined;
1691
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
1692
+ selector?: string | undefined;
1693
+ pattern?: ({
1694
+ get?: string | undefined;
1695
+ } & {
1696
+ $case: "get";
1697
+ }) | ({
1698
+ put?: string | undefined;
1699
+ } & {
1700
+ $case: "put";
1701
+ }) | ({
1702
+ post?: string | undefined;
1703
+ } & {
1704
+ $case: "post";
1705
+ }) | ({
1706
+ delete?: string | undefined;
1707
+ } & {
1708
+ $case: "delete";
1709
+ }) | ({
1710
+ patch?: string | undefined;
1711
+ } & {
1712
+ $case: "patch";
1713
+ }) | ({
1714
+ custom?: {
1715
+ kind?: string | undefined;
1716
+ path?: string | undefined;
1717
+ } | undefined;
1718
+ } & {
1719
+ $case: "custom";
1720
+ }) | undefined;
1721
+ body?: string | undefined;
1722
+ additionalBindings?: any[] | undefined;
1723
+ }[]>, never>) | undefined;
1724
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
1725
+ selector?: string | undefined;
1726
+ pattern?: ({
1727
+ get?: string | undefined;
1728
+ } & {
1729
+ $case: "get";
1730
+ }) | ({
1731
+ put?: string | undefined;
1732
+ } & {
1733
+ $case: "put";
1734
+ }) | ({
1735
+ post?: string | undefined;
1736
+ } & {
1737
+ $case: "post";
1738
+ }) | ({
1739
+ delete?: string | undefined;
1740
+ } & {
1741
+ $case: "delete";
1742
+ }) | ({
1743
+ patch?: string | undefined;
1744
+ } & {
1745
+ $case: "patch";
1746
+ }) | ({
1747
+ custom?: {
1748
+ kind?: string | undefined;
1749
+ path?: string | undefined;
1750
+ } | undefined;
1751
+ } & {
1752
+ $case: "custom";
1753
+ }) | undefined;
1754
+ body?: string | undefined;
1755
+ additionalBindings?: any[] | undefined;
1756
+ }[]>, never>) | undefined;
1757
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
1758
+ selector?: string | undefined;
1759
+ pattern?: ({
1760
+ get?: string | undefined;
1761
+ } & {
1762
+ $case: "get";
1763
+ }) | ({
1764
+ put?: string | undefined;
1765
+ } & {
1766
+ $case: "put";
1767
+ }) | ({
1768
+ post?: string | undefined;
1769
+ } & {
1770
+ $case: "post";
1771
+ }) | ({
1772
+ delete?: string | undefined;
1773
+ } & {
1774
+ $case: "delete";
1775
+ }) | ({
1776
+ patch?: string | undefined;
1777
+ } & {
1778
+ $case: "patch";
1779
+ }) | ({
1780
+ custom?: {
1781
+ kind?: string | undefined;
1782
+ path?: string | undefined;
1783
+ } | undefined;
1784
+ } & {
1785
+ $case: "custom";
1786
+ }) | undefined;
1787
+ body?: string | undefined;
1788
+ additionalBindings?: any[] | undefined;
1789
+ }[]>, never>) | undefined;
1790
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
1791
+ selector?: string | undefined;
1792
+ pattern?: ({
1793
+ get?: string | undefined;
1794
+ } & {
1795
+ $case: "get";
1796
+ }) | ({
1797
+ put?: string | undefined;
1798
+ } & {
1799
+ $case: "put";
1800
+ }) | ({
1801
+ post?: string | undefined;
1802
+ } & {
1803
+ $case: "post";
1804
+ }) | ({
1805
+ delete?: string | undefined;
1806
+ } & {
1807
+ $case: "delete";
1808
+ }) | ({
1809
+ patch?: string | undefined;
1810
+ } & {
1811
+ $case: "patch";
1812
+ }) | ({
1813
+ custom?: {
1814
+ kind?: string | undefined;
1815
+ path?: string | undefined;
1816
+ } | undefined;
1817
+ } & {
1818
+ $case: "custom";
1819
+ }) | undefined;
1820
+ body?: string | undefined;
1821
+ additionalBindings?: any[] | undefined;
1822
+ }[]>, never>) | undefined;
1823
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number]["additionalBindings"], keyof {
1824
+ selector?: string | undefined;
1825
+ pattern?: ({
1826
+ get?: string | undefined;
1827
+ } & {
1828
+ $case: "get";
1829
+ }) | ({
1830
+ put?: string | undefined;
1831
+ } & {
1832
+ $case: "put";
1833
+ }) | ({
1834
+ post?: string | undefined;
1835
+ } & {
1836
+ $case: "post";
1837
+ }) | ({
1838
+ delete?: string | undefined;
1839
+ } & {
1840
+ $case: "delete";
1841
+ }) | ({
1842
+ patch?: string | undefined;
1843
+ } & {
1844
+ $case: "patch";
1845
+ }) | ({
1846
+ custom?: {
1847
+ kind?: string | undefined;
1848
+ path?: string | undefined;
1849
+ } | undefined;
1850
+ } & {
1851
+ $case: "custom";
1852
+ }) | undefined;
1853
+ body?: string | undefined;
1854
+ additionalBindings?: any[] | undefined;
1855
+ }[]>, never>) | undefined;
1856
+ } & Record<Exclude<keyof I["rules"][number]["additionalBindings"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["rules"][number]["additionalBindings"], keyof {
1857
+ selector?: string | undefined;
1858
+ pattern?: ({
1859
+ get?: string | undefined;
1860
+ } & {
1861
+ $case: "get";
1862
+ }) | ({
1863
+ put?: string | undefined;
1864
+ } & {
1865
+ $case: "put";
1866
+ }) | ({
1867
+ post?: string | undefined;
1868
+ } & {
1869
+ $case: "post";
1870
+ }) | ({
1871
+ delete?: string | undefined;
1872
+ } & {
1873
+ $case: "delete";
1874
+ }) | ({
1875
+ patch?: string | undefined;
1876
+ } & {
1877
+ $case: "patch";
1878
+ }) | ({
1879
+ custom?: {
1880
+ kind?: string | undefined;
1881
+ path?: string | undefined;
1882
+ } | undefined;
1883
+ } & {
1884
+ $case: "custom";
1885
+ }) | undefined;
1886
+ body?: string | undefined;
1887
+ additionalBindings?: any[] | undefined;
1888
+ }[]>, never>) | undefined;
1889
+ } & Record<Exclude<keyof I["rules"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["rules"], keyof {
1890
+ selector?: string | undefined;
1891
+ pattern?: ({
1892
+ get?: string | undefined;
1893
+ } & {
1894
+ $case: "get";
1895
+ }) | ({
1896
+ put?: string | undefined;
1897
+ } & {
1898
+ $case: "put";
1899
+ }) | ({
1900
+ post?: string | undefined;
1901
+ } & {
1902
+ $case: "post";
1903
+ }) | ({
1904
+ delete?: string | undefined;
1905
+ } & {
1906
+ $case: "delete";
1907
+ }) | ({
1908
+ patch?: string | undefined;
1909
+ } & {
1910
+ $case: "patch";
1911
+ }) | ({
1912
+ custom?: {
1913
+ kind?: string | undefined;
1914
+ path?: string | undefined;
1915
+ } | undefined;
1916
+ } & {
1917
+ $case: "custom";
1918
+ }) | undefined;
1919
+ body?: string | undefined;
1920
+ additionalBindings?: any[] | undefined;
1921
+ }[]>, never>) | undefined;
1922
+ fullyDecodeReservedExpansion?: boolean | undefined;
1923
+ } & Record<Exclude<keyof I, keyof Http>, never>>(object: I): Http;
1924
+ };
1925
+ export declare const HttpRule: {
1926
+ encode(message: HttpRule, writer?: _m0.Writer): _m0.Writer;
1927
+ decode(input: _m0.Reader | Uint8Array, length?: number): HttpRule;
1928
+ fromJSON(object: any): HttpRule;
1929
+ toJSON(message: HttpRule): unknown;
1930
+ fromPartial<I extends {
1931
+ selector?: string | undefined;
1932
+ pattern?: ({
1933
+ get?: string | undefined;
1934
+ } & {
1935
+ $case: "get";
1936
+ }) | ({
1937
+ put?: string | undefined;
1938
+ } & {
1939
+ $case: "put";
1940
+ }) | ({
1941
+ post?: string | undefined;
1942
+ } & {
1943
+ $case: "post";
1944
+ }) | ({
1945
+ delete?: string | undefined;
1946
+ } & {
1947
+ $case: "delete";
1948
+ }) | ({
1949
+ patch?: string | undefined;
1950
+ } & {
1951
+ $case: "patch";
1952
+ }) | ({
1953
+ custom?: {
1954
+ kind?: string | undefined;
1955
+ path?: string | undefined;
1956
+ } | undefined;
1957
+ } & {
1958
+ $case: "custom";
1959
+ }) | undefined;
1960
+ body?: string | undefined;
1961
+ additionalBindings?: any[] | undefined;
1962
+ } & {
1963
+ selector?: string | undefined;
1964
+ pattern?: ({
1965
+ get?: string | undefined;
1966
+ } & {
1967
+ $case: "get";
1968
+ } & {
1969
+ get?: string | undefined;
1970
+ $case: "get";
1971
+ } & Record<Exclude<keyof I["pattern"], "$case" | "get">, never>) | ({
1972
+ put?: string | undefined;
1973
+ } & {
1974
+ $case: "put";
1975
+ } & {
1976
+ put?: string | undefined;
1977
+ $case: "put";
1978
+ } & Record<Exclude<keyof I["pattern"], "$case" | "put">, never>) | ({
1979
+ post?: string | undefined;
1980
+ } & {
1981
+ $case: "post";
1982
+ } & {
1983
+ post?: string | undefined;
1984
+ $case: "post";
1985
+ } & Record<Exclude<keyof I["pattern"], "$case" | "post">, never>) | ({
1986
+ delete?: string | undefined;
1987
+ } & {
1988
+ $case: "delete";
1989
+ } & {
1990
+ delete?: string | undefined;
1991
+ $case: "delete";
1992
+ } & Record<Exclude<keyof I["pattern"], "$case" | "delete">, never>) | ({
1993
+ patch?: string | undefined;
1994
+ } & {
1995
+ $case: "patch";
1996
+ } & {
1997
+ patch?: string | undefined;
1998
+ $case: "patch";
1999
+ } & Record<Exclude<keyof I["pattern"], "$case" | "patch">, never>) | ({
2000
+ custom?: {
2001
+ kind?: string | undefined;
2002
+ path?: string | undefined;
2003
+ } | undefined;
2004
+ } & {
2005
+ $case: "custom";
2006
+ } & {
2007
+ custom?: ({
2008
+ kind?: string | undefined;
2009
+ path?: string | undefined;
2010
+ } & {
2011
+ kind?: string | undefined;
2012
+ path?: string | undefined;
2013
+ } & Record<Exclude<keyof I["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
2014
+ $case: "custom";
2015
+ } & Record<Exclude<keyof I["pattern"], "$case" | "custom">, never>) | undefined;
2016
+ body?: string | undefined;
2017
+ additionalBindings?: ({
2018
+ selector?: string | undefined;
2019
+ pattern?: ({
2020
+ get?: string | undefined;
2021
+ } & {
2022
+ $case: "get";
2023
+ }) | ({
2024
+ put?: string | undefined;
2025
+ } & {
2026
+ $case: "put";
2027
+ }) | ({
2028
+ post?: string | undefined;
2029
+ } & {
2030
+ $case: "post";
2031
+ }) | ({
2032
+ delete?: string | undefined;
2033
+ } & {
2034
+ $case: "delete";
2035
+ }) | ({
2036
+ patch?: string | undefined;
2037
+ } & {
2038
+ $case: "patch";
2039
+ }) | ({
2040
+ custom?: {
2041
+ kind?: string | undefined;
2042
+ path?: string | undefined;
2043
+ } | undefined;
2044
+ } & {
2045
+ $case: "custom";
2046
+ }) | undefined;
2047
+ body?: string | undefined;
2048
+ additionalBindings?: any[] | undefined;
2049
+ }[] & ({
2050
+ selector?: string | undefined;
2051
+ pattern?: ({
2052
+ get?: string | undefined;
2053
+ } & {
2054
+ $case: "get";
2055
+ }) | ({
2056
+ put?: string | undefined;
2057
+ } & {
2058
+ $case: "put";
2059
+ }) | ({
2060
+ post?: string | undefined;
2061
+ } & {
2062
+ $case: "post";
2063
+ }) | ({
2064
+ delete?: string | undefined;
2065
+ } & {
2066
+ $case: "delete";
2067
+ }) | ({
2068
+ patch?: string | undefined;
2069
+ } & {
2070
+ $case: "patch";
2071
+ }) | ({
2072
+ custom?: {
2073
+ kind?: string | undefined;
2074
+ path?: string | undefined;
2075
+ } | undefined;
2076
+ } & {
2077
+ $case: "custom";
2078
+ }) | undefined;
2079
+ body?: string | undefined;
2080
+ additionalBindings?: any[] | undefined;
2081
+ } & {
2082
+ selector?: string | undefined;
2083
+ pattern?: ({
2084
+ get?: string | undefined;
2085
+ } & {
2086
+ $case: "get";
2087
+ } & {
2088
+ get?: string | undefined;
2089
+ $case: "get";
2090
+ } & Record<Exclude<keyof I["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
2091
+ put?: string | undefined;
2092
+ } & {
2093
+ $case: "put";
2094
+ } & {
2095
+ put?: string | undefined;
2096
+ $case: "put";
2097
+ } & Record<Exclude<keyof I["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
2098
+ post?: string | undefined;
2099
+ } & {
2100
+ $case: "post";
2101
+ } & {
2102
+ post?: string | undefined;
2103
+ $case: "post";
2104
+ } & Record<Exclude<keyof I["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
2105
+ delete?: string | undefined;
2106
+ } & {
2107
+ $case: "delete";
2108
+ } & {
2109
+ delete?: string | undefined;
2110
+ $case: "delete";
2111
+ } & Record<Exclude<keyof I["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
2112
+ patch?: string | undefined;
2113
+ } & {
2114
+ $case: "patch";
2115
+ } & {
2116
+ patch?: string | undefined;
2117
+ $case: "patch";
2118
+ } & Record<Exclude<keyof I["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
2119
+ custom?: {
2120
+ kind?: string | undefined;
2121
+ path?: string | undefined;
2122
+ } | undefined;
2123
+ } & {
2124
+ $case: "custom";
2125
+ } & {
2126
+ custom?: ({
2127
+ kind?: string | undefined;
2128
+ path?: string | undefined;
2129
+ } & {
2130
+ kind?: string | undefined;
2131
+ path?: string | undefined;
2132
+ } & Record<Exclude<keyof I["additionalBindings"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
2133
+ $case: "custom";
2134
+ } & Record<Exclude<keyof I["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
2135
+ body?: string | undefined;
2136
+ additionalBindings?: ({
2137
+ selector?: string | undefined;
2138
+ pattern?: ({
2139
+ get?: string | undefined;
2140
+ } & {
2141
+ $case: "get";
2142
+ }) | ({
2143
+ put?: string | undefined;
2144
+ } & {
2145
+ $case: "put";
2146
+ }) | ({
2147
+ post?: string | undefined;
2148
+ } & {
2149
+ $case: "post";
2150
+ }) | ({
2151
+ delete?: string | undefined;
2152
+ } & {
2153
+ $case: "delete";
2154
+ }) | ({
2155
+ patch?: string | undefined;
2156
+ } & {
2157
+ $case: "patch";
2158
+ }) | ({
2159
+ custom?: {
2160
+ kind?: string | undefined;
2161
+ path?: string | undefined;
2162
+ } | undefined;
2163
+ } & {
2164
+ $case: "custom";
2165
+ }) | undefined;
2166
+ body?: string | undefined;
2167
+ additionalBindings?: any[] | undefined;
2168
+ }[] & ({
2169
+ selector?: string | undefined;
2170
+ pattern?: ({
2171
+ get?: string | undefined;
2172
+ } & {
2173
+ $case: "get";
2174
+ }) | ({
2175
+ put?: string | undefined;
2176
+ } & {
2177
+ $case: "put";
2178
+ }) | ({
2179
+ post?: string | undefined;
2180
+ } & {
2181
+ $case: "post";
2182
+ }) | ({
2183
+ delete?: string | undefined;
2184
+ } & {
2185
+ $case: "delete";
2186
+ }) | ({
2187
+ patch?: string | undefined;
2188
+ } & {
2189
+ $case: "patch";
2190
+ }) | ({
2191
+ custom?: {
2192
+ kind?: string | undefined;
2193
+ path?: string | undefined;
2194
+ } | undefined;
2195
+ } & {
2196
+ $case: "custom";
2197
+ }) | undefined;
2198
+ body?: string | undefined;
2199
+ additionalBindings?: any[] | undefined;
2200
+ } & {
2201
+ selector?: string | undefined;
2202
+ pattern?: ({
2203
+ get?: string | undefined;
2204
+ } & {
2205
+ $case: "get";
2206
+ } & {
2207
+ get?: string | undefined;
2208
+ $case: "get";
2209
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
2210
+ put?: string | undefined;
2211
+ } & {
2212
+ $case: "put";
2213
+ } & {
2214
+ put?: string | undefined;
2215
+ $case: "put";
2216
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
2217
+ post?: string | undefined;
2218
+ } & {
2219
+ $case: "post";
2220
+ } & {
2221
+ post?: string | undefined;
2222
+ $case: "post";
2223
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
2224
+ delete?: string | undefined;
2225
+ } & {
2226
+ $case: "delete";
2227
+ } & {
2228
+ delete?: string | undefined;
2229
+ $case: "delete";
2230
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
2231
+ patch?: string | undefined;
2232
+ } & {
2233
+ $case: "patch";
2234
+ } & {
2235
+ patch?: string | undefined;
2236
+ $case: "patch";
2237
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
2238
+ custom?: {
2239
+ kind?: string | undefined;
2240
+ path?: string | undefined;
2241
+ } | undefined;
2242
+ } & {
2243
+ $case: "custom";
2244
+ } & {
2245
+ custom?: ({
2246
+ kind?: string | undefined;
2247
+ path?: string | undefined;
2248
+ } & {
2249
+ kind?: string | undefined;
2250
+ path?: string | undefined;
2251
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
2252
+ $case: "custom";
2253
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
2254
+ body?: string | undefined;
2255
+ additionalBindings?: ({
2256
+ selector?: string | undefined;
2257
+ pattern?: ({
2258
+ get?: string | undefined;
2259
+ } & {
2260
+ $case: "get";
2261
+ }) | ({
2262
+ put?: string | undefined;
2263
+ } & {
2264
+ $case: "put";
2265
+ }) | ({
2266
+ post?: string | undefined;
2267
+ } & {
2268
+ $case: "post";
2269
+ }) | ({
2270
+ delete?: string | undefined;
2271
+ } & {
2272
+ $case: "delete";
2273
+ }) | ({
2274
+ patch?: string | undefined;
2275
+ } & {
2276
+ $case: "patch";
2277
+ }) | ({
2278
+ custom?: {
2279
+ kind?: string | undefined;
2280
+ path?: string | undefined;
2281
+ } | undefined;
2282
+ } & {
2283
+ $case: "custom";
2284
+ }) | undefined;
2285
+ body?: string | undefined;
2286
+ additionalBindings?: any[] | undefined;
2287
+ }[] & ({
2288
+ selector?: string | undefined;
2289
+ pattern?: ({
2290
+ get?: string | undefined;
2291
+ } & {
2292
+ $case: "get";
2293
+ }) | ({
2294
+ put?: string | undefined;
2295
+ } & {
2296
+ $case: "put";
2297
+ }) | ({
2298
+ post?: string | undefined;
2299
+ } & {
2300
+ $case: "post";
2301
+ }) | ({
2302
+ delete?: string | undefined;
2303
+ } & {
2304
+ $case: "delete";
2305
+ }) | ({
2306
+ patch?: string | undefined;
2307
+ } & {
2308
+ $case: "patch";
2309
+ }) | ({
2310
+ custom?: {
2311
+ kind?: string | undefined;
2312
+ path?: string | undefined;
2313
+ } | undefined;
2314
+ } & {
2315
+ $case: "custom";
2316
+ }) | undefined;
2317
+ body?: string | undefined;
2318
+ additionalBindings?: any[] | undefined;
2319
+ } & {
2320
+ selector?: string | undefined;
2321
+ pattern?: ({
2322
+ get?: string | undefined;
2323
+ } & {
2324
+ $case: "get";
2325
+ } & {
2326
+ get?: string | undefined;
2327
+ $case: "get";
2328
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
2329
+ put?: string | undefined;
2330
+ } & {
2331
+ $case: "put";
2332
+ } & {
2333
+ put?: string | undefined;
2334
+ $case: "put";
2335
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
2336
+ post?: string | undefined;
2337
+ } & {
2338
+ $case: "post";
2339
+ } & {
2340
+ post?: string | undefined;
2341
+ $case: "post";
2342
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
2343
+ delete?: string | undefined;
2344
+ } & {
2345
+ $case: "delete";
2346
+ } & {
2347
+ delete?: string | undefined;
2348
+ $case: "delete";
2349
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
2350
+ patch?: string | undefined;
2351
+ } & {
2352
+ $case: "patch";
2353
+ } & {
2354
+ patch?: string | undefined;
2355
+ $case: "patch";
2356
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
2357
+ custom?: {
2358
+ kind?: string | undefined;
2359
+ path?: string | undefined;
2360
+ } | undefined;
2361
+ } & {
2362
+ $case: "custom";
2363
+ } & {
2364
+ custom?: ({
2365
+ kind?: string | undefined;
2366
+ path?: string | undefined;
2367
+ } & {
2368
+ kind?: string | undefined;
2369
+ path?: string | undefined;
2370
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
2371
+ $case: "custom";
2372
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
2373
+ body?: string | undefined;
2374
+ additionalBindings?: ({
2375
+ selector?: string | undefined;
2376
+ pattern?: ({
2377
+ get?: string | undefined;
2378
+ } & {
2379
+ $case: "get";
2380
+ }) | ({
2381
+ put?: string | undefined;
2382
+ } & {
2383
+ $case: "put";
2384
+ }) | ({
2385
+ post?: string | undefined;
2386
+ } & {
2387
+ $case: "post";
2388
+ }) | ({
2389
+ delete?: string | undefined;
2390
+ } & {
2391
+ $case: "delete";
2392
+ }) | ({
2393
+ patch?: string | undefined;
2394
+ } & {
2395
+ $case: "patch";
2396
+ }) | ({
2397
+ custom?: {
2398
+ kind?: string | undefined;
2399
+ path?: string | undefined;
2400
+ } | undefined;
2401
+ } & {
2402
+ $case: "custom";
2403
+ }) | undefined;
2404
+ body?: string | undefined;
2405
+ additionalBindings?: any[] | undefined;
2406
+ }[] & ({
2407
+ selector?: string | undefined;
2408
+ pattern?: ({
2409
+ get?: string | undefined;
2410
+ } & {
2411
+ $case: "get";
2412
+ }) | ({
2413
+ put?: string | undefined;
2414
+ } & {
2415
+ $case: "put";
2416
+ }) | ({
2417
+ post?: string | undefined;
2418
+ } & {
2419
+ $case: "post";
2420
+ }) | ({
2421
+ delete?: string | undefined;
2422
+ } & {
2423
+ $case: "delete";
2424
+ }) | ({
2425
+ patch?: string | undefined;
2426
+ } & {
2427
+ $case: "patch";
2428
+ }) | ({
2429
+ custom?: {
2430
+ kind?: string | undefined;
2431
+ path?: string | undefined;
2432
+ } | undefined;
2433
+ } & {
2434
+ $case: "custom";
2435
+ }) | undefined;
2436
+ body?: string | undefined;
2437
+ additionalBindings?: any[] | undefined;
2438
+ } & {
2439
+ selector?: string | undefined;
2440
+ pattern?: ({
2441
+ get?: string | undefined;
2442
+ } & {
2443
+ $case: "get";
2444
+ } & {
2445
+ get?: string | undefined;
2446
+ $case: "get";
2447
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
2448
+ put?: string | undefined;
2449
+ } & {
2450
+ $case: "put";
2451
+ } & {
2452
+ put?: string | undefined;
2453
+ $case: "put";
2454
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
2455
+ post?: string | undefined;
2456
+ } & {
2457
+ $case: "post";
2458
+ } & {
2459
+ post?: string | undefined;
2460
+ $case: "post";
2461
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
2462
+ delete?: string | undefined;
2463
+ } & {
2464
+ $case: "delete";
2465
+ } & {
2466
+ delete?: string | undefined;
2467
+ $case: "delete";
2468
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
2469
+ patch?: string | undefined;
2470
+ } & {
2471
+ $case: "patch";
2472
+ } & {
2473
+ patch?: string | undefined;
2474
+ $case: "patch";
2475
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
2476
+ custom?: {
2477
+ kind?: string | undefined;
2478
+ path?: string | undefined;
2479
+ } | undefined;
2480
+ } & {
2481
+ $case: "custom";
2482
+ } & {
2483
+ custom?: ({
2484
+ kind?: string | undefined;
2485
+ path?: string | undefined;
2486
+ } & {
2487
+ kind?: string | undefined;
2488
+ path?: string | undefined;
2489
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
2490
+ $case: "custom";
2491
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
2492
+ body?: string | undefined;
2493
+ additionalBindings?: ({
2494
+ selector?: string | undefined;
2495
+ pattern?: ({
2496
+ get?: string | undefined;
2497
+ } & {
2498
+ $case: "get";
2499
+ }) | ({
2500
+ put?: string | undefined;
2501
+ } & {
2502
+ $case: "put";
2503
+ }) | ({
2504
+ post?: string | undefined;
2505
+ } & {
2506
+ $case: "post";
2507
+ }) | ({
2508
+ delete?: string | undefined;
2509
+ } & {
2510
+ $case: "delete";
2511
+ }) | ({
2512
+ patch?: string | undefined;
2513
+ } & {
2514
+ $case: "patch";
2515
+ }) | ({
2516
+ custom?: {
2517
+ kind?: string | undefined;
2518
+ path?: string | undefined;
2519
+ } | undefined;
2520
+ } & {
2521
+ $case: "custom";
2522
+ }) | undefined;
2523
+ body?: string | undefined;
2524
+ additionalBindings?: any[] | undefined;
2525
+ }[] & ({
2526
+ selector?: string | undefined;
2527
+ pattern?: ({
2528
+ get?: string | undefined;
2529
+ } & {
2530
+ $case: "get";
2531
+ }) | ({
2532
+ put?: string | undefined;
2533
+ } & {
2534
+ $case: "put";
2535
+ }) | ({
2536
+ post?: string | undefined;
2537
+ } & {
2538
+ $case: "post";
2539
+ }) | ({
2540
+ delete?: string | undefined;
2541
+ } & {
2542
+ $case: "delete";
2543
+ }) | ({
2544
+ patch?: string | undefined;
2545
+ } & {
2546
+ $case: "patch";
2547
+ }) | ({
2548
+ custom?: {
2549
+ kind?: string | undefined;
2550
+ path?: string | undefined;
2551
+ } | undefined;
2552
+ } & {
2553
+ $case: "custom";
2554
+ }) | undefined;
2555
+ body?: string | undefined;
2556
+ additionalBindings?: any[] | undefined;
2557
+ } & {
2558
+ selector?: string | undefined;
2559
+ pattern?: ({
2560
+ get?: string | undefined;
2561
+ } & {
2562
+ $case: "get";
2563
+ } & {
2564
+ get?: string | undefined;
2565
+ $case: "get";
2566
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
2567
+ put?: string | undefined;
2568
+ } & {
2569
+ $case: "put";
2570
+ } & {
2571
+ put?: string | undefined;
2572
+ $case: "put";
2573
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
2574
+ post?: string | undefined;
2575
+ } & {
2576
+ $case: "post";
2577
+ } & {
2578
+ post?: string | undefined;
2579
+ $case: "post";
2580
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
2581
+ delete?: string | undefined;
2582
+ } & {
2583
+ $case: "delete";
2584
+ } & {
2585
+ delete?: string | undefined;
2586
+ $case: "delete";
2587
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
2588
+ patch?: string | undefined;
2589
+ } & {
2590
+ $case: "patch";
2591
+ } & {
2592
+ patch?: string | undefined;
2593
+ $case: "patch";
2594
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
2595
+ custom?: {
2596
+ kind?: string | undefined;
2597
+ path?: string | undefined;
2598
+ } | undefined;
2599
+ } & {
2600
+ $case: "custom";
2601
+ } & {
2602
+ custom?: ({
2603
+ kind?: string | undefined;
2604
+ path?: string | undefined;
2605
+ } & {
2606
+ kind?: string | undefined;
2607
+ path?: string | undefined;
2608
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
2609
+ $case: "custom";
2610
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
2611
+ body?: string | undefined;
2612
+ additionalBindings?: ({
2613
+ selector?: string | undefined;
2614
+ pattern?: ({
2615
+ get?: string | undefined;
2616
+ } & {
2617
+ $case: "get";
2618
+ }) | ({
2619
+ put?: string | undefined;
2620
+ } & {
2621
+ $case: "put";
2622
+ }) | ({
2623
+ post?: string | undefined;
2624
+ } & {
2625
+ $case: "post";
2626
+ }) | ({
2627
+ delete?: string | undefined;
2628
+ } & {
2629
+ $case: "delete";
2630
+ }) | ({
2631
+ patch?: string | undefined;
2632
+ } & {
2633
+ $case: "patch";
2634
+ }) | ({
2635
+ custom?: {
2636
+ kind?: string | undefined;
2637
+ path?: string | undefined;
2638
+ } | undefined;
2639
+ } & {
2640
+ $case: "custom";
2641
+ }) | undefined;
2642
+ body?: string | undefined;
2643
+ additionalBindings?: any[] | undefined;
2644
+ }[] & ({
2645
+ selector?: string | undefined;
2646
+ pattern?: ({
2647
+ get?: string | undefined;
2648
+ } & {
2649
+ $case: "get";
2650
+ }) | ({
2651
+ put?: string | undefined;
2652
+ } & {
2653
+ $case: "put";
2654
+ }) | ({
2655
+ post?: string | undefined;
2656
+ } & {
2657
+ $case: "post";
2658
+ }) | ({
2659
+ delete?: string | undefined;
2660
+ } & {
2661
+ $case: "delete";
2662
+ }) | ({
2663
+ patch?: string | undefined;
2664
+ } & {
2665
+ $case: "patch";
2666
+ }) | ({
2667
+ custom?: {
2668
+ kind?: string | undefined;
2669
+ path?: string | undefined;
2670
+ } | undefined;
2671
+ } & {
2672
+ $case: "custom";
2673
+ }) | undefined;
2674
+ body?: string | undefined;
2675
+ additionalBindings?: any[] | undefined;
2676
+ } & {
2677
+ selector?: string | undefined;
2678
+ pattern?: ({
2679
+ get?: string | undefined;
2680
+ } & {
2681
+ $case: "get";
2682
+ } & {
2683
+ get?: string | undefined;
2684
+ $case: "get";
2685
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
2686
+ put?: string | undefined;
2687
+ } & {
2688
+ $case: "put";
2689
+ } & {
2690
+ put?: string | undefined;
2691
+ $case: "put";
2692
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
2693
+ post?: string | undefined;
2694
+ } & {
2695
+ $case: "post";
2696
+ } & {
2697
+ post?: string | undefined;
2698
+ $case: "post";
2699
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
2700
+ delete?: string | undefined;
2701
+ } & {
2702
+ $case: "delete";
2703
+ } & {
2704
+ delete?: string | undefined;
2705
+ $case: "delete";
2706
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
2707
+ patch?: string | undefined;
2708
+ } & {
2709
+ $case: "patch";
2710
+ } & {
2711
+ patch?: string | undefined;
2712
+ $case: "patch";
2713
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
2714
+ custom?: {
2715
+ kind?: string | undefined;
2716
+ path?: string | undefined;
2717
+ } | undefined;
2718
+ } & {
2719
+ $case: "custom";
2720
+ } & {
2721
+ custom?: ({
2722
+ kind?: string | undefined;
2723
+ path?: string | undefined;
2724
+ } & {
2725
+ kind?: string | undefined;
2726
+ path?: string | undefined;
2727
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
2728
+ $case: "custom";
2729
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
2730
+ body?: string | undefined;
2731
+ additionalBindings?: ({
2732
+ selector?: string | undefined;
2733
+ pattern?: ({
2734
+ get?: string | undefined;
2735
+ } & {
2736
+ $case: "get";
2737
+ }) | ({
2738
+ put?: string | undefined;
2739
+ } & {
2740
+ $case: "put";
2741
+ }) | ({
2742
+ post?: string | undefined;
2743
+ } & {
2744
+ $case: "post";
2745
+ }) | ({
2746
+ delete?: string | undefined;
2747
+ } & {
2748
+ $case: "delete";
2749
+ }) | ({
2750
+ patch?: string | undefined;
2751
+ } & {
2752
+ $case: "patch";
2753
+ }) | ({
2754
+ custom?: {
2755
+ kind?: string | undefined;
2756
+ path?: string | undefined;
2757
+ } | undefined;
2758
+ } & {
2759
+ $case: "custom";
2760
+ }) | undefined;
2761
+ body?: string | undefined;
2762
+ additionalBindings?: any[] | undefined;
2763
+ }[] & ({
2764
+ selector?: string | undefined;
2765
+ pattern?: ({
2766
+ get?: string | undefined;
2767
+ } & {
2768
+ $case: "get";
2769
+ }) | ({
2770
+ put?: string | undefined;
2771
+ } & {
2772
+ $case: "put";
2773
+ }) | ({
2774
+ post?: string | undefined;
2775
+ } & {
2776
+ $case: "post";
2777
+ }) | ({
2778
+ delete?: string | undefined;
2779
+ } & {
2780
+ $case: "delete";
2781
+ }) | ({
2782
+ patch?: string | undefined;
2783
+ } & {
2784
+ $case: "patch";
2785
+ }) | ({
2786
+ custom?: {
2787
+ kind?: string | undefined;
2788
+ path?: string | undefined;
2789
+ } | undefined;
2790
+ } & {
2791
+ $case: "custom";
2792
+ }) | undefined;
2793
+ body?: string | undefined;
2794
+ additionalBindings?: any[] | undefined;
2795
+ } & {
2796
+ selector?: string | undefined;
2797
+ pattern?: ({
2798
+ get?: string | undefined;
2799
+ } & {
2800
+ $case: "get";
2801
+ } & {
2802
+ get?: string | undefined;
2803
+ $case: "get";
2804
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
2805
+ put?: string | undefined;
2806
+ } & {
2807
+ $case: "put";
2808
+ } & {
2809
+ put?: string | undefined;
2810
+ $case: "put";
2811
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
2812
+ post?: string | undefined;
2813
+ } & {
2814
+ $case: "post";
2815
+ } & {
2816
+ post?: string | undefined;
2817
+ $case: "post";
2818
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
2819
+ delete?: string | undefined;
2820
+ } & {
2821
+ $case: "delete";
2822
+ } & {
2823
+ delete?: string | undefined;
2824
+ $case: "delete";
2825
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
2826
+ patch?: string | undefined;
2827
+ } & {
2828
+ $case: "patch";
2829
+ } & {
2830
+ patch?: string | undefined;
2831
+ $case: "patch";
2832
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
2833
+ custom?: {
2834
+ kind?: string | undefined;
2835
+ path?: string | undefined;
2836
+ } | undefined;
2837
+ } & {
2838
+ $case: "custom";
2839
+ } & {
2840
+ custom?: ({
2841
+ kind?: string | undefined;
2842
+ path?: string | undefined;
2843
+ } & {
2844
+ kind?: string | undefined;
2845
+ path?: string | undefined;
2846
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
2847
+ $case: "custom";
2848
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
2849
+ body?: string | undefined;
2850
+ additionalBindings?: ({
2851
+ selector?: string | undefined;
2852
+ pattern?: ({
2853
+ get?: string | undefined;
2854
+ } & {
2855
+ $case: "get";
2856
+ }) | ({
2857
+ put?: string | undefined;
2858
+ } & {
2859
+ $case: "put";
2860
+ }) | ({
2861
+ post?: string | undefined;
2862
+ } & {
2863
+ $case: "post";
2864
+ }) | ({
2865
+ delete?: string | undefined;
2866
+ } & {
2867
+ $case: "delete";
2868
+ }) | ({
2869
+ patch?: string | undefined;
2870
+ } & {
2871
+ $case: "patch";
2872
+ }) | ({
2873
+ custom?: {
2874
+ kind?: string | undefined;
2875
+ path?: string | undefined;
2876
+ } | undefined;
2877
+ } & {
2878
+ $case: "custom";
2879
+ }) | undefined;
2880
+ body?: string | undefined;
2881
+ additionalBindings?: any[] | undefined;
2882
+ }[] & ({
2883
+ selector?: string | undefined;
2884
+ pattern?: ({
2885
+ get?: string | undefined;
2886
+ } & {
2887
+ $case: "get";
2888
+ }) | ({
2889
+ put?: string | undefined;
2890
+ } & {
2891
+ $case: "put";
2892
+ }) | ({
2893
+ post?: string | undefined;
2894
+ } & {
2895
+ $case: "post";
2896
+ }) | ({
2897
+ delete?: string | undefined;
2898
+ } & {
2899
+ $case: "delete";
2900
+ }) | ({
2901
+ patch?: string | undefined;
2902
+ } & {
2903
+ $case: "patch";
2904
+ }) | ({
2905
+ custom?: {
2906
+ kind?: string | undefined;
2907
+ path?: string | undefined;
2908
+ } | undefined;
2909
+ } & {
2910
+ $case: "custom";
2911
+ }) | undefined;
2912
+ body?: string | undefined;
2913
+ additionalBindings?: any[] | undefined;
2914
+ } & {
2915
+ selector?: string | undefined;
2916
+ pattern?: ({
2917
+ get?: string | undefined;
2918
+ } & {
2919
+ $case: "get";
2920
+ } & {
2921
+ get?: string | undefined;
2922
+ $case: "get";
2923
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
2924
+ put?: string | undefined;
2925
+ } & {
2926
+ $case: "put";
2927
+ } & {
2928
+ put?: string | undefined;
2929
+ $case: "put";
2930
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
2931
+ post?: string | undefined;
2932
+ } & {
2933
+ $case: "post";
2934
+ } & {
2935
+ post?: string | undefined;
2936
+ $case: "post";
2937
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
2938
+ delete?: string | undefined;
2939
+ } & {
2940
+ $case: "delete";
2941
+ } & {
2942
+ delete?: string | undefined;
2943
+ $case: "delete";
2944
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
2945
+ patch?: string | undefined;
2946
+ } & {
2947
+ $case: "patch";
2948
+ } & {
2949
+ patch?: string | undefined;
2950
+ $case: "patch";
2951
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
2952
+ custom?: {
2953
+ kind?: string | undefined;
2954
+ path?: string | undefined;
2955
+ } | undefined;
2956
+ } & {
2957
+ $case: "custom";
2958
+ } & {
2959
+ custom?: ({
2960
+ kind?: string | undefined;
2961
+ path?: string | undefined;
2962
+ } & {
2963
+ kind?: string | undefined;
2964
+ path?: string | undefined;
2965
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
2966
+ $case: "custom";
2967
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
2968
+ body?: string | undefined;
2969
+ additionalBindings?: ({
2970
+ selector?: string | undefined;
2971
+ pattern?: ({
2972
+ get?: string | undefined;
2973
+ } & {
2974
+ $case: "get";
2975
+ }) | ({
2976
+ put?: string | undefined;
2977
+ } & {
2978
+ $case: "put";
2979
+ }) | ({
2980
+ post?: string | undefined;
2981
+ } & {
2982
+ $case: "post";
2983
+ }) | ({
2984
+ delete?: string | undefined;
2985
+ } & {
2986
+ $case: "delete";
2987
+ }) | ({
2988
+ patch?: string | undefined;
2989
+ } & {
2990
+ $case: "patch";
2991
+ }) | ({
2992
+ custom?: {
2993
+ kind?: string | undefined;
2994
+ path?: string | undefined;
2995
+ } | undefined;
2996
+ } & {
2997
+ $case: "custom";
2998
+ }) | undefined;
2999
+ body?: string | undefined;
3000
+ additionalBindings?: any[] | undefined;
3001
+ }[] & ({
3002
+ selector?: string | undefined;
3003
+ pattern?: ({
3004
+ get?: string | undefined;
3005
+ } & {
3006
+ $case: "get";
3007
+ }) | ({
3008
+ put?: string | undefined;
3009
+ } & {
3010
+ $case: "put";
3011
+ }) | ({
3012
+ post?: string | undefined;
3013
+ } & {
3014
+ $case: "post";
3015
+ }) | ({
3016
+ delete?: string | undefined;
3017
+ } & {
3018
+ $case: "delete";
3019
+ }) | ({
3020
+ patch?: string | undefined;
3021
+ } & {
3022
+ $case: "patch";
3023
+ }) | ({
3024
+ custom?: {
3025
+ kind?: string | undefined;
3026
+ path?: string | undefined;
3027
+ } | undefined;
3028
+ } & {
3029
+ $case: "custom";
3030
+ }) | undefined;
3031
+ body?: string | undefined;
3032
+ additionalBindings?: any[] | undefined;
3033
+ } & {
3034
+ selector?: string | undefined;
3035
+ pattern?: ({
3036
+ get?: string | undefined;
3037
+ } & {
3038
+ $case: "get";
3039
+ } & {
3040
+ get?: string | undefined;
3041
+ $case: "get";
3042
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
3043
+ put?: string | undefined;
3044
+ } & {
3045
+ $case: "put";
3046
+ } & {
3047
+ put?: string | undefined;
3048
+ $case: "put";
3049
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
3050
+ post?: string | undefined;
3051
+ } & {
3052
+ $case: "post";
3053
+ } & {
3054
+ post?: string | undefined;
3055
+ $case: "post";
3056
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
3057
+ delete?: string | undefined;
3058
+ } & {
3059
+ $case: "delete";
3060
+ } & {
3061
+ delete?: string | undefined;
3062
+ $case: "delete";
3063
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
3064
+ patch?: string | undefined;
3065
+ } & {
3066
+ $case: "patch";
3067
+ } & {
3068
+ patch?: string | undefined;
3069
+ $case: "patch";
3070
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
3071
+ custom?: {
3072
+ kind?: string | undefined;
3073
+ path?: string | undefined;
3074
+ } | undefined;
3075
+ } & {
3076
+ $case: "custom";
3077
+ } & {
3078
+ custom?: ({
3079
+ kind?: string | undefined;
3080
+ path?: string | undefined;
3081
+ } & any & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"]["custom"], keyof CustomHttpPattern>, never>) | undefined;
3082
+ $case: "custom";
3083
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
3084
+ body?: string | undefined;
3085
+ additionalBindings?: ({
3086
+ selector?: string | undefined;
3087
+ pattern?: ({
3088
+ get?: string | undefined;
3089
+ } & {
3090
+ $case: "get";
3091
+ }) | ({
3092
+ put?: string | undefined;
3093
+ } & {
3094
+ $case: "put";
3095
+ }) | ({
3096
+ post?: string | undefined;
3097
+ } & {
3098
+ $case: "post";
3099
+ }) | ({
3100
+ delete?: string | undefined;
3101
+ } & {
3102
+ $case: "delete";
3103
+ }) | ({
3104
+ patch?: string | undefined;
3105
+ } & {
3106
+ $case: "patch";
3107
+ }) | ({
3108
+ custom?: {
3109
+ kind?: string | undefined;
3110
+ path?: string | undefined;
3111
+ } | undefined;
3112
+ } & {
3113
+ $case: "custom";
3114
+ }) | undefined;
3115
+ body?: string | undefined;
3116
+ additionalBindings?: any[] | undefined;
3117
+ }[] & ({
3118
+ selector?: string | undefined;
3119
+ pattern?: ({
3120
+ get?: string | undefined;
3121
+ } & {
3122
+ $case: "get";
3123
+ }) | ({
3124
+ put?: string | undefined;
3125
+ } & {
3126
+ $case: "put";
3127
+ }) | ({
3128
+ post?: string | undefined;
3129
+ } & {
3130
+ $case: "post";
3131
+ }) | ({
3132
+ delete?: string | undefined;
3133
+ } & {
3134
+ $case: "delete";
3135
+ }) | ({
3136
+ patch?: string | undefined;
3137
+ } & {
3138
+ $case: "patch";
3139
+ }) | ({
3140
+ custom?: {
3141
+ kind?: string | undefined;
3142
+ path?: string | undefined;
3143
+ } | undefined;
3144
+ } & {
3145
+ $case: "custom";
3146
+ }) | undefined;
3147
+ body?: string | undefined;
3148
+ additionalBindings?: any[] | undefined;
3149
+ } & {
3150
+ selector?: string | undefined;
3151
+ pattern?: ({
3152
+ get?: string | undefined;
3153
+ } & {
3154
+ $case: "get";
3155
+ } & any & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "get">, never>) | ({
3156
+ put?: string | undefined;
3157
+ } & {
3158
+ $case: "put";
3159
+ } & any & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "put">, never>) | ({
3160
+ post?: string | undefined;
3161
+ } & {
3162
+ $case: "post";
3163
+ } & any & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "post">, never>) | ({
3164
+ delete?: string | undefined;
3165
+ } & {
3166
+ $case: "delete";
3167
+ } & any & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "delete">, never>) | ({
3168
+ patch?: string | undefined;
3169
+ } & {
3170
+ $case: "patch";
3171
+ } & any & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "patch">, never>) | ({
3172
+ custom?: {
3173
+ kind?: string | undefined;
3174
+ path?: string | undefined;
3175
+ } | undefined;
3176
+ } & {
3177
+ $case: "custom";
3178
+ } & any & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["pattern"], "$case" | "custom">, never>) | undefined;
3179
+ body?: string | undefined;
3180
+ additionalBindings?: ({
3181
+ selector?: string | undefined;
3182
+ pattern?: ({
3183
+ get?: string | undefined;
3184
+ } & {
3185
+ $case: "get";
3186
+ }) | ({
3187
+ put?: string | undefined;
3188
+ } & {
3189
+ $case: "put";
3190
+ }) | ({
3191
+ post?: string | undefined;
3192
+ } & {
3193
+ $case: "post";
3194
+ }) | ({
3195
+ delete?: string | undefined;
3196
+ } & {
3197
+ $case: "delete";
3198
+ }) | ({
3199
+ patch?: string | undefined;
3200
+ } & {
3201
+ $case: "patch";
3202
+ }) | ({
3203
+ custom?: {
3204
+ kind?: string | undefined;
3205
+ path?: string | undefined;
3206
+ } | undefined;
3207
+ } & {
3208
+ $case: "custom";
3209
+ }) | undefined;
3210
+ body?: string | undefined;
3211
+ additionalBindings?: any[] | undefined;
3212
+ }[] & ({
3213
+ selector?: string | undefined;
3214
+ pattern?: ({
3215
+ get?: string | undefined;
3216
+ } & {
3217
+ $case: "get";
3218
+ }) | ({
3219
+ put?: string | undefined;
3220
+ } & {
3221
+ $case: "put";
3222
+ }) | ({
3223
+ post?: string | undefined;
3224
+ } & {
3225
+ $case: "post";
3226
+ }) | ({
3227
+ delete?: string | undefined;
3228
+ } & {
3229
+ $case: "delete";
3230
+ }) | ({
3231
+ patch?: string | undefined;
3232
+ } & {
3233
+ $case: "patch";
3234
+ }) | ({
3235
+ custom?: {
3236
+ kind?: string | undefined;
3237
+ path?: string | undefined;
3238
+ } | undefined;
3239
+ } & {
3240
+ $case: "custom";
3241
+ }) | undefined;
3242
+ body?: string | undefined;
3243
+ additionalBindings?: any[] | undefined;
3244
+ } & any & Record<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>)[] & Record<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 {
3245
+ selector?: string | undefined;
3246
+ pattern?: ({
3247
+ get?: string | undefined;
3248
+ } & {
3249
+ $case: "get";
3250
+ }) | ({
3251
+ put?: string | undefined;
3252
+ } & {
3253
+ $case: "put";
3254
+ }) | ({
3255
+ post?: string | undefined;
3256
+ } & {
3257
+ $case: "post";
3258
+ }) | ({
3259
+ delete?: string | undefined;
3260
+ } & {
3261
+ $case: "delete";
3262
+ }) | ({
3263
+ patch?: string | undefined;
3264
+ } & {
3265
+ $case: "patch";
3266
+ }) | ({
3267
+ custom?: {
3268
+ kind?: string | undefined;
3269
+ path?: string | undefined;
3270
+ } | undefined;
3271
+ } & {
3272
+ $case: "custom";
3273
+ }) | undefined;
3274
+ body?: string | undefined;
3275
+ additionalBindings?: any[] | undefined;
3276
+ }[]>, never>) | undefined;
3277
+ } & Record<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>)[] & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
3278
+ selector?: string | undefined;
3279
+ pattern?: ({
3280
+ get?: string | undefined;
3281
+ } & {
3282
+ $case: "get";
3283
+ }) | ({
3284
+ put?: string | undefined;
3285
+ } & {
3286
+ $case: "put";
3287
+ }) | ({
3288
+ post?: string | undefined;
3289
+ } & {
3290
+ $case: "post";
3291
+ }) | ({
3292
+ delete?: string | undefined;
3293
+ } & {
3294
+ $case: "delete";
3295
+ }) | ({
3296
+ patch?: string | undefined;
3297
+ } & {
3298
+ $case: "patch";
3299
+ }) | ({
3300
+ custom?: {
3301
+ kind?: string | undefined;
3302
+ path?: string | undefined;
3303
+ } | undefined;
3304
+ } & {
3305
+ $case: "custom";
3306
+ }) | undefined;
3307
+ body?: string | undefined;
3308
+ additionalBindings?: any[] | undefined;
3309
+ }[]>, never>) | undefined;
3310
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
3311
+ selector?: string | undefined;
3312
+ pattern?: ({
3313
+ get?: string | undefined;
3314
+ } & {
3315
+ $case: "get";
3316
+ }) | ({
3317
+ put?: string | undefined;
3318
+ } & {
3319
+ $case: "put";
3320
+ }) | ({
3321
+ post?: string | undefined;
3322
+ } & {
3323
+ $case: "post";
3324
+ }) | ({
3325
+ delete?: string | undefined;
3326
+ } & {
3327
+ $case: "delete";
3328
+ }) | ({
3329
+ patch?: string | undefined;
3330
+ } & {
3331
+ $case: "patch";
3332
+ }) | ({
3333
+ custom?: {
3334
+ kind?: string | undefined;
3335
+ path?: string | undefined;
3336
+ } | undefined;
3337
+ } & {
3338
+ $case: "custom";
3339
+ }) | undefined;
3340
+ body?: string | undefined;
3341
+ additionalBindings?: any[] | undefined;
3342
+ }[]>, never>) | undefined;
3343
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
3344
+ selector?: string | undefined;
3345
+ pattern?: ({
3346
+ get?: string | undefined;
3347
+ } & {
3348
+ $case: "get";
3349
+ }) | ({
3350
+ put?: string | undefined;
3351
+ } & {
3352
+ $case: "put";
3353
+ }) | ({
3354
+ post?: string | undefined;
3355
+ } & {
3356
+ $case: "post";
3357
+ }) | ({
3358
+ delete?: string | undefined;
3359
+ } & {
3360
+ $case: "delete";
3361
+ }) | ({
3362
+ patch?: string | undefined;
3363
+ } & {
3364
+ $case: "patch";
3365
+ }) | ({
3366
+ custom?: {
3367
+ kind?: string | undefined;
3368
+ path?: string | undefined;
3369
+ } | undefined;
3370
+ } & {
3371
+ $case: "custom";
3372
+ }) | undefined;
3373
+ body?: string | undefined;
3374
+ additionalBindings?: any[] | undefined;
3375
+ }[]>, never>) | undefined;
3376
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
3377
+ selector?: string | undefined;
3378
+ pattern?: ({
3379
+ get?: string | undefined;
3380
+ } & {
3381
+ $case: "get";
3382
+ }) | ({
3383
+ put?: string | undefined;
3384
+ } & {
3385
+ $case: "put";
3386
+ }) | ({
3387
+ post?: string | undefined;
3388
+ } & {
3389
+ $case: "post";
3390
+ }) | ({
3391
+ delete?: string | undefined;
3392
+ } & {
3393
+ $case: "delete";
3394
+ }) | ({
3395
+ patch?: string | undefined;
3396
+ } & {
3397
+ $case: "patch";
3398
+ }) | ({
3399
+ custom?: {
3400
+ kind?: string | undefined;
3401
+ path?: string | undefined;
3402
+ } | undefined;
3403
+ } & {
3404
+ $case: "custom";
3405
+ }) | undefined;
3406
+ body?: string | undefined;
3407
+ additionalBindings?: any[] | undefined;
3408
+ }[]>, never>) | undefined;
3409
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
3410
+ selector?: string | undefined;
3411
+ pattern?: ({
3412
+ get?: string | undefined;
3413
+ } & {
3414
+ $case: "get";
3415
+ }) | ({
3416
+ put?: string | undefined;
3417
+ } & {
3418
+ $case: "put";
3419
+ }) | ({
3420
+ post?: string | undefined;
3421
+ } & {
3422
+ $case: "post";
3423
+ }) | ({
3424
+ delete?: string | undefined;
3425
+ } & {
3426
+ $case: "delete";
3427
+ }) | ({
3428
+ patch?: string | undefined;
3429
+ } & {
3430
+ $case: "patch";
3431
+ }) | ({
3432
+ custom?: {
3433
+ kind?: string | undefined;
3434
+ path?: string | undefined;
3435
+ } | undefined;
3436
+ } & {
3437
+ $case: "custom";
3438
+ }) | undefined;
3439
+ body?: string | undefined;
3440
+ additionalBindings?: any[] | undefined;
3441
+ }[]>, never>) | undefined;
3442
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
3443
+ selector?: string | undefined;
3444
+ pattern?: ({
3445
+ get?: string | undefined;
3446
+ } & {
3447
+ $case: "get";
3448
+ }) | ({
3449
+ put?: string | undefined;
3450
+ } & {
3451
+ $case: "put";
3452
+ }) | ({
3453
+ post?: string | undefined;
3454
+ } & {
3455
+ $case: "post";
3456
+ }) | ({
3457
+ delete?: string | undefined;
3458
+ } & {
3459
+ $case: "delete";
3460
+ }) | ({
3461
+ patch?: string | undefined;
3462
+ } & {
3463
+ $case: "patch";
3464
+ }) | ({
3465
+ custom?: {
3466
+ kind?: string | undefined;
3467
+ path?: string | undefined;
3468
+ } | undefined;
3469
+ } & {
3470
+ $case: "custom";
3471
+ }) | undefined;
3472
+ body?: string | undefined;
3473
+ additionalBindings?: any[] | undefined;
3474
+ }[]>, never>) | undefined;
3475
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
3476
+ selector?: string | undefined;
3477
+ pattern?: ({
3478
+ get?: string | undefined;
3479
+ } & {
3480
+ $case: "get";
3481
+ }) | ({
3482
+ put?: string | undefined;
3483
+ } & {
3484
+ $case: "put";
3485
+ }) | ({
3486
+ post?: string | undefined;
3487
+ } & {
3488
+ $case: "post";
3489
+ }) | ({
3490
+ delete?: string | undefined;
3491
+ } & {
3492
+ $case: "delete";
3493
+ }) | ({
3494
+ patch?: string | undefined;
3495
+ } & {
3496
+ $case: "patch";
3497
+ }) | ({
3498
+ custom?: {
3499
+ kind?: string | undefined;
3500
+ path?: string | undefined;
3501
+ } | undefined;
3502
+ } & {
3503
+ $case: "custom";
3504
+ }) | undefined;
3505
+ body?: string | undefined;
3506
+ additionalBindings?: any[] | undefined;
3507
+ }[]>, never>) | undefined;
3508
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number]["additionalBindings"], keyof {
3509
+ selector?: string | undefined;
3510
+ pattern?: ({
3511
+ get?: string | undefined;
3512
+ } & {
3513
+ $case: "get";
3514
+ }) | ({
3515
+ put?: string | undefined;
3516
+ } & {
3517
+ $case: "put";
3518
+ }) | ({
3519
+ post?: string | undefined;
3520
+ } & {
3521
+ $case: "post";
3522
+ }) | ({
3523
+ delete?: string | undefined;
3524
+ } & {
3525
+ $case: "delete";
3526
+ }) | ({
3527
+ patch?: string | undefined;
3528
+ } & {
3529
+ $case: "patch";
3530
+ }) | ({
3531
+ custom?: {
3532
+ kind?: string | undefined;
3533
+ path?: string | undefined;
3534
+ } | undefined;
3535
+ } & {
3536
+ $case: "custom";
3537
+ }) | undefined;
3538
+ body?: string | undefined;
3539
+ additionalBindings?: any[] | undefined;
3540
+ }[]>, never>) | undefined;
3541
+ } & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["additionalBindings"][number]["additionalBindings"], keyof {
3542
+ selector?: string | undefined;
3543
+ pattern?: ({
3544
+ get?: string | undefined;
3545
+ } & {
3546
+ $case: "get";
3547
+ }) | ({
3548
+ put?: string | undefined;
3549
+ } & {
3550
+ $case: "put";
3551
+ }) | ({
3552
+ post?: string | undefined;
3553
+ } & {
3554
+ $case: "post";
3555
+ }) | ({
3556
+ delete?: string | undefined;
3557
+ } & {
3558
+ $case: "delete";
3559
+ }) | ({
3560
+ patch?: string | undefined;
3561
+ } & {
3562
+ $case: "patch";
3563
+ }) | ({
3564
+ custom?: {
3565
+ kind?: string | undefined;
3566
+ path?: string | undefined;
3567
+ } | undefined;
3568
+ } & {
3569
+ $case: "custom";
3570
+ }) | undefined;
3571
+ body?: string | undefined;
3572
+ additionalBindings?: any[] | undefined;
3573
+ }[]>, never>) | undefined;
3574
+ } & Record<Exclude<keyof I["additionalBindings"][number], keyof HttpRule>, never>)[] & Record<Exclude<keyof I["additionalBindings"], keyof {
3575
+ selector?: string | undefined;
3576
+ pattern?: ({
3577
+ get?: string | undefined;
3578
+ } & {
3579
+ $case: "get";
3580
+ }) | ({
3581
+ put?: string | undefined;
3582
+ } & {
3583
+ $case: "put";
3584
+ }) | ({
3585
+ post?: string | undefined;
3586
+ } & {
3587
+ $case: "post";
3588
+ }) | ({
3589
+ delete?: string | undefined;
3590
+ } & {
3591
+ $case: "delete";
3592
+ }) | ({
3593
+ patch?: string | undefined;
3594
+ } & {
3595
+ $case: "patch";
3596
+ }) | ({
3597
+ custom?: {
3598
+ kind?: string | undefined;
3599
+ path?: string | undefined;
3600
+ } | undefined;
3601
+ } & {
3602
+ $case: "custom";
3603
+ }) | undefined;
3604
+ body?: string | undefined;
3605
+ additionalBindings?: any[] | undefined;
3606
+ }[]>, never>) | undefined;
3607
+ } & Record<Exclude<keyof I, keyof HttpRule>, never>>(object: I): HttpRule;
3608
+ };
3609
+ export declare const CustomHttpPattern: {
3610
+ encode(message: CustomHttpPattern, writer?: _m0.Writer): _m0.Writer;
3611
+ decode(input: _m0.Reader | Uint8Array, length?: number): CustomHttpPattern;
3612
+ fromJSON(object: any): CustomHttpPattern;
3613
+ toJSON(message: CustomHttpPattern): unknown;
3614
+ fromPartial<I extends {
3615
+ kind?: string | undefined;
3616
+ path?: string | undefined;
3617
+ } & {
3618
+ kind?: string | undefined;
3619
+ path?: string | undefined;
3620
+ } & Record<Exclude<keyof I, keyof CustomHttpPattern>, never>>(object: I): CustomHttpPattern;
3621
+ };
3622
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
3623
+ 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 {
3624
+ $case: string;
3625
+ } ? {
3626
+ [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
3627
+ } & {
3628
+ $case: T["$case"];
3629
+ } : T extends {} ? {
3630
+ [K in keyof T]?: DeepPartial<T[K]>;
3631
+ } : Partial<T>;
3632
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
3633
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
3634
+ [K in keyof P]: Exact<P[K], I[K]>;
3635
+ } & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
3636
+ export {};