syllable-sdk 0.1.0-alpha.5 → 0.1.0-alpha.7
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 +20 -4
- package/docs/sdks/prompts/README.md +79 -1
- package/docs/sdks/services/README.md +245 -0
- package/docs/sdks/syllablesdk/README.md +5 -4
- package/docs/sdks/tools/README.md +163 -1
- package/docs/sdks/transcript/README.md +2 -0
- package/funcs/promptsDelete.d.ts +3 -0
- package/funcs/promptsDelete.d.ts.map +1 -1
- package/funcs/promptsDelete.js +3 -0
- package/funcs/promptsDelete.js.map +1 -1
- package/funcs/promptsPromptsHistory.d.ts +17 -0
- package/funcs/promptsPromptsHistory.d.ts.map +1 -0
- package/funcs/promptsPromptsHistory.js +106 -0
- package/funcs/promptsPromptsHistory.js.map +1 -0
- package/funcs/servicesCreate.d.ts +13 -0
- package/funcs/servicesCreate.d.ts.map +1 -0
- package/funcs/servicesCreate.js +96 -0
- package/funcs/servicesCreate.js.map +1 -0
- package/funcs/servicesList.d.ts +17 -0
- package/funcs/servicesList.d.ts.map +1 -0
- package/funcs/servicesList.js +111 -0
- package/funcs/servicesList.js.map +1 -0
- package/funcs/servicesUpdate.d.ts +13 -0
- package/funcs/servicesUpdate.d.ts.map +1 -0
- package/funcs/servicesUpdate.js +96 -0
- package/funcs/servicesUpdate.js.map +1 -0
- package/funcs/toolsCreate.d.ts +16 -0
- package/funcs/toolsCreate.d.ts.map +1 -0
- package/funcs/toolsCreate.js +99 -0
- package/funcs/toolsCreate.js.map +1 -0
- package/funcs/toolsList.d.ts +1 -1
- package/funcs/toolsList.js +1 -1
- package/funcs/toolsUpdate.d.ts +16 -0
- package/funcs/toolsUpdate.d.ts.map +1 -0
- package/funcs/toolsUpdate.js +99 -0
- package/funcs/toolsUpdate.js.map +1 -0
- package/lib/config.d.ts +3 -3
- package/lib/config.js +5 -5
- package/models/components/agent.d.ts +2 -0
- package/models/components/agent.d.ts.map +1 -1
- package/models/components/agent.js +4 -0
- package/models/components/agent.js.map +1 -1
- package/models/components/agentproperties.d.ts +3 -0
- package/models/components/agentproperties.d.ts.map +1 -1
- package/models/components/agentproperties.js +1 -0
- package/models/components/agentproperties.js.map +1 -1
- package/models/components/channel.d.ts +3 -0
- package/models/components/channel.d.ts.map +1 -1
- package/models/components/channel.js.map +1 -1
- package/models/components/index.d.ts +8 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +8 -1
- package/models/components/index.js.map +1 -1
- package/models/components/listresponseservice.d.ts +38 -0
- package/models/components/listresponseservice.d.ts.map +1 -0
- package/models/components/listresponseservice.js +81 -0
- package/models/components/listresponseservice.js.map +1 -0
- package/models/components/llmconfig.d.ts +34 -3
- package/models/components/llmconfig.d.ts.map +1 -1
- package/models/components/llmconfig.js +26 -4
- package/models/components/llmconfig.js.map +1 -1
- package/models/components/prompt.d.ts +13 -0
- package/models/components/prompt.d.ts.map +1 -1
- package/models/components/prompt.js +8 -0
- package/models/components/prompt.js.map +1 -1
- package/models/components/promptcreate.d.ts +3 -0
- package/models/components/promptcreate.d.ts.map +1 -1
- package/models/components/promptcreate.js.map +1 -1
- package/models/components/prompthistory.d.ts +41 -0
- package/models/components/prompthistory.d.ts.map +1 -0
- package/models/components/prompthistory.js +88 -0
- package/models/components/prompthistory.js.map +1 -0
- package/models/components/promptproperties.d.ts +3 -0
- package/models/components/promptproperties.d.ts.map +1 -1
- package/models/components/promptproperties.js +1 -0
- package/models/components/promptproperties.js.map +1 -1
- package/models/components/service.d.ts +47 -0
- package/models/components/service.d.ts.map +1 -0
- package/models/components/service.js +65 -0
- package/models/components/service.js.map +1 -0
- package/models/components/servicecreate.d.ts +37 -0
- package/models/components/servicecreate.d.ts.map +1 -0
- package/models/components/servicecreate.js +61 -0
- package/models/components/servicecreate.js.map +1 -0
- package/models/components/serviceproperties.d.ts +28 -0
- package/models/components/serviceproperties.d.ts.map +1 -0
- package/models/components/{provider.js → serviceproperties.js} +14 -18
- package/models/components/serviceproperties.js.map +1 -0
- package/models/components/serviceupdate.d.ts +42 -0
- package/models/components/serviceupdate.d.ts.map +1 -0
- package/models/components/serviceupdate.js +63 -0
- package/models/components/serviceupdate.js.map +1 -0
- package/models/components/session.d.ts +4 -0
- package/models/components/session.d.ts.map +1 -1
- package/models/components/session.js +8 -0
- package/models/components/session.js.map +1 -1
- package/models/components/toolcreate.d.ts +66 -0
- package/models/components/toolcreate.d.ts.map +1 -0
- package/models/components/toolcreate.js +95 -0
- package/models/components/toolcreate.js.map +1 -0
- package/models/components/toolupdate.d.ts +71 -0
- package/models/components/toolupdate.d.ts.map +1 -0
- package/models/components/toolupdate.js +97 -0
- package/models/components/toolupdate.js.map +1 -0
- package/models/operations/agentlist.d.ts +4 -4
- package/models/operations/agentlist.d.ts.map +1 -1
- package/models/operations/agentlist.js +6 -4
- package/models/operations/agentlist.js.map +1 -1
- package/models/operations/availabletargets.d.ts +4 -4
- package/models/operations/availabletargets.d.ts.map +1 -1
- package/models/operations/availabletargets.js +8 -4
- package/models/operations/availabletargets.js.map +1 -1
- package/models/operations/channelslist.d.ts +4 -4
- package/models/operations/channelslist.d.ts.map +1 -1
- package/models/operations/channelslist.js +6 -4
- package/models/operations/channelslist.js.map +1 -1
- package/models/operations/channeltargetslist.d.ts +4 -4
- package/models/operations/channeltargetslist.d.ts.map +1 -1
- package/models/operations/channeltargetslist.js +8 -4
- package/models/operations/channeltargetslist.js.map +1 -1
- package/models/operations/conversationslist.d.ts +4 -4
- package/models/operations/conversationslist.d.ts.map +1 -1
- package/models/operations/conversationslist.js +8 -4
- package/models/operations/conversationslist.js.map +1 -1
- package/models/operations/custommessageslist.d.ts +4 -4
- package/models/operations/custommessageslist.d.ts.map +1 -1
- package/models/operations/custommessageslist.js +8 -4
- package/models/operations/custommessageslist.js.map +1 -1
- package/models/operations/eventslist.d.ts +4 -4
- package/models/operations/eventslist.d.ts.map +1 -1
- package/models/operations/eventslist.js +6 -4
- package/models/operations/eventslist.js.map +1 -1
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/promptshistory.d.ts +29 -0
- package/models/operations/promptshistory.d.ts.map +1 -0
- package/models/operations/promptshistory.js +68 -0
- package/models/operations/promptshistory.js.map +1 -0
- package/models/operations/promptslist.d.ts +4 -4
- package/models/operations/promptslist.d.ts.map +1 -1
- package/models/operations/promptslist.js +6 -4
- package/models/operations/promptslist.js.map +1 -1
- package/models/operations/servicelist.d.ts +46 -0
- package/models/operations/servicelist.d.ts.map +1 -0
- package/models/operations/servicelist.js +99 -0
- package/models/operations/servicelist.js.map +1 -0
- package/models/operations/sessionlabelslist.d.ts +4 -4
- package/models/operations/sessionlabelslist.d.ts.map +1 -1
- package/models/operations/sessionlabelslist.js +8 -4
- package/models/operations/sessionlabelslist.js.map +1 -1
- package/models/operations/sessionslist.d.ts +4 -4
- package/models/operations/sessionslist.d.ts.map +1 -1
- package/models/operations/sessionslist.js +6 -4
- package/models/operations/sessionslist.js.map +1 -1
- package/models/operations/toollist.d.ts +4 -4
- package/models/operations/toollist.d.ts.map +1 -1
- package/models/operations/toollist.js +6 -4
- package/models/operations/toollist.js.map +1 -1
- package/package.json +1 -1
- package/sdk/prompts.d.ts +10 -0
- package/sdk/prompts.d.ts.map +1 -1
- package/sdk/prompts.js +13 -0
- package/sdk/prompts.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +5 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/services.d.ts +21 -0
- package/sdk/services.d.ts.map +1 -0
- package/sdk/services.js +36 -0
- package/sdk/services.js.map +1 -0
- package/sdk/tools.d.ts +15 -1
- package/sdk/tools.d.ts.map +1 -1
- package/sdk/tools.js +21 -1
- package/sdk/tools.js.map +1 -1
- package/src/funcs/promptsDelete.ts +3 -0
- package/src/funcs/promptsPromptsHistory.ts +139 -0
- package/src/funcs/servicesCreate.ts +128 -0
- package/src/funcs/servicesList.ts +144 -0
- package/src/funcs/servicesUpdate.ts +128 -0
- package/src/funcs/toolsCreate.ts +131 -0
- package/src/funcs/toolsList.ts +1 -1
- package/src/funcs/toolsUpdate.ts +131 -0
- package/src/lib/config.ts +5 -5
- package/src/models/components/agent.ts +8 -0
- package/src/models/components/agentproperties.ts +1 -0
- package/src/models/components/channel.ts +3 -0
- package/src/models/components/index.ts +8 -1
- package/src/models/components/listresponseservice.ts +101 -0
- package/src/models/components/llmconfig.ts +36 -9
- package/src/models/components/prompt.ts +21 -0
- package/src/models/components/promptcreate.ts +3 -0
- package/src/models/components/prompthistory.ts +103 -0
- package/src/models/components/promptproperties.ts +1 -0
- package/src/models/components/service.ts +83 -0
- package/src/models/components/servicecreate.ts +72 -0
- package/src/models/components/serviceproperties.ts +33 -0
- package/src/models/components/serviceupdate.ts +79 -0
- package/src/models/components/session.ts +12 -0
- package/src/models/components/toolcreate.ts +141 -0
- package/src/models/components/toolupdate.ts +148 -0
- package/src/models/operations/agentlist.ts +10 -8
- package/src/models/operations/availabletargets.ts +12 -8
- package/src/models/operations/channelslist.ts +10 -8
- package/src/models/operations/channeltargetslist.ts +12 -8
- package/src/models/operations/conversationslist.ts +12 -8
- package/src/models/operations/custommessageslist.ts +12 -8
- package/src/models/operations/eventslist.ts +10 -8
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/promptshistory.ts +75 -0
- package/src/models/operations/promptslist.ts +10 -8
- package/src/models/operations/servicelist.ts +122 -0
- package/src/models/operations/sessionlabelslist.ts +12 -8
- package/src/models/operations/sessionslist.ts +10 -8
- package/src/models/operations/toollist.ts +10 -8
- package/src/sdk/prompts.ts +21 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/services.ts +58 -0
- package/src/sdk/tools.ts +37 -1
- package/models/components/provider.d.ts +0 -34
- package/models/components/provider.d.ts.map +0 -1
- package/models/components/provider.js.map +0 -1
- package/src/models/components/provider.ts +0 -37
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type Service = {
|
|
11
|
+
/**
|
|
12
|
+
* The name of the service
|
|
13
|
+
*/
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* The description of the service
|
|
17
|
+
*/
|
|
18
|
+
description: string;
|
|
19
|
+
/**
|
|
20
|
+
* The ID of the service
|
|
21
|
+
*/
|
|
22
|
+
id: number;
|
|
23
|
+
/**
|
|
24
|
+
* The tools of the service
|
|
25
|
+
*/
|
|
26
|
+
tools: Array<string>;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const Service$inboundSchema: z.ZodType<Service, z.ZodTypeDef, unknown> =
|
|
31
|
+
z.object({
|
|
32
|
+
name: z.string(),
|
|
33
|
+
description: z.string(),
|
|
34
|
+
id: z.number().int(),
|
|
35
|
+
tools: z.array(z.string()),
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type Service$Outbound = {
|
|
40
|
+
name: string;
|
|
41
|
+
description: string;
|
|
42
|
+
id: number;
|
|
43
|
+
tools: Array<string>;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const Service$outboundSchema: z.ZodType<
|
|
48
|
+
Service$Outbound,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
Service
|
|
51
|
+
> = z.object({
|
|
52
|
+
name: z.string(),
|
|
53
|
+
description: z.string(),
|
|
54
|
+
id: z.number().int(),
|
|
55
|
+
tools: z.array(z.string()),
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
|
+
*/
|
|
62
|
+
export namespace Service$ {
|
|
63
|
+
/** @deprecated use `Service$inboundSchema` instead. */
|
|
64
|
+
export const inboundSchema = Service$inboundSchema;
|
|
65
|
+
/** @deprecated use `Service$outboundSchema` instead. */
|
|
66
|
+
export const outboundSchema = Service$outboundSchema;
|
|
67
|
+
/** @deprecated use `Service$Outbound` instead. */
|
|
68
|
+
export type Outbound = Service$Outbound;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function serviceToJSON(service: Service): string {
|
|
72
|
+
return JSON.stringify(Service$outboundSchema.parse(service));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function serviceFromJSON(
|
|
76
|
+
jsonString: string,
|
|
77
|
+
): SafeParseResult<Service, SDKValidationError> {
|
|
78
|
+
return safeParse(
|
|
79
|
+
jsonString,
|
|
80
|
+
(x) => Service$inboundSchema.parse(JSON.parse(x)),
|
|
81
|
+
`Failed to parse 'Service' from JSON`,
|
|
82
|
+
);
|
|
83
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type ServiceCreate = {
|
|
11
|
+
/**
|
|
12
|
+
* The name of the service
|
|
13
|
+
*/
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* The description of the service
|
|
17
|
+
*/
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const ServiceCreate$inboundSchema: z.ZodType<
|
|
23
|
+
ServiceCreate,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
unknown
|
|
26
|
+
> = z.object({
|
|
27
|
+
name: z.string(),
|
|
28
|
+
description: z.string(),
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type ServiceCreate$Outbound = {
|
|
33
|
+
name: string;
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const ServiceCreate$outboundSchema: z.ZodType<
|
|
39
|
+
ServiceCreate$Outbound,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
ServiceCreate
|
|
42
|
+
> = z.object({
|
|
43
|
+
name: z.string(),
|
|
44
|
+
description: z.string(),
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @internal
|
|
49
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
50
|
+
*/
|
|
51
|
+
export namespace ServiceCreate$ {
|
|
52
|
+
/** @deprecated use `ServiceCreate$inboundSchema` instead. */
|
|
53
|
+
export const inboundSchema = ServiceCreate$inboundSchema;
|
|
54
|
+
/** @deprecated use `ServiceCreate$outboundSchema` instead. */
|
|
55
|
+
export const outboundSchema = ServiceCreate$outboundSchema;
|
|
56
|
+
/** @deprecated use `ServiceCreate$Outbound` instead. */
|
|
57
|
+
export type Outbound = ServiceCreate$Outbound;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function serviceCreateToJSON(serviceCreate: ServiceCreate): string {
|
|
61
|
+
return JSON.stringify(ServiceCreate$outboundSchema.parse(serviceCreate));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function serviceCreateFromJSON(
|
|
65
|
+
jsonString: string,
|
|
66
|
+
): SafeParseResult<ServiceCreate, SDKValidationError> {
|
|
67
|
+
return safeParse(
|
|
68
|
+
jsonString,
|
|
69
|
+
(x) => ServiceCreate$inboundSchema.parse(JSON.parse(x)),
|
|
70
|
+
`Failed to parse 'ServiceCreate' from JSON`,
|
|
71
|
+
);
|
|
72
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
export const ServiceProperties = {
|
|
9
|
+
Id: "id",
|
|
10
|
+
Name: "name",
|
|
11
|
+
} as const;
|
|
12
|
+
export type ServiceProperties = ClosedEnum<typeof ServiceProperties>;
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const ServiceProperties$inboundSchema: z.ZodNativeEnum<
|
|
16
|
+
typeof ServiceProperties
|
|
17
|
+
> = z.nativeEnum(ServiceProperties);
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const ServiceProperties$outboundSchema: z.ZodNativeEnum<
|
|
21
|
+
typeof ServiceProperties
|
|
22
|
+
> = ServiceProperties$inboundSchema;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
27
|
+
*/
|
|
28
|
+
export namespace ServiceProperties$ {
|
|
29
|
+
/** @deprecated use `ServiceProperties$inboundSchema` instead. */
|
|
30
|
+
export const inboundSchema = ServiceProperties$inboundSchema;
|
|
31
|
+
/** @deprecated use `ServiceProperties$outboundSchema` instead. */
|
|
32
|
+
export const outboundSchema = ServiceProperties$outboundSchema;
|
|
33
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type ServiceUpdate = {
|
|
11
|
+
/**
|
|
12
|
+
* The name of the service
|
|
13
|
+
*/
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* The description of the service
|
|
17
|
+
*/
|
|
18
|
+
description: string;
|
|
19
|
+
/**
|
|
20
|
+
* The ID of the service
|
|
21
|
+
*/
|
|
22
|
+
id: number;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const ServiceUpdate$inboundSchema: z.ZodType<
|
|
27
|
+
ServiceUpdate,
|
|
28
|
+
z.ZodTypeDef,
|
|
29
|
+
unknown
|
|
30
|
+
> = z.object({
|
|
31
|
+
name: z.string(),
|
|
32
|
+
description: z.string(),
|
|
33
|
+
id: z.number().int(),
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export type ServiceUpdate$Outbound = {
|
|
38
|
+
name: string;
|
|
39
|
+
description: string;
|
|
40
|
+
id: number;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
/** @internal */
|
|
44
|
+
export const ServiceUpdate$outboundSchema: z.ZodType<
|
|
45
|
+
ServiceUpdate$Outbound,
|
|
46
|
+
z.ZodTypeDef,
|
|
47
|
+
ServiceUpdate
|
|
48
|
+
> = z.object({
|
|
49
|
+
name: z.string(),
|
|
50
|
+
description: z.string(),
|
|
51
|
+
id: z.number().int(),
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
+
*/
|
|
58
|
+
export namespace ServiceUpdate$ {
|
|
59
|
+
/** @deprecated use `ServiceUpdate$inboundSchema` instead. */
|
|
60
|
+
export const inboundSchema = ServiceUpdate$inboundSchema;
|
|
61
|
+
/** @deprecated use `ServiceUpdate$outboundSchema` instead. */
|
|
62
|
+
export const outboundSchema = ServiceUpdate$outboundSchema;
|
|
63
|
+
/** @deprecated use `ServiceUpdate$Outbound` instead. */
|
|
64
|
+
export type Outbound = ServiceUpdate$Outbound;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function serviceUpdateToJSON(serviceUpdate: ServiceUpdate): string {
|
|
68
|
+
return JSON.stringify(ServiceUpdate$outboundSchema.parse(serviceUpdate));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function serviceUpdateFromJSON(
|
|
72
|
+
jsonString: string,
|
|
73
|
+
): SafeParseResult<ServiceUpdate, SDKValidationError> {
|
|
74
|
+
return safeParse(
|
|
75
|
+
jsonString,
|
|
76
|
+
(x) => ServiceUpdate$inboundSchema.parse(JSON.parse(x)),
|
|
77
|
+
`Failed to parse 'ServiceUpdate' from JSON`,
|
|
78
|
+
);
|
|
79
|
+
}
|
|
@@ -15,8 +15,10 @@ export type Session = {
|
|
|
15
15
|
channelManagerService?: string | null | undefined;
|
|
16
16
|
channelManagerType?: string | null | undefined;
|
|
17
17
|
channelManagerSid?: string | null | undefined;
|
|
18
|
+
agentId?: string | null | undefined;
|
|
18
19
|
agentName?: string | null | undefined;
|
|
19
20
|
agentType?: string | null | undefined;
|
|
21
|
+
agentTimezone?: string | null | undefined;
|
|
20
22
|
promptId?: string | null | undefined;
|
|
21
23
|
promptName?: string | null | undefined;
|
|
22
24
|
promptVersion?: string | null | undefined;
|
|
@@ -39,8 +41,10 @@ export const Session$inboundSchema: z.ZodType<Session, z.ZodTypeDef, unknown> =
|
|
|
39
41
|
channel_manager_service: z.nullable(z.string()).optional(),
|
|
40
42
|
channel_manager_type: z.nullable(z.string()).optional(),
|
|
41
43
|
channel_manager_sid: z.nullable(z.string()).optional(),
|
|
44
|
+
agent_id: z.nullable(z.string()).optional(),
|
|
42
45
|
agent_name: z.nullable(z.string()).optional(),
|
|
43
46
|
agent_type: z.nullable(z.string()).optional(),
|
|
47
|
+
agent_timezone: z.nullable(z.string()).optional(),
|
|
44
48
|
prompt_id: z.nullable(z.string()).optional(),
|
|
45
49
|
prompt_name: z.nullable(z.string()).optional(),
|
|
46
50
|
prompt_version: z.nullable(z.string()).optional(),
|
|
@@ -57,8 +61,10 @@ export const Session$inboundSchema: z.ZodType<Session, z.ZodTypeDef, unknown> =
|
|
|
57
61
|
"channel_manager_service": "channelManagerService",
|
|
58
62
|
"channel_manager_type": "channelManagerType",
|
|
59
63
|
"channel_manager_sid": "channelManagerSid",
|
|
64
|
+
"agent_id": "agentId",
|
|
60
65
|
"agent_name": "agentName",
|
|
61
66
|
"agent_type": "agentType",
|
|
67
|
+
"agent_timezone": "agentTimezone",
|
|
62
68
|
"prompt_id": "promptId",
|
|
63
69
|
"prompt_name": "promptName",
|
|
64
70
|
"prompt_version": "promptVersion",
|
|
@@ -76,8 +82,10 @@ export type Session$Outbound = {
|
|
|
76
82
|
channel_manager_service?: string | null | undefined;
|
|
77
83
|
channel_manager_type?: string | null | undefined;
|
|
78
84
|
channel_manager_sid?: string | null | undefined;
|
|
85
|
+
agent_id?: string | null | undefined;
|
|
79
86
|
agent_name?: string | null | undefined;
|
|
80
87
|
agent_type?: string | null | undefined;
|
|
88
|
+
agent_timezone?: string | null | undefined;
|
|
81
89
|
prompt_id?: string | null | undefined;
|
|
82
90
|
prompt_name?: string | null | undefined;
|
|
83
91
|
prompt_version?: string | null | undefined;
|
|
@@ -101,8 +109,10 @@ export const Session$outboundSchema: z.ZodType<
|
|
|
101
109
|
channelManagerService: z.nullable(z.string()).optional(),
|
|
102
110
|
channelManagerType: z.nullable(z.string()).optional(),
|
|
103
111
|
channelManagerSid: z.nullable(z.string()).optional(),
|
|
112
|
+
agentId: z.nullable(z.string()).optional(),
|
|
104
113
|
agentName: z.nullable(z.string()).optional(),
|
|
105
114
|
agentType: z.nullable(z.string()).optional(),
|
|
115
|
+
agentTimezone: z.nullable(z.string()).optional(),
|
|
106
116
|
promptId: z.nullable(z.string()).optional(),
|
|
107
117
|
promptName: z.nullable(z.string()).optional(),
|
|
108
118
|
promptVersion: z.nullable(z.string()).optional(),
|
|
@@ -119,8 +129,10 @@ export const Session$outboundSchema: z.ZodType<
|
|
|
119
129
|
channelManagerService: "channel_manager_service",
|
|
120
130
|
channelManagerType: "channel_manager_type",
|
|
121
131
|
channelManagerSid: "channel_manager_sid",
|
|
132
|
+
agentId: "agent_id",
|
|
122
133
|
agentName: "agent_name",
|
|
123
134
|
agentType: "agent_type",
|
|
135
|
+
agentTimezone: "agent_timezone",
|
|
124
136
|
promptId: "prompt_id",
|
|
125
137
|
promptName: "prompt_name",
|
|
126
138
|
promptVersion: "prompt_version",
|
|
@@ -0,0 +1,141 @@
|
|
|
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 { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* The definition of the tool
|
|
13
|
+
*/
|
|
14
|
+
export type ToolCreateDefinition = {};
|
|
15
|
+
|
|
16
|
+
export type ToolCreate = {
|
|
17
|
+
/**
|
|
18
|
+
* The name of the tool
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* The definition of the tool
|
|
23
|
+
*/
|
|
24
|
+
definition?: ToolCreateDefinition | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* The service this tool belongs to
|
|
27
|
+
*/
|
|
28
|
+
serviceId: number;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const ToolCreateDefinition$inboundSchema: z.ZodType<
|
|
33
|
+
ToolCreateDefinition,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
unknown
|
|
36
|
+
> = z.object({});
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type ToolCreateDefinition$Outbound = {};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const ToolCreateDefinition$outboundSchema: z.ZodType<
|
|
43
|
+
ToolCreateDefinition$Outbound,
|
|
44
|
+
z.ZodTypeDef,
|
|
45
|
+
ToolCreateDefinition
|
|
46
|
+
> = z.object({});
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
51
|
+
*/
|
|
52
|
+
export namespace ToolCreateDefinition$ {
|
|
53
|
+
/** @deprecated use `ToolCreateDefinition$inboundSchema` instead. */
|
|
54
|
+
export const inboundSchema = ToolCreateDefinition$inboundSchema;
|
|
55
|
+
/** @deprecated use `ToolCreateDefinition$outboundSchema` instead. */
|
|
56
|
+
export const outboundSchema = ToolCreateDefinition$outboundSchema;
|
|
57
|
+
/** @deprecated use `ToolCreateDefinition$Outbound` instead. */
|
|
58
|
+
export type Outbound = ToolCreateDefinition$Outbound;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function toolCreateDefinitionToJSON(
|
|
62
|
+
toolCreateDefinition: ToolCreateDefinition,
|
|
63
|
+
): string {
|
|
64
|
+
return JSON.stringify(
|
|
65
|
+
ToolCreateDefinition$outboundSchema.parse(toolCreateDefinition),
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function toolCreateDefinitionFromJSON(
|
|
70
|
+
jsonString: string,
|
|
71
|
+
): SafeParseResult<ToolCreateDefinition, SDKValidationError> {
|
|
72
|
+
return safeParse(
|
|
73
|
+
jsonString,
|
|
74
|
+
(x) => ToolCreateDefinition$inboundSchema.parse(JSON.parse(x)),
|
|
75
|
+
`Failed to parse 'ToolCreateDefinition' from JSON`,
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/** @internal */
|
|
80
|
+
export const ToolCreate$inboundSchema: z.ZodType<
|
|
81
|
+
ToolCreate,
|
|
82
|
+
z.ZodTypeDef,
|
|
83
|
+
unknown
|
|
84
|
+
> = z.object({
|
|
85
|
+
name: z.string(),
|
|
86
|
+
definition: z.lazy(() => ToolCreateDefinition$inboundSchema).optional(),
|
|
87
|
+
service_id: z.number().int(),
|
|
88
|
+
}).transform((v) => {
|
|
89
|
+
return remap$(v, {
|
|
90
|
+
"service_id": "serviceId",
|
|
91
|
+
});
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
/** @internal */
|
|
95
|
+
export type ToolCreate$Outbound = {
|
|
96
|
+
name: string;
|
|
97
|
+
definition?: ToolCreateDefinition$Outbound | undefined;
|
|
98
|
+
service_id: number;
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
/** @internal */
|
|
102
|
+
export const ToolCreate$outboundSchema: z.ZodType<
|
|
103
|
+
ToolCreate$Outbound,
|
|
104
|
+
z.ZodTypeDef,
|
|
105
|
+
ToolCreate
|
|
106
|
+
> = z.object({
|
|
107
|
+
name: z.string(),
|
|
108
|
+
definition: z.lazy(() => ToolCreateDefinition$outboundSchema).optional(),
|
|
109
|
+
serviceId: z.number().int(),
|
|
110
|
+
}).transform((v) => {
|
|
111
|
+
return remap$(v, {
|
|
112
|
+
serviceId: "service_id",
|
|
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 ToolCreate$ {
|
|
121
|
+
/** @deprecated use `ToolCreate$inboundSchema` instead. */
|
|
122
|
+
export const inboundSchema = ToolCreate$inboundSchema;
|
|
123
|
+
/** @deprecated use `ToolCreate$outboundSchema` instead. */
|
|
124
|
+
export const outboundSchema = ToolCreate$outboundSchema;
|
|
125
|
+
/** @deprecated use `ToolCreate$Outbound` instead. */
|
|
126
|
+
export type Outbound = ToolCreate$Outbound;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export function toolCreateToJSON(toolCreate: ToolCreate): string {
|
|
130
|
+
return JSON.stringify(ToolCreate$outboundSchema.parse(toolCreate));
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export function toolCreateFromJSON(
|
|
134
|
+
jsonString: string,
|
|
135
|
+
): SafeParseResult<ToolCreate, SDKValidationError> {
|
|
136
|
+
return safeParse(
|
|
137
|
+
jsonString,
|
|
138
|
+
(x) => ToolCreate$inboundSchema.parse(JSON.parse(x)),
|
|
139
|
+
`Failed to parse 'ToolCreate' from JSON`,
|
|
140
|
+
);
|
|
141
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
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 { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* The definition of the tool
|
|
13
|
+
*/
|
|
14
|
+
export type ToolUpdateDefinition = {};
|
|
15
|
+
|
|
16
|
+
export type ToolUpdate = {
|
|
17
|
+
/**
|
|
18
|
+
* The name of the tool
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* The definition of the tool
|
|
23
|
+
*/
|
|
24
|
+
definition?: ToolUpdateDefinition | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* The service this tool belongs to
|
|
27
|
+
*/
|
|
28
|
+
serviceId: number;
|
|
29
|
+
/**
|
|
30
|
+
* The ID of the tool
|
|
31
|
+
*/
|
|
32
|
+
id: number;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const ToolUpdateDefinition$inboundSchema: z.ZodType<
|
|
37
|
+
ToolUpdateDefinition,
|
|
38
|
+
z.ZodTypeDef,
|
|
39
|
+
unknown
|
|
40
|
+
> = z.object({});
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
export type ToolUpdateDefinition$Outbound = {};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const ToolUpdateDefinition$outboundSchema: z.ZodType<
|
|
47
|
+
ToolUpdateDefinition$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
ToolUpdateDefinition
|
|
50
|
+
> = z.object({});
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
+
*/
|
|
56
|
+
export namespace ToolUpdateDefinition$ {
|
|
57
|
+
/** @deprecated use `ToolUpdateDefinition$inboundSchema` instead. */
|
|
58
|
+
export const inboundSchema = ToolUpdateDefinition$inboundSchema;
|
|
59
|
+
/** @deprecated use `ToolUpdateDefinition$outboundSchema` instead. */
|
|
60
|
+
export const outboundSchema = ToolUpdateDefinition$outboundSchema;
|
|
61
|
+
/** @deprecated use `ToolUpdateDefinition$Outbound` instead. */
|
|
62
|
+
export type Outbound = ToolUpdateDefinition$Outbound;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function toolUpdateDefinitionToJSON(
|
|
66
|
+
toolUpdateDefinition: ToolUpdateDefinition,
|
|
67
|
+
): string {
|
|
68
|
+
return JSON.stringify(
|
|
69
|
+
ToolUpdateDefinition$outboundSchema.parse(toolUpdateDefinition),
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function toolUpdateDefinitionFromJSON(
|
|
74
|
+
jsonString: string,
|
|
75
|
+
): SafeParseResult<ToolUpdateDefinition, SDKValidationError> {
|
|
76
|
+
return safeParse(
|
|
77
|
+
jsonString,
|
|
78
|
+
(x) => ToolUpdateDefinition$inboundSchema.parse(JSON.parse(x)),
|
|
79
|
+
`Failed to parse 'ToolUpdateDefinition' from JSON`,
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/** @internal */
|
|
84
|
+
export const ToolUpdate$inboundSchema: z.ZodType<
|
|
85
|
+
ToolUpdate,
|
|
86
|
+
z.ZodTypeDef,
|
|
87
|
+
unknown
|
|
88
|
+
> = z.object({
|
|
89
|
+
name: z.string(),
|
|
90
|
+
definition: z.lazy(() => ToolUpdateDefinition$inboundSchema).optional(),
|
|
91
|
+
service_id: z.number().int(),
|
|
92
|
+
id: z.number().int(),
|
|
93
|
+
}).transform((v) => {
|
|
94
|
+
return remap$(v, {
|
|
95
|
+
"service_id": "serviceId",
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
/** @internal */
|
|
100
|
+
export type ToolUpdate$Outbound = {
|
|
101
|
+
name: string;
|
|
102
|
+
definition?: ToolUpdateDefinition$Outbound | undefined;
|
|
103
|
+
service_id: number;
|
|
104
|
+
id: number;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/** @internal */
|
|
108
|
+
export const ToolUpdate$outboundSchema: z.ZodType<
|
|
109
|
+
ToolUpdate$Outbound,
|
|
110
|
+
z.ZodTypeDef,
|
|
111
|
+
ToolUpdate
|
|
112
|
+
> = z.object({
|
|
113
|
+
name: z.string(),
|
|
114
|
+
definition: z.lazy(() => ToolUpdateDefinition$outboundSchema).optional(),
|
|
115
|
+
serviceId: z.number().int(),
|
|
116
|
+
id: z.number().int(),
|
|
117
|
+
}).transform((v) => {
|
|
118
|
+
return remap$(v, {
|
|
119
|
+
serviceId: "service_id",
|
|
120
|
+
});
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @internal
|
|
125
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
126
|
+
*/
|
|
127
|
+
export namespace ToolUpdate$ {
|
|
128
|
+
/** @deprecated use `ToolUpdate$inboundSchema` instead. */
|
|
129
|
+
export const inboundSchema = ToolUpdate$inboundSchema;
|
|
130
|
+
/** @deprecated use `ToolUpdate$outboundSchema` instead. */
|
|
131
|
+
export const outboundSchema = ToolUpdate$outboundSchema;
|
|
132
|
+
/** @deprecated use `ToolUpdate$Outbound` instead. */
|
|
133
|
+
export type Outbound = ToolUpdate$Outbound;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export function toolUpdateToJSON(toolUpdate: ToolUpdate): string {
|
|
137
|
+
return JSON.stringify(ToolUpdate$outboundSchema.parse(toolUpdate));
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export function toolUpdateFromJSON(
|
|
141
|
+
jsonString: string,
|
|
142
|
+
): SafeParseResult<ToolUpdate, SDKValidationError> {
|
|
143
|
+
return safeParse(
|
|
144
|
+
jsonString,
|
|
145
|
+
(x) => ToolUpdate$inboundSchema.parse(JSON.parse(x)),
|
|
146
|
+
`Failed to parse 'ToolUpdate' from JSON`,
|
|
147
|
+
);
|
|
148
|
+
}
|
|
@@ -14,8 +14,8 @@ export type AgentListRequest = {
|
|
|
14
14
|
limit?: number | undefined;
|
|
15
15
|
searchFields?: Array<components.AgentProperties> | undefined;
|
|
16
16
|
searchFieldValues?: Array<string> | undefined;
|
|
17
|
-
orderBy?: components.AgentProperties | undefined;
|
|
18
|
-
orderByDirection?: components.OrderByDirection | undefined;
|
|
17
|
+
orderBy?: components.AgentProperties | null | undefined;
|
|
18
|
+
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
19
19
|
fields?: Array<components.AgentProperties> | null | undefined;
|
|
20
20
|
startDatetime?: string | null | undefined;
|
|
21
21
|
endDatetime?: string | null | undefined;
|
|
@@ -31,8 +31,9 @@ export const AgentListRequest$inboundSchema: z.ZodType<
|
|
|
31
31
|
limit: z.number().int().default(25),
|
|
32
32
|
search_fields: z.array(components.AgentProperties$inboundSchema).optional(),
|
|
33
33
|
search_field_values: z.array(z.string()).optional(),
|
|
34
|
-
order_by: components.AgentProperties$inboundSchema.optional(),
|
|
35
|
-
order_by_direction: components.OrderByDirection$inboundSchema
|
|
34
|
+
order_by: z.nullable(components.AgentProperties$inboundSchema).optional(),
|
|
35
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
36
|
+
.optional(),
|
|
36
37
|
fields: z.nullable(z.array(components.AgentProperties$inboundSchema))
|
|
37
38
|
.optional(),
|
|
38
39
|
start_datetime: z.nullable(z.string()).optional(),
|
|
@@ -54,8 +55,8 @@ export type AgentListRequest$Outbound = {
|
|
|
54
55
|
limit: number;
|
|
55
56
|
search_fields?: Array<string> | undefined;
|
|
56
57
|
search_field_values?: Array<string> | undefined;
|
|
57
|
-
order_by?: string | undefined;
|
|
58
|
-
order_by_direction?: string | undefined;
|
|
58
|
+
order_by?: string | null | undefined;
|
|
59
|
+
order_by_direction?: string | null | undefined;
|
|
59
60
|
fields?: Array<string> | null | undefined;
|
|
60
61
|
start_datetime?: string | null | undefined;
|
|
61
62
|
end_datetime?: string | null | undefined;
|
|
@@ -71,8 +72,9 @@ export const AgentListRequest$outboundSchema: z.ZodType<
|
|
|
71
72
|
limit: z.number().int().default(25),
|
|
72
73
|
searchFields: z.array(components.AgentProperties$outboundSchema).optional(),
|
|
73
74
|
searchFieldValues: z.array(z.string()).optional(),
|
|
74
|
-
orderBy: components.AgentProperties$outboundSchema.optional(),
|
|
75
|
-
orderByDirection: components.OrderByDirection$outboundSchema
|
|
75
|
+
orderBy: z.nullable(components.AgentProperties$outboundSchema).optional(),
|
|
76
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
77
|
+
.optional(),
|
|
76
78
|
fields: z.nullable(z.array(components.AgentProperties$outboundSchema))
|
|
77
79
|
.optional(),
|
|
78
80
|
startDatetime: z.nullable(z.string()).optional(),
|