@marcoappio/marco-config 2.0.317 → 2.0.318
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/clients/account.d.ts +2 -2
- package/dist/clients/index.d.ts +2 -2
- package/dist/marcoPublicConfig.d.ts +5 -0
- package/dist/marcoPublicConfig.d.ts.map +1 -1
- package/dist/marcoPublicConfig.js +15 -0
- package/dist/schemas/index.d.ts +3 -3
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +6 -2
- package/dist/sdk/endpoints/index.d.ts +2 -35
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +2 -35
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.js +0 -2
- package/dist/sdk/endpoints/private/sync/index.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +1 -1
- package/dist/sdk/index.d.ts +2 -35
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/sdk/endpoints/private/oauth/google/authorize.d.ts +0 -31
- package/dist/sdk/endpoints/private/oauth/google/authorize.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/oauth/google/authorize.js +0 -23
- package/dist/sdk/endpoints/private/oauth/google/index.d.ts +0 -32
- package/dist/sdk/endpoints/private/oauth/google/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/oauth/google/index.js +0 -4
- package/dist/sdk/endpoints/private/oauth/index.d.ts +0 -34
- package/dist/sdk/endpoints/private/oauth/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/oauth/index.js +0 -4
|
@@ -15,7 +15,7 @@ export declare const account: {
|
|
|
15
15
|
}, undefined>;
|
|
16
16
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
17
17
|
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
18
|
-
readonly imapConnectionStatus: v.UnionSchema<[v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTED", undefined>, v.LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
18
|
+
readonly imapConnectionStatus: v.UnionSchema<[v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTED", undefined>, v.LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
19
19
|
readonly labels: v.ArraySchema<v.ObjectSchema<{
|
|
20
20
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
21
21
|
readonly mailCounts: v.ObjectSchema<{
|
|
@@ -91,7 +91,7 @@ export declare const account: {
|
|
|
91
91
|
delta: v.ObjectSchema<{
|
|
92
92
|
readonly connectionConfig: v.ObjectSchema<{
|
|
93
93
|
readonly code: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
94
|
-
readonly provider: v.LiteralSchema<"GOOGLE", undefined>;
|
|
94
|
+
readonly provider: v.UnionSchema<[v.LiteralSchema<"GOOGLE", undefined>, v.LiteralSchema<"OUTLOOK", undefined>], undefined>;
|
|
95
95
|
}, undefined>;
|
|
96
96
|
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
97
97
|
}, undefined>;
|
package/dist/clients/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare const marcoClients: {
|
|
|
16
16
|
}, undefined>;
|
|
17
17
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
18
18
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
19
|
-
readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
19
|
+
readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
20
20
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
21
21
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
22
22
|
readonly mailCounts: import("valibot").ObjectSchema<{
|
|
@@ -92,7 +92,7 @@ export declare const marcoClients: {
|
|
|
92
92
|
delta: import("valibot").ObjectSchema<{
|
|
93
93
|
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
94
94
|
readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
95
|
-
readonly provider: import("valibot").LiteralSchema<"GOOGLE", undefined>;
|
|
95
|
+
readonly provider: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"GOOGLE", undefined>, import("valibot").LiteralSchema<"OUTLOOK", undefined>], undefined>;
|
|
96
96
|
}, undefined>;
|
|
97
97
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
98
98
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marcoPublicConfig.d.ts","sourceRoot":"","sources":["../src/marcoPublicConfig.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,SAAS,GAAG,aAAa,CAAA;AAEvE,eAAO,MAAM,SAAS,kBAA6D,CAAA;AAEnF,KAAK,iBAAiB,GAAG;IACvB,MAAM,EAAE;QACN,KAAK,EAAE;YACL,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;KACF,CAAA;IACD,KAAK,EAAE;QACL,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,EAAE,EAAE;YACF,KAAK,EAAE,MAAM,CAAA;YACb,IAAI,EAAE,MAAM,CAAA;YACZ,GAAG,EAAE,MAAM,CAAA;SACZ,CAAA;KACF,CAAA;IACD,UAAU,EAAE;QACV,UAAU,EAAE,MAAM,CAAA;KACnB,CAAA;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;CACF,CAAA;
|
|
1
|
+
{"version":3,"file":"marcoPublicConfig.d.ts","sourceRoot":"","sources":["../src/marcoPublicConfig.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,SAAS,GAAG,aAAa,CAAA;AAEvE,eAAO,MAAM,SAAS,kBAA6D,CAAA;AAEnF,KAAK,iBAAiB,GAAG;IACvB,MAAM,EAAE;QACN,KAAK,EAAE;YACL,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;KACF,CAAA;IACD,KAAK,EAAE;QACL,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,EAAE,EAAE;YACF,KAAK,EAAE,MAAM,CAAA;YACb,IAAI,EAAE,MAAM,CAAA;YACZ,GAAG,EAAE,MAAM,CAAA;SACZ,CAAA;KACF,CAAA;IACD,OAAO,EAAE;QACP,KAAK,EAAE;YACL,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;KACF,CAAA;IACD,UAAU,EAAE;QACV,UAAU,EAAE,MAAM,CAAA;KACnB,CAAA;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;CACF,CAAA;AAoGD,eAAO,MAAM,iBAAiB,mBAAuB,CAAA"}
|
|
@@ -19,6 +19,11 @@ const configMap = {
|
|
|
19
19
|
key: 'IuF65Dgky1rJ2Aua',
|
|
20
20
|
},
|
|
21
21
|
},
|
|
22
|
+
outlook: {
|
|
23
|
+
oauth: {
|
|
24
|
+
clientId: '338197922176-oml1o2iputhhu3vijgue9h8sbfq17qme.apps.googleusercontent.com',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
22
27
|
replicache: {
|
|
23
28
|
licenseKey: 'la6cf85ee37b5495481575ecececc3e49',
|
|
24
29
|
},
|
|
@@ -45,6 +50,11 @@ const configMap = {
|
|
|
45
50
|
key: 'IuF65Dgky1rJ2Aua',
|
|
46
51
|
},
|
|
47
52
|
},
|
|
53
|
+
outlook: {
|
|
54
|
+
oauth: {
|
|
55
|
+
clientId: '338197922176-oml1o2iputhhu3vijgue9h8sbfq17qme.apps.googleusercontent.com',
|
|
56
|
+
},
|
|
57
|
+
},
|
|
48
58
|
replicache: {
|
|
49
59
|
licenseKey: 'la6cf85ee37b5495481575ecececc3e49',
|
|
50
60
|
},
|
|
@@ -72,6 +82,11 @@ const configMap = {
|
|
|
72
82
|
key: 'O8bc4c11yHuNNS',
|
|
73
83
|
},
|
|
74
84
|
},
|
|
85
|
+
outlook: {
|
|
86
|
+
oauth: {
|
|
87
|
+
clientId: '338197922176-oml1o2iputhhu3vijgue9h8sbfq17qme.apps.googleusercontent.com',
|
|
88
|
+
},
|
|
89
|
+
},
|
|
75
90
|
replicache: {
|
|
76
91
|
licenseKey: 'la6cf85ee37b5495481575ecececc3e49',
|
|
77
92
|
},
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -25,9 +25,9 @@ export declare const marcoSchemas: {
|
|
|
25
25
|
}, undefined>;
|
|
26
26
|
connectionConfigOauth: () => v.ObjectSchema<{
|
|
27
27
|
readonly code: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
28
|
-
readonly provider: v.LiteralSchema<"GOOGLE", undefined>;
|
|
28
|
+
readonly provider: v.UnionSchema<[v.LiteralSchema<"GOOGLE", undefined>, v.LiteralSchema<"OUTLOOK", undefined>], undefined>;
|
|
29
29
|
}, undefined>;
|
|
30
|
-
imapConnectionStatus: () => v.UnionSchema<[v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTED", undefined>, v.LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
30
|
+
imapConnectionStatus: () => v.UnionSchema<[v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTED", undefined>, v.LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
31
31
|
};
|
|
32
32
|
labelSpecialUse: () => v.UnionSchema<[v.LiteralSchema<"ARCHIVE", undefined>, v.LiteralSchema<"INBOX", undefined>, v.LiteralSchema<"SENT", undefined>, v.LiteralSchema<"SPAM", undefined>, v.LiteralSchema<"TRASH", undefined>], undefined>;
|
|
33
33
|
number: {
|
|
@@ -35,7 +35,7 @@ export declare const marcoSchemas: {
|
|
|
35
35
|
positiveInteger: () => v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
36
36
|
};
|
|
37
37
|
oauth: {
|
|
38
|
-
provider: () => v.LiteralSchema<"GOOGLE", undefined>;
|
|
38
|
+
provider: () => v.UnionSchema<[v.LiteralSchema<"GOOGLE", undefined>, v.LiteralSchema<"OUTLOOK", undefined>], undefined>;
|
|
39
39
|
};
|
|
40
40
|
string: {
|
|
41
41
|
email: () => v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAsCP,MAAM,OAAO,MAAM;;;;;;;;;;;;;;;;CAYpC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,eAAe,CAAC,CAAC,CAAA"}
|
package/dist/schemas/index.js
CHANGED
|
@@ -32,7 +32,8 @@ export const marcoSchemas = {
|
|
|
32
32
|
v.literal('AWAITING_CONNECTION'),
|
|
33
33
|
v.literal('CONNECTED'),
|
|
34
34
|
v.literal('CONNECTION_FAILED_CONNECTION_ERROR'),
|
|
35
|
-
v.literal('CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR'),
|
|
35
|
+
v.literal('CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR'), // TODO: Deprecate this
|
|
36
|
+
v.literal('CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR'),
|
|
36
37
|
v.literal('CONNECTION_FAILED_AUTHENTICATION_ERROR'),
|
|
37
38
|
v.literal('CONNECTION_FAILED_UNKNOWN_ERROR'),
|
|
38
39
|
]),
|
|
@@ -49,7 +50,10 @@ export const marcoSchemas = {
|
|
|
49
50
|
positiveInteger: () => v.nonOptional(v.pipe(v.number(), v.integer(), v.minValue(0))),
|
|
50
51
|
},
|
|
51
52
|
oauth: {
|
|
52
|
-
provider: () => v.
|
|
53
|
+
provider: () => v.union([
|
|
54
|
+
v.literal('GOOGLE'),
|
|
55
|
+
v.literal('OUTLOOK'),
|
|
56
|
+
]),
|
|
53
57
|
},
|
|
54
58
|
string: string,
|
|
55
59
|
};
|
|
@@ -34,39 +34,6 @@ export declare const endpoints: {
|
|
|
34
34
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
35
35
|
}, undefined>], undefined>>;
|
|
36
36
|
};
|
|
37
|
-
oauth: {
|
|
38
|
-
google: {
|
|
39
|
-
authorize: EndpointConfig<"/v1/pv/oauth/google/authorize", import("valibot").ObjectSchema<{
|
|
40
|
-
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
41
|
-
readonly redirectTo: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UrlAction<string, undefined>]>;
|
|
42
|
-
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
43
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
44
|
-
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
45
|
-
}, undefined>;
|
|
46
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
47
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
48
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
49
|
-
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
50
|
-
readonly issues: import("valibot").ObjectSchema<{
|
|
51
|
-
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
|
|
52
|
-
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
53
|
-
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
54
|
-
}, undefined>;
|
|
55
|
-
}, undefined>;
|
|
56
|
-
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
57
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
58
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
59
|
-
readonly code: import("valibot").LiteralSchema<"ACCOUNT_NOT_FOUND", undefined>;
|
|
60
|
-
}, undefined>;
|
|
61
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
62
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
63
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
64
|
-
readonly url: import("valibot").StringSchema<undefined>;
|
|
65
|
-
}, undefined>;
|
|
66
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
67
|
-
}, undefined>], undefined>>;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
37
|
sync: {
|
|
71
38
|
pull: {
|
|
72
39
|
account: EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
|
|
@@ -114,7 +81,7 @@ export declare const endpoints: {
|
|
|
114
81
|
}, undefined>;
|
|
115
82
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
116
83
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
117
|
-
readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
84
|
+
readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
118
85
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
119
86
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
120
87
|
readonly mailCounts: import("valibot").ObjectSchema<{
|
|
@@ -442,7 +409,7 @@ export declare const endpoints: {
|
|
|
442
409
|
readonly args: import("valibot").ObjectSchema<{
|
|
443
410
|
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
444
411
|
readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
445
|
-
readonly provider: import("valibot").LiteralSchema<"GOOGLE", undefined>;
|
|
412
|
+
readonly provider: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"GOOGLE", undefined>, import("valibot").LiteralSchema<"OUTLOOK", undefined>], undefined>;
|
|
446
413
|
}, undefined>;
|
|
447
414
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
448
415
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
|
|
@@ -31,39 +31,6 @@ export declare const privateGroup: {
|
|
|
31
31
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
32
32
|
}, undefined>], undefined>>;
|
|
33
33
|
};
|
|
34
|
-
oauth: {
|
|
35
|
-
google: {
|
|
36
|
-
authorize: import("../../..").EndpointConfig<"/v1/pv/oauth/google/authorize", import("valibot").ObjectSchema<{
|
|
37
|
-
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
38
|
-
readonly redirectTo: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UrlAction<string, undefined>]>;
|
|
39
|
-
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
40
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
41
|
-
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
42
|
-
}, undefined>;
|
|
43
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
44
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
45
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
46
|
-
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
47
|
-
readonly issues: import("valibot").ObjectSchema<{
|
|
48
|
-
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
|
|
49
|
-
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
50
|
-
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
51
|
-
}, undefined>;
|
|
52
|
-
}, undefined>;
|
|
53
|
-
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
54
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
55
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
56
|
-
readonly code: import("valibot").LiteralSchema<"ACCOUNT_NOT_FOUND", undefined>;
|
|
57
|
-
}, undefined>;
|
|
58
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
59
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
60
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
61
|
-
readonly url: import("valibot").StringSchema<undefined>;
|
|
62
|
-
}, undefined>;
|
|
63
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
64
|
-
}, undefined>], undefined>>;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
34
|
sync: {
|
|
68
35
|
pull: {
|
|
69
36
|
account: import("../../..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
|
|
@@ -111,7 +78,7 @@ export declare const privateGroup: {
|
|
|
111
78
|
}, undefined>;
|
|
112
79
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
113
80
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
114
|
-
readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
81
|
+
readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
115
82
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
116
83
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
117
84
|
readonly mailCounts: import("valibot").ObjectSchema<{
|
|
@@ -439,7 +406,7 @@ export declare const privateGroup: {
|
|
|
439
406
|
readonly args: import("valibot").ObjectSchema<{
|
|
440
407
|
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
441
408
|
readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
442
|
-
readonly provider: import("valibot").LiteralSchema<"GOOGLE", undefined>;
|
|
409
|
+
readonly provider: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"GOOGLE", undefined>, import("valibot").LiteralSchema<"OUTLOOK", undefined>], undefined>;
|
|
443
410
|
}, undefined>;
|
|
444
411
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
445
412
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
|
|
@@ -45,7 +45,7 @@ export declare const sync: {
|
|
|
45
45
|
}, undefined>;
|
|
46
46
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
47
47
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
48
|
-
readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
48
|
+
readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
49
49
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
50
50
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
51
51
|
readonly mailCounts: import("valibot").ObjectSchema<{
|
|
@@ -373,7 +373,7 @@ export declare const sync: {
|
|
|
373
373
|
readonly args: import("valibot").ObjectSchema<{
|
|
374
374
|
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
375
375
|
readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
376
|
-
readonly provider: import("valibot").LiteralSchema<"GOOGLE", undefined>;
|
|
376
|
+
readonly provider: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"GOOGLE", undefined>, import("valibot").LiteralSchema<"OUTLOOK", undefined>], undefined>;
|
|
377
377
|
}, undefined>;
|
|
378
378
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
379
379
|
}, undefined>;
|
|
@@ -44,7 +44,7 @@ export declare const syncPullAccount: import("../../../../..").EndpointConfig<"/
|
|
|
44
44
|
}, undefined>;
|
|
45
45
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
46
46
|
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
47
|
-
readonly imapConnectionStatus: v.UnionSchema<[v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTED", undefined>, v.LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
47
|
+
readonly imapConnectionStatus: v.UnionSchema<[v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTED", undefined>, v.LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
48
48
|
readonly labels: v.ArraySchema<v.ObjectSchema<{
|
|
49
49
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
50
50
|
readonly mailCounts: v.ObjectSchema<{
|
|
@@ -44,7 +44,7 @@ export declare const pull: {
|
|
|
44
44
|
}, undefined>;
|
|
45
45
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
46
46
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
47
|
-
readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
47
|
+
readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
48
48
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
49
49
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
50
50
|
readonly mailCounts: import("valibot").ObjectSchema<{
|
|
@@ -74,7 +74,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
74
74
|
readonly args: v.ObjectSchema<{
|
|
75
75
|
readonly connectionConfig: v.ObjectSchema<{
|
|
76
76
|
readonly code: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
77
|
-
readonly provider: v.LiteralSchema<"GOOGLE", undefined>;
|
|
77
|
+
readonly provider: v.UnionSchema<[v.LiteralSchema<"GOOGLE", undefined>, v.LiteralSchema<"OUTLOOK", undefined>], undefined>;
|
|
78
78
|
}, undefined>;
|
|
79
79
|
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
80
80
|
}, undefined>;
|
|
@@ -74,7 +74,7 @@ export declare const push: {
|
|
|
74
74
|
readonly args: import("valibot").ObjectSchema<{
|
|
75
75
|
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
76
76
|
readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
77
|
-
readonly provider: import("valibot").LiteralSchema<"GOOGLE", undefined>;
|
|
77
|
+
readonly provider: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"GOOGLE", undefined>, import("valibot").LiteralSchema<"OUTLOOK", undefined>], undefined>;
|
|
78
78
|
}, undefined>;
|
|
79
79
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
80
80
|
}, undefined>;
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -33,39 +33,6 @@ export declare const marcoSDK: {
|
|
|
33
33
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
34
34
|
}, undefined>], undefined>>;
|
|
35
35
|
};
|
|
36
|
-
oauth: {
|
|
37
|
-
google: {
|
|
38
|
-
authorize: import("..").EndpointConfig<"/v1/pv/oauth/google/authorize", import("valibot").ObjectSchema<{
|
|
39
|
-
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
40
|
-
readonly redirectTo: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UrlAction<string, undefined>]>;
|
|
41
|
-
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
42
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
43
|
-
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
44
|
-
}, undefined>;
|
|
45
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
46
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
47
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
48
|
-
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
49
|
-
readonly issues: import("valibot").ObjectSchema<{
|
|
50
|
-
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
|
|
51
|
-
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
52
|
-
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
53
|
-
}, undefined>;
|
|
54
|
-
}, undefined>;
|
|
55
|
-
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
56
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
57
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
58
|
-
readonly code: import("valibot").LiteralSchema<"ACCOUNT_NOT_FOUND", undefined>;
|
|
59
|
-
}, undefined>;
|
|
60
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
61
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
62
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
63
|
-
readonly url: import("valibot").StringSchema<undefined>;
|
|
64
|
-
}, undefined>;
|
|
65
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
66
|
-
}, undefined>], undefined>>;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
36
|
sync: {
|
|
70
37
|
pull: {
|
|
71
38
|
account: import("..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
|
|
@@ -113,7 +80,7 @@ export declare const marcoSDK: {
|
|
|
113
80
|
}, undefined>;
|
|
114
81
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
115
82
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
116
|
-
readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
83
|
+
readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
117
84
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
118
85
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
119
86
|
readonly mailCounts: import("valibot").ObjectSchema<{
|
|
@@ -441,7 +408,7 @@ export declare const marcoSDK: {
|
|
|
441
408
|
readonly args: import("valibot").ObjectSchema<{
|
|
442
409
|
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
443
410
|
readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
444
|
-
readonly provider: import("valibot").LiteralSchema<"GOOGLE", undefined>;
|
|
411
|
+
readonly provider: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"GOOGLE", undefined>, import("valibot").LiteralSchema<"OUTLOOK", undefined>], undefined>;
|
|
445
412
|
}, undefined>;
|
|
446
413
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
447
414
|
}, undefined>;
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
export declare const authorize: import("../../../../..").EndpointConfig<"/v1/pv/oauth/google/authorize", v.ObjectSchema<{
|
|
3
|
-
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
|
-
readonly redirectTo: v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
5
|
-
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
6
|
-
readonly data: v.ObjectSchema<{
|
|
7
|
-
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
8
|
-
}, undefined>;
|
|
9
|
-
readonly status: v.LiteralSchema<401, undefined>;
|
|
10
|
-
}, undefined>, v.ObjectSchema<{
|
|
11
|
-
readonly data: v.ObjectSchema<{
|
|
12
|
-
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
13
|
-
readonly issues: v.ObjectSchema<{
|
|
14
|
-
readonly nested: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
|
|
15
|
-
readonly other: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
16
|
-
readonly root: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
17
|
-
}, undefined>;
|
|
18
|
-
}, undefined>;
|
|
19
|
-
readonly status: v.LiteralSchema<400, undefined>;
|
|
20
|
-
}, undefined>, v.ObjectSchema<{
|
|
21
|
-
readonly data: v.ObjectSchema<{
|
|
22
|
-
readonly code: v.LiteralSchema<"ACCOUNT_NOT_FOUND", undefined>;
|
|
23
|
-
}, undefined>;
|
|
24
|
-
readonly status: v.LiteralSchema<404, undefined>;
|
|
25
|
-
}, undefined>, v.ObjectSchema<{
|
|
26
|
-
readonly data: v.ObjectSchema<{
|
|
27
|
-
readonly url: v.StringSchema<undefined>;
|
|
28
|
-
}, undefined>;
|
|
29
|
-
readonly status: v.LiteralSchema<200, undefined>;
|
|
30
|
-
}, undefined>], undefined>>;
|
|
31
|
-
//# sourceMappingURL=authorize.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authorize.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/oauth/google/authorize.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAkBpB,CAAA"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
import { marcoSchemas } from '../../../../../schemas';
|
|
3
|
-
import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
|
|
4
|
-
import { accountNotFoundErrorSchema, authFailedErrorSchema, validationFailedErrorSchema } from '../../../../../sdk/validation/errors';
|
|
5
|
-
export const authorize = createEndpoint({
|
|
6
|
-
body: v.object({
|
|
7
|
-
accountId: marcoSchemas.string.required(),
|
|
8
|
-
redirectTo: v.pipe(v.string(), v.url()),
|
|
9
|
-
}),
|
|
10
|
-
method: 'POST',
|
|
11
|
-
path: '/v1/pv/oauth/google/authorize',
|
|
12
|
-
response: v.union([
|
|
13
|
-
authFailedErrorSchema,
|
|
14
|
-
validationFailedErrorSchema,
|
|
15
|
-
accountNotFoundErrorSchema,
|
|
16
|
-
v.object({
|
|
17
|
-
data: v.object({
|
|
18
|
-
url: v.string(),
|
|
19
|
-
}),
|
|
20
|
-
status: v.literal(200),
|
|
21
|
-
}),
|
|
22
|
-
]),
|
|
23
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const google: {
|
|
2
|
-
authorize: import("../../../../..").EndpointConfig<"/v1/pv/oauth/google/authorize", import("valibot").ObjectSchema<{
|
|
3
|
-
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
|
-
readonly redirectTo: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UrlAction<string, undefined>]>;
|
|
5
|
-
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
6
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
7
|
-
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
8
|
-
}, undefined>;
|
|
9
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
10
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
11
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
12
|
-
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
13
|
-
readonly issues: import("valibot").ObjectSchema<{
|
|
14
|
-
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
|
|
15
|
-
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
16
|
-
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
17
|
-
}, undefined>;
|
|
18
|
-
}, undefined>;
|
|
19
|
-
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
20
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
21
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
22
|
-
readonly code: import("valibot").LiteralSchema<"ACCOUNT_NOT_FOUND", undefined>;
|
|
23
|
-
}, undefined>;
|
|
24
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
25
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
26
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
27
|
-
readonly url: import("valibot").StringSchema<undefined>;
|
|
28
|
-
}, undefined>;
|
|
29
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
30
|
-
}, undefined>], undefined>>;
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/oauth/google/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAElB,CAAA"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export declare const oauth: {
|
|
2
|
-
google: {
|
|
3
|
-
authorize: import("../../../..").EndpointConfig<"/v1/pv/oauth/google/authorize", import("valibot").ObjectSchema<{
|
|
4
|
-
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
|
-
readonly redirectTo: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UrlAction<string, undefined>]>;
|
|
6
|
-
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
7
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
8
|
-
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
9
|
-
}, undefined>;
|
|
10
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
11
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
12
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
13
|
-
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
14
|
-
readonly issues: import("valibot").ObjectSchema<{
|
|
15
|
-
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
|
|
16
|
-
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
17
|
-
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
18
|
-
}, undefined>;
|
|
19
|
-
}, undefined>;
|
|
20
|
-
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
21
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
22
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
23
|
-
readonly code: import("valibot").LiteralSchema<"ACCOUNT_NOT_FOUND", undefined>;
|
|
24
|
-
}, undefined>;
|
|
25
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
26
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
27
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
28
|
-
readonly url: import("valibot").StringSchema<undefined>;
|
|
29
|
-
}, undefined>;
|
|
30
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
31
|
-
}, undefined>], undefined>>;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/oauth/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEjB,CAAA"}
|