@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
|
@@ -51,6 +51,9 @@ export class EnrollmentServiceClient {
|
|
|
51
51
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
52
52
|
}
|
|
53
53
|
// ── Invite Management ──
|
|
54
|
+
//
|
|
55
|
+
// An administrator in their own session, or a machine with its own token
|
|
56
|
+
// for the enrollment API carrying the action as scope and holding it there.
|
|
54
57
|
/**
|
|
55
58
|
* Create a new invite code.
|
|
56
59
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enrollment.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/admin/enrollment.client.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AAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACrI,CAAC;IACD;;;;OAIG;IACH,YAAY,CAAC,KAA0B,EAAE,OAAoB;QACzD,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAA6B,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACpG,CAAC;IACD;;;;OAIG;IACH,iBAAiB,CAAC,KAA+B,EAAE,OAAoB;QACnE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAsD,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC7H,CAAC;IACD,+BAA+B;IAE/B;;;;OAIG;IACH,oBAAoB,CAAC,KAAkC,EAAE,OAAoB;QACzE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAiD,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACxH,CAAC;CACJ","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/admin/enrollment.proto\" (package \"sid.v1.admin\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { EnrollmentService } from \"./enrollment.js\";\nimport type { RegistrationStats } from \"./enrollment.js\";\nimport type { GetRegistrationStatsRequest } from \"./enrollment.js\";\nimport type { BulkCreateInvitesResponse } from \"./enrollment.js\";\nimport type { BulkCreateInvitesRequest } from \"./enrollment.js\";\nimport type { RevokeInviteRequest } from \"./enrollment.js\";\nimport type { ListInviteRedemptionsResponse } from \"./enrollment.js\";\nimport type { ListInviteRedemptionsRequest } from \"./enrollment.js\";\nimport type { GetInviteRequest } from \"./enrollment.js\";\nimport type { ListInvitesResponse } from \"./enrollment.js\";\nimport type { ListInvitesRequest } from \"./enrollment.js\";\nimport type { Invite } from \"./enrollment.js\";\nimport type { CreateInviteRequest } from \"./enrollment.js\";\nimport type { UpdateEnrollmentPolicyRequest } from \"./enrollment.js\";\nimport type { InstanceStatus } from \"./enrollment.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { EnrollmentPolicy } from \"./enrollment.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * EnrollmentService manages registration gating policies, invite codes,\n * and registration source analytics.\n *\n * ── Enrollment Policy ──\n *\n * @generated from protobuf service sid.v1.admin.EnrollmentService\n */\nexport interface IEnrollmentServiceClient {\n /**\n * The enrollment policy in force: the stored one, else the defaults, with\n * the mode the deployment pins.\n *\n * @generated from protobuf rpc: GetEnrollmentPolicy\n */\n getEnrollmentPolicy(input: Empty, options?: RpcOptions): UnaryCall<Empty, EnrollmentPolicy>;\n /**\n * Whether the installation offers a local administrator claim, and whether\n * it was taken. Public: while the claim is open, the registration page asks\n * for the claim token.\n *\n * @generated from protobuf rpc: GetInstanceStatus\n */\n getInstanceStatus(input: Empty, options?: RpcOptions): UnaryCall<Empty, InstanceStatus>;\n /**\n * Replace the stored enrollment policy (mode, domains, invite defaults,\n * tracking); returns the policy in force. Administrators only. Refused with\n * FAILED_PRECONDITION when it changes a mode the deployment pins, and with\n * INVALID_ARGUMENT for a domain-restricted policy without a domain or an\n * allowed domain that is no domain name.\n *\n * @generated from protobuf rpc: UpdateEnrollmentPolicy\n */\n updateEnrollmentPolicy(input: UpdateEnrollmentPolicyRequest, options?: RpcOptions): UnaryCall<UpdateEnrollmentPolicyRequest, EnrollmentPolicy>;\n // ── Invite Management ──\n\n /**\n * Create a new invite code.\n *\n * @generated from protobuf rpc: CreateInvite\n */\n createInvite(input: CreateInviteRequest, options?: RpcOptions): UnaryCall<CreateInviteRequest, Invite>;\n /**\n * List invite codes (paginated, filterable by status).\n *\n * @generated from protobuf rpc: ListInvites\n */\n listInvites(input: ListInvitesRequest, options?: RpcOptions): UnaryCall<ListInvitesRequest, ListInvitesResponse>;\n /**\n * One invite. NOT_FOUND for an unknown id.\n *\n * @generated from protobuf rpc: GetInvite\n */\n getInvite(input: GetInviteRequest, options?: RpcOptions): UnaryCall<GetInviteRequest, Invite>;\n /**\n * The registrations that used an invite, oldest first, a page at a time.\n * NOT_FOUND for an unknown invite.\n *\n * @generated from protobuf rpc: ListInviteRedemptions\n */\n listInviteRedemptions(input: ListInviteRedemptionsRequest, options?: RpcOptions): UnaryCall<ListInviteRedemptionsRequest, ListInviteRedemptionsResponse>;\n /**\n * Revoke an invite code (deactivate, cannot be used anymore).\n *\n * @generated from protobuf rpc: RevokeInvite\n */\n revokeInvite(input: RevokeInviteRequest, options?: RpcOptions): UnaryCall<RevokeInviteRequest, Empty>;\n /**\n * Bulk-generate invite codes.\n *\n * @generated from protobuf rpc: BulkCreateInvites\n */\n bulkCreateInvites(input: BulkCreateInvitesRequest, options?: RpcOptions): UnaryCall<BulkCreateInvitesRequest, BulkCreateInvitesResponse>;\n // ── Registration Analytics ──\n\n /**\n * Get registration statistics by source type for a given period.\n *\n * @generated from protobuf rpc: GetRegistrationStats\n */\n getRegistrationStats(input: GetRegistrationStatsRequest, options?: RpcOptions): UnaryCall<GetRegistrationStatsRequest, RegistrationStats>;\n}\n/**\n * EnrollmentService manages registration gating policies, invite codes,\n * and registration source analytics.\n *\n * ── Enrollment Policy ──\n *\n * @generated from protobuf service sid.v1.admin.EnrollmentService\n */\nexport class EnrollmentServiceClient implements IEnrollmentServiceClient, ServiceInfo {\n typeName = EnrollmentService.typeName;\n methods = EnrollmentService.methods;\n options = EnrollmentService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * The enrollment policy in force: the stored one, else the defaults, with\n * the mode the deployment pins.\n *\n * @generated from protobuf rpc: GetEnrollmentPolicy\n */\n getEnrollmentPolicy(input: Empty, options?: RpcOptions): UnaryCall<Empty, EnrollmentPolicy> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, EnrollmentPolicy>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Whether the installation offers a local administrator claim, and whether\n * it was taken. Public: while the claim is open, the registration page asks\n * for the claim token.\n *\n * @generated from protobuf rpc: GetInstanceStatus\n */\n getInstanceStatus(input: Empty, options?: RpcOptions): UnaryCall<Empty, InstanceStatus> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, InstanceStatus>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Replace the stored enrollment policy (mode, domains, invite defaults,\n * tracking); returns the policy in force. Administrators only. Refused with\n * FAILED_PRECONDITION when it changes a mode the deployment pins, and with\n * INVALID_ARGUMENT for a domain-restricted policy without a domain or an\n * allowed domain that is no domain name.\n *\n * @generated from protobuf rpc: UpdateEnrollmentPolicy\n */\n updateEnrollmentPolicy(input: UpdateEnrollmentPolicyRequest, options?: RpcOptions): UnaryCall<UpdateEnrollmentPolicyRequest, EnrollmentPolicy> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateEnrollmentPolicyRequest, EnrollmentPolicy>(\"unary\", this._transport, method, opt, input);\n }\n // ── Invite Management ──\n\n /**\n * Create a new invite code.\n *\n * @generated from protobuf rpc: CreateInvite\n */\n createInvite(input: CreateInviteRequest, options?: RpcOptions): UnaryCall<CreateInviteRequest, Invite> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<CreateInviteRequest, Invite>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * List invite codes (paginated, filterable by status).\n *\n * @generated from protobuf rpc: ListInvites\n */\n listInvites(input: ListInvitesRequest, options?: RpcOptions): UnaryCall<ListInvitesRequest, ListInvitesResponse> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListInvitesRequest, ListInvitesResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * One invite. NOT_FOUND for an unknown id.\n *\n * @generated from protobuf rpc: GetInvite\n */\n getInvite(input: GetInviteRequest, options?: RpcOptions): UnaryCall<GetInviteRequest, Invite> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetInviteRequest, Invite>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * The registrations that used an invite, oldest first, a page at a time.\n * NOT_FOUND for an unknown invite.\n *\n * @generated from protobuf rpc: ListInviteRedemptions\n */\n listInviteRedemptions(input: ListInviteRedemptionsRequest, options?: RpcOptions): UnaryCall<ListInviteRedemptionsRequest, ListInviteRedemptionsResponse> {\n const method = this.methods[6], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListInviteRedemptionsRequest, ListInviteRedemptionsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Revoke an invite code (deactivate, cannot be used anymore).\n *\n * @generated from protobuf rpc: RevokeInvite\n */\n revokeInvite(input: RevokeInviteRequest, options?: RpcOptions): UnaryCall<RevokeInviteRequest, Empty> {\n const method = this.methods[7], opt = this._transport.mergeOptions(options);\n return stackIntercept<RevokeInviteRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Bulk-generate invite codes.\n *\n * @generated from protobuf rpc: BulkCreateInvites\n */\n bulkCreateInvites(input: BulkCreateInvitesRequest, options?: RpcOptions): UnaryCall<BulkCreateInvitesRequest, BulkCreateInvitesResponse> {\n const method = this.methods[8], opt = this._transport.mergeOptions(options);\n return stackIntercept<BulkCreateInvitesRequest, BulkCreateInvitesResponse>(\"unary\", this._transport, method, opt, input);\n }\n // ── Registration Analytics ──\n\n /**\n * Get registration statistics by source type for a given period.\n *\n * @generated from protobuf rpc: GetRegistrationStats\n */\n getRegistrationStats(input: GetRegistrationStatsRequest, options?: RpcOptions): UnaryCall<GetRegistrationStatsRequest, RegistrationStats> {\n const method = this.methods[9], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetRegistrationStatsRequest, RegistrationStats>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"enrollment.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/admin/enrollment.client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAepD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AA0F1D;;;;;;;GAOG;AACH,MAAM,OAAO,uBAAuB;IAIH;IAH7B,QAAQ,GAAG,iBAAiB,CAAC,QAAQ,CAAC;IACtC,OAAO,GAAG,iBAAiB,CAAC,OAAO,CAAC;IACpC,OAAO,GAAG,iBAAiB,CAAC,OAAO,CAAC;IACpC,YAA6B,UAAwB;QAAxB,eAAU,GAAV,UAAU,CAAc;IACrD,CAAC;IACD;;;;;OAKG;IACH,mBAAmB,CAAC,KAAY,EAAE,OAAoB;QAClD,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAA0B,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACjG,CAAC;IACD;;;;;;OAMG;IACH,iBAAiB,CAAC,KAAY,EAAE,OAAoB;QAChD,MAAM,MAAM,GA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,EAAE,OAAoB;QACzE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAiD,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACxH,CAAC;CACJ","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/admin/enrollment.proto\" (package \"sid.v1.admin\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { EnrollmentService } from \"./enrollment.js\";\nimport type { RegistrationStats } from \"./enrollment.js\";\nimport type { GetRegistrationStatsRequest } from \"./enrollment.js\";\nimport type { BulkCreateInvitesResponse } from \"./enrollment.js\";\nimport type { BulkCreateInvitesRequest } from \"./enrollment.js\";\nimport type { RevokeInviteRequest } from \"./enrollment.js\";\nimport type { ListInviteRedemptionsResponse } from \"./enrollment.js\";\nimport type { ListInviteRedemptionsRequest } from \"./enrollment.js\";\nimport type { GetInviteRequest } from \"./enrollment.js\";\nimport type { ListInvitesResponse } from \"./enrollment.js\";\nimport type { ListInvitesRequest } from \"./enrollment.js\";\nimport type { Invite } from \"./enrollment.js\";\nimport type { CreateInviteRequest } from \"./enrollment.js\";\nimport type { UpdateEnrollmentPolicyRequest } from \"./enrollment.js\";\nimport type { InstanceStatus } from \"./enrollment.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { EnrollmentPolicy } from \"./enrollment.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * EnrollmentService manages registration gating policies, invite codes,\n * and registration source analytics.\n *\n * ── Enrollment Policy ──\n *\n * @generated from protobuf service sid.v1.admin.EnrollmentService\n */\nexport interface IEnrollmentServiceClient {\n /**\n * The enrollment policy in force: the stored one, else the defaults, with\n * the mode the deployment pins.\n *\n * @generated from protobuf rpc: GetEnrollmentPolicy\n */\n getEnrollmentPolicy(input: Empty, options?: RpcOptions): UnaryCall<Empty, EnrollmentPolicy>;\n /**\n * Whether the installation offers a local administrator claim, and whether\n * it was taken. Public: while the claim is open, the registration page asks\n * for the claim token.\n *\n * @generated from protobuf rpc: GetInstanceStatus\n */\n getInstanceStatus(input: Empty, options?: RpcOptions): UnaryCall<Empty, InstanceStatus>;\n /**\n * Replace the stored enrollment policy (mode, domains, invite defaults,\n * tracking); returns the policy in force. Administrators only. Refused with\n * FAILED_PRECONDITION when it changes a mode the deployment pins, and with\n * INVALID_ARGUMENT for a domain-restricted policy without a domain or an\n * allowed domain that is no domain name.\n *\n * @generated from protobuf rpc: UpdateEnrollmentPolicy\n */\n updateEnrollmentPolicy(input: UpdateEnrollmentPolicyRequest, options?: RpcOptions): UnaryCall<UpdateEnrollmentPolicyRequest, EnrollmentPolicy>;\n // ── Invite Management ──\n // \n // An administrator in their own session, or a machine with its own token\n // for the enrollment API carrying the action as scope and holding it there.\n\n /**\n * Create a new invite code.\n *\n * @generated from protobuf rpc: CreateInvite\n */\n createInvite(input: CreateInviteRequest, options?: RpcOptions): UnaryCall<CreateInviteRequest, Invite>;\n /**\n * List invite codes (paginated, filterable by status).\n *\n * @generated from protobuf rpc: ListInvites\n */\n listInvites(input: ListInvitesRequest, options?: RpcOptions): UnaryCall<ListInvitesRequest, ListInvitesResponse>;\n /**\n * One invite. NOT_FOUND for an unknown id.\n *\n * @generated from protobuf rpc: GetInvite\n */\n getInvite(input: GetInviteRequest, options?: RpcOptions): UnaryCall<GetInviteRequest, Invite>;\n /**\n * The registrations that used an invite, oldest first, a page at a time.\n * NOT_FOUND for an unknown invite.\n *\n * @generated from protobuf rpc: ListInviteRedemptions\n */\n listInviteRedemptions(input: ListInviteRedemptionsRequest, options?: RpcOptions): UnaryCall<ListInviteRedemptionsRequest, ListInviteRedemptionsResponse>;\n /**\n * Revoke an invite code (deactivate, cannot be used anymore).\n *\n * @generated from protobuf rpc: RevokeInvite\n */\n revokeInvite(input: RevokeInviteRequest, options?: RpcOptions): UnaryCall<RevokeInviteRequest, Empty>;\n /**\n * Bulk-generate invite codes.\n *\n * @generated from protobuf rpc: BulkCreateInvites\n */\n bulkCreateInvites(input: BulkCreateInvitesRequest, options?: RpcOptions): UnaryCall<BulkCreateInvitesRequest, BulkCreateInvitesResponse>;\n // ── Registration Analytics ──\n\n /**\n * Get registration statistics by source type for a given period.\n *\n * @generated from protobuf rpc: GetRegistrationStats\n */\n getRegistrationStats(input: GetRegistrationStatsRequest, options?: RpcOptions): UnaryCall<GetRegistrationStatsRequest, RegistrationStats>;\n}\n/**\n * EnrollmentService manages registration gating policies, invite codes,\n * and registration source analytics.\n *\n * ── Enrollment Policy ──\n *\n * @generated from protobuf service sid.v1.admin.EnrollmentService\n */\nexport class EnrollmentServiceClient implements IEnrollmentServiceClient, ServiceInfo {\n typeName = EnrollmentService.typeName;\n methods = EnrollmentService.methods;\n options = EnrollmentService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * The enrollment policy in force: the stored one, else the defaults, with\n * the mode the deployment pins.\n *\n * @generated from protobuf rpc: GetEnrollmentPolicy\n */\n getEnrollmentPolicy(input: Empty, options?: RpcOptions): UnaryCall<Empty, EnrollmentPolicy> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, EnrollmentPolicy>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Whether the installation offers a local administrator claim, and whether\n * it was taken. Public: while the claim is open, the registration page asks\n * for the claim token.\n *\n * @generated from protobuf rpc: GetInstanceStatus\n */\n getInstanceStatus(input: Empty, options?: RpcOptions): UnaryCall<Empty, InstanceStatus> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, InstanceStatus>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Replace the stored enrollment policy (mode, domains, invite defaults,\n * tracking); returns the policy in force. Administrators only. Refused with\n * FAILED_PRECONDITION when it changes a mode the deployment pins, and with\n * INVALID_ARGUMENT for a domain-restricted policy without a domain or an\n * allowed domain that is no domain name.\n *\n * @generated from protobuf rpc: UpdateEnrollmentPolicy\n */\n updateEnrollmentPolicy(input: UpdateEnrollmentPolicyRequest, options?: RpcOptions): UnaryCall<UpdateEnrollmentPolicyRequest, EnrollmentPolicy> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateEnrollmentPolicyRequest, EnrollmentPolicy>(\"unary\", this._transport, method, opt, input);\n }\n // ── Invite Management ──\n // \n // An administrator in their own session, or a machine with its own token\n // for the enrollment API carrying the action as scope and holding it there.\n\n /**\n * Create a new invite code.\n *\n * @generated from protobuf rpc: CreateInvite\n */\n createInvite(input: CreateInviteRequest, options?: RpcOptions): UnaryCall<CreateInviteRequest, Invite> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<CreateInviteRequest, Invite>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * List invite codes (paginated, filterable by status).\n *\n * @generated from protobuf rpc: ListInvites\n */\n listInvites(input: ListInvitesRequest, options?: RpcOptions): UnaryCall<ListInvitesRequest, ListInvitesResponse> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListInvitesRequest, ListInvitesResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * One invite. NOT_FOUND for an unknown id.\n *\n * @generated from protobuf rpc: GetInvite\n */\n getInvite(input: GetInviteRequest, options?: RpcOptions): UnaryCall<GetInviteRequest, Invite> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetInviteRequest, Invite>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * The registrations that used an invite, oldest first, a page at a time.\n * NOT_FOUND for an unknown invite.\n *\n * @generated from protobuf rpc: ListInviteRedemptions\n */\n listInviteRedemptions(input: ListInviteRedemptionsRequest, options?: RpcOptions): UnaryCall<ListInviteRedemptionsRequest, ListInviteRedemptionsResponse> {\n const method = this.methods[6], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListInviteRedemptionsRequest, ListInviteRedemptionsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Revoke an invite code (deactivate, cannot be used anymore).\n *\n * @generated from protobuf rpc: RevokeInvite\n */\n revokeInvite(input: RevokeInviteRequest, options?: RpcOptions): UnaryCall<RevokeInviteRequest, Empty> {\n const method = this.methods[7], opt = this._transport.mergeOptions(options);\n return stackIntercept<RevokeInviteRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Bulk-generate invite codes.\n *\n * @generated from protobuf rpc: BulkCreateInvites\n */\n bulkCreateInvites(input: BulkCreateInvitesRequest, options?: RpcOptions): UnaryCall<BulkCreateInvitesRequest, BulkCreateInvitesResponse> {\n const method = this.methods[8], opt = this._transport.mergeOptions(options);\n return stackIntercept<BulkCreateInvitesRequest, BulkCreateInvitesResponse>(\"unary\", this._transport, method, opt, input);\n }\n // ── Registration Analytics ──\n\n /**\n * Get registration statistics by source type for a given period.\n *\n * @generated from protobuf rpc: GetRegistrationStats\n */\n getRegistrationStats(input: GetRegistrationStatsRequest, options?: RpcOptions): UnaryCall<GetRegistrationStatsRequest, RegistrationStats> {\n const method = this.methods[9], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetRegistrationStatsRequest, RegistrationStats>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
|
|
@@ -1614,15 +1614,15 @@ export const GetRegistrationStatsRequest = new GetRegistrationStatsRequest$Type(
|
|
|
1614
1614
|
* @generated ServiceType for protobuf service sid.v1.admin.EnrollmentService
|
|
1615
1615
|
*/
|
|
1616
1616
|
export const EnrollmentService = new ServiceType("sid.v1.admin.EnrollmentService", [
|
|
1617
|
-
{ name: "GetEnrollmentPolicy", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/admin/enrollment/policy" } }, I: Empty, O: EnrollmentPolicy },
|
|
1618
|
-
{ name: "GetInstanceStatus", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/admin/enrollment/instance-status" } }, I: Empty, O: InstanceStatus },
|
|
1619
|
-
{ name: "UpdateEnrollmentPolicy", idempotency: "IDEMPOTENT", options: { "google.api.http": { put: "/v1/admin/enrollment/policy", body: "*" }, "sid.v1.common.retry": { keyed: true } }, I: UpdateEnrollmentPolicyRequest, O: EnrollmentPolicy },
|
|
1620
|
-
{ name: "CreateInvite", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/admin/enrollment/invites", body: "*" }, "sid.v1.common.retry": { keyed: true } }, I: CreateInviteRequest, O: Invite },
|
|
1621
|
-
{ name: "ListInvites", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/admin/enrollment/invites" } }, I: ListInvitesRequest, O: ListInvitesResponse },
|
|
1622
|
-
{ name: "GetInvite", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/admin/enrollment/invites/{invite_id.value}" } }, I: GetInviteRequest, O: Invite },
|
|
1623
|
-
{ name: "ListInviteRedemptions", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/admin/enrollment/invites/{invite_id.value}/redemptions" } }, I: ListInviteRedemptionsRequest, O: ListInviteRedemptionsResponse },
|
|
1624
|
-
{ name: "RevokeInvite", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/admin/enrollment/invites/{invite_id.value}/revoke", body: "*" }, "sid.v1.common.retry": { natural: "a revoked invite is never reactivated: a repeat finds it revoked and answers as the first" } }, I: RevokeInviteRequest, O: Empty },
|
|
1625
|
-
{ name: "BulkCreateInvites", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/admin/enrollment/invites/bulk", body: "*" }, "sid.v1.common.retry": { keyed: true } }, I: BulkCreateInvitesRequest, O: BulkCreateInvitesResponse },
|
|
1626
|
-
{ name: "GetRegistrationStats", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/admin/enrollment/stats" } }, I: GetRegistrationStatsRequest, O: RegistrationStats }
|
|
1617
|
+
{ name: "GetEnrollmentPolicy", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/admin/enrollment/policy" }, "sid.v1.common.access": { open: "the registration page reads the policy before anyone has an account" } }, I: Empty, O: EnrollmentPolicy },
|
|
1618
|
+
{ name: "GetInstanceStatus", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/admin/enrollment/instance-status" }, "sid.v1.common.access": { open: "the registration page asks for the claim token before anyone has an account" } }, I: Empty, O: InstanceStatus },
|
|
1619
|
+
{ name: "UpdateEnrollmentPolicy", idempotency: "IDEMPOTENT", options: { "google.api.http": { put: "/v1/admin/enrollment/policy", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION"] } }, "sid.v1.common.retry": { keyed: true } }, I: UpdateEnrollmentPolicyRequest, O: EnrollmentPolicy },
|
|
1620
|
+
{ name: "CreateInvite", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/admin/enrollment/invites", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_CLIENT"], scopes: ["enrollment.invite.create"] } }, "sid.v1.common.retry": { keyed: true } }, I: CreateInviteRequest, O: Invite },
|
|
1621
|
+
{ name: "ListInvites", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/admin/enrollment/invites" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_CLIENT"], scopes: ["enrollment.invite.read"] } } }, I: ListInvitesRequest, O: ListInvitesResponse },
|
|
1622
|
+
{ name: "GetInvite", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/admin/enrollment/invites/{invite_id.value}" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_CLIENT"], scopes: ["enrollment.invite.read"] } } }, I: GetInviteRequest, O: Invite },
|
|
1623
|
+
{ name: "ListInviteRedemptions", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/admin/enrollment/invites/{invite_id.value}/redemptions" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_CLIENT"], scopes: ["enrollment.invite.read"] } } }, I: ListInviteRedemptionsRequest, O: ListInviteRedemptionsResponse },
|
|
1624
|
+
{ name: "RevokeInvite", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/admin/enrollment/invites/{invite_id.value}/revoke", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_CLIENT"], scopes: ["enrollment.invite.revoke"] } }, "sid.v1.common.retry": { natural: "a revoked invite is never reactivated: a repeat finds it revoked and answers as the first" } }, I: RevokeInviteRequest, O: Empty },
|
|
1625
|
+
{ name: "BulkCreateInvites", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/admin/enrollment/invites/bulk", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_CLIENT"], scopes: ["enrollment.invite.create"] } }, "sid.v1.common.retry": { keyed: true } }, I: BulkCreateInvitesRequest, O: BulkCreateInvitesResponse },
|
|
1626
|
+
{ name: "GetRegistrationStats", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/admin/enrollment/stats" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION"] } } }, I: GetRegistrationStatsRequest, O: RegistrationStats }
|
|
1627
1627
|
]);
|
|
1628
1628
|
//# sourceMappingURL=enrollment.js.map
|