@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
@@ -24,7 +24,7 @@ export interface Profile {
24
24
  * The Profile, issued by SID at its creation. Internal to the
25
25
  * installation; an external service never receives it.
26
26
  *
27
- * @generated from protobuf field: sid.v1.ids.ProfileId id = 21
27
+ * @generated from protobuf field: sid.v1.ids.ProfileId id = 1
28
28
  */
29
29
  id?: ProfileId;
30
30
  /**
@@ -52,78 +52,78 @@ export interface Profile {
52
52
  /**
53
53
  * Primary phone in E.164 format (denormalized from Principal for OIDC phone_number claim).
54
54
  *
55
- * @generated from protobuf field: optional string phone = 19
55
+ * @generated from protobuf field: optional string phone = 6
56
56
  */
57
57
  phone?: string;
58
58
  /**
59
- * @generated from protobuf field: bool phone_verified = 20
59
+ * @generated from protobuf field: bool phone_verified = 7
60
60
  */
61
61
  phoneVerified: boolean;
62
62
  /**
63
63
  * Structured name (OIDC Core 1.0 §5.1 + SCIM RFC 7643 §4.1.1).
64
64
  * OIDC `name` claim = computed from components, not stored.
65
65
  *
66
- * @generated from protobuf field: optional string given_name = 6
66
+ * @generated from protobuf field: optional string given_name = 8
67
67
  */
68
68
  givenName?: string;
69
69
  /**
70
- * @generated from protobuf field: optional string family_name = 14
70
+ * @generated from protobuf field: optional string family_name = 9
71
71
  */
72
72
  familyName?: string;
73
73
  /**
74
- * @generated from protobuf field: optional string middle_name = 15
74
+ * @generated from protobuf field: optional string middle_name = 10
75
75
  */
76
76
  middleName?: string;
77
77
  /**
78
- * @generated from protobuf field: optional string honorific_prefix = 16
78
+ * @generated from protobuf field: optional string honorific_prefix = 11
79
79
  */
80
80
  honorificPrefix?: string;
81
81
  /**
82
- * @generated from protobuf field: optional string honorific_suffix = 17
82
+ * @generated from protobuf field: optional string honorific_suffix = 12
83
83
  */
84
84
  honorificSuffix?: string;
85
85
  /**
86
- * @generated from protobuf field: optional string formatted_name = 18
86
+ * @generated from protobuf field: optional string formatted_name = 13
87
87
  */
88
88
  formattedName?: string;
89
89
  /**
90
90
  * Avatar URL.
91
91
  *
92
- * @generated from protobuf field: optional string avatar_url = 7
92
+ * @generated from protobuf field: optional string avatar_url = 14
93
93
  */
94
94
  avatarUrl?: string;
95
95
  /**
96
96
  * Account status (active / suspended / closed).
97
97
  *
98
- * @generated from protobuf field: sid.v1.identity.ProfileStatus status = 8
98
+ * @generated from protobuf field: sid.v1.identity.ProfileStatus status = 15
99
99
  */
100
100
  status: ProfileStatus;
101
101
  /**
102
102
  * Profile visibility (public / private).
103
103
  *
104
- * @generated from protobuf field: sid.v1.identity.ProfileVisibility visibility = 9
104
+ * @generated from protobuf field: sid.v1.identity.ProfileVisibility visibility = 16
105
105
  */
106
106
  visibility: ProfileVisibility;
107
107
  /**
108
108
  * Timestamps.
109
109
  *
110
- * @generated from protobuf field: google.protobuf.Timestamp created_at = 10
110
+ * @generated from protobuf field: google.protobuf.Timestamp created_at = 17
111
111
  */
112
112
  createdAt?: Timestamp;
113
113
  /**
114
- * @generated from protobuf field: google.protobuf.Timestamp updated_at = 11
114
+ * @generated from protobuf field: google.protobuf.Timestamp updated_at = 18
115
115
  */
116
116
  updatedAt?: Timestamp;
117
117
  /**
118
118
  * Last login.
119
119
  *
120
- * @generated from protobuf field: optional google.protobuf.Timestamp last_login_at = 12
120
+ * @generated from protobuf field: optional google.protobuf.Timestamp last_login_at = 19
121
121
  */
122
122
  lastLoginAt?: Timestamp;
123
123
  /**
124
124
  * Principals (login handles: email, phone, username, etc.).
125
125
  *
126
- * @generated from protobuf field: repeated sid.v1.identity.Principal principals = 13
126
+ * @generated from protobuf field: repeated sid.v1.identity.Principal principals = 20
127
127
  */
128
128
  principals: Principal[];
129
129
  }
@@ -138,7 +138,7 @@ export interface Principal {
138
138
  /**
139
139
  * The login handle, issued by SID when the Profile claimed it.
140
140
  *
141
- * @generated from protobuf field: sid.v1.ids.PrincipalId id = 13
141
+ * @generated from protobuf field: sid.v1.ids.PrincipalId id = 1
142
142
  */
143
143
  id?: PrincipalId;
144
144
  /**
@@ -187,16 +187,16 @@ export interface Principal {
187
187
  * spelling given; absent for other types and for a handle whose address is
188
188
  * not known.
189
189
  *
190
- * @generated from protobuf field: sid.v1.ids.ProfileEmailId source_email_id = 14
190
+ * @generated from protobuf field: sid.v1.ids.ProfileEmailId source_email_id = 9
191
191
  */
192
192
  sourceEmailId?: ProfileEmailId;
193
193
  /**
194
194
  * An email handle written before the installation's email policy
195
- * revisions, its address unknown: still reserved for the account, but no
195
+ * revisions, its address unknown: still held by the account, but no
196
196
  * sign-in, code, link or reset uses it until the owner confirms the
197
197
  * address or an administrator asserts it. Always false for other types.
198
198
  *
199
- * @generated from protobuf field: bool needs_address_confirmation = 12
199
+ * @generated from protobuf field: bool needs_address_confirmation = 10
200
200
  */
201
201
  needsAddressConfirmation: boolean;
202
202
  }
@@ -210,7 +210,7 @@ export interface ProfilePhone {
210
210
  /**
211
211
  * The phone record, issued by SID when it was added.
212
212
  *
213
- * @generated from protobuf field: sid.v1.ids.ProfilePhoneId id = 12
213
+ * @generated from protobuf field: sid.v1.ids.ProfilePhoneId id = 1
214
214
  */
215
215
  id?: ProfilePhoneId;
216
216
  /**
@@ -264,7 +264,7 @@ export interface ProfileEmail {
264
264
  /**
265
265
  * The email record, issued by SID when it was added.
266
266
  *
267
- * @generated from protobuf field: sid.v1.ids.ProfileEmailId id = 8
267
+ * @generated from protobuf field: sid.v1.ids.ProfileEmailId id = 1
268
268
  */
269
269
  id?: ProfileEmailId;
270
270
  /**
@@ -302,32 +302,32 @@ export interface Credential {
302
302
  /**
303
303
  * The credential, issued by SID when it was added.
304
304
  *
305
- * @generated from protobuf field: sid.v1.ids.CredentialId id = 10
305
+ * @generated from protobuf field: sid.v1.ids.CredentialId id = 1
306
306
  */
307
307
  id?: CredentialId;
308
308
  /**
309
- * @generated from protobuf field: sid.v1.identity.CredentialType type = 3
309
+ * @generated from protobuf field: sid.v1.identity.CredentialType type = 2
310
310
  */
311
311
  type: CredentialType;
312
312
  /**
313
313
  * Credential-specific data (opaque blob, type-dependent).
314
314
  * Not returned in ListCredentials responses — server-internal only.
315
315
  *
316
- * @generated from protobuf field: bytes data = 4
316
+ * @generated from protobuf field: bytes data = 3
317
317
  */
318
318
  data: Uint8Array;
319
319
  /**
320
320
  * Metadata.
321
321
  *
322
- * @generated from protobuf field: optional string label = 5
322
+ * @generated from protobuf field: optional string label = 4
323
323
  */
324
324
  label?: string;
325
325
  /**
326
- * @generated from protobuf field: google.protobuf.Timestamp created_at = 6
326
+ * @generated from protobuf field: google.protobuf.Timestamp created_at = 5
327
327
  */
328
328
  createdAt?: Timestamp;
329
329
  /**
330
- * @generated from protobuf field: optional google.protobuf.Timestamp last_used_at = 7
330
+ * @generated from protobuf field: optional google.protobuf.Timestamp last_used_at = 6
331
331
  */
332
332
  lastUsedAt?: Timestamp;
333
333
  /**
@@ -339,13 +339,13 @@ export interface Credential {
339
339
  info: {
340
340
  oneofKind: "webauthnInfo";
341
341
  /**
342
- * @generated from protobuf field: sid.v1.identity.WebAuthnCredentialInfo webauthn_info = 8
342
+ * @generated from protobuf field: sid.v1.identity.WebAuthnCredentialInfo webauthn_info = 7
343
343
  */
344
344
  webauthnInfo: WebAuthnCredentialInfo;
345
345
  } | {
346
346
  oneofKind: "opaqueInfo";
347
347
  /**
348
- * @generated from protobuf field: sid.v1.identity.OpaqueCredentialInfo opaque_info = 9
348
+ * @generated from protobuf field: sid.v1.identity.OpaqueCredentialInfo opaque_info = 8
349
349
  */
350
350
  opaqueInfo: OpaqueCredentialInfo;
351
351
  } | {
@@ -425,14 +425,14 @@ export interface Session {
425
425
  /**
426
426
  * The session, issued by SID when it opened.
427
427
  *
428
- * @generated from protobuf field: sid.v1.ids.SessionId id = 11
428
+ * @generated from protobuf field: sid.v1.ids.SessionId id = 1
429
429
  */
430
430
  id?: SessionId;
431
431
  /**
432
432
  * OAuth `client_id` (RFC 6749 §2.2) of the client the session was opened
433
433
  * for: the protocol's own text.
434
434
  *
435
- * @generated from protobuf field: string client_id = 3
435
+ * @generated from protobuf field: string client_id = 2
436
436
  */
437
437
  clientId: string;
438
438
  /**
@@ -440,37 +440,37 @@ export interface Session {
440
440
  * is not associated with a registered device. A revocation association
441
441
  * (removing the device ends the session), not proof of key possession.
442
442
  *
443
- * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 12
443
+ * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 3
444
444
  */
445
445
  deviceId?: DeviceId;
446
446
  /**
447
447
  * Session metadata.
448
448
  *
449
- * @generated from protobuf field: string ip_address = 5
449
+ * @generated from protobuf field: string ip_address = 4
450
450
  */
451
451
  ipAddress: string;
452
452
  /**
453
- * @generated from protobuf field: optional string user_agent = 6
453
+ * @generated from protobuf field: optional string user_agent = 5
454
454
  */
455
455
  userAgent?: string;
456
456
  /**
457
457
  * Lifecycle.
458
458
  *
459
- * @generated from protobuf field: google.protobuf.Timestamp created_at = 7
459
+ * @generated from protobuf field: google.protobuf.Timestamp created_at = 6
460
460
  */
461
461
  createdAt?: Timestamp;
462
462
  /**
463
- * @generated from protobuf field: google.protobuf.Timestamp expires_at = 8
463
+ * @generated from protobuf field: google.protobuf.Timestamp expires_at = 7
464
464
  */
465
465
  expiresAt?: Timestamp;
466
466
  /**
467
- * @generated from protobuf field: optional google.protobuf.Timestamp last_activity_at = 9
467
+ * @generated from protobuf field: optional google.protobuf.Timestamp last_activity_at = 8
468
468
  */
469
469
  lastActivityAt?: Timestamp;
470
470
  /**
471
471
  * Scopes granted.
472
472
  *
473
- * @generated from protobuf field: repeated string scopes = 10
473
+ * @generated from protobuf field: repeated string scopes = 9
474
474
  */
475
475
  scopes: string[];
476
476
  }
@@ -497,33 +497,33 @@ export interface CreateProfileRequest {
497
497
  /**
498
498
  * Phone number in E.164 format (+380501234567). Requires OTP verification after signup.
499
499
  *
500
- * @generated from protobuf field: optional string phone = 17
500
+ * @generated from protobuf field: optional string phone = 3
501
501
  */
502
502
  phone?: string;
503
503
  /**
504
504
  * Structured name components (OIDC + SCIM compliant). All optional.
505
505
  *
506
- * @generated from protobuf field: optional string given_name = 3
506
+ * @generated from protobuf field: optional string given_name = 4
507
507
  */
508
508
  givenName?: string;
509
509
  /**
510
- * @generated from protobuf field: optional string family_name = 13
510
+ * @generated from protobuf field: optional string family_name = 5
511
511
  */
512
512
  familyName?: string;
513
513
  /**
514
- * @generated from protobuf field: optional string middle_name = 14
514
+ * @generated from protobuf field: optional string middle_name = 6
515
515
  */
516
516
  middleName?: string;
517
517
  /**
518
- * @generated from protobuf field: optional string honorific_prefix = 15
518
+ * @generated from protobuf field: optional string honorific_prefix = 7
519
519
  */
520
520
  honorificPrefix?: string;
521
521
  /**
522
- * @generated from protobuf field: optional string honorific_suffix = 16
522
+ * @generated from protobuf field: optional string honorific_suffix = 8
523
523
  */
524
524
  honorificSuffix?: string;
525
525
  /**
526
- * @generated from protobuf field: sid.v1.identity.ProfileType profile_type = 4
526
+ * @generated from protobuf field: sid.v1.identity.ProfileType profile_type = 9
527
527
  */
528
528
  profileType: ProfileType;
529
529
  /**
@@ -537,7 +537,7 @@ export interface CreateProfileRequest {
537
537
  * The Profile that referred this registration, tracked for analytics;
538
538
  * absent when none did. It must name an existing Profile.
539
539
  *
540
- * @generated from protobuf field: sid.v1.ids.ProfileId referrer_id = 18
540
+ * @generated from protobuf field: sid.v1.ids.ProfileId referrer_id = 11
541
541
  */
542
542
  referrerId?: ProfileId;
543
543
  /**
@@ -595,7 +595,7 @@ export interface GetProfileRequest {
595
595
  /**
596
596
  * The Profile itself.
597
597
  *
598
- * @generated from protobuf field: sid.v1.ids.ProfileId id = 4
598
+ * @generated from protobuf field: sid.v1.ids.ProfileId id = 1
599
599
  */
600
600
  id: ProfileId;
601
601
  } | {
@@ -641,7 +641,7 @@ export interface UpdateProfileRequest {
641
641
  /**
642
642
  * The Profile to update.
643
643
  *
644
- * @generated from protobuf field: sid.v1.ids.ProfileId id = 8
644
+ * @generated from protobuf field: sid.v1.ids.ProfileId id = 1
645
645
  */
646
646
  id?: ProfileId;
647
647
  /**
@@ -649,23 +649,23 @@ export interface UpdateProfileRequest {
649
649
  */
650
650
  givenName?: string;
651
651
  /**
652
- * @generated from protobuf field: optional string family_name = 4
652
+ * @generated from protobuf field: optional string family_name = 3
653
653
  */
654
654
  familyName?: string;
655
655
  /**
656
- * @generated from protobuf field: optional string middle_name = 5
656
+ * @generated from protobuf field: optional string middle_name = 4
657
657
  */
658
658
  middleName?: string;
659
659
  /**
660
- * @generated from protobuf field: optional string honorific_prefix = 6
660
+ * @generated from protobuf field: optional string honorific_prefix = 5
661
661
  */
662
662
  honorificPrefix?: string;
663
663
  /**
664
- * @generated from protobuf field: optional string honorific_suffix = 7
664
+ * @generated from protobuf field: optional string honorific_suffix = 6
665
665
  */
666
666
  honorificSuffix?: string;
667
667
  /**
668
- * @generated from protobuf field: optional string avatar_url = 3
668
+ * @generated from protobuf field: optional string avatar_url = 7
669
669
  */
670
670
  avatarUrl?: string;
671
671
  }
@@ -685,7 +685,7 @@ export interface DeleteProfileRequest {
685
685
  /**
686
686
  * The Profile to delete.
687
687
  *
688
- * @generated from protobuf field: sid.v1.ids.ProfileId id = 2
688
+ * @generated from protobuf field: sid.v1.ids.ProfileId id = 1
689
689
  */
690
690
  id?: ProfileId;
691
691
  }
@@ -728,7 +728,7 @@ export interface AddCredentialRequest {
728
728
  * The Profile to add to; absent for the caller's own (resolved from its
729
729
  * session). Another Profile requires administrator authority.
730
730
  *
731
- * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 5
731
+ * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 1
732
732
  */
733
733
  profileId?: ProfileId;
734
734
  /**
@@ -761,7 +761,7 @@ export interface ListCredentialsRequest {
761
761
  * The Profile whose credentials to list; absent for the caller's own.
762
762
  * Another Profile requires administrator authority.
763
763
  *
764
- * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 2
764
+ * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 1
765
765
  */
766
766
  profileId?: ProfileId;
767
767
  }
@@ -781,7 +781,7 @@ export interface UpdateCredentialRequest {
781
781
  /**
782
782
  * The credential to update (`Credential.id`).
783
783
  *
784
- * @generated from protobuf field: sid.v1.ids.CredentialId credential_id = 3
784
+ * @generated from protobuf field: sid.v1.ids.CredentialId credential_id = 1
785
785
  */
786
786
  credentialId?: CredentialId;
787
787
  /**
@@ -808,7 +808,7 @@ export interface RevokeCredentialRequest {
808
808
  /**
809
809
  * The credential to revoke (`Credential.id`).
810
810
  *
811
- * @generated from protobuf field: sid.v1.ids.CredentialId credential_id = 2
811
+ * @generated from protobuf field: sid.v1.ids.CredentialId credential_id = 1
812
812
  */
813
813
  credentialId?: CredentialId;
814
814
  }
@@ -825,7 +825,7 @@ export interface ListSessionsRequest {
825
825
  * The Profile whose sessions to list; absent for the caller's own.
826
826
  * Another Profile requires administrator authority.
827
827
  *
828
- * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 2
828
+ * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 1
829
829
  */
830
830
  profileId?: ProfileId;
831
831
  }
@@ -845,7 +845,7 @@ export interface RevokeSessionRequest {
845
845
  /**
846
846
  * The session to end (`Session.id`).
847
847
  *
848
- * @generated from protobuf field: sid.v1.ids.SessionId session_id = 2
848
+ * @generated from protobuf field: sid.v1.ids.SessionId session_id = 1
849
849
  */
850
850
  sessionId?: SessionId;
851
851
  }
@@ -862,7 +862,7 @@ export interface AddPrincipalRequest {
862
862
  * The Profile to add to; absent for the caller's own. Another Profile
863
863
  * requires administrator authority.
864
864
  *
865
- * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 4
865
+ * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 1
866
866
  */
867
867
  profileId?: ProfileId;
868
868
  /**
@@ -891,7 +891,7 @@ export interface ListPrincipalsRequest {
891
891
  * The Profile whose principals to list; absent for the caller's own.
892
892
  * Another Profile requires administrator authority.
893
893
  *
894
- * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 2
894
+ * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 1
895
895
  */
896
896
  profileId?: ProfileId;
897
897
  }
@@ -911,7 +911,7 @@ export interface RemovePrincipalRequest {
911
911
  /**
912
912
  * The principal to remove (`Principal.id`).
913
913
  *
914
- * @generated from protobuf field: sid.v1.ids.PrincipalId principal_id = 2
914
+ * @generated from protobuf field: sid.v1.ids.PrincipalId principal_id = 1
915
915
  */
916
916
  principalId?: PrincipalId;
917
917
  }
@@ -980,7 +980,7 @@ export interface RevokeProfileRequest {
980
980
  /**
981
981
  * The Profile to revoke, named explicitly even by its owner.
982
982
  *
983
- * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 3
983
+ * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 1
984
984
  */
985
985
  profileId?: ProfileId;
986
986
  /**
@@ -1021,11 +1021,11 @@ export interface RequestClosureRequest {
1021
1021
  */
1022
1022
  export interface RequestClosureResponse {
1023
1023
  /**
1024
- * @generated from protobuf field: sid.v1.identity.ClosureMode mode = 2
1024
+ * @generated from protobuf field: sid.v1.identity.ClosureMode mode = 1
1025
1025
  */
1026
1026
  mode: ClosureMode;
1027
1027
  /**
1028
- * @generated from protobuf field: google.protobuf.Timestamp grace_period_end = 3
1028
+ * @generated from protobuf field: google.protobuf.Timestamp grace_period_end = 2
1029
1029
  */
1030
1030
  gracePeriodEnd?: Timestamp;
1031
1031
  }
@@ -1089,7 +1089,7 @@ export interface PrepareExportRequest {
1089
1089
  */
1090
1090
  export interface PrepareExportResponse {
1091
1091
  /**
1092
- * @generated from protobuf field: google.protobuf.Timestamp estimated_ready = 2
1092
+ * @generated from protobuf field: google.protobuf.Timestamp estimated_ready = 1
1093
1093
  */
1094
1094
  estimatedReady?: Timestamp;
1095
1095
  }
@@ -1118,7 +1118,7 @@ export interface GetExportStatusResponse {
1118
1118
  * SHA-256 digest (FIPS 180-4) of the export archive, the 32 raw bytes.
1119
1119
  * Set when status >= READY.
1120
1120
  *
1121
- * @generated from protobuf field: optional bytes checksum_sha256 = 6
1121
+ * @generated from protobuf field: optional bytes checksum_sha256 = 3
1122
1122
  */
1123
1123
  checksumSha256?: Uint8Array;
1124
1124
  /**
@@ -1174,34 +1174,34 @@ export interface Device {
1174
1174
  * attestation messages. Knowing it grants no authority and does not prove
1175
1175
  * key possession.
1176
1176
  *
1177
- * @generated from protobuf field: sid.v1.ids.DeviceId id = 12
1177
+ * @generated from protobuf field: sid.v1.ids.DeviceId id = 1
1178
1178
  */
1179
1179
  id?: DeviceId;
1180
1180
  /**
1181
1181
  * User-given label for the device (e.g. "Work laptop"). Set by the Profile
1182
1182
  * owner via UpdateDevice; unset until the user names the device.
1183
1183
  *
1184
- * @generated from protobuf field: optional string display_name = 3
1184
+ * @generated from protobuf field: optional string display_name = 2
1185
1185
  */
1186
1186
  displayName?: string;
1187
1187
  /**
1188
1188
  * Device form factor, derived by SID from registration context.
1189
1189
  *
1190
- * @generated from protobuf field: sid.v1.identity.DeviceType device_type = 4
1190
+ * @generated from protobuf field: sid.v1.identity.DeviceType device_type = 3
1191
1191
  */
1192
1192
  deviceType: DeviceType;
1193
1193
  /**
1194
1194
  * Operating system name and version as reported by the client at
1195
1195
  * registration/login. Self-asserted, informational only.
1196
1196
  *
1197
- * @generated from protobuf field: optional string os_info = 5
1197
+ * @generated from protobuf field: optional string os_info = 4
1198
1198
  */
1199
1199
  osInfo?: string;
1200
1200
  /**
1201
1201
  * Assurance level computed by SID from trust decision, attestation and
1202
1202
  * policy; the input to device-based access policy.
1203
1203
  *
1204
- * @generated from protobuf field: sid.v1.identity.DeviceAssurance assurance = 6
1204
+ * @generated from protobuf field: sid.v1.identity.DeviceAssurance assurance = 5
1205
1205
  */
1206
1206
  assurance: DeviceAssurance;
1207
1207
  /**
@@ -1209,33 +1209,33 @@ export interface Device {
1209
1209
  * RevokeDeviceTrust). A user label, not attestation of hardware or of any
1210
1210
  * verification performed on the device.
1211
1211
  *
1212
- * @generated from protobuf field: bool trusted = 7
1212
+ * @generated from protobuf field: bool trusted = 6
1213
1213
  */
1214
1214
  trusted: boolean;
1215
1215
  /**
1216
1216
  * Whether a hardware-backed device key with verified platform attestation is
1217
1217
  * registered in sid-attestation. A protected software key does not set this.
1218
1218
  *
1219
- * @generated from protobuf field: bool hardware_attested = 8
1219
+ * @generated from protobuf field: bool hardware_attested = 7
1220
1220
  */
1221
1221
  hardwareAttested: boolean;
1222
1222
  /**
1223
1223
  * Country/region of the most recent access, derived by SID from the source
1224
1224
  * IP. The exact IP address is never stored here.
1225
1225
  *
1226
- * @generated from protobuf field: optional string last_ip_geo = 9
1226
+ * @generated from protobuf field: optional string last_ip_geo = 8
1227
1227
  */
1228
1228
  lastIpGeo?: string;
1229
1229
  /**
1230
1230
  * When SID first registered the device.
1231
1231
  *
1232
- * @generated from protobuf field: google.protobuf.Timestamp first_seen_at = 10
1232
+ * @generated from protobuf field: google.protobuf.Timestamp first_seen_at = 9
1233
1233
  */
1234
1234
  firstSeenAt?: Timestamp;
1235
1235
  /**
1236
1236
  * Most recent authentication from the device; updated by SID on each auth.
1237
1237
  *
1238
- * @generated from protobuf field: google.protobuf.Timestamp last_seen_at = 11
1238
+ * @generated from protobuf field: google.protobuf.Timestamp last_seen_at = 10
1239
1239
  */
1240
1240
  lastSeenAt?: Timestamp;
1241
1241
  }
@@ -1247,7 +1247,7 @@ export interface ListDevicesRequest {
1247
1247
  * The Profile whose devices to list; absent for the caller's own. Another
1248
1248
  * Profile requires administrator authority.
1249
1249
  *
1250
- * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 2
1250
+ * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 1
1251
1251
  */
1252
1252
  profileId?: ProfileId;
1253
1253
  }
@@ -1270,7 +1270,7 @@ export interface GetDeviceRequest {
1270
1270
  * Device to fetch (`Device.id`). Must belong to the caller's authorized
1271
1271
  * Profile scope.
1272
1272
  *
1273
- * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 2
1273
+ * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 1
1274
1274
  */
1275
1275
  deviceId?: DeviceId;
1276
1276
  }
@@ -1282,7 +1282,7 @@ export interface UpdateDeviceRequest {
1282
1282
  * Device to update (`Device.id`). Must belong to the caller's authorized
1283
1283
  * Profile scope.
1284
1284
  *
1285
- * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 3
1285
+ * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 1
1286
1286
  */
1287
1287
  deviceId?: DeviceId;
1288
1288
  /**
@@ -1300,7 +1300,7 @@ export interface RemoveDeviceRequest {
1300
1300
  * Device to remove (`Device.id`). Removal kills the device's sessions and
1301
1301
  * revokes its keys in sid-attestation.
1302
1302
  *
1303
- * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 2
1303
+ * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 1
1304
1304
  */
1305
1305
  deviceId?: DeviceId;
1306
1306
  }
@@ -1311,7 +1311,7 @@ export interface TrustDeviceRequest {
1311
1311
  /**
1312
1312
  * Device the Profile owner marks as trusted (`Device.id`).
1313
1313
  *
1314
- * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 2
1314
+ * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 1
1315
1315
  */
1316
1316
  deviceId?: DeviceId;
1317
1317
  }
@@ -1322,7 +1322,7 @@ export interface RevokeDeviceTrustRequest {
1322
1322
  /**
1323
1323
  * Device whose explicit trust is withdrawn (`Device.id`).
1324
1324
  *
1325
- * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 2
1325
+ * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 1
1326
1326
  */
1327
1327
  deviceId?: DeviceId;
1328
1328
  }