Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
452 changes: 220 additions & 232 deletions README.md

Large diffs are not rendered by default.

9 changes: 2 additions & 7 deletions dist/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
*/
/**
* @module ApiClient
* @version v1.25.0-alpha
* @version v1.41.0-alpha
*/
/**
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
Expand Down Expand Up @@ -55,11 +55,6 @@ var ApiClient = /*#__PURE__*/function () {
* @type {Array.<String>}
*/
this.authentications = {
'accessToken': {
type: 'apiKey',
'in': 'header',
name: 'Authorization'
},
'apiKey': {
type: 'apiKey',
'in': 'header',
Expand All @@ -73,7 +68,7 @@ var ApiClient = /*#__PURE__*/function () {
* @default {}
*/
this.defaultHeaders = {
'User-Agent': 'OpenAPI-Generator/v1.25.0-alpha/Javascript'
'User-Agent': 'OpenAPI-Generator/v1.41.0-alpha/Javascript'
};

/**
Expand Down
35 changes: 33 additions & 2 deletions dist/api/AliveApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
/**
* Alive service.
* @module api/AliveApi
* @version v1.25.0-alpha
* @version v1.41.0-alpha
*/
var AliveApi = exports["default"] = /*#__PURE__*/function () {
/**
Expand All @@ -43,6 +43,7 @@ var AliveApi = exports["default"] = /*#__PURE__*/function () {

/**
* GET: Alive
* Retrieve the billing status of your account to ensure that it is active. An active billing status ensures uninterrupted service. For additional information [**click here**](None/docs/api-reference/billing-resources/alive/).
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
*/
return _createClass(AliveApi, [{
Expand All @@ -53,7 +54,7 @@ var AliveApi = exports["default"] = /*#__PURE__*/function () {
var queryParams = {};
var headerParams = {};
var formParams = {};
var authNames = [];
var authNames = ['apiKey'];
var contentTypes = [];
var accepts = [];
var returnType = null;
Expand All @@ -62,6 +63,7 @@ var AliveApi = exports["default"] = /*#__PURE__*/function () {

/**
* GET: Alive
* Retrieve the billing status of your account to ensure that it is active. An active billing status ensures uninterrupted service. For additional information [**click here**](None/docs/api-reference/billing-resources/alive/).
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
*/
}, {
Expand All @@ -71,5 +73,34 @@ var AliveApi = exports["default"] = /*#__PURE__*/function () {
return response_and_data.data;
});
}

/**
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
*/
}, {
key: "getDocWithHttpInfo",
value: function getDocWithHttpInfo() {
var postBody = null;
var pathParams = {};
var queryParams = {};
var headerParams = {};
var formParams = {};
var authNames = ['apiKey'];
var contentTypes = [];
var accepts = [];
var returnType = null;
return this.apiClient.callApi('/billing/alive/doc', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
}

/**
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
*/
}, {
key: "getDoc",
value: function getDoc() {
return this.getDocWithHttpInfo().then(function (response_and_data) {
return response_and_data.data;
});
}
}]);
}();
66 changes: 33 additions & 33 deletions dist/api/ApiKeyApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
/**
* ApiKey service.
* @module api/ApiKeyApi
* @version v1.25.0-alpha
* @version v1.41.0-alpha
*/
var ApiKeyApi = exports["default"] = /*#__PURE__*/function () {
/**
Expand All @@ -53,20 +53,20 @@ var ApiKeyApi = exports["default"] = /*#__PURE__*/function () {
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CommonResponseModel} and HTTP response
*/
return _createClass(ApiKeyApi, [{
key: "deleteApiKeyWithHttpInfo",
value: function deleteApiKeyWithHttpInfo(apiKeyId) {
key: "deleteAPIKeyWithHttpInfo",
value: function deleteAPIKeyWithHttpInfo(apiKeyId) {
var postBody = null;
// verify the required parameter 'apiKeyId' is set
if (apiKeyId === undefined || apiKeyId === null) {
throw new Error("Missing the required parameter 'apiKeyId' when calling deleteApiKey");
throw new Error("Missing the required parameter 'apiKeyId' when calling deleteAPIKey");
}
var pathParams = {
'api_key_id': apiKeyId
};
var queryParams = {};
var headerParams = {};
var formParams = {};
var authNames = ['apiKey', 'accessToken'];
var authNames = ['apiKey'];
var contentTypes = [];
var accepts = ['application/json'];
var returnType = _CommonResponseModel["default"];
Expand All @@ -80,32 +80,32 @@ var ApiKeyApi = exports["default"] = /*#__PURE__*/function () {
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CommonResponseModel}
*/
}, {
key: "deleteApiKey",
value: function deleteApiKey(apiKeyId) {
return this.deleteApiKeyWithHttpInfo(apiKeyId).then(function (response_and_data) {
key: "deleteAPIKey",
value: function deleteAPIKey(apiKeyId) {
return this.deleteAPIKeyWithHttpInfo(apiKeyId).then(function (response_and_data) {
return response_and_data.data;
});
}

/**
* Generate API Key
* Generates your API key, providing access to the Infrahub APIs. For further details on API keys, [**click here**](https://infrahub-doc.nexgencloud.com/docs/api-reference/auth-resources/api-key/generate-api-key).
* Generates your API key, providing access to the Infrahub APIs. For further details on API keys, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/api-key/generate-api-key).
* @param {module:model/GenerateUpdateApiKeyPayload} payload
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GenerateUpdateApiKeyResponseModel} and HTTP response
*/
}, {
key: "generateApiKeyWithHttpInfo",
value: function generateApiKeyWithHttpInfo(payload) {
key: "generateAPIKeyWithHttpInfo",
value: function generateAPIKeyWithHttpInfo(payload) {
var postBody = payload;
// verify the required parameter 'payload' is set
if (payload === undefined || payload === null) {
throw new Error("Missing the required parameter 'payload' when calling generateApiKey");
throw new Error("Missing the required parameter 'payload' when calling generateAPIKey");
}
var pathParams = {};
var queryParams = {};
var headerParams = {};
var formParams = {};
var authNames = ['accessToken'];
var authNames = [];
var contentTypes = ['application/json'];
var accepts = ['application/json'];
var returnType = _GenerateUpdateApiKeyResponseModel["default"];
Expand All @@ -114,32 +114,32 @@ var ApiKeyApi = exports["default"] = /*#__PURE__*/function () {

/**
* Generate API Key
* Generates your API key, providing access to the Infrahub APIs. For further details on API keys, [**click here**](https://infrahub-doc.nexgencloud.com/docs/api-reference/auth-resources/api-key/generate-api-key).
* Generates your API key, providing access to the Infrahub APIs. For further details on API keys, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/api-key/generate-api-key).
* @param {module:model/GenerateUpdateApiKeyPayload} payload
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GenerateUpdateApiKeyResponseModel}
*/
}, {
key: "generateApiKey",
value: function generateApiKey(payload) {
return this.generateApiKeyWithHttpInfo(payload).then(function (response_and_data) {
key: "generateAPIKey",
value: function generateAPIKey(payload) {
return this.generateAPIKeyWithHttpInfo(payload).then(function (response_and_data) {
return response_and_data.data;
});
}

/**
* Retrieve API Keys
* Retrieves your API keys, granting access to the Infrahub APIs. For further details on API keys, [**click here**](https://infrahub-doc.nexgencloud.com/docs/api-reference/auth-resources/api-key/retrieve-api-key).
* Retrieves your API keys, granting access to the Infrahub APIs. For further details on API keys, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/api-key/retrieve-api-key).
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetApiKeysResponseModel} and HTTP response
*/
}, {
key: "retrieveApiKeysWithHttpInfo",
value: function retrieveApiKeysWithHttpInfo() {
key: "retrieveAPIKeyWithHttpInfo",
value: function retrieveAPIKeyWithHttpInfo() {
var postBody = null;
var pathParams = {};
var queryParams = {};
var headerParams = {};
var formParams = {};
var authNames = ['apiKey', 'accessToken'];
var authNames = ['apiKey'];
var contentTypes = [];
var accepts = ['application/json'];
var returnType = _GetApiKeysResponseModel["default"];
Expand All @@ -148,13 +148,13 @@ var ApiKeyApi = exports["default"] = /*#__PURE__*/function () {

/**
* Retrieve API Keys
* Retrieves your API keys, granting access to the Infrahub APIs. For further details on API keys, [**click here**](https://infrahub-doc.nexgencloud.com/docs/api-reference/auth-resources/api-key/retrieve-api-key).
* Retrieves your API keys, granting access to the Infrahub APIs. For further details on API keys, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/api-key/retrieve-api-key).
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetApiKeysResponseModel}
*/
}, {
key: "retrieveApiKeys",
value: function retrieveApiKeys() {
return this.retrieveApiKeysWithHttpInfo().then(function (response_and_data) {
key: "retrieveAPIKey",
value: function retrieveAPIKey() {
return this.retrieveAPIKeyWithHttpInfo().then(function (response_and_data) {
return response_and_data.data;
});
}
Expand All @@ -167,24 +167,24 @@ var ApiKeyApi = exports["default"] = /*#__PURE__*/function () {
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GenerateUpdateApiKeyResponseModel} and HTTP response
*/
}, {
key: "updateApiKeyWithHttpInfo",
value: function updateApiKeyWithHttpInfo(apiKeyId, payload) {
key: "updateAPIKeyWithHttpInfo",
value: function updateAPIKeyWithHttpInfo(apiKeyId, payload) {
var postBody = payload;
// verify the required parameter 'apiKeyId' is set
if (apiKeyId === undefined || apiKeyId === null) {
throw new Error("Missing the required parameter 'apiKeyId' when calling updateApiKey");
throw new Error("Missing the required parameter 'apiKeyId' when calling updateAPIKey");
}
// verify the required parameter 'payload' is set
if (payload === undefined || payload === null) {
throw new Error("Missing the required parameter 'payload' when calling updateApiKey");
throw new Error("Missing the required parameter 'payload' when calling updateAPIKey");
}
var pathParams = {
'api_key_id': apiKeyId
};
var queryParams = {};
var headerParams = {};
var formParams = {};
var authNames = ['apiKey', 'accessToken'];
var authNames = ['apiKey'];
var contentTypes = ['application/json'];
var accepts = ['application/json'];
var returnType = _GenerateUpdateApiKeyResponseModel["default"];
Expand All @@ -199,9 +199,9 @@ var ApiKeyApi = exports["default"] = /*#__PURE__*/function () {
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GenerateUpdateApiKeyResponseModel}
*/
}, {
key: "updateApiKey",
value: function updateApiKey(apiKeyId, payload) {
return this.updateApiKeyWithHttpInfo(apiKeyId, payload).then(function (response_and_data) {
key: "updateAPIKey",
value: function updateAPIKey(apiKeyId, payload) {
return this.updateAPIKeyWithHttpInfo(apiKeyId, payload).then(function (response_and_data) {
return response_and_data.data;
});
}
Expand Down
Loading