samva 0.37.0 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -2
- package/README.md +1 -1
- package/dist/client/sdk.gen.d.ts +16 -31
- package/dist/client/sdk.gen.js +8 -4
- package/dist/client/types.gen.d.ts +83 -83
- package/dist/effect/agents.d.ts +3 -0
- package/dist/effect/campaigns.d.ts +4 -4
- package/dist/effect/contacts.d.ts +8 -12
- package/dist/effect/generated/agents.d.ts +54 -31
- package/dist/effect/generated/agents.js +17 -14
- package/dist/effect/generated/campaigns.d.ts +29 -29
- package/dist/effect/generated/campaigns.js +6 -3
- package/dist/effect/generated/contacts.d.ts +266 -168
- package/dist/effect/generated/contacts.js +86 -61
- package/dist/effect/generated/email.js +6 -6
- package/dist/effect/generated/mailboxes.js +1 -1
- package/dist/effect/generated/messages.js +1 -1
- package/dist/effect/generated/organizations.js +1 -1
- package/dist/effect/generated/scheduled-messages.d.ts +51 -2
- package/dist/effect/generated/scheduled-messages.js +25 -6
- package/dist/effect/generated/shared.d.ts +25 -11
- package/dist/effect/generated/shared.js +24 -17
- package/dist/effect/generated/subscriptions.js +3 -3
- package/dist/effect/generated/templates.d.ts +10 -2
- package/dist/effect/generated/templates.js +8 -4
- package/dist/package.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/package.json +2 -2
|
@@ -266,6 +266,7 @@ export type Contact = {
|
|
|
266
266
|
readonly preset: "beehiiv" | "substack" | "kit" | "mailchimp";
|
|
267
267
|
readonly importedAt: string;
|
|
268
268
|
readonly summary?: {
|
|
269
|
+
readonly permissionAssumed?: boolean | null;
|
|
269
270
|
readonly signupAt: {
|
|
270
271
|
readonly value: string;
|
|
271
272
|
readonly kind: "time" | "text";
|
|
@@ -276,13 +277,14 @@ export type Contact = {
|
|
|
276
277
|
readonly evidence: ReadonlyArray<{
|
|
277
278
|
readonly file: string;
|
|
278
279
|
readonly row: number;
|
|
279
|
-
readonly declared
|
|
280
|
+
readonly declared?: {
|
|
280
281
|
readonly kind: "status_column";
|
|
281
282
|
} | {
|
|
282
283
|
readonly kind: "export_scope";
|
|
283
284
|
readonly scope: "subscribed" | "unsubscribed" | "suppressed" | "cleaned/bounced";
|
|
284
|
-
};
|
|
285
|
-
readonly suppressionFree
|
|
285
|
+
} | null;
|
|
286
|
+
readonly suppressionFree?: boolean | null;
|
|
287
|
+
readonly permissionBasis?: "assumed" | "exported" | null;
|
|
286
288
|
readonly sourceStatus: string | null;
|
|
287
289
|
readonly signupAt: string | null;
|
|
288
290
|
readonly source: string | null;
|
|
@@ -294,6 +296,7 @@ export type Contact = {
|
|
|
294
296
|
readonly preset: "beehiiv" | "substack" | "kit" | "mailchimp";
|
|
295
297
|
readonly importedAt: string;
|
|
296
298
|
readonly summary?: {
|
|
299
|
+
readonly permissionAssumed?: boolean | null;
|
|
297
300
|
readonly signupAt: {
|
|
298
301
|
readonly value: string;
|
|
299
302
|
readonly kind: "time" | "text";
|
|
@@ -304,19 +307,21 @@ export type Contact = {
|
|
|
304
307
|
readonly evidence: ReadonlyArray<{
|
|
305
308
|
readonly file: string;
|
|
306
309
|
readonly row: number;
|
|
307
|
-
readonly declared
|
|
310
|
+
readonly declared?: {
|
|
308
311
|
readonly kind: "status_column";
|
|
309
312
|
} | {
|
|
310
313
|
readonly kind: "export_scope";
|
|
311
314
|
readonly scope: "subscribed" | "unsubscribed" | "suppressed" | "cleaned/bounced";
|
|
312
|
-
};
|
|
313
|
-
readonly suppressionFree
|
|
315
|
+
} | null;
|
|
316
|
+
readonly suppressionFree?: boolean | null;
|
|
317
|
+
readonly permissionBasis?: "assumed" | "exported" | null;
|
|
314
318
|
readonly sourceStatus: string | null;
|
|
315
319
|
readonly signupAt: string | null;
|
|
316
320
|
readonly source: string | null;
|
|
317
321
|
}>;
|
|
318
322
|
};
|
|
319
323
|
} | null;
|
|
324
|
+
readonly addedAt: string | null;
|
|
320
325
|
readonly createdAt: string;
|
|
321
326
|
readonly updatedAt: string;
|
|
322
327
|
};
|
|
@@ -382,6 +387,7 @@ export declare const Contact: Schema.Struct<{
|
|
|
382
387
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
383
388
|
readonly importedAt: Schema.String;
|
|
384
389
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
390
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
385
391
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
386
392
|
readonly value: Schema.String;
|
|
387
393
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -392,13 +398,14 @@ export declare const Contact: Schema.Struct<{
|
|
|
392
398
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
393
399
|
readonly file: Schema.String;
|
|
394
400
|
readonly row: Schema.Finite;
|
|
395
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
401
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
396
402
|
readonly kind: Schema.Literal<"status_column">;
|
|
397
403
|
}>, Schema.Struct<{
|
|
398
404
|
readonly kind: Schema.Literal<"export_scope">;
|
|
399
405
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
400
|
-
}
|
|
401
|
-
readonly suppressionFree: Schema.Boolean
|
|
406
|
+
}>, Schema.Null]>>;
|
|
407
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
408
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
402
409
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
403
410
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
404
411
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -410,6 +417,7 @@ export declare const Contact: Schema.Struct<{
|
|
|
410
417
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
411
418
|
readonly importedAt: Schema.String;
|
|
412
419
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
420
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
413
421
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
414
422
|
readonly value: Schema.String;
|
|
415
423
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -420,19 +428,21 @@ export declare const Contact: Schema.Struct<{
|
|
|
420
428
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
421
429
|
readonly file: Schema.String;
|
|
422
430
|
readonly row: Schema.Finite;
|
|
423
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
431
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
424
432
|
readonly kind: Schema.Literal<"status_column">;
|
|
425
433
|
}>, Schema.Struct<{
|
|
426
434
|
readonly kind: Schema.Literal<"export_scope">;
|
|
427
435
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
428
|
-
}
|
|
429
|
-
readonly suppressionFree: Schema.Boolean
|
|
436
|
+
}>, Schema.Null]>>;
|
|
437
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
438
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
430
439
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
431
440
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
432
441
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
433
442
|
}>>;
|
|
434
443
|
}>;
|
|
435
444
|
}>, Schema.Null]>;
|
|
445
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
436
446
|
readonly createdAt: Schema.String;
|
|
437
447
|
readonly updatedAt: Schema.String;
|
|
438
448
|
}>;
|
|
@@ -615,6 +625,7 @@ export declare const ContactsCreate201: Schema.Struct<{
|
|
|
615
625
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
616
626
|
readonly importedAt: Schema.String;
|
|
617
627
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
628
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
618
629
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
619
630
|
readonly value: Schema.String;
|
|
620
631
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -625,13 +636,14 @@ export declare const ContactsCreate201: Schema.Struct<{
|
|
|
625
636
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
626
637
|
readonly file: Schema.String;
|
|
627
638
|
readonly row: Schema.Finite;
|
|
628
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
639
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
629
640
|
readonly kind: Schema.Literal<"status_column">;
|
|
630
641
|
}>, Schema.Struct<{
|
|
631
642
|
readonly kind: Schema.Literal<"export_scope">;
|
|
632
643
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
633
|
-
}
|
|
634
|
-
readonly suppressionFree: Schema.Boolean
|
|
644
|
+
}>, Schema.Null]>>;
|
|
645
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
646
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
635
647
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
636
648
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
637
649
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -643,6 +655,7 @@ export declare const ContactsCreate201: Schema.Struct<{
|
|
|
643
655
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
644
656
|
readonly importedAt: Schema.String;
|
|
645
657
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
658
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
646
659
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
647
660
|
readonly value: Schema.String;
|
|
648
661
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -653,19 +666,21 @@ export declare const ContactsCreate201: Schema.Struct<{
|
|
|
653
666
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
654
667
|
readonly file: Schema.String;
|
|
655
668
|
readonly row: Schema.Finite;
|
|
656
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
669
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
657
670
|
readonly kind: Schema.Literal<"status_column">;
|
|
658
671
|
}>, Schema.Struct<{
|
|
659
672
|
readonly kind: Schema.Literal<"export_scope">;
|
|
660
673
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
661
|
-
}
|
|
662
|
-
readonly suppressionFree: Schema.Boolean
|
|
674
|
+
}>, Schema.Null]>>;
|
|
675
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
676
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
663
677
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
664
678
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
665
679
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
666
680
|
}>>;
|
|
667
681
|
}>;
|
|
668
682
|
}>, Schema.Null]>;
|
|
683
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
669
684
|
readonly createdAt: Schema.String;
|
|
670
685
|
readonly updatedAt: Schema.String;
|
|
671
686
|
}>;
|
|
@@ -758,6 +773,7 @@ export declare const ContactsGet200: Schema.Struct<{
|
|
|
758
773
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
759
774
|
readonly importedAt: Schema.String;
|
|
760
775
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
776
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
761
777
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
762
778
|
readonly value: Schema.String;
|
|
763
779
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -768,13 +784,14 @@ export declare const ContactsGet200: Schema.Struct<{
|
|
|
768
784
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
769
785
|
readonly file: Schema.String;
|
|
770
786
|
readonly row: Schema.Finite;
|
|
771
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
787
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
772
788
|
readonly kind: Schema.Literal<"status_column">;
|
|
773
789
|
}>, Schema.Struct<{
|
|
774
790
|
readonly kind: Schema.Literal<"export_scope">;
|
|
775
791
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
776
|
-
}
|
|
777
|
-
readonly suppressionFree: Schema.Boolean
|
|
792
|
+
}>, Schema.Null]>>;
|
|
793
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
794
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
778
795
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
779
796
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
780
797
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -786,6 +803,7 @@ export declare const ContactsGet200: Schema.Struct<{
|
|
|
786
803
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
787
804
|
readonly importedAt: Schema.String;
|
|
788
805
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
806
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
789
807
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
790
808
|
readonly value: Schema.String;
|
|
791
809
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -796,19 +814,21 @@ export declare const ContactsGet200: Schema.Struct<{
|
|
|
796
814
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
797
815
|
readonly file: Schema.String;
|
|
798
816
|
readonly row: Schema.Finite;
|
|
799
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
817
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
800
818
|
readonly kind: Schema.Literal<"status_column">;
|
|
801
819
|
}>, Schema.Struct<{
|
|
802
820
|
readonly kind: Schema.Literal<"export_scope">;
|
|
803
821
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
804
|
-
}
|
|
805
|
-
readonly suppressionFree: Schema.Boolean
|
|
822
|
+
}>, Schema.Null]>>;
|
|
823
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
824
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
806
825
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
807
826
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
808
827
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
809
828
|
}>>;
|
|
810
829
|
}>;
|
|
811
830
|
}>, Schema.Null]>;
|
|
831
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
812
832
|
readonly createdAt: Schema.String;
|
|
813
833
|
readonly updatedAt: Schema.String;
|
|
814
834
|
}>;
|
|
@@ -970,6 +990,7 @@ export declare const ContactsUpdate200: Schema.Struct<{
|
|
|
970
990
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
971
991
|
readonly importedAt: Schema.String;
|
|
972
992
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
993
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
973
994
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
974
995
|
readonly value: Schema.String;
|
|
975
996
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -980,13 +1001,14 @@ export declare const ContactsUpdate200: Schema.Struct<{
|
|
|
980
1001
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
981
1002
|
readonly file: Schema.String;
|
|
982
1003
|
readonly row: Schema.Finite;
|
|
983
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
1004
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
984
1005
|
readonly kind: Schema.Literal<"status_column">;
|
|
985
1006
|
}>, Schema.Struct<{
|
|
986
1007
|
readonly kind: Schema.Literal<"export_scope">;
|
|
987
1008
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
988
|
-
}
|
|
989
|
-
readonly suppressionFree: Schema.Boolean
|
|
1009
|
+
}>, Schema.Null]>>;
|
|
1010
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1011
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
990
1012
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
991
1013
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
992
1014
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -998,6 +1020,7 @@ export declare const ContactsUpdate200: Schema.Struct<{
|
|
|
998
1020
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
999
1021
|
readonly importedAt: Schema.String;
|
|
1000
1022
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1023
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1001
1024
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
1002
1025
|
readonly value: Schema.String;
|
|
1003
1026
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -1008,19 +1031,21 @@ export declare const ContactsUpdate200: Schema.Struct<{
|
|
|
1008
1031
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
1009
1032
|
readonly file: Schema.String;
|
|
1010
1033
|
readonly row: Schema.Finite;
|
|
1011
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
1034
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1012
1035
|
readonly kind: Schema.Literal<"status_column">;
|
|
1013
1036
|
}>, Schema.Struct<{
|
|
1014
1037
|
readonly kind: Schema.Literal<"export_scope">;
|
|
1015
1038
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
1016
|
-
}
|
|
1017
|
-
readonly suppressionFree: Schema.Boolean
|
|
1039
|
+
}>, Schema.Null]>>;
|
|
1040
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1041
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
1018
1042
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1019
1043
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1020
1044
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1021
1045
|
}>>;
|
|
1022
1046
|
}>;
|
|
1023
1047
|
}>, Schema.Null]>;
|
|
1048
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1024
1049
|
readonly createdAt: Schema.String;
|
|
1025
1050
|
readonly updatedAt: Schema.String;
|
|
1026
1051
|
}>;
|
|
@@ -1243,6 +1268,7 @@ export declare const ContactsAddIdentity200: Schema.Struct<{
|
|
|
1243
1268
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
1244
1269
|
readonly importedAt: Schema.String;
|
|
1245
1270
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1271
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1246
1272
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
1247
1273
|
readonly value: Schema.String;
|
|
1248
1274
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -1253,13 +1279,14 @@ export declare const ContactsAddIdentity200: Schema.Struct<{
|
|
|
1253
1279
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
1254
1280
|
readonly file: Schema.String;
|
|
1255
1281
|
readonly row: Schema.Finite;
|
|
1256
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
1282
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1257
1283
|
readonly kind: Schema.Literal<"status_column">;
|
|
1258
1284
|
}>, Schema.Struct<{
|
|
1259
1285
|
readonly kind: Schema.Literal<"export_scope">;
|
|
1260
1286
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
1261
|
-
}
|
|
1262
|
-
readonly suppressionFree: Schema.Boolean
|
|
1287
|
+
}>, Schema.Null]>>;
|
|
1288
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1289
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
1263
1290
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1264
1291
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1265
1292
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1271,6 +1298,7 @@ export declare const ContactsAddIdentity200: Schema.Struct<{
|
|
|
1271
1298
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
1272
1299
|
readonly importedAt: Schema.String;
|
|
1273
1300
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1301
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1274
1302
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
1275
1303
|
readonly value: Schema.String;
|
|
1276
1304
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -1281,19 +1309,21 @@ export declare const ContactsAddIdentity200: Schema.Struct<{
|
|
|
1281
1309
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
1282
1310
|
readonly file: Schema.String;
|
|
1283
1311
|
readonly row: Schema.Finite;
|
|
1284
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
1312
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1285
1313
|
readonly kind: Schema.Literal<"status_column">;
|
|
1286
1314
|
}>, Schema.Struct<{
|
|
1287
1315
|
readonly kind: Schema.Literal<"export_scope">;
|
|
1288
1316
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
1289
|
-
}
|
|
1290
|
-
readonly suppressionFree: Schema.Boolean
|
|
1317
|
+
}>, Schema.Null]>>;
|
|
1318
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1319
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
1291
1320
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1292
1321
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1293
1322
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1294
1323
|
}>>;
|
|
1295
1324
|
}>;
|
|
1296
1325
|
}>, Schema.Null]>;
|
|
1326
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1297
1327
|
readonly createdAt: Schema.String;
|
|
1298
1328
|
readonly updatedAt: Schema.String;
|
|
1299
1329
|
}>;
|
|
@@ -1384,6 +1414,7 @@ export declare const ContactsRemoveIdentity200: Schema.Struct<{
|
|
|
1384
1414
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
1385
1415
|
readonly importedAt: Schema.String;
|
|
1386
1416
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1417
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1387
1418
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
1388
1419
|
readonly value: Schema.String;
|
|
1389
1420
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -1394,13 +1425,14 @@ export declare const ContactsRemoveIdentity200: Schema.Struct<{
|
|
|
1394
1425
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
1395
1426
|
readonly file: Schema.String;
|
|
1396
1427
|
readonly row: Schema.Finite;
|
|
1397
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
1428
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1398
1429
|
readonly kind: Schema.Literal<"status_column">;
|
|
1399
1430
|
}>, Schema.Struct<{
|
|
1400
1431
|
readonly kind: Schema.Literal<"export_scope">;
|
|
1401
1432
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
1402
|
-
}
|
|
1403
|
-
readonly suppressionFree: Schema.Boolean
|
|
1433
|
+
}>, Schema.Null]>>;
|
|
1434
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1435
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
1404
1436
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1405
1437
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1406
1438
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1412,6 +1444,7 @@ export declare const ContactsRemoveIdentity200: Schema.Struct<{
|
|
|
1412
1444
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
1413
1445
|
readonly importedAt: Schema.String;
|
|
1414
1446
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1447
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1415
1448
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
1416
1449
|
readonly value: Schema.String;
|
|
1417
1450
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -1422,19 +1455,21 @@ export declare const ContactsRemoveIdentity200: Schema.Struct<{
|
|
|
1422
1455
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
1423
1456
|
readonly file: Schema.String;
|
|
1424
1457
|
readonly row: Schema.Finite;
|
|
1425
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
1458
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1426
1459
|
readonly kind: Schema.Literal<"status_column">;
|
|
1427
1460
|
}>, Schema.Struct<{
|
|
1428
1461
|
readonly kind: Schema.Literal<"export_scope">;
|
|
1429
1462
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
1430
|
-
}
|
|
1431
|
-
readonly suppressionFree: Schema.Boolean
|
|
1463
|
+
}>, Schema.Null]>>;
|
|
1464
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1465
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
1432
1466
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1433
1467
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1434
1468
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1435
1469
|
}>>;
|
|
1436
1470
|
}>;
|
|
1437
1471
|
}>, Schema.Null]>;
|
|
1472
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1438
1473
|
readonly createdAt: Schema.String;
|
|
1439
1474
|
readonly updatedAt: Schema.String;
|
|
1440
1475
|
}>;
|
|
@@ -1537,6 +1572,7 @@ export declare const ContactsSetConsent200: Schema.Struct<{
|
|
|
1537
1572
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
1538
1573
|
readonly importedAt: Schema.String;
|
|
1539
1574
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1575
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1540
1576
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
1541
1577
|
readonly value: Schema.String;
|
|
1542
1578
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -1547,13 +1583,14 @@ export declare const ContactsSetConsent200: Schema.Struct<{
|
|
|
1547
1583
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
1548
1584
|
readonly file: Schema.String;
|
|
1549
1585
|
readonly row: Schema.Finite;
|
|
1550
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
1586
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1551
1587
|
readonly kind: Schema.Literal<"status_column">;
|
|
1552
1588
|
}>, Schema.Struct<{
|
|
1553
1589
|
readonly kind: Schema.Literal<"export_scope">;
|
|
1554
1590
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
1555
|
-
}
|
|
1556
|
-
readonly suppressionFree: Schema.Boolean
|
|
1591
|
+
}>, Schema.Null]>>;
|
|
1592
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1593
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
1557
1594
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1558
1595
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1559
1596
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1565,6 +1602,7 @@ export declare const ContactsSetConsent200: Schema.Struct<{
|
|
|
1565
1602
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
1566
1603
|
readonly importedAt: Schema.String;
|
|
1567
1604
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1605
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1568
1606
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
1569
1607
|
readonly value: Schema.String;
|
|
1570
1608
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -1575,19 +1613,21 @@ export declare const ContactsSetConsent200: Schema.Struct<{
|
|
|
1575
1613
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
1576
1614
|
readonly file: Schema.String;
|
|
1577
1615
|
readonly row: Schema.Finite;
|
|
1578
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
1616
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1579
1617
|
readonly kind: Schema.Literal<"status_column">;
|
|
1580
1618
|
}>, Schema.Struct<{
|
|
1581
1619
|
readonly kind: Schema.Literal<"export_scope">;
|
|
1582
1620
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
1583
|
-
}
|
|
1584
|
-
readonly suppressionFree: Schema.Boolean
|
|
1621
|
+
}>, Schema.Null]>>;
|
|
1622
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1623
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
1585
1624
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1586
1625
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1587
1626
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1588
1627
|
}>>;
|
|
1589
1628
|
}>;
|
|
1590
1629
|
}>, Schema.Null]>;
|
|
1630
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1591
1631
|
readonly createdAt: Schema.String;
|
|
1592
1632
|
readonly updatedAt: Schema.String;
|
|
1593
1633
|
}>;
|
|
@@ -1680,6 +1720,7 @@ export declare const ContactsAddTags200: Schema.Struct<{
|
|
|
1680
1720
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
1681
1721
|
readonly importedAt: Schema.String;
|
|
1682
1722
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1723
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1683
1724
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
1684
1725
|
readonly value: Schema.String;
|
|
1685
1726
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -1690,13 +1731,14 @@ export declare const ContactsAddTags200: Schema.Struct<{
|
|
|
1690
1731
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
1691
1732
|
readonly file: Schema.String;
|
|
1692
1733
|
readonly row: Schema.Finite;
|
|
1693
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
1734
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1694
1735
|
readonly kind: Schema.Literal<"status_column">;
|
|
1695
1736
|
}>, Schema.Struct<{
|
|
1696
1737
|
readonly kind: Schema.Literal<"export_scope">;
|
|
1697
1738
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
1698
|
-
}
|
|
1699
|
-
readonly suppressionFree: Schema.Boolean
|
|
1739
|
+
}>, Schema.Null]>>;
|
|
1740
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1741
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
1700
1742
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1701
1743
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1702
1744
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1708,6 +1750,7 @@ export declare const ContactsAddTags200: Schema.Struct<{
|
|
|
1708
1750
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
1709
1751
|
readonly importedAt: Schema.String;
|
|
1710
1752
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1753
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1711
1754
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
1712
1755
|
readonly value: Schema.String;
|
|
1713
1756
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -1718,19 +1761,21 @@ export declare const ContactsAddTags200: Schema.Struct<{
|
|
|
1718
1761
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
1719
1762
|
readonly file: Schema.String;
|
|
1720
1763
|
readonly row: Schema.Finite;
|
|
1721
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
1764
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1722
1765
|
readonly kind: Schema.Literal<"status_column">;
|
|
1723
1766
|
}>, Schema.Struct<{
|
|
1724
1767
|
readonly kind: Schema.Literal<"export_scope">;
|
|
1725
1768
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
1726
|
-
}
|
|
1727
|
-
readonly suppressionFree: Schema.Boolean
|
|
1769
|
+
}>, Schema.Null]>>;
|
|
1770
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1771
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
1728
1772
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1729
1773
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1730
1774
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1731
1775
|
}>>;
|
|
1732
1776
|
}>;
|
|
1733
1777
|
}>, Schema.Null]>;
|
|
1778
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1734
1779
|
readonly createdAt: Schema.String;
|
|
1735
1780
|
readonly updatedAt: Schema.String;
|
|
1736
1781
|
}>;
|
|
@@ -1823,6 +1868,7 @@ export declare const ContactsRemoveTags200: Schema.Struct<{
|
|
|
1823
1868
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
1824
1869
|
readonly importedAt: Schema.String;
|
|
1825
1870
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1871
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1826
1872
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
1827
1873
|
readonly value: Schema.String;
|
|
1828
1874
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -1833,13 +1879,14 @@ export declare const ContactsRemoveTags200: Schema.Struct<{
|
|
|
1833
1879
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
1834
1880
|
readonly file: Schema.String;
|
|
1835
1881
|
readonly row: Schema.Finite;
|
|
1836
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
1882
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1837
1883
|
readonly kind: Schema.Literal<"status_column">;
|
|
1838
1884
|
}>, Schema.Struct<{
|
|
1839
1885
|
readonly kind: Schema.Literal<"export_scope">;
|
|
1840
1886
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
1841
|
-
}
|
|
1842
|
-
readonly suppressionFree: Schema.Boolean
|
|
1887
|
+
}>, Schema.Null]>>;
|
|
1888
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1889
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
1843
1890
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1844
1891
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1845
1892
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1851,6 +1898,7 @@ export declare const ContactsRemoveTags200: Schema.Struct<{
|
|
|
1851
1898
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
1852
1899
|
readonly importedAt: Schema.String;
|
|
1853
1900
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1901
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1854
1902
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
1855
1903
|
readonly value: Schema.String;
|
|
1856
1904
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -1861,19 +1909,21 @@ export declare const ContactsRemoveTags200: Schema.Struct<{
|
|
|
1861
1909
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
1862
1910
|
readonly file: Schema.String;
|
|
1863
1911
|
readonly row: Schema.Finite;
|
|
1864
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
1912
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1865
1913
|
readonly kind: Schema.Literal<"status_column">;
|
|
1866
1914
|
}>, Schema.Struct<{
|
|
1867
1915
|
readonly kind: Schema.Literal<"export_scope">;
|
|
1868
1916
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
1869
|
-
}
|
|
1870
|
-
readonly suppressionFree: Schema.Boolean
|
|
1917
|
+
}>, Schema.Null]>>;
|
|
1918
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1919
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
1871
1920
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1872
1921
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1873
1922
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1874
1923
|
}>>;
|
|
1875
1924
|
}>;
|
|
1876
1925
|
}>, Schema.Null]>;
|
|
1926
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1877
1927
|
readonly createdAt: Schema.String;
|
|
1878
1928
|
readonly updatedAt: Schema.String;
|
|
1879
1929
|
}>;
|
|
@@ -2090,6 +2140,7 @@ export declare const ContactsFind200: Schema.Union<readonly [Schema.Struct<{
|
|
|
2090
2140
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
2091
2141
|
readonly importedAt: Schema.String;
|
|
2092
2142
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2143
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
2093
2144
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
2094
2145
|
readonly value: Schema.String;
|
|
2095
2146
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -2100,13 +2151,14 @@ export declare const ContactsFind200: Schema.Union<readonly [Schema.Struct<{
|
|
|
2100
2151
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
2101
2152
|
readonly file: Schema.String;
|
|
2102
2153
|
readonly row: Schema.Finite;
|
|
2103
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
2154
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2104
2155
|
readonly kind: Schema.Literal<"status_column">;
|
|
2105
2156
|
}>, Schema.Struct<{
|
|
2106
2157
|
readonly kind: Schema.Literal<"export_scope">;
|
|
2107
2158
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
2108
|
-
}
|
|
2109
|
-
readonly suppressionFree: Schema.Boolean
|
|
2159
|
+
}>, Schema.Null]>>;
|
|
2160
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
2161
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
2110
2162
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2111
2163
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2112
2164
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2118,6 +2170,7 @@ export declare const ContactsFind200: Schema.Union<readonly [Schema.Struct<{
|
|
|
2118
2170
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
2119
2171
|
readonly importedAt: Schema.String;
|
|
2120
2172
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2173
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
2121
2174
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
2122
2175
|
readonly value: Schema.String;
|
|
2123
2176
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -2128,19 +2181,21 @@ export declare const ContactsFind200: Schema.Union<readonly [Schema.Struct<{
|
|
|
2128
2181
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
2129
2182
|
readonly file: Schema.String;
|
|
2130
2183
|
readonly row: Schema.Finite;
|
|
2131
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
2184
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2132
2185
|
readonly kind: Schema.Literal<"status_column">;
|
|
2133
2186
|
}>, Schema.Struct<{
|
|
2134
2187
|
readonly kind: Schema.Literal<"export_scope">;
|
|
2135
2188
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
2136
|
-
}
|
|
2137
|
-
readonly suppressionFree: Schema.Boolean
|
|
2189
|
+
}>, Schema.Null]>>;
|
|
2190
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
2191
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
2138
2192
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2139
2193
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2140
2194
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2141
2195
|
}>>;
|
|
2142
2196
|
}>;
|
|
2143
2197
|
}>, Schema.Null]>;
|
|
2198
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2144
2199
|
readonly createdAt: Schema.String;
|
|
2145
2200
|
readonly updatedAt: Schema.String;
|
|
2146
2201
|
}>, Schema.Null]>;
|
|
@@ -2277,6 +2332,7 @@ export declare const ContactsFindOrCreate200: Schema.Struct<{
|
|
|
2277
2332
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
2278
2333
|
readonly importedAt: Schema.String;
|
|
2279
2334
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2335
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
2280
2336
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
2281
2337
|
readonly value: Schema.String;
|
|
2282
2338
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -2287,13 +2343,14 @@ export declare const ContactsFindOrCreate200: Schema.Struct<{
|
|
|
2287
2343
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
2288
2344
|
readonly file: Schema.String;
|
|
2289
2345
|
readonly row: Schema.Finite;
|
|
2290
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
2346
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2291
2347
|
readonly kind: Schema.Literal<"status_column">;
|
|
2292
2348
|
}>, Schema.Struct<{
|
|
2293
2349
|
readonly kind: Schema.Literal<"export_scope">;
|
|
2294
2350
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
2295
|
-
}
|
|
2296
|
-
readonly suppressionFree: Schema.Boolean
|
|
2351
|
+
}>, Schema.Null]>>;
|
|
2352
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
2353
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
2297
2354
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2298
2355
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2299
2356
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2305,6 +2362,7 @@ export declare const ContactsFindOrCreate200: Schema.Struct<{
|
|
|
2305
2362
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
2306
2363
|
readonly importedAt: Schema.String;
|
|
2307
2364
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2365
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
2308
2366
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
2309
2367
|
readonly value: Schema.String;
|
|
2310
2368
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -2315,19 +2373,21 @@ export declare const ContactsFindOrCreate200: Schema.Struct<{
|
|
|
2315
2373
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
2316
2374
|
readonly file: Schema.String;
|
|
2317
2375
|
readonly row: Schema.Finite;
|
|
2318
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
2376
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2319
2377
|
readonly kind: Schema.Literal<"status_column">;
|
|
2320
2378
|
}>, Schema.Struct<{
|
|
2321
2379
|
readonly kind: Schema.Literal<"export_scope">;
|
|
2322
2380
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
2323
|
-
}
|
|
2324
|
-
readonly suppressionFree: Schema.Boolean
|
|
2381
|
+
}>, Schema.Null]>>;
|
|
2382
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
2383
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
2325
2384
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2326
2385
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2327
2386
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2328
2387
|
}>>;
|
|
2329
2388
|
}>;
|
|
2330
2389
|
}>, Schema.Null]>;
|
|
2390
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2331
2391
|
readonly createdAt: Schema.String;
|
|
2332
2392
|
readonly updatedAt: Schema.String;
|
|
2333
2393
|
}>;
|
|
@@ -2369,24 +2429,22 @@ export type ContactsStartImportRequestJson = {
|
|
|
2369
2429
|
{
|
|
2370
2430
|
readonly name: string;
|
|
2371
2431
|
readonly csv: string;
|
|
2372
|
-
readonly evidence
|
|
2432
|
+
readonly evidence?: {
|
|
2373
2433
|
readonly kind: "status_column";
|
|
2374
2434
|
} | {
|
|
2375
2435
|
readonly kind: "export_scope";
|
|
2376
2436
|
readonly scope: "subscribed" | "unsubscribed" | "suppressed" | "cleaned/bounced";
|
|
2377
|
-
};
|
|
2378
|
-
readonly suppressionFree?: boolean | null;
|
|
2437
|
+
} | null;
|
|
2379
2438
|
},
|
|
2380
2439
|
...Array<{
|
|
2381
2440
|
readonly name: string;
|
|
2382
2441
|
readonly csv: string;
|
|
2383
|
-
readonly evidence
|
|
2442
|
+
readonly evidence?: {
|
|
2384
2443
|
readonly kind: "status_column";
|
|
2385
2444
|
} | {
|
|
2386
2445
|
readonly kind: "export_scope";
|
|
2387
2446
|
readonly scope: "subscribed" | "unsubscribed" | "suppressed" | "cleaned/bounced";
|
|
2388
|
-
};
|
|
2389
|
-
readonly suppressionFree?: boolean | null;
|
|
2447
|
+
} | null;
|
|
2390
2448
|
}>
|
|
2391
2449
|
];
|
|
2392
2450
|
};
|
|
@@ -2405,23 +2463,21 @@ export declare const ContactsStartImportRequestJson: Schema.Union<readonly [Sche
|
|
|
2405
2463
|
readonly files: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
|
|
2406
2464
|
readonly name: Schema.String;
|
|
2407
2465
|
readonly csv: Schema.String;
|
|
2408
|
-
readonly evidence: Schema.Union<readonly [Schema.Struct<{
|
|
2466
|
+
readonly evidence: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2409
2467
|
readonly kind: Schema.Literal<"status_column">;
|
|
2410
2468
|
}>, Schema.Struct<{
|
|
2411
2469
|
readonly kind: Schema.Literal<"export_scope">;
|
|
2412
2470
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
2413
|
-
}
|
|
2414
|
-
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
2471
|
+
}>, Schema.Null]>>;
|
|
2415
2472
|
}>]>, readonly [Schema.Struct<{
|
|
2416
2473
|
readonly name: Schema.String;
|
|
2417
2474
|
readonly csv: Schema.String;
|
|
2418
|
-
readonly evidence: Schema.Union<readonly [Schema.Struct<{
|
|
2475
|
+
readonly evidence: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2419
2476
|
readonly kind: Schema.Literal<"status_column">;
|
|
2420
2477
|
}>, Schema.Struct<{
|
|
2421
2478
|
readonly kind: Schema.Literal<"export_scope">;
|
|
2422
2479
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
2423
|
-
}
|
|
2424
|
-
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
2480
|
+
}>, Schema.Null]>>;
|
|
2425
2481
|
}>]>;
|
|
2426
2482
|
}>;
|
|
2427
2483
|
readonly planHash: Schema.String;
|
|
@@ -2602,24 +2658,22 @@ export type ContactsPlanImportRequestJson = {
|
|
|
2602
2658
|
{
|
|
2603
2659
|
readonly name: string;
|
|
2604
2660
|
readonly csv: string;
|
|
2605
|
-
readonly evidence
|
|
2661
|
+
readonly evidence?: {
|
|
2606
2662
|
readonly kind: "status_column";
|
|
2607
2663
|
} | {
|
|
2608
2664
|
readonly kind: "export_scope";
|
|
2609
2665
|
readonly scope: "subscribed" | "unsubscribed" | "suppressed" | "cleaned/bounced";
|
|
2610
|
-
};
|
|
2611
|
-
readonly suppressionFree?: boolean | null;
|
|
2666
|
+
} | null;
|
|
2612
2667
|
},
|
|
2613
2668
|
...Array<{
|
|
2614
2669
|
readonly name: string;
|
|
2615
2670
|
readonly csv: string;
|
|
2616
|
-
readonly evidence
|
|
2671
|
+
readonly evidence?: {
|
|
2617
2672
|
readonly kind: "status_column";
|
|
2618
2673
|
} | {
|
|
2619
2674
|
readonly kind: "export_scope";
|
|
2620
2675
|
readonly scope: "subscribed" | "unsubscribed" | "suppressed" | "cleaned/bounced";
|
|
2621
|
-
};
|
|
2622
|
-
readonly suppressionFree?: boolean | null;
|
|
2676
|
+
} | null;
|
|
2623
2677
|
}>
|
|
2624
2678
|
];
|
|
2625
2679
|
};
|
|
@@ -2630,23 +2684,21 @@ export declare const ContactsPlanImportRequestJson: Schema.Struct<{
|
|
|
2630
2684
|
readonly files: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
|
|
2631
2685
|
readonly name: Schema.String;
|
|
2632
2686
|
readonly csv: Schema.String;
|
|
2633
|
-
readonly evidence: Schema.Union<readonly [Schema.Struct<{
|
|
2687
|
+
readonly evidence: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2634
2688
|
readonly kind: Schema.Literal<"status_column">;
|
|
2635
2689
|
}>, Schema.Struct<{
|
|
2636
2690
|
readonly kind: Schema.Literal<"export_scope">;
|
|
2637
2691
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
2638
|
-
}
|
|
2639
|
-
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
2692
|
+
}>, Schema.Null]>>;
|
|
2640
2693
|
}>]>, readonly [Schema.Struct<{
|
|
2641
2694
|
readonly name: Schema.String;
|
|
2642
2695
|
readonly csv: Schema.String;
|
|
2643
|
-
readonly evidence: Schema.Union<readonly [Schema.Struct<{
|
|
2696
|
+
readonly evidence: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2644
2697
|
readonly kind: Schema.Literal<"status_column">;
|
|
2645
2698
|
}>, Schema.Struct<{
|
|
2646
2699
|
readonly kind: Schema.Literal<"export_scope">;
|
|
2647
2700
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
2648
|
-
}
|
|
2649
|
-
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
2701
|
+
}>, Schema.Null]>>;
|
|
2650
2702
|
}>]>;
|
|
2651
2703
|
}>;
|
|
2652
2704
|
export type ContactsPlanImport200 = {
|
|
@@ -2783,6 +2835,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
2783
2835
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
2784
2836
|
readonly importedAt: Schema.String;
|
|
2785
2837
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2838
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
2786
2839
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
2787
2840
|
readonly value: Schema.String;
|
|
2788
2841
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -2793,13 +2846,14 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
2793
2846
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
2794
2847
|
readonly file: Schema.String;
|
|
2795
2848
|
readonly row: Schema.Finite;
|
|
2796
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
2849
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2797
2850
|
readonly kind: Schema.Literal<"status_column">;
|
|
2798
2851
|
}>, Schema.Struct<{
|
|
2799
2852
|
readonly kind: Schema.Literal<"export_scope">;
|
|
2800
2853
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
2801
|
-
}
|
|
2802
|
-
readonly suppressionFree: Schema.Boolean
|
|
2854
|
+
}>, Schema.Null]>>;
|
|
2855
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
2856
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
2803
2857
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2804
2858
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2805
2859
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2811,6 +2865,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
2811
2865
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
2812
2866
|
readonly importedAt: Schema.String;
|
|
2813
2867
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2868
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
2814
2869
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
2815
2870
|
readonly value: Schema.String;
|
|
2816
2871
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -2821,19 +2876,21 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
2821
2876
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
2822
2877
|
readonly file: Schema.String;
|
|
2823
2878
|
readonly row: Schema.Finite;
|
|
2824
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
2879
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2825
2880
|
readonly kind: Schema.Literal<"status_column">;
|
|
2826
2881
|
}>, Schema.Struct<{
|
|
2827
2882
|
readonly kind: Schema.Literal<"export_scope">;
|
|
2828
2883
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
2829
|
-
}
|
|
2830
|
-
readonly suppressionFree: Schema.Boolean
|
|
2884
|
+
}>, Schema.Null]>>;
|
|
2885
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
2886
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
2831
2887
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2832
2888
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2833
2889
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2834
2890
|
}>>;
|
|
2835
2891
|
}>;
|
|
2836
2892
|
}>, Schema.Null]>;
|
|
2893
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2837
2894
|
readonly createdAt: Schema.String;
|
|
2838
2895
|
readonly updatedAt: Schema.String;
|
|
2839
2896
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
@@ -3022,6 +3079,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
3022
3079
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
3023
3080
|
readonly importedAt: Schema.String;
|
|
3024
3081
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3082
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
3025
3083
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
3026
3084
|
readonly value: Schema.String;
|
|
3027
3085
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -3032,13 +3090,14 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
3032
3090
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
3033
3091
|
readonly file: Schema.String;
|
|
3034
3092
|
readonly row: Schema.Finite;
|
|
3035
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
3093
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3036
3094
|
readonly kind: Schema.Literal<"status_column">;
|
|
3037
3095
|
}>, Schema.Struct<{
|
|
3038
3096
|
readonly kind: Schema.Literal<"export_scope">;
|
|
3039
3097
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
3040
|
-
}
|
|
3041
|
-
readonly suppressionFree: Schema.Boolean
|
|
3098
|
+
}>, Schema.Null]>>;
|
|
3099
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
3100
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
3042
3101
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3043
3102
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3044
3103
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -3050,6 +3109,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
3050
3109
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
3051
3110
|
readonly importedAt: Schema.String;
|
|
3052
3111
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3112
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
3053
3113
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
3054
3114
|
readonly value: Schema.String;
|
|
3055
3115
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -3060,19 +3120,21 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
3060
3120
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
3061
3121
|
readonly file: Schema.String;
|
|
3062
3122
|
readonly row: Schema.Finite;
|
|
3063
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
3123
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3064
3124
|
readonly kind: Schema.Literal<"status_column">;
|
|
3065
3125
|
}>, Schema.Struct<{
|
|
3066
3126
|
readonly kind: Schema.Literal<"export_scope">;
|
|
3067
3127
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
3068
|
-
}
|
|
3069
|
-
readonly suppressionFree: Schema.Boolean
|
|
3128
|
+
}>, Schema.Null]>>;
|
|
3129
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
3130
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
3070
3131
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3071
3132
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3072
3133
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3073
3134
|
}>>;
|
|
3074
3135
|
}>;
|
|
3075
3136
|
}>, Schema.Null]>;
|
|
3137
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3076
3138
|
readonly createdAt: Schema.String;
|
|
3077
3139
|
readonly updatedAt: Schema.String;
|
|
3078
3140
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
@@ -3586,6 +3648,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
3586
3648
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
3587
3649
|
readonly importedAt: Schema.String;
|
|
3588
3650
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3651
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
3589
3652
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
3590
3653
|
readonly value: Schema.String;
|
|
3591
3654
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -3596,13 +3659,14 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
3596
3659
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
3597
3660
|
readonly file: Schema.String;
|
|
3598
3661
|
readonly row: Schema.Finite;
|
|
3599
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
3662
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3600
3663
|
readonly kind: Schema.Literal<"status_column">;
|
|
3601
3664
|
}>, Schema.Struct<{
|
|
3602
3665
|
readonly kind: Schema.Literal<"export_scope">;
|
|
3603
3666
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
3604
|
-
}
|
|
3605
|
-
readonly suppressionFree: Schema.Boolean
|
|
3667
|
+
}>, Schema.Null]>>;
|
|
3668
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
3669
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
3606
3670
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3607
3671
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3608
3672
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -3614,6 +3678,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
3614
3678
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
3615
3679
|
readonly importedAt: Schema.String;
|
|
3616
3680
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3681
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
3617
3682
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
3618
3683
|
readonly value: Schema.String;
|
|
3619
3684
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -3624,19 +3689,21 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
3624
3689
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
3625
3690
|
readonly file: Schema.String;
|
|
3626
3691
|
readonly row: Schema.Finite;
|
|
3627
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
3692
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3628
3693
|
readonly kind: Schema.Literal<"status_column">;
|
|
3629
3694
|
}>, Schema.Struct<{
|
|
3630
3695
|
readonly kind: Schema.Literal<"export_scope">;
|
|
3631
3696
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
3632
|
-
}
|
|
3633
|
-
readonly suppressionFree: Schema.Boolean
|
|
3697
|
+
}>, Schema.Null]>>;
|
|
3698
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
3699
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
3634
3700
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3635
3701
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3636
3702
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3637
3703
|
}>>;
|
|
3638
3704
|
}>;
|
|
3639
3705
|
}>, Schema.Null]>;
|
|
3706
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3640
3707
|
readonly createdAt: Schema.String;
|
|
3641
3708
|
readonly updatedAt: Schema.String;
|
|
3642
3709
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<BillingProviderError, {
|
|
@@ -3954,6 +4021,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
3954
4021
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
3955
4022
|
readonly importedAt: Schema.String;
|
|
3956
4023
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4024
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
3957
4025
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
3958
4026
|
readonly value: Schema.String;
|
|
3959
4027
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -3964,13 +4032,14 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
3964
4032
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
3965
4033
|
readonly file: Schema.String;
|
|
3966
4034
|
readonly row: Schema.Finite;
|
|
3967
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
4035
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3968
4036
|
readonly kind: Schema.Literal<"status_column">;
|
|
3969
4037
|
}>, Schema.Struct<{
|
|
3970
4038
|
readonly kind: Schema.Literal<"export_scope">;
|
|
3971
4039
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
3972
|
-
}
|
|
3973
|
-
readonly suppressionFree: Schema.Boolean
|
|
4040
|
+
}>, Schema.Null]>>;
|
|
4041
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
4042
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
3974
4043
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3975
4044
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3976
4045
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -3982,6 +4051,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
3982
4051
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
3983
4052
|
readonly importedAt: Schema.String;
|
|
3984
4053
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4054
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
3985
4055
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
3986
4056
|
readonly value: Schema.String;
|
|
3987
4057
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -3992,19 +4062,21 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
3992
4062
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
3993
4063
|
readonly file: Schema.String;
|
|
3994
4064
|
readonly row: Schema.Finite;
|
|
3995
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
4065
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3996
4066
|
readonly kind: Schema.Literal<"status_column">;
|
|
3997
4067
|
}>, Schema.Struct<{
|
|
3998
4068
|
readonly kind: Schema.Literal<"export_scope">;
|
|
3999
4069
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
4000
|
-
}
|
|
4001
|
-
readonly suppressionFree: Schema.Boolean
|
|
4070
|
+
}>, Schema.Null]>>;
|
|
4071
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
4072
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
4002
4073
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4003
4074
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4004
4075
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4005
4076
|
}>>;
|
|
4006
4077
|
}>;
|
|
4007
4078
|
}>, Schema.Null]>;
|
|
4079
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4008
4080
|
readonly createdAt: Schema.String;
|
|
4009
4081
|
readonly updatedAt: Schema.String;
|
|
4010
4082
|
}>, Schema.Null]>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
@@ -4227,6 +4299,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
4227
4299
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
4228
4300
|
readonly importedAt: Schema.String;
|
|
4229
4301
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4302
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
4230
4303
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
4231
4304
|
readonly value: Schema.String;
|
|
4232
4305
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -4237,13 +4310,14 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
4237
4310
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
4238
4311
|
readonly file: Schema.String;
|
|
4239
4312
|
readonly row: Schema.Finite;
|
|
4240
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
4313
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4241
4314
|
readonly kind: Schema.Literal<"status_column">;
|
|
4242
4315
|
}>, Schema.Struct<{
|
|
4243
4316
|
readonly kind: Schema.Literal<"export_scope">;
|
|
4244
4317
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
4245
|
-
}
|
|
4246
|
-
readonly suppressionFree: Schema.Boolean
|
|
4318
|
+
}>, Schema.Null]>>;
|
|
4319
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
4320
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
4247
4321
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4248
4322
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4249
4323
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -4255,6 +4329,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
4255
4329
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
4256
4330
|
readonly importedAt: Schema.String;
|
|
4257
4331
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4332
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
4258
4333
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
4259
4334
|
readonly value: Schema.String;
|
|
4260
4335
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -4265,19 +4340,21 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
4265
4340
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
4266
4341
|
readonly file: Schema.String;
|
|
4267
4342
|
readonly row: Schema.Finite;
|
|
4268
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
4343
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4269
4344
|
readonly kind: Schema.Literal<"status_column">;
|
|
4270
4345
|
}>, Schema.Struct<{
|
|
4271
4346
|
readonly kind: Schema.Literal<"export_scope">;
|
|
4272
4347
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
4273
|
-
}
|
|
4274
|
-
readonly suppressionFree: Schema.Boolean
|
|
4348
|
+
}>, Schema.Null]>>;
|
|
4349
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
4350
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
4275
4351
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4276
4352
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4277
4353
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4278
4354
|
}>>;
|
|
4279
4355
|
}>;
|
|
4280
4356
|
}>, Schema.Null]>;
|
|
4357
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4281
4358
|
readonly createdAt: Schema.String;
|
|
4282
4359
|
readonly updatedAt: Schema.String;
|
|
4283
4360
|
}>;
|
|
@@ -4502,6 +4579,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
4502
4579
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
4503
4580
|
readonly importedAt: Schema.String;
|
|
4504
4581
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4582
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
4505
4583
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
4506
4584
|
readonly value: Schema.String;
|
|
4507
4585
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -4512,13 +4590,14 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
4512
4590
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
4513
4591
|
readonly file: Schema.String;
|
|
4514
4592
|
readonly row: Schema.Finite;
|
|
4515
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
4593
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4516
4594
|
readonly kind: Schema.Literal<"status_column">;
|
|
4517
4595
|
}>, Schema.Struct<{
|
|
4518
4596
|
readonly kind: Schema.Literal<"export_scope">;
|
|
4519
4597
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
4520
|
-
}
|
|
4521
|
-
readonly suppressionFree: Schema.Boolean
|
|
4598
|
+
}>, Schema.Null]>>;
|
|
4599
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
4600
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
4522
4601
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4523
4602
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4524
4603
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -4530,6 +4609,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
4530
4609
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
4531
4610
|
readonly importedAt: Schema.String;
|
|
4532
4611
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4612
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
4533
4613
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
4534
4614
|
readonly value: Schema.String;
|
|
4535
4615
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -4540,19 +4620,21 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
4540
4620
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
4541
4621
|
readonly file: Schema.String;
|
|
4542
4622
|
readonly row: Schema.Finite;
|
|
4543
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
4623
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4544
4624
|
readonly kind: Schema.Literal<"status_column">;
|
|
4545
4625
|
}>, Schema.Struct<{
|
|
4546
4626
|
readonly kind: Schema.Literal<"export_scope">;
|
|
4547
4627
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
4548
|
-
}
|
|
4549
|
-
readonly suppressionFree: Schema.Boolean
|
|
4628
|
+
}>, Schema.Null]>>;
|
|
4629
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
4630
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
4550
4631
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4551
4632
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4552
4633
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4553
4634
|
}>>;
|
|
4554
4635
|
}>;
|
|
4555
4636
|
}>, Schema.Null]>;
|
|
4637
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4556
4638
|
readonly createdAt: Schema.String;
|
|
4557
4639
|
readonly updatedAt: Schema.String;
|
|
4558
4640
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
@@ -5247,23 +5329,21 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
5247
5329
|
readonly files: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
|
|
5248
5330
|
readonly name: Schema.String;
|
|
5249
5331
|
readonly csv: Schema.String;
|
|
5250
|
-
readonly evidence: Schema.Union<readonly [Schema.Struct<{
|
|
5332
|
+
readonly evidence: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
5251
5333
|
readonly kind: Schema.Literal<"status_column">;
|
|
5252
5334
|
}>, Schema.Struct<{
|
|
5253
5335
|
readonly kind: Schema.Literal<"export_scope">;
|
|
5254
5336
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
5255
|
-
}
|
|
5256
|
-
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
5337
|
+
}>, Schema.Null]>>;
|
|
5257
5338
|
}>]>, readonly [Schema.Struct<{
|
|
5258
5339
|
readonly name: Schema.String;
|
|
5259
5340
|
readonly csv: Schema.String;
|
|
5260
|
-
readonly evidence: Schema.Union<readonly [Schema.Struct<{
|
|
5341
|
+
readonly evidence: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
5261
5342
|
readonly kind: Schema.Literal<"status_column">;
|
|
5262
5343
|
}>, Schema.Struct<{
|
|
5263
5344
|
readonly kind: Schema.Literal<"export_scope">;
|
|
5264
5345
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
5265
|
-
}
|
|
5266
|
-
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
5346
|
+
}>, Schema.Null]>>;
|
|
5267
5347
|
}>]>;
|
|
5268
5348
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
5269
5349
|
readonly planHash: Schema.String;
|
|
@@ -5571,6 +5651,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
5571
5651
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
5572
5652
|
readonly importedAt: Schema.String;
|
|
5573
5653
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
5654
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
5574
5655
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
5575
5656
|
readonly value: Schema.String;
|
|
5576
5657
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -5581,13 +5662,14 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
5581
5662
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
5582
5663
|
readonly file: Schema.String;
|
|
5583
5664
|
readonly row: Schema.Finite;
|
|
5584
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
5665
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
5585
5666
|
readonly kind: Schema.Literal<"status_column">;
|
|
5586
5667
|
}>, Schema.Struct<{
|
|
5587
5668
|
readonly kind: Schema.Literal<"export_scope">;
|
|
5588
5669
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
5589
|
-
}
|
|
5590
|
-
readonly suppressionFree: Schema.Boolean
|
|
5670
|
+
}>, Schema.Null]>>;
|
|
5671
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
5672
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
5591
5673
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5592
5674
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5593
5675
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -5599,6 +5681,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
5599
5681
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
5600
5682
|
readonly importedAt: Schema.String;
|
|
5601
5683
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
5684
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
5602
5685
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
5603
5686
|
readonly value: Schema.String;
|
|
5604
5687
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -5609,19 +5692,21 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
5609
5692
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
5610
5693
|
readonly file: Schema.String;
|
|
5611
5694
|
readonly row: Schema.Finite;
|
|
5612
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
5695
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
5613
5696
|
readonly kind: Schema.Literal<"status_column">;
|
|
5614
5697
|
}>, Schema.Struct<{
|
|
5615
5698
|
readonly kind: Schema.Literal<"export_scope">;
|
|
5616
5699
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
5617
|
-
}
|
|
5618
|
-
readonly suppressionFree: Schema.Boolean
|
|
5700
|
+
}>, Schema.Null]>>;
|
|
5701
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
5702
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
5619
5703
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5620
5704
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5621
5705
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5622
5706
|
}>>;
|
|
5623
5707
|
}>;
|
|
5624
5708
|
}>, Schema.Null]>;
|
|
5709
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5625
5710
|
readonly createdAt: Schema.String;
|
|
5626
5711
|
readonly updatedAt: Schema.String;
|
|
5627
5712
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
@@ -5790,6 +5875,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
5790
5875
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
5791
5876
|
readonly importedAt: Schema.String;
|
|
5792
5877
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
5878
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
5793
5879
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
5794
5880
|
readonly value: Schema.String;
|
|
5795
5881
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -5800,13 +5886,14 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
5800
5886
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
5801
5887
|
readonly file: Schema.String;
|
|
5802
5888
|
readonly row: Schema.Finite;
|
|
5803
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
5889
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
5804
5890
|
readonly kind: Schema.Literal<"status_column">;
|
|
5805
5891
|
}>, Schema.Struct<{
|
|
5806
5892
|
readonly kind: Schema.Literal<"export_scope">;
|
|
5807
5893
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
5808
|
-
}
|
|
5809
|
-
readonly suppressionFree: Schema.Boolean
|
|
5894
|
+
}>, Schema.Null]>>;
|
|
5895
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
5896
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
5810
5897
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5811
5898
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5812
5899
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -5818,6 +5905,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
5818
5905
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
5819
5906
|
readonly importedAt: Schema.String;
|
|
5820
5907
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
5908
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
5821
5909
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
5822
5910
|
readonly value: Schema.String;
|
|
5823
5911
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -5828,19 +5916,21 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
5828
5916
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
5829
5917
|
readonly file: Schema.String;
|
|
5830
5918
|
readonly row: Schema.Finite;
|
|
5831
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
5919
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
5832
5920
|
readonly kind: Schema.Literal<"status_column">;
|
|
5833
5921
|
}>, Schema.Struct<{
|
|
5834
5922
|
readonly kind: Schema.Literal<"export_scope">;
|
|
5835
5923
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
5836
|
-
}
|
|
5837
|
-
readonly suppressionFree: Schema.Boolean
|
|
5924
|
+
}>, Schema.Null]>>;
|
|
5925
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
5926
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
5838
5927
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5839
5928
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5840
5929
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5841
5930
|
}>>;
|
|
5842
5931
|
}>;
|
|
5843
5932
|
}>, Schema.Null]>;
|
|
5933
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5844
5934
|
readonly createdAt: Schema.String;
|
|
5845
5935
|
readonly updatedAt: Schema.String;
|
|
5846
5936
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
@@ -6014,6 +6104,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
6014
6104
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
6015
6105
|
readonly importedAt: Schema.String;
|
|
6016
6106
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
6107
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
6017
6108
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
6018
6109
|
readonly value: Schema.String;
|
|
6019
6110
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -6024,13 +6115,14 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
6024
6115
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
6025
6116
|
readonly file: Schema.String;
|
|
6026
6117
|
readonly row: Schema.Finite;
|
|
6027
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
6118
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
6028
6119
|
readonly kind: Schema.Literal<"status_column">;
|
|
6029
6120
|
}>, Schema.Struct<{
|
|
6030
6121
|
readonly kind: Schema.Literal<"export_scope">;
|
|
6031
6122
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
6032
|
-
}
|
|
6033
|
-
readonly suppressionFree: Schema.Boolean
|
|
6123
|
+
}>, Schema.Null]>>;
|
|
6124
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
6125
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
6034
6126
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6035
6127
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6036
6128
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -6042,6 +6134,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
6042
6134
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
6043
6135
|
readonly importedAt: Schema.String;
|
|
6044
6136
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
6137
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
6045
6138
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
6046
6139
|
readonly value: Schema.String;
|
|
6047
6140
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -6052,19 +6145,21 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
6052
6145
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
6053
6146
|
readonly file: Schema.String;
|
|
6054
6147
|
readonly row: Schema.Finite;
|
|
6055
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
6148
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
6056
6149
|
readonly kind: Schema.Literal<"status_column">;
|
|
6057
6150
|
}>, Schema.Struct<{
|
|
6058
6151
|
readonly kind: Schema.Literal<"export_scope">;
|
|
6059
6152
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
6060
|
-
}
|
|
6061
|
-
readonly suppressionFree: Schema.Boolean
|
|
6153
|
+
}>, Schema.Null]>>;
|
|
6154
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
6155
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
6062
6156
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6063
6157
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6064
6158
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6065
6159
|
}>>;
|
|
6066
6160
|
}>;
|
|
6067
6161
|
}>, Schema.Null]>;
|
|
6162
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6068
6163
|
readonly createdAt: Schema.String;
|
|
6069
6164
|
readonly updatedAt: Schema.String;
|
|
6070
6165
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
@@ -6176,23 +6271,21 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
6176
6271
|
readonly files: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
|
|
6177
6272
|
readonly name: Schema.String;
|
|
6178
6273
|
readonly csv: Schema.String;
|
|
6179
|
-
readonly evidence: Schema.Union<readonly [Schema.Struct<{
|
|
6274
|
+
readonly evidence: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
6180
6275
|
readonly kind: Schema.Literal<"status_column">;
|
|
6181
6276
|
}>, Schema.Struct<{
|
|
6182
6277
|
readonly kind: Schema.Literal<"export_scope">;
|
|
6183
6278
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
6184
|
-
}
|
|
6185
|
-
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
6279
|
+
}>, Schema.Null]>>;
|
|
6186
6280
|
}>]>, readonly [Schema.Struct<{
|
|
6187
6281
|
readonly name: Schema.String;
|
|
6188
6282
|
readonly csv: Schema.String;
|
|
6189
|
-
readonly evidence: Schema.Union<readonly [Schema.Struct<{
|
|
6283
|
+
readonly evidence: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
6190
6284
|
readonly kind: Schema.Literal<"status_column">;
|
|
6191
6285
|
}>, Schema.Struct<{
|
|
6192
6286
|
readonly kind: Schema.Literal<"export_scope">;
|
|
6193
6287
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
6194
|
-
}
|
|
6195
|
-
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
6288
|
+
}>, Schema.Null]>>;
|
|
6196
6289
|
}>]>;
|
|
6197
6290
|
}>;
|
|
6198
6291
|
readonly planHash: Schema.String;
|
|
@@ -6487,6 +6580,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
6487
6580
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
6488
6581
|
readonly importedAt: Schema.String;
|
|
6489
6582
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
6583
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
6490
6584
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
6491
6585
|
readonly value: Schema.String;
|
|
6492
6586
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -6497,13 +6591,14 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
6497
6591
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
6498
6592
|
readonly file: Schema.String;
|
|
6499
6593
|
readonly row: Schema.Finite;
|
|
6500
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
6594
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
6501
6595
|
readonly kind: Schema.Literal<"status_column">;
|
|
6502
6596
|
}>, Schema.Struct<{
|
|
6503
6597
|
readonly kind: Schema.Literal<"export_scope">;
|
|
6504
6598
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
6505
|
-
}
|
|
6506
|
-
readonly suppressionFree: Schema.Boolean
|
|
6599
|
+
}>, Schema.Null]>>;
|
|
6600
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
6601
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
6507
6602
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6508
6603
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6509
6604
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -6515,6 +6610,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
6515
6610
|
readonly preset: Schema.Union<readonly [Schema.Literal<"beehiiv">, Schema.Literal<"substack">, Schema.Literal<"kit">, Schema.Literal<"mailchimp">]>;
|
|
6516
6611
|
readonly importedAt: Schema.String;
|
|
6517
6612
|
readonly summary: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
6613
|
+
readonly permissionAssumed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
6518
6614
|
readonly signupAt: Schema.Union<readonly [Schema.Struct<{
|
|
6519
6615
|
readonly value: Schema.String;
|
|
6520
6616
|
readonly kind: Schema.Union<readonly [Schema.Literal<"time">, Schema.Literal<"text">]>;
|
|
@@ -6525,19 +6621,21 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
|
|
|
6525
6621
|
readonly evidence: Schema.$Array<Schema.Struct<{
|
|
6526
6622
|
readonly file: Schema.String;
|
|
6527
6623
|
readonly row: Schema.Finite;
|
|
6528
|
-
readonly declared: Schema.Union<readonly [Schema.Struct<{
|
|
6624
|
+
readonly declared: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
6529
6625
|
readonly kind: Schema.Literal<"status_column">;
|
|
6530
6626
|
}>, Schema.Struct<{
|
|
6531
6627
|
readonly kind: Schema.Literal<"export_scope">;
|
|
6532
6628
|
readonly scope: Schema.Union<readonly [Schema.Literal<"subscribed">, Schema.Literal<"unsubscribed">, Schema.Literal<"suppressed">, Schema.Literal<"cleaned/bounced">]>;
|
|
6533
|
-
}
|
|
6534
|
-
readonly suppressionFree: Schema.Boolean
|
|
6629
|
+
}>, Schema.Null]>>;
|
|
6630
|
+
readonly suppressionFree: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
6631
|
+
readonly permissionBasis: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"assumed">, Schema.Literal<"exported">]>, Schema.Null]>>;
|
|
6535
6632
|
readonly sourceStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6536
6633
|
readonly signupAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6537
6634
|
readonly source: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6538
6635
|
}>>;
|
|
6539
6636
|
}>;
|
|
6540
6637
|
}>, Schema.Null]>;
|
|
6638
|
+
readonly addedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6541
6639
|
readonly createdAt: Schema.String;
|
|
6542
6640
|
readonly updatedAt: Schema.String;
|
|
6543
6641
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<BillingProviderError, {
|