@structured-id/proto 0.18.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/generated/sid/v1/account/account.client.d.ts +14 -2
  3. package/dist/generated/sid/v1/account/account.client.js +7 -1
  4. package/dist/generated/sid/v1/account/account.client.js.map +1 -1
  5. package/dist/generated/sid/v1/account/account.js +28 -28
  6. package/dist/generated/sid/v1/account/account.js.map +1 -1
  7. package/dist/generated/sid/v1/admin/admin.client.d.ts +2 -0
  8. package/dist/generated/sid/v1/admin/admin.client.js +1 -0
  9. package/dist/generated/sid/v1/admin/admin.client.js.map +1 -1
  10. package/dist/generated/sid/v1/admin/admin.js +7 -7
  11. package/dist/generated/sid/v1/admin/admin.js.map +1 -1
  12. package/dist/generated/sid/v1/admin/admin_roles.js +11 -11
  13. package/dist/generated/sid/v1/admin/admin_roles.js.map +1 -1
  14. package/dist/generated/sid/v1/admin/analytics.js +5 -5
  15. package/dist/generated/sid/v1/admin/analytics.js.map +1 -1
  16. package/dist/generated/sid/v1/admin/branding.js +8 -8
  17. package/dist/generated/sid/v1/admin/branding.js.map +1 -1
  18. package/dist/generated/sid/v1/admin/enrollment.client.js +3 -0
  19. package/dist/generated/sid/v1/admin/enrollment.client.js.map +1 -1
  20. package/dist/generated/sid/v1/admin/enrollment.js +10 -10
  21. package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
  22. package/dist/generated/sid/v1/admin/events.js +10 -10
  23. package/dist/generated/sid/v1/admin/events.js.map +1 -1
  24. package/dist/generated/sid/v1/admin/flow.js +8 -8
  25. package/dist/generated/sid/v1/admin/flow.js.map +1 -1
  26. package/dist/generated/sid/v1/admin/keys.js +6 -6
  27. package/dist/generated/sid/v1/admin/keys.js.map +1 -1
  28. package/dist/generated/sid/v1/admin/login_experience.js +7 -7
  29. package/dist/generated/sid/v1/admin/login_experience.js.map +1 -1
  30. package/dist/generated/sid/v1/admin/migration.js +7 -7
  31. package/dist/generated/sid/v1/admin/migration.js.map +1 -1
  32. package/dist/generated/sid/v1/admin/notifications.client.d.ts +6 -0
  33. package/dist/generated/sid/v1/admin/notifications.client.js +3 -0
  34. package/dist/generated/sid/v1/admin/notifications.client.js.map +1 -1
  35. package/dist/generated/sid/v1/admin/notifications.js +6 -6
  36. package/dist/generated/sid/v1/admin/notifications.js.map +1 -1
  37. package/dist/generated/sid/v1/admin/operations.js +14 -14
  38. package/dist/generated/sid/v1/admin/operations.js.map +1 -1
  39. package/dist/generated/sid/v1/admin/organizations.js +2 -2
  40. package/dist/generated/sid/v1/admin/organizations.js.map +1 -1
  41. package/dist/generated/sid/v1/admin/provisioning.js +10 -10
  42. package/dist/generated/sid/v1/admin/provisioning.js.map +1 -1
  43. package/dist/generated/sid/v1/admin/scopes.js +11 -11
  44. package/dist/generated/sid/v1/admin/scopes.js.map +1 -1
  45. package/dist/generated/sid/v1/admin/security.js +25 -25
  46. package/dist/generated/sid/v1/admin/security.js.map +1 -1
  47. package/dist/generated/sid/v1/admin/sessions.js +5 -5
  48. package/dist/generated/sid/v1/admin/sessions.js.map +1 -1
  49. package/dist/generated/sid/v1/admin/settings.d.ts +269 -12
  50. package/dist/generated/sid/v1/admin/settings.js +315 -53
  51. package/dist/generated/sid/v1/admin/settings.js.map +1 -1
  52. package/dist/generated/sid/v1/admin/user_profile.js +2 -2
  53. package/dist/generated/sid/v1/admin/user_profile.js.map +1 -1
  54. package/dist/generated/sid/v1/admin/webhooks.js +16 -16
  55. package/dist/generated/sid/v1/admin/webhooks.js.map +1 -1
  56. package/dist/generated/sid/v1/attestation/attestation.client.d.ts +12 -0
  57. package/dist/generated/sid/v1/attestation/attestation.client.js +6 -0
  58. package/dist/generated/sid/v1/attestation/attestation.client.js.map +1 -1
  59. package/dist/generated/sid/v1/attestation/attestation.js +6 -6
  60. package/dist/generated/sid/v1/attestation/attestation.js.map +1 -1
  61. package/dist/generated/sid/v1/authn/application_session.js +5 -5
  62. package/dist/generated/sid/v1/authn/application_session.js.map +1 -1
  63. package/dist/generated/sid/v1/authn/auth.client.d.ts +102 -0
  64. package/dist/generated/sid/v1/authn/auth.client.js +88 -21
  65. package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
  66. package/dist/generated/sid/v1/authn/auth.d.ts +300 -11
  67. package/dist/generated/sid/v1/authn/auth.js +597 -59
  68. package/dist/generated/sid/v1/authn/auth.js.map +1 -1
  69. package/dist/generated/sid/v1/authn/flows.js +26 -26
  70. package/dist/generated/sid/v1/authn/flows.js.map +1 -1
  71. package/dist/generated/sid/v1/authn/issuer.client.d.ts +8 -2
  72. package/dist/generated/sid/v1/authn/issuer.client.js +4 -1
  73. package/dist/generated/sid/v1/authn/issuer.client.js.map +1 -1
  74. package/dist/generated/sid/v1/authn/issuer.d.ts +13 -6
  75. package/dist/generated/sid/v1/authn/issuer.js +19 -19
  76. package/dist/generated/sid/v1/authn/issuer.js.map +1 -1
  77. package/dist/generated/sid/v1/authn/password_history.client.d.ts +2 -2
  78. package/dist/generated/sid/v1/authn/password_history.client.js +1 -1
  79. package/dist/generated/sid/v1/authn/password_history.client.js.map +1 -1
  80. package/dist/generated/sid/v1/authn/password_history.d.ts +15 -0
  81. package/dist/generated/sid/v1/authn/password_history.js +11 -3
  82. package/dist/generated/sid/v1/authn/password_history.js.map +1 -1
  83. package/dist/generated/sid/v1/authn/system_integration.js +1 -1
  84. package/dist/generated/sid/v1/authn/system_integration.js.map +1 -1
  85. package/dist/generated/sid/v1/authz/authz.client.d.ts +60 -0
  86. package/dist/generated/sid/v1/authz/authz.client.js +49 -17
  87. package/dist/generated/sid/v1/authz/authz.client.js.map +1 -1
  88. package/dist/generated/sid/v1/authz/authz.d.ts +195 -2
  89. package/dist/generated/sid/v1/authz/authz.js +322 -29
  90. package/dist/generated/sid/v1/authz/authz.js.map +1 -1
  91. package/dist/generated/sid/v1/authz/forward_auth.js +1 -1
  92. package/dist/generated/sid/v1/authz/forward_auth.js.map +1 -1
  93. package/dist/generated/sid/v1/authz/governance.js +4 -4
  94. package/dist/generated/sid/v1/authz/governance.js.map +1 -1
  95. package/dist/generated/sid/v1/common/access.d.ts +219 -0
  96. package/dist/generated/sid/v1/common/access.js +285 -0
  97. package/dist/generated/sid/v1/common/access.js.map +1 -0
  98. package/dist/generated/sid/v1/common/errors.d.ts +45 -0
  99. package/dist/generated/sid/v1/common/errors.js +45 -0
  100. package/dist/generated/sid/v1/common/errors.js.map +1 -1
  101. package/dist/generated/sid/v1/common/maintenance.d.ts +50 -0
  102. package/dist/generated/sid/v1/common/maintenance.js +56 -0
  103. package/dist/generated/sid/v1/common/maintenance.js.map +1 -0
  104. package/dist/generated/sid/v1/common/operation.js +1 -1
  105. package/dist/generated/sid/v1/common/operation.js.map +1 -1
  106. package/dist/generated/sid/v1/events/event_stream.js +2 -2
  107. package/dist/generated/sid/v1/events/event_stream.js.map +1 -1
  108. package/dist/generated/sid/v1/federation/entry.client.d.ts +190 -0
  109. package/dist/generated/sid/v1/federation/entry.client.js +123 -0
  110. package/dist/generated/sid/v1/federation/entry.client.js.map +1 -0
  111. package/dist/generated/sid/v1/federation/entry.d.ts +490 -0
  112. package/dist/generated/sid/v1/federation/entry.js +795 -0
  113. package/dist/generated/sid/v1/federation/entry.js.map +1 -0
  114. package/dist/generated/sid/v1/federation/platform_ca.client.d.ts +77 -0
  115. package/dist/generated/sid/v1/federation/platform_ca.client.js +47 -0
  116. package/dist/generated/sid/v1/federation/platform_ca.client.js.map +1 -0
  117. package/dist/generated/sid/v1/federation/platform_ca.d.ts +186 -0
  118. package/dist/generated/sid/v1/federation/platform_ca.js +285 -0
  119. package/dist/generated/sid/v1/federation/platform_ca.js.map +1 -0
  120. package/dist/generated/sid/v1/federation/site.client.d.ts +99 -0
  121. package/dist/generated/sid/v1/federation/site.client.js +62 -0
  122. package/dist/generated/sid/v1/federation/site.client.js.map +1 -0
  123. package/dist/generated/sid/v1/federation/site.d.ts +219 -0
  124. package/dist/generated/sid/v1/federation/site.js +416 -0
  125. package/dist/generated/sid/v1/federation/site.js.map +1 -0
  126. package/dist/generated/sid/v1/federation/site_admission.client.d.ts +71 -0
  127. package/dist/generated/sid/v1/federation/site_admission.client.js +42 -0
  128. package/dist/generated/sid/v1/federation/site_admission.client.js.map +1 -0
  129. package/dist/generated/sid/v1/federation/site_admission.d.ts +36 -0
  130. package/dist/generated/sid/v1/federation/site_admission.js +64 -0
  131. package/dist/generated/sid/v1/federation/site_admission.js.map +1 -0
  132. package/dist/generated/sid/v1/federation/upstream.js +8 -8
  133. package/dist/generated/sid/v1/federation/upstream.js.map +1 -1
  134. package/dist/generated/sid/v1/identity/identity.client.d.ts +6 -0
  135. package/dist/generated/sid/v1/identity/identity.client.js +3 -0
  136. package/dist/generated/sid/v1/identity/identity.client.js.map +1 -1
  137. package/dist/generated/sid/v1/identity/identity.d.ts +19 -1
  138. package/dist/generated/sid/v1/identity/identity.js +49 -31
  139. package/dist/generated/sid/v1/identity/identity.js.map +1 -1
  140. package/dist/generated/sid/v1/machine/machine_user.js +14 -14
  141. package/dist/generated/sid/v1/machine/machine_user.js.map +1 -1
  142. package/dist/generated/sid/v1/machine/pat.js +7 -7
  143. package/dist/generated/sid/v1/machine/pat.js.map +1 -1
  144. package/dist/generated/sid/v1/projects/projects.d.ts +32 -6
  145. package/dist/generated/sid/v1/projects/projects.js +34 -27
  146. package/dist/generated/sid/v1/projects/projects.js.map +1 -1
  147. package/dist/generated/sid/v1/scim/scim.js +28 -28
  148. package/dist/generated/sid/v1/scim/scim.js.map +1 -1
  149. package/dist/generated/sid/v1/test/test.client.d.ts +2 -0
  150. package/dist/generated/sid/v1/test/test.client.js +1 -0
  151. package/dist/generated/sid/v1/test/test.client.js.map +1 -1
  152. package/dist/generated/sid/v1/test/test.js +12 -12
  153. package/dist/generated/sid/v1/test/test.js.map +1 -1
  154. package/dist/generated/sid/v1/ui/public_settings.js +2 -2
  155. package/dist/generated/sid/v1/ui/public_settings.js.map +1 -1
  156. package/package.json +3 -3
@@ -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;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,CAAC,CAAC,qBAAqB,EAAE;YAC3E,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,qBAAqB,EAAE;YACnE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,qBAAqB,EAAE;YACtE,EAAE,EAAE,EAAE,CAAC,E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E,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"]}
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;A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AAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,sBAAsB,EAAE,EAAE,SAAS,EAAE,EAAE,WAAW,EAAE,CAAC,6BAA6B,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,UAAU,EAAE;CACnN,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: { \"sid.v1.common.access\": { protected: { credentials: [\"CREDENTIAL_KIND_OWN_SESSION\"] } } }, I: SubscribeRequest, O: CloudEvent },\n { name: \"Replay\", idempotency: \"NO_SIDE_EFFECTS\", serverStreaming: true, options: { \"sid.v1.common.access\": { protected: { credentials: [\"CREDENTIAL_KIND_OWN_SESSION\"] } } }, I: ReplayRequest, O: CloudEvent }\n]);\n"]}
@@ -0,0 +1,190 @@
1
+ import type { CompleteFederatedEntryRequest } from "./entry.js";
2
+ import type { HttpBody } from "../../../google/api/httpbody.js";
3
+ import type { StartFederatedEntryRequest } from "./entry.js";
4
+ import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
5
+ import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
6
+ import type { ListSignInConnectionsResponse } from "./entry.js";
7
+ import type { ListSignInConnectionsRequest } from "./entry.js";
8
+ import type { Empty } from "../../../google/protobuf/empty.js";
9
+ import type { RemoveEntryConnectionRequest } from "./entry.js";
10
+ import type { UpdateEntryConnectionRequest } from "./entry.js";
11
+ import type { EntryConnection } from "./entry.js";
12
+ import type { CreateEntryConnectionRequest } from "./entry.js";
13
+ import type { ListEntryConnectionsResponse } from "./entry.js";
14
+ import type { ListEntryConnectionsRequest } from "./entry.js";
15
+ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
16
+ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
17
+ /**
18
+ * EntryConnectionService manages the installation's entry connections. Every
19
+ * RPC but ListSignInConnections requires the administrator role. A connection
20
+ * the installation's provisioning set (ENTRY_CONNECTION_OWNER_PROVISIONING)
21
+ * is listed and never created, changed or removed here.
22
+ *
23
+ * @generated from protobuf service sid.v1.federation.EntryConnectionService
24
+ */
25
+ export interface IEntryConnectionServiceClient {
26
+ /**
27
+ * @generated from protobuf rpc: ListEntryConnections
28
+ */
29
+ listEntryConnections(input: ListEntryConnectionsRequest, options?: RpcOptions): UnaryCall<ListEntryConnectionsRequest, ListEntryConnectionsResponse>;
30
+ /**
31
+ * Register a connection. The answer names the callback to register at the
32
+ * issuer as this client's redirect URI. An issuer that already has a
33
+ * connection is refused: one issuer has one connection.
34
+ *
35
+ * @generated from protobuf rpc: CreateEntryConnection
36
+ */
37
+ createEntryConnection(input: CreateEntryConnectionRequest, options?: RpcOptions): UnaryCall<CreateEntryConnectionRequest, EntryConnection>;
38
+ /**
39
+ * Change what may change in a connection: its name, its client and
40
+ * credential, whether it is enabled. Its issuer, source organization and
41
+ * callback are its identity: another issuer is another connection.
42
+ *
43
+ * @generated from protobuf rpc: UpdateEntryConnection
44
+ */
45
+ updateEntryConnection(input: UpdateEntryConnectionRequest, options?: RpcOptions): UnaryCall<UpdateEntryConnectionRequest, EntryConnection>;
46
+ /**
47
+ * Remove a connection: entries started through it complete nothing.
48
+ *
49
+ * @generated from protobuf rpc: RemoveEntryConnection
50
+ */
51
+ removeEntryConnection(input: RemoveEntryConnectionRequest, options?: RpcOptions): UnaryCall<RemoveEntryConnectionRequest, Empty>;
52
+ /**
53
+ * The enabled connections of one issuer of this installation, as its
54
+ * sign-in page offers them. Public: it names no issuer, client or
55
+ * organization.
56
+ *
57
+ * @generated from protobuf rpc: ListSignInConnections
58
+ */
59
+ listSignInConnections(input: ListSignInConnectionsRequest, options?: RpcOptions): UnaryCall<ListSignInConnectionsRequest, ListSignInConnectionsResponse>;
60
+ }
61
+ /**
62
+ * EntryConnectionService manages the installation's entry connections. Every
63
+ * RPC but ListSignInConnections requires the administrator role. A connection
64
+ * the installation's provisioning set (ENTRY_CONNECTION_OWNER_PROVISIONING)
65
+ * is listed and never created, changed or removed here.
66
+ *
67
+ * @generated from protobuf service sid.v1.federation.EntryConnectionService
68
+ */
69
+ export declare class EntryConnectionServiceClient implements IEntryConnectionServiceClient, ServiceInfo {
70
+ private readonly _transport;
71
+ typeName: string;
72
+ methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
73
+ options: {
74
+ [extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
75
+ };
76
+ constructor(_transport: RpcTransport);
77
+ /**
78
+ * @generated from protobuf rpc: ListEntryConnections
79
+ */
80
+ listEntryConnections(input: ListEntryConnectionsRequest, options?: RpcOptions): UnaryCall<ListEntryConnectionsRequest, ListEntryConnectionsResponse>;
81
+ /**
82
+ * Register a connection. The answer names the callback to register at the
83
+ * issuer as this client's redirect URI. An issuer that already has a
84
+ * connection is refused: one issuer has one connection.
85
+ *
86
+ * @generated from protobuf rpc: CreateEntryConnection
87
+ */
88
+ createEntryConnection(input: CreateEntryConnectionRequest, options?: RpcOptions): UnaryCall<CreateEntryConnectionRequest, EntryConnection>;
89
+ /**
90
+ * Change what may change in a connection: its name, its client and
91
+ * credential, whether it is enabled. Its issuer, source organization and
92
+ * callback are its identity: another issuer is another connection.
93
+ *
94
+ * @generated from protobuf rpc: UpdateEntryConnection
95
+ */
96
+ updateEntryConnection(input: UpdateEntryConnectionRequest, options?: RpcOptions): UnaryCall<UpdateEntryConnectionRequest, EntryConnection>;
97
+ /**
98
+ * Remove a connection: entries started through it complete nothing.
99
+ *
100
+ * @generated from protobuf rpc: RemoveEntryConnection
101
+ */
102
+ removeEntryConnection(input: RemoveEntryConnectionRequest, options?: RpcOptions): UnaryCall<RemoveEntryConnectionRequest, Empty>;
103
+ /**
104
+ * The enabled connections of one issuer of this installation, as its
105
+ * sign-in page offers them. Public: it names no issuer, client or
106
+ * organization.
107
+ *
108
+ * @generated from protobuf rpc: ListSignInConnections
109
+ */
110
+ listSignInConnections(input: ListSignInConnectionsRequest, options?: RpcOptions): UnaryCall<ListSignInConnectionsRequest, ListSignInConnectionsResponse>;
111
+ }
112
+ /**
113
+ * FederatedEntryService carries one sign-in through a connection (OpenID
114
+ * Connect Core 1.0 §3.1). Both endpoints are browser navigations below the
115
+ * installation issuer the user signs in at: under `/i/{issuer_handle}` for a
116
+ * scoped issuer, at the root for the installation's root-addressed base
117
+ * issuer, and never a route of another issuer. They read no session cookie;
118
+ * the return completes only the entry its state names.
119
+ *
120
+ * @generated from protobuf service sid.v1.federation.FederatedEntryService
121
+ */
122
+ export interface IFederatedEntryServiceClient {
123
+ /**
124
+ * Start an entry: a redirect to the connection's issuer, asking for the
125
+ * subject, nonce and PKCE challenge of this entry. The entry continues at
126
+ * `rd`, which must be an authorization continuation of this same
127
+ * installation issuer; anything else is answered with a page, never
128
+ * redirected. Each call starts a new entry.
129
+ *
130
+ * @generated from protobuf rpc: StartFederatedEntry
131
+ */
132
+ startFederatedEntry(input: StartFederatedEntryRequest, options?: RpcOptions): UnaryCall<StartFederatedEntryRequest, HttpBody>;
133
+ /**
134
+ * The issuer's return (OpenID Connect Core 1.0 §3.1.2.5) to the
135
+ * installation issuer's one callback: the entry its `state` names is
136
+ * completed once, through the connection it was started through. A return
137
+ * must name the issuer it comes from (`iss`, RFC 9207 §2), and that is
138
+ * the connection's issuer exactly: several issuers return to this one
139
+ * callback. An admitted entry answers with the session
140
+ * cookie and a redirect to the authorization it continues; a refused,
141
+ * unknown or replayed one with a page and no session. An error return
142
+ * (`error`) completes nothing (§3.1.2.6).
143
+ *
144
+ * @generated from protobuf rpc: CompleteFederatedEntry
145
+ */
146
+ completeFederatedEntry(input: CompleteFederatedEntryRequest, options?: RpcOptions): UnaryCall<CompleteFederatedEntryRequest, HttpBody>;
147
+ }
148
+ /**
149
+ * FederatedEntryService carries one sign-in through a connection (OpenID
150
+ * Connect Core 1.0 §3.1). Both endpoints are browser navigations below the
151
+ * installation issuer the user signs in at: under `/i/{issuer_handle}` for a
152
+ * scoped issuer, at the root for the installation's root-addressed base
153
+ * issuer, and never a route of another issuer. They read no session cookie;
154
+ * the return completes only the entry its state names.
155
+ *
156
+ * @generated from protobuf service sid.v1.federation.FederatedEntryService
157
+ */
158
+ export declare class FederatedEntryServiceClient implements IFederatedEntryServiceClient, ServiceInfo {
159
+ private readonly _transport;
160
+ typeName: string;
161
+ methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
162
+ options: {
163
+ [extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
164
+ };
165
+ constructor(_transport: RpcTransport);
166
+ /**
167
+ * Start an entry: a redirect to the connection's issuer, asking for the
168
+ * subject, nonce and PKCE challenge of this entry. The entry continues at
169
+ * `rd`, which must be an authorization continuation of this same
170
+ * installation issuer; anything else is answered with a page, never
171
+ * redirected. Each call starts a new entry.
172
+ *
173
+ * @generated from protobuf rpc: StartFederatedEntry
174
+ */
175
+ startFederatedEntry(input: StartFederatedEntryRequest, options?: RpcOptions): UnaryCall<StartFederatedEntryRequest, HttpBody>;
176
+ /**
177
+ * The issuer's return (OpenID Connect Core 1.0 §3.1.2.5) to the
178
+ * installation issuer's one callback: the entry its `state` names is
179
+ * completed once, through the connection it was started through. A return
180
+ * must name the issuer it comes from (`iss`, RFC 9207 §2), and that is
181
+ * the connection's issuer exactly: several issuers return to this one
182
+ * callback. An admitted entry answers with the session
183
+ * cookie and a redirect to the authorization it continues; a refused,
184
+ * unknown or replayed one with a page and no session. An error return
185
+ * (`error`) completes nothing (§3.1.2.6).
186
+ *
187
+ * @generated from protobuf rpc: CompleteFederatedEntry
188
+ */
189
+ completeFederatedEntry(input: CompleteFederatedEntryRequest, options?: RpcOptions): UnaryCall<CompleteFederatedEntryRequest, HttpBody>;
190
+ }
@@ -0,0 +1,123 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck
2
+ // @generated from protobuf file "sid/v1/federation/entry.proto" (package "sid.v1.federation", syntax proto3)
3
+ // tslint:disable
4
+ // @ts-nocheck
5
+ import { FederatedEntryService } from "./entry.js";
6
+ import { EntryConnectionService } from "./entry.js";
7
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
8
+ /**
9
+ * EntryConnectionService manages the installation's entry connections. Every
10
+ * RPC but ListSignInConnections requires the administrator role. A connection
11
+ * the installation's provisioning set (ENTRY_CONNECTION_OWNER_PROVISIONING)
12
+ * is listed and never created, changed or removed here.
13
+ *
14
+ * @generated from protobuf service sid.v1.federation.EntryConnectionService
15
+ */
16
+ export class EntryConnectionServiceClient {
17
+ _transport;
18
+ typeName = EntryConnectionService.typeName;
19
+ methods = EntryConnectionService.methods;
20
+ options = EntryConnectionService.options;
21
+ constructor(_transport) {
22
+ this._transport = _transport;
23
+ }
24
+ /**
25
+ * @generated from protobuf rpc: ListEntryConnections
26
+ */
27
+ listEntryConnections(input, options) {
28
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
29
+ return stackIntercept("unary", this._transport, method, opt, input);
30
+ }
31
+ /**
32
+ * Register a connection. The answer names the callback to register at the
33
+ * issuer as this client's redirect URI. An issuer that already has a
34
+ * connection is refused: one issuer has one connection.
35
+ *
36
+ * @generated from protobuf rpc: CreateEntryConnection
37
+ */
38
+ createEntryConnection(input, options) {
39
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
40
+ return stackIntercept("unary", this._transport, method, opt, input);
41
+ }
42
+ /**
43
+ * Change what may change in a connection: its name, its client and
44
+ * credential, whether it is enabled. Its issuer, source organization and
45
+ * callback are its identity: another issuer is another connection.
46
+ *
47
+ * @generated from protobuf rpc: UpdateEntryConnection
48
+ */
49
+ updateEntryConnection(input, options) {
50
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
51
+ return stackIntercept("unary", this._transport, method, opt, input);
52
+ }
53
+ /**
54
+ * Remove a connection: entries started through it complete nothing.
55
+ *
56
+ * @generated from protobuf rpc: RemoveEntryConnection
57
+ */
58
+ removeEntryConnection(input, options) {
59
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
60
+ return stackIntercept("unary", this._transport, method, opt, input);
61
+ }
62
+ /**
63
+ * The enabled connections of one issuer of this installation, as its
64
+ * sign-in page offers them. Public: it names no issuer, client or
65
+ * organization.
66
+ *
67
+ * @generated from protobuf rpc: ListSignInConnections
68
+ */
69
+ listSignInConnections(input, options) {
70
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
71
+ return stackIntercept("unary", this._transport, method, opt, input);
72
+ }
73
+ }
74
+ /**
75
+ * FederatedEntryService carries one sign-in through a connection (OpenID
76
+ * Connect Core 1.0 §3.1). Both endpoints are browser navigations below the
77
+ * installation issuer the user signs in at: under `/i/{issuer_handle}` for a
78
+ * scoped issuer, at the root for the installation's root-addressed base
79
+ * issuer, and never a route of another issuer. They read no session cookie;
80
+ * the return completes only the entry its state names.
81
+ *
82
+ * @generated from protobuf service sid.v1.federation.FederatedEntryService
83
+ */
84
+ export class FederatedEntryServiceClient {
85
+ _transport;
86
+ typeName = FederatedEntryService.typeName;
87
+ methods = FederatedEntryService.methods;
88
+ options = FederatedEntryService.options;
89
+ constructor(_transport) {
90
+ this._transport = _transport;
91
+ }
92
+ /**
93
+ * Start an entry: a redirect to the connection's issuer, asking for the
94
+ * subject, nonce and PKCE challenge of this entry. The entry continues at
95
+ * `rd`, which must be an authorization continuation of this same
96
+ * installation issuer; anything else is answered with a page, never
97
+ * redirected. Each call starts a new entry.
98
+ *
99
+ * @generated from protobuf rpc: StartFederatedEntry
100
+ */
101
+ startFederatedEntry(input, options) {
102
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
103
+ return stackIntercept("unary", this._transport, method, opt, input);
104
+ }
105
+ /**
106
+ * The issuer's return (OpenID Connect Core 1.0 §3.1.2.5) to the
107
+ * installation issuer's one callback: the entry its `state` names is
108
+ * completed once, through the connection it was started through. A return
109
+ * must name the issuer it comes from (`iss`, RFC 9207 §2), and that is
110
+ * the connection's issuer exactly: several issuers return to this one
111
+ * callback. An admitted entry answers with the session
112
+ * cookie and a redirect to the authorization it continues; a refused,
113
+ * unknown or replayed one with a page and no session. An error return
114
+ * (`error`) completes nothing (§3.1.2.6).
115
+ *
116
+ * @generated from protobuf rpc: CompleteFederatedEntry
117
+ */
118
+ completeFederatedEntry(input, options) {
119
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
120
+ return stackIntercept("unary", this._transport, method, opt, input);
121
+ }
122
+ }
123
+ //# sourceMappingURL=entry.client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entry.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/federation/entry.client.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,6GAA6G;AAC7G,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAMnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAQpD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAiD1D;;;;;;;GAOG;AACH,MAAM,OAAO,4BAA4B;IAIR;IAH7B,QAAQ,GAAG,sBAAsB,CAAC,QAAQ,CAAC;IAC3C,OAAO,GAAG,sBAAsB,CAAC,OAAO,CAAC;IACzC,OAAO,GAAG,sBAAsB,CAAC,OAAO,CAAC;IACzC,YAA6B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ACJ","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/federation/entry.proto\" (package \"sid.v1.federation\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { FederatedEntryService } from \"./entry.js\";\nimport type { CompleteFederatedEntryRequest } from \"./entry.js\";\nimport type { HttpBody } from \"../../../google/api/httpbody.js\";\nimport type { StartFederatedEntryRequest } from \"./entry.js\";\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { EntryConnectionService } from \"./entry.js\";\nimport type { ListSignInConnectionsResponse } from \"./entry.js\";\nimport type { ListSignInConnectionsRequest } from \"./entry.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { RemoveEntryConnectionRequest } from \"./entry.js\";\nimport type { UpdateEntryConnectionRequest } from \"./entry.js\";\nimport type { EntryConnection } from \"./entry.js\";\nimport type { CreateEntryConnectionRequest } from \"./entry.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { ListEntryConnectionsResponse } from \"./entry.js\";\nimport type { ListEntryConnectionsRequest } from \"./entry.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * EntryConnectionService manages the installation's entry connections. Every\n * RPC but ListSignInConnections requires the administrator role. A connection\n * the installation's provisioning set (ENTRY_CONNECTION_OWNER_PROVISIONING)\n * is listed and never created, changed or removed here.\n *\n * @generated from protobuf service sid.v1.federation.EntryConnectionService\n */\nexport interface IEntryConnectionServiceClient {\n /**\n * @generated from protobuf rpc: ListEntryConnections\n */\n listEntryConnections(input: ListEntryConnectionsRequest, options?: RpcOptions): UnaryCall<ListEntryConnectionsRequest, ListEntryConnectionsResponse>;\n /**\n * Register a connection. The answer names the callback to register at the\n * issuer as this client's redirect URI. An issuer that already has a\n * connection is refused: one issuer has one connection.\n *\n * @generated from protobuf rpc: CreateEntryConnection\n */\n createEntryConnection(input: CreateEntryConnectionRequest, options?: RpcOptions): UnaryCall<CreateEntryConnectionRequest, EntryConnection>;\n /**\n * Change what may change in a connection: its name, its client and\n * credential, whether it is enabled. Its issuer, source organization and\n * callback are its identity: another issuer is another connection.\n *\n * @generated from protobuf rpc: UpdateEntryConnection\n */\n updateEntryConnection(input: UpdateEntryConnectionRequest, options?: RpcOptions): UnaryCall<UpdateEntryConnectionRequest, EntryConnection>;\n /**\n * Remove a connection: entries started through it complete nothing.\n *\n * @generated from protobuf rpc: RemoveEntryConnection\n */\n removeEntryConnection(input: RemoveEntryConnectionRequest, options?: RpcOptions): UnaryCall<RemoveEntryConnectionRequest, Empty>;\n /**\n * The enabled connections of one issuer of this installation, as its\n * sign-in page offers them. Public: it names no issuer, client or\n * organization.\n *\n * @generated from protobuf rpc: ListSignInConnections\n */\n listSignInConnections(input: ListSignInConnectionsRequest, options?: RpcOptions): UnaryCall<ListSignInConnectionsRequest, ListSignInConnectionsResponse>;\n}\n/**\n * EntryConnectionService manages the installation's entry connections. Every\n * RPC but ListSignInConnections requires the administrator role. A connection\n * the installation's provisioning set (ENTRY_CONNECTION_OWNER_PROVISIONING)\n * is listed and never created, changed or removed here.\n *\n * @generated from protobuf service sid.v1.federation.EntryConnectionService\n */\nexport class EntryConnectionServiceClient implements IEntryConnectionServiceClient, ServiceInfo {\n typeName = EntryConnectionService.typeName;\n methods = EntryConnectionService.methods;\n options = EntryConnectionService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: ListEntryConnections\n */\n listEntryConnections(input: ListEntryConnectionsRequest, options?: RpcOptions): UnaryCall<ListEntryConnectionsRequest, ListEntryConnectionsResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListEntryConnectionsRequest, ListEntryConnectionsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Register a connection. The answer names the callback to register at the\n * issuer as this client's redirect URI. An issuer that already has a\n * connection is refused: one issuer has one connection.\n *\n * @generated from protobuf rpc: CreateEntryConnection\n */\n createEntryConnection(input: CreateEntryConnectionRequest, options?: RpcOptions): UnaryCall<CreateEntryConnectionRequest, EntryConnection> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<CreateEntryConnectionRequest, EntryConnection>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Change what may change in a connection: its name, its client and\n * credential, whether it is enabled. Its issuer, source organization and\n * callback are its identity: another issuer is another connection.\n *\n * @generated from protobuf rpc: UpdateEntryConnection\n */\n updateEntryConnection(input: UpdateEntryConnectionRequest, options?: RpcOptions): UnaryCall<UpdateEntryConnectionRequest, EntryConnection> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateEntryConnectionRequest, EntryConnection>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Remove a connection: entries started through it complete nothing.\n *\n * @generated from protobuf rpc: RemoveEntryConnection\n */\n removeEntryConnection(input: RemoveEntryConnectionRequest, options?: RpcOptions): UnaryCall<RemoveEntryConnectionRequest, Empty> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<RemoveEntryConnectionRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * The enabled connections of one issuer of this installation, as its\n * sign-in page offers them. Public: it names no issuer, client or\n * organization.\n *\n * @generated from protobuf rpc: ListSignInConnections\n */\n listSignInConnections(input: ListSignInConnectionsRequest, options?: RpcOptions): UnaryCall<ListSignInConnectionsRequest, ListSignInConnectionsResponse> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListSignInConnectionsRequest, ListSignInConnectionsResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n/**\n * FederatedEntryService carries one sign-in through a connection (OpenID\n * Connect Core 1.0 §3.1). Both endpoints are browser navigations below the\n * installation issuer the user signs in at: under `/i/{issuer_handle}` for a\n * scoped issuer, at the root for the installation's root-addressed base\n * issuer, and never a route of another issuer. They read no session cookie;\n * the return completes only the entry its state names.\n *\n * @generated from protobuf service sid.v1.federation.FederatedEntryService\n */\nexport interface IFederatedEntryServiceClient {\n /**\n * Start an entry: a redirect to the connection's issuer, asking for the\n * subject, nonce and PKCE challenge of this entry. The entry continues at\n * `rd`, which must be an authorization continuation of this same\n * installation issuer; anything else is answered with a page, never\n * redirected. Each call starts a new entry.\n *\n * @generated from protobuf rpc: StartFederatedEntry\n */\n startFederatedEntry(input: StartFederatedEntryRequest, options?: RpcOptions): UnaryCall<StartFederatedEntryRequest, HttpBody>;\n /**\n * The issuer's return (OpenID Connect Core 1.0 §3.1.2.5) to the\n * installation issuer's one callback: the entry its `state` names is\n * completed once, through the connection it was started through. A return\n * must name the issuer it comes from (`iss`, RFC 9207 §2), and that is\n * the connection's issuer exactly: several issuers return to this one\n * callback. An admitted entry answers with the session\n * cookie and a redirect to the authorization it continues; a refused,\n * unknown or replayed one with a page and no session. An error return\n * (`error`) completes nothing (§3.1.2.6).\n *\n * @generated from protobuf rpc: CompleteFederatedEntry\n */\n completeFederatedEntry(input: CompleteFederatedEntryRequest, options?: RpcOptions): UnaryCall<CompleteFederatedEntryRequest, HttpBody>;\n}\n/**\n * FederatedEntryService carries one sign-in through a connection (OpenID\n * Connect Core 1.0 §3.1). Both endpoints are browser navigations below the\n * installation issuer the user signs in at: under `/i/{issuer_handle}` for a\n * scoped issuer, at the root for the installation's root-addressed base\n * issuer, and never a route of another issuer. They read no session cookie;\n * the return completes only the entry its state names.\n *\n * @generated from protobuf service sid.v1.federation.FederatedEntryService\n */\nexport class FederatedEntryServiceClient implements IFederatedEntryServiceClient, ServiceInfo {\n typeName = FederatedEntryService.typeName;\n methods = FederatedEntryService.methods;\n options = FederatedEntryService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Start an entry: a redirect to the connection's issuer, asking for the\n * subject, nonce and PKCE challenge of this entry. The entry continues at\n * `rd`, which must be an authorization continuation of this same\n * installation issuer; anything else is answered with a page, never\n * redirected. Each call starts a new entry.\n *\n * @generated from protobuf rpc: StartFederatedEntry\n */\n startFederatedEntry(input: StartFederatedEntryRequest, options?: RpcOptions): UnaryCall<StartFederatedEntryRequest, HttpBody> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<StartFederatedEntryRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * The issuer's return (OpenID Connect Core 1.0 §3.1.2.5) to the\n * installation issuer's one callback: the entry its `state` names is\n * completed once, through the connection it was started through. A return\n * must name the issuer it comes from (`iss`, RFC 9207 §2), and that is\n * the connection's issuer exactly: several issuers return to this one\n * callback. An admitted entry answers with the session\n * cookie and a redirect to the authorization it continues; a refused,\n * unknown or replayed one with a page and no session. An error return\n * (`error`) completes nothing (§3.1.2.6).\n *\n * @generated from protobuf rpc: CompleteFederatedEntry\n */\n completeFederatedEntry(input: CompleteFederatedEntryRequest, options?: RpcOptions): UnaryCall<CompleteFederatedEntryRequest, HttpBody> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<CompleteFederatedEntryRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}