@structured-id/proto 0.20.0 → 0.21.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/admin/enrollment.d.ts +0 -8
- package/dist/generated/sid/v1/admin/enrollment.js +1 -9
- package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
- package/dist/generated/sid/v1/admin/settings.client.d.ts +69 -1
- package/dist/generated/sid/v1/admin/settings.client.js +61 -17
- package/dist/generated/sid/v1/admin/settings.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/settings.d.ts +205 -12
- package/dist/generated/sid/v1/admin/settings.js +313 -31
- package/dist/generated/sid/v1/admin/settings.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.client.d.ts +25 -0
- package/dist/generated/sid/v1/authn/auth.client.js +55 -40
- package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.d.ts +41 -1
- package/dist/generated/sid/v1/authn/auth.js +64 -1
- package/dist/generated/sid/v1/authn/auth.js.map +1 -1
- package/package.json +1 -1
|
@@ -12,6 +12,10 @@ import { OrgId } from "../ids/ids.js";
|
|
|
12
12
|
export interface GetRealmRequest {
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
+
* Pre-release messages are numbered from 1 in declaration order; every
|
|
16
|
+
* producer and consumer is regenerated with each change, so no old encoding
|
|
17
|
+
* is in circulation to reserve numbers for.
|
|
18
|
+
*
|
|
15
19
|
* @generated from protobuf message sid.v1.admin.RealmSettings
|
|
16
20
|
*/
|
|
17
21
|
export interface RealmSettings {
|
|
@@ -24,15 +28,11 @@ export interface RealmSettings {
|
|
|
24
28
|
*/
|
|
25
29
|
displayName: string;
|
|
26
30
|
/**
|
|
27
|
-
* @generated from protobuf field:
|
|
28
|
-
*/
|
|
29
|
-
frontendUrl: string;
|
|
30
|
-
/**
|
|
31
|
-
* @generated from protobuf field: bool enabled = 4
|
|
31
|
+
* @generated from protobuf field: bool enabled = 3
|
|
32
32
|
*/
|
|
33
33
|
enabled: boolean;
|
|
34
34
|
/**
|
|
35
|
-
* @generated from protobuf field: bool user_managed_access =
|
|
35
|
+
* @generated from protobuf field: bool user_managed_access = 4
|
|
36
36
|
*/
|
|
37
37
|
userManagedAccess: boolean;
|
|
38
38
|
}
|
|
@@ -45,18 +45,138 @@ export interface UpdateRealmRequest {
|
|
|
45
45
|
*/
|
|
46
46
|
displayName?: string;
|
|
47
47
|
/**
|
|
48
|
-
* @generated from protobuf field: optional
|
|
49
|
-
*/
|
|
50
|
-
frontendUrl?: string;
|
|
51
|
-
/**
|
|
52
|
-
* @generated from protobuf field: optional bool enabled = 3
|
|
48
|
+
* @generated from protobuf field: optional bool enabled = 2
|
|
53
49
|
*/
|
|
54
50
|
enabled?: boolean;
|
|
55
51
|
/**
|
|
56
|
-
* @generated from protobuf field: optional bool user_managed_access =
|
|
52
|
+
* @generated from protobuf field: optional bool user_managed_access = 3
|
|
57
53
|
*/
|
|
58
54
|
userManagedAccess?: boolean;
|
|
59
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* The installation's browser-facing addresses.
|
|
58
|
+
*
|
|
59
|
+
* @generated from protobuf message sid.v1.admin.InstallationAddresses
|
|
60
|
+
*/
|
|
61
|
+
export interface InstallationAddresses {
|
|
62
|
+
/**
|
|
63
|
+
* The URL browsers reach the installation at: its sign-in pages, the
|
|
64
|
+
* session cookie's host and the base of every address it builds. The
|
|
65
|
+
* installation's own URL unless an administrator set another one for a
|
|
66
|
+
* deployment behind a reverse proxy; never derived from a request's Host
|
|
67
|
+
* or forwarded headers. Absolute https URL (http on a loopback host), no
|
|
68
|
+
* credentials, query or fragment.
|
|
69
|
+
*
|
|
70
|
+
* @generated from protobuf field: string public_url = 1
|
|
71
|
+
*/
|
|
72
|
+
publicUrl: string;
|
|
73
|
+
/**
|
|
74
|
+
* Whether public_url is an administrator's override rather than the
|
|
75
|
+
* installation's own URL.
|
|
76
|
+
*
|
|
77
|
+
* @generated from protobuf field: bool public_url_overridden = 2
|
|
78
|
+
*/
|
|
79
|
+
publicUrlOverridden: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Where the administration console is served: an origin and base path,
|
|
82
|
+
* such as `https://sid.example.com/admin/` (the default), another prefix
|
|
83
|
+
* on that origin, or the root of an admin host on the same site
|
|
84
|
+
* (`https://admin.example.com/`). Always ends with `/`. The console calls
|
|
85
|
+
* the installation's cookie-owning endpoint, so a host on another site is
|
|
86
|
+
* refused: a browser would not send it the session.
|
|
87
|
+
*
|
|
88
|
+
* @generated from protobuf field: string console_url = 3
|
|
89
|
+
*/
|
|
90
|
+
consoleUrl: string;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The addresses to change; an absent field keeps its stored value.
|
|
94
|
+
*
|
|
95
|
+
* @generated from protobuf message sid.v1.admin.UpdateInstallationAddressesRequest
|
|
96
|
+
*/
|
|
97
|
+
export interface UpdateInstallationAddressesRequest {
|
|
98
|
+
/**
|
|
99
|
+
* A new public URL override (see InstallationAddresses.public_url); an
|
|
100
|
+
* empty string removes the override.
|
|
101
|
+
*
|
|
102
|
+
* @generated from protobuf field: optional string public_url = 1
|
|
103
|
+
*/
|
|
104
|
+
publicUrl?: string;
|
|
105
|
+
/**
|
|
106
|
+
* A new console address (see InstallationAddresses.console_url); an empty
|
|
107
|
+
* string restores the default.
|
|
108
|
+
*
|
|
109
|
+
* @generated from protobuf field: optional string console_url = 2
|
|
110
|
+
*/
|
|
111
|
+
consoleUrl?: string;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* The installation's session cookie scope as an administrator reads it.
|
|
115
|
+
*
|
|
116
|
+
* @generated from protobuf message sid.v1.admin.SessionCookieScope
|
|
117
|
+
*/
|
|
118
|
+
export interface SessionCookieScope {
|
|
119
|
+
/**
|
|
120
|
+
* The selected scope.
|
|
121
|
+
*
|
|
122
|
+
* @generated from protobuf field: sid.v1.admin.SessionCookieDomain domain = 1
|
|
123
|
+
*/
|
|
124
|
+
domain: SessionCookieDomain;
|
|
125
|
+
/**
|
|
126
|
+
* The base domain the scope derives from: the public URL's host.
|
|
127
|
+
* Server-derived, shown so the administrator sees what "this domain"
|
|
128
|
+
* means.
|
|
129
|
+
*
|
|
130
|
+
* @generated from protobuf field: string base_domain = 2
|
|
131
|
+
*/
|
|
132
|
+
baseDomain: string;
|
|
133
|
+
/**
|
|
134
|
+
* Full host names admitted under SELECTED_SUBDOMAINS, each a descendant
|
|
135
|
+
* of base_domain, lowercase. Empty otherwise.
|
|
136
|
+
*
|
|
137
|
+
* @generated from protobuf field: repeated string subdomains = 3
|
|
138
|
+
*/
|
|
139
|
+
subdomains: string[];
|
|
140
|
+
/**
|
|
141
|
+
* A regular expression admitting full host names under
|
|
142
|
+
* SELECTED_SUBDOMAINS, matched against the whole normalized name of a
|
|
143
|
+
* descendant of base_domain. Empty when unused.
|
|
144
|
+
*
|
|
145
|
+
* @generated from protobuf field: string subdomain_pattern = 4
|
|
146
|
+
*/
|
|
147
|
+
subdomainPattern: string;
|
|
148
|
+
/**
|
|
149
|
+
* Changes of the scope so far; 0 while never changed.
|
|
150
|
+
*
|
|
151
|
+
* @generated from protobuf field: uint64 revision = 5
|
|
152
|
+
*/
|
|
153
|
+
revision: bigint;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* The scope to set, replacing the stored one whole.
|
|
157
|
+
*
|
|
158
|
+
* @generated from protobuf message sid.v1.admin.UpdateSessionCookieScopeRequest
|
|
159
|
+
*/
|
|
160
|
+
export interface UpdateSessionCookieScopeRequest {
|
|
161
|
+
/**
|
|
162
|
+
* The scope; UNSPECIFIED is refused.
|
|
163
|
+
*
|
|
164
|
+
* @generated from protobuf field: sid.v1.admin.SessionCookieDomain domain = 1
|
|
165
|
+
*/
|
|
166
|
+
domain: SessionCookieDomain;
|
|
167
|
+
/**
|
|
168
|
+
* As SessionCookieScope.subdomains; only with SELECTED_SUBDOMAINS.
|
|
169
|
+
*
|
|
170
|
+
* @generated from protobuf field: repeated string subdomains = 2
|
|
171
|
+
*/
|
|
172
|
+
subdomains: string[];
|
|
173
|
+
/**
|
|
174
|
+
* As SessionCookieScope.subdomain_pattern; only with SELECTED_SUBDOMAINS.
|
|
175
|
+
*
|
|
176
|
+
* @generated from protobuf field: string subdomain_pattern = 3
|
|
177
|
+
*/
|
|
178
|
+
subdomainPattern: string;
|
|
179
|
+
}
|
|
60
180
|
/**
|
|
61
181
|
* @generated from protobuf message sid.v1.admin.GetLoginSettingsRequest
|
|
62
182
|
*/
|
|
@@ -785,6 +905,39 @@ export interface ImportPreviewResponse {
|
|
|
785
905
|
*/
|
|
786
906
|
conflicts: string[];
|
|
787
907
|
}
|
|
908
|
+
/**
|
|
909
|
+
* Where the installation's browser session cookie is sent.
|
|
910
|
+
*
|
|
911
|
+
* @generated from protobuf enum sid.v1.admin.SessionCookieDomain
|
|
912
|
+
*/
|
|
913
|
+
export declare enum SessionCookieDomain {
|
|
914
|
+
/**
|
|
915
|
+
* @generated from protobuf enum value: SESSION_COOKIE_DOMAIN_UNSPECIFIED = 0;
|
|
916
|
+
*/
|
|
917
|
+
UNSPECIFIED = 0,
|
|
918
|
+
/**
|
|
919
|
+
* The exact public host only (host-only cookie, the default).
|
|
920
|
+
*
|
|
921
|
+
* @generated from protobuf enum value: SESSION_COOKIE_DOMAIN_THIS_HOST = 1;
|
|
922
|
+
*/
|
|
923
|
+
THIS_HOST = 1,
|
|
924
|
+
/**
|
|
925
|
+
* The base domain and every subdomain, including future ones: the cookie
|
|
926
|
+
* carries `Domain` and reaches every server under it.
|
|
927
|
+
*
|
|
928
|
+
* @generated from protobuf enum value: SESSION_COOKIE_DOMAIN_ALL_SUBDOMAINS = 2;
|
|
929
|
+
*/
|
|
930
|
+
ALL_SUBDOMAINS = 2,
|
|
931
|
+
/**
|
|
932
|
+
* The base domain and the subdomains that match `subdomains` or
|
|
933
|
+
* `subdomain_pattern`: each such host establishes its own host-only
|
|
934
|
+
* cookie through the installation's session endpoint served there; no
|
|
935
|
+
* other host receives one.
|
|
936
|
+
*
|
|
937
|
+
* @generated from protobuf enum value: SESSION_COOKIE_DOMAIN_SELECTED_SUBDOMAINS = 3;
|
|
938
|
+
*/
|
|
939
|
+
SELECTED_SUBDOMAINS = 3
|
|
940
|
+
}
|
|
788
941
|
/**
|
|
789
942
|
* @generated from protobuf enum sid.v1.admin.RequiredAction
|
|
790
943
|
*/
|
|
@@ -930,6 +1083,46 @@ declare class UpdateRealmRequest$Type extends MessageType<UpdateRealmRequest> {
|
|
|
930
1083
|
* @generated MessageType for protobuf message sid.v1.admin.UpdateRealmRequest
|
|
931
1084
|
*/
|
|
932
1085
|
export declare const UpdateRealmRequest: UpdateRealmRequest$Type;
|
|
1086
|
+
declare class InstallationAddresses$Type extends MessageType<InstallationAddresses> {
|
|
1087
|
+
constructor();
|
|
1088
|
+
create(value?: PartialMessage<InstallationAddresses>): InstallationAddresses;
|
|
1089
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationAddresses): InstallationAddresses;
|
|
1090
|
+
internalBinaryWrite(message: InstallationAddresses, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1091
|
+
}
|
|
1092
|
+
/**
|
|
1093
|
+
* @generated MessageType for protobuf message sid.v1.admin.InstallationAddresses
|
|
1094
|
+
*/
|
|
1095
|
+
export declare const InstallationAddresses: InstallationAddresses$Type;
|
|
1096
|
+
declare class UpdateInstallationAddressesRequest$Type extends MessageType<UpdateInstallationAddressesRequest> {
|
|
1097
|
+
constructor();
|
|
1098
|
+
create(value?: PartialMessage<UpdateInstallationAddressesRequest>): UpdateInstallationAddressesRequest;
|
|
1099
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateInstallationAddressesRequest): UpdateInstallationAddressesRequest;
|
|
1100
|
+
internalBinaryWrite(message: UpdateInstallationAddressesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1101
|
+
}
|
|
1102
|
+
/**
|
|
1103
|
+
* @generated MessageType for protobuf message sid.v1.admin.UpdateInstallationAddressesRequest
|
|
1104
|
+
*/
|
|
1105
|
+
export declare const UpdateInstallationAddressesRequest: UpdateInstallationAddressesRequest$Type;
|
|
1106
|
+
declare class SessionCookieScope$Type extends MessageType<SessionCookieScope> {
|
|
1107
|
+
constructor();
|
|
1108
|
+
create(value?: PartialMessage<SessionCookieScope>): SessionCookieScope;
|
|
1109
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SessionCookieScope): SessionCookieScope;
|
|
1110
|
+
internalBinaryWrite(message: SessionCookieScope, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1111
|
+
}
|
|
1112
|
+
/**
|
|
1113
|
+
* @generated MessageType for protobuf message sid.v1.admin.SessionCookieScope
|
|
1114
|
+
*/
|
|
1115
|
+
export declare const SessionCookieScope: SessionCookieScope$Type;
|
|
1116
|
+
declare class UpdateSessionCookieScopeRequest$Type extends MessageType<UpdateSessionCookieScopeRequest> {
|
|
1117
|
+
constructor();
|
|
1118
|
+
create(value?: PartialMessage<UpdateSessionCookieScopeRequest>): UpdateSessionCookieScopeRequest;
|
|
1119
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateSessionCookieScopeRequest): UpdateSessionCookieScopeRequest;
|
|
1120
|
+
internalBinaryWrite(message: UpdateSessionCookieScopeRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1121
|
+
}
|
|
1122
|
+
/**
|
|
1123
|
+
* @generated MessageType for protobuf message sid.v1.admin.UpdateSessionCookieScopeRequest
|
|
1124
|
+
*/
|
|
1125
|
+
export declare const UpdateSessionCookieScopeRequest: UpdateSessionCookieScopeRequest$Type;
|
|
933
1126
|
declare class GetLoginSettingsRequest$Type extends MessageType<GetLoginSettingsRequest> {
|
|
934
1127
|
constructor();
|
|
935
1128
|
create(value?: PartialMessage<GetLoginSettingsRequest>): GetLoginSettingsRequest;
|