@mablhq/mabl-cli 1.48.47 → 1.50.4

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.
Files changed (30) hide show
  1. package/api/mablApiClient.js +30 -19
  2. package/commands/commandUtil/fileUtil.js +11 -3
  3. package/commands/constants.js +3 -1
  4. package/commands/datatables/datatables.js +1 -1
  5. package/commands/datatables/datatables_cmds/create.js +18 -105
  6. package/commands/datatables/datatables_cmds/describe.js +6 -6
  7. package/commands/datatables/datatables_cmds/export.js +36 -27
  8. package/commands/datatables/datatables_cmds/list.js +6 -6
  9. package/commands/datatables/datatables_cmds/update.js +120 -0
  10. package/commands/datatables/utils.js +138 -0
  11. package/commands/flows/flows_cmds/export.js +1 -1
  12. package/commands/tests/testsUtil.js +25 -21
  13. package/commands/tests/tests_cmds/export.js +53 -22
  14. package/core/trainer/trainingSessions.js +1 -1
  15. package/domUtil/index.js +1 -1
  16. package/execution/index.js +1 -1
  17. package/functions/apiTest/utils.js +1 -1
  18. package/index.d.ts +3 -3
  19. package/mablApi/index.js +1 -1
  20. package/mablscriptFind/index.js +1 -1
  21. package/package.json +1 -1
  22. package/resources/mablFind.js +1 -1
  23. package/resources/pdf-viewer/EmbeddedPdfHandler.js +1 -1
  24. package/resources/pdf-viewer/libEmbeddedPdfHandler.js +62 -16
  25. package/codeGenerators/seleniumConfigGenerators/SeleniumIdeStep.js +0 -40
  26. package/codeGenerators/seleniumConfigGenerators/flowConfigGenerator.js +0 -86
  27. package/codeGenerators/seleniumConfigGenerators/selIdeGenerator.js +0 -63
  28. package/codeGenerators/seleniumConfigGenerators/stepConverters.js +0 -380
  29. package/codeGenerators/seleniumConfigGenerators/testConfigGenerator.js +0 -77
  30. package/util/csvUtil.js +0 -13
@@ -38,7 +38,7 @@ function validateApiTestMessage(request, response) {
38
38
  return false;
39
39
  }
40
40
  if (((_c = (_b = pubsubMessage === null || pubsubMessage === void 0 ? void 0 : pubsubMessage.message) === null || _b === void 0 ? void 0 : _b.attributes) === null || _c === void 0 ? void 0 : _c.test_type) !==
41
- mablApi_1.Journey.TestTypeEnum.Api.toString()) {
41
+ mablApi_1.TestTypeEnum.Api.toString()) {
42
42
  (0, utils_1.handleExecutionFailure)(response, 'Illegal test type');
43
43
  return false;
44
44
  }
package/index.d.ts CHANGED
@@ -39,7 +39,7 @@ declare module '@mablhq/mabl-cli' {
39
39
  branchName?: string;
40
40
  branchChangesOnly?: boolean;
41
41
  credentialsId?: string;
42
- dataTableVariables?: VariableRow;
42
+ dataTableVariables?: Scenario;
43
43
  environmentId?: string;
44
44
  /**
45
45
  * An object containing additional HTTP headers to be sent with every request.
@@ -63,8 +63,8 @@ declare module '@mablhq/mabl-cli' {
63
63
  runnerType?: RunnerType;
64
64
  }
65
65
 
66
- export interface VariableRow {
67
- row?: Array<Variable>;
66
+ export interface Scenario {
67
+ variables?: Array<Variable>;
68
68
  }
69
69
  export interface Variable {
70
70
  name?: string;