@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.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IOlapClient } from "@stackone/olap";
|
|
2
|
-
import { ConcurrencyConfig, HttpHeaders, HttpMethod, IHttpClient, RateLimitConfig, SigningOptions } from "@stackone/transport";
|
|
2
|
+
import { ConcurrencyConfig, HttpHeaders, HttpMethod, IHttpClient, IMcpClient, McpClientConfig, RateLimitConfig, SigningOptions } from "@stackone/transport";
|
|
3
3
|
import { ZodType, z } from "@stackone/utils";
|
|
4
4
|
import { LambdaClient, LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
5
5
|
import { Readable } from "node:stream";
|
|
@@ -1756,6 +1756,9 @@ type LambdaInvokerParams = {
|
|
|
1756
1756
|
};
|
|
1757
1757
|
type LambdaInvoker = (params: LambdaInvokerParams) => Promise<LambdaInvocationResult>;
|
|
1758
1758
|
//#endregion
|
|
1759
|
+
//#region src/stepFunctions/mcpRequest/mcpRequestStepFunction.d.ts
|
|
1760
|
+
type McpClientBuilder = (config: McpClientConfig) => IMcpClient;
|
|
1761
|
+
//#endregion
|
|
1759
1762
|
//#region src/stepFunctions/stepFunctionsList.d.ts
|
|
1760
1763
|
declare enum StepFunctionName {
|
|
1761
1764
|
TYPECAST = "typecast",
|
|
@@ -1772,7 +1775,8 @@ declare enum StepFunctionName {
|
|
|
1772
1775
|
EMIT_EVENT = "emit_event",
|
|
1773
1776
|
BROWSER_USE = "browser_use",
|
|
1774
1777
|
CODE_EXECUTION_LAMBDA = "code_execution_lambda",
|
|
1775
|
-
SIGN_JWT = "sign_jwt"
|
|
1778
|
+
SIGN_JWT = "sign_jwt",
|
|
1779
|
+
MCP_REQUEST = "mcp_request"
|
|
1776
1780
|
}
|
|
1777
1781
|
declare const stepFunctions: {
|
|
1778
1782
|
typecast: {
|
|
@@ -1885,15 +1889,18 @@ declare const stepFunctions: {
|
|
|
1885
1889
|
}>>;
|
|
1886
1890
|
username: ZodOptional<ZodString>;
|
|
1887
1891
|
}, $strict>]>>;
|
|
1892
|
+
redirectUri: ZodOptional<ZodString>;
|
|
1888
1893
|
}, $strict>, ZodObject<{
|
|
1889
1894
|
type: ZodLiteral<"basic">;
|
|
1890
1895
|
username: ZodOptional<ZodString>;
|
|
1891
1896
|
password: ZodOptional<ZodString>;
|
|
1892
1897
|
encoding: ZodOptional<ZodString>;
|
|
1898
|
+
redirectUri: ZodOptional<ZodString>;
|
|
1893
1899
|
}, $strict>, ZodObject<{
|
|
1894
1900
|
type: ZodLiteral<"bearer">;
|
|
1895
1901
|
token: ZodString;
|
|
1896
1902
|
includeBearer: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
1903
|
+
redirectUri: ZodOptional<ZodString>;
|
|
1897
1904
|
}, $strict>, ZodObject<{
|
|
1898
1905
|
type: ZodLiteral<"oauth2">;
|
|
1899
1906
|
authorizationUrl: ZodOptional<ZodString>;
|
|
@@ -2025,15 +2032,18 @@ declare const stepFunctions: {
|
|
|
2025
2032
|
}>>;
|
|
2026
2033
|
username: ZodOptional<ZodString>;
|
|
2027
2034
|
}, $strict>]>>;
|
|
2035
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2028
2036
|
}, $strict>, ZodObject<{
|
|
2029
2037
|
type: ZodLiteral<"basic">;
|
|
2030
2038
|
username: ZodOptional<ZodString>;
|
|
2031
2039
|
password: ZodOptional<ZodString>;
|
|
2032
2040
|
encoding: ZodOptional<ZodString>;
|
|
2041
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2033
2042
|
}, $strict>, ZodObject<{
|
|
2034
2043
|
type: ZodLiteral<"bearer">;
|
|
2035
2044
|
token: ZodString;
|
|
2036
2045
|
includeBearer: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
2046
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2037
2047
|
}, $strict>, ZodObject<{
|
|
2038
2048
|
type: ZodLiteral<"oauth2">;
|
|
2039
2049
|
authorizationUrl: ZodOptional<ZodString>;
|
|
@@ -2174,15 +2184,18 @@ declare const stepFunctions: {
|
|
|
2174
2184
|
}>>;
|
|
2175
2185
|
username: ZodOptional<ZodString>;
|
|
2176
2186
|
}, $strict>]>>;
|
|
2187
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2177
2188
|
}, $strict>, ZodObject<{
|
|
2178
2189
|
type: ZodLiteral<"basic">;
|
|
2179
2190
|
username: ZodOptional<ZodString>;
|
|
2180
2191
|
password: ZodOptional<ZodString>;
|
|
2181
2192
|
encoding: ZodOptional<ZodString>;
|
|
2193
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2182
2194
|
}, $strict>, ZodObject<{
|
|
2183
2195
|
type: ZodLiteral<"bearer">;
|
|
2184
2196
|
token: ZodString;
|
|
2185
2197
|
includeBearer: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
2198
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2186
2199
|
}, $strict>, ZodObject<{
|
|
2187
2200
|
type: ZodLiteral<"oauth2">;
|
|
2188
2201
|
authorizationUrl: ZodOptional<ZodString>;
|
|
@@ -2395,15 +2408,18 @@ declare const stepFunctions: {
|
|
|
2395
2408
|
}>>;
|
|
2396
2409
|
username: ZodOptional<ZodString>;
|
|
2397
2410
|
}, $strict>]>>;
|
|
2411
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2398
2412
|
}, $strict>, ZodObject<{
|
|
2399
2413
|
type: ZodLiteral<"basic">;
|
|
2400
2414
|
username: ZodOptional<ZodString>;
|
|
2401
2415
|
password: ZodOptional<ZodString>;
|
|
2402
2416
|
encoding: ZodOptional<ZodString>;
|
|
2417
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2403
2418
|
}, $strict>, ZodObject<{
|
|
2404
2419
|
type: ZodLiteral<"bearer">;
|
|
2405
2420
|
token: ZodString;
|
|
2406
2421
|
includeBearer: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
2422
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2407
2423
|
}, $strict>, ZodObject<{
|
|
2408
2424
|
type: ZodLiteral<"oauth2">;
|
|
2409
2425
|
authorizationUrl: ZodOptional<ZodString>;
|
|
@@ -2517,15 +2533,18 @@ declare const stepFunctions: {
|
|
|
2517
2533
|
}>>;
|
|
2518
2534
|
username: ZodOptional<ZodString>;
|
|
2519
2535
|
}, $strict>]>>;
|
|
2536
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2520
2537
|
}, $strict>, ZodObject<{
|
|
2521
2538
|
type: ZodLiteral<"basic">;
|
|
2522
2539
|
username: ZodOptional<ZodString>;
|
|
2523
2540
|
password: ZodOptional<ZodString>;
|
|
2524
2541
|
encoding: ZodOptional<ZodString>;
|
|
2542
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2525
2543
|
}, $strict>, ZodObject<{
|
|
2526
2544
|
type: ZodLiteral<"bearer">;
|
|
2527
2545
|
token: ZodString;
|
|
2528
2546
|
includeBearer: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
2547
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2529
2548
|
}, $strict>, ZodObject<{
|
|
2530
2549
|
type: ZodLiteral<"oauth2">;
|
|
2531
2550
|
authorizationUrl: ZodOptional<ZodString>;
|
|
@@ -2631,15 +2650,18 @@ declare const stepFunctions: {
|
|
|
2631
2650
|
}>>;
|
|
2632
2651
|
username: ZodOptional<ZodString>;
|
|
2633
2652
|
}, $strict>]>>;
|
|
2653
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2634
2654
|
}, $strict>, ZodObject<{
|
|
2635
2655
|
type: ZodLiteral<"basic">;
|
|
2636
2656
|
username: ZodOptional<ZodString>;
|
|
2637
2657
|
password: ZodOptional<ZodString>;
|
|
2638
2658
|
encoding: ZodOptional<ZodString>;
|
|
2659
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2639
2660
|
}, $strict>, ZodObject<{
|
|
2640
2661
|
type: ZodLiteral<"bearer">;
|
|
2641
2662
|
token: ZodString;
|
|
2642
2663
|
includeBearer: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
2664
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2643
2665
|
}, $strict>, ZodObject<{
|
|
2644
2666
|
type: ZodLiteral<"oauth2">;
|
|
2645
2667
|
authorizationUrl: ZodOptional<ZodString>;
|
|
@@ -2822,6 +2844,101 @@ declare const stepFunctions: {
|
|
|
2822
2844
|
}, $strict>;
|
|
2823
2845
|
};
|
|
2824
2846
|
};
|
|
2847
|
+
mcp_request: {
|
|
2848
|
+
v1: {
|
|
2849
|
+
fn: ({
|
|
2850
|
+
block,
|
|
2851
|
+
params
|
|
2852
|
+
}: {
|
|
2853
|
+
block: Readonly<Block>;
|
|
2854
|
+
params?: StepFunctionParams;
|
|
2855
|
+
}, createMcpClient?: McpClientBuilder) => Promise<StepFunctionOutput>;
|
|
2856
|
+
inputSchema: ZodObject<{
|
|
2857
|
+
baseUrl: ZodOptional<ZodString>;
|
|
2858
|
+
url: ZodOptional<ZodString>;
|
|
2859
|
+
method: ZodDefault<ZodEnum<{
|
|
2860
|
+
"tools/call": "tools/call";
|
|
2861
|
+
"tools/list": "tools/list";
|
|
2862
|
+
}>>;
|
|
2863
|
+
toolName: ZodOptional<ZodString>;
|
|
2864
|
+
timeout: ZodOptional<ZodNumber>;
|
|
2865
|
+
authorization: ZodOptional<ZodDiscriminatedUnion<[ZodObject<{
|
|
2866
|
+
type: ZodLiteral<"none">;
|
|
2867
|
+
signing: ZodOptional<ZodDiscriminatedUnion<[ZodObject<{
|
|
2868
|
+
strategy: ZodLiteral<"aws4">;
|
|
2869
|
+
service: ZodString;
|
|
2870
|
+
region: ZodOptional<ZodString>;
|
|
2871
|
+
}, $strict>, ZodObject<{
|
|
2872
|
+
strategy: ZodLiteral<"hmac">;
|
|
2873
|
+
algorithm: ZodOptional<ZodEnum<{
|
|
2874
|
+
sha1: "sha1";
|
|
2875
|
+
sha256: "sha256";
|
|
2876
|
+
sha512: "sha512";
|
|
2877
|
+
}>>;
|
|
2878
|
+
headerName: ZodOptional<ZodString>;
|
|
2879
|
+
prefix: ZodOptional<ZodString>;
|
|
2880
|
+
dateFormat: ZodOptional<ZodEnum<{
|
|
2881
|
+
iso8601: "iso8601";
|
|
2882
|
+
rfc2822: "rfc2822";
|
|
2883
|
+
}>>;
|
|
2884
|
+
includeHost: ZodOptional<ZodBoolean>;
|
|
2885
|
+
includeBodyHash: ZodOptional<ZodBoolean>;
|
|
2886
|
+
outputFormat: ZodOptional<ZodEnum<{
|
|
2887
|
+
header: "header";
|
|
2888
|
+
basic: "basic";
|
|
2889
|
+
}>>;
|
|
2890
|
+
username: ZodOptional<ZodString>;
|
|
2891
|
+
}, $strict>]>>;
|
|
2892
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2893
|
+
}, $strict>, ZodObject<{
|
|
2894
|
+
type: ZodLiteral<"basic">;
|
|
2895
|
+
username: ZodOptional<ZodString>;
|
|
2896
|
+
password: ZodOptional<ZodString>;
|
|
2897
|
+
encoding: ZodOptional<ZodString>;
|
|
2898
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2899
|
+
}, $strict>, ZodObject<{
|
|
2900
|
+
type: ZodLiteral<"bearer">;
|
|
2901
|
+
token: ZodString;
|
|
2902
|
+
includeBearer: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
2903
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2904
|
+
}, $strict>, ZodObject<{
|
|
2905
|
+
type: ZodLiteral<"oauth2">;
|
|
2906
|
+
authorizationUrl: ZodOptional<ZodString>;
|
|
2907
|
+
redirectUri: ZodOptional<ZodString>;
|
|
2908
|
+
authorizationParams: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
2909
|
+
tokenUrl: ZodOptional<ZodString>;
|
|
2910
|
+
tokenParams: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
2911
|
+
tokenExpiresIn: ZodOptional<ZodNumber>;
|
|
2912
|
+
tokenRefreshExpiresIn: ZodOptional<ZodNumber>;
|
|
2913
|
+
token: ZodString;
|
|
2914
|
+
includeBearer: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
2915
|
+
scopes: ZodOptional<ZodString>;
|
|
2916
|
+
scopeDelimiter: ZodOptional<ZodString>;
|
|
2917
|
+
customHeaders: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
2918
|
+
pkce: ZodOptional<ZodBoolean>;
|
|
2919
|
+
additionalTokenFields: ZodOptional<ZodRecord<ZodString, ZodOptional<ZodString>>>;
|
|
2920
|
+
callbackParams: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
2921
|
+
issuer: ZodOptional<ZodString>;
|
|
2922
|
+
tokenResponse: ZodOptional<ZodObject<{
|
|
2923
|
+
acceptTokenTypes: ZodOptional<ZodArray<ZodString>>;
|
|
2924
|
+
accessToken: ZodOptional<ZodString>;
|
|
2925
|
+
refreshToken: ZodOptional<ZodString>;
|
|
2926
|
+
}, $strict>>;
|
|
2927
|
+
}, $strict>]>>;
|
|
2928
|
+
args: ZodOptional<ZodArray<ZodObject<{
|
|
2929
|
+
name: ZodString;
|
|
2930
|
+
value: ZodUnknown;
|
|
2931
|
+
condition: ZodOptional<ZodString>;
|
|
2932
|
+
}, $strict>>>;
|
|
2933
|
+
}, $strip>;
|
|
2934
|
+
outputSchema: ZodOptional<ZodObject<{
|
|
2935
|
+
data: ZodOptional<ZodUnknown>;
|
|
2936
|
+
raw: ZodOptional<ZodUnknown>;
|
|
2937
|
+
statusCode: ZodNumber;
|
|
2938
|
+
message: ZodOptional<ZodString>;
|
|
2939
|
+
}, $strict>>;
|
|
2940
|
+
};
|
|
2941
|
+
};
|
|
2825
2942
|
};
|
|
2826
2943
|
//#endregion
|
|
2827
2944
|
//#region src/stepFunctions/types.d.ts
|
|
@@ -3263,11 +3380,18 @@ type AuthorizationDefinition = {
|
|
|
3263
3380
|
type: 'oauth2';
|
|
3264
3381
|
[authParam: string]: unknown;
|
|
3265
3382
|
};
|
|
3383
|
+
type McpAuthorizationFlowConfig = {
|
|
3384
|
+
serverUrl?: string;
|
|
3385
|
+
discovery?: boolean;
|
|
3386
|
+
clientRegistration?: 'cimd' | 'dcr';
|
|
3387
|
+
scopes?: string[];
|
|
3388
|
+
};
|
|
3266
3389
|
type AuthenticationConfig = {
|
|
3267
3390
|
envKey: string;
|
|
3268
3391
|
envName: string;
|
|
3269
|
-
type: 'custom' | 'oauth2';
|
|
3392
|
+
type: 'custom' | 'oauth2' | 'mcp';
|
|
3270
3393
|
grantType?: 'authorization_code' | 'client_credentials';
|
|
3394
|
+
authorizationFlow?: McpAuthorizationFlowConfig;
|
|
3271
3395
|
label: string;
|
|
3272
3396
|
authorization: AuthorizationDefinition;
|
|
3273
3397
|
requiredScopes?: string[];
|
|
@@ -3681,6 +3805,92 @@ declare const StepFunctionsFactory: {
|
|
|
3681
3805
|
}): StepFunctionInstance;
|
|
3682
3806
|
};
|
|
3683
3807
|
//#endregion
|
|
3808
|
+
//#region src/stepFunctions/mcpRequest/schemas.d.ts
|
|
3809
|
+
declare const MCP_REQUEST_INPUT_PARAMS: z.ZodObject<{
|
|
3810
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3811
|
+
url: z.ZodOptional<z.ZodString>;
|
|
3812
|
+
method: z.ZodDefault<z.ZodEnum<{
|
|
3813
|
+
"tools/call": "tools/call";
|
|
3814
|
+
"tools/list": "tools/list";
|
|
3815
|
+
}>>;
|
|
3816
|
+
toolName: z.ZodOptional<z.ZodString>;
|
|
3817
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
3818
|
+
authorization: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3819
|
+
type: z.ZodLiteral<"none">;
|
|
3820
|
+
signing: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3821
|
+
strategy: z.ZodLiteral<"aws4">;
|
|
3822
|
+
service: z.ZodString;
|
|
3823
|
+
region: z.ZodOptional<z.ZodString>;
|
|
3824
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3825
|
+
strategy: z.ZodLiteral<"hmac">;
|
|
3826
|
+
algorithm: z.ZodOptional<z.ZodEnum<{
|
|
3827
|
+
sha1: "sha1";
|
|
3828
|
+
sha256: "sha256";
|
|
3829
|
+
sha512: "sha512";
|
|
3830
|
+
}>>;
|
|
3831
|
+
headerName: z.ZodOptional<z.ZodString>;
|
|
3832
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
3833
|
+
dateFormat: z.ZodOptional<z.ZodEnum<{
|
|
3834
|
+
iso8601: "iso8601";
|
|
3835
|
+
rfc2822: "rfc2822";
|
|
3836
|
+
}>>;
|
|
3837
|
+
includeHost: z.ZodOptional<z.ZodBoolean>;
|
|
3838
|
+
includeBodyHash: z.ZodOptional<z.ZodBoolean>;
|
|
3839
|
+
outputFormat: z.ZodOptional<z.ZodEnum<{
|
|
3840
|
+
header: "header";
|
|
3841
|
+
basic: "basic";
|
|
3842
|
+
}>>;
|
|
3843
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3844
|
+
}, z.core.$strict>]>>;
|
|
3845
|
+
redirectUri: z.ZodOptional<z.ZodString>;
|
|
3846
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3847
|
+
type: z.ZodLiteral<"basic">;
|
|
3848
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3849
|
+
password: z.ZodOptional<z.ZodString>;
|
|
3850
|
+
encoding: z.ZodOptional<z.ZodString>;
|
|
3851
|
+
redirectUri: z.ZodOptional<z.ZodString>;
|
|
3852
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3853
|
+
type: z.ZodLiteral<"bearer">;
|
|
3854
|
+
token: z.ZodString;
|
|
3855
|
+
includeBearer: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3856
|
+
redirectUri: z.ZodOptional<z.ZodString>;
|
|
3857
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3858
|
+
type: z.ZodLiteral<"oauth2">;
|
|
3859
|
+
authorizationUrl: z.ZodOptional<z.ZodString>;
|
|
3860
|
+
redirectUri: z.ZodOptional<z.ZodString>;
|
|
3861
|
+
authorizationParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3862
|
+
tokenUrl: z.ZodOptional<z.ZodString>;
|
|
3863
|
+
tokenParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3864
|
+
tokenExpiresIn: z.ZodOptional<z.ZodNumber>;
|
|
3865
|
+
tokenRefreshExpiresIn: z.ZodOptional<z.ZodNumber>;
|
|
3866
|
+
token: z.ZodString;
|
|
3867
|
+
includeBearer: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3868
|
+
scopes: z.ZodOptional<z.ZodString>;
|
|
3869
|
+
scopeDelimiter: z.ZodOptional<z.ZodString>;
|
|
3870
|
+
customHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3871
|
+
pkce: z.ZodOptional<z.ZodBoolean>;
|
|
3872
|
+
additionalTokenFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
|
3873
|
+
callbackParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3874
|
+
issuer: z.ZodOptional<z.ZodString>;
|
|
3875
|
+
tokenResponse: z.ZodOptional<z.ZodObject<{
|
|
3876
|
+
acceptTokenTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3877
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
|
3878
|
+
refreshToken: z.ZodOptional<z.ZodString>;
|
|
3879
|
+
}, z.core.$strict>>;
|
|
3880
|
+
}, z.core.$strict>]>>;
|
|
3881
|
+
args: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3882
|
+
name: z.ZodString;
|
|
3883
|
+
value: z.ZodUnknown;
|
|
3884
|
+
condition: z.ZodOptional<z.ZodString>;
|
|
3885
|
+
}, z.core.$strict>>>;
|
|
3886
|
+
}, z.core.$strip>;
|
|
3887
|
+
declare const MCP_REQUEST_OUTPUT: z.ZodOptional<z.ZodObject<{
|
|
3888
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
3889
|
+
raw: z.ZodOptional<z.ZodUnknown>;
|
|
3890
|
+
statusCode: z.ZodNumber;
|
|
3891
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3892
|
+
}, z.core.$strict>>;
|
|
3893
|
+
//#endregion
|
|
3684
3894
|
//#region src/stepFunctions/shared/schemas.d.ts
|
|
3685
3895
|
declare const AUTHORIZATION_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3686
3896
|
type: z.ZodLiteral<"none">;
|
|
@@ -3709,15 +3919,18 @@ declare const AUTHORIZATION_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3709
3919
|
}>>;
|
|
3710
3920
|
username: z.ZodOptional<z.ZodString>;
|
|
3711
3921
|
}, z.core.$strict>]>>;
|
|
3922
|
+
redirectUri: z.ZodOptional<z.ZodString>;
|
|
3712
3923
|
}, z.core.$strict>, z.ZodObject<{
|
|
3713
3924
|
type: z.ZodLiteral<"basic">;
|
|
3714
3925
|
username: z.ZodOptional<z.ZodString>;
|
|
3715
3926
|
password: z.ZodOptional<z.ZodString>;
|
|
3716
3927
|
encoding: z.ZodOptional<z.ZodString>;
|
|
3928
|
+
redirectUri: z.ZodOptional<z.ZodString>;
|
|
3717
3929
|
}, z.core.$strict>, z.ZodObject<{
|
|
3718
3930
|
type: z.ZodLiteral<"bearer">;
|
|
3719
3931
|
token: z.ZodString;
|
|
3720
3932
|
includeBearer: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3933
|
+
redirectUri: z.ZodOptional<z.ZodString>;
|
|
3721
3934
|
}, z.core.$strict>, z.ZodObject<{
|
|
3722
3935
|
type: z.ZodLiteral<"oauth2">;
|
|
3723
3936
|
authorizationUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -3762,4 +3975,4 @@ type Account = {
|
|
|
3762
3975
|
originOwnerName?: string;
|
|
3763
3976
|
};
|
|
3764
3977
|
//#endregion
|
|
3765
|
-
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 };
|
|
3978
|
+
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 };
|