@krak-stack/auth 0.1.39 → 0.1.40
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/api.d.ts +16 -0
- package/dist/components/admin-organization-form.d.ts +6 -0
- package/dist/components/admin-organization-form.js +136 -0
- package/dist/components/admin-organizations.d.ts +7 -0
- package/dist/components/admin-organizations.js +118 -0
- package/dist/components/admin-users.d.ts +8 -0
- package/dist/components/admin-users.js +265 -0
- package/dist/components/auth-api-client.d.ts +16 -0
- package/dist/components/auth-client.d.ts +2 -1
- package/dist/components/auth-provider.d.ts +16 -15
- package/dist/components/auth-provider.js +28 -3
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +3 -0
- package/dist/components/user-button.d.ts +11 -1
- package/dist/components/user-button.js +54 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/server/api.d.ts +32 -0
- package/dist/server/schema.d.ts +4 -0
- package/dist/server/schema.js +8 -0
- package/dist/service.d.ts +462 -434
- package/package.json +1 -1
package/dist/service.d.ts
CHANGED
|
@@ -39,32 +39,32 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
39
39
|
auth: {
|
|
40
40
|
readonly getSession: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: void | {
|
|
41
41
|
readonly responseMode?: Mode;
|
|
42
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
43
|
-
readonly session: {
|
|
44
|
-
readonly id:
|
|
45
|
-
readonly expiresAt: Date;
|
|
46
|
-
readonly token:
|
|
47
|
-
readonly createdAt: Date;
|
|
48
|
-
readonly updatedAt: Date;
|
|
49
|
-
readonly ipAddress
|
|
50
|
-
readonly userAgent
|
|
51
|
-
readonly userId:
|
|
52
|
-
readonly impersonatedBy
|
|
53
|
-
readonly activeOrganizationId
|
|
54
|
-
}
|
|
55
|
-
readonly user: {
|
|
56
|
-
readonly id:
|
|
57
|
-
readonly name:
|
|
58
|
-
readonly email:
|
|
59
|
-
readonly emailVerified:
|
|
60
|
-
readonly image:
|
|
61
|
-
readonly role:
|
|
62
|
-
readonly banned:
|
|
63
|
-
readonly lastLoginMethod
|
|
64
|
-
readonly createdAt: Date;
|
|
65
|
-
readonly updatedAt: Date;
|
|
66
|
-
}
|
|
67
|
-
} | null, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.BadRequest | HttpApiError.Forbidden | HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | import("./better-auth").TooManyRequests | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
42
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
43
|
+
readonly session: import("effect/Schema").Struct<{
|
|
44
|
+
readonly id: import("effect/Schema").String;
|
|
45
|
+
readonly expiresAt: import("effect/Schema").Date;
|
|
46
|
+
readonly token: import("effect/Schema").String;
|
|
47
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
48
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
49
|
+
readonly ipAddress: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
50
|
+
readonly userAgent: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
51
|
+
readonly userId: import("effect/Schema").String;
|
|
52
|
+
readonly impersonatedBy: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
53
|
+
readonly activeOrganizationId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
54
|
+
}>;
|
|
55
|
+
readonly user: import("effect/Schema").Struct<{
|
|
56
|
+
readonly id: import("effect/Schema").String;
|
|
57
|
+
readonly name: import("effect/Schema").String;
|
|
58
|
+
readonly email: import("effect/Schema").String;
|
|
59
|
+
readonly emailVerified: import("effect/Schema").Boolean;
|
|
60
|
+
readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
61
|
+
readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
62
|
+
readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
|
|
63
|
+
readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
64
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
65
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
66
|
+
}>;
|
|
67
|
+
}, "Type"> | null, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.BadRequest | HttpApiError.Forbidden | HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | import("./better-auth").TooManyRequests | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
68
68
|
};
|
|
69
69
|
authExtra: {
|
|
70
70
|
readonly createApiKey: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
@@ -77,10 +77,10 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
77
77
|
} | undefined;
|
|
78
78
|
};
|
|
79
79
|
readonly responseMode?: Mode;
|
|
80
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
81
|
-
readonly id:
|
|
82
|
-
readonly key:
|
|
83
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
80
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
81
|
+
readonly id: import("effect/Schema").String;
|
|
82
|
+
readonly key: import("effect/Schema").String;
|
|
83
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
84
84
|
readonly getProjectPublicConfig: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
85
85
|
readonly query: {
|
|
86
86
|
readonly projectId?: string | undefined;
|
|
@@ -89,41 +89,41 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
89
89
|
readonly rootHost?: string | undefined;
|
|
90
90
|
};
|
|
91
91
|
readonly responseMode?: Mode;
|
|
92
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
93
|
-
readonly projectKey:
|
|
94
|
-
readonly name:
|
|
95
|
-
readonly logoUrl:
|
|
96
|
-
readonly authDomain:
|
|
97
|
-
readonly rootDomain:
|
|
98
|
-
readonly themeCss:
|
|
99
|
-
readonly authOptions: {
|
|
100
|
-
readonly emailPassword:
|
|
101
|
-
readonly emailOtp:
|
|
102
|
-
readonly google:
|
|
103
|
-
readonly signUp:
|
|
104
|
-
readonly signUpName:
|
|
105
|
-
}
|
|
106
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
92
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
93
|
+
readonly projectKey: import("effect/Schema").String;
|
|
94
|
+
readonly name: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
95
|
+
readonly logoUrl: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
96
|
+
readonly authDomain: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
97
|
+
readonly rootDomain: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
98
|
+
readonly themeCss: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
99
|
+
readonly authOptions: import("effect/Schema").Struct<{
|
|
100
|
+
readonly emailPassword: import("effect/Schema").Boolean;
|
|
101
|
+
readonly emailOtp: import("effect/Schema").Boolean;
|
|
102
|
+
readonly google: import("effect/Schema").Boolean;
|
|
103
|
+
readonly signUp: import("effect/Schema").Boolean;
|
|
104
|
+
readonly signUpName: import("effect/Schema").Boolean;
|
|
105
|
+
}>;
|
|
106
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
107
107
|
readonly setPassword: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
108
|
-
readonly payload: {
|
|
109
|
-
readonly newPassword:
|
|
110
|
-
}
|
|
108
|
+
readonly payload: import("effect/Schema").Struct.ReadonlySide<{
|
|
109
|
+
readonly newPassword: import("effect/Schema").NonEmptyString;
|
|
110
|
+
}, "Type">;
|
|
111
111
|
readonly responseMode?: Mode;
|
|
112
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
113
|
-
readonly ok:
|
|
114
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
112
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
113
|
+
readonly ok: import("effect/Schema").Boolean;
|
|
114
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
115
115
|
readonly uploadOrganizationLogo: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
116
116
|
readonly payload: FormData;
|
|
117
117
|
readonly responseMode?: Mode;
|
|
118
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
119
|
-
readonly url:
|
|
120
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.BadRequest | HttpApiError.Forbidden | HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
118
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
119
|
+
readonly url: import("effect/Schema").String;
|
|
120
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.BadRequest | HttpApiError.Forbidden | HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
121
121
|
readonly uploadUserImage: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
122
122
|
readonly payload: FormData;
|
|
123
123
|
readonly responseMode?: Mode;
|
|
124
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
125
|
-
readonly url:
|
|
126
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
124
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
125
|
+
readonly url: import("effect/Schema").String;
|
|
126
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
127
127
|
readonly verifyApiKey: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
128
128
|
readonly payload: {
|
|
129
129
|
readonly key: string;
|
|
@@ -133,37 +133,35 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
133
133
|
} | undefined;
|
|
134
134
|
};
|
|
135
135
|
readonly responseMode?: Mode;
|
|
136
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
137
|
-
readonly valid:
|
|
138
|
-
readonly error: {
|
|
139
|
-
readonly message:
|
|
140
|
-
readonly code:
|
|
141
|
-
}
|
|
142
|
-
readonly key: {
|
|
143
|
-
readonly id:
|
|
144
|
-
readonly configId:
|
|
145
|
-
readonly name:
|
|
146
|
-
readonly start:
|
|
147
|
-
readonly prefix:
|
|
148
|
-
readonly referenceId:
|
|
149
|
-
readonly enabled:
|
|
150
|
-
readonly expiresAt: Date
|
|
151
|
-
readonly createdAt: Date;
|
|
152
|
-
readonly updatedAt: Date;
|
|
153
|
-
readonly permissions:
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
} | null;
|
|
158
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
136
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
137
|
+
readonly valid: import("effect/Schema").Boolean;
|
|
138
|
+
readonly error: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
139
|
+
readonly message: import("effect/Schema").String;
|
|
140
|
+
readonly code: import("effect/Schema").String;
|
|
141
|
+
}>>;
|
|
142
|
+
readonly key: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
143
|
+
readonly id: import("effect/Schema").String;
|
|
144
|
+
readonly configId: import("effect/Schema").String;
|
|
145
|
+
readonly name: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
146
|
+
readonly start: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
147
|
+
readonly prefix: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
148
|
+
readonly referenceId: import("effect/Schema").String;
|
|
149
|
+
readonly enabled: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
|
|
150
|
+
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").Date>;
|
|
151
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
152
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
153
|
+
readonly permissions: import("effect/Schema").NullOr<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>>>;
|
|
154
|
+
readonly metadata: import("effect/Schema").NullOr<import("effect/Schema").Unknown>;
|
|
155
|
+
}>>;
|
|
156
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
159
157
|
readonly verifyPassword: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
160
|
-
readonly payload: {
|
|
161
|
-
readonly password:
|
|
162
|
-
}
|
|
158
|
+
readonly payload: import("effect/Schema").Struct.ReadonlySide<{
|
|
159
|
+
readonly password: import("effect/Schema").NonEmptyString;
|
|
160
|
+
}, "Type">;
|
|
163
161
|
readonly responseMode?: Mode;
|
|
164
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
165
|
-
readonly ok:
|
|
166
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
162
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
163
|
+
readonly ok: import("effect/Schema").Boolean;
|
|
164
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
167
165
|
};
|
|
168
166
|
domains: {
|
|
169
167
|
readonly createDomain: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
@@ -180,7 +178,11 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
180
178
|
readonly hostname: string;
|
|
181
179
|
readonly rootHostname: string;
|
|
182
180
|
readonly projectId: string | null;
|
|
181
|
+
readonly projectName?: string | null | undefined;
|
|
182
|
+
readonly projectLogo?: string | null | undefined;
|
|
183
183
|
readonly organizationId: string | null;
|
|
184
|
+
readonly organizationName?: string | null | undefined;
|
|
185
|
+
readonly organizationLogo?: string | null | undefined;
|
|
184
186
|
readonly hostnameId: string;
|
|
185
187
|
readonly managed: boolean;
|
|
186
188
|
readonly active: boolean;
|
|
@@ -188,16 +190,20 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
188
190
|
readonly updatedAt: Date;
|
|
189
191
|
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.BadRequest | HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
190
192
|
readonly deleteDomain: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
191
|
-
readonly params: {
|
|
192
|
-
readonly id:
|
|
193
|
-
}
|
|
193
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
194
|
+
readonly id: import("effect/Schema").NonEmptyString;
|
|
195
|
+
}, "Type">;
|
|
194
196
|
readonly responseMode?: Mode;
|
|
195
197
|
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
196
198
|
readonly id: string;
|
|
197
199
|
readonly hostname: string;
|
|
198
200
|
readonly rootHostname: string;
|
|
199
201
|
readonly projectId: string | null;
|
|
202
|
+
readonly projectName?: string | null | undefined;
|
|
203
|
+
readonly projectLogo?: string | null | undefined;
|
|
200
204
|
readonly organizationId: string | null;
|
|
205
|
+
readonly organizationName?: string | null | undefined;
|
|
206
|
+
readonly organizationLogo?: string | null | undefined;
|
|
201
207
|
readonly hostnameId: string;
|
|
202
208
|
readonly managed: boolean;
|
|
203
209
|
readonly active: boolean;
|
|
@@ -205,16 +211,20 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
205
211
|
readonly updatedAt: Date;
|
|
206
212
|
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
207
213
|
readonly getDomain: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
208
|
-
readonly params: {
|
|
209
|
-
readonly id:
|
|
210
|
-
}
|
|
214
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
215
|
+
readonly id: import("effect/Schema").NonEmptyString;
|
|
216
|
+
}, "Type">;
|
|
211
217
|
readonly responseMode?: Mode;
|
|
212
218
|
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
213
219
|
readonly id: string;
|
|
214
220
|
readonly hostname: string;
|
|
215
221
|
readonly rootHostname: string;
|
|
216
222
|
readonly projectId: string | null;
|
|
223
|
+
readonly projectName?: string | null | undefined;
|
|
224
|
+
readonly projectLogo?: string | null | undefined;
|
|
217
225
|
readonly organizationId: string | null;
|
|
226
|
+
readonly organizationName?: string | null | undefined;
|
|
227
|
+
readonly organizationLogo?: string | null | undefined;
|
|
218
228
|
readonly hostnameId: string;
|
|
219
229
|
readonly managed: boolean;
|
|
220
230
|
readonly active: boolean;
|
|
@@ -222,16 +232,20 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
222
232
|
readonly updatedAt: Date;
|
|
223
233
|
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
224
234
|
readonly getDomainByHost: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
225
|
-
readonly params: {
|
|
226
|
-
readonly hostname:
|
|
227
|
-
}
|
|
235
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
236
|
+
readonly hostname: import("effect/Schema").NonEmptyString;
|
|
237
|
+
}, "Type">;
|
|
228
238
|
readonly responseMode?: Mode;
|
|
229
239
|
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
230
240
|
readonly id: string;
|
|
231
241
|
readonly hostname: string;
|
|
232
242
|
readonly rootHostname: string;
|
|
233
243
|
readonly projectId: string | null;
|
|
244
|
+
readonly projectName?: string | null | undefined;
|
|
245
|
+
readonly projectLogo?: string | null | undefined;
|
|
234
246
|
readonly organizationId: string | null;
|
|
247
|
+
readonly organizationName?: string | null | undefined;
|
|
248
|
+
readonly organizationLogo?: string | null | undefined;
|
|
235
249
|
readonly hostnameId: string;
|
|
236
250
|
readonly managed: boolean;
|
|
237
251
|
readonly active: boolean;
|
|
@@ -239,122 +253,122 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
239
253
|
readonly updatedAt: Date;
|
|
240
254
|
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
241
255
|
readonly getDomainRecords: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
242
|
-
readonly params: {
|
|
243
|
-
readonly id:
|
|
244
|
-
}
|
|
256
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
257
|
+
readonly id: import("effect/Schema").NonEmptyString;
|
|
258
|
+
}, "Type">;
|
|
245
259
|
readonly responseMode?: Mode;
|
|
246
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<readonly {
|
|
247
|
-
readonly required:
|
|
248
|
-
readonly status:
|
|
249
|
-
readonly type:
|
|
250
|
-
readonly name:
|
|
251
|
-
readonly value:
|
|
252
|
-
}[], Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
260
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
261
|
+
readonly required: import("effect/Schema").Boolean;
|
|
262
|
+
readonly status: import("effect/Schema").String;
|
|
263
|
+
readonly type: import("effect/Schema").String;
|
|
264
|
+
readonly name: import("effect/Schema").String;
|
|
265
|
+
readonly value: import("effect/Schema").String;
|
|
266
|
+
}, "Type">[], Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
253
267
|
};
|
|
254
268
|
organizations: {
|
|
255
269
|
readonly getActiveMember: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
256
|
-
readonly params: {
|
|
257
|
-
readonly organizationId:
|
|
258
|
-
readonly userId:
|
|
259
|
-
}
|
|
270
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
271
|
+
readonly organizationId: import("effect/Schema").NonEmptyString;
|
|
272
|
+
readonly userId: import("effect/Schema").NonEmptyString;
|
|
273
|
+
}, "Type">;
|
|
260
274
|
readonly responseMode?: Mode;
|
|
261
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
262
|
-
readonly id:
|
|
263
|
-
readonly organizationId:
|
|
264
|
-
readonly userId:
|
|
265
|
-
readonly role:
|
|
266
|
-
readonly createdAt: Date;
|
|
267
|
-
readonly user: {
|
|
268
|
-
readonly id:
|
|
269
|
-
readonly name:
|
|
270
|
-
readonly email:
|
|
271
|
-
readonly emailVerified:
|
|
272
|
-
readonly image:
|
|
273
|
-
readonly role:
|
|
274
|
-
readonly banned:
|
|
275
|
-
readonly lastLoginMethod
|
|
276
|
-
readonly createdAt: Date;
|
|
277
|
-
readonly updatedAt: Date;
|
|
278
|
-
}
|
|
279
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
275
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
276
|
+
readonly id: import("effect/Schema").String;
|
|
277
|
+
readonly organizationId: import("effect/Schema").String;
|
|
278
|
+
readonly userId: import("effect/Schema").String;
|
|
279
|
+
readonly role: import("effect/Schema").String;
|
|
280
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
281
|
+
readonly user: import("effect/Schema").Struct<{
|
|
282
|
+
readonly id: import("effect/Schema").String;
|
|
283
|
+
readonly name: import("effect/Schema").String;
|
|
284
|
+
readonly email: import("effect/Schema").String;
|
|
285
|
+
readonly emailVerified: import("effect/Schema").Boolean;
|
|
286
|
+
readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
287
|
+
readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
288
|
+
readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
|
|
289
|
+
readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
290
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
291
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
292
|
+
}>;
|
|
293
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
280
294
|
readonly getOrganization: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
281
|
-
readonly params: {
|
|
282
|
-
readonly id:
|
|
283
|
-
}
|
|
295
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
296
|
+
readonly id: import("effect/Schema").NonEmptyString;
|
|
297
|
+
}, "Type">;
|
|
284
298
|
readonly responseMode?: Mode;
|
|
285
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
286
|
-
readonly id:
|
|
287
|
-
readonly name:
|
|
288
|
-
readonly slug:
|
|
289
|
-
readonly logo:
|
|
290
|
-
readonly metadata: {
|
|
291
|
-
readonly translations:
|
|
292
|
-
readonly locale: "en"
|
|
293
|
-
readonly name:
|
|
294
|
-
readonly logo
|
|
295
|
-
readonly icon
|
|
296
|
-
readonly contactEmail
|
|
297
|
-
readonly location
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
readonly createdAt: Date;
|
|
301
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
299
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
300
|
+
readonly id: import("effect/Schema").String;
|
|
301
|
+
readonly name: import("effect/Schema").String;
|
|
302
|
+
readonly slug: import("effect/Schema").String;
|
|
303
|
+
readonly logo: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
304
|
+
readonly metadata: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
305
|
+
readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
306
|
+
readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
|
|
307
|
+
readonly name: import("effect/Schema").String;
|
|
308
|
+
readonly logo: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
309
|
+
readonly icon: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
310
|
+
readonly contactEmail: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
311
|
+
readonly location: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
312
|
+
}>>;
|
|
313
|
+
}>>;
|
|
314
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
315
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
302
316
|
readonly listOrganizationMembers: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
303
|
-
readonly params: {
|
|
304
|
-
readonly organizationId:
|
|
305
|
-
}
|
|
317
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
318
|
+
readonly organizationId: import("effect/Schema").NonEmptyString;
|
|
319
|
+
}, "Type">;
|
|
306
320
|
readonly responseMode?: Mode;
|
|
307
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<readonly {
|
|
308
|
-
readonly id:
|
|
309
|
-
readonly organizationId:
|
|
310
|
-
readonly userId:
|
|
311
|
-
readonly role:
|
|
312
|
-
readonly createdAt: Date;
|
|
313
|
-
readonly user: {
|
|
314
|
-
readonly id:
|
|
315
|
-
readonly name:
|
|
316
|
-
readonly email:
|
|
317
|
-
readonly emailVerified:
|
|
318
|
-
readonly image:
|
|
319
|
-
readonly role:
|
|
320
|
-
readonly banned:
|
|
321
|
-
readonly lastLoginMethod
|
|
322
|
-
readonly createdAt: Date;
|
|
323
|
-
readonly updatedAt: Date;
|
|
324
|
-
}
|
|
325
|
-
}[], Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
321
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
322
|
+
readonly id: import("effect/Schema").String;
|
|
323
|
+
readonly organizationId: import("effect/Schema").String;
|
|
324
|
+
readonly userId: import("effect/Schema").String;
|
|
325
|
+
readonly role: import("effect/Schema").String;
|
|
326
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
327
|
+
readonly user: import("effect/Schema").Struct<{
|
|
328
|
+
readonly id: import("effect/Schema").String;
|
|
329
|
+
readonly name: import("effect/Schema").String;
|
|
330
|
+
readonly email: import("effect/Schema").String;
|
|
331
|
+
readonly emailVerified: import("effect/Schema").Boolean;
|
|
332
|
+
readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
333
|
+
readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
334
|
+
readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
|
|
335
|
+
readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
336
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
337
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
338
|
+
}>;
|
|
339
|
+
}, "Type">[], Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
326
340
|
readonly listOrganizations: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
327
341
|
readonly query: {
|
|
328
342
|
readonly ids?: string | undefined;
|
|
329
343
|
readonly userId?: string | undefined;
|
|
330
344
|
};
|
|
331
345
|
readonly responseMode?: Mode;
|
|
332
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
333
|
-
readonly data:
|
|
334
|
-
readonly id:
|
|
335
|
-
readonly name:
|
|
336
|
-
readonly slug:
|
|
337
|
-
readonly logo:
|
|
338
|
-
readonly metadata: {
|
|
339
|
-
readonly translations:
|
|
340
|
-
readonly locale: "en"
|
|
341
|
-
readonly name:
|
|
342
|
-
readonly logo
|
|
343
|
-
readonly icon
|
|
344
|
-
readonly contactEmail
|
|
345
|
-
readonly location
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
readonly createdAt: Date;
|
|
349
|
-
}
|
|
350
|
-
readonly missingIds:
|
|
351
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.BadRequest | HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
346
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
347
|
+
readonly data: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
348
|
+
readonly id: import("effect/Schema").String;
|
|
349
|
+
readonly name: import("effect/Schema").String;
|
|
350
|
+
readonly slug: import("effect/Schema").String;
|
|
351
|
+
readonly logo: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
352
|
+
readonly metadata: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
353
|
+
readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
354
|
+
readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
|
|
355
|
+
readonly name: import("effect/Schema").String;
|
|
356
|
+
readonly logo: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
357
|
+
readonly icon: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
358
|
+
readonly contactEmail: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
359
|
+
readonly location: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
360
|
+
}>>;
|
|
361
|
+
}>>;
|
|
362
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
363
|
+
}>>;
|
|
364
|
+
readonly missingIds: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
365
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.BadRequest | HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
352
366
|
};
|
|
353
367
|
users: {
|
|
354
368
|
readonly getUser: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
355
|
-
readonly params: {
|
|
356
|
-
readonly id:
|
|
357
|
-
}
|
|
369
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
370
|
+
readonly id: import("effect/Schema").NonEmptyString;
|
|
371
|
+
}, "Type">;
|
|
358
372
|
readonly responseMode?: Mode;
|
|
359
373
|
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
360
374
|
readonly id: string;
|
|
@@ -369,33 +383,33 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
369
383
|
readonly updatedAt: Date;
|
|
370
384
|
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
371
385
|
readonly getUserActiveOrganization: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
372
|
-
readonly params: {
|
|
373
|
-
readonly userId:
|
|
374
|
-
}
|
|
386
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
387
|
+
readonly userId: import("effect/Schema").NonEmptyString;
|
|
388
|
+
}, "Type">;
|
|
375
389
|
readonly responseMode?: Mode;
|
|
376
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
377
|
-
readonly id:
|
|
378
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
390
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
391
|
+
readonly id: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
392
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
379
393
|
readonly listUsersByIds: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
380
|
-
readonly query: {
|
|
381
|
-
readonly ids:
|
|
382
|
-
}
|
|
394
|
+
readonly query: import("effect/Schema").Struct.ReadonlySide<{
|
|
395
|
+
readonly ids: import("effect/Schema").NonEmptyString;
|
|
396
|
+
}, "Type">;
|
|
383
397
|
readonly responseMode?: Mode;
|
|
384
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
385
|
-
readonly data:
|
|
386
|
-
readonly id:
|
|
387
|
-
readonly name:
|
|
388
|
-
readonly email:
|
|
389
|
-
readonly emailVerified:
|
|
390
|
-
readonly image:
|
|
391
|
-
readonly role:
|
|
392
|
-
readonly banned:
|
|
393
|
-
readonly lastLoginMethod
|
|
394
|
-
readonly createdAt: Date;
|
|
395
|
-
readonly updatedAt: Date;
|
|
396
|
-
}
|
|
397
|
-
readonly missingIds:
|
|
398
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
398
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
399
|
+
readonly data: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
400
|
+
readonly id: import("effect/Schema").String;
|
|
401
|
+
readonly name: import("effect/Schema").String;
|
|
402
|
+
readonly email: import("effect/Schema").String;
|
|
403
|
+
readonly emailVerified: import("effect/Schema").Boolean;
|
|
404
|
+
readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
405
|
+
readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
406
|
+
readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
|
|
407
|
+
readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
408
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
409
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
410
|
+
}>>;
|
|
411
|
+
readonly missingIds: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
412
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
399
413
|
};
|
|
400
414
|
}> & {
|
|
401
415
|
readonly make: (options?: AuthServiceLayerOptions) => Effect.Effect<{
|
|
@@ -407,32 +421,32 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
407
421
|
auth: {
|
|
408
422
|
readonly getSession: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: void | {
|
|
409
423
|
readonly responseMode?: Mode;
|
|
410
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
411
|
-
readonly session: {
|
|
412
|
-
readonly id:
|
|
413
|
-
readonly expiresAt: Date;
|
|
414
|
-
readonly token:
|
|
415
|
-
readonly createdAt: Date;
|
|
416
|
-
readonly updatedAt: Date;
|
|
417
|
-
readonly ipAddress
|
|
418
|
-
readonly userAgent
|
|
419
|
-
readonly userId:
|
|
420
|
-
readonly impersonatedBy
|
|
421
|
-
readonly activeOrganizationId
|
|
422
|
-
}
|
|
423
|
-
readonly user: {
|
|
424
|
-
readonly id:
|
|
425
|
-
readonly name:
|
|
426
|
-
readonly email:
|
|
427
|
-
readonly emailVerified:
|
|
428
|
-
readonly image:
|
|
429
|
-
readonly role:
|
|
430
|
-
readonly banned:
|
|
431
|
-
readonly lastLoginMethod
|
|
432
|
-
readonly createdAt: Date;
|
|
433
|
-
readonly updatedAt: Date;
|
|
434
|
-
}
|
|
435
|
-
} | null, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.BadRequest | HttpApiError.Forbidden | HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | import("./better-auth").TooManyRequests | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
424
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
425
|
+
readonly session: import("effect/Schema").Struct<{
|
|
426
|
+
readonly id: import("effect/Schema").String;
|
|
427
|
+
readonly expiresAt: import("effect/Schema").Date;
|
|
428
|
+
readonly token: import("effect/Schema").String;
|
|
429
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
430
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
431
|
+
readonly ipAddress: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
432
|
+
readonly userAgent: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
433
|
+
readonly userId: import("effect/Schema").String;
|
|
434
|
+
readonly impersonatedBy: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
435
|
+
readonly activeOrganizationId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
436
|
+
}>;
|
|
437
|
+
readonly user: import("effect/Schema").Struct<{
|
|
438
|
+
readonly id: import("effect/Schema").String;
|
|
439
|
+
readonly name: import("effect/Schema").String;
|
|
440
|
+
readonly email: import("effect/Schema").String;
|
|
441
|
+
readonly emailVerified: import("effect/Schema").Boolean;
|
|
442
|
+
readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
443
|
+
readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
444
|
+
readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
|
|
445
|
+
readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
446
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
447
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
448
|
+
}>;
|
|
449
|
+
}, "Type"> | null, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.BadRequest | HttpApiError.Forbidden | HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | import("./better-auth").TooManyRequests | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
436
450
|
};
|
|
437
451
|
authExtra: {
|
|
438
452
|
readonly createApiKey: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
@@ -445,10 +459,10 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
445
459
|
} | undefined;
|
|
446
460
|
};
|
|
447
461
|
readonly responseMode?: Mode;
|
|
448
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
449
|
-
readonly id:
|
|
450
|
-
readonly key:
|
|
451
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
462
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
463
|
+
readonly id: import("effect/Schema").String;
|
|
464
|
+
readonly key: import("effect/Schema").String;
|
|
465
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
452
466
|
readonly getProjectPublicConfig: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
453
467
|
readonly query: {
|
|
454
468
|
readonly projectId?: string | undefined;
|
|
@@ -457,41 +471,41 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
457
471
|
readonly rootHost?: string | undefined;
|
|
458
472
|
};
|
|
459
473
|
readonly responseMode?: Mode;
|
|
460
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
461
|
-
readonly projectKey:
|
|
462
|
-
readonly name:
|
|
463
|
-
readonly logoUrl:
|
|
464
|
-
readonly authDomain:
|
|
465
|
-
readonly rootDomain:
|
|
466
|
-
readonly themeCss:
|
|
467
|
-
readonly authOptions: {
|
|
468
|
-
readonly emailPassword:
|
|
469
|
-
readonly emailOtp:
|
|
470
|
-
readonly google:
|
|
471
|
-
readonly signUp:
|
|
472
|
-
readonly signUpName:
|
|
473
|
-
}
|
|
474
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
474
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
475
|
+
readonly projectKey: import("effect/Schema").String;
|
|
476
|
+
readonly name: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
477
|
+
readonly logoUrl: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
478
|
+
readonly authDomain: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
479
|
+
readonly rootDomain: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
480
|
+
readonly themeCss: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
481
|
+
readonly authOptions: import("effect/Schema").Struct<{
|
|
482
|
+
readonly emailPassword: import("effect/Schema").Boolean;
|
|
483
|
+
readonly emailOtp: import("effect/Schema").Boolean;
|
|
484
|
+
readonly google: import("effect/Schema").Boolean;
|
|
485
|
+
readonly signUp: import("effect/Schema").Boolean;
|
|
486
|
+
readonly signUpName: import("effect/Schema").Boolean;
|
|
487
|
+
}>;
|
|
488
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
475
489
|
readonly setPassword: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
476
|
-
readonly payload: {
|
|
477
|
-
readonly newPassword:
|
|
478
|
-
}
|
|
490
|
+
readonly payload: import("effect/Schema").Struct.ReadonlySide<{
|
|
491
|
+
readonly newPassword: import("effect/Schema").NonEmptyString;
|
|
492
|
+
}, "Type">;
|
|
479
493
|
readonly responseMode?: Mode;
|
|
480
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
481
|
-
readonly ok:
|
|
482
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
494
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
495
|
+
readonly ok: import("effect/Schema").Boolean;
|
|
496
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
483
497
|
readonly uploadOrganizationLogo: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
484
498
|
readonly payload: FormData;
|
|
485
499
|
readonly responseMode?: Mode;
|
|
486
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
487
|
-
readonly url:
|
|
488
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.BadRequest | HttpApiError.Forbidden | HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
500
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
501
|
+
readonly url: import("effect/Schema").String;
|
|
502
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.BadRequest | HttpApiError.Forbidden | HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
489
503
|
readonly uploadUserImage: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
490
504
|
readonly payload: FormData;
|
|
491
505
|
readonly responseMode?: Mode;
|
|
492
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
493
|
-
readonly url:
|
|
494
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
506
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
507
|
+
readonly url: import("effect/Schema").String;
|
|
508
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
495
509
|
readonly verifyApiKey: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
496
510
|
readonly payload: {
|
|
497
511
|
readonly key: string;
|
|
@@ -501,37 +515,35 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
501
515
|
} | undefined;
|
|
502
516
|
};
|
|
503
517
|
readonly responseMode?: Mode;
|
|
504
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
505
|
-
readonly valid:
|
|
506
|
-
readonly error: {
|
|
507
|
-
readonly message:
|
|
508
|
-
readonly code:
|
|
509
|
-
}
|
|
510
|
-
readonly key: {
|
|
511
|
-
readonly id:
|
|
512
|
-
readonly configId:
|
|
513
|
-
readonly name:
|
|
514
|
-
readonly start:
|
|
515
|
-
readonly prefix:
|
|
516
|
-
readonly referenceId:
|
|
517
|
-
readonly enabled:
|
|
518
|
-
readonly expiresAt: Date
|
|
519
|
-
readonly createdAt: Date;
|
|
520
|
-
readonly updatedAt: Date;
|
|
521
|
-
readonly permissions:
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
} | null;
|
|
526
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
518
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
519
|
+
readonly valid: import("effect/Schema").Boolean;
|
|
520
|
+
readonly error: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
521
|
+
readonly message: import("effect/Schema").String;
|
|
522
|
+
readonly code: import("effect/Schema").String;
|
|
523
|
+
}>>;
|
|
524
|
+
readonly key: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
525
|
+
readonly id: import("effect/Schema").String;
|
|
526
|
+
readonly configId: import("effect/Schema").String;
|
|
527
|
+
readonly name: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
528
|
+
readonly start: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
529
|
+
readonly prefix: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
530
|
+
readonly referenceId: import("effect/Schema").String;
|
|
531
|
+
readonly enabled: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
|
|
532
|
+
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").Date>;
|
|
533
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
534
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
535
|
+
readonly permissions: import("effect/Schema").NullOr<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>>>;
|
|
536
|
+
readonly metadata: import("effect/Schema").NullOr<import("effect/Schema").Unknown>;
|
|
537
|
+
}>>;
|
|
538
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
527
539
|
readonly verifyPassword: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
528
|
-
readonly payload: {
|
|
529
|
-
readonly password:
|
|
530
|
-
}
|
|
540
|
+
readonly payload: import("effect/Schema").Struct.ReadonlySide<{
|
|
541
|
+
readonly password: import("effect/Schema").NonEmptyString;
|
|
542
|
+
}, "Type">;
|
|
531
543
|
readonly responseMode?: Mode;
|
|
532
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
533
|
-
readonly ok:
|
|
534
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
544
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
545
|
+
readonly ok: import("effect/Schema").Boolean;
|
|
546
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("./extra").ExtraBadRequest | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
|
|
535
547
|
};
|
|
536
548
|
domains: {
|
|
537
549
|
readonly createDomain: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
@@ -548,7 +560,11 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
548
560
|
readonly hostname: string;
|
|
549
561
|
readonly rootHostname: string;
|
|
550
562
|
readonly projectId: string | null;
|
|
563
|
+
readonly projectName?: string | null | undefined;
|
|
564
|
+
readonly projectLogo?: string | null | undefined;
|
|
551
565
|
readonly organizationId: string | null;
|
|
566
|
+
readonly organizationName?: string | null | undefined;
|
|
567
|
+
readonly organizationLogo?: string | null | undefined;
|
|
552
568
|
readonly hostnameId: string;
|
|
553
569
|
readonly managed: boolean;
|
|
554
570
|
readonly active: boolean;
|
|
@@ -556,16 +572,20 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
556
572
|
readonly updatedAt: Date;
|
|
557
573
|
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.BadRequest | HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
558
574
|
readonly deleteDomain: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
559
|
-
readonly params: {
|
|
560
|
-
readonly id:
|
|
561
|
-
}
|
|
575
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
576
|
+
readonly id: import("effect/Schema").NonEmptyString;
|
|
577
|
+
}, "Type">;
|
|
562
578
|
readonly responseMode?: Mode;
|
|
563
579
|
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
564
580
|
readonly id: string;
|
|
565
581
|
readonly hostname: string;
|
|
566
582
|
readonly rootHostname: string;
|
|
567
583
|
readonly projectId: string | null;
|
|
584
|
+
readonly projectName?: string | null | undefined;
|
|
585
|
+
readonly projectLogo?: string | null | undefined;
|
|
568
586
|
readonly organizationId: string | null;
|
|
587
|
+
readonly organizationName?: string | null | undefined;
|
|
588
|
+
readonly organizationLogo?: string | null | undefined;
|
|
569
589
|
readonly hostnameId: string;
|
|
570
590
|
readonly managed: boolean;
|
|
571
591
|
readonly active: boolean;
|
|
@@ -573,16 +593,20 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
573
593
|
readonly updatedAt: Date;
|
|
574
594
|
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
575
595
|
readonly getDomain: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
576
|
-
readonly params: {
|
|
577
|
-
readonly id:
|
|
578
|
-
}
|
|
596
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
597
|
+
readonly id: import("effect/Schema").NonEmptyString;
|
|
598
|
+
}, "Type">;
|
|
579
599
|
readonly responseMode?: Mode;
|
|
580
600
|
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
581
601
|
readonly id: string;
|
|
582
602
|
readonly hostname: string;
|
|
583
603
|
readonly rootHostname: string;
|
|
584
604
|
readonly projectId: string | null;
|
|
605
|
+
readonly projectName?: string | null | undefined;
|
|
606
|
+
readonly projectLogo?: string | null | undefined;
|
|
585
607
|
readonly organizationId: string | null;
|
|
608
|
+
readonly organizationName?: string | null | undefined;
|
|
609
|
+
readonly organizationLogo?: string | null | undefined;
|
|
586
610
|
readonly hostnameId: string;
|
|
587
611
|
readonly managed: boolean;
|
|
588
612
|
readonly active: boolean;
|
|
@@ -590,16 +614,20 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
590
614
|
readonly updatedAt: Date;
|
|
591
615
|
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
592
616
|
readonly getDomainByHost: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
593
|
-
readonly params: {
|
|
594
|
-
readonly hostname:
|
|
595
|
-
}
|
|
617
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
618
|
+
readonly hostname: import("effect/Schema").NonEmptyString;
|
|
619
|
+
}, "Type">;
|
|
596
620
|
readonly responseMode?: Mode;
|
|
597
621
|
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
598
622
|
readonly id: string;
|
|
599
623
|
readonly hostname: string;
|
|
600
624
|
readonly rootHostname: string;
|
|
601
625
|
readonly projectId: string | null;
|
|
626
|
+
readonly projectName?: string | null | undefined;
|
|
627
|
+
readonly projectLogo?: string | null | undefined;
|
|
602
628
|
readonly organizationId: string | null;
|
|
629
|
+
readonly organizationName?: string | null | undefined;
|
|
630
|
+
readonly organizationLogo?: string | null | undefined;
|
|
603
631
|
readonly hostnameId: string;
|
|
604
632
|
readonly managed: boolean;
|
|
605
633
|
readonly active: boolean;
|
|
@@ -607,122 +635,122 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
607
635
|
readonly updatedAt: Date;
|
|
608
636
|
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
609
637
|
readonly getDomainRecords: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
610
|
-
readonly params: {
|
|
611
|
-
readonly id:
|
|
612
|
-
}
|
|
638
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
639
|
+
readonly id: import("effect/Schema").NonEmptyString;
|
|
640
|
+
}, "Type">;
|
|
613
641
|
readonly responseMode?: Mode;
|
|
614
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<readonly {
|
|
615
|
-
readonly required:
|
|
616
|
-
readonly status:
|
|
617
|
-
readonly type:
|
|
618
|
-
readonly name:
|
|
619
|
-
readonly value:
|
|
620
|
-
}[], Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
642
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
643
|
+
readonly required: import("effect/Schema").Boolean;
|
|
644
|
+
readonly status: import("effect/Schema").String;
|
|
645
|
+
readonly type: import("effect/Schema").String;
|
|
646
|
+
readonly name: import("effect/Schema").String;
|
|
647
|
+
readonly value: import("effect/Schema").String;
|
|
648
|
+
}, "Type">[], Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
621
649
|
};
|
|
622
650
|
organizations: {
|
|
623
651
|
readonly getActiveMember: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
624
|
-
readonly params: {
|
|
625
|
-
readonly organizationId:
|
|
626
|
-
readonly userId:
|
|
627
|
-
}
|
|
652
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
653
|
+
readonly organizationId: import("effect/Schema").NonEmptyString;
|
|
654
|
+
readonly userId: import("effect/Schema").NonEmptyString;
|
|
655
|
+
}, "Type">;
|
|
628
656
|
readonly responseMode?: Mode;
|
|
629
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
630
|
-
readonly id:
|
|
631
|
-
readonly organizationId:
|
|
632
|
-
readonly userId:
|
|
633
|
-
readonly role:
|
|
634
|
-
readonly createdAt: Date;
|
|
635
|
-
readonly user: {
|
|
636
|
-
readonly id:
|
|
637
|
-
readonly name:
|
|
638
|
-
readonly email:
|
|
639
|
-
readonly emailVerified:
|
|
640
|
-
readonly image:
|
|
641
|
-
readonly role:
|
|
642
|
-
readonly banned:
|
|
643
|
-
readonly lastLoginMethod
|
|
644
|
-
readonly createdAt: Date;
|
|
645
|
-
readonly updatedAt: Date;
|
|
646
|
-
}
|
|
647
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
657
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
658
|
+
readonly id: import("effect/Schema").String;
|
|
659
|
+
readonly organizationId: import("effect/Schema").String;
|
|
660
|
+
readonly userId: import("effect/Schema").String;
|
|
661
|
+
readonly role: import("effect/Schema").String;
|
|
662
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
663
|
+
readonly user: import("effect/Schema").Struct<{
|
|
664
|
+
readonly id: import("effect/Schema").String;
|
|
665
|
+
readonly name: import("effect/Schema").String;
|
|
666
|
+
readonly email: import("effect/Schema").String;
|
|
667
|
+
readonly emailVerified: import("effect/Schema").Boolean;
|
|
668
|
+
readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
669
|
+
readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
670
|
+
readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
|
|
671
|
+
readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
672
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
673
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
674
|
+
}>;
|
|
675
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
648
676
|
readonly getOrganization: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
649
|
-
readonly params: {
|
|
650
|
-
readonly id:
|
|
651
|
-
}
|
|
677
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
678
|
+
readonly id: import("effect/Schema").NonEmptyString;
|
|
679
|
+
}, "Type">;
|
|
652
680
|
readonly responseMode?: Mode;
|
|
653
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
654
|
-
readonly id:
|
|
655
|
-
readonly name:
|
|
656
|
-
readonly slug:
|
|
657
|
-
readonly logo:
|
|
658
|
-
readonly metadata: {
|
|
659
|
-
readonly translations:
|
|
660
|
-
readonly locale: "en"
|
|
661
|
-
readonly name:
|
|
662
|
-
readonly logo
|
|
663
|
-
readonly icon
|
|
664
|
-
readonly contactEmail
|
|
665
|
-
readonly location
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
readonly createdAt: Date;
|
|
669
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
681
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
682
|
+
readonly id: import("effect/Schema").String;
|
|
683
|
+
readonly name: import("effect/Schema").String;
|
|
684
|
+
readonly slug: import("effect/Schema").String;
|
|
685
|
+
readonly logo: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
686
|
+
readonly metadata: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
687
|
+
readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
688
|
+
readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
|
|
689
|
+
readonly name: import("effect/Schema").String;
|
|
690
|
+
readonly logo: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
691
|
+
readonly icon: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
692
|
+
readonly contactEmail: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
693
|
+
readonly location: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
694
|
+
}>>;
|
|
695
|
+
}>>;
|
|
696
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
697
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
670
698
|
readonly listOrganizationMembers: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
671
|
-
readonly params: {
|
|
672
|
-
readonly organizationId:
|
|
673
|
-
}
|
|
699
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
700
|
+
readonly organizationId: import("effect/Schema").NonEmptyString;
|
|
701
|
+
}, "Type">;
|
|
674
702
|
readonly responseMode?: Mode;
|
|
675
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<readonly {
|
|
676
|
-
readonly id:
|
|
677
|
-
readonly organizationId:
|
|
678
|
-
readonly userId:
|
|
679
|
-
readonly role:
|
|
680
|
-
readonly createdAt: Date;
|
|
681
|
-
readonly user: {
|
|
682
|
-
readonly id:
|
|
683
|
-
readonly name:
|
|
684
|
-
readonly email:
|
|
685
|
-
readonly emailVerified:
|
|
686
|
-
readonly image:
|
|
687
|
-
readonly role:
|
|
688
|
-
readonly banned:
|
|
689
|
-
readonly lastLoginMethod
|
|
690
|
-
readonly createdAt: Date;
|
|
691
|
-
readonly updatedAt: Date;
|
|
692
|
-
}
|
|
693
|
-
}[], Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
703
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
704
|
+
readonly id: import("effect/Schema").String;
|
|
705
|
+
readonly organizationId: import("effect/Schema").String;
|
|
706
|
+
readonly userId: import("effect/Schema").String;
|
|
707
|
+
readonly role: import("effect/Schema").String;
|
|
708
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
709
|
+
readonly user: import("effect/Schema").Struct<{
|
|
710
|
+
readonly id: import("effect/Schema").String;
|
|
711
|
+
readonly name: import("effect/Schema").String;
|
|
712
|
+
readonly email: import("effect/Schema").String;
|
|
713
|
+
readonly emailVerified: import("effect/Schema").Boolean;
|
|
714
|
+
readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
715
|
+
readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
716
|
+
readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
|
|
717
|
+
readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
718
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
719
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
720
|
+
}>;
|
|
721
|
+
}, "Type">[], Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
694
722
|
readonly listOrganizations: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
695
723
|
readonly query: {
|
|
696
724
|
readonly ids?: string | undefined;
|
|
697
725
|
readonly userId?: string | undefined;
|
|
698
726
|
};
|
|
699
727
|
readonly responseMode?: Mode;
|
|
700
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
701
|
-
readonly data:
|
|
702
|
-
readonly id:
|
|
703
|
-
readonly name:
|
|
704
|
-
readonly slug:
|
|
705
|
-
readonly logo:
|
|
706
|
-
readonly metadata: {
|
|
707
|
-
readonly translations:
|
|
708
|
-
readonly locale: "en"
|
|
709
|
-
readonly name:
|
|
710
|
-
readonly logo
|
|
711
|
-
readonly icon
|
|
712
|
-
readonly contactEmail
|
|
713
|
-
readonly location
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
readonly createdAt: Date;
|
|
717
|
-
}
|
|
718
|
-
readonly missingIds:
|
|
719
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.BadRequest | HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
728
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
729
|
+
readonly data: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
730
|
+
readonly id: import("effect/Schema").String;
|
|
731
|
+
readonly name: import("effect/Schema").String;
|
|
732
|
+
readonly slug: import("effect/Schema").String;
|
|
733
|
+
readonly logo: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
734
|
+
readonly metadata: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
735
|
+
readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
736
|
+
readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
|
|
737
|
+
readonly name: import("effect/Schema").String;
|
|
738
|
+
readonly logo: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
739
|
+
readonly icon: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
740
|
+
readonly contactEmail: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
741
|
+
readonly location: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
742
|
+
}>>;
|
|
743
|
+
}>>;
|
|
744
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
745
|
+
}>>;
|
|
746
|
+
readonly missingIds: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
747
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.BadRequest | HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
720
748
|
};
|
|
721
749
|
users: {
|
|
722
750
|
readonly getUser: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
723
|
-
readonly params: {
|
|
724
|
-
readonly id:
|
|
725
|
-
}
|
|
751
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
752
|
+
readonly id: import("effect/Schema").NonEmptyString;
|
|
753
|
+
}, "Type">;
|
|
726
754
|
readonly responseMode?: Mode;
|
|
727
755
|
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
728
756
|
readonly id: string;
|
|
@@ -737,33 +765,33 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
|
|
|
737
765
|
readonly updatedAt: Date;
|
|
738
766
|
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
739
767
|
readonly getUserActiveOrganization: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
740
|
-
readonly params: {
|
|
741
|
-
readonly userId:
|
|
742
|
-
}
|
|
768
|
+
readonly params: import("effect/Schema").Struct.ReadonlySide<{
|
|
769
|
+
readonly userId: import("effect/Schema").NonEmptyString;
|
|
770
|
+
}, "Type">;
|
|
743
771
|
readonly responseMode?: Mode;
|
|
744
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
745
|
-
readonly id:
|
|
746
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
772
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
773
|
+
readonly id: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
774
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
747
775
|
readonly listUsersByIds: <Mode extends HttpApiClient.Client.ResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
|
|
748
|
-
readonly query: {
|
|
749
|
-
readonly ids:
|
|
750
|
-
}
|
|
776
|
+
readonly query: import("effect/Schema").Struct.ReadonlySide<{
|
|
777
|
+
readonly ids: import("effect/Schema").NonEmptyString;
|
|
778
|
+
}, "Type">;
|
|
751
779
|
readonly responseMode?: Mode;
|
|
752
|
-
}) => Effect.Effect<HttpApiClient.Client.Response<{
|
|
753
|
-
readonly data:
|
|
754
|
-
readonly id:
|
|
755
|
-
readonly name:
|
|
756
|
-
readonly email:
|
|
757
|
-
readonly emailVerified:
|
|
758
|
-
readonly image:
|
|
759
|
-
readonly role:
|
|
760
|
-
readonly banned:
|
|
761
|
-
readonly lastLoginMethod
|
|
762
|
-
readonly createdAt: Date;
|
|
763
|
-
readonly updatedAt: Date;
|
|
764
|
-
}
|
|
765
|
-
readonly missingIds:
|
|
766
|
-
}, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
780
|
+
}) => Effect.Effect<HttpApiClient.Client.Response<import("effect/Schema").Struct.ReadonlySide<{
|
|
781
|
+
readonly data: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
782
|
+
readonly id: import("effect/Schema").String;
|
|
783
|
+
readonly name: import("effect/Schema").String;
|
|
784
|
+
readonly email: import("effect/Schema").String;
|
|
785
|
+
readonly emailVerified: import("effect/Schema").Boolean;
|
|
786
|
+
readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
787
|
+
readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
788
|
+
readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
|
|
789
|
+
readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
790
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
791
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
792
|
+
}>>;
|
|
793
|
+
readonly missingIds: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
794
|
+
}, "Type">, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : HttpApiError.InternalServerError | import("effect/Schema").SchemaError | HttpApiError.Unauthorized), [Mode] extends ["response-only"] ? never : never>;
|
|
767
795
|
};
|
|
768
796
|
}, never, AuthClientConfig | HttpClient.HttpClient>;
|
|
769
797
|
};
|