@getlatedev/node 0.2.1388 → 0.2.1390

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
@@ -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
  */
@@ -34197,6 +34222,10 @@ type UpdateSlackSettingsData = {
34197
34222
  * Author avatar image URL. Empty string clears it.
34198
34223
  */
34199
34224
  defaultIconUrl?: string;
34225
+ /**
34226
+ * Applies the name and icon to every connected channel of this Slack workspace owned by the same owner, on the same Slack app, in profiles the caller can access. Channels connected later inherit the identity from a channel of that workspace.
34227
+ */
34228
+ applyToWorkspace?: boolean;
34200
34229
  };
34201
34230
  path: {
34202
34231
  accountId: string;
package/dist/index.d.ts CHANGED
@@ -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
  */
@@ -34197,6 +34222,10 @@ type UpdateSlackSettingsData = {
34197
34222
  * Author avatar image URL. Empty string clears it.
34198
34223
  */
34199
34224
  defaultIconUrl?: string;
34225
+ /**
34226
+ * Applies the name and icon to every connected channel of this Slack workspace owned by the same owner, on the same Slack app, in profiles the caller can access. Channels connected later inherit the identity from a channel of that workspace.
34227
+ */
34228
+ applyToWorkspace?: boolean;
34200
34229
  };
34201
34230
  path: {
34202
34231
  accountId: string;
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.1388",
39
+ version: "0.2.1390",
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.1388",
8
+ version: "0.2.1390",
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.1388",
3
+ "version": "0.2.1390",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -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
  */
@@ -33615,6 +33640,10 @@ export type UpdateSlackSettingsData = {
33615
33640
  * Author avatar image URL. Empty string clears it.
33616
33641
  */
33617
33642
  defaultIconUrl?: string;
33643
+ /**
33644
+ * Applies the name and icon to every connected channel of this Slack workspace owned by the same owner, on the same Slack app, in profiles the caller can access. Channels connected later inherit the identity from a channel of that workspace.
33645
+ */
33646
+ applyToWorkspace?: boolean;
33618
33647
  };
33619
33648
  path: {
33620
33649
  accountId: string;