@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,1383 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "sid/v1/admin/provisioning.proto" (package "sid.v1.admin", 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 { ProvisioningCredentialId } from "../ids/ids";
|
|
16
|
-
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
17
|
-
import { ProvisioningConnectorId } from "../ids/ids";
|
|
18
|
-
/**
|
|
19
|
-
* A provisioning connector as the organization's administrators see it.
|
|
20
|
-
*
|
|
21
|
-
* @generated from protobuf message sid.v1.admin.ProvisioningConnector
|
|
22
|
-
*/
|
|
23
|
-
export interface ProvisioningConnector {
|
|
24
|
-
/**
|
|
25
|
-
* Stable identity; renames and credential rotations keep it.
|
|
26
|
-
*
|
|
27
|
-
* @generated from protobuf field: sid.v1.ids.ProvisioningConnectorId id = 1
|
|
28
|
-
*/
|
|
29
|
-
id?: ProvisioningConnectorId;
|
|
30
|
-
/**
|
|
31
|
-
* @generated from protobuf field: sid.v1.admin.ProvisioningDirection direction = 2
|
|
32
|
-
*/
|
|
33
|
-
direction: ProvisioningDirection;
|
|
34
|
-
/**
|
|
35
|
-
* Administrator-chosen label.
|
|
36
|
-
*
|
|
37
|
-
* @generated from protobuf field: string display_name = 3
|
|
38
|
-
*/
|
|
39
|
-
displayName: string;
|
|
40
|
-
/**
|
|
41
|
-
* @generated from protobuf field: sid.v1.admin.ProvisioningConnectorState state = 4
|
|
42
|
-
*/
|
|
43
|
-
state: ProvisioningConnectorState;
|
|
44
|
-
/**
|
|
45
|
-
* Moved on by every change of the connector, its state or its grants. A
|
|
46
|
-
* rename names the revision it was based on.
|
|
47
|
-
*
|
|
48
|
-
* @generated from protobuf field: int64 revision = 5
|
|
49
|
-
*/
|
|
50
|
-
revision: bigint;
|
|
51
|
-
/**
|
|
52
|
-
* @generated from protobuf field: google.protobuf.Timestamp created_at = 6
|
|
53
|
-
*/
|
|
54
|
-
createdAt?: Timestamp;
|
|
55
|
-
/**
|
|
56
|
-
* @generated from protobuf field: google.protobuf.Timestamp updated_at = 7
|
|
57
|
-
*/
|
|
58
|
-
updatedAt?: Timestamp;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* @generated from protobuf message sid.v1.admin.ListProvisioningConnectorsRequest
|
|
62
|
-
*/
|
|
63
|
-
export interface ListProvisioningConnectorsRequest {
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* @generated from protobuf message sid.v1.admin.ListProvisioningConnectorsResponse
|
|
67
|
-
*/
|
|
68
|
-
export interface ListProvisioningConnectorsResponse {
|
|
69
|
-
/**
|
|
70
|
-
* @generated from protobuf field: repeated sid.v1.admin.ProvisioningConnector connectors = 1
|
|
71
|
-
*/
|
|
72
|
-
connectors: ProvisioningConnector[];
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* @generated from protobuf message sid.v1.admin.CreateInboundConnectorRequest
|
|
76
|
-
*/
|
|
77
|
-
export interface CreateInboundConnectorRequest {
|
|
78
|
-
/**
|
|
79
|
-
* Administrator-chosen label, non-empty.
|
|
80
|
-
*
|
|
81
|
-
* @generated from protobuf field: string display_name = 1
|
|
82
|
-
*/
|
|
83
|
-
displayName: string;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* @generated from protobuf message sid.v1.admin.GetProvisioningConnectorRequest
|
|
87
|
-
*/
|
|
88
|
-
export interface GetProvisioningConnectorRequest {
|
|
89
|
-
/**
|
|
90
|
-
* @generated from protobuf field: sid.v1.ids.ProvisioningConnectorId connector_id = 1
|
|
91
|
-
*/
|
|
92
|
-
connectorId?: ProvisioningConnectorId;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* @generated from protobuf message sid.v1.admin.RenameProvisioningConnectorRequest
|
|
96
|
-
*/
|
|
97
|
-
export interface RenameProvisioningConnectorRequest {
|
|
98
|
-
/**
|
|
99
|
-
* @generated from protobuf field: sid.v1.ids.ProvisioningConnectorId connector_id = 1
|
|
100
|
-
*/
|
|
101
|
-
connectorId?: ProvisioningConnectorId;
|
|
102
|
-
/**
|
|
103
|
-
* The revision the rename is based on (ProvisioningConnector.revision).
|
|
104
|
-
*
|
|
105
|
-
* @generated from protobuf field: int64 revision = 2
|
|
106
|
-
*/
|
|
107
|
-
revision: bigint;
|
|
108
|
-
/**
|
|
109
|
-
* The new label, non-empty.
|
|
110
|
-
*
|
|
111
|
-
* @generated from protobuf field: string display_name = 3
|
|
112
|
-
*/
|
|
113
|
-
displayName: string;
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* @generated from protobuf message sid.v1.admin.ChangeProvisioningConnectorStateRequest
|
|
117
|
-
*/
|
|
118
|
-
export interface ChangeProvisioningConnectorStateRequest {
|
|
119
|
-
/**
|
|
120
|
-
* @generated from protobuf field: sid.v1.ids.ProvisioningConnectorId connector_id = 1
|
|
121
|
-
*/
|
|
122
|
-
connectorId?: ProvisioningConnectorId;
|
|
123
|
-
/**
|
|
124
|
-
* The state to move to: ACTIVE (enable), DISABLED or RETIRED.
|
|
125
|
-
*
|
|
126
|
-
* @generated from protobuf field: sid.v1.admin.ProvisioningConnectorState state = 2
|
|
127
|
-
*/
|
|
128
|
-
state: ProvisioningConnectorState;
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* @generated from protobuf message sid.v1.admin.GetScimInboundConfigRequest
|
|
132
|
-
*/
|
|
133
|
-
export interface GetScimInboundConfigRequest {
|
|
134
|
-
/**
|
|
135
|
-
* @generated from protobuf field: sid.v1.ids.ProvisioningConnectorId connector_id = 1
|
|
136
|
-
*/
|
|
137
|
-
connectorId?: ProvisioningConnectorId;
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* What an inbound connector's SCIM client is configured with. Holds no
|
|
141
|
-
* secret.
|
|
142
|
-
*
|
|
143
|
-
* @generated from protobuf message sid.v1.admin.ScimInboundConfig
|
|
144
|
-
*/
|
|
145
|
-
export interface ScimInboundConfig {
|
|
146
|
-
/**
|
|
147
|
-
* @generated from protobuf field: sid.v1.admin.ProvisioningConnector connector = 1
|
|
148
|
-
*/
|
|
149
|
-
connector?: ProvisioningConnector;
|
|
150
|
-
/**
|
|
151
|
-
* The SCIM 2.0 base URL this installation serves (RFC 7644 §3.13).
|
|
152
|
-
*
|
|
153
|
-
* @generated from protobuf field: string base_url = 2
|
|
154
|
-
*/
|
|
155
|
-
baseUrl: string;
|
|
156
|
-
/**
|
|
157
|
-
* The protected resource indicator of the SCIM directory: the resource the
|
|
158
|
-
* connector's roles are assigned on.
|
|
159
|
-
*
|
|
160
|
-
* @generated from protobuf field: string resource_indicator = 3
|
|
161
|
-
*/
|
|
162
|
-
resourceIndicator: string;
|
|
163
|
-
/**
|
|
164
|
-
* Methods this installation accepts for the connector.
|
|
165
|
-
*
|
|
166
|
-
* @generated from protobuf field: repeated sid.v1.admin.ScimAuthenticationMethod authentication_methods = 4
|
|
167
|
-
*/
|
|
168
|
-
authenticationMethods: ScimAuthenticationMethod[];
|
|
169
|
-
/**
|
|
170
|
-
* The connector's OAuth client_id at the token endpoint (OAuth client
|
|
171
|
-
* credentials). Not its ID: tokens name the connector in `sub`.
|
|
172
|
-
*
|
|
173
|
-
* @generated from protobuf field: string client_id = 5
|
|
174
|
-
*/
|
|
175
|
-
clientId: string;
|
|
176
|
-
/**
|
|
177
|
-
* The token endpoint of the issuer whose tokens the SCIM resource accepts.
|
|
178
|
-
*
|
|
179
|
-
* @generated from protobuf field: string token_endpoint = 6
|
|
180
|
-
*/
|
|
181
|
-
tokenEndpoint: string;
|
|
182
|
-
/**
|
|
183
|
-
* That issuer's identifier, the `iss` of its tokens.
|
|
184
|
-
*
|
|
185
|
-
* @generated from protobuf field: string issuer = 7
|
|
186
|
-
*/
|
|
187
|
-
issuer: string;
|
|
188
|
-
}
|
|
189
|
-
/**
|
|
190
|
-
* A connector credential's metadata. Never its secret.
|
|
191
|
-
*
|
|
192
|
-
* @generated from protobuf message sid.v1.admin.ConnectorCredential
|
|
193
|
-
*/
|
|
194
|
-
export interface ConnectorCredential {
|
|
195
|
-
/**
|
|
196
|
-
* @generated from protobuf field: sid.v1.ids.ProvisioningCredentialId id = 1
|
|
197
|
-
*/
|
|
198
|
-
id?: ProvisioningCredentialId;
|
|
199
|
-
/**
|
|
200
|
-
* @generated from protobuf field: sid.v1.admin.ConnectorCredentialStatus status = 2
|
|
201
|
-
*/
|
|
202
|
-
status: ConnectorCredentialStatus;
|
|
203
|
-
/**
|
|
204
|
-
* @generated from protobuf field: sid.v1.admin.ConnectorCredentialKind kind = 5
|
|
205
|
-
*/
|
|
206
|
-
kind: ConnectorCredentialKind;
|
|
207
|
-
/**
|
|
208
|
-
* When it stops working, when it does: its own expiry or the end of its
|
|
209
|
-
* rotation grace.
|
|
210
|
-
*
|
|
211
|
-
* @generated from protobuf field: google.protobuf.Timestamp expires_at = 3
|
|
212
|
-
*/
|
|
213
|
-
expiresAt?: Timestamp;
|
|
214
|
-
/**
|
|
215
|
-
* @generated from protobuf field: google.protobuf.Timestamp created_at = 4
|
|
216
|
-
*/
|
|
217
|
-
createdAt?: Timestamp;
|
|
218
|
-
}
|
|
219
|
-
/**
|
|
220
|
-
* A newly issued credential and its secret.
|
|
221
|
-
*
|
|
222
|
-
* @generated from protobuf message sid.v1.admin.IssuedConnectorCredential
|
|
223
|
-
*/
|
|
224
|
-
export interface IssuedConnectorCredential {
|
|
225
|
-
/**
|
|
226
|
-
* @generated from protobuf field: sid.v1.admin.ConnectorCredential credential = 1
|
|
227
|
-
*/
|
|
228
|
-
credential?: ConnectorCredential;
|
|
229
|
-
/**
|
|
230
|
-
* The bearer secret, in this response only: SID keeps only its verifier.
|
|
231
|
-
* Empty when the response answers a retried request whose first attempt
|
|
232
|
-
* already issued it; replace it through RotateConnectorCredential.
|
|
233
|
-
*
|
|
234
|
-
* @generated from protobuf field: string secret = 2
|
|
235
|
-
*/
|
|
236
|
-
secret: string;
|
|
237
|
-
}
|
|
238
|
-
/**
|
|
239
|
-
* @generated from protobuf message sid.v1.admin.ListConnectorCredentialsRequest
|
|
240
|
-
*/
|
|
241
|
-
export interface ListConnectorCredentialsRequest {
|
|
242
|
-
/**
|
|
243
|
-
* @generated from protobuf field: sid.v1.ids.ProvisioningConnectorId connector_id = 1
|
|
244
|
-
*/
|
|
245
|
-
connectorId?: ProvisioningConnectorId;
|
|
246
|
-
}
|
|
247
|
-
/**
|
|
248
|
-
* @generated from protobuf message sid.v1.admin.ListConnectorCredentialsResponse
|
|
249
|
-
*/
|
|
250
|
-
export interface ListConnectorCredentialsResponse {
|
|
251
|
-
/**
|
|
252
|
-
* @generated from protobuf field: repeated sid.v1.admin.ConnectorCredential credentials = 1
|
|
253
|
-
*/
|
|
254
|
-
credentials: ConnectorCredential[];
|
|
255
|
-
}
|
|
256
|
-
/**
|
|
257
|
-
* @generated from protobuf message sid.v1.admin.CreateConnectorCredentialRequest
|
|
258
|
-
*/
|
|
259
|
-
export interface CreateConnectorCredentialRequest {
|
|
260
|
-
/**
|
|
261
|
-
* @generated from protobuf field: sid.v1.ids.ProvisioningConnectorId connector_id = 1
|
|
262
|
-
*/
|
|
263
|
-
connectorId?: ProvisioningConnectorId;
|
|
264
|
-
/**
|
|
265
|
-
* When the credential stops working; absent for no expiry. Must be in the
|
|
266
|
-
* future.
|
|
267
|
-
*
|
|
268
|
-
* @generated from protobuf field: google.protobuf.Timestamp expires_at = 2
|
|
269
|
-
*/
|
|
270
|
-
expiresAt?: Timestamp;
|
|
271
|
-
/**
|
|
272
|
-
* What it authenticates; required. A rotation keeps the kind it replaces.
|
|
273
|
-
*
|
|
274
|
-
* @generated from protobuf field: sid.v1.admin.ConnectorCredentialKind kind = 3
|
|
275
|
-
*/
|
|
276
|
-
kind: ConnectorCredentialKind;
|
|
277
|
-
}
|
|
278
|
-
/**
|
|
279
|
-
* @generated from protobuf message sid.v1.admin.RotateConnectorCredentialRequest
|
|
280
|
-
*/
|
|
281
|
-
export interface RotateConnectorCredentialRequest {
|
|
282
|
-
/**
|
|
283
|
-
* @generated from protobuf field: sid.v1.ids.ProvisioningConnectorId connector_id = 1
|
|
284
|
-
*/
|
|
285
|
-
connectorId?: ProvisioningConnectorId;
|
|
286
|
-
/**
|
|
287
|
-
* The active credential being replaced.
|
|
288
|
-
*
|
|
289
|
-
* @generated from protobuf field: sid.v1.ids.ProvisioningCredentialId credential_id = 2
|
|
290
|
-
*/
|
|
291
|
-
credentialId?: ProvisioningCredentialId;
|
|
292
|
-
}
|
|
293
|
-
/**
|
|
294
|
-
* @generated from protobuf message sid.v1.admin.RevokeConnectorCredentialRequest
|
|
295
|
-
*/
|
|
296
|
-
export interface RevokeConnectorCredentialRequest {
|
|
297
|
-
/**
|
|
298
|
-
* @generated from protobuf field: sid.v1.ids.ProvisioningConnectorId connector_id = 1
|
|
299
|
-
*/
|
|
300
|
-
connectorId?: ProvisioningConnectorId;
|
|
301
|
-
/**
|
|
302
|
-
* @generated from protobuf field: sid.v1.ids.ProvisioningCredentialId credential_id = 2
|
|
303
|
-
*/
|
|
304
|
-
credentialId?: ProvisioningCredentialId;
|
|
305
|
-
}
|
|
306
|
-
/**
|
|
307
|
-
* Which way a connector's SCIM requests go, fixed at its creation.
|
|
308
|
-
*
|
|
309
|
-
* @generated from protobuf enum sid.v1.admin.ProvisioningDirection
|
|
310
|
-
*/
|
|
311
|
-
export enum ProvisioningDirection {
|
|
312
|
-
/**
|
|
313
|
-
* @generated from protobuf enum value: PROVISIONING_DIRECTION_UNSPECIFIED = 0;
|
|
314
|
-
*/
|
|
315
|
-
UNSPECIFIED = 0,
|
|
316
|
-
/**
|
|
317
|
-
* An external directory sends SCIM to this organization.
|
|
318
|
-
*
|
|
319
|
-
* @generated from protobuf enum value: PROVISIONING_DIRECTION_INBOUND = 1;
|
|
320
|
-
*/
|
|
321
|
-
INBOUND = 1,
|
|
322
|
-
/**
|
|
323
|
-
* This organization sends SCIM to an external target.
|
|
324
|
-
*
|
|
325
|
-
* @generated from protobuf enum value: PROVISIONING_DIRECTION_OUTBOUND = 2;
|
|
326
|
-
*/
|
|
327
|
-
OUTBOUND = 2
|
|
328
|
-
}
|
|
329
|
-
/**
|
|
330
|
-
* Where a connector is in its lifecycle.
|
|
331
|
-
*
|
|
332
|
-
* @generated from protobuf enum sid.v1.admin.ProvisioningConnectorState
|
|
333
|
-
*/
|
|
334
|
-
export enum ProvisioningConnectorState {
|
|
335
|
-
/**
|
|
336
|
-
* @generated from protobuf enum value: PROVISIONING_CONNECTOR_STATE_UNSPECIFIED = 0;
|
|
337
|
-
*/
|
|
338
|
-
UNSPECIFIED = 0,
|
|
339
|
-
/**
|
|
340
|
-
* Its requests are served (within its grants).
|
|
341
|
-
*
|
|
342
|
-
* @generated from protobuf enum value: PROVISIONING_CONNECTOR_STATE_ACTIVE = 1;
|
|
343
|
-
*/
|
|
344
|
-
ACTIVE = 1,
|
|
345
|
-
/**
|
|
346
|
-
* Every request is refused; credentials and grants are kept.
|
|
347
|
-
*
|
|
348
|
-
* @generated from protobuf enum value: PROVISIONING_CONNECTOR_STATE_DISABLED = 2;
|
|
349
|
-
*/
|
|
350
|
-
DISABLED = 2,
|
|
351
|
-
/**
|
|
352
|
-
* Final: credentials revoked, kept for audit and correlation only.
|
|
353
|
-
*
|
|
354
|
-
* @generated from protobuf enum value: PROVISIONING_CONNECTOR_STATE_RETIRED = 3;
|
|
355
|
-
*/
|
|
356
|
-
RETIRED = 3
|
|
357
|
-
}
|
|
358
|
-
/**
|
|
359
|
-
* How a SCIM client authenticates as an inbound connector.
|
|
360
|
-
*
|
|
361
|
-
* @generated from protobuf enum sid.v1.admin.ScimAuthenticationMethod
|
|
362
|
-
*/
|
|
363
|
-
export enum ScimAuthenticationMethod {
|
|
364
|
-
/**
|
|
365
|
-
* @generated from protobuf enum value: SCIM_AUTHENTICATION_METHOD_UNSPECIFIED = 0;
|
|
366
|
-
*/
|
|
367
|
-
UNSPECIFIED = 0,
|
|
368
|
-
/**
|
|
369
|
-
* A dedicated bearer secret of this connector (RFC 6750 header syntax),
|
|
370
|
-
* issued through CreateConnectorCredential with kind SCIM_BEARER.
|
|
371
|
-
*
|
|
372
|
-
* @generated from protobuf enum value: SCIM_AUTHENTICATION_METHOD_STATIC_BEARER = 1;
|
|
373
|
-
*/
|
|
374
|
-
STATIC_BEARER = 1,
|
|
375
|
-
/**
|
|
376
|
-
* An access token for the SCIM directory resource, obtained at the token
|
|
377
|
-
* endpoint with the connector's client_id and a client secret issued with
|
|
378
|
-
* kind CLIENT_SECRET (OAuth 2.0 client credentials, RFC 6749 §4.4;
|
|
379
|
-
* client_secret_basic or client_secret_post).
|
|
380
|
-
*
|
|
381
|
-
* @generated from protobuf enum value: SCIM_AUTHENTICATION_METHOD_OAUTH_CLIENT_CREDENTIALS = 2;
|
|
382
|
-
*/
|
|
383
|
-
OAUTH_CLIENT_CREDENTIALS = 2
|
|
384
|
-
}
|
|
385
|
-
/**
|
|
386
|
-
* What a connector credential authenticates, fixed at its issue. Neither is
|
|
387
|
-
* accepted where the other is expected.
|
|
388
|
-
*
|
|
389
|
-
* @generated from protobuf enum sid.v1.admin.ConnectorCredentialKind
|
|
390
|
-
*/
|
|
391
|
-
export enum ConnectorCredentialKind {
|
|
392
|
-
/**
|
|
393
|
-
* @generated from protobuf enum value: CONNECTOR_CREDENTIAL_KIND_UNSPECIFIED = 0;
|
|
394
|
-
*/
|
|
395
|
-
UNSPECIFIED = 0,
|
|
396
|
-
/**
|
|
397
|
-
* Presented as the bearer of a SCIM request.
|
|
398
|
-
*
|
|
399
|
-
* @generated from protobuf enum value: CONNECTOR_CREDENTIAL_KIND_SCIM_BEARER = 1;
|
|
400
|
-
*/
|
|
401
|
-
SCIM_BEARER = 1,
|
|
402
|
-
/**
|
|
403
|
-
* Presented as the OAuth client secret at the token endpoint; never a
|
|
404
|
-
* bearer itself.
|
|
405
|
-
*
|
|
406
|
-
* @generated from protobuf enum value: CONNECTOR_CREDENTIAL_KIND_CLIENT_SECRET = 2;
|
|
407
|
-
*/
|
|
408
|
-
CLIENT_SECRET = 2
|
|
409
|
-
}
|
|
410
|
-
/**
|
|
411
|
-
* Where a connector credential is in its lifecycle.
|
|
412
|
-
*
|
|
413
|
-
* @generated from protobuf enum sid.v1.admin.ConnectorCredentialStatus
|
|
414
|
-
*/
|
|
415
|
-
export enum ConnectorCredentialStatus {
|
|
416
|
-
/**
|
|
417
|
-
* @generated from protobuf enum value: CONNECTOR_CREDENTIAL_STATUS_UNSPECIFIED = 0;
|
|
418
|
-
*/
|
|
419
|
-
UNSPECIFIED = 0,
|
|
420
|
-
/**
|
|
421
|
-
* Authenticates the connector.
|
|
422
|
-
*
|
|
423
|
-
* @generated from protobuf enum value: CONNECTOR_CREDENTIAL_STATUS_ACTIVE = 1;
|
|
424
|
-
*/
|
|
425
|
-
ACTIVE = 1,
|
|
426
|
-
/**
|
|
427
|
-
* Rotated out; authenticates until expires_at.
|
|
428
|
-
*
|
|
429
|
-
* @generated from protobuf enum value: CONNECTOR_CREDENTIAL_STATUS_GRACE_PERIOD = 2;
|
|
430
|
-
*/
|
|
431
|
-
GRACE_PERIOD = 2,
|
|
432
|
-
/**
|
|
433
|
-
* Past its end; no longer authenticates.
|
|
434
|
-
*
|
|
435
|
-
* @generated from protobuf enum value: CONNECTOR_CREDENTIAL_STATUS_EXPIRED = 3;
|
|
436
|
-
*/
|
|
437
|
-
EXPIRED = 3,
|
|
438
|
-
/**
|
|
439
|
-
* Revoked; no longer authenticates.
|
|
440
|
-
*
|
|
441
|
-
* @generated from protobuf enum value: CONNECTOR_CREDENTIAL_STATUS_REVOKED = 4;
|
|
442
|
-
*/
|
|
443
|
-
REVOKED = 4
|
|
444
|
-
}
|
|
445
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
446
|
-
class ProvisioningConnector$Type extends MessageType<ProvisioningConnector> {
|
|
447
|
-
constructor() {
|
|
448
|
-
super("sid.v1.admin.ProvisioningConnector", [
|
|
449
|
-
{ no: 1, name: "id", kind: "message", T: () => ProvisioningConnectorId },
|
|
450
|
-
{ no: 2, name: "direction", kind: "enum", T: () => ["sid.v1.admin.ProvisioningDirection", ProvisioningDirection, "PROVISIONING_DIRECTION_"] },
|
|
451
|
-
{ no: 3, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
452
|
-
{ no: 4, name: "state", kind: "enum", T: () => ["sid.v1.admin.ProvisioningConnectorState", ProvisioningConnectorState, "PROVISIONING_CONNECTOR_STATE_"] },
|
|
453
|
-
{ no: 5, name: "revision", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
454
|
-
{ no: 6, name: "created_at", kind: "message", T: () => Timestamp },
|
|
455
|
-
{ no: 7, name: "updated_at", kind: "message", T: () => Timestamp }
|
|
456
|
-
]);
|
|
457
|
-
}
|
|
458
|
-
create(value?: PartialMessage<ProvisioningConnector>): ProvisioningConnector {
|
|
459
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
460
|
-
message.direction = 0;
|
|
461
|
-
message.displayName = "";
|
|
462
|
-
message.state = 0;
|
|
463
|
-
message.revision = 0n;
|
|
464
|
-
if (value !== undefined)
|
|
465
|
-
reflectionMergePartial<ProvisioningConnector>(this, message, value);
|
|
466
|
-
return message;
|
|
467
|
-
}
|
|
468
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProvisioningConnector): ProvisioningConnector {
|
|
469
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
470
|
-
while (reader.pos < end) {
|
|
471
|
-
let [fieldNo, wireType] = reader.tag();
|
|
472
|
-
switch (fieldNo) {
|
|
473
|
-
case /* sid.v1.ids.ProvisioningConnectorId id */ 1:
|
|
474
|
-
message.id = ProvisioningConnectorId.internalBinaryRead(reader, reader.uint32(), options, message.id);
|
|
475
|
-
break;
|
|
476
|
-
case /* sid.v1.admin.ProvisioningDirection direction */ 2:
|
|
477
|
-
message.direction = reader.int32();
|
|
478
|
-
break;
|
|
479
|
-
case /* string display_name */ 3:
|
|
480
|
-
message.displayName = reader.string();
|
|
481
|
-
break;
|
|
482
|
-
case /* sid.v1.admin.ProvisioningConnectorState state */ 4:
|
|
483
|
-
message.state = reader.int32();
|
|
484
|
-
break;
|
|
485
|
-
case /* int64 revision */ 5:
|
|
486
|
-
message.revision = reader.int64().toBigInt();
|
|
487
|
-
break;
|
|
488
|
-
case /* google.protobuf.Timestamp created_at */ 6:
|
|
489
|
-
message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
|
490
|
-
break;
|
|
491
|
-
case /* google.protobuf.Timestamp updated_at */ 7:
|
|
492
|
-
message.updatedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.updatedAt);
|
|
493
|
-
break;
|
|
494
|
-
default:
|
|
495
|
-
let u = options.readUnknownField;
|
|
496
|
-
if (u === "throw")
|
|
497
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
498
|
-
let d = reader.skip(wireType);
|
|
499
|
-
if (u !== false)
|
|
500
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
return message;
|
|
504
|
-
}
|
|
505
|
-
internalBinaryWrite(message: ProvisioningConnector, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
506
|
-
/* sid.v1.ids.ProvisioningConnectorId id = 1; */
|
|
507
|
-
if (message.id)
|
|
508
|
-
ProvisioningConnectorId.internalBinaryWrite(message.id, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
509
|
-
/* sid.v1.admin.ProvisioningDirection direction = 2; */
|
|
510
|
-
if (message.direction !== 0)
|
|
511
|
-
writer.tag(2, WireType.Varint).int32(message.direction);
|
|
512
|
-
/* string display_name = 3; */
|
|
513
|
-
if (message.displayName !== "")
|
|
514
|
-
writer.tag(3, WireType.LengthDelimited).string(message.displayName);
|
|
515
|
-
/* sid.v1.admin.ProvisioningConnectorState state = 4; */
|
|
516
|
-
if (message.state !== 0)
|
|
517
|
-
writer.tag(4, WireType.Varint).int32(message.state);
|
|
518
|
-
/* int64 revision = 5; */
|
|
519
|
-
if (message.revision !== 0n)
|
|
520
|
-
writer.tag(5, WireType.Varint).int64(message.revision);
|
|
521
|
-
/* google.protobuf.Timestamp created_at = 6; */
|
|
522
|
-
if (message.createdAt)
|
|
523
|
-
Timestamp.internalBinaryWrite(message.createdAt, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
524
|
-
/* google.protobuf.Timestamp updated_at = 7; */
|
|
525
|
-
if (message.updatedAt)
|
|
526
|
-
Timestamp.internalBinaryWrite(message.updatedAt, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
527
|
-
let u = options.writeUnknownFields;
|
|
528
|
-
if (u !== false)
|
|
529
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
530
|
-
return writer;
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
/**
|
|
534
|
-
* @generated MessageType for protobuf message sid.v1.admin.ProvisioningConnector
|
|
535
|
-
*/
|
|
536
|
-
export const ProvisioningConnector = new ProvisioningConnector$Type();
|
|
537
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
538
|
-
class ListProvisioningConnectorsRequest$Type extends MessageType<ListProvisioningConnectorsRequest> {
|
|
539
|
-
constructor() {
|
|
540
|
-
super("sid.v1.admin.ListProvisioningConnectorsRequest", []);
|
|
541
|
-
}
|
|
542
|
-
create(value?: PartialMessage<ListProvisioningConnectorsRequest>): ListProvisioningConnectorsRequest {
|
|
543
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
544
|
-
if (value !== undefined)
|
|
545
|
-
reflectionMergePartial<ListProvisioningConnectorsRequest>(this, message, value);
|
|
546
|
-
return message;
|
|
547
|
-
}
|
|
548
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListProvisioningConnectorsRequest): ListProvisioningConnectorsRequest {
|
|
549
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
550
|
-
while (reader.pos < end) {
|
|
551
|
-
let [fieldNo, wireType] = reader.tag();
|
|
552
|
-
switch (fieldNo) {
|
|
553
|
-
default:
|
|
554
|
-
let u = options.readUnknownField;
|
|
555
|
-
if (u === "throw")
|
|
556
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
557
|
-
let d = reader.skip(wireType);
|
|
558
|
-
if (u !== false)
|
|
559
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
return message;
|
|
563
|
-
}
|
|
564
|
-
internalBinaryWrite(message: ListProvisioningConnectorsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
565
|
-
let u = options.writeUnknownFields;
|
|
566
|
-
if (u !== false)
|
|
567
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
568
|
-
return writer;
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
/**
|
|
572
|
-
* @generated MessageType for protobuf message sid.v1.admin.ListProvisioningConnectorsRequest
|
|
573
|
-
*/
|
|
574
|
-
export const ListProvisioningConnectorsRequest = new ListProvisioningConnectorsRequest$Type();
|
|
575
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
576
|
-
class ListProvisioningConnectorsResponse$Type extends MessageType<ListProvisioningConnectorsResponse> {
|
|
577
|
-
constructor() {
|
|
578
|
-
super("sid.v1.admin.ListProvisioningConnectorsResponse", [
|
|
579
|
-
{ no: 1, name: "connectors", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ProvisioningConnector }
|
|
580
|
-
]);
|
|
581
|
-
}
|
|
582
|
-
create(value?: PartialMessage<ListProvisioningConnectorsResponse>): ListProvisioningConnectorsResponse {
|
|
583
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
584
|
-
message.connectors = [];
|
|
585
|
-
if (value !== undefined)
|
|
586
|
-
reflectionMergePartial<ListProvisioningConnectorsResponse>(this, message, value);
|
|
587
|
-
return message;
|
|
588
|
-
}
|
|
589
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListProvisioningConnectorsResponse): ListProvisioningConnectorsResponse {
|
|
590
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
591
|
-
while (reader.pos < end) {
|
|
592
|
-
let [fieldNo, wireType] = reader.tag();
|
|
593
|
-
switch (fieldNo) {
|
|
594
|
-
case /* repeated sid.v1.admin.ProvisioningConnector connectors */ 1:
|
|
595
|
-
message.connectors.push(ProvisioningConnector.internalBinaryRead(reader, reader.uint32(), options));
|
|
596
|
-
break;
|
|
597
|
-
default:
|
|
598
|
-
let u = options.readUnknownField;
|
|
599
|
-
if (u === "throw")
|
|
600
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
601
|
-
let d = reader.skip(wireType);
|
|
602
|
-
if (u !== false)
|
|
603
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
return message;
|
|
607
|
-
}
|
|
608
|
-
internalBinaryWrite(message: ListProvisioningConnectorsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
609
|
-
/* repeated sid.v1.admin.ProvisioningConnector connectors = 1; */
|
|
610
|
-
for (let i = 0; i < message.connectors.length; i++)
|
|
611
|
-
ProvisioningConnector.internalBinaryWrite(message.connectors[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
612
|
-
let u = options.writeUnknownFields;
|
|
613
|
-
if (u !== false)
|
|
614
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
615
|
-
return writer;
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
/**
|
|
619
|
-
* @generated MessageType for protobuf message sid.v1.admin.ListProvisioningConnectorsResponse
|
|
620
|
-
*/
|
|
621
|
-
export const ListProvisioningConnectorsResponse = new ListProvisioningConnectorsResponse$Type();
|
|
622
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
623
|
-
class CreateInboundConnectorRequest$Type extends MessageType<CreateInboundConnectorRequest> {
|
|
624
|
-
constructor() {
|
|
625
|
-
super("sid.v1.admin.CreateInboundConnectorRequest", [
|
|
626
|
-
{ no: 1, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
627
|
-
]);
|
|
628
|
-
}
|
|
629
|
-
create(value?: PartialMessage<CreateInboundConnectorRequest>): CreateInboundConnectorRequest {
|
|
630
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
631
|
-
message.displayName = "";
|
|
632
|
-
if (value !== undefined)
|
|
633
|
-
reflectionMergePartial<CreateInboundConnectorRequest>(this, message, value);
|
|
634
|
-
return message;
|
|
635
|
-
}
|
|
636
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateInboundConnectorRequest): CreateInboundConnectorRequest {
|
|
637
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
638
|
-
while (reader.pos < end) {
|
|
639
|
-
let [fieldNo, wireType] = reader.tag();
|
|
640
|
-
switch (fieldNo) {
|
|
641
|
-
case /* string display_name */ 1:
|
|
642
|
-
message.displayName = reader.string();
|
|
643
|
-
break;
|
|
644
|
-
default:
|
|
645
|
-
let u = options.readUnknownField;
|
|
646
|
-
if (u === "throw")
|
|
647
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
648
|
-
let d = reader.skip(wireType);
|
|
649
|
-
if (u !== false)
|
|
650
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
return message;
|
|
654
|
-
}
|
|
655
|
-
internalBinaryWrite(message: CreateInboundConnectorRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
656
|
-
/* string display_name = 1; */
|
|
657
|
-
if (message.displayName !== "")
|
|
658
|
-
writer.tag(1, WireType.LengthDelimited).string(message.displayName);
|
|
659
|
-
let u = options.writeUnknownFields;
|
|
660
|
-
if (u !== false)
|
|
661
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
662
|
-
return writer;
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
/**
|
|
666
|
-
* @generated MessageType for protobuf message sid.v1.admin.CreateInboundConnectorRequest
|
|
667
|
-
*/
|
|
668
|
-
export const CreateInboundConnectorRequest = new CreateInboundConnectorRequest$Type();
|
|
669
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
670
|
-
class GetProvisioningConnectorRequest$Type extends MessageType<GetProvisioningConnectorRequest> {
|
|
671
|
-
constructor() {
|
|
672
|
-
super("sid.v1.admin.GetProvisioningConnectorRequest", [
|
|
673
|
-
{ no: 1, name: "connector_id", kind: "message", T: () => ProvisioningConnectorId }
|
|
674
|
-
]);
|
|
675
|
-
}
|
|
676
|
-
create(value?: PartialMessage<GetProvisioningConnectorRequest>): GetProvisioningConnectorRequest {
|
|
677
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
678
|
-
if (value !== undefined)
|
|
679
|
-
reflectionMergePartial<GetProvisioningConnectorRequest>(this, message, value);
|
|
680
|
-
return message;
|
|
681
|
-
}
|
|
682
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetProvisioningConnectorRequest): GetProvisioningConnectorRequest {
|
|
683
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
684
|
-
while (reader.pos < end) {
|
|
685
|
-
let [fieldNo, wireType] = reader.tag();
|
|
686
|
-
switch (fieldNo) {
|
|
687
|
-
case /* sid.v1.ids.ProvisioningConnectorId connector_id */ 1:
|
|
688
|
-
message.connectorId = ProvisioningConnectorId.internalBinaryRead(reader, reader.uint32(), options, message.connectorId);
|
|
689
|
-
break;
|
|
690
|
-
default:
|
|
691
|
-
let u = options.readUnknownField;
|
|
692
|
-
if (u === "throw")
|
|
693
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
694
|
-
let d = reader.skip(wireType);
|
|
695
|
-
if (u !== false)
|
|
696
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
return message;
|
|
700
|
-
}
|
|
701
|
-
internalBinaryWrite(message: GetProvisioningConnectorRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
702
|
-
/* sid.v1.ids.ProvisioningConnectorId connector_id = 1; */
|
|
703
|
-
if (message.connectorId)
|
|
704
|
-
ProvisioningConnectorId.internalBinaryWrite(message.connectorId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
705
|
-
let u = options.writeUnknownFields;
|
|
706
|
-
if (u !== false)
|
|
707
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
708
|
-
return writer;
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
/**
|
|
712
|
-
* @generated MessageType for protobuf message sid.v1.admin.GetProvisioningConnectorRequest
|
|
713
|
-
*/
|
|
714
|
-
export const GetProvisioningConnectorRequest = new GetProvisioningConnectorRequest$Type();
|
|
715
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
716
|
-
class RenameProvisioningConnectorRequest$Type extends MessageType<RenameProvisioningConnectorRequest> {
|
|
717
|
-
constructor() {
|
|
718
|
-
super("sid.v1.admin.RenameProvisioningConnectorRequest", [
|
|
719
|
-
{ no: 1, name: "connector_id", kind: "message", T: () => ProvisioningConnectorId },
|
|
720
|
-
{ no: 2, name: "revision", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
721
|
-
{ no: 3, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
722
|
-
]);
|
|
723
|
-
}
|
|
724
|
-
create(value?: PartialMessage<RenameProvisioningConnectorRequest>): RenameProvisioningConnectorRequest {
|
|
725
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
726
|
-
message.revision = 0n;
|
|
727
|
-
message.displayName = "";
|
|
728
|
-
if (value !== undefined)
|
|
729
|
-
reflectionMergePartial<RenameProvisioningConnectorRequest>(this, message, value);
|
|
730
|
-
return message;
|
|
731
|
-
}
|
|
732
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RenameProvisioningConnectorRequest): RenameProvisioningConnectorRequest {
|
|
733
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
734
|
-
while (reader.pos < end) {
|
|
735
|
-
let [fieldNo, wireType] = reader.tag();
|
|
736
|
-
switch (fieldNo) {
|
|
737
|
-
case /* sid.v1.ids.ProvisioningConnectorId connector_id */ 1:
|
|
738
|
-
message.connectorId = ProvisioningConnectorId.internalBinaryRead(reader, reader.uint32(), options, message.connectorId);
|
|
739
|
-
break;
|
|
740
|
-
case /* int64 revision */ 2:
|
|
741
|
-
message.revision = reader.int64().toBigInt();
|
|
742
|
-
break;
|
|
743
|
-
case /* string display_name */ 3:
|
|
744
|
-
message.displayName = reader.string();
|
|
745
|
-
break;
|
|
746
|
-
default:
|
|
747
|
-
let u = options.readUnknownField;
|
|
748
|
-
if (u === "throw")
|
|
749
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
750
|
-
let d = reader.skip(wireType);
|
|
751
|
-
if (u !== false)
|
|
752
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
return message;
|
|
756
|
-
}
|
|
757
|
-
internalBinaryWrite(message: RenameProvisioningConnectorRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
758
|
-
/* sid.v1.ids.ProvisioningConnectorId connector_id = 1; */
|
|
759
|
-
if (message.connectorId)
|
|
760
|
-
ProvisioningConnectorId.internalBinaryWrite(message.connectorId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
761
|
-
/* int64 revision = 2; */
|
|
762
|
-
if (message.revision !== 0n)
|
|
763
|
-
writer.tag(2, WireType.Varint).int64(message.revision);
|
|
764
|
-
/* string display_name = 3; */
|
|
765
|
-
if (message.displayName !== "")
|
|
766
|
-
writer.tag(3, WireType.LengthDelimited).string(message.displayName);
|
|
767
|
-
let u = options.writeUnknownFields;
|
|
768
|
-
if (u !== false)
|
|
769
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
770
|
-
return writer;
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
/**
|
|
774
|
-
* @generated MessageType for protobuf message sid.v1.admin.RenameProvisioningConnectorRequest
|
|
775
|
-
*/
|
|
776
|
-
export const RenameProvisioningConnectorRequest = new RenameProvisioningConnectorRequest$Type();
|
|
777
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
778
|
-
class ChangeProvisioningConnectorStateRequest$Type extends MessageType<ChangeProvisioningConnectorStateRequest> {
|
|
779
|
-
constructor() {
|
|
780
|
-
super("sid.v1.admin.ChangeProvisioningConnectorStateRequest", [
|
|
781
|
-
{ no: 1, name: "connector_id", kind: "message", T: () => ProvisioningConnectorId },
|
|
782
|
-
{ no: 2, name: "state", kind: "enum", T: () => ["sid.v1.admin.ProvisioningConnectorState", ProvisioningConnectorState, "PROVISIONING_CONNECTOR_STATE_"] }
|
|
783
|
-
]);
|
|
784
|
-
}
|
|
785
|
-
create(value?: PartialMessage<ChangeProvisioningConnectorStateRequest>): ChangeProvisioningConnectorStateRequest {
|
|
786
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
787
|
-
message.state = 0;
|
|
788
|
-
if (value !== undefined)
|
|
789
|
-
reflectionMergePartial<ChangeProvisioningConnectorStateRequest>(this, message, value);
|
|
790
|
-
return message;
|
|
791
|
-
}
|
|
792
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ChangeProvisioningConnectorStateRequest): ChangeProvisioningConnectorStateRequest {
|
|
793
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
794
|
-
while (reader.pos < end) {
|
|
795
|
-
let [fieldNo, wireType] = reader.tag();
|
|
796
|
-
switch (fieldNo) {
|
|
797
|
-
case /* sid.v1.ids.ProvisioningConnectorId connector_id */ 1:
|
|
798
|
-
message.connectorId = ProvisioningConnectorId.internalBinaryRead(reader, reader.uint32(), options, message.connectorId);
|
|
799
|
-
break;
|
|
800
|
-
case /* sid.v1.admin.ProvisioningConnectorState state */ 2:
|
|
801
|
-
message.state = reader.int32();
|
|
802
|
-
break;
|
|
803
|
-
default:
|
|
804
|
-
let u = options.readUnknownField;
|
|
805
|
-
if (u === "throw")
|
|
806
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
807
|
-
let d = reader.skip(wireType);
|
|
808
|
-
if (u !== false)
|
|
809
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
return message;
|
|
813
|
-
}
|
|
814
|
-
internalBinaryWrite(message: ChangeProvisioningConnectorStateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
815
|
-
/* sid.v1.ids.ProvisioningConnectorId connector_id = 1; */
|
|
816
|
-
if (message.connectorId)
|
|
817
|
-
ProvisioningConnectorId.internalBinaryWrite(message.connectorId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
818
|
-
/* sid.v1.admin.ProvisioningConnectorState state = 2; */
|
|
819
|
-
if (message.state !== 0)
|
|
820
|
-
writer.tag(2, WireType.Varint).int32(message.state);
|
|
821
|
-
let u = options.writeUnknownFields;
|
|
822
|
-
if (u !== false)
|
|
823
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
824
|
-
return writer;
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
/**
|
|
828
|
-
* @generated MessageType for protobuf message sid.v1.admin.ChangeProvisioningConnectorStateRequest
|
|
829
|
-
*/
|
|
830
|
-
export const ChangeProvisioningConnectorStateRequest = new ChangeProvisioningConnectorStateRequest$Type();
|
|
831
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
832
|
-
class GetScimInboundConfigRequest$Type extends MessageType<GetScimInboundConfigRequest> {
|
|
833
|
-
constructor() {
|
|
834
|
-
super("sid.v1.admin.GetScimInboundConfigRequest", [
|
|
835
|
-
{ no: 1, name: "connector_id", kind: "message", T: () => ProvisioningConnectorId }
|
|
836
|
-
]);
|
|
837
|
-
}
|
|
838
|
-
create(value?: PartialMessage<GetScimInboundConfigRequest>): GetScimInboundConfigRequest {
|
|
839
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
840
|
-
if (value !== undefined)
|
|
841
|
-
reflectionMergePartial<GetScimInboundConfigRequest>(this, message, value);
|
|
842
|
-
return message;
|
|
843
|
-
}
|
|
844
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetScimInboundConfigRequest): GetScimInboundConfigRequest {
|
|
845
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
846
|
-
while (reader.pos < end) {
|
|
847
|
-
let [fieldNo, wireType] = reader.tag();
|
|
848
|
-
switch (fieldNo) {
|
|
849
|
-
case /* sid.v1.ids.ProvisioningConnectorId connector_id */ 1:
|
|
850
|
-
message.connectorId = ProvisioningConnectorId.internalBinaryRead(reader, reader.uint32(), options, message.connectorId);
|
|
851
|
-
break;
|
|
852
|
-
default:
|
|
853
|
-
let u = options.readUnknownField;
|
|
854
|
-
if (u === "throw")
|
|
855
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
856
|
-
let d = reader.skip(wireType);
|
|
857
|
-
if (u !== false)
|
|
858
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
return message;
|
|
862
|
-
}
|
|
863
|
-
internalBinaryWrite(message: GetScimInboundConfigRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
864
|
-
/* sid.v1.ids.ProvisioningConnectorId connector_id = 1; */
|
|
865
|
-
if (message.connectorId)
|
|
866
|
-
ProvisioningConnectorId.internalBinaryWrite(message.connectorId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
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.admin.GetScimInboundConfigRequest
|
|
875
|
-
*/
|
|
876
|
-
export const GetScimInboundConfigRequest = new GetScimInboundConfigRequest$Type();
|
|
877
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
878
|
-
class ScimInboundConfig$Type extends MessageType<ScimInboundConfig> {
|
|
879
|
-
constructor() {
|
|
880
|
-
super("sid.v1.admin.ScimInboundConfig", [
|
|
881
|
-
{ no: 1, name: "connector", kind: "message", T: () => ProvisioningConnector },
|
|
882
|
-
{ no: 2, name: "base_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
883
|
-
{ no: 3, name: "resource_indicator", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
884
|
-
{ no: 4, name: "authentication_methods", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["sid.v1.admin.ScimAuthenticationMethod", ScimAuthenticationMethod, "SCIM_AUTHENTICATION_METHOD_"] },
|
|
885
|
-
{ no: 5, name: "client_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
886
|
-
{ no: 6, name: "token_endpoint", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
887
|
-
{ no: 7, name: "issuer", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
888
|
-
]);
|
|
889
|
-
}
|
|
890
|
-
create(value?: PartialMessage<ScimInboundConfig>): ScimInboundConfig {
|
|
891
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
892
|
-
message.baseUrl = "";
|
|
893
|
-
message.resourceIndicator = "";
|
|
894
|
-
message.authenticationMethods = [];
|
|
895
|
-
message.clientId = "";
|
|
896
|
-
message.tokenEndpoint = "";
|
|
897
|
-
message.issuer = "";
|
|
898
|
-
if (value !== undefined)
|
|
899
|
-
reflectionMergePartial<ScimInboundConfig>(this, message, value);
|
|
900
|
-
return message;
|
|
901
|
-
}
|
|
902
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScimInboundConfig): ScimInboundConfig {
|
|
903
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
904
|
-
while (reader.pos < end) {
|
|
905
|
-
let [fieldNo, wireType] = reader.tag();
|
|
906
|
-
switch (fieldNo) {
|
|
907
|
-
case /* sid.v1.admin.ProvisioningConnector connector */ 1:
|
|
908
|
-
message.connector = ProvisioningConnector.internalBinaryRead(reader, reader.uint32(), options, message.connector);
|
|
909
|
-
break;
|
|
910
|
-
case /* string base_url */ 2:
|
|
911
|
-
message.baseUrl = reader.string();
|
|
912
|
-
break;
|
|
913
|
-
case /* string resource_indicator */ 3:
|
|
914
|
-
message.resourceIndicator = reader.string();
|
|
915
|
-
break;
|
|
916
|
-
case /* repeated sid.v1.admin.ScimAuthenticationMethod authentication_methods */ 4:
|
|
917
|
-
if (wireType === WireType.LengthDelimited)
|
|
918
|
-
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
919
|
-
message.authenticationMethods.push(reader.int32());
|
|
920
|
-
else
|
|
921
|
-
message.authenticationMethods.push(reader.int32());
|
|
922
|
-
break;
|
|
923
|
-
case /* string client_id */ 5:
|
|
924
|
-
message.clientId = reader.string();
|
|
925
|
-
break;
|
|
926
|
-
case /* string token_endpoint */ 6:
|
|
927
|
-
message.tokenEndpoint = reader.string();
|
|
928
|
-
break;
|
|
929
|
-
case /* string issuer */ 7:
|
|
930
|
-
message.issuer = reader.string();
|
|
931
|
-
break;
|
|
932
|
-
default:
|
|
933
|
-
let u = options.readUnknownField;
|
|
934
|
-
if (u === "throw")
|
|
935
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
936
|
-
let d = reader.skip(wireType);
|
|
937
|
-
if (u !== false)
|
|
938
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
return message;
|
|
942
|
-
}
|
|
943
|
-
internalBinaryWrite(message: ScimInboundConfig, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
944
|
-
/* sid.v1.admin.ProvisioningConnector connector = 1; */
|
|
945
|
-
if (message.connector)
|
|
946
|
-
ProvisioningConnector.internalBinaryWrite(message.connector, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
947
|
-
/* string base_url = 2; */
|
|
948
|
-
if (message.baseUrl !== "")
|
|
949
|
-
writer.tag(2, WireType.LengthDelimited).string(message.baseUrl);
|
|
950
|
-
/* string resource_indicator = 3; */
|
|
951
|
-
if (message.resourceIndicator !== "")
|
|
952
|
-
writer.tag(3, WireType.LengthDelimited).string(message.resourceIndicator);
|
|
953
|
-
/* repeated sid.v1.admin.ScimAuthenticationMethod authentication_methods = 4; */
|
|
954
|
-
if (message.authenticationMethods.length) {
|
|
955
|
-
writer.tag(4, WireType.LengthDelimited).fork();
|
|
956
|
-
for (let i = 0; i < message.authenticationMethods.length; i++)
|
|
957
|
-
writer.int32(message.authenticationMethods[i]);
|
|
958
|
-
writer.join();
|
|
959
|
-
}
|
|
960
|
-
/* string client_id = 5; */
|
|
961
|
-
if (message.clientId !== "")
|
|
962
|
-
writer.tag(5, WireType.LengthDelimited).string(message.clientId);
|
|
963
|
-
/* string token_endpoint = 6; */
|
|
964
|
-
if (message.tokenEndpoint !== "")
|
|
965
|
-
writer.tag(6, WireType.LengthDelimited).string(message.tokenEndpoint);
|
|
966
|
-
/* string issuer = 7; */
|
|
967
|
-
if (message.issuer !== "")
|
|
968
|
-
writer.tag(7, WireType.LengthDelimited).string(message.issuer);
|
|
969
|
-
let u = options.writeUnknownFields;
|
|
970
|
-
if (u !== false)
|
|
971
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
972
|
-
return writer;
|
|
973
|
-
}
|
|
974
|
-
}
|
|
975
|
-
/**
|
|
976
|
-
* @generated MessageType for protobuf message sid.v1.admin.ScimInboundConfig
|
|
977
|
-
*/
|
|
978
|
-
export const ScimInboundConfig = new ScimInboundConfig$Type();
|
|
979
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
980
|
-
class ConnectorCredential$Type extends MessageType<ConnectorCredential> {
|
|
981
|
-
constructor() {
|
|
982
|
-
super("sid.v1.admin.ConnectorCredential", [
|
|
983
|
-
{ no: 1, name: "id", kind: "message", T: () => ProvisioningCredentialId },
|
|
984
|
-
{ no: 2, name: "status", kind: "enum", T: () => ["sid.v1.admin.ConnectorCredentialStatus", ConnectorCredentialStatus, "CONNECTOR_CREDENTIAL_STATUS_"] },
|
|
985
|
-
{ no: 5, name: "kind", kind: "enum", T: () => ["sid.v1.admin.ConnectorCredentialKind", ConnectorCredentialKind, "CONNECTOR_CREDENTIAL_KIND_"] },
|
|
986
|
-
{ no: 3, name: "expires_at", kind: "message", T: () => Timestamp },
|
|
987
|
-
{ no: 4, name: "created_at", kind: "message", T: () => Timestamp }
|
|
988
|
-
]);
|
|
989
|
-
}
|
|
990
|
-
create(value?: PartialMessage<ConnectorCredential>): ConnectorCredential {
|
|
991
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
992
|
-
message.status = 0;
|
|
993
|
-
message.kind = 0;
|
|
994
|
-
if (value !== undefined)
|
|
995
|
-
reflectionMergePartial<ConnectorCredential>(this, message, value);
|
|
996
|
-
return message;
|
|
997
|
-
}
|
|
998
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ConnectorCredential): ConnectorCredential {
|
|
999
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1000
|
-
while (reader.pos < end) {
|
|
1001
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1002
|
-
switch (fieldNo) {
|
|
1003
|
-
case /* sid.v1.ids.ProvisioningCredentialId id */ 1:
|
|
1004
|
-
message.id = ProvisioningCredentialId.internalBinaryRead(reader, reader.uint32(), options, message.id);
|
|
1005
|
-
break;
|
|
1006
|
-
case /* sid.v1.admin.ConnectorCredentialStatus status */ 2:
|
|
1007
|
-
message.status = reader.int32();
|
|
1008
|
-
break;
|
|
1009
|
-
case /* sid.v1.admin.ConnectorCredentialKind kind */ 5:
|
|
1010
|
-
message.kind = reader.int32();
|
|
1011
|
-
break;
|
|
1012
|
-
case /* google.protobuf.Timestamp expires_at */ 3:
|
|
1013
|
-
message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);
|
|
1014
|
-
break;
|
|
1015
|
-
case /* google.protobuf.Timestamp created_at */ 4:
|
|
1016
|
-
message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
|
1017
|
-
break;
|
|
1018
|
-
default:
|
|
1019
|
-
let u = options.readUnknownField;
|
|
1020
|
-
if (u === "throw")
|
|
1021
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1022
|
-
let d = reader.skip(wireType);
|
|
1023
|
-
if (u !== false)
|
|
1024
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
return message;
|
|
1028
|
-
}
|
|
1029
|
-
internalBinaryWrite(message: ConnectorCredential, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1030
|
-
/* sid.v1.ids.ProvisioningCredentialId id = 1; */
|
|
1031
|
-
if (message.id)
|
|
1032
|
-
ProvisioningCredentialId.internalBinaryWrite(message.id, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1033
|
-
/* sid.v1.admin.ConnectorCredentialStatus status = 2; */
|
|
1034
|
-
if (message.status !== 0)
|
|
1035
|
-
writer.tag(2, WireType.Varint).int32(message.status);
|
|
1036
|
-
/* google.protobuf.Timestamp expires_at = 3; */
|
|
1037
|
-
if (message.expiresAt)
|
|
1038
|
-
Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1039
|
-
/* google.protobuf.Timestamp created_at = 4; */
|
|
1040
|
-
if (message.createdAt)
|
|
1041
|
-
Timestamp.internalBinaryWrite(message.createdAt, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
1042
|
-
/* sid.v1.admin.ConnectorCredentialKind kind = 5; */
|
|
1043
|
-
if (message.kind !== 0)
|
|
1044
|
-
writer.tag(5, WireType.Varint).int32(message.kind);
|
|
1045
|
-
let u = options.writeUnknownFields;
|
|
1046
|
-
if (u !== false)
|
|
1047
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1048
|
-
return writer;
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
/**
|
|
1052
|
-
* @generated MessageType for protobuf message sid.v1.admin.ConnectorCredential
|
|
1053
|
-
*/
|
|
1054
|
-
export const ConnectorCredential = new ConnectorCredential$Type();
|
|
1055
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1056
|
-
class IssuedConnectorCredential$Type extends MessageType<IssuedConnectorCredential> {
|
|
1057
|
-
constructor() {
|
|
1058
|
-
super("sid.v1.admin.IssuedConnectorCredential", [
|
|
1059
|
-
{ no: 1, name: "credential", kind: "message", T: () => ConnectorCredential },
|
|
1060
|
-
{ no: 2, name: "secret", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1061
|
-
]);
|
|
1062
|
-
}
|
|
1063
|
-
create(value?: PartialMessage<IssuedConnectorCredential>): IssuedConnectorCredential {
|
|
1064
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1065
|
-
message.secret = "";
|
|
1066
|
-
if (value !== undefined)
|
|
1067
|
-
reflectionMergePartial<IssuedConnectorCredential>(this, message, value);
|
|
1068
|
-
return message;
|
|
1069
|
-
}
|
|
1070
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: IssuedConnectorCredential): IssuedConnectorCredential {
|
|
1071
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1072
|
-
while (reader.pos < end) {
|
|
1073
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1074
|
-
switch (fieldNo) {
|
|
1075
|
-
case /* sid.v1.admin.ConnectorCredential credential */ 1:
|
|
1076
|
-
message.credential = ConnectorCredential.internalBinaryRead(reader, reader.uint32(), options, message.credential);
|
|
1077
|
-
break;
|
|
1078
|
-
case /* string secret */ 2:
|
|
1079
|
-
message.secret = reader.string();
|
|
1080
|
-
break;
|
|
1081
|
-
default:
|
|
1082
|
-
let u = options.readUnknownField;
|
|
1083
|
-
if (u === "throw")
|
|
1084
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1085
|
-
let d = reader.skip(wireType);
|
|
1086
|
-
if (u !== false)
|
|
1087
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
1090
|
-
return message;
|
|
1091
|
-
}
|
|
1092
|
-
internalBinaryWrite(message: IssuedConnectorCredential, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1093
|
-
/* sid.v1.admin.ConnectorCredential credential = 1; */
|
|
1094
|
-
if (message.credential)
|
|
1095
|
-
ConnectorCredential.internalBinaryWrite(message.credential, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1096
|
-
/* string secret = 2; */
|
|
1097
|
-
if (message.secret !== "")
|
|
1098
|
-
writer.tag(2, WireType.LengthDelimited).string(message.secret);
|
|
1099
|
-
let u = options.writeUnknownFields;
|
|
1100
|
-
if (u !== false)
|
|
1101
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1102
|
-
return writer;
|
|
1103
|
-
}
|
|
1104
|
-
}
|
|
1105
|
-
/**
|
|
1106
|
-
* @generated MessageType for protobuf message sid.v1.admin.IssuedConnectorCredential
|
|
1107
|
-
*/
|
|
1108
|
-
export const IssuedConnectorCredential = new IssuedConnectorCredential$Type();
|
|
1109
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1110
|
-
class ListConnectorCredentialsRequest$Type extends MessageType<ListConnectorCredentialsRequest> {
|
|
1111
|
-
constructor() {
|
|
1112
|
-
super("sid.v1.admin.ListConnectorCredentialsRequest", [
|
|
1113
|
-
{ no: 1, name: "connector_id", kind: "message", T: () => ProvisioningConnectorId }
|
|
1114
|
-
]);
|
|
1115
|
-
}
|
|
1116
|
-
create(value?: PartialMessage<ListConnectorCredentialsRequest>): ListConnectorCredentialsRequest {
|
|
1117
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1118
|
-
if (value !== undefined)
|
|
1119
|
-
reflectionMergePartial<ListConnectorCredentialsRequest>(this, message, value);
|
|
1120
|
-
return message;
|
|
1121
|
-
}
|
|
1122
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListConnectorCredentialsRequest): ListConnectorCredentialsRequest {
|
|
1123
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1124
|
-
while (reader.pos < end) {
|
|
1125
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1126
|
-
switch (fieldNo) {
|
|
1127
|
-
case /* sid.v1.ids.ProvisioningConnectorId connector_id */ 1:
|
|
1128
|
-
message.connectorId = ProvisioningConnectorId.internalBinaryRead(reader, reader.uint32(), options, message.connectorId);
|
|
1129
|
-
break;
|
|
1130
|
-
default:
|
|
1131
|
-
let u = options.readUnknownField;
|
|
1132
|
-
if (u === "throw")
|
|
1133
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1134
|
-
let d = reader.skip(wireType);
|
|
1135
|
-
if (u !== false)
|
|
1136
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1137
|
-
}
|
|
1138
|
-
}
|
|
1139
|
-
return message;
|
|
1140
|
-
}
|
|
1141
|
-
internalBinaryWrite(message: ListConnectorCredentialsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1142
|
-
/* sid.v1.ids.ProvisioningConnectorId connector_id = 1; */
|
|
1143
|
-
if (message.connectorId)
|
|
1144
|
-
ProvisioningConnectorId.internalBinaryWrite(message.connectorId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1145
|
-
let u = options.writeUnknownFields;
|
|
1146
|
-
if (u !== false)
|
|
1147
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1148
|
-
return writer;
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
1151
|
-
/**
|
|
1152
|
-
* @generated MessageType for protobuf message sid.v1.admin.ListConnectorCredentialsRequest
|
|
1153
|
-
*/
|
|
1154
|
-
export const ListConnectorCredentialsRequest = new ListConnectorCredentialsRequest$Type();
|
|
1155
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1156
|
-
class ListConnectorCredentialsResponse$Type extends MessageType<ListConnectorCredentialsResponse> {
|
|
1157
|
-
constructor() {
|
|
1158
|
-
super("sid.v1.admin.ListConnectorCredentialsResponse", [
|
|
1159
|
-
{ no: 1, name: "credentials", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ConnectorCredential }
|
|
1160
|
-
]);
|
|
1161
|
-
}
|
|
1162
|
-
create(value?: PartialMessage<ListConnectorCredentialsResponse>): ListConnectorCredentialsResponse {
|
|
1163
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1164
|
-
message.credentials = [];
|
|
1165
|
-
if (value !== undefined)
|
|
1166
|
-
reflectionMergePartial<ListConnectorCredentialsResponse>(this, message, value);
|
|
1167
|
-
return message;
|
|
1168
|
-
}
|
|
1169
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListConnectorCredentialsResponse): ListConnectorCredentialsResponse {
|
|
1170
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1171
|
-
while (reader.pos < end) {
|
|
1172
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1173
|
-
switch (fieldNo) {
|
|
1174
|
-
case /* repeated sid.v1.admin.ConnectorCredential credentials */ 1:
|
|
1175
|
-
message.credentials.push(ConnectorCredential.internalBinaryRead(reader, reader.uint32(), options));
|
|
1176
|
-
break;
|
|
1177
|
-
default:
|
|
1178
|
-
let u = options.readUnknownField;
|
|
1179
|
-
if (u === "throw")
|
|
1180
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1181
|
-
let d = reader.skip(wireType);
|
|
1182
|
-
if (u !== false)
|
|
1183
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1184
|
-
}
|
|
1185
|
-
}
|
|
1186
|
-
return message;
|
|
1187
|
-
}
|
|
1188
|
-
internalBinaryWrite(message: ListConnectorCredentialsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1189
|
-
/* repeated sid.v1.admin.ConnectorCredential credentials = 1; */
|
|
1190
|
-
for (let i = 0; i < message.credentials.length; i++)
|
|
1191
|
-
ConnectorCredential.internalBinaryWrite(message.credentials[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1192
|
-
let u = options.writeUnknownFields;
|
|
1193
|
-
if (u !== false)
|
|
1194
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1195
|
-
return writer;
|
|
1196
|
-
}
|
|
1197
|
-
}
|
|
1198
|
-
/**
|
|
1199
|
-
* @generated MessageType for protobuf message sid.v1.admin.ListConnectorCredentialsResponse
|
|
1200
|
-
*/
|
|
1201
|
-
export const ListConnectorCredentialsResponse = new ListConnectorCredentialsResponse$Type();
|
|
1202
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1203
|
-
class CreateConnectorCredentialRequest$Type extends MessageType<CreateConnectorCredentialRequest> {
|
|
1204
|
-
constructor() {
|
|
1205
|
-
super("sid.v1.admin.CreateConnectorCredentialRequest", [
|
|
1206
|
-
{ no: 1, name: "connector_id", kind: "message", T: () => ProvisioningConnectorId },
|
|
1207
|
-
{ no: 2, name: "expires_at", kind: "message", T: () => Timestamp },
|
|
1208
|
-
{ no: 3, name: "kind", kind: "enum", T: () => ["sid.v1.admin.ConnectorCredentialKind", ConnectorCredentialKind, "CONNECTOR_CREDENTIAL_KIND_"] }
|
|
1209
|
-
]);
|
|
1210
|
-
}
|
|
1211
|
-
create(value?: PartialMessage<CreateConnectorCredentialRequest>): CreateConnectorCredentialRequest {
|
|
1212
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1213
|
-
message.kind = 0;
|
|
1214
|
-
if (value !== undefined)
|
|
1215
|
-
reflectionMergePartial<CreateConnectorCredentialRequest>(this, message, value);
|
|
1216
|
-
return message;
|
|
1217
|
-
}
|
|
1218
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateConnectorCredentialRequest): CreateConnectorCredentialRequest {
|
|
1219
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1220
|
-
while (reader.pos < end) {
|
|
1221
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1222
|
-
switch (fieldNo) {
|
|
1223
|
-
case /* sid.v1.ids.ProvisioningConnectorId connector_id */ 1:
|
|
1224
|
-
message.connectorId = ProvisioningConnectorId.internalBinaryRead(reader, reader.uint32(), options, message.connectorId);
|
|
1225
|
-
break;
|
|
1226
|
-
case /* google.protobuf.Timestamp expires_at */ 2:
|
|
1227
|
-
message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);
|
|
1228
|
-
break;
|
|
1229
|
-
case /* sid.v1.admin.ConnectorCredentialKind kind */ 3:
|
|
1230
|
-
message.kind = reader.int32();
|
|
1231
|
-
break;
|
|
1232
|
-
default:
|
|
1233
|
-
let u = options.readUnknownField;
|
|
1234
|
-
if (u === "throw")
|
|
1235
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1236
|
-
let d = reader.skip(wireType);
|
|
1237
|
-
if (u !== false)
|
|
1238
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1239
|
-
}
|
|
1240
|
-
}
|
|
1241
|
-
return message;
|
|
1242
|
-
}
|
|
1243
|
-
internalBinaryWrite(message: CreateConnectorCredentialRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1244
|
-
/* sid.v1.ids.ProvisioningConnectorId connector_id = 1; */
|
|
1245
|
-
if (message.connectorId)
|
|
1246
|
-
ProvisioningConnectorId.internalBinaryWrite(message.connectorId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1247
|
-
/* google.protobuf.Timestamp expires_at = 2; */
|
|
1248
|
-
if (message.expiresAt)
|
|
1249
|
-
Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1250
|
-
/* sid.v1.admin.ConnectorCredentialKind kind = 3; */
|
|
1251
|
-
if (message.kind !== 0)
|
|
1252
|
-
writer.tag(3, WireType.Varint).int32(message.kind);
|
|
1253
|
-
let u = options.writeUnknownFields;
|
|
1254
|
-
if (u !== false)
|
|
1255
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1256
|
-
return writer;
|
|
1257
|
-
}
|
|
1258
|
-
}
|
|
1259
|
-
/**
|
|
1260
|
-
* @generated MessageType for protobuf message sid.v1.admin.CreateConnectorCredentialRequest
|
|
1261
|
-
*/
|
|
1262
|
-
export const CreateConnectorCredentialRequest = new CreateConnectorCredentialRequest$Type();
|
|
1263
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1264
|
-
class RotateConnectorCredentialRequest$Type extends MessageType<RotateConnectorCredentialRequest> {
|
|
1265
|
-
constructor() {
|
|
1266
|
-
super("sid.v1.admin.RotateConnectorCredentialRequest", [
|
|
1267
|
-
{ no: 1, name: "connector_id", kind: "message", T: () => ProvisioningConnectorId },
|
|
1268
|
-
{ no: 2, name: "credential_id", kind: "message", T: () => ProvisioningCredentialId }
|
|
1269
|
-
]);
|
|
1270
|
-
}
|
|
1271
|
-
create(value?: PartialMessage<RotateConnectorCredentialRequest>): RotateConnectorCredentialRequest {
|
|
1272
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1273
|
-
if (value !== undefined)
|
|
1274
|
-
reflectionMergePartial<RotateConnectorCredentialRequest>(this, message, value);
|
|
1275
|
-
return message;
|
|
1276
|
-
}
|
|
1277
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RotateConnectorCredentialRequest): RotateConnectorCredentialRequest {
|
|
1278
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1279
|
-
while (reader.pos < end) {
|
|
1280
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1281
|
-
switch (fieldNo) {
|
|
1282
|
-
case /* sid.v1.ids.ProvisioningConnectorId connector_id */ 1:
|
|
1283
|
-
message.connectorId = ProvisioningConnectorId.internalBinaryRead(reader, reader.uint32(), options, message.connectorId);
|
|
1284
|
-
break;
|
|
1285
|
-
case /* sid.v1.ids.ProvisioningCredentialId credential_id */ 2:
|
|
1286
|
-
message.credentialId = ProvisioningCredentialId.internalBinaryRead(reader, reader.uint32(), options, message.credentialId);
|
|
1287
|
-
break;
|
|
1288
|
-
default:
|
|
1289
|
-
let u = options.readUnknownField;
|
|
1290
|
-
if (u === "throw")
|
|
1291
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1292
|
-
let d = reader.skip(wireType);
|
|
1293
|
-
if (u !== false)
|
|
1294
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1295
|
-
}
|
|
1296
|
-
}
|
|
1297
|
-
return message;
|
|
1298
|
-
}
|
|
1299
|
-
internalBinaryWrite(message: RotateConnectorCredentialRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1300
|
-
/* sid.v1.ids.ProvisioningConnectorId connector_id = 1; */
|
|
1301
|
-
if (message.connectorId)
|
|
1302
|
-
ProvisioningConnectorId.internalBinaryWrite(message.connectorId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1303
|
-
/* sid.v1.ids.ProvisioningCredentialId credential_id = 2; */
|
|
1304
|
-
if (message.credentialId)
|
|
1305
|
-
ProvisioningCredentialId.internalBinaryWrite(message.credentialId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1306
|
-
let u = options.writeUnknownFields;
|
|
1307
|
-
if (u !== false)
|
|
1308
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1309
|
-
return writer;
|
|
1310
|
-
}
|
|
1311
|
-
}
|
|
1312
|
-
/**
|
|
1313
|
-
* @generated MessageType for protobuf message sid.v1.admin.RotateConnectorCredentialRequest
|
|
1314
|
-
*/
|
|
1315
|
-
export const RotateConnectorCredentialRequest = new RotateConnectorCredentialRequest$Type();
|
|
1316
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
1317
|
-
class RevokeConnectorCredentialRequest$Type extends MessageType<RevokeConnectorCredentialRequest> {
|
|
1318
|
-
constructor() {
|
|
1319
|
-
super("sid.v1.admin.RevokeConnectorCredentialRequest", [
|
|
1320
|
-
{ no: 1, name: "connector_id", kind: "message", T: () => ProvisioningConnectorId },
|
|
1321
|
-
{ no: 2, name: "credential_id", kind: "message", T: () => ProvisioningCredentialId }
|
|
1322
|
-
]);
|
|
1323
|
-
}
|
|
1324
|
-
create(value?: PartialMessage<RevokeConnectorCredentialRequest>): RevokeConnectorCredentialRequest {
|
|
1325
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1326
|
-
if (value !== undefined)
|
|
1327
|
-
reflectionMergePartial<RevokeConnectorCredentialRequest>(this, message, value);
|
|
1328
|
-
return message;
|
|
1329
|
-
}
|
|
1330
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RevokeConnectorCredentialRequest): RevokeConnectorCredentialRequest {
|
|
1331
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1332
|
-
while (reader.pos < end) {
|
|
1333
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1334
|
-
switch (fieldNo) {
|
|
1335
|
-
case /* sid.v1.ids.ProvisioningConnectorId connector_id */ 1:
|
|
1336
|
-
message.connectorId = ProvisioningConnectorId.internalBinaryRead(reader, reader.uint32(), options, message.connectorId);
|
|
1337
|
-
break;
|
|
1338
|
-
case /* sid.v1.ids.ProvisioningCredentialId credential_id */ 2:
|
|
1339
|
-
message.credentialId = ProvisioningCredentialId.internalBinaryRead(reader, reader.uint32(), options, message.credentialId);
|
|
1340
|
-
break;
|
|
1341
|
-
default:
|
|
1342
|
-
let u = options.readUnknownField;
|
|
1343
|
-
if (u === "throw")
|
|
1344
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1345
|
-
let d = reader.skip(wireType);
|
|
1346
|
-
if (u !== false)
|
|
1347
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1348
|
-
}
|
|
1349
|
-
}
|
|
1350
|
-
return message;
|
|
1351
|
-
}
|
|
1352
|
-
internalBinaryWrite(message: RevokeConnectorCredentialRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1353
|
-
/* sid.v1.ids.ProvisioningConnectorId connector_id = 1; */
|
|
1354
|
-
if (message.connectorId)
|
|
1355
|
-
ProvisioningConnectorId.internalBinaryWrite(message.connectorId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1356
|
-
/* sid.v1.ids.ProvisioningCredentialId credential_id = 2; */
|
|
1357
|
-
if (message.credentialId)
|
|
1358
|
-
ProvisioningCredentialId.internalBinaryWrite(message.credentialId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1359
|
-
let u = options.writeUnknownFields;
|
|
1360
|
-
if (u !== false)
|
|
1361
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1362
|
-
return writer;
|
|
1363
|
-
}
|
|
1364
|
-
}
|
|
1365
|
-
/**
|
|
1366
|
-
* @generated MessageType for protobuf message sid.v1.admin.RevokeConnectorCredentialRequest
|
|
1367
|
-
*/
|
|
1368
|
-
export const RevokeConnectorCredentialRequest = new RevokeConnectorCredentialRequest$Type();
|
|
1369
|
-
/**
|
|
1370
|
-
* @generated ServiceType for protobuf service sid.v1.admin.ProvisioningService
|
|
1371
|
-
*/
|
|
1372
|
-
export const ProvisioningService = new ServiceType("sid.v1.admin.ProvisioningService", [
|
|
1373
|
-
{ name: "ListProvisioningConnectors", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/admin/provisioning/connectors" } }, I: ListProvisioningConnectorsRequest, O: ListProvisioningConnectorsResponse },
|
|
1374
|
-
{ name: "CreateInboundConnector", options: { "google.api.http": { post: "/v1/admin/provisioning/connectors", body: "*" } }, I: CreateInboundConnectorRequest, O: ProvisioningConnector },
|
|
1375
|
-
{ name: "GetProvisioningConnector", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { post: "/v1/admin/provisioning/connectors:get", body: "*" } }, I: GetProvisioningConnectorRequest, O: ProvisioningConnector },
|
|
1376
|
-
{ name: "RenameProvisioningConnector", options: { "google.api.http": { post: "/v1/admin/provisioning/connectors:rename", body: "*" } }, I: RenameProvisioningConnectorRequest, O: ProvisioningConnector },
|
|
1377
|
-
{ name: "ChangeProvisioningConnectorState", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/admin/provisioning/connectors:state", body: "*" } }, I: ChangeProvisioningConnectorStateRequest, O: ProvisioningConnector },
|
|
1378
|
-
{ name: "GetScimInboundConfig", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { post: "/v1/admin/provisioning/connectors:scim-config", body: "*" } }, I: GetScimInboundConfigRequest, O: ScimInboundConfig },
|
|
1379
|
-
{ name: "ListConnectorCredentials", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { post: "/v1/admin/provisioning/credentials:list", body: "*" } }, I: ListConnectorCredentialsRequest, O: ListConnectorCredentialsResponse },
|
|
1380
|
-
{ name: "CreateConnectorCredential", options: { "google.api.http": { post: "/v1/admin/provisioning/credentials", body: "*" } }, I: CreateConnectorCredentialRequest, O: IssuedConnectorCredential },
|
|
1381
|
-
{ name: "RotateConnectorCredential", options: { "google.api.http": { post: "/v1/admin/provisioning/credentials:rotate", body: "*" } }, I: RotateConnectorCredentialRequest, O: IssuedConnectorCredential },
|
|
1382
|
-
{ name: "RevokeConnectorCredential", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/admin/provisioning/credentials:revoke", body: "*" } }, I: RevokeConnectorCredentialRequest, O: Empty }
|
|
1383
|
-
]);
|