@marcoappio/marco-config 2.0.219 → 2.0.221

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.
@@ -234,6 +234,11 @@ export declare const marcoClients: {
234
234
  readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
235
235
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
236
236
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
237
+ readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
238
+ readonly contentType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
239
+ readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
240
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
241
+ }, undefined>, undefined>;
237
242
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
238
243
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
239
244
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -249,11 +254,6 @@ export declare const marcoClients: {
249
254
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
250
255
  }, undefined>, undefined>;
251
256
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
252
- readonly inlineAttachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
253
- readonly contentType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
254
- readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
255
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
256
- }, undefined>, undefined>;
257
257
  readonly labelIds: import("valibot").ObjectSchema<{
258
258
  readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
259
259
  readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
@@ -4,6 +4,11 @@ export declare const thread: {
4
4
  readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
5
5
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
6
6
  readonly messages: v.ArraySchema<v.ObjectSchema<{
7
+ readonly attachments: v.ArraySchema<v.ObjectSchema<{
8
+ readonly contentType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
9
+ readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
10
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
11
+ }, undefined>, undefined>;
7
12
  readonly bcc: v.ArraySchema<v.ObjectSchema<{
8
13
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
9
14
  readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -19,11 +24,6 @@ export declare const thread: {
19
24
  readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
20
25
  }, undefined>, undefined>;
21
26
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
22
- readonly inlineAttachments: v.ArraySchema<v.ObjectSchema<{
23
- readonly contentType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
24
- readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
25
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
26
- }, undefined>, undefined>;
27
27
  readonly labelIds: v.ObjectSchema<{
28
28
  readonly current: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
29
29
  readonly previous: v.NullableSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
@@ -15,13 +15,13 @@ export const thread = {
15
15
  emailAccountId: marcoSchemas.string.required(),
16
16
  id: marcoSchemas.string.uuid(),
17
17
  messages: v.array(v.object({
18
+ attachments: v.array(inlineAttachment),
18
19
  bcc: v.array(inlineContact),
19
20
  cc: v.array(inlineContact),
20
21
  envelopeDate: marcoSchemas.number.positiveInteger(),
21
22
  envelopeSubject: marcoSchemas.string.nullable(),
22
23
  from: v.array(inlineContact),
23
24
  id: marcoSchemas.string.uuid(),
24
- inlineAttachments: v.array(inlineAttachment),
25
25
  labelIds: v.object({
26
26
  current: v.array(marcoSchemas.string.required()),
27
27
  previous: v.nullable(v.array(marcoSchemas.string.required())),
@@ -213,6 +213,11 @@ export declare const endpoints: {
213
213
  readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
214
214
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
215
215
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
216
+ readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
217
+ readonly contentType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
218
+ readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
219
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
220
+ }, undefined>, undefined>;
216
221
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
217
222
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
218
223
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -228,11 +233,6 @@ export declare const endpoints: {
228
233
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
229
234
  }, undefined>, undefined>;
230
235
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
231
- readonly inlineAttachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
232
- readonly contentType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
233
- readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
234
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
235
- }, undefined>, undefined>;
236
236
  readonly labelIds: import("valibot").ObjectSchema<{
237
237
  readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
238
238
  readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
@@ -733,6 +733,11 @@ export declare const endpoints: {
733
733
  readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
734
734
  }, undefined>;
735
735
  readonly status: import("valibot").LiteralSchema<401, undefined>;
736
+ }, undefined>, import("valibot").ObjectSchema<{
737
+ readonly data: import("valibot").ObjectSchema<{
738
+ readonly code: import("valibot").LiteralSchema<"AUTH_CODE_INVALID", undefined>;
739
+ }, undefined>;
740
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
736
741
  }, undefined>, import("valibot").ObjectSchema<{
737
742
  readonly data: import("valibot").ObjectSchema<{
738
743
  readonly code: import("valibot").LiteralSchema<"AUT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sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
@@ -210,6 +210,11 @@ export declare const privateGroup: {
210
210
  readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
211
211
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
212
212
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
213
+ readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
214
+ readonly contentType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
215
+ readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
216
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
217
+ }, undefined>, undefined>;
213
218
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
214
219
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
215
220
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -225,11 +230,6 @@ export declare const privateGroup: {
225
230
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
226
231
  }, undefined>, undefined>;
227
232
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
228
- readonly inlineAttachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
229
- readonly contentType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
230
- readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
231
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
232
- }, undefined>, undefined>;
233
233
  readonly labelIds: import("valibot").ObjectSchema<{
234
234
  readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
235
235
  readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
@@ -191,6 +191,11 @@ export declare const sync: {
191
191
  readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
192
192
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
193
193
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
194
+ readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
195
+ readonly contentType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
196
+ readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
197
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
198
+ }, undefined>, undefined>;
194
199
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
195
200
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
196
201
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -206,11 +211,6 @@ export declare const sync: {
206
211
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
207
212
  }, undefined>, undefined>;
208
213
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
209
- readonly inlineAttachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
210
- readonly contentType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
211
- readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
212
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
213
- }, undefined>, undefined>;
214
214
  readonly labelIds: import("valibot").ObjectSchema<{
215
215
  readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
216
216
  readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
@@ -190,6 +190,11 @@ export declare const pull: {
190
190
  readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
191
191
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
192
192
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
193
+ readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
194
+ readonly contentType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
195
+ readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
196
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
197
+ }, undefined>, undefined>;
193
198
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
194
199
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
195
200
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -205,11 +210,6 @@ export declare const pull: {
205
210
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
206
211
  }, undefined>, undefined>;
207
212
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
208
- readonly inlineAttachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
209
- readonly contentType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
210
- readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
211
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
212
- }, undefined>, undefined>;
213
213
  readonly labelIds: import("valibot").ObjectSchema<{
214
214
  readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
215
215
  readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
@@ -42,6 +42,11 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
42
42
  readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
43
43
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
44
44
  readonly messages: v.ArraySchema<v.ObjectSchema<{
45
+ readonly attachments: v.ArraySchema<v.ObjectSchema<{
46
+ readonly contentType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
47
+ readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
48
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
49
+ }, undefined>, undefined>;
45
50
  readonly bcc: v.ArraySchema<v.ObjectSchema<{
46
51
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
47
52
  readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -57,11 +62,6 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
57
62
  readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
58
63
  }, undefined>, undefined>;
59
64
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
60
- readonly inlineAttachments: v.ArraySchema<v.ObjectSchema<{
61
- readonly contentType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
62
- readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
63
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
64
- }, undefined>, undefined>;
65
65
  readonly labelIds: v.ObjectSchema<{
66
66
  readonly current: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
67
67
  readonly previous: v.NullableSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
@@ -76,6 +76,11 @@ export declare const auth: {
76
76
  readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
77
77
  }, undefined>;
78
78
  readonly status: import("valibot").LiteralSchema<401, undefined>;
79
+ }, undefined>, import("valibot").ObjectSchema<{
80
+ readonly data: import("valibot").ObjectSchema<{
81
+ readonly code: import("valibot").LiteralSchema<"AUTH_CODE_INVALID", undefined>;
82
+ }, undefined>;
83
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
79
84
  }, undefined>, import("valibot").ObjectSchema<{
80
85
  readonly data: import("valibot").ObjectSchema<{
81
86
  readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhB,CAAA"}
@@ -17,6 +17,11 @@ export declare const verifyAuthCode: import("../../../..").EndpointConfig<"/v1/p
17
17
  readonly code: v.LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
18
18
  }, undefined>;
19
19
  readonly status: v.LiteralSchema<401, undefined>;
20
+ }, undefined>, v.ObjectSchema<{
21
+ readonly data: v.ObjectSchema<{
22
+ readonly code: v.LiteralSchema<"AUTH_CODE_INVALID", undefined>;
23
+ }, undefined>;
24
+ readonly status: v.LiteralSchema<401, undefined>;
20
25
  }, undefined>, v.ObjectSchema<{
21
26
  readonly data: v.ObjectSchema<{
22
27
  readonly code: v.LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"verifyAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/verifyAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAgCzB,CAAA"}
1
+ {"version":3,"file":"verifyAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/verifyAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiCzB,CAAA"}
@@ -12,6 +12,7 @@ export const verifyAuthCode = createEndpoint({
12
12
  response: v.union([
13
13
  errors.validationFailedErrorSchema,
14
14
  errors.authCodeExpiredErrorSchema,
15
+ errors.authCodeInvalidErrorSchema,
15
16
  errors.authCodePreviouslyUsedErrorSchema,
16
17
  errors.authTooManyAttemptsErrorSchema,
17
18
  errors.authServerResponseUnexpectedErrorSchema,
@@ -77,6 +77,11 @@ export declare const publicGroup: {
77
77
  readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
78
78
  }, undefined>;
79
79
  readonly status: import("valibot").LiteralSchema<401, undefined>;
80
+ }, undefined>, import("valibot").ObjectSchema<{
81
+ readonly data: import("valibot").ObjectSchema<{
82
+ readonly code: import("valibot").LiteralSchema<"AUTH_CODE_INVALID", undefined>;
83
+ }, undefined>;
84
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
80
85
  }, undefined>, import("valibot").ObjectSchema<{
81
86
  readonly data: import("valibot").ObjectSchema<{
82
87
  readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAA"}
@@ -212,6 +212,11 @@ export declare const marcoSDK: {
212
212
  readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
213
213
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
214
214
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
215
+ readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
216
+ readonly contentType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
217
+ readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
218
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
219
+ }, undefined>, undefined>;
215
220
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
216
221
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
217
222
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -227,11 +232,6 @@ export declare const marcoSDK: {
227
232
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
228
233
  }, undefined>, undefined>;
229
234
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
230
- readonly inlineAttachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
231
- readonly contentType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
232
- readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
233
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
234
- }, undefined>, undefined>;
235
235
  readonly labelIds: import("valibot").ObjectSchema<{
236
236
  readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
237
237
  readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
@@ -732,6 +732,11 @@ export declare const marcoSDK: {
732
732
  readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
733
733
  }, undefined>;
734
734
  readonly status: import("valibot").LiteralSchema<401, undefined>;
735
+ }, undefined>, import("valibot").ObjectSchema<{
736
+ readonly data: import("valibot").ObjectSchema<{
737
+ readonly code: import("valibot").LiteralSchema<"AUTH_CODE_INVALID", undefined>;
738
+ }, undefined>;
739
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
735
740
  }, undefined>, import("valibot").ObjectSchema<{
736
741
  readonly data: import("valibot").ObjectSchema<{
737
742
  readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
@@ -786,6 +791,12 @@ export declare const marcoSDK: {
786
791
  }, undefined>;
787
792
  readonly status: import("valibot").LiteralSchema<401, undefined>;
788
793
  }, undefined>;
794
+ readonly authCodeInvalidErrorSchema: import("valibot").ObjectSchema<{
795
+ readonly data: import("valibot").ObjectSchema<{
796
+ readonly code: import("valibot").LiteralSchema<"AUTH_CODE_INVALID", undefined>;
797
+ }, undefined>;
798
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
799
+ }, undefined>;
789
800
  readonly authCodePreviouslyUsedErrorSchema: import("valibot").ObjectSchema<{
790
801
  readonly data: import("valibot").ObjectSchema<{
791
802
  readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
@@ -5,6 +5,12 @@ export declare const authCodeExpiredErrorSchema: v.ObjectSchema<{
5
5
  }, undefined>;
6
6
  readonly status: v.LiteralSchema<401, undefined>;
7
7
  }, undefined>;
8
+ export declare const authCodeInvalidErrorSchema: v.ObjectSchema<{
9
+ readonly data: v.ObjectSchema<{
10
+ readonly code: v.LiteralSchema<"AUTH_CODE_INVALID", undefined>;
11
+ }, undefined>;
12
+ readonly status: v.LiteralSchema<401, undefined>;
13
+ }, undefined>;
8
14
  export declare const authTooManyAttemptsErrorSchema: v.ObjectSchema<{
9
15
  readonly data: v.ObjectSchema<{
10
16
  readonly code: v.LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
@@ -77,6 +83,12 @@ export declare const errors: {
77
83
  }, undefined>;
78
84
  readonly status: v.LiteralSchema<401, undefined>;
79
85
  }, undefined>;
86
+ readonly authCodeInvalidErrorSchema: v.ObjectSchema<{
87
+ readonly data: v.ObjectSchema<{
88
+ readonly code: v.LiteralSchema<"AUTH_CODE_INVALID", undefined>;
89
+ }, undefined>;
90
+ readonly status: v.LiteralSchema<401, undefined>;
91
+ }, undefined>;
80
92
  readonly authCodePreviouslyUsedErrorSchema: v.ObjectSchema<{
81
93
  readonly data: v.ObjectSchema<{
82
94
  readonly code: v.LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;aAGzC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO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 +3,10 @@ export const authCodeExpiredErrorSchema = v.object({
3
3
  data: v.object({ code: v.literal('AUTH_CODE_EXPIRED') }),
4
4
  status: v.literal(401),
5
5
  });
6
+ export const authCodeInvalidErrorSchema = v.object({
7
+ data: v.object({ code: v.literal('AUTH_CODE_INVALID') }),
8
+ status: v.literal(401),
9
+ });
6
10
  export const authTooManyAttemptsErrorSchema = v.object({
7
11
  data: v.object({ code: v.literal('AUTH_TOO_MANY_ATTEMPTS') }),
8
12
  status: v.literal(401),
@@ -52,6 +56,7 @@ export const validationFailedErrorSchema = v.object({
52
56
  });
53
57
  export const errors = {
54
58
  authCodeExpiredErrorSchema,
59
+ authCodeInvalidErrorSchema,
55
60
  authCodePreviouslyUsedErrorSchema,
56
61
  authFailedErrorSchema,
57
62
  authRefreshTokenInvalid,
@@ -6,6 +6,12 @@ export declare const validation: {
6
6
  }, undefined>;
7
7
  readonly status: import("valibot").LiteralSchema<401, undefined>;
8
8
  }, undefined>;
9
+ readonly authCodeInvalidErrorSchema: import("valibot").ObjectSchema<{
10
+ readonly data: import("valibot").ObjectSchema<{
11
+ readonly code: import("valibot").LiteralSchema<"AUTH_CODE_INVALID", undefined>;
12
+ }, undefined>;
13
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
14
+ }, undefined>;
9
15
  readonly authCodePreviouslyUsedErrorSchema: import("valibot").ObjectSchema<{
10
16
  readonly data: import("valibot").ObjectSchema<{
11
17
  readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAA"}
@@ -1,4 +1,4 @@
1
1
  import * as v from 'valibot';
2
2
  import { errors } from '../sdk/validation/errors';
3
- export type SDKError = v.InferOutput<typeof errors.authCodeExpiredErrorSchema> | v.InferOutput<typeof errors.authCodePreviouslyUsedErrorSchema> | v.InferOutput<typeof errors.authRefreshTokenInvalid> | v.InferOutput<typeof errors.authServerResponseUnexpectedErrorSchema> | v.InferOutput<typeof errors.authTooManyAttemptsErrorSchema> | v.InferOutput<typeof errors.authFailedErrorSchema> | v.InferOutput<typeof errors.messageNotFoundErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema> | v.InferOutput<typeof errors.mutationDriftErrorSchema>;
3
+ export type SDKError = v.InferOutput<typeof errors.authCodeExpiredErrorSchema> | v.InferOutput<typeof errors.authCodePreviouslyUsedErrorSchema> | v.InferOutput<typeof errors.authRefreshTokenInvalid> | v.InferOutput<typeof errors.authServerResponseUnexpectedErrorSchema> | v.InferOutput<typeof errors.authTooManyAttemptsErrorSchema> | v.InferOutput<typeof errors.authCodeInvalidErrorSchema> | v.InferOutput<typeof errors.authFailedErrorSchema> | v.InferOutput<typeof errors.messageNotFoundErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema> | v.InferOutput<typeof errors.mutationDriftErrorSchema>;
4
4
  //# sourceMappingURL=SDKError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SDKError.d.ts","sourceRoot":"","sources":["../../src/types/SDKError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAE5D,MAAM,MAAM,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AC,WAAW,CAAC,OAAO,MAAM,CAAC,qBAAqB,CAAC,GAClD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,GACxD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,wBAAwB,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
3
  "packageManager": "bun@1.2.0",
4
- "version": "2.0.219",
4
+ "version": "2.0.221",
5
5
  "author": "team@marcoapp.io",
6
6
  "main": "dist/index.js",
7
7
  "repository": "git@github.com:marcoappio/marco-config.git",