@agilegravity/agile-ai-trainerserver-client

1.18.19 • Public • Published

agilegravityagile_ai_trainerserver_client

AgilegravityagileAiTrainerserverClient - JavaScript client for agilegravityagile_ai_trainerserver_client This is the rest API for agile AI This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.18.19-alpha.3
  • Package version: 1.18.19-alpha.3
  • Build package: io.swagger.codegen.v3.generators.javascript.JavaScriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install agilegravityagile_ai_trainerserver_client --save

git

If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var AgilegravityagileAiTrainerserverClient = require('agilegravityagile_ai_trainerserver_client');
var defaultClient = AgilegravityagileAiTrainerserverClient.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['Authorization'] = "Token"

// Configure OAuth2 access token for authorization: oauthClientCredentials
var oauthClientCredentials = defaultClient.authentications['oauthClientCredentials'];
oauthClientCredentials.accessToken = "YOUR ACCESS TOKEN"

var api = new AgilegravityagileAiTrainerserverClient.AccountsApi()
var body = new AgilegravityagileAiTrainerserverClient.Account(); // {Account} 

api.createAccount(body).then(function(data) {
  console.log('API called successfully. Returned data: ' + data);
}, function(error) {
  console.error(error);
});

Documentation for API Endpoints

All URIs are relative to /

Class Method HTTP request Description
AgilegravityagileAiTrainerserverClient.AccountsApi createAccount POST /api/v1/accounts
AgilegravityagileAiTrainerserverClient.AccountsApi deleteAccount DELETE /api/v1/accounts/{accountId}
AgilegravityagileAiTrainerserverClient.AccountsApi getAccount GET /api/v1/accounts/{accountId}
AgilegravityagileAiTrainerserverClient.AccountsApi getAccounts GET /api/v1/accounts
AgilegravityagileAiTrainerserverClient.AccountsApi updateAccount PUT /api/v1/accounts/{accountId}
AgilegravityagileAiTrainerserverClient.AicontextApi getAiContexts GET /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}/aicontexts
AgilegravityagileAiTrainerserverClient.BricksApi getBricks GET /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}/topics/{topicId}/bricks
AgilegravityagileAiTrainerserverClient.ChannelsApi createChannel POST /api/v1/accounts/{accountId}/projects/{projectId}/channels
AgilegravityagileAiTrainerserverClient.ChannelsApi deleteChannel DELETE /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}
AgilegravityagileAiTrainerserverClient.ChannelsApi getChannel GET /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}
AgilegravityagileAiTrainerserverClient.ChannelsApi getChannels GET /api/v1/accounts/{accountId}/projects/{projectId}/channels
AgilegravityagileAiTrainerserverClient.ChannelsApi updateChannel PUT /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}
AgilegravityagileAiTrainerserverClient.CloneApi cloneVersion POST /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/clone
AgilegravityagileAiTrainerserverClient.ConfigApi getConfig GET /api/v1/config
AgilegravityagileAiTrainerserverClient.ConfigApi login POST /api/v1/login
AgilegravityagileAiTrainerserverClient.CucumberFeaturesApi createCucumberFeature POST /api/v1/{b2bPartnerId}/cucumber-features
AgilegravityagileAiTrainerserverClient.CucumberFeaturesApi deleteCucumberFeature DELETE /api/v1/{b2bPartnerId}/cucumber-features/{CucumberFeatureId}
AgilegravityagileAiTrainerserverClient.CucumberFeaturesApi getCucumberFeature GET /api/v1/{b2bPartnerId}/cucumber-features/{CucumberFeatureId}
AgilegravityagileAiTrainerserverClient.CucumberFeaturesApi getCucumberFeatures GET /api/v1/{b2bPartnerId}/cucumber-features
AgilegravityagileAiTrainerserverClient.CucumberFeaturesApi getCucumberFeaturesTags GET /api/v1/{b2bPartnerId}/cucumber-features/tags
AgilegravityagileAiTrainerserverClient.CucumberFeaturesApi updateCucumberFeature PUT /api/v1/{b2bPartnerId}/cucumber-features/{CucumberFeatureId}
AgilegravityagileAiTrainerserverClient.DataStreamTransformersJscodesApi createDataStreamTransformerJSCode POST /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/data-stream-transformer/trusted-developer-jscodes
AgilegravityagileAiTrainerserverClient.DataStreamTransformersJscodesApi deleteDataStreamTransformerJSCode DELETE /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/data-stream-transformer/trusted-developer-jscodes/{jscodeId}
AgilegravityagileAiTrainerserverClient.DataStreamTransformersJscodesApi getDataStreamTransformerJSCode GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/data-stream-transformer/trusted-developer-jscodes/{jscodeId}
AgilegravityagileAiTrainerserverClient.DataStreamTransformersJscodesApi getDataStreamTransformerJSCodes GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/data-stream-transformer/trusted-developer-jscodes
AgilegravityagileAiTrainerserverClient.DataStreamTransformersJscodesApi updateDataStreamTransformerJSCode PUT /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/data-stream-transformer/trusted-developer-jscodes/{jscodeId}
AgilegravityagileAiTrainerserverClient.DataStreamTransformersRunApi runDataStreamTransformer POST /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}/run-data-stream-transformer
AgilegravityagileAiTrainerserverClient.EventsApi getEvents GET /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}/topics/{topicId}/events
AgilegravityagileAiTrainerserverClient.ExportImportApi exportVersion GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/export
AgilegravityagileAiTrainerserverClient.ExportImportApi importVersion POST /api/v1/accounts/{accountId}/projects/{projectId}/import-version
AgilegravityagileAiTrainerserverClient.FactsApi apiV1FactsGet GET /api/v1/facts
AgilegravityagileAiTrainerserverClient.ImageApi uploadImage POST /api/v1/image/upload
AgilegravityagileAiTrainerserverClient.JsonSchemaApi createJsonSchema POST /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/json-schema
AgilegravityagileAiTrainerserverClient.JsonSchemaApi deleteJsonSchema DELETE /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/json-schema/{schemaId}
AgilegravityagileAiTrainerserverClient.JsonSchemaApi getJsonSchema GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/json-schema/{schemaId}
AgilegravityagileAiTrainerserverClient.JsonSchemaApi getJsonSchemas GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/json-schema
AgilegravityagileAiTrainerserverClient.JsonSchemaApi updateJsonSchema PUT /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/json-schema/{schemaId}
AgilegravityagileAiTrainerserverClient.MachineLearningJobApi createJob POST /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/machine-learning-job
AgilegravityagileAiTrainerserverClient.MachineLearningJobApi deleteJob DELETE /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/machine-learning/jobId/{jobId}
AgilegravityagileAiTrainerserverClient.MachineLearningJobApi getJob GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/machine-learning/jobId/{jobId}
AgilegravityagileAiTrainerserverClient.MachineLearningJobApi getJobs GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/machine-learning-job
AgilegravityagileAiTrainerserverClient.MachineLearningModelsApi createMachineLearningModel POST /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/machine-learning-models
AgilegravityagileAiTrainerserverClient.MachineLearningModelsApi deleteMachineLearningModel DELETE /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/machine-learning-models/{machineLearningModelId}
AgilegravityagileAiTrainerserverClient.MachineLearningModelsApi getMachineLearningModel GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/machine-learning-models/{machineLearningModelId}
AgilegravityagileAiTrainerserverClient.MachineLearningModelsApi getMachineLearningModels GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/machine-learning-models
AgilegravityagileAiTrainerserverClient.MachineLearningModelsApi updateMachineLearningModel PUT /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/machine-learning-models/{machineLearningModelId}
AgilegravityagileAiTrainerserverClient.MicroIntendsApi createMicroIntend POST /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/micro-intends
AgilegravityagileAiTrainerserverClient.MicroIntendsApi deleteMicroIntend DELETE /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/micro-intends/{microIntendId}
AgilegravityagileAiTrainerserverClient.MicroIntendsApi getMicroIntend GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/micro-intends/{microIntendId}
AgilegravityagileAiTrainerserverClient.MicroIntendsApi getMicroIntends GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/micro-intends
AgilegravityagileAiTrainerserverClient.MicroIntendsApi updateMicroIntend PUT /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/micro-intends/{microIntendId}
AgilegravityagileAiTrainerserverClient.MicroMacroApi createMicroMacro POST /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/micro-macro
AgilegravityagileAiTrainerserverClient.MicroMacroApi deleteMicroMacro DELETE /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/micro-macro/{microMacroId}
AgilegravityagileAiTrainerserverClient.MicroMacroApi getMicroMacro GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/micro-macro/{microMacroId}
AgilegravityagileAiTrainerserverClient.MicroMacroApi getMicroMacros GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/micro-macro
AgilegravityagileAiTrainerserverClient.MicroMacroApi updateMicroMacro PUT /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/micro-macro/{microMacroId}
AgilegravityagileAiTrainerserverClient.NlpApi runNlp POST /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/nlp
AgilegravityagileAiTrainerserverClient.NlpProcessorApi createNlpProcessor POST /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/nlp-processors
AgilegravityagileAiTrainerserverClient.NlpProcessorApi deleteNlpProcessor DELETE /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/nlp-processors/{nlpProcessorId}
AgilegravityagileAiTrainerserverClient.NlpProcessorApi getNlpProcessor GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/nlp-processors/{nlpProcessorId}
AgilegravityagileAiTrainerserverClient.NlpProcessorApi getNlpProcessors GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/nlp-processors
AgilegravityagileAiTrainerserverClient.NlpProcessorApi updateNlpProcessor PUT /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/nlp-processors/{nlpProcessorId}
AgilegravityagileAiTrainerserverClient.NodeItemFunctionTemplateApi createNodeItemFunctionTemplate POST /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-item-function-templates
AgilegravityagileAiTrainerserverClient.NodeItemFunctionTemplateApi getNodeItemFunctionTemplate GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-item-function-templates/{NodeItemFunctionTemplateId}
AgilegravityagileAiTrainerserverClient.NodeItemFunctionTemplateApi getNodeItemFunctionTemplates GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-item-function-templates
AgilegravityagileAiTrainerserverClient.NodeItemFunctionTemplateApi updateNodeItemFunctionTemplate PUT /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-item-function-templates/{NodeItemFunctionTemplateId}
AgilegravityagileAiTrainerserverClient.NodeItemsApi createNodeItem POST /api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items
AgilegravityagileAiTrainerserverClient.NodeItemsApi createNodeItemByChannel POST /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channel}/node-items
AgilegravityagileAiTrainerserverClient.NodeItemsApi deleteNodeItem DELETE /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-items/{NodeItemId}
AgilegravityagileAiTrainerserverClient.NodeItemsApi deleteNodeItemByChannel DELETE /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channel}/node-items/{NodeItemId}
AgilegravityagileAiTrainerserverClient.NodeItemsApi deprecatedDeleteNodeItem DELETE /api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items/{NodeItemId}
AgilegravityagileAiTrainerserverClient.NodeItemsApi deprecatedGetNodeItem GET /api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items/{NodeItemId}
AgilegravityagileAiTrainerserverClient.NodeItemsApi deprecatedUpdateNodeItem PUT /api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items/{NodeItemId}
AgilegravityagileAiTrainerserverClient.NodeItemsApi deprecatedmoveNodeItem PUT /api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items/{NodeItemId}/move
AgilegravityagileAiTrainerserverClient.NodeItemsApi getNodeItem GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-items/{NodeItemId}
AgilegravityagileAiTrainerserverClient.NodeItemsApi getNodeItemByChannel GET /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channel}/node-items/{NodeItemId}
AgilegravityagileAiTrainerserverClient.NodeItemsApi getNodeItems GET /api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items
AgilegravityagileAiTrainerserverClient.NodeItemsApi getNodeItemsByChannel GET /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channel}/node-items
AgilegravityagileAiTrainerserverClient.NodeItemsApi moveNodeItem PUT /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-items/{NodeItemId}/move
AgilegravityagileAiTrainerserverClient.NodeItemsApi updateNodeItem PUT /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-items/{NodeItemId}
AgilegravityagileAiTrainerserverClient.NodeItemsApi updateNodeItemByChannel PUT /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channel}/node-items/{NodeItemId}
AgilegravityagileAiTrainerserverClient.OpenApiJsonApi getChannelOpenApiJson GET /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}/openapi.json
AgilegravityagileAiTrainerserverClient.OpenApiJsonApi getOpenApiJson GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/openapi.json
AgilegravityagileAiTrainerserverClient.OpenApiJsonApi getPlainOpenApiJson GET /openapi.json
AgilegravityagileAiTrainerserverClient.PackedVersionApi getPackedVersion GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/packed-version
AgilegravityagileAiTrainerserverClient.PlaygroundApi createPlayground POST /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/playgrounds
AgilegravityagileAiTrainerserverClient.PlaygroundApi deletePlayground DELETE /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/playgrounds/{playgroundId}
AgilegravityagileAiTrainerserverClient.PlaygroundApi getPlayground GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/playgrounds/{playgroundId}
AgilegravityagileAiTrainerserverClient.PlaygroundApi getPlaygrounds GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/playgrounds
AgilegravityagileAiTrainerserverClient.PlaygroundApi updatePlayground PUT /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/playgrounds/{playgroundId}
AgilegravityagileAiTrainerserverClient.ProjectVersionApi createVersion POST /api/v1/accounts/{accountId}/projects/{projectId}/versions
AgilegravityagileAiTrainerserverClient.ProjectVersionApi deleteVersion DELETE /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}
AgilegravityagileAiTrainerserverClient.ProjectVersionApi getVersion GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}
AgilegravityagileAiTrainerserverClient.ProjectVersionApi getVersions GET /api/v1/accounts/{accountId}/projects/{projectId}/versions
AgilegravityagileAiTrainerserverClient.ProjectVersionApi updateVersion PUT /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}
AgilegravityagileAiTrainerserverClient.ProjectsApi createProject POST /api/v1/accounts/{accountId}/projects
AgilegravityagileAiTrainerserverClient.ProjectsApi deleteProject DELETE /api/v1/accounts/{accountId}/projects/{projectId}
AgilegravityagileAiTrainerserverClient.ProjectsApi getProject GET /api/v1/accounts/{accountId}/projects/{projectId}
AgilegravityagileAiTrainerserverClient.ProjectsApi getProjects GET /api/v1/accounts/{accountId}/projects
AgilegravityagileAiTrainerserverClient.ProjectsApi updateProject PUT /api/v1/accounts/{accountId}/projects/{projectId}
AgilegravityagileAiTrainerserverClient.RuntimeLogApi getRuntimeLog GET /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}/runtimelogs/{runtimelogId}
AgilegravityagileAiTrainerserverClient.RuntimeLogApi getRuntimeLogs GET /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}/runtimelogs
AgilegravityagileAiTrainerserverClient.TopicsApi getTopics GET /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}/topics
AgilegravityagileAiTrainerserverClient.TrainerApiApi getChannelOpenApiJson GET /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}/openapi.json
AgilegravityagileAiTrainerserverClient.TrustedDeveloperJscodeApi createTrustedDeveloperJscode POST /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-items/{nodeitemId}/trusted-developer-jscode
AgilegravityagileAiTrainerserverClient.TrustedDeveloperJscodeApi deprecatedCreateTrustedDeveloperJscode POST /api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items/{nodeitemId}/trusted-developer-jscode
AgilegravityagileAiTrainerserverClient.TrustedDeveloperJscodeApi deprecatedgetTrustedDeveloperJscode GET /api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items/{nodeitemId}/trusted-developer-jscode
AgilegravityagileAiTrainerserverClient.TrustedDeveloperJscodeApi deprecatedupdateTrustedDeveloperJscode PUT /api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items/{nodeitemId}/trusted-developer-jscode
AgilegravityagileAiTrainerserverClient.TrustedDeveloperJscodeApi getTrustedDeveloperJscode GET /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-items/{nodeitemId}/trusted-developer-jscode
AgilegravityagileAiTrainerserverClient.TrustedDeveloperJscodeApi updateTrustedDeveloperJscode PUT /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-items/{nodeitemId}/trusted-developer-jscode

Documentation for Models

Documentation for Authorization

api_key

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

oauthClientCredentials

  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes:
    • :

oauthImplicit

Readme

Keywords

none

Package Sidebar

Install

npm i @agilegravity/agile-ai-trainerserver-client

Weekly Downloads

97

Version

1.18.19

License

Unlicense

Unpacked Size

4.5 MB

Total Files

882

Last publish

Collaborators

  • weiner
  • stahlp
  • agileegravity