syllable-sdk 0.1.0-alpha.6 → 0.1.0-alpha.8
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/prompt.d.ts +5 -0
- package/models/components/prompt.d.ts.map +1 -1
- package/models/components/prompt.js +2 -0
- package/models/components/prompt.js.map +1 -1
- package/models/components/promptcreate.d.ts +5 -0
- package/models/components/promptcreate.d.ts.map +1 -1
- package/models/components/promptcreate.js +2 -0
- package/models/components/promptcreate.js.map +1 -1
- package/models/components/prompthistory.d.ts +2 -0
- package/models/components/prompthistory.d.ts.map +1 -1
- package/models/components/prompthistory.js +4 -0
- package/models/components/prompthistory.js.map +1 -1
- package/models/components/promptproperties.d.ts +6 -0
- package/models/components/promptproperties.d.ts.map +1 -1
- package/models/components/promptproperties.js +2 -0
- package/models/components/promptproperties.js.map +1 -1
- 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/prompt.ts +7 -0
- package/src/models/components/promptcreate.ts +7 -0
- package/src/models/components/prompthistory.ts +6 -0
- package/src/models/components/promptproperties.ts +2 -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
|
@@ -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;AAz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AAc;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,yBAAyB,CAOzC;AAPD,WAAiB,yBAAyB;IACxC,wEAAwE;IAC3D,uCAAa,GAAG,8CAAsC,CAAC;IACpE,yEAAyE;IAC5D,wCAAc,GAAG,+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/operations/custommessageslist.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC;IACrE,iBAAiB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAC9C,OAAO,CAAC,EAAE,UAAU,CAAC,uBAAuB,GAAG,IAAI,GAAG,SAAS,CAAC;IAChE,gBAAgB,CAAC,EAAE,UAAU,CAAC,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAAC;IAClE,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,uBAAuB,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IACtE,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAwBP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,IAAI,CAAC,EAAE,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,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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CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C;AAED,SAAgB,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC;AAED,SAAgB,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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventslist.d.ts","sourceRoot":"","sources":["../../src/models/operations/eventslist.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"eventslist.d.ts","sourceRoot":"","sources":["../../src/models/operations/eventslist.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC;IAC7D,iBAAiB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAC9C,OAAO,CAAC,EAAE,UAAU,CAAC,eAAe,GAAG,IAAI,GAAG,SAAS,CAAC;IACxD,gBAAgB,CAAC,EAAE,UAAU,CAAC,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAAC;IAClE,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9D,aAAa,CAAC,EAAE,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iB,GACnC,MAAM,CAIR;AAED,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
|
|
@@ -26,67 +26,21 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.EventsListRequest$ = exports.EventsListRequest$outboundSchema = exports.EventsListRequest$inboundSchema =
|
|
29
|
+
exports.EventsListRequest$ = exports.EventsListRequest$outboundSchema = exports.EventsListRequest$inboundSchema = void 0;
|
|
30
30
|
exports.eventsListRequestToJSON = eventsListRequestToJSON;
|
|
31
31
|
exports.eventsListRequestFromJSON = eventsListRequestFromJSON;
|
|
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.EventsListQueryParamOrderBy = {
|
|
37
|
-
Timestamp: "timestamp",
|
|
38
|
-
SessionId: "session_id",
|
|
39
|
-
ConversationId: "conversation_id",
|
|
40
|
-
Source: "source",
|
|
41
|
-
SourceId: "source_id",
|
|
42
|
-
Category: "category",
|
|
43
|
-
Type: "type",
|
|
44
|
-
UserId: "user_id",
|
|
45
|
-
Description: "description",
|
|
46
|
-
Attributes: "attributes",
|
|
47
|
-
};
|
|
48
|
-
exports.EventsListQueryParamOrderByDirection = {
|
|
49
|
-
Asc: "asc",
|
|
50
|
-
Desc: "desc",
|
|
51
|
-
};
|
|
52
|
-
/** @internal */
|
|
53
|
-
exports.EventsListQueryParamOrderBy$inboundSchema = z.nativeEnum(exports.EventsListQueryParamOrderBy);
|
|
54
|
-
/** @internal */
|
|
55
|
-
exports.EventsListQueryParamOrderBy$outboundSchema = exports.EventsListQueryParamOrderBy$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 EventsListQueryParamOrderBy$;
|
|
61
|
-
(function (EventsListQueryParamOrderBy$) {
|
|
62
|
-
/** @deprecated use `EventsListQueryParamOrderBy$inboundSchema` instead. */
|
|
63
|
-
EventsListQueryParamOrderBy$.inboundSchema = exports.EventsListQueryParamOrderBy$inboundSchema;
|
|
64
|
-
/** @deprecated use `EventsListQueryParamOrderBy$outboundSchema` instead. */
|
|
65
|
-
EventsListQueryParamOrderBy$.outboundSchema = exports.EventsListQueryParamOrderBy$outboundSchema;
|
|
66
|
-
})(EventsListQueryParamOrderBy$ || (exports.EventsListQueryParamOrderBy$ = EventsListQueryParamOrderBy$ = {}));
|
|
67
|
-
/** @internal */
|
|
68
|
-
exports.EventsListQueryParamOrderByDirection$inboundSchema = z.nativeEnum(exports.EventsListQueryParamOrderByDirection);
|
|
69
|
-
/** @internal */
|
|
70
|
-
exports.EventsListQueryParamOrderByDirection$outboundSchema = exports.EventsListQueryParamOrderByDirection$inboundSchema;
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
74
|
-
*/
|
|
75
|
-
var EventsListQueryParamOrderByDirection$;
|
|
76
|
-
(function (EventsListQueryParamOrderByDirection$) {
|
|
77
|
-
/** @deprecated use `EventsListQueryParamOrderByDirection$inboundSchema` instead. */
|
|
78
|
-
EventsListQueryParamOrderByDirection$.inboundSchema = exports.EventsListQueryParamOrderByDirection$inboundSchema;
|
|
79
|
-
/** @deprecated use `EventsListQueryParamOrderByDirection$outboundSchema` instead. */
|
|
80
|
-
EventsListQueryParamOrderByDirection$.outboundSchema = exports.EventsListQueryParamOrderByDirection$outboundSchema;
|
|
81
|
-
})(EventsListQueryParamOrderByDirection$ || (exports.EventsListQueryParamOrderByDirection$ = EventsListQueryParamOrderByDirection$ = {}));
|
|
82
36
|
/** @internal */
|
|
83
37
|
exports.EventsListRequest$inboundSchema = z.object({
|
|
84
38
|
page: z.nullable(z.number().int()).optional(),
|
|
85
39
|
limit: z.number().int().default(25),
|
|
86
40
|
search_fields: z.array(components.EventProperties$inboundSchema).optional(),
|
|
87
41
|
search_field_values: z.array(z.string()).optional(),
|
|
88
|
-
order_by:
|
|
89
|
-
order_by_direction:
|
|
42
|
+
order_by: z.nullable(components.EventProperties$inboundSchema).optional(),
|
|
43
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
90
44
|
.optional(),
|
|
91
45
|
fields: z.nullable(z.array(components.EventProperties$inboundSchema))
|
|
92
46
|
.optional(),
|
|
@@ -108,8 +62,8 @@ exports.EventsListRequest$outboundSchema = z.object({
|
|
|
108
62
|
limit: z.number().int().default(25),
|
|
109
63
|
searchFields: z.array(components.EventProperties$outboundSchema).optional(),
|
|
110
64
|
searchFieldValues: z.array(z.string()).optional(),
|
|
111
|
-
orderBy:
|
|
112
|
-
orderByDirection:
|
|
65
|
+
orderBy: z.nullable(components.EventProperties$outboundSchema).optional(),
|
|
66
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
113
67
|
.optional(),
|
|
114
68
|
fields: z.nullable(z.array(components.EventProperties$outboundSchema))
|
|
115
69
|
.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventslist.js","sourceRoot":"","sources":["../../src/models/operations/eventslist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"eventslist.js","sourceRoot":"","sources":["../../src/models/operations/eventslist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAuGH,0DAMC;AAED,8DAQC;AArHD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAerD,gBAAgB;AACH,QAAA,+BAA+B,G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C;AAPD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AAGjE,CAAC,EAPgB,kBAAkB,kCAAlB,kBAAkB,QAOlC;AAED,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AAED,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
|
|
@@ -1,82 +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 PromptsListQueryParamOrderBy: {
|
|
7
|
-
readonly Id: "id";
|
|
8
|
-
readonly Name: "name";
|
|
9
|
-
readonly Context: "context";
|
|
10
|
-
readonly Tools: "tools";
|
|
11
|
-
readonly LlmConfig: "llm_config";
|
|
12
|
-
readonly LastUpdatedBy: "last_updated_by";
|
|
13
|
-
};
|
|
14
|
-
export type PromptsListQueryParamOrderBy = ClosedEnum<typeof PromptsListQueryParamOrderBy>;
|
|
15
|
-
export declare const PromptsListQueryParamOrderByDirection: {
|
|
16
|
-
readonly Asc: "asc";
|
|
17
|
-
readonly Desc: "desc";
|
|
18
|
-
};
|
|
19
|
-
export type PromptsListQueryParamOrderByDirection = ClosedEnum<typeof PromptsListQueryParamOrderByDirection>;
|
|
20
5
|
export type PromptsListRequest = {
|
|
21
6
|
page?: number | null | undefined;
|
|
22
7
|
limit?: number | undefined;
|
|
23
8
|
searchFields?: Array<components.PromptProperties> | undefined;
|
|
24
9
|
searchFieldValues?: Array<string> | undefined;
|
|
25
|
-
orderBy?:
|
|
26
|
-
orderByDirection?:
|
|
10
|
+
orderBy?: components.PromptProperties | null | undefined;
|
|
11
|
+
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
27
12
|
fields?: Array<components.PromptProperties> | null | undefined;
|
|
28
13
|
startDatetime?: string | null | undefined;
|
|
29
14
|
endDatetime?: string | null | undefined;
|
|
30
15
|
};
|
|
31
16
|
/** @internal */
|
|
32
|
-
export declare const PromptsListQueryParamOrderBy$inboundSchema: z.ZodNativeEnum<typeof PromptsListQueryParamOrderBy>;
|
|
33
|
-
/** @internal */
|
|
34
|
-
export declare const PromptsListQueryParamOrderBy$outboundSchema: z.ZodNativeEnum<typeof PromptsListQueryParamOrderBy>;
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
38
|
-
*/
|
|
39
|
-
export declare namespace PromptsListQueryParamOrderBy$ {
|
|
40
|
-
/** @deprecated use `PromptsListQueryParamOrderBy$inboundSchema` instead. */
|
|
41
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
42
|
-
readonly Id: "id";
|
|
43
|
-
readonly Name: "name";
|
|
44
|
-
readonly Context: "context";
|
|
45
|
-
readonly Tools: "tools";
|
|
46
|
-
readonly LlmConfig: "llm_config";
|
|
47
|
-
readonly LastUpdatedBy: "last_updated_by";
|
|
48
|
-
}>;
|
|
49
|
-
/** @deprecated use `PromptsListQueryParamOrderBy$outboundSchema` instead. */
|
|
50
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
51
|
-
readonly Id: "id";
|
|
52
|
-
readonly Name: "name";
|
|
53
|
-
readonly Context: "context";
|
|
54
|
-
readonly Tools: "tools";
|
|
55
|
-
readonly LlmConfig: "llm_config";
|
|
56
|
-
readonly LastUpdatedBy: "last_updated_by";
|
|
57
|
-
}>;
|
|
58
|
-
}
|
|
59
|
-
/** @internal */
|
|
60
|
-
export declare const PromptsListQueryParamOrderByDirection$inboundSchema: z.ZodNativeEnum<typeof PromptsListQueryParamOrderByDirection>;
|
|
61
|
-
/** @internal */
|
|
62
|
-
export declare const PromptsListQueryParamOrderByDirection$outboundSchema: z.ZodNativeEnum<typeof PromptsListQueryParamOrderByDirection>;
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
66
|
-
*/
|
|
67
|
-
export declare namespace PromptsListQueryParamOrderByDirection$ {
|
|
68
|
-
/** @deprecated use `PromptsListQueryParamOrderByDirection$inboundSchema` instead. */
|
|
69
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
70
|
-
readonly Asc: "asc";
|
|
71
|
-
readonly Desc: "desc";
|
|
72
|
-
}>;
|
|
73
|
-
/** @deprecated use `PromptsListQueryParamOrderByDirection$outboundSchema` instead. */
|
|
74
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
75
|
-
readonly Asc: "asc";
|
|
76
|
-
readonly Desc: "desc";
|
|
77
|
-
}>;
|
|
78
|
-
}
|
|
79
|
-
/** @internal */
|
|
80
17
|
export declare const PromptsListRequest$inboundSchema: z.ZodType<PromptsListRequest, z.ZodTypeDef, unknown>;
|
|
81
18
|
/** @internal */
|
|
82
19
|
export type PromptsListRequest$Outbound = {
|
|
@@ -84,8 +21,8 @@ export type PromptsListRequest$Outbound = {
|
|
|
84
21
|
limit: number;
|
|
85
22
|
search_fields?: Array<string> | undefined;
|
|
86
23
|
search_field_values?: Array<string> | undefined;
|
|
87
|
-
order_by?: string | undefined;
|
|
88
|
-
order_by_direction?: string | undefined;
|
|
24
|
+
order_by?: string | null | undefined;
|
|
25
|
+
order_by_direction?: string | null | undefined;
|
|
89
26
|
fields?: Array<string> | null | undefined;
|
|
90
27
|
start_datetime?: string | null | undefined;
|
|
91
28
|
end_datetime?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptslist.d.ts","sourceRoot":"","sources":["../../src/models/operations/promptslist.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"promptslist.d.ts","sourceRoot":"","sources":["../../src/models/operations/promptslist.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;IAC9D,iBAAiB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAC9C,OAAO,CAAC,EAAE,UAAU,CAAC,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAAC;IACzD,gBAAgB,CAAC,EAAE,UAAU,CAAC,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAAC;IAClE,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/D,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCA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 var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.PromptsListRequest$ = exports.PromptsListRequest$outboundSchema = exports.PromptsListRequest$inboundSchema =
|
|
29
|
+
exports.PromptsListRequest$ = exports.PromptsListRequest$outboundSchema = exports.PromptsListRequest$inboundSchema = void 0;
|
|
30
30
|
exports.promptsListRequestToJSON = promptsListRequestToJSON;
|
|
31
31
|
exports.promptsListRequestFromJSON = promptsListRequestFromJSON;
|
|
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.PromptsListQueryParamOrderBy = {
|
|
37
|
-
Id: "id",
|
|
38
|
-
Name: "name",
|
|
39
|
-
Context: "context",
|
|
40
|
-
Tools: "tools",
|
|
41
|
-
LlmConfig: "llm_config",
|
|
42
|
-
LastUpdatedBy: "last_updated_by",
|
|
43
|
-
};
|
|
44
|
-
exports.PromptsListQueryParamOrderByDirection = {
|
|
45
|
-
Asc: "asc",
|
|
46
|
-
Desc: "desc",
|
|
47
|
-
};
|
|
48
|
-
/** @internal */
|
|
49
|
-
exports.PromptsListQueryParamOrderBy$inboundSchema = z.nativeEnum(exports.PromptsListQueryParamOrderBy);
|
|
50
|
-
/** @internal */
|
|
51
|
-
exports.PromptsListQueryParamOrderBy$outboundSchema = exports.PromptsListQueryParamOrderBy$inboundSchema;
|
|
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
|
-
var PromptsListQueryParamOrderBy$;
|
|
57
|
-
(function (PromptsListQueryParamOrderBy$) {
|
|
58
|
-
/** @deprecated use `PromptsListQueryParamOrderBy$inboundSchema` instead. */
|
|
59
|
-
PromptsListQueryParamOrderBy$.inboundSchema = exports.PromptsListQueryParamOrderBy$inboundSchema;
|
|
60
|
-
/** @deprecated use `PromptsListQueryParamOrderBy$outboundSchema` instead. */
|
|
61
|
-
PromptsListQueryParamOrderBy$.outboundSchema = exports.PromptsListQueryParamOrderBy$outboundSchema;
|
|
62
|
-
})(PromptsListQueryParamOrderBy$ || (exports.PromptsListQueryParamOrderBy$ = PromptsListQueryParamOrderBy$ = {}));
|
|
63
|
-
/** @internal */
|
|
64
|
-
exports.PromptsListQueryParamOrderByDirection$inboundSchema = z.nativeEnum(exports.PromptsListQueryParamOrderByDirection);
|
|
65
|
-
/** @internal */
|
|
66
|
-
exports.PromptsListQueryParamOrderByDirection$outboundSchema = exports.PromptsListQueryParamOrderByDirection$inboundSchema;
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
70
|
-
*/
|
|
71
|
-
var PromptsListQueryParamOrderByDirection$;
|
|
72
|
-
(function (PromptsListQueryParamOrderByDirection$) {
|
|
73
|
-
/** @deprecated use `PromptsListQueryParamOrderByDirection$inboundSchema` instead. */
|
|
74
|
-
PromptsListQueryParamOrderByDirection$.inboundSchema = exports.PromptsListQueryParamOrderByDirection$inboundSchema;
|
|
75
|
-
/** @deprecated use `PromptsListQueryParamOrderByDirection$outboundSchema` instead. */
|
|
76
|
-
PromptsListQueryParamOrderByDirection$.outboundSchema = exports.PromptsListQueryParamOrderByDirection$outboundSchema;
|
|
77
|
-
})(PromptsListQueryParamOrderByDirection$ || (exports.PromptsListQueryParamOrderByDirection$ = PromptsListQueryParamOrderByDirection$ = {}));
|
|
78
36
|
/** @internal */
|
|
79
37
|
exports.PromptsListRequest$inboundSchema = z.object({
|
|
80
38
|
page: z.nullable(z.number().int()).optional(),
|
|
81
39
|
limit: z.number().int().default(25),
|
|
82
40
|
search_fields: z.array(components.PromptProperties$inboundSchema).optional(),
|
|
83
41
|
search_field_values: z.array(z.string()).optional(),
|
|
84
|
-
order_by:
|
|
85
|
-
order_by_direction:
|
|
42
|
+
order_by: z.nullable(components.PromptProperties$inboundSchema).optional(),
|
|
43
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
86
44
|
.optional(),
|
|
87
45
|
fields: z.nullable(z.array(components.PromptProperties$inboundSchema))
|
|
88
46
|
.optional(),
|
|
@@ -104,8 +62,8 @@ exports.PromptsListRequest$outboundSchema = z.object({
|
|
|
104
62
|
limit: z.number().int().default(25),
|
|
105
63
|
searchFields: z.array(components.PromptProperties$outboundSchema).optional(),
|
|
106
64
|
searchFieldValues: z.array(z.string()).optional(),
|
|
107
|
-
orderBy:
|
|
108
|
-
orderByDirection:
|
|
65
|
+
orderBy: z.nullable(components.PromptProperties$outboundSchema).optional(),
|
|
66
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
109
67
|
.optional(),
|
|
110
68
|
fields: z.nullable(z.array(components.PromptProperties$outboundSchema))
|
|
111
69
|
.optional(),
|