@readyfor/api-client-pigeon 0.234.0 → 0.235.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/{chunk-JBIK37XF.mjs → chunk-3BSY3CC4.mjs} +1 -1
  2. package/dist/{chunk-YLSYZEYD.mjs → chunk-6DE2SHQZ.mjs} +1 -1
  3. package/dist/{chunk-6LSONB4R.mjs → chunk-BGIB7JQD.mjs} +1 -1
  4. package/dist/{chunk-DWK3THFC.mjs → chunk-D455PCO3.mjs} +1 -1
  5. package/dist/{chunk-MFD6PDGL.mjs → chunk-DH3UXOBA.mjs} +1 -1
  6. package/dist/{chunk-UHJHYPDD.mjs → chunk-DQW3ZEJN.mjs} +1 -1
  7. package/dist/{chunk-MUOOVRAF.mjs → chunk-EYJTETGN.mjs} +1 -1
  8. package/dist/{chunk-DW4VGGYV.mjs → chunk-KL2BCQLU.mjs} +1 -1
  9. package/dist/{chunk-ONZNEKBQ.mjs → chunk-LUUW3QOB.mjs} +1 -1
  10. package/dist/{chunk-AXEUH5XJ.mjs → chunk-MFCSQX6F.mjs} +1 -1
  11. package/dist/{chunk-SD2WO4C7.mjs → chunk-NKNUFH54.mjs} +1 -1
  12. package/dist/{chunk-NCXN5TY7.mjs → chunk-QCIAYUXK.mjs} +1 -4
  13. package/dist/{chunk-NTJXLXRQ.mjs → chunk-S2M3EJKW.mjs} +1 -1
  14. package/dist/{chunk-PBALXFBY.mjs → chunk-VJU27CZQ.mjs} +1 -1
  15. package/dist/{chunk-5VP5XVO5.mjs → chunk-VUY6GQWT.mjs} +1 -1
  16. package/dist/{chunk-GFU4MLXA.mjs → chunk-ZDQDW24D.mjs} +1 -1
  17. package/dist/components.d.mts +86 -86
  18. package/dist/components.d.ts +86 -86
  19. package/dist/components.js +1 -4
  20. package/dist/components.mjs +1 -1
  21. package/dist/fetch/campaigns.js +1 -4
  22. package/dist/fetch/campaigns.mjs +2 -2
  23. package/dist/fetch/campaignsId.d.mts +8 -8
  24. package/dist/fetch/campaignsId.d.ts +8 -8
  25. package/dist/fetch/campaignsId.js +1 -4
  26. package/dist/fetch/campaignsId.mjs +2 -2
  27. package/dist/fetch/campaignsIdImages.d.mts +4 -4
  28. package/dist/fetch/campaignsIdImages.d.ts +4 -4
  29. package/dist/fetch/campaignsIdImages.js +1 -4
  30. package/dist/fetch/campaignsIdImages.mjs +2 -2
  31. package/dist/fetch/campaignsIdPreview.js +1 -4
  32. package/dist/fetch/campaignsIdPreview.mjs +2 -2
  33. package/dist/fetch/projectsProjectIdOrKeyword.js +1 -4
  34. package/dist/fetch/projectsProjectIdOrKeyword.mjs +2 -2
  35. package/dist/fetch/segmentsBehaviorSegments.js +1 -4
  36. package/dist/fetch/segmentsBehaviorSegments.mjs +2 -2
  37. package/dist/fetch/segmentsProfileSegments.js +1 -4
  38. package/dist/fetch/segmentsProfileSegments.mjs +2 -2
  39. package/dist/fetch/segmentsTargetUsersCount.js +1 -4
  40. package/dist/fetch/segmentsTargetUsersCount.mjs +2 -2
  41. package/dist/hooks/index.js +1 -4
  42. package/dist/hooks/index.mjs +16 -16
  43. package/dist/hooks/useCampaigns.js +1 -4
  44. package/dist/hooks/useCampaigns.mjs +10 -10
  45. package/dist/hooks/useCampaignsId.js +1 -4
  46. package/dist/hooks/useCampaignsId.mjs +10 -10
  47. package/dist/hooks/useCampaignsIdPreview.js +1 -4
  48. package/dist/hooks/useCampaignsIdPreview.mjs +10 -10
  49. package/dist/hooks/useProjectsProjectIdOrKeyword.js +1 -4
  50. package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +10 -10
  51. package/dist/hooks/useSegmentsBehaviorSegments.js +1 -4
  52. package/dist/hooks/useSegmentsBehaviorSegments.mjs +10 -10
  53. package/dist/hooks/useSegmentsProfileSegments.js +1 -4
  54. package/dist/hooks/useSegmentsProfileSegments.mjs +10 -10
  55. package/dist/hooks/useSegmentsTargetUsersCount.js +1 -4
  56. package/dist/hooks/useSegmentsTargetUsersCount.mjs +10 -10
  57. package/dist/index.js +1 -4
  58. package/dist/index.mjs +9 -9
  59. package/dist/schemaType.d.mts +2 -2
  60. package/dist/schemaType.d.ts +2 -2
  61. package/package.json +3 -3
@@ -238,14 +238,14 @@ declare const PersonalizedMailMagazineTargetDeleteCsvFormData: z.ZodObject<{
238
238
  kind: "deleteTargetCsv";
239
239
  }>;
240
240
  declare const Image: z.ZodObject<{
241
- id: z.ZodOptional<z.ZodNumber>;
242
- key: z.ZodOptional<z.ZodString>;
241
+ id: z.ZodNumber;
242
+ key: z.ZodString;
243
243
  }, "strip", z.ZodTypeAny, {
244
- id?: number | undefined;
245
- key?: string | undefined;
244
+ id: number;
245
+ key: string;
246
246
  }, {
247
- id?: number | undefined;
248
- key?: string | undefined;
247
+ id: number;
248
+ key: string;
249
249
  }>;
250
250
  declare const CurationMailMagazineDetailBase: z.ZodObject<{
251
251
  utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
@@ -627,14 +627,14 @@ declare const CurationMailMagazineDetailBodyKindFreeFormat: z.ZodObject<z.object
627
627
  htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
628
628
  htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
629
629
  images: z.ZodArray<z.ZodObject<{
630
- id: z.ZodOptional<z.ZodNumber>;
631
- key: z.ZodOptional<z.ZodString>;
630
+ id: z.ZodNumber;
631
+ key: z.ZodString;
632
632
  }, "strip", z.ZodTypeAny, {
633
- id?: number | undefined;
634
- key?: string | undefined;
633
+ id: number;
634
+ key: string;
635
635
  }, {
636
- id?: number | undefined;
637
- key?: string | undefined;
636
+ id: number;
637
+ key: string;
638
638
  }>, "many">;
639
639
  }>, "strip", z.ZodTypeAny, {
640
640
  utmCampaign: string | null;
@@ -650,8 +650,8 @@ declare const CurationMailMagazineDetailBodyKindFreeFormat: z.ZodObject<z.object
650
650
  htmlBody: string | null;
651
651
  htmlStyle: string | null;
652
652
  images: {
653
- id?: number | undefined;
654
- key?: string | undefined;
653
+ id: number;
654
+ key: string;
655
655
  }[];
656
656
  }, {
657
657
  utmCampaign: string | null;
@@ -667,8 +667,8 @@ declare const CurationMailMagazineDetailBodyKindFreeFormat: z.ZodObject<z.object
667
667
  htmlBody: string | null;
668
668
  htmlStyle: string | null;
669
669
  images: {
670
- id?: number | undefined;
671
- key?: string | undefined;
670
+ id: number;
671
+ key: string;
672
672
  }[];
673
673
  }>;
674
674
  declare const CurationMailMagazineDetailBodyKindTemplate: z.ZodObject<z.objectUtil.extendShape<{
@@ -1251,14 +1251,14 @@ declare const CurationMailMagazineDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.e
1251
1251
  htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
1252
1252
  htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
1253
1253
  images: z.ZodArray<z.ZodObject<{
1254
- id: z.ZodOptional<z.ZodNumber>;
1255
- key: z.ZodOptional<z.ZodString>;
1254
+ id: z.ZodNumber;
1255
+ key: z.ZodString;
1256
1256
  }, "strip", z.ZodTypeAny, {
1257
- id?: number | undefined;
1258
- key?: string | undefined;
1257
+ id: number;
1258
+ key: string;
1259
1259
  }, {
1260
- id?: number | undefined;
1261
- key?: string | undefined;
1260
+ id: number;
1261
+ key: string;
1262
1262
  }>, "many">;
1263
1263
  }>, "strip", z.ZodTypeAny, {
1264
1264
  utmCampaign: string | null;
@@ -1274,8 +1274,8 @@ declare const CurationMailMagazineDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.e
1274
1274
  htmlBody: string | null;
1275
1275
  htmlStyle: string | null;
1276
1276
  images: {
1277
- id?: number | undefined;
1278
- key?: string | undefined;
1277
+ id: number;
1278
+ key: string;
1279
1279
  }[];
1280
1280
  }, {
1281
1281
  utmCampaign: string | null;
@@ -1291,8 +1291,8 @@ declare const CurationMailMagazineDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.e
1291
1291
  htmlBody: string | null;
1292
1292
  htmlStyle: string | null;
1293
1293
  images: {
1294
- id?: number | undefined;
1295
- key?: string | undefined;
1294
+ id: number;
1295
+ key: string;
1296
1296
  }[];
1297
1297
  }>]>;
1298
1298
  declare const CampaignStatus: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
@@ -1921,14 +1921,14 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
1921
1921
  htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
1922
1922
  htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
1923
1923
  images: z.ZodArray<z.ZodObject<{
1924
- id: z.ZodOptional<z.ZodNumber>;
1925
- key: z.ZodOptional<z.ZodString>;
1924
+ id: z.ZodNumber;
1925
+ key: z.ZodString;
1926
1926
  }, "strip", z.ZodTypeAny, {
1927
- id?: number | undefined;
1928
- key?: string | undefined;
1927
+ id: number;
1928
+ key: string;
1929
1929
  }, {
1930
- id?: number | undefined;
1931
- key?: string | undefined;
1930
+ id: number;
1931
+ key: string;
1932
1932
  }>, "many">;
1933
1933
  }>, "strip", z.ZodTypeAny, {
1934
1934
  utmCampaign: string | null;
@@ -1944,8 +1944,8 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
1944
1944
  htmlBody: string | null;
1945
1945
  htmlStyle: string | null;
1946
1946
  images: {
1947
- id?: number | undefined;
1948
- key?: string | undefined;
1947
+ id: number;
1948
+ key: string;
1949
1949
  }[];
1950
1950
  }, {
1951
1951
  utmCampaign: string | null;
@@ -1961,8 +1961,8 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
1961
1961
  htmlBody: string | null;
1962
1962
  htmlStyle: string | null;
1963
1963
  images: {
1964
- id?: number | undefined;
1965
- key?: string | undefined;
1964
+ id: number;
1965
+ key: string;
1966
1966
  }[];
1967
1967
  }>]>;
1968
1968
  }, "strip", z.ZodTypeAny, {
@@ -1981,8 +1981,8 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
1981
1981
  htmlBody: string | null;
1982
1982
  htmlStyle: string | null;
1983
1983
  images: {
1984
- id?: number | undefined;
1985
- key?: string | undefined;
1984
+ id: number;
1985
+ key: string;
1986
1986
  }[];
1987
1987
  } | {
1988
1988
  utmCampaign: string | null;
@@ -2029,8 +2029,8 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
2029
2029
  htmlBody: string | null;
2030
2030
  htmlStyle: string | null;
2031
2031
  images: {
2032
- id?: number | undefined;
2033
- key?: string | undefined;
2032
+ id: number;
2033
+ key: string;
2034
2034
  }[];
2035
2035
  } | {
2036
2036
  utmCampaign: string | null;
@@ -2758,14 +2758,14 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
2758
2758
  htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
2759
2759
  htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
2760
2760
  images: z.ZodArray<z.ZodObject<{
2761
- id: z.ZodOptional<z.ZodNumber>;
2762
- key: z.ZodOptional<z.ZodString>;
2761
+ id: z.ZodNumber;
2762
+ key: z.ZodString;
2763
2763
  }, "strip", z.ZodTypeAny, {
2764
- id?: number | undefined;
2765
- key?: string | undefined;
2764
+ id: number;
2765
+ key: string;
2766
2766
  }, {
2767
- id?: number | undefined;
2768
- key?: string | undefined;
2767
+ id: number;
2768
+ key: string;
2769
2769
  }>, "many">;
2770
2770
  }>, "strip", z.ZodTypeAny, {
2771
2771
  utmCampaign: string | null;
@@ -2781,8 +2781,8 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
2781
2781
  htmlBody: string | null;
2782
2782
  htmlStyle: string | null;
2783
2783
  images: {
2784
- id?: number | undefined;
2785
- key?: string | undefined;
2784
+ id: number;
2785
+ key: string;
2786
2786
  }[];
2787
2787
  }, {
2788
2788
  utmCampaign: string | null;
@@ -2798,8 +2798,8 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
2798
2798
  htmlBody: string | null;
2799
2799
  htmlStyle: string | null;
2800
2800
  images: {
2801
- id?: number | undefined;
2802
- key?: string | undefined;
2801
+ id: number;
2802
+ key: string;
2803
2803
  }[];
2804
2804
  }>]>;
2805
2805
  }>, "strip", z.ZodTypeAny, {
@@ -2821,8 +2821,8 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
2821
2821
  htmlBody: string | null;
2822
2822
  htmlStyle: string | null;
2823
2823
  images: {
2824
- id?: number | undefined;
2825
- key?: string | undefined;
2824
+ id: number;
2825
+ key: string;
2826
2826
  }[];
2827
2827
  } | {
2828
2828
  utmCampaign: string | null;
@@ -2873,8 +2873,8 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
2873
2873
  htmlBody: string | null;
2874
2874
  htmlStyle: string | null;
2875
2875
  images: {
2876
- id?: number | undefined;
2877
- key?: string | undefined;
2876
+ id: number;
2877
+ key: string;
2878
2878
  }[];
2879
2879
  } | {
2880
2880
  utmCampaign: string | null;
@@ -3731,14 +3731,14 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3731
3731
  htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
3732
3732
  htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
3733
3733
  images: z.ZodArray<z.ZodObject<{
3734
- id: z.ZodOptional<z.ZodNumber>;
3735
- key: z.ZodOptional<z.ZodString>;
3734
+ id: z.ZodNumber;
3735
+ key: z.ZodString;
3736
3736
  }, "strip", z.ZodTypeAny, {
3737
- id?: number | undefined;
3738
- key?: string | undefined;
3737
+ id: number;
3738
+ key: string;
3739
3739
  }, {
3740
- id?: number | undefined;
3741
- key?: string | undefined;
3740
+ id: number;
3741
+ key: string;
3742
3742
  }>, "many">;
3743
3743
  }>, "strip", z.ZodTypeAny, {
3744
3744
  utmCampaign: string | null;
@@ -3754,8 +3754,8 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3754
3754
  htmlBody: string | null;
3755
3755
  htmlStyle: string | null;
3756
3756
  images: {
3757
- id?: number | undefined;
3758
- key?: string | undefined;
3757
+ id: number;
3758
+ key: string;
3759
3759
  }[];
3760
3760
  }, {
3761
3761
  utmCampaign: string | null;
@@ -3771,8 +3771,8 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3771
3771
  htmlBody: string | null;
3772
3772
  htmlStyle: string | null;
3773
3773
  images: {
3774
- id?: number | undefined;
3775
- key?: string | undefined;
3774
+ id: number;
3775
+ key: string;
3776
3776
  }[];
3777
3777
  }>]>;
3778
3778
  }>, "strip", z.ZodTypeAny, {
@@ -3794,8 +3794,8 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3794
3794
  htmlBody: string | null;
3795
3795
  htmlStyle: string | null;
3796
3796
  images: {
3797
- id?: number | undefined;
3798
- key?: string | undefined;
3797
+ id: number;
3798
+ key: string;
3799
3799
  }[];
3800
3800
  } | {
3801
3801
  utmCampaign: string | null;
@@ -3846,8 +3846,8 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3846
3846
  htmlBody: string | null;
3847
3847
  htmlStyle: string | null;
3848
3848
  images: {
3849
- id?: number | undefined;
3850
- key?: string | undefined;
3849
+ id: number;
3850
+ key: string;
3851
3851
  }[];
3852
3852
  } | {
3853
3853
  utmCampaign: string | null;
@@ -4947,14 +4947,14 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
4947
4947
  htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
4948
4948
  htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
4949
4949
  images: z.ZodArray<z.ZodObject<{
4950
- id: z.ZodOptional<z.ZodNumber>;
4951
- key: z.ZodOptional<z.ZodString>;
4950
+ id: z.ZodNumber;
4951
+ key: z.ZodString;
4952
4952
  }, "strip", z.ZodTypeAny, {
4953
- id?: number | undefined;
4954
- key?: string | undefined;
4953
+ id: number;
4954
+ key: string;
4955
4955
  }, {
4956
- id?: number | undefined;
4957
- key?: string | undefined;
4956
+ id: number;
4957
+ key: string;
4958
4958
  }>, "many">;
4959
4959
  }>, "strip", z.ZodTypeAny, {
4960
4960
  utmCampaign: string | null;
@@ -4970,8 +4970,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
4970
4970
  htmlBody: string | null;
4971
4971
  htmlStyle: string | null;
4972
4972
  images: {
4973
- id?: number | undefined;
4974
- key?: string | undefined;
4973
+ id: number;
4974
+ key: string;
4975
4975
  }[];
4976
4976
  }, {
4977
4977
  utmCampaign: string | null;
@@ -4987,8 +4987,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
4987
4987
  htmlBody: string | null;
4988
4988
  htmlStyle: string | null;
4989
4989
  images: {
4990
- id?: number | undefined;
4991
- key?: string | undefined;
4990
+ id: number;
4991
+ key: string;
4992
4992
  }[];
4993
4993
  }>]>;
4994
4994
  }>, "strip", z.ZodTypeAny, {
@@ -5010,8 +5010,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
5010
5010
  htmlBody: string | null;
5011
5011
  htmlStyle: string | null;
5012
5012
  images: {
5013
- id?: number | undefined;
5014
- key?: string | undefined;
5013
+ id: number;
5014
+ key: string;
5015
5015
  }[];
5016
5016
  } | {
5017
5017
  utmCampaign: string | null;
@@ -5062,8 +5062,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
5062
5062
  htmlBody: string | null;
5063
5063
  htmlStyle: string | null;
5064
5064
  images: {
5065
- id?: number | undefined;
5066
- key?: string | undefined;
5065
+ id: number;
5066
+ key: string;
5067
5067
  }[];
5068
5068
  } | {
5069
5069
  utmCampaign: string | null;
@@ -5116,8 +5116,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
5116
5116
  htmlBody: string | null;
5117
5117
  htmlStyle: string | null;
5118
5118
  images: {
5119
- id?: number | undefined;
5120
- key?: string | undefined;
5119
+ id: number;
5120
+ key: string;
5121
5121
  }[];
5122
5122
  } | {
5123
5123
  utmCampaign: string | null;
@@ -5184,8 +5184,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
5184
5184
  htmlBody: string | null;
5185
5185
  htmlStyle: string | null;
5186
5186
  images: {
5187
- id?: number | undefined;
5188
- key?: string | undefined;
5187
+ id: number;
5188
+ key: string;
5189
5189
  }[];
5190
5190
  } | {
5191
5191
  utmCampaign: string | null;
@@ -140,10 +140,7 @@ var PersonalizedMailMagazineTargetUploadCsvFormData = import_zod.z.object({
140
140
  var PersonalizedMailMagazineTargetDeleteCsvFormData = import_zod.z.object({
141
141
  kind: import_zod.z.literal("deleteTargetCsv")
142
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
- });
143
+ var Image = import_zod.z.object({ id: import_zod.z.number(), key: import_zod.z.string() });
147
144
  var CurationMailMagazineDetailBase = import_zod.z.object({
148
145
  utmCampaign: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
149
146
  subject: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
@@ -62,7 +62,7 @@ import {
62
62
  Segment,
63
63
  TargetFilterSegments,
64
64
  UploadImageFormData
65
- } from "./chunk-NCXN5TY7.mjs";
65
+ } from "./chunk-QCIAYUXK.mjs";
66
66
  export {
67
67
  BodyKind,
68
68
  Campaign,
@@ -84,10 +84,7 @@ 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
+ var Image = import_zod.z.object({ id: import_zod.z.number(), key: import_zod.z.string() });
91
88
  var CurationMailMagazineDetailBase = import_zod.z.object({
92
89
  utmCampaign: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
93
90
  subject: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
@@ -3,8 +3,8 @@ import {
3
3
  buildCampaignsPostFetcher,
4
4
  getCampaigns,
5
5
  postCampaigns
6
- } from "../chunk-AXEUH5XJ.mjs";
7
- import "../chunk-NCXN5TY7.mjs";
6
+ } from "../chunk-MFCSQX6F.mjs";
7
+ import "../chunk-QCIAYUXK.mjs";
8
8
  export {
9
9
  buildCampaignsGetFetcher,
10
10
  buildCampaignsPostFetcher,
@@ -19,8 +19,8 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
19
19
  htmlBody: string | null;
20
20
  htmlStyle: string | null;
21
21
  images: {
22
- id?: number | undefined;
23
- key?: string | undefined;
22
+ id: number;
23
+ key: string;
24
24
  }[];
25
25
  } | {
26
26
  utmCampaign: string | null;
@@ -92,8 +92,8 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, requestInit?: RequestIn
92
92
  htmlBody: string | null;
93
93
  htmlStyle: string | null;
94
94
  images: {
95
- id?: number | undefined;
96
- key?: string | undefined;
95
+ id: number;
96
+ key: string;
97
97
  }[];
98
98
  } | {
99
99
  utmCampaign: string | null;
@@ -170,8 +170,8 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
170
170
  htmlBody: string | null;
171
171
  htmlStyle: string | null;
172
172
  images: {
173
- id?: number | undefined;
174
- key?: string | undefined;
173
+ id: number;
174
+ key: string;
175
175
  }[];
176
176
  } | {
177
177
  utmCampaign: string | null;
@@ -248,8 +248,8 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
248
248
  htmlBody: string | null;
249
249
  htmlStyle: string | null;
250
250
  images: {
251
- id?: number | undefined;
252
- key?: string | undefined;
251
+ id: number;
252
+ key: string;
253
253
  }[];
254
254
  } | {
255
255
  utmCampaign: string | null;
@@ -19,8 +19,8 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
19
19
  htmlBody: string | null;
20
20
  htmlStyle: string | null;
21
21
  images: {
22
- id?: number | undefined;
23
- key?: string | undefined;
22
+ id: number;
23
+ key: string;
24
24
  }[];
25
25
  } | {
26
26
  utmCampaign: string | null;
@@ -92,8 +92,8 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, requestInit?: RequestIn
92
92
  htmlBody: string | null;
93
93
  htmlStyle: string | null;
94
94
  images: {
95
- id?: number | undefined;
96
- key?: string | undefined;
95
+ id: number;
96
+ key: string;
97
97
  }[];
98
98
  } | {
99
99
  utmCampaign: string | null;
@@ -170,8 +170,8 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
170
170
  htmlBody: string | null;
171
171
  htmlStyle: string | null;
172
172
  images: {
173
- id?: number | undefined;
174
- key?: string | undefined;
173
+ id: number;
174
+ key: string;
175
175
  }[];
176
176
  } | {
177
177
  utmCampaign: string | null;
@@ -248,8 +248,8 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
248
248
  htmlBody: string | null;
249
249
  htmlStyle: string | null;
250
250
  images: {
251
- id?: number | undefined;
252
- key?: string | undefined;
251
+ id: number;
252
+ key: string;
253
253
  }[];
254
254
  } | {
255
255
  utmCampaign: string | null;
@@ -86,10 +86,7 @@ var PersonalizedMailMagazineTargetUploadCsvFormData = import_zod.z.object({
86
86
  var PersonalizedMailMagazineTargetDeleteCsvFormData = import_zod.z.object({
87
87
  kind: import_zod.z.literal("deleteTargetCsv")
88
88
  });
89
- var Image = import_zod.z.object({
90
- id: import_zod.z.optional(import_zod.z.number()),
91
- key: import_zod.z.optional(import_zod.z.string())
92
- });
89
+ var Image = import_zod.z.object({ id: import_zod.z.number(), key: import_zod.z.string() });
93
90
  var CurationMailMagazineDetailBase = import_zod.z.object({
94
91
  utmCampaign: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
95
92
  subject: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
@@ -5,8 +5,8 @@ import {
5
5
  deleteCampaignsId,
6
6
  getCampaignsId,
7
7
  patchCampaignsId
8
- } from "../chunk-MUOOVRAF.mjs";
9
- import "../chunk-NCXN5TY7.mjs";
8
+ } from "../chunk-EYJTETGN.mjs";
9
+ import "../chunk-QCIAYUXK.mjs";
10
10
  export {
11
11
  buildCampaignsIdDeleteFetcher,
12
12
  buildCampaignsIdGetFetcher,
@@ -4,8 +4,8 @@ import { ForceDig } from '@readyfor/api-client-base';
4
4
  type CampaignsIdImagesPostOperation = paths["/api/campaigns/{id}/images"]["post"];
5
5
  type CampaignsIdImagesPostResponse = CampaignsIdImagesPostOperation["responses"]["201"]["content"]["application/json"];
6
6
  declare const buildCampaignsIdImagesPostFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
7
- id?: number | undefined;
8
- key?: string | undefined;
7
+ id: number;
8
+ key: string;
9
9
  }>;
10
10
  type CampaignsIdImagesPostPath = ForceDig<CampaignsIdImagesPostOperation, [
11
11
  "parameters",
@@ -17,8 +17,8 @@ type CampaignsIdImagesPostRequestBody = ForceDig<CampaignsIdImagesPostOperation,
17
17
  "multipart/form-data"
18
18
  ]>;
19
19
  declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData, requestInit?: RequestInit) => Promise<{
20
- id?: number | undefined;
21
- key?: string | undefined;
20
+ id: number;
21
+ key: string;
22
22
  }>;
23
23
 
24
24
  export { type CampaignsIdImagesPostPath, type CampaignsIdImagesPostRequestBody, type CampaignsIdImagesPostResponse, buildCampaignsIdImagesPostFetcher, postCampaignsIdImages };
@@ -4,8 +4,8 @@ import { ForceDig } from '@readyfor/api-client-base';
4
4
  type CampaignsIdImagesPostOperation = paths["/api/campaigns/{id}/images"]["post"];
5
5
  type CampaignsIdImagesPostResponse = CampaignsIdImagesPostOperation["responses"]["201"]["content"]["application/json"];
6
6
  declare const buildCampaignsIdImagesPostFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
7
- id?: number | undefined;
8
- key?: string | undefined;
7
+ id: number;
8
+ key: string;
9
9
  }>;
10
10
  type CampaignsIdImagesPostPath = ForceDig<CampaignsIdImagesPostOperation, [
11
11
  "parameters",
@@ -17,8 +17,8 @@ type CampaignsIdImagesPostRequestBody = ForceDig<CampaignsIdImagesPostOperation,
17
17
  "multipart/form-data"
18
18
  ]>;
19
19
  declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData, requestInit?: RequestInit) => Promise<{
20
- id?: number | undefined;
21
- key?: string | undefined;
20
+ id: number;
21
+ key: string;
22
22
  }>;
23
23
 
24
24
  export { type CampaignsIdImagesPostPath, type CampaignsIdImagesPostRequestBody, type CampaignsIdImagesPostResponse, buildCampaignsIdImagesPostFetcher, postCampaignsIdImages };
@@ -82,10 +82,7 @@ var PersonalizedMailMagazineTargetUploadCsvFormData = import_zod.z.object({
82
82
  var PersonalizedMailMagazineTargetDeleteCsvFormData = import_zod.z.object({
83
83
  kind: import_zod.z.literal("deleteTargetCsv")
84
84
  });
85
- var Image = import_zod.z.object({
86
- id: import_zod.z.optional(import_zod.z.number()),
87
- key: import_zod.z.optional(import_zod.z.string())
88
- });
85
+ var Image = import_zod.z.object({ id: import_zod.z.number(), key: import_zod.z.string() });
89
86
  var CurationMailMagazineDetailBase = import_zod.z.object({
90
87
  utmCampaign: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
91
88
  subject: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  buildCampaignsIdImagesPostFetcher,
3
3
  postCampaignsIdImages
4
- } from "../chunk-YLSYZEYD.mjs";
5
- import "../chunk-NCXN5TY7.mjs";
4
+ } from "../chunk-6DE2SHQZ.mjs";
5
+ import "../chunk-QCIAYUXK.mjs";
6
6
  export {
7
7
  buildCampaignsIdImagesPostFetcher,
8
8
  postCampaignsIdImages
@@ -82,10 +82,7 @@ var PersonalizedMailMagazineTargetUploadCsvFormData = import_zod.z.object({
82
82
  var PersonalizedMailMagazineTargetDeleteCsvFormData = import_zod.z.object({
83
83
  kind: import_zod.z.literal("deleteTargetCsv")
84
84
  });
85
- var Image = import_zod.z.object({
86
- id: import_zod.z.optional(import_zod.z.number()),
87
- key: import_zod.z.optional(import_zod.z.string())
88
- });
85
+ var Image = import_zod.z.object({ id: import_zod.z.number(), key: import_zod.z.string() });
89
86
  var CurationMailMagazineDetailBase = import_zod.z.object({
90
87
  utmCampaign: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
91
88
  subject: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  buildCampaignsIdPreviewGetFetcher,
3
3
  getCampaignsIdPreview
4
- } from "../chunk-MFD6PDGL.mjs";
5
- import "../chunk-NCXN5TY7.mjs";
4
+ } from "../chunk-DH3UXOBA.mjs";
5
+ import "../chunk-QCIAYUXK.mjs";
6
6
  export {
7
7
  buildCampaignsIdPreviewGetFetcher,
8
8
  getCampaignsIdPreview
@@ -82,10 +82,7 @@ var PersonalizedMailMagazineTargetUploadCsvFormData = import_zod.z.object({
82
82
  var PersonalizedMailMagazineTargetDeleteCsvFormData = import_zod.z.object({
83
83
  kind: import_zod.z.literal("deleteTargetCsv")
84
84
  });
85
- var Image = import_zod.z.object({
86
- id: import_zod.z.optional(import_zod.z.number()),
87
- key: import_zod.z.optional(import_zod.z.string())
88
- });
85
+ var Image = import_zod.z.object({ id: import_zod.z.number(), key: import_zod.z.string() });
89
86
  var CurationMailMagazineDetailBase = import_zod.z.object({
90
87
  utmCampaign: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
91
88
  subject: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  buildProjectsProjectIdOrKeywordGetFetcher,
3
3
  getProjectsProjectIdOrKeyword
4
- } from "../chunk-PBALXFBY.mjs";
5
- import "../chunk-NCXN5TY7.mjs";
4
+ } from "../chunk-VJU27CZQ.mjs";
5
+ import "../chunk-QCIAYUXK.mjs";
6
6
  export {
7
7
  buildProjectsProjectIdOrKeywordGetFetcher,
8
8
  getProjectsProjectIdOrKeyword