@readyfor/api-client-pigeon 0.187.0 → 0.188.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.
Files changed (67) hide show
  1. package/dist/{chunk-OFV6CH56.mjs → chunk-3Z5NWUOW.mjs} +1 -1
  2. package/dist/chunk-4SU5CULQ.mjs +52 -0
  3. package/dist/{chunk-IWONQAFN.mjs → chunk-5MLVK6DT.mjs} +1 -1
  4. package/dist/chunk-BPH2HBOC.mjs +42 -0
  5. package/dist/{chunk-ZWYL7OFL.mjs → chunk-FQJQLQ46.mjs} +1 -1
  6. package/dist/{chunk-LXUPJN65.mjs → chunk-HSXALJPX.mjs} +1 -1
  7. package/dist/{chunk-324IXKQ7.mjs → chunk-IYLCHCAP.mjs} +25 -2
  8. package/dist/chunk-QUJ4NBJ3.mjs +19 -0
  9. package/dist/{chunk-SWDMGLLG.mjs → chunk-R2YUVCPF.mjs} +1 -1
  10. package/dist/chunk-SDN4KE74.mjs +19 -0
  11. package/dist/chunk-SM5VJ7AA.mjs +19 -0
  12. package/dist/{chunk-JGIFSXIQ.mjs → chunk-TLAACSJI.mjs} +1 -1
  13. package/dist/chunk-Z47EI77Z.mjs +42 -0
  14. package/dist/components.d.mts +187 -77
  15. package/dist/components.d.ts +187 -77
  16. package/dist/components.js +30 -2
  17. package/dist/components.mjs +11 -1
  18. package/dist/fetch/campaigns.js +20 -2
  19. package/dist/fetch/campaigns.mjs +2 -2
  20. package/dist/fetch/campaignsId.d.mts +8 -8
  21. package/dist/fetch/campaignsId.d.ts +8 -8
  22. package/dist/fetch/campaignsId.js +20 -2
  23. package/dist/fetch/campaignsId.mjs +2 -2
  24. package/dist/fetch/projectsProjectIdOrKeyword.js +20 -2
  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 +173 -16
  41. package/dist/hooks/index.mjs +36 -9
  42. package/dist/hooks/useCampaigns.js +33 -6
  43. package/dist/hooks/useCampaigns.mjs +9 -6
  44. package/dist/hooks/useCampaignsId.js +33 -6
  45. package/dist/hooks/useCampaignsId.mjs +9 -6
  46. package/dist/hooks/useProjectsProjectIdOrKeyword.js +33 -6
  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 +66 -2
  63. package/dist/index.mjs +33 -5
  64. package/dist/schemaType.d.mts +113 -2
  65. package/dist/schemaType.d.ts +113 -2
  66. package/package.json +3 -3
  67. /package/dist/{chunk-M47LJF5A.mjs → chunk-CEHYORRT.mjs} +0 -0
@@ -271,16 +271,16 @@ declare const CurationMailMagazineTargetProject: z.ZodObject<{
271
271
  }>;
272
272
  declare const CurationMailMagazineTarget: 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;
@@ -550,16 +550,16 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
550
550
  deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
551
551
  targets: 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;
@@ -614,8 +614,8 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
614
614
  preHeaderText: string | null;
615
615
  targets: {
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;
@@ -641,8 +641,8 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
641
641
  preHeaderText: string | null;
642
642
  targets: {
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;
@@ -1075,16 +1075,16 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
1075
1075
  deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
1076
1076
  targets: 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;
@@ -1139,8 +1139,8 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
1139
1139
  preHeaderText: string | null;
1140
1140
  targets: {
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;
@@ -1166,8 +1166,8 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
1166
1166
  preHeaderText: string | null;
1167
1167
  targets: {
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;
@@ -1196,8 +1196,8 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
1196
1196
  preHeaderText: string | null;
1197
1197
  targets: {
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;
@@ -1226,8 +1226,8 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
1226
1226
  preHeaderText: string | null;
1227
1227
  targets: {
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;
@@ -1708,16 +1708,16 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
1708
1708
  deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
1709
1709
  targets: 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;
@@ -1772,8 +1772,8 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
1772
1772
  preHeaderText: string | null;
1773
1773
  targets: {
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;
@@ -1799,8 +1799,8 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
1799
1799
  preHeaderText: string | null;
1800
1800
  targets: {
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;
@@ -1832,8 +1832,8 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
1832
1832
  preHeaderText: string | null;
1833
1833
  targets: {
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;
@@ -1866,8 +1866,8 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
1866
1866
  preHeaderText: string | null;
1867
1867
  targets: {
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;
@@ -2427,16 +2446,16 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2427
2446
  deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
2428
2447
  targets: 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;
@@ -2491,8 +2510,8 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2491
2510
  preHeaderText: string | null;
2492
2511
  targets: {
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;
@@ -2518,8 +2537,8 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2518
2537
  preHeaderText: string | null;
2519
2538
  targets: {
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;
@@ -2551,8 +2570,8 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2551
2570
  preHeaderText: string | null;
2552
2571
  targets: {
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;
@@ -2585,8 +2604,8 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2585
2604
  preHeaderText: string | null;
2586
2605
  targets: {
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 TargetSegments: 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 TargetUsersCountResponse: z.ZodObject<{
2695
+ count: z.ZodNumber;
2696
+ }, "strip", z.ZodTypeAny, {
2697
+ count: number;
2698
+ }, {
2699
+ count: number;
2700
+ }>;
2701
+ declare const GetSegmentsResponse_1: 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 GetSegmentsResponse: 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;
@@ -3278,16 +3388,16 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
3278
3388
  deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
3279
3389
  targets: 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;
@@ -3342,8 +3452,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
3342
3452
  preHeaderText: string | null;
3343
3453
  targets: {
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;
@@ -3369,8 +3479,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
3369
3479
  preHeaderText: string | null;
3370
3480
  targets: {
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;
@@ -3402,8 +3512,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
3402
3512
  preHeaderText: string | null;
3403
3513
  targets: {
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;
@@ -3436,8 +3546,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
3436
3546
  preHeaderText: string | null;
3437
3547
  targets: {
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;
@@ -3472,8 +3582,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
3472
3582
  preHeaderText: string | null;
3473
3583
  targets: {
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;
@@ -3522,8 +3632,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
3522
3632
  preHeaderText: string | null;
3523
3633
  targets: {
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, CurationMailMagazineTarget, CurationMailMagazineTargetFormData, CurationMailMagazineTargetProject, DeleteImageFormData, GetCampaignsResponse, GetProjectsProjectIdOrKeywordResponse, GetSegmentsResponse, GetSegmentsResponse_1, HttpErrorBadRequest, ImageFormData, Pagination, PatchCampaignsCampaignIdRequestBody, PersonalizedMailMagazineDetail, PersonalizedMailMagazineDetailTarget, PersonalizedMailMagazineFormData, PersonalizedMailMagazineTargetCsvFormData, PersonalizedMailMagazineTargetDeleteCsvFormData, PersonalizedMailMagazineTargetUploadCsvFormData, PersonalizedMailMagazineTargetUploadCsvRecordFormData, PostCampaignsRequestBody, PostCampaignsResponse, ReadyforProject, Segment, TargetSegments, TargetUsersCountResponse, UploadImageFormData };
@@ -47,6 +47,8 @@ __export(components_exports, {
47
47
  DeleteImageFormData: () => DeleteImageFormData,
48
48
  GetCampaignsResponse: () => GetCampaignsResponse,
49
49
  GetProjectsProjectIdOrKeywordResponse: () => GetProjectsProjectIdOrKeywordResponse,
50
+ GetSegmentsResponse: () => GetSegmentsResponse,
51
+ GetSegmentsResponse_1: () => GetSegmentsResponse_1,
50
52
  HttpErrorBadRequest: () => HttpErrorBadRequest,
51
53
  ImageFormData: () => ImageFormData,
52
54
  Pagination: () => Pagination,
@@ -61,6 +63,9 @@ __export(components_exports, {
61
63
  PostCampaignsRequestBody: () => PostCampaignsRequestBody,
62
64
  PostCampaignsResponse: () => PostCampaignsResponse,
63
65
  ReadyforProject: () => ReadyforProject,
66
+ Segment: () => Segment,
67
+ TargetSegments: () => TargetSegments,
68
+ TargetUsersCountResponse: () => TargetUsersCountResponse,
64
69
  UploadImageFormData: () => UploadImageFormData
65
70
  });
66
71
  module.exports = __toCommonJS(components_exports);
@@ -131,8 +136,8 @@ var CurationMailMagazineTargetProject = import_zod.z.object({
131
136
  });
132
137
  var CurationMailMagazineTarget = import_zod.z.object({
133
138
  id: import_zod.z.number(),
134
- behaviorSegumentCodes: import_zod.z.array(import_zod.z.string()),
135
- profileSegumentCodes: import_zod.z.array(import_zod.z.string())
139
+ behaviorSegmentCodes: import_zod.z.array(import_zod.z.string()),
140
+ profileSegmentCodes: import_zod.z.array(import_zod.z.string())
136
141
  });
137
142
  var PersonalizedMailMagazineDetailTarget = import_zod.z.object({
138
143
  csvFileName: import_zod.z.string(),
@@ -207,6 +212,13 @@ var CampaignKind = import_zod.z.union([
207
212
  import_zod.z.literal("curationMailMagazine"),
208
213
  import_zod.z.literal("personalizedMailMagazine")
209
214
  ]);
215
+ var Segment = import_zod.z.object({
216
+ code: import_zod.z.string(),
217
+ label: import_zod.z.string(),
218
+ isActive: import_zod.z.boolean(),
219
+ displayOrder: import_zod.z.union([import_zod.z.number(), import_zod.z.null()]),
220
+ description: import_zod.z.union([import_zod.z.string(), import_zod.z.null()])
221
+ });
210
222
  var ReadyforProject = import_zod.z.object({
211
223
  projectId: import_zod.z.number(),
212
224
  keyword: import_zod.z.string(),
@@ -240,6 +252,17 @@ var Campaign = import_zod.z.object({
240
252
  lastEditorName: import_zod.z.string(),
241
253
  lastEditedAt: import_zod.z.string()
242
254
  });
255
+ var TargetSegments = import_zod.z.object({
256
+ behaviorSegmentCodes: import_zod.z.array(import_zod.z.string()),
257
+ profileSegmentCodes: import_zod.z.array(import_zod.z.string())
258
+ });
259
+ var TargetUsersCountResponse = import_zod.z.object({ count: import_zod.z.number() });
260
+ var GetSegmentsResponse_1 = import_zod.z.object({
261
+ profileSegments: import_zod.z.array(Segment)
262
+ });
263
+ var GetSegmentsResponse = import_zod.z.object({
264
+ behaviorSegments: import_zod.z.array(Segment)
265
+ });
243
266
  var GetProjectsProjectIdOrKeywordResponse = import_zod.z.object({
244
267
  project: ReadyforProject
245
268
  });
@@ -285,6 +308,8 @@ var GetCampaignsResponse = import_zod.z.object({
285
308
  DeleteImageFormData,
286
309
  GetCampaignsResponse,
287
310
  GetProjectsProjectIdOrKeywordResponse,
311
+ GetSegmentsResponse,
312
+ GetSegmentsResponse_1,
288
313
  HttpErrorBadRequest,
289
314
  ImageFormData,
290
315
  Pagination,
@@ -299,5 +324,8 @@ var GetCampaignsResponse = import_zod.z.object({
299
324
  PostCampaignsRequestBody,
300
325
  PostCampaignsResponse,
301
326
  ReadyforProject,
327
+ Segment,
328
+ TargetSegments,
329
+ TargetUsersCountResponse,
302
330
  UploadImageFormData
303
331
  });
@@ -26,6 +26,8 @@ import {
26
26
  DeleteImageFormData,
27
27
  GetCampaignsResponse,
28
28
  GetProjectsProjectIdOrKeywordResponse,
29
+ GetSegmentsResponse,
30
+ GetSegmentsResponse_1,
29
31
  HttpErrorBadRequest,
30
32
  ImageFormData,
31
33
  Pagination,
@@ -40,8 +42,11 @@ import {
40
42
  PostCampaignsRequestBody,
41
43
  PostCampaignsResponse,
42
44
  ReadyforProject,
45
+ Segment,
46
+ TargetSegments,
47
+ TargetUsersCountResponse,
43
48
  UploadImageFormData
44
- } from "./chunk-324IXKQ7.mjs";
49
+ } from "./chunk-IYLCHCAP.mjs";
45
50
  export {
46
51
  Campaign,
47
52
  CampaignBaseFormData,
@@ -70,6 +75,8 @@ export {
70
75
  DeleteImageFormData,
71
76
  GetCampaignsResponse,
72
77
  GetProjectsProjectIdOrKeywordResponse,
78
+ GetSegmentsResponse,
79
+ GetSegmentsResponse_1,
73
80
  HttpErrorBadRequest,
74
81
  ImageFormData,
75
82
  Pagination,
@@ -84,5 +91,8 @@ export {
84
91
  PostCampaignsRequestBody,
85
92
  PostCampaignsResponse,
86
93
  ReadyforProject,
94
+ Segment,
95
+ TargetSegments,
96
+ TargetUsersCountResponse,
87
97
  UploadImageFormData
88
98
  };
@@ -96,8 +96,8 @@ var CurationMailMagazineTargetProject = import_zod.z.object({
96
96
  });
97
97
  var CurationMailMagazineTarget = import_zod.z.object({
98
98
  id: import_zod.z.number(),
99
- behaviorSegumentCodes: import_zod.z.array(import_zod.z.string()),
100
- profileSegumentCodes: import_zod.z.array(import_zod.z.string())
99
+ behaviorSegmentCodes: import_zod.z.array(import_zod.z.string()),
100
+ profileSegmentCodes: import_zod.z.array(import_zod.z.string())
101
101
  });
102
102
  var PersonalizedMailMagazineDetailTarget = import_zod.z.object({
103
103
  csvFileName: import_zod.z.string(),
@@ -172,6 +172,13 @@ var CampaignKind = import_zod.z.union([
172
172
  import_zod.z.literal("curationMailMagazine"),
173
173
  import_zod.z.literal("personalizedMailMagazine")
174
174
  ]);
175
+ var Segment = import_zod.z.object({
176
+ code: import_zod.z.string(),
177
+ label: import_zod.z.string(),
178
+ isActive: import_zod.z.boolean(),
179
+ displayOrder: import_zod.z.union([import_zod.z.number(), import_zod.z.null()]),
180
+ description: import_zod.z.union([import_zod.z.string(), import_zod.z.null()])
181
+ });
175
182
  var ReadyforProject = import_zod.z.object({
176
183
  projectId: import_zod.z.number(),
177
184
  keyword: import_zod.z.string(),
@@ -205,6 +212,17 @@ var Campaign = import_zod.z.object({
205
212
  lastEditorName: import_zod.z.string(),
206
213
  lastEditedAt: import_zod.z.string()
207
214
  });
215
+ var TargetSegments = import_zod.z.object({
216
+ behaviorSegmentCodes: import_zod.z.array(import_zod.z.string()),
217
+ profileSegmentCodes: import_zod.z.array(import_zod.z.string())
218
+ });
219
+ var TargetUsersCountResponse = import_zod.z.object({ count: import_zod.z.number() });
220
+ var GetSegmentsResponse_1 = import_zod.z.object({
221
+ profileSegments: import_zod.z.array(Segment)
222
+ });
223
+ var GetSegmentsResponse = import_zod.z.object({
224
+ behaviorSegments: import_zod.z.array(Segment)
225
+ });
208
226
  var GetProjectsProjectIdOrKeywordResponse = import_zod.z.object({
209
227
  project: ReadyforProject
210
228
  });
@@ -3,8 +3,8 @@ import {
3
3
  buildCampaignsPostFetcher,
4
4
  getCampaigns,
5
5
  postCampaigns
6
- } from "../chunk-IWONQAFN.mjs";
7
- import "../chunk-324IXKQ7.mjs";
6
+ } from "../chunk-5MLVK6DT.mjs";
7
+ import "../chunk-IYLCHCAP.mjs";
8
8
  export {
9
9
  buildCampaignsGetFetcher,
10
10
  buildCampaignsPostFetcher,