syllable-sdk 0.0.9 → 0.1.0-alpha
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/README.md +4 -4
- package/docs/sdks/agents/README.md +1 -1
- package/docs/sdks/channels/README.md +1 -1
- package/docs/sdks/prompts/README.md +25 -5
- package/docs/sdks/tools/README.md +1 -1
- package/funcs/agentsDelete.d.ts +0 -3
- package/funcs/agentsDelete.d.ts.map +1 -1
- package/funcs/agentsDelete.js +0 -3
- package/funcs/agentsDelete.js.map +1 -1
- package/funcs/channelsDelete.d.ts +0 -3
- package/funcs/channelsDelete.d.ts.map +1 -1
- package/funcs/channelsDelete.js +0 -3
- package/funcs/channelsDelete.js.map +1 -1
- package/funcs/promptsDelete.d.ts +0 -3
- package/funcs/promptsDelete.d.ts.map +1 -1
- package/funcs/promptsDelete.js +0 -3
- package/funcs/promptsDelete.js.map +1 -1
- package/funcs/toolsList.d.ts +1 -1
- package/funcs/toolsList.d.ts.map +1 -1
- package/funcs/toolsList.js +1 -1
- package/funcs/toolsList.js.map +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/models/components/availabletarget.d.ts +2 -0
- package/models/components/availabletarget.d.ts.map +1 -1
- package/models/components/availabletarget.js +4 -0
- package/models/components/availabletarget.js.map +1 -1
- package/models/components/custommessagecreate.d.ts +2 -0
- package/models/components/custommessagecreate.d.ts.map +1 -1
- package/models/components/custommessagecreate.js +2 -0
- package/models/components/custommessagecreate.js.map +1 -1
- package/models/components/function.d.ts +6 -1
- package/models/components/function.d.ts.map +1 -1
- package/models/components/function.js.map +1 -1
- package/models/components/httpendpoint.d.ts +71 -2
- package/models/components/httpendpoint.d.ts.map +1 -1
- package/models/components/httpendpoint.js +52 -5
- package/models/components/httpendpoint.js.map +1 -1
- package/models/components/index.d.ts +1 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -3
- package/models/components/index.js.map +1 -1
- package/models/components/listresponsetool.d.ts +34 -0
- package/models/components/listresponsetool.d.ts.map +1 -0
- package/models/components/{listresponseschemasbubblegumv2toolstool.js → listresponsetool.js} +11 -11
- package/models/components/listresponsetool.js.map +1 -0
- package/models/components/llmconfig.d.ts +40 -6
- package/models/components/llmconfig.d.ts.map +1 -1
- package/models/components/llmconfig.js +28 -6
- package/models/components/llmconfig.js.map +1 -1
- package/models/components/prompt.d.ts +8 -5
- package/models/components/prompt.d.ts.map +1 -1
- package/models/components/prompt.js +2 -2
- package/models/components/prompt.js.map +1 -1
- package/models/components/promptcreate.d.ts +5 -5
- package/models/components/promptcreate.d.ts.map +1 -1
- package/models/components/promptcreate.js +2 -2
- package/models/components/promptcreate.js.map +1 -1
- package/models/components/schemasbubblegumv2toolstool.d.ts +5 -5
- package/models/components/schemasbubblegumv2toolstool.d.ts.map +1 -1
- package/models/components/schemasbubblegumv2toolstool.js +2 -2
- package/models/components/schemasbubblegumv2toolstool.js.map +1 -1
- package/models/components/schemascortexv1toolstool.d.ts +31 -2
- package/models/components/schemascortexv1toolstool.d.ts.map +1 -1
- package/models/components/schemascortexv1toolstool.js +24 -3
- package/models/components/schemascortexv1toolstool.js.map +1 -1
- package/models/components/tooldefinition.d.ts +176 -5
- package/models/components/tooldefinition.d.ts.map +1 -1
- package/models/components/tooldefinition.js +70 -6
- package/models/components/tooldefinition.js.map +1 -1
- package/models/components/toolparametertransform.d.ts +43 -2
- package/models/components/toolparametertransform.d.ts.map +1 -1
- package/models/components/toolparametertransform.js +27 -3
- package/models/components/toolparametertransform.js.map +1 -1
- package/models/components/toolparametertransformcondition.d.ts +28 -2
- package/models/components/toolparametertransformcondition.d.ts.map +1 -1
- package/models/components/toolparametertransformcondition.js +22 -3
- package/models/components/toolparametertransformcondition.js.map +1 -1
- package/package.json +1 -4
- package/sdk/agents.d.ts +0 -3
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +0 -3
- package/sdk/agents.js.map +1 -1
- package/sdk/channels.d.ts +0 -3
- package/sdk/channels.d.ts.map +1 -1
- package/sdk/channels.js +0 -3
- package/sdk/channels.js.map +1 -1
- package/sdk/prompts.d.ts +0 -3
- package/sdk/prompts.d.ts.map +1 -1
- package/sdk/prompts.js +0 -3
- package/sdk/prompts.js.map +1 -1
- package/sdk/tools.d.ts +1 -1
- package/sdk/tools.d.ts.map +1 -1
- package/src/funcs/agentsDelete.ts +0 -3
- package/src/funcs/channelsDelete.ts +0 -3
- package/src/funcs/promptsDelete.ts +0 -3
- package/src/funcs/toolsList.ts +3 -6
- package/src/lib/config.ts +2 -2
- package/src/models/components/availabletarget.ts +6 -0
- package/src/models/components/custommessagecreate.ts +4 -0
- package/src/models/components/function.ts +6 -1
- package/src/models/components/httpendpoint.ts +73 -6
- package/src/models/components/index.ts +1 -3
- package/src/models/components/{listresponseschemasbubblegumv2toolstool.ts → listresponsetool.ts} +14 -16
- package/src/models/components/llmconfig.ts +44 -14
- package/src/models/components/prompt.ts +10 -7
- package/src/models/components/promptcreate.ts +7 -7
- package/src/models/components/schemasbubblegumv2toolstool.ts +7 -7
- package/src/models/components/schemascortexv1toolstool.ts +39 -4
- package/src/models/components/tooldefinition.ts +218 -14
- package/src/models/components/toolparametertransform.ts +43 -4
- package/src/models/components/toolparametertransformcondition.ts +32 -4
- package/src/sdk/agents.ts +0 -3
- package/src/sdk/channels.ts +0 -3
- package/src/sdk/prompts.ts +0 -3
- package/src/sdk/tools.ts +1 -1
- package/models/components/defaults.d.ts +0 -58
- package/models/components/defaults.d.ts.map +0 -1
- package/models/components/defaults.js +0 -87
- package/models/components/defaults.js.map +0 -1
- package/models/components/listresponseschemasbubblegumv2toolstool.d.ts +0 -34
- package/models/components/listresponseschemasbubblegumv2toolstool.d.ts.map +0 -1
- package/models/components/listresponseschemasbubblegumv2toolstool.js.map +0 -1
- package/models/components/provider.d.ts +0 -34
- package/models/components/provider.d.ts.map +0 -1
- package/models/components/provider.js +0 -54
- package/models/components/provider.js.map +0 -1
- package/src/models/components/defaults.ts +0 -127
- package/src/models/components/provider.ts +0 -37
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const Operator = {
|
|
9
|
+
Eq: "eq",
|
|
10
|
+
} as const;
|
|
11
|
+
export type Operator = ClosedEnum<typeof Operator>;
|
|
6
12
|
|
|
7
13
|
/**
|
|
8
14
|
* A condition to be met for a transform to be applied to the value of a parameter.
|
|
@@ -16,9 +22,31 @@ export type ToolParameterTransformCondition = {
|
|
|
16
22
|
* The value to check against the parameter.
|
|
17
23
|
*/
|
|
18
24
|
value: string;
|
|
19
|
-
|
|
25
|
+
/**
|
|
26
|
+
* The operator to use for the comparison.
|
|
27
|
+
*/
|
|
28
|
+
operator?: "eq" | null | undefined;
|
|
20
29
|
};
|
|
21
30
|
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const Operator$inboundSchema: z.ZodNativeEnum<typeof Operator> = z
|
|
33
|
+
.nativeEnum(Operator);
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const Operator$outboundSchema: z.ZodNativeEnum<typeof Operator> =
|
|
37
|
+
Operator$inboundSchema;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
42
|
+
*/
|
|
43
|
+
export namespace Operator$ {
|
|
44
|
+
/** @deprecated use `Operator$inboundSchema` instead. */
|
|
45
|
+
export const inboundSchema = Operator$inboundSchema;
|
|
46
|
+
/** @deprecated use `Operator$outboundSchema` instead. */
|
|
47
|
+
export const outboundSchema = Operator$outboundSchema;
|
|
48
|
+
}
|
|
49
|
+
|
|
22
50
|
/** @internal */
|
|
23
51
|
export const ToolParameterTransformCondition$inboundSchema: z.ZodType<
|
|
24
52
|
ToolParameterTransformCondition,
|
|
@@ -27,14 +55,14 @@ export const ToolParameterTransformCondition$inboundSchema: z.ZodType<
|
|
|
27
55
|
> = z.object({
|
|
28
56
|
key: z.string(),
|
|
29
57
|
value: z.string(),
|
|
30
|
-
operator: z.nullable(z.
|
|
58
|
+
operator: z.nullable(z.literal("eq")).optional(),
|
|
31
59
|
});
|
|
32
60
|
|
|
33
61
|
/** @internal */
|
|
34
62
|
export type ToolParameterTransformCondition$Outbound = {
|
|
35
63
|
key: string;
|
|
36
64
|
value: string;
|
|
37
|
-
operator
|
|
65
|
+
operator: "eq" | null;
|
|
38
66
|
};
|
|
39
67
|
|
|
40
68
|
/** @internal */
|
|
@@ -45,7 +73,7 @@ export const ToolParameterTransformCondition$outboundSchema: z.ZodType<
|
|
|
45
73
|
> = z.object({
|
|
46
74
|
key: z.string(),
|
|
47
75
|
value: z.string(),
|
|
48
|
-
operator: z.nullable(z.
|
|
76
|
+
operator: z.nullable(z.literal("eq").default("eq")),
|
|
49
77
|
});
|
|
50
78
|
|
|
51
79
|
/**
|
package/src/sdk/agents.ts
CHANGED
package/src/sdk/channels.ts
CHANGED
package/src/sdk/prompts.ts
CHANGED
package/src/sdk/tools.ts
CHANGED
|
@@ -19,7 +19,7 @@ export class Tools extends ClientSDK {
|
|
|
19
19
|
async list(
|
|
20
20
|
request: operations.ToolListRequest,
|
|
21
21
|
options?: RequestOptions,
|
|
22
|
-
): Promise<components.
|
|
22
|
+
): Promise<components.ListResponseTool> {
|
|
23
23
|
return unwrapAsync(toolsList(
|
|
24
24
|
this,
|
|
25
25
|
request,
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ToolParameterDefault, ToolParameterDefault$Outbound } from "./toolparameterdefault.js";
|
|
3
|
-
export type AnyofSchema1Validator = {};
|
|
4
|
-
/**
|
|
5
|
-
* The default values for the parameters of the function/tool call.
|
|
6
|
-
*/
|
|
7
|
-
export type Defaults = {
|
|
8
|
-
anyofSchema1Validator?: AnyofSchema1Validator | null | undefined;
|
|
9
|
-
anyofSchema2Validator?: {
|
|
10
|
-
[k: string]: ToolParameterDefault;
|
|
11
|
-
} | null | undefined;
|
|
12
|
-
actualInstance?: any | undefined;
|
|
13
|
-
anyOfSchemas?: Array<string> | undefined;
|
|
14
|
-
};
|
|
15
|
-
/** @internal */
|
|
16
|
-
export declare const AnyofSchema1Validator$inboundSchema: z.ZodType<AnyofSchema1Validator, z.ZodTypeDef, unknown>;
|
|
17
|
-
/** @internal */
|
|
18
|
-
export type AnyofSchema1Validator$Outbound = {};
|
|
19
|
-
/** @internal */
|
|
20
|
-
export declare const AnyofSchema1Validator$outboundSchema: z.ZodType<AnyofSchema1Validator$Outbound, z.ZodTypeDef, AnyofSchema1Validator>;
|
|
21
|
-
/**
|
|
22
|
-
* @internal
|
|
23
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
24
|
-
*/
|
|
25
|
-
export declare namespace AnyofSchema1Validator$ {
|
|
26
|
-
/** @deprecated use `AnyofSchema1Validator$inboundSchema` instead. */
|
|
27
|
-
const inboundSchema: z.ZodType<AnyofSchema1Validator, z.ZodTypeDef, unknown>;
|
|
28
|
-
/** @deprecated use `AnyofSchema1Validator$outboundSchema` instead. */
|
|
29
|
-
const outboundSchema: z.ZodType<AnyofSchema1Validator$Outbound, z.ZodTypeDef, AnyofSchema1Validator>;
|
|
30
|
-
/** @deprecated use `AnyofSchema1Validator$Outbound` instead. */
|
|
31
|
-
type Outbound = AnyofSchema1Validator$Outbound;
|
|
32
|
-
}
|
|
33
|
-
/** @internal */
|
|
34
|
-
export declare const Defaults$inboundSchema: z.ZodType<Defaults, z.ZodTypeDef, unknown>;
|
|
35
|
-
/** @internal */
|
|
36
|
-
export type Defaults$Outbound = {
|
|
37
|
-
anyof_schema_1_validator?: AnyofSchema1Validator$Outbound | null | undefined;
|
|
38
|
-
anyof_schema_2_validator?: {
|
|
39
|
-
[k: string]: ToolParameterDefault$Outbound;
|
|
40
|
-
} | null | undefined;
|
|
41
|
-
actual_instance?: any | undefined;
|
|
42
|
-
any_of_schemas?: Array<string> | undefined;
|
|
43
|
-
};
|
|
44
|
-
/** @internal */
|
|
45
|
-
export declare const Defaults$outboundSchema: z.ZodType<Defaults$Outbound, z.ZodTypeDef, Defaults>;
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
|
-
*/
|
|
50
|
-
export declare namespace Defaults$ {
|
|
51
|
-
/** @deprecated use `Defaults$inboundSchema` instead. */
|
|
52
|
-
const inboundSchema: z.ZodType<Defaults, z.ZodTypeDef, unknown>;
|
|
53
|
-
/** @deprecated use `Defaults$outboundSchema` instead. */
|
|
54
|
-
const outboundSchema: z.ZodType<Defaults$Outbound, z.ZodTypeDef, Defaults>;
|
|
55
|
-
/** @deprecated use `Defaults$Outbound` instead. */
|
|
56
|
-
type Outbound = Defaults$Outbound;
|
|
57
|
-
}
|
|
58
|
-
//# sourceMappingURL=defaults.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/models/components/defaults.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,qBAAqB,GAAG,EAAE,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,qBAAqB,CAAC,EAAE,qBAAqB,GAAG,IAAI,GAAG,SAAS,CAAC;IACjE,qBAAqB,CAAC,EAClB;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,oBAAoB,CAAA;KAAE,GACrC,IAAI,GACJ,SAAS,CAAC;IACd,cAAc,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC;IACjC,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,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AAC;IACpD,yDAAyD;IAClD,MAAM,cAAc,sDAA0B,CAAC;IACtD,mDAAmD;IACnD,KAAY,QAAQ,GAAG,iBAAiB,CAAC;CAC1C"}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.Defaults$ = exports.Defaults$outboundSchema = exports.Defaults$inboundSchema = exports.AnyofSchema1Validator$ = exports.AnyofSchema1Validator$outboundSchema = exports.AnyofSchema1Validator$inboundSchema = void 0;
|
|
30
|
-
const z = __importStar(require("zod"));
|
|
31
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
-
const toolparameterdefault_js_1 = require("./toolparameterdefault.js");
|
|
33
|
-
/** @internal */
|
|
34
|
-
exports.AnyofSchema1Validator$inboundSchema = z.object({});
|
|
35
|
-
/** @internal */
|
|
36
|
-
exports.AnyofSchema1Validator$outboundSchema = z.object({});
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
40
|
-
*/
|
|
41
|
-
var AnyofSchema1Validator$;
|
|
42
|
-
(function (AnyofSchema1Validator$) {
|
|
43
|
-
/** @deprecated use `AnyofSchema1Validator$inboundSchema` instead. */
|
|
44
|
-
AnyofSchema1Validator$.inboundSchema = exports.AnyofSchema1Validator$inboundSchema;
|
|
45
|
-
/** @deprecated use `AnyofSchema1Validator$outboundSchema` instead. */
|
|
46
|
-
AnyofSchema1Validator$.outboundSchema = exports.AnyofSchema1Validator$outboundSchema;
|
|
47
|
-
})(AnyofSchema1Validator$ || (exports.AnyofSchema1Validator$ = AnyofSchema1Validator$ = {}));
|
|
48
|
-
/** @internal */
|
|
49
|
-
exports.Defaults$inboundSchema = z.object({
|
|
50
|
-
anyof_schema_1_validator: z.nullable(z.lazy(() => exports.AnyofSchema1Validator$inboundSchema)).optional(),
|
|
51
|
-
anyof_schema_2_validator: z.nullable(z.record(toolparameterdefault_js_1.ToolParameterDefault$inboundSchema)).optional(),
|
|
52
|
-
actual_instance: z.any().optional(),
|
|
53
|
-
any_of_schemas: z.array(z.string()).optional(),
|
|
54
|
-
}).transform((v) => {
|
|
55
|
-
return (0, primitives_js_1.remap)(v, {
|
|
56
|
-
"anyof_schema_1_validator": "anyofSchema1Validator",
|
|
57
|
-
"anyof_schema_2_validator": "anyofSchema2Validator",
|
|
58
|
-
"actual_instance": "actualInstance",
|
|
59
|
-
"any_of_schemas": "anyOfSchemas",
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
/** @internal */
|
|
63
|
-
exports.Defaults$outboundSchema = z.object({
|
|
64
|
-
anyofSchema1Validator: z.nullable(z.lazy(() => exports.AnyofSchema1Validator$outboundSchema)).optional(),
|
|
65
|
-
anyofSchema2Validator: z.nullable(z.record(toolparameterdefault_js_1.ToolParameterDefault$outboundSchema)).optional(),
|
|
66
|
-
actualInstance: z.any().optional(),
|
|
67
|
-
anyOfSchemas: z.array(z.string()).optional(),
|
|
68
|
-
}).transform((v) => {
|
|
69
|
-
return (0, primitives_js_1.remap)(v, {
|
|
70
|
-
anyofSchema1Validator: "anyof_schema_1_validator",
|
|
71
|
-
anyofSchema2Validator: "anyof_schema_2_validator",
|
|
72
|
-
actualInstance: "actual_instance",
|
|
73
|
-
anyOfSchemas: "any_of_schemas",
|
|
74
|
-
});
|
|
75
|
-
});
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
79
|
-
*/
|
|
80
|
-
var Defaults$;
|
|
81
|
-
(function (Defaults$) {
|
|
82
|
-
/** @deprecated use `Defaults$inboundSchema` instead. */
|
|
83
|
-
Defaults$.inboundSchema = exports.Defaults$inboundSchema;
|
|
84
|
-
/** @deprecated use `Defaults$outboundSchema` instead. */
|
|
85
|
-
Defaults$.outboundSchema = exports.Defaults$outboundSchema;
|
|
86
|
-
})(Defaults$ || (exports.Defaults$ = Defaults$ = {}));
|
|
87
|
-
//# sourceMappingURL=defaults.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../src/models/components/defaults.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,uEAKmC;AAiBnC,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AA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,CAC/B,CAAC,CAAC,MAAM,CAAC,6DAAmC,CAAC,CAC9C,CAAC,QAAQ,EAAE;IACZ,cAAc,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAClC,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,qBAAqB,EAAE,0BAA0B;QACjD,qBAAqB,EAAE,0BAA0B;QACjD,cAAc,EAAE,iBAAiB;QACjC,YAAY,EAAE,gBAAgB;KAC/B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,SAAS,CAOzB;AAPD,WAAiB,SAAS;IACxB,wDAAwD;IAC3C,uBAAa,GAAG,8BAAsB,CAAC;IACpD,yDAAyD;IAC5C,wBAAc,GAAG,+BAAuB,CAAC;AAGxD,CAAC,EAPgB,SAAS,yBAAT,SAAS,QAOzB"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { SchemasBubblegumV2ToolsTool, SchemasBubblegumV2ToolsTool$Outbound } from "./schemasbubblegumv2toolstool.js";
|
|
3
|
-
export type ListResponseSchemasBubblegumV2ToolsTool = {
|
|
4
|
-
items: Array<SchemasBubblegumV2ToolsTool>;
|
|
5
|
-
page: number;
|
|
6
|
-
pageSize: number;
|
|
7
|
-
totalPages: number;
|
|
8
|
-
totalCount: number;
|
|
9
|
-
};
|
|
10
|
-
/** @internal */
|
|
11
|
-
export declare const ListResponseSchemasBubblegumV2ToolsTool$inboundSchema: z.ZodType<ListResponseSchemasBubblegumV2ToolsTool, z.ZodTypeDef, unknown>;
|
|
12
|
-
/** @internal */
|
|
13
|
-
export type ListResponseSchemasBubblegumV2ToolsTool$Outbound = {
|
|
14
|
-
items: Array<SchemasBubblegumV2ToolsTool$Outbound>;
|
|
15
|
-
page: number;
|
|
16
|
-
page_size: number;
|
|
17
|
-
total_pages: number;
|
|
18
|
-
total_count: number;
|
|
19
|
-
};
|
|
20
|
-
/** @internal */
|
|
21
|
-
export declare const ListResponseSchemasBubblegumV2ToolsTool$outboundSchema: z.ZodType<ListResponseSchemasBubblegumV2ToolsTool$Outbound, z.ZodTypeDef, ListResponseSchemasBubblegumV2ToolsTool>;
|
|
22
|
-
/**
|
|
23
|
-
* @internal
|
|
24
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
25
|
-
*/
|
|
26
|
-
export declare namespace ListResponseSchemasBubblegumV2ToolsTool$ {
|
|
27
|
-
/** @deprecated use `ListResponseSchemasBubblegumV2ToolsTool$inboundSchema` instead. */
|
|
28
|
-
const inboundSchema: z.ZodType<ListResponseSchemasBubblegumV2ToolsTool, z.ZodTypeDef, unknown>;
|
|
29
|
-
/** @deprecated use `ListResponseSchemasBubblegumV2ToolsTool$outboundSchema` instead. */
|
|
30
|
-
const outboundSchema: z.ZodType<ListResponseSchemasBubblegumV2ToolsTool$Outbound, z.ZodTypeDef, ListResponseSchemasBubblegumV2ToolsTool>;
|
|
31
|
-
/** @deprecated use `ListResponseSchemasBubblegumV2ToolsTool$Outbound` instead. */
|
|
32
|
-
type Outbound = ListResponseSchemasBubblegumV2ToolsTool$Outbound;
|
|
33
|
-
}
|
|
34
|
-
//# sourceMappingURL=listresponseschemasbubblegumv2toolstool.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"listresponseschemasbubblegumv2toolstool.d.ts","sourceRoot":"","sources":["../../src/models/components/listresponseschemasbubblegumv2toolstool.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EACL,2BAA2B,EAE3B,oCAAoC,EAErC,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,uCAAuC,GAAG;IACpD,KAAK,EAAE,KAAK,CAAC,2BAA2B,CAAC,CAAC;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qDAAqD,EAAE,CAAC,CAAC,OAAO,CAC3E,uCAAuC,EACvC,CAAC,CAAC,UAAU,EACZ,OAAO,CAaP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,gDAAgD,GAAG;IAC7D,KAAK,EAAE,KAAK,CAAC,oCAAoC,CAAC,CAAC;IACnD,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sDAAsD,EAAE,CAAC,CAAC,OAAO,CAC5E,gDAAgD,EAChD,CAAC,CAAC,UAAU,EACZ,uCAAuC,CAavC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,wCAAwC,CAAC;IACxD,uFAAuF;IAChF,MAAM,aAAa,2EAC6B,CAAC;IACxD,wFAAwF;IACjF,MAAM,cAAc,oHAC6B,CAAC;IACzD,kFAAkF;IAClF,KAAY,QAAQ,GAAG,gDAAgD,CAAC;CACzE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"listresponseschemasbubblegumv2toolstool.js","sourceRoot":"","sources":["../../src/models/components/listresponseschemasbubblegumv2toolstool.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qFAK0C;AAU1C,gBAAgB;AACH,QAAA,qDAAqD,GAI9D,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,0EAAyC,CAAC;IACzD,IAAI,EAAE,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|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
/**
|
|
4
|
-
* LLM API provider.
|
|
5
|
-
*/
|
|
6
|
-
export declare const Provider: {
|
|
7
|
-
readonly AzureOpenai: "azure_openai";
|
|
8
|
-
readonly Openai: "openai";
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* LLM API provider.
|
|
12
|
-
*/
|
|
13
|
-
export type Provider = ClosedEnum<typeof Provider>;
|
|
14
|
-
/** @internal */
|
|
15
|
-
export declare const Provider$inboundSchema: z.ZodNativeEnum<typeof Provider>;
|
|
16
|
-
/** @internal */
|
|
17
|
-
export declare const Provider$outboundSchema: z.ZodNativeEnum<typeof Provider>;
|
|
18
|
-
/**
|
|
19
|
-
* @internal
|
|
20
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
21
|
-
*/
|
|
22
|
-
export declare namespace Provider$ {
|
|
23
|
-
/** @deprecated use `Provider$inboundSchema` instead. */
|
|
24
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
25
|
-
readonly AzureOpenai: "azure_openai";
|
|
26
|
-
readonly Openai: "openai";
|
|
27
|
-
}>;
|
|
28
|
-
/** @deprecated use `Provider$outboundSchema` instead. */
|
|
29
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
30
|
-
readonly AzureOpenai: "azure_openai";
|
|
31
|
-
readonly Openai: "openai";
|
|
32
|
-
}>;
|
|
33
|
-
}
|
|
34
|
-
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/models/components/provider.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,QAAQ;;;CAGX,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEnD,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,QAAQ,CAC7C,CAAC;AAExB,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,QAAQ,CAC7C,CAAC;AAEzB;;;GAGG;AACH,yBAAiB,SAAS,CAAC;IACzB,wDAAwD;IACjD,MAAM,aAAa;;;MAAyB,CAAC;IACpD,yDAAyD;IAClD,MAAM,cAAc;;;MAA0B,CAAC;CACvD"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.Provider$ = exports.Provider$outboundSchema = exports.Provider$inboundSchema = exports.Provider = void 0;
|
|
30
|
-
const z = __importStar(require("zod"));
|
|
31
|
-
/**
|
|
32
|
-
* LLM API provider.
|
|
33
|
-
*/
|
|
34
|
-
exports.Provider = {
|
|
35
|
-
AzureOpenai: "azure_openai",
|
|
36
|
-
Openai: "openai",
|
|
37
|
-
};
|
|
38
|
-
/** @internal */
|
|
39
|
-
exports.Provider$inboundSchema = z
|
|
40
|
-
.nativeEnum(exports.Provider);
|
|
41
|
-
/** @internal */
|
|
42
|
-
exports.Provider$outboundSchema = exports.Provider$inboundSchema;
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
46
|
-
*/
|
|
47
|
-
var Provider$;
|
|
48
|
-
(function (Provider$) {
|
|
49
|
-
/** @deprecated use `Provider$inboundSchema` instead. */
|
|
50
|
-
Provider$.inboundSchema = exports.Provider$inboundSchema;
|
|
51
|
-
/** @deprecated use `Provider$outboundSchema` instead. */
|
|
52
|
-
Provider$.outboundSchema = exports.Provider$outboundSchema;
|
|
53
|
-
})(Provider$ || (exports.Provider$ = Provider$ = {}));
|
|
54
|
-
//# sourceMappingURL=provider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../src/models/components/provider.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,QAAQ,GAAG;IACtB,WAAW,EAAE,cAAc;IAC3B,MAAM,EAAE,QAAQ;CACR,CAAC;AAMX,gBAAgB;AACH,QAAA,sBAAsB,GAAqC,CAAC;KACtE,UAAU,CAAC,gBAAQ,CAAC,CAAC;AAExB,gBAAgB;AACH,QAAA,uBAAuB,GAClC,8BAAsB,CAAC;AAEzB;;;GAGG;AACH,IAAiB,SAAS,CAKzB;AALD,WAAiB,SAAS;IACxB,wDAAwD;IAC3C,uBAAa,GAAG,8BAAsB,CAAC;IACpD,yDAAyD;IAC5C,wBAAc,GAAG,+BAAuB,CAAC;AACxD,CAAC,EALgB,SAAS,yBAAT,SAAS,QAKzB"}
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import {
|
|
8
|
-
ToolParameterDefault,
|
|
9
|
-
ToolParameterDefault$inboundSchema,
|
|
10
|
-
ToolParameterDefault$Outbound,
|
|
11
|
-
ToolParameterDefault$outboundSchema,
|
|
12
|
-
} from "./toolparameterdefault.js";
|
|
13
|
-
|
|
14
|
-
export type AnyofSchema1Validator = {};
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* The default values for the parameters of the function/tool call.
|
|
18
|
-
*/
|
|
19
|
-
export type Defaults = {
|
|
20
|
-
anyofSchema1Validator?: AnyofSchema1Validator | null | undefined;
|
|
21
|
-
anyofSchema2Validator?:
|
|
22
|
-
| { [k: string]: ToolParameterDefault }
|
|
23
|
-
| null
|
|
24
|
-
| undefined;
|
|
25
|
-
actualInstance?: any | undefined;
|
|
26
|
-
anyOfSchemas?: Array<string> | undefined;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
/** @internal */
|
|
30
|
-
export const AnyofSchema1Validator$inboundSchema: z.ZodType<
|
|
31
|
-
AnyofSchema1Validator,
|
|
32
|
-
z.ZodTypeDef,
|
|
33
|
-
unknown
|
|
34
|
-
> = z.object({});
|
|
35
|
-
|
|
36
|
-
/** @internal */
|
|
37
|
-
export type AnyofSchema1Validator$Outbound = {};
|
|
38
|
-
|
|
39
|
-
/** @internal */
|
|
40
|
-
export const AnyofSchema1Validator$outboundSchema: z.ZodType<
|
|
41
|
-
AnyofSchema1Validator$Outbound,
|
|
42
|
-
z.ZodTypeDef,
|
|
43
|
-
AnyofSchema1Validator
|
|
44
|
-
> = z.object({});
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
|
-
*/
|
|
50
|
-
export namespace AnyofSchema1Validator$ {
|
|
51
|
-
/** @deprecated use `AnyofSchema1Validator$inboundSchema` instead. */
|
|
52
|
-
export const inboundSchema = AnyofSchema1Validator$inboundSchema;
|
|
53
|
-
/** @deprecated use `AnyofSchema1Validator$outboundSchema` instead. */
|
|
54
|
-
export const outboundSchema = AnyofSchema1Validator$outboundSchema;
|
|
55
|
-
/** @deprecated use `AnyofSchema1Validator$Outbound` instead. */
|
|
56
|
-
export type Outbound = AnyofSchema1Validator$Outbound;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/** @internal */
|
|
60
|
-
export const Defaults$inboundSchema: z.ZodType<
|
|
61
|
-
Defaults,
|
|
62
|
-
z.ZodTypeDef,
|
|
63
|
-
unknown
|
|
64
|
-
> = z.object({
|
|
65
|
-
anyof_schema_1_validator: z.nullable(
|
|
66
|
-
z.lazy(() => AnyofSchema1Validator$inboundSchema),
|
|
67
|
-
).optional(),
|
|
68
|
-
anyof_schema_2_validator: z.nullable(
|
|
69
|
-
z.record(ToolParameterDefault$inboundSchema),
|
|
70
|
-
).optional(),
|
|
71
|
-
actual_instance: z.any().optional(),
|
|
72
|
-
any_of_schemas: z.array(z.string()).optional(),
|
|
73
|
-
}).transform((v) => {
|
|
74
|
-
return remap$(v, {
|
|
75
|
-
"anyof_schema_1_validator": "anyofSchema1Validator",
|
|
76
|
-
"anyof_schema_2_validator": "anyofSchema2Validator",
|
|
77
|
-
"actual_instance": "actualInstance",
|
|
78
|
-
"any_of_schemas": "anyOfSchemas",
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
/** @internal */
|
|
83
|
-
export type Defaults$Outbound = {
|
|
84
|
-
anyof_schema_1_validator?: AnyofSchema1Validator$Outbound | null | undefined;
|
|
85
|
-
anyof_schema_2_validator?:
|
|
86
|
-
| { [k: string]: ToolParameterDefault$Outbound }
|
|
87
|
-
| null
|
|
88
|
-
| undefined;
|
|
89
|
-
actual_instance?: any | undefined;
|
|
90
|
-
any_of_schemas?: Array<string> | undefined;
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
/** @internal */
|
|
94
|
-
export const Defaults$outboundSchema: z.ZodType<
|
|
95
|
-
Defaults$Outbound,
|
|
96
|
-
z.ZodTypeDef,
|
|
97
|
-
Defaults
|
|
98
|
-
> = z.object({
|
|
99
|
-
anyofSchema1Validator: z.nullable(
|
|
100
|
-
z.lazy(() => AnyofSchema1Validator$outboundSchema),
|
|
101
|
-
).optional(),
|
|
102
|
-
anyofSchema2Validator: z.nullable(
|
|
103
|
-
z.record(ToolParameterDefault$outboundSchema),
|
|
104
|
-
).optional(),
|
|
105
|
-
actualInstance: z.any().optional(),
|
|
106
|
-
anyOfSchemas: z.array(z.string()).optional(),
|
|
107
|
-
}).transform((v) => {
|
|
108
|
-
return remap$(v, {
|
|
109
|
-
anyofSchema1Validator: "anyof_schema_1_validator",
|
|
110
|
-
anyofSchema2Validator: "anyof_schema_2_validator",
|
|
111
|
-
actualInstance: "actual_instance",
|
|
112
|
-
anyOfSchemas: "any_of_schemas",
|
|
113
|
-
});
|
|
114
|
-
});
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
119
|
-
*/
|
|
120
|
-
export namespace Defaults$ {
|
|
121
|
-
/** @deprecated use `Defaults$inboundSchema` instead. */
|
|
122
|
-
export const inboundSchema = Defaults$inboundSchema;
|
|
123
|
-
/** @deprecated use `Defaults$outboundSchema` instead. */
|
|
124
|
-
export const outboundSchema = Defaults$outboundSchema;
|
|
125
|
-
/** @deprecated use `Defaults$Outbound` instead. */
|
|
126
|
-
export type Outbound = Defaults$Outbound;
|
|
127
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* LLM API provider.
|
|
10
|
-
*/
|
|
11
|
-
export const Provider = {
|
|
12
|
-
AzureOpenai: "azure_openai",
|
|
13
|
-
Openai: "openai",
|
|
14
|
-
} as const;
|
|
15
|
-
/**
|
|
16
|
-
* LLM API provider.
|
|
17
|
-
*/
|
|
18
|
-
export type Provider = ClosedEnum<typeof Provider>;
|
|
19
|
-
|
|
20
|
-
/** @internal */
|
|
21
|
-
export const Provider$inboundSchema: z.ZodNativeEnum<typeof Provider> = z
|
|
22
|
-
.nativeEnum(Provider);
|
|
23
|
-
|
|
24
|
-
/** @internal */
|
|
25
|
-
export const Provider$outboundSchema: z.ZodNativeEnum<typeof Provider> =
|
|
26
|
-
Provider$inboundSchema;
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @internal
|
|
30
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
31
|
-
*/
|
|
32
|
-
export namespace Provider$ {
|
|
33
|
-
/** @deprecated use `Provider$inboundSchema` instead. */
|
|
34
|
-
export const inboundSchema = Provider$inboundSchema;
|
|
35
|
-
/** @deprecated use `Provider$outboundSchema` instead. */
|
|
36
|
-
export const outboundSchema = Provider$outboundSchema;
|
|
37
|
-
}
|