@orq-ai/node 4.16.11 → 4.16.13
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 +2 -2
- package/lib/config.js +2 -2
- package/models/components/reasoningpart.js +1 -1
- 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/listdeploymentversions.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/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +8 -8
- package/packages/orq-rc/src/funcs/auditLogDestinationsCreate.ts +172 -0
- package/packages/orq-rc/src/funcs/auditLogDestinationsDelete.ts +180 -0
- package/packages/orq-rc/src/funcs/auditLogDestinationsGet.ts +180 -0
- package/packages/orq-rc/src/funcs/auditLogDestinationsList.ts +181 -0
- package/packages/orq-rc/src/funcs/auditLogDestinationsListDeliveries.ts +190 -0
- package/packages/orq-rc/src/funcs/auditLogDestinationsReplay.ts +183 -0
- package/packages/orq-rc/src/funcs/auditLogDestinationsRotateSecret.ts +185 -0
- package/packages/orq-rc/src/funcs/auditLogDestinationsTest.ts +180 -0
- package/packages/orq-rc/src/funcs/auditLogDestinationsUpdate.ts +183 -0
- package/packages/orq-rc/src/funcs/websearchSearch.ts +3 -3
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/auditlogdelivery.ts +100 -0
- package/packages/orq-rc/src/models/components/auditlogdeliverykind.ts +18 -0
- package/packages/orq-rc/src/models/components/auditlogdeliverystatus.ts +24 -0
- package/packages/orq-rc/src/models/components/auditlogdestination.ts +83 -0
- package/packages/orq-rc/src/models/components/auditlogdestinationstatus.ts +23 -0
- package/packages/orq-rc/src/models/components/budgetalert.ts +1 -0
- package/packages/orq-rc/src/models/components/budgetalertrestresponse.ts +1 -0
- package/packages/orq-rc/src/models/components/budgetscope.ts +1 -1
- package/packages/orq-rc/src/models/components/budgetscoperestresponse.ts +1 -1
- package/packages/orq-rc/src/models/components/createauditlogdestinationrequest.ts +53 -0
- package/packages/orq-rc/src/models/components/createauditlogdestinationresponse.ts +45 -0
- package/packages/orq-rc/src/models/components/createbudgetrequest.ts +3 -3
- package/packages/orq-rc/src/models/components/deleteauditlogdestinationresponse.ts +27 -0
- package/packages/orq-rc/src/models/components/effectiveuserpermissions.ts +31 -0
- package/packages/orq-rc/src/models/components/getauditlogdestinationresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/guardrailruleplugin.ts +1 -1
- package/packages/orq-rc/src/models/components/index.ts +18 -0
- package/packages/orq-rc/src/models/components/listauditlogdeliveriesresponse.ts +44 -0
- package/packages/orq-rc/src/models/components/listauditlogdestinationsresponse.ts +44 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/replayauditlogdeliveriesrequest.ts +42 -0
- package/packages/orq-rc/src/models/components/replayauditlogdeliveriesresponse.ts +41 -0
- package/packages/orq-rc/src/models/components/rotateauditlogdestinationsecretresponse.ts +51 -0
- package/packages/orq-rc/src/models/components/routingruleplugin.ts +1 -1
- package/packages/orq-rc/src/models/components/spansummary.ts +6 -0
- package/packages/orq-rc/src/models/components/testauditlogdestinationresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/updateauditlogdestinationrequest.ts +60 -0
- package/packages/orq-rc/src/models/components/updateauditlogdestinationresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/workspacecapabilities.ts +11 -0
- package/packages/orq-rc/src/models/operations/auditlogdestinationdelete.ts +38 -0
- package/packages/orq-rc/src/models/operations/auditlogdestinationget.ts +38 -0
- package/packages/orq-rc/src/models/operations/auditlogdestinationlist.ts +45 -0
- package/packages/orq-rc/src/models/operations/auditlogdestinationlistdeliveries.ts +54 -0
- package/packages/orq-rc/src/models/operations/auditlogdestinationreplay.ts +45 -0
- package/packages/orq-rc/src/models/operations/auditlogdestinationrotatesecret.ts +39 -0
- package/packages/orq-rc/src/models/operations/auditlogdestinationtest.ts +38 -0
- package/packages/orq-rc/src/models/operations/auditlogdestinationupdate.ts +45 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +4 -4
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcompletion.ts +2 -2
- package/packages/orq-rc/src/models/operations/createimage.ts +2 -2
- package/packages/orq-rc/src/models/operations/createimageedit.ts +2 -2
- package/packages/orq-rc/src/models/operations/createimagevariation.ts +2 -2
- package/packages/orq-rc/src/models/operations/createprompt.ts +2 -2
- package/packages/orq-rc/src/models/operations/creatererank.ts +2 -2
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/getallprompts.ts +1 -1
- package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +1 -1
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +1 -1
- 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/index.ts +8 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +1 -1
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +1 -1
- 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/retrieveagentrequest.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
- package/packages/orq-rc/src/models/operations/runagent.ts +3 -3
- package/packages/orq-rc/src/models/operations/searchweb.ts +3 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +3 -3
- package/packages/orq-rc/src/models/operations/updateagent.ts +4 -4
- package/packages/orq-rc/src/models/operations/updateprompt.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/sdk/auditlogdestinations.ts +172 -0
- package/packages/orq-rc/src/sdk/sdk.ts +8 -0
- package/packages/orq-rc/src/sdk/websearch.ts +3 -3
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- 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/listdeploymentversions.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/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
AuditLogDestinationStatus,
|
|
9
|
+
AuditLogDestinationStatus$outboundSchema,
|
|
10
|
+
} from "./auditlogdestinationstatus.js";
|
|
11
|
+
|
|
12
|
+
export type UpdateAuditLogDestinationRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* Optional. New destination name.
|
|
15
|
+
*/
|
|
16
|
+
displayName?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Optional. New description. An empty string clears it.
|
|
19
|
+
*/
|
|
20
|
+
description?: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Optional. New HTTPS endpoint. Accepted only while the destination is paused.
|
|
23
|
+
*/
|
|
24
|
+
url?: string | undefined;
|
|
25
|
+
status?: AuditLogDestinationStatus | undefined;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type UpdateAuditLogDestinationRequest$Outbound = {
|
|
30
|
+
display_name?: string | undefined;
|
|
31
|
+
description?: string | undefined;
|
|
32
|
+
url?: string | undefined;
|
|
33
|
+
status?: string | undefined;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const UpdateAuditLogDestinationRequest$outboundSchema: z.ZodType<
|
|
38
|
+
UpdateAuditLogDestinationRequest$Outbound,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
UpdateAuditLogDestinationRequest
|
|
41
|
+
> = z.object({
|
|
42
|
+
displayName: z.string().optional(),
|
|
43
|
+
description: z.string().optional(),
|
|
44
|
+
url: z.string().optional(),
|
|
45
|
+
status: AuditLogDestinationStatus$outboundSchema.optional(),
|
|
46
|
+
}).transform((v) => {
|
|
47
|
+
return remap$(v, {
|
|
48
|
+
displayName: "display_name",
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
export function updateAuditLogDestinationRequestToJSON(
|
|
53
|
+
updateAuditLogDestinationRequest: UpdateAuditLogDestinationRequest,
|
|
54
|
+
): string {
|
|
55
|
+
return JSON.stringify(
|
|
56
|
+
UpdateAuditLogDestinationRequest$outboundSchema.parse(
|
|
57
|
+
updateAuditLogDestinationRequest,
|
|
58
|
+
),
|
|
59
|
+
);
|
|
60
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 {
|
|
10
|
+
AuditLogDestination,
|
|
11
|
+
AuditLogDestination$inboundSchema,
|
|
12
|
+
} from "./auditlogdestination.js";
|
|
13
|
+
|
|
14
|
+
export type UpdateAuditLogDestinationResponse = {
|
|
15
|
+
destination: AuditLogDestination;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const UpdateAuditLogDestinationResponse$inboundSchema: z.ZodType<
|
|
20
|
+
UpdateAuditLogDestinationResponse,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
destination: AuditLogDestination$inboundSchema,
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function updateAuditLogDestinationResponseFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<UpdateAuditLogDestinationResponse, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => UpdateAuditLogDestinationResponse$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'UpdateAuditLogDestinationResponse' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -3,13 +3,19 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
EffectiveUserPermissions,
|
|
12
|
+
EffectiveUserPermissions$inboundSchema,
|
|
13
|
+
} from "./effectiveuserpermissions.js";
|
|
9
14
|
|
|
10
15
|
export type WorkspaceCapabilities = {
|
|
11
16
|
roles?: Array<string> | undefined;
|
|
12
17
|
projects?: Array<string> | undefined;
|
|
18
|
+
userPermissions?: EffectiveUserPermissions | undefined;
|
|
13
19
|
};
|
|
14
20
|
|
|
15
21
|
/** @internal */
|
|
@@ -20,6 +26,11 @@ export const WorkspaceCapabilities$inboundSchema: z.ZodType<
|
|
|
20
26
|
> = z.object({
|
|
21
27
|
roles: z.array(z.string()).optional(),
|
|
22
28
|
projects: z.array(z.string()).optional(),
|
|
29
|
+
user_permissions: EffectiveUserPermissions$inboundSchema.optional(),
|
|
30
|
+
}).transform((v) => {
|
|
31
|
+
return remap$(v, {
|
|
32
|
+
"user_permissions": "userPermissions",
|
|
33
|
+
});
|
|
23
34
|
});
|
|
24
35
|
|
|
25
36
|
export function workspaceCapabilitiesFromJSON(
|
|
@@ -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
|
+
|
|
8
|
+
export type AuditLogDestinationDeleteRequest = {
|
|
9
|
+
destinationId: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type AuditLogDestinationDeleteRequest$Outbound = {
|
|
14
|
+
destination_id: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const AuditLogDestinationDeleteRequest$outboundSchema: z.ZodType<
|
|
19
|
+
AuditLogDestinationDeleteRequest$Outbound,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
AuditLogDestinationDeleteRequest
|
|
22
|
+
> = z.object({
|
|
23
|
+
destinationId: z.string(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
destinationId: "destination_id",
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export function auditLogDestinationDeleteRequestToJSON(
|
|
31
|
+
auditLogDestinationDeleteRequest: AuditLogDestinationDeleteRequest,
|
|
32
|
+
): string {
|
|
33
|
+
return JSON.stringify(
|
|
34
|
+
AuditLogDestinationDeleteRequest$outboundSchema.parse(
|
|
35
|
+
auditLogDestinationDeleteRequest,
|
|
36
|
+
),
|
|
37
|
+
);
|
|
38
|
+
}
|
|
@@ -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
|
+
|
|
8
|
+
export type AuditLogDestinationGetRequest = {
|
|
9
|
+
destinationId: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type AuditLogDestinationGetRequest$Outbound = {
|
|
14
|
+
destination_id: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const AuditLogDestinationGetRequest$outboundSchema: z.ZodType<
|
|
19
|
+
AuditLogDestinationGetRequest$Outbound,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
AuditLogDestinationGetRequest
|
|
22
|
+
> = z.object({
|
|
23
|
+
destinationId: z.string(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
destinationId: "destination_id",
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export function auditLogDestinationGetRequestToJSON(
|
|
31
|
+
auditLogDestinationGetRequest: AuditLogDestinationGetRequest,
|
|
32
|
+
): string {
|
|
33
|
+
return JSON.stringify(
|
|
34
|
+
AuditLogDestinationGetRequest$outboundSchema.parse(
|
|
35
|
+
auditLogDestinationGetRequest,
|
|
36
|
+
),
|
|
37
|
+
);
|
|
38
|
+
}
|
|
@@ -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 AuditLogDestinationListRequest = {
|
|
9
|
+
limit?: number | undefined;
|
|
10
|
+
startingAfter?: string | undefined;
|
|
11
|
+
endingBefore?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type AuditLogDestinationListRequest$Outbound = {
|
|
16
|
+
limit?: number | undefined;
|
|
17
|
+
starting_after?: string | undefined;
|
|
18
|
+
ending_before?: string | undefined;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const AuditLogDestinationListRequest$outboundSchema: z.ZodType<
|
|
23
|
+
AuditLogDestinationListRequest$Outbound,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
AuditLogDestinationListRequest
|
|
26
|
+
> = z.object({
|
|
27
|
+
limit: z.number().int().optional(),
|
|
28
|
+
startingAfter: z.string().optional(),
|
|
29
|
+
endingBefore: z.string().optional(),
|
|
30
|
+
}).transform((v) => {
|
|
31
|
+
return remap$(v, {
|
|
32
|
+
startingAfter: "starting_after",
|
|
33
|
+
endingBefore: "ending_before",
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export function auditLogDestinationListRequestToJSON(
|
|
38
|
+
auditLogDestinationListRequest: AuditLogDestinationListRequest,
|
|
39
|
+
): string {
|
|
40
|
+
return JSON.stringify(
|
|
41
|
+
AuditLogDestinationListRequest$outboundSchema.parse(
|
|
42
|
+
auditLogDestinationListRequest,
|
|
43
|
+
),
|
|
44
|
+
);
|
|
45
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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 * as components from "../components/index.js";
|
|
8
|
+
|
|
9
|
+
export type AuditLogDestinationListDeliveriesRequest = {
|
|
10
|
+
destinationId: string;
|
|
11
|
+
limit?: number | undefined;
|
|
12
|
+
startingAfter?: string | undefined;
|
|
13
|
+
endingBefore?: string | undefined;
|
|
14
|
+
status?: Array<components.AuditLogDeliveryStatus> | undefined;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export type AuditLogDestinationListDeliveriesRequest$Outbound = {
|
|
19
|
+
destination_id: string;
|
|
20
|
+
limit?: number | undefined;
|
|
21
|
+
starting_after?: string | undefined;
|
|
22
|
+
ending_before?: string | undefined;
|
|
23
|
+
status?: Array<string> | undefined;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const AuditLogDestinationListDeliveriesRequest$outboundSchema: z.ZodType<
|
|
28
|
+
AuditLogDestinationListDeliveriesRequest$Outbound,
|
|
29
|
+
z.ZodTypeDef,
|
|
30
|
+
AuditLogDestinationListDeliveriesRequest
|
|
31
|
+
> = z.object({
|
|
32
|
+
destinationId: z.string(),
|
|
33
|
+
limit: z.number().int().optional(),
|
|
34
|
+
startingAfter: z.string().optional(),
|
|
35
|
+
endingBefore: z.string().optional(),
|
|
36
|
+
status: z.array(components.AuditLogDeliveryStatus$outboundSchema).optional(),
|
|
37
|
+
}).transform((v) => {
|
|
38
|
+
return remap$(v, {
|
|
39
|
+
destinationId: "destination_id",
|
|
40
|
+
startingAfter: "starting_after",
|
|
41
|
+
endingBefore: "ending_before",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
export function auditLogDestinationListDeliveriesRequestToJSON(
|
|
46
|
+
auditLogDestinationListDeliveriesRequest:
|
|
47
|
+
AuditLogDestinationListDeliveriesRequest,
|
|
48
|
+
): string {
|
|
49
|
+
return JSON.stringify(
|
|
50
|
+
AuditLogDestinationListDeliveriesRequest$outboundSchema.parse(
|
|
51
|
+
auditLogDestinationListDeliveriesRequest,
|
|
52
|
+
),
|
|
53
|
+
);
|
|
54
|
+
}
|
|
@@ -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
|
+
import * as components from "../components/index.js";
|
|
8
|
+
|
|
9
|
+
export type AuditLogDestinationReplayRequest = {
|
|
10
|
+
destinationId: string;
|
|
11
|
+
replayAuditLogDeliveriesRequest: components.ReplayAuditLogDeliveriesRequest;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type AuditLogDestinationReplayRequest$Outbound = {
|
|
16
|
+
destination_id: string;
|
|
17
|
+
ReplayAuditLogDeliveriesRequest:
|
|
18
|
+
components.ReplayAuditLogDeliveriesRequest$Outbound;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const AuditLogDestinationReplayRequest$outboundSchema: z.ZodType<
|
|
23
|
+
AuditLogDestinationReplayRequest$Outbound,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
AuditLogDestinationReplayRequest
|
|
26
|
+
> = z.object({
|
|
27
|
+
destinationId: z.string(),
|
|
28
|
+
replayAuditLogDeliveriesRequest:
|
|
29
|
+
components.ReplayAuditLogDeliveriesRequest$outboundSchema,
|
|
30
|
+
}).transform((v) => {
|
|
31
|
+
return remap$(v, {
|
|
32
|
+
destinationId: "destination_id",
|
|
33
|
+
replayAuditLogDeliveriesRequest: "ReplayAuditLogDeliveriesRequest",
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export function auditLogDestinationReplayRequestToJSON(
|
|
38
|
+
auditLogDestinationReplayRequest: AuditLogDestinationReplayRequest,
|
|
39
|
+
): string {
|
|
40
|
+
return JSON.stringify(
|
|
41
|
+
AuditLogDestinationReplayRequest$outboundSchema.parse(
|
|
42
|
+
auditLogDestinationReplayRequest,
|
|
43
|
+
),
|
|
44
|
+
);
|
|
45
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 AuditLogDestinationRotateSecretRequest = {
|
|
9
|
+
destinationId: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type AuditLogDestinationRotateSecretRequest$Outbound = {
|
|
14
|
+
destination_id: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const AuditLogDestinationRotateSecretRequest$outboundSchema: z.ZodType<
|
|
19
|
+
AuditLogDestinationRotateSecretRequest$Outbound,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
AuditLogDestinationRotateSecretRequest
|
|
22
|
+
> = z.object({
|
|
23
|
+
destinationId: z.string(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
destinationId: "destination_id",
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export function auditLogDestinationRotateSecretRequestToJSON(
|
|
31
|
+
auditLogDestinationRotateSecretRequest:
|
|
32
|
+
AuditLogDestinationRotateSecretRequest,
|
|
33
|
+
): string {
|
|
34
|
+
return JSON.stringify(
|
|
35
|
+
AuditLogDestinationRotateSecretRequest$outboundSchema.parse(
|
|
36
|
+
auditLogDestinationRotateSecretRequest,
|
|
37
|
+
),
|
|
38
|
+
);
|
|
39
|
+
}
|
|
@@ -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
|
+
|
|
8
|
+
export type AuditLogDestinationTestRequest = {
|
|
9
|
+
destinationId: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type AuditLogDestinationTestRequest$Outbound = {
|
|
14
|
+
destination_id: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const AuditLogDestinationTestRequest$outboundSchema: z.ZodType<
|
|
19
|
+
AuditLogDestinationTestRequest$Outbound,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
AuditLogDestinationTestRequest
|
|
22
|
+
> = z.object({
|
|
23
|
+
destinationId: z.string(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
destinationId: "destination_id",
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export function auditLogDestinationTestRequestToJSON(
|
|
31
|
+
auditLogDestinationTestRequest: AuditLogDestinationTestRequest,
|
|
32
|
+
): string {
|
|
33
|
+
return JSON.stringify(
|
|
34
|
+
AuditLogDestinationTestRequest$outboundSchema.parse(
|
|
35
|
+
auditLogDestinationTestRequest,
|
|
36
|
+
),
|
|
37
|
+
);
|
|
38
|
+
}
|
|
@@ -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
|
+
import * as components from "../components/index.js";
|
|
8
|
+
|
|
9
|
+
export type AuditLogDestinationUpdateRequest = {
|
|
10
|
+
destinationId: string;
|
|
11
|
+
updateAuditLogDestinationRequest: components.UpdateAuditLogDestinationRequest;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type AuditLogDestinationUpdateRequest$Outbound = {
|
|
16
|
+
destination_id: string;
|
|
17
|
+
UpdateAuditLogDestinationRequest:
|
|
18
|
+
components.UpdateAuditLogDestinationRequest$Outbound;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const AuditLogDestinationUpdateRequest$outboundSchema: z.ZodType<
|
|
23
|
+
AuditLogDestinationUpdateRequest$Outbound,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
AuditLogDestinationUpdateRequest
|
|
26
|
+
> = z.object({
|
|
27
|
+
destinationId: z.string(),
|
|
28
|
+
updateAuditLogDestinationRequest:
|
|
29
|
+
components.UpdateAuditLogDestinationRequest$outboundSchema,
|
|
30
|
+
}).transform((v) => {
|
|
31
|
+
return remap$(v, {
|
|
32
|
+
destinationId: "destination_id",
|
|
33
|
+
updateAuditLogDestinationRequest: "UpdateAuditLogDestinationRequest",
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export function auditLogDestinationUpdateRequestToJSON(
|
|
38
|
+
auditLogDestinationUpdateRequest: AuditLogDestinationUpdateRequest,
|
|
39
|
+
): string {
|
|
40
|
+
return JSON.stringify(
|
|
41
|
+
AuditLogDestinationUpdateRequest$outboundSchema.parse(
|
|
42
|
+
auditLogDestinationUpdateRequest,
|
|
43
|
+
),
|
|
44
|
+
);
|
|
45
|
+
}
|
|
@@ -2834,7 +2834,7 @@ export const Cache$outboundSchema: z.ZodType<
|
|
|
2834
2834
|
z.ZodTypeDef,
|
|
2835
2835
|
Cache
|
|
2836
2836
|
> = z.object({
|
|
2837
|
-
ttl: z.number().default(
|
|
2837
|
+
ttl: z.number().default(3600),
|
|
2838
2838
|
type: ModelConfigurationType$outboundSchema,
|
|
2839
2839
|
});
|
|
2840
2840
|
|
|
@@ -3558,7 +3558,7 @@ export const FallbackModelConfigurationCache$outboundSchema: z.ZodType<
|
|
|
3558
3558
|
z.ZodTypeDef,
|
|
3559
3559
|
FallbackModelConfigurationCache
|
|
3560
3560
|
> = z.object({
|
|
3561
|
-
ttl: z.number().default(
|
|
3561
|
+
ttl: z.number().default(3600),
|
|
3562
3562
|
type: FallbackModelConfigurationType$outboundSchema,
|
|
3563
3563
|
});
|
|
3564
3564
|
|
|
@@ -4811,7 +4811,7 @@ export const CreateAgentRequestCache$inboundSchema: z.ZodType<
|
|
|
4811
4811
|
z.ZodTypeDef,
|
|
4812
4812
|
unknown
|
|
4813
4813
|
> = z.object({
|
|
4814
|
-
ttl: z.number().default(
|
|
4814
|
+
ttl: z.number().default(3600),
|
|
4815
4815
|
type: CreateAgentRequestAgentsType$inboundSchema,
|
|
4816
4816
|
});
|
|
4817
4817
|
|
|
@@ -5492,7 +5492,7 @@ export const CreateAgentRequestFallbackModelConfigurationCache$inboundSchema:
|
|
|
5492
5492
|
z.ZodTypeDef,
|
|
5493
5493
|
unknown
|
|
5494
5494
|
> = z.object({
|
|
5495
|
-
ttl: z.number().default(
|
|
5495
|
+
ttl: z.number().default(3600),
|
|
5496
5496
|
type: CreateAgentRequestFallbackModelConfigurationAgentsType$inboundSchema,
|
|
5497
5497
|
});
|
|
5498
5498
|
|
|
@@ -3630,7 +3630,7 @@ export const CreateChatCompletionCache$outboundSchema: z.ZodType<
|
|
|
3630
3630
|
z.ZodTypeDef,
|
|
3631
3631
|
CreateChatCompletionCache
|
|
3632
3632
|
> = z.object({
|
|
3633
|
-
ttl: z.number().default(
|
|
3633
|
+
ttl: z.number().default(3600),
|
|
3634
3634
|
type: CreateChatCompletionRouterChatCompletionsRequestType$outboundSchema,
|
|
3635
3635
|
});
|
|
3636
3636
|
|
|
@@ -3959,7 +3959,7 @@ export const CreateChatCompletionRouterChatCompletionsCache$outboundSchema:
|
|
|
3959
3959
|
z.ZodTypeDef,
|
|
3960
3960
|
CreateChatCompletionRouterChatCompletionsCache
|
|
3961
3961
|
> = z.object({
|
|
3962
|
-
ttl: z.number().default(
|
|
3962
|
+
ttl: z.number().default(3600),
|
|
3963
3963
|
type:
|
|
3964
3964
|
CreateChatCompletionRouterChatCompletionsRequestRequestBodyOrqType$outboundSchema,
|
|
3965
3965
|
});
|
|
@@ -1095,7 +1095,7 @@ export const CreateCompletionCache$outboundSchema: z.ZodType<
|
|
|
1095
1095
|
z.ZodTypeDef,
|
|
1096
1096
|
CreateCompletionCache
|
|
1097
1097
|
> = z.object({
|
|
1098
|
-
ttl: z.number().default(
|
|
1098
|
+
ttl: z.number().default(3600),
|
|
1099
1099
|
type: CreateCompletionType$outboundSchema,
|
|
1100
1100
|
});
|
|
1101
1101
|
|
|
@@ -1419,7 +1419,7 @@ export const CreateCompletionRouterCompletionsCache$outboundSchema: z.ZodType<
|
|
|
1419
1419
|
z.ZodTypeDef,
|
|
1420
1420
|
CreateCompletionRouterCompletionsCache
|
|
1421
1421
|
> = z.object({
|
|
1422
|
-
ttl: z.number().default(
|
|
1422
|
+
ttl: z.number().default(3600),
|
|
1423
1423
|
type: CreateCompletionRouterCompletionsType$outboundSchema,
|
|
1424
1424
|
});
|
|
1425
1425
|
|
|
@@ -506,7 +506,7 @@ export const CreateImageCache$outboundSchema: z.ZodType<
|
|
|
506
506
|
z.ZodTypeDef,
|
|
507
507
|
CreateImageCache
|
|
508
508
|
> = z.object({
|
|
509
|
-
ttl: z.number().default(
|
|
509
|
+
ttl: z.number().default(3600),
|
|
510
510
|
type: CreateImageType$outboundSchema,
|
|
511
511
|
});
|
|
512
512
|
|
|
@@ -693,7 +693,7 @@ export const CreateImageRouterImagesGenerationsCache$outboundSchema: z.ZodType<
|
|
|
693
693
|
z.ZodTypeDef,
|
|
694
694
|
CreateImageRouterImagesGenerationsCache
|
|
695
695
|
> = z.object({
|
|
696
|
-
ttl: z.number().default(
|
|
696
|
+
ttl: z.number().default(3600),
|
|
697
697
|
type: CreateImageRouterImagesGenerationsType$outboundSchema,
|
|
698
698
|
});
|
|
699
699
|
|
|
@@ -511,7 +511,7 @@ export const CreateImageEditCache$outboundSchema: z.ZodType<
|
|
|
511
511
|
z.ZodTypeDef,
|
|
512
512
|
CreateImageEditCache
|
|
513
513
|
> = z.object({
|
|
514
|
-
ttl: z.number().default(
|
|
514
|
+
ttl: z.number().default(3600),
|
|
515
515
|
type: CreateImageEditType$outboundSchema,
|
|
516
516
|
});
|
|
517
517
|
|
|
@@ -732,7 +732,7 @@ export const CreateImageEditRouterImagesEditsCache$outboundSchema: z.ZodType<
|
|
|
732
732
|
z.ZodTypeDef,
|
|
733
733
|
CreateImageEditRouterImagesEditsCache
|
|
734
734
|
> = z.object({
|
|
735
|
-
ttl: z.number().default(
|
|
735
|
+
ttl: z.number().default(3600),
|
|
736
736
|
type: CreateImageEditRouterImagesEditsType$outboundSchema,
|
|
737
737
|
});
|
|
738
738
|
|
|
@@ -518,7 +518,7 @@ export const CreateImageVariationCache$outboundSchema: z.ZodType<
|
|
|
518
518
|
z.ZodTypeDef,
|
|
519
519
|
CreateImageVariationCache
|
|
520
520
|
> = z.object({
|
|
521
|
-
ttl: z.number().default(
|
|
521
|
+
ttl: z.number().default(3600),
|
|
522
522
|
type: CreateImageVariationType$outboundSchema,
|
|
523
523
|
});
|
|
524
524
|
|
|
@@ -745,7 +745,7 @@ export const CreateImageVariationRouterImagesVariationsCache$outboundSchema:
|
|
|
745
745
|
z.ZodTypeDef,
|
|
746
746
|
CreateImageVariationRouterImagesVariationsCache
|
|
747
747
|
> = z.object({
|
|
748
|
-
ttl: z.number().default(
|
|
748
|
+
ttl: z.number().default(3600),
|
|
749
749
|
type: CreateImageVariationRouterImagesVariationsType$outboundSchema,
|
|
750
750
|
});
|
|
751
751
|
|
|
@@ -3765,7 +3765,7 @@ export const CreatePromptCache$outboundSchema: z.ZodType<
|
|
|
3765
3765
|
z.ZodTypeDef,
|
|
3766
3766
|
CreatePromptCache
|
|
3767
3767
|
> = z.object({
|
|
3768
|
-
ttl: z.number().default(
|
|
3768
|
+
ttl: z.number().default(3600),
|
|
3769
3769
|
type: CreatePromptType$outboundSchema,
|
|
3770
3770
|
});
|
|
3771
3771
|
|
|
@@ -5118,7 +5118,7 @@ export const CreatePromptPromptsCache$inboundSchema: z.ZodType<
|
|
|
5118
5118
|
z.ZodTypeDef,
|
|
5119
5119
|
unknown
|
|
5120
5120
|
> = z.object({
|
|
5121
|
-
ttl: z.number().default(
|
|
5121
|
+
ttl: z.number().default(3600),
|
|
5122
5122
|
type: CreatePromptPromptsResponse200Type$inboundSchema,
|
|
5123
5123
|
});
|
|
5124
5124
|
|
|
@@ -404,7 +404,7 @@ export const CreateRerankCache$outboundSchema: z.ZodType<
|
|
|
404
404
|
z.ZodTypeDef,
|
|
405
405
|
CreateRerankCache
|
|
406
406
|
> = z.object({
|
|
407
|
-
ttl: z.number().default(
|
|
407
|
+
ttl: z.number().default(3600),
|
|
408
408
|
type: CreateRerankType$outboundSchema,
|
|
409
409
|
});
|
|
410
410
|
|
|
@@ -557,7 +557,7 @@ export const CreateRerankRouterRerankCache$outboundSchema: z.ZodType<
|
|
|
557
557
|
z.ZodTypeDef,
|
|
558
558
|
CreateRerankRouterRerankCache
|
|
559
559
|
> = z.object({
|
|
560
|
-
ttl: z.number().default(
|
|
560
|
+
ttl: z.number().default(3600),
|
|
561
561
|
type: CreateRerankRouterRerankType$outboundSchema,
|
|
562
562
|
});
|
|
563
563
|
|
|
@@ -1575,7 +1575,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1575
1575
|
z.ZodTypeDef,
|
|
1576
1576
|
unknown
|
|
1577
1577
|
> = z.object({
|
|
1578
|
-
_id: z.string().default("
|
|
1578
|
+
_id: z.string().default("tool_01M5BW40F8X5A747P7NMKRZMRE"),
|
|
1579
1579
|
path: z.string(),
|
|
1580
1580
|
key: z.string(),
|
|
1581
1581
|
display_name: z.string().optional(),
|
|
@@ -1761,7 +1761,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1761
1761
|
z.ZodTypeDef,
|
|
1762
1762
|
unknown
|
|
1763
1763
|
> = z.object({
|
|
1764
|
-
_id: z.string().default("
|
|
1764
|
+
_id: z.string().default("tool_01M5BW40F7WRCAJ51S70ZTXMVN"),
|
|
1765
1765
|
path: z.string(),
|
|
1766
1766
|
key: z.string(),
|
|
1767
1767
|
display_name: z.string().optional(),
|
|
@@ -1854,7 +1854,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1854
1854
|
z.ZodTypeDef,
|
|
1855
1855
|
unknown
|
|
1856
1856
|
> = z.object({
|
|
1857
|
-
_id: z.string().default("
|
|
1857
|
+
_id: z.string().default("tool_01M5BW40F760A39F3T767RR9ZZ"),
|
|
1858
1858
|
path: z.string(),
|
|
1859
1859
|
key: z.string(),
|
|
1860
1860
|
display_name: z.string().optional(),
|
|
@@ -1955,7 +1955,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1955
1955
|
z.ZodTypeDef,
|
|
1956
1956
|
unknown
|
|
1957
1957
|
> = z.object({
|
|
1958
|
-
_id: z.string().default("
|
|
1958
|
+
_id: z.string().default("tool_01M5BW40F6M1NW69NFCYFK5SEZ"),
|
|
1959
1959
|
path: z.string(),
|
|
1960
1960
|
key: z.string(),
|
|
1961
1961
|
display_name: z.string().optional(),
|