@marcoappio/marco-config 2.0.244 → 2.0.246

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.
Files changed (62) hide show
  1. package/dist/clients/account.d.ts +5 -5
  2. package/dist/clients/account.js +5 -5
  3. package/dist/clients/contact.d.ts +1 -1
  4. package/dist/clients/contact.js +1 -1
  5. package/dist/clients/draft.d.ts +15 -15
  6. package/dist/clients/draft.js +11 -11
  7. package/dist/clients/index.d.ts +31 -31
  8. package/dist/clients/thread.d.ts +10 -10
  9. package/dist/clients/thread.js +10 -10
  10. package/dist/schemas.d.ts +0 -1
  11. package/dist/schemas.d.ts.map +1 -1
  12. package/dist/schemas.js +0 -1
  13. package/dist/sdk/endpoints/index.d.ts +41 -56
  14. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  15. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts +0 -5
  16. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts.map +1 -1
  17. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.js +1 -2
  18. package/dist/sdk/endpoints/private/emailMessage/index.d.ts +0 -5
  19. package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +1 -1
  20. package/dist/sdk/endpoints/private/index.d.ts +31 -56
  21. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  22. package/dist/sdk/endpoints/private/sync/index.d.ts +31 -51
  23. package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
  24. package/dist/sdk/endpoints/private/sync/pull/account.d.ts +1 -1
  25. package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +1 -1
  26. package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +3 -3
  27. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +7 -7
  28. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +2 -2
  29. package/dist/sdk/endpoints/private/sync/push/account.d.ts +4 -9
  30. package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -1
  31. package/dist/sdk/endpoints/private/sync/push/account.js +0 -1
  32. package/dist/sdk/endpoints/private/sync/push/draft.d.ts +12 -17
  33. package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
  34. package/dist/sdk/endpoints/private/sync/push/draft.js +0 -1
  35. package/dist/sdk/endpoints/private/sync/push/index.d.ts +24 -44
  36. package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
  37. package/dist/sdk/endpoints/private/sync/push/thread.d.ts +8 -13
  38. package/dist/sdk/endpoints/private/sync/push/thread.d.ts.map +1 -1
  39. package/dist/sdk/endpoints/private/sync/push/thread.js +0 -1
  40. package/dist/sdk/endpoints/private/sync/push/user.d.ts +0 -5
  41. package/dist/sdk/endpoints/private/sync/push/user.d.ts.map +1 -1
  42. package/dist/sdk/endpoints/private/sync/push/user.js +0 -1
  43. package/dist/sdk/endpoints/public/auth/index.d.ts +10 -0
  44. package/dist/sdk/endpoints/public/auth/index.d.ts.map +1 -1
  45. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +5 -0
  46. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts.map +1 -1
  47. package/dist/sdk/endpoints/public/auth/sendAuthCode.js +1 -0
  48. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +5 -0
  49. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +1 -1
  50. package/dist/sdk/endpoints/public/auth/verifyAuthCode.js +1 -0
  51. package/dist/sdk/endpoints/public/index.d.ts +10 -0
  52. package/dist/sdk/endpoints/public/index.d.ts.map +1 -1
  53. package/dist/sdk/index.d.ts +44 -71
  54. package/dist/sdk/index.d.ts.map +1 -1
  55. package/dist/sdk/validation/errors.d.ts +9 -33
  56. package/dist/sdk/validation/errors.d.ts.map +1 -1
  57. package/dist/sdk/validation/errors.js +5 -15
  58. package/dist/sdk/validation/index.d.ts +3 -15
  59. package/dist/sdk/validation/index.d.ts.map +1 -1
  60. package/dist/types/SDKError.d.ts +1 -1
  61. package/dist/types/SDKError.d.ts.map +1 -1
  62. package/package.json +1 -1
@@ -5,7 +5,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
5
5
  readonly args: v.ObjectSchema<{
6
6
  readonly attachments: v.ArraySchema<v.ObjectSchema<{
7
7
  readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
8
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
8
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
9
9
  readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
10
10
  readonly totalChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
11
11
  readonly totalSize: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
@@ -18,8 +18,8 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
18
18
  readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
19
19
  readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
20
20
  }, undefined>;
21
- readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
22
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
21
+ readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
22
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
23
23
  readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
24
24
  readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SENDING", undefined>, v.LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
25
25
  readonly type: v.UnionSchema<[v.LiteralSchema<"NEW", undefined>, v.LiteralSchema<"REPLY", undefined>, v.LiteralSchema<"FORWARD", undefined>], undefined>;
@@ -32,27 +32,27 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
32
32
  readonly args: v.ObjectSchema<{
33
33
  readonly attachment: v.ObjectSchema<{
34
34
  readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
35
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
35
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
36
36
  readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
37
37
  readonly totalChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
38
38
  readonly totalSize: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
39
39
  readonly uploadedChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
40
40
  }, undefined>;
41
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
41
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
42
42
  }, undefined>;
43
43
  readonly clientID: v.StringSchema<undefined>;
44
44
  readonly id: v.NumberSchema<undefined>;
45
45
  readonly name: v.LiteralSchema<"createAttachment", undefined>;
46
46
  }, undefined> | v.ObjectSchema<{
47
47
  readonly args: v.ObjectSchema<{
48
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
48
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
49
49
  }, undefined>;
50
50
  readonly clientID: v.StringSchema<undefined>;
51
51
  readonly id: v.NumberSchema<undefined>;
52
52
  readonly name: v.LiteralSchema<"delete", undefined>;
53
53
  }, undefined> | v.ObjectSchema<{
54
54
  readonly args: v.ObjectSchema<{
55
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
55
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
56
56
  readonly patch: v.ArraySchema<v.ObjectSchema<{
57
57
  readonly index: v.NumberSchema<undefined>;
58
58
  readonly type: v.UnionSchema<[v.LiteralSchema<"INSERTION", undefined>, v.LiteralSchema<"DELETION", undefined>], undefined>;
@@ -66,7 +66,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
66
66
  }, undefined> | v.ObjectSchema<{
67
67
  readonly args: v.ObjectSchema<{
68
68
  readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
69
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
69
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
70
70
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
71
71
  }, undefined>;
72
72
  readonly clientID: v.StringSchema<undefined>;
@@ -121,7 +121,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
121
121
  readonly issue: v.StringIssue | v.ObjectIssue | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.ArrayIssue;
122
122
  } | undefined;
123
123
  };
124
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
124
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
125
125
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
126
126
  }, undefined>;
127
127
  readonly clientID: v.StringSchema<undefined>;
@@ -129,7 +129,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
129
129
  readonly name: v.LiteralSchema<"setEnvelope", undefined>;
130
130
  }, undefined> | v.ObjectSchema<{
131
131
  readonly args: v.ObjectSchema<{
132
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
132
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
133
133
  readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SENDING", undefined>, v.LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
134
134
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
135
135
  }, undefined>;
@@ -138,9 +138,9 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
138
138
  readonly name: v.LiteralSchema<"setStatus", undefined>;
139
139
  }, undefined> | v.ObjectSchema<{
140
140
  readonly args: v.ObjectSchema<{
141
- readonly attachmentId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
141
+ readonly attachmentId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
142
142
  readonly chunk: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
143
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
143
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
144
144
  }, undefined>;
145
145
  readonly clientID: v.StringSchema<undefined>;
146
146
  readonly id: v.NumberSchema<undefined>;
@@ -156,11 +156,6 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
156
156
  }, undefined>;
157
157
  }, undefined>;
158
158
  readonly status: v.LiteralSchema<400, undefined>;
159
- }, undefined>, v.ObjectSchema<{
160
- readonly data: v.ObjectSchema<{
161
- readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
162
- }, undefined>;
163
- readonly status: v.LiteralSchema<409, undefined>;
164
159
  }, undefined>, v.ObjectSchema<{
165
160
  readonly data: v.ObjectSchema<{
166
161
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAkExB,CAAA"}
1
+ {"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiExB,CAAA"}
@@ -60,7 +60,6 @@ export const syncPushDraft = createEndpoint({
60
60
  path: draft.pushURL,
61
61
  response: v.union([
62
62
  errors.validationFailedErrorSchema,
63
- errors.mutationDriftErrorSchema,
64
63
  errors.authFailedErrorSchema,
65
64
  v.object({ status: v.literal(200) }),
66
65
  ]),
@@ -5,14 +5,14 @@ export declare const push: {
5
5
  readonly args: import("valibot").ObjectSchema<{
6
6
  readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
7
7
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
8
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
8
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
9
9
  }, undefined>;
10
10
  readonly clientID: import("valibot").StringSchema<undefined>;
11
11
  readonly id: import("valibot").NumberSchema<undefined>;
12
12
  readonly name: import("valibot").LiteralSchema<"add", undefined>;
13
13
  }, undefined> | import("valibot").ObjectSchema<{
14
14
  readonly args: import("valibot").ObjectSchema<{
15
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
15
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
16
16
  }, undefined>;
17
17
  readonly clientID: import("valibot").StringSchema<undefined>;
18
18
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -27,14 +27,14 @@ export declare const push: {
27
27
  readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
28
28
  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>;
29
29
  }, undefined>;
30
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
30
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
31
31
  }, undefined>;
32
32
  readonly clientID: import("valibot").StringSchema<undefined>;
33
33
  readonly id: import("valibot").NumberSchema<undefined>;
34
34
  readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
35
35
  }, undefined> | import("valibot").ObjectSchema<{
36
36
  readonly args: import("valibot").ObjectSchema<{
37
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
37
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
38
38
  readonly settings: Omit<import("valibot").ObjectSchema<{
39
39
  readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
40
40
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -86,11 +86,6 @@ export declare const push: {
86
86
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
87
87
  }, undefined>;
88
88
  readonly status: import("valibot").LiteralSchema<401, undefined>;
89
- }, undefined>, import("valibot").ObjectSchema<{
90
- readonly data: import("valibot").ObjectSchema<{
91
- readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
92
- }, undefined>;
93
- readonly status: import("valibot").LiteralSchema<409, undefined>;
94
89
  }, undefined>, import("valibot").ObjectSchema<{
95
90
  readonly status: import("valibot").LiteralSchema<200, undefined>;
96
91
  }, undefined>], undefined>>;
@@ -100,7 +95,7 @@ export declare const push: {
100
95
  readonly args: import("valibot").ObjectSchema<{
101
96
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
102
97
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
103
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
98
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
104
99
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
105
100
  readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
106
101
  readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
@@ -113,8 +108,8 @@ export declare const push: {
113
108
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
114
109
  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>;
115
110
  }, undefined>;
116
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
117
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
111
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
112
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
118
113
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
119
114
  readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
120
115
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
@@ -127,27 +122,27 @@ export declare const push: {
127
122
  readonly args: import("valibot").ObjectSchema<{
128
123
  readonly attachment: import("valibot").ObjectSchema<{
129
124
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
130
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
125
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
131
126
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
132
127
  readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
133
128
  readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
134
129
  readonly uploadedChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
135
130
  }, undefined>;
136
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
131
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
137
132
  }, undefined>;
138
133
  readonly clientID: import("valibot").StringSchema<undefined>;
139
134
  readonly id: import("valibot").NumberSchema<undefined>;
140
135
  readonly name: import("valibot").LiteralSchema<"createAttachment", undefined>;
141
136
  }, undefined> | import("valibot").ObjectSchema<{
142
137
  readonly args: import("valibot").ObjectSchema<{
143
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
138
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
144
139
  }, undefined>;
145
140
  readonly clientID: import("valibot").StringSchema<undefined>;
146
141
  readonly id: import("valibot").NumberSchema<undefined>;
147
142
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
148
143
  }, undefined> | import("valibot").ObjectSchema<{
149
144
  readonly args: import("valibot").ObjectSchema<{
150
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
145
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
151
146
  readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
152
147
  readonly index: import("valibot").NumberSchema<undefined>;
153
148
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
@@ -161,7 +156,7 @@ export declare const push: {
161
156
  }, undefined> | import("valibot").ObjectSchema<{
162
157
  readonly args: import("valibot").ObjectSchema<{
163
158
  readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
164
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
159
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
165
160
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
166
161
  }, undefined>;
167
162
  readonly clientID: import("valibot").StringSchema<undefined>;
@@ -216,7 +211,7 @@ export declare const push: {
216
211
  readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ArrayIssue;
217
212
  } | undefined;
218
213
  };
219
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
214
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
220
215
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
221
216
  }, undefined>;
222
217
  readonly clientID: import("valibot").StringSchema<undefined>;
@@ -224,7 +219,7 @@ export declare const push: {
224
219
  readonly name: import("valibot").LiteralSchema<"setEnvelope", undefined>;
225
220
  }, undefined> | import("valibot").ObjectSchema<{
226
221
  readonly args: import("valibot").ObjectSchema<{
227
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
222
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
228
223
  readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
229
224
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
230
225
  }, undefined>;
@@ -233,9 +228,9 @@ export declare const push: {
233
228
  readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
234
229
  }, undefined> | import("valibot").ObjectSchema<{
235
230
  readonly args: import("valibot").ObjectSchema<{
236
- readonly attachmentId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
231
+ readonly attachmentId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
237
232
  readonly chunk: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
238
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
233
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
239
234
  }, undefined>;
240
235
  readonly clientID: import("valibot").StringSchema<undefined>;
241
236
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -251,11 +246,6 @@ export declare const push: {
251
246
  }, undefined>;
252
247
  }, undefined>;
253
248
  readonly status: import("valibot").LiteralSchema<400, undefined>;
254
- }, undefined>, import("valibot").ObjectSchema<{
255
- readonly data: import("valibot").ObjectSchema<{
256
- readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
257
- }, undefined>;
258
- readonly status: import("valibot").LiteralSchema<409, undefined>;
259
249
  }, undefined>, import("valibot").ObjectSchema<{
260
250
  readonly data: import("valibot").ObjectSchema<{
261
251
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
@@ -268,14 +258,14 @@ export declare const push: {
268
258
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
269
259
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
270
260
  readonly args: import("valibot").ObjectSchema<{
271
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
261
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
272
262
  }, undefined>;
273
263
  readonly clientID: import("valibot").StringSchema<undefined>;
274
264
  readonly id: import("valibot").NumberSchema<undefined>;
275
265
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
276
266
  }, undefined> | import("valibot").ObjectSchema<{
277
267
  readonly args: import("valibot").ObjectSchema<{
278
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
268
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
279
269
  }, undefined>;
280
270
  readonly clientID: import("valibot").StringSchema<undefined>;
281
271
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -283,14 +273,14 @@ export declare const push: {
283
273
  }, undefined> | import("valibot").ObjectSchema<{
284
274
  readonly args: import("valibot").ObjectSchema<{
285
275
  readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
286
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
276
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
287
277
  }, undefined>;
288
278
  readonly clientID: import("valibot").StringSchema<undefined>;
289
279
  readonly id: import("valibot").NumberSchema<undefined>;
290
280
  readonly name: import("valibot").LiteralSchema<"setFlagged", undefined>;
291
281
  }, undefined> | import("valibot").ObjectSchema<{
292
282
  readonly args: import("valibot").ObjectSchema<{
293
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
283
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
294
284
  }, undefined>;
295
285
  readonly clientID: import("valibot").StringSchema<undefined>;
296
286
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -298,7 +288,7 @@ export declare const push: {
298
288
  }, undefined> | import("valibot").ObjectSchema<{
299
289
  readonly args: import("valibot").ObjectSchema<{
300
290
  readonly labelIds: 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>;
301
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
291
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
302
292
  }, undefined>;
303
293
  readonly clientID: import("valibot").StringSchema<undefined>;
304
294
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -306,21 +296,21 @@ export declare const push: {
306
296
  }, undefined> | import("valibot").ObjectSchema<{
307
297
  readonly args: import("valibot").ObjectSchema<{
308
298
  readonly seen: import("valibot").BooleanSchema<undefined>;
309
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
299
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
310
300
  }, undefined>;
311
301
  readonly clientID: import("valibot").StringSchema<undefined>;
312
302
  readonly id: import("valibot").NumberSchema<undefined>;
313
303
  readonly name: import("valibot").LiteralSchema<"setSeen", undefined>;
314
304
  }, undefined> | import("valibot").ObjectSchema<{
315
305
  readonly args: import("valibot").ObjectSchema<{
316
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
306
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
317
307
  }, undefined>;
318
308
  readonly clientID: import("valibot").StringSchema<undefined>;
319
309
  readonly id: import("valibot").NumberSchema<undefined>;
320
310
  readonly name: import("valibot").LiteralSchema<"setSpam", undefined>;
321
311
  }, undefined> | import("valibot").ObjectSchema<{
322
312
  readonly args: import("valibot").ObjectSchema<{
323
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
313
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
324
314
  }, undefined>;
325
315
  readonly clientID: import("valibot").StringSchema<undefined>;
326
316
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -341,11 +331,6 @@ export declare const push: {
341
331
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
342
332
  }, undefined>;
343
333
  readonly status: import("valibot").LiteralSchema<401, undefined>;
344
- }, undefined>, import("valibot").ObjectSchema<{
345
- readonly data: import("valibot").ObjectSchema<{
346
- readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
347
- }, undefined>;
348
- readonly status: import("valibot").LiteralSchema<409, undefined>;
349
334
  }, undefined>, import("valibot").ObjectSchema<{
350
335
  readonly status: import("valibot").LiteralSchema<200, undefined>;
351
336
  }, undefined>], undefined>>;
@@ -398,11 +383,6 @@ export declare const push: {
398
383
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
399
384
  }, undefined>;
400
385
  readonly status: import("valibot").LiteralSchema<401, undefined>;
401
- }, undefined>, import("valibot").ObjectSchema<{
402
- readonly data: import("valibot").ObjectSchema<{
403
- readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
404
- }, undefined>;
405
- readonly status: import("valibot").LiteralSchema<409, undefined>;
406
386
  }, undefined>, import("valibot").ObjectSchema<{
407
387
  readonly status: import("valibot").LiteralSchema<200, undefined>;
408
388
  }, undefined>], undefined>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}
@@ -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.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
6
+ readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
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.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
13
+ readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
14
14
  }, undefined>;
15
15
  readonly clientID: v.StringSchema<undefined>;
16
16
  readonly id: v.NumberSchema<undefined>;
@@ -18,14 +18,14 @@ 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.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
21
+ readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
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.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
28
+ readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
29
29
  }, undefined>;
30
30
  readonly clientID: v.StringSchema<undefined>;
31
31
  readonly id: v.NumberSchema<undefined>;
@@ -33,7 +33,7 @@ export declare const syncPushThread: import("../../../../..").EndpointConfig<"/v
33
33
  }, undefined> | v.ObjectSchema<{
34
34
  readonly args: v.ObjectSchema<{
35
35
  readonly labelIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
36
- readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
36
+ readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
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.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
44
+ readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
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.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
51
+ readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
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.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
58
+ readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
59
59
  }, undefined>;
60
60
  readonly clientID: v.StringSchema<undefined>;
61
61
  readonly id: v.NumberSchema<undefined>;
@@ -76,11 +76,6 @@ export declare const syncPushThread: import("../../../../..").EndpointConfig<"/v
76
76
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
77
77
  }, undefined>;
78
78
  readonly status: v.LiteralSchema<401, undefined>;
79
- }, undefined>, v.ObjectSchema<{
80
- readonly data: v.ObjectSchema<{
81
- readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
82
- }, undefined>;
83
- readonly status: v.LiteralSchema<409, undefined>;
84
79
  }, undefined>, v.ObjectSchema<{
85
80
  readonly status: v.LiteralSchema<200, undefined>;
86
81
  }, undefined>], undefined>>;
@@ -1 +1 @@
1
- {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAkEzB,CAAA"}
1
+ {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiEzB,CAAA"}
@@ -61,7 +61,6 @@ export const syncPushThread = createEndpoint({
61
61
  response: v.union([
62
62
  errors.validationFailedErrorSchema,
63
63
  errors.authFailedErrorSchema,
64
- errors.mutationDriftErrorSchema,
65
64
  v.object({ status: v.literal(200) }),
66
65
  ]),
67
66
  });
@@ -48,11 +48,6 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
48
48
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
49
49
  }, undefined>;
50
50
  readonly status: v.LiteralSchema<401, undefined>;
51
- }, undefined>, v.ObjectSchema<{
52
- readonly data: v.ObjectSchema<{
53
- readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
54
- }, undefined>;
55
- readonly status: v.LiteralSchema<409, undefined>;
56
51
  }, undefined>, v.ObjectSchema<{
57
52
  readonly status: v.LiteralSchema<200, undefined>;
58
53
  }, undefined>], undefined>>;
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwBvB,CAAA"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAuBvB,CAAA"}
@@ -19,7 +19,6 @@ export const syncPushUser = createEndpoint({
19
19
  response: v.union([
20
20
  errors.validationFailedErrorSchema,
21
21
  errors.authFailedErrorSchema,
22
- errors.mutationDriftErrorSchema,
23
22
  v.object({ status: v.literal(200) }),
24
23
  ]),
25
24
  });
@@ -55,6 +55,11 @@ export declare const auth: {
55
55
  readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
56
56
  }, undefined>;
57
57
  readonly status: import("valibot").LiteralSchema<502, undefined>;
58
+ }, undefined>, import("valibot").ObjectSchema<{
59
+ readonly data: import("valibot").ObjectSchema<{
60
+ readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
61
+ }, undefined>;
62
+ readonly status: import("valibot").LiteralSchema<404, undefined>;
58
63
  }, undefined>, import("valibot").ObjectSchema<{
59
64
  readonly status: import("valibot").LiteralSchema<200, undefined>;
60
65
  }, undefined>], undefined>>;
@@ -91,6 +96,11 @@ export declare const auth: {
91
96
  readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
92
97
  }, undefined>;
93
98
  readonly status: import("valibot").LiteralSchema<401, undefined>;
99
+ }, undefined>, import("valibot").ObjectSchema<{
100
+ readonly data: import("valibot").ObjectSchema<{
101
+ readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
102
+ }, undefined>;
103
+ readonly status: import("valibot").LiteralSchema<404, undefined>;
94
104
  }, undefined>, import("valibot").ObjectSchema<{
95
105
  readonly data: import("valibot").ObjectSchema<{
96
106
  readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhB,CAAA"}
@@ -16,6 +16,11 @@ export declare const sendAuthCode: import("../../../..").EndpointConfig<"/v1/pb/
16
16
  readonly code: v.LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
17
17
  }, undefined>;
18
18
  readonly status: v.LiteralSchema<502, undefined>;
19
+ }, undefined>, v.ObjectSchema<{
20
+ readonly data: v.ObjectSchema<{
21
+ readonly code: v.LiteralSchema<"INVITE_NOT_FOUND", undefined>;
22
+ }, undefined>;
23
+ readonly status: v.LiteralSchema<404, undefined>;
19
24
  }, undefined>, v.ObjectSchema<{
20
25
  readonly status: v.LiteralSchema<200, undefined>;
21
26
  }, undefined>], undefined>>;
@@ -1 +1 @@
1
- {"version":3,"file":"sendAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/sendAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;2BAavB,CAAA"}
1
+ {"version":3,"file":"sendAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/sendAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;2BAcvB,CAAA"}
@@ -11,6 +11,7 @@ export const sendAuthCode = createEndpoint({
11
11
  response: v.union([
12
12
  errors.validationFailedErrorSchema,
13
13
  errors.authServerResponseUnexpectedErrorSchema,
14
+ errors.inviteNotFoundErrorSchema,
14
15
  v.object({
15
16
  status: v.literal(200),
16
17
  }),
@@ -32,6 +32,11 @@ export declare const verifyAuthCode: import("../../../..").EndpointConfig<"/v1/p
32
32
  readonly code: v.LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
33
33
  }, undefined>;
34
34
  readonly status: v.LiteralSchema<401, undefined>;
35
+ }, undefined>, v.ObjectSchema<{
36
+ readonly data: v.ObjectSchema<{
37
+ readonly code: v.LiteralSchema<"INVITE_NOT_FOUND", undefined>;
38
+ }, undefined>;
39
+ readonly status: v.LiteralSchema<404, undefined>;
35
40
  }, undefined>, v.ObjectSchema<{
36
41
  readonly data: v.ObjectSchema<{
37
42
  readonly code: v.LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;