lemma-sdk 0.2.0
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 +100 -0
- package/dist/auth.d.ts +72 -0
- package/dist/auth.js +166 -0
- package/dist/browser/lemma-client.js +4020 -0
- package/dist/browser.d.ts +13 -0
- package/dist/browser.js +13 -0
- package/dist/client.d.ts +55 -0
- package/dist/client.js +92 -0
- package/dist/config.d.ts +14 -0
- package/dist/config.js +49 -0
- package/dist/generated.d.ts +8 -0
- package/dist/generated.js +51 -0
- package/dist/http.d.ts +24 -0
- package/dist/http.js +98 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +4 -0
- package/dist/namespaces/agents.d.ts +16 -0
- package/dist/namespaces/agents.js +24 -0
- package/dist/namespaces/assistants.d.ts +36 -0
- package/dist/namespaces/assistants.js +46 -0
- package/dist/namespaces/datastores.d.ts +18 -0
- package/dist/namespaces/datastores.js +28 -0
- package/dist/namespaces/desks.d.ts +28 -0
- package/dist/namespaces/desks.js +35 -0
- package/dist/namespaces/files.d.ts +40 -0
- package/dist/namespaces/files.js +61 -0
- package/dist/namespaces/functions.d.ts +25 -0
- package/dist/namespaces/functions.js +32 -0
- package/dist/namespaces/integrations.d.ts +36 -0
- package/dist/namespaces/integrations.js +37 -0
- package/dist/namespaces/records.d.ts +19 -0
- package/dist/namespaces/records.js +46 -0
- package/dist/namespaces/tables.d.ts +21 -0
- package/dist/namespaces/tables.js +31 -0
- package/dist/namespaces/tasks.d.ts +22 -0
- package/dist/namespaces/tasks.js +29 -0
- package/dist/namespaces/workflows.d.ts +35 -0
- package/dist/namespaces/workflows.js +37 -0
- package/dist/openapi_client/core/ApiError.d.ts +10 -0
- package/dist/openapi_client/core/ApiError.js +16 -0
- package/dist/openapi_client/core/ApiRequestOptions.d.ts +13 -0
- package/dist/openapi_client/core/ApiRequestOptions.js +1 -0
- package/dist/openapi_client/core/ApiResult.d.ts +7 -0
- package/dist/openapi_client/core/ApiResult.js +1 -0
- package/dist/openapi_client/core/CancelablePromise.d.ts +20 -0
- package/dist/openapi_client/core/CancelablePromise.js +99 -0
- package/dist/openapi_client/core/OpenAPI.d.ts +16 -0
- package/dist/openapi_client/core/OpenAPI.js +11 -0
- package/dist/openapi_client/core/request.d.ts +30 -0
- package/dist/openapi_client/core/request.js +275 -0
- package/dist/openapi_client/index.d.ts +247 -0
- package/dist/openapi_client/index.js +62 -0
- package/dist/openapi_client/models/AccountCredentialsResponseSchema.d.ts +11 -0
- package/dist/openapi_client/models/AccountCredentialsResponseSchema.js +1 -0
- package/dist/openapi_client/models/AccountListResponseSchema.d.ts +9 -0
- package/dist/openapi_client/models/AccountListResponseSchema.js +1 -0
- package/dist/openapi_client/models/AccountResponseSchema.d.ts +16 -0
- package/dist/openapi_client/models/AccountResponseSchema.js +1 -0
- package/dist/openapi_client/models/AddColumnRequest.d.ts +10 -0
- package/dist/openapi_client/models/AddColumnRequest.js +1 -0
- package/dist/openapi_client/models/AddMessageRequest.d.ts +6 -0
- package/dist/openapi_client/models/AddMessageRequest.js +1 -0
- package/dist/openapi_client/models/AgentListResponse.d.ts +8 -0
- package/dist/openapi_client/models/AgentListResponse.js +1 -0
- package/dist/openapi_client/models/AgentMessageResponse.d.ts +6 -0
- package/dist/openapi_client/models/AgentMessageResponse.js +1 -0
- package/dist/openapi_client/models/AgentNode.d.ts +11 -0
- package/dist/openapi_client/models/AgentNode.js +1 -0
- package/dist/openapi_client/models/AgentNodeConfig.d.ts +15 -0
- package/dist/openapi_client/models/AgentNodeConfig.js +1 -0
- package/dist/openapi_client/models/AgentResponse.d.ts +21 -0
- package/dist/openapi_client/models/AgentResponse.js +1 -0
- package/dist/openapi_client/models/ApiKeyCredentialsResponseSchema.d.ts +7 -0
- package/dist/openapi_client/models/ApiKeyCredentialsResponseSchema.js +1 -0
- package/dist/openapi_client/models/AppDescriptorResponse.d.ts +5 -0
- package/dist/openapi_client/models/AppDescriptorResponse.js +1 -0
- package/dist/openapi_client/models/AppTriggerListResponseSchema.d.ts +9 -0
- package/dist/openapi_client/models/AppTriggerListResponseSchema.js +1 -0
- package/dist/openapi_client/models/AppTriggerResponseSchema.d.ts +13 -0
- package/dist/openapi_client/models/AppTriggerResponseSchema.js +1 -0
- package/dist/openapi_client/models/ApplicationAccessConfig.d.ts +20 -0
- package/dist/openapi_client/models/ApplicationAccessConfig.js +1 -0
- package/dist/openapi_client/models/ApplicationDetailResponseSchema.d.ts +17 -0
- package/dist/openapi_client/models/ApplicationDetailResponseSchema.js +1 -0
- package/dist/openapi_client/models/ApplicationListResponseSchema.d.ts +9 -0
- package/dist/openapi_client/models/ApplicationListResponseSchema.js +1 -0
- package/dist/openapi_client/models/ApplicationMode.d.ts +7 -0
- package/dist/openapi_client/models/ApplicationMode.js +12 -0
- package/dist/openapi_client/models/ApplicationResponseSchema.d.ts +15 -0
- package/dist/openapi_client/models/ApplicationResponseSchema.js +1 -0
- package/dist/openapi_client/models/AssistantListResponse.d.ts +6 -0
- package/dist/openapi_client/models/AssistantListResponse.js +1 -0
- package/dist/openapi_client/models/AssistantResponse.d.ts +19 -0
- package/dist/openapi_client/models/AssistantResponse.js +1 -0
- package/dist/openapi_client/models/AssistantSurfaceListResponse.d.ts +6 -0
- package/dist/openapi_client/models/AssistantSurfaceListResponse.js +1 -0
- package/dist/openapi_client/models/AssistantSurfaceResponse.d.ts +9 -0
- package/dist/openapi_client/models/AssistantSurfaceResponse.js +1 -0
- package/dist/openapi_client/models/AvailableModels.d.ts +11 -0
- package/dist/openapi_client/models/AvailableModels.js +16 -0
- package/dist/openapi_client/models/BillingInterval.d.ts +7 -0
- package/dist/openapi_client/models/BillingInterval.js +12 -0
- package/dist/openapi_client/models/Body_file_update.d.ts +7 -0
- package/dist/openapi_client/models/Body_file_update.js +1 -0
- package/dist/openapi_client/models/Body_file_upload.d.ts +7 -0
- package/dist/openapi_client/models/Body_file_upload.js +1 -0
- package/dist/openapi_client/models/Body_icon_upload.d.ts +3 -0
- package/dist/openapi_client/models/Body_icon_upload.js +1 -0
- package/dist/openapi_client/models/Body_pod_desk_bundle_upload.d.ts +4 -0
- package/dist/openapi_client/models/Body_pod_desk_bundle_upload.js +1 -0
- package/dist/openapi_client/models/Body_upload_file_files__resource_type___resource_id__upload_post.d.ts +3 -0
- package/dist/openapi_client/models/Body_upload_file_files__resource_type___resource_id__upload_post.js +1 -0
- package/dist/openapi_client/models/BulkCreateRecordsRequest.d.ts +9 -0
- package/dist/openapi_client/models/BulkCreateRecordsRequest.js +1 -0
- package/dist/openapi_client/models/BulkDeleteRecordsRequest.d.ts +9 -0
- package/dist/openapi_client/models/BulkDeleteRecordsRequest.js +1 -0
- package/dist/openapi_client/models/BulkUpdateRecordsRequest.d.ts +9 -0
- package/dist/openapi_client/models/BulkUpdateRecordsRequest.js +1 -0
- package/dist/openapi_client/models/CancelSubscriptionResponse.d.ts +10 -0
- package/dist/openapi_client/models/CancelSubscriptionResponse.js +1 -0
- package/dist/openapi_client/models/ColumnSchema.d.ts +59 -0
- package/dist/openapi_client/models/ColumnSchema.js +1 -0
- package/dist/openapi_client/models/ConnectRequestInitiateSchema.d.ts +9 -0
- package/dist/openapi_client/models/ConnectRequestInitiateSchema.js +1 -0
- package/dist/openapi_client/models/ConnectRequestResponseSchema.d.ts +13 -0
- package/dist/openapi_client/models/ConnectRequestResponseSchema.js +1 -0
- package/dist/openapi_client/models/ConversationListResponse.d.ts +6 -0
- package/dist/openapi_client/models/ConversationListResponse.js +1 -0
- package/dist/openapi_client/models/ConversationMessageListResponse.d.ts +6 -0
- package/dist/openapi_client/models/ConversationMessageListResponse.js +1 -0
- package/dist/openapi_client/models/ConversationMessageResponse.d.ts +15 -0
- package/dist/openapi_client/models/ConversationMessageResponse.js +1 -0
- package/dist/openapi_client/models/ConversationResponse.d.ts +22 -0
- package/dist/openapi_client/models/ConversationResponse.js +1 -0
- package/dist/openapi_client/models/ConversationStatus.d.ts +7 -0
- package/dist/openapi_client/models/ConversationStatus.js +12 -0
- package/dist/openapi_client/models/CreateAgentRequest.d.ts +16 -0
- package/dist/openapi_client/models/CreateAgentRequest.js +1 -0
- package/dist/openapi_client/models/CreateAssistantRequest.d.ts +14 -0
- package/dist/openapi_client/models/CreateAssistantRequest.js +1 -0
- package/dist/openapi_client/models/CreateConversationRequest.d.ts +11 -0
- package/dist/openapi_client/models/CreateConversationRequest.js +1 -0
- package/dist/openapi_client/models/CreateDatastoreRequest.d.ts +21 -0
- package/dist/openapi_client/models/CreateDatastoreRequest.js +1 -0
- package/dist/openapi_client/models/CreateDeskRequest.d.ts +6 -0
- package/dist/openapi_client/models/CreateDeskRequest.js +1 -0
- package/dist/openapi_client/models/CreateFolderRequest.d.ts +5 -0
- package/dist/openapi_client/models/CreateFolderRequest.js +1 -0
- package/dist/openapi_client/models/CreateFunctionRequest.d.ts +16 -0
- package/dist/openapi_client/models/CreateFunctionRequest.js +1 -0
- package/dist/openapi_client/models/CreateMessageRequest.d.ts +6 -0
- package/dist/openapi_client/models/CreateMessageRequest.js +1 -0
- package/dist/openapi_client/models/CreateRecordRequest.d.ts +9 -0
- package/dist/openapi_client/models/CreateRecordRequest.js +1 -0
- package/dist/openapi_client/models/CreateSurfaceRequest.d.ts +8 -0
- package/dist/openapi_client/models/CreateSurfaceRequest.js +1 -0
- package/dist/openapi_client/models/CreateTableRequest.d.ts +26 -0
- package/dist/openapi_client/models/CreateTableRequest.js +1 -0
- package/dist/openapi_client/models/CreateTaskRequest.d.ts +10 -0
- package/dist/openapi_client/models/CreateTaskRequest.js +1 -0
- package/dist/openapi_client/models/CreateTriggerRequest.d.ts +14 -0
- package/dist/openapi_client/models/CreateTriggerRequest.js +1 -0
- package/dist/openapi_client/models/CredentialTypes.d.ts +7 -0
- package/dist/openapi_client/models/CredentialTypes.js +12 -0
- package/dist/openapi_client/models/DataStoreFlowStart.d.ts +14 -0
- package/dist/openapi_client/models/DataStoreFlowStart.js +1 -0
- package/dist/openapi_client/models/DatastoreDataType.d.ts +16 -0
- package/dist/openapi_client/models/DatastoreDataType.js +21 -0
- package/dist/openapi_client/models/DatastoreListResponse.d.ts +9 -0
- package/dist/openapi_client/models/DatastoreListResponse.js +1 -0
- package/dist/openapi_client/models/DatastoreMessageResponse.d.ts +6 -0
- package/dist/openapi_client/models/DatastoreMessageResponse.js +1 -0
- package/dist/openapi_client/models/DatastoreQueryRequest.d.ts +9 -0
- package/dist/openapi_client/models/DatastoreQueryRequest.js +1 -0
- package/dist/openapi_client/models/DatastoreResponse.d.ts +15 -0
- package/dist/openapi_client/models/DatastoreResponse.js +1 -0
- package/dist/openapi_client/models/DecisionNode.d.ts +11 -0
- package/dist/openapi_client/models/DecisionNode.js +1 -0
- package/dist/openapi_client/models/DecisionNodeConfig.d.ts +7 -0
- package/dist/openapi_client/models/DecisionNodeConfig.js +1 -0
- package/dist/openapi_client/models/DecisionRule.d.ts +4 -0
- package/dist/openapi_client/models/DecisionRule.js +1 -0
- package/dist/openapi_client/models/DeskBundleUploadResponse.d.ts +5 -0
- package/dist/openapi_client/models/DeskBundleUploadResponse.js +1 -0
- package/dist/openapi_client/models/DeskListResponse.d.ts +6 -0
- package/dist/openapi_client/models/DeskListResponse.js +1 -0
- package/dist/openapi_client/models/DeskMessageResponse.d.ts +3 -0
- package/dist/openapi_client/models/DeskMessageResponse.js +1 -0
- package/dist/openapi_client/models/DeskResponse.d.ts +15 -0
- package/dist/openapi_client/models/DeskResponse.js +1 -0
- package/dist/openapi_client/models/DeskStatus.d.ts +4 -0
- package/dist/openapi_client/models/DeskStatus.js +9 -0
- package/dist/openapi_client/models/EmailSurfaceConfigCreate.d.ts +5 -0
- package/dist/openapi_client/models/EmailSurfaceConfigCreate.js +1 -0
- package/dist/openapi_client/models/EndNode.d.ts +11 -0
- package/dist/openapi_client/models/EndNode.js +1 -0
- package/dist/openapi_client/models/EndNodeConfig.d.ts +4 -0
- package/dist/openapi_client/models/EndNodeConfig.js +1 -0
- package/dist/openapi_client/models/EventFlowStart.d.ts +19 -0
- package/dist/openapi_client/models/EventFlowStart.js +1 -0
- package/dist/openapi_client/models/ExecuteFunctionRequest.d.ts +6 -0
- package/dist/openapi_client/models/ExecuteFunctionRequest.js +1 -0
- package/dist/openapi_client/models/ExpressionInputBinding.d.ts +10 -0
- package/dist/openapi_client/models/ExpressionInputBinding.js +1 -0
- package/dist/openapi_client/models/FileInfo.d.ts +14 -0
- package/dist/openapi_client/models/FileInfo.js +8 -0
- package/dist/openapi_client/models/FileListResponse.d.ts +6 -0
- package/dist/openapi_client/models/FileListResponse.js +1 -0
- package/dist/openapi_client/models/FileResponse.d.ts +18 -0
- package/dist/openapi_client/models/FileResponse.js +1 -0
- package/dist/openapi_client/models/FileSearchRequest.d.ts +10 -0
- package/dist/openapi_client/models/FileSearchRequest.js +1 -0
- package/dist/openapi_client/models/FileSearchResponse.d.ts +8 -0
- package/dist/openapi_client/models/FileSearchResponse.js +1 -0
- package/dist/openapi_client/models/FileSearchResultSchema.d.ts +7 -0
- package/dist/openapi_client/models/FileSearchResultSchema.js +1 -0
- package/dist/openapi_client/models/FileUploadResponse.d.ts +6 -0
- package/dist/openapi_client/models/FileUploadResponse.js +1 -0
- package/dist/openapi_client/models/FlowEntity.d.ts +26 -0
- package/dist/openapi_client/models/FlowEntity.js +1 -0
- package/dist/openapi_client/models/FlowInstallEntity.d.ts +16 -0
- package/dist/openapi_client/models/FlowInstallEntity.js +1 -0
- package/dist/openapi_client/models/FlowRunEntity.d.ts +24 -0
- package/dist/openapi_client/models/FlowRunEntity.js +1 -0
- package/dist/openapi_client/models/FlowRunStatus.d.ts +12 -0
- package/dist/openapi_client/models/FlowRunStatus.js +17 -0
- package/dist/openapi_client/models/FlowStart.d.ts +14 -0
- package/dist/openapi_client/models/FlowStart.js +1 -0
- package/dist/openapi_client/models/FlowStartType.d.ts +6 -0
- package/dist/openapi_client/models/FlowStartType.js +11 -0
- package/dist/openapi_client/models/ForeignKeySpec.d.ts +9 -0
- package/dist/openapi_client/models/ForeignKeySpec.js +1 -0
- package/dist/openapi_client/models/FormNode.d.ts +11 -0
- package/dist/openapi_client/models/FormNode.js +1 -0
- package/dist/openapi_client/models/FormNodeConfig.d.ts +13 -0
- package/dist/openapi_client/models/FormNodeConfig.js +1 -0
- package/dist/openapi_client/models/FunctionListResponse.d.ts +9 -0
- package/dist/openapi_client/models/FunctionListResponse.js +1 -0
- package/dist/openapi_client/models/FunctionMessageResponse.d.ts +6 -0
- package/dist/openapi_client/models/FunctionMessageResponse.js +1 -0
- package/dist/openapi_client/models/FunctionNode.d.ts +11 -0
- package/dist/openapi_client/models/FunctionNode.js +1 -0
- package/dist/openapi_client/models/FunctionNodeConfig.d.ts +15 -0
- package/dist/openapi_client/models/FunctionNodeConfig.js +1 -0
- package/dist/openapi_client/models/FunctionResponse.d.ts +24 -0
- package/dist/openapi_client/models/FunctionResponse.js +1 -0
- package/dist/openapi_client/models/FunctionRunListResponse.d.ts +9 -0
- package/dist/openapi_client/models/FunctionRunListResponse.js +1 -0
- package/dist/openapi_client/models/FunctionRunResponse.d.ts +17 -0
- package/dist/openapi_client/models/FunctionRunResponse.js +1 -0
- package/dist/openapi_client/models/FunctionRunStatus.d.ts +10 -0
- package/dist/openapi_client/models/FunctionRunStatus.js +15 -0
- package/dist/openapi_client/models/FunctionStatus.d.ts +9 -0
- package/dist/openapi_client/models/FunctionStatus.js +14 -0
- package/dist/openapi_client/models/HTTPValidationError.d.ts +4 -0
- package/dist/openapi_client/models/HTTPValidationError.js +1 -0
- package/dist/openapi_client/models/IconUploadResponse.d.ts +8 -0
- package/dist/openapi_client/models/IconUploadResponse.js +1 -0
- package/dist/openapi_client/models/LiteralInputBinding.d.ts +10 -0
- package/dist/openapi_client/models/LiteralInputBinding.js +1 -0
- package/dist/openapi_client/models/LoopNode.d.ts +11 -0
- package/dist/openapi_client/models/LoopNode.js +1 -0
- package/dist/openapi_client/models/LoopNodeConfig.d.ts +17 -0
- package/dist/openapi_client/models/LoopNodeConfig.js +1 -0
- package/dist/openapi_client/models/MessageResponseSchema.d.ts +7 -0
- package/dist/openapi_client/models/MessageResponseSchema.js +1 -0
- package/dist/openapi_client/models/NotificationContent.d.ts +4 -0
- package/dist/openapi_client/models/NotificationContent.js +1 -0
- package/dist/openapi_client/models/OauthCredentialsResponseSchema.d.ts +7 -0
- package/dist/openapi_client/models/OauthCredentialsResponseSchema.js +1 -0
- package/dist/openapi_client/models/OperationDetail.d.ts +6 -0
- package/dist/openapi_client/models/OperationDetail.js +1 -0
- package/dist/openapi_client/models/OperationExecutionRequest.d.ts +4 -0
- package/dist/openapi_client/models/OperationExecutionRequest.js +1 -0
- package/dist/openapi_client/models/OperationExecutionResponse.d.ts +3 -0
- package/dist/openapi_client/models/OperationExecutionResponse.js +1 -0
- package/dist/openapi_client/models/OperationListResponse.d.ts +6 -0
- package/dist/openapi_client/models/OperationListResponse.js +1 -0
- package/dist/openapi_client/models/OperationSummary.d.ts +4 -0
- package/dist/openapi_client/models/OperationSummary.js +1 -0
- package/dist/openapi_client/models/OrganizationCreateRequest.d.ts +6 -0
- package/dist/openapi_client/models/OrganizationCreateRequest.js +1 -0
- package/dist/openapi_client/models/OrganizationInvitationListResponse.d.ts +9 -0
- package/dist/openapi_client/models/OrganizationInvitationListResponse.js +1 -0
- package/dist/openapi_client/models/OrganizationInvitationRequest.d.ts +8 -0
- package/dist/openapi_client/models/OrganizationInvitationRequest.js +1 -0
- package/dist/openapi_client/models/OrganizationInvitationResponse.d.ts +17 -0
- package/dist/openapi_client/models/OrganizationInvitationResponse.js +1 -0
- package/dist/openapi_client/models/OrganizationInvitationStatus.d.ts +9 -0
- package/dist/openapi_client/models/OrganizationInvitationStatus.js +14 -0
- package/dist/openapi_client/models/OrganizationListResponse.d.ts +9 -0
- package/dist/openapi_client/models/OrganizationListResponse.js +1 -0
- package/dist/openapi_client/models/OrganizationMemberListResponse.d.ts +9 -0
- package/dist/openapi_client/models/OrganizationMemberListResponse.js +1 -0
- package/dist/openapi_client/models/OrganizationMemberResponse.d.ts +14 -0
- package/dist/openapi_client/models/OrganizationMemberResponse.js +1 -0
- package/dist/openapi_client/models/OrganizationMessageResponse.d.ts +7 -0
- package/dist/openapi_client/models/OrganizationMessageResponse.js +1 -0
- package/dist/openapi_client/models/OrganizationResponse.d.ts +10 -0
- package/dist/openapi_client/models/OrganizationResponse.js +1 -0
- package/dist/openapi_client/models/OrganizationRole.d.ts +8 -0
- package/dist/openapi_client/models/OrganizationRole.js +13 -0
- package/dist/openapi_client/models/PlanListResponse.d.ts +8 -0
- package/dist/openapi_client/models/PlanListResponse.js +1 -0
- package/dist/openapi_client/models/PlanResponse.d.ts +17 -0
- package/dist/openapi_client/models/PlanResponse.js +1 -0
- package/dist/openapi_client/models/PodAppConfigItem.d.ts +8 -0
- package/dist/openapi_client/models/PodAppConfigItem.js +1 -0
- package/dist/openapi_client/models/PodAppMode.d.ts +5 -0
- package/dist/openapi_client/models/PodAppMode.js +10 -0
- package/dist/openapi_client/models/PodConfigResponse.d.ts +6 -0
- package/dist/openapi_client/models/PodConfigResponse.js +1 -0
- package/dist/openapi_client/models/PodCreateRequest.d.ts +13 -0
- package/dist/openapi_client/models/PodCreateRequest.js +1 -0
- package/dist/openapi_client/models/PodFlowConfigItem.d.ts +7 -0
- package/dist/openapi_client/models/PodFlowConfigItem.js +1 -0
- package/dist/openapi_client/models/PodListResponse.d.ts +10 -0
- package/dist/openapi_client/models/PodListResponse.js +1 -0
- package/dist/openapi_client/models/PodMemberAddRequest.d.ts +8 -0
- package/dist/openapi_client/models/PodMemberAddRequest.js +1 -0
- package/dist/openapi_client/models/PodMemberListResponse.d.ts +10 -0
- package/dist/openapi_client/models/PodMemberListResponse.js +1 -0
- package/dist/openapi_client/models/PodMemberResponse.d.ts +12 -0
- package/dist/openapi_client/models/PodMemberResponse.js +1 -0
- package/dist/openapi_client/models/PodMemberUpdateRoleRequest.d.ts +7 -0
- package/dist/openapi_client/models/PodMemberUpdateRoleRequest.js +1 -0
- package/dist/openapi_client/models/PodPermissionsResponse.d.ts +4 -0
- package/dist/openapi_client/models/PodPermissionsResponse.js +1 -0
- package/dist/openapi_client/models/PodResponse.d.ts +18 -0
- package/dist/openapi_client/models/PodResponse.js +1 -0
- package/dist/openapi_client/models/PodRole.d.ts +9 -0
- package/dist/openapi_client/models/PodRole.js +14 -0
- package/dist/openapi_client/models/PodStatus.d.ts +4 -0
- package/dist/openapi_client/models/PodStatus.js +9 -0
- package/dist/openapi_client/models/PodType.d.ts +6 -0
- package/dist/openapi_client/models/PodType.js +11 -0
- package/dist/openapi_client/models/PodUpdateRequest.d.ts +12 -0
- package/dist/openapi_client/models/PodUpdateRequest.js +1 -0
- package/dist/openapi_client/models/RecentUsageResponse.d.ts +9 -0
- package/dist/openapi_client/models/RecentUsageResponse.js +1 -0
- package/dist/openapi_client/models/RecordFilter.d.ts +15 -0
- package/dist/openapi_client/models/RecordFilter.js +1 -0
- package/dist/openapi_client/models/RecordFilterOperator.d.ts +10 -0
- package/dist/openapi_client/models/RecordFilterOperator.js +15 -0
- package/dist/openapi_client/models/RecordListResponse.d.ts +9 -0
- package/dist/openapi_client/models/RecordListResponse.js +1 -0
- package/dist/openapi_client/models/RecordQueryRequest.d.ts +20 -0
- package/dist/openapi_client/models/RecordQueryRequest.js +1 -0
- package/dist/openapi_client/models/RecordQueryResponse.d.ts +13 -0
- package/dist/openapi_client/models/RecordQueryResponse.js +1 -0
- package/dist/openapi_client/models/RecordResponse.d.ts +9 -0
- package/dist/openapi_client/models/RecordResponse.js +1 -0
- package/dist/openapi_client/models/RecordSort.d.ts +11 -0
- package/dist/openapi_client/models/RecordSort.js +1 -0
- package/dist/openapi_client/models/RecordSortDirection.d.ts +4 -0
- package/dist/openapi_client/models/RecordSortDirection.js +9 -0
- package/dist/openapi_client/models/ResourceFileListResponse.d.ts +6 -0
- package/dist/openapi_client/models/ResourceFileListResponse.js +1 -0
- package/dist/openapi_client/models/ResourceType.d.ts +5 -0
- package/dist/openapi_client/models/ResourceType.js +10 -0
- package/dist/openapi_client/models/ScheduledFlowStart.d.ts +10 -0
- package/dist/openapi_client/models/ScheduledFlowStart.js +1 -0
- package/dist/openapi_client/models/SearchMethod.d.ts +5 -0
- package/dist/openapi_client/models/SearchMethod.js +10 -0
- package/dist/openapi_client/models/SearchResult.d.ts +7 -0
- package/dist/openapi_client/models/SearchResult.js +1 -0
- package/dist/openapi_client/models/SeatInfoResponse.d.ts +10 -0
- package/dist/openapi_client/models/SeatInfoResponse.js +1 -0
- package/dist/openapi_client/models/SlackSurfaceConfigCreate.d.ts +6 -0
- package/dist/openapi_client/models/SlackSurfaceConfigCreate.js +1 -0
- package/dist/openapi_client/models/StackFrame.d.ts +11 -0
- package/dist/openapi_client/models/StackFrame.js +1 -0
- package/dist/openapi_client/models/StartSubscriptionRequest.d.ts +14 -0
- package/dist/openapi_client/models/StartSubscriptionRequest.js +1 -0
- package/dist/openapi_client/models/StartSubscriptionResponse.d.ts +7 -0
- package/dist/openapi_client/models/StartSubscriptionResponse.js +1 -0
- package/dist/openapi_client/models/StepExecution.d.ts +13 -0
- package/dist/openapi_client/models/StepExecution.js +1 -0
- package/dist/openapi_client/models/SubscriptionStatus.d.ts +10 -0
- package/dist/openapi_client/models/SubscriptionStatus.js +15 -0
- package/dist/openapi_client/models/SubscriptionStatusResponse.d.ts +10 -0
- package/dist/openapi_client/models/SubscriptionStatusResponse.js +1 -0
- package/dist/openapi_client/models/SubscriptionWithPlanResponse.d.ts +19 -0
- package/dist/openapi_client/models/SubscriptionWithPlanResponse.js +1 -0
- package/dist/openapi_client/models/TableListResponse.d.ts +8 -0
- package/dist/openapi_client/models/TableListResponse.js +1 -0
- package/dist/openapi_client/models/TableResponse.d.ts +15 -0
- package/dist/openapi_client/models/TableResponse.js +1 -0
- package/dist/openapi_client/models/TaskListResponse.d.ts +9 -0
- package/dist/openapi_client/models/TaskListResponse.js +1 -0
- package/dist/openapi_client/models/TaskMessageListResponse.d.ts +9 -0
- package/dist/openapi_client/models/TaskMessageListResponse.js +1 -0
- package/dist/openapi_client/models/TaskMessageResponse.d.ts +15 -0
- package/dist/openapi_client/models/TaskMessageResponse.js +1 -0
- package/dist/openapi_client/models/TaskResponse.d.ts +16 -0
- package/dist/openapi_client/models/TaskResponse.js +1 -0
- package/dist/openapi_client/models/TaskStatus.d.ts +12 -0
- package/dist/openapi_client/models/TaskStatus.js +17 -0
- package/dist/openapi_client/models/TeamsSurfaceConfigCreate.d.ts +6 -0
- package/dist/openapi_client/models/TeamsSurfaceConfigCreate.js +1 -0
- package/dist/openapi_client/models/TextContent.d.ts +4 -0
- package/dist/openapi_client/models/TextContent.js +1 -0
- package/dist/openapi_client/models/ThinkingContent.d.ts +4 -0
- package/dist/openapi_client/models/ThinkingContent.js +1 -0
- package/dist/openapi_client/models/ToggleSurfaceRequest.d.ts +3 -0
- package/dist/openapi_client/models/ToggleSurfaceRequest.js +1 -0
- package/dist/openapi_client/models/ToolCallRequest.d.ts +6 -0
- package/dist/openapi_client/models/ToolCallRequest.js +1 -0
- package/dist/openapi_client/models/ToolCallResponse.d.ts +5 -0
- package/dist/openapi_client/models/ToolCallResponse.js +1 -0
- package/dist/openapi_client/models/ToolSet.d.ts +14 -0
- package/dist/openapi_client/models/ToolSet.js +19 -0
- package/dist/openapi_client/models/TriggerListResponse.d.ts +9 -0
- package/dist/openapi_client/models/TriggerListResponse.js +1 -0
- package/dist/openapi_client/models/TriggerResponse.d.ts +20 -0
- package/dist/openapi_client/models/TriggerResponse.js +1 -0
- package/dist/openapi_client/models/TriggerType.d.ts +8 -0
- package/dist/openapi_client/models/TriggerType.js +13 -0
- package/dist/openapi_client/models/UpdateAgentRequest.d.ts +15 -0
- package/dist/openapi_client/models/UpdateAgentRequest.js +1 -0
- package/dist/openapi_client/models/UpdateAssistantRequest.d.ts +13 -0
- package/dist/openapi_client/models/UpdateAssistantRequest.js +1 -0
- package/dist/openapi_client/models/UpdateConversationRequest.d.ts +8 -0
- package/dist/openapi_client/models/UpdateConversationRequest.js +1 -0
- package/dist/openapi_client/models/UpdateDatastoreRequest.d.ts +17 -0
- package/dist/openapi_client/models/UpdateDatastoreRequest.js +1 -0
- package/dist/openapi_client/models/UpdateDeskRequest.d.ts +4 -0
- package/dist/openapi_client/models/UpdateDeskRequest.js +1 -0
- package/dist/openapi_client/models/UpdateFunctionRequest.d.ts +12 -0
- package/dist/openapi_client/models/UpdateFunctionRequest.js +1 -0
- package/dist/openapi_client/models/UpdateMemberRoleRequest.d.ts +7 -0
- package/dist/openapi_client/models/UpdateMemberRoleRequest.js +1 -0
- package/dist/openapi_client/models/UpdateRecordRequest.d.ts +9 -0
- package/dist/openapi_client/models/UpdateRecordRequest.js +1 -0
- package/dist/openapi_client/models/UpdateSurfaceRequest.d.ts +7 -0
- package/dist/openapi_client/models/UpdateSurfaceRequest.js +1 -0
- package/dist/openapi_client/models/UpdateTableRequest.d.ts +9 -0
- package/dist/openapi_client/models/UpdateTableRequest.js +1 -0
- package/dist/openapi_client/models/UpdateTriggerRequest.d.ts +9 -0
- package/dist/openapi_client/models/UpdateTriggerRequest.js +1 -0
- package/dist/openapi_client/models/UsageRecordResponse.d.ts +21 -0
- package/dist/openapi_client/models/UsageRecordResponse.js +1 -0
- package/dist/openapi_client/models/UsageSummaryResponse.d.ts +16 -0
- package/dist/openapi_client/models/UsageSummaryResponse.js +1 -0
- package/dist/openapi_client/models/UserProfileRequest.d.ts +11 -0
- package/dist/openapi_client/models/UserProfileRequest.js +1 -0
- package/dist/openapi_client/models/UserResponse.d.ts +18 -0
- package/dist/openapi_client/models/UserResponse.js +1 -0
- package/dist/openapi_client/models/ValidationError.d.ts +5 -0
- package/dist/openapi_client/models/ValidationError.js +1 -0
- package/dist/openapi_client/models/VerifyTokenResponse.d.ts +4 -0
- package/dist/openapi_client/models/VerifyTokenResponse.js +1 -0
- package/dist/openapi_client/models/WaitUntilNode.d.ts +11 -0
- package/dist/openapi_client/models/WaitUntilNode.js +1 -0
- package/dist/openapi_client/models/WaitUntilNodeConfig.d.ts +3 -0
- package/dist/openapi_client/models/WaitUntilNodeConfig.js +1 -0
- package/dist/openapi_client/models/WebSearchAgentRequest.d.ts +9 -0
- package/dist/openapi_client/models/WebSearchAgentRequest.js +1 -0
- package/dist/openapi_client/models/WebSearchAgentResponse.d.ts +25 -0
- package/dist/openapi_client/models/WebSearchAgentResponse.js +1 -0
- package/dist/openapi_client/models/WebSearchRequest.d.ts +13 -0
- package/dist/openapi_client/models/WebSearchRequest.js +1 -0
- package/dist/openapi_client/models/WebSearchResponse.d.ts +22 -0
- package/dist/openapi_client/models/WebSearchResponse.js +1 -0
- package/dist/openapi_client/models/WhatsAppSurfaceConfigCreate.d.ts +5 -0
- package/dist/openapi_client/models/WhatsAppSurfaceConfigCreate.js +1 -0
- package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +23 -0
- package/dist/openapi_client/models/WorkflowCreateRequest.js +1 -0
- package/dist/openapi_client/models/WorkflowEdge.d.ts +9 -0
- package/dist/openapi_client/models/WorkflowEdge.js +1 -0
- package/dist/openapi_client/models/WorkflowGraphUpdateRequest.d.ts +26 -0
- package/dist/openapi_client/models/WorkflowGraphUpdateRequest.js +1 -0
- package/dist/openapi_client/models/WorkflowInstallRequest.d.ts +6 -0
- package/dist/openapi_client/models/WorkflowInstallRequest.js +1 -0
- package/dist/openapi_client/models/WorkflowListResponse.d.ts +6 -0
- package/dist/openapi_client/models/WorkflowListResponse.js +1 -0
- package/dist/openapi_client/models/WorkflowRunListResponse.d.ts +6 -0
- package/dist/openapi_client/models/WorkflowRunListResponse.js +1 -0
- package/dist/openapi_client/models/WorkflowUpdateRequest.d.ts +19 -0
- package/dist/openapi_client/models/WorkflowUpdateRequest.js +1 -0
- package/dist/openapi_client/services/AgentToolsService.d.ts +23 -0
- package/dist/openapi_client/services/AgentToolsService.js +40 -0
- package/dist/openapi_client/services/AgentsService.d.ts +55 -0
- package/dist/openapi_client/services/AgentsService.js +117 -0
- package/dist/openapi_client/services/ApplicationsService.d.ts +82 -0
- package/dist/openapi_client/services/ApplicationsService.js +175 -0
- package/dist/openapi_client/services/AssistantSurfacesService.d.ts +55 -0
- package/dist/openapi_client/services/AssistantSurfacesService.js +120 -0
- package/dist/openapi_client/services/AssistantsService.d.ts +49 -0
- package/dist/openapi_client/services/AssistantsService.js +112 -0
- package/dist/openapi_client/services/AuthService.d.ts +11 -0
- package/dist/openapi_client/services/AuthService.js +16 -0
- package/dist/openapi_client/services/AuthorizationService.d.ts +11 -0
- package/dist/openapi_client/services/AuthorizationService.js +22 -0
- package/dist/openapi_client/services/BillingSubscriptionsService.d.ts +56 -0
- package/dist/openapi_client/services/BillingSubscriptionsService.js +93 -0
- package/dist/openapi_client/services/BillingUsageService.d.ts +54 -0
- package/dist/openapi_client/services/BillingUsageService.js +122 -0
- package/dist/openapi_client/services/BillingWebhooksService.d.ts +12 -0
- package/dist/openapi_client/services/BillingWebhooksService.js +25 -0
- package/dist/openapi_client/services/ConversationsService.d.ts +80 -0
- package/dist/openapi_client/services/ConversationsService.js +190 -0
- package/dist/openapi_client/services/DatastoreService.d.ts +67 -0
- package/dist/openapi_client/services/DatastoreService.js +141 -0
- package/dist/openapi_client/services/DefaultService.d.ts +9 -0
- package/dist/openapi_client/services/DefaultService.js +15 -0
- package/dist/openapi_client/services/DesksService.d.ts +77 -0
- package/dist/openapi_client/services/DesksService.js +175 -0
- package/dist/openapi_client/services/FilesService.d.ts +129 -0
- package/dist/openapi_client/services/FilesService.js +291 -0
- package/dist/openapi_client/services/FunctionsService.d.ts +89 -0
- package/dist/openapi_client/services/FunctionsService.js +191 -0
- package/dist/openapi_client/services/IconsService.d.ts +21 -0
- package/dist/openapi_client/services/IconsService.js +41 -0
- package/dist/openapi_client/services/IntegrationsService.d.ts +59 -0
- package/dist/openapi_client/services/IntegrationsService.js +121 -0
- package/dist/openapi_client/services/OrganizationsService.d.ts +122 -0
- package/dist/openapi_client/services/OrganizationsService.js +262 -0
- package/dist/openapi_client/services/PodMembersService.d.ts +45 -0
- package/dist/openapi_client/services/PodMembersService.js +96 -0
- package/dist/openapi_client/services/PodsService.d.ts +59 -0
- package/dist/openapi_client/services/PodsService.js +126 -0
- package/dist/openapi_client/services/PublicSdkService.d.ts +17 -0
- package/dist/openapi_client/services/PublicSdkService.js +35 -0
- package/dist/openapi_client/services/RecordsService.d.ts +113 -0
- package/dist/openapi_client/services/RecordsService.js +241 -0
- package/dist/openapi_client/services/TablesService.d.ts +83 -0
- package/dist/openapi_client/services/TablesService.js +178 -0
- package/dist/openapi_client/services/TasksService.d.ts +76 -0
- package/dist/openapi_client/services/TasksService.js +167 -0
- package/dist/openapi_client/services/TriggersService.d.ts +53 -0
- package/dist/openapi_client/services/TriggersService.js +109 -0
- package/dist/openapi_client/services/UsersService.d.ts +27 -0
- package/dist/openapi_client/services/UsersService.js +46 -0
- package/dist/openapi_client/services/WebhooksService.d.ts +27 -0
- package/dist/openapi_client/services/WebhooksService.js +61 -0
- package/dist/openapi_client/services/WorkflowsService.d.ts +147 -0
- package/dist/openapi_client/services/WorkflowsService.js +326 -0
- package/dist/react/AuthGuard.d.ts +22 -0
- package/dist/react/AuthGuard.js +62 -0
- package/dist/react/index.d.ts +4 -0
- package/dist/react/index.js +2 -0
- package/dist/react/useAuth.d.ts +16 -0
- package/dist/react/useAuth.js +29 -0
- package/dist/supertokens.d.ts +1 -0
- package/dist/supertokens.js +67 -0
- package/dist/types.d.ts +27 -0
- package/dist/types.js +1 -0
- package/package.json +62 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class AssistantSurfacesService {
|
|
4
|
+
/**
|
|
5
|
+
* Create Surface
|
|
6
|
+
* Create a new surface for an assistant.
|
|
7
|
+
* @param podId
|
|
8
|
+
* @param requestBody
|
|
9
|
+
* @returns any Successful Response
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static assistantSurfaceCreate(podId, requestBody) {
|
|
13
|
+
return __request(OpenAPI, {
|
|
14
|
+
method: 'POST',
|
|
15
|
+
url: '/pods/{pod_id}/surfaces',
|
|
16
|
+
path: {
|
|
17
|
+
'pod_id': podId,
|
|
18
|
+
},
|
|
19
|
+
body: requestBody,
|
|
20
|
+
mediaType: 'application/json',
|
|
21
|
+
errors: {
|
|
22
|
+
422: `Validation Error`,
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* List Surfaces
|
|
28
|
+
* List configured surfaces in a pod.
|
|
29
|
+
* @param podId
|
|
30
|
+
* @param limit
|
|
31
|
+
* @param pageToken
|
|
32
|
+
* @returns AssistantSurfaceListResponse Successful Response
|
|
33
|
+
* @throws ApiError
|
|
34
|
+
*/
|
|
35
|
+
static assistantSurfaceList(podId, limit = 100, pageToken) {
|
|
36
|
+
return __request(OpenAPI, {
|
|
37
|
+
method: 'GET',
|
|
38
|
+
url: '/pods/{pod_id}/surfaces',
|
|
39
|
+
path: {
|
|
40
|
+
'pod_id': podId,
|
|
41
|
+
},
|
|
42
|
+
query: {
|
|
43
|
+
'limit': limit,
|
|
44
|
+
'page_token': pageToken,
|
|
45
|
+
},
|
|
46
|
+
errors: {
|
|
47
|
+
422: `Validation Error`,
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Get Surface
|
|
53
|
+
* Get a specific surface configuration.
|
|
54
|
+
* @param podId
|
|
55
|
+
* @param surfaceId
|
|
56
|
+
* @returns any Successful Response
|
|
57
|
+
* @throws ApiError
|
|
58
|
+
*/
|
|
59
|
+
static assistantSurfaceGet(podId, surfaceId) {
|
|
60
|
+
return __request(OpenAPI, {
|
|
61
|
+
method: 'GET',
|
|
62
|
+
url: '/pods/{pod_id}/surfaces/{surface_id}',
|
|
63
|
+
path: {
|
|
64
|
+
'pod_id': podId,
|
|
65
|
+
'surface_id': surfaceId,
|
|
66
|
+
},
|
|
67
|
+
errors: {
|
|
68
|
+
422: `Validation Error`,
|
|
69
|
+
},
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Update Surface
|
|
74
|
+
* Update a surface configuration.
|
|
75
|
+
* @param podId
|
|
76
|
+
* @param surfaceId
|
|
77
|
+
* @param requestBody
|
|
78
|
+
* @returns any Successful Response
|
|
79
|
+
* @throws ApiError
|
|
80
|
+
*/
|
|
81
|
+
static assistantSurfaceUpdateConfig(podId, surfaceId, requestBody) {
|
|
82
|
+
return __request(OpenAPI, {
|
|
83
|
+
method: 'PATCH',
|
|
84
|
+
url: '/pods/{pod_id}/surfaces/{surface_id}/config',
|
|
85
|
+
path: {
|
|
86
|
+
'pod_id': podId,
|
|
87
|
+
'surface_id': surfaceId,
|
|
88
|
+
},
|
|
89
|
+
body: requestBody,
|
|
90
|
+
mediaType: 'application/json',
|
|
91
|
+
errors: {
|
|
92
|
+
422: `Validation Error`,
|
|
93
|
+
},
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Toggle Surface
|
|
98
|
+
* Toggle a surface active state.
|
|
99
|
+
* @param podId
|
|
100
|
+
* @param surfaceId
|
|
101
|
+
* @param requestBody
|
|
102
|
+
* @returns any Successful Response
|
|
103
|
+
* @throws ApiError
|
|
104
|
+
*/
|
|
105
|
+
static assistantSurfaceToggle(podId, surfaceId, requestBody) {
|
|
106
|
+
return __request(OpenAPI, {
|
|
107
|
+
method: 'PATCH',
|
|
108
|
+
url: '/pods/{pod_id}/surfaces/{surface_id}/toggle',
|
|
109
|
+
path: {
|
|
110
|
+
'pod_id': podId,
|
|
111
|
+
'surface_id': surfaceId,
|
|
112
|
+
},
|
|
113
|
+
body: requestBody,
|
|
114
|
+
mediaType: 'application/json',
|
|
115
|
+
errors: {
|
|
116
|
+
422: `Validation Error`,
|
|
117
|
+
},
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { AssistantListResponse } from '../models/AssistantListResponse.js';
|
|
2
|
+
import type { AssistantResponse } from '../models/AssistantResponse.js';
|
|
3
|
+
import type { CreateAssistantRequest } from '../models/CreateAssistantRequest.js';
|
|
4
|
+
import type { UpdateAssistantRequest } from '../models/UpdateAssistantRequest.js';
|
|
5
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
6
|
+
export declare class AssistantsService {
|
|
7
|
+
/**
|
|
8
|
+
* Create Assistant
|
|
9
|
+
* @param podId
|
|
10
|
+
* @param requestBody
|
|
11
|
+
* @returns AssistantResponse Successful Response
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static assistantCreate(podId: string, requestBody: CreateAssistantRequest): CancelablePromise<AssistantResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* List Assistants
|
|
17
|
+
* @param podId
|
|
18
|
+
* @param limit
|
|
19
|
+
* @param pageToken
|
|
20
|
+
* @returns AssistantListResponse Successful Response
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
static assistantList(podId: string, limit?: number, pageToken?: (string | null)): CancelablePromise<AssistantListResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Get Assistant
|
|
26
|
+
* @param podId
|
|
27
|
+
* @param assistantName
|
|
28
|
+
* @returns AssistantResponse Successful Response
|
|
29
|
+
* @throws ApiError
|
|
30
|
+
*/
|
|
31
|
+
static assistantGet(podId: string, assistantName: string): CancelablePromise<AssistantResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* Update Assistant
|
|
34
|
+
* @param podId
|
|
35
|
+
* @param assistantName
|
|
36
|
+
* @param requestBody
|
|
37
|
+
* @returns AssistantResponse Successful Response
|
|
38
|
+
* @throws ApiError
|
|
39
|
+
*/
|
|
40
|
+
static assistantUpdate(podId: string, assistantName: string, requestBody: UpdateAssistantRequest): CancelablePromise<AssistantResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Delete Assistant
|
|
43
|
+
* @param podId
|
|
44
|
+
* @param assistantName
|
|
45
|
+
* @returns void
|
|
46
|
+
* @throws ApiError
|
|
47
|
+
*/
|
|
48
|
+
static assistantDelete(podId: string, assistantName: string): CancelablePromise<void>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class AssistantsService {
|
|
4
|
+
/**
|
|
5
|
+
* Create Assistant
|
|
6
|
+
* @param podId
|
|
7
|
+
* @param requestBody
|
|
8
|
+
* @returns AssistantResponse Successful Response
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static assistantCreate(podId, requestBody) {
|
|
12
|
+
return __request(OpenAPI, {
|
|
13
|
+
method: 'POST',
|
|
14
|
+
url: '/pods/{pod_id}/assistants',
|
|
15
|
+
path: {
|
|
16
|
+
'pod_id': podId,
|
|
17
|
+
},
|
|
18
|
+
body: requestBody,
|
|
19
|
+
mediaType: 'application/json',
|
|
20
|
+
errors: {
|
|
21
|
+
422: `Validation Error`,
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* List Assistants
|
|
27
|
+
* @param podId
|
|
28
|
+
* @param limit
|
|
29
|
+
* @param pageToken
|
|
30
|
+
* @returns AssistantListResponse Successful Response
|
|
31
|
+
* @throws ApiError
|
|
32
|
+
*/
|
|
33
|
+
static assistantList(podId, limit = 100, pageToken) {
|
|
34
|
+
return __request(OpenAPI, {
|
|
35
|
+
method: 'GET',
|
|
36
|
+
url: '/pods/{pod_id}/assistants',
|
|
37
|
+
path: {
|
|
38
|
+
'pod_id': podId,
|
|
39
|
+
},
|
|
40
|
+
query: {
|
|
41
|
+
'limit': limit,
|
|
42
|
+
'page_token': pageToken,
|
|
43
|
+
},
|
|
44
|
+
errors: {
|
|
45
|
+
422: `Validation Error`,
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Get Assistant
|
|
51
|
+
* @param podId
|
|
52
|
+
* @param assistantName
|
|
53
|
+
* @returns AssistantResponse Successful Response
|
|
54
|
+
* @throws ApiError
|
|
55
|
+
*/
|
|
56
|
+
static assistantGet(podId, assistantName) {
|
|
57
|
+
return __request(OpenAPI, {
|
|
58
|
+
method: 'GET',
|
|
59
|
+
url: '/pods/{pod_id}/assistants/{assistant_name}',
|
|
60
|
+
path: {
|
|
61
|
+
'pod_id': podId,
|
|
62
|
+
'assistant_name': assistantName,
|
|
63
|
+
},
|
|
64
|
+
errors: {
|
|
65
|
+
422: `Validation Error`,
|
|
66
|
+
},
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Update Assistant
|
|
71
|
+
* @param podId
|
|
72
|
+
* @param assistantName
|
|
73
|
+
* @param requestBody
|
|
74
|
+
* @returns AssistantResponse Successful Response
|
|
75
|
+
* @throws ApiError
|
|
76
|
+
*/
|
|
77
|
+
static assistantUpdate(podId, assistantName, requestBody) {
|
|
78
|
+
return __request(OpenAPI, {
|
|
79
|
+
method: 'PATCH',
|
|
80
|
+
url: '/pods/{pod_id}/assistants/{assistant_name}',
|
|
81
|
+
path: {
|
|
82
|
+
'pod_id': podId,
|
|
83
|
+
'assistant_name': assistantName,
|
|
84
|
+
},
|
|
85
|
+
body: requestBody,
|
|
86
|
+
mediaType: 'application/json',
|
|
87
|
+
errors: {
|
|
88
|
+
422: `Validation Error`,
|
|
89
|
+
},
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Delete Assistant
|
|
94
|
+
* @param podId
|
|
95
|
+
* @param assistantName
|
|
96
|
+
* @returns void
|
|
97
|
+
* @throws ApiError
|
|
98
|
+
*/
|
|
99
|
+
static assistantDelete(podId, assistantName) {
|
|
100
|
+
return __request(OpenAPI, {
|
|
101
|
+
method: 'DELETE',
|
|
102
|
+
url: '/pods/{pod_id}/assistants/{assistant_name}',
|
|
103
|
+
path: {
|
|
104
|
+
'pod_id': podId,
|
|
105
|
+
'assistant_name': assistantName,
|
|
106
|
+
},
|
|
107
|
+
errors: {
|
|
108
|
+
422: `Validation Error`,
|
|
109
|
+
},
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { VerifyTokenResponse } from '../models/VerifyTokenResponse.js';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
3
|
+
export declare class AuthService {
|
|
4
|
+
/**
|
|
5
|
+
* Verify access token
|
|
6
|
+
* Validate the current bearer token and return the resolved user context.
|
|
7
|
+
* @returns VerifyTokenResponse Successful Response
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static authVerifyToken(): CancelablePromise<VerifyTokenResponse>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class AuthService {
|
|
4
|
+
/**
|
|
5
|
+
* Verify access token
|
|
6
|
+
* Validate the current bearer token and return the resolved user context.
|
|
7
|
+
* @returns VerifyTokenResponse Successful Response
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static authVerifyToken() {
|
|
11
|
+
return __request(OpenAPI, {
|
|
12
|
+
method: 'GET',
|
|
13
|
+
url: '/auth/verify-token',
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PodPermissionsResponse } from '../models/PodPermissionsResponse.js';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
3
|
+
export declare class AuthorizationService {
|
|
4
|
+
/**
|
|
5
|
+
* Get My Pod Permissions
|
|
6
|
+
* @param podId
|
|
7
|
+
* @returns PodPermissionsResponse Successful Response
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static podPermissionsMe(podId: string): CancelablePromise<PodPermissionsResponse>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class AuthorizationService {
|
|
4
|
+
/**
|
|
5
|
+
* Get My Pod Permissions
|
|
6
|
+
* @param podId
|
|
7
|
+
* @returns PodPermissionsResponse Successful Response
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static podPermissionsMe(podId) {
|
|
11
|
+
return __request(OpenAPI, {
|
|
12
|
+
method: 'GET',
|
|
13
|
+
url: '/pods/{pod_id}/permissions/me',
|
|
14
|
+
path: {
|
|
15
|
+
'pod_id': podId,
|
|
16
|
+
},
|
|
17
|
+
errors: {
|
|
18
|
+
422: `Validation Error`,
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { CancelSubscriptionResponse } from '../models/CancelSubscriptionResponse.js';
|
|
2
|
+
import type { PlanListResponse } from '../models/PlanListResponse.js';
|
|
3
|
+
import type { SeatInfoResponse } from '../models/SeatInfoResponse.js';
|
|
4
|
+
import type { StartSubscriptionRequest } from '../models/StartSubscriptionRequest.js';
|
|
5
|
+
import type { StartSubscriptionResponse } from '../models/StartSubscriptionResponse.js';
|
|
6
|
+
import type { SubscriptionStatusResponse } from '../models/SubscriptionStatusResponse.js';
|
|
7
|
+
import type { SubscriptionWithPlanResponse } from '../models/SubscriptionWithPlanResponse.js';
|
|
8
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
9
|
+
export declare class BillingSubscriptionsService {
|
|
10
|
+
/**
|
|
11
|
+
* List Plans
|
|
12
|
+
* List available subscription plans.
|
|
13
|
+
* @param onlyActive
|
|
14
|
+
* @param limit
|
|
15
|
+
* @param pageToken
|
|
16
|
+
* @returns PlanListResponse Successful Response
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
static billingPlansList(onlyActive?: boolean, limit?: number, pageToken?: (string | null)): CancelablePromise<PlanListResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Get My Subscription
|
|
22
|
+
* Get the current organization's subscription.
|
|
23
|
+
* @returns SubscriptionWithPlanResponse Successful Response
|
|
24
|
+
* @throws ApiError
|
|
25
|
+
*/
|
|
26
|
+
static billingSubscriptionsMy(): CancelablePromise<SubscriptionWithPlanResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Get Subscription Status
|
|
29
|
+
* Get simple subscription status for the organization.
|
|
30
|
+
* @returns SubscriptionStatusResponse Successful Response
|
|
31
|
+
* @throws ApiError
|
|
32
|
+
*/
|
|
33
|
+
static billingSubscriptionsStatus(): CancelablePromise<SubscriptionStatusResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Start Subscription
|
|
36
|
+
* Start a new subscription. Returns checkout URL.
|
|
37
|
+
* @param requestBody
|
|
38
|
+
* @returns StartSubscriptionResponse Successful Response
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static billingSubscriptionsStart(requestBody: StartSubscriptionRequest): CancelablePromise<StartSubscriptionResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* Cancel Subscription
|
|
44
|
+
* Cancel the current subscription.
|
|
45
|
+
* @returns CancelSubscriptionResponse Successful Response
|
|
46
|
+
* @throws ApiError
|
|
47
|
+
*/
|
|
48
|
+
static billingSubscriptionsCancel(): CancelablePromise<CancelSubscriptionResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Get Seat Info
|
|
51
|
+
* Get seat availability information.
|
|
52
|
+
* @returns SeatInfoResponse Successful Response
|
|
53
|
+
* @throws ApiError
|
|
54
|
+
*/
|
|
55
|
+
static billingSeatsInfo(): CancelablePromise<SeatInfoResponse>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class BillingSubscriptionsService {
|
|
4
|
+
/**
|
|
5
|
+
* List Plans
|
|
6
|
+
* List available subscription plans.
|
|
7
|
+
* @param onlyActive
|
|
8
|
+
* @param limit
|
|
9
|
+
* @param pageToken
|
|
10
|
+
* @returns PlanListResponse Successful Response
|
|
11
|
+
* @throws ApiError
|
|
12
|
+
*/
|
|
13
|
+
static billingPlansList(onlyActive = true, limit = 100, pageToken) {
|
|
14
|
+
return __request(OpenAPI, {
|
|
15
|
+
method: 'GET',
|
|
16
|
+
url: '/billing/plans',
|
|
17
|
+
query: {
|
|
18
|
+
'only_active': onlyActive,
|
|
19
|
+
'limit': limit,
|
|
20
|
+
'page_token': pageToken,
|
|
21
|
+
},
|
|
22
|
+
errors: {
|
|
23
|
+
422: `Validation Error`,
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Get My Subscription
|
|
29
|
+
* Get the current organization's subscription.
|
|
30
|
+
* @returns SubscriptionWithPlanResponse Successful Response
|
|
31
|
+
* @throws ApiError
|
|
32
|
+
*/
|
|
33
|
+
static billingSubscriptionsMy() {
|
|
34
|
+
return __request(OpenAPI, {
|
|
35
|
+
method: 'GET',
|
|
36
|
+
url: '/billing/subscriptions/my',
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Get Subscription Status
|
|
41
|
+
* Get simple subscription status for the organization.
|
|
42
|
+
* @returns SubscriptionStatusResponse Successful Response
|
|
43
|
+
* @throws ApiError
|
|
44
|
+
*/
|
|
45
|
+
static billingSubscriptionsStatus() {
|
|
46
|
+
return __request(OpenAPI, {
|
|
47
|
+
method: 'GET',
|
|
48
|
+
url: '/billing/subscriptions/status',
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Start Subscription
|
|
53
|
+
* Start a new subscription. Returns checkout URL.
|
|
54
|
+
* @param requestBody
|
|
55
|
+
* @returns StartSubscriptionResponse Successful Response
|
|
56
|
+
* @throws ApiError
|
|
57
|
+
*/
|
|
58
|
+
static billingSubscriptionsStart(requestBody) {
|
|
59
|
+
return __request(OpenAPI, {
|
|
60
|
+
method: 'POST',
|
|
61
|
+
url: '/billing/subscriptions',
|
|
62
|
+
body: requestBody,
|
|
63
|
+
mediaType: 'application/json',
|
|
64
|
+
errors: {
|
|
65
|
+
422: `Validation Error`,
|
|
66
|
+
},
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Cancel Subscription
|
|
71
|
+
* Cancel the current subscription.
|
|
72
|
+
* @returns CancelSubscriptionResponse Successful Response
|
|
73
|
+
* @throws ApiError
|
|
74
|
+
*/
|
|
75
|
+
static billingSubscriptionsCancel() {
|
|
76
|
+
return __request(OpenAPI, {
|
|
77
|
+
method: 'POST',
|
|
78
|
+
url: '/billing/subscriptions/cancel',
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Get Seat Info
|
|
83
|
+
* Get seat availability information.
|
|
84
|
+
* @returns SeatInfoResponse Successful Response
|
|
85
|
+
* @throws ApiError
|
|
86
|
+
*/
|
|
87
|
+
static billingSeatsInfo() {
|
|
88
|
+
return __request(OpenAPI, {
|
|
89
|
+
method: 'GET',
|
|
90
|
+
url: '/billing/seats',
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { RecentUsageResponse } from '../models/RecentUsageResponse.js';
|
|
2
|
+
import type { UsageSummaryResponse } from '../models/UsageSummaryResponse.js';
|
|
3
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
4
|
+
export declare class BillingUsageService {
|
|
5
|
+
/**
|
|
6
|
+
* Get Organization Usage Summary
|
|
7
|
+
* Get usage summary for a specific organization.
|
|
8
|
+
* @param organizationId
|
|
9
|
+
* @param start
|
|
10
|
+
* @param end
|
|
11
|
+
* @param modelName
|
|
12
|
+
* @param days
|
|
13
|
+
* @returns UsageSummaryResponse Successful Response
|
|
14
|
+
* @throws ApiError
|
|
15
|
+
*/
|
|
16
|
+
static billingUsageOrganizationSummaryGet(organizationId: string, start?: (string | null), end?: (string | null), modelName?: (string | null), days?: number): CancelablePromise<UsageSummaryResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Get Pod Usage Summary
|
|
19
|
+
* Get usage summary for a specific pod within an organization.
|
|
20
|
+
* @param organizationId
|
|
21
|
+
* @param podId
|
|
22
|
+
* @param start
|
|
23
|
+
* @param end
|
|
24
|
+
* @param modelName
|
|
25
|
+
* @param days
|
|
26
|
+
* @returns UsageSummaryResponse Successful Response
|
|
27
|
+
* @throws ApiError
|
|
28
|
+
*/
|
|
29
|
+
static billingUsageOrganizationPodSummaryGet(organizationId: string, podId: string, start?: (string | null), end?: (string | null), modelName?: (string | null), days?: number): CancelablePromise<UsageSummaryResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* Get My Organization Usage Summary
|
|
32
|
+
* Get usage summary for the current user within an organization.
|
|
33
|
+
* @param organizationId
|
|
34
|
+
* @param start
|
|
35
|
+
* @param end
|
|
36
|
+
* @param modelName
|
|
37
|
+
* @param days
|
|
38
|
+
* @returns UsageSummaryResponse Successful Response
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static billingUsageOrganizationMeSummaryGet(organizationId: string, start?: (string | null), end?: (string | null), modelName?: (string | null), days?: number): CancelablePromise<UsageSummaryResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* Get Organization Recent Usage
|
|
44
|
+
* Get recent usage records for a specific organization.
|
|
45
|
+
* @param organizationId
|
|
46
|
+
* @param start
|
|
47
|
+
* @param end
|
|
48
|
+
* @param modelName
|
|
49
|
+
* @param days
|
|
50
|
+
* @returns RecentUsageResponse Successful Response
|
|
51
|
+
* @throws ApiError
|
|
52
|
+
*/
|
|
53
|
+
static billingUsageOrganizationRecentGet(organizationId: string, start?: (string | null), end?: (string | null), modelName?: (string | null), days?: number): CancelablePromise<RecentUsageResponse>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class BillingUsageService {
|
|
4
|
+
/**
|
|
5
|
+
* Get Organization Usage Summary
|
|
6
|
+
* Get usage summary for a specific organization.
|
|
7
|
+
* @param organizationId
|
|
8
|
+
* @param start
|
|
9
|
+
* @param end
|
|
10
|
+
* @param modelName
|
|
11
|
+
* @param days
|
|
12
|
+
* @returns UsageSummaryResponse Successful Response
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
static billingUsageOrganizationSummaryGet(organizationId, start, end, modelName, days = 30) {
|
|
16
|
+
return __request(OpenAPI, {
|
|
17
|
+
method: 'GET',
|
|
18
|
+
url: '/billing/usage/organizations/{organization_id}',
|
|
19
|
+
path: {
|
|
20
|
+
'organization_id': organizationId,
|
|
21
|
+
},
|
|
22
|
+
query: {
|
|
23
|
+
'start': start,
|
|
24
|
+
'end': end,
|
|
25
|
+
'model_name': modelName,
|
|
26
|
+
'days': days,
|
|
27
|
+
},
|
|
28
|
+
errors: {
|
|
29
|
+
422: `Validation Error`,
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Get Pod Usage Summary
|
|
35
|
+
* Get usage summary for a specific pod within an organization.
|
|
36
|
+
* @param organizationId
|
|
37
|
+
* @param podId
|
|
38
|
+
* @param start
|
|
39
|
+
* @param end
|
|
40
|
+
* @param modelName
|
|
41
|
+
* @param days
|
|
42
|
+
* @returns UsageSummaryResponse Successful Response
|
|
43
|
+
* @throws ApiError
|
|
44
|
+
*/
|
|
45
|
+
static billingUsageOrganizationPodSummaryGet(organizationId, podId, start, end, modelName, days = 30) {
|
|
46
|
+
return __request(OpenAPI, {
|
|
47
|
+
method: 'GET',
|
|
48
|
+
url: '/billing/usage/organizations/{organization_id}/pods/{pod_id}',
|
|
49
|
+
path: {
|
|
50
|
+
'organization_id': organizationId,
|
|
51
|
+
'pod_id': podId,
|
|
52
|
+
},
|
|
53
|
+
query: {
|
|
54
|
+
'start': start,
|
|
55
|
+
'end': end,
|
|
56
|
+
'model_name': modelName,
|
|
57
|
+
'days': days,
|
|
58
|
+
},
|
|
59
|
+
errors: {
|
|
60
|
+
422: `Validation Error`,
|
|
61
|
+
},
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Get My Organization Usage Summary
|
|
66
|
+
* Get usage summary for the current user within an organization.
|
|
67
|
+
* @param organizationId
|
|
68
|
+
* @param start
|
|
69
|
+
* @param end
|
|
70
|
+
* @param modelName
|
|
71
|
+
* @param days
|
|
72
|
+
* @returns UsageSummaryResponse Successful Response
|
|
73
|
+
* @throws ApiError
|
|
74
|
+
*/
|
|
75
|
+
static billingUsageOrganizationMeSummaryGet(organizationId, start, end, modelName, days = 30) {
|
|
76
|
+
return __request(OpenAPI, {
|
|
77
|
+
method: 'GET',
|
|
78
|
+
url: '/billing/usage/organizations/{organization_id}/me',
|
|
79
|
+
path: {
|
|
80
|
+
'organization_id': organizationId,
|
|
81
|
+
},
|
|
82
|
+
query: {
|
|
83
|
+
'start': start,
|
|
84
|
+
'end': end,
|
|
85
|
+
'model_name': modelName,
|
|
86
|
+
'days': days,
|
|
87
|
+
},
|
|
88
|
+
errors: {
|
|
89
|
+
422: `Validation Error`,
|
|
90
|
+
},
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Get Organization Recent Usage
|
|
95
|
+
* Get recent usage records for a specific organization.
|
|
96
|
+
* @param organizationId
|
|
97
|
+
* @param start
|
|
98
|
+
* @param end
|
|
99
|
+
* @param modelName
|
|
100
|
+
* @param days
|
|
101
|
+
* @returns RecentUsageResponse Successful Response
|
|
102
|
+
* @throws ApiError
|
|
103
|
+
*/
|
|
104
|
+
static billingUsageOrganizationRecentGet(organizationId, start, end, modelName, days = 30) {
|
|
105
|
+
return __request(OpenAPI, {
|
|
106
|
+
method: 'GET',
|
|
107
|
+
url: '/billing/usage/organizations/{organization_id}/recent',
|
|
108
|
+
path: {
|
|
109
|
+
'organization_id': organizationId,
|
|
110
|
+
},
|
|
111
|
+
query: {
|
|
112
|
+
'start': start,
|
|
113
|
+
'end': end,
|
|
114
|
+
'model_name': modelName,
|
|
115
|
+
'days': days,
|
|
116
|
+
},
|
|
117
|
+
errors: {
|
|
118
|
+
422: `Validation Error`,
|
|
119
|
+
},
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
2
|
+
export declare class BillingWebhooksService {
|
|
3
|
+
/**
|
|
4
|
+
* DodoPayments Webhook
|
|
5
|
+
* Handle webhooks from DodoPayments.
|
|
6
|
+
* @param xDodoSignature
|
|
7
|
+
* @param xDodoEventType
|
|
8
|
+
* @returns any Successful Response
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static billingWebhooksDodo(xDodoSignature?: (string | null), xDodoEventType?: (string | null)): CancelablePromise<any>;
|
|
12
|
+
}
|