@structured-id/proto 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/generated/sid/v1/account/account.d.ts +8 -8
- package/dist/generated/sid/v1/account/account.js +34 -34
- package/dist/generated/sid/v1/account/account.js.map +1 -1
- package/dist/generated/sid/v1/admin/enrollment.d.ts +1 -1
- package/dist/generated/sid/v1/admin/enrollment.js +4 -4
- package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
- package/dist/generated/sid/v1/admin/operations.d.ts +8 -8
- package/dist/generated/sid/v1/admin/operations.js +32 -32
- package/dist/generated/sid/v1/admin/operations.js.map +1 -1
- package/dist/generated/sid/v1/admin/organizations.d.ts +4 -4
- package/dist/generated/sid/v1/admin/organizations.js +16 -16
- package/dist/generated/sid/v1/admin/organizations.js.map +1 -1
- package/dist/generated/sid/v1/admin/provisioning.d.ts +3 -3
- package/dist/generated/sid/v1/admin/provisioning.js +13 -13
- package/dist/generated/sid/v1/admin/provisioning.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.d.ts +94 -84
- package/dist/generated/sid/v1/authn/auth.js +315 -315
- package/dist/generated/sid/v1/authn/auth.js.map +1 -1
- package/dist/generated/sid/v1/authn/flows.d.ts +1 -1
- package/dist/generated/sid/v1/authn/flows.js +4 -4
- package/dist/generated/sid/v1/authn/flows.js.map +1 -1
- package/dist/generated/sid/v1/authn/native_session.d.ts +1 -1
- package/dist/generated/sid/v1/authn/native_session.js +5 -5
- package/dist/generated/sid/v1/authn/native_session.js.map +1 -1
- package/dist/generated/sid/v1/authn/password_history.d.ts +8 -8
- package/dist/generated/sid/v1/authn/password_history.js +35 -35
- package/dist/generated/sid/v1/authn/password_history.js.map +1 -1
- package/dist/generated/sid/v1/authz/authz.d.ts +229 -137
- package/dist/generated/sid/v1/authz/authz.js +404 -426
- package/dist/generated/sid/v1/authz/authz.js.map +1 -1
- package/dist/generated/sid/v1/authz/governance.d.ts +40 -26
- package/dist/generated/sid/v1/authz/governance.js +65 -71
- package/dist/generated/sid/v1/authz/governance.js.map +1 -1
- package/dist/generated/sid/v1/common/operation.d.ts +3 -3
- package/dist/generated/sid/v1/common/operation.js +13 -13
- package/dist/generated/sid/v1/common/operation.js.map +1 -1
- package/dist/generated/sid/v1/federation/upstream.d.ts +16 -12
- package/dist/generated/sid/v1/federation/upstream.js +48 -48
- package/dist/generated/sid/v1/federation/upstream.js.map +1 -1
- package/dist/generated/sid/v1/identity/identity.d.ts +85 -85
- package/dist/generated/sid/v1/identity/identity.js +367 -367
- package/dist/generated/sid/v1/identity/identity.js.map +1 -1
- package/dist/generated/sid/v1/ids/ids.d.ts +16 -0
- package/dist/generated/sid/v1/ids/ids.js +8 -0
- package/dist/generated/sid/v1/ids/ids.js.map +1 -1
- package/dist/generated/sid/v1/machine/machine_user.d.ts +115 -56
- package/dist/generated/sid/v1/machine/machine_user.js +260 -211
- package/dist/generated/sid/v1/machine/machine_user.js.map +1 -1
- package/dist/generated/sid/v1/machine/pat.d.ts +16 -12
- package/dist/generated/sid/v1/machine/pat.js +41 -45
- package/dist/generated/sid/v1/machine/pat.js.map +1 -1
- package/dist/generated/sid/v1/projects/projects.d.ts +141 -103
- package/dist/generated/sid/v1/projects/projects.js +293 -271
- package/dist/generated/sid/v1/projects/projects.js.map +1 -1
- package/package.json +5 -5
|
@@ -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,sBA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EAAE,oDAAoD,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,qBAAqB,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,oBAAoB,EAAE,CAAC,EAAE,qBAAqB,EAAE;IAC1P,EAAE,IAAI,EAAE,oBAAoB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,gCAAgC,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,qBAAqB,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,yBAAyB,EAAE,CAAC,EAAE,0BAA0B,EAAE;CACxP,CAAC,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/authz/governance.proto\" (package \"sid.v1.authz\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { PaginationResponse } from \"../common/pagination.js\";\nimport { PaginationRequest } from \"../common/pagination.js\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.js\";\nimport { Duration } from \"../../../google/protobuf/duration.js\";\n// ══════════════════════════════════════════════════════════════════════════\n// Access Requests\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * @generated from protobuf message sid.v1.authz.AccessRequestMessage\n */\nexport interface AccessRequestMessage {\n /**\n * Profile asking for the role (UUID). The caller itself, or anyone when an\n * administrator files the request on its behalf.\n *\n * @generated from protobuf field: string requester_profile_id = 1\n */\n requesterProfileId: string;\n /**\n * Key of the requested role within `project_id`. A role the project does\n * not define is NOT_FOUND; nothing is stored.\n *\n * @generated from protobuf field: string requested_role = 2\n */\n requestedRole: string;\n /**\n * Why the requester needs the role, shown to the approver.\n *\n * @generated from protobuf field: string justification = 3\n */\n justification: string;\n /**\n * How long the role is wanted; absent = permanent. On approval the\n * assignment expires after it.\n *\n * @generated from protobuf field: optional google.protobuf.Duration requested_duration = 4\n */\n requestedDuration?: Duration;\n /**\n * Project (UUID) whose role is requested: roles are defined per project.\n * An unknown project is NOT_FOUND.\n *\n * @generated from protobuf field: string project_id = 5\n */\n projectId: string;\n}\n/**\n * @generated from protobuf message sid.v1.authz.AccessRequestResponse\n */\nexport interface AccessRequestResponse {\n /**\n * @generated from protobuf field: string request_id = 1\n */\n requestId: string;\n /**\n * @generated from protobuf field: sid.v1.authz.AccessRequestStatus status = 2\n */\n status: AccessRequestStatus;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp created_at = 3\n */\n createdAt?: Timestamp;\n}\n/**\n * @generated from protobuf message sid.v1.authz.ListPendingRequestsRequest\n */\nexport interface ListPendingRequestsRequest {\n /**\n * @generated from protobuf field: sid.v1.common.PaginationRequest pagination = 1\n */\n pagination?: PaginationRequest;\n}\n/**\n * @generated from protobuf message sid.v1.authz.ListPendingRequestsResponse\n */\nexport interface ListPendingRequestsResponse {\n /**\n * @generated from protobuf field: repeated sid.v1.authz.AccessRequestDetail requests = 1\n */\n requests: AccessRequestDetail[];\n /**\n * @generated from protobuf field: sid.v1.common.PaginationResponse pagination = 2\n */\n pagination?: PaginationResponse;\n}\n/**\n * @generated from protobuf message sid.v1.authz.AccessRequestDetail\n */\nexport interface AccessRequestDetail {\n /**\n * @generated from protobuf field: string request_id = 1\n */\n requestId: string;\n /**\n * @generated from protobuf field: string requester_profile_id = 2\n */\n requesterProfileId: string;\n /**\n * @generated from protobuf field: string requester_display_name = 3\n */\n requesterDisplayName: string;\n /**\n * @generated from protobuf field: string requested_role = 4\n */\n requestedRole: string;\n /**\n * @generated from protobuf field: string justification = 5\n */\n justification: string;\n /**\n * @generated from protobuf field: optional google.protobuf.Duration requested_duration = 6\n */\n requestedDuration?: Duration;\n /**\n * @generated from protobuf field: sid.v1.authz.AccessRequestStatus status = 7\n */\n status: AccessRequestStatus;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp created_at = 8\n */\n createdAt?: Timestamp;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 9\n */\n expiresAt?: Timestamp; // Request auto-denied after this\n}\n/**\n * @generated from protobuf message sid.v1.authz.DecideRequestRequest\n */\nexport interface DecideRequestRequest {\n /**\n * Access request (UUID) being decided.\n *\n * @generated from protobuf field: string request_id = 1\n */\n requestId: string;\n /**\n * Approve (grant the role) or deny. An approval and the role assignment it\n * makes are recorded together: when the role can no longer be assigned\n * (it was deleted) the call fails FAILED_PRECONDITION and the request\n * stays pending.\n *\n * @generated from protobuf field: bool approved = 2\n */\n approved: boolean;\n /**\n * Reviewer's comment, recorded on the request.\n *\n * @generated from protobuf field: string reason = 3\n */\n reason: string;\n}\n/**\n * @generated from protobuf message sid.v1.authz.DecideRequestResponse\n */\nexport interface DecideRequestResponse {\n /**\n * @generated from protobuf field: string request_id = 1\n */\n requestId: string;\n /**\n * @generated from protobuf field: sid.v1.authz.AccessRequestStatus status = 2\n */\n status: AccessRequestStatus;\n}\n// ══════════════════════════════════════════════════════════════════════════\n// Temporary Roles\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * @generated from protobuf message sid.v1.authz.GrantTemporaryRoleRequest\n */\nexport interface GrantTemporaryRoleRequest {\n /**\n * Profile receiving the role (UUID); an unknown profile is NOT_FOUND.\n *\n * @generated from protobuf field: string profile_id = 1\n */\n profileId: string;\n /**\n * Key of the role within `project_id`; an unknown role is NOT_FOUND.\n *\n * @generated from protobuf field: string role = 2\n */\n role: string;\n /**\n * When the assignment is revoked automatically; must be in the future.\n *\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 3\n */\n expiresAt?: Timestamp;\n /**\n * Why the role is granted, recorded in the audit trail.\n *\n * @generated from protobuf field: string justification = 4\n */\n justification: string;\n /**\n * Project (UUID) whose role is granted: roles are defined per project.\n *\n * @generated from protobuf field: string project_id = 5\n */\n projectId: string;\n}\n/**\n * @generated from protobuf message sid.v1.authz.GrantTemporaryRoleResponse\n */\nexport interface GrantTemporaryRoleResponse {\n /**\n * @generated from protobuf field: string assignment_id = 1\n */\n assignmentId: string;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 2\n */\n expiresAt?: Timestamp;\n}\n// ══════════════════════════════════════════════════════════════════════════\n// Enums\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * @generated from protobuf enum sid.v1.authz.AccessRequestStatus\n */\nexport enum AccessRequestStatus {\n /**\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_PENDING = 1;\n */\n PENDING = 1,\n /**\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_APPROVED = 2;\n */\n APPROVED = 2,\n /**\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_DENIED = 3;\n */\n DENIED = 3,\n /**\n * Request timed out without decision\n *\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_EXPIRED = 4;\n */\n EXPIRED = 4,\n /**\n * Requester cancelled\n *\n * @generated from protobuf enum value: ACCESS_REQUEST_STATUS_CANCELLED = 5;\n */\n CANCELLED = 5\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass AccessRequestMessage$Type extends MessageType<AccessRequestMessage> {\n constructor() {\n super(\"sid.v1.authz.AccessRequestMessage\", [\n { no: 1, name: \"requester_profile_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"requested_role\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"justification\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"requested_duration\", kind: \"message\", T: () => Duration },\n { no: 5, name: \"project_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<AccessRequestMessage>): AccessRequestMessage {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requesterProfileId = \"\";\n message.requestedRole = \"\";\n message.justification = \"\";\n message.projectId = \"\";\n if (value !== undefined)\n reflectionMergePartial<AccessRequestMessage>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AccessRequestMessage): AccessRequestMessage {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string requester_profile_id */ 1:\n message.requesterProfileId = reader.string();\n break;\n case /* string requested_role */ 2:\n message.requestedRole = reader.string();\n break;\n case /* string justification */ 3:\n message.justification = reader.string();\n break;\n case /* optional google.protobuf.Duration requested_duration */ 4:\n message.requestedDuration = Duration.internalBinaryRead(reader, reader.uint32(), options, message.requestedDuration);\n break;\n case /* string project_id */ 5:\n message.projectId = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: AccessRequestMessage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string requester_profile_id = 1; */\n if (message.requesterProfileId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.requesterProfileId);\n /* string requested_role = 2; */\n if (message.requestedRole !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.requestedRole);\n /* string justification = 3; */\n if (message.justification !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.justification);\n /* optional google.protobuf.Duration requested_duration = 4; */\n if (message.requestedDuration)\n Duration.internalBinaryWrite(message.requestedDuration, writer.tag(4, WireType.LengthDelimited).fork(), options).join();\n /* string project_id = 5; */\n if (message.projectId !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.projectId);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authz.AccessRequestMessage\n */\nexport const AccessRequestMessage = new AccessRequestMessage$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass AccessRequestResponse$Type extends MessageType<AccessRequestResponse> {\n constructor() {\n super(\"sid.v1.authz.AccessRequestResponse\", [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"status\", kind: \"enum\", T: () => [\"sid.v1.authz.AccessRequestStatus\", AccessRequestStatus, \"ACCESS_REQUEST_STATUS_\"] },\n { no: 3, name: \"created_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<AccessRequestResponse>): AccessRequestResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requestId = \"\";\n message.status = 0;\n if (value !== undefined)\n reflectionMergePartial<AccessRequestResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AccessRequestResponse): AccessRequestResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string request_id */ 1:\n message.requestId = reader.string();\n break;\n case /* sid.v1.authz.AccessRequestStatus status */ 2:\n message.status = reader.int32();\n break;\n case /* google.protobuf.Timestamp created_at */ 3:\n message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: AccessRequestResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string request_id = 1; */\n if (message.requestId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.requestId);\n /* sid.v1.authz.AccessRequestStatus status = 2; */\n if (message.status !== 0)\n writer.tag(2, WireType.Varint).int32(message.status);\n /* google.protobuf.Timestamp created_at = 3; */\n if (message.createdAt)\n Timestamp.internalBinaryWrite(message.createdAt, writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authz.AccessRequestResponse\n */\nexport const AccessRequestResponse = new AccessRequestResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPendingRequestsRequest$Type extends MessageType<ListPendingRequestsRequest> {\n constructor() {\n super(\"sid.v1.authz.ListPendingRequestsRequest\", [\n { no: 1, name: \"pagination\", kind: \"message\", T: () => PaginationRequest }\n ]);\n }\n create(value?: PartialMessage<ListPendingRequestsRequest>): ListPendingRequestsRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ListPendingRequestsRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListPendingRequestsRequest): ListPendingRequestsRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.common.PaginationRequest pagination */ 1:\n message.pagination = PaginationRequest.internalBinaryRead(reader, reader.uint32(), options, message.pagination);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ListPendingRequestsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.common.PaginationRequest pagination = 1; */\n if (message.pagination)\n PaginationRequest.internalBinaryWrite(message.pagination, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authz.ListPendingRequestsRequest\n */\nexport const ListPendingRequestsRequest = new ListPendingRequestsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPendingRequestsResponse$Type extends MessageType<ListPendingRequestsResponse> {\n constructor() {\n super(\"sid.v1.authz.ListPendingRequestsResponse\", [\n { no: 1, name: \"requests\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AccessRequestDetail },\n { no: 2, name: \"pagination\", kind: \"message\", T: () => PaginationResponse }\n ]);\n }\n create(value?: PartialMessage<ListPendingRequestsResponse>): ListPendingRequestsResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requests = [];\n if (value !== undefined)\n reflectionMergePartial<ListPendingRequestsResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListPendingRequestsResponse): ListPendingRequestsResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated sid.v1.authz.AccessRequestDetail requests */ 1:\n message.requests.push(AccessRequestDetail.internalBinaryRead(reader, reader.uint32(), options));\n break;\n case /* sid.v1.common.PaginationResponse pagination */ 2:\n message.pagination = PaginationResponse.internalBinaryRead(reader, reader.uint32(), options, message.pagination);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ListPendingRequestsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated sid.v1.authz.AccessRequestDetail requests = 1; */\n for (let i = 0; i < message.requests.length; i++)\n AccessRequestDetail.internalBinaryWrite(message.requests[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.common.PaginationResponse pagination = 2; */\n if (message.pagination)\n PaginationResponse.internalBinaryWrite(message.pagination, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authz.ListPendingRequestsResponse\n */\nexport const ListPendingRequestsResponse = new ListPendingRequestsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass AccessRequestDetail$Type extends MessageType<AccessRequestDetail> {\n constructor() {\n super(\"sid.v1.authz.AccessRequestDetail\", [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"requester_profile_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"requester_display_name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"requested_role\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"justification\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"requested_duration\", kind: \"message\", T: () => Duration },\n { no: 7, name: \"status\", kind: \"enum\", T: () => [\"sid.v1.authz.AccessRequestStatus\", AccessRequestStatus, \"ACCESS_REQUEST_STATUS_\"] },\n { no: 8, name: \"created_at\", kind: \"message\", T: () => Timestamp },\n { no: 9, name: \"expires_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<AccessRequestDetail>): AccessRequestDetail {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requestId = \"\";\n message.requesterProfileId = \"\";\n message.requesterDisplayName = \"\";\n message.requestedRole = \"\";\n message.justification = \"\";\n message.status = 0;\n if (value !== undefined)\n reflectionMergePartial<AccessRequestDetail>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AccessRequestDetail): AccessRequestDetail {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string request_id */ 1:\n message.requestId = reader.string();\n break;\n case /* string requester_profile_id */ 2:\n message.requesterProfileId = reader.string();\n break;\n case /* string requester_display_name */ 3:\n message.requesterDisplayName = reader.string();\n break;\n case /* string requested_role */ 4:\n message.requestedRole = reader.string();\n break;\n case /* string justification */ 5:\n message.justification = reader.string();\n break;\n case /* optional google.protobuf.Duration requested_duration */ 6:\n message.requestedDuration = Duration.internalBinaryRead(reader, reader.uint32(), options, message.requestedDuration);\n break;\n case /* sid.v1.authz.AccessRequestStatus status */ 7:\n message.status = reader.int32();\n break;\n case /* google.protobuf.Timestamp created_at */ 8:\n message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);\n break;\n case /* google.protobuf.Timestamp expires_at */ 9:\n message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: AccessRequestDetail, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string request_id = 1; */\n if (message.requestId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.requestId);\n /* string requester_profile_id = 2; */\n if (message.requesterProfileId !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.requesterProfileId);\n /* string requester_display_name = 3; */\n if (message.requesterDisplayName !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.requesterDisplayName);\n /* string requested_role = 4; */\n if (message.requestedRole !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.requestedRole);\n /* string justification = 5; */\n if (message.justification !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.justification);\n /* optional google.protobuf.Duration requested_duration = 6; */\n if (message.requestedDuration)\n Duration.internalBinaryWrite(message.requestedDuration, writer.tag(6, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.authz.AccessRequestStatus status = 7; */\n if (message.status !== 0)\n writer.tag(7, WireType.Varint).int32(message.status);\n /* google.protobuf.Timestamp created_at = 8; */\n if (message.createdAt)\n Timestamp.internalBinaryWrite(message.createdAt, writer.tag(8, WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.Timestamp expires_at = 9; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(9, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authz.AccessRequestDetail\n */\nexport const AccessRequestDetail = new AccessRequestDetail$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DecideRequestRequest$Type extends MessageType<DecideRequestRequest> {\n constructor() {\n super(\"sid.v1.authz.DecideRequestRequest\", [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"approved\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 3, name: \"reason\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<DecideRequestRequest>): DecideRequestRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requestId = \"\";\n message.approved = false;\n message.reason = \"\";\n if (value !== undefined)\n reflectionMergePartial<DecideRequestRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DecideRequestRequest): DecideRequestRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string request_id */ 1:\n message.requestId = reader.string();\n break;\n case /* bool approved */ 2:\n message.approved = reader.bool();\n break;\n case /* string reason */ 3:\n message.reason = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: DecideRequestRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string request_id = 1; */\n if (message.requestId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.requestId);\n /* bool approved = 2; */\n if (message.approved !== false)\n writer.tag(2, WireType.Varint).bool(message.approved);\n /* string reason = 3; */\n if (message.reason !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.reason);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authz.DecideRequestRequest\n */\nexport const DecideRequestRequest = new DecideRequestRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DecideRequestResponse$Type extends MessageType<DecideRequestResponse> {\n constructor() {\n super(\"sid.v1.authz.DecideRequestResponse\", [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"status\", kind: \"enum\", T: () => [\"sid.v1.authz.AccessRequestStatus\", AccessRequestStatus, \"ACCESS_REQUEST_STATUS_\"] }\n ]);\n }\n create(value?: PartialMessage<DecideRequestResponse>): DecideRequestResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requestId = \"\";\n message.status = 0;\n if (value !== undefined)\n reflectionMergePartial<DecideRequestResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DecideRequestResponse): DecideRequestResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string request_id */ 1:\n message.requestId = reader.string();\n break;\n case /* sid.v1.authz.AccessRequestStatus status */ 2:\n message.status = reader.int32();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: DecideRequestResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string request_id = 1; */\n if (message.requestId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.requestId);\n /* sid.v1.authz.AccessRequestStatus status = 2; */\n if (message.status !== 0)\n writer.tag(2, WireType.Varint).int32(message.status);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authz.DecideRequestResponse\n */\nexport const DecideRequestResponse = new DecideRequestResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GrantTemporaryRoleRequest$Type extends MessageType<GrantTemporaryRoleRequest> {\n constructor() {\n super(\"sid.v1.authz.GrantTemporaryRoleRequest\", [\n { no: 1, name: \"profile_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"role\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"expires_at\", kind: \"message\", T: () => Timestamp },\n { no: 4, name: \"justification\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"project_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<GrantTemporaryRoleRequest>): GrantTemporaryRoleRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.profileId = \"\";\n message.role = \"\";\n message.justification = \"\";\n message.projectId = \"\";\n if (value !== undefined)\n reflectionMergePartial<GrantTemporaryRoleRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GrantTemporaryRoleRequest): GrantTemporaryRoleRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string profile_id */ 1:\n message.profileId = reader.string();\n break;\n case /* string role */ 2:\n message.role = reader.string();\n break;\n case /* google.protobuf.Timestamp expires_at */ 3:\n message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);\n break;\n case /* string justification */ 4:\n message.justification = reader.string();\n break;\n case /* string project_id */ 5:\n message.projectId = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: GrantTemporaryRoleRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string profile_id = 1; */\n if (message.profileId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.profileId);\n /* string role = 2; */\n if (message.role !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.role);\n /* google.protobuf.Timestamp expires_at = 3; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n /* string justification = 4; */\n if (message.justification !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.justification);\n /* string project_id = 5; */\n if (message.projectId !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.projectId);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authz.GrantTemporaryRoleRequest\n */\nexport const GrantTemporaryRoleRequest = new GrantTemporaryRoleRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GrantTemporaryRoleResponse$Type extends MessageType<GrantTemporaryRoleResponse> {\n constructor() {\n super(\"sid.v1.authz.GrantTemporaryRoleResponse\", [\n { no: 1, name: \"assignment_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"expires_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<GrantTemporaryRoleResponse>): GrantTemporaryRoleResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.assignmentId = \"\";\n if (value !== undefined)\n reflectionMergePartial<GrantTemporaryRoleResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GrantTemporaryRoleResponse): GrantTemporaryRoleResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string assignment_id */ 1:\n message.assignmentId = reader.string();\n break;\n case /* google.protobuf.Timestamp expires_at */ 2:\n message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: GrantTemporaryRoleResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string assignment_id = 1; */\n if (message.assignmentId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.assignmentId);\n /* google.protobuf.Timestamp expires_at = 2; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authz.GrantTemporaryRoleResponse\n */\nexport const GrantTemporaryRoleResponse = new GrantTemporaryRoleResponse$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.authz.GovernanceService\n */\nexport const GovernanceService = new ServiceType(\"sid.v1.authz.GovernanceService\", [\n { name: \"RequestAccess\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/governance/access-requests\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: AccessRequestMessage, O: AccessRequestResponse },\n { name: \"ListPendingRequests\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/governance/access-requests\" } }, I: ListPendingRequestsRequest, O: ListPendingRequestsResponse },\n { name: \"DecideRequest\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/governance/access-requests/{request_id}/decide\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: DecideRequestRequest, O: DecideRequestResponse },\n { name: \"GrantTemporaryRole\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/governance/temporary-roles\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: GrantTemporaryRoleRequest, O: GrantTemporaryRoleResponse }\n]);\n"]}
|
|
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;;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AW,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,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"]}
|
|
@@ -30,7 +30,7 @@ export interface RetryRule {
|
|
|
30
30
|
* malformed or duplicated context is refused before any effect, and
|
|
31
31
|
* one under a retired period with OPERATION_EXPIRED.
|
|
32
32
|
*
|
|
33
|
-
* @generated from protobuf field: bool keyed =
|
|
33
|
+
* @generated from protobuf field: bool keyed = 1
|
|
34
34
|
*/
|
|
35
35
|
keyed: boolean;
|
|
36
36
|
} | {
|
|
@@ -44,7 +44,7 @@ export interface RetryRule {
|
|
|
44
44
|
* operation, a reset) may answer a retry of that same operation with
|
|
45
45
|
* the outcome it recorded, as its rule states.
|
|
46
46
|
*
|
|
47
|
-
* @generated from protobuf field: string ceremony =
|
|
47
|
+
* @generated from protobuf field: string ceremony = 2
|
|
48
48
|
*/
|
|
49
49
|
ceremony: string;
|
|
50
50
|
} | {
|
|
@@ -54,7 +54,7 @@ export interface RetryRule {
|
|
|
54
54
|
* invariant that makes it so and what a repeat answers, including after
|
|
55
55
|
* an intervening change.
|
|
56
56
|
*
|
|
57
|
-
* @generated from protobuf field: string natural =
|
|
57
|
+
* @generated from protobuf field: string natural = 3
|
|
58
58
|
*/
|
|
59
59
|
natural: string;
|
|
60
60
|
} | {
|
|
@@ -12,9 +12,9 @@ import { Timestamp } from "../../../google/protobuf/timestamp.js";
|
|
|
12
12
|
class RetryRule$Type extends MessageType {
|
|
13
13
|
constructor() {
|
|
14
14
|
super("sid.v1.common.RetryRule", [
|
|
15
|
-
{ no:
|
|
16
|
-
{ no:
|
|
17
|
-
{ no:
|
|
15
|
+
{ no: 1, name: "keyed", kind: "scalar", oneof: "rule", T: 8 /*ScalarType.BOOL*/ },
|
|
16
|
+
{ no: 2, name: "ceremony", kind: "scalar", oneof: "rule", T: 9 /*ScalarType.STRING*/ },
|
|
17
|
+
{ no: 3, name: "natural", kind: "scalar", oneof: "rule", T: 9 /*ScalarType.STRING*/ }
|
|
18
18
|
]);
|
|
19
19
|
}
|
|
20
20
|
create(value) {
|
|
@@ -29,19 +29,19 @@ class RetryRule$Type extends MessageType {
|
|
|
29
29
|
while (reader.pos < end) {
|
|
30
30
|
let [fieldNo, wireType] = reader.tag();
|
|
31
31
|
switch (fieldNo) {
|
|
32
|
-
case /* bool keyed */
|
|
32
|
+
case /* bool keyed */ 1:
|
|
33
33
|
message.rule = {
|
|
34
34
|
oneofKind: "keyed",
|
|
35
35
|
keyed: reader.bool()
|
|
36
36
|
};
|
|
37
37
|
break;
|
|
38
|
-
case /* string ceremony */
|
|
38
|
+
case /* string ceremony */ 2:
|
|
39
39
|
message.rule = {
|
|
40
40
|
oneofKind: "ceremony",
|
|
41
41
|
ceremony: reader.string()
|
|
42
42
|
};
|
|
43
43
|
break;
|
|
44
|
-
case /* string natural */
|
|
44
|
+
case /* string natural */ 3:
|
|
45
45
|
message.rule = {
|
|
46
46
|
oneofKind: "natural",
|
|
47
47
|
natural: reader.string()
|
|
@@ -59,15 +59,15 @@ class RetryRule$Type extends MessageType {
|
|
|
59
59
|
return message;
|
|
60
60
|
}
|
|
61
61
|
internalBinaryWrite(message, writer, options) {
|
|
62
|
-
/*
|
|
62
|
+
/* bool keyed = 1; */
|
|
63
|
+
if (message.rule.oneofKind === "keyed")
|
|
64
|
+
writer.tag(1, WireType.Varint).bool(message.rule.keyed);
|
|
65
|
+
/* string ceremony = 2; */
|
|
63
66
|
if (message.rule.oneofKind === "ceremony")
|
|
64
|
-
writer.tag(
|
|
65
|
-
/* string natural =
|
|
67
|
+
writer.tag(2, WireType.LengthDelimited).string(message.rule.ceremony);
|
|
68
|
+
/* string natural = 3; */
|
|
66
69
|
if (message.rule.oneofKind === "natural")
|
|
67
|
-
writer.tag(
|
|
68
|
-
/* bool keyed = 3; */
|
|
69
|
-
if (message.rule.oneofKind === "keyed")
|
|
70
|
-
writer.tag(3, WireType.Varint).bool(message.rule.keyed);
|
|
70
|
+
writer.tag(3, WireType.LengthDelimited).string(message.rule.natural);
|
|
71
71
|
let u = options.writeUnknownFields;
|
|
72
72
|
if (u !== false)
|
|
73
73
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/common/operation.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,yGAAyG;AACzG,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,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAoFlE,2FAA2F;AAC3F,MAAM,cAAe,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BAAmB,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,eAAe,GAAG,IAAI,oBAAoB,EAAE,CAAC;AAC1D;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,WAAW,CAAC,gCAAgC,EAAE;IAC9E,EAAE,IAAI,EAAE,oBAAoB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,GAAG,EAAE,uBAAuB,EAAE,EAAE,qBAAqB,EAAE,EAAE,OAAO,EAAE,kNAAkN,EAAE,EAAE,EAAE,CAAC,EAAE,yBAAyB,EAAE,CAAC,EAAE,eAAe,EAAE;CACxa,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/common/operation.proto\" (package \"sid.v1.common\", 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 { Timestamp } from \"../../../google/protobuf/timestamp.js\";\n/**\n * The retry rule of one method.\n *\n * @generated from protobuf message sid.v1.common.RetryRule\n */\nexport interface RetryRule {\n /**\n * @generated from protobuf oneof: rule\n */\n rule: {\n oneofKind: \"keyed\";\n /**\n * The caller names its command by an operation context, created once\n * before the first submission and kept across every retry: the\n * `idempotency-key` request metadata (the Idempotency-Key header of\n * draft-ietf-httpapi-idempotency-key-header-08 §2.1, a Structured\n * Field String, the same encoded value in gRPC metadata and HTTP) and\n * the `sid-operation-period` metadata (SID-Operation-Period in HTTP:\n * one canonical unsigned decimal period from OperationService). A\n * retry under the same context answers with the result recorded by the\n * first commit and applies nothing again; a call with a missing,\n * malformed or duplicated context is refused before any effect, and\n * one under a retired period with OPERATION_EXPIRED.\n *\n * @generated from protobuf field: bool keyed = 3\n */\n keyed: boolean;\n } | {\n oneofKind: \"ceremony\";\n /**\n * The method follows its protocol's own consume or replay rule, stated\n * here with the normative section where the protocol is standardized\n * (for example RFC 6749 §4.1.2 for an authorization code). It takes no\n * operation context and its result is never replayed from the keyed\n * record; a protocol that names its own operation (a password\n * operation, a reset) may answer a retry of that same operation with\n * the outcome it recorded, as its rule states.\n *\n * @generated from protobuf field: string ceremony = 1\n */\n ceremony: string;\n } | {\n oneofKind: \"natural\";\n /**\n * The method's effect is the same however often it is applied: the\n * invariant that makes it so and what a repeat answers, including after\n * an intervening change.\n *\n * @generated from protobuf field: string natural = 2\n */\n natural: string;\n } | {\n oneofKind: undefined;\n };\n}\n/**\n * @generated from protobuf message sid.v1.common.GetOperationPeriodRequest\n */\nexport interface GetOperationPeriodRequest {\n}\n/**\n * One server-issued period.\n *\n * @generated from protobuf message sid.v1.common.OperationPeriod\n */\nexport interface OperationPeriod {\n /**\n * The period: an unsigned epoch the owning store issued, carried by a\n * keyed command as its `sid-operation-period` metadata. Not a timestamp.\n *\n * @generated from protobuf field: uint64 period = 1\n */\n period: bigint;\n /**\n * Until when a new command named with this period is admitted. A command\n * first submitted before this bound may still be retried within the\n * store's retention; one under a retired period is refused with\n * OPERATION_EXPIRED.\n *\n * @generated from protobuf field: google.protobuf.Timestamp accepted_until = 2\n */\n acceptedUntil?: Timestamp;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass RetryRule$Type extends MessageType<RetryRule> {\n constructor() {\n super(\"sid.v1.common.RetryRule\", [\n { no: 3, name: \"keyed\", kind: \"scalar\", oneof: \"rule\", T: 8 /*ScalarType.BOOL*/ },\n { no: 1, name: \"ceremony\", kind: \"scalar\", oneof: \"rule\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"natural\", kind: \"scalar\", oneof: \"rule\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<RetryRule>): RetryRule {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.rule = { oneofKind: undefined };\n if (value !== undefined)\n reflectionMergePartial<RetryRule>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RetryRule): RetryRule {\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 /* bool keyed */ 3:\n message.rule = {\n oneofKind: \"keyed\",\n keyed: reader.bool()\n };\n break;\n case /* string ceremony */ 1:\n message.rule = {\n oneofKind: \"ceremony\",\n ceremony: reader.string()\n };\n break;\n case /* string natural */ 2:\n message.rule = {\n oneofKind: \"natural\",\n natural: reader.string()\n };\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: RetryRule, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string ceremony = 1; */\n if (message.rule.oneofKind === \"ceremony\")\n writer.tag(1, WireType.LengthDelimited).string(message.rule.ceremony);\n /* string natural = 2; */\n if (message.rule.oneofKind === \"natural\")\n writer.tag(2, WireType.LengthDelimited).string(message.rule.natural);\n /* bool keyed = 3; */\n if (message.rule.oneofKind === \"keyed\")\n writer.tag(3, WireType.Varint).bool(message.rule.keyed);\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.RetryRule\n */\nexport const RetryRule = new RetryRule$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetOperationPeriodRequest$Type extends MessageType<GetOperationPeriodRequest> {\n constructor() {\n super(\"sid.v1.common.GetOperationPeriodRequest\", []);\n }\n create(value?: PartialMessage<GetOperationPeriodRequest>): GetOperationPeriodRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<GetOperationPeriodRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetOperationPeriodRequest): GetOperationPeriodRequest {\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 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: GetOperationPeriodRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\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.GetOperationPeriodRequest\n */\nexport const GetOperationPeriodRequest = new GetOperationPeriodRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass OperationPeriod$Type extends MessageType<OperationPeriod> {\n constructor() {\n super(\"sid.v1.common.OperationPeriod\", [\n { no: 1, name: \"period\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"accepted_until\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<OperationPeriod>): OperationPeriod {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.period = 0n;\n if (value !== undefined)\n reflectionMergePartial<OperationPeriod>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OperationPeriod): OperationPeriod {\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 /* uint64 period */ 1:\n message.period = reader.uint64().toBigInt();\n break;\n case /* google.protobuf.Timestamp accepted_until */ 2:\n message.acceptedUntil = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.acceptedUntil);\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: OperationPeriod, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 period = 1; */\n if (message.period !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.period);\n /* google.protobuf.Timestamp accepted_until = 2; */\n if (message.acceptedUntil)\n Timestamp.internalBinaryWrite(message.acceptedUntil, 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.OperationPeriod\n */\nexport const OperationPeriod = new OperationPeriod$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.common.OperationService\n */\nexport const OperationService = new ServiceType(\"sid.v1.common.OperationService\", [\n { name: \"GetOperationPeriod\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { get: \"/v1/operations/period\" }, \"sid.v1.common.retry\": { natural: \"the current period is answered, issued when none is current: a repeat answers the same period until a later one replaces it, and no call retires a period another caller still holds within its acceptance bound\" } }, I: GetOperationPeriodRequest, O: OperationPeriod }\n]);\n"]}
|
|
1
|
+
{"version":3,"file":"operation.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/common/operation.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,yGAAyG;AACzG,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,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAoFlE,2FAA2F;AAC3F,MAAM,cAAe,SAAQ,WAAsB;IAC/C;QACI,KAAK,CAAC,yBAAyB,EAAE;YAC7B,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,mBAAmB,EAAE;YACjF,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,qBAAqB,EAAE;YACtF,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,qBAAqB,EAAE;SACxF,CAAC,CAAC;IACP,CAAC;IACD,MA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C,EAAE,eAAe,EAAE;CACxa,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/common/operation.proto\" (package \"sid.v1.common\", 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 { Timestamp } from \"../../../google/protobuf/timestamp.js\";\n/**\n * The retry rule of one method.\n *\n * @generated from protobuf message sid.v1.common.RetryRule\n */\nexport interface RetryRule {\n /**\n * @generated from protobuf oneof: rule\n */\n rule: {\n oneofKind: \"keyed\";\n /**\n * The caller names its command by an operation context, created once\n * before the first submission and kept across every retry: the\n * `idempotency-key` request metadata (the Idempotency-Key header of\n * draft-ietf-httpapi-idempotency-key-header-08 §2.1, a Structured\n * Field String, the same encoded value in gRPC metadata and HTTP) and\n * the `sid-operation-period` metadata (SID-Operation-Period in HTTP:\n * one canonical unsigned decimal period from OperationService). A\n * retry under the same context answers with the result recorded by the\n * first commit and applies nothing again; a call with a missing,\n * malformed or duplicated context is refused before any effect, and\n * one under a retired period with OPERATION_EXPIRED.\n *\n * @generated from protobuf field: bool keyed = 1\n */\n keyed: boolean;\n } | {\n oneofKind: \"ceremony\";\n /**\n * The method follows its protocol's own consume or replay rule, stated\n * here with the normative section where the protocol is standardized\n * (for example RFC 6749 §4.1.2 for an authorization code). It takes no\n * operation context and its result is never replayed from the keyed\n * record; a protocol that names its own operation (a password\n * operation, a reset) may answer a retry of that same operation with\n * the outcome it recorded, as its rule states.\n *\n * @generated from protobuf field: string ceremony = 2\n */\n ceremony: string;\n } | {\n oneofKind: \"natural\";\n /**\n * The method's effect is the same however often it is applied: the\n * invariant that makes it so and what a repeat answers, including after\n * an intervening change.\n *\n * @generated from protobuf field: string natural = 3\n */\n natural: string;\n } | {\n oneofKind: undefined;\n };\n}\n/**\n * @generated from protobuf message sid.v1.common.GetOperationPeriodRequest\n */\nexport interface GetOperationPeriodRequest {\n}\n/**\n * One server-issued period.\n *\n * @generated from protobuf message sid.v1.common.OperationPeriod\n */\nexport interface OperationPeriod {\n /**\n * The period: an unsigned epoch the owning store issued, carried by a\n * keyed command as its `sid-operation-period` metadata. Not a timestamp.\n *\n * @generated from protobuf field: uint64 period = 1\n */\n period: bigint;\n /**\n * Until when a new command named with this period is admitted. A command\n * first submitted before this bound may still be retried within the\n * store's retention; one under a retired period is refused with\n * OPERATION_EXPIRED.\n *\n * @generated from protobuf field: google.protobuf.Timestamp accepted_until = 2\n */\n acceptedUntil?: Timestamp;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass RetryRule$Type extends MessageType<RetryRule> {\n constructor() {\n super(\"sid.v1.common.RetryRule\", [\n { no: 1, name: \"keyed\", kind: \"scalar\", oneof: \"rule\", T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"ceremony\", kind: \"scalar\", oneof: \"rule\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"natural\", kind: \"scalar\", oneof: \"rule\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<RetryRule>): RetryRule {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.rule = { oneofKind: undefined };\n if (value !== undefined)\n reflectionMergePartial<RetryRule>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RetryRule): RetryRule {\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 /* bool keyed */ 1:\n message.rule = {\n oneofKind: \"keyed\",\n keyed: reader.bool()\n };\n break;\n case /* string ceremony */ 2:\n message.rule = {\n oneofKind: \"ceremony\",\n ceremony: reader.string()\n };\n break;\n case /* string natural */ 3:\n message.rule = {\n oneofKind: \"natural\",\n natural: reader.string()\n };\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: RetryRule, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bool keyed = 1; */\n if (message.rule.oneofKind === \"keyed\")\n writer.tag(1, WireType.Varint).bool(message.rule.keyed);\n /* string ceremony = 2; */\n if (message.rule.oneofKind === \"ceremony\")\n writer.tag(2, WireType.LengthDelimited).string(message.rule.ceremony);\n /* string natural = 3; */\n if (message.rule.oneofKind === \"natural\")\n writer.tag(3, WireType.LengthDelimited).string(message.rule.natural);\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.RetryRule\n */\nexport const RetryRule = new RetryRule$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetOperationPeriodRequest$Type extends MessageType<GetOperationPeriodRequest> {\n constructor() {\n super(\"sid.v1.common.GetOperationPeriodRequest\", []);\n }\n create(value?: PartialMessage<GetOperationPeriodRequest>): GetOperationPeriodRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<GetOperationPeriodRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetOperationPeriodRequest): GetOperationPeriodRequest {\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 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: GetOperationPeriodRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\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.GetOperationPeriodRequest\n */\nexport const GetOperationPeriodRequest = new GetOperationPeriodRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass OperationPeriod$Type extends MessageType<OperationPeriod> {\n constructor() {\n super(\"sid.v1.common.OperationPeriod\", [\n { no: 1, name: \"period\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"accepted_until\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<OperationPeriod>): OperationPeriod {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.period = 0n;\n if (value !== undefined)\n reflectionMergePartial<OperationPeriod>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OperationPeriod): OperationPeriod {\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 /* uint64 period */ 1:\n message.period = reader.uint64().toBigInt();\n break;\n case /* google.protobuf.Timestamp accepted_until */ 2:\n message.acceptedUntil = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.acceptedUntil);\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: OperationPeriod, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 period = 1; */\n if (message.period !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.period);\n /* google.protobuf.Timestamp accepted_until = 2; */\n if (message.acceptedUntil)\n Timestamp.internalBinaryWrite(message.acceptedUntil, 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.OperationPeriod\n */\nexport const OperationPeriod = new OperationPeriod$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.common.OperationService\n */\nexport const OperationService = new ServiceType(\"sid.v1.common.OperationService\", [\n { name: \"GetOperationPeriod\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { get: \"/v1/operations/period\" }, \"sid.v1.common.retry\": { natural: \"the current period is answered, issued when none is current: a repeat answers the same period until a later one replaces it, and no call retires a period another caller still holds within its acceptance bound\" } }, I: GetOperationPeriodRequest, O: OperationPeriod }\n]);\n"]}
|