@marcoappio/marco-config 2.0.316 → 2.0.317

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.
@@ -98,16 +98,6 @@ export declare const draft: {
98
98
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
99
99
  }, undefined>;
100
100
  };
101
- setAliasId: {
102
- delta: v.ObjectSchema<{
103
- readonly aliasId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
104
- readonly emailAccountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
105
- readonly from: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
106
- readonly fromName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
107
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
108
- readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
109
- }, undefined>;
110
- };
111
101
  setContent: {
112
102
  delta: v.ObjectSchema<{
113
103
  readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
@@ -179,6 +169,16 @@ export declare const draft: {
179
169
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
180
170
  }, undefined>;
181
171
  };
172
+ setFrom: {
173
+ delta: v.ObjectSchema<{
174
+ readonly aliasId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
175
+ readonly emailAccountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
176
+ readonly from: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
177
+ readonly fromName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
178
+ readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
179
+ readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
180
+ }, undefined>;
181
+ };
182
182
  setScheduledFor: {
183
183
  delta: v.ObjectSchema<{
184
184
  readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyFK,CAAA"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0FK,CAAA"}
@@ -79,16 +79,6 @@ export const draft = {
79
79
  updatedAt: marcoSchemas.number.positiveInteger(),
80
80
  }),
81
81
  },
82
- setAliasId: {
83
- delta: v.object({
84
- aliasId: marcoSchemas.string.shortUUID(),
85
- emailAccountId: marcoSchemas.string.shortUUID(),
86
- from: marcoSchemas.string.email(),
87
- fromName: marcoSchemas.string.nullable(),
88
- id: marcoSchemas.string.shortUUID(),
89
- updatedAt: marcoSchemas.number.positiveInteger(),
90
- }),
91
- },
92
82
  setContent: {
93
83
  delta: v.object({
94
84
  id: marcoSchemas.string.shortUUID(),
@@ -111,6 +101,16 @@ export const draft = {
111
101
  updatedAt: marcoSchemas.number.positiveInteger(),
112
102
  }),
113
103
  },
104
+ setFrom: {
105
+ delta: v.object({
106
+ aliasId: marcoSchemas.string.shortUUID(),
107
+ emailAccountId: marcoSchemas.string.shortUUID(),
108
+ from: marcoSchemas.string.email(),
109
+ fromName: marcoSchemas.string.nullable(),
110
+ id: marcoSchemas.string.shortUUID(),
111
+ updatedAt: marcoSchemas.number.positiveInteger(),
112
+ }),
113
+ },
114
114
  setScheduledFor: {
115
115
  delta: v.object({
116
116
  id: marcoSchemas.string.shortUUID(),
@@ -250,16 +250,6 @@ export declare const marcoClients: {
250
250
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
251
251
  }, undefined>;
252
252
  };
253
- setAliasId: {
254
- delta: import("valibot").ObjectSchema<{
255
- readonly aliasId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
256
- readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
257
- readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
258
- readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
259
- readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
260
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
261
- }, undefined>;
262
- };
263
253
  setContent: {
264
254
  delta: import("valibot").ObjectSchema<{
265
255
  readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
@@ -331,6 +321,16 @@ export declare const marcoClients: {
331
321
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
332
322
  }, undefined>;
333
323
  };
324
+ setFrom: {
325
+ delta: import("valibot").ObjectSchema<{
326
+ readonly aliasId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
327
+ readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
328
+ readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
329
+ readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
330
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
331
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
332
+ }, undefined>;
333
+ };
334
334
  setScheduledFor: {
335
335
  delta: import("valibot").ObjectSchema<{
336
336
  readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
@@ -589,18 +589,6 @@ export declare const endpoints: {
589
589
  readonly clientID: import("valibot").StringSchema<undefined>;
590
590
  readonly id: import("valibot").NumberSchema<undefined>;
591
591
  readonly name: import("valibot").LiteralSchema<"sendDraft", undefined>;
592
- }, undefined> | import("valibot").ObjectSchema<{
593
- readonly args: import("valibot").ObjectSchema<{
594
- readonly aliasId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
595
- readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
596
- readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
597
- readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
598
- readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
599
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
600
- }, undefined>;
601
- readonly clientID: import("valibot").StringSchema<undefined>;
602
- readonly id: import("valibot").NumberSchema<undefined>;
603
- readonly name: import("valibot").LiteralSchema<"setAliasId", undefined>;
604
592
  }, undefined> | import("valibot").ObjectSchema<{
605
593
  readonly args: import("valibot").ObjectSchema<{
606
594
  readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
@@ -678,6 +666,18 @@ export declare const endpoints: {
678
666
  readonly clientID: import("valibot").StringSchema<undefined>;
679
667
  readonly id: import("valibot").NumberSchema<undefined>;
680
668
  readonly name: import("valibot").LiteralSchema<"setEnvelope", undefined>;
669
+ }, undefined> | import("valibot").ObjectSchema<{
670
+ readonly args: import("valibot").ObjectSchema<{
671
+ readonly aliasId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
672
+ readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
673
+ readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
674
+ readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
675
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
676
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
677
+ }, undefined>;
678
+ readonly clientID: import("valibot").StringSchema<undefined>;
679
+ readonly id: import("valibot").NumberSchema<undefined>;
680
+ readonly name: import("valibot").LiteralSchema<"setFrom", undefined>;
681
681
  }, undefined> | import("valibot").ObjectSchema<{
682
682
  readonly args: import("valibot").ObjectSchema<{
683
683
  readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
@@ -586,18 +586,6 @@ export declare const privateGroup: {
586
586
  readonly clientID: import("valibot").StringSchema<undefined>;
587
587
  readonly id: import("valibot").NumberSchema<undefined>;
588
588
  readonly name: import("valibot").LiteralSchema<"sendDraft", undefined>;
589
- }, undefined> | import("valibot").ObjectSchema<{
590
- readonly args: import("valibot").ObjectSchema<{
591
- readonly aliasId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
592
- readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
593
- readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
594
- readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
595
- readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
596
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
597
- }, undefined>;
598
- readonly clientID: import("valibot").StringSchema<undefined>;
599
- readonly id: import("valibot").NumberSchema<undefined>;
600
- readonly name: import("valibot").LiteralSchema<"setAliasId", undefined>;
601
589
  }, undefined> | import("valibot").ObjectSchema<{
602
590
  readonly args: import("valibot").ObjectSchema<{
603
591
  readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
@@ -675,6 +663,18 @@ export declare const privateGroup: {
675
663
  readonly clientID: import("valibot").StringSchema<undefined>;
676
664
  readonly id: import("valibot").NumberSchema<undefined>;
677
665
  readonly name: import("valibot").LiteralSchema<"setEnvelope", undefined>;
666
+ }, undefined> | import("valibot").ObjectSchema<{
667
+ readonly args: import("valibot").ObjectSchema<{
668
+ readonly aliasId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
669
+ readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
670
+ readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
671
+ readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
672
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
673
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
674
+ }, undefined>;
675
+ readonly clientID: import("valibot").StringSchema<undefined>;
676
+ readonly id: import("valibot").NumberSchema<undefined>;
677
+ readonly name: import("valibot").LiteralSchema<"setFrom", undefined>;
678
678
  }, undefined> | import("valibot").ObjectSchema<{
679
679
  readonly args: import("valibot").ObjectSchema<{
680
680
  readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
@@ -520,18 +520,6 @@ export declare const sync: {
520
520
  readonly clientID: import("valibot").StringSchema<undefined>;
521
521
  readonly id: import("valibot").NumberSchema<undefined>;
522
522
  readonly name: import("valibot").LiteralSchema<"sendDraft", undefined>;
523
- }, undefined> | import("valibot").ObjectSchema<{
524
- readonly args: import("valibot").ObjectSchema<{
525
- readonly aliasId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
526
- readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
527
- readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
528
- readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
529
- readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
530
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
531
- }, undefined>;
532
- readonly clientID: import("valibot").StringSchema<undefined>;
533
- readonly id: import("valibot").NumberSchema<undefined>;
534
- readonly name: import("valibot").LiteralSchema<"setAliasId", undefined>;
535
523
  }, undefined> | import("valibot").ObjectSchema<{
536
524
  readonly args: import("valibot").ObjectSchema<{
537
525
  readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
@@ -609,6 +597,18 @@ export declare const sync: {
609
597
  readonly clientID: import("valibot").StringSchema<undefined>;
610
598
  readonly id: import("valibot").NumberSchema<undefined>;
611
599
  readonly name: import("valibot").LiteralSchema<"setEnvelope", undefined>;
600
+ }, undefined> | import("valibot").ObjectSchema<{
601
+ readonly args: import("valibot").ObjectSchema<{
602
+ readonly aliasId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
603
+ readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
604
+ readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
605
+ readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
606
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
607
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
608
+ }, undefined>;
609
+ readonly clientID: import("valibot").StringSchema<undefined>;
610
+ readonly id: import("valibot").NumberSchema<undefined>;
611
+ readonly name: import("valibot").LiteralSchema<"setFrom", undefined>;
612
612
  }, undefined> | import("valibot").ObjectSchema<{
613
613
  readonly args: import("valibot").ObjectSchema<{
614
614
  readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
@@ -82,18 +82,6 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
82
82
  readonly clientID: v.StringSchema<undefined>;
83
83
  readonly id: v.NumberSchema<undefined>;
84
84
  readonly name: v.LiteralSchema<"sendDraft", undefined>;
85
- }, undefined> | v.ObjectSchema<{
86
- readonly args: v.ObjectSchema<{
87
- readonly aliasId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
88
- readonly emailAccountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
89
- readonly from: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
90
- readonly fromName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
91
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
92
- readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
93
- }, undefined>;
94
- readonly clientID: v.StringSchema<undefined>;
95
- readonly id: v.NumberSchema<undefined>;
96
- readonly name: v.LiteralSchema<"setAliasId", undefined>;
97
85
  }, undefined> | v.ObjectSchema<{
98
86
  readonly args: v.ObjectSchema<{
99
87
  readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
@@ -171,6 +159,18 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
171
159
  readonly clientID: v.StringSchema<undefined>;
172
160
  readonly id: v.NumberSchema<undefined>;
173
161
  readonly name: v.LiteralSchema<"setEnvelope", undefined>;
162
+ }, undefined> | v.ObjectSchema<{
163
+ readonly args: v.ObjectSchema<{
164
+ readonly aliasId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
165
+ readonly emailAccountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
166
+ readonly from: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
167
+ readonly fromName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
168
+ readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
169
+ readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
170
+ }, undefined>;
171
+ readonly clientID: v.StringSchema<undefined>;
172
+ readonly id: v.NumberSchema<undefined>;
173
+ readonly name: v.LiteralSchema<"setFrom", undefined>;
174
174
  }, undefined> | v.ObjectSchema<{
175
175
  readonly args: v.ObjectSchema<{
176
176
  readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
@@ -42,12 +42,6 @@ export const syncPushDraft = createEndpoint({
42
42
  id: v.number(),
43
43
  name: v.literal('sendDraft'),
44
44
  }),
45
- setAliasId: v.object({
46
- args: draft.mutators.setAliasId.delta,
47
- clientID: v.string(),
48
- id: v.number(),
49
- name: v.literal('setAliasId'),
50
- }),
51
45
  setContent: v.object({
52
46
  args: draft.mutators.setContent.delta,
53
47
  clientID: v.string(),
@@ -66,6 +60,12 @@ export const syncPushDraft = createEndpoint({
66
60
  id: v.number(),
67
61
  name: v.literal('setEnvelope'),
68
62
  }),
63
+ setFrom: v.object({
64
+ args: draft.mutators.setFrom.delta,
65
+ clientID: v.string(),
66
+ id: v.number(),
67
+ name: v.literal('setFrom'),
68
+ }),
69
69
  setScheduledFor: v.object({
70
70
  args: draft.mutators.setScheduledFor.delta,
71
71
  clientID: v.string(),
@@ -221,18 +221,6 @@ export declare const push: {
221
221
  readonly clientID: import("valibot").StringSchema<undefined>;
222
222
  readonly id: import("valibot").NumberSchema<undefined>;
223
223
  readonly name: import("valibot").LiteralSchema<"sendDraft", undefined>;
224
- }, undefined> | import("valibot").ObjectSchema<{
225
- readonly args: import("valibot").ObjectSchema<{
226
- readonly aliasId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
227
- readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
228
- readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
229
- readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
230
- readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
231
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
232
- }, undefined>;
233
- readonly clientID: import("valibot").StringSchema<undefined>;
234
- readonly id: import("valibot").NumberSchema<undefined>;
235
- readonly name: import("valibot").LiteralSchema<"setAliasId", undefined>;
236
224
  }, undefined> | import("valibot").ObjectSchema<{
237
225
  readonly args: import("valibot").ObjectSchema<{
238
226
  readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
@@ -310,6 +298,18 @@ export declare const push: {
310
298
  readonly clientID: import("valibot").StringSchema<undefined>;
311
299
  readonly id: import("valibot").NumberSchema<undefined>;
312
300
  readonly name: import("valibot").LiteralSchema<"setEnvelope", undefined>;
301
+ }, undefined> | import("valibot").ObjectSchema<{
302
+ readonly args: import("valibot").ObjectSchema<{
303
+ readonly aliasId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
304
+ readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
305
+ readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
306
+ readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
307
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
308
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
309
+ }, undefined>;
310
+ readonly clientID: import("valibot").StringSchema<undefined>;
311
+ readonly id: import("valibot").NumberSchema<undefined>;
312
+ readonly name: import("valibot").LiteralSchema<"setFrom", undefined>;
313
313
  }, undefined> | import("valibot").ObjectSchema<{
314
314
  readonly args: import("valibot").ObjectSchema<{
315
315
  readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
@@ -588,18 +588,6 @@ export declare const marcoSDK: {
588
588
  readonly clientID: import("valibot").StringSchema<undefined>;
589
589
  readonly id: import("valibot").NumberSchema<undefined>;
590
590
  readonly name: import("valibot").LiteralSchema<"sendDraft", undefined>;
591
- }, undefined> | import("valibot").ObjectSchema<{
592
- readonly args: import("valibot").ObjectSchema<{
593
- readonly aliasId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
594
- readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
595
- readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
596
- readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
597
- readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
598
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
599
- }, undefined>;
600
- readonly clientID: import("valibot").StringSchema<undefined>;
601
- readonly id: import("valibot").NumberSchema<undefined>;
602
- readonly name: import("valibot").LiteralSchema<"setAliasId", undefined>;
603
591
  }, undefined> | import("valibot").ObjectSchema<{
604
592
  readonly args: import("valibot").ObjectSchema<{
605
593
  readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
@@ -677,6 +665,18 @@ export declare const marcoSDK: {
677
665
  readonly clientID: import("valibot").StringSchema<undefined>;
678
666
  readonly id: import("valibot").NumberSchema<undefined>;
679
667
  readonly name: import("valibot").LiteralSchema<"setEnvelope", undefined>;
668
+ }, undefined> | import("valibot").ObjectSchema<{
669
+ readonly args: import("valibot").ObjectSchema<{
670
+ readonly aliasId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
671
+ readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
672
+ readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
673
+ readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
674
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
675
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
676
+ }, undefined>;
677
+ readonly clientID: import("valibot").StringSchema<undefined>;
678
+ readonly id: import("valibot").NumberSchema<undefined>;
679
+ readonly name: import("valibot").LiteralSchema<"setFrom", undefined>;
680
680
  }, undefined> | import("valibot").ObjectSchema<{
681
681
  readonly args: import("valibot").ObjectSchema<{
682
682
  readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
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.316",
4
+ "version": "2.0.317",
5
5
  "author": "team@marcoapp.io",
6
6
  "main": "dist/index.js",
7
7
  "repository": "git@github.com:marcoappio/marco-config.git",