@readyfor/api-client-pigeon 0.187.0 → 0.194.0-pr968.ce9cda6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/{chunk-LXUPJN65.mjs → chunk-3JMR6H56.mjs} +1 -1
  2. package/dist/chunk-3LOTGXB3.mjs +42 -0
  3. package/dist/{chunk-SWDMGLLG.mjs → chunk-3RIOLUHJ.mjs} +1 -1
  4. package/dist/{chunk-OFV6CH56.mjs → chunk-7NAC2DXV.mjs} +1 -1
  5. package/dist/{chunk-324IXKQ7.mjs → chunk-A4DKTYOB.mjs} +31 -8
  6. package/dist/chunk-IVAIBCIB.mjs +19 -0
  7. package/dist/{chunk-ZWYL7OFL.mjs → chunk-NVFG46VV.mjs} +1 -1
  8. package/dist/chunk-RCXDEYQ3.mjs +42 -0
  9. package/dist/chunk-RYWCSZXA.mjs +19 -0
  10. package/dist/chunk-TY2VYPCN.mjs +52 -0
  11. package/dist/{chunk-JGIFSXIQ.mjs → chunk-URCAXVZJ.mjs} +1 -1
  12. package/dist/chunk-VW7MH5JZ.mjs +19 -0
  13. package/dist/{chunk-IWONQAFN.mjs → chunk-YOTWYVLS.mjs} +1 -1
  14. package/dist/components.d.mts +239 -129
  15. package/dist/components.d.ts +239 -129
  16. package/dist/components.js +38 -10
  17. package/dist/components.mjs +15 -5
  18. package/dist/fetch/campaigns.js +24 -6
  19. package/dist/fetch/campaigns.mjs +2 -2
  20. package/dist/fetch/campaignsId.d.mts +12 -12
  21. package/dist/fetch/campaignsId.d.ts +12 -12
  22. package/dist/fetch/campaignsId.js +24 -6
  23. package/dist/fetch/campaignsId.mjs +2 -2
  24. package/dist/fetch/projectsProjectIdOrKeyword.js +24 -6
  25. package/dist/fetch/projectsProjectIdOrKeyword.mjs +2 -2
  26. package/dist/fetch/segmentsBehaviorSegments.d.mts +24 -0
  27. package/dist/fetch/segmentsBehaviorSegments.d.ts +24 -0
  28. package/dist/fetch/segmentsBehaviorSegments.js +251 -0
  29. package/dist/fetch/segmentsBehaviorSegments.mjs +9 -0
  30. package/dist/fetch/segmentsProfileSegments.d.mts +24 -0
  31. package/dist/fetch/segmentsProfileSegments.d.ts +24 -0
  32. package/dist/fetch/segmentsProfileSegments.js +251 -0
  33. package/dist/fetch/segmentsProfileSegments.mjs +9 -0
  34. package/dist/fetch/segmentsTargetUsersCount.d.mts +17 -0
  35. package/dist/fetch/segmentsTargetUsersCount.d.ts +17 -0
  36. package/dist/fetch/segmentsTargetUsersCount.js +251 -0
  37. package/dist/fetch/segmentsTargetUsersCount.mjs +9 -0
  38. package/dist/hooks/index.d.mts +6 -0
  39. package/dist/hooks/index.d.ts +6 -0
  40. package/dist/hooks/index.js +177 -20
  41. package/dist/hooks/index.mjs +36 -9
  42. package/dist/hooks/useCampaigns.js +37 -10
  43. package/dist/hooks/useCampaigns.mjs +9 -6
  44. package/dist/hooks/useCampaignsId.js +37 -10
  45. package/dist/hooks/useCampaignsId.mjs +9 -6
  46. package/dist/hooks/useProjectsProjectIdOrKeyword.js +37 -10
  47. package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +9 -6
  48. package/dist/hooks/useSegmentsBehaviorSegments.d.mts +37 -0
  49. package/dist/hooks/useSegmentsBehaviorSegments.d.ts +37 -0
  50. package/dist/hooks/useSegmentsBehaviorSegments.js +310 -0
  51. package/dist/hooks/useSegmentsBehaviorSegments.mjs +19 -0
  52. package/dist/hooks/useSegmentsProfileSegments.d.mts +37 -0
  53. package/dist/hooks/useSegmentsProfileSegments.d.ts +37 -0
  54. package/dist/hooks/useSegmentsProfileSegments.js +310 -0
  55. package/dist/hooks/useSegmentsProfileSegments.mjs +19 -0
  56. package/dist/hooks/useSegmentsTargetUsersCount.d.mts +38 -0
  57. package/dist/hooks/useSegmentsTargetUsersCount.d.ts +38 -0
  58. package/dist/hooks/useSegmentsTargetUsersCount.js +320 -0
  59. package/dist/hooks/useSegmentsTargetUsersCount.mjs +19 -0
  60. package/dist/index.d.mts +4 -1
  61. package/dist/index.d.ts +4 -1
  62. package/dist/index.js +74 -10
  63. package/dist/index.mjs +37 -9
  64. package/dist/schemaType.d.mts +139 -8
  65. package/dist/schemaType.d.ts +139 -8
  66. package/package.json +9 -10
  67. /package/dist/{chunk-M47LJF5A.mjs → chunk-CEHYORRT.mjs} +0 -0
@@ -175,7 +175,7 @@ declare const CurationMailMagazineProjectFormData: z.ZodObject<{
175
175
  tag: string | null;
176
176
  tagUrl: string | null;
177
177
  }>;
178
- declare const CurationMailMagazineTargetFormData: z.ZodObject<{
178
+ declare const CurationMailMagazineTargetFilterFormData: z.ZodObject<{
179
179
  id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
180
180
  behaviorSgumentCodes: z.ZodArray<z.ZodString, "many">;
181
181
  profileSgumentCodes: z.ZodArray<z.ZodString, "many">;
@@ -269,18 +269,18 @@ declare const CurationMailMagazineTargetProject: z.ZodObject<{
269
269
  tagUrl: string | null;
270
270
  thumbnailUrl: string | null;
271
271
  }>;
272
- declare const CurationMailMagazineTarget: z.ZodObject<{
272
+ declare const CurationMailMagazineTargetFilter: z.ZodObject<{
273
273
  id: z.ZodNumber;
274
- behaviorSegumentCodes: z.ZodArray<z.ZodString, "many">;
275
- profileSegumentCodes: z.ZodArray<z.ZodString, "many">;
274
+ behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
275
+ profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
276
276
  }, "strip", z.ZodTypeAny, {
277
277
  id: number;
278
- behaviorSegumentCodes: string[];
279
- profileSegumentCodes: string[];
278
+ behaviorSegmentCodes: string[];
279
+ profileSegmentCodes: string[];
280
280
  }, {
281
281
  id: number;
282
- behaviorSegumentCodes: string[];
283
- profileSegumentCodes: string[];
282
+ behaviorSegmentCodes: string[];
283
+ profileSegmentCodes: string[];
284
284
  }>;
285
285
  declare const PersonalizedMailMagazineDetailTarget: z.ZodObject<{
286
286
  csvFileName: z.ZodString;
@@ -299,7 +299,7 @@ declare const CurationMailMagazineFormData: z.ZodObject<{
299
299
  utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
300
300
  mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
301
301
  preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
302
- targets: z.ZodArray<z.ZodObject<{
302
+ target_filters: z.ZodArray<z.ZodObject<{
303
303
  id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
304
304
  behaviorSgumentCodes: z.ZodArray<z.ZodString, "many">;
305
305
  profileSgumentCodes: z.ZodArray<z.ZodString, "many">;
@@ -413,7 +413,7 @@ declare const CurationMailMagazineFormData: z.ZodObject<{
413
413
  utmCampaign: string | null;
414
414
  mailSubject: string | null;
415
415
  preHeaderText: string | null;
416
- targets: {
416
+ target_filters: {
417
417
  id: string | null;
418
418
  behaviorSgumentCodes: string[];
419
419
  profileSgumentCodes: string[];
@@ -449,7 +449,7 @@ declare const CurationMailMagazineFormData: z.ZodObject<{
449
449
  utmCampaign: string | null;
450
450
  mailSubject: string | null;
451
451
  preHeaderText: string | null;
452
- targets: {
452
+ target_filters: {
453
453
  id: string | null;
454
454
  behaviorSgumentCodes: string[];
455
455
  profileSgumentCodes: string[];
@@ -548,18 +548,18 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
548
548
  mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
549
549
  preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
550
550
  deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
551
- targets: z.ZodArray<z.ZodObject<{
551
+ target_filters: z.ZodArray<z.ZodObject<{
552
552
  id: z.ZodNumber;
553
- behaviorSegumentCodes: z.ZodArray<z.ZodString, "many">;
554
- profileSegumentCodes: z.ZodArray<z.ZodString, "many">;
553
+ behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
554
+ profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
555
555
  }, "strip", z.ZodTypeAny, {
556
556
  id: number;
557
- behaviorSegumentCodes: string[];
558
- profileSegumentCodes: string[];
557
+ behaviorSegmentCodes: string[];
558
+ profileSegmentCodes: string[];
559
559
  }, {
560
560
  id: number;
561
- behaviorSegumentCodes: string[];
562
- profileSegumentCodes: string[];
561
+ behaviorSegmentCodes: string[];
562
+ profileSegmentCodes: string[];
563
563
  }>, "many">;
564
564
  projects: z.ZodArray<z.ZodObject<{
565
565
  id: z.ZodNumber;
@@ -612,10 +612,10 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
612
612
  utmCampaign: string | null;
613
613
  mailSubject: string | null;
614
614
  preHeaderText: string | null;
615
- targets: {
615
+ target_filters: {
616
616
  id: number;
617
- behaviorSegumentCodes: string[];
618
- profileSegumentCodes: string[];
617
+ behaviorSegmentCodes: string[];
618
+ profileSegmentCodes: string[];
619
619
  }[];
620
620
  projects: {
621
621
  id: number;
@@ -639,10 +639,10 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
639
639
  utmCampaign: string | null;
640
640
  mailSubject: string | null;
641
641
  preHeaderText: string | null;
642
- targets: {
642
+ target_filters: {
643
643
  id: number;
644
- behaviorSegumentCodes: string[];
645
- profileSegumentCodes: string[];
644
+ behaviorSegmentCodes: string[];
645
+ profileSegmentCodes: string[];
646
646
  }[];
647
647
  projects: {
648
648
  id: number;
@@ -700,7 +700,7 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
700
700
  utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
701
701
  mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
702
702
  preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
703
- targets: z.ZodArray<z.ZodObject<{
703
+ target_filters: z.ZodArray<z.ZodObject<{
704
704
  id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
705
705
  behaviorSgumentCodes: z.ZodArray<z.ZodString, "many">;
706
706
  profileSgumentCodes: z.ZodArray<z.ZodString, "many">;
@@ -814,7 +814,7 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
814
814
  utmCampaign: string | null;
815
815
  mailSubject: string | null;
816
816
  preHeaderText: string | null;
817
- targets: {
817
+ target_filters: {
818
818
  id: string | null;
819
819
  behaviorSgumentCodes: string[];
820
820
  profileSgumentCodes: string[];
@@ -850,7 +850,7 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
850
850
  utmCampaign: string | null;
851
851
  mailSubject: string | null;
852
852
  preHeaderText: string | null;
853
- targets: {
853
+ target_filters: {
854
854
  id: string | null;
855
855
  behaviorSgumentCodes: string[];
856
856
  profileSgumentCodes: string[];
@@ -889,7 +889,7 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
889
889
  utmCampaign: string | null;
890
890
  mailSubject: string | null;
891
891
  preHeaderText: string | null;
892
- targets: {
892
+ target_filters: {
893
893
  id: string | null;
894
894
  behaviorSgumentCodes: string[];
895
895
  profileSgumentCodes: string[];
@@ -928,7 +928,7 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
928
928
  utmCampaign: string | null;
929
929
  mailSubject: string | null;
930
930
  preHeaderText: string | null;
931
- targets: {
931
+ target_filters: {
932
932
  id: string | null;
933
933
  behaviorSgumentCodes: string[];
934
934
  profileSgumentCodes: string[];
@@ -1073,18 +1073,18 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
1073
1073
  mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
1074
1074
  preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
1075
1075
  deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
1076
- targets: z.ZodArray<z.ZodObject<{
1076
+ target_filters: z.ZodArray<z.ZodObject<{
1077
1077
  id: z.ZodNumber;
1078
- behaviorSegumentCodes: z.ZodArray<z.ZodString, "many">;
1079
- profileSegumentCodes: z.ZodArray<z.ZodString, "many">;
1078
+ behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
1079
+ profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
1080
1080
  }, "strip", z.ZodTypeAny, {
1081
1081
  id: number;
1082
- behaviorSegumentCodes: string[];
1083
- profileSegumentCodes: string[];
1082
+ behaviorSegmentCodes: string[];
1083
+ profileSegmentCodes: string[];
1084
1084
  }, {
1085
1085
  id: number;
1086
- behaviorSegumentCodes: string[];
1087
- profileSegumentCodes: string[];
1086
+ behaviorSegmentCodes: string[];
1087
+ profileSegmentCodes: string[];
1088
1088
  }>, "many">;
1089
1089
  projects: z.ZodArray<z.ZodObject<{
1090
1090
  id: z.ZodNumber;
@@ -1137,10 +1137,10 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
1137
1137
  utmCampaign: string | null;
1138
1138
  mailSubject: string | null;
1139
1139
  preHeaderText: string | null;
1140
- targets: {
1140
+ target_filters: {
1141
1141
  id: number;
1142
- behaviorSegumentCodes: string[];
1143
- profileSegumentCodes: string[];
1142
+ behaviorSegmentCodes: string[];
1143
+ profileSegmentCodes: string[];
1144
1144
  }[];
1145
1145
  projects: {
1146
1146
  id: number;
@@ -1164,10 +1164,10 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
1164
1164
  utmCampaign: string | null;
1165
1165
  mailSubject: string | null;
1166
1166
  preHeaderText: string | null;
1167
- targets: {
1167
+ target_filters: {
1168
1168
  id: number;
1169
- behaviorSegumentCodes: string[];
1170
- profileSegumentCodes: string[];
1169
+ behaviorSegmentCodes: string[];
1170
+ profileSegmentCodes: string[];
1171
1171
  }[];
1172
1172
  projects: {
1173
1173
  id: number;
@@ -1194,10 +1194,10 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
1194
1194
  utmCampaign: string | null;
1195
1195
  mailSubject: string | null;
1196
1196
  preHeaderText: string | null;
1197
- targets: {
1197
+ target_filters: {
1198
1198
  id: number;
1199
- behaviorSegumentCodes: string[];
1200
- profileSegumentCodes: string[];
1199
+ behaviorSegmentCodes: string[];
1200
+ profileSegmentCodes: string[];
1201
1201
  }[];
1202
1202
  projects: {
1203
1203
  id: number;
@@ -1224,10 +1224,10 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
1224
1224
  utmCampaign: string | null;
1225
1225
  mailSubject: string | null;
1226
1226
  preHeaderText: string | null;
1227
- targets: {
1227
+ target_filters: {
1228
1228
  id: number;
1229
- behaviorSegumentCodes: string[];
1230
- profileSegumentCodes: string[];
1229
+ behaviorSegmentCodes: string[];
1230
+ profileSegmentCodes: string[];
1231
1231
  }[];
1232
1232
  projects: {
1233
1233
  id: number;
@@ -1327,7 +1327,7 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
1327
1327
  utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
1328
1328
  mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
1329
1329
  preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
1330
- targets: z.ZodArray<z.ZodObject<{
1330
+ target_filters: z.ZodArray<z.ZodObject<{
1331
1331
  id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
1332
1332
  behaviorSgumentCodes: z.ZodArray<z.ZodString, "many">;
1333
1333
  profileSgumentCodes: z.ZodArray<z.ZodString, "many">;
@@ -1441,7 +1441,7 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
1441
1441
  utmCampaign: string | null;
1442
1442
  mailSubject: string | null;
1443
1443
  preHeaderText: string | null;
1444
- targets: {
1444
+ target_filters: {
1445
1445
  id: string | null;
1446
1446
  behaviorSgumentCodes: string[];
1447
1447
  profileSgumentCodes: string[];
@@ -1477,7 +1477,7 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
1477
1477
  utmCampaign: string | null;
1478
1478
  mailSubject: string | null;
1479
1479
  preHeaderText: string | null;
1480
- targets: {
1480
+ target_filters: {
1481
1481
  id: string | null;
1482
1482
  behaviorSgumentCodes: string[];
1483
1483
  profileSgumentCodes: string[];
@@ -1517,7 +1517,7 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
1517
1517
  utmCampaign: string | null;
1518
1518
  mailSubject: string | null;
1519
1519
  preHeaderText: string | null;
1520
- targets: {
1520
+ target_filters: {
1521
1521
  id: string | null;
1522
1522
  behaviorSgumentCodes: string[];
1523
1523
  profileSgumentCodes: string[];
@@ -1558,7 +1558,7 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
1558
1558
  utmCampaign: string | null;
1559
1559
  mailSubject: string | null;
1560
1560
  preHeaderText: string | null;
1561
- targets: {
1561
+ target_filters: {
1562
1562
  id: string | null;
1563
1563
  behaviorSgumentCodes: string[];
1564
1564
  profileSgumentCodes: string[];
@@ -1706,18 +1706,18 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
1706
1706
  mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
1707
1707
  preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
1708
1708
  deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
1709
- targets: z.ZodArray<z.ZodObject<{
1709
+ target_filters: z.ZodArray<z.ZodObject<{
1710
1710
  id: z.ZodNumber;
1711
- behaviorSegumentCodes: z.ZodArray<z.ZodString, "many">;
1712
- profileSegumentCodes: z.ZodArray<z.ZodString, "many">;
1711
+ behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
1712
+ profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
1713
1713
  }, "strip", z.ZodTypeAny, {
1714
1714
  id: number;
1715
- behaviorSegumentCodes: string[];
1716
- profileSegumentCodes: string[];
1715
+ behaviorSegmentCodes: string[];
1716
+ profileSegmentCodes: string[];
1717
1717
  }, {
1718
1718
  id: number;
1719
- behaviorSegumentCodes: string[];
1720
- profileSegumentCodes: string[];
1719
+ behaviorSegmentCodes: string[];
1720
+ profileSegmentCodes: string[];
1721
1721
  }>, "many">;
1722
1722
  projects: z.ZodArray<z.ZodObject<{
1723
1723
  id: z.ZodNumber;
@@ -1770,10 +1770,10 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
1770
1770
  utmCampaign: string | null;
1771
1771
  mailSubject: string | null;
1772
1772
  preHeaderText: string | null;
1773
- targets: {
1773
+ target_filters: {
1774
1774
  id: number;
1775
- behaviorSegumentCodes: string[];
1776
- profileSegumentCodes: string[];
1775
+ behaviorSegmentCodes: string[];
1776
+ profileSegmentCodes: string[];
1777
1777
  }[];
1778
1778
  projects: {
1779
1779
  id: number;
@@ -1797,10 +1797,10 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
1797
1797
  utmCampaign: string | null;
1798
1798
  mailSubject: string | null;
1799
1799
  preHeaderText: string | null;
1800
- targets: {
1800
+ target_filters: {
1801
1801
  id: number;
1802
- behaviorSegumentCodes: string[];
1803
- profileSegumentCodes: string[];
1802
+ behaviorSegmentCodes: string[];
1803
+ profileSegmentCodes: string[];
1804
1804
  }[];
1805
1805
  projects: {
1806
1806
  id: number;
@@ -1830,10 +1830,10 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
1830
1830
  utmCampaign: string | null;
1831
1831
  mailSubject: string | null;
1832
1832
  preHeaderText: string | null;
1833
- targets: {
1833
+ target_filters: {
1834
1834
  id: number;
1835
- behaviorSegumentCodes: string[];
1836
- profileSegumentCodes: string[];
1835
+ behaviorSegmentCodes: string[];
1836
+ profileSegmentCodes: string[];
1837
1837
  }[];
1838
1838
  projects: {
1839
1839
  id: number;
@@ -1864,10 +1864,10 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
1864
1864
  utmCampaign: string | null;
1865
1865
  mailSubject: string | null;
1866
1866
  preHeaderText: string | null;
1867
- targets: {
1867
+ target_filters: {
1868
1868
  id: number;
1869
- behaviorSegumentCodes: string[];
1870
- profileSegumentCodes: string[];
1869
+ behaviorSegmentCodes: string[];
1870
+ profileSegmentCodes: string[];
1871
1871
  }[];
1872
1872
  projects: {
1873
1873
  id: number;
@@ -1957,6 +1957,25 @@ declare const CampaignDetailWithPersonalizedMailMagazine: z.ZodObject<z.objectUt
1957
1957
  };
1958
1958
  }>;
1959
1959
  declare const CampaignKind: z.ZodUnion<[z.ZodLiteral<"curationMailMagazine">, z.ZodLiteral<"personalizedMailMagazine">]>;
1960
+ declare const Segment: z.ZodObject<{
1961
+ code: z.ZodString;
1962
+ label: z.ZodString;
1963
+ isActive: z.ZodBoolean;
1964
+ displayOrder: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
1965
+ description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
1966
+ }, "strip", z.ZodTypeAny, {
1967
+ code: string;
1968
+ description: string | null;
1969
+ label: string;
1970
+ isActive: boolean;
1971
+ displayOrder: number | null;
1972
+ }, {
1973
+ code: string;
1974
+ description: string | null;
1975
+ label: string;
1976
+ isActive: boolean;
1977
+ displayOrder: number | null;
1978
+ }>;
1960
1979
  declare const ReadyforProject: z.ZodObject<{
1961
1980
  projectId: z.ZodNumber;
1962
1981
  keyword: z.ZodString;
@@ -2082,7 +2101,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
2082
2101
  utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
2083
2102
  mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
2084
2103
  preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
2085
- targets: z.ZodArray<z.ZodObject<{
2104
+ target_filters: z.ZodArray<z.ZodObject<{
2086
2105
  id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
2087
2106
  behaviorSgumentCodes: z.ZodArray<z.ZodString, "many">;
2088
2107
  profileSgumentCodes: z.ZodArray<z.ZodString, "many">;
@@ -2196,7 +2215,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
2196
2215
  utmCampaign: string | null;
2197
2216
  mailSubject: string | null;
2198
2217
  preHeaderText: string | null;
2199
- targets: {
2218
+ target_filters: {
2200
2219
  id: string | null;
2201
2220
  behaviorSgumentCodes: string[];
2202
2221
  profileSgumentCodes: string[];
@@ -2232,7 +2251,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
2232
2251
  utmCampaign: string | null;
2233
2252
  mailSubject: string | null;
2234
2253
  preHeaderText: string | null;
2235
- targets: {
2254
+ target_filters: {
2236
2255
  id: string | null;
2237
2256
  behaviorSgumentCodes: string[];
2238
2257
  profileSgumentCodes: string[];
@@ -2272,7 +2291,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
2272
2291
  utmCampaign: string | null;
2273
2292
  mailSubject: string | null;
2274
2293
  preHeaderText: string | null;
2275
- targets: {
2294
+ target_filters: {
2276
2295
  id: string | null;
2277
2296
  behaviorSgumentCodes: string[];
2278
2297
  profileSgumentCodes: string[];
@@ -2313,7 +2332,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
2313
2332
  utmCampaign: string | null;
2314
2333
  mailSubject: string | null;
2315
2334
  preHeaderText: string | null;
2316
- targets: {
2335
+ target_filters: {
2317
2336
  id: string | null;
2318
2337
  behaviorSgumentCodes: string[];
2319
2338
  profileSgumentCodes: string[];
@@ -2425,18 +2444,18 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2425
2444
  mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
2426
2445
  preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
2427
2446
  deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
2428
- targets: z.ZodArray<z.ZodObject<{
2447
+ target_filters: z.ZodArray<z.ZodObject<{
2429
2448
  id: z.ZodNumber;
2430
- behaviorSegumentCodes: z.ZodArray<z.ZodString, "many">;
2431
- profileSegumentCodes: z.ZodArray<z.ZodString, "many">;
2449
+ behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
2450
+ profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
2432
2451
  }, "strip", z.ZodTypeAny, {
2433
2452
  id: number;
2434
- behaviorSegumentCodes: string[];
2435
- profileSegumentCodes: string[];
2453
+ behaviorSegmentCodes: string[];
2454
+ profileSegmentCodes: string[];
2436
2455
  }, {
2437
2456
  id: number;
2438
- behaviorSegumentCodes: string[];
2439
- profileSegumentCodes: string[];
2457
+ behaviorSegmentCodes: string[];
2458
+ profileSegmentCodes: string[];
2440
2459
  }>, "many">;
2441
2460
  projects: z.ZodArray<z.ZodObject<{
2442
2461
  id: z.ZodNumber;
@@ -2489,10 +2508,10 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2489
2508
  utmCampaign: string | null;
2490
2509
  mailSubject: string | null;
2491
2510
  preHeaderText: string | null;
2492
- targets: {
2511
+ target_filters: {
2493
2512
  id: number;
2494
- behaviorSegumentCodes: string[];
2495
- profileSegumentCodes: string[];
2513
+ behaviorSegmentCodes: string[];
2514
+ profileSegmentCodes: string[];
2496
2515
  }[];
2497
2516
  projects: {
2498
2517
  id: number;
@@ -2516,10 +2535,10 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2516
2535
  utmCampaign: string | null;
2517
2536
  mailSubject: string | null;
2518
2537
  preHeaderText: string | null;
2519
- targets: {
2538
+ target_filters: {
2520
2539
  id: number;
2521
- behaviorSegumentCodes: string[];
2522
- profileSegumentCodes: string[];
2540
+ behaviorSegmentCodes: string[];
2541
+ profileSegmentCodes: string[];
2523
2542
  }[];
2524
2543
  projects: {
2525
2544
  id: number;
@@ -2549,10 +2568,10 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2549
2568
  utmCampaign: string | null;
2550
2569
  mailSubject: string | null;
2551
2570
  preHeaderText: string | null;
2552
- targets: {
2571
+ target_filters: {
2553
2572
  id: number;
2554
- behaviorSegumentCodes: string[];
2555
- profileSegumentCodes: string[];
2573
+ behaviorSegmentCodes: string[];
2574
+ profileSegmentCodes: string[];
2556
2575
  }[];
2557
2576
  projects: {
2558
2577
  id: number;
@@ -2583,10 +2602,10 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2583
2602
  utmCampaign: string | null;
2584
2603
  mailSubject: string | null;
2585
2604
  preHeaderText: string | null;
2586
- targets: {
2605
+ target_filters: {
2587
2606
  id: number;
2588
- behaviorSegumentCodes: string[];
2589
- profileSegumentCodes: string[];
2607
+ behaviorSegmentCodes: string[];
2608
+ profileSegmentCodes: string[];
2590
2609
  }[];
2591
2610
  projects: {
2592
2611
  id: number;
@@ -2662,6 +2681,97 @@ declare const Campaign: z.ZodObject<{
2662
2681
  lastEditedAt: string;
2663
2682
  title?: string | null | undefined;
2664
2683
  }>;
2684
+ declare const TargetFilterSegments: z.ZodObject<{
2685
+ behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
2686
+ profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
2687
+ }, "strip", z.ZodTypeAny, {
2688
+ behaviorSegmentCodes: string[];
2689
+ profileSegmentCodes: string[];
2690
+ }, {
2691
+ behaviorSegmentCodes: string[];
2692
+ profileSegmentCodes: string[];
2693
+ }>;
2694
+ declare const GetTargetUsersCountResponse: z.ZodObject<{
2695
+ count: z.ZodNumber;
2696
+ }, "strip", z.ZodTypeAny, {
2697
+ count: number;
2698
+ }, {
2699
+ count: number;
2700
+ }>;
2701
+ declare const GetProfileSegmentsResponse: z.ZodObject<{
2702
+ profileSegments: z.ZodArray<z.ZodObject<{
2703
+ code: z.ZodString;
2704
+ label: z.ZodString;
2705
+ isActive: z.ZodBoolean;
2706
+ displayOrder: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
2707
+ description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
2708
+ }, "strip", z.ZodTypeAny, {
2709
+ code: string;
2710
+ description: string | null;
2711
+ label: string;
2712
+ isActive: boolean;
2713
+ displayOrder: number | null;
2714
+ }, {
2715
+ code: string;
2716
+ description: string | null;
2717
+ label: string;
2718
+ isActive: boolean;
2719
+ displayOrder: number | null;
2720
+ }>, "many">;
2721
+ }, "strip", z.ZodTypeAny, {
2722
+ profileSegments: {
2723
+ code: string;
2724
+ description: string | null;
2725
+ label: string;
2726
+ isActive: boolean;
2727
+ displayOrder: number | null;
2728
+ }[];
2729
+ }, {
2730
+ profileSegments: {
2731
+ code: string;
2732
+ description: string | null;
2733
+ label: string;
2734
+ isActive: boolean;
2735
+ displayOrder: number | null;
2736
+ }[];
2737
+ }>;
2738
+ declare const GetBehaviorSegmentsResponse: z.ZodObject<{
2739
+ behaviorSegments: z.ZodArray<z.ZodObject<{
2740
+ code: z.ZodString;
2741
+ label: z.ZodString;
2742
+ isActive: z.ZodBoolean;
2743
+ displayOrder: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
2744
+ description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
2745
+ }, "strip", z.ZodTypeAny, {
2746
+ code: string;
2747
+ description: string | null;
2748
+ label: string;
2749
+ isActive: boolean;
2750
+ displayOrder: number | null;
2751
+ }, {
2752
+ code: string;
2753
+ description: string | null;
2754
+ label: string;
2755
+ isActive: boolean;
2756
+ displayOrder: number | null;
2757
+ }>, "many">;
2758
+ }, "strip", z.ZodTypeAny, {
2759
+ behaviorSegments: {
2760
+ code: string;
2761
+ description: string | null;
2762
+ label: string;
2763
+ isActive: boolean;
2764
+ displayOrder: number | null;
2765
+ }[];
2766
+ }, {
2767
+ behaviorSegments: {
2768
+ code: string;
2769
+ description: string | null;
2770
+ label: string;
2771
+ isActive: boolean;
2772
+ displayOrder: number | null;
2773
+ }[];
2774
+ }>;
2665
2775
  declare const GetProjectsProjectIdOrKeywordResponse: z.ZodObject<{
2666
2776
  project: z.ZodObject<{
2667
2777
  projectId: z.ZodNumber;
@@ -2811,7 +2921,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
2811
2921
  utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
2812
2922
  mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
2813
2923
  preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
2814
- targets: z.ZodArray<z.ZodObject<{
2924
+ target_filters: z.ZodArray<z.ZodObject<{
2815
2925
  id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
2816
2926
  behaviorSgumentCodes: z.ZodArray<z.ZodString, "many">;
2817
2927
  profileSgumentCodes: z.ZodArray<z.ZodString, "many">;
@@ -2925,7 +3035,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
2925
3035
  utmCampaign: string | null;
2926
3036
  mailSubject: string | null;
2927
3037
  preHeaderText: string | null;
2928
- targets: {
3038
+ target_filters: {
2929
3039
  id: string | null;
2930
3040
  behaviorSgumentCodes: string[];
2931
3041
  profileSgumentCodes: string[];
@@ -2961,7 +3071,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
2961
3071
  utmCampaign: string | null;
2962
3072
  mailSubject: string | null;
2963
3073
  preHeaderText: string | null;
2964
- targets: {
3074
+ target_filters: {
2965
3075
  id: string | null;
2966
3076
  behaviorSgumentCodes: string[];
2967
3077
  profileSgumentCodes: string[];
@@ -3001,7 +3111,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
3001
3111
  utmCampaign: string | null;
3002
3112
  mailSubject: string | null;
3003
3113
  preHeaderText: string | null;
3004
- targets: {
3114
+ target_filters: {
3005
3115
  id: string | null;
3006
3116
  behaviorSgumentCodes: string[];
3007
3117
  profileSgumentCodes: string[];
@@ -3042,7 +3152,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
3042
3152
  utmCampaign: string | null;
3043
3153
  mailSubject: string | null;
3044
3154
  preHeaderText: string | null;
3045
- targets: {
3155
+ target_filters: {
3046
3156
  id: string | null;
3047
3157
  behaviorSgumentCodes: string[];
3048
3158
  profileSgumentCodes: string[];
@@ -3085,7 +3195,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
3085
3195
  utmCampaign: string | null;
3086
3196
  mailSubject: string | null;
3087
3197
  preHeaderText: string | null;
3088
- targets: {
3198
+ target_filters: {
3089
3199
  id: string | null;
3090
3200
  behaviorSgumentCodes: string[];
3091
3201
  profileSgumentCodes: string[];
@@ -3145,7 +3255,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
3145
3255
  utmCampaign: string | null;
3146
3256
  mailSubject: string | null;
3147
3257
  preHeaderText: string | null;
3148
- targets: {
3258
+ target_filters: {
3149
3259
  id: string | null;
3150
3260
  behaviorSgumentCodes: string[];
3151
3261
  profileSgumentCodes: string[];
@@ -3276,18 +3386,18 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
3276
3386
  mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
3277
3387
  preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
3278
3388
  deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
3279
- targets: z.ZodArray<z.ZodObject<{
3389
+ target_filters: z.ZodArray<z.ZodObject<{
3280
3390
  id: z.ZodNumber;
3281
- behaviorSegumentCodes: z.ZodArray<z.ZodString, "many">;
3282
- profileSegumentCodes: z.ZodArray<z.ZodString, "many">;
3391
+ behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
3392
+ profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
3283
3393
  }, "strip", z.ZodTypeAny, {
3284
3394
  id: number;
3285
- behaviorSegumentCodes: string[];
3286
- profileSegumentCodes: string[];
3395
+ behaviorSegmentCodes: string[];
3396
+ profileSegmentCodes: string[];
3287
3397
  }, {
3288
3398
  id: number;
3289
- behaviorSegumentCodes: string[];
3290
- profileSegumentCodes: string[];
3399
+ behaviorSegmentCodes: string[];
3400
+ profileSegmentCodes: string[];
3291
3401
  }>, "many">;
3292
3402
  projects: z.ZodArray<z.ZodObject<{
3293
3403
  id: z.ZodNumber;
@@ -3340,10 +3450,10 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
3340
3450
  utmCampaign: string | null;
3341
3451
  mailSubject: string | null;
3342
3452
  preHeaderText: string | null;
3343
- targets: {
3453
+ target_filters: {
3344
3454
  id: number;
3345
- behaviorSegumentCodes: string[];
3346
- profileSegumentCodes: string[];
3455
+ behaviorSegmentCodes: string[];
3456
+ profileSegmentCodes: string[];
3347
3457
  }[];
3348
3458
  projects: {
3349
3459
  id: number;
@@ -3367,10 +3477,10 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
3367
3477
  utmCampaign: string | null;
3368
3478
  mailSubject: string | null;
3369
3479
  preHeaderText: string | null;
3370
- targets: {
3480
+ target_filters: {
3371
3481
  id: number;
3372
- behaviorSegumentCodes: string[];
3373
- profileSegumentCodes: string[];
3482
+ behaviorSegmentCodes: string[];
3483
+ profileSegmentCodes: string[];
3374
3484
  }[];
3375
3485
  projects: {
3376
3486
  id: number;
@@ -3400,10 +3510,10 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
3400
3510
  utmCampaign: string | null;
3401
3511
  mailSubject: string | null;
3402
3512
  preHeaderText: string | null;
3403
- targets: {
3513
+ target_filters: {
3404
3514
  id: number;
3405
- behaviorSegumentCodes: string[];
3406
- profileSegumentCodes: string[];
3515
+ behaviorSegmentCodes: string[];
3516
+ profileSegmentCodes: string[];
3407
3517
  }[];
3408
3518
  projects: {
3409
3519
  id: number;
@@ -3434,10 +3544,10 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
3434
3544
  utmCampaign: string | null;
3435
3545
  mailSubject: string | null;
3436
3546
  preHeaderText: string | null;
3437
- targets: {
3547
+ target_filters: {
3438
3548
  id: number;
3439
- behaviorSegumentCodes: string[];
3440
- profileSegumentCodes: string[];
3549
+ behaviorSegmentCodes: string[];
3550
+ profileSegmentCodes: string[];
3441
3551
  }[];
3442
3552
  projects: {
3443
3553
  id: number;
@@ -3470,10 +3580,10 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
3470
3580
  utmCampaign: string | null;
3471
3581
  mailSubject: string | null;
3472
3582
  preHeaderText: string | null;
3473
- targets: {
3583
+ target_filters: {
3474
3584
  id: number;
3475
- behaviorSegumentCodes: string[];
3476
- profileSegumentCodes: string[];
3585
+ behaviorSegmentCodes: string[];
3586
+ profileSegmentCodes: string[];
3477
3587
  }[];
3478
3588
  projects: {
3479
3589
  id: number;
@@ -3520,10 +3630,10 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
3520
3630
  utmCampaign: string | null;
3521
3631
  mailSubject: string | null;
3522
3632
  preHeaderText: string | null;
3523
- targets: {
3633
+ target_filters: {
3524
3634
  id: number;
3525
- behaviorSegumentCodes: string[];
3526
- profileSegumentCodes: string[];
3635
+ behaviorSegmentCodes: string[];
3636
+ profileSegmentCodes: string[];
3527
3637
  }[];
3528
3638
  projects: {
3529
3639
  id: number;
@@ -3671,4 +3781,4 @@ declare const GetCampaignsResponse: z.ZodObject<{
3671
3781
  };
3672
3782
  }>;
3673
3783
 
3674
- export { Campaign, CampaignBaseFormData, CampaignDetail, CampaignDetailBase, CampaignDetailKindDataCurationMailMagazine, CampaignDetailKindDataPersonalizedMailMagazine, CampaignDetailWithCurationMailMagazine, CampaignDetailWithPersonalizedMailMagazine, CampaignFormData, CampaignKind, CampaignKindDataCurationMailMagazineFormData, CampaignKindDataPersonalizedMailMagazineFormData, CampaignStatus, CampaignWithCurationMailMagazineFormData, CampaignWithPersonalizedMailMagazineFormData, CampaignsCampaignIdResponse, CurationMailMagazineBanner, CurationMailMagazineBannerFormData, CurationMailMagazineDetail, CurationMailMagazineFormData, CurationMailMagazineProjectFormData, CurationMailMagazineTarget, CurationMailMagazineTargetFormData, CurationMailMagazineTargetProject, DeleteImageFormData, GetCampaignsResponse, GetProjectsProjectIdOrKeywordResponse, HttpErrorBadRequest, ImageFormData, Pagination, PatchCampaignsCampaignIdRequestBody, PersonalizedMailMagazineDetail, PersonalizedMailMagazineDetailTarget, PersonalizedMailMagazineFormData, PersonalizedMailMagazineTargetCsvFormData, PersonalizedMailMagazineTargetDeleteCsvFormData, PersonalizedMailMagazineTargetUploadCsvFormData, PersonalizedMailMagazineTargetUploadCsvRecordFormData, PostCampaignsRequestBody, PostCampaignsResponse, ReadyforProject, UploadImageFormData };
3784
+ export { Campaign, CampaignBaseFormData, CampaignDetail, CampaignDetailBase, CampaignDetailKindDataCurationMailMagazine, CampaignDetailKindDataPersonalizedMailMagazine, CampaignDetailWithCurationMailMagazine, CampaignDetailWithPersonalizedMailMagazine, CampaignFormData, CampaignKind, CampaignKindDataCurationMailMagazineFormData, CampaignKindDataPersonalizedMailMagazineFormData, CampaignStatus, CampaignWithCurationMailMagazineFormData, CampaignWithPersonalizedMailMagazineFormData, CampaignsCampaignIdResponse, CurationMailMagazineBanner, CurationMailMagazineBannerFormData, CurationMailMagazineDetail, CurationMailMagazineFormData, CurationMailMagazineProjectFormData, CurationMailMagazineTargetFilter, CurationMailMagazineTargetFilterFormData, CurationMailMagazineTargetProject, DeleteImageFormData, GetBehaviorSegmentsResponse, GetCampaignsResponse, GetProfileSegmentsResponse, GetProjectsProjectIdOrKeywordResponse, GetTargetUsersCountResponse, HttpErrorBadRequest, ImageFormData, Pagination, PatchCampaignsCampaignIdRequestBody, PersonalizedMailMagazineDetail, PersonalizedMailMagazineDetailTarget, PersonalizedMailMagazineFormData, PersonalizedMailMagazineTargetCsvFormData, PersonalizedMailMagazineTargetDeleteCsvFormData, PersonalizedMailMagazineTargetUploadCsvFormData, PersonalizedMailMagazineTargetUploadCsvRecordFormData, PostCampaignsRequestBody, PostCampaignsResponse, ReadyforProject, Segment, TargetFilterSegments, UploadImageFormData };