@marcoappio/marco-config 2.0.353 → 2.0.354

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/clients/draft.d.ts +2 -2
  2. package/dist/clients/draft.d.ts.map +1 -1
  3. package/dist/clients/draft.js +1 -0
  4. package/dist/clients/index.d.ts +3 -2
  5. package/dist/clients/index.d.ts.map +1 -1
  6. package/dist/clients/thread.d.ts +1 -0
  7. package/dist/clients/thread.d.ts.map +1 -1
  8. package/dist/clients/thread.js +6 -0
  9. package/dist/sdk/endpoints/index.d.ts +9 -3
  10. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  11. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts +6 -1
  12. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts.map +1 -1
  13. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.js +3 -2
  14. package/dist/sdk/endpoints/private/emailMessage/index.d.ts +6 -1
  15. package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +1 -1
  16. package/dist/sdk/endpoints/private/index.d.ts +9 -3
  17. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  18. package/dist/sdk/endpoints/private/sync/index.d.ts +3 -2
  19. package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
  20. package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +1 -1
  21. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +2 -1
  22. package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
  23. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +1 -0
  24. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts.map +1 -1
  25. package/dist/sdk/endpoints/private/sync/push/draft.d.ts +1 -1
  26. package/dist/sdk/endpoints/private/sync/push/index.d.ts +1 -1
  27. package/dist/sdk/index.d.ts +21 -3
  28. package/dist/sdk/index.d.ts.map +1 -1
  29. package/dist/sdk/validation/errors.d.ts +24 -0
  30. package/dist/sdk/validation/errors.d.ts.map +1 -1
  31. package/dist/sdk/validation/errors.js +10 -0
  32. package/dist/sdk/validation/index.d.ts +12 -0
  33. package/dist/sdk/validation/index.d.ts.map +1 -1
  34. package/dist/types/SDKError.d.ts +1 -1
  35. package/dist/types/SDKError.d.ts.map +1 -1
  36. package/package.json +1 -1
@@ -24,7 +24,7 @@ export declare const draft: {
24
24
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
25
25
  readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
26
26
  readonly scheduledFor: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
27
- readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SEND_REQUESTED", undefined>, v.LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, v.LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
27
+ readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SEND_REQUESTED", undefined>, v.LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, v.LiteralSchema<"SEND_CONFIRMED", undefined>, v.LiteralSchema<"SEND_FAILED", undefined>], undefined>;
28
28
  readonly type: v.UnionSchema<[v.LiteralSchema<"NEW", undefined>, v.LiteralSchema<"REPLY", undefined>, v.LiteralSchema<"FORWARD", undefined>], undefined>;
29
29
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
30
30
  }, undefined>;
@@ -75,7 +75,7 @@ export declare const draft: {
75
75
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
76
76
  readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
77
77
  readonly scheduledFor: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
78
- readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SEND_REQUESTED", undefined>, v.LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, v.LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
78
+ readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SEND_REQUESTED", undefined>, v.LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, v.LiteralSchema<"SEND_CONFIRMED", undefined>, v.LiteralSchema<"SEND_FAILED", undefined>], undefined>;
79
79
  readonly type: v.UnionSchema<[v.LiteralSchema<"NEW", undefined>, v.LiteralSchema<"REPLY", undefined>, v.LiteralSchema<"FORWARD", undefined>], undefined>;
80
80
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
81
81
  }, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../src/clients/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAqD5B,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiFK,CAAA"}
1
+ {"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../src/clients/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsD5B,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiFK,CAAA"}
@@ -5,6 +5,7 @@ const draftStatusSchema = v.union([
5
5
  v.literal('SEND_REQUESTED'),
6
6
  v.literal('SEND_CONFIRMATION_PENDING'),
7
7
  v.literal('SEND_CONFIRMED'),
8
+ v.literal('SEND_FAILED'),
8
9
  ]);
9
10
  const draftTypeSchema = v.union([
10
11
  v.literal('NEW'),
@@ -177,7 +177,7 @@ export declare const marcoClients: {
177
177
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
178
178
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
179
179
  readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
180
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
180
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>, import("valibot").LiteralSchema<"SEND_FAILED", undefined>], undefined>;
181
181
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
182
182
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
183
183
  }, undefined>;
@@ -228,7 +228,7 @@ export declare const marcoClients: {
228
228
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
229
229
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
230
230
  readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
231
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
231
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>, import("valibot").LiteralSchema<"SEND_FAILED", undefined>], undefined>;
232
232
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
233
233
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
234
234
  }, undefined>;
@@ -358,6 +358,7 @@ export declare const marcoClients: {
358
358
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
359
359
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
360
360
  readonly size: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
361
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NOT_DOWNLOADED", undefined>, import("valibot").LiteralSchema<"DOWNLOAD_REQUESTED", undefined>, import("valibot").LiteralSchema<"DOWNLOADED", undefined>, import("valibot").LiteralSchema<"DOWNLOAD_FAILED", undefined>], undefined>;
361
362
  }, undefined>, undefined>;
362
363
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
363
364
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMc,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMc,CAAA"}
@@ -11,6 +11,7 @@ export declare const thread: {
11
11
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
12
12
  readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
13
13
  readonly size: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
14
+ readonly status: v.UnionSchema<[v.LiteralSchema<"NOT_DOWNLOADED", undefined>, v.LiteralSchema<"DOWNLOAD_REQUESTED", undefined>, v.LiteralSchema<"DOWNLOADED", undefined>, v.LiteralSchema<"DOWNLOAD_FAILED", undefined>], undefined>;
14
15
  }, undefined>, undefined>;
15
16
  readonly bcc: v.ArraySchema<v.ObjectSchema<{
16
17
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../src/clients/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA2C5B,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DI,CAAA"}
1
+ {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../src/clients/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAiD5B,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DI,CAAA"}
@@ -10,6 +10,12 @@ const inlineAttachment = v.object({
10
10
  id: marcoSchemas.string.required(),
11
11
  mimeType: marcoSchemas.string.required(),
12
12
  size: marcoSchemas.number.positiveInteger(),
13
+ status: v.union([
14
+ v.literal('NOT_DOWNLOADED'),
15
+ v.literal('DOWNLOAD_REQUESTED'),
16
+ v.literal('DOWNLOADED'),
17
+ v.literal('DOWNLOAD_FAILED'),
18
+ ]),
13
19
  });
14
20
  const specialUseMutators = {
15
21
  setArchive: {
@@ -10,9 +10,14 @@ export declare const endpoints: {
10
10
  readonly status: import("valibot").LiteralSchema<401, undefined>;
11
11
  }, undefined>, import("valibot").ObjectSchema<{
12
12
  readonly data: import("valibot").ObjectSchema<{
13
- readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
13
+ readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
14
14
  }, undefined>;
15
15
  readonly status: import("valibot").LiteralSchema<404, undefined>;
16
+ }, undefined>, import("valibot").ObjectSchema<{
17
+ readonly data: import("valibot").ObjectSchema<{
18
+ readonly code: import("valibot").LiteralSchema<"ATTACHMENT_STATE_INVALID", undefined>;
19
+ }, undefined>;
20
+ readonly status: import("valibot").LiteralSchema<409, undefined>;
16
21
  }, undefined>, import("valibot").ObjectSchema<{
17
22
  readonly file: import("valibot").NonOptionalSchema<import("valibot").FileSchema<undefined>, undefined>;
18
23
  readonly status: import("valibot").LiteralSchema<200, undefined>;
@@ -192,7 +197,7 @@ export declare const endpoints: {
192
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>;
193
198
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
194
199
  readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
195
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
200
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>, import("valibot").LiteralSchema<"SEND_FAILED", undefined>], undefined>;
196
201
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
197
202
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
198
203
  }, undefined>;
@@ -256,6 +261,7 @@ export declare const endpoints: {
256
261
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
257
262
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
258
263
  readonly size: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
264
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NOT_DOWNLOADED", undefined>, import("valibot").LiteralSchema<"DOWNLOAD_REQUESTED", undefined>, import("valibot").LiteralSchema<"DOWNLOADED", undefined>, import("valibot").LiteralSchema<"DOWNLOAD_FAILED", undefined>], undefined>;
259
265
  }, undefined>, undefined>;
260
266
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
261
267
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -538,7 +544,7 @@ export declare const endpoints: {
538
544
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
539
545
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
540
546
  readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
541
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
547
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>, import("valibot").LiteralSchema<"SEND_FAILED", undefined>], undefined>;
542
548
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
543
549
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
544
550
  }, 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,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
@@ -6,9 +6,14 @@ export declare const getEmailMessageAttachment: import("../../../..").EndpointCo
6
6
  readonly status: v.LiteralSchema<401, undefined>;
7
7
  }, undefined>, v.ObjectSchema<{
8
8
  readonly data: v.ObjectSchema<{
9
- readonly code: v.LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
9
+ readonly code: v.LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
10
10
  }, undefined>;
11
11
  readonly status: v.LiteralSchema<404, undefined>;
12
+ }, undefined>, v.ObjectSchema<{
13
+ readonly data: v.ObjectSchema<{
14
+ readonly code: v.LiteralSchema<"ATTACHMENT_STATE_INVALID", undefined>;
15
+ }, undefined>;
16
+ readonly status: v.LiteralSchema<409, undefined>;
12
17
  }, undefined>, v.ObjectSchema<{
13
18
  readonly file: v.NonOptionalSchema<v.FileSchema<undefined>, undefined>;
14
19
  readonly status: v.LiteralSchema<200, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"getEmailMessageAttachment.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAK5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;2BAWpC,CAAA"}
1
+ {"version":3,"file":"getEmailMessageAttachment.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAK5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;2BAYpC,CAAA"}
@@ -1,12 +1,13 @@
1
1
  import * as v from 'valibot';
2
2
  import { createEndpoint } from '../../../../sdk/endpoints/createEndpointConfig';
3
- import { authFailedErrorSchema, messageNotFoundErrorSchema } from '../../../../sdk/validation/errors';
3
+ import { attachmentNotFoundErrorSchema, attachmentStateInvalidErrorSchema, authFailedErrorSchema } from '../../../../sdk/validation/errors';
4
4
  export const getEmailMessageAttachment = createEndpoint({
5
5
  method: 'GET',
6
6
  path: '/v1/pv/attachment/:attachmentId',
7
7
  response: v.union([
8
8
  authFailedErrorSchema,
9
- messageNotFoundErrorSchema,
9
+ attachmentNotFoundErrorSchema,
10
+ attachmentStateInvalidErrorSchema,
10
11
  v.object({
11
12
  file: v.nonOptional(v.file()),
12
13
  status: v.literal(200),
@@ -6,9 +6,14 @@ export declare const emailMessage: {
6
6
  readonly status: import("valibot").LiteralSchema<401, undefined>;
7
7
  }, undefined>, import("valibot").ObjectSchema<{
8
8
  readonly data: import("valibot").ObjectSchema<{
9
- readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
9
+ readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
10
10
  }, undefined>;
11
11
  readonly status: import("valibot").LiteralSchema<404, undefined>;
12
+ }, undefined>, import("valibot").ObjectSchema<{
13
+ readonly data: import("valibot").ObjectSchema<{
14
+ readonly code: import("valibot").LiteralSchema<"ATTACHMENT_STATE_INVALID", undefined>;
15
+ }, undefined>;
16
+ readonly status: import("valibot").LiteralSchema<409, undefined>;
12
17
  }, undefined>, import("valibot").ObjectSchema<{
13
18
  readonly file: import("valibot").NonOptionalSchema<import("valibot").FileSchema<undefined>, undefined>;
14
19
  readonly status: import("valibot").LiteralSchema<200, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGxB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGxB,CAAA"}
@@ -7,9 +7,14 @@ export declare const privateGroup: {
7
7
  readonly status: import("valibot").LiteralSchema<401, undefined>;
8
8
  }, undefined>, import("valibot").ObjectSchema<{
9
9
  readonly data: import("valibot").ObjectSchema<{
10
- readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
10
+ readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
11
11
  }, undefined>;
12
12
  readonly status: import("valibot").LiteralSchema<404, undefined>;
13
+ }, undefined>, import("valibot").ObjectSchema<{
14
+ readonly data: import("valibot").ObjectSchema<{
15
+ readonly code: import("valibot").LiteralSchema<"ATTACHMENT_STATE_INVALID", undefined>;
16
+ }, undefined>;
17
+ readonly status: import("valibot").LiteralSchema<409, undefined>;
13
18
  }, undefined>, import("valibot").ObjectSchema<{
14
19
  readonly file: import("valibot").NonOptionalSchema<import("valibot").FileSchema<undefined>, undefined>;
15
20
  readonly status: import("valibot").LiteralSchema<200, undefined>;
@@ -189,7 +194,7 @@ export declare const privateGroup: {
189
194
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
190
195
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
191
196
  readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
192
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
197
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>, import("valibot").LiteralSchema<"SEND_FAILED", undefined>], undefined>;
193
198
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
194
199
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
195
200
  }, undefined>;
@@ -253,6 +258,7 @@ export declare const privateGroup: {
253
258
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
254
259
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
255
260
  readonly size: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
261
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NOT_DOWNLOADED", undefined>, import("valibot").LiteralSchema<"DOWNLOAD_REQUESTED", undefined>, import("valibot").LiteralSchema<"DOWNLOADED", undefined>, import("valibot").LiteralSchema<"DOWNLOAD_FAILED", undefined>], undefined>;
256
262
  }, undefined>, undefined>;
257
263
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
258
264
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -535,7 +541,7 @@ export declare const privateGroup: {
535
541
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
536
542
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
537
543
  readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
538
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
544
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>, import("valibot").LiteralSchema<"SEND_FAILED", undefined>], undefined>;
539
545
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
540
546
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
541
547
  }, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
@@ -156,7 +156,7 @@ export declare const sync: {
156
156
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
157
157
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
158
158
  readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
159
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
159
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>, import("valibot").LiteralSchema<"SEND_FAILED", undefined>], undefined>;
160
160
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
161
161
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
162
162
  }, undefined>;
@@ -220,6 +220,7 @@ export declare const sync: {
220
220
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
221
221
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
222
222
  readonly size: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
223
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NOT_DOWNLOADED", undefined>, import("valibot").LiteralSchema<"DOWNLOAD_REQUESTED", undefined>, import("valibot").LiteralSchema<"DOWNLOADED", undefined>, import("valibot").LiteralSchema<"DOWNLOAD_FAILED", undefined>], undefined>;
223
224
  }, undefined>, undefined>;
224
225
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
225
226
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -502,7 +503,7 @@ export declare const sync: {
502
503
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
503
504
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
504
505
  readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
505
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
506
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>, import("valibot").LiteralSchema<"SEND_FAILED", undefined>], undefined>;
506
507
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
507
508
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
508
509
  }, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
@@ -53,7 +53,7 @@ export declare const syncPullDraft: import("../../../../..").EndpointConfig<"/v1
53
53
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
54
54
  readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
55
55
  readonly scheduledFor: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
56
- readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SEND_REQUESTED", undefined>, v.LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, v.LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
56
+ readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SEND_REQUESTED", undefined>, v.LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, v.LiteralSchema<"SEND_CONFIRMED", undefined>, v.LiteralSchema<"SEND_FAILED", undefined>], undefined>;
57
57
  readonly type: v.UnionSchema<[v.LiteralSchema<"NEW", undefined>, v.LiteralSchema<"REPLY", undefined>, v.LiteralSchema<"FORWARD", undefined>], undefined>;
58
58
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
59
59
  }, undefined>;
@@ -155,7 +155,7 @@ export declare const pull: {
155
155
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
156
156
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
157
157
  readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
158
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
158
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>, import("valibot").LiteralSchema<"SEND_FAILED", undefined>], undefined>;
159
159
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
160
160
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
161
161
  }, undefined>;
@@ -219,6 +219,7 @@ export declare const pull: {
219
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
220
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
221
221
  readonly size: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
222
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NOT_DOWNLOADED", undefined>, import("valibot").LiteralSchema<"DOWNLOAD_REQUESTED", undefined>, import("valibot").LiteralSchema<"DOWNLOADED", undefined>, import("valibot").LiteralSchema<"DOWNLOAD_FAILED", undefined>], undefined>;
222
223
  }, undefined>, undefined>;
223
224
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
224
225
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
@@ -55,6 +55,7 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
55
55
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
56
56
  readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
57
57
  readonly size: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
58
+ readonly status: v.UnionSchema<[v.LiteralSchema<"NOT_DOWNLOADED", undefined>, v.LiteralSchema<"DOWNLOAD_REQUESTED", undefined>, v.LiteralSchema<"DOWNLOADED", undefined>, v.LiteralSchema<"DOWNLOAD_FAILED", undefined>], undefined>;
58
59
  }, undefined>, undefined>;
59
60
  readonly bcc: v.ArraySchema<v.ObjectSchema<{
60
61
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAuCzB,CAAA"}
1
+ {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAuCzB,CAAA"}
@@ -51,7 +51,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
51
51
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
52
52
  readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
53
53
  readonly scheduledFor: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
54
- readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SEND_REQUESTED", undefined>, v.LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, v.LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
54
+ readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SEND_REQUESTED", undefined>, v.LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, v.LiteralSchema<"SEND_CONFIRMED", undefined>, v.LiteralSchema<"SEND_FAILED", undefined>], undefined>;
55
55
  readonly type: v.UnionSchema<[v.LiteralSchema<"NEW", undefined>, v.LiteralSchema<"REPLY", undefined>, v.LiteralSchema<"FORWARD", undefined>], undefined>;
56
56
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
57
57
  }, undefined>;
@@ -198,7 +198,7 @@ export declare const push: {
198
198
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
199
199
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
200
200
  readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
201
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
201
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>, import("valibot").LiteralSchema<"SEND_FAILED", undefined>], undefined>;
202
202
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
203
203
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
204
204
  }, undefined>;
@@ -9,9 +9,14 @@ export declare const marcoSDK: {
9
9
  readonly status: import("valibot").LiteralSchema<401, undefined>;
10
10
  }, undefined>, import("valibot").ObjectSchema<{
11
11
  readonly data: import("valibot").ObjectSchema<{
12
- readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
12
+ readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
13
13
  }, undefined>;
14
14
  readonly status: import("valibot").LiteralSchema<404, undefined>;
15
+ }, undefined>, import("valibot").ObjectSchema<{
16
+ readonly data: import("valibot").ObjectSchema<{
17
+ readonly code: import("valibot").LiteralSchema<"ATTACHMENT_STATE_INVALID", undefined>;
18
+ }, undefined>;
19
+ readonly status: import("valibot").LiteralSchema<409, undefined>;
15
20
  }, undefined>, import("valibot").ObjectSchema<{
16
21
  readonly file: import("valibot").NonOptionalSchema<import("valibot").FileSchema<undefined>, undefined>;
17
22
  readonly status: import("valibot").LiteralSchema<200, undefined>;
@@ -191,7 +196,7 @@ export declare const marcoSDK: {
191
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>;
192
197
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
193
198
  readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
194
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
199
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>, import("valibot").LiteralSchema<"SEND_FAILED", undefined>], undefined>;
195
200
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
196
201
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
197
202
  }, undefined>;
@@ -255,6 +260,7 @@ export declare const marcoSDK: {
255
260
  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
261
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
257
262
  readonly size: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
263
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NOT_DOWNLOADED", undefined>, import("valibot").LiteralSchema<"DOWNLOAD_REQUESTED", undefined>, import("valibot").LiteralSchema<"DOWNLOADED", undefined>, import("valibot").LiteralSchema<"DOWNLOAD_FAILED", undefined>], undefined>;
258
264
  }, undefined>, undefined>;
259
265
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
260
266
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -537,7 +543,7 @@ export declare const marcoSDK: {
537
543
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
538
544
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
539
545
  readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
540
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
546
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>, import("valibot").LiteralSchema<"SEND_FAILED", undefined>], undefined>;
541
547
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
542
548
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
543
549
  }, undefined>;
@@ -1003,6 +1009,18 @@ export declare const marcoSDK: {
1003
1009
  }, undefined>;
1004
1010
  readonly status: import("valibot").LiteralSchema<404, undefined>;
1005
1011
  }, undefined>;
1012
+ readonly attachmentNotFoundErrorSchema: import("valibot").ObjectSchema<{
1013
+ readonly data: import("valibot").ObjectSchema<{
1014
+ readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
1015
+ }, undefined>;
1016
+ readonly status: import("valibot").LiteralSchema<404, undefined>;
1017
+ }, undefined>;
1018
+ readonly attachmentStateInvalidErrorSchema: import("valibot").ObjectSchema<{
1019
+ readonly data: import("valibot").ObjectSchema<{
1020
+ readonly code: import("valibot").LiteralSchema<"ATTACHMENT_STATE_INVALID", undefined>;
1021
+ }, undefined>;
1022
+ readonly status: import("valibot").LiteralSchema<409, undefined>;
1023
+ }, undefined>;
1006
1024
  readonly authCodeExpiredErrorSchema: import("valibot").ObjectSchema<{
1007
1025
  readonly data: import("valibot").ObjectSchema<{
1008
1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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
@@ -65,6 +65,18 @@ export declare const messageNotFoundErrorSchema: v.ObjectSchema<{
65
65
  }, undefined>;
66
66
  readonly status: v.LiteralSchema<404, undefined>;
67
67
  }, undefined>;
68
+ export declare const attachmentNotFoundErrorSchema: v.ObjectSchema<{
69
+ readonly data: v.ObjectSchema<{
70
+ readonly code: v.LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
71
+ }, undefined>;
72
+ readonly status: v.LiteralSchema<404, undefined>;
73
+ }, undefined>;
74
+ export declare const attachmentStateInvalidErrorSchema: v.ObjectSchema<{
75
+ readonly data: v.ObjectSchema<{
76
+ readonly code: v.LiteralSchema<"ATTACHMENT_STATE_INVALID", undefined>;
77
+ }, undefined>;
78
+ readonly status: v.LiteralSchema<409, undefined>;
79
+ }, undefined>;
68
80
  export declare const accountNotFoundErrorSchema: v.ObjectSchema<{
69
81
  readonly data: v.ObjectSchema<{
70
82
  readonly code: v.LiteralSchema<"ACCOUNT_NOT_FOUND", undefined>;
@@ -95,6 +107,18 @@ export declare const errors: {
95
107
  }, undefined>;
96
108
  readonly status: v.LiteralSchema<404, undefined>;
97
109
  }, undefined>;
110
+ readonly attachmentNotFoundErrorSchema: v.ObjectSchema<{
111
+ readonly data: v.ObjectSchema<{
112
+ readonly code: v.LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
113
+ }, undefined>;
114
+ readonly status: v.LiteralSchema<404, undefined>;
115
+ }, undefined>;
116
+ readonly attachmentStateInvalidErrorSchema: v.ObjectSchema<{
117
+ readonly data: v.ObjectSchema<{
118
+ readonly code: v.LiteralSchema<"ATTACHMENT_STATE_INVALID", undefined>;
119
+ }, undefined>;
120
+ readonly status: v.LiteralSchema<409, undefined>;
121
+ }, undefined>;
98
122
  readonly authCodeExpiredErrorSchema: v.ObjectSchema<{
99
123
  readonly data: v.ObjectSchema<{
100
124
  readonly code: v.LiteralSchema<"AUTH_CODE_EXPIRED", 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,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,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,MAAM,qBAAqB;;;;;aAGhC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;aAG3C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;aAGtC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAeT,CAAA"}
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,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,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,MAAM,qBAAqB;;;;;aAGhC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;aAG3C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;aAGxC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;aAGtC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBT,CAAA"}
@@ -43,6 +43,14 @@ export const messageNotFoundErrorSchema = v.object({
43
43
  data: v.object({ code: v.literal('MESSAGE_NOT_FOUND') }),
44
44
  status: v.literal(404),
45
45
  });
46
+ export const attachmentNotFoundErrorSchema = v.object({
47
+ data: v.object({ code: v.literal('ATTACHMENT_NOT_FOUND') }),
48
+ status: v.literal(404),
49
+ });
50
+ export const attachmentStateInvalidErrorSchema = v.object({
51
+ data: v.object({ code: v.literal('ATTACHMENT_STATE_INVALID') }),
52
+ status: v.literal(409),
53
+ });
46
54
  export const accountNotFoundErrorSchema = v.object({
47
55
  data: v.object({ code: v.literal('ACCOUNT_NOT_FOUND') }),
48
56
  status: v.literal(404),
@@ -64,6 +72,8 @@ export const validationFailedErrorSchema = v.object({
64
72
  });
65
73
  export const errors = {
66
74
  accountNotFoundErrorSchema,
75
+ attachmentNotFoundErrorSchema,
76
+ attachmentStateInvalidErrorSchema,
67
77
  authCodeExpiredErrorSchema,
68
78
  authCodeInvalidErrorSchema,
69
79
  authCodePreviouslyUsedErrorSchema,
@@ -6,6 +6,18 @@ export declare const validation: {
6
6
  }, undefined>;
7
7
  readonly status: import("valibot").LiteralSchema<404, undefined>;
8
8
  }, undefined>;
9
+ readonly attachmentNotFoundErrorSchema: import("valibot").ObjectSchema<{
10
+ readonly data: import("valibot").ObjectSchema<{
11
+ readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
12
+ }, undefined>;
13
+ readonly status: import("valibot").LiteralSchema<404, undefined>;
14
+ }, undefined>;
15
+ readonly attachmentStateInvalidErrorSchema: import("valibot").ObjectSchema<{
16
+ readonly data: import("valibot").ObjectSchema<{
17
+ readonly code: import("valibot").LiteralSchema<"ATTACHMENT_STATE_INVALID", undefined>;
18
+ }, undefined>;
19
+ readonly status: import("valibot").LiteralSchema<409, undefined>;
20
+ }, undefined>;
9
21
  readonly authCodeExpiredErrorSchema: import("valibot").ObjectSchema<{
10
22
  readonly data: import("valibot").ObjectSchema<{
11
23
  readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", 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.authCodeInvalidErrorSchema> | v.InferOutput<typeof errors.authFailedErrorSchema> | v.InferOutput<typeof errors.messageNotFoundErrorSchema> | v.InferOutput<typeof errors.accountNotFoundErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema> | v.InferOutput<typeof errors.inviteNotFoundErrorSchema> | v.InferOutput<typeof errors.userMarkedForDeletionErrorSchema> | v.InferOutput<typeof errors.mutationRejectedErrorSchema>;
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.accountNotFoundErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema> | v.InferOutput<typeof errors.inviteNotFoundErrorSchema> | v.InferOutput<typeof errors.userMarkedForDeletionErrorSchema> | v.InferOutput<typeof errors.mutationRejectedErrorSchema> | v.InferOutput<typeof errors.attachmentNotFoundErrorSchema> | v.InferOutput<typeof errors.attachmentStateInvalidErrorSchema>;
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,QAAQ,GAChB,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uCAAuC,CAAC,GACpE,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,8BAA8B,CAAC,GAC3D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,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,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uB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,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,gCAAgC,CAAC,GAC7D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,GACxD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,6BAA6B,CAAC,GAC1D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,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.353",
4
+ "version": "2.0.354",
5
5
  "author": "team@marcoapp.io",
6
6
  "main": "dist/index.js",
7
7
  "repository": "git@github.com:marcoappio/marco-config.git",