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
|
@@ -14,8 +14,8 @@ export type AvailableTargetsRequest = {
|
|
|
14
14
|
limit?: number | undefined;
|
|
15
15
|
searchFields?: Array<components.AvailableTargetProperties> | undefined;
|
|
16
16
|
searchFieldValues?: Array<string> | undefined;
|
|
17
|
-
orderBy?: components.AvailableTargetProperties | undefined;
|
|
18
|
-
orderByDirection?: components.OrderByDirection | undefined;
|
|
17
|
+
orderBy?: components.AvailableTargetProperties | null | undefined;
|
|
18
|
+
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
19
19
|
fields?: Array<components.AvailableTargetProperties> | null | undefined;
|
|
20
20
|
startDatetime?: string | null | undefined;
|
|
21
21
|
endDatetime?: string | null | undefined;
|
|
@@ -32,8 +32,10 @@ export const AvailableTargetsRequest$inboundSchema: z.ZodType<
|
|
|
32
32
|
search_fields: z.array(components.AvailableTargetProperties$inboundSchema)
|
|
33
33
|
.optional(),
|
|
34
34
|
search_field_values: z.array(z.string()).optional(),
|
|
35
|
-
order_by: components.AvailableTargetProperties$inboundSchema
|
|
36
|
-
|
|
35
|
+
order_by: z.nullable(components.AvailableTargetProperties$inboundSchema)
|
|
36
|
+
.optional(),
|
|
37
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
38
|
+
.optional(),
|
|
37
39
|
fields: z.nullable(
|
|
38
40
|
z.array(components.AvailableTargetProperties$inboundSchema),
|
|
39
41
|
).optional(),
|
|
@@ -56,8 +58,8 @@ export type AvailableTargetsRequest$Outbound = {
|
|
|
56
58
|
limit: number;
|
|
57
59
|
search_fields?: Array<string> | undefined;
|
|
58
60
|
search_field_values?: Array<string> | undefined;
|
|
59
|
-
order_by?: string | undefined;
|
|
60
|
-
order_by_direction?: string | undefined;
|
|
61
|
+
order_by?: string | null | undefined;
|
|
62
|
+
order_by_direction?: string | null | undefined;
|
|
61
63
|
fields?: Array<string> | null | undefined;
|
|
62
64
|
start_datetime?: string | null | undefined;
|
|
63
65
|
end_datetime?: string | null | undefined;
|
|
@@ -74,8 +76,10 @@ export const AvailableTargetsRequest$outboundSchema: z.ZodType<
|
|
|
74
76
|
searchFields: z.array(components.AvailableTargetProperties$outboundSchema)
|
|
75
77
|
.optional(),
|
|
76
78
|
searchFieldValues: z.array(z.string()).optional(),
|
|
77
|
-
orderBy: components.AvailableTargetProperties$outboundSchema
|
|
78
|
-
|
|
79
|
+
orderBy: z.nullable(components.AvailableTargetProperties$outboundSchema)
|
|
80
|
+
.optional(),
|
|
81
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
82
|
+
.optional(),
|
|
79
83
|
fields: z.nullable(
|
|
80
84
|
z.array(components.AvailableTargetProperties$outboundSchema),
|
|
81
85
|
).optional(),
|
|
@@ -14,8 +14,8 @@ export type ChannelsListRequest = {
|
|
|
14
14
|
limit?: number | undefined;
|
|
15
15
|
searchFields?: Array<components.ChannelProperties> | undefined;
|
|
16
16
|
searchFieldValues?: Array<string> | undefined;
|
|
17
|
-
orderBy?: components.ChannelProperties | undefined;
|
|
18
|
-
orderByDirection?: components.OrderByDirection | undefined;
|
|
17
|
+
orderBy?: components.ChannelProperties | null | undefined;
|
|
18
|
+
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
19
19
|
fields?: Array<components.ChannelProperties> | null | undefined;
|
|
20
20
|
startDatetime?: string | null | undefined;
|
|
21
21
|
endDatetime?: string | null | undefined;
|
|
@@ -31,8 +31,9 @@ export const ChannelsListRequest$inboundSchema: z.ZodType<
|
|
|
31
31
|
limit: z.number().int().default(25),
|
|
32
32
|
search_fields: z.array(components.ChannelProperties$inboundSchema).optional(),
|
|
33
33
|
search_field_values: z.array(z.string()).optional(),
|
|
34
|
-
order_by: components.ChannelProperties$inboundSchema.optional(),
|
|
35
|
-
order_by_direction: components.OrderByDirection$inboundSchema
|
|
34
|
+
order_by: z.nullable(components.ChannelProperties$inboundSchema).optional(),
|
|
35
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
36
|
+
.optional(),
|
|
36
37
|
fields: z.nullable(z.array(components.ChannelProperties$inboundSchema))
|
|
37
38
|
.optional(),
|
|
38
39
|
start_datetime: z.nullable(z.string()).optional(),
|
|
@@ -54,8 +55,8 @@ export type ChannelsListRequest$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 ChannelsListRequest$outboundSchema: z.ZodType<
|
|
|
71
72
|
limit: z.number().int().default(25),
|
|
72
73
|
searchFields: z.array(components.ChannelProperties$outboundSchema).optional(),
|
|
73
74
|
searchFieldValues: z.array(z.string()).optional(),
|
|
74
|
-
orderBy: components.ChannelProperties$outboundSchema.optional(),
|
|
75
|
-
orderByDirection: components.OrderByDirection$outboundSchema
|
|
75
|
+
orderBy: z.nullable(components.ChannelProperties$outboundSchema).optional(),
|
|
76
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
77
|
+
.optional(),
|
|
76
78
|
fields: z.nullable(z.array(components.ChannelProperties$outboundSchema))
|
|
77
79
|
.optional(),
|
|
78
80
|
startDatetime: z.nullable(z.string()).optional(),
|
|
@@ -14,8 +14,8 @@ export type ChannelTargetsListRequest = {
|
|
|
14
14
|
limit?: number | undefined;
|
|
15
15
|
searchFields?: Array<components.ChannelTargetProperties> | undefined;
|
|
16
16
|
searchFieldValues?: Array<string> | undefined;
|
|
17
|
-
orderBy?: components.ChannelTargetProperties | undefined;
|
|
18
|
-
orderByDirection?: components.OrderByDirection | undefined;
|
|
17
|
+
orderBy?: components.ChannelTargetProperties | null | undefined;
|
|
18
|
+
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
19
19
|
fields?: Array<components.ChannelTargetProperties> | null | undefined;
|
|
20
20
|
startDatetime?: string | null | undefined;
|
|
21
21
|
endDatetime?: string | null | undefined;
|
|
@@ -32,8 +32,10 @@ export const ChannelTargetsListRequest$inboundSchema: z.ZodType<
|
|
|
32
32
|
search_fields: z.array(components.ChannelTargetProperties$inboundSchema)
|
|
33
33
|
.optional(),
|
|
34
34
|
search_field_values: z.array(z.string()).optional(),
|
|
35
|
-
order_by: components.ChannelTargetProperties$inboundSchema
|
|
36
|
-
|
|
35
|
+
order_by: z.nullable(components.ChannelTargetProperties$inboundSchema)
|
|
36
|
+
.optional(),
|
|
37
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
38
|
+
.optional(),
|
|
37
39
|
fields: z.nullable(z.array(components.ChannelTargetProperties$inboundSchema))
|
|
38
40
|
.optional(),
|
|
39
41
|
start_datetime: z.nullable(z.string()).optional(),
|
|
@@ -55,8 +57,8 @@ export type ChannelTargetsListRequest$Outbound = {
|
|
|
55
57
|
limit: number;
|
|
56
58
|
search_fields?: Array<string> | undefined;
|
|
57
59
|
search_field_values?: Array<string> | undefined;
|
|
58
|
-
order_by?: string | undefined;
|
|
59
|
-
order_by_direction?: string | undefined;
|
|
60
|
+
order_by?: string | null | undefined;
|
|
61
|
+
order_by_direction?: string | null | undefined;
|
|
60
62
|
fields?: Array<string> | null | undefined;
|
|
61
63
|
start_datetime?: string | null | undefined;
|
|
62
64
|
end_datetime?: string | null | undefined;
|
|
@@ -73,8 +75,10 @@ export const ChannelTargetsListRequest$outboundSchema: z.ZodType<
|
|
|
73
75
|
searchFields: z.array(components.ChannelTargetProperties$outboundSchema)
|
|
74
76
|
.optional(),
|
|
75
77
|
searchFieldValues: z.array(z.string()).optional(),
|
|
76
|
-
orderBy: components.ChannelTargetProperties$outboundSchema
|
|
77
|
-
|
|
78
|
+
orderBy: z.nullable(components.ChannelTargetProperties$outboundSchema)
|
|
79
|
+
.optional(),
|
|
80
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
81
|
+
.optional(),
|
|
78
82
|
fields: z.nullable(z.array(components.ChannelTargetProperties$outboundSchema))
|
|
79
83
|
.optional(),
|
|
80
84
|
startDatetime: z.nullable(z.string()).optional(),
|
|
@@ -14,8 +14,8 @@ export type ConversationsListRequest = {
|
|
|
14
14
|
limit?: number | undefined;
|
|
15
15
|
searchFields?: Array<components.ConversationProperties> | undefined;
|
|
16
16
|
searchFieldValues?: Array<string> | undefined;
|
|
17
|
-
orderBy?: components.ConversationProperties | undefined;
|
|
18
|
-
orderByDirection?: components.OrderByDirection | undefined;
|
|
17
|
+
orderBy?: components.ConversationProperties | null | undefined;
|
|
18
|
+
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
19
19
|
fields?: Array<components.ConversationProperties> | null | undefined;
|
|
20
20
|
startDatetime?: string | null | undefined;
|
|
21
21
|
endDatetime?: string | null | undefined;
|
|
@@ -32,8 +32,10 @@ export const ConversationsListRequest$inboundSchema: z.ZodType<
|
|
|
32
32
|
search_fields: z.array(components.ConversationProperties$inboundSchema)
|
|
33
33
|
.optional(),
|
|
34
34
|
search_field_values: z.array(z.string()).optional(),
|
|
35
|
-
order_by: components.ConversationProperties$inboundSchema
|
|
36
|
-
|
|
35
|
+
order_by: z.nullable(components.ConversationProperties$inboundSchema)
|
|
36
|
+
.optional(),
|
|
37
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
38
|
+
.optional(),
|
|
37
39
|
fields: z.nullable(z.array(components.ConversationProperties$inboundSchema))
|
|
38
40
|
.optional(),
|
|
39
41
|
start_datetime: z.nullable(z.string()).optional(),
|
|
@@ -55,8 +57,8 @@ export type ConversationsListRequest$Outbound = {
|
|
|
55
57
|
limit: number;
|
|
56
58
|
search_fields?: Array<string> | undefined;
|
|
57
59
|
search_field_values?: Array<string> | undefined;
|
|
58
|
-
order_by?: string | undefined;
|
|
59
|
-
order_by_direction?: string | undefined;
|
|
60
|
+
order_by?: string | null | undefined;
|
|
61
|
+
order_by_direction?: string | null | undefined;
|
|
60
62
|
fields?: Array<string> | null | undefined;
|
|
61
63
|
start_datetime?: string | null | undefined;
|
|
62
64
|
end_datetime?: string | null | undefined;
|
|
@@ -73,8 +75,10 @@ export const ConversationsListRequest$outboundSchema: z.ZodType<
|
|
|
73
75
|
searchFields: z.array(components.ConversationProperties$outboundSchema)
|
|
74
76
|
.optional(),
|
|
75
77
|
searchFieldValues: z.array(z.string()).optional(),
|
|
76
|
-
orderBy: components.ConversationProperties$outboundSchema
|
|
77
|
-
|
|
78
|
+
orderBy: z.nullable(components.ConversationProperties$outboundSchema)
|
|
79
|
+
.optional(),
|
|
80
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
81
|
+
.optional(),
|
|
78
82
|
fields: z.nullable(z.array(components.ConversationProperties$outboundSchema))
|
|
79
83
|
.optional(),
|
|
80
84
|
startDatetime: z.nullable(z.string()).optional(),
|
|
@@ -14,8 +14,8 @@ export type CustomMessagesListRequest = {
|
|
|
14
14
|
limit?: number | undefined;
|
|
15
15
|
searchFields?: Array<components.CustomMessageProperties> | undefined;
|
|
16
16
|
searchFieldValues?: Array<string> | undefined;
|
|
17
|
-
orderBy?: components.CustomMessageProperties | undefined;
|
|
18
|
-
orderByDirection?: components.OrderByDirection | undefined;
|
|
17
|
+
orderBy?: components.CustomMessageProperties | null | undefined;
|
|
18
|
+
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
19
19
|
fields?: Array<components.CustomMessageProperties> | null | undefined;
|
|
20
20
|
startDatetime?: string | null | undefined;
|
|
21
21
|
endDatetime?: string | null | undefined;
|
|
@@ -32,8 +32,10 @@ export const CustomMessagesListRequest$inboundSchema: z.ZodType<
|
|
|
32
32
|
search_fields: z.array(components.CustomMessageProperties$inboundSchema)
|
|
33
33
|
.optional(),
|
|
34
34
|
search_field_values: z.array(z.string()).optional(),
|
|
35
|
-
order_by: components.CustomMessageProperties$inboundSchema
|
|
36
|
-
|
|
35
|
+
order_by: z.nullable(components.CustomMessageProperties$inboundSchema)
|
|
36
|
+
.optional(),
|
|
37
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
38
|
+
.optional(),
|
|
37
39
|
fields: z.nullable(z.array(components.CustomMessageProperties$inboundSchema))
|
|
38
40
|
.optional(),
|
|
39
41
|
start_datetime: z.nullable(z.string()).optional(),
|
|
@@ -55,8 +57,8 @@ export type CustomMessagesListRequest$Outbound = {
|
|
|
55
57
|
limit: number;
|
|
56
58
|
search_fields?: Array<string> | undefined;
|
|
57
59
|
search_field_values?: Array<string> | undefined;
|
|
58
|
-
order_by?: string | undefined;
|
|
59
|
-
order_by_direction?: string | undefined;
|
|
60
|
+
order_by?: string | null | undefined;
|
|
61
|
+
order_by_direction?: string | null | undefined;
|
|
60
62
|
fields?: Array<string> | null | undefined;
|
|
61
63
|
start_datetime?: string | null | undefined;
|
|
62
64
|
end_datetime?: string | null | undefined;
|
|
@@ -73,8 +75,10 @@ export const CustomMessagesListRequest$outboundSchema: z.ZodType<
|
|
|
73
75
|
searchFields: z.array(components.CustomMessageProperties$outboundSchema)
|
|
74
76
|
.optional(),
|
|
75
77
|
searchFieldValues: z.array(z.string()).optional(),
|
|
76
|
-
orderBy: components.CustomMessageProperties$outboundSchema
|
|
77
|
-
|
|
78
|
+
orderBy: z.nullable(components.CustomMessageProperties$outboundSchema)
|
|
79
|
+
.optional(),
|
|
80
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
81
|
+
.optional(),
|
|
78
82
|
fields: z.nullable(z.array(components.CustomMessageProperties$outboundSchema))
|
|
79
83
|
.optional(),
|
|
80
84
|
startDatetime: z.nullable(z.string()).optional(),
|
|
@@ -14,8 +14,8 @@ export type EventsListRequest = {
|
|
|
14
14
|
limit?: number | undefined;
|
|
15
15
|
searchFields?: Array<components.EventProperties> | undefined;
|
|
16
16
|
searchFieldValues?: Array<string> | undefined;
|
|
17
|
-
orderBy?: components.EventProperties | undefined;
|
|
18
|
-
orderByDirection?: components.OrderByDirection | undefined;
|
|
17
|
+
orderBy?: components.EventProperties | null | undefined;
|
|
18
|
+
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
19
19
|
fields?: Array<components.EventProperties> | null | undefined;
|
|
20
20
|
startDatetime?: string | null | undefined;
|
|
21
21
|
endDatetime?: string | null | undefined;
|
|
@@ -31,8 +31,9 @@ export const EventsListRequest$inboundSchema: z.ZodType<
|
|
|
31
31
|
limit: z.number().int().default(25),
|
|
32
32
|
search_fields: z.array(components.EventProperties$inboundSchema).optional(),
|
|
33
33
|
search_field_values: z.array(z.string()).optional(),
|
|
34
|
-
order_by: components.EventProperties$inboundSchema.optional(),
|
|
35
|
-
order_by_direction: components.OrderByDirection$inboundSchema
|
|
34
|
+
order_by: z.nullable(components.EventProperties$inboundSchema).optional(),
|
|
35
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
36
|
+
.optional(),
|
|
36
37
|
fields: z.nullable(z.array(components.EventProperties$inboundSchema))
|
|
37
38
|
.optional(),
|
|
38
39
|
start_datetime: z.nullable(z.string()).optional(),
|
|
@@ -54,8 +55,8 @@ export type EventsListRequest$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 EventsListRequest$outboundSchema: z.ZodType<
|
|
|
71
72
|
limit: z.number().int().default(25),
|
|
72
73
|
searchFields: z.array(components.EventProperties$outboundSchema).optional(),
|
|
73
74
|
searchFieldValues: z.array(z.string()).optional(),
|
|
74
|
-
orderBy: components.EventProperties$outboundSchema.optional(),
|
|
75
|
-
orderByDirection: components.OrderByDirection$outboundSchema
|
|
75
|
+
orderBy: z.nullable(components.EventProperties$outboundSchema).optional(),
|
|
76
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
77
|
+
.optional(),
|
|
76
78
|
fields: z.nullable(z.array(components.EventProperties$outboundSchema))
|
|
77
79
|
.optional(),
|
|
78
80
|
startDatetime: z.nullable(z.string()).optional(),
|
|
@@ -27,7 +27,9 @@ export * from "./gettotalcallvolumebyhour.js";
|
|
|
27
27
|
export * from "./getweeklycallvolumebyweekday.js";
|
|
28
28
|
export * from "./promptsdelete.js";
|
|
29
29
|
export * from "./promptsgetbyid.js";
|
|
30
|
+
export * from "./promptshistory.js";
|
|
30
31
|
export * from "./promptslist.js";
|
|
32
|
+
export * from "./servicelist.js";
|
|
31
33
|
export * from "./sessiongetbyid.js";
|
|
32
34
|
export * from "./sessionlabelgetbyid.js";
|
|
33
35
|
export * from "./sessionlabelslist.js";
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
export type PromptsHistoryRequest = {
|
|
12
|
+
promptId: number;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const PromptsHistoryRequest$inboundSchema: z.ZodType<
|
|
17
|
+
PromptsHistoryRequest,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
prompt_id: z.number().int(),
|
|
22
|
+
}).transform((v) => {
|
|
23
|
+
return remap$(v, {
|
|
24
|
+
"prompt_id": "promptId",
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type PromptsHistoryRequest$Outbound = {
|
|
30
|
+
prompt_id: number;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const PromptsHistoryRequest$outboundSchema: z.ZodType<
|
|
35
|
+
PromptsHistoryRequest$Outbound,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
PromptsHistoryRequest
|
|
38
|
+
> = z.object({
|
|
39
|
+
promptId: z.number().int(),
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
promptId: "prompt_id",
|
|
43
|
+
});
|
|
44
|
+
});
|
|
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 PromptsHistoryRequest$ {
|
|
51
|
+
/** @deprecated use `PromptsHistoryRequest$inboundSchema` instead. */
|
|
52
|
+
export const inboundSchema = PromptsHistoryRequest$inboundSchema;
|
|
53
|
+
/** @deprecated use `PromptsHistoryRequest$outboundSchema` instead. */
|
|
54
|
+
export const outboundSchema = PromptsHistoryRequest$outboundSchema;
|
|
55
|
+
/** @deprecated use `PromptsHistoryRequest$Outbound` instead. */
|
|
56
|
+
export type Outbound = PromptsHistoryRequest$Outbound;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function promptsHistoryRequestToJSON(
|
|
60
|
+
promptsHistoryRequest: PromptsHistoryRequest,
|
|
61
|
+
): string {
|
|
62
|
+
return JSON.stringify(
|
|
63
|
+
PromptsHistoryRequest$outboundSchema.parse(promptsHistoryRequest),
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function promptsHistoryRequestFromJSON(
|
|
68
|
+
jsonString: string,
|
|
69
|
+
): SafeParseResult<PromptsHistoryRequest, SDKValidationError> {
|
|
70
|
+
return safeParse(
|
|
71
|
+
jsonString,
|
|
72
|
+
(x) => PromptsHistoryRequest$inboundSchema.parse(JSON.parse(x)),
|
|
73
|
+
`Failed to parse 'PromptsHistoryRequest' from JSON`,
|
|
74
|
+
);
|
|
75
|
+
}
|
|
@@ -14,8 +14,8 @@ export type PromptsListRequest = {
|
|
|
14
14
|
limit?: number | undefined;
|
|
15
15
|
searchFields?: Array<components.PromptProperties> | undefined;
|
|
16
16
|
searchFieldValues?: Array<string> | undefined;
|
|
17
|
-
orderBy?: components.PromptProperties | undefined;
|
|
18
|
-
orderByDirection?: components.OrderByDirection | undefined;
|
|
17
|
+
orderBy?: components.PromptProperties | null | undefined;
|
|
18
|
+
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
19
19
|
fields?: Array<components.PromptProperties> | null | undefined;
|
|
20
20
|
startDatetime?: string | null | undefined;
|
|
21
21
|
endDatetime?: string | null | undefined;
|
|
@@ -31,8 +31,9 @@ export const PromptsListRequest$inboundSchema: z.ZodType<
|
|
|
31
31
|
limit: z.number().int().default(25),
|
|
32
32
|
search_fields: z.array(components.PromptProperties$inboundSchema).optional(),
|
|
33
33
|
search_field_values: z.array(z.string()).optional(),
|
|
34
|
-
order_by: components.PromptProperties$inboundSchema.optional(),
|
|
35
|
-
order_by_direction: components.OrderByDirection$inboundSchema
|
|
34
|
+
order_by: z.nullable(components.PromptProperties$inboundSchema).optional(),
|
|
35
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
36
|
+
.optional(),
|
|
36
37
|
fields: z.nullable(z.array(components.PromptProperties$inboundSchema))
|
|
37
38
|
.optional(),
|
|
38
39
|
start_datetime: z.nullable(z.string()).optional(),
|
|
@@ -54,8 +55,8 @@ export type PromptsListRequest$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 PromptsListRequest$outboundSchema: z.ZodType<
|
|
|
71
72
|
limit: z.number().int().default(25),
|
|
72
73
|
searchFields: z.array(components.PromptProperties$outboundSchema).optional(),
|
|
73
74
|
searchFieldValues: z.array(z.string()).optional(),
|
|
74
|
-
orderBy: components.PromptProperties$outboundSchema.optional(),
|
|
75
|
-
orderByDirection: components.OrderByDirection$outboundSchema
|
|
75
|
+
orderBy: z.nullable(components.PromptProperties$outboundSchema).optional(),
|
|
76
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
77
|
+
.optional(),
|
|
76
78
|
fields: z.nullable(z.array(components.PromptProperties$outboundSchema))
|
|
77
79
|
.optional(),
|
|
78
80
|
startDatetime: z.nullable(z.string()).optional(),
|
|
@@ -0,0 +1,122 @@
|
|
|
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 * as components from "../components/index.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type ServiceListRequest = {
|
|
13
|
+
page?: number | null | undefined;
|
|
14
|
+
limit?: number | undefined;
|
|
15
|
+
searchFields?: Array<components.ServiceProperties> | undefined;
|
|
16
|
+
searchFieldValues?: Array<string> | undefined;
|
|
17
|
+
orderBy?: components.ServiceProperties | null | undefined;
|
|
18
|
+
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
19
|
+
fields?: Array<components.ServiceProperties> | null | undefined;
|
|
20
|
+
startDatetime?: string | null | undefined;
|
|
21
|
+
endDatetime?: string | null | undefined;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const ServiceListRequest$inboundSchema: z.ZodType<
|
|
26
|
+
ServiceListRequest,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({
|
|
30
|
+
page: z.nullable(z.number().int()).optional(),
|
|
31
|
+
limit: z.number().int().default(25),
|
|
32
|
+
search_fields: z.array(components.ServiceProperties$inboundSchema).optional(),
|
|
33
|
+
search_field_values: z.array(z.string()).optional(),
|
|
34
|
+
order_by: z.nullable(components.ServiceProperties$inboundSchema).optional(),
|
|
35
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
36
|
+
.optional(),
|
|
37
|
+
fields: z.nullable(z.array(components.ServiceProperties$inboundSchema))
|
|
38
|
+
.optional(),
|
|
39
|
+
start_datetime: z.nullable(z.string()).optional(),
|
|
40
|
+
end_datetime: z.nullable(z.string()).optional(),
|
|
41
|
+
}).transform((v) => {
|
|
42
|
+
return remap$(v, {
|
|
43
|
+
"search_fields": "searchFields",
|
|
44
|
+
"search_field_values": "searchFieldValues",
|
|
45
|
+
"order_by": "orderBy",
|
|
46
|
+
"order_by_direction": "orderByDirection",
|
|
47
|
+
"start_datetime": "startDatetime",
|
|
48
|
+
"end_datetime": "endDatetime",
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export type ServiceListRequest$Outbound = {
|
|
54
|
+
page?: number | null | undefined;
|
|
55
|
+
limit: number;
|
|
56
|
+
search_fields?: Array<string> | undefined;
|
|
57
|
+
search_field_values?: Array<string> | undefined;
|
|
58
|
+
order_by?: string | null | undefined;
|
|
59
|
+
order_by_direction?: string | null | undefined;
|
|
60
|
+
fields?: Array<string> | null | undefined;
|
|
61
|
+
start_datetime?: string | null | undefined;
|
|
62
|
+
end_datetime?: string | null | undefined;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
export const ServiceListRequest$outboundSchema: z.ZodType<
|
|
67
|
+
ServiceListRequest$Outbound,
|
|
68
|
+
z.ZodTypeDef,
|
|
69
|
+
ServiceListRequest
|
|
70
|
+
> = z.object({
|
|
71
|
+
page: z.nullable(z.number().int()).optional(),
|
|
72
|
+
limit: z.number().int().default(25),
|
|
73
|
+
searchFields: z.array(components.ServiceProperties$outboundSchema).optional(),
|
|
74
|
+
searchFieldValues: z.array(z.string()).optional(),
|
|
75
|
+
orderBy: z.nullable(components.ServiceProperties$outboundSchema).optional(),
|
|
76
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
77
|
+
.optional(),
|
|
78
|
+
fields: z.nullable(z.array(components.ServiceProperties$outboundSchema))
|
|
79
|
+
.optional(),
|
|
80
|
+
startDatetime: z.nullable(z.string()).optional(),
|
|
81
|
+
endDatetime: z.nullable(z.string()).optional(),
|
|
82
|
+
}).transform((v) => {
|
|
83
|
+
return remap$(v, {
|
|
84
|
+
searchFields: "search_fields",
|
|
85
|
+
searchFieldValues: "search_field_values",
|
|
86
|
+
orderBy: "order_by",
|
|
87
|
+
orderByDirection: "order_by_direction",
|
|
88
|
+
startDatetime: "start_datetime",
|
|
89
|
+
endDatetime: "end_datetime",
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
96
|
+
*/
|
|
97
|
+
export namespace ServiceListRequest$ {
|
|
98
|
+
/** @deprecated use `ServiceListRequest$inboundSchema` instead. */
|
|
99
|
+
export const inboundSchema = ServiceListRequest$inboundSchema;
|
|
100
|
+
/** @deprecated use `ServiceListRequest$outboundSchema` instead. */
|
|
101
|
+
export const outboundSchema = ServiceListRequest$outboundSchema;
|
|
102
|
+
/** @deprecated use `ServiceListRequest$Outbound` instead. */
|
|
103
|
+
export type Outbound = ServiceListRequest$Outbound;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function serviceListRequestToJSON(
|
|
107
|
+
serviceListRequest: ServiceListRequest,
|
|
108
|
+
): string {
|
|
109
|
+
return JSON.stringify(
|
|
110
|
+
ServiceListRequest$outboundSchema.parse(serviceListRequest),
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export function serviceListRequestFromJSON(
|
|
115
|
+
jsonString: string,
|
|
116
|
+
): SafeParseResult<ServiceListRequest, SDKValidationError> {
|
|
117
|
+
return safeParse(
|
|
118
|
+
jsonString,
|
|
119
|
+
(x) => ServiceListRequest$inboundSchema.parse(JSON.parse(x)),
|
|
120
|
+
`Failed to parse 'ServiceListRequest' from JSON`,
|
|
121
|
+
);
|
|
122
|
+
}
|
|
@@ -14,8 +14,8 @@ export type SessionLabelsListRequest = {
|
|
|
14
14
|
limit?: number | undefined;
|
|
15
15
|
searchFields?: Array<components.SessionLabelProperties> | undefined;
|
|
16
16
|
searchFieldValues?: Array<string> | undefined;
|
|
17
|
-
orderBy?: components.SessionLabelProperties | undefined;
|
|
18
|
-
orderByDirection?: components.OrderByDirection | undefined;
|
|
17
|
+
orderBy?: components.SessionLabelProperties | null | undefined;
|
|
18
|
+
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
19
19
|
fields?: Array<components.SessionLabelProperties> | null | undefined;
|
|
20
20
|
startDatetime?: string | null | undefined;
|
|
21
21
|
endDatetime?: string | null | undefined;
|
|
@@ -32,8 +32,10 @@ export const SessionLabelsListRequest$inboundSchema: z.ZodType<
|
|
|
32
32
|
search_fields: z.array(components.SessionLabelProperties$inboundSchema)
|
|
33
33
|
.optional(),
|
|
34
34
|
search_field_values: z.array(z.string()).optional(),
|
|
35
|
-
order_by: components.SessionLabelProperties$inboundSchema
|
|
36
|
-
|
|
35
|
+
order_by: z.nullable(components.SessionLabelProperties$inboundSchema)
|
|
36
|
+
.optional(),
|
|
37
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
38
|
+
.optional(),
|
|
37
39
|
fields: z.nullable(z.array(components.SessionLabelProperties$inboundSchema))
|
|
38
40
|
.optional(),
|
|
39
41
|
start_datetime: z.nullable(z.string()).optional(),
|
|
@@ -55,8 +57,8 @@ export type SessionLabelsListRequest$Outbound = {
|
|
|
55
57
|
limit: number;
|
|
56
58
|
search_fields?: Array<string> | undefined;
|
|
57
59
|
search_field_values?: Array<string> | undefined;
|
|
58
|
-
order_by?: string | undefined;
|
|
59
|
-
order_by_direction?: string | undefined;
|
|
60
|
+
order_by?: string | null | undefined;
|
|
61
|
+
order_by_direction?: string | null | undefined;
|
|
60
62
|
fields?: Array<string> | null | undefined;
|
|
61
63
|
start_datetime?: string | null | undefined;
|
|
62
64
|
end_datetime?: string | null | undefined;
|
|
@@ -73,8 +75,10 @@ export const SessionLabelsListRequest$outboundSchema: z.ZodType<
|
|
|
73
75
|
searchFields: z.array(components.SessionLabelProperties$outboundSchema)
|
|
74
76
|
.optional(),
|
|
75
77
|
searchFieldValues: z.array(z.string()).optional(),
|
|
76
|
-
orderBy: components.SessionLabelProperties$outboundSchema
|
|
77
|
-
|
|
78
|
+
orderBy: z.nullable(components.SessionLabelProperties$outboundSchema)
|
|
79
|
+
.optional(),
|
|
80
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
81
|
+
.optional(),
|
|
78
82
|
fields: z.nullable(z.array(components.SessionLabelProperties$outboundSchema))
|
|
79
83
|
.optional(),
|
|
80
84
|
startDatetime: z.nullable(z.string()).optional(),
|
|
@@ -14,8 +14,8 @@ export type SessionsListRequest = {
|
|
|
14
14
|
limit?: number | undefined;
|
|
15
15
|
searchFields?: Array<components.SessionProperties> | undefined;
|
|
16
16
|
searchFieldValues?: Array<string> | undefined;
|
|
17
|
-
orderBy?: components.SessionProperties | undefined;
|
|
18
|
-
orderByDirection?: components.OrderByDirection | undefined;
|
|
17
|
+
orderBy?: components.SessionProperties | null | undefined;
|
|
18
|
+
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
19
19
|
fields?: Array<components.SessionProperties> | null | undefined;
|
|
20
20
|
startDatetime?: string | null | undefined;
|
|
21
21
|
endDatetime?: string | null | undefined;
|
|
@@ -31,8 +31,9 @@ export const SessionsListRequest$inboundSchema: z.ZodType<
|
|
|
31
31
|
limit: z.number().int().default(25),
|
|
32
32
|
search_fields: z.array(components.SessionProperties$inboundSchema).optional(),
|
|
33
33
|
search_field_values: z.array(z.string()).optional(),
|
|
34
|
-
order_by: components.SessionProperties$inboundSchema.optional(),
|
|
35
|
-
order_by_direction: components.OrderByDirection$inboundSchema
|
|
34
|
+
order_by: z.nullable(components.SessionProperties$inboundSchema).optional(),
|
|
35
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
36
|
+
.optional(),
|
|
36
37
|
fields: z.nullable(z.array(components.SessionProperties$inboundSchema))
|
|
37
38
|
.optional(),
|
|
38
39
|
start_datetime: z.nullable(z.string()).optional(),
|
|
@@ -54,8 +55,8 @@ export type SessionsListRequest$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 SessionsListRequest$outboundSchema: z.ZodType<
|
|
|
71
72
|
limit: z.number().int().default(25),
|
|
72
73
|
searchFields: z.array(components.SessionProperties$outboundSchema).optional(),
|
|
73
74
|
searchFieldValues: z.array(z.string()).optional(),
|
|
74
|
-
orderBy: components.SessionProperties$outboundSchema.optional(),
|
|
75
|
-
orderByDirection: components.OrderByDirection$outboundSchema
|
|
75
|
+
orderBy: z.nullable(components.SessionProperties$outboundSchema).optional(),
|
|
76
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
77
|
+
.optional(),
|
|
76
78
|
fields: z.nullable(z.array(components.SessionProperties$outboundSchema))
|
|
77
79
|
.optional(),
|
|
78
80
|
startDatetime: z.nullable(z.string()).optional(),
|