@marcoappio/marco-config 2.0.408 → 2.0.409

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 (144) hide show
  1. package/dist/constants/emailProvider.d.ts.map +1 -1
  2. package/dist/index.d.ts +3 -4
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +2 -3
  5. package/dist/marcoPublicConfig.d.ts +0 -6
  6. package/dist/marcoPublicConfig.d.ts.map +1 -1
  7. package/dist/marcoPublicConfig.js +15 -32
  8. package/dist/schemas/app.d.ts.map +1 -1
  9. package/dist/schemas/app.js +1 -5
  10. package/dist/schemas/drafts.d.ts.map +1 -1
  11. package/dist/schemas/drafts.js +1 -4
  12. package/dist/schemas/emailAccount.d.ts.map +1 -1
  13. package/dist/schemas/emailAccount.js +1 -4
  14. package/dist/schemas/labels.d.ts.map +1 -1
  15. package/dist/schemas/labels.js +1 -7
  16. package/dist/schemas/number.d.ts.map +1 -1
  17. package/dist/schemas/oauth.d.ts.map +1 -1
  18. package/dist/schemas/oauth.js +1 -4
  19. package/dist/schemas/pushNotifications.d.ts.map +1 -1
  20. package/dist/schemas/pushNotifications.js +1 -3
  21. package/dist/schemas/string.d.ts.map +1 -1
  22. package/dist/sdk/endpoints/createEndpointConfig.d.ts +2 -2
  23. package/dist/sdk/endpoints/createEndpointConfig.d.ts.map +1 -1
  24. package/dist/sdk/endpoints/index.d.ts +2 -1083
  25. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  26. package/dist/sdk/endpoints/index.js +0 -2
  27. package/dist/sdk/endpoints/public/index.d.ts +0 -136
  28. package/dist/sdk/endpoints/public/index.d.ts.map +1 -1
  29. package/dist/sdk/endpoints/public/index.js +0 -2
  30. package/dist/sdk/index.d.ts +0 -1081
  31. package/dist/sdk/index.d.ts.map +1 -1
  32. package/dist/sdk/validation/utils/flattenRequirements/flattenRequirements.d.ts +1 -1
  33. package/dist/sdk/validation/utils/flattenRequirements/flattenRequirements.d.ts.map +1 -1
  34. package/dist/types/Endpoint.d.ts +2 -3
  35. package/dist/types/Endpoint.d.ts.map +1 -1
  36. package/dist/types/index.d.ts +0 -3
  37. package/dist/types/index.d.ts.map +1 -1
  38. package/dist/types/index.js +0 -3
  39. package/dist/utils/accounts/generateAccountColor.d.ts.map +1 -1
  40. package/dist/utils/accounts/generateAccountColor.js +12 -3
  41. package/dist/utils/stringPatch/stringPatch.d.ts +2 -2
  42. package/dist/utils/stringPatch/stringPatch.d.ts.map +1 -1
  43. package/dist/utils/stringPatch/stringPatch.test.js +2 -2
  44. package/package.json +38 -46
  45. package/.eslintrc.json +0 -294
  46. package/dist/clients/account.d.ts +0 -144
  47. package/dist/clients/account.d.ts.map +0 -1
  48. package/dist/clients/account.js +0 -93
  49. package/dist/clients/contact.d.ts +0 -14
  50. package/dist/clients/contact.d.ts.map +0 -1
  51. package/dist/clients/contact.js +0 -14
  52. package/dist/clients/draft.d.ts +0 -202
  53. package/dist/clients/draft.d.ts.map +0 -1
  54. package/dist/clients/draft.js +0 -137
  55. package/dist/clients/index.d.ts +0 -532
  56. package/dist/clients/index.d.ts.map +0 -1
  57. package/dist/clients/index.js +0 -13
  58. package/dist/clients/thread.d.ts +0 -125
  59. package/dist/clients/thread.d.ts.map +0 -1
  60. package/dist/clients/thread.js +0 -121
  61. package/dist/clients/user.d.ts +0 -53
  62. package/dist/clients/user.d.ts.map +0 -1
  63. package/dist/clients/user.js +0 -52
  64. package/dist/clients/utils/index.d.ts +0 -4
  65. package/dist/clients/utils/index.d.ts.map +0 -1
  66. package/dist/clients/utils/index.js +0 -4
  67. package/dist/clients/utils/labelSpecialUseOrdering.d.ts +0 -3
  68. package/dist/clients/utils/labelSpecialUseOrdering.d.ts.map +0 -1
  69. package/dist/clients/utils/labelSpecialUseOrdering.js +0 -7
  70. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts +0 -21
  71. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts.map +0 -1
  72. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.js +0 -16
  73. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.d.ts +0 -19
  74. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.d.ts.map +0 -1
  75. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.js +0 -19
  76. package/dist/sdk/endpoints/private/emailMessage/index.d.ts +0 -39
  77. package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +0 -1
  78. package/dist/sdk/endpoints/private/emailMessage/index.js +0 -6
  79. package/dist/sdk/endpoints/private/index.d.ts +0 -946
  80. package/dist/sdk/endpoints/private/index.d.ts.map +0 -1
  81. package/dist/sdk/endpoints/private/index.js +0 -8
  82. package/dist/sdk/endpoints/private/sync/index.d.ts +0 -896
  83. package/dist/sdk/endpoints/private/sync/index.d.ts.map +0 -1
  84. package/dist/sdk/endpoints/private/sync/index.js +0 -3
  85. package/dist/sdk/endpoints/private/sync/pull/account.d.ts +0 -71
  86. package/dist/sdk/endpoints/private/sync/pull/account.d.ts.map +0 -1
  87. package/dist/sdk/endpoints/private/sync/pull/account.js +0 -33
  88. package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +0 -56
  89. package/dist/sdk/endpoints/private/sync/pull/contact.d.ts.map +0 -1
  90. package/dist/sdk/endpoints/private/sync/pull/contact.js +0 -40
  91. package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +0 -72
  92. package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +0 -1
  93. package/dist/sdk/endpoints/private/sync/pull/draft.js +0 -36
  94. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +0 -349
  95. package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +0 -1
  96. package/dist/sdk/endpoints/private/sync/pull/index.js +0 -6
  97. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +0 -100
  98. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts.map +0 -1
  99. package/dist/sdk/endpoints/private/sync/pull/thread.js +0 -45
  100. package/dist/sdk/endpoints/private/sync/pull/user.d.ts +0 -57
  101. package/dist/sdk/endpoints/private/sync/pull/user.d.ts.map +0 -1
  102. package/dist/sdk/endpoints/private/sync/pull/user.js +0 -33
  103. package/dist/sdk/endpoints/private/sync/push/account.d.ts +0 -151
  104. package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +0 -1
  105. package/dist/sdk/endpoints/private/sync/push/account.js +0 -73
  106. package/dist/sdk/endpoints/private/sync/push/draft.d.ts +0 -214
  107. package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +0 -1
  108. package/dist/sdk/endpoints/private/sync/push/draft.js +0 -85
  109. package/dist/sdk/endpoints/private/sync/push/index.d.ts +0 -546
  110. package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +0 -1
  111. package/dist/sdk/endpoints/private/sync/push/index.js +0 -5
  112. package/dist/sdk/endpoints/private/sync/push/thread.d.ts +0 -122
  113. package/dist/sdk/endpoints/private/sync/push/thread.d.ts.map +0 -1
  114. package/dist/sdk/endpoints/private/sync/push/thread.js +0 -79
  115. package/dist/sdk/endpoints/private/sync/push/user.d.ts +0 -64
  116. package/dist/sdk/endpoints/private/sync/push/user.d.ts.map +0 -1
  117. package/dist/sdk/endpoints/private/sync/push/user.js +0 -43
  118. package/dist/sdk/endpoints/private/user/deleteUser.d.ts +0 -10
  119. package/dist/sdk/endpoints/private/user/deleteUser.d.ts.map +0 -1
  120. package/dist/sdk/endpoints/private/user/deleteUser.js +0 -13
  121. package/dist/sdk/endpoints/private/user/index.d.ts +0 -11
  122. package/dist/sdk/endpoints/private/user/index.d.ts.map +0 -1
  123. package/dist/sdk/endpoints/private/user/index.js +0 -4
  124. package/dist/sdk/endpoints/public/auth/index.d.ts +0 -137
  125. package/dist/sdk/endpoints/public/auth/index.d.ts.map +0 -1
  126. package/dist/sdk/endpoints/public/auth/index.js +0 -8
  127. package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +0 -41
  128. package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts.map +0 -1
  129. package/dist/sdk/endpoints/public/auth/refreshAuth.js +0 -33
  130. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +0 -27
  131. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts.map +0 -1
  132. package/dist/sdk/endpoints/public/auth/sendAuthCode.js +0 -19
  133. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +0 -72
  134. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +0 -1
  135. package/dist/sdk/endpoints/public/auth/verifyAuthCode.js +0 -40
  136. package/dist/types/MarcoClient.d.ts +0 -14
  137. package/dist/types/MarcoClient.d.ts.map +0 -1
  138. package/dist/types/MarcoClient.js +0 -1
  139. package/dist/types/SDKError.d.ts +0 -4
  140. package/dist/types/SDKError.d.ts.map +0 -1
  141. package/dist/types/SDKError.js +0 -1
  142. package/dist/types/WS.d.ts +0 -7
  143. package/dist/types/WS.d.ts.map +0 -1
  144. package/dist/types/WS.js +0 -1
@@ -1,532 +0,0 @@
1
- export { marcoClientsUtils } from './utils';
2
- export declare const marcoClients: {
3
- account: {
4
- model: import("valibot").ObjectSchema<{
5
- readonly aliases: import("valibot").ObjectSchema<{
6
- readonly nonPrimary: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
7
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
8
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
9
- readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
10
- }, undefined>, undefined>;
11
- readonly primary: import("valibot").ObjectSchema<{
12
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
13
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
14
- readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
15
- }, undefined>;
16
- }, undefined>;
17
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
18
- readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_QUOTA_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
19
- readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
20
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
21
- readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
22
- readonly specialUse: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ARCHIVE", undefined>, import("valibot").LiteralSchema<"INBOX", undefined>, import("valibot").LiteralSchema<"SENT", undefined>, import("valibot").LiteralSchema<"SPAM", undefined>, import("valibot").LiteralSchema<"TRASH", undefined>], undefined>, undefined>;
23
- }, undefined>, undefined>;
24
- readonly mailCounts: import("valibot").ObjectSchema<{
25
- readonly processed: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
26
- readonly total: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
27
- }, undefined>;
28
- readonly settings: import("valibot").ObjectSchema<{
29
- readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
30
- readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
31
- }, undefined>;
32
- }, undefined>;
33
- mutators: {
34
- createAccount: {
35
- delta: import("valibot").ObjectSchema<{
36
- readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
37
- readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
38
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
39
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
40
- }, undefined>;
41
- };
42
- createAlias: {
43
- delta: import("valibot").ObjectSchema<{
44
- readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
45
- readonly alias: import("valibot").ObjectSchema<{
46
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
47
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
48
- readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
49
- }, undefined>;
50
- }, undefined>;
51
- };
52
- deleteAccount: {
53
- delta: import("valibot").ObjectSchema<{
54
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
55
- }, undefined>;
56
- };
57
- deleteAlias: {
58
- delta: import("valibot").ObjectSchema<{
59
- readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
60
- readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
61
- }, undefined>;
62
- };
63
- setAliasName: {
64
- delta: import("valibot").ObjectSchema<{
65
- readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
66
- readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
67
- readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
68
- }, undefined>;
69
- };
70
- setAliasPrimary: {
71
- delta: import("valibot").ObjectSchema<{
72
- readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
73
- readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
74
- }, undefined>;
75
- };
76
- setConnectionConfigImapRaw: {
77
- delta: import("valibot").ObjectSchema<{
78
- readonly connectionConfig: import("valibot").ObjectSchema<{
79
- readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
80
- readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
81
- readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
82
- readonly imapSocketType: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"STARTTLS", undefined>, import("valibot").LiteralSchema<"SSL", undefined>], undefined>;
83
- readonly imapUser: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
84
- readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
85
- readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
86
- readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
87
- readonly smtpSocketType: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"STARTTLS", undefined>, import("valibot").LiteralSchema<"SSL", undefined>], undefined>;
88
- readonly smtpUser: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
89
- }, undefined>;
90
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
91
- }, undefined>;
92
- };
93
- setConnectionConfigOauth: {
94
- delta: import("valibot").ObjectSchema<{
95
- readonly connectionConfig: import("valibot").ObjectSchema<{
96
- readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
97
- readonly provider: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"GOOGLE", undefined>, import("valibot").LiteralSchema<"OUTLOOK", undefined>], undefined>;
98
- readonly user: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
99
- }, undefined>;
100
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
101
- }, undefined>;
102
- };
103
- setSettings: {
104
- delta: import("valibot").ObjectSchema<{
105
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
106
- readonly settings: Omit<import("valibot").ObjectSchema<{
107
- readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
108
- readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
109
- }, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
110
- readonly entries: {
111
- readonly color: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
112
- readonly name: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
113
- };
114
- readonly '~standard': import("valibot").StandardProps<{
115
- color?: string | undefined;
116
- name?: string | null | undefined;
117
- }, {
118
- color?: string | undefined;
119
- name?: string | null | undefined;
120
- }>;
121
- readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
122
- color?: string | undefined;
123
- name?: string | null | undefined;
124
- }, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue>;
125
- readonly '~types'?: {
126
- readonly input: {
127
- color?: string | undefined;
128
- name?: string | null | undefined;
129
- };
130
- readonly output: {
131
- color?: string | undefined;
132
- name?: string | null | undefined;
133
- };
134
- readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue;
135
- } | undefined;
136
- };
137
- }, undefined>;
138
- };
139
- };
140
- name: "account";
141
- pullUrl: "/v1/pv/sync/pull/account";
142
- pushUrl: "/v1/pv/sync/push/account";
143
- schemaVersion: "v1";
144
- };
145
- contact: {
146
- model: import("valibot").ObjectSchema<{
147
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
148
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
149
- readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
150
- }, undefined>;
151
- mutators: {};
152
- name: "contact";
153
- pullUrl: "/v1/pv/sync/pull/contact";
154
- pushUrl: null;
155
- schemaVersion: "v1";
156
- };
157
- draft: {
158
- model: import("valibot").ObjectSchema<{
159
- readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
160
- readonly failed: import("valibot").BooleanSchema<undefined>;
161
- readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
162
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
163
- readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
164
- readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
165
- readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
166
- readonly uploadedChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
167
- }, undefined>, undefined>;
168
- readonly body: import("valibot").ObjectSchema<{
169
- readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
170
- readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
171
- readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
172
- readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
173
- readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
174
- }, undefined>;
175
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
176
- readonly error: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
177
- readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
178
- readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
179
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
180
- readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
181
- readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
182
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>, import("valibot").LiteralSchema<"SEND_FAILED", undefined>], undefined>;
183
- readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
184
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
185
- }, undefined>;
186
- mutators: {
187
- cancelSend: {
188
- delta: import("valibot").ObjectSchema<{
189
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
190
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
191
- }, undefined>;
192
- };
193
- createAttachment: {
194
- delta: import("valibot").ObjectSchema<{
195
- readonly attachment: import("valibot").ObjectSchema<{
196
- readonly failed: import("valibot").BooleanSchema<undefined>;
197
- readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
198
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
199
- readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
200
- readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
201
- readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
202
- readonly uploadedChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
203
- }, undefined>;
204
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
205
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
206
- }, undefined>;
207
- };
208
- createDraft: {
209
- delta: import("valibot").ObjectSchema<{
210
- readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
211
- readonly failed: import("valibot").BooleanSchema<undefined>;
212
- readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
213
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
214
- readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
215
- readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
216
- readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
217
- readonly uploadedChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
218
- }, undefined>, undefined>;
219
- readonly body: import("valibot").ObjectSchema<{
220
- readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
221
- readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
222
- readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
223
- readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
224
- readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
225
- }, undefined>;
226
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
227
- readonly error: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
228
- readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
229
- readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
230
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
231
- readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
232
- readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
233
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>, import("valibot").LiteralSchema<"SEND_FAILED", undefined>], undefined>;
234
- readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
235
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
236
- }, undefined>;
237
- };
238
- deleteAttachment: {
239
- delta: import("valibot").ObjectSchema<{
240
- readonly attachmentId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
241
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
242
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
243
- }, undefined>;
244
- };
245
- deleteDraft: {
246
- delta: import("valibot").ObjectSchema<{
247
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
248
- }, undefined>;
249
- };
250
- scheduleSend: {
251
- delta: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
252
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
253
- readonly kind: import("valibot").LiteralSchema<"IMMEDIATE", undefined>;
254
- readonly undoMs: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
255
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
256
- }, undefined>, import("valibot").ObjectSchema<{
257
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
258
- readonly kind: import("valibot").LiteralSchema<"SCHEDULED", undefined>;
259
- readonly scheduledFor: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
260
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
261
- }, undefined>], undefined>;
262
- };
263
- sendDraft: {
264
- delta: import("valibot").ObjectSchema<{
265
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
266
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
267
- }, undefined>;
268
- };
269
- setContent: {
270
- delta: import("valibot").ObjectSchema<{
271
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
272
- readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
273
- readonly index: import("valibot").NumberSchema<undefined>;
274
- readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
275
- readonly value: import("valibot").StringSchema<undefined>;
276
- }, undefined>, undefined>;
277
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
278
- }, undefined>;
279
- };
280
- setEnvelope: {
281
- delta: import("valibot").ObjectSchema<{
282
- readonly envelope: Omit<import("valibot").ObjectSchema<{
283
- readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
284
- readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
285
- readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
286
- readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
287
- readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
288
- }, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
289
- readonly entries: Omit<{
290
- readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
291
- readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
292
- readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
293
- readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
294
- readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
295
- }, "content">;
296
- readonly '~standard': import("valibot").StandardProps<{
297
- bcc: string[];
298
- cc: string[];
299
- to: string[];
300
- subject: string | null;
301
- }, {
302
- bcc: string[];
303
- cc: string[];
304
- to: string[];
305
- subject: string | null;
306
- }>;
307
- readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
308
- bcc: string[];
309
- cc: string[];
310
- to: string[];
311
- subject: string | null;
312
- }, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue | import("valibot").ArrayIssue>;
313
- readonly '~types'?: {
314
- readonly input: {
315
- bcc: string[];
316
- cc: string[];
317
- to: string[];
318
- subject: string | null;
319
- };
320
- readonly output: {
321
- bcc: string[];
322
- cc: string[];
323
- to: string[];
324
- subject: string | null;
325
- };
326
- readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue | import("valibot").ArrayIssue;
327
- } | undefined;
328
- };
329
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
330
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
331
- }, undefined>;
332
- };
333
- setFrom: {
334
- delta: import("valibot").ObjectSchema<{
335
- readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
336
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
337
- readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
338
- readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
339
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
340
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
341
- }, undefined>;
342
- };
343
- uploadAttachmentChunk: {
344
- delta: import("valibot").ObjectSchema<{
345
- readonly attachmentId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
346
- readonly chunk: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").Base64Action<string, undefined>]>;
347
- readonly chunkIndex: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
348
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
349
- }, undefined>;
350
- };
351
- };
352
- name: "draft";
353
- pullUrl: "/v1/pv/sync/pull/draft";
354
- pushUrl: "/v1/pv/sync/push/draft";
355
- schemaVersion: "v1";
356
- };
357
- thread: {
358
- model: import("valibot").ObjectSchema<{
359
- readonly bagOfWords: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
360
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
361
- readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
362
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
363
- readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
364
- readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
365
- readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
366
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
367
- readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
368
- readonly size: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
369
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NOT_DOWNLOADED", undefined>, import("valibot").LiteralSchema<"DOWNLOAD_REQUESTED", undefined>, import("valibot").LiteralSchema<"DOWNLOADED", undefined>, import("valibot").LiteralSchema<"DOWNLOAD_FAILED", undefined>], undefined>;
370
- }, undefined>, undefined>;
371
- readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
372
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
373
- readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
374
- }, undefined>, undefined>;
375
- readonly cc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
376
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
377
- readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
378
- }, undefined>, undefined>;
379
- readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
380
- readonly envelopeSubject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
381
- readonly from: import("valibot").ObjectSchema<{
382
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
383
- readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
384
- }, undefined>;
385
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
386
- readonly labelIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
387
- readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
388
- readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
389
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
390
- readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
391
- }, undefined>, undefined>;
392
- readonly to: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
393
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
394
- readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
395
- }, undefined>, undefined>;
396
- }, undefined>, undefined>;
397
- readonly seen: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
398
- }, undefined>;
399
- mutators: {
400
- addLabel: {
401
- delta: import("valibot").ObjectSchema<{
402
- readonly labelPath: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
403
- readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
404
- }, undefined>;
405
- };
406
- delete: {
407
- delta: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
408
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
409
- }, undefined>, import("valibot").ObjectSchema<{
410
- readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
411
- }, undefined>], undefined>;
412
- };
413
- removeLabel: {
414
- delta: import("valibot").ObjectSchema<{
415
- readonly labelPath: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
416
- readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
417
- }, undefined>;
418
- };
419
- requestAttachmentDownload: {
420
- delta: import("valibot").UnionSchema<readonly [import("valibot").ObjectSchema<{
421
- readonly attachmentId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
422
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
423
- }, undefined>, import("valibot").ObjectSchema<{
424
- readonly attachmentIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
425
- readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
426
- }, undefined>], undefined>;
427
- };
428
- setFlagged: {
429
- delta: import("valibot").UnionSchema<readonly [import("valibot").ObjectSchema<{
430
- readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
431
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
432
- }, undefined>, import("valibot").ObjectSchema<{
433
- readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
434
- readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
435
- }, undefined>], undefined>;
436
- };
437
- setSeen: {
438
- delta: import("valibot").UnionSchema<readonly [import("valibot").ObjectSchema<{
439
- readonly seen: import("valibot").BooleanSchema<undefined>;
440
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
441
- }, undefined>, import("valibot").ObjectSchema<{
442
- readonly seen: import("valibot").BooleanSchema<undefined>;
443
- readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
444
- }, undefined>], undefined>;
445
- };
446
- setArchive: {
447
- delta: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
448
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
449
- }, undefined>, import("valibot").ObjectSchema<{
450
- readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
451
- }, undefined>], undefined>;
452
- };
453
- setInbox: {
454
- delta: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
455
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
456
- }, undefined>, import("valibot").ObjectSchema<{
457
- readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
458
- }, undefined>], undefined>;
459
- };
460
- setSpam: {
461
- delta: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
462
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
463
- }, undefined>, import("valibot").ObjectSchema<{
464
- readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
465
- }, undefined>], undefined>;
466
- };
467
- setTrash: {
468
- delta: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
469
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
470
- }, undefined>, import("valibot").ObjectSchema<{
471
- readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
472
- }, undefined>], undefined>;
473
- };
474
- };
475
- name: "thread";
476
- pullUrl: "/v1/pv/sync/pull/thread";
477
- pushUrl: "/v1/pv/sync/push/thread";
478
- schemaVersion: "v1";
479
- };
480
- user: {
481
- model: import("valibot").ObjectSchema<{
482
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
483
- readonly settings: import("valibot").ObjectSchema<{
484
- readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
485
- readonly notifications: import("valibot").ObjectSchema<{
486
- readonly pushNotificationTokens: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
487
- readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
488
- readonly deviceId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
489
- readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
490
- }, undefined>, undefined>;
491
- }, undefined>;
492
- readonly profilePicture: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
493
- readonly undoSendEnabled: import("valibot").BooleanSchema<undefined>;
494
- }, undefined>;
495
- }, undefined>;
496
- mutators: {
497
- deleteSettingsPushNotificationToken: {
498
- delta: import("valibot").ObjectSchema<{
499
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
500
- readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
501
- }, undefined>;
502
- };
503
- deleteSettingsPushNotificationTokenForDevice: {
504
- delta: import("valibot").ObjectSchema<{
505
- readonly deviceId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
506
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
507
- }, undefined>;
508
- };
509
- setSettingsName: {
510
- delta: import("valibot").ObjectSchema<{
511
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
512
- readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
513
- }, undefined>;
514
- };
515
- setSettingsPushNotificationToken: {
516
- delta: import("valibot").ObjectSchema<{
517
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
518
- readonly pushNotificationToken: import("valibot").ObjectSchema<{
519
- readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
520
- readonly deviceId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
521
- readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
522
- }, undefined>;
523
- }, undefined>;
524
- };
525
- };
526
- name: "user";
527
- pullUrl: "/v1/pv/sync/pull/user";
528
- pushUrl: "/v1/pv/sync/push/user";
529
- schemaVersion: "v1";
530
- };
531
- };
532
- //# sourceMappingURL=index.d.ts.map