@stackone/core 3.27.0 → 3.28.1
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 +2 -2
- package/dist/index.d.cts +217 -4
- package/dist/index.d.mts +217 -4
- package/dist/index.mjs +2 -2
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __name } from "./chunk-BhWHdk3m.mjs";
|
|
2
2
|
import { ZodType, z } from "@stackone/utils";
|
|
3
|
-
import { ConcurrencyConfig, HttpHeaders, HttpMethod, IHttpClient, RateLimitConfig, SigningOptions } from "@stackone/transport";
|
|
3
|
+
import { ConcurrencyConfig, HttpHeaders, HttpMethod, IHttpClient, IMcpClient, McpClientConfig, RateLimitConfig, SigningOptions } from "@stackone/transport";
|
|
4
4
|
import { LambdaClient, LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
5
5
|
import { Readable } from "node:stream";
|
|
6
6
|
import { IOlapClient } from "@stackone/olap";
|
|
@@ -1755,6 +1755,9 @@ type LambdaInvokerParams = {
|
|
|
1755
1755
|
};
|
|
1756
1756
|
type LambdaInvoker = (params: LambdaInvokerParams) => Promise<LambdaInvocationResult>;
|
|
1757
1757
|
//#endregion
|
|
1758
|
+
//#region src/stepFunctions/mcpRequest/mcpRequestStepFunction.d.ts
|
|
1759
|
+
type McpClientBuilder = (config: McpClientConfig) => IMcpClient;
|
|
1760
|
+
//#endregion
|
|
1758
1761
|
//#region src/stepFunctions/stepFunctionsList.d.ts
|
|
1759
1762
|
declare enum StepFunctionName {
|
|
1760
1763
|
TYPECAST = "typecast",
|
|
@@ -1771,7 +1774,8 @@ declare enum StepFunctionName {
|
|
|
1771
1774
|
EMIT_EVENT = "emit_event",
|
|
1772
1775
|
BROWSER_USE = "browser_use",
|
|
1773
1776
|
CODE_EXECUTION_LAMBDA = "code_execution_lambda",
|
|
1774
|
-
SIGN_JWT = "sign_jwt"
|
|
1777
|
+
SIGN_JWT = "sign_jwt",
|
|
1778
|
+
MCP_REQUEST = "mcp_request"
|
|
1775
1779
|
}
|
|
1776
1780
|
declare const stepFunctions: {
|
|
1777
1781
|
typecast: {
|
|
@@ -1884,15 +1888,18 @@ declare const stepFunctions: {
|
|
|
1884
1888
|
}>>;
|
|
1885
1889
|
username: ZodOptional<ZodString>;
|
|
1886
1890
|
}, $strict>]>>;
|
|
1891
|
+
redirectUri: ZodOptional<ZodString>;
|
|
1887
1892
|
}, $strict>, ZodObject<{
|
|
1888
1893
|
type: ZodLiteral<"basic">;
|
|
1889
1894
|
username: ZodOptional<ZodString>;
|
|
1890
1895
|
password: ZodOptional<ZodString>;
|
|
1891
1896
|
encoding: ZodOptional<ZodString>;
|
|
1897
|
+
redirectUri: ZodOptional<ZodString>;
|
|
1892
1898
|
}, $strict>, ZodObject<{
|
|
1893
1899
|
type: ZodLiteral<"bearer">;
|
|
1894
1900
|
token: ZodString;
|
|
1895
1901
|
includeBearer: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
1902
|
+
redirectUri: ZodOptional<ZodString>;
|
|
1896
1903
|
}, $strict>, ZodObject<{
|
|
1897
1904
|
type: ZodLiteral<"oauth2">;
|
|
1898
1905
|
authorizationUrl: ZodOptional<ZodString>;
|
|
@@ -2024,15 +2031,18 @@ declare const stepFunctions: {
|
|
|
2024
2031
|
}>>;
|
|
2025
2032
|
username: ZodOptional<ZodString>;
|
|
2026
2033
|
}, $strict>]>>;
|
|
2034
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2027
2035
|
}, $strict>, ZodObject<{
|
|
2028
2036
|
type: ZodLiteral<"basic">;
|
|
2029
2037
|
username: ZodOptional<ZodString>;
|
|
2030
2038
|
password: ZodOptional<ZodString>;
|
|
2031
2039
|
encoding: ZodOptional<ZodString>;
|
|
2040
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2032
2041
|
}, $strict>, ZodObject<{
|
|
2033
2042
|
type: ZodLiteral<"bearer">;
|
|
2034
2043
|
token: ZodString;
|
|
2035
2044
|
includeBearer: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
2045
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2036
2046
|
}, $strict>, ZodObject<{
|
|
2037
2047
|
type: ZodLiteral<"oauth2">;
|
|
2038
2048
|
authorizationUrl: ZodOptional<ZodString>;
|
|
@@ -2173,15 +2183,18 @@ declare const stepFunctions: {
|
|
|
2173
2183
|
}>>;
|
|
2174
2184
|
username: ZodOptional<ZodString>;
|
|
2175
2185
|
}, $strict>]>>;
|
|
2186
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2176
2187
|
}, $strict>, ZodObject<{
|
|
2177
2188
|
type: ZodLiteral<"basic">;
|
|
2178
2189
|
username: ZodOptional<ZodString>;
|
|
2179
2190
|
password: ZodOptional<ZodString>;
|
|
2180
2191
|
encoding: ZodOptional<ZodString>;
|
|
2192
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2181
2193
|
}, $strict>, ZodObject<{
|
|
2182
2194
|
type: ZodLiteral<"bearer">;
|
|
2183
2195
|
token: ZodString;
|
|
2184
2196
|
includeBearer: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
2197
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2185
2198
|
}, $strict>, ZodObject<{
|
|
2186
2199
|
type: ZodLiteral<"oauth2">;
|
|
2187
2200
|
authorizationUrl: ZodOptional<ZodString>;
|
|
@@ -2394,15 +2407,18 @@ declare const stepFunctions: {
|
|
|
2394
2407
|
}>>;
|
|
2395
2408
|
username: ZodOptional<ZodString>;
|
|
2396
2409
|
}, $strict>]>>;
|
|
2410
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2397
2411
|
}, $strict>, ZodObject<{
|
|
2398
2412
|
type: ZodLiteral<"basic">;
|
|
2399
2413
|
username: ZodOptional<ZodString>;
|
|
2400
2414
|
password: ZodOptional<ZodString>;
|
|
2401
2415
|
encoding: ZodOptional<ZodString>;
|
|
2416
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2402
2417
|
}, $strict>, ZodObject<{
|
|
2403
2418
|
type: ZodLiteral<"bearer">;
|
|
2404
2419
|
token: ZodString;
|
|
2405
2420
|
includeBearer: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
2421
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2406
2422
|
}, $strict>, ZodObject<{
|
|
2407
2423
|
type: ZodLiteral<"oauth2">;
|
|
2408
2424
|
authorizationUrl: ZodOptional<ZodString>;
|
|
@@ -2516,15 +2532,18 @@ declare const stepFunctions: {
|
|
|
2516
2532
|
}>>;
|
|
2517
2533
|
username: ZodOptional<ZodString>;
|
|
2518
2534
|
}, $strict>]>>;
|
|
2535
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2519
2536
|
}, $strict>, ZodObject<{
|
|
2520
2537
|
type: ZodLiteral<"basic">;
|
|
2521
2538
|
username: ZodOptional<ZodString>;
|
|
2522
2539
|
password: ZodOptional<ZodString>;
|
|
2523
2540
|
encoding: ZodOptional<ZodString>;
|
|
2541
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2524
2542
|
}, $strict>, ZodObject<{
|
|
2525
2543
|
type: ZodLiteral<"bearer">;
|
|
2526
2544
|
token: ZodString;
|
|
2527
2545
|
includeBearer: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
2546
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2528
2547
|
}, $strict>, ZodObject<{
|
|
2529
2548
|
type: ZodLiteral<"oauth2">;
|
|
2530
2549
|
authorizationUrl: ZodOptional<ZodString>;
|
|
@@ -2630,15 +2649,18 @@ declare const stepFunctions: {
|
|
|
2630
2649
|
}>>;
|
|
2631
2650
|
username: ZodOptional<ZodString>;
|
|
2632
2651
|
}, $strict>]>>;
|
|
2652
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2633
2653
|
}, $strict>, ZodObject<{
|
|
2634
2654
|
type: ZodLiteral<"basic">;
|
|
2635
2655
|
username: ZodOptional<ZodString>;
|
|
2636
2656
|
password: ZodOptional<ZodString>;
|
|
2637
2657
|
encoding: ZodOptional<ZodString>;
|
|
2658
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2638
2659
|
}, $strict>, ZodObject<{
|
|
2639
2660
|
type: ZodLiteral<"bearer">;
|
|
2640
2661
|
token: ZodString;
|
|
2641
2662
|
includeBearer: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
2663
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2642
2664
|
}, $strict>, ZodObject<{
|
|
2643
2665
|
type: ZodLiteral<"oauth2">;
|
|
2644
2666
|
authorizationUrl: ZodOptional<ZodString>;
|
|
@@ -2821,6 +2843,101 @@ declare const stepFunctions: {
|
|
|
2821
2843
|
}, $strict>;
|
|
2822
2844
|
};
|
|
2823
2845
|
};
|
|
2846
|
+
mcp_request: {
|
|
2847
|
+
v1: {
|
|
2848
|
+
fn: ({
|
|
2849
|
+
block,
|
|
2850
|
+
params
|
|
2851
|
+
}: {
|
|
2852
|
+
block: Readonly<Block>;
|
|
2853
|
+
params?: StepFunctionParams;
|
|
2854
|
+
}, createMcpClient?: McpClientBuilder) => Promise<StepFunctionOutput>;
|
|
2855
|
+
inputSchema: ZodObject<{
|
|
2856
|
+
baseUrl: ZodOptional<ZodString>;
|
|
2857
|
+
url: ZodOptional<ZodString>;
|
|
2858
|
+
method: ZodDefault<ZodEnum<{
|
|
2859
|
+
"tools/call": "tools/call";
|
|
2860
|
+
"tools/list": "tools/list";
|
|
2861
|
+
}>>;
|
|
2862
|
+
toolName: ZodOptional<ZodString>;
|
|
2863
|
+
timeout: ZodOptional<ZodNumber>;
|
|
2864
|
+
authorization: ZodOptional<ZodDiscriminatedUnion<[ZodObject<{
|
|
2865
|
+
type: ZodLiteral<"none">;
|
|
2866
|
+
signing: ZodOptional<ZodDiscriminatedUnion<[ZodObject<{
|
|
2867
|
+
strategy: ZodLiteral<"aws4">;
|
|
2868
|
+
service: ZodString;
|
|
2869
|
+
region: ZodOptional<ZodString>;
|
|
2870
|
+
}, $strict>, ZodObject<{
|
|
2871
|
+
strategy: ZodLiteral<"hmac">;
|
|
2872
|
+
algorithm: ZodOptional<ZodEnum<{
|
|
2873
|
+
sha1: "sha1";
|
|
2874
|
+
sha256: "sha256";
|
|
2875
|
+
sha512: "sha512";
|
|
2876
|
+
}>>;
|
|
2877
|
+
headerName: ZodOptional<ZodString>;
|
|
2878
|
+
prefix: ZodOptional<ZodString>;
|
|
2879
|
+
dateFormat: ZodOptional<ZodEnum<{
|
|
2880
|
+
iso8601: "iso8601";
|
|
2881
|
+
rfc2822: "rfc2822";
|
|
2882
|
+
}>>;
|
|
2883
|
+
includeHost: ZodOptional<ZodBoolean>;
|
|
2884
|
+
includeBodyHash: ZodOptional<ZodBoolean>;
|
|
2885
|
+
outputFormat: ZodOptional<ZodEnum<{
|
|
2886
|
+
header: "header";
|
|
2887
|
+
basic: "basic";
|
|
2888
|
+
}>>;
|
|
2889
|
+
username: ZodOptional<ZodString>;
|
|
2890
|
+
}, $strict>]>>;
|
|
2891
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2892
|
+
}, $strict>, ZodObject<{
|
|
2893
|
+
type: ZodLiteral<"basic">;
|
|
2894
|
+
username: ZodOptional<ZodString>;
|
|
2895
|
+
password: ZodOptional<ZodString>;
|
|
2896
|
+
encoding: ZodOptional<ZodString>;
|
|
2897
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2898
|
+
}, $strict>, ZodObject<{
|
|
2899
|
+
type: ZodLiteral<"bearer">;
|
|
2900
|
+
token: ZodString;
|
|
2901
|
+
includeBearer: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
2902
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2903
|
+
}, $strict>, ZodObject<{
|
|
2904
|
+
type: ZodLiteral<"oauth2">;
|
|
2905
|
+
authorizationUrl: ZodOptional<ZodString>;
|
|
2906
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2907
|
+
authorizationParams: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
2908
|
+
tokenUrl: ZodOptional<ZodString>;
|
|
2909
|
+
tokenParams: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
2910
|
+
tokenExpiresIn: ZodOptional<ZodNumber>;
|
|
2911
|
+
tokenRefreshExpiresIn: ZodOptional<ZodNumber>;
|
|
2912
|
+
token: ZodString;
|
|
2913
|
+
includeBearer: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
2914
|
+
scopes: ZodOptional<ZodString>;
|
|
2915
|
+
scopeDelimiter: ZodOptional<ZodString>;
|
|
2916
|
+
customHeaders: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
2917
|
+
pkce: ZodOptional<ZodBoolean>;
|
|
2918
|
+
additionalTokenFields: ZodOptional<ZodRecord<ZodString, ZodOptional<ZodString>>>;
|
|
2919
|
+
callbackParams: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
2920
|
+
issuer: ZodOptional<ZodString>;
|
|
2921
|
+
tokenResponse: ZodOptional<ZodObject<{
|
|
2922
|
+
acceptTokenTypes: ZodOptional<ZodArray<ZodString>>;
|
|
2923
|
+
accessToken: ZodOptional<ZodString>;
|
|
2924
|
+
refreshToken: ZodOptional<ZodString>;
|
|
2925
|
+
}, $strict>>;
|
|
2926
|
+
}, $strict>]>>;
|
|
2927
|
+
args: ZodOptional<ZodArray<ZodObject<{
|
|
2928
|
+
name: ZodString;
|
|
2929
|
+
value: ZodUnknown;
|
|
2930
|
+
condition: ZodOptional<ZodString>;
|
|
2931
|
+
}, $strict>>>;
|
|
2932
|
+
}, $strip>;
|
|
2933
|
+
outputSchema: ZodOptional<ZodObject<{
|
|
2934
|
+
data: ZodOptional<ZodUnknown>;
|
|
2935
|
+
raw: ZodOptional<ZodUnknown>;
|
|
2936
|
+
statusCode: ZodNumber;
|
|
2937
|
+
message: ZodOptional<ZodString>;
|
|
2938
|
+
}, $strict>>;
|
|
2939
|
+
};
|
|
2940
|
+
};
|
|
2824
2941
|
};
|
|
2825
2942
|
//#endregion
|
|
2826
2943
|
//#region src/stepFunctions/types.d.ts
|
|
@@ -3262,11 +3379,18 @@ type AuthorizationDefinition = {
|
|
|
3262
3379
|
type: 'oauth2';
|
|
3263
3380
|
[authParam: string]: unknown;
|
|
3264
3381
|
};
|
|
3382
|
+
type McpAuthorizationFlowConfig = {
|
|
3383
|
+
serverUrl?: string;
|
|
3384
|
+
discovery?: boolean;
|
|
3385
|
+
clientRegistration?: 'cimd' | 'dcr';
|
|
3386
|
+
scopes?: string[];
|
|
3387
|
+
};
|
|
3265
3388
|
type AuthenticationConfig = {
|
|
3266
3389
|
envKey: string;
|
|
3267
3390
|
envName: string;
|
|
3268
|
-
type: 'custom' | 'oauth2';
|
|
3391
|
+
type: 'custom' | 'oauth2' | 'mcp';
|
|
3269
3392
|
grantType?: 'authorization_code' | 'client_credentials';
|
|
3393
|
+
authorizationFlow?: McpAuthorizationFlowConfig;
|
|
3270
3394
|
label: string;
|
|
3271
3395
|
authorization: AuthorizationDefinition;
|
|
3272
3396
|
requiredScopes?: string[];
|
|
@@ -3680,6 +3804,92 @@ declare const StepFunctionsFactory: {
|
|
|
3680
3804
|
}): StepFunctionInstance;
|
|
3681
3805
|
};
|
|
3682
3806
|
//#endregion
|
|
3807
|
+
//#region src/stepFunctions/mcpRequest/schemas.d.ts
|
|
3808
|
+
declare const MCP_REQUEST_INPUT_PARAMS: z.ZodObject<{
|
|
3809
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3810
|
+
url: z.ZodOptional<z.ZodString>;
|
|
3811
|
+
method: z.ZodDefault<z.ZodEnum<{
|
|
3812
|
+
"tools/call": "tools/call";
|
|
3813
|
+
"tools/list": "tools/list";
|
|
3814
|
+
}>>;
|
|
3815
|
+
toolName: z.ZodOptional<z.ZodString>;
|
|
3816
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
3817
|
+
authorization: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3818
|
+
type: z.ZodLiteral<"none">;
|
|
3819
|
+
signing: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3820
|
+
strategy: z.ZodLiteral<"aws4">;
|
|
3821
|
+
service: z.ZodString;
|
|
3822
|
+
region: z.ZodOptional<z.ZodString>;
|
|
3823
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3824
|
+
strategy: z.ZodLiteral<"hmac">;
|
|
3825
|
+
algorithm: z.ZodOptional<z.ZodEnum<{
|
|
3826
|
+
sha1: "sha1";
|
|
3827
|
+
sha256: "sha256";
|
|
3828
|
+
sha512: "sha512";
|
|
3829
|
+
}>>;
|
|
3830
|
+
headerName: z.ZodOptional<z.ZodString>;
|
|
3831
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
3832
|
+
dateFormat: z.ZodOptional<z.ZodEnum<{
|
|
3833
|
+
iso8601: "iso8601";
|
|
3834
|
+
rfc2822: "rfc2822";
|
|
3835
|
+
}>>;
|
|
3836
|
+
includeHost: z.ZodOptional<z.ZodBoolean>;
|
|
3837
|
+
includeBodyHash: z.ZodOptional<z.ZodBoolean>;
|
|
3838
|
+
outputFormat: z.ZodOptional<z.ZodEnum<{
|
|
3839
|
+
header: "header";
|
|
3840
|
+
basic: "basic";
|
|
3841
|
+
}>>;
|
|
3842
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3843
|
+
}, z.core.$strict>]>>;
|
|
3844
|
+
redirectUri: z.ZodOptional<z.ZodString>;
|
|
3845
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3846
|
+
type: z.ZodLiteral<"basic">;
|
|
3847
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3848
|
+
password: z.ZodOptional<z.ZodString>;
|
|
3849
|
+
encoding: z.ZodOptional<z.ZodString>;
|
|
3850
|
+
redirectUri: z.ZodOptional<z.ZodString>;
|
|
3851
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3852
|
+
type: z.ZodLiteral<"bearer">;
|
|
3853
|
+
token: z.ZodString;
|
|
3854
|
+
includeBearer: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3855
|
+
redirectUri: z.ZodOptional<z.ZodString>;
|
|
3856
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3857
|
+
type: z.ZodLiteral<"oauth2">;
|
|
3858
|
+
authorizationUrl: z.ZodOptional<z.ZodString>;
|
|
3859
|
+
redirectUri: z.ZodOptional<z.ZodString>;
|
|
3860
|
+
authorizationParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3861
|
+
tokenUrl: z.ZodOptional<z.ZodString>;
|
|
3862
|
+
tokenParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3863
|
+
tokenExpiresIn: z.ZodOptional<z.ZodNumber>;
|
|
3864
|
+
tokenRefreshExpiresIn: z.ZodOptional<z.ZodNumber>;
|
|
3865
|
+
token: z.ZodString;
|
|
3866
|
+
includeBearer: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3867
|
+
scopes: z.ZodOptional<z.ZodString>;
|
|
3868
|
+
scopeDelimiter: z.ZodOptional<z.ZodString>;
|
|
3869
|
+
customHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3870
|
+
pkce: z.ZodOptional<z.ZodBoolean>;
|
|
3871
|
+
additionalTokenFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
|
3872
|
+
callbackParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3873
|
+
issuer: z.ZodOptional<z.ZodString>;
|
|
3874
|
+
tokenResponse: z.ZodOptional<z.ZodObject<{
|
|
3875
|
+
acceptTokenTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3876
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
|
3877
|
+
refreshToken: z.ZodOptional<z.ZodString>;
|
|
3878
|
+
}, z.core.$strict>>;
|
|
3879
|
+
}, z.core.$strict>]>>;
|
|
3880
|
+
args: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3881
|
+
name: z.ZodString;
|
|
3882
|
+
value: z.ZodUnknown;
|
|
3883
|
+
condition: z.ZodOptional<z.ZodString>;
|
|
3884
|
+
}, z.core.$strict>>>;
|
|
3885
|
+
}, z.core.$strip>;
|
|
3886
|
+
declare const MCP_REQUEST_OUTPUT: z.ZodOptional<z.ZodObject<{
|
|
3887
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
3888
|
+
raw: z.ZodOptional<z.ZodUnknown>;
|
|
3889
|
+
statusCode: z.ZodNumber;
|
|
3890
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3891
|
+
}, z.core.$strict>>;
|
|
3892
|
+
//#endregion
|
|
3683
3893
|
//#region src/stepFunctions/shared/schemas.d.ts
|
|
3684
3894
|
declare const AUTHORIZATION_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3685
3895
|
type: z.ZodLiteral<"none">;
|
|
@@ -3708,15 +3918,18 @@ declare const AUTHORIZATION_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3708
3918
|
}>>;
|
|
3709
3919
|
username: z.ZodOptional<z.ZodString>;
|
|
3710
3920
|
}, z.core.$strict>]>>;
|
|
3921
|
+
redirectUri: z.ZodOptional<z.ZodString>;
|
|
3711
3922
|
}, z.core.$strict>, z.ZodObject<{
|
|
3712
3923
|
type: z.ZodLiteral<"basic">;
|
|
3713
3924
|
username: z.ZodOptional<z.ZodString>;
|
|
3714
3925
|
password: z.ZodOptional<z.ZodString>;
|
|
3715
3926
|
encoding: z.ZodOptional<z.ZodString>;
|
|
3927
|
+
redirectUri: z.ZodOptional<z.ZodString>;
|
|
3716
3928
|
}, z.core.$strict>, z.ZodObject<{
|
|
3717
3929
|
type: z.ZodLiteral<"bearer">;
|
|
3718
3930
|
token: z.ZodString;
|
|
3719
3931
|
includeBearer: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3932
|
+
redirectUri: z.ZodOptional<z.ZodString>;
|
|
3720
3933
|
}, z.core.$strict>, z.ZodObject<{
|
|
3721
3934
|
type: z.ZodLiteral<"oauth2">;
|
|
3722
3935
|
authorizationUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -3761,4 +3974,4 @@ type Account = {
|
|
|
3761
3974
|
originOwnerName?: string;
|
|
3762
3975
|
};
|
|
3763
3976
|
//#endregion
|
|
3764
|
-
export { AUTHORIZATION_SCHEMA, type Account, type Action, type ActionAnnotations, type ActionExample, type ActionResponse, type ActionType, type ActionValidationRule, type Assets, AuthType, type Authentication, type AuthenticationConfig, type AuthenticationField, type AuthenticationFieldValidation, type AuthenticationGuides, type AuthenticationNotice, BROWSER_USE_INPUT_PARAMS, BROWSER_USE_OUTPUT, type BaseIncrementalConfig, type BasePaginationConfig, type Block, type BlockContext, type BlockIndexedRecord, COMPOSITE_ID_LATEST_VERSION, type Category, type Changelog, type ChangelogLabel, ChangelogLabels, type Checkpoint, type CompositeIdentifier, type CompositeIdentifierConfig, type CompositeIdentifierConnectorConfig, type Connector, type ConnectorDocumentation, type ConnectorEvents, CoreError, type Cursor, type CursorPaginationConfig, type DataSyncConfig, type DefenderMetadata, type DefenderSettings, type DeltaTokenIncrementalConfig, type DocumentationReference, type Effect, type EnumOneOf, type EventRouter, type EventRouterRule, type EventToEmit, type ExecutionMode, ExecutionModes, type ExpressionContextOptions, FORMAT_PATTERNS, type FieldConfig, type FlowType, type ForeachStep, type Guide, type GuideImage, type GuideSection, type GuideStep, INPUT_ENUM_REGISTRY, type IncrementalConfig, type Input, type InputFormat, type InputLocation, type InputRules, type InputType, type InputVariant, type IntermediateStepSnapshot, type IteratorLocation, type MatchedEventAction, type OffsetPaginationConfig, type OnConditionError, type PagePaginationConfig, type PaginationConfig, type ReleaseStage, ReleaseStages, type Schema, type SchemaField, type ScopeDefinition, type Settings, type SimpleStep, type Source, SourceType, type Step, type StepFunction, type StepFunctionMeta, StepFunctionName, type StepFunctionOutput, type StepFunctionParams, StepFunctionsFactory, stepFunctions as StepFunctionsRegistry, type StepsSnapshots, type StreamOutputData, StreamType, type SupportConfig, type SyncParams, type SyncedAction, type TestActionConfig, type TimeFilterIncrementalConfig, TransportType, type WebhookSetup, type WebhookSetupPhase, type WebhookSetupPhaseKind, areCursorsEqual, buildExpressionContext, computeDataSyncFingerprint, decodeCompositeId, encodeCompositeId, evaluateEventRouter, evaluateExternalAccountIdExtractor, expandCursor, getCategoryDetails, getInputEnumValues, getIteratorLocation, getPaginationKeys, isCompositeId, isCoreError, isCursorEmpty, isForeachStep, isValidCategory, isValidEnumRef, minifyCursor, stripIncrementalParams, stripPaginationParams, updateCursor };
|
|
3977
|
+
export { AUTHORIZATION_SCHEMA, type Account, type Action, type ActionAnnotations, type ActionExample, type ActionResponse, type ActionType, type ActionValidationRule, type Assets, AuthType, type Authentication, type AuthenticationConfig, type AuthenticationField, type AuthenticationFieldValidation, type AuthenticationGuides, type AuthenticationNotice, BROWSER_USE_INPUT_PARAMS, BROWSER_USE_OUTPUT, type BaseIncrementalConfig, type BasePaginationConfig, type Block, type BlockContext, type BlockIndexedRecord, COMPOSITE_ID_LATEST_VERSION, type Category, type Changelog, type ChangelogLabel, ChangelogLabels, type Checkpoint, type CompositeIdentifier, type CompositeIdentifierConfig, type CompositeIdentifierConnectorConfig, type Connector, type ConnectorDocumentation, type ConnectorEvents, CoreError, type Cursor, type CursorPaginationConfig, type DataSyncConfig, type DefenderMetadata, type DefenderSettings, type DeltaTokenIncrementalConfig, type DocumentationReference, type Effect, type EnumOneOf, type EventRouter, type EventRouterRule, type EventToEmit, type ExecutionMode, ExecutionModes, type ExpressionContextOptions, FORMAT_PATTERNS, type FieldConfig, type FlowType, type ForeachStep, type Guide, type GuideImage, type GuideSection, type GuideStep, INPUT_ENUM_REGISTRY, type IncrementalConfig, type Input, type InputFormat, type InputLocation, type InputRules, type InputType, type InputVariant, type IntermediateStepSnapshot, type IteratorLocation, MCP_REQUEST_INPUT_PARAMS, MCP_REQUEST_OUTPUT, type MatchedEventAction, type OffsetPaginationConfig, type OnConditionError, type PagePaginationConfig, type PaginationConfig, type ReleaseStage, ReleaseStages, type Schema, type SchemaField, type ScopeDefinition, type Settings, type SimpleStep, type Source, SourceType, type Step, type StepFunction, type StepFunctionMeta, StepFunctionName, type StepFunctionOutput, type StepFunctionParams, StepFunctionsFactory, stepFunctions as StepFunctionsRegistry, type StepsSnapshots, type StreamOutputData, StreamType, type SupportConfig, type SyncParams, type SyncedAction, type TestActionConfig, type TimeFilterIncrementalConfig, TransportType, type WebhookSetup, type WebhookSetupPhase, type WebhookSetupPhaseKind, areCursorsEqual, buildExpressionContext, computeDataSyncFingerprint, decodeCompositeId, encodeCompositeId, evaluateEventRouter, evaluateExternalAccountIdExtractor, expandCursor, getCategoryDetails, getInputEnumValues, getIteratorLocation, getPaginationKeys, isCompositeId, isCoreError, isCursorEmpty, isForeachStep, isValidCategory, isValidEnumRef, minifyCursor, stripIncrementalParams, stripPaginationParams, updateCursor };
|