@orq-ai/node 4.15.5 → 4.15.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/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createtool.js +4 -4
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +6 -6
- package/packages/orq-rc/src/funcs/routerClassifyCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/{auditLogsQuery.ts → wikisCreate.ts} +10 -16
- package/packages/orq-rc/src/funcs/wikisDelete.ts +162 -0
- package/packages/orq-rc/src/funcs/wikisGet.ts +162 -0
- package/packages/orq-rc/src/funcs/wikisGetPage.ts +168 -0
- package/packages/orq-rc/src/funcs/wikisGetTree.ts +162 -0
- package/packages/orq-rc/src/funcs/wikisInspectRepository.ts +157 -0
- package/packages/orq-rc/src/funcs/wikisList.ts +167 -0
- package/packages/orq-rc/src/funcs/wikisListRuns.ts +167 -0
- package/packages/orq-rc/src/funcs/wikisRefresh.ts +165 -0
- package/packages/orq-rc/src/funcs/wikisSearch.ts +168 -0
- package/packages/orq-rc/src/funcs/wikisUpdate.ts +163 -0
- package/packages/orq-rc/src/funcs/wikisUpdatePage.ts +165 -0
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/agentthoughtstreamingevent.ts +66 -0
- package/packages/orq-rc/src/models/components/classifyanswer.ts +1 -1
- package/packages/orq-rc/src/models/components/classifyusage.ts +2 -2
- package/packages/orq-rc/src/models/components/createapikeyrequest.ts +3 -3
- package/packages/orq-rc/src/models/components/createmanagementkeyrequest.ts +3 -3
- package/packages/orq-rc/src/models/components/createwikirequest.ts +67 -0
- package/packages/orq-rc/src/models/components/createwikiresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/deletewikiresponse.ts +27 -0
- package/packages/orq-rc/src/models/components/getwikipageresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/getwikiresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/getwikitreeresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/index.ts +25 -8
- package/packages/orq-rc/src/models/components/inspectrepositorywikirequest.ts +45 -0
- package/packages/orq-rc/src/models/components/inspectrepositorywikiresponse.ts +38 -0
- package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +126 -0
- package/packages/orq-rc/src/models/components/listwikirunsresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/listwikisresponse.ts +39 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/refreshwikirequest.ts +31 -0
- package/packages/orq-rc/src/models/components/refreshwikiresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/searchwikiresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/updatewikipagerequest.ts +42 -0
- package/packages/orq-rc/src/models/components/updatewikipageresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/updatewikirequest.ts +48 -0
- package/packages/orq-rc/src/models/components/updatewikiresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/wiki.ts +91 -0
- package/packages/orq-rc/src/models/components/wikipage.ts +58 -0
- package/packages/orq-rc/src/models/components/wikirepository.ts +72 -0
- package/packages/orq-rc/src/models/components/wikirun.ts +71 -0
- package/packages/orq-rc/src/models/components/wikirunstats.ts +44 -0
- package/packages/orq-rc/src/models/components/wikisearchhit.ts +45 -0
- package/packages/orq-rc/src/models/components/wikisettings.ts +76 -0
- package/packages/orq-rc/src/models/components/wikitreepage.ts +47 -0
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +222 -0
- package/packages/orq-rc/src/models/operations/createclassify.ts +4 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +159 -5
- package/packages/orq-rc/src/models/operations/createprompt.ts +143 -0
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/deletewiki.ts +36 -0
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +147 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +126 -0
- package/packages/orq-rc/src/models/operations/getallprompts.ts +63 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +63 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +65 -0
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/getwiki.ts +32 -0
- package/packages/orq-rc/src/models/operations/getwikipage.ts +43 -0
- package/packages/orq-rc/src/models/operations/getwikitree.ts +36 -0
- package/packages/orq-rc/src/models/operations/index.ts +10 -0
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +77 -5
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +66 -0
- package/packages/orq-rc/src/models/operations/listwikiruns.ts +39 -0
- package/packages/orq-rc/src/models/{components/auditlogpagination.ts → operations/listwikis.ts} +19 -20
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/refreshwiki.ts +41 -0
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +71 -5
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/searchwiki.ts +42 -0
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +152 -5
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateprompt.ts +143 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatewiki.ts +41 -0
- package/packages/orq-rc/src/models/operations/updatewikipage.ts +41 -0
- package/packages/orq-rc/src/sdk/classify.ts +1 -1
- package/packages/orq-rc/src/sdk/sdk.ts +6 -6
- package/packages/orq-rc/src/sdk/wikis.ts +154 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/models/components/auditlog.ts +0 -122
- package/packages/orq-rc/src/models/components/auditlogfilter.ts +0 -51
- package/packages/orq-rc/src/models/components/auditlogfilterquery.ts +0 -54
- package/packages/orq-rc/src/models/components/auditlogsort.ts +0 -39
- package/packages/orq-rc/src/models/components/queryauditlogsrequest.ts +0 -64
- package/packages/orq-rc/src/models/components/queryauditlogsresponse.ts +0 -55
- package/packages/orq-rc/src/models/components/value.ts +0 -24
- package/packages/orq-rc/src/sdk/auditlogs.ts +0 -27
|
@@ -83,6 +83,20 @@ export type AgentThoughtStreamingEventFunction = {
|
|
|
83
83
|
arguments?: string | undefined;
|
|
84
84
|
};
|
|
85
85
|
|
|
86
|
+
export type AgentThoughtStreamingEventGoogle = {
|
|
87
|
+
/**
|
|
88
|
+
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
|
|
89
|
+
*/
|
|
90
|
+
thoughtSignature?: string | undefined;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Provider-specific extra content for the tool call.
|
|
95
|
+
*/
|
|
96
|
+
export type AgentThoughtStreamingEventExtraContent = {
|
|
97
|
+
google?: AgentThoughtStreamingEventGoogle | undefined;
|
|
98
|
+
};
|
|
99
|
+
|
|
86
100
|
export type AgentThoughtStreamingEventToolCalls = {
|
|
87
101
|
index?: number | undefined;
|
|
88
102
|
id?: string | undefined;
|
|
@@ -92,6 +106,10 @@ export type AgentThoughtStreamingEventToolCalls = {
|
|
|
92
106
|
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
|
|
93
107
|
*/
|
|
94
108
|
thoughtSignature?: string | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* Provider-specific extra content for the tool call.
|
|
111
|
+
*/
|
|
112
|
+
extraContent?: AgentThoughtStreamingEventExtraContent | undefined;
|
|
95
113
|
};
|
|
96
114
|
|
|
97
115
|
export const AgentThoughtStreamingEventDataRole = {
|
|
@@ -410,6 +428,50 @@ export function agentThoughtStreamingEventFunctionFromJSON(
|
|
|
410
428
|
);
|
|
411
429
|
}
|
|
412
430
|
|
|
431
|
+
/** @internal */
|
|
432
|
+
export const AgentThoughtStreamingEventGoogle$inboundSchema: z.ZodType<
|
|
433
|
+
AgentThoughtStreamingEventGoogle,
|
|
434
|
+
z.ZodTypeDef,
|
|
435
|
+
unknown
|
|
436
|
+
> = z.object({
|
|
437
|
+
thought_signature: z.string().optional(),
|
|
438
|
+
}).transform((v) => {
|
|
439
|
+
return remap$(v, {
|
|
440
|
+
"thought_signature": "thoughtSignature",
|
|
441
|
+
});
|
|
442
|
+
});
|
|
443
|
+
|
|
444
|
+
export function agentThoughtStreamingEventGoogleFromJSON(
|
|
445
|
+
jsonString: string,
|
|
446
|
+
): SafeParseResult<AgentThoughtStreamingEventGoogle, SDKValidationError> {
|
|
447
|
+
return safeParse(
|
|
448
|
+
jsonString,
|
|
449
|
+
(x) => AgentThoughtStreamingEventGoogle$inboundSchema.parse(JSON.parse(x)),
|
|
450
|
+
`Failed to parse 'AgentThoughtStreamingEventGoogle' from JSON`,
|
|
451
|
+
);
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
/** @internal */
|
|
455
|
+
export const AgentThoughtStreamingEventExtraContent$inboundSchema: z.ZodType<
|
|
456
|
+
AgentThoughtStreamingEventExtraContent,
|
|
457
|
+
z.ZodTypeDef,
|
|
458
|
+
unknown
|
|
459
|
+
> = z.object({
|
|
460
|
+
google: z.lazy(() => AgentThoughtStreamingEventGoogle$inboundSchema)
|
|
461
|
+
.optional(),
|
|
462
|
+
});
|
|
463
|
+
|
|
464
|
+
export function agentThoughtStreamingEventExtraContentFromJSON(
|
|
465
|
+
jsonString: string,
|
|
466
|
+
): SafeParseResult<AgentThoughtStreamingEventExtraContent, SDKValidationError> {
|
|
467
|
+
return safeParse(
|
|
468
|
+
jsonString,
|
|
469
|
+
(x) =>
|
|
470
|
+
AgentThoughtStreamingEventExtraContent$inboundSchema.parse(JSON.parse(x)),
|
|
471
|
+
`Failed to parse 'AgentThoughtStreamingEventExtraContent' from JSON`,
|
|
472
|
+
);
|
|
473
|
+
}
|
|
474
|
+
|
|
413
475
|
/** @internal */
|
|
414
476
|
export const AgentThoughtStreamingEventToolCalls$inboundSchema: z.ZodType<
|
|
415
477
|
AgentThoughtStreamingEventToolCalls,
|
|
@@ -422,9 +484,13 @@ export const AgentThoughtStreamingEventToolCalls$inboundSchema: z.ZodType<
|
|
|
422
484
|
function: z.lazy(() => AgentThoughtStreamingEventFunction$inboundSchema)
|
|
423
485
|
.optional(),
|
|
424
486
|
thought_signature: z.string().optional(),
|
|
487
|
+
extra_content: z.lazy(() =>
|
|
488
|
+
AgentThoughtStreamingEventExtraContent$inboundSchema
|
|
489
|
+
).optional(),
|
|
425
490
|
}).transform((v) => {
|
|
426
491
|
return remap$(v, {
|
|
427
492
|
"thought_signature": "thoughtSignature",
|
|
493
|
+
"extra_content": "extraContent",
|
|
428
494
|
});
|
|
429
495
|
});
|
|
430
496
|
|
|
@@ -27,7 +27,7 @@ export type ClassifyAnswer = {
|
|
|
27
27
|
*/
|
|
28
28
|
choice?: string | undefined;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Probability of the selected option or level. Present for choice and score answers.
|
|
31
31
|
*/
|
|
32
32
|
confidence?: number | undefined;
|
|
33
33
|
/**
|
|
@@ -18,11 +18,11 @@ export type ClassifyUsage = {
|
|
|
18
18
|
*/
|
|
19
19
|
inputTokens: number;
|
|
20
20
|
/**
|
|
21
|
-
* Cost (USD) of output tokens
|
|
21
|
+
* Cost (USD) of output tokens. 0 for typesafe/jev-latest. Present when billing was computed for this request.
|
|
22
22
|
*/
|
|
23
23
|
outputCost?: number | undefined;
|
|
24
24
|
/**
|
|
25
|
-
* The number of output tokens generated.
|
|
25
|
+
* The number of output tokens generated. Free for typesafe/jev-latest, billed at the model rate for chat models.
|
|
26
26
|
*/
|
|
27
27
|
outputTokens: number;
|
|
28
28
|
/**
|
|
@@ -38,7 +38,7 @@ export type CreateApiKeyRequest = {
|
|
|
38
38
|
* Project authorization scope. Defaults to all-projects when omitted.
|
|
39
39
|
*/
|
|
40
40
|
projectScope?: ProjectScope | undefined;
|
|
41
|
-
permissionMode
|
|
41
|
+
permissionMode: PermissionMode;
|
|
42
42
|
/**
|
|
43
43
|
* Per-domain access map. Required when `permission_mode` =
|
|
44
44
|
*
|
|
@@ -77,7 +77,7 @@ export type CreateApiKeyRequest$Outbound = {
|
|
|
77
77
|
name: string;
|
|
78
78
|
owner?: ApiKeyOwner$Outbound | undefined;
|
|
79
79
|
project_scope?: ProjectScope$Outbound | undefined;
|
|
80
|
-
permission_mode
|
|
80
|
+
permission_mode: string;
|
|
81
81
|
access?: { [k: string]: string } | undefined;
|
|
82
82
|
expires_at?: string | undefined;
|
|
83
83
|
mcp_access?: McpAccess$Outbound | undefined;
|
|
@@ -93,7 +93,7 @@ export const CreateApiKeyRequest$outboundSchema: z.ZodType<
|
|
|
93
93
|
name: z.string(),
|
|
94
94
|
owner: ApiKeyOwner$outboundSchema.optional(),
|
|
95
95
|
projectScope: ProjectScope$outboundSchema.optional(),
|
|
96
|
-
permissionMode: PermissionMode$outboundSchema
|
|
96
|
+
permissionMode: PermissionMode$outboundSchema,
|
|
97
97
|
access: z.record(AccessLevel$outboundSchema).optional(),
|
|
98
98
|
expiresAt: z.date().transform(v => v.toISOString()).optional(),
|
|
99
99
|
mcpAccess: McpAccess$outboundSchema.optional(),
|
|
@@ -15,7 +15,7 @@ export type CreateManagementKeyRequest = {
|
|
|
15
15
|
* Human-readable name. Required.
|
|
16
16
|
*/
|
|
17
17
|
name: string;
|
|
18
|
-
permissionMode
|
|
18
|
+
permissionMode: ManagementPermissionMode;
|
|
19
19
|
/**
|
|
20
20
|
* Per-domain access map. Required when `permission_mode` =
|
|
21
21
|
*
|
|
@@ -39,7 +39,7 @@ export type CreateManagementKeyRequest = {
|
|
|
39
39
|
/** @internal */
|
|
40
40
|
export type CreateManagementKeyRequest$Outbound = {
|
|
41
41
|
name: string;
|
|
42
|
-
permission_mode
|
|
42
|
+
permission_mode: string;
|
|
43
43
|
access?: { [k: string]: string } | undefined;
|
|
44
44
|
expires_at?: string | undefined;
|
|
45
45
|
};
|
|
@@ -51,7 +51,7 @@ export const CreateManagementKeyRequest$outboundSchema: z.ZodType<
|
|
|
51
51
|
CreateManagementKeyRequest
|
|
52
52
|
> = z.object({
|
|
53
53
|
name: z.string(),
|
|
54
|
-
permissionMode: ManagementPermissionMode$outboundSchema
|
|
54
|
+
permissionMode: ManagementPermissionMode$outboundSchema,
|
|
55
55
|
access: z.record(AccessLevel$outboundSchema).optional(),
|
|
56
56
|
expiresAt: z.date().transform(v => v.toISOString()).optional(),
|
|
57
57
|
}).transform((v) => {
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import {
|
|
8
|
+
WikiRepository,
|
|
9
|
+
WikiRepository$Outbound,
|
|
10
|
+
WikiRepository$outboundSchema,
|
|
11
|
+
} from "./wikirepository.js";
|
|
12
|
+
import {
|
|
13
|
+
WikiSettings,
|
|
14
|
+
WikiSettings$Outbound,
|
|
15
|
+
WikiSettings$outboundSchema,
|
|
16
|
+
} from "./wikisettings.js";
|
|
17
|
+
|
|
18
|
+
export type CreateWikiRequest = {
|
|
19
|
+
displayName?: string | undefined;
|
|
20
|
+
repository?: WikiRepository | undefined;
|
|
21
|
+
branch?: string | undefined;
|
|
22
|
+
scmConnectionId?: string | undefined;
|
|
23
|
+
settings?: WikiSettings | undefined;
|
|
24
|
+
importExisting?: boolean | undefined;
|
|
25
|
+
factoryId?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type CreateWikiRequest$Outbound = {
|
|
30
|
+
display_name?: string | undefined;
|
|
31
|
+
repository?: WikiRepository$Outbound | undefined;
|
|
32
|
+
branch?: string | undefined;
|
|
33
|
+
scm_connection_id?: string | undefined;
|
|
34
|
+
settings?: WikiSettings$Outbound | undefined;
|
|
35
|
+
import_existing?: boolean | undefined;
|
|
36
|
+
factory_id?: string | undefined;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/** @internal */
|
|
40
|
+
export const CreateWikiRequest$outboundSchema: z.ZodType<
|
|
41
|
+
CreateWikiRequest$Outbound,
|
|
42
|
+
z.ZodTypeDef,
|
|
43
|
+
CreateWikiRequest
|
|
44
|
+
> = z.object({
|
|
45
|
+
displayName: z.string().optional(),
|
|
46
|
+
repository: WikiRepository$outboundSchema.optional(),
|
|
47
|
+
branch: z.string().optional(),
|
|
48
|
+
scmConnectionId: z.string().optional(),
|
|
49
|
+
settings: WikiSettings$outboundSchema.optional(),
|
|
50
|
+
importExisting: z.boolean().optional(),
|
|
51
|
+
factoryId: z.string().optional(),
|
|
52
|
+
}).transform((v) => {
|
|
53
|
+
return remap$(v, {
|
|
54
|
+
displayName: "display_name",
|
|
55
|
+
scmConnectionId: "scm_connection_id",
|
|
56
|
+
importExisting: "import_existing",
|
|
57
|
+
factoryId: "factory_id",
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
export function createWikiRequestToJSON(
|
|
62
|
+
createWikiRequest: CreateWikiRequest,
|
|
63
|
+
): string {
|
|
64
|
+
return JSON.stringify(
|
|
65
|
+
CreateWikiRequest$outboundSchema.parse(createWikiRequest),
|
|
66
|
+
);
|
|
67
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import { Wiki, Wiki$inboundSchema } from "./wiki.js";
|
|
10
|
+
|
|
11
|
+
export type CreateWikiResponse = {
|
|
12
|
+
wiki?: Wiki | undefined;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const CreateWikiResponse$inboundSchema: z.ZodType<
|
|
17
|
+
CreateWikiResponse,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
wiki: Wiki$inboundSchema.optional(),
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export function createWikiResponseFromJSON(
|
|
25
|
+
jsonString: string,
|
|
26
|
+
): SafeParseResult<CreateWikiResponse, SDKValidationError> {
|
|
27
|
+
return safeParse(
|
|
28
|
+
jsonString,
|
|
29
|
+
(x) => CreateWikiResponse$inboundSchema.parse(JSON.parse(x)),
|
|
30
|
+
`Failed to parse 'CreateWikiResponse' from JSON`,
|
|
31
|
+
);
|
|
32
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type DeleteWikiResponse = {};
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const DeleteWikiResponse$inboundSchema: z.ZodType<
|
|
14
|
+
DeleteWikiResponse,
|
|
15
|
+
z.ZodTypeDef,
|
|
16
|
+
unknown
|
|
17
|
+
> = z.object({});
|
|
18
|
+
|
|
19
|
+
export function deleteWikiResponseFromJSON(
|
|
20
|
+
jsonString: string,
|
|
21
|
+
): SafeParseResult<DeleteWikiResponse, SDKValidationError> {
|
|
22
|
+
return safeParse(
|
|
23
|
+
jsonString,
|
|
24
|
+
(x) => DeleteWikiResponse$inboundSchema.parse(JSON.parse(x)),
|
|
25
|
+
`Failed to parse 'DeleteWikiResponse' from JSON`,
|
|
26
|
+
);
|
|
27
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import { WikiPage, WikiPage$inboundSchema } from "./wikipage.js";
|
|
10
|
+
|
|
11
|
+
export type GetWikiPageResponse = {
|
|
12
|
+
page?: WikiPage | undefined;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const GetWikiPageResponse$inboundSchema: z.ZodType<
|
|
17
|
+
GetWikiPageResponse,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
page: WikiPage$inboundSchema.optional(),
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export function getWikiPageResponseFromJSON(
|
|
25
|
+
jsonString: string,
|
|
26
|
+
): SafeParseResult<GetWikiPageResponse, SDKValidationError> {
|
|
27
|
+
return safeParse(
|
|
28
|
+
jsonString,
|
|
29
|
+
(x) => GetWikiPageResponse$inboundSchema.parse(JSON.parse(x)),
|
|
30
|
+
`Failed to parse 'GetWikiPageResponse' from JSON`,
|
|
31
|
+
);
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import { Wiki, Wiki$inboundSchema } from "./wiki.js";
|
|
10
|
+
|
|
11
|
+
export type GetWikiResponse = {
|
|
12
|
+
wiki?: Wiki | undefined;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const GetWikiResponse$inboundSchema: z.ZodType<
|
|
17
|
+
GetWikiResponse,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
wiki: Wiki$inboundSchema.optional(),
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export function getWikiResponseFromJSON(
|
|
25
|
+
jsonString: string,
|
|
26
|
+
): SafeParseResult<GetWikiResponse, SDKValidationError> {
|
|
27
|
+
return safeParse(
|
|
28
|
+
jsonString,
|
|
29
|
+
(x) => GetWikiResponse$inboundSchema.parse(JSON.parse(x)),
|
|
30
|
+
`Failed to parse 'GetWikiResponse' from JSON`,
|
|
31
|
+
);
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import { WikiTreePage, WikiTreePage$inboundSchema } from "./wikitreepage.js";
|
|
10
|
+
|
|
11
|
+
export type GetWikiTreeResponse = {
|
|
12
|
+
pages?: Array<WikiTreePage> | undefined;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const GetWikiTreeResponse$inboundSchema: z.ZodType<
|
|
17
|
+
GetWikiTreeResponse,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
pages: z.array(WikiTreePage$inboundSchema).optional(),
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export function getWikiTreeResponseFromJSON(
|
|
25
|
+
jsonString: string,
|
|
26
|
+
): SafeParseResult<GetWikiTreeResponse, SDKValidationError> {
|
|
27
|
+
return safeParse(
|
|
28
|
+
jsonString,
|
|
29
|
+
(x) => GetWikiTreeResponse$inboundSchema.parse(JSON.parse(x)),
|
|
30
|
+
`Failed to parse 'GetWikiTreeResponse' from JSON`,
|
|
31
|
+
);
|
|
32
|
+
}
|
|
@@ -45,11 +45,6 @@ export * from "./apikeyowner.js";
|
|
|
45
45
|
export * from "./apikeyrestresponse.js";
|
|
46
46
|
export * from "./apikeystatus.js";
|
|
47
47
|
export * from "./audiocontentpartschema.js";
|
|
48
|
-
export * from "./auditlog.js";
|
|
49
|
-
export * from "./auditlogfilter.js";
|
|
50
|
-
export * from "./auditlogfilterquery.js";
|
|
51
|
-
export * from "./auditlogpagination.js";
|
|
52
|
-
export * from "./auditlogsort.js";
|
|
53
48
|
export * from "./autorouterconfig.js";
|
|
54
49
|
export * from "./autorouterv2config.js";
|
|
55
50
|
export * from "./autorouterv2creatorconfig.js";
|
|
@@ -136,6 +131,8 @@ export * from "./createsmartrouterrequest.js";
|
|
|
136
131
|
export * from "./createsmartrouterresponse.js";
|
|
137
132
|
export * from "./createthreadrequest.js";
|
|
138
133
|
export * from "./createwebhookrequest.js";
|
|
134
|
+
export * from "./createwikirequest.js";
|
|
135
|
+
export * from "./createwikiresponse.js";
|
|
139
136
|
export * from "./currentdatetoolinput.js";
|
|
140
137
|
export * from "./datapart.js";
|
|
141
138
|
export * from "./datapoint.js";
|
|
@@ -164,6 +161,7 @@ export * from "./deleteprojectresponse.js";
|
|
|
164
161
|
export * from "./deleteskillresponse.js";
|
|
165
162
|
export * from "./deletesmartrouterresponse.js";
|
|
166
163
|
export * from "./deletewebhookresponse.js";
|
|
164
|
+
export * from "./deletewikiresponse.js";
|
|
167
165
|
export * from "./detectrequest.js";
|
|
168
166
|
export * from "./detectresponse.js";
|
|
169
167
|
export * from "./domain.js";
|
|
@@ -240,6 +238,9 @@ export * from "./getthreadcountresponse.js";
|
|
|
240
238
|
export * from "./gettraceresponse.js";
|
|
241
239
|
export * from "./gettracespanresponse.js";
|
|
242
240
|
export * from "./getuploadfileurlresponse.js";
|
|
241
|
+
export * from "./getwikipageresponse.js";
|
|
242
|
+
export * from "./getwikiresponse.js";
|
|
243
|
+
export * from "./getwikitreeresponse.js";
|
|
243
244
|
export * from "./getworkspaceresponse.js";
|
|
244
245
|
export * from "./getworkspacesettingsresponse.js";
|
|
245
246
|
export * from "./googlesearchtoolinput.js";
|
|
@@ -259,6 +260,8 @@ export * from "./identitysortfield.js";
|
|
|
259
260
|
export * from "./imagecontentpartschema.js";
|
|
260
261
|
export * from "./incompletedetails.js";
|
|
261
262
|
export * from "./inputtokensdetails.js";
|
|
263
|
+
export * from "./inspectrepositorywikirequest.js";
|
|
264
|
+
export * from "./inspectrepositorywikiresponse.js";
|
|
262
265
|
export * from "./internalretrievalconfig.js";
|
|
263
266
|
export * from "./invokedeploymentrequest.js";
|
|
264
267
|
export * from "./invokeevaluatorrequest.js";
|
|
@@ -320,6 +323,8 @@ export * from "./listtracefieldsresponse.js";
|
|
|
320
323
|
export * from "./listtracelogsresponse.js";
|
|
321
324
|
export * from "./listtracespansresponse.js";
|
|
322
325
|
export * from "./listwebhooksresponse.js";
|
|
326
|
+
export * from "./listwikirunsresponse.js";
|
|
327
|
+
export * from "./listwikisresponse.js";
|
|
323
328
|
export * from "./listworkspacesresponse.js";
|
|
324
329
|
export * from "./litellmmodel.js";
|
|
325
330
|
export * from "./litellmmodelinfo.js";
|
|
@@ -419,8 +424,6 @@ export * from "./publicschedule.js";
|
|
|
419
424
|
export * from "./publicscheduleerrordetail.js";
|
|
420
425
|
export * from "./publicschedulepayload.js";
|
|
421
426
|
export * from "./publicusage.js";
|
|
422
|
-
export * from "./queryauditlogsrequest.js";
|
|
423
|
-
export * from "./queryauditlogsresponse.js";
|
|
424
427
|
export * from "./queryknowledgebasetoolinput.js";
|
|
425
428
|
export * from "./querylogsrequest.js";
|
|
426
429
|
export * from "./querylogsresponse.js";
|
|
@@ -445,6 +448,8 @@ export * from "./reasoningpartschema.js";
|
|
|
445
448
|
export * from "./redactedreasoningpartschema.js";
|
|
446
449
|
export * from "./redactrequest.js";
|
|
447
450
|
export * from "./redactresponse.js";
|
|
451
|
+
export * from "./refreshwikirequest.js";
|
|
452
|
+
export * from "./refreshwikiresponse.js";
|
|
448
453
|
export * from "./refusalpartschema.js";
|
|
449
454
|
export * from "./removeannotationqueueitemsrequest.js";
|
|
450
455
|
export * from "./requestlimit.js";
|
|
@@ -543,6 +548,7 @@ export * from "./searchretrievalconfig.js";
|
|
|
543
548
|
export * from "./searchtracesrequest.js";
|
|
544
549
|
export * from "./searchtracesresponse.js";
|
|
545
550
|
export * from "./searchtype.js";
|
|
551
|
+
export * from "./searchwikiresponse.js";
|
|
546
552
|
export * from "./security.js";
|
|
547
553
|
export * from "./securityconfig.js";
|
|
548
554
|
export * from "./servertoolusedetails.js";
|
|
@@ -651,6 +657,10 @@ export * from "./updateskillresponse.js";
|
|
|
651
657
|
export * from "./updatesmartrouterrequest.js";
|
|
652
658
|
export * from "./updatesmartrouterresponse.js";
|
|
653
659
|
export * from "./updatethreadrequest.js";
|
|
660
|
+
export * from "./updatewikipagerequest.js";
|
|
661
|
+
export * from "./updatewikipageresponse.js";
|
|
662
|
+
export * from "./updatewikirequest.js";
|
|
663
|
+
export * from "./updatewikiresponse.js";
|
|
654
664
|
export * from "./updateworkspacerequest.js";
|
|
655
665
|
export * from "./updateworkspaceresponse.js";
|
|
656
666
|
export * from "./updateworkspacesettingsrequest.js";
|
|
@@ -658,7 +668,6 @@ export * from "./updateworkspacesettingsresponse.js";
|
|
|
658
668
|
export * from "./uploadpostpolicy.js";
|
|
659
669
|
export * from "./upsertchunk.js";
|
|
660
670
|
export * from "./userowner.js";
|
|
661
|
-
export * from "./value.js";
|
|
662
671
|
export * from "./verifydomainresponse.js";
|
|
663
672
|
export * from "./vertexcapabilities.js";
|
|
664
673
|
export * from "./vertexconfiguration.js";
|
|
@@ -668,6 +677,14 @@ export * from "./vertexparamrange.js";
|
|
|
668
677
|
export * from "./vertexparamrangeint.js";
|
|
669
678
|
export * from "./webhook.js";
|
|
670
679
|
export * from "./webscrapertoolinput.js";
|
|
680
|
+
export * from "./wiki.js";
|
|
681
|
+
export * from "./wikipage.js";
|
|
682
|
+
export * from "./wikirepository.js";
|
|
683
|
+
export * from "./wikirun.js";
|
|
684
|
+
export * from "./wikirunstats.js";
|
|
685
|
+
export * from "./wikisearchhit.js";
|
|
686
|
+
export * from "./wikisettings.js";
|
|
687
|
+
export * from "./wikitreepage.js";
|
|
671
688
|
export * from "./workspace.js";
|
|
672
689
|
export * from "./workspacebudgetscope.js";
|
|
673
690
|
export * from "./workspacecapabilities.js";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type InspectRepositoryWikiRequest = {
|
|
9
|
+
scmConnectionId?: string | undefined;
|
|
10
|
+
repositoryUrl?: string | undefined;
|
|
11
|
+
branch?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type InspectRepositoryWikiRequest$Outbound = {
|
|
16
|
+
scm_connection_id?: string | undefined;
|
|
17
|
+
repository_url?: string | undefined;
|
|
18
|
+
branch?: string | undefined;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const InspectRepositoryWikiRequest$outboundSchema: z.ZodType<
|
|
23
|
+
InspectRepositoryWikiRequest$Outbound,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
InspectRepositoryWikiRequest
|
|
26
|
+
> = z.object({
|
|
27
|
+
scmConnectionId: z.string().optional(),
|
|
28
|
+
repositoryUrl: z.string().optional(),
|
|
29
|
+
branch: z.string().optional(),
|
|
30
|
+
}).transform((v) => {
|
|
31
|
+
return remap$(v, {
|
|
32
|
+
scmConnectionId: "scm_connection_id",
|
|
33
|
+
repositoryUrl: "repository_url",
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export function inspectRepositoryWikiRequestToJSON(
|
|
38
|
+
inspectRepositoryWikiRequest: InspectRepositoryWikiRequest,
|
|
39
|
+
): string {
|
|
40
|
+
return JSON.stringify(
|
|
41
|
+
InspectRepositoryWikiRequest$outboundSchema.parse(
|
|
42
|
+
inspectRepositoryWikiRequest,
|
|
43
|
+
),
|
|
44
|
+
);
|
|
45
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
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 InspectRepositoryWikiResponse = {
|
|
12
|
+
available?: boolean | undefined;
|
|
13
|
+
pageCount?: number | undefined;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const InspectRepositoryWikiResponse$inboundSchema: z.ZodType<
|
|
18
|
+
InspectRepositoryWikiResponse,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
available: z.boolean().optional(),
|
|
23
|
+
page_count: z.number().int().optional(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
"page_count": "pageCount",
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export function inspectRepositoryWikiResponseFromJSON(
|
|
31
|
+
jsonString: string,
|
|
32
|
+
): SafeParseResult<InspectRepositoryWikiResponse, SDKValidationError> {
|
|
33
|
+
return safeParse(
|
|
34
|
+
jsonString,
|
|
35
|
+
(x) => InspectRepositoryWikiResponse$inboundSchema.parse(JSON.parse(x)),
|
|
36
|
+
`Failed to parse 'InspectRepositoryWikiResponse' from JSON`,
|
|
37
|
+
);
|
|
38
|
+
}
|