@structured-id/proto 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/generated/sid/v1/account/account.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 +124 -10
- package/dist/generated/sid/v1/authn/auth.client.js +99 -26
- package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.d.ts +306 -13
- 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/auth_flow.client.d.ts +140 -0
- package/dist/generated/sid/v1/authn/auth_flow.client.js +81 -0
- package/dist/generated/sid/v1/authn/auth_flow.client.js.map +1 -0
- package/dist/generated/sid/v1/authn/auth_flow.d.ts +418 -0
- package/dist/generated/sid/v1/authn/auth_flow.js +623 -0
- package/dist/generated/sid/v1/authn/auth_flow.js.map +1 -0
- 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/claims.d.ts +138 -0
- package/dist/generated/sid/v1/common/claims.js +168 -0
- package/dist/generated/sid/v1/common/claims.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/ids/ids.d.ts +2 -0
- package/dist/generated/sid/v1/ids/ids.js +1 -0
- package/dist/generated/sid/v1/ids/ids.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 +78 -6
- package/dist/generated/sid/v1/projects/projects.js +107 -29
- 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 +7 -7
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The maintenance purpose of one method.
|
|
3
|
+
*
|
|
4
|
+
* @generated from protobuf enum sid.v1.common.MaintenancePurpose
|
|
5
|
+
*/
|
|
6
|
+
export declare enum MaintenancePurpose {
|
|
7
|
+
/**
|
|
8
|
+
* Not a purpose; never declared.
|
|
9
|
+
*
|
|
10
|
+
* @generated from protobuf enum value: MAINTENANCE_PURPOSE_UNSPECIFIED = 0;
|
|
11
|
+
*/
|
|
12
|
+
UNSPECIFIED = 0,
|
|
13
|
+
/**
|
|
14
|
+
* A step of signing in: resolving the login, its challenges and factors
|
|
15
|
+
* (including the enrollment a sign-in's policy requires before it
|
|
16
|
+
* completes), the decision of a sign-in to a service, the session it
|
|
17
|
+
* establishes or renews, and the context the signed-in page reads to go
|
|
18
|
+
* on. Kept during backup maintenance with the writes the sign-in needs
|
|
19
|
+
* (challenge, replay, attempt and session state, audit); during full
|
|
20
|
+
* maintenance only for an entry the scope keeps open, such as authorized
|
|
21
|
+
* management.
|
|
22
|
+
*
|
|
23
|
+
* @generated from protobuf enum value: MAINTENANCE_PURPOSE_SIGN_IN = 1;
|
|
24
|
+
*/
|
|
25
|
+
SIGN_IN = 1,
|
|
26
|
+
/**
|
|
27
|
+
* Reads the caller's own data and changes nothing. Kept during backup
|
|
28
|
+
* maintenance; refused during full maintenance.
|
|
29
|
+
*
|
|
30
|
+
* @generated from protobuf enum value: MAINTENANCE_PURPOSE_READ = 2;
|
|
31
|
+
*/
|
|
32
|
+
READ = 2,
|
|
33
|
+
/**
|
|
34
|
+
* A change: registration, a profile, setting, contact or credential
|
|
35
|
+
* change (removing a passkey or ending another session included), a
|
|
36
|
+
* password change or reset. Refused during either level.
|
|
37
|
+
*
|
|
38
|
+
* @generated from protobuf enum value: MAINTENANCE_PURPOSE_CHANGE = 3;
|
|
39
|
+
*/
|
|
40
|
+
CHANGE = 3,
|
|
41
|
+
/**
|
|
42
|
+
* Use of a credential already issued, by the application holding it
|
|
43
|
+
* (validation, introspection, revocation): a permission check, kept
|
|
44
|
+
* during either level, as applications keep using issued credentials
|
|
45
|
+
* under their normal lifetime.
|
|
46
|
+
*
|
|
47
|
+
* @generated from protobuf enum value: MAINTENANCE_PURPOSE_ISSUED_CREDENTIAL = 4;
|
|
48
|
+
*/
|
|
49
|
+
ISSUED_CREDENTIAL = 4
|
|
50
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck
|
|
2
|
+
// @generated from protobuf file "sid/v1/common/maintenance.proto" (package "sid.v1.common", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/**
|
|
6
|
+
* The maintenance purpose of one method.
|
|
7
|
+
*
|
|
8
|
+
* @generated from protobuf enum sid.v1.common.MaintenancePurpose
|
|
9
|
+
*/
|
|
10
|
+
export var MaintenancePurpose;
|
|
11
|
+
(function (MaintenancePurpose) {
|
|
12
|
+
/**
|
|
13
|
+
* Not a purpose; never declared.
|
|
14
|
+
*
|
|
15
|
+
* @generated from protobuf enum value: MAINTENANCE_PURPOSE_UNSPECIFIED = 0;
|
|
16
|
+
*/
|
|
17
|
+
MaintenancePurpose[MaintenancePurpose["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
18
|
+
/**
|
|
19
|
+
* A step of signing in: resolving the login, its challenges and factors
|
|
20
|
+
* (including the enrollment a sign-in's policy requires before it
|
|
21
|
+
* completes), the decision of a sign-in to a service, the session it
|
|
22
|
+
* establishes or renews, and the context the signed-in page reads to go
|
|
23
|
+
* on. Kept during backup maintenance with the writes the sign-in needs
|
|
24
|
+
* (challenge, replay, attempt and session state, audit); during full
|
|
25
|
+
* maintenance only for an entry the scope keeps open, such as authorized
|
|
26
|
+
* management.
|
|
27
|
+
*
|
|
28
|
+
* @generated from protobuf enum value: MAINTENANCE_PURPOSE_SIGN_IN = 1;
|
|
29
|
+
*/
|
|
30
|
+
MaintenancePurpose[MaintenancePurpose["SIGN_IN"] = 1] = "SIGN_IN";
|
|
31
|
+
/**
|
|
32
|
+
* Reads the caller's own data and changes nothing. Kept during backup
|
|
33
|
+
* maintenance; refused during full maintenance.
|
|
34
|
+
*
|
|
35
|
+
* @generated from protobuf enum value: MAINTENANCE_PURPOSE_READ = 2;
|
|
36
|
+
*/
|
|
37
|
+
MaintenancePurpose[MaintenancePurpose["READ"] = 2] = "READ";
|
|
38
|
+
/**
|
|
39
|
+
* A change: registration, a profile, setting, contact or credential
|
|
40
|
+
* change (removing a passkey or ending another session included), a
|
|
41
|
+
* password change or reset. Refused during either level.
|
|
42
|
+
*
|
|
43
|
+
* @generated from protobuf enum value: MAINTENANCE_PURPOSE_CHANGE = 3;
|
|
44
|
+
*/
|
|
45
|
+
MaintenancePurpose[MaintenancePurpose["CHANGE"] = 3] = "CHANGE";
|
|
46
|
+
/**
|
|
47
|
+
* Use of a credential already issued, by the application holding it
|
|
48
|
+
* (validation, introspection, revocation): a permission check, kept
|
|
49
|
+
* during either level, as applications keep using issued credentials
|
|
50
|
+
* under their normal lifetime.
|
|
51
|
+
*
|
|
52
|
+
* @generated from protobuf enum value: MAINTENANCE_PURPOSE_ISSUED_CREDENTIAL = 4;
|
|
53
|
+
*/
|
|
54
|
+
MaintenancePurpose[MaintenancePurpose["ISSUED_CREDENTIAL"] = 4] = "ISSUED_CREDENTIAL";
|
|
55
|
+
})(MaintenancePurpose || (MaintenancePurpose = {}));
|
|
56
|
+
//# sourceMappingURL=maintenance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maintenance.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/common/maintenance.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,2GAA2G;AAC3G,iBAAiB;AACjB,cAAc;AACd;;;;GAIG;AACH,MAAM,CAAN,IAAY,kBA4CX;AA5CD,WAAY,kBAAkB;IAC1B;;;;OAIG;IACH,yEAAe,CAAA;IACf;;;;;;;;;;;OAWG;IACH,iEAAW,CAAA;IACX;;;;;OAKG;IACH,2DAAQ,CAAA;IACR;;;;;;OAMG;IACH,+DAAU,CAAA;IACV;;;;;;;OAOG;IACH,qFAAqB,CAAA;AACzB,CAAC,EA5CW,kBAAkB,KAAlB,kBAAkB,QA4C7B","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/common/maintenance.proto\" (package \"sid.v1.common\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n/**\n * The maintenance purpose of one method.\n *\n * @generated from protobuf enum sid.v1.common.MaintenancePurpose\n */\nexport enum MaintenancePurpose {\n /**\n * Not a purpose; never declared.\n *\n * @generated from protobuf enum value: MAINTENANCE_PURPOSE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * A step of signing in: resolving the login, its challenges and factors\n * (including the enrollment a sign-in's policy requires before it\n * completes), the decision of a sign-in to a service, the session it\n * establishes or renews, and the context the signed-in page reads to go\n * on. Kept during backup maintenance with the writes the sign-in needs\n * (challenge, replay, attempt and session state, audit); during full\n * maintenance only for an entry the scope keeps open, such as authorized\n * management.\n *\n * @generated from protobuf enum value: MAINTENANCE_PURPOSE_SIGN_IN = 1;\n */\n SIGN_IN = 1,\n /**\n * Reads the caller's own data and changes nothing. Kept during backup\n * maintenance; refused during full maintenance.\n *\n * @generated from protobuf enum value: MAINTENANCE_PURPOSE_READ = 2;\n */\n READ = 2,\n /**\n * A change: registration, a profile, setting, contact or credential\n * change (removing a passkey or ending another session included), a\n * password change or reset. Refused during either level.\n *\n * @generated from protobuf enum value: MAINTENANCE_PURPOSE_CHANGE = 3;\n */\n CHANGE = 3,\n /**\n * Use of a credential already issued, by the application holding it\n * (validation, introspection, revocation): a permission check, kept\n * during either level, as applications keep using issued credentials\n * under their normal lifetime.\n *\n * @generated from protobuf enum value: MAINTENANCE_PURPOSE_ISSUED_CREDENTIAL = 4;\n */\n ISSUED_CREDENTIAL = 4\n}\n"]}
|
|
@@ -174,6 +174,6 @@ export const OperationPeriod = new OperationPeriod$Type();
|
|
|
174
174
|
* @generated ServiceType for protobuf service sid.v1.common.OperationService
|
|
175
175
|
*/
|
|
176
176
|
export const OperationService = new ServiceType("sid.v1.common.OperationService", [
|
|
177
|
-
{ name: "GetOperationPeriod", idempotency: "IDEMPOTENT", options: { "google.api.http": { get: "/v1/operations/period" }, "sid.v1.common.retry": { natural: "the current period is answered, issued when none is current: a repeat answers the same period until a later one replaces it, and no call retires a period another caller still holds within its acceptance bound" } }, I: GetOperationPeriodRequest, O: OperationPeriod }
|
|
177
|
+
{ name: "GetOperationPeriod", idempotency: "IDEMPOTENT", options: { "google.api.http": { get: "/v1/operations/period" }, "sid.v1.common.access": { open: "a period conveys no permission and selects no issuer, tenant or store" }, "sid.v1.common.retry": { natural: "the current period is answered, issued when none is current: a repeat answers the same period until a later one replaces it, and no call retires a period another caller still holds within its acceptance bound" } }, I: GetOperationPeriodRequest, O: OperationPeriod }
|
|
178
178
|
]);
|
|
179
179
|
//# sourceMappingURL=operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/common/operation.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,yGAAyG;AACzG,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SA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CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAClF,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,oBAAoB,EAAE,CAAC;AAC1D;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,WAAW,CAAC,gCAAgC,EAAE;IAC9E,EAAE,IAAI,EAAE,oBAAoB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,GAAG,EAAE,uBAAuB,EAAE,EAAE,qBAAqB,EAAE,EAAE,OAAO,EAAE,kNAAkN,EAAE,EAAE,EAAE,CAAC,EAAE,yBAAyB,EAAE,CAAC,EAAE,eAAe,EAAE;CACxa,CAAC,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/common/operation.proto\" (package \"sid.v1.common\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.js\";\n/**\n * The retry rule of one method.\n *\n * @generated from protobuf message sid.v1.common.RetryRule\n */\nexport interface RetryRule {\n /**\n * @generated from protobuf oneof: rule\n */\n rule: {\n oneofKind: \"keyed\";\n /**\n * The caller names its command by an operation context, created once\n * before the first submission and kept across every retry: the\n * `idempotency-key` request metadata (the Idempotency-Key header of\n * draft-ietf-httpapi-idempotency-key-header-08 §2.1, a Structured\n * Field String, the same encoded value in gRPC metadata and HTTP) and\n * the `sid-operation-period` metadata (SID-Operation-Period in HTTP:\n * one canonical unsigned decimal period from OperationService). A\n * retry under the same context answers with the result recorded by the\n * first commit and applies nothing again; a call with a missing,\n * malformed or duplicated context is refused before any effect, and\n * one under a retired period with OPERATION_EXPIRED.\n *\n * @generated from protobuf field: bool keyed = 1\n */\n keyed: boolean;\n } | {\n oneofKind: \"ceremony\";\n /**\n * The method follows its protocol's own consume or replay rule, stated\n * here with the normative section where the protocol is standardized\n * (for example RFC 6749 §4.1.2 for an authorization code). It takes no\n * operation context and its result is never replayed from the keyed\n * record; a protocol that names its own operation (a password\n * operation, a reset) may answer a retry of that same operation with\n * the outcome it recorded, as its rule states.\n *\n * @generated from protobuf field: string ceremony = 2\n */\n ceremony: string;\n } | {\n oneofKind: \"natural\";\n /**\n * The method's effect is the same however often it is applied: the\n * invariant that makes it so and what a repeat answers, including after\n * an intervening change.\n *\n * @generated from protobuf field: string natural = 3\n */\n natural: string;\n } | {\n oneofKind: undefined;\n };\n}\n/**\n * @generated from protobuf message sid.v1.common.GetOperationPeriodRequest\n */\nexport interface GetOperationPeriodRequest {\n}\n/**\n * One server-issued period.\n *\n * @generated from protobuf message sid.v1.common.OperationPeriod\n */\nexport interface OperationPeriod {\n /**\n * The period: an unsigned epoch the owning store issued, carried by a\n * keyed command as its `sid-operation-period` metadata. Not a timestamp.\n *\n * @generated from protobuf field: uint64 period = 1\n */\n period: bigint;\n /**\n * Until when a new command named with this period is admitted. A command\n * first submitted before this bound may still be retried within the\n * store's retention; one under a retired period is refused with\n * OPERATION_EXPIRED.\n *\n * @generated from protobuf field: google.protobuf.Timestamp accepted_until = 2\n */\n acceptedUntil?: Timestamp;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass RetryRule$Type extends MessageType<RetryRule> {\n constructor() {\n super(\"sid.v1.common.RetryRule\", [\n { no: 1, name: \"keyed\", kind: \"scalar\", oneof: \"rule\", T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"ceremony\", kind: \"scalar\", oneof: \"rule\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"natural\", kind: \"scalar\", oneof: \"rule\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<RetryRule>): RetryRule {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.rule = { oneofKind: undefined };\n if (value !== undefined)\n reflectionMergePartial<RetryRule>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RetryRule): RetryRule {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bool keyed */ 1:\n message.rule = {\n oneofKind: \"keyed\",\n keyed: reader.bool()\n };\n break;\n case /* string ceremony */ 2:\n message.rule = {\n oneofKind: \"ceremony\",\n ceremony: reader.string()\n };\n break;\n case /* string natural */ 3:\n message.rule = {\n oneofKind: \"natural\",\n natural: reader.string()\n };\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: RetryRule, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bool keyed = 1; */\n if (message.rule.oneofKind === \"keyed\")\n writer.tag(1, WireType.Varint).bool(message.rule.keyed);\n /* string ceremony = 2; */\n if (message.rule.oneofKind === \"ceremony\")\n writer.tag(2, WireType.LengthDelimited).string(message.rule.ceremony);\n /* string natural = 3; */\n if (message.rule.oneofKind === \"natural\")\n writer.tag(3, WireType.LengthDelimited).string(message.rule.natural);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.common.RetryRule\n */\nexport const RetryRule = new RetryRule$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetOperationPeriodRequest$Type extends MessageType<GetOperationPeriodRequest> {\n constructor() {\n super(\"sid.v1.common.GetOperationPeriodRequest\", []);\n }\n create(value?: PartialMessage<GetOperationPeriodRequest>): GetOperationPeriodRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<GetOperationPeriodRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetOperationPeriodRequest): GetOperationPeriodRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: GetOperationPeriodRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.common.GetOperationPeriodRequest\n */\nexport const GetOperationPeriodRequest = new GetOperationPeriodRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass OperationPeriod$Type extends MessageType<OperationPeriod> {\n constructor() {\n super(\"sid.v1.common.OperationPeriod\", [\n { no: 1, name: \"period\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"accepted_until\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<OperationPeriod>): OperationPeriod {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.period = 0n;\n if (value !== undefined)\n reflectionMergePartial<OperationPeriod>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OperationPeriod): OperationPeriod {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 period */ 1:\n message.period = reader.uint64().toBigInt();\n break;\n case /* google.protobuf.Timestamp accepted_until */ 2:\n message.acceptedUntil = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.acceptedUntil);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: OperationPeriod, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 period = 1; */\n if (message.period !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.period);\n /* google.protobuf.Timestamp accepted_until = 2; */\n if (message.acceptedUntil)\n Timestamp.internalBinaryWrite(message.acceptedUntil, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.common.OperationPeriod\n */\nexport const OperationPeriod = new OperationPeriod$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.common.OperationService\n */\nexport const OperationService = new ServiceType(\"sid.v1.common.OperationService\", [\n { name: \"GetOperationPeriod\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { get: \"/v1/operations/period\" }, \"sid.v1.common.retry\": { natural: \"the current period is answered, issued when none is current: a repeat answers the same period until a later one replaces it, and no call retires a period another caller still holds within its acceptance bound\" } }, I: GetOperationPeriodRequest, O: OperationPeriod }\n]);\n"]}
|
|
1
|
+
{"version":3,"file":"operation.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/common/operation.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,yGAAyG;AACzG,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAoFlE,2FAA2F;AAC3F,MAAM,cAAe,SAAQ,WAAsB;IAC/C;QACI,KAAK,CAAC,yBAAyB,EAAE;YAC7B,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,mBAAmB,EAAE;YACjF,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,qBAAqB,EAAE;YACtF,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EA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AI,EAAE,uEAAuE,EAAE,EAAE,qBAAqB,EAAE,EAAE,OAAO,EAAE,kNAAkN,EAAE,EAAE,EAAE,CAAC,EAAE,yBAAyB,EAAE,CAAC,EAAE,eAAe,EAAE;CACnhB,CAAC,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/common/operation.proto\" (package \"sid.v1.common\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.js\";\n/**\n * The retry rule of one method.\n *\n * @generated from protobuf message sid.v1.common.RetryRule\n */\nexport interface RetryRule {\n /**\n * @generated from protobuf oneof: rule\n */\n rule: {\n oneofKind: \"keyed\";\n /**\n * The caller names its command by an operation context, created once\n * before the first submission and kept across every retry: the\n * `idempotency-key` request metadata (the Idempotency-Key header of\n * draft-ietf-httpapi-idempotency-key-header-08 §2.1, a Structured\n * Field String, the same encoded value in gRPC metadata and HTTP) and\n * the `sid-operation-period` metadata (SID-Operation-Period in HTTP:\n * one canonical unsigned decimal period from OperationService). A\n * retry under the same context answers with the result recorded by the\n * first commit and applies nothing again; a call with a missing,\n * malformed or duplicated context is refused before any effect, and\n * one under a retired period with OPERATION_EXPIRED.\n *\n * @generated from protobuf field: bool keyed = 1\n */\n keyed: boolean;\n } | {\n oneofKind: \"ceremony\";\n /**\n * The method follows its protocol's own consume or replay rule, stated\n * here with the normative section where the protocol is standardized\n * (for example RFC 6749 §4.1.2 for an authorization code). It takes no\n * operation context and its result is never replayed from the keyed\n * record; a protocol that names its own operation (a password\n * operation, a reset) may answer a retry of that same operation with\n * the outcome it recorded, as its rule states.\n *\n * @generated from protobuf field: string ceremony = 2\n */\n ceremony: string;\n } | {\n oneofKind: \"natural\";\n /**\n * The method's effect is the same however often it is applied: the\n * invariant that makes it so and what a repeat answers, including after\n * an intervening change.\n *\n * @generated from protobuf field: string natural = 3\n */\n natural: string;\n } | {\n oneofKind: undefined;\n };\n}\n/**\n * @generated from protobuf message sid.v1.common.GetOperationPeriodRequest\n */\nexport interface GetOperationPeriodRequest {\n}\n/**\n * One server-issued period.\n *\n * @generated from protobuf message sid.v1.common.OperationPeriod\n */\nexport interface OperationPeriod {\n /**\n * The period: an unsigned epoch the owning store issued, carried by a\n * keyed command as its `sid-operation-period` metadata. Not a timestamp.\n *\n * @generated from protobuf field: uint64 period = 1\n */\n period: bigint;\n /**\n * Until when a new command named with this period is admitted. A command\n * first submitted before this bound may still be retried within the\n * store's retention; one under a retired period is refused with\n * OPERATION_EXPIRED.\n *\n * @generated from protobuf field: google.protobuf.Timestamp accepted_until = 2\n */\n acceptedUntil?: Timestamp;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass RetryRule$Type extends MessageType<RetryRule> {\n constructor() {\n super(\"sid.v1.common.RetryRule\", [\n { no: 1, name: \"keyed\", kind: \"scalar\", oneof: \"rule\", T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"ceremony\", kind: \"scalar\", oneof: \"rule\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"natural\", kind: \"scalar\", oneof: \"rule\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<RetryRule>): RetryRule {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.rule = { oneofKind: undefined };\n if (value !== undefined)\n reflectionMergePartial<RetryRule>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RetryRule): RetryRule {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bool keyed */ 1:\n message.rule = {\n oneofKind: \"keyed\",\n keyed: reader.bool()\n };\n break;\n case /* string ceremony */ 2:\n message.rule = {\n oneofKind: \"ceremony\",\n ceremony: reader.string()\n };\n break;\n case /* string natural */ 3:\n message.rule = {\n oneofKind: \"natural\",\n natural: reader.string()\n };\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: RetryRule, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bool keyed = 1; */\n if (message.rule.oneofKind === \"keyed\")\n writer.tag(1, WireType.Varint).bool(message.rule.keyed);\n /* string ceremony = 2; */\n if (message.rule.oneofKind === \"ceremony\")\n writer.tag(2, WireType.LengthDelimited).string(message.rule.ceremony);\n /* string natural = 3; */\n if (message.rule.oneofKind === \"natural\")\n writer.tag(3, WireType.LengthDelimited).string(message.rule.natural);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.common.RetryRule\n */\nexport const RetryRule = new RetryRule$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetOperationPeriodRequest$Type extends MessageType<GetOperationPeriodRequest> {\n constructor() {\n super(\"sid.v1.common.GetOperationPeriodRequest\", []);\n }\n create(value?: PartialMessage<GetOperationPeriodRequest>): GetOperationPeriodRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<GetOperationPeriodRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetOperationPeriodRequest): GetOperationPeriodRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: GetOperationPeriodRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.common.GetOperationPeriodRequest\n */\nexport const GetOperationPeriodRequest = new GetOperationPeriodRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass OperationPeriod$Type extends MessageType<OperationPeriod> {\n constructor() {\n super(\"sid.v1.common.OperationPeriod\", [\n { no: 1, name: \"period\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"accepted_until\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<OperationPeriod>): OperationPeriod {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.period = 0n;\n if (value !== undefined)\n reflectionMergePartial<OperationPeriod>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OperationPeriod): OperationPeriod {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 period */ 1:\n message.period = reader.uint64().toBigInt();\n break;\n case /* google.protobuf.Timestamp accepted_until */ 2:\n message.acceptedUntil = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.acceptedUntil);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: OperationPeriod, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 period = 1; */\n if (message.period !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.period);\n /* google.protobuf.Timestamp accepted_until = 2; */\n if (message.acceptedUntil)\n Timestamp.internalBinaryWrite(message.acceptedUntil, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.common.OperationPeriod\n */\nexport const OperationPeriod = new OperationPeriod$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.common.OperationService\n */\nexport const OperationService = new ServiceType(\"sid.v1.common.OperationService\", [\n { name: \"GetOperationPeriod\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { get: \"/v1/operations/period\" }, \"sid.v1.common.access\": { open: \"a period conveys no permission and selects no issuer, tenant or store\" }, \"sid.v1.common.retry\": { natural: \"the current period is answered, issued when none is current: a repeat answers the same period until a later one replaces it, and no call retires a period another caller still holds within its acceptance bound\" } }, I: GetOperationPeriodRequest, O: OperationPeriod }\n]);\n"]}
|
|
@@ -254,7 +254,7 @@ export const ReplayRequest = new ReplayRequest$Type();
|
|
|
254
254
|
* @generated ServiceType for protobuf service sid.v1.events.EventStreamService
|
|
255
255
|
*/
|
|
256
256
|
export const EventStreamService = new ServiceType("sid.v1.events.EventStreamService", [
|
|
257
|
-
{ name: "Subscribe", idempotency: "NO_SIDE_EFFECTS", serverStreaming: true, options: {}, I: SubscribeRequest, O: CloudEvent },
|
|
258
|
-
{ name: "Replay", idempotency: "NO_SIDE_EFFECTS", serverStreaming: true, options: {}, I: ReplayRequest, O: CloudEvent }
|
|
257
|
+
{ name: "Subscribe", idempotency: "NO_SIDE_EFFECTS", serverStreaming: true, options: { "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION"] } } }, I: SubscribeRequest, O: CloudEvent },
|
|
258
|
+
{ name: "Replay", idempotency: "NO_SIDE_EFFECTS", serverStreaming: true, options: { "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION"] } } }, I: ReplayRequest, O: CloudEvent }
|
|
259
259
|
]);
|
|
260
260
|
//# sourceMappingURL=event_stream.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event_stream.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/events/event_stream.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,4GAA4G;AAC5G,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAiHlE,2FAA2F;AAC3F,MAAM,eAAgB,SAAQ,WAAuB;IACjD;QACI,KAAK,CAAC,0BAA0B,EAAE;YAC9B,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,qBAAqB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Q,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;QAC1E,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC;QACnC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAClF,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,kBAAkB,EAAE,CAAC;AACtD;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,WAAW,CAAC,kCAAkC,EAAE;IAClF,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,gBAAgB,EAAE,CAAC,EAAE,UAAU,EAAE;IAC7H,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,UAAU,EAAE;CAC1H,CAAC,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/events/event_stream.proto\" (package \"sid.v1.events\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.js\";\n// ══════════════════════════════════════════════════════════════════════════\n// CloudEvents 1.0 envelope (CNCF standard)\n// Follows the official CloudEvents proto format with spec_version as an\n// explicit field.\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * @generated from protobuf message sid.v1.events.CloudEvent\n */\nexport interface CloudEvent {\n /**\n * REQUIRED: Unique event ID (UUIDv7 or ULID).\n *\n * @generated from protobuf field: string id = 1\n */\n id: string;\n /**\n * REQUIRED: Event source identifier (e.g., \"sid-identity.acme.com\").\n *\n * @generated from protobuf field: string source = 2\n */\n source: string;\n /**\n * REQUIRED: CloudEvents spec version (always \"1.0\").\n *\n * @generated from protobuf field: string spec_version = 3\n */\n specVersion: string;\n /**\n * REQUIRED: Event type in reverse-DNS convention (e.g., \"sid.user.created.v1\").\n *\n * @generated from protobuf field: string type = 4\n */\n type: string;\n /**\n * OPTIONAL: Resource identifier that the event relates to.\n *\n * @generated from protobuf field: string subject = 5\n */\n subject: string;\n /**\n * OPTIONAL: When the event occurred.\n *\n * @generated from protobuf field: google.protobuf.Timestamp time = 6\n */\n time?: Timestamp;\n /**\n * OPTIONAL: Content type of the data payload (default: \"application/json\").\n *\n * @generated from protobuf field: string datacontenttype = 7\n */\n datacontenttype: string;\n /**\n * Event-specific payload (JSON or protobuf bytes).\n *\n * @generated from protobuf field: bytes data = 8\n */\n data: Uint8Array;\n /**\n * SID extension: monotonic sequence number for ordering within a stream.\n *\n * @generated from protobuf field: uint64 sequence = 9\n */\n sequence: bigint;\n}\n// ══════════════════════════════════════════════════════════════════════════\n// Subscribe / Replay requests\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * @generated from protobuf message sid.v1.events.SubscribeRequest\n */\nexport interface SubscribeRequest {\n /**\n * Event type patterns to subscribe to (e.g., \"sid.user.*\", \"sid.security.>\").\n * Empty = all events.\n *\n * @generated from protobuf field: repeated string event_types = 1\n */\n eventTypes: string[];\n /**\n * Attribute filters (key=value). All must match.\n *\n * @generated from protobuf field: map<string, string> filters = 2\n */\n filters: {\n [key: string]: string;\n };\n}\n/**\n * @generated from protobuf message sid.v1.events.ReplayRequest\n */\nexport interface ReplayRequest {\n /**\n * Replay events starting from this timestamp.\n *\n * @generated from protobuf field: google.protobuf.Timestamp from = 1\n */\n from?: Timestamp;\n /**\n * Optional: replay up to this timestamp (default: now).\n *\n * @generated from protobuf field: optional google.protobuf.Timestamp to = 2\n */\n to?: Timestamp;\n /**\n * Event type patterns to filter (same as SubscribeRequest).\n *\n * @generated from protobuf field: repeated string event_types = 3\n */\n eventTypes: string[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass CloudEvent$Type extends MessageType<CloudEvent> {\n constructor() {\n super(\"sid.v1.events.CloudEvent\", [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"source\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"spec_version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"type\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"subject\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"time\", kind: \"message\", T: () => Timestamp },\n { no: 7, name: \"datacontenttype\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 8, name: \"data\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 9, name: \"sequence\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<CloudEvent>): CloudEvent {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.id = \"\";\n message.source = \"\";\n message.specVersion = \"\";\n message.type = \"\";\n message.subject = \"\";\n message.datacontenttype = \"\";\n message.data = new Uint8Array(0);\n message.sequence = 0n;\n if (value !== undefined)\n reflectionMergePartial<CloudEvent>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CloudEvent): CloudEvent {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string id */ 1:\n message.id = reader.string();\n break;\n case /* string source */ 2:\n message.source = reader.string();\n break;\n case /* string spec_version */ 3:\n message.specVersion = reader.string();\n break;\n case /* string type */ 4:\n message.type = reader.string();\n break;\n case /* string subject */ 5:\n message.subject = reader.string();\n break;\n case /* google.protobuf.Timestamp time */ 6:\n message.time = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.time);\n break;\n case /* string datacontenttype */ 7:\n message.datacontenttype = reader.string();\n break;\n case /* bytes data */ 8:\n message.data = reader.bytes();\n break;\n case /* uint64 sequence */ 9:\n message.sequence = reader.uint64().toBigInt();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: CloudEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string id = 1; */\n if (message.id !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.id);\n /* string source = 2; */\n if (message.source !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.source);\n /* string spec_version = 3; */\n if (message.specVersion !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.specVersion);\n /* string type = 4; */\n if (message.type !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.type);\n /* string subject = 5; */\n if (message.subject !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.subject);\n /* google.protobuf.Timestamp time = 6; */\n if (message.time)\n Timestamp.internalBinaryWrite(message.time, writer.tag(6, WireType.LengthDelimited).fork(), options).join();\n /* string datacontenttype = 7; */\n if (message.datacontenttype !== \"\")\n writer.tag(7, WireType.LengthDelimited).string(message.datacontenttype);\n /* bytes data = 8; */\n if (message.data.length)\n writer.tag(8, WireType.LengthDelimited).bytes(message.data);\n /* uint64 sequence = 9; */\n if (message.sequence !== 0n)\n writer.tag(9, WireType.Varint).uint64(message.sequence);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.events.CloudEvent\n */\nexport const CloudEvent = new CloudEvent$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SubscribeRequest$Type extends MessageType<SubscribeRequest> {\n constructor() {\n super(\"sid.v1.events.SubscribeRequest\", [\n { no: 1, name: \"event_types\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"filters\", kind: \"map\", K: 9 /*ScalarType.STRING*/, V: { kind: \"scalar\", T: 9 /*ScalarType.STRING*/ } }\n ]);\n }\n create(value?: PartialMessage<SubscribeRequest>): SubscribeRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.eventTypes = [];\n message.filters = {};\n if (value !== undefined)\n reflectionMergePartial<SubscribeRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubscribeRequest): SubscribeRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated string event_types */ 1:\n message.eventTypes.push(reader.string());\n break;\n case /* map<string, string> filters */ 2:\n this.binaryReadMap2(message.filters, reader, options);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n private binaryReadMap2(map: SubscribeRequest[\"filters\"], reader: IBinaryReader, options: BinaryReadOptions): void {\n let len = reader.uint32(), end = reader.pos + len, key: keyof SubscribeRequest[\"filters\"] | undefined, val: SubscribeRequest[\"filters\"][any] | undefined;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case 1:\n key = reader.string();\n break;\n case 2:\n val = reader.string();\n break;\n default: throw new globalThis.Error(\"unknown map entry field for sid.v1.events.SubscribeRequest.filters\");\n }\n }\n map[key ?? \"\"] = val ?? \"\";\n }\n internalBinaryWrite(message: SubscribeRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated string event_types = 1; */\n for (let i = 0; i < message.eventTypes.length; i++)\n writer.tag(1, WireType.LengthDelimited).string(message.eventTypes[i]);\n /* map<string, string> filters = 2; */\n for (let k of globalThis.Object.keys(message.filters))\n writer.tag(2, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.filters[k]).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.events.SubscribeRequest\n */\nexport const SubscribeRequest = new SubscribeRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ReplayRequest$Type extends MessageType<ReplayRequest> {\n constructor() {\n super(\"sid.v1.events.ReplayRequest\", [\n { no: 1, name: \"from\", kind: \"message\", T: () => Timestamp },\n { no: 2, name: \"to\", kind: \"message\", T: () => Timestamp },\n { no: 3, name: \"event_types\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ReplayRequest>): ReplayRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.eventTypes = [];\n if (value !== undefined)\n reflectionMergePartial<ReplayRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReplayRequest): ReplayRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* google.protobuf.Timestamp from */ 1:\n message.from = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.from);\n break;\n case /* optional google.protobuf.Timestamp to */ 2:\n message.to = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.to);\n break;\n case /* repeated string event_types */ 3:\n message.eventTypes.push(reader.string());\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ReplayRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* google.protobuf.Timestamp from = 1; */\n if (message.from)\n Timestamp.internalBinaryWrite(message.from, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* optional google.protobuf.Timestamp to = 2; */\n if (message.to)\n Timestamp.internalBinaryWrite(message.to, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n /* repeated string event_types = 3; */\n for (let i = 0; i < message.eventTypes.length; i++)\n writer.tag(3, WireType.LengthDelimited).string(message.eventTypes[i]);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.events.ReplayRequest\n */\nexport const ReplayRequest = new ReplayRequest$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.events.EventStreamService\n */\nexport const EventStreamService = new ServiceType(\"sid.v1.events.EventStreamService\", [\n { name: \"Subscribe\", idempotency: \"NO_SIDE_EFFECTS\", serverStreaming: true, options: {}, I: SubscribeRequest, O: CloudEvent },\n { name: \"Replay\", idempotency: \"NO_SIDE_EFFECTS\", serverStreaming: true, options: {}, I: ReplayRequest, O: CloudEvent }\n]);\n"]}
|
|
1
|
+
{"version":3,"file":"event_stream.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/events/event_stream.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,4GAA4G;AAC5G,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAiHlE,2FAA2F;AAC3F,MAAM,eAAgB,SAAQ,WAAuB;IACjD;QACI,KAAK,CAAC,0BAA0B,EAAE;YAC9B,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,qBAAqB,EAAE;YACjE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,qBAAqB,EAAE;YACrE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,qBAAqB,EAAE;YAC3E,EAAE,EA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,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAClF,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,kBAAkB,EAAE,CAAC;AACtD;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,WAAW,CAAC,kCAAkC,EAAE;IAClF,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,sBAAsB,EAAE,EAAE,SAAS,EAAE,EAAE,WAAW,EAAE,CAAC,6BAA6B,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,gBAAgB,EAAE,CAAC,EAAE,UAAU,EAAE;IACtN,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,sBAAsB,EAAE,EAAE,SAAS,EAAE,EAAE,WAAW,EAAE,CAAC,6BAA6B,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,UAAU,EAAE;CACnN,CAAC,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/events/event_stream.proto\" (package \"sid.v1.events\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.js\";\n// ══════════════════════════════════════════════════════════════════════════\n// CloudEvents 1.0 envelope (CNCF standard)\n// Follows the official CloudEvents proto format with spec_version as an\n// explicit field.\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * @generated from protobuf message sid.v1.events.CloudEvent\n */\nexport interface CloudEvent {\n /**\n * REQUIRED: Unique event ID (UUIDv7 or ULID).\n *\n * @generated from protobuf field: string id = 1\n */\n id: string;\n /**\n * REQUIRED: Event source identifier (e.g., \"sid-identity.acme.com\").\n *\n * @generated from protobuf field: string source = 2\n */\n source: string;\n /**\n * REQUIRED: CloudEvents spec version (always \"1.0\").\n *\n * @generated from protobuf field: string spec_version = 3\n */\n specVersion: string;\n /**\n * REQUIRED: Event type in reverse-DNS convention (e.g., \"sid.user.created.v1\").\n *\n * @generated from protobuf field: string type = 4\n */\n type: string;\n /**\n * OPTIONAL: Resource identifier that the event relates to.\n *\n * @generated from protobuf field: string subject = 5\n */\n subject: string;\n /**\n * OPTIONAL: When the event occurred.\n *\n * @generated from protobuf field: google.protobuf.Timestamp time = 6\n */\n time?: Timestamp;\n /**\n * OPTIONAL: Content type of the data payload (default: \"application/json\").\n *\n * @generated from protobuf field: string datacontenttype = 7\n */\n datacontenttype: string;\n /**\n * Event-specific payload (JSON or protobuf bytes).\n *\n * @generated from protobuf field: bytes data = 8\n */\n data: Uint8Array;\n /**\n * SID extension: monotonic sequence number for ordering within a stream.\n *\n * @generated from protobuf field: uint64 sequence = 9\n */\n sequence: bigint;\n}\n// ══════════════════════════════════════════════════════════════════════════\n// Subscribe / Replay requests\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * @generated from protobuf message sid.v1.events.SubscribeRequest\n */\nexport interface SubscribeRequest {\n /**\n * Event type patterns to subscribe to (e.g., \"sid.user.*\", \"sid.security.>\").\n * Empty = all events.\n *\n * @generated from protobuf field: repeated string event_types = 1\n */\n eventTypes: string[];\n /**\n * Attribute filters (key=value). All must match.\n *\n * @generated from protobuf field: map<string, string> filters = 2\n */\n filters: {\n [key: string]: string;\n };\n}\n/**\n * @generated from protobuf message sid.v1.events.ReplayRequest\n */\nexport interface ReplayRequest {\n /**\n * Replay events starting from this timestamp.\n *\n * @generated from protobuf field: google.protobuf.Timestamp from = 1\n */\n from?: Timestamp;\n /**\n * Optional: replay up to this timestamp (default: now).\n *\n * @generated from protobuf field: optional google.protobuf.Timestamp to = 2\n */\n to?: Timestamp;\n /**\n * Event type patterns to filter (same as SubscribeRequest).\n *\n * @generated from protobuf field: repeated string event_types = 3\n */\n eventTypes: string[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass CloudEvent$Type extends MessageType<CloudEvent> {\n constructor() {\n super(\"sid.v1.events.CloudEvent\", [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"source\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"spec_version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"type\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"subject\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"time\", kind: \"message\", T: () => Timestamp },\n { no: 7, name: \"datacontenttype\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 8, name: \"data\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 9, name: \"sequence\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<CloudEvent>): CloudEvent {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.id = \"\";\n message.source = \"\";\n message.specVersion = \"\";\n message.type = \"\";\n message.subject = \"\";\n message.datacontenttype = \"\";\n message.data = new Uint8Array(0);\n message.sequence = 0n;\n if (value !== undefined)\n reflectionMergePartial<CloudEvent>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CloudEvent): CloudEvent {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string id */ 1:\n message.id = reader.string();\n break;\n case /* string source */ 2:\n message.source = reader.string();\n break;\n case /* string spec_version */ 3:\n message.specVersion = reader.string();\n break;\n case /* string type */ 4:\n message.type = reader.string();\n break;\n case /* string subject */ 5:\n message.subject = reader.string();\n break;\n case /* google.protobuf.Timestamp time */ 6:\n message.time = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.time);\n break;\n case /* string datacontenttype */ 7:\n message.datacontenttype = reader.string();\n break;\n case /* bytes data */ 8:\n message.data = reader.bytes();\n break;\n case /* uint64 sequence */ 9:\n message.sequence = reader.uint64().toBigInt();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: CloudEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string id = 1; */\n if (message.id !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.id);\n /* string source = 2; */\n if (message.source !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.source);\n /* string spec_version = 3; */\n if (message.specVersion !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.specVersion);\n /* string type = 4; */\n if (message.type !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.type);\n /* string subject = 5; */\n if (message.subject !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.subject);\n /* google.protobuf.Timestamp time = 6; */\n if (message.time)\n Timestamp.internalBinaryWrite(message.time, writer.tag(6, WireType.LengthDelimited).fork(), options).join();\n /* string datacontenttype = 7; */\n if (message.datacontenttype !== \"\")\n writer.tag(7, WireType.LengthDelimited).string(message.datacontenttype);\n /* bytes data = 8; */\n if (message.data.length)\n writer.tag(8, WireType.LengthDelimited).bytes(message.data);\n /* uint64 sequence = 9; */\n if (message.sequence !== 0n)\n writer.tag(9, WireType.Varint).uint64(message.sequence);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.events.CloudEvent\n */\nexport const CloudEvent = new CloudEvent$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SubscribeRequest$Type extends MessageType<SubscribeRequest> {\n constructor() {\n super(\"sid.v1.events.SubscribeRequest\", [\n { no: 1, name: \"event_types\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"filters\", kind: \"map\", K: 9 /*ScalarType.STRING*/, V: { kind: \"scalar\", T: 9 /*ScalarType.STRING*/ } }\n ]);\n }\n create(value?: PartialMessage<SubscribeRequest>): SubscribeRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.eventTypes = [];\n message.filters = {};\n if (value !== undefined)\n reflectionMergePartial<SubscribeRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubscribeRequest): SubscribeRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated string event_types */ 1:\n message.eventTypes.push(reader.string());\n break;\n case /* map<string, string> filters */ 2:\n this.binaryReadMap2(message.filters, reader, options);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n private binaryReadMap2(map: SubscribeRequest[\"filters\"], reader: IBinaryReader, options: BinaryReadOptions): void {\n let len = reader.uint32(), end = reader.pos + len, key: keyof SubscribeRequest[\"filters\"] | undefined, val: SubscribeRequest[\"filters\"][any] | undefined;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case 1:\n key = reader.string();\n break;\n case 2:\n val = reader.string();\n break;\n default: throw new globalThis.Error(\"unknown map entry field for sid.v1.events.SubscribeRequest.filters\");\n }\n }\n map[key ?? \"\"] = val ?? \"\";\n }\n internalBinaryWrite(message: SubscribeRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated string event_types = 1; */\n for (let i = 0; i < message.eventTypes.length; i++)\n writer.tag(1, WireType.LengthDelimited).string(message.eventTypes[i]);\n /* map<string, string> filters = 2; */\n for (let k of globalThis.Object.keys(message.filters))\n writer.tag(2, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.filters[k]).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.events.SubscribeRequest\n */\nexport const SubscribeRequest = new SubscribeRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ReplayRequest$Type extends MessageType<ReplayRequest> {\n constructor() {\n super(\"sid.v1.events.ReplayRequest\", [\n { no: 1, name: \"from\", kind: \"message\", T: () => Timestamp },\n { no: 2, name: \"to\", kind: \"message\", T: () => Timestamp },\n { no: 3, name: \"event_types\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ReplayRequest>): ReplayRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.eventTypes = [];\n if (value !== undefined)\n reflectionMergePartial<ReplayRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReplayRequest): ReplayRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* google.protobuf.Timestamp from */ 1:\n message.from = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.from);\n break;\n case /* optional google.protobuf.Timestamp to */ 2:\n message.to = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.to);\n break;\n case /* repeated string event_types */ 3:\n message.eventTypes.push(reader.string());\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ReplayRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* google.protobuf.Timestamp from = 1; */\n if (message.from)\n Timestamp.internalBinaryWrite(message.from, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* optional google.protobuf.Timestamp to = 2; */\n if (message.to)\n Timestamp.internalBinaryWrite(message.to, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n /* repeated string event_types = 3; */\n for (let i = 0; i < message.eventTypes.length; i++)\n writer.tag(3, WireType.LengthDelimited).string(message.eventTypes[i]);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.events.ReplayRequest\n */\nexport const ReplayRequest = new ReplayRequest$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.events.EventStreamService\n */\nexport const EventStreamService = new ServiceType(\"sid.v1.events.EventStreamService\", [\n { name: \"Subscribe\", idempotency: \"NO_SIDE_EFFECTS\", serverStreaming: true, options: { \"sid.v1.common.access\": { protected: { credentials: [\"CREDENTIAL_KIND_OWN_SESSION\"] } } }, I: SubscribeRequest, O: CloudEvent },\n { name: \"Replay\", idempotency: \"NO_SIDE_EFFECTS\", serverStreaming: true, options: { \"sid.v1.common.access\": { protected: { credentials: [\"CREDENTIAL_KIND_OWN_SESSION\"] } } }, I: ReplayRequest, O: CloudEvent }\n]);\n"]}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import type { CompleteFederatedEntryRequest } from "./entry.js";
|
|
2
|
+
import type { HttpBody } from "../../../google/api/httpbody.js";
|
|
3
|
+
import type { StartFederatedEntryRequest } from "./entry.js";
|
|
4
|
+
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
5
|
+
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
6
|
+
import type { ListSignInConnectionsResponse } from "./entry.js";
|
|
7
|
+
import type { ListSignInConnectionsRequest } from "./entry.js";
|
|
8
|
+
import type { Empty } from "../../../google/protobuf/empty.js";
|
|
9
|
+
import type { RemoveEntryConnectionRequest } from "./entry.js";
|
|
10
|
+
import type { UpdateEntryConnectionRequest } from "./entry.js";
|
|
11
|
+
import type { EntryConnection } from "./entry.js";
|
|
12
|
+
import type { CreateEntryConnectionRequest } from "./entry.js";
|
|
13
|
+
import type { ListEntryConnectionsResponse } from "./entry.js";
|
|
14
|
+
import type { ListEntryConnectionsRequest } from "./entry.js";
|
|
15
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
16
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
17
|
+
/**
|
|
18
|
+
* EntryConnectionService manages the installation's entry connections. Every
|
|
19
|
+
* RPC but ListSignInConnections requires the administrator role. A connection
|
|
20
|
+
* the installation's provisioning set (ENTRY_CONNECTION_OWNER_PROVISIONING)
|
|
21
|
+
* is listed and never created, changed or removed here.
|
|
22
|
+
*
|
|
23
|
+
* @generated from protobuf service sid.v1.federation.EntryConnectionService
|
|
24
|
+
*/
|
|
25
|
+
export interface IEntryConnectionServiceClient {
|
|
26
|
+
/**
|
|
27
|
+
* @generated from protobuf rpc: ListEntryConnections
|
|
28
|
+
*/
|
|
29
|
+
listEntryConnections(input: ListEntryConnectionsRequest, options?: RpcOptions): UnaryCall<ListEntryConnectionsRequest, ListEntryConnectionsResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* Register a connection. The answer names the callback to register at the
|
|
32
|
+
* issuer as this client's redirect URI. An issuer that already has a
|
|
33
|
+
* connection is refused: one issuer has one connection.
|
|
34
|
+
*
|
|
35
|
+
* @generated from protobuf rpc: CreateEntryConnection
|
|
36
|
+
*/
|
|
37
|
+
createEntryConnection(input: CreateEntryConnectionRequest, options?: RpcOptions): UnaryCall<CreateEntryConnectionRequest, EntryConnection>;
|
|
38
|
+
/**
|
|
39
|
+
* Change what may change in a connection: its name, its client and
|
|
40
|
+
* credential, whether it is enabled. Its issuer, source organization and
|
|
41
|
+
* callback are its identity: another issuer is another connection.
|
|
42
|
+
*
|
|
43
|
+
* @generated from protobuf rpc: UpdateEntryConnection
|
|
44
|
+
*/
|
|
45
|
+
updateEntryConnection(input: UpdateEntryConnectionRequest, options?: RpcOptions): UnaryCall<UpdateEntryConnectionRequest, EntryConnection>;
|
|
46
|
+
/**
|
|
47
|
+
* Remove a connection: entries started through it complete nothing.
|
|
48
|
+
*
|
|
49
|
+
* @generated from protobuf rpc: RemoveEntryConnection
|
|
50
|
+
*/
|
|
51
|
+
removeEntryConnection(input: RemoveEntryConnectionRequest, options?: RpcOptions): UnaryCall<RemoveEntryConnectionRequest, Empty>;
|
|
52
|
+
/**
|
|
53
|
+
* The enabled connections of one issuer of this installation, as its
|
|
54
|
+
* sign-in page offers them. Public: it names no issuer, client or
|
|
55
|
+
* organization.
|
|
56
|
+
*
|
|
57
|
+
* @generated from protobuf rpc: ListSignInConnections
|
|
58
|
+
*/
|
|
59
|
+
listSignInConnections(input: ListSignInConnectionsRequest, options?: RpcOptions): UnaryCall<ListSignInConnectionsRequest, ListSignInConnectionsResponse>;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* EntryConnectionService manages the installation's entry connections. Every
|
|
63
|
+
* RPC but ListSignInConnections requires the administrator role. A connection
|
|
64
|
+
* the installation's provisioning set (ENTRY_CONNECTION_OWNER_PROVISIONING)
|
|
65
|
+
* is listed and never created, changed or removed here.
|
|
66
|
+
*
|
|
67
|
+
* @generated from protobuf service sid.v1.federation.EntryConnectionService
|
|
68
|
+
*/
|
|
69
|
+
export declare class EntryConnectionServiceClient implements IEntryConnectionServiceClient, ServiceInfo {
|
|
70
|
+
private readonly _transport;
|
|
71
|
+
typeName: string;
|
|
72
|
+
methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
|
|
73
|
+
options: {
|
|
74
|
+
[extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
|
|
75
|
+
};
|
|
76
|
+
constructor(_transport: RpcTransport);
|
|
77
|
+
/**
|
|
78
|
+
* @generated from protobuf rpc: ListEntryConnections
|
|
79
|
+
*/
|
|
80
|
+
listEntryConnections(input: ListEntryConnectionsRequest, options?: RpcOptions): UnaryCall<ListEntryConnectionsRequest, ListEntryConnectionsResponse>;
|
|
81
|
+
/**
|
|
82
|
+
* Register a connection. The answer names the callback to register at the
|
|
83
|
+
* issuer as this client's redirect URI. An issuer that already has a
|
|
84
|
+
* connection is refused: one issuer has one connection.
|
|
85
|
+
*
|
|
86
|
+
* @generated from protobuf rpc: CreateEntryConnection
|
|
87
|
+
*/
|
|
88
|
+
createEntryConnection(input: CreateEntryConnectionRequest, options?: RpcOptions): UnaryCall<CreateEntryConnectionRequest, EntryConnection>;
|
|
89
|
+
/**
|
|
90
|
+
* Change what may change in a connection: its name, its client and
|
|
91
|
+
* credential, whether it is enabled. Its issuer, source organization and
|
|
92
|
+
* callback are its identity: another issuer is another connection.
|
|
93
|
+
*
|
|
94
|
+
* @generated from protobuf rpc: UpdateEntryConnection
|
|
95
|
+
*/
|
|
96
|
+
updateEntryConnection(input: UpdateEntryConnectionRequest, options?: RpcOptions): UnaryCall<UpdateEntryConnectionRequest, EntryConnection>;
|
|
97
|
+
/**
|
|
98
|
+
* Remove a connection: entries started through it complete nothing.
|
|
99
|
+
*
|
|
100
|
+
* @generated from protobuf rpc: RemoveEntryConnection
|
|
101
|
+
*/
|
|
102
|
+
removeEntryConnection(input: RemoveEntryConnectionRequest, options?: RpcOptions): UnaryCall<RemoveEntryConnectionRequest, Empty>;
|
|
103
|
+
/**
|
|
104
|
+
* The enabled connections of one issuer of this installation, as its
|
|
105
|
+
* sign-in page offers them. Public: it names no issuer, client or
|
|
106
|
+
* organization.
|
|
107
|
+
*
|
|
108
|
+
* @generated from protobuf rpc: ListSignInConnections
|
|
109
|
+
*/
|
|
110
|
+
listSignInConnections(input: ListSignInConnectionsRequest, options?: RpcOptions): UnaryCall<ListSignInConnectionsRequest, ListSignInConnectionsResponse>;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* FederatedEntryService carries one sign-in through a connection (OpenID
|
|
114
|
+
* Connect Core 1.0 §3.1). Both endpoints are browser navigations below the
|
|
115
|
+
* installation issuer the user signs in at: under `/i/{issuer_handle}` for a
|
|
116
|
+
* scoped issuer, at the root for the installation's root-addressed base
|
|
117
|
+
* issuer, and never a route of another issuer. They read no session cookie;
|
|
118
|
+
* the return completes only the entry its state names.
|
|
119
|
+
*
|
|
120
|
+
* @generated from protobuf service sid.v1.federation.FederatedEntryService
|
|
121
|
+
*/
|
|
122
|
+
export interface IFederatedEntryServiceClient {
|
|
123
|
+
/**
|
|
124
|
+
* Start an entry: a redirect to the connection's issuer, asking for the
|
|
125
|
+
* subject, nonce and PKCE challenge of this entry. The entry continues at
|
|
126
|
+
* `rd`, which must be an authorization continuation of this same
|
|
127
|
+
* installation issuer; anything else is answered with a page, never
|
|
128
|
+
* redirected. Each call starts a new entry.
|
|
129
|
+
*
|
|
130
|
+
* @generated from protobuf rpc: StartFederatedEntry
|
|
131
|
+
*/
|
|
132
|
+
startFederatedEntry(input: StartFederatedEntryRequest, options?: RpcOptions): UnaryCall<StartFederatedEntryRequest, HttpBody>;
|
|
133
|
+
/**
|
|
134
|
+
* The issuer's return (OpenID Connect Core 1.0 §3.1.2.5) to the
|
|
135
|
+
* installation issuer's one callback: the entry its `state` names is
|
|
136
|
+
* completed once, through the connection it was started through. A return
|
|
137
|
+
* must name the issuer it comes from (`iss`, RFC 9207 §2), and that is
|
|
138
|
+
* the connection's issuer exactly: several issuers return to this one
|
|
139
|
+
* callback. An admitted entry answers with the session
|
|
140
|
+
* cookie and a redirect to the authorization it continues; a refused,
|
|
141
|
+
* unknown or replayed one with a page and no session. An error return
|
|
142
|
+
* (`error`) completes nothing (§3.1.2.6).
|
|
143
|
+
*
|
|
144
|
+
* @generated from protobuf rpc: CompleteFederatedEntry
|
|
145
|
+
*/
|
|
146
|
+
completeFederatedEntry(input: CompleteFederatedEntryRequest, options?: RpcOptions): UnaryCall<CompleteFederatedEntryRequest, HttpBody>;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* FederatedEntryService carries one sign-in through a connection (OpenID
|
|
150
|
+
* Connect Core 1.0 §3.1). Both endpoints are browser navigations below the
|
|
151
|
+
* installation issuer the user signs in at: under `/i/{issuer_handle}` for a
|
|
152
|
+
* scoped issuer, at the root for the installation's root-addressed base
|
|
153
|
+
* issuer, and never a route of another issuer. They read no session cookie;
|
|
154
|
+
* the return completes only the entry its state names.
|
|
155
|
+
*
|
|
156
|
+
* @generated from protobuf service sid.v1.federation.FederatedEntryService
|
|
157
|
+
*/
|
|
158
|
+
export declare class FederatedEntryServiceClient implements IFederatedEntryServiceClient, ServiceInfo {
|
|
159
|
+
private readonly _transport;
|
|
160
|
+
typeName: string;
|
|
161
|
+
methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
|
|
162
|
+
options: {
|
|
163
|
+
[extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
|
|
164
|
+
};
|
|
165
|
+
constructor(_transport: RpcTransport);
|
|
166
|
+
/**
|
|
167
|
+
* Start an entry: a redirect to the connection's issuer, asking for the
|
|
168
|
+
* subject, nonce and PKCE challenge of this entry. The entry continues at
|
|
169
|
+
* `rd`, which must be an authorization continuation of this same
|
|
170
|
+
* installation issuer; anything else is answered with a page, never
|
|
171
|
+
* redirected. Each call starts a new entry.
|
|
172
|
+
*
|
|
173
|
+
* @generated from protobuf rpc: StartFederatedEntry
|
|
174
|
+
*/
|
|
175
|
+
startFederatedEntry(input: StartFederatedEntryRequest, options?: RpcOptions): UnaryCall<StartFederatedEntryRequest, HttpBody>;
|
|
176
|
+
/**
|
|
177
|
+
* The issuer's return (OpenID Connect Core 1.0 §3.1.2.5) to the
|
|
178
|
+
* installation issuer's one callback: the entry its `state` names is
|
|
179
|
+
* completed once, through the connection it was started through. A return
|
|
180
|
+
* must name the issuer it comes from (`iss`, RFC 9207 §2), and that is
|
|
181
|
+
* the connection's issuer exactly: several issuers return to this one
|
|
182
|
+
* callback. An admitted entry answers with the session
|
|
183
|
+
* cookie and a redirect to the authorization it continues; a refused,
|
|
184
|
+
* unknown or replayed one with a page and no session. An error return
|
|
185
|
+
* (`error`) completes nothing (§3.1.2.6).
|
|
186
|
+
*
|
|
187
|
+
* @generated from protobuf rpc: CompleteFederatedEntry
|
|
188
|
+
*/
|
|
189
|
+
completeFederatedEntry(input: CompleteFederatedEntryRequest, options?: RpcOptions): UnaryCall<CompleteFederatedEntryRequest, HttpBody>;
|
|
190
|
+
}
|