lemma-sdk 0.2.44 → 0.2.45
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/assistant-events.d.ts +1 -0
- package/dist/assistant-events.js +25 -0
- package/dist/browser/lemma-client.js +264 -152
- package/dist/config.d.ts +2 -2
- package/dist/config.js +2 -2
- package/dist/hey_client/client/client.gen.d.ts +2 -0
- package/dist/hey_client/client/client.gen.js +216 -0
- package/dist/hey_client/client/index.d.ts +10 -0
- package/dist/hey_client/client/index.js +6 -0
- package/dist/hey_client/client/types.gen.d.ts +120 -0
- package/dist/hey_client/client/types.gen.js +2 -0
- package/dist/hey_client/client/utils.gen.d.ts +37 -0
- package/dist/hey_client/client/utils.gen.js +228 -0
- package/dist/hey_client/client.gen.d.ts +12 -0
- package/dist/hey_client/client.gen.js +3 -0
- package/dist/hey_client/core/auth.gen.d.ts +25 -0
- package/dist/hey_client/core/auth.gen.js +14 -0
- package/dist/hey_client/core/bodySerializer.gen.d.ts +25 -0
- package/dist/hey_client/core/bodySerializer.gen.js +57 -0
- package/dist/hey_client/core/params.gen.d.ts +43 -0
- package/dist/hey_client/core/params.gen.js +100 -0
- package/dist/hey_client/core/pathSerializer.gen.d.ts +33 -0
- package/dist/hey_client/core/pathSerializer.gen.js +106 -0
- package/dist/hey_client/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/hey_client/core/queryKeySerializer.gen.js +92 -0
- package/dist/hey_client/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/hey_client/core/serverSentEvents.gen.js +132 -0
- package/dist/hey_client/core/types.gen.d.ts +83 -0
- package/dist/hey_client/core/types.gen.js +2 -0
- package/dist/hey_client/core/utils.gen.d.ts +19 -0
- package/dist/hey_client/core/utils.gen.js +87 -0
- package/dist/hey_client/index.d.ts +2 -0
- package/dist/hey_client/index.js +2 -0
- package/dist/hey_client/sdk.gen.d.ts +1005 -0
- package/dist/hey_client/sdk.gen.js +1438 -0
- package/dist/hey_client/types.gen.d.ts +13004 -0
- package/dist/hey_client/types.gen.js +2 -0
- package/dist/namespaces/files.d.ts +6 -24
- package/dist/namespaces/files.js +6 -16
- package/dist/namespaces/integrations.js +4 -4
- package/dist/namespaces/pod-surfaces.d.ts +8 -3
- package/dist/namespaces/pod-surfaces.js +15 -6
- package/dist/namespaces/pods.d.ts +2 -3
- package/dist/namespaces/pods.js +1 -6
- package/dist/namespaces/records.d.ts +7 -7
- package/dist/namespaces/resource-access.d.ts +3 -3
- package/dist/namespaces/resource-access.js +6 -6
- package/dist/namespaces/schedules.d.ts +1 -0
- package/dist/namespaces/schedules.js +1 -1
- package/dist/namespaces/tables.d.ts +2 -2
- package/dist/namespaces/workflows.d.ts +12 -8
- package/dist/namespaces/workflows.js +9 -18
- package/dist/openapi_client/index.d.ts +20 -37
- package/dist/openapi_client/index.js +3 -11
- package/dist/openapi_client/models/AgentHarnessInfo.d.ts +2 -0
- package/dist/openapi_client/models/AgentNode.d.ts +1 -1
- package/dist/openapi_client/models/AgentNodeConfig.d.ts +1 -1
- package/dist/openapi_client/models/AgentResourcePermissionRequest.d.ts +1 -1
- package/dist/openapi_client/models/AgentResourcePermissionResponse.d.ts +1 -1
- package/dist/openapi_client/models/AgentRuntimeProfileResponse.d.ts +6 -0
- package/dist/openapi_client/models/AgentSurfaceResponse.d.ts +6 -17
- package/dist/openapi_client/models/AgentSurfaceStatus.d.ts +3 -1
- package/dist/openapi_client/models/AgentSurfaceStatus.js +2 -0
- package/dist/openapi_client/models/ApplicationSkillResponse.d.ts +6 -0
- package/dist/openapi_client/models/ConnectedAccountSummary.d.ts +7 -0
- package/dist/openapi_client/models/CreateFunctionRequest.d.ts +0 -1
- package/dist/openapi_client/models/CreateScheduleRequest.d.ts +4 -0
- package/dist/openapi_client/models/CreateSurfaceRequest.d.ts +3 -10
- package/dist/openapi_client/models/CreateUserDaemonRuntimeProfileRequest.d.ts +2 -0
- package/dist/openapi_client/models/DataStoreFlowStartInput.d.ts +1 -1
- package/dist/openapi_client/models/DataStoreFlowStartOutput.d.ts +1 -1
- package/dist/openapi_client/models/DatastoreCountResponse.d.ts +6 -0
- package/dist/openapi_client/models/DecisionNode.d.ts +2 -1
- package/dist/openapi_client/models/DecisionRule.d.ts +3 -0
- package/dist/openapi_client/models/EndNode.d.ts +1 -1
- package/dist/openapi_client/models/ExpressionInputBinding.d.ts +6 -2
- package/dist/openapi_client/models/FileListResponse.d.ts +1 -0
- package/dist/openapi_client/models/FileSearchResponse.d.ts +2 -2
- package/dist/openapi_client/models/FlowRunStatus.d.ts +4 -1
- package/dist/openapi_client/models/FlowRunStatus.js +4 -1
- package/dist/openapi_client/models/FormNode.d.ts +2 -1
- package/dist/openapi_client/models/FormNodeConfig.d.ts +1 -1
- package/dist/openapi_client/models/FunctionNode.d.ts +2 -1
- package/dist/openapi_client/models/FunctionResourcePermissionRequest.d.ts +1 -1
- package/dist/openapi_client/models/FunctionResourcePermissionResponse.d.ts +1 -1
- package/dist/openapi_client/models/InstalledAppSummary.d.ts +7 -0
- package/dist/openapi_client/models/IntegrationStatusResponse.d.ts +6 -0
- package/dist/openapi_client/models/LoopNode.d.ts +2 -1
- package/dist/openapi_client/models/LoopNodeConfig.d.ts +3 -3
- package/dist/openapi_client/models/PodMemberAddRequest.d.ts +1 -3
- package/dist/openapi_client/models/PodMemberDetailResponse.d.ts +0 -2
- package/dist/openapi_client/models/PodMemberResponse.d.ts +0 -2
- package/dist/openapi_client/models/PodMemberUpdateRoleRequest.d.ts +1 -3
- package/dist/openapi_client/models/PodRoleResourcePermissionRequest.d.ts +1 -1
- package/dist/openapi_client/models/PodRoleResourcePermissionResponse.d.ts +1 -1
- package/dist/openapi_client/models/ResourceAccessGrantResponse.d.ts +1 -1
- package/dist/openapi_client/models/ResourceAccessResponse.d.ts +1 -1
- package/dist/openapi_client/models/RuntimeProfileScope.d.ts +2 -1
- package/dist/openapi_client/models/RuntimeProfileScope.js +1 -0
- package/dist/openapi_client/models/ScheduleDetailResponse.d.ts +6 -0
- package/dist/openapi_client/models/ScheduleFireStatus.d.ts +8 -0
- package/dist/openapi_client/models/ScheduleFireStatus.js +13 -0
- package/dist/openapi_client/models/StepRecordResponse.d.ts +10 -0
- package/dist/openapi_client/models/StepStatus.d.ts +7 -0
- package/dist/openapi_client/models/StepStatus.js +12 -0
- package/dist/openapi_client/models/SurfaceBehaviorConfigInput.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceChannelRouteInput.d.ts +6 -0
- package/dist/openapi_client/models/SurfaceChannelRouteResponse.d.ts +6 -0
- package/dist/openapi_client/models/SurfaceConfigResponse.d.ts +10 -0
- package/dist/openapi_client/models/SurfaceCredentialMode.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceCredentialMode.js +9 -0
- package/dist/openapi_client/models/SurfaceIdentityConfigInput.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceIdentityConfigResponse.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceSetupStatusResponse.d.ts +10 -0
- package/dist/openapi_client/models/TableListResponse.d.ts +2 -0
- package/dist/openapi_client/models/ToggleSurfaceRequest.d.ts +1 -1
- package/dist/openapi_client/models/UpdateScheduleRequest.d.ts +1 -0
- package/dist/openapi_client/models/UpdateSurfaceChannelsRequest.d.ts +4 -0
- package/dist/openapi_client/models/UpdateSurfaceRequest.d.ts +4 -11
- package/dist/openapi_client/models/UpsertSurfaceRequest.d.ts +9 -0
- package/dist/openapi_client/models/UserProfileRequest.d.ts +1 -0
- package/dist/openapi_client/models/UserResponse.d.ts +1 -0
- package/dist/openapi_client/models/WaitUntilNode.d.ts +1 -1
- package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +16 -0
- package/dist/openapi_client/models/WorkflowRunFormSubmitRequest.d.ts +13 -0
- package/dist/openapi_client/models/WorkflowRunResponse.d.ts +28 -0
- package/dist/openapi_client/models/WorkflowRunSummaryResponse.d.ts +2 -3
- package/dist/openapi_client/models/WorkflowRunWaitAssignment.d.ts +4 -4
- package/dist/openapi_client/models/{WorkflowRunWaitEntity.d.ts → WorkflowRunWaitResponse.d.ts} +4 -8
- package/dist/openapi_client/models/WorkflowRunWaitType.d.ts +1 -2
- package/dist/openapi_client/models/WorkflowRunWaitType.js +0 -1
- package/dist/openapi_client/models/WorkspaceAppAccessRequest.d.ts +0 -3
- package/dist/openapi_client/models/WorkspaceMeSandbox.d.ts +1 -4
- package/dist/openapi_client/services/AgentSurfacesService.d.ts +39 -10
- package/dist/openapi_client/services/AgentSurfacesService.js +86 -20
- package/dist/openapi_client/services/ApplicationsService.d.ts +10 -0
- package/dist/openapi_client/services/ApplicationsService.js +23 -0
- package/dist/openapi_client/services/FilesService.d.ts +2 -3
- package/dist/openapi_client/services/FilesService.js +1 -1
- package/dist/openapi_client/services/FunctionsService.d.ts +1 -1
- package/dist/openapi_client/services/FunctionsService.js +1 -1
- package/dist/openapi_client/services/IntegrationsService.d.ts +12 -4
- package/dist/openapi_client/services/IntegrationsService.js +22 -4
- package/dist/openapi_client/services/PodResourceAccessService.d.ts +6 -6
- package/dist/openapi_client/services/PodResourceAccessService.js +12 -12
- package/dist/openapi_client/services/RecordsService.d.ts +21 -22
- package/dist/openapi_client/services/RecordsService.js +13 -13
- package/dist/openapi_client/services/SchedulesService.d.ts +2 -1
- package/dist/openapi_client/services/SchedulesService.js +3 -1
- package/dist/openapi_client/services/TablesService.d.ts +4 -5
- package/dist/openapi_client/services/TablesService.js +2 -2
- package/dist/openapi_client/services/WorkflowsService.d.ts +35 -26
- package/dist/openapi_client/services/WorkflowsService.js +57 -39
- package/dist/react/useAddPodMember.js +1 -1
- package/dist/react/useAssistantController.d.ts +1 -0
- package/dist/react/useAssistantController.js +5 -1
- package/dist/react/useAssistantSession.d.ts +1 -0
- package/dist/react/useAssistantSession.js +41 -0
- package/dist/react/useBulkRecords.d.ts +5 -5
- package/dist/react/useBulkRecords.js +5 -5
- package/dist/react/useCreateFolder.d.ts +2 -4
- package/dist/react/useCreateFolder.js +2 -3
- package/dist/react/useCreateRecord.d.ts +2 -2
- package/dist/react/useCreateRecord.js +1 -1
- package/dist/react/useDeleteFile.d.ts +1 -4
- package/dist/react/useDeleteFile.js +3 -3
- package/dist/react/useDeleteRecord.d.ts +1 -2
- package/dist/react/useDeleteRecord.js +3 -3
- package/dist/react/useFile.d.ts +2 -4
- package/dist/react/useFile.js +3 -3
- package/dist/react/useFilePreview.d.ts +1 -4
- package/dist/react/useFilePreview.js +4 -5
- package/dist/react/useFileSearch.d.ts +5 -1
- package/dist/react/useFileSearch.js +6 -4
- package/dist/react/useFileTree.d.ts +2 -4
- package/dist/react/useFileTree.js +2 -3
- package/dist/react/useFiles.d.ts +2 -4
- package/dist/react/useFiles.js +3 -5
- package/dist/react/useFlowSession.d.ts +3 -1
- package/dist/react/useFlowSession.js +24 -17
- package/dist/react/useGlobalSearch.js +1 -1
- package/dist/react/useRecord.d.ts +2 -2
- package/dist/react/useRecord.js +1 -1
- package/dist/react/useRecordForm.d.ts +2 -2
- package/dist/react/useRecordForm.js +2 -2
- package/dist/react/useReverseRelatedRecords.js +1 -1
- package/dist/react/useUpdateFile.d.ts +2 -4
- package/dist/react/useUpdateFile.js +2 -3
- package/dist/react/useUpdateRecord.d.ts +2 -2
- package/dist/react/useUpdateRecord.js +1 -1
- package/dist/react/useUploadFile.d.ts +2 -4
- package/dist/react/useUploadFile.js +2 -3
- package/dist/react/useWorkflowResume.d.ts +1 -0
- package/dist/react/useWorkflowResume.js +10 -1
- package/dist/react/useWorkflowRun.js +1 -3
- package/dist/react/useWorkflowStart.js +11 -26
- package/dist/react/utils.js +2 -0
- package/dist/types.d.ts +3 -3
- package/package.json +7 -2
- package/dist/openapi_client/models/BillingHistoryResponse.d.ts +0 -8
- package/dist/openapi_client/models/BillingInterval.d.ts +0 -7
- package/dist/openapi_client/models/BillingInterval.js +0 -12
- package/dist/openapi_client/models/BillingInvoiceResponse.d.ts +0 -27
- package/dist/openapi_client/models/BillingInvoiceStatus.d.ts +0 -10
- package/dist/openapi_client/models/BillingInvoiceStatus.js +0 -15
- package/dist/openapi_client/models/CancelSubscriptionResponse.d.ts +0 -10
- package/dist/openapi_client/models/CreateInvoicePaymentUrlRequest.d.ts +0 -7
- package/dist/openapi_client/models/CreateInvoicePaymentUrlResponse.d.ts +0 -8
- package/dist/openapi_client/models/DatastoreMessageResponse.d.ts +0 -6
- package/dist/openapi_client/models/DeskServingConfigResponse.d.ts +0 -11
- package/dist/openapi_client/models/DeskServingConfigResponse.js +0 -8
- package/dist/openapi_client/models/FlowRunEntity.d.ts +0 -36
- package/dist/openapi_client/models/GmailSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/OutlookSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/PlanListResponse.d.ts +0 -8
- package/dist/openapi_client/models/PlanResponse.d.ts +0 -18
- package/dist/openapi_client/models/PlanType.d.ts +0 -7
- package/dist/openapi_client/models/PlanType.js +0 -12
- package/dist/openapi_client/models/RecordResponse.d.ts +0 -9
- package/dist/openapi_client/models/SeatInfoResponse.d.ts +0 -10
- package/dist/openapi_client/models/SlackSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/StackFrame.d.ts +0 -11
- package/dist/openapi_client/models/StartSubscriptionRequest.d.ts +0 -14
- package/dist/openapi_client/models/StartSubscriptionResponse.d.ts +0 -9
- package/dist/openapi_client/models/StartTeamBillingRequest.d.ts +0 -6
- package/dist/openapi_client/models/StartTeamBillingRequest.js +0 -1
- package/dist/openapi_client/models/StepExecution.d.ts +0 -13
- package/dist/openapi_client/models/StepExecution.js +0 -1
- package/dist/openapi_client/models/SubscriptionResponse.d.ts +0 -22
- package/dist/openapi_client/models/SubscriptionResponse.js +0 -1
- package/dist/openapi_client/models/SubscriptionStatus.d.ts +0 -10
- package/dist/openapi_client/models/SubscriptionStatus.js +0 -15
- package/dist/openapi_client/models/SubscriptionStatusResponse.d.ts +0 -10
- package/dist/openapi_client/models/SubscriptionStatusResponse.js +0 -1
- package/dist/openapi_client/models/SubscriptionWithPlanResponse.d.ts +0 -22
- package/dist/openapi_client/models/SubscriptionWithPlanResponse.js +0 -1
- package/dist/openapi_client/models/SurfaceEventMode.d.ts +0 -6
- package/dist/openapi_client/models/SurfaceEventMode.js +0 -11
- package/dist/openapi_client/models/SurfaceMode.d.ts +0 -5
- package/dist/openapi_client/models/SurfaceMode.js +0 -10
- package/dist/openapi_client/models/SurfaceRoutingScope.d.ts +0 -4
- package/dist/openapi_client/models/SurfaceRoutingScope.js +0 -9
- package/dist/openapi_client/models/TeamsSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/TeamsSurfaceConfig.js +0 -1
- package/dist/openapi_client/models/TelegramSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/TelegramSurfaceConfig.js +0 -1
- package/dist/openapi_client/models/WhatsAppSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/WhatsAppSurfaceConfig.js +0 -1
- package/dist/openapi_client/models/WorkflowRunWaitEntity.js +0 -1
- package/dist/openapi_client/services/BillingSubscriptionsService.d.ts +0 -117
- package/dist/openapi_client/services/BillingSubscriptionsService.js +0 -230
- package/dist/openapi_client/services/BillingWebhooksService.d.ts +0 -12
- package/dist/openapi_client/services/BillingWebhooksService.js +0 -25
- package/dist/openapi_client/services/PublicDesksService.d.ts +0 -10
- package/dist/openapi_client/services/PublicDesksService.js +0 -15
- /package/dist/openapi_client/models/{BillingHistoryResponse.js → ApplicationSkillResponse.js} +0 -0
- /package/dist/openapi_client/models/{BillingInvoiceResponse.js → ConnectedAccountSummary.js} +0 -0
- /package/dist/openapi_client/models/{CancelSubscriptionResponse.js → DatastoreCountResponse.js} +0 -0
- /package/dist/openapi_client/models/{CreateInvoicePaymentUrlRequest.js → InstalledAppSummary.js} +0 -0
- /package/dist/openapi_client/models/{CreateInvoicePaymentUrlResponse.js → IntegrationStatusResponse.js} +0 -0
- /package/dist/openapi_client/models/{DatastoreMessageResponse.js → StepRecordResponse.js} +0 -0
- /package/dist/openapi_client/models/{FlowRunEntity.js → SurfaceChannelRouteInput.js} +0 -0
- /package/dist/openapi_client/models/{GmailSurfaceConfig.js → SurfaceChannelRouteResponse.js} +0 -0
- /package/dist/openapi_client/models/{OutlookSurfaceConfig.js → SurfaceConfigResponse.js} +0 -0
- /package/dist/openapi_client/models/{PlanListResponse.js → SurfaceIdentityConfigInput.js} +0 -0
- /package/dist/openapi_client/models/{PlanResponse.js → SurfaceIdentityConfigResponse.js} +0 -0
- /package/dist/openapi_client/models/{RecordResponse.js → SurfaceSetupStatusResponse.js} +0 -0
- /package/dist/openapi_client/models/{SeatInfoResponse.js → UpdateSurfaceChannelsRequest.js} +0 -0
- /package/dist/openapi_client/models/{SlackSurfaceConfig.js → UpsertSurfaceRequest.js} +0 -0
- /package/dist/openapi_client/models/{StackFrame.js → WorkflowRunFormSubmitRequest.js} +0 -0
- /package/dist/openapi_client/models/{StartSubscriptionRequest.js → WorkflowRunResponse.js} +0 -0
- /package/dist/openapi_client/models/{StartSubscriptionResponse.js → WorkflowRunWaitResponse.js} +0 -0
|
@@ -4,7 +4,6 @@ import type { ConvertedFileResponse } from "../openapi_client/models/ConvertedFi
|
|
|
4
4
|
import type { DirectoryTreeResponse } from "../openapi_client/models/DirectoryTreeResponse.js";
|
|
5
5
|
import { FileSearchScopeMode } from "../openapi_client/models/FileSearchScopeMode.js";
|
|
6
6
|
import { SearchMethod } from "../openapi_client/models/SearchMethod.js";
|
|
7
|
-
import type { DatastoreFileNamespace } from "../types.js";
|
|
8
7
|
type SearchMethodInput = SearchMethod | `${SearchMethod}`;
|
|
9
8
|
type FileSearchScopeModeInput = FileSearchScopeMode | `${FileSearchScopeMode}`;
|
|
10
9
|
export declare class FilesNamespace {
|
|
@@ -17,27 +16,19 @@ export declare class FilesNamespace {
|
|
|
17
16
|
pageToken?: string;
|
|
18
17
|
directoryPath?: string;
|
|
19
18
|
parentId?: string;
|
|
20
|
-
namespace?: DatastoreFileNamespace | null;
|
|
21
19
|
}): Promise<import("../types.js").FileListResponse>;
|
|
22
|
-
get(path: string
|
|
23
|
-
|
|
24
|
-
}): Promise<import("../types.js").FileDetailResponse>;
|
|
25
|
-
delete(path: string, options?: {
|
|
26
|
-
namespace?: DatastoreFileNamespace | null;
|
|
27
|
-
}): Promise<import("../types.js").DatastoreMessageResponse>;
|
|
20
|
+
get(path: string): Promise<import("../types.js").FileDetailResponse>;
|
|
21
|
+
delete(path: string): Promise<void>;
|
|
28
22
|
search(query: string, options?: {
|
|
29
23
|
limit?: number;
|
|
30
24
|
scopeMode?: FileSearchScopeModeInput;
|
|
31
25
|
scopePath?: string | null;
|
|
32
26
|
searchMethod?: SearchMethodInput;
|
|
33
27
|
}): Promise<import("../types.js").FileSearchResponse>;
|
|
34
|
-
download(path: string
|
|
35
|
-
namespace?: DatastoreFileNamespace | null;
|
|
36
|
-
}): Promise<Blob>;
|
|
28
|
+
download(path: string): Promise<Blob>;
|
|
37
29
|
tree(options?: {
|
|
38
30
|
rootPath?: string;
|
|
39
31
|
filesPerDirectory?: number;
|
|
40
|
-
namespace?: DatastoreFileNamespace | null;
|
|
41
32
|
}): Promise<DirectoryTreeResponse>;
|
|
42
33
|
upload(file: Blob, options?: {
|
|
43
34
|
name?: string;
|
|
@@ -45,7 +36,6 @@ export declare class FilesNamespace {
|
|
|
45
36
|
parentId?: string;
|
|
46
37
|
searchEnabled?: boolean;
|
|
47
38
|
description?: string;
|
|
48
|
-
namespace?: DatastoreFileNamespace | null;
|
|
49
39
|
}): Promise<import("../types.js").FileDetailResponse>;
|
|
50
40
|
update(path: string, options?: {
|
|
51
41
|
file?: Blob;
|
|
@@ -56,26 +46,18 @@ export declare class FilesNamespace {
|
|
|
56
46
|
newPath?: string;
|
|
57
47
|
searchEnabled?: boolean;
|
|
58
48
|
visibility?: string | null;
|
|
59
|
-
namespace?: DatastoreFileNamespace | null;
|
|
60
49
|
}): Promise<import("../types.js").FileDetailResponse>;
|
|
61
50
|
readonly folder: {
|
|
62
51
|
create: (name: string, options?: {
|
|
63
52
|
directoryPath?: string;
|
|
64
53
|
parentId?: string;
|
|
65
54
|
description?: string;
|
|
66
|
-
namespace?: DatastoreFileNamespace | null;
|
|
67
55
|
}) => Promise<import("../types.js").FileDetailResponse>;
|
|
68
56
|
};
|
|
69
57
|
readonly converted: {
|
|
70
|
-
get: (path: string
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
render: (path: string, options?: {
|
|
74
|
-
namespace?: DatastoreFileNamespace | null;
|
|
75
|
-
}) => Promise<string>;
|
|
76
|
-
download: (path: string, artifact?: string, options?: {
|
|
77
|
-
namespace?: DatastoreFileNamespace | null;
|
|
78
|
-
}) => Promise<Blob>;
|
|
58
|
+
get: (path: string) => Promise<ConvertedFileResponse>;
|
|
59
|
+
render: (path: string) => Promise<string>;
|
|
60
|
+
download: (path: string, artifact?: string) => Promise<Blob>;
|
|
79
61
|
};
|
|
80
62
|
}
|
|
81
63
|
export {};
|
package/dist/namespaces/files.js
CHANGED
|
@@ -42,12 +42,10 @@ export class FilesNamespace {
|
|
|
42
42
|
const directoryPath = options.directoryPath ?? options.parentId ?? "/";
|
|
43
43
|
return this.client.request(() => FilesService.fileList(this.podId(), directoryPath, options.limit ?? 100, options.pageToken));
|
|
44
44
|
}
|
|
45
|
-
get(path
|
|
46
|
-
void options;
|
|
45
|
+
get(path) {
|
|
47
46
|
return this.client.request(() => FilesService.fileGet(this.podId(), path));
|
|
48
47
|
}
|
|
49
|
-
delete(path
|
|
50
|
-
void options;
|
|
48
|
+
delete(path) {
|
|
51
49
|
return this.client.request(() => FilesService.fileDelete(this.podId(), path));
|
|
52
50
|
}
|
|
53
51
|
search(query, options = {}) {
|
|
@@ -59,8 +57,7 @@ export class FilesNamespace {
|
|
|
59
57
|
search_method: (options.searchMethod ?? SearchMethod.HYBRID),
|
|
60
58
|
}));
|
|
61
59
|
}
|
|
62
|
-
download(path
|
|
63
|
-
void options;
|
|
60
|
+
download(path) {
|
|
64
61
|
const encodedPath = encodeURIComponent(path);
|
|
65
62
|
return this.http.requestBytes("GET", `/pods/${this.podId()}/datastore/files/download?path=${encodedPath}`);
|
|
66
63
|
}
|
|
@@ -106,16 +103,9 @@ export class FilesNamespace {
|
|
|
106
103
|
},
|
|
107
104
|
};
|
|
108
105
|
converted = {
|
|
109
|
-
get: (path
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
}),
|
|
113
|
-
render: (path, options = {}) => this.client.request(() => {
|
|
114
|
-
void options;
|
|
115
|
-
return FilesService.fileConvertedRender(this.podId(), path);
|
|
116
|
-
}),
|
|
117
|
-
download: (path, artifact = "document.md", options = {}) => {
|
|
118
|
-
void options;
|
|
106
|
+
get: (path) => this.client.request(() => FilesService.fileConvertedGet(this.podId(), path)),
|
|
107
|
+
render: (path) => this.client.request(() => FilesService.fileConvertedRender(this.podId(), path)),
|
|
108
|
+
download: (path, artifact = "document.md") => {
|
|
119
109
|
const encodedPath = encodeURIComponent(path);
|
|
120
110
|
const encodedArtifact = encodeURIComponent(artifact);
|
|
121
111
|
return this.http.requestBytes("GET", `/pods/${this.podId()}/datastore/files/converted/download?path=${encodedPath}&artifact=${encodedArtifact}`);
|
|
@@ -63,10 +63,10 @@ export class IntegrationsNamespace {
|
|
|
63
63
|
}),
|
|
64
64
|
};
|
|
65
65
|
authConfigs = {
|
|
66
|
-
list: (organizationId, options = {}) => this.client.request(() => IntegrationsService.
|
|
67
|
-
create: (organizationId, payload) => this.client.request(() => IntegrationsService.
|
|
68
|
-
get: (organizationId, authConfigName) => this.client.request(() => IntegrationsService.
|
|
69
|
-
delete: (organizationId, authConfigName) => this.client.request(() => IntegrationsService.
|
|
66
|
+
list: (organizationId, options = {}) => this.client.request(() => IntegrationsService.integrationAuthConfigList(organizationId, options.limit ?? 100, options.pageToken)),
|
|
67
|
+
create: (organizationId, payload) => this.client.request(() => IntegrationsService.integrationAuthConfigCreate(organizationId, payload)),
|
|
68
|
+
get: (organizationId, authConfigName) => this.client.request(() => IntegrationsService.integrationAuthConfigGet(organizationId, authConfigName)),
|
|
69
|
+
delete: (organizationId, authConfigName) => this.client.request(() => IntegrationsService.integrationAuthConfigDelete(organizationId, authConfigName)),
|
|
70
70
|
};
|
|
71
71
|
async enableApp(organizationId, applicationId, options = {}) {
|
|
72
72
|
const configs = await this.authConfigs.list(organizationId, { limit: 100 });
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { GeneratedClientAdapter } from "../generated.js";
|
|
2
2
|
import type { CreateSurfaceRequest } from "../openapi_client/models/CreateSurfaceRequest.js";
|
|
3
|
+
import type { UpdateSurfaceChannelsRequest } from "../openapi_client/models/UpdateSurfaceChannelsRequest.js";
|
|
3
4
|
import type { UpdateSurfaceRequest } from "../openapi_client/models/UpdateSurfaceRequest.js";
|
|
5
|
+
import type { UpsertSurfaceRequest } from "../openapi_client/models/UpsertSurfaceRequest.js";
|
|
4
6
|
export declare class PodSurfacesNamespace {
|
|
5
7
|
private readonly client;
|
|
6
8
|
constructor(client: GeneratedClientAdapter);
|
|
@@ -10,7 +12,10 @@ export declare class PodSurfacesNamespace {
|
|
|
10
12
|
cursor?: string;
|
|
11
13
|
}): Promise<import("../types.js").AgentSurfaceListResponse>;
|
|
12
14
|
create(podId: string, payload: CreateSurfaceRequest): Promise<any>;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
upsert(podId: string, platform: string, payload: UpsertSurfaceRequest): Promise<any>;
|
|
16
|
+
get(podId: string, surfaceRef: string): Promise<any>;
|
|
17
|
+
updateConfig(podId: string, surfaceRef: string, payload: UpdateSurfaceRequest): Promise<any>;
|
|
18
|
+
updateChannels(podId: string, surfaceRef: string, payload: UpdateSurfaceChannelsRequest): Promise<any>;
|
|
19
|
+
setupStatus(podId: string, surfaceRef: string): Promise<import("../types.js").SurfaceSetupStatusResponse>;
|
|
20
|
+
toggle(podId: string, surfaceRef: string, isEnabled: boolean): Promise<any>;
|
|
16
21
|
}
|
|
@@ -10,13 +10,22 @@ export class PodSurfacesNamespace {
|
|
|
10
10
|
create(podId, payload) {
|
|
11
11
|
return this.client.request(() => AgentSurfacesService.agentSurfaceCreate(podId, payload));
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
return this.client.request(() => AgentSurfacesService.
|
|
13
|
+
upsert(podId, platform, payload) {
|
|
14
|
+
return this.client.request(() => AgentSurfacesService.agentSurfaceUpsertByPlatform(podId, platform, payload));
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
return this.client.request(() => AgentSurfacesService.
|
|
16
|
+
get(podId, surfaceRef) {
|
|
17
|
+
return this.client.request(() => AgentSurfacesService.agentSurfaceGet(podId, surfaceRef));
|
|
18
18
|
}
|
|
19
|
-
|
|
20
|
-
return this.client.request(() => AgentSurfacesService.
|
|
19
|
+
updateConfig(podId, surfaceRef, payload) {
|
|
20
|
+
return this.client.request(() => AgentSurfacesService.agentSurfaceUpdate(podId, surfaceRef, payload));
|
|
21
|
+
}
|
|
22
|
+
updateChannels(podId, surfaceRef, payload) {
|
|
23
|
+
return this.client.request(() => AgentSurfacesService.agentSurfaceUpdateChannels(podId, surfaceRef, payload));
|
|
24
|
+
}
|
|
25
|
+
setupStatus(podId, surfaceRef) {
|
|
26
|
+
return this.client.request(() => AgentSurfacesService.agentSurfaceSetupStatus(podId, surfaceRef));
|
|
27
|
+
}
|
|
28
|
+
toggle(podId, surfaceRef, isEnabled) {
|
|
29
|
+
return this.client.request(() => AgentSurfacesService.agentSurfaceToggle(podId, surfaceRef, { is_enabled: isEnabled }));
|
|
21
30
|
}
|
|
22
31
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { GeneratedClientAdapter } from "../generated.js";
|
|
2
2
|
import type { HttpClient } from "../http.js";
|
|
3
3
|
import type { PodCreateRequest } from "../openapi_client/models/PodCreateRequest.js";
|
|
4
|
-
import type { PodListResponse } from "../openapi_client/models/PodListResponse.js";
|
|
5
4
|
import type { PodUpdateRequest } from "../openapi_client/models/PodUpdateRequest.js";
|
|
6
5
|
export declare class PodsNamespace {
|
|
7
6
|
private readonly client;
|
|
@@ -12,12 +11,12 @@ export declare class PodsNamespace {
|
|
|
12
11
|
limit?: number;
|
|
13
12
|
pageToken?: string;
|
|
14
13
|
cursor?: string;
|
|
15
|
-
}): Promise<PodListResponse>;
|
|
14
|
+
}): Promise<import("../types.js").PodListResponse>;
|
|
16
15
|
listByOrganization(organizationId: string, options?: {
|
|
17
16
|
limit?: number;
|
|
18
17
|
pageToken?: string;
|
|
19
18
|
cursor?: string;
|
|
20
|
-
}): Promise<PodListResponse>;
|
|
19
|
+
}): Promise<import("../types.js").PodListResponse>;
|
|
21
20
|
get(podId: string): Promise<import("../types.js").PodResponse>;
|
|
22
21
|
create(payload: PodCreateRequest): Promise<import("../types.js").PodResponse>;
|
|
23
22
|
update(podId: string, payload: PodUpdateRequest): Promise<import("../types.js").PodResponse>;
|
package/dist/namespaces/pods.js
CHANGED
|
@@ -13,12 +13,7 @@ export class PodsNamespace {
|
|
|
13
13
|
pageToken: options.pageToken ?? options.cursor,
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
params: {
|
|
18
|
-
limit: options.limit ?? 100,
|
|
19
|
-
page_token: options.pageToken ?? options.cursor,
|
|
20
|
-
},
|
|
21
|
-
});
|
|
16
|
+
throw new Error("organizationId is required for pods.list(). Use listByOrganization(organizationId).");
|
|
22
17
|
}
|
|
23
18
|
listByOrganization(organizationId, options = {}) {
|
|
24
19
|
return this.client.request(() => PodsService.podList(organizationId, options.limit ?? 100, options.pageToken ?? options.cursor));
|
|
@@ -18,14 +18,14 @@ export declare class RecordsNamespace {
|
|
|
18
18
|
constructor(client: GeneratedClientAdapter, http: HttpClient, podId: () => string);
|
|
19
19
|
list(table: string, options?: ListRecordsOptions): Promise<RecordListResponse>;
|
|
20
20
|
listWithParams(table: string, params: Record<string, string | number | boolean | undefined | null>): Promise<RecordListResponse>;
|
|
21
|
-
create(table: string, data: Record<string, unknown>): Promise<
|
|
22
|
-
get(table: string, recordId: string): Promise<
|
|
23
|
-
update(table: string, recordId: string, data: Record<string, unknown>): Promise<
|
|
24
|
-
delete(table: string, recordId: string): Promise<
|
|
21
|
+
create(table: string, data: Record<string, unknown>): Promise<Record<string, any>>;
|
|
22
|
+
get(table: string, recordId: string): Promise<Record<string, any>>;
|
|
23
|
+
update(table: string, recordId: string, data: Record<string, unknown>): Promise<Record<string, any>>;
|
|
24
|
+
delete(table: string, recordId: string): Promise<void>;
|
|
25
25
|
query(table: string, payload: RecordQueryRequest): Promise<RecordListResponse>;
|
|
26
26
|
readonly bulk: {
|
|
27
|
-
create: (table: string, records: Record<string, unknown>[]) => Promise<import("../types.js").
|
|
28
|
-
update: (table: string, records: Record<string, unknown>[]) => Promise<import("../types.js").
|
|
29
|
-
delete: (table: string, recordIds: Array<string | number>) => Promise<import("../types.js").
|
|
27
|
+
create: (table: string, records: Record<string, unknown>[]) => Promise<import("../types.js").DatastoreCountResponse>;
|
|
28
|
+
update: (table: string, records: Record<string, unknown>[]) => Promise<import("../types.js").DatastoreCountResponse>;
|
|
29
|
+
delete: (table: string, recordIds: Array<string | number>) => Promise<import("../types.js").DatastoreCountResponse>;
|
|
30
30
|
};
|
|
31
31
|
}
|
|
@@ -5,7 +5,7 @@ export declare class ResourceAccessNamespace {
|
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly podId;
|
|
7
7
|
constructor(client: GeneratedClientAdapter, podId: () => string);
|
|
8
|
-
get(resourceType: ResourceType | string,
|
|
9
|
-
replaceGrant(resourceType: ResourceType | string,
|
|
10
|
-
deleteGrant(resourceType: ResourceType | string,
|
|
8
|
+
get(resourceType: ResourceType | string, resourceName: string, podId?: string): Promise<import("../types.js").ResourceAccessResponse>;
|
|
9
|
+
replaceGrant(resourceType: ResourceType | string, resourceName: string, granteeType: string, granteeId: string, payload: ResourceAccessGrantRequest, podId?: string): Promise<import("../types.js").ResourceAccessResponse>;
|
|
10
|
+
deleteGrant(resourceType: ResourceType | string, resourceName: string, granteeType: string, granteeId: string, podId?: string): Promise<import("../types.js").ResourceAccessResponse>;
|
|
11
11
|
}
|
|
@@ -6,13 +6,13 @@ export class ResourceAccessNamespace {
|
|
|
6
6
|
this.client = client;
|
|
7
7
|
this.podId = podId;
|
|
8
8
|
}
|
|
9
|
-
get(resourceType,
|
|
10
|
-
return this.client.request(() => PodResourceAccessService.podResourceAccessGet(podId ?? this.podId(), resourceType,
|
|
9
|
+
get(resourceType, resourceName, podId) {
|
|
10
|
+
return this.client.request(() => PodResourceAccessService.podResourceAccessGet(podId ?? this.podId(), resourceType, resourceName));
|
|
11
11
|
}
|
|
12
|
-
replaceGrant(resourceType,
|
|
13
|
-
return this.client.request(() => PodResourceAccessService.podResourceAccessGrantReplace(podId ?? this.podId(), resourceType,
|
|
12
|
+
replaceGrant(resourceType, resourceName, granteeType, granteeId, payload, podId) {
|
|
13
|
+
return this.client.request(() => PodResourceAccessService.podResourceAccessGrantReplace(podId ?? this.podId(), resourceType, resourceName, granteeType, granteeId, payload));
|
|
14
14
|
}
|
|
15
|
-
deleteGrant(resourceType,
|
|
16
|
-
return this.client.request(() => PodResourceAccessService.podResourceAccessGrantDelete(podId ?? this.podId(), resourceType,
|
|
15
|
+
deleteGrant(resourceType, resourceName, granteeType, granteeId, podId) {
|
|
16
|
+
return this.client.request(() => PodResourceAccessService.podResourceAccessGrantDelete(podId ?? this.podId(), resourceType, resourceName, granteeType, granteeId));
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -7,7 +7,7 @@ export class SchedulesNamespace {
|
|
|
7
7
|
this.podId = podId;
|
|
8
8
|
}
|
|
9
9
|
list(options = {}) {
|
|
10
|
-
return this.client.request(() => SchedulesService.scheduleList(this.podId(), options.scheduleType, options.isActive, options.agentName, options.workflowName, options.limit ?? 100, options.pageToken));
|
|
10
|
+
return this.client.request(() => SchedulesService.scheduleList(this.podId(), options.scheduleType, options.isActive, options.agentName, options.workflowName, options.name, options.limit ?? 100, options.pageToken));
|
|
11
11
|
}
|
|
12
12
|
create(payload) {
|
|
13
13
|
return this.client.request(() => SchedulesService.scheduleCreate(this.podId(), payload));
|
|
@@ -18,10 +18,10 @@ export declare class TablesNamespace {
|
|
|
18
18
|
create(payload: CreateTableInput): Promise<import("../types.js").TableDetailResponse>;
|
|
19
19
|
get(tableName: string): Promise<import("../types.js").TableDetailResponse>;
|
|
20
20
|
update(tableName: string, payload: UpdateTableRequest): Promise<import("../types.js").TableDetailResponse>;
|
|
21
|
-
delete(tableName: string): Promise<
|
|
21
|
+
delete(tableName: string): Promise<void>;
|
|
22
22
|
readonly columns: {
|
|
23
23
|
add: (tableName: string, request: AddColumnRequest | AddColumnRequest["column"]) => Promise<import("../types.js").TableDetailResponse>;
|
|
24
|
-
remove: (tableName: string, columnName: string) => Promise<
|
|
24
|
+
remove: (tableName: string, columnName: string) => Promise<void>;
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { GeneratedClientAdapter } from "../generated.js";
|
|
2
|
-
import {
|
|
2
|
+
import type { HttpClient } from "../http.js";
|
|
3
3
|
import type { WorkflowCreateRequest } from "../openapi_client/models/WorkflowCreateRequest.js";
|
|
4
4
|
import type { WorkflowGraphUpdateRequest } from "../openapi_client/models/WorkflowGraphUpdateRequest.js";
|
|
5
|
+
import type { WorkflowRunFormSubmitRequest } from "../openapi_client/models/WorkflowRunFormSubmitRequest.js";
|
|
5
6
|
import type { WorkflowUpdateRequest } from "../openapi_client/models/WorkflowUpdateRequest.js";
|
|
6
|
-
import type { WorkflowRunInputs } from "../types.js";
|
|
7
7
|
export declare class WorkflowsNamespace {
|
|
8
8
|
private readonly client;
|
|
9
9
|
private readonly http;
|
|
@@ -21,9 +21,13 @@ export declare class WorkflowsNamespace {
|
|
|
21
21
|
readonly graph: {
|
|
22
22
|
update: (workflowName: string, graph: WorkflowGraphUpdateRequest) => Promise<import("../types.js").FlowDetailResponse>;
|
|
23
23
|
};
|
|
24
|
-
private postRunAction;
|
|
25
24
|
readonly runs: {
|
|
26
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Create a run. Runs take no inputs: when the workflow starts with a
|
|
27
|
+
* form, the returned run is WAITING with `active_wait` describing the
|
|
28
|
+
* form to render and submit via `runs.submitForm`.
|
|
29
|
+
*/
|
|
30
|
+
create: (workflowName: string) => Promise<import("../types.js").WorkflowRunResponse>;
|
|
27
31
|
list: (workflowName: string, options?: {
|
|
28
32
|
limit?: number;
|
|
29
33
|
pageToken?: string;
|
|
@@ -32,10 +36,10 @@ export declare class WorkflowsNamespace {
|
|
|
32
36
|
limit?: number;
|
|
33
37
|
pageToken?: string;
|
|
34
38
|
}) => Promise<import("../types.js").WorkflowRunWaitAssignmentListResponse>;
|
|
35
|
-
get: (runId: string, podId?: string) => Promise<import("../types.js").
|
|
36
|
-
|
|
39
|
+
get: (runId: string, podId?: string) => Promise<import("../types.js").WorkflowRunResponse>;
|
|
40
|
+
/** Submit the form a run is waiting on. node_id must match active_wait.node_id. */
|
|
41
|
+
submitForm: (runId: string, payload: WorkflowRunFormSubmitRequest, podId?: string) => Promise<import("../types.js").WorkflowRunResponse>;
|
|
37
42
|
visualize: (runId: string, podId?: string) => Promise<string>;
|
|
38
|
-
cancel: (runId: string, podId?: string) => Promise<
|
|
39
|
-
retry: (runId: string, podId?: string) => Promise<Record<string, unknown>>;
|
|
43
|
+
cancel: (runId: string, podId?: string) => Promise<import("../types.js").WorkflowRunResponse>;
|
|
40
44
|
};
|
|
41
45
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ApiError } from "../http.js";
|
|
2
1
|
import { WorkflowsService } from "../openapi_client/services/WorkflowsService.js";
|
|
3
2
|
export class WorkflowsNamespace {
|
|
4
3
|
client;
|
|
@@ -30,27 +29,19 @@ export class WorkflowsNamespace {
|
|
|
30
29
|
graph = {
|
|
31
30
|
update: (workflowName, graph) => this.client.request(() => WorkflowsService.workflowGraphUpdate(this.podId(), workflowName, graph)),
|
|
32
31
|
};
|
|
33
|
-
async postRunAction(runId, action, podId) {
|
|
34
|
-
const encodedPodId = encodeURIComponent(podId);
|
|
35
|
-
const encodedRunId = encodeURIComponent(runId);
|
|
36
|
-
try {
|
|
37
|
-
return await this.http.request("POST", `/pods/${encodedPodId}/workflow-runs/${encodedRunId}/${action}`, { body: {} });
|
|
38
|
-
}
|
|
39
|
-
catch (error) {
|
|
40
|
-
if (error instanceof ApiError && (error.statusCode === 404 || error.statusCode === 405)) {
|
|
41
|
-
return this.http.request("POST", `/pods/${encodedPodId}/flow-runs/${encodedRunId}/${action}`, { body: {} });
|
|
42
|
-
}
|
|
43
|
-
throw error;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
32
|
runs = {
|
|
47
|
-
|
|
33
|
+
/**
|
|
34
|
+
* Create a run. Runs take no inputs: when the workflow starts with a
|
|
35
|
+
* form, the returned run is WAITING with `active_wait` describing the
|
|
36
|
+
* form to render and submit via `runs.submitForm`.
|
|
37
|
+
*/
|
|
38
|
+
create: (workflowName) => this.client.request(() => WorkflowsService.workflowRunCreate(this.podId(), workflowName)),
|
|
48
39
|
list: (workflowName, options = {}) => this.client.request(() => WorkflowsService.workflowRunList(this.podId(), workflowName, options.limit ?? 100, options.pageToken)),
|
|
49
40
|
waitingAssignedToMe: (options = {}) => this.client.request(() => WorkflowsService.workflowRunWaitingAssignedToMe(this.podId(), options.limit ?? 100, options.pageToken)),
|
|
50
41
|
get: (runId, podId = this.podId()) => this.client.request(() => WorkflowsService.workflowRunGet(podId, runId)),
|
|
51
|
-
|
|
42
|
+
/** Submit the form a run is waiting on. node_id must match active_wait.node_id. */
|
|
43
|
+
submitForm: (runId, payload, podId = this.podId()) => this.client.request(() => WorkflowsService.workflowRunFormSubmit(podId, runId, payload)),
|
|
52
44
|
visualize: (runId, podId = this.podId()) => this.client.request(() => WorkflowsService.workflowRunVisualize(podId, runId)),
|
|
53
|
-
cancel: (runId, podId = this.podId()) => this.
|
|
54
|
-
retry: (runId, podId = this.podId()) => this.postRunAction(runId, "retry", podId),
|
|
45
|
+
cancel: (runId, podId = this.podId()) => this.client.request(() => WorkflowsService.workflowRunCancel(podId, runId)),
|
|
55
46
|
};
|
|
56
47
|
}
|
|
@@ -33,22 +33,19 @@ export type { ApiKeyCredentialsResponseSchema } from './models/ApiKeyCredentials
|
|
|
33
33
|
export type { ApplicationDetailResponseSchema } from './models/ApplicationDetailResponseSchema.js';
|
|
34
34
|
export type { ApplicationListResponseSchema } from './models/ApplicationListResponseSchema.js';
|
|
35
35
|
export type { ApplicationResponseSchema } from './models/ApplicationResponseSchema.js';
|
|
36
|
+
export type { ApplicationSkillResponse } from './models/ApplicationSkillResponse.js';
|
|
36
37
|
export type { AppTriggerListResponseSchema } from './models/AppTriggerListResponseSchema.js';
|
|
37
38
|
export type { AppTriggerResponseSchema } from './models/AppTriggerResponseSchema.js';
|
|
38
39
|
export type { AuthConfigCreateSchema } from './models/AuthConfigCreateSchema.js';
|
|
39
40
|
export type { AuthConfigListResponseSchema } from './models/AuthConfigListResponseSchema.js';
|
|
40
41
|
export type { AuthConfigResponseSchema } from './models/AuthConfigResponseSchema.js';
|
|
41
42
|
export { AuthScheme } from './models/AuthScheme.js';
|
|
42
|
-
export type { BillingHistoryResponse } from './models/BillingHistoryResponse.js';
|
|
43
|
-
export { BillingInterval } from './models/BillingInterval.js';
|
|
44
|
-
export type { BillingInvoiceResponse } from './models/BillingInvoiceResponse.js';
|
|
45
|
-
export { BillingInvoiceStatus } from './models/BillingInvoiceStatus.js';
|
|
46
43
|
export type { BulkCreateRecordsRequest } from './models/BulkCreateRecordsRequest.js';
|
|
47
44
|
export type { BulkDeleteRecordsRequest } from './models/BulkDeleteRecordsRequest.js';
|
|
48
45
|
export type { BulkUpdateRecordsRequest } from './models/BulkUpdateRecordsRequest.js';
|
|
49
|
-
export type { CancelSubscriptionResponse } from './models/CancelSubscriptionResponse.js';
|
|
50
46
|
export type { ColumnSchema } from './models/ColumnSchema.js';
|
|
51
47
|
export type { ComposioProviderCapabilityResponseSchema } from './models/ComposioProviderCapabilityResponseSchema.js';
|
|
48
|
+
export type { ConnectedAccountSummary } from './models/ConnectedAccountSummary.js';
|
|
52
49
|
export type { ConnectRequestInitiateSchema } from './models/ConnectRequestInitiateSchema.js';
|
|
53
50
|
export type { ConnectRequestResponseSchema } from './models/ConnectRequestResponseSchema.js';
|
|
54
51
|
export type { ConversationListResponse } from './models/ConversationListResponse.js';
|
|
@@ -64,8 +61,6 @@ export type { CreateConversationRequest } from './models/CreateConversationReque
|
|
|
64
61
|
export type { CreateDeskRequest } from './models/CreateDeskRequest.js';
|
|
65
62
|
export type { CreateFolderRequest } from './models/CreateFolderRequest.js';
|
|
66
63
|
export type { CreateFunctionRequest } from './models/CreateFunctionRequest.js';
|
|
67
|
-
export type { CreateInvoicePaymentUrlRequest } from './models/CreateInvoicePaymentUrlRequest.js';
|
|
68
|
-
export type { CreateInvoicePaymentUrlResponse } from './models/CreateInvoicePaymentUrlResponse.js';
|
|
69
64
|
export type { CreateOpenAICompatibleRuntimeProfileRequest } from './models/CreateOpenAICompatibleRuntimeProfileRequest.js';
|
|
70
65
|
export type { CreateRecordRequest } from './models/CreateRecordRequest.js';
|
|
71
66
|
export type { CreateScheduleRequest } from './models/CreateScheduleRequest.js';
|
|
@@ -73,11 +68,11 @@ export type { CreateSurfaceRequest } from './models/CreateSurfaceRequest.js';
|
|
|
73
68
|
export type { CreateTableRequest } from './models/CreateTableRequest.js';
|
|
74
69
|
export type { CreateUserDaemonRuntimeProfileRequest } from './models/CreateUserDaemonRuntimeProfileRequest.js';
|
|
75
70
|
export { CredentialTypes } from './models/CredentialTypes.js';
|
|
71
|
+
export type { DatastoreCountResponse } from './models/DatastoreCountResponse.js';
|
|
76
72
|
export { DatastoreDataType } from './models/DatastoreDataType.js';
|
|
77
73
|
export type { DatastoreFileUploadRequest } from './models/DatastoreFileUploadRequest.js';
|
|
78
74
|
export type { DataStoreFlowStartInput } from './models/DataStoreFlowStartInput.js';
|
|
79
75
|
export type { DataStoreFlowStartOutput } from './models/DataStoreFlowStartOutput.js';
|
|
80
|
-
export type { DatastoreMessageResponse } from './models/DatastoreMessageResponse.js';
|
|
81
76
|
export { DatastoreOperation } from './models/DatastoreOperation.js';
|
|
82
77
|
export type { DatastoreQueryRequest } from './models/DatastoreQueryRequest.js';
|
|
83
78
|
export type { DatastoreQueryResponse } from './models/DatastoreQueryResponse.js';
|
|
@@ -92,7 +87,6 @@ export type { DeskBundleUploadResponse } from './models/DeskBundleUploadResponse
|
|
|
92
87
|
export type { DeskDetailResponse } from './models/DeskDetailResponse.js';
|
|
93
88
|
export type { DeskListResponse } from './models/DeskListResponse.js';
|
|
94
89
|
export type { DeskMessageResponse } from './models/DeskMessageResponse.js';
|
|
95
|
-
export { DeskServingConfigResponse } from './models/DeskServingConfigResponse.js';
|
|
96
90
|
export { DeskStatus } from './models/DeskStatus.js';
|
|
97
91
|
export type { DirectoryTreeNode } from './models/DirectoryTreeNode.js';
|
|
98
92
|
export type { DirectoryTreeResponse } from './models/DirectoryTreeResponse.js';
|
|
@@ -113,7 +107,6 @@ export type { FileSearchResponse } from './models/FileSearchResponse.js';
|
|
|
113
107
|
export type { FileSearchResultSchema } from './models/FileSearchResultSchema.js';
|
|
114
108
|
export { FileSearchScopeMode } from './models/FileSearchScopeMode.js';
|
|
115
109
|
export type { FlowDetailResponse } from './models/FlowDetailResponse.js';
|
|
116
|
-
export type { FlowRunEntity } from './models/FlowRunEntity.js';
|
|
117
110
|
export { FlowRunStatus } from './models/FlowRunStatus.js';
|
|
118
111
|
export type { ForeignKeySpec } from './models/ForeignKeySpec.js';
|
|
119
112
|
export type { FormNode } from './models/FormNode.js';
|
|
@@ -136,13 +129,14 @@ export { FunctionRunStatus } from './models/FunctionRunStatus.js';
|
|
|
136
129
|
export type { FunctionRunSummaryResponse } from './models/FunctionRunSummaryResponse.js';
|
|
137
130
|
export { FunctionStatus } from './models/FunctionStatus.js';
|
|
138
131
|
export { FunctionType } from './models/FunctionType.js';
|
|
139
|
-
export type { GmailSurfaceConfig } from './models/GmailSurfaceConfig.js';
|
|
140
132
|
export { HarnessKind } from './models/HarnessKind.js';
|
|
141
133
|
export type { HTTPValidationError } from './models/HTTPValidationError.js';
|
|
142
134
|
export type { IconUploadRequest } from './models/IconUploadRequest.js';
|
|
143
135
|
export type { IconUploadResponse } from './models/IconUploadResponse.js';
|
|
136
|
+
export type { InstalledAppSummary } from './models/InstalledAppSummary.js';
|
|
144
137
|
export type { IntegrationHelperAgentRequest } from './models/IntegrationHelperAgentRequest.js';
|
|
145
138
|
export type { IntegrationHelperAgentResponse } from './models/IntegrationHelperAgentResponse.js';
|
|
139
|
+
export type { IntegrationStatusResponse } from './models/IntegrationStatusResponse.js';
|
|
146
140
|
export type { LemmaProviderCapabilityResponseSchema } from './models/LemmaProviderCapabilityResponseSchema.js';
|
|
147
141
|
export type { LiteralInputBinding } from './models/LiteralInputBinding.js';
|
|
148
142
|
export type { LoopNode } from './models/LoopNode.js';
|
|
@@ -175,10 +169,6 @@ export type { OrganizationMessageResponse } from './models/OrganizationMessageRe
|
|
|
175
169
|
export type { OrganizationResponse } from './models/OrganizationResponse.js';
|
|
176
170
|
export { OrganizationRole } from './models/OrganizationRole.js';
|
|
177
171
|
export type { OrganizationSlugAvailabilityResponse } from './models/OrganizationSlugAvailabilityResponse.js';
|
|
178
|
-
export type { OutlookSurfaceConfig } from './models/OutlookSurfaceConfig.js';
|
|
179
|
-
export type { PlanListResponse } from './models/PlanListResponse.js';
|
|
180
|
-
export type { PlanResponse } from './models/PlanResponse.js';
|
|
181
|
-
export { PlanType } from './models/PlanType.js';
|
|
182
172
|
export type { PodAppConfigItem } from './models/PodAppConfigItem.js';
|
|
183
173
|
export { PodAppMode } from './models/PodAppMode.js';
|
|
184
174
|
export type { PodConfig } from './models/PodConfig.js';
|
|
@@ -208,7 +198,6 @@ export type { PodRoleResourcePermissionResponse } from './models/PodRoleResource
|
|
|
208
198
|
export type { PodRoleResponse } from './models/PodRoleResponse.js';
|
|
209
199
|
export type { PodUpdateRequest } from './models/PodUpdateRequest.js';
|
|
210
200
|
export type { RecordListResponse } from './models/RecordListResponse.js';
|
|
211
|
-
export type { RecordResponse } from './models/RecordResponse.js';
|
|
212
201
|
export type { ReportFeedbackRequest } from './models/ReportFeedbackRequest.js';
|
|
213
202
|
export type { ReportFeedbackResponse } from './models/ReportFeedbackResponse.js';
|
|
214
203
|
export type { ResolveUserApprovalRequest } from './models/ResolveUserApprovalRequest.js';
|
|
@@ -229,38 +218,32 @@ export type { ScheduledFlowStartOutput } from './models/ScheduledFlowStartOutput
|
|
|
229
218
|
export { ScheduledFlowStartType } from './models/ScheduledFlowStartType.js';
|
|
230
219
|
export type { ScheduledWorkflowStartInput } from './models/ScheduledWorkflowStartInput.js';
|
|
231
220
|
export type { ScheduledWorkflowStartOutput } from './models/ScheduledWorkflowStartOutput.js';
|
|
221
|
+
export { ScheduleFireStatus } from './models/ScheduleFireStatus.js';
|
|
232
222
|
export type { ScheduleListResponse } from './models/ScheduleListResponse.js';
|
|
233
223
|
export { ScheduleType } from './models/ScheduleType.js';
|
|
234
224
|
export { SearchMethod } from './models/SearchMethod.js';
|
|
235
225
|
export type { SearchResult } from './models/SearchResult.js';
|
|
236
|
-
export type { SeatInfoResponse } from './models/SeatInfoResponse.js';
|
|
237
226
|
export type { SendMessageRequest } from './models/SendMessageRequest.js';
|
|
238
|
-
export type {
|
|
239
|
-
export
|
|
240
|
-
export type { StartSubscriptionRequest } from './models/StartSubscriptionRequest.js';
|
|
241
|
-
export type { StartSubscriptionResponse } from './models/StartSubscriptionResponse.js';
|
|
242
|
-
export type { StartTeamBillingRequest } from './models/StartTeamBillingRequest.js';
|
|
243
|
-
export type { StepExecution } from './models/StepExecution.js';
|
|
244
|
-
export type { SubscriptionResponse } from './models/SubscriptionResponse.js';
|
|
245
|
-
export { SubscriptionStatus } from './models/SubscriptionStatus.js';
|
|
246
|
-
export type { SubscriptionStatusResponse } from './models/SubscriptionStatusResponse.js';
|
|
247
|
-
export type { SubscriptionWithPlanResponse } from './models/SubscriptionWithPlanResponse.js';
|
|
227
|
+
export type { StepRecordResponse } from './models/StepRecordResponse.js';
|
|
228
|
+
export { StepStatus } from './models/StepStatus.js';
|
|
248
229
|
export type { SurfaceBehaviorConfigInput } from './models/SurfaceBehaviorConfigInput.js';
|
|
249
|
-
export {
|
|
230
|
+
export type { SurfaceChannelRouteInput } from './models/SurfaceChannelRouteInput.js';
|
|
231
|
+
export type { SurfaceChannelRouteResponse } from './models/SurfaceChannelRouteResponse.js';
|
|
232
|
+
export type { SurfaceConfigResponse } from './models/SurfaceConfigResponse.js';
|
|
233
|
+
export { SurfaceCredentialMode } from './models/SurfaceCredentialMode.js';
|
|
234
|
+
export type { SurfaceIdentityConfigInput } from './models/SurfaceIdentityConfigInput.js';
|
|
235
|
+
export type { SurfaceIdentityConfigResponse } from './models/SurfaceIdentityConfigResponse.js';
|
|
250
236
|
export type { SurfaceIntegrationSetupGuide } from './models/SurfaceIntegrationSetupGuide.js';
|
|
251
|
-
export { SurfaceMode } from './models/SurfaceMode.js';
|
|
252
237
|
export { SurfacePlatform } from './models/SurfacePlatform.js';
|
|
253
238
|
export type { SurfacePlatformSetupGuideResponse } from './models/SurfacePlatformSetupGuideResponse.js';
|
|
254
|
-
export { SurfaceRoutingScope } from './models/SurfaceRoutingScope.js';
|
|
255
239
|
export type { SurfaceSetupField } from './models/SurfaceSetupField.js';
|
|
256
240
|
export { SurfaceSetupFieldSource } from './models/SurfaceSetupFieldSource.js';
|
|
257
241
|
export { SurfaceSetupMode } from './models/SurfaceSetupMode.js';
|
|
258
242
|
export { SurfaceSetupPhase } from './models/SurfaceSetupPhase.js';
|
|
243
|
+
export type { SurfaceSetupStatusResponse } from './models/SurfaceSetupStatusResponse.js';
|
|
259
244
|
export type { SurfaceSetupStep } from './models/SurfaceSetupStep.js';
|
|
260
245
|
export type { TableDetailResponse } from './models/TableDetailResponse.js';
|
|
261
246
|
export type { TableListResponse } from './models/TableListResponse.js';
|
|
262
|
-
export type { TeamsSurfaceConfig } from './models/TeamsSurfaceConfig.js';
|
|
263
|
-
export type { TelegramSurfaceConfig } from './models/TelegramSurfaceConfig.js';
|
|
264
247
|
export type { TextContent } from './models/TextContent.js';
|
|
265
248
|
export type { ThinkingContent } from './models/ThinkingContent.js';
|
|
266
249
|
export type { ToggleSurfaceRequest } from './models/ToggleSurfaceRequest.js';
|
|
@@ -274,8 +257,10 @@ export type { UpdateFunctionRequest } from './models/UpdateFunctionRequest.js';
|
|
|
274
257
|
export type { UpdateMemberRoleRequest } from './models/UpdateMemberRoleRequest.js';
|
|
275
258
|
export type { UpdateRecordRequest } from './models/UpdateRecordRequest.js';
|
|
276
259
|
export type { UpdateScheduleRequest } from './models/UpdateScheduleRequest.js';
|
|
260
|
+
export type { UpdateSurfaceChannelsRequest } from './models/UpdateSurfaceChannelsRequest.js';
|
|
277
261
|
export type { UpdateSurfaceRequest } from './models/UpdateSurfaceRequest.js';
|
|
278
262
|
export type { UpdateTableRequest } from './models/UpdateTableRequest.js';
|
|
263
|
+
export type { UpsertSurfaceRequest } from './models/UpsertSurfaceRequest.js';
|
|
279
264
|
export type { UsageLimitScopeResponse } from './models/UsageLimitScopeResponse.js';
|
|
280
265
|
export type { UsageLimitsResponse } from './models/UsageLimitsResponse.js';
|
|
281
266
|
export type { UsageListResponse } from './models/UsageListResponse.js';
|
|
@@ -293,17 +278,18 @@ export type { WaitUntilNodeConfig } from './models/WaitUntilNodeConfig.js';
|
|
|
293
278
|
export type { WaitUntilNodeResponse } from './models/WaitUntilNodeResponse.js';
|
|
294
279
|
export type { WebSearchRequest } from './models/WebSearchRequest.js';
|
|
295
280
|
export type { WebSearchResponse } from './models/WebSearchResponse.js';
|
|
296
|
-
export type { WhatsAppSurfaceConfig } from './models/WhatsAppSurfaceConfig.js';
|
|
297
281
|
export type { WorkflowCreateRequest } from './models/WorkflowCreateRequest.js';
|
|
298
282
|
export type { WorkflowEdge } from './models/WorkflowEdge.js';
|
|
299
283
|
export type { WorkflowGraphUpdateRequest } from './models/WorkflowGraphUpdateRequest.js';
|
|
300
284
|
export type { WorkflowListResponse } from './models/WorkflowListResponse.js';
|
|
301
285
|
export { WorkflowMode } from './models/WorkflowMode.js';
|
|
286
|
+
export type { WorkflowRunFormSubmitRequest } from './models/WorkflowRunFormSubmitRequest.js';
|
|
302
287
|
export type { WorkflowRunListResponse } from './models/WorkflowRunListResponse.js';
|
|
288
|
+
export type { WorkflowRunResponse } from './models/WorkflowRunResponse.js';
|
|
303
289
|
export type { WorkflowRunSummaryResponse } from './models/WorkflowRunSummaryResponse.js';
|
|
304
290
|
export type { WorkflowRunWaitAssignment } from './models/WorkflowRunWaitAssignment.js';
|
|
305
291
|
export type { WorkflowRunWaitAssignmentListResponse } from './models/WorkflowRunWaitAssignmentListResponse.js';
|
|
306
|
-
export type {
|
|
292
|
+
export type { WorkflowRunWaitResponse } from './models/WorkflowRunWaitResponse.js';
|
|
307
293
|
export { WorkflowRunWaitStatus } from './models/WorkflowRunWaitStatus.js';
|
|
308
294
|
export { WorkflowRunWaitType } from './models/WorkflowRunWaitType.js';
|
|
309
295
|
export type { WorkflowUpdateRequest } from './models/WorkflowUpdateRequest.js';
|
|
@@ -321,8 +307,6 @@ export { AgentSurfacesIngressService } from './services/AgentSurfacesIngressServ
|
|
|
321
307
|
export { AgentToolsService } from './services/AgentToolsService.js';
|
|
322
308
|
export { ApplicationsService } from './services/ApplicationsService.js';
|
|
323
309
|
export { AuthService } from './services/AuthService.js';
|
|
324
|
-
export { BillingSubscriptionsService } from './services/BillingSubscriptionsService.js';
|
|
325
|
-
export { BillingWebhooksService } from './services/BillingWebhooksService.js';
|
|
326
310
|
export { DefaultService } from './services/DefaultService.js';
|
|
327
311
|
export { DesksService } from './services/DesksService.js';
|
|
328
312
|
export { FilesService } from './services/FilesService.js';
|
|
@@ -336,7 +320,6 @@ export { PodPermissionsService } from './services/PodPermissionsService.js';
|
|
|
336
320
|
export { PodResourceAccessService } from './services/PodResourceAccessService.js';
|
|
337
321
|
export { PodRolesService } from './services/PodRolesService.js';
|
|
338
322
|
export { PodsService } from './services/PodsService.js';
|
|
339
|
-
export { PublicDesksService } from './services/PublicDesksService.js';
|
|
340
323
|
export { QueryService } from './services/QueryService.js';
|
|
341
324
|
export { RecordsService } from './services/RecordsService.js';
|
|
342
325
|
export { SchedulesService } from './services/SchedulesService.js';
|