@orq-ai/node 4.17.0-rc.33 → 4.17.0-rc.35
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 +87 -66
- package/funcs/auditLogDestinationsCreate.d.ts +18 -0
- package/funcs/auditLogDestinationsCreate.d.ts.map +1 -0
- package/funcs/auditLogDestinationsCreate.js +119 -0
- package/funcs/auditLogDestinationsCreate.js.map +1 -0
- package/funcs/auditLogDestinationsDelete.d.ts +19 -0
- package/funcs/auditLogDestinationsDelete.d.ts.map +1 -0
- package/funcs/auditLogDestinationsDelete.js +125 -0
- package/funcs/auditLogDestinationsDelete.js.map +1 -0
- package/funcs/auditLogDestinationsGet.d.ts +19 -0
- package/funcs/auditLogDestinationsGet.d.ts.map +1 -0
- package/funcs/auditLogDestinationsGet.js +125 -0
- package/funcs/auditLogDestinationsGet.js.map +1 -0
- package/funcs/auditLogDestinationsList.d.ts +19 -0
- package/funcs/auditLogDestinationsList.d.ts.map +1 -0
- package/funcs/auditLogDestinationsList.js +125 -0
- package/funcs/auditLogDestinationsList.js.map +1 -0
- package/funcs/auditLogDestinationsListDeliveries.d.ts +19 -0
- package/funcs/auditLogDestinationsListDeliveries.d.ts.map +1 -0
- package/funcs/auditLogDestinationsListDeliveries.js +132 -0
- package/funcs/auditLogDestinationsListDeliveries.js.map +1 -0
- package/funcs/auditLogDestinationsReplay.d.ts +19 -0
- package/funcs/auditLogDestinationsReplay.d.ts.map +1 -0
- package/funcs/auditLogDestinationsReplay.js +128 -0
- package/funcs/auditLogDestinationsReplay.js.map +1 -0
- package/funcs/auditLogDestinationsRotateSecret.d.ts +19 -0
- package/funcs/auditLogDestinationsRotateSecret.d.ts.map +1 -0
- package/funcs/auditLogDestinationsRotateSecret.js +125 -0
- package/funcs/auditLogDestinationsRotateSecret.js.map +1 -0
- package/funcs/auditLogDestinationsTest.d.ts +19 -0
- package/funcs/auditLogDestinationsTest.d.ts.map +1 -0
- package/funcs/auditLogDestinationsTest.js +125 -0
- package/funcs/auditLogDestinationsTest.js.map +1 -0
- package/funcs/auditLogDestinationsUpdate.d.ts +19 -0
- package/funcs/auditLogDestinationsUpdate.d.ts.map +1 -0
- package/funcs/auditLogDestinationsUpdate.js +128 -0
- package/funcs/auditLogDestinationsUpdate.js.map +1 -0
- package/funcs/websearchSearch.d.ts +3 -3
- package/funcs/websearchSearch.js +3 -3
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/auditlogdelivery.d.ts +42 -0
- package/models/components/auditlogdelivery.d.ts.map +1 -0
- package/models/components/auditlogdelivery.js +77 -0
- package/models/components/auditlogdelivery.js.map +1 -0
- package/models/components/auditlogdeliverykind.d.ts +11 -0
- package/models/components/auditlogdeliverykind.d.ts.map +1 -0
- package/models/components/auditlogdeliverykind.js +48 -0
- package/models/components/auditlogdeliverykind.js.map +1 -0
- package/models/components/auditlogdeliverystatus.d.ts +15 -0
- package/models/components/auditlogdeliverystatus.d.ts.map +1 -0
- package/models/components/auditlogdeliverystatus.js +52 -0
- package/models/components/auditlogdeliverystatus.js.map +1 -0
- package/models/components/auditlogdestination.d.ts +36 -0
- package/models/components/auditlogdestination.d.ts.map +1 -0
- package/models/components/auditlogdestination.js +72 -0
- package/models/components/auditlogdestination.js.map +1 -0
- package/models/components/auditlogdestinationstatus.d.ts +12 -0
- package/models/components/auditlogdestinationstatus.d.ts.map +1 -0
- package/models/components/auditlogdestinationstatus.js +49 -0
- package/models/components/auditlogdestinationstatus.js.map +1 -0
- package/models/components/createauditlogdestinationrequest.d.ts +25 -0
- package/models/components/createauditlogdestinationrequest.d.ts.map +1 -0
- package/models/components/createauditlogdestinationrequest.js +56 -0
- package/models/components/createauditlogdestinationrequest.js.map +1 -0
- package/models/components/createauditlogdestinationresponse.d.ts +15 -0
- package/models/components/createauditlogdestinationresponse.d.ts.map +1 -0
- package/models/components/createauditlogdestinationresponse.js +57 -0
- package/models/components/createauditlogdestinationresponse.js.map +1 -0
- package/models/components/deleteauditlogdestinationresponse.d.ts +8 -0
- package/models/components/deleteauditlogdestinationresponse.d.ts.map +1 -0
- package/models/components/deleteauditlogdestinationresponse.js +48 -0
- package/models/components/deleteauditlogdestinationresponse.js.map +1 -0
- package/models/components/effectiveuserpermissions.d.ts +10 -0
- package/models/components/effectiveuserpermissions.d.ts.map +1 -0
- package/models/components/effectiveuserpermissions.js +50 -0
- package/models/components/effectiveuserpermissions.js.map +1 -0
- package/models/components/getauditlogdestinationresponse.d.ts +11 -0
- package/models/components/getauditlogdestinationresponse.d.ts.map +1 -0
- package/models/components/getauditlogdestinationresponse.js +51 -0
- package/models/components/getauditlogdestinationresponse.js.map +1 -0
- package/models/components/index.d.ts +18 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +18 -0
- package/models/components/index.js.map +1 -1
- package/models/components/listauditlogdeliveriesresponse.d.ts +13 -0
- package/models/components/listauditlogdeliveriesresponse.d.ts.map +1 -0
- package/models/components/listauditlogdeliveriesresponse.js +58 -0
- package/models/components/listauditlogdeliveriesresponse.js.map +1 -0
- package/models/components/listauditlogdestinationsresponse.d.ts +13 -0
- package/models/components/listauditlogdestinationsresponse.d.ts.map +1 -0
- package/models/components/listauditlogdestinationsresponse.js +58 -0
- package/models/components/listauditlogdestinationsresponse.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/components/replayauditlogdeliveriesrequest.d.ts +20 -0
- package/models/components/replayauditlogdeliveriesrequest.d.ts.map +1 -0
- package/models/components/replayauditlogdeliveriesrequest.js +50 -0
- package/models/components/replayauditlogdeliveriesrequest.js.map +1 -0
- package/models/components/replayauditlogdeliveriesresponse.d.ts +14 -0
- package/models/components/replayauditlogdeliveriesresponse.d.ts.map +1 -0
- package/models/components/replayauditlogdeliveriesresponse.js +56 -0
- package/models/components/replayauditlogdeliveriesresponse.js.map +1 -0
- package/models/components/rotateauditlogdestinationsecretresponse.d.ts +15 -0
- package/models/components/rotateauditlogdestinationsecretresponse.d.ts.map +1 -0
- package/models/components/rotateauditlogdestinationsecretresponse.js +57 -0
- package/models/components/rotateauditlogdestinationsecretresponse.js.map +1 -0
- package/models/components/testauditlogdestinationresponse.d.ts +11 -0
- package/models/components/testauditlogdestinationresponse.d.ts.map +1 -0
- package/models/components/testauditlogdestinationresponse.js +51 -0
- package/models/components/testauditlogdestinationresponse.js.map +1 -0
- package/models/components/updateauditlogdestinationrequest.d.ts +28 -0
- package/models/components/updateauditlogdestinationrequest.d.ts.map +1 -0
- package/models/components/updateauditlogdestinationrequest.js +58 -0
- package/models/components/updateauditlogdestinationrequest.js.map +1 -0
- package/models/components/updateauditlogdestinationresponse.d.ts +11 -0
- package/models/components/updateauditlogdestinationresponse.d.ts.map +1 -0
- package/models/components/updateauditlogdestinationresponse.js +51 -0
- package/models/components/updateauditlogdestinationresponse.js.map +1 -0
- package/models/components/workspacecapabilities.d.ts +2 -0
- package/models/components/workspacecapabilities.d.ts.map +1 -1
- package/models/components/workspacecapabilities.js +7 -0
- package/models/components/workspacecapabilities.js.map +1 -1
- package/models/operations/auditlogdestinationdelete.d.ts +12 -0
- package/models/operations/auditlogdestinationdelete.d.ts.map +1 -0
- package/models/operations/auditlogdestinationdelete.js +54 -0
- package/models/operations/auditlogdestinationdelete.js.map +1 -0
- package/models/operations/auditlogdestinationget.d.ts +12 -0
- package/models/operations/auditlogdestinationget.d.ts.map +1 -0
- package/models/operations/auditlogdestinationget.js +54 -0
- package/models/operations/auditlogdestinationget.js.map +1 -0
- package/models/operations/auditlogdestinationlist.d.ts +16 -0
- package/models/operations/auditlogdestinationlist.d.ts.map +1 -0
- package/models/operations/auditlogdestinationlist.js +57 -0
- package/models/operations/auditlogdestinationlist.js.map +1 -0
- package/models/operations/auditlogdestinationlistdeliveries.d.ts +21 -0
- package/models/operations/auditlogdestinationlistdeliveries.d.ts.map +1 -0
- package/models/operations/auditlogdestinationlistdeliveries.js +61 -0
- package/models/operations/auditlogdestinationlistdeliveries.js.map +1 -0
- package/models/operations/auditlogdestinationreplay.d.ts +15 -0
- package/models/operations/auditlogdestinationreplay.d.ts.map +1 -0
- package/models/operations/auditlogdestinationreplay.js +57 -0
- package/models/operations/auditlogdestinationreplay.js.map +1 -0
- package/models/operations/auditlogdestinationrotatesecret.d.ts +12 -0
- package/models/operations/auditlogdestinationrotatesecret.d.ts.map +1 -0
- package/models/operations/auditlogdestinationrotatesecret.js +54 -0
- package/models/operations/auditlogdestinationrotatesecret.js.map +1 -0
- package/models/operations/auditlogdestinationtest.d.ts +12 -0
- package/models/operations/auditlogdestinationtest.d.ts.map +1 -0
- package/models/operations/auditlogdestinationtest.js +54 -0
- package/models/operations/auditlogdestinationtest.js.map +1 -0
- package/models/operations/auditlogdestinationupdate.d.ts +15 -0
- package/models/operations/auditlogdestinationupdate.d.ts.map +1 -0
- package/models/operations/auditlogdestinationupdate.js +57 -0
- package/models/operations/auditlogdestinationupdate.js.map +1 -0
- 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/index.d.ts +8 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +8 -0
- package/models/operations/index.js.map +1 -1
- 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/searchweb.d.ts +3 -1
- package/models/operations/searchweb.d.ts.map +1 -1
- package/models/operations/searchweb.js +2 -0
- package/models/operations/searchweb.js.map +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +7 -7
- package/sdk/auditlogdestinations.d.ts +69 -0
- package/sdk/auditlogdestinations.d.ts.map +1 -0
- package/sdk/auditlogdestinations.js +102 -0
- package/sdk/auditlogdestinations.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/websearch.d.ts +3 -3
- package/sdk/websearch.js +3 -3
- package/src/funcs/auditLogDestinationsCreate.ts +172 -0
- package/src/funcs/auditLogDestinationsDelete.ts +180 -0
- package/src/funcs/auditLogDestinationsGet.ts +180 -0
- package/src/funcs/auditLogDestinationsList.ts +181 -0
- package/src/funcs/auditLogDestinationsListDeliveries.ts +190 -0
- package/src/funcs/auditLogDestinationsReplay.ts +183 -0
- package/src/funcs/auditLogDestinationsRotateSecret.ts +185 -0
- package/src/funcs/auditLogDestinationsTest.ts +180 -0
- package/src/funcs/auditLogDestinationsUpdate.ts +183 -0
- package/src/funcs/websearchSearch.ts +3 -3
- package/src/lib/config.ts +2 -2
- package/src/models/components/auditlogdelivery.ts +100 -0
- package/src/models/components/auditlogdeliverykind.ts +18 -0
- package/src/models/components/auditlogdeliverystatus.ts +24 -0
- package/src/models/components/auditlogdestination.ts +83 -0
- package/src/models/components/auditlogdestinationstatus.ts +23 -0
- package/src/models/components/createauditlogdestinationrequest.ts +53 -0
- package/src/models/components/createauditlogdestinationresponse.ts +45 -0
- package/src/models/components/deleteauditlogdestinationresponse.ts +27 -0
- package/src/models/components/effectiveuserpermissions.ts +31 -0
- package/src/models/components/getauditlogdestinationresponse.ts +35 -0
- package/src/models/components/index.ts +18 -0
- package/src/models/components/listauditlogdeliveriesresponse.ts +44 -0
- package/src/models/components/listauditlogdestinationsresponse.ts +44 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/replayauditlogdeliveriesrequest.ts +42 -0
- package/src/models/components/replayauditlogdeliveriesresponse.ts +41 -0
- package/src/models/components/rotateauditlogdestinationsecretresponse.ts +51 -0
- package/src/models/components/testauditlogdestinationresponse.ts +35 -0
- package/src/models/components/updateauditlogdestinationrequest.ts +60 -0
- package/src/models/components/updateauditlogdestinationresponse.ts +35 -0
- package/src/models/components/workspacecapabilities.ts +11 -0
- package/src/models/operations/auditlogdestinationdelete.ts +38 -0
- package/src/models/operations/auditlogdestinationget.ts +38 -0
- package/src/models/operations/auditlogdestinationlist.ts +45 -0
- package/src/models/operations/auditlogdestinationlistdeliveries.ts +54 -0
- package/src/models/operations/auditlogdestinationreplay.ts +45 -0
- package/src/models/operations/auditlogdestinationrotatesecret.ts +39 -0
- package/src/models/operations/auditlogdestinationtest.ts +38 -0
- package/src/models/operations/auditlogdestinationupdate.ts +45 -0
- 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/index.ts +8 -0
- 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/searchweb.ts +3 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/auditlogdestinations.ts +172 -0
- package/src/sdk/sdk.ts +8 -0
- package/src/sdk/websearch.ts +3 -3
|
@@ -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
|
+
}
|
|
@@ -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_01M59B1VVAVF4KZNDXRZS0DSD1"),
|
|
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_01M59B1VV982NQ8VX30DBRG00G"),
|
|
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_01M59B1VV9WC58D8G1EEM9TS8V"),
|
|
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_01M59B1VV8V6D8TJKX1X7E5ZCB"),
|
|
1959
1959
|
path: z.string(),
|
|
1960
1960
|
key: z.string(),
|
|
1961
1961
|
display_name: z.string().optional(),
|
|
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
639
639
|
z.ZodTypeDef,
|
|
640
640
|
unknown
|
|
641
641
|
> = z.object({
|
|
642
|
-
_id: z.string().default("
|
|
642
|
+
_id: z.string().default("tool_01M59B1VV36GCCQZ3VXPS9MHAY"),
|
|
643
643
|
path: z.string(),
|
|
644
644
|
key: z.string(),
|
|
645
645
|
display_name: z.string().optional(),
|
|
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
821
821
|
z.ZodTypeDef,
|
|
822
822
|
unknown
|
|
823
823
|
> = z.object({
|
|
824
|
-
_id: z.string().default("
|
|
824
|
+
_id: z.string().default("tool_01M59B1VV2HR19NXAP7XMHZYJ1"),
|
|
825
825
|
path: z.string(),
|
|
826
826
|
key: z.string(),
|
|
827
827
|
display_name: z.string().optional(),
|
|
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
914
914
|
z.ZodTypeDef,
|
|
915
915
|
unknown
|
|
916
916
|
> = z.object({
|
|
917
|
-
_id: z.string().default("
|
|
917
|
+
_id: z.string().default("tool_01M59B1VV2HASPD41TD3TR72KC"),
|
|
918
918
|
path: z.string(),
|
|
919
919
|
key: z.string(),
|
|
920
920
|
display_name: z.string().optional(),
|
|
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1012
1012
|
z.ZodTypeDef,
|
|
1013
1013
|
unknown
|
|
1014
1014
|
> = z.object({
|
|
1015
|
-
_id: z.string().default("
|
|
1015
|
+
_id: z.string().default("tool_01M59B1VV1A4TSD8X3TX7164DA"),
|
|
1016
1016
|
path: z.string(),
|
|
1017
1017
|
key: z.string(),
|
|
1018
1018
|
display_name: z.string().optional(),
|
|
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
140
140
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
141
141
|
.optional(),
|
|
142
142
|
updated: z.string().datetime({ offset: true }).default(
|
|
143
|
-
"2026-10-
|
|
143
|
+
"2026-10-19T05:44:43.437Z",
|
|
144
144
|
).transform(v => new Date(v)),
|
|
145
145
|
filter_type: z.literal("name"),
|
|
146
146
|
filter_value: z.string(),
|
|
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
185
185
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
186
186
|
.optional(),
|
|
187
187
|
updated: z.string().datetime({ offset: true }).default(
|
|
188
|
-
"2026-10-
|
|
188
|
+
"2026-10-19T05:44:43.437Z",
|
|
189
189
|
).transform(v => new Date(v)),
|
|
190
190
|
filter_type: z.literal("span_type"),
|
|
191
191
|
filter_values: z.array(z.string()),
|
|
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
141
141
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
143
|
updated: z.string().datetime({ offset: true }).default(
|
|
144
|
-
"2026-10-
|
|
144
|
+
"2026-10-19T05:44:43.437Z",
|
|
145
145
|
).transform(v => new Date(v)),
|
|
146
146
|
filter_type: z.literal("name"),
|
|
147
147
|
filter_value: z.string(),
|
|
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
186
186
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
187
187
|
.optional(),
|
|
188
188
|
updated: z.string().datetime({ offset: true }).default(
|
|
189
|
-
"2026-10-
|
|
189
|
+
"2026-10-19T05:44:43.437Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -15,6 +15,14 @@ export * from "./apikeyget.js";
|
|
|
15
15
|
export * from "./apikeylist.js";
|
|
16
16
|
export * from "./apikeylistcapabilities.js";
|
|
17
17
|
export * from "./apikeyupdate.js";
|
|
18
|
+
export * from "./auditlogdestinationdelete.js";
|
|
19
|
+
export * from "./auditlogdestinationget.js";
|
|
20
|
+
export * from "./auditlogdestinationlist.js";
|
|
21
|
+
export * from "./auditlogdestinationlistdeliveries.js";
|
|
22
|
+
export * from "./auditlogdestinationreplay.js";
|
|
23
|
+
export * from "./auditlogdestinationrotatesecret.js";
|
|
24
|
+
export * from "./auditlogdestinationtest.js";
|
|
25
|
+
export * from "./auditlogdestinationupdate.js";
|
|
18
26
|
export * from "./budgetdelete.js";
|
|
19
27
|
export * from "./budgetget.js";
|
|
20
28
|
export * from "./budgetlist.js";
|
|
@@ -2525,7 +2525,7 @@ export const ListDeploymentVersionsKnowledgeBases$inboundSchema: z.ZodType<
|
|
|
2525
2525
|
z.ZodTypeDef,
|
|
2526
2526
|
unknown
|
|
2527
2527
|
> = z.object({
|
|
2528
|
-
id: z.string().default("
|
|
2528
|
+
id: z.string().default("01M59B1VPYY7ES1S73ETESC9VQ"),
|
|
2529
2529
|
knowledge_id: z.string(),
|
|
2530
2530
|
configuration: z.union([
|
|
2531
2531
|
z.lazy(() => KnowledgeBaseLastUserMessage$inboundSchema),
|
|
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
318
318
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
319
319
|
.optional(),
|
|
320
320
|
updated: z.string().datetime({ offset: true }).default(
|
|
321
|
-
"2026-10-
|
|
321
|
+
"2026-10-19T05:44:43.437Z",
|
|
322
322
|
).transform(v => new Date(v)),
|
|
323
323
|
filter_type: z.literal("name"),
|
|
324
324
|
filter_value: z.string(),
|
|
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
364
364
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
365
365
|
.optional(),
|
|
366
366
|
updated: z.string().datetime({ offset: true }).default(
|
|
367
|
-
"2026-10-
|
|
367
|
+
"2026-10-19T05:44:43.437Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -245,7 +245,7 @@ export const RequestBody4$outboundSchema: z.ZodType<
|
|
|
245
245
|
PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
|
|
246
246
|
.default("orq"),
|
|
247
247
|
explanation: z.string().optional(),
|
|
248
|
-
reviewedAt: z.date().default(() => new Date("2026-10-
|
|
248
|
+
reviewedAt: z.date().default(() => new Date("2026-10-19T05:44:49.816Z"))
|
|
249
249
|
.transform(v => v.toISOString()),
|
|
250
250
|
type: z.literal("string_array"),
|
|
251
251
|
values: z.array(z.string()),
|
|
@@ -299,7 +299,7 @@ export const Three$outboundSchema: z.ZodType<
|
|
|
299
299
|
source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
300
300
|
.default("orq"),
|
|
301
301
|
explanation: z.string().optional(),
|
|
302
|
-
reviewedAt: z.date().default(() => new Date("2026-10-
|
|
302
|
+
reviewedAt: z.date().default(() => new Date("2026-10-19T05:44:49.816Z"))
|
|
303
303
|
.transform(v => v.toISOString()),
|
|
304
304
|
type: z.literal("boolean"),
|
|
305
305
|
value: z.boolean(),
|
|
@@ -353,7 +353,7 @@ export const RequestBody2$outboundSchema: z.ZodType<
|
|
|
353
353
|
"orq",
|
|
354
354
|
),
|
|
355
355
|
explanation: z.string().optional(),
|
|
356
|
-
reviewedAt: z.date().default(() => new Date("2026-10-
|
|
356
|
+
reviewedAt: z.date().default(() => new Date("2026-10-19T05:44:49.816Z"))
|
|
357
357
|
.transform(v => v.toISOString()),
|
|
358
358
|
type: z.literal("number"),
|
|
359
359
|
value: z.number(),
|
|
@@ -405,7 +405,7 @@ export const RequestBody1$outboundSchema: z.ZodType<
|
|
|
405
405
|
humanReviewId: z.string().optional(),
|
|
406
406
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
407
407
|
explanation: z.string().optional(),
|
|
408
|
-
reviewedAt: z.date().default(() => new Date("2026-10-
|
|
408
|
+
reviewedAt: z.date().default(() => new Date("2026-10-19T05:44:49.816Z"))
|
|
409
409
|
.transform(v => v.toISOString()),
|
|
410
410
|
type: z.literal("string"),
|
|
411
411
|
value: z.string(),
|
|
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
271
271
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
272
272
|
.optional(),
|
|
273
273
|
updated: z.string().datetime({ offset: true }).default(
|
|
274
|
-
"2026-10-
|
|
274
|
+
"2026-10-19T05:44:43.437Z",
|
|
275
275
|
).transform(v => new Date(v)),
|
|
276
276
|
filter_type: z.literal("name"),
|
|
277
277
|
filter_value: z.string(),
|
|
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
316
316
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
317
317
|
.optional(),
|
|
318
318
|
updated: z.string().datetime({ offset: true }).default(
|
|
319
|
-
"2026-10-
|
|
319
|
+
"2026-10-19T05:44:43.437Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -624,7 +624,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
624
624
|
z.ZodTypeDef,
|
|
625
625
|
unknown
|
|
626
626
|
> = z.object({
|
|
627
|
-
_id: z.string().default("
|
|
627
|
+
_id: z.string().default("tool_01M59B1VVMF7VNMFJ9RBX6TFVQ"),
|
|
628
628
|
path: z.string(),
|
|
629
629
|
key: z.string(),
|
|
630
630
|
display_name: z.string().optional(),
|
|
@@ -820,7 +820,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
820
820
|
z.ZodTypeDef,
|
|
821
821
|
unknown
|
|
822
822
|
> = z.object({
|
|
823
|
-
_id: z.string().default("
|
|
823
|
+
_id: z.string().default("tool_01M59B1VVMRR97HZB380125AEY"),
|
|
824
824
|
path: z.string(),
|
|
825
825
|
key: z.string(),
|
|
826
826
|
display_name: z.string().optional(),
|
|
@@ -916,7 +916,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
916
916
|
z.ZodTypeDef,
|
|
917
917
|
unknown
|
|
918
918
|
> = z.object({
|
|
919
|
-
_id: z.string().default("
|
|
919
|
+
_id: z.string().default("tool_01M59B1VVK5BCH7AMVM7WZWQTN"),
|
|
920
920
|
path: z.string(),
|
|
921
921
|
key: z.string(),
|
|
922
922
|
display_name: z.string().optional(),
|
|
@@ -1022,7 +1022,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1022
1022
|
z.ZodTypeDef,
|
|
1023
1023
|
unknown
|
|
1024
1024
|
> = z.object({
|
|
1025
|
-
_id: z.string().default("
|
|
1025
|
+
_id: z.string().default("tool_01M59B1VVK1YJWAN50SJRWNBS2"),
|
|
1026
1026
|
path: z.string(),
|
|
1027
1027
|
key: z.string(),
|
|
1028
1028
|
display_name: z.string().optional(),
|
|
@@ -3904,7 +3904,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3904
3904
|
z.ZodTypeDef,
|
|
3905
3905
|
Tools
|
|
3906
3906
|
> = z.object({
|
|
3907
|
-
id: z.string().default("
|
|
3907
|
+
id: z.string().default("01M59B1VSAG4KAPB2T5CCQ7AQA"),
|
|
3908
3908
|
name: z.string(),
|
|
3909
3909
|
description: z.string().optional(),
|
|
3910
3910
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -75,6 +75,7 @@ export const Provider = {
|
|
|
75
75
|
Serper: "serper",
|
|
76
76
|
Openai: "openai",
|
|
77
77
|
Perplexity: "perplexity",
|
|
78
|
+
Deepseek: "deepseek",
|
|
78
79
|
} as const;
|
|
79
80
|
/**
|
|
80
81
|
* Provider to run this search. Exa uses auto, Linkup uses standard depth, Tavily uses basic depth, and OpenAI runs one web_search tool call on gpt-5.6-luna. Workspace credentials are selected automatically for this provider.
|
|
@@ -102,7 +103,7 @@ export type SearchWebRequestBody = {
|
|
|
102
103
|
*/
|
|
103
104
|
provider: Provider;
|
|
104
105
|
/**
|
|
105
|
-
* Search text. Must not be blank or exceed 10,000 characters. Ceramic accepts at most 50 words.
|
|
106
|
+
* Search text. Must not be blank or exceed 10,000 characters. Ceramic accepts at most 50 words and DeepSeek at most 128 characters.
|
|
106
107
|
*/
|
|
107
108
|
query: string;
|
|
108
109
|
};
|
|
@@ -133,6 +134,7 @@ export const SearchWebProvider = {
|
|
|
133
134
|
Serper: "serper",
|
|
134
135
|
Openai: "openai",
|
|
135
136
|
Perplexity: "perplexity",
|
|
137
|
+
Deepseek: "deepseek",
|
|
136
138
|
} as const;
|
|
137
139
|
/**
|
|
138
140
|
* Provider that executed the search.
|
|
@@ -3963,7 +3963,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3963
3963
|
z.ZodTypeDef,
|
|
3964
3964
|
AgentToolInputRunTools
|
|
3965
3965
|
> = z.object({
|
|
3966
|
-
id: z.string().default("
|
|
3966
|
+
id: z.string().default("01M59B1VST4TYWG8X84S8X5NZ7"),
|
|
3967
3967
|
name: z.string(),
|
|
3968
3968
|
description: z.string().optional(),
|
|
3969
3969
|
schema: z.lazy(() =>
|
|
@@ -1764,7 +1764,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1764
1764
|
z.ZodTypeDef,
|
|
1765
1765
|
unknown
|
|
1766
1766
|
> = z.object({
|
|
1767
|
-
_id: z.string().default("
|
|
1767
|
+
_id: z.string().default("tool_01M59B1VVE4KVG1GVE2490RTT1"),
|
|
1768
1768
|
path: z.string(),
|
|
1769
1769
|
key: z.string(),
|
|
1770
1770
|
display_name: z.string().optional(),
|
|
@@ -1959,7 +1959,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1959
1959
|
z.ZodTypeDef,
|
|
1960
1960
|
unknown
|
|
1961
1961
|
> = z.object({
|
|
1962
|
-
_id: z.string().default("
|
|
1962
|
+
_id: z.string().default("tool_01M59B1VVDDN0DNF2NYNW263YR"),
|
|
1963
1963
|
path: z.string(),
|
|
1964
1964
|
key: z.string(),
|
|
1965
1965
|
display_name: z.string().optional(),
|
|
@@ -2054,7 +2054,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2054
2054
|
z.ZodTypeDef,
|
|
2055
2055
|
unknown
|
|
2056
2056
|
> = z.object({
|
|
2057
|
-
_id: z.string().default("
|
|
2057
|
+
_id: z.string().default("tool_01M59B1VVC2SAYS04EETQ9J3SG"),
|
|
2058
2058
|
path: z.string(),
|
|
2059
2059
|
key: z.string(),
|
|
2060
2060
|
display_name: z.string().optional(),
|
|
@@ -2157,7 +2157,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2157
2157
|
z.ZodTypeDef,
|
|
2158
2158
|
unknown
|
|
2159
2159
|
> = z.object({
|
|
2160
|
-
_id: z.string().default("
|
|
2160
|
+
_id: z.string().default("tool_01M59B1VVC5Z1744P6HVEWBZY3"),
|
|
2161
2161
|
path: z.string(),
|
|
2162
2162
|
key: z.string(),
|
|
2163
2163
|
display_name: z.string().optional(),
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { auditLogDestinationsCreate } from "../funcs/auditLogDestinationsCreate.js";
|
|
6
|
+
import { auditLogDestinationsDelete } from "../funcs/auditLogDestinationsDelete.js";
|
|
7
|
+
import { auditLogDestinationsGet } from "../funcs/auditLogDestinationsGet.js";
|
|
8
|
+
import { auditLogDestinationsList } from "../funcs/auditLogDestinationsList.js";
|
|
9
|
+
import { auditLogDestinationsListDeliveries } from "../funcs/auditLogDestinationsListDeliveries.js";
|
|
10
|
+
import { auditLogDestinationsReplay } from "../funcs/auditLogDestinationsReplay.js";
|
|
11
|
+
import { auditLogDestinationsRotateSecret } from "../funcs/auditLogDestinationsRotateSecret.js";
|
|
12
|
+
import { auditLogDestinationsTest } from "../funcs/auditLogDestinationsTest.js";
|
|
13
|
+
import { auditLogDestinationsUpdate } from "../funcs/auditLogDestinationsUpdate.js";
|
|
14
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
15
|
+
import * as components from "../models/components/index.js";
|
|
16
|
+
import * as operations from "../models/operations/index.js";
|
|
17
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
18
|
+
|
|
19
|
+
export class AuditLogDestinations extends ClientSDK {
|
|
20
|
+
/**
|
|
21
|
+
* List audit log destinations
|
|
22
|
+
*
|
|
23
|
+
* @remarks
|
|
24
|
+
* Returns the audit log destinations of the workspace, newest first, with cursor pagination.
|
|
25
|
+
*/
|
|
26
|
+
async list(
|
|
27
|
+
request?: operations.AuditLogDestinationListRequest | undefined,
|
|
28
|
+
options?: RequestOptions,
|
|
29
|
+
): Promise<components.ListAuditLogDestinationsResponse> {
|
|
30
|
+
return unwrapAsync(auditLogDestinationsList(
|
|
31
|
+
this,
|
|
32
|
+
request,
|
|
33
|
+
options,
|
|
34
|
+
));
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Create an audit log destination
|
|
39
|
+
*
|
|
40
|
+
* @remarks
|
|
41
|
+
* Creates a signed webhook destination that receives every audit log event recorded in the workspace from this point on. The signing secret is returned once in this response and never again.
|
|
42
|
+
*/
|
|
43
|
+
async create(
|
|
44
|
+
request: components.CreateAuditLogDestinationRequest,
|
|
45
|
+
options?: RequestOptions,
|
|
46
|
+
): Promise<components.CreateAuditLogDestinationResponse> {
|
|
47
|
+
return unwrapAsync(auditLogDestinationsCreate(
|
|
48
|
+
this,
|
|
49
|
+
request,
|
|
50
|
+
options,
|
|
51
|
+
));
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Retrieve an audit log destination
|
|
56
|
+
*
|
|
57
|
+
* @remarks
|
|
58
|
+
* Retrieves an audit log destination by ID. The signing secret is never returned.
|
|
59
|
+
*/
|
|
60
|
+
async get(
|
|
61
|
+
request: operations.AuditLogDestinationGetRequest,
|
|
62
|
+
options?: RequestOptions,
|
|
63
|
+
): Promise<components.GetAuditLogDestinationResponse> {
|
|
64
|
+
return unwrapAsync(auditLogDestinationsGet(
|
|
65
|
+
this,
|
|
66
|
+
request,
|
|
67
|
+
options,
|
|
68
|
+
));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Delete an audit log destination
|
|
73
|
+
*
|
|
74
|
+
* @remarks
|
|
75
|
+
* Deletes a destination and cancels its pending deliveries.
|
|
76
|
+
*/
|
|
77
|
+
async delete(
|
|
78
|
+
request: operations.AuditLogDestinationDeleteRequest,
|
|
79
|
+
options?: RequestOptions,
|
|
80
|
+
): Promise<components.DeleteAuditLogDestinationResponse> {
|
|
81
|
+
return unwrapAsync(auditLogDestinationsDelete(
|
|
82
|
+
this,
|
|
83
|
+
request,
|
|
84
|
+
options,
|
|
85
|
+
));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Update an audit log destination
|
|
90
|
+
*
|
|
91
|
+
* @remarks
|
|
92
|
+
* Partially updates a destination. Set `status` to `AUDIT_LOG_DESTINATION_STATUS_PAUSED` to stop deliveries while retaining the backlog, and back to `AUDIT_LOG_DESTINATION_STATUS_ACTIVE` to drain it. The URL can only change while the destination is paused.
|
|
93
|
+
*/
|
|
94
|
+
async update(
|
|
95
|
+
request: operations.AuditLogDestinationUpdateRequest,
|
|
96
|
+
options?: RequestOptions,
|
|
97
|
+
): Promise<components.UpdateAuditLogDestinationResponse> {
|
|
98
|
+
return unwrapAsync(auditLogDestinationsUpdate(
|
|
99
|
+
this,
|
|
100
|
+
request,
|
|
101
|
+
options,
|
|
102
|
+
));
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* List deliveries
|
|
107
|
+
*
|
|
108
|
+
* @remarks
|
|
109
|
+
* Returns the delivery history of a destination, newest first, optionally filtered by status.
|
|
110
|
+
*/
|
|
111
|
+
async listDeliveries(
|
|
112
|
+
request: operations.AuditLogDestinationListDeliveriesRequest,
|
|
113
|
+
options?: RequestOptions,
|
|
114
|
+
): Promise<components.ListAuditLogDeliveriesResponse> {
|
|
115
|
+
return unwrapAsync(auditLogDestinationsListDeliveries(
|
|
116
|
+
this,
|
|
117
|
+
request,
|
|
118
|
+
options,
|
|
119
|
+
));
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Replay audit events
|
|
124
|
+
*
|
|
125
|
+
* @remarks
|
|
126
|
+
* Queues a new delivery for every retained audit event recorded in the time window, up to 10,000 events per request. Replays keep the original event IDs and never extend event retention.
|
|
127
|
+
*/
|
|
128
|
+
async replay(
|
|
129
|
+
request: operations.AuditLogDestinationReplayRequest,
|
|
130
|
+
options?: RequestOptions,
|
|
131
|
+
): Promise<components.ReplayAuditLogDeliveriesResponse> {
|
|
132
|
+
return unwrapAsync(auditLogDestinationsReplay(
|
|
133
|
+
this,
|
|
134
|
+
request,
|
|
135
|
+
options,
|
|
136
|
+
));
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Rotate the signing secret
|
|
141
|
+
*
|
|
142
|
+
* @remarks
|
|
143
|
+
* Generates a new signing secret for the destination. Deliveries attempted after the rotation are signed with the new secret. The new secret is returned once in this response and never again.
|
|
144
|
+
*/
|
|
145
|
+
async rotateSecret(
|
|
146
|
+
request: operations.AuditLogDestinationRotateSecretRequest,
|
|
147
|
+
options?: RequestOptions,
|
|
148
|
+
): Promise<components.RotateAuditLogDestinationSecretResponse> {
|
|
149
|
+
return unwrapAsync(auditLogDestinationsRotateSecret(
|
|
150
|
+
this,
|
|
151
|
+
request,
|
|
152
|
+
options,
|
|
153
|
+
));
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Send a test event
|
|
158
|
+
*
|
|
159
|
+
* @remarks
|
|
160
|
+
* Sends a signed synthetic `audit_log.test` event to the destination synchronously and returns the receiver outcome. Test deliveries appear in the delivery history.
|
|
161
|
+
*/
|
|
162
|
+
async test(
|
|
163
|
+
request: operations.AuditLogDestinationTestRequest,
|
|
164
|
+
options?: RequestOptions,
|
|
165
|
+
): Promise<components.TestAuditLogDestinationResponse> {
|
|
166
|
+
return unwrapAsync(auditLogDestinationsTest(
|
|
167
|
+
this,
|
|
168
|
+
request,
|
|
169
|
+
options,
|
|
170
|
+
));
|
|
171
|
+
}
|
|
172
|
+
}
|