@mablhq/mabl-cli 2.12.22 → 2.14.1
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/api/featureSet.js +1 -1
- package/api/mablApiClient.js +8 -1
- package/execution/index.js +5 -5
- package/mablApi/index.js +1 -1
- package/package.json +2 -2
- package/proxy/index.js +1 -1
- package/util/InternalMetricsTrackingSingleton.js +36 -0
- package/util/logUtils.js +12 -1
package/api/featureSet.js
CHANGED
|
@@ -33,7 +33,7 @@ class FeatureSet {
|
|
|
33
33
|
allowGenerativeAi() {
|
|
34
34
|
return this.featureFlags.has(exports.GENERATIVE_AI_FEATURE_FLAG);
|
|
35
35
|
}
|
|
36
|
-
|
|
36
|
+
useAdvancedAutoHeal() {
|
|
37
37
|
return this.featureFlags.has(exports.ADVANCED_AUTO_HEALING_FEATURE_FLAG);
|
|
38
38
|
}
|
|
39
39
|
}
|
package/api/mablApiClient.js
CHANGED
|
@@ -831,7 +831,14 @@ class MablApiClient extends basicApiClient_1.BasicApiClient {
|
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
833
|
async copyWorkspace(sourceWorkspaceId, destinationWorkspaceId, includeDefaults, includedTests, excludedTests) {
|
|
834
|
-
|
|
834
|
+
const copyParams = query_string_1.default.stringify({
|
|
835
|
+
source_workspace_id: sourceWorkspaceId,
|
|
836
|
+
destination_workspace_id: destinationWorkspaceId,
|
|
837
|
+
include_defaults: includeDefaults,
|
|
838
|
+
included_tests: includedTests,
|
|
839
|
+
excluded_tests: excludedTests,
|
|
840
|
+
});
|
|
841
|
+
return this.makePostRequest(`${this.baseApiUrl}/copy/organizations?${copyParams}`, {}, {
|
|
835
842
|
timeout: 3600000,
|
|
836
843
|
});
|
|
837
844
|
}
|