@marcoappio/marco-config 2.0.163 → 2.0.165
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/clients/account.d.ts +7 -7
- package/dist/clients/account.js +6 -6
- package/dist/clients/contact.d.ts +1 -1
- package/dist/clients/contact.js +1 -1
- package/dist/clients/draft.d.ts +12 -132
- package/dist/clients/draft.d.ts.map +1 -1
- package/dist/clients/draft.js +24 -33
- package/dist/clients/index.d.ts +27 -148
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/thread.d.ts +5 -5
- package/dist/clients/thread.js +5 -5
- package/dist/clients/user.d.ts +3 -3
- package/dist/clients/user.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/schemas.d.ts +1 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +2 -1
- package/dist/sdk/endpoints/index.d.ts +39 -162
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.d.ts +1 -1
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +35 -158
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +33 -156
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +3 -3
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +4 -10
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +15 -21
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +4 -4
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +6 -6
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +6 -123
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.js +2 -8
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +18 -135
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts +3 -3
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +3 -3
- package/dist/sdk/endpoints/private/user/deleteUser.d.ts +1 -1
- package/dist/sdk/endpoints/private/user/index.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/index.d.ts +3 -3
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +1 -1
- package/dist/sdk/endpoints/public/healthcheck/index.d.ts +1 -1
- package/dist/sdk/endpoints/public/index.d.ts +4 -4
- package/dist/sdk/index.d.ts +39 -162
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/types/JSONContent.d.ts +11 -0
- package/dist/types/JSONContent.d.ts.map +1 -0
- package/dist/types/JSONContent.js +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@ import { EndpointConfig } from '../../types';
|
|
|
3
3
|
export declare const endpoints: {
|
|
4
4
|
private: {
|
|
5
5
|
emailMessage: {
|
|
6
|
-
getHTML: EndpointConfig<"/v1/pv/message/:messageId/html", GenericSchema
|
|
6
|
+
getHTML: EndpointConfig<"/v1/pv/message/:messageId/html", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
7
7
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
8
8
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
9
9
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -21,7 +21,7 @@ export declare const endpoints: {
|
|
|
21
21
|
account: EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
|
|
22
22
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
23
23
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
24
|
-
}, undefined>, GenericSchema
|
|
24
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
25
25
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
26
26
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
27
27
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -41,7 +41,7 @@ export declare const endpoints: {
|
|
|
41
41
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
42
42
|
readonly value: import("valibot").ObjectSchema<{
|
|
43
43
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
44
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
44
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
45
45
|
readonly imapPasswordConfig: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
46
46
|
readonly host: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
47
47
|
readonly password: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -49,7 +49,7 @@ export declare const endpoints: {
|
|
|
49
49
|
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED", undefined>], undefined>;
|
|
50
50
|
}, undefined>, undefined>;
|
|
51
51
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
52
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
52
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
53
53
|
readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
54
54
|
readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
55
55
|
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>;
|
|
@@ -71,7 +71,7 @@ export declare const endpoints: {
|
|
|
71
71
|
contact: EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
|
|
72
72
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
73
73
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
74
|
-
}, undefined>, GenericSchema
|
|
74
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
75
75
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
76
76
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
77
77
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -90,7 +90,7 @@ export declare const endpoints: {
|
|
|
90
90
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
91
91
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
92
92
|
readonly value: import("valibot").ObjectSchema<{
|
|
93
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
93
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
94
94
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
95
95
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
96
96
|
}, undefined>;
|
|
@@ -101,7 +101,7 @@ export declare const endpoints: {
|
|
|
101
101
|
draft: EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
|
|
102
102
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
103
103
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
104
|
-
}, undefined>, GenericSchema
|
|
104
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
105
105
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
106
106
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
107
107
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -123,18 +123,12 @@ export declare const endpoints: {
|
|
|
123
123
|
readonly body: import("valibot").ObjectSchema<{
|
|
124
124
|
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
125
125
|
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
126
|
-
readonly content: import("
|
|
127
|
-
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
128
|
-
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
129
|
-
}, undefined>, undefined>;
|
|
130
|
-
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
131
|
-
}, undefined>;
|
|
132
|
-
readonly replyTo: 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>;
|
|
126
|
+
readonly content: GenericSchema<import("../../types").JSONContent>;
|
|
133
127
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
134
128
|
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>;
|
|
135
129
|
}, undefined>;
|
|
136
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
137
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
130
|
+
readonly emailAccountId: 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").UuidAction<string, undefined>]>, undefined>;
|
|
138
132
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
139
133
|
}, undefined>;
|
|
140
134
|
}, undefined>], undefined>, undefined>;
|
|
@@ -148,7 +142,7 @@ export declare const endpoints: {
|
|
|
148
142
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
149
143
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
150
144
|
}, undefined>, undefined>;
|
|
151
|
-
}, undefined>, GenericSchema
|
|
145
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
152
146
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
153
147
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
154
148
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -172,8 +166,8 @@ export declare const endpoints: {
|
|
|
172
166
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
173
167
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
174
168
|
readonly value: import("valibot").ObjectSchema<{
|
|
175
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
176
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
169
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
170
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
177
171
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
178
172
|
readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
179
173
|
readonly emailAddresses: 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>;
|
|
@@ -190,7 +184,7 @@ export declare const endpoints: {
|
|
|
190
184
|
readonly emailAddresses: 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>;
|
|
191
185
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
192
186
|
}, undefined>;
|
|
193
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
187
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
194
188
|
readonly labelIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
195
189
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
196
190
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -211,7 +205,7 @@ export declare const endpoints: {
|
|
|
211
205
|
user: EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
|
|
212
206
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
213
207
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
214
|
-
}, undefined>, GenericSchema
|
|
208
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
215
209
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
216
210
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
217
211
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -230,7 +224,7 @@ export declare const endpoints: {
|
|
|
230
224
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
231
225
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
232
226
|
readonly value: import("valibot").ObjectSchema<{
|
|
233
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
227
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
234
228
|
readonly settings: import("valibot").ObjectSchema<{
|
|
235
229
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
236
230
|
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -246,7 +240,7 @@ export declare const endpoints: {
|
|
|
246
240
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
247
241
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
248
242
|
readonly args: import("valibot").ObjectSchema<{
|
|
249
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
243
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
250
244
|
readonly imapPasswordConfig: import("valibot").ObjectSchema<{
|
|
251
245
|
readonly status: import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>;
|
|
252
246
|
readonly host: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -261,21 +255,21 @@ export declare const endpoints: {
|
|
|
261
255
|
readonly args: import("valibot").ObjectSchema<{
|
|
262
256
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
263
257
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
264
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
258
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
265
259
|
}, undefined>;
|
|
266
260
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
267
261
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
268
262
|
readonly name: import("valibot").LiteralSchema<"add", undefined>;
|
|
269
263
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
270
264
|
readonly args: import("valibot").ObjectSchema<{
|
|
271
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
265
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
272
266
|
}, undefined>;
|
|
273
267
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
274
268
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
275
269
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
276
270
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
277
271
|
readonly args: import("valibot").ObjectSchema<{
|
|
278
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
272
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
279
273
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
280
274
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
281
275
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -286,7 +280,7 @@ export declare const endpoints: {
|
|
|
286
280
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
287
281
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
288
282
|
};
|
|
289
|
-
readonly '~standard': import("valibot").
|
|
283
|
+
readonly '~standard': import("valibot").StandardProps<{
|
|
290
284
|
color?: string | undefined;
|
|
291
285
|
firstName?: string | null | undefined;
|
|
292
286
|
lastName?: string | null | undefined;
|
|
@@ -319,7 +313,7 @@ export declare const endpoints: {
|
|
|
319
313
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
320
314
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
321
315
|
}, undefined>], undefined>, undefined>;
|
|
322
|
-
}, undefined>, GenericSchema
|
|
316
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
323
317
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
324
318
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
325
319
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -332,146 +326,29 @@ export declare const endpoints: {
|
|
|
332
326
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
333
327
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
334
328
|
readonly args: import("valibot").ObjectSchema<{
|
|
335
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
329
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
336
330
|
}, undefined>;
|
|
337
331
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
338
332
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
339
333
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
340
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
341
|
-
readonly args: import("valibot").ObjectSchema<{
|
|
342
|
-
readonly body: Omit<import("valibot").ObjectSchema<{
|
|
343
|
-
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
344
|
-
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
345
|
-
readonly content: import("valibot").ObjectSchema<{
|
|
346
|
-
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
347
|
-
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
348
|
-
}, undefined>, undefined>;
|
|
349
|
-
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
350
|
-
}, undefined>;
|
|
351
|
-
readonly replyTo: 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>;
|
|
352
|
-
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
353
|
-
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>;
|
|
354
|
-
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
355
|
-
readonly entries: {
|
|
356
|
-
readonly bcc: import("valibot").OptionalSchema<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>, undefined>;
|
|
357
|
-
readonly cc: import("valibot").OptionalSchema<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>, undefined>;
|
|
358
|
-
readonly content: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
359
|
-
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
360
|
-
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
361
|
-
}, undefined>, undefined>;
|
|
362
|
-
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
363
|
-
}, undefined>, undefined>;
|
|
364
|
-
readonly replyTo: import("valibot").OptionalSchema<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>, undefined>;
|
|
365
|
-
readonly subject: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
366
|
-
readonly to: import("valibot").OptionalSchema<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>, undefined>;
|
|
367
|
-
};
|
|
368
|
-
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
369
|
-
bcc?: string[] | undefined;
|
|
370
|
-
cc?: string[] | undefined;
|
|
371
|
-
content?: {
|
|
372
|
-
type: "doc";
|
|
373
|
-
content: ({
|
|
374
|
-
type: string;
|
|
375
|
-
} & {
|
|
376
|
-
[key: string]: unknown;
|
|
377
|
-
})[];
|
|
378
|
-
} | undefined;
|
|
379
|
-
replyTo?: string[] | undefined;
|
|
380
|
-
to?: string[] | undefined;
|
|
381
|
-
subject?: string | undefined;
|
|
382
|
-
}, {
|
|
383
|
-
bcc?: string[] | undefined;
|
|
384
|
-
cc?: string[] | undefined;
|
|
385
|
-
content?: {
|
|
386
|
-
type: "doc";
|
|
387
|
-
content: ({
|
|
388
|
-
type: string;
|
|
389
|
-
} & {
|
|
390
|
-
[key: string]: unknown;
|
|
391
|
-
})[];
|
|
392
|
-
} | undefined;
|
|
393
|
-
replyTo?: string[] | undefined;
|
|
394
|
-
to?: string[] | undefined;
|
|
395
|
-
subject?: string | undefined;
|
|
396
|
-
}>;
|
|
397
|
-
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
398
|
-
bcc?: string[] | undefined;
|
|
399
|
-
cc?: string[] | undefined;
|
|
400
|
-
content?: {
|
|
401
|
-
type: "doc";
|
|
402
|
-
content: ({
|
|
403
|
-
type: string;
|
|
404
|
-
} & {
|
|
405
|
-
[key: string]: unknown;
|
|
406
|
-
})[];
|
|
407
|
-
} | undefined;
|
|
408
|
-
replyTo?: string[] | undefined;
|
|
409
|
-
to?: string[] | undefined;
|
|
410
|
-
subject?: string | undefined;
|
|
411
|
-
}, import("valibot").LiteralIssue | import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").UnionIssue<import("valibot").LiteralIssue> | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue | import("valibot").LooseObjectIssue>;
|
|
412
|
-
readonly '~types'?: {
|
|
413
|
-
readonly input: {
|
|
414
|
-
bcc?: string[] | undefined;
|
|
415
|
-
cc?: string[] | undefined;
|
|
416
|
-
content?: {
|
|
417
|
-
type: "doc";
|
|
418
|
-
content: ({
|
|
419
|
-
type: string;
|
|
420
|
-
} & {
|
|
421
|
-
[key: string]: unknown;
|
|
422
|
-
})[];
|
|
423
|
-
} | undefined;
|
|
424
|
-
replyTo?: string[] | undefined;
|
|
425
|
-
to?: string[] | undefined;
|
|
426
|
-
subject?: string | undefined;
|
|
427
|
-
};
|
|
428
|
-
readonly output: {
|
|
429
|
-
bcc?: string[] | undefined;
|
|
430
|
-
cc?: string[] | undefined;
|
|
431
|
-
content?: {
|
|
432
|
-
type: "doc";
|
|
433
|
-
content: ({
|
|
434
|
-
type: string;
|
|
435
|
-
} & {
|
|
436
|
-
[key: string]: unknown;
|
|
437
|
-
})[];
|
|
438
|
-
} | undefined;
|
|
439
|
-
replyTo?: string[] | undefined;
|
|
440
|
-
to?: string[] | undefined;
|
|
441
|
-
subject?: string | undefined;
|
|
442
|
-
};
|
|
443
|
-
readonly issue: import("valibot").LiteralIssue | import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").UnionIssue<import("valibot").LiteralIssue> | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue | import("valibot").LooseObjectIssue;
|
|
444
|
-
} | undefined;
|
|
445
|
-
};
|
|
446
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
447
|
-
}, undefined>;
|
|
448
|
-
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
449
|
-
readonly id: import("valibot").NumberSchema<undefined>;
|
|
450
|
-
readonly name: import("valibot").LiteralSchema<"update", undefined>;
|
|
451
334
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
452
335
|
readonly args: import("valibot").ObjectSchema<{
|
|
453
336
|
readonly body: import("valibot").ObjectSchema<{
|
|
454
337
|
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
455
338
|
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
456
|
-
readonly content: import("
|
|
457
|
-
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
458
|
-
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
459
|
-
}, undefined>, undefined>;
|
|
460
|
-
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
461
|
-
}, undefined>;
|
|
462
|
-
readonly replyTo: 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>;
|
|
339
|
+
readonly content: GenericSchema<import("../../types").JSONContent>;
|
|
463
340
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
464
341
|
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>;
|
|
465
342
|
}, undefined>;
|
|
466
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
467
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
343
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
344
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
468
345
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
469
346
|
}, undefined>;
|
|
470
347
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
471
348
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
472
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
349
|
+
readonly name: import("valibot").LiteralSchema<"upsert", undefined>;
|
|
473
350
|
}, undefined>], undefined>, undefined>;
|
|
474
|
-
}, undefined>, GenericSchema
|
|
351
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
475
352
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
476
353
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
477
354
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -484,15 +361,15 @@ export declare const endpoints: {
|
|
|
484
361
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
485
362
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
486
363
|
readonly args: import("valibot").ObjectSchema<{
|
|
487
|
-
readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
364
|
+
readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
488
365
|
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
489
|
-
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
366
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
490
367
|
}, undefined>;
|
|
491
368
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
492
369
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
493
370
|
readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
|
|
494
371
|
}, undefined>], undefined>, undefined>;
|
|
495
|
-
}, undefined>, GenericSchema
|
|
372
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
496
373
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
497
374
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
498
375
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -508,7 +385,7 @@ export declare const endpoints: {
|
|
|
508
385
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
509
386
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
510
387
|
readonly args: import("valibot").ObjectSchema<{
|
|
511
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
388
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
512
389
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
513
390
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
514
391
|
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -517,7 +394,7 @@ export declare const endpoints: {
|
|
|
517
394
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
518
395
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
519
396
|
};
|
|
520
|
-
readonly '~standard': import("valibot").
|
|
397
|
+
readonly '~standard': import("valibot").StandardProps<{
|
|
521
398
|
firstName?: string | null | undefined;
|
|
522
399
|
lastName?: string | null | undefined;
|
|
523
400
|
}, {
|
|
@@ -545,7 +422,7 @@ export declare const endpoints: {
|
|
|
545
422
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
546
423
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
547
424
|
}, undefined>], undefined>, undefined>;
|
|
548
|
-
}, undefined>, GenericSchema
|
|
425
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
549
426
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
550
427
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
551
428
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -557,7 +434,7 @@ export declare const endpoints: {
|
|
|
557
434
|
};
|
|
558
435
|
};
|
|
559
436
|
user: {
|
|
560
|
-
deleteUser: EndpointConfig<"/v1/pv/user", GenericSchema
|
|
437
|
+
deleteUser: EndpointConfig<"/v1/pv/user", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
561
438
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
562
439
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
563
440
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -569,7 +446,7 @@ export declare const endpoints: {
|
|
|
569
446
|
auth: {
|
|
570
447
|
refreshAuth: EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
571
448
|
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
572
|
-
}, undefined>, GenericSchema
|
|
449
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
573
450
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
574
451
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
575
452
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -597,7 +474,7 @@ export declare const endpoints: {
|
|
|
597
474
|
}, undefined>], undefined>>;
|
|
598
475
|
sendAuthCode: EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
599
476
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
600
|
-
}, undefined>, GenericSchema
|
|
477
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
601
478
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
602
479
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
603
480
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -609,7 +486,7 @@ export declare const endpoints: {
|
|
|
609
486
|
verifyAuthCode: EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
|
|
610
487
|
readonly code: import("valibot").StringSchema<undefined>;
|
|
611
488
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
612
|
-
}, undefined>, GenericSchema
|
|
489
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
613
490
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
614
491
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
615
492
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -645,7 +522,7 @@ export declare const endpoints: {
|
|
|
645
522
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
646
523
|
}, undefined>], undefined>>;
|
|
647
524
|
};
|
|
648
|
-
healthcheck: EndpointConfig<"/v1/pb/healthcheck", GenericSchema
|
|
525
|
+
healthcheck: EndpointConfig<"/v1/pb/healthcheck", GenericSchema | undefined, GenericSchema | undefined, import("valibot").ObjectSchema<{
|
|
649
526
|
readonly data: import("valibot").ObjectSchema<{
|
|
650
527
|
readonly status: import("valibot").LiteralSchema<"ok", undefined>;
|
|
651
528
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAoB,MAAM,qBAAqB,CAAA;AActE,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAoB,MAAM,qBAAqB,CAAA;AActE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const getEmailMessageHTML: import("../../../..").EndpointConfig<"/v1/pv/message/:messageId/html", v.GenericSchema
|
|
2
|
+
export declare const getEmailMessageHTML: import("../../../..").EndpointConfig<"/v1/pv/message/:messageId/html", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
3
3
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
4
4
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
5
5
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const emailMessage: {
|
|
2
|
-
getHTML: import("../../../..").EndpointConfig<"/v1/pv/message/:messageId/html", import("valibot").GenericSchema
|
|
2
|
+
getHTML: import("../../../..").EndpointConfig<"/v1/pv/message/:messageId/html", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
3
3
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
4
4
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
5
5
|
}, undefined>, import("valibot").ObjectSchema<{
|