@readyfor/api-client-pigeon 0.231.0 → 0.233.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
|
@@ -54,6 +54,10 @@ var PersonalizedMailMagazineTargetUploadCsvFormData = z.object({
|
|
|
54
54
|
var PersonalizedMailMagazineTargetDeleteCsvFormData = z.object({
|
|
55
55
|
kind: z.literal("deleteTargetCsv")
|
|
56
56
|
});
|
|
57
|
+
var Image = z.object({
|
|
58
|
+
id: z.optional(z.number()),
|
|
59
|
+
key: z.optional(z.string())
|
|
60
|
+
});
|
|
57
61
|
var CurationMailMagazineDetailBase = z.object({
|
|
58
62
|
utmCampaign: z.union([z.string(), z.null()]),
|
|
59
63
|
subject: z.union([z.string(), z.null()]),
|
|
@@ -100,7 +104,8 @@ var CurationMailMagazineDetailBodyKindFreeFormat = CurationMailMagazineDetailBas
|
|
|
100
104
|
z.object({
|
|
101
105
|
bodyKind: z.literal("freeFormat"),
|
|
102
106
|
htmlBody: z.union([z.string(), z.null()]),
|
|
103
|
-
htmlStyle: z.union([z.string(), z.null()])
|
|
107
|
+
htmlStyle: z.union([z.string(), z.null()]),
|
|
108
|
+
images: z.array(Image)
|
|
104
109
|
})
|
|
105
110
|
);
|
|
106
111
|
var CurationMailMagazineDetailBodyKindTemplate = CurationMailMagazineDetailBase.merge(
|
|
@@ -244,6 +249,9 @@ var GetBehaviorSegmentsResponse = z.object({
|
|
|
244
249
|
var GetProjectsProjectIdOrKeywordResponse = z.object({
|
|
245
250
|
project: ReadyforProject
|
|
246
251
|
});
|
|
252
|
+
var PostCampaignsCampaignIdImagesReqeustBody = z.object({
|
|
253
|
+
image: z.union([z.any(), z.any()])
|
|
254
|
+
});
|
|
247
255
|
var PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody = z.object({
|
|
248
256
|
emails: z.array(z.string())
|
|
249
257
|
});
|
|
@@ -283,6 +291,7 @@ export {
|
|
|
283
291
|
CurationMailMagazineFormDataBase,
|
|
284
292
|
PersonalizedMailMagazineTargetUploadCsvFormData,
|
|
285
293
|
PersonalizedMailMagazineTargetDeleteCsvFormData,
|
|
294
|
+
Image,
|
|
286
295
|
CurationMailMagazineDetailBase,
|
|
287
296
|
CurationMailMagazineBanner,
|
|
288
297
|
CurationMailMagazineTargetProject,
|
|
@@ -324,6 +333,7 @@ export {
|
|
|
324
333
|
GetProfileSegmentsResponse,
|
|
325
334
|
GetBehaviorSegmentsResponse,
|
|
326
335
|
GetProjectsProjectIdOrKeywordResponse,
|
|
336
|
+
PostCampaignsCampaignIdImagesReqeustBody,
|
|
327
337
|
PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody,
|
|
328
338
|
GetCampaignsCampaignIdPreviewResponse,
|
|
329
339
|
HttpErrorBadRequest,
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/fetch/campaignsCampaignIdImagesId.ts
|
|
2
|
+
import {
|
|
3
|
+
createVoidFetcher,
|
|
4
|
+
__internal__requestUrl
|
|
5
|
+
} from "@readyfor/api-client-base";
|
|
6
|
+
var buildCampaignsCampaignIdImagesIdDeleteFetcher = (requestInit) => createVoidFetcher({ ...requestInit });
|
|
7
|
+
var deleteCampaignsCampaignIdImagesId = (path, requestInit) => buildCampaignsCampaignIdImagesIdDeleteFetcher()(
|
|
8
|
+
__internal__requestUrl("/api/campaigns/{campaign_id}/images/{id}", path),
|
|
9
|
+
{ ...requestInit, method: "DELETE" }
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
buildCampaignsCampaignIdImagesIdDeleteFetcher,
|
|
14
|
+
deleteCampaignsCampaignIdImagesId
|
|
15
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Image
|
|
3
|
+
} from "./chunk-NCXN5TY7.mjs";
|
|
4
|
+
|
|
5
|
+
// src/fetch/campaignsIdImages.ts
|
|
6
|
+
import {
|
|
7
|
+
createJsonFetcher,
|
|
8
|
+
__internal__requestUrl
|
|
9
|
+
} from "@readyfor/api-client-base";
|
|
10
|
+
var buildCampaignsIdImagesPostFetcher = (requestInit) => createJsonFetcher(Image, { ...requestInit });
|
|
11
|
+
var postCampaignsIdImages = (path, requestBody, requestInit) => buildCampaignsIdImagesPostFetcher()(
|
|
12
|
+
__internal__requestUrl("/api/campaigns/{id}/images", path),
|
|
13
|
+
{ ...requestInit, method: "POST", body: requestBody }
|
|
14
|
+
);
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
buildCampaignsIdImagesPostFetcher,
|
|
18
|
+
postCampaignsIdImages
|
|
19
|
+
};
|
package/dist/components.d.mts
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 };
|