lemma-sdk 0.2.34 → 0.2.36

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 (68) hide show
  1. package/README.md +112 -114
  2. package/dist/browser/lemma-client.js +176 -14
  3. package/dist/namespaces/integrations.d.ts +10 -2
  4. package/dist/namespaces/integrations.js +17 -2
  5. package/dist/openapi_client/index.d.ts +10 -2
  6. package/dist/openapi_client/index.js +1 -0
  7. package/dist/openapi_client/models/DatastoreDataType.d.ts +2 -0
  8. package/dist/openapi_client/models/DatastoreDataType.js +2 -0
  9. package/dist/openapi_client/models/FeedbackCategory.d.ts +7 -0
  10. package/dist/openapi_client/models/FeedbackCategory.js +12 -0
  11. package/dist/openapi_client/models/FlowRunEntity.d.ts +1 -0
  12. package/dist/openapi_client/models/IntegrationHelperAgentRequest.d.ts +13 -0
  13. package/dist/openapi_client/models/IntegrationHelperAgentResponse.d.ts +25 -0
  14. package/dist/openapi_client/models/OperationDetail.d.ts +3 -0
  15. package/dist/openapi_client/models/OperationDetailsBatchRequest.d.ts +9 -0
  16. package/dist/openapi_client/models/OperationDetailsBatchRequest.js +1 -0
  17. package/dist/openapi_client/models/OperationDetailsBatchResponse.d.ts +18 -0
  18. package/dist/openapi_client/models/OperationDetailsBatchResponse.js +1 -0
  19. package/dist/openapi_client/models/OperationDiscoverResponse.d.ts +26 -0
  20. package/dist/openapi_client/models/OperationDiscoverResponse.js +1 -0
  21. package/dist/openapi_client/models/OperationSummary.d.ts +3 -0
  22. package/dist/openapi_client/models/OrganizationCreateRequest.d.ts +2 -0
  23. package/dist/openapi_client/models/OrganizationInvitationRequest.d.ts +1 -0
  24. package/dist/openapi_client/models/OrganizationInvitationResponse.d.ts +3 -0
  25. package/dist/openapi_client/models/OrganizationMessageResponse.d.ts +1 -0
  26. package/dist/openapi_client/models/OrganizationResponse.d.ts +2 -0
  27. package/dist/openapi_client/models/OrganizationSlugAvailabilityResponse.d.ts +7 -0
  28. package/dist/openapi_client/models/OrganizationSlugAvailabilityResponse.js +1 -0
  29. package/dist/openapi_client/models/ReportFeedbackRequest.d.ts +30 -0
  30. package/dist/openapi_client/models/ReportFeedbackRequest.js +1 -0
  31. package/dist/openapi_client/models/ReportFeedbackResponse.d.ts +29 -0
  32. package/dist/openapi_client/models/ReportFeedbackResponse.js +1 -0
  33. package/dist/openapi_client/models/WorkflowInstallListResponse.d.ts +4 -0
  34. package/dist/openapi_client/models/WorkflowInstallListResponse.js +1 -0
  35. package/dist/openapi_client/services/AgentToolsService.d.ts +20 -0
  36. package/dist/openapi_client/services/AgentToolsService.js +36 -0
  37. package/dist/openapi_client/services/ApplicationsService.d.ts +10 -9
  38. package/dist/openapi_client/services/ApplicationsService.js +11 -10
  39. package/dist/openapi_client/services/IntegrationsService.d.ts +3 -2
  40. package/dist/openapi_client/services/IntegrationsService.js +4 -2
  41. package/dist/openapi_client/services/OrganizationsService.d.ts +18 -0
  42. package/dist/openapi_client/services/OrganizationsService.js +40 -0
  43. package/dist/openapi_client/services/WorkflowsService.d.ts +10 -0
  44. package/dist/openapi_client/services/WorkflowsService.js +21 -0
  45. package/dist/react/index.d.ts +14 -0
  46. package/dist/react/index.js +7 -0
  47. package/dist/react/sql-utils.d.ts +8 -0
  48. package/dist/react/sql-utils.js +62 -0
  49. package/dist/react/useCreateFolder.d.ts +22 -0
  50. package/dist/react/useCreateFolder.js +47 -0
  51. package/dist/react/useDatastoreQuery.d.ts +22 -0
  52. package/dist/react/useDatastoreQuery.js +67 -0
  53. package/dist/react/useDeleteFile.d.ts +19 -0
  54. package/dist/react/useDeleteFile.js +51 -0
  55. package/dist/react/useGlobalSearch.d.ts +62 -0
  56. package/dist/react/useGlobalSearch.js +170 -0
  57. package/dist/react/useRecordAggregates.d.ts +35 -0
  58. package/dist/react/useRecordAggregates.js +126 -0
  59. package/dist/react/useTaskSession.js +3 -2
  60. package/dist/react/useUpdateFile.d.ts +29 -0
  61. package/dist/react/useUpdateFile.js +51 -0
  62. package/dist/react/useUploadFile.d.ts +24 -0
  63. package/dist/react/useUploadFile.js +46 -0
  64. package/package.json +1 -1
  65. package/dist/openapi_client/models/AppDescriptorResponse.d.ts +0 -5
  66. package/dist/openapi_client/models/OperationListResponse.d.ts +0 -6
  67. /package/dist/openapi_client/models/{AppDescriptorResponse.js → IntegrationHelperAgentRequest.js} +0 -0
  68. /package/dist/openapi_client/models/{OperationListResponse.js → IntegrationHelperAgentResponse.js} +0 -0
@@ -8,11 +8,19 @@ export declare class IntegrationsNamespace {
8
8
  }): Promise<import("../types.js").ApplicationListResponseSchema>;
9
9
  get(applicationId: string): Promise<import("../types.js").ApplicationDetailResponseSchema>;
10
10
  readonly operations: {
11
- list: (applicationId: string) => Promise<import("../types.js").OperationListResponse>;
11
+ discover: (applicationId: string, options?: {
12
+ query?: string;
13
+ limit?: number;
14
+ }) => Promise<import("../types.js").OperationDiscoverResponse>;
15
+ list: (applicationId: string, options?: {
16
+ query?: string;
17
+ limit?: number;
18
+ }) => Promise<import("../types.js").OperationSummary[]>;
12
19
  get: (applicationId: string, operationName: string) => Promise<import("../types.js").OperationDetail>;
20
+ details: (applicationId: string, operationNames?: string[]) => Promise<import("../types.js").OperationDetailsBatchResponse>;
13
21
  execute: (applicationId: string, operationName: string, payload: Record<string, unknown>, accountId?: string) => Promise<import("../types.js").OperationExecutionResponse>;
14
- descriptor: (applicationId: string) => Promise<import("../types.js").AppDescriptorResponse>;
15
22
  };
23
+ helperAgent(goal: string, appNames: string[]): Promise<import("../types.js").IntegrationHelperAgentResponse>;
16
24
  readonly triggers: {
17
25
  list: (options?: {
18
26
  applicationId?: string;
@@ -1,3 +1,4 @@
1
+ import { AgentToolsService } from "../openapi_client/services/AgentToolsService.js";
1
2
  import { ApplicationsService } from "../openapi_client/services/ApplicationsService.js";
2
3
  import { IntegrationsService } from "../openapi_client/services/IntegrationsService.js";
3
4
  export class IntegrationsNamespace {
@@ -12,14 +13,28 @@ export class IntegrationsNamespace {
12
13
  return this.client.request(() => ApplicationsService.applicationGet(applicationId));
13
14
  }
14
15
  operations = {
15
- list: (applicationId) => this.client.request(() => ApplicationsService.applicationOperationList(applicationId)),
16
+ discover: (applicationId, options = {}) => this.client.request(() => ApplicationsService.applicationOperationDiscover(applicationId, options.query, options.limit ?? 100)),
17
+ list: async (applicationId, options = {}) => {
18
+ const response = await this.client.request(() => ApplicationsService.applicationOperationDiscover(applicationId, options.query, options.limit ?? 100));
19
+ return response.items ?? [];
20
+ },
16
21
  get: (applicationId, operationName) => this.client.request(() => ApplicationsService.applicationOperationDetail(applicationId, operationName)),
22
+ details: (applicationId, operationNames) => {
23
+ const body = { operation_names: operationNames };
24
+ return this.client.request(() => ApplicationsService.applicationOperationDetailsBatch(applicationId, body));
25
+ },
17
26
  execute: (applicationId, operationName, payload, accountId) => {
18
27
  const body = { payload, account_id: accountId };
19
28
  return this.client.request(() => ApplicationsService.applicationOperationExecute(applicationId, operationName, body));
20
29
  },
21
- descriptor: (applicationId) => this.client.request(() => ApplicationsService.applicationDescriptor(applicationId)),
22
30
  };
31
+ helperAgent(goal, appNames) {
32
+ const body = {
33
+ app_names: appNames,
34
+ goal,
35
+ };
36
+ return this.client.request(() => AgentToolsService.toolIntegrationHelperAgent(body));
37
+ }
23
38
  triggers = {
24
39
  list: (options = {}) => this.client.request(() => ApplicationsService.applicationTriggerList(options.applicationId, options.search, options.limit ?? 100, options.pageToken)),
25
40
  get: (triggerId) => this.client.request(() => ApplicationsService.applicationTriggerGet(triggerId)),
@@ -15,7 +15,6 @@ export type { AgentNodeConfig } from './models/AgentNodeConfig.js';
15
15
  export type { AgentNodeResponse } from './models/AgentNodeResponse.js';
16
16
  export type { AgentResponse } from './models/AgentResponse.js';
17
17
  export type { ApiKeyCredentialsResponseSchema } from './models/ApiKeyCredentialsResponseSchema.js';
18
- export type { AppDescriptorResponse } from './models/AppDescriptorResponse.js';
19
18
  export type { ApplicationAccessConfig } from './models/ApplicationAccessConfig.js';
20
19
  export type { ApplicationDetailResponseSchema } from './models/ApplicationDetailResponseSchema.js';
21
20
  export type { ApplicationListResponseSchema } from './models/ApplicationListResponseSchema.js';
@@ -92,6 +91,7 @@ export type { EventWorkflowStartInput } from './models/EventWorkflowStartInput.j
92
91
  export type { EventWorkflowStartOutput } from './models/EventWorkflowStartOutput.js';
93
92
  export type { ExecuteFunctionRequest } from './models/ExecuteFunctionRequest.js';
94
93
  export type { ExpressionInputBinding } from './models/ExpressionInputBinding.js';
94
+ export { FeedbackCategory } from './models/FeedbackCategory.js';
95
95
  export { FileInfo } from './models/FileInfo.js';
96
96
  export type { FileListResponse } from './models/FileListResponse.js';
97
97
  export type { FileResponse } from './models/FileResponse.js';
@@ -126,6 +126,8 @@ export type { GrantPermissionRequest } from './models/GrantPermissionRequest.js'
126
126
  export type { HTTPValidationError } from './models/HTTPValidationError.js';
127
127
  export type { IconUploadRequest } from './models/IconUploadRequest.js';
128
128
  export type { IconUploadResponse } from './models/IconUploadResponse.js';
129
+ export type { IntegrationHelperAgentRequest } from './models/IntegrationHelperAgentRequest.js';
130
+ export type { IntegrationHelperAgentResponse } from './models/IntegrationHelperAgentResponse.js';
129
131
  export type { LiteralInputBinding } from './models/LiteralInputBinding.js';
130
132
  export type { LoopNode } from './models/LoopNode.js';
131
133
  export type { LoopNodeConfig } from './models/LoopNodeConfig.js';
@@ -136,9 +138,11 @@ export type { MessageResponseSchema } from './models/MessageResponseSchema.js';
136
138
  export type { NotificationContent } from './models/NotificationContent.js';
137
139
  export type { OauthCredentialsResponseSchema } from './models/OauthCredentialsResponseSchema.js';
138
140
  export type { OperationDetail } from './models/OperationDetail.js';
141
+ export type { OperationDetailsBatchRequest } from './models/OperationDetailsBatchRequest.js';
142
+ export type { OperationDetailsBatchResponse } from './models/OperationDetailsBatchResponse.js';
143
+ export type { OperationDiscoverResponse } from './models/OperationDiscoverResponse.js';
139
144
  export type { OperationExecutionRequest } from './models/OperationExecutionRequest.js';
140
145
  export type { OperationExecutionResponse } from './models/OperationExecutionResponse.js';
141
- export type { OperationListResponse } from './models/OperationListResponse.js';
142
146
  export type { OperationSummary } from './models/OperationSummary.js';
143
147
  export type { OrganizationCreateRequest } from './models/OrganizationCreateRequest.js';
144
148
  export type { OrganizationInvitationListResponse } from './models/OrganizationInvitationListResponse.js';
@@ -151,6 +155,7 @@ export type { OrganizationMemberResponse } from './models/OrganizationMemberResp
151
155
  export type { OrganizationMessageResponse } from './models/OrganizationMessageResponse.js';
152
156
  export type { OrganizationResponse } from './models/OrganizationResponse.js';
153
157
  export { OrganizationRole } from './models/OrganizationRole.js';
158
+ export type { OrganizationSlugAvailabilityResponse } from './models/OrganizationSlugAvailabilityResponse.js';
154
159
  export type { OutlookSurfaceConfig } from './models/OutlookSurfaceConfig.js';
155
160
  export type { OutlookSurfaceConfigInput } from './models/OutlookSurfaceConfigInput.js';
156
161
  export type { PlanListResponse } from './models/PlanListResponse.js';
@@ -177,6 +182,8 @@ export type { PodUpdateRequest } from './models/PodUpdateRequest.js';
177
182
  export type { RecentUsageResponse } from './models/RecentUsageResponse.js';
178
183
  export type { RecordListResponse } from './models/RecordListResponse.js';
179
184
  export type { RecordResponse } from './models/RecordResponse.js';
185
+ export type { ReportFeedbackRequest } from './models/ReportFeedbackRequest.js';
186
+ export type { ReportFeedbackResponse } from './models/ReportFeedbackResponse.js';
180
187
  export type { ResourceFileListResponse } from './models/ResourceFileListResponse.js';
181
188
  export type { ResourcePermissionListResponse } from './models/ResourcePermissionListResponse.js';
182
189
  export type { ResourcePermissionResponse } from './models/ResourcePermissionResponse.js';
@@ -265,6 +272,7 @@ export type { WhatsAppSurfaceConfigInput } from './models/WhatsAppSurfaceConfigI
265
272
  export type { WorkflowCreateRequest } from './models/WorkflowCreateRequest.js';
266
273
  export type { WorkflowEdge } from './models/WorkflowEdge.js';
267
274
  export type { WorkflowGraphUpdateRequest } from './models/WorkflowGraphUpdateRequest.js';
275
+ export type { WorkflowInstallListResponse } from './models/WorkflowInstallListResponse.js';
268
276
  export { WorkflowInstallMode } from './models/WorkflowInstallMode.js';
269
277
  export type { WorkflowInstallRequest } from './models/WorkflowInstallRequest.js';
270
278
  export type { WorkflowListResponse } from './models/WorkflowListResponse.js';
@@ -15,6 +15,7 @@ export { CredentialTypes } from './models/CredentialTypes.js';
15
15
  export { DatastoreDataType } from './models/DatastoreDataType.js';
16
16
  export { DatastoreOperation } from './models/DatastoreOperation.js';
17
17
  export { DeskStatus } from './models/DeskStatus.js';
18
+ export { FeedbackCategory } from './models/FeedbackCategory.js';
18
19
  export { FileInfo } from './models/FileInfo.js';
19
20
  export { FileSearchScopeMode } from './models/FileSearchScopeMode.js';
20
21
  export { FileVisibility } from './models/FileVisibility.js';
@@ -3,6 +3,7 @@
3
3
  */
4
4
  export declare enum DatastoreDataType {
5
5
  TEXT = "TEXT",
6
+ FILE_PATH = "FILE_PATH",
6
7
  INTEGER = "INTEGER",
7
8
  FLOAT = "FLOAT",
8
9
  BOOLEAN = "BOOLEAN",
@@ -10,6 +11,7 @@ export declare enum DatastoreDataType {
10
11
  DATE = "DATE",
11
12
  DATETIME = "DATETIME",
12
13
  UUID = "UUID",
14
+ USER = "USER",
13
15
  VECTOR = "VECTOR",
14
16
  SERIAL = "SERIAL",
15
17
  ENUM = "ENUM"
@@ -8,6 +8,7 @@
8
8
  export var DatastoreDataType;
9
9
  (function (DatastoreDataType) {
10
10
  DatastoreDataType["TEXT"] = "TEXT";
11
+ DatastoreDataType["FILE_PATH"] = "FILE_PATH";
11
12
  DatastoreDataType["INTEGER"] = "INTEGER";
12
13
  DatastoreDataType["FLOAT"] = "FLOAT";
13
14
  DatastoreDataType["BOOLEAN"] = "BOOLEAN";
@@ -15,6 +16,7 @@ export var DatastoreDataType;
15
16
  DatastoreDataType["DATE"] = "DATE";
16
17
  DatastoreDataType["DATETIME"] = "DATETIME";
17
18
  DatastoreDataType["UUID"] = "UUID";
19
+ DatastoreDataType["USER"] = "USER";
18
20
  DatastoreDataType["VECTOR"] = "VECTOR";
19
21
  DatastoreDataType["SERIAL"] = "SERIAL";
20
22
  DatastoreDataType["ENUM"] = "ENUM";
@@ -0,0 +1,7 @@
1
+ export declare enum FeedbackCategory {
2
+ SYSTEM_ISSUE = "SYSTEM_ISSUE",
3
+ SKILL_ISSUE = "SKILL_ISSUE",
4
+ INCORRECT_KNOWLEDGE = "INCORRECT_KNOWLEDGE",
5
+ TOOLING_ISSUE = "TOOLING_ISSUE",
6
+ OTHER = "OTHER"
7
+ }
@@ -0,0 +1,12 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export var FeedbackCategory;
6
+ (function (FeedbackCategory) {
7
+ FeedbackCategory["SYSTEM_ISSUE"] = "SYSTEM_ISSUE";
8
+ FeedbackCategory["SKILL_ISSUE"] = "SKILL_ISSUE";
9
+ FeedbackCategory["INCORRECT_KNOWLEDGE"] = "INCORRECT_KNOWLEDGE";
10
+ FeedbackCategory["TOOLING_ISSUE"] = "TOOLING_ISSUE";
11
+ FeedbackCategory["OTHER"] = "OTHER";
12
+ })(FeedbackCategory || (FeedbackCategory = {}));
@@ -16,6 +16,7 @@ export type FlowRunEntity = {
16
16
  started_at?: (string | null);
17
17
  status?: FlowRunStatus;
18
18
  step_history?: Array<StepExecution>;
19
+ trigger_event_id?: (string | null);
19
20
  trigger_type?: string;
20
21
  updated_at?: string;
21
22
  user_id: string;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Request model for the integration helper agent.
3
+ */
4
+ export type IntegrationHelperAgentRequest = {
5
+ /**
6
+ * Application IDs the agent may use while planning the goal.
7
+ */
8
+ app_names: Array<string>;
9
+ /**
10
+ * What the caller wants to achieve with one or more integrations.
11
+ */
12
+ goal: string;
13
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Response model for the integration helper agent.
3
+ */
4
+ export type IntegrationHelperAgentResponse = {
5
+ /**
6
+ * Detailed markdown guidance for accomplishing the requested goal.
7
+ */
8
+ answer_markdown?: (string | null);
9
+ /**
10
+ * Error message when the helper agent fails.
11
+ */
12
+ error?: (string | null);
13
+ /**
14
+ * Human-readable status message.
15
+ */
16
+ message?: (string | null);
17
+ /**
18
+ * Recommended operation names grouped by application.
19
+ */
20
+ operations_by_app?: Record<string, Array<string>>;
21
+ /**
22
+ * Whether the helper agent completed successfully.
23
+ */
24
+ success: boolean;
25
+ };
@@ -1,3 +1,6 @@
1
+ /**
2
+ * Full operation metadata including input and output schemas.
3
+ */
1
4
  export type OperationDetail = {
2
5
  description?: (string | null);
3
6
  input_schema: Record<string, any>;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Request multiple operation details in a single call.
3
+ */
4
+ export type OperationDetailsBatchRequest = {
5
+ /**
6
+ * Operation names to fetch. Omit or pass an empty list to return details for every operation in the application.
7
+ */
8
+ operation_names?: (Array<string> | null);
9
+ };
@@ -0,0 +1,18 @@
1
+ import type { OperationDetail } from './OperationDetail.js';
2
+ /**
3
+ * Batch response containing full metadata for multiple operations.
4
+ */
5
+ export type OperationDetailsBatchResponse = {
6
+ /**
7
+ * Application identifier.
8
+ */
9
+ application_id: string;
10
+ /**
11
+ * Operation details for the requested operations.
12
+ */
13
+ items: Array<OperationDetail>;
14
+ /**
15
+ * Number of operation details returned in this response.
16
+ */
17
+ returned_count: number;
18
+ };
@@ -0,0 +1,26 @@
1
+ import type { OperationSummary } from './OperationSummary.js';
2
+ /**
3
+ * Structured result for operation discovery within one application.
4
+ */
5
+ export type OperationDiscoverResponse = {
6
+ /**
7
+ * Application identifier.
8
+ */
9
+ application_id: string;
10
+ /**
11
+ * Matching operations with compact descriptions.
12
+ */
13
+ items: Array<OperationSummary>;
14
+ /**
15
+ * Optional discovery query used to rank or filter operations.
16
+ */
17
+ query?: (string | null);
18
+ /**
19
+ * Number of operations returned in this response.
20
+ */
21
+ returned_count: number;
22
+ /**
23
+ * Total operations available for the application.
24
+ */
25
+ total_operations: number;
26
+ };
@@ -1,3 +1,6 @@
1
+ /**
2
+ * Compact operation metadata for discovery flows.
3
+ */
1
4
  export type OperationSummary = {
2
5
  description?: (string | null);
3
6
  name: string;
@@ -2,5 +2,7 @@
2
2
  * Organization creation request schema.
3
3
  */
4
4
  export type OrganizationCreateRequest = {
5
+ allow_auto_join?: boolean;
6
+ email_domain?: (string | null);
5
7
  name: string;
6
8
  };
@@ -6,5 +6,6 @@ export type OrganizationInvitationRequest = {
6
6
  email: string;
7
7
  pod_id?: (string | null);
8
8
  pod_role?: (string | null);
9
+ redirect_uri?: (string | null);
9
10
  role: OrganizationRole;
10
11
  };
@@ -10,8 +10,11 @@ export type OrganizationInvitationResponse = {
10
10
  expires_at: string;
11
11
  id: string;
12
12
  organization_id: string;
13
+ pod_description?: (string | null);
13
14
  pod_id?: (string | null);
15
+ pod_name?: (string | null);
14
16
  pod_role?: (string | null);
17
+ redirect_uri?: (string | null);
15
18
  revoked_at?: (string | null);
16
19
  role: OrganizationRole;
17
20
  status: OrganizationInvitationStatus;
@@ -3,5 +3,6 @@
3
3
  */
4
4
  export type OrganizationMessageResponse = {
5
5
  message: string;
6
+ redirect_uri?: (string | null);
6
7
  success?: boolean;
7
8
  };
@@ -2,7 +2,9 @@
2
2
  * Organization response schema.
3
3
  */
4
4
  export type OrganizationResponse = {
5
+ allow_auto_join: boolean;
5
6
  created_at: string;
7
+ email_domain?: (string | null);
6
8
  id: string;
7
9
  name: string;
8
10
  slug: string;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Organization slug availability response.
3
+ */
4
+ export type OrganizationSlugAvailabilityResponse = {
5
+ available: boolean;
6
+ slug: string;
7
+ };
@@ -0,0 +1,30 @@
1
+ import type { FeedbackCategory } from './FeedbackCategory.js';
2
+ /**
3
+ * Request payload for maintainer feedback reports.
4
+ */
5
+ export type ReportFeedbackRequest = {
6
+ /**
7
+ * What actually happened.
8
+ */
9
+ actual_behavior: string;
10
+ /**
11
+ * High-level category for the feedback report.
12
+ */
13
+ category: FeedbackCategory;
14
+ /**
15
+ * What the caller expected to happen instead.
16
+ */
17
+ expected_behavior: string;
18
+ /**
19
+ * What issue, problem, or incorrect information was encountered.
20
+ */
21
+ issue_encountered: string;
22
+ /**
23
+ * Short subject line summarizing the report.
24
+ */
25
+ subject: string;
26
+ /**
27
+ * Optional proposed fixes, follow-ups, or next steps.
28
+ */
29
+ suggested_next_steps?: (string | null);
30
+ };
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Response payload for maintainer feedback reports.
3
+ */
4
+ export type ReportFeedbackResponse = {
5
+ /**
6
+ * Delegated agent associated with the report, if available.
7
+ */
8
+ agent_id?: (string | null);
9
+ /**
10
+ * Delegated assistant associated with the report, if available.
11
+ */
12
+ assistant_id?: (string | null);
13
+ /**
14
+ * Identifier of the created feedback report.
15
+ */
16
+ feedback_id?: (string | null);
17
+ /**
18
+ * Human-readable status message.
19
+ */
20
+ message?: (string | null);
21
+ /**
22
+ * Whether the feedback was recorded successfully.
23
+ */
24
+ success: boolean;
25
+ /**
26
+ * Authenticated user associated with the report.
27
+ */
28
+ user_id?: (string | null);
29
+ };
@@ -0,0 +1,4 @@
1
+ import type { FlowInstallResponse } from './FlowInstallResponse.js';
2
+ export type WorkflowInstallListResponse = {
3
+ items: Array<FlowInstallResponse>;
4
+ };
@@ -1,9 +1,29 @@
1
+ import type { IntegrationHelperAgentRequest } from '../models/IntegrationHelperAgentRequest.js';
2
+ import type { IntegrationHelperAgentResponse } from '../models/IntegrationHelperAgentResponse.js';
3
+ import type { ReportFeedbackRequest } from '../models/ReportFeedbackRequest.js';
4
+ import type { ReportFeedbackResponse } from '../models/ReportFeedbackResponse.js';
1
5
  import type { WebSearchAgentRequest } from '../models/WebSearchAgentRequest.js';
2
6
  import type { WebSearchAgentResponse } from '../models/WebSearchAgentResponse.js';
3
7
  import type { WebSearchRequest } from '../models/WebSearchRequest.js';
4
8
  import type { WebSearchResponse } from '../models/WebSearchResponse.js';
5
9
  import type { CancelablePromise } from '../core/CancelablePromise.js';
6
10
  export declare class AgentToolsService {
11
+ /**
12
+ * Integration Helper Agent
13
+ * Plan how to use one or more integration applications for a goal and return recommended operations.
14
+ * @param requestBody
15
+ * @returns IntegrationHelperAgentResponse Successful Response
16
+ * @throws ApiError
17
+ */
18
+ static toolIntegrationHelperAgent(requestBody: IntegrationHelperAgentRequest): CancelablePromise<IntegrationHelperAgentResponse>;
19
+ /**
20
+ * Report Feedback
21
+ * Record a maintainer-facing feedback report about system issues, skill issues, incorrect knowledge, or other unexpected behavior.
22
+ * @param requestBody
23
+ * @returns ReportFeedbackResponse Successful Response
24
+ * @throws ApiError
25
+ */
26
+ static toolReportFeedback(requestBody: ReportFeedbackRequest): CancelablePromise<ReportFeedbackResponse>;
7
27
  /**
8
28
  * Web Search
9
29
  * Run a raw web search and return structured results.
@@ -1,6 +1,42 @@
1
1
  import { OpenAPI } from '../core/OpenAPI.js';
2
2
  import { request as __request } from '../core/request.js';
3
3
  export class AgentToolsService {
4
+ /**
5
+ * Integration Helper Agent
6
+ * Plan how to use one or more integration applications for a goal and return recommended operations.
7
+ * @param requestBody
8
+ * @returns IntegrationHelperAgentResponse Successful Response
9
+ * @throws ApiError
10
+ */
11
+ static toolIntegrationHelperAgent(requestBody) {
12
+ return __request(OpenAPI, {
13
+ method: 'POST',
14
+ url: '/tools/integration-helper-agent',
15
+ body: requestBody,
16
+ mediaType: 'application/json',
17
+ errors: {
18
+ 422: `Validation Error`,
19
+ },
20
+ });
21
+ }
22
+ /**
23
+ * Report Feedback
24
+ * Record a maintainer-facing feedback report about system issues, skill issues, incorrect knowledge, or other unexpected behavior.
25
+ * @param requestBody
26
+ * @returns ReportFeedbackResponse Successful Response
27
+ * @throws ApiError
28
+ */
29
+ static toolReportFeedback(requestBody) {
30
+ return __request(OpenAPI, {
31
+ method: 'POST',
32
+ url: '/tools/report-feedback',
33
+ body: requestBody,
34
+ mediaType: 'application/json',
35
+ errors: {
36
+ 422: `Validation Error`,
37
+ },
38
+ });
39
+ }
4
40
  /**
5
41
  * Web Search
6
42
  * Run a raw web search and return structured results.
@@ -1,12 +1,13 @@
1
- import type { AppDescriptorResponse } from '../models/AppDescriptorResponse.js';
2
1
  import type { ApplicationDetailResponseSchema } from '../models/ApplicationDetailResponseSchema.js';
3
2
  import type { ApplicationListResponseSchema } from '../models/ApplicationListResponseSchema.js';
4
3
  import type { AppTriggerListResponseSchema } from '../models/AppTriggerListResponseSchema.js';
5
4
  import type { AppTriggerResponseSchema } from '../models/AppTriggerResponseSchema.js';
6
5
  import type { OperationDetail } from '../models/OperationDetail.js';
6
+ import type { OperationDetailsBatchRequest } from '../models/OperationDetailsBatchRequest.js';
7
+ import type { OperationDetailsBatchResponse } from '../models/OperationDetailsBatchResponse.js';
8
+ import type { OperationDiscoverResponse } from '../models/OperationDiscoverResponse.js';
7
9
  import type { OperationExecutionRequest } from '../models/OperationExecutionRequest.js';
8
10
  import type { OperationExecutionResponse } from '../models/OperationExecutionResponse.js';
9
- import type { OperationListResponse } from '../models/OperationListResponse.js';
10
11
  import type { CancelablePromise } from '../core/CancelablePromise.js';
11
12
  export declare class ApplicationsService {
12
13
  /**
@@ -46,22 +47,22 @@ export declare class ApplicationsService {
46
47
  */
47
48
  static applicationGet(applicationId: string): CancelablePromise<ApplicationDetailResponseSchema>;
48
49
  /**
49
- * List Application Operations
50
+ * Discover Application Operations
50
51
  * @param applicationId
51
52
  * @param query
52
53
  * @param limit
53
- * @param pageToken
54
- * @returns OperationListResponse Successful Response
54
+ * @returns OperationDiscoverResponse Successful Response
55
55
  * @throws ApiError
56
56
  */
57
- static applicationOperationList(applicationId: string, query?: (string | null), limit?: number, pageToken?: (string | null)): CancelablePromise<OperationListResponse>;
57
+ static applicationOperationDiscover(applicationId: string, query?: (string | null), limit?: number): CancelablePromise<OperationDiscoverResponse>;
58
58
  /**
59
- * Get Application Descriptor
59
+ * Get Application Operation Details In Batch
60
60
  * @param applicationId
61
- * @returns AppDescriptorResponse Successful Response
61
+ * @param requestBody
62
+ * @returns OperationDetailsBatchResponse Successful Response
62
63
  * @throws ApiError
63
64
  */
64
- static applicationDescriptor(applicationId: string): CancelablePromise<AppDescriptorResponse>;
65
+ static applicationOperationDetailsBatch(applicationId: string, requestBody: OperationDetailsBatchRequest): CancelablePromise<OperationDetailsBatchResponse>;
65
66
  /**
66
67
  * Get Application Operation Details
67
68
  * @param applicationId
@@ -86,15 +86,14 @@ export class ApplicationsService {
86
86
  });
87
87
  }
88
88
  /**
89
- * List Application Operations
89
+ * Discover Application Operations
90
90
  * @param applicationId
91
91
  * @param query
92
92
  * @param limit
93
- * @param pageToken
94
- * @returns OperationListResponse Successful Response
93
+ * @returns OperationDiscoverResponse Successful Response
95
94
  * @throws ApiError
96
95
  */
97
- static applicationOperationList(applicationId, query, limit = 100, pageToken) {
96
+ static applicationOperationDiscover(applicationId, query, limit = 100) {
98
97
  return __request(OpenAPI, {
99
98
  method: 'GET',
100
99
  url: '/integrations/applications/{application_id}/operations',
@@ -104,7 +103,6 @@ export class ApplicationsService {
104
103
  query: {
105
104
  'query': query,
106
105
  'limit': limit,
107
- 'page_token': pageToken,
108
106
  },
109
107
  errors: {
110
108
  422: `Validation Error`,
@@ -112,18 +110,21 @@ export class ApplicationsService {
112
110
  });
113
111
  }
114
112
  /**
115
- * Get Application Descriptor
113
+ * Get Application Operation Details In Batch
116
114
  * @param applicationId
117
- * @returns AppDescriptorResponse Successful Response
115
+ * @param requestBody
116
+ * @returns OperationDetailsBatchResponse Successful Response
118
117
  * @throws ApiError
119
118
  */
120
- static applicationDescriptor(applicationId) {
119
+ static applicationOperationDetailsBatch(applicationId, requestBody) {
121
120
  return __request(OpenAPI, {
122
- method: 'GET',
123
- url: '/integrations/applications/{application_id}/operations/descriptor',
121
+ method: 'POST',
122
+ url: '/integrations/applications/{application_id}/operations/details',
124
123
  path: {
125
124
  'application_id': applicationId,
126
125
  },
126
+ body: requestBody,
127
+ mediaType: 'application/json',
127
128
  errors: {
128
129
  422: `Validation Error`,
129
130
  },