weave-typescript 0.33.0 → 0.34.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/package.json +1 -1
|
@@ -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.8
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: google/api/annotations.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.8
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: google/api/http.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.8
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: google/protobuf/descriptor.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.8
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: google/protobuf/struct.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.8
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: google/protobuf/timestamp.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.8
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/atc/v1/event.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.8
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/atc/v1/message.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.8
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/atc/v1/process.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.8
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/atc/v1/run.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.8
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/atc/v1/service.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -77,6 +77,39 @@ export declare enum AuthProvider {
|
|
|
77
77
|
}
|
|
78
78
|
export declare function authProviderFromJSON(object: any): AuthProvider;
|
|
79
79
|
export declare function authProviderToJSON(object: AuthProvider): string;
|
|
80
|
+
export declare enum InviteOnboardingStatus {
|
|
81
|
+
INVITE_ONBOARDING_STATUS_UNSPECIFIED = 0,
|
|
82
|
+
INVITE_ONBOARDING_STATUS_READY = 1,
|
|
83
|
+
INVITE_ONBOARDING_STATUS_PASSWORD_REQUIRED = 2,
|
|
84
|
+
INVITE_ONBOARDING_STATUS_PROVIDER_REQUIRED = 3,
|
|
85
|
+
INVITE_ONBOARDING_STATUS_RECOVERY_REQUIRED = 4,
|
|
86
|
+
INVITE_ONBOARDING_STATUS_COMPLETED = 5,
|
|
87
|
+
UNRECOGNIZED = -1
|
|
88
|
+
}
|
|
89
|
+
export declare function inviteOnboardingStatusFromJSON(object: any): InviteOnboardingStatus;
|
|
90
|
+
export declare function inviteOnboardingStatusToJSON(object: InviteOnboardingStatus): string;
|
|
91
|
+
export declare enum InviteRecoveryReason {
|
|
92
|
+
INVITE_RECOVERY_REASON_UNSPECIFIED = 0,
|
|
93
|
+
INVITE_RECOVERY_REASON_EXPIRED = 1,
|
|
94
|
+
INVITE_RECOVERY_REASON_ALREADY_USED = 2,
|
|
95
|
+
INVITE_RECOVERY_REASON_REVOKED = 3,
|
|
96
|
+
INVITE_RECOVERY_REASON_WRONG_ORGANIZATION = 4,
|
|
97
|
+
INVITE_RECOVERY_REASON_MALFORMED = 5,
|
|
98
|
+
INVITE_RECOVERY_REASON_MEMBER_NOT_FOUND = 6,
|
|
99
|
+
UNRECOGNIZED = -1
|
|
100
|
+
}
|
|
101
|
+
export declare function inviteRecoveryReasonFromJSON(object: any): InviteRecoveryReason;
|
|
102
|
+
export declare function inviteRecoveryReasonToJSON(object: InviteRecoveryReason): string;
|
|
103
|
+
export declare enum InviteRecoveryStatus {
|
|
104
|
+
INVITE_RECOVERY_STATUS_UNSPECIFIED = 0,
|
|
105
|
+
INVITE_RECOVERY_STATUS_REQUESTED = 1,
|
|
106
|
+
INVITE_RECOVERY_STATUS_RESENT = 2,
|
|
107
|
+
INVITE_RECOVERY_STATUS_CONTACT_ADMIN = 3,
|
|
108
|
+
INVITE_RECOVERY_STATUS_NOT_AVAILABLE = 4,
|
|
109
|
+
UNRECOGNIZED = -1
|
|
110
|
+
}
|
|
111
|
+
export declare function inviteRecoveryStatusFromJSON(object: any): InviteRecoveryStatus;
|
|
112
|
+
export declare function inviteRecoveryStatusToJSON(object: InviteRecoveryStatus): string;
|
|
80
113
|
export interface AuthSession {
|
|
81
114
|
sessionId: string;
|
|
82
115
|
user: AuthUser | undefined;
|
|
@@ -114,6 +147,28 @@ export interface DiscoveryOrganization {
|
|
|
114
147
|
domains: string[];
|
|
115
148
|
roleIds: string[];
|
|
116
149
|
}
|
|
150
|
+
export interface InviteOnboardingState {
|
|
151
|
+
inviteSessionId: string;
|
|
152
|
+
status: InviteOnboardingStatus;
|
|
153
|
+
organizationId: string;
|
|
154
|
+
organizationSlug: string;
|
|
155
|
+
organizationName: string;
|
|
156
|
+
organizationKind: OrganizationKind;
|
|
157
|
+
stytchOrganizationId: string;
|
|
158
|
+
stytchMemberId: string;
|
|
159
|
+
email: string;
|
|
160
|
+
displayName: string;
|
|
161
|
+
roleIds: string[];
|
|
162
|
+
allowedAuthMethods: AuthMethod[];
|
|
163
|
+
allowedOauthProviders: AuthProvider[];
|
|
164
|
+
passwordAllowed: boolean;
|
|
165
|
+
passwordRequired: boolean;
|
|
166
|
+
oauthAllowed: boolean;
|
|
167
|
+
membershipStatus: MembershipStatus;
|
|
168
|
+
recoveryReason: InviteRecoveryReason;
|
|
169
|
+
recoveryHint: string;
|
|
170
|
+
expiresAt: Date | undefined;
|
|
171
|
+
}
|
|
117
172
|
export interface UserProfile {
|
|
118
173
|
userId: string;
|
|
119
174
|
displayName: string;
|
|
@@ -227,6 +282,7 @@ export declare const AuthSession: MessageFns<AuthSession>;
|
|
|
227
282
|
export declare const AuthUser: MessageFns<AuthUser>;
|
|
228
283
|
export declare const AuthOrganization: MessageFns<AuthOrganization>;
|
|
229
284
|
export declare const DiscoveryOrganization: MessageFns<DiscoveryOrganization>;
|
|
285
|
+
export declare const InviteOnboardingState: MessageFns<InviteOnboardingState>;
|
|
230
286
|
export declare const UserProfile: MessageFns<UserProfile>;
|
|
231
287
|
export declare const OrganizationAuthSettings: MessageFns<OrganizationAuthSettings>;
|
|
232
288
|
export declare const OrganizationMember: MessageFns<OrganizationMember>;
|