@structured-id/proto 0.8.0 → 0.10.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 (138) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/generated/sid/v1/account/account.client.d.ts +24 -32
  3. package/dist/generated/sid/v1/account/account.client.js +12 -16
  4. package/dist/generated/sid/v1/account/account.client.js.map +1 -1
  5. package/dist/generated/sid/v1/account/account.js +18 -18
  6. package/dist/generated/sid/v1/account/account.js.map +1 -1
  7. package/dist/generated/sid/v1/admin/admin.js +5 -5
  8. package/dist/generated/sid/v1/admin/admin.js.map +1 -1
  9. package/dist/generated/sid/v1/admin/admin_roles.js +5 -5
  10. package/dist/generated/sid/v1/admin/admin_roles.js.map +1 -1
  11. package/dist/generated/sid/v1/admin/branding.client.d.ts +0 -2
  12. package/dist/generated/sid/v1/admin/branding.client.js +0 -1
  13. package/dist/generated/sid/v1/admin/branding.client.js.map +1 -1
  14. package/dist/generated/sid/v1/admin/branding.js +4 -4
  15. package/dist/generated/sid/v1/admin/branding.js.map +1 -1
  16. package/dist/generated/sid/v1/admin/enrollment.js +4 -4
  17. package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
  18. package/dist/generated/sid/v1/admin/events.js +1 -1
  19. package/dist/generated/sid/v1/admin/events.js.map +1 -1
  20. package/dist/generated/sid/v1/admin/flow.client.d.ts +8 -4
  21. package/dist/generated/sid/v1/admin/flow.client.js +4 -2
  22. package/dist/generated/sid/v1/admin/flow.client.js.map +1 -1
  23. package/dist/generated/sid/v1/admin/flow.js +4 -4
  24. package/dist/generated/sid/v1/admin/flow.js.map +1 -1
  25. package/dist/generated/sid/v1/admin/keys.js +3 -3
  26. package/dist/generated/sid/v1/admin/keys.js.map +1 -1
  27. package/dist/generated/sid/v1/admin/login_experience.js +3 -3
  28. package/dist/generated/sid/v1/admin/login_experience.js.map +1 -1
  29. package/dist/generated/sid/v1/admin/migration.js +3 -3
  30. package/dist/generated/sid/v1/admin/migration.js.map +1 -1
  31. package/dist/generated/sid/v1/admin/notifications.js +3 -3
  32. package/dist/generated/sid/v1/admin/notifications.js.map +1 -1
  33. package/dist/generated/sid/v1/admin/operations.js +5 -5
  34. package/dist/generated/sid/v1/admin/operations.js.map +1 -1
  35. package/dist/generated/sid/v1/admin/organizations.js +1 -1
  36. package/dist/generated/sid/v1/admin/organizations.js.map +1 -1
  37. package/dist/generated/sid/v1/admin/provisioning.client.d.ts +16 -16
  38. package/dist/generated/sid/v1/admin/provisioning.client.js +8 -8
  39. package/dist/generated/sid/v1/admin/provisioning.client.js.map +1 -1
  40. package/dist/generated/sid/v1/admin/provisioning.js +6 -6
  41. package/dist/generated/sid/v1/admin/provisioning.js.map +1 -1
  42. package/dist/generated/sid/v1/admin/scopes.js +7 -7
  43. package/dist/generated/sid/v1/admin/scopes.js.map +1 -1
  44. package/dist/generated/sid/v1/admin/security.client.d.ts +10 -4
  45. package/dist/generated/sid/v1/admin/security.client.js +5 -2
  46. package/dist/generated/sid/v1/admin/security.client.js.map +1 -1
  47. package/dist/generated/sid/v1/admin/security.d.ts +17 -0
  48. package/dist/generated/sid/v1/admin/security.js +26 -10
  49. package/dist/generated/sid/v1/admin/security.js.map +1 -1
  50. package/dist/generated/sid/v1/admin/sessions.js +3 -3
  51. package/dist/generated/sid/v1/admin/sessions.js.map +1 -1
  52. package/dist/generated/sid/v1/admin/settings.js +11 -11
  53. package/dist/generated/sid/v1/admin/settings.js.map +1 -1
  54. package/dist/generated/sid/v1/admin/user_profile.js +1 -1
  55. package/dist/generated/sid/v1/admin/user_profile.js.map +1 -1
  56. package/dist/generated/sid/v1/admin/webhooks.js +9 -9
  57. package/dist/generated/sid/v1/admin/webhooks.js.map +1 -1
  58. package/dist/generated/sid/v1/attestation/attestation.client.d.ts +4 -2
  59. package/dist/generated/sid/v1/attestation/attestation.client.js +2 -1
  60. package/dist/generated/sid/v1/attestation/attestation.client.js.map +1 -1
  61. package/dist/generated/sid/v1/attestation/attestation.js +3 -3
  62. package/dist/generated/sid/v1/attestation/attestation.js.map +1 -1
  63. package/dist/generated/sid/v1/authn/application_session.client.d.ts +45 -2
  64. package/dist/generated/sid/v1/authn/application_session.client.js +25 -1
  65. package/dist/generated/sid/v1/authn/application_session.client.js.map +1 -1
  66. package/dist/generated/sid/v1/authn/application_session.d.ts +24 -0
  67. package/dist/generated/sid/v1/authn/application_session.js +52 -5
  68. package/dist/generated/sid/v1/authn/application_session.js.map +1 -1
  69. package/dist/generated/sid/v1/authn/auth.client.d.ts +40 -36
  70. package/dist/generated/sid/v1/authn/auth.client.js +80 -80
  71. package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
  72. package/dist/generated/sid/v1/authn/auth.d.ts +102 -160
  73. package/dist/generated/sid/v1/authn/auth.js +123 -306
  74. package/dist/generated/sid/v1/authn/auth.js.map +1 -1
  75. package/dist/generated/sid/v1/authn/flows.js +16 -16
  76. package/dist/generated/sid/v1/authn/flows.js.map +1 -1
  77. package/dist/generated/sid/v1/authn/issuer.client.d.ts +44 -0
  78. package/dist/generated/sid/v1/authn/issuer.client.js +24 -0
  79. package/dist/generated/sid/v1/authn/issuer.client.js.map +1 -1
  80. package/dist/generated/sid/v1/authn/issuer.d.ts +40 -0
  81. package/dist/generated/sid/v1/authn/issuer.js +78 -14
  82. package/dist/generated/sid/v1/authn/issuer.js.map +1 -1
  83. package/dist/generated/sid/v1/authn/native_session.d.ts +189 -0
  84. package/dist/generated/sid/v1/authn/native_session.js +265 -0
  85. package/dist/generated/sid/v1/authn/native_session.js.map +1 -0
  86. package/dist/generated/sid/v1/authn/password_history.js +2 -2
  87. package/dist/generated/sid/v1/authn/password_history.js.map +1 -1
  88. package/dist/generated/sid/v1/authn/sender_proof.d.ts +114 -0
  89. package/dist/generated/sid/v1/authn/sender_proof.js +132 -0
  90. package/dist/generated/sid/v1/authn/sender_proof.js.map +1 -0
  91. package/dist/generated/sid/v1/authn/system_integration.js +1 -1
  92. package/dist/generated/sid/v1/authn/system_integration.js.map +1 -1
  93. package/dist/generated/sid/v1/authz/authz.client.d.ts +14 -2
  94. package/dist/generated/sid/v1/authz/authz.client.js +7 -1
  95. package/dist/generated/sid/v1/authz/authz.client.js.map +1 -1
  96. package/dist/generated/sid/v1/authz/authz.d.ts +6 -87
  97. package/dist/generated/sid/v1/authz/authz.js +18 -128
  98. package/dist/generated/sid/v1/authz/authz.js.map +1 -1
  99. package/dist/generated/sid/v1/authz/forward_auth.js +1 -1
  100. package/dist/generated/sid/v1/authz/forward_auth.js.map +1 -1
  101. package/dist/generated/sid/v1/authz/governance.js +3 -3
  102. package/dist/generated/sid/v1/authz/governance.js.map +1 -1
  103. package/dist/generated/sid/v1/common/operation.client.d.ts +47 -0
  104. package/dist/generated/sid/v1/common/operation.client.js +30 -0
  105. package/dist/generated/sid/v1/common/operation.client.js.map +1 -0
  106. package/dist/generated/sid/v1/common/operation.d.ts +126 -0
  107. package/dist/generated/sid/v1/common/operation.js +179 -0
  108. package/dist/generated/sid/v1/common/operation.js.map +1 -0
  109. package/dist/generated/sid/v1/federation/upstream.js +5 -5
  110. package/dist/generated/sid/v1/federation/upstream.js.map +1 -1
  111. package/dist/generated/sid/v1/identity/identity.js +19 -19
  112. package/dist/generated/sid/v1/identity/identity.js.map +1 -1
  113. package/dist/generated/sid/v1/ids/ids.d.ts +2 -0
  114. package/dist/generated/sid/v1/ids/ids.js +1 -0
  115. package/dist/generated/sid/v1/ids/ids.js.map +1 -1
  116. package/dist/generated/sid/v1/machine/machine_user.client.d.ts +6 -2
  117. package/dist/generated/sid/v1/machine/machine_user.client.js +3 -1
  118. package/dist/generated/sid/v1/machine/machine_user.client.js.map +1 -1
  119. package/dist/generated/sid/v1/machine/machine_user.js +10 -10
  120. package/dist/generated/sid/v1/machine/machine_user.js.map +1 -1
  121. package/dist/generated/sid/v1/machine/pat.client.d.ts +4 -2
  122. package/dist/generated/sid/v1/machine/pat.client.js +2 -1
  123. package/dist/generated/sid/v1/machine/pat.client.js.map +1 -1
  124. package/dist/generated/sid/v1/machine/pat.js +4 -4
  125. package/dist/generated/sid/v1/machine/pat.js.map +1 -1
  126. package/dist/generated/sid/v1/projects/projects.client.d.ts +22 -12
  127. package/dist/generated/sid/v1/projects/projects.client.js +11 -6
  128. package/dist/generated/sid/v1/projects/projects.client.js.map +1 -1
  129. package/dist/generated/sid/v1/projects/projects.js +19 -19
  130. package/dist/generated/sid/v1/projects/projects.js.map +1 -1
  131. package/dist/generated/sid/v1/scim/scim.js +14 -14
  132. package/dist/generated/sid/v1/scim/scim.js.map +1 -1
  133. package/dist/generated/sid/v1/test/test.js +8 -8
  134. package/dist/generated/sid/v1/test/test.js.map +1 -1
  135. package/dist/totp.d.ts +16 -0
  136. package/dist/totp.js +64 -0
  137. package/dist/totp.js.map +1 -0
  138. package/package.json +6 -2
@@ -59,6 +59,6 @@ export const VerifyRequest = new VerifyRequest$Type();
59
59
  * @generated ServiceType for protobuf service sid.v1.authz.ForwardAuthService
60
60
  */
61
61
  export const ForwardAuthService = new ServiceType("sid.v1.authz.ForwardAuthService", [
62
- { name: "Verify", idempotency: "IDEMPOTENT", options: { "google.api.http": { custom: { kind: "*", path: "/auth/verify/{application}" } } }, I: VerifyRequest, O: HttpBody }
62
+ { name: "Verify", idempotency: "IDEMPOTENT", options: { "google.api.http": { custom: { kind: "*", path: "/auth/verify/{application}" } }, "sid.v1.common.retry": { ceremony: "RFC 9449 \u00A711.1: a DPoP proof is admitted once by its issuer; the decision otherwise only reads" } }, I: VerifyRequest, O: HttpBody }
63
63
  ]);
64
64
  //# sourceMappingURL=forward_auth.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"forward_auth.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/authz/forward_auth.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,0GAA0G;AAC1G,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MA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AQ,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,4BAA4B,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,QAAQ,EAAE;CAC9K,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/authz/forward_auth.proto\" (package \"sid.v1.authz\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { HttpBody } from \"../../../google/api/httpbody.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\";\n/**\n * @generated from protobuf message sid.v1.authz.VerifyRequest\n */\nexport interface VerifyRequest {\n /**\n * Name of the protected application in the route configuration: letters,\n * digits, '-' and '_'. Set by the reverse proxy's configured address.\n *\n * @generated from protobuf field: string application = 1\n */\n application: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass VerifyRequest$Type extends MessageType<VerifyRequest> {\n constructor() {\n super(\"sid.v1.authz.VerifyRequest\", [\n { no: 1, name: \"application\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<VerifyRequest>): VerifyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.application = \"\";\n if (value !== undefined)\n reflectionMergePartial<VerifyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VerifyRequest): VerifyRequest {\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 /* string application */ 1:\n message.application = 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: VerifyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string application = 1; */\n if (message.application !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.application);\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.authz.VerifyRequest\n */\nexport const VerifyRequest = new VerifyRequest$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.authz.ForwardAuthService\n */\nexport const ForwardAuthService = new ServiceType(\"sid.v1.authz.ForwardAuthService\", [\n { name: \"Verify\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { custom: { kind: \"*\", path: \"/auth/verify/{application}\" } } }, I: VerifyRequest, O: HttpBody }\n]);\n"]}
1
+ {"version":3,"file":"forward_auth.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/authz/forward_auth.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,0GAA0G;AAC1G,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,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,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,4BAA4B,EAAE,EAAE,EAAE,qBAAqB,EAAE,EAAE,QAAQ,EAAE,qGAAqG,EAAE,EAAE,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,QAAQ,EAAE;CAC1T,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/authz/forward_auth.proto\" (package \"sid.v1.authz\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { HttpBody } from \"../../../google/api/httpbody.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\";\n/**\n * @generated from protobuf message sid.v1.authz.VerifyRequest\n */\nexport interface VerifyRequest {\n /**\n * Name of the protected application in the route configuration: letters,\n * digits, '-' and '_'. Set by the reverse proxy's configured address.\n *\n * @generated from protobuf field: string application = 1\n */\n application: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass VerifyRequest$Type extends MessageType<VerifyRequest> {\n constructor() {\n super(\"sid.v1.authz.VerifyRequest\", [\n { no: 1, name: \"application\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<VerifyRequest>): VerifyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.application = \"\";\n if (value !== undefined)\n reflectionMergePartial<VerifyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VerifyRequest): VerifyRequest {\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 /* string application */ 1:\n message.application = 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: VerifyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string application = 1; */\n if (message.application !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.application);\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.authz.VerifyRequest\n */\nexport const VerifyRequest = new VerifyRequest$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.authz.ForwardAuthService\n */\nexport const ForwardAuthService = new ServiceType(\"sid.v1.authz.ForwardAuthService\", [\n { name: \"Verify\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { custom: { kind: \"*\", path: \"/auth/verify/{application}\" } }, \"sid.v1.common.retry\": { ceremony: \"RFC 9449 \\u00A711.1: a DPoP proof is admitted once by its issuer; the decision otherwise only reads\" } }, I: VerifyRequest, O: HttpBody }\n]);\n"]}
@@ -650,9 +650,9 @@ export const GrantTemporaryRoleResponse = new GrantTemporaryRoleResponse$Type();
650
650
  * @generated ServiceType for protobuf service sid.v1.authz.GovernanceService
651
651
  */
652
652
  export const GovernanceService = new ServiceType("sid.v1.authz.GovernanceService", [
653
- { name: "RequestAccess", options: { "google.api.http": { post: "/v1/governance/access-requests", body: "*" } }, I: AccessRequestMessage, O: AccessRequestResponse },
653
+ { name: "RequestAccess", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/governance/access-requests", body: "*" }, "sid.v1.common.retry": { keyed: true } }, I: AccessRequestMessage, O: AccessRequestResponse },
654
654
  { name: "ListPendingRequests", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/governance/access-requests" } }, I: ListPendingRequestsRequest, O: ListPendingRequestsResponse },
655
- { name: "DecideRequest", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/governance/access-requests/{request_id}/decide", body: "*" } }, I: DecideRequestRequest, O: DecideRequestResponse },
656
- { name: "GrantTemporaryRole", options: { "google.api.http": { post: "/v1/governance/temporary-roles", body: "*" } }, I: GrantTemporaryRoleRequest, O: GrantTemporaryRoleResponse }
655
+ { name: "DecideRequest", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/governance/access-requests/{request_id}/decide", body: "*" }, "sid.v1.common.retry": { keyed: true } }, I: DecideRequestRequest, O: DecideRequestResponse },
656
+ { name: "GrantTemporaryRole", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/governance/temporary-roles", body: "*" }, "sid.v1.common.retry": { keyed: true } }, I: GrantTemporaryRoleRequest, O: GrantTemporaryRoleResponse }
657
657
  ]);
658
658
  //# sourceMappingURL=governance.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"governance.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/authz/governance.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,wGAAwG;AACxG,iBAAiB;AACjB,cAAc;AACd,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,O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AE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,gCAAgC,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,EAAE,yBAAyB,EAAE,CAAC,EAAE,0BAA0B,EAAE;CACrL,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/authz/governance.proto\" (package \"sid.v1.authz\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\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 { PaginationResponse } from \"../common/pagination.js\";\nimport { PaginationRequest } from \"../common/pagination.js\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.js\";\nimport { Duration } from \"../../../google/protobuf/duration.js\";\n// ══════════════════════════════════════════════════════════════════════════\n// Access Requests\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * @generated from protobuf message sid.v1.authz.AccessRequestMessage\n */\nexport interface AccessRequestMessage {\n /**\n * Profile asking for the role (UUID). The caller itself, or anyone when an\n * administrator files the request on its behalf.\n *\n * @generated from protobuf field: string requester_profile_id = 1\n */\n requesterProfileId: string;\n /**\n * Key of the requested role within `project_id`. A role the project does\n * not define is NOT_FOUND; nothing is stored.\n *\n * @generated from protobuf field: string requested_role = 2\n */\n requestedRole: string;\n /**\n * Why the requester needs the role, shown to the approver.\n *\n * @generated from protobuf field: string justification = 3\n */\n justification: string;\n /**\n * How long the role is wanted; absent = permanent. On approval the\n * assignment expires after it.\n *\n * @generated from protobuf field: optional google.protobuf.Duration requested_duration = 4\n */\n requestedDuration?: Duration;\n /**\n * Project (UUID) whose role is requested: roles are defined per project.\n * An unknown project is NOT_FOUND.\n *\n * @generated from protobuf field: string project_id = 5\n */\n projectId: string;\n}\n/**\n * @generated from protobuf message sid.v1.authz.AccessRequestResponse\n */\nexport interface AccessRequestResponse {\n /**\n * @generated from protobuf field: string request_id = 1\n */\n requestId: string;\n /**\n * @generated from protobuf field: sid.v1.authz.AccessRequestStatus status = 2\n */\n status: AccessRequestStatus;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp created_at = 3\n */\n createdAt?: Timestamp;\n}\n/**\n * @generated from protobuf message sid.v1.authz.ListPendingRequestsRequest\n */\nexport interface ListPendingRequestsRequest {\n /**\n * @generated from protobuf field: sid.v1.common.PaginationRequest pagination = 1\n */\n pagination?: PaginationRequest;\n}\n/**\n * @generated from protobuf message sid.v1.authz.ListPendingRequestsResponse\n */\nexport interface ListPendingRequestsResponse {\n /**\n * @generated from protobuf field: repeated sid.v1.authz.AccessRequestDetail requests = 1\n */\n requests: AccessRequestDetail[];\n /**\n * @generated from protobuf field: sid.v1.common.PaginationResponse pagination = 2\n */\n pagination?: PaginationResponse;\n}\n/**\n * @generated from protobuf message sid.v1.authz.AccessRequestDetail\n */\nexport interface AccessRequestDetail {\n /**\n * @generated from protobuf field: string request_id = 1\n */\n requestId: string;\n /**\n * @generated from protobuf field: string requester_profile_id = 2\n */\n requesterProfileId: string;\n /**\n * @generated from protobuf field: string requester_display_name = 3\n */\n requesterDisplayName: string;\n /**\n * @generated from protobuf field: string requested_role = 4\n */\n requestedRole: string;\n /**\n * @generated from protobuf field: string justification = 5\n */\n justification: string;\n /**\n * @generated from protobuf field: optional google.protobuf.Duration requested_duration = 6\n */\n requestedDuration?: Duration;\n /**\n * @generated from protobuf field: sid.v1.authz.AccessRequestStatus status = 7\n */\n status: AccessRequestStatus;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp created_at = 8\n */\n createdAt?: Timestamp;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 9\n */\n expiresAt?: Timestamp; // Request auto-denied after this\n}\n/**\n * @generated from protobuf message sid.v1.authz.DecideRequestRequest\n */\nexport interface DecideRequestRequest {\n /**\n * Access request (UUID) being decided.\n *\n * @generated from protobuf field: string request_id = 1\n */\n requestId: string;\n /**\n * Approve (grant the role) or deny. An approval and the role assignment it\n * makes are recorded together: when the role can no longer be assigned\n * (it was deleted) the call fails FAILED_PRECONDITION and the request\n * stays pending.\n *\n * @generated from protobuf field: bool approved = 2\n */\n approved: boolean;\n /**\n * Reviewer's comment, recorded on the request.\n *\n * @generated from protobuf field: string reason = 3\n */\n reason: string;\n}\n/**\n * @generated from protobuf message sid.v1.authz.DecideRequestResponse\n */\nexport interface DecideRequestResponse {\n /**\n * @generated from protobuf field: string request_id = 1\n */\n requestId: string;\n /**\n * @generated from protobuf field: sid.v1.authz.AccessRequestStatus status = 2\n */\n status: AccessRequestStatus;\n}\n// ══════════════════════════════════════════════════════════════════════════\n// Temporary Roles\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * @generated from protobuf message sid.v1.authz.GrantTemporaryRoleRequest\n */\nexport interface GrantTemporaryRoleRequest {\n /**\n * Profile receiving the role (UUID); an unknown profile is NOT_FOUND.\n *\n * @generated from protobuf field: string profile_id = 1\n */\n profileId: string;\n /**\n * Key of the role within `project_id`; an unknown role is NOT_FOUND.\n *\n * @generated from protobuf field: string role = 2\n */\n role: string;\n /**\n * When the assignment is revoked automatically; must be in the future.\n *\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 3\n */\n expiresAt?: Timestamp;\n /**\n * Why the role is granted, recorded in the audit trail.\n *\n * @generated from protobuf field: string justification = 4\n */\n justification: string;\n /**\n * Project (UUID) whose role is granted: roles are defined per project.\n *\n * @generated from protobuf field: string project_id = 5\n */\n projectId: string;\n}\n/**\n * @generated from protobuf message sid.v1.authz.GrantTemporaryRoleResponse\n */\nexport interface GrantTemporaryRoleResponse {\n /**\n * @generated from protobuf field: string assignment_id = 1\n */\n assignmentId: string;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 2\n */\n expiresAt?: Timestamp;\n}\n// ══════════════════════════════════════════════════════════════════════════\n// Enums\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * @generated from protobuf enum sid.v1.authz.AccessRequestStatus\n */\nexport enum AccessRequestStatus {\n /**\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_PENDING = 1;\n */\n PENDING = 1,\n /**\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_APPROVED = 2;\n */\n APPROVED = 2,\n /**\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_DENIED = 3;\n */\n DENIED = 3,\n /**\n * Request timed out without decision\n *\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_EXPIRED = 4;\n */\n EXPIRED = 4,\n /**\n * Requester cancelled\n *\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_CANCELLED = 5;\n */\n CANCELLED = 5\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass AccessRequestMessage$Type extends MessageType<AccessRequestMessage> {\n constructor() {\n super(\"sid.v1.authz.AccessRequestMessage\", [\n { no: 1, name: \"requester_profile_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"requested_role\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"justification\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"requested_duration\", kind: \"message\", T: () => Duration },\n { no: 5, name: \"project_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<AccessRequestMessage>): AccessRequestMessage {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requesterProfileId = \"\";\n message.requestedRole = \"\";\n message.justification = \"\";\n message.projectId = \"\";\n if (value !== undefined)\n reflectionMergePartial<AccessRequestMessage>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AccessRequestMessage): AccessRequestMessage {\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 /* string requester_profile_id */ 1:\n message.requesterProfileId = reader.string();\n break;\n case /* string requested_role */ 2:\n message.requestedRole = reader.string();\n break;\n case /* string justification */ 3:\n message.justification = reader.string();\n break;\n case /* optional google.protobuf.Duration requested_duration */ 4:\n message.requestedDuration = Duration.internalBinaryRead(reader, reader.uint32(), options, message.requestedDuration);\n break;\n case /* string project_id */ 5:\n message.projectId = 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: AccessRequestMessage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string requester_profile_id = 1; */\n if (message.requesterProfileId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.requesterProfileId);\n /* string requested_role = 2; */\n if (message.requestedRole !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.requestedRole);\n /* string justification = 3; */\n if (message.justification !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.justification);\n /* optional google.protobuf.Duration requested_duration = 4; */\n if (message.requestedDuration)\n Duration.internalBinaryWrite(message.requestedDuration, writer.tag(4, WireType.LengthDelimited).fork(), options).join();\n /* string project_id = 5; */\n if (message.projectId !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.projectId);\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.authz.AccessRequestMessage\n */\nexport const AccessRequestMessage = new AccessRequestMessage$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass AccessRequestResponse$Type extends MessageType<AccessRequestResponse> {\n constructor() {\n super(\"sid.v1.authz.AccessRequestResponse\", [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"status\", kind: \"enum\", T: () => [\"sid.v1.authz.AccessRequestStatus\", AccessRequestStatus, \"ACCESS_REQUEST_STATUS_\"] },\n { no: 3, name: \"created_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<AccessRequestResponse>): AccessRequestResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requestId = \"\";\n message.status = 0;\n if (value !== undefined)\n reflectionMergePartial<AccessRequestResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AccessRequestResponse): AccessRequestResponse {\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 /* string request_id */ 1:\n message.requestId = reader.string();\n break;\n case /* sid.v1.authz.AccessRequestStatus status */ 2:\n message.status = reader.int32();\n break;\n case /* google.protobuf.Timestamp created_at */ 3:\n message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);\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: AccessRequestResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string request_id = 1; */\n if (message.requestId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.requestId);\n /* sid.v1.authz.AccessRequestStatus status = 2; */\n if (message.status !== 0)\n writer.tag(2, WireType.Varint).int32(message.status);\n /* google.protobuf.Timestamp created_at = 3; */\n if (message.createdAt)\n Timestamp.internalBinaryWrite(message.createdAt, writer.tag(3, 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.authz.AccessRequestResponse\n */\nexport const AccessRequestResponse = new AccessRequestResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPendingRequestsRequest$Type extends MessageType<ListPendingRequestsRequest> {\n constructor() {\n super(\"sid.v1.authz.ListPendingRequestsRequest\", [\n { no: 1, name: \"pagination\", kind: \"message\", T: () => PaginationRequest }\n ]);\n }\n create(value?: PartialMessage<ListPendingRequestsRequest>): ListPendingRequestsRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ListPendingRequestsRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListPendingRequestsRequest): ListPendingRequestsRequest {\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.common.PaginationRequest pagination */ 1:\n message.pagination = PaginationRequest.internalBinaryRead(reader, reader.uint32(), options, message.pagination);\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: ListPendingRequestsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.common.PaginationRequest pagination = 1; */\n if (message.pagination)\n PaginationRequest.internalBinaryWrite(message.pagination, 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.authz.ListPendingRequestsRequest\n */\nexport const ListPendingRequestsRequest = new ListPendingRequestsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPendingRequestsResponse$Type extends MessageType<ListPendingRequestsResponse> {\n constructor() {\n super(\"sid.v1.authz.ListPendingRequestsResponse\", [\n { no: 1, name: \"requests\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AccessRequestDetail },\n { no: 2, name: \"pagination\", kind: \"message\", T: () => PaginationResponse }\n ]);\n }\n create(value?: PartialMessage<ListPendingRequestsResponse>): ListPendingRequestsResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requests = [];\n if (value !== undefined)\n reflectionMergePartial<ListPendingRequestsResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListPendingRequestsResponse): ListPendingRequestsResponse {\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.authz.AccessRequestDetail requests */ 1:\n message.requests.push(AccessRequestDetail.internalBinaryRead(reader, reader.uint32(), options));\n break;\n case /* sid.v1.common.PaginationResponse pagination */ 2:\n message.pagination = PaginationResponse.internalBinaryRead(reader, reader.uint32(), options, message.pagination);\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: ListPendingRequestsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated sid.v1.authz.AccessRequestDetail requests = 1; */\n for (let i = 0; i < message.requests.length; i++)\n AccessRequestDetail.internalBinaryWrite(message.requests[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.common.PaginationResponse pagination = 2; */\n if (message.pagination)\n PaginationResponse.internalBinaryWrite(message.pagination, writer.tag(2, 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.authz.ListPendingRequestsResponse\n */\nexport const ListPendingRequestsResponse = new ListPendingRequestsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass AccessRequestDetail$Type extends MessageType<AccessRequestDetail> {\n constructor() {\n super(\"sid.v1.authz.AccessRequestDetail\", [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"requester_profile_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"requester_display_name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"requested_role\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"justification\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"requested_duration\", kind: \"message\", T: () => Duration },\n { no: 7, name: \"status\", kind: \"enum\", T: () => [\"sid.v1.authz.AccessRequestStatus\", AccessRequestStatus, \"ACCESS_REQUEST_STATUS_\"] },\n { no: 8, name: \"created_at\", kind: \"message\", T: () => Timestamp },\n { no: 9, name: \"expires_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<AccessRequestDetail>): AccessRequestDetail {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requestId = \"\";\n message.requesterProfileId = \"\";\n message.requesterDisplayName = \"\";\n message.requestedRole = \"\";\n message.justification = \"\";\n message.status = 0;\n if (value !== undefined)\n reflectionMergePartial<AccessRequestDetail>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AccessRequestDetail): AccessRequestDetail {\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 /* string request_id */ 1:\n message.requestId = reader.string();\n break;\n case /* string requester_profile_id */ 2:\n message.requesterProfileId = reader.string();\n break;\n case /* string requester_display_name */ 3:\n message.requesterDisplayName = reader.string();\n break;\n case /* string requested_role */ 4:\n message.requestedRole = reader.string();\n break;\n case /* string justification */ 5:\n message.justification = reader.string();\n break;\n case /* optional google.protobuf.Duration requested_duration */ 6:\n message.requestedDuration = Duration.internalBinaryRead(reader, reader.uint32(), options, message.requestedDuration);\n break;\n case /* sid.v1.authz.AccessRequestStatus status */ 7:\n message.status = reader.int32();\n break;\n case /* google.protobuf.Timestamp created_at */ 8:\n message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);\n break;\n case /* google.protobuf.Timestamp expires_at */ 9:\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: AccessRequestDetail, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string request_id = 1; */\n if (message.requestId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.requestId);\n /* string requester_profile_id = 2; */\n if (message.requesterProfileId !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.requesterProfileId);\n /* string requester_display_name = 3; */\n if (message.requesterDisplayName !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.requesterDisplayName);\n /* string requested_role = 4; */\n if (message.requestedRole !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.requestedRole);\n /* string justification = 5; */\n if (message.justification !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.justification);\n /* optional google.protobuf.Duration requested_duration = 6; */\n if (message.requestedDuration)\n Duration.internalBinaryWrite(message.requestedDuration, writer.tag(6, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.authz.AccessRequestStatus status = 7; */\n if (message.status !== 0)\n writer.tag(7, WireType.Varint).int32(message.status);\n /* google.protobuf.Timestamp created_at = 8; */\n if (message.createdAt)\n Timestamp.internalBinaryWrite(message.createdAt, writer.tag(8, WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.Timestamp expires_at = 9; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(9, 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.authz.AccessRequestDetail\n */\nexport const AccessRequestDetail = new AccessRequestDetail$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DecideRequestRequest$Type extends MessageType<DecideRequestRequest> {\n constructor() {\n super(\"sid.v1.authz.DecideRequestRequest\", [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"approved\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 3, name: \"reason\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<DecideRequestRequest>): DecideRequestRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requestId = \"\";\n message.approved = false;\n message.reason = \"\";\n if (value !== undefined)\n reflectionMergePartial<DecideRequestRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DecideRequestRequest): DecideRequestRequest {\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 /* string request_id */ 1:\n message.requestId = reader.string();\n break;\n case /* bool approved */ 2:\n message.approved = reader.bool();\n break;\n case /* string reason */ 3:\n message.reason = 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: DecideRequestRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string request_id = 1; */\n if (message.requestId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.requestId);\n /* bool approved = 2; */\n if (message.approved !== false)\n writer.tag(2, WireType.Varint).bool(message.approved);\n /* string reason = 3; */\n if (message.reason !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.reason);\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.authz.DecideRequestRequest\n */\nexport const DecideRequestRequest = new DecideRequestRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DecideRequestResponse$Type extends MessageType<DecideRequestResponse> {\n constructor() {\n super(\"sid.v1.authz.DecideRequestResponse\", [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"status\", kind: \"enum\", T: () => [\"sid.v1.authz.AccessRequestStatus\", AccessRequestStatus, \"ACCESS_REQUEST_STATUS_\"] }\n ]);\n }\n create(value?: PartialMessage<DecideRequestResponse>): DecideRequestResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requestId = \"\";\n message.status = 0;\n if (value !== undefined)\n reflectionMergePartial<DecideRequestResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DecideRequestResponse): DecideRequestResponse {\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 /* string request_id */ 1:\n message.requestId = reader.string();\n break;\n case /* sid.v1.authz.AccessRequestStatus status */ 2:\n message.status = reader.int32();\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: DecideRequestResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string request_id = 1; */\n if (message.requestId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.requestId);\n /* sid.v1.authz.AccessRequestStatus status = 2; */\n if (message.status !== 0)\n writer.tag(2, WireType.Varint).int32(message.status);\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.authz.DecideRequestResponse\n */\nexport const DecideRequestResponse = new DecideRequestResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GrantTemporaryRoleRequest$Type extends MessageType<GrantTemporaryRoleRequest> {\n constructor() {\n super(\"sid.v1.authz.GrantTemporaryRoleRequest\", [\n { no: 1, name: \"profile_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"role\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"expires_at\", kind: \"message\", T: () => Timestamp },\n { no: 4, name: \"justification\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"project_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<GrantTemporaryRoleRequest>): GrantTemporaryRoleRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.profileId = \"\";\n message.role = \"\";\n message.justification = \"\";\n message.projectId = \"\";\n if (value !== undefined)\n reflectionMergePartial<GrantTemporaryRoleRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GrantTemporaryRoleRequest): GrantTemporaryRoleRequest {\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 /* string profile_id */ 1:\n message.profileId = reader.string();\n break;\n case /* string role */ 2:\n message.role = reader.string();\n break;\n case /* google.protobuf.Timestamp expires_at */ 3:\n message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);\n break;\n case /* string justification */ 4:\n message.justification = reader.string();\n break;\n case /* string project_id */ 5:\n message.projectId = 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: GrantTemporaryRoleRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string profile_id = 1; */\n if (message.profileId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.profileId);\n /* string role = 2; */\n if (message.role !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.role);\n /* google.protobuf.Timestamp expires_at = 3; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n /* string justification = 4; */\n if (message.justification !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.justification);\n /* string project_id = 5; */\n if (message.projectId !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.projectId);\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.authz.GrantTemporaryRoleRequest\n */\nexport const GrantTemporaryRoleRequest = new GrantTemporaryRoleRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GrantTemporaryRoleResponse$Type extends MessageType<GrantTemporaryRoleResponse> {\n constructor() {\n super(\"sid.v1.authz.GrantTemporaryRoleResponse\", [\n { no: 1, name: \"assignment_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"expires_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<GrantTemporaryRoleResponse>): GrantTemporaryRoleResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.assignmentId = \"\";\n if (value !== undefined)\n reflectionMergePartial<GrantTemporaryRoleResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GrantTemporaryRoleResponse): GrantTemporaryRoleResponse {\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 /* string assignment_id */ 1:\n message.assignmentId = reader.string();\n break;\n case /* google.protobuf.Timestamp expires_at */ 2:\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: GrantTemporaryRoleResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string assignment_id = 1; */\n if (message.assignmentId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.assignmentId);\n /* google.protobuf.Timestamp expires_at = 2; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(2, 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.authz.GrantTemporaryRoleResponse\n */\nexport const GrantTemporaryRoleResponse = new GrantTemporaryRoleResponse$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.authz.GovernanceService\n */\nexport const GovernanceService = new ServiceType(\"sid.v1.authz.GovernanceService\", [\n { name: \"RequestAccess\", options: { \"google.api.http\": { post: \"/v1/governance/access-requests\", body: \"*\" } }, I: AccessRequestMessage, O: AccessRequestResponse },\n { name: \"ListPendingRequests\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/governance/access-requests\" } }, I: ListPendingRequestsRequest, O: ListPendingRequestsResponse },\n { name: \"DecideRequest\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/governance/access-requests/{request_id}/decide\", body: \"*\" } }, I: DecideRequestRequest, O: DecideRequestResponse },\n { name: \"GrantTemporaryRole\", options: { \"google.api.http\": { post: \"/v1/governance/temporary-roles\", body: \"*\" } }, I: GrantTemporaryRoleRequest, O: GrantTemporaryRoleResponse }\n]);\n"]}
1
+ {"version":3,"file":"governance.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/authz/governance.ts"],"names":[],"mappings":"AAAA,kGAAkG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,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,GAAG,EAAE,gCAAgC,EAAE,EAAE,EAAE,CAAC,EAAE,0BAA0B,EAAE,CAAC,EAAE,2BAA2B,EAAE;IACzM,EAAE,IAAI,EAAE,eAAe,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,oDAAoD,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,qBAAqB,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,oBAAoB,EAAE,CAAC,EAAE,qBAAqB,EAAE;IAC1P,EAAE,IAAI,EAAE,oBAAoB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,gCAAgC,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,qBAAqB,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,yBAAyB,EAAE,CAAC,EAAE,0BAA0B,EAAE;CACxP,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/authz/governance.proto\" (package \"sid.v1.authz\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\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 { PaginationResponse } from \"../common/pagination.js\";\nimport { PaginationRequest } from \"../common/pagination.js\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.js\";\nimport { Duration } from \"../../../google/protobuf/duration.js\";\n// ══════════════════════════════════════════════════════════════════════════\n// Access Requests\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * @generated from protobuf message sid.v1.authz.AccessRequestMessage\n */\nexport interface AccessRequestMessage {\n /**\n * Profile asking for the role (UUID). The caller itself, or anyone when an\n * administrator files the request on its behalf.\n *\n * @generated from protobuf field: string requester_profile_id = 1\n */\n requesterProfileId: string;\n /**\n * Key of the requested role within `project_id`. A role the project does\n * not define is NOT_FOUND; nothing is stored.\n *\n * @generated from protobuf field: string requested_role = 2\n */\n requestedRole: string;\n /**\n * Why the requester needs the role, shown to the approver.\n *\n * @generated from protobuf field: string justification = 3\n */\n justification: string;\n /**\n * How long the role is wanted; absent = permanent. On approval the\n * assignment expires after it.\n *\n * @generated from protobuf field: optional google.protobuf.Duration requested_duration = 4\n */\n requestedDuration?: Duration;\n /**\n * Project (UUID) whose role is requested: roles are defined per project.\n * An unknown project is NOT_FOUND.\n *\n * @generated from protobuf field: string project_id = 5\n */\n projectId: string;\n}\n/**\n * @generated from protobuf message sid.v1.authz.AccessRequestResponse\n */\nexport interface AccessRequestResponse {\n /**\n * @generated from protobuf field: string request_id = 1\n */\n requestId: string;\n /**\n * @generated from protobuf field: sid.v1.authz.AccessRequestStatus status = 2\n */\n status: AccessRequestStatus;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp created_at = 3\n */\n createdAt?: Timestamp;\n}\n/**\n * @generated from protobuf message sid.v1.authz.ListPendingRequestsRequest\n */\nexport interface ListPendingRequestsRequest {\n /**\n * @generated from protobuf field: sid.v1.common.PaginationRequest pagination = 1\n */\n pagination?: PaginationRequest;\n}\n/**\n * @generated from protobuf message sid.v1.authz.ListPendingRequestsResponse\n */\nexport interface ListPendingRequestsResponse {\n /**\n * @generated from protobuf field: repeated sid.v1.authz.AccessRequestDetail requests = 1\n */\n requests: AccessRequestDetail[];\n /**\n * @generated from protobuf field: sid.v1.common.PaginationResponse pagination = 2\n */\n pagination?: PaginationResponse;\n}\n/**\n * @generated from protobuf message sid.v1.authz.AccessRequestDetail\n */\nexport interface AccessRequestDetail {\n /**\n * @generated from protobuf field: string request_id = 1\n */\n requestId: string;\n /**\n * @generated from protobuf field: string requester_profile_id = 2\n */\n requesterProfileId: string;\n /**\n * @generated from protobuf field: string requester_display_name = 3\n */\n requesterDisplayName: string;\n /**\n * @generated from protobuf field: string requested_role = 4\n */\n requestedRole: string;\n /**\n * @generated from protobuf field: string justification = 5\n */\n justification: string;\n /**\n * @generated from protobuf field: optional google.protobuf.Duration requested_duration = 6\n */\n requestedDuration?: Duration;\n /**\n * @generated from protobuf field: sid.v1.authz.AccessRequestStatus status = 7\n */\n status: AccessRequestStatus;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp created_at = 8\n */\n createdAt?: Timestamp;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 9\n */\n expiresAt?: Timestamp; // Request auto-denied after this\n}\n/**\n * @generated from protobuf message sid.v1.authz.DecideRequestRequest\n */\nexport interface DecideRequestRequest {\n /**\n * Access request (UUID) being decided.\n *\n * @generated from protobuf field: string request_id = 1\n */\n requestId: string;\n /**\n * Approve (grant the role) or deny. An approval and the role assignment it\n * makes are recorded together: when the role can no longer be assigned\n * (it was deleted) the call fails FAILED_PRECONDITION and the request\n * stays pending.\n *\n * @generated from protobuf field: bool approved = 2\n */\n approved: boolean;\n /**\n * Reviewer's comment, recorded on the request.\n *\n * @generated from protobuf field: string reason = 3\n */\n reason: string;\n}\n/**\n * @generated from protobuf message sid.v1.authz.DecideRequestResponse\n */\nexport interface DecideRequestResponse {\n /**\n * @generated from protobuf field: string request_id = 1\n */\n requestId: string;\n /**\n * @generated from protobuf field: sid.v1.authz.AccessRequestStatus status = 2\n */\n status: AccessRequestStatus;\n}\n// ══════════════════════════════════════════════════════════════════════════\n// Temporary Roles\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * @generated from protobuf message sid.v1.authz.GrantTemporaryRoleRequest\n */\nexport interface GrantTemporaryRoleRequest {\n /**\n * Profile receiving the role (UUID); an unknown profile is NOT_FOUND.\n *\n * @generated from protobuf field: string profile_id = 1\n */\n profileId: string;\n /**\n * Key of the role within `project_id`; an unknown role is NOT_FOUND.\n *\n * @generated from protobuf field: string role = 2\n */\n role: string;\n /**\n * When the assignment is revoked automatically; must be in the future.\n *\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 3\n */\n expiresAt?: Timestamp;\n /**\n * Why the role is granted, recorded in the audit trail.\n *\n * @generated from protobuf field: string justification = 4\n */\n justification: string;\n /**\n * Project (UUID) whose role is granted: roles are defined per project.\n *\n * @generated from protobuf field: string project_id = 5\n */\n projectId: string;\n}\n/**\n * @generated from protobuf message sid.v1.authz.GrantTemporaryRoleResponse\n */\nexport interface GrantTemporaryRoleResponse {\n /**\n * @generated from protobuf field: string assignment_id = 1\n */\n assignmentId: string;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 2\n */\n expiresAt?: Timestamp;\n}\n// ══════════════════════════════════════════════════════════════════════════\n// Enums\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * @generated from protobuf enum sid.v1.authz.AccessRequestStatus\n */\nexport enum AccessRequestStatus {\n /**\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_PENDING = 1;\n */\n PENDING = 1,\n /**\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_APPROVED = 2;\n */\n APPROVED = 2,\n /**\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_DENIED = 3;\n */\n DENIED = 3,\n /**\n * Request timed out without decision\n *\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_EXPIRED = 4;\n */\n EXPIRED = 4,\n /**\n * Requester cancelled\n *\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_CANCELLED = 5;\n */\n CANCELLED = 5\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass AccessRequestMessage$Type extends MessageType<AccessRequestMessage> {\n constructor() {\n super(\"sid.v1.authz.AccessRequestMessage\", [\n { no: 1, name: \"requester_profile_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"requested_role\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"justification\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"requested_duration\", kind: \"message\", T: () => Duration },\n { no: 5, name: \"project_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<AccessRequestMessage>): AccessRequestMessage {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requesterProfileId = \"\";\n message.requestedRole = \"\";\n message.justification = \"\";\n message.projectId = \"\";\n if (value !== undefined)\n reflectionMergePartial<AccessRequestMessage>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AccessRequestMessage): AccessRequestMessage {\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 /* string requester_profile_id */ 1:\n message.requesterProfileId = reader.string();\n break;\n case /* string requested_role */ 2:\n message.requestedRole = reader.string();\n break;\n case /* string justification */ 3:\n message.justification = reader.string();\n break;\n case /* optional google.protobuf.Duration requested_duration */ 4:\n message.requestedDuration = Duration.internalBinaryRead(reader, reader.uint32(), options, message.requestedDuration);\n break;\n case /* string project_id */ 5:\n message.projectId = 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: AccessRequestMessage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string requester_profile_id = 1; */\n if (message.requesterProfileId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.requesterProfileId);\n /* string requested_role = 2; */\n if (message.requestedRole !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.requestedRole);\n /* string justification = 3; */\n if (message.justification !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.justification);\n /* optional google.protobuf.Duration requested_duration = 4; */\n if (message.requestedDuration)\n Duration.internalBinaryWrite(message.requestedDuration, writer.tag(4, WireType.LengthDelimited).fork(), options).join();\n /* string project_id = 5; */\n if (message.projectId !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.projectId);\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.authz.AccessRequestMessage\n */\nexport const AccessRequestMessage = new AccessRequestMessage$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass AccessRequestResponse$Type extends MessageType<AccessRequestResponse> {\n constructor() {\n super(\"sid.v1.authz.AccessRequestResponse\", [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"status\", kind: \"enum\", T: () => [\"sid.v1.authz.AccessRequestStatus\", AccessRequestStatus, \"ACCESS_REQUEST_STATUS_\"] },\n { no: 3, name: \"created_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<AccessRequestResponse>): AccessRequestResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requestId = \"\";\n message.status = 0;\n if (value !== undefined)\n reflectionMergePartial<AccessRequestResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AccessRequestResponse): AccessRequestResponse {\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 /* string request_id */ 1:\n message.requestId = reader.string();\n break;\n case /* sid.v1.authz.AccessRequestStatus status */ 2:\n message.status = reader.int32();\n break;\n case /* google.protobuf.Timestamp created_at */ 3:\n message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);\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: AccessRequestResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string request_id = 1; */\n if (message.requestId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.requestId);\n /* sid.v1.authz.AccessRequestStatus status = 2; */\n if (message.status !== 0)\n writer.tag(2, WireType.Varint).int32(message.status);\n /* google.protobuf.Timestamp created_at = 3; */\n if (message.createdAt)\n Timestamp.internalBinaryWrite(message.createdAt, writer.tag(3, 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.authz.AccessRequestResponse\n */\nexport const AccessRequestResponse = new AccessRequestResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPendingRequestsRequest$Type extends MessageType<ListPendingRequestsRequest> {\n constructor() {\n super(\"sid.v1.authz.ListPendingRequestsRequest\", [\n { no: 1, name: \"pagination\", kind: \"message\", T: () => PaginationRequest }\n ]);\n }\n create(value?: PartialMessage<ListPendingRequestsRequest>): ListPendingRequestsRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ListPendingRequestsRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListPendingRequestsRequest): ListPendingRequestsRequest {\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.common.PaginationRequest pagination */ 1:\n message.pagination = PaginationRequest.internalBinaryRead(reader, reader.uint32(), options, message.pagination);\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: ListPendingRequestsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.common.PaginationRequest pagination = 1; */\n if (message.pagination)\n PaginationRequest.internalBinaryWrite(message.pagination, 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.authz.ListPendingRequestsRequest\n */\nexport const ListPendingRequestsRequest = new ListPendingRequestsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPendingRequestsResponse$Type extends MessageType<ListPendingRequestsResponse> {\n constructor() {\n super(\"sid.v1.authz.ListPendingRequestsResponse\", [\n { no: 1, name: \"requests\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AccessRequestDetail },\n { no: 2, name: \"pagination\", kind: \"message\", T: () => PaginationResponse }\n ]);\n }\n create(value?: PartialMessage<ListPendingRequestsResponse>): ListPendingRequestsResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requests = [];\n if (value !== undefined)\n reflectionMergePartial<ListPendingRequestsResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListPendingRequestsResponse): ListPendingRequestsResponse {\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.authz.AccessRequestDetail requests */ 1:\n message.requests.push(AccessRequestDetail.internalBinaryRead(reader, reader.uint32(), options));\n break;\n case /* sid.v1.common.PaginationResponse pagination */ 2:\n message.pagination = PaginationResponse.internalBinaryRead(reader, reader.uint32(), options, message.pagination);\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: ListPendingRequestsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated sid.v1.authz.AccessRequestDetail requests = 1; */\n for (let i = 0; i < message.requests.length; i++)\n AccessRequestDetail.internalBinaryWrite(message.requests[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.common.PaginationResponse pagination = 2; */\n if (message.pagination)\n PaginationResponse.internalBinaryWrite(message.pagination, writer.tag(2, 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.authz.ListPendingRequestsResponse\n */\nexport const ListPendingRequestsResponse = new ListPendingRequestsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass AccessRequestDetail$Type extends MessageType<AccessRequestDetail> {\n constructor() {\n super(\"sid.v1.authz.AccessRequestDetail\", [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"requester_profile_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"requester_display_name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"requested_role\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"justification\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"requested_duration\", kind: \"message\", T: () => Duration },\n { no: 7, name: \"status\", kind: \"enum\", T: () => [\"sid.v1.authz.AccessRequestStatus\", AccessRequestStatus, \"ACCESS_REQUEST_STATUS_\"] },\n { no: 8, name: \"created_at\", kind: \"message\", T: () => Timestamp },\n { no: 9, name: \"expires_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<AccessRequestDetail>): AccessRequestDetail {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requestId = \"\";\n message.requesterProfileId = \"\";\n message.requesterDisplayName = \"\";\n message.requestedRole = \"\";\n message.justification = \"\";\n message.status = 0;\n if (value !== undefined)\n reflectionMergePartial<AccessRequestDetail>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AccessRequestDetail): AccessRequestDetail {\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 /* string request_id */ 1:\n message.requestId = reader.string();\n break;\n case /* string requester_profile_id */ 2:\n message.requesterProfileId = reader.string();\n break;\n case /* string requester_display_name */ 3:\n message.requesterDisplayName = reader.string();\n break;\n case /* string requested_role */ 4:\n message.requestedRole = reader.string();\n break;\n case /* string justification */ 5:\n message.justification = reader.string();\n break;\n case /* optional google.protobuf.Duration requested_duration */ 6:\n message.requestedDuration = Duration.internalBinaryRead(reader, reader.uint32(), options, message.requestedDuration);\n break;\n case /* sid.v1.authz.AccessRequestStatus status */ 7:\n message.status = reader.int32();\n break;\n case /* google.protobuf.Timestamp created_at */ 8:\n message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);\n break;\n case /* google.protobuf.Timestamp expires_at */ 9:\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: AccessRequestDetail, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string request_id = 1; */\n if (message.requestId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.requestId);\n /* string requester_profile_id = 2; */\n if (message.requesterProfileId !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.requesterProfileId);\n /* string requester_display_name = 3; */\n if (message.requesterDisplayName !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.requesterDisplayName);\n /* string requested_role = 4; */\n if (message.requestedRole !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.requestedRole);\n /* string justification = 5; */\n if (message.justification !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.justification);\n /* optional google.protobuf.Duration requested_duration = 6; */\n if (message.requestedDuration)\n Duration.internalBinaryWrite(message.requestedDuration, writer.tag(6, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.authz.AccessRequestStatus status = 7; */\n if (message.status !== 0)\n writer.tag(7, WireType.Varint).int32(message.status);\n /* google.protobuf.Timestamp created_at = 8; */\n if (message.createdAt)\n Timestamp.internalBinaryWrite(message.createdAt, writer.tag(8, WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.Timestamp expires_at = 9; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(9, 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.authz.AccessRequestDetail\n */\nexport const AccessRequestDetail = new AccessRequestDetail$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DecideRequestRequest$Type extends MessageType<DecideRequestRequest> {\n constructor() {\n super(\"sid.v1.authz.DecideRequestRequest\", [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"approved\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 3, name: \"reason\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<DecideRequestRequest>): DecideRequestRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requestId = \"\";\n message.approved = false;\n message.reason = \"\";\n if (value !== undefined)\n reflectionMergePartial<DecideRequestRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DecideRequestRequest): DecideRequestRequest {\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 /* string request_id */ 1:\n message.requestId = reader.string();\n break;\n case /* bool approved */ 2:\n message.approved = reader.bool();\n break;\n case /* string reason */ 3:\n message.reason = 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: DecideRequestRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string request_id = 1; */\n if (message.requestId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.requestId);\n /* bool approved = 2; */\n if (message.approved !== false)\n writer.tag(2, WireType.Varint).bool(message.approved);\n /* string reason = 3; */\n if (message.reason !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.reason);\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.authz.DecideRequestRequest\n */\nexport const DecideRequestRequest = new DecideRequestRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DecideRequestResponse$Type extends MessageType<DecideRequestResponse> {\n constructor() {\n super(\"sid.v1.authz.DecideRequestResponse\", [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"status\", kind: \"enum\", T: () => [\"sid.v1.authz.AccessRequestStatus\", AccessRequestStatus, \"ACCESS_REQUEST_STATUS_\"] }\n ]);\n }\n create(value?: PartialMessage<DecideRequestResponse>): DecideRequestResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requestId = \"\";\n message.status = 0;\n if (value !== undefined)\n reflectionMergePartial<DecideRequestResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DecideRequestResponse): DecideRequestResponse {\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 /* string request_id */ 1:\n message.requestId = reader.string();\n break;\n case /* sid.v1.authz.AccessRequestStatus status */ 2:\n message.status = reader.int32();\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: DecideRequestResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string request_id = 1; */\n if (message.requestId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.requestId);\n /* sid.v1.authz.AccessRequestStatus status = 2; */\n if (message.status !== 0)\n writer.tag(2, WireType.Varint).int32(message.status);\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.authz.DecideRequestResponse\n */\nexport const DecideRequestResponse = new DecideRequestResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GrantTemporaryRoleRequest$Type extends MessageType<GrantTemporaryRoleRequest> {\n constructor() {\n super(\"sid.v1.authz.GrantTemporaryRoleRequest\", [\n { no: 1, name: \"profile_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"role\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"expires_at\", kind: \"message\", T: () => Timestamp },\n { no: 4, name: \"justification\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"project_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<GrantTemporaryRoleRequest>): GrantTemporaryRoleRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.profileId = \"\";\n message.role = \"\";\n message.justification = \"\";\n message.projectId = \"\";\n if (value !== undefined)\n reflectionMergePartial<GrantTemporaryRoleRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GrantTemporaryRoleRequest): GrantTemporaryRoleRequest {\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 /* string profile_id */ 1:\n message.profileId = reader.string();\n break;\n case /* string role */ 2:\n message.role = reader.string();\n break;\n case /* google.protobuf.Timestamp expires_at */ 3:\n message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);\n break;\n case /* string justification */ 4:\n message.justification = reader.string();\n break;\n case /* string project_id */ 5:\n message.projectId = 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: GrantTemporaryRoleRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string profile_id = 1; */\n if (message.profileId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.profileId);\n /* string role = 2; */\n if (message.role !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.role);\n /* google.protobuf.Timestamp expires_at = 3; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n /* string justification = 4; */\n if (message.justification !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.justification);\n /* string project_id = 5; */\n if (message.projectId !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.projectId);\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.authz.GrantTemporaryRoleRequest\n */\nexport const GrantTemporaryRoleRequest = new GrantTemporaryRoleRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GrantTemporaryRoleResponse$Type extends MessageType<GrantTemporaryRoleResponse> {\n constructor() {\n super(\"sid.v1.authz.GrantTemporaryRoleResponse\", [\n { no: 1, name: \"assignment_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"expires_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<GrantTemporaryRoleResponse>): GrantTemporaryRoleResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.assignmentId = \"\";\n if (value !== undefined)\n reflectionMergePartial<GrantTemporaryRoleResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GrantTemporaryRoleResponse): GrantTemporaryRoleResponse {\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 /* string assignment_id */ 1:\n message.assignmentId = reader.string();\n break;\n case /* google.protobuf.Timestamp expires_at */ 2:\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: GrantTemporaryRoleResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string assignment_id = 1; */\n if (message.assignmentId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.assignmentId);\n /* google.protobuf.Timestamp expires_at = 2; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(2, 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.authz.GrantTemporaryRoleResponse\n */\nexport const GrantTemporaryRoleResponse = new GrantTemporaryRoleResponse$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.authz.GovernanceService\n */\nexport const GovernanceService = new ServiceType(\"sid.v1.authz.GovernanceService\", [\n { name: \"RequestAccess\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/governance/access-requests\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: AccessRequestMessage, O: AccessRequestResponse },\n { name: \"ListPendingRequests\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/governance/access-requests\" } }, I: ListPendingRequestsRequest, O: ListPendingRequestsResponse },\n { name: \"DecideRequest\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/governance/access-requests/{request_id}/decide\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: DecideRequestRequest, O: DecideRequestResponse },\n { name: \"GrantTemporaryRole\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/governance/temporary-roles\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: GrantTemporaryRoleRequest, O: GrantTemporaryRoleResponse }\n]);\n"]}
@@ -0,0 +1,47 @@
1
+ import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
2
+ import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
3
+ import type { OperationPeriod } from "./operation.js";
4
+ import type { GetOperationPeriodRequest } from "./operation.js";
5
+ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
6
+ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
7
+ /**
8
+ * The server-issued periods keyed commands are admitted under.
9
+ *
10
+ * @generated from protobuf service sid.v1.common.OperationService
11
+ */
12
+ export interface IOperationServiceClient {
13
+ /**
14
+ * The period a new keyed command names, issued by the store that owns the
15
+ * operation. A period serves many commands; a caller obtains it once,
16
+ * saves it with the key before the first submission and keeps both
17
+ * across every retry. Open to every caller: a period conveys no
18
+ * permission and selects no issuer, tenant or store.
19
+ *
20
+ * @generated from protobuf rpc: GetOperationPeriod
21
+ */
22
+ getOperationPeriod(input: GetOperationPeriodRequest, options?: RpcOptions): UnaryCall<GetOperationPeriodRequest, OperationPeriod>;
23
+ }
24
+ /**
25
+ * The server-issued periods keyed commands are admitted under.
26
+ *
27
+ * @generated from protobuf service sid.v1.common.OperationService
28
+ */
29
+ export declare class OperationServiceClient implements IOperationServiceClient, ServiceInfo {
30
+ private readonly _transport;
31
+ typeName: string;
32
+ methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
33
+ options: {
34
+ [extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
35
+ };
36
+ constructor(_transport: RpcTransport);
37
+ /**
38
+ * The period a new keyed command names, issued by the store that owns the
39
+ * operation. A period serves many commands; a caller obtains it once,
40
+ * saves it with the key before the first submission and keeps both
41
+ * across every retry. Open to every caller: a period conveys no
42
+ * permission and selects no issuer, tenant or store.
43
+ *
44
+ * @generated from protobuf rpc: GetOperationPeriod
45
+ */
46
+ getOperationPeriod(input: GetOperationPeriodRequest, options?: RpcOptions): UnaryCall<GetOperationPeriodRequest, OperationPeriod>;
47
+ }
@@ -0,0 +1,30 @@
1
+ import { OperationService } from "./operation.js";
2
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
+ /**
4
+ * The server-issued periods keyed commands are admitted under.
5
+ *
6
+ * @generated from protobuf service sid.v1.common.OperationService
7
+ */
8
+ export class OperationServiceClient {
9
+ _transport;
10
+ typeName = OperationService.typeName;
11
+ methods = OperationService.methods;
12
+ options = OperationService.options;
13
+ constructor(_transport) {
14
+ this._transport = _transport;
15
+ }
16
+ /**
17
+ * The period a new keyed command names, issued by the store that owns the
18
+ * operation. A period serves many commands; a caller obtains it once,
19
+ * saves it with the key before the first submission and keeps both
20
+ * across every retry. Open to every caller: a period conveys no
21
+ * permission and selects no issuer, tenant or store.
22
+ *
23
+ * @generated from protobuf rpc: GetOperationPeriod
24
+ */
25
+ getOperationPeriod(input, options) {
26
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
27
+ return stackIntercept("unary", this._transport, method, opt, input);
28
+ }
29
+ }
30
+ //# sourceMappingURL=operation.client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/common/operation.client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAsB1D;;;;GAIG;AACH,MAAM,OAAO,sBAAsB;IAIF;IAH7B,QAAQ,GAAG,gBAAgB,CAAC,QAAQ,CAAC;IACrC,OAAO,GAAG,gBAAgB,CAAC,OAAO,CAAC;IACnC,OAAO,GAAG,gBAAgB,CAAC,OAAO,CAAC;IACnC,YAA6B,UAAwB;QAAxB,eAAU,GAAV,UAAU,CAAc;IACrD,CAAC;IACD;;;;;;;;OAQG;IACH,kBAAkB,CAAC,KAAgC,EAAE,OAAoB;QACrE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAA6C,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACpH,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/common/operation.proto\" (package \"sid.v1.common\", 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 { OperationService } from \"./operation.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { OperationPeriod } from \"./operation.js\";\nimport type { GetOperationPeriodRequest } from \"./operation.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * The server-issued periods keyed commands are admitted under.\n *\n * @generated from protobuf service sid.v1.common.OperationService\n */\nexport interface IOperationServiceClient {\n /**\n * The period a new keyed command names, issued by the store that owns the\n * operation. A period serves many commands; a caller obtains it once,\n * saves it with the key before the first submission and keeps both\n * across every retry. Open to every caller: a period conveys no\n * permission and selects no issuer, tenant or store.\n *\n * @generated from protobuf rpc: GetOperationPeriod\n */\n getOperationPeriod(input: GetOperationPeriodRequest, options?: RpcOptions): UnaryCall<GetOperationPeriodRequest, OperationPeriod>;\n}\n/**\n * The server-issued periods keyed commands are admitted under.\n *\n * @generated from protobuf service sid.v1.common.OperationService\n */\nexport class OperationServiceClient implements IOperationServiceClient, ServiceInfo {\n typeName = OperationService.typeName;\n methods = OperationService.methods;\n options = OperationService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * The period a new keyed command names, issued by the store that owns the\n * operation. A period serves many commands; a caller obtains it once,\n * saves it with the key before the first submission and keeps both\n * across every retry. Open to every caller: a period conveys no\n * permission and selects no issuer, tenant or store.\n *\n * @generated from protobuf rpc: GetOperationPeriod\n */\n getOperationPeriod(input: GetOperationPeriodRequest, options?: RpcOptions): UnaryCall<GetOperationPeriodRequest, OperationPeriod> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetOperationPeriodRequest, OperationPeriod>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}