weave-typescript 0.33.0 → 0.35.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.d.ts +56 -0
- package/dist/weaveapi/auth/v1/auth.pb.js +625 -2
- package/dist/weaveapi/auth/v1/service.pb.d.ts +173 -1
- package/dist/weaveapi/auth/v1/service.pb.js +1613 -65
- 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 +166 -0
- package/dist/weavesql/weavedb/auth_identity_sql.js +367 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
import { AuthMethod, AuthProvider, AuthSession, DiscoveryOrganization, MembershipStatus, OrganizationAuthSettings, OrganizationMember, RbacPolicySummary, ScimConnection, ScimGroupMapping, ScimTokenRotation, SsoConnection, SsoConnectionStatus, SsoConnectionType, UserProfile } from "./auth.pb";
|
|
2
|
+
import { AuthMethod, AuthProvider, AuthSession, DiscoveryOrganization, InviteOnboardingState, InviteRecoveryReason, InviteRecoveryStatus, MembershipStatus, OrganizationAuthSettings, OrganizationMember, RbacPolicySummary, ScimConnection, ScimGroupMapping, ScimTokenRotation, SsoConnection, SsoConnectionStatus, SsoConnectionType, UserProfile } from "./auth.pb";
|
|
3
3
|
export declare const protobufPackage = "weaveapi.auth.v1";
|
|
4
4
|
export interface GetSessionRequest {
|
|
5
5
|
}
|
|
@@ -52,6 +52,52 @@ export interface CompleteDiscoverySSOResponse {
|
|
|
52
52
|
organizations: DiscoveryOrganization[];
|
|
53
53
|
mfaRequired: boolean;
|
|
54
54
|
}
|
|
55
|
+
export interface CompleteInviteMagicLinkRequest {
|
|
56
|
+
token: string;
|
|
57
|
+
state: string;
|
|
58
|
+
returnUrl: string;
|
|
59
|
+
}
|
|
60
|
+
export interface CompleteInviteMagicLinkResponse {
|
|
61
|
+
invite: InviteOnboardingState | undefined;
|
|
62
|
+
}
|
|
63
|
+
export interface CompleteInvitePasswordRequest {
|
|
64
|
+
inviteSessionId: string;
|
|
65
|
+
password: string;
|
|
66
|
+
displayName: string;
|
|
67
|
+
}
|
|
68
|
+
export interface CompleteInvitePasswordResponse {
|
|
69
|
+
session: AuthSession | undefined;
|
|
70
|
+
}
|
|
71
|
+
export interface StartInviteOAuthRequest {
|
|
72
|
+
inviteSessionId: string;
|
|
73
|
+
provider: AuthProvider;
|
|
74
|
+
returnUrl: string;
|
|
75
|
+
}
|
|
76
|
+
export interface StartInviteOAuthResponse {
|
|
77
|
+
redirectUrl: string;
|
|
78
|
+
stateId: string;
|
|
79
|
+
}
|
|
80
|
+
export interface CompleteInviteOAuthRequest {
|
|
81
|
+
provider: AuthProvider;
|
|
82
|
+
code: string;
|
|
83
|
+
state: string;
|
|
84
|
+
inviteSessionId: string;
|
|
85
|
+
}
|
|
86
|
+
export interface CompleteInviteOAuthResponse {
|
|
87
|
+
session: AuthSession | undefined;
|
|
88
|
+
}
|
|
89
|
+
export interface RequestInviteRecoveryRequest {
|
|
90
|
+
email: string;
|
|
91
|
+
organizationSlug: string;
|
|
92
|
+
stytchOrganizationId: string;
|
|
93
|
+
stytchMemberId: string;
|
|
94
|
+
reason: InviteRecoveryReason;
|
|
95
|
+
}
|
|
96
|
+
export interface RequestInviteRecoveryResponse {
|
|
97
|
+
accepted: boolean;
|
|
98
|
+
status: InviteRecoveryStatus;
|
|
99
|
+
message: string;
|
|
100
|
+
}
|
|
55
101
|
export interface ExchangeDiscoveryOrganizationRequest {
|
|
56
102
|
discoverySessionId: string;
|
|
57
103
|
organizationId: string;
|
|
@@ -142,6 +188,20 @@ export interface RemoveOrganizationMemberRequest {
|
|
|
142
188
|
export interface RemoveOrganizationMemberResponse {
|
|
143
189
|
member: OrganizationMember | undefined;
|
|
144
190
|
}
|
|
191
|
+
export interface ResendOrganizationMemberInviteRequest {
|
|
192
|
+
organizationSlug: string;
|
|
193
|
+
memberId: string;
|
|
194
|
+
}
|
|
195
|
+
export interface ResendOrganizationMemberInviteResponse {
|
|
196
|
+
member: OrganizationMember | undefined;
|
|
197
|
+
}
|
|
198
|
+
export interface RevokeOrganizationMemberInviteRequest {
|
|
199
|
+
organizationSlug: string;
|
|
200
|
+
memberId: string;
|
|
201
|
+
}
|
|
202
|
+
export interface RevokeOrganizationMemberInviteResponse {
|
|
203
|
+
member: OrganizationMember | undefined;
|
|
204
|
+
}
|
|
145
205
|
export interface GetRbacPolicyRequest {
|
|
146
206
|
organizationSlug: string;
|
|
147
207
|
}
|
|
@@ -266,6 +326,16 @@ export declare const StartDiscoverySSORequest: MessageFns<StartDiscoverySSOReque
|
|
|
266
326
|
export declare const StartDiscoverySSOResponse: MessageFns<StartDiscoverySSOResponse>;
|
|
267
327
|
export declare const CompleteDiscoverySSORequest: MessageFns<CompleteDiscoverySSORequest>;
|
|
268
328
|
export declare const CompleteDiscoverySSOResponse: MessageFns<CompleteDiscoverySSOResponse>;
|
|
329
|
+
export declare const CompleteInviteMagicLinkRequest: MessageFns<CompleteInviteMagicLinkRequest>;
|
|
330
|
+
export declare const CompleteInviteMagicLinkResponse: MessageFns<CompleteInviteMagicLinkResponse>;
|
|
331
|
+
export declare const CompleteInvitePasswordRequest: MessageFns<CompleteInvitePasswordRequest>;
|
|
332
|
+
export declare const CompleteInvitePasswordResponse: MessageFns<CompleteInvitePasswordResponse>;
|
|
333
|
+
export declare const StartInviteOAuthRequest: MessageFns<StartInviteOAuthRequest>;
|
|
334
|
+
export declare const StartInviteOAuthResponse: MessageFns<StartInviteOAuthResponse>;
|
|
335
|
+
export declare const CompleteInviteOAuthRequest: MessageFns<CompleteInviteOAuthRequest>;
|
|
336
|
+
export declare const CompleteInviteOAuthResponse: MessageFns<CompleteInviteOAuthResponse>;
|
|
337
|
+
export declare const RequestInviteRecoveryRequest: MessageFns<RequestInviteRecoveryRequest>;
|
|
338
|
+
export declare const RequestInviteRecoveryResponse: MessageFns<RequestInviteRecoveryResponse>;
|
|
269
339
|
export declare const ExchangeDiscoveryOrganizationRequest: MessageFns<ExchangeDiscoveryOrganizationRequest>;
|
|
270
340
|
export declare const ExchangeDiscoveryOrganizationResponse: MessageFns<ExchangeDiscoveryOrganizationResponse>;
|
|
271
341
|
export declare const LogoutRequest: MessageFns<LogoutRequest>;
|
|
@@ -288,6 +358,10 @@ export declare const UpdateOrganizationMemberRequest: MessageFns<UpdateOrganizat
|
|
|
288
358
|
export declare const UpdateOrganizationMemberResponse: MessageFns<UpdateOrganizationMemberResponse>;
|
|
289
359
|
export declare const RemoveOrganizationMemberRequest: MessageFns<RemoveOrganizationMemberRequest>;
|
|
290
360
|
export declare const RemoveOrganizationMemberResponse: MessageFns<RemoveOrganizationMemberResponse>;
|
|
361
|
+
export declare const ResendOrganizationMemberInviteRequest: MessageFns<ResendOrganizationMemberInviteRequest>;
|
|
362
|
+
export declare const ResendOrganizationMemberInviteResponse: MessageFns<ResendOrganizationMemberInviteResponse>;
|
|
363
|
+
export declare const RevokeOrganizationMemberInviteRequest: MessageFns<RevokeOrganizationMemberInviteRequest>;
|
|
364
|
+
export declare const RevokeOrganizationMemberInviteResponse: MessageFns<RevokeOrganizationMemberInviteResponse>;
|
|
291
365
|
export declare const GetRbacPolicyRequest: MessageFns<GetRbacPolicyRequest>;
|
|
292
366
|
export declare const GetRbacPolicyResponse: MessageFns<GetRbacPolicyResponse>;
|
|
293
367
|
export declare const UpdateRbacPolicyRequest: MessageFns<UpdateRbacPolicyRequest>;
|
|
@@ -322,6 +396,11 @@ export interface AuthService {
|
|
|
322
396
|
CompleteDiscoveryOAuth(request: CompleteDiscoveryOAuthRequest): Promise<CompleteDiscoveryOAuthResponse>;
|
|
323
397
|
StartDiscoverySSO(request: StartDiscoverySSORequest): Promise<StartDiscoverySSOResponse>;
|
|
324
398
|
CompleteDiscoverySSO(request: CompleteDiscoverySSORequest): Promise<CompleteDiscoverySSOResponse>;
|
|
399
|
+
CompleteInviteMagicLink(request: CompleteInviteMagicLinkRequest): Promise<CompleteInviteMagicLinkResponse>;
|
|
400
|
+
CompleteInvitePassword(request: CompleteInvitePasswordRequest): Promise<CompleteInvitePasswordResponse>;
|
|
401
|
+
StartInviteOAuth(request: StartInviteOAuthRequest): Promise<StartInviteOAuthResponse>;
|
|
402
|
+
CompleteInviteOAuth(request: CompleteInviteOAuthRequest): Promise<CompleteInviteOAuthResponse>;
|
|
403
|
+
RequestInviteRecovery(request: RequestInviteRecoveryRequest): Promise<RequestInviteRecoveryResponse>;
|
|
325
404
|
ExchangeDiscoveryOrganization(request: ExchangeDiscoveryOrganizationRequest): Promise<ExchangeDiscoveryOrganizationResponse>;
|
|
326
405
|
Logout(request: LogoutRequest): Promise<LogoutResponse>;
|
|
327
406
|
}
|
|
@@ -338,6 +417,11 @@ export declare class AuthServiceClientImpl implements AuthService {
|
|
|
338
417
|
CompleteDiscoveryOAuth(request: CompleteDiscoveryOAuthRequest): Promise<CompleteDiscoveryOAuthResponse>;
|
|
339
418
|
StartDiscoverySSO(request: StartDiscoverySSORequest): Promise<StartDiscoverySSOResponse>;
|
|
340
419
|
CompleteDiscoverySSO(request: CompleteDiscoverySSORequest): Promise<CompleteDiscoverySSOResponse>;
|
|
420
|
+
CompleteInviteMagicLink(request: CompleteInviteMagicLinkRequest): Promise<CompleteInviteMagicLinkResponse>;
|
|
421
|
+
CompleteInvitePassword(request: CompleteInvitePasswordRequest): Promise<CompleteInvitePasswordResponse>;
|
|
422
|
+
StartInviteOAuth(request: StartInviteOAuthRequest): Promise<StartInviteOAuthResponse>;
|
|
423
|
+
CompleteInviteOAuth(request: CompleteInviteOAuthRequest): Promise<CompleteInviteOAuthResponse>;
|
|
424
|
+
RequestInviteRecovery(request: RequestInviteRecoveryRequest): Promise<RequestInviteRecoveryResponse>;
|
|
341
425
|
ExchangeDiscoveryOrganization(request: ExchangeDiscoveryOrganizationRequest): Promise<ExchangeDiscoveryOrganizationResponse>;
|
|
342
426
|
Logout(request: LogoutRequest): Promise<LogoutResponse>;
|
|
343
427
|
}
|
|
@@ -418,6 +502,66 @@ export declare const AuthServiceDefinition: {
|
|
|
418
502
|
};
|
|
419
503
|
};
|
|
420
504
|
};
|
|
505
|
+
readonly completeInviteMagicLink: {
|
|
506
|
+
readonly name: "CompleteInviteMagicLink";
|
|
507
|
+
readonly requestType: typeof CompleteInviteMagicLinkRequest;
|
|
508
|
+
readonly requestStream: false;
|
|
509
|
+
readonly responseType: typeof CompleteInviteMagicLinkResponse;
|
|
510
|
+
readonly responseStream: false;
|
|
511
|
+
readonly options: {
|
|
512
|
+
readonly _unknownFields: {
|
|
513
|
+
readonly 578365826: readonly [Uint8Array];
|
|
514
|
+
};
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
readonly completeInvitePassword: {
|
|
518
|
+
readonly name: "CompleteInvitePassword";
|
|
519
|
+
readonly requestType: typeof CompleteInvitePasswordRequest;
|
|
520
|
+
readonly requestStream: false;
|
|
521
|
+
readonly responseType: typeof CompleteInvitePasswordResponse;
|
|
522
|
+
readonly responseStream: false;
|
|
523
|
+
readonly options: {
|
|
524
|
+
readonly _unknownFields: {
|
|
525
|
+
readonly 578365826: readonly [Uint8Array];
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
readonly startInviteOAuth: {
|
|
530
|
+
readonly name: "StartInviteOAuth";
|
|
531
|
+
readonly requestType: typeof StartInviteOAuthRequest;
|
|
532
|
+
readonly requestStream: false;
|
|
533
|
+
readonly responseType: typeof StartInviteOAuthResponse;
|
|
534
|
+
readonly responseStream: false;
|
|
535
|
+
readonly options: {
|
|
536
|
+
readonly _unknownFields: {
|
|
537
|
+
readonly 578365826: readonly [Uint8Array];
|
|
538
|
+
};
|
|
539
|
+
};
|
|
540
|
+
};
|
|
541
|
+
readonly completeInviteOAuth: {
|
|
542
|
+
readonly name: "CompleteInviteOAuth";
|
|
543
|
+
readonly requestType: typeof CompleteInviteOAuthRequest;
|
|
544
|
+
readonly requestStream: false;
|
|
545
|
+
readonly responseType: typeof CompleteInviteOAuthResponse;
|
|
546
|
+
readonly responseStream: false;
|
|
547
|
+
readonly options: {
|
|
548
|
+
readonly _unknownFields: {
|
|
549
|
+
readonly 578365826: readonly [Uint8Array];
|
|
550
|
+
};
|
|
551
|
+
};
|
|
552
|
+
};
|
|
553
|
+
readonly requestInviteRecovery: {
|
|
554
|
+
readonly name: "RequestInviteRecovery";
|
|
555
|
+
readonly requestType: typeof RequestInviteRecoveryRequest;
|
|
556
|
+
readonly requestStream: false;
|
|
557
|
+
readonly responseType: typeof RequestInviteRecoveryResponse;
|
|
558
|
+
readonly responseStream: false;
|
|
559
|
+
readonly options: {
|
|
560
|
+
readonly _unknownFields: {
|
|
561
|
+
readonly 578365826: readonly [Uint8Array];
|
|
562
|
+
};
|
|
563
|
+
};
|
|
564
|
+
};
|
|
421
565
|
readonly exchangeDiscoveryOrganization: {
|
|
422
566
|
readonly name: "ExchangeDiscoveryOrganization";
|
|
423
567
|
readonly requestType: typeof ExchangeDiscoveryOrganizationRequest;
|
|
@@ -510,6 +654,8 @@ export interface OrganizationAuthAdminService {
|
|
|
510
654
|
CreateOrganizationMember(request: CreateOrganizationMemberRequest): Promise<CreateOrganizationMemberResponse>;
|
|
511
655
|
UpdateOrganizationMember(request: UpdateOrganizationMemberRequest): Promise<UpdateOrganizationMemberResponse>;
|
|
512
656
|
RemoveOrganizationMember(request: RemoveOrganizationMemberRequest): Promise<RemoveOrganizationMemberResponse>;
|
|
657
|
+
ResendOrganizationMemberInvite(request: ResendOrganizationMemberInviteRequest): Promise<ResendOrganizationMemberInviteResponse>;
|
|
658
|
+
RevokeOrganizationMemberInvite(request: RevokeOrganizationMemberInviteRequest): Promise<RevokeOrganizationMemberInviteResponse>;
|
|
513
659
|
GetRbacPolicy(request: GetRbacPolicyRequest): Promise<GetRbacPolicyResponse>;
|
|
514
660
|
UpdateRbacPolicy(request: UpdateRbacPolicyRequest): Promise<UpdateRbacPolicyResponse>;
|
|
515
661
|
ListSsoConnections(request: ListSsoConnectionsRequest): Promise<ListSsoConnectionsResponse>;
|
|
@@ -537,6 +683,8 @@ export declare class OrganizationAuthAdminServiceClientImpl implements Organizat
|
|
|
537
683
|
CreateOrganizationMember(request: CreateOrganizationMemberRequest): Promise<CreateOrganizationMemberResponse>;
|
|
538
684
|
UpdateOrganizationMember(request: UpdateOrganizationMemberRequest): Promise<UpdateOrganizationMemberResponse>;
|
|
539
685
|
RemoveOrganizationMember(request: RemoveOrganizationMemberRequest): Promise<RemoveOrganizationMemberResponse>;
|
|
686
|
+
ResendOrganizationMemberInvite(request: ResendOrganizationMemberInviteRequest): Promise<ResendOrganizationMemberInviteResponse>;
|
|
687
|
+
RevokeOrganizationMemberInvite(request: RevokeOrganizationMemberInviteRequest): Promise<RevokeOrganizationMemberInviteResponse>;
|
|
540
688
|
GetRbacPolicy(request: GetRbacPolicyRequest): Promise<GetRbacPolicyResponse>;
|
|
541
689
|
UpdateRbacPolicy(request: UpdateRbacPolicyRequest): Promise<UpdateRbacPolicyResponse>;
|
|
542
690
|
ListSsoConnections(request: ListSsoConnectionsRequest): Promise<ListSsoConnectionsResponse>;
|
|
@@ -628,6 +776,30 @@ export declare const OrganizationAuthAdminServiceDefinition: {
|
|
|
628
776
|
};
|
|
629
777
|
};
|
|
630
778
|
};
|
|
779
|
+
readonly resendOrganizationMemberInvite: {
|
|
780
|
+
readonly name: "ResendOrganizationMemberInvite";
|
|
781
|
+
readonly requestType: typeof ResendOrganizationMemberInviteRequest;
|
|
782
|
+
readonly requestStream: false;
|
|
783
|
+
readonly responseType: typeof ResendOrganizationMemberInviteResponse;
|
|
784
|
+
readonly responseStream: false;
|
|
785
|
+
readonly options: {
|
|
786
|
+
readonly _unknownFields: {
|
|
787
|
+
readonly 578365826: readonly [Uint8Array];
|
|
788
|
+
};
|
|
789
|
+
};
|
|
790
|
+
};
|
|
791
|
+
readonly revokeOrganizationMemberInvite: {
|
|
792
|
+
readonly name: "RevokeOrganizationMemberInvite";
|
|
793
|
+
readonly requestType: typeof RevokeOrganizationMemberInviteRequest;
|
|
794
|
+
readonly requestStream: false;
|
|
795
|
+
readonly responseType: typeof RevokeOrganizationMemberInviteResponse;
|
|
796
|
+
readonly responseStream: false;
|
|
797
|
+
readonly options: {
|
|
798
|
+
readonly _unknownFields: {
|
|
799
|
+
readonly 578365826: readonly [Uint8Array];
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
};
|
|
631
803
|
readonly getRbacPolicy: {
|
|
632
804
|
readonly name: "GetRbacPolicy";
|
|
633
805
|
readonly requestType: typeof GetRbacPolicyRequest;
|