lemma-sdk 0.2.43 → 0.2.44
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 +2 -5
- package/dist/assistant-events.d.ts +1 -0
- package/dist/assistant-events.js +25 -3
- package/dist/browser/lemma-client.js +1082 -296
- package/dist/client.d.ts +8 -0
- package/dist/client.js +13 -1
- package/dist/index.d.ts +4 -0
- package/dist/namespaces/agent-runtime.d.ts +28 -0
- package/dist/namespaces/agent-runtime.js +34 -0
- package/dist/namespaces/agents.d.ts +8 -3
- package/dist/namespaces/agents.js +4 -0
- package/dist/namespaces/conversations.d.ts +35 -7
- package/dist/namespaces/conversations.js +103 -22
- package/dist/namespaces/desks.d.ts +3 -3
- package/dist/namespaces/files.d.ts +12 -5
- package/dist/namespaces/files.js +12 -3
- package/dist/namespaces/functions.d.ts +8 -3
- package/dist/namespaces/functions.js +4 -0
- package/dist/namespaces/integrations.d.ts +54 -12
- package/dist/namespaces/integrations.js +52 -16
- package/dist/namespaces/pod-members.d.ts +1 -0
- package/dist/namespaces/pod-members.js +4 -1
- package/dist/namespaces/pod-permissions.d.ts +14 -0
- package/dist/namespaces/pod-permissions.js +18 -0
- package/dist/namespaces/pod-roles.d.ts +16 -0
- package/dist/namespaces/pod-roles.js +25 -0
- package/dist/namespaces/resource-access.d.ts +11 -0
- package/dist/namespaces/resource-access.js +18 -0
- package/dist/namespaces/schedules.d.ts +3 -3
- package/dist/namespaces/tables.d.ts +4 -4
- package/dist/namespaces/workflows.d.ts +4 -4
- package/dist/openapi_client/index.d.ts +76 -30
- package/dist/openapi_client/index.js +20 -7
- package/dist/openapi_client/models/AccountCreateSchema.d.ts +18 -0
- package/dist/openapi_client/models/AccountResponseSchema.d.ts +3 -0
- package/dist/openapi_client/models/AgentActionResponse.d.ts +20 -0
- package/dist/openapi_client/models/AgentDetailResponse.d.ts +22 -0
- package/dist/openapi_client/models/AgentHarnessInfo.d.ts +9 -0
- package/dist/openapi_client/models/AgentHarnessListResponse.d.ts +4 -0
- package/dist/openapi_client/models/AgentListResponse.d.ts +2 -2
- package/dist/openapi_client/models/AgentPermissionsReplaceRequest.d.ts +4 -0
- package/dist/openapi_client/models/AgentPermissionsResponse.d.ts +6 -0
- package/dist/openapi_client/models/AgentResourcePermissionRequest.d.ts +6 -0
- package/dist/openapi_client/models/AgentResourcePermissionResponse.d.ts +6 -0
- package/dist/openapi_client/models/AgentRunApprovalDecision.d.ts +8 -0
- package/dist/openapi_client/models/AgentRunApprovalDecision.js +13 -0
- package/dist/openapi_client/models/AgentRuntimeConfig.d.ts +7 -0
- package/dist/openapi_client/models/AgentRuntimeProfileListResponse.d.ts +6 -0
- package/dist/openapi_client/models/AgentRuntimeProfileResponse.d.ts +22 -0
- package/dist/openapi_client/models/AgentSurfaceResponse.d.ts +11 -4
- package/dist/openapi_client/models/ApplicationDetailResponseSchema.d.ts +3 -3
- package/dist/openapi_client/models/ApplicationResponseSchema.d.ts +3 -3
- package/dist/openapi_client/models/AuthConfigCreateSchema.d.ts +7 -0
- package/dist/openapi_client/models/AuthConfigListResponseSchema.d.ts +6 -0
- package/dist/openapi_client/models/AuthConfigResponseSchema.d.ts +13 -0
- package/dist/openapi_client/models/AuthScheme.d.ts +5 -0
- package/dist/openapi_client/models/AuthScheme.js +10 -0
- package/dist/openapi_client/models/BillingInterval.d.ts +2 -2
- package/dist/openapi_client/models/BillingInterval.js +2 -2
- package/dist/openapi_client/models/BillingInvoiceResponse.d.ts +0 -2
- package/dist/openapi_client/models/ComposioProviderCapabilityResponseSchema.d.ts +9 -0
- package/dist/openapi_client/models/ConnectRequestInitiateSchema.d.ts +5 -1
- package/dist/openapi_client/models/ConnectRequestResponseSchema.d.ts +2 -0
- package/dist/openapi_client/models/ConversationResponse.d.ts +2 -2
- package/dist/openapi_client/models/ConvertedArtifactResponse.d.ts +1 -0
- package/dist/openapi_client/models/ConvertedFileResponse.d.ts +4 -0
- package/dist/openapi_client/models/ConvertedPageResponse.d.ts +8 -0
- package/dist/openapi_client/models/CreateAgentRequest.d.ts +4 -12
- package/dist/openapi_client/models/CreateAnthropicCompatibleRuntimeProfileRequest.d.ts +11 -0
- package/dist/openapi_client/models/CreateConversationRequest.d.ts +2 -2
- package/dist/openapi_client/models/CreateDeskRequest.d.ts +1 -1
- package/dist/openapi_client/models/CreateFolderRequest.d.ts +1 -1
- package/dist/openapi_client/models/CreateFunctionRequest.d.ts +2 -6
- package/dist/openapi_client/models/CreateOpenAICompatibleRuntimeProfileRequest.d.ts +11 -0
- package/dist/openapi_client/models/CreateScheduleRequest.d.ts +13 -1
- package/dist/openapi_client/models/CreateSurfaceRequest.d.ts +12 -14
- package/dist/openapi_client/models/CreateTableRequest.d.ts +1 -1
- package/dist/openapi_client/models/CreateUserDaemonRuntimeProfileRequest.d.ts +9 -0
- package/dist/openapi_client/models/DatastoreFileUploadRequest.d.ts +1 -1
- package/dist/openapi_client/models/DeskBundleUploadResponse.d.ts +2 -2
- package/dist/openapi_client/models/{DeskResponse.d.ts → DeskDetailResponse.d.ts} +2 -2
- package/dist/openapi_client/models/DeskListResponse.d.ts +2 -2
- package/dist/openapi_client/models/DeskServingConfigResponse.d.ts +11 -0
- package/dist/openapi_client/models/DeskServingConfigResponse.js +8 -0
- package/dist/openapi_client/models/EventFlowStartInput.d.ts +0 -8
- package/dist/openapi_client/models/EventFlowStartOutput.d.ts +0 -8
- package/dist/openapi_client/models/{FileResponse.d.ts → FileDetailResponse.d.ts} +2 -2
- package/dist/openapi_client/models/FileListResponse.d.ts +2 -2
- package/dist/openapi_client/models/{FlowResponse.d.ts → FlowDetailResponse.d.ts} +2 -2
- package/dist/openapi_client/models/{FunctionResponse.d.ts → FunctionActionResponse.d.ts} +3 -10
- package/dist/openapi_client/models/FunctionActionResponse.js +1 -0
- package/dist/openapi_client/models/FunctionDetailResponse.d.ts +34 -0
- package/dist/openapi_client/models/FunctionDetailResponse.js +1 -0
- package/dist/openapi_client/models/FunctionListResponse.d.ts +2 -2
- package/dist/openapi_client/models/FunctionPermissionsReplaceRequest.d.ts +4 -0
- package/dist/openapi_client/models/FunctionPermissionsReplaceRequest.js +1 -0
- package/dist/openapi_client/models/FunctionPermissionsResponse.d.ts +6 -0
- package/dist/openapi_client/models/FunctionPermissionsResponse.js +1 -0
- package/dist/openapi_client/models/FunctionResourcePermissionRequest.d.ts +6 -0
- package/dist/openapi_client/models/FunctionResourcePermissionRequest.js +1 -0
- package/dist/openapi_client/models/FunctionResourcePermissionResponse.d.ts +6 -0
- package/dist/openapi_client/models/FunctionResourcePermissionResponse.js +1 -0
- package/dist/openapi_client/models/FunctionRunListResponse.d.ts +2 -2
- package/dist/openapi_client/models/FunctionRunSummaryResponse.d.ts +13 -0
- package/dist/openapi_client/models/FunctionRunSummaryResponse.js +1 -0
- package/dist/openapi_client/models/GmailSurfaceConfig.d.ts +1 -1
- package/dist/openapi_client/models/HarnessKind.d.ts +4 -2
- package/dist/openapi_client/models/HarnessKind.js +4 -2
- package/dist/openapi_client/models/LemmaProviderCapabilityResponseSchema.d.ts +12 -0
- package/dist/openapi_client/models/LemmaProviderCapabilityResponseSchema.js +1 -0
- package/dist/openapi_client/models/OAuth2DefaultsResponseSchema.d.ts +10 -0
- package/dist/openapi_client/models/OAuth2DefaultsResponseSchema.js +1 -0
- package/dist/openapi_client/models/OperationSummary.d.ts +4 -0
- package/dist/openapi_client/models/OutlookSurfaceConfig.d.ts +1 -1
- package/dist/openapi_client/models/PlanResponse.d.ts +3 -2
- package/dist/openapi_client/models/PlanType.d.ts +7 -0
- package/dist/openapi_client/models/PlanType.js +12 -0
- package/dist/openapi_client/models/PodConfig.d.ts +6 -0
- package/dist/openapi_client/models/PodConfig.js +1 -0
- package/dist/openapi_client/models/PodCreateRequest.d.ts +2 -0
- package/dist/openapi_client/models/PodEffectivePermissionsResponse.d.ts +4 -0
- package/dist/openapi_client/models/PodEffectivePermissionsResponse.js +1 -0
- package/dist/openapi_client/models/PodPermissionCatalogResponse.d.ts +4 -0
- package/dist/openapi_client/models/PodPermissionCatalogResponse.js +1 -0
- package/dist/openapi_client/models/PodPermissionResponse.d.ts +7 -0
- package/dist/openapi_client/models/PodPermissionResponse.js +1 -0
- package/dist/openapi_client/models/PodResponse.d.ts +2 -0
- package/dist/openapi_client/models/PodRoleCreateRequest.d.ts +2 -0
- package/dist/openapi_client/models/PodRolePermissionsReplaceRequest.d.ts +4 -0
- package/dist/openapi_client/models/PodRolePermissionsReplaceRequest.js +1 -0
- package/dist/openapi_client/models/PodRolePermissionsResponse.d.ts +6 -0
- package/dist/openapi_client/models/PodRolePermissionsResponse.js +1 -0
- package/dist/openapi_client/models/PodRoleResourcePermissionRequest.d.ts +6 -0
- package/dist/openapi_client/models/PodRoleResourcePermissionRequest.js +1 -0
- package/dist/openapi_client/models/PodRoleResourcePermissionResponse.d.ts +6 -0
- package/dist/openapi_client/models/PodRoleResourcePermissionResponse.js +1 -0
- package/dist/openapi_client/models/PodRoleResponse.d.ts +3 -0
- package/dist/openapi_client/models/PodUpdateRequest.d.ts +2 -0
- package/dist/openapi_client/models/ResolveUserApprovalRequest.d.ts +5 -0
- package/dist/openapi_client/models/ResolveUserApprovalRequest.js +1 -0
- package/dist/openapi_client/models/ResourceAccessGrantRequest.d.ts +3 -0
- package/dist/openapi_client/models/ResourceAccessGrantRequest.js +1 -0
- package/dist/openapi_client/models/ResourceAccessGrantResponse.d.ts +12 -0
- package/dist/openapi_client/models/ResourceAccessGrantResponse.js +1 -0
- package/dist/openapi_client/models/ResourceAccessResponse.d.ts +7 -0
- package/dist/openapi_client/models/ResourceAccessResponse.js +1 -0
- package/dist/openapi_client/models/ResourceType.d.ts +19 -0
- package/dist/openapi_client/models/ResourceType.js +24 -0
- package/dist/openapi_client/models/ResourceVisibility.d.ts +6 -0
- package/dist/openapi_client/models/ResourceVisibility.js +11 -0
- package/dist/openapi_client/models/RuntimeModelCapability.d.ts +8 -0
- package/dist/openapi_client/models/RuntimeModelCapability.js +13 -0
- package/dist/openapi_client/models/RuntimeModelCatalogEntry.d.ts +9 -0
- package/dist/openapi_client/models/RuntimeModelCatalogEntry.js +1 -0
- package/dist/openapi_client/models/RuntimeProfileKind.d.ts +4 -0
- package/dist/openapi_client/models/RuntimeProfileKind.js +9 -0
- package/dist/openapi_client/models/RuntimeProfileProtocol.d.ts +9 -0
- package/dist/openapi_client/models/RuntimeProfileProtocol.js +14 -0
- package/dist/openapi_client/models/RuntimeProfileScope.d.ts +4 -0
- package/dist/openapi_client/models/RuntimeProfileScope.js +9 -0
- package/dist/openapi_client/models/RuntimeProfileStatus.d.ts +5 -0
- package/dist/openapi_client/models/RuntimeProfileStatus.js +10 -0
- package/dist/openapi_client/models/{ScheduleResponse.d.ts → ScheduleDetailResponse.d.ts} +3 -3
- package/dist/openapi_client/models/ScheduleDetailResponse.js +1 -0
- package/dist/openapi_client/models/ScheduleListResponse.d.ts +2 -2
- package/dist/openapi_client/models/SlackSurfaceConfig.d.ts +1 -4
- package/dist/openapi_client/models/SubscriptionResponse.d.ts +2 -2
- package/dist/openapi_client/models/SubscriptionWithPlanResponse.d.ts +2 -2
- package/dist/openapi_client/models/SurfaceBehaviorConfigInput.d.ts +3 -0
- package/dist/openapi_client/models/SurfaceBehaviorConfigInput.js +1 -0
- package/dist/openapi_client/models/SurfaceEventMode.d.ts +6 -0
- package/dist/openapi_client/models/SurfaceEventMode.js +11 -0
- package/dist/openapi_client/models/SurfaceMode.d.ts +5 -0
- package/dist/openapi_client/models/SurfaceMode.js +10 -0
- package/dist/openapi_client/models/SurfaceSetupMode.d.ts +2 -3
- package/dist/openapi_client/models/SurfaceSetupMode.js +1 -2
- package/dist/openapi_client/models/{TableResponse.d.ts → TableDetailResponse.d.ts} +3 -3
- package/dist/openapi_client/models/TableDetailResponse.js +1 -0
- package/dist/openapi_client/models/TableListResponse.d.ts +2 -2
- package/dist/openapi_client/models/TeamsSurfaceConfig.d.ts +1 -3
- package/dist/openapi_client/models/TelegramSurfaceConfig.d.ts +1 -0
- package/dist/openapi_client/models/UpdateAgentRequest.d.ts +4 -12
- package/dist/openapi_client/models/UpdateConversationRequest.d.ts +2 -2
- package/dist/openapi_client/models/UpdateDeskRequest.d.ts +0 -1
- package/dist/openapi_client/models/UpdateFunctionRequest.d.ts +2 -6
- package/dist/openapi_client/models/UpdateScheduleRequest.d.ts +1 -1
- package/dist/openapi_client/models/UpdateSurfaceRequest.d.ts +11 -14
- package/dist/openapi_client/models/UpdateTableRequest.d.ts +1 -1
- package/dist/openapi_client/models/UsageLimitScopeResponse.d.ts +2 -3
- package/dist/openapi_client/models/UsageLimitsResponse.d.ts +1 -4
- package/dist/openapi_client/models/UsageListResponse.d.ts +0 -3
- package/dist/openapi_client/models/UsageRecordResponse.d.ts +10 -14
- package/dist/openapi_client/models/UsageStatsBucketResponse.d.ts +1 -4
- package/dist/openapi_client/models/UsageStatsResponse.d.ts +0 -3
- package/dist/openapi_client/models/UsageSummaryResponse.d.ts +4 -6
- package/dist/openapi_client/models/UserApprovalListResponse.d.ts +4 -0
- package/dist/openapi_client/models/UserApprovalListResponse.js +1 -0
- package/dist/openapi_client/models/VerifyTokenResponse.d.ts +5 -0
- package/dist/openapi_client/models/WhatsAppSurfaceConfig.d.ts +1 -0
- package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +2 -1
- package/dist/openapi_client/models/WorkflowListResponse.d.ts +2 -2
- package/dist/openapi_client/models/WorkflowRunListResponse.d.ts +2 -2
- package/dist/openapi_client/models/WorkflowRunSummaryResponse.d.ts +18 -0
- package/dist/openapi_client/models/WorkflowRunSummaryResponse.js +1 -0
- package/dist/openapi_client/models/WorkflowUpdateRequest.d.ts +2 -1
- package/dist/openapi_client/models/WorkspaceAppAccessRequest.d.ts +6 -0
- package/dist/openapi_client/models/WorkspaceAppAccessRequest.js +1 -0
- package/dist/openapi_client/models/WorkspaceAppAccessResponse.d.ts +5 -0
- package/dist/openapi_client/models/WorkspaceAppAccessResponse.js +1 -0
- package/dist/openapi_client/models/WorkspaceMeApp.d.ts +5 -0
- package/dist/openapi_client/models/WorkspaceMeApp.js +1 -0
- package/dist/openapi_client/models/WorkspaceMeResponse.d.ts +9 -0
- package/dist/openapi_client/models/WorkspaceMeResponse.js +1 -0
- package/dist/openapi_client/models/WorkspaceMeSandbox.d.ts +10 -0
- package/dist/openapi_client/models/WorkspaceMeSandbox.js +1 -0
- package/dist/openapi_client/models/WorkspaceMeSession.d.ts +6 -0
- package/dist/openapi_client/models/WorkspaceMeSession.js +1 -0
- package/dist/openapi_client/models/update.d.ts +1 -1
- package/dist/openapi_client/services/AgentConversationsService.d.ts +28 -3
- package/dist/openapi_client/services/AgentConversationsService.js +54 -3
- package/dist/openapi_client/services/AgentRuntimeService.d.ts +30 -0
- package/dist/openapi_client/services/AgentRuntimeService.js +54 -0
- package/dist/openapi_client/services/AgentSurfacesIngressService.d.ts +15 -20
- package/dist/openapi_client/services/AgentSurfacesIngressService.js +23 -28
- package/dist/openapi_client/services/AgentSurfacesService.d.ts +8 -8
- package/dist/openapi_client/services/AgentSurfacesService.js +20 -20
- package/dist/openapi_client/services/AgentToolsService.d.ts +0 -10
- package/dist/openapi_client/services/AgentToolsService.js +0 -18
- package/dist/openapi_client/services/AgentsService.d.ts +31 -9
- package/dist/openapi_client/services/AgentsService.js +50 -5
- package/dist/openapi_client/services/ApplicationsService.d.ts +12 -8
- package/dist/openapi_client/services/ApplicationsService.js +24 -16
- package/dist/openapi_client/services/BillingSubscriptionsService.d.ts +3 -2
- package/dist/openapi_client/services/BillingSubscriptionsService.js +3 -3
- package/dist/openapi_client/services/DesksService.d.ts +7 -7
- package/dist/openapi_client/services/DesksService.js +3 -3
- package/dist/openapi_client/services/FilesService.d.ts +18 -9
- package/dist/openapi_client/services/FilesService.js +28 -4
- package/dist/openapi_client/services/FunctionsService.d.ts +29 -7
- package/dist/openapi_client/services/FunctionsService.js +48 -3
- package/dist/openapi_client/services/IntegrationsService.d.ts +65 -14
- package/dist/openapi_client/services/IntegrationsService.js +144 -23
- package/dist/openapi_client/services/OrganizationsService.d.ts +8 -0
- package/dist/openapi_client/services/OrganizationsService.js +19 -0
- package/dist/openapi_client/services/PodMembersService.d.ts +0 -10
- package/dist/openapi_client/services/PodMembersService.js +0 -24
- package/dist/openapi_client/services/PodPermissionsService.d.ts +19 -0
- package/dist/openapi_client/services/PodPermissionsService.js +40 -0
- package/dist/openapi_client/services/PodResourceAccessService.d.ts +38 -0
- package/dist/openapi_client/services/PodResourceAccessService.js +81 -0
- package/dist/openapi_client/services/PodRolesService.d.ts +28 -0
- package/dist/openapi_client/services/PodRolesService.js +66 -0
- package/dist/openapi_client/services/PublicDesksService.d.ts +10 -0
- package/dist/openapi_client/services/PublicDesksService.js +15 -0
- package/dist/openapi_client/services/SchedulesService.d.ts +7 -7
- package/dist/openapi_client/services/SchedulesService.js +3 -3
- package/dist/openapi_client/services/TablesService.d.ts +9 -9
- package/dist/openapi_client/services/TablesService.js +4 -4
- package/dist/openapi_client/services/UsageService.d.ts +96 -0
- package/dist/openapi_client/services/UsageService.js +210 -0
- package/dist/openapi_client/services/WorkflowsService.d.ts +9 -9
- package/dist/openapi_client/services/WorkflowsService.js +4 -4
- package/dist/openapi_client/services/WorkspaceAppsService.d.ts +12 -0
- package/dist/openapi_client/services/WorkspaceAppsService.js +21 -0
- package/dist/openapi_client/services/WorkspaceService.d.ts +10 -0
- package/dist/openapi_client/services/WorkspaceService.js +15 -0
- package/dist/react/AuthGuard.d.ts +16 -2
- package/dist/react/AuthGuard.js +169 -130
- package/dist/react/index.d.ts +1 -1
- package/dist/react/useAssistantController.d.ts +26 -3
- package/dist/react/useAssistantController.js +187 -69
- package/dist/react/useAssistantSession.d.ts +10 -7
- package/dist/react/useAssistantSession.js +106 -5
- package/dist/react/useConversations.d.ts +1 -7
- package/dist/react/useConversations.js +4 -10
- package/dist/react/useFlowRunHistory.d.ts +4 -4
- package/dist/react/useFlowRunHistory.js +9 -4
- package/dist/react/useFlowSession.d.ts +2 -2
- package/dist/react/useFunctionRun.d.ts +2 -2
- package/dist/react/useFunctionRuns.d.ts +5 -5
- package/dist/react/useFunctionSession.d.ts +2 -2
- package/dist/react/useWorkflowRun.d.ts +2 -2
- package/dist/react/useWorkflowRuns.d.ts +5 -5
- package/dist/react/useWorkflowStart.d.ts +2 -2
- package/dist/types.d.ts +45 -8
- package/package.json +2 -2
- package/dist/openapi_client/models/AgentModelName.d.ts +0 -13
- package/dist/openapi_client/models/AgentModelName.js +0 -18
- package/dist/openapi_client/models/AgentResponse.d.ts +0 -29
- package/dist/openapi_client/models/ApplicationAccessConfig.d.ts +0 -18
- package/dist/openapi_client/models/ApplicationMode.d.ts +0 -7
- package/dist/openapi_client/models/ApplicationMode.js +0 -12
- package/dist/openapi_client/models/BillingScope.d.ts +0 -7
- package/dist/openapi_client/models/BillingScope.js +0 -12
- package/dist/openapi_client/models/FunctionTableAccessEntry.d.ts +0 -5
- package/dist/openapi_client/models/GmailSurfaceConfigInput.d.ts +0 -4
- package/dist/openapi_client/models/OutlookSurfaceConfigInput.d.ts +0 -4
- package/dist/openapi_client/models/RecentUsageResponse.d.ts +0 -9
- package/dist/openapi_client/models/SlackCredentialsInput.d.ts +0 -5
- package/dist/openapi_client/models/SlackSurfaceConfigInput.d.ts +0 -6
- package/dist/openapi_client/models/SurfaceCredentialMode.d.ts +0 -4
- package/dist/openapi_client/models/SurfaceCredentialMode.js +0 -9
- package/dist/openapi_client/models/SurfaceWebhookMode.d.ts +0 -4
- package/dist/openapi_client/models/SurfaceWebhookMode.js +0 -9
- package/dist/openapi_client/models/TableAccessEntry.d.ts +0 -8
- package/dist/openapi_client/models/TableAccessMode.d.ts +0 -7
- package/dist/openapi_client/models/TableAccessMode.js +0 -12
- package/dist/openapi_client/models/TeamsCredentialsInput.d.ts +0 -6
- package/dist/openapi_client/models/TeamsSurfaceConfigInput.d.ts +0 -6
- package/dist/openapi_client/models/TelegramCredentialsInput.d.ts +0 -5
- package/dist/openapi_client/models/TelegramSurfaceConfigInput.d.ts +0 -6
- package/dist/openapi_client/models/WebSearchAgentRequest.d.ts +0 -9
- package/dist/openapi_client/models/WebSearchAgentResponse.d.ts +0 -25
- package/dist/openapi_client/models/WhatsAppCredentialsInput.d.ts +0 -8
- package/dist/openapi_client/models/WhatsAppSurfaceConfigInput.d.ts +0 -6
- package/dist/openapi_client/services/BillingUsageService.d.ts +0 -138
- package/dist/openapi_client/services/BillingUsageService.js +0 -302
- /package/dist/openapi_client/models/{AgentResponse.js → AccountCreateSchema.js} +0 -0
- /package/dist/openapi_client/models/{ApplicationAccessConfig.js → AgentActionResponse.js} +0 -0
- /package/dist/openapi_client/models/{DeskResponse.js → AgentDetailResponse.js} +0 -0
- /package/dist/openapi_client/models/{FileResponse.js → AgentHarnessInfo.js} +0 -0
- /package/dist/openapi_client/models/{FlowResponse.js → AgentHarnessListResponse.js} +0 -0
- /package/dist/openapi_client/models/{FunctionResponse.js → AgentPermissionsReplaceRequest.js} +0 -0
- /package/dist/openapi_client/models/{FunctionTableAccessEntry.js → AgentPermissionsResponse.js} +0 -0
- /package/dist/openapi_client/models/{GmailSurfaceConfigInput.js → AgentResourcePermissionRequest.js} +0 -0
- /package/dist/openapi_client/models/{OutlookSurfaceConfigInput.js → AgentResourcePermissionResponse.js} +0 -0
- /package/dist/openapi_client/models/{RecentUsageResponse.js → AgentRuntimeConfig.js} +0 -0
- /package/dist/openapi_client/models/{ScheduleResponse.js → AgentRuntimeProfileListResponse.js} +0 -0
- /package/dist/openapi_client/models/{SlackCredentialsInput.js → AgentRuntimeProfileResponse.js} +0 -0
- /package/dist/openapi_client/models/{SlackSurfaceConfigInput.js → AuthConfigCreateSchema.js} +0 -0
- /package/dist/openapi_client/models/{TableAccessEntry.js → AuthConfigListResponseSchema.js} +0 -0
- /package/dist/openapi_client/models/{TableResponse.js → AuthConfigResponseSchema.js} +0 -0
- /package/dist/openapi_client/models/{TeamsCredentialsInput.js → ComposioProviderCapabilityResponseSchema.js} +0 -0
- /package/dist/openapi_client/models/{TeamsSurfaceConfigInput.js → ConvertedPageResponse.js} +0 -0
- /package/dist/openapi_client/models/{TelegramCredentialsInput.js → CreateAnthropicCompatibleRuntimeProfileRequest.js} +0 -0
- /package/dist/openapi_client/models/{TelegramSurfaceConfigInput.js → CreateOpenAICompatibleRuntimeProfileRequest.js} +0 -0
- /package/dist/openapi_client/models/{WebSearchAgentRequest.js → CreateUserDaemonRuntimeProfileRequest.js} +0 -0
- /package/dist/openapi_client/models/{WebSearchAgentResponse.js → DeskDetailResponse.js} +0 -0
- /package/dist/openapi_client/models/{WhatsAppCredentialsInput.js → FileDetailResponse.js} +0 -0
- /package/dist/openapi_client/models/{WhatsAppSurfaceConfigInput.js → FlowDetailResponse.js} +0 -0
|
@@ -28,10 +28,10 @@ export class AgentsService {
|
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
30
|
* Create Agent
|
|
31
|
-
* Create a pod-owned agent definition with
|
|
31
|
+
* Create a pod-owned agent definition with runtime, toolsets, and schemas.
|
|
32
32
|
* @param podId
|
|
33
33
|
* @param requestBody
|
|
34
|
-
* @returns
|
|
34
|
+
* @returns AgentActionResponse Successful Response
|
|
35
35
|
* @throws ApiError
|
|
36
36
|
*/
|
|
37
37
|
static agentCreate(podId, requestBody) {
|
|
@@ -74,7 +74,7 @@ export class AgentsService {
|
|
|
74
74
|
* Get one pod-owned agent definition by its stable name.
|
|
75
75
|
* @param podId
|
|
76
76
|
* @param agentName
|
|
77
|
-
* @returns
|
|
77
|
+
* @returns AgentDetailResponse Successful Response
|
|
78
78
|
* @throws ApiError
|
|
79
79
|
*/
|
|
80
80
|
static agentGet(podId, agentName) {
|
|
@@ -92,11 +92,11 @@ export class AgentsService {
|
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
94
|
* Update Agent
|
|
95
|
-
* Update an agent definition, including prompt instruction,
|
|
95
|
+
* Update an agent definition, including prompt instruction, runtime, toolsets, and schemas.
|
|
96
96
|
* @param podId
|
|
97
97
|
* @param agentName
|
|
98
98
|
* @param requestBody
|
|
99
|
-
* @returns
|
|
99
|
+
* @returns AgentActionResponse Successful Response
|
|
100
100
|
* @throws ApiError
|
|
101
101
|
*/
|
|
102
102
|
static agentUpdate(podId, agentName, requestBody) {
|
|
@@ -114,4 +114,49 @@ export class AgentsService {
|
|
|
114
114
|
},
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* Get Agent Resource Permissions
|
|
119
|
+
* Get explicit resource grants assigned to an agent.
|
|
120
|
+
* @param podId
|
|
121
|
+
* @param agentName
|
|
122
|
+
* @returns AgentPermissionsResponse Successful Response
|
|
123
|
+
* @throws ApiError
|
|
124
|
+
*/
|
|
125
|
+
static agentPermissionsGet(podId, agentName) {
|
|
126
|
+
return __request(OpenAPI, {
|
|
127
|
+
method: 'GET',
|
|
128
|
+
url: '/pods/{pod_id}/agents/{agent_name}/permissions',
|
|
129
|
+
path: {
|
|
130
|
+
'pod_id': podId,
|
|
131
|
+
'agent_name': agentName,
|
|
132
|
+
},
|
|
133
|
+
errors: {
|
|
134
|
+
422: `Validation Error`,
|
|
135
|
+
},
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Replace Agent Resource Permissions
|
|
140
|
+
* Replace explicit resource grants assigned to an agent.
|
|
141
|
+
* @param podId
|
|
142
|
+
* @param agentName
|
|
143
|
+
* @param requestBody
|
|
144
|
+
* @returns AgentPermissionsResponse Successful Response
|
|
145
|
+
* @throws ApiError
|
|
146
|
+
*/
|
|
147
|
+
static agentPermissionsReplace(podId, agentName, requestBody) {
|
|
148
|
+
return __request(OpenAPI, {
|
|
149
|
+
method: 'PUT',
|
|
150
|
+
url: '/pods/{pod_id}/agents/{agent_name}/permissions',
|
|
151
|
+
path: {
|
|
152
|
+
'pod_id': podId,
|
|
153
|
+
'agent_name': agentName,
|
|
154
|
+
},
|
|
155
|
+
body: requestBody,
|
|
156
|
+
mediaType: 'application/json',
|
|
157
|
+
errors: {
|
|
158
|
+
422: `Validation Error`,
|
|
159
|
+
},
|
|
160
|
+
});
|
|
161
|
+
}
|
|
117
162
|
}
|
|
@@ -48,36 +48,40 @@ export declare class ApplicationsService {
|
|
|
48
48
|
static applicationGet(applicationId: string): CancelablePromise<ApplicationDetailResponseSchema>;
|
|
49
49
|
/**
|
|
50
50
|
* Discover Application Operations
|
|
51
|
-
* @param
|
|
51
|
+
* @param organizationId
|
|
52
|
+
* @param authConfigName
|
|
52
53
|
* @param query
|
|
53
54
|
* @param limit
|
|
54
55
|
* @returns OperationDiscoverResponse Successful Response
|
|
55
56
|
* @throws ApiError
|
|
56
57
|
*/
|
|
57
|
-
static applicationOperationDiscover(
|
|
58
|
+
static applicationOperationDiscover(organizationId: string, authConfigName: string, query?: (string | null), limit?: number): CancelablePromise<OperationDiscoverResponse>;
|
|
58
59
|
/**
|
|
59
60
|
* Get Application Operation Details In Batch
|
|
60
|
-
* @param
|
|
61
|
+
* @param organizationId
|
|
62
|
+
* @param authConfigName
|
|
61
63
|
* @param requestBody
|
|
62
64
|
* @returns OperationDetailsBatchResponse Successful Response
|
|
63
65
|
* @throws ApiError
|
|
64
66
|
*/
|
|
65
|
-
static applicationOperationDetailsBatch(
|
|
67
|
+
static applicationOperationDetailsBatch(organizationId: string, authConfigName: string, requestBody: OperationDetailsBatchRequest): CancelablePromise<OperationDetailsBatchResponse>;
|
|
66
68
|
/**
|
|
67
69
|
* Get Application Operation Details
|
|
68
|
-
* @param
|
|
70
|
+
* @param organizationId
|
|
71
|
+
* @param authConfigName
|
|
69
72
|
* @param operationName
|
|
70
73
|
* @returns OperationDetail Successful Response
|
|
71
74
|
* @throws ApiError
|
|
72
75
|
*/
|
|
73
|
-
static applicationOperationDetail(
|
|
76
|
+
static applicationOperationDetail(organizationId: string, authConfigName: string, operationName: string): CancelablePromise<OperationDetail>;
|
|
74
77
|
/**
|
|
75
78
|
* Execute Application Operation
|
|
76
|
-
* @param
|
|
79
|
+
* @param organizationId
|
|
80
|
+
* @param authConfigName
|
|
77
81
|
* @param operationName
|
|
78
82
|
* @param requestBody
|
|
79
83
|
* @returns OperationExecutionResponse Successful Response
|
|
80
84
|
* @throws ApiError
|
|
81
85
|
*/
|
|
82
|
-
static applicationOperationExecute(
|
|
86
|
+
static applicationOperationExecute(organizationId: string, authConfigName: string, operationName: string, requestBody: OperationExecutionRequest): CancelablePromise<OperationExecutionResponse>;
|
|
83
87
|
}
|
|
@@ -87,18 +87,20 @@ export class ApplicationsService {
|
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
89
|
* Discover Application Operations
|
|
90
|
-
* @param
|
|
90
|
+
* @param organizationId
|
|
91
|
+
* @param authConfigName
|
|
91
92
|
* @param query
|
|
92
93
|
* @param limit
|
|
93
94
|
* @returns OperationDiscoverResponse Successful Response
|
|
94
95
|
* @throws ApiError
|
|
95
96
|
*/
|
|
96
|
-
static applicationOperationDiscover(
|
|
97
|
+
static applicationOperationDiscover(organizationId, authConfigName, query, limit = 100) {
|
|
97
98
|
return __request(OpenAPI, {
|
|
98
99
|
method: 'GET',
|
|
99
|
-
url: '/integrations/
|
|
100
|
+
url: '/organizations/{organization_id}/integrations/{auth_config_name}/operations',
|
|
100
101
|
path: {
|
|
101
|
-
'
|
|
102
|
+
'organization_id': organizationId,
|
|
103
|
+
'auth_config_name': authConfigName,
|
|
102
104
|
},
|
|
103
105
|
query: {
|
|
104
106
|
'query': query,
|
|
@@ -111,17 +113,19 @@ export class ApplicationsService {
|
|
|
111
113
|
}
|
|
112
114
|
/**
|
|
113
115
|
* Get Application Operation Details In Batch
|
|
114
|
-
* @param
|
|
116
|
+
* @param organizationId
|
|
117
|
+
* @param authConfigName
|
|
115
118
|
* @param requestBody
|
|
116
119
|
* @returns OperationDetailsBatchResponse Successful Response
|
|
117
120
|
* @throws ApiError
|
|
118
121
|
*/
|
|
119
|
-
static applicationOperationDetailsBatch(
|
|
122
|
+
static applicationOperationDetailsBatch(organizationId, authConfigName, requestBody) {
|
|
120
123
|
return __request(OpenAPI, {
|
|
121
124
|
method: 'POST',
|
|
122
|
-
url: '/integrations/
|
|
125
|
+
url: '/organizations/{organization_id}/integrations/{auth_config_name}/operations/details',
|
|
123
126
|
path: {
|
|
124
|
-
'
|
|
127
|
+
'organization_id': organizationId,
|
|
128
|
+
'auth_config_name': authConfigName,
|
|
125
129
|
},
|
|
126
130
|
body: requestBody,
|
|
127
131
|
mediaType: 'application/json',
|
|
@@ -132,17 +136,19 @@ export class ApplicationsService {
|
|
|
132
136
|
}
|
|
133
137
|
/**
|
|
134
138
|
* Get Application Operation Details
|
|
135
|
-
* @param
|
|
139
|
+
* @param organizationId
|
|
140
|
+
* @param authConfigName
|
|
136
141
|
* @param operationName
|
|
137
142
|
* @returns OperationDetail Successful Response
|
|
138
143
|
* @throws ApiError
|
|
139
144
|
*/
|
|
140
|
-
static applicationOperationDetail(
|
|
145
|
+
static applicationOperationDetail(organizationId, authConfigName, operationName) {
|
|
141
146
|
return __request(OpenAPI, {
|
|
142
147
|
method: 'GET',
|
|
143
|
-
url: '/integrations/
|
|
148
|
+
url: '/organizations/{organization_id}/integrations/{auth_config_name}/operations/{operation_name}',
|
|
144
149
|
path: {
|
|
145
|
-
'
|
|
150
|
+
'organization_id': organizationId,
|
|
151
|
+
'auth_config_name': authConfigName,
|
|
146
152
|
'operation_name': operationName,
|
|
147
153
|
},
|
|
148
154
|
errors: {
|
|
@@ -152,18 +158,20 @@ export class ApplicationsService {
|
|
|
152
158
|
}
|
|
153
159
|
/**
|
|
154
160
|
* Execute Application Operation
|
|
155
|
-
* @param
|
|
161
|
+
* @param organizationId
|
|
162
|
+
* @param authConfigName
|
|
156
163
|
* @param operationName
|
|
157
164
|
* @param requestBody
|
|
158
165
|
* @returns OperationExecutionResponse Successful Response
|
|
159
166
|
* @throws ApiError
|
|
160
167
|
*/
|
|
161
|
-
static applicationOperationExecute(
|
|
168
|
+
static applicationOperationExecute(organizationId, authConfigName, operationName, requestBody) {
|
|
162
169
|
return __request(OpenAPI, {
|
|
163
170
|
method: 'POST',
|
|
164
|
-
url: '/integrations/
|
|
171
|
+
url: '/organizations/{organization_id}/integrations/{auth_config_name}/operations/{operation_name}/execute',
|
|
165
172
|
path: {
|
|
166
|
-
'
|
|
173
|
+
'organization_id': organizationId,
|
|
174
|
+
'auth_config_name': authConfigName,
|
|
167
175
|
'operation_name': operationName,
|
|
168
176
|
},
|
|
169
177
|
body: requestBody,
|
|
@@ -4,6 +4,7 @@ import type { CancelSubscriptionResponse } from '../models/CancelSubscriptionRes
|
|
|
4
4
|
import type { CreateInvoicePaymentUrlRequest } from '../models/CreateInvoicePaymentUrlRequest.js';
|
|
5
5
|
import type { CreateInvoicePaymentUrlResponse } from '../models/CreateInvoicePaymentUrlResponse.js';
|
|
6
6
|
import type { PlanListResponse } from '../models/PlanListResponse.js';
|
|
7
|
+
import type { PlanType } from '../models/PlanType.js';
|
|
7
8
|
import type { SeatInfoResponse } from '../models/SeatInfoResponse.js';
|
|
8
9
|
import type { StartSubscriptionRequest } from '../models/StartSubscriptionRequest.js';
|
|
9
10
|
import type { StartSubscriptionResponse } from '../models/StartSubscriptionResponse.js';
|
|
@@ -106,11 +107,11 @@ export declare class BillingSubscriptionsService {
|
|
|
106
107
|
* List Plans
|
|
107
108
|
* List available subscription plans.
|
|
108
109
|
* @param onlyActive
|
|
109
|
-
* @param
|
|
110
|
+
* @param planType
|
|
110
111
|
* @param limit
|
|
111
112
|
* @param pageToken
|
|
112
113
|
* @returns PlanListResponse Successful Response
|
|
113
114
|
* @throws ApiError
|
|
114
115
|
*/
|
|
115
|
-
static billingPlansList(onlyActive?: boolean,
|
|
116
|
+
static billingPlansList(onlyActive?: boolean, planType?: (PlanType | null), limit?: number, pageToken?: (string | null)): CancelablePromise<PlanListResponse>;
|
|
116
117
|
}
|
|
@@ -206,19 +206,19 @@ export class BillingSubscriptionsService {
|
|
|
206
206
|
* List Plans
|
|
207
207
|
* List available subscription plans.
|
|
208
208
|
* @param onlyActive
|
|
209
|
-
* @param
|
|
209
|
+
* @param planType
|
|
210
210
|
* @param limit
|
|
211
211
|
* @param pageToken
|
|
212
212
|
* @returns PlanListResponse Successful Response
|
|
213
213
|
* @throws ApiError
|
|
214
214
|
*/
|
|
215
|
-
static billingPlansList(onlyActive = true,
|
|
215
|
+
static billingPlansList(onlyActive = true, planType, limit = 100, pageToken) {
|
|
216
216
|
return __request(OpenAPI, {
|
|
217
217
|
method: 'GET',
|
|
218
218
|
url: '/billing/plans',
|
|
219
219
|
query: {
|
|
220
220
|
'only_active': onlyActive,
|
|
221
|
-
'
|
|
221
|
+
'plan_type': planType,
|
|
222
222
|
'limit': limit,
|
|
223
223
|
'page_token': pageToken,
|
|
224
224
|
},
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { CreateDeskRequest } from '../models/CreateDeskRequest.js';
|
|
2
2
|
import type { DeskBundleUploadRequest } from '../models/DeskBundleUploadRequest.js';
|
|
3
3
|
import type { DeskBundleUploadResponse } from '../models/DeskBundleUploadResponse.js';
|
|
4
|
+
import type { DeskDetailResponse } from '../models/DeskDetailResponse.js';
|
|
4
5
|
import type { DeskListResponse } from '../models/DeskListResponse.js';
|
|
5
6
|
import type { DeskMessageResponse } from '../models/DeskMessageResponse.js';
|
|
6
|
-
import type { DeskResponse } from '../models/DeskResponse.js';
|
|
7
7
|
import type { UpdateDeskRequest } from '../models/UpdateDeskRequest.js';
|
|
8
8
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
9
9
|
export declare class DesksService {
|
|
@@ -20,10 +20,10 @@ export declare class DesksService {
|
|
|
20
20
|
* Create Desk
|
|
21
21
|
* @param podId
|
|
22
22
|
* @param requestBody
|
|
23
|
-
* @returns
|
|
23
|
+
* @returns DeskDetailResponse Successful Response
|
|
24
24
|
* @throws ApiError
|
|
25
25
|
*/
|
|
26
|
-
static deskCreate(podId: string, requestBody: CreateDeskRequest): CancelablePromise<
|
|
26
|
+
static deskCreate(podId: string, requestBody: CreateDeskRequest): CancelablePromise<DeskDetailResponse>;
|
|
27
27
|
/**
|
|
28
28
|
* Delete Desk
|
|
29
29
|
* @param podId
|
|
@@ -36,19 +36,19 @@ export declare class DesksService {
|
|
|
36
36
|
* Get Desk
|
|
37
37
|
* @param podId
|
|
38
38
|
* @param deskName
|
|
39
|
-
* @returns
|
|
39
|
+
* @returns DeskDetailResponse Successful Response
|
|
40
40
|
* @throws ApiError
|
|
41
41
|
*/
|
|
42
|
-
static deskGet(podId: string, deskName: string): CancelablePromise<
|
|
42
|
+
static deskGet(podId: string, deskName: string): CancelablePromise<DeskDetailResponse>;
|
|
43
43
|
/**
|
|
44
44
|
* Update Desk
|
|
45
45
|
* @param podId
|
|
46
46
|
* @param deskName
|
|
47
47
|
* @param requestBody
|
|
48
|
-
* @returns
|
|
48
|
+
* @returns DeskDetailResponse Successful Response
|
|
49
49
|
* @throws ApiError
|
|
50
50
|
*/
|
|
51
|
-
static deskUpdate(podId: string, deskName: string, requestBody: UpdateDeskRequest): CancelablePromise<
|
|
51
|
+
static deskUpdate(podId: string, deskName: string, requestBody: UpdateDeskRequest): CancelablePromise<DeskDetailResponse>;
|
|
52
52
|
/**
|
|
53
53
|
* Get Desk Root Asset
|
|
54
54
|
* @param podId
|
|
@@ -29,7 +29,7 @@ export class DesksService {
|
|
|
29
29
|
* Create Desk
|
|
30
30
|
* @param podId
|
|
31
31
|
* @param requestBody
|
|
32
|
-
* @returns
|
|
32
|
+
* @returns DeskDetailResponse Successful Response
|
|
33
33
|
* @throws ApiError
|
|
34
34
|
*/
|
|
35
35
|
static deskCreate(podId, requestBody) {
|
|
@@ -70,7 +70,7 @@ export class DesksService {
|
|
|
70
70
|
* Get Desk
|
|
71
71
|
* @param podId
|
|
72
72
|
* @param deskName
|
|
73
|
-
* @returns
|
|
73
|
+
* @returns DeskDetailResponse Successful Response
|
|
74
74
|
* @throws ApiError
|
|
75
75
|
*/
|
|
76
76
|
static deskGet(podId, deskName) {
|
|
@@ -91,7 +91,7 @@ export class DesksService {
|
|
|
91
91
|
* @param podId
|
|
92
92
|
* @param deskName
|
|
93
93
|
* @param requestBody
|
|
94
|
-
* @returns
|
|
94
|
+
* @returns DeskDetailResponse Successful Response
|
|
95
95
|
* @throws ApiError
|
|
96
96
|
*/
|
|
97
97
|
static deskUpdate(podId, deskName, requestBody) {
|
|
@@ -3,8 +3,8 @@ import type { CreateFolderRequest } from '../models/CreateFolderRequest.js';
|
|
|
3
3
|
import type { DatastoreFileUploadRequest } from '../models/DatastoreFileUploadRequest.js';
|
|
4
4
|
import type { DatastoreMessageResponse } from '../models/DatastoreMessageResponse.js';
|
|
5
5
|
import type { DirectoryTreeResponse } from '../models/DirectoryTreeResponse.js';
|
|
6
|
+
import type { FileDetailResponse } from '../models/FileDetailResponse.js';
|
|
6
7
|
import type { FileListResponse } from '../models/FileListResponse.js';
|
|
7
|
-
import type { FileResponse } from '../models/FileResponse.js';
|
|
8
8
|
import type { FileSearchRequest } from '../models/FileSearchRequest.js';
|
|
9
9
|
import type { FileSearchResponse } from '../models/FileSearchResponse.js';
|
|
10
10
|
import type { update } from '../models/update.js';
|
|
@@ -24,10 +24,10 @@ export declare class FilesService {
|
|
|
24
24
|
* Upload File
|
|
25
25
|
* @param podId
|
|
26
26
|
* @param formData
|
|
27
|
-
* @returns
|
|
27
|
+
* @returns FileDetailResponse Successful Response
|
|
28
28
|
* @throws ApiError
|
|
29
29
|
*/
|
|
30
|
-
static fileUpload(podId: string, formData: DatastoreFileUploadRequest): CancelablePromise<
|
|
30
|
+
static fileUpload(podId: string, formData: DatastoreFileUploadRequest): CancelablePromise<FileDetailResponse>;
|
|
31
31
|
/**
|
|
32
32
|
* Delete File Or Folder
|
|
33
33
|
* @param podId
|
|
@@ -40,18 +40,27 @@ export declare class FilesService {
|
|
|
40
40
|
* Get File
|
|
41
41
|
* @param podId
|
|
42
42
|
* @param path
|
|
43
|
-
* @returns
|
|
43
|
+
* @returns FileDetailResponse Successful Response
|
|
44
44
|
* @throws ApiError
|
|
45
45
|
*/
|
|
46
|
-
static fileGet(podId: string, path: string): CancelablePromise<
|
|
46
|
+
static fileGet(podId: string, path: string): CancelablePromise<FileDetailResponse>;
|
|
47
47
|
/**
|
|
48
48
|
* Update File
|
|
49
49
|
* @param podId
|
|
50
50
|
* @param formData
|
|
51
|
-
* @returns
|
|
51
|
+
* @returns FileDetailResponse Successful Response
|
|
52
52
|
* @throws ApiError
|
|
53
53
|
*/
|
|
54
|
-
static fileUpdate(podId: string, formData: update): CancelablePromise<
|
|
54
|
+
static fileUpdate(podId: string, formData: update): CancelablePromise<FileDetailResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* Download Converted File Archive
|
|
57
|
+
* @param podId
|
|
58
|
+
* @param path
|
|
59
|
+
* @param withAssets
|
|
60
|
+
* @returns binary File bytes
|
|
61
|
+
* @throws ApiError
|
|
62
|
+
*/
|
|
63
|
+
static fileConvertedArchive(podId: string, path: string, withAssets?: boolean): CancelablePromise<Blob>;
|
|
55
64
|
/**
|
|
56
65
|
* Get Converted File Metadata
|
|
57
66
|
* @param podId
|
|
@@ -89,10 +98,10 @@ export declare class FilesService {
|
|
|
89
98
|
* Create Folder
|
|
90
99
|
* @param podId
|
|
91
100
|
* @param requestBody
|
|
92
|
-
* @returns
|
|
101
|
+
* @returns FileDetailResponse Successful Response
|
|
93
102
|
* @throws ApiError
|
|
94
103
|
*/
|
|
95
|
-
static fileFolderCreate(podId: string, requestBody: CreateFolderRequest): CancelablePromise<
|
|
104
|
+
static fileFolderCreate(podId: string, requestBody: CreateFolderRequest): CancelablePromise<FileDetailResponse>;
|
|
96
105
|
/**
|
|
97
106
|
* Search Files
|
|
98
107
|
* @param podId
|
|
@@ -31,7 +31,7 @@ export class FilesService {
|
|
|
31
31
|
* Upload File
|
|
32
32
|
* @param podId
|
|
33
33
|
* @param formData
|
|
34
|
-
* @returns
|
|
34
|
+
* @returns FileDetailResponse Successful Response
|
|
35
35
|
* @throws ApiError
|
|
36
36
|
*/
|
|
37
37
|
static fileUpload(podId, formData) {
|
|
@@ -74,7 +74,7 @@ export class FilesService {
|
|
|
74
74
|
* Get File
|
|
75
75
|
* @param podId
|
|
76
76
|
* @param path
|
|
77
|
-
* @returns
|
|
77
|
+
* @returns FileDetailResponse Successful Response
|
|
78
78
|
* @throws ApiError
|
|
79
79
|
*/
|
|
80
80
|
static fileGet(podId, path) {
|
|
@@ -96,7 +96,7 @@ export class FilesService {
|
|
|
96
96
|
* Update File
|
|
97
97
|
* @param podId
|
|
98
98
|
* @param formData
|
|
99
|
-
* @returns
|
|
99
|
+
* @returns FileDetailResponse Successful Response
|
|
100
100
|
* @throws ApiError
|
|
101
101
|
*/
|
|
102
102
|
static fileUpdate(podId, formData) {
|
|
@@ -113,6 +113,30 @@ export class FilesService {
|
|
|
113
113
|
},
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* Download Converted File Archive
|
|
118
|
+
* @param podId
|
|
119
|
+
* @param path
|
|
120
|
+
* @param withAssets
|
|
121
|
+
* @returns binary File bytes
|
|
122
|
+
* @throws ApiError
|
|
123
|
+
*/
|
|
124
|
+
static fileConvertedArchive(podId, path, withAssets = false) {
|
|
125
|
+
return __request(OpenAPI, {
|
|
126
|
+
method: 'GET',
|
|
127
|
+
url: '/pods/{pod_id}/datastore/files/converted/archive',
|
|
128
|
+
path: {
|
|
129
|
+
'pod_id': podId,
|
|
130
|
+
},
|
|
131
|
+
query: {
|
|
132
|
+
'path': path,
|
|
133
|
+
'with_assets': withAssets,
|
|
134
|
+
},
|
|
135
|
+
errors: {
|
|
136
|
+
422: `Validation Error`,
|
|
137
|
+
},
|
|
138
|
+
});
|
|
139
|
+
}
|
|
116
140
|
/**
|
|
117
141
|
* Get Converted File Metadata
|
|
118
142
|
* @param podId
|
|
@@ -207,7 +231,7 @@ export class FilesService {
|
|
|
207
231
|
* Create Folder
|
|
208
232
|
* @param podId
|
|
209
233
|
* @param requestBody
|
|
210
|
-
* @returns
|
|
234
|
+
* @returns FileDetailResponse Successful Response
|
|
211
235
|
* @throws ApiError
|
|
212
236
|
*/
|
|
213
237
|
static fileFolderCreate(podId, requestBody) {
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import type { CreateFunctionRequest } from '../models/CreateFunctionRequest.js';
|
|
2
2
|
import type { ExecuteFunctionRequest } from '../models/ExecuteFunctionRequest.js';
|
|
3
|
+
import type { FunctionActionResponse } from '../models/FunctionActionResponse.js';
|
|
4
|
+
import type { FunctionDetailResponse } from '../models/FunctionDetailResponse.js';
|
|
3
5
|
import type { FunctionListResponse } from '../models/FunctionListResponse.js';
|
|
4
6
|
import type { FunctionMessageResponse } from '../models/FunctionMessageResponse.js';
|
|
5
|
-
import type {
|
|
7
|
+
import type { FunctionPermissionsReplaceRequest } from '../models/FunctionPermissionsReplaceRequest.js';
|
|
8
|
+
import type { FunctionPermissionsResponse } from '../models/FunctionPermissionsResponse.js';
|
|
6
9
|
import type { FunctionRunListResponse } from '../models/FunctionRunListResponse.js';
|
|
7
10
|
import type { FunctionRunResponse } from '../models/FunctionRunResponse.js';
|
|
8
11
|
import type { UpdateFunctionRequest } from '../models/UpdateFunctionRequest.js';
|
|
@@ -23,10 +26,10 @@ export declare class FunctionsService {
|
|
|
23
26
|
* Create a new function in a pod. Do not send input_schema or output_schema; the platform derives those schemas from the function code and returns them in the response.
|
|
24
27
|
* @param podId
|
|
25
28
|
* @param requestBody
|
|
26
|
-
* @returns
|
|
29
|
+
* @returns FunctionActionResponse Successful Response
|
|
27
30
|
* @throws ApiError
|
|
28
31
|
*/
|
|
29
|
-
static functionCreate(podId: string, requestBody: CreateFunctionRequest): CancelablePromise<
|
|
32
|
+
static functionCreate(podId: string, requestBody: CreateFunctionRequest): CancelablePromise<FunctionActionResponse>;
|
|
30
33
|
/**
|
|
31
34
|
* Delete Function
|
|
32
35
|
* Delete a function
|
|
@@ -41,20 +44,39 @@ export declare class FunctionsService {
|
|
|
41
44
|
* Get a function by name
|
|
42
45
|
* @param podId
|
|
43
46
|
* @param functionName
|
|
44
|
-
* @returns
|
|
47
|
+
* @returns FunctionDetailResponse Successful Response
|
|
45
48
|
* @throws ApiError
|
|
46
49
|
*/
|
|
47
|
-
static functionGet(podId: string, functionName: string): CancelablePromise<
|
|
50
|
+
static functionGet(podId: string, functionName: string): CancelablePromise<FunctionDetailResponse>;
|
|
48
51
|
/**
|
|
49
52
|
* Update Function
|
|
50
53
|
* Update a function. When code is supplied, the platform re-derives the function input_schema and output_schema and returns the refreshed function.
|
|
51
54
|
* @param podId
|
|
52
55
|
* @param functionName
|
|
53
56
|
* @param requestBody
|
|
54
|
-
* @returns
|
|
57
|
+
* @returns FunctionActionResponse Successful Response
|
|
55
58
|
* @throws ApiError
|
|
56
59
|
*/
|
|
57
|
-
static functionUpdate(podId: string, functionName: string, requestBody: UpdateFunctionRequest): CancelablePromise<
|
|
60
|
+
static functionUpdate(podId: string, functionName: string, requestBody: UpdateFunctionRequest): CancelablePromise<FunctionActionResponse>;
|
|
61
|
+
/**
|
|
62
|
+
* Get Function Resource Permissions
|
|
63
|
+
* Get explicit resource grants assigned to a function.
|
|
64
|
+
* @param podId
|
|
65
|
+
* @param functionName
|
|
66
|
+
* @returns FunctionPermissionsResponse Successful Response
|
|
67
|
+
* @throws ApiError
|
|
68
|
+
*/
|
|
69
|
+
static functionPermissionsGet(podId: string, functionName: string): CancelablePromise<FunctionPermissionsResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* Replace Function Resource Permissions
|
|
72
|
+
* Replace explicit resource grants assigned to a function.
|
|
73
|
+
* @param podId
|
|
74
|
+
* @param functionName
|
|
75
|
+
* @param requestBody
|
|
76
|
+
* @returns FunctionPermissionsResponse Successful Response
|
|
77
|
+
* @throws ApiError
|
|
78
|
+
*/
|
|
79
|
+
static functionPermissionsReplace(podId: string, functionName: string, requestBody: FunctionPermissionsReplaceRequest): CancelablePromise<FunctionPermissionsResponse>;
|
|
58
80
|
/**
|
|
59
81
|
* List Runs
|
|
60
82
|
* List runs for a function
|
|
@@ -31,7 +31,7 @@ export class FunctionsService {
|
|
|
31
31
|
* Create a new function in a pod. Do not send input_schema or output_schema; the platform derives those schemas from the function code and returns them in the response.
|
|
32
32
|
* @param podId
|
|
33
33
|
* @param requestBody
|
|
34
|
-
* @returns
|
|
34
|
+
* @returns FunctionActionResponse Successful Response
|
|
35
35
|
* @throws ApiError
|
|
36
36
|
*/
|
|
37
37
|
static functionCreate(podId, requestBody) {
|
|
@@ -74,7 +74,7 @@ export class FunctionsService {
|
|
|
74
74
|
* Get a function by name
|
|
75
75
|
* @param podId
|
|
76
76
|
* @param functionName
|
|
77
|
-
* @returns
|
|
77
|
+
* @returns FunctionDetailResponse Successful Response
|
|
78
78
|
* @throws ApiError
|
|
79
79
|
*/
|
|
80
80
|
static functionGet(podId, functionName) {
|
|
@@ -96,7 +96,7 @@ export class FunctionsService {
|
|
|
96
96
|
* @param podId
|
|
97
97
|
* @param functionName
|
|
98
98
|
* @param requestBody
|
|
99
|
-
* @returns
|
|
99
|
+
* @returns FunctionActionResponse Successful Response
|
|
100
100
|
* @throws ApiError
|
|
101
101
|
*/
|
|
102
102
|
static functionUpdate(podId, functionName, requestBody) {
|
|
@@ -114,6 +114,51 @@ export class FunctionsService {
|
|
|
114
114
|
},
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* Get Function Resource Permissions
|
|
119
|
+
* Get explicit resource grants assigned to a function.
|
|
120
|
+
* @param podId
|
|
121
|
+
* @param functionName
|
|
122
|
+
* @returns FunctionPermissionsResponse Successful Response
|
|
123
|
+
* @throws ApiError
|
|
124
|
+
*/
|
|
125
|
+
static functionPermissionsGet(podId, functionName) {
|
|
126
|
+
return __request(OpenAPI, {
|
|
127
|
+
method: 'GET',
|
|
128
|
+
url: '/pods/{pod_id}/functions/{function_name}/permissions',
|
|
129
|
+
path: {
|
|
130
|
+
'pod_id': podId,
|
|
131
|
+
'function_name': functionName,
|
|
132
|
+
},
|
|
133
|
+
errors: {
|
|
134
|
+
422: `Validation Error`,
|
|
135
|
+
},
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Replace Function Resource Permissions
|
|
140
|
+
* Replace explicit resource grants assigned to a function.
|
|
141
|
+
* @param podId
|
|
142
|
+
* @param functionName
|
|
143
|
+
* @param requestBody
|
|
144
|
+
* @returns FunctionPermissionsResponse Successful Response
|
|
145
|
+
* @throws ApiError
|
|
146
|
+
*/
|
|
147
|
+
static functionPermissionsReplace(podId, functionName, requestBody) {
|
|
148
|
+
return __request(OpenAPI, {
|
|
149
|
+
method: 'PUT',
|
|
150
|
+
url: '/pods/{pod_id}/functions/{function_name}/permissions',
|
|
151
|
+
path: {
|
|
152
|
+
'pod_id': podId,
|
|
153
|
+
'function_name': functionName,
|
|
154
|
+
},
|
|
155
|
+
body: requestBody,
|
|
156
|
+
mediaType: 'application/json',
|
|
157
|
+
errors: {
|
|
158
|
+
422: `Validation Error`,
|
|
159
|
+
},
|
|
160
|
+
});
|
|
161
|
+
}
|
|
117
162
|
/**
|
|
118
163
|
* List Runs
|
|
119
164
|
* List runs for a function
|