@planoly/planogram-config 1.0.1 → 1.0.5

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/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- var version = "1.0.1";
1
+ var version = "1.0.5";
2
2
  var platforms = [
3
3
  {
4
4
  name: "tiktok",
@@ -230,11 +230,11 @@ var platforms = [
230
230
  },
231
231
  {
232
232
  type: "autoPostVideoMaxDimensions",
233
- userErrorMessage: "Media ineligible for auto-post. Crop your video to be a maximum of 1920 pixels in width and height to meet Instagram's guidelines.",
233
+ userErrorMessage: "Media ineligible for auto-post. Crop your video to be a maximum of 2160 pixels in width and 3840 pixels in height to meet Instagram's guidelines.",
234
234
  errorHelpLink: "https://help.planoly.com/knowledge/auto-post-guidelines-and-limitations",
235
235
  parameters: {
236
- width: 1920,
237
- height: 1920
236
+ width: 2160,
237
+ height: 3840
238
238
  }
239
239
  },
240
240
  {
@@ -437,11 +437,11 @@ var platforms = [
437
437
  },
438
438
  {
439
439
  type: "autoPostVideoMaxDimensions",
440
- userErrorMessage: "Media ineligible for auto-post. Crop your video to be a maximum of 1920 pixels in width and height to meet Instagram's guidelines.",
440
+ userErrorMessage: "Media ineligible for auto-post. Crop your video to be a maximum of 1920 pixels in width and 3840 pixels in height to meet Instagram's guidelines.",
441
441
  errorHelpLink: "https://help.planoly.com/knowledge/auto-post-guidelines-and-limitations",
442
442
  parameters: {
443
- width: 1920,
444
- height: 1920
443
+ width: 2160,
444
+ height: 3840
445
445
  }
446
446
  },
447
447
  {
@@ -608,11 +608,11 @@ var platforms = [
608
608
  },
609
609
  {
610
610
  type: "autoPostVideoMaxDimensions",
611
- userErrorMessage: "Media ineligible for auto-post. Crop your video to be a maximum of 1920 pixels in width and height to meet Instagram's guidelines.",
611
+ userErrorMessage: "Media ineligible for auto-post. Crop your video to be a maximum of 2160 pixels in width and 3840 pixels in height to meet Instagram's guidelines.",
612
612
  errorHelpLink: "https://help.planoly.com/knowledge/auto-post-guidelines-and-limitations",
613
613
  parameters: {
614
- width: 1920,
615
- height: 1920
614
+ width: 2160,
615
+ height: 3840
616
616
  }
617
617
  },
618
618
  {
@@ -1930,7 +1930,7 @@ var platforms = [
1930
1930
  },
1931
1931
  {
1932
1932
  type: "allowedMediaTypes",
1933
- userErrorMessage: "Media ineligible for posting. Image Pin must be uploaded in .jpg, .png, .mov, or .mp4 format. Adjust your file type and re-upload to meet Instagram guidelines.",
1933
+ userErrorMessage: "Media ineligible for posting. Pin must be uploaded in .jpg, .png, .tiff, .webp, .mov, or .mp4 format. Adjust your file type and re-upload to meet Pinterest guidelines.",
1934
1934
  errorHelpLink: "https://help.planoly.com/knowledge"
1935
1935
  },
1936
1936
  {
@@ -2016,269 +2016,6 @@ var platforms = [
2016
2016
  }
2017
2017
  }
2018
2018
  ]
2019
- },
2020
- {
2021
- name: "Video Pin",
2022
- allowAutoPost: true,
2023
- allowFirstComment: false,
2024
- allowedMediaTypes: [
2025
- "video/mp4",
2026
- "video/mp4v",
2027
- "video/quicktime"
2028
- ],
2029
- allowMultipleAssets: false,
2030
- allowedMultipleAssetMediaTypes: [
2031
- "video/mp4",
2032
- "video/mp4v",
2033
- "video/quicktime"
2034
- ],
2035
- hasCaptions: true,
2036
- hasTitle: true,
2037
- allowNotifySubscribers: false,
2038
- allowVisibility: false,
2039
- visibilityOptions: [
2040
- ],
2041
- coverPhotoSource: [
2042
- "image"
2043
- ],
2044
- allowHashtags: true,
2045
- allowSoundUrl: false,
2046
- allowSnipfeed: false,
2047
- allowSoundUrlForAutopost: false,
2048
- allowAddLink: true,
2049
- allowBoards: true,
2050
- allowUserTagging: false,
2051
- allowProductTagging: false,
2052
- allowLocationTagging: false,
2053
- allowTagInLinkit: false,
2054
- allowASINTagging: false,
2055
- allowShareToFeed: false,
2056
- allowOptions: true,
2057
- allowCanva: false,
2058
- allowCollaboratorTagging: false,
2059
- canvaDesignType: "PinterestVideoPin",
2060
- allowImageCompression: false,
2061
- allowCoverPhoto: false,
2062
- allowedCoverPhotoTypes: [
2063
- ],
2064
- allowCoverPhotoCanva: false,
2065
- allowCoverPhotoImageCompression: false,
2066
- validations: [
2067
- {
2068
- type: "futureDate",
2069
- userErrorMessage: "Media ineligible for posting. Please choose a date and time at least 5 minutes in the future.",
2070
- errorHelpLink: "https://help.planoly.com/knowledge",
2071
- parameters: {
2072
- value: 5
2073
- }
2074
- },
2075
- {
2076
- type: "manualPostCaptionLength",
2077
- userErrorMessage: "Caption ineligible for posting. Your caption must be between 0 and 500 characters. Adjust caption length to meet Pinterest guidelines.",
2078
- errorHelpLink: "https://help.planoly.com/knowledge",
2079
- parameters: {
2080
- min: 0,
2081
- max: 500
2082
- }
2083
- },
2084
- {
2085
- type: "autoPostCaptionLength",
2086
- userErrorMessage: "Caption ineligible for auto-post. Your caption must be between 0 and 500 characters. Adjust caption length to meet Pinterest guidelines.",
2087
- errorHelpLink: "https://help.planoly.com/knowledge",
2088
- parameters: {
2089
- min: 0,
2090
- max: 500
2091
- }
2092
- },
2093
- {
2094
- type: "titleLength",
2095
- userErrorMessage: "Title ineligible for auto-post. Your title must be between 0 and 100 characters. Adjust title length to meet Pinterest guidelines.",
2096
- errorHelpLink: "https://help.planoly.com/knowledge",
2097
- parameters: {
2098
- min: 0,
2099
- max: 100
2100
- }
2101
- },
2102
- {
2103
- type: "numberOfAssets",
2104
- userErrorMessage: "Media ineligible for auto-post. Upload 1 image or video file to meet Pinterest guidelines.",
2105
- errorHelpLink: "https://help.planoly.com/knowledge",
2106
- parameters: {
2107
- min: 1,
2108
- max: 1
2109
- }
2110
- },
2111
- {
2112
- type: "autoPostVideoLength",
2113
- userErrorMessage: "Media ineligible for auto-post. Your video duration must be between 4 seconds and 5 minutes. Adjust length & re-upload a new duration to meet Pinterest guidelines.",
2114
- errorHelpLink: "https://help.planoly.com/knowledge",
2115
- parameters: {
2116
- min: 3,
2117
- max: 300
2118
- }
2119
- },
2120
- {
2121
- type: "autoPostVideoSize",
2122
- userErrorMessage: "Media ineligible for auto-post. Your video size must be less than 300MB. Adjust size & re-upload to meet Pinterest guidelines.",
2123
- errorHelpLink: "https://help.planoly.com/knowledge",
2124
- parameters: {
2125
- value: 300
2126
- }
2127
- },
2128
- {
2129
- type: "autoPostVideoSize",
2130
- userErrorMessage: "Media ineligible for auto-post. Your video size must be less than 300MB. Adjust size & re-upload to meet Pinterest guidelines.",
2131
- errorHelpLink: "https://help.planoly.com/knowledge",
2132
- parameters: {
2133
- value: 300
2134
- }
2135
- },
2136
- {
2137
- type: "allowedMediaTypes",
2138
- userErrorMessage: "Media ineligible for posting. Video Pin must be uploaded in .mov, or .mp4 format. Adjust your file type and re-upload to meet Pinterest guidelines.",
2139
- errorHelpLink: "https://help.planoly.com/knowledge"
2140
- },
2141
- {
2142
- type: "aspectRatio",
2143
- userErrorMessage: "Media ineligible for posting. Media must be in the correct aspect ratio (1:2, 2:3, 3:4, 4:5, 9:16 or 1:1). Adjust your file type and re-upload to meet Pinterest guidelines.",
2144
- errorHelpLink: "https://help.planoly.com/knowledge",
2145
- parameters: [
2146
- "1:1",
2147
- "1:2",
2148
- "2:3",
2149
- "3:4",
2150
- "4:5",
2151
- "9:16"
2152
- ]
2153
- },
2154
- {
2155
- type: "hashtagLimit",
2156
- userErrorMessage: "Hashtag limit exceeded. Please remove additional hashtags to continue.",
2157
- parameters: {
2158
- min: 0,
2159
- max: 30
2160
- }
2161
- }
2162
- ]
2163
- },
2164
- {
2165
- name: "Image Pin",
2166
- allowAutoPost: true,
2167
- allowFirstComment: false,
2168
- allowedMediaTypes: [
2169
- "image/jpeg",
2170
- "image/png",
2171
- "image/tiff",
2172
- "image/webp"
2173
- ],
2174
- allowMultipleAssets: false,
2175
- allowedMultipleAssetMediaTypes: [
2176
- ],
2177
- hasCaptions: true,
2178
- hasTitle: true,
2179
- allowNotifySubscribers: false,
2180
- allowVisibility: false,
2181
- visibilityOptions: [
2182
- ],
2183
- coverPhotoSource: [
2184
- ],
2185
- allowHashtags: true,
2186
- allowSoundUrl: false,
2187
- allowSnipfeed: false,
2188
- allowSoundUrlForAutopost: false,
2189
- allowAddLink: true,
2190
- allowBoards: true,
2191
- allowUserTagging: false,
2192
- allowProductTagging: false,
2193
- allowLocationTagging: false,
2194
- allowTagInLinkit: false,
2195
- allowASINTagging: false,
2196
- allowShareToFeed: false,
2197
- allowOptions: true,
2198
- allowCanva: true,
2199
- allowCollaboratorTagging: false,
2200
- canvaDesignType: "PinterestImagePin",
2201
- allowImageCompression: false,
2202
- allowCoverPhoto: false,
2203
- allowedCoverPhotoTypes: [
2204
- ],
2205
- allowCoverPhotoCanva: false,
2206
- allowCoverPhotoImageCompression: false,
2207
- validations: [
2208
- {
2209
- type: "futureDate",
2210
- userErrorMessage: "Media ineligible for posting. Please choose a date and time at least 5 minutes in the future.",
2211
- errorHelpLink: "https://help.planoly.com/knowledge",
2212
- parameters: {
2213
- value: 5
2214
- }
2215
- },
2216
- {
2217
- type: "manualPostCaptionLength",
2218
- userErrorMessage: "Caption ineligible for posting. Your caption must be between 0 and 500 characters. Adjust caption length to meet Pinterest guidelines.",
2219
- errorHelpLink: "https://help.planoly.com/knowledge",
2220
- parameters: {
2221
- min: 0,
2222
- max: 500
2223
- }
2224
- },
2225
- {
2226
- type: "autoPostCaptionLength",
2227
- userErrorMessage: "Caption ineligible for auto-post. Your caption must be between 0 and 500 characters. Adjust caption length to meet Pinterest guidelines.",
2228
- errorHelpLink: "https://help.planoly.com/knowledge",
2229
- parameters: {
2230
- min: 0,
2231
- max: 500
2232
- }
2233
- },
2234
- {
2235
- type: "titleLength",
2236
- userErrorMessage: "Title ineligible for auto-post. Your title must be between 0 and 100 characters. Adjust title length to meet Pinterest guidelines.",
2237
- errorHelpLink: "https://help.planoly.com/knowledge",
2238
- parameters: {
2239
- min: 0,
2240
- max: 100
2241
- }
2242
- },
2243
- {
2244
- type: "numberOfAssets",
2245
- userErrorMessage: "Media ineligible for auto-post. Upload 1 image or video file to meet Pinterest guidelines.",
2246
- errorHelpLink: "https://help.planoly.com/knowledge",
2247
- parameters: {
2248
- min: 1,
2249
- max: 1
2250
- }
2251
- },
2252
- {
2253
- type: "autoPostImageSize",
2254
- userErrorMessage: "Media ineligible for auto-post. Your video size must be less than 20MB. Adjust size & re-upload to meet Pinterest guidelines.",
2255
- errorHelpLink: "https://help.planoly.com/knowledge",
2256
- parameters: {
2257
- value: 20
2258
- }
2259
- },
2260
- {
2261
- type: "autoPostImageSize",
2262
- userErrorMessage: "Media ineligible for auto-post. Your video size must be less than 300MB. Adjust size & re-upload to meet Pinterest guidelines.",
2263
- errorHelpLink: "https://help.planoly.com/knowledge",
2264
- parameters: {
2265
- value: 300
2266
- }
2267
- },
2268
- {
2269
- type: "allowedMediaTypes",
2270
- userErrorMessage: "Media ineligible for posting. Image Pin must be uploaded in .jpg, or .png format. Adjust your file type and re-upload to meet Instagram guidelines.",
2271
- errorHelpLink: "https://help.planoly.com/knowledge"
2272
- },
2273
- {
2274
- type: "hashtagLimit",
2275
- userErrorMessage: "Hashtag limit exceeded. Please remove additional hashtags to continue.",
2276
- parameters: {
2277
- min: 0,
2278
- max: 30
2279
- }
2280
- }
2281
- ]
2282
2019
  }
2283
2020
  ]
2284
2021
  },
@@ -3532,7 +3269,7 @@ declare const postExperienceConfig: {
3532
3269
  enabled: boolean;
3533
3270
  order: number;
3534
3271
  isBeta: boolean;
3535
- postTypes: ({
3272
+ postTypes: {
3536
3273
  name: string;
3537
3274
  allowAutoPost: boolean;
3538
3275
  allowFirstComment: boolean;
@@ -3603,80 +3340,7 @@ declare const postExperienceConfig: {
3603
3340
  };
3604
3341
  errorHelpLink?: undefined;
3605
3342
  })[];
3606
- allowASINTagging?: undefined;
3607
- } | {
3608
- name: string;
3609
- allowAutoPost: boolean;
3610
- allowFirstComment: boolean;
3611
- allowedMediaTypes: string[];
3612
- allowMultipleAssets: boolean;
3613
- allowedMultipleAssetMediaTypes: string[];
3614
- hasCaptions: boolean;
3615
- hasTitle: boolean;
3616
- allowNotifySubscribers: boolean;
3617
- allowVisibility: boolean;
3618
- visibilityOptions: never[];
3619
- coverPhotoSource: string[];
3620
- allowHashtags: boolean;
3621
- allowSoundUrl: boolean;
3622
- allowSnipfeed: boolean;
3623
- allowSoundUrlForAutopost: boolean;
3624
- allowAddLink: boolean;
3625
- allowBoards: boolean;
3626
- allowUserTagging: boolean;
3627
- allowProductTagging: boolean;
3628
- allowLocationTagging: boolean;
3629
- allowTagInLinkit: boolean;
3630
- allowASINTagging: boolean;
3631
- allowShareToFeed: boolean;
3632
- allowOptions: boolean;
3633
- allowCanva: boolean;
3634
- allowCollaboratorTagging: boolean;
3635
- canvaDesignType: string;
3636
- allowImageCompression: boolean;
3637
- allowCoverPhoto: boolean;
3638
- allowedCoverPhotoTypes: never[];
3639
- allowCoverPhotoCanva: boolean;
3640
- allowCoverPhotoImageCompression: boolean;
3641
- validations: ({
3642
- type: string;
3643
- userErrorMessage: string;
3644
- errorHelpLink: string;
3645
- parameters: {
3646
- value: number;
3647
- min?: undefined;
3648
- max?: undefined;
3649
- };
3650
- } | {
3651
- type: string;
3652
- userErrorMessage: string;
3653
- errorHelpLink: string;
3654
- parameters: {
3655
- min: number;
3656
- max: number;
3657
- value?: undefined;
3658
- };
3659
- } | {
3660
- type: string;
3661
- userErrorMessage: string;
3662
- errorHelpLink: string;
3663
- parameters?: undefined;
3664
- } | {
3665
- type: string;
3666
- userErrorMessage: string;
3667
- errorHelpLink: string;
3668
- parameters: string[];
3669
- } | {
3670
- type: string;
3671
- userErrorMessage: string;
3672
- parameters: {
3673
- min: number;
3674
- max: number;
3675
- value?: undefined;
3676
- };
3677
- errorHelpLink?: undefined;
3678
- })[];
3679
- })[];
3343
+ }[];
3680
3344
  } | {
3681
3345
  name: string;
3682
3346
  id: number;