@runtypelabs/sdk 6.3.2 → 6.3.3
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 +7 -4
- package/dist/index.d.cts +13 -5
- package/dist/index.d.ts +13 -5
- package/dist/index.mjs +7 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6362,7 +6362,7 @@ var Runtype = class {
|
|
|
6362
6362
|
|
|
6363
6363
|
// src/version.ts
|
|
6364
6364
|
var FALLBACK_VERSION = "0.0.0";
|
|
6365
|
-
var SDK_VERSION = "6.3.
|
|
6365
|
+
var SDK_VERSION = "6.3.3".length > 0 ? "6.3.3" : FALLBACK_VERSION;
|
|
6366
6366
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
6367
6367
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
6368
6368
|
|
|
@@ -12726,9 +12726,12 @@ var IntegrationsEndpoint = class {
|
|
|
12726
12726
|
return this.client.post("/oauth/slack/start", data);
|
|
12727
12727
|
}
|
|
12728
12728
|
/**
|
|
12729
|
-
* Generate the Slack app manifest
|
|
12730
|
-
*
|
|
12731
|
-
* is always valid for Slack (relative proxy paths never
|
|
12729
|
+
* Generate the Slack app manifest for a surface, plus a link to Slack's
|
|
12730
|
+
* app-creation page. The manifest carries absolute API URLs derived
|
|
12731
|
+
* server-side, so it is always valid for Slack (relative proxy paths never
|
|
12732
|
+
* leak in). Slack's create-app modal ignores a manifest passed in the URL, so
|
|
12733
|
+
* `manifestJson` is pasted into its "From a manifest" option rather than
|
|
12734
|
+
* embedded in `createAppUrl`.
|
|
12732
12735
|
*/
|
|
12733
12736
|
async generateSlackManifest(data) {
|
|
12734
12737
|
return this.client.post("/integrations/slack/manifest", data);
|
package/dist/index.d.cts
CHANGED
|
@@ -17080,7 +17080,7 @@ interface paths {
|
|
|
17080
17080
|
put?: never;
|
|
17081
17081
|
/**
|
|
17082
17082
|
* Generate Slack app manifest
|
|
17083
|
-
* @description Generate the Slack app manifest
|
|
17083
|
+
* @description Generate the Slack app manifest for a surface, with absolute API URLs (events webhook, interactivity webhook, and OAuth redirect), plus a link to Slack's app-creation page. Paste the manifest into Slack's From a manifest option; Slack no longer accepts a manifest embedded in the URL. The redirect URL matches the OAuth start route byte-for-byte.
|
|
17084
17084
|
*/
|
|
17085
17085
|
post: {
|
|
17086
17086
|
parameters: {
|
|
@@ -45941,7 +45941,12 @@ interface SlackManifestRequest {
|
|
|
45941
45941
|
interface SlackManifestResponse {
|
|
45942
45942
|
/** Slack app manifest as a JSON string (snake_case, per Slack's schema). */
|
|
45943
45943
|
manifestJson: string;
|
|
45944
|
-
/**
|
|
45944
|
+
/**
|
|
45945
|
+
* Link to Slack's app-creation page (`https://api.slack.com/apps?new_app=1`).
|
|
45946
|
+
* The manifest is NOT embedded — Slack's create-app modal ignores the
|
|
45947
|
+
* `manifest_json` URL parameter, so paste `manifestJson` into the
|
|
45948
|
+
* "From a manifest" option instead.
|
|
45949
|
+
*/
|
|
45945
45950
|
createAppUrl: string;
|
|
45946
45951
|
eventsWebhookUrl: string;
|
|
45947
45952
|
interactivityWebhookUrl?: string;
|
|
@@ -52808,9 +52813,12 @@ declare class IntegrationsEndpoint {
|
|
|
52808
52813
|
*/
|
|
52809
52814
|
startSlackOAuth(data: SlackOAuthStartRequest): Promise<SlackOAuthStartResponse>;
|
|
52810
52815
|
/**
|
|
52811
|
-
* Generate the Slack app manifest
|
|
52812
|
-
*
|
|
52813
|
-
* is always valid for Slack (relative proxy paths never
|
|
52816
|
+
* Generate the Slack app manifest for a surface, plus a link to Slack's
|
|
52817
|
+
* app-creation page. The manifest carries absolute API URLs derived
|
|
52818
|
+
* server-side, so it is always valid for Slack (relative proxy paths never
|
|
52819
|
+
* leak in). Slack's create-app modal ignores a manifest passed in the URL, so
|
|
52820
|
+
* `manifestJson` is pasted into its "From a manifest" option rather than
|
|
52821
|
+
* embedded in `createAppUrl`.
|
|
52814
52822
|
*/
|
|
52815
52823
|
generateSlackManifest(data: SlackManifestRequest): Promise<SlackManifestResponse>;
|
|
52816
52824
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -17080,7 +17080,7 @@ interface paths {
|
|
|
17080
17080
|
put?: never;
|
|
17081
17081
|
/**
|
|
17082
17082
|
* Generate Slack app manifest
|
|
17083
|
-
* @description Generate the Slack app manifest
|
|
17083
|
+
* @description Generate the Slack app manifest for a surface, with absolute API URLs (events webhook, interactivity webhook, and OAuth redirect), plus a link to Slack's app-creation page. Paste the manifest into Slack's From a manifest option; Slack no longer accepts a manifest embedded in the URL. The redirect URL matches the OAuth start route byte-for-byte.
|
|
17084
17084
|
*/
|
|
17085
17085
|
post: {
|
|
17086
17086
|
parameters: {
|
|
@@ -45941,7 +45941,12 @@ interface SlackManifestRequest {
|
|
|
45941
45941
|
interface SlackManifestResponse {
|
|
45942
45942
|
/** Slack app manifest as a JSON string (snake_case, per Slack's schema). */
|
|
45943
45943
|
manifestJson: string;
|
|
45944
|
-
/**
|
|
45944
|
+
/**
|
|
45945
|
+
* Link to Slack's app-creation page (`https://api.slack.com/apps?new_app=1`).
|
|
45946
|
+
* The manifest is NOT embedded — Slack's create-app modal ignores the
|
|
45947
|
+
* `manifest_json` URL parameter, so paste `manifestJson` into the
|
|
45948
|
+
* "From a manifest" option instead.
|
|
45949
|
+
*/
|
|
45945
45950
|
createAppUrl: string;
|
|
45946
45951
|
eventsWebhookUrl: string;
|
|
45947
45952
|
interactivityWebhookUrl?: string;
|
|
@@ -52808,9 +52813,12 @@ declare class IntegrationsEndpoint {
|
|
|
52808
52813
|
*/
|
|
52809
52814
|
startSlackOAuth(data: SlackOAuthStartRequest): Promise<SlackOAuthStartResponse>;
|
|
52810
52815
|
/**
|
|
52811
|
-
* Generate the Slack app manifest
|
|
52812
|
-
*
|
|
52813
|
-
* is always valid for Slack (relative proxy paths never
|
|
52816
|
+
* Generate the Slack app manifest for a surface, plus a link to Slack's
|
|
52817
|
+
* app-creation page. The manifest carries absolute API URLs derived
|
|
52818
|
+
* server-side, so it is always valid for Slack (relative proxy paths never
|
|
52819
|
+
* leak in). Slack's create-app modal ignores a manifest passed in the URL, so
|
|
52820
|
+
* `manifestJson` is pasted into its "From a manifest" option rather than
|
|
52821
|
+
* embedded in `createAppUrl`.
|
|
52814
52822
|
*/
|
|
52815
52823
|
generateSlackManifest(data: SlackManifestRequest): Promise<SlackManifestResponse>;
|
|
52816
52824
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -6175,7 +6175,7 @@ var Runtype = class {
|
|
|
6175
6175
|
|
|
6176
6176
|
// src/version.ts
|
|
6177
6177
|
var FALLBACK_VERSION = "0.0.0";
|
|
6178
|
-
var SDK_VERSION = "6.3.
|
|
6178
|
+
var SDK_VERSION = "6.3.3".length > 0 ? "6.3.3" : FALLBACK_VERSION;
|
|
6179
6179
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
6180
6180
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
6181
6181
|
|
|
@@ -12539,9 +12539,12 @@ var IntegrationsEndpoint = class {
|
|
|
12539
12539
|
return this.client.post("/oauth/slack/start", data);
|
|
12540
12540
|
}
|
|
12541
12541
|
/**
|
|
12542
|
-
* Generate the Slack app manifest
|
|
12543
|
-
*
|
|
12544
|
-
* is always valid for Slack (relative proxy paths never
|
|
12542
|
+
* Generate the Slack app manifest for a surface, plus a link to Slack's
|
|
12543
|
+
* app-creation page. The manifest carries absolute API URLs derived
|
|
12544
|
+
* server-side, so it is always valid for Slack (relative proxy paths never
|
|
12545
|
+
* leak in). Slack's create-app modal ignores a manifest passed in the URL, so
|
|
12546
|
+
* `manifestJson` is pasted into its "From a manifest" option rather than
|
|
12547
|
+
* embedded in `createAppUrl`.
|
|
12545
12548
|
*/
|
|
12546
12549
|
async generateSlackManifest(data) {
|
|
12547
12550
|
return this.client.post("/integrations/slack/manifest", data);
|
package/package.json
CHANGED