@djangocfg/api 2.1.573 → 2.1.575
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/AccountDeleteResponse-32BGUXEK.mjs +13 -0
- package/dist/AccountDeleteResponse-32BGUXEK.mjs.map +1 -0
- package/dist/OAuthAuthorizeResponse-TQMQXACC.mjs +13 -0
- package/dist/OAuthAuthorizeResponse-TQMQXACC.mjs.map +1 -0
- package/dist/OAuthProvidersResponse-VM3YO5FZ.mjs +12 -0
- package/dist/OAuthProvidersResponse-VM3YO5FZ.mjs.map +1 -0
- package/dist/OAuthTokenResponse-ELAZFNHE.mjs +20 -0
- package/dist/OAuthTokenResponse-ELAZFNHE.mjs.map +1 -0
- package/dist/OTPRequestResponse-ZU5KRNSW.mjs +30 -0
- package/dist/OTPRequestResponse-ZU5KRNSW.mjs.map +1 -0
- package/dist/OTPVerifyResponse-LJVUP5JS.mjs +21 -0
- package/dist/OTPVerifyResponse-LJVUP5JS.mjs.map +1 -0
- package/dist/PasswordLoginResponse-A7QRJTAQ.mjs +21 -0
- package/dist/PasswordLoginResponse-A7QRJTAQ.mjs.map +1 -0
- package/dist/TokenRefresh-JAUMGIFS.mjs +13 -0
- package/dist/TokenRefresh-JAUMGIFS.mjs.map +1 -0
- package/dist/auth.cjs +0 -370
- package/dist/auth.cjs.map +1 -1
- package/dist/auth.d.cts +1 -12
- package/dist/auth.d.ts +1 -12
- package/dist/auth.mjs +3 -143
- package/dist/auth.mjs.map +1 -1
- package/dist/cfg_accounts_oauth_connections_response_200_AutoRef-ILSH4EVV.mjs +31 -0
- package/dist/cfg_accounts_oauth_connections_response_200_AutoRef-ILSH4EVV.mjs.map +1 -0
- package/dist/cfg_accounts_oauth_disconnect_response_200_AutoRef-4ZCO4CSB.mjs +12 -0
- package/dist/cfg_accounts_oauth_disconnect_response_200_AutoRef-4ZCO4CSB.mjs.map +1 -0
- package/package.json +2 -2
- package/src/auth/context/AccountsContext.tsx +0 -2
- package/src/auth/context/index.ts +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "./chunk-53YKWR6F.mjs";
|
|
3
|
+
|
|
4
|
+
// src/_api/generated/_cfg_accounts/schemas/AccountDeleteResponse.ts
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
var AccountDeleteResponseSchema = z.object({
|
|
7
|
+
success: z.boolean(),
|
|
8
|
+
message: z.string()
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
AccountDeleteResponseSchema
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=AccountDeleteResponse-32BGUXEK.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/_api/generated/_cfg_accounts/schemas/AccountDeleteResponse.ts"],"sourcesContent":["// AUTO-GENERATED by cmdop_server / devtools.generator.ts_extras\n// Source: OpenAPI 3.1 components.schemas\n// DO NOT EDIT — re-run `make gen-clients`.\n\nimport { z } from \"zod\";\n\nexport const AccountDeleteResponseSchema = z.object({\n success: z.boolean(),\n message: z.string(),\n});\n\nexport type AccountDeleteResponse = z.infer<typeof AccountDeleteResponseSchema>;\n"],"mappings":";;;;AAIA,SAAS,SAAS;AAEX,IAAM,8BAA8B,EAAE,OAAO;AAAA,EAClD,SAAS,EAAE,QAAQ;AAAA,EACnB,SAAS,EAAE,OAAO;AACpB,CAAC;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "./chunk-53YKWR6F.mjs";
|
|
3
|
+
|
|
4
|
+
// src/_api/generated/_cfg_accounts/schemas/OAuthAuthorizeResponse.ts
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
var OAuthAuthorizeResponseSchema = z.object({
|
|
7
|
+
authorization_url: z.url().or(z.literal("")),
|
|
8
|
+
state: z.string()
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
OAuthAuthorizeResponseSchema
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=OAuthAuthorizeResponse-TQMQXACC.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/_api/generated/_cfg_accounts/schemas/OAuthAuthorizeResponse.ts"],"sourcesContent":["// AUTO-GENERATED by cmdop_server / devtools.generator.ts_extras\n// Source: OpenAPI 3.1 components.schemas\n// DO NOT EDIT — re-run `make gen-clients`.\n\nimport { z } from \"zod\";\n\nexport const OAuthAuthorizeResponseSchema = z.object({\n authorization_url: z.url().or(z.literal(\"\")),\n state: z.string(),\n});\n\nexport type OAuthAuthorizeResponse = z.infer<typeof OAuthAuthorizeResponseSchema>;\n"],"mappings":";;;;AAIA,SAAS,SAAS;AAEX,IAAM,+BAA+B,EAAE,OAAO;AAAA,EACnD,mBAAmB,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC;AAAA,EAC3C,OAAO,EAAE,OAAO;AAClB,CAAC;","names":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "./chunk-53YKWR6F.mjs";
|
|
3
|
+
|
|
4
|
+
// src/_api/generated/_cfg_accounts/schemas/OAuthProvidersResponse.ts
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
var OAuthProvidersResponseSchema = z.object({
|
|
7
|
+
providers: z.array(z.object({}).passthrough())
|
|
8
|
+
});
|
|
9
|
+
export {
|
|
10
|
+
OAuthProvidersResponseSchema
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=OAuthProvidersResponse-VM3YO5FZ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/_api/generated/_cfg_accounts/schemas/OAuthProvidersResponse.ts"],"sourcesContent":["// AUTO-GENERATED by cmdop_server / devtools.generator.ts_extras\n// Source: OpenAPI 3.1 components.schemas\n// DO NOT EDIT — re-run `make gen-clients`.\n\nimport { z } from \"zod\";\n\nexport const OAuthProvidersResponseSchema = z.object({\n providers: z.array(z.object({}).passthrough()),\n});\n\nexport type OAuthProvidersResponse = z.infer<typeof OAuthProvidersResponseSchema>;\n"],"mappings":";;;;AAIA,SAAS,SAAS;AAEX,IAAM,+BAA+B,EAAE,OAAO;AAAA,EACnD,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,YAAY,CAAC;AAC/C,CAAC;","names":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "./chunk-53YKWR6F.mjs";
|
|
3
|
+
|
|
4
|
+
// src/_api/generated/_cfg_accounts/schemas/OAuthTokenResponse.ts
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
var OAuthTokenResponseSchema = z.object({
|
|
7
|
+
requires_2fa: z.boolean().default(false).optional(),
|
|
8
|
+
session_id: z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i).nullable().optional(),
|
|
9
|
+
access: z.string().nullable().optional(),
|
|
10
|
+
refresh: z.string().nullable().optional(),
|
|
11
|
+
user: z.object({}).passthrough().nullable().optional(),
|
|
12
|
+
is_new_user: z.boolean().default(false).optional(),
|
|
13
|
+
is_new_connection: z.boolean().default(false).optional(),
|
|
14
|
+
should_prompt_2fa: z.boolean().optional(),
|
|
15
|
+
persistent_session: z.boolean().optional()
|
|
16
|
+
});
|
|
17
|
+
export {
|
|
18
|
+
OAuthTokenResponseSchema
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=OAuthTokenResponse-ELAZFNHE.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/_api/generated/_cfg_accounts/schemas/OAuthTokenResponse.ts"],"sourcesContent":["// AUTO-GENERATED by cmdop_server / devtools.generator.ts_extras\n// Source: OpenAPI 3.1 components.schemas\n// DO NOT EDIT — re-run `make gen-clients`.\n\nimport { z } from \"zod\";\n\nexport const OAuthTokenResponseSchema = z.object({\n requires_2fa: z.boolean().default(false).optional(),\n session_id: z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i).nullable().optional(),\n access: z.string().nullable().optional(),\n refresh: z.string().nullable().optional(),\n user: z.object({}).passthrough().nullable().optional(),\n is_new_user: z.boolean().default(false).optional(),\n is_new_connection: z.boolean().default(false).optional(),\n should_prompt_2fa: z.boolean().optional(),\n persistent_session: z.boolean().optional(),\n});\n\nexport type OAuthTokenResponse = z.infer<typeof OAuthTokenResponseSchema>;\n"],"mappings":";;;;AAIA,SAAS,SAAS;AAEX,IAAM,2BAA2B,EAAE,OAAO;AAAA,EAC/C,cAAc,EAAE,QAAQ,EAAE,QAAQ,KAAK,EAAE,SAAS;AAAA,EAClD,YAAY,EAAE,OAAO,EAAE,MAAM,iEAAiE,EAAE,SAAS,EAAE,SAAS;AAAA,EACpH,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS;AAAA,EACvC,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS;AAAA,EACxC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS;AAAA,EACrD,aAAa,EAAE,QAAQ,EAAE,QAAQ,KAAK,EAAE,SAAS;AAAA,EACjD,mBAAmB,EAAE,QAAQ,EAAE,QAAQ,KAAK,EAAE,SAAS;AAAA,EACvD,mBAAmB,EAAE,QAAQ,EAAE,SAAS;AAAA,EACxC,oBAAoB,EAAE,QAAQ,EAAE,SAAS;AAC3C,CAAC;","names":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "./chunk-53YKWR6F.mjs";
|
|
3
|
+
|
|
4
|
+
// src/_api/generated/_cfg_accounts/schemas/OTPRequestResponse.ts
|
|
5
|
+
import { z as z3 } from "zod";
|
|
6
|
+
|
|
7
|
+
// src/_api/generated/_cfg_accounts/schemas/WebmailLink.ts
|
|
8
|
+
import { z as z2 } from "zod";
|
|
9
|
+
|
|
10
|
+
// src/_api/generated/_cfg_accounts/schemas/WebmailLinkProviderEnum.ts
|
|
11
|
+
import { z } from "zod";
|
|
12
|
+
var WebmailLinkProviderEnumSchema = z.enum(["gmail", "outlook", "yahoo", "icloud", "proton", "zoho", "aol", "fastmail", "gmx", "mailcom", "mail_ru", "yandex", "rambler", "qq", "netease", "sina", "aliyun", "naver", "daum", "web_de", "tonline", "seznam", "wp_pl", "o2_pl", "interia", "libero", "virgilio", "orange", "laposte", "free_fr", "sfr"]);
|
|
13
|
+
|
|
14
|
+
// src/_api/generated/_cfg_accounts/schemas/WebmailLink.ts
|
|
15
|
+
var WebmailLinkSchema = z2.object({
|
|
16
|
+
provider: WebmailLinkProviderEnumSchema,
|
|
17
|
+
provider_name: z2.string(),
|
|
18
|
+
url: z2.url().or(z2.literal("")),
|
|
19
|
+
is_search: z2.boolean()
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
// src/_api/generated/_cfg_accounts/schemas/OTPRequestResponse.ts
|
|
23
|
+
var OTPRequestResponseSchema = z3.object({
|
|
24
|
+
message: z3.string(),
|
|
25
|
+
webmail: WebmailLinkSchema.nullable().optional()
|
|
26
|
+
});
|
|
27
|
+
export {
|
|
28
|
+
OTPRequestResponseSchema
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=OTPRequestResponse-ZU5KRNSW.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/_api/generated/_cfg_accounts/schemas/OTPRequestResponse.ts","../src/_api/generated/_cfg_accounts/schemas/WebmailLink.ts","../src/_api/generated/_cfg_accounts/schemas/WebmailLinkProviderEnum.ts"],"sourcesContent":["// AUTO-GENERATED by cmdop_server / devtools.generator.ts_extras\n// Source: OpenAPI 3.1 components.schemas\n// DO NOT EDIT — re-run `make gen-clients`.\n\nimport { z } from \"zod\";\nimport { WebmailLinkSchema } from \"./WebmailLink\";\n\nexport const OTPRequestResponseSchema = z.object({\n message: z.string(),\n webmail: WebmailLinkSchema.nullable().optional(),\n});\n\nexport type OTPRequestResponse = z.infer<typeof OTPRequestResponseSchema>;\n","// AUTO-GENERATED by cmdop_server / devtools.generator.ts_extras\n// Source: OpenAPI 3.1 components.schemas\n// DO NOT EDIT — re-run `make gen-clients`.\n\nimport { z } from \"zod\";\nimport { WebmailLinkProviderEnumSchema } from \"./WebmailLinkProviderEnum\";\n\nexport const WebmailLinkSchema = z.object({\n provider: WebmailLinkProviderEnumSchema,\n provider_name: z.string(),\n url: z.url().or(z.literal(\"\")),\n is_search: z.boolean(),\n});\n\nexport type WebmailLink = z.infer<typeof WebmailLinkSchema>;\n","// AUTO-GENERATED by cmdop_server / devtools.generator.ts_extras\n// Source: OpenAPI 3.1 components.schemas\n// DO NOT EDIT — re-run `make gen-clients`.\n\nimport { z } from \"zod\";\n\nexport const WebmailLinkProviderEnumSchema = z.enum([\"gmail\", \"outlook\", \"yahoo\", \"icloud\", \"proton\", \"zoho\", \"aol\", \"fastmail\", \"gmx\", \"mailcom\", \"mail_ru\", \"yandex\", \"rambler\", \"qq\", \"netease\", \"sina\", \"aliyun\", \"naver\", \"daum\", \"web_de\", \"tonline\", \"seznam\", \"wp_pl\", \"o2_pl\", \"interia\", \"libero\", \"virgilio\", \"orange\", \"laposte\", \"free_fr\", \"sfr\"]);\n\nexport type WebmailLinkProviderEnum = z.infer<typeof WebmailLinkProviderEnumSchema>;\n"],"mappings":";;;;AAIA,SAAS,KAAAA,UAAS;;;ACAlB,SAAS,KAAAC,UAAS;;;ACAlB,SAAS,SAAS;AAEX,IAAM,gCAAgC,EAAE,KAAK,CAAC,SAAS,WAAW,SAAS,UAAU,UAAU,QAAQ,OAAO,YAAY,OAAO,WAAW,WAAW,UAAU,WAAW,MAAM,WAAW,QAAQ,UAAU,SAAS,QAAQ,UAAU,WAAW,UAAU,SAAS,SAAS,WAAW,UAAU,YAAY,UAAU,WAAW,WAAW,KAAK,CAAC;;;ADCxV,IAAM,oBAAoBC,GAAE,OAAO;AAAA,EACxC,UAAU;AAAA,EACV,eAAeA,GAAE,OAAO;AAAA,EACxB,KAAKA,GAAE,IAAI,EAAE,GAAGA,GAAE,QAAQ,EAAE,CAAC;AAAA,EAC7B,WAAWA,GAAE,QAAQ;AACvB,CAAC;;;ADLM,IAAM,2BAA2BC,GAAE,OAAO;AAAA,EAC/C,SAASA,GAAE,OAAO;AAAA,EAClB,SAAS,kBAAkB,SAAS,EAAE,SAAS;AACjD,CAAC;","names":["z","z","z","z"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
UserSchema
|
|
4
|
+
} from "./chunk-B22YGMM3.mjs";
|
|
5
|
+
import "./chunk-53YKWR6F.mjs";
|
|
6
|
+
|
|
7
|
+
// src/_api/generated/_cfg_accounts/schemas/OTPVerifyResponse.ts
|
|
8
|
+
import { z } from "zod";
|
|
9
|
+
var OTPVerifyResponseSchema = z.object({
|
|
10
|
+
requires_2fa: z.boolean().default(false).optional(),
|
|
11
|
+
session_id: z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i).nullable().optional(),
|
|
12
|
+
refresh: z.string().nullable().optional(),
|
|
13
|
+
access: z.string().nullable().optional(),
|
|
14
|
+
user: UserSchema.nullable().optional(),
|
|
15
|
+
should_prompt_2fa: z.boolean().optional(),
|
|
16
|
+
persistent_session: z.boolean().optional()
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
OTPVerifyResponseSchema
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=OTPVerifyResponse-LJVUP5JS.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/_api/generated/_cfg_accounts/schemas/OTPVerifyResponse.ts"],"sourcesContent":["// AUTO-GENERATED by cmdop_server / devtools.generator.ts_extras\n// Source: OpenAPI 3.1 components.schemas\n// DO NOT EDIT — re-run `make gen-clients`.\n\nimport { z } from \"zod\";\nimport { UserSchema } from \"./User\";\n\nexport const OTPVerifyResponseSchema = z.object({\n requires_2fa: z.boolean().default(false).optional(),\n session_id: z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i).nullable().optional(),\n refresh: z.string().nullable().optional(),\n access: z.string().nullable().optional(),\n user: UserSchema.nullable().optional(),\n should_prompt_2fa: z.boolean().optional(),\n persistent_session: z.boolean().optional(),\n});\n\nexport type OTPVerifyResponse = z.infer<typeof OTPVerifyResponseSchema>;\n"],"mappings":";;;;;;;AAIA,SAAS,SAAS;AAGX,IAAM,0BAA0B,EAAE,OAAO;AAAA,EAC9C,cAAc,EAAE,QAAQ,EAAE,QAAQ,KAAK,EAAE,SAAS;AAAA,EAClD,YAAY,EAAE,OAAO,EAAE,MAAM,iEAAiE,EAAE,SAAS,EAAE,SAAS;AAAA,EACpH,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS;AAAA,EACxC,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS;AAAA,EACvC,MAAM,WAAW,SAAS,EAAE,SAAS;AAAA,EACrC,mBAAmB,EAAE,QAAQ,EAAE,SAAS;AAAA,EACxC,oBAAoB,EAAE,QAAQ,EAAE,SAAS;AAC3C,CAAC;","names":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
UserSchema
|
|
4
|
+
} from "./chunk-B22YGMM3.mjs";
|
|
5
|
+
import "./chunk-53YKWR6F.mjs";
|
|
6
|
+
|
|
7
|
+
// src/_api/generated/_cfg_accounts/schemas/PasswordLoginResponse.ts
|
|
8
|
+
import { z } from "zod";
|
|
9
|
+
var PasswordLoginResponseSchema = z.object({
|
|
10
|
+
requires_2fa: z.boolean().default(false).optional(),
|
|
11
|
+
session_id: z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i).nullable().optional(),
|
|
12
|
+
refresh: z.string().nullable().optional(),
|
|
13
|
+
access: z.string().nullable().optional(),
|
|
14
|
+
user: UserSchema.nullable().optional(),
|
|
15
|
+
should_prompt_2fa: z.boolean().optional(),
|
|
16
|
+
persistent_session: z.boolean().optional()
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
PasswordLoginResponseSchema
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=PasswordLoginResponse-A7QRJTAQ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/_api/generated/_cfg_accounts/schemas/PasswordLoginResponse.ts"],"sourcesContent":["// AUTO-GENERATED by cmdop_server / devtools.generator.ts_extras\n// Source: OpenAPI 3.1 components.schemas\n// DO NOT EDIT — re-run `make gen-clients`.\n\nimport { z } from \"zod\";\nimport { UserSchema } from \"./User\";\n\nexport const PasswordLoginResponseSchema = z.object({\n requires_2fa: z.boolean().default(false).optional(),\n session_id: z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i).nullable().optional(),\n refresh: z.string().nullable().optional(),\n access: z.string().nullable().optional(),\n user: UserSchema.nullable().optional(),\n should_prompt_2fa: z.boolean().optional(),\n persistent_session: z.boolean().optional(),\n});\n\nexport type PasswordLoginResponse = z.infer<typeof PasswordLoginResponseSchema>;\n"],"mappings":";;;;;;;AAIA,SAAS,SAAS;AAGX,IAAM,8BAA8B,EAAE,OAAO;AAAA,EAClD,cAAc,EAAE,QAAQ,EAAE,QAAQ,KAAK,EAAE,SAAS;AAAA,EAClD,YAAY,EAAE,OAAO,EAAE,MAAM,iEAAiE,EAAE,SAAS,EAAE,SAAS;AAAA,EACpH,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS;AAAA,EACxC,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS;AAAA,EACvC,MAAM,WAAW,SAAS,EAAE,SAAS;AAAA,EACrC,mBAAmB,EAAE,QAAQ,EAAE,SAAS;AAAA,EACxC,oBAAoB,EAAE,QAAQ,EAAE,SAAS;AAC3C,CAAC;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "./chunk-53YKWR6F.mjs";
|
|
3
|
+
|
|
4
|
+
// src/_api/generated/_cfg_accounts/schemas/TokenRefresh.ts
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
var TokenRefreshSchema = z.object({
|
|
7
|
+
access: z.string(),
|
|
8
|
+
refresh: z.string()
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
TokenRefreshSchema
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=TokenRefresh-JAUMGIFS.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/_api/generated/_cfg_accounts/schemas/TokenRefresh.ts"],"sourcesContent":["// AUTO-GENERATED by cmdop_server / devtools.generator.ts_extras\n// Source: OpenAPI 3.1 components.schemas\n// DO NOT EDIT — re-run `make gen-clients`.\n\nimport { z } from \"zod\";\n\nexport const TokenRefreshSchema = z.object({\n access: z.string(),\n refresh: z.string(),\n});\n\nexport type TokenRefresh = z.infer<typeof TokenRefreshSchema>;\n"],"mappings":";;;;AAIA,SAAS,SAAS;AAEX,IAAM,qBAAqB,EAAE,OAAO;AAAA,EACzC,QAAQ,EAAE,OAAO;AAAA,EACjB,SAAS,EAAE,OAAO;AACpB,CAAC;","names":[]}
|
package/dist/auth.cjs
CHANGED
|
@@ -156,208 +156,6 @@ var init_PasswordLoginResponse = __esm({
|
|
|
156
156
|
}
|
|
157
157
|
});
|
|
158
158
|
|
|
159
|
-
// src/_api/generated/_cfg_accounts/schemas/APIKey.ts
|
|
160
|
-
var import_zod7, APIKeySchema;
|
|
161
|
-
var init_APIKey = __esm({
|
|
162
|
-
"src/_api/generated/_cfg_accounts/schemas/APIKey.ts"() {
|
|
163
|
-
"use strict";
|
|
164
|
-
import_zod7 = require("zod");
|
|
165
|
-
APIKeySchema = import_zod7.z.object({
|
|
166
|
-
key: import_zod7.z.string(),
|
|
167
|
-
reissued_at: import_zod7.z.string().datetime({ offset: true }).nullable(),
|
|
168
|
-
created_at: import_zod7.z.string().datetime({ offset: true })
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
|
-
});
|
|
172
|
-
|
|
173
|
-
// src/_api/generated/_cfg_accounts/schemas/APIKeyRegenerate.ts
|
|
174
|
-
var import_zod8, APIKeyRegenerateSchema;
|
|
175
|
-
var init_APIKeyRegenerate = __esm({
|
|
176
|
-
"src/_api/generated/_cfg_accounts/schemas/APIKeyRegenerate.ts"() {
|
|
177
|
-
"use strict";
|
|
178
|
-
import_zod8 = require("zod");
|
|
179
|
-
APIKeyRegenerateSchema = import_zod8.z.object({
|
|
180
|
-
key: import_zod8.z.string(),
|
|
181
|
-
reissued_at: import_zod8.z.string().datetime({ offset: true })
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
});
|
|
185
|
-
|
|
186
|
-
// src/_api/generated/_cfg_accounts/schemas/APIKeyReveal.ts
|
|
187
|
-
var import_zod10, APIKeyRevealSchema;
|
|
188
|
-
var init_APIKeyReveal = __esm({
|
|
189
|
-
"src/_api/generated/_cfg_accounts/schemas/APIKeyReveal.ts"() {
|
|
190
|
-
"use strict";
|
|
191
|
-
import_zod10 = require("zod");
|
|
192
|
-
APIKeyRevealSchema = import_zod10.z.object({
|
|
193
|
-
key: import_zod10.z.string(),
|
|
194
|
-
created_at: import_zod10.z.string().datetime({ offset: true }),
|
|
195
|
-
reissued_at: import_zod10.z.string().datetime({ offset: true }).nullable()
|
|
196
|
-
});
|
|
197
|
-
}
|
|
198
|
-
});
|
|
199
|
-
|
|
200
|
-
// src/_api/generated/_cfg_accounts/schemas/APIKeyTestResult.ts
|
|
201
|
-
var import_zod12, APIKeyTestResultSchema;
|
|
202
|
-
var init_APIKeyTestResult = __esm({
|
|
203
|
-
"src/_api/generated/_cfg_accounts/schemas/APIKeyTestResult.ts"() {
|
|
204
|
-
"use strict";
|
|
205
|
-
import_zod12 = require("zod");
|
|
206
|
-
APIKeyTestResultSchema = import_zod12.z.object({
|
|
207
|
-
valid: import_zod12.z.boolean(),
|
|
208
|
-
user_id: import_zod12.z.string().nullable()
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
});
|
|
212
|
-
|
|
213
|
-
// src/_api/generated/_cfg_accounts/schemas/AccountDeleteResponse.ts
|
|
214
|
-
var import_zod13, AccountDeleteResponseSchema;
|
|
215
|
-
var init_AccountDeleteResponse = __esm({
|
|
216
|
-
"src/_api/generated/_cfg_accounts/schemas/AccountDeleteResponse.ts"() {
|
|
217
|
-
"use strict";
|
|
218
|
-
import_zod13 = require("zod");
|
|
219
|
-
AccountDeleteResponseSchema = import_zod13.z.object({
|
|
220
|
-
success: import_zod13.z.boolean(),
|
|
221
|
-
message: import_zod13.z.string()
|
|
222
|
-
});
|
|
223
|
-
}
|
|
224
|
-
});
|
|
225
|
-
|
|
226
|
-
// src/_api/generated/_cfg_accounts/schemas/MarketingConsentDefaultEnum.ts
|
|
227
|
-
var import_zod15, MarketingConsentDefaultEnumSchema;
|
|
228
|
-
var init_MarketingConsentDefaultEnum = __esm({
|
|
229
|
-
"src/_api/generated/_cfg_accounts/schemas/MarketingConsentDefaultEnum.ts"() {
|
|
230
|
-
"use strict";
|
|
231
|
-
import_zod15 = require("zod");
|
|
232
|
-
MarketingConsentDefaultEnumSchema = import_zod15.z.enum(["checked", "unchecked"]);
|
|
233
|
-
}
|
|
234
|
-
});
|
|
235
|
-
|
|
236
|
-
// src/_api/generated/_cfg_accounts/schemas/ConsentPolicy.ts
|
|
237
|
-
var import_zod16, ConsentPolicySchema;
|
|
238
|
-
var init_ConsentPolicy = __esm({
|
|
239
|
-
"src/_api/generated/_cfg_accounts/schemas/ConsentPolicy.ts"() {
|
|
240
|
-
"use strict";
|
|
241
|
-
import_zod16 = require("zod");
|
|
242
|
-
init_MarketingConsentDefaultEnum();
|
|
243
|
-
ConsentPolicySchema = import_zod16.z.object({
|
|
244
|
-
country: import_zod16.z.string(),
|
|
245
|
-
marketing_consent_default: MarketingConsentDefaultEnumSchema
|
|
246
|
-
});
|
|
247
|
-
}
|
|
248
|
-
});
|
|
249
|
-
|
|
250
|
-
// src/_api/generated/_cfg_accounts/schemas/OAuthAuthorizeResponse.ts
|
|
251
|
-
var import_zod18, OAuthAuthorizeResponseSchema;
|
|
252
|
-
var init_OAuthAuthorizeResponse = __esm({
|
|
253
|
-
"src/_api/generated/_cfg_accounts/schemas/OAuthAuthorizeResponse.ts"() {
|
|
254
|
-
"use strict";
|
|
255
|
-
import_zod18 = require("zod");
|
|
256
|
-
OAuthAuthorizeResponseSchema = import_zod18.z.object({
|
|
257
|
-
authorization_url: import_zod18.z.url().or(import_zod18.z.literal("")),
|
|
258
|
-
state: import_zod18.z.string()
|
|
259
|
-
});
|
|
260
|
-
}
|
|
261
|
-
});
|
|
262
|
-
|
|
263
|
-
// src/_api/generated/_cfg_accounts/schemas/OAuthProviderEnum.ts
|
|
264
|
-
var import_zod20, OAuthProviderEnumSchema;
|
|
265
|
-
var init_OAuthProviderEnum = __esm({
|
|
266
|
-
"src/_api/generated/_cfg_accounts/schemas/OAuthProviderEnum.ts"() {
|
|
267
|
-
"use strict";
|
|
268
|
-
import_zod20 = require("zod");
|
|
269
|
-
OAuthProviderEnumSchema = import_zod20.z.enum(["github"]);
|
|
270
|
-
}
|
|
271
|
-
});
|
|
272
|
-
|
|
273
|
-
// src/_api/generated/_cfg_accounts/schemas/OAuthConnection.ts
|
|
274
|
-
var import_zod21, OAuthConnectionSchema;
|
|
275
|
-
var init_OAuthConnection = __esm({
|
|
276
|
-
"src/_api/generated/_cfg_accounts/schemas/OAuthConnection.ts"() {
|
|
277
|
-
"use strict";
|
|
278
|
-
import_zod21 = require("zod");
|
|
279
|
-
init_OAuthProviderEnum();
|
|
280
|
-
OAuthConnectionSchema = import_zod21.z.object({
|
|
281
|
-
id: import_zod21.z.number().int(),
|
|
282
|
-
provider: OAuthProviderEnumSchema,
|
|
283
|
-
provider_display: import_zod21.z.string(),
|
|
284
|
-
provider_username: import_zod21.z.string(),
|
|
285
|
-
provider_email: import_zod21.z.email().or(import_zod21.z.literal("")),
|
|
286
|
-
provider_avatar_url: import_zod21.z.url().or(import_zod21.z.literal("")),
|
|
287
|
-
connected_at: import_zod21.z.string().datetime({ offset: true }),
|
|
288
|
-
last_login_at: import_zod21.z.string().datetime({ offset: true })
|
|
289
|
-
});
|
|
290
|
-
}
|
|
291
|
-
});
|
|
292
|
-
|
|
293
|
-
// src/_api/generated/_cfg_accounts/schemas/OAuthProvidersResponse.ts
|
|
294
|
-
var import_zod24, OAuthProvidersResponseSchema;
|
|
295
|
-
var init_OAuthProvidersResponse = __esm({
|
|
296
|
-
"src/_api/generated/_cfg_accounts/schemas/OAuthProvidersResponse.ts"() {
|
|
297
|
-
"use strict";
|
|
298
|
-
import_zod24 = require("zod");
|
|
299
|
-
OAuthProvidersResponseSchema = import_zod24.z.object({
|
|
300
|
-
providers: import_zod24.z.array(import_zod24.z.object({}).passthrough())
|
|
301
|
-
});
|
|
302
|
-
}
|
|
303
|
-
});
|
|
304
|
-
|
|
305
|
-
// src/_api/generated/_cfg_accounts/schemas/OAuthTokenResponse.ts
|
|
306
|
-
var import_zod25, OAuthTokenResponseSchema;
|
|
307
|
-
var init_OAuthTokenResponse = __esm({
|
|
308
|
-
"src/_api/generated/_cfg_accounts/schemas/OAuthTokenResponse.ts"() {
|
|
309
|
-
"use strict";
|
|
310
|
-
import_zod25 = require("zod");
|
|
311
|
-
OAuthTokenResponseSchema = import_zod25.z.object({
|
|
312
|
-
requires_2fa: import_zod25.z.boolean().default(false).optional(),
|
|
313
|
-
session_id: import_zod25.z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i).nullable().optional(),
|
|
314
|
-
access: import_zod25.z.string().nullable().optional(),
|
|
315
|
-
refresh: import_zod25.z.string().nullable().optional(),
|
|
316
|
-
user: import_zod25.z.object({}).passthrough().nullable().optional(),
|
|
317
|
-
is_new_user: import_zod25.z.boolean().default(false).optional(),
|
|
318
|
-
is_new_connection: import_zod25.z.boolean().default(false).optional(),
|
|
319
|
-
should_prompt_2fa: import_zod25.z.boolean().optional(),
|
|
320
|
-
persistent_session: import_zod25.z.boolean().optional()
|
|
321
|
-
});
|
|
322
|
-
}
|
|
323
|
-
});
|
|
324
|
-
|
|
325
|
-
// src/_api/generated/_cfg_accounts/schemas/TokenRefresh.ts
|
|
326
|
-
var import_zod33, TokenRefreshSchema;
|
|
327
|
-
var init_TokenRefresh = __esm({
|
|
328
|
-
"src/_api/generated/_cfg_accounts/schemas/TokenRefresh.ts"() {
|
|
329
|
-
"use strict";
|
|
330
|
-
import_zod33 = require("zod");
|
|
331
|
-
TokenRefreshSchema = import_zod33.z.object({
|
|
332
|
-
access: import_zod33.z.string(),
|
|
333
|
-
refresh: import_zod33.z.string()
|
|
334
|
-
});
|
|
335
|
-
}
|
|
336
|
-
});
|
|
337
|
-
|
|
338
|
-
// src/_api/generated/_cfg_accounts/schemas/cfg_accounts_oauth_connections_response_200_AutoRef.ts
|
|
339
|
-
var import_zod35, cfg_accounts_oauth_connections_response_200_AutoRefSchema;
|
|
340
|
-
var init_cfg_accounts_oauth_connections_response_200_AutoRef = __esm({
|
|
341
|
-
"src/_api/generated/_cfg_accounts/schemas/cfg_accounts_oauth_connections_response_200_AutoRef.ts"() {
|
|
342
|
-
"use strict";
|
|
343
|
-
import_zod35 = require("zod");
|
|
344
|
-
init_OAuthConnection();
|
|
345
|
-
cfg_accounts_oauth_connections_response_200_AutoRefSchema = import_zod35.z.array(OAuthConnectionSchema);
|
|
346
|
-
}
|
|
347
|
-
});
|
|
348
|
-
|
|
349
|
-
// src/_api/generated/_cfg_accounts/schemas/cfg_accounts_oauth_disconnect_response_200_AutoRef.ts
|
|
350
|
-
var import_zod36, cfg_accounts_oauth_disconnect_response_200_AutoRefSchema;
|
|
351
|
-
var init_cfg_accounts_oauth_disconnect_response_200_AutoRef = __esm({
|
|
352
|
-
"src/_api/generated/_cfg_accounts/schemas/cfg_accounts_oauth_disconnect_response_200_AutoRef.ts"() {
|
|
353
|
-
"use strict";
|
|
354
|
-
import_zod36 = require("zod");
|
|
355
|
-
cfg_accounts_oauth_disconnect_response_200_AutoRefSchema = import_zod36.z.object({
|
|
356
|
-
message: import_zod36.z.string().optional()
|
|
357
|
-
});
|
|
358
|
-
}
|
|
359
|
-
});
|
|
360
|
-
|
|
361
159
|
// src/auth/index.ts
|
|
362
160
|
var auth_exports = {};
|
|
363
161
|
__export(auth_exports, {
|
|
@@ -369,7 +167,6 @@ __export(auth_exports, {
|
|
|
369
167
|
AnalyticsEvent: () => AnalyticsEvent,
|
|
370
168
|
AuthContext: () => AuthContext_default,
|
|
371
169
|
AuthProvider: () => AuthProvider,
|
|
372
|
-
PatchedCfgUserUpdateRequestSchema: () => PatchedCfgUserUpdateRequestSchema,
|
|
373
170
|
authLogger: () => authLogger,
|
|
374
171
|
clearProfileCache: () => clearProfileCache,
|
|
375
172
|
consumeSavedRedirect: () => consumeSavedRedirect,
|
|
@@ -4659,173 +4456,6 @@ __name(useCfgAccountsTokenCreate, "useCfgAccountsTokenCreate");
|
|
|
4659
4456
|
// src/_api/generated/_cfg_accounts/hooks/useCfgAccountsTokenRefreshCreate.ts
|
|
4660
4457
|
var import_mutation17 = __toESM(require("swr/mutation"), 1);
|
|
4661
4458
|
|
|
4662
|
-
// src/_api/generated/_cfg_accounts/schemas/index.ts
|
|
4663
|
-
init_APIKey();
|
|
4664
|
-
init_APIKeyRegenerate();
|
|
4665
|
-
|
|
4666
|
-
// src/_api/generated/_cfg_accounts/schemas/APIKeyRequest.ts
|
|
4667
|
-
var import_zod9 = require("zod");
|
|
4668
|
-
var APIKeyRequestSchema = import_zod9.z.object({
|
|
4669
|
-
key: import_zod9.z.string().min(1),
|
|
4670
|
-
reissued_at: import_zod9.z.string().datetime({ offset: true }).nullable(),
|
|
4671
|
-
created_at: import_zod9.z.string().datetime({ offset: true })
|
|
4672
|
-
});
|
|
4673
|
-
|
|
4674
|
-
// src/_api/generated/_cfg_accounts/schemas/index.ts
|
|
4675
|
-
init_APIKeyReveal();
|
|
4676
|
-
|
|
4677
|
-
// src/_api/generated/_cfg_accounts/schemas/APIKeyTestRequest.ts
|
|
4678
|
-
var import_zod11 = require("zod");
|
|
4679
|
-
var APIKeyTestRequestSchema = import_zod11.z.object({
|
|
4680
|
-
key: import_zod11.z.string().min(1)
|
|
4681
|
-
});
|
|
4682
|
-
|
|
4683
|
-
// src/_api/generated/_cfg_accounts/schemas/index.ts
|
|
4684
|
-
init_APIKeyTestResult();
|
|
4685
|
-
init_AccountDeleteResponse();
|
|
4686
|
-
|
|
4687
|
-
// src/_api/generated/_cfg_accounts/schemas/CfgUserUpdateRequest.ts
|
|
4688
|
-
var import_zod14 = require("zod");
|
|
4689
|
-
var CfgUserUpdateRequestSchema = import_zod14.z.object({
|
|
4690
|
-
first_name: import_zod14.z.string().max(50).optional(),
|
|
4691
|
-
last_name: import_zod14.z.string().max(50).optional(),
|
|
4692
|
-
company: import_zod14.z.string().max(100).optional(),
|
|
4693
|
-
phone: import_zod14.z.string().max(20).optional(),
|
|
4694
|
-
position: import_zod14.z.string().max(100).optional(),
|
|
4695
|
-
language: import_zod14.z.string().max(10).optional(),
|
|
4696
|
-
timezone: import_zod14.z.string().max(64).optional()
|
|
4697
|
-
});
|
|
4698
|
-
|
|
4699
|
-
// src/_api/generated/_cfg_accounts/schemas/index.ts
|
|
4700
|
-
init_ConsentPolicy();
|
|
4701
|
-
init_MarketingConsentDefaultEnum();
|
|
4702
|
-
|
|
4703
|
-
// src/_api/generated/_cfg_accounts/schemas/OAuthAuthorizeRequestRequest.ts
|
|
4704
|
-
var import_zod17 = require("zod");
|
|
4705
|
-
var OAuthAuthorizeRequestRequestSchema = import_zod17.z.object({
|
|
4706
|
-
redirect_uri: import_zod17.z.url().or(import_zod17.z.literal("")).optional(),
|
|
4707
|
-
source_url: import_zod17.z.url().or(import_zod17.z.literal("")).optional()
|
|
4708
|
-
});
|
|
4709
|
-
|
|
4710
|
-
// src/_api/generated/_cfg_accounts/schemas/index.ts
|
|
4711
|
-
init_OAuthAuthorizeResponse();
|
|
4712
|
-
|
|
4713
|
-
// src/_api/generated/_cfg_accounts/schemas/OAuthCallbackRequestRequest.ts
|
|
4714
|
-
var import_zod19 = require("zod");
|
|
4715
|
-
var OAuthCallbackRequestRequestSchema = import_zod19.z.object({
|
|
4716
|
-
code: import_zod19.z.string().min(10).max(500),
|
|
4717
|
-
state: import_zod19.z.string().min(20).max(100),
|
|
4718
|
-
redirect_uri: import_zod19.z.url().or(import_zod19.z.literal("")).optional(),
|
|
4719
|
-
remember_me: import_zod19.z.boolean().default(false).optional()
|
|
4720
|
-
});
|
|
4721
|
-
|
|
4722
|
-
// src/_api/generated/_cfg_accounts/schemas/index.ts
|
|
4723
|
-
init_OAuthConnection();
|
|
4724
|
-
|
|
4725
|
-
// src/_api/generated/_cfg_accounts/schemas/OAuthDisconnectRequestRequest.ts
|
|
4726
|
-
var import_zod22 = require("zod");
|
|
4727
|
-
init_OAuthProviderEnum();
|
|
4728
|
-
var OAuthDisconnectRequestRequestSchema = import_zod22.z.object({
|
|
4729
|
-
provider: OAuthProviderEnumSchema
|
|
4730
|
-
});
|
|
4731
|
-
|
|
4732
|
-
// src/_api/generated/_cfg_accounts/schemas/OAuthError.ts
|
|
4733
|
-
var import_zod23 = require("zod");
|
|
4734
|
-
var OAuthErrorSchema = import_zod23.z.object({
|
|
4735
|
-
error: import_zod23.z.string(),
|
|
4736
|
-
error_description: import_zod23.z.string().optional()
|
|
4737
|
-
});
|
|
4738
|
-
|
|
4739
|
-
// src/_api/generated/_cfg_accounts/schemas/index.ts
|
|
4740
|
-
init_OAuthProviderEnum();
|
|
4741
|
-
init_OAuthProvidersResponse();
|
|
4742
|
-
init_OAuthTokenResponse();
|
|
4743
|
-
|
|
4744
|
-
// src/_api/generated/_cfg_accounts/schemas/OTPErrorResponse.ts
|
|
4745
|
-
var import_zod26 = require("zod");
|
|
4746
|
-
var OTPErrorResponseSchema = import_zod26.z.object({
|
|
4747
|
-
error: import_zod26.z.string(),
|
|
4748
|
-
error_code: import_zod26.z.string().nullable().optional(),
|
|
4749
|
-
retry_after: import_zod26.z.number().int().nullable().optional()
|
|
4750
|
-
});
|
|
4751
|
-
|
|
4752
|
-
// src/_api/generated/_cfg_accounts/schemas/OTPRequestRequest.ts
|
|
4753
|
-
var import_zod27 = require("zod");
|
|
4754
|
-
var OTPRequestRequestSchema = import_zod27.z.object({
|
|
4755
|
-
identifier: import_zod27.z.string().min(1),
|
|
4756
|
-
source_url: import_zod27.z.url().or(import_zod27.z.literal("")).optional(),
|
|
4757
|
-
marketing_consent: import_zod27.z.boolean().nullable().optional(),
|
|
4758
|
-
consent_disclosure_version: import_zod27.z.string().max(64).optional()
|
|
4759
|
-
});
|
|
4760
|
-
|
|
4761
|
-
// src/_api/generated/_cfg_accounts/schemas/index.ts
|
|
4762
|
-
init_OTPRequestResponse();
|
|
4763
|
-
|
|
4764
|
-
// src/_api/generated/_cfg_accounts/schemas/OTPVerifyRequest.ts
|
|
4765
|
-
var import_zod28 = require("zod");
|
|
4766
|
-
var OTPVerifyRequestSchema = import_zod28.z.object({
|
|
4767
|
-
identifier: import_zod28.z.string().min(1),
|
|
4768
|
-
otp: import_zod28.z.string().min(4).max(4),
|
|
4769
|
-
source_url: import_zod28.z.url().or(import_zod28.z.literal("")).optional(),
|
|
4770
|
-
remember_me: import_zod28.z.boolean().default(false).optional()
|
|
4771
|
-
});
|
|
4772
|
-
|
|
4773
|
-
// src/_api/generated/_cfg_accounts/schemas/index.ts
|
|
4774
|
-
init_OTPVerifyResponse();
|
|
4775
|
-
|
|
4776
|
-
// src/_api/generated/_cfg_accounts/schemas/PasswordLoginError.ts
|
|
4777
|
-
var import_zod29 = require("zod");
|
|
4778
|
-
var PasswordLoginErrorSchema = import_zod29.z.object({
|
|
4779
|
-
error: import_zod29.z.string(),
|
|
4780
|
-
error_code: import_zod29.z.string(),
|
|
4781
|
-
retry_after: import_zod29.z.number().int().nullable().optional()
|
|
4782
|
-
});
|
|
4783
|
-
|
|
4784
|
-
// src/_api/generated/_cfg_accounts/schemas/PasswordLoginRequest.ts
|
|
4785
|
-
var import_zod30 = require("zod");
|
|
4786
|
-
var PasswordLoginRequestSchema = import_zod30.z.object({
|
|
4787
|
-
remember_me: import_zod30.z.boolean().default(false).optional(),
|
|
4788
|
-
email: import_zod30.z.email(),
|
|
4789
|
-
password: import_zod30.z.string()
|
|
4790
|
-
});
|
|
4791
|
-
|
|
4792
|
-
// src/_api/generated/_cfg_accounts/schemas/index.ts
|
|
4793
|
-
init_PasswordLoginResponse();
|
|
4794
|
-
|
|
4795
|
-
// src/_api/generated/_cfg_accounts/schemas/PatchedCfgUserUpdateRequest.ts
|
|
4796
|
-
var import_zod31 = require("zod");
|
|
4797
|
-
var PatchedCfgUserUpdateRequestSchema = import_zod31.z.object({
|
|
4798
|
-
first_name: import_zod31.z.string().max(50).optional(),
|
|
4799
|
-
last_name: import_zod31.z.string().max(50).optional(),
|
|
4800
|
-
company: import_zod31.z.string().max(100).optional(),
|
|
4801
|
-
phone: import_zod31.z.string().max(20).optional(),
|
|
4802
|
-
position: import_zod31.z.string().max(100).optional(),
|
|
4803
|
-
language: import_zod31.z.string().max(10).optional(),
|
|
4804
|
-
timezone: import_zod31.z.string().max(64).optional()
|
|
4805
|
-
});
|
|
4806
|
-
|
|
4807
|
-
// src/_api/generated/_cfg_accounts/schemas/TokenBlacklistRequest.ts
|
|
4808
|
-
var import_zod32 = require("zod");
|
|
4809
|
-
var TokenBlacklistRequestSchema = import_zod32.z.object({
|
|
4810
|
-
refresh: import_zod32.z.string().min(1)
|
|
4811
|
-
});
|
|
4812
|
-
|
|
4813
|
-
// src/_api/generated/_cfg_accounts/schemas/index.ts
|
|
4814
|
-
init_TokenRefresh();
|
|
4815
|
-
|
|
4816
|
-
// src/_api/generated/_cfg_accounts/schemas/TokenRefreshRequest.ts
|
|
4817
|
-
var import_zod34 = require("zod");
|
|
4818
|
-
var TokenRefreshRequestSchema = import_zod34.z.object({
|
|
4819
|
-
refresh: import_zod34.z.string().min(1)
|
|
4820
|
-
});
|
|
4821
|
-
|
|
4822
|
-
// src/_api/generated/_cfg_accounts/schemas/index.ts
|
|
4823
|
-
init_User();
|
|
4824
|
-
init_WebmailLink();
|
|
4825
|
-
init_WebmailLinkProviderEnum();
|
|
4826
|
-
init_cfg_accounts_oauth_connections_response_200_AutoRef();
|
|
4827
|
-
init_cfg_accounts_oauth_disconnect_response_200_AutoRef();
|
|
4828
|
-
|
|
4829
4459
|
// src/auth/context/AccountsContext.tsx
|
|
4830
4460
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
4831
4461
|
function hasApiOrigin() {
|