@structured-id/proto 0.18.0 → 0.20.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 (168) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/generated/sid/v1/account/account.client.d.ts +14 -2
  3. package/dist/generated/sid/v1/account/account.client.js +7 -1
  4. package/dist/generated/sid/v1/account/account.client.js.map +1 -1
  5. package/dist/generated/sid/v1/account/account.js +28 -28
  6. package/dist/generated/sid/v1/account/account.js.map +1 -1
  7. package/dist/generated/sid/v1/admin/admin.client.d.ts +2 -0
  8. package/dist/generated/sid/v1/admin/admin.client.js +1 -0
  9. package/dist/generated/sid/v1/admin/admin.client.js.map +1 -1
  10. package/dist/generated/sid/v1/admin/admin.js +7 -7
  11. package/dist/generated/sid/v1/admin/admin.js.map +1 -1
  12. package/dist/generated/sid/v1/admin/admin_roles.js +11 -11
  13. package/dist/generated/sid/v1/admin/admin_roles.js.map +1 -1
  14. package/dist/generated/sid/v1/admin/analytics.js +5 -5
  15. package/dist/generated/sid/v1/admin/analytics.js.map +1 -1
  16. package/dist/generated/sid/v1/admin/branding.js +8 -8
  17. package/dist/generated/sid/v1/admin/branding.js.map +1 -1
  18. package/dist/generated/sid/v1/admin/enrollment.client.js +3 -0
  19. package/dist/generated/sid/v1/admin/enrollment.client.js.map +1 -1
  20. package/dist/generated/sid/v1/admin/enrollment.js +10 -10
  21. package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
  22. package/dist/generated/sid/v1/admin/events.js +10 -10
  23. package/dist/generated/sid/v1/admin/events.js.map +1 -1
  24. package/dist/generated/sid/v1/admin/flow.js +8 -8
  25. package/dist/generated/sid/v1/admin/flow.js.map +1 -1
  26. package/dist/generated/sid/v1/admin/keys.js +6 -6
  27. package/dist/generated/sid/v1/admin/keys.js.map +1 -1
  28. package/dist/generated/sid/v1/admin/login_experience.js +7 -7
  29. package/dist/generated/sid/v1/admin/login_experience.js.map +1 -1
  30. package/dist/generated/sid/v1/admin/migration.js +7 -7
  31. package/dist/generated/sid/v1/admin/migration.js.map +1 -1
  32. package/dist/generated/sid/v1/admin/notifications.client.d.ts +6 -0
  33. package/dist/generated/sid/v1/admin/notifications.client.js +3 -0
  34. package/dist/generated/sid/v1/admin/notifications.client.js.map +1 -1
  35. package/dist/generated/sid/v1/admin/notifications.js +6 -6
  36. package/dist/generated/sid/v1/admin/notifications.js.map +1 -1
  37. package/dist/generated/sid/v1/admin/operations.js +14 -14
  38. package/dist/generated/sid/v1/admin/operations.js.map +1 -1
  39. package/dist/generated/sid/v1/admin/organizations.js +2 -2
  40. package/dist/generated/sid/v1/admin/organizations.js.map +1 -1
  41. package/dist/generated/sid/v1/admin/provisioning.js +10 -10
  42. package/dist/generated/sid/v1/admin/provisioning.js.map +1 -1
  43. package/dist/generated/sid/v1/admin/scopes.js +11 -11
  44. package/dist/generated/sid/v1/admin/scopes.js.map +1 -1
  45. package/dist/generated/sid/v1/admin/security.js +25 -25
  46. package/dist/generated/sid/v1/admin/security.js.map +1 -1
  47. package/dist/generated/sid/v1/admin/sessions.js +5 -5
  48. package/dist/generated/sid/v1/admin/sessions.js.map +1 -1
  49. package/dist/generated/sid/v1/admin/settings.d.ts +269 -12
  50. package/dist/generated/sid/v1/admin/settings.js +315 -53
  51. package/dist/generated/sid/v1/admin/settings.js.map +1 -1
  52. package/dist/generated/sid/v1/admin/user_profile.js +2 -2
  53. package/dist/generated/sid/v1/admin/user_profile.js.map +1 -1
  54. package/dist/generated/sid/v1/admin/webhooks.js +16 -16
  55. package/dist/generated/sid/v1/admin/webhooks.js.map +1 -1
  56. package/dist/generated/sid/v1/attestation/attestation.client.d.ts +12 -0
  57. package/dist/generated/sid/v1/attestation/attestation.client.js +6 -0
  58. package/dist/generated/sid/v1/attestation/attestation.client.js.map +1 -1
  59. package/dist/generated/sid/v1/attestation/attestation.js +6 -6
  60. package/dist/generated/sid/v1/attestation/attestation.js.map +1 -1
  61. package/dist/generated/sid/v1/authn/application_session.js +5 -5
  62. package/dist/generated/sid/v1/authn/application_session.js.map +1 -1
  63. package/dist/generated/sid/v1/authn/auth.client.d.ts +124 -10
  64. package/dist/generated/sid/v1/authn/auth.client.js +99 -26
  65. package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
  66. package/dist/generated/sid/v1/authn/auth.d.ts +306 -13
  67. package/dist/generated/sid/v1/authn/auth.js +597 -59
  68. package/dist/generated/sid/v1/authn/auth.js.map +1 -1
  69. package/dist/generated/sid/v1/authn/auth_flow.client.d.ts +140 -0
  70. package/dist/generated/sid/v1/authn/auth_flow.client.js +81 -0
  71. package/dist/generated/sid/v1/authn/auth_flow.client.js.map +1 -0
  72. package/dist/generated/sid/v1/authn/auth_flow.d.ts +418 -0
  73. package/dist/generated/sid/v1/authn/auth_flow.js +623 -0
  74. package/dist/generated/sid/v1/authn/auth_flow.js.map +1 -0
  75. package/dist/generated/sid/v1/authn/flows.js +26 -26
  76. package/dist/generated/sid/v1/authn/flows.js.map +1 -1
  77. package/dist/generated/sid/v1/authn/issuer.client.d.ts +8 -2
  78. package/dist/generated/sid/v1/authn/issuer.client.js +4 -1
  79. package/dist/generated/sid/v1/authn/issuer.client.js.map +1 -1
  80. package/dist/generated/sid/v1/authn/issuer.d.ts +13 -6
  81. package/dist/generated/sid/v1/authn/issuer.js +19 -19
  82. package/dist/generated/sid/v1/authn/issuer.js.map +1 -1
  83. package/dist/generated/sid/v1/authn/password_history.client.d.ts +2 -2
  84. package/dist/generated/sid/v1/authn/password_history.client.js +1 -1
  85. package/dist/generated/sid/v1/authn/password_history.client.js.map +1 -1
  86. package/dist/generated/sid/v1/authn/password_history.d.ts +15 -0
  87. package/dist/generated/sid/v1/authn/password_history.js +11 -3
  88. package/dist/generated/sid/v1/authn/password_history.js.map +1 -1
  89. package/dist/generated/sid/v1/authn/system_integration.js +1 -1
  90. package/dist/generated/sid/v1/authn/system_integration.js.map +1 -1
  91. package/dist/generated/sid/v1/authz/authz.client.d.ts +60 -0
  92. package/dist/generated/sid/v1/authz/authz.client.js +49 -17
  93. package/dist/generated/sid/v1/authz/authz.client.js.map +1 -1
  94. package/dist/generated/sid/v1/authz/authz.d.ts +195 -2
  95. package/dist/generated/sid/v1/authz/authz.js +322 -29
  96. package/dist/generated/sid/v1/authz/authz.js.map +1 -1
  97. package/dist/generated/sid/v1/authz/forward_auth.js +1 -1
  98. package/dist/generated/sid/v1/authz/forward_auth.js.map +1 -1
  99. package/dist/generated/sid/v1/authz/governance.js +4 -4
  100. package/dist/generated/sid/v1/authz/governance.js.map +1 -1
  101. package/dist/generated/sid/v1/common/access.d.ts +219 -0
  102. package/dist/generated/sid/v1/common/access.js +285 -0
  103. package/dist/generated/sid/v1/common/access.js.map +1 -0
  104. package/dist/generated/sid/v1/common/claims.d.ts +138 -0
  105. package/dist/generated/sid/v1/common/claims.js +168 -0
  106. package/dist/generated/sid/v1/common/claims.js.map +1 -0
  107. package/dist/generated/sid/v1/common/errors.d.ts +45 -0
  108. package/dist/generated/sid/v1/common/errors.js +45 -0
  109. package/dist/generated/sid/v1/common/errors.js.map +1 -1
  110. package/dist/generated/sid/v1/common/maintenance.d.ts +50 -0
  111. package/dist/generated/sid/v1/common/maintenance.js +56 -0
  112. package/dist/generated/sid/v1/common/maintenance.js.map +1 -0
  113. package/dist/generated/sid/v1/common/operation.js +1 -1
  114. package/dist/generated/sid/v1/common/operation.js.map +1 -1
  115. package/dist/generated/sid/v1/events/event_stream.js +2 -2
  116. package/dist/generated/sid/v1/events/event_stream.js.map +1 -1
  117. package/dist/generated/sid/v1/federation/entry.client.d.ts +190 -0
  118. package/dist/generated/sid/v1/federation/entry.client.js +123 -0
  119. package/dist/generated/sid/v1/federation/entry.client.js.map +1 -0
  120. package/dist/generated/sid/v1/federation/entry.d.ts +490 -0
  121. package/dist/generated/sid/v1/federation/entry.js +795 -0
  122. package/dist/generated/sid/v1/federation/entry.js.map +1 -0
  123. package/dist/generated/sid/v1/federation/platform_ca.client.d.ts +77 -0
  124. package/dist/generated/sid/v1/federation/platform_ca.client.js +47 -0
  125. package/dist/generated/sid/v1/federation/platform_ca.client.js.map +1 -0
  126. package/dist/generated/sid/v1/federation/platform_ca.d.ts +186 -0
  127. package/dist/generated/sid/v1/federation/platform_ca.js +285 -0
  128. package/dist/generated/sid/v1/federation/platform_ca.js.map +1 -0
  129. package/dist/generated/sid/v1/federation/site.client.d.ts +99 -0
  130. package/dist/generated/sid/v1/federation/site.client.js +62 -0
  131. package/dist/generated/sid/v1/federation/site.client.js.map +1 -0
  132. package/dist/generated/sid/v1/federation/site.d.ts +219 -0
  133. package/dist/generated/sid/v1/federation/site.js +416 -0
  134. package/dist/generated/sid/v1/federation/site.js.map +1 -0
  135. package/dist/generated/sid/v1/federation/site_admission.client.d.ts +71 -0
  136. package/dist/generated/sid/v1/federation/site_admission.client.js +42 -0
  137. package/dist/generated/sid/v1/federation/site_admission.client.js.map +1 -0
  138. package/dist/generated/sid/v1/federation/site_admission.d.ts +36 -0
  139. package/dist/generated/sid/v1/federation/site_admission.js +64 -0
  140. package/dist/generated/sid/v1/federation/site_admission.js.map +1 -0
  141. package/dist/generated/sid/v1/federation/upstream.js +8 -8
  142. package/dist/generated/sid/v1/federation/upstream.js.map +1 -1
  143. package/dist/generated/sid/v1/identity/identity.client.d.ts +6 -0
  144. package/dist/generated/sid/v1/identity/identity.client.js +3 -0
  145. package/dist/generated/sid/v1/identity/identity.client.js.map +1 -1
  146. package/dist/generated/sid/v1/identity/identity.d.ts +19 -1
  147. package/dist/generated/sid/v1/identity/identity.js +49 -31
  148. package/dist/generated/sid/v1/identity/identity.js.map +1 -1
  149. package/dist/generated/sid/v1/ids/ids.d.ts +2 -0
  150. package/dist/generated/sid/v1/ids/ids.js +1 -0
  151. package/dist/generated/sid/v1/ids/ids.js.map +1 -1
  152. package/dist/generated/sid/v1/machine/machine_user.js +14 -14
  153. package/dist/generated/sid/v1/machine/machine_user.js.map +1 -1
  154. package/dist/generated/sid/v1/machine/pat.js +7 -7
  155. package/dist/generated/sid/v1/machine/pat.js.map +1 -1
  156. package/dist/generated/sid/v1/projects/projects.d.ts +78 -6
  157. package/dist/generated/sid/v1/projects/projects.js +107 -29
  158. package/dist/generated/sid/v1/projects/projects.js.map +1 -1
  159. package/dist/generated/sid/v1/scim/scim.js +28 -28
  160. package/dist/generated/sid/v1/scim/scim.js.map +1 -1
  161. package/dist/generated/sid/v1/test/test.client.d.ts +2 -0
  162. package/dist/generated/sid/v1/test/test.client.js +1 -0
  163. package/dist/generated/sid/v1/test/test.client.js.map +1 -1
  164. package/dist/generated/sid/v1/test/test.js +12 -12
  165. package/dist/generated/sid/v1/test/test.js.map +1 -1
  166. package/dist/generated/sid/v1/ui/public_settings.js +2 -2
  167. package/dist/generated/sid/v1/ui/public_settings.js.map +1 -1
  168. package/package.json +7 -7
@@ -13,6 +13,12 @@ import type { StartDeviceEnrollmentRequest } from "./attestation.js";
13
13
  import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
14
14
  import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
15
15
  /**
16
+ * A receiver of the installation's account API: each call carries an account
17
+ * API token obtained for a user; a reading method also admits a service's own
18
+ * token. A device's owner acts on its keys by this service's own rule; anyone
19
+ * else is decided by the issuer for that device. Key changes need a user's
20
+ * sign-in. The token's scopes bound the owner as anyone.
21
+ *
16
22
  * @generated from protobuf service sid.v1.attestation.AttestationService
17
23
  */
18
24
  export interface IAttestationServiceClient {
@@ -68,6 +74,12 @@ export interface IAttestationServiceClient {
68
74
  listDeviceAttestations(input: ListDeviceAttestationsRequest, options?: RpcOptions): UnaryCall<ListDeviceAttestationsRequest, ListDeviceAttestationsResponse>;
69
75
  }
70
76
  /**
77
+ * A receiver of the installation's account API: each call carries an account
78
+ * API token obtained for a user; a reading method also admits a service's own
79
+ * token. A device's owner acts on its keys by this service's own rule; anyone
80
+ * else is decided by the issuer for that device. Key changes need a user's
81
+ * sign-in. The token's scopes bound the owner as anyone.
82
+ *
71
83
  * @generated from protobuf service sid.v1.attestation.AttestationService
72
84
  */
73
85
  export declare class AttestationServiceClient implements IAttestationServiceClient, ServiceInfo {
@@ -21,6 +21,12 @@ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
21
21
  // proofs are verified against the ceremony the server keeps, never against
22
22
  // values the request repeats.
23
23
  /**
24
+ * A receiver of the installation's account API: each call carries an account
25
+ * API token obtained for a user; a reading method also admits a service's own
26
+ * token. A device's owner acts on its keys by this service's own rule; anyone
27
+ * else is decided by the issuer for that device. Key changes need a user's
28
+ * sign-in. The token's scopes bound the owner as anyone.
29
+ *
24
30
  * @generated from protobuf service sid.v1.attestation.AttestationService
25
31
  */
26
32
  export class AttestationServiceClient {
@@ -1 +1 @@
1
- {"version":3,"file":"attestation.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/attestation/attestation.client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAStD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAiF1D,iCAAiC;AACjC,GAAG;AACH,2EAA2E;AAC3E,2EAA2E;AAC3E,wEAAwE;AACxE,4EAA4E;AAC5E,4DAA4D;AAC5D,GAAG;AACH,iEAAiE;AACjE,wDAAwD;AACxD,wDAAwD;AACxD,2DAA2D;AAC3D,6EAA6E;AAC7E,GAAG;AACH,oEAAoE;AACpE,0EAA0E;AAC1E,2EAA2E;AAC3E,wEAAwE;AACxE,2EAA2E;AAC3E,8BAA8B;AAE9B;;GAEG;AACH,MAAM,OAAO,wBAAwB;IAIJ;IAH7B,QAAQ,GAAG,kBAAkB,CAAC,QAAQ,CAAC;IACvC,OAAO,GAAG,kBAAkB,CAAC,OAAO,CAAC;IACrC,OAAO,GAAG,kBAAkB,CAAC,OAAO,CAAC;IACrC,YAA6B,UAAwB;QAAxB,eAAU,GAAV,UAAU,CAAc;IACrD,CAAC;IACD;;;;;;;;;OASG;IACH,qBAAqB,CAAC,KAAmC,EAAE,OAAoB;QAC3E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AM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAgC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACvG,CAAC;IACD;;;;OAIG;IACH,sBAAsB,CAAC,KAAoC,EAAE,OAAoB;QAC7E,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAgE,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACvI,CAAC;CACJ","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/attestation/attestation.proto\" (package \"sid.v1.attestation\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { AttestationService } from \"./attestation.js\";\nimport type { ListDeviceAttestationsResponse } from \"./attestation.js\";\nimport type { ListDeviceAttestationsRequest } from \"./attestation.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { RevokeDeviceKeyRequest } from \"./attestation.js\";\nimport type { RotateDeviceKeyRequest } from \"./attestation.js\";\nimport type { GetDeviceAttestationRequest } from \"./attestation.js\";\nimport type { DeviceAttestation } from \"./attestation.js\";\nimport type { FinishDeviceEnrollmentRequest } from \"./attestation.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { DeviceEnrollmentChallenge } from \"./attestation.js\";\nimport type { StartDeviceEnrollmentRequest } from \"./attestation.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n// ── Attestation Service RPCs ──\n// \n// Device-key proofs. Every proof is a compact JWS (RFC 7515) signed by the\n// key it speaks for, with the protected header `typ` \"sid-device-key+jwt\",\n// an asymmetric `alg` (ES256, ES384, PS256, PS384, PS512, RS256, RS384,\n// RS512 or EdDSA) and `jwk`, the signer's public key (public members only).\n// Its claims bind the proof to one ceremony and one effect:\n// \n// chl the ceremony's challenge, base64url without padding\n// purpose \"enroll\", \"rotate-new\" or \"rotate-current\"\n// iss the issuer URL the ceremony was started at\n// dev the device, its DeviceId as a hyphenated UUID\n// key the RFC 7638 SHA-256 thumbprint (base64url) of the proposed key\n// \n// An enrollment carries one proof by the proposed key (\"enroll\"). A\n// rotation carries two: one by the proposed key (\"rotate-new\") and one by\n// the device's current key (\"rotate-current\"), whose `key` claim names the\n// proposed key, so the current key approves that exact replacement. The\n// proofs are verified against the ceremony the server keeps, never against\n// values the request repeats.\n\n/**\n * @generated from protobuf service sid.v1.attestation.AttestationService\n */\nexport interface IAttestationServiceClient {\n /**\n * Start a device-key ceremony: enrollment of a new device or of an\n * existing device without a live key, or rotation of an enrolled device's\n * key. Requires authorized bootstrap or sufficient current authentication\n * of the device's owner. For a new device SID allocates its DeviceId in\n * the pending ceremony; nothing is enrolled, trusted or authorized until\n * the ceremony finishes. Each call issues a new single-use challenge.\n *\n * @generated from protobuf rpc: StartDeviceEnrollment\n */\n startDeviceEnrollment(input: StartDeviceEnrollmentRequest, options?: RpcOptions): UnaryCall<StartDeviceEnrollmentRequest, DeviceEnrollmentChallenge>;\n /**\n * Finish an enrollment ceremony: the proposed key proves possession, and\n * the device, its key binding, the consumed ceremony, the audit record and\n * the outcome commit together. A retry of the same operation answers with\n * the recorded outcome; a ceremony that expired, was finished or whose\n * device was removed meanwhile completes nothing.\n *\n * @generated from protobuf rpc: FinishDeviceEnrollment\n */\n finishDeviceEnrollment(input: FinishDeviceEnrollmentRequest, options?: RpcOptions): UnaryCall<FinishDeviceEnrollmentRequest, DeviceAttestation>;\n /**\n * Get attestation details for a device.\n *\n * @generated from protobuf rpc: GetDeviceAttestation\n */\n getDeviceAttestation(input: GetDeviceAttestationRequest, options?: RpcOptions): UnaryCall<GetDeviceAttestationRequest, DeviceAttestation>;\n /**\n * Finish a rotation ceremony: the proposed key proves possession, the\n * current key approves that exact replacement, and the old binding is\n * retired and the new one committed together with the consumed ceremony,\n * the audit record and the outcome. A lost key is not rotated: it is\n * replaced through sufficient authentication or recovery and a new\n * enrollment.\n *\n * @generated from protobuf rpc: RotateDeviceKey\n */\n rotateDeviceKey(input: RotateDeviceKeyRequest, options?: RpcOptions): UnaryCall<RotateDeviceKeyRequest, DeviceAttestation>;\n /**\n * Revoke a device key (device removed or compromised).\n *\n * @generated from protobuf rpc: RevokeDeviceKey\n */\n revokeDeviceKey(input: RevokeDeviceKeyRequest, options?: RpcOptions): UnaryCall<RevokeDeviceKeyRequest, Empty>;\n /**\n * List all attestations for a profile.\n *\n * @generated from protobuf rpc: ListDeviceAttestations\n */\n listDeviceAttestations(input: ListDeviceAttestationsRequest, options?: RpcOptions): UnaryCall<ListDeviceAttestationsRequest, ListDeviceAttestationsResponse>;\n}\n// ── Attestation Service RPCs ──\n// \n// Device-key proofs. Every proof is a compact JWS (RFC 7515) signed by the\n// key it speaks for, with the protected header `typ` \"sid-device-key+jwt\",\n// an asymmetric `alg` (ES256, ES384, PS256, PS384, PS512, RS256, RS384,\n// RS512 or EdDSA) and `jwk`, the signer's public key (public members only).\n// Its claims bind the proof to one ceremony and one effect:\n// \n// chl the ceremony's challenge, base64url without padding\n// purpose \"enroll\", \"rotate-new\" or \"rotate-current\"\n// iss the issuer URL the ceremony was started at\n// dev the device, its DeviceId as a hyphenated UUID\n// key the RFC 7638 SHA-256 thumbprint (base64url) of the proposed key\n// \n// An enrollment carries one proof by the proposed key (\"enroll\"). A\n// rotation carries two: one by the proposed key (\"rotate-new\") and one by\n// the device's current key (\"rotate-current\"), whose `key` claim names the\n// proposed key, so the current key approves that exact replacement. The\n// proofs are verified against the ceremony the server keeps, never against\n// values the request repeats.\n\n/**\n * @generated from protobuf service sid.v1.attestation.AttestationService\n */\nexport class AttestationServiceClient implements IAttestationServiceClient, ServiceInfo {\n typeName = AttestationService.typeName;\n methods = AttestationService.methods;\n options = AttestationService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Start a device-key ceremony: enrollment of a new device or of an\n * existing device without a live key, or rotation of an enrolled device's\n * key. Requires authorized bootstrap or sufficient current authentication\n * of the device's owner. For a new device SID allocates its DeviceId in\n * the pending ceremony; nothing is enrolled, trusted or authorized until\n * the ceremony finishes. Each call issues a new single-use challenge.\n *\n * @generated from protobuf rpc: StartDeviceEnrollment\n */\n startDeviceEnrollment(input: StartDeviceEnrollmentRequest, options?: RpcOptions): UnaryCall<StartDeviceEnrollmentRequest, DeviceEnrollmentChallenge> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<StartDeviceEnrollmentRequest, DeviceEnrollmentChallenge>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Finish an enrollment ceremony: the proposed key proves possession, and\n * the device, its key binding, the consumed ceremony, the audit record and\n * the outcome commit together. A retry of the same operation answers with\n * the recorded outcome; a ceremony that expired, was finished or whose\n * device was removed meanwhile completes nothing.\n *\n * @generated from protobuf rpc: FinishDeviceEnrollment\n */\n finishDeviceEnrollment(input: FinishDeviceEnrollmentRequest, options?: RpcOptions): UnaryCall<FinishDeviceEnrollmentRequest, DeviceAttestation> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<FinishDeviceEnrollmentRequest, DeviceAttestation>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Get attestation details for a device.\n *\n * @generated from protobuf rpc: GetDeviceAttestation\n */\n getDeviceAttestation(input: GetDeviceAttestationRequest, options?: RpcOptions): UnaryCall<GetDeviceAttestationRequest, DeviceAttestation> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetDeviceAttestationRequest, DeviceAttestation>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Finish a rotation ceremony: the proposed key proves possession, the\n * current key approves that exact replacement, and the old binding is\n * retired and the new one committed together with the consumed ceremony,\n * the audit record and the outcome. A lost key is not rotated: it is\n * replaced through sufficient authentication or recovery and a new\n * enrollment.\n *\n * @generated from protobuf rpc: RotateDeviceKey\n */\n rotateDeviceKey(input: RotateDeviceKeyRequest, options?: RpcOptions): UnaryCall<RotateDeviceKeyRequest, DeviceAttestation> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<RotateDeviceKeyRequest, DeviceAttestation>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Revoke a device key (device removed or compromised).\n *\n * @generated from protobuf rpc: RevokeDeviceKey\n */\n revokeDeviceKey(input: RevokeDeviceKeyRequest, options?: RpcOptions): UnaryCall<RevokeDeviceKeyRequest, Empty> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<RevokeDeviceKeyRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * List all attestations for a profile.\n *\n * @generated from protobuf rpc: ListDeviceAttestations\n */\n listDeviceAttestations(input: ListDeviceAttestationsRequest, options?: RpcOptions): UnaryCall<ListDeviceAttestationsRequest, ListDeviceAttestationsResponse> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListDeviceAttestationsRequest, ListDeviceAttestationsResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
1
+ {"version":3,"file":"attestation.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/attestation/attestation.client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAStD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAuF1D,iCAAiC;AACjC,GAAG;AACH,2EAA2E;AAC3E,2EAA2E;AAC3E,w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IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAiD,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACxH,CAAC;IACD;;;;;;;;;OASG;IACH,eAAe,CAAC,KAA6B,EAAE,OAAoB;QAC/D,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAA4C,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACnH,CAAC;IACD;;;;OAIG;IACH,eAAe,CAAC,KAA6B,EAAE,OAAoB;QAC/D,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAgC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACvG,CAAC;IACD;;;;OAIG;IACH,sBAAsB,CAAC,KAAoC,EAAE,OAAoB;QAC7E,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAgE,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACvI,CAAC;CACJ","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/attestation/attestation.proto\" (package \"sid.v1.attestation\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { AttestationService } from \"./attestation.js\";\nimport type { ListDeviceAttestationsResponse } from \"./attestation.js\";\nimport type { ListDeviceAttestationsRequest } from \"./attestation.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { RevokeDeviceKeyRequest } from \"./attestation.js\";\nimport type { RotateDeviceKeyRequest } from \"./attestation.js\";\nimport type { GetDeviceAttestationRequest } from \"./attestation.js\";\nimport type { DeviceAttestation } from \"./attestation.js\";\nimport type { FinishDeviceEnrollmentRequest } from \"./attestation.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { DeviceEnrollmentChallenge } from \"./attestation.js\";\nimport type { StartDeviceEnrollmentRequest } from \"./attestation.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n// ── Attestation Service RPCs ──\n// \n// Device-key proofs. Every proof is a compact JWS (RFC 7515) signed by the\n// key it speaks for, with the protected header `typ` \"sid-device-key+jwt\",\n// an asymmetric `alg` (ES256, ES384, PS256, PS384, PS512, RS256, RS384,\n// RS512 or EdDSA) and `jwk`, the signer's public key (public members only).\n// Its claims bind the proof to one ceremony and one effect:\n// \n// chl the ceremony's challenge, base64url without padding\n// purpose \"enroll\", \"rotate-new\" or \"rotate-current\"\n// iss the issuer URL the ceremony was started at\n// dev the device, its DeviceId as a hyphenated UUID\n// key the RFC 7638 SHA-256 thumbprint (base64url) of the proposed key\n// \n// An enrollment carries one proof by the proposed key (\"enroll\"). A\n// rotation carries two: one by the proposed key (\"rotate-new\") and one by\n// the device's current key (\"rotate-current\"), whose `key` claim names the\n// proposed key, so the current key approves that exact replacement. The\n// proofs are verified against the ceremony the server keeps, never against\n// values the request repeats.\n\n/**\n * A receiver of the installation's account API: each call carries an account\n * API token obtained for a user; a reading method also admits a service's own\n * token. A device's owner acts on its keys by this service's own rule; anyone\n * else is decided by the issuer for that device. Key changes need a user's\n * sign-in. The token's scopes bound the owner as anyone.\n *\n * @generated from protobuf service sid.v1.attestation.AttestationService\n */\nexport interface IAttestationServiceClient {\n /**\n * Start a device-key ceremony: enrollment of a new device or of an\n * existing device without a live key, or rotation of an enrolled device's\n * key. Requires authorized bootstrap or sufficient current authentication\n * of the device's owner. For a new device SID allocates its DeviceId in\n * the pending ceremony; nothing is enrolled, trusted or authorized until\n * the ceremony finishes. Each call issues a new single-use challenge.\n *\n * @generated from protobuf rpc: StartDeviceEnrollment\n */\n startDeviceEnrollment(input: StartDeviceEnrollmentRequest, options?: RpcOptions): UnaryCall<StartDeviceEnrollmentRequest, DeviceEnrollmentChallenge>;\n /**\n * Finish an enrollment ceremony: the proposed key proves possession, and\n * the device, its key binding, the consumed ceremony, the audit record and\n * the outcome commit together. A retry of the same operation answers with\n * the recorded outcome; a ceremony that expired, was finished or whose\n * device was removed meanwhile completes nothing.\n *\n * @generated from protobuf rpc: FinishDeviceEnrollment\n */\n finishDeviceEnrollment(input: FinishDeviceEnrollmentRequest, options?: RpcOptions): UnaryCall<FinishDeviceEnrollmentRequest, DeviceAttestation>;\n /**\n * Get attestation details for a device.\n *\n * @generated from protobuf rpc: GetDeviceAttestation\n */\n getDeviceAttestation(input: GetDeviceAttestationRequest, options?: RpcOptions): UnaryCall<GetDeviceAttestationRequest, DeviceAttestation>;\n /**\n * Finish a rotation ceremony: the proposed key proves possession, the\n * current key approves that exact replacement, and the old binding is\n * retired and the new one committed together with the consumed ceremony,\n * the audit record and the outcome. A lost key is not rotated: it is\n * replaced through sufficient authentication or recovery and a new\n * enrollment.\n *\n * @generated from protobuf rpc: RotateDeviceKey\n */\n rotateDeviceKey(input: RotateDeviceKeyRequest, options?: RpcOptions): UnaryCall<RotateDeviceKeyRequest, DeviceAttestation>;\n /**\n * Revoke a device key (device removed or compromised).\n *\n * @generated from protobuf rpc: RevokeDeviceKey\n */\n revokeDeviceKey(input: RevokeDeviceKeyRequest, options?: RpcOptions): UnaryCall<RevokeDeviceKeyRequest, Empty>;\n /**\n * List all attestations for a profile.\n *\n * @generated from protobuf rpc: ListDeviceAttestations\n */\n listDeviceAttestations(input: ListDeviceAttestationsRequest, options?: RpcOptions): UnaryCall<ListDeviceAttestationsRequest, ListDeviceAttestationsResponse>;\n}\n// ── Attestation Service RPCs ──\n// \n// Device-key proofs. Every proof is a compact JWS (RFC 7515) signed by the\n// key it speaks for, with the protected header `typ` \"sid-device-key+jwt\",\n// an asymmetric `alg` (ES256, ES384, PS256, PS384, PS512, RS256, RS384,\n// RS512 or EdDSA) and `jwk`, the signer's public key (public members only).\n// Its claims bind the proof to one ceremony and one effect:\n// \n// chl the ceremony's challenge, base64url without padding\n// purpose \"enroll\", \"rotate-new\" or \"rotate-current\"\n// iss the issuer URL the ceremony was started at\n// dev the device, its DeviceId as a hyphenated UUID\n// key the RFC 7638 SHA-256 thumbprint (base64url) of the proposed key\n// \n// An enrollment carries one proof by the proposed key (\"enroll\"). A\n// rotation carries two: one by the proposed key (\"rotate-new\") and one by\n// the device's current key (\"rotate-current\"), whose `key` claim names the\n// proposed key, so the current key approves that exact replacement. The\n// proofs are verified against the ceremony the server keeps, never against\n// values the request repeats.\n\n/**\n * A receiver of the installation's account API: each call carries an account\n * API token obtained for a user; a reading method also admits a service's own\n * token. A device's owner acts on its keys by this service's own rule; anyone\n * else is decided by the issuer for that device. Key changes need a user's\n * sign-in. The token's scopes bound the owner as anyone.\n *\n * @generated from protobuf service sid.v1.attestation.AttestationService\n */\nexport class AttestationServiceClient implements IAttestationServiceClient, ServiceInfo {\n typeName = AttestationService.typeName;\n methods = AttestationService.methods;\n options = AttestationService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Start a device-key ceremony: enrollment of a new device or of an\n * existing device without a live key, or rotation of an enrolled device's\n * key. Requires authorized bootstrap or sufficient current authentication\n * of the device's owner. For a new device SID allocates its DeviceId in\n * the pending ceremony; nothing is enrolled, trusted or authorized until\n * the ceremony finishes. Each call issues a new single-use challenge.\n *\n * @generated from protobuf rpc: StartDeviceEnrollment\n */\n startDeviceEnrollment(input: StartDeviceEnrollmentRequest, options?: RpcOptions): UnaryCall<StartDeviceEnrollmentRequest, DeviceEnrollmentChallenge> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<StartDeviceEnrollmentRequest, DeviceEnrollmentChallenge>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Finish an enrollment ceremony: the proposed key proves possession, and\n * the device, its key binding, the consumed ceremony, the audit record and\n * the outcome commit together. A retry of the same operation answers with\n * the recorded outcome; a ceremony that expired, was finished or whose\n * device was removed meanwhile completes nothing.\n *\n * @generated from protobuf rpc: FinishDeviceEnrollment\n */\n finishDeviceEnrollment(input: FinishDeviceEnrollmentRequest, options?: RpcOptions): UnaryCall<FinishDeviceEnrollmentRequest, DeviceAttestation> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<FinishDeviceEnrollmentRequest, DeviceAttestation>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Get attestation details for a device.\n *\n * @generated from protobuf rpc: GetDeviceAttestation\n */\n getDeviceAttestation(input: GetDeviceAttestationRequest, options?: RpcOptions): UnaryCall<GetDeviceAttestationRequest, DeviceAttestation> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetDeviceAttestationRequest, DeviceAttestation>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Finish a rotation ceremony: the proposed key proves possession, the\n * current key approves that exact replacement, and the old binding is\n * retired and the new one committed together with the consumed ceremony,\n * the audit record and the outcome. A lost key is not rotated: it is\n * replaced through sufficient authentication or recovery and a new\n * enrollment.\n *\n * @generated from protobuf rpc: RotateDeviceKey\n */\n rotateDeviceKey(input: RotateDeviceKeyRequest, options?: RpcOptions): UnaryCall<RotateDeviceKeyRequest, DeviceAttestation> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<RotateDeviceKeyRequest, DeviceAttestation>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Revoke a device key (device removed or compromised).\n *\n * @generated from protobuf rpc: RevokeDeviceKey\n */\n revokeDeviceKey(input: RevokeDeviceKeyRequest, options?: RpcOptions): UnaryCall<RevokeDeviceKeyRequest, Empty> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<RevokeDeviceKeyRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * List all attestations for a profile.\n *\n * @generated from protobuf rpc: ListDeviceAttestations\n */\n listDeviceAttestations(input: ListDeviceAttestationsRequest, options?: RpcOptions): UnaryCall<ListDeviceAttestationsRequest, ListDeviceAttestationsResponse> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListDeviceAttestationsRequest, ListDeviceAttestationsResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
@@ -830,11 +830,11 @@ export const ListDeviceAttestationsResponse = new ListDeviceAttestationsResponse
830
830
  * @generated ServiceType for protobuf service sid.v1.attestation.AttestationService
831
831
  */
832
832
  export const AttestationService = new ServiceType("sid.v1.attestation.AttestationService", [
833
- { name: "StartDeviceEnrollment", options: { "google.api.http": { post: "/v1/attestation/enrollments", body: "*" }, "sid.v1.common.retry": { ceremony: "each start opens its own pending ceremony with its own single-use challenge; nothing is enrolled before its finish" } }, I: StartDeviceEnrollmentRequest, O: DeviceEnrollmentChallenge },
834
- { name: "FinishDeviceEnrollment", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/attestation/enrollments/{enrollment_id.value}/finish", body: "*" }, "sid.v1.common.retry": { keyed: true } }, I: FinishDeviceEnrollmentRequest, O: DeviceAttestation },
835
- { name: "GetDeviceAttestation", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/attestation/devices/{device_id.value}" } }, I: GetDeviceAttestationRequest, O: DeviceAttestation },
836
- { name: "RotateDeviceKey", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/attestation/enrollments/{enrollment_id.value}/rotate", body: "*" }, "sid.v1.common.retry": { keyed: true } }, I: RotateDeviceKeyRequest, O: DeviceAttestation },
837
- { name: "RevokeDeviceKey", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/attestation/devices/{device_id.value}/revoke", body: "*" }, "sid.v1.common.retry": { keyed: true } }, I: RevokeDeviceKeyRequest, O: Empty },
838
- { name: "ListDeviceAttestations", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/attestation/profiles/{profile_id.value}/devices" } }, I: ListDeviceAttestationsRequest, O: ListDeviceAttestationsResponse }
833
+ { name: "StartDeviceEnrollment", options: { "google.api.http": { post: "/v1/attestation/enrollments", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"], permission: { action: "attestation.device.change", target: "PERMISSION_TARGET_OWNED_OBJECT" } } }, "sid.v1.common.retry": { ceremony: "each start opens its own pending ceremony with its own single-use challenge; nothing is enrolled before its finish" } }, I: StartDeviceEnrollmentRequest, O: DeviceEnrollmentChallenge },
834
+ { name: "FinishDeviceEnrollment", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/attestation/enrollments/{enrollment_id.value}/finish", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"], permission: { action: "attestation.device.change", target: "PERMISSION_TARGET_OWNED_OBJECT" } } }, "sid.v1.common.retry": { keyed: true } }, I: FinishDeviceEnrollmentRequest, O: DeviceAttestation },
835
+ { name: "GetDeviceAttestation", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/attestation/devices/{device_id.value}" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_ACCOUNT_API", "CREDENTIAL_KIND_CLIENT"], scopes: ["account.read"], permission: { action: "attestation.device.read", target: "PERMISSION_TARGET_OWNED_OBJECT" } } } }, I: GetDeviceAttestationRequest, O: DeviceAttestation },
836
+ { name: "RotateDeviceKey", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/attestation/enrollments/{enrollment_id.value}/rotate", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"], permission: { action: "attestation.device.change", target: "PERMISSION_TARGET_OWNED_OBJECT" } } }, "sid.v1.common.retry": { keyed: true } }, I: RotateDeviceKeyRequest, O: DeviceAttestation },
837
+ { name: "RevokeDeviceKey", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/attestation/devices/{device_id.value}/revoke", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"], permission: { action: "attestation.device.change", target: "PERMISSION_TARGET_OWNED_OBJECT" } } }, "sid.v1.common.retry": { keyed: true } }, I: RevokeDeviceKeyRequest, O: Empty },
838
+ { name: "ListDeviceAttestations", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/attestation/profiles/{profile_id.value}/devices" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_ACCOUNT_API", "CREDENTIAL_KIND_CLIENT"], scopes: ["account.read"], permission: { action: "attestation.profile.read", target: "PERMISSION_TARGET_OWNED_OBJECT" } } } }, I: ListDeviceAttestationsRequest, O: ListDeviceAttestationsResponse }
839
839
  ]);
840
840
  //# sourceMappingURL=attestation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"attestation.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/attestation/attestation.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,qHAAqH;AACrH,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD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AE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,kDAAkD,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,qBAAqB,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,sBAAsB,EAAE,CAAC,EAAE,KAAK,EAAE;IAC5O,EAAE,IAAI,EAAE,wBAAwB,EAAE,WAAW,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,GAAG,EAAE,qDAAqD,EAAE,EAAE,EAAE,CAAC,EAAE,6BAA6B,EAAE,CAAC,EAAE,8BAA8B,EAAE;CAC1O,CAAC,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/attestation/attestation.proto\" (package \"sid.v1.attestation\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { Empty } from \"../../../google/protobuf/empty.js\";\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { DeviceEnrollmentId } from \"../ids/ids.js\";\nimport { DeviceType } from \"../identity/identity.js\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.js\";\nimport { ProfileId } from \"../ids/ids.js\";\nimport { DeviceId } from \"../ids/ids.js\";\nimport { DeviceAttestationId } from \"../ids/ids.js\";\n/**\n * Device attestation record: the key bound to a device and the evidence\n * recorded with it.\n *\n * @generated from protobuf message sid.v1.attestation.DeviceAttestation\n */\nexport interface DeviceAttestation {\n /**\n * This attestation record, issued by SID when the key is bound.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceAttestationId id = 1\n */\n id?: DeviceAttestationId;\n /**\n * The device the key is bound to (`Device.id` in sid-identity).\n *\n * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 2\n */\n deviceId?: DeviceId;\n /**\n * The Profile that owns the device, resolved by SID at enrollment from the\n * authorized context, never from a client field.\n *\n * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 3\n */\n profileId?: ProfileId;\n /**\n * Attestation format the device presented.\n *\n * @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 4\n */\n format: AttestationFormat;\n /**\n * Key storage the device reported; self-asserted unless `status` is\n * VERIFIED.\n *\n * @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 5\n */\n keyStorage: KeyStorageType;\n /**\n * Verification status of the attestation. A key whose possession was\n * proven but whose attestation was not verified is UNVERIFIED.\n *\n * @generated from protobuf field: sid.v1.attestation.AttestationStatus status = 6\n */\n status: AttestationStatus;\n /**\n * The device's public key as a JSON Web Key (RFC 7517) holding public\n * members only, UTF-8 JSON. Its RFC 7638 thumbprint names the key in the\n * enrollment proofs.\n *\n * @generated from protobuf field: string public_jwk = 7\n */\n publicJwk: string;\n /**\n * Raw attestation blob in its platform format, as presented.\n *\n * @generated from protobuf field: optional bytes attestation_object = 8\n */\n attestationObject?: Uint8Array;\n /**\n * Leaf certificate of the attestation chain, as presented.\n *\n * @generated from protobuf field: optional bytes attestation_certificate = 9\n */\n attestationCertificate?: Uint8Array;\n /**\n * Authenticator Attestation GUID (WebAuthn), as presented.\n *\n * @generated from protobuf field: optional string aaguid = 10\n */\n aaguid?: string;\n /**\n * When the key was bound.\n *\n * @generated from protobuf field: google.protobuf.Timestamp created_at = 11\n */\n createdAt?: Timestamp;\n /**\n * When the record last changed (rotation, revocation).\n *\n * @generated from protobuf field: google.protobuf.Timestamp updated_at = 12\n */\n updatedAt?: Timestamp;\n /**\n * When the key was revoked; absent while it is live.\n *\n * @generated from protobuf field: optional google.protobuf.Timestamp revoked_at = 13\n */\n revokedAt?: Timestamp;\n}\n// ── Request/Response Messages ──\n\n/**\n * @generated from protobuf message sid.v1.attestation.StartDeviceEnrollmentRequest\n */\nexport interface StartDeviceEnrollmentRequest {\n /**\n * What the ceremony does.\n *\n * @generated from protobuf field: sid.v1.attestation.DeviceEnrollmentPurpose purpose = 1\n */\n purpose: DeviceEnrollmentPurpose;\n /**\n * The device the ceremony targets: required for a rotation, and for the\n * enrollment of a device that already has metadata; absent to enroll a\n * new device, whose id SID allocates. A target to authorize, never\n * evidence of identity or authority.\n *\n * @generated from protobuf field: optional sid.v1.ids.DeviceId device_id = 2\n */\n deviceId?: DeviceId;\n /**\n * Form factor of a new device, as the client describes it. Descriptive\n * only; ignored for an existing device.\n *\n * @generated from protobuf field: sid.v1.identity.DeviceType device_type = 3\n */\n deviceType: DeviceType;\n /**\n * Operating system name and version of a new device, as the client\n * reports it. Self-asserted, informational only.\n *\n * @generated from protobuf field: optional string os_info = 4\n */\n osInfo?: string;\n /**\n * User-given label of a new device.\n *\n * @generated from protobuf field: optional string display_name = 5\n */\n displayName?: string;\n}\n/**\n * The challenge a ceremony's proofs answer.\n *\n * @generated from protobuf message sid.v1.attestation.DeviceEnrollmentChallenge\n */\nexport interface DeviceEnrollmentChallenge {\n /**\n * The ceremony, named by the finishing call.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceEnrollmentId enrollment_id = 1\n */\n enrollmentId?: DeviceEnrollmentId;\n /**\n * The device the ceremony binds a key to: the one allocated for a new\n * device or the requested one. The proofs name it in their `dev` claim.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 2\n */\n deviceId?: DeviceId;\n /**\n * Fresh random challenge (32 bytes) the proofs carry in their `chl`\n * claim. Single-use, bound to this ceremony only.\n *\n * @generated from protobuf field: bytes challenge = 3\n */\n challenge: Uint8Array;\n /**\n * When the ceremony expires; a later finish completes nothing.\n *\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 4\n */\n expiresAt?: Timestamp;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.FinishDeviceEnrollmentRequest\n */\nexport interface FinishDeviceEnrollmentRequest {\n /**\n * The ceremony StartDeviceEnrollment issued, of purpose ENROLL.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceEnrollmentId enrollment_id = 1\n */\n enrollmentId?: DeviceEnrollmentId;\n /**\n * The proposed key's proof of possession, purpose \"enroll\"; its `jwk`\n * header is the key bound to the device.\n *\n * @generated from protobuf field: string proof = 2\n */\n proof: string;\n /**\n * Attestation format of the optional attestation below.\n *\n * @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 3\n */\n format: AttestationFormat;\n /**\n * Key storage the device reports; recorded as reported, raising no\n * assurance without verified attestation.\n *\n * @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 4\n */\n keyStorage: KeyStorageType;\n /**\n * Raw attestation blob in its platform format.\n *\n * @generated from protobuf field: optional bytes attestation_object = 5\n */\n attestationObject?: Uint8Array;\n /**\n * Leaf certificate of the attestation chain.\n *\n * @generated from protobuf field: optional bytes attestation_certificate = 6\n */\n attestationCertificate?: Uint8Array;\n /**\n * Authenticator Attestation GUID (WebAuthn).\n *\n * @generated from protobuf field: optional string aaguid = 7\n */\n aaguid?: string;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.GetDeviceAttestationRequest\n */\nexport interface GetDeviceAttestationRequest {\n /**\n * Device to fetch the attestation of.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 1\n */\n deviceId?: DeviceId;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.RotateDeviceKeyRequest\n */\nexport interface RotateDeviceKeyRequest {\n /**\n * The ceremony StartDeviceEnrollment issued, of purpose ROTATE.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceEnrollmentId enrollment_id = 1\n */\n enrollmentId?: DeviceEnrollmentId;\n /**\n * The proposed key's proof of possession, purpose \"rotate-new\".\n *\n * @generated from protobuf field: string new_key_proof = 2\n */\n newKeyProof: string;\n /**\n * The current key's approval of this replacement, purpose\n * \"rotate-current\", naming the proposed key in its `key` claim.\n *\n * @generated from protobuf field: string current_key_proof = 3\n */\n currentKeyProof: string;\n /**\n * Attestation format of the new key's optional attestation below.\n *\n * @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 4\n */\n format: AttestationFormat;\n /**\n * Key storage the device reports for the new key; recorded as reported,\n * raising no assurance without verified attestation.\n *\n * @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 5\n */\n keyStorage: KeyStorageType;\n /**\n * Attestation of the new key, in its platform format.\n *\n * @generated from protobuf field: optional bytes attestation_object = 6\n */\n attestationObject?: Uint8Array;\n /**\n * Leaf certificate of the new key's attestation chain.\n *\n * @generated from protobuf field: optional bytes attestation_certificate = 7\n */\n attestationCertificate?: Uint8Array;\n /**\n * Authenticator Attestation GUID (WebAuthn) of the new key.\n *\n * @generated from protobuf field: optional string aaguid = 8\n */\n aaguid?: string;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.RevokeDeviceKeyRequest\n */\nexport interface RevokeDeviceKeyRequest {\n /**\n * Device whose key is revoked.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 1\n */\n deviceId?: DeviceId;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.ListDeviceAttestationsRequest\n */\nexport interface ListDeviceAttestationsRequest {\n /**\n * Profile whose device keys are listed.\n *\n * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 1\n */\n profileId?: ProfileId;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.ListDeviceAttestationsResponse\n */\nexport interface ListDeviceAttestationsResponse {\n /**\n * The Profile's device key attestations, live and revoked.\n *\n * @generated from protobuf field: repeated sid.v1.attestation.DeviceAttestation attestations = 1\n */\n attestations: DeviceAttestation[];\n}\n/**\n * Attestation format reported by the device.\n *\n * @generated from protobuf enum sid.v1.attestation.AttestationFormat\n */\nexport enum AttestationFormat {\n /**\n * @generated from protobuf enum value: ATTESTATION_FORMAT_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * No attestation provided\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_NONE = 1;\n */\n NONE = 1,\n /**\n * FIDO2 packed attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_PACKED = 2;\n */\n PACKED = 2,\n /**\n * TPM 2.0 attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_TPM = 3;\n */\n TPM = 3,\n /**\n * Android Keystore attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_ANDROID_KEY = 4;\n */\n ANDROID_KEY = 4,\n /**\n * Apple App Attest / Secure Enclave\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_APPLE = 5;\n */\n APPLE = 5,\n /**\n * FIDO U2F attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_FIDO_U2F = 6;\n */\n FIDO_U2F = 6\n}\n/**\n * Type of hardware key storage the device reports. Self-asserted: it raises\n * no assurance unless verified attestation establishes it.\n *\n * @generated from protobuf enum sid.v1.attestation.KeyStorageType\n */\nexport enum KeyStorageType {\n /**\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Software-only key (no hardware backing)\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_SOFTWARE = 1;\n */\n SOFTWARE = 1,\n /**\n * Trusted Platform Module\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_TPM = 2;\n */\n TPM = 2,\n /**\n * Apple Secure Enclave\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_SECURE_ENCLAVE = 3;\n */\n SECURE_ENCLAVE = 3,\n /**\n * Android StrongBox\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_STRONGBOX = 4;\n */\n STRONGBOX = 4,\n /**\n * ARM TrustZone or similar TEE\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_TEE = 5;\n */\n TEE = 5\n}\n/**\n * Attestation verification status.\n *\n * @generated from protobuf enum sid.v1.attestation.AttestationStatus\n */\nexport enum AttestationStatus {\n /**\n * @generated from protobuf enum value: ATTESTATION_STATUS_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Received, not yet verified\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_PENDING = 1;\n */\n PENDING = 1,\n /**\n * Attestation chain verified\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_VERIFIED = 2;\n */\n VERIFIED = 2,\n /**\n * Stored; the server does not verify chains\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_UNVERIFIED = 3;\n */\n UNVERIFIED = 3,\n /**\n * Verification failed\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_REJECTED = 4;\n */\n REJECTED = 4,\n /**\n * Key has been revoked\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_REVOKED = 5;\n */\n REVOKED = 5\n}\n/**\n * What a device-key enrollment ceremony does. A proof made for one purpose\n * is refused for the other.\n *\n * @generated from protobuf enum sid.v1.attestation.DeviceEnrollmentPurpose\n */\nexport enum DeviceEnrollmentPurpose {\n /**\n * @generated from protobuf enum value: DEVICE_ENROLLMENT_PURPOSE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Bind the first key of a new device, or of a device that has metadata\n * and no live key.\n *\n * @generated from protobuf enum value: DEVICE_ENROLLMENT_PURPOSE_ENROLL = 1;\n */\n ENROLL = 1,\n /**\n * Replace the live key of an enrolled device with a new one.\n *\n * @generated from protobuf enum value: DEVICE_ENROLLMENT_PURPOSE_ROTATE = 2;\n */\n ROTATE = 2\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass DeviceAttestation$Type extends MessageType<DeviceAttestation> {\n constructor() {\n super(\"sid.v1.attestation.DeviceAttestation\", [\n { no: 1, name: \"id\", kind: \"message\", T: () => DeviceAttestationId },\n { no: 2, name: \"device_id\", kind: \"message\", T: () => DeviceId },\n { no: 3, name: \"profile_id\", kind: \"message\", T: () => ProfileId },\n { no: 4, name: \"format\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationFormat\", AttestationFormat, \"ATTESTATION_FORMAT_\"] },\n { no: 5, name: \"key_storage\", kind: \"enum\", T: () => [\"sid.v1.attestation.KeyStorageType\", KeyStorageType, \"KEY_STORAGE_TYPE_\"] },\n { no: 6, name: \"status\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationStatus\", AttestationStatus, \"ATTESTATION_STATUS_\"] },\n { no: 7, name: \"public_jwk\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 8, name: \"attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 9, name: \"attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 10, name: \"aaguid\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 11, name: \"created_at\", kind: \"message\", T: () => Timestamp },\n { no: 12, name: \"updated_at\", kind: \"message\", T: () => Timestamp },\n { no: 13, name: \"revoked_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<DeviceAttestation>): DeviceAttestation {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.format = 0;\n message.keyStorage = 0;\n message.status = 0;\n message.publicJwk = \"\";\n if (value !== undefined)\n reflectionMergePartial<DeviceAttestation>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceAttestation): DeviceAttestation {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.DeviceAttestationId id */ 1:\n message.id = DeviceAttestationId.internalBinaryRead(reader, reader.uint32(), options, message.id);\n break;\n case /* sid.v1.ids.DeviceId device_id */ 2:\n message.deviceId = DeviceId.internalBinaryRead(reader, reader.uint32(), options, message.deviceId);\n break;\n case /* sid.v1.ids.ProfileId profile_id */ 3:\n message.profileId = ProfileId.internalBinaryRead(reader, reader.uint32(), options, message.profileId);\n break;\n case /* sid.v1.attestation.AttestationFormat format */ 4:\n message.format = reader.int32();\n break;\n case /* sid.v1.attestation.KeyStorageType key_storage */ 5:\n message.keyStorage = reader.int32();\n break;\n case /* sid.v1.attestation.AttestationStatus status */ 6:\n message.status = reader.int32();\n break;\n case /* string public_jwk */ 7:\n message.publicJwk = reader.string();\n break;\n case /* optional bytes attestation_object */ 8:\n message.attestationObject = reader.bytes();\n break;\n case /* optional bytes attestation_certificate */ 9:\n message.attestationCertificate = reader.bytes();\n break;\n case /* optional string aaguid */ 10:\n message.aaguid = reader.string();\n break;\n case /* google.protobuf.Timestamp created_at */ 11:\n message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);\n break;\n case /* google.protobuf.Timestamp updated_at */ 12:\n message.updatedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.updatedAt);\n break;\n case /* optional google.protobuf.Timestamp revoked_at */ 13:\n message.revokedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.revokedAt);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: DeviceAttestation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceAttestationId id = 1; */\n if (message.id)\n DeviceAttestationId.internalBinaryWrite(message.id, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.ids.DeviceId device_id = 2; */\n if (message.deviceId)\n DeviceId.internalBinaryWrite(message.deviceId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.ids.ProfileId profile_id = 3; */\n if (message.profileId)\n ProfileId.internalBinaryWrite(message.profileId, writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.attestation.AttestationFormat format = 4; */\n if (message.format !== 0)\n writer.tag(4, WireType.Varint).int32(message.format);\n /* sid.v1.attestation.KeyStorageType key_storage = 5; */\n if (message.keyStorage !== 0)\n writer.tag(5, WireType.Varint).int32(message.keyStorage);\n /* sid.v1.attestation.AttestationStatus status = 6; */\n if (message.status !== 0)\n writer.tag(6, WireType.Varint).int32(message.status);\n /* string public_jwk = 7; */\n if (message.publicJwk !== \"\")\n writer.tag(7, WireType.LengthDelimited).string(message.publicJwk);\n /* optional bytes attestation_object = 8; */\n if (message.attestationObject !== undefined)\n writer.tag(8, WireType.LengthDelimited).bytes(message.attestationObject);\n /* optional bytes attestation_certificate = 9; */\n if (message.attestationCertificate !== undefined)\n writer.tag(9, WireType.LengthDelimited).bytes(message.attestationCertificate);\n /* optional string aaguid = 10; */\n if (message.aaguid !== undefined)\n writer.tag(10, WireType.LengthDelimited).string(message.aaguid);\n /* google.protobuf.Timestamp created_at = 11; */\n if (message.createdAt)\n Timestamp.internalBinaryWrite(message.createdAt, writer.tag(11, WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.Timestamp updated_at = 12; */\n if (message.updatedAt)\n Timestamp.internalBinaryWrite(message.updatedAt, writer.tag(12, WireType.LengthDelimited).fork(), options).join();\n /* optional google.protobuf.Timestamp revoked_at = 13; */\n if (message.revokedAt)\n Timestamp.internalBinaryWrite(message.revokedAt, writer.tag(13, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.DeviceAttestation\n */\nexport const DeviceAttestation = new DeviceAttestation$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StartDeviceEnrollmentRequest$Type extends MessageType<StartDeviceEnrollmentRequest> {\n constructor() {\n super(\"sid.v1.attestation.StartDeviceEnrollmentRequest\", [\n { no: 1, name: \"purpose\", kind: \"enum\", T: () => [\"sid.v1.attestation.DeviceEnrollmentPurpose\", DeviceEnrollmentPurpose, \"DEVICE_ENROLLMENT_PURPOSE_\"] },\n { no: 2, name: \"device_id\", kind: \"message\", T: () => DeviceId },\n { no: 3, name: \"device_type\", kind: \"enum\", T: () => [\"sid.v1.identity.DeviceType\", DeviceType, \"DEVICE_TYPE_\"] },\n { no: 4, name: \"os_info\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"display_name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<StartDeviceEnrollmentRequest>): StartDeviceEnrollmentRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.purpose = 0;\n message.deviceType = 0;\n if (value !== undefined)\n reflectionMergePartial<StartDeviceEnrollmentRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartDeviceEnrollmentRequest): StartDeviceEnrollmentRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.attestation.DeviceEnrollmentPurpose purpose */ 1:\n message.purpose = reader.int32();\n break;\n case /* optional sid.v1.ids.DeviceId device_id */ 2:\n message.deviceId = DeviceId.internalBinaryRead(reader, reader.uint32(), options, message.deviceId);\n break;\n case /* sid.v1.identity.DeviceType device_type */ 3:\n message.deviceType = reader.int32();\n break;\n case /* optional string os_info */ 4:\n message.osInfo = reader.string();\n break;\n case /* optional string display_name */ 5:\n message.displayName = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: StartDeviceEnrollmentRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.attestation.DeviceEnrollmentPurpose purpose = 1; */\n if (message.purpose !== 0)\n writer.tag(1, WireType.Varint).int32(message.purpose);\n /* optional sid.v1.ids.DeviceId device_id = 2; */\n if (message.deviceId)\n DeviceId.internalBinaryWrite(message.deviceId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.identity.DeviceType device_type = 3; */\n if (message.deviceType !== 0)\n writer.tag(3, WireType.Varint).int32(message.deviceType);\n /* optional string os_info = 4; */\n if (message.osInfo !== undefined)\n writer.tag(4, WireType.LengthDelimited).string(message.osInfo);\n /* optional string display_name = 5; */\n if (message.displayName !== undefined)\n writer.tag(5, WireType.LengthDelimited).string(message.displayName);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.StartDeviceEnrollmentRequest\n */\nexport const StartDeviceEnrollmentRequest = new StartDeviceEnrollmentRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DeviceEnrollmentChallenge$Type extends MessageType<DeviceEnrollmentChallenge> {\n constructor() {\n super(\"sid.v1.attestation.DeviceEnrollmentChallenge\", [\n { no: 1, name: \"enrollment_id\", kind: \"message\", T: () => DeviceEnrollmentId },\n { no: 2, name: \"device_id\", kind: \"message\", T: () => DeviceId },\n { no: 3, name: \"challenge\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 4, name: \"expires_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<DeviceEnrollmentChallenge>): DeviceEnrollmentChallenge {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.challenge = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<DeviceEnrollmentChallenge>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceEnrollmentChallenge): DeviceEnrollmentChallenge {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.DeviceEnrollmentId enrollment_id */ 1:\n message.enrollmentId = DeviceEnrollmentId.internalBinaryRead(reader, reader.uint32(), options, message.enrollmentId);\n break;\n case /* sid.v1.ids.DeviceId device_id */ 2:\n message.deviceId = DeviceId.internalBinaryRead(reader, reader.uint32(), options, message.deviceId);\n break;\n case /* bytes challenge */ 3:\n message.challenge = reader.bytes();\n break;\n case /* google.protobuf.Timestamp expires_at */ 4:\n message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: DeviceEnrollmentChallenge, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceEnrollmentId enrollment_id = 1; */\n if (message.enrollmentId)\n DeviceEnrollmentId.internalBinaryWrite(message.enrollmentId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.ids.DeviceId device_id = 2; */\n if (message.deviceId)\n DeviceId.internalBinaryWrite(message.deviceId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n /* bytes challenge = 3; */\n if (message.challenge.length)\n writer.tag(3, WireType.LengthDelimited).bytes(message.challenge);\n /* google.protobuf.Timestamp expires_at = 4; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(4, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.DeviceEnrollmentChallenge\n */\nexport const DeviceEnrollmentChallenge = new DeviceEnrollmentChallenge$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass FinishDeviceEnrollmentRequest$Type extends MessageType<FinishDeviceEnrollmentRequest> {\n constructor() {\n super(\"sid.v1.attestation.FinishDeviceEnrollmentRequest\", [\n { no: 1, name: \"enrollment_id\", kind: \"message\", T: () => DeviceEnrollmentId },\n { no: 2, name: \"proof\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"format\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationFormat\", AttestationFormat, \"ATTESTATION_FORMAT_\"] },\n { no: 4, name: \"key_storage\", kind: \"enum\", T: () => [\"sid.v1.attestation.KeyStorageType\", KeyStorageType, \"KEY_STORAGE_TYPE_\"] },\n { no: 5, name: \"attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 6, name: \"attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 7, name: \"aaguid\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<FinishDeviceEnrollmentRequest>): FinishDeviceEnrollmentRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.proof = \"\";\n message.format = 0;\n message.keyStorage = 0;\n if (value !== undefined)\n reflectionMergePartial<FinishDeviceEnrollmentRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FinishDeviceEnrollmentRequest): FinishDeviceEnrollmentRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.DeviceEnrollmentId enrollment_id */ 1:\n message.enrollmentId = DeviceEnrollmentId.internalBinaryRead(reader, reader.uint32(), options, message.enrollmentId);\n break;\n case /* string proof */ 2:\n message.proof = reader.string();\n break;\n case /* sid.v1.attestation.AttestationFormat format */ 3:\n message.format = reader.int32();\n break;\n case /* sid.v1.attestation.KeyStorageType key_storage */ 4:\n message.keyStorage = reader.int32();\n break;\n case /* optional bytes attestation_object */ 5:\n message.attestationObject = reader.bytes();\n break;\n case /* optional bytes attestation_certificate */ 6:\n message.attestationCertificate = reader.bytes();\n break;\n case /* optional string aaguid */ 7:\n message.aaguid = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: FinishDeviceEnrollmentRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceEnrollmentId enrollment_id = 1; */\n if (message.enrollmentId)\n DeviceEnrollmentId.internalBinaryWrite(message.enrollmentId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* string proof = 2; */\n if (message.proof !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.proof);\n /* sid.v1.attestation.AttestationFormat format = 3; */\n if (message.format !== 0)\n writer.tag(3, WireType.Varint).int32(message.format);\n /* sid.v1.attestation.KeyStorageType key_storage = 4; */\n if (message.keyStorage !== 0)\n writer.tag(4, WireType.Varint).int32(message.keyStorage);\n /* optional bytes attestation_object = 5; */\n if (message.attestationObject !== undefined)\n writer.tag(5, WireType.LengthDelimited).bytes(message.attestationObject);\n /* optional bytes attestation_certificate = 6; */\n if (message.attestationCertificate !== undefined)\n writer.tag(6, WireType.LengthDelimited).bytes(message.attestationCertificate);\n /* optional string aaguid = 7; */\n if (message.aaguid !== undefined)\n writer.tag(7, WireType.LengthDelimited).string(message.aaguid);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.FinishDeviceEnrollmentRequest\n */\nexport const FinishDeviceEnrollmentRequest = new FinishDeviceEnrollmentRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDeviceAttestationRequest$Type extends MessageType<GetDeviceAttestationRequest> {\n constructor() {\n super(\"sid.v1.attestation.GetDeviceAttestationRequest\", [\n { no: 1, name: \"device_id\", kind: \"message\", T: () => DeviceId }\n ]);\n }\n create(value?: PartialMessage<GetDeviceAttestationRequest>): GetDeviceAttestationRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<GetDeviceAttestationRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetDeviceAttestationRequest): GetDeviceAttestationRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.DeviceId device_id */ 1:\n message.deviceId = DeviceId.internalBinaryRead(reader, reader.uint32(), options, message.deviceId);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: GetDeviceAttestationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceId device_id = 1; */\n if (message.deviceId)\n DeviceId.internalBinaryWrite(message.deviceId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.GetDeviceAttestationRequest\n */\nexport const GetDeviceAttestationRequest = new GetDeviceAttestationRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RotateDeviceKeyRequest$Type extends MessageType<RotateDeviceKeyRequest> {\n constructor() {\n super(\"sid.v1.attestation.RotateDeviceKeyRequest\", [\n { no: 1, name: \"enrollment_id\", kind: \"message\", T: () => DeviceEnrollmentId },\n { no: 2, name: \"new_key_proof\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"current_key_proof\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"format\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationFormat\", AttestationFormat, \"ATTESTATION_FORMAT_\"] },\n { no: 5, name: \"key_storage\", kind: \"enum\", T: () => [\"sid.v1.attestation.KeyStorageType\", KeyStorageType, \"KEY_STORAGE_TYPE_\"] },\n { no: 6, name: \"attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 7, name: \"attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 8, name: \"aaguid\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<RotateDeviceKeyRequest>): RotateDeviceKeyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.newKeyProof = \"\";\n message.currentKeyProof = \"\";\n message.format = 0;\n message.keyStorage = 0;\n if (value !== undefined)\n reflectionMergePartial<RotateDeviceKeyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RotateDeviceKeyRequest): RotateDeviceKeyRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.DeviceEnrollmentId enrollment_id */ 1:\n message.enrollmentId = DeviceEnrollmentId.internalBinaryRead(reader, reader.uint32(), options, message.enrollmentId);\n break;\n case /* string new_key_proof */ 2:\n message.newKeyProof = reader.string();\n break;\n case /* string current_key_proof */ 3:\n message.currentKeyProof = reader.string();\n break;\n case /* sid.v1.attestation.AttestationFormat format */ 4:\n message.format = reader.int32();\n break;\n case /* sid.v1.attestation.KeyStorageType key_storage */ 5:\n message.keyStorage = reader.int32();\n break;\n case /* optional bytes attestation_object */ 6:\n message.attestationObject = reader.bytes();\n break;\n case /* optional bytes attestation_certificate */ 7:\n message.attestationCertificate = reader.bytes();\n break;\n case /* optional string aaguid */ 8:\n message.aaguid = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: RotateDeviceKeyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceEnrollmentId enrollment_id = 1; */\n if (message.enrollmentId)\n DeviceEnrollmentId.internalBinaryWrite(message.enrollmentId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* string new_key_proof = 2; */\n if (message.newKeyProof !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.newKeyProof);\n /* string current_key_proof = 3; */\n if (message.currentKeyProof !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.currentKeyProof);\n /* sid.v1.attestation.AttestationFormat format = 4; */\n if (message.format !== 0)\n writer.tag(4, WireType.Varint).int32(message.format);\n /* sid.v1.attestation.KeyStorageType key_storage = 5; */\n if (message.keyStorage !== 0)\n writer.tag(5, WireType.Varint).int32(message.keyStorage);\n /* optional bytes attestation_object = 6; */\n if (message.attestationObject !== undefined)\n writer.tag(6, WireType.LengthDelimited).bytes(message.attestationObject);\n /* optional bytes attestation_certificate = 7; */\n if (message.attestationCertificate !== undefined)\n writer.tag(7, WireType.LengthDelimited).bytes(message.attestationCertificate);\n /* optional string aaguid = 8; */\n if (message.aaguid !== undefined)\n writer.tag(8, WireType.LengthDelimited).string(message.aaguid);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.RotateDeviceKeyRequest\n */\nexport const RotateDeviceKeyRequest = new RotateDeviceKeyRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RevokeDeviceKeyRequest$Type extends MessageType<RevokeDeviceKeyRequest> {\n constructor() {\n super(\"sid.v1.attestation.RevokeDeviceKeyRequest\", [\n { no: 1, name: \"device_id\", kind: \"message\", T: () => DeviceId }\n ]);\n }\n create(value?: PartialMessage<RevokeDeviceKeyRequest>): RevokeDeviceKeyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<RevokeDeviceKeyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RevokeDeviceKeyRequest): RevokeDeviceKeyRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.DeviceId device_id */ 1:\n message.deviceId = DeviceId.internalBinaryRead(reader, reader.uint32(), options, message.deviceId);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: RevokeDeviceKeyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceId device_id = 1; */\n if (message.deviceId)\n DeviceId.internalBinaryWrite(message.deviceId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.RevokeDeviceKeyRequest\n */\nexport const RevokeDeviceKeyRequest = new RevokeDeviceKeyRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDeviceAttestationsRequest$Type extends MessageType<ListDeviceAttestationsRequest> {\n constructor() {\n super(\"sid.v1.attestation.ListDeviceAttestationsRequest\", [\n { no: 1, name: \"profile_id\", kind: \"message\", T: () => ProfileId }\n ]);\n }\n create(value?: PartialMessage<ListDeviceAttestationsRequest>): ListDeviceAttestationsRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ListDeviceAttestationsRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListDeviceAttestationsRequest): ListDeviceAttestationsRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.ProfileId profile_id */ 1:\n message.profileId = ProfileId.internalBinaryRead(reader, reader.uint32(), options, message.profileId);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ListDeviceAttestationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.ProfileId profile_id = 1; */\n if (message.profileId)\n ProfileId.internalBinaryWrite(message.profileId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.ListDeviceAttestationsRequest\n */\nexport const ListDeviceAttestationsRequest = new ListDeviceAttestationsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDeviceAttestationsResponse$Type extends MessageType<ListDeviceAttestationsResponse> {\n constructor() {\n super(\"sid.v1.attestation.ListDeviceAttestationsResponse\", [\n { no: 1, name: \"attestations\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DeviceAttestation }\n ]);\n }\n create(value?: PartialMessage<ListDeviceAttestationsResponse>): ListDeviceAttestationsResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.attestations = [];\n if (value !== undefined)\n reflectionMergePartial<ListDeviceAttestationsResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListDeviceAttestationsResponse): ListDeviceAttestationsResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated sid.v1.attestation.DeviceAttestation attestations */ 1:\n message.attestations.push(DeviceAttestation.internalBinaryRead(reader, reader.uint32(), options));\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ListDeviceAttestationsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated sid.v1.attestation.DeviceAttestation attestations = 1; */\n for (let i = 0; i < message.attestations.length; i++)\n DeviceAttestation.internalBinaryWrite(message.attestations[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.ListDeviceAttestationsResponse\n */\nexport const ListDeviceAttestationsResponse = new ListDeviceAttestationsResponse$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.attestation.AttestationService\n */\nexport const AttestationService = new ServiceType(\"sid.v1.attestation.AttestationService\", [\n { name: \"StartDeviceEnrollment\", options: { \"google.api.http\": { post: \"/v1/attestation/enrollments\", body: \"*\" }, \"sid.v1.common.retry\": { ceremony: \"each start opens its own pending ceremony with its own single-use challenge; nothing is enrolled before its finish\" } }, I: StartDeviceEnrollmentRequest, O: DeviceEnrollmentChallenge },\n { name: \"FinishDeviceEnrollment\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/enrollments/{enrollment_id.value}/finish\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: FinishDeviceEnrollmentRequest, O: DeviceAttestation },\n { name: \"GetDeviceAttestation\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/attestation/devices/{device_id.value}\" } }, I: GetDeviceAttestationRequest, O: DeviceAttestation },\n { name: \"RotateDeviceKey\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/enrollments/{enrollment_id.value}/rotate\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: RotateDeviceKeyRequest, O: DeviceAttestation },\n { name: \"RevokeDeviceKey\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/devices/{device_id.value}/revoke\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: RevokeDeviceKeyRequest, O: Empty },\n { name: \"ListDeviceAttestations\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/attestation/profiles/{profile_id.value}/devices\" } }, I: ListDeviceAttestationsRequest, O: ListDeviceAttestationsResponse }\n]);\n"]}
1
+ {"version":3,"file":"attestation.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/attestation/attestation.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,qHAAqH;AACrH,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AA2TpD;;;;GAIG;AACH,MAAM,CAAN,IAAY,iBAyCX;AAzCD,WAAY,iBAAiB;IACzB;;OAEG;IACH,uEAAe,CAAA;IACf;;;;OAIG;IACH,yDAAQ,CAAA;IACR;;;;OAIG;IACH,6DAAU,CAAA;IACV;;;;OAIG;IACH,uDAAO,CAAA;IACP;;;;OAIG;IACH,uEAAe,CAAA;IACf;;;;OAIG;IACH,2DAAS,CAAA;IACT;;;;OAIG;IACH,iEAAY,CAAA;AAChB,CAAC,EAzCW,iB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B,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,kDAAkD,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,sBAAsB,EAAE,EAAE,SAAS,EAAE,EAAE,WAAW,EAAE,CAAC,6BAA6B,CAAC,EAAE,MAAM,EAAE,CAAC,eAAe,CAAC,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,2BAA2B,EAAE,MAAM,EAAE,gCAAgC,EAAE,EAAE,EAAE,EAAE,qBAAqB,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,sBAAsB,EAAE,CAAC,EAAE,KAAK,EAAE;IAC/b,EAAE,IAAI,EAAE,wBAAwB,EAAE,WAAW,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,GAAG,EAAE,qDAAqD,EAAE,EAAE,sBAAsB,EAAE,EAAE,SAAS,EAAE,EAAE,WAAW,EAAE,CAAC,6BAA6B,EAAE,wBAAwB,CAAC,EAAE,MAAM,EAAE,CAAC,cAAc,CAAC,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,0BAA0B,EAAE,MAAM,EAAE,gCAAgC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,6BAA6B,EAAE,CAAC,EAAE,8BAA8B,EAAE;CACrd,CAAC,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/attestation/attestation.proto\" (package \"sid.v1.attestation\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { Empty } from \"../../../google/protobuf/empty.js\";\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { DeviceEnrollmentId } from \"../ids/ids.js\";\nimport { DeviceType } from \"../identity/identity.js\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.js\";\nimport { ProfileId } from \"../ids/ids.js\";\nimport { DeviceId } from \"../ids/ids.js\";\nimport { DeviceAttestationId } from \"../ids/ids.js\";\n/**\n * Device attestation record: the key bound to a device and the evidence\n * recorded with it.\n *\n * @generated from protobuf message sid.v1.attestation.DeviceAttestation\n */\nexport interface DeviceAttestation {\n /**\n * This attestation record, issued by SID when the key is bound.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceAttestationId id = 1\n */\n id?: DeviceAttestationId;\n /**\n * The device the key is bound to (`Device.id` in sid-identity).\n *\n * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 2\n */\n deviceId?: DeviceId;\n /**\n * The Profile that owns the device, resolved by SID at enrollment from the\n * authorized context, never from a client field.\n *\n * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 3\n */\n profileId?: ProfileId;\n /**\n * Attestation format the device presented.\n *\n * @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 4\n */\n format: AttestationFormat;\n /**\n * Key storage the device reported; self-asserted unless `status` is\n * VERIFIED.\n *\n * @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 5\n */\n keyStorage: KeyStorageType;\n /**\n * Verification status of the attestation. A key whose possession was\n * proven but whose attestation was not verified is UNVERIFIED.\n *\n * @generated from protobuf field: sid.v1.attestation.AttestationStatus status = 6\n */\n status: AttestationStatus;\n /**\n * The device's public key as a JSON Web Key (RFC 7517) holding public\n * members only, UTF-8 JSON. Its RFC 7638 thumbprint names the key in the\n * enrollment proofs.\n *\n * @generated from protobuf field: string public_jwk = 7\n */\n publicJwk: string;\n /**\n * Raw attestation blob in its platform format, as presented.\n *\n * @generated from protobuf field: optional bytes attestation_object = 8\n */\n attestationObject?: Uint8Array;\n /**\n * Leaf certificate of the attestation chain, as presented.\n *\n * @generated from protobuf field: optional bytes attestation_certificate = 9\n */\n attestationCertificate?: Uint8Array;\n /**\n * Authenticator Attestation GUID (WebAuthn), as presented.\n *\n * @generated from protobuf field: optional string aaguid = 10\n */\n aaguid?: string;\n /**\n * When the key was bound.\n *\n * @generated from protobuf field: google.protobuf.Timestamp created_at = 11\n */\n createdAt?: Timestamp;\n /**\n * When the record last changed (rotation, revocation).\n *\n * @generated from protobuf field: google.protobuf.Timestamp updated_at = 12\n */\n updatedAt?: Timestamp;\n /**\n * When the key was revoked; absent while it is live.\n *\n * @generated from protobuf field: optional google.protobuf.Timestamp revoked_at = 13\n */\n revokedAt?: Timestamp;\n}\n// ── Request/Response Messages ──\n\n/**\n * @generated from protobuf message sid.v1.attestation.StartDeviceEnrollmentRequest\n */\nexport interface StartDeviceEnrollmentRequest {\n /**\n * What the ceremony does.\n *\n * @generated from protobuf field: sid.v1.attestation.DeviceEnrollmentPurpose purpose = 1\n */\n purpose: DeviceEnrollmentPurpose;\n /**\n * The device the ceremony targets: required for a rotation, and for the\n * enrollment of a device that already has metadata; absent to enroll a\n * new device, whose id SID allocates. A target to authorize, never\n * evidence of identity or authority.\n *\n * @generated from protobuf field: optional sid.v1.ids.DeviceId device_id = 2\n */\n deviceId?: DeviceId;\n /**\n * Form factor of a new device, as the client describes it. Descriptive\n * only; ignored for an existing device.\n *\n * @generated from protobuf field: sid.v1.identity.DeviceType device_type = 3\n */\n deviceType: DeviceType;\n /**\n * Operating system name and version of a new device, as the client\n * reports it. Self-asserted, informational only.\n *\n * @generated from protobuf field: optional string os_info = 4\n */\n osInfo?: string;\n /**\n * User-given label of a new device.\n *\n * @generated from protobuf field: optional string display_name = 5\n */\n displayName?: string;\n}\n/**\n * The challenge a ceremony's proofs answer.\n *\n * @generated from protobuf message sid.v1.attestation.DeviceEnrollmentChallenge\n */\nexport interface DeviceEnrollmentChallenge {\n /**\n * The ceremony, named by the finishing call.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceEnrollmentId enrollment_id = 1\n */\n enrollmentId?: DeviceEnrollmentId;\n /**\n * The device the ceremony binds a key to: the one allocated for a new\n * device or the requested one. The proofs name it in their `dev` claim.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 2\n */\n deviceId?: DeviceId;\n /**\n * Fresh random challenge (32 bytes) the proofs carry in their `chl`\n * claim. Single-use, bound to this ceremony only.\n *\n * @generated from protobuf field: bytes challenge = 3\n */\n challenge: Uint8Array;\n /**\n * When the ceremony expires; a later finish completes nothing.\n *\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 4\n */\n expiresAt?: Timestamp;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.FinishDeviceEnrollmentRequest\n */\nexport interface FinishDeviceEnrollmentRequest {\n /**\n * The ceremony StartDeviceEnrollment issued, of purpose ENROLL.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceEnrollmentId enrollment_id = 1\n */\n enrollmentId?: DeviceEnrollmentId;\n /**\n * The proposed key's proof of possession, purpose \"enroll\"; its `jwk`\n * header is the key bound to the device.\n *\n * @generated from protobuf field: string proof = 2\n */\n proof: string;\n /**\n * Attestation format of the optional attestation below.\n *\n * @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 3\n */\n format: AttestationFormat;\n /**\n * Key storage the device reports; recorded as reported, raising no\n * assurance without verified attestation.\n *\n * @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 4\n */\n keyStorage: KeyStorageType;\n /**\n * Raw attestation blob in its platform format.\n *\n * @generated from protobuf field: optional bytes attestation_object = 5\n */\n attestationObject?: Uint8Array;\n /**\n * Leaf certificate of the attestation chain.\n *\n * @generated from protobuf field: optional bytes attestation_certificate = 6\n */\n attestationCertificate?: Uint8Array;\n /**\n * Authenticator Attestation GUID (WebAuthn).\n *\n * @generated from protobuf field: optional string aaguid = 7\n */\n aaguid?: string;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.GetDeviceAttestationRequest\n */\nexport interface GetDeviceAttestationRequest {\n /**\n * Device to fetch the attestation of.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 1\n */\n deviceId?: DeviceId;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.RotateDeviceKeyRequest\n */\nexport interface RotateDeviceKeyRequest {\n /**\n * The ceremony StartDeviceEnrollment issued, of purpose ROTATE.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceEnrollmentId enrollment_id = 1\n */\n enrollmentId?: DeviceEnrollmentId;\n /**\n * The proposed key's proof of possession, purpose \"rotate-new\".\n *\n * @generated from protobuf field: string new_key_proof = 2\n */\n newKeyProof: string;\n /**\n * The current key's approval of this replacement, purpose\n * \"rotate-current\", naming the proposed key in its `key` claim.\n *\n * @generated from protobuf field: string current_key_proof = 3\n */\n currentKeyProof: string;\n /**\n * Attestation format of the new key's optional attestation below.\n *\n * @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 4\n */\n format: AttestationFormat;\n /**\n * Key storage the device reports for the new key; recorded as reported,\n * raising no assurance without verified attestation.\n *\n * @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 5\n */\n keyStorage: KeyStorageType;\n /**\n * Attestation of the new key, in its platform format.\n *\n * @generated from protobuf field: optional bytes attestation_object = 6\n */\n attestationObject?: Uint8Array;\n /**\n * Leaf certificate of the new key's attestation chain.\n *\n * @generated from protobuf field: optional bytes attestation_certificate = 7\n */\n attestationCertificate?: Uint8Array;\n /**\n * Authenticator Attestation GUID (WebAuthn) of the new key.\n *\n * @generated from protobuf field: optional string aaguid = 8\n */\n aaguid?: string;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.RevokeDeviceKeyRequest\n */\nexport interface RevokeDeviceKeyRequest {\n /**\n * Device whose key is revoked.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 1\n */\n deviceId?: DeviceId;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.ListDeviceAttestationsRequest\n */\nexport interface ListDeviceAttestationsRequest {\n /**\n * Profile whose device keys are listed.\n *\n * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 1\n */\n profileId?: ProfileId;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.ListDeviceAttestationsResponse\n */\nexport interface ListDeviceAttestationsResponse {\n /**\n * The Profile's device key attestations, live and revoked.\n *\n * @generated from protobuf field: repeated sid.v1.attestation.DeviceAttestation attestations = 1\n */\n attestations: DeviceAttestation[];\n}\n/**\n * Attestation format reported by the device.\n *\n * @generated from protobuf enum sid.v1.attestation.AttestationFormat\n */\nexport enum AttestationFormat {\n /**\n * @generated from protobuf enum value: ATTESTATION_FORMAT_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * No attestation provided\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_NONE = 1;\n */\n NONE = 1,\n /**\n * FIDO2 packed attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_PACKED = 2;\n */\n PACKED = 2,\n /**\n * TPM 2.0 attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_TPM = 3;\n */\n TPM = 3,\n /**\n * Android Keystore attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_ANDROID_KEY = 4;\n */\n ANDROID_KEY = 4,\n /**\n * Apple App Attest / Secure Enclave\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_APPLE = 5;\n */\n APPLE = 5,\n /**\n * FIDO U2F attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_FIDO_U2F = 6;\n */\n FIDO_U2F = 6\n}\n/**\n * Type of hardware key storage the device reports. Self-asserted: it raises\n * no assurance unless verified attestation establishes it.\n *\n * @generated from protobuf enum sid.v1.attestation.KeyStorageType\n */\nexport enum KeyStorageType {\n /**\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Software-only key (no hardware backing)\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_SOFTWARE = 1;\n */\n SOFTWARE = 1,\n /**\n * Trusted Platform Module\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_TPM = 2;\n */\n TPM = 2,\n /**\n * Apple Secure Enclave\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_SECURE_ENCLAVE = 3;\n */\n SECURE_ENCLAVE = 3,\n /**\n * Android StrongBox\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_STRONGBOX = 4;\n */\n STRONGBOX = 4,\n /**\n * ARM TrustZone or similar TEE\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_TEE = 5;\n */\n TEE = 5\n}\n/**\n * Attestation verification status.\n *\n * @generated from protobuf enum sid.v1.attestation.AttestationStatus\n */\nexport enum AttestationStatus {\n /**\n * @generated from protobuf enum value: ATTESTATION_STATUS_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Received, not yet verified\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_PENDING = 1;\n */\n PENDING = 1,\n /**\n * Attestation chain verified\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_VERIFIED = 2;\n */\n VERIFIED = 2,\n /**\n * Stored; the server does not verify chains\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_UNVERIFIED = 3;\n */\n UNVERIFIED = 3,\n /**\n * Verification failed\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_REJECTED = 4;\n */\n REJECTED = 4,\n /**\n * Key has been revoked\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_REVOKED = 5;\n */\n REVOKED = 5\n}\n/**\n * What a device-key enrollment ceremony does. A proof made for one purpose\n * is refused for the other.\n *\n * @generated from protobuf enum sid.v1.attestation.DeviceEnrollmentPurpose\n */\nexport enum DeviceEnrollmentPurpose {\n /**\n * @generated from protobuf enum value: DEVICE_ENROLLMENT_PURPOSE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Bind the first key of a new device, or of a device that has metadata\n * and no live key.\n *\n * @generated from protobuf enum value: DEVICE_ENROLLMENT_PURPOSE_ENROLL = 1;\n */\n ENROLL = 1,\n /**\n * Replace the live key of an enrolled device with a new one.\n *\n * @generated from protobuf enum value: DEVICE_ENROLLMENT_PURPOSE_ROTATE = 2;\n */\n ROTATE = 2\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass DeviceAttestation$Type extends MessageType<DeviceAttestation> {\n constructor() {\n super(\"sid.v1.attestation.DeviceAttestation\", [\n { no: 1, name: \"id\", kind: \"message\", T: () => DeviceAttestationId },\n { no: 2, name: \"device_id\", kind: \"message\", T: () => DeviceId },\n { no: 3, name: \"profile_id\", kind: \"message\", T: () => ProfileId },\n { no: 4, name: \"format\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationFormat\", AttestationFormat, \"ATTESTATION_FORMAT_\"] },\n { no: 5, name: \"key_storage\", kind: \"enum\", T: () => [\"sid.v1.attestation.KeyStorageType\", KeyStorageType, \"KEY_STORAGE_TYPE_\"] },\n { no: 6, name: \"status\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationStatus\", AttestationStatus, \"ATTESTATION_STATUS_\"] },\n { no: 7, name: \"public_jwk\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 8, name: \"attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 9, name: \"attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 10, name: \"aaguid\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 11, name: \"created_at\", kind: \"message\", T: () => Timestamp },\n { no: 12, name: \"updated_at\", kind: \"message\", T: () => Timestamp },\n { no: 13, name: \"revoked_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<DeviceAttestation>): DeviceAttestation {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.format = 0;\n message.keyStorage = 0;\n message.status = 0;\n message.publicJwk = \"\";\n if (value !== undefined)\n reflectionMergePartial<DeviceAttestation>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceAttestation): DeviceAttestation {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.DeviceAttestationId id */ 1:\n message.id = DeviceAttestationId.internalBinaryRead(reader, reader.uint32(), options, message.id);\n break;\n case /* sid.v1.ids.DeviceId device_id */ 2:\n message.deviceId = DeviceId.internalBinaryRead(reader, reader.uint32(), options, message.deviceId);\n break;\n case /* sid.v1.ids.ProfileId profile_id */ 3:\n message.profileId = ProfileId.internalBinaryRead(reader, reader.uint32(), options, message.profileId);\n break;\n case /* sid.v1.attestation.AttestationFormat format */ 4:\n message.format = reader.int32();\n break;\n case /* sid.v1.attestation.KeyStorageType key_storage */ 5:\n message.keyStorage = reader.int32();\n break;\n case /* sid.v1.attestation.AttestationStatus status */ 6:\n message.status = reader.int32();\n break;\n case /* string public_jwk */ 7:\n message.publicJwk = reader.string();\n break;\n case /* optional bytes attestation_object */ 8:\n message.attestationObject = reader.bytes();\n break;\n case /* optional bytes attestation_certificate */ 9:\n message.attestationCertificate = reader.bytes();\n break;\n case /* optional string aaguid */ 10:\n message.aaguid = reader.string();\n break;\n case /* google.protobuf.Timestamp created_at */ 11:\n message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);\n break;\n case /* google.protobuf.Timestamp updated_at */ 12:\n message.updatedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.updatedAt);\n break;\n case /* optional google.protobuf.Timestamp revoked_at */ 13:\n message.revokedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.revokedAt);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: DeviceAttestation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceAttestationId id = 1; */\n if (message.id)\n DeviceAttestationId.internalBinaryWrite(message.id, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.ids.DeviceId device_id = 2; */\n if (message.deviceId)\n DeviceId.internalBinaryWrite(message.deviceId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.ids.ProfileId profile_id = 3; */\n if (message.profileId)\n ProfileId.internalBinaryWrite(message.profileId, writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.attestation.AttestationFormat format = 4; */\n if (message.format !== 0)\n writer.tag(4, WireType.Varint).int32(message.format);\n /* sid.v1.attestation.KeyStorageType key_storage = 5; */\n if (message.keyStorage !== 0)\n writer.tag(5, WireType.Varint).int32(message.keyStorage);\n /* sid.v1.attestation.AttestationStatus status = 6; */\n if (message.status !== 0)\n writer.tag(6, WireType.Varint).int32(message.status);\n /* string public_jwk = 7; */\n if (message.publicJwk !== \"\")\n writer.tag(7, WireType.LengthDelimited).string(message.publicJwk);\n /* optional bytes attestation_object = 8; */\n if (message.attestationObject !== undefined)\n writer.tag(8, WireType.LengthDelimited).bytes(message.attestationObject);\n /* optional bytes attestation_certificate = 9; */\n if (message.attestationCertificate !== undefined)\n writer.tag(9, WireType.LengthDelimited).bytes(message.attestationCertificate);\n /* optional string aaguid = 10; */\n if (message.aaguid !== undefined)\n writer.tag(10, WireType.LengthDelimited).string(message.aaguid);\n /* google.protobuf.Timestamp created_at = 11; */\n if (message.createdAt)\n Timestamp.internalBinaryWrite(message.createdAt, writer.tag(11, WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.Timestamp updated_at = 12; */\n if (message.updatedAt)\n Timestamp.internalBinaryWrite(message.updatedAt, writer.tag(12, WireType.LengthDelimited).fork(), options).join();\n /* optional google.protobuf.Timestamp revoked_at = 13; */\n if (message.revokedAt)\n Timestamp.internalBinaryWrite(message.revokedAt, writer.tag(13, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.DeviceAttestation\n */\nexport const DeviceAttestation = new DeviceAttestation$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StartDeviceEnrollmentRequest$Type extends MessageType<StartDeviceEnrollmentRequest> {\n constructor() {\n super(\"sid.v1.attestation.StartDeviceEnrollmentRequest\", [\n { no: 1, name: \"purpose\", kind: \"enum\", T: () => [\"sid.v1.attestation.DeviceEnrollmentPurpose\", DeviceEnrollmentPurpose, \"DEVICE_ENROLLMENT_PURPOSE_\"] },\n { no: 2, name: \"device_id\", kind: \"message\", T: () => DeviceId },\n { no: 3, name: \"device_type\", kind: \"enum\", T: () => [\"sid.v1.identity.DeviceType\", DeviceType, \"DEVICE_TYPE_\"] },\n { no: 4, name: \"os_info\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"display_name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<StartDeviceEnrollmentRequest>): StartDeviceEnrollmentRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.purpose = 0;\n message.deviceType = 0;\n if (value !== undefined)\n reflectionMergePartial<StartDeviceEnrollmentRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartDeviceEnrollmentRequest): StartDeviceEnrollmentRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.attestation.DeviceEnrollmentPurpose purpose */ 1:\n message.purpose = reader.int32();\n break;\n case /* optional sid.v1.ids.DeviceId device_id */ 2:\n message.deviceId = DeviceId.internalBinaryRead(reader, reader.uint32(), options, message.deviceId);\n break;\n case /* sid.v1.identity.DeviceType device_type */ 3:\n message.deviceType = reader.int32();\n break;\n case /* optional string os_info */ 4:\n message.osInfo = reader.string();\n break;\n case /* optional string display_name */ 5:\n message.displayName = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: StartDeviceEnrollmentRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.attestation.DeviceEnrollmentPurpose purpose = 1; */\n if (message.purpose !== 0)\n writer.tag(1, WireType.Varint).int32(message.purpose);\n /* optional sid.v1.ids.DeviceId device_id = 2; */\n if (message.deviceId)\n DeviceId.internalBinaryWrite(message.deviceId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.identity.DeviceType device_type = 3; */\n if (message.deviceType !== 0)\n writer.tag(3, WireType.Varint).int32(message.deviceType);\n /* optional string os_info = 4; */\n if (message.osInfo !== undefined)\n writer.tag(4, WireType.LengthDelimited).string(message.osInfo);\n /* optional string display_name = 5; */\n if (message.displayName !== undefined)\n writer.tag(5, WireType.LengthDelimited).string(message.displayName);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.StartDeviceEnrollmentRequest\n */\nexport const StartDeviceEnrollmentRequest = new StartDeviceEnrollmentRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DeviceEnrollmentChallenge$Type extends MessageType<DeviceEnrollmentChallenge> {\n constructor() {\n super(\"sid.v1.attestation.DeviceEnrollmentChallenge\", [\n { no: 1, name: \"enrollment_id\", kind: \"message\", T: () => DeviceEnrollmentId },\n { no: 2, name: \"device_id\", kind: \"message\", T: () => DeviceId },\n { no: 3, name: \"challenge\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 4, name: \"expires_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<DeviceEnrollmentChallenge>): DeviceEnrollmentChallenge {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.challenge = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<DeviceEnrollmentChallenge>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceEnrollmentChallenge): DeviceEnrollmentChallenge {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.DeviceEnrollmentId enrollment_id */ 1:\n message.enrollmentId = DeviceEnrollmentId.internalBinaryRead(reader, reader.uint32(), options, message.enrollmentId);\n break;\n case /* sid.v1.ids.DeviceId device_id */ 2:\n message.deviceId = DeviceId.internalBinaryRead(reader, reader.uint32(), options, message.deviceId);\n break;\n case /* bytes challenge */ 3:\n message.challenge = reader.bytes();\n break;\n case /* google.protobuf.Timestamp expires_at */ 4:\n message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: DeviceEnrollmentChallenge, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceEnrollmentId enrollment_id = 1; */\n if (message.enrollmentId)\n DeviceEnrollmentId.internalBinaryWrite(message.enrollmentId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.ids.DeviceId device_id = 2; */\n if (message.deviceId)\n DeviceId.internalBinaryWrite(message.deviceId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n /* bytes challenge = 3; */\n if (message.challenge.length)\n writer.tag(3, WireType.LengthDelimited).bytes(message.challenge);\n /* google.protobuf.Timestamp expires_at = 4; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(4, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.DeviceEnrollmentChallenge\n */\nexport const DeviceEnrollmentChallenge = new DeviceEnrollmentChallenge$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass FinishDeviceEnrollmentRequest$Type extends MessageType<FinishDeviceEnrollmentRequest> {\n constructor() {\n super(\"sid.v1.attestation.FinishDeviceEnrollmentRequest\", [\n { no: 1, name: \"enrollment_id\", kind: \"message\", T: () => DeviceEnrollmentId },\n { no: 2, name: \"proof\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"format\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationFormat\", AttestationFormat, \"ATTESTATION_FORMAT_\"] },\n { no: 4, name: \"key_storage\", kind: \"enum\", T: () => [\"sid.v1.attestation.KeyStorageType\", KeyStorageType, \"KEY_STORAGE_TYPE_\"] },\n { no: 5, name: \"attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 6, name: \"attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 7, name: \"aaguid\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<FinishDeviceEnrollmentRequest>): FinishDeviceEnrollmentRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.proof = \"\";\n message.format = 0;\n message.keyStorage = 0;\n if (value !== undefined)\n reflectionMergePartial<FinishDeviceEnrollmentRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FinishDeviceEnrollmentRequest): FinishDeviceEnrollmentRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.DeviceEnrollmentId enrollment_id */ 1:\n message.enrollmentId = DeviceEnrollmentId.internalBinaryRead(reader, reader.uint32(), options, message.enrollmentId);\n break;\n case /* string proof */ 2:\n message.proof = reader.string();\n break;\n case /* sid.v1.attestation.AttestationFormat format */ 3:\n message.format = reader.int32();\n break;\n case /* sid.v1.attestation.KeyStorageType key_storage */ 4:\n message.keyStorage = reader.int32();\n break;\n case /* optional bytes attestation_object */ 5:\n message.attestationObject = reader.bytes();\n break;\n case /* optional bytes attestation_certificate */ 6:\n message.attestationCertificate = reader.bytes();\n break;\n case /* optional string aaguid */ 7:\n message.aaguid = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: FinishDeviceEnrollmentRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceEnrollmentId enrollment_id = 1; */\n if (message.enrollmentId)\n DeviceEnrollmentId.internalBinaryWrite(message.enrollmentId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* string proof = 2; */\n if (message.proof !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.proof);\n /* sid.v1.attestation.AttestationFormat format = 3; */\n if (message.format !== 0)\n writer.tag(3, WireType.Varint).int32(message.format);\n /* sid.v1.attestation.KeyStorageType key_storage = 4; */\n if (message.keyStorage !== 0)\n writer.tag(4, WireType.Varint).int32(message.keyStorage);\n /* optional bytes attestation_object = 5; */\n if (message.attestationObject !== undefined)\n writer.tag(5, WireType.LengthDelimited).bytes(message.attestationObject);\n /* optional bytes attestation_certificate = 6; */\n if (message.attestationCertificate !== undefined)\n writer.tag(6, WireType.LengthDelimited).bytes(message.attestationCertificate);\n /* optional string aaguid = 7; */\n if (message.aaguid !== undefined)\n writer.tag(7, WireType.LengthDelimited).string(message.aaguid);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.FinishDeviceEnrollmentRequest\n */\nexport const FinishDeviceEnrollmentRequest = new FinishDeviceEnrollmentRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDeviceAttestationRequest$Type extends MessageType<GetDeviceAttestationRequest> {\n constructor() {\n super(\"sid.v1.attestation.GetDeviceAttestationRequest\", [\n { no: 1, name: \"device_id\", kind: \"message\", T: () => DeviceId }\n ]);\n }\n create(value?: PartialMessage<GetDeviceAttestationRequest>): GetDeviceAttestationRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<GetDeviceAttestationRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetDeviceAttestationRequest): GetDeviceAttestationRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.DeviceId device_id */ 1:\n message.deviceId = DeviceId.internalBinaryRead(reader, reader.uint32(), options, message.deviceId);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: GetDeviceAttestationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceId device_id = 1; */\n if (message.deviceId)\n DeviceId.internalBinaryWrite(message.deviceId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.GetDeviceAttestationRequest\n */\nexport const GetDeviceAttestationRequest = new GetDeviceAttestationRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RotateDeviceKeyRequest$Type extends MessageType<RotateDeviceKeyRequest> {\n constructor() {\n super(\"sid.v1.attestation.RotateDeviceKeyRequest\", [\n { no: 1, name: \"enrollment_id\", kind: \"message\", T: () => DeviceEnrollmentId },\n { no: 2, name: \"new_key_proof\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"current_key_proof\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"format\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationFormat\", AttestationFormat, \"ATTESTATION_FORMAT_\"] },\n { no: 5, name: \"key_storage\", kind: \"enum\", T: () => [\"sid.v1.attestation.KeyStorageType\", KeyStorageType, \"KEY_STORAGE_TYPE_\"] },\n { no: 6, name: \"attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 7, name: \"attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 8, name: \"aaguid\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<RotateDeviceKeyRequest>): RotateDeviceKeyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.newKeyProof = \"\";\n message.currentKeyProof = \"\";\n message.format = 0;\n message.keyStorage = 0;\n if (value !== undefined)\n reflectionMergePartial<RotateDeviceKeyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RotateDeviceKeyRequest): RotateDeviceKeyRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.DeviceEnrollmentId enrollment_id */ 1:\n message.enrollmentId = DeviceEnrollmentId.internalBinaryRead(reader, reader.uint32(), options, message.enrollmentId);\n break;\n case /* string new_key_proof */ 2:\n message.newKeyProof = reader.string();\n break;\n case /* string current_key_proof */ 3:\n message.currentKeyProof = reader.string();\n break;\n case /* sid.v1.attestation.AttestationFormat format */ 4:\n message.format = reader.int32();\n break;\n case /* sid.v1.attestation.KeyStorageType key_storage */ 5:\n message.keyStorage = reader.int32();\n break;\n case /* optional bytes attestation_object */ 6:\n message.attestationObject = reader.bytes();\n break;\n case /* optional bytes attestation_certificate */ 7:\n message.attestationCertificate = reader.bytes();\n break;\n case /* optional string aaguid */ 8:\n message.aaguid = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: RotateDeviceKeyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceEnrollmentId enrollment_id = 1; */\n if (message.enrollmentId)\n DeviceEnrollmentId.internalBinaryWrite(message.enrollmentId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* string new_key_proof = 2; */\n if (message.newKeyProof !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.newKeyProof);\n /* string current_key_proof = 3; */\n if (message.currentKeyProof !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.currentKeyProof);\n /* sid.v1.attestation.AttestationFormat format = 4; */\n if (message.format !== 0)\n writer.tag(4, WireType.Varint).int32(message.format);\n /* sid.v1.attestation.KeyStorageType key_storage = 5; */\n if (message.keyStorage !== 0)\n writer.tag(5, WireType.Varint).int32(message.keyStorage);\n /* optional bytes attestation_object = 6; */\n if (message.attestationObject !== undefined)\n writer.tag(6, WireType.LengthDelimited).bytes(message.attestationObject);\n /* optional bytes attestation_certificate = 7; */\n if (message.attestationCertificate !== undefined)\n writer.tag(7, WireType.LengthDelimited).bytes(message.attestationCertificate);\n /* optional string aaguid = 8; */\n if (message.aaguid !== undefined)\n writer.tag(8, WireType.LengthDelimited).string(message.aaguid);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.RotateDeviceKeyRequest\n */\nexport const RotateDeviceKeyRequest = new RotateDeviceKeyRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RevokeDeviceKeyRequest$Type extends MessageType<RevokeDeviceKeyRequest> {\n constructor() {\n super(\"sid.v1.attestation.RevokeDeviceKeyRequest\", [\n { no: 1, name: \"device_id\", kind: \"message\", T: () => DeviceId }\n ]);\n }\n create(value?: PartialMessage<RevokeDeviceKeyRequest>): RevokeDeviceKeyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<RevokeDeviceKeyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RevokeDeviceKeyRequest): RevokeDeviceKeyRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.DeviceId device_id */ 1:\n message.deviceId = DeviceId.internalBinaryRead(reader, reader.uint32(), options, message.deviceId);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: RevokeDeviceKeyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceId device_id = 1; */\n if (message.deviceId)\n DeviceId.internalBinaryWrite(message.deviceId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.RevokeDeviceKeyRequest\n */\nexport const RevokeDeviceKeyRequest = new RevokeDeviceKeyRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDeviceAttestationsRequest$Type extends MessageType<ListDeviceAttestationsRequest> {\n constructor() {\n super(\"sid.v1.attestation.ListDeviceAttestationsRequest\", [\n { no: 1, name: \"profile_id\", kind: \"message\", T: () => ProfileId }\n ]);\n }\n create(value?: PartialMessage<ListDeviceAttestationsRequest>): ListDeviceAttestationsRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ListDeviceAttestationsRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListDeviceAttestationsRequest): ListDeviceAttestationsRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.ProfileId profile_id */ 1:\n message.profileId = ProfileId.internalBinaryRead(reader, reader.uint32(), options, message.profileId);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ListDeviceAttestationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.ProfileId profile_id = 1; */\n if (message.profileId)\n ProfileId.internalBinaryWrite(message.profileId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.ListDeviceAttestationsRequest\n */\nexport const ListDeviceAttestationsRequest = new ListDeviceAttestationsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDeviceAttestationsResponse$Type extends MessageType<ListDeviceAttestationsResponse> {\n constructor() {\n super(\"sid.v1.attestation.ListDeviceAttestationsResponse\", [\n { no: 1, name: \"attestations\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DeviceAttestation }\n ]);\n }\n create(value?: PartialMessage<ListDeviceAttestationsResponse>): ListDeviceAttestationsResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.attestations = [];\n if (value !== undefined)\n reflectionMergePartial<ListDeviceAttestationsResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListDeviceAttestationsResponse): ListDeviceAttestationsResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated sid.v1.attestation.DeviceAttestation attestations */ 1:\n message.attestations.push(DeviceAttestation.internalBinaryRead(reader, reader.uint32(), options));\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ListDeviceAttestationsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated sid.v1.attestation.DeviceAttestation attestations = 1; */\n for (let i = 0; i < message.attestations.length; i++)\n DeviceAttestation.internalBinaryWrite(message.attestations[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.attestation.ListDeviceAttestationsResponse\n */\nexport const ListDeviceAttestationsResponse = new ListDeviceAttestationsResponse$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.attestation.AttestationService\n */\nexport const AttestationService = new ServiceType(\"sid.v1.attestation.AttestationService\", [\n { name: \"StartDeviceEnrollment\", options: { \"google.api.http\": { post: \"/v1/attestation/enrollments\", body: \"*\" }, \"sid.v1.common.access\": { protected: { credentials: [\"CREDENTIAL_KIND_ACCOUNT_API\"], scopes: [\"account.write\"], permission: { action: \"attestation.device.change\", target: \"PERMISSION_TARGET_OWNED_OBJECT\" } } }, \"sid.v1.common.retry\": { ceremony: \"each start opens its own pending ceremony with its own single-use challenge; nothing is enrolled before its finish\" } }, I: StartDeviceEnrollmentRequest, O: DeviceEnrollmentChallenge },\n { name: \"FinishDeviceEnrollment\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/enrollments/{enrollment_id.value}/finish\", body: \"*\" }, \"sid.v1.common.access\": { protected: { credentials: [\"CREDENTIAL_KIND_ACCOUNT_API\"], scopes: [\"account.write\"], permission: { action: \"attestation.device.change\", target: \"PERMISSION_TARGET_OWNED_OBJECT\" } } }, \"sid.v1.common.retry\": { keyed: true } }, I: FinishDeviceEnrollmentRequest, O: DeviceAttestation },\n { name: \"GetDeviceAttestation\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/attestation/devices/{device_id.value}\" }, \"sid.v1.common.access\": { protected: { credentials: [\"CREDENTIAL_KIND_ACCOUNT_API\", \"CREDENTIAL_KIND_CLIENT\"], scopes: [\"account.read\"], permission: { action: \"attestation.device.read\", target: \"PERMISSION_TARGET_OWNED_OBJECT\" } } } }, I: GetDeviceAttestationRequest, O: DeviceAttestation },\n { name: \"RotateDeviceKey\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/enrollments/{enrollment_id.value}/rotate\", body: \"*\" }, \"sid.v1.common.access\": { protected: { credentials: [\"CREDENTIAL_KIND_ACCOUNT_API\"], scopes: [\"account.write\"], permission: { action: \"attestation.device.change\", target: \"PERMISSION_TARGET_OWNED_OBJECT\" } } }, \"sid.v1.common.retry\": { keyed: true } }, I: RotateDeviceKeyRequest, O: DeviceAttestation },\n { name: \"RevokeDeviceKey\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/devices/{device_id.value}/revoke\", body: \"*\" }, \"sid.v1.common.access\": { protected: { credentials: [\"CREDENTIAL_KIND_ACCOUNT_API\"], scopes: [\"account.write\"], permission: { action: \"attestation.device.change\", target: \"PERMISSION_TARGET_OWNED_OBJECT\" } } }, \"sid.v1.common.retry\": { keyed: true } }, I: RevokeDeviceKeyRequest, O: Empty },\n { name: \"ListDeviceAttestations\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/attestation/profiles/{profile_id.value}/devices\" }, \"sid.v1.common.access\": { protected: { credentials: [\"CREDENTIAL_KIND_ACCOUNT_API\", \"CREDENTIAL_KIND_CLIENT\"], scopes: [\"account.read\"], permission: { action: \"attestation.profile.read\", target: \"PERMISSION_TARGET_OWNED_OBJECT\" } } } }, I: ListDeviceAttestationsRequest, O: ListDeviceAttestationsResponse }\n]);\n"]}