@coveo/platform-client
Advanced tools
Comparing version 54.13.0 to 55.0.0
@@ -59,8 +59,5 @@ "use strict"; | ||
} | ||
getExperimentalStatus(organizationId = APICore_js_1.default.orgPlaceholder) { | ||
return this.api.get(`${Organization.baseUrl}/${organizationId}/machinelearning/orgconfiguration/servingExperimentAllowed`); | ||
updateExperimentalStatus(allowed = true) { | ||
return this.api.put(`${Organization.baseUrl}/${APICore_js_1.default.orgPlaceholder}/configuration/servingExperiment?allowed=${allowed}`); | ||
} | ||
updateExperimentalStatus(isAllowed = false) { | ||
return this.api.put(this.buildPath(`${Organization.baseUrl}/${APICore_js_1.default.orgPlaceholder}/machinelearning/orgconfiguration/servingExperimentAllowed`, { isAllowed })); | ||
} | ||
listPrivileges() { | ||
@@ -67,0 +64,0 @@ return this.api.get(`${Organization.baseUrl}/${APICore_js_1.default.orgPlaceholder}/privileges`); |
@@ -56,8 +56,5 @@ import API from '../../APICore.js'; | ||
} | ||
getExperimentalStatus(organizationId = API.orgPlaceholder) { | ||
return this.api.get(`${Organization.baseUrl}/${organizationId}/machinelearning/orgconfiguration/servingExperimentAllowed`); | ||
updateExperimentalStatus(allowed = true) { | ||
return this.api.put(`${Organization.baseUrl}/${API.orgPlaceholder}/configuration/servingExperiment?allowed=${allowed}`); | ||
} | ||
updateExperimentalStatus(isAllowed = false) { | ||
return this.api.put(this.buildPath(`${Organization.baseUrl}/${API.orgPlaceholder}/machinelearning/orgconfiguration/servingExperimentAllowed`, { isAllowed })); | ||
} | ||
listPrivileges() { | ||
@@ -64,0 +61,0 @@ return this.api.get(`${Organization.baseUrl}/${API.orgPlaceholder}/privileges`); |
@@ -34,4 +34,3 @@ import API from '../../APICore.js'; | ||
getAdditionalInformation(organizationId?: string): Promise<any>; | ||
getExperimentalStatus(organizationId?: string): Promise<boolean>; | ||
updateExperimentalStatus(isAllowed?: boolean): Promise<boolean>; | ||
updateExperimentalStatus(allowed?: boolean): Promise<boolean>; | ||
listPrivileges(): Promise<PrivilegeModel[]>; | ||
@@ -38,0 +37,0 @@ listMyPrivileges(): Promise<PrivilegeModel[]>; |
@@ -116,2 +116,5 @@ import { Paginated } from '../BaseInterfaces.js'; | ||
organizationStatusModel?: OrganizationsStatusModel; | ||
configuration: { | ||
servingExperimentAllowed: boolean; | ||
}; | ||
} | ||
@@ -118,0 +121,0 @@ export type AdditionalOrganizationField = 'status' | 'license' | string; |
{ | ||
"name": "@coveo/platform-client", | ||
"version": "54.13.0", | ||
"version": "55.0.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1699114
29954