@marcoappio/marco-config 2.0.566 → 2.0.568
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.
|
@@ -18,9 +18,9 @@ export const emailAccount = {
|
|
|
18
18
|
smtpUser: string.required(),
|
|
19
19
|
}),
|
|
20
20
|
connectionConfigOauth: () => v.object({
|
|
21
|
-
code: string.required(),
|
|
21
|
+
code: string.required(4096),
|
|
22
22
|
provider: oauth.provider(),
|
|
23
|
-
user: string.required(),
|
|
23
|
+
user: string.required(4096),
|
|
24
24
|
}),
|
|
25
25
|
imapConnectionStatus: () => v.picklist(IMAP_CONNECTION_STATUSES),
|
|
26
26
|
socketTypeSchema: () => socketTypeSchema,
|
|
@@ -24,7 +24,7 @@ export declare const getThreadList: import("../../../../..").EndpointConfig<"/v1
|
|
|
24
24
|
}, undefined>, v.ObjectSchema<{
|
|
25
25
|
readonly ids: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
26
26
|
readonly labelIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
27
|
-
readonly snoozed: v.LiteralSchema<true, undefined>;
|
|
27
|
+
readonly snoozed: v.SchemaWithPipe<readonly [v.LiteralSchema<"true", undefined>, v.TransformAction<"true", true>]>;
|
|
28
28
|
readonly cursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
29
29
|
readonly flagged: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["true", "false"], undefined>, v.TransformAction<"true" | "false", boolean>, v.BooleanSchema<undefined>]>, undefined>;
|
|
30
30
|
readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.TransformAction<string, number>, v.NumberSchema<undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThreadList.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThreadList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"getThreadList.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThreadList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA4C5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAaxB,CAAA"}
|
|
@@ -28,7 +28,7 @@ const getThreadListQuerySchema = v.union([
|
|
|
28
28
|
...baseQuerySchema,
|
|
29
29
|
ids: v.optional(v.array(v.string())),
|
|
30
30
|
labelIds: v.optional(v.array(v.string())),
|
|
31
|
-
snoozed: v.literal(true),
|
|
31
|
+
snoozed: v.pipe(v.literal('true'), v.transform(() => true)),
|
|
32
32
|
}),
|
|
33
33
|
]);
|
|
34
34
|
export const getThreadList = createEndpoint({
|