@orq-ai/node 4.16.10 → 4.16.12

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.
Files changed (155) hide show
  1. package/funcs/websearchSearch.d.ts +3 -3
  2. package/funcs/websearchSearch.js +3 -3
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +2 -2
  5. package/lib/config.js +2 -2
  6. package/models/components/reasoningpart.js +1 -1
  7. package/models/operations/createtool.js +4 -4
  8. package/models/operations/getalltools.js +4 -4
  9. package/models/operations/getv2humanevalsets.js +2 -2
  10. package/models/operations/getv2humanevalsetsid.js +2 -2
  11. package/models/operations/listdeploymentversions.js +1 -1
  12. package/models/operations/patchv2humanevalsetsid.js +2 -2
  13. package/models/operations/postv2feedbackevaluation.js +4 -4
  14. package/models/operations/postv2humanevalsets.js +2 -2
  15. package/models/operations/retrievetool.js +4 -4
  16. package/models/operations/runagent.js +1 -1
  17. package/models/operations/searchweb.d.ts +3 -1
  18. package/models/operations/searchweb.d.ts.map +1 -1
  19. package/models/operations/searchweb.js +2 -0
  20. package/models/operations/searchweb.js.map +1 -1
  21. package/models/operations/streamrunagent.js +1 -1
  22. package/models/operations/updatetool.js +4 -4
  23. package/package.json +1 -1
  24. package/packages/orq-rc/src/funcs/auditLogDestinationsCreate.ts +172 -0
  25. package/packages/orq-rc/src/funcs/auditLogDestinationsDelete.ts +180 -0
  26. package/packages/orq-rc/src/funcs/auditLogDestinationsGet.ts +180 -0
  27. package/packages/orq-rc/src/funcs/auditLogDestinationsList.ts +181 -0
  28. package/packages/orq-rc/src/funcs/auditLogDestinationsListDeliveries.ts +190 -0
  29. package/packages/orq-rc/src/funcs/auditLogDestinationsReplay.ts +183 -0
  30. package/packages/orq-rc/src/funcs/auditLogDestinationsRotateSecret.ts +185 -0
  31. package/packages/orq-rc/src/funcs/auditLogDestinationsTest.ts +180 -0
  32. package/packages/orq-rc/src/funcs/auditLogDestinationsUpdate.ts +183 -0
  33. package/packages/orq-rc/src/funcs/modelsAzureFoundryDeployments.ts +1 -1
  34. package/packages/orq-rc/src/funcs/modelsUpdate.ts +1 -1
  35. package/packages/orq-rc/src/funcs/websearchSearch.ts +3 -3
  36. package/packages/orq-rc/src/lib/config.ts +2 -2
  37. package/packages/orq-rc/src/models/components/alertscope.ts +0 -1
  38. package/packages/orq-rc/src/models/components/alerttelemetrysource.ts +0 -1
  39. package/packages/orq-rc/src/models/components/auditlogdelivery.ts +100 -0
  40. package/packages/orq-rc/src/models/components/auditlogdeliverykind.ts +18 -0
  41. package/packages/orq-rc/src/models/components/auditlogdeliverystatus.ts +24 -0
  42. package/packages/orq-rc/src/models/components/auditlogdestination.ts +83 -0
  43. package/packages/orq-rc/src/models/components/auditlogdestinationstatus.ts +23 -0
  44. package/packages/orq-rc/src/models/components/budgetalertdimension.ts +0 -1
  45. package/packages/orq-rc/src/models/components/budgetperiod.ts +0 -1
  46. package/packages/orq-rc/src/models/components/budgetscopekind.ts +0 -1
  47. package/packages/orq-rc/src/models/components/budgetsortfield.ts +0 -1
  48. package/packages/orq-rc/src/models/components/createauditlogdestinationrequest.ts +53 -0
  49. package/packages/orq-rc/src/models/components/createauditlogdestinationresponse.ts +45 -0
  50. package/packages/orq-rc/src/models/components/createmanagementkeyrequest.ts +2 -3
  51. package/packages/orq-rc/src/models/components/createmcpgatewayrequest.ts +7 -0
  52. package/packages/orq-rc/src/models/components/deleteauditlogdestinationresponse.ts +27 -0
  53. package/packages/orq-rc/src/models/components/domainverificationstatus.ts +0 -1
  54. package/packages/orq-rc/src/models/components/effectiveuserpermissions.ts +31 -0
  55. package/packages/orq-rc/src/models/components/filepurpose.ts +0 -1
  56. package/packages/orq-rc/src/models/components/getauditlogdestinationresponse.ts +35 -0
  57. package/packages/orq-rc/src/models/components/getlogcontextresponse.ts +1 -1
  58. package/packages/orq-rc/src/models/components/getlogresponse.ts +1 -1
  59. package/packages/orq-rc/src/models/components/identitysortfield.ts +0 -1
  60. package/packages/orq-rc/src/models/components/index.ts +21 -0
  61. package/packages/orq-rc/src/models/components/listauditlogdeliveriesresponse.ts +44 -0
  62. package/packages/orq-rc/src/models/components/listauditlogdestinationsresponse.ts +44 -0
  63. package/packages/orq-rc/src/models/components/log.ts +1 -1
  64. package/packages/orq-rc/src/models/components/managementkey.ts +2 -2
  65. package/packages/orq-rc/src/models/components/managementkeystatus.ts +0 -1
  66. package/packages/orq-rc/src/models/components/managementpermissionmode.ts +0 -1
  67. package/packages/orq-rc/src/models/components/mcpauthtype.ts +0 -1
  68. package/packages/orq-rc/src/models/components/mcpconnectiontype.ts +0 -1
  69. package/packages/orq-rc/src/models/components/mcpgateway.ts +6 -0
  70. package/packages/orq-rc/src/models/components/mcpgatewaymode.ts +0 -1
  71. package/packages/orq-rc/src/models/components/mcpgatewayserverlink.ts +15 -0
  72. package/packages/orq-rc/src/models/components/mcpgatewaystatus.ts +0 -1
  73. package/packages/orq-rc/src/models/components/mcpserver.ts +6 -0
  74. package/packages/orq-rc/src/models/components/mcpskill.ts +85 -0
  75. package/packages/orq-rc/src/models/components/mcpskillexposure.ts +72 -0
  76. package/packages/orq-rc/src/models/components/mcpskillfile.ts +47 -0
  77. package/packages/orq-rc/src/models/components/mcpsyncstate.ts +6 -0
  78. package/packages/orq-rc/src/models/components/mcptoolexposuremode.ts +0 -1
  79. package/packages/orq-rc/src/models/components/mcptoolnaming.ts +0 -1
  80. package/packages/orq-rc/src/models/components/modeldocument.ts +3 -0
  81. package/packages/orq-rc/src/models/components/modelfusionpreset.ts +0 -1
  82. package/packages/orq-rc/src/models/components/modelfusionsynthesismode.ts +0 -2
  83. package/packages/orq-rc/src/models/components/monitortelemetrysource.ts +0 -1
  84. package/packages/orq-rc/src/models/components/notifiertype.ts +0 -1
  85. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  86. package/packages/orq-rc/src/models/components/replayauditlogdeliveriesrequest.ts +42 -0
  87. package/packages/orq-rc/src/models/components/replayauditlogdeliveriesresponse.ts +41 -0
  88. package/packages/orq-rc/src/models/components/rotateauditlogdestinationsecretresponse.ts +51 -0
  89. package/packages/orq-rc/src/models/components/sessioninterval.ts +0 -1
  90. package/packages/orq-rc/src/models/components/smartrouterprofile.ts +0 -1
  91. package/packages/orq-rc/src/models/components/syncstatus.ts +0 -1
  92. package/packages/orq-rc/src/models/components/telemetryquerymode.ts +0 -1
  93. package/packages/orq-rc/src/models/components/telemetryresultkind.ts +0 -1
  94. package/packages/orq-rc/src/models/components/telemetrysource.ts +0 -1
  95. package/packages/orq-rc/src/models/components/telemetryvaluecardinality.ts +0 -2
  96. package/packages/orq-rc/src/models/components/testauditlogdestinationresponse.ts +35 -0
  97. package/packages/orq-rc/src/models/components/threadkind.ts +0 -1
  98. package/packages/orq-rc/src/models/components/updateauditlogdestinationrequest.ts +60 -0
  99. package/packages/orq-rc/src/models/components/updateauditlogdestinationresponse.ts +35 -0
  100. package/packages/orq-rc/src/models/components/updateidentityrequest.ts +1 -1
  101. package/packages/orq-rc/src/models/components/updatemcpgatewayrequest.ts +14 -0
  102. package/packages/orq-rc/src/models/components/updateworkspacesettingsrequest.ts +2 -4
  103. package/packages/orq-rc/src/models/components/workspacecapabilities.ts +11 -0
  104. package/packages/orq-rc/src/models/operations/auditlogdestinationdelete.ts +38 -0
  105. package/packages/orq-rc/src/models/operations/auditlogdestinationget.ts +38 -0
  106. package/packages/orq-rc/src/models/operations/auditlogdestinationlist.ts +45 -0
  107. package/packages/orq-rc/src/models/operations/auditlogdestinationlistdeliveries.ts +54 -0
  108. package/packages/orq-rc/src/models/operations/auditlogdestinationreplay.ts +45 -0
  109. package/packages/orq-rc/src/models/operations/auditlogdestinationrotatesecret.ts +39 -0
  110. package/packages/orq-rc/src/models/operations/auditlogdestinationtest.ts +38 -0
  111. package/packages/orq-rc/src/models/operations/auditlogdestinationupdate.ts +45 -0
  112. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  113. package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
  114. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  115. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  116. package/packages/orq-rc/src/models/operations/index.ts +8 -0
  117. package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +1 -1
  118. package/packages/orq-rc/src/models/operations/modelcreate.ts +3 -0
  119. package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +3 -0
  120. package/packages/orq-rc/src/models/operations/modelcreateopenailike.ts +3 -0
  121. package/packages/orq-rc/src/models/operations/modelcreatevertex.ts +3 -0
  122. package/packages/orq-rc/src/models/operations/modelupdate.ts +3 -0
  123. package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +3 -0
  124. package/packages/orq-rc/src/models/operations/modelupdateopenailike.ts +3 -0
  125. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  126. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
  127. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  128. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  129. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  130. package/packages/orq-rc/src/models/operations/searchweb.ts +3 -1
  131. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  132. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  133. package/packages/orq-rc/src/sdk/auditlogdestinations.ts +172 -0
  134. package/packages/orq-rc/src/sdk/models.ts +2 -2
  135. package/packages/orq-rc/src/sdk/sdk.ts +8 -0
  136. package/packages/orq-rc/src/sdk/websearch.ts +3 -3
  137. package/sdk/websearch.d.ts +3 -3
  138. package/sdk/websearch.js +3 -3
  139. package/src/funcs/websearchSearch.ts +3 -3
  140. package/src/lib/config.ts +2 -2
  141. package/src/models/components/reasoningpart.ts +1 -1
  142. package/src/models/operations/createtool.ts +4 -4
  143. package/src/models/operations/getalltools.ts +4 -4
  144. package/src/models/operations/getv2humanevalsets.ts +2 -2
  145. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  146. package/src/models/operations/listdeploymentversions.ts +1 -1
  147. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  148. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  149. package/src/models/operations/postv2humanevalsets.ts +2 -2
  150. package/src/models/operations/retrievetool.ts +4 -4
  151. package/src/models/operations/runagent.ts +1 -1
  152. package/src/models/operations/searchweb.ts +3 -1
  153. package/src/models/operations/streamrunagent.ts +1 -1
  154. package/src/models/operations/updatetool.ts +4 -4
  155. package/src/sdk/websearch.ts +3 -3
@@ -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
+ }
@@ -11,7 +11,7 @@ export type UpdateIdentityRequest = {
11
11
  */
12
12
  displayName?: string | undefined;
13
13
  /**
14
- * New email address. Omit to keep the current email.
14
+ * New email address. Omit to keep the current email, or send an empty string to clear it.
15
15
  */
16
16
  email?: string | undefined;
17
17
  /**
@@ -68,6 +68,14 @@ export type UpdateMcpGatewayRequest = {
68
68
  * Plugins run on every tool call this gateway serves.
69
69
  */
70
70
  plugins?: Array<McpGatewayPlugin> | undefined;
71
+ /**
72
+ * Replaces the served workspace skills. An empty array is treated as no change; use `clear_skill_ids` to remove them all.
73
+ */
74
+ skillIds?: Array<string> | undefined;
75
+ /**
76
+ * Set true to stop serving every workspace skill; cannot be combined with `skill_ids`.
77
+ */
78
+ clearSkillIds?: boolean | undefined;
71
79
  };
72
80
 
73
81
  /** @internal */
@@ -82,6 +90,8 @@ export type UpdateMcpGatewayRequest$Outbound = {
82
90
  sharing?: Sharing$Outbound | undefined;
83
91
  clear_server_links?: boolean | undefined;
84
92
  plugins?: Array<McpGatewayPlugin$Outbound> | undefined;
93
+ skill_ids?: Array<string> | undefined;
94
+ clear_skill_ids?: boolean | undefined;
85
95
  };
86
96
 
87
97
  /** @internal */
@@ -100,12 +110,16 @@ export const UpdateMcpGatewayRequest$outboundSchema: z.ZodType<
100
110
  sharing: Sharing$outboundSchema.optional(),
101
111
  clearServerLinks: z.boolean().optional(),
102
112
  plugins: z.array(McpGatewayPlugin$outboundSchema).optional(),
113
+ skillIds: z.array(z.string()).optional(),
114
+ clearSkillIds: z.boolean().optional(),
103
115
  }).transform((v) => {
104
116
  return remap$(v, {
105
117
  displayName: "display_name",
106
118
  serverLinks: "server_links",
107
119
  toolNaming: "tool_naming",
108
120
  clearServerLinks: "clear_server_links",
121
+ skillIds: "skill_ids",
122
+ clearSkillIds: "clear_skill_ids",
109
123
  });
110
124
  });
111
125
 
@@ -16,10 +16,8 @@ import {
16
16
  * @remarks
17
17
  * and an omitted field is left unchanged.
18
18
  *
19
- * There is deliberately no `key` / `slug` field. The workspace slug is
20
- * immutable through this service (it is embedded in resource URLs and API
21
- * credentials), mirroring the dashboard's WorkspaceUpdateGuard, which rejects a
22
- * `key` in the PATCH /workspaces/:key body. Do not add one.
19
+ * The workspace slug is immutable through this service: it is embedded in
20
+ * resource URLs and API credentials.
23
21
  */
24
22
  export type UpdateWorkspaceSettingsRequest = {
25
23
  /**
@@ -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
+ }
@@ -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("tool_01M51N0PQZXHJ7G8DEMDCTZ4QF"),
1578
+ _id: z.string().default("tool_01M57NTT5DF6JEYNHJB51MPGHR"),
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("tool_01M51N0PQZS528EJX78CE3FMWT"),
1764
+ _id: z.string().default("tool_01M57NTT5CBE7SWS95X07TTN7E"),
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("tool_01M51N0PQY9FCBGYQWPBDJMZEH"),
1857
+ _id: z.string().default("tool_01M57NTT5BSMB916NSPV21NZKH"),
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("tool_01M51N0PQYJ7DBPAP6AQA54GPX"),
1958
+ _id: z.string().default("tool_01M57NTT5B2CH0FNDRZBED9MCG"),
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("tool_01M51N0PQWTZ2RCSEFAJ8M9JZ4"),
642
+ _id: z.string().default("tool_01M57NTT549BWN6TFQKEE4NPP0"),
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("tool_01M51N0PQVZKCSHBA27NMR99VF"),
824
+ _id: z.string().default("tool_01M57NTT54CDDHPXAXE6Q9V4ZW"),
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("tool_01M51N0PQVQ08H0Z60SBYHPHTG"),
917
+ _id: z.string().default("tool_01M57NTT536YRWBH66K7G7YP8V"),
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("tool_01M51N0PQV7D9R1ST791YV4JGK"),
1015
+ _id: z.string().default("tool_01M57NTT52JB3Y8TQQQ4VE7T8E"),
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-16T06:04:57.050Z",
143
+ "2026-10-18T14:14:36.441Z",
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-16T06:04:57.050Z",
188
+ "2026-10-18T14:14:36.441Z",
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-16T06:04:57.050Z",
144
+ "2026-10-18T14:14:36.441Z",
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-16T06:04:57.050Z",
189
+ "2026-10-18T14:14:36.441Z",
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("01M51N0PMSNBD3YVJZPTK16BYF"),
2528
+ id: z.string().default("01M57NTSZY8F1TJCXRXPVZCNSN"),
2529
2529
  knowledge_id: z.string(),
2530
2530
  configuration: z.union([
2531
2531
  z.lazy(() => KnowledgeBaseLastUserMessage$inboundSchema),