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
|
@@ -1,60 +1,111 @@
|
|
|
1
|
+
import type { AccountCreateSchema } from '../models/AccountCreateSchema.js';
|
|
1
2
|
import type { AccountCredentialsResponseSchema } from '../models/AccountCredentialsResponseSchema.js';
|
|
2
3
|
import type { AccountListResponseSchema } from '../models/AccountListResponseSchema.js';
|
|
3
4
|
import type { AccountResponseSchema } from '../models/AccountResponseSchema.js';
|
|
5
|
+
import type { AuthConfigCreateSchema } from '../models/AuthConfigCreateSchema.js';
|
|
6
|
+
import type { AuthConfigListResponseSchema } from '../models/AuthConfigListResponseSchema.js';
|
|
7
|
+
import type { AuthConfigResponseSchema } from '../models/AuthConfigResponseSchema.js';
|
|
4
8
|
import type { ConnectRequestInitiateSchema } from '../models/ConnectRequestInitiateSchema.js';
|
|
5
9
|
import type { ConnectRequestResponseSchema } from '../models/ConnectRequestResponseSchema.js';
|
|
6
10
|
import type { MessageResponseSchema } from '../models/MessageResponseSchema.js';
|
|
7
11
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
8
12
|
export declare class IntegrationsService {
|
|
13
|
+
/**
|
|
14
|
+
* OAuth Callback
|
|
15
|
+
* Handle OAuth callback and complete account connection. This endpoint is public and uses state parameter for security.
|
|
16
|
+
* @param error
|
|
17
|
+
* @param format
|
|
18
|
+
* @returns string Successful Response
|
|
19
|
+
* @throws ApiError
|
|
20
|
+
*/
|
|
21
|
+
static integrationOauthCallback(error?: (string | null), format?: (string | null)): CancelablePromise<string>;
|
|
9
22
|
/**
|
|
10
23
|
* List Accounts
|
|
11
24
|
* Get all connected accounts for the current user. Optionally filter by application_id or application_name
|
|
25
|
+
* @param organizationId
|
|
12
26
|
* @param applicationId
|
|
13
27
|
* @param limit
|
|
14
28
|
* @param pageToken
|
|
15
29
|
* @returns AccountListResponseSchema Successful Response
|
|
16
30
|
* @throws ApiError
|
|
17
31
|
*/
|
|
18
|
-
static integrationAccountList(applicationId?: (string | null), limit?: number, pageToken?: (string | null)): CancelablePromise<AccountListResponseSchema>;
|
|
32
|
+
static integrationAccountList(organizationId: string, applicationId?: (string | null), limit?: number, pageToken?: (string | null)): CancelablePromise<AccountListResponseSchema>;
|
|
33
|
+
/**
|
|
34
|
+
* Create Account
|
|
35
|
+
* Directly connect a credential-managed native account for an org auth config.
|
|
36
|
+
* @param organizationId
|
|
37
|
+
* @param requestBody
|
|
38
|
+
* @returns AccountResponseSchema Successful Response
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static integrationAccountCreate(organizationId: string, requestBody: AccountCreateSchema): CancelablePromise<AccountResponseSchema>;
|
|
19
42
|
/**
|
|
20
43
|
* Delete Account
|
|
21
44
|
* Delete a connected account and revoke the connection
|
|
45
|
+
* @param organizationId
|
|
22
46
|
* @param accountId
|
|
23
47
|
* @returns MessageResponseSchema Successful Response
|
|
24
48
|
* @throws ApiError
|
|
25
49
|
*/
|
|
26
|
-
static integrationAccountDelete(accountId: string): CancelablePromise<MessageResponseSchema>;
|
|
50
|
+
static integrationAccountDelete(organizationId: string, accountId: string): CancelablePromise<MessageResponseSchema>;
|
|
27
51
|
/**
|
|
28
52
|
* Get Account
|
|
29
53
|
* Get a specific account by ID
|
|
54
|
+
* @param organizationId
|
|
30
55
|
* @param accountId
|
|
31
56
|
* @returns AccountResponseSchema Successful Response
|
|
32
57
|
* @throws ApiError
|
|
33
58
|
*/
|
|
34
|
-
static integrationAccountGet(accountId: string): CancelablePromise<AccountResponseSchema>;
|
|
59
|
+
static integrationAccountGet(organizationId: string, accountId: string): CancelablePromise<AccountResponseSchema>;
|
|
35
60
|
/**
|
|
36
61
|
* Get Credentials
|
|
37
62
|
* Get the credentials for a specific account
|
|
63
|
+
* @param organizationId
|
|
38
64
|
* @param accountId
|
|
39
65
|
* @returns AccountCredentialsResponseSchema Successful Response
|
|
40
66
|
* @throws ApiError
|
|
41
67
|
*/
|
|
42
|
-
static integrationAccountCredentialsGet(accountId: string): CancelablePromise<AccountCredentialsResponseSchema>;
|
|
68
|
+
static integrationAccountCredentialsGet(organizationId: string, accountId: string): CancelablePromise<AccountCredentialsResponseSchema>;
|
|
43
69
|
/**
|
|
44
|
-
*
|
|
45
|
-
*
|
|
70
|
+
* List Auth Configs
|
|
71
|
+
* @param organizationId
|
|
72
|
+
* @param limit
|
|
73
|
+
* @param pageToken
|
|
74
|
+
* @returns AuthConfigListResponseSchema Successful Response
|
|
75
|
+
* @throws ApiError
|
|
76
|
+
*/
|
|
77
|
+
static listAuthConfigsOrganizationsOrganizationIdIntegrationsAuthConfigsGet(organizationId: string, limit?: number, pageToken?: (string | null)): CancelablePromise<AuthConfigListResponseSchema>;
|
|
78
|
+
/**
|
|
79
|
+
* Create Auth Config
|
|
80
|
+
* @param organizationId
|
|
46
81
|
* @param requestBody
|
|
47
|
-
* @returns
|
|
82
|
+
* @returns AuthConfigResponseSchema Successful Response
|
|
48
83
|
* @throws ApiError
|
|
49
84
|
*/
|
|
50
|
-
static
|
|
85
|
+
static createAuthConfigOrganizationsOrganizationIdIntegrationsAuthConfigsPost(organizationId: string, requestBody: AuthConfigCreateSchema): CancelablePromise<AuthConfigResponseSchema>;
|
|
51
86
|
/**
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* @param
|
|
55
|
-
* @
|
|
56
|
-
* @returns string Successful Response
|
|
87
|
+
* Delete Auth Config
|
|
88
|
+
* @param organizationId
|
|
89
|
+
* @param authConfigName
|
|
90
|
+
* @returns boolean Successful Response
|
|
57
91
|
* @throws ApiError
|
|
58
92
|
*/
|
|
59
|
-
static
|
|
93
|
+
static deleteAuthConfigOrganizationsOrganizationIdIntegrationsAuthConfigsAuthConfigNameDelete(organizationId: string, authConfigName: string): CancelablePromise<Record<string, boolean>>;
|
|
94
|
+
/**
|
|
95
|
+
* Get Auth Config
|
|
96
|
+
* @param organizationId
|
|
97
|
+
* @param authConfigName
|
|
98
|
+
* @returns AuthConfigResponseSchema Successful Response
|
|
99
|
+
* @throws ApiError
|
|
100
|
+
*/
|
|
101
|
+
static getAuthConfigOrganizationsOrganizationIdIntegrationsAuthConfigsAuthConfigNameGet(organizationId: string, authConfigName: string): CancelablePromise<AuthConfigResponseSchema>;
|
|
102
|
+
/**
|
|
103
|
+
* Initiate Connect Request
|
|
104
|
+
* Initiate an OAuth connection request for an application
|
|
105
|
+
* @param organizationId
|
|
106
|
+
* @param requestBody
|
|
107
|
+
* @returns ConnectRequestResponseSchema Successful Response
|
|
108
|
+
* @throws ApiError
|
|
109
|
+
*/
|
|
110
|
+
static integrationConnectRequestCreate(organizationId: string, requestBody: ConnectRequestInitiateSchema): CancelablePromise<ConnectRequestResponseSchema>;
|
|
60
111
|
}
|
|
@@ -1,19 +1,44 @@
|
|
|
1
1
|
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
2
|
import { request as __request } from '../core/request.js';
|
|
3
3
|
export class IntegrationsService {
|
|
4
|
+
/**
|
|
5
|
+
* OAuth Callback
|
|
6
|
+
* Handle OAuth callback and complete account connection. This endpoint is public and uses state parameter for security.
|
|
7
|
+
* @param error
|
|
8
|
+
* @param format
|
|
9
|
+
* @returns string Successful Response
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static integrationOauthCallback(error, format) {
|
|
13
|
+
return __request(OpenAPI, {
|
|
14
|
+
method: 'GET',
|
|
15
|
+
url: '/integrations/connect-requests/oauth/callback',
|
|
16
|
+
query: {
|
|
17
|
+
'error': error,
|
|
18
|
+
'format': format,
|
|
19
|
+
},
|
|
20
|
+
errors: {
|
|
21
|
+
422: `Validation Error`,
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
}
|
|
4
25
|
/**
|
|
5
26
|
* List Accounts
|
|
6
27
|
* Get all connected accounts for the current user. Optionally filter by application_id or application_name
|
|
28
|
+
* @param organizationId
|
|
7
29
|
* @param applicationId
|
|
8
30
|
* @param limit
|
|
9
31
|
* @param pageToken
|
|
10
32
|
* @returns AccountListResponseSchema Successful Response
|
|
11
33
|
* @throws ApiError
|
|
12
34
|
*/
|
|
13
|
-
static integrationAccountList(applicationId, limit = 100, pageToken) {
|
|
35
|
+
static integrationAccountList(organizationId, applicationId, limit = 100, pageToken) {
|
|
14
36
|
return __request(OpenAPI, {
|
|
15
37
|
method: 'GET',
|
|
16
|
-
url: '/integrations/accounts',
|
|
38
|
+
url: '/organizations/{organization_id}/integrations/accounts',
|
|
39
|
+
path: {
|
|
40
|
+
'organization_id': organizationId,
|
|
41
|
+
},
|
|
17
42
|
query: {
|
|
18
43
|
'application_id': applicationId,
|
|
19
44
|
'limit': limit,
|
|
@@ -24,18 +49,42 @@ export class IntegrationsService {
|
|
|
24
49
|
},
|
|
25
50
|
});
|
|
26
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Create Account
|
|
54
|
+
* Directly connect a credential-managed native account for an org auth config.
|
|
55
|
+
* @param organizationId
|
|
56
|
+
* @param requestBody
|
|
57
|
+
* @returns AccountResponseSchema Successful Response
|
|
58
|
+
* @throws ApiError
|
|
59
|
+
*/
|
|
60
|
+
static integrationAccountCreate(organizationId, requestBody) {
|
|
61
|
+
return __request(OpenAPI, {
|
|
62
|
+
method: 'POST',
|
|
63
|
+
url: '/organizations/{organization_id}/integrations/accounts',
|
|
64
|
+
path: {
|
|
65
|
+
'organization_id': organizationId,
|
|
66
|
+
},
|
|
67
|
+
body: requestBody,
|
|
68
|
+
mediaType: 'application/json',
|
|
69
|
+
errors: {
|
|
70
|
+
422: `Validation Error`,
|
|
71
|
+
},
|
|
72
|
+
});
|
|
73
|
+
}
|
|
27
74
|
/**
|
|
28
75
|
* Delete Account
|
|
29
76
|
* Delete a connected account and revoke the connection
|
|
77
|
+
* @param organizationId
|
|
30
78
|
* @param accountId
|
|
31
79
|
* @returns MessageResponseSchema Successful Response
|
|
32
80
|
* @throws ApiError
|
|
33
81
|
*/
|
|
34
|
-
static integrationAccountDelete(accountId) {
|
|
82
|
+
static integrationAccountDelete(organizationId, accountId) {
|
|
35
83
|
return __request(OpenAPI, {
|
|
36
84
|
method: 'DELETE',
|
|
37
|
-
url: '/integrations/accounts/{account_id}',
|
|
85
|
+
url: '/organizations/{organization_id}/integrations/accounts/{account_id}',
|
|
38
86
|
path: {
|
|
87
|
+
'organization_id': organizationId,
|
|
39
88
|
'account_id': accountId,
|
|
40
89
|
},
|
|
41
90
|
errors: {
|
|
@@ -46,15 +95,17 @@ export class IntegrationsService {
|
|
|
46
95
|
/**
|
|
47
96
|
* Get Account
|
|
48
97
|
* Get a specific account by ID
|
|
98
|
+
* @param organizationId
|
|
49
99
|
* @param accountId
|
|
50
100
|
* @returns AccountResponseSchema Successful Response
|
|
51
101
|
* @throws ApiError
|
|
52
102
|
*/
|
|
53
|
-
static integrationAccountGet(accountId) {
|
|
103
|
+
static integrationAccountGet(organizationId, accountId) {
|
|
54
104
|
return __request(OpenAPI, {
|
|
55
105
|
method: 'GET',
|
|
56
|
-
url: '/integrations/accounts/{account_id}',
|
|
106
|
+
url: '/organizations/{organization_id}/integrations/accounts/{account_id}',
|
|
57
107
|
path: {
|
|
108
|
+
'organization_id': organizationId,
|
|
58
109
|
'account_id': accountId,
|
|
59
110
|
},
|
|
60
111
|
errors: {
|
|
@@ -65,15 +116,17 @@ export class IntegrationsService {
|
|
|
65
116
|
/**
|
|
66
117
|
* Get Credentials
|
|
67
118
|
* Get the credentials for a specific account
|
|
119
|
+
* @param organizationId
|
|
68
120
|
* @param accountId
|
|
69
121
|
* @returns AccountCredentialsResponseSchema Successful Response
|
|
70
122
|
* @throws ApiError
|
|
71
123
|
*/
|
|
72
|
-
static integrationAccountCredentialsGet(accountId) {
|
|
124
|
+
static integrationAccountCredentialsGet(organizationId, accountId) {
|
|
73
125
|
return __request(OpenAPI, {
|
|
74
126
|
method: 'GET',
|
|
75
|
-
url: '/integrations/accounts/{account_id}/credentials',
|
|
127
|
+
url: '/organizations/{organization_id}/integrations/accounts/{account_id}/credentials',
|
|
76
128
|
path: {
|
|
129
|
+
'organization_id': organizationId,
|
|
77
130
|
'account_id': accountId,
|
|
78
131
|
},
|
|
79
132
|
errors: {
|
|
@@ -82,16 +135,43 @@ export class IntegrationsService {
|
|
|
82
135
|
});
|
|
83
136
|
}
|
|
84
137
|
/**
|
|
85
|
-
*
|
|
86
|
-
*
|
|
138
|
+
* List Auth Configs
|
|
139
|
+
* @param organizationId
|
|
140
|
+
* @param limit
|
|
141
|
+
* @param pageToken
|
|
142
|
+
* @returns AuthConfigListResponseSchema Successful Response
|
|
143
|
+
* @throws ApiError
|
|
144
|
+
*/
|
|
145
|
+
static listAuthConfigsOrganizationsOrganizationIdIntegrationsAuthConfigsGet(organizationId, limit = 100, pageToken) {
|
|
146
|
+
return __request(OpenAPI, {
|
|
147
|
+
method: 'GET',
|
|
148
|
+
url: '/organizations/{organization_id}/integrations/auth-configs',
|
|
149
|
+
path: {
|
|
150
|
+
'organization_id': organizationId,
|
|
151
|
+
},
|
|
152
|
+
query: {
|
|
153
|
+
'limit': limit,
|
|
154
|
+
'page_token': pageToken,
|
|
155
|
+
},
|
|
156
|
+
errors: {
|
|
157
|
+
422: `Validation Error`,
|
|
158
|
+
},
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Create Auth Config
|
|
163
|
+
* @param organizationId
|
|
87
164
|
* @param requestBody
|
|
88
|
-
* @returns
|
|
165
|
+
* @returns AuthConfigResponseSchema Successful Response
|
|
89
166
|
* @throws ApiError
|
|
90
167
|
*/
|
|
91
|
-
static
|
|
168
|
+
static createAuthConfigOrganizationsOrganizationIdIntegrationsAuthConfigsPost(organizationId, requestBody) {
|
|
92
169
|
return __request(OpenAPI, {
|
|
93
170
|
method: 'POST',
|
|
94
|
-
url: '/integrations/
|
|
171
|
+
url: '/organizations/{organization_id}/integrations/auth-configs',
|
|
172
|
+
path: {
|
|
173
|
+
'organization_id': organizationId,
|
|
174
|
+
},
|
|
95
175
|
body: requestBody,
|
|
96
176
|
mediaType: 'application/json',
|
|
97
177
|
errors: {
|
|
@@ -100,24 +180,65 @@ export class IntegrationsService {
|
|
|
100
180
|
});
|
|
101
181
|
}
|
|
102
182
|
/**
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
* @param
|
|
106
|
-
* @
|
|
107
|
-
* @returns string Successful Response
|
|
183
|
+
* Delete Auth Config
|
|
184
|
+
* @param organizationId
|
|
185
|
+
* @param authConfigName
|
|
186
|
+
* @returns boolean Successful Response
|
|
108
187
|
* @throws ApiError
|
|
109
188
|
*/
|
|
110
|
-
static
|
|
189
|
+
static deleteAuthConfigOrganizationsOrganizationIdIntegrationsAuthConfigsAuthConfigNameDelete(organizationId, authConfigName) {
|
|
190
|
+
return __request(OpenAPI, {
|
|
191
|
+
method: 'DELETE',
|
|
192
|
+
url: '/organizations/{organization_id}/integrations/auth-configs/{auth_config_name}',
|
|
193
|
+
path: {
|
|
194
|
+
'organization_id': organizationId,
|
|
195
|
+
'auth_config_name': authConfigName,
|
|
196
|
+
},
|
|
197
|
+
errors: {
|
|
198
|
+
422: `Validation Error`,
|
|
199
|
+
},
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Get Auth Config
|
|
204
|
+
* @param organizationId
|
|
205
|
+
* @param authConfigName
|
|
206
|
+
* @returns AuthConfigResponseSchema Successful Response
|
|
207
|
+
* @throws ApiError
|
|
208
|
+
*/
|
|
209
|
+
static getAuthConfigOrganizationsOrganizationIdIntegrationsAuthConfigsAuthConfigNameGet(organizationId, authConfigName) {
|
|
111
210
|
return __request(OpenAPI, {
|
|
112
211
|
method: 'GET',
|
|
113
|
-
url: '/integrations/
|
|
114
|
-
|
|
115
|
-
'
|
|
116
|
-
'
|
|
212
|
+
url: '/organizations/{organization_id}/integrations/auth-configs/{auth_config_name}',
|
|
213
|
+
path: {
|
|
214
|
+
'organization_id': organizationId,
|
|
215
|
+
'auth_config_name': authConfigName,
|
|
117
216
|
},
|
|
118
217
|
errors: {
|
|
119
218
|
422: `Validation Error`,
|
|
120
219
|
},
|
|
121
220
|
});
|
|
122
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* Initiate Connect Request
|
|
224
|
+
* Initiate an OAuth connection request for an application
|
|
225
|
+
* @param organizationId
|
|
226
|
+
* @param requestBody
|
|
227
|
+
* @returns ConnectRequestResponseSchema Successful Response
|
|
228
|
+
* @throws ApiError
|
|
229
|
+
*/
|
|
230
|
+
static integrationConnectRequestCreate(organizationId, requestBody) {
|
|
231
|
+
return __request(OpenAPI, {
|
|
232
|
+
method: 'POST',
|
|
233
|
+
url: '/organizations/{organization_id}/integrations/connect-requests',
|
|
234
|
+
path: {
|
|
235
|
+
'organization_id': organizationId,
|
|
236
|
+
},
|
|
237
|
+
body: requestBody,
|
|
238
|
+
mediaType: 'application/json',
|
|
239
|
+
errors: {
|
|
240
|
+
422: `Validation Error`,
|
|
241
|
+
},
|
|
242
|
+
});
|
|
243
|
+
}
|
|
123
244
|
}
|
|
@@ -108,6 +108,14 @@ export declare class OrganizationsService {
|
|
|
108
108
|
* @throws ApiError
|
|
109
109
|
*/
|
|
110
110
|
static orgInvitationInvite(orgId: string, requestBody: OrganizationInvitationRequest): CancelablePromise<OrganizationInvitationResponse>;
|
|
111
|
+
/**
|
|
112
|
+
* Join Auto-Join Organization
|
|
113
|
+
* Join an organization when the current user's email domain is allowed to auto-join
|
|
114
|
+
* @param orgId
|
|
115
|
+
* @returns OrganizationResponse Successful Response
|
|
116
|
+
* @throws ApiError
|
|
117
|
+
*/
|
|
118
|
+
static orgJoinAutoJoin(orgId: string): CancelablePromise<OrganizationResponse>;
|
|
111
119
|
/**
|
|
112
120
|
* List Organization Members
|
|
113
121
|
* Get all members of an organization
|
|
@@ -229,6 +229,25 @@ export class OrganizationsService {
|
|
|
229
229
|
},
|
|
230
230
|
});
|
|
231
231
|
}
|
|
232
|
+
/**
|
|
233
|
+
* Join Auto-Join Organization
|
|
234
|
+
* Join an organization when the current user's email domain is allowed to auto-join
|
|
235
|
+
* @param orgId
|
|
236
|
+
* @returns OrganizationResponse Successful Response
|
|
237
|
+
* @throws ApiError
|
|
238
|
+
*/
|
|
239
|
+
static orgJoinAutoJoin(orgId) {
|
|
240
|
+
return __request(OpenAPI, {
|
|
241
|
+
method: 'POST',
|
|
242
|
+
url: '/organizations/{org_id}/join',
|
|
243
|
+
path: {
|
|
244
|
+
'org_id': orgId,
|
|
245
|
+
},
|
|
246
|
+
errors: {
|
|
247
|
+
422: `Validation Error`,
|
|
248
|
+
},
|
|
249
|
+
});
|
|
250
|
+
}
|
|
232
251
|
/**
|
|
233
252
|
* List Organization Members
|
|
234
253
|
* Get all members of an organization
|
|
@@ -60,16 +60,6 @@ export declare class PodMembersService {
|
|
|
60
60
|
* @throws ApiError
|
|
61
61
|
*/
|
|
62
62
|
static podMemberGet(podId: string, podMemberId: string): CancelablePromise<PodMemberDetailResponse>;
|
|
63
|
-
/**
|
|
64
|
-
* Update Member Role
|
|
65
|
-
* Update a pod member's role
|
|
66
|
-
* @param podId
|
|
67
|
-
* @param podMemberId
|
|
68
|
-
* @param requestBody
|
|
69
|
-
* @returns PodMemberResponse Successful Response
|
|
70
|
-
* @throws ApiError
|
|
71
|
-
*/
|
|
72
|
-
static podMemberUpdateRole(podId: string, podMemberId: string, requestBody: PodMemberUpdateRoleRequest): CancelablePromise<PodMemberResponse>;
|
|
73
63
|
/**
|
|
74
64
|
* Update Member Roles
|
|
75
65
|
* Update a pod member's roles
|
|
@@ -134,30 +134,6 @@ export class PodMembersService {
|
|
|
134
134
|
},
|
|
135
135
|
});
|
|
136
136
|
}
|
|
137
|
-
/**
|
|
138
|
-
* Update Member Role
|
|
139
|
-
* Update a pod member's role
|
|
140
|
-
* @param podId
|
|
141
|
-
* @param podMemberId
|
|
142
|
-
* @param requestBody
|
|
143
|
-
* @returns PodMemberResponse Successful Response
|
|
144
|
-
* @throws ApiError
|
|
145
|
-
*/
|
|
146
|
-
static podMemberUpdateRole(podId, podMemberId, requestBody) {
|
|
147
|
-
return __request(OpenAPI, {
|
|
148
|
-
method: 'PATCH',
|
|
149
|
-
url: '/pods/{pod_id}/members/{pod_member_id}/role',
|
|
150
|
-
path: {
|
|
151
|
-
'pod_id': podId,
|
|
152
|
-
'pod_member_id': podMemberId,
|
|
153
|
-
},
|
|
154
|
-
body: requestBody,
|
|
155
|
-
mediaType: 'application/json',
|
|
156
|
-
errors: {
|
|
157
|
-
422: `Validation Error`,
|
|
158
|
-
},
|
|
159
|
-
});
|
|
160
|
-
}
|
|
161
137
|
/**
|
|
162
138
|
* Update Member Roles
|
|
163
139
|
* Update a pod member's roles
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { PodEffectivePermissionsResponse } from '../models/PodEffectivePermissionsResponse.js';
|
|
2
|
+
import type { PodPermissionCatalogResponse } from '../models/PodPermissionCatalogResponse.js';
|
|
3
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
4
|
+
export declare class PodPermissionsService {
|
|
5
|
+
/**
|
|
6
|
+
* Get Pod Permission Catalog
|
|
7
|
+
* @param podId
|
|
8
|
+
* @returns PodPermissionCatalogResponse Successful Response
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static podPermissionsCatalog(podId: string): CancelablePromise<PodPermissionCatalogResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* Get My Pod Permissions
|
|
14
|
+
* @param podId
|
|
15
|
+
* @returns PodEffectivePermissionsResponse Successful Response
|
|
16
|
+
* @throws ApiError
|
|
17
|
+
*/
|
|
18
|
+
static podPermissionsMe(podId: string): CancelablePromise<PodEffectivePermissionsResponse>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class PodPermissionsService {
|
|
4
|
+
/**
|
|
5
|
+
* Get Pod Permission Catalog
|
|
6
|
+
* @param podId
|
|
7
|
+
* @returns PodPermissionCatalogResponse Successful Response
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static podPermissionsCatalog(podId) {
|
|
11
|
+
return __request(OpenAPI, {
|
|
12
|
+
method: 'GET',
|
|
13
|
+
url: '/pods/{pod_id}/permissions/catalog',
|
|
14
|
+
path: {
|
|
15
|
+
'pod_id': podId,
|
|
16
|
+
},
|
|
17
|
+
errors: {
|
|
18
|
+
422: `Validation Error`,
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Get My Pod Permissions
|
|
24
|
+
* @param podId
|
|
25
|
+
* @returns PodEffectivePermissionsResponse Successful Response
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static podPermissionsMe(podId) {
|
|
29
|
+
return __request(OpenAPI, {
|
|
30
|
+
method: 'GET',
|
|
31
|
+
url: '/pods/{pod_id}/permissions/me',
|
|
32
|
+
path: {
|
|
33
|
+
'pod_id': podId,
|
|
34
|
+
},
|
|
35
|
+
errors: {
|
|
36
|
+
422: `Validation Error`,
|
|
37
|
+
},
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ResourceAccessGrantRequest } from '../models/ResourceAccessGrantRequest.js';
|
|
2
|
+
import type { ResourceAccessResponse } from '../models/ResourceAccessResponse.js';
|
|
3
|
+
import type { ResourceType } from '../models/ResourceType.js';
|
|
4
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
5
|
+
export declare class PodResourceAccessService {
|
|
6
|
+
/**
|
|
7
|
+
* Get Resource Access
|
|
8
|
+
* @param podId
|
|
9
|
+
* @param resourceType
|
|
10
|
+
* @param resourceId
|
|
11
|
+
* @returns ResourceAccessResponse Successful Response
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static podResourceAccessGet(podId: string, resourceType: ResourceType, resourceId: string): CancelablePromise<ResourceAccessResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Delete Resource Access Grant
|
|
17
|
+
* @param podId
|
|
18
|
+
* @param resourceType
|
|
19
|
+
* @param resourceId
|
|
20
|
+
* @param granteeType
|
|
21
|
+
* @param granteeId
|
|
22
|
+
* @returns ResourceAccessResponse Successful Response
|
|
23
|
+
* @throws ApiError
|
|
24
|
+
*/
|
|
25
|
+
static podResourceAccessGrantDelete(podId: string, resourceType: ResourceType, resourceId: string, granteeType: string, granteeId: string): CancelablePromise<ResourceAccessResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Replace Resource Access Grant
|
|
28
|
+
* @param podId
|
|
29
|
+
* @param resourceType
|
|
30
|
+
* @param resourceId
|
|
31
|
+
* @param granteeType
|
|
32
|
+
* @param granteeId
|
|
33
|
+
* @param requestBody
|
|
34
|
+
* @returns ResourceAccessResponse Successful Response
|
|
35
|
+
* @throws ApiError
|
|
36
|
+
*/
|
|
37
|
+
static podResourceAccessGrantReplace(podId: string, resourceType: ResourceType, resourceId: string, granteeType: string, granteeId: string, requestBody: ResourceAccessGrantRequest): CancelablePromise<ResourceAccessResponse>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class PodResourceAccessService {
|
|
4
|
+
/**
|
|
5
|
+
* Get Resource Access
|
|
6
|
+
* @param podId
|
|
7
|
+
* @param resourceType
|
|
8
|
+
* @param resourceId
|
|
9
|
+
* @returns ResourceAccessResponse Successful Response
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static podResourceAccessGet(podId, resourceType, resourceId) {
|
|
13
|
+
return __request(OpenAPI, {
|
|
14
|
+
method: 'GET',
|
|
15
|
+
url: '/pods/{pod_id}/resources/{resource_type}/{resource_id}/access',
|
|
16
|
+
path: {
|
|
17
|
+
'pod_id': podId,
|
|
18
|
+
'resource_type': resourceType,
|
|
19
|
+
'resource_id': resourceId,
|
|
20
|
+
},
|
|
21
|
+
errors: {
|
|
22
|
+
422: `Validation Error`,
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Delete Resource Access Grant
|
|
28
|
+
* @param podId
|
|
29
|
+
* @param resourceType
|
|
30
|
+
* @param resourceId
|
|
31
|
+
* @param granteeType
|
|
32
|
+
* @param granteeId
|
|
33
|
+
* @returns ResourceAccessResponse Successful Response
|
|
34
|
+
* @throws ApiError
|
|
35
|
+
*/
|
|
36
|
+
static podResourceAccessGrantDelete(podId, resourceType, resourceId, granteeType, granteeId) {
|
|
37
|
+
return __request(OpenAPI, {
|
|
38
|
+
method: 'DELETE',
|
|
39
|
+
url: '/pods/{pod_id}/resources/{resource_type}/{resource_id}/access/grantees/{grantee_type}/{grantee_id}',
|
|
40
|
+
path: {
|
|
41
|
+
'pod_id': podId,
|
|
42
|
+
'resource_type': resourceType,
|
|
43
|
+
'resource_id': resourceId,
|
|
44
|
+
'grantee_type': granteeType,
|
|
45
|
+
'grantee_id': granteeId,
|
|
46
|
+
},
|
|
47
|
+
errors: {
|
|
48
|
+
422: `Validation Error`,
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Replace Resource Access Grant
|
|
54
|
+
* @param podId
|
|
55
|
+
* @param resourceType
|
|
56
|
+
* @param resourceId
|
|
57
|
+
* @param granteeType
|
|
58
|
+
* @param granteeId
|
|
59
|
+
* @param requestBody
|
|
60
|
+
* @returns ResourceAccessResponse Successful Response
|
|
61
|
+
* @throws ApiError
|
|
62
|
+
*/
|
|
63
|
+
static podResourceAccessGrantReplace(podId, resourceType, resourceId, granteeType, granteeId, requestBody) {
|
|
64
|
+
return __request(OpenAPI, {
|
|
65
|
+
method: 'PUT',
|
|
66
|
+
url: '/pods/{pod_id}/resources/{resource_type}/{resource_id}/access/grantees/{grantee_type}/{grantee_id}',
|
|
67
|
+
path: {
|
|
68
|
+
'pod_id': podId,
|
|
69
|
+
'resource_type': resourceType,
|
|
70
|
+
'resource_id': resourceId,
|
|
71
|
+
'grantee_type': granteeType,
|
|
72
|
+
'grantee_id': granteeId,
|
|
73
|
+
},
|
|
74
|
+
body: requestBody,
|
|
75
|
+
mediaType: 'application/json',
|
|
76
|
+
errors: {
|
|
77
|
+
422: `Validation Error`,
|
|
78
|
+
},
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
}
|