@marcoappio/marco-config 2.0.185 → 2.0.187

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.
@@ -44,6 +44,12 @@ export declare const draft: {
44
44
  }, undefined>, undefined>;
45
45
  }, undefined>;
46
46
  };
47
+ setEmailAccountId: {
48
+ delta: v.ObjectSchema<{
49
+ readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
50
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
51
+ }, undefined>;
52
+ };
47
53
  setEnvelope: {
48
54
  delta: v.ObjectSchema<{
49
55
  readonly envelope: Omit<v.ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../src/clients/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA2B5B,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCK,CAAA"}
1
+ {"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../src/clients/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA2B5B,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCK,CAAA"}
@@ -36,6 +36,12 @@ export const draft = {
36
36
  patch: marcoSchemas.drafts.contentPatch.patch(),
37
37
  }),
38
38
  },
39
+ setEmailAccountId: {
40
+ delta: v.object({
41
+ emailAccountId: marcoSchemas.string.uuid(),
42
+ id: marcoSchemas.string.uuid(),
43
+ }),
44
+ },
39
45
  setEnvelope: {
40
46
  delta: v.object({
41
47
  envelope: v.omit(bodySchema, ['content']),
@@ -161,6 +161,12 @@ export declare const marcoClients: {
161
161
  }, undefined>, undefined>;
162
162
  }, undefined>;
163
163
  };
164
+ setEmailAccountId: {
165
+ delta: import("valibot").ObjectSchema<{
166
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
167
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
168
+ }, undefined>;
169
+ };
164
170
  setEnvelope: {
165
171
  delta: import("valibot").ObjectSchema<{
166
172
  readonly envelope: Omit<import("valibot").ObjectSchema<{
@@ -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"}
@@ -330,14 +330,7 @@ export declare const endpoints: {
330
330
  }, undefined>], undefined>>;
331
331
  draft: EndpointConfig<"/v1/pv/sync/push/draft", import("valibot").ObjectSchema<{
332
332
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
333
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
334
- readonly args: import("valibot").ObjectSchema<{
335
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
336
- }, undefined>;
337
- readonly clientID: import("valibot").StringSchema<undefined>;
338
- readonly id: import("valibot").NumberSchema<undefined>;
339
- readonly name: import("valibot").LiteralSchema<"delete", undefined>;
340
- }, undefined>, import("valibot").ObjectSchema<{
333
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
341
334
  readonly args: import("valibot").ObjectSchema<{
342
335
  readonly body: import("valibot").ObjectSchema<{
343
336
  readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -354,7 +347,14 @@ export declare const endpoints: {
354
347
  readonly clientID: import("valibot").StringSchema<undefined>;
355
348
  readonly id: import("valibot").NumberSchema<undefined>;
356
349
  readonly name: import("valibot").LiteralSchema<"create", undefined>;
357
- }, undefined>, import("valibot").ObjectSchema<{
350
+ }, undefined> | import("valibot").ObjectSchema<{
351
+ readonly args: import("valibot").ObjectSchema<{
352
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
353
+ }, undefined>;
354
+ readonly clientID: import("valibot").StringSchema<undefined>;
355
+ readonly id: import("valibot").NumberSchema<undefined>;
356
+ readonly name: import("valibot").LiteralSchema<"delete", undefined>;
357
+ }, undefined> | import("valibot").ObjectSchema<{
358
358
  readonly args: import("valibot").ObjectSchema<{
359
359
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
360
360
  readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -366,15 +366,15 @@ export declare const endpoints: {
366
366
  readonly clientID: import("valibot").StringSchema<undefined>;
367
367
  readonly id: import("valibot").NumberSchema<undefined>;
368
368
  readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
369
- }, undefined>, import("valibot").ObjectSchema<{
369
+ }, undefined> | import("valibot").ObjectSchema<{
370
370
  readonly args: import("valibot").ObjectSchema<{
371
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
371
372
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
372
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
373
373
  }, undefined>;
374
374
  readonly clientID: import("valibot").StringSchema<undefined>;
375
375
  readonly id: import("valibot").NumberSchema<undefined>;
376
- readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
377
- }, undefined>, import("valibot").ObjectSchema<{
376
+ readonly name: import("valibot").LiteralSchema<"setEmailAccountId", undefined>;
377
+ }, undefined> | import("valibot").ObjectSchema<{
378
378
  readonly args: import("valibot").ObjectSchema<{
379
379
  readonly envelope: Omit<import("valibot").ObjectSchema<{
380
380
  readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -428,7 +428,15 @@ export declare const endpoints: {
428
428
  readonly clientID: import("valibot").StringSchema<undefined>;
429
429
  readonly id: import("valibot").NumberSchema<undefined>;
430
430
  readonly name: import("valibot").LiteralSchema<"setEnvelope", undefined>;
431
- }, undefined>], undefined>, undefined>;
431
+ }, undefined> | import("valibot").ObjectSchema<{
432
+ readonly args: import("valibot").ObjectSchema<{
433
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
434
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
435
+ }, undefined>;
436
+ readonly clientID: import("valibot").StringSchema<undefined>;
437
+ readonly id: import("valibot").NumberSchema<undefined>;
438
+ readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
439
+ }, undefined>)[], undefined>, undefined>;
432
440
  }, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
433
441
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
434
442
  readonly status: import("valibot").LiteralSchema<400, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAoB,MAAM,qBAAqB,CAAA;AActE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAoB,MAAM,qBAAqB,CAAA;AActE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
@@ -327,14 +327,7 @@ export declare const privateGroup: {
327
327
  }, undefined>], undefined>>;
328
328
  draft: import("../../..").EndpointConfig<"/v1/pv/sync/push/draft", import("valibot").ObjectSchema<{
329
329
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
330
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
331
- readonly args: import("valibot").ObjectSchema<{
332
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
333
- }, undefined>;
334
- readonly clientID: import("valibot").StringSchema<undefined>;
335
- readonly id: import("valibot").NumberSchema<undefined>;
336
- readonly name: import("valibot").LiteralSchema<"delete", undefined>;
337
- }, undefined>, import("valibot").ObjectSchema<{
330
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
338
331
  readonly args: import("valibot").ObjectSchema<{
339
332
  readonly body: import("valibot").ObjectSchema<{
340
333
  readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -351,7 +344,14 @@ export declare const privateGroup: {
351
344
  readonly clientID: import("valibot").StringSchema<undefined>;
352
345
  readonly id: import("valibot").NumberSchema<undefined>;
353
346
  readonly name: import("valibot").LiteralSchema<"create", undefined>;
354
- }, undefined>, import("valibot").ObjectSchema<{
347
+ }, undefined> | import("valibot").ObjectSchema<{
348
+ readonly args: import("valibot").ObjectSchema<{
349
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
350
+ }, undefined>;
351
+ readonly clientID: import("valibot").StringSchema<undefined>;
352
+ readonly id: import("valibot").NumberSchema<undefined>;
353
+ readonly name: import("valibot").LiteralSchema<"delete", undefined>;
354
+ }, undefined> | import("valibot").ObjectSchema<{
355
355
  readonly args: import("valibot").ObjectSchema<{
356
356
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
357
357
  readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -363,15 +363,15 @@ export declare const privateGroup: {
363
363
  readonly clientID: import("valibot").StringSchema<undefined>;
364
364
  readonly id: import("valibot").NumberSchema<undefined>;
365
365
  readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
366
- }, undefined>, import("valibot").ObjectSchema<{
366
+ }, undefined> | import("valibot").ObjectSchema<{
367
367
  readonly args: import("valibot").ObjectSchema<{
368
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
368
369
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
369
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
370
370
  }, undefined>;
371
371
  readonly clientID: import("valibot").StringSchema<undefined>;
372
372
  readonly id: import("valibot").NumberSchema<undefined>;
373
- readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
374
- }, undefined>, import("valibot").ObjectSchema<{
373
+ readonly name: import("valibot").LiteralSchema<"setEmailAccountId", undefined>;
374
+ }, undefined> | import("valibot").ObjectSchema<{
375
375
  readonly args: import("valibot").ObjectSchema<{
376
376
  readonly envelope: Omit<import("valibot").ObjectSchema<{
377
377
  readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -425,7 +425,15 @@ export declare const privateGroup: {
425
425
  readonly clientID: import("valibot").StringSchema<undefined>;
426
426
  readonly id: import("valibot").NumberSchema<undefined>;
427
427
  readonly name: import("valibot").LiteralSchema<"setEnvelope", undefined>;
428
- }, undefined>], undefined>, undefined>;
428
+ }, undefined> | import("valibot").ObjectSchema<{
429
+ readonly args: import("valibot").ObjectSchema<{
430
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
431
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
432
+ }, undefined>;
433
+ readonly clientID: import("valibot").StringSchema<undefined>;
434
+ readonly id: import("valibot").NumberSchema<undefined>;
435
+ readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
436
+ }, undefined>)[], undefined>, undefined>;
429
437
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
430
438
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
431
439
  readonly status: import("valibot").LiteralSchema<400, 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"}
@@ -312,14 +312,7 @@ export declare const sync: {
312
312
  }, undefined>], undefined>>;
313
313
  draft: import("../../../..").EndpointConfig<"/v1/pv/sync/push/draft", import("valibot").ObjectSchema<{
314
314
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
315
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
316
- readonly args: import("valibot").ObjectSchema<{
317
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
318
- }, undefined>;
319
- readonly clientID: import("valibot").StringSchema<undefined>;
320
- readonly id: import("valibot").NumberSchema<undefined>;
321
- readonly name: import("valibot").LiteralSchema<"delete", undefined>;
322
- }, undefined>, import("valibot").ObjectSchema<{
315
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
323
316
  readonly args: import("valibot").ObjectSchema<{
324
317
  readonly body: import("valibot").ObjectSchema<{
325
318
  readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -336,7 +329,14 @@ export declare const sync: {
336
329
  readonly clientID: import("valibot").StringSchema<undefined>;
337
330
  readonly id: import("valibot").NumberSchema<undefined>;
338
331
  readonly name: import("valibot").LiteralSchema<"create", undefined>;
339
- }, undefined>, import("valibot").ObjectSchema<{
332
+ }, undefined> | import("valibot").ObjectSchema<{
333
+ readonly args: import("valibot").ObjectSchema<{
334
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
335
+ }, undefined>;
336
+ readonly clientID: import("valibot").StringSchema<undefined>;
337
+ readonly id: import("valibot").NumberSchema<undefined>;
338
+ readonly name: import("valibot").LiteralSchema<"delete", undefined>;
339
+ }, undefined> | import("valibot").ObjectSchema<{
340
340
  readonly args: import("valibot").ObjectSchema<{
341
341
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
342
342
  readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -348,15 +348,15 @@ export declare const sync: {
348
348
  readonly clientID: import("valibot").StringSchema<undefined>;
349
349
  readonly id: import("valibot").NumberSchema<undefined>;
350
350
  readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
351
- }, undefined>, import("valibot").ObjectSchema<{
351
+ }, undefined> | import("valibot").ObjectSchema<{
352
352
  readonly args: import("valibot").ObjectSchema<{
353
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
353
354
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
354
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
355
355
  }, undefined>;
356
356
  readonly clientID: import("valibot").StringSchema<undefined>;
357
357
  readonly id: import("valibot").NumberSchema<undefined>;
358
- readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
359
- }, undefined>, import("valibot").ObjectSchema<{
358
+ readonly name: import("valibot").LiteralSchema<"setEmailAccountId", undefined>;
359
+ }, undefined> | import("valibot").ObjectSchema<{
360
360
  readonly args: import("valibot").ObjectSchema<{
361
361
  readonly envelope: Omit<import("valibot").ObjectSchema<{
362
362
  readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -410,7 +410,15 @@ export declare const sync: {
410
410
  readonly clientID: import("valibot").StringSchema<undefined>;
411
411
  readonly id: import("valibot").NumberSchema<undefined>;
412
412
  readonly name: import("valibot").LiteralSchema<"setEnvelope", undefined>;
413
- }, undefined>], undefined>, undefined>;
413
+ }, undefined> | import("valibot").ObjectSchema<{
414
+ readonly args: import("valibot").ObjectSchema<{
415
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
416
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
417
+ }, undefined>;
418
+ readonly clientID: import("valibot").StringSchema<undefined>;
419
+ readonly id: import("valibot").NumberSchema<undefined>;
420
+ readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
421
+ }, undefined>)[], undefined>, undefined>;
414
422
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
415
423
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
416
424
  readonly status: import("valibot").LiteralSchema<400, 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwBxB,CAAA"}
1
+ {"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAuBxB,CAAA"}
@@ -1,14 +1,7 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/draft", v.ObjectSchema<{
3
3
  readonly clientGroupID: v.StringSchema<undefined>;
4
- readonly mutations: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
5
- readonly args: v.ObjectSchema<{
6
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
7
- }, undefined>;
8
- readonly clientID: v.StringSchema<undefined>;
9
- readonly id: v.NumberSchema<undefined>;
10
- readonly name: v.LiteralSchema<"delete", undefined>;
11
- }, undefined>, v.ObjectSchema<{
4
+ readonly mutations: v.ArraySchema<v.UnionSchema<(v.ObjectSchema<{
12
5
  readonly args: v.ObjectSchema<{
13
6
  readonly body: v.ObjectSchema<{
14
7
  readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -25,7 +18,14 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
25
18
  readonly clientID: v.StringSchema<undefined>;
26
19
  readonly id: v.NumberSchema<undefined>;
27
20
  readonly name: v.LiteralSchema<"create", undefined>;
28
- }, undefined>, v.ObjectSchema<{
21
+ }, undefined> | v.ObjectSchema<{
22
+ readonly args: v.ObjectSchema<{
23
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
24
+ }, undefined>;
25
+ readonly clientID: v.StringSchema<undefined>;
26
+ readonly id: v.NumberSchema<undefined>;
27
+ readonly name: v.LiteralSchema<"delete", undefined>;
28
+ }, undefined> | v.ObjectSchema<{
29
29
  readonly args: v.ObjectSchema<{
30
30
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
31
31
  readonly patch: v.ArraySchema<v.ObjectSchema<{
@@ -37,15 +37,15 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
37
37
  readonly clientID: v.StringSchema<undefined>;
38
38
  readonly id: v.NumberSchema<undefined>;
39
39
  readonly name: v.LiteralSchema<"setContent", undefined>;
40
- }, undefined>, v.ObjectSchema<{
40
+ }, undefined> | v.ObjectSchema<{
41
41
  readonly args: v.ObjectSchema<{
42
+ readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
42
43
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
43
- readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SENDING", undefined>, v.LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
44
44
  }, undefined>;
45
45
  readonly clientID: v.StringSchema<undefined>;
46
46
  readonly id: v.NumberSchema<undefined>;
47
- readonly name: v.LiteralSchema<"setStatus", undefined>;
48
- }, undefined>, v.ObjectSchema<{
47
+ readonly name: v.LiteralSchema<"setEmailAccountId", undefined>;
48
+ }, undefined> | v.ObjectSchema<{
49
49
  readonly args: v.ObjectSchema<{
50
50
  readonly envelope: Omit<v.ObjectSchema<{
51
51
  readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -99,7 +99,15 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
99
99
  readonly clientID: v.StringSchema<undefined>;
100
100
  readonly id: v.NumberSchema<undefined>;
101
101
  readonly name: v.LiteralSchema<"setEnvelope", undefined>;
102
- }, undefined>], undefined>, undefined>;
102
+ }, undefined> | v.ObjectSchema<{
103
+ readonly args: v.ObjectSchema<{
104
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
105
+ readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SENDING", undefined>, v.LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
106
+ }, undefined>;
107
+ readonly clientID: v.StringSchema<undefined>;
108
+ readonly id: v.NumberSchema<undefined>;
109
+ readonly name: v.LiteralSchema<"setStatus", undefined>;
110
+ }, undefined>)[], undefined>, undefined>;
103
111
  }, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
104
112
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
105
113
  readonly status: v.LiteralSchema<400, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA2CxB,CAAA"}
1
+ {"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA6C5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAcxB,CAAA"}
@@ -2,41 +2,48 @@ import * as v from 'valibot';
2
2
  import { draft } from '../../../../../clients/draft';
3
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
4
4
  import { errorManifest } from '../../../../../sdk/validation/errors';
5
+ const mutationHandlers = {
6
+ create: v.object({
7
+ args: draft.mutators.create.delta,
8
+ clientID: v.string(),
9
+ id: v.number(),
10
+ name: v.literal('create'),
11
+ }),
12
+ delete: v.object({
13
+ args: draft.mutators.delete.delta,
14
+ clientID: v.string(),
15
+ id: v.number(),
16
+ name: v.literal('delete'),
17
+ }),
18
+ setContent: v.object({
19
+ args: draft.mutators.setContent.delta,
20
+ clientID: v.string(),
21
+ id: v.number(),
22
+ name: v.literal('setContent'),
23
+ }),
24
+ setEmailAccountId: v.object({
25
+ args: draft.mutators.setEmailAccountId.delta,
26
+ clientID: v.string(),
27
+ id: v.number(),
28
+ name: v.literal('setEmailAccountId'),
29
+ }),
30
+ setEnvelope: v.object({
31
+ args: draft.mutators.setEnvelope.delta,
32
+ clientID: v.string(),
33
+ id: v.number(),
34
+ name: v.literal('setEnvelope'),
35
+ }),
36
+ setStatus: v.object({
37
+ args: draft.mutators.setStatus.delta,
38
+ clientID: v.string(),
39
+ id: v.number(),
40
+ name: v.literal('setStatus'),
41
+ }),
42
+ };
5
43
  export const syncPushDraft = createEndpoint({
6
44
  body: v.object({
7
45
  clientGroupID: v.string(),
8
- mutations: v.array(v.union([
9
- v.object({
10
- args: draft.mutators.delete.delta,
11
- clientID: v.string(),
12
- id: v.number(),
13
- name: v.literal('delete'),
14
- }),
15
- v.object({
16
- args: draft.mutators.create.delta,
17
- clientID: v.string(),
18
- id: v.number(),
19
- name: v.literal('create'),
20
- }),
21
- v.object({
22
- args: draft.mutators.setContent.delta,
23
- clientID: v.string(),
24
- id: v.number(),
25
- name: v.literal('setContent'),
26
- }),
27
- v.object({
28
- args: draft.mutators.setStatus.delta,
29
- clientID: v.string(),
30
- id: v.number(),
31
- name: v.literal('setStatus'),
32
- }),
33
- v.object({
34
- args: draft.mutators.setEnvelope.delta,
35
- clientID: v.string(),
36
- id: v.number(),
37
- name: v.literal('setEnvelope'),
38
- }),
39
- ])),
46
+ mutations: v.array(v.union(Object.values(mutationHandlers))),
40
47
  }),
41
48
  method: 'POST',
42
49
  path: draft.pushURL,
@@ -90,14 +90,7 @@ export declare const push: {
90
90
  }, undefined>], undefined>>;
91
91
  draft: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/draft", import("valibot").ObjectSchema<{
92
92
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
93
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
94
- readonly args: import("valibot").ObjectSchema<{
95
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
96
- }, undefined>;
97
- readonly clientID: import("valibot").StringSchema<undefined>;
98
- readonly id: import("valibot").NumberSchema<undefined>;
99
- readonly name: import("valibot").LiteralSchema<"delete", undefined>;
100
- }, undefined>, import("valibot").ObjectSchema<{
93
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
101
94
  readonly args: import("valibot").ObjectSchema<{
102
95
  readonly body: import("valibot").ObjectSchema<{
103
96
  readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -114,7 +107,14 @@ export declare const push: {
114
107
  readonly clientID: import("valibot").StringSchema<undefined>;
115
108
  readonly id: import("valibot").NumberSchema<undefined>;
116
109
  readonly name: import("valibot").LiteralSchema<"create", undefined>;
117
- }, undefined>, import("valibot").ObjectSchema<{
110
+ }, undefined> | import("valibot").ObjectSchema<{
111
+ readonly args: import("valibot").ObjectSchema<{
112
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
113
+ }, undefined>;
114
+ readonly clientID: import("valibot").StringSchema<undefined>;
115
+ readonly id: import("valibot").NumberSchema<undefined>;
116
+ readonly name: import("valibot").LiteralSchema<"delete", undefined>;
117
+ }, undefined> | import("valibot").ObjectSchema<{
118
118
  readonly args: import("valibot").ObjectSchema<{
119
119
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
120
120
  readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -126,15 +126,15 @@ export declare const push: {
126
126
  readonly clientID: import("valibot").StringSchema<undefined>;
127
127
  readonly id: import("valibot").NumberSchema<undefined>;
128
128
  readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
129
- }, undefined>, import("valibot").ObjectSchema<{
129
+ }, undefined> | import("valibot").ObjectSchema<{
130
130
  readonly args: import("valibot").ObjectSchema<{
131
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
131
132
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
132
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
133
133
  }, undefined>;
134
134
  readonly clientID: import("valibot").StringSchema<undefined>;
135
135
  readonly id: import("valibot").NumberSchema<undefined>;
136
- readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
137
- }, undefined>, import("valibot").ObjectSchema<{
136
+ readonly name: import("valibot").LiteralSchema<"setEmailAccountId", undefined>;
137
+ }, undefined> | import("valibot").ObjectSchema<{
138
138
  readonly args: import("valibot").ObjectSchema<{
139
139
  readonly envelope: Omit<import("valibot").ObjectSchema<{
140
140
  readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -188,7 +188,15 @@ export declare const push: {
188
188
  readonly clientID: import("valibot").StringSchema<undefined>;
189
189
  readonly id: import("valibot").NumberSchema<undefined>;
190
190
  readonly name: import("valibot").LiteralSchema<"setEnvelope", undefined>;
191
- }, undefined>], undefined>, undefined>;
191
+ }, undefined> | import("valibot").ObjectSchema<{
192
+ readonly args: import("valibot").ObjectSchema<{
193
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
194
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
195
+ }, undefined>;
196
+ readonly clientID: import("valibot").StringSchema<undefined>;
197
+ readonly id: import("valibot").NumberSchema<undefined>;
198
+ readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
199
+ }, undefined>)[], undefined>, undefined>;
192
200
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
193
201
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
194
202
  readonly status: import("valibot").LiteralSchema<400, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}
@@ -329,14 +329,7 @@ export declare const marcoSDK: {
329
329
  }, undefined>], undefined>>;
330
330
  draft: import("..").EndpointConfig<"/v1/pv/sync/push/draft", import("valibot").ObjectSchema<{
331
331
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
332
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
333
- readonly args: import("valibot").ObjectSchema<{
334
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
335
- }, undefined>;
336
- readonly clientID: import("valibot").StringSchema<undefined>;
337
- readonly id: import("valibot").NumberSchema<undefined>;
338
- readonly name: import("valibot").LiteralSchema<"delete", undefined>;
339
- }, undefined>, import("valibot").ObjectSchema<{
332
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
340
333
  readonly args: import("valibot").ObjectSchema<{
341
334
  readonly body: import("valibot").ObjectSchema<{
342
335
  readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -353,7 +346,14 @@ export declare const marcoSDK: {
353
346
  readonly clientID: import("valibot").StringSchema<undefined>;
354
347
  readonly id: import("valibot").NumberSchema<undefined>;
355
348
  readonly name: import("valibot").LiteralSchema<"create", undefined>;
356
- }, undefined>, import("valibot").ObjectSchema<{
349
+ }, undefined> | import("valibot").ObjectSchema<{
350
+ readonly args: import("valibot").ObjectSchema<{
351
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
352
+ }, undefined>;
353
+ readonly clientID: import("valibot").StringSchema<undefined>;
354
+ readonly id: import("valibot").NumberSchema<undefined>;
355
+ readonly name: import("valibot").LiteralSchema<"delete", undefined>;
356
+ }, undefined> | import("valibot").ObjectSchema<{
357
357
  readonly args: import("valibot").ObjectSchema<{
358
358
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
359
359
  readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -365,15 +365,15 @@ export declare const marcoSDK: {
365
365
  readonly clientID: import("valibot").StringSchema<undefined>;
366
366
  readonly id: import("valibot").NumberSchema<undefined>;
367
367
  readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
368
- }, undefined>, import("valibot").ObjectSchema<{
368
+ }, undefined> | import("valibot").ObjectSchema<{
369
369
  readonly args: import("valibot").ObjectSchema<{
370
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
370
371
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
371
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
372
372
  }, undefined>;
373
373
  readonly clientID: import("valibot").StringSchema<undefined>;
374
374
  readonly id: import("valibot").NumberSchema<undefined>;
375
- readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
376
- }, undefined>, import("valibot").ObjectSchema<{
375
+ readonly name: import("valibot").LiteralSchema<"setEmailAccountId", undefined>;
376
+ }, undefined> | import("valibot").ObjectSchema<{
377
377
  readonly args: import("valibot").ObjectSchema<{
378
378
  readonly envelope: Omit<import("valibot").ObjectSchema<{
379
379
  readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -427,7 +427,15 @@ export declare const marcoSDK: {
427
427
  readonly clientID: import("valibot").StringSchema<undefined>;
428
428
  readonly id: import("valibot").NumberSchema<undefined>;
429
429
  readonly name: import("valibot").LiteralSchema<"setEnvelope", undefined>;
430
- }, undefined>], undefined>, undefined>;
430
+ }, undefined> | import("valibot").ObjectSchema<{
431
+ readonly args: import("valibot").ObjectSchema<{
432
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
433
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
434
+ }, undefined>;
435
+ readonly clientID: import("valibot").StringSchema<undefined>;
436
+ readonly id: import("valibot").NumberSchema<undefined>;
437
+ readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
438
+ }, undefined>)[], undefined>, undefined>;
431
439
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
432
440
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
433
441
  readonly status: import("valibot").LiteralSchema<400, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.185",
3
+ "version": "2.0.187",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",