@structured-id/ui-core 2.0.0 → 3.0.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/README.md +22 -10
- package/package.json +25 -43
- package/src/components/SidStatusBadge.vue +1 -5
- package/src/composables/useAccountTransport.test.ts +2 -1
- package/src/composables/useGrpc.test.ts +17 -14
- package/src/composables/useGrpc.ts +4 -2
- package/src/index.ts +2 -120
- package/src/profile/components/ConsentManager.vue +5 -1
- package/src/profile/components/ProfileEditor.vue +1 -1
- package/src/profile/components/SecuritySettings.vue +5 -1
- package/src/profile/components/SessionList.vue +2 -1
- package/src/profile/components/SidRegistrationForm.test.ts +173 -1
- package/src/profile/components/SidRegistrationForm.vue +88 -32
- package/src/profile/components/index.ts +1 -4
- package/src/profile/composables/index.ts +1 -0
- package/src/profile/composables/operationPlan.test.ts +155 -0
- package/src/profile/composables/operationPlan.ts +218 -0
- package/src/profile/composables/useAccountApi.ts +4 -4
- package/src/profile/composables/useAuth.test.ts +312 -31
- package/src/profile/composables/useAuth.ts +176 -30
- package/src/profile/composables/useAuthApi.opaque.test.ts +13 -6
- package/src/profile/composables/useAuthApi.ts +40 -18
- package/src/profile/composables/useCurrentPasswordRequirement.test.ts +196 -0
- package/src/profile/composables/useCurrentPasswordRequirement.ts +95 -0
- package/src/profile/composables/useEnrollmentApi.test.ts +7 -3
- package/src/profile/composables/useEnrollmentApi.ts +3 -5
- package/src/profile/composables/useIdentityApi.ts +4 -4
- package/src/profile/composables/useSecurityLevel.test.ts +1 -1
- package/src/profile/composables/useSecurityLevel.ts +1 -1
- package/src/quasar/SidPasswordCeremony.test.ts +253 -0
- package/src/quasar/SidPasswordCeremony.vue +456 -0
- package/src/quasar/index.ts +2 -0
- package/src/utils/rpcRefusal.test.ts +4 -4
- package/src/utils/rpcRefusal.ts +8 -4
- package/dist/browser-vp/index.cjs +0 -349
- package/dist/browser-vp/index.d.cts +0 -276
- package/dist/browser-vp/index.d.ts +0 -276
- package/dist/browser-vp/index.js +0 -349
- package/dist/chunk-C3Q766CY.cjs +0 -125
- package/dist/chunk-J5YXRXB5.js +0 -125
- package/dist/index.cjs +0 -23581
- package/dist/index.d.cts +0 -11539
- package/dist/index.d.ts +0 -11539
- package/dist/index.js +0 -23581
- package/dist/storage-4CB2JTLW.cjs +0 -22
- package/dist/storage-THRWREZP.js +0 -22
- package/src/browser-vp/crypto.ts +0 -253
- package/src/browser-vp/index.test.ts +0 -10
- package/src/browser-vp/index.ts +0 -116
- package/src/browser-vp/prf.ts +0 -179
- package/src/browser-vp/storage.test.ts +0 -9
- package/src/browser-vp/storage.ts +0 -163
- package/src/browser-vp/types.ts +0 -95
- package/src/browser-vp/vp.test.ts +0 -43
- package/src/browser-vp/vp.ts +0 -111
- package/src/generated/google/api/http.ts +0 -687
- package/src/generated/google/api/httpbody.ts +0 -159
- package/src/generated/google/protobuf/any.ts +0 -326
- package/src/generated/google/protobuf/descriptor.ts +0 -4865
- package/src/generated/google/protobuf/duration.ts +0 -230
- package/src/generated/google/protobuf/empty.ts +0 -94
- package/src/generated/google/protobuf/struct.ts +0 -484
- package/src/generated/google/protobuf/timestamp.ts +0 -287
- package/src/generated/google/rpc/error_details.ts +0 -1386
- package/src/generated/google/rpc/status.ts +0 -127
- package/src/generated/sid/v1/account/account.client.ts +0 -527
- package/src/generated/sid/v1/account/account.ts +0 -3261
- package/src/generated/sid/v1/admin/admin.client.ts +0 -139
- package/src/generated/sid/v1/admin/admin.ts +0 -781
- package/src/generated/sid/v1/admin/admin_roles.client.ts +0 -181
- package/src/generated/sid/v1/admin/admin_roles.ts +0 -1606
- package/src/generated/sid/v1/admin/analytics.client.ts +0 -106
- package/src/generated/sid/v1/admin/analytics.ts +0 -1017
- package/src/generated/sid/v1/admin/branding.client.ts +0 -166
- package/src/generated/sid/v1/admin/branding.ts +0 -1906
- package/src/generated/sid/v1/admin/enrollment.client.ts +0 -177
- package/src/generated/sid/v1/admin/enrollment.ts +0 -1766
- package/src/generated/sid/v1/admin/events.client.ts +0 -195
- package/src/generated/sid/v1/admin/events.ts +0 -1900
- package/src/generated/sid/v1/admin/flow.client.ts +0 -183
- package/src/generated/sid/v1/admin/flow.ts +0 -1552
- package/src/generated/sid/v1/admin/keys.client.ts +0 -107
- package/src/generated/sid/v1/admin/keys.ts +0 -931
- package/src/generated/sid/v1/admin/login_experience.client.ts +0 -160
- package/src/generated/sid/v1/admin/login_experience.ts +0 -1061
- package/src/generated/sid/v1/admin/migration.client.ts +0 -127
- package/src/generated/sid/v1/admin/migration.ts +0 -1948
- package/src/generated/sid/v1/admin/notifications.client.ts +0 -134
- package/src/generated/sid/v1/admin/notifications.ts +0 -1273
- package/src/generated/sid/v1/admin/operations.client.ts +0 -241
- package/src/generated/sid/v1/admin/operations.ts +0 -2633
- package/src/generated/sid/v1/admin/organizations.client.ts +0 -57
- package/src/generated/sid/v1/admin/organizations.ts +0 -332
- package/src/generated/sid/v1/admin/provisioning.client.ts +0 -232
- package/src/generated/sid/v1/admin/provisioning.ts +0 -1383
- package/src/generated/sid/v1/admin/scopes.client.ts +0 -171
- package/src/generated/sid/v1/admin/scopes.ts +0 -1324
- package/src/generated/sid/v1/admin/security.client.ts +0 -410
- package/src/generated/sid/v1/admin/security.ts +0 -4077
- package/src/generated/sid/v1/admin/sessions.client.ts +0 -114
- package/src/generated/sid/v1/admin/sessions.ts +0 -923
- package/src/generated/sid/v1/admin/settings.client.ts +0 -351
- package/src/generated/sid/v1/admin/settings.ts +0 -2458
- package/src/generated/sid/v1/admin/user_profile.client.ts +0 -57
- package/src/generated/sid/v1/admin/user_profile.ts +0 -730
- package/src/generated/sid/v1/admin/webhooks.client.ts +0 -269
- package/src/generated/sid/v1/admin/webhooks.ts +0 -2804
- package/src/generated/sid/v1/attestation/attestation.client.ts +0 -115
- package/src/generated/sid/v1/attestation/attestation.ts +0 -813
- package/src/generated/sid/v1/authn/auth.client.ts +0 -943
- package/src/generated/sid/v1/authn/auth.ts +0 -9719
- package/src/generated/sid/v1/authn/flows.client.ts +0 -413
- package/src/generated/sid/v1/authn/flows.ts +0 -3205
- package/src/generated/sid/v1/authn/issuer.client.ts +0 -489
- package/src/generated/sid/v1/authn/issuer.ts +0 -1600
- package/src/generated/sid/v1/authn/password_history.client.ts +0 -57
- package/src/generated/sid/v1/authn/password_history.ts +0 -578
- package/src/generated/sid/v1/authn/system_integration.client.ts +0 -73
- package/src/generated/sid/v1/authn/system_integration.ts +0 -218
- package/src/generated/sid/v1/authz/authz.client.ts +0 -459
- package/src/generated/sid/v1/authz/authz.ts +0 -6524
- package/src/generated/sid/v1/authz/forward_auth.client.ts +0 -97
- package/src/generated/sid/v1/authz/forward_auth.ts +0 -79
- package/src/generated/sid/v1/authz/governance.client.ts +0 -102
- package/src/generated/sid/v1/authz/governance.ts +0 -875
- package/src/generated/sid/v1/common/errors.ts +0 -710
- package/src/generated/sid/v1/common/pagination.ts +0 -152
- package/src/generated/sid/v1/common/transport.ts +0 -227
- package/src/generated/sid/v1/common/types.ts +0 -151
- package/src/generated/sid/v1/events/event_stream.client.ts +0 -67
- package/src/generated/sid/v1/events/event_stream.ts +0 -375
- package/src/generated/sid/v1/federation/upstream.client.ts +0 -142
- package/src/generated/sid/v1/federation/upstream.ts +0 -1736
- package/src/generated/sid/v1/identity/identity.client.ts +0 -467
- package/src/generated/sid/v1/identity/identity.ts +0 -5676
- package/src/generated/sid/v1/ids/ids.ts +0 -395
- package/src/generated/sid/v1/machine/machine_user.client.ts +0 -219
- package/src/generated/sid/v1/machine/machine_user.ts +0 -2364
- package/src/generated/sid/v1/machine/pat.client.ts +0 -130
- package/src/generated/sid/v1/machine/pat.ts +0 -1083
- package/src/generated/sid/v1/projects/projects.client.ts +0 -404
- package/src/generated/sid/v1/projects/projects.ts +0 -4446
- package/src/generated/sid/v1/scim/scim.client.ts +0 -520
- package/src/generated/sid/v1/scim/scim.ts +0 -3182
- package/src/generated/sid/v1/test/test.client.ts +0 -232
- package/src/generated/sid/v1/test/test.ts +0 -1136
- package/src/transport/adaptive.test.ts +0 -728
- package/src/transport/adaptive.ts +0 -308
- package/src/transport/framing.test.ts +0 -227
- package/src/transport/framing.ts +0 -98
- package/src/transport/webtransport.test.ts +0 -728
- package/src/transport/webtransport.ts +0 -323
|
@@ -1,3182 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "sid/v1/scim/scim.proto" (package "sid.v1.scim", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
import { Empty } from "../../../google/protobuf/empty";
|
|
5
|
-
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
7
|
-
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
8
|
-
import { WireType } from "@protobuf-ts/runtime";
|
|
9
|
-
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
10
|
-
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
11
|
-
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
12
|
-
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
13
|
-
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
14
|
-
import { MessageType } from "@protobuf-ts/runtime";
|
|
15
|
-
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
16
|
-
import { HttpBody } from "../../../google/api/httpbody";
|
|
17
|
-
/**
|
|
18
|
-
* A request to the SCIM HTTP endpoint: what its path, query and body carry.
|
|
19
|
-
*
|
|
20
|
-
* @generated from protobuf message sid.v1.scim.ScimHttpRequest
|
|
21
|
-
*/
|
|
22
|
-
export interface ScimHttpRequest {
|
|
23
|
-
/**
|
|
24
|
-
* The resource identifier from the path (`/Users/{id}`, `/Groups/{id}`);
|
|
25
|
-
* empty for an endpoint without one.
|
|
26
|
-
*
|
|
27
|
-
* @generated from protobuf field: string id = 1
|
|
28
|
-
*/
|
|
29
|
-
id: string;
|
|
30
|
-
/**
|
|
31
|
-
* The request body as the client sent it, with its `Content-Type`; absent
|
|
32
|
-
* for a request without one (GET, DELETE).
|
|
33
|
-
*
|
|
34
|
-
* @generated from protobuf field: google.api.HttpBody body = 2
|
|
35
|
-
*/
|
|
36
|
-
body?: HttpBody;
|
|
37
|
-
/**
|
|
38
|
-
* The `filter` query parameter of a query (RFC 7644 §3.4.2.2).
|
|
39
|
-
*
|
|
40
|
-
* @generated from protobuf field: string filter = 3
|
|
41
|
-
*/
|
|
42
|
-
filter: string;
|
|
43
|
-
/**
|
|
44
|
-
* The `startIndex` query parameter: the 1-based index of the first result
|
|
45
|
-
* (RFC 7644 §3.4.2.4); 0 when absent, read as 1.
|
|
46
|
-
*
|
|
47
|
-
* @generated from protobuf field: int32 start_index = 4
|
|
48
|
-
*/
|
|
49
|
-
startIndex: number;
|
|
50
|
-
/**
|
|
51
|
-
* The `count` query parameter: the most results wanted (RFC 7644
|
|
52
|
-
* §3.4.2.4); absent means the service provider's default, and 0 asks for
|
|
53
|
-
* `totalResults` alone.
|
|
54
|
-
*
|
|
55
|
-
* @generated from protobuf field: optional int32 count = 5
|
|
56
|
-
*/
|
|
57
|
-
count?: number;
|
|
58
|
-
}
|
|
59
|
-
// ── User Messages ──
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* SCIM User resource (RFC 7643 §4.1).
|
|
63
|
-
*
|
|
64
|
-
* @generated from protobuf message sid.v1.scim.ScimUser
|
|
65
|
-
*/
|
|
66
|
-
export interface ScimUser {
|
|
67
|
-
/**
|
|
68
|
-
* SID ProfileId (read-only, assigned by SID).
|
|
69
|
-
*
|
|
70
|
-
* @generated from protobuf field: string id = 1
|
|
71
|
-
*/
|
|
72
|
-
id: string;
|
|
73
|
-
/**
|
|
74
|
-
* External identifier from the provisioning source (e.g., employee_id).
|
|
75
|
-
*
|
|
76
|
-
* @generated from protobuf field: string external_id = 2
|
|
77
|
-
*/
|
|
78
|
-
externalId: string;
|
|
79
|
-
/**
|
|
80
|
-
* Login handle (maps to Profile.username).
|
|
81
|
-
*
|
|
82
|
-
* @generated from protobuf field: string user_name = 3
|
|
83
|
-
*/
|
|
84
|
-
userName: string;
|
|
85
|
-
/**
|
|
86
|
-
* Structured name components.
|
|
87
|
-
*
|
|
88
|
-
* @generated from protobuf field: sid.v1.scim.ScimName name = 4
|
|
89
|
-
*/
|
|
90
|
-
name?: ScimName;
|
|
91
|
-
/**
|
|
92
|
-
* Display name (maps to Profile.display_name).
|
|
93
|
-
*
|
|
94
|
-
* @generated from protobuf field: string display_name = 5
|
|
95
|
-
*/
|
|
96
|
-
displayName: string;
|
|
97
|
-
/**
|
|
98
|
-
* Email addresses.
|
|
99
|
-
*
|
|
100
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimEmail emails = 6
|
|
101
|
-
*/
|
|
102
|
-
emails: ScimEmail[];
|
|
103
|
-
/**
|
|
104
|
-
* Phone numbers.
|
|
105
|
-
*
|
|
106
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimPhoneNumber phone_numbers = 7
|
|
107
|
-
*/
|
|
108
|
-
phoneNumbers: ScimPhoneNumber[];
|
|
109
|
-
/**
|
|
110
|
-
* Department (resolved to SID Department entity).
|
|
111
|
-
*
|
|
112
|
-
* @generated from protobuf field: string department = 8
|
|
113
|
-
*/
|
|
114
|
-
department: string;
|
|
115
|
-
/**
|
|
116
|
-
* Job title.
|
|
117
|
-
*
|
|
118
|
-
* @generated from protobuf field: string title = 9
|
|
119
|
-
*/
|
|
120
|
-
title: string;
|
|
121
|
-
/**
|
|
122
|
-
* Whether the account is active (maps to ProfileStatus).
|
|
123
|
-
*
|
|
124
|
-
* @generated from protobuf field: bool active = 10
|
|
125
|
-
*/
|
|
126
|
-
active: boolean;
|
|
127
|
-
/**
|
|
128
|
-
* Group memberships (read-only in user resource).
|
|
129
|
-
*
|
|
130
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimGroupRef groups = 11
|
|
131
|
-
*/
|
|
132
|
-
groups: ScimGroupRef[];
|
|
133
|
-
/**
|
|
134
|
-
* SCIM resource metadata.
|
|
135
|
-
*
|
|
136
|
-
* @generated from protobuf field: sid.v1.scim.ScimMeta meta = 12
|
|
137
|
-
*/
|
|
138
|
-
meta?: ScimMeta;
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* Structured name (RFC 7643 §4.1.1).
|
|
142
|
-
*
|
|
143
|
-
* @generated from protobuf message sid.v1.scim.ScimName
|
|
144
|
-
*/
|
|
145
|
-
export interface ScimName {
|
|
146
|
-
/**
|
|
147
|
-
* @generated from protobuf field: string formatted = 1
|
|
148
|
-
*/
|
|
149
|
-
formatted: string;
|
|
150
|
-
/**
|
|
151
|
-
* @generated from protobuf field: string family_name = 2
|
|
152
|
-
*/
|
|
153
|
-
familyName: string;
|
|
154
|
-
/**
|
|
155
|
-
* @generated from protobuf field: string given_name = 3
|
|
156
|
-
*/
|
|
157
|
-
givenName: string;
|
|
158
|
-
/**
|
|
159
|
-
* @generated from protobuf field: string middle_name = 4
|
|
160
|
-
*/
|
|
161
|
-
middleName: string;
|
|
162
|
-
/**
|
|
163
|
-
* @generated from protobuf field: string honorific_prefix = 5
|
|
164
|
-
*/
|
|
165
|
-
honorificPrefix: string;
|
|
166
|
-
/**
|
|
167
|
-
* @generated from protobuf field: string honorific_suffix = 6
|
|
168
|
-
*/
|
|
169
|
-
honorificSuffix: string;
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* Email sub-attribute (RFC 7643 §4.1.2).
|
|
173
|
-
*
|
|
174
|
-
* @generated from protobuf message sid.v1.scim.ScimEmail
|
|
175
|
-
*/
|
|
176
|
-
export interface ScimEmail {
|
|
177
|
-
/**
|
|
178
|
-
* @generated from protobuf field: string value = 1
|
|
179
|
-
*/
|
|
180
|
-
value: string;
|
|
181
|
-
/**
|
|
182
|
-
* @generated from protobuf field: string type = 2
|
|
183
|
-
*/
|
|
184
|
-
type: string; // "work", "home", "other"
|
|
185
|
-
/**
|
|
186
|
-
* @generated from protobuf field: bool primary = 3
|
|
187
|
-
*/
|
|
188
|
-
primary: boolean;
|
|
189
|
-
}
|
|
190
|
-
/**
|
|
191
|
-
* Phone number sub-attribute (RFC 7643 §4.1.2).
|
|
192
|
-
*
|
|
193
|
-
* @generated from protobuf message sid.v1.scim.ScimPhoneNumber
|
|
194
|
-
*/
|
|
195
|
-
export interface ScimPhoneNumber {
|
|
196
|
-
/**
|
|
197
|
-
* @generated from protobuf field: string value = 1
|
|
198
|
-
*/
|
|
199
|
-
value: string;
|
|
200
|
-
/**
|
|
201
|
-
* @generated from protobuf field: string type = 2
|
|
202
|
-
*/
|
|
203
|
-
type: string; // "work", "mobile", "home", "other"
|
|
204
|
-
/**
|
|
205
|
-
* @generated from protobuf field: bool primary = 3
|
|
206
|
-
*/
|
|
207
|
-
primary: boolean;
|
|
208
|
-
}
|
|
209
|
-
/**
|
|
210
|
-
* Reference to a group (used in User.groups, read-only).
|
|
211
|
-
*
|
|
212
|
-
* @generated from protobuf message sid.v1.scim.ScimGroupRef
|
|
213
|
-
*/
|
|
214
|
-
export interface ScimGroupRef {
|
|
215
|
-
/**
|
|
216
|
-
* @generated from protobuf field: string value = 1
|
|
217
|
-
*/
|
|
218
|
-
value: string; // Group ID
|
|
219
|
-
/**
|
|
220
|
-
* @generated from protobuf field: string display = 2
|
|
221
|
-
*/
|
|
222
|
-
display: string; // Group display name
|
|
223
|
-
}
|
|
224
|
-
/**
|
|
225
|
-
* SCIM resource metadata (RFC 7643 §3.1).
|
|
226
|
-
*
|
|
227
|
-
* @generated from protobuf message sid.v1.scim.ScimMeta
|
|
228
|
-
*/
|
|
229
|
-
export interface ScimMeta {
|
|
230
|
-
/**
|
|
231
|
-
* @generated from protobuf field: string resource_type = 1
|
|
232
|
-
*/
|
|
233
|
-
resourceType: string; // "User" or "Group"
|
|
234
|
-
/**
|
|
235
|
-
* @generated from protobuf field: google.protobuf.Timestamp created = 2
|
|
236
|
-
*/
|
|
237
|
-
created?: Timestamp;
|
|
238
|
-
/**
|
|
239
|
-
* @generated from protobuf field: google.protobuf.Timestamp last_modified = 3
|
|
240
|
-
*/
|
|
241
|
-
lastModified?: Timestamp;
|
|
242
|
-
/**
|
|
243
|
-
* @generated from protobuf field: string location = 4
|
|
244
|
-
*/
|
|
245
|
-
location: string; // Resource URL
|
|
246
|
-
/**
|
|
247
|
-
* @generated from protobuf field: string version = 5
|
|
248
|
-
*/
|
|
249
|
-
version: string; // ETag
|
|
250
|
-
}
|
|
251
|
-
// ── User Request/Response Messages ──
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* @generated from protobuf message sid.v1.scim.ScimCreateUserRequest
|
|
255
|
-
*/
|
|
256
|
-
export interface ScimCreateUserRequest {
|
|
257
|
-
/**
|
|
258
|
-
* @generated from protobuf field: string external_id = 1
|
|
259
|
-
*/
|
|
260
|
-
externalId: string;
|
|
261
|
-
/**
|
|
262
|
-
* @generated from protobuf field: string user_name = 2
|
|
263
|
-
*/
|
|
264
|
-
userName: string;
|
|
265
|
-
/**
|
|
266
|
-
* @generated from protobuf field: sid.v1.scim.ScimName name = 3
|
|
267
|
-
*/
|
|
268
|
-
name?: ScimName;
|
|
269
|
-
/**
|
|
270
|
-
* @generated from protobuf field: string display_name = 4
|
|
271
|
-
*/
|
|
272
|
-
displayName: string;
|
|
273
|
-
/**
|
|
274
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimEmail emails = 5
|
|
275
|
-
*/
|
|
276
|
-
emails: ScimEmail[];
|
|
277
|
-
/**
|
|
278
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimPhoneNumber phone_numbers = 6
|
|
279
|
-
*/
|
|
280
|
-
phoneNumbers: ScimPhoneNumber[];
|
|
281
|
-
/**
|
|
282
|
-
* @generated from protobuf field: string department = 7
|
|
283
|
-
*/
|
|
284
|
-
department: string;
|
|
285
|
-
/**
|
|
286
|
-
* @generated from protobuf field: string title = 8
|
|
287
|
-
*/
|
|
288
|
-
title: string;
|
|
289
|
-
/**
|
|
290
|
-
* @generated from protobuf field: bool active = 9
|
|
291
|
-
*/
|
|
292
|
-
active: boolean;
|
|
293
|
-
}
|
|
294
|
-
/**
|
|
295
|
-
* @generated from protobuf message sid.v1.scim.ScimGetUserRequest
|
|
296
|
-
*/
|
|
297
|
-
export interface ScimGetUserRequest {
|
|
298
|
-
/**
|
|
299
|
-
* @generated from protobuf field: string id = 1
|
|
300
|
-
*/
|
|
301
|
-
id: string;
|
|
302
|
-
}
|
|
303
|
-
/**
|
|
304
|
-
* @generated from protobuf message sid.v1.scim.ScimListUsersRequest
|
|
305
|
-
*/
|
|
306
|
-
export interface ScimListUsersRequest {
|
|
307
|
-
/**
|
|
308
|
-
* SCIM filter expression (RFC 7644 §3.4.2.2).
|
|
309
|
-
*
|
|
310
|
-
* @generated from protobuf field: string filter = 1
|
|
311
|
-
*/
|
|
312
|
-
filter: string;
|
|
313
|
-
/**
|
|
314
|
-
* 1-based start index for pagination.
|
|
315
|
-
*
|
|
316
|
-
* @generated from protobuf field: int32 start_index = 2
|
|
317
|
-
*/
|
|
318
|
-
startIndex: number;
|
|
319
|
-
/**
|
|
320
|
-
* Page size (default: 100, max: 1000).
|
|
321
|
-
*
|
|
322
|
-
* @generated from protobuf field: int32 count = 3
|
|
323
|
-
*/
|
|
324
|
-
count: number;
|
|
325
|
-
}
|
|
326
|
-
/**
|
|
327
|
-
* @generated from protobuf message sid.v1.scim.ScimListUsersResponse
|
|
328
|
-
*/
|
|
329
|
-
export interface ScimListUsersResponse {
|
|
330
|
-
/**
|
|
331
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimUser resources = 1
|
|
332
|
-
*/
|
|
333
|
-
resources: ScimUser[];
|
|
334
|
-
/**
|
|
335
|
-
* @generated from protobuf field: int32 total_results = 2
|
|
336
|
-
*/
|
|
337
|
-
totalResults: number;
|
|
338
|
-
/**
|
|
339
|
-
* @generated from protobuf field: int32 start_index = 3
|
|
340
|
-
*/
|
|
341
|
-
startIndex: number;
|
|
342
|
-
/**
|
|
343
|
-
* @generated from protobuf field: int32 items_per_page = 4
|
|
344
|
-
*/
|
|
345
|
-
itemsPerPage: number;
|
|
346
|
-
}
|
|
347
|
-
/**
|
|
348
|
-
* @generated from protobuf message sid.v1.scim.ScimReplaceUserRequest
|
|
349
|
-
*/
|
|
350
|
-
export interface ScimReplaceUserRequest {
|
|
351
|
-
/**
|
|
352
|
-
* @generated from protobuf field: string id = 1
|
|
353
|
-
*/
|
|
354
|
-
id: string;
|
|
355
|
-
/**
|
|
356
|
-
* @generated from protobuf field: string external_id = 2
|
|
357
|
-
*/
|
|
358
|
-
externalId: string;
|
|
359
|
-
/**
|
|
360
|
-
* @generated from protobuf field: string user_name = 3
|
|
361
|
-
*/
|
|
362
|
-
userName: string;
|
|
363
|
-
/**
|
|
364
|
-
* @generated from protobuf field: sid.v1.scim.ScimName name = 4
|
|
365
|
-
*/
|
|
366
|
-
name?: ScimName;
|
|
367
|
-
/**
|
|
368
|
-
* @generated from protobuf field: string display_name = 5
|
|
369
|
-
*/
|
|
370
|
-
displayName: string;
|
|
371
|
-
/**
|
|
372
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimEmail emails = 6
|
|
373
|
-
*/
|
|
374
|
-
emails: ScimEmail[];
|
|
375
|
-
/**
|
|
376
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimPhoneNumber phone_numbers = 7
|
|
377
|
-
*/
|
|
378
|
-
phoneNumbers: ScimPhoneNumber[];
|
|
379
|
-
/**
|
|
380
|
-
* @generated from protobuf field: string department = 8
|
|
381
|
-
*/
|
|
382
|
-
department: string;
|
|
383
|
-
/**
|
|
384
|
-
* @generated from protobuf field: string title = 9
|
|
385
|
-
*/
|
|
386
|
-
title: string;
|
|
387
|
-
/**
|
|
388
|
-
* @generated from protobuf field: bool active = 10
|
|
389
|
-
*/
|
|
390
|
-
active: boolean;
|
|
391
|
-
}
|
|
392
|
-
/**
|
|
393
|
-
* @generated from protobuf message sid.v1.scim.ScimPatchUserRequest
|
|
394
|
-
*/
|
|
395
|
-
export interface ScimPatchUserRequest {
|
|
396
|
-
/**
|
|
397
|
-
* @generated from protobuf field: string id = 1
|
|
398
|
-
*/
|
|
399
|
-
id: string;
|
|
400
|
-
/**
|
|
401
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimPatchOp operations = 2
|
|
402
|
-
*/
|
|
403
|
-
operations: ScimPatchOp[];
|
|
404
|
-
}
|
|
405
|
-
/**
|
|
406
|
-
* @generated from protobuf message sid.v1.scim.ScimDeleteUserRequest
|
|
407
|
-
*/
|
|
408
|
-
export interface ScimDeleteUserRequest {
|
|
409
|
-
/**
|
|
410
|
-
* @generated from protobuf field: string id = 1
|
|
411
|
-
*/
|
|
412
|
-
id: string;
|
|
413
|
-
}
|
|
414
|
-
// ── Group Messages ──
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* SCIM Group resource (RFC 7643 §4.2).
|
|
418
|
-
*
|
|
419
|
-
* @generated from protobuf message sid.v1.scim.ScimGroup
|
|
420
|
-
*/
|
|
421
|
-
export interface ScimGroup {
|
|
422
|
-
/**
|
|
423
|
-
* @generated from protobuf field: string id = 1
|
|
424
|
-
*/
|
|
425
|
-
id: string;
|
|
426
|
-
/**
|
|
427
|
-
* @generated from protobuf field: string display_name = 2
|
|
428
|
-
*/
|
|
429
|
-
displayName: string;
|
|
430
|
-
/**
|
|
431
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimMemberRef members = 3
|
|
432
|
-
*/
|
|
433
|
-
members: ScimMemberRef[];
|
|
434
|
-
/**
|
|
435
|
-
* @generated from protobuf field: sid.v1.scim.ScimMeta meta = 4
|
|
436
|
-
*/
|
|
437
|
-
meta?: ScimMeta;
|
|
438
|
-
}
|
|
439
|
-
/**
|
|
440
|
-
* Reference to a group member.
|
|
441
|
-
*
|
|
442
|
-
* @generated from protobuf message sid.v1.scim.ScimMemberRef
|
|
443
|
-
*/
|
|
444
|
-
export interface ScimMemberRef {
|
|
445
|
-
/**
|
|
446
|
-
* @generated from protobuf field: string value = 1
|
|
447
|
-
*/
|
|
448
|
-
value: string; // Profile ID
|
|
449
|
-
/**
|
|
450
|
-
* @generated from protobuf field: string display = 2
|
|
451
|
-
*/
|
|
452
|
-
display: string; // Display name
|
|
453
|
-
}
|
|
454
|
-
// ── Group Request/Response Messages ──
|
|
455
|
-
|
|
456
|
-
/**
|
|
457
|
-
* @generated from protobuf message sid.v1.scim.ScimCreateGroupRequest
|
|
458
|
-
*/
|
|
459
|
-
export interface ScimCreateGroupRequest {
|
|
460
|
-
/**
|
|
461
|
-
* @generated from protobuf field: string display_name = 1
|
|
462
|
-
*/
|
|
463
|
-
displayName: string;
|
|
464
|
-
/**
|
|
465
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimMemberRef members = 2
|
|
466
|
-
*/
|
|
467
|
-
members: ScimMemberRef[];
|
|
468
|
-
}
|
|
469
|
-
/**
|
|
470
|
-
* @generated from protobuf message sid.v1.scim.ScimGetGroupRequest
|
|
471
|
-
*/
|
|
472
|
-
export interface ScimGetGroupRequest {
|
|
473
|
-
/**
|
|
474
|
-
* @generated from protobuf field: string id = 1
|
|
475
|
-
*/
|
|
476
|
-
id: string;
|
|
477
|
-
}
|
|
478
|
-
/**
|
|
479
|
-
* @generated from protobuf message sid.v1.scim.ScimListGroupsRequest
|
|
480
|
-
*/
|
|
481
|
-
export interface ScimListGroupsRequest {
|
|
482
|
-
/**
|
|
483
|
-
* @generated from protobuf field: string filter = 1
|
|
484
|
-
*/
|
|
485
|
-
filter: string;
|
|
486
|
-
/**
|
|
487
|
-
* @generated from protobuf field: int32 start_index = 2
|
|
488
|
-
*/
|
|
489
|
-
startIndex: number;
|
|
490
|
-
/**
|
|
491
|
-
* @generated from protobuf field: int32 count = 3
|
|
492
|
-
*/
|
|
493
|
-
count: number;
|
|
494
|
-
}
|
|
495
|
-
/**
|
|
496
|
-
* @generated from protobuf message sid.v1.scim.ScimListGroupsResponse
|
|
497
|
-
*/
|
|
498
|
-
export interface ScimListGroupsResponse {
|
|
499
|
-
/**
|
|
500
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimGroup resources = 1
|
|
501
|
-
*/
|
|
502
|
-
resources: ScimGroup[];
|
|
503
|
-
/**
|
|
504
|
-
* @generated from protobuf field: int32 total_results = 2
|
|
505
|
-
*/
|
|
506
|
-
totalResults: number;
|
|
507
|
-
/**
|
|
508
|
-
* @generated from protobuf field: int32 start_index = 3
|
|
509
|
-
*/
|
|
510
|
-
startIndex: number;
|
|
511
|
-
/**
|
|
512
|
-
* @generated from protobuf field: int32 items_per_page = 4
|
|
513
|
-
*/
|
|
514
|
-
itemsPerPage: number;
|
|
515
|
-
}
|
|
516
|
-
/**
|
|
517
|
-
* @generated from protobuf message sid.v1.scim.ScimPatchGroupRequest
|
|
518
|
-
*/
|
|
519
|
-
export interface ScimPatchGroupRequest {
|
|
520
|
-
/**
|
|
521
|
-
* @generated from protobuf field: string id = 1
|
|
522
|
-
*/
|
|
523
|
-
id: string;
|
|
524
|
-
/**
|
|
525
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimPatchOp operations = 2
|
|
526
|
-
*/
|
|
527
|
-
operations: ScimPatchOp[];
|
|
528
|
-
}
|
|
529
|
-
/**
|
|
530
|
-
* @generated from protobuf message sid.v1.scim.ScimDeleteGroupRequest
|
|
531
|
-
*/
|
|
532
|
-
export interface ScimDeleteGroupRequest {
|
|
533
|
-
/**
|
|
534
|
-
* @generated from protobuf field: string id = 1
|
|
535
|
-
*/
|
|
536
|
-
id: string;
|
|
537
|
-
}
|
|
538
|
-
// ── SCIM PATCH Operation (RFC 7644 §3.5.2) ──
|
|
539
|
-
|
|
540
|
-
/**
|
|
541
|
-
* @generated from protobuf message sid.v1.scim.ScimPatchOp
|
|
542
|
-
*/
|
|
543
|
-
export interface ScimPatchOp {
|
|
544
|
-
/**
|
|
545
|
-
* Operation type: "add", "remove", "replace".
|
|
546
|
-
*
|
|
547
|
-
* @generated from protobuf field: string op = 1
|
|
548
|
-
*/
|
|
549
|
-
op: string;
|
|
550
|
-
/**
|
|
551
|
-
* Attribute path (e.g., "emails[type eq \"work\"].value", "members").
|
|
552
|
-
*
|
|
553
|
-
* @generated from protobuf field: string path = 2
|
|
554
|
-
*/
|
|
555
|
-
path: string;
|
|
556
|
-
/**
|
|
557
|
-
* JSON-encoded value for the operation.
|
|
558
|
-
*
|
|
559
|
-
* @generated from protobuf field: string value = 3
|
|
560
|
-
*/
|
|
561
|
-
value: string;
|
|
562
|
-
}
|
|
563
|
-
// ── Service Provider Discovery Messages ──
|
|
564
|
-
|
|
565
|
-
/**
|
|
566
|
-
* @generated from protobuf message sid.v1.scim.ScimGetServiceProviderConfigRequest
|
|
567
|
-
*/
|
|
568
|
-
export interface ScimGetServiceProviderConfigRequest {
|
|
569
|
-
}
|
|
570
|
-
/**
|
|
571
|
-
* Service provider configuration (RFC 7643 §5).
|
|
572
|
-
*
|
|
573
|
-
* @generated from protobuf message sid.v1.scim.ScimServiceProviderConfig
|
|
574
|
-
*/
|
|
575
|
-
export interface ScimServiceProviderConfig {
|
|
576
|
-
/**
|
|
577
|
-
* @generated from protobuf field: sid.v1.scim.ScimMeta meta = 1
|
|
578
|
-
*/
|
|
579
|
-
meta?: ScimMeta;
|
|
580
|
-
/**
|
|
581
|
-
* @generated from protobuf field: string documentation_uri = 2
|
|
582
|
-
*/
|
|
583
|
-
documentationUri: string;
|
|
584
|
-
/**
|
|
585
|
-
* @generated from protobuf field: sid.v1.scim.ScimConfigSupport patch = 3
|
|
586
|
-
*/
|
|
587
|
-
patch?: ScimConfigSupport;
|
|
588
|
-
/**
|
|
589
|
-
* @generated from protobuf field: sid.v1.scim.ScimConfigSupport bulk = 4
|
|
590
|
-
*/
|
|
591
|
-
bulk?: ScimConfigSupport;
|
|
592
|
-
/**
|
|
593
|
-
* @generated from protobuf field: sid.v1.scim.ScimConfigSupport filter = 5
|
|
594
|
-
*/
|
|
595
|
-
filter?: ScimConfigSupport;
|
|
596
|
-
/**
|
|
597
|
-
* @generated from protobuf field: sid.v1.scim.ScimConfigSupport change_password = 6
|
|
598
|
-
*/
|
|
599
|
-
changePassword?: ScimConfigSupport;
|
|
600
|
-
/**
|
|
601
|
-
* @generated from protobuf field: sid.v1.scim.ScimConfigSupport sort = 7
|
|
602
|
-
*/
|
|
603
|
-
sort?: ScimConfigSupport;
|
|
604
|
-
/**
|
|
605
|
-
* @generated from protobuf field: sid.v1.scim.ScimConfigSupport etag = 8
|
|
606
|
-
*/
|
|
607
|
-
etag?: ScimConfigSupport;
|
|
608
|
-
/**
|
|
609
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimAuthenticationScheme authentication_schemes = 9
|
|
610
|
-
*/
|
|
611
|
-
authenticationSchemes: ScimAuthenticationScheme[];
|
|
612
|
-
/**
|
|
613
|
-
* @generated from protobuf field: int32 max_results = 10
|
|
614
|
-
*/
|
|
615
|
-
maxResults: number;
|
|
616
|
-
}
|
|
617
|
-
/**
|
|
618
|
-
* Feature support flag.
|
|
619
|
-
*
|
|
620
|
-
* @generated from protobuf message sid.v1.scim.ScimConfigSupport
|
|
621
|
-
*/
|
|
622
|
-
export interface ScimConfigSupport {
|
|
623
|
-
/**
|
|
624
|
-
* @generated from protobuf field: bool supported = 1
|
|
625
|
-
*/
|
|
626
|
-
supported: boolean;
|
|
627
|
-
/**
|
|
628
|
-
* @generated from protobuf field: int32 max_operations = 2
|
|
629
|
-
*/
|
|
630
|
-
maxOperations: number; // For bulk: max operations per request
|
|
631
|
-
/**
|
|
632
|
-
* @generated from protobuf field: int32 max_payload_size = 3
|
|
633
|
-
*/
|
|
634
|
-
maxPayloadSize: number; // For bulk: max payload bytes
|
|
635
|
-
}
|
|
636
|
-
/**
|
|
637
|
-
* Authentication scheme description.
|
|
638
|
-
*
|
|
639
|
-
* @generated from protobuf message sid.v1.scim.ScimAuthenticationScheme
|
|
640
|
-
*/
|
|
641
|
-
export interface ScimAuthenticationScheme {
|
|
642
|
-
/**
|
|
643
|
-
* @generated from protobuf field: string type = 1
|
|
644
|
-
*/
|
|
645
|
-
type: string; // "oauthbearertoken", "httpbasic"
|
|
646
|
-
/**
|
|
647
|
-
* @generated from protobuf field: string name = 2
|
|
648
|
-
*/
|
|
649
|
-
name: string;
|
|
650
|
-
/**
|
|
651
|
-
* @generated from protobuf field: string description = 3
|
|
652
|
-
*/
|
|
653
|
-
description: string;
|
|
654
|
-
/**
|
|
655
|
-
* @generated from protobuf field: string spec_uri = 4
|
|
656
|
-
*/
|
|
657
|
-
specUri: string;
|
|
658
|
-
/**
|
|
659
|
-
* @generated from protobuf field: string documentation_uri = 5
|
|
660
|
-
*/
|
|
661
|
-
documentationUri: string;
|
|
662
|
-
/**
|
|
663
|
-
* @generated from protobuf field: bool primary = 6
|
|
664
|
-
*/
|
|
665
|
-
primary: boolean;
|
|
666
|
-
}
|
|
667
|
-
/**
|
|
668
|
-
* @generated from protobuf message sid.v1.scim.ScimGetResourceTypesRequest
|
|
669
|
-
*/
|
|
670
|
-
export interface ScimGetResourceTypesRequest {
|
|
671
|
-
}
|
|
672
|
-
/**
|
|
673
|
-
* @generated from protobuf message sid.v1.scim.ScimResourceTypesResponse
|
|
674
|
-
*/
|
|
675
|
-
export interface ScimResourceTypesResponse {
|
|
676
|
-
/**
|
|
677
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimResourceType resources = 1
|
|
678
|
-
*/
|
|
679
|
-
resources: ScimResourceType[];
|
|
680
|
-
}
|
|
681
|
-
/**
|
|
682
|
-
* SCIM resource type definition (RFC 7643 §6).
|
|
683
|
-
*
|
|
684
|
-
* @generated from protobuf message sid.v1.scim.ScimResourceType
|
|
685
|
-
*/
|
|
686
|
-
export interface ScimResourceType {
|
|
687
|
-
/**
|
|
688
|
-
* @generated from protobuf field: string id = 1
|
|
689
|
-
*/
|
|
690
|
-
id: string;
|
|
691
|
-
/**
|
|
692
|
-
* @generated from protobuf field: string name = 2
|
|
693
|
-
*/
|
|
694
|
-
name: string;
|
|
695
|
-
/**
|
|
696
|
-
* @generated from protobuf field: string description = 3
|
|
697
|
-
*/
|
|
698
|
-
description: string;
|
|
699
|
-
/**
|
|
700
|
-
* @generated from protobuf field: string endpoint = 4
|
|
701
|
-
*/
|
|
702
|
-
endpoint: string;
|
|
703
|
-
/**
|
|
704
|
-
* @generated from protobuf field: string schema = 5
|
|
705
|
-
*/
|
|
706
|
-
schema: string;
|
|
707
|
-
/**
|
|
708
|
-
* @generated from protobuf field: sid.v1.scim.ScimMeta meta = 6
|
|
709
|
-
*/
|
|
710
|
-
meta?: ScimMeta;
|
|
711
|
-
}
|
|
712
|
-
/**
|
|
713
|
-
* @generated from protobuf message sid.v1.scim.ScimGetSchemasRequest
|
|
714
|
-
*/
|
|
715
|
-
export interface ScimGetSchemasRequest {
|
|
716
|
-
}
|
|
717
|
-
/**
|
|
718
|
-
* @generated from protobuf message sid.v1.scim.ScimSchemasResponse
|
|
719
|
-
*/
|
|
720
|
-
export interface ScimSchemasResponse {
|
|
721
|
-
/**
|
|
722
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimSchema resources = 1
|
|
723
|
-
*/
|
|
724
|
-
resources: ScimSchema[];
|
|
725
|
-
}
|
|
726
|
-
/**
|
|
727
|
-
* SCIM schema definition (RFC 7643 §7).
|
|
728
|
-
*
|
|
729
|
-
* @generated from protobuf message sid.v1.scim.ScimSchema
|
|
730
|
-
*/
|
|
731
|
-
export interface ScimSchema {
|
|
732
|
-
/**
|
|
733
|
-
* @generated from protobuf field: string id = 1
|
|
734
|
-
*/
|
|
735
|
-
id: string;
|
|
736
|
-
/**
|
|
737
|
-
* @generated from protobuf field: string name = 2
|
|
738
|
-
*/
|
|
739
|
-
name: string;
|
|
740
|
-
/**
|
|
741
|
-
* @generated from protobuf field: string description = 3
|
|
742
|
-
*/
|
|
743
|
-
description: string;
|
|
744
|
-
/**
|
|
745
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimSchemaAttribute attributes = 4
|
|
746
|
-
*/
|
|
747
|
-
attributes: ScimSchemaAttribute[];
|
|
748
|
-
/**
|
|
749
|
-
* @generated from protobuf field: sid.v1.scim.ScimMeta meta = 5
|
|
750
|
-
*/
|
|
751
|
-
meta?: ScimMeta;
|
|
752
|
-
}
|
|
753
|
-
/**
|
|
754
|
-
* Schema attribute definition.
|
|
755
|
-
*
|
|
756
|
-
* @generated from protobuf message sid.v1.scim.ScimSchemaAttribute
|
|
757
|
-
*/
|
|
758
|
-
export interface ScimSchemaAttribute {
|
|
759
|
-
/**
|
|
760
|
-
* @generated from protobuf field: string name = 1
|
|
761
|
-
*/
|
|
762
|
-
name: string;
|
|
763
|
-
/**
|
|
764
|
-
* @generated from protobuf field: string type = 2
|
|
765
|
-
*/
|
|
766
|
-
type: string; // "string", "boolean", "complex", "reference"
|
|
767
|
-
/**
|
|
768
|
-
* @generated from protobuf field: bool multi_valued = 3
|
|
769
|
-
*/
|
|
770
|
-
multiValued: boolean;
|
|
771
|
-
/**
|
|
772
|
-
* @generated from protobuf field: string description = 4
|
|
773
|
-
*/
|
|
774
|
-
description: string;
|
|
775
|
-
/**
|
|
776
|
-
* @generated from protobuf field: bool required = 5
|
|
777
|
-
*/
|
|
778
|
-
required: boolean;
|
|
779
|
-
/**
|
|
780
|
-
* @generated from protobuf field: bool case_exact = 6
|
|
781
|
-
*/
|
|
782
|
-
caseExact: boolean;
|
|
783
|
-
/**
|
|
784
|
-
* @generated from protobuf field: string mutability = 7
|
|
785
|
-
*/
|
|
786
|
-
mutability: string; // "readOnly", "readWrite", "immutable", "writeOnly"
|
|
787
|
-
/**
|
|
788
|
-
* @generated from protobuf field: string returned = 8
|
|
789
|
-
*/
|
|
790
|
-
returned: string; // "always", "never", "default", "request"
|
|
791
|
-
/**
|
|
792
|
-
* @generated from protobuf field: string uniqueness = 9
|
|
793
|
-
*/
|
|
794
|
-
uniqueness: string; // "none", "server", "global"
|
|
795
|
-
/**
|
|
796
|
-
* @generated from protobuf field: repeated sid.v1.scim.ScimSchemaAttribute sub_attributes = 10
|
|
797
|
-
*/
|
|
798
|
-
subAttributes: ScimSchemaAttribute[];
|
|
799
|
-
}
|
|
800
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
801
|
-
class ScimHttpRequest$Type extends MessageType<ScimHttpRequest> {
|
|
802
|
-
constructor() {
|
|
803
|
-
super("sid.v1.scim.ScimHttpRequest", [
|
|
804
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
805
|
-
{ no: 2, name: "body", kind: "message", T: () => HttpBody },
|
|
806
|
-
{ no: 3, name: "filter", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
807
|
-
{ no: 4, name: "start_index", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
808
|
-
{ no: 5, name: "count", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ }
|
|
809
|
-
]);
|
|
810
|
-
}
|
|
811
|
-
create(value?: PartialMessage<ScimHttpRequest>): ScimHttpRequest {
|
|
812
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
813
|
-
message.id = "";
|
|
814
|
-
message.filter = "";
|
|
815
|
-
message.startIndex = 0;
|
|
816
|
-
if (value !== undefined)
|
|
817
|
-
reflectionMergePartial<ScimHttpRequest>(this, message, value);
|
|
818
|
-
return message;
|
|
819
|
-
}
|
|
820
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimHttpRequest): ScimHttpRequest {
|
|
821
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
822
|
-
while (reader.pos < end) {
|
|
823
|
-
let [fieldNo, wireType] = reader.tag();
|
|
824
|
-
switch (fieldNo) {
|
|
825
|
-
case /* string id */ 1:
|
|
826
|
-
message.id = reader.string();
|
|
827
|
-
break;
|
|
828
|
-
case /* google.api.HttpBody body */ 2:
|
|
829
|
-
message.body = HttpBody.internalBinaryRead(reader, reader.uint32(), options, message.body);
|
|
830
|
-
break;
|
|
831
|
-
case /* string filter */ 3:
|
|
832
|
-
message.filter = reader.string();
|
|
833
|
-
break;
|
|
834
|
-
case /* int32 start_index */ 4:
|
|
835
|
-
message.startIndex = reader.int32();
|
|
836
|
-
break;
|
|
837
|
-
case /* optional int32 count */ 5:
|
|
838
|
-
message.count = reader.int32();
|
|
839
|
-
break;
|
|
840
|
-
default:
|
|
841
|
-
let u = options.readUnknownField;
|
|
842
|
-
if (u === "throw")
|
|
843
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
844
|
-
let d = reader.skip(wireType);
|
|
845
|
-
if (u !== false)
|
|
846
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
return message;
|
|
850
|
-
}
|
|
851
|
-
internalBinaryWrite(message: ScimHttpRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
852
|
-
/* string id = 1; */
|
|
853
|
-
if (message.id !== "")
|
|
854
|
-
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
855
|
-
/* google.api.HttpBody body = 2; */
|
|
856
|
-
if (message.body)
|
|
857
|
-
HttpBody.internalBinaryWrite(message.body, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
858
|
-
/* string filter = 3; */
|
|
859
|
-
if (message.filter !== "")
|
|
860
|
-
writer.tag(3, WireType.LengthDelimited).string(message.filter);
|
|
861
|
-
/* int32 start_index = 4; */
|
|
862
|
-
if (message.startIndex !== 0)
|
|
863
|
-
writer.tag(4, WireType.Varint).int32(message.startIndex);
|
|
864
|
-
/* optional int32 count = 5; */
|
|
865
|
-
if (message.count !== undefined)
|
|
866
|
-
writer.tag(5, WireType.Varint).int32(message.count);
|
|
867
|
-
let u = options.writeUnknownFields;
|
|
868
|
-
if (u !== false)
|
|
869
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
870
|
-
return writer;
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
/**
|
|
874
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimHttpRequest
|
|
875
|
-
*/
|
|
876
|
-
export const ScimHttpRequest = new ScimHttpRequest$Type();
|
|
877
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
878
|
-
class ScimUser$Type extends MessageType<ScimUser> {
|
|
879
|
-
constructor() {
|
|
880
|
-
super("sid.v1.scim.ScimUser", [
|
|
881
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
882
|
-
{ no: 2, name: "external_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
883
|
-
{ no: 3, name: "user_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
884
|
-
{ no: 4, name: "name", kind: "message", T: () => ScimName },
|
|
885
|
-
{ no: 5, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
886
|
-
{ no: 6, name: "emails", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimEmail },
|
|
887
|
-
{ no: 7, name: "phone_numbers", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimPhoneNumber },
|
|
888
|
-
{ no: 8, name: "department", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
889
|
-
{ no: 9, name: "title", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
890
|
-
{ no: 10, name: "active", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
891
|
-
{ no: 11, name: "groups", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimGroupRef },
|
|
892
|
-
{ no: 12, name: "meta", kind: "message", T: () => ScimMeta }
|
|
893
|
-
]);
|
|
894
|
-
}
|
|
895
|
-
create(value?: PartialMessage<ScimUser>): ScimUser {
|
|
896
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
897
|
-
message.id = "";
|
|
898
|
-
message.externalId = "";
|
|
899
|
-
message.userName = "";
|
|
900
|
-
message.displayName = "";
|
|
901
|
-
message.emails = [];
|
|
902
|
-
message.phoneNumbers = [];
|
|
903
|
-
message.department = "";
|
|
904
|
-
message.title = "";
|
|
905
|
-
message.active = false;
|
|
906
|
-
message.groups = [];
|
|
907
|
-
if (value !== undefined)
|
|
908
|
-
reflectionMergePartial<ScimUser>(this, message, value);
|
|
909
|
-
return message;
|
|
910
|
-
}
|
|
911
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimUser): ScimUser {
|
|
912
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
913
|
-
while (reader.pos < end) {
|
|
914
|
-
let [fieldNo, wireType] = reader.tag();
|
|
915
|
-
switch (fieldNo) {
|
|
916
|
-
case /* string id */ 1:
|
|
917
|
-
message.id = reader.string();
|
|
918
|
-
break;
|
|
919
|
-
case /* string external_id */ 2:
|
|
920
|
-
message.externalId = reader.string();
|
|
921
|
-
break;
|
|
922
|
-
case /* string user_name */ 3:
|
|
923
|
-
message.userName = reader.string();
|
|
924
|
-
break;
|
|
925
|
-
case /* sid.v1.scim.ScimName name */ 4:
|
|
926
|
-
message.name = ScimName.internalBinaryRead(reader, reader.uint32(), options, message.name);
|
|
927
|
-
break;
|
|
928
|
-
case /* string display_name */ 5:
|
|
929
|
-
message.displayName = reader.string();
|
|
930
|
-
break;
|
|
931
|
-
case /* repeated sid.v1.scim.ScimEmail emails */ 6:
|
|
932
|
-
message.emails.push(ScimEmail.internalBinaryRead(reader, reader.uint32(), options));
|
|
933
|
-
break;
|
|
934
|
-
case /* repeated sid.v1.scim.ScimPhoneNumber phone_numbers */ 7:
|
|
935
|
-
message.phoneNumbers.push(ScimPhoneNumber.internalBinaryRead(reader, reader.uint32(), options));
|
|
936
|
-
break;
|
|
937
|
-
case /* string department */ 8:
|
|
938
|
-
message.department = reader.string();
|
|
939
|
-
break;
|
|
940
|
-
case /* string title */ 9:
|
|
941
|
-
message.title = reader.string();
|
|
942
|
-
break;
|
|
943
|
-
case /* bool active */ 10:
|
|
944
|
-
message.active = reader.bool();
|
|
945
|
-
break;
|
|
946
|
-
case /* repeated sid.v1.scim.ScimGroupRef groups */ 11:
|
|
947
|
-
message.groups.push(ScimGroupRef.internalBinaryRead(reader, reader.uint32(), options));
|
|
948
|
-
break;
|
|
949
|
-
case /* sid.v1.scim.ScimMeta meta */ 12:
|
|
950
|
-
message.meta = ScimMeta.internalBinaryRead(reader, reader.uint32(), options, message.meta);
|
|
951
|
-
break;
|
|
952
|
-
default:
|
|
953
|
-
let u = options.readUnknownField;
|
|
954
|
-
if (u === "throw")
|
|
955
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
956
|
-
let d = reader.skip(wireType);
|
|
957
|
-
if (u !== false)
|
|
958
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
959
|
-
}
|
|
960
|
-
}
|
|
961
|
-
return message;
|
|
962
|
-
}
|
|
963
|
-
internalBinaryWrite(message: ScimUser, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
964
|
-
/* string id = 1; */
|
|
965
|
-
if (message.id !== "")
|
|
966
|
-
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
967
|
-
/* string external_id = 2; */
|
|
968
|
-
if (message.externalId !== "")
|
|
969
|
-
writer.tag(2, WireType.LengthDelimited).string(message.externalId);
|
|
970
|
-
/* string user_name = 3; */
|
|
971
|
-
if (message.userName !== "")
|
|
972
|
-
writer.tag(3, WireType.LengthDelimited).string(message.userName);
|
|
973
|
-
/* sid.v1.scim.ScimName name = 4; */
|
|
974
|
-
if (message.name)
|
|
975
|
-
ScimName.internalBinaryWrite(message.name, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
976
|
-
/* string display_name = 5; */
|
|
977
|
-
if (message.displayName !== "")
|
|
978
|
-
writer.tag(5, WireType.LengthDelimited).string(message.displayName);
|
|
979
|
-
/* repeated sid.v1.scim.ScimEmail emails = 6; */
|
|
980
|
-
for (let i = 0; i < message.emails.length; i++)
|
|
981
|
-
ScimEmail.internalBinaryWrite(message.emails[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
982
|
-
/* repeated sid.v1.scim.ScimPhoneNumber phone_numbers = 7; */
|
|
983
|
-
for (let i = 0; i < message.phoneNumbers.length; i++)
|
|
984
|
-
ScimPhoneNumber.internalBinaryWrite(message.phoneNumbers[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
985
|
-
/* string department = 8; */
|
|
986
|
-
if (message.department !== "")
|
|
987
|
-
writer.tag(8, WireType.LengthDelimited).string(message.department);
|
|
988
|
-
/* string title = 9; */
|
|
989
|
-
if (message.title !== "")
|
|
990
|
-
writer.tag(9, WireType.LengthDelimited).string(message.title);
|
|
991
|
-
/* bool active = 10; */
|
|
992
|
-
if (message.active !== false)
|
|
993
|
-
writer.tag(10, WireType.Varint).bool(message.active);
|
|
994
|
-
/* repeated sid.v1.scim.ScimGroupRef groups = 11; */
|
|
995
|
-
for (let i = 0; i < message.groups.length; i++)
|
|
996
|
-
ScimGroupRef.internalBinaryWrite(message.groups[i], writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
|
997
|
-
/* sid.v1.scim.ScimMeta meta = 12; */
|
|
998
|
-
if (message.meta)
|
|
999
|
-
ScimMeta.internalBinaryWrite(message.meta, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
|
|
1000
|
-
let u = options.writeUnknownFields;
|
|
1001
|
-
if (u !== false)
|
|
1002
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1003
|
-
return writer;
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
/**
|
|
1007
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimUser
|
|
1008
|
-
*/
|
|
1009
|
-
export const ScimUser = new ScimUser$Type();
|
|
1010
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1011
|
-
class ScimName$Type extends MessageType<ScimName> {
|
|
1012
|
-
constructor() {
|
|
1013
|
-
super("sid.v1.scim.ScimName", [
|
|
1014
|
-
{ no: 1, name: "formatted", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1015
|
-
{ no: 2, name: "family_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1016
|
-
{ no: 3, name: "given_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1017
|
-
{ no: 4, name: "middle_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1018
|
-
{ no: 5, name: "honorific_prefix", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1019
|
-
{ no: 6, name: "honorific_suffix", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1020
|
-
]);
|
|
1021
|
-
}
|
|
1022
|
-
create(value?: PartialMessage<ScimName>): ScimName {
|
|
1023
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1024
|
-
message.formatted = "";
|
|
1025
|
-
message.familyName = "";
|
|
1026
|
-
message.givenName = "";
|
|
1027
|
-
message.middleName = "";
|
|
1028
|
-
message.honorificPrefix = "";
|
|
1029
|
-
message.honorificSuffix = "";
|
|
1030
|
-
if (value !== undefined)
|
|
1031
|
-
reflectionMergePartial<ScimName>(this, message, value);
|
|
1032
|
-
return message;
|
|
1033
|
-
}
|
|
1034
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimName): ScimName {
|
|
1035
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1036
|
-
while (reader.pos < end) {
|
|
1037
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1038
|
-
switch (fieldNo) {
|
|
1039
|
-
case /* string formatted */ 1:
|
|
1040
|
-
message.formatted = reader.string();
|
|
1041
|
-
break;
|
|
1042
|
-
case /* string family_name */ 2:
|
|
1043
|
-
message.familyName = reader.string();
|
|
1044
|
-
break;
|
|
1045
|
-
case /* string given_name */ 3:
|
|
1046
|
-
message.givenName = reader.string();
|
|
1047
|
-
break;
|
|
1048
|
-
case /* string middle_name */ 4:
|
|
1049
|
-
message.middleName = reader.string();
|
|
1050
|
-
break;
|
|
1051
|
-
case /* string honorific_prefix */ 5:
|
|
1052
|
-
message.honorificPrefix = reader.string();
|
|
1053
|
-
break;
|
|
1054
|
-
case /* string honorific_suffix */ 6:
|
|
1055
|
-
message.honorificSuffix = reader.string();
|
|
1056
|
-
break;
|
|
1057
|
-
default:
|
|
1058
|
-
let u = options.readUnknownField;
|
|
1059
|
-
if (u === "throw")
|
|
1060
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1061
|
-
let d = reader.skip(wireType);
|
|
1062
|
-
if (u !== false)
|
|
1063
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
return message;
|
|
1067
|
-
}
|
|
1068
|
-
internalBinaryWrite(message: ScimName, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1069
|
-
/* string formatted = 1; */
|
|
1070
|
-
if (message.formatted !== "")
|
|
1071
|
-
writer.tag(1, WireType.LengthDelimited).string(message.formatted);
|
|
1072
|
-
/* string family_name = 2; */
|
|
1073
|
-
if (message.familyName !== "")
|
|
1074
|
-
writer.tag(2, WireType.LengthDelimited).string(message.familyName);
|
|
1075
|
-
/* string given_name = 3; */
|
|
1076
|
-
if (message.givenName !== "")
|
|
1077
|
-
writer.tag(3, WireType.LengthDelimited).string(message.givenName);
|
|
1078
|
-
/* string middle_name = 4; */
|
|
1079
|
-
if (message.middleName !== "")
|
|
1080
|
-
writer.tag(4, WireType.LengthDelimited).string(message.middleName);
|
|
1081
|
-
/* string honorific_prefix = 5; */
|
|
1082
|
-
if (message.honorificPrefix !== "")
|
|
1083
|
-
writer.tag(5, WireType.LengthDelimited).string(message.honorificPrefix);
|
|
1084
|
-
/* string honorific_suffix = 6; */
|
|
1085
|
-
if (message.honorificSuffix !== "")
|
|
1086
|
-
writer.tag(6, WireType.LengthDelimited).string(message.honorificSuffix);
|
|
1087
|
-
let u = options.writeUnknownFields;
|
|
1088
|
-
if (u !== false)
|
|
1089
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1090
|
-
return writer;
|
|
1091
|
-
}
|
|
1092
|
-
}
|
|
1093
|
-
/**
|
|
1094
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimName
|
|
1095
|
-
*/
|
|
1096
|
-
export const ScimName = new ScimName$Type();
|
|
1097
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1098
|
-
class ScimEmail$Type extends MessageType<ScimEmail> {
|
|
1099
|
-
constructor() {
|
|
1100
|
-
super("sid.v1.scim.ScimEmail", [
|
|
1101
|
-
{ no: 1, name: "value", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1102
|
-
{ no: 2, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1103
|
-
{ no: 3, name: "primary", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
1104
|
-
]);
|
|
1105
|
-
}
|
|
1106
|
-
create(value?: PartialMessage<ScimEmail>): ScimEmail {
|
|
1107
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1108
|
-
message.value = "";
|
|
1109
|
-
message.type = "";
|
|
1110
|
-
message.primary = false;
|
|
1111
|
-
if (value !== undefined)
|
|
1112
|
-
reflectionMergePartial<ScimEmail>(this, message, value);
|
|
1113
|
-
return message;
|
|
1114
|
-
}
|
|
1115
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimEmail): ScimEmail {
|
|
1116
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1117
|
-
while (reader.pos < end) {
|
|
1118
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1119
|
-
switch (fieldNo) {
|
|
1120
|
-
case /* string value */ 1:
|
|
1121
|
-
message.value = reader.string();
|
|
1122
|
-
break;
|
|
1123
|
-
case /* string type */ 2:
|
|
1124
|
-
message.type = reader.string();
|
|
1125
|
-
break;
|
|
1126
|
-
case /* bool primary */ 3:
|
|
1127
|
-
message.primary = reader.bool();
|
|
1128
|
-
break;
|
|
1129
|
-
default:
|
|
1130
|
-
let u = options.readUnknownField;
|
|
1131
|
-
if (u === "throw")
|
|
1132
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1133
|
-
let d = reader.skip(wireType);
|
|
1134
|
-
if (u !== false)
|
|
1135
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1136
|
-
}
|
|
1137
|
-
}
|
|
1138
|
-
return message;
|
|
1139
|
-
}
|
|
1140
|
-
internalBinaryWrite(message: ScimEmail, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1141
|
-
/* string value = 1; */
|
|
1142
|
-
if (message.value !== "")
|
|
1143
|
-
writer.tag(1, WireType.LengthDelimited).string(message.value);
|
|
1144
|
-
/* string type = 2; */
|
|
1145
|
-
if (message.type !== "")
|
|
1146
|
-
writer.tag(2, WireType.LengthDelimited).string(message.type);
|
|
1147
|
-
/* bool primary = 3; */
|
|
1148
|
-
if (message.primary !== false)
|
|
1149
|
-
writer.tag(3, WireType.Varint).bool(message.primary);
|
|
1150
|
-
let u = options.writeUnknownFields;
|
|
1151
|
-
if (u !== false)
|
|
1152
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1153
|
-
return writer;
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
/**
|
|
1157
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimEmail
|
|
1158
|
-
*/
|
|
1159
|
-
export const ScimEmail = new ScimEmail$Type();
|
|
1160
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1161
|
-
class ScimPhoneNumber$Type extends MessageType<ScimPhoneNumber> {
|
|
1162
|
-
constructor() {
|
|
1163
|
-
super("sid.v1.scim.ScimPhoneNumber", [
|
|
1164
|
-
{ no: 1, name: "value", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1165
|
-
{ no: 2, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1166
|
-
{ no: 3, name: "primary", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
1167
|
-
]);
|
|
1168
|
-
}
|
|
1169
|
-
create(value?: PartialMessage<ScimPhoneNumber>): ScimPhoneNumber {
|
|
1170
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1171
|
-
message.value = "";
|
|
1172
|
-
message.type = "";
|
|
1173
|
-
message.primary = false;
|
|
1174
|
-
if (value !== undefined)
|
|
1175
|
-
reflectionMergePartial<ScimPhoneNumber>(this, message, value);
|
|
1176
|
-
return message;
|
|
1177
|
-
}
|
|
1178
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimPhoneNumber): ScimPhoneNumber {
|
|
1179
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1180
|
-
while (reader.pos < end) {
|
|
1181
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1182
|
-
switch (fieldNo) {
|
|
1183
|
-
case /* string value */ 1:
|
|
1184
|
-
message.value = reader.string();
|
|
1185
|
-
break;
|
|
1186
|
-
case /* string type */ 2:
|
|
1187
|
-
message.type = reader.string();
|
|
1188
|
-
break;
|
|
1189
|
-
case /* bool primary */ 3:
|
|
1190
|
-
message.primary = reader.bool();
|
|
1191
|
-
break;
|
|
1192
|
-
default:
|
|
1193
|
-
let u = options.readUnknownField;
|
|
1194
|
-
if (u === "throw")
|
|
1195
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1196
|
-
let d = reader.skip(wireType);
|
|
1197
|
-
if (u !== false)
|
|
1198
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1199
|
-
}
|
|
1200
|
-
}
|
|
1201
|
-
return message;
|
|
1202
|
-
}
|
|
1203
|
-
internalBinaryWrite(message: ScimPhoneNumber, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1204
|
-
/* string value = 1; */
|
|
1205
|
-
if (message.value !== "")
|
|
1206
|
-
writer.tag(1, WireType.LengthDelimited).string(message.value);
|
|
1207
|
-
/* string type = 2; */
|
|
1208
|
-
if (message.type !== "")
|
|
1209
|
-
writer.tag(2, WireType.LengthDelimited).string(message.type);
|
|
1210
|
-
/* bool primary = 3; */
|
|
1211
|
-
if (message.primary !== false)
|
|
1212
|
-
writer.tag(3, WireType.Varint).bool(message.primary);
|
|
1213
|
-
let u = options.writeUnknownFields;
|
|
1214
|
-
if (u !== false)
|
|
1215
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1216
|
-
return writer;
|
|
1217
|
-
}
|
|
1218
|
-
}
|
|
1219
|
-
/**
|
|
1220
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimPhoneNumber
|
|
1221
|
-
*/
|
|
1222
|
-
export const ScimPhoneNumber = new ScimPhoneNumber$Type();
|
|
1223
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1224
|
-
class ScimGroupRef$Type extends MessageType<ScimGroupRef> {
|
|
1225
|
-
constructor() {
|
|
1226
|
-
super("sid.v1.scim.ScimGroupRef", [
|
|
1227
|
-
{ no: 1, name: "value", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1228
|
-
{ no: 2, name: "display", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1229
|
-
]);
|
|
1230
|
-
}
|
|
1231
|
-
create(value?: PartialMessage<ScimGroupRef>): ScimGroupRef {
|
|
1232
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1233
|
-
message.value = "";
|
|
1234
|
-
message.display = "";
|
|
1235
|
-
if (value !== undefined)
|
|
1236
|
-
reflectionMergePartial<ScimGroupRef>(this, message, value);
|
|
1237
|
-
return message;
|
|
1238
|
-
}
|
|
1239
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimGroupRef): ScimGroupRef {
|
|
1240
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1241
|
-
while (reader.pos < end) {
|
|
1242
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1243
|
-
switch (fieldNo) {
|
|
1244
|
-
case /* string value */ 1:
|
|
1245
|
-
message.value = reader.string();
|
|
1246
|
-
break;
|
|
1247
|
-
case /* string display */ 2:
|
|
1248
|
-
message.display = reader.string();
|
|
1249
|
-
break;
|
|
1250
|
-
default:
|
|
1251
|
-
let u = options.readUnknownField;
|
|
1252
|
-
if (u === "throw")
|
|
1253
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1254
|
-
let d = reader.skip(wireType);
|
|
1255
|
-
if (u !== false)
|
|
1256
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1257
|
-
}
|
|
1258
|
-
}
|
|
1259
|
-
return message;
|
|
1260
|
-
}
|
|
1261
|
-
internalBinaryWrite(message: ScimGroupRef, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1262
|
-
/* string value = 1; */
|
|
1263
|
-
if (message.value !== "")
|
|
1264
|
-
writer.tag(1, WireType.LengthDelimited).string(message.value);
|
|
1265
|
-
/* string display = 2; */
|
|
1266
|
-
if (message.display !== "")
|
|
1267
|
-
writer.tag(2, WireType.LengthDelimited).string(message.display);
|
|
1268
|
-
let u = options.writeUnknownFields;
|
|
1269
|
-
if (u !== false)
|
|
1270
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1271
|
-
return writer;
|
|
1272
|
-
}
|
|
1273
|
-
}
|
|
1274
|
-
/**
|
|
1275
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimGroupRef
|
|
1276
|
-
*/
|
|
1277
|
-
export const ScimGroupRef = new ScimGroupRef$Type();
|
|
1278
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1279
|
-
class ScimMeta$Type extends MessageType<ScimMeta> {
|
|
1280
|
-
constructor() {
|
|
1281
|
-
super("sid.v1.scim.ScimMeta", [
|
|
1282
|
-
{ no: 1, name: "resource_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1283
|
-
{ no: 2, name: "created", kind: "message", T: () => Timestamp },
|
|
1284
|
-
{ no: 3, name: "last_modified", kind: "message", T: () => Timestamp },
|
|
1285
|
-
{ no: 4, name: "location", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1286
|
-
{ no: 5, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1287
|
-
]);
|
|
1288
|
-
}
|
|
1289
|
-
create(value?: PartialMessage<ScimMeta>): ScimMeta {
|
|
1290
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1291
|
-
message.resourceType = "";
|
|
1292
|
-
message.location = "";
|
|
1293
|
-
message.version = "";
|
|
1294
|
-
if (value !== undefined)
|
|
1295
|
-
reflectionMergePartial<ScimMeta>(this, message, value);
|
|
1296
|
-
return message;
|
|
1297
|
-
}
|
|
1298
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimMeta): ScimMeta {
|
|
1299
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1300
|
-
while (reader.pos < end) {
|
|
1301
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1302
|
-
switch (fieldNo) {
|
|
1303
|
-
case /* string resource_type */ 1:
|
|
1304
|
-
message.resourceType = reader.string();
|
|
1305
|
-
break;
|
|
1306
|
-
case /* google.protobuf.Timestamp created */ 2:
|
|
1307
|
-
message.created = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.created);
|
|
1308
|
-
break;
|
|
1309
|
-
case /* google.protobuf.Timestamp last_modified */ 3:
|
|
1310
|
-
message.lastModified = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.lastModified);
|
|
1311
|
-
break;
|
|
1312
|
-
case /* string location */ 4:
|
|
1313
|
-
message.location = reader.string();
|
|
1314
|
-
break;
|
|
1315
|
-
case /* string version */ 5:
|
|
1316
|
-
message.version = reader.string();
|
|
1317
|
-
break;
|
|
1318
|
-
default:
|
|
1319
|
-
let u = options.readUnknownField;
|
|
1320
|
-
if (u === "throw")
|
|
1321
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1322
|
-
let d = reader.skip(wireType);
|
|
1323
|
-
if (u !== false)
|
|
1324
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1325
|
-
}
|
|
1326
|
-
}
|
|
1327
|
-
return message;
|
|
1328
|
-
}
|
|
1329
|
-
internalBinaryWrite(message: ScimMeta, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1330
|
-
/* string resource_type = 1; */
|
|
1331
|
-
if (message.resourceType !== "")
|
|
1332
|
-
writer.tag(1, WireType.LengthDelimited).string(message.resourceType);
|
|
1333
|
-
/* google.protobuf.Timestamp created = 2; */
|
|
1334
|
-
if (message.created)
|
|
1335
|
-
Timestamp.internalBinaryWrite(message.created, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1336
|
-
/* google.protobuf.Timestamp last_modified = 3; */
|
|
1337
|
-
if (message.lastModified)
|
|
1338
|
-
Timestamp.internalBinaryWrite(message.lastModified, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1339
|
-
/* string location = 4; */
|
|
1340
|
-
if (message.location !== "")
|
|
1341
|
-
writer.tag(4, WireType.LengthDelimited).string(message.location);
|
|
1342
|
-
/* string version = 5; */
|
|
1343
|
-
if (message.version !== "")
|
|
1344
|
-
writer.tag(5, WireType.LengthDelimited).string(message.version);
|
|
1345
|
-
let u = options.writeUnknownFields;
|
|
1346
|
-
if (u !== false)
|
|
1347
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1348
|
-
return writer;
|
|
1349
|
-
}
|
|
1350
|
-
}
|
|
1351
|
-
/**
|
|
1352
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimMeta
|
|
1353
|
-
*/
|
|
1354
|
-
export const ScimMeta = new ScimMeta$Type();
|
|
1355
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1356
|
-
class ScimCreateUserRequest$Type extends MessageType<ScimCreateUserRequest> {
|
|
1357
|
-
constructor() {
|
|
1358
|
-
super("sid.v1.scim.ScimCreateUserRequest", [
|
|
1359
|
-
{ no: 1, name: "external_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1360
|
-
{ no: 2, name: "user_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1361
|
-
{ no: 3, name: "name", kind: "message", T: () => ScimName },
|
|
1362
|
-
{ no: 4, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1363
|
-
{ no: 5, name: "emails", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimEmail },
|
|
1364
|
-
{ no: 6, name: "phone_numbers", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimPhoneNumber },
|
|
1365
|
-
{ no: 7, name: "department", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1366
|
-
{ no: 8, name: "title", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1367
|
-
{ no: 9, name: "active", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
1368
|
-
]);
|
|
1369
|
-
}
|
|
1370
|
-
create(value?: PartialMessage<ScimCreateUserRequest>): ScimCreateUserRequest {
|
|
1371
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1372
|
-
message.externalId = "";
|
|
1373
|
-
message.userName = "";
|
|
1374
|
-
message.displayName = "";
|
|
1375
|
-
message.emails = [];
|
|
1376
|
-
message.phoneNumbers = [];
|
|
1377
|
-
message.department = "";
|
|
1378
|
-
message.title = "";
|
|
1379
|
-
message.active = false;
|
|
1380
|
-
if (value !== undefined)
|
|
1381
|
-
reflectionMergePartial<ScimCreateUserRequest>(this, message, value);
|
|
1382
|
-
return message;
|
|
1383
|
-
}
|
|
1384
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimCreateUserRequest): ScimCreateUserRequest {
|
|
1385
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1386
|
-
while (reader.pos < end) {
|
|
1387
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1388
|
-
switch (fieldNo) {
|
|
1389
|
-
case /* string external_id */ 1:
|
|
1390
|
-
message.externalId = reader.string();
|
|
1391
|
-
break;
|
|
1392
|
-
case /* string user_name */ 2:
|
|
1393
|
-
message.userName = reader.string();
|
|
1394
|
-
break;
|
|
1395
|
-
case /* sid.v1.scim.ScimName name */ 3:
|
|
1396
|
-
message.name = ScimName.internalBinaryRead(reader, reader.uint32(), options, message.name);
|
|
1397
|
-
break;
|
|
1398
|
-
case /* string display_name */ 4:
|
|
1399
|
-
message.displayName = reader.string();
|
|
1400
|
-
break;
|
|
1401
|
-
case /* repeated sid.v1.scim.ScimEmail emails */ 5:
|
|
1402
|
-
message.emails.push(ScimEmail.internalBinaryRead(reader, reader.uint32(), options));
|
|
1403
|
-
break;
|
|
1404
|
-
case /* repeated sid.v1.scim.ScimPhoneNumber phone_numbers */ 6:
|
|
1405
|
-
message.phoneNumbers.push(ScimPhoneNumber.internalBinaryRead(reader, reader.uint32(), options));
|
|
1406
|
-
break;
|
|
1407
|
-
case /* string department */ 7:
|
|
1408
|
-
message.department = reader.string();
|
|
1409
|
-
break;
|
|
1410
|
-
case /* string title */ 8:
|
|
1411
|
-
message.title = reader.string();
|
|
1412
|
-
break;
|
|
1413
|
-
case /* bool active */ 9:
|
|
1414
|
-
message.active = reader.bool();
|
|
1415
|
-
break;
|
|
1416
|
-
default:
|
|
1417
|
-
let u = options.readUnknownField;
|
|
1418
|
-
if (u === "throw")
|
|
1419
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1420
|
-
let d = reader.skip(wireType);
|
|
1421
|
-
if (u !== false)
|
|
1422
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1423
|
-
}
|
|
1424
|
-
}
|
|
1425
|
-
return message;
|
|
1426
|
-
}
|
|
1427
|
-
internalBinaryWrite(message: ScimCreateUserRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1428
|
-
/* string external_id = 1; */
|
|
1429
|
-
if (message.externalId !== "")
|
|
1430
|
-
writer.tag(1, WireType.LengthDelimited).string(message.externalId);
|
|
1431
|
-
/* string user_name = 2; */
|
|
1432
|
-
if (message.userName !== "")
|
|
1433
|
-
writer.tag(2, WireType.LengthDelimited).string(message.userName);
|
|
1434
|
-
/* sid.v1.scim.ScimName name = 3; */
|
|
1435
|
-
if (message.name)
|
|
1436
|
-
ScimName.internalBinaryWrite(message.name, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1437
|
-
/* string display_name = 4; */
|
|
1438
|
-
if (message.displayName !== "")
|
|
1439
|
-
writer.tag(4, WireType.LengthDelimited).string(message.displayName);
|
|
1440
|
-
/* repeated sid.v1.scim.ScimEmail emails = 5; */
|
|
1441
|
-
for (let i = 0; i < message.emails.length; i++)
|
|
1442
|
-
ScimEmail.internalBinaryWrite(message.emails[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
1443
|
-
/* repeated sid.v1.scim.ScimPhoneNumber phone_numbers = 6; */
|
|
1444
|
-
for (let i = 0; i < message.phoneNumbers.length; i++)
|
|
1445
|
-
ScimPhoneNumber.internalBinaryWrite(message.phoneNumbers[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
1446
|
-
/* string department = 7; */
|
|
1447
|
-
if (message.department !== "")
|
|
1448
|
-
writer.tag(7, WireType.LengthDelimited).string(message.department);
|
|
1449
|
-
/* string title = 8; */
|
|
1450
|
-
if (message.title !== "")
|
|
1451
|
-
writer.tag(8, WireType.LengthDelimited).string(message.title);
|
|
1452
|
-
/* bool active = 9; */
|
|
1453
|
-
if (message.active !== false)
|
|
1454
|
-
writer.tag(9, WireType.Varint).bool(message.active);
|
|
1455
|
-
let u = options.writeUnknownFields;
|
|
1456
|
-
if (u !== false)
|
|
1457
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1458
|
-
return writer;
|
|
1459
|
-
}
|
|
1460
|
-
}
|
|
1461
|
-
/**
|
|
1462
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimCreateUserRequest
|
|
1463
|
-
*/
|
|
1464
|
-
export const ScimCreateUserRequest = new ScimCreateUserRequest$Type();
|
|
1465
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1466
|
-
class ScimGetUserRequest$Type extends MessageType<ScimGetUserRequest> {
|
|
1467
|
-
constructor() {
|
|
1468
|
-
super("sid.v1.scim.ScimGetUserRequest", [
|
|
1469
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1470
|
-
]);
|
|
1471
|
-
}
|
|
1472
|
-
create(value?: PartialMessage<ScimGetUserRequest>): ScimGetUserRequest {
|
|
1473
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1474
|
-
message.id = "";
|
|
1475
|
-
if (value !== undefined)
|
|
1476
|
-
reflectionMergePartial<ScimGetUserRequest>(this, message, value);
|
|
1477
|
-
return message;
|
|
1478
|
-
}
|
|
1479
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimGetUserRequest): ScimGetUserRequest {
|
|
1480
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1481
|
-
while (reader.pos < end) {
|
|
1482
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1483
|
-
switch (fieldNo) {
|
|
1484
|
-
case /* string id */ 1:
|
|
1485
|
-
message.id = reader.string();
|
|
1486
|
-
break;
|
|
1487
|
-
default:
|
|
1488
|
-
let u = options.readUnknownField;
|
|
1489
|
-
if (u === "throw")
|
|
1490
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1491
|
-
let d = reader.skip(wireType);
|
|
1492
|
-
if (u !== false)
|
|
1493
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1494
|
-
}
|
|
1495
|
-
}
|
|
1496
|
-
return message;
|
|
1497
|
-
}
|
|
1498
|
-
internalBinaryWrite(message: ScimGetUserRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1499
|
-
/* string id = 1; */
|
|
1500
|
-
if (message.id !== "")
|
|
1501
|
-
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
1502
|
-
let u = options.writeUnknownFields;
|
|
1503
|
-
if (u !== false)
|
|
1504
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1505
|
-
return writer;
|
|
1506
|
-
}
|
|
1507
|
-
}
|
|
1508
|
-
/**
|
|
1509
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimGetUserRequest
|
|
1510
|
-
*/
|
|
1511
|
-
export const ScimGetUserRequest = new ScimGetUserRequest$Type();
|
|
1512
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1513
|
-
class ScimListUsersRequest$Type extends MessageType<ScimListUsersRequest> {
|
|
1514
|
-
constructor() {
|
|
1515
|
-
super("sid.v1.scim.ScimListUsersRequest", [
|
|
1516
|
-
{ no: 1, name: "filter", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1517
|
-
{ no: 2, name: "start_index", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
1518
|
-
{ no: 3, name: "count", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
|
|
1519
|
-
]);
|
|
1520
|
-
}
|
|
1521
|
-
create(value?: PartialMessage<ScimListUsersRequest>): ScimListUsersRequest {
|
|
1522
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1523
|
-
message.filter = "";
|
|
1524
|
-
message.startIndex = 0;
|
|
1525
|
-
message.count = 0;
|
|
1526
|
-
if (value !== undefined)
|
|
1527
|
-
reflectionMergePartial<ScimListUsersRequest>(this, message, value);
|
|
1528
|
-
return message;
|
|
1529
|
-
}
|
|
1530
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimListUsersRequest): ScimListUsersRequest {
|
|
1531
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1532
|
-
while (reader.pos < end) {
|
|
1533
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1534
|
-
switch (fieldNo) {
|
|
1535
|
-
case /* string filter */ 1:
|
|
1536
|
-
message.filter = reader.string();
|
|
1537
|
-
break;
|
|
1538
|
-
case /* int32 start_index */ 2:
|
|
1539
|
-
message.startIndex = reader.int32();
|
|
1540
|
-
break;
|
|
1541
|
-
case /* int32 count */ 3:
|
|
1542
|
-
message.count = reader.int32();
|
|
1543
|
-
break;
|
|
1544
|
-
default:
|
|
1545
|
-
let u = options.readUnknownField;
|
|
1546
|
-
if (u === "throw")
|
|
1547
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1548
|
-
let d = reader.skip(wireType);
|
|
1549
|
-
if (u !== false)
|
|
1550
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1551
|
-
}
|
|
1552
|
-
}
|
|
1553
|
-
return message;
|
|
1554
|
-
}
|
|
1555
|
-
internalBinaryWrite(message: ScimListUsersRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1556
|
-
/* string filter = 1; */
|
|
1557
|
-
if (message.filter !== "")
|
|
1558
|
-
writer.tag(1, WireType.LengthDelimited).string(message.filter);
|
|
1559
|
-
/* int32 start_index = 2; */
|
|
1560
|
-
if (message.startIndex !== 0)
|
|
1561
|
-
writer.tag(2, WireType.Varint).int32(message.startIndex);
|
|
1562
|
-
/* int32 count = 3; */
|
|
1563
|
-
if (message.count !== 0)
|
|
1564
|
-
writer.tag(3, WireType.Varint).int32(message.count);
|
|
1565
|
-
let u = options.writeUnknownFields;
|
|
1566
|
-
if (u !== false)
|
|
1567
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1568
|
-
return writer;
|
|
1569
|
-
}
|
|
1570
|
-
}
|
|
1571
|
-
/**
|
|
1572
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimListUsersRequest
|
|
1573
|
-
*/
|
|
1574
|
-
export const ScimListUsersRequest = new ScimListUsersRequest$Type();
|
|
1575
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1576
|
-
class ScimListUsersResponse$Type extends MessageType<ScimListUsersResponse> {
|
|
1577
|
-
constructor() {
|
|
1578
|
-
super("sid.v1.scim.ScimListUsersResponse", [
|
|
1579
|
-
{ no: 1, name: "resources", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimUser },
|
|
1580
|
-
{ no: 2, name: "total_results", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
1581
|
-
{ no: 3, name: "start_index", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
1582
|
-
{ no: 4, name: "items_per_page", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
|
|
1583
|
-
]);
|
|
1584
|
-
}
|
|
1585
|
-
create(value?: PartialMessage<ScimListUsersResponse>): ScimListUsersResponse {
|
|
1586
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1587
|
-
message.resources = [];
|
|
1588
|
-
message.totalResults = 0;
|
|
1589
|
-
message.startIndex = 0;
|
|
1590
|
-
message.itemsPerPage = 0;
|
|
1591
|
-
if (value !== undefined)
|
|
1592
|
-
reflectionMergePartial<ScimListUsersResponse>(this, message, value);
|
|
1593
|
-
return message;
|
|
1594
|
-
}
|
|
1595
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimListUsersResponse): ScimListUsersResponse {
|
|
1596
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1597
|
-
while (reader.pos < end) {
|
|
1598
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1599
|
-
switch (fieldNo) {
|
|
1600
|
-
case /* repeated sid.v1.scim.ScimUser resources */ 1:
|
|
1601
|
-
message.resources.push(ScimUser.internalBinaryRead(reader, reader.uint32(), options));
|
|
1602
|
-
break;
|
|
1603
|
-
case /* int32 total_results */ 2:
|
|
1604
|
-
message.totalResults = reader.int32();
|
|
1605
|
-
break;
|
|
1606
|
-
case /* int32 start_index */ 3:
|
|
1607
|
-
message.startIndex = reader.int32();
|
|
1608
|
-
break;
|
|
1609
|
-
case /* int32 items_per_page */ 4:
|
|
1610
|
-
message.itemsPerPage = reader.int32();
|
|
1611
|
-
break;
|
|
1612
|
-
default:
|
|
1613
|
-
let u = options.readUnknownField;
|
|
1614
|
-
if (u === "throw")
|
|
1615
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1616
|
-
let d = reader.skip(wireType);
|
|
1617
|
-
if (u !== false)
|
|
1618
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1619
|
-
}
|
|
1620
|
-
}
|
|
1621
|
-
return message;
|
|
1622
|
-
}
|
|
1623
|
-
internalBinaryWrite(message: ScimListUsersResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1624
|
-
/* repeated sid.v1.scim.ScimUser resources = 1; */
|
|
1625
|
-
for (let i = 0; i < message.resources.length; i++)
|
|
1626
|
-
ScimUser.internalBinaryWrite(message.resources[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1627
|
-
/* int32 total_results = 2; */
|
|
1628
|
-
if (message.totalResults !== 0)
|
|
1629
|
-
writer.tag(2, WireType.Varint).int32(message.totalResults);
|
|
1630
|
-
/* int32 start_index = 3; */
|
|
1631
|
-
if (message.startIndex !== 0)
|
|
1632
|
-
writer.tag(3, WireType.Varint).int32(message.startIndex);
|
|
1633
|
-
/* int32 items_per_page = 4; */
|
|
1634
|
-
if (message.itemsPerPage !== 0)
|
|
1635
|
-
writer.tag(4, WireType.Varint).int32(message.itemsPerPage);
|
|
1636
|
-
let u = options.writeUnknownFields;
|
|
1637
|
-
if (u !== false)
|
|
1638
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1639
|
-
return writer;
|
|
1640
|
-
}
|
|
1641
|
-
}
|
|
1642
|
-
/**
|
|
1643
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimListUsersResponse
|
|
1644
|
-
*/
|
|
1645
|
-
export const ScimListUsersResponse = new ScimListUsersResponse$Type();
|
|
1646
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1647
|
-
class ScimReplaceUserRequest$Type extends MessageType<ScimReplaceUserRequest> {
|
|
1648
|
-
constructor() {
|
|
1649
|
-
super("sid.v1.scim.ScimReplaceUserRequest", [
|
|
1650
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1651
|
-
{ no: 2, name: "external_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1652
|
-
{ no: 3, name: "user_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1653
|
-
{ no: 4, name: "name", kind: "message", T: () => ScimName },
|
|
1654
|
-
{ no: 5, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1655
|
-
{ no: 6, name: "emails", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimEmail },
|
|
1656
|
-
{ no: 7, name: "phone_numbers", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimPhoneNumber },
|
|
1657
|
-
{ no: 8, name: "department", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1658
|
-
{ no: 9, name: "title", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1659
|
-
{ no: 10, name: "active", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
1660
|
-
]);
|
|
1661
|
-
}
|
|
1662
|
-
create(value?: PartialMessage<ScimReplaceUserRequest>): ScimReplaceUserRequest {
|
|
1663
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1664
|
-
message.id = "";
|
|
1665
|
-
message.externalId = "";
|
|
1666
|
-
message.userName = "";
|
|
1667
|
-
message.displayName = "";
|
|
1668
|
-
message.emails = [];
|
|
1669
|
-
message.phoneNumbers = [];
|
|
1670
|
-
message.department = "";
|
|
1671
|
-
message.title = "";
|
|
1672
|
-
message.active = false;
|
|
1673
|
-
if (value !== undefined)
|
|
1674
|
-
reflectionMergePartial<ScimReplaceUserRequest>(this, message, value);
|
|
1675
|
-
return message;
|
|
1676
|
-
}
|
|
1677
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimReplaceUserRequest): ScimReplaceUserRequest {
|
|
1678
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1679
|
-
while (reader.pos < end) {
|
|
1680
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1681
|
-
switch (fieldNo) {
|
|
1682
|
-
case /* string id */ 1:
|
|
1683
|
-
message.id = reader.string();
|
|
1684
|
-
break;
|
|
1685
|
-
case /* string external_id */ 2:
|
|
1686
|
-
message.externalId = reader.string();
|
|
1687
|
-
break;
|
|
1688
|
-
case /* string user_name */ 3:
|
|
1689
|
-
message.userName = reader.string();
|
|
1690
|
-
break;
|
|
1691
|
-
case /* sid.v1.scim.ScimName name */ 4:
|
|
1692
|
-
message.name = ScimName.internalBinaryRead(reader, reader.uint32(), options, message.name);
|
|
1693
|
-
break;
|
|
1694
|
-
case /* string display_name */ 5:
|
|
1695
|
-
message.displayName = reader.string();
|
|
1696
|
-
break;
|
|
1697
|
-
case /* repeated sid.v1.scim.ScimEmail emails */ 6:
|
|
1698
|
-
message.emails.push(ScimEmail.internalBinaryRead(reader, reader.uint32(), options));
|
|
1699
|
-
break;
|
|
1700
|
-
case /* repeated sid.v1.scim.ScimPhoneNumber phone_numbers */ 7:
|
|
1701
|
-
message.phoneNumbers.push(ScimPhoneNumber.internalBinaryRead(reader, reader.uint32(), options));
|
|
1702
|
-
break;
|
|
1703
|
-
case /* string department */ 8:
|
|
1704
|
-
message.department = reader.string();
|
|
1705
|
-
break;
|
|
1706
|
-
case /* string title */ 9:
|
|
1707
|
-
message.title = reader.string();
|
|
1708
|
-
break;
|
|
1709
|
-
case /* bool active */ 10:
|
|
1710
|
-
message.active = reader.bool();
|
|
1711
|
-
break;
|
|
1712
|
-
default:
|
|
1713
|
-
let u = options.readUnknownField;
|
|
1714
|
-
if (u === "throw")
|
|
1715
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1716
|
-
let d = reader.skip(wireType);
|
|
1717
|
-
if (u !== false)
|
|
1718
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1719
|
-
}
|
|
1720
|
-
}
|
|
1721
|
-
return message;
|
|
1722
|
-
}
|
|
1723
|
-
internalBinaryWrite(message: ScimReplaceUserRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1724
|
-
/* string id = 1; */
|
|
1725
|
-
if (message.id !== "")
|
|
1726
|
-
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
1727
|
-
/* string external_id = 2; */
|
|
1728
|
-
if (message.externalId !== "")
|
|
1729
|
-
writer.tag(2, WireType.LengthDelimited).string(message.externalId);
|
|
1730
|
-
/* string user_name = 3; */
|
|
1731
|
-
if (message.userName !== "")
|
|
1732
|
-
writer.tag(3, WireType.LengthDelimited).string(message.userName);
|
|
1733
|
-
/* sid.v1.scim.ScimName name = 4; */
|
|
1734
|
-
if (message.name)
|
|
1735
|
-
ScimName.internalBinaryWrite(message.name, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
1736
|
-
/* string display_name = 5; */
|
|
1737
|
-
if (message.displayName !== "")
|
|
1738
|
-
writer.tag(5, WireType.LengthDelimited).string(message.displayName);
|
|
1739
|
-
/* repeated sid.v1.scim.ScimEmail emails = 6; */
|
|
1740
|
-
for (let i = 0; i < message.emails.length; i++)
|
|
1741
|
-
ScimEmail.internalBinaryWrite(message.emails[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
1742
|
-
/* repeated sid.v1.scim.ScimPhoneNumber phone_numbers = 7; */
|
|
1743
|
-
for (let i = 0; i < message.phoneNumbers.length; i++)
|
|
1744
|
-
ScimPhoneNumber.internalBinaryWrite(message.phoneNumbers[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
1745
|
-
/* string department = 8; */
|
|
1746
|
-
if (message.department !== "")
|
|
1747
|
-
writer.tag(8, WireType.LengthDelimited).string(message.department);
|
|
1748
|
-
/* string title = 9; */
|
|
1749
|
-
if (message.title !== "")
|
|
1750
|
-
writer.tag(9, WireType.LengthDelimited).string(message.title);
|
|
1751
|
-
/* bool active = 10; */
|
|
1752
|
-
if (message.active !== false)
|
|
1753
|
-
writer.tag(10, WireType.Varint).bool(message.active);
|
|
1754
|
-
let u = options.writeUnknownFields;
|
|
1755
|
-
if (u !== false)
|
|
1756
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1757
|
-
return writer;
|
|
1758
|
-
}
|
|
1759
|
-
}
|
|
1760
|
-
/**
|
|
1761
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimReplaceUserRequest
|
|
1762
|
-
*/
|
|
1763
|
-
export const ScimReplaceUserRequest = new ScimReplaceUserRequest$Type();
|
|
1764
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1765
|
-
class ScimPatchUserRequest$Type extends MessageType<ScimPatchUserRequest> {
|
|
1766
|
-
constructor() {
|
|
1767
|
-
super("sid.v1.scim.ScimPatchUserRequest", [
|
|
1768
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1769
|
-
{ no: 2, name: "operations", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimPatchOp }
|
|
1770
|
-
]);
|
|
1771
|
-
}
|
|
1772
|
-
create(value?: PartialMessage<ScimPatchUserRequest>): ScimPatchUserRequest {
|
|
1773
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1774
|
-
message.id = "";
|
|
1775
|
-
message.operations = [];
|
|
1776
|
-
if (value !== undefined)
|
|
1777
|
-
reflectionMergePartial<ScimPatchUserRequest>(this, message, value);
|
|
1778
|
-
return message;
|
|
1779
|
-
}
|
|
1780
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimPatchUserRequest): ScimPatchUserRequest {
|
|
1781
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1782
|
-
while (reader.pos < end) {
|
|
1783
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1784
|
-
switch (fieldNo) {
|
|
1785
|
-
case /* string id */ 1:
|
|
1786
|
-
message.id = reader.string();
|
|
1787
|
-
break;
|
|
1788
|
-
case /* repeated sid.v1.scim.ScimPatchOp operations */ 2:
|
|
1789
|
-
message.operations.push(ScimPatchOp.internalBinaryRead(reader, reader.uint32(), options));
|
|
1790
|
-
break;
|
|
1791
|
-
default:
|
|
1792
|
-
let u = options.readUnknownField;
|
|
1793
|
-
if (u === "throw")
|
|
1794
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1795
|
-
let d = reader.skip(wireType);
|
|
1796
|
-
if (u !== false)
|
|
1797
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1798
|
-
}
|
|
1799
|
-
}
|
|
1800
|
-
return message;
|
|
1801
|
-
}
|
|
1802
|
-
internalBinaryWrite(message: ScimPatchUserRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1803
|
-
/* string id = 1; */
|
|
1804
|
-
if (message.id !== "")
|
|
1805
|
-
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
1806
|
-
/* repeated sid.v1.scim.ScimPatchOp operations = 2; */
|
|
1807
|
-
for (let i = 0; i < message.operations.length; i++)
|
|
1808
|
-
ScimPatchOp.internalBinaryWrite(message.operations[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1809
|
-
let u = options.writeUnknownFields;
|
|
1810
|
-
if (u !== false)
|
|
1811
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1812
|
-
return writer;
|
|
1813
|
-
}
|
|
1814
|
-
}
|
|
1815
|
-
/**
|
|
1816
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimPatchUserRequest
|
|
1817
|
-
*/
|
|
1818
|
-
export const ScimPatchUserRequest = new ScimPatchUserRequest$Type();
|
|
1819
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1820
|
-
class ScimDeleteUserRequest$Type extends MessageType<ScimDeleteUserRequest> {
|
|
1821
|
-
constructor() {
|
|
1822
|
-
super("sid.v1.scim.ScimDeleteUserRequest", [
|
|
1823
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1824
|
-
]);
|
|
1825
|
-
}
|
|
1826
|
-
create(value?: PartialMessage<ScimDeleteUserRequest>): ScimDeleteUserRequest {
|
|
1827
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1828
|
-
message.id = "";
|
|
1829
|
-
if (value !== undefined)
|
|
1830
|
-
reflectionMergePartial<ScimDeleteUserRequest>(this, message, value);
|
|
1831
|
-
return message;
|
|
1832
|
-
}
|
|
1833
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimDeleteUserRequest): ScimDeleteUserRequest {
|
|
1834
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1835
|
-
while (reader.pos < end) {
|
|
1836
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1837
|
-
switch (fieldNo) {
|
|
1838
|
-
case /* string id */ 1:
|
|
1839
|
-
message.id = reader.string();
|
|
1840
|
-
break;
|
|
1841
|
-
default:
|
|
1842
|
-
let u = options.readUnknownField;
|
|
1843
|
-
if (u === "throw")
|
|
1844
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1845
|
-
let d = reader.skip(wireType);
|
|
1846
|
-
if (u !== false)
|
|
1847
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1848
|
-
}
|
|
1849
|
-
}
|
|
1850
|
-
return message;
|
|
1851
|
-
}
|
|
1852
|
-
internalBinaryWrite(message: ScimDeleteUserRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1853
|
-
/* string id = 1; */
|
|
1854
|
-
if (message.id !== "")
|
|
1855
|
-
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
1856
|
-
let u = options.writeUnknownFields;
|
|
1857
|
-
if (u !== false)
|
|
1858
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1859
|
-
return writer;
|
|
1860
|
-
}
|
|
1861
|
-
}
|
|
1862
|
-
/**
|
|
1863
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimDeleteUserRequest
|
|
1864
|
-
*/
|
|
1865
|
-
export const ScimDeleteUserRequest = new ScimDeleteUserRequest$Type();
|
|
1866
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1867
|
-
class ScimGroup$Type extends MessageType<ScimGroup> {
|
|
1868
|
-
constructor() {
|
|
1869
|
-
super("sid.v1.scim.ScimGroup", [
|
|
1870
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1871
|
-
{ no: 2, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1872
|
-
{ no: 3, name: "members", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimMemberRef },
|
|
1873
|
-
{ no: 4, name: "meta", kind: "message", T: () => ScimMeta }
|
|
1874
|
-
]);
|
|
1875
|
-
}
|
|
1876
|
-
create(value?: PartialMessage<ScimGroup>): ScimGroup {
|
|
1877
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1878
|
-
message.id = "";
|
|
1879
|
-
message.displayName = "";
|
|
1880
|
-
message.members = [];
|
|
1881
|
-
if (value !== undefined)
|
|
1882
|
-
reflectionMergePartial<ScimGroup>(this, message, value);
|
|
1883
|
-
return message;
|
|
1884
|
-
}
|
|
1885
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimGroup): ScimGroup {
|
|
1886
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1887
|
-
while (reader.pos < end) {
|
|
1888
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1889
|
-
switch (fieldNo) {
|
|
1890
|
-
case /* string id */ 1:
|
|
1891
|
-
message.id = reader.string();
|
|
1892
|
-
break;
|
|
1893
|
-
case /* string display_name */ 2:
|
|
1894
|
-
message.displayName = reader.string();
|
|
1895
|
-
break;
|
|
1896
|
-
case /* repeated sid.v1.scim.ScimMemberRef members */ 3:
|
|
1897
|
-
message.members.push(ScimMemberRef.internalBinaryRead(reader, reader.uint32(), options));
|
|
1898
|
-
break;
|
|
1899
|
-
case /* sid.v1.scim.ScimMeta meta */ 4:
|
|
1900
|
-
message.meta = ScimMeta.internalBinaryRead(reader, reader.uint32(), options, message.meta);
|
|
1901
|
-
break;
|
|
1902
|
-
default:
|
|
1903
|
-
let u = options.readUnknownField;
|
|
1904
|
-
if (u === "throw")
|
|
1905
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1906
|
-
let d = reader.skip(wireType);
|
|
1907
|
-
if (u !== false)
|
|
1908
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1909
|
-
}
|
|
1910
|
-
}
|
|
1911
|
-
return message;
|
|
1912
|
-
}
|
|
1913
|
-
internalBinaryWrite(message: ScimGroup, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1914
|
-
/* string id = 1; */
|
|
1915
|
-
if (message.id !== "")
|
|
1916
|
-
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
1917
|
-
/* string display_name = 2; */
|
|
1918
|
-
if (message.displayName !== "")
|
|
1919
|
-
writer.tag(2, WireType.LengthDelimited).string(message.displayName);
|
|
1920
|
-
/* repeated sid.v1.scim.ScimMemberRef members = 3; */
|
|
1921
|
-
for (let i = 0; i < message.members.length; i++)
|
|
1922
|
-
ScimMemberRef.internalBinaryWrite(message.members[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1923
|
-
/* sid.v1.scim.ScimMeta meta = 4; */
|
|
1924
|
-
if (message.meta)
|
|
1925
|
-
ScimMeta.internalBinaryWrite(message.meta, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
1926
|
-
let u = options.writeUnknownFields;
|
|
1927
|
-
if (u !== false)
|
|
1928
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1929
|
-
return writer;
|
|
1930
|
-
}
|
|
1931
|
-
}
|
|
1932
|
-
/**
|
|
1933
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimGroup
|
|
1934
|
-
*/
|
|
1935
|
-
export const ScimGroup = new ScimGroup$Type();
|
|
1936
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1937
|
-
class ScimMemberRef$Type extends MessageType<ScimMemberRef> {
|
|
1938
|
-
constructor() {
|
|
1939
|
-
super("sid.v1.scim.ScimMemberRef", [
|
|
1940
|
-
{ no: 1, name: "value", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1941
|
-
{ no: 2, name: "display", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1942
|
-
]);
|
|
1943
|
-
}
|
|
1944
|
-
create(value?: PartialMessage<ScimMemberRef>): ScimMemberRef {
|
|
1945
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1946
|
-
message.value = "";
|
|
1947
|
-
message.display = "";
|
|
1948
|
-
if (value !== undefined)
|
|
1949
|
-
reflectionMergePartial<ScimMemberRef>(this, message, value);
|
|
1950
|
-
return message;
|
|
1951
|
-
}
|
|
1952
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimMemberRef): ScimMemberRef {
|
|
1953
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1954
|
-
while (reader.pos < end) {
|
|
1955
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1956
|
-
switch (fieldNo) {
|
|
1957
|
-
case /* string value */ 1:
|
|
1958
|
-
message.value = reader.string();
|
|
1959
|
-
break;
|
|
1960
|
-
case /* string display */ 2:
|
|
1961
|
-
message.display = reader.string();
|
|
1962
|
-
break;
|
|
1963
|
-
default:
|
|
1964
|
-
let u = options.readUnknownField;
|
|
1965
|
-
if (u === "throw")
|
|
1966
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1967
|
-
let d = reader.skip(wireType);
|
|
1968
|
-
if (u !== false)
|
|
1969
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1970
|
-
}
|
|
1971
|
-
}
|
|
1972
|
-
return message;
|
|
1973
|
-
}
|
|
1974
|
-
internalBinaryWrite(message: ScimMemberRef, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1975
|
-
/* string value = 1; */
|
|
1976
|
-
if (message.value !== "")
|
|
1977
|
-
writer.tag(1, WireType.LengthDelimited).string(message.value);
|
|
1978
|
-
/* string display = 2; */
|
|
1979
|
-
if (message.display !== "")
|
|
1980
|
-
writer.tag(2, WireType.LengthDelimited).string(message.display);
|
|
1981
|
-
let u = options.writeUnknownFields;
|
|
1982
|
-
if (u !== false)
|
|
1983
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1984
|
-
return writer;
|
|
1985
|
-
}
|
|
1986
|
-
}
|
|
1987
|
-
/**
|
|
1988
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimMemberRef
|
|
1989
|
-
*/
|
|
1990
|
-
export const ScimMemberRef = new ScimMemberRef$Type();
|
|
1991
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1992
|
-
class ScimCreateGroupRequest$Type extends MessageType<ScimCreateGroupRequest> {
|
|
1993
|
-
constructor() {
|
|
1994
|
-
super("sid.v1.scim.ScimCreateGroupRequest", [
|
|
1995
|
-
{ no: 1, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1996
|
-
{ no: 2, name: "members", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimMemberRef }
|
|
1997
|
-
]);
|
|
1998
|
-
}
|
|
1999
|
-
create(value?: PartialMessage<ScimCreateGroupRequest>): ScimCreateGroupRequest {
|
|
2000
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2001
|
-
message.displayName = "";
|
|
2002
|
-
message.members = [];
|
|
2003
|
-
if (value !== undefined)
|
|
2004
|
-
reflectionMergePartial<ScimCreateGroupRequest>(this, message, value);
|
|
2005
|
-
return message;
|
|
2006
|
-
}
|
|
2007
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimCreateGroupRequest): ScimCreateGroupRequest {
|
|
2008
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2009
|
-
while (reader.pos < end) {
|
|
2010
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2011
|
-
switch (fieldNo) {
|
|
2012
|
-
case /* string display_name */ 1:
|
|
2013
|
-
message.displayName = reader.string();
|
|
2014
|
-
break;
|
|
2015
|
-
case /* repeated sid.v1.scim.ScimMemberRef members */ 2:
|
|
2016
|
-
message.members.push(ScimMemberRef.internalBinaryRead(reader, reader.uint32(), options));
|
|
2017
|
-
break;
|
|
2018
|
-
default:
|
|
2019
|
-
let u = options.readUnknownField;
|
|
2020
|
-
if (u === "throw")
|
|
2021
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2022
|
-
let d = reader.skip(wireType);
|
|
2023
|
-
if (u !== false)
|
|
2024
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2025
|
-
}
|
|
2026
|
-
}
|
|
2027
|
-
return message;
|
|
2028
|
-
}
|
|
2029
|
-
internalBinaryWrite(message: ScimCreateGroupRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2030
|
-
/* string display_name = 1; */
|
|
2031
|
-
if (message.displayName !== "")
|
|
2032
|
-
writer.tag(1, WireType.LengthDelimited).string(message.displayName);
|
|
2033
|
-
/* repeated sid.v1.scim.ScimMemberRef members = 2; */
|
|
2034
|
-
for (let i = 0; i < message.members.length; i++)
|
|
2035
|
-
ScimMemberRef.internalBinaryWrite(message.members[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
2036
|
-
let u = options.writeUnknownFields;
|
|
2037
|
-
if (u !== false)
|
|
2038
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2039
|
-
return writer;
|
|
2040
|
-
}
|
|
2041
|
-
}
|
|
2042
|
-
/**
|
|
2043
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimCreateGroupRequest
|
|
2044
|
-
*/
|
|
2045
|
-
export const ScimCreateGroupRequest = new ScimCreateGroupRequest$Type();
|
|
2046
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
2047
|
-
class ScimGetGroupRequest$Type extends MessageType<ScimGetGroupRequest> {
|
|
2048
|
-
constructor() {
|
|
2049
|
-
super("sid.v1.scim.ScimGetGroupRequest", [
|
|
2050
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
2051
|
-
]);
|
|
2052
|
-
}
|
|
2053
|
-
create(value?: PartialMessage<ScimGetGroupRequest>): ScimGetGroupRequest {
|
|
2054
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2055
|
-
message.id = "";
|
|
2056
|
-
if (value !== undefined)
|
|
2057
|
-
reflectionMergePartial<ScimGetGroupRequest>(this, message, value);
|
|
2058
|
-
return message;
|
|
2059
|
-
}
|
|
2060
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimGetGroupRequest): ScimGetGroupRequest {
|
|
2061
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2062
|
-
while (reader.pos < end) {
|
|
2063
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2064
|
-
switch (fieldNo) {
|
|
2065
|
-
case /* string id */ 1:
|
|
2066
|
-
message.id = reader.string();
|
|
2067
|
-
break;
|
|
2068
|
-
default:
|
|
2069
|
-
let u = options.readUnknownField;
|
|
2070
|
-
if (u === "throw")
|
|
2071
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2072
|
-
let d = reader.skip(wireType);
|
|
2073
|
-
if (u !== false)
|
|
2074
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2075
|
-
}
|
|
2076
|
-
}
|
|
2077
|
-
return message;
|
|
2078
|
-
}
|
|
2079
|
-
internalBinaryWrite(message: ScimGetGroupRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2080
|
-
/* string id = 1; */
|
|
2081
|
-
if (message.id !== "")
|
|
2082
|
-
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
2083
|
-
let u = options.writeUnknownFields;
|
|
2084
|
-
if (u !== false)
|
|
2085
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2086
|
-
return writer;
|
|
2087
|
-
}
|
|
2088
|
-
}
|
|
2089
|
-
/**
|
|
2090
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimGetGroupRequest
|
|
2091
|
-
*/
|
|
2092
|
-
export const ScimGetGroupRequest = new ScimGetGroupRequest$Type();
|
|
2093
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
2094
|
-
class ScimListGroupsRequest$Type extends MessageType<ScimListGroupsRequest> {
|
|
2095
|
-
constructor() {
|
|
2096
|
-
super("sid.v1.scim.ScimListGroupsRequest", [
|
|
2097
|
-
{ no: 1, name: "filter", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2098
|
-
{ no: 2, name: "start_index", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
2099
|
-
{ no: 3, name: "count", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
|
|
2100
|
-
]);
|
|
2101
|
-
}
|
|
2102
|
-
create(value?: PartialMessage<ScimListGroupsRequest>): ScimListGroupsRequest {
|
|
2103
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2104
|
-
message.filter = "";
|
|
2105
|
-
message.startIndex = 0;
|
|
2106
|
-
message.count = 0;
|
|
2107
|
-
if (value !== undefined)
|
|
2108
|
-
reflectionMergePartial<ScimListGroupsRequest>(this, message, value);
|
|
2109
|
-
return message;
|
|
2110
|
-
}
|
|
2111
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimListGroupsRequest): ScimListGroupsRequest {
|
|
2112
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2113
|
-
while (reader.pos < end) {
|
|
2114
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2115
|
-
switch (fieldNo) {
|
|
2116
|
-
case /* string filter */ 1:
|
|
2117
|
-
message.filter = reader.string();
|
|
2118
|
-
break;
|
|
2119
|
-
case /* int32 start_index */ 2:
|
|
2120
|
-
message.startIndex = reader.int32();
|
|
2121
|
-
break;
|
|
2122
|
-
case /* int32 count */ 3:
|
|
2123
|
-
message.count = reader.int32();
|
|
2124
|
-
break;
|
|
2125
|
-
default:
|
|
2126
|
-
let u = options.readUnknownField;
|
|
2127
|
-
if (u === "throw")
|
|
2128
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2129
|
-
let d = reader.skip(wireType);
|
|
2130
|
-
if (u !== false)
|
|
2131
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2132
|
-
}
|
|
2133
|
-
}
|
|
2134
|
-
return message;
|
|
2135
|
-
}
|
|
2136
|
-
internalBinaryWrite(message: ScimListGroupsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2137
|
-
/* string filter = 1; */
|
|
2138
|
-
if (message.filter !== "")
|
|
2139
|
-
writer.tag(1, WireType.LengthDelimited).string(message.filter);
|
|
2140
|
-
/* int32 start_index = 2; */
|
|
2141
|
-
if (message.startIndex !== 0)
|
|
2142
|
-
writer.tag(2, WireType.Varint).int32(message.startIndex);
|
|
2143
|
-
/* int32 count = 3; */
|
|
2144
|
-
if (message.count !== 0)
|
|
2145
|
-
writer.tag(3, WireType.Varint).int32(message.count);
|
|
2146
|
-
let u = options.writeUnknownFields;
|
|
2147
|
-
if (u !== false)
|
|
2148
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2149
|
-
return writer;
|
|
2150
|
-
}
|
|
2151
|
-
}
|
|
2152
|
-
/**
|
|
2153
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimListGroupsRequest
|
|
2154
|
-
*/
|
|
2155
|
-
export const ScimListGroupsRequest = new ScimListGroupsRequest$Type();
|
|
2156
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
2157
|
-
class ScimListGroupsResponse$Type extends MessageType<ScimListGroupsResponse> {
|
|
2158
|
-
constructor() {
|
|
2159
|
-
super("sid.v1.scim.ScimListGroupsResponse", [
|
|
2160
|
-
{ no: 1, name: "resources", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimGroup },
|
|
2161
|
-
{ no: 2, name: "total_results", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
2162
|
-
{ no: 3, name: "start_index", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
2163
|
-
{ no: 4, name: "items_per_page", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
|
|
2164
|
-
]);
|
|
2165
|
-
}
|
|
2166
|
-
create(value?: PartialMessage<ScimListGroupsResponse>): ScimListGroupsResponse {
|
|
2167
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2168
|
-
message.resources = [];
|
|
2169
|
-
message.totalResults = 0;
|
|
2170
|
-
message.startIndex = 0;
|
|
2171
|
-
message.itemsPerPage = 0;
|
|
2172
|
-
if (value !== undefined)
|
|
2173
|
-
reflectionMergePartial<ScimListGroupsResponse>(this, message, value);
|
|
2174
|
-
return message;
|
|
2175
|
-
}
|
|
2176
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimListGroupsResponse): ScimListGroupsResponse {
|
|
2177
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2178
|
-
while (reader.pos < end) {
|
|
2179
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2180
|
-
switch (fieldNo) {
|
|
2181
|
-
case /* repeated sid.v1.scim.ScimGroup resources */ 1:
|
|
2182
|
-
message.resources.push(ScimGroup.internalBinaryRead(reader, reader.uint32(), options));
|
|
2183
|
-
break;
|
|
2184
|
-
case /* int32 total_results */ 2:
|
|
2185
|
-
message.totalResults = reader.int32();
|
|
2186
|
-
break;
|
|
2187
|
-
case /* int32 start_index */ 3:
|
|
2188
|
-
message.startIndex = reader.int32();
|
|
2189
|
-
break;
|
|
2190
|
-
case /* int32 items_per_page */ 4:
|
|
2191
|
-
message.itemsPerPage = reader.int32();
|
|
2192
|
-
break;
|
|
2193
|
-
default:
|
|
2194
|
-
let u = options.readUnknownField;
|
|
2195
|
-
if (u === "throw")
|
|
2196
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2197
|
-
let d = reader.skip(wireType);
|
|
2198
|
-
if (u !== false)
|
|
2199
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2200
|
-
}
|
|
2201
|
-
}
|
|
2202
|
-
return message;
|
|
2203
|
-
}
|
|
2204
|
-
internalBinaryWrite(message: ScimListGroupsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2205
|
-
/* repeated sid.v1.scim.ScimGroup resources = 1; */
|
|
2206
|
-
for (let i = 0; i < message.resources.length; i++)
|
|
2207
|
-
ScimGroup.internalBinaryWrite(message.resources[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
2208
|
-
/* int32 total_results = 2; */
|
|
2209
|
-
if (message.totalResults !== 0)
|
|
2210
|
-
writer.tag(2, WireType.Varint).int32(message.totalResults);
|
|
2211
|
-
/* int32 start_index = 3; */
|
|
2212
|
-
if (message.startIndex !== 0)
|
|
2213
|
-
writer.tag(3, WireType.Varint).int32(message.startIndex);
|
|
2214
|
-
/* int32 items_per_page = 4; */
|
|
2215
|
-
if (message.itemsPerPage !== 0)
|
|
2216
|
-
writer.tag(4, WireType.Varint).int32(message.itemsPerPage);
|
|
2217
|
-
let u = options.writeUnknownFields;
|
|
2218
|
-
if (u !== false)
|
|
2219
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2220
|
-
return writer;
|
|
2221
|
-
}
|
|
2222
|
-
}
|
|
2223
|
-
/**
|
|
2224
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimListGroupsResponse
|
|
2225
|
-
*/
|
|
2226
|
-
export const ScimListGroupsResponse = new ScimListGroupsResponse$Type();
|
|
2227
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
2228
|
-
class ScimPatchGroupRequest$Type extends MessageType<ScimPatchGroupRequest> {
|
|
2229
|
-
constructor() {
|
|
2230
|
-
super("sid.v1.scim.ScimPatchGroupRequest", [
|
|
2231
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2232
|
-
{ no: 2, name: "operations", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimPatchOp }
|
|
2233
|
-
]);
|
|
2234
|
-
}
|
|
2235
|
-
create(value?: PartialMessage<ScimPatchGroupRequest>): ScimPatchGroupRequest {
|
|
2236
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2237
|
-
message.id = "";
|
|
2238
|
-
message.operations = [];
|
|
2239
|
-
if (value !== undefined)
|
|
2240
|
-
reflectionMergePartial<ScimPatchGroupRequest>(this, message, value);
|
|
2241
|
-
return message;
|
|
2242
|
-
}
|
|
2243
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimPatchGroupRequest): ScimPatchGroupRequest {
|
|
2244
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2245
|
-
while (reader.pos < end) {
|
|
2246
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2247
|
-
switch (fieldNo) {
|
|
2248
|
-
case /* string id */ 1:
|
|
2249
|
-
message.id = reader.string();
|
|
2250
|
-
break;
|
|
2251
|
-
case /* repeated sid.v1.scim.ScimPatchOp operations */ 2:
|
|
2252
|
-
message.operations.push(ScimPatchOp.internalBinaryRead(reader, reader.uint32(), options));
|
|
2253
|
-
break;
|
|
2254
|
-
default:
|
|
2255
|
-
let u = options.readUnknownField;
|
|
2256
|
-
if (u === "throw")
|
|
2257
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2258
|
-
let d = reader.skip(wireType);
|
|
2259
|
-
if (u !== false)
|
|
2260
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2261
|
-
}
|
|
2262
|
-
}
|
|
2263
|
-
return message;
|
|
2264
|
-
}
|
|
2265
|
-
internalBinaryWrite(message: ScimPatchGroupRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2266
|
-
/* string id = 1; */
|
|
2267
|
-
if (message.id !== "")
|
|
2268
|
-
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
2269
|
-
/* repeated sid.v1.scim.ScimPatchOp operations = 2; */
|
|
2270
|
-
for (let i = 0; i < message.operations.length; i++)
|
|
2271
|
-
ScimPatchOp.internalBinaryWrite(message.operations[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
2272
|
-
let u = options.writeUnknownFields;
|
|
2273
|
-
if (u !== false)
|
|
2274
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2275
|
-
return writer;
|
|
2276
|
-
}
|
|
2277
|
-
}
|
|
2278
|
-
/**
|
|
2279
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimPatchGroupRequest
|
|
2280
|
-
*/
|
|
2281
|
-
export const ScimPatchGroupRequest = new ScimPatchGroupRequest$Type();
|
|
2282
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
2283
|
-
class ScimDeleteGroupRequest$Type extends MessageType<ScimDeleteGroupRequest> {
|
|
2284
|
-
constructor() {
|
|
2285
|
-
super("sid.v1.scim.ScimDeleteGroupRequest", [
|
|
2286
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
2287
|
-
]);
|
|
2288
|
-
}
|
|
2289
|
-
create(value?: PartialMessage<ScimDeleteGroupRequest>): ScimDeleteGroupRequest {
|
|
2290
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2291
|
-
message.id = "";
|
|
2292
|
-
if (value !== undefined)
|
|
2293
|
-
reflectionMergePartial<ScimDeleteGroupRequest>(this, message, value);
|
|
2294
|
-
return message;
|
|
2295
|
-
}
|
|
2296
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimDeleteGroupRequest): ScimDeleteGroupRequest {
|
|
2297
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2298
|
-
while (reader.pos < end) {
|
|
2299
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2300
|
-
switch (fieldNo) {
|
|
2301
|
-
case /* string id */ 1:
|
|
2302
|
-
message.id = reader.string();
|
|
2303
|
-
break;
|
|
2304
|
-
default:
|
|
2305
|
-
let u = options.readUnknownField;
|
|
2306
|
-
if (u === "throw")
|
|
2307
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2308
|
-
let d = reader.skip(wireType);
|
|
2309
|
-
if (u !== false)
|
|
2310
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2311
|
-
}
|
|
2312
|
-
}
|
|
2313
|
-
return message;
|
|
2314
|
-
}
|
|
2315
|
-
internalBinaryWrite(message: ScimDeleteGroupRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2316
|
-
/* string id = 1; */
|
|
2317
|
-
if (message.id !== "")
|
|
2318
|
-
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
2319
|
-
let u = options.writeUnknownFields;
|
|
2320
|
-
if (u !== false)
|
|
2321
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2322
|
-
return writer;
|
|
2323
|
-
}
|
|
2324
|
-
}
|
|
2325
|
-
/**
|
|
2326
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimDeleteGroupRequest
|
|
2327
|
-
*/
|
|
2328
|
-
export const ScimDeleteGroupRequest = new ScimDeleteGroupRequest$Type();
|
|
2329
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
2330
|
-
class ScimPatchOp$Type extends MessageType<ScimPatchOp> {
|
|
2331
|
-
constructor() {
|
|
2332
|
-
super("sid.v1.scim.ScimPatchOp", [
|
|
2333
|
-
{ no: 1, name: "op", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2334
|
-
{ no: 2, name: "path", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2335
|
-
{ no: 3, name: "value", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
2336
|
-
]);
|
|
2337
|
-
}
|
|
2338
|
-
create(value?: PartialMessage<ScimPatchOp>): ScimPatchOp {
|
|
2339
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2340
|
-
message.op = "";
|
|
2341
|
-
message.path = "";
|
|
2342
|
-
message.value = "";
|
|
2343
|
-
if (value !== undefined)
|
|
2344
|
-
reflectionMergePartial<ScimPatchOp>(this, message, value);
|
|
2345
|
-
return message;
|
|
2346
|
-
}
|
|
2347
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimPatchOp): ScimPatchOp {
|
|
2348
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2349
|
-
while (reader.pos < end) {
|
|
2350
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2351
|
-
switch (fieldNo) {
|
|
2352
|
-
case /* string op */ 1:
|
|
2353
|
-
message.op = reader.string();
|
|
2354
|
-
break;
|
|
2355
|
-
case /* string path */ 2:
|
|
2356
|
-
message.path = reader.string();
|
|
2357
|
-
break;
|
|
2358
|
-
case /* string value */ 3:
|
|
2359
|
-
message.value = reader.string();
|
|
2360
|
-
break;
|
|
2361
|
-
default:
|
|
2362
|
-
let u = options.readUnknownField;
|
|
2363
|
-
if (u === "throw")
|
|
2364
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2365
|
-
let d = reader.skip(wireType);
|
|
2366
|
-
if (u !== false)
|
|
2367
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2368
|
-
}
|
|
2369
|
-
}
|
|
2370
|
-
return message;
|
|
2371
|
-
}
|
|
2372
|
-
internalBinaryWrite(message: ScimPatchOp, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2373
|
-
/* string op = 1; */
|
|
2374
|
-
if (message.op !== "")
|
|
2375
|
-
writer.tag(1, WireType.LengthDelimited).string(message.op);
|
|
2376
|
-
/* string path = 2; */
|
|
2377
|
-
if (message.path !== "")
|
|
2378
|
-
writer.tag(2, WireType.LengthDelimited).string(message.path);
|
|
2379
|
-
/* string value = 3; */
|
|
2380
|
-
if (message.value !== "")
|
|
2381
|
-
writer.tag(3, WireType.LengthDelimited).string(message.value);
|
|
2382
|
-
let u = options.writeUnknownFields;
|
|
2383
|
-
if (u !== false)
|
|
2384
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2385
|
-
return writer;
|
|
2386
|
-
}
|
|
2387
|
-
}
|
|
2388
|
-
/**
|
|
2389
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimPatchOp
|
|
2390
|
-
*/
|
|
2391
|
-
export const ScimPatchOp = new ScimPatchOp$Type();
|
|
2392
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
2393
|
-
class ScimGetServiceProviderConfigRequest$Type extends MessageType<ScimGetServiceProviderConfigRequest> {
|
|
2394
|
-
constructor() {
|
|
2395
|
-
super("sid.v1.scim.ScimGetServiceProviderConfigRequest", []);
|
|
2396
|
-
}
|
|
2397
|
-
create(value?: PartialMessage<ScimGetServiceProviderConfigRequest>): ScimGetServiceProviderConfigRequest {
|
|
2398
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2399
|
-
if (value !== undefined)
|
|
2400
|
-
reflectionMergePartial<ScimGetServiceProviderConfigRequest>(this, message, value);
|
|
2401
|
-
return message;
|
|
2402
|
-
}
|
|
2403
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimGetServiceProviderConfigRequest): ScimGetServiceProviderConfigRequest {
|
|
2404
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2405
|
-
while (reader.pos < end) {
|
|
2406
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2407
|
-
switch (fieldNo) {
|
|
2408
|
-
default:
|
|
2409
|
-
let u = options.readUnknownField;
|
|
2410
|
-
if (u === "throw")
|
|
2411
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2412
|
-
let d = reader.skip(wireType);
|
|
2413
|
-
if (u !== false)
|
|
2414
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2415
|
-
}
|
|
2416
|
-
}
|
|
2417
|
-
return message;
|
|
2418
|
-
}
|
|
2419
|
-
internalBinaryWrite(message: ScimGetServiceProviderConfigRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2420
|
-
let u = options.writeUnknownFields;
|
|
2421
|
-
if (u !== false)
|
|
2422
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2423
|
-
return writer;
|
|
2424
|
-
}
|
|
2425
|
-
}
|
|
2426
|
-
/**
|
|
2427
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimGetServiceProviderConfigRequest
|
|
2428
|
-
*/
|
|
2429
|
-
export const ScimGetServiceProviderConfigRequest = new ScimGetServiceProviderConfigRequest$Type();
|
|
2430
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
2431
|
-
class ScimServiceProviderConfig$Type extends MessageType<ScimServiceProviderConfig> {
|
|
2432
|
-
constructor() {
|
|
2433
|
-
super("sid.v1.scim.ScimServiceProviderConfig", [
|
|
2434
|
-
{ no: 1, name: "meta", kind: "message", T: () => ScimMeta },
|
|
2435
|
-
{ no: 2, name: "documentation_uri", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2436
|
-
{ no: 3, name: "patch", kind: "message", T: () => ScimConfigSupport },
|
|
2437
|
-
{ no: 4, name: "bulk", kind: "message", T: () => ScimConfigSupport },
|
|
2438
|
-
{ no: 5, name: "filter", kind: "message", T: () => ScimConfigSupport },
|
|
2439
|
-
{ no: 6, name: "change_password", kind: "message", T: () => ScimConfigSupport },
|
|
2440
|
-
{ no: 7, name: "sort", kind: "message", T: () => ScimConfigSupport },
|
|
2441
|
-
{ no: 8, name: "etag", kind: "message", T: () => ScimConfigSupport },
|
|
2442
|
-
{ no: 9, name: "authentication_schemes", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimAuthenticationScheme },
|
|
2443
|
-
{ no: 10, name: "max_results", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
|
|
2444
|
-
]);
|
|
2445
|
-
}
|
|
2446
|
-
create(value?: PartialMessage<ScimServiceProviderConfig>): ScimServiceProviderConfig {
|
|
2447
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2448
|
-
message.documentationUri = "";
|
|
2449
|
-
message.authenticationSchemes = [];
|
|
2450
|
-
message.maxResults = 0;
|
|
2451
|
-
if (value !== undefined)
|
|
2452
|
-
reflectionMergePartial<ScimServiceProviderConfig>(this, message, value);
|
|
2453
|
-
return message;
|
|
2454
|
-
}
|
|
2455
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimServiceProviderConfig): ScimServiceProviderConfig {
|
|
2456
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2457
|
-
while (reader.pos < end) {
|
|
2458
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2459
|
-
switch (fieldNo) {
|
|
2460
|
-
case /* sid.v1.scim.ScimMeta meta */ 1:
|
|
2461
|
-
message.meta = ScimMeta.internalBinaryRead(reader, reader.uint32(), options, message.meta);
|
|
2462
|
-
break;
|
|
2463
|
-
case /* string documentation_uri */ 2:
|
|
2464
|
-
message.documentationUri = reader.string();
|
|
2465
|
-
break;
|
|
2466
|
-
case /* sid.v1.scim.ScimConfigSupport patch */ 3:
|
|
2467
|
-
message.patch = ScimConfigSupport.internalBinaryRead(reader, reader.uint32(), options, message.patch);
|
|
2468
|
-
break;
|
|
2469
|
-
case /* sid.v1.scim.ScimConfigSupport bulk */ 4:
|
|
2470
|
-
message.bulk = ScimConfigSupport.internalBinaryRead(reader, reader.uint32(), options, message.bulk);
|
|
2471
|
-
break;
|
|
2472
|
-
case /* sid.v1.scim.ScimConfigSupport filter */ 5:
|
|
2473
|
-
message.filter = ScimConfigSupport.internalBinaryRead(reader, reader.uint32(), options, message.filter);
|
|
2474
|
-
break;
|
|
2475
|
-
case /* sid.v1.scim.ScimConfigSupport change_password */ 6:
|
|
2476
|
-
message.changePassword = ScimConfigSupport.internalBinaryRead(reader, reader.uint32(), options, message.changePassword);
|
|
2477
|
-
break;
|
|
2478
|
-
case /* sid.v1.scim.ScimConfigSupport sort */ 7:
|
|
2479
|
-
message.sort = ScimConfigSupport.internalBinaryRead(reader, reader.uint32(), options, message.sort);
|
|
2480
|
-
break;
|
|
2481
|
-
case /* sid.v1.scim.ScimConfigSupport etag */ 8:
|
|
2482
|
-
message.etag = ScimConfigSupport.internalBinaryRead(reader, reader.uint32(), options, message.etag);
|
|
2483
|
-
break;
|
|
2484
|
-
case /* repeated sid.v1.scim.ScimAuthenticationScheme authentication_schemes */ 9:
|
|
2485
|
-
message.authenticationSchemes.push(ScimAuthenticationScheme.internalBinaryRead(reader, reader.uint32(), options));
|
|
2486
|
-
break;
|
|
2487
|
-
case /* int32 max_results */ 10:
|
|
2488
|
-
message.maxResults = reader.int32();
|
|
2489
|
-
break;
|
|
2490
|
-
default:
|
|
2491
|
-
let u = options.readUnknownField;
|
|
2492
|
-
if (u === "throw")
|
|
2493
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2494
|
-
let d = reader.skip(wireType);
|
|
2495
|
-
if (u !== false)
|
|
2496
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2497
|
-
}
|
|
2498
|
-
}
|
|
2499
|
-
return message;
|
|
2500
|
-
}
|
|
2501
|
-
internalBinaryWrite(message: ScimServiceProviderConfig, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2502
|
-
/* sid.v1.scim.ScimMeta meta = 1; */
|
|
2503
|
-
if (message.meta)
|
|
2504
|
-
ScimMeta.internalBinaryWrite(message.meta, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
2505
|
-
/* string documentation_uri = 2; */
|
|
2506
|
-
if (message.documentationUri !== "")
|
|
2507
|
-
writer.tag(2, WireType.LengthDelimited).string(message.documentationUri);
|
|
2508
|
-
/* sid.v1.scim.ScimConfigSupport patch = 3; */
|
|
2509
|
-
if (message.patch)
|
|
2510
|
-
ScimConfigSupport.internalBinaryWrite(message.patch, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
2511
|
-
/* sid.v1.scim.ScimConfigSupport bulk = 4; */
|
|
2512
|
-
if (message.bulk)
|
|
2513
|
-
ScimConfigSupport.internalBinaryWrite(message.bulk, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
2514
|
-
/* sid.v1.scim.ScimConfigSupport filter = 5; */
|
|
2515
|
-
if (message.filter)
|
|
2516
|
-
ScimConfigSupport.internalBinaryWrite(message.filter, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
2517
|
-
/* sid.v1.scim.ScimConfigSupport change_password = 6; */
|
|
2518
|
-
if (message.changePassword)
|
|
2519
|
-
ScimConfigSupport.internalBinaryWrite(message.changePassword, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
2520
|
-
/* sid.v1.scim.ScimConfigSupport sort = 7; */
|
|
2521
|
-
if (message.sort)
|
|
2522
|
-
ScimConfigSupport.internalBinaryWrite(message.sort, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
2523
|
-
/* sid.v1.scim.ScimConfigSupport etag = 8; */
|
|
2524
|
-
if (message.etag)
|
|
2525
|
-
ScimConfigSupport.internalBinaryWrite(message.etag, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
2526
|
-
/* repeated sid.v1.scim.ScimAuthenticationScheme authentication_schemes = 9; */
|
|
2527
|
-
for (let i = 0; i < message.authenticationSchemes.length; i++)
|
|
2528
|
-
ScimAuthenticationScheme.internalBinaryWrite(message.authenticationSchemes[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
|
2529
|
-
/* int32 max_results = 10; */
|
|
2530
|
-
if (message.maxResults !== 0)
|
|
2531
|
-
writer.tag(10, WireType.Varint).int32(message.maxResults);
|
|
2532
|
-
let u = options.writeUnknownFields;
|
|
2533
|
-
if (u !== false)
|
|
2534
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2535
|
-
return writer;
|
|
2536
|
-
}
|
|
2537
|
-
}
|
|
2538
|
-
/**
|
|
2539
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimServiceProviderConfig
|
|
2540
|
-
*/
|
|
2541
|
-
export const ScimServiceProviderConfig = new ScimServiceProviderConfig$Type();
|
|
2542
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
2543
|
-
class ScimConfigSupport$Type extends MessageType<ScimConfigSupport> {
|
|
2544
|
-
constructor() {
|
|
2545
|
-
super("sid.v1.scim.ScimConfigSupport", [
|
|
2546
|
-
{ no: 1, name: "supported", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
2547
|
-
{ no: 2, name: "max_operations", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
2548
|
-
{ no: 3, name: "max_payload_size", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
|
|
2549
|
-
]);
|
|
2550
|
-
}
|
|
2551
|
-
create(value?: PartialMessage<ScimConfigSupport>): ScimConfigSupport {
|
|
2552
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2553
|
-
message.supported = false;
|
|
2554
|
-
message.maxOperations = 0;
|
|
2555
|
-
message.maxPayloadSize = 0;
|
|
2556
|
-
if (value !== undefined)
|
|
2557
|
-
reflectionMergePartial<ScimConfigSupport>(this, message, value);
|
|
2558
|
-
return message;
|
|
2559
|
-
}
|
|
2560
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimConfigSupport): ScimConfigSupport {
|
|
2561
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2562
|
-
while (reader.pos < end) {
|
|
2563
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2564
|
-
switch (fieldNo) {
|
|
2565
|
-
case /* bool supported */ 1:
|
|
2566
|
-
message.supported = reader.bool();
|
|
2567
|
-
break;
|
|
2568
|
-
case /* int32 max_operations */ 2:
|
|
2569
|
-
message.maxOperations = reader.int32();
|
|
2570
|
-
break;
|
|
2571
|
-
case /* int32 max_payload_size */ 3:
|
|
2572
|
-
message.maxPayloadSize = reader.int32();
|
|
2573
|
-
break;
|
|
2574
|
-
default:
|
|
2575
|
-
let u = options.readUnknownField;
|
|
2576
|
-
if (u === "throw")
|
|
2577
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2578
|
-
let d = reader.skip(wireType);
|
|
2579
|
-
if (u !== false)
|
|
2580
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2581
|
-
}
|
|
2582
|
-
}
|
|
2583
|
-
return message;
|
|
2584
|
-
}
|
|
2585
|
-
internalBinaryWrite(message: ScimConfigSupport, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2586
|
-
/* bool supported = 1; */
|
|
2587
|
-
if (message.supported !== false)
|
|
2588
|
-
writer.tag(1, WireType.Varint).bool(message.supported);
|
|
2589
|
-
/* int32 max_operations = 2; */
|
|
2590
|
-
if (message.maxOperations !== 0)
|
|
2591
|
-
writer.tag(2, WireType.Varint).int32(message.maxOperations);
|
|
2592
|
-
/* int32 max_payload_size = 3; */
|
|
2593
|
-
if (message.maxPayloadSize !== 0)
|
|
2594
|
-
writer.tag(3, WireType.Varint).int32(message.maxPayloadSize);
|
|
2595
|
-
let u = options.writeUnknownFields;
|
|
2596
|
-
if (u !== false)
|
|
2597
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2598
|
-
return writer;
|
|
2599
|
-
}
|
|
2600
|
-
}
|
|
2601
|
-
/**
|
|
2602
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimConfigSupport
|
|
2603
|
-
*/
|
|
2604
|
-
export const ScimConfigSupport = new ScimConfigSupport$Type();
|
|
2605
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
2606
|
-
class ScimAuthenticationScheme$Type extends MessageType<ScimAuthenticationScheme> {
|
|
2607
|
-
constructor() {
|
|
2608
|
-
super("sid.v1.scim.ScimAuthenticationScheme", [
|
|
2609
|
-
{ no: 1, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2610
|
-
{ no: 2, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2611
|
-
{ no: 3, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2612
|
-
{ no: 4, name: "spec_uri", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2613
|
-
{ no: 5, name: "documentation_uri", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2614
|
-
{ no: 6, name: "primary", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
2615
|
-
]);
|
|
2616
|
-
}
|
|
2617
|
-
create(value?: PartialMessage<ScimAuthenticationScheme>): ScimAuthenticationScheme {
|
|
2618
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2619
|
-
message.type = "";
|
|
2620
|
-
message.name = "";
|
|
2621
|
-
message.description = "";
|
|
2622
|
-
message.specUri = "";
|
|
2623
|
-
message.documentationUri = "";
|
|
2624
|
-
message.primary = false;
|
|
2625
|
-
if (value !== undefined)
|
|
2626
|
-
reflectionMergePartial<ScimAuthenticationScheme>(this, message, value);
|
|
2627
|
-
return message;
|
|
2628
|
-
}
|
|
2629
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimAuthenticationScheme): ScimAuthenticationScheme {
|
|
2630
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2631
|
-
while (reader.pos < end) {
|
|
2632
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2633
|
-
switch (fieldNo) {
|
|
2634
|
-
case /* string type */ 1:
|
|
2635
|
-
message.type = reader.string();
|
|
2636
|
-
break;
|
|
2637
|
-
case /* string name */ 2:
|
|
2638
|
-
message.name = reader.string();
|
|
2639
|
-
break;
|
|
2640
|
-
case /* string description */ 3:
|
|
2641
|
-
message.description = reader.string();
|
|
2642
|
-
break;
|
|
2643
|
-
case /* string spec_uri */ 4:
|
|
2644
|
-
message.specUri = reader.string();
|
|
2645
|
-
break;
|
|
2646
|
-
case /* string documentation_uri */ 5:
|
|
2647
|
-
message.documentationUri = reader.string();
|
|
2648
|
-
break;
|
|
2649
|
-
case /* bool primary */ 6:
|
|
2650
|
-
message.primary = reader.bool();
|
|
2651
|
-
break;
|
|
2652
|
-
default:
|
|
2653
|
-
let u = options.readUnknownField;
|
|
2654
|
-
if (u === "throw")
|
|
2655
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2656
|
-
let d = reader.skip(wireType);
|
|
2657
|
-
if (u !== false)
|
|
2658
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2659
|
-
}
|
|
2660
|
-
}
|
|
2661
|
-
return message;
|
|
2662
|
-
}
|
|
2663
|
-
internalBinaryWrite(message: ScimAuthenticationScheme, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2664
|
-
/* string type = 1; */
|
|
2665
|
-
if (message.type !== "")
|
|
2666
|
-
writer.tag(1, WireType.LengthDelimited).string(message.type);
|
|
2667
|
-
/* string name = 2; */
|
|
2668
|
-
if (message.name !== "")
|
|
2669
|
-
writer.tag(2, WireType.LengthDelimited).string(message.name);
|
|
2670
|
-
/* string description = 3; */
|
|
2671
|
-
if (message.description !== "")
|
|
2672
|
-
writer.tag(3, WireType.LengthDelimited).string(message.description);
|
|
2673
|
-
/* string spec_uri = 4; */
|
|
2674
|
-
if (message.specUri !== "")
|
|
2675
|
-
writer.tag(4, WireType.LengthDelimited).string(message.specUri);
|
|
2676
|
-
/* string documentation_uri = 5; */
|
|
2677
|
-
if (message.documentationUri !== "")
|
|
2678
|
-
writer.tag(5, WireType.LengthDelimited).string(message.documentationUri);
|
|
2679
|
-
/* bool primary = 6; */
|
|
2680
|
-
if (message.primary !== false)
|
|
2681
|
-
writer.tag(6, WireType.Varint).bool(message.primary);
|
|
2682
|
-
let u = options.writeUnknownFields;
|
|
2683
|
-
if (u !== false)
|
|
2684
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2685
|
-
return writer;
|
|
2686
|
-
}
|
|
2687
|
-
}
|
|
2688
|
-
/**
|
|
2689
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimAuthenticationScheme
|
|
2690
|
-
*/
|
|
2691
|
-
export const ScimAuthenticationScheme = new ScimAuthenticationScheme$Type();
|
|
2692
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
2693
|
-
class ScimGetResourceTypesRequest$Type extends MessageType<ScimGetResourceTypesRequest> {
|
|
2694
|
-
constructor() {
|
|
2695
|
-
super("sid.v1.scim.ScimGetResourceTypesRequest", []);
|
|
2696
|
-
}
|
|
2697
|
-
create(value?: PartialMessage<ScimGetResourceTypesRequest>): ScimGetResourceTypesRequest {
|
|
2698
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2699
|
-
if (value !== undefined)
|
|
2700
|
-
reflectionMergePartial<ScimGetResourceTypesRequest>(this, message, value);
|
|
2701
|
-
return message;
|
|
2702
|
-
}
|
|
2703
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimGetResourceTypesRequest): ScimGetResourceTypesRequest {
|
|
2704
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2705
|
-
while (reader.pos < end) {
|
|
2706
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2707
|
-
switch (fieldNo) {
|
|
2708
|
-
default:
|
|
2709
|
-
let u = options.readUnknownField;
|
|
2710
|
-
if (u === "throw")
|
|
2711
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2712
|
-
let d = reader.skip(wireType);
|
|
2713
|
-
if (u !== false)
|
|
2714
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2715
|
-
}
|
|
2716
|
-
}
|
|
2717
|
-
return message;
|
|
2718
|
-
}
|
|
2719
|
-
internalBinaryWrite(message: ScimGetResourceTypesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2720
|
-
let u = options.writeUnknownFields;
|
|
2721
|
-
if (u !== false)
|
|
2722
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2723
|
-
return writer;
|
|
2724
|
-
}
|
|
2725
|
-
}
|
|
2726
|
-
/**
|
|
2727
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimGetResourceTypesRequest
|
|
2728
|
-
*/
|
|
2729
|
-
export const ScimGetResourceTypesRequest = new ScimGetResourceTypesRequest$Type();
|
|
2730
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
2731
|
-
class ScimResourceTypesResponse$Type extends MessageType<ScimResourceTypesResponse> {
|
|
2732
|
-
constructor() {
|
|
2733
|
-
super("sid.v1.scim.ScimResourceTypesResponse", [
|
|
2734
|
-
{ no: 1, name: "resources", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimResourceType }
|
|
2735
|
-
]);
|
|
2736
|
-
}
|
|
2737
|
-
create(value?: PartialMessage<ScimResourceTypesResponse>): ScimResourceTypesResponse {
|
|
2738
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2739
|
-
message.resources = [];
|
|
2740
|
-
if (value !== undefined)
|
|
2741
|
-
reflectionMergePartial<ScimResourceTypesResponse>(this, message, value);
|
|
2742
|
-
return message;
|
|
2743
|
-
}
|
|
2744
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimResourceTypesResponse): ScimResourceTypesResponse {
|
|
2745
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2746
|
-
while (reader.pos < end) {
|
|
2747
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2748
|
-
switch (fieldNo) {
|
|
2749
|
-
case /* repeated sid.v1.scim.ScimResourceType resources */ 1:
|
|
2750
|
-
message.resources.push(ScimResourceType.internalBinaryRead(reader, reader.uint32(), options));
|
|
2751
|
-
break;
|
|
2752
|
-
default:
|
|
2753
|
-
let u = options.readUnknownField;
|
|
2754
|
-
if (u === "throw")
|
|
2755
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2756
|
-
let d = reader.skip(wireType);
|
|
2757
|
-
if (u !== false)
|
|
2758
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2759
|
-
}
|
|
2760
|
-
}
|
|
2761
|
-
return message;
|
|
2762
|
-
}
|
|
2763
|
-
internalBinaryWrite(message: ScimResourceTypesResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2764
|
-
/* repeated sid.v1.scim.ScimResourceType resources = 1; */
|
|
2765
|
-
for (let i = 0; i < message.resources.length; i++)
|
|
2766
|
-
ScimResourceType.internalBinaryWrite(message.resources[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
2767
|
-
let u = options.writeUnknownFields;
|
|
2768
|
-
if (u !== false)
|
|
2769
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2770
|
-
return writer;
|
|
2771
|
-
}
|
|
2772
|
-
}
|
|
2773
|
-
/**
|
|
2774
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimResourceTypesResponse
|
|
2775
|
-
*/
|
|
2776
|
-
export const ScimResourceTypesResponse = new ScimResourceTypesResponse$Type();
|
|
2777
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
2778
|
-
class ScimResourceType$Type extends MessageType<ScimResourceType> {
|
|
2779
|
-
constructor() {
|
|
2780
|
-
super("sid.v1.scim.ScimResourceType", [
|
|
2781
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2782
|
-
{ no: 2, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2783
|
-
{ no: 3, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2784
|
-
{ no: 4, name: "endpoint", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2785
|
-
{ no: 5, name: "schema", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2786
|
-
{ no: 6, name: "meta", kind: "message", T: () => ScimMeta }
|
|
2787
|
-
]);
|
|
2788
|
-
}
|
|
2789
|
-
create(value?: PartialMessage<ScimResourceType>): ScimResourceType {
|
|
2790
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2791
|
-
message.id = "";
|
|
2792
|
-
message.name = "";
|
|
2793
|
-
message.description = "";
|
|
2794
|
-
message.endpoint = "";
|
|
2795
|
-
message.schema = "";
|
|
2796
|
-
if (value !== undefined)
|
|
2797
|
-
reflectionMergePartial<ScimResourceType>(this, message, value);
|
|
2798
|
-
return message;
|
|
2799
|
-
}
|
|
2800
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimResourceType): ScimResourceType {
|
|
2801
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2802
|
-
while (reader.pos < end) {
|
|
2803
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2804
|
-
switch (fieldNo) {
|
|
2805
|
-
case /* string id */ 1:
|
|
2806
|
-
message.id = reader.string();
|
|
2807
|
-
break;
|
|
2808
|
-
case /* string name */ 2:
|
|
2809
|
-
message.name = reader.string();
|
|
2810
|
-
break;
|
|
2811
|
-
case /* string description */ 3:
|
|
2812
|
-
message.description = reader.string();
|
|
2813
|
-
break;
|
|
2814
|
-
case /* string endpoint */ 4:
|
|
2815
|
-
message.endpoint = reader.string();
|
|
2816
|
-
break;
|
|
2817
|
-
case /* string schema */ 5:
|
|
2818
|
-
message.schema = reader.string();
|
|
2819
|
-
break;
|
|
2820
|
-
case /* sid.v1.scim.ScimMeta meta */ 6:
|
|
2821
|
-
message.meta = ScimMeta.internalBinaryRead(reader, reader.uint32(), options, message.meta);
|
|
2822
|
-
break;
|
|
2823
|
-
default:
|
|
2824
|
-
let u = options.readUnknownField;
|
|
2825
|
-
if (u === "throw")
|
|
2826
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2827
|
-
let d = reader.skip(wireType);
|
|
2828
|
-
if (u !== false)
|
|
2829
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2830
|
-
}
|
|
2831
|
-
}
|
|
2832
|
-
return message;
|
|
2833
|
-
}
|
|
2834
|
-
internalBinaryWrite(message: ScimResourceType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2835
|
-
/* string id = 1; */
|
|
2836
|
-
if (message.id !== "")
|
|
2837
|
-
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
2838
|
-
/* string name = 2; */
|
|
2839
|
-
if (message.name !== "")
|
|
2840
|
-
writer.tag(2, WireType.LengthDelimited).string(message.name);
|
|
2841
|
-
/* string description = 3; */
|
|
2842
|
-
if (message.description !== "")
|
|
2843
|
-
writer.tag(3, WireType.LengthDelimited).string(message.description);
|
|
2844
|
-
/* string endpoint = 4; */
|
|
2845
|
-
if (message.endpoint !== "")
|
|
2846
|
-
writer.tag(4, WireType.LengthDelimited).string(message.endpoint);
|
|
2847
|
-
/* string schema = 5; */
|
|
2848
|
-
if (message.schema !== "")
|
|
2849
|
-
writer.tag(5, WireType.LengthDelimited).string(message.schema);
|
|
2850
|
-
/* sid.v1.scim.ScimMeta meta = 6; */
|
|
2851
|
-
if (message.meta)
|
|
2852
|
-
ScimMeta.internalBinaryWrite(message.meta, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
2853
|
-
let u = options.writeUnknownFields;
|
|
2854
|
-
if (u !== false)
|
|
2855
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2856
|
-
return writer;
|
|
2857
|
-
}
|
|
2858
|
-
}
|
|
2859
|
-
/**
|
|
2860
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimResourceType
|
|
2861
|
-
*/
|
|
2862
|
-
export const ScimResourceType = new ScimResourceType$Type();
|
|
2863
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
2864
|
-
class ScimGetSchemasRequest$Type extends MessageType<ScimGetSchemasRequest> {
|
|
2865
|
-
constructor() {
|
|
2866
|
-
super("sid.v1.scim.ScimGetSchemasRequest", []);
|
|
2867
|
-
}
|
|
2868
|
-
create(value?: PartialMessage<ScimGetSchemasRequest>): ScimGetSchemasRequest {
|
|
2869
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2870
|
-
if (value !== undefined)
|
|
2871
|
-
reflectionMergePartial<ScimGetSchemasRequest>(this, message, value);
|
|
2872
|
-
return message;
|
|
2873
|
-
}
|
|
2874
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimGetSchemasRequest): ScimGetSchemasRequest {
|
|
2875
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2876
|
-
while (reader.pos < end) {
|
|
2877
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2878
|
-
switch (fieldNo) {
|
|
2879
|
-
default:
|
|
2880
|
-
let u = options.readUnknownField;
|
|
2881
|
-
if (u === "throw")
|
|
2882
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2883
|
-
let d = reader.skip(wireType);
|
|
2884
|
-
if (u !== false)
|
|
2885
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2886
|
-
}
|
|
2887
|
-
}
|
|
2888
|
-
return message;
|
|
2889
|
-
}
|
|
2890
|
-
internalBinaryWrite(message: ScimGetSchemasRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2891
|
-
let u = options.writeUnknownFields;
|
|
2892
|
-
if (u !== false)
|
|
2893
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2894
|
-
return writer;
|
|
2895
|
-
}
|
|
2896
|
-
}
|
|
2897
|
-
/**
|
|
2898
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimGetSchemasRequest
|
|
2899
|
-
*/
|
|
2900
|
-
export const ScimGetSchemasRequest = new ScimGetSchemasRequest$Type();
|
|
2901
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
2902
|
-
class ScimSchemasResponse$Type extends MessageType<ScimSchemasResponse> {
|
|
2903
|
-
constructor() {
|
|
2904
|
-
super("sid.v1.scim.ScimSchemasResponse", [
|
|
2905
|
-
{ no: 1, name: "resources", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimSchema }
|
|
2906
|
-
]);
|
|
2907
|
-
}
|
|
2908
|
-
create(value?: PartialMessage<ScimSchemasResponse>): ScimSchemasResponse {
|
|
2909
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2910
|
-
message.resources = [];
|
|
2911
|
-
if (value !== undefined)
|
|
2912
|
-
reflectionMergePartial<ScimSchemasResponse>(this, message, value);
|
|
2913
|
-
return message;
|
|
2914
|
-
}
|
|
2915
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimSchemasResponse): ScimSchemasResponse {
|
|
2916
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2917
|
-
while (reader.pos < end) {
|
|
2918
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2919
|
-
switch (fieldNo) {
|
|
2920
|
-
case /* repeated sid.v1.scim.ScimSchema resources */ 1:
|
|
2921
|
-
message.resources.push(ScimSchema.internalBinaryRead(reader, reader.uint32(), options));
|
|
2922
|
-
break;
|
|
2923
|
-
default:
|
|
2924
|
-
let u = options.readUnknownField;
|
|
2925
|
-
if (u === "throw")
|
|
2926
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2927
|
-
let d = reader.skip(wireType);
|
|
2928
|
-
if (u !== false)
|
|
2929
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2930
|
-
}
|
|
2931
|
-
}
|
|
2932
|
-
return message;
|
|
2933
|
-
}
|
|
2934
|
-
internalBinaryWrite(message: ScimSchemasResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2935
|
-
/* repeated sid.v1.scim.ScimSchema resources = 1; */
|
|
2936
|
-
for (let i = 0; i < message.resources.length; i++)
|
|
2937
|
-
ScimSchema.internalBinaryWrite(message.resources[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
2938
|
-
let u = options.writeUnknownFields;
|
|
2939
|
-
if (u !== false)
|
|
2940
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2941
|
-
return writer;
|
|
2942
|
-
}
|
|
2943
|
-
}
|
|
2944
|
-
/**
|
|
2945
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimSchemasResponse
|
|
2946
|
-
*/
|
|
2947
|
-
export const ScimSchemasResponse = new ScimSchemasResponse$Type();
|
|
2948
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
2949
|
-
class ScimSchema$Type extends MessageType<ScimSchema> {
|
|
2950
|
-
constructor() {
|
|
2951
|
-
super("sid.v1.scim.ScimSchema", [
|
|
2952
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2953
|
-
{ no: 2, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2954
|
-
{ no: 3, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2955
|
-
{ no: 4, name: "attributes", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimSchemaAttribute },
|
|
2956
|
-
{ no: 5, name: "meta", kind: "message", T: () => ScimMeta }
|
|
2957
|
-
]);
|
|
2958
|
-
}
|
|
2959
|
-
create(value?: PartialMessage<ScimSchema>): ScimSchema {
|
|
2960
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2961
|
-
message.id = "";
|
|
2962
|
-
message.name = "";
|
|
2963
|
-
message.description = "";
|
|
2964
|
-
message.attributes = [];
|
|
2965
|
-
if (value !== undefined)
|
|
2966
|
-
reflectionMergePartial<ScimSchema>(this, message, value);
|
|
2967
|
-
return message;
|
|
2968
|
-
}
|
|
2969
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimSchema): ScimSchema {
|
|
2970
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2971
|
-
while (reader.pos < end) {
|
|
2972
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2973
|
-
switch (fieldNo) {
|
|
2974
|
-
case /* string id */ 1:
|
|
2975
|
-
message.id = reader.string();
|
|
2976
|
-
break;
|
|
2977
|
-
case /* string name */ 2:
|
|
2978
|
-
message.name = reader.string();
|
|
2979
|
-
break;
|
|
2980
|
-
case /* string description */ 3:
|
|
2981
|
-
message.description = reader.string();
|
|
2982
|
-
break;
|
|
2983
|
-
case /* repeated sid.v1.scim.ScimSchemaAttribute attributes */ 4:
|
|
2984
|
-
message.attributes.push(ScimSchemaAttribute.internalBinaryRead(reader, reader.uint32(), options));
|
|
2985
|
-
break;
|
|
2986
|
-
case /* sid.v1.scim.ScimMeta meta */ 5:
|
|
2987
|
-
message.meta = ScimMeta.internalBinaryRead(reader, reader.uint32(), options, message.meta);
|
|
2988
|
-
break;
|
|
2989
|
-
default:
|
|
2990
|
-
let u = options.readUnknownField;
|
|
2991
|
-
if (u === "throw")
|
|
2992
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2993
|
-
let d = reader.skip(wireType);
|
|
2994
|
-
if (u !== false)
|
|
2995
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2996
|
-
}
|
|
2997
|
-
}
|
|
2998
|
-
return message;
|
|
2999
|
-
}
|
|
3000
|
-
internalBinaryWrite(message: ScimSchema, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3001
|
-
/* string id = 1; */
|
|
3002
|
-
if (message.id !== "")
|
|
3003
|
-
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
3004
|
-
/* string name = 2; */
|
|
3005
|
-
if (message.name !== "")
|
|
3006
|
-
writer.tag(2, WireType.LengthDelimited).string(message.name);
|
|
3007
|
-
/* string description = 3; */
|
|
3008
|
-
if (message.description !== "")
|
|
3009
|
-
writer.tag(3, WireType.LengthDelimited).string(message.description);
|
|
3010
|
-
/* repeated sid.v1.scim.ScimSchemaAttribute attributes = 4; */
|
|
3011
|
-
for (let i = 0; i < message.attributes.length; i++)
|
|
3012
|
-
ScimSchemaAttribute.internalBinaryWrite(message.attributes[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
3013
|
-
/* sid.v1.scim.ScimMeta meta = 5; */
|
|
3014
|
-
if (message.meta)
|
|
3015
|
-
ScimMeta.internalBinaryWrite(message.meta, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
3016
|
-
let u = options.writeUnknownFields;
|
|
3017
|
-
if (u !== false)
|
|
3018
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3019
|
-
return writer;
|
|
3020
|
-
}
|
|
3021
|
-
}
|
|
3022
|
-
/**
|
|
3023
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimSchema
|
|
3024
|
-
*/
|
|
3025
|
-
export const ScimSchema = new ScimSchema$Type();
|
|
3026
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
3027
|
-
class ScimSchemaAttribute$Type extends MessageType<ScimSchemaAttribute> {
|
|
3028
|
-
constructor() {
|
|
3029
|
-
super("sid.v1.scim.ScimSchemaAttribute", [
|
|
3030
|
-
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3031
|
-
{ no: 2, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3032
|
-
{ no: 3, name: "multi_valued", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3033
|
-
{ no: 4, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3034
|
-
{ no: 5, name: "required", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3035
|
-
{ no: 6, name: "case_exact", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3036
|
-
{ no: 7, name: "mutability", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3037
|
-
{ no: 8, name: "returned", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3038
|
-
{ no: 9, name: "uniqueness", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3039
|
-
{ no: 10, name: "sub_attributes", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ScimSchemaAttribute }
|
|
3040
|
-
]);
|
|
3041
|
-
}
|
|
3042
|
-
create(value?: PartialMessage<ScimSchemaAttribute>): ScimSchemaAttribute {
|
|
3043
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
3044
|
-
message.name = "";
|
|
3045
|
-
message.type = "";
|
|
3046
|
-
message.multiValued = false;
|
|
3047
|
-
message.description = "";
|
|
3048
|
-
message.required = false;
|
|
3049
|
-
message.caseExact = false;
|
|
3050
|
-
message.mutability = "";
|
|
3051
|
-
message.returned = "";
|
|
3052
|
-
message.uniqueness = "";
|
|
3053
|
-
message.subAttributes = [];
|
|
3054
|
-
if (value !== undefined)
|
|
3055
|
-
reflectionMergePartial<ScimSchemaAttribute>(this, message, value);
|
|
3056
|
-
return message;
|
|
3057
|
-
}
|
|
3058
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimSchemaAttribute): ScimSchemaAttribute {
|
|
3059
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
3060
|
-
while (reader.pos < end) {
|
|
3061
|
-
let [fieldNo, wireType] = reader.tag();
|
|
3062
|
-
switch (fieldNo) {
|
|
3063
|
-
case /* string name */ 1:
|
|
3064
|
-
message.name = reader.string();
|
|
3065
|
-
break;
|
|
3066
|
-
case /* string type */ 2:
|
|
3067
|
-
message.type = reader.string();
|
|
3068
|
-
break;
|
|
3069
|
-
case /* bool multi_valued */ 3:
|
|
3070
|
-
message.multiValued = reader.bool();
|
|
3071
|
-
break;
|
|
3072
|
-
case /* string description */ 4:
|
|
3073
|
-
message.description = reader.string();
|
|
3074
|
-
break;
|
|
3075
|
-
case /* bool required */ 5:
|
|
3076
|
-
message.required = reader.bool();
|
|
3077
|
-
break;
|
|
3078
|
-
case /* bool case_exact */ 6:
|
|
3079
|
-
message.caseExact = reader.bool();
|
|
3080
|
-
break;
|
|
3081
|
-
case /* string mutability */ 7:
|
|
3082
|
-
message.mutability = reader.string();
|
|
3083
|
-
break;
|
|
3084
|
-
case /* string returned */ 8:
|
|
3085
|
-
message.returned = reader.string();
|
|
3086
|
-
break;
|
|
3087
|
-
case /* string uniqueness */ 9:
|
|
3088
|
-
message.uniqueness = reader.string();
|
|
3089
|
-
break;
|
|
3090
|
-
case /* repeated sid.v1.scim.ScimSchemaAttribute sub_attributes */ 10:
|
|
3091
|
-
message.subAttributes.push(ScimSchemaAttribute.internalBinaryRead(reader, reader.uint32(), options));
|
|
3092
|
-
break;
|
|
3093
|
-
default:
|
|
3094
|
-
let u = options.readUnknownField;
|
|
3095
|
-
if (u === "throw")
|
|
3096
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3097
|
-
let d = reader.skip(wireType);
|
|
3098
|
-
if (u !== false)
|
|
3099
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3100
|
-
}
|
|
3101
|
-
}
|
|
3102
|
-
return message;
|
|
3103
|
-
}
|
|
3104
|
-
internalBinaryWrite(message: ScimSchemaAttribute, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3105
|
-
/* string name = 1; */
|
|
3106
|
-
if (message.name !== "")
|
|
3107
|
-
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
|
3108
|
-
/* string type = 2; */
|
|
3109
|
-
if (message.type !== "")
|
|
3110
|
-
writer.tag(2, WireType.LengthDelimited).string(message.type);
|
|
3111
|
-
/* bool multi_valued = 3; */
|
|
3112
|
-
if (message.multiValued !== false)
|
|
3113
|
-
writer.tag(3, WireType.Varint).bool(message.multiValued);
|
|
3114
|
-
/* string description = 4; */
|
|
3115
|
-
if (message.description !== "")
|
|
3116
|
-
writer.tag(4, WireType.LengthDelimited).string(message.description);
|
|
3117
|
-
/* bool required = 5; */
|
|
3118
|
-
if (message.required !== false)
|
|
3119
|
-
writer.tag(5, WireType.Varint).bool(message.required);
|
|
3120
|
-
/* bool case_exact = 6; */
|
|
3121
|
-
if (message.caseExact !== false)
|
|
3122
|
-
writer.tag(6, WireType.Varint).bool(message.caseExact);
|
|
3123
|
-
/* string mutability = 7; */
|
|
3124
|
-
if (message.mutability !== "")
|
|
3125
|
-
writer.tag(7, WireType.LengthDelimited).string(message.mutability);
|
|
3126
|
-
/* string returned = 8; */
|
|
3127
|
-
if (message.returned !== "")
|
|
3128
|
-
writer.tag(8, WireType.LengthDelimited).string(message.returned);
|
|
3129
|
-
/* string uniqueness = 9; */
|
|
3130
|
-
if (message.uniqueness !== "")
|
|
3131
|
-
writer.tag(9, WireType.LengthDelimited).string(message.uniqueness);
|
|
3132
|
-
/* repeated sid.v1.scim.ScimSchemaAttribute sub_attributes = 10; */
|
|
3133
|
-
for (let i = 0; i < message.subAttributes.length; i++)
|
|
3134
|
-
ScimSchemaAttribute.internalBinaryWrite(message.subAttributes[i], writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
|
3135
|
-
let u = options.writeUnknownFields;
|
|
3136
|
-
if (u !== false)
|
|
3137
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3138
|
-
return writer;
|
|
3139
|
-
}
|
|
3140
|
-
}
|
|
3141
|
-
/**
|
|
3142
|
-
* @generated MessageType for protobuf message sid.v1.scim.ScimSchemaAttribute
|
|
3143
|
-
*/
|
|
3144
|
-
export const ScimSchemaAttribute = new ScimSchemaAttribute$Type();
|
|
3145
|
-
/**
|
|
3146
|
-
* @generated ServiceType for protobuf service sid.v1.scim.ScimService
|
|
3147
|
-
*/
|
|
3148
|
-
export const ScimService = new ServiceType("sid.v1.scim.ScimService", [
|
|
3149
|
-
{ name: "CreateUser", options: {}, I: ScimCreateUserRequest, O: ScimUser },
|
|
3150
|
-
{ name: "GetUser", idempotency: "NO_SIDE_EFFECTS", options: {}, I: ScimGetUserRequest, O: ScimUser },
|
|
3151
|
-
{ name: "ListUsers", idempotency: "NO_SIDE_EFFECTS", options: {}, I: ScimListUsersRequest, O: ScimListUsersResponse },
|
|
3152
|
-
{ name: "ReplaceUser", options: {}, I: ScimReplaceUserRequest, O: ScimUser },
|
|
3153
|
-
{ name: "PatchUser", options: {}, I: ScimPatchUserRequest, O: ScimUser },
|
|
3154
|
-
{ name: "DeleteUser", idempotency: "IDEMPOTENT", options: {}, I: ScimDeleteUserRequest, O: Empty },
|
|
3155
|
-
{ name: "CreateGroup", options: {}, I: ScimCreateGroupRequest, O: ScimGroup },
|
|
3156
|
-
{ name: "GetGroup", idempotency: "NO_SIDE_EFFECTS", options: {}, I: ScimGetGroupRequest, O: ScimGroup },
|
|
3157
|
-
{ name: "ListGroups", idempotency: "NO_SIDE_EFFECTS", options: {}, I: ScimListGroupsRequest, O: ScimListGroupsResponse },
|
|
3158
|
-
{ name: "PatchGroup", options: {}, I: ScimPatchGroupRequest, O: ScimGroup },
|
|
3159
|
-
{ name: "DeleteGroup", idempotency: "IDEMPOTENT", options: {}, I: ScimDeleteGroupRequest, O: Empty },
|
|
3160
|
-
{ name: "GetServiceProviderConfig", idempotency: "NO_SIDE_EFFECTS", options: {}, I: ScimGetServiceProviderConfigRequest, O: ScimServiceProviderConfig },
|
|
3161
|
-
{ name: "GetResourceTypes", idempotency: "NO_SIDE_EFFECTS", options: {}, I: ScimGetResourceTypesRequest, O: ScimResourceTypesResponse },
|
|
3162
|
-
{ name: "GetSchemas", idempotency: "NO_SIDE_EFFECTS", options: {}, I: ScimGetSchemasRequest, O: ScimSchemasResponse }
|
|
3163
|
-
]);
|
|
3164
|
-
/**
|
|
3165
|
-
* @generated ServiceType for protobuf service sid.v1.scim.ScimProtocolService
|
|
3166
|
-
*/
|
|
3167
|
-
export const ScimProtocolService = new ServiceType("sid.v1.scim.ScimProtocolService", [
|
|
3168
|
-
{ name: "CreateUser", options: { "google.api.http": { post: "/scim/v2/Users", body: "body" } }, I: ScimHttpRequest, O: HttpBody },
|
|
3169
|
-
{ name: "GetUser", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/scim/v2/Users/{id}" } }, I: ScimHttpRequest, O: HttpBody },
|
|
3170
|
-
{ name: "ListUsers", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/scim/v2/Users" } }, I: ScimHttpRequest, O: HttpBody },
|
|
3171
|
-
{ name: "ReplaceUser", options: { "google.api.http": { put: "/scim/v2/Users/{id}", body: "body" } }, I: ScimHttpRequest, O: HttpBody },
|
|
3172
|
-
{ name: "PatchUser", options: { "google.api.http": { patch: "/scim/v2/Users/{id}", body: "body" } }, I: ScimHttpRequest, O: HttpBody },
|
|
3173
|
-
{ name: "DeleteUser", idempotency: "IDEMPOTENT", options: { "google.api.http": { delete: "/scim/v2/Users/{id}" } }, I: ScimHttpRequest, O: HttpBody },
|
|
3174
|
-
{ name: "CreateGroup", options: { "google.api.http": { post: "/scim/v2/Groups", body: "body" } }, I: ScimHttpRequest, O: HttpBody },
|
|
3175
|
-
{ name: "GetGroup", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/scim/v2/Groups/{id}" } }, I: ScimHttpRequest, O: HttpBody },
|
|
3176
|
-
{ name: "ListGroups", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/scim/v2/Groups" } }, I: ScimHttpRequest, O: HttpBody },
|
|
3177
|
-
{ name: "PatchGroup", options: { "google.api.http": { patch: "/scim/v2/Groups/{id}", body: "body" } }, I: ScimHttpRequest, O: HttpBody },
|
|
3178
|
-
{ name: "DeleteGroup", idempotency: "IDEMPOTENT", options: { "google.api.http": { delete: "/scim/v2/Groups/{id}" } }, I: ScimHttpRequest, O: HttpBody },
|
|
3179
|
-
{ name: "GetServiceProviderConfig", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/scim/v2/ServiceProviderConfig" } }, I: ScimHttpRequest, O: HttpBody },
|
|
3180
|
-
{ name: "GetResourceTypes", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/scim/v2/ResourceTypes" } }, I: ScimHttpRequest, O: HttpBody },
|
|
3181
|
-
{ name: "GetSchemas", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/scim/v2/Schemas" } }, I: ScimHttpRequest, O: HttpBody }
|
|
3182
|
-
]);
|