@structured-id/proto 0.14.0 → 0.16.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 (50) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/generated/sid/v1/admin/admin.d.ts +48 -17
  3. package/dist/generated/sid/v1/admin/admin.js +55 -62
  4. package/dist/generated/sid/v1/admin/admin.js.map +1 -1
  5. package/dist/generated/sid/v1/admin/branding.d.ts +54 -26
  6. package/dist/generated/sid/v1/admin/branding.js +87 -98
  7. package/dist/generated/sid/v1/admin/branding.js.map +1 -1
  8. package/dist/generated/sid/v1/admin/enrollment.d.ts +63 -44
  9. package/dist/generated/sid/v1/admin/enrollment.js +109 -107
  10. package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
  11. package/dist/generated/sid/v1/admin/flow.d.ts +90 -42
  12. package/dist/generated/sid/v1/admin/flow.js +143 -155
  13. package/dist/generated/sid/v1/admin/flow.js.map +1 -1
  14. package/dist/generated/sid/v1/admin/security.d.ts +11 -4
  15. package/dist/generated/sid/v1/admin/security.js +14 -14
  16. package/dist/generated/sid/v1/admin/security.js.map +1 -1
  17. package/dist/generated/sid/v1/admin/sessions.d.ts +18 -8
  18. package/dist/generated/sid/v1/admin/sessions.js +27 -29
  19. package/dist/generated/sid/v1/admin/sessions.js.map +1 -1
  20. package/dist/generated/sid/v1/authn/auth.d.ts +13 -7
  21. package/dist/generated/sid/v1/authn/auth.js +20 -20
  22. package/dist/generated/sid/v1/authn/auth.js.map +1 -1
  23. package/dist/generated/sid/v1/authz/authz.d.ts +203 -111
  24. package/dist/generated/sid/v1/authz/authz.js +308 -330
  25. package/dist/generated/sid/v1/authz/authz.js.map +1 -1
  26. package/dist/generated/sid/v1/authz/governance.d.ts +40 -26
  27. package/dist/generated/sid/v1/authz/governance.js +65 -71
  28. package/dist/generated/sid/v1/authz/governance.js.map +1 -1
  29. package/dist/generated/sid/v1/common/types.d.ts +29 -0
  30. package/dist/generated/sid/v1/common/types.js +47 -0
  31. package/dist/generated/sid/v1/common/types.js.map +1 -1
  32. package/dist/generated/sid/v1/federation/upstream.d.ts +34 -16
  33. package/dist/generated/sid/v1/federation/upstream.js +53 -59
  34. package/dist/generated/sid/v1/federation/upstream.js.map +1 -1
  35. package/dist/generated/sid/v1/ids/ids.d.ts +12 -0
  36. package/dist/generated/sid/v1/ids/ids.js +6 -0
  37. package/dist/generated/sid/v1/ids/ids.js.map +1 -1
  38. package/dist/generated/sid/v1/machine/machine_user.d.ts +100 -48
  39. package/dist/generated/sid/v1/machine/machine_user.js +228 -179
  40. package/dist/generated/sid/v1/machine/machine_user.js.map +1 -1
  41. package/dist/generated/sid/v1/machine/pat.d.ts +16 -12
  42. package/dist/generated/sid/v1/machine/pat.js +41 -45
  43. package/dist/generated/sid/v1/machine/pat.js.map +1 -1
  44. package/dist/generated/sid/v1/projects/projects.d.ts +141 -103
  45. package/dist/generated/sid/v1/projects/projects.js +293 -271
  46. package/dist/generated/sid/v1/projects/projects.js.map +1 -1
  47. package/dist/ip.d.ts +31 -0
  48. package/dist/ip.js +84 -0
  49. package/dist/ip.js.map +1 -0
  50. package/package.json +6 -2
@@ -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,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MA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B,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"]}
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,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAiO1C,6EAA6E;AAC7E,QAAQ;AACR,6EAA6E;AAE7E;;GAEG;AACH,MAAM,CAAN,IAAY,mBA6BX;AA7BD,WAAY,mBAAmB;IAC3B;;OAEG;IACH,2EAAe,CAAA;IACf;;OAEG;IACH,mEAAW,CAAA;IACX;;OAEG;IACH,qEAAY,CAAA;IACZ;;OAEG;IACH,iEAAU,CAAA;IACV;;;;OAIG;IACH,mEAAW,CAAA;IACX;;;;OA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E,EAAE,EAAE,CAAC,EAAE,oBAAoB,EAAE,CAAC,EAAE,qBAAqB,EAAE;IACtO,EAAE,IAAI,EAAE,qBAAqB,EAAE,WAAW,EAAE,iBAAiB,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,0DAA0D,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,qBAAqB,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,oBAAoB,EAAE,CAAC,EAAE,qBAAqB,EAAE;IAChQ,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 { RoleAssignmentId } from \"../ids/ids.js\";\nimport { PaginationResponse } from \"../common/pagination.js\";\nimport { PaginationRequest } from \"../common/pagination.js\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.js\";\nimport { AccessRequestId } from \"../ids/ids.js\";\nimport { ProjectId } from \"../ids/ids.js\";\nimport { Duration } from \"../../../google/protobuf/duration.js\";\nimport { ProfileId } from \"../ids/ids.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. The caller itself, or anyone when an\n * administrator files the request on its behalf.\n *\n * @generated from protobuf field: sid.v1.ids.ProfileId requester_profile_id = 1\n */\n requesterProfileId?: ProfileId;\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 whose role is requested: roles are defined per project. An\n * unknown project is NOT_FOUND.\n *\n * @generated from protobuf field: sid.v1.ids.ProjectId project_id = 5\n */\n projectId?: ProjectId;\n}\n/**\n * @generated from protobuf message sid.v1.authz.AccessRequestResponse\n */\nexport interface AccessRequestResponse {\n /**\n * The request filed, as SID issued it.\n *\n * @generated from protobuf field: sid.v1.ids.AccessRequestId request_id = 1\n */\n requestId?: AccessRequestId;\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 * The request.\n *\n * @generated from protobuf field: sid.v1.ids.AccessRequestId request_id = 1\n */\n requestId?: AccessRequestId;\n /**\n * The Profile asking for the role.\n *\n * @generated from protobuf field: sid.v1.ids.ProfileId requester_profile_id = 2\n */\n requesterProfileId?: ProfileId;\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 being decided.\n *\n * @generated from protobuf field: sid.v1.ids.AccessRequestId request_id = 1\n */\n requestId?: AccessRequestId;\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 * The request decided.\n *\n * @generated from protobuf field: sid.v1.ids.AccessRequestId request_id = 1\n */\n requestId?: AccessRequestId;\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; an unknown profile is NOT_FOUND.\n *\n * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 1\n */\n profileId?: ProfileId;\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 whose role is granted: roles are defined per project.\n *\n * @generated from protobuf field: sid.v1.ids.ProjectId project_id = 5\n */\n projectId?: ProjectId;\n}\n/**\n * @generated from protobuf message sid.v1.authz.GrantTemporaryRoleResponse\n */\nexport interface GrantTemporaryRoleResponse {\n /**\n * The assignment made; it is revoked at `expires_at`.\n *\n * @generated from protobuf field: sid.v1.ids.RoleAssignmentId assignment_id = 1\n */\n assignmentId?: RoleAssignmentId;\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: \"message\", T: () => ProfileId },\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: \"message\", T: () => ProjectId }\n ]);\n }\n create(value?: PartialMessage<AccessRequestMessage>): AccessRequestMessage {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requestedRole = \"\";\n message.justification = \"\";\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 /* sid.v1.ids.ProfileId requester_profile_id */ 1:\n message.requesterProfileId = ProfileId.internalBinaryRead(reader, reader.uint32(), options, message.requesterProfileId);\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 /* sid.v1.ids.ProjectId project_id */ 5:\n message.projectId = ProjectId.internalBinaryRead(reader, reader.uint32(), options, message.projectId);\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 /* sid.v1.ids.ProfileId requester_profile_id = 1; */\n if (message.requesterProfileId)\n ProfileId.internalBinaryWrite(message.requesterProfileId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\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 /* sid.v1.ids.ProjectId project_id = 5; */\n if (message.projectId)\n ProjectId.internalBinaryWrite(message.projectId, writer.tag(5, 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.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: \"message\", T: () => AccessRequestId },\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.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 /* sid.v1.ids.AccessRequestId request_id */ 1:\n message.requestId = AccessRequestId.internalBinaryRead(reader, reader.uint32(), options, message.requestId);\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 /* sid.v1.ids.AccessRequestId request_id = 1; */\n if (message.requestId)\n AccessRequestId.internalBinaryWrite(message.requestId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\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: \"message\", T: () => AccessRequestId },\n { no: 2, name: \"requester_profile_id\", kind: \"message\", T: () => ProfileId },\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.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 /* sid.v1.ids.AccessRequestId request_id */ 1:\n message.requestId = AccessRequestId.internalBinaryRead(reader, reader.uint32(), options, message.requestId);\n break;\n case /* sid.v1.ids.ProfileId requester_profile_id */ 2:\n message.requesterProfileId = ProfileId.internalBinaryRead(reader, reader.uint32(), options, message.requesterProfileId);\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 /* sid.v1.ids.AccessRequestId request_id = 1; */\n if (message.requestId)\n AccessRequestId.internalBinaryWrite(message.requestId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.ids.ProfileId requester_profile_id = 2; */\n if (message.requesterProfileId)\n ProfileId.internalBinaryWrite(message.requesterProfileId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\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: \"message\", T: () => AccessRequestId },\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.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 /* sid.v1.ids.AccessRequestId request_id */ 1:\n message.requestId = AccessRequestId.internalBinaryRead(reader, reader.uint32(), options, message.requestId);\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 /* sid.v1.ids.AccessRequestId request_id = 1; */\n if (message.requestId)\n AccessRequestId.internalBinaryWrite(message.requestId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\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: \"message\", T: () => AccessRequestId },\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.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 /* sid.v1.ids.AccessRequestId request_id */ 1:\n message.requestId = AccessRequestId.internalBinaryRead(reader, reader.uint32(), options, message.requestId);\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 /* sid.v1.ids.AccessRequestId request_id = 1; */\n if (message.requestId)\n AccessRequestId.internalBinaryWrite(message.requestId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\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: \"message\", T: () => ProfileId },\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: \"message\", T: () => ProjectId }\n ]);\n }\n create(value?: PartialMessage<GrantTemporaryRoleRequest>): GrantTemporaryRoleRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.role = \"\";\n message.justification = \"\";\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 /* sid.v1.ids.ProfileId profile_id */ 1:\n message.profileId = ProfileId.internalBinaryRead(reader, reader.uint32(), options, message.profileId);\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 /* sid.v1.ids.ProjectId project_id */ 5:\n message.projectId = ProjectId.internalBinaryRead(reader, reader.uint32(), options, message.projectId);\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 /* sid.v1.ids.ProfileId profile_id = 1; */\n if (message.profileId)\n ProfileId.internalBinaryWrite(message.profileId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* 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 /* sid.v1.ids.ProjectId project_id = 5; */\n if (message.projectId)\n ProjectId.internalBinaryWrite(message.projectId, writer.tag(5, 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.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: \"message\", T: () => RoleAssignmentId },\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 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 /* sid.v1.ids.RoleAssignmentId assignment_id */ 1:\n message.assignmentId = RoleAssignmentId.internalBinaryRead(reader, reader.uint32(), options, message.assignmentId);\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 /* sid.v1.ids.RoleAssignmentId assignment_id = 1; */\n if (message.assignmentId)\n RoleAssignmentId.internalBinaryWrite(message.assignmentId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\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.value}/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"]}
@@ -35,6 +35,25 @@ export interface SortOrder {
35
35
  */
36
36
  descending: boolean;
37
37
  }
38
+ /**
39
+ * One IP host address as API data, such as the address a stored session or
40
+ * audit record holds. It is never a client's statement about its own
41
+ * address. A field of this type that is absent means the address is unknown
42
+ * or was not recorded.
43
+ *
44
+ * @generated from protobuf message sid.v1.common.IpAddress
45
+ */
46
+ export interface IpAddress {
47
+ /**
48
+ * Exactly 4 bytes (IPv4) or 16 bytes (IPv6) in network byte order; the
49
+ * length is the family. Empty or any other length is invalid. Zero
50
+ * addresses are addresses, not absence. An IPv4-mapped IPv6 address
51
+ * (RFC 4291 section 2.5.5.2) is 16 bytes and stays IPv6.
52
+ *
53
+ * @generated from protobuf field: bytes value = 1
54
+ */
55
+ value: Uint8Array;
56
+ }
38
57
  declare class TimeRange$Type extends MessageType<TimeRange> {
39
58
  constructor();
40
59
  create(value?: PartialMessage<TimeRange>): TimeRange;
@@ -55,4 +74,14 @@ declare class SortOrder$Type extends MessageType<SortOrder> {
55
74
  * @generated MessageType for protobuf message sid.v1.common.SortOrder
56
75
  */
57
76
  export declare const SortOrder: SortOrder$Type;
77
+ declare class IpAddress$Type extends MessageType<IpAddress> {
78
+ constructor();
79
+ create(value?: PartialMessage<IpAddress>): IpAddress;
80
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: IpAddress): IpAddress;
81
+ internalBinaryWrite(message: IpAddress, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
82
+ }
83
+ /**
84
+ * @generated MessageType for protobuf message sid.v1.common.IpAddress
85
+ */
86
+ export declare const IpAddress: IpAddress$Type;
58
87
  export {};
@@ -111,4 +111,51 @@ class SortOrder$Type extends MessageType {
111
111
  * @generated MessageType for protobuf message sid.v1.common.SortOrder
112
112
  */
113
113
  export const SortOrder = new SortOrder$Type();
114
+ // @generated message type with reflection information, may provide speed optimized methods
115
+ class IpAddress$Type extends MessageType {
116
+ constructor() {
117
+ super("sid.v1.common.IpAddress", [
118
+ { no: 1, name: "value", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
119
+ ]);
120
+ }
121
+ create(value) {
122
+ const message = globalThis.Object.create((this.messagePrototype));
123
+ message.value = new Uint8Array(0);
124
+ if (value !== undefined)
125
+ reflectionMergePartial(this, message, value);
126
+ return message;
127
+ }
128
+ internalBinaryRead(reader, length, options, target) {
129
+ let message = target ?? this.create(), end = reader.pos + length;
130
+ while (reader.pos < end) {
131
+ let [fieldNo, wireType] = reader.tag();
132
+ switch (fieldNo) {
133
+ case /* bytes value */ 1:
134
+ message.value = reader.bytes();
135
+ break;
136
+ default:
137
+ let u = options.readUnknownField;
138
+ if (u === "throw")
139
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
140
+ let d = reader.skip(wireType);
141
+ if (u !== false)
142
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
143
+ }
144
+ }
145
+ return message;
146
+ }
147
+ internalBinaryWrite(message, writer, options) {
148
+ /* bytes value = 1; */
149
+ if (message.value.length)
150
+ writer.tag(1, WireType.LengthDelimited).bytes(message.value);
151
+ let u = options.writeUnknownFields;
152
+ if (u !== false)
153
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
154
+ return writer;
155
+ }
156
+ }
157
+ /**
158
+ * @generated MessageType for protobuf message sid.v1.common.IpAddress
159
+ */
160
+ export const IpAddress = new IpAddress$Type();
114
161
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/common/types.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AA+BlE,2FAA2F;AAC3F,MAAM,cAAe,SAAQ,WAAsB;IAC/C;QACI,KAAK,CAAC,yBAAyB,EAAE;YAC7B,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,SAAS,EAAE;YAC5D,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,SAAS,EAAE;SAC7D,CAAC,CAAC;IACP,CAAC;IACD,MAAM,CAAC,KAAiC;QACpC,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,gBAAiB,CAAC,CAAC,CAAC;QACnE,IAAI,KAAK,KAAK,SAAS;YACnB,sBAAsB,CAAY,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;QAC5D,OAAO,OAAO,CAAC;IACnB,CAAC;IACD,kBAAkB,CAAC,MAAqB,EAA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AAC,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;YACxG,CAAC;QACL,CAAC;QACD,OAAO,OAAO,CAAC;IACnB,CAAC;IACD,mBAAmB,CAAC,OAAkB,EAAE,MAAqB,EAAE,OAA2B;QACtF,uBAAuB;QACvB,IAAI,OAAO,CAAC,KAAK,KAAK,EAAE;YACpB,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAClE,0BAA0B;QAC1B,IAAI,OAAO,CAAC,UAAU,KAAK,KAAK;YAC5B,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;QAC5D,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC;QACnC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAClF,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,cAAc,EAAE,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/common/types.proto\" (package \"sid.v1.common\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\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 { Timestamp } from \"../../../google/protobuf/timestamp.js\";\n/**\n * Reusable time range filter.\n *\n * @generated from protobuf message sid.v1.common.TimeRange\n */\nexport interface TimeRange {\n /**\n * @generated from protobuf field: optional google.protobuf.Timestamp from = 1\n */\n from?: Timestamp;\n /**\n * @generated from protobuf field: optional google.protobuf.Timestamp to = 2\n */\n to?: Timestamp;\n}\n/**\n * Sort specification for list queries.\n *\n * @generated from protobuf message sid.v1.common.SortOrder\n */\nexport interface SortOrder {\n /**\n * @generated from protobuf field: string field = 1\n */\n field: string; // Field name to sort by\n /**\n * @generated from protobuf field: bool descending = 2\n */\n descending: boolean; // true = DESC, false = ASC (default)\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass TimeRange$Type extends MessageType<TimeRange> {\n constructor() {\n super(\"sid.v1.common.TimeRange\", [\n { no: 1, name: \"from\", kind: \"message\", T: () => Timestamp },\n { no: 2, name: \"to\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<TimeRange>): TimeRange {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<TimeRange>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TimeRange): TimeRange {\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 /* optional google.protobuf.Timestamp from */ 1:\n message.from = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.from);\n break;\n case /* optional google.protobuf.Timestamp to */ 2:\n message.to = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.to);\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: TimeRange, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* optional google.protobuf.Timestamp from = 1; */\n if (message.from)\n Timestamp.internalBinaryWrite(message.from, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* optional google.protobuf.Timestamp to = 2; */\n if (message.to)\n Timestamp.internalBinaryWrite(message.to, 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.common.TimeRange\n */\nexport const TimeRange = new TimeRange$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SortOrder$Type extends MessageType<SortOrder> {\n constructor() {\n super(\"sid.v1.common.SortOrder\", [\n { no: 1, name: \"field\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"descending\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ }\n ]);\n }\n create(value?: PartialMessage<SortOrder>): SortOrder {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.field = \"\";\n message.descending = false;\n if (value !== undefined)\n reflectionMergePartial<SortOrder>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SortOrder): SortOrder {\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 field */ 1:\n message.field = reader.string();\n break;\n case /* bool descending */ 2:\n message.descending = reader.bool();\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: SortOrder, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string field = 1; */\n if (message.field !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.field);\n /* bool descending = 2; */\n if (message.descending !== false)\n writer.tag(2, WireType.Varint).bool(message.descending);\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.common.SortOrder\n */\nexport const SortOrder = new SortOrder$Type();\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/common/types.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAkDlE,2FAA2F;AAC3F,MAAM,cAAe,SAAQ,WAAsB;IAC/C;QACI,KAAK,CAAC,yBAAyB,EAAE;YAC7B,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,SAAS,EAAE;YAC5D,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,SAAS,EAAE;SAC7D,CAAC,CAAC;IACP,CAAC;IACD,MAAM,C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AAI,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;oBAC9B,IAAI,CAAC,KAAK,KAAK;wBACX,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;YACxG,CAAC;QACL,CAAC;QACD,OAAO,OAAO,CAAC;IACnB,CAAC;IACD,mBAAmB,CAAC,OAAkB,EAAE,MAAqB,EAAE,OAA2B;QACtF,sBAAsB;QACtB,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM;YACpB,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACjE,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC;QACnC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAClF,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,cAAc,EAAE,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/common/types.proto\" (package \"sid.v1.common\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\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 { Timestamp } from \"../../../google/protobuf/timestamp.js\";\n/**\n * Reusable time range filter.\n *\n * @generated from protobuf message sid.v1.common.TimeRange\n */\nexport interface TimeRange {\n /**\n * @generated from protobuf field: optional google.protobuf.Timestamp from = 1\n */\n from?: Timestamp;\n /**\n * @generated from protobuf field: optional google.protobuf.Timestamp to = 2\n */\n to?: Timestamp;\n}\n/**\n * Sort specification for list queries.\n *\n * @generated from protobuf message sid.v1.common.SortOrder\n */\nexport interface SortOrder {\n /**\n * @generated from protobuf field: string field = 1\n */\n field: string; // Field name to sort by\n /**\n * @generated from protobuf field: bool descending = 2\n */\n descending: boolean; // true = DESC, false = ASC (default)\n}\n/**\n * One IP host address as API data, such as the address a stored session or\n * audit record holds. It is never a client's statement about its own\n * address. A field of this type that is absent means the address is unknown\n * or was not recorded.\n *\n * @generated from protobuf message sid.v1.common.IpAddress\n */\nexport interface IpAddress {\n /**\n * Exactly 4 bytes (IPv4) or 16 bytes (IPv6) in network byte order; the\n * length is the family. Empty or any other length is invalid. Zero\n * addresses are addresses, not absence. An IPv4-mapped IPv6 address\n * (RFC 4291 section 2.5.5.2) is 16 bytes and stays IPv6.\n *\n * @generated from protobuf field: bytes value = 1\n */\n value: Uint8Array;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass TimeRange$Type extends MessageType<TimeRange> {\n constructor() {\n super(\"sid.v1.common.TimeRange\", [\n { no: 1, name: \"from\", kind: \"message\", T: () => Timestamp },\n { no: 2, name: \"to\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<TimeRange>): TimeRange {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<TimeRange>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TimeRange): TimeRange {\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 /* optional google.protobuf.Timestamp from */ 1:\n message.from = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.from);\n break;\n case /* optional google.protobuf.Timestamp to */ 2:\n message.to = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.to);\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: TimeRange, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* optional google.protobuf.Timestamp from = 1; */\n if (message.from)\n Timestamp.internalBinaryWrite(message.from, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* optional google.protobuf.Timestamp to = 2; */\n if (message.to)\n Timestamp.internalBinaryWrite(message.to, 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.common.TimeRange\n */\nexport const TimeRange = new TimeRange$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SortOrder$Type extends MessageType<SortOrder> {\n constructor() {\n super(\"sid.v1.common.SortOrder\", [\n { no: 1, name: \"field\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"descending\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ }\n ]);\n }\n create(value?: PartialMessage<SortOrder>): SortOrder {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.field = \"\";\n message.descending = false;\n if (value !== undefined)\n reflectionMergePartial<SortOrder>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SortOrder): SortOrder {\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 field */ 1:\n message.field = reader.string();\n break;\n case /* bool descending */ 2:\n message.descending = reader.bool();\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: SortOrder, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string field = 1; */\n if (message.field !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.field);\n /* bool descending = 2; */\n if (message.descending !== false)\n writer.tag(2, WireType.Varint).bool(message.descending);\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.common.SortOrder\n */\nexport const SortOrder = new SortOrder$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass IpAddress$Type extends MessageType<IpAddress> {\n constructor() {\n super(\"sid.v1.common.IpAddress\", [\n { no: 1, name: \"value\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n create(value?: PartialMessage<IpAddress>): IpAddress {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.value = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<IpAddress>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: IpAddress): IpAddress {\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 /* bytes value */ 1:\n message.value = reader.bytes();\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: IpAddress, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bytes value = 1; */\n if (message.value.length)\n writer.tag(1, WireType.LengthDelimited).bytes(message.value);\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.common.IpAddress\n */\nexport const IpAddress = new IpAddress$Type();\n"]}