lemma-sdk 0.2.6 → 0.2.7
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 +1 -1
- package/dist/browser/lemma-client.js +674 -1004
- package/dist/client.d.ts +0 -2
- package/dist/client.js +0 -3
- package/dist/index.d.ts +0 -1
- package/dist/namespaces/files.d.ts +8 -8
- package/dist/namespaces/files.js +16 -16
- package/dist/namespaces/records.d.ts +10 -10
- package/dist/namespaces/records.js +24 -24
- package/dist/namespaces/tables.d.ts +7 -7
- package/dist/namespaces/tables.js +13 -13
- package/dist/namespaces/workflows.d.ts +4 -4
- package/dist/openapi_client/index.d.ts +16 -15
- package/dist/openapi_client/index.js +4 -2
- package/dist/openapi_client/models/AccountCredentialsResponseSchema.d.ts +1 -1
- package/dist/openapi_client/models/AccountResponseSchema.d.ts +6 -6
- package/dist/openapi_client/models/{AgentNode_Input.d.ts → AgentNode.d.ts} +2 -2
- package/dist/openapi_client/models/{AgentNode_Output.d.ts → AgentNodeResponse.d.ts} +2 -5
- package/dist/openapi_client/models/AgentResponse.d.ts +10 -8
- package/dist/openapi_client/models/AppTriggerResponseSchema.d.ts +4 -4
- package/dist/openapi_client/models/ApplicationAccessConfig.d.ts +4 -4
- package/dist/openapi_client/models/ApplicationDetailResponseSchema.d.ts +6 -6
- package/dist/openapi_client/models/ApplicationResponseSchema.d.ts +5 -5
- package/dist/openapi_client/models/AssistantResponse.d.ts +9 -7
- package/dist/openapi_client/models/AssistantSurfaceResponse.d.ts +3 -3
- package/dist/openapi_client/models/CancelSubscriptionResponse.d.ts +3 -3
- package/dist/openapi_client/models/ColumnSchema.d.ts +22 -22
- package/dist/openapi_client/models/ConnectRequestResponseSchema.d.ts +4 -4
- package/dist/openapi_client/models/ConversationMessageResponse.d.ts +2 -2
- package/dist/openapi_client/models/ConversationResponse.d.ts +8 -8
- package/dist/openapi_client/models/CreateAgentRequest.d.ts +6 -4
- package/dist/openapi_client/models/CreateAssistantRequest.d.ts +5 -3
- package/dist/openapi_client/models/CreateConversationRequest.d.ts +3 -3
- package/dist/openapi_client/models/CreateDeskRequest.d.ts +2 -3
- package/dist/openapi_client/models/CreateFolderRequest.d.ts +6 -1
- package/dist/openapi_client/models/CreateFunctionRequest.d.ts +8 -6
- package/dist/openapi_client/models/CreateTableRequest.d.ts +8 -8
- package/dist/openapi_client/models/CreateTriggerRequest.d.ts +3 -3
- package/dist/openapi_client/models/DataStoreFlowStart.d.ts +6 -6
- package/dist/openapi_client/models/DatastoreFileUploadRequest.d.ts +3 -1
- package/dist/openapi_client/models/{DecisionNode_Input.d.ts → DecisionNode.d.ts} +2 -2
- package/dist/openapi_client/models/{DecisionNode_Output.d.ts → DecisionNodeResponse.d.ts} +2 -5
- package/dist/openapi_client/models/DeskBundleUploadRequest.d.ts +1 -1
- package/dist/openapi_client/models/DeskBundleUploadResponse.d.ts +1 -1
- package/dist/openapi_client/models/DeskResponse.d.ts +6 -7
- package/dist/openapi_client/models/EmailSurfaceConfigCreate.d.ts +1 -1
- package/dist/openapi_client/models/EndNode.d.ts +1 -1
- package/dist/openapi_client/models/EndNodeResponse.d.ts +8 -0
- package/dist/openapi_client/models/EventFlowStart.d.ts +5 -5
- package/dist/openapi_client/models/FileInfo.d.ts +3 -3
- package/dist/openapi_client/models/FileResponse.d.ts +13 -9
- package/dist/openapi_client/models/FileSearchRequest.d.ts +2 -2
- package/dist/openapi_client/models/FileSearchResponse.d.ts +1 -1
- package/dist/openapi_client/models/FileSearchResultSchema.d.ts +1 -1
- package/dist/openapi_client/models/FileUploadResponse.d.ts +2 -2
- package/dist/openapi_client/models/FileVisibility.d.ts +4 -0
- package/dist/openapi_client/models/FileVisibility.js +9 -0
- package/dist/openapi_client/models/FlowInstallEntity.d.ts +5 -5
- package/dist/openapi_client/models/FlowResponse.d.ts +23 -0
- package/dist/openapi_client/models/FlowRunEntity.d.ts +10 -10
- package/dist/openapi_client/models/FlowStart.d.ts +4 -4
- package/dist/openapi_client/models/FormNode.d.ts +1 -1
- package/dist/openapi_client/models/FormNodeResponse.d.ts +8 -0
- package/dist/openapi_client/models/{FunctionNode_Input.d.ts → FunctionNode.d.ts} +2 -2
- package/dist/openapi_client/models/{FunctionNode_Output.d.ts → FunctionNodeResponse.d.ts} +2 -5
- package/dist/openapi_client/models/FunctionResponse.d.ts +13 -11
- package/dist/openapi_client/models/FunctionRunResponse.d.ts +7 -7
- package/dist/openapi_client/models/IconUploadResponse.d.ts +1 -1
- package/dist/openapi_client/models/LoopNode.d.ts +1 -1
- package/dist/openapi_client/models/LoopNodeConfig.d.ts +4 -4
- package/dist/openapi_client/models/LoopNodeResponse.d.ts +8 -0
- package/dist/openapi_client/models/NotificationContent.d.ts +1 -1
- package/dist/openapi_client/models/OperationDetail.d.ts +1 -1
- package/dist/openapi_client/models/OperationExecutionRequest.d.ts +1 -1
- package/dist/openapi_client/models/OperationSummary.d.ts +1 -1
- package/dist/openapi_client/models/OrganizationInvitationResponse.d.ts +5 -5
- package/dist/openapi_client/models/OrganizationMemberResponse.d.ts +3 -3
- package/dist/openapi_client/models/OrganizationResponse.d.ts +1 -1
- package/dist/openapi_client/models/PlanResponse.d.ts +6 -6
- package/dist/openapi_client/models/PodAppConfigItem.d.ts +3 -3
- package/dist/openapi_client/models/PodCreateRequest.d.ts +3 -3
- package/dist/openapi_client/models/PodFlowConfigItem.d.ts +3 -3
- package/dist/openapi_client/models/PodListResponse.d.ts +1 -1
- package/dist/openapi_client/models/PodMemberListResponse.d.ts +1 -1
- package/dist/openapi_client/models/PodMemberResponse.d.ts +2 -2
- package/dist/openapi_client/models/PodPermissionsResponse.d.ts +1 -1
- package/dist/openapi_client/models/PodResponse.d.ts +6 -6
- package/dist/openapi_client/models/PodUpdateRequest.d.ts +2 -2
- package/dist/openapi_client/models/RecentUsageResponse.d.ts +1 -1
- package/dist/openapi_client/models/RecordListResponse.d.ts +1 -1
- package/dist/openapi_client/models/RecordQueryRequest.d.ts +4 -4
- package/dist/openapi_client/models/RecordSort.d.ts +4 -4
- package/dist/openapi_client/models/SearchResult.d.ts +3 -3
- package/dist/openapi_client/models/SeatInfoResponse.d.ts +2 -2
- package/dist/openapi_client/models/SlackSurfaceConfigCreate.d.ts +1 -1
- package/dist/openapi_client/models/StackFrame.d.ts +3 -3
- package/dist/openapi_client/models/StartSubscriptionRequest.d.ts +4 -4
- package/dist/openapi_client/models/StepExecution.d.ts +4 -4
- package/dist/openapi_client/models/SubscriptionStatusResponse.d.ts +1 -1
- package/dist/openapi_client/models/SubscriptionWithPlanResponse.d.ts +7 -7
- package/dist/openapi_client/models/TableAccessEntry.d.ts +5 -0
- package/dist/openapi_client/models/TableAccessMode.d.ts +7 -0
- package/dist/openapi_client/models/TableAccessMode.js +12 -0
- package/dist/openapi_client/models/TableResponse.d.ts +5 -5
- package/dist/openapi_client/models/TaskMessageResponse.d.ts +2 -2
- package/dist/openapi_client/models/TaskResponse.d.ts +5 -5
- package/dist/openapi_client/models/TeamsSurfaceConfigCreate.d.ts +1 -1
- package/dist/openapi_client/models/TextContent.d.ts +1 -1
- package/dist/openapi_client/models/ThinkingContent.d.ts +1 -1
- package/dist/openapi_client/models/ToolCallRequest.d.ts +2 -2
- package/dist/openapi_client/models/ToolCallResponse.d.ts +1 -1
- package/dist/openapi_client/models/TriggerResponse.d.ts +6 -6
- package/dist/openapi_client/models/UpdateAgentRequest.d.ts +5 -3
- package/dist/openapi_client/models/UpdateAssistantRequest.d.ts +4 -2
- package/dist/openapi_client/models/UpdateConversationRequest.d.ts +1 -1
- package/dist/openapi_client/models/UpdateDeskRequest.d.ts +1 -1
- package/dist/openapi_client/models/UpdateFunctionRequest.d.ts +6 -4
- package/dist/openapi_client/models/UsageRecordResponse.d.ts +11 -11
- package/dist/openapi_client/models/UsageSummaryResponse.d.ts +5 -5
- package/dist/openapi_client/models/UserProfileRequest.d.ts +2 -2
- package/dist/openapi_client/models/UserResponse.d.ts +6 -6
- package/dist/openapi_client/models/ValidationError.d.ts +2 -2
- package/dist/openapi_client/models/VerifyTokenResponse.d.ts +1 -1
- package/dist/openapi_client/models/WaitUntilNode.d.ts +1 -1
- package/dist/openapi_client/models/WaitUntilNodeResponse.d.ts +8 -0
- package/dist/openapi_client/models/WebSearchAgentResponse.d.ts +8 -8
- package/dist/openapi_client/models/WebSearchRequest.d.ts +4 -4
- package/dist/openapi_client/models/WebSearchResponse.d.ts +8 -8
- package/dist/openapi_client/models/WhatsAppSurfaceConfigCreate.d.ts +1 -1
- package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +6 -6
- package/dist/openapi_client/models/WorkflowEdge.d.ts +1 -1
- package/dist/openapi_client/models/WorkflowGraphUpdateRequest.d.ts +7 -7
- package/dist/openapi_client/models/WorkflowListResponse.d.ts +2 -2
- package/dist/openapi_client/models/update.d.ts +3 -1
- package/dist/openapi_client/services/AgentFilesService.d.ts +46 -0
- package/dist/openapi_client/services/AgentFilesService.js +103 -0
- package/dist/openapi_client/services/AgentsService.d.ts +15 -15
- package/dist/openapi_client/services/AgentsService.js +33 -33
- package/dist/openapi_client/services/ApplicationsService.d.ts +7 -7
- package/dist/openapi_client/services/ApplicationsService.js +16 -16
- package/dist/openapi_client/services/AssistantSurfacesService.d.ts +9 -9
- package/dist/openapi_client/services/AssistantSurfacesService.js +19 -19
- package/dist/openapi_client/services/AssistantsService.d.ts +13 -13
- package/dist/openapi_client/services/AssistantsService.js +31 -31
- package/dist/openapi_client/services/BillingSubscriptionsService.d.ts +15 -15
- package/dist/openapi_client/services/BillingSubscriptionsService.js +22 -22
- package/dist/openapi_client/services/BillingUsageService.d.ts +7 -7
- package/dist/openapi_client/services/BillingUsageService.js +10 -10
- package/dist/openapi_client/services/ConversationsService.d.ts +13 -13
- package/dist/openapi_client/services/ConversationsService.js +27 -27
- package/dist/openapi_client/services/DesksService.d.ts +13 -13
- package/dist/openapi_client/services/DesksService.js +31 -31
- package/dist/openapi_client/services/FilesService.d.ts +21 -72
- package/dist/openapi_client/services/FilesService.js +39 -154
- package/dist/openapi_client/services/FunctionsService.d.ts +21 -21
- package/dist/openapi_client/services/FunctionsService.js +45 -45
- package/dist/openapi_client/services/IntegrationsService.d.ts +24 -24
- package/dist/openapi_client/services/IntegrationsService.js +47 -47
- package/dist/openapi_client/services/OrganizationsService.d.ts +46 -46
- package/dist/openapi_client/services/OrganizationsService.js +88 -88
- package/dist/openapi_client/services/PodMembersService.d.ts +13 -13
- package/dist/openapi_client/services/PodMembersService.js +29 -29
- package/dist/openapi_client/services/PodsService.d.ts +18 -18
- package/dist/openapi_client/services/PodsService.js +34 -34
- package/dist/openapi_client/services/PublicDesksService.d.ts +10 -0
- package/dist/openapi_client/services/PublicDesksService.js +22 -0
- package/dist/openapi_client/services/RecordsService.d.ts +39 -48
- package/dist/openapi_client/services/RecordsService.js +71 -89
- package/dist/openapi_client/services/TablesService.d.ts +18 -25
- package/dist/openapi_client/services/TablesService.js +39 -53
- package/dist/openapi_client/services/TasksService.d.ts +19 -19
- package/dist/openapi_client/services/TasksService.js +39 -39
- package/dist/openapi_client/services/TriggersService.d.ts +16 -16
- package/dist/openapi_client/services/TriggersService.js +35 -35
- package/dist/openapi_client/services/WebhooksService.d.ts +8 -8
- package/dist/openapi_client/services/WebhooksService.js +18 -18
- package/dist/openapi_client/services/WorkflowsService.d.ts +59 -59
- package/dist/openapi_client/services/WorkflowsService.js +115 -115
- package/package.json +1 -1
- package/dist/namespaces/datastores.d.ts +0 -18
- package/dist/namespaces/datastores.js +0 -28
- package/dist/openapi_client/models/CreateDatastoreRequest.d.ts +0 -21
- package/dist/openapi_client/models/DatastoreListResponse.d.ts +0 -9
- package/dist/openapi_client/models/DatastoreQueryRequest.d.ts +0 -9
- package/dist/openapi_client/models/DatastoreResponse.d.ts +0 -15
- package/dist/openapi_client/models/FlowEntity.d.ts +0 -26
- package/dist/openapi_client/models/RecordQueryResponse.d.ts +0 -13
- package/dist/openapi_client/models/UpdateDatastoreRequest.d.ts +0 -17
- package/dist/openapi_client/models/UpdateDatastoreRequest.js +0 -1
- package/dist/openapi_client/services/DatastoreService.d.ts +0 -67
- package/dist/openapi_client/services/DatastoreService.js +0 -141
- package/dist/openapi_client/services/PublicSdkService.d.ts +0 -17
- package/dist/openapi_client/services/PublicSdkService.js +0 -35
- /package/dist/openapi_client/models/{AgentNode_Input.js → AgentNode.js} +0 -0
- /package/dist/openapi_client/models/{AgentNode_Output.js → AgentNodeResponse.js} +0 -0
- /package/dist/openapi_client/models/{CreateDatastoreRequest.js → DecisionNode.js} +0 -0
- /package/dist/openapi_client/models/{DatastoreListResponse.js → DecisionNodeResponse.js} +0 -0
- /package/dist/openapi_client/models/{DatastoreQueryRequest.js → EndNodeResponse.js} +0 -0
- /package/dist/openapi_client/models/{DatastoreResponse.js → FlowResponse.js} +0 -0
- /package/dist/openapi_client/models/{DecisionNode_Input.js → FormNodeResponse.js} +0 -0
- /package/dist/openapi_client/models/{DecisionNode_Output.js → FunctionNode.js} +0 -0
- /package/dist/openapi_client/models/{FlowEntity.js → FunctionNodeResponse.js} +0 -0
- /package/dist/openapi_client/models/{FunctionNode_Input.js → LoopNodeResponse.js} +0 -0
- /package/dist/openapi_client/models/{FunctionNode_Output.js → TableAccessEntry.js} +0 -0
- /package/dist/openapi_client/models/{RecordQueryResponse.js → WaitUntilNodeResponse.js} +0 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class AgentFilesService {
|
|
4
|
+
/**
|
|
5
|
+
* Delete File
|
|
6
|
+
* @param resourceType
|
|
7
|
+
* @param resourceId
|
|
8
|
+
* @param filePath
|
|
9
|
+
* @returns any Successful Response
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static deleteFileFilesResourceTypeResourceIdDeleteFilePathDelete(resourceType, resourceId, filePath) {
|
|
13
|
+
return __request(OpenAPI, {
|
|
14
|
+
method: 'DELETE',
|
|
15
|
+
url: '/files/{resource_type}/{resource_id}/delete/{file_path}',
|
|
16
|
+
path: {
|
|
17
|
+
'resource_type': resourceType,
|
|
18
|
+
'resource_id': resourceId,
|
|
19
|
+
'file_path': filePath,
|
|
20
|
+
},
|
|
21
|
+
errors: {
|
|
22
|
+
422: `Validation Error`,
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Download File
|
|
28
|
+
* @param resourceType
|
|
29
|
+
* @param resourceId
|
|
30
|
+
* @param filePath
|
|
31
|
+
* @returns any Successful Response
|
|
32
|
+
* @throws ApiError
|
|
33
|
+
*/
|
|
34
|
+
static downloadFileFilesResourceTypeResourceIdDownloadFilePathGet(resourceType, resourceId, filePath) {
|
|
35
|
+
return __request(OpenAPI, {
|
|
36
|
+
method: 'GET',
|
|
37
|
+
url: '/files/{resource_type}/{resource_id}/download/{file_path}',
|
|
38
|
+
path: {
|
|
39
|
+
'resource_type': resourceType,
|
|
40
|
+
'resource_id': resourceId,
|
|
41
|
+
'file_path': filePath,
|
|
42
|
+
},
|
|
43
|
+
errors: {
|
|
44
|
+
422: `Validation Error`,
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* List Files
|
|
50
|
+
* @param resourceType
|
|
51
|
+
* @param resourceId
|
|
52
|
+
* @param path
|
|
53
|
+
* @param limit
|
|
54
|
+
* @param pageToken
|
|
55
|
+
* @returns ResourceFileListResponse Successful Response
|
|
56
|
+
* @throws ApiError
|
|
57
|
+
*/
|
|
58
|
+
static listFilesFilesResourceTypeResourceIdListGet(resourceType, resourceId, path = '', limit = 100, pageToken) {
|
|
59
|
+
return __request(OpenAPI, {
|
|
60
|
+
method: 'GET',
|
|
61
|
+
url: '/files/{resource_type}/{resource_id}/list',
|
|
62
|
+
path: {
|
|
63
|
+
'resource_type': resourceType,
|
|
64
|
+
'resource_id': resourceId,
|
|
65
|
+
},
|
|
66
|
+
query: {
|
|
67
|
+
'path': path,
|
|
68
|
+
'limit': limit,
|
|
69
|
+
'page_token': pageToken,
|
|
70
|
+
},
|
|
71
|
+
errors: {
|
|
72
|
+
422: `Validation Error`,
|
|
73
|
+
},
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Upload File
|
|
78
|
+
* @param resourceType
|
|
79
|
+
* @param resourceId
|
|
80
|
+
* @param formData
|
|
81
|
+
* @param path
|
|
82
|
+
* @returns FileUploadResponse Successful Response
|
|
83
|
+
* @throws ApiError
|
|
84
|
+
*/
|
|
85
|
+
static uploadFileFilesResourceTypeResourceIdUploadPost(resourceType, resourceId, formData, path) {
|
|
86
|
+
return __request(OpenAPI, {
|
|
87
|
+
method: 'POST',
|
|
88
|
+
url: '/files/{resource_type}/{resource_id}/upload',
|
|
89
|
+
path: {
|
|
90
|
+
'resource_type': resourceType,
|
|
91
|
+
'resource_id': resourceId,
|
|
92
|
+
},
|
|
93
|
+
query: {
|
|
94
|
+
'path': path,
|
|
95
|
+
},
|
|
96
|
+
formData: formData,
|
|
97
|
+
mediaType: 'multipart/form-data',
|
|
98
|
+
errors: {
|
|
99
|
+
422: `Validation Error`,
|
|
100
|
+
},
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -5,6 +5,16 @@ import type { CreateAgentRequest } from '../models/CreateAgentRequest.js';
|
|
|
5
5
|
import type { UpdateAgentRequest } from '../models/UpdateAgentRequest.js';
|
|
6
6
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
7
7
|
export declare class AgentsService {
|
|
8
|
+
/**
|
|
9
|
+
* List Agents
|
|
10
|
+
* List all agents in a pod
|
|
11
|
+
* @param podId
|
|
12
|
+
* @param limit
|
|
13
|
+
* @param pageToken
|
|
14
|
+
* @returns AgentListResponse Successful Response
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
static agentList(podId: string, limit?: number, pageToken?: (string | null)): CancelablePromise<AgentListResponse>;
|
|
8
18
|
/**
|
|
9
19
|
* Create Agent
|
|
10
20
|
* Create a new agent in a pod
|
|
@@ -15,15 +25,14 @@ export declare class AgentsService {
|
|
|
15
25
|
*/
|
|
16
26
|
static agentCreate(podId: string, requestBody: CreateAgentRequest): CancelablePromise<AgentResponse>;
|
|
17
27
|
/**
|
|
18
|
-
*
|
|
19
|
-
*
|
|
28
|
+
* Delete Agent
|
|
29
|
+
* Delete an agent
|
|
20
30
|
* @param podId
|
|
21
|
-
* @param
|
|
22
|
-
* @
|
|
23
|
-
* @returns AgentListResponse Successful Response
|
|
31
|
+
* @param agentName
|
|
32
|
+
* @returns AgentMessageResponse Successful Response
|
|
24
33
|
* @throws ApiError
|
|
25
34
|
*/
|
|
26
|
-
static
|
|
35
|
+
static agentDelete(podId: string, agentName: string): CancelablePromise<AgentMessageResponse>;
|
|
27
36
|
/**
|
|
28
37
|
* Get Agent
|
|
29
38
|
* Get an agent by name
|
|
@@ -43,13 +52,4 @@ export declare class AgentsService {
|
|
|
43
52
|
* @throws ApiError
|
|
44
53
|
*/
|
|
45
54
|
static agentUpdate(podId: string, agentName: string, requestBody: UpdateAgentRequest): CancelablePromise<AgentResponse>;
|
|
46
|
-
/**
|
|
47
|
-
* Delete Agent
|
|
48
|
-
* Delete an agent
|
|
49
|
-
* @param podId
|
|
50
|
-
* @param agentName
|
|
51
|
-
* @returns AgentMessageResponse Successful Response
|
|
52
|
-
* @throws ApiError
|
|
53
|
-
*/
|
|
54
|
-
static agentDelete(podId: string, agentName: string): CancelablePromise<AgentMessageResponse>;
|
|
55
55
|
}
|
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
2
|
import { request as __request } from '../core/request.js';
|
|
3
3
|
export class AgentsService {
|
|
4
|
+
/**
|
|
5
|
+
* List Agents
|
|
6
|
+
* List all agents in a pod
|
|
7
|
+
* @param podId
|
|
8
|
+
* @param limit
|
|
9
|
+
* @param pageToken
|
|
10
|
+
* @returns AgentListResponse Successful Response
|
|
11
|
+
* @throws ApiError
|
|
12
|
+
*/
|
|
13
|
+
static agentList(podId, limit = 100, pageToken) {
|
|
14
|
+
return __request(OpenAPI, {
|
|
15
|
+
method: 'GET',
|
|
16
|
+
url: '/pods/{pod_id}/agents',
|
|
17
|
+
path: {
|
|
18
|
+
'pod_id': podId,
|
|
19
|
+
},
|
|
20
|
+
query: {
|
|
21
|
+
'limit': limit,
|
|
22
|
+
'page_token': pageToken,
|
|
23
|
+
},
|
|
24
|
+
errors: {
|
|
25
|
+
422: `Validation Error`,
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
}
|
|
4
29
|
/**
|
|
5
30
|
* Create Agent
|
|
6
31
|
* Create a new agent in a pod
|
|
@@ -24,24 +49,20 @@ export class AgentsService {
|
|
|
24
49
|
});
|
|
25
50
|
}
|
|
26
51
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
52
|
+
* Delete Agent
|
|
53
|
+
* Delete an agent
|
|
29
54
|
* @param podId
|
|
30
|
-
* @param
|
|
31
|
-
* @
|
|
32
|
-
* @returns AgentListResponse Successful Response
|
|
55
|
+
* @param agentName
|
|
56
|
+
* @returns AgentMessageResponse Successful Response
|
|
33
57
|
* @throws ApiError
|
|
34
58
|
*/
|
|
35
|
-
static
|
|
59
|
+
static agentDelete(podId, agentName) {
|
|
36
60
|
return __request(OpenAPI, {
|
|
37
|
-
method: '
|
|
38
|
-
url: '/pods/{pod_id}/agents',
|
|
61
|
+
method: 'DELETE',
|
|
62
|
+
url: '/pods/{pod_id}/agents/{agent_name}',
|
|
39
63
|
path: {
|
|
40
64
|
'pod_id': podId,
|
|
41
|
-
|
|
42
|
-
query: {
|
|
43
|
-
'limit': limit,
|
|
44
|
-
'page_token': pageToken,
|
|
65
|
+
'agent_name': agentName,
|
|
45
66
|
},
|
|
46
67
|
errors: {
|
|
47
68
|
422: `Validation Error`,
|
|
@@ -93,25 +114,4 @@ export class AgentsService {
|
|
|
93
114
|
},
|
|
94
115
|
});
|
|
95
116
|
}
|
|
96
|
-
/**
|
|
97
|
-
* Delete Agent
|
|
98
|
-
* Delete an agent
|
|
99
|
-
* @param podId
|
|
100
|
-
* @param agentName
|
|
101
|
-
* @returns AgentMessageResponse Successful Response
|
|
102
|
-
* @throws ApiError
|
|
103
|
-
*/
|
|
104
|
-
static agentDelete(podId, agentName) {
|
|
105
|
-
return __request(OpenAPI, {
|
|
106
|
-
method: 'DELETE',
|
|
107
|
-
url: '/pods/{pod_id}/agents/{agent_name}',
|
|
108
|
-
path: {
|
|
109
|
-
'pod_id': podId,
|
|
110
|
-
'agent_name': agentName,
|
|
111
|
-
},
|
|
112
|
-
errors: {
|
|
113
|
-
422: `Validation Error`,
|
|
114
|
-
},
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
117
|
}
|
|
@@ -45,13 +45,6 @@ export declare class ApplicationsService {
|
|
|
45
45
|
* @throws ApiError
|
|
46
46
|
*/
|
|
47
47
|
static applicationGet(applicationId: string): CancelablePromise<ApplicationDetailResponseSchema>;
|
|
48
|
-
/**
|
|
49
|
-
* Get Application Descriptor
|
|
50
|
-
* @param applicationId
|
|
51
|
-
* @returns AppDescriptorResponse Successful Response
|
|
52
|
-
* @throws ApiError
|
|
53
|
-
*/
|
|
54
|
-
static applicationDescriptor(applicationId: string): CancelablePromise<AppDescriptorResponse>;
|
|
55
48
|
/**
|
|
56
49
|
* List Application Operations
|
|
57
50
|
* @param applicationId
|
|
@@ -62,6 +55,13 @@ export declare class ApplicationsService {
|
|
|
62
55
|
* @throws ApiError
|
|
63
56
|
*/
|
|
64
57
|
static applicationOperationList(applicationId: string, query?: (string | null), limit?: number, pageToken?: (string | null)): CancelablePromise<OperationListResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* Get Application Descriptor
|
|
60
|
+
* @param applicationId
|
|
61
|
+
* @returns AppDescriptorResponse Successful Response
|
|
62
|
+
* @throws ApiError
|
|
63
|
+
*/
|
|
64
|
+
static applicationDescriptor(applicationId: string): CancelablePromise<AppDescriptorResponse>;
|
|
65
65
|
/**
|
|
66
66
|
* Get Application Operation Details
|
|
67
67
|
* @param applicationId
|
|
@@ -86,44 +86,44 @@ export class ApplicationsService {
|
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* List Application Operations
|
|
90
90
|
* @param applicationId
|
|
91
|
-
* @
|
|
91
|
+
* @param query
|
|
92
|
+
* @param limit
|
|
93
|
+
* @param pageToken
|
|
94
|
+
* @returns OperationListResponse Successful Response
|
|
92
95
|
* @throws ApiError
|
|
93
96
|
*/
|
|
94
|
-
static
|
|
97
|
+
static applicationOperationList(applicationId, query, limit = 100, pageToken) {
|
|
95
98
|
return __request(OpenAPI, {
|
|
96
99
|
method: 'GET',
|
|
97
|
-
url: '/integrations/applications/{application_id}/operations
|
|
100
|
+
url: '/integrations/applications/{application_id}/operations',
|
|
98
101
|
path: {
|
|
99
102
|
'application_id': applicationId,
|
|
100
103
|
},
|
|
104
|
+
query: {
|
|
105
|
+
'query': query,
|
|
106
|
+
'limit': limit,
|
|
107
|
+
'page_token': pageToken,
|
|
108
|
+
},
|
|
101
109
|
errors: {
|
|
102
110
|
422: `Validation Error`,
|
|
103
111
|
},
|
|
104
112
|
});
|
|
105
113
|
}
|
|
106
114
|
/**
|
|
107
|
-
*
|
|
115
|
+
* Get Application Descriptor
|
|
108
116
|
* @param applicationId
|
|
109
|
-
* @
|
|
110
|
-
* @param limit
|
|
111
|
-
* @param pageToken
|
|
112
|
-
* @returns OperationListResponse Successful Response
|
|
117
|
+
* @returns AppDescriptorResponse Successful Response
|
|
113
118
|
* @throws ApiError
|
|
114
119
|
*/
|
|
115
|
-
static
|
|
120
|
+
static applicationDescriptor(applicationId) {
|
|
116
121
|
return __request(OpenAPI, {
|
|
117
122
|
method: 'GET',
|
|
118
|
-
url: '/integrations/applications/{application_id}/operations',
|
|
123
|
+
url: '/integrations/applications/{application_id}/operations/descriptor',
|
|
119
124
|
path: {
|
|
120
125
|
'application_id': applicationId,
|
|
121
126
|
},
|
|
122
|
-
query: {
|
|
123
|
-
'query': query,
|
|
124
|
-
'limit': limit,
|
|
125
|
-
'page_token': pageToken,
|
|
126
|
-
},
|
|
127
127
|
errors: {
|
|
128
128
|
422: `Validation Error`,
|
|
129
129
|
},
|
|
@@ -4,15 +4,6 @@ import type { ToggleSurfaceRequest } from '../models/ToggleSurfaceRequest.js';
|
|
|
4
4
|
import type { UpdateSurfaceRequest } from '../models/UpdateSurfaceRequest.js';
|
|
5
5
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
6
6
|
export declare class AssistantSurfacesService {
|
|
7
|
-
/**
|
|
8
|
-
* Create Surface
|
|
9
|
-
* Create a new surface for an assistant.
|
|
10
|
-
* @param podId
|
|
11
|
-
* @param requestBody
|
|
12
|
-
* @returns any Successful Response
|
|
13
|
-
* @throws ApiError
|
|
14
|
-
*/
|
|
15
|
-
static assistantSurfaceCreate(podId: string, requestBody: CreateSurfaceRequest): CancelablePromise<any>;
|
|
16
7
|
/**
|
|
17
8
|
* List Surfaces
|
|
18
9
|
* List configured surfaces in a pod.
|
|
@@ -23,6 +14,15 @@ export declare class AssistantSurfacesService {
|
|
|
23
14
|
* @throws ApiError
|
|
24
15
|
*/
|
|
25
16
|
static assistantSurfaceList(podId: string, limit?: number, pageToken?: (string | null)): CancelablePromise<AssistantSurfaceListResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Create Surface
|
|
19
|
+
* Create a new surface for an assistant.
|
|
20
|
+
* @param podId
|
|
21
|
+
* @param requestBody
|
|
22
|
+
* @returns any Successful Response
|
|
23
|
+
* @throws ApiError
|
|
24
|
+
*/
|
|
25
|
+
static assistantSurfaceCreate(podId: string, requestBody: CreateSurfaceRequest): CancelablePromise<any>;
|
|
26
26
|
/**
|
|
27
27
|
* Get Surface
|
|
28
28
|
* Get a specific surface configuration.
|
|
@@ -2,47 +2,47 @@ import { OpenAPI } from '../core/OpenAPI.js';
|
|
|
2
2
|
import { request as __request } from '../core/request.js';
|
|
3
3
|
export class AssistantSurfacesService {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* List Surfaces
|
|
6
|
+
* List configured surfaces in a pod.
|
|
7
7
|
* @param podId
|
|
8
|
-
* @param
|
|
9
|
-
* @
|
|
8
|
+
* @param limit
|
|
9
|
+
* @param pageToken
|
|
10
|
+
* @returns AssistantSurfaceListResponse Successful Response
|
|
10
11
|
* @throws ApiError
|
|
11
12
|
*/
|
|
12
|
-
static
|
|
13
|
+
static assistantSurfaceList(podId, limit = 100, pageToken) {
|
|
13
14
|
return __request(OpenAPI, {
|
|
14
|
-
method: '
|
|
15
|
+
method: 'GET',
|
|
15
16
|
url: '/pods/{pod_id}/surfaces',
|
|
16
17
|
path: {
|
|
17
18
|
'pod_id': podId,
|
|
18
19
|
},
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
query: {
|
|
21
|
+
'limit': limit,
|
|
22
|
+
'page_token': pageToken,
|
|
23
|
+
},
|
|
21
24
|
errors: {
|
|
22
25
|
422: `Validation Error`,
|
|
23
26
|
},
|
|
24
27
|
});
|
|
25
28
|
}
|
|
26
29
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
30
|
+
* Create Surface
|
|
31
|
+
* Create a new surface for an assistant.
|
|
29
32
|
* @param podId
|
|
30
|
-
* @param
|
|
31
|
-
* @
|
|
32
|
-
* @returns AssistantSurfaceListResponse Successful Response
|
|
33
|
+
* @param requestBody
|
|
34
|
+
* @returns any Successful Response
|
|
33
35
|
* @throws ApiError
|
|
34
36
|
*/
|
|
35
|
-
static
|
|
37
|
+
static assistantSurfaceCreate(podId, requestBody) {
|
|
36
38
|
return __request(OpenAPI, {
|
|
37
|
-
method: '
|
|
39
|
+
method: 'POST',
|
|
38
40
|
url: '/pods/{pod_id}/surfaces',
|
|
39
41
|
path: {
|
|
40
42
|
'pod_id': podId,
|
|
41
43
|
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
'page_token': pageToken,
|
|
45
|
-
},
|
|
44
|
+
body: requestBody,
|
|
45
|
+
mediaType: 'application/json',
|
|
46
46
|
errors: {
|
|
47
47
|
422: `Validation Error`,
|
|
48
48
|
},
|
|
@@ -4,6 +4,15 @@ import type { CreateAssistantRequest } from '../models/CreateAssistantRequest.js
|
|
|
4
4
|
import type { UpdateAssistantRequest } from '../models/UpdateAssistantRequest.js';
|
|
5
5
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
6
6
|
export declare class AssistantsService {
|
|
7
|
+
/**
|
|
8
|
+
* List Assistants
|
|
9
|
+
* @param podId
|
|
10
|
+
* @param limit
|
|
11
|
+
* @param pageToken
|
|
12
|
+
* @returns AssistantListResponse Successful Response
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
static assistantList(podId: string, limit?: number, pageToken?: (string | null)): CancelablePromise<AssistantListResponse>;
|
|
7
16
|
/**
|
|
8
17
|
* Create Assistant
|
|
9
18
|
* @param podId
|
|
@@ -13,14 +22,13 @@ export declare class AssistantsService {
|
|
|
13
22
|
*/
|
|
14
23
|
static assistantCreate(podId: string, requestBody: CreateAssistantRequest): CancelablePromise<AssistantResponse>;
|
|
15
24
|
/**
|
|
16
|
-
*
|
|
25
|
+
* Delete Assistant
|
|
17
26
|
* @param podId
|
|
18
|
-
* @param
|
|
19
|
-
* @
|
|
20
|
-
* @returns AssistantListResponse Successful Response
|
|
27
|
+
* @param assistantName
|
|
28
|
+
* @returns void
|
|
21
29
|
* @throws ApiError
|
|
22
30
|
*/
|
|
23
|
-
static
|
|
31
|
+
static assistantDelete(podId: string, assistantName: string): CancelablePromise<void>;
|
|
24
32
|
/**
|
|
25
33
|
* Get Assistant
|
|
26
34
|
* @param podId
|
|
@@ -38,12 +46,4 @@ export declare class AssistantsService {
|
|
|
38
46
|
* @throws ApiError
|
|
39
47
|
*/
|
|
40
48
|
static assistantUpdate(podId: string, assistantName: string, requestBody: UpdateAssistantRequest): CancelablePromise<AssistantResponse>;
|
|
41
|
-
/**
|
|
42
|
-
* Delete Assistant
|
|
43
|
-
* @param podId
|
|
44
|
-
* @param assistantName
|
|
45
|
-
* @returns void
|
|
46
|
-
* @throws ApiError
|
|
47
|
-
*/
|
|
48
|
-
static assistantDelete(podId: string, assistantName: string): CancelablePromise<void>;
|
|
49
49
|
}
|
|
@@ -2,60 +2,60 @@ import { OpenAPI } from '../core/OpenAPI.js';
|
|
|
2
2
|
import { request as __request } from '../core/request.js';
|
|
3
3
|
export class AssistantsService {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* List Assistants
|
|
6
6
|
* @param podId
|
|
7
|
-
* @param
|
|
8
|
-
* @
|
|
7
|
+
* @param limit
|
|
8
|
+
* @param pageToken
|
|
9
|
+
* @returns AssistantListResponse Successful Response
|
|
9
10
|
* @throws ApiError
|
|
10
11
|
*/
|
|
11
|
-
static
|
|
12
|
+
static assistantList(podId, limit = 100, pageToken) {
|
|
12
13
|
return __request(OpenAPI, {
|
|
13
|
-
method: '
|
|
14
|
+
method: 'GET',
|
|
14
15
|
url: '/pods/{pod_id}/assistants',
|
|
15
16
|
path: {
|
|
16
17
|
'pod_id': podId,
|
|
17
18
|
},
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
query: {
|
|
20
|
+
'limit': limit,
|
|
21
|
+
'page_token': pageToken,
|
|
22
|
+
},
|
|
20
23
|
errors: {
|
|
21
24
|
422: `Validation Error`,
|
|
22
25
|
},
|
|
23
26
|
});
|
|
24
27
|
}
|
|
25
28
|
/**
|
|
26
|
-
*
|
|
29
|
+
* Create Assistant
|
|
27
30
|
* @param podId
|
|
28
|
-
* @param
|
|
29
|
-
* @
|
|
30
|
-
* @returns AssistantListResponse Successful Response
|
|
31
|
+
* @param requestBody
|
|
32
|
+
* @returns AssistantResponse Successful Response
|
|
31
33
|
* @throws ApiError
|
|
32
34
|
*/
|
|
33
|
-
static
|
|
35
|
+
static assistantCreate(podId, requestBody) {
|
|
34
36
|
return __request(OpenAPI, {
|
|
35
|
-
method: '
|
|
37
|
+
method: 'POST',
|
|
36
38
|
url: '/pods/{pod_id}/assistants',
|
|
37
39
|
path: {
|
|
38
40
|
'pod_id': podId,
|
|
39
41
|
},
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
'page_token': pageToken,
|
|
43
|
-
},
|
|
42
|
+
body: requestBody,
|
|
43
|
+
mediaType: 'application/json',
|
|
44
44
|
errors: {
|
|
45
45
|
422: `Validation Error`,
|
|
46
46
|
},
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Delete Assistant
|
|
51
51
|
* @param podId
|
|
52
52
|
* @param assistantName
|
|
53
|
-
* @returns
|
|
53
|
+
* @returns void
|
|
54
54
|
* @throws ApiError
|
|
55
55
|
*/
|
|
56
|
-
static
|
|
56
|
+
static assistantDelete(podId, assistantName) {
|
|
57
57
|
return __request(OpenAPI, {
|
|
58
|
-
method: '
|
|
58
|
+
method: 'DELETE',
|
|
59
59
|
url: '/pods/{pod_id}/assistants/{assistant_name}',
|
|
60
60
|
path: {
|
|
61
61
|
'pod_id': podId,
|
|
@@ -67,43 +67,43 @@ export class AssistantsService {
|
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* Get Assistant
|
|
71
71
|
* @param podId
|
|
72
72
|
* @param assistantName
|
|
73
|
-
* @param requestBody
|
|
74
73
|
* @returns AssistantResponse Successful Response
|
|
75
74
|
* @throws ApiError
|
|
76
75
|
*/
|
|
77
|
-
static
|
|
76
|
+
static assistantGet(podId, assistantName) {
|
|
78
77
|
return __request(OpenAPI, {
|
|
79
|
-
method: '
|
|
78
|
+
method: 'GET',
|
|
80
79
|
url: '/pods/{pod_id}/assistants/{assistant_name}',
|
|
81
80
|
path: {
|
|
82
81
|
'pod_id': podId,
|
|
83
82
|
'assistant_name': assistantName,
|
|
84
83
|
},
|
|
85
|
-
body: requestBody,
|
|
86
|
-
mediaType: 'application/json',
|
|
87
84
|
errors: {
|
|
88
85
|
422: `Validation Error`,
|
|
89
86
|
},
|
|
90
87
|
});
|
|
91
88
|
}
|
|
92
89
|
/**
|
|
93
|
-
*
|
|
90
|
+
* Update Assistant
|
|
94
91
|
* @param podId
|
|
95
92
|
* @param assistantName
|
|
96
|
-
* @
|
|
93
|
+
* @param requestBody
|
|
94
|
+
* @returns AssistantResponse Successful Response
|
|
97
95
|
* @throws ApiError
|
|
98
96
|
*/
|
|
99
|
-
static
|
|
97
|
+
static assistantUpdate(podId, assistantName, requestBody) {
|
|
100
98
|
return __request(OpenAPI, {
|
|
101
|
-
method: '
|
|
99
|
+
method: 'PATCH',
|
|
102
100
|
url: '/pods/{pod_id}/assistants/{assistant_name}',
|
|
103
101
|
path: {
|
|
104
102
|
'pod_id': podId,
|
|
105
103
|
'assistant_name': assistantName,
|
|
106
104
|
},
|
|
105
|
+
body: requestBody,
|
|
106
|
+
mediaType: 'application/json',
|
|
107
107
|
errors: {
|
|
108
108
|
422: `Validation Error`,
|
|
109
109
|
},
|
|
@@ -18,19 +18,12 @@ export declare class BillingSubscriptionsService {
|
|
|
18
18
|
*/
|
|
19
19
|
static billingPlansList(onlyActive?: boolean, limit?: number, pageToken?: (string | null)): CancelablePromise<PlanListResponse>;
|
|
20
20
|
/**
|
|
21
|
-
* Get
|
|
22
|
-
* Get
|
|
23
|
-
* @returns
|
|
24
|
-
* @throws ApiError
|
|
25
|
-
*/
|
|
26
|
-
static billingSubscriptionsMy(): CancelablePromise<SubscriptionWithPlanResponse>;
|
|
27
|
-
/**
|
|
28
|
-
* Get Subscription Status
|
|
29
|
-
* Get simple subscription status for the organization.
|
|
30
|
-
* @returns SubscriptionStatusResponse Successful Response
|
|
21
|
+
* Get Seat Info
|
|
22
|
+
* Get seat availability information.
|
|
23
|
+
* @returns SeatInfoResponse Successful Response
|
|
31
24
|
* @throws ApiError
|
|
32
25
|
*/
|
|
33
|
-
static
|
|
26
|
+
static billingSeatsInfo(): CancelablePromise<SeatInfoResponse>;
|
|
34
27
|
/**
|
|
35
28
|
* Start Subscription
|
|
36
29
|
* Start a new subscription. Returns checkout URL.
|
|
@@ -47,10 +40,17 @@ export declare class BillingSubscriptionsService {
|
|
|
47
40
|
*/
|
|
48
41
|
static billingSubscriptionsCancel(): CancelablePromise<CancelSubscriptionResponse>;
|
|
49
42
|
/**
|
|
50
|
-
* Get
|
|
51
|
-
* Get
|
|
52
|
-
* @returns
|
|
43
|
+
* Get My Subscription
|
|
44
|
+
* Get the current organization's subscription.
|
|
45
|
+
* @returns SubscriptionWithPlanResponse Successful Response
|
|
53
46
|
* @throws ApiError
|
|
54
47
|
*/
|
|
55
|
-
static
|
|
48
|
+
static billingSubscriptionsMy(): CancelablePromise<SubscriptionWithPlanResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Get Subscription Status
|
|
51
|
+
* Get simple subscription status for the organization.
|
|
52
|
+
* @returns SubscriptionStatusResponse Successful Response
|
|
53
|
+
* @throws ApiError
|
|
54
|
+
*/
|
|
55
|
+
static billingSubscriptionsStatus(): CancelablePromise<SubscriptionStatusResponse>;
|
|
56
56
|
}
|