@planoly/planogram-config 1.0.7 → 1.1.1

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.cjs CHANGED
@@ -27,7 +27,7 @@ module.exports = __toCommonJS(index_exports);
27
27
 
28
28
  // postExperienceConfig.json
29
29
  var postExperienceConfig_default = {
30
- version: "1.0.7",
30
+ version: "1.1.1",
31
31
  platforms: [
32
32
  {
33
33
  name: "tiktok",
@@ -35,6 +35,7 @@ var postExperienceConfig_default = {
35
35
  enabled: true,
36
36
  order: 3,
37
37
  isBeta: false,
38
+ hidePostTypeSelector: true,
38
39
  postTypes: [
39
40
  {
40
41
  name: "Video Post",
@@ -44,7 +45,7 @@ var postExperienceConfig_default = {
44
45
  "video/mp4",
45
46
  "video/quicktime"
46
47
  ],
47
- allowMultipleAssets: true,
48
+ allowMultipleAssets: false,
48
49
  allowedMultipleAssetMediaTypes: [],
49
50
  hasCaptions: true,
50
51
  hasTitle: false,
@@ -74,6 +75,54 @@ var postExperienceConfig_default = {
74
75
  allowedCoverPhotoTypes: [],
75
76
  allowCoverPhotoCanva: false,
76
77
  allowCoverPhotoImageCompression: false,
78
+ tiktokOptions: {
79
+ allowPrivacyLevel: false,
80
+ allowBrandedContent: true,
81
+ allowAutoAddMusic: false,
82
+ allowDisableComment: true,
83
+ autoAddMusicTooltip: "Recommended music will be automatically added to photos, you can change the post's music on TikTok after it posts"
84
+ },
85
+ brandContentOptions: [
86
+ {
87
+ name: "Not Promoting A Brand",
88
+ value: "none",
89
+ icon: "vp-icon-user"
90
+ },
91
+ {
92
+ name: "Brand Promotion",
93
+ value: "organic",
94
+ icon: "vp-icon-megaphone",
95
+ tooltip: "Enable if the content is promoting your own brand or business"
96
+ },
97
+ {
98
+ name: "Paid Partnership",
99
+ value: "brand",
100
+ icon: "vp-icon-currency-dollar-circle",
101
+ tooltip: "Enable if the content is a paid partnership to promote a third-party business."
102
+ }
103
+ ],
104
+ privacyLevelOptions: [
105
+ {
106
+ name: "Public",
107
+ value: "PUBLIC_TO_EVERYONE",
108
+ icon: "vp-icon-eye"
109
+ },
110
+ {
111
+ name: "Mutuals",
112
+ value: "MUTUAL_FOLLOW_FRIENDS",
113
+ icon: "vp-icon-users"
114
+ },
115
+ {
116
+ name: "Followers",
117
+ value: "FOLLOWER_OF_CREATOR",
118
+ icon: "vp-icon-user"
119
+ },
120
+ {
121
+ name: "Private",
122
+ value: "SELF_ONLY",
123
+ icon: "vp-icon-eye-off"
124
+ }
125
+ ],
77
126
  validations: [
78
127
  {
79
128
  type: "numberOfAssets",
@@ -142,6 +191,175 @@ var postExperienceConfig_default = {
142
191
  }
143
192
  }
144
193
  ]
194
+ },
195
+ {
196
+ name: "Photo Carousel",
197
+ allowAutoPost: true,
198
+ allowFirstComment: false,
199
+ allowedMediaTypes: [
200
+ "image/jpeg",
201
+ "image/webp"
202
+ ],
203
+ allowMultipleAssets: true,
204
+ allowedMultipleAssetMediaTypes: [
205
+ "image/jpeg",
206
+ "image/webp"
207
+ ],
208
+ hasCaptions: true,
209
+ hasTitle: true,
210
+ allowNotifySubscribers: false,
211
+ allowVisibility: false,
212
+ visibilityOptions: [],
213
+ coverPhotoSource: [],
214
+ allowHashtags: true,
215
+ allowSoundUrl: true,
216
+ allowSnipfeed: true,
217
+ allowSoundUrlForAutopost: false,
218
+ allowAddLink: false,
219
+ allowUserTagging: false,
220
+ allowProductTagging: false,
221
+ allowLocationTagging: false,
222
+ allowTagInLinkit: false,
223
+ allowASINTagging: false,
224
+ allowShareToFeed: false,
225
+ allowOptions: true,
226
+ allowCanva: false,
227
+ allowCollaboratorTagging: false,
228
+ canvaDesignType: "TiktokPhotoCarousel",
229
+ allowImageCompression: false,
230
+ allowCoverPhoto: false,
231
+ allowedCoverPhotoTypes: [],
232
+ allowCoverPhotoCanva: false,
233
+ allowCoverPhotoImageCompression: false,
234
+ tiktokOptions: {
235
+ allowPrivacyLevel: true,
236
+ allowBrandedContent: true,
237
+ allowAutoAddMusic: true,
238
+ allowDisableComment: true,
239
+ autoAddMusicTooltip: "Recommended music will be automatically added to photos, you can change the post's music on TikTok after it posts"
240
+ },
241
+ brandContentOptions: [
242
+ {
243
+ name: "Not Promoting A Brand",
244
+ value: "none",
245
+ icon: "vp-icon-user"
246
+ },
247
+ {
248
+ name: "Brand Promotion",
249
+ value: "organic",
250
+ icon: "vp-icon-megaphone",
251
+ tooltip: "Enable if the content is promoting your own brand or business"
252
+ },
253
+ {
254
+ name: "Paid Partnership",
255
+ value: "brand",
256
+ icon: "vp-icon-currency-dollar-circle",
257
+ tooltip: "Enable if the content is a paid partnership to promote a third-party business."
258
+ }
259
+ ],
260
+ privacyLevelOptions: [
261
+ {
262
+ name: "Public",
263
+ value: "PUBLIC_TO_EVERYONE",
264
+ icon: "vp-icon-eye"
265
+ },
266
+ {
267
+ name: "Mutuals",
268
+ value: "MUTUAL_FOLLOW_FRIENDS",
269
+ icon: "vp-icon-users"
270
+ },
271
+ {
272
+ name: "Followers",
273
+ value: "FOLLOWER_OF_CREATOR",
274
+ icon: "vp-icon-user"
275
+ },
276
+ {
277
+ name: "Private",
278
+ value: "SELF_ONLY",
279
+ icon: "vp-icon-eye-off"
280
+ }
281
+ ],
282
+ validations: [
283
+ {
284
+ type: "numberOfAssets",
285
+ userErrorMessage: "Media ineligible for auto-post. Upload 1 to 35 images to meet TikTok guidelines.",
286
+ errorHelpLink: "https://help.planoly.com/knowledge/auto-posting-to-tiktok-from-planoly",
287
+ parameters: {
288
+ min: 1,
289
+ max: 35
290
+ }
291
+ },
292
+ {
293
+ type: "autoPostImageSize",
294
+ userErrorMessage: "Media ineligible for auto-post. Your image size must be less than 20MB. Adjust size & re-upload to meet TikTok guidelines.",
295
+ errorHelpLink: "https://help.planoly.com/knowledge",
296
+ parameters: {
297
+ value: 20
298
+ }
299
+ },
300
+ {
301
+ type: "orientationSpecificMaxDimensions",
302
+ userErrorMessage: "Image resolution is too high. Please use a maximum of 1080x1920 for portrait or 1920x1080 for landscape.",
303
+ parameters: {
304
+ portrait: {
305
+ maxWidth: 1080,
306
+ maxHeight: 1920
307
+ },
308
+ landscape: {
309
+ maxWidth: 1920,
310
+ maxHeight: 1080
311
+ }
312
+ }
313
+ },
314
+ {
315
+ type: "futureDate",
316
+ userErrorMessage: "Media ineligible for auto-post. Please choose a date and time at least 5 minutes in the future.",
317
+ errorHelpLink: "https://help.planoly.com/knowledge/auto-posting-to-tiktok-from-planoly",
318
+ parameters: {
319
+ value: 5
320
+ }
321
+ },
322
+ {
323
+ type: "manualPostCaptionLength",
324
+ userErrorMessage: "Caption ineligible for posting. Your caption must be between 1 and 4000 characters. Adjust caption length to meet TikTok guidelines.",
325
+ errorHelpLink: "https://help.planoly.com/knowledge/auto-posting-to-tiktok-from-planoly",
326
+ parameters: {
327
+ min: 0,
328
+ max: 4e3
329
+ }
330
+ },
331
+ {
332
+ type: "autoPostCaptionLength",
333
+ userErrorMessage: "Caption ineligible for auto-post. Your caption must be between 1 and 4000 characters. Adjust caption length to meet TikTok guidelines.",
334
+ errorHelpLink: "https://help.planoly.com/knowledge/auto-posting-to-tiktok-from-planoly",
335
+ parameters: {
336
+ min: 0,
337
+ max: 4e3
338
+ }
339
+ },
340
+ {
341
+ type: "titleLength",
342
+ userErrorMessage: "Title ineligible for auto-post. Your title must be between 1 and 90 characters. Adjust title length to meet TikTok guidelines.",
343
+ errorHelpLink: "https://help.planoly.com/knowledge",
344
+ parameters: {
345
+ min: 1,
346
+ max: 90
347
+ }
348
+ },
349
+ {
350
+ type: "allowedMediaTypes",
351
+ userErrorMessage: "Media ineligible for posting. Image content must be uploaded in .jpeg, .jpg, or .webp format. Adjust your file type and re-upload to meet TikTok guidelines.",
352
+ errorHelpLink: "https://help.planoly.com/knowledge"
353
+ },
354
+ {
355
+ type: "hashtagLimit",
356
+ userErrorMessage: "Hashtag limit exceeded. Please remove additional hashtags to continue.",
357
+ parameters: {
358
+ min: 0,
359
+ max: 5
360
+ }
361
+ }
362
+ ]
145
363
  }
146
364
  ]
147
365
  },
@@ -151,6 +369,7 @@ var postExperienceConfig_default = {
151
369
  enabled: true,
152
370
  order: 1,
153
371
  isBeta: false,
372
+ hidePostTypeSelector: false,
154
373
  postTypes: [
155
374
  {
156
375
  name: "Grid Post",
@@ -674,6 +893,7 @@ var postExperienceConfig_default = {
674
893
  enabled: true,
675
894
  order: 2,
676
895
  isBeta: false,
896
+ hidePostTypeSelector: false,
677
897
  postTypes: [
678
898
  {
679
899
  name: "Page Post",
@@ -1109,6 +1329,7 @@ var postExperienceConfig_default = {
1109
1329
  enabled: true,
1110
1330
  order: 6,
1111
1331
  isBeta: false,
1332
+ hidePostTypeSelector: false,
1112
1333
  postTypes: [
1113
1334
  {
1114
1335
  name: "Shorts",
@@ -1452,6 +1673,7 @@ var postExperienceConfig_default = {
1452
1673
  enabled: true,
1453
1674
  order: 7,
1454
1675
  isBeta: false,
1676
+ hidePostTypeSelector: false,
1455
1677
  postTypes: [
1456
1678
  {
1457
1679
  name: "Thread",
@@ -1604,6 +1826,7 @@ var postExperienceConfig_default = {
1604
1826
  enabled: true,
1605
1827
  order: 8,
1606
1828
  isBeta: false,
1829
+ hidePostTypeSelector: false,
1607
1830
  postTypes: [
1608
1831
  {
1609
1832
  name: "Feed Post",
@@ -1748,6 +1971,7 @@ var postExperienceConfig_default = {
1748
1971
  enabled: true,
1749
1972
  order: 5,
1750
1973
  isBeta: false,
1974
+ hidePostTypeSelector: false,
1751
1975
  postTypes: [
1752
1976
  {
1753
1977
  name: "Page Post",
@@ -1872,6 +2096,7 @@ var postExperienceConfig_default = {
1872
2096
  enabled: true,
1873
2097
  order: 4,
1874
2098
  isBeta: false,
2099
+ hidePostTypeSelector: false,
1875
2100
  postTypes: [
1876
2101
  {
1877
2102
  name: "Pin",
@@ -2022,6 +2247,7 @@ var postExperienceConfig_default = {
2022
2247
  enabled: false,
2023
2248
  order: 10,
2024
2249
  isBeta: false,
2250
+ hidePostTypeSelector: false,
2025
2251
  postTypes: [
2026
2252
  {
2027
2253
  name: "Push Notification",
@@ -2105,6 +2331,7 @@ var postExperienceConfig_default = {
2105
2331
  enabled: true,
2106
2332
  order: 9,
2107
2333
  isBeta: true,
2334
+ hidePostTypeSelector: false,
2108
2335
  postTypes: [
2109
2336
  {
2110
2337
  name: "Amazon Post",