@readyfor/api-client-pigeon 0.232.0 → 0.234.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-ZZHKQCXY.mjs → chunk-5VP5XVO5.mjs} +1 -1
- package/dist/{chunk-ZYX2AFS4.mjs → chunk-6LSONB4R.mjs} +1 -1
- package/dist/{chunk-D7JE2YMF.mjs → chunk-AXEUH5XJ.mjs} +1 -1
- package/dist/{chunk-7ZHOH34G.mjs → chunk-DW4VGGYV.mjs} +1 -1
- package/dist/{chunk-KHZQ2L5S.mjs → chunk-DWK3THFC.mjs} +1 -1
- package/dist/{chunk-NFT6TXZ3.mjs → chunk-GFU4MLXA.mjs} +1 -1
- package/dist/{chunk-L34AOGVA.mjs → chunk-JBIK37XF.mjs} +1 -1
- package/dist/{chunk-2FXPVFGN.mjs → chunk-MFD6PDGL.mjs} +1 -1
- package/dist/{chunk-I22YVRCC.mjs → chunk-MUOOVRAF.mjs} +1 -1
- package/dist/{chunk-KTVSIGGC.mjs → chunk-NCXN5TY7.mjs} +11 -1
- package/dist/chunk-NIBXTDD3.mjs +15 -0
- package/dist/{chunk-WW4E6QHP.mjs → chunk-NTJXLXRQ.mjs} +1 -1
- package/dist/{chunk-DRYLEWXU.mjs → chunk-ONZNEKBQ.mjs} +1 -1
- package/dist/{chunk-B6ZEC3XE.mjs → chunk-PBALXFBY.mjs} +1 -1
- package/dist/{chunk-7BDJD4RY.mjs → chunk-SD2WO4C7.mjs} +1 -1
- package/dist/{chunk-WUFGYJWU.mjs → chunk-UHJHYPDD.mjs} +1 -1
- package/dist/chunk-YLSYZEYD.mjs +19 -0
- package/dist/components.d.mts +166 -1
- package/dist/components.d.ts +166 -1
- package/dist/components.js +13 -1
- package/dist/components.mjs +5 -1
- package/dist/fetch/campaigns.js +9 -1
- package/dist/fetch/campaigns.mjs +2 -2
- package/dist/fetch/campaignsCampaignIdImagesId.d.mts +12 -0
- package/dist/fetch/campaignsCampaignIdImagesId.d.ts +12 -0
- package/dist/fetch/campaignsCampaignIdImagesId.js +37 -0
- package/dist/fetch/campaignsCampaignIdImagesId.mjs +8 -0
- package/dist/fetch/campaignsId.d.mts +16 -0
- package/dist/fetch/campaignsId.d.ts +16 -0
- package/dist/fetch/campaignsId.js +9 -1
- package/dist/fetch/campaignsId.mjs +2 -2
- package/dist/fetch/campaignsIdImages.d.mts +24 -0
- package/dist/fetch/campaignsIdImages.d.ts +24 -0
- package/dist/fetch/campaignsIdImages.js +320 -0
- package/dist/fetch/campaignsIdImages.mjs +9 -0
- package/dist/fetch/campaignsIdPreview.js +9 -1
- package/dist/fetch/campaignsIdPreview.mjs +2 -2
- package/dist/fetch/projectsProjectIdOrKeyword.js +9 -1
- package/dist/fetch/projectsProjectIdOrKeyword.mjs +2 -2
- package/dist/fetch/segmentsBehaviorSegments.js +9 -1
- package/dist/fetch/segmentsBehaviorSegments.mjs +2 -2
- package/dist/fetch/segmentsProfileSegments.js +9 -1
- package/dist/fetch/segmentsProfileSegments.mjs +2 -2
- package/dist/fetch/segmentsTargetUsersCount.js +9 -1
- package/dist/fetch/segmentsTargetUsersCount.mjs +2 -2
- package/dist/hooks/index.js +51 -37
- package/dist/hooks/index.mjs +27 -25
- package/dist/hooks/useCampaigns.js +23 -9
- package/dist/hooks/useCampaigns.mjs +13 -11
- package/dist/hooks/useCampaignsId.js +23 -9
- package/dist/hooks/useCampaignsId.mjs +13 -11
- package/dist/hooks/useCampaignsIdPreview.js +23 -9
- package/dist/hooks/useCampaignsIdPreview.mjs +13 -11
- package/dist/hooks/useProjectsProjectIdOrKeyword.js +24 -10
- package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +13 -11
- package/dist/hooks/useSegmentsBehaviorSegments.js +24 -10
- package/dist/hooks/useSegmentsBehaviorSegments.mjs +13 -11
- package/dist/hooks/useSegmentsProfileSegments.js +24 -10
- package/dist/hooks/useSegmentsProfileSegments.mjs +13 -11
- package/dist/hooks/useSegmentsTargetUsersCount.js +24 -10
- package/dist/hooks/useSegmentsTargetUsersCount.mjs +13 -11
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +49 -13
- package/dist/index.mjs +31 -15
- package/dist/schemaType.d.mts +57 -0
- package/dist/schemaType.d.ts +57 -0
- package/package.json +3 -3
- /package/dist/{chunk-S7JMIMW4.mjs → chunk-5XEJOYX6.mjs} +0 -0
package/dist/components.d.ts
CHANGED
|
@@ -237,6 +237,16 @@ declare const PersonalizedMailMagazineTargetDeleteCsvFormData: z.ZodObject<{
|
|
|
237
237
|
}, {
|
|
238
238
|
kind: "deleteTargetCsv";
|
|
239
239
|
}>;
|
|
240
|
+
declare const Image: z.ZodObject<{
|
|
241
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
242
|
+
key: z.ZodOptional<z.ZodString>;
|
|
243
|
+
}, "strip", z.ZodTypeAny, {
|
|
244
|
+
id?: number | undefined;
|
|
245
|
+
key?: string | undefined;
|
|
246
|
+
}, {
|
|
247
|
+
id?: number | undefined;
|
|
248
|
+
key?: string | undefined;
|
|
249
|
+
}>;
|
|
240
250
|
declare const CurationMailMagazineDetailBase: z.ZodObject<{
|
|
241
251
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
242
252
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -616,6 +626,16 @@ declare const CurationMailMagazineDetailBodyKindFreeFormat: z.ZodObject<z.object
|
|
|
616
626
|
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
617
627
|
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
618
628
|
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
629
|
+
images: z.ZodArray<z.ZodObject<{
|
|
630
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
631
|
+
key: z.ZodOptional<z.ZodString>;
|
|
632
|
+
}, "strip", z.ZodTypeAny, {
|
|
633
|
+
id?: number | undefined;
|
|
634
|
+
key?: string | undefined;
|
|
635
|
+
}, {
|
|
636
|
+
id?: number | undefined;
|
|
637
|
+
key?: string | undefined;
|
|
638
|
+
}>, "many">;
|
|
619
639
|
}>, "strip", z.ZodTypeAny, {
|
|
620
640
|
utmCampaign: string | null;
|
|
621
641
|
subject: string | null;
|
|
@@ -629,6 +649,10 @@ declare const CurationMailMagazineDetailBodyKindFreeFormat: z.ZodObject<z.object
|
|
|
629
649
|
bodyKind: "freeFormat";
|
|
630
650
|
htmlBody: string | null;
|
|
631
651
|
htmlStyle: string | null;
|
|
652
|
+
images: {
|
|
653
|
+
id?: number | undefined;
|
|
654
|
+
key?: string | undefined;
|
|
655
|
+
}[];
|
|
632
656
|
}, {
|
|
633
657
|
utmCampaign: string | null;
|
|
634
658
|
subject: string | null;
|
|
@@ -642,6 +666,10 @@ declare const CurationMailMagazineDetailBodyKindFreeFormat: z.ZodObject<z.object
|
|
|
642
666
|
bodyKind: "freeFormat";
|
|
643
667
|
htmlBody: string | null;
|
|
644
668
|
htmlStyle: string | null;
|
|
669
|
+
images: {
|
|
670
|
+
id?: number | undefined;
|
|
671
|
+
key?: string | undefined;
|
|
672
|
+
}[];
|
|
645
673
|
}>;
|
|
646
674
|
declare const CurationMailMagazineDetailBodyKindTemplate: z.ZodObject<z.objectUtil.extendShape<{
|
|
647
675
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -1222,6 +1250,16 @@ declare const CurationMailMagazineDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
1222
1250
|
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
1223
1251
|
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1224
1252
|
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1253
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1254
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
1255
|
+
key: z.ZodOptional<z.ZodString>;
|
|
1256
|
+
}, "strip", z.ZodTypeAny, {
|
|
1257
|
+
id?: number | undefined;
|
|
1258
|
+
key?: string | undefined;
|
|
1259
|
+
}, {
|
|
1260
|
+
id?: number | undefined;
|
|
1261
|
+
key?: string | undefined;
|
|
1262
|
+
}>, "many">;
|
|
1225
1263
|
}>, "strip", z.ZodTypeAny, {
|
|
1226
1264
|
utmCampaign: string | null;
|
|
1227
1265
|
subject: string | null;
|
|
@@ -1235,6 +1273,10 @@ declare const CurationMailMagazineDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
1235
1273
|
bodyKind: "freeFormat";
|
|
1236
1274
|
htmlBody: string | null;
|
|
1237
1275
|
htmlStyle: string | null;
|
|
1276
|
+
images: {
|
|
1277
|
+
id?: number | undefined;
|
|
1278
|
+
key?: string | undefined;
|
|
1279
|
+
}[];
|
|
1238
1280
|
}, {
|
|
1239
1281
|
utmCampaign: string | null;
|
|
1240
1282
|
subject: string | null;
|
|
@@ -1248,6 +1290,10 @@ declare const CurationMailMagazineDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
1248
1290
|
bodyKind: "freeFormat";
|
|
1249
1291
|
htmlBody: string | null;
|
|
1250
1292
|
htmlStyle: string | null;
|
|
1293
|
+
images: {
|
|
1294
|
+
id?: number | undefined;
|
|
1295
|
+
key?: string | undefined;
|
|
1296
|
+
}[];
|
|
1251
1297
|
}>]>;
|
|
1252
1298
|
declare const CampaignStatus: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
1253
1299
|
declare const PersonalizedMailMagazineDetail: z.ZodObject<{
|
|
@@ -1874,6 +1920,16 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1874
1920
|
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
1875
1921
|
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1876
1922
|
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1923
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1924
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
1925
|
+
key: z.ZodOptional<z.ZodString>;
|
|
1926
|
+
}, "strip", z.ZodTypeAny, {
|
|
1927
|
+
id?: number | undefined;
|
|
1928
|
+
key?: string | undefined;
|
|
1929
|
+
}, {
|
|
1930
|
+
id?: number | undefined;
|
|
1931
|
+
key?: string | undefined;
|
|
1932
|
+
}>, "many">;
|
|
1877
1933
|
}>, "strip", z.ZodTypeAny, {
|
|
1878
1934
|
utmCampaign: string | null;
|
|
1879
1935
|
subject: string | null;
|
|
@@ -1887,6 +1943,10 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1887
1943
|
bodyKind: "freeFormat";
|
|
1888
1944
|
htmlBody: string | null;
|
|
1889
1945
|
htmlStyle: string | null;
|
|
1946
|
+
images: {
|
|
1947
|
+
id?: number | undefined;
|
|
1948
|
+
key?: string | undefined;
|
|
1949
|
+
}[];
|
|
1890
1950
|
}, {
|
|
1891
1951
|
utmCampaign: string | null;
|
|
1892
1952
|
subject: string | null;
|
|
@@ -1900,6 +1960,10 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1900
1960
|
bodyKind: "freeFormat";
|
|
1901
1961
|
htmlBody: string | null;
|
|
1902
1962
|
htmlStyle: string | null;
|
|
1963
|
+
images: {
|
|
1964
|
+
id?: number | undefined;
|
|
1965
|
+
key?: string | undefined;
|
|
1966
|
+
}[];
|
|
1903
1967
|
}>]>;
|
|
1904
1968
|
}, "strip", z.ZodTypeAny, {
|
|
1905
1969
|
kind: "curationMailMagazine";
|
|
@@ -1916,6 +1980,10 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1916
1980
|
bodyKind: "freeFormat";
|
|
1917
1981
|
htmlBody: string | null;
|
|
1918
1982
|
htmlStyle: string | null;
|
|
1983
|
+
images: {
|
|
1984
|
+
id?: number | undefined;
|
|
1985
|
+
key?: string | undefined;
|
|
1986
|
+
}[];
|
|
1919
1987
|
} | {
|
|
1920
1988
|
utmCampaign: string | null;
|
|
1921
1989
|
subject: string | null;
|
|
@@ -1960,6 +2028,10 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1960
2028
|
bodyKind: "freeFormat";
|
|
1961
2029
|
htmlBody: string | null;
|
|
1962
2030
|
htmlStyle: string | null;
|
|
2031
|
+
images: {
|
|
2032
|
+
id?: number | undefined;
|
|
2033
|
+
key?: string | undefined;
|
|
2034
|
+
}[];
|
|
1963
2035
|
} | {
|
|
1964
2036
|
utmCampaign: string | null;
|
|
1965
2037
|
subject: string | null;
|
|
@@ -2685,6 +2757,16 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
2685
2757
|
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
2686
2758
|
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2687
2759
|
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2760
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2761
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
2762
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2763
|
+
}, "strip", z.ZodTypeAny, {
|
|
2764
|
+
id?: number | undefined;
|
|
2765
|
+
key?: string | undefined;
|
|
2766
|
+
}, {
|
|
2767
|
+
id?: number | undefined;
|
|
2768
|
+
key?: string | undefined;
|
|
2769
|
+
}>, "many">;
|
|
2688
2770
|
}>, "strip", z.ZodTypeAny, {
|
|
2689
2771
|
utmCampaign: string | null;
|
|
2690
2772
|
subject: string | null;
|
|
@@ -2698,6 +2780,10 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
2698
2780
|
bodyKind: "freeFormat";
|
|
2699
2781
|
htmlBody: string | null;
|
|
2700
2782
|
htmlStyle: string | null;
|
|
2783
|
+
images: {
|
|
2784
|
+
id?: number | undefined;
|
|
2785
|
+
key?: string | undefined;
|
|
2786
|
+
}[];
|
|
2701
2787
|
}, {
|
|
2702
2788
|
utmCampaign: string | null;
|
|
2703
2789
|
subject: string | null;
|
|
@@ -2711,6 +2797,10 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
2711
2797
|
bodyKind: "freeFormat";
|
|
2712
2798
|
htmlBody: string | null;
|
|
2713
2799
|
htmlStyle: string | null;
|
|
2800
|
+
images: {
|
|
2801
|
+
id?: number | undefined;
|
|
2802
|
+
key?: string | undefined;
|
|
2803
|
+
}[];
|
|
2714
2804
|
}>]>;
|
|
2715
2805
|
}>, "strip", z.ZodTypeAny, {
|
|
2716
2806
|
kind: "curationMailMagazine";
|
|
@@ -2730,6 +2820,10 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
2730
2820
|
bodyKind: "freeFormat";
|
|
2731
2821
|
htmlBody: string | null;
|
|
2732
2822
|
htmlStyle: string | null;
|
|
2823
|
+
images: {
|
|
2824
|
+
id?: number | undefined;
|
|
2825
|
+
key?: string | undefined;
|
|
2826
|
+
}[];
|
|
2733
2827
|
} | {
|
|
2734
2828
|
utmCampaign: string | null;
|
|
2735
2829
|
subject: string | null;
|
|
@@ -2778,6 +2872,10 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
2778
2872
|
bodyKind: "freeFormat";
|
|
2779
2873
|
htmlBody: string | null;
|
|
2780
2874
|
htmlStyle: string | null;
|
|
2875
|
+
images: {
|
|
2876
|
+
id?: number | undefined;
|
|
2877
|
+
key?: string | undefined;
|
|
2878
|
+
}[];
|
|
2781
2879
|
} | {
|
|
2782
2880
|
utmCampaign: string | null;
|
|
2783
2881
|
subject: string | null;
|
|
@@ -3632,6 +3730,16 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3632
3730
|
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
3633
3731
|
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3634
3732
|
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3733
|
+
images: z.ZodArray<z.ZodObject<{
|
|
3734
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
3735
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3736
|
+
}, "strip", z.ZodTypeAny, {
|
|
3737
|
+
id?: number | undefined;
|
|
3738
|
+
key?: string | undefined;
|
|
3739
|
+
}, {
|
|
3740
|
+
id?: number | undefined;
|
|
3741
|
+
key?: string | undefined;
|
|
3742
|
+
}>, "many">;
|
|
3635
3743
|
}>, "strip", z.ZodTypeAny, {
|
|
3636
3744
|
utmCampaign: string | null;
|
|
3637
3745
|
subject: string | null;
|
|
@@ -3645,6 +3753,10 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3645
3753
|
bodyKind: "freeFormat";
|
|
3646
3754
|
htmlBody: string | null;
|
|
3647
3755
|
htmlStyle: string | null;
|
|
3756
|
+
images: {
|
|
3757
|
+
id?: number | undefined;
|
|
3758
|
+
key?: string | undefined;
|
|
3759
|
+
}[];
|
|
3648
3760
|
}, {
|
|
3649
3761
|
utmCampaign: string | null;
|
|
3650
3762
|
subject: string | null;
|
|
@@ -3658,6 +3770,10 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3658
3770
|
bodyKind: "freeFormat";
|
|
3659
3771
|
htmlBody: string | null;
|
|
3660
3772
|
htmlStyle: string | null;
|
|
3773
|
+
images: {
|
|
3774
|
+
id?: number | undefined;
|
|
3775
|
+
key?: string | undefined;
|
|
3776
|
+
}[];
|
|
3661
3777
|
}>]>;
|
|
3662
3778
|
}>, "strip", z.ZodTypeAny, {
|
|
3663
3779
|
kind: "curationMailMagazine";
|
|
@@ -3677,6 +3793,10 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3677
3793
|
bodyKind: "freeFormat";
|
|
3678
3794
|
htmlBody: string | null;
|
|
3679
3795
|
htmlStyle: string | null;
|
|
3796
|
+
images: {
|
|
3797
|
+
id?: number | undefined;
|
|
3798
|
+
key?: string | undefined;
|
|
3799
|
+
}[];
|
|
3680
3800
|
} | {
|
|
3681
3801
|
utmCampaign: string | null;
|
|
3682
3802
|
subject: string | null;
|
|
@@ -3725,6 +3845,10 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3725
3845
|
bodyKind: "freeFormat";
|
|
3726
3846
|
htmlBody: string | null;
|
|
3727
3847
|
htmlStyle: string | null;
|
|
3848
|
+
images: {
|
|
3849
|
+
id?: number | undefined;
|
|
3850
|
+
key?: string | undefined;
|
|
3851
|
+
}[];
|
|
3728
3852
|
} | {
|
|
3729
3853
|
utmCampaign: string | null;
|
|
3730
3854
|
subject: string | null;
|
|
@@ -3978,6 +4102,13 @@ declare const GetProjectsProjectIdOrKeywordResponse: z.ZodObject<{
|
|
|
3978
4102
|
abstract: string;
|
|
3979
4103
|
};
|
|
3980
4104
|
}>;
|
|
4105
|
+
declare const PostCampaignsCampaignIdImagesReqeustBody: z.ZodObject<{
|
|
4106
|
+
image: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
4107
|
+
}, "strip", z.ZodTypeAny, {
|
|
4108
|
+
image?: any;
|
|
4109
|
+
}, {
|
|
4110
|
+
image?: any;
|
|
4111
|
+
}>;
|
|
3981
4112
|
declare const PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody: z.ZodObject<{
|
|
3982
4113
|
emails: z.ZodArray<z.ZodString, "many">;
|
|
3983
4114
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4815,6 +4946,16 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
4815
4946
|
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
4816
4947
|
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4817
4948
|
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4949
|
+
images: z.ZodArray<z.ZodObject<{
|
|
4950
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
4951
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4952
|
+
}, "strip", z.ZodTypeAny, {
|
|
4953
|
+
id?: number | undefined;
|
|
4954
|
+
key?: string | undefined;
|
|
4955
|
+
}, {
|
|
4956
|
+
id?: number | undefined;
|
|
4957
|
+
key?: string | undefined;
|
|
4958
|
+
}>, "many">;
|
|
4818
4959
|
}>, "strip", z.ZodTypeAny, {
|
|
4819
4960
|
utmCampaign: string | null;
|
|
4820
4961
|
subject: string | null;
|
|
@@ -4828,6 +4969,10 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
4828
4969
|
bodyKind: "freeFormat";
|
|
4829
4970
|
htmlBody: string | null;
|
|
4830
4971
|
htmlStyle: string | null;
|
|
4972
|
+
images: {
|
|
4973
|
+
id?: number | undefined;
|
|
4974
|
+
key?: string | undefined;
|
|
4975
|
+
}[];
|
|
4831
4976
|
}, {
|
|
4832
4977
|
utmCampaign: string | null;
|
|
4833
4978
|
subject: string | null;
|
|
@@ -4841,6 +4986,10 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
4841
4986
|
bodyKind: "freeFormat";
|
|
4842
4987
|
htmlBody: string | null;
|
|
4843
4988
|
htmlStyle: string | null;
|
|
4989
|
+
images: {
|
|
4990
|
+
id?: number | undefined;
|
|
4991
|
+
key?: string | undefined;
|
|
4992
|
+
}[];
|
|
4844
4993
|
}>]>;
|
|
4845
4994
|
}>, "strip", z.ZodTypeAny, {
|
|
4846
4995
|
kind: "curationMailMagazine";
|
|
@@ -4860,6 +5009,10 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
4860
5009
|
bodyKind: "freeFormat";
|
|
4861
5010
|
htmlBody: string | null;
|
|
4862
5011
|
htmlStyle: string | null;
|
|
5012
|
+
images: {
|
|
5013
|
+
id?: number | undefined;
|
|
5014
|
+
key?: string | undefined;
|
|
5015
|
+
}[];
|
|
4863
5016
|
} | {
|
|
4864
5017
|
utmCampaign: string | null;
|
|
4865
5018
|
subject: string | null;
|
|
@@ -4908,6 +5061,10 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
4908
5061
|
bodyKind: "freeFormat";
|
|
4909
5062
|
htmlBody: string | null;
|
|
4910
5063
|
htmlStyle: string | null;
|
|
5064
|
+
images: {
|
|
5065
|
+
id?: number | undefined;
|
|
5066
|
+
key?: string | undefined;
|
|
5067
|
+
}[];
|
|
4911
5068
|
} | {
|
|
4912
5069
|
utmCampaign: string | null;
|
|
4913
5070
|
subject: string | null;
|
|
@@ -4958,6 +5115,10 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
4958
5115
|
bodyKind: "freeFormat";
|
|
4959
5116
|
htmlBody: string | null;
|
|
4960
5117
|
htmlStyle: string | null;
|
|
5118
|
+
images: {
|
|
5119
|
+
id?: number | undefined;
|
|
5120
|
+
key?: string | undefined;
|
|
5121
|
+
}[];
|
|
4961
5122
|
} | {
|
|
4962
5123
|
utmCampaign: string | null;
|
|
4963
5124
|
subject: string | null;
|
|
@@ -5022,6 +5183,10 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
5022
5183
|
bodyKind: "freeFormat";
|
|
5023
5184
|
htmlBody: string | null;
|
|
5024
5185
|
htmlStyle: string | null;
|
|
5186
|
+
images: {
|
|
5187
|
+
id?: number | undefined;
|
|
5188
|
+
key?: string | undefined;
|
|
5189
|
+
}[];
|
|
5025
5190
|
} | {
|
|
5026
5191
|
utmCampaign: string | null;
|
|
5027
5192
|
subject: string | null;
|
|
@@ -5235,4 +5400,4 @@ declare const GetCampaignsResponse: z.ZodObject<{
|
|
|
5235
5400
|
};
|
|
5236
5401
|
}>;
|
|
5237
5402
|
|
|
5238
|
-
export { BodyKind, Campaign, CampaignBase, CampaignBaseFormData, CampaignDetail, CampaignDetailBase, CampaignDetailKindDataCurationMailMagazine, CampaignDetailKindDataPersonalizedMailMagazine, CampaignDetailWithCurationMailMagazine, CampaignDetailWithPersonalizedMailMagazine, CampaignFormData, CampaignKind, CampaignKindDataCurationMailMagazineFormData, CampaignKindDataPersonalizedMailMagazineFormData, CampaignStatus, CampaignWithCurationMailMagazineFormData, CampaignWithPersonalizedMailMagazineFormData, CampaignsCampaignIdResponse, CreateCampaignKindCurationMailMagazineFormData, CreateCampaignKindPersonalizedMailMagazineFormData, CurationMailMagazineBanner, CurationMailMagazineBannerFormData, CurationMailMagazineCampaign, CurationMailMagazineDetail, CurationMailMagazineDetailBase, CurationMailMagazineDetailBodyKindFreeFormat, CurationMailMagazineDetailBodyKindTemplate, CurationMailMagazineFormData, CurationMailMagazineFormDataBase, CurationMailMagazineFormDataBodyKindFreeFormat, CurationMailMagazineFormDataBodyKindTemplate, CurationMailMagazineProjectFormData, CurationMailMagazineTargetFilter, CurationMailMagazineTargetFilterFormData, CurationMailMagazineTargetProject, DeleteImageFormData, GetBehaviorSegmentsResponse, GetCampaignsCampaignIdPreviewResponse, GetCampaignsResponse, GetProfileSegmentsResponse, GetProjectsProjectIdOrKeywordResponse, GetTargetUsersCountResponse, HttpErrorBadRequest, ImageFormData, Pagination, PatchCampaignsCampaignIdRequestBody, PersonalizedMailMagazineCampaign, PersonalizedMailMagazineDetail, PersonalizedMailMagazineDetailTarget, PersonalizedMailMagazineFormData, PersonalizedMailMagazineTargetCsvFormData, PersonalizedMailMagazineTargetDeleteCsvFormData, PersonalizedMailMagazineTargetUploadCsvFormData, PersonalizedMailMagazineTargetUploadCsvRecordFormData, PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody, PostCampaignsRequestBody, PostCampaignsResponse, ReadyforProject, Segment, TargetFilterSegments, UploadImageFormData };
|
|
5403
|
+
export { BodyKind, Campaign, CampaignBase, CampaignBaseFormData, CampaignDetail, CampaignDetailBase, CampaignDetailKindDataCurationMailMagazine, CampaignDetailKindDataPersonalizedMailMagazine, CampaignDetailWithCurationMailMagazine, CampaignDetailWithPersonalizedMailMagazine, CampaignFormData, CampaignKind, CampaignKindDataCurationMailMagazineFormData, CampaignKindDataPersonalizedMailMagazineFormData, CampaignStatus, CampaignWithCurationMailMagazineFormData, CampaignWithPersonalizedMailMagazineFormData, CampaignsCampaignIdResponse, CreateCampaignKindCurationMailMagazineFormData, CreateCampaignKindPersonalizedMailMagazineFormData, CurationMailMagazineBanner, CurationMailMagazineBannerFormData, CurationMailMagazineCampaign, CurationMailMagazineDetail, CurationMailMagazineDetailBase, CurationMailMagazineDetailBodyKindFreeFormat, CurationMailMagazineDetailBodyKindTemplate, CurationMailMagazineFormData, CurationMailMagazineFormDataBase, CurationMailMagazineFormDataBodyKindFreeFormat, CurationMailMagazineFormDataBodyKindTemplate, CurationMailMagazineProjectFormData, CurationMailMagazineTargetFilter, CurationMailMagazineTargetFilterFormData, CurationMailMagazineTargetProject, DeleteImageFormData, GetBehaviorSegmentsResponse, GetCampaignsCampaignIdPreviewResponse, GetCampaignsResponse, GetProfileSegmentsResponse, GetProjectsProjectIdOrKeywordResponse, GetTargetUsersCountResponse, HttpErrorBadRequest, Image, ImageFormData, Pagination, PatchCampaignsCampaignIdRequestBody, PersonalizedMailMagazineCampaign, PersonalizedMailMagazineDetail, PersonalizedMailMagazineDetailTarget, PersonalizedMailMagazineFormData, PersonalizedMailMagazineTargetCsvFormData, PersonalizedMailMagazineTargetDeleteCsvFormData, PersonalizedMailMagazineTargetUploadCsvFormData, PersonalizedMailMagazineTargetUploadCsvRecordFormData, PostCampaignsCampaignIdImagesReqeustBody, PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody, PostCampaignsRequestBody, PostCampaignsResponse, ReadyforProject, Segment, TargetFilterSegments, UploadImageFormData };
|
package/dist/components.js
CHANGED
|
@@ -63,6 +63,7 @@ __export(components_exports, {
|
|
|
63
63
|
GetProjectsProjectIdOrKeywordResponse: () => GetProjectsProjectIdOrKeywordResponse,
|
|
64
64
|
GetTargetUsersCountResponse: () => GetTargetUsersCountResponse,
|
|
65
65
|
HttpErrorBadRequest: () => HttpErrorBadRequest,
|
|
66
|
+
Image: () => Image,
|
|
66
67
|
ImageFormData: () => ImageFormData,
|
|
67
68
|
Pagination: () => Pagination,
|
|
68
69
|
PatchCampaignsCampaignIdRequestBody: () => PatchCampaignsCampaignIdRequestBody,
|
|
@@ -74,6 +75,7 @@ __export(components_exports, {
|
|
|
74
75
|
PersonalizedMailMagazineTargetDeleteCsvFormData: () => PersonalizedMailMagazineTargetDeleteCsvFormData,
|
|
75
76
|
PersonalizedMailMagazineTargetUploadCsvFormData: () => PersonalizedMailMagazineTargetUploadCsvFormData,
|
|
76
77
|
PersonalizedMailMagazineTargetUploadCsvRecordFormData: () => PersonalizedMailMagazineTargetUploadCsvRecordFormData,
|
|
78
|
+
PostCampaignsCampaignIdImagesReqeustBody: () => PostCampaignsCampaignIdImagesReqeustBody,
|
|
77
79
|
PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody: () => PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody,
|
|
78
80
|
PostCampaignsRequestBody: () => PostCampaignsRequestBody,
|
|
79
81
|
PostCampaignsResponse: () => PostCampaignsResponse,
|
|
@@ -138,6 +140,10 @@ var PersonalizedMailMagazineTargetUploadCsvFormData = import_zod.z.object({
|
|
|
138
140
|
var PersonalizedMailMagazineTargetDeleteCsvFormData = import_zod.z.object({
|
|
139
141
|
kind: import_zod.z.literal("deleteTargetCsv")
|
|
140
142
|
});
|
|
143
|
+
var Image = import_zod.z.object({
|
|
144
|
+
id: import_zod.z.optional(import_zod.z.number()),
|
|
145
|
+
key: import_zod.z.optional(import_zod.z.string())
|
|
146
|
+
});
|
|
141
147
|
var CurationMailMagazineDetailBase = import_zod.z.object({
|
|
142
148
|
utmCampaign: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
143
149
|
subject: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
@@ -184,7 +190,8 @@ var CurationMailMagazineDetailBodyKindFreeFormat = CurationMailMagazineDetailBas
|
|
|
184
190
|
import_zod.z.object({
|
|
185
191
|
bodyKind: import_zod.z.literal("freeFormat"),
|
|
186
192
|
htmlBody: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
187
|
-
htmlStyle: import_zod.z.union([import_zod.z.string(), import_zod.z.null()])
|
|
193
|
+
htmlStyle: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
194
|
+
images: import_zod.z.array(Image)
|
|
188
195
|
})
|
|
189
196
|
);
|
|
190
197
|
var CurationMailMagazineDetailBodyKindTemplate = CurationMailMagazineDetailBase.merge(
|
|
@@ -328,6 +335,9 @@ var GetBehaviorSegmentsResponse = import_zod.z.object({
|
|
|
328
335
|
var GetProjectsProjectIdOrKeywordResponse = import_zod.z.object({
|
|
329
336
|
project: ReadyforProject
|
|
330
337
|
});
|
|
338
|
+
var PostCampaignsCampaignIdImagesReqeustBody = import_zod.z.object({
|
|
339
|
+
image: import_zod.z.union([import_zod.z.any(), import_zod.z.any()])
|
|
340
|
+
});
|
|
331
341
|
var PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody = import_zod.z.object({
|
|
332
342
|
emails: import_zod.z.array(import_zod.z.string())
|
|
333
343
|
});
|
|
@@ -399,6 +409,7 @@ var GetCampaignsResponse = import_zod.z.object({
|
|
|
399
409
|
GetProjectsProjectIdOrKeywordResponse,
|
|
400
410
|
GetTargetUsersCountResponse,
|
|
401
411
|
HttpErrorBadRequest,
|
|
412
|
+
Image,
|
|
402
413
|
ImageFormData,
|
|
403
414
|
Pagination,
|
|
404
415
|
PatchCampaignsCampaignIdRequestBody,
|
|
@@ -410,6 +421,7 @@ var GetCampaignsResponse = import_zod.z.object({
|
|
|
410
421
|
PersonalizedMailMagazineTargetDeleteCsvFormData,
|
|
411
422
|
PersonalizedMailMagazineTargetUploadCsvFormData,
|
|
412
423
|
PersonalizedMailMagazineTargetUploadCsvRecordFormData,
|
|
424
|
+
PostCampaignsCampaignIdImagesReqeustBody,
|
|
413
425
|
PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody,
|
|
414
426
|
PostCampaignsRequestBody,
|
|
415
427
|
PostCampaignsResponse,
|
package/dist/components.mjs
CHANGED
|
@@ -42,6 +42,7 @@ import {
|
|
|
42
42
|
GetProjectsProjectIdOrKeywordResponse,
|
|
43
43
|
GetTargetUsersCountResponse,
|
|
44
44
|
HttpErrorBadRequest,
|
|
45
|
+
Image,
|
|
45
46
|
ImageFormData,
|
|
46
47
|
Pagination,
|
|
47
48
|
PatchCampaignsCampaignIdRequestBody,
|
|
@@ -53,6 +54,7 @@ import {
|
|
|
53
54
|
PersonalizedMailMagazineTargetDeleteCsvFormData,
|
|
54
55
|
PersonalizedMailMagazineTargetUploadCsvFormData,
|
|
55
56
|
PersonalizedMailMagazineTargetUploadCsvRecordFormData,
|
|
57
|
+
PostCampaignsCampaignIdImagesReqeustBody,
|
|
56
58
|
PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody,
|
|
57
59
|
PostCampaignsRequestBody,
|
|
58
60
|
PostCampaignsResponse,
|
|
@@ -60,7 +62,7 @@ import {
|
|
|
60
62
|
Segment,
|
|
61
63
|
TargetFilterSegments,
|
|
62
64
|
UploadImageFormData
|
|
63
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-NCXN5TY7.mjs";
|
|
64
66
|
export {
|
|
65
67
|
BodyKind,
|
|
66
68
|
Campaign,
|
|
@@ -105,6 +107,7 @@ export {
|
|
|
105
107
|
GetProjectsProjectIdOrKeywordResponse,
|
|
106
108
|
GetTargetUsersCountResponse,
|
|
107
109
|
HttpErrorBadRequest,
|
|
110
|
+
Image,
|
|
108
111
|
ImageFormData,
|
|
109
112
|
Pagination,
|
|
110
113
|
PatchCampaignsCampaignIdRequestBody,
|
|
@@ -116,6 +119,7 @@ export {
|
|
|
116
119
|
PersonalizedMailMagazineTargetDeleteCsvFormData,
|
|
117
120
|
PersonalizedMailMagazineTargetUploadCsvFormData,
|
|
118
121
|
PersonalizedMailMagazineTargetUploadCsvRecordFormData,
|
|
122
|
+
PostCampaignsCampaignIdImagesReqeustBody,
|
|
119
123
|
PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody,
|
|
120
124
|
PostCampaignsRequestBody,
|
|
121
125
|
PostCampaignsResponse,
|
package/dist/fetch/campaigns.js
CHANGED
|
@@ -84,6 +84,10 @@ var PersonalizedMailMagazineTargetUploadCsvFormData = import_zod.z.object({
|
|
|
84
84
|
var PersonalizedMailMagazineTargetDeleteCsvFormData = import_zod.z.object({
|
|
85
85
|
kind: import_zod.z.literal("deleteTargetCsv")
|
|
86
86
|
});
|
|
87
|
+
var Image = import_zod.z.object({
|
|
88
|
+
id: import_zod.z.optional(import_zod.z.number()),
|
|
89
|
+
key: import_zod.z.optional(import_zod.z.string())
|
|
90
|
+
});
|
|
87
91
|
var CurationMailMagazineDetailBase = import_zod.z.object({
|
|
88
92
|
utmCampaign: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
89
93
|
subject: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
@@ -130,7 +134,8 @@ var CurationMailMagazineDetailBodyKindFreeFormat = CurationMailMagazineDetailBas
|
|
|
130
134
|
import_zod.z.object({
|
|
131
135
|
bodyKind: import_zod.z.literal("freeFormat"),
|
|
132
136
|
htmlBody: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
133
|
-
htmlStyle: import_zod.z.union([import_zod.z.string(), import_zod.z.null()])
|
|
137
|
+
htmlStyle: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
138
|
+
images: import_zod.z.array(Image)
|
|
134
139
|
})
|
|
135
140
|
);
|
|
136
141
|
var CurationMailMagazineDetailBodyKindTemplate = CurationMailMagazineDetailBase.merge(
|
|
@@ -274,6 +279,9 @@ var GetBehaviorSegmentsResponse = import_zod.z.object({
|
|
|
274
279
|
var GetProjectsProjectIdOrKeywordResponse = import_zod.z.object({
|
|
275
280
|
project: ReadyforProject
|
|
276
281
|
});
|
|
282
|
+
var PostCampaignsCampaignIdImagesReqeustBody = import_zod.z.object({
|
|
283
|
+
image: import_zod.z.union([import_zod.z.any(), import_zod.z.any()])
|
|
284
|
+
});
|
|
277
285
|
var PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody = import_zod.z.object({
|
|
278
286
|
emails: import_zod.z.array(import_zod.z.string())
|
|
279
287
|
});
|
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-AXEUH5XJ.mjs";
|
|
7
|
+
import "../chunk-NCXN5TY7.mjs";
|
|
8
8
|
export {
|
|
9
9
|
buildCampaignsGetFetcher,
|
|
10
10
|
buildCampaignsPostFetcher,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { paths } from '../schemaType.mjs';
|
|
2
|
+
import { ForceDig } from '@readyfor/api-client-base';
|
|
3
|
+
|
|
4
|
+
type CampaignsCampaignIdImagesIdDeleteOperation = paths["/api/campaigns/{campaign_id}/images/{id}"]["delete"];
|
|
5
|
+
declare const buildCampaignsCampaignIdImagesIdDeleteFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
6
|
+
type CampaignsCampaignIdImagesIdDeletePath = ForceDig<CampaignsCampaignIdImagesIdDeleteOperation, [
|
|
7
|
+
"parameters",
|
|
8
|
+
"path"
|
|
9
|
+
]>;
|
|
10
|
+
declare const deleteCampaignsCampaignIdImagesId: (path: CampaignsCampaignIdImagesIdDeletePath, requestInit?: RequestInit) => Promise<void>;
|
|
11
|
+
|
|
12
|
+
export { type CampaignsCampaignIdImagesIdDeletePath, buildCampaignsCampaignIdImagesIdDeleteFetcher, deleteCampaignsCampaignIdImagesId };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { paths } from '../schemaType.js';
|
|
2
|
+
import { ForceDig } from '@readyfor/api-client-base';
|
|
3
|
+
|
|
4
|
+
type CampaignsCampaignIdImagesIdDeleteOperation = paths["/api/campaigns/{campaign_id}/images/{id}"]["delete"];
|
|
5
|
+
declare const buildCampaignsCampaignIdImagesIdDeleteFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
6
|
+
type CampaignsCampaignIdImagesIdDeletePath = ForceDig<CampaignsCampaignIdImagesIdDeleteOperation, [
|
|
7
|
+
"parameters",
|
|
8
|
+
"path"
|
|
9
|
+
]>;
|
|
10
|
+
declare const deleteCampaignsCampaignIdImagesId: (path: CampaignsCampaignIdImagesIdDeletePath, requestInit?: RequestInit) => Promise<void>;
|
|
11
|
+
|
|
12
|
+
export { type CampaignsCampaignIdImagesIdDeletePath, buildCampaignsCampaignIdImagesIdDeleteFetcher, deleteCampaignsCampaignIdImagesId };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/fetch/campaignsCampaignIdImagesId.ts
|
|
21
|
+
var campaignsCampaignIdImagesId_exports = {};
|
|
22
|
+
__export(campaignsCampaignIdImagesId_exports, {
|
|
23
|
+
buildCampaignsCampaignIdImagesIdDeleteFetcher: () => buildCampaignsCampaignIdImagesIdDeleteFetcher,
|
|
24
|
+
deleteCampaignsCampaignIdImagesId: () => deleteCampaignsCampaignIdImagesId
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(campaignsCampaignIdImagesId_exports);
|
|
27
|
+
var import_api_client_base = require("@readyfor/api-client-base");
|
|
28
|
+
var buildCampaignsCampaignIdImagesIdDeleteFetcher = (requestInit) => (0, import_api_client_base.createVoidFetcher)({ ...requestInit });
|
|
29
|
+
var deleteCampaignsCampaignIdImagesId = (path, requestInit) => buildCampaignsCampaignIdImagesIdDeleteFetcher()(
|
|
30
|
+
(0, import_api_client_base.__internal__requestUrl)("/api/campaigns/{campaign_id}/images/{id}", path),
|
|
31
|
+
{ ...requestInit, method: "DELETE" }
|
|
32
|
+
);
|
|
33
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
+
0 && (module.exports = {
|
|
35
|
+
buildCampaignsCampaignIdImagesIdDeleteFetcher,
|
|
36
|
+
deleteCampaignsCampaignIdImagesId
|
|
37
|
+
});
|
|
@@ -18,6 +18,10 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
18
18
|
bodyKind: "freeFormat";
|
|
19
19
|
htmlBody: string | null;
|
|
20
20
|
htmlStyle: string | null;
|
|
21
|
+
images: {
|
|
22
|
+
id?: number | undefined;
|
|
23
|
+
key?: string | undefined;
|
|
24
|
+
}[];
|
|
21
25
|
} | {
|
|
22
26
|
utmCampaign: string | null;
|
|
23
27
|
subject: string | null;
|
|
@@ -87,6 +91,10 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, requestInit?: RequestIn
|
|
|
87
91
|
bodyKind: "freeFormat";
|
|
88
92
|
htmlBody: string | null;
|
|
89
93
|
htmlStyle: string | null;
|
|
94
|
+
images: {
|
|
95
|
+
id?: number | undefined;
|
|
96
|
+
key?: string | undefined;
|
|
97
|
+
}[];
|
|
90
98
|
} | {
|
|
91
99
|
utmCampaign: string | null;
|
|
92
100
|
subject: string | null;
|
|
@@ -161,6 +169,10 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
161
169
|
bodyKind: "freeFormat";
|
|
162
170
|
htmlBody: string | null;
|
|
163
171
|
htmlStyle: string | null;
|
|
172
|
+
images: {
|
|
173
|
+
id?: number | undefined;
|
|
174
|
+
key?: string | undefined;
|
|
175
|
+
}[];
|
|
164
176
|
} | {
|
|
165
177
|
utmCampaign: string | null;
|
|
166
178
|
subject: string | null;
|
|
@@ -235,6 +247,10 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
235
247
|
bodyKind: "freeFormat";
|
|
236
248
|
htmlBody: string | null;
|
|
237
249
|
htmlStyle: string | null;
|
|
250
|
+
images: {
|
|
251
|
+
id?: number | undefined;
|
|
252
|
+
key?: string | undefined;
|
|
253
|
+
}[];
|
|
238
254
|
} | {
|
|
239
255
|
utmCampaign: string | null;
|
|
240
256
|
subject: string | null;
|