@marcoappio/marco-config 2.0.246 → 2.0.247
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 +8 -8
- package/dist/clients/account.js +5 -5
- package/dist/clients/contact.d.ts +1 -1
- package/dist/clients/contact.js +1 -1
- package/dist/clients/draft.d.ts +21 -21
- package/dist/clients/draft.js +13 -13
- package/dist/clients/index.d.ts +48 -48
- package/dist/clients/thread.d.ts +13 -13
- package/dist/clients/thread.js +13 -13
- package/dist/clients/user.d.ts +5 -5
- package/dist/clients/user.js +2 -2
- package/dist/{schemas.d.ts → schemas/index.d.ts} +3 -1
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/{schemas.js → schemas/index.js} +2 -8
- package/dist/schemas/string.d.ts +12 -0
- package/dist/schemas/string.d.ts.map +1 -0
- package/dist/schemas/string.js +12 -0
- package/dist/schemas/string.test.d.ts +2 -0
- package/dist/schemas/string.test.d.ts.map +1 -0
- package/dist/schemas/string.test.js +11 -0
- package/dist/sdk/endpoints/index.d.ts +48 -48
- package/dist/sdk/endpoints/private/index.d.ts +48 -48
- package/dist/sdk/endpoints/private/sync/index.d.ts +48 -48
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +4 -4
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +11 -11
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +4 -4
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +7 -7
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +17 -17
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +37 -37
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts +9 -9
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +4 -4
- package/dist/sdk/index.d.ts +48 -48
- package/dist/utils/shortUUID/shortUUID.d.ts +1 -0
- package/dist/utils/shortUUID/shortUUID.d.ts.map +1 -1
- package/dist/utils/shortUUID/shortUUID.js +1 -0
- package/dist/utils/shortUUID/shortUUID.test.js +4 -0
- package/package.json +1 -1
- package/dist/schemas.d.ts.map +0 -1
|
@@ -3,14 +3,14 @@ export declare const syncPushThread: import("../../../../..").EndpointConfig<"/v
|
|
|
3
3
|
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
4
|
readonly mutations: v.ArraySchema<v.UnionSchema<(v.ObjectSchema<{
|
|
5
5
|
readonly args: v.ObjectSchema<{
|
|
6
|
-
readonly threadId: v.
|
|
6
|
+
readonly threadId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
7
7
|
}, undefined>;
|
|
8
8
|
readonly clientID: v.StringSchema<undefined>;
|
|
9
9
|
readonly id: v.NumberSchema<undefined>;
|
|
10
10
|
readonly name: v.LiteralSchema<"delete", undefined>;
|
|
11
11
|
}, undefined> | v.ObjectSchema<{
|
|
12
12
|
readonly args: v.ObjectSchema<{
|
|
13
|
-
readonly threadId: v.
|
|
13
|
+
readonly threadId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
14
14
|
}, undefined>;
|
|
15
15
|
readonly clientID: v.StringSchema<undefined>;
|
|
16
16
|
readonly id: v.NumberSchema<undefined>;
|
|
@@ -18,22 +18,22 @@ export declare const syncPushThread: import("../../../../..").EndpointConfig<"/v
|
|
|
18
18
|
}, undefined> | v.ObjectSchema<{
|
|
19
19
|
readonly args: v.ObjectSchema<{
|
|
20
20
|
readonly flagged: v.NonOptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
21
|
-
readonly threadId: v.
|
|
21
|
+
readonly threadId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
22
22
|
}, undefined>;
|
|
23
23
|
readonly clientID: v.StringSchema<undefined>;
|
|
24
24
|
readonly id: v.NumberSchema<undefined>;
|
|
25
25
|
readonly name: v.LiteralSchema<"setFlagged", undefined>;
|
|
26
26
|
}, undefined> | v.ObjectSchema<{
|
|
27
27
|
readonly args: v.ObjectSchema<{
|
|
28
|
-
readonly threadId: v.
|
|
28
|
+
readonly threadId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
29
29
|
}, undefined>;
|
|
30
30
|
readonly clientID: v.StringSchema<undefined>;
|
|
31
31
|
readonly id: v.NumberSchema<undefined>;
|
|
32
32
|
readonly name: v.LiteralSchema<"setInbox", undefined>;
|
|
33
33
|
}, undefined> | v.ObjectSchema<{
|
|
34
34
|
readonly args: v.ObjectSchema<{
|
|
35
|
-
readonly labelIds: v.ArraySchema<v.
|
|
36
|
-
readonly threadId: v.
|
|
35
|
+
readonly labelIds: v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
36
|
+
readonly threadId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
37
37
|
}, undefined>;
|
|
38
38
|
readonly clientID: v.StringSchema<undefined>;
|
|
39
39
|
readonly id: v.NumberSchema<undefined>;
|
|
@@ -41,21 +41,21 @@ export declare const syncPushThread: import("../../../../..").EndpointConfig<"/v
|
|
|
41
41
|
}, undefined> | v.ObjectSchema<{
|
|
42
42
|
readonly args: v.ObjectSchema<{
|
|
43
43
|
readonly seen: v.BooleanSchema<undefined>;
|
|
44
|
-
readonly threadId: v.
|
|
44
|
+
readonly threadId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
45
45
|
}, undefined>;
|
|
46
46
|
readonly clientID: v.StringSchema<undefined>;
|
|
47
47
|
readonly id: v.NumberSchema<undefined>;
|
|
48
48
|
readonly name: v.LiteralSchema<"setSeen", undefined>;
|
|
49
49
|
}, undefined> | v.ObjectSchema<{
|
|
50
50
|
readonly args: v.ObjectSchema<{
|
|
51
|
-
readonly threadId: v.
|
|
51
|
+
readonly threadId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
52
52
|
}, undefined>;
|
|
53
53
|
readonly clientID: v.StringSchema<undefined>;
|
|
54
54
|
readonly id: v.NumberSchema<undefined>;
|
|
55
55
|
readonly name: v.LiteralSchema<"setSpam", undefined>;
|
|
56
56
|
}, undefined> | v.ObjectSchema<{
|
|
57
57
|
readonly args: v.ObjectSchema<{
|
|
58
|
-
readonly threadId: v.
|
|
58
|
+
readonly threadId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
59
59
|
}, undefined>;
|
|
60
60
|
readonly clientID: v.StringSchema<undefined>;
|
|
61
61
|
readonly id: v.NumberSchema<undefined>;
|
|
@@ -3,10 +3,10 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
3
3
|
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
4
|
readonly mutations: v.ArraySchema<v.UnionSchema<v.ObjectSchema<{
|
|
5
5
|
readonly args: v.ObjectSchema<{
|
|
6
|
-
readonly id: v.
|
|
6
|
+
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
7
7
|
readonly settings: Omit<v.ObjectSchema<{
|
|
8
8
|
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
|
-
}, undefined>, "~
|
|
9
|
+
}, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
|
|
10
10
|
readonly entries: {
|
|
11
11
|
readonly name: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
12
12
|
};
|
|
@@ -17,7 +17,7 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
17
17
|
}>;
|
|
18
18
|
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
19
19
|
name?: string | null | undefined;
|
|
20
|
-
}, v.StringIssue | v.
|
|
20
|
+
}, v.StringIssue | v.MaxLengthIssue<string, number> | v.ObjectIssue>;
|
|
21
21
|
readonly '~types'?: {
|
|
22
22
|
readonly input: {
|
|
23
23
|
name?: string | null | undefined;
|
|
@@ -25,7 +25,7 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
25
25
|
readonly output: {
|
|
26
26
|
name?: string | null | undefined;
|
|
27
27
|
};
|
|
28
|
-
readonly issue: v.StringIssue | v.
|
|
28
|
+
readonly issue: v.StringIssue | v.MaxLengthIssue<string, number> | v.ObjectIssue;
|
|
29
29
|
} | undefined;
|
|
30
30
|
};
|
|
31
31
|
}, undefined>;
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ export declare const marcoSDK: {
|
|
|
75
75
|
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
76
76
|
}, undefined>, undefined>;
|
|
77
77
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
78
|
-
readonly id: import("valibot").
|
|
78
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
79
79
|
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_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
80
80
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
81
81
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -128,7 +128,7 @@ export declare const marcoSDK: {
|
|
|
128
128
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
129
129
|
readonly value: import("valibot").ObjectSchema<{
|
|
130
130
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
131
|
-
readonly id: import("valibot").
|
|
131
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
132
132
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
133
133
|
}, undefined>;
|
|
134
134
|
}, undefined>], undefined>, undefined>;
|
|
@@ -168,7 +168,7 @@ export declare const marcoSDK: {
|
|
|
168
168
|
readonly value: import("valibot").ObjectSchema<{
|
|
169
169
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
170
170
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
171
|
-
readonly id: import("valibot").
|
|
171
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
172
172
|
readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
173
173
|
readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
174
174
|
readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
@@ -181,9 +181,9 @@ export declare const marcoSDK: {
|
|
|
181
181
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
182
182
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
183
183
|
}, undefined>;
|
|
184
|
-
readonly emailAccountId: import("valibot").
|
|
185
|
-
readonly id: import("valibot").
|
|
186
|
-
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").
|
|
184
|
+
readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
185
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
186
|
+
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
187
187
|
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
188
188
|
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
|
|
189
189
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
@@ -236,11 +236,11 @@ export declare const marcoSDK: {
|
|
|
236
236
|
readonly bagOfWords: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
237
237
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
238
238
|
readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
239
|
-
readonly id: import("valibot").
|
|
239
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
240
240
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
241
241
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
242
242
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
243
|
-
readonly id: import("valibot").
|
|
243
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
244
244
|
readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
245
245
|
readonly size: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
246
246
|
}, undefined>, undefined>;
|
|
@@ -258,8 +258,8 @@ export declare const marcoSDK: {
|
|
|
258
258
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
259
259
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
260
260
|
}, undefined>, undefined>;
|
|
261
|
-
readonly id: import("valibot").
|
|
262
|
-
readonly labelIds: import("valibot").ArraySchema<import("valibot").
|
|
261
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
262
|
+
readonly labelIds: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
263
263
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
264
264
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
265
265
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -307,7 +307,7 @@ export declare const marcoSDK: {
|
|
|
307
307
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
308
308
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
309
309
|
readonly value: import("valibot").ObjectSchema<{
|
|
310
|
-
readonly id: import("valibot").
|
|
310
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
311
311
|
readonly settings: import("valibot").ObjectSchema<{
|
|
312
312
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
313
313
|
}, undefined>;
|
|
@@ -324,14 +324,14 @@ export declare const marcoSDK: {
|
|
|
324
324
|
readonly args: import("valibot").ObjectSchema<{
|
|
325
325
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
326
326
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
327
|
-
readonly id: import("valibot").
|
|
327
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
328
328
|
}, undefined>;
|
|
329
329
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
330
330
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
331
331
|
readonly name: import("valibot").LiteralSchema<"add", undefined>;
|
|
332
332
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
333
333
|
readonly args: import("valibot").ObjectSchema<{
|
|
334
|
-
readonly id: import("valibot").
|
|
334
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
335
335
|
}, undefined>;
|
|
336
336
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
337
337
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
@@ -346,18 +346,18 @@ export declare const marcoSDK: {
|
|
|
346
346
|
readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
347
347
|
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
348
348
|
}, undefined>;
|
|
349
|
-
readonly id: import("valibot").
|
|
349
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
350
350
|
}, undefined>;
|
|
351
351
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
352
352
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
353
353
|
readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
|
|
354
354
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
355
355
|
readonly args: import("valibot").ObjectSchema<{
|
|
356
|
-
readonly id: import("valibot").
|
|
356
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
357
357
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
358
358
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
359
359
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
360
|
-
}, undefined>, "~
|
|
360
|
+
}, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
|
|
361
361
|
readonly entries: {
|
|
362
362
|
readonly color: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
363
363
|
readonly name: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
@@ -372,7 +372,7 @@ export declare const marcoSDK: {
|
|
|
372
372
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
373
373
|
name?: string | null | undefined;
|
|
374
374
|
color?: string | undefined;
|
|
375
|
-
}, import("valibot").StringIssue | import("valibot").
|
|
375
|
+
}, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue>;
|
|
376
376
|
readonly '~types'?: {
|
|
377
377
|
readonly input: {
|
|
378
378
|
name?: string | null | undefined;
|
|
@@ -382,7 +382,7 @@ export declare const marcoSDK: {
|
|
|
382
382
|
name?: string | null | undefined;
|
|
383
383
|
color?: string | undefined;
|
|
384
384
|
};
|
|
385
|
-
readonly issue: import("valibot").StringIssue | import("valibot").
|
|
385
|
+
readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue;
|
|
386
386
|
} | undefined;
|
|
387
387
|
};
|
|
388
388
|
}, undefined>;
|
|
@@ -414,7 +414,7 @@ export declare const marcoSDK: {
|
|
|
414
414
|
readonly args: import("valibot").ObjectSchema<{
|
|
415
415
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
416
416
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
417
|
-
readonly id: import("valibot").
|
|
417
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
418
418
|
readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
419
419
|
readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
420
420
|
readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
@@ -427,9 +427,9 @@ export declare const marcoSDK: {
|
|
|
427
427
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
428
428
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
429
429
|
}, undefined>;
|
|
430
|
-
readonly emailAccountId: import("valibot").
|
|
431
|
-
readonly id: import("valibot").
|
|
432
|
-
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").
|
|
430
|
+
readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
431
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
432
|
+
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
433
433
|
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
434
434
|
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
|
|
435
435
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
@@ -441,27 +441,27 @@ export declare const marcoSDK: {
|
|
|
441
441
|
readonly args: import("valibot").ObjectSchema<{
|
|
442
442
|
readonly attachment: import("valibot").ObjectSchema<{
|
|
443
443
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
444
|
-
readonly id: import("valibot").
|
|
444
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
445
445
|
readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
446
446
|
readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
447
447
|
readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
448
448
|
readonly uploadedChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
449
449
|
}, undefined>;
|
|
450
|
-
readonly id: import("valibot").
|
|
450
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
451
451
|
}, undefined>;
|
|
452
452
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
453
453
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
454
454
|
readonly name: import("valibot").LiteralSchema<"createAttachment", undefined>;
|
|
455
455
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
456
456
|
readonly args: import("valibot").ObjectSchema<{
|
|
457
|
-
readonly id: import("valibot").
|
|
457
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
458
458
|
}, undefined>;
|
|
459
459
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
460
460
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
461
461
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
462
462
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
463
463
|
readonly args: import("valibot").ObjectSchema<{
|
|
464
|
-
readonly id: import("valibot").
|
|
464
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
465
465
|
readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
466
466
|
readonly index: import("valibot").NumberSchema<undefined>;
|
|
467
467
|
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
|
|
@@ -474,8 +474,8 @@ export declare const marcoSDK: {
|
|
|
474
474
|
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
475
475
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
476
476
|
readonly args: import("valibot").ObjectSchema<{
|
|
477
|
-
readonly emailAccountId: import("valibot").
|
|
478
|
-
readonly id: import("valibot").
|
|
477
|
+
readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
478
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
479
479
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
480
480
|
}, undefined>;
|
|
481
481
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
@@ -489,7 +489,7 @@ export declare const marcoSDK: {
|
|
|
489
489
|
readonly content: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
490
490
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
491
491
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
492
|
-
}, undefined>, "~
|
|
492
|
+
}, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
|
|
493
493
|
readonly entries: Omit<{
|
|
494
494
|
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
495
495
|
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -513,7 +513,7 @@ export declare const marcoSDK: {
|
|
|
513
513
|
cc: string[];
|
|
514
514
|
to: string[];
|
|
515
515
|
subject: string | null;
|
|
516
|
-
}, import("valibot").StringIssue | import("valibot").
|
|
516
|
+
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue>;
|
|
517
517
|
readonly '~types'?: {
|
|
518
518
|
readonly input: {
|
|
519
519
|
bcc: string[];
|
|
@@ -527,10 +527,10 @@ export declare const marcoSDK: {
|
|
|
527
527
|
to: string[];
|
|
528
528
|
subject: string | null;
|
|
529
529
|
};
|
|
530
|
-
readonly issue: import("valibot").StringIssue | import("valibot").
|
|
530
|
+
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue;
|
|
531
531
|
} | undefined;
|
|
532
532
|
};
|
|
533
|
-
readonly id: import("valibot").
|
|
533
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
534
534
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
535
535
|
}, undefined>;
|
|
536
536
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
@@ -538,7 +538,7 @@ export declare const marcoSDK: {
|
|
|
538
538
|
readonly name: import("valibot").LiteralSchema<"setEnvelope", undefined>;
|
|
539
539
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
540
540
|
readonly args: import("valibot").ObjectSchema<{
|
|
541
|
-
readonly id: import("valibot").
|
|
541
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
542
542
|
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
543
543
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
544
544
|
}, undefined>;
|
|
@@ -547,9 +547,9 @@ export declare const marcoSDK: {
|
|
|
547
547
|
readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
|
|
548
548
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
549
549
|
readonly args: import("valibot").ObjectSchema<{
|
|
550
|
-
readonly attachmentId: import("valibot").
|
|
550
|
+
readonly attachmentId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
551
551
|
readonly chunk: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
552
|
-
readonly id: import("valibot").
|
|
552
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
553
553
|
}, undefined>;
|
|
554
554
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
555
555
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
@@ -577,14 +577,14 @@ export declare const marcoSDK: {
|
|
|
577
577
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
578
578
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
579
579
|
readonly args: import("valibot").ObjectSchema<{
|
|
580
|
-
readonly threadId: import("valibot").
|
|
580
|
+
readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
581
581
|
}, undefined>;
|
|
582
582
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
583
583
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
584
584
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
585
585
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
586
586
|
readonly args: import("valibot").ObjectSchema<{
|
|
587
|
-
readonly threadId: import("valibot").
|
|
587
|
+
readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
588
588
|
}, undefined>;
|
|
589
589
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
590
590
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
@@ -592,22 +592,22 @@ export declare const marcoSDK: {
|
|
|
592
592
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
593
593
|
readonly args: import("valibot").ObjectSchema<{
|
|
594
594
|
readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
595
|
-
readonly threadId: import("valibot").
|
|
595
|
+
readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
596
596
|
}, undefined>;
|
|
597
597
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
598
598
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
599
599
|
readonly name: import("valibot").LiteralSchema<"setFlagged", undefined>;
|
|
600
600
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
601
601
|
readonly args: import("valibot").ObjectSchema<{
|
|
602
|
-
readonly threadId: import("valibot").
|
|
602
|
+
readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
603
603
|
}, undefined>;
|
|
604
604
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
605
605
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
606
606
|
readonly name: import("valibot").LiteralSchema<"setInbox", undefined>;
|
|
607
607
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
608
608
|
readonly args: import("valibot").ObjectSchema<{
|
|
609
|
-
readonly labelIds: import("valibot").ArraySchema<import("valibot").
|
|
610
|
-
readonly threadId: import("valibot").
|
|
609
|
+
readonly labelIds: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
610
|
+
readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
611
611
|
}, undefined>;
|
|
612
612
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
613
613
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
@@ -615,21 +615,21 @@ export declare const marcoSDK: {
|
|
|
615
615
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
616
616
|
readonly args: import("valibot").ObjectSchema<{
|
|
617
617
|
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
618
|
-
readonly threadId: import("valibot").
|
|
618
|
+
readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
619
619
|
}, undefined>;
|
|
620
620
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
621
621
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
622
622
|
readonly name: import("valibot").LiteralSchema<"setSeen", undefined>;
|
|
623
623
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
624
624
|
readonly args: import("valibot").ObjectSchema<{
|
|
625
|
-
readonly threadId: import("valibot").
|
|
625
|
+
readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
626
626
|
}, undefined>;
|
|
627
627
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
628
628
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
629
629
|
readonly name: import("valibot").LiteralSchema<"setSpam", undefined>;
|
|
630
630
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
631
631
|
readonly args: import("valibot").ObjectSchema<{
|
|
632
|
-
readonly threadId: import("valibot").
|
|
632
|
+
readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
633
633
|
}, undefined>;
|
|
634
634
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
635
635
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
@@ -657,10 +657,10 @@ export declare const marcoSDK: {
|
|
|
657
657
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
658
658
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<import("valibot").ObjectSchema<{
|
|
659
659
|
readonly args: import("valibot").ObjectSchema<{
|
|
660
|
-
readonly id: import("valibot").
|
|
660
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
661
661
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
662
662
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
663
|
-
}, undefined>, "~
|
|
663
|
+
}, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
|
|
664
664
|
readonly entries: {
|
|
665
665
|
readonly name: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
666
666
|
};
|
|
@@ -671,7 +671,7 @@ export declare const marcoSDK: {
|
|
|
671
671
|
}>;
|
|
672
672
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
673
673
|
name?: string | null | undefined;
|
|
674
|
-
}, import("valibot").StringIssue | import("valibot").
|
|
674
|
+
}, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue>;
|
|
675
675
|
readonly '~types'?: {
|
|
676
676
|
readonly input: {
|
|
677
677
|
name?: string | null | undefined;
|
|
@@ -679,7 +679,7 @@ export declare const marcoSDK: {
|
|
|
679
679
|
readonly output: {
|
|
680
680
|
name?: string | null | undefined;
|
|
681
681
|
};
|
|
682
|
-
readonly issue: import("valibot").StringIssue | import("valibot").
|
|
682
|
+
readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue;
|
|
683
683
|
} | undefined;
|
|
684
684
|
};
|
|
685
685
|
}, undefined>;
|
|
@@ -3,5 +3,6 @@ export declare const shortUUID: {
|
|
|
3
3
|
createUUID: () => short.UUID;
|
|
4
4
|
fromUUID: (regularUUID: string | short.UUID) => short.SUUID;
|
|
5
5
|
toUUID: (shortId: string | short.SUUID) => short.UUID;
|
|
6
|
+
validate: (shortId: string | short.SUUID, rigorous?: boolean) => boolean;
|
|
6
7
|
};
|
|
7
8
|
//# sourceMappingURL=shortUUID.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shortUUID.d.ts","sourceRoot":"","sources":["../../../src/utils/shortUUID/shortUUID.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,YAAY,CAAA;AAI9B,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"shortUUID.d.ts","sourceRoot":"","sources":["../../../src/utils/shortUUID/shortUUID.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,YAAY,CAAA;AAI9B,eAAO,MAAM,SAAS;;;;;CAKrB,CAAA"}
|
|
@@ -12,4 +12,8 @@ describe('shortUUID', () => {
|
|
|
12
12
|
it('should create a new UUID', () => {
|
|
13
13
|
expect(typeof shortUUID.createUUID()).toBe('string');
|
|
14
14
|
});
|
|
15
|
+
it('should validate a short UUID', () => {
|
|
16
|
+
expect(shortUUID.validate(testShortUUID)).toBe(true);
|
|
17
|
+
expect(shortUUID.validate(testUUID)).toBe(false);
|
|
18
|
+
});
|
|
15
19
|
});
|
package/package.json
CHANGED
package/dist/schemas.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAgCP,MAAM,OAAO,MAAM;;;;;uBAQlB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;yBAEpB,MAAM;;;;;CAS1B,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,eAAe,CAAC,CAAC,CAAA"}
|