edge-impulse-api 1.96.1 → 1.96.2
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/library/sdk/api/classifyApi.d.ts +7 -1
- package/build/library/sdk/api/classifyApi.js +13 -1
- package/build/library/sdk/api/classifyApi.js.map +1 -1
- package/build/library/sdk/api/impulseApi.d.ts +5 -1
- package/build/library/sdk/api/impulseApi.js +5 -1
- package/build/library/sdk/api/impulseApi.js.map +1 -1
- package/build/library/sdk/api/jobsApi.d.ts +5 -1
- package/build/library/sdk/api/jobsApi.js +9 -1
- package/build/library/sdk/api/jobsApi.js.map +1 -1
- package/build/library/sdk/api/organizationBlocksApi.d.ts +2 -0
- package/build/library/sdk/api/organizationBlocksApi.js +6 -0
- package/build/library/sdk/api/organizationBlocksApi.js.map +1 -1
- package/build/library/sdk/model/updateOrganizationExtensionBlockRequest.d.ts +4 -0
- package/package.json +1 -1
|
@@ -92,6 +92,7 @@ export type updateOrganizationExtensionBlockFormParams = {
|
|
|
92
92
|
blockNoLongerAvailableReason?: string;
|
|
93
93
|
authMethod?: ExtensionAuthMethod;
|
|
94
94
|
requireAdminInstall?: boolean;
|
|
95
|
+
hideSideMenu?: boolean;
|
|
95
96
|
showOnLearnBlockTypes?: Array<LearnBlockType>;
|
|
96
97
|
};
|
|
97
98
|
export type OrganizationBlocksApiOpts = {
|
|
@@ -642,6 +643,7 @@ export declare class OrganizationBlocksApi {
|
|
|
642
643
|
* @param blockNoLongerAvailableReason Reason this extension is no longer available.
|
|
643
644
|
* @param authMethod
|
|
644
645
|
* @param requireAdminInstall Whether only organization administrators may install this extension on projects.
|
|
646
|
+
* @param hideSideMenu Whether to hide the Studio side menu while this extension is open.
|
|
645
647
|
* @param showOnLearnBlockTypes Only applies to navbarLocation \"learn_block\" or \"learn_block_top_navbar\". The learn block types that this is extension is shown on. If set to an empty array, this will show on all learn blocks.
|
|
646
648
|
*/
|
|
647
649
|
updateOrganizationExtensionBlock(organizationId: number, extensionId: number, params: updateOrganizationExtensionBlockFormParams, options?: {
|
|
@@ -2979,6 +2979,7 @@ class OrganizationBlocksApi {
|
|
|
2979
2979
|
* @param blockNoLongerAvailableReason Reason this extension is no longer available.
|
|
2980
2980
|
* @param authMethod
|
|
2981
2981
|
* @param requireAdminInstall Whether only organization administrators may install this extension on projects.
|
|
2982
|
+
* @param hideSideMenu Whether to hide the Studio side menu while this extension is open.
|
|
2982
2983
|
* @param showOnLearnBlockTypes Only applies to navbarLocation \"learn_block\" or \"learn_block_top_navbar\". The learn block types that this is extension is shown on. If set to an empty array, this will show on all learn blocks.
|
|
2983
2984
|
*/
|
|
2984
2985
|
async updateOrganizationExtensionBlock(organizationId, extensionId, params, options = { headers: {} }) {
|
|
@@ -3093,6 +3094,11 @@ class OrganizationBlocksApi {
|
|
|
3093
3094
|
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'requireAdminInstall', (0, models_1.serializeFormDataValue)(params.requireAdminInstall, 'boolean'));
|
|
3094
3095
|
}
|
|
3095
3096
|
}
|
|
3097
|
+
if (params.hideSideMenu !== undefined) {
|
|
3098
|
+
if (params.hideSideMenu !== null && params.hideSideMenu !== undefined) {
|
|
3099
|
+
localVarFormParams = (0, models_1.appendFormField)(localVarFormParams, 'hideSideMenu', (0, models_1.serializeFormDataValue)(params.hideSideMenu, 'boolean'));
|
|
3100
|
+
}
|
|
3101
|
+
}
|
|
3096
3102
|
if (params.showOnLearnBlockTypes !== undefined) {
|
|
3097
3103
|
if (params.showOnLearnBlockTypes) {
|
|
3098
3104
|
const isParametersField = "showOnLearnBlockTypes" === "parameters";
|