lemma-sdk 0.2.6 → 0.2.8
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/dist/react/useAssistantSession.js +28 -23
- 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
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Schema for executing read-only SQL within a datastore.
|
|
3
|
-
*/
|
|
4
|
-
export type DatastoreQueryRequest = {
|
|
5
|
-
/**
|
|
6
|
-
* Read-only SQL query executed inside this datastore schema. Only SELECT-style queries are allowed; mutating statements are blocked. Write queries such as INSERT, UPDATE, DELETE, ALTER, DROP, CREATE, and TRUNCATE are rejected. Example: `SELECT id, amount FROM expenses WHERE amount > 100 ORDER BY created_at DESC LIMIT 20`.
|
|
7
|
-
*/
|
|
8
|
-
query: string;
|
|
9
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Schema for datastore response.
|
|
3
|
-
*/
|
|
4
|
-
export type DatastoreResponse = {
|
|
5
|
-
id: string;
|
|
6
|
-
pod_id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
description: (string | null);
|
|
9
|
-
events_enabled: boolean;
|
|
10
|
-
search_enabled: boolean;
|
|
11
|
-
graph_rag_enabled: boolean;
|
|
12
|
-
graph_instruction: (string | null);
|
|
13
|
-
created_at: string;
|
|
14
|
-
updated_at: string;
|
|
15
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { AgentNode_Output } from './AgentNode_Output.js';
|
|
2
|
-
import type { DecisionNode_Output } from './DecisionNode_Output.js';
|
|
3
|
-
import type { EndNode } from './EndNode.js';
|
|
4
|
-
import type { FlowStart } from './FlowStart.js';
|
|
5
|
-
import type { FormNode } from './FormNode.js';
|
|
6
|
-
import type { FunctionNode_Output } from './FunctionNode_Output.js';
|
|
7
|
-
import type { LoopNode } from './LoopNode.js';
|
|
8
|
-
import type { WaitUntilNode } from './WaitUntilNode.js';
|
|
9
|
-
import type { WorkflowEdge } from './WorkflowEdge.js';
|
|
10
|
-
/**
|
|
11
|
-
* Flow Aggregate representing a workflow definition.
|
|
12
|
-
*/
|
|
13
|
-
export type FlowEntity = {
|
|
14
|
-
id?: string;
|
|
15
|
-
created_at?: (string | null);
|
|
16
|
-
updated_at?: (string | null);
|
|
17
|
-
name: string;
|
|
18
|
-
description?: (string | null);
|
|
19
|
-
icon_url?: (string | null);
|
|
20
|
-
pod_id: string;
|
|
21
|
-
nodes?: Array<(FormNode | AgentNode_Output | FunctionNode_Output | DecisionNode_Output | LoopNode | WaitUntilNode | EndNode)>;
|
|
22
|
-
edges?: Array<WorkflowEdge>;
|
|
23
|
-
start?: (FlowStart | null);
|
|
24
|
-
is_active?: boolean;
|
|
25
|
-
require_user_install?: boolean;
|
|
26
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Schema for updating a datastore.
|
|
3
|
-
*/
|
|
4
|
-
export type UpdateDatastoreRequest = {
|
|
5
|
-
/**
|
|
6
|
-
* Updated datastore description.
|
|
7
|
-
*/
|
|
8
|
-
description?: (string | null);
|
|
9
|
-
/**
|
|
10
|
-
* Toggle datastore record change events.
|
|
11
|
-
*/
|
|
12
|
-
events_enabled?: (boolean | null);
|
|
13
|
-
/**
|
|
14
|
-
* Toggle datastore file indexing and search.
|
|
15
|
-
*/
|
|
16
|
-
search_enabled?: (boolean | null);
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import type { CreateDatastoreRequest } from '../models/CreateDatastoreRequest.js';
|
|
2
|
-
import type { DatastoreListResponse } from '../models/DatastoreListResponse.js';
|
|
3
|
-
import type { DatastoreMessageResponse } from '../models/DatastoreMessageResponse.js';
|
|
4
|
-
import type { DatastoreQueryRequest } from '../models/DatastoreQueryRequest.js';
|
|
5
|
-
import type { DatastoreResponse } from '../models/DatastoreResponse.js';
|
|
6
|
-
import type { RecordQueryResponse } from '../models/RecordQueryResponse.js';
|
|
7
|
-
import type { UpdateDatastoreRequest } from '../models/UpdateDatastoreRequest.js';
|
|
8
|
-
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
9
|
-
export declare class DatastoreService {
|
|
10
|
-
/**
|
|
11
|
-
* Create Datastore
|
|
12
|
-
* Create a datastore namespace inside a pod. Use this before creating tables. Datastore names are normalized for stable API paths.
|
|
13
|
-
* @param podId
|
|
14
|
-
* @param requestBody
|
|
15
|
-
* @returns DatastoreResponse Successful Response
|
|
16
|
-
* @throws ApiError
|
|
17
|
-
*/
|
|
18
|
-
static datastoreCreate(podId: string, requestBody: CreateDatastoreRequest): CancelablePromise<DatastoreResponse>;
|
|
19
|
-
/**
|
|
20
|
-
* List Datastores
|
|
21
|
-
* List datastores available in the pod.
|
|
22
|
-
* @param podId
|
|
23
|
-
* @param limit Max number of datastores to return.
|
|
24
|
-
* @param pageToken Cursor from a previous response to fetch the next page.
|
|
25
|
-
* @returns DatastoreListResponse Successful Response
|
|
26
|
-
* @throws ApiError
|
|
27
|
-
*/
|
|
28
|
-
static datastoreList(podId: string, limit?: number, pageToken?: (string | null)): CancelablePromise<DatastoreListResponse>;
|
|
29
|
-
/**
|
|
30
|
-
* Get Datastore
|
|
31
|
-
* Get datastore metadata by datastore name.
|
|
32
|
-
* @param podId
|
|
33
|
-
* @param datastoreName
|
|
34
|
-
* @returns DatastoreResponse Successful Response
|
|
35
|
-
* @throws ApiError
|
|
36
|
-
*/
|
|
37
|
-
static datastoreGet(podId: string, datastoreName: string): CancelablePromise<DatastoreResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* Update Datastore
|
|
40
|
-
* Update datastore metadata and event emission settings.
|
|
41
|
-
* @param podId
|
|
42
|
-
* @param datastoreName
|
|
43
|
-
* @param requestBody
|
|
44
|
-
* @returns DatastoreResponse Successful Response
|
|
45
|
-
* @throws ApiError
|
|
46
|
-
*/
|
|
47
|
-
static datastoreUpdate(podId: string, datastoreName: string, requestBody: UpdateDatastoreRequest): CancelablePromise<DatastoreResponse>;
|
|
48
|
-
/**
|
|
49
|
-
* Delete Datastore
|
|
50
|
-
* Delete a datastore and its underlying resources.
|
|
51
|
-
* @param podId
|
|
52
|
-
* @param datastoreName
|
|
53
|
-
* @returns DatastoreMessageResponse Successful Response
|
|
54
|
-
* @throws ApiError
|
|
55
|
-
*/
|
|
56
|
-
static datastoreDelete(podId: string, datastoreName: string): CancelablePromise<DatastoreMessageResponse>;
|
|
57
|
-
/**
|
|
58
|
-
* Execute Query
|
|
59
|
-
* Execute a read-only SQL query in the datastore schema. Mutating statements (`INSERT`, `UPDATE`, `DELETE`, `DROP`, etc.) are blocked.
|
|
60
|
-
* @param podId
|
|
61
|
-
* @param datastoreName
|
|
62
|
-
* @param requestBody
|
|
63
|
-
* @returns RecordQueryResponse Successful Response
|
|
64
|
-
* @throws ApiError
|
|
65
|
-
*/
|
|
66
|
-
static datastoreQuery(podId: string, datastoreName: string, requestBody: DatastoreQueryRequest): CancelablePromise<RecordQueryResponse>;
|
|
67
|
-
}
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
-
import { request as __request } from '../core/request.js';
|
|
3
|
-
export class DatastoreService {
|
|
4
|
-
/**
|
|
5
|
-
* Create Datastore
|
|
6
|
-
* Create a datastore namespace inside a pod. Use this before creating tables. Datastore names are normalized for stable API paths.
|
|
7
|
-
* @param podId
|
|
8
|
-
* @param requestBody
|
|
9
|
-
* @returns DatastoreResponse Successful Response
|
|
10
|
-
* @throws ApiError
|
|
11
|
-
*/
|
|
12
|
-
static datastoreCreate(podId, requestBody) {
|
|
13
|
-
return __request(OpenAPI, {
|
|
14
|
-
method: 'POST',
|
|
15
|
-
url: '/pods/{pod_id}/datastores',
|
|
16
|
-
path: {
|
|
17
|
-
'pod_id': podId,
|
|
18
|
-
},
|
|
19
|
-
body: requestBody,
|
|
20
|
-
mediaType: 'application/json',
|
|
21
|
-
errors: {
|
|
22
|
-
422: `Validation Error`,
|
|
23
|
-
},
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* List Datastores
|
|
28
|
-
* List datastores available in the pod.
|
|
29
|
-
* @param podId
|
|
30
|
-
* @param limit Max number of datastores to return.
|
|
31
|
-
* @param pageToken Cursor from a previous response to fetch the next page.
|
|
32
|
-
* @returns DatastoreListResponse Successful Response
|
|
33
|
-
* @throws ApiError
|
|
34
|
-
*/
|
|
35
|
-
static datastoreList(podId, limit = 100, pageToken) {
|
|
36
|
-
return __request(OpenAPI, {
|
|
37
|
-
method: 'GET',
|
|
38
|
-
url: '/pods/{pod_id}/datastores',
|
|
39
|
-
path: {
|
|
40
|
-
'pod_id': podId,
|
|
41
|
-
},
|
|
42
|
-
query: {
|
|
43
|
-
'limit': limit,
|
|
44
|
-
'page_token': pageToken,
|
|
45
|
-
},
|
|
46
|
-
errors: {
|
|
47
|
-
422: `Validation Error`,
|
|
48
|
-
},
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Get Datastore
|
|
53
|
-
* Get datastore metadata by datastore name.
|
|
54
|
-
* @param podId
|
|
55
|
-
* @param datastoreName
|
|
56
|
-
* @returns DatastoreResponse Successful Response
|
|
57
|
-
* @throws ApiError
|
|
58
|
-
*/
|
|
59
|
-
static datastoreGet(podId, datastoreName) {
|
|
60
|
-
return __request(OpenAPI, {
|
|
61
|
-
method: 'GET',
|
|
62
|
-
url: '/pods/{pod_id}/datastores/{datastore_name}',
|
|
63
|
-
path: {
|
|
64
|
-
'pod_id': podId,
|
|
65
|
-
'datastore_name': datastoreName,
|
|
66
|
-
},
|
|
67
|
-
errors: {
|
|
68
|
-
422: `Validation Error`,
|
|
69
|
-
},
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Update Datastore
|
|
74
|
-
* Update datastore metadata and event emission settings.
|
|
75
|
-
* @param podId
|
|
76
|
-
* @param datastoreName
|
|
77
|
-
* @param requestBody
|
|
78
|
-
* @returns DatastoreResponse Successful Response
|
|
79
|
-
* @throws ApiError
|
|
80
|
-
*/
|
|
81
|
-
static datastoreUpdate(podId, datastoreName, requestBody) {
|
|
82
|
-
return __request(OpenAPI, {
|
|
83
|
-
method: 'PATCH',
|
|
84
|
-
url: '/pods/{pod_id}/datastores/{datastore_name}',
|
|
85
|
-
path: {
|
|
86
|
-
'pod_id': podId,
|
|
87
|
-
'datastore_name': datastoreName,
|
|
88
|
-
},
|
|
89
|
-
body: requestBody,
|
|
90
|
-
mediaType: 'application/json',
|
|
91
|
-
errors: {
|
|
92
|
-
422: `Validation Error`,
|
|
93
|
-
},
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* Delete Datastore
|
|
98
|
-
* Delete a datastore and its underlying resources.
|
|
99
|
-
* @param podId
|
|
100
|
-
* @param datastoreName
|
|
101
|
-
* @returns DatastoreMessageResponse Successful Response
|
|
102
|
-
* @throws ApiError
|
|
103
|
-
*/
|
|
104
|
-
static datastoreDelete(podId, datastoreName) {
|
|
105
|
-
return __request(OpenAPI, {
|
|
106
|
-
method: 'DELETE',
|
|
107
|
-
url: '/pods/{pod_id}/datastores/{datastore_name}',
|
|
108
|
-
path: {
|
|
109
|
-
'pod_id': podId,
|
|
110
|
-
'datastore_name': datastoreName,
|
|
111
|
-
},
|
|
112
|
-
errors: {
|
|
113
|
-
422: `Validation Error`,
|
|
114
|
-
},
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Execute Query
|
|
119
|
-
* Execute a read-only SQL query in the datastore schema. Mutating statements (`INSERT`, `UPDATE`, `DELETE`, `DROP`, etc.) are blocked.
|
|
120
|
-
* @param podId
|
|
121
|
-
* @param datastoreName
|
|
122
|
-
* @param requestBody
|
|
123
|
-
* @returns RecordQueryResponse Successful Response
|
|
124
|
-
* @throws ApiError
|
|
125
|
-
*/
|
|
126
|
-
static datastoreQuery(podId, datastoreName, requestBody) {
|
|
127
|
-
return __request(OpenAPI, {
|
|
128
|
-
method: 'POST',
|
|
129
|
-
url: '/pods/{pod_id}/datastores/{datastore_name}/query',
|
|
130
|
-
path: {
|
|
131
|
-
'pod_id': podId,
|
|
132
|
-
'datastore_name': datastoreName,
|
|
133
|
-
},
|
|
134
|
-
body: requestBody,
|
|
135
|
-
mediaType: 'application/json',
|
|
136
|
-
errors: {
|
|
137
|
-
422: `Validation Error`,
|
|
138
|
-
},
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
2
|
-
export declare class PublicSdkService {
|
|
3
|
-
/**
|
|
4
|
-
* Get browser-ready Lemma pod client bundle
|
|
5
|
-
* @returns any Successful Response
|
|
6
|
-
* @throws ApiError
|
|
7
|
-
*/
|
|
8
|
-
static publicSdkPodClientGet(): CancelablePromise<any>;
|
|
9
|
-
/**
|
|
10
|
-
* Get public desk HTML preview
|
|
11
|
-
* @param podId
|
|
12
|
-
* @param deskName
|
|
13
|
-
* @returns any Successful Response
|
|
14
|
-
* @throws ApiError
|
|
15
|
-
*/
|
|
16
|
-
static deskHtmlPublicGet(podId: string, deskName: string): CancelablePromise<any>;
|
|
17
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
-
import { request as __request } from '../core/request.js';
|
|
3
|
-
export class PublicSdkService {
|
|
4
|
-
/**
|
|
5
|
-
* Get browser-ready Lemma pod client bundle
|
|
6
|
-
* @returns any Successful Response
|
|
7
|
-
* @throws ApiError
|
|
8
|
-
*/
|
|
9
|
-
static publicSdkPodClientGet() {
|
|
10
|
-
return __request(OpenAPI, {
|
|
11
|
-
method: 'GET',
|
|
12
|
-
url: '/public/sdk/pod-client.js',
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Get public desk HTML preview
|
|
17
|
-
* @param podId
|
|
18
|
-
* @param deskName
|
|
19
|
-
* @returns any Successful Response
|
|
20
|
-
* @throws ApiError
|
|
21
|
-
*/
|
|
22
|
-
static deskHtmlPublicGet(podId, deskName) {
|
|
23
|
-
return __request(OpenAPI, {
|
|
24
|
-
method: 'GET',
|
|
25
|
-
url: '/public/desks/{pod_id}/{desk_name}/html',
|
|
26
|
-
path: {
|
|
27
|
-
'pod_id': podId,
|
|
28
|
-
'desk_name': deskName,
|
|
29
|
-
},
|
|
30
|
-
errors: {
|
|
31
|
-
422: `Validation Error`,
|
|
32
|
-
},
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|