@postrun/js 2.2.0 → 2.3.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/index.cjs CHANGED
@@ -844,6 +844,7 @@ var zErrorCode = z__namespace.enum([
844
844
  "document_too_large",
845
845
  "document_too_many_pages",
846
846
  "media_format_indeterminate",
847
+ "media_format_unsupported",
847
848
  "media_count_invalid",
848
849
  "body_too_long",
849
850
  "content_missing",
@@ -890,6 +891,9 @@ var zErrorCode = z__namespace.enum([
890
891
  "tiktok_media_processing",
891
892
  "tiktok_not_authorized",
892
893
  "tiktok_rate_limited",
894
+ "tiktok_url_ownership_unverified",
895
+ "tiktok_unaudited_private_only",
896
+ "tiktok_spam_risk",
893
897
  "tiktok_publish_failed",
894
898
  "post_publish_failed",
895
899
  "post_partially_published",
@@ -1222,6 +1226,7 @@ z__namespace.object({
1222
1226
  code: z__namespace.enum([
1223
1227
  "media_unprobeable",
1224
1228
  "media_format_indeterminate",
1229
+ "media_format_unsupported",
1225
1230
  "media_too_large",
1226
1231
  "media_aspect_ratio_unsupported",
1227
1232
  "media_resolution_too_low",
@@ -1250,7 +1255,8 @@ z__namespace.object({
1250
1255
  message: z__namespace.string(),
1251
1256
  hint: z__namespace.string().optional(),
1252
1257
  allowed: z__namespace.array(z__namespace.string()).optional(),
1253
- got: z__namespace.string().optional()
1258
+ got: z__namespace.string().optional(),
1259
+ display_error: z__namespace.string()
1254
1260
  }).nullable(),
1255
1261
  source: z__namespace.object({
1256
1262
  format: z__namespace.string(),
@@ -1274,6 +1280,7 @@ z__namespace.object({
1274
1280
  code: z__namespace.enum([
1275
1281
  "media_unprobeable",
1276
1282
  "media_format_indeterminate",
1283
+ "media_format_unsupported",
1277
1284
  "media_too_large",
1278
1285
  "media_aspect_ratio_unsupported",
1279
1286
  "media_resolution_too_low",
@@ -1302,12 +1309,14 @@ z__namespace.object({
1302
1309
  message: z__namespace.string(),
1303
1310
  hint: z__namespace.string().optional(),
1304
1311
  allowed: z__namespace.array(z__namespace.string()).optional(),
1305
- got: z__namespace.string().optional()
1312
+ got: z__namespace.string().optional(),
1313
+ display_error: z__namespace.string()
1306
1314
  })),
1307
1315
  errors: z__namespace.array(z__namespace.object({
1308
1316
  code: z__namespace.enum([
1309
1317
  "media_unprobeable",
1310
1318
  "media_format_indeterminate",
1319
+ "media_format_unsupported",
1311
1320
  "media_too_large",
1312
1321
  "media_aspect_ratio_unsupported",
1313
1322
  "media_resolution_too_low",
@@ -1336,7 +1345,8 @@ z__namespace.object({
1336
1345
  message: z__namespace.string(),
1337
1346
  hint: z__namespace.string().optional(),
1338
1347
  allowed: z__namespace.array(z__namespace.string()).optional(),
1339
- got: z__namespace.string().optional()
1348
+ got: z__namespace.string().optional(),
1349
+ display_error: z__namespace.string()
1340
1350
  }))
1341
1351
  })),
1342
1352
  external_id: z__namespace.string().nullable(),
@@ -1355,13 +1365,6 @@ z__namespace.object({
1355
1365
  });
1356
1366
  z__namespace.object({
1357
1367
  profile_id: z__namespace.string(),
1358
- kind: z__namespace.enum([
1359
- "image",
1360
- "video",
1361
- "gif",
1362
- "document"
1363
- ]).optional(),
1364
- content_type: z__namespace.string().min(1).regex(/^(?:(?:image|video)\/[A-Za-z0-9][A-Za-z0-9!#$&^_.+-]*|application\/pdf|application\/msword|application\/vnd\.openxmlformats-officedocument\.wordprocessingml\.document|application\/vnd\.ms-powerpoint|application\/vnd\.openxmlformats-officedocument\.presentationml\.presentation)$/).optional(),
1365
1368
  source_url: z__namespace.url().optional(),
1366
1369
  targets: z__namespace.array(z__namespace.enum([
1367
1370
  "x",
@@ -1411,6 +1414,7 @@ z__namespace.object({
1411
1414
  code: z__namespace.enum([
1412
1415
  "media_unprobeable",
1413
1416
  "media_format_indeterminate",
1417
+ "media_format_unsupported",
1414
1418
  "media_too_large",
1415
1419
  "media_aspect_ratio_unsupported",
1416
1420
  "media_resolution_too_low",
@@ -1439,7 +1443,8 @@ z__namespace.object({
1439
1443
  message: z__namespace.string(),
1440
1444
  hint: z__namespace.string().optional(),
1441
1445
  allowed: z__namespace.array(z__namespace.string()).optional(),
1442
- got: z__namespace.string().optional()
1446
+ got: z__namespace.string().optional(),
1447
+ display_error: z__namespace.string()
1443
1448
  }).nullable(),
1444
1449
  source: z__namespace.object({
1445
1450
  format: z__namespace.string(),
@@ -1463,6 +1468,7 @@ z__namespace.object({
1463
1468
  code: z__namespace.enum([
1464
1469
  "media_unprobeable",
1465
1470
  "media_format_indeterminate",
1471
+ "media_format_unsupported",
1466
1472
  "media_too_large",
1467
1473
  "media_aspect_ratio_unsupported",
1468
1474
  "media_resolution_too_low",
@@ -1491,12 +1497,14 @@ z__namespace.object({
1491
1497
  message: z__namespace.string(),
1492
1498
  hint: z__namespace.string().optional(),
1493
1499
  allowed: z__namespace.array(z__namespace.string()).optional(),
1494
- got: z__namespace.string().optional()
1500
+ got: z__namespace.string().optional(),
1501
+ display_error: z__namespace.string()
1495
1502
  })),
1496
1503
  errors: z__namespace.array(z__namespace.object({
1497
1504
  code: z__namespace.enum([
1498
1505
  "media_unprobeable",
1499
1506
  "media_format_indeterminate",
1507
+ "media_format_unsupported",
1500
1508
  "media_too_large",
1501
1509
  "media_aspect_ratio_unsupported",
1502
1510
  "media_resolution_too_low",
@@ -1525,7 +1533,8 @@ z__namespace.object({
1525
1533
  message: z__namespace.string(),
1526
1534
  hint: z__namespace.string().optional(),
1527
1535
  allowed: z__namespace.array(z__namespace.string()).optional(),
1528
- got: z__namespace.string().optional()
1536
+ got: z__namespace.string().optional(),
1537
+ display_error: z__namespace.string()
1529
1538
  }))
1530
1539
  })),
1531
1540
  external_id: z__namespace.string().nullable(),
@@ -1585,6 +1594,7 @@ z__namespace.object({
1585
1594
  code: z__namespace.enum([
1586
1595
  "media_unprobeable",
1587
1596
  "media_format_indeterminate",
1597
+ "media_format_unsupported",
1588
1598
  "media_too_large",
1589
1599
  "media_aspect_ratio_unsupported",
1590
1600
  "media_resolution_too_low",
@@ -1613,7 +1623,8 @@ z__namespace.object({
1613
1623
  message: z__namespace.string(),
1614
1624
  hint: z__namespace.string().optional(),
1615
1625
  allowed: z__namespace.array(z__namespace.string()).optional(),
1616
- got: z__namespace.string().optional()
1626
+ got: z__namespace.string().optional(),
1627
+ display_error: z__namespace.string()
1617
1628
  }).nullable(),
1618
1629
  source: z__namespace.object({
1619
1630
  format: z__namespace.string(),
@@ -1637,6 +1648,7 @@ z__namespace.object({
1637
1648
  code: z__namespace.enum([
1638
1649
  "media_unprobeable",
1639
1650
  "media_format_indeterminate",
1651
+ "media_format_unsupported",
1640
1652
  "media_too_large",
1641
1653
  "media_aspect_ratio_unsupported",
1642
1654
  "media_resolution_too_low",
@@ -1665,12 +1677,14 @@ z__namespace.object({
1665
1677
  message: z__namespace.string(),
1666
1678
  hint: z__namespace.string().optional(),
1667
1679
  allowed: z__namespace.array(z__namespace.string()).optional(),
1668
- got: z__namespace.string().optional()
1680
+ got: z__namespace.string().optional(),
1681
+ display_error: z__namespace.string()
1669
1682
  })),
1670
1683
  errors: z__namespace.array(z__namespace.object({
1671
1684
  code: z__namespace.enum([
1672
1685
  "media_unprobeable",
1673
1686
  "media_format_indeterminate",
1687
+ "media_format_unsupported",
1674
1688
  "media_too_large",
1675
1689
  "media_aspect_ratio_unsupported",
1676
1690
  "media_resolution_too_low",
@@ -1699,7 +1713,8 @@ z__namespace.object({
1699
1713
  message: z__namespace.string(),
1700
1714
  hint: z__namespace.string().optional(),
1701
1715
  allowed: z__namespace.array(z__namespace.string()).optional(),
1702
- got: z__namespace.string().optional()
1716
+ got: z__namespace.string().optional(),
1717
+ display_error: z__namespace.string()
1703
1718
  }))
1704
1719
  })),
1705
1720
  external_id: z__namespace.string().nullable(),
@@ -1762,6 +1777,7 @@ z__namespace.object({
1762
1777
  code: z__namespace.enum([
1763
1778
  "media_unprobeable",
1764
1779
  "media_format_indeterminate",
1780
+ "media_format_unsupported",
1765
1781
  "media_too_large",
1766
1782
  "media_aspect_ratio_unsupported",
1767
1783
  "media_resolution_too_low",
@@ -1790,7 +1806,8 @@ z__namespace.object({
1790
1806
  message: z__namespace.string(),
1791
1807
  hint: z__namespace.string().optional(),
1792
1808
  allowed: z__namespace.array(z__namespace.string()).optional(),
1793
- got: z__namespace.string().optional()
1809
+ got: z__namespace.string().optional(),
1810
+ display_error: z__namespace.string()
1794
1811
  }).nullable(),
1795
1812
  source: z__namespace.object({
1796
1813
  format: z__namespace.string(),
@@ -1814,6 +1831,7 @@ z__namespace.object({
1814
1831
  code: z__namespace.enum([
1815
1832
  "media_unprobeable",
1816
1833
  "media_format_indeterminate",
1834
+ "media_format_unsupported",
1817
1835
  "media_too_large",
1818
1836
  "media_aspect_ratio_unsupported",
1819
1837
  "media_resolution_too_low",
@@ -1842,12 +1860,14 @@ z__namespace.object({
1842
1860
  message: z__namespace.string(),
1843
1861
  hint: z__namespace.string().optional(),
1844
1862
  allowed: z__namespace.array(z__namespace.string()).optional(),
1845
- got: z__namespace.string().optional()
1863
+ got: z__namespace.string().optional(),
1864
+ display_error: z__namespace.string()
1846
1865
  })),
1847
1866
  errors: z__namespace.array(z__namespace.object({
1848
1867
  code: z__namespace.enum([
1849
1868
  "media_unprobeable",
1850
1869
  "media_format_indeterminate",
1870
+ "media_format_unsupported",
1851
1871
  "media_too_large",
1852
1872
  "media_aspect_ratio_unsupported",
1853
1873
  "media_resolution_too_low",
@@ -1876,7 +1896,8 @@ z__namespace.object({
1876
1896
  message: z__namespace.string(),
1877
1897
  hint: z__namespace.string().optional(),
1878
1898
  allowed: z__namespace.array(z__namespace.string()).optional(),
1879
- got: z__namespace.string().optional()
1899
+ got: z__namespace.string().optional(),
1900
+ display_error: z__namespace.string()
1880
1901
  }))
1881
1902
  })),
1882
1903
  external_id: z__namespace.string().nullable(),
@@ -1969,7 +1990,8 @@ z__namespace.object({
1969
1990
  }).nullable(),
1970
1991
  error: z__namespace.object({
1971
1992
  code: z__namespace.string(),
1972
- message: z__namespace.string()
1993
+ message: z__namespace.string(),
1994
+ display_error: z__namespace.string()
1973
1995
  }).nullable(),
1974
1996
  media: z__namespace.array(z__namespace.object({
1975
1997
  media_id: z__namespace.string(),
@@ -2248,7 +2270,8 @@ z__namespace.object({
2248
2270
  }).nullable(),
2249
2271
  error: z__namespace.object({
2250
2272
  code: z__namespace.string(),
2251
- message: z__namespace.string()
2273
+ message: z__namespace.string(),
2274
+ display_error: z__namespace.string()
2252
2275
  }).nullable(),
2253
2276
  media: z__namespace.array(z__namespace.object({
2254
2277
  media_id: z__namespace.string(),
@@ -2330,7 +2353,8 @@ z__namespace.object({
2330
2353
  }).nullable(),
2331
2354
  error: z__namespace.object({
2332
2355
  code: z__namespace.string(),
2333
- message: z__namespace.string()
2356
+ message: z__namespace.string(),
2357
+ display_error: z__namespace.string()
2334
2358
  }).nullable(),
2335
2359
  media: z__namespace.array(z__namespace.object({
2336
2360
  media_id: z__namespace.string(),
@@ -2606,7 +2630,8 @@ z__namespace.object({
2606
2630
  }).nullable(),
2607
2631
  error: z__namespace.object({
2608
2632
  code: z__namespace.string(),
2609
- message: z__namespace.string()
2633
+ message: z__namespace.string(),
2634
+ display_error: z__namespace.string()
2610
2635
  }).nullable(),
2611
2636
  media: z__namespace.array(z__namespace.object({
2612
2637
  media_id: z__namespace.string(),
@@ -2861,6 +2886,7 @@ z__namespace.object({
2861
2886
  "document_too_large",
2862
2887
  "document_too_many_pages",
2863
2888
  "media_format_indeterminate",
2889
+ "media_format_unsupported",
2864
2890
  "media_count_invalid",
2865
2891
  "body_too_long",
2866
2892
  "content_missing",
@@ -2907,6 +2933,9 @@ z__namespace.object({
2907
2933
  "tiktok_media_processing",
2908
2934
  "tiktok_not_authorized",
2909
2935
  "tiktok_rate_limited",
2936
+ "tiktok_url_ownership_unverified",
2937
+ "tiktok_unaudited_private_only",
2938
+ "tiktok_spam_risk",
2910
2939
  "tiktok_publish_failed",
2911
2940
  "post_publish_failed",
2912
2941
  "post_partially_published",
@@ -2918,7 +2947,8 @@ z__namespace.object({
2918
2947
  allowed: z__namespace.array(z__namespace.string()).optional(),
2919
2948
  got: z__namespace.string().optional(),
2920
2949
  variant_index: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
2921
- path: z__namespace.array(z__namespace.union([z__namespace.string(), z__namespace.number()]))
2950
+ path: z__namespace.array(z__namespace.union([z__namespace.string(), z__namespace.number()])),
2951
+ display_error: z__namespace.string()
2922
2952
  }))
2923
2953
  });
2924
2954
  z__namespace.object({
@@ -4495,7 +4525,8 @@ z__namespace.object({
4495
4525
  published_at: z__namespace.string().nullable(),
4496
4526
  error: z__namespace.object({
4497
4527
  code: z__namespace.string(),
4498
- message: z__namespace.string()
4528
+ message: z__namespace.string(),
4529
+ display_error: z__namespace.string()
4499
4530
  }).nullable()
4500
4531
  }))
4501
4532
  }).nullable(),
@@ -4578,7 +4609,8 @@ z__namespace.object({
4578
4609
  published_at: z__namespace.string().nullable(),
4579
4610
  error: z__namespace.object({
4580
4611
  code: z__namespace.string(),
4581
- message: z__namespace.string()
4612
+ message: z__namespace.string(),
4613
+ display_error: z__namespace.string()
4582
4614
  }).nullable()
4583
4615
  }))
4584
4616
  }).nullable(),
@@ -6024,6 +6056,120 @@ function tiktokPrivacyLabel(value) {
6024
6056
  }
6025
6057
  }
6026
6058
 
6059
+ // src/tiktok-options.ts
6060
+ var TIKTOK_MUSIC_CONFIRMATION_URL = "https://www.tiktok.com/legal/page/global/music-usage-confirmation/en";
6061
+ var TIKTOK_BRANDED_CONTENT_POLICY_URL = "https://www.tiktok.com/legal/page/global/bc-policy/en";
6062
+ var TIKTOK_DISCLOSURE_REQUIRED_HINT = "You need to indicate if your content promotes yourself, a third party, or both.";
6063
+ var TIKTOK_AUDIENCE_REQUIRED_HINT = "Choose who can view this video before publishing.";
6064
+ var TIKTOK_PROCESSING_NOTICE = "After you publish, it may take a few minutes for your post to process and appear on your TikTok profile.";
6065
+ function defaultTikTokOptions() {
6066
+ return {
6067
+ privacy_level: void 0,
6068
+ allow_comment: false,
6069
+ allow_duet: false,
6070
+ allow_stitch: false,
6071
+ commercial_disclosure: false,
6072
+ your_brand: false,
6073
+ branded_content: false,
6074
+ aigc: false
6075
+ };
6076
+ }
6077
+ function privacyChoices(options) {
6078
+ return options.map((level) => ({ level, label: tiktokPrivacyLabel(level) }));
6079
+ }
6080
+ function parsePrivacyLevel(value, options) {
6081
+ return options.find((option) => option === value);
6082
+ }
6083
+ function discloses(value, kind) {
6084
+ return value.commercial_disclosure && value[kind];
6085
+ }
6086
+ function audiencePrivacyOptions(options, value) {
6087
+ return discloses(value, "branded_content") ? options.filter((option) => option !== "SELF_ONLY") : [...options];
6088
+ }
6089
+ function audienceUnselected(value) {
6090
+ return value.privacy_level === void 0;
6091
+ }
6092
+ function commercialDisclosureIncomplete(value) {
6093
+ return value.commercial_disclosure && !value.your_brand && !value.branded_content;
6094
+ }
6095
+ function brandedContentDeclared(value) {
6096
+ return discloses(value, "branded_content");
6097
+ }
6098
+ function commercialLabelNotice(value) {
6099
+ if (discloses(value, "branded_content")) {
6100
+ return "Your photo/video will be labeled as 'Paid partnership'";
6101
+ }
6102
+ if (discloses(value, "your_brand")) {
6103
+ return "Your photo/video will be labeled as 'Promotional content'";
6104
+ }
6105
+ return null;
6106
+ }
6107
+ function setCommercialDisclosure(value, on) {
6108
+ return on ? { ...value, commercial_disclosure: true } : {
6109
+ ...value,
6110
+ commercial_disclosure: false,
6111
+ your_brand: false,
6112
+ branded_content: false
6113
+ };
6114
+ }
6115
+ function setBrandKind(value, kind, on) {
6116
+ const next = { ...value, [kind]: on };
6117
+ if (kind === "branded_content" && on && value.privacy_level === "SELF_ONLY") {
6118
+ next.privacy_level = void 0;
6119
+ }
6120
+ return next;
6121
+ }
6122
+ function isInteractionForbidden(info, key) {
6123
+ return !info.interaction[key];
6124
+ }
6125
+ var INTERACTION_LABELS = {
6126
+ comment: "Comment",
6127
+ duet: "Duet",
6128
+ stitch: "Stitch"
6129
+ };
6130
+ var VIDEO_INTERACTIONS = [
6131
+ "comment",
6132
+ "duet",
6133
+ "stitch"
6134
+ ];
6135
+ var PHOTO_INTERACTIONS = ["comment"];
6136
+ var INTERACTION_VALUE_KEY = {
6137
+ comment: "allow_comment",
6138
+ duet: "allow_duet",
6139
+ stitch: "allow_stitch"
6140
+ };
6141
+ function interactionRows(info, isVideo) {
6142
+ const order = isVideo ? VIDEO_INTERACTIONS : PHOTO_INTERACTIONS;
6143
+ return order.map((key) => ({
6144
+ key,
6145
+ label: INTERACTION_LABELS[key],
6146
+ disabled: isInteractionForbidden(info, key)
6147
+ }));
6148
+ }
6149
+ function interactionValueKey(key) {
6150
+ return INTERACTION_VALUE_KEY[key];
6151
+ }
6152
+ function toggleInteraction(value, key, on) {
6153
+ return { ...value, [INTERACTION_VALUE_KEY[key]]: on };
6154
+ }
6155
+ function tiktokSettings(value, isVideo) {
6156
+ const base = {
6157
+ privacy_level: value.privacy_level,
6158
+ disable_comment: !value.allow_comment,
6159
+ brand_organic_toggle: discloses(value, "your_brand"),
6160
+ brand_content_toggle: discloses(value, "branded_content")
6161
+ };
6162
+ return isVideo ? {
6163
+ ...base,
6164
+ disable_duet: !value.allow_duet,
6165
+ disable_stitch: !value.allow_stitch,
6166
+ is_aigc: value.aigc
6167
+ } : base;
6168
+ }
6169
+ function tiktokOptionsReady(value) {
6170
+ return !audienceUnselected(value) && !commercialDisclosureIncomplete(value);
6171
+ }
6172
+
6027
6173
  // src/compose.ts
6028
6174
  var ComposeError = class extends Error {
6029
6175
  constructor(message) {
@@ -6216,8 +6362,18 @@ function buildUpdatePost(input, connections = []) {
6216
6362
  exports.ComposeError = ComposeError;
6217
6363
  exports.POST_PLATFORMS = POST_PLATFORMS;
6218
6364
  exports.PostrunError = PostrunError;
6365
+ exports.TIKTOK_AUDIENCE_REQUIRED_HINT = TIKTOK_AUDIENCE_REQUIRED_HINT;
6366
+ exports.TIKTOK_BRANDED_CONTENT_POLICY_URL = TIKTOK_BRANDED_CONTENT_POLICY_URL;
6367
+ exports.TIKTOK_DISCLOSURE_REQUIRED_HINT = TIKTOK_DISCLOSURE_REQUIRED_HINT;
6368
+ exports.TIKTOK_MUSIC_CONFIRMATION_URL = TIKTOK_MUSIC_CONFIRMATION_URL;
6369
+ exports.TIKTOK_PROCESSING_NOTICE = TIKTOK_PROCESSING_NOTICE;
6370
+ exports.audiencePrivacyOptions = audiencePrivacyOptions;
6371
+ exports.audienceUnselected = audienceUnselected;
6372
+ exports.brandedContentDeclared = brandedContentDeclared;
6219
6373
  exports.buildCreatePost = buildCreatePost;
6220
6374
  exports.buildUpdatePost = buildUpdatePost;
6375
+ exports.commercialDisclosureIncomplete = commercialDisclosureIncomplete;
6376
+ exports.commercialLabelNotice = commercialLabelNotice;
6221
6377
  exports.connectionsConnect = connectionsConnect;
6222
6378
  exports.connectionsDelete = connectionsDelete;
6223
6379
  exports.connectionsGet = connectionsGet;
@@ -6225,6 +6381,7 @@ exports.connectionsListAccounts = connectionsListAccounts;
6225
6381
  exports.connectionsListByProfile = connectionsListByProfile;
6226
6382
  exports.connectionsSelect = connectionsSelect;
6227
6383
  exports.createPostrunClient = createPostrunClient;
6384
+ exports.defaultTikTokOptions = defaultTikTokOptions;
6228
6385
  exports.failedVariants = failedVariants;
6229
6386
  exports.googleCreateAd = googleCreateAd;
6230
6387
  exports.googleCreateAdGroup = googleCreateAdGroup;
@@ -6268,6 +6425,9 @@ exports.googleSetConversionGoal = googleSetConversionGoal;
6268
6425
  exports.googleSetKeywordBid = googleSetKeywordBid;
6269
6426
  exports.googleUploadConversions = googleUploadConversions;
6270
6427
  exports.googleUploadImageAsset = googleUploadImageAsset;
6428
+ exports.interactionRows = interactionRows;
6429
+ exports.interactionValueKey = interactionValueKey;
6430
+ exports.isInteractionForbidden = isInteractionForbidden;
6271
6431
  exports.isPostPlatform = isPostPlatform;
6272
6432
  exports.isPublished = isPublished;
6273
6433
  exports.logsGet = logsGet;
@@ -6285,19 +6445,26 @@ exports.metaAdsets = metaAdsets;
6285
6445
  exports.metaCampaign = metaCampaign;
6286
6446
  exports.metaCampaigns = metaCampaigns;
6287
6447
  exports.metaInsights = metaInsights;
6448
+ exports.parsePrivacyLevel = parsePrivacyLevel;
6288
6449
  exports.postsCreate = postsCreate;
6289
6450
  exports.postsDelete = postsDelete;
6290
6451
  exports.postsGet = postsGet;
6291
6452
  exports.postsList = postsList;
6292
6453
  exports.postsUpdate = postsUpdate;
6293
6454
  exports.postsValidate = postsValidate;
6455
+ exports.privacyChoices = privacyChoices;
6294
6456
  exports.profilesCreate = profilesCreate;
6295
6457
  exports.profilesDelete = profilesDelete;
6296
6458
  exports.profilesGet = profilesGet;
6297
6459
  exports.profilesList = profilesList;
6298
6460
  exports.profilesUpdate = profilesUpdate;
6461
+ exports.setBrandKind = setBrandKind;
6462
+ exports.setCommercialDisclosure = setCommercialDisclosure;
6299
6463
  exports.tiktokCreatorInfo = tiktokCreatorInfo;
6464
+ exports.tiktokOptionsReady = tiktokOptionsReady;
6300
6465
  exports.tiktokPrivacyLabel = tiktokPrivacyLabel;
6466
+ exports.tiktokSettings = tiktokSettings;
6467
+ exports.toggleInteraction = toggleInteraction;
6301
6468
  exports.tokensMint = tokensMint;
6302
6469
  exports.webhooksCreateEndpoint = webhooksCreateEndpoint;
6303
6470
  exports.webhooksCreatePortal = webhooksCreatePortal;