@uipath/test-manager-tool 1.205.0-preview.284 → 1.206.0-preview.282

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.
@@ -18,7 +18,7 @@ var __toESM = (mod, isNodeMode, target) => {
18
18
  return cached;
19
19
  }
20
20
  target = mod != null ? __create(__getProtoOf(mod)) : {};
21
- const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
21
+ const to = isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
22
22
  if (mod && typeof mod === "object" || typeof mod === "function") {
23
23
  for (let key of __getOwnPropNames(mod))
24
24
  if (!__hasOwnProp.call(to, key))
@@ -32,8 +32,17 @@ var __toESM = (mod, isNodeMode, target) => {
32
32
  return to;
33
33
  };
34
34
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
35
+ var __exportCjs = (target, getters, setters) => {
36
+ for (var name in getters)
37
+ __defProp(target, name, {
38
+ get: getters[name],
39
+ set: setters[name],
40
+ enumerable: true,
41
+ configurable: true
42
+ });
43
+ };
35
44
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
36
45
 
37
- export { __toESM, __commonJS, __require };
46
+ export { __toESM, __commonJS, __exportCjs, __require };
38
47
 
39
- //# debugId=4A15A0D6FCDB684764756E2164756E21
48
+ //# debugId=6692E9B4C735B07364756E2164756E21
@@ -0,0 +1,62 @@
1
+ import {
2
+ UiPathTestManagementHubCommonEnumsObjectType2
3
+ } from "./tool-1nkyed5m.js";
4
+
5
+ // src/mappers/input/attachment.input.ts
6
+ function toGetAttachmentsByObjectIdRequest2(id, projectId, objectType) {
7
+ return { id, objectType, projectId };
8
+ }
9
+ function toDownloadAttachmentRequest2(id, projectId, objectType) {
10
+ return { id, objectType, projectId };
11
+ }
12
+ function toUploadAttachmentRequest2(id, projectId, objectType, file) {
13
+ return { id, objectType, projectId, file };
14
+ }
15
+ function toUploadTaggedAttachmentRequest2(id, projectId, objectType, file, source, attachmentType) {
16
+ return {
17
+ id,
18
+ objectType,
19
+ projectId,
20
+ file,
21
+ ...source && { source },
22
+ ...attachmentType && { attachmentType }
23
+ };
24
+ }
25
+ var ATTACHMENT_OBJECT_TYPES2 = [
26
+ UiPathTestManagementHubCommonEnumsObjectType2.Project,
27
+ UiPathTestManagementHubCommonEnumsObjectType2.Requirement,
28
+ UiPathTestManagementHubCommonEnumsObjectType2.TestCase,
29
+ UiPathTestManagementHubCommonEnumsObjectType2.TestSet,
30
+ UiPathTestManagementHubCommonEnumsObjectType2.TestExecution,
31
+ UiPathTestManagementHubCommonEnumsObjectType2.TestStepLog,
32
+ UiPathTestManagementHubCommonEnumsObjectType2.TestCaseLog,
33
+ UiPathTestManagementHubCommonEnumsObjectType2.ExplorationResult
34
+ ];
35
+ function toGetAttachmentsByObjectIdsRequest2(projectId, objectType, objectIds, options = {}) {
36
+ return {
37
+ projectId,
38
+ objectType,
39
+ ...options.source !== undefined && { source: options.source },
40
+ uiPathTestManagementHubAttachmentAbstractionsDTOsObjectIdsDto: {
41
+ objectIds
42
+ }
43
+ };
44
+ }
45
+ function toGetAttachmentByIdRequest2(id, projectId, objectType) {
46
+ return { id, objectType, projectId };
47
+ }
48
+ function toUpdateAttachmentRequest2(id, projectId, objectType, newFileName) {
49
+ return {
50
+ id,
51
+ objectType,
52
+ projectId,
53
+ uiPathTestManagementHubAttachmentAbstractionsDTOsUpdateAttachmentRequest: { newFileName }
54
+ };
55
+ }
56
+ function toDeleteAttachmentRequest2(id, projectId, objectType) {
57
+ return { id, objectType, projectId };
58
+ }
59
+
60
+ export { toGetAttachmentsByObjectIdRequest2, toDownloadAttachmentRequest2, toUploadAttachmentRequest2, toUploadTaggedAttachmentRequest2, ATTACHMENT_OBJECT_TYPES2, toGetAttachmentsByObjectIdsRequest2, toGetAttachmentByIdRequest2, toUpdateAttachmentRequest2, toDeleteAttachmentRequest2 };
61
+
62
+ //# debugId=826C7852C2FEC35F64756E2164756E21
package/dist/tool.js CHANGED
@@ -1,17 +1,16 @@
1
1
  import {
2
- metadata,
3
- registerCommands
4
- } from "./tool-bx8zw2nf.js";
5
- import"./tool-fxj3gn2v.js";
6
- import"./tool-2a68c3s5.js";
7
- import"./tool-7hy7vvfk.js";
8
- import"./tool-e3prtphw.js";
9
- import"./tool-cpdm080k.js";
10
- import"./tool-8b7p4csj.js";
11
- import"./tool-1de529jm.js";
2
+ metadata2,
3
+ registerCommands2
4
+ } from "./tool-80k4dh3a.js";
5
+ import"./tool-avfzv3ch.js";
6
+ import"./tool-vgc9gpy6.js";
7
+ import"./tool-09vb7dkp.js";
8
+ import"./tool-cp5yx7qz.js";
9
+ import"./tool-1nkyed5m.js";
10
+ import"./tool-6mpkbszw.js";
12
11
  export {
13
- metadata,
14
- registerCommands
12
+ metadata2 as metadata,
13
+ registerCommands2 as registerCommands
15
14
  };
16
15
 
17
- //# debugId=42C3BEB1C541488264756E2164756E21
16
+ //# debugId=6A0047DB14A5D92D64756E2164756E21
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@uipath/test-manager-tool",
3
3
  "author": "UiPath",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
- "version": "1.205.0-preview.284",
5
+ "version": "1.206.0-preview.282",
6
6
  "description": "Manage test cases, test sets, executions, and results.",
7
7
  "private": false,
8
8
  "repository": {
@@ -27,5 +27,5 @@
27
27
  "files": [
28
28
  "dist"
29
29
  ],
30
- "gitHead": "a4c5d26ade993d3215fc16f6982179053a8a5f07"
30
+ "gitHead": "9f18b69f2307838e3ce650b91de76cf6c9a23c13"
31
31
  }
@@ -1,36 +0,0 @@
1
- import {
2
- ATTACHMENT_OBJECT_TYPES,
3
- toDeleteAttachmentRequest,
4
- toDownloadAttachmentRequest,
5
- toGetAttachmentByIdRequest,
6
- toGetAttachmentsByObjectIdRequest,
7
- toGetAttachmentsByObjectIdsRequest,
8
- toUpdateAttachmentRequest,
9
- toUploadAttachmentRequest,
10
- toUploadTaggedAttachmentRequest
11
- } from "./tool-2a68c3s5.js";
12
- import {
13
- UiPathTestManagementHubAttachmentAbstractionsEnumsAttachmentSource,
14
- UiPathTestManagementHubAttachmentAbstractionsEnumsAttachmentType,
15
- UiPathTestManagementHubAttachmentAbstractionsEnumsAttachmentUploadSource,
16
- UiPathTestManagementHubCommonEnumsObjectType
17
- } from "./tool-cpdm080k.js";
18
- import"./tool-8b7p4csj.js";
19
- import"./tool-1de529jm.js";
20
- export {
21
- ATTACHMENT_OBJECT_TYPES,
22
- UiPathTestManagementHubAttachmentAbstractionsEnumsAttachmentSource as AttachmentSource,
23
- UiPathTestManagementHubAttachmentAbstractionsEnumsAttachmentType as AttachmentType,
24
- UiPathTestManagementHubAttachmentAbstractionsEnumsAttachmentUploadSource as AttachmentUploadSource,
25
- UiPathTestManagementHubCommonEnumsObjectType as ObjectType,
26
- toDeleteAttachmentRequest,
27
- toDownloadAttachmentRequest,
28
- toGetAttachmentByIdRequest,
29
- toGetAttachmentsByObjectIdRequest,
30
- toGetAttachmentsByObjectIdsRequest,
31
- toUpdateAttachmentRequest,
32
- toUploadAttachmentRequest,
33
- toUploadTaggedAttachmentRequest
34
- };
35
-
36
- //# debugId=8AED24F541C40EDE64756E2164756E21