@readyfor/api-client-pigeon 0.187.0-pr967.5407288 → 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.
- package/dist/{chunk-OFV6CH56.mjs → chunk-3Z5NWUOW.mjs} +1 -1
- package/dist/chunk-4SU5CULQ.mjs +52 -0
- package/dist/{chunk-IWONQAFN.mjs → chunk-5MLVK6DT.mjs} +1 -1
- package/dist/chunk-BPH2HBOC.mjs +42 -0
- package/dist/{chunk-ZWYL7OFL.mjs → chunk-FQJQLQ46.mjs} +1 -1
- package/dist/{chunk-LXUPJN65.mjs → chunk-HSXALJPX.mjs} +1 -1
- package/dist/{chunk-324IXKQ7.mjs → chunk-IYLCHCAP.mjs} +25 -2
- package/dist/chunk-QUJ4NBJ3.mjs +19 -0
- package/dist/{chunk-SWDMGLLG.mjs → chunk-R2YUVCPF.mjs} +1 -1
- package/dist/chunk-SDN4KE74.mjs +19 -0
- package/dist/chunk-SM5VJ7AA.mjs +19 -0
- package/dist/{chunk-JGIFSXIQ.mjs → chunk-TLAACSJI.mjs} +1 -1
- package/dist/chunk-Z47EI77Z.mjs +42 -0
- package/dist/components.d.mts +187 -77
- package/dist/components.d.ts +187 -77
- package/dist/components.js +30 -2
- package/dist/components.mjs +11 -1
- package/dist/fetch/campaigns.js +20 -2
- package/dist/fetch/campaigns.mjs +2 -2
- package/dist/fetch/campaignsId.d.mts +8 -8
- package/dist/fetch/campaignsId.d.ts +8 -8
- package/dist/fetch/campaignsId.js +20 -2
- package/dist/fetch/campaignsId.mjs +2 -2
- package/dist/fetch/projectsProjectIdOrKeyword.js +20 -2
- package/dist/fetch/projectsProjectIdOrKeyword.mjs +2 -2
- package/dist/fetch/segmentsBehaviorSegments.d.mts +24 -0
- package/dist/fetch/segmentsBehaviorSegments.d.ts +24 -0
- package/dist/fetch/segmentsBehaviorSegments.js +251 -0
- package/dist/fetch/segmentsBehaviorSegments.mjs +9 -0
- package/dist/fetch/segmentsProfileSegments.d.mts +24 -0
- package/dist/fetch/segmentsProfileSegments.d.ts +24 -0
- package/dist/fetch/segmentsProfileSegments.js +251 -0
- package/dist/fetch/segmentsProfileSegments.mjs +9 -0
- package/dist/fetch/segmentsTargetUsersCount.d.mts +17 -0
- package/dist/fetch/segmentsTargetUsersCount.d.ts +17 -0
- package/dist/fetch/segmentsTargetUsersCount.js +251 -0
- package/dist/fetch/segmentsTargetUsersCount.mjs +9 -0
- package/dist/hooks/index.d.mts +6 -0
- package/dist/hooks/index.d.ts +6 -0
- package/dist/hooks/index.js +173 -16
- package/dist/hooks/index.mjs +36 -9
- package/dist/hooks/useCampaigns.js +33 -6
- package/dist/hooks/useCampaigns.mjs +9 -6
- package/dist/hooks/useCampaignsId.js +33 -6
- package/dist/hooks/useCampaignsId.mjs +9 -6
- package/dist/hooks/useProjectsProjectIdOrKeyword.js +33 -6
- package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +9 -6
- package/dist/hooks/useSegmentsBehaviorSegments.d.mts +37 -0
- package/dist/hooks/useSegmentsBehaviorSegments.d.ts +37 -0
- package/dist/hooks/useSegmentsBehaviorSegments.js +310 -0
- package/dist/hooks/useSegmentsBehaviorSegments.mjs +19 -0
- package/dist/hooks/useSegmentsProfileSegments.d.mts +37 -0
- package/dist/hooks/useSegmentsProfileSegments.d.ts +37 -0
- package/dist/hooks/useSegmentsProfileSegments.js +310 -0
- package/dist/hooks/useSegmentsProfileSegments.mjs +19 -0
- package/dist/hooks/useSegmentsTargetUsersCount.d.mts +38 -0
- package/dist/hooks/useSegmentsTargetUsersCount.d.ts +38 -0
- package/dist/hooks/useSegmentsTargetUsersCount.js +320 -0
- package/dist/hooks/useSegmentsTargetUsersCount.mjs +19 -0
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +66 -2
- package/dist/index.mjs +33 -5
- package/dist/schemaType.d.mts +113 -2
- package/dist/schemaType.d.ts +113 -2
- package/package.json +10 -9
- /package/dist/{chunk-M47LJF5A.mjs → chunk-CEHYORRT.mjs} +0 -0
package/dist/components.d.ts
CHANGED
|
@@ -271,16 +271,16 @@ declare const CurationMailMagazineTargetProject: z.ZodObject<{
|
|
|
271
271
|
}>;
|
|
272
272
|
declare const CurationMailMagazineTarget: z.ZodObject<{
|
|
273
273
|
id: z.ZodNumber;
|
|
274
|
-
|
|
275
|
-
|
|
274
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
275
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
276
276
|
}, "strip", z.ZodTypeAny, {
|
|
277
277
|
id: number;
|
|
278
|
-
|
|
279
|
-
|
|
278
|
+
behaviorSegmentCodes: string[];
|
|
279
|
+
profileSegmentCodes: string[];
|
|
280
280
|
}, {
|
|
281
281
|
id: number;
|
|
282
|
-
|
|
283
|
-
|
|
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
|
-
|
|
554
|
-
|
|
553
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
554
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
555
555
|
}, "strip", z.ZodTypeAny, {
|
|
556
556
|
id: number;
|
|
557
|
-
|
|
558
|
-
|
|
557
|
+
behaviorSegmentCodes: string[];
|
|
558
|
+
profileSegmentCodes: string[];
|
|
559
559
|
}, {
|
|
560
560
|
id: number;
|
|
561
|
-
|
|
562
|
-
|
|
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
|
-
|
|
618
|
-
|
|
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
|
-
|
|
645
|
-
|
|
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
|
-
|
|
1079
|
-
|
|
1078
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1079
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1080
1080
|
}, "strip", z.ZodTypeAny, {
|
|
1081
1081
|
id: number;
|
|
1082
|
-
|
|
1083
|
-
|
|
1082
|
+
behaviorSegmentCodes: string[];
|
|
1083
|
+
profileSegmentCodes: string[];
|
|
1084
1084
|
}, {
|
|
1085
1085
|
id: number;
|
|
1086
|
-
|
|
1087
|
-
|
|
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
|
-
|
|
1143
|
-
|
|
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
|
-
|
|
1170
|
-
|
|
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
|
-
|
|
1200
|
-
|
|
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
|
-
|
|
1230
|
-
|
|
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
|
-
|
|
1712
|
-
|
|
1711
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1712
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1713
1713
|
}, "strip", z.ZodTypeAny, {
|
|
1714
1714
|
id: number;
|
|
1715
|
-
|
|
1716
|
-
|
|
1715
|
+
behaviorSegmentCodes: string[];
|
|
1716
|
+
profileSegmentCodes: string[];
|
|
1717
1717
|
}, {
|
|
1718
1718
|
id: number;
|
|
1719
|
-
|
|
1720
|
-
|
|
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
|
-
|
|
1776
|
-
|
|
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
|
-
|
|
1803
|
-
|
|
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
|
-
|
|
1836
|
-
|
|
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
|
-
|
|
1870
|
-
|
|
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
|
-
|
|
2431
|
-
|
|
2449
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
2450
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
2432
2451
|
}, "strip", z.ZodTypeAny, {
|
|
2433
2452
|
id: number;
|
|
2434
|
-
|
|
2435
|
-
|
|
2453
|
+
behaviorSegmentCodes: string[];
|
|
2454
|
+
profileSegmentCodes: string[];
|
|
2436
2455
|
}, {
|
|
2437
2456
|
id: number;
|
|
2438
|
-
|
|
2439
|
-
|
|
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
|
-
|
|
2495
|
-
|
|
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
|
-
|
|
2522
|
-
|
|
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
|
-
|
|
2555
|
-
|
|
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
|
-
|
|
2589
|
-
|
|
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
|
-
|
|
3282
|
-
|
|
3391
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
3392
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
3283
3393
|
}, "strip", z.ZodTypeAny, {
|
|
3284
3394
|
id: number;
|
|
3285
|
-
|
|
3286
|
-
|
|
3395
|
+
behaviorSegmentCodes: string[];
|
|
3396
|
+
profileSegmentCodes: string[];
|
|
3287
3397
|
}, {
|
|
3288
3398
|
id: number;
|
|
3289
|
-
|
|
3290
|
-
|
|
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
|
-
|
|
3346
|
-
|
|
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
|
-
|
|
3373
|
-
|
|
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
|
-
|
|
3406
|
-
|
|
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
|
-
|
|
3440
|
-
|
|
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
|
-
|
|
3476
|
-
|
|
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
|
-
|
|
3526
|
-
|
|
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 };
|
package/dist/components.js
CHANGED
|
@@ -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
|
-
|
|
135
|
-
|
|
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
|
});
|
package/dist/components.mjs
CHANGED
|
@@ -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-
|
|
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
|
};
|
package/dist/fetch/campaigns.js
CHANGED
|
@@ -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
|
-
|
|
100
|
-
|
|
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
|
});
|
package/dist/fetch/campaigns.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
buildCampaignsPostFetcher,
|
|
4
4
|
getCampaigns,
|
|
5
5
|
postCampaigns
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-5MLVK6DT.mjs";
|
|
7
|
+
import "../chunk-IYLCHCAP.mjs";
|
|
8
8
|
export {
|
|
9
9
|
buildCampaignsGetFetcher,
|
|
10
10
|
buildCampaignsPostFetcher,
|