@runtypelabs/sdk 6.3.2 → 6.3.4
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 +30 -6
- package/dist/index.d.ts +30 -6
- 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.4".length > 0 ? "6.3.4" : 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
|
@@ -16583,7 +16583,7 @@ interface paths {
|
|
|
16583
16583
|
content: {
|
|
16584
16584
|
"application/json": {
|
|
16585
16585
|
/** @enum {string} */
|
|
16586
|
-
provider: "slack" | "telegram";
|
|
16586
|
+
provider: "slack" | "telegram" | "google";
|
|
16587
16587
|
};
|
|
16588
16588
|
};
|
|
16589
16589
|
};
|
|
@@ -16754,6 +16754,9 @@ interface paths {
|
|
|
16754
16754
|
accountName: string;
|
|
16755
16755
|
createdAt: string;
|
|
16756
16756
|
integrationId: string;
|
|
16757
|
+
metadata?: {
|
|
16758
|
+
[key: string]: unknown;
|
|
16759
|
+
};
|
|
16757
16760
|
provider: string;
|
|
16758
16761
|
status: string;
|
|
16759
16762
|
}[];
|
|
@@ -17080,7 +17083,7 @@ interface paths {
|
|
|
17080
17083
|
put?: never;
|
|
17081
17084
|
/**
|
|
17082
17085
|
* Generate Slack app manifest
|
|
17083
|
-
* @description Generate the Slack app manifest
|
|
17086
|
+
* @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
17087
|
*/
|
|
17085
17088
|
post: {
|
|
17086
17089
|
parameters: {
|
|
@@ -35821,9 +35824,11 @@ interface paths {
|
|
|
35821
35824
|
data: {
|
|
35822
35825
|
agentExecutionId: string | null;
|
|
35823
35826
|
createdAt: string;
|
|
35827
|
+
durationMs: number | null;
|
|
35824
35828
|
error: string | null;
|
|
35825
35829
|
executedAt: string | null;
|
|
35826
35830
|
failedAt: string | null;
|
|
35831
|
+
failedStepCount: number | null;
|
|
35827
35832
|
flowId: string | null;
|
|
35828
35833
|
flowName: string | null;
|
|
35829
35834
|
record: {
|
|
@@ -35835,6 +35840,7 @@ interface paths {
|
|
|
35835
35840
|
recordResultId: string | null;
|
|
35836
35841
|
result?: unknown;
|
|
35837
35842
|
status: string;
|
|
35843
|
+
stepCount: number | null;
|
|
35838
35844
|
}[];
|
|
35839
35845
|
pagination: {
|
|
35840
35846
|
hasMore: boolean;
|
|
@@ -35842,6 +35848,9 @@ interface paths {
|
|
|
35842
35848
|
offset: number;
|
|
35843
35849
|
total: number;
|
|
35844
35850
|
};
|
|
35851
|
+
summary?: {
|
|
35852
|
+
recordsWithFailedSteps: number;
|
|
35853
|
+
};
|
|
35845
35854
|
};
|
|
35846
35855
|
};
|
|
35847
35856
|
};
|
|
@@ -36002,9 +36011,11 @@ interface paths {
|
|
|
36002
36011
|
data: {
|
|
36003
36012
|
agentExecutionId: string | null;
|
|
36004
36013
|
createdAt: string;
|
|
36014
|
+
durationMs: number | null;
|
|
36005
36015
|
error: string | null;
|
|
36006
36016
|
executedAt: string | null;
|
|
36007
36017
|
failedAt: string | null;
|
|
36018
|
+
failedStepCount: number | null;
|
|
36008
36019
|
flowId: string | null;
|
|
36009
36020
|
flowName: string | null;
|
|
36010
36021
|
record: {
|
|
@@ -36016,6 +36027,7 @@ interface paths {
|
|
|
36016
36027
|
recordResultId: string | null;
|
|
36017
36028
|
result?: unknown;
|
|
36018
36029
|
status: string;
|
|
36030
|
+
stepCount: number | null;
|
|
36019
36031
|
}[];
|
|
36020
36032
|
pagination: {
|
|
36021
36033
|
hasMore: boolean;
|
|
@@ -36023,6 +36035,9 @@ interface paths {
|
|
|
36023
36035
|
offset: number;
|
|
36024
36036
|
total: number;
|
|
36025
36037
|
};
|
|
36038
|
+
summary?: {
|
|
36039
|
+
recordsWithFailedSteps: number;
|
|
36040
|
+
};
|
|
36026
36041
|
};
|
|
36027
36042
|
};
|
|
36028
36043
|
};
|
|
@@ -41213,6 +41228,7 @@ interface paths {
|
|
|
41213
41228
|
enableMassiveWebRender: boolean;
|
|
41214
41229
|
enableRuntown: boolean;
|
|
41215
41230
|
enableRuntypeApps: boolean;
|
|
41231
|
+
enableSelfServeOauthClients: boolean;
|
|
41216
41232
|
enableSkillScanner: boolean;
|
|
41217
41233
|
enableVoice: boolean;
|
|
41218
41234
|
enableWorkspaceModel: boolean;
|
|
@@ -45941,7 +45957,12 @@ interface SlackManifestRequest {
|
|
|
45941
45957
|
interface SlackManifestResponse {
|
|
45942
45958
|
/** Slack app manifest as a JSON string (snake_case, per Slack's schema). */
|
|
45943
45959
|
manifestJson: string;
|
|
45944
|
-
/**
|
|
45960
|
+
/**
|
|
45961
|
+
* Link to Slack's app-creation page (`https://api.slack.com/apps?new_app=1`).
|
|
45962
|
+
* The manifest is NOT embedded — Slack's create-app modal ignores the
|
|
45963
|
+
* `manifest_json` URL parameter, so paste `manifestJson` into the
|
|
45964
|
+
* "From a manifest" option instead.
|
|
45965
|
+
*/
|
|
45945
45966
|
createAppUrl: string;
|
|
45946
45967
|
eventsWebhookUrl: string;
|
|
45947
45968
|
interactivityWebhookUrl?: string;
|
|
@@ -52808,9 +52829,12 @@ declare class IntegrationsEndpoint {
|
|
|
52808
52829
|
*/
|
|
52809
52830
|
startSlackOAuth(data: SlackOAuthStartRequest): Promise<SlackOAuthStartResponse>;
|
|
52810
52831
|
/**
|
|
52811
|
-
* Generate the Slack app manifest
|
|
52812
|
-
*
|
|
52813
|
-
* is always valid for Slack (relative proxy paths never
|
|
52832
|
+
* Generate the Slack app manifest for a surface, plus a link to Slack's
|
|
52833
|
+
* app-creation page. The manifest carries absolute API URLs derived
|
|
52834
|
+
* server-side, so it is always valid for Slack (relative proxy paths never
|
|
52835
|
+
* leak in). Slack's create-app modal ignores a manifest passed in the URL, so
|
|
52836
|
+
* `manifestJson` is pasted into its "From a manifest" option rather than
|
|
52837
|
+
* embedded in `createAppUrl`.
|
|
52814
52838
|
*/
|
|
52815
52839
|
generateSlackManifest(data: SlackManifestRequest): Promise<SlackManifestResponse>;
|
|
52816
52840
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -16583,7 +16583,7 @@ interface paths {
|
|
|
16583
16583
|
content: {
|
|
16584
16584
|
"application/json": {
|
|
16585
16585
|
/** @enum {string} */
|
|
16586
|
-
provider: "slack" | "telegram";
|
|
16586
|
+
provider: "slack" | "telegram" | "google";
|
|
16587
16587
|
};
|
|
16588
16588
|
};
|
|
16589
16589
|
};
|
|
@@ -16754,6 +16754,9 @@ interface paths {
|
|
|
16754
16754
|
accountName: string;
|
|
16755
16755
|
createdAt: string;
|
|
16756
16756
|
integrationId: string;
|
|
16757
|
+
metadata?: {
|
|
16758
|
+
[key: string]: unknown;
|
|
16759
|
+
};
|
|
16757
16760
|
provider: string;
|
|
16758
16761
|
status: string;
|
|
16759
16762
|
}[];
|
|
@@ -17080,7 +17083,7 @@ interface paths {
|
|
|
17080
17083
|
put?: never;
|
|
17081
17084
|
/**
|
|
17082
17085
|
* Generate Slack app manifest
|
|
17083
|
-
* @description Generate the Slack app manifest
|
|
17086
|
+
* @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
17087
|
*/
|
|
17085
17088
|
post: {
|
|
17086
17089
|
parameters: {
|
|
@@ -35821,9 +35824,11 @@ interface paths {
|
|
|
35821
35824
|
data: {
|
|
35822
35825
|
agentExecutionId: string | null;
|
|
35823
35826
|
createdAt: string;
|
|
35827
|
+
durationMs: number | null;
|
|
35824
35828
|
error: string | null;
|
|
35825
35829
|
executedAt: string | null;
|
|
35826
35830
|
failedAt: string | null;
|
|
35831
|
+
failedStepCount: number | null;
|
|
35827
35832
|
flowId: string | null;
|
|
35828
35833
|
flowName: string | null;
|
|
35829
35834
|
record: {
|
|
@@ -35835,6 +35840,7 @@ interface paths {
|
|
|
35835
35840
|
recordResultId: string | null;
|
|
35836
35841
|
result?: unknown;
|
|
35837
35842
|
status: string;
|
|
35843
|
+
stepCount: number | null;
|
|
35838
35844
|
}[];
|
|
35839
35845
|
pagination: {
|
|
35840
35846
|
hasMore: boolean;
|
|
@@ -35842,6 +35848,9 @@ interface paths {
|
|
|
35842
35848
|
offset: number;
|
|
35843
35849
|
total: number;
|
|
35844
35850
|
};
|
|
35851
|
+
summary?: {
|
|
35852
|
+
recordsWithFailedSteps: number;
|
|
35853
|
+
};
|
|
35845
35854
|
};
|
|
35846
35855
|
};
|
|
35847
35856
|
};
|
|
@@ -36002,9 +36011,11 @@ interface paths {
|
|
|
36002
36011
|
data: {
|
|
36003
36012
|
agentExecutionId: string | null;
|
|
36004
36013
|
createdAt: string;
|
|
36014
|
+
durationMs: number | null;
|
|
36005
36015
|
error: string | null;
|
|
36006
36016
|
executedAt: string | null;
|
|
36007
36017
|
failedAt: string | null;
|
|
36018
|
+
failedStepCount: number | null;
|
|
36008
36019
|
flowId: string | null;
|
|
36009
36020
|
flowName: string | null;
|
|
36010
36021
|
record: {
|
|
@@ -36016,6 +36027,7 @@ interface paths {
|
|
|
36016
36027
|
recordResultId: string | null;
|
|
36017
36028
|
result?: unknown;
|
|
36018
36029
|
status: string;
|
|
36030
|
+
stepCount: number | null;
|
|
36019
36031
|
}[];
|
|
36020
36032
|
pagination: {
|
|
36021
36033
|
hasMore: boolean;
|
|
@@ -36023,6 +36035,9 @@ interface paths {
|
|
|
36023
36035
|
offset: number;
|
|
36024
36036
|
total: number;
|
|
36025
36037
|
};
|
|
36038
|
+
summary?: {
|
|
36039
|
+
recordsWithFailedSteps: number;
|
|
36040
|
+
};
|
|
36026
36041
|
};
|
|
36027
36042
|
};
|
|
36028
36043
|
};
|
|
@@ -41213,6 +41228,7 @@ interface paths {
|
|
|
41213
41228
|
enableMassiveWebRender: boolean;
|
|
41214
41229
|
enableRuntown: boolean;
|
|
41215
41230
|
enableRuntypeApps: boolean;
|
|
41231
|
+
enableSelfServeOauthClients: boolean;
|
|
41216
41232
|
enableSkillScanner: boolean;
|
|
41217
41233
|
enableVoice: boolean;
|
|
41218
41234
|
enableWorkspaceModel: boolean;
|
|
@@ -45941,7 +45957,12 @@ interface SlackManifestRequest {
|
|
|
45941
45957
|
interface SlackManifestResponse {
|
|
45942
45958
|
/** Slack app manifest as a JSON string (snake_case, per Slack's schema). */
|
|
45943
45959
|
manifestJson: string;
|
|
45944
|
-
/**
|
|
45960
|
+
/**
|
|
45961
|
+
* Link to Slack's app-creation page (`https://api.slack.com/apps?new_app=1`).
|
|
45962
|
+
* The manifest is NOT embedded — Slack's create-app modal ignores the
|
|
45963
|
+
* `manifest_json` URL parameter, so paste `manifestJson` into the
|
|
45964
|
+
* "From a manifest" option instead.
|
|
45965
|
+
*/
|
|
45945
45966
|
createAppUrl: string;
|
|
45946
45967
|
eventsWebhookUrl: string;
|
|
45947
45968
|
interactivityWebhookUrl?: string;
|
|
@@ -52808,9 +52829,12 @@ declare class IntegrationsEndpoint {
|
|
|
52808
52829
|
*/
|
|
52809
52830
|
startSlackOAuth(data: SlackOAuthStartRequest): Promise<SlackOAuthStartResponse>;
|
|
52810
52831
|
/**
|
|
52811
|
-
* Generate the Slack app manifest
|
|
52812
|
-
*
|
|
52813
|
-
* is always valid for Slack (relative proxy paths never
|
|
52832
|
+
* Generate the Slack app manifest for a surface, plus a link to Slack's
|
|
52833
|
+
* app-creation page. The manifest carries absolute API URLs derived
|
|
52834
|
+
* server-side, so it is always valid for Slack (relative proxy paths never
|
|
52835
|
+
* leak in). Slack's create-app modal ignores a manifest passed in the URL, so
|
|
52836
|
+
* `manifestJson` is pasted into its "From a manifest" option rather than
|
|
52837
|
+
* embedded in `createAppUrl`.
|
|
52814
52838
|
*/
|
|
52815
52839
|
generateSlackManifest(data: SlackManifestRequest): Promise<SlackManifestResponse>;
|
|
52816
52840
|
}
|
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.4".length > 0 ? "6.3.4" : 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