Skip to content

Commit 072af7b

Browse files
authored
SDK Release v1.41.0-alpha with Infrahub v1.41.0 (#1)
1 parent 2079582 commit 072af7b

1,477 files changed

Lines changed: 41551 additions & 54863 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

README.md

Lines changed: 220 additions & 232 deletions
Large diffs are not rendered by default.

dist/ApiClient.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
2525
*/
2626
/**
2727
* @module ApiClient
28-
* @version v1.25.0-alpha
28+
* @version v1.41.0-alpha
2929
*/
3030
/**
3131
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
@@ -55,11 +55,6 @@ var ApiClient = /*#__PURE__*/function () {
5555
* @type {Array.<String>}
5656
*/
5757
this.authentications = {
58-
'accessToken': {
59-
type: 'apiKey',
60-
'in': 'header',
61-
name: 'Authorization'
62-
},
6358
'apiKey': {
6459
type: 'apiKey',
6560
'in': 'header',
@@ -73,7 +68,7 @@ var ApiClient = /*#__PURE__*/function () {
7368
* @default {}
7469
*/
7570
this.defaultHeaders = {
76-
'User-Agent': 'OpenAPI-Generator/v1.25.0-alpha/Javascript'
71+
'User-Agent': 'OpenAPI-Generator/v1.41.0-alpha/Javascript'
7772
};
7873

7974
/**

dist/api/AliveApi.js

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
2626
/**
2727
* Alive service.
2828
* @module api/AliveApi
29-
* @version v1.25.0-alpha
29+
* @version v1.41.0-alpha
3030
*/
3131
var AliveApi = exports["default"] = /*#__PURE__*/function () {
3232
/**
@@ -43,6 +43,7 @@ var AliveApi = exports["default"] = /*#__PURE__*/function () {
4343

4444
/**
4545
* GET: Alive
46+
* 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/).
4647
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
4748
*/
4849
return _createClass(AliveApi, [{
@@ -53,7 +54,7 @@ var AliveApi = exports["default"] = /*#__PURE__*/function () {
5354
var queryParams = {};
5455
var headerParams = {};
5556
var formParams = {};
56-
var authNames = [];
57+
var authNames = ['apiKey'];
5758
var contentTypes = [];
5859
var accepts = [];
5960
var returnType = null;
@@ -62,6 +63,7 @@ var AliveApi = exports["default"] = /*#__PURE__*/function () {
6263

6364
/**
6465
* GET: Alive
66+
* 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/).
6567
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
6668
*/
6769
}, {
@@ -71,5 +73,34 @@ var AliveApi = exports["default"] = /*#__PURE__*/function () {
7173
return response_and_data.data;
7274
});
7375
}
76+
77+
/**
78+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
79+
*/
80+
}, {
81+
key: "getDocWithHttpInfo",
82+
value: function getDocWithHttpInfo() {
83+
var postBody = null;
84+
var pathParams = {};
85+
var queryParams = {};
86+
var headerParams = {};
87+
var formParams = {};
88+
var authNames = ['apiKey'];
89+
var contentTypes = [];
90+
var accepts = [];
91+
var returnType = null;
92+
return this.apiClient.callApi('/billing/alive/doc', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
93+
}
94+
95+
/**
96+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
97+
*/
98+
}, {
99+
key: "getDoc",
100+
value: function getDoc() {
101+
return this.getDocWithHttpInfo().then(function (response_and_data) {
102+
return response_and_data.data;
103+
});
104+
}
74105
}]);
75106
}();

dist/api/ApiKeyApi.js

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
3131
/**
3232
* ApiKey service.
3333
* @module api/ApiKeyApi
34-
* @version v1.25.0-alpha
34+
* @version v1.41.0-alpha
3535
*/
3636
var ApiKeyApi = exports["default"] = /*#__PURE__*/function () {
3737
/**
@@ -53,20 +53,20 @@ var ApiKeyApi = exports["default"] = /*#__PURE__*/function () {
5353
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CommonResponseModel} and HTTP response
5454
*/
5555
return _createClass(ApiKeyApi, [{
56-
key: "deleteApiKeyWithHttpInfo",
57-
value: function deleteApiKeyWithHttpInfo(apiKeyId) {
56+
key: "deleteAPIKeyWithHttpInfo",
57+
value: function deleteAPIKeyWithHttpInfo(apiKeyId) {
5858
var postBody = null;
5959
// verify the required parameter 'apiKeyId' is set
6060
if (apiKeyId === undefined || apiKeyId === null) {
61-
throw new Error("Missing the required parameter 'apiKeyId' when calling deleteApiKey");
61+
throw new Error("Missing the required parameter 'apiKeyId' when calling deleteAPIKey");
6262
}
6363
var pathParams = {
6464
'api_key_id': apiKeyId
6565
};
6666
var queryParams = {};
6767
var headerParams = {};
6868
var formParams = {};
69-
var authNames = ['apiKey', 'accessToken'];
69+
var authNames = ['apiKey'];
7070
var contentTypes = [];
7171
var accepts = ['application/json'];
7272
var returnType = _CommonResponseModel["default"];
@@ -80,32 +80,32 @@ var ApiKeyApi = exports["default"] = /*#__PURE__*/function () {
8080
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CommonResponseModel}
8181
*/
8282
}, {
83-
key: "deleteApiKey",
84-
value: function deleteApiKey(apiKeyId) {
85-
return this.deleteApiKeyWithHttpInfo(apiKeyId).then(function (response_and_data) {
83+
key: "deleteAPIKey",
84+
value: function deleteAPIKey(apiKeyId) {
85+
return this.deleteAPIKeyWithHttpInfo(apiKeyId).then(function (response_and_data) {
8686
return response_and_data.data;
8787
});
8888
}
8989

9090
/**
9191
* Generate API Key
92-
* 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).
92+
* 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).
9393
* @param {module:model/GenerateUpdateApiKeyPayload} payload
9494
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GenerateUpdateApiKeyResponseModel} and HTTP response
9595
*/
9696
}, {
97-
key: "generateApiKeyWithHttpInfo",
98-
value: function generateApiKeyWithHttpInfo(payload) {
97+
key: "generateAPIKeyWithHttpInfo",
98+
value: function generateAPIKeyWithHttpInfo(payload) {
9999
var postBody = payload;
100100
// verify the required parameter 'payload' is set
101101
if (payload === undefined || payload === null) {
102-
throw new Error("Missing the required parameter 'payload' when calling generateApiKey");
102+
throw new Error("Missing the required parameter 'payload' when calling generateAPIKey");
103103
}
104104
var pathParams = {};
105105
var queryParams = {};
106106
var headerParams = {};
107107
var formParams = {};
108-
var authNames = ['accessToken'];
108+
var authNames = [];
109109
var contentTypes = ['application/json'];
110110
var accepts = ['application/json'];
111111
var returnType = _GenerateUpdateApiKeyResponseModel["default"];
@@ -114,32 +114,32 @@ var ApiKeyApi = exports["default"] = /*#__PURE__*/function () {
114114

115115
/**
116116
* Generate API Key
117-
* 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).
117+
* 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).
118118
* @param {module:model/GenerateUpdateApiKeyPayload} payload
119119
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GenerateUpdateApiKeyResponseModel}
120120
*/
121121
}, {
122-
key: "generateApiKey",
123-
value: function generateApiKey(payload) {
124-
return this.generateApiKeyWithHttpInfo(payload).then(function (response_and_data) {
122+
key: "generateAPIKey",
123+
value: function generateAPIKey(payload) {
124+
return this.generateAPIKeyWithHttpInfo(payload).then(function (response_and_data) {
125125
return response_and_data.data;
126126
});
127127
}
128128

129129
/**
130130
* Retrieve API Keys
131-
* 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).
131+
* 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).
132132
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetApiKeysResponseModel} and HTTP response
133133
*/
134134
}, {
135-
key: "retrieveApiKeysWithHttpInfo",
136-
value: function retrieveApiKeysWithHttpInfo() {
135+
key: "retrieveAPIKeyWithHttpInfo",
136+
value: function retrieveAPIKeyWithHttpInfo() {
137137
var postBody = null;
138138
var pathParams = {};
139139
var queryParams = {};
140140
var headerParams = {};
141141
var formParams = {};
142-
var authNames = ['apiKey', 'accessToken'];
142+
var authNames = ['apiKey'];
143143
var contentTypes = [];
144144
var accepts = ['application/json'];
145145
var returnType = _GetApiKeysResponseModel["default"];
@@ -148,13 +148,13 @@ var ApiKeyApi = exports["default"] = /*#__PURE__*/function () {
148148

149149
/**
150150
* Retrieve API Keys
151-
* 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).
151+
* 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).
152152
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetApiKeysResponseModel}
153153
*/
154154
}, {
155-
key: "retrieveApiKeys",
156-
value: function retrieveApiKeys() {
157-
return this.retrieveApiKeysWithHttpInfo().then(function (response_and_data) {
155+
key: "retrieveAPIKey",
156+
value: function retrieveAPIKey() {
157+
return this.retrieveAPIKeyWithHttpInfo().then(function (response_and_data) {
158158
return response_and_data.data;
159159
});
160160
}
@@ -167,24 +167,24 @@ var ApiKeyApi = exports["default"] = /*#__PURE__*/function () {
167167
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GenerateUpdateApiKeyResponseModel} and HTTP response
168168
*/
169169
}, {
170-
key: "updateApiKeyWithHttpInfo",
171-
value: function updateApiKeyWithHttpInfo(apiKeyId, payload) {
170+
key: "updateAPIKeyWithHttpInfo",
171+
value: function updateAPIKeyWithHttpInfo(apiKeyId, payload) {
172172
var postBody = payload;
173173
// verify the required parameter 'apiKeyId' is set
174174
if (apiKeyId === undefined || apiKeyId === null) {
175-
throw new Error("Missing the required parameter 'apiKeyId' when calling updateApiKey");
175+
throw new Error("Missing the required parameter 'apiKeyId' when calling updateAPIKey");
176176
}
177177
// verify the required parameter 'payload' is set
178178
if (payload === undefined || payload === null) {
179-
throw new Error("Missing the required parameter 'payload' when calling updateApiKey");
179+
throw new Error("Missing the required parameter 'payload' when calling updateAPIKey");
180180
}
181181
var pathParams = {
182182
'api_key_id': apiKeyId
183183
};
184184
var queryParams = {};
185185
var headerParams = {};
186186
var formParams = {};
187-
var authNames = ['apiKey', 'accessToken'];
187+
var authNames = ['apiKey'];
188188
var contentTypes = ['application/json'];
189189
var accepts = ['application/json'];
190190
var returnType = _GenerateUpdateApiKeyResponseModel["default"];
@@ -199,9 +199,9 @@ var ApiKeyApi = exports["default"] = /*#__PURE__*/function () {
199199
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GenerateUpdateApiKeyResponseModel}
200200
*/
201201
}, {
202-
key: "updateApiKey",
203-
value: function updateApiKey(apiKeyId, payload) {
204-
return this.updateApiKeyWithHttpInfo(apiKeyId, payload).then(function (response_and_data) {
202+
key: "updateAPIKey",
203+
value: function updateAPIKey(apiKeyId, payload) {
204+
return this.updateAPIKeyWithHttpInfo(apiKeyId, payload).then(function (response_and_data) {
205205
return response_and_data.data;
206206
});
207207
}

0 commit comments

Comments
 (0)