weave-typescript 0.31.0 → 0.33.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/dist/google/api/annotations.pb.js +1 -1
- package/dist/google/api/http.pb.js +1 -1
- package/dist/google/protobuf/descriptor.pb.js +1 -1
- package/dist/google/protobuf/struct.pb.js +1 -1
- package/dist/google/protobuf/timestamp.pb.js +1 -1
- package/dist/weaveapi/atc/v1/event.pb.js +1 -1
- package/dist/weaveapi/atc/v1/message.pb.js +1 -1
- package/dist/weaveapi/atc/v1/process.pb.js +1 -1
- package/dist/weaveapi/atc/v1/run.pb.js +1 -1
- package/dist/weaveapi/atc/v1/service.pb.js +1 -1
- package/dist/weaveapi/auth/v1/auth.pb.js +1 -1
- package/dist/weaveapi/auth/v1/service.pb.d.ts +49 -0
- package/dist/weaveapi/auth/v1/service.pb.js +461 -3
- package/dist/weaveapi/chat/v1/chat.pb.js +1 -1
- package/dist/weaveapi/chat/v1/service.pb.js +1 -1
- package/dist/weaveapi/consolidation/v1/consolidation.pb.js +1 -1
- package/dist/weaveapi/consolidation/v1/service.pb.js +1 -1
- package/dist/weaveapi/inference/v1/inference.pb.js +1 -1
- package/dist/weaveapi/inference/v1/service.pb.js +1 -1
- package/dist/weaveapi/ingestion/v1/ingestion.pb.js +1 -1
- package/dist/weaveapi/ingestion/v1/service.pb.js +1 -1
- package/dist/weaveapi/model/v1/model.pb.js +1 -1
- package/dist/weaveapi/model/v1/service.pb.js +1 -1
- package/dist/weaveapi/organization/v1/organization.pb.js +1 -1
- package/dist/weaveapi/organization/v1/service.pb.js +1 -1
- package/dist/weaveapi/project/v1/project.pb.js +1 -1
- package/dist/weaveapi/project/v1/service.pb.js +1 -1
- package/dist/weaveapi/provider/v1/provider.pb.js +1 -1
- package/dist/weaveapi/provider/v1/service.pb.js +1 -1
- package/dist/weaveapi/retrieval/v1/retrieval.pb.js +1 -1
- package/dist/weaveapi/retrieval/v1/service.pb.js +1 -1
- package/dist/weaveapi/task/v1/service.pb.js +1 -1
- package/dist/weaveapi/task/v1/task.pb.js +1 -1
- package/dist/weavesql/weavedb/auth_identity_sql.d.ts +232 -1
- package/dist/weavesql/weavedb/auth_identity_sql.js +555 -8
- package/package.json +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/auth/v1/service.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.OrganizationAuthAdminServiceDefinition = exports.OrganizationAuthAdminServiceClientImpl = exports.OrganizationAuthAdminServiceServiceName = exports.ProfileServiceDefinition = exports.ProfileServiceClientImpl = exports.ProfileServiceServiceName = exports.AuthServiceDefinition = exports.AuthServiceClientImpl = exports.AuthServiceServiceName = exports.AuthError = exports.UpdateScimGroupMappingResponse = exports.UpdateScimGroupMappingRequest = exports.ListScimGroupMappingsResponse = exports.ListScimGroupMappingsRequest = exports.CancelScimTokenRotationResponse = exports.CancelScimTokenRotationRequest = exports.CompleteScimTokenRotationResponse = void 0;
|
|
8
|
+
exports.CreateScimConnectionRequest = exports.GetScimConnectionResponse = exports.GetScimConnectionRequest = exports.DeleteSsoConnectionResponse = exports.DeleteSsoConnectionRequest = exports.UpdateSsoConnectionResponse = exports.UpdateSsoConnectionRequest = exports.CreateSsoConnectionResponse = exports.CreateSsoConnectionRequest = exports.ListSsoConnectionsResponse = exports.ListSsoConnectionsRequest = exports.UpdateRbacPolicyResponse = exports.UpdateRbacPolicyRequest = exports.GetRbacPolicyResponse = exports.GetRbacPolicyRequest = exports.RemoveOrganizationMemberResponse = exports.RemoveOrganizationMemberRequest = exports.UpdateOrganizationMemberResponse = exports.UpdateOrganizationMemberRequest = exports.CreateOrganizationMemberResponse = exports.CreateOrganizationMemberRequest = exports.ListOrganizationMembersResponse = exports.ListOrganizationMembersRequest = exports.UpdateOrganizationAuthSettingsResponse = exports.UpdateOrganizationAuthSettingsRequest = exports.GetOrganizationAuthSettingsResponse = exports.GetOrganizationAuthSettingsRequest = exports.UpdateAvatarResponse = exports.UpdateAvatarRequest = exports.UpdateProfileResponse = exports.UpdateProfileRequest = exports.GetProfileResponse = exports.GetProfileRequest = exports.LogoutResponse = exports.LogoutRequest = exports.ExchangeDiscoveryOrganizationResponse = exports.ExchangeDiscoveryOrganizationRequest = exports.CompleteDiscoverySSOResponse = exports.CompleteDiscoverySSORequest = exports.StartDiscoverySSOResponse = exports.StartDiscoverySSORequest = exports.CompleteDiscoveryOAuthResponse = exports.CompleteDiscoveryOAuthRequest = exports.StartDiscoveryOAuthResponse = exports.StartDiscoveryOAuthRequest = exports.StartDiscoveryPasswordResponse = exports.StartDiscoveryPasswordRequest = exports.GetSessionResponse = exports.GetSessionRequest = exports.protobufPackage = void 0;
|
|
9
|
+
exports.OrganizationAuthAdminServiceDefinition = exports.OrganizationAuthAdminServiceClientImpl = exports.OrganizationAuthAdminServiceServiceName = exports.ProfileServiceDefinition = exports.ProfileServiceClientImpl = exports.ProfileServiceServiceName = exports.AuthServiceDefinition = exports.AuthServiceClientImpl = exports.AuthServiceServiceName = exports.AuthError = exports.UpdateScimGroupMappingResponse = exports.UpdateScimGroupMappingRequest = exports.ListScimGroupMappingsResponse = exports.ListScimGroupMappingsRequest = exports.CancelScimTokenRotationResponse = exports.CancelScimTokenRotationRequest = exports.CompleteScimTokenRotationResponse = exports.CompleteScimTokenRotationRequest = exports.StartScimTokenRotationResponse = exports.StartScimTokenRotationRequest = exports.CreateScimConnectionResponse = void 0;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
12
12
|
const struct_pb_1 = require("../../../google/protobuf/struct.pb");
|
|
@@ -2155,6 +2155,191 @@ exports.ListOrganizationMembersResponse = {
|
|
|
2155
2155
|
return message;
|
|
2156
2156
|
},
|
|
2157
2157
|
};
|
|
2158
|
+
function createBaseCreateOrganizationMemberRequest() {
|
|
2159
|
+
return { organizationSlug: "", email: "", displayName: "", roleIds: [], sendInvite: false };
|
|
2160
|
+
}
|
|
2161
|
+
exports.CreateOrganizationMemberRequest = {
|
|
2162
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2163
|
+
if (message.organizationSlug !== "") {
|
|
2164
|
+
writer.uint32(10).string(message.organizationSlug);
|
|
2165
|
+
}
|
|
2166
|
+
if (message.email !== "") {
|
|
2167
|
+
writer.uint32(18).string(message.email);
|
|
2168
|
+
}
|
|
2169
|
+
if (message.displayName !== "") {
|
|
2170
|
+
writer.uint32(26).string(message.displayName);
|
|
2171
|
+
}
|
|
2172
|
+
for (const v of message.roleIds) {
|
|
2173
|
+
writer.uint32(34).string(v);
|
|
2174
|
+
}
|
|
2175
|
+
if (message.sendInvite !== false) {
|
|
2176
|
+
writer.uint32(40).bool(message.sendInvite);
|
|
2177
|
+
}
|
|
2178
|
+
return writer;
|
|
2179
|
+
},
|
|
2180
|
+
decode(input, length) {
|
|
2181
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2182
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2183
|
+
const message = createBaseCreateOrganizationMemberRequest();
|
|
2184
|
+
while (reader.pos < end) {
|
|
2185
|
+
const tag = reader.uint32();
|
|
2186
|
+
switch (tag >>> 3) {
|
|
2187
|
+
case 1: {
|
|
2188
|
+
if (tag !== 10) {
|
|
2189
|
+
break;
|
|
2190
|
+
}
|
|
2191
|
+
message.organizationSlug = reader.string();
|
|
2192
|
+
continue;
|
|
2193
|
+
}
|
|
2194
|
+
case 2: {
|
|
2195
|
+
if (tag !== 18) {
|
|
2196
|
+
break;
|
|
2197
|
+
}
|
|
2198
|
+
message.email = reader.string();
|
|
2199
|
+
continue;
|
|
2200
|
+
}
|
|
2201
|
+
case 3: {
|
|
2202
|
+
if (tag !== 26) {
|
|
2203
|
+
break;
|
|
2204
|
+
}
|
|
2205
|
+
message.displayName = reader.string();
|
|
2206
|
+
continue;
|
|
2207
|
+
}
|
|
2208
|
+
case 4: {
|
|
2209
|
+
if (tag !== 34) {
|
|
2210
|
+
break;
|
|
2211
|
+
}
|
|
2212
|
+
message.roleIds.push(reader.string());
|
|
2213
|
+
continue;
|
|
2214
|
+
}
|
|
2215
|
+
case 5: {
|
|
2216
|
+
if (tag !== 40) {
|
|
2217
|
+
break;
|
|
2218
|
+
}
|
|
2219
|
+
message.sendInvite = reader.bool();
|
|
2220
|
+
continue;
|
|
2221
|
+
}
|
|
2222
|
+
}
|
|
2223
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2224
|
+
break;
|
|
2225
|
+
}
|
|
2226
|
+
reader.skip(tag & 7);
|
|
2227
|
+
}
|
|
2228
|
+
return message;
|
|
2229
|
+
},
|
|
2230
|
+
fromJSON(object) {
|
|
2231
|
+
return {
|
|
2232
|
+
organizationSlug: isSet(object.organizationSlug)
|
|
2233
|
+
? globalThis.String(object.organizationSlug)
|
|
2234
|
+
: isSet(object.organization_slug)
|
|
2235
|
+
? globalThis.String(object.organization_slug)
|
|
2236
|
+
: "",
|
|
2237
|
+
email: isSet(object.email) ? globalThis.String(object.email) : "",
|
|
2238
|
+
displayName: isSet(object.displayName)
|
|
2239
|
+
? globalThis.String(object.displayName)
|
|
2240
|
+
: isSet(object.display_name)
|
|
2241
|
+
? globalThis.String(object.display_name)
|
|
2242
|
+
: "",
|
|
2243
|
+
roleIds: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.roleIds)
|
|
2244
|
+
? object.roleIds.map((e) => globalThis.String(e))
|
|
2245
|
+
: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.role_ids)
|
|
2246
|
+
? object.role_ids.map((e) => globalThis.String(e))
|
|
2247
|
+
: [],
|
|
2248
|
+
sendInvite: isSet(object.sendInvite)
|
|
2249
|
+
? globalThis.Boolean(object.sendInvite)
|
|
2250
|
+
: isSet(object.send_invite)
|
|
2251
|
+
? globalThis.Boolean(object.send_invite)
|
|
2252
|
+
: false,
|
|
2253
|
+
};
|
|
2254
|
+
},
|
|
2255
|
+
toJSON(message) {
|
|
2256
|
+
var _a;
|
|
2257
|
+
const obj = {};
|
|
2258
|
+
if (message.organizationSlug !== "") {
|
|
2259
|
+
obj.organizationSlug = message.organizationSlug;
|
|
2260
|
+
}
|
|
2261
|
+
if (message.email !== "") {
|
|
2262
|
+
obj.email = message.email;
|
|
2263
|
+
}
|
|
2264
|
+
if (message.displayName !== "") {
|
|
2265
|
+
obj.displayName = message.displayName;
|
|
2266
|
+
}
|
|
2267
|
+
if ((_a = message.roleIds) === null || _a === void 0 ? void 0 : _a.length) {
|
|
2268
|
+
obj.roleIds = message.roleIds;
|
|
2269
|
+
}
|
|
2270
|
+
if (message.sendInvite !== false) {
|
|
2271
|
+
obj.sendInvite = message.sendInvite;
|
|
2272
|
+
}
|
|
2273
|
+
return obj;
|
|
2274
|
+
},
|
|
2275
|
+
create(base) {
|
|
2276
|
+
return exports.CreateOrganizationMemberRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2277
|
+
},
|
|
2278
|
+
fromPartial(object) {
|
|
2279
|
+
var _a;
|
|
2280
|
+
var _b, _c, _d, _e;
|
|
2281
|
+
const message = createBaseCreateOrganizationMemberRequest();
|
|
2282
|
+
message.organizationSlug = (_b = object.organizationSlug) !== null && _b !== void 0 ? _b : "";
|
|
2283
|
+
message.email = (_c = object.email) !== null && _c !== void 0 ? _c : "";
|
|
2284
|
+
message.displayName = (_d = object.displayName) !== null && _d !== void 0 ? _d : "";
|
|
2285
|
+
message.roleIds = ((_a = object.roleIds) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
2286
|
+
message.sendInvite = (_e = object.sendInvite) !== null && _e !== void 0 ? _e : false;
|
|
2287
|
+
return message;
|
|
2288
|
+
},
|
|
2289
|
+
};
|
|
2290
|
+
function createBaseCreateOrganizationMemberResponse() {
|
|
2291
|
+
return { member: undefined };
|
|
2292
|
+
}
|
|
2293
|
+
exports.CreateOrganizationMemberResponse = {
|
|
2294
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2295
|
+
if (message.member !== undefined) {
|
|
2296
|
+
auth_pb_1.OrganizationMember.encode(message.member, writer.uint32(10).fork()).join();
|
|
2297
|
+
}
|
|
2298
|
+
return writer;
|
|
2299
|
+
},
|
|
2300
|
+
decode(input, length) {
|
|
2301
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2302
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2303
|
+
const message = createBaseCreateOrganizationMemberResponse();
|
|
2304
|
+
while (reader.pos < end) {
|
|
2305
|
+
const tag = reader.uint32();
|
|
2306
|
+
switch (tag >>> 3) {
|
|
2307
|
+
case 1: {
|
|
2308
|
+
if (tag !== 10) {
|
|
2309
|
+
break;
|
|
2310
|
+
}
|
|
2311
|
+
message.member = auth_pb_1.OrganizationMember.decode(reader, reader.uint32());
|
|
2312
|
+
continue;
|
|
2313
|
+
}
|
|
2314
|
+
}
|
|
2315
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2316
|
+
break;
|
|
2317
|
+
}
|
|
2318
|
+
reader.skip(tag & 7);
|
|
2319
|
+
}
|
|
2320
|
+
return message;
|
|
2321
|
+
},
|
|
2322
|
+
fromJSON(object) {
|
|
2323
|
+
return { member: isSet(object.member) ? auth_pb_1.OrganizationMember.fromJSON(object.member) : undefined };
|
|
2324
|
+
},
|
|
2325
|
+
toJSON(message) {
|
|
2326
|
+
const obj = {};
|
|
2327
|
+
if (message.member !== undefined) {
|
|
2328
|
+
obj.member = auth_pb_1.OrganizationMember.toJSON(message.member);
|
|
2329
|
+
}
|
|
2330
|
+
return obj;
|
|
2331
|
+
},
|
|
2332
|
+
create(base) {
|
|
2333
|
+
return exports.CreateOrganizationMemberResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2334
|
+
},
|
|
2335
|
+
fromPartial(object) {
|
|
2336
|
+
const message = createBaseCreateOrganizationMemberResponse();
|
|
2337
|
+
message.member = (object.member !== undefined && object.member !== null)
|
|
2338
|
+
? auth_pb_1.OrganizationMember.fromPartial(object.member)
|
|
2339
|
+
: undefined;
|
|
2340
|
+
return message;
|
|
2341
|
+
},
|
|
2342
|
+
};
|
|
2158
2343
|
function createBaseUpdateOrganizationMemberRequest() {
|
|
2159
2344
|
return { organizationSlug: "", memberId: "", status: 0, roleIds: [] };
|
|
2160
2345
|
}
|
|
@@ -2321,6 +2506,136 @@ exports.UpdateOrganizationMemberResponse = {
|
|
|
2321
2506
|
return message;
|
|
2322
2507
|
},
|
|
2323
2508
|
};
|
|
2509
|
+
function createBaseRemoveOrganizationMemberRequest() {
|
|
2510
|
+
return { organizationSlug: "", memberId: "" };
|
|
2511
|
+
}
|
|
2512
|
+
exports.RemoveOrganizationMemberRequest = {
|
|
2513
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2514
|
+
if (message.organizationSlug !== "") {
|
|
2515
|
+
writer.uint32(10).string(message.organizationSlug);
|
|
2516
|
+
}
|
|
2517
|
+
if (message.memberId !== "") {
|
|
2518
|
+
writer.uint32(18).string(message.memberId);
|
|
2519
|
+
}
|
|
2520
|
+
return writer;
|
|
2521
|
+
},
|
|
2522
|
+
decode(input, length) {
|
|
2523
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2524
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2525
|
+
const message = createBaseRemoveOrganizationMemberRequest();
|
|
2526
|
+
while (reader.pos < end) {
|
|
2527
|
+
const tag = reader.uint32();
|
|
2528
|
+
switch (tag >>> 3) {
|
|
2529
|
+
case 1: {
|
|
2530
|
+
if (tag !== 10) {
|
|
2531
|
+
break;
|
|
2532
|
+
}
|
|
2533
|
+
message.organizationSlug = reader.string();
|
|
2534
|
+
continue;
|
|
2535
|
+
}
|
|
2536
|
+
case 2: {
|
|
2537
|
+
if (tag !== 18) {
|
|
2538
|
+
break;
|
|
2539
|
+
}
|
|
2540
|
+
message.memberId = reader.string();
|
|
2541
|
+
continue;
|
|
2542
|
+
}
|
|
2543
|
+
}
|
|
2544
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2545
|
+
break;
|
|
2546
|
+
}
|
|
2547
|
+
reader.skip(tag & 7);
|
|
2548
|
+
}
|
|
2549
|
+
return message;
|
|
2550
|
+
},
|
|
2551
|
+
fromJSON(object) {
|
|
2552
|
+
return {
|
|
2553
|
+
organizationSlug: isSet(object.organizationSlug)
|
|
2554
|
+
? globalThis.String(object.organizationSlug)
|
|
2555
|
+
: isSet(object.organization_slug)
|
|
2556
|
+
? globalThis.String(object.organization_slug)
|
|
2557
|
+
: "",
|
|
2558
|
+
memberId: isSet(object.memberId)
|
|
2559
|
+
? globalThis.String(object.memberId)
|
|
2560
|
+
: isSet(object.member_id)
|
|
2561
|
+
? globalThis.String(object.member_id)
|
|
2562
|
+
: "",
|
|
2563
|
+
};
|
|
2564
|
+
},
|
|
2565
|
+
toJSON(message) {
|
|
2566
|
+
const obj = {};
|
|
2567
|
+
if (message.organizationSlug !== "") {
|
|
2568
|
+
obj.organizationSlug = message.organizationSlug;
|
|
2569
|
+
}
|
|
2570
|
+
if (message.memberId !== "") {
|
|
2571
|
+
obj.memberId = message.memberId;
|
|
2572
|
+
}
|
|
2573
|
+
return obj;
|
|
2574
|
+
},
|
|
2575
|
+
create(base) {
|
|
2576
|
+
return exports.RemoveOrganizationMemberRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2577
|
+
},
|
|
2578
|
+
fromPartial(object) {
|
|
2579
|
+
var _a, _b;
|
|
2580
|
+
const message = createBaseRemoveOrganizationMemberRequest();
|
|
2581
|
+
message.organizationSlug = (_a = object.organizationSlug) !== null && _a !== void 0 ? _a : "";
|
|
2582
|
+
message.memberId = (_b = object.memberId) !== null && _b !== void 0 ? _b : "";
|
|
2583
|
+
return message;
|
|
2584
|
+
},
|
|
2585
|
+
};
|
|
2586
|
+
function createBaseRemoveOrganizationMemberResponse() {
|
|
2587
|
+
return { member: undefined };
|
|
2588
|
+
}
|
|
2589
|
+
exports.RemoveOrganizationMemberResponse = {
|
|
2590
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2591
|
+
if (message.member !== undefined) {
|
|
2592
|
+
auth_pb_1.OrganizationMember.encode(message.member, writer.uint32(10).fork()).join();
|
|
2593
|
+
}
|
|
2594
|
+
return writer;
|
|
2595
|
+
},
|
|
2596
|
+
decode(input, length) {
|
|
2597
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2598
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2599
|
+
const message = createBaseRemoveOrganizationMemberResponse();
|
|
2600
|
+
while (reader.pos < end) {
|
|
2601
|
+
const tag = reader.uint32();
|
|
2602
|
+
switch (tag >>> 3) {
|
|
2603
|
+
case 1: {
|
|
2604
|
+
if (tag !== 10) {
|
|
2605
|
+
break;
|
|
2606
|
+
}
|
|
2607
|
+
message.member = auth_pb_1.OrganizationMember.decode(reader, reader.uint32());
|
|
2608
|
+
continue;
|
|
2609
|
+
}
|
|
2610
|
+
}
|
|
2611
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2612
|
+
break;
|
|
2613
|
+
}
|
|
2614
|
+
reader.skip(tag & 7);
|
|
2615
|
+
}
|
|
2616
|
+
return message;
|
|
2617
|
+
},
|
|
2618
|
+
fromJSON(object) {
|
|
2619
|
+
return { member: isSet(object.member) ? auth_pb_1.OrganizationMember.fromJSON(object.member) : undefined };
|
|
2620
|
+
},
|
|
2621
|
+
toJSON(message) {
|
|
2622
|
+
const obj = {};
|
|
2623
|
+
if (message.member !== undefined) {
|
|
2624
|
+
obj.member = auth_pb_1.OrganizationMember.toJSON(message.member);
|
|
2625
|
+
}
|
|
2626
|
+
return obj;
|
|
2627
|
+
},
|
|
2628
|
+
create(base) {
|
|
2629
|
+
return exports.RemoveOrganizationMemberResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2630
|
+
},
|
|
2631
|
+
fromPartial(object) {
|
|
2632
|
+
const message = createBaseRemoveOrganizationMemberResponse();
|
|
2633
|
+
message.member = (object.member !== undefined && object.member !== null)
|
|
2634
|
+
? auth_pb_1.OrganizationMember.fromPartial(object.member)
|
|
2635
|
+
: undefined;
|
|
2636
|
+
return message;
|
|
2637
|
+
},
|
|
2638
|
+
};
|
|
2324
2639
|
function createBaseGetRbacPolicyRequest() {
|
|
2325
2640
|
return { organizationSlug: "" };
|
|
2326
2641
|
}
|
|
@@ -4928,7 +5243,9 @@ class OrganizationAuthAdminServiceClientImpl {
|
|
|
4928
5243
|
this.GetOrganizationAuthSettings = this.GetOrganizationAuthSettings.bind(this);
|
|
4929
5244
|
this.UpdateOrganizationAuthSettings = this.UpdateOrganizationAuthSettings.bind(this);
|
|
4930
5245
|
this.ListOrganizationMembers = this.ListOrganizationMembers.bind(this);
|
|
5246
|
+
this.CreateOrganizationMember = this.CreateOrganizationMember.bind(this);
|
|
4931
5247
|
this.UpdateOrganizationMember = this.UpdateOrganizationMember.bind(this);
|
|
5248
|
+
this.RemoveOrganizationMember = this.RemoveOrganizationMember.bind(this);
|
|
4932
5249
|
this.GetRbacPolicy = this.GetRbacPolicy.bind(this);
|
|
4933
5250
|
this.UpdateRbacPolicy = this.UpdateRbacPolicy.bind(this);
|
|
4934
5251
|
this.ListSsoConnections = this.ListSsoConnections.bind(this);
|
|
@@ -4958,11 +5275,21 @@ class OrganizationAuthAdminServiceClientImpl {
|
|
|
4958
5275
|
const promise = this.rpc.request(this.service, "ListOrganizationMembers", data);
|
|
4959
5276
|
return promise.then((data) => exports.ListOrganizationMembersResponse.decode(new wire_1.BinaryReader(data)));
|
|
4960
5277
|
}
|
|
5278
|
+
CreateOrganizationMember(request) {
|
|
5279
|
+
const data = exports.CreateOrganizationMemberRequest.encode(request).finish();
|
|
5280
|
+
const promise = this.rpc.request(this.service, "CreateOrganizationMember", data);
|
|
5281
|
+
return promise.then((data) => exports.CreateOrganizationMemberResponse.decode(new wire_1.BinaryReader(data)));
|
|
5282
|
+
}
|
|
4961
5283
|
UpdateOrganizationMember(request) {
|
|
4962
5284
|
const data = exports.UpdateOrganizationMemberRequest.encode(request).finish();
|
|
4963
5285
|
const promise = this.rpc.request(this.service, "UpdateOrganizationMember", data);
|
|
4964
5286
|
return promise.then((data) => exports.UpdateOrganizationMemberResponse.decode(new wire_1.BinaryReader(data)));
|
|
4965
5287
|
}
|
|
5288
|
+
RemoveOrganizationMember(request) {
|
|
5289
|
+
const data = exports.RemoveOrganizationMemberRequest.encode(request).finish();
|
|
5290
|
+
const promise = this.rpc.request(this.service, "RemoveOrganizationMember", data);
|
|
5291
|
+
return promise.then((data) => exports.RemoveOrganizationMemberResponse.decode(new wire_1.BinaryReader(data)));
|
|
5292
|
+
}
|
|
4966
5293
|
GetRbacPolicy(request) {
|
|
4967
5294
|
const data = exports.GetRbacPolicyRequest.encode(request).finish();
|
|
4968
5295
|
const promise = this.rpc.request(this.service, "GetRbacPolicy", data);
|
|
@@ -5213,6 +5540,67 @@ exports.OrganizationAuthAdminServiceDefinition = {
|
|
|
5213
5540
|
},
|
|
5214
5541
|
},
|
|
5215
5542
|
},
|
|
5543
|
+
createOrganizationMember: {
|
|
5544
|
+
name: "CreateOrganizationMember",
|
|
5545
|
+
requestType: exports.CreateOrganizationMemberRequest,
|
|
5546
|
+
requestStream: false,
|
|
5547
|
+
responseType: exports.CreateOrganizationMemberResponse,
|
|
5548
|
+
responseStream: false,
|
|
5549
|
+
options: {
|
|
5550
|
+
_unknownFields: {
|
|
5551
|
+
578365826: [
|
|
5552
|
+
new Uint8Array([
|
|
5553
|
+
45,
|
|
5554
|
+
58,
|
|
5555
|
+
1,
|
|
5556
|
+
42,
|
|
5557
|
+
34,
|
|
5558
|
+
40,
|
|
5559
|
+
47,
|
|
5560
|
+
118,
|
|
5561
|
+
49,
|
|
5562
|
+
47,
|
|
5563
|
+
111,
|
|
5564
|
+
114,
|
|
5565
|
+
103,
|
|
5566
|
+
47,
|
|
5567
|
+
123,
|
|
5568
|
+
111,
|
|
5569
|
+
114,
|
|
5570
|
+
103,
|
|
5571
|
+
97,
|
|
5572
|
+
110,
|
|
5573
|
+
105,
|
|
5574
|
+
122,
|
|
5575
|
+
97,
|
|
5576
|
+
116,
|
|
5577
|
+
105,
|
|
5578
|
+
111,
|
|
5579
|
+
110,
|
|
5580
|
+
95,
|
|
5581
|
+
115,
|
|
5582
|
+
108,
|
|
5583
|
+
117,
|
|
5584
|
+
103,
|
|
5585
|
+
125,
|
|
5586
|
+
47,
|
|
5587
|
+
97,
|
|
5588
|
+
117,
|
|
5589
|
+
116,
|
|
5590
|
+
104,
|
|
5591
|
+
47,
|
|
5592
|
+
109,
|
|
5593
|
+
101,
|
|
5594
|
+
109,
|
|
5595
|
+
98,
|
|
5596
|
+
101,
|
|
5597
|
+
114,
|
|
5598
|
+
115,
|
|
5599
|
+
]),
|
|
5600
|
+
],
|
|
5601
|
+
},
|
|
5602
|
+
},
|
|
5603
|
+
},
|
|
5216
5604
|
updateOrganizationMember: {
|
|
5217
5605
|
name: "UpdateOrganizationMember",
|
|
5218
5606
|
requestType: exports.UpdateOrganizationMemberRequest,
|
|
@@ -5286,6 +5674,76 @@ exports.OrganizationAuthAdminServiceDefinition = {
|
|
|
5286
5674
|
},
|
|
5287
5675
|
},
|
|
5288
5676
|
},
|
|
5677
|
+
removeOrganizationMember: {
|
|
5678
|
+
name: "RemoveOrganizationMember",
|
|
5679
|
+
requestType: exports.RemoveOrganizationMemberRequest,
|
|
5680
|
+
requestStream: false,
|
|
5681
|
+
responseType: exports.RemoveOrganizationMemberResponse,
|
|
5682
|
+
responseStream: false,
|
|
5683
|
+
options: {
|
|
5684
|
+
_unknownFields: {
|
|
5685
|
+
578365826: [
|
|
5686
|
+
new Uint8Array([
|
|
5687
|
+
54,
|
|
5688
|
+
42,
|
|
5689
|
+
52,
|
|
5690
|
+
47,
|
|
5691
|
+
118,
|
|
5692
|
+
49,
|
|
5693
|
+
47,
|
|
5694
|
+
111,
|
|
5695
|
+
114,
|
|
5696
|
+
103,
|
|
5697
|
+
47,
|
|
5698
|
+
123,
|
|
5699
|
+
111,
|
|
5700
|
+
114,
|
|
5701
|
+
103,
|
|
5702
|
+
97,
|
|
5703
|
+
110,
|
|
5704
|
+
105,
|
|
5705
|
+
122,
|
|
5706
|
+
97,
|
|
5707
|
+
116,
|
|
5708
|
+
105,
|
|
5709
|
+
111,
|
|
5710
|
+
110,
|
|
5711
|
+
95,
|
|
5712
|
+
115,
|
|
5713
|
+
108,
|
|
5714
|
+
117,
|
|
5715
|
+
103,
|
|
5716
|
+
125,
|
|
5717
|
+
47,
|
|
5718
|
+
97,
|
|
5719
|
+
117,
|
|
5720
|
+
116,
|
|
5721
|
+
104,
|
|
5722
|
+
47,
|
|
5723
|
+
109,
|
|
5724
|
+
101,
|
|
5725
|
+
109,
|
|
5726
|
+
98,
|
|
5727
|
+
101,
|
|
5728
|
+
114,
|
|
5729
|
+
115,
|
|
5730
|
+
47,
|
|
5731
|
+
123,
|
|
5732
|
+
109,
|
|
5733
|
+
101,
|
|
5734
|
+
109,
|
|
5735
|
+
98,
|
|
5736
|
+
101,
|
|
5737
|
+
114,
|
|
5738
|
+
95,
|
|
5739
|
+
105,
|
|
5740
|
+
100,
|
|
5741
|
+
125,
|
|
5742
|
+
]),
|
|
5743
|
+
],
|
|
5744
|
+
},
|
|
5745
|
+
},
|
|
5746
|
+
},
|
|
5289
5747
|
getRbacPolicy: {
|
|
5290
5748
|
name: "GetRbacPolicy",
|
|
5291
5749
|
requestType: exports.GetRbacPolicyRequest,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/chat/v1/chat.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/chat/v1/service.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/consolidation/v1/consolidation.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/consolidation/v1/service.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/inference/v1/inference.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/inference/v1/service.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/ingestion/v1/ingestion.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/ingestion/v1/service.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/model/v1/model.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/model/v1/service.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/organization/v1/organization.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/organization/v1/service.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/project/v1/project.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/project/v1/service.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/provider/v1/provider.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|