trellis-rs 0.10.4

Curated public Rust facade for Trellis clients and services.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
//! Typed RPC descriptors for `trellis.auth@v1`.
use serde::{Deserialize, Serialize};
use crate::client::RpcDescriptor;
/// Empty request or response payload used by zero-argument RPCs.
#[derive(Debug, Clone, Default, Serialize, Deserialize, PartialEq, Eq)]
pub struct Empty {}
/// Descriptor for `Auth.Capabilities.List`.
pub struct AuthCapabilitiesListRpc;
impl RpcDescriptor for AuthCapabilitiesListRpc {
    type Input = super::types::AuthCapabilitiesListRequest;
    type Output = super::types::AuthCapabilitiesListResponse;
    const KEY: &'static str = "Auth.Capabilities.List";
    const SUBJECT: &'static str = "rpc.v1.Auth.Capabilities.List";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.CapabilityGroups.Delete`.
pub struct AuthCapabilityGroupsDeleteRpc;
impl RpcDescriptor for AuthCapabilityGroupsDeleteRpc {
    type Input = super::types::AuthCapabilityGroupsDeleteRequest;
    type Output = super::types::AuthCapabilityGroupsDeleteResponse;
    const KEY: &'static str = "Auth.CapabilityGroups.Delete";
    const SUBJECT: &'static str = "rpc.v1.Auth.CapabilityGroups.Delete";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.CapabilityGroups.Get`.
pub struct AuthCapabilityGroupsGetRpc;
impl RpcDescriptor for AuthCapabilityGroupsGetRpc {
    type Input = super::types::AuthCapabilityGroupsGetRequest;
    type Output = super::types::AuthCapabilityGroupsGetResponse;
    const KEY: &'static str = "Auth.CapabilityGroups.Get";
    const SUBJECT: &'static str = "rpc.v1.Auth.CapabilityGroups.Get";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.CapabilityGroups.List`.
pub struct AuthCapabilityGroupsListRpc;
impl RpcDescriptor for AuthCapabilityGroupsListRpc {
    type Input = super::types::AuthCapabilityGroupsListRequest;
    type Output = super::types::AuthCapabilityGroupsListResponse;
    const KEY: &'static str = "Auth.CapabilityGroups.List";
    const SUBJECT: &'static str = "rpc.v1.Auth.CapabilityGroups.List";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.CapabilityGroups.Put`.
pub struct AuthCapabilityGroupsPutRpc;
impl RpcDescriptor for AuthCapabilityGroupsPutRpc {
    type Input = super::types::AuthCapabilityGroupsPutRequest;
    type Output = super::types::AuthCapabilityGroupsPutResponse;
    const KEY: &'static str = "Auth.CapabilityGroups.Put";
    const SUBJECT: &'static str = "rpc.v1.Auth.CapabilityGroups.Put";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.CatalogIssues.Resolve`.
pub struct AuthCatalogIssuesResolveRpc;
impl RpcDescriptor for AuthCatalogIssuesResolveRpc {
    type Input = super::types::AuthCatalogIssuesResolveRequest;
    type Output = super::types::AuthCatalogIssuesResolveResponse;
    const KEY: &'static str = "Auth.CatalogIssues.Resolve";
    const SUBJECT: &'static str = "rpc.v1.Auth.CatalogIssues.Resolve";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Connections.Kick`.
pub struct AuthConnectionsKickRpc;
impl RpcDescriptor for AuthConnectionsKickRpc {
    type Input = super::types::AuthConnectionsKickRequest;
    type Output = super::types::AuthConnectionsKickResponse;
    const KEY: &'static str = "Auth.Connections.Kick";
    const SUBJECT: &'static str = "rpc.v1.Auth.Connections.Kick";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Connections.List`.
pub struct AuthConnectionsListRpc;
impl RpcDescriptor for AuthConnectionsListRpc {
    type Input = super::types::AuthConnectionsListRequest;
    type Output = super::types::AuthConnectionsListResponse;
    const KEY: &'static str = "Auth.Connections.List";
    const SUBJECT: &'static str = "rpc.v1.Auth.Connections.List";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.DeploymentAuthority.AcceptMigration`.
pub struct AuthDeploymentAuthorityAcceptMigrationRpc;
impl RpcDescriptor for AuthDeploymentAuthorityAcceptMigrationRpc {
    type Input = super::types::AuthDeploymentAuthorityAcceptMigrationRequest;
    type Output = super::types::AuthDeploymentAuthorityAcceptMigrationResponse;
    const KEY: &'static str = "Auth.DeploymentAuthority.AcceptMigration";
    const SUBJECT: &'static str = "rpc.v1.Auth.DeploymentAuthority.AcceptMigration";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.DeploymentAuthority.AcceptUpdate`.
pub struct AuthDeploymentAuthorityAcceptUpdateRpc;
impl RpcDescriptor for AuthDeploymentAuthorityAcceptUpdateRpc {
    type Input = super::types::AuthDeploymentAuthorityAcceptUpdateRequest;
    type Output = super::types::AuthDeploymentAuthorityAcceptUpdateResponse;
    const KEY: &'static str = "Auth.DeploymentAuthority.AcceptUpdate";
    const SUBJECT: &'static str = "rpc.v1.Auth.DeploymentAuthority.AcceptUpdate";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.DeploymentAuthority.Get`.
pub struct AuthDeploymentAuthorityGetRpc;
impl RpcDescriptor for AuthDeploymentAuthorityGetRpc {
    type Input = super::types::AuthDeploymentAuthorityGetRequest;
    type Output = super::types::AuthDeploymentAuthorityGetResponse;
    const KEY: &'static str = "Auth.DeploymentAuthority.Get";
    const SUBJECT: &'static str = "rpc.v1.Auth.DeploymentAuthority.Get";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.DeploymentAuthority.GrantOverrides.List`.
pub struct AuthDeploymentAuthorityGrantOverridesListRpc;
impl RpcDescriptor for AuthDeploymentAuthorityGrantOverridesListRpc {
    type Input = super::types::AuthDeploymentAuthorityGrantOverridesListRequest;
    type Output = super::types::AuthDeploymentAuthorityGrantOverridesListResponse;
    const KEY: &'static str = "Auth.DeploymentAuthority.GrantOverrides.List";
    const SUBJECT: &'static str = "rpc.v1.Auth.DeploymentAuthority.GrantOverrides.List";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.DeploymentAuthority.GrantOverrides.Put`.
pub struct AuthDeploymentAuthorityGrantOverridesPutRpc;
impl RpcDescriptor for AuthDeploymentAuthorityGrantOverridesPutRpc {
    type Input = super::types::AuthDeploymentAuthorityGrantOverridesPutRequest;
    type Output = super::types::AuthDeploymentAuthorityGrantOverridesPutResponse;
    const KEY: &'static str = "Auth.DeploymentAuthority.GrantOverrides.Put";
    const SUBJECT: &'static str = "rpc.v1.Auth.DeploymentAuthority.GrantOverrides.Put";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.DeploymentAuthority.GrantOverrides.Remove`.
pub struct AuthDeploymentAuthorityGrantOverridesRemoveRpc;
impl RpcDescriptor for AuthDeploymentAuthorityGrantOverridesRemoveRpc {
    type Input = super::types::AuthDeploymentAuthorityGrantOverridesRemoveRequest;
    type Output = super::types::AuthDeploymentAuthorityGrantOverridesRemoveResponse;
    const KEY: &'static str = "Auth.DeploymentAuthority.GrantOverrides.Remove";
    const SUBJECT: &'static str = "rpc.v1.Auth.DeploymentAuthority.GrantOverrides.Remove";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.DeploymentAuthority.List`.
pub struct AuthDeploymentAuthorityListRpc;
impl RpcDescriptor for AuthDeploymentAuthorityListRpc {
    type Input = super::types::AuthDeploymentAuthorityListRequest;
    type Output = super::types::AuthDeploymentAuthorityListResponse;
    const KEY: &'static str = "Auth.DeploymentAuthority.List";
    const SUBJECT: &'static str = "rpc.v1.Auth.DeploymentAuthority.List";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.DeploymentAuthority.Plan`.
pub struct AuthDeploymentAuthorityPlanRpc;
impl RpcDescriptor for AuthDeploymentAuthorityPlanRpc {
    type Input = super::types::AuthDeploymentAuthorityPlanRequest;
    type Output = super::types::AuthDeploymentAuthorityPlanResponse;
    const KEY: &'static str = "Auth.DeploymentAuthority.Plan";
    const SUBJECT: &'static str = "rpc.v1.Auth.DeploymentAuthority.Plan";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.DeploymentAuthority.Plans.Get`.
pub struct AuthDeploymentAuthorityPlansGetRpc;
impl RpcDescriptor for AuthDeploymentAuthorityPlansGetRpc {
    type Input = super::types::AuthDeploymentAuthorityPlansGetRequest;
    type Output = super::types::AuthDeploymentAuthorityPlansGetResponse;
    const KEY: &'static str = "Auth.DeploymentAuthority.Plans.Get";
    const SUBJECT: &'static str = "rpc.v1.Auth.DeploymentAuthority.Plans.Get";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.DeploymentAuthority.Plans.List`.
pub struct AuthDeploymentAuthorityPlansListRpc;
impl RpcDescriptor for AuthDeploymentAuthorityPlansListRpc {
    type Input = super::types::AuthDeploymentAuthorityPlansListRequest;
    type Output = super::types::AuthDeploymentAuthorityPlansListResponse;
    const KEY: &'static str = "Auth.DeploymentAuthority.Plans.List";
    const SUBJECT: &'static str = "rpc.v1.Auth.DeploymentAuthority.Plans.List";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError"];
}
/// Descriptor for `Auth.DeploymentAuthority.Reconcile`.
pub struct AuthDeploymentAuthorityReconcileRpc;
impl RpcDescriptor for AuthDeploymentAuthorityReconcileRpc {
    type Input = super::types::AuthDeploymentAuthorityReconcileRequest;
    type Output = super::types::AuthDeploymentAuthorityReconcileResponse;
    const KEY: &'static str = "Auth.DeploymentAuthority.Reconcile";
    const SUBJECT: &'static str = "rpc.v1.Auth.DeploymentAuthority.Reconcile";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.DeploymentAuthority.Reject`.
pub struct AuthDeploymentAuthorityRejectRpc;
impl RpcDescriptor for AuthDeploymentAuthorityRejectRpc {
    type Input = super::types::AuthDeploymentAuthorityRejectRequest;
    type Output = super::types::AuthDeploymentAuthorityRejectResponse;
    const KEY: &'static str = "Auth.DeploymentAuthority.Reject";
    const SUBJECT: &'static str = "rpc.v1.Auth.DeploymentAuthority.Reject";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Deployments.Create`.
pub struct AuthDeploymentsCreateRpc;
impl RpcDescriptor for AuthDeploymentsCreateRpc {
    type Input = super::types::AuthDeploymentsCreateRequest;
    type Output = super::types::AuthDeploymentsCreateResponse;
    const KEY: &'static str = "Auth.Deployments.Create";
    const SUBJECT: &'static str = "rpc.v1.Auth.Deployments.Create";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Deployments.Disable`.
pub struct AuthDeploymentsDisableRpc;
impl RpcDescriptor for AuthDeploymentsDisableRpc {
    type Input = super::types::AuthDeploymentsDisableRequest;
    type Output = super::types::AuthDeploymentsDisableResponse;
    const KEY: &'static str = "Auth.Deployments.Disable";
    const SUBJECT: &'static str = "rpc.v1.Auth.Deployments.Disable";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Deployments.Enable`.
pub struct AuthDeploymentsEnableRpc;
impl RpcDescriptor for AuthDeploymentsEnableRpc {
    type Input = super::types::AuthDeploymentsEnableRequest;
    type Output = super::types::AuthDeploymentsEnableResponse;
    const KEY: &'static str = "Auth.Deployments.Enable";
    const SUBJECT: &'static str = "rpc.v1.Auth.Deployments.Enable";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Deployments.List`.
pub struct AuthDeploymentsListRpc;
impl RpcDescriptor for AuthDeploymentsListRpc {
    type Input = super::types::AuthDeploymentsListRequest;
    type Output = super::types::AuthDeploymentsListResponse;
    const KEY: &'static str = "Auth.Deployments.List";
    const SUBJECT: &'static str = "rpc.v1.Auth.Deployments.List";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Deployments.Remove`.
pub struct AuthDeploymentsRemoveRpc;
impl RpcDescriptor for AuthDeploymentsRemoveRpc {
    type Input = super::types::AuthDeploymentsRemoveRequest;
    type Output = super::types::AuthDeploymentsRemoveResponse;
    const KEY: &'static str = "Auth.Deployments.Remove";
    const SUBJECT: &'static str = "rpc.v1.Auth.Deployments.Remove";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.DeviceUserAuthorities.List`.
pub struct AuthDeviceUserAuthoritiesListRpc;
impl RpcDescriptor for AuthDeviceUserAuthoritiesListRpc {
    type Input = super::types::AuthDeviceUserAuthoritiesListRequest;
    type Output = super::types::AuthDeviceUserAuthoritiesListResponse;
    const KEY: &'static str = "Auth.DeviceUserAuthorities.List";
    const SUBJECT: &'static str = "rpc.v1.Auth.DeviceUserAuthorities.List";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.DeviceUserAuthorities.Reviews.Decide`.
pub struct AuthDeviceUserAuthoritiesReviewsDecideRpc;
impl RpcDescriptor for AuthDeviceUserAuthoritiesReviewsDecideRpc {
    type Input = super::types::AuthDeviceUserAuthoritiesReviewsDecideRequest;
    type Output = super::types::AuthDeviceUserAuthoritiesReviewsDecideResponse;
    const KEY: &'static str = "Auth.DeviceUserAuthorities.Reviews.Decide";
    const SUBJECT: &'static str = "rpc.v1.Auth.DeviceUserAuthorities.Reviews.Decide";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["trellis.auth::device.review"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.DeviceUserAuthorities.Reviews.List`.
pub struct AuthDeviceUserAuthoritiesReviewsListRpc;
impl RpcDescriptor for AuthDeviceUserAuthoritiesReviewsListRpc {
    type Input = super::types::AuthDeviceUserAuthoritiesReviewsListRequest;
    type Output = super::types::AuthDeviceUserAuthoritiesReviewsListResponse;
    const KEY: &'static str = "Auth.DeviceUserAuthorities.Reviews.List";
    const SUBJECT: &'static str = "rpc.v1.Auth.DeviceUserAuthorities.Reviews.List";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["trellis.auth::device.review"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.DeviceUserAuthorities.Revoke`.
pub struct AuthDeviceUserAuthoritiesRevokeRpc;
impl RpcDescriptor for AuthDeviceUserAuthoritiesRevokeRpc {
    type Input = super::types::AuthDeviceUserAuthoritiesRevokeRequest;
    type Output = super::types::AuthDeviceUserAuthoritiesRevokeResponse;
    const KEY: &'static str = "Auth.DeviceUserAuthorities.Revoke";
    const SUBJECT: &'static str = "rpc.v1.Auth.DeviceUserAuthorities.Revoke";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Devices.ConnectInfo.Get`.
pub struct AuthDevicesConnectInfoGetRpc;
impl RpcDescriptor for AuthDevicesConnectInfoGetRpc {
    type Input = super::types::AuthDevicesConnectInfoGetRequest;
    type Output = super::types::AuthDevicesConnectInfoGetResponse;
    const KEY: &'static str = "Auth.Devices.ConnectInfo.Get";
    const SUBJECT: &'static str = "rpc.v1.Auth.Devices.ConnectInfo.Get";
    const CALLER_CAPABILITIES: &'static [&'static str] = &[];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Devices.Disable`.
pub struct AuthDevicesDisableRpc;
impl RpcDescriptor for AuthDevicesDisableRpc {
    type Input = super::types::AuthDevicesDisableRequest;
    type Output = super::types::AuthDevicesDisableResponse;
    const KEY: &'static str = "Auth.Devices.Disable";
    const SUBJECT: &'static str = "rpc.v1.Auth.Devices.Disable";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Devices.Enable`.
pub struct AuthDevicesEnableRpc;
impl RpcDescriptor for AuthDevicesEnableRpc {
    type Input = super::types::AuthDevicesEnableRequest;
    type Output = super::types::AuthDevicesEnableResponse;
    const KEY: &'static str = "Auth.Devices.Enable";
    const SUBJECT: &'static str = "rpc.v1.Auth.Devices.Enable";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Devices.List`.
pub struct AuthDevicesListRpc;
impl RpcDescriptor for AuthDevicesListRpc {
    type Input = super::types::AuthDevicesListRequest;
    type Output = super::types::AuthDevicesListResponse;
    const KEY: &'static str = "Auth.Devices.List";
    const SUBJECT: &'static str = "rpc.v1.Auth.Devices.List";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Devices.Provision`.
pub struct AuthDevicesProvisionRpc;
impl RpcDescriptor for AuthDevicesProvisionRpc {
    type Input = super::types::AuthDevicesProvisionRequest;
    type Output = super::types::AuthDevicesProvisionResponse;
    const KEY: &'static str = "Auth.Devices.Provision";
    const SUBJECT: &'static str = "rpc.v1.Auth.Devices.Provision";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Devices.Remove`.
pub struct AuthDevicesRemoveRpc;
impl RpcDescriptor for AuthDevicesRemoveRpc {
    type Input = super::types::AuthDevicesRemoveRequest;
    type Output = super::types::AuthDevicesRemoveResponse;
    const KEY: &'static str = "Auth.Devices.Remove";
    const SUBJECT: &'static str = "rpc.v1.Auth.Devices.Remove";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Health`.
pub struct AuthHealthRpc;
impl RpcDescriptor for AuthHealthRpc {
    type Input = Empty;
    type Output = super::types::AuthHealthResponse;
    const KEY: &'static str = "Auth.Health";
    const SUBJECT: &'static str = "rpc.v1.Auth.Health";
    const CALLER_CAPABILITIES: &'static [&'static str] = &[];
    const ERRORS: &'static [&'static str] = &["UnexpectedError"];
}
/// Descriptor for `Auth.Identities.List`.
pub struct AuthIdentitiesListRpc;
impl RpcDescriptor for AuthIdentitiesListRpc {
    type Input = super::types::AuthIdentitiesListRequest;
    type Output = super::types::AuthIdentitiesListResponse;
    const KEY: &'static str = "Auth.Identities.List";
    const SUBJECT: &'static str = "rpc.v1.Auth.Identities.List";
    const CALLER_CAPABILITIES: &'static [&'static str] = &[];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.IdentityGrants.List`.
pub struct AuthIdentityGrantsListRpc;
impl RpcDescriptor for AuthIdentityGrantsListRpc {
    type Input = super::types::AuthIdentityGrantsListRequest;
    type Output = super::types::AuthIdentityGrantsListResponse;
    const KEY: &'static str = "Auth.IdentityGrants.List";
    const SUBJECT: &'static str = "rpc.v1.Auth.IdentityGrants.List";
    const CALLER_CAPABILITIES: &'static [&'static str] = &[];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError"];
}
/// Descriptor for `Auth.IdentityGrants.Revoke`.
pub struct AuthIdentityGrantsRevokeRpc;
impl RpcDescriptor for AuthIdentityGrantsRevokeRpc {
    type Input = super::types::AuthIdentityGrantsRevokeRequest;
    type Output = super::types::AuthIdentityGrantsRevokeResponse;
    const KEY: &'static str = "Auth.IdentityGrants.Revoke";
    const SUBJECT: &'static str = "rpc.v1.Auth.IdentityGrants.Revoke";
    const CALLER_CAPABILITIES: &'static [&'static str] = &[];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Portals.Get`.
pub struct AuthPortalsGetRpc;
impl RpcDescriptor for AuthPortalsGetRpc {
    type Input = super::types::AuthPortalsGetRequest;
    type Output = super::types::AuthPortalsGetResponse;
    const KEY: &'static str = "Auth.Portals.Get";
    const SUBJECT: &'static str = "rpc.v1.Auth.Portals.Get";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Portals.List`.
pub struct AuthPortalsListRpc;
impl RpcDescriptor for AuthPortalsListRpc {
    type Input = super::types::AuthPortalsListRequest;
    type Output = super::types::AuthPortalsListResponse;
    const KEY: &'static str = "Auth.Portals.List";
    const SUBJECT: &'static str = "rpc.v1.Auth.Portals.List";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError"];
}
/// Descriptor for `Auth.Portals.LoginSettings.Get`.
pub struct AuthPortalsLoginSettingsGetRpc;
impl RpcDescriptor for AuthPortalsLoginSettingsGetRpc {
    type Input = super::types::AuthPortalsLoginSettingsGetRequest;
    type Output = super::types::AuthPortalsLoginSettingsGetResponse;
    const KEY: &'static str = "Auth.Portals.LoginSettings.Get";
    const SUBJECT: &'static str = "rpc.v1.Auth.Portals.LoginSettings.Get";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Portals.LoginSettings.Update`.
pub struct AuthPortalsLoginSettingsUpdateRpc;
impl RpcDescriptor for AuthPortalsLoginSettingsUpdateRpc {
    type Input = super::types::AuthPortalsLoginSettingsUpdateRequest;
    type Output = super::types::AuthPortalsLoginSettingsUpdateResponse;
    const KEY: &'static str = "Auth.Portals.LoginSettings.Update";
    const SUBJECT: &'static str = "rpc.v1.Auth.Portals.LoginSettings.Update";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Portals.Put`.
pub struct AuthPortalsPutRpc;
impl RpcDescriptor for AuthPortalsPutRpc {
    type Input = super::types::AuthPortalsPutRequest;
    type Output = super::types::AuthPortalsPutResponse;
    const KEY: &'static str = "Auth.Portals.Put";
    const SUBJECT: &'static str = "rpc.v1.Auth.Portals.Put";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Portals.Remove`.
pub struct AuthPortalsRemoveRpc;
impl RpcDescriptor for AuthPortalsRemoveRpc {
    type Input = super::types::AuthPortalsRemoveRequest;
    type Output = super::types::AuthPortalsRemoveResponse;
    const KEY: &'static str = "Auth.Portals.Remove";
    const SUBJECT: &'static str = "rpc.v1.Auth.Portals.Remove";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Portals.Routes.Put`.
pub struct AuthPortalsRoutesPutRpc;
impl RpcDescriptor for AuthPortalsRoutesPutRpc {
    type Input = super::types::AuthPortalsRoutesPutRequest;
    type Output = super::types::AuthPortalsRoutesPutResponse;
    const KEY: &'static str = "Auth.Portals.Routes.Put";
    const SUBJECT: &'static str = "rpc.v1.Auth.Portals.Routes.Put";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Portals.Routes.Remove`.
pub struct AuthPortalsRoutesRemoveRpc;
impl RpcDescriptor for AuthPortalsRoutesRemoveRpc {
    type Input = super::types::AuthPortalsRoutesRemoveRequest;
    type Output = super::types::AuthPortalsRoutesRemoveResponse;
    const KEY: &'static str = "Auth.Portals.Routes.Remove";
    const SUBJECT: &'static str = "rpc.v1.Auth.Portals.Routes.Remove";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Requests.Validate`.
pub struct AuthRequestsValidateRpc;
impl RpcDescriptor for AuthRequestsValidateRpc {
    type Input = super::types::AuthRequestsValidateRequest;
    type Output = super::types::AuthRequestsValidateResponse;
    const KEY: &'static str = "Auth.Requests.Validate";
    const SUBJECT: &'static str = "rpc.v1.Auth.Requests.Validate";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["service"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.ServiceInstances.Disable`.
pub struct AuthServiceInstancesDisableRpc;
impl RpcDescriptor for AuthServiceInstancesDisableRpc {
    type Input = super::types::AuthServiceInstancesDisableRequest;
    type Output = super::types::AuthServiceInstancesDisableResponse;
    const KEY: &'static str = "Auth.ServiceInstances.Disable";
    const SUBJECT: &'static str = "rpc.v1.Auth.ServiceInstances.Disable";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.ServiceInstances.Enable`.
pub struct AuthServiceInstancesEnableRpc;
impl RpcDescriptor for AuthServiceInstancesEnableRpc {
    type Input = super::types::AuthServiceInstancesEnableRequest;
    type Output = super::types::AuthServiceInstancesEnableResponse;
    const KEY: &'static str = "Auth.ServiceInstances.Enable";
    const SUBJECT: &'static str = "rpc.v1.Auth.ServiceInstances.Enable";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.ServiceInstances.List`.
pub struct AuthServiceInstancesListRpc;
impl RpcDescriptor for AuthServiceInstancesListRpc {
    type Input = super::types::AuthServiceInstancesListRequest;
    type Output = super::types::AuthServiceInstancesListResponse;
    const KEY: &'static str = "Auth.ServiceInstances.List";
    const SUBJECT: &'static str = "rpc.v1.Auth.ServiceInstances.List";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.ServiceInstances.Provision`.
pub struct AuthServiceInstancesProvisionRpc;
impl RpcDescriptor for AuthServiceInstancesProvisionRpc {
    type Input = super::types::AuthServiceInstancesProvisionRequest;
    type Output = super::types::AuthServiceInstancesProvisionResponse;
    const KEY: &'static str = "Auth.ServiceInstances.Provision";
    const SUBJECT: &'static str = "rpc.v1.Auth.ServiceInstances.Provision";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.ServiceInstances.Remove`.
pub struct AuthServiceInstancesRemoveRpc;
impl RpcDescriptor for AuthServiceInstancesRemoveRpc {
    type Input = super::types::AuthServiceInstancesRemoveRequest;
    type Output = super::types::AuthServiceInstancesRemoveResponse;
    const KEY: &'static str = "Auth.ServiceInstances.Remove";
    const SUBJECT: &'static str = "rpc.v1.Auth.ServiceInstances.Remove";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Sessions.List`.
pub struct AuthSessionsListRpc;
impl RpcDescriptor for AuthSessionsListRpc {
    type Input = super::types::AuthSessionsListRequest;
    type Output = super::types::AuthSessionsListResponse;
    const KEY: &'static str = "Auth.Sessions.List";
    const SUBJECT: &'static str = "rpc.v1.Auth.Sessions.List";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Sessions.Logout`.
pub struct AuthSessionsLogoutRpc;
impl RpcDescriptor for AuthSessionsLogoutRpc {
    type Input = Empty;
    type Output = super::types::AuthSessionsLogoutResponse;
    const KEY: &'static str = "Auth.Sessions.Logout";
    const SUBJECT: &'static str = "rpc.v1.Auth.Sessions.Logout";
    const CALLER_CAPABILITIES: &'static [&'static str] = &[];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError"];
}
/// Descriptor for `Auth.Sessions.Me`.
pub struct AuthSessionsMeRpc;
impl RpcDescriptor for AuthSessionsMeRpc {
    type Input = Empty;
    type Output = super::types::AuthSessionsMeResponse;
    const KEY: &'static str = "Auth.Sessions.Me";
    const SUBJECT: &'static str = "rpc.v1.Auth.Sessions.Me";
    const CALLER_CAPABILITIES: &'static [&'static str] = &[];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError"];
}
/// Descriptor for `Auth.Sessions.Revoke`.
pub struct AuthSessionsRevokeRpc;
impl RpcDescriptor for AuthSessionsRevokeRpc {
    type Input = super::types::AuthSessionsRevokeRequest;
    type Output = super::types::AuthSessionsRevokeResponse;
    const KEY: &'static str = "Auth.Sessions.Revoke";
    const SUBJECT: &'static str = "rpc.v1.Auth.Sessions.Revoke";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.UserIdentities.List`.
pub struct AuthUserIdentitiesListRpc;
impl RpcDescriptor for AuthUserIdentitiesListRpc {
    type Input = super::types::AuthUserIdentitiesListRequest;
    type Output = super::types::AuthUserIdentitiesListResponse;
    const KEY: &'static str = "Auth.UserIdentities.List";
    const SUBJECT: &'static str = "rpc.v1.Auth.UserIdentities.List";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.UserIdentities.Unlink`.
pub struct AuthUserIdentitiesUnlinkRpc;
impl RpcDescriptor for AuthUserIdentitiesUnlinkRpc {
    type Input = super::types::AuthUserIdentitiesUnlinkRequest;
    type Output = super::types::AuthUserIdentitiesUnlinkResponse;
    const KEY: &'static str = "Auth.UserIdentities.Unlink";
    const SUBJECT: &'static str = "rpc.v1.Auth.UserIdentities.Unlink";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Users.Create`.
pub struct AuthUsersCreateRpc;
impl RpcDescriptor for AuthUsersCreateRpc {
    type Input = super::types::AuthUsersCreateRequest;
    type Output = super::types::AuthUsersCreateResponse;
    const KEY: &'static str = "Auth.Users.Create";
    const SUBJECT: &'static str = "rpc.v1.Auth.Users.Create";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Users.Get`.
pub struct AuthUsersGetRpc;
impl RpcDescriptor for AuthUsersGetRpc {
    type Input = super::types::AuthUsersGetRequest;
    type Output = super::types::AuthUsersGetResponse;
    const KEY: &'static str = "Auth.Users.Get";
    const SUBJECT: &'static str = "rpc.v1.Auth.Users.Get";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Users.IdentityLink.Create`.
pub struct AuthUsersIdentityLinkCreateRpc;
impl RpcDescriptor for AuthUsersIdentityLinkCreateRpc {
    type Input = super::types::AuthUsersIdentityLinkCreateRequest;
    type Output = super::types::AuthUsersIdentityLinkCreateResponse;
    const KEY: &'static str = "Auth.Users.IdentityLink.Create";
    const SUBJECT: &'static str = "rpc.v1.Auth.Users.IdentityLink.Create";
    const CALLER_CAPABILITIES: &'static [&'static str] = &[];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Users.List`.
pub struct AuthUsersListRpc;
impl RpcDescriptor for AuthUsersListRpc {
    type Input = super::types::AuthUsersListRequest;
    type Output = super::types::AuthUsersListResponse;
    const KEY: &'static str = "Auth.Users.List";
    const SUBJECT: &'static str = "rpc.v1.Auth.Users.List";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Users.Password.Change`.
pub struct AuthUsersPasswordChangeRpc;
impl RpcDescriptor for AuthUsersPasswordChangeRpc {
    type Input = super::types::AuthUsersPasswordChangeRequest;
    type Output = super::types::AuthUsersPasswordChangeResponse;
    const KEY: &'static str = "Auth.Users.Password.Change";
    const SUBJECT: &'static str = "rpc.v1.Auth.Users.Password.Change";
    const CALLER_CAPABILITIES: &'static [&'static str] = &[];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Users.PasswordReset.Create`.
pub struct AuthUsersPasswordResetCreateRpc;
impl RpcDescriptor for AuthUsersPasswordResetCreateRpc {
    type Input = super::types::AuthUsersPasswordResetCreateRequest;
    type Output = super::types::AuthUsersPasswordResetCreateResponse;
    const KEY: &'static str = "Auth.Users.PasswordReset.Create";
    const SUBJECT: &'static str = "rpc.v1.Auth.Users.PasswordReset.Create";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}
/// Descriptor for `Auth.Users.Update`.
pub struct AuthUsersUpdateRpc;
impl RpcDescriptor for AuthUsersUpdateRpc {
    type Input = super::types::AuthUsersUpdateRequest;
    type Output = super::types::AuthUsersUpdateResponse;
    const KEY: &'static str = "Auth.Users.Update";
    const SUBJECT: &'static str = "rpc.v1.Auth.Users.Update";
    const CALLER_CAPABILITIES: &'static [&'static str] = &["admin"];
    const ERRORS: &'static [&'static str] = &["AuthError", "UnexpectedError", "ValidationError"];
}