syllable-sdk 0.1.0-alpha.6 → 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 +4 -4
- package/docs/sdks/prompts/README.md +1 -1
- package/docs/sdks/syllablesdk/README.md +4 -4
- 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/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/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/orderbydirection.d.ts +28 -0
- package/models/components/orderbydirection.d.ts.map +1 -0
- package/models/components/orderbydirection.js +50 -0
- package/models/components/orderbydirection.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/operations/agentlist.d.ts +4 -79
- package/models/operations/agentlist.d.ts.map +1 -1
- package/models/operations/agentlist.js +7 -52
- package/models/operations/agentlist.js.map +1 -1
- package/models/operations/availabletargets.d.ts +4 -58
- package/models/operations/availabletargets.d.ts.map +1 -1
- package/models/operations/availabletargets.js +7 -45
- package/models/operations/availabletargets.js.map +1 -1
- package/models/operations/channelslist.d.ts +4 -61
- package/models/operations/channelslist.d.ts.map +1 -1
- package/models/operations/channelslist.js +7 -45
- package/models/operations/channelslist.js.map +1 -1
- package/models/operations/channeltargetslist.d.ts +4 -73
- package/models/operations/channeltargetslist.d.ts.map +1 -1
- package/models/operations/channeltargetslist.js +7 -50
- package/models/operations/channeltargetslist.js.map +1 -1
- package/models/operations/conversationslist.d.ts +4 -79
- package/models/operations/conversationslist.d.ts.map +1 -1
- package/models/operations/conversationslist.js +7 -52
- package/models/operations/conversationslist.js.map +1 -1
- package/models/operations/custommessageslist.d.ts +4 -58
- package/models/operations/custommessageslist.d.ts.map +1 -1
- package/models/operations/custommessageslist.js +7 -45
- package/models/operations/custommessageslist.js.map +1 -1
- package/models/operations/eventslist.d.ts +4 -79
- package/models/operations/eventslist.d.ts.map +1 -1
- package/models/operations/eventslist.js +5 -51
- package/models/operations/eventslist.js.map +1 -1
- package/models/operations/promptslist.d.ts +4 -67
- package/models/operations/promptslist.d.ts.map +1 -1
- package/models/operations/promptslist.js +5 -47
- package/models/operations/promptslist.js.map +1 -1
- package/models/operations/servicelist.d.ts +4 -55
- package/models/operations/servicelist.d.ts.map +1 -1
- package/models/operations/servicelist.js +5 -43
- package/models/operations/servicelist.js.map +1 -1
- package/models/operations/sessionlabelslist.d.ts +4 -70
- package/models/operations/sessionlabelslist.d.ts.map +1 -1
- package/models/operations/sessionlabelslist.js +7 -49
- package/models/operations/sessionlabelslist.js.map +1 -1
- package/models/operations/sessionslist.d.ts +4 -97
- package/models/operations/sessionslist.d.ts.map +1 -1
- package/models/operations/sessionslist.js +5 -57
- package/models/operations/sessionslist.js.map +1 -1
- package/models/operations/toollist.d.ts +4 -64
- package/models/operations/toollist.d.ts.map +1 -1
- package/models/operations/toollist.js +5 -46
- package/models/operations/toollist.js.map +1 -1
- package/package.json +1 -1
- package/sdk/prompts.d.ts +3 -0
- package/sdk/prompts.d.ts.map +1 -1
- package/sdk/prompts.js +3 -0
- package/sdk/prompts.js.map +1 -1
- package/src/funcs/promptsDelete.ts +3 -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/index.ts +1 -0
- package/src/models/components/orderbydirection.ts +33 -0
- package/src/models/components/session.ts +12 -0
- package/src/models/operations/agentlist.ts +10 -69
- package/src/models/operations/availabletargets.ts +10 -71
- package/src/models/operations/channelslist.ts +10 -67
- package/src/models/operations/channeltargetslist.ts +10 -77
- package/src/models/operations/conversationslist.ts +10 -78
- package/src/models/operations/custommessageslist.ts +10 -72
- package/src/models/operations/eventslist.ts +8 -78
- package/src/models/operations/promptslist.ts +8 -74
- package/src/models/operations/servicelist.ts +8 -70
- package/src/models/operations/sessionlabelslist.ts +10 -75
- package/src/models/operations/sessionslist.ts +8 -84
- package/src/models/operations/toollist.ts +8 -71
- package/src/sdk/prompts.ts +3 -0
|
@@ -26,58 +26,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.ChannelTargetsListRequest$ = exports.ChannelTargetsListRequest$outboundSchema = exports.ChannelTargetsListRequest$inboundSchema =
|
|
29
|
+
exports.ChannelTargetsListRequest$ = exports.ChannelTargetsListRequest$outboundSchema = exports.ChannelTargetsListRequest$inboundSchema = void 0;
|
|
30
30
|
exports.channelTargetsListRequestToJSON = channelTargetsListRequestToJSON;
|
|
31
31
|
exports.channelTargetsListRequestFromJSON = channelTargetsListRequestFromJSON;
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
33
33
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
34
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
35
|
const components = __importStar(require("../components/index.js"));
|
|
36
|
-
exports.ChannelTargetsListQueryParamOrderBy = {
|
|
37
|
-
Id: "id",
|
|
38
|
-
ChannelId: "channel_id",
|
|
39
|
-
ChannelName: "channel_name",
|
|
40
|
-
AgentId: "agent_id",
|
|
41
|
-
Target: "target",
|
|
42
|
-
TargetMode: "target_mode",
|
|
43
|
-
FallbackTarget: "fallback_target",
|
|
44
|
-
IsTest: "is_test",
|
|
45
|
-
};
|
|
46
|
-
exports.ChannelTargetsListQueryParamOrderByDirection = {
|
|
47
|
-
Asc: "asc",
|
|
48
|
-
Desc: "desc",
|
|
49
|
-
};
|
|
50
|
-
/** @internal */
|
|
51
|
-
exports.ChannelTargetsListQueryParamOrderBy$inboundSchema = z.nativeEnum(exports.ChannelTargetsListQueryParamOrderBy);
|
|
52
|
-
/** @internal */
|
|
53
|
-
exports.ChannelTargetsListQueryParamOrderBy$outboundSchema = exports.ChannelTargetsListQueryParamOrderBy$inboundSchema;
|
|
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
|
-
var ChannelTargetsListQueryParamOrderBy$;
|
|
59
|
-
(function (ChannelTargetsListQueryParamOrderBy$) {
|
|
60
|
-
/** @deprecated use `ChannelTargetsListQueryParamOrderBy$inboundSchema` instead. */
|
|
61
|
-
ChannelTargetsListQueryParamOrderBy$.inboundSchema = exports.ChannelTargetsListQueryParamOrderBy$inboundSchema;
|
|
62
|
-
/** @deprecated use `ChannelTargetsListQueryParamOrderBy$outboundSchema` instead. */
|
|
63
|
-
ChannelTargetsListQueryParamOrderBy$.outboundSchema = exports.ChannelTargetsListQueryParamOrderBy$outboundSchema;
|
|
64
|
-
})(ChannelTargetsListQueryParamOrderBy$ || (exports.ChannelTargetsListQueryParamOrderBy$ = ChannelTargetsListQueryParamOrderBy$ = {}));
|
|
65
|
-
/** @internal */
|
|
66
|
-
exports.ChannelTargetsListQueryParamOrderByDirection$inboundSchema = z
|
|
67
|
-
.nativeEnum(exports.ChannelTargetsListQueryParamOrderByDirection);
|
|
68
|
-
/** @internal */
|
|
69
|
-
exports.ChannelTargetsListQueryParamOrderByDirection$outboundSchema = exports.ChannelTargetsListQueryParamOrderByDirection$inboundSchema;
|
|
70
|
-
/**
|
|
71
|
-
* @internal
|
|
72
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
-
*/
|
|
74
|
-
var ChannelTargetsListQueryParamOrderByDirection$;
|
|
75
|
-
(function (ChannelTargetsListQueryParamOrderByDirection$) {
|
|
76
|
-
/** @deprecated use `ChannelTargetsListQueryParamOrderByDirection$inboundSchema` instead. */
|
|
77
|
-
ChannelTargetsListQueryParamOrderByDirection$.inboundSchema = exports.ChannelTargetsListQueryParamOrderByDirection$inboundSchema;
|
|
78
|
-
/** @deprecated use `ChannelTargetsListQueryParamOrderByDirection$outboundSchema` instead. */
|
|
79
|
-
ChannelTargetsListQueryParamOrderByDirection$.outboundSchema = exports.ChannelTargetsListQueryParamOrderByDirection$outboundSchema;
|
|
80
|
-
})(ChannelTargetsListQueryParamOrderByDirection$ || (exports.ChannelTargetsListQueryParamOrderByDirection$ = ChannelTargetsListQueryParamOrderByDirection$ = {}));
|
|
81
36
|
/** @internal */
|
|
82
37
|
exports.ChannelTargetsListRequest$inboundSchema = z.object({
|
|
83
38
|
page: z.nullable(z.number().int()).optional(),
|
|
@@ -85,8 +40,9 @@ exports.ChannelTargetsListRequest$inboundSchema = z.object({
|
|
|
85
40
|
search_fields: z.array(components.ChannelTargetProperties$inboundSchema)
|
|
86
41
|
.optional(),
|
|
87
42
|
search_field_values: z.array(z.string()).optional(),
|
|
88
|
-
order_by:
|
|
89
|
-
|
|
43
|
+
order_by: z.nullable(components.ChannelTargetProperties$inboundSchema)
|
|
44
|
+
.optional(),
|
|
45
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
90
46
|
.optional(),
|
|
91
47
|
fields: z.nullable(z.array(components.ChannelTargetProperties$inboundSchema))
|
|
92
48
|
.optional(),
|
|
@@ -109,8 +65,9 @@ exports.ChannelTargetsListRequest$outboundSchema = z.object({
|
|
|
109
65
|
searchFields: z.array(components.ChannelTargetProperties$outboundSchema)
|
|
110
66
|
.optional(),
|
|
111
67
|
searchFieldValues: z.array(z.string()).optional(),
|
|
112
|
-
orderBy:
|
|
113
|
-
|
|
68
|
+
orderBy: z.nullable(components.ChannelTargetProperties$outboundSchema)
|
|
69
|
+
.optional(),
|
|
70
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
114
71
|
.optional(),
|
|
115
72
|
fields: z.nullable(z.array(components.ChannelTargetProperties$outboundSchema))
|
|
116
73
|
.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channeltargetslist.js","sourceRoot":"","sources":["../../src/models/operations/channeltargetslist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"channeltargetslist.js","sourceRoot":"","sources":["../../src/models/operations/channeltargetslist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA2GH,0EAMC;AAED,8EAQC;AAzHD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAerD,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IACnC,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,qCAAqC,CAAC;SACrE,QAAQ,EAAE;IACb,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACnD,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,qCAAqC,CAAC;SACnE,QAAQ,EAAE;IACb,kBAAkB,EAAE,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,8BAA8B,CAAC;SACtE,QAAQ,EAAE;IACb,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CA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ParseResult } from "../../types/fp.js";
|
|
4
3
|
import * as components from "../components/index.js";
|
|
5
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
6
|
-
export declare const ConversationsListQueryParamOrderBy: {
|
|
7
|
-
readonly Timestamp: "timestamp";
|
|
8
|
-
readonly AgentType: "agent_type";
|
|
9
|
-
readonly AgentId: "agent_id";
|
|
10
|
-
readonly AgentName: "agent_name";
|
|
11
|
-
readonly PromptId: "prompt_id";
|
|
12
|
-
readonly PromptName: "prompt_name";
|
|
13
|
-
readonly LlmProvider: "llm_provider";
|
|
14
|
-
readonly LlmModel: "llm_model";
|
|
15
|
-
readonly LlmVersion: "llm_version";
|
|
16
|
-
readonly IsLegacy: "is_legacy";
|
|
17
|
-
};
|
|
18
|
-
export type ConversationsListQueryParamOrderBy = ClosedEnum<typeof ConversationsListQueryParamOrderBy>;
|
|
19
|
-
export declare const ConversationsListQueryParamOrderByDirection: {
|
|
20
|
-
readonly Asc: "asc";
|
|
21
|
-
readonly Desc: "desc";
|
|
22
|
-
};
|
|
23
|
-
export type ConversationsListQueryParamOrderByDirection = ClosedEnum<typeof ConversationsListQueryParamOrderByDirection>;
|
|
24
5
|
export type ConversationsListRequest = {
|
|
25
6
|
page?: number | null | undefined;
|
|
26
7
|
limit?: number | undefined;
|
|
27
8
|
searchFields?: Array<components.ConversationProperties> | undefined;
|
|
28
9
|
searchFieldValues?: Array<string> | undefined;
|
|
29
|
-
orderBy?:
|
|
30
|
-
orderByDirection?:
|
|
10
|
+
orderBy?: components.ConversationProperties | null | undefined;
|
|
11
|
+
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
31
12
|
fields?: Array<components.ConversationProperties> | null | undefined;
|
|
32
13
|
startDatetime?: string | null | undefined;
|
|
33
14
|
endDatetime?: string | null | undefined;
|
|
34
15
|
};
|
|
35
16
|
/** @internal */
|
|
36
|
-
export declare const ConversationsListQueryParamOrderBy$inboundSchema: z.ZodNativeEnum<typeof ConversationsListQueryParamOrderBy>;
|
|
37
|
-
/** @internal */
|
|
38
|
-
export declare const ConversationsListQueryParamOrderBy$outboundSchema: z.ZodNativeEnum<typeof ConversationsListQueryParamOrderBy>;
|
|
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 declare namespace ConversationsListQueryParamOrderBy$ {
|
|
44
|
-
/** @deprecated use `ConversationsListQueryParamOrderBy$inboundSchema` instead. */
|
|
45
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
46
|
-
readonly Timestamp: "timestamp";
|
|
47
|
-
readonly AgentType: "agent_type";
|
|
48
|
-
readonly AgentId: "agent_id";
|
|
49
|
-
readonly AgentName: "agent_name";
|
|
50
|
-
readonly PromptId: "prompt_id";
|
|
51
|
-
readonly PromptName: "prompt_name";
|
|
52
|
-
readonly LlmProvider: "llm_provider";
|
|
53
|
-
readonly LlmModel: "llm_model";
|
|
54
|
-
readonly LlmVersion: "llm_version";
|
|
55
|
-
readonly IsLegacy: "is_legacy";
|
|
56
|
-
}>;
|
|
57
|
-
/** @deprecated use `ConversationsListQueryParamOrderBy$outboundSchema` instead. */
|
|
58
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
59
|
-
readonly Timestamp: "timestamp";
|
|
60
|
-
readonly AgentType: "agent_type";
|
|
61
|
-
readonly AgentId: "agent_id";
|
|
62
|
-
readonly AgentName: "agent_name";
|
|
63
|
-
readonly PromptId: "prompt_id";
|
|
64
|
-
readonly PromptName: "prompt_name";
|
|
65
|
-
readonly LlmProvider: "llm_provider";
|
|
66
|
-
readonly LlmModel: "llm_model";
|
|
67
|
-
readonly LlmVersion: "llm_version";
|
|
68
|
-
readonly IsLegacy: "is_legacy";
|
|
69
|
-
}>;
|
|
70
|
-
}
|
|
71
|
-
/** @internal */
|
|
72
|
-
export declare const ConversationsListQueryParamOrderByDirection$inboundSchema: z.ZodNativeEnum<typeof ConversationsListQueryParamOrderByDirection>;
|
|
73
|
-
/** @internal */
|
|
74
|
-
export declare const ConversationsListQueryParamOrderByDirection$outboundSchema: z.ZodNativeEnum<typeof ConversationsListQueryParamOrderByDirection>;
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
78
|
-
*/
|
|
79
|
-
export declare namespace ConversationsListQueryParamOrderByDirection$ {
|
|
80
|
-
/** @deprecated use `ConversationsListQueryParamOrderByDirection$inboundSchema` instead. */
|
|
81
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
82
|
-
readonly Asc: "asc";
|
|
83
|
-
readonly Desc: "desc";
|
|
84
|
-
}>;
|
|
85
|
-
/** @deprecated use `ConversationsListQueryParamOrderByDirection$outboundSchema` instead. */
|
|
86
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
87
|
-
readonly Asc: "asc";
|
|
88
|
-
readonly Desc: "desc";
|
|
89
|
-
}>;
|
|
90
|
-
}
|
|
91
|
-
/** @internal */
|
|
92
17
|
export declare const ConversationsListRequest$inboundSchema: z.ZodType<ConversationsListRequest, z.ZodTypeDef, unknown>;
|
|
93
18
|
/** @internal */
|
|
94
19
|
export type ConversationsListRequest$Outbound = {
|
|
@@ -96,8 +21,8 @@ export type ConversationsListRequest$Outbound = {
|
|
|
96
21
|
limit: number;
|
|
97
22
|
search_fields?: Array<string> | undefined;
|
|
98
23
|
search_field_values?: Array<string> | undefined;
|
|
99
|
-
order_by?: string | undefined;
|
|
100
|
-
order_by_direction?: string | undefined;
|
|
24
|
+
order_by?: string | null | undefined;
|
|
25
|
+
order_by_direction?: string | null | undefined;
|
|
101
26
|
fields?: Array<string> | null | undefined;
|
|
102
27
|
start_datetime?: string | null | undefined;
|
|
103
28
|
end_datetime?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversationslist.d.ts","sourceRoot":"","sources":["../../src/models/operations/conversationslist.ts"],"names":[],"mappings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MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAC1C,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,wBAAwB,CAwBxB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,yBAAyB,CAAC;IACzC,wEAAwE;IACjE,MAAM,aAAa,4DAAyC,CAAC;IACpE,yEAAyE;IAClE,MAAM,cAAc,sFAA0C,CAAC;IACtE,mEAAmE;IACnE,KAAY,QAAQ,GAAG,iCAAiC,CAAC;CAC1D;AAED,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR;AAED,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
|
|
@@ -26,60 +26,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.ConversationsListRequest$ = exports.ConversationsListRequest$outboundSchema = exports.ConversationsListRequest$inboundSchema =
|
|
29
|
+
exports.ConversationsListRequest$ = exports.ConversationsListRequest$outboundSchema = exports.ConversationsListRequest$inboundSchema = void 0;
|
|
30
30
|
exports.conversationsListRequestToJSON = conversationsListRequestToJSON;
|
|
31
31
|
exports.conversationsListRequestFromJSON = conversationsListRequestFromJSON;
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
33
33
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
34
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
35
|
const components = __importStar(require("../components/index.js"));
|
|
36
|
-
exports.ConversationsListQueryParamOrderBy = {
|
|
37
|
-
Timestamp: "timestamp",
|
|
38
|
-
AgentType: "agent_type",
|
|
39
|
-
AgentId: "agent_id",
|
|
40
|
-
AgentName: "agent_name",
|
|
41
|
-
PromptId: "prompt_id",
|
|
42
|
-
PromptName: "prompt_name",
|
|
43
|
-
LlmProvider: "llm_provider",
|
|
44
|
-
LlmModel: "llm_model",
|
|
45
|
-
LlmVersion: "llm_version",
|
|
46
|
-
IsLegacy: "is_legacy",
|
|
47
|
-
};
|
|
48
|
-
exports.ConversationsListQueryParamOrderByDirection = {
|
|
49
|
-
Asc: "asc",
|
|
50
|
-
Desc: "desc",
|
|
51
|
-
};
|
|
52
|
-
/** @internal */
|
|
53
|
-
exports.ConversationsListQueryParamOrderBy$inboundSchema = z.nativeEnum(exports.ConversationsListQueryParamOrderBy);
|
|
54
|
-
/** @internal */
|
|
55
|
-
exports.ConversationsListQueryParamOrderBy$outboundSchema = exports.ConversationsListQueryParamOrderBy$inboundSchema;
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
|
-
*/
|
|
60
|
-
var ConversationsListQueryParamOrderBy$;
|
|
61
|
-
(function (ConversationsListQueryParamOrderBy$) {
|
|
62
|
-
/** @deprecated use `ConversationsListQueryParamOrderBy$inboundSchema` instead. */
|
|
63
|
-
ConversationsListQueryParamOrderBy$.inboundSchema = exports.ConversationsListQueryParamOrderBy$inboundSchema;
|
|
64
|
-
/** @deprecated use `ConversationsListQueryParamOrderBy$outboundSchema` instead. */
|
|
65
|
-
ConversationsListQueryParamOrderBy$.outboundSchema = exports.ConversationsListQueryParamOrderBy$outboundSchema;
|
|
66
|
-
})(ConversationsListQueryParamOrderBy$ || (exports.ConversationsListQueryParamOrderBy$ = ConversationsListQueryParamOrderBy$ = {}));
|
|
67
|
-
/** @internal */
|
|
68
|
-
exports.ConversationsListQueryParamOrderByDirection$inboundSchema = z
|
|
69
|
-
.nativeEnum(exports.ConversationsListQueryParamOrderByDirection);
|
|
70
|
-
/** @internal */
|
|
71
|
-
exports.ConversationsListQueryParamOrderByDirection$outboundSchema = exports.ConversationsListQueryParamOrderByDirection$inboundSchema;
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
75
|
-
*/
|
|
76
|
-
var ConversationsListQueryParamOrderByDirection$;
|
|
77
|
-
(function (ConversationsListQueryParamOrderByDirection$) {
|
|
78
|
-
/** @deprecated use `ConversationsListQueryParamOrderByDirection$inboundSchema` instead. */
|
|
79
|
-
ConversationsListQueryParamOrderByDirection$.inboundSchema = exports.ConversationsListQueryParamOrderByDirection$inboundSchema;
|
|
80
|
-
/** @deprecated use `ConversationsListQueryParamOrderByDirection$outboundSchema` instead. */
|
|
81
|
-
ConversationsListQueryParamOrderByDirection$.outboundSchema = exports.ConversationsListQueryParamOrderByDirection$outboundSchema;
|
|
82
|
-
})(ConversationsListQueryParamOrderByDirection$ || (exports.ConversationsListQueryParamOrderByDirection$ = ConversationsListQueryParamOrderByDirection$ = {}));
|
|
83
36
|
/** @internal */
|
|
84
37
|
exports.ConversationsListRequest$inboundSchema = z.object({
|
|
85
38
|
page: z.nullable(z.number().int()).optional(),
|
|
@@ -87,8 +40,9 @@ exports.ConversationsListRequest$inboundSchema = z.object({
|
|
|
87
40
|
search_fields: z.array(components.ConversationProperties$inboundSchema)
|
|
88
41
|
.optional(),
|
|
89
42
|
search_field_values: z.array(z.string()).optional(),
|
|
90
|
-
order_by:
|
|
91
|
-
|
|
43
|
+
order_by: z.nullable(components.ConversationProperties$inboundSchema)
|
|
44
|
+
.optional(),
|
|
45
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
92
46
|
.optional(),
|
|
93
47
|
fields: z.nullable(z.array(components.ConversationProperties$inboundSchema))
|
|
94
48
|
.optional(),
|
|
@@ -111,8 +65,9 @@ exports.ConversationsListRequest$outboundSchema = z.object({
|
|
|
111
65
|
searchFields: z.array(components.ConversationProperties$outboundSchema)
|
|
112
66
|
.optional(),
|
|
113
67
|
searchFieldValues: z.array(z.string()).optional(),
|
|
114
|
-
orderBy:
|
|
115
|
-
|
|
68
|
+
orderBy: z.nullable(components.ConversationProperties$outboundSchema)
|
|
69
|
+
.optional(),
|
|
70
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
116
71
|
.optional(),
|
|
117
72
|
fields: z.nullable(z.array(components.ConversationProperties$outboundSchema))
|
|
118
73
|
.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversationslist.js","sourceRoot":"","sources":["../../src/models/operations/conversationslist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"conversationslist.js","sourceRoot":"","sources":["../../src/models/operations/conversationslist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA2GH,wEAMC;AAED,4EAQC;AAzHD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAerD,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CA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AG,+CAAuC,CAAC;AAGxE,CAAC,EAPgB,yBAAyB,yCAAzB,yBAAyB,QAOzC;AAED,SAAgB,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,+CAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC;AAED,SAAgB,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
|
|
@@ -1,73 +1,19 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
3
|
import * as components from "../components/index.js";
|
|
5
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
6
|
-
export declare const CustomMessagesListQueryParamOrderBy: {
|
|
7
|
-
readonly Id: "id";
|
|
8
|
-
readonly Name: "name";
|
|
9
|
-
readonly Text: "text";
|
|
10
|
-
};
|
|
11
|
-
export type CustomMessagesListQueryParamOrderBy = ClosedEnum<typeof CustomMessagesListQueryParamOrderBy>;
|
|
12
|
-
export declare const CustomMessagesListQueryParamOrderByDirection: {
|
|
13
|
-
readonly Asc: "asc";
|
|
14
|
-
readonly Desc: "desc";
|
|
15
|
-
};
|
|
16
|
-
export type CustomMessagesListQueryParamOrderByDirection = ClosedEnum<typeof CustomMessagesListQueryParamOrderByDirection>;
|
|
17
5
|
export type CustomMessagesListRequest = {
|
|
18
6
|
page?: number | null | undefined;
|
|
19
7
|
limit?: number | undefined;
|
|
20
8
|
searchFields?: Array<components.CustomMessageProperties> | undefined;
|
|
21
9
|
searchFieldValues?: Array<string> | undefined;
|
|
22
|
-
orderBy?:
|
|
23
|
-
orderByDirection?:
|
|
10
|
+
orderBy?: components.CustomMessageProperties | null | undefined;
|
|
11
|
+
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
24
12
|
fields?: Array<components.CustomMessageProperties> | null | undefined;
|
|
25
13
|
startDatetime?: string | null | undefined;
|
|
26
14
|
endDatetime?: string | null | undefined;
|
|
27
15
|
};
|
|
28
16
|
/** @internal */
|
|
29
|
-
export declare const CustomMessagesListQueryParamOrderBy$inboundSchema: z.ZodNativeEnum<typeof CustomMessagesListQueryParamOrderBy>;
|
|
30
|
-
/** @internal */
|
|
31
|
-
export declare const CustomMessagesListQueryParamOrderBy$outboundSchema: z.ZodNativeEnum<typeof CustomMessagesListQueryParamOrderBy>;
|
|
32
|
-
/**
|
|
33
|
-
* @internal
|
|
34
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
35
|
-
*/
|
|
36
|
-
export declare namespace CustomMessagesListQueryParamOrderBy$ {
|
|
37
|
-
/** @deprecated use `CustomMessagesListQueryParamOrderBy$inboundSchema` instead. */
|
|
38
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
39
|
-
readonly Id: "id";
|
|
40
|
-
readonly Name: "name";
|
|
41
|
-
readonly Text: "text";
|
|
42
|
-
}>;
|
|
43
|
-
/** @deprecated use `CustomMessagesListQueryParamOrderBy$outboundSchema` instead. */
|
|
44
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
45
|
-
readonly Id: "id";
|
|
46
|
-
readonly Name: "name";
|
|
47
|
-
readonly Text: "text";
|
|
48
|
-
}>;
|
|
49
|
-
}
|
|
50
|
-
/** @internal */
|
|
51
|
-
export declare const CustomMessagesListQueryParamOrderByDirection$inboundSchema: z.ZodNativeEnum<typeof CustomMessagesListQueryParamOrderByDirection>;
|
|
52
|
-
/** @internal */
|
|
53
|
-
export declare const CustomMessagesListQueryParamOrderByDirection$outboundSchema: z.ZodNativeEnum<typeof CustomMessagesListQueryParamOrderByDirection>;
|
|
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 declare namespace CustomMessagesListQueryParamOrderByDirection$ {
|
|
59
|
-
/** @deprecated use `CustomMessagesListQueryParamOrderByDirection$inboundSchema` instead. */
|
|
60
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
61
|
-
readonly Asc: "asc";
|
|
62
|
-
readonly Desc: "desc";
|
|
63
|
-
}>;
|
|
64
|
-
/** @deprecated use `CustomMessagesListQueryParamOrderByDirection$outboundSchema` instead. */
|
|
65
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
66
|
-
readonly Asc: "asc";
|
|
67
|
-
readonly Desc: "desc";
|
|
68
|
-
}>;
|
|
69
|
-
}
|
|
70
|
-
/** @internal */
|
|
71
17
|
export declare const CustomMessagesListRequest$inboundSchema: z.ZodType<CustomMessagesListRequest, z.ZodTypeDef, unknown>;
|
|
72
18
|
/** @internal */
|
|
73
19
|
export type CustomMessagesListRequest$Outbound = {
|
|
@@ -75,8 +21,8 @@ export type CustomMessagesListRequest$Outbound = {
|
|
|
75
21
|
limit: number;
|
|
76
22
|
search_fields?: Array<string> | undefined;
|
|
77
23
|
search_field_values?: Array<string> | undefined;
|
|
78
|
-
order_by?: string | undefined;
|
|
79
|
-
order_by_direction?: string | undefined;
|
|
24
|
+
order_by?: string | null | undefined;
|
|
25
|
+
order_by_direction?: string | null | undefined;
|
|
80
26
|
fields?: Array<string> | null | undefined;
|
|
81
27
|
start_datetime?: string | null | undefined;
|
|
82
28
|
end_datetime?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custommessageslist.d.ts","sourceRoot":"","sources":["../../src/models/operations/custommessageslist.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"custommessageslist.d.ts","sourceRoot":"","sources":["../../src/models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,CAAC;IAC1C,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAwBzB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D;AAED,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -26,53 +26,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.CustomMessagesListRequest$ = exports.CustomMessagesListRequest$outboundSchema = exports.CustomMessagesListRequest$inboundSchema =
|
|
29
|
+
exports.CustomMessagesListRequest$ = exports.CustomMessagesListRequest$outboundSchema = exports.CustomMessagesListRequest$inboundSchema = void 0;
|
|
30
30
|
exports.customMessagesListRequestToJSON = customMessagesListRequestToJSON;
|
|
31
31
|
exports.customMessagesListRequestFromJSON = customMessagesListRequestFromJSON;
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
33
33
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
34
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
35
|
const components = __importStar(require("../components/index.js"));
|
|
36
|
-
exports.CustomMessagesListQueryParamOrderBy = {
|
|
37
|
-
Id: "id",
|
|
38
|
-
Name: "name",
|
|
39
|
-
Text: "text",
|
|
40
|
-
};
|
|
41
|
-
exports.CustomMessagesListQueryParamOrderByDirection = {
|
|
42
|
-
Asc: "asc",
|
|
43
|
-
Desc: "desc",
|
|
44
|
-
};
|
|
45
|
-
/** @internal */
|
|
46
|
-
exports.CustomMessagesListQueryParamOrderBy$inboundSchema = z.nativeEnum(exports.CustomMessagesListQueryParamOrderBy);
|
|
47
|
-
/** @internal */
|
|
48
|
-
exports.CustomMessagesListQueryParamOrderBy$outboundSchema = exports.CustomMessagesListQueryParamOrderBy$inboundSchema;
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
52
|
-
*/
|
|
53
|
-
var CustomMessagesListQueryParamOrderBy$;
|
|
54
|
-
(function (CustomMessagesListQueryParamOrderBy$) {
|
|
55
|
-
/** @deprecated use `CustomMessagesListQueryParamOrderBy$inboundSchema` instead. */
|
|
56
|
-
CustomMessagesListQueryParamOrderBy$.inboundSchema = exports.CustomMessagesListQueryParamOrderBy$inboundSchema;
|
|
57
|
-
/** @deprecated use `CustomMessagesListQueryParamOrderBy$outboundSchema` instead. */
|
|
58
|
-
CustomMessagesListQueryParamOrderBy$.outboundSchema = exports.CustomMessagesListQueryParamOrderBy$outboundSchema;
|
|
59
|
-
})(CustomMessagesListQueryParamOrderBy$ || (exports.CustomMessagesListQueryParamOrderBy$ = CustomMessagesListQueryParamOrderBy$ = {}));
|
|
60
|
-
/** @internal */
|
|
61
|
-
exports.CustomMessagesListQueryParamOrderByDirection$inboundSchema = z
|
|
62
|
-
.nativeEnum(exports.CustomMessagesListQueryParamOrderByDirection);
|
|
63
|
-
/** @internal */
|
|
64
|
-
exports.CustomMessagesListQueryParamOrderByDirection$outboundSchema = exports.CustomMessagesListQueryParamOrderByDirection$inboundSchema;
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
68
|
-
*/
|
|
69
|
-
var CustomMessagesListQueryParamOrderByDirection$;
|
|
70
|
-
(function (CustomMessagesListQueryParamOrderByDirection$) {
|
|
71
|
-
/** @deprecated use `CustomMessagesListQueryParamOrderByDirection$inboundSchema` instead. */
|
|
72
|
-
CustomMessagesListQueryParamOrderByDirection$.inboundSchema = exports.CustomMessagesListQueryParamOrderByDirection$inboundSchema;
|
|
73
|
-
/** @deprecated use `CustomMessagesListQueryParamOrderByDirection$outboundSchema` instead. */
|
|
74
|
-
CustomMessagesListQueryParamOrderByDirection$.outboundSchema = exports.CustomMessagesListQueryParamOrderByDirection$outboundSchema;
|
|
75
|
-
})(CustomMessagesListQueryParamOrderByDirection$ || (exports.CustomMessagesListQueryParamOrderByDirection$ = CustomMessagesListQueryParamOrderByDirection$ = {}));
|
|
76
36
|
/** @internal */
|
|
77
37
|
exports.CustomMessagesListRequest$inboundSchema = z.object({
|
|
78
38
|
page: z.nullable(z.number().int()).optional(),
|
|
@@ -80,8 +40,9 @@ exports.CustomMessagesListRequest$inboundSchema = z.object({
|
|
|
80
40
|
search_fields: z.array(components.CustomMessageProperties$inboundSchema)
|
|
81
41
|
.optional(),
|
|
82
42
|
search_field_values: z.array(z.string()).optional(),
|
|
83
|
-
order_by:
|
|
84
|
-
|
|
43
|
+
order_by: z.nullable(components.CustomMessageProperties$inboundSchema)
|
|
44
|
+
.optional(),
|
|
45
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
85
46
|
.optional(),
|
|
86
47
|
fields: z.nullable(z.array(components.CustomMessageProperties$inboundSchema))
|
|
87
48
|
.optional(),
|
|
@@ -104,8 +65,9 @@ exports.CustomMessagesListRequest$outboundSchema = z.object({
|
|
|
104
65
|
searchFields: z.array(components.CustomMessageProperties$outboundSchema)
|
|
105
66
|
.optional(),
|
|
106
67
|
searchFieldValues: z.array(z.string()).optional(),
|
|
107
|
-
orderBy:
|
|
108
|
-
|
|
68
|
+
orderBy: z.nullable(components.CustomMessageProperties$outboundSchema)
|
|
69
|
+
.optional(),
|
|
70
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
109
71
|
.optional(),
|
|
110
72
|
fields: z.nullable(z.array(components.CustomMessageProperties$outboundSchema))
|
|
111
73
|
.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custommessageslist.js","sourceRoot":"","sources":["../../src/models/operations/custommessageslist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"custommessageslist.js","sourceRoot":"","sources":["../../src/models/operations/custommessageslist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA2GH,0EAMC;AAED,8EAQC;AAzHD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAerD,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IACnC,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,qCAAqC,CAAC;SACrE,QAAQ,EAA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AAgB,iCAAiC,CAC/C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
|
|
@@ -1,94 +1,19 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
3
|
import * as components from "../components/index.js";
|
|
5
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
6
|
-
export declare const EventsListQueryParamOrderBy: {
|
|
7
|
-
readonly Timestamp: "timestamp";
|
|
8
|
-
readonly SessionId: "session_id";
|
|
9
|
-
readonly ConversationId: "conversation_id";
|
|
10
|
-
readonly Source: "source";
|
|
11
|
-
readonly SourceId: "source_id";
|
|
12
|
-
readonly Category: "category";
|
|
13
|
-
readonly Type: "type";
|
|
14
|
-
readonly UserId: "user_id";
|
|
15
|
-
readonly Description: "description";
|
|
16
|
-
readonly Attributes: "attributes";
|
|
17
|
-
};
|
|
18
|
-
export type EventsListQueryParamOrderBy = ClosedEnum<typeof EventsListQueryParamOrderBy>;
|
|
19
|
-
export declare const EventsListQueryParamOrderByDirection: {
|
|
20
|
-
readonly Asc: "asc";
|
|
21
|
-
readonly Desc: "desc";
|
|
22
|
-
};
|
|
23
|
-
export type EventsListQueryParamOrderByDirection = ClosedEnum<typeof EventsListQueryParamOrderByDirection>;
|
|
24
5
|
export type EventsListRequest = {
|
|
25
6
|
page?: number | null | undefined;
|
|
26
7
|
limit?: number | undefined;
|
|
27
8
|
searchFields?: Array<components.EventProperties> | undefined;
|
|
28
9
|
searchFieldValues?: Array<string> | undefined;
|
|
29
|
-
orderBy?:
|
|
30
|
-
orderByDirection?:
|
|
10
|
+
orderBy?: components.EventProperties | null | undefined;
|
|
11
|
+
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
31
12
|
fields?: Array<components.EventProperties> | null | undefined;
|
|
32
13
|
startDatetime?: string | null | undefined;
|
|
33
14
|
endDatetime?: string | null | undefined;
|
|
34
15
|
};
|
|
35
16
|
/** @internal */
|
|
36
|
-
export declare const EventsListQueryParamOrderBy$inboundSchema: z.ZodNativeEnum<typeof EventsListQueryParamOrderBy>;
|
|
37
|
-
/** @internal */
|
|
38
|
-
export declare const EventsListQueryParamOrderBy$outboundSchema: z.ZodNativeEnum<typeof EventsListQueryParamOrderBy>;
|
|
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 declare namespace EventsListQueryParamOrderBy$ {
|
|
44
|
-
/** @deprecated use `EventsListQueryParamOrderBy$inboundSchema` instead. */
|
|
45
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
46
|
-
readonly Timestamp: "timestamp";
|
|
47
|
-
readonly SessionId: "session_id";
|
|
48
|
-
readonly ConversationId: "conversation_id";
|
|
49
|
-
readonly Source: "source";
|
|
50
|
-
readonly SourceId: "source_id";
|
|
51
|
-
readonly Category: "category";
|
|
52
|
-
readonly Type: "type";
|
|
53
|
-
readonly UserId: "user_id";
|
|
54
|
-
readonly Description: "description";
|
|
55
|
-
readonly Attributes: "attributes";
|
|
56
|
-
}>;
|
|
57
|
-
/** @deprecated use `EventsListQueryParamOrderBy$outboundSchema` instead. */
|
|
58
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
59
|
-
readonly Timestamp: "timestamp";
|
|
60
|
-
readonly SessionId: "session_id";
|
|
61
|
-
readonly ConversationId: "conversation_id";
|
|
62
|
-
readonly Source: "source";
|
|
63
|
-
readonly SourceId: "source_id";
|
|
64
|
-
readonly Category: "category";
|
|
65
|
-
readonly Type: "type";
|
|
66
|
-
readonly UserId: "user_id";
|
|
67
|
-
readonly Description: "description";
|
|
68
|
-
readonly Attributes: "attributes";
|
|
69
|
-
}>;
|
|
70
|
-
}
|
|
71
|
-
/** @internal */
|
|
72
|
-
export declare const EventsListQueryParamOrderByDirection$inboundSchema: z.ZodNativeEnum<typeof EventsListQueryParamOrderByDirection>;
|
|
73
|
-
/** @internal */
|
|
74
|
-
export declare const EventsListQueryParamOrderByDirection$outboundSchema: z.ZodNativeEnum<typeof EventsListQueryParamOrderByDirection>;
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
78
|
-
*/
|
|
79
|
-
export declare namespace EventsListQueryParamOrderByDirection$ {
|
|
80
|
-
/** @deprecated use `EventsListQueryParamOrderByDirection$inboundSchema` instead. */
|
|
81
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
82
|
-
readonly Asc: "asc";
|
|
83
|
-
readonly Desc: "desc";
|
|
84
|
-
}>;
|
|
85
|
-
/** @deprecated use `EventsListQueryParamOrderByDirection$outboundSchema` instead. */
|
|
86
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
87
|
-
readonly Asc: "asc";
|
|
88
|
-
readonly Desc: "desc";
|
|
89
|
-
}>;
|
|
90
|
-
}
|
|
91
|
-
/** @internal */
|
|
92
17
|
export declare const EventsListRequest$inboundSchema: z.ZodType<EventsListRequest, z.ZodTypeDef, unknown>;
|
|
93
18
|
/** @internal */
|
|
94
19
|
export type EventsListRequest$Outbound = {
|
|
@@ -96,8 +21,8 @@ export type EventsListRequest$Outbound = {
|
|
|
96
21
|
limit: number;
|
|
97
22
|
search_fields?: Array<string> | undefined;
|
|
98
23
|
search_field_values?: Array<string> | undefined;
|
|
99
|
-
order_by?: string | undefined;
|
|
100
|
-
order_by_direction?: string | undefined;
|
|
24
|
+
order_by?: string | null | undefined;
|
|
25
|
+
order_by_direction?: string | null | undefined;
|
|
101
26
|
fields?: Array<string> | null | undefined;
|
|
102
27
|
start_datetime?: string | null | undefined;
|
|
103
28
|
end_datetime?: string | null | undefined;
|