@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.
- package/CHANGELOG.md +7 -0
- package/dist/generated/sid/v1/account/account.client.d.ts +14 -2
- package/dist/generated/sid/v1/account/account.client.js +7 -1
- package/dist/generated/sid/v1/account/account.client.js.map +1 -1
- package/dist/generated/sid/v1/account/account.js +28 -28
- package/dist/generated/sid/v1/account/account.js.map +1 -1
- package/dist/generated/sid/v1/admin/admin.client.d.ts +2 -0
- package/dist/generated/sid/v1/admin/admin.client.js +1 -0
- package/dist/generated/sid/v1/admin/admin.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/admin.js +7 -7
- package/dist/generated/sid/v1/admin/admin.js.map +1 -1
- package/dist/generated/sid/v1/admin/admin_roles.js +11 -11
- package/dist/generated/sid/v1/admin/admin_roles.js.map +1 -1
- package/dist/generated/sid/v1/admin/analytics.js +5 -5
- package/dist/generated/sid/v1/admin/analytics.js.map +1 -1
- package/dist/generated/sid/v1/admin/branding.js +8 -8
- package/dist/generated/sid/v1/admin/branding.js.map +1 -1
- package/dist/generated/sid/v1/admin/enrollment.client.js +3 -0
- package/dist/generated/sid/v1/admin/enrollment.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/enrollment.js +10 -10
- package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
- package/dist/generated/sid/v1/admin/events.js +10 -10
- package/dist/generated/sid/v1/admin/events.js.map +1 -1
- package/dist/generated/sid/v1/admin/flow.js +8 -8
- package/dist/generated/sid/v1/admin/flow.js.map +1 -1
- package/dist/generated/sid/v1/admin/keys.js +6 -6
- package/dist/generated/sid/v1/admin/keys.js.map +1 -1
- package/dist/generated/sid/v1/admin/login_experience.js +7 -7
- package/dist/generated/sid/v1/admin/login_experience.js.map +1 -1
- package/dist/generated/sid/v1/admin/migration.js +7 -7
- package/dist/generated/sid/v1/admin/migration.js.map +1 -1
- package/dist/generated/sid/v1/admin/notifications.client.d.ts +6 -0
- package/dist/generated/sid/v1/admin/notifications.client.js +3 -0
- package/dist/generated/sid/v1/admin/notifications.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/notifications.js +6 -6
- package/dist/generated/sid/v1/admin/notifications.js.map +1 -1
- package/dist/generated/sid/v1/admin/operations.js +14 -14
- package/dist/generated/sid/v1/admin/operations.js.map +1 -1
- package/dist/generated/sid/v1/admin/organizations.js +2 -2
- package/dist/generated/sid/v1/admin/organizations.js.map +1 -1
- package/dist/generated/sid/v1/admin/provisioning.js +10 -10
- package/dist/generated/sid/v1/admin/provisioning.js.map +1 -1
- package/dist/generated/sid/v1/admin/scopes.js +11 -11
- package/dist/generated/sid/v1/admin/scopes.js.map +1 -1
- package/dist/generated/sid/v1/admin/security.js +25 -25
- package/dist/generated/sid/v1/admin/security.js.map +1 -1
- package/dist/generated/sid/v1/admin/sessions.js +5 -5
- package/dist/generated/sid/v1/admin/sessions.js.map +1 -1
- package/dist/generated/sid/v1/admin/settings.d.ts +269 -12
- package/dist/generated/sid/v1/admin/settings.js +315 -53
- package/dist/generated/sid/v1/admin/settings.js.map +1 -1
- package/dist/generated/sid/v1/admin/user_profile.js +2 -2
- package/dist/generated/sid/v1/admin/user_profile.js.map +1 -1
- package/dist/generated/sid/v1/admin/webhooks.js +16 -16
- package/dist/generated/sid/v1/admin/webhooks.js.map +1 -1
- package/dist/generated/sid/v1/attestation/attestation.client.d.ts +12 -0
- package/dist/generated/sid/v1/attestation/attestation.client.js +6 -0
- package/dist/generated/sid/v1/attestation/attestation.client.js.map +1 -1
- package/dist/generated/sid/v1/attestation/attestation.js +6 -6
- package/dist/generated/sid/v1/attestation/attestation.js.map +1 -1
- package/dist/generated/sid/v1/authn/application_session.js +5 -5
- package/dist/generated/sid/v1/authn/application_session.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.client.d.ts +102 -0
- package/dist/generated/sid/v1/authn/auth.client.js +88 -21
- package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.d.ts +300 -11
- package/dist/generated/sid/v1/authn/auth.js +597 -59
- package/dist/generated/sid/v1/authn/auth.js.map +1 -1
- package/dist/generated/sid/v1/authn/flows.js +26 -26
- package/dist/generated/sid/v1/authn/flows.js.map +1 -1
- package/dist/generated/sid/v1/authn/issuer.client.d.ts +8 -2
- package/dist/generated/sid/v1/authn/issuer.client.js +4 -1
- package/dist/generated/sid/v1/authn/issuer.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/issuer.d.ts +13 -6
- package/dist/generated/sid/v1/authn/issuer.js +19 -19
- package/dist/generated/sid/v1/authn/issuer.js.map +1 -1
- package/dist/generated/sid/v1/authn/password_history.client.d.ts +2 -2
- package/dist/generated/sid/v1/authn/password_history.client.js +1 -1
- package/dist/generated/sid/v1/authn/password_history.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/password_history.d.ts +15 -0
- package/dist/generated/sid/v1/authn/password_history.js +11 -3
- package/dist/generated/sid/v1/authn/password_history.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 +60 -0
- package/dist/generated/sid/v1/authz/authz.client.js +49 -17
- package/dist/generated/sid/v1/authz/authz.client.js.map +1 -1
- package/dist/generated/sid/v1/authz/authz.d.ts +195 -2
- package/dist/generated/sid/v1/authz/authz.js +322 -29
- 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/authz/governance.js +4 -4
- package/dist/generated/sid/v1/authz/governance.js.map +1 -1
- package/dist/generated/sid/v1/common/access.d.ts +219 -0
- package/dist/generated/sid/v1/common/access.js +285 -0
- package/dist/generated/sid/v1/common/access.js.map +1 -0
- package/dist/generated/sid/v1/common/errors.d.ts +45 -0
- package/dist/generated/sid/v1/common/errors.js +45 -0
- package/dist/generated/sid/v1/common/errors.js.map +1 -1
- package/dist/generated/sid/v1/common/maintenance.d.ts +50 -0
- package/dist/generated/sid/v1/common/maintenance.js +56 -0
- package/dist/generated/sid/v1/common/maintenance.js.map +1 -0
- package/dist/generated/sid/v1/common/operation.js +1 -1
- package/dist/generated/sid/v1/common/operation.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/federation/entry.client.d.ts +190 -0
- package/dist/generated/sid/v1/federation/entry.client.js +123 -0
- package/dist/generated/sid/v1/federation/entry.client.js.map +1 -0
- package/dist/generated/sid/v1/federation/entry.d.ts +490 -0
- package/dist/generated/sid/v1/federation/entry.js +795 -0
- package/dist/generated/sid/v1/federation/entry.js.map +1 -0
- package/dist/generated/sid/v1/federation/platform_ca.client.d.ts +77 -0
- package/dist/generated/sid/v1/federation/platform_ca.client.js +47 -0
- package/dist/generated/sid/v1/federation/platform_ca.client.js.map +1 -0
- package/dist/generated/sid/v1/federation/platform_ca.d.ts +186 -0
- package/dist/generated/sid/v1/federation/platform_ca.js +285 -0
- package/dist/generated/sid/v1/federation/platform_ca.js.map +1 -0
- package/dist/generated/sid/v1/federation/site.client.d.ts +99 -0
- package/dist/generated/sid/v1/federation/site.client.js +62 -0
- package/dist/generated/sid/v1/federation/site.client.js.map +1 -0
- package/dist/generated/sid/v1/federation/site.d.ts +219 -0
- package/dist/generated/sid/v1/federation/site.js +416 -0
- package/dist/generated/sid/v1/federation/site.js.map +1 -0
- package/dist/generated/sid/v1/federation/site_admission.client.d.ts +71 -0
- package/dist/generated/sid/v1/federation/site_admission.client.js +42 -0
- package/dist/generated/sid/v1/federation/site_admission.client.js.map +1 -0
- package/dist/generated/sid/v1/federation/site_admission.d.ts +36 -0
- package/dist/generated/sid/v1/federation/site_admission.js +64 -0
- package/dist/generated/sid/v1/federation/site_admission.js.map +1 -0
- package/dist/generated/sid/v1/federation/upstream.js +8 -8
- package/dist/generated/sid/v1/federation/upstream.js.map +1 -1
- package/dist/generated/sid/v1/identity/identity.client.d.ts +6 -0
- package/dist/generated/sid/v1/identity/identity.client.js +3 -0
- package/dist/generated/sid/v1/identity/identity.client.js.map +1 -1
- package/dist/generated/sid/v1/identity/identity.d.ts +19 -1
- package/dist/generated/sid/v1/identity/identity.js +49 -31
- package/dist/generated/sid/v1/identity/identity.js.map +1 -1
- package/dist/generated/sid/v1/machine/machine_user.js +14 -14
- package/dist/generated/sid/v1/machine/machine_user.js.map +1 -1
- package/dist/generated/sid/v1/machine/pat.js +7 -7
- package/dist/generated/sid/v1/machine/pat.js.map +1 -1
- package/dist/generated/sid/v1/projects/projects.d.ts +32 -6
- package/dist/generated/sid/v1/projects/projects.js +34 -27
- package/dist/generated/sid/v1/projects/projects.js.map +1 -1
- package/dist/generated/sid/v1/scim/scim.js +28 -28
- package/dist/generated/sid/v1/scim/scim.js.map +1 -1
- package/dist/generated/sid/v1/test/test.client.d.ts +2 -0
- package/dist/generated/sid/v1/test/test.client.js +1 -0
- package/dist/generated/sid/v1/test/test.client.js.map +1 -1
- package/dist/generated/sid/v1/test/test.js +12 -12
- package/dist/generated/sid/v1/test/test.js.map +1 -1
- package/dist/generated/sid/v1/ui/public_settings.js +2 -2
- package/dist/generated/sid/v1/ui/public_settings.js.map +1 -1
- package/package.json +3 -3
|
@@ -848,12 +848,12 @@ export const AdminRevokePatRequest = new AdminRevokePatRequest$Type();
|
|
|
848
848
|
* @generated ServiceType for protobuf service sid.v1.machine.PatService
|
|
849
849
|
*/
|
|
850
850
|
export const PatService = new ServiceType("sid.v1.machine.PatService", [
|
|
851
|
-
{ name: "CreatePat", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/pats", body: "*" }, "sid.v1.common.retry": { keyed: true } }, I: CreatePatRequest, O: CreatePatResponse },
|
|
852
|
-
{ name: "ListPats", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/pats" } }, I: ListPatsRequest, O: ListPatsResponse },
|
|
853
|
-
{ name: "GetPat", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/pats/{pat_id.value}" } }, I: GetPatRequest, O: PatResponse },
|
|
854
|
-
{ name: "RevokePat", idempotency: "IDEMPOTENT", options: { "google.api.http": { delete: "/v1/pats/{pat_id.value}" }, "sid.v1.common.retry": { natural: "a revoked token is never reactivated: a repeat finds it revoked and answers as the first" } }, I: RevokePatRequest, O: RevokePatResponse },
|
|
855
|
-
{ name: "ExchangePat", options: { "google.api.http": { post: "/v1/pats/exchange", body: "*" }, "sid.v1.common.retry": { ceremony: "RFC 8693 \u00A72: each exchange issues its own short-lived access token from the presented token; an issued token is never replayed from a record" } }, I: ExchangePatRequest, O: ExchangePatResponse },
|
|
856
|
-
{ name: "ListAllPats", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/admin/pats" } }, I: ListAllPatsRequest, O: ListAllPatsResponse },
|
|
857
|
-
{ name: "AdminRevokePat", idempotency: "IDEMPOTENT", options: { "google.api.http": { delete: "/v1/admin/pats/{pat_id.value}" }, "sid.v1.common.retry": { natural: "a revoked token is never reactivated: a repeat finds it revoked and answers as the first" } }, I: AdminRevokePatRequest, O: RevokePatResponse }
|
|
851
|
+
{ name: "CreatePat", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/pats", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION"] } }, "sid.v1.common.retry": { keyed: true } }, I: CreatePatRequest, O: CreatePatResponse },
|
|
852
|
+
{ name: "ListPats", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/pats" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION"] } } }, I: ListPatsRequest, O: ListPatsResponse },
|
|
853
|
+
{ name: "GetPat", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/pats/{pat_id.value}" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION"] } } }, I: GetPatRequest, O: PatResponse },
|
|
854
|
+
{ name: "RevokePat", idempotency: "IDEMPOTENT", options: { "google.api.http": { delete: "/v1/pats/{pat_id.value}" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION"] } }, "sid.v1.common.retry": { natural: "a revoked token is never reactivated: a repeat finds it revoked and answers as the first" } }, I: RevokePatRequest, O: RevokePatResponse },
|
|
855
|
+
{ name: "ExchangePat", options: { "google.api.http": { post: "/v1/pats/exchange", body: "*" }, "sid.v1.common.access": { open: "the exchange-only token presented in the request authenticates the exchange" }, "sid.v1.common.retry": { ceremony: "RFC 8693 \u00A72: each exchange issues its own short-lived access token from the presented token; an issued token is never replayed from a record" } }, I: ExchangePatRequest, O: ExchangePatResponse },
|
|
856
|
+
{ name: "ListAllPats", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/admin/pats" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION"] } } }, I: ListAllPatsRequest, O: ListAllPatsResponse },
|
|
857
|
+
{ name: "AdminRevokePat", idempotency: "IDEMPOTENT", options: { "google.api.http": { delete: "/v1/admin/pats/{pat_id.value}" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION"] } }, "sid.v1.common.retry": { natural: "a revoked token is never reactivated: a repeat finds it revoked and answers as the first" } }, I: AdminRevokePatRequest, O: RevokePatResponse }
|
|
858
858
|
]);
|
|
859
859
|
//# sourceMappingURL=pat.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/machine/pat.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,qGAAqG;AACrG,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAA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E,kBAAkB,EAAE,CAAC,EAAE,mBAAmB,EAAE;IAC1U,EAAE,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,GAAG,EAAE,gBAAgB,EAAE,EAAE,EAAE,CAAC,EAAE,kBAAkB,EAAE,CAAC,EAAE,mBAAmB,EAAE;IACjK,EAAE,IAAI,EAAE,gBAAgB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,MAAM,EAAE,+BAA+B,EAAE,EAAE,qBAAqB,EAAE,EAAE,OAAO,EAAE,0FAA0F,EAAE,EAAE,EAAE,CAAC,EAAE,qBAAqB,EAAE,CAAC,EAAE,iBAAiB,EAAE;CACrT,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/machine/pat.proto\" (package \"sid.v1.machine\", 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\";\nimport { ProfileId } from \"../ids/ids.js\";\nimport { PatId } from \"../ids/ids.js\";\n/**\n * PAT metadata (returned in responses — NEVER includes token plaintext).\n *\n * @generated from protobuf message sid.v1.machine.Pat\n */\nexport interface Pat {\n /**\n * @generated from protobuf field: sid.v1.ids.PatId id = 1\n */\n id?: PatId;\n /**\n * Profile the token acts for.\n *\n * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 2\n */\n profileId?: ProfileId;\n /**\n * @generated from protobuf field: string name = 3\n */\n name: string;\n /**\n * @generated from protobuf field: string description = 4\n */\n description: string;\n /**\n * @generated from protobuf field: string token_prefix = 5\n */\n tokenPrefix: string; // \"sid_pat_XXXXXXXX\" for identification.\n /**\n * @generated from protobuf field: repeated string scopes = 6\n */\n scopes: string[];\n /**\n * @generated from protobuf field: sid.v1.machine.PatStatus status = 7\n */\n status: PatStatus;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp created_at = 8\n */\n createdAt?: Timestamp;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 9\n */\n expiresAt?: Timestamp;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp last_used_at = 10\n */\n lastUsedAt?: Timestamp;\n /**\n * @generated from protobuf field: string last_used_ip = 11\n */\n lastUsedIp: string;\n /**\n * @generated from protobuf field: uint64 use_count = 12\n */\n useCount: bigint;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp revoked_at = 13\n */\n revokedAt?: Timestamp;\n /**\n * @generated from protobuf field: string revoked_by = 14\n */\n revokedBy: string;\n}\n// ── User-facing CRUD messages ──\n\n/**\n * @generated from protobuf message sid.v1.machine.CreatePatRequest\n */\nexport interface CreatePatRequest {\n /**\n * @generated from protobuf field: string name = 1\n */\n name: string;\n /**\n * @generated from protobuf field: repeated string scopes = 2\n */\n scopes: string[];\n /**\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 3\n */\n expiresAt?: Timestamp;\n /**\n * @generated from protobuf field: string description = 4\n */\n description: string;\n /**\n * @generated from protobuf field: repeated string ip_allowlist = 5\n */\n ipAllowlist: string[]; // Client addresses the token is restricted to.\n}\n/**\n * @generated from protobuf message sid.v1.machine.CreatePatResponse\n */\nexport interface CreatePatResponse {\n /**\n * @generated from protobuf field: sid.v1.ids.PatId pat_id = 1\n */\n patId?: PatId;\n /**\n * @generated from protobuf field: string token = 2\n */\n token: string; // Plaintext — shown ONCE, never stored.\n /**\n * @generated from protobuf field: string token_prefix = 3\n */\n tokenPrefix: string;\n /**\n * @generated from protobuf field: sid.v1.machine.Pat metadata = 4\n */\n metadata?: Pat;\n}\n/**\n * @generated from protobuf message sid.v1.machine.ListPatsRequest\n */\nexport interface ListPatsRequest {\n}\n/**\n * @generated from protobuf message sid.v1.machine.ListPatsResponse\n */\nexport interface ListPatsResponse {\n /**\n * @generated from protobuf field: repeated sid.v1.machine.Pat pats = 1\n */\n pats: Pat[];\n}\n/**\n * @generated from protobuf message sid.v1.machine.GetPatRequest\n */\nexport interface GetPatRequest {\n /**\n * @generated from protobuf field: sid.v1.ids.PatId pat_id = 1\n */\n patId?: PatId;\n}\n/**\n * @generated from protobuf message sid.v1.machine.PatResponse\n */\nexport interface PatResponse {\n /**\n * @generated from protobuf field: sid.v1.machine.Pat pat = 1\n */\n pat?: Pat;\n}\n/**\n * @generated from protobuf message sid.v1.machine.RevokePatRequest\n */\nexport interface RevokePatRequest {\n /**\n * @generated from protobuf field: sid.v1.ids.PatId pat_id = 1\n */\n patId?: PatId;\n}\n/**\n * @generated from protobuf message sid.v1.machine.RevokePatResponse\n */\nexport interface RevokePatResponse {\n}\n// ── Token exchange messages ──\n\n/**\n * @generated from protobuf message sid.v1.machine.ExchangePatRequest\n */\nexport interface ExchangePatRequest {\n /**\n * @generated from protobuf field: string token = 1\n */\n token: string; // Opaque PAT value.\n /**\n * @generated from protobuf field: string scope = 2\n */\n scope: string; // Optional: space-separated requested scopes (must be ⊆ PAT scopes).\n}\n/**\n * @generated from protobuf message sid.v1.machine.ExchangePatResponse\n */\nexport interface ExchangePatResponse {\n /**\n * @generated from protobuf field: string access_token = 1\n */\n accessToken: string; // Short-lived JWT (5 min).\n /**\n * @generated from protobuf field: string token_type = 2\n */\n tokenType: string; // \"Bearer\".\n /**\n * @generated from protobuf field: int32 expires_in = 3\n */\n expiresIn: number; // 300.\n /**\n * @generated from protobuf field: string scope = 4\n */\n scope: string; // Space-separated scopes.\n}\n// ── Admin messages ──\n\n/**\n * @generated from protobuf message sid.v1.machine.ListAllPatsRequest\n */\nexport interface ListAllPatsRequest {\n}\n/**\n * @generated from protobuf message sid.v1.machine.ListAllPatsResponse\n */\nexport interface ListAllPatsResponse {\n /**\n * @generated from protobuf field: repeated sid.v1.machine.Pat pats = 1\n */\n pats: Pat[];\n}\n/**\n * @generated from protobuf message sid.v1.machine.AdminRevokePatRequest\n */\nexport interface AdminRevokePatRequest {\n /**\n * @generated from protobuf field: sid.v1.ids.PatId pat_id = 1\n */\n patId?: PatId;\n}\n/**\n * Status of a personal access token.\n *\n * @generated from protobuf enum sid.v1.machine.PatStatus\n */\nexport enum PatStatus {\n /**\n * @generated from protobuf enum value: PAT_STATUS_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * @generated from protobuf enum value: PAT_STATUS_ACTIVE = 1;\n */\n ACTIVE = 1,\n /**\n * @generated from protobuf enum value: PAT_STATUS_REVOKED = 2;\n */\n REVOKED = 2,\n /**\n * @generated from protobuf enum value: PAT_STATUS_EXPIRED = 3;\n */\n EXPIRED = 3\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Pat$Type extends MessageType<Pat> {\n constructor() {\n super(\"sid.v1.machine.Pat\", [\n { no: 1, name: \"id\", kind: \"message\", T: () => PatId },\n { no: 2, name: \"profile_id\", kind: \"message\", T: () => ProfileId },\n { no: 3, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"description\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"token_prefix\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"scopes\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },\n { no: 7, name: \"status\", kind: \"enum\", T: () => [\"sid.v1.machine.PatStatus\", PatStatus, \"PAT_STATUS_\"] },\n { no: 8, name: \"created_at\", kind: \"message\", T: () => Timestamp },\n { no: 9, name: \"expires_at\", kind: \"message\", T: () => Timestamp },\n { no: 10, name: \"last_used_at\", kind: \"message\", T: () => Timestamp },\n { no: 11, name: \"last_used_ip\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 12, name: \"use_count\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 13, name: \"revoked_at\", kind: \"message\", T: () => Timestamp },\n { no: 14, name: \"revoked_by\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<Pat>): Pat {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.description = \"\";\n message.tokenPrefix = \"\";\n message.scopes = [];\n message.status = 0;\n message.lastUsedIp = \"\";\n message.useCount = 0n;\n message.revokedBy = \"\";\n if (value !== undefined)\n reflectionMergePartial<Pat>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Pat): Pat {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.PatId id */ 1:\n message.id = PatId.internalBinaryRead(reader, reader.uint32(), options, message.id);\n break;\n case /* sid.v1.ids.ProfileId profile_id */ 2:\n message.profileId = ProfileId.internalBinaryRead(reader, reader.uint32(), options, message.profileId);\n break;\n case /* string name */ 3:\n message.name = reader.string();\n break;\n case /* string description */ 4:\n message.description = reader.string();\n break;\n case /* string token_prefix */ 5:\n message.tokenPrefix = reader.string();\n break;\n case /* repeated string scopes */ 6:\n message.scopes.push(reader.string());\n break;\n case /* sid.v1.machine.PatStatus status */ 7:\n message.status = reader.int32();\n break;\n case /* google.protobuf.Timestamp created_at */ 8:\n message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);\n break;\n case /* google.protobuf.Timestamp expires_at */ 9:\n message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);\n break;\n case /* google.protobuf.Timestamp last_used_at */ 10:\n message.lastUsedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.lastUsedAt);\n break;\n case /* string last_used_ip */ 11:\n message.lastUsedIp = reader.string();\n break;\n case /* uint64 use_count */ 12:\n message.useCount = reader.uint64().toBigInt();\n break;\n case /* google.protobuf.Timestamp revoked_at */ 13:\n message.revokedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.revokedAt);\n break;\n case /* string revoked_by */ 14:\n message.revokedBy = 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: Pat, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.PatId id = 1; */\n if (message.id)\n PatId.internalBinaryWrite(message.id, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.ids.ProfileId profile_id = 2; */\n if (message.profileId)\n ProfileId.internalBinaryWrite(message.profileId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n /* string name = 3; */\n if (message.name !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.name);\n /* string description = 4; */\n if (message.description !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.description);\n /* string token_prefix = 5; */\n if (message.tokenPrefix !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.tokenPrefix);\n /* repeated string scopes = 6; */\n for (let i = 0; i < message.scopes.length; i++)\n writer.tag(6, WireType.LengthDelimited).string(message.scopes[i]);\n /* sid.v1.machine.PatStatus status = 7; */\n if (message.status !== 0)\n writer.tag(7, WireType.Varint).int32(message.status);\n /* google.protobuf.Timestamp created_at = 8; */\n if (message.createdAt)\n Timestamp.internalBinaryWrite(message.createdAt, writer.tag(8, WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.Timestamp expires_at = 9; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(9, WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.Timestamp last_used_at = 10; */\n if (message.lastUsedAt)\n Timestamp.internalBinaryWrite(message.lastUsedAt, writer.tag(10, WireType.LengthDelimited).fork(), options).join();\n /* string last_used_ip = 11; */\n if (message.lastUsedIp !== \"\")\n writer.tag(11, WireType.LengthDelimited).string(message.lastUsedIp);\n /* uint64 use_count = 12; */\n if (message.useCount !== 0n)\n writer.tag(12, WireType.Varint).uint64(message.useCount);\n /* google.protobuf.Timestamp revoked_at = 13; */\n if (message.revokedAt)\n Timestamp.internalBinaryWrite(message.revokedAt, writer.tag(13, WireType.LengthDelimited).fork(), options).join();\n /* string revoked_by = 14; */\n if (message.revokedBy !== \"\")\n writer.tag(14, WireType.LengthDelimited).string(message.revokedBy);\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.machine.Pat\n */\nexport const Pat = new Pat$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CreatePatRequest$Type extends MessageType<CreatePatRequest> {\n constructor() {\n super(\"sid.v1.machine.CreatePatRequest\", [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"scopes\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"expires_at\", kind: \"message\", T: () => Timestamp },\n { no: 4, name: \"description\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"ip_allowlist\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<CreatePatRequest>): CreatePatRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.scopes = [];\n message.description = \"\";\n message.ipAllowlist = [];\n if (value !== undefined)\n reflectionMergePartial<CreatePatRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreatePatRequest): CreatePatRequest {\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 name */ 1:\n message.name = reader.string();\n break;\n case /* repeated string scopes */ 2:\n message.scopes.push(reader.string());\n break;\n case /* google.protobuf.Timestamp expires_at */ 3:\n message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);\n break;\n case /* string description */ 4:\n message.description = reader.string();\n break;\n case /* repeated string ip_allowlist */ 5:\n message.ipAllowlist.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: CreatePatRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string name = 1; */\n if (message.name !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.name);\n /* repeated string scopes = 2; */\n for (let i = 0; i < message.scopes.length; i++)\n writer.tag(2, WireType.LengthDelimited).string(message.scopes[i]);\n /* google.protobuf.Timestamp expires_at = 3; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n /* string description = 4; */\n if (message.description !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.description);\n /* repeated string ip_allowlist = 5; */\n for (let i = 0; i < message.ipAllowlist.length; i++)\n writer.tag(5, WireType.LengthDelimited).string(message.ipAllowlist[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.machine.CreatePatRequest\n */\nexport const CreatePatRequest = new CreatePatRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CreatePatResponse$Type extends MessageType<CreatePatResponse> {\n constructor() {\n super(\"sid.v1.machine.CreatePatResponse\", [\n { no: 1, name: \"pat_id\", kind: \"message\", T: () => PatId },\n { no: 2, name: \"token\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"token_prefix\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"metadata\", kind: \"message\", T: () => Pat }\n ]);\n }\n create(value?: PartialMessage<CreatePatResponse>): CreatePatResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.token = \"\";\n message.tokenPrefix = \"\";\n if (value !== undefined)\n reflectionMergePartial<CreatePatResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreatePatResponse): CreatePatResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.PatId pat_id */ 1:\n message.patId = PatId.internalBinaryRead(reader, reader.uint32(), options, message.patId);\n break;\n case /* string token */ 2:\n message.token = reader.string();\n break;\n case /* string token_prefix */ 3:\n message.tokenPrefix = reader.string();\n break;\n case /* sid.v1.machine.Pat metadata */ 4:\n message.metadata = Pat.internalBinaryRead(reader, reader.uint32(), options, message.metadata);\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: CreatePatResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.PatId pat_id = 1; */\n if (message.patId)\n PatId.internalBinaryWrite(message.patId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* string token = 2; */\n if (message.token !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.token);\n /* string token_prefix = 3; */\n if (message.tokenPrefix !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.tokenPrefix);\n /* sid.v1.machine.Pat metadata = 4; */\n if (message.metadata)\n Pat.internalBinaryWrite(message.metadata, writer.tag(4, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.CreatePatResponse\n */\nexport const CreatePatResponse = new CreatePatResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPatsRequest$Type extends MessageType<ListPatsRequest> {\n constructor() {\n super(\"sid.v1.machine.ListPatsRequest\", []);\n }\n create(value?: PartialMessage<ListPatsRequest>): ListPatsRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ListPatsRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListPatsRequest): ListPatsRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ListPatsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.ListPatsRequest\n */\nexport const ListPatsRequest = new ListPatsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPatsResponse$Type extends MessageType<ListPatsResponse> {\n constructor() {\n super(\"sid.v1.machine.ListPatsResponse\", [\n { no: 1, name: \"pats\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Pat }\n ]);\n }\n create(value?: PartialMessage<ListPatsResponse>): ListPatsResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.pats = [];\n if (value !== undefined)\n reflectionMergePartial<ListPatsResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListPatsResponse): ListPatsResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated sid.v1.machine.Pat pats */ 1:\n message.pats.push(Pat.internalBinaryRead(reader, reader.uint32(), 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 internalBinaryWrite(message: ListPatsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated sid.v1.machine.Pat pats = 1; */\n for (let i = 0; i < message.pats.length; i++)\n Pat.internalBinaryWrite(message.pats[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.ListPatsResponse\n */\nexport const ListPatsResponse = new ListPatsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetPatRequest$Type extends MessageType<GetPatRequest> {\n constructor() {\n super(\"sid.v1.machine.GetPatRequest\", [\n { no: 1, name: \"pat_id\", kind: \"message\", T: () => PatId }\n ]);\n }\n create(value?: PartialMessage<GetPatRequest>): GetPatRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<GetPatRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetPatRequest): GetPatRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.PatId pat_id */ 1:\n message.patId = PatId.internalBinaryRead(reader, reader.uint32(), options, message.patId);\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: GetPatRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.PatId pat_id = 1; */\n if (message.patId)\n PatId.internalBinaryWrite(message.patId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.GetPatRequest\n */\nexport const GetPatRequest = new GetPatRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PatResponse$Type extends MessageType<PatResponse> {\n constructor() {\n super(\"sid.v1.machine.PatResponse\", [\n { no: 1, name: \"pat\", kind: \"message\", T: () => Pat }\n ]);\n }\n create(value?: PartialMessage<PatResponse>): PatResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<PatResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PatResponse): PatResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.machine.Pat pat */ 1:\n message.pat = Pat.internalBinaryRead(reader, reader.uint32(), options, message.pat);\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: PatResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.machine.Pat pat = 1; */\n if (message.pat)\n Pat.internalBinaryWrite(message.pat, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.PatResponse\n */\nexport const PatResponse = new PatResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RevokePatRequest$Type extends MessageType<RevokePatRequest> {\n constructor() {\n super(\"sid.v1.machine.RevokePatRequest\", [\n { no: 1, name: \"pat_id\", kind: \"message\", T: () => PatId }\n ]);\n }\n create(value?: PartialMessage<RevokePatRequest>): RevokePatRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<RevokePatRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RevokePatRequest): RevokePatRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.PatId pat_id */ 1:\n message.patId = PatId.internalBinaryRead(reader, reader.uint32(), options, message.patId);\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: RevokePatRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.PatId pat_id = 1; */\n if (message.patId)\n PatId.internalBinaryWrite(message.patId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.RevokePatRequest\n */\nexport const RevokePatRequest = new RevokePatRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RevokePatResponse$Type extends MessageType<RevokePatResponse> {\n constructor() {\n super(\"sid.v1.machine.RevokePatResponse\", []);\n }\n create(value?: PartialMessage<RevokePatResponse>): RevokePatResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<RevokePatResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RevokePatResponse): RevokePatResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: RevokePatResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.RevokePatResponse\n */\nexport const RevokePatResponse = new RevokePatResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExchangePatRequest$Type extends MessageType<ExchangePatRequest> {\n constructor() {\n super(\"sid.v1.machine.ExchangePatRequest\", [\n { no: 1, name: \"token\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"scope\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ExchangePatRequest>): ExchangePatRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.token = \"\";\n message.scope = \"\";\n if (value !== undefined)\n reflectionMergePartial<ExchangePatRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExchangePatRequest): ExchangePatRequest {\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 token */ 1:\n message.token = reader.string();\n break;\n case /* string scope */ 2:\n message.scope = 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: ExchangePatRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string token = 1; */\n if (message.token !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.token);\n /* string scope = 2; */\n if (message.scope !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.scope);\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.machine.ExchangePatRequest\n */\nexport const ExchangePatRequest = new ExchangePatRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExchangePatResponse$Type extends MessageType<ExchangePatResponse> {\n constructor() {\n super(\"sid.v1.machine.ExchangePatResponse\", [\n { no: 1, name: \"access_token\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"token_type\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"expires_in\", kind: \"scalar\", T: 5 /*ScalarType.INT32*/ },\n { no: 4, name: \"scope\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ExchangePatResponse>): ExchangePatResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.accessToken = \"\";\n message.tokenType = \"\";\n message.expiresIn = 0;\n message.scope = \"\";\n if (value !== undefined)\n reflectionMergePartial<ExchangePatResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExchangePatResponse): ExchangePatResponse {\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 access_token */ 1:\n message.accessToken = reader.string();\n break;\n case /* string token_type */ 2:\n message.tokenType = reader.string();\n break;\n case /* int32 expires_in */ 3:\n message.expiresIn = reader.int32();\n break;\n case /* string scope */ 4:\n message.scope = 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: ExchangePatResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string access_token = 1; */\n if (message.accessToken !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.accessToken);\n /* string token_type = 2; */\n if (message.tokenType !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.tokenType);\n /* int32 expires_in = 3; */\n if (message.expiresIn !== 0)\n writer.tag(3, WireType.Varint).int32(message.expiresIn);\n /* string scope = 4; */\n if (message.scope !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.scope);\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.machine.ExchangePatResponse\n */\nexport const ExchangePatResponse = new ExchangePatResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListAllPatsRequest$Type extends MessageType<ListAllPatsRequest> {\n constructor() {\n super(\"sid.v1.machine.ListAllPatsRequest\", []);\n }\n create(value?: PartialMessage<ListAllPatsRequest>): ListAllPatsRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ListAllPatsRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListAllPatsRequest): ListAllPatsRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ListAllPatsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.ListAllPatsRequest\n */\nexport const ListAllPatsRequest = new ListAllPatsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListAllPatsResponse$Type extends MessageType<ListAllPatsResponse> {\n constructor() {\n super(\"sid.v1.machine.ListAllPatsResponse\", [\n { no: 1, name: \"pats\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Pat }\n ]);\n }\n create(value?: PartialMessage<ListAllPatsResponse>): ListAllPatsResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.pats = [];\n if (value !== undefined)\n reflectionMergePartial<ListAllPatsResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListAllPatsResponse): ListAllPatsResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated sid.v1.machine.Pat pats */ 1:\n message.pats.push(Pat.internalBinaryRead(reader, reader.uint32(), 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 internalBinaryWrite(message: ListAllPatsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated sid.v1.machine.Pat pats = 1; */\n for (let i = 0; i < message.pats.length; i++)\n Pat.internalBinaryWrite(message.pats[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.ListAllPatsResponse\n */\nexport const ListAllPatsResponse = new ListAllPatsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass AdminRevokePatRequest$Type extends MessageType<AdminRevokePatRequest> {\n constructor() {\n super(\"sid.v1.machine.AdminRevokePatRequest\", [\n { no: 1, name: \"pat_id\", kind: \"message\", T: () => PatId }\n ]);\n }\n create(value?: PartialMessage<AdminRevokePatRequest>): AdminRevokePatRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<AdminRevokePatRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AdminRevokePatRequest): AdminRevokePatRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.PatId pat_id */ 1:\n message.patId = PatId.internalBinaryRead(reader, reader.uint32(), options, message.patId);\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: AdminRevokePatRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.PatId pat_id = 1; */\n if (message.patId)\n PatId.internalBinaryWrite(message.patId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.AdminRevokePatRequest\n */\nexport const AdminRevokePatRequest = new AdminRevokePatRequest$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.machine.PatService\n */\nexport const PatService = new ServiceType(\"sid.v1.machine.PatService\", [\n { name: \"CreatePat\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/pats\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: CreatePatRequest, O: CreatePatResponse },\n { name: \"ListPats\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/pats\" } }, I: ListPatsRequest, O: ListPatsResponse },\n { name: \"GetPat\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/pats/{pat_id.value}\" } }, I: GetPatRequest, O: PatResponse },\n { name: \"RevokePat\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { delete: \"/v1/pats/{pat_id.value}\" }, \"sid.v1.common.retry\": { natural: \"a revoked token is never reactivated: a repeat finds it revoked and answers as the first\" } }, I: RevokePatRequest, O: RevokePatResponse },\n { name: \"ExchangePat\", options: { \"google.api.http\": { post: \"/v1/pats/exchange\", body: \"*\" }, \"sid.v1.common.retry\": { ceremony: \"RFC 8693 \\u00A72: each exchange issues its own short-lived access token from the presented token; an issued token is never replayed from a record\" } }, I: ExchangePatRequest, O: ExchangePatResponse },\n { name: \"ListAllPats\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/admin/pats\" } }, I: ListAllPatsRequest, O: ListAllPatsResponse },\n { name: \"AdminRevokePat\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { delete: \"/v1/admin/pats/{pat_id.value}\" }, \"sid.v1.common.retry\": { natural: \"a revoked token is never reactivated: a repeat finds it revoked and answers as the first\" } }, I: AdminRevokePatRequest, O: RevokePatResponse }\n]);\n"]}
|
|
1
|
+
{"version":3,"file":"pat.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/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,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/machine/pat.proto\" (package \"sid.v1.machine\", 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\";\nimport { ProfileId } from \"../ids/ids.js\";\nimport { PatId } from \"../ids/ids.js\";\n/**\n * PAT metadata (returned in responses — NEVER includes token plaintext).\n *\n * @generated from protobuf message sid.v1.machine.Pat\n */\nexport interface Pat {\n /**\n * @generated from protobuf field: sid.v1.ids.PatId id = 1\n */\n id?: PatId;\n /**\n * Profile the token acts for.\n *\n * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 2\n */\n profileId?: ProfileId;\n /**\n * @generated from protobuf field: string name = 3\n */\n name: string;\n /**\n * @generated from protobuf field: string description = 4\n */\n description: string;\n /**\n * @generated from protobuf field: string token_prefix = 5\n */\n tokenPrefix: string; // \"sid_pat_XXXXXXXX\" for identification.\n /**\n * @generated from protobuf field: repeated string scopes = 6\n */\n scopes: string[];\n /**\n * @generated from protobuf field: sid.v1.machine.PatStatus status = 7\n */\n status: PatStatus;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp created_at = 8\n */\n createdAt?: Timestamp;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 9\n */\n expiresAt?: Timestamp;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp last_used_at = 10\n */\n lastUsedAt?: Timestamp;\n /**\n * @generated from protobuf field: string last_used_ip = 11\n */\n lastUsedIp: string;\n /**\n * @generated from protobuf field: uint64 use_count = 12\n */\n useCount: bigint;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp revoked_at = 13\n */\n revokedAt?: Timestamp;\n /**\n * @generated from protobuf field: string revoked_by = 14\n */\n revokedBy: string;\n}\n// ── User-facing CRUD messages ──\n\n/**\n * @generated from protobuf message sid.v1.machine.CreatePatRequest\n */\nexport interface CreatePatRequest {\n /**\n * @generated from protobuf field: string name = 1\n */\n name: string;\n /**\n * @generated from protobuf field: repeated string scopes = 2\n */\n scopes: string[];\n /**\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 3\n */\n expiresAt?: Timestamp;\n /**\n * @generated from protobuf field: string description = 4\n */\n description: string;\n /**\n * @generated from protobuf field: repeated string ip_allowlist = 5\n */\n ipAllowlist: string[]; // Client addresses the token is restricted to.\n}\n/**\n * @generated from protobuf message sid.v1.machine.CreatePatResponse\n */\nexport interface CreatePatResponse {\n /**\n * @generated from protobuf field: sid.v1.ids.PatId pat_id = 1\n */\n patId?: PatId;\n /**\n * @generated from protobuf field: string token = 2\n */\n token: string; // Plaintext — shown ONCE, never stored.\n /**\n * @generated from protobuf field: string token_prefix = 3\n */\n tokenPrefix: string;\n /**\n * @generated from protobuf field: sid.v1.machine.Pat metadata = 4\n */\n metadata?: Pat;\n}\n/**\n * @generated from protobuf message sid.v1.machine.ListPatsRequest\n */\nexport interface ListPatsRequest {\n}\n/**\n * @generated from protobuf message sid.v1.machine.ListPatsResponse\n */\nexport interface ListPatsResponse {\n /**\n * @generated from protobuf field: repeated sid.v1.machine.Pat pats = 1\n */\n pats: Pat[];\n}\n/**\n * @generated from protobuf message sid.v1.machine.GetPatRequest\n */\nexport interface GetPatRequest {\n /**\n * @generated from protobuf field: sid.v1.ids.PatId pat_id = 1\n */\n patId?: PatId;\n}\n/**\n * @generated from protobuf message sid.v1.machine.PatResponse\n */\nexport interface PatResponse {\n /**\n * @generated from protobuf field: sid.v1.machine.Pat pat = 1\n */\n pat?: Pat;\n}\n/**\n * @generated from protobuf message sid.v1.machine.RevokePatRequest\n */\nexport interface RevokePatRequest {\n /**\n * @generated from protobuf field: sid.v1.ids.PatId pat_id = 1\n */\n patId?: PatId;\n}\n/**\n * @generated from protobuf message sid.v1.machine.RevokePatResponse\n */\nexport interface RevokePatResponse {\n}\n// ── Token exchange messages ──\n\n/**\n * @generated from protobuf message sid.v1.machine.ExchangePatRequest\n */\nexport interface ExchangePatRequest {\n /**\n * @generated from protobuf field: string token = 1\n */\n token: string; // Opaque PAT value.\n /**\n * @generated from protobuf field: string scope = 2\n */\n scope: string; // Optional: space-separated requested scopes (must be ⊆ PAT scopes).\n}\n/**\n * @generated from protobuf message sid.v1.machine.ExchangePatResponse\n */\nexport interface ExchangePatResponse {\n /**\n * @generated from protobuf field: string access_token = 1\n */\n accessToken: string; // Short-lived JWT (5 min).\n /**\n * @generated from protobuf field: string token_type = 2\n */\n tokenType: string; // \"Bearer\".\n /**\n * @generated from protobuf field: int32 expires_in = 3\n */\n expiresIn: number; // 300.\n /**\n * @generated from protobuf field: string scope = 4\n */\n scope: string; // Space-separated scopes.\n}\n// ── Admin messages ──\n\n/**\n * @generated from protobuf message sid.v1.machine.ListAllPatsRequest\n */\nexport interface ListAllPatsRequest {\n}\n/**\n * @generated from protobuf message sid.v1.machine.ListAllPatsResponse\n */\nexport interface ListAllPatsResponse {\n /**\n * @generated from protobuf field: repeated sid.v1.machine.Pat pats = 1\n */\n pats: Pat[];\n}\n/**\n * @generated from protobuf message sid.v1.machine.AdminRevokePatRequest\n */\nexport interface AdminRevokePatRequest {\n /**\n * @generated from protobuf field: sid.v1.ids.PatId pat_id = 1\n */\n patId?: PatId;\n}\n/**\n * Status of a personal access token.\n *\n * @generated from protobuf enum sid.v1.machine.PatStatus\n */\nexport enum PatStatus {\n /**\n * @generated from protobuf enum value: PAT_STATUS_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * @generated from protobuf enum value: PAT_STATUS_ACTIVE = 1;\n */\n ACTIVE = 1,\n /**\n * @generated from protobuf enum value: PAT_STATUS_REVOKED = 2;\n */\n REVOKED = 2,\n /**\n * @generated from protobuf enum value: PAT_STATUS_EXPIRED = 3;\n */\n EXPIRED = 3\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Pat$Type extends MessageType<Pat> {\n constructor() {\n super(\"sid.v1.machine.Pat\", [\n { no: 1, name: \"id\", kind: \"message\", T: () => PatId },\n { no: 2, name: \"profile_id\", kind: \"message\", T: () => ProfileId },\n { no: 3, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"description\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"token_prefix\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"scopes\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },\n { no: 7, name: \"status\", kind: \"enum\", T: () => [\"sid.v1.machine.PatStatus\", PatStatus, \"PAT_STATUS_\"] },\n { no: 8, name: \"created_at\", kind: \"message\", T: () => Timestamp },\n { no: 9, name: \"expires_at\", kind: \"message\", T: () => Timestamp },\n { no: 10, name: \"last_used_at\", kind: \"message\", T: () => Timestamp },\n { no: 11, name: \"last_used_ip\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 12, name: \"use_count\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 13, name: \"revoked_at\", kind: \"message\", T: () => Timestamp },\n { no: 14, name: \"revoked_by\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<Pat>): Pat {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.description = \"\";\n message.tokenPrefix = \"\";\n message.scopes = [];\n message.status = 0;\n message.lastUsedIp = \"\";\n message.useCount = 0n;\n message.revokedBy = \"\";\n if (value !== undefined)\n reflectionMergePartial<Pat>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Pat): Pat {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.PatId id */ 1:\n message.id = PatId.internalBinaryRead(reader, reader.uint32(), options, message.id);\n break;\n case /* sid.v1.ids.ProfileId profile_id */ 2:\n message.profileId = ProfileId.internalBinaryRead(reader, reader.uint32(), options, message.profileId);\n break;\n case /* string name */ 3:\n message.name = reader.string();\n break;\n case /* string description */ 4:\n message.description = reader.string();\n break;\n case /* string token_prefix */ 5:\n message.tokenPrefix = reader.string();\n break;\n case /* repeated string scopes */ 6:\n message.scopes.push(reader.string());\n break;\n case /* sid.v1.machine.PatStatus status */ 7:\n message.status = reader.int32();\n break;\n case /* google.protobuf.Timestamp created_at */ 8:\n message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);\n break;\n case /* google.protobuf.Timestamp expires_at */ 9:\n message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);\n break;\n case /* google.protobuf.Timestamp last_used_at */ 10:\n message.lastUsedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.lastUsedAt);\n break;\n case /* string last_used_ip */ 11:\n message.lastUsedIp = reader.string();\n break;\n case /* uint64 use_count */ 12:\n message.useCount = reader.uint64().toBigInt();\n break;\n case /* google.protobuf.Timestamp revoked_at */ 13:\n message.revokedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.revokedAt);\n break;\n case /* string revoked_by */ 14:\n message.revokedBy = 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: Pat, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.PatId id = 1; */\n if (message.id)\n PatId.internalBinaryWrite(message.id, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.ids.ProfileId profile_id = 2; */\n if (message.profileId)\n ProfileId.internalBinaryWrite(message.profileId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n /* string name = 3; */\n if (message.name !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.name);\n /* string description = 4; */\n if (message.description !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.description);\n /* string token_prefix = 5; */\n if (message.tokenPrefix !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.tokenPrefix);\n /* repeated string scopes = 6; */\n for (let i = 0; i < message.scopes.length; i++)\n writer.tag(6, WireType.LengthDelimited).string(message.scopes[i]);\n /* sid.v1.machine.PatStatus status = 7; */\n if (message.status !== 0)\n writer.tag(7, WireType.Varint).int32(message.status);\n /* google.protobuf.Timestamp created_at = 8; */\n if (message.createdAt)\n Timestamp.internalBinaryWrite(message.createdAt, writer.tag(8, WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.Timestamp expires_at = 9; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(9, WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.Timestamp last_used_at = 10; */\n if (message.lastUsedAt)\n Timestamp.internalBinaryWrite(message.lastUsedAt, writer.tag(10, WireType.LengthDelimited).fork(), options).join();\n /* string last_used_ip = 11; */\n if (message.lastUsedIp !== \"\")\n writer.tag(11, WireType.LengthDelimited).string(message.lastUsedIp);\n /* uint64 use_count = 12; */\n if (message.useCount !== 0n)\n writer.tag(12, WireType.Varint).uint64(message.useCount);\n /* google.protobuf.Timestamp revoked_at = 13; */\n if (message.revokedAt)\n Timestamp.internalBinaryWrite(message.revokedAt, writer.tag(13, WireType.LengthDelimited).fork(), options).join();\n /* string revoked_by = 14; */\n if (message.revokedBy !== \"\")\n writer.tag(14, WireType.LengthDelimited).string(message.revokedBy);\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.machine.Pat\n */\nexport const Pat = new Pat$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CreatePatRequest$Type extends MessageType<CreatePatRequest> {\n constructor() {\n super(\"sid.v1.machine.CreatePatRequest\", [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"scopes\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"expires_at\", kind: \"message\", T: () => Timestamp },\n { no: 4, name: \"description\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"ip_allowlist\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<CreatePatRequest>): CreatePatRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.scopes = [];\n message.description = \"\";\n message.ipAllowlist = [];\n if (value !== undefined)\n reflectionMergePartial<CreatePatRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreatePatRequest): CreatePatRequest {\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 name */ 1:\n message.name = reader.string();\n break;\n case /* repeated string scopes */ 2:\n message.scopes.push(reader.string());\n break;\n case /* google.protobuf.Timestamp expires_at */ 3:\n message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);\n break;\n case /* string description */ 4:\n message.description = reader.string();\n break;\n case /* repeated string ip_allowlist */ 5:\n message.ipAllowlist.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: CreatePatRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string name = 1; */\n if (message.name !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.name);\n /* repeated string scopes = 2; */\n for (let i = 0; i < message.scopes.length; i++)\n writer.tag(2, WireType.LengthDelimited).string(message.scopes[i]);\n /* google.protobuf.Timestamp expires_at = 3; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n /* string description = 4; */\n if (message.description !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.description);\n /* repeated string ip_allowlist = 5; */\n for (let i = 0; i < message.ipAllowlist.length; i++)\n writer.tag(5, WireType.LengthDelimited).string(message.ipAllowlist[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.machine.CreatePatRequest\n */\nexport const CreatePatRequest = new CreatePatRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CreatePatResponse$Type extends MessageType<CreatePatResponse> {\n constructor() {\n super(\"sid.v1.machine.CreatePatResponse\", [\n { no: 1, name: \"pat_id\", kind: \"message\", T: () => PatId },\n { no: 2, name: \"token\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"token_prefix\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"metadata\", kind: \"message\", T: () => Pat }\n ]);\n }\n create(value?: PartialMessage<CreatePatResponse>): CreatePatResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.token = \"\";\n message.tokenPrefix = \"\";\n if (value !== undefined)\n reflectionMergePartial<CreatePatResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreatePatResponse): CreatePatResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.PatId pat_id */ 1:\n message.patId = PatId.internalBinaryRead(reader, reader.uint32(), options, message.patId);\n break;\n case /* string token */ 2:\n message.token = reader.string();\n break;\n case /* string token_prefix */ 3:\n message.tokenPrefix = reader.string();\n break;\n case /* sid.v1.machine.Pat metadata */ 4:\n message.metadata = Pat.internalBinaryRead(reader, reader.uint32(), options, message.metadata);\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: CreatePatResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.PatId pat_id = 1; */\n if (message.patId)\n PatId.internalBinaryWrite(message.patId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* string token = 2; */\n if (message.token !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.token);\n /* string token_prefix = 3; */\n if (message.tokenPrefix !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.tokenPrefix);\n /* sid.v1.machine.Pat metadata = 4; */\n if (message.metadata)\n Pat.internalBinaryWrite(message.metadata, writer.tag(4, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.CreatePatResponse\n */\nexport const CreatePatResponse = new CreatePatResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPatsRequest$Type extends MessageType<ListPatsRequest> {\n constructor() {\n super(\"sid.v1.machine.ListPatsRequest\", []);\n }\n create(value?: PartialMessage<ListPatsRequest>): ListPatsRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ListPatsRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListPatsRequest): ListPatsRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ListPatsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.ListPatsRequest\n */\nexport const ListPatsRequest = new ListPatsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPatsResponse$Type extends MessageType<ListPatsResponse> {\n constructor() {\n super(\"sid.v1.machine.ListPatsResponse\", [\n { no: 1, name: \"pats\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Pat }\n ]);\n }\n create(value?: PartialMessage<ListPatsResponse>): ListPatsResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.pats = [];\n if (value !== undefined)\n reflectionMergePartial<ListPatsResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListPatsResponse): ListPatsResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated sid.v1.machine.Pat pats */ 1:\n message.pats.push(Pat.internalBinaryRead(reader, reader.uint32(), 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 internalBinaryWrite(message: ListPatsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated sid.v1.machine.Pat pats = 1; */\n for (let i = 0; i < message.pats.length; i++)\n Pat.internalBinaryWrite(message.pats[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.ListPatsResponse\n */\nexport const ListPatsResponse = new ListPatsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetPatRequest$Type extends MessageType<GetPatRequest> {\n constructor() {\n super(\"sid.v1.machine.GetPatRequest\", [\n { no: 1, name: \"pat_id\", kind: \"message\", T: () => PatId }\n ]);\n }\n create(value?: PartialMessage<GetPatRequest>): GetPatRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<GetPatRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetPatRequest): GetPatRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.PatId pat_id */ 1:\n message.patId = PatId.internalBinaryRead(reader, reader.uint32(), options, message.patId);\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: GetPatRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.PatId pat_id = 1; */\n if (message.patId)\n PatId.internalBinaryWrite(message.patId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.GetPatRequest\n */\nexport const GetPatRequest = new GetPatRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PatResponse$Type extends MessageType<PatResponse> {\n constructor() {\n super(\"sid.v1.machine.PatResponse\", [\n { no: 1, name: \"pat\", kind: \"message\", T: () => Pat }\n ]);\n }\n create(value?: PartialMessage<PatResponse>): PatResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<PatResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PatResponse): PatResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.machine.Pat pat */ 1:\n message.pat = Pat.internalBinaryRead(reader, reader.uint32(), options, message.pat);\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: PatResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.machine.Pat pat = 1; */\n if (message.pat)\n Pat.internalBinaryWrite(message.pat, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.PatResponse\n */\nexport const PatResponse = new PatResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RevokePatRequest$Type extends MessageType<RevokePatRequest> {\n constructor() {\n super(\"sid.v1.machine.RevokePatRequest\", [\n { no: 1, name: \"pat_id\", kind: \"message\", T: () => PatId }\n ]);\n }\n create(value?: PartialMessage<RevokePatRequest>): RevokePatRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<RevokePatRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RevokePatRequest): RevokePatRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.PatId pat_id */ 1:\n message.patId = PatId.internalBinaryRead(reader, reader.uint32(), options, message.patId);\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: RevokePatRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.PatId pat_id = 1; */\n if (message.patId)\n PatId.internalBinaryWrite(message.patId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.RevokePatRequest\n */\nexport const RevokePatRequest = new RevokePatRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RevokePatResponse$Type extends MessageType<RevokePatResponse> {\n constructor() {\n super(\"sid.v1.machine.RevokePatResponse\", []);\n }\n create(value?: PartialMessage<RevokePatResponse>): RevokePatResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<RevokePatResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RevokePatResponse): RevokePatResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: RevokePatResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.RevokePatResponse\n */\nexport const RevokePatResponse = new RevokePatResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExchangePatRequest$Type extends MessageType<ExchangePatRequest> {\n constructor() {\n super(\"sid.v1.machine.ExchangePatRequest\", [\n { no: 1, name: \"token\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"scope\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ExchangePatRequest>): ExchangePatRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.token = \"\";\n message.scope = \"\";\n if (value !== undefined)\n reflectionMergePartial<ExchangePatRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExchangePatRequest): ExchangePatRequest {\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 token */ 1:\n message.token = reader.string();\n break;\n case /* string scope */ 2:\n message.scope = 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: ExchangePatRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string token = 1; */\n if (message.token !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.token);\n /* string scope = 2; */\n if (message.scope !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.scope);\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.machine.ExchangePatRequest\n */\nexport const ExchangePatRequest = new ExchangePatRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExchangePatResponse$Type extends MessageType<ExchangePatResponse> {\n constructor() {\n super(\"sid.v1.machine.ExchangePatResponse\", [\n { no: 1, name: \"access_token\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"token_type\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"expires_in\", kind: \"scalar\", T: 5 /*ScalarType.INT32*/ },\n { no: 4, name: \"scope\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ExchangePatResponse>): ExchangePatResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.accessToken = \"\";\n message.tokenType = \"\";\n message.expiresIn = 0;\n message.scope = \"\";\n if (value !== undefined)\n reflectionMergePartial<ExchangePatResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExchangePatResponse): ExchangePatResponse {\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 access_token */ 1:\n message.accessToken = reader.string();\n break;\n case /* string token_type */ 2:\n message.tokenType = reader.string();\n break;\n case /* int32 expires_in */ 3:\n message.expiresIn = reader.int32();\n break;\n case /* string scope */ 4:\n message.scope = 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: ExchangePatResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string access_token = 1; */\n if (message.accessToken !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.accessToken);\n /* string token_type = 2; */\n if (message.tokenType !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.tokenType);\n /* int32 expires_in = 3; */\n if (message.expiresIn !== 0)\n writer.tag(3, WireType.Varint).int32(message.expiresIn);\n /* string scope = 4; */\n if (message.scope !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.scope);\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.machine.ExchangePatResponse\n */\nexport const ExchangePatResponse = new ExchangePatResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListAllPatsRequest$Type extends MessageType<ListAllPatsRequest> {\n constructor() {\n super(\"sid.v1.machine.ListAllPatsRequest\", []);\n }\n create(value?: PartialMessage<ListAllPatsRequest>): ListAllPatsRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ListAllPatsRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListAllPatsRequest): ListAllPatsRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ListAllPatsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.ListAllPatsRequest\n */\nexport const ListAllPatsRequest = new ListAllPatsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListAllPatsResponse$Type extends MessageType<ListAllPatsResponse> {\n constructor() {\n super(\"sid.v1.machine.ListAllPatsResponse\", [\n { no: 1, name: \"pats\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Pat }\n ]);\n }\n create(value?: PartialMessage<ListAllPatsResponse>): ListAllPatsResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.pats = [];\n if (value !== undefined)\n reflectionMergePartial<ListAllPatsResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListAllPatsResponse): ListAllPatsResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated sid.v1.machine.Pat pats */ 1:\n message.pats.push(Pat.internalBinaryRead(reader, reader.uint32(), 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 internalBinaryWrite(message: ListAllPatsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated sid.v1.machine.Pat pats = 1; */\n for (let i = 0; i < message.pats.length; i++)\n Pat.internalBinaryWrite(message.pats[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.ListAllPatsResponse\n */\nexport const ListAllPatsResponse = new ListAllPatsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass AdminRevokePatRequest$Type extends MessageType<AdminRevokePatRequest> {\n constructor() {\n super(\"sid.v1.machine.AdminRevokePatRequest\", [\n { no: 1, name: \"pat_id\", kind: \"message\", T: () => PatId }\n ]);\n }\n create(value?: PartialMessage<AdminRevokePatRequest>): AdminRevokePatRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<AdminRevokePatRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AdminRevokePatRequest): AdminRevokePatRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.ids.PatId pat_id */ 1:\n message.patId = PatId.internalBinaryRead(reader, reader.uint32(), options, message.patId);\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: AdminRevokePatRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.PatId pat_id = 1; */\n if (message.patId)\n PatId.internalBinaryWrite(message.patId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.machine.AdminRevokePatRequest\n */\nexport const AdminRevokePatRequest = new AdminRevokePatRequest$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.machine.PatService\n */\nexport const PatService = new ServiceType(\"sid.v1.machine.PatService\", [\n { name: \"CreatePat\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/pats\", body: \"*\" }, \"sid.v1.common.access\": { protected: { credentials: [\"CREDENTIAL_KIND_OWN_SESSION\"] } }, \"sid.v1.common.retry\": { keyed: true } }, I: CreatePatRequest, O: CreatePatResponse },\n { name: \"ListPats\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/pats\" }, \"sid.v1.common.access\": { protected: { credentials: [\"CREDENTIAL_KIND_OWN_SESSION\"] } } }, I: ListPatsRequest, O: ListPatsResponse },\n { name: \"GetPat\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/pats/{pat_id.value}\" }, \"sid.v1.common.access\": { protected: { credentials: [\"CREDENTIAL_KIND_OWN_SESSION\"] } } }, I: GetPatRequest, O: PatResponse },\n { name: \"RevokePat\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { delete: \"/v1/pats/{pat_id.value}\" }, \"sid.v1.common.access\": { protected: { credentials: [\"CREDENTIAL_KIND_OWN_SESSION\"] } }, \"sid.v1.common.retry\": { natural: \"a revoked token is never reactivated: a repeat finds it revoked and answers as the first\" } }, I: RevokePatRequest, O: RevokePatResponse },\n { name: \"ExchangePat\", options: { \"google.api.http\": { post: \"/v1/pats/exchange\", body: \"*\" }, \"sid.v1.common.access\": { open: \"the exchange-only token presented in the request authenticates the exchange\" }, \"sid.v1.common.retry\": { ceremony: \"RFC 8693 \\u00A72: each exchange issues its own short-lived access token from the presented token; an issued token is never replayed from a record\" } }, I: ExchangePatRequest, O: ExchangePatResponse },\n { name: \"ListAllPats\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/admin/pats\" }, \"sid.v1.common.access\": { protected: { credentials: [\"CREDENTIAL_KIND_OWN_SESSION\"] } } }, I: ListAllPatsRequest, O: ListAllPatsResponse },\n { name: \"AdminRevokePat\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { delete: \"/v1/admin/pats/{pat_id.value}\" }, \"sid.v1.common.access\": { protected: { credentials: [\"CREDENTIAL_KIND_OWN_SESSION\"] } }, \"sid.v1.common.retry\": { natural: \"a revoked token is never reactivated: a repeat finds it revoked and answers as the first\" } }, I: AdminRevokePatRequest, O: RevokePatResponse }\n]);\n"]}
|
|
@@ -541,6 +541,25 @@ export interface ClientRoleSettings {
|
|
|
541
541
|
* @generated from protobuf field: repeated string post_logout_redirect_uris = 6
|
|
542
542
|
*/
|
|
543
543
|
postLogoutRedirectUris: string[];
|
|
544
|
+
/**
|
|
545
|
+
* For a client that is another organization's SID federation site: that
|
|
546
|
+
* site's signed admission statement exactly as its FederationSiteService
|
|
547
|
+
* .SignSiteAdmission returned it (SiteAdmission.statement: a General JSON
|
|
548
|
+
* JWS of type `sid-login-admission+jws` carrying the site's participant
|
|
549
|
+
* certificate and path). The installation verifies it under its platform
|
|
550
|
+
* CA set and status
|
|
551
|
+
* policy before anything is created: the client's organization is the
|
|
552
|
+
* authenticated participant organization, and its single redirect URI is
|
|
553
|
+
* derived from the site's admitted endpoint mount and the shared
|
|
554
|
+
* federation callback route. So `redirect_uris` is left empty, the
|
|
555
|
+
* request's `org_id` is absent or names that same organization, and the
|
|
556
|
+
* type is web; otherwise INVALID_ARGUMENT, field `participant_admission`,
|
|
557
|
+
* and nothing is created. A statement that does not verify is refused the
|
|
558
|
+
* same way. Each site of an organization is its own client.
|
|
559
|
+
*
|
|
560
|
+
* @generated from protobuf field: optional bytes participant_admission = 7
|
|
561
|
+
*/
|
|
562
|
+
participantAdmission?: Uint8Array;
|
|
544
563
|
}
|
|
545
564
|
/**
|
|
546
565
|
* A list of URIs, set as a whole by an update.
|
|
@@ -600,8 +619,9 @@ export interface CreateApplicationRequest {
|
|
|
600
619
|
*/
|
|
601
620
|
resource?: ResourceRoleSettings;
|
|
602
621
|
/**
|
|
603
|
-
* Recipient organization. Absent means the installation's organization
|
|
604
|
-
*
|
|
622
|
+
* Recipient organization. Absent means the installation's organization,
|
|
623
|
+
* or, for a client with `participant_admission`, the organization that
|
|
624
|
+
* statement authenticates. Naming any other organization is refused.
|
|
605
625
|
*
|
|
606
626
|
* @generated from protobuf field: sid.v1.ids.OrgId org_id = 5
|
|
607
627
|
*/
|
|
@@ -713,6 +733,10 @@ export interface UpdateClientRoleRequest {
|
|
|
713
733
|
*/
|
|
714
734
|
name?: string;
|
|
715
735
|
/**
|
|
736
|
+
* Replaces the redirect URIs when given. A client registered from a
|
|
737
|
+
* federation site's admission has the one URI derived from that site's
|
|
738
|
+
* mount: replacing it is INVALID_ARGUMENT, field `redirect_uris`.
|
|
739
|
+
*
|
|
716
740
|
* @generated from protobuf field: repeated string redirect_uris = 3
|
|
717
741
|
*/
|
|
718
742
|
redirectUris: string[];
|
|
@@ -989,7 +1013,8 @@ export interface RegisterClientRequest {
|
|
|
989
1013
|
scope: string[];
|
|
990
1014
|
/**
|
|
991
1015
|
* Handle of the OIDC issuer the client registers under, the `<handle>` of
|
|
992
|
-
* `https://<host>/i/<handle
|
|
1016
|
+
* `https://<host>/i/<handle>`; empty names the installation's
|
|
1017
|
+
* root-addressed base issuer. The client belongs to the organization this
|
|
993
1018
|
* issuer serves, and its registration access token manages it only under
|
|
994
1019
|
* this issuer. An unknown handle is NOT_FOUND (OIDC_ISSUER_NOT_FOUND).
|
|
995
1020
|
*
|
|
@@ -1048,9 +1073,10 @@ export interface GetRegisteredClientRequest {
|
|
|
1048
1073
|
*/
|
|
1049
1074
|
clientId: string;
|
|
1050
1075
|
/**
|
|
1051
|
-
* Handle of the issuer the client is registered under
|
|
1052
|
-
*
|
|
1053
|
-
*
|
|
1076
|
+
* Handle of the issuer the client is registered under; empty names the
|
|
1077
|
+
* installation's root-addressed base issuer. A client of another issuer,
|
|
1078
|
+
* or none, is refused exactly like an invalid registration access token
|
|
1079
|
+
* (RFC 7592 §2.1).
|
|
1054
1080
|
*
|
|
1055
1081
|
* @generated from protobuf field: string issuer_handle = 2
|
|
1056
1082
|
*/
|