@marcoappio/marco-config 2.0.415 → 2.0.417
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/index.d.ts +3 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/marcoPublicConfig.d.ts +9 -1
- package/dist/marcoPublicConfig.d.ts.map +1 -1
- package/dist/marcoPublicConfig.js +12 -0
- package/dist/schemas/app.d.ts +1 -1
- package/dist/schemas/app.d.ts.map +1 -1
- package/dist/schemas/app.js +2 -1
- package/dist/schemas/emailAccount.d.ts +1 -1
- package/dist/schemas/index.d.ts +3 -3
- package/dist/schemas/oauth.d.ts +1 -1
- package/dist/schemas/oauth.d.ts.map +1 -1
- package/dist/schemas/oauth.js +2 -1
- package/dist/sdk/endpoints/index.d.ts +0 -887
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +0 -887
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.js +0 -2
- package/dist/sdk/index.d.ts +0 -887
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/types/MarcoPlatform.d.ts +3 -0
- package/dist/types/MarcoPlatform.d.ts.map +1 -0
- package/dist/types/MarcoPlatform.js +1 -0
- package/dist/types/OAuthProvider.d.ts +3 -0
- package/dist/types/OAuthProvider.d.ts.map +1 -0
- package/dist/types/OAuthProvider.js +1 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -2
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/labels/index.d.ts +4 -0
- package/dist/utils/labels/index.d.ts.map +1 -0
- package/dist/utils/labels/index.js +4 -0
- package/dist/zero/index.d.ts +1448 -0
- package/dist/zero/index.d.ts.map +1 -0
- package/dist/zero/index.js +13 -0
- package/dist/{sdk/endpoints/private/sync/push → zero/mutators}/account.d.ts +33 -75
- package/dist/zero/mutators/account.d.ts.map +1 -0
- package/dist/zero/mutators/account.js +69 -0
- package/dist/{sdk/endpoints/private/sync/push → zero/mutators}/draft.d.ts +35 -79
- package/dist/{clients → zero/mutators}/draft.d.ts.map +1 -1
- package/dist/zero/mutators/draft.js +114 -0
- package/dist/{sdk/endpoints/private/sync/push → zero/mutators}/thread.d.ts +32 -76
- package/dist/zero/mutators/thread.d.ts.map +1 -0
- package/dist/zero/mutators/thread.js +76 -0
- package/dist/zero/mutators/user.d.ts +32 -0
- package/dist/zero/mutators/user.d.ts.map +1 -0
- package/dist/zero/mutators/user.js +33 -0
- package/dist/zero/mutators.d.ts +412 -0
- package/dist/zero/mutators.d.ts.map +1 -0
- package/dist/zero/mutators.js +44 -0
- package/dist/zero/mutators.test.d.ts +2 -0
- package/dist/zero/mutators.test.d.ts.map +1 -0
- package/dist/zero/mutators.test.js +33 -0
- package/dist/zero/schema.d.ts +1438 -0
- package/dist/zero/schema.d.ts.map +1 -0
- package/dist/zero/schema.js +430 -0
- package/package.json +2 -1
- package/dist/clients/account.d.ts +0 -144
- package/dist/clients/account.d.ts.map +0 -1
- package/dist/clients/account.js +0 -93
- package/dist/clients/contact.d.ts +0 -14
- package/dist/clients/contact.d.ts.map +0 -1
- package/dist/clients/contact.js +0 -14
- package/dist/clients/draft.d.ts +0 -196
- package/dist/clients/draft.js +0 -122
- package/dist/clients/index.d.ts +0 -526
- package/dist/clients/index.d.ts.map +0 -1
- package/dist/clients/index.js +0 -13
- package/dist/clients/thread.d.ts +0 -125
- package/dist/clients/thread.d.ts.map +0 -1
- package/dist/clients/thread.js +0 -117
- package/dist/clients/user.d.ts +0 -53
- package/dist/clients/user.d.ts.map +0 -1
- package/dist/clients/user.js +0 -52
- package/dist/clients/utils/index.d.ts +0 -4
- package/dist/clients/utils/index.d.ts.map +0 -1
- package/dist/clients/utils/index.js +0 -4
- package/dist/clients/utils/labelSpecialUseOrdering.d.ts +0 -3
- package/dist/clients/utils/labelSpecialUseOrdering.d.ts.map +0 -1
- package/dist/clients/utils/labelSpecialUseOrdering.js +0 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +0 -888
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/index.js +0 -3
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +0 -71
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/pull/account.js +0 -33
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +0 -56
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/pull/contact.js +0 -40
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +0 -72
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.js +0 -36
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +0 -349
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/pull/index.js +0 -6
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +0 -100
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.js +0 -45
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts +0 -57
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/pull/user.js +0 -33
- package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/push/account.js +0 -73
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/push/draft.js +0 -79
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +0 -538
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/push/index.js +0 -5
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/push/thread.js +0 -79
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +0 -64
- package/dist/sdk/endpoints/private/sync/push/user.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/push/user.js +0 -43
- package/dist/types/MarcoClient.d.ts +0 -12
- package/dist/types/MarcoClient.d.ts.map +0 -1
- package/dist/types/MarcoClient.js +0 -1
- package/dist/types/WS.d.ts +0 -7
- package/dist/types/WS.d.ts.map +0 -1
- package/dist/types/WS.js +0 -1
- package/dist/ws.d.ts +0 -6
- package/dist/ws.d.ts.map +0 -1
- package/dist/ws.js +0 -5
|
@@ -1,349 +0,0 @@
|
|
|
1
|
-
export declare const pull: {
|
|
2
|
-
account: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
|
|
3
|
-
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
|
-
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
5
|
-
readonly order: import("valibot").StringSchema<undefined>;
|
|
6
|
-
readonly version: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
7
|
-
}, undefined>, undefined>;
|
|
8
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
9
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
10
|
-
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
11
|
-
readonly issues: import("valibot").ObjectSchema<{
|
|
12
|
-
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>;
|
|
13
|
-
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
14
|
-
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
15
|
-
}, undefined>;
|
|
16
|
-
}, undefined>;
|
|
17
|
-
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
18
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
19
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
20
|
-
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
21
|
-
}, undefined>;
|
|
22
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
23
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
24
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
25
|
-
readonly cookie: import("valibot").ObjectSchema<{
|
|
26
|
-
readonly order: import("valibot").StringSchema<undefined>;
|
|
27
|
-
readonly version: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
28
|
-
}, undefined>;
|
|
29
|
-
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
30
|
-
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
31
|
-
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
32
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
33
|
-
readonly key: import("valibot").StringSchema<undefined>;
|
|
34
|
-
readonly op: import("valibot").LiteralSchema<"del", undefined>;
|
|
35
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
36
|
-
readonly key: import("valibot").StringSchema<undefined>;
|
|
37
|
-
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
38
|
-
readonly value: import("valibot").ObjectSchema<{
|
|
39
|
-
readonly aliases: import("valibot").ObjectSchema<{
|
|
40
|
-
readonly nonPrimary: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
41
|
-
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
42
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
43
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
44
|
-
}, undefined>, undefined>;
|
|
45
|
-
readonly primary: import("valibot").ObjectSchema<{
|
|
46
|
-
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
47
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
48
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
49
|
-
}, undefined>;
|
|
50
|
-
}, undefined>;
|
|
51
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
52
|
-
readonly imapConnectionStatus: import("valibot").PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "CONNECTION_FAILED_AUTHENTICATION_ERROR", "CONNECTION_FAILED_CONNECTION_ERROR", "CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR", "CONNECTION_FAILED_QUOTA_ERROR", "CONNECTION_FAILED_UNKNOWN_ERROR"], undefined>;
|
|
53
|
-
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
54
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
55
|
-
readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
56
|
-
readonly specialUse: import("valibot").NullableSchema<import("valibot").PicklistSchema<readonly ["ARCHIVE", "INBOX", "SENT", "SPAM", "TRASH"], undefined>, undefined>;
|
|
57
|
-
}, undefined>, undefined>;
|
|
58
|
-
readonly mailCounts: import("valibot").ObjectSchema<{
|
|
59
|
-
readonly processed: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
60
|
-
readonly total: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
61
|
-
}, undefined>;
|
|
62
|
-
readonly settings: import("valibot").ObjectSchema<{
|
|
63
|
-
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
64
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
65
|
-
}, undefined>;
|
|
66
|
-
}, undefined>;
|
|
67
|
-
}, undefined>], undefined>, undefined>;
|
|
68
|
-
}, undefined>;
|
|
69
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
70
|
-
}, undefined>], undefined>>;
|
|
71
|
-
contact: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
|
|
72
|
-
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
73
|
-
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
74
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
75
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
76
|
-
readonly order: import("valibot").StringSchema<undefined>;
|
|
77
|
-
readonly versionMax: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
78
|
-
readonly versionMin: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
79
|
-
}, undefined>, undefined>;
|
|
80
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
81
|
-
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<any, number>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
82
|
-
}, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
83
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
84
|
-
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
85
|
-
readonly issues: import("valibot").ObjectSchema<{
|
|
86
|
-
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>;
|
|
87
|
-
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
88
|
-
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
89
|
-
}, undefined>;
|
|
90
|
-
}, undefined>;
|
|
91
|
-
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
92
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
93
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
94
|
-
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
95
|
-
}, undefined>;
|
|
96
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
97
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
98
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
99
|
-
readonly cookie: import("valibot").ObjectSchema<{
|
|
100
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
101
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
102
|
-
readonly order: import("valibot").StringSchema<undefined>;
|
|
103
|
-
readonly versionMax: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
104
|
-
readonly versionMin: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
105
|
-
}, undefined>;
|
|
106
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
107
|
-
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
108
|
-
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
109
|
-
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
110
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
111
|
-
readonly key: import("valibot").StringSchema<undefined>;
|
|
112
|
-
readonly op: import("valibot").LiteralSchema<"del", undefined>;
|
|
113
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
114
|
-
readonly key: import("valibot").StringSchema<undefined>;
|
|
115
|
-
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
116
|
-
readonly value: import("valibot").ObjectSchema<{
|
|
117
|
-
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
118
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
119
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
120
|
-
}, undefined>;
|
|
121
|
-
}, undefined>], undefined>, undefined>;
|
|
122
|
-
}, undefined>;
|
|
123
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
124
|
-
}, undefined>], undefined>>;
|
|
125
|
-
draft: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
|
|
126
|
-
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
127
|
-
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
128
|
-
readonly order: import("valibot").StringSchema<undefined>;
|
|
129
|
-
readonly version: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
130
|
-
}, undefined>, undefined>;
|
|
131
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
132
|
-
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
133
|
-
}, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
134
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
135
|
-
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
136
|
-
readonly issues: import("valibot").ObjectSchema<{
|
|
137
|
-
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>;
|
|
138
|
-
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
139
|
-
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
140
|
-
}, undefined>;
|
|
141
|
-
}, undefined>;
|
|
142
|
-
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
143
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
144
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
145
|
-
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
146
|
-
}, undefined>;
|
|
147
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
148
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
149
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
150
|
-
readonly cookie: import("valibot").ObjectSchema<{
|
|
151
|
-
readonly order: import("valibot").StringSchema<undefined>;
|
|
152
|
-
readonly version: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
153
|
-
}, undefined>;
|
|
154
|
-
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
155
|
-
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
156
|
-
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
157
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
158
|
-
readonly key: import("valibot").StringSchema<undefined>;
|
|
159
|
-
readonly op: import("valibot").LiteralSchema<"del", undefined>;
|
|
160
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
161
|
-
readonly key: import("valibot").StringSchema<undefined>;
|
|
162
|
-
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
163
|
-
readonly value: import("valibot").ObjectSchema<{
|
|
164
|
-
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
165
|
-
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
166
|
-
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
167
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
168
|
-
readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
169
|
-
readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
170
|
-
readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
171
|
-
readonly uploadedChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
172
|
-
}, undefined>, undefined>;
|
|
173
|
-
readonly body: import("valibot").ObjectSchema<{
|
|
174
|
-
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
175
|
-
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
176
|
-
readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
|
|
177
|
-
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
178
|
-
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
179
|
-
}, undefined>;
|
|
180
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
181
|
-
readonly error: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
182
|
-
readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
183
|
-
readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
184
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
185
|
-
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
186
|
-
readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
187
|
-
readonly status: import("valibot").PicklistSchema<readonly ["DRAFT", "SEND_REQUESTED", "SEND_CONFIRMED", "SEND_FAILED"], undefined>;
|
|
188
|
-
readonly type: import("valibot").PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
|
|
189
|
-
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
190
|
-
}, undefined>;
|
|
191
|
-
}, undefined>], undefined>, undefined>;
|
|
192
|
-
}, undefined>;
|
|
193
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
194
|
-
}, undefined>], undefined>>;
|
|
195
|
-
thread: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
|
|
196
|
-
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
197
|
-
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
198
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
199
|
-
readonly order: import("valibot").NumberSchema<undefined>;
|
|
200
|
-
readonly versionMax: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
201
|
-
readonly windows: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
202
|
-
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
203
|
-
readonly seqNo: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
204
|
-
readonly versionMax: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
205
|
-
readonly versionMin: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
206
|
-
}, undefined>, undefined>;
|
|
207
|
-
}, undefined>, undefined>;
|
|
208
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
209
|
-
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<any, number>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
210
|
-
}, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
211
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
212
|
-
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
213
|
-
readonly issues: import("valibot").ObjectSchema<{
|
|
214
|
-
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>;
|
|
215
|
-
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
216
|
-
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
217
|
-
}, undefined>;
|
|
218
|
-
}, undefined>;
|
|
219
|
-
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
220
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
221
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
222
|
-
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
223
|
-
}, undefined>;
|
|
224
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
225
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
226
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
227
|
-
readonly cookie: import("valibot").ObjectSchema<{
|
|
228
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
229
|
-
readonly order: import("valibot").NumberSchema<undefined>;
|
|
230
|
-
readonly versionMax: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
231
|
-
readonly windows: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
232
|
-
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
233
|
-
readonly seqNo: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
234
|
-
readonly versionMax: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
235
|
-
readonly versionMin: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
236
|
-
}, undefined>, undefined>;
|
|
237
|
-
}, undefined>;
|
|
238
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
239
|
-
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
240
|
-
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
241
|
-
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
242
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
243
|
-
readonly key: import("valibot").StringSchema<undefined>;
|
|
244
|
-
readonly op: import("valibot").LiteralSchema<"del", undefined>;
|
|
245
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
246
|
-
readonly key: import("valibot").StringSchema<undefined>;
|
|
247
|
-
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
248
|
-
readonly value: import("valibot").ObjectSchema<{
|
|
249
|
-
readonly bagOfWords: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
250
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
251
|
-
readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
252
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
253
|
-
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
254
|
-
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
255
|
-
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
256
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
257
|
-
readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
258
|
-
readonly size: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
259
|
-
readonly status: import("valibot").PicklistSchema<readonly ["NOT_DOWNLOADED", "DOWNLOAD_REQUESTED", "DOWNLOADED", "DOWNLOAD_FAILED"], undefined>;
|
|
260
|
-
}, undefined>, undefined>;
|
|
261
|
-
readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
262
|
-
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
263
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
264
|
-
}, undefined>, undefined>;
|
|
265
|
-
readonly cc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
266
|
-
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
267
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
268
|
-
}, undefined>, undefined>;
|
|
269
|
-
readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
270
|
-
readonly envelopeSubject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
271
|
-
readonly from: import("valibot").ObjectSchema<{
|
|
272
|
-
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
273
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
274
|
-
}, undefined>;
|
|
275
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
276
|
-
readonly labelIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
277
|
-
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
278
|
-
readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
279
|
-
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
280
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
281
|
-
}, undefined>, undefined>;
|
|
282
|
-
readonly to: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
283
|
-
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
284
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
285
|
-
}, undefined>, undefined>;
|
|
286
|
-
}, undefined>, undefined>;
|
|
287
|
-
readonly seen: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
288
|
-
}, undefined>;
|
|
289
|
-
}, undefined>], undefined>, undefined>;
|
|
290
|
-
}, undefined>;
|
|
291
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
292
|
-
}, undefined>], undefined>>;
|
|
293
|
-
user: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
|
|
294
|
-
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
295
|
-
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
296
|
-
readonly order: import("valibot").StringSchema<undefined>;
|
|
297
|
-
readonly version: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
298
|
-
}, undefined>, undefined>;
|
|
299
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
300
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
301
|
-
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
302
|
-
readonly issues: import("valibot").ObjectSchema<{
|
|
303
|
-
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>;
|
|
304
|
-
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
305
|
-
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
306
|
-
}, undefined>;
|
|
307
|
-
}, undefined>;
|
|
308
|
-
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
309
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
310
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
311
|
-
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
312
|
-
}, undefined>;
|
|
313
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
314
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
315
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
316
|
-
readonly cookie: import("valibot").ObjectSchema<{
|
|
317
|
-
readonly order: import("valibot").StringSchema<undefined>;
|
|
318
|
-
readonly version: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
319
|
-
}, undefined>;
|
|
320
|
-
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
321
|
-
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
322
|
-
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
323
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
324
|
-
readonly key: import("valibot").StringSchema<undefined>;
|
|
325
|
-
readonly op: import("valibot").LiteralSchema<"del", undefined>;
|
|
326
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
327
|
-
readonly key: import("valibot").StringSchema<undefined>;
|
|
328
|
-
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
329
|
-
readonly value: import("valibot").ObjectSchema<{
|
|
330
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
331
|
-
readonly settings: import("valibot").ObjectSchema<{
|
|
332
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
333
|
-
readonly notifications: import("valibot").ObjectSchema<{
|
|
334
|
-
readonly pushNotificationTokens: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
335
|
-
readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
336
|
-
readonly deviceId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
337
|
-
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
338
|
-
}, undefined>, undefined>;
|
|
339
|
-
}, undefined>;
|
|
340
|
-
readonly profilePicture: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
341
|
-
readonly undoSendEnabled: import("valibot").BooleanSchema<undefined>;
|
|
342
|
-
}, undefined>;
|
|
343
|
-
}, undefined>;
|
|
344
|
-
}, undefined>], undefined>, undefined>;
|
|
345
|
-
}, undefined>;
|
|
346
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
347
|
-
}, undefined>], undefined>>;
|
|
348
|
-
};
|
|
349
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { syncPullAccount as account } from './account';
|
|
2
|
-
import { syncPullContact as contact } from './contact';
|
|
3
|
-
import { syncPullDraft as draft } from './draft';
|
|
4
|
-
import { syncPullThread as thread } from './thread';
|
|
5
|
-
import { syncPullUser as user } from './user';
|
|
6
|
-
export const pull = { account, contact, draft, thread, user };
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", v.ObjectSchema<{
|
|
3
|
-
readonly clientGroupID: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
|
-
readonly cookie: v.NullableSchema<v.ObjectSchema<{
|
|
5
|
-
readonly hasMore: v.BooleanSchema<undefined>;
|
|
6
|
-
readonly order: v.NumberSchema<undefined>;
|
|
7
|
-
readonly versionMax: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
8
|
-
readonly windows: v.ArraySchema<v.ObjectSchema<{
|
|
9
|
-
readonly sentAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
10
|
-
readonly seqNo: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
11
|
-
readonly versionMax: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
12
|
-
readonly versionMin: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
13
|
-
}, undefined>, undefined>;
|
|
14
|
-
}, undefined>, undefined>;
|
|
15
|
-
}, undefined>, v.ObjectSchema<{
|
|
16
|
-
readonly pageSize: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<any, number>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
17
|
-
}, undefined>, v.UnionSchema<[v.ObjectSchema<{
|
|
18
|
-
readonly data: v.ObjectSchema<{
|
|
19
|
-
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
20
|
-
readonly issues: v.ObjectSchema<{
|
|
21
|
-
readonly nested: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
|
|
22
|
-
readonly other: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
23
|
-
readonly root: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
24
|
-
}, undefined>;
|
|
25
|
-
}, undefined>;
|
|
26
|
-
readonly status: v.LiteralSchema<400, undefined>;
|
|
27
|
-
}, undefined>, v.ObjectSchema<{
|
|
28
|
-
readonly data: v.ObjectSchema<{
|
|
29
|
-
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
30
|
-
}, undefined>;
|
|
31
|
-
readonly status: v.LiteralSchema<401, undefined>;
|
|
32
|
-
}, undefined>, v.ObjectSchema<{
|
|
33
|
-
readonly data: v.ObjectSchema<{
|
|
34
|
-
readonly cookie: v.ObjectSchema<{
|
|
35
|
-
readonly hasMore: v.BooleanSchema<undefined>;
|
|
36
|
-
readonly order: v.NumberSchema<undefined>;
|
|
37
|
-
readonly versionMax: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
38
|
-
readonly windows: v.ArraySchema<v.ObjectSchema<{
|
|
39
|
-
readonly sentAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
40
|
-
readonly seqNo: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
41
|
-
readonly versionMax: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
42
|
-
readonly versionMin: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
43
|
-
}, undefined>, undefined>;
|
|
44
|
-
}, undefined>;
|
|
45
|
-
readonly hasMore: v.BooleanSchema<undefined>;
|
|
46
|
-
readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
|
|
47
|
-
readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
48
|
-
readonly op: v.LiteralSchema<"clear", undefined>;
|
|
49
|
-
}, undefined>, v.ObjectSchema<{
|
|
50
|
-
readonly key: v.StringSchema<undefined>;
|
|
51
|
-
readonly op: v.LiteralSchema<"del", undefined>;
|
|
52
|
-
}, undefined>, v.ObjectSchema<{
|
|
53
|
-
readonly key: v.StringSchema<undefined>;
|
|
54
|
-
readonly op: v.LiteralSchema<"put", undefined>;
|
|
55
|
-
readonly value: v.ObjectSchema<{
|
|
56
|
-
readonly bagOfWords: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
57
|
-
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
58
|
-
readonly flagged: v.NonOptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
59
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
60
|
-
readonly messages: v.ArraySchema<v.ObjectSchema<{
|
|
61
|
-
readonly attachments: v.ArraySchema<v.ObjectSchema<{
|
|
62
|
-
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
63
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
64
|
-
readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
65
|
-
readonly size: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
66
|
-
readonly status: v.PicklistSchema<readonly ["NOT_DOWNLOADED", "DOWNLOAD_REQUESTED", "DOWNLOADED", "DOWNLOAD_FAILED"], undefined>;
|
|
67
|
-
}, undefined>, undefined>;
|
|
68
|
-
readonly bcc: v.ArraySchema<v.ObjectSchema<{
|
|
69
|
-
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
70
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
71
|
-
}, undefined>, undefined>;
|
|
72
|
-
readonly cc: v.ArraySchema<v.ObjectSchema<{
|
|
73
|
-
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
74
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
75
|
-
}, undefined>, undefined>;
|
|
76
|
-
readonly envelopeDate: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
77
|
-
readonly envelopeSubject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
78
|
-
readonly from: v.ObjectSchema<{
|
|
79
|
-
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
80
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
81
|
-
}, undefined>;
|
|
82
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
83
|
-
readonly labelIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
84
|
-
readonly previewText: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
85
|
-
readonly replyTo: v.ArraySchema<v.ObjectSchema<{
|
|
86
|
-
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
87
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
88
|
-
}, undefined>, undefined>;
|
|
89
|
-
readonly to: v.ArraySchema<v.ObjectSchema<{
|
|
90
|
-
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
91
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
92
|
-
}, undefined>, undefined>;
|
|
93
|
-
}, undefined>, undefined>;
|
|
94
|
-
readonly seen: v.NonOptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
95
|
-
}, undefined>;
|
|
96
|
-
}, undefined>], undefined>, undefined>;
|
|
97
|
-
}, undefined>;
|
|
98
|
-
readonly status: v.LiteralSchema<200, undefined>;
|
|
99
|
-
}, undefined>], undefined>>;
|
|
100
|
-
//# sourceMappingURL=thread.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAqB5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA6BzB,CAAA"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
import { thread } from '../../../../../clients/thread';
|
|
3
|
-
import { marcoSchemas } from '../../../../../schemas';
|
|
4
|
-
import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
|
|
5
|
-
import { errors } from '../../../../../sdk/validation/errors';
|
|
6
|
-
const windowSchema = v.object({
|
|
7
|
-
sentAt: marcoSchemas.number.positiveInteger(),
|
|
8
|
-
seqNo: marcoSchemas.number.positiveInteger(),
|
|
9
|
-
versionMax: marcoSchemas.number.positiveInteger(),
|
|
10
|
-
versionMin: marcoSchemas.number.positiveInteger(),
|
|
11
|
-
});
|
|
12
|
-
const cookieSchema = v.object({
|
|
13
|
-
hasMore: v.boolean(),
|
|
14
|
-
order: v.number(),
|
|
15
|
-
versionMax: marcoSchemas.number.positiveInteger(),
|
|
16
|
-
windows: v.array(windowSchema),
|
|
17
|
-
});
|
|
18
|
-
export const syncPullThread = createEndpoint({
|
|
19
|
-
body: v.object({
|
|
20
|
-
clientGroupID: marcoSchemas.string.required(),
|
|
21
|
-
cookie: v.nullable(cookieSchema),
|
|
22
|
-
}),
|
|
23
|
-
method: 'POST',
|
|
24
|
-
path: thread.pullUrl,
|
|
25
|
-
query: v.object({
|
|
26
|
-
pageSize: v.optional(v.pipe(v.string(), v.transform(Number), v.integer(), v.minValue(1))),
|
|
27
|
-
}),
|
|
28
|
-
response: v.union([
|
|
29
|
-
errors.validationFailedErrorSchema,
|
|
30
|
-
errors.authFailedErrorSchema,
|
|
31
|
-
v.object({
|
|
32
|
-
data: v.object({
|
|
33
|
-
cookie: cookieSchema,
|
|
34
|
-
hasMore: v.boolean(),
|
|
35
|
-
lastMutationIDChanges: v.record(v.string(), v.number()),
|
|
36
|
-
patch: v.array(v.union([
|
|
37
|
-
v.object({ op: v.literal('clear') }),
|
|
38
|
-
v.object({ key: v.string(), op: v.literal('del') }),
|
|
39
|
-
v.object({ key: v.string(), op: v.literal('put'), value: thread.model }),
|
|
40
|
-
])),
|
|
41
|
-
}),
|
|
42
|
-
status: v.literal(200),
|
|
43
|
-
}),
|
|
44
|
-
]),
|
|
45
|
-
});
|