edge-impulse-api 1.93.20 → 1.93.22
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/build/browser/edge-impulse-api.d.ts +471 -3
- package/build/browser/edge-impulse-api.js +1449 -497
- package/build/browser/edge-impulse-api.js.map +1 -1
- package/build/library/sdk/api/organizationBlocksApi.d.ts +114 -0
- package/build/library/sdk/api/organizationBlocksApi.js +514 -0
- package/build/library/sdk/api/organizationBlocksApi.js.map +1 -1
- package/build/library/sdk/api/projectsApi.d.ts +56 -0
- package/build/library/sdk/api/projectsApi.js +316 -0
- package/build/library/sdk/api/projectsApi.js.map +1 -1
- package/build/library/sdk/model/actorProjectApiKey.d.ts +2 -0
- package/build/library/sdk/model/actorProjectApiKey.js.map +1 -1
- package/build/library/sdk/model/addOrganizationExtensionBlockRequest.d.ts +59 -0
- package/build/library/sdk/model/addOrganizationExtensionBlockRequest.js +6 -0
- package/build/library/sdk/model/addOrganizationExtensionBlockRequest.js.map +1 -0
- package/build/library/sdk/model/addProjectActiveExtensionRequest.d.ts +3 -0
- package/build/library/sdk/model/addProjectActiveExtensionRequest.js +4 -0
- package/build/library/sdk/model/addProjectActiveExtensionRequest.js.map +1 -0
- package/build/library/sdk/model/addProjectApiKeyRequest.d.ts +6 -3
- package/build/library/sdk/model/addProjectApiKeyRequest.js +0 -2
- package/build/library/sdk/model/addProjectApiKeyRequest.js.map +1 -1
- package/build/library/sdk/model/apiKeyExtension.d.ts +4 -0
- package/build/library/sdk/model/apiKeyExtension.js +4 -0
- package/build/library/sdk/model/apiKeyExtension.js.map +1 -0
- package/build/library/sdk/model/extension.d.ts +35 -0
- package/build/library/sdk/model/extension.js +6 -0
- package/build/library/sdk/model/extension.js.map +1 -0
- package/build/library/sdk/model/extensionVisibility.d.ts +7 -0
- package/build/library/sdk/model/extensionVisibility.js +6 -0
- package/build/library/sdk/model/extensionVisibility.js.map +1 -0
- package/build/library/sdk/model/getCurrentApiKeyInfoResponse.d.ts +14 -0
- package/build/library/sdk/model/getCurrentApiKeyInfoResponse.js +4 -0
- package/build/library/sdk/model/getCurrentApiKeyInfoResponse.js.map +1 -0
- package/build/library/sdk/model/getOrganizationExtensionBlockResponse.d.ts +12 -0
- package/build/library/sdk/model/getOrganizationExtensionBlockResponse.js +4 -0
- package/build/library/sdk/model/getOrganizationExtensionBlockResponse.js.map +1 -0
- package/build/library/sdk/model/getProjectActiveExtensionsResponse.d.ts +12 -0
- package/build/library/sdk/model/getProjectActiveExtensionsResponse.js +4 -0
- package/build/library/sdk/model/getProjectActiveExtensionsResponse.js.map +1 -0
- package/build/library/sdk/model/listOrganizationExtensionBlocksResponse.d.ts +12 -0
- package/build/library/sdk/model/listOrganizationExtensionBlocksResponse.js +4 -0
- package/build/library/sdk/model/listOrganizationExtensionBlocksResponse.js.map +1 -0
- package/build/library/sdk/model/listProjectAvailableExtensionsResponse.d.ts +16 -0
- package/build/library/sdk/model/listProjectAvailableExtensionsResponse.js +4 -0
- package/build/library/sdk/model/listProjectAvailableExtensionsResponse.js.map +1 -0
- package/build/library/sdk/model/models.d.ts +14 -0
- package/build/library/sdk/model/models.js +14 -0
- package/build/library/sdk/model/models.js.map +1 -1
- package/build/library/sdk/model/projectApiKey.d.ts +2 -0
- package/build/library/sdk/model/projectApiKey.js.map +1 -1
- package/build/library/sdk/model/projectApiKeyRole.d.ts +2 -0
- package/build/library/sdk/model/projectApiKeyRole.js +6 -0
- package/build/library/sdk/model/projectApiKeyRole.js.map +1 -0
- package/build/library/sdk/model/projectExtension.d.ts +37 -0
- package/build/library/sdk/model/projectExtension.js +6 -0
- package/build/library/sdk/model/projectExtension.js.map +1 -0
- package/build/library/sdk/model/projectInfoResponse.d.ts +4 -0
- package/build/library/sdk/model/projectInfoResponse.js.map +1 -1
- package/build/library/sdk/model/removeProjectActiveExtensionResponse.d.ts +14 -0
- package/build/library/sdk/model/removeProjectActiveExtensionResponse.js +4 -0
- package/build/library/sdk/model/removeProjectActiveExtensionResponse.js.map +1 -0
- package/build/library/sdk/model/setKerasParameterRequest.d.ts +5 -0
- package/build/library/sdk/model/setKerasParameterRequest.js.map +1 -1
- package/build/library/sdk/model/updateOrganizationExtensionBlockRequest.d.ts +59 -0
- package/build/library/sdk/model/updateOrganizationExtensionBlockRequest.js +6 -0
- package/build/library/sdk/model/updateOrganizationExtensionBlockRequest.js.map +1 -0
- package/build/library/sdk/model/updateProjectRequest.d.ts +4 -0
- package/build/library/sdk/model/updateProjectRequest.js.map +1 -1
- package/package.json +1 -1
|
@@ -24884,13 +24884,25 @@ class OrganizationBlocksApi {
|
|
|
24884
24884
|
return this.handleResponse(response, 'EntityCreatedResponse');
|
|
24885
24885
|
}
|
|
24886
24886
|
/**
|
|
24887
|
-
* Adds
|
|
24888
|
-
* @summary Add
|
|
24887
|
+
* Adds an extension block.
|
|
24888
|
+
* @summary Add extension block
|
|
24889
24889
|
* @param organizationId Organization ID
|
|
24890
|
-
* @param
|
|
24891
|
-
|
|
24892
|
-
|
|
24893
|
-
|
|
24890
|
+
* @param name Extension block name.
|
|
24891
|
+
* @param description Extension block description.
|
|
24892
|
+
* @param url URL loaded by the extension.
|
|
24893
|
+
* @param navbarLocation Studio navigation location for the extension.
|
|
24894
|
+
* @param requiredApiKeyRole
|
|
24895
|
+
* @param onlyAvailableInProjectId Required if \\\"visibility\\\" is \\\"project\\\". If set, this extension is scoped to this specific project.
|
|
24896
|
+
* @param repositoryUrl Optional source repository URL for the extension.
|
|
24897
|
+
* @param logo Optional logo image for the extension.
|
|
24898
|
+
* @param navbarIcon Optional Font Awesome icon class for the navigation item.
|
|
24899
|
+
* @param visibility
|
|
24900
|
+
* @param publicProjectTierAvailability
|
|
24901
|
+
* @param indBlockNoLongerAvailable Whether this extension is no longer available.
|
|
24902
|
+
* @param blockNoLongerAvailableReason Reason this extension is no longer available.
|
|
24903
|
+
*/
|
|
24904
|
+
async addOrganizationExtensionBlock(organizationId, params, options = { headers: {} }) {
|
|
24905
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/extension'
|
|
24894
24906
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)));
|
|
24895
24907
|
let queryParameters = {};
|
|
24896
24908
|
let localVarHeaderParams = {
|
|
@@ -24909,17 +24921,103 @@ class OrganizationBlocksApi {
|
|
|
24909
24921
|
let localVarFormParams;
|
|
24910
24922
|
// verify required parameter 'organizationId' is not null or undefined
|
|
24911
24923
|
if (organizationId === null || organizationId === undefined) {
|
|
24912
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
24924
|
+
throw new Error('Required parameter organizationId was null or undefined when calling addOrganizationExtensionBlock.');
|
|
24913
24925
|
}
|
|
24914
|
-
// verify required parameter '
|
|
24915
|
-
if (
|
|
24916
|
-
throw new Error('Required parameter
|
|
24926
|
+
// verify required parameter 'name' is not null or undefined
|
|
24927
|
+
if (params.name === null || params.name === undefined) {
|
|
24928
|
+
throw new Error('Required parameter params.name was null or undefined when calling addOrganizationExtensionBlock.');
|
|
24929
|
+
}
|
|
24930
|
+
// verify required parameter 'description' is not null or undefined
|
|
24931
|
+
if (params.description === null || params.description === undefined) {
|
|
24932
|
+
throw new Error('Required parameter params.description was null or undefined when calling addOrganizationExtensionBlock.');
|
|
24933
|
+
}
|
|
24934
|
+
// verify required parameter 'url' is not null or undefined
|
|
24935
|
+
if (params.url === null || params.url === undefined) {
|
|
24936
|
+
throw new Error('Required parameter params.url was null or undefined when calling addOrganizationExtensionBlock.');
|
|
24937
|
+
}
|
|
24938
|
+
// verify required parameter 'navbarLocation' is not null or undefined
|
|
24939
|
+
if (params.navbarLocation === null || params.navbarLocation === undefined) {
|
|
24940
|
+
throw new Error('Required parameter params.navbarLocation was null or undefined when calling addOrganizationExtensionBlock.');
|
|
24941
|
+
}
|
|
24942
|
+
// verify required parameter 'requiredApiKeyRole' is not null or undefined
|
|
24943
|
+
if (params.requiredApiKeyRole === null || params.requiredApiKeyRole === undefined) {
|
|
24944
|
+
throw new Error('Required parameter params.requiredApiKeyRole was null or undefined when calling addOrganizationExtensionBlock.');
|
|
24917
24945
|
}
|
|
24918
24946
|
localVarHeaderParams = {
|
|
24919
24947
|
...localVarHeaderParams,
|
|
24920
24948
|
...options.headers,
|
|
24921
24949
|
...this.opts.extraHeaders,
|
|
24922
24950
|
};
|
|
24951
|
+
if (params.name !== undefined) {
|
|
24952
|
+
if (params.name !== null && params.name !== undefined) {
|
|
24953
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'name', (0, models_1.serializeFormDataValue)(params.name, 'string'));
|
|
24954
|
+
}
|
|
24955
|
+
}
|
|
24956
|
+
if (params.onlyAvailableInProjectId !== undefined) {
|
|
24957
|
+
if (params.onlyAvailableInProjectId !== null && params.onlyAvailableInProjectId !== undefined) {
|
|
24958
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'onlyAvailableInProjectId', (0, models_1.serializeFormDataValue)(params.onlyAvailableInProjectId, 'number'));
|
|
24959
|
+
}
|
|
24960
|
+
}
|
|
24961
|
+
if (params.description !== undefined) {
|
|
24962
|
+
if (params.description !== null && params.description !== undefined) {
|
|
24963
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'description', (0, models_1.serializeFormDataValue)(params.description, 'string'));
|
|
24964
|
+
}
|
|
24965
|
+
}
|
|
24966
|
+
if (params.url !== undefined) {
|
|
24967
|
+
if (params.url !== null && params.url !== undefined) {
|
|
24968
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'url', (0, models_1.serializeFormDataValue)(params.url, 'string'));
|
|
24969
|
+
}
|
|
24970
|
+
}
|
|
24971
|
+
if (params.repositoryUrl !== undefined) {
|
|
24972
|
+
if (params.repositoryUrl !== null && params.repositoryUrl !== undefined) {
|
|
24973
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'repositoryUrl', (0, models_1.serializeFormDataValue)(params.repositoryUrl, 'string'));
|
|
24974
|
+
}
|
|
24975
|
+
}
|
|
24976
|
+
if (params.logo !== undefined) {
|
|
24977
|
+
localVarFormParams = (0, models_1.ensureFormData)(localVarFormParams);
|
|
24978
|
+
const logoFiles = Array.isArray(params.logo) ? params.logo : [params.logo];
|
|
24979
|
+
const Blob = globalThis.Blob || require('buffer').Blob;
|
|
24980
|
+
for (const f of logoFiles) {
|
|
24981
|
+
localVarFormParams.append('logo', new Blob([f.value], {
|
|
24982
|
+
type: f.options.contentType
|
|
24983
|
+
}), f.options.filename);
|
|
24984
|
+
}
|
|
24985
|
+
}
|
|
24986
|
+
if (params.navbarIcon !== undefined) {
|
|
24987
|
+
if (params.navbarIcon !== null && params.navbarIcon !== undefined) {
|
|
24988
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'navbarIcon', (0, models_1.serializeFormDataValue)(params.navbarIcon, 'string'));
|
|
24989
|
+
}
|
|
24990
|
+
}
|
|
24991
|
+
if (params.navbarLocation !== undefined) {
|
|
24992
|
+
if (params.navbarLocation !== null && params.navbarLocation !== undefined) {
|
|
24993
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'navbarLocation', (0, models_1.serializeFormDataValue)(params.navbarLocation, 'string'));
|
|
24994
|
+
}
|
|
24995
|
+
}
|
|
24996
|
+
if (params.requiredApiKeyRole !== undefined) {
|
|
24997
|
+
if (params.requiredApiKeyRole !== null && params.requiredApiKeyRole !== undefined) {
|
|
24998
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'requiredApiKeyRole', (0, models_1.serializeFormDataValue)(params.requiredApiKeyRole, 'ProjectApiKeyRole'));
|
|
24999
|
+
}
|
|
25000
|
+
}
|
|
25001
|
+
if (params.visibility !== undefined) {
|
|
25002
|
+
if (params.visibility !== null && params.visibility !== undefined) {
|
|
25003
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'visibility', (0, models_1.serializeFormDataValue)(params.visibility, 'ExtensionVisibility'));
|
|
25004
|
+
}
|
|
25005
|
+
}
|
|
25006
|
+
if (params.publicProjectTierAvailability !== undefined) {
|
|
25007
|
+
if (params.publicProjectTierAvailability !== null && params.publicProjectTierAvailability !== undefined) {
|
|
25008
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'publicProjectTierAvailability', (0, models_1.serializeFormDataValue)(params.publicProjectTierAvailability, 'PublicProjectTierAvailability'));
|
|
25009
|
+
}
|
|
25010
|
+
}
|
|
25011
|
+
if (params.indBlockNoLongerAvailable !== undefined) {
|
|
25012
|
+
if (params.indBlockNoLongerAvailable !== null && params.indBlockNoLongerAvailable !== undefined) {
|
|
25013
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'indBlockNoLongerAvailable', (0, models_1.serializeFormDataValue)(params.indBlockNoLongerAvailable, 'boolean'));
|
|
25014
|
+
}
|
|
25015
|
+
}
|
|
25016
|
+
if (params.blockNoLongerAvailableReason !== undefined) {
|
|
25017
|
+
if (params.blockNoLongerAvailableReason !== null && params.blockNoLongerAvailableReason !== undefined) {
|
|
25018
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'blockNoLongerAvailableReason', (0, models_1.serializeFormDataValue)(params.blockNoLongerAvailableReason, 'string'));
|
|
25019
|
+
}
|
|
25020
|
+
}
|
|
24923
25021
|
const queryString = Object.entries(queryParameters)
|
|
24924
25022
|
.filter(([, value]) => value !== undefined)
|
|
24925
25023
|
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
@@ -24929,7 +25027,6 @@ class OrganizationBlocksApi {
|
|
|
24929
25027
|
method: 'POST',
|
|
24930
25028
|
headers: { ...localVarHeaderParams },
|
|
24931
25029
|
};
|
|
24932
|
-
localVarRequestOptions.body = JSON.stringify(addOrganizationSecretRequest);
|
|
24933
25030
|
let requestOptions = localVarRequestOptions;
|
|
24934
25031
|
let url = localVarUrl;
|
|
24935
25032
|
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
@@ -24952,13 +25049,13 @@ class OrganizationBlocksApi {
|
|
|
24952
25049
|
return this.handleResponse(response, 'EntityCreatedResponse');
|
|
24953
25050
|
}
|
|
24954
25051
|
/**
|
|
24955
|
-
* Adds a
|
|
24956
|
-
* @summary Add
|
|
25052
|
+
* Adds a secret.
|
|
25053
|
+
* @summary Add secret
|
|
24957
25054
|
* @param organizationId Organization ID
|
|
24958
|
-
* @param
|
|
25055
|
+
* @param addOrganizationSecretRequest
|
|
24959
25056
|
*/
|
|
24960
|
-
async
|
|
24961
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
25057
|
+
async addOrganizationSecret(organizationId, addOrganizationSecretRequest, options = { headers: {} }) {
|
|
25058
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/secrets'
|
|
24962
25059
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)));
|
|
24963
25060
|
let queryParameters = {};
|
|
24964
25061
|
let localVarHeaderParams = {
|
|
@@ -24977,11 +25074,11 @@ class OrganizationBlocksApi {
|
|
|
24977
25074
|
let localVarFormParams;
|
|
24978
25075
|
// verify required parameter 'organizationId' is not null or undefined
|
|
24979
25076
|
if (organizationId === null || organizationId === undefined) {
|
|
24980
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
25077
|
+
throw new Error('Required parameter organizationId was null or undefined when calling addOrganizationSecret.');
|
|
24981
25078
|
}
|
|
24982
|
-
// verify required parameter '
|
|
24983
|
-
if (
|
|
24984
|
-
throw new Error('Required parameter
|
|
25079
|
+
// verify required parameter 'addOrganizationSecretRequest' is not null or undefined
|
|
25080
|
+
if (addOrganizationSecretRequest === null || addOrganizationSecretRequest === undefined) {
|
|
25081
|
+
throw new Error('Required parameter addOrganizationSecretRequest was null or undefined when calling addOrganizationSecret.');
|
|
24985
25082
|
}
|
|
24986
25083
|
localVarHeaderParams = {
|
|
24987
25084
|
...localVarHeaderParams,
|
|
@@ -24997,7 +25094,7 @@ class OrganizationBlocksApi {
|
|
|
24997
25094
|
method: 'POST',
|
|
24998
25095
|
headers: { ...localVarHeaderParams },
|
|
24999
25096
|
};
|
|
25000
|
-
localVarRequestOptions.body = JSON.stringify(
|
|
25097
|
+
localVarRequestOptions.body = JSON.stringify(addOrganizationSecretRequest);
|
|
25001
25098
|
let requestOptions = localVarRequestOptions;
|
|
25002
25099
|
let url = localVarUrl;
|
|
25003
25100
|
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
@@ -25020,13 +25117,13 @@ class OrganizationBlocksApi {
|
|
|
25020
25117
|
return this.handleResponse(response, 'EntityCreatedResponse');
|
|
25021
25118
|
}
|
|
25022
25119
|
/**
|
|
25023
|
-
* Adds a
|
|
25024
|
-
* @summary Add
|
|
25120
|
+
* Adds a transfer learning block.
|
|
25121
|
+
* @summary Add transfer learning block
|
|
25025
25122
|
* @param organizationId Organization ID
|
|
25026
|
-
* @param
|
|
25123
|
+
* @param addOrganizationTransferLearningBlockRequest
|
|
25027
25124
|
*/
|
|
25028
|
-
async
|
|
25029
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
25125
|
+
async addOrganizationTransferLearningBlock(organizationId, addOrganizationTransferLearningBlockRequest, options = { headers: {} }) {
|
|
25126
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/transfer-learning'
|
|
25030
25127
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)));
|
|
25031
25128
|
let queryParameters = {};
|
|
25032
25129
|
let localVarHeaderParams = {
|
|
@@ -25045,11 +25142,11 @@ class OrganizationBlocksApi {
|
|
|
25045
25142
|
let localVarFormParams;
|
|
25046
25143
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25047
25144
|
if (organizationId === null || organizationId === undefined) {
|
|
25048
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
25145
|
+
throw new Error('Required parameter organizationId was null or undefined when calling addOrganizationTransferLearningBlock.');
|
|
25049
25146
|
}
|
|
25050
|
-
// verify required parameter '
|
|
25051
|
-
if (
|
|
25052
|
-
throw new Error('Required parameter
|
|
25147
|
+
// verify required parameter 'addOrganizationTransferLearningBlockRequest' is not null or undefined
|
|
25148
|
+
if (addOrganizationTransferLearningBlockRequest === null || addOrganizationTransferLearningBlockRequest === undefined) {
|
|
25149
|
+
throw new Error('Required parameter addOrganizationTransferLearningBlockRequest was null or undefined when calling addOrganizationTransferLearningBlock.');
|
|
25053
25150
|
}
|
|
25054
25151
|
localVarHeaderParams = {
|
|
25055
25152
|
...localVarHeaderParams,
|
|
@@ -25065,7 +25162,7 @@ class OrganizationBlocksApi {
|
|
|
25065
25162
|
method: 'POST',
|
|
25066
25163
|
headers: { ...localVarHeaderParams },
|
|
25067
25164
|
};
|
|
25068
|
-
localVarRequestOptions.body = JSON.stringify(
|
|
25165
|
+
localVarRequestOptions.body = JSON.stringify(addOrganizationTransferLearningBlockRequest);
|
|
25069
25166
|
let requestOptions = localVarRequestOptions;
|
|
25070
25167
|
let url = localVarUrl;
|
|
25071
25168
|
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
@@ -25088,15 +25185,14 @@ class OrganizationBlocksApi {
|
|
|
25088
25185
|
return this.handleResponse(response, 'EntityCreatedResponse');
|
|
25089
25186
|
}
|
|
25090
25187
|
/**
|
|
25091
|
-
*
|
|
25092
|
-
* @summary
|
|
25188
|
+
* Adds a transformation block.
|
|
25189
|
+
* @summary Add transformation block
|
|
25093
25190
|
* @param organizationId Organization ID
|
|
25094
|
-
* @param
|
|
25191
|
+
* @param addOrganizationTransformationBlockRequest
|
|
25095
25192
|
*/
|
|
25096
|
-
async
|
|
25097
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
25098
|
-
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
25099
|
-
.replace('{' + 'deployId' + '}', encodeURIComponent(String(deployId)));
|
|
25193
|
+
async addOrganizationTransformationBlock(organizationId, addOrganizationTransformationBlockRequest, options = { headers: {} }) {
|
|
25194
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/transformation'
|
|
25195
|
+
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)));
|
|
25100
25196
|
let queryParameters = {};
|
|
25101
25197
|
let localVarHeaderParams = {
|
|
25102
25198
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -25114,11 +25210,11 @@ class OrganizationBlocksApi {
|
|
|
25114
25210
|
let localVarFormParams;
|
|
25115
25211
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25116
25212
|
if (organizationId === null || organizationId === undefined) {
|
|
25117
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
25213
|
+
throw new Error('Required parameter organizationId was null or undefined when calling addOrganizationTransformationBlock.');
|
|
25118
25214
|
}
|
|
25119
|
-
// verify required parameter '
|
|
25120
|
-
if (
|
|
25121
|
-
throw new Error('Required parameter
|
|
25215
|
+
// verify required parameter 'addOrganizationTransformationBlockRequest' is not null or undefined
|
|
25216
|
+
if (addOrganizationTransformationBlockRequest === null || addOrganizationTransformationBlockRequest === undefined) {
|
|
25217
|
+
throw new Error('Required parameter addOrganizationTransformationBlockRequest was null or undefined when calling addOrganizationTransformationBlock.');
|
|
25122
25218
|
}
|
|
25123
25219
|
localVarHeaderParams = {
|
|
25124
25220
|
...localVarHeaderParams,
|
|
@@ -25131,9 +25227,10 @@ class OrganizationBlocksApi {
|
|
|
25131
25227
|
.join('&');
|
|
25132
25228
|
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
25133
25229
|
let localVarRequestOptions = {
|
|
25134
|
-
method: '
|
|
25230
|
+
method: 'POST',
|
|
25135
25231
|
headers: { ...localVarHeaderParams },
|
|
25136
25232
|
};
|
|
25233
|
+
localVarRequestOptions.body = JSON.stringify(addOrganizationTransformationBlockRequest);
|
|
25137
25234
|
let requestOptions = localVarRequestOptions;
|
|
25138
25235
|
let url = localVarUrl;
|
|
25139
25236
|
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
@@ -25153,18 +25250,18 @@ class OrganizationBlocksApi {
|
|
|
25153
25250
|
url = authDefault.url;
|
|
25154
25251
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
25155
25252
|
const response = await fetch(url, requestOptions);
|
|
25156
|
-
return this.handleResponse(response, '
|
|
25253
|
+
return this.handleResponse(response, 'EntityCreatedResponse');
|
|
25157
25254
|
}
|
|
25158
25255
|
/**
|
|
25159
|
-
* Deletes a
|
|
25160
|
-
* @summary Delete
|
|
25256
|
+
* Deletes a deploy block.
|
|
25257
|
+
* @summary Delete deploy block
|
|
25161
25258
|
* @param organizationId Organization ID
|
|
25162
|
-
* @param
|
|
25259
|
+
* @param deployId Deploy block ID.
|
|
25163
25260
|
*/
|
|
25164
|
-
async
|
|
25165
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
25261
|
+
async deleteOrganizationDeployBlock(organizationId, deployId, options = { headers: {} }) {
|
|
25262
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/deploy/{deployId}'
|
|
25166
25263
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
25167
|
-
.replace('{' + '
|
|
25264
|
+
.replace('{' + 'deployId' + '}', encodeURIComponent(String(deployId)));
|
|
25168
25265
|
let queryParameters = {};
|
|
25169
25266
|
let localVarHeaderParams = {
|
|
25170
25267
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -25182,11 +25279,11 @@ class OrganizationBlocksApi {
|
|
|
25182
25279
|
let localVarFormParams;
|
|
25183
25280
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25184
25281
|
if (organizationId === null || organizationId === undefined) {
|
|
25185
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
25282
|
+
throw new Error('Required parameter organizationId was null or undefined when calling deleteOrganizationDeployBlock.');
|
|
25186
25283
|
}
|
|
25187
|
-
// verify required parameter '
|
|
25188
|
-
if (
|
|
25189
|
-
throw new Error('Required parameter
|
|
25284
|
+
// verify required parameter 'deployId' is not null or undefined
|
|
25285
|
+
if (deployId === null || deployId === undefined) {
|
|
25286
|
+
throw new Error('Required parameter deployId was null or undefined when calling deleteOrganizationDeployBlock.');
|
|
25190
25287
|
}
|
|
25191
25288
|
localVarHeaderParams = {
|
|
25192
25289
|
...localVarHeaderParams,
|
|
@@ -25224,15 +25321,15 @@ class OrganizationBlocksApi {
|
|
|
25224
25321
|
return this.handleResponse(response, 'GenericApiResponse');
|
|
25225
25322
|
}
|
|
25226
25323
|
/**
|
|
25227
|
-
* Deletes a
|
|
25228
|
-
* @summary Delete
|
|
25324
|
+
* Deletes a dsp block.
|
|
25325
|
+
* @summary Delete dsp block
|
|
25229
25326
|
* @param organizationId Organization ID
|
|
25230
|
-
* @param
|
|
25327
|
+
* @param dspId DSP Block ID, use the impulse functions to retrieve the ID
|
|
25231
25328
|
*/
|
|
25232
|
-
async
|
|
25233
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
25329
|
+
async deleteOrganizationDspBlock(organizationId, dspId, options = { headers: {} }) {
|
|
25330
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/dsp/{dspId}'
|
|
25234
25331
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
25235
|
-
.replace('{' + '
|
|
25332
|
+
.replace('{' + 'dspId' + '}', encodeURIComponent(String(dspId)));
|
|
25236
25333
|
let queryParameters = {};
|
|
25237
25334
|
let localVarHeaderParams = {
|
|
25238
25335
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -25250,11 +25347,11 @@ class OrganizationBlocksApi {
|
|
|
25250
25347
|
let localVarFormParams;
|
|
25251
25348
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25252
25349
|
if (organizationId === null || organizationId === undefined) {
|
|
25253
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
25350
|
+
throw new Error('Required parameter organizationId was null or undefined when calling deleteOrganizationDspBlock.');
|
|
25254
25351
|
}
|
|
25255
|
-
// verify required parameter '
|
|
25256
|
-
if (
|
|
25257
|
-
throw new Error('Required parameter
|
|
25352
|
+
// verify required parameter 'dspId' is not null or undefined
|
|
25353
|
+
if (dspId === null || dspId === undefined) {
|
|
25354
|
+
throw new Error('Required parameter dspId was null or undefined when calling deleteOrganizationDspBlock.');
|
|
25258
25355
|
}
|
|
25259
25356
|
localVarHeaderParams = {
|
|
25260
25357
|
...localVarHeaderParams,
|
|
@@ -25292,15 +25389,15 @@ class OrganizationBlocksApi {
|
|
|
25292
25389
|
return this.handleResponse(response, 'GenericApiResponse');
|
|
25293
25390
|
}
|
|
25294
25391
|
/**
|
|
25295
|
-
* Deletes
|
|
25296
|
-
* @summary Delete
|
|
25392
|
+
* Deletes an extension block.
|
|
25393
|
+
* @summary Delete extension block
|
|
25297
25394
|
* @param organizationId Organization ID
|
|
25298
|
-
* @param
|
|
25395
|
+
* @param extensionId Extension ID
|
|
25299
25396
|
*/
|
|
25300
|
-
async
|
|
25301
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
25397
|
+
async deleteOrganizationExtensionBlock(organizationId, extensionId, options = { headers: {} }) {
|
|
25398
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/extension/{extensionId}'
|
|
25302
25399
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
25303
|
-
.replace('{' + '
|
|
25400
|
+
.replace('{' + 'extensionId' + '}', encodeURIComponent(String(extensionId)));
|
|
25304
25401
|
let queryParameters = {};
|
|
25305
25402
|
let localVarHeaderParams = {
|
|
25306
25403
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -25318,11 +25415,11 @@ class OrganizationBlocksApi {
|
|
|
25318
25415
|
let localVarFormParams;
|
|
25319
25416
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25320
25417
|
if (organizationId === null || organizationId === undefined) {
|
|
25321
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
25418
|
+
throw new Error('Required parameter organizationId was null or undefined when calling deleteOrganizationExtensionBlock.');
|
|
25322
25419
|
}
|
|
25323
|
-
// verify required parameter '
|
|
25324
|
-
if (
|
|
25325
|
-
throw new Error('Required parameter
|
|
25420
|
+
// verify required parameter 'extensionId' is not null or undefined
|
|
25421
|
+
if (extensionId === null || extensionId === undefined) {
|
|
25422
|
+
throw new Error('Required parameter extensionId was null or undefined when calling deleteOrganizationExtensionBlock.');
|
|
25326
25423
|
}
|
|
25327
25424
|
localVarHeaderParams = {
|
|
25328
25425
|
...localVarHeaderParams,
|
|
@@ -25360,15 +25457,15 @@ class OrganizationBlocksApi {
|
|
|
25360
25457
|
return this.handleResponse(response, 'GenericApiResponse');
|
|
25361
25458
|
}
|
|
25362
25459
|
/**
|
|
25363
|
-
* Deletes a
|
|
25364
|
-
* @summary Delete
|
|
25460
|
+
* Deletes a secret
|
|
25461
|
+
* @summary Delete secret
|
|
25365
25462
|
* @param organizationId Organization ID
|
|
25366
|
-
* @param
|
|
25463
|
+
* @param secretId Secret ID
|
|
25367
25464
|
*/
|
|
25368
|
-
async
|
|
25369
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
25465
|
+
async deleteOrganizationSecret(organizationId, secretId, options = { headers: {} }) {
|
|
25466
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/secrets/{secretId}'
|
|
25370
25467
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
25371
|
-
.replace('{' + '
|
|
25468
|
+
.replace('{' + 'secretId' + '}', encodeURIComponent(String(secretId)));
|
|
25372
25469
|
let queryParameters = {};
|
|
25373
25470
|
let localVarHeaderParams = {
|
|
25374
25471
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -25386,11 +25483,11 @@ class OrganizationBlocksApi {
|
|
|
25386
25483
|
let localVarFormParams;
|
|
25387
25484
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25388
25485
|
if (organizationId === null || organizationId === undefined) {
|
|
25389
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
25486
|
+
throw new Error('Required parameter organizationId was null or undefined when calling deleteOrganizationSecret.');
|
|
25390
25487
|
}
|
|
25391
|
-
// verify required parameter '
|
|
25392
|
-
if (
|
|
25393
|
-
throw new Error('Required parameter
|
|
25488
|
+
// verify required parameter 'secretId' is not null or undefined
|
|
25489
|
+
if (secretId === null || secretId === undefined) {
|
|
25490
|
+
throw new Error('Required parameter secretId was null or undefined when calling deleteOrganizationSecret.');
|
|
25394
25491
|
}
|
|
25395
25492
|
localVarHeaderParams = {
|
|
25396
25493
|
...localVarHeaderParams,
|
|
@@ -25428,15 +25525,15 @@ class OrganizationBlocksApi {
|
|
|
25428
25525
|
return this.handleResponse(response, 'GenericApiResponse');
|
|
25429
25526
|
}
|
|
25430
25527
|
/**
|
|
25431
|
-
*
|
|
25432
|
-
* @summary
|
|
25528
|
+
* Deletes a transfer learning block.
|
|
25529
|
+
* @summary Delete transfer learning block
|
|
25433
25530
|
* @param organizationId Organization ID
|
|
25434
|
-
* @param
|
|
25531
|
+
* @param transferLearningId Transfer learning ID
|
|
25435
25532
|
*/
|
|
25436
|
-
async
|
|
25437
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
25533
|
+
async deleteOrganizationTransferLearningBlock(organizationId, transferLearningId, options = { headers: {} }) {
|
|
25534
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/transfer-learning/{transferLearningId}'
|
|
25438
25535
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
25439
|
-
.replace('{' + '
|
|
25536
|
+
.replace('{' + 'transferLearningId' + '}', encodeURIComponent(String(transferLearningId)));
|
|
25440
25537
|
let queryParameters = {};
|
|
25441
25538
|
let localVarHeaderParams = {
|
|
25442
25539
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -25454,11 +25551,11 @@ class OrganizationBlocksApi {
|
|
|
25454
25551
|
let localVarFormParams;
|
|
25455
25552
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25456
25553
|
if (organizationId === null || organizationId === undefined) {
|
|
25457
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
25554
|
+
throw new Error('Required parameter organizationId was null or undefined when calling deleteOrganizationTransferLearningBlock.');
|
|
25458
25555
|
}
|
|
25459
|
-
// verify required parameter '
|
|
25460
|
-
if (
|
|
25461
|
-
throw new Error('Required parameter
|
|
25556
|
+
// verify required parameter 'transferLearningId' is not null or undefined
|
|
25557
|
+
if (transferLearningId === null || transferLearningId === undefined) {
|
|
25558
|
+
throw new Error('Required parameter transferLearningId was null or undefined when calling deleteOrganizationTransferLearningBlock.');
|
|
25462
25559
|
}
|
|
25463
25560
|
localVarHeaderParams = {
|
|
25464
25561
|
...localVarHeaderParams,
|
|
@@ -25471,7 +25568,7 @@ class OrganizationBlocksApi {
|
|
|
25471
25568
|
.join('&');
|
|
25472
25569
|
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
25473
25570
|
let localVarRequestOptions = {
|
|
25474
|
-
method: '
|
|
25571
|
+
method: 'DELETE',
|
|
25475
25572
|
headers: { ...localVarHeaderParams },
|
|
25476
25573
|
};
|
|
25477
25574
|
let requestOptions = localVarRequestOptions;
|
|
@@ -25493,18 +25590,18 @@ class OrganizationBlocksApi {
|
|
|
25493
25590
|
url = authDefault.url;
|
|
25494
25591
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
25495
25592
|
const response = await fetch(url, requestOptions);
|
|
25496
|
-
return this.handleResponse(response, '
|
|
25593
|
+
return this.handleResponse(response, 'GenericApiResponse');
|
|
25497
25594
|
}
|
|
25498
25595
|
/**
|
|
25499
|
-
*
|
|
25500
|
-
* @summary
|
|
25596
|
+
* Deletes a transformation block.
|
|
25597
|
+
* @summary Delete transformation block
|
|
25501
25598
|
* @param organizationId Organization ID
|
|
25502
|
-
* @param
|
|
25599
|
+
* @param transformationId Transformation block ID.
|
|
25503
25600
|
*/
|
|
25504
|
-
async
|
|
25505
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
25601
|
+
async deleteOrganizationTransformationBlock(organizationId, transformationId, options = { headers: {} }) {
|
|
25602
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/transformation/{transformationId}'
|
|
25506
25603
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
25507
|
-
.replace('{' + '
|
|
25604
|
+
.replace('{' + 'transformationId' + '}', encodeURIComponent(String(transformationId)));
|
|
25508
25605
|
let queryParameters = {};
|
|
25509
25606
|
let localVarHeaderParams = {
|
|
25510
25607
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -25522,11 +25619,11 @@ class OrganizationBlocksApi {
|
|
|
25522
25619
|
let localVarFormParams;
|
|
25523
25620
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25524
25621
|
if (organizationId === null || organizationId === undefined) {
|
|
25525
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
25622
|
+
throw new Error('Required parameter organizationId was null or undefined when calling deleteOrganizationTransformationBlock.');
|
|
25526
25623
|
}
|
|
25527
|
-
// verify required parameter '
|
|
25528
|
-
if (
|
|
25529
|
-
throw new Error('Required parameter
|
|
25624
|
+
// verify required parameter 'transformationId' is not null or undefined
|
|
25625
|
+
if (transformationId === null || transformationId === undefined) {
|
|
25626
|
+
throw new Error('Required parameter transformationId was null or undefined when calling deleteOrganizationTransformationBlock.');
|
|
25530
25627
|
}
|
|
25531
25628
|
localVarHeaderParams = {
|
|
25532
25629
|
...localVarHeaderParams,
|
|
@@ -25539,7 +25636,7 @@ class OrganizationBlocksApi {
|
|
|
25539
25636
|
.join('&');
|
|
25540
25637
|
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
25541
25638
|
let localVarRequestOptions = {
|
|
25542
|
-
method: '
|
|
25639
|
+
method: 'DELETE',
|
|
25543
25640
|
headers: { ...localVarHeaderParams },
|
|
25544
25641
|
};
|
|
25545
25642
|
let requestOptions = localVarRequestOptions;
|
|
@@ -25561,18 +25658,18 @@ class OrganizationBlocksApi {
|
|
|
25561
25658
|
url = authDefault.url;
|
|
25562
25659
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
25563
25660
|
const response = await fetch(url, requestOptions);
|
|
25564
|
-
return this.handleResponse(response, '
|
|
25661
|
+
return this.handleResponse(response, 'GenericApiResponse');
|
|
25565
25662
|
}
|
|
25566
25663
|
/**
|
|
25567
25664
|
* Download the source code for this block.
|
|
25568
|
-
* @summary Export
|
|
25665
|
+
* @summary Export deploy block
|
|
25569
25666
|
* @param organizationId Organization ID
|
|
25570
|
-
* @param
|
|
25667
|
+
* @param deployId Deploy block ID.
|
|
25571
25668
|
*/
|
|
25572
|
-
async
|
|
25573
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
25669
|
+
async exportOrganizationDeployBlock(organizationId, deployId, options = { headers: {} }) {
|
|
25670
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/deploy/{deployId}/export'
|
|
25574
25671
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
25575
|
-
.replace('{' + '
|
|
25672
|
+
.replace('{' + 'deployId' + '}', encodeURIComponent(String(deployId)));
|
|
25576
25673
|
let queryParameters = {};
|
|
25577
25674
|
let localVarHeaderParams = {
|
|
25578
25675
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -25590,11 +25687,11 @@ class OrganizationBlocksApi {
|
|
|
25590
25687
|
let localVarFormParams;
|
|
25591
25688
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25592
25689
|
if (organizationId === null || organizationId === undefined) {
|
|
25593
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
25690
|
+
throw new Error('Required parameter organizationId was null or undefined when calling exportOrganizationDeployBlock.');
|
|
25594
25691
|
}
|
|
25595
|
-
// verify required parameter '
|
|
25596
|
-
if (
|
|
25597
|
-
throw new Error('Required parameter
|
|
25692
|
+
// verify required parameter 'deployId' is not null or undefined
|
|
25693
|
+
if (deployId === null || deployId === undefined) {
|
|
25694
|
+
throw new Error('Required parameter deployId was null or undefined when calling exportOrganizationDeployBlock.');
|
|
25598
25695
|
}
|
|
25599
25696
|
localVarHeaderParams = {
|
|
25600
25697
|
...localVarHeaderParams,
|
|
@@ -25633,14 +25730,14 @@ class OrganizationBlocksApi {
|
|
|
25633
25730
|
}
|
|
25634
25731
|
/**
|
|
25635
25732
|
* Download the source code for this block.
|
|
25636
|
-
* @summary Export
|
|
25733
|
+
* @summary Export dsp block
|
|
25637
25734
|
* @param organizationId Organization ID
|
|
25638
|
-
* @param
|
|
25735
|
+
* @param dspId DSP Block ID, use the impulse functions to retrieve the ID
|
|
25639
25736
|
*/
|
|
25640
|
-
async
|
|
25641
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
25737
|
+
async exportOrganizationDspBlock(organizationId, dspId, options = { headers: {} }) {
|
|
25738
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/dsp/{dspId}/export'
|
|
25642
25739
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
25643
|
-
.replace('{' + '
|
|
25740
|
+
.replace('{' + 'dspId' + '}', encodeURIComponent(String(dspId)));
|
|
25644
25741
|
let queryParameters = {};
|
|
25645
25742
|
let localVarHeaderParams = {
|
|
25646
25743
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -25658,11 +25755,11 @@ class OrganizationBlocksApi {
|
|
|
25658
25755
|
let localVarFormParams;
|
|
25659
25756
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25660
25757
|
if (organizationId === null || organizationId === undefined) {
|
|
25661
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
25758
|
+
throw new Error('Required parameter organizationId was null or undefined when calling exportOrganizationDspBlock.');
|
|
25662
25759
|
}
|
|
25663
|
-
// verify required parameter '
|
|
25664
|
-
if (
|
|
25665
|
-
throw new Error('Required parameter
|
|
25760
|
+
// verify required parameter 'dspId' is not null or undefined
|
|
25761
|
+
if (dspId === null || dspId === undefined) {
|
|
25762
|
+
throw new Error('Required parameter dspId was null or undefined when calling exportOrganizationDspBlock.');
|
|
25666
25763
|
}
|
|
25667
25764
|
localVarHeaderParams = {
|
|
25668
25765
|
...localVarHeaderParams,
|
|
@@ -25700,15 +25797,15 @@ class OrganizationBlocksApi {
|
|
|
25700
25797
|
return this.handleResponse(response, 'ExportBlockResponse');
|
|
25701
25798
|
}
|
|
25702
25799
|
/**
|
|
25703
|
-
*
|
|
25704
|
-
* @summary
|
|
25800
|
+
* Download the source code for this block.
|
|
25801
|
+
* @summary Export transfer learning block
|
|
25705
25802
|
* @param organizationId Organization ID
|
|
25706
|
-
* @param
|
|
25803
|
+
* @param transferLearningId Transfer learning ID
|
|
25707
25804
|
*/
|
|
25708
|
-
async
|
|
25709
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
25805
|
+
async exportOrganizationTransferLearningBlock(organizationId, transferLearningId, options = { headers: {} }) {
|
|
25806
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/transfer-learning/{transferLearningId}/export'
|
|
25710
25807
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
25711
|
-
.replace('{' + '
|
|
25808
|
+
.replace('{' + 'transferLearningId' + '}', encodeURIComponent(String(transferLearningId)));
|
|
25712
25809
|
let queryParameters = {};
|
|
25713
25810
|
let localVarHeaderParams = {
|
|
25714
25811
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -25726,11 +25823,11 @@ class OrganizationBlocksApi {
|
|
|
25726
25823
|
let localVarFormParams;
|
|
25727
25824
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25728
25825
|
if (organizationId === null || organizationId === undefined) {
|
|
25729
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
25826
|
+
throw new Error('Required parameter organizationId was null or undefined when calling exportOrganizationTransferLearningBlock.');
|
|
25730
25827
|
}
|
|
25731
|
-
// verify required parameter '
|
|
25732
|
-
if (
|
|
25733
|
-
throw new Error('Required parameter
|
|
25828
|
+
// verify required parameter 'transferLearningId' is not null or undefined
|
|
25829
|
+
if (transferLearningId === null || transferLearningId === undefined) {
|
|
25830
|
+
throw new Error('Required parameter transferLearningId was null or undefined when calling exportOrganizationTransferLearningBlock.');
|
|
25734
25831
|
}
|
|
25735
25832
|
localVarHeaderParams = {
|
|
25736
25833
|
...localVarHeaderParams,
|
|
@@ -25743,7 +25840,7 @@ class OrganizationBlocksApi {
|
|
|
25743
25840
|
.join('&');
|
|
25744
25841
|
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
25745
25842
|
let localVarRequestOptions = {
|
|
25746
|
-
method: '
|
|
25843
|
+
method: 'POST',
|
|
25747
25844
|
headers: { ...localVarHeaderParams },
|
|
25748
25845
|
};
|
|
25749
25846
|
let requestOptions = localVarRequestOptions;
|
|
@@ -25765,18 +25862,18 @@ class OrganizationBlocksApi {
|
|
|
25765
25862
|
url = authDefault.url;
|
|
25766
25863
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
25767
25864
|
const response = await fetch(url, requestOptions);
|
|
25768
|
-
return this.handleResponse(response, '
|
|
25865
|
+
return this.handleResponse(response, 'ExportBlockResponse');
|
|
25769
25866
|
}
|
|
25770
25867
|
/**
|
|
25771
|
-
*
|
|
25772
|
-
* @summary
|
|
25868
|
+
* Download the source code for this block.
|
|
25869
|
+
* @summary Export transformation block
|
|
25773
25870
|
* @param organizationId Organization ID
|
|
25774
|
-
* @param
|
|
25871
|
+
* @param transformationId Transformation block ID.
|
|
25775
25872
|
*/
|
|
25776
|
-
async
|
|
25777
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
25873
|
+
async exportOrganizationTransformationBlock(organizationId, transformationId, options = { headers: {} }) {
|
|
25874
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/transformation/{transformationId}/export'
|
|
25778
25875
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
25779
|
-
.replace('{' + '
|
|
25876
|
+
.replace('{' + 'transformationId' + '}', encodeURIComponent(String(transformationId)));
|
|
25780
25877
|
let queryParameters = {};
|
|
25781
25878
|
let localVarHeaderParams = {
|
|
25782
25879
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -25794,11 +25891,11 @@ class OrganizationBlocksApi {
|
|
|
25794
25891
|
let localVarFormParams;
|
|
25795
25892
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25796
25893
|
if (organizationId === null || organizationId === undefined) {
|
|
25797
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
25894
|
+
throw new Error('Required parameter organizationId was null or undefined when calling exportOrganizationTransformationBlock.');
|
|
25798
25895
|
}
|
|
25799
|
-
// verify required parameter '
|
|
25800
|
-
if (
|
|
25801
|
-
throw new Error('Required parameter
|
|
25896
|
+
// verify required parameter 'transformationId' is not null or undefined
|
|
25897
|
+
if (transformationId === null || transformationId === undefined) {
|
|
25898
|
+
throw new Error('Required parameter transformationId was null or undefined when calling exportOrganizationTransformationBlock.');
|
|
25802
25899
|
}
|
|
25803
25900
|
localVarHeaderParams = {
|
|
25804
25901
|
...localVarHeaderParams,
|
|
@@ -25811,7 +25908,7 @@ class OrganizationBlocksApi {
|
|
|
25811
25908
|
.join('&');
|
|
25812
25909
|
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
25813
25910
|
let localVarRequestOptions = {
|
|
25814
|
-
method: '
|
|
25911
|
+
method: 'POST',
|
|
25815
25912
|
headers: { ...localVarHeaderParams },
|
|
25816
25913
|
};
|
|
25817
25914
|
let requestOptions = localVarRequestOptions;
|
|
@@ -25833,18 +25930,18 @@ class OrganizationBlocksApi {
|
|
|
25833
25930
|
url = authDefault.url;
|
|
25834
25931
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
25835
25932
|
const response = await fetch(url, requestOptions);
|
|
25836
|
-
return this.handleResponse(response, '
|
|
25933
|
+
return this.handleResponse(response, 'ExportBlockResponse');
|
|
25837
25934
|
}
|
|
25838
25935
|
/**
|
|
25839
|
-
* Gets a
|
|
25840
|
-
* @summary Get
|
|
25936
|
+
* Gets a deploy block.
|
|
25937
|
+
* @summary Get deploy block
|
|
25841
25938
|
* @param organizationId Organization ID
|
|
25842
|
-
* @param
|
|
25939
|
+
* @param deployId Deploy block ID.
|
|
25843
25940
|
*/
|
|
25844
|
-
async
|
|
25845
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
25941
|
+
async getOrganizationDeployBlock(organizationId, deployId, options = { headers: {} }) {
|
|
25942
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/deploy/{deployId}'
|
|
25846
25943
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
25847
|
-
.replace('{' + '
|
|
25944
|
+
.replace('{' + 'deployId' + '}', encodeURIComponent(String(deployId)));
|
|
25848
25945
|
let queryParameters = {};
|
|
25849
25946
|
let localVarHeaderParams = {
|
|
25850
25947
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -25862,11 +25959,11 @@ class OrganizationBlocksApi {
|
|
|
25862
25959
|
let localVarFormParams;
|
|
25863
25960
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25864
25961
|
if (organizationId === null || organizationId === undefined) {
|
|
25865
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
25962
|
+
throw new Error('Required parameter organizationId was null or undefined when calling getOrganizationDeployBlock.');
|
|
25866
25963
|
}
|
|
25867
|
-
// verify required parameter '
|
|
25868
|
-
if (
|
|
25869
|
-
throw new Error('Required parameter
|
|
25964
|
+
// verify required parameter 'deployId' is not null or undefined
|
|
25965
|
+
if (deployId === null || deployId === undefined) {
|
|
25966
|
+
throw new Error('Required parameter deployId was null or undefined when calling getOrganizationDeployBlock.');
|
|
25870
25967
|
}
|
|
25871
25968
|
localVarHeaderParams = {
|
|
25872
25969
|
...localVarHeaderParams,
|
|
@@ -25901,18 +25998,18 @@ class OrganizationBlocksApi {
|
|
|
25901
25998
|
url = authDefault.url;
|
|
25902
25999
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
25903
26000
|
const response = await fetch(url, requestOptions);
|
|
25904
|
-
return this.handleResponse(response, '
|
|
26001
|
+
return this.handleResponse(response, 'GetOrganizationDeployBlockResponse');
|
|
25905
26002
|
}
|
|
25906
26003
|
/**
|
|
25907
|
-
*
|
|
25908
|
-
* @summary Get
|
|
26004
|
+
* Gets a dsp block.
|
|
26005
|
+
* @summary Get dsp block
|
|
25909
26006
|
* @param organizationId Organization ID
|
|
25910
|
-
* @param
|
|
26007
|
+
* @param dspId DSP Block ID, use the impulse functions to retrieve the ID
|
|
25911
26008
|
*/
|
|
25912
|
-
async
|
|
25913
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
26009
|
+
async getOrganizationDspBlock(organizationId, dspId, options = { headers: {} }) {
|
|
26010
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/dsp/{dspId}'
|
|
25914
26011
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
25915
|
-
.replace('{' + '
|
|
26012
|
+
.replace('{' + 'dspId' + '}', encodeURIComponent(String(dspId)));
|
|
25916
26013
|
let queryParameters = {};
|
|
25917
26014
|
let localVarHeaderParams = {
|
|
25918
26015
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -25930,11 +26027,11 @@ class OrganizationBlocksApi {
|
|
|
25930
26027
|
let localVarFormParams;
|
|
25931
26028
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25932
26029
|
if (organizationId === null || organizationId === undefined) {
|
|
25933
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
26030
|
+
throw new Error('Required parameter organizationId was null or undefined when calling getOrganizationDspBlock.');
|
|
25934
26031
|
}
|
|
25935
|
-
// verify required parameter '
|
|
25936
|
-
if (
|
|
25937
|
-
throw new Error('Required parameter
|
|
26032
|
+
// verify required parameter 'dspId' is not null or undefined
|
|
26033
|
+
if (dspId === null || dspId === undefined) {
|
|
26034
|
+
throw new Error('Required parameter dspId was null or undefined when calling getOrganizationDspBlock.');
|
|
25938
26035
|
}
|
|
25939
26036
|
localVarHeaderParams = {
|
|
25940
26037
|
...localVarHeaderParams,
|
|
@@ -25969,18 +26066,18 @@ class OrganizationBlocksApi {
|
|
|
25969
26066
|
url = authDefault.url;
|
|
25970
26067
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
25971
26068
|
const response = await fetch(url, requestOptions);
|
|
25972
|
-
return this.handleResponse(response, '
|
|
26069
|
+
return this.handleResponse(response, 'GetOrganizationDspBlockResponse');
|
|
25973
26070
|
}
|
|
25974
26071
|
/**
|
|
25975
|
-
*
|
|
25976
|
-
* @summary Get
|
|
26072
|
+
* Gets an extension block.
|
|
26073
|
+
* @summary Get extension block
|
|
25977
26074
|
* @param organizationId Organization ID
|
|
25978
|
-
* @param
|
|
26075
|
+
* @param extensionId Extension ID
|
|
25979
26076
|
*/
|
|
25980
|
-
async
|
|
25981
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
26077
|
+
async getOrganizationExtensionBlock(organizationId, extensionId, options = { headers: {} }) {
|
|
26078
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/extension/{extensionId}'
|
|
25982
26079
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
25983
|
-
.replace('{' + '
|
|
26080
|
+
.replace('{' + 'extensionId' + '}', encodeURIComponent(String(extensionId)));
|
|
25984
26081
|
let queryParameters = {};
|
|
25985
26082
|
let localVarHeaderParams = {
|
|
25986
26083
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -25998,11 +26095,11 @@ class OrganizationBlocksApi {
|
|
|
25998
26095
|
let localVarFormParams;
|
|
25999
26096
|
// verify required parameter 'organizationId' is not null or undefined
|
|
26000
26097
|
if (organizationId === null || organizationId === undefined) {
|
|
26001
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
26098
|
+
throw new Error('Required parameter organizationId was null or undefined when calling getOrganizationExtensionBlock.');
|
|
26002
26099
|
}
|
|
26003
|
-
// verify required parameter '
|
|
26004
|
-
if (
|
|
26005
|
-
throw new Error('Required parameter
|
|
26100
|
+
// verify required parameter 'extensionId' is not null or undefined
|
|
26101
|
+
if (extensionId === null || extensionId === undefined) {
|
|
26102
|
+
throw new Error('Required parameter extensionId was null or undefined when calling getOrganizationExtensionBlock.');
|
|
26006
26103
|
}
|
|
26007
26104
|
localVarHeaderParams = {
|
|
26008
26105
|
...localVarHeaderParams,
|
|
@@ -26037,16 +26134,18 @@ class OrganizationBlocksApi {
|
|
|
26037
26134
|
url = authDefault.url;
|
|
26038
26135
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
26039
26136
|
const response = await fetch(url, requestOptions);
|
|
26040
|
-
return this.handleResponse(response, '
|
|
26137
|
+
return this.handleResponse(response, 'GetOrganizationExtensionBlockResponse');
|
|
26041
26138
|
}
|
|
26042
26139
|
/**
|
|
26043
|
-
*
|
|
26044
|
-
* @summary Get
|
|
26140
|
+
* Gets a transfer learning block.
|
|
26141
|
+
* @summary Get transfer learning block
|
|
26045
26142
|
* @param organizationId Organization ID
|
|
26143
|
+
* @param transferLearningId Transfer learning ID
|
|
26046
26144
|
*/
|
|
26047
|
-
async
|
|
26048
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
26049
|
-
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
26145
|
+
async getOrganizationTransferLearningBlock(organizationId, transferLearningId, options = { headers: {} }) {
|
|
26146
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/transfer-learning/{transferLearningId}'
|
|
26147
|
+
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
26148
|
+
.replace('{' + 'transferLearningId' + '}', encodeURIComponent(String(transferLearningId)));
|
|
26050
26149
|
let queryParameters = {};
|
|
26051
26150
|
let localVarHeaderParams = {
|
|
26052
26151
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -26064,69 +26163,11 @@ class OrganizationBlocksApi {
|
|
|
26064
26163
|
let localVarFormParams;
|
|
26065
26164
|
// verify required parameter 'organizationId' is not null or undefined
|
|
26066
26165
|
if (organizationId === null || organizationId === undefined) {
|
|
26067
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
26068
|
-
}
|
|
26069
|
-
localVarHeaderParams = {
|
|
26070
|
-
...localVarHeaderParams,
|
|
26071
|
-
...options.headers,
|
|
26072
|
-
...this.opts.extraHeaders,
|
|
26073
|
-
};
|
|
26074
|
-
const queryString = Object.entries(queryParameters)
|
|
26075
|
-
.filter(([, value]) => value !== undefined)
|
|
26076
|
-
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
26077
|
-
.join('&');
|
|
26078
|
-
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
26079
|
-
let localVarRequestOptions = {
|
|
26080
|
-
method: 'GET',
|
|
26081
|
-
headers: { ...localVarHeaderParams },
|
|
26082
|
-
};
|
|
26083
|
-
let requestOptions = localVarRequestOptions;
|
|
26084
|
-
let url = localVarUrl;
|
|
26085
|
-
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
26086
|
-
requestOptions = auth_ApiKeyAuthentication.requestOptions;
|
|
26087
|
-
url = auth_ApiKeyAuthentication.url;
|
|
26088
|
-
const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
|
|
26089
|
-
requestOptions = auth_JWTAuthentication.requestOptions;
|
|
26090
|
-
url = auth_JWTAuthentication.url;
|
|
26091
|
-
const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
|
|
26092
|
-
requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
|
|
26093
|
-
url = auth_JWTHttpHeaderAuthentication.url;
|
|
26094
|
-
const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
|
|
26095
|
-
requestOptions = auth_OAuth2.requestOptions;
|
|
26096
|
-
url = auth_OAuth2.url;
|
|
26097
|
-
const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
|
|
26098
|
-
requestOptions = authDefault.requestOptions;
|
|
26099
|
-
url = authDefault.url;
|
|
26100
|
-
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
26101
|
-
const response = await fetch(url, requestOptions);
|
|
26102
|
-
return this.handleResponse(response, 'ListOrganizationDeployBlocksResponse');
|
|
26103
|
-
}
|
|
26104
|
-
/**
|
|
26105
|
-
* Retrieve all dsp blocks.
|
|
26106
|
-
* @summary Get dsp blocks
|
|
26107
|
-
* @param organizationId Organization ID
|
|
26108
|
-
*/
|
|
26109
|
-
async listOrganizationDspBlocks(organizationId, options = { headers: {} }) {
|
|
26110
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/dsp'
|
|
26111
|
-
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)));
|
|
26112
|
-
let queryParameters = {};
|
|
26113
|
-
let localVarHeaderParams = {
|
|
26114
|
-
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
26115
|
-
'Content-Type': 'application/json',
|
|
26116
|
-
...this.defaultHeaders,
|
|
26117
|
-
};
|
|
26118
|
-
const produces = ['application/json'];
|
|
26119
|
-
// give precedence to 'application/json'
|
|
26120
|
-
if (produces.indexOf('application/json') >= 0) {
|
|
26121
|
-
localVarHeaderParams.Accept = 'application/json';
|
|
26122
|
-
}
|
|
26123
|
-
else {
|
|
26124
|
-
localVarHeaderParams.Accept = produces.join(',');
|
|
26166
|
+
throw new Error('Required parameter organizationId was null or undefined when calling getOrganizationTransferLearningBlock.');
|
|
26125
26167
|
}
|
|
26126
|
-
|
|
26127
|
-
|
|
26128
|
-
|
|
26129
|
-
throw new Error('Required parameter organizationId was null or undefined when calling listOrganizationDspBlocks.');
|
|
26168
|
+
// verify required parameter 'transferLearningId' is not null or undefined
|
|
26169
|
+
if (transferLearningId === null || transferLearningId === undefined) {
|
|
26170
|
+
throw new Error('Required parameter transferLearningId was null or undefined when calling getOrganizationTransferLearningBlock.');
|
|
26130
26171
|
}
|
|
26131
26172
|
localVarHeaderParams = {
|
|
26132
26173
|
...localVarHeaderParams,
|
|
@@ -26161,16 +26202,18 @@ class OrganizationBlocksApi {
|
|
|
26161
26202
|
url = authDefault.url;
|
|
26162
26203
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
26163
26204
|
const response = await fetch(url, requestOptions);
|
|
26164
|
-
return this.handleResponse(response, '
|
|
26205
|
+
return this.handleResponse(response, 'GetOrganizationTransferLearningBlockResponse');
|
|
26165
26206
|
}
|
|
26166
26207
|
/**
|
|
26167
|
-
*
|
|
26168
|
-
* @summary Get
|
|
26208
|
+
* Get a transformation block.
|
|
26209
|
+
* @summary Get transformation block
|
|
26169
26210
|
* @param organizationId Organization ID
|
|
26211
|
+
* @param transformationId Transformation block ID.
|
|
26170
26212
|
*/
|
|
26171
|
-
async
|
|
26172
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
26173
|
-
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
26213
|
+
async getOrganizationTransformationBlock(organizationId, transformationId, options = { headers: {} }) {
|
|
26214
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/transformation/{transformationId}'
|
|
26215
|
+
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
26216
|
+
.replace('{' + 'transformationId' + '}', encodeURIComponent(String(transformationId)));
|
|
26174
26217
|
let queryParameters = {};
|
|
26175
26218
|
let localVarHeaderParams = {
|
|
26176
26219
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -26188,7 +26231,11 @@ class OrganizationBlocksApi {
|
|
|
26188
26231
|
let localVarFormParams;
|
|
26189
26232
|
// verify required parameter 'organizationId' is not null or undefined
|
|
26190
26233
|
if (organizationId === null || organizationId === undefined) {
|
|
26191
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
26234
|
+
throw new Error('Required parameter organizationId was null or undefined when calling getOrganizationTransformationBlock.');
|
|
26235
|
+
}
|
|
26236
|
+
// verify required parameter 'transformationId' is not null or undefined
|
|
26237
|
+
if (transformationId === null || transformationId === undefined) {
|
|
26238
|
+
throw new Error('Required parameter transformationId was null or undefined when calling getOrganizationTransformationBlock.');
|
|
26192
26239
|
}
|
|
26193
26240
|
localVarHeaderParams = {
|
|
26194
26241
|
...localVarHeaderParams,
|
|
@@ -26223,16 +26270,18 @@ class OrganizationBlocksApi {
|
|
|
26223
26270
|
url = authDefault.url;
|
|
26224
26271
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
26225
26272
|
const response = await fetch(url, requestOptions);
|
|
26226
|
-
return this.handleResponse(response, '
|
|
26273
|
+
return this.handleResponse(response, 'GetOrganizationTransformationBlockResponse');
|
|
26227
26274
|
}
|
|
26228
26275
|
/**
|
|
26229
|
-
* Retrieve
|
|
26230
|
-
* @summary Get
|
|
26276
|
+
* Retrieve a transformation blocks published by other organizations, available for all organizations.
|
|
26277
|
+
* @summary Get public transformation block
|
|
26231
26278
|
* @param organizationId Organization ID
|
|
26279
|
+
* @param transformationId Transformation block ID.
|
|
26232
26280
|
*/
|
|
26233
|
-
async
|
|
26234
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
26235
|
-
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
26281
|
+
async getPublicOrganizationTransformationBlock(organizationId, transformationId, options = { headers: {} }) {
|
|
26282
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/transformation/public/{transformationId}'
|
|
26283
|
+
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
26284
|
+
.replace('{' + 'transformationId' + '}', encodeURIComponent(String(transformationId)));
|
|
26236
26285
|
let queryParameters = {};
|
|
26237
26286
|
let localVarHeaderParams = {
|
|
26238
26287
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -26250,7 +26299,11 @@ class OrganizationBlocksApi {
|
|
|
26250
26299
|
let localVarFormParams;
|
|
26251
26300
|
// verify required parameter 'organizationId' is not null or undefined
|
|
26252
26301
|
if (organizationId === null || organizationId === undefined) {
|
|
26253
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
26302
|
+
throw new Error('Required parameter organizationId was null or undefined when calling getPublicOrganizationTransformationBlock.');
|
|
26303
|
+
}
|
|
26304
|
+
// verify required parameter 'transformationId' is not null or undefined
|
|
26305
|
+
if (transformationId === null || transformationId === undefined) {
|
|
26306
|
+
throw new Error('Required parameter transformationId was null or undefined when calling getPublicOrganizationTransformationBlock.');
|
|
26254
26307
|
}
|
|
26255
26308
|
localVarHeaderParams = {
|
|
26256
26309
|
...localVarHeaderParams,
|
|
@@ -26285,15 +26338,15 @@ class OrganizationBlocksApi {
|
|
|
26285
26338
|
url = authDefault.url;
|
|
26286
26339
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
26287
26340
|
const response = await fetch(url, requestOptions);
|
|
26288
|
-
return this.handleResponse(response, '
|
|
26341
|
+
return this.handleResponse(response, 'GetPublicOrganizationTransformationBlockResponse');
|
|
26289
26342
|
}
|
|
26290
26343
|
/**
|
|
26291
|
-
* Retrieve all
|
|
26292
|
-
* @summary Get
|
|
26344
|
+
* Retrieve all deploy blocks.
|
|
26345
|
+
* @summary Get deploy blocks
|
|
26293
26346
|
* @param organizationId Organization ID
|
|
26294
26347
|
*/
|
|
26295
|
-
async
|
|
26296
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
26348
|
+
async listOrganizationDeployBlocks(organizationId, options = { headers: {} }) {
|
|
26349
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/deploy'
|
|
26297
26350
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)));
|
|
26298
26351
|
let queryParameters = {};
|
|
26299
26352
|
let localVarHeaderParams = {
|
|
@@ -26312,7 +26365,7 @@ class OrganizationBlocksApi {
|
|
|
26312
26365
|
let localVarFormParams;
|
|
26313
26366
|
// verify required parameter 'organizationId' is not null or undefined
|
|
26314
26367
|
if (organizationId === null || organizationId === undefined) {
|
|
26315
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
26368
|
+
throw new Error('Required parameter organizationId was null or undefined when calling listOrganizationDeployBlocks.');
|
|
26316
26369
|
}
|
|
26317
26370
|
localVarHeaderParams = {
|
|
26318
26371
|
...localVarHeaderParams,
|
|
@@ -26347,15 +26400,15 @@ class OrganizationBlocksApi {
|
|
|
26347
26400
|
url = authDefault.url;
|
|
26348
26401
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
26349
26402
|
const response = await fetch(url, requestOptions);
|
|
26350
|
-
return this.handleResponse(response, '
|
|
26403
|
+
return this.handleResponse(response, 'ListOrganizationDeployBlocksResponse');
|
|
26351
26404
|
}
|
|
26352
26405
|
/**
|
|
26353
|
-
* Retrieve all
|
|
26354
|
-
* @summary
|
|
26406
|
+
* Retrieve all dsp blocks.
|
|
26407
|
+
* @summary Get dsp blocks
|
|
26355
26408
|
* @param organizationId Organization ID
|
|
26356
26409
|
*/
|
|
26357
|
-
async
|
|
26358
|
-
const localVarPath = this.basePath + '/api/organizations/{organizationId}/
|
|
26410
|
+
async listOrganizationDspBlocks(organizationId, options = { headers: {} }) {
|
|
26411
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/dsp'
|
|
26359
26412
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)));
|
|
26360
26413
|
let queryParameters = {};
|
|
26361
26414
|
let localVarHeaderParams = {
|
|
@@ -26374,7 +26427,317 @@ class OrganizationBlocksApi {
|
|
|
26374
26427
|
let localVarFormParams;
|
|
26375
26428
|
// verify required parameter 'organizationId' is not null or undefined
|
|
26376
26429
|
if (organizationId === null || organizationId === undefined) {
|
|
26377
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
26430
|
+
throw new Error('Required parameter organizationId was null or undefined when calling listOrganizationDspBlocks.');
|
|
26431
|
+
}
|
|
26432
|
+
localVarHeaderParams = {
|
|
26433
|
+
...localVarHeaderParams,
|
|
26434
|
+
...options.headers,
|
|
26435
|
+
...this.opts.extraHeaders,
|
|
26436
|
+
};
|
|
26437
|
+
const queryString = Object.entries(queryParameters)
|
|
26438
|
+
.filter(([, value]) => value !== undefined)
|
|
26439
|
+
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
26440
|
+
.join('&');
|
|
26441
|
+
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
26442
|
+
let localVarRequestOptions = {
|
|
26443
|
+
method: 'GET',
|
|
26444
|
+
headers: { ...localVarHeaderParams },
|
|
26445
|
+
};
|
|
26446
|
+
let requestOptions = localVarRequestOptions;
|
|
26447
|
+
let url = localVarUrl;
|
|
26448
|
+
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
26449
|
+
requestOptions = auth_ApiKeyAuthentication.requestOptions;
|
|
26450
|
+
url = auth_ApiKeyAuthentication.url;
|
|
26451
|
+
const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
|
|
26452
|
+
requestOptions = auth_JWTAuthentication.requestOptions;
|
|
26453
|
+
url = auth_JWTAuthentication.url;
|
|
26454
|
+
const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
|
|
26455
|
+
requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
|
|
26456
|
+
url = auth_JWTHttpHeaderAuthentication.url;
|
|
26457
|
+
const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
|
|
26458
|
+
requestOptions = auth_OAuth2.requestOptions;
|
|
26459
|
+
url = auth_OAuth2.url;
|
|
26460
|
+
const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
|
|
26461
|
+
requestOptions = authDefault.requestOptions;
|
|
26462
|
+
url = authDefault.url;
|
|
26463
|
+
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
26464
|
+
const response = await fetch(url, requestOptions);
|
|
26465
|
+
return this.handleResponse(response, 'ListOrganizationDspBlocksResponse');
|
|
26466
|
+
}
|
|
26467
|
+
/**
|
|
26468
|
+
* Retrieve all extension blocks for this organization.
|
|
26469
|
+
* @summary Get extension blocks
|
|
26470
|
+
* @param organizationId Organization ID
|
|
26471
|
+
*/
|
|
26472
|
+
async listOrganizationExtensionBlocks(organizationId, options = { headers: {} }) {
|
|
26473
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/extension'
|
|
26474
|
+
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)));
|
|
26475
|
+
let queryParameters = {};
|
|
26476
|
+
let localVarHeaderParams = {
|
|
26477
|
+
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
26478
|
+
'Content-Type': 'application/json',
|
|
26479
|
+
...this.defaultHeaders,
|
|
26480
|
+
};
|
|
26481
|
+
const produces = ['application/json'];
|
|
26482
|
+
// give precedence to 'application/json'
|
|
26483
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
26484
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
26485
|
+
}
|
|
26486
|
+
else {
|
|
26487
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
26488
|
+
}
|
|
26489
|
+
let localVarFormParams;
|
|
26490
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
26491
|
+
if (organizationId === null || organizationId === undefined) {
|
|
26492
|
+
throw new Error('Required parameter organizationId was null or undefined when calling listOrganizationExtensionBlocks.');
|
|
26493
|
+
}
|
|
26494
|
+
localVarHeaderParams = {
|
|
26495
|
+
...localVarHeaderParams,
|
|
26496
|
+
...options.headers,
|
|
26497
|
+
...this.opts.extraHeaders,
|
|
26498
|
+
};
|
|
26499
|
+
const queryString = Object.entries(queryParameters)
|
|
26500
|
+
.filter(([, value]) => value !== undefined)
|
|
26501
|
+
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
26502
|
+
.join('&');
|
|
26503
|
+
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
26504
|
+
let localVarRequestOptions = {
|
|
26505
|
+
method: 'GET',
|
|
26506
|
+
headers: { ...localVarHeaderParams },
|
|
26507
|
+
};
|
|
26508
|
+
let requestOptions = localVarRequestOptions;
|
|
26509
|
+
let url = localVarUrl;
|
|
26510
|
+
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
26511
|
+
requestOptions = auth_ApiKeyAuthentication.requestOptions;
|
|
26512
|
+
url = auth_ApiKeyAuthentication.url;
|
|
26513
|
+
const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
|
|
26514
|
+
requestOptions = auth_JWTAuthentication.requestOptions;
|
|
26515
|
+
url = auth_JWTAuthentication.url;
|
|
26516
|
+
const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
|
|
26517
|
+
requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
|
|
26518
|
+
url = auth_JWTHttpHeaderAuthentication.url;
|
|
26519
|
+
const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
|
|
26520
|
+
requestOptions = auth_OAuth2.requestOptions;
|
|
26521
|
+
url = auth_OAuth2.url;
|
|
26522
|
+
const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
|
|
26523
|
+
requestOptions = authDefault.requestOptions;
|
|
26524
|
+
url = authDefault.url;
|
|
26525
|
+
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
26526
|
+
const response = await fetch(url, requestOptions);
|
|
26527
|
+
return this.handleResponse(response, 'ListOrganizationExtensionBlocksResponse');
|
|
26528
|
+
}
|
|
26529
|
+
/**
|
|
26530
|
+
* Retrieve all secrets.
|
|
26531
|
+
* @summary Get secrets
|
|
26532
|
+
* @param organizationId Organization ID
|
|
26533
|
+
*/
|
|
26534
|
+
async listOrganizationSecrets(organizationId, options = { headers: {} }) {
|
|
26535
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/secrets'
|
|
26536
|
+
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)));
|
|
26537
|
+
let queryParameters = {};
|
|
26538
|
+
let localVarHeaderParams = {
|
|
26539
|
+
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
26540
|
+
'Content-Type': 'application/json',
|
|
26541
|
+
...this.defaultHeaders,
|
|
26542
|
+
};
|
|
26543
|
+
const produces = ['application/json'];
|
|
26544
|
+
// give precedence to 'application/json'
|
|
26545
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
26546
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
26547
|
+
}
|
|
26548
|
+
else {
|
|
26549
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
26550
|
+
}
|
|
26551
|
+
let localVarFormParams;
|
|
26552
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
26553
|
+
if (organizationId === null || organizationId === undefined) {
|
|
26554
|
+
throw new Error('Required parameter organizationId was null or undefined when calling listOrganizationSecrets.');
|
|
26555
|
+
}
|
|
26556
|
+
localVarHeaderParams = {
|
|
26557
|
+
...localVarHeaderParams,
|
|
26558
|
+
...options.headers,
|
|
26559
|
+
...this.opts.extraHeaders,
|
|
26560
|
+
};
|
|
26561
|
+
const queryString = Object.entries(queryParameters)
|
|
26562
|
+
.filter(([, value]) => value !== undefined)
|
|
26563
|
+
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
26564
|
+
.join('&');
|
|
26565
|
+
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
26566
|
+
let localVarRequestOptions = {
|
|
26567
|
+
method: 'GET',
|
|
26568
|
+
headers: { ...localVarHeaderParams },
|
|
26569
|
+
};
|
|
26570
|
+
let requestOptions = localVarRequestOptions;
|
|
26571
|
+
let url = localVarUrl;
|
|
26572
|
+
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
26573
|
+
requestOptions = auth_ApiKeyAuthentication.requestOptions;
|
|
26574
|
+
url = auth_ApiKeyAuthentication.url;
|
|
26575
|
+
const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
|
|
26576
|
+
requestOptions = auth_JWTAuthentication.requestOptions;
|
|
26577
|
+
url = auth_JWTAuthentication.url;
|
|
26578
|
+
const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
|
|
26579
|
+
requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
|
|
26580
|
+
url = auth_JWTHttpHeaderAuthentication.url;
|
|
26581
|
+
const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
|
|
26582
|
+
requestOptions = auth_OAuth2.requestOptions;
|
|
26583
|
+
url = auth_OAuth2.url;
|
|
26584
|
+
const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
|
|
26585
|
+
requestOptions = authDefault.requestOptions;
|
|
26586
|
+
url = authDefault.url;
|
|
26587
|
+
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
26588
|
+
const response = await fetch(url, requestOptions);
|
|
26589
|
+
return this.handleResponse(response, 'ListOrganizationSecretsResponse');
|
|
26590
|
+
}
|
|
26591
|
+
/**
|
|
26592
|
+
* Retrieve all transfer learning blocks.
|
|
26593
|
+
* @summary Get transfer learning blocks
|
|
26594
|
+
* @param organizationId Organization ID
|
|
26595
|
+
*/
|
|
26596
|
+
async listOrganizationTransferLearningBlocks(organizationId, options = { headers: {} }) {
|
|
26597
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/transfer-learning'
|
|
26598
|
+
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)));
|
|
26599
|
+
let queryParameters = {};
|
|
26600
|
+
let localVarHeaderParams = {
|
|
26601
|
+
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
26602
|
+
'Content-Type': 'application/json',
|
|
26603
|
+
...this.defaultHeaders,
|
|
26604
|
+
};
|
|
26605
|
+
const produces = ['application/json'];
|
|
26606
|
+
// give precedence to 'application/json'
|
|
26607
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
26608
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
26609
|
+
}
|
|
26610
|
+
else {
|
|
26611
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
26612
|
+
}
|
|
26613
|
+
let localVarFormParams;
|
|
26614
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
26615
|
+
if (organizationId === null || organizationId === undefined) {
|
|
26616
|
+
throw new Error('Required parameter organizationId was null or undefined when calling listOrganizationTransferLearningBlocks.');
|
|
26617
|
+
}
|
|
26618
|
+
localVarHeaderParams = {
|
|
26619
|
+
...localVarHeaderParams,
|
|
26620
|
+
...options.headers,
|
|
26621
|
+
...this.opts.extraHeaders,
|
|
26622
|
+
};
|
|
26623
|
+
const queryString = Object.entries(queryParameters)
|
|
26624
|
+
.filter(([, value]) => value !== undefined)
|
|
26625
|
+
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
26626
|
+
.join('&');
|
|
26627
|
+
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
26628
|
+
let localVarRequestOptions = {
|
|
26629
|
+
method: 'GET',
|
|
26630
|
+
headers: { ...localVarHeaderParams },
|
|
26631
|
+
};
|
|
26632
|
+
let requestOptions = localVarRequestOptions;
|
|
26633
|
+
let url = localVarUrl;
|
|
26634
|
+
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
26635
|
+
requestOptions = auth_ApiKeyAuthentication.requestOptions;
|
|
26636
|
+
url = auth_ApiKeyAuthentication.url;
|
|
26637
|
+
const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
|
|
26638
|
+
requestOptions = auth_JWTAuthentication.requestOptions;
|
|
26639
|
+
url = auth_JWTAuthentication.url;
|
|
26640
|
+
const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
|
|
26641
|
+
requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
|
|
26642
|
+
url = auth_JWTHttpHeaderAuthentication.url;
|
|
26643
|
+
const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
|
|
26644
|
+
requestOptions = auth_OAuth2.requestOptions;
|
|
26645
|
+
url = auth_OAuth2.url;
|
|
26646
|
+
const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
|
|
26647
|
+
requestOptions = authDefault.requestOptions;
|
|
26648
|
+
url = authDefault.url;
|
|
26649
|
+
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
26650
|
+
const response = await fetch(url, requestOptions);
|
|
26651
|
+
return this.handleResponse(response, 'ListOrganizationTransferLearningBlocksResponse');
|
|
26652
|
+
}
|
|
26653
|
+
/**
|
|
26654
|
+
* Retrieve all transformation blocks.
|
|
26655
|
+
* @summary Get transformation blocks
|
|
26656
|
+
* @param organizationId Organization ID
|
|
26657
|
+
*/
|
|
26658
|
+
async listOrganizationTransformationBlocks(organizationId, options = { headers: {} }) {
|
|
26659
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/transformation'
|
|
26660
|
+
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)));
|
|
26661
|
+
let queryParameters = {};
|
|
26662
|
+
let localVarHeaderParams = {
|
|
26663
|
+
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
26664
|
+
'Content-Type': 'application/json',
|
|
26665
|
+
...this.defaultHeaders,
|
|
26666
|
+
};
|
|
26667
|
+
const produces = ['application/json'];
|
|
26668
|
+
// give precedence to 'application/json'
|
|
26669
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
26670
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
26671
|
+
}
|
|
26672
|
+
else {
|
|
26673
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
26674
|
+
}
|
|
26675
|
+
let localVarFormParams;
|
|
26676
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
26677
|
+
if (organizationId === null || organizationId === undefined) {
|
|
26678
|
+
throw new Error('Required parameter organizationId was null or undefined when calling listOrganizationTransformationBlocks.');
|
|
26679
|
+
}
|
|
26680
|
+
localVarHeaderParams = {
|
|
26681
|
+
...localVarHeaderParams,
|
|
26682
|
+
...options.headers,
|
|
26683
|
+
...this.opts.extraHeaders,
|
|
26684
|
+
};
|
|
26685
|
+
const queryString = Object.entries(queryParameters)
|
|
26686
|
+
.filter(([, value]) => value !== undefined)
|
|
26687
|
+
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
26688
|
+
.join('&');
|
|
26689
|
+
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
26690
|
+
let localVarRequestOptions = {
|
|
26691
|
+
method: 'GET',
|
|
26692
|
+
headers: { ...localVarHeaderParams },
|
|
26693
|
+
};
|
|
26694
|
+
let requestOptions = localVarRequestOptions;
|
|
26695
|
+
let url = localVarUrl;
|
|
26696
|
+
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
26697
|
+
requestOptions = auth_ApiKeyAuthentication.requestOptions;
|
|
26698
|
+
url = auth_ApiKeyAuthentication.url;
|
|
26699
|
+
const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
|
|
26700
|
+
requestOptions = auth_JWTAuthentication.requestOptions;
|
|
26701
|
+
url = auth_JWTAuthentication.url;
|
|
26702
|
+
const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
|
|
26703
|
+
requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
|
|
26704
|
+
url = auth_JWTHttpHeaderAuthentication.url;
|
|
26705
|
+
const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
|
|
26706
|
+
requestOptions = auth_OAuth2.requestOptions;
|
|
26707
|
+
url = auth_OAuth2.url;
|
|
26708
|
+
const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
|
|
26709
|
+
requestOptions = authDefault.requestOptions;
|
|
26710
|
+
url = authDefault.url;
|
|
26711
|
+
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
26712
|
+
const response = await fetch(url, requestOptions);
|
|
26713
|
+
return this.handleResponse(response, 'ListOrganizationTransformationBlocksResponse');
|
|
26714
|
+
}
|
|
26715
|
+
/**
|
|
26716
|
+
* Retrieve all transformation blocks published by other organizations, available for all organizations.
|
|
26717
|
+
* @summary List public transformation blocks
|
|
26718
|
+
* @param organizationId Organization ID
|
|
26719
|
+
*/
|
|
26720
|
+
async listPublicOrganizationTransformationBlocks(organizationId, options = { headers: {} }) {
|
|
26721
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/transformation/public'
|
|
26722
|
+
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)));
|
|
26723
|
+
let queryParameters = {};
|
|
26724
|
+
let localVarHeaderParams = {
|
|
26725
|
+
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
26726
|
+
'Content-Type': 'application/json',
|
|
26727
|
+
...this.defaultHeaders,
|
|
26728
|
+
};
|
|
26729
|
+
const produces = ['application/json'];
|
|
26730
|
+
// give precedence to 'application/json'
|
|
26731
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
26732
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
26733
|
+
}
|
|
26734
|
+
else {
|
|
26735
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
26736
|
+
}
|
|
26737
|
+
let localVarFormParams;
|
|
26738
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
26739
|
+
if (organizationId === null || organizationId === undefined) {
|
|
26740
|
+
throw new Error('Required parameter organizationId was null or undefined when calling listPublicOrganizationTransformationBlocks.');
|
|
26378
26741
|
}
|
|
26379
26742
|
localVarHeaderParams = {
|
|
26380
26743
|
...localVarHeaderParams,
|
|
@@ -26660,16 +27023,102 @@ class OrganizationBlocksApi {
|
|
|
26660
27023
|
return this.handleResponse(response, 'GenericApiResponse');
|
|
26661
27024
|
}
|
|
26662
27025
|
/**
|
|
26663
|
-
* Updates a dsp block. Only values in the body will be updated.
|
|
26664
|
-
* @summary Update dsp block
|
|
27026
|
+
* Updates a dsp block. Only values in the body will be updated.
|
|
27027
|
+
* @summary Update dsp block
|
|
27028
|
+
* @param organizationId Organization ID
|
|
27029
|
+
* @param dspId DSP Block ID, use the impulse functions to retrieve the ID
|
|
27030
|
+
* @param updateOrganizationDspBlockRequest
|
|
27031
|
+
*/
|
|
27032
|
+
async updateOrganizationDspBlock(organizationId, dspId, updateOrganizationDspBlockRequest, options = { headers: {} }) {
|
|
27033
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/dsp/{dspId}'
|
|
27034
|
+
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
27035
|
+
.replace('{' + 'dspId' + '}', encodeURIComponent(String(dspId)));
|
|
27036
|
+
let queryParameters = {};
|
|
27037
|
+
let localVarHeaderParams = {
|
|
27038
|
+
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
27039
|
+
'Content-Type': 'application/json',
|
|
27040
|
+
...this.defaultHeaders,
|
|
27041
|
+
};
|
|
27042
|
+
const produces = ['application/json'];
|
|
27043
|
+
// give precedence to 'application/json'
|
|
27044
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
27045
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
27046
|
+
}
|
|
27047
|
+
else {
|
|
27048
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
27049
|
+
}
|
|
27050
|
+
let localVarFormParams;
|
|
27051
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
27052
|
+
if (organizationId === null || organizationId === undefined) {
|
|
27053
|
+
throw new Error('Required parameter organizationId was null or undefined when calling updateOrganizationDspBlock.');
|
|
27054
|
+
}
|
|
27055
|
+
// verify required parameter 'dspId' is not null or undefined
|
|
27056
|
+
if (dspId === null || dspId === undefined) {
|
|
27057
|
+
throw new Error('Required parameter dspId was null or undefined when calling updateOrganizationDspBlock.');
|
|
27058
|
+
}
|
|
27059
|
+
// verify required parameter 'updateOrganizationDspBlockRequest' is not null or undefined
|
|
27060
|
+
if (updateOrganizationDspBlockRequest === null || updateOrganizationDspBlockRequest === undefined) {
|
|
27061
|
+
throw new Error('Required parameter updateOrganizationDspBlockRequest was null or undefined when calling updateOrganizationDspBlock.');
|
|
27062
|
+
}
|
|
27063
|
+
localVarHeaderParams = {
|
|
27064
|
+
...localVarHeaderParams,
|
|
27065
|
+
...options.headers,
|
|
27066
|
+
...this.opts.extraHeaders,
|
|
27067
|
+
};
|
|
27068
|
+
const queryString = Object.entries(queryParameters)
|
|
27069
|
+
.filter(([, value]) => value !== undefined)
|
|
27070
|
+
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
27071
|
+
.join('&');
|
|
27072
|
+
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
27073
|
+
let localVarRequestOptions = {
|
|
27074
|
+
method: 'POST',
|
|
27075
|
+
headers: { ...localVarHeaderParams },
|
|
27076
|
+
};
|
|
27077
|
+
localVarRequestOptions.body = JSON.stringify(updateOrganizationDspBlockRequest);
|
|
27078
|
+
let requestOptions = localVarRequestOptions;
|
|
27079
|
+
let url = localVarUrl;
|
|
27080
|
+
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
27081
|
+
requestOptions = auth_ApiKeyAuthentication.requestOptions;
|
|
27082
|
+
url = auth_ApiKeyAuthentication.url;
|
|
27083
|
+
const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
|
|
27084
|
+
requestOptions = auth_JWTAuthentication.requestOptions;
|
|
27085
|
+
url = auth_JWTAuthentication.url;
|
|
27086
|
+
const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
|
|
27087
|
+
requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
|
|
27088
|
+
url = auth_JWTHttpHeaderAuthentication.url;
|
|
27089
|
+
const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
|
|
27090
|
+
requestOptions = auth_OAuth2.requestOptions;
|
|
27091
|
+
url = auth_OAuth2.url;
|
|
27092
|
+
const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
|
|
27093
|
+
requestOptions = authDefault.requestOptions;
|
|
27094
|
+
url = authDefault.url;
|
|
27095
|
+
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
27096
|
+
const response = await fetch(url, requestOptions);
|
|
27097
|
+
return this.handleResponse(response, 'GenericApiResponse');
|
|
27098
|
+
}
|
|
27099
|
+
/**
|
|
27100
|
+
* Updates an extension block. Only values in the body will be updated.
|
|
27101
|
+
* @summary Update extension block
|
|
26665
27102
|
* @param organizationId Organization ID
|
|
26666
|
-
* @param
|
|
26667
|
-
* @param
|
|
26668
|
-
|
|
26669
|
-
|
|
26670
|
-
|
|
27103
|
+
* @param extensionId Extension ID
|
|
27104
|
+
* @param name Extension block name.
|
|
27105
|
+
* @param onlyAvailableInProjectId Required if \\\"visibility\\\" is \\\"project\\\". If set, this extension is scoped to this specific project.
|
|
27106
|
+
* @param description Extension block description.
|
|
27107
|
+
* @param url URL loaded by the extension.
|
|
27108
|
+
* @param repositoryUrl Optional source repository URL for the extension.
|
|
27109
|
+
* @param logo Optional logo image for the extension.
|
|
27110
|
+
* @param navbarIcon Optional Font Awesome icon class for the navigation item.
|
|
27111
|
+
* @param navbarLocation Studio navigation location for the extension.
|
|
27112
|
+
* @param requiredApiKeyRole
|
|
27113
|
+
* @param visibility
|
|
27114
|
+
* @param publicProjectTierAvailability
|
|
27115
|
+
* @param indBlockNoLongerAvailable Whether this extension is no longer available.
|
|
27116
|
+
* @param blockNoLongerAvailableReason Reason this extension is no longer available.
|
|
27117
|
+
*/
|
|
27118
|
+
async updateOrganizationExtensionBlock(organizationId, extensionId, params, options = { headers: {} }) {
|
|
27119
|
+
const localVarPath = this.basePath + '/api/organizations/{organizationId}/extension/{extensionId}'
|
|
26671
27120
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)))
|
|
26672
|
-
.replace('{' + '
|
|
27121
|
+
.replace('{' + 'extensionId' + '}', encodeURIComponent(String(extensionId)));
|
|
26673
27122
|
let queryParameters = {};
|
|
26674
27123
|
let localVarHeaderParams = {
|
|
26675
27124
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -26687,21 +27136,87 @@ class OrganizationBlocksApi {
|
|
|
26687
27136
|
let localVarFormParams;
|
|
26688
27137
|
// verify required parameter 'organizationId' is not null or undefined
|
|
26689
27138
|
if (organizationId === null || organizationId === undefined) {
|
|
26690
|
-
throw new Error('Required parameter organizationId was null or undefined when calling
|
|
27139
|
+
throw new Error('Required parameter organizationId was null or undefined when calling updateOrganizationExtensionBlock.');
|
|
26691
27140
|
}
|
|
26692
|
-
// verify required parameter '
|
|
26693
|
-
if (
|
|
26694
|
-
throw new Error('Required parameter
|
|
26695
|
-
}
|
|
26696
|
-
// verify required parameter 'updateOrganizationDspBlockRequest' is not null or undefined
|
|
26697
|
-
if (updateOrganizationDspBlockRequest === null || updateOrganizationDspBlockRequest === undefined) {
|
|
26698
|
-
throw new Error('Required parameter updateOrganizationDspBlockRequest was null or undefined when calling updateOrganizationDspBlock.');
|
|
27141
|
+
// verify required parameter 'extensionId' is not null or undefined
|
|
27142
|
+
if (extensionId === null || extensionId === undefined) {
|
|
27143
|
+
throw new Error('Required parameter extensionId was null or undefined when calling updateOrganizationExtensionBlock.');
|
|
26699
27144
|
}
|
|
26700
27145
|
localVarHeaderParams = {
|
|
26701
27146
|
...localVarHeaderParams,
|
|
26702
27147
|
...options.headers,
|
|
26703
27148
|
...this.opts.extraHeaders,
|
|
26704
27149
|
};
|
|
27150
|
+
if (params.name !== undefined) {
|
|
27151
|
+
if (params.name !== null && params.name !== undefined) {
|
|
27152
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'name', (0, models_1.serializeFormDataValue)(params.name, 'string'));
|
|
27153
|
+
}
|
|
27154
|
+
}
|
|
27155
|
+
if (params.onlyAvailableInProjectId !== undefined) {
|
|
27156
|
+
if (params.onlyAvailableInProjectId !== null && params.onlyAvailableInProjectId !== undefined) {
|
|
27157
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'onlyAvailableInProjectId', (0, models_1.serializeFormDataValue)(params.onlyAvailableInProjectId, 'number'));
|
|
27158
|
+
}
|
|
27159
|
+
}
|
|
27160
|
+
if (params.description !== undefined) {
|
|
27161
|
+
if (params.description !== null && params.description !== undefined) {
|
|
27162
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'description', (0, models_1.serializeFormDataValue)(params.description, 'string'));
|
|
27163
|
+
}
|
|
27164
|
+
}
|
|
27165
|
+
if (params.url !== undefined) {
|
|
27166
|
+
if (params.url !== null && params.url !== undefined) {
|
|
27167
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'url', (0, models_1.serializeFormDataValue)(params.url, 'string'));
|
|
27168
|
+
}
|
|
27169
|
+
}
|
|
27170
|
+
if (params.repositoryUrl !== undefined) {
|
|
27171
|
+
if (params.repositoryUrl !== null && params.repositoryUrl !== undefined) {
|
|
27172
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'repositoryUrl', (0, models_1.serializeFormDataValue)(params.repositoryUrl, 'string'));
|
|
27173
|
+
}
|
|
27174
|
+
}
|
|
27175
|
+
if (params.logo !== undefined) {
|
|
27176
|
+
localVarFormParams = (0, models_1.ensureFormData)(localVarFormParams);
|
|
27177
|
+
const logoFiles = Array.isArray(params.logo) ? params.logo : [params.logo];
|
|
27178
|
+
const Blob = globalThis.Blob || require('buffer').Blob;
|
|
27179
|
+
for (const f of logoFiles) {
|
|
27180
|
+
localVarFormParams.append('logo', new Blob([f.value], {
|
|
27181
|
+
type: f.options.contentType
|
|
27182
|
+
}), f.options.filename);
|
|
27183
|
+
}
|
|
27184
|
+
}
|
|
27185
|
+
if (params.navbarIcon !== undefined) {
|
|
27186
|
+
if (params.navbarIcon !== null && params.navbarIcon !== undefined) {
|
|
27187
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'navbarIcon', (0, models_1.serializeFormDataValue)(params.navbarIcon, 'string'));
|
|
27188
|
+
}
|
|
27189
|
+
}
|
|
27190
|
+
if (params.navbarLocation !== undefined) {
|
|
27191
|
+
if (params.navbarLocation !== null && params.navbarLocation !== undefined) {
|
|
27192
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'navbarLocation', (0, models_1.serializeFormDataValue)(params.navbarLocation, 'string'));
|
|
27193
|
+
}
|
|
27194
|
+
}
|
|
27195
|
+
if (params.requiredApiKeyRole !== undefined) {
|
|
27196
|
+
if (params.requiredApiKeyRole !== null && params.requiredApiKeyRole !== undefined) {
|
|
27197
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'requiredApiKeyRole', (0, models_1.serializeFormDataValue)(params.requiredApiKeyRole, 'ProjectApiKeyRole'));
|
|
27198
|
+
}
|
|
27199
|
+
}
|
|
27200
|
+
if (params.visibility !== undefined) {
|
|
27201
|
+
if (params.visibility !== null && params.visibility !== undefined) {
|
|
27202
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'visibility', (0, models_1.serializeFormDataValue)(params.visibility, 'ExtensionVisibility'));
|
|
27203
|
+
}
|
|
27204
|
+
}
|
|
27205
|
+
if (params.publicProjectTierAvailability !== undefined) {
|
|
27206
|
+
if (params.publicProjectTierAvailability !== null && params.publicProjectTierAvailability !== undefined) {
|
|
27207
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'publicProjectTierAvailability', (0, models_1.serializeFormDataValue)(params.publicProjectTierAvailability, 'PublicProjectTierAvailability'));
|
|
27208
|
+
}
|
|
27209
|
+
}
|
|
27210
|
+
if (params.indBlockNoLongerAvailable !== undefined) {
|
|
27211
|
+
if (params.indBlockNoLongerAvailable !== null && params.indBlockNoLongerAvailable !== undefined) {
|
|
27212
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'indBlockNoLongerAvailable', (0, models_1.serializeFormDataValue)(params.indBlockNoLongerAvailable, 'boolean'));
|
|
27213
|
+
}
|
|
27214
|
+
}
|
|
27215
|
+
if (params.blockNoLongerAvailableReason !== undefined) {
|
|
27216
|
+
if (params.blockNoLongerAvailableReason !== null && params.blockNoLongerAvailableReason !== undefined) {
|
|
27217
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'blockNoLongerAvailableReason', (0, models_1.serializeFormDataValue)(params.blockNoLongerAvailableReason, 'string'));
|
|
27218
|
+
}
|
|
27219
|
+
}
|
|
26705
27220
|
const queryString = Object.entries(queryParameters)
|
|
26706
27221
|
.filter(([, value]) => value !== undefined)
|
|
26707
27222
|
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
@@ -26711,7 +27226,6 @@ class OrganizationBlocksApi {
|
|
|
26711
27226
|
method: 'POST',
|
|
26712
27227
|
headers: { ...localVarHeaderParams },
|
|
26713
27228
|
};
|
|
26714
|
-
localVarRequestOptions.body = JSON.stringify(updateOrganizationDspBlockRequest);
|
|
26715
27229
|
let requestOptions = localVarRequestOptions;
|
|
26716
27230
|
let url = localVarUrl;
|
|
26717
27231
|
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
@@ -41370,6 +41884,74 @@ class ProjectsApi {
|
|
|
41370
41884
|
const response = await fetch(url, requestOptions);
|
|
41371
41885
|
return this.handleResponse(response, 'EntityCreatedResponse');
|
|
41372
41886
|
}
|
|
41887
|
+
/**
|
|
41888
|
+
* Adds an extension to a project. This API is only available through JWT token authentication.
|
|
41889
|
+
* @summary Add extension to project
|
|
41890
|
+
* @param projectId Project ID
|
|
41891
|
+
* @param addProjectActiveExtensionRequest
|
|
41892
|
+
*/
|
|
41893
|
+
async addProjectActiveExtension(projectId, addProjectActiveExtensionRequest, options = { headers: {} }) {
|
|
41894
|
+
const localVarPath = this.basePath + '/api/{projectId}/extensions/active/add'
|
|
41895
|
+
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
41896
|
+
let queryParameters = {};
|
|
41897
|
+
let localVarHeaderParams = {
|
|
41898
|
+
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
41899
|
+
'Content-Type': 'application/json',
|
|
41900
|
+
...this.defaultHeaders,
|
|
41901
|
+
};
|
|
41902
|
+
const produces = ['application/json'];
|
|
41903
|
+
// give precedence to 'application/json'
|
|
41904
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
41905
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
41906
|
+
}
|
|
41907
|
+
else {
|
|
41908
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
41909
|
+
}
|
|
41910
|
+
let localVarFormParams;
|
|
41911
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
41912
|
+
if (projectId === null || projectId === undefined) {
|
|
41913
|
+
throw new Error('Required parameter projectId was null or undefined when calling addProjectActiveExtension.');
|
|
41914
|
+
}
|
|
41915
|
+
// verify required parameter 'addProjectActiveExtensionRequest' is not null or undefined
|
|
41916
|
+
if (addProjectActiveExtensionRequest === null || addProjectActiveExtensionRequest === undefined) {
|
|
41917
|
+
throw new Error('Required parameter addProjectActiveExtensionRequest was null or undefined when calling addProjectActiveExtension.');
|
|
41918
|
+
}
|
|
41919
|
+
localVarHeaderParams = {
|
|
41920
|
+
...localVarHeaderParams,
|
|
41921
|
+
...options.headers,
|
|
41922
|
+
...this.opts.extraHeaders,
|
|
41923
|
+
};
|
|
41924
|
+
const queryString = Object.entries(queryParameters)
|
|
41925
|
+
.filter(([, value]) => value !== undefined)
|
|
41926
|
+
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
41927
|
+
.join('&');
|
|
41928
|
+
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
41929
|
+
let localVarRequestOptions = {
|
|
41930
|
+
method: 'POST',
|
|
41931
|
+
headers: { ...localVarHeaderParams },
|
|
41932
|
+
};
|
|
41933
|
+
localVarRequestOptions.body = JSON.stringify(addProjectActiveExtensionRequest);
|
|
41934
|
+
let requestOptions = localVarRequestOptions;
|
|
41935
|
+
let url = localVarUrl;
|
|
41936
|
+
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
41937
|
+
requestOptions = auth_ApiKeyAuthentication.requestOptions;
|
|
41938
|
+
url = auth_ApiKeyAuthentication.url;
|
|
41939
|
+
const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
|
|
41940
|
+
requestOptions = auth_JWTAuthentication.requestOptions;
|
|
41941
|
+
url = auth_JWTAuthentication.url;
|
|
41942
|
+
const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
|
|
41943
|
+
requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
|
|
41944
|
+
url = auth_JWTHttpHeaderAuthentication.url;
|
|
41945
|
+
const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
|
|
41946
|
+
requestOptions = auth_OAuth2.requestOptions;
|
|
41947
|
+
url = auth_OAuth2.url;
|
|
41948
|
+
const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
|
|
41949
|
+
requestOptions = authDefault.requestOptions;
|
|
41950
|
+
url = authDefault.url;
|
|
41951
|
+
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
41952
|
+
const response = await fetch(url, requestOptions);
|
|
41953
|
+
return this.handleResponse(response, 'GenericApiResponse');
|
|
41954
|
+
}
|
|
41373
41955
|
/**
|
|
41374
41956
|
* Add an API key. If you set `developmentKey` to `true` this flag will be removed from the current development API key. For OAuth-based third-party integrations, prefer `/api/{projectId}/apikeys/ingestiononly`.
|
|
41375
41957
|
* @summary Add API key
|
|
@@ -41912,12 +42494,204 @@ class ProjectsApi {
|
|
|
41912
42494
|
return this.handleResponse(response, 'GenericApiResponse');
|
|
41913
42495
|
}
|
|
41914
42496
|
/**
|
|
41915
|
-
* Clear the current CSV wizard config; subsequent CSVs will be uploaded as-is, without additional parsing.
|
|
41916
|
-
* @summary Delete CSV Wizard config
|
|
42497
|
+
* Clear the current CSV wizard config; subsequent CSVs will be uploaded as-is, without additional parsing.
|
|
42498
|
+
* @summary Delete CSV Wizard config
|
|
42499
|
+
* @param projectId Project ID
|
|
42500
|
+
*/
|
|
42501
|
+
async deleteCsvWizardConfig(projectId, options = { headers: {} }) {
|
|
42502
|
+
const localVarPath = this.basePath + '/api/{projectId}/csv-wizard/delete-config'
|
|
42503
|
+
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
42504
|
+
let queryParameters = {};
|
|
42505
|
+
let localVarHeaderParams = {
|
|
42506
|
+
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
42507
|
+
'Content-Type': 'application/json',
|
|
42508
|
+
...this.defaultHeaders,
|
|
42509
|
+
};
|
|
42510
|
+
const produces = ['application/json'];
|
|
42511
|
+
// give precedence to 'application/json'
|
|
42512
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
42513
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
42514
|
+
}
|
|
42515
|
+
else {
|
|
42516
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
42517
|
+
}
|
|
42518
|
+
let localVarFormParams;
|
|
42519
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
42520
|
+
if (projectId === null || projectId === undefined) {
|
|
42521
|
+
throw new Error('Required parameter projectId was null or undefined when calling deleteCsvWizardConfig.');
|
|
42522
|
+
}
|
|
42523
|
+
localVarHeaderParams = {
|
|
42524
|
+
...localVarHeaderParams,
|
|
42525
|
+
...options.headers,
|
|
42526
|
+
...this.opts.extraHeaders,
|
|
42527
|
+
};
|
|
42528
|
+
const queryString = Object.entries(queryParameters)
|
|
42529
|
+
.filter(([, value]) => value !== undefined)
|
|
42530
|
+
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
42531
|
+
.join('&');
|
|
42532
|
+
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
42533
|
+
let localVarRequestOptions = {
|
|
42534
|
+
method: 'POST',
|
|
42535
|
+
headers: { ...localVarHeaderParams },
|
|
42536
|
+
};
|
|
42537
|
+
let requestOptions = localVarRequestOptions;
|
|
42538
|
+
let url = localVarUrl;
|
|
42539
|
+
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
42540
|
+
requestOptions = auth_ApiKeyAuthentication.requestOptions;
|
|
42541
|
+
url = auth_ApiKeyAuthentication.url;
|
|
42542
|
+
const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
|
|
42543
|
+
requestOptions = auth_JWTAuthentication.requestOptions;
|
|
42544
|
+
url = auth_JWTAuthentication.url;
|
|
42545
|
+
const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
|
|
42546
|
+
requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
|
|
42547
|
+
url = auth_JWTHttpHeaderAuthentication.url;
|
|
42548
|
+
const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
|
|
42549
|
+
requestOptions = auth_OAuth2.requestOptions;
|
|
42550
|
+
url = auth_OAuth2.url;
|
|
42551
|
+
const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
|
|
42552
|
+
requestOptions = authDefault.requestOptions;
|
|
42553
|
+
url = authDefault.url;
|
|
42554
|
+
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
42555
|
+
const response = await fetch(url, requestOptions);
|
|
42556
|
+
return this.handleResponse(response, 'GenericApiResponse');
|
|
42557
|
+
}
|
|
42558
|
+
/**
|
|
42559
|
+
* Remove the current project, and all data associated with it. This is irrevocable!
|
|
42560
|
+
* @summary Remove project
|
|
42561
|
+
* @param projectId Project ID
|
|
42562
|
+
*/
|
|
42563
|
+
async deleteProject(projectId, options = { headers: {} }) {
|
|
42564
|
+
const localVarPath = this.basePath + '/api/{projectId}'
|
|
42565
|
+
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
42566
|
+
let queryParameters = {};
|
|
42567
|
+
let localVarHeaderParams = {
|
|
42568
|
+
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
42569
|
+
'Content-Type': 'application/json',
|
|
42570
|
+
...this.defaultHeaders,
|
|
42571
|
+
};
|
|
42572
|
+
const produces = ['application/json'];
|
|
42573
|
+
// give precedence to 'application/json'
|
|
42574
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
42575
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
42576
|
+
}
|
|
42577
|
+
else {
|
|
42578
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
42579
|
+
}
|
|
42580
|
+
let localVarFormParams;
|
|
42581
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
42582
|
+
if (projectId === null || projectId === undefined) {
|
|
42583
|
+
throw new Error('Required parameter projectId was null or undefined when calling deleteProject.');
|
|
42584
|
+
}
|
|
42585
|
+
localVarHeaderParams = {
|
|
42586
|
+
...localVarHeaderParams,
|
|
42587
|
+
...options.headers,
|
|
42588
|
+
...this.opts.extraHeaders,
|
|
42589
|
+
};
|
|
42590
|
+
const queryString = Object.entries(queryParameters)
|
|
42591
|
+
.filter(([, value]) => value !== undefined)
|
|
42592
|
+
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
42593
|
+
.join('&');
|
|
42594
|
+
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
42595
|
+
let localVarRequestOptions = {
|
|
42596
|
+
method: 'DELETE',
|
|
42597
|
+
headers: { ...localVarHeaderParams },
|
|
42598
|
+
};
|
|
42599
|
+
let requestOptions = localVarRequestOptions;
|
|
42600
|
+
let url = localVarUrl;
|
|
42601
|
+
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
42602
|
+
requestOptions = auth_ApiKeyAuthentication.requestOptions;
|
|
42603
|
+
url = auth_ApiKeyAuthentication.url;
|
|
42604
|
+
const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
|
|
42605
|
+
requestOptions = auth_JWTAuthentication.requestOptions;
|
|
42606
|
+
url = auth_JWTAuthentication.url;
|
|
42607
|
+
const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
|
|
42608
|
+
requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
|
|
42609
|
+
url = auth_JWTHttpHeaderAuthentication.url;
|
|
42610
|
+
const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
|
|
42611
|
+
requestOptions = auth_OAuth2.requestOptions;
|
|
42612
|
+
url = auth_OAuth2.url;
|
|
42613
|
+
const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
|
|
42614
|
+
requestOptions = authDefault.requestOptions;
|
|
42615
|
+
url = authDefault.url;
|
|
42616
|
+
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
42617
|
+
const response = await fetch(url, requestOptions);
|
|
42618
|
+
return this.handleResponse(response, 'GenericApiResponse');
|
|
42619
|
+
}
|
|
42620
|
+
/**
|
|
42621
|
+
* Delete a version. This does not delete the version from cold storage.
|
|
42622
|
+
* @summary Delete versions
|
|
42623
|
+
* @param projectId Project ID
|
|
42624
|
+
* @param versionId Version ID
|
|
42625
|
+
*/
|
|
42626
|
+
async deleteVersion(projectId, versionId, options = { headers: {} }) {
|
|
42627
|
+
const localVarPath = this.basePath + '/api/{projectId}/versions/{versionId}'
|
|
42628
|
+
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
|
|
42629
|
+
.replace('{' + 'versionId' + '}', encodeURIComponent(String(versionId)));
|
|
42630
|
+
let queryParameters = {};
|
|
42631
|
+
let localVarHeaderParams = {
|
|
42632
|
+
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
42633
|
+
'Content-Type': 'application/json',
|
|
42634
|
+
...this.defaultHeaders,
|
|
42635
|
+
};
|
|
42636
|
+
const produces = ['application/json'];
|
|
42637
|
+
// give precedence to 'application/json'
|
|
42638
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
42639
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
42640
|
+
}
|
|
42641
|
+
else {
|
|
42642
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
42643
|
+
}
|
|
42644
|
+
let localVarFormParams;
|
|
42645
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
42646
|
+
if (projectId === null || projectId === undefined) {
|
|
42647
|
+
throw new Error('Required parameter projectId was null or undefined when calling deleteVersion.');
|
|
42648
|
+
}
|
|
42649
|
+
// verify required parameter 'versionId' is not null or undefined
|
|
42650
|
+
if (versionId === null || versionId === undefined) {
|
|
42651
|
+
throw new Error('Required parameter versionId was null or undefined when calling deleteVersion.');
|
|
42652
|
+
}
|
|
42653
|
+
localVarHeaderParams = {
|
|
42654
|
+
...localVarHeaderParams,
|
|
42655
|
+
...options.headers,
|
|
42656
|
+
...this.opts.extraHeaders,
|
|
42657
|
+
};
|
|
42658
|
+
const queryString = Object.entries(queryParameters)
|
|
42659
|
+
.filter(([, value]) => value !== undefined)
|
|
42660
|
+
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
42661
|
+
.join('&');
|
|
42662
|
+
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
42663
|
+
let localVarRequestOptions = {
|
|
42664
|
+
method: 'DELETE',
|
|
42665
|
+
headers: { ...localVarHeaderParams },
|
|
42666
|
+
};
|
|
42667
|
+
let requestOptions = localVarRequestOptions;
|
|
42668
|
+
let url = localVarUrl;
|
|
42669
|
+
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
42670
|
+
requestOptions = auth_ApiKeyAuthentication.requestOptions;
|
|
42671
|
+
url = auth_ApiKeyAuthentication.url;
|
|
42672
|
+
const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
|
|
42673
|
+
requestOptions = auth_JWTAuthentication.requestOptions;
|
|
42674
|
+
url = auth_JWTAuthentication.url;
|
|
42675
|
+
const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
|
|
42676
|
+
requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
|
|
42677
|
+
url = auth_JWTHttpHeaderAuthentication.url;
|
|
42678
|
+
const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
|
|
42679
|
+
requestOptions = auth_OAuth2.requestOptions;
|
|
42680
|
+
url = auth_OAuth2.url;
|
|
42681
|
+
const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
|
|
42682
|
+
requestOptions = authDefault.requestOptions;
|
|
42683
|
+
url = authDefault.url;
|
|
42684
|
+
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
42685
|
+
const response = await fetch(url, requestOptions);
|
|
42686
|
+
return this.handleResponse(response, 'GenericApiResponse');
|
|
42687
|
+
}
|
|
42688
|
+
/**
|
|
42689
|
+
* Returns a JSON file with the current CSV wizard config. If there is no config this will throw a 5xx error.
|
|
42690
|
+
* @summary Download CSV Wizard config
|
|
41917
42691
|
* @param projectId Project ID
|
|
41918
42692
|
*/
|
|
41919
|
-
async
|
|
41920
|
-
const localVarPath = this.basePath + '/api/{projectId}/csv-wizard/
|
|
42693
|
+
async downloadCsvWizardConfig(projectId, options = { headers: {} }) {
|
|
42694
|
+
const localVarPath = this.basePath + '/api/{projectId}/csv-wizard/download-config'
|
|
41921
42695
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
41922
42696
|
let queryParameters = {};
|
|
41923
42697
|
let localVarHeaderParams = {
|
|
@@ -41925,7 +42699,7 @@ class ProjectsApi {
|
|
|
41925
42699
|
'Content-Type': 'application/json',
|
|
41926
42700
|
...this.defaultHeaders,
|
|
41927
42701
|
};
|
|
41928
|
-
const produces = ['application/
|
|
42702
|
+
const produces = ['application/octet-stream'];
|
|
41929
42703
|
// give precedence to 'application/json'
|
|
41930
42704
|
if (produces.indexOf('application/json') >= 0) {
|
|
41931
42705
|
localVarHeaderParams.Accept = 'application/json';
|
|
@@ -41936,7 +42710,7 @@ class ProjectsApi {
|
|
|
41936
42710
|
let localVarFormParams;
|
|
41937
42711
|
// verify required parameter 'projectId' is not null or undefined
|
|
41938
42712
|
if (projectId === null || projectId === undefined) {
|
|
41939
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
42713
|
+
throw new Error('Required parameter projectId was null or undefined when calling downloadCsvWizardConfig.');
|
|
41940
42714
|
}
|
|
41941
42715
|
localVarHeaderParams = {
|
|
41942
42716
|
...localVarHeaderParams,
|
|
@@ -41949,7 +42723,7 @@ class ProjectsApi {
|
|
|
41949
42723
|
.join('&');
|
|
41950
42724
|
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
41951
42725
|
let localVarRequestOptions = {
|
|
41952
|
-
method: '
|
|
42726
|
+
method: 'GET',
|
|
41953
42727
|
headers: { ...localVarHeaderParams },
|
|
41954
42728
|
};
|
|
41955
42729
|
let requestOptions = localVarRequestOptions;
|
|
@@ -41971,15 +42745,15 @@ class ProjectsApi {
|
|
|
41971
42745
|
url = authDefault.url;
|
|
41972
42746
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
41973
42747
|
const response = await fetch(url, requestOptions);
|
|
41974
|
-
return this.handleResponse(response, '
|
|
42748
|
+
return this.handleResponse(response, 'Buffer');
|
|
41975
42749
|
}
|
|
41976
42750
|
/**
|
|
41977
|
-
*
|
|
41978
|
-
* @summary
|
|
42751
|
+
* Returns the file that was uploaded when the CSV wizard was configured. If there is no config this will throw a 5xx error.
|
|
42752
|
+
* @summary Download CSV Wizard uploaded file
|
|
41979
42753
|
* @param projectId Project ID
|
|
41980
42754
|
*/
|
|
41981
|
-
async
|
|
41982
|
-
const localVarPath = this.basePath + '/api/{projectId}'
|
|
42755
|
+
async downloadCsvWizardUploadedFile(projectId, options = { headers: {} }) {
|
|
42756
|
+
const localVarPath = this.basePath + '/api/{projectId}/csv-wizard/uploaded-file/download'
|
|
41983
42757
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
41984
42758
|
let queryParameters = {};
|
|
41985
42759
|
let localVarHeaderParams = {
|
|
@@ -41987,7 +42761,7 @@ class ProjectsApi {
|
|
|
41987
42761
|
'Content-Type': 'application/json',
|
|
41988
42762
|
...this.defaultHeaders,
|
|
41989
42763
|
};
|
|
41990
|
-
const produces = ['application/
|
|
42764
|
+
const produces = ['application/octet-stream'];
|
|
41991
42765
|
// give precedence to 'application/json'
|
|
41992
42766
|
if (produces.indexOf('application/json') >= 0) {
|
|
41993
42767
|
localVarHeaderParams.Accept = 'application/json';
|
|
@@ -41998,7 +42772,7 @@ class ProjectsApi {
|
|
|
41998
42772
|
let localVarFormParams;
|
|
41999
42773
|
// verify required parameter 'projectId' is not null or undefined
|
|
42000
42774
|
if (projectId === null || projectId === undefined) {
|
|
42001
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
42775
|
+
throw new Error('Required parameter projectId was null or undefined when calling downloadCsvWizardUploadedFile.');
|
|
42002
42776
|
}
|
|
42003
42777
|
localVarHeaderParams = {
|
|
42004
42778
|
...localVarHeaderParams,
|
|
@@ -42011,7 +42785,7 @@ class ProjectsApi {
|
|
|
42011
42785
|
.join('&');
|
|
42012
42786
|
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
42013
42787
|
let localVarRequestOptions = {
|
|
42014
|
-
method: '
|
|
42788
|
+
method: 'GET',
|
|
42015
42789
|
headers: { ...localVarHeaderParams },
|
|
42016
42790
|
};
|
|
42017
42791
|
let requestOptions = localVarRequestOptions;
|
|
@@ -42033,18 +42807,18 @@ class ProjectsApi {
|
|
|
42033
42807
|
url = authDefault.url;
|
|
42034
42808
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
42035
42809
|
const response = await fetch(url, requestOptions);
|
|
42036
|
-
return this.handleResponse(response, '
|
|
42810
|
+
return this.handleResponse(response, 'Buffer');
|
|
42037
42811
|
}
|
|
42038
42812
|
/**
|
|
42039
|
-
*
|
|
42040
|
-
* @summary
|
|
42813
|
+
* Get an AI Actions config
|
|
42814
|
+
* @summary Get AI Actions config
|
|
42041
42815
|
* @param projectId Project ID
|
|
42042
|
-
* @param
|
|
42816
|
+
* @param actionId AI Action ID
|
|
42043
42817
|
*/
|
|
42044
|
-
async
|
|
42045
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
42818
|
+
async getAIAction(projectId, actionId, options = { headers: {} }) {
|
|
42819
|
+
const localVarPath = this.basePath + '/api/{projectId}/ai-actions/{actionId}'
|
|
42046
42820
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
|
|
42047
|
-
.replace('{' + '
|
|
42821
|
+
.replace('{' + 'actionId' + '}', encodeURIComponent(String(actionId)));
|
|
42048
42822
|
let queryParameters = {};
|
|
42049
42823
|
let localVarHeaderParams = {
|
|
42050
42824
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -42062,73 +42836,11 @@ class ProjectsApi {
|
|
|
42062
42836
|
let localVarFormParams;
|
|
42063
42837
|
// verify required parameter 'projectId' is not null or undefined
|
|
42064
42838
|
if (projectId === null || projectId === undefined) {
|
|
42065
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
42066
|
-
}
|
|
42067
|
-
// verify required parameter 'versionId' is not null or undefined
|
|
42068
|
-
if (versionId === null || versionId === undefined) {
|
|
42069
|
-
throw new Error('Required parameter versionId was null or undefined when calling deleteVersion.');
|
|
42070
|
-
}
|
|
42071
|
-
localVarHeaderParams = {
|
|
42072
|
-
...localVarHeaderParams,
|
|
42073
|
-
...options.headers,
|
|
42074
|
-
...this.opts.extraHeaders,
|
|
42075
|
-
};
|
|
42076
|
-
const queryString = Object.entries(queryParameters)
|
|
42077
|
-
.filter(([, value]) => value !== undefined)
|
|
42078
|
-
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
42079
|
-
.join('&');
|
|
42080
|
-
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
42081
|
-
let localVarRequestOptions = {
|
|
42082
|
-
method: 'DELETE',
|
|
42083
|
-
headers: { ...localVarHeaderParams },
|
|
42084
|
-
};
|
|
42085
|
-
let requestOptions = localVarRequestOptions;
|
|
42086
|
-
let url = localVarUrl;
|
|
42087
|
-
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
42088
|
-
requestOptions = auth_ApiKeyAuthentication.requestOptions;
|
|
42089
|
-
url = auth_ApiKeyAuthentication.url;
|
|
42090
|
-
const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
|
|
42091
|
-
requestOptions = auth_JWTAuthentication.requestOptions;
|
|
42092
|
-
url = auth_JWTAuthentication.url;
|
|
42093
|
-
const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
|
|
42094
|
-
requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
|
|
42095
|
-
url = auth_JWTHttpHeaderAuthentication.url;
|
|
42096
|
-
const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
|
|
42097
|
-
requestOptions = auth_OAuth2.requestOptions;
|
|
42098
|
-
url = auth_OAuth2.url;
|
|
42099
|
-
const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
|
|
42100
|
-
requestOptions = authDefault.requestOptions;
|
|
42101
|
-
url = authDefault.url;
|
|
42102
|
-
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
42103
|
-
const response = await fetch(url, requestOptions);
|
|
42104
|
-
return this.handleResponse(response, 'GenericApiResponse');
|
|
42105
|
-
}
|
|
42106
|
-
/**
|
|
42107
|
-
* Returns a JSON file with the current CSV wizard config. If there is no config this will throw a 5xx error.
|
|
42108
|
-
* @summary Download CSV Wizard config
|
|
42109
|
-
* @param projectId Project ID
|
|
42110
|
-
*/
|
|
42111
|
-
async downloadCsvWizardConfig(projectId, options = { headers: {} }) {
|
|
42112
|
-
const localVarPath = this.basePath + '/api/{projectId}/csv-wizard/download-config'
|
|
42113
|
-
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
42114
|
-
let queryParameters = {};
|
|
42115
|
-
let localVarHeaderParams = {
|
|
42116
|
-
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
42117
|
-
'Content-Type': 'application/json',
|
|
42118
|
-
...this.defaultHeaders,
|
|
42119
|
-
};
|
|
42120
|
-
const produces = ['application/octet-stream'];
|
|
42121
|
-
// give precedence to 'application/json'
|
|
42122
|
-
if (produces.indexOf('application/json') >= 0) {
|
|
42123
|
-
localVarHeaderParams.Accept = 'application/json';
|
|
42124
|
-
}
|
|
42125
|
-
else {
|
|
42126
|
-
localVarHeaderParams.Accept = produces.join(',');
|
|
42839
|
+
throw new Error('Required parameter projectId was null or undefined when calling getAIAction.');
|
|
42127
42840
|
}
|
|
42128
|
-
|
|
42129
|
-
|
|
42130
|
-
|
|
42131
|
-
throw new Error('Required parameter projectId was null or undefined when calling downloadCsvWizardConfig.');
|
|
42841
|
+
// verify required parameter 'actionId' is not null or undefined
|
|
42842
|
+
if (actionId === null || actionId === undefined) {
|
|
42843
|
+
throw new Error('Required parameter actionId was null or undefined when calling getAIAction.');
|
|
42132
42844
|
}
|
|
42133
42845
|
localVarHeaderParams = {
|
|
42134
42846
|
...localVarHeaderParams,
|
|
@@ -42163,15 +42875,15 @@ class ProjectsApi {
|
|
|
42163
42875
|
url = authDefault.url;
|
|
42164
42876
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
42165
42877
|
const response = await fetch(url, requestOptions);
|
|
42166
|
-
return this.handleResponse(response, '
|
|
42878
|
+
return this.handleResponse(response, 'GetAIActionResponse');
|
|
42167
42879
|
}
|
|
42168
42880
|
/**
|
|
42169
|
-
* Returns the file that was uploaded when the CSV wizard was configured
|
|
42170
|
-
* @summary
|
|
42881
|
+
* Returns whether the file that was uploaded when the CSV wizard was configured is available.
|
|
42882
|
+
* @summary Get CSV Wizard uploaded file info
|
|
42171
42883
|
* @param projectId Project ID
|
|
42172
42884
|
*/
|
|
42173
|
-
async
|
|
42174
|
-
const localVarPath = this.basePath + '/api/{projectId}/csv-wizard/uploaded-file
|
|
42885
|
+
async getCsvWizardUploadedFileInfo(projectId, options = { headers: {} }) {
|
|
42886
|
+
const localVarPath = this.basePath + '/api/{projectId}/csv-wizard/uploaded-file'
|
|
42175
42887
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
42176
42888
|
let queryParameters = {};
|
|
42177
42889
|
let localVarHeaderParams = {
|
|
@@ -42179,7 +42891,7 @@ class ProjectsApi {
|
|
|
42179
42891
|
'Content-Type': 'application/json',
|
|
42180
42892
|
...this.defaultHeaders,
|
|
42181
42893
|
};
|
|
42182
|
-
const produces = ['application/
|
|
42894
|
+
const produces = ['application/json'];
|
|
42183
42895
|
// give precedence to 'application/json'
|
|
42184
42896
|
if (produces.indexOf('application/json') >= 0) {
|
|
42185
42897
|
localVarHeaderParams.Accept = 'application/json';
|
|
@@ -42190,7 +42902,7 @@ class ProjectsApi {
|
|
|
42190
42902
|
let localVarFormParams;
|
|
42191
42903
|
// verify required parameter 'projectId' is not null or undefined
|
|
42192
42904
|
if (projectId === null || projectId === undefined) {
|
|
42193
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
42905
|
+
throw new Error('Required parameter projectId was null or undefined when calling getCsvWizardUploadedFileInfo.');
|
|
42194
42906
|
}
|
|
42195
42907
|
localVarHeaderParams = {
|
|
42196
42908
|
...localVarHeaderParams,
|
|
@@ -42225,18 +42937,14 @@ class ProjectsApi {
|
|
|
42225
42937
|
url = authDefault.url;
|
|
42226
42938
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
42227
42939
|
const response = await fetch(url, requestOptions);
|
|
42228
|
-
return this.handleResponse(response, '
|
|
42940
|
+
return this.handleResponse(response, 'GetCsvWizardUploadedFileInfo');
|
|
42229
42941
|
}
|
|
42230
42942
|
/**
|
|
42231
|
-
*
|
|
42232
|
-
* @summary Get
|
|
42233
|
-
* @param projectId Project ID
|
|
42234
|
-
* @param actionId AI Action ID
|
|
42943
|
+
* Only available when authenticating with a project API key. Returns the current role and project ID that you\'re authenticated with.
|
|
42944
|
+
* @summary Get info about current API key
|
|
42235
42945
|
*/
|
|
42236
|
-
async
|
|
42237
|
-
const localVarPath = this.basePath + '/api/
|
|
42238
|
-
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
|
|
42239
|
-
.replace('{' + 'actionId' + '}', encodeURIComponent(String(actionId)));
|
|
42946
|
+
async getCurrentApiKeyInfo(options = { headers: {} }) {
|
|
42947
|
+
const localVarPath = this.basePath + '/api/projects/api-key-info';
|
|
42240
42948
|
let queryParameters = {};
|
|
42241
42949
|
let localVarHeaderParams = {
|
|
42242
42950
|
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
@@ -42252,14 +42960,6 @@ class ProjectsApi {
|
|
|
42252
42960
|
localVarHeaderParams.Accept = produces.join(',');
|
|
42253
42961
|
}
|
|
42254
42962
|
let localVarFormParams;
|
|
42255
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
42256
|
-
if (projectId === null || projectId === undefined) {
|
|
42257
|
-
throw new Error('Required parameter projectId was null or undefined when calling getAIAction.');
|
|
42258
|
-
}
|
|
42259
|
-
// verify required parameter 'actionId' is not null or undefined
|
|
42260
|
-
if (actionId === null || actionId === undefined) {
|
|
42261
|
-
throw new Error('Required parameter actionId was null or undefined when calling getAIAction.');
|
|
42262
|
-
}
|
|
42263
42963
|
localVarHeaderParams = {
|
|
42264
42964
|
...localVarHeaderParams,
|
|
42265
42965
|
...options.headers,
|
|
@@ -42293,15 +42993,15 @@ class ProjectsApi {
|
|
|
42293
42993
|
url = authDefault.url;
|
|
42294
42994
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
42295
42995
|
const response = await fetch(url, requestOptions);
|
|
42296
|
-
return this.handleResponse(response, '
|
|
42996
|
+
return this.handleResponse(response, 'GetCurrentApiKeyInfoResponse');
|
|
42297
42997
|
}
|
|
42298
42998
|
/**
|
|
42299
|
-
*
|
|
42300
|
-
* @summary Get
|
|
42999
|
+
* Retrieve the HMAC development key for a project. This key are specifically marked to be used during development. This key can be `undefined` if no development keys are set.
|
|
43000
|
+
* @summary Get HMAC development key
|
|
42301
43001
|
* @param projectId Project ID
|
|
42302
43002
|
*/
|
|
42303
|
-
async
|
|
42304
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
43003
|
+
async getHmacDevkey(projectId, options = { headers: {} }) {
|
|
43004
|
+
const localVarPath = this.basePath + '/api/{projectId}/devkeys/hmac'
|
|
42305
43005
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
42306
43006
|
let queryParameters = {};
|
|
42307
43007
|
let localVarHeaderParams = {
|
|
@@ -42320,7 +43020,7 @@ class ProjectsApi {
|
|
|
42320
43020
|
let localVarFormParams;
|
|
42321
43021
|
// verify required parameter 'projectId' is not null or undefined
|
|
42322
43022
|
if (projectId === null || projectId === undefined) {
|
|
42323
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
43023
|
+
throw new Error('Required parameter projectId was null or undefined when calling getHmacDevkey.');
|
|
42324
43024
|
}
|
|
42325
43025
|
localVarHeaderParams = {
|
|
42326
43026
|
...localVarHeaderParams,
|
|
@@ -42355,15 +43055,16 @@ class ProjectsApi {
|
|
|
42355
43055
|
url = authDefault.url;
|
|
42356
43056
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
42357
43057
|
const response = await fetch(url, requestOptions);
|
|
42358
|
-
return this.handleResponse(response, '
|
|
43058
|
+
return this.handleResponse(response, 'GetHmacDevkeyResponse');
|
|
42359
43059
|
}
|
|
42360
43060
|
/**
|
|
42361
|
-
*
|
|
42362
|
-
* @summary Get
|
|
43061
|
+
* Get a list of model variants applicable to all trained learn blocks in this project.
|
|
43062
|
+
* @summary Get a list of all model variants available for this project
|
|
42363
43063
|
* @param projectId Project ID
|
|
43064
|
+
* @param impulseId Impulse ID. If this is unset then the default impulse is used.
|
|
42364
43065
|
*/
|
|
42365
|
-
async
|
|
42366
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
43066
|
+
async getModelVariants(projectId, queryParams, options = { headers: {} }) {
|
|
43067
|
+
const localVarPath = this.basePath + '/api/{projectId}/model-variants'
|
|
42367
43068
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
42368
43069
|
let queryParameters = {};
|
|
42369
43070
|
let localVarHeaderParams = {
|
|
@@ -42382,7 +43083,10 @@ class ProjectsApi {
|
|
|
42382
43083
|
let localVarFormParams;
|
|
42383
43084
|
// verify required parameter 'projectId' is not null or undefined
|
|
42384
43085
|
if (projectId === null || projectId === undefined) {
|
|
42385
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
43086
|
+
throw new Error('Required parameter projectId was null or undefined when calling getModelVariants.');
|
|
43087
|
+
}
|
|
43088
|
+
if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.impulseId) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.impulseId) !== null) {
|
|
43089
|
+
queryParameters['impulseId'] = queryParams.impulseId;
|
|
42386
43090
|
}
|
|
42387
43091
|
localVarHeaderParams = {
|
|
42388
43092
|
...localVarHeaderParams,
|
|
@@ -42417,16 +43121,15 @@ class ProjectsApi {
|
|
|
42417
43121
|
url = authDefault.url;
|
|
42418
43122
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
42419
43123
|
const response = await fetch(url, requestOptions);
|
|
42420
|
-
return this.handleResponse(response, '
|
|
43124
|
+
return this.handleResponse(response, 'GetModelVariantsResponse');
|
|
42421
43125
|
}
|
|
42422
43126
|
/**
|
|
42423
|
-
* Get
|
|
42424
|
-
* @summary Get
|
|
43127
|
+
* Get the AI Actions config for a new action
|
|
43128
|
+
* @summary Get new AI Actions config
|
|
42425
43129
|
* @param projectId Project ID
|
|
42426
|
-
* @param impulseId Impulse ID. If this is unset then the default impulse is used.
|
|
42427
43130
|
*/
|
|
42428
|
-
async
|
|
42429
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
43131
|
+
async getNewAIAction(projectId, options = { headers: {} }) {
|
|
43132
|
+
const localVarPath = this.basePath + '/api/{projectId}/ai-actions/new'
|
|
42430
43133
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
42431
43134
|
let queryParameters = {};
|
|
42432
43135
|
let localVarHeaderParams = {
|
|
@@ -42445,10 +43148,7 @@ class ProjectsApi {
|
|
|
42445
43148
|
let localVarFormParams;
|
|
42446
43149
|
// verify required parameter 'projectId' is not null or undefined
|
|
42447
43150
|
if (projectId === null || projectId === undefined) {
|
|
42448
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
42449
|
-
}
|
|
42450
|
-
if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.impulseId) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.impulseId) !== null) {
|
|
42451
|
-
queryParameters['impulseId'] = queryParams.impulseId;
|
|
43151
|
+
throw new Error('Required parameter projectId was null or undefined when calling getNewAIAction.');
|
|
42452
43152
|
}
|
|
42453
43153
|
localVarHeaderParams = {
|
|
42454
43154
|
...localVarHeaderParams,
|
|
@@ -42483,15 +43183,15 @@ class ProjectsApi {
|
|
|
42483
43183
|
url = authDefault.url;
|
|
42484
43184
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
42485
43185
|
const response = await fetch(url, requestOptions);
|
|
42486
|
-
return this.handleResponse(response, '
|
|
43186
|
+
return this.handleResponse(response, 'GetAIActionResponse');
|
|
42487
43187
|
}
|
|
42488
43188
|
/**
|
|
42489
|
-
*
|
|
42490
|
-
* @summary
|
|
43189
|
+
* Lists all extensions that are active for this project.
|
|
43190
|
+
* @summary List active extensions
|
|
42491
43191
|
* @param projectId Project ID
|
|
42492
43192
|
*/
|
|
42493
|
-
async
|
|
42494
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
43193
|
+
async getProjectActiveExtensions(projectId, options = { headers: {} }) {
|
|
43194
|
+
const localVarPath = this.basePath + '/api/{projectId}/extensions/active'
|
|
42495
43195
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
42496
43196
|
let queryParameters = {};
|
|
42497
43197
|
let localVarHeaderParams = {
|
|
@@ -42510,7 +43210,7 @@ class ProjectsApi {
|
|
|
42510
43210
|
let localVarFormParams;
|
|
42511
43211
|
// verify required parameter 'projectId' is not null or undefined
|
|
42512
43212
|
if (projectId === null || projectId === undefined) {
|
|
42513
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
43213
|
+
throw new Error('Required parameter projectId was null or undefined when calling getProjectActiveExtensions.');
|
|
42514
43214
|
}
|
|
42515
43215
|
localVarHeaderParams = {
|
|
42516
43216
|
...localVarHeaderParams,
|
|
@@ -42545,7 +43245,7 @@ class ProjectsApi {
|
|
|
42545
43245
|
url = authDefault.url;
|
|
42546
43246
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
42547
43247
|
const response = await fetch(url, requestOptions);
|
|
42548
|
-
return this.handleResponse(response, '
|
|
43248
|
+
return this.handleResponse(response, 'GetProjectActiveExtensionsResponse');
|
|
42549
43249
|
}
|
|
42550
43250
|
/**
|
|
42551
43251
|
* Get a list of axes that are present in the training data.
|
|
@@ -42999,15 +43699,77 @@ class ProjectsApi {
|
|
|
42999
43699
|
url = authDefault.url;
|
|
43000
43700
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
43001
43701
|
const response = await fetch(url, requestOptions);
|
|
43002
|
-
return this.handleResponse(response, 'SocketTokenResponse');
|
|
43702
|
+
return this.handleResponse(response, 'SocketTokenResponse');
|
|
43703
|
+
}
|
|
43704
|
+
/**
|
|
43705
|
+
* Get the last used synthetic data config
|
|
43706
|
+
* @summary Get synthetic data config
|
|
43707
|
+
* @param projectId Project ID
|
|
43708
|
+
*/
|
|
43709
|
+
async getSyntheticDataConfig(projectId, options = { headers: {} }) {
|
|
43710
|
+
const localVarPath = this.basePath + '/api/{projectId}/synthetic-data'
|
|
43711
|
+
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
43712
|
+
let queryParameters = {};
|
|
43713
|
+
let localVarHeaderParams = {
|
|
43714
|
+
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
43715
|
+
'Content-Type': 'application/json',
|
|
43716
|
+
...this.defaultHeaders,
|
|
43717
|
+
};
|
|
43718
|
+
const produces = ['application/json'];
|
|
43719
|
+
// give precedence to 'application/json'
|
|
43720
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
43721
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
43722
|
+
}
|
|
43723
|
+
else {
|
|
43724
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
43725
|
+
}
|
|
43726
|
+
let localVarFormParams;
|
|
43727
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
43728
|
+
if (projectId === null || projectId === undefined) {
|
|
43729
|
+
throw new Error('Required parameter projectId was null or undefined when calling getSyntheticDataConfig.');
|
|
43730
|
+
}
|
|
43731
|
+
localVarHeaderParams = {
|
|
43732
|
+
...localVarHeaderParams,
|
|
43733
|
+
...options.headers,
|
|
43734
|
+
...this.opts.extraHeaders,
|
|
43735
|
+
};
|
|
43736
|
+
const queryString = Object.entries(queryParameters)
|
|
43737
|
+
.filter(([, value]) => value !== undefined)
|
|
43738
|
+
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
43739
|
+
.join('&');
|
|
43740
|
+
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
43741
|
+
let localVarRequestOptions = {
|
|
43742
|
+
method: 'GET',
|
|
43743
|
+
headers: { ...localVarHeaderParams },
|
|
43744
|
+
};
|
|
43745
|
+
let requestOptions = localVarRequestOptions;
|
|
43746
|
+
let url = localVarUrl;
|
|
43747
|
+
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
43748
|
+
requestOptions = auth_ApiKeyAuthentication.requestOptions;
|
|
43749
|
+
url = auth_ApiKeyAuthentication.url;
|
|
43750
|
+
const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
|
|
43751
|
+
requestOptions = auth_JWTAuthentication.requestOptions;
|
|
43752
|
+
url = auth_JWTAuthentication.url;
|
|
43753
|
+
const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
|
|
43754
|
+
requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
|
|
43755
|
+
url = auth_JWTHttpHeaderAuthentication.url;
|
|
43756
|
+
const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
|
|
43757
|
+
requestOptions = auth_OAuth2.requestOptions;
|
|
43758
|
+
url = auth_OAuth2.url;
|
|
43759
|
+
const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
|
|
43760
|
+
requestOptions = authDefault.requestOptions;
|
|
43761
|
+
url = authDefault.url;
|
|
43762
|
+
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
43763
|
+
const response = await fetch(url, requestOptions);
|
|
43764
|
+
return this.handleResponse(response, 'GetSyntheticDataConfigResponse');
|
|
43003
43765
|
}
|
|
43004
43766
|
/**
|
|
43005
|
-
*
|
|
43006
|
-
* @summary Get
|
|
43767
|
+
* Retrieve target constraints for a project. The constraints object captures hardware attributes of your target device, along with an application budget to allow guidance on performance and resource usage
|
|
43768
|
+
* @summary Get target constraints
|
|
43007
43769
|
* @param projectId Project ID
|
|
43008
43770
|
*/
|
|
43009
|
-
async
|
|
43010
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
43771
|
+
async getTargetConstraints(projectId, options = { headers: {} }) {
|
|
43772
|
+
const localVarPath = this.basePath + '/api/{projectId}/target-constraints'
|
|
43011
43773
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
43012
43774
|
let queryParameters = {};
|
|
43013
43775
|
let localVarHeaderParams = {
|
|
@@ -43026,7 +43788,7 @@ class ProjectsApi {
|
|
|
43026
43788
|
let localVarFormParams;
|
|
43027
43789
|
// verify required parameter 'projectId' is not null or undefined
|
|
43028
43790
|
if (projectId === null || projectId === undefined) {
|
|
43029
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
43791
|
+
throw new Error('Required parameter projectId was null or undefined when calling getTargetConstraints.');
|
|
43030
43792
|
}
|
|
43031
43793
|
localVarHeaderParams = {
|
|
43032
43794
|
...localVarHeaderParams,
|
|
@@ -43061,15 +43823,15 @@ class ProjectsApi {
|
|
|
43061
43823
|
url = authDefault.url;
|
|
43062
43824
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
43063
43825
|
const response = await fetch(url, requestOptions);
|
|
43064
|
-
return this.handleResponse(response, '
|
|
43826
|
+
return this.handleResponse(response, 'GetTargetConstraintsResponse');
|
|
43065
43827
|
}
|
|
43066
43828
|
/**
|
|
43067
|
-
*
|
|
43068
|
-
* @summary
|
|
43829
|
+
* This clears out *all data in your project*, and is irrevocable. This function is only available through a JWT token, and is not available to all users.
|
|
43830
|
+
* @summary Launch getting started wizard
|
|
43069
43831
|
* @param projectId Project ID
|
|
43070
43832
|
*/
|
|
43071
|
-
async
|
|
43072
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
43833
|
+
async launchGettingStartedWizard(projectId, options = { headers: {} }) {
|
|
43834
|
+
const localVarPath = this.basePath + '/api/{projectId}/launch-getting-started'
|
|
43073
43835
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
43074
43836
|
let queryParameters = {};
|
|
43075
43837
|
let localVarHeaderParams = {
|
|
@@ -43088,7 +43850,7 @@ class ProjectsApi {
|
|
|
43088
43850
|
let localVarFormParams;
|
|
43089
43851
|
// verify required parameter 'projectId' is not null or undefined
|
|
43090
43852
|
if (projectId === null || projectId === undefined) {
|
|
43091
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
43853
|
+
throw new Error('Required parameter projectId was null or undefined when calling launchGettingStartedWizard.');
|
|
43092
43854
|
}
|
|
43093
43855
|
localVarHeaderParams = {
|
|
43094
43856
|
...localVarHeaderParams,
|
|
@@ -43101,7 +43863,7 @@ class ProjectsApi {
|
|
|
43101
43863
|
.join('&');
|
|
43102
43864
|
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
43103
43865
|
let localVarRequestOptions = {
|
|
43104
|
-
method: '
|
|
43866
|
+
method: 'POST',
|
|
43105
43867
|
headers: { ...localVarHeaderParams },
|
|
43106
43868
|
};
|
|
43107
43869
|
let requestOptions = localVarRequestOptions;
|
|
@@ -43123,15 +43885,15 @@ class ProjectsApi {
|
|
|
43123
43885
|
url = authDefault.url;
|
|
43124
43886
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
43125
43887
|
const response = await fetch(url, requestOptions);
|
|
43126
|
-
return this.handleResponse(response, '
|
|
43888
|
+
return this.handleResponse(response, 'GenericApiResponse');
|
|
43127
43889
|
}
|
|
43128
43890
|
/**
|
|
43129
|
-
*
|
|
43130
|
-
* @summary
|
|
43891
|
+
* Get all AI actions.
|
|
43892
|
+
* @summary List AI Actions
|
|
43131
43893
|
* @param projectId Project ID
|
|
43132
43894
|
*/
|
|
43133
|
-
async
|
|
43134
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
43895
|
+
async listAIActions(projectId, options = { headers: {} }) {
|
|
43896
|
+
const localVarPath = this.basePath + '/api/{projectId}/ai-actions'
|
|
43135
43897
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
43136
43898
|
let queryParameters = {};
|
|
43137
43899
|
let localVarHeaderParams = {
|
|
@@ -43150,7 +43912,7 @@ class ProjectsApi {
|
|
|
43150
43912
|
let localVarFormParams;
|
|
43151
43913
|
// verify required parameter 'projectId' is not null or undefined
|
|
43152
43914
|
if (projectId === null || projectId === undefined) {
|
|
43153
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
43915
|
+
throw new Error('Required parameter projectId was null or undefined when calling listAIActions.');
|
|
43154
43916
|
}
|
|
43155
43917
|
localVarHeaderParams = {
|
|
43156
43918
|
...localVarHeaderParams,
|
|
@@ -43163,7 +43925,7 @@ class ProjectsApi {
|
|
|
43163
43925
|
.join('&');
|
|
43164
43926
|
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
43165
43927
|
let localVarRequestOptions = {
|
|
43166
|
-
method: '
|
|
43928
|
+
method: 'GET',
|
|
43167
43929
|
headers: { ...localVarHeaderParams },
|
|
43168
43930
|
};
|
|
43169
43931
|
let requestOptions = localVarRequestOptions;
|
|
@@ -43185,15 +43947,15 @@ class ProjectsApi {
|
|
|
43185
43947
|
url = authDefault.url;
|
|
43186
43948
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
43187
43949
|
const response = await fetch(url, requestOptions);
|
|
43188
|
-
return this.handleResponse(response, '
|
|
43950
|
+
return this.handleResponse(response, 'ListAIActionsResponse');
|
|
43189
43951
|
}
|
|
43190
43952
|
/**
|
|
43191
|
-
*
|
|
43192
|
-
* @summary
|
|
43953
|
+
* List all development boards for a project
|
|
43954
|
+
* @summary Development boards
|
|
43193
43955
|
* @param projectId Project ID
|
|
43194
43956
|
*/
|
|
43195
|
-
async
|
|
43196
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
43957
|
+
async listDevelopmentBoards(projectId, options = { headers: {} }) {
|
|
43958
|
+
const localVarPath = this.basePath + '/api/{projectId}/development-boards'
|
|
43197
43959
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
43198
43960
|
let queryParameters = {};
|
|
43199
43961
|
let localVarHeaderParams = {
|
|
@@ -43212,7 +43974,7 @@ class ProjectsApi {
|
|
|
43212
43974
|
let localVarFormParams;
|
|
43213
43975
|
// verify required parameter 'projectId' is not null or undefined
|
|
43214
43976
|
if (projectId === null || projectId === undefined) {
|
|
43215
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
43977
|
+
throw new Error('Required parameter projectId was null or undefined when calling listDevelopmentBoards.');
|
|
43216
43978
|
}
|
|
43217
43979
|
localVarHeaderParams = {
|
|
43218
43980
|
...localVarHeaderParams,
|
|
@@ -43247,15 +44009,15 @@ class ProjectsApi {
|
|
|
43247
44009
|
url = authDefault.url;
|
|
43248
44010
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
43249
44011
|
const response = await fetch(url, requestOptions);
|
|
43250
|
-
return this.handleResponse(response, '
|
|
44012
|
+
return this.handleResponse(response, 'DevelopmentBoardsResponse');
|
|
43251
44013
|
}
|
|
43252
44014
|
/**
|
|
43253
|
-
*
|
|
43254
|
-
* @summary
|
|
44015
|
+
* Retrieve the development API and HMAC keys for a project. These keys are specifically marked to be used during development. These keys can be `undefined` if no development keys are set. Only available through JWT token authentication, if you authenticate with an API key then all keys will return undefined (this is changed behavior since 28 January 2026).
|
|
44016
|
+
* @summary Get development keys
|
|
43255
44017
|
* @param projectId Project ID
|
|
43256
44018
|
*/
|
|
43257
|
-
async
|
|
43258
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
44019
|
+
async listDevkeys(projectId, options = { headers: {} }) {
|
|
44020
|
+
const localVarPath = this.basePath + '/api/{projectId}/devkeys'
|
|
43259
44021
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
43260
44022
|
let queryParameters = {};
|
|
43261
44023
|
let localVarHeaderParams = {
|
|
@@ -43274,7 +44036,7 @@ class ProjectsApi {
|
|
|
43274
44036
|
let localVarFormParams;
|
|
43275
44037
|
// verify required parameter 'projectId' is not null or undefined
|
|
43276
44038
|
if (projectId === null || projectId === undefined) {
|
|
43277
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
44039
|
+
throw new Error('Required parameter projectId was null or undefined when calling listDevkeys.');
|
|
43278
44040
|
}
|
|
43279
44041
|
localVarHeaderParams = {
|
|
43280
44042
|
...localVarHeaderParams,
|
|
@@ -43309,15 +44071,16 @@ class ProjectsApi {
|
|
|
43309
44071
|
url = authDefault.url;
|
|
43310
44072
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
43311
44073
|
const response = await fetch(url, requestOptions);
|
|
43312
|
-
return this.handleResponse(response, '
|
|
44074
|
+
return this.handleResponse(response, 'DevelopmentKeysResponse');
|
|
43313
44075
|
}
|
|
43314
44076
|
/**
|
|
43315
|
-
* Retrieve the
|
|
43316
|
-
* @summary Get
|
|
44077
|
+
* Retrieve the downloads for a project.
|
|
44078
|
+
* @summary Get downloads
|
|
43317
44079
|
* @param projectId Project ID
|
|
44080
|
+
* @param impulseId Impulse ID. If this is unset then the default impulse is used.
|
|
43318
44081
|
*/
|
|
43319
|
-
async
|
|
43320
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
44082
|
+
async listDownloads(projectId, queryParams, options = { headers: {} }) {
|
|
44083
|
+
const localVarPath = this.basePath + '/api/{projectId}/downloads'
|
|
43321
44084
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
43322
44085
|
let queryParameters = {};
|
|
43323
44086
|
let localVarHeaderParams = {
|
|
@@ -43336,7 +44099,10 @@ class ProjectsApi {
|
|
|
43336
44099
|
let localVarFormParams;
|
|
43337
44100
|
// verify required parameter 'projectId' is not null or undefined
|
|
43338
44101
|
if (projectId === null || projectId === undefined) {
|
|
43339
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
44102
|
+
throw new Error('Required parameter projectId was null or undefined when calling listDownloads.');
|
|
44103
|
+
}
|
|
44104
|
+
if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.impulseId) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.impulseId) !== null) {
|
|
44105
|
+
queryParameters['impulseId'] = queryParams.impulseId;
|
|
43340
44106
|
}
|
|
43341
44107
|
localVarHeaderParams = {
|
|
43342
44108
|
...localVarHeaderParams,
|
|
@@ -43371,16 +44137,15 @@ class ProjectsApi {
|
|
|
43371
44137
|
url = authDefault.url;
|
|
43372
44138
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
43373
44139
|
const response = await fetch(url, requestOptions);
|
|
43374
|
-
return this.handleResponse(response, '
|
|
44140
|
+
return this.handleResponse(response, 'ProjectDownloadsResponse');
|
|
43375
44141
|
}
|
|
43376
44142
|
/**
|
|
43377
|
-
*
|
|
43378
|
-
* @summary
|
|
44143
|
+
* Get a list of all emails sent by Edge Impulse regarding this project.
|
|
44144
|
+
* @summary List emails
|
|
43379
44145
|
* @param projectId Project ID
|
|
43380
|
-
* @param impulseId Impulse ID. If this is unset then the default impulse is used.
|
|
43381
44146
|
*/
|
|
43382
|
-
async
|
|
43383
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
44147
|
+
async listEmails(projectId, options = { headers: {} }) {
|
|
44148
|
+
const localVarPath = this.basePath + '/api/{projectId}/emails'
|
|
43384
44149
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
43385
44150
|
let queryParameters = {};
|
|
43386
44151
|
let localVarHeaderParams = {
|
|
@@ -43399,10 +44164,7 @@ class ProjectsApi {
|
|
|
43399
44164
|
let localVarFormParams;
|
|
43400
44165
|
// verify required parameter 'projectId' is not null or undefined
|
|
43401
44166
|
if (projectId === null || projectId === undefined) {
|
|
43402
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
43403
|
-
}
|
|
43404
|
-
if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.impulseId) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.impulseId) !== null) {
|
|
43405
|
-
queryParameters['impulseId'] = queryParams.impulseId;
|
|
44167
|
+
throw new Error('Required parameter projectId was null or undefined when calling listEmails.');
|
|
43406
44168
|
}
|
|
43407
44169
|
localVarHeaderParams = {
|
|
43408
44170
|
...localVarHeaderParams,
|
|
@@ -43437,15 +44199,15 @@ class ProjectsApi {
|
|
|
43437
44199
|
url = authDefault.url;
|
|
43438
44200
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
43439
44201
|
const response = await fetch(url, requestOptions);
|
|
43440
|
-
return this.handleResponse(response, '
|
|
44202
|
+
return this.handleResponse(response, 'ListEmailResponse');
|
|
43441
44203
|
}
|
|
43442
44204
|
/**
|
|
43443
|
-
*
|
|
43444
|
-
* @summary
|
|
44205
|
+
* Retrieve all API keys. This does **not** return the full API key, but only a portion (for security purposes). The development key will be returned in full, as it\'ll be set in devices and is thus not private.
|
|
44206
|
+
* @summary Get API keys
|
|
43445
44207
|
* @param projectId Project ID
|
|
43446
44208
|
*/
|
|
43447
|
-
async
|
|
43448
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
44209
|
+
async listProjectApiKeys(projectId, options = { headers: {} }) {
|
|
44210
|
+
const localVarPath = this.basePath + '/api/{projectId}/apikeys'
|
|
43449
44211
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
43450
44212
|
let queryParameters = {};
|
|
43451
44213
|
let localVarHeaderParams = {
|
|
@@ -43464,7 +44226,7 @@ class ProjectsApi {
|
|
|
43464
44226
|
let localVarFormParams;
|
|
43465
44227
|
// verify required parameter 'projectId' is not null or undefined
|
|
43466
44228
|
if (projectId === null || projectId === undefined) {
|
|
43467
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
44229
|
+
throw new Error('Required parameter projectId was null or undefined when calling listProjectApiKeys.');
|
|
43468
44230
|
}
|
|
43469
44231
|
localVarHeaderParams = {
|
|
43470
44232
|
...localVarHeaderParams,
|
|
@@ -43499,15 +44261,15 @@ class ProjectsApi {
|
|
|
43499
44261
|
url = authDefault.url;
|
|
43500
44262
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
43501
44263
|
const response = await fetch(url, requestOptions);
|
|
43502
|
-
return this.handleResponse(response, '
|
|
44264
|
+
return this.handleResponse(response, 'ListApiKeysResponse');
|
|
43503
44265
|
}
|
|
43504
44266
|
/**
|
|
43505
|
-
*
|
|
43506
|
-
* @summary
|
|
44267
|
+
* Lists all available extensions that can be added to this project.
|
|
44268
|
+
* @summary List available extensions
|
|
43507
44269
|
* @param projectId Project ID
|
|
43508
44270
|
*/
|
|
43509
|
-
async
|
|
43510
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
44271
|
+
async listProjectAvailableExtensions(projectId, options = { headers: {} }) {
|
|
44272
|
+
const localVarPath = this.basePath + '/api/{projectId}/extensions/available'
|
|
43511
44273
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
43512
44274
|
let queryParameters = {};
|
|
43513
44275
|
let localVarHeaderParams = {
|
|
@@ -43526,7 +44288,7 @@ class ProjectsApi {
|
|
|
43526
44288
|
let localVarFormParams;
|
|
43527
44289
|
// verify required parameter 'projectId' is not null or undefined
|
|
43528
44290
|
if (projectId === null || projectId === undefined) {
|
|
43529
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
44291
|
+
throw new Error('Required parameter projectId was null or undefined when calling listProjectAvailableExtensions.');
|
|
43530
44292
|
}
|
|
43531
44293
|
localVarHeaderParams = {
|
|
43532
44294
|
...localVarHeaderParams,
|
|
@@ -43561,7 +44323,7 @@ class ProjectsApi {
|
|
|
43561
44323
|
url = authDefault.url;
|
|
43562
44324
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
43563
44325
|
const response = await fetch(url, requestOptions);
|
|
43564
|
-
return this.handleResponse(response, '
|
|
44326
|
+
return this.handleResponse(response, 'ListProjectAvailableExtensionsResponse');
|
|
43565
44327
|
}
|
|
43566
44328
|
/**
|
|
43567
44329
|
* Retrieve all HMAC keys.
|
|
@@ -44179,6 +44941,74 @@ class ProjectsApi {
|
|
|
44179
44941
|
const response = await fetch(url, requestOptions);
|
|
44180
44942
|
return this.handleResponse(response, 'GenericApiResponse');
|
|
44181
44943
|
}
|
|
44944
|
+
/**
|
|
44945
|
+
* Removes an existing extension from a project.
|
|
44946
|
+
* @summary Remove extension from project
|
|
44947
|
+
* @param projectId Project ID
|
|
44948
|
+
* @param extensionId Extension ID
|
|
44949
|
+
*/
|
|
44950
|
+
async removeProjectActiveExtension(projectId, extensionId, options = { headers: {} }) {
|
|
44951
|
+
const localVarPath = this.basePath + '/api/{projectId}/extensions/active/{extensionId}'
|
|
44952
|
+
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
|
|
44953
|
+
.replace('{' + 'extensionId' + '}', encodeURIComponent(String(extensionId)));
|
|
44954
|
+
let queryParameters = {};
|
|
44955
|
+
let localVarHeaderParams = {
|
|
44956
|
+
...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
|
|
44957
|
+
'Content-Type': 'application/json',
|
|
44958
|
+
...this.defaultHeaders,
|
|
44959
|
+
};
|
|
44960
|
+
const produces = ['application/json'];
|
|
44961
|
+
// give precedence to 'application/json'
|
|
44962
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
44963
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
44964
|
+
}
|
|
44965
|
+
else {
|
|
44966
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
44967
|
+
}
|
|
44968
|
+
let localVarFormParams;
|
|
44969
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
44970
|
+
if (projectId === null || projectId === undefined) {
|
|
44971
|
+
throw new Error('Required parameter projectId was null or undefined when calling removeProjectActiveExtension.');
|
|
44972
|
+
}
|
|
44973
|
+
// verify required parameter 'extensionId' is not null or undefined
|
|
44974
|
+
if (extensionId === null || extensionId === undefined) {
|
|
44975
|
+
throw new Error('Required parameter extensionId was null or undefined when calling removeProjectActiveExtension.');
|
|
44976
|
+
}
|
|
44977
|
+
localVarHeaderParams = {
|
|
44978
|
+
...localVarHeaderParams,
|
|
44979
|
+
...options.headers,
|
|
44980
|
+
...this.opts.extraHeaders,
|
|
44981
|
+
};
|
|
44982
|
+
const queryString = Object.entries(queryParameters)
|
|
44983
|
+
.filter(([, value]) => value !== undefined)
|
|
44984
|
+
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
44985
|
+
.join('&');
|
|
44986
|
+
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
44987
|
+
let localVarRequestOptions = {
|
|
44988
|
+
method: 'DELETE',
|
|
44989
|
+
headers: { ...localVarHeaderParams },
|
|
44990
|
+
};
|
|
44991
|
+
let requestOptions = localVarRequestOptions;
|
|
44992
|
+
let url = localVarUrl;
|
|
44993
|
+
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
44994
|
+
requestOptions = auth_ApiKeyAuthentication.requestOptions;
|
|
44995
|
+
url = auth_ApiKeyAuthentication.url;
|
|
44996
|
+
const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
|
|
44997
|
+
requestOptions = auth_JWTAuthentication.requestOptions;
|
|
44998
|
+
url = auth_JWTAuthentication.url;
|
|
44999
|
+
const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
|
|
45000
|
+
requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
|
|
45001
|
+
url = auth_JWTHttpHeaderAuthentication.url;
|
|
45002
|
+
const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
|
|
45003
|
+
requestOptions = auth_OAuth2.requestOptions;
|
|
45004
|
+
url = auth_OAuth2.url;
|
|
45005
|
+
const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
|
|
45006
|
+
requestOptions = authDefault.requestOptions;
|
|
45007
|
+
url = authDefault.url;
|
|
45008
|
+
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
45009
|
+
const response = await fetch(url, requestOptions);
|
|
45010
|
+
return this.handleResponse(response, 'RemoveProjectActiveExtensionResponse');
|
|
45011
|
+
}
|
|
44182
45012
|
/**
|
|
44183
45013
|
* Revoke an API key. Note that if you revoke the development API key some services (such as automatic provisioning of devices through the serial daemon) will no longer work.
|
|
44184
45014
|
* @summary Revoke API key
|
|
@@ -57497,6 +58327,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
57497
58327
|
});
|
|
57498
58328
|
|
|
57499
58329
|
|
|
58330
|
+
define("library/sdk/model/addOrganizationExtensionBlockRequest", ["require", "exports"], function (require, exports) {
|
|
58331
|
+
"use strict";
|
|
58332
|
+
// Generated by studio/openapi/generate-models/convert.ts
|
|
58333
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58334
|
+
exports.AddOrganizationExtensionBlockRequestNavbarLocationEnumValues = void 0;
|
|
58335
|
+
exports.AddOrganizationExtensionBlockRequestNavbarLocationEnumValues = ['project', 'devices', 'data_acquisition', 'experiments', 'create_impulse', 'dsp_block', 'learn_block', 'live_classification', 'model_testing', 'deployment', 'impulse', 'versioning'];
|
|
58336
|
+
});
|
|
58337
|
+
|
|
58338
|
+
|
|
57500
58339
|
define("library/sdk/model/addOrganizationSecretRequest", ["require", "exports"], function (require, exports) {
|
|
57501
58340
|
"use strict";
|
|
57502
58341
|
// Generated by studio/openapi/generate-models/convert.ts
|
|
@@ -57520,12 +58359,17 @@ exports.AddOrganizationTransformationBlockRequestOperatesOnEnumValues = ['file',
|
|
|
57520
58359
|
});
|
|
57521
58360
|
|
|
57522
58361
|
|
|
58362
|
+
define("library/sdk/model/addProjectActiveExtensionRequest", ["require", "exports"], function (require, exports) {
|
|
58363
|
+
"use strict";
|
|
58364
|
+
// Generated by studio/openapi/generate-models/convert.ts
|
|
58365
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58366
|
+
});
|
|
58367
|
+
|
|
58368
|
+
|
|
57523
58369
|
define("library/sdk/model/addProjectApiKeyRequest", ["require", "exports"], function (require, exports) {
|
|
57524
58370
|
"use strict";
|
|
57525
58371
|
// Generated by studio/openapi/generate-models/convert.ts
|
|
57526
58372
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57527
|
-
exports.AddProjectApiKeyRequestRoleEnumValues = void 0;
|
|
57528
|
-
exports.AddProjectApiKeyRequestRoleEnumValues = ['admin', 'readonly', 'ingestiononly', 'ingestion_deployment'];
|
|
57529
58373
|
});
|
|
57530
58374
|
|
|
57531
58375
|
|
|
@@ -57999,6 +58843,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
57999
58843
|
});
|
|
58000
58844
|
|
|
58001
58845
|
|
|
58846
|
+
define("library/sdk/model/apiKeyExtension", ["require", "exports"], function (require, exports) {
|
|
58847
|
+
"use strict";
|
|
58848
|
+
// Generated by studio/openapi/generate-models/convert.ts
|
|
58849
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58850
|
+
});
|
|
58851
|
+
|
|
58852
|
+
|
|
58002
58853
|
define("library/sdk/model/applicationBudget", ["require", "exports"], function (require, exports) {
|
|
58003
58854
|
"use strict";
|
|
58004
58855
|
// Generated by studio/openapi/generate-models/convert.ts
|
|
@@ -59441,6 +60292,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
59441
60292
|
});
|
|
59442
60293
|
|
|
59443
60294
|
|
|
60295
|
+
define("library/sdk/model/extension", ["require", "exports"], function (require, exports) {
|
|
60296
|
+
"use strict";
|
|
60297
|
+
// Generated by studio/openapi/generate-models/convert.ts
|
|
60298
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60299
|
+
exports.ExtensionNavbarLocationEnumValues = void 0;
|
|
60300
|
+
exports.ExtensionNavbarLocationEnumValues = ['project', 'devices', 'data_acquisition', 'experiments', 'create_impulse', 'dsp_block', 'learn_block', 'live_classification', 'model_testing', 'deployment', 'impulse', 'versioning'];
|
|
60301
|
+
});
|
|
60302
|
+
|
|
60303
|
+
|
|
60304
|
+
define("library/sdk/model/extensionVisibility", ["require", "exports"], function (require, exports) {
|
|
60305
|
+
"use strict";
|
|
60306
|
+
// Generated by studio/openapi/generate-models/convert.ts
|
|
60307
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60308
|
+
exports.ExtensionVisibilityValues = void 0;
|
|
60309
|
+
exports.ExtensionVisibilityValues = ['project', 'organization', 'everyone'];
|
|
60310
|
+
});
|
|
60311
|
+
|
|
60312
|
+
|
|
59444
60313
|
define("library/sdk/model/feature", ["require", "exports"], function (require, exports) {
|
|
59445
60314
|
"use strict";
|
|
59446
60315
|
// Generated by studio/openapi/generate-models/convert.ts
|
|
@@ -59576,6 +60445,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
59576
60445
|
});
|
|
59577
60446
|
|
|
59578
60447
|
|
|
60448
|
+
define("library/sdk/model/getCurrentApiKeyInfoResponse", ["require", "exports"], function (require, exports) {
|
|
60449
|
+
"use strict";
|
|
60450
|
+
// Generated by studio/openapi/generate-models/convert.ts
|
|
60451
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60452
|
+
});
|
|
60453
|
+
|
|
60454
|
+
|
|
59579
60455
|
define("library/sdk/model/getDataExplorerFeaturesResponse", ["require", "exports"], function (require, exports) {
|
|
59580
60456
|
"use strict";
|
|
59581
60457
|
// Generated by studio/openapi/generate-models/convert.ts
|
|
@@ -59881,6 +60757,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
59881
60757
|
});
|
|
59882
60758
|
|
|
59883
60759
|
|
|
60760
|
+
define("library/sdk/model/getOrganizationExtensionBlockResponse", ["require", "exports"], function (require, exports) {
|
|
60761
|
+
"use strict";
|
|
60762
|
+
// Generated by studio/openapi/generate-models/convert.ts
|
|
60763
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60764
|
+
});
|
|
60765
|
+
|
|
60766
|
+
|
|
59884
60767
|
define("library/sdk/model/getOrganizationPipelinesResponse", ["require", "exports"], function (require, exports) {
|
|
59885
60768
|
"use strict";
|
|
59886
60769
|
// Generated by studio/openapi/generate-models/convert.ts
|
|
@@ -59988,6 +60871,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
59988
60871
|
});
|
|
59989
60872
|
|
|
59990
60873
|
|
|
60874
|
+
define("library/sdk/model/getProjectActiveExtensionsResponse", ["require", "exports"], function (require, exports) {
|
|
60875
|
+
"use strict";
|
|
60876
|
+
// Generated by studio/openapi/generate-models/convert.ts
|
|
60877
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60878
|
+
});
|
|
60879
|
+
|
|
60880
|
+
|
|
59991
60881
|
define("library/sdk/model/getPublicDeploymentStatusResponse", ["require", "exports"], function (require, exports) {
|
|
59992
60882
|
"use strict";
|
|
59993
60883
|
// Generated by studio/openapi/generate-models/convert.ts
|
|
@@ -60715,6 +61605,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
60715
61605
|
});
|
|
60716
61606
|
|
|
60717
61607
|
|
|
61608
|
+
define("library/sdk/model/listOrganizationExtensionBlocksResponse", ["require", "exports"], function (require, exports) {
|
|
61609
|
+
"use strict";
|
|
61610
|
+
// Generated by studio/openapi/generate-models/convert.ts
|
|
61611
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
61612
|
+
});
|
|
61613
|
+
|
|
61614
|
+
|
|
60718
61615
|
define("library/sdk/model/listOrganizationFilesResponse", ["require", "exports"], function (require, exports) {
|
|
60719
61616
|
"use strict";
|
|
60720
61617
|
// Generated by studio/openapi/generate-models/convert.ts
|
|
@@ -60785,6 +61682,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
60785
61682
|
});
|
|
60786
61683
|
|
|
60787
61684
|
|
|
61685
|
+
define("library/sdk/model/listProjectAvailableExtensionsResponse", ["require", "exports"], function (require, exports) {
|
|
61686
|
+
"use strict";
|
|
61687
|
+
// Generated by studio/openapi/generate-models/convert.ts
|
|
61688
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
61689
|
+
});
|
|
61690
|
+
|
|
61691
|
+
|
|
60788
61692
|
define("library/sdk/model/listProjects", ["require", "exports"], function (require, exports) {
|
|
60789
61693
|
"use strict";
|
|
60790
61694
|
// Generated by studio/openapi/generate-models/convert.ts
|
|
@@ -61037,9 +61941,11 @@ __exportStar(require("./addOrganizationDataCampaignRequest"), exports);
|
|
|
61037
61941
|
__exportStar(require("./addOrganizationDataCampaignResponse"), exports);
|
|
61038
61942
|
__exportStar(require("./addOrganizationDeployBlockRequest"), exports);
|
|
61039
61943
|
__exportStar(require("./addOrganizationDspBlockRequest"), exports);
|
|
61944
|
+
__exportStar(require("./addOrganizationExtensionBlockRequest"), exports);
|
|
61040
61945
|
__exportStar(require("./addOrganizationSecretRequest"), exports);
|
|
61041
61946
|
__exportStar(require("./addOrganizationTransferLearningBlockRequest"), exports);
|
|
61042
61947
|
__exportStar(require("./addOrganizationTransformationBlockRequest"), exports);
|
|
61948
|
+
__exportStar(require("./addProjectActiveExtensionRequest"), exports);
|
|
61043
61949
|
__exportStar(require("./addProjectApiKeyRequest"), exports);
|
|
61044
61950
|
__exportStar(require("./additionalMetric"), exports);
|
|
61045
61951
|
__exportStar(require("./adminAddDisallowedEmailDomainRequest"), exports);
|
|
@@ -61107,6 +62013,7 @@ __exportStar(require("./anomalyModelMetadataClusters"), exports);
|
|
|
61107
62013
|
__exportStar(require("./anomalyModelMetadataResponse"), exports);
|
|
61108
62014
|
__exportStar(require("./anomalyResult"), exports);
|
|
61109
62015
|
__exportStar(require("./anomalyTrainedFeaturesResponse"), exports);
|
|
62016
|
+
__exportStar(require("./apiKeyExtension"), exports);
|
|
61110
62017
|
__exportStar(require("./applicationBudget"), exports);
|
|
61111
62018
|
__exportStar(require("./augmentationPolicyImageEnum"), exports);
|
|
61112
62019
|
__exportStar(require("./augmentationPolicySpectrogram"), exports);
|
|
@@ -61300,6 +62207,8 @@ __exportStar(require("./exportInferenceHistoryDataRequest"), exports);
|
|
|
61300
62207
|
__exportStar(require("./exportKerasBlockDataRequest"), exports);
|
|
61301
62208
|
__exportStar(require("./exportOriginalDataRequest"), exports);
|
|
61302
62209
|
__exportStar(require("./exportWavDataRequest"), exports);
|
|
62210
|
+
__exportStar(require("./extension"), exports);
|
|
62211
|
+
__exportStar(require("./extensionVisibility"), exports);
|
|
61303
62212
|
__exportStar(require("./feature"), exports);
|
|
61304
62213
|
__exportStar(require("./finalizeCustomBlockUploadRequest"), exports);
|
|
61305
62214
|
__exportStar(require("./findSegmentSampleRequest"), exports);
|
|
@@ -61318,6 +62227,7 @@ __exportStar(require("./getAllTransferLearningModelsResponse"), exports);
|
|
|
61318
62227
|
__exportStar(require("./getAllWhitelabelsResponse"), exports);
|
|
61319
62228
|
__exportStar(require("./getAutoLabelerResponse"), exports);
|
|
61320
62229
|
__exportStar(require("./getCsvWizardUploadedFileInfo"), exports);
|
|
62230
|
+
__exportStar(require("./getCurrentApiKeyInfoResponse"), exports);
|
|
61321
62231
|
__exportStar(require("./getDataExplorerFeaturesResponse"), exports);
|
|
61322
62232
|
__exportStar(require("./getDataExplorerSettingsResponse"), exports);
|
|
61323
62233
|
__exportStar(require("./getDatasetRatioResponse"), exports);
|
|
@@ -61360,6 +62270,7 @@ __exportStar(require("./getOrganizationDataItemTransformJobsResponse"), exports)
|
|
|
61360
62270
|
__exportStar(require("./getOrganizationDatasetResponse"), exports);
|
|
61361
62271
|
__exportStar(require("./getOrganizationDeployBlockResponse"), exports);
|
|
61362
62272
|
__exportStar(require("./getOrganizationDspBlockResponse"), exports);
|
|
62273
|
+
__exportStar(require("./getOrganizationExtensionBlockResponse"), exports);
|
|
61363
62274
|
__exportStar(require("./getOrganizationPipelinesResponse"), exports);
|
|
61364
62275
|
__exportStar(require("./getOrganizationPortalResponse"), exports);
|
|
61365
62276
|
__exportStar(require("./getOrganizationTransferLearningBlockResponse"), exports);
|
|
@@ -61375,6 +62286,7 @@ __exportStar(require("./getPostProcessingResultsForSampleResponse"), exports);
|
|
|
61375
62286
|
__exportStar(require("./getPostProcessingResultsForSampleResponseAllOfResults"), exports);
|
|
61376
62287
|
__exportStar(require("./getPostProcessingResultsResponse"), exports);
|
|
61377
62288
|
__exportStar(require("./getPretrainedModelResponse"), exports);
|
|
62289
|
+
__exportStar(require("./getProjectActiveExtensionsResponse"), exports);
|
|
61378
62290
|
__exportStar(require("./getPublicDeploymentStatusResponse"), exports);
|
|
61379
62291
|
__exportStar(require("./getPublicMetricsResponse"), exports);
|
|
61380
62292
|
__exportStar(require("./getPublicOrganizationTransformationBlockResponse"), exports);
|
|
@@ -61472,6 +62384,7 @@ __exportStar(require("./listOrganizationBucketsUserResponse"), exports);
|
|
|
61472
62384
|
__exportStar(require("./listOrganizationDataResponse"), exports);
|
|
61473
62385
|
__exportStar(require("./listOrganizationDeployBlocksResponse"), exports);
|
|
61474
62386
|
__exportStar(require("./listOrganizationDspBlocksResponse"), exports);
|
|
62387
|
+
__exportStar(require("./listOrganizationExtensionBlocksResponse"), exports);
|
|
61475
62388
|
__exportStar(require("./listOrganizationFilesResponse"), exports);
|
|
61476
62389
|
__exportStar(require("./listOrganizationPipelinesResponse"), exports);
|
|
61477
62390
|
__exportStar(require("./listOrganizationPortalsResponse"), exports);
|
|
@@ -61482,6 +62395,7 @@ __exportStar(require("./listOrganizationUsageReportsResponse"), exports);
|
|
|
61482
62395
|
__exportStar(require("./listOrganizationsResponse"), exports);
|
|
61483
62396
|
__exportStar(require("./listPortalFilesInFolderRequest"), exports);
|
|
61484
62397
|
__exportStar(require("./listPortalFilesInFolderResponse"), exports);
|
|
62398
|
+
__exportStar(require("./listProjectAvailableExtensionsResponse"), exports);
|
|
61485
62399
|
__exportStar(require("./listProjects"), exports);
|
|
61486
62400
|
__exportStar(require("./listProjectsResponse"), exports);
|
|
61487
62401
|
__exportStar(require("./listPublicOrganizationTransformationBlocksResponse"), exports);
|
|
@@ -61615,6 +62529,7 @@ __exportStar(require("./profileTfLiteResponse"), exports);
|
|
|
61615
62529
|
__exportStar(require("./project"), exports);
|
|
61616
62530
|
__exportStar(require("./projectApiKey"), exports);
|
|
61617
62531
|
__exportStar(require("./projectApiKeyLastUsed"), exports);
|
|
62532
|
+
__exportStar(require("./projectApiKeyRole"), exports);
|
|
61618
62533
|
__exportStar(require("./projectCollaborator"), exports);
|
|
61619
62534
|
__exportStar(require("./projectDataAxesSummaryResponse"), exports);
|
|
61620
62535
|
__exportStar(require("./projectDataIntervalResponse"), exports);
|
|
@@ -61636,6 +62551,7 @@ __exportStar(require("./projectDeploymentTarget"), exports);
|
|
|
61636
62551
|
__exportStar(require("./projectDeploymentTargetsResponse"), exports);
|
|
61637
62552
|
__exportStar(require("./projectDismissNotificationRequest"), exports);
|
|
61638
62553
|
__exportStar(require("./projectDownloadsResponse"), exports);
|
|
62554
|
+
__exportStar(require("./projectExtension"), exports);
|
|
61639
62555
|
__exportStar(require("./projectHmacKey"), exports);
|
|
61640
62556
|
__exportStar(require("./projectInfoResponse"), exports);
|
|
61641
62557
|
__exportStar(require("./projectInfoResponseAllOfExperiments"), exports);
|
|
@@ -61667,6 +62583,7 @@ __exportStar(require("./rawSamplePayload"), exports);
|
|
|
61667
62583
|
__exportStar(require("./rebalanceDatasetResponse"), exports);
|
|
61668
62584
|
__exportStar(require("./removeCollaboratorRequest"), exports);
|
|
61669
62585
|
__exportStar(require("./removeMemberRequest"), exports);
|
|
62586
|
+
__exportStar(require("./removeProjectActiveExtensionResponse"), exports);
|
|
61670
62587
|
__exportStar(require("./renameDeviceRequest"), exports);
|
|
61671
62588
|
__exportStar(require("./renamePortalFileRequest"), exports);
|
|
61672
62589
|
__exportStar(require("./renameSampleRequest"), exports);
|
|
@@ -61779,6 +62696,7 @@ __exportStar(require("./updateOrganizationDataItemRequest"), exports);
|
|
|
61779
62696
|
__exportStar(require("./updateOrganizationDatasetRequest"), exports);
|
|
61780
62697
|
__exportStar(require("./updateOrganizationDeployBlockRequest"), exports);
|
|
61781
62698
|
__exportStar(require("./updateOrganizationDspBlockRequest"), exports);
|
|
62699
|
+
__exportStar(require("./updateOrganizationExtensionBlockRequest"), exports);
|
|
61782
62700
|
__exportStar(require("./updateOrganizationPortalResponse"), exports);
|
|
61783
62701
|
__exportStar(require("./updateOrganizationRequest"), exports);
|
|
61784
62702
|
__exportStar(require("./updateOrganizationTransferLearningBlockRequest"), exports);
|
|
@@ -62848,6 +63766,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
62848
63766
|
});
|
|
62849
63767
|
|
|
62850
63768
|
|
|
63769
|
+
define("library/sdk/model/projectApiKeyRole", ["require", "exports"], function (require, exports) {
|
|
63770
|
+
"use strict";
|
|
63771
|
+
// Generated by studio/openapi/generate-models/convert.ts
|
|
63772
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63773
|
+
exports.ProjectApiKeyRoleValues = void 0;
|
|
63774
|
+
exports.ProjectApiKeyRoleValues = ['admin', 'readonly', 'ingestiononly', 'ingestion_deployment'];
|
|
63775
|
+
});
|
|
63776
|
+
|
|
63777
|
+
|
|
62851
63778
|
define("library/sdk/model/projectCollaborator", ["require", "exports"], function (require, exports) {
|
|
62852
63779
|
"use strict";
|
|
62853
63780
|
// Generated by studio/openapi/generate-models/convert.ts
|
|
@@ -63015,6 +63942,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
63015
63942
|
});
|
|
63016
63943
|
|
|
63017
63944
|
|
|
63945
|
+
define("library/sdk/model/projectExtension", ["require", "exports"], function (require, exports) {
|
|
63946
|
+
"use strict";
|
|
63947
|
+
// Generated by studio/openapi/generate-models/convert.ts
|
|
63948
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63949
|
+
exports.ProjectExtensionNavbarLocationEnumValues = void 0;
|
|
63950
|
+
exports.ProjectExtensionNavbarLocationEnumValues = ['project', 'devices', 'data_acquisition', 'experiments', 'create_impulse', 'dsp_block', 'learn_block', 'live_classification', 'model_testing', 'deployment', 'impulse', 'versioning'];
|
|
63951
|
+
});
|
|
63952
|
+
|
|
63953
|
+
|
|
63018
63954
|
define("library/sdk/model/projectHmacKey", ["require", "exports"], function (require, exports) {
|
|
63019
63955
|
"use strict";
|
|
63020
63956
|
// Generated by studio/openapi/generate-models/convert.ts
|
|
@@ -63251,6 +64187,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
63251
64187
|
});
|
|
63252
64188
|
|
|
63253
64189
|
|
|
64190
|
+
define("library/sdk/model/removeProjectActiveExtensionResponse", ["require", "exports"], function (require, exports) {
|
|
64191
|
+
"use strict";
|
|
64192
|
+
// Generated by studio/openapi/generate-models/convert.ts
|
|
64193
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
64194
|
+
});
|
|
64195
|
+
|
|
64196
|
+
|
|
63254
64197
|
define("library/sdk/model/renameDeviceRequest", ["require", "exports"], function (require, exports) {
|
|
63255
64198
|
"use strict";
|
|
63256
64199
|
// Generated by studio/openapi/generate-models/convert.ts
|
|
@@ -64076,6 +65019,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
64076
65019
|
});
|
|
64077
65020
|
|
|
64078
65021
|
|
|
65022
|
+
define("library/sdk/model/updateOrganizationExtensionBlockRequest", ["require", "exports"], function (require, exports) {
|
|
65023
|
+
"use strict";
|
|
65024
|
+
// Generated by studio/openapi/generate-models/convert.ts
|
|
65025
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65026
|
+
exports.UpdateOrganizationExtensionBlockRequestNavbarLocationEnumValues = void 0;
|
|
65027
|
+
exports.UpdateOrganizationExtensionBlockRequestNavbarLocationEnumValues = ['project', 'devices', 'data_acquisition', 'experiments', 'create_impulse', 'dsp_block', 'learn_block', 'live_classification', 'model_testing', 'deployment', 'impulse', 'versioning'];
|
|
65028
|
+
});
|
|
65029
|
+
|
|
65030
|
+
|
|
64079
65031
|
define("library/sdk/model/updateOrganizationPortalResponse", ["require", "exports"], function (require, exports) {
|
|
64080
65032
|
"use strict";
|
|
64081
65033
|
// Generated by studio/openapi/generate-models/convert.ts
|