@structured-id/proto 0.13.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/generated/sid/v1/account/account.d.ts +8 -8
  3. package/dist/generated/sid/v1/account/account.js +34 -34
  4. package/dist/generated/sid/v1/account/account.js.map +1 -1
  5. package/dist/generated/sid/v1/admin/enrollment.d.ts +1 -1
  6. package/dist/generated/sid/v1/admin/enrollment.js +4 -4
  7. package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
  8. package/dist/generated/sid/v1/admin/operations.d.ts +8 -8
  9. package/dist/generated/sid/v1/admin/operations.js +32 -32
  10. package/dist/generated/sid/v1/admin/operations.js.map +1 -1
  11. package/dist/generated/sid/v1/admin/organizations.d.ts +4 -4
  12. package/dist/generated/sid/v1/admin/organizations.js +16 -16
  13. package/dist/generated/sid/v1/admin/organizations.js.map +1 -1
  14. package/dist/generated/sid/v1/admin/provisioning.d.ts +3 -3
  15. package/dist/generated/sid/v1/admin/provisioning.js +13 -13
  16. package/dist/generated/sid/v1/admin/provisioning.js.map +1 -1
  17. package/dist/generated/sid/v1/authn/auth.d.ts +94 -84
  18. package/dist/generated/sid/v1/authn/auth.js +315 -315
  19. package/dist/generated/sid/v1/authn/auth.js.map +1 -1
  20. package/dist/generated/sid/v1/authn/flows.d.ts +1 -1
  21. package/dist/generated/sid/v1/authn/flows.js +4 -4
  22. package/dist/generated/sid/v1/authn/flows.js.map +1 -1
  23. package/dist/generated/sid/v1/authn/native_session.d.ts +1 -1
  24. package/dist/generated/sid/v1/authn/native_session.js +5 -5
  25. package/dist/generated/sid/v1/authn/native_session.js.map +1 -1
  26. package/dist/generated/sid/v1/authn/password_history.d.ts +8 -8
  27. package/dist/generated/sid/v1/authn/password_history.js +35 -35
  28. package/dist/generated/sid/v1/authn/password_history.js.map +1 -1
  29. package/dist/generated/sid/v1/authz/authz.d.ts +229 -137
  30. package/dist/generated/sid/v1/authz/authz.js +404 -426
  31. package/dist/generated/sid/v1/authz/authz.js.map +1 -1
  32. package/dist/generated/sid/v1/authz/governance.d.ts +40 -26
  33. package/dist/generated/sid/v1/authz/governance.js +65 -71
  34. package/dist/generated/sid/v1/authz/governance.js.map +1 -1
  35. package/dist/generated/sid/v1/common/operation.d.ts +3 -3
  36. package/dist/generated/sid/v1/common/operation.js +13 -13
  37. package/dist/generated/sid/v1/common/operation.js.map +1 -1
  38. package/dist/generated/sid/v1/federation/upstream.d.ts +16 -12
  39. package/dist/generated/sid/v1/federation/upstream.js +48 -48
  40. package/dist/generated/sid/v1/federation/upstream.js.map +1 -1
  41. package/dist/generated/sid/v1/identity/identity.d.ts +85 -85
  42. package/dist/generated/sid/v1/identity/identity.js +367 -367
  43. package/dist/generated/sid/v1/identity/identity.js.map +1 -1
  44. package/dist/generated/sid/v1/ids/ids.d.ts +16 -0
  45. package/dist/generated/sid/v1/ids/ids.js +8 -0
  46. package/dist/generated/sid/v1/ids/ids.js.map +1 -1
  47. package/dist/generated/sid/v1/machine/machine_user.d.ts +115 -56
  48. package/dist/generated/sid/v1/machine/machine_user.js +260 -211
  49. package/dist/generated/sid/v1/machine/machine_user.js.map +1 -1
  50. package/dist/generated/sid/v1/machine/pat.d.ts +16 -12
  51. package/dist/generated/sid/v1/machine/pat.js +41 -45
  52. package/dist/generated/sid/v1/machine/pat.js.map +1 -1
  53. package/dist/generated/sid/v1/projects/projects.d.ts +141 -103
  54. package/dist/generated/sid/v1/projects/projects.js +293 -271
  55. package/dist/generated/sid/v1/projects/projects.js.map +1 -1
  56. package/package.json +5 -5
@@ -5,7 +5,14 @@ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
5
5
  import type { IBinaryReader } from "@protobuf-ts/runtime";
6
6
  import type { PartialMessage } from "@protobuf-ts/runtime";
7
7
  import { MessageType } from "@protobuf-ts/runtime";
8
+ import { RoleId } from "../ids/ids.js";
9
+ import { InitialAccessTokenId } from "../ids/ids.js";
10
+ import { ResourceId } from "../ids/ids.js";
11
+ import { OrgId } from "../ids/ids.js";
12
+ import { ApplicationId } from "../ids/ids.js";
8
13
  import { Timestamp } from "../../../google/protobuf/timestamp.js";
14
+ import { ProfileId } from "../ids/ids.js";
15
+ import { ProjectId } from "../ids/ids.js";
9
16
  /**
10
17
  * Project is a container for related applications that share authorization scope.
11
18
  *
@@ -13,9 +20,9 @@ import { Timestamp } from "../../../google/protobuf/timestamp.js";
13
20
  */
14
21
  export interface Project {
15
22
  /**
16
- * @generated from protobuf field: string id = 1
23
+ * @generated from protobuf field: sid.v1.ids.ProjectId id = 1
17
24
  */
18
- id: string;
25
+ id?: ProjectId;
19
26
  /**
20
27
  * @generated from protobuf field: string name = 2
21
28
  */
@@ -25,9 +32,12 @@ export interface Project {
25
32
  */
26
33
  description: string;
27
34
  /**
28
- * @generated from protobuf field: string owner_profile_id = 4
35
+ * Profile that owns the project; absent for the system project and once
36
+ * its owner is gone.
37
+ *
38
+ * @generated from protobuf field: sid.v1.ids.ProfileId owner_profile_id = 4
29
39
  */
30
- ownerProfileId: string;
40
+ ownerProfileId?: ProfileId;
31
41
  /**
32
42
  * @generated from protobuf field: bool is_system = 5
33
43
  */
@@ -53,18 +63,18 @@ export interface Project {
53
63
  */
54
64
  export interface Application {
55
65
  /**
56
- * Server-assigned application identifier (UUIDv7). Stable for the
57
- * application's lifetime; not a credential and not a token audience.
66
+ * Server-assigned application identifier. Stable for the application's
67
+ * lifetime; not a credential and not a token audience.
58
68
  *
59
- * @generated from protobuf field: string id = 1
69
+ * @generated from protobuf field: sid.v1.ids.ApplicationId id = 1
60
70
  */
61
- id: string;
71
+ id?: ApplicationId;
62
72
  /**
63
- * Project (UUID) whose authorization vocabulary the application uses.
73
+ * Project whose authorization vocabulary the application uses.
64
74
  *
65
- * @generated from protobuf field: string project_id = 2
75
+ * @generated from protobuf field: sid.v1.ids.ProjectId project_id = 2
66
76
  */
67
- projectId: string;
77
+ projectId?: ProjectId;
68
78
  /**
69
79
  * Name shown to administrators.
70
80
  *
@@ -120,17 +130,17 @@ export interface OAuthClient {
120
130
  */
121
131
  clientId: string;
122
132
  /**
123
- * Application (UUIDv7) whose client role this is.
133
+ * Application whose client role this is.
124
134
  *
125
- * @generated from protobuf field: string application_id = 2
135
+ * @generated from protobuf field: sid.v1.ids.ApplicationId application_id = 2
126
136
  */
127
- applicationId: string;
137
+ applicationId?: ApplicationId;
128
138
  /**
129
- * Project (UUID) of the application.
139
+ * Project of the application.
130
140
  *
131
- * @generated from protobuf field: string project_id = 3
141
+ * @generated from protobuf field: sid.v1.ids.ProjectId project_id = 3
132
142
  */
133
- projectId: string;
143
+ projectId?: ProjectId;
134
144
  /**
135
145
  * Client name shown to users (RFC 7591 §2 `client_name`).
136
146
  *
@@ -203,14 +213,14 @@ export interface OAuthClient {
203
213
  */
204
214
  dynamicallyRegistered: boolean;
205
215
  /**
206
- * Recipient organization of this client (UUIDv7). A pairwise recipient's
207
- * subject is the stored BindingId of the (Profile, organization) pair, so
208
- * every client of one organization sees the same subject for a user and
209
- * redirect domains do not change it. Assigned at registration.
216
+ * Recipient organization of this client. A pairwise recipient's subject is
217
+ * the stored BindingId of the (Profile, organization) pair, so every client
218
+ * of one organization sees the same subject for a user and redirect domains
219
+ * do not change it. Assigned at registration.
210
220
  *
211
- * @generated from protobuf field: optional string org_id = 19
221
+ * @generated from protobuf field: sid.v1.ids.OrgId org_id = 19
212
222
  */
213
- orgId?: string;
223
+ orgId?: OrgId;
214
224
  /**
215
225
  * Exact OIDC issuer identifier this client is registered under, the
216
226
  * canonical URL `https://<host>/i/<handle>`. Part of the connection details
@@ -223,15 +233,14 @@ export interface OAuthClient {
223
233
  */
224
234
  issuer: string;
225
235
  /**
226
- * The protected resource (ProtectedResource.id, UUIDv7) a token is issued
227
- * for when a token request names none (RFC 8707 §2). Effective only while
228
- * the client has access to that resource. Without it, a request naming no
229
- * resource is refused with `invalid_target`; no other audience is
230
- * substituted.
236
+ * The protected resource (ProtectedResource.id) a token is issued for when
237
+ * a token request names none (RFC 8707 §2). Effective only while the client
238
+ * has access to that resource. Without it, a request naming no resource is
239
+ * refused with `invalid_target`; no other audience is substituted.
231
240
  *
232
- * @generated from protobuf field: optional string default_resource_id = 21
241
+ * @generated from protobuf field: sid.v1.ids.ResourceId default_resource_id = 21
233
242
  */
234
- defaultResourceId?: string;
243
+ defaultResourceId?: ResourceId;
235
244
  /**
236
245
  * Stored revision of the client role.
237
246
  *
@@ -262,19 +271,19 @@ export interface OAuthClient {
262
271
  */
263
272
  export interface ProtectedResource {
264
273
  /**
265
- * Server-assigned resource identifier (UUIDv7), used to manage the resource
266
- * and its access. Not the token audience.
274
+ * Server-assigned resource identifier, used to manage the resource and its
275
+ * access. Not the token audience.
267
276
  *
268
- * @generated from protobuf field: string id = 1
277
+ * @generated from protobuf field: sid.v1.ids.ResourceId id = 1
269
278
  */
270
- id: string;
279
+ id?: ResourceId;
271
280
  /**
272
- * Application (UUIDv7) holding this role; absent once the resource is
273
- * retired with its application.
281
+ * Application holding this role; absent once the resource is retired with
282
+ * its application.
274
283
  *
275
- * @generated from protobuf field: optional string application_id = 2
284
+ * @generated from protobuf field: sid.v1.ids.ApplicationId application_id = 2
276
285
  */
277
- applicationId?: string;
286
+ applicationId?: ApplicationId;
278
287
  /**
279
288
  * The resource indicator (RFC 8707 §2): an absolute URI without a fragment,
280
289
  * in canonical form, e.g. `https://api.example.com/orders`. It is the `aud`
@@ -333,11 +342,11 @@ export interface ResourceAccess {
333
342
  */
334
343
  clientId: string;
335
344
  /**
336
- * The resource (ProtectedResource.id, UUIDv7) it may obtain tokens for.
345
+ * The resource (ProtectedResource.id) it may obtain tokens for.
337
346
  *
338
- * @generated from protobuf field: string resource_id = 2
347
+ * @generated from protobuf field: sid.v1.ids.ResourceId resource_id = 2
339
348
  */
340
- resourceId: string;
349
+ resourceId?: ResourceId;
341
350
  /**
342
351
  * Scopes this access grants; always a subset of the resource's scopes.
343
352
  *
@@ -356,13 +365,15 @@ export interface ResourceAccess {
356
365
  */
357
366
  export interface InitialAccessToken {
358
367
  /**
359
- * @generated from protobuf field: string id = 1
368
+ * @generated from protobuf field: sid.v1.ids.InitialAccessTokenId id = 1
360
369
  */
361
- id: string;
370
+ id?: InitialAccessTokenId;
362
371
  /**
363
- * @generated from protobuf field: string project_id = 2
372
+ * Project the clients registered with this token join.
373
+ *
374
+ * @generated from protobuf field: sid.v1.ids.ProjectId project_id = 2
364
375
  */
365
- projectId: string;
376
+ projectId?: ProjectId;
366
377
  /**
367
378
  * @generated from protobuf field: uint32 max_clients = 3
368
379
  */
@@ -392,9 +403,11 @@ export interface InitialAccessToken {
392
403
  */
393
404
  createdAt?: Timestamp;
394
405
  /**
395
- * @generated from protobuf field: string created_by = 10
406
+ * Administrator Profile that created the token.
407
+ *
408
+ * @generated from protobuf field: sid.v1.ids.ProfileId created_by = 10
396
409
  */
397
- createdBy: string;
410
+ createdBy?: ProfileId;
398
411
  /**
399
412
  * @generated from protobuf field: bool revoked = 11
400
413
  */
@@ -413,18 +426,20 @@ export interface CreateProjectRequest {
413
426
  */
414
427
  description: string;
415
428
  /**
416
- * @generated from protobuf field: string owner_profile_id = 3
429
+ * Profile to own the project; absent, the caller owns it.
430
+ *
431
+ * @generated from protobuf field: sid.v1.ids.ProfileId owner_profile_id = 3
417
432
  */
418
- ownerProfileId: string;
433
+ ownerProfileId?: ProfileId;
419
434
  }
420
435
  /**
421
436
  * @generated from protobuf message sid.v1.projects.GetProjectRequest
422
437
  */
423
438
  export interface GetProjectRequest {
424
439
  /**
425
- * @generated from protobuf field: string id = 1
440
+ * @generated from protobuf field: sid.v1.ids.ProjectId id = 1
426
441
  */
427
- id: string;
442
+ id?: ProjectId;
428
443
  }
429
444
  /**
430
445
  * @generated from protobuf message sid.v1.projects.ListProjectsRequest
@@ -457,9 +472,9 @@ export interface ListProjectsResponse {
457
472
  */
458
473
  export interface UpdateProjectRequest {
459
474
  /**
460
- * @generated from protobuf field: string id = 1
475
+ * @generated from protobuf field: sid.v1.ids.ProjectId id = 1
461
476
  */
462
- id: string;
477
+ id?: ProjectId;
463
478
  /**
464
479
  * @generated from protobuf field: optional string name = 2
465
480
  */
@@ -474,9 +489,9 @@ export interface UpdateProjectRequest {
474
489
  */
475
490
  export interface DeleteProjectRequest {
476
491
  /**
477
- * @generated from protobuf field: string id = 1
492
+ * @generated from protobuf field: sid.v1.ids.ProjectId id = 1
478
493
  */
479
- id: string;
494
+ id?: ProjectId;
480
495
  }
481
496
  /**
482
497
  * Settings of a new OAuth client role.
@@ -567,9 +582,9 @@ export interface ResourceRoleSettings {
567
582
  */
568
583
  export interface CreateApplicationRequest {
569
584
  /**
570
- * @generated from protobuf field: string project_id = 1
585
+ * @generated from protobuf field: sid.v1.ids.ProjectId project_id = 1
571
586
  */
572
- projectId: string;
587
+ projectId?: ProjectId;
573
588
  /**
574
589
  * @generated from protobuf field: string name = 2
575
590
  */
@@ -585,12 +600,12 @@ export interface CreateApplicationRequest {
585
600
  */
586
601
  resource?: ResourceRoleSettings;
587
602
  /**
588
- * Recipient organization (UUIDv7). Empty means the installation's
589
- * organization; naming any other organization is refused.
603
+ * Recipient organization. Absent means the installation's organization;
604
+ * naming any other organization is refused.
590
605
  *
591
- * @generated from protobuf field: optional string org_id = 5
606
+ * @generated from protobuf field: sid.v1.ids.OrgId org_id = 5
592
607
  */
593
- orgId?: string;
608
+ orgId?: OrgId;
594
609
  }
595
610
  /**
596
611
  * The application, and the client secret when a client role that holds a
@@ -614,18 +629,18 @@ export interface CreateApplicationResponse {
614
629
  */
615
630
  export interface GetApplicationRequest {
616
631
  /**
617
- * @generated from protobuf field: string id = 1
632
+ * @generated from protobuf field: sid.v1.ids.ApplicationId id = 1
618
633
  */
619
- id: string;
634
+ id?: ApplicationId;
620
635
  }
621
636
  /**
622
637
  * @generated from protobuf message sid.v1.projects.ListApplicationsRequest
623
638
  */
624
639
  export interface ListApplicationsRequest {
625
640
  /**
626
- * @generated from protobuf field: string project_id = 1
641
+ * @generated from protobuf field: sid.v1.ids.ProjectId project_id = 1
627
642
  */
628
- projectId: string;
643
+ projectId?: ProjectId;
629
644
  /**
630
645
  * @generated from protobuf field: int32 page_size = 2
631
646
  */
@@ -653,9 +668,9 @@ export interface ListApplicationsResponse {
653
668
  */
654
669
  export interface UpdateApplicationRequest {
655
670
  /**
656
- * @generated from protobuf field: string id = 1
671
+ * @generated from protobuf field: sid.v1.ids.ApplicationId id = 1
657
672
  */
658
- id: string;
673
+ id?: ApplicationId;
659
674
  /**
660
675
  * @generated from protobuf field: optional string name = 2
661
676
  */
@@ -666,20 +681,20 @@ export interface UpdateApplicationRequest {
666
681
  */
667
682
  export interface DeleteApplicationRequest {
668
683
  /**
669
- * @generated from protobuf field: string id = 1
684
+ * @generated from protobuf field: sid.v1.ids.ApplicationId id = 1
670
685
  */
671
- id: string;
686
+ id?: ApplicationId;
672
687
  }
673
688
  /**
674
689
  * @generated from protobuf message sid.v1.projects.AddClientRoleRequest
675
690
  */
676
691
  export interface AddClientRoleRequest {
677
692
  /**
678
- * Application (UUIDv7) without a client role yet; ALREADY_EXISTS otherwise.
693
+ * Application without a client role yet; ALREADY_EXISTS otherwise.
679
694
  *
680
- * @generated from protobuf field: string application_id = 1
695
+ * @generated from protobuf field: sid.v1.ids.ApplicationId application_id = 1
681
696
  */
682
- applicationId: string;
697
+ applicationId?: ApplicationId;
683
698
  /**
684
699
  * @generated from protobuf field: sid.v1.projects.ClientRoleSettings settings = 2
685
700
  */
@@ -726,14 +741,12 @@ export interface UpdateClientRoleRequest {
726
741
  */
727
742
  subjectType?: string;
728
743
  /**
729
- * The resource (ProtectedResource.id) tokens are for when a request names
730
- * none. The client must already have access to it (INVALID_ARGUMENT,
731
- * field `default_resource_id`, otherwise). An empty value removes the
732
- * default.
744
+ * The default resource tokens are for when a request names none; left
745
+ * out, it is unchanged (see DefaultResource).
733
746
  *
734
- * @generated from protobuf field: optional string default_resource_id = 8
747
+ * @generated from protobuf field: sid.v1.projects.DefaultResource default_resource = 8
735
748
  */
736
- defaultResourceId?: string;
749
+ defaultResource?: DefaultResource;
737
750
  /**
738
751
  * Replaces the post-logout redirect URIs (see ClientRoleSettings); left out,
739
752
  * they are unchanged.
@@ -742,16 +755,31 @@ export interface UpdateClientRoleRequest {
742
755
  */
743
756
  postLogoutRedirectUris?: UriList;
744
757
  }
758
+ /**
759
+ * A client's default resource, set as a whole by an update.
760
+ *
761
+ * @generated from protobuf message sid.v1.projects.DefaultResource
762
+ */
763
+ export interface DefaultResource {
764
+ /**
765
+ * The resource (ProtectedResource.id) tokens are for when a request names
766
+ * none. The client must already have access to it (INVALID_ARGUMENT, field
767
+ * `default_resource`, otherwise). Absent removes the default.
768
+ *
769
+ * @generated from protobuf field: sid.v1.ids.ResourceId resource_id = 1
770
+ */
771
+ resourceId?: ResourceId;
772
+ }
745
773
  /**
746
774
  * @generated from protobuf message sid.v1.projects.AddResourceRoleRequest
747
775
  */
748
776
  export interface AddResourceRoleRequest {
749
777
  /**
750
- * Application (UUIDv7) without a resource role yet; ALREADY_EXISTS otherwise.
778
+ * Application without a resource role yet; ALREADY_EXISTS otherwise.
751
779
  *
752
- * @generated from protobuf field: string application_id = 1
780
+ * @generated from protobuf field: sid.v1.ids.ApplicationId application_id = 1
753
781
  */
754
- applicationId: string;
782
+ applicationId?: ApplicationId;
755
783
  /**
756
784
  * @generated from protobuf field: sid.v1.projects.ResourceRoleSettings settings = 2
757
785
  */
@@ -773,9 +801,9 @@ export interface ScopeList {
773
801
  */
774
802
  export interface UpdateResourceRoleRequest {
775
803
  /**
776
- * @generated from protobuf field: string resource_id = 1
804
+ * @generated from protobuf field: sid.v1.ids.ResourceId resource_id = 1
777
805
  */
778
- resourceId: string;
806
+ resourceId?: ResourceId;
779
807
  /**
780
808
  * Replaces the scopes the resource understands. Access already granted
781
809
  * keeps its scopes but grants only those the resource still understands.
@@ -805,11 +833,11 @@ export interface SetResourceAccessRequest {
805
833
  */
806
834
  clientId: string;
807
835
  /**
808
- * The resource (ProtectedResource.id, UUIDv7).
836
+ * The resource (ProtectedResource.id).
809
837
  *
810
- * @generated from protobuf field: string resource_id = 2
838
+ * @generated from protobuf field: sid.v1.ids.ResourceId resource_id = 2
811
839
  */
812
- resourceId: string;
840
+ resourceId?: ResourceId;
813
841
  /**
814
842
  * Replaces the scopes of this access. Each must be a scope of the resource
815
843
  * (INVALID_ARGUMENT otherwise). The client and the resource must belong to
@@ -831,11 +859,11 @@ export interface RemoveResourceAccessRequest {
831
859
  */
832
860
  clientId: string;
833
861
  /**
834
- * The resource (ProtectedResource.id, UUIDv7).
862
+ * The resource (ProtectedResource.id).
835
863
  *
836
- * @generated from protobuf field: string resource_id = 2
864
+ * @generated from protobuf field: sid.v1.ids.ResourceId resource_id = 2
837
865
  */
838
- resourceId: string;
866
+ resourceId?: ResourceId;
839
867
  }
840
868
  /**
841
869
  * @generated from protobuf message sid.v1.projects.ListResourceAccessRequest
@@ -855,9 +883,9 @@ export interface ListResourceAccessRequest {
855
883
  } | {
856
884
  oneofKind: "resourceId";
857
885
  /**
858
- * @generated from protobuf field: string resource_id = 2
886
+ * @generated from protobuf field: sid.v1.ids.ResourceId resource_id = 2
859
887
  */
860
- resourceId: string;
888
+ resourceId: ResourceId;
861
889
  } | {
862
890
  oneofKind: undefined;
863
891
  };
@@ -876,9 +904,9 @@ export interface ListResourceAccessResponse {
876
904
  */
877
905
  export interface AddRoleRequest {
878
906
  /**
879
- * @generated from protobuf field: string project_id = 1
907
+ * @generated from protobuf field: sid.v1.ids.ProjectId project_id = 1
880
908
  */
881
- projectId: string;
909
+ projectId?: ProjectId;
882
910
  /**
883
911
  * @generated from protobuf field: string key = 2
884
912
  */
@@ -905,13 +933,13 @@ export interface AddRoleRequest {
905
933
  */
906
934
  export interface RemoveRoleRequest {
907
935
  /**
908
- * @generated from protobuf field: string project_id = 1
936
+ * @generated from protobuf field: sid.v1.ids.ProjectId project_id = 1
909
937
  */
910
- projectId: string;
938
+ projectId?: ProjectId;
911
939
  /**
912
- * @generated from protobuf field: string role_id = 2
940
+ * @generated from protobuf field: sid.v1.ids.RoleId role_id = 2
913
941
  */
914
- roleId: string;
942
+ roleId?: RoleId;
915
943
  }
916
944
  /**
917
945
  * @generated from protobuf message sid.v1.projects.RegisterClientRequest
@@ -1132,9 +1160,9 @@ export interface DeleteRegisteredClientRequest {
1132
1160
  */
1133
1161
  export interface CreateInitialAccessTokenRequest {
1134
1162
  /**
1135
- * @generated from protobuf field: string project_id = 1
1163
+ * @generated from protobuf field: sid.v1.ids.ProjectId project_id = 1
1136
1164
  */
1137
- projectId: string;
1165
+ projectId?: ProjectId;
1138
1166
  /**
1139
1167
  * @generated from protobuf field: uint32 max_clients = 2
1140
1168
  */
@@ -1180,9 +1208,9 @@ export interface CreateInitialAccessTokenResponse {
1180
1208
  */
1181
1209
  export interface ListInitialAccessTokensRequest {
1182
1210
  /**
1183
- * @generated from protobuf field: string project_id = 1
1211
+ * @generated from protobuf field: sid.v1.ids.ProjectId project_id = 1
1184
1212
  */
1185
- projectId: string;
1213
+ projectId?: ProjectId;
1186
1214
  }
1187
1215
  /**
1188
1216
  * @generated from protobuf message sid.v1.projects.ListInitialAccessTokensResponse
@@ -1198,9 +1226,9 @@ export interface ListInitialAccessTokensResponse {
1198
1226
  */
1199
1227
  export interface RevokeInitialAccessTokenRequest {
1200
1228
  /**
1201
- * @generated from protobuf field: string id = 1
1229
+ * @generated from protobuf field: sid.v1.ids.InitialAccessTokenId id = 1
1202
1230
  */
1203
- id: string;
1231
+ id?: InitialAccessTokenId;
1204
1232
  }
1205
1233
  /**
1206
1234
  * An integration of the installation with itself, provisioned by SID.
@@ -1570,6 +1598,16 @@ declare class UpdateClientRoleRequest$Type extends MessageType<UpdateClientRoleR
1570
1598
  * @generated MessageType for protobuf message sid.v1.projects.UpdateClientRoleRequest
1571
1599
  */
1572
1600
  export declare const UpdateClientRoleRequest: UpdateClientRoleRequest$Type;
1601
+ declare class DefaultResource$Type extends MessageType<DefaultResource> {
1602
+ constructor();
1603
+ create(value?: PartialMessage<DefaultResource>): DefaultResource;
1604
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DefaultResource): DefaultResource;
1605
+ internalBinaryWrite(message: DefaultResource, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1606
+ }
1607
+ /**
1608
+ * @generated MessageType for protobuf message sid.v1.projects.DefaultResource
1609
+ */
1610
+ export declare const DefaultResource: DefaultResource$Type;
1573
1611
  declare class AddResourceRoleRequest$Type extends MessageType<AddResourceRoleRequest> {
1574
1612
  constructor();
1575
1613
  create(value?: PartialMessage<AddResourceRoleRequest>): AddResourceRoleRequest;