@structured-id/proto 0.4.0 → 0.4.1
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 +7 -0
- package/dist/generated/sid/v1/account/account.client.d.ts +34 -16
- package/dist/generated/sid/v1/account/account.client.js +17 -8
- package/dist/generated/sid/v1/account/account.client.js.map +1 -1
- package/dist/generated/sid/v1/account/account.js +8 -8
- package/dist/generated/sid/v1/account/account.js.map +1 -1
- package/dist/generated/sid/v1/admin/admin.js +2 -2
- package/dist/generated/sid/v1/admin/admin.js.map +1 -1
- package/dist/generated/sid/v1/admin/branding.client.d.ts +2 -0
- package/dist/generated/sid/v1/admin/branding.client.js +1 -0
- package/dist/generated/sid/v1/admin/branding.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/branding.js +2 -2
- package/dist/generated/sid/v1/admin/branding.js.map +1 -1
- package/dist/generated/sid/v1/admin/enrollment.client.d.ts +29 -0
- package/dist/generated/sid/v1/admin/enrollment.client.js +22 -3
- package/dist/generated/sid/v1/admin/enrollment.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/enrollment.d.ts +128 -2
- package/dist/generated/sid/v1/admin/enrollment.js +238 -1
- package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
- package/dist/generated/sid/v1/admin/flow.client.d.ts +12 -6
- package/dist/generated/sid/v1/admin/flow.client.js +6 -3
- package/dist/generated/sid/v1/admin/flow.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/flow.js +7 -7
- package/dist/generated/sid/v1/admin/flow.js.map +1 -1
- package/dist/generated/sid/v1/admin/notifications.js +2 -2
- package/dist/generated/sid/v1/admin/notifications.js.map +1 -1
- package/dist/generated/sid/v1/admin/provisioning.js +4 -4
- package/dist/generated/sid/v1/admin/provisioning.js.map +1 -1
- package/dist/generated/sid/v1/admin/security.client.d.ts +4 -2
- package/dist/generated/sid/v1/admin/security.client.js +2 -1
- package/dist/generated/sid/v1/admin/security.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/security.js +2 -2
- package/dist/generated/sid/v1/admin/security.js.map +1 -1
- package/dist/generated/sid/v1/attestation/attestation.client.d.ts +4 -2
- package/dist/generated/sid/v1/attestation/attestation.client.js +2 -1
- package/dist/generated/sid/v1/attestation/attestation.client.js.map +1 -1
- package/dist/generated/sid/v1/attestation/attestation.js +4 -4
- package/dist/generated/sid/v1/attestation/attestation.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.client.d.ts +10 -2
- package/dist/generated/sid/v1/authn/auth.client.js +5 -1
- package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.d.ts +0 -12
- package/dist/generated/sid/v1/authn/auth.js +2 -18
- package/dist/generated/sid/v1/authn/auth.js.map +1 -1
- package/dist/generated/sid/v1/authn/issuer.client.d.ts +10 -4
- package/dist/generated/sid/v1/authn/issuer.client.js +5 -2
- package/dist/generated/sid/v1/authn/issuer.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/issuer.js +11 -11
- package/dist/generated/sid/v1/authn/issuer.js.map +1 -1
- package/dist/generated/sid/v1/authn/system_integration.js +1 -1
- package/dist/generated/sid/v1/authn/system_integration.js.map +1 -1
- package/dist/generated/sid/v1/authz/authz.client.d.ts +0 -28
- package/dist/generated/sid/v1/authz/authz.client.js +25 -43
- package/dist/generated/sid/v1/authz/authz.client.js.map +1 -1
- package/dist/generated/sid/v1/authz/authz.d.ts +0 -96
- package/dist/generated/sid/v1/authz/authz.js +0 -230
- package/dist/generated/sid/v1/authz/authz.js.map +1 -1
- package/dist/generated/sid/v1/authz/forward_auth.js +1 -1
- package/dist/generated/sid/v1/authz/forward_auth.js.map +1 -1
- package/dist/generated/sid/v1/events/event_stream.js +2 -2
- package/dist/generated/sid/v1/events/event_stream.js.map +1 -1
- package/dist/generated/sid/v1/projects/projects.client.d.ts +10 -4
- package/dist/generated/sid/v1/projects/projects.client.js +5 -2
- package/dist/generated/sid/v1/projects/projects.client.js.map +1 -1
- package/dist/generated/sid/v1/projects/projects.js +2 -2
- package/dist/generated/sid/v1/projects/projects.js.map +1 -1
- package/dist/generated/sid/v1/scim/scim.client.d.ts +4 -2
- package/dist/generated/sid/v1/scim/scim.client.js +2 -1
- package/dist/generated/sid/v1/scim/scim.client.js.map +1 -1
- package/dist/generated/sid/v1/scim/scim.js +4 -4
- package/dist/generated/sid/v1/scim/scim.js.map +1 -1
- package/dist/generated/sid/v1/test/test.js +10 -10
- package/dist/generated/sid/v1/test/test.js.map +1 -1
- package/dist/generated/sid/v1/ui/public_settings.client.d.ts +66 -0
- package/dist/generated/sid/v1/ui/public_settings.client.js +42 -0
- package/dist/generated/sid/v1/ui/public_settings.client.js.map +1 -0
- package/dist/generated/sid/v1/ui/public_settings.d.ts +61 -0
- package/dist/generated/sid/v1/ui/public_settings.js +106 -0
- package/dist/generated/sid/v1/ui/public_settings.js.map +1 -0
- package/package.json +6 -6
|
@@ -59,6 +59,6 @@ export const VerifyRequest = new VerifyRequest$Type();
|
|
|
59
59
|
* @generated ServiceType for protobuf service sid.v1.authz.ForwardAuthService
|
|
60
60
|
*/
|
|
61
61
|
export const ForwardAuthService = new ServiceType("sid.v1.authz.ForwardAuthService", [
|
|
62
|
-
{ name: "Verify", options: { "google.api.http": { custom: { kind: "*", path: "/auth/verify/{application}" } } }, I: VerifyRequest, O: HttpBody }
|
|
62
|
+
{ name: "Verify", idempotency: "IDEMPOTENT", options: { "google.api.http": { custom: { kind: "*", path: "/auth/verify/{application}" } } }, I: VerifyRequest, O: HttpBody }
|
|
63
63
|
]);
|
|
64
64
|
//# sourceMappingURL=forward_auth.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forward_auth.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/authz/forward_auth.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,0GAA0G;AAC1G,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CA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xE,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC;QACnC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAClF,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,kBAAkB,EAAE,CAAC;AACtD;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,WAAW,CAAC,iCAAiC,EAAE;IACjF,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,4BAA4B,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,QAAQ,EAAE;CAC9K,CAAC,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/authz/forward_auth.proto\" (package \"sid.v1.authz\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { HttpBody } from \"../../../google/api/httpbody.js\";\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * @generated from protobuf message sid.v1.authz.VerifyRequest\n */\nexport interface VerifyRequest {\n /**\n * Name of the protected application in the route configuration: letters,\n * digits, '-' and '_'. Set by the reverse proxy's configured address.\n *\n * @generated from protobuf field: string application = 1\n */\n application: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass VerifyRequest$Type extends MessageType<VerifyRequest> {\n constructor() {\n super(\"sid.v1.authz.VerifyRequest\", [\n { no: 1, name: \"application\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<VerifyRequest>): VerifyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.application = \"\";\n if (value !== undefined)\n reflectionMergePartial<VerifyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VerifyRequest): VerifyRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string application */ 1:\n message.application = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: VerifyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string application = 1; */\n if (message.application !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.application);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authz.VerifyRequest\n */\nexport const VerifyRequest = new VerifyRequest$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.authz.ForwardAuthService\n */\nexport const ForwardAuthService = new ServiceType(\"sid.v1.authz.ForwardAuthService\", [\n { name: \"Verify\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { custom: { kind: \"*\", path: \"/auth/verify/{application}\" } } }, I: VerifyRequest, O: HttpBody }\n]);\n"]}
|
|
@@ -254,7 +254,7 @@ export const ReplayRequest = new ReplayRequest$Type();
|
|
|
254
254
|
* @generated ServiceType for protobuf service sid.v1.events.EventStreamService
|
|
255
255
|
*/
|
|
256
256
|
export const EventStreamService = new ServiceType("sid.v1.events.EventStreamService", [
|
|
257
|
-
{ name: "Subscribe", serverStreaming: true, options: {}, I: SubscribeRequest, O: CloudEvent },
|
|
258
|
-
{ name: "Replay", serverStreaming: true, options: {}, I: ReplayRequest, O: CloudEvent }
|
|
257
|
+
{ name: "Subscribe", idempotency: "NO_SIDE_EFFECTS", serverStreaming: true, options: {}, I: SubscribeRequest, O: CloudEvent },
|
|
258
|
+
{ name: "Replay", idempotency: "NO_SIDE_EFFECTS", serverStreaming: true, options: {}, I: ReplayRequest, O: CloudEvent }
|
|
259
259
|
]);
|
|
260
260
|
//# sourceMappingURL=event_stream.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event_stream.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/events/event_stream.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,4GAA4G;AAC5G,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;AAiHlE,2FAA2F;AAC3F,MAAM,eAAgB,SAAQ,WAAuB;IACjD;QAC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tC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE;YAC9C,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;QAC1E,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC;QACnC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAClF,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,kBAAkB,EAAE,CAAC;AACtD;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,WAAW,CAAC,kCAAkC,EAAE;IAClF,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,gBAAgB,EAAE,CAAC,EAAE,UAAU,EAAE;IAC7F,EAAE,IAAI,EAAE,QAAQ,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,UAAU,EAAE;CAC1F,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/events/event_stream.proto\" (package \"sid.v1.events\", 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// CloudEvents 1.0 envelope (CNCF standard)\n// Follows the official CloudEvents proto format with spec_version as an\n// explicit field.\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * @generated from protobuf message sid.v1.events.CloudEvent\n */\nexport interface CloudEvent {\n /**\n * REQUIRED: Unique event ID (UUIDv7 or ULID).\n *\n * @generated from protobuf field: string id = 1\n */\n id: string;\n /**\n * REQUIRED: Event source identifier (e.g., \"sid-identity.acme.com\").\n *\n * @generated from protobuf field: string source = 2\n */\n source: string;\n /**\n * REQUIRED: CloudEvents spec version (always \"1.0\").\n *\n * @generated from protobuf field: string spec_version = 3\n */\n specVersion: string;\n /**\n * REQUIRED: Event type in reverse-DNS convention (e.g., \"sid.user.created.v1\").\n *\n * @generated from protobuf field: string type = 4\n */\n type: string;\n /**\n * OPTIONAL: Resource identifier that the event relates to.\n *\n * @generated from protobuf field: string subject = 5\n */\n subject: string;\n /**\n * OPTIONAL: When the event occurred.\n *\n * @generated from protobuf field: google.protobuf.Timestamp time = 6\n */\n time?: Timestamp;\n /**\n * OPTIONAL: Content type of the data payload (default: \"application/json\").\n *\n * @generated from protobuf field: string datacontenttype = 7\n */\n datacontenttype: string;\n /**\n * Event-specific payload (JSON or protobuf bytes).\n *\n * @generated from protobuf field: bytes data = 8\n */\n data: Uint8Array;\n /**\n * SID extension: monotonic sequence number for ordering within a stream.\n *\n * @generated from protobuf field: uint64 sequence = 9\n */\n sequence: bigint;\n}\n// ══════════════════════════════════════════════════════════════════════════\n// Subscribe / Replay requests\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * @generated from protobuf message sid.v1.events.SubscribeRequest\n */\nexport interface SubscribeRequest {\n /**\n * Event type patterns to subscribe to (e.g., \"sid.user.*\", \"sid.security.>\").\n * Empty = all events.\n *\n * @generated from protobuf field: repeated string event_types = 1\n */\n eventTypes: string[];\n /**\n * Attribute filters (key=value). All must match.\n *\n * @generated from protobuf field: map<string, string> filters = 2\n */\n filters: {\n [key: string]: string;\n };\n}\n/**\n * @generated from protobuf message sid.v1.events.ReplayRequest\n */\nexport interface ReplayRequest {\n /**\n * Replay events starting from this timestamp.\n *\n * @generated from protobuf field: google.protobuf.Timestamp from = 1\n */\n from?: Timestamp;\n /**\n * Optional: replay up to this timestamp (default: now).\n *\n * @generated from protobuf field: optional google.protobuf.Timestamp to = 2\n */\n to?: Timestamp;\n /**\n * Event type patterns to filter (same as SubscribeRequest).\n *\n * @generated from protobuf field: repeated string event_types = 3\n */\n eventTypes: string[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass CloudEvent$Type extends MessageType<CloudEvent> {\n constructor() {\n super(\"sid.v1.events.CloudEvent\", [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"source\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"spec_version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"type\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"subject\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"time\", kind: \"message\", T: () => Timestamp },\n { no: 7, name: \"datacontenttype\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 8, name: \"data\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 9, name: \"sequence\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<CloudEvent>): CloudEvent {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.id = \"\";\n message.source = \"\";\n message.specVersion = \"\";\n message.type = \"\";\n message.subject = \"\";\n message.datacontenttype = \"\";\n message.data = new Uint8Array(0);\n message.sequence = 0n;\n if (value !== undefined)\n reflectionMergePartial<CloudEvent>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CloudEvent): CloudEvent {\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 id */ 1:\n message.id = reader.string();\n break;\n case /* string source */ 2:\n message.source = reader.string();\n break;\n case /* string spec_version */ 3:\n message.specVersion = reader.string();\n break;\n case /* string type */ 4:\n message.type = reader.string();\n break;\n case /* string subject */ 5:\n message.subject = reader.string();\n break;\n case /* google.protobuf.Timestamp time */ 6:\n message.time = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.time);\n break;\n case /* string datacontenttype */ 7:\n message.datacontenttype = reader.string();\n break;\n case /* bytes data */ 8:\n message.data = reader.bytes();\n break;\n case /* uint64 sequence */ 9:\n message.sequence = reader.uint64().toBigInt();\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: CloudEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string id = 1; */\n if (message.id !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.id);\n /* string source = 2; */\n if (message.source !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.source);\n /* string spec_version = 3; */\n if (message.specVersion !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.specVersion);\n /* string type = 4; */\n if (message.type !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.type);\n /* string subject = 5; */\n if (message.subject !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.subject);\n /* google.protobuf.Timestamp time = 6; */\n if (message.time)\n Timestamp.internalBinaryWrite(message.time, writer.tag(6, WireType.LengthDelimited).fork(), options).join();\n /* string datacontenttype = 7; */\n if (message.datacontenttype !== \"\")\n writer.tag(7, WireType.LengthDelimited).string(message.datacontenttype);\n /* bytes data = 8; */\n if (message.data.length)\n writer.tag(8, WireType.LengthDelimited).bytes(message.data);\n /* uint64 sequence = 9; */\n if (message.sequence !== 0n)\n writer.tag(9, WireType.Varint).uint64(message.sequence);\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.events.CloudEvent\n */\nexport const CloudEvent = new CloudEvent$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SubscribeRequest$Type extends MessageType<SubscribeRequest> {\n constructor() {\n super(\"sid.v1.events.SubscribeRequest\", [\n { no: 1, name: \"event_types\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"filters\", kind: \"map\", K: 9 /*ScalarType.STRING*/, V: { kind: \"scalar\", T: 9 /*ScalarType.STRING*/ } }\n ]);\n }\n create(value?: PartialMessage<SubscribeRequest>): SubscribeRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.eventTypes = [];\n message.filters = {};\n if (value !== undefined)\n reflectionMergePartial<SubscribeRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubscribeRequest): SubscribeRequest {\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 string event_types */ 1:\n message.eventTypes.push(reader.string());\n break;\n case /* map<string, string> filters */ 2:\n this.binaryReadMap2(message.filters, reader, options);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n private binaryReadMap2(map: SubscribeRequest[\"filters\"], reader: IBinaryReader, options: BinaryReadOptions): void {\n let len = reader.uint32(), end = reader.pos + len, key: keyof SubscribeRequest[\"filters\"] | undefined, val: SubscribeRequest[\"filters\"][any] | undefined;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case 1:\n key = reader.string();\n break;\n case 2:\n val = reader.string();\n break;\n default: throw new globalThis.Error(\"unknown map entry field for sid.v1.events.SubscribeRequest.filters\");\n }\n }\n map[key ?? \"\"] = val ?? \"\";\n }\n internalBinaryWrite(message: SubscribeRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated string event_types = 1; */\n for (let i = 0; i < message.eventTypes.length; i++)\n writer.tag(1, WireType.LengthDelimited).string(message.eventTypes[i]);\n /* map<string, string> filters = 2; */\n for (let k of globalThis.Object.keys(message.filters))\n writer.tag(2, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.filters[k]).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.events.SubscribeRequest\n */\nexport const SubscribeRequest = new SubscribeRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ReplayRequest$Type extends MessageType<ReplayRequest> {\n constructor() {\n super(\"sid.v1.events.ReplayRequest\", [\n { no: 1, name: \"from\", kind: \"message\", T: () => Timestamp },\n { no: 2, name: \"to\", kind: \"message\", T: () => Timestamp },\n { no: 3, name: \"event_types\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ReplayRequest>): ReplayRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.eventTypes = [];\n if (value !== undefined)\n reflectionMergePartial<ReplayRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReplayRequest): ReplayRequest {\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 /* google.protobuf.Timestamp from */ 1:\n message.from = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.from);\n break;\n case /* optional google.protobuf.Timestamp to */ 2:\n message.to = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.to);\n break;\n case /* repeated string event_types */ 3:\n message.eventTypes.push(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: ReplayRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* google.protobuf.Timestamp from = 1; */\n if (message.from)\n Timestamp.internalBinaryWrite(message.from, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* optional google.protobuf.Timestamp to = 2; */\n if (message.to)\n Timestamp.internalBinaryWrite(message.to, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n /* repeated string event_types = 3; */\n for (let i = 0; i < message.eventTypes.length; i++)\n writer.tag(3, WireType.LengthDelimited).string(message.eventTypes[i]);\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.events.ReplayRequest\n */\nexport const ReplayRequest = new ReplayRequest$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.events.EventStreamService\n */\nexport const EventStreamService = new ServiceType(\"sid.v1.events.EventStreamService\", [\n { name: \"Subscribe\", serverStreaming: true, options: {}, I: SubscribeRequest, O: CloudEvent },\n { name: \"Replay\", serverStreaming: true, options: {}, I: ReplayRequest, O: CloudEvent }\n]);\n"]}
|
|
1
|
+
{"version":3,"file":"event_stream.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/events/event_stream.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,4GAA4G;AAC5G,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;AAiHlE,2FAA2F;AAC3F,MAAM,eAAgB,SAAQ,WAAuB;IACjD;QACI,KAAK,CAAC,0BAA0B,EAAE;YAC9B,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,qBAAqB,EAAE;YACjE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,qBAAqB,EAAE;YACrE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAA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AO,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,aAAa,GAAG,IAAI,kBAAkB,EAAE,CAAC;AACtD;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,WAAW,CAAC,kCAAkC,EAAE;IAClF,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,gBAAgB,EAAE,CAAC,EAAE,UAAU,EAAE;IAC7H,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,UAAU,EAAE;CAC1H,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/events/event_stream.proto\" (package \"sid.v1.events\", 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// CloudEvents 1.0 envelope (CNCF standard)\n// Follows the official CloudEvents proto format with spec_version as an\n// explicit field.\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * @generated from protobuf message sid.v1.events.CloudEvent\n */\nexport interface CloudEvent {\n /**\n * REQUIRED: Unique event ID (UUIDv7 or ULID).\n *\n * @generated from protobuf field: string id = 1\n */\n id: string;\n /**\n * REQUIRED: Event source identifier (e.g., \"sid-identity.acme.com\").\n *\n * @generated from protobuf field: string source = 2\n */\n source: string;\n /**\n * REQUIRED: CloudEvents spec version (always \"1.0\").\n *\n * @generated from protobuf field: string spec_version = 3\n */\n specVersion: string;\n /**\n * REQUIRED: Event type in reverse-DNS convention (e.g., \"sid.user.created.v1\").\n *\n * @generated from protobuf field: string type = 4\n */\n type: string;\n /**\n * OPTIONAL: Resource identifier that the event relates to.\n *\n * @generated from protobuf field: string subject = 5\n */\n subject: string;\n /**\n * OPTIONAL: When the event occurred.\n *\n * @generated from protobuf field: google.protobuf.Timestamp time = 6\n */\n time?: Timestamp;\n /**\n * OPTIONAL: Content type of the data payload (default: \"application/json\").\n *\n * @generated from protobuf field: string datacontenttype = 7\n */\n datacontenttype: string;\n /**\n * Event-specific payload (JSON or protobuf bytes).\n *\n * @generated from protobuf field: bytes data = 8\n */\n data: Uint8Array;\n /**\n * SID extension: monotonic sequence number for ordering within a stream.\n *\n * @generated from protobuf field: uint64 sequence = 9\n */\n sequence: bigint;\n}\n// ══════════════════════════════════════════════════════════════════════════\n// Subscribe / Replay requests\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * @generated from protobuf message sid.v1.events.SubscribeRequest\n */\nexport interface SubscribeRequest {\n /**\n * Event type patterns to subscribe to (e.g., \"sid.user.*\", \"sid.security.>\").\n * Empty = all events.\n *\n * @generated from protobuf field: repeated string event_types = 1\n */\n eventTypes: string[];\n /**\n * Attribute filters (key=value). All must match.\n *\n * @generated from protobuf field: map<string, string> filters = 2\n */\n filters: {\n [key: string]: string;\n };\n}\n/**\n * @generated from protobuf message sid.v1.events.ReplayRequest\n */\nexport interface ReplayRequest {\n /**\n * Replay events starting from this timestamp.\n *\n * @generated from protobuf field: google.protobuf.Timestamp from = 1\n */\n from?: Timestamp;\n /**\n * Optional: replay up to this timestamp (default: now).\n *\n * @generated from protobuf field: optional google.protobuf.Timestamp to = 2\n */\n to?: Timestamp;\n /**\n * Event type patterns to filter (same as SubscribeRequest).\n *\n * @generated from protobuf field: repeated string event_types = 3\n */\n eventTypes: string[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass CloudEvent$Type extends MessageType<CloudEvent> {\n constructor() {\n super(\"sid.v1.events.CloudEvent\", [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"source\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"spec_version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"type\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"subject\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"time\", kind: \"message\", T: () => Timestamp },\n { no: 7, name: \"datacontenttype\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 8, name: \"data\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 9, name: \"sequence\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<CloudEvent>): CloudEvent {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.id = \"\";\n message.source = \"\";\n message.specVersion = \"\";\n message.type = \"\";\n message.subject = \"\";\n message.datacontenttype = \"\";\n message.data = new Uint8Array(0);\n message.sequence = 0n;\n if (value !== undefined)\n reflectionMergePartial<CloudEvent>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CloudEvent): CloudEvent {\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 id */ 1:\n message.id = reader.string();\n break;\n case /* string source */ 2:\n message.source = reader.string();\n break;\n case /* string spec_version */ 3:\n message.specVersion = reader.string();\n break;\n case /* string type */ 4:\n message.type = reader.string();\n break;\n case /* string subject */ 5:\n message.subject = reader.string();\n break;\n case /* google.protobuf.Timestamp time */ 6:\n message.time = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.time);\n break;\n case /* string datacontenttype */ 7:\n message.datacontenttype = reader.string();\n break;\n case /* bytes data */ 8:\n message.data = reader.bytes();\n break;\n case /* uint64 sequence */ 9:\n message.sequence = reader.uint64().toBigInt();\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: CloudEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string id = 1; */\n if (message.id !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.id);\n /* string source = 2; */\n if (message.source !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.source);\n /* string spec_version = 3; */\n if (message.specVersion !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.specVersion);\n /* string type = 4; */\n if (message.type !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.type);\n /* string subject = 5; */\n if (message.subject !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.subject);\n /* google.protobuf.Timestamp time = 6; */\n if (message.time)\n Timestamp.internalBinaryWrite(message.time, writer.tag(6, WireType.LengthDelimited).fork(), options).join();\n /* string datacontenttype = 7; */\n if (message.datacontenttype !== \"\")\n writer.tag(7, WireType.LengthDelimited).string(message.datacontenttype);\n /* bytes data = 8; */\n if (message.data.length)\n writer.tag(8, WireType.LengthDelimited).bytes(message.data);\n /* uint64 sequence = 9; */\n if (message.sequence !== 0n)\n writer.tag(9, WireType.Varint).uint64(message.sequence);\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.events.CloudEvent\n */\nexport const CloudEvent = new CloudEvent$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SubscribeRequest$Type extends MessageType<SubscribeRequest> {\n constructor() {\n super(\"sid.v1.events.SubscribeRequest\", [\n { no: 1, name: \"event_types\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"filters\", kind: \"map\", K: 9 /*ScalarType.STRING*/, V: { kind: \"scalar\", T: 9 /*ScalarType.STRING*/ } }\n ]);\n }\n create(value?: PartialMessage<SubscribeRequest>): SubscribeRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.eventTypes = [];\n message.filters = {};\n if (value !== undefined)\n reflectionMergePartial<SubscribeRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubscribeRequest): SubscribeRequest {\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 string event_types */ 1:\n message.eventTypes.push(reader.string());\n break;\n case /* map<string, string> filters */ 2:\n this.binaryReadMap2(message.filters, reader, options);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n private binaryReadMap2(map: SubscribeRequest[\"filters\"], reader: IBinaryReader, options: BinaryReadOptions): void {\n let len = reader.uint32(), end = reader.pos + len, key: keyof SubscribeRequest[\"filters\"] | undefined, val: SubscribeRequest[\"filters\"][any] | undefined;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case 1:\n key = reader.string();\n break;\n case 2:\n val = reader.string();\n break;\n default: throw new globalThis.Error(\"unknown map entry field for sid.v1.events.SubscribeRequest.filters\");\n }\n }\n map[key ?? \"\"] = val ?? \"\";\n }\n internalBinaryWrite(message: SubscribeRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated string event_types = 1; */\n for (let i = 0; i < message.eventTypes.length; i++)\n writer.tag(1, WireType.LengthDelimited).string(message.eventTypes[i]);\n /* map<string, string> filters = 2; */\n for (let k of globalThis.Object.keys(message.filters))\n writer.tag(2, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.filters[k]).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.events.SubscribeRequest\n */\nexport const SubscribeRequest = new SubscribeRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ReplayRequest$Type extends MessageType<ReplayRequest> {\n constructor() {\n super(\"sid.v1.events.ReplayRequest\", [\n { no: 1, name: \"from\", kind: \"message\", T: () => Timestamp },\n { no: 2, name: \"to\", kind: \"message\", T: () => Timestamp },\n { no: 3, name: \"event_types\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ReplayRequest>): ReplayRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.eventTypes = [];\n if (value !== undefined)\n reflectionMergePartial<ReplayRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReplayRequest): ReplayRequest {\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 /* google.protobuf.Timestamp from */ 1:\n message.from = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.from);\n break;\n case /* optional google.protobuf.Timestamp to */ 2:\n message.to = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.to);\n break;\n case /* repeated string event_types */ 3:\n message.eventTypes.push(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: ReplayRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* google.protobuf.Timestamp from = 1; */\n if (message.from)\n Timestamp.internalBinaryWrite(message.from, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* optional google.protobuf.Timestamp to = 2; */\n if (message.to)\n Timestamp.internalBinaryWrite(message.to, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n /* repeated string event_types = 3; */\n for (let i = 0; i < message.eventTypes.length; i++)\n writer.tag(3, WireType.LengthDelimited).string(message.eventTypes[i]);\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.events.ReplayRequest\n */\nexport const ReplayRequest = new ReplayRequest$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.events.EventStreamService\n */\nexport const EventStreamService = new ServiceType(\"sid.v1.events.EventStreamService\", [\n { name: \"Subscribe\", idempotency: \"NO_SIDE_EFFECTS\", serverStreaming: true, options: {}, I: SubscribeRequest, O: CloudEvent },\n { name: \"Replay\", idempotency: \"NO_SIDE_EFFECTS\", serverStreaming: true, options: {}, I: ReplayRequest, O: CloudEvent }\n]);\n"]}
|
|
@@ -97,7 +97,9 @@ export interface IProjectServiceClient {
|
|
|
97
97
|
*/
|
|
98
98
|
deleteApplication(input: DeleteApplicationRequest, options?: RpcOptions): UnaryCall<DeleteApplicationRequest, Empty>;
|
|
99
99
|
/**
|
|
100
|
-
* Client role.
|
|
100
|
+
* Client role. An application has at most one: a repeat is refused
|
|
101
|
+
* (APPLICATION_ROLE_EXISTS) and adds nothing; the secret is in the first
|
|
102
|
+
* response only.
|
|
101
103
|
*
|
|
102
104
|
* @generated from protobuf rpc: AddClientRole
|
|
103
105
|
*/
|
|
@@ -107,7 +109,8 @@ export interface IProjectServiceClient {
|
|
|
107
109
|
*/
|
|
108
110
|
updateClientRole(input: UpdateClientRoleRequest, options?: RpcOptions): UnaryCall<UpdateClientRoleRequest, Application>;
|
|
109
111
|
/**
|
|
110
|
-
* Protected-resource role.
|
|
112
|
+
* Protected-resource role. Its indicator is unique: a repeat is refused and
|
|
113
|
+
* adds nothing.
|
|
111
114
|
*
|
|
112
115
|
* @generated from protobuf rpc: AddResourceRole
|
|
113
116
|
*/
|
|
@@ -240,7 +243,9 @@ export declare class ProjectServiceClient implements IProjectServiceClient, Serv
|
|
|
240
243
|
*/
|
|
241
244
|
deleteApplication(input: DeleteApplicationRequest, options?: RpcOptions): UnaryCall<DeleteApplicationRequest, Empty>;
|
|
242
245
|
/**
|
|
243
|
-
* Client role.
|
|
246
|
+
* Client role. An application has at most one: a repeat is refused
|
|
247
|
+
* (APPLICATION_ROLE_EXISTS) and adds nothing; the secret is in the first
|
|
248
|
+
* response only.
|
|
244
249
|
*
|
|
245
250
|
* @generated from protobuf rpc: AddClientRole
|
|
246
251
|
*/
|
|
@@ -250,7 +255,8 @@ export declare class ProjectServiceClient implements IProjectServiceClient, Serv
|
|
|
250
255
|
*/
|
|
251
256
|
updateClientRole(input: UpdateClientRoleRequest, options?: RpcOptions): UnaryCall<UpdateClientRoleRequest, Application>;
|
|
252
257
|
/**
|
|
253
|
-
* Protected-resource role.
|
|
258
|
+
* Protected-resource role. Its indicator is unique: a repeat is refused and
|
|
259
|
+
* adds nothing.
|
|
254
260
|
*
|
|
255
261
|
* @generated from protobuf rpc: AddResourceRole
|
|
256
262
|
*/
|
|
@@ -92,7 +92,9 @@ export class ProjectServiceClient {
|
|
|
92
92
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
93
93
|
}
|
|
94
94
|
/**
|
|
95
|
-
* Client role.
|
|
95
|
+
* Client role. An application has at most one: a repeat is refused
|
|
96
|
+
* (APPLICATION_ROLE_EXISTS) and adds nothing; the secret is in the first
|
|
97
|
+
* response only.
|
|
96
98
|
*
|
|
97
99
|
* @generated from protobuf rpc: AddClientRole
|
|
98
100
|
*/
|
|
@@ -108,7 +110,8 @@ export class ProjectServiceClient {
|
|
|
108
110
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
109
111
|
}
|
|
110
112
|
/**
|
|
111
|
-
* Protected-resource role.
|
|
113
|
+
* Protected-resource role. Its indicator is unique: a repeat is refused and
|
|
114
|
+
* adds nothing.
|
|
112
115
|
*
|
|
113
116
|
* @generated from protobuf rpc: AddResourceRole
|
|
114
117
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projects.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/projects/projects.client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAuC/C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AA6I1D;;;;GAIG;AACH,MAAM,OAAO,oBAAoB;IAIA;IAH7B,QAAQ,GAAG,cAAc,CAAC,QAAQ,CAAC;IACnC,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC;IACjC,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC;IACjC,YAA6B,UAAwB;QAAxB,eAAU,GAAV,UAAU,CAAc;IACrD,CAAC;IACD;;;;OAI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AY,CAAC,OAAO,CAAC,CAAC;QAC7E,OAAO,cAAc,CAAkE,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACzI,CAAC;IACD;;OAEG;IACH,wBAAwB,CAAC,KAAsC,EAAE,OAAoB;QACjF,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC7E,OAAO,cAAc,CAAyC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAChH,CAAC;CACJ","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/projects/projects.proto\" (package \"sid.v1.projects\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { ProjectService } from \"./projects.js\";\nimport type { RevokeInitialAccessTokenRequest } from \"./projects.js\";\nimport type { ListInitialAccessTokensResponse } from \"./projects.js\";\nimport type { ListInitialAccessTokensRequest } from \"./projects.js\";\nimport type { CreateInitialAccessTokenResponse } from \"./projects.js\";\nimport type { CreateInitialAccessTokenRequest } from \"./projects.js\";\nimport type { DeleteRegisteredClientRequest } from \"./projects.js\";\nimport type { UpdateRegisteredClientRequest } from \"./projects.js\";\nimport type { OAuthClient } from \"./projects.js\";\nimport type { GetRegisteredClientRequest } from \"./projects.js\";\nimport type { RegisterClientResponse } from \"./projects.js\";\nimport type { RegisterClientRequest } from \"./projects.js\";\nimport type { RemoveRoleRequest } from \"./projects.js\";\nimport type { Role } from \"../authz/authz.js\";\nimport type { AddRoleRequest } from \"./projects.js\";\nimport type { ListResourceAccessResponse } from \"./projects.js\";\nimport type { ListResourceAccessRequest } from \"./projects.js\";\nimport type { RemoveResourceAccessRequest } from \"./projects.js\";\nimport type { ResourceAccess } from \"./projects.js\";\nimport type { SetResourceAccessRequest } from \"./projects.js\";\nimport type { ProtectedResource } from \"./projects.js\";\nimport type { UpdateResourceRoleRequest } from \"./projects.js\";\nimport type { AddResourceRoleRequest } from \"./projects.js\";\nimport type { UpdateClientRoleRequest } from \"./projects.js\";\nimport type { AddClientRoleRequest } from \"./projects.js\";\nimport type { DeleteApplicationRequest } from \"./projects.js\";\nimport type { UpdateApplicationRequest } from \"./projects.js\";\nimport type { ListApplicationsResponse } from \"./projects.js\";\nimport type { ListApplicationsRequest } from \"./projects.js\";\nimport type { Application } from \"./projects.js\";\nimport type { GetApplicationRequest } from \"./projects.js\";\nimport type { CreateApplicationResponse } from \"./projects.js\";\nimport type { CreateApplicationRequest } from \"./projects.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { DeleteProjectRequest } from \"./projects.js\";\nimport type { UpdateProjectRequest } from \"./projects.js\";\nimport type { ListProjectsResponse } from \"./projects.js\";\nimport type { ListProjectsRequest } from \"./projects.js\";\nimport type { GetProjectRequest } from \"./projects.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { Project } from \"./projects.js\";\nimport type { CreateProjectRequest } from \"./projects.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * ProjectService manages projects and their resources.\n *\n * @generated from protobuf service sid.v1.projects.ProjectService\n */\nexport interface IProjectServiceClient {\n /**\n * Project CRUD.\n *\n * @generated from protobuf rpc: CreateProject\n */\n createProject(input: CreateProjectRequest, options?: RpcOptions): UnaryCall<CreateProjectRequest, Project>;\n /**\n * @generated from protobuf rpc: GetProject\n */\n getProject(input: GetProjectRequest, options?: RpcOptions): UnaryCall<GetProjectRequest, Project>;\n /**\n * @generated from protobuf rpc: ListProjects\n */\n listProjects(input: ListProjectsRequest, options?: RpcOptions): UnaryCall<ListProjectsRequest, ListProjectsResponse>;\n /**\n * @generated from protobuf rpc: UpdateProject\n */\n updateProject(input: UpdateProjectRequest, options?: RpcOptions): UnaryCall<UpdateProjectRequest, Project>;\n /**\n * @generated from protobuf rpc: DeleteProject\n */\n deleteProject(input: DeleteProjectRequest, options?: RpcOptions): UnaryCall<DeleteProjectRequest, Empty>;\n /**\n * Applications within a project. Creating one registers the roles it\n * starts with in one step.\n *\n * @generated from protobuf rpc: CreateApplication\n */\n createApplication(input: CreateApplicationRequest, options?: RpcOptions): UnaryCall<CreateApplicationRequest, CreateApplicationResponse>;\n /**\n * @generated from protobuf rpc: GetApplication\n */\n getApplication(input: GetApplicationRequest, options?: RpcOptions): UnaryCall<GetApplicationRequest, Application>;\n /**\n * @generated from protobuf rpc: ListApplications\n */\n listApplications(input: ListApplicationsRequest, options?: RpcOptions): UnaryCall<ListApplicationsRequest, ListApplicationsResponse>;\n /**\n * @generated from protobuf rpc: UpdateApplication\n */\n updateApplication(input: UpdateApplicationRequest, options?: RpcOptions): UnaryCall<UpdateApplicationRequest, Application>;\n /**\n * Removes the application: its client role and the client's access are\n * deleted, its resource role is retired and access to it ends.\n *\n * @generated from protobuf rpc: DeleteApplication\n */\n deleteApplication(input: DeleteApplicationRequest, options?: RpcOptions): UnaryCall<DeleteApplicationRequest, Empty>;\n /**\n * Client role.\n *\n * @generated from protobuf rpc: AddClientRole\n */\n addClientRole(input: AddClientRoleRequest, options?: RpcOptions): UnaryCall<AddClientRoleRequest, CreateApplicationResponse>;\n /**\n * @generated from protobuf rpc: UpdateClientRole\n */\n updateClientRole(input: UpdateClientRoleRequest, options?: RpcOptions): UnaryCall<UpdateClientRoleRequest, Application>;\n /**\n * Protected-resource role.\n *\n * @generated from protobuf rpc: AddResourceRole\n */\n addResourceRole(input: AddResourceRoleRequest, options?: RpcOptions): UnaryCall<AddResourceRoleRequest, Application>;\n /**\n * @generated from protobuf rpc: UpdateResourceRole\n */\n updateResourceRole(input: UpdateResourceRoleRequest, options?: RpcOptions): UnaryCall<UpdateResourceRoleRequest, ProtectedResource>;\n /**\n * Client-to-resource access.\n *\n * @generated from protobuf rpc: SetResourceAccess\n */\n setResourceAccess(input: SetResourceAccessRequest, options?: RpcOptions): UnaryCall<SetResourceAccessRequest, ResourceAccess>;\n /**\n * @generated from protobuf rpc: RemoveResourceAccess\n */\n removeResourceAccess(input: RemoveResourceAccessRequest, options?: RpcOptions): UnaryCall<RemoveResourceAccessRequest, Empty>;\n /**\n * @generated from protobuf rpc: ListResourceAccess\n */\n listResourceAccess(input: ListResourceAccessRequest, options?: RpcOptions): UnaryCall<ListResourceAccessRequest, ListResourceAccessResponse>;\n /**\n * Roles within project (uses Role type from authz.proto).\n *\n * @generated from protobuf rpc: AddRole\n */\n addRole(input: AddRoleRequest, options?: RpcOptions): UnaryCall<AddRoleRequest, Role>;\n /**\n * @generated from protobuf rpc: RemoveRole\n */\n removeRole(input: RemoveRoleRequest, options?: RpcOptions): UnaryCall<RemoveRoleRequest, Empty>;\n /**\n * Dynamic Client Registration (RFC 7591) and client management (RFC 7592)\n * under one issuer. No HTTP binding here: the RFC form of these RPCs is\n * OidcProviderService's registration endpoints under the issuer path.\n * RegisterClient creates a new client on every call; it is not advertised\n * as safely retryable. A registration creates a client, never a resource or\n * access to one.\n *\n * @generated from protobuf rpc: RegisterClient\n */\n registerClient(input: RegisterClientRequest, options?: RpcOptions): UnaryCall<RegisterClientRequest, RegisterClientResponse>;\n /**\n * @generated from protobuf rpc: GetRegisteredClient\n */\n getRegisteredClient(input: GetRegisteredClientRequest, options?: RpcOptions): UnaryCall<GetRegisteredClientRequest, OAuthClient>;\n /**\n * @generated from protobuf rpc: UpdateRegisteredClient\n */\n updateRegisteredClient(input: UpdateRegisteredClientRequest, options?: RpcOptions): UnaryCall<UpdateRegisteredClientRequest, OAuthClient>;\n /**\n * @generated from protobuf rpc: DeleteRegisteredClient\n */\n deleteRegisteredClient(input: DeleteRegisteredClientRequest, options?: RpcOptions): UnaryCall<DeleteRegisteredClientRequest, Empty>;\n /**\n * Initial Access Token management (admin operations).\n *\n * @generated from protobuf rpc: CreateInitialAccessToken\n */\n createInitialAccessToken(input: CreateInitialAccessTokenRequest, options?: RpcOptions): UnaryCall<CreateInitialAccessTokenRequest, CreateInitialAccessTokenResponse>;\n /**\n * @generated from protobuf rpc: ListInitialAccessTokens\n */\n listInitialAccessTokens(input: ListInitialAccessTokensRequest, options?: RpcOptions): UnaryCall<ListInitialAccessTokensRequest, ListInitialAccessTokensResponse>;\n /**\n * @generated from protobuf rpc: RevokeInitialAccessToken\n */\n revokeInitialAccessToken(input: RevokeInitialAccessTokenRequest, options?: RpcOptions): UnaryCall<RevokeInitialAccessTokenRequest, Empty>;\n}\n/**\n * ProjectService manages projects and their resources.\n *\n * @generated from protobuf service sid.v1.projects.ProjectService\n */\nexport class ProjectServiceClient implements IProjectServiceClient, ServiceInfo {\n typeName = ProjectService.typeName;\n methods = ProjectService.methods;\n options = ProjectService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Project CRUD.\n *\n * @generated from protobuf rpc: CreateProject\n */\n createProject(input: CreateProjectRequest, options?: RpcOptions): UnaryCall<CreateProjectRequest, Project> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<CreateProjectRequest, Project>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetProject\n */\n getProject(input: GetProjectRequest, options?: RpcOptions): UnaryCall<GetProjectRequest, Project> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetProjectRequest, Project>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListProjects\n */\n listProjects(input: ListProjectsRequest, options?: RpcOptions): UnaryCall<ListProjectsRequest, ListProjectsResponse> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListProjectsRequest, ListProjectsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateProject\n */\n updateProject(input: UpdateProjectRequest, options?: RpcOptions): UnaryCall<UpdateProjectRequest, Project> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateProjectRequest, Project>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: DeleteProject\n */\n deleteProject(input: DeleteProjectRequest, options?: RpcOptions): UnaryCall<DeleteProjectRequest, Empty> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<DeleteProjectRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Applications within a project. Creating one registers the roles it\n * starts with in one step.\n *\n * @generated from protobuf rpc: CreateApplication\n */\n createApplication(input: CreateApplicationRequest, options?: RpcOptions): UnaryCall<CreateApplicationRequest, CreateApplicationResponse> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<CreateApplicationRequest, CreateApplicationResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetApplication\n */\n getApplication(input: GetApplicationRequest, options?: RpcOptions): UnaryCall<GetApplicationRequest, Application> {\n const method = this.methods[6], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetApplicationRequest, Application>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListApplications\n */\n listApplications(input: ListApplicationsRequest, options?: RpcOptions): UnaryCall<ListApplicationsRequest, ListApplicationsResponse> {\n const method = this.methods[7], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListApplicationsRequest, ListApplicationsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateApplication\n */\n updateApplication(input: UpdateApplicationRequest, options?: RpcOptions): UnaryCall<UpdateApplicationRequest, Application> {\n const method = this.methods[8], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateApplicationRequest, Application>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Removes the application: its client role and the client's access are\n * deleted, its resource role is retired and access to it ends.\n *\n * @generated from protobuf rpc: DeleteApplication\n */\n deleteApplication(input: DeleteApplicationRequest, options?: RpcOptions): UnaryCall<DeleteApplicationRequest, Empty> {\n const method = this.methods[9], opt = this._transport.mergeOptions(options);\n return stackIntercept<DeleteApplicationRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Client role.\n *\n * @generated from protobuf rpc: AddClientRole\n */\n addClientRole(input: AddClientRoleRequest, options?: RpcOptions): UnaryCall<AddClientRoleRequest, CreateApplicationResponse> {\n const method = this.methods[10], opt = this._transport.mergeOptions(options);\n return stackIntercept<AddClientRoleRequest, CreateApplicationResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateClientRole\n */\n updateClientRole(input: UpdateClientRoleRequest, options?: RpcOptions): UnaryCall<UpdateClientRoleRequest, Application> {\n const method = this.methods[11], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateClientRoleRequest, Application>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Protected-resource role.\n *\n * @generated from protobuf rpc: AddResourceRole\n */\n addResourceRole(input: AddResourceRoleRequest, options?: RpcOptions): UnaryCall<AddResourceRoleRequest, Application> {\n const method = this.methods[12], opt = this._transport.mergeOptions(options);\n return stackIntercept<AddResourceRoleRequest, Application>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateResourceRole\n */\n updateResourceRole(input: UpdateResourceRoleRequest, options?: RpcOptions): UnaryCall<UpdateResourceRoleRequest, ProtectedResource> {\n const method = this.methods[13], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateResourceRoleRequest, ProtectedResource>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Client-to-resource access.\n *\n * @generated from protobuf rpc: SetResourceAccess\n */\n setResourceAccess(input: SetResourceAccessRequest, options?: RpcOptions): UnaryCall<SetResourceAccessRequest, ResourceAccess> {\n const method = this.methods[14], opt = this._transport.mergeOptions(options);\n return stackIntercept<SetResourceAccessRequest, ResourceAccess>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RemoveResourceAccess\n */\n removeResourceAccess(input: RemoveResourceAccessRequest, options?: RpcOptions): UnaryCall<RemoveResourceAccessRequest, Empty> {\n const method = this.methods[15], opt = this._transport.mergeOptions(options);\n return stackIntercept<RemoveResourceAccessRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListResourceAccess\n */\n listResourceAccess(input: ListResourceAccessRequest, options?: RpcOptions): UnaryCall<ListResourceAccessRequest, ListResourceAccessResponse> {\n const method = this.methods[16], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListResourceAccessRequest, ListResourceAccessResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Roles within project (uses Role type from authz.proto).\n *\n * @generated from protobuf rpc: AddRole\n */\n addRole(input: AddRoleRequest, options?: RpcOptions): UnaryCall<AddRoleRequest, Role> {\n const method = this.methods[17], opt = this._transport.mergeOptions(options);\n return stackIntercept<AddRoleRequest, Role>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RemoveRole\n */\n removeRole(input: RemoveRoleRequest, options?: RpcOptions): UnaryCall<RemoveRoleRequest, Empty> {\n const method = this.methods[18], opt = this._transport.mergeOptions(options);\n return stackIntercept<RemoveRoleRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Dynamic Client Registration (RFC 7591) and client management (RFC 7592)\n * under one issuer. No HTTP binding here: the RFC form of these RPCs is\n * OidcProviderService's registration endpoints under the issuer path.\n * RegisterClient creates a new client on every call; it is not advertised\n * as safely retryable. A registration creates a client, never a resource or\n * access to one.\n *\n * @generated from protobuf rpc: RegisterClient\n */\n registerClient(input: RegisterClientRequest, options?: RpcOptions): UnaryCall<RegisterClientRequest, RegisterClientResponse> {\n const method = this.methods[19], opt = this._transport.mergeOptions(options);\n return stackIntercept<RegisterClientRequest, RegisterClientResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetRegisteredClient\n */\n getRegisteredClient(input: GetRegisteredClientRequest, options?: RpcOptions): UnaryCall<GetRegisteredClientRequest, OAuthClient> {\n const method = this.methods[20], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetRegisteredClientRequest, OAuthClient>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateRegisteredClient\n */\n updateRegisteredClient(input: UpdateRegisteredClientRequest, options?: RpcOptions): UnaryCall<UpdateRegisteredClientRequest, OAuthClient> {\n const method = this.methods[21], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateRegisteredClientRequest, OAuthClient>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: DeleteRegisteredClient\n */\n deleteRegisteredClient(input: DeleteRegisteredClientRequest, options?: RpcOptions): UnaryCall<DeleteRegisteredClientRequest, Empty> {\n const method = this.methods[22], opt = this._transport.mergeOptions(options);\n return stackIntercept<DeleteRegisteredClientRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Initial Access Token management (admin operations).\n *\n * @generated from protobuf rpc: CreateInitialAccessToken\n */\n createInitialAccessToken(input: CreateInitialAccessTokenRequest, options?: RpcOptions): UnaryCall<CreateInitialAccessTokenRequest, CreateInitialAccessTokenResponse> {\n const method = this.methods[23], opt = this._transport.mergeOptions(options);\n return stackIntercept<CreateInitialAccessTokenRequest, CreateInitialAccessTokenResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListInitialAccessTokens\n */\n listInitialAccessTokens(input: ListInitialAccessTokensRequest, options?: RpcOptions): UnaryCall<ListInitialAccessTokensRequest, ListInitialAccessTokensResponse> {\n const method = this.methods[24], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListInitialAccessTokensRequest, ListInitialAccessTokensResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RevokeInitialAccessToken\n */\n revokeInitialAccessToken(input: RevokeInitialAccessTokenRequest, options?: RpcOptions): UnaryCall<RevokeInitialAccessTokenRequest, Empty> {\n const method = this.methods[25], opt = this._transport.mergeOptions(options);\n return stackIntercept<RevokeInitialAccessTokenRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"projects.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/projects/projects.client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAuC/C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAgJ1D;;;;GAIG;AACH,MAAM,OAAO,oBAAoB;IAIA;IAH7B,QAAQ,GAAG,cAAc,CAAC,QAAQ,CAAC;IACnC,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC;IACjC,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC;IACjC,YAA6B,UAAwB;QAAxB,eAAU,GAAV,UAAU,CAAc;IACrD,CAAC;IACD;;;;OAIG;IACH,aAAa,CAAC,KAA2B,EAAE,OAAoB;QAC3D,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAgC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACvG,CAAC;IACD;;OAEG;IACH,UAAU,CAAC,KAAwB,EAAE,OAAoB;QACrD,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAA6B,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACpG,CAAC;IACD;;OAEG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G,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC7E,OAAO,cAAc,CAAuC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC9G,CAAC;IACD;;;;OAIG;IACH,wBAAwB,CAAC,KAAsC,EAAE,OAAoB;QACjF,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC7E,OAAO,cAAc,CAAoE,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC3I,CAAC;IACD;;OAEG;IACH,uBAAuB,CAAC,KAAqC,EAAE,OAAoB;QAC/E,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC7E,OAAO,cAAc,CAAkE,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACzI,CAAC;IACD;;OAEG;IACH,wBAAwB,CAAC,KAAsC,EAAE,OAAoB;QACjF,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC7E,OAAO,cAAc,CAAyC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAChH,CAAC;CACJ","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/projects/projects.proto\" (package \"sid.v1.projects\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { ProjectService } from \"./projects.js\";\nimport type { RevokeInitialAccessTokenRequest } from \"./projects.js\";\nimport type { ListInitialAccessTokensResponse } from \"./projects.js\";\nimport type { ListInitialAccessTokensRequest } from \"./projects.js\";\nimport type { CreateInitialAccessTokenResponse } from \"./projects.js\";\nimport type { CreateInitialAccessTokenRequest } from \"./projects.js\";\nimport type { DeleteRegisteredClientRequest } from \"./projects.js\";\nimport type { UpdateRegisteredClientRequest } from \"./projects.js\";\nimport type { OAuthClient } from \"./projects.js\";\nimport type { GetRegisteredClientRequest } from \"./projects.js\";\nimport type { RegisterClientResponse } from \"./projects.js\";\nimport type { RegisterClientRequest } from \"./projects.js\";\nimport type { RemoveRoleRequest } from \"./projects.js\";\nimport type { Role } from \"../authz/authz.js\";\nimport type { AddRoleRequest } from \"./projects.js\";\nimport type { ListResourceAccessResponse } from \"./projects.js\";\nimport type { ListResourceAccessRequest } from \"./projects.js\";\nimport type { RemoveResourceAccessRequest } from \"./projects.js\";\nimport type { ResourceAccess } from \"./projects.js\";\nimport type { SetResourceAccessRequest } from \"./projects.js\";\nimport type { ProtectedResource } from \"./projects.js\";\nimport type { UpdateResourceRoleRequest } from \"./projects.js\";\nimport type { AddResourceRoleRequest } from \"./projects.js\";\nimport type { UpdateClientRoleRequest } from \"./projects.js\";\nimport type { AddClientRoleRequest } from \"./projects.js\";\nimport type { DeleteApplicationRequest } from \"./projects.js\";\nimport type { UpdateApplicationRequest } from \"./projects.js\";\nimport type { ListApplicationsResponse } from \"./projects.js\";\nimport type { ListApplicationsRequest } from \"./projects.js\";\nimport type { Application } from \"./projects.js\";\nimport type { GetApplicationRequest } from \"./projects.js\";\nimport type { CreateApplicationResponse } from \"./projects.js\";\nimport type { CreateApplicationRequest } from \"./projects.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { DeleteProjectRequest } from \"./projects.js\";\nimport type { UpdateProjectRequest } from \"./projects.js\";\nimport type { ListProjectsResponse } from \"./projects.js\";\nimport type { ListProjectsRequest } from \"./projects.js\";\nimport type { GetProjectRequest } from \"./projects.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { Project } from \"./projects.js\";\nimport type { CreateProjectRequest } from \"./projects.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * ProjectService manages projects and their resources.\n *\n * @generated from protobuf service sid.v1.projects.ProjectService\n */\nexport interface IProjectServiceClient {\n /**\n * Project CRUD.\n *\n * @generated from protobuf rpc: CreateProject\n */\n createProject(input: CreateProjectRequest, options?: RpcOptions): UnaryCall<CreateProjectRequest, Project>;\n /**\n * @generated from protobuf rpc: GetProject\n */\n getProject(input: GetProjectRequest, options?: RpcOptions): UnaryCall<GetProjectRequest, Project>;\n /**\n * @generated from protobuf rpc: ListProjects\n */\n listProjects(input: ListProjectsRequest, options?: RpcOptions): UnaryCall<ListProjectsRequest, ListProjectsResponse>;\n /**\n * @generated from protobuf rpc: UpdateProject\n */\n updateProject(input: UpdateProjectRequest, options?: RpcOptions): UnaryCall<UpdateProjectRequest, Project>;\n /**\n * @generated from protobuf rpc: DeleteProject\n */\n deleteProject(input: DeleteProjectRequest, options?: RpcOptions): UnaryCall<DeleteProjectRequest, Empty>;\n /**\n * Applications within a project. Creating one registers the roles it\n * starts with in one step.\n *\n * @generated from protobuf rpc: CreateApplication\n */\n createApplication(input: CreateApplicationRequest, options?: RpcOptions): UnaryCall<CreateApplicationRequest, CreateApplicationResponse>;\n /**\n * @generated from protobuf rpc: GetApplication\n */\n getApplication(input: GetApplicationRequest, options?: RpcOptions): UnaryCall<GetApplicationRequest, Application>;\n /**\n * @generated from protobuf rpc: ListApplications\n */\n listApplications(input: ListApplicationsRequest, options?: RpcOptions): UnaryCall<ListApplicationsRequest, ListApplicationsResponse>;\n /**\n * @generated from protobuf rpc: UpdateApplication\n */\n updateApplication(input: UpdateApplicationRequest, options?: RpcOptions): UnaryCall<UpdateApplicationRequest, Application>;\n /**\n * Removes the application: its client role and the client's access are\n * deleted, its resource role is retired and access to it ends.\n *\n * @generated from protobuf rpc: DeleteApplication\n */\n deleteApplication(input: DeleteApplicationRequest, options?: RpcOptions): UnaryCall<DeleteApplicationRequest, Empty>;\n /**\n * Client role. An application has at most one: a repeat is refused\n * (APPLICATION_ROLE_EXISTS) and adds nothing; the secret is in the first\n * response only.\n *\n * @generated from protobuf rpc: AddClientRole\n */\n addClientRole(input: AddClientRoleRequest, options?: RpcOptions): UnaryCall<AddClientRoleRequest, CreateApplicationResponse>;\n /**\n * @generated from protobuf rpc: UpdateClientRole\n */\n updateClientRole(input: UpdateClientRoleRequest, options?: RpcOptions): UnaryCall<UpdateClientRoleRequest, Application>;\n /**\n * Protected-resource role. Its indicator is unique: a repeat is refused and\n * adds nothing.\n *\n * @generated from protobuf rpc: AddResourceRole\n */\n addResourceRole(input: AddResourceRoleRequest, options?: RpcOptions): UnaryCall<AddResourceRoleRequest, Application>;\n /**\n * @generated from protobuf rpc: UpdateResourceRole\n */\n updateResourceRole(input: UpdateResourceRoleRequest, options?: RpcOptions): UnaryCall<UpdateResourceRoleRequest, ProtectedResource>;\n /**\n * Client-to-resource access.\n *\n * @generated from protobuf rpc: SetResourceAccess\n */\n setResourceAccess(input: SetResourceAccessRequest, options?: RpcOptions): UnaryCall<SetResourceAccessRequest, ResourceAccess>;\n /**\n * @generated from protobuf rpc: RemoveResourceAccess\n */\n removeResourceAccess(input: RemoveResourceAccessRequest, options?: RpcOptions): UnaryCall<RemoveResourceAccessRequest, Empty>;\n /**\n * @generated from protobuf rpc: ListResourceAccess\n */\n listResourceAccess(input: ListResourceAccessRequest, options?: RpcOptions): UnaryCall<ListResourceAccessRequest, ListResourceAccessResponse>;\n /**\n * Roles within project (uses Role type from authz.proto).\n *\n * @generated from protobuf rpc: AddRole\n */\n addRole(input: AddRoleRequest, options?: RpcOptions): UnaryCall<AddRoleRequest, Role>;\n /**\n * @generated from protobuf rpc: RemoveRole\n */\n removeRole(input: RemoveRoleRequest, options?: RpcOptions): UnaryCall<RemoveRoleRequest, Empty>;\n /**\n * Dynamic Client Registration (RFC 7591) and client management (RFC 7592)\n * under one issuer. No HTTP binding here: the RFC form of these RPCs is\n * OidcProviderService's registration endpoints under the issuer path.\n * RegisterClient creates a new client on every call; it is not advertised\n * as safely retryable. A registration creates a client, never a resource or\n * access to one.\n *\n * @generated from protobuf rpc: RegisterClient\n */\n registerClient(input: RegisterClientRequest, options?: RpcOptions): UnaryCall<RegisterClientRequest, RegisterClientResponse>;\n /**\n * @generated from protobuf rpc: GetRegisteredClient\n */\n getRegisteredClient(input: GetRegisteredClientRequest, options?: RpcOptions): UnaryCall<GetRegisteredClientRequest, OAuthClient>;\n /**\n * @generated from protobuf rpc: UpdateRegisteredClient\n */\n updateRegisteredClient(input: UpdateRegisteredClientRequest, options?: RpcOptions): UnaryCall<UpdateRegisteredClientRequest, OAuthClient>;\n /**\n * @generated from protobuf rpc: DeleteRegisteredClient\n */\n deleteRegisteredClient(input: DeleteRegisteredClientRequest, options?: RpcOptions): UnaryCall<DeleteRegisteredClientRequest, Empty>;\n /**\n * Initial Access Token management (admin operations).\n *\n * @generated from protobuf rpc: CreateInitialAccessToken\n */\n createInitialAccessToken(input: CreateInitialAccessTokenRequest, options?: RpcOptions): UnaryCall<CreateInitialAccessTokenRequest, CreateInitialAccessTokenResponse>;\n /**\n * @generated from protobuf rpc: ListInitialAccessTokens\n */\n listInitialAccessTokens(input: ListInitialAccessTokensRequest, options?: RpcOptions): UnaryCall<ListInitialAccessTokensRequest, ListInitialAccessTokensResponse>;\n /**\n * @generated from protobuf rpc: RevokeInitialAccessToken\n */\n revokeInitialAccessToken(input: RevokeInitialAccessTokenRequest, options?: RpcOptions): UnaryCall<RevokeInitialAccessTokenRequest, Empty>;\n}\n/**\n * ProjectService manages projects and their resources.\n *\n * @generated from protobuf service sid.v1.projects.ProjectService\n */\nexport class ProjectServiceClient implements IProjectServiceClient, ServiceInfo {\n typeName = ProjectService.typeName;\n methods = ProjectService.methods;\n options = ProjectService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Project CRUD.\n *\n * @generated from protobuf rpc: CreateProject\n */\n createProject(input: CreateProjectRequest, options?: RpcOptions): UnaryCall<CreateProjectRequest, Project> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<CreateProjectRequest, Project>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetProject\n */\n getProject(input: GetProjectRequest, options?: RpcOptions): UnaryCall<GetProjectRequest, Project> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetProjectRequest, Project>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListProjects\n */\n listProjects(input: ListProjectsRequest, options?: RpcOptions): UnaryCall<ListProjectsRequest, ListProjectsResponse> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListProjectsRequest, ListProjectsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateProject\n */\n updateProject(input: UpdateProjectRequest, options?: RpcOptions): UnaryCall<UpdateProjectRequest, Project> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateProjectRequest, Project>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: DeleteProject\n */\n deleteProject(input: DeleteProjectRequest, options?: RpcOptions): UnaryCall<DeleteProjectRequest, Empty> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<DeleteProjectRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Applications within a project. Creating one registers the roles it\n * starts with in one step.\n *\n * @generated from protobuf rpc: CreateApplication\n */\n createApplication(input: CreateApplicationRequest, options?: RpcOptions): UnaryCall<CreateApplicationRequest, CreateApplicationResponse> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<CreateApplicationRequest, CreateApplicationResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetApplication\n */\n getApplication(input: GetApplicationRequest, options?: RpcOptions): UnaryCall<GetApplicationRequest, Application> {\n const method = this.methods[6], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetApplicationRequest, Application>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListApplications\n */\n listApplications(input: ListApplicationsRequest, options?: RpcOptions): UnaryCall<ListApplicationsRequest, ListApplicationsResponse> {\n const method = this.methods[7], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListApplicationsRequest, ListApplicationsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateApplication\n */\n updateApplication(input: UpdateApplicationRequest, options?: RpcOptions): UnaryCall<UpdateApplicationRequest, Application> {\n const method = this.methods[8], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateApplicationRequest, Application>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Removes the application: its client role and the client's access are\n * deleted, its resource role is retired and access to it ends.\n *\n * @generated from protobuf rpc: DeleteApplication\n */\n deleteApplication(input: DeleteApplicationRequest, options?: RpcOptions): UnaryCall<DeleteApplicationRequest, Empty> {\n const method = this.methods[9], opt = this._transport.mergeOptions(options);\n return stackIntercept<DeleteApplicationRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Client role. An application has at most one: a repeat is refused\n * (APPLICATION_ROLE_EXISTS) and adds nothing; the secret is in the first\n * response only.\n *\n * @generated from protobuf rpc: AddClientRole\n */\n addClientRole(input: AddClientRoleRequest, options?: RpcOptions): UnaryCall<AddClientRoleRequest, CreateApplicationResponse> {\n const method = this.methods[10], opt = this._transport.mergeOptions(options);\n return stackIntercept<AddClientRoleRequest, CreateApplicationResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateClientRole\n */\n updateClientRole(input: UpdateClientRoleRequest, options?: RpcOptions): UnaryCall<UpdateClientRoleRequest, Application> {\n const method = this.methods[11], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateClientRoleRequest, Application>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Protected-resource role. Its indicator is unique: a repeat is refused and\n * adds nothing.\n *\n * @generated from protobuf rpc: AddResourceRole\n */\n addResourceRole(input: AddResourceRoleRequest, options?: RpcOptions): UnaryCall<AddResourceRoleRequest, Application> {\n const method = this.methods[12], opt = this._transport.mergeOptions(options);\n return stackIntercept<AddResourceRoleRequest, Application>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateResourceRole\n */\n updateResourceRole(input: UpdateResourceRoleRequest, options?: RpcOptions): UnaryCall<UpdateResourceRoleRequest, ProtectedResource> {\n const method = this.methods[13], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateResourceRoleRequest, ProtectedResource>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Client-to-resource access.\n *\n * @generated from protobuf rpc: SetResourceAccess\n */\n setResourceAccess(input: SetResourceAccessRequest, options?: RpcOptions): UnaryCall<SetResourceAccessRequest, ResourceAccess> {\n const method = this.methods[14], opt = this._transport.mergeOptions(options);\n return stackIntercept<SetResourceAccessRequest, ResourceAccess>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RemoveResourceAccess\n */\n removeResourceAccess(input: RemoveResourceAccessRequest, options?: RpcOptions): UnaryCall<RemoveResourceAccessRequest, Empty> {\n const method = this.methods[15], opt = this._transport.mergeOptions(options);\n return stackIntercept<RemoveResourceAccessRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListResourceAccess\n */\n listResourceAccess(input: ListResourceAccessRequest, options?: RpcOptions): UnaryCall<ListResourceAccessRequest, ListResourceAccessResponse> {\n const method = this.methods[16], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListResourceAccessRequest, ListResourceAccessResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Roles within project (uses Role type from authz.proto).\n *\n * @generated from protobuf rpc: AddRole\n */\n addRole(input: AddRoleRequest, options?: RpcOptions): UnaryCall<AddRoleRequest, Role> {\n const method = this.methods[17], opt = this._transport.mergeOptions(options);\n return stackIntercept<AddRoleRequest, Role>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RemoveRole\n */\n removeRole(input: RemoveRoleRequest, options?: RpcOptions): UnaryCall<RemoveRoleRequest, Empty> {\n const method = this.methods[18], opt = this._transport.mergeOptions(options);\n return stackIntercept<RemoveRoleRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Dynamic Client Registration (RFC 7591) and client management (RFC 7592)\n * under one issuer. No HTTP binding here: the RFC form of these RPCs is\n * OidcProviderService's registration endpoints under the issuer path.\n * RegisterClient creates a new client on every call; it is not advertised\n * as safely retryable. A registration creates a client, never a resource or\n * access to one.\n *\n * @generated from protobuf rpc: RegisterClient\n */\n registerClient(input: RegisterClientRequest, options?: RpcOptions): UnaryCall<RegisterClientRequest, RegisterClientResponse> {\n const method = this.methods[19], opt = this._transport.mergeOptions(options);\n return stackIntercept<RegisterClientRequest, RegisterClientResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetRegisteredClient\n */\n getRegisteredClient(input: GetRegisteredClientRequest, options?: RpcOptions): UnaryCall<GetRegisteredClientRequest, OAuthClient> {\n const method = this.methods[20], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetRegisteredClientRequest, OAuthClient>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateRegisteredClient\n */\n updateRegisteredClient(input: UpdateRegisteredClientRequest, options?: RpcOptions): UnaryCall<UpdateRegisteredClientRequest, OAuthClient> {\n const method = this.methods[21], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateRegisteredClientRequest, OAuthClient>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: DeleteRegisteredClient\n */\n deleteRegisteredClient(input: DeleteRegisteredClientRequest, options?: RpcOptions): UnaryCall<DeleteRegisteredClientRequest, Empty> {\n const method = this.methods[22], opt = this._transport.mergeOptions(options);\n return stackIntercept<DeleteRegisteredClientRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Initial Access Token management (admin operations).\n *\n * @generated from protobuf rpc: CreateInitialAccessToken\n */\n createInitialAccessToken(input: CreateInitialAccessTokenRequest, options?: RpcOptions): UnaryCall<CreateInitialAccessTokenRequest, CreateInitialAccessTokenResponse> {\n const method = this.methods[23], opt = this._transport.mergeOptions(options);\n return stackIntercept<CreateInitialAccessTokenRequest, CreateInitialAccessTokenResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListInitialAccessTokens\n */\n listInitialAccessTokens(input: ListInitialAccessTokensRequest, options?: RpcOptions): UnaryCall<ListInitialAccessTokensRequest, ListInitialAccessTokensResponse> {\n const method = this.methods[24], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListInitialAccessTokensRequest, ListInitialAccessTokensResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RevokeInitialAccessToken\n */\n revokeInitialAccessToken(input: RevokeInitialAccessTokenRequest, options?: RpcOptions): UnaryCall<RevokeInitialAccessTokenRequest, Empty> {\n const method = this.methods[25], opt = this._transport.mergeOptions(options);\n return stackIntercept<RevokeInitialAccessTokenRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
|
|
@@ -3222,9 +3222,9 @@ export const ProjectService = new ServiceType("sid.v1.projects.ProjectService",
|
|
|
3222
3222
|
{ name: "ListApplications", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/projects/{project_id}/applications" } }, I: ListApplicationsRequest, O: ListApplicationsResponse },
|
|
3223
3223
|
{ name: "UpdateApplication", idempotency: "IDEMPOTENT", options: { "google.api.http": { patch: "/v1/applications/{id}", body: "*" } }, I: UpdateApplicationRequest, O: Application },
|
|
3224
3224
|
{ name: "DeleteApplication", idempotency: "IDEMPOTENT", options: { "google.api.http": { delete: "/v1/applications/{id}" } }, I: DeleteApplicationRequest, O: Empty },
|
|
3225
|
-
{ name: "AddClientRole", options: { "google.api.http": { post: "/v1/applications/{application_id}/client", body: "*" } }, I: AddClientRoleRequest, O: CreateApplicationResponse },
|
|
3225
|
+
{ name: "AddClientRole", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/applications/{application_id}/client", body: "*" } }, I: AddClientRoleRequest, O: CreateApplicationResponse },
|
|
3226
3226
|
{ name: "UpdateClientRole", idempotency: "IDEMPOTENT", options: { "google.api.http": { patch: "/v1/clients/{client_id}", body: "*" } }, I: UpdateClientRoleRequest, O: Application },
|
|
3227
|
-
{ name: "AddResourceRole", options: { "google.api.http": { post: "/v1/applications/{application_id}/resource", body: "*" } }, I: AddResourceRoleRequest, O: Application },
|
|
3227
|
+
{ name: "AddResourceRole", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/applications/{application_id}/resource", body: "*" } }, I: AddResourceRoleRequest, O: Application },
|
|
3228
3228
|
{ name: "UpdateResourceRole", idempotency: "IDEMPOTENT", options: { "google.api.http": { patch: "/v1/resources/{resource_id}", body: "*" } }, I: UpdateResourceRoleRequest, O: ProtectedResource },
|
|
3229
3229
|
{ name: "SetResourceAccess", idempotency: "IDEMPOTENT", options: { "google.api.http": { put: "/v1/clients/{client_id}/resources/{resource_id}", body: "*" } }, I: SetResourceAccessRequest, O: ResourceAccess },
|
|
3230
3230
|
{ name: "RemoveResourceAccess", idempotency: "IDEMPOTENT", options: { "google.api.http": { delete: "/v1/clients/{client_id}/resources/{resource_id}" } }, I: RemoveResourceAccessRequest, O: Empty },
|