@getlatedev/node 0.2.1387 → 0.2.1389

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.mts CHANGED
@@ -9034,7 +9034,7 @@ type CtwaAdRequestBody = {
9034
9034
  * Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
9035
9035
  */
9036
9036
  publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
9037
- facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
9037
+ facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
9038
9038
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
9039
9039
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
9040
9040
  audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
@@ -13835,7 +13835,7 @@ type MetaPlacementAssets = {
13835
13835
  */
13836
13836
  placements: {
13837
13837
  publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
13838
- facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
13838
+ facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
13839
13839
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
13840
13840
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
13841
13841
  audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
@@ -13960,6 +13960,23 @@ type OAuthApp = {
13960
13960
  * TikTok only: set this as the webhook callback URL in your TikTok developer app. TikTok uses it to report when a video finishes publishing; Zernio also checks the publish status itself, so posting works without it. Null on other platforms.
13961
13961
  */
13962
13962
  sharedWebhookUrl?: (string) | null;
13963
+ /**
13964
+ * Slack only: whether the signing secret of your Slack app is saved. Without it Zernio refuses every event sent to `slackEvents.requestUrl`.
13965
+ */
13966
+ hasSlackSigningSecret?: boolean;
13967
+ /**
13968
+ * Slack only; null on other platforms. Slack delivers messages and mentions to your app's own Request URL.
13969
+ *
13970
+ * Save the app's signing secret first (`slackSigningSecret`), then set this Request URL under Event Subscriptions and subscribe the listed bot events. Zernio checks each delivery against that secret.
13971
+ *
13972
+ */
13973
+ slackEvents?: {
13974
+ requestUrl: string;
13975
+ /**
13976
+ * Subscribe the app to these bot events.
13977
+ */
13978
+ botEvents: Array<(string)>;
13979
+ } | null;
13963
13980
  createdAt: string;
13964
13981
  };
13965
13982
  /**
@@ -31513,6 +31530,10 @@ type CreateOAuthAppData = {
31513
31530
  label: string;
31514
31531
  clientId: string;
31515
31532
  clientSecret: string;
31533
+ /**
31534
+ * Slack only: the signing secret from the app's Basic Information page. Needed to receive events from your Slack app; any other platform is a 400.
31535
+ */
31536
+ slackSigningSecret?: string;
31516
31537
  /**
31517
31538
  * Areas this app requests. Defaults to every area the platform supports; an area the platform cannot request separately is a 400.
31518
31539
  */
@@ -31538,6 +31559,10 @@ type UpdateOAuthAppData = {
31538
31559
  body: {
31539
31560
  label?: string;
31540
31561
  clientSecret?: string;
31562
+ /**
31563
+ * Slack only: saves or replaces the signing secret from the app's Basic Information page; any other platform is a 400.
31564
+ */
31565
+ slackSigningSecret?: string;
31541
31566
  /**
31542
31567
  * Replaces the areas new connects request. Accounts already connected keep what they were granted until they reconnect.
31543
31568
  */
@@ -51008,7 +51033,7 @@ type UpdateAdSetData = {
51008
51033
  */
51009
51034
  placements?: {
51010
51035
  publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
51011
- facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
51036
+ facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
51012
51037
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
51013
51038
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
51014
51039
  audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
@@ -57727,7 +57752,7 @@ type CreateStandaloneAdData = {
57727
57752
  * Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
57728
57753
  */
57729
57754
  publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
57730
- facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
57755
+ facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
57731
57756
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
57732
57757
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
57733
57758
  audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
package/dist/index.d.ts CHANGED
@@ -9034,7 +9034,7 @@ type CtwaAdRequestBody = {
9034
9034
  * Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
9035
9035
  */
9036
9036
  publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
9037
- facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
9037
+ facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
9038
9038
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
9039
9039
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
9040
9040
  audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
@@ -13835,7 +13835,7 @@ type MetaPlacementAssets = {
13835
13835
  */
13836
13836
  placements: {
13837
13837
  publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
13838
- facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
13838
+ facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
13839
13839
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
13840
13840
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
13841
13841
  audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
@@ -13960,6 +13960,23 @@ type OAuthApp = {
13960
13960
  * TikTok only: set this as the webhook callback URL in your TikTok developer app. TikTok uses it to report when a video finishes publishing; Zernio also checks the publish status itself, so posting works without it. Null on other platforms.
13961
13961
  */
13962
13962
  sharedWebhookUrl?: (string) | null;
13963
+ /**
13964
+ * Slack only: whether the signing secret of your Slack app is saved. Without it Zernio refuses every event sent to `slackEvents.requestUrl`.
13965
+ */
13966
+ hasSlackSigningSecret?: boolean;
13967
+ /**
13968
+ * Slack only; null on other platforms. Slack delivers messages and mentions to your app's own Request URL.
13969
+ *
13970
+ * Save the app's signing secret first (`slackSigningSecret`), then set this Request URL under Event Subscriptions and subscribe the listed bot events. Zernio checks each delivery against that secret.
13971
+ *
13972
+ */
13973
+ slackEvents?: {
13974
+ requestUrl: string;
13975
+ /**
13976
+ * Subscribe the app to these bot events.
13977
+ */
13978
+ botEvents: Array<(string)>;
13979
+ } | null;
13963
13980
  createdAt: string;
13964
13981
  };
13965
13982
  /**
@@ -31513,6 +31530,10 @@ type CreateOAuthAppData = {
31513
31530
  label: string;
31514
31531
  clientId: string;
31515
31532
  clientSecret: string;
31533
+ /**
31534
+ * Slack only: the signing secret from the app's Basic Information page. Needed to receive events from your Slack app; any other platform is a 400.
31535
+ */
31536
+ slackSigningSecret?: string;
31516
31537
  /**
31517
31538
  * Areas this app requests. Defaults to every area the platform supports; an area the platform cannot request separately is a 400.
31518
31539
  */
@@ -31538,6 +31559,10 @@ type UpdateOAuthAppData = {
31538
31559
  body: {
31539
31560
  label?: string;
31540
31561
  clientSecret?: string;
31562
+ /**
31563
+ * Slack only: saves or replaces the signing secret from the app's Basic Information page; any other platform is a 400.
31564
+ */
31565
+ slackSigningSecret?: string;
31541
31566
  /**
31542
31567
  * Replaces the areas new connects request. Accounts already connected keep what they were granted until they reconnect.
31543
31568
  */
@@ -51008,7 +51033,7 @@ type UpdateAdSetData = {
51008
51033
  */
51009
51034
  placements?: {
51010
51035
  publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
51011
- facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
51036
+ facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
51012
51037
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
51013
51038
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
51014
51039
  audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
@@ -57727,7 +57752,7 @@ type CreateStandaloneAdData = {
57727
57752
  * Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
57728
57753
  */
57729
57754
  publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
57730
- facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
57755
+ facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
57731
57756
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
57732
57757
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
57733
57758
  audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.1387",
39
+ version: "0.2.1389",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.1387",
8
+ version: "0.2.1389",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1387",
3
+ "version": "0.2.1389",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -7074,7 +7074,7 @@ export type CtwaAdRequestBody = {
7074
7074
  * Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
7075
7075
  */
7076
7076
  publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
7077
- facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
7077
+ facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
7078
7078
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
7079
7079
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
7080
7080
  audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
@@ -12089,7 +12089,7 @@ export type MetaPlacementAssets = {
12089
12089
  */
12090
12090
  placements: {
12091
12091
  publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
12092
- facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
12092
+ facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
12093
12093
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
12094
12094
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
12095
12095
  audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
@@ -12221,6 +12221,23 @@ export type OAuthApp = {
12221
12221
  * TikTok only: set this as the webhook callback URL in your TikTok developer app. TikTok uses it to report when a video finishes publishing; Zernio also checks the publish status itself, so posting works without it. Null on other platforms.
12222
12222
  */
12223
12223
  sharedWebhookUrl?: (string) | null;
12224
+ /**
12225
+ * Slack only: whether the signing secret of your Slack app is saved. Without it Zernio refuses every event sent to `slackEvents.requestUrl`.
12226
+ */
12227
+ hasSlackSigningSecret?: boolean;
12228
+ /**
12229
+ * Slack only; null on other platforms. Slack delivers messages and mentions to your app's own Request URL.
12230
+ *
12231
+ * Save the app's signing secret first (`slackSigningSecret`), then set this Request URL under Event Subscriptions and subscribe the listed bot events. Zernio checks each delivery against that secret.
12232
+ *
12233
+ */
12234
+ slackEvents?: {
12235
+ requestUrl: string;
12236
+ /**
12237
+ * Subscribe the app to these bot events.
12238
+ */
12239
+ botEvents: Array<(string)>;
12240
+ } | null;
12224
12241
  createdAt: string;
12225
12242
  };
12226
12243
 
@@ -30709,6 +30726,10 @@ export type CreateOAuthAppData = {
30709
30726
  label: string;
30710
30727
  clientId: string;
30711
30728
  clientSecret: string;
30729
+ /**
30730
+ * Slack only: the signing secret from the app's Basic Information page. Needed to receive events from your Slack app; any other platform is a 400.
30731
+ */
30732
+ slackSigningSecret?: string;
30712
30733
  /**
30713
30734
  * Areas this app requests. Defaults to every area the platform supports; an area the platform cannot request separately is a 400.
30714
30735
  */
@@ -30740,6 +30761,10 @@ export type UpdateOAuthAppData = {
30740
30761
  body: {
30741
30762
  label?: string;
30742
30763
  clientSecret?: string;
30764
+ /**
30765
+ * Slack only: saves or replaces the signing secret from the app's Basic Information page; any other platform is a 400.
30766
+ */
30767
+ slackSigningSecret?: string;
30743
30768
  /**
30744
30769
  * Replaces the areas new connects request. Accounts already connected keep what they were granted until they reconnect.
30745
30770
  */
@@ -51800,7 +51825,7 @@ export type UpdateAdSetData = {
51800
51825
  */
51801
51826
  placements?: {
51802
51827
  publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
51803
- facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
51828
+ facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
51804
51829
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
51805
51830
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
51806
51831
  audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
@@ -58891,7 +58916,7 @@ export type CreateStandaloneAdData = {
58891
58916
  * Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
58892
58917
  */
58893
58918
  publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
58894
- facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
58919
+ facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
58895
58920
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
58896
58921
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
58897
58922
  audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;