1.0.42 • Published 6 months ago

@nestbox-ai/admin v1.0.42

Weekly downloads
-
License
Unlicense
Repository
github
Last release
6 months ago

@nestbox-ai/admin@1.0.42

This generator creates TypeScript/JavaScript client that utilizes axios. The generated Node module can be used in the following environments:

Environment

  • Node.js
  • Webpack
  • Browserify

Language level

  • ES5 - you must have a Promises/A+ library installed
  • ES6

Module system

  • CommonJS
  • ES6 module system

It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via package.json. (Reference)

Building

To build and compile the typescript sources to javascript use:

npm install
npm run build

Publishing

First build the package then run npm publish

Consuming

navigate to the folder of your consuming project and run one of the following commands.

published:

npm install @nestbox-ai/admin@1.0.42 --save

unPublished (not recommended):

npm install PATH_TO_GENERATED_PACKAGE --save

Documentation for API Endpoints

All URIs are relative to http://localhost

ClassMethodHTTP requestDescription
AuthApiauthControllerExchangeTokenPOST /auth/google/{token}Exchange token
AuthApiauthControllerForgetPasswordPOST /auth/forget-passwordForget password initiate
AuthApiauthControllerForgetPasswordVerificationPOST /auth/forget-password/verificationForget password verification
AuthApiauthControllerLoginPOST /auth/loginLogin to the application
AuthApiauthControllerOAuthLoginPOST /auth/login/oauthLogin with OAuth apps
AuthApiauthControllerResetPasswordPOST /auth/reset-passwordForget password initiate
AuthApiauthControllerSignupPOST /auth/signupSignup in the application
DocumentsApidocumentControllerAddDocToCollectionPOST /projects/{projectId}/document/{instanceId}/collections/{collectionId}/docsAdd a new doc
DocumentsApidocumentControllerAddDocToCollectionFromFilePOST /projects/{projectId}/document/{instanceId}/collections/{collectionId}/docs/fileUse a file to chunk and add to collection
DocumentsApidocumentControllerCreateCollectionPOST /projects/{projectId}/document/{instanceId}/collectionsCreate collection
DocumentsApidocumentControllerDeleteCollectionDELETE /projects/{projectId}/document/{instanceId}/collections/{collectionId}Delete collection
DocumentsApidocumentControllerDeleteDocByIdDELETE /projects/{projectId}/document/{instanceId}/collections/{collectionId}/docs/{docId}Delete doc by ID
DocumentsApidocumentControllerDeleteDocsFromCollectionDELETE /projects/{projectId}/document/{instanceId}/collections/{collectionId}/docsDelete docs based on metadata filters
DocumentsApidocumentControllerGetAllCollectionsGET /projects/{projectId}/document/{instanceId}/collectionsGet all collections
DocumentsApidocumentControllerGetCollectionInfoGET /projects/{projectId}/document/{instanceId}/collections/{collectionId}Get collection info
DocumentsApidocumentControllerGetDocByIdGET /projects/{projectId}/document/{instanceId}/collections/{collectionId}/docs/{docId}Get doc by ID
DocumentsApidocumentControllerSimilaritySearchPOST /projects/{projectId}/document/{instanceId}/collections/{collectionId}/querySimilarity search query
DocumentsApidocumentControllerUpdateCollectionPUT /projects/{projectId}/document/{instanceId}/collections/{collectionId}Update collection
DocumentsApidocumentControllerUpdateDocPUT /projects/{projectId}/document/{instanceId}/collections/{collectionId}/docs/{docId}Update or upsert doc
EvaluationTestApievaluationTestControllerAddEvaluationTestPOST /projects/{projectId}/evaluation-testsAdd new evaluation test.
EvaluationTestApievaluationTestControllerDeleteEvaluationDELETE /projects/{projectId}/evaluation-tests/{testId}Delete evaluation
EvaluationTestApievaluationTestControllerExecuteEvaluationPUT /projects/{projectId}/evaluation-tests/{testId}/executeExecute evaluation test.
EvaluationTestApievaluationTestControllerGetEvaluationTestGET /projects/{projectId}/evaluation-tests/{modelId}Fetch evaluation test.
EvaluationTestApievaluationTestControllerUpdateEvaluationPUT /projects/{projectId}/evaluation-tests/{testId}Update evaluation test
MachineAgentApimachineAgentControllerCreateMachineAgentPOST /projects/{projectId}/agentsCreate New Machine Agent
MachineAgentApimachineAgentControllerDeleteMachineAgentsDELETE /projects/{projectId}/agents/{agentId}Delete machine agent
MachineAgentApimachineAgentControllerGetMachineAgentByProjectIdGET /projects/{projectId}/agentsGet all machine agent with count
MachineAgentApimachineAgentControllerUpdateMachineAgentPATCH /projects/{projectId}/agents/{agentId}Update machine agent by id
MachineAgentLogsApilogsControllerFetchEventLogsGET /projects/{projectId}/fetchEventLogs/{agentId}Fetch event logs.
MachineInstancesApimachineInstancesControllerCreateMachineInstancePOST /projects/{projectId}/instancesCreate Machine Instance
MachineInstancesApimachineInstancesControllerDeleteMachineInstanceDELETE /projects/{projectId}/instancesDelete machine instances by ids
MachineInstancesApimachineInstancesControllerGetInstanceRunningStatusGET /projects/{projectId}/instances/statusRetrieve running status of instances
MachineInstancesApimachineInstancesControllerGetMachineInstanceByIdGET /projects/{projectId}/instances/machine/{machineId}Retrieve running status of instances
MachineInstancesApimachineInstancesControllerGetMachineInstanceByUserIdGET /projects/{projectId}/instancesRetrieve all machine instances with count
MachineInstancesApimachineInstancesControllerUpdateRunningStatusPUT /projects/{projectId}/instances/statusUpdate Machine Instance Running Status
MembersApimembersControllerAddTeamMemberToProjectPOST /projects/{projectId}/membersAdd a team member
MembersApimembersControllerGetAllTeamMembersOfProjectGET /projects/{projectId}/membersRetrieve all team members
MembersApimembersControllerUpdateTeamMemberRolePATCH /projects/{projectId}/members/{memberId}Update team member details
MiscellaneousApimiscellaneousControllerGetDataGET /projects/machine/imagesGet machine id matching instances.
MiscellaneousApimiscellaneousControllerGetMachineInstanceByImageIdGET /projects/{projectId}/allMachineInstanceGet machine id matching instances.
MiscellaneousApimiscellaneousControllerUpdateTeamMemberStatusPATCH /projects/member/joinJoin project
NotificationsApinotificationsControllerGetLastFiveNotificationsGET /projects/{projectId}/notificationsRetrieve last notifications
NotificationsApinotificationsControllerMarkNotificationsAsReadPUT /projects/{projectId}/notifications/statusMark notification as read
ProjectsApiprojectControllerCreateProjectPOST /projectsCreate Project
ProjectsApiprojectControllerDeleteProjectByIdDELETE /projects/{id}Delete project by id
ProjectsApiprojectControllerGetAllProjectsGET /projectsGet all projects
ProjectsApiprojectControllerGetProjectByIdGET /projects/{id}Get project by id
ProjectsApiprojectControllerUpdateProjectByIdPATCH /projects/{id}Update project by id
QueriesAndDocumentationsApiqueriesAndDocControllerFetchSwaggerJSONGET /projects/{projectId}/{fieldName}/{modelId}/swaggerFetch Swagger JSON
QueriesAndDocumentationsApiqueriesAndDocControllerRunQueryPOST /projects/{projectId}/queriesRun Query
RolesApirolesControllerCreateProjectRolePOST /projects/{projectId}/rolesCreate a new role
RolesApirolesControllerDeleteProjectRoleDELETE /projects/{projectId}/roles/{roleId}Delete Project Role
RolesApirolesControllerGetAllProjectRolesGET /projects/{projectId}/rolesRetrieve all roles
RolesApirolesControllerGetProjectRoleByIdGET /projects/{projectId}/roles/{roleId}Retrieve a role by ID
RolesApirolesControllerGetUserProjectRoleGET /projects/{id}/members/roleRetrieve the role of a specific member
RolesApirolesControllerUpdateProjectRoleByIdPATCH /projects/{projectId}/roles/{roleId}Update a role
WebhookApiwebhookControllerCreateWebhookPOST /projects/{projectId}/webhooksCreate webhook
WebhookApiwebhookControllerDeleteWebhookDELETE /projects/{projectId}/webhooks/{modelId}Delete webhook
WebhookApiwebhookControllerFetchWebhookGET /projects/{projectId}/webhooks/{modelId}Fetch webhook
WebhookApiwebhookControllerUpdateWebhookPUT /projects/{projectId}/webhooks/{webhookId}Update webhook

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

1.0.42

6 months ago

1.0.39

7 months ago

1.0.38

7 months ago

1.0.31

7 months ago

1.0.30

8 months ago

1.0.29

8 months ago

1.0.28

8 months ago

1.0.27

8 months ago

1.0.26

8 months ago

1.0.25

8 months ago

1.0.24

8 months ago

1.0.23

8 months ago