@activepieces/piece-jira-cloud 0.3.6 → 0.3.8

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 (109) hide show
  1. package/package.json +7 -18
  2. package/src/index.js +109 -71
  3. package/src/auth.d.ts +0 -8
  4. package/src/auth.d.ts.map +0 -1
  5. package/src/auth.js +0 -62
  6. package/src/auth.js.map +0 -1
  7. package/src/index.d.ts +0 -6
  8. package/src/index.d.ts.map +0 -1
  9. package/src/index.js.map +0 -1
  10. package/src/lib/actions/add-attachment-to-issue.d.ts +0 -26
  11. package/src/lib/actions/add-attachment-to-issue.d.ts.map +0 -1
  12. package/src/lib/actions/add-attachment-to-issue.js +0 -46
  13. package/src/lib/actions/add-attachment-to-issue.js.map +0 -1
  14. package/src/lib/actions/add-comment-to-issue.d.ts +0 -27
  15. package/src/lib/actions/add-comment-to-issue.d.ts.map +0 -1
  16. package/src/lib/actions/add-comment-to-issue.js +0 -70
  17. package/src/lib/actions/add-comment-to-issue.js.map +0 -1
  18. package/src/lib/actions/add-watcher-to-issue.d.ts +0 -25
  19. package/src/lib/actions/add-watcher-to-issue.d.ts.map +0 -1
  20. package/src/lib/actions/add-watcher-to-issue.js +0 -53
  21. package/src/lib/actions/add-watcher-to-issue.js.map +0 -1
  22. package/src/lib/actions/assign-issue.d.ts +0 -34
  23. package/src/lib/actions/assign-issue.d.ts.map +0 -1
  24. package/src/lib/actions/assign-issue.js +0 -44
  25. package/src/lib/actions/assign-issue.js.map +0 -1
  26. package/src/lib/actions/create-issue.d.ts +0 -35
  27. package/src/lib/actions/create-issue.d.ts.map +0 -1
  28. package/src/lib/actions/create-issue.js +0 -137
  29. package/src/lib/actions/create-issue.js.map +0 -1
  30. package/src/lib/actions/delete-issue-comment.d.ts +0 -30
  31. package/src/lib/actions/delete-issue-comment.d.ts.map +0 -1
  32. package/src/lib/actions/delete-issue-comment.js +0 -69
  33. package/src/lib/actions/delete-issue-comment.js.map +0 -1
  34. package/src/lib/actions/find-user.d.ts +0 -8
  35. package/src/lib/actions/find-user.d.ts.map +0 -1
  36. package/src/lib/actions/find-user.js +0 -42
  37. package/src/lib/actions/find-user.js.map +0 -1
  38. package/src/lib/actions/get-issue-attachment.d.ts +0 -8
  39. package/src/lib/actions/get-issue-attachment.d.ts.map +0 -1
  40. package/src/lib/actions/get-issue-attachment.js +0 -53
  41. package/src/lib/actions/get-issue-attachment.js.map +0 -1
  42. package/src/lib/actions/get-issue.d.ts +0 -28
  43. package/src/lib/actions/get-issue.d.ts.map +0 -1
  44. package/src/lib/actions/get-issue.js +0 -128
  45. package/src/lib/actions/get-issue.js.map +0 -1
  46. package/src/lib/actions/link-issues.d.ts +0 -34
  47. package/src/lib/actions/link-issues.d.ts.map +0 -1
  48. package/src/lib/actions/link-issues.js +0 -56
  49. package/src/lib/actions/link-issues.js.map +0 -1
  50. package/src/lib/actions/list-issue-comments.d.ts +0 -27
  51. package/src/lib/actions/list-issue-comments.d.ts.map +0 -1
  52. package/src/lib/actions/list-issue-comments.js +0 -65
  53. package/src/lib/actions/list-issue-comments.js.map +0 -1
  54. package/src/lib/actions/markdown-to-jira-format.d.ts +0 -4
  55. package/src/lib/actions/markdown-to-jira-format.d.ts.map +0 -1
  56. package/src/lib/actions/markdown-to-jira-format.js +0 -42
  57. package/src/lib/actions/markdown-to-jira-format.js.map +0 -1
  58. package/src/lib/actions/search-issues.d.ts +0 -13
  59. package/src/lib/actions/search-issues.d.ts.map +0 -1
  60. package/src/lib/actions/search-issues.js +0 -97
  61. package/src/lib/actions/search-issues.js.map +0 -1
  62. package/src/lib/actions/transition-issue.d.ts +0 -34
  63. package/src/lib/actions/transition-issue.d.ts.map +0 -1
  64. package/src/lib/actions/transition-issue.js +0 -50
  65. package/src/lib/actions/transition-issue.js.map +0 -1
  66. package/src/lib/actions/update-issue-comment.d.ts +0 -32
  67. package/src/lib/actions/update-issue-comment.d.ts.map +0 -1
  68. package/src/lib/actions/update-issue-comment.js +0 -103
  69. package/src/lib/actions/update-issue-comment.js.map +0 -1
  70. package/src/lib/actions/update-issue.d.ts +0 -35
  71. package/src/lib/actions/update-issue.d.ts.map +0 -1
  72. package/src/lib/actions/update-issue.js +0 -161
  73. package/src/lib/actions/update-issue.js.map +0 -1
  74. package/src/lib/common/index.d.ts +0 -86
  75. package/src/lib/common/index.d.ts.map +0 -1
  76. package/src/lib/common/index.js +0 -288
  77. package/src/lib/common/index.js.map +0 -1
  78. package/src/lib/common/props.d.ts +0 -96
  79. package/src/lib/common/props.d.ts.map +0 -1
  80. package/src/lib/common/props.js +0 -591
  81. package/src/lib/common/props.js.map +0 -1
  82. package/src/lib/common/types.d.ts +0 -28
  83. package/src/lib/common/types.d.ts.map +0 -1
  84. package/src/lib/common/types.js +0 -26
  85. package/src/lib/common/types.js.map +0 -1
  86. package/src/lib/triggers/issue-assigned.d.ts +0 -71
  87. package/src/lib/triggers/issue-assigned.d.ts.map +0 -1
  88. package/src/lib/triggers/issue-assigned.js +0 -308
  89. package/src/lib/triggers/issue-assigned.js.map +0 -1
  90. package/src/lib/triggers/new-attachment.d.ts +0 -31
  91. package/src/lib/triggers/new-attachment.d.ts.map +0 -1
  92. package/src/lib/triggers/new-attachment.js +0 -167
  93. package/src/lib/triggers/new-attachment.js.map +0 -1
  94. package/src/lib/triggers/new-comment.d.ts +0 -31
  95. package/src/lib/triggers/new-comment.d.ts.map +0 -1
  96. package/src/lib/triggers/new-comment.js +0 -101
  97. package/src/lib/triggers/new-comment.js.map +0 -1
  98. package/src/lib/triggers/new-issue.d.ts +0 -31
  99. package/src/lib/triggers/new-issue.d.ts.map +0 -1
  100. package/src/lib/triggers/new-issue.js +0 -70
  101. package/src/lib/triggers/new-issue.js.map +0 -1
  102. package/src/lib/triggers/updated-issue-status.d.ts +0 -31
  103. package/src/lib/triggers/updated-issue-status.d.ts.map +0 -1
  104. package/src/lib/triggers/updated-issue-status.js +0 -70
  105. package/src/lib/triggers/updated-issue-status.js.map +0 -1
  106. package/src/lib/triggers/updated-issue.d.ts +0 -31
  107. package/src/lib/triggers/updated-issue.d.ts.map +0 -1
  108. package/src/lib/triggers/updated-issue.js +0 -70
  109. package/src/lib/triggers/updated-issue.js.map +0 -1
package/src/auth.d.ts DELETED
@@ -1,8 +0,0 @@
1
- import { AppConnectionValueForAuthProperty } from '@activepieces/pieces-framework';
2
- export declare const jiraCloudAuth: import("@activepieces/pieces-framework").CustomAuthProperty<{
3
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
4
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
5
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
6
- }>;
7
- export type JiraAuth = AppConnectionValueForAuthProperty<typeof jiraCloudAuth>;
8
- //# sourceMappingURL=auth.d.ts.map
package/src/auth.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EAGlC,MAAM,gCAAgC,CAAC;AAOxC,eAAO,MAAM,aAAa;;;;EAkDxB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,iCAAiC,CAAC,OAAO,aAAa,CAAC,CAAC"}
package/src/auth.js DELETED
@@ -1,62 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.jiraCloudAuth = void 0;
4
- const tslib_1 = require("tslib");
5
- const pieces_framework_1 = require("@activepieces/pieces-framework");
6
- const common_1 = require("./lib/common");
7
- const pieces_common_1 = require("@activepieces/pieces-common");
8
- const zod_1 = require("zod");
9
- const pieces_common_2 = require("@activepieces/pieces-common");
10
- const shared_1 = require("@activepieces/shared");
11
- exports.jiraCloudAuth = pieces_framework_1.PieceAuth.CustomAuth({
12
- description: `
13
- You can generate your API token from:
14
- ***https://id.atlassian.com/manage-profile/security/api-tokens***
15
- `,
16
- required: true,
17
- props: {
18
- instanceUrl: pieces_framework_1.Property.ShortText({
19
- displayName: 'Instance URL',
20
- description: 'The link of your Jira instance (e.g https://example.atlassian.net)',
21
- required: true,
22
- }),
23
- email: pieces_framework_1.Property.ShortText({
24
- displayName: 'Email',
25
- description: 'The email you use to login to Jira',
26
- required: true,
27
- }),
28
- apiToken: pieces_framework_1.PieceAuth.SecretText({
29
- displayName: 'API Token',
30
- description: 'Your Jira API Token',
31
- required: true,
32
- }),
33
- },
34
- validate: (_a) => tslib_1.__awaiter(void 0, [_a], void 0, function* ({ auth }) {
35
- var _b, _c;
36
- try {
37
- yield pieces_common_2.propsValidation.validateZod(auth, {
38
- instanceUrl: zod_1.z.string().url(),
39
- email: zod_1.z.string().email(),
40
- });
41
- yield (0, common_1.sendJiraRequest)({
42
- auth: {
43
- type: shared_1.AppConnectionType.CUSTOM_AUTH,
44
- props: auth,
45
- },
46
- method: pieces_common_1.HttpMethod.GET,
47
- url: 'myself',
48
- });
49
- return {
50
- valid: true,
51
- };
52
- }
53
- catch (e) {
54
- const message = (_c = (_b = e.response) === null || _b === void 0 ? void 0 : _b.body) === null || _c === void 0 ? void 0 : _c.message;
55
- return {
56
- valid: false,
57
- error: message !== null && message !== void 0 ? message : 'Invalid credentials',
58
- };
59
- }
60
- }),
61
- });
62
- //# sourceMappingURL=auth.js.map
package/src/auth.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.js","sourceRoot":"","sources":["../../src/auth.ts"],"names":[],"mappings":";;;;AAAA,qEAIwC;AACxC,yCAA+C;AAC/C,+DAAoE;AACpE,6BAAwB;AACxB,+DAA8D;AAC9D,iDAAyD;AAE5C,QAAA,aAAa,GAAG,4BAAS,CAAC,UAAU,CAAC;IAChD,WAAW,EAAE;;;KAGV;IACH,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE;QACL,WAAW,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC9B,WAAW,EAAE,cAAc;YAC3B,WAAW,EACT,oEAAoE;YACtE,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,KAAK,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACxB,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,oCAAoC;YACjD,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,QAAQ,EAAE,4BAAS,CAAC,UAAU,CAAC;YAC7B,WAAW,EAAE,WAAW;YACxB,WAAW,EAAE,qBAAqB;YAClC,QAAQ,EAAE,IAAI;SACf,CAAC;KACH;IACD,QAAQ,EAAE,KAAiB,EAAE,oDAAZ,EAAE,IAAI,EAAE;;QACvB,IAAI,CAAC;YACH,MAAM,+BAAe,CAAC,WAAW,CAAC,IAAI,EAAE;gBACtC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;gBAC7B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;aAC1B,CAAC,CAAC;YAEH,MAAM,IAAA,wBAAe,EAAC;gBACpB,IAAI,EAAE;oBACJ,IAAI,EAAE,0BAAiB,CAAC,WAAW;oBACnC,KAAK,EAAE,IAAI;iBACZ;gBACD,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,QAAQ;aACd,CAAC,CAAC;YACH,OAAO;gBACL,KAAK,EAAE,IAAI;aACZ,CAAC;QACJ,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,OAAO,GAAG,MAAC,MAAC,CAAe,CAAC,QAAQ,0CAAE,IAAY,0CAAE,OAAO,CAAC;YAClE,OAAO;gBACL,KAAK,EAAE,KAAK;gBACZ,KAAK,EAAE,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,qBAAqB;aACxC,CAAC;QACJ,CAAC;IACH,CAAC,CAAA;CACF,CAAC,CAAC"}
package/src/index.d.ts DELETED
@@ -1,6 +0,0 @@
1
- export declare const jiraCloud: import("@activepieces/pieces-framework").Piece<import("@activepieces/pieces-framework").CustomAuthProperty<{
2
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
3
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
4
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
5
- }>>;
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,SAAS;;;;GA0CpB,CAAC"}
package/src/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,qEAA6D;AAE7D,+DAAwE;AACxE,iDAAqD;AACrD,iCAAiD;AACjD,6DAA+D;AAC/D,+DAA2D;AAC3D,wDAAoD;AACpD,gEAA4D;AAC5D,8EAAyE;AACzE,6EAA6E;AAC7E,mFAAmF;AACnF,6EAA8E;AAC9E,6EAA8E;AAC9E,6DAA+D;AAC/D,6DAA+D;AAC/D,2EAA4E;AAC5E,uDAAyD;AACzD,6EAA6E;AAC7E,2DAA6D;AAC7D,6EAA8E;AAC9E,mFAA6E;AAC7E,uDAAyD;AACzD,qEAAuE;AACvE,4DAAwD;AACxD,kEAA8D;AAC9D,kEAA8D;AAEjD,QAAA,SAAS,GAAG,IAAA,8BAAW,EAAC;IACpC,WAAW,EAAE,YAAY;IACzB,WAAW,EAAE,uCAAuC;IAEpD,IAAI,EAAE,oBAAa;IACnB,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,8CAA8C;IACvD,UAAU,EAAE,CAAC,sBAAa,CAAC,YAAY,CAAC;IACxC,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,kBAAkB,EAAE,aAAa,CAAC;IACnF,OAAO,EAAE;QACR,gCAAiB;QACjB,gCAAiB;QACjB,0BAAc;QACd,4BAAY;QACZ,gCAAiB;QACjB,oDAA0B;QAC1B,+CAAwB;QACxB,8CAAuB;QACvB,8CAAuB;QACvB,+CAAwB;QACxB,8BAAgB;QAChB,6CAAuB;QACvB,+CAAwB;QACxB,8CAAoB;QACpB,0BAAc;QACd,wCAAqB;QACrB,IAAA,yCAAyB,EAAC;YACzB,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;gBACjB,OAAO,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,WAAW,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC;YAC7D,CAAC;YACD,IAAI,EAAE,oBAAa;YACnB,WAAW,EAAE,CAAO,IAAI,EAAE,EAAE;gBAC3B,MAAM,SAAS,GAAG,IAAgB,CAAC;gBACnC,OAAO;oBACN,aAAa,EAAE,SAAS,MAAM,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CACnG,QAAQ,CACR,EAAE;iBACH,CAAC;YACH,CAAC,CAAA;SACD,CAAC;KACF;IACD,QAAQ,EAAE,CAAC,oBAAQ,EAAE,4BAAY,EAAE,yCAAkB,EAAE,wBAAU,EAAE,8BAAa,EAAE,8BAAa,CAAC;CAChG,CAAC,CAAC"}
@@ -1,26 +0,0 @@
1
- export declare const addAttachmentToIssueAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
2
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
3
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
4
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
5
- }>, {
6
- projectId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
7
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
8
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
9
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
10
- }>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
11
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
12
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
13
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
14
- }>>;
15
- issueId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
16
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
17
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
18
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
19
- }>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
20
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
21
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
22
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
23
- }>>;
24
- attachment: import("@activepieces/pieces-framework").FileProperty<true>;
25
- }>;
26
- //# sourceMappingURL=add-attachment-to-issue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-attachment-to-issue.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/add-attachment-to-issue.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;EAqCrC,CAAC"}
@@ -1,46 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.addAttachmentToIssueAction = void 0;
4
- const tslib_1 = require("tslib");
5
- const pieces_framework_1 = require("@activepieces/pieces-framework");
6
- const auth_1 = require("../../auth");
7
- const pieces_common_1 = require("@activepieces/pieces-common");
8
- const common_1 = require("../common");
9
- const form_data_1 = tslib_1.__importDefault(require("form-data"));
10
- const props_1 = require("../common/props");
11
- exports.addAttachmentToIssueAction = (0, pieces_framework_1.createAction)({
12
- auth: auth_1.jiraCloudAuth,
13
- name: 'add_issue_attachment',
14
- displayName: 'Add Attachment to Issue',
15
- description: 'Adds an attachment to an issue.',
16
- audience: 'both',
17
- aiMetadata: {
18
- description: 'Upload a file as an attachment on an existing Jira issue, identified by project and issue. Use when a file (image, log, document) needs to be stored on the issue itself rather than referenced in a comment. Not idempotent: re-running uploads a duplicate copy of the same file.',
19
- idempotent: false,
20
- },
21
- props: {
22
- projectId: (0, props_1.getProjectIdDropdown)(),
23
- issueId: (0, props_1.getIssueIdDropdown)({ refreshers: ['projectId'] }),
24
- attachment: pieces_framework_1.Property.File({
25
- displayName: 'Attachment',
26
- required: true,
27
- }),
28
- },
29
- run(context) {
30
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
31
- const { issueId, attachment } = context.propsValue;
32
- const formData = new form_data_1.default();
33
- const fileBuffer = Buffer.from(attachment.base64, 'base64');
34
- formData.append('file', fileBuffer, attachment.filename);
35
- const response = yield (0, common_1.sendJiraRequest)({
36
- method: pieces_common_1.HttpMethod.POST,
37
- url: `issue/${issueId}/attachments`,
38
- auth: context.auth,
39
- headers: Object.assign({ 'X-Atlassian-Token': 'no-check' }, formData.getHeaders()),
40
- body: formData,
41
- });
42
- return response.body;
43
- });
44
- },
45
- });
46
- //# sourceMappingURL=add-attachment-to-issue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-attachment-to-issue.js","sourceRoot":"","sources":["../../../../src/lib/actions/add-attachment-to-issue.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,qCAA2C;AAC3C,+DAAyD;AACzD,sCAA4C;AAC5C,kEAAiC;AACjC,2CAA2E;AAE9D,QAAA,0BAA0B,GAAG,IAAA,+BAAY,EAAC;IACtD,IAAI,EAAE,oBAAa;IACnB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,yBAAyB;IACtC,WAAW,EAAE,iCAAiC;IAC9C,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE;QACX,WAAW,EACV,qRAAqR;QACtR,UAAU,EAAE,KAAK;KACjB;IACD,KAAK,EAAE;QACN,SAAS,EAAE,IAAA,4BAAoB,GAAE;QACjC,OAAO,EAAE,IAAA,0BAAkB,EAAC,EAAE,UAAU,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC1D,UAAU,EAAE,2BAAQ,CAAC,IAAI,CAAC;YACzB,WAAW,EAAE,YAAY;YACzB,QAAQ,EAAE,IAAI;SACd,CAAC;KACF;IACK,GAAG,CAAC,OAAO;;YAChB,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;YACnD,MAAM,QAAQ,GAAG,IAAI,mBAAQ,EAAE,CAAC;YAChC,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;YAC5D,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;YAEzD,MAAM,QAAQ,GAAG,MAAM,IAAA,wBAAe,EAAC;gBACtC,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,GAAG,EAAE,SAAS,OAAO,cAAc;gBACnC,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,OAAO,kBACN,mBAAmB,EAAE,UAAU,IAC5B,QAAQ,CAAC,UAAU,EAAE,CACxB;gBACD,IAAI,EAAE,QAAQ;aACd,CAAC,CAAC;YACH,OAAO,QAAQ,CAAC,IAAI,CAAC;QACtB,CAAC;KAAA;CACD,CAAC,CAAC"}
@@ -1,27 +0,0 @@
1
- export declare const addCommentToIssueAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
2
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
3
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
4
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
5
- }>, {
6
- projectId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
7
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
8
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
9
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
10
- }>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
11
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
12
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
13
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
14
- }>>;
15
- issueId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
16
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
17
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
18
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
19
- }>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
20
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
21
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
22
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
23
- }>>;
24
- comment: import("@activepieces/pieces-framework").LongTextProperty<true>;
25
- isADF: import("@activepieces/pieces-framework").CheckboxProperty<false>;
26
- }>;
27
- //# sourceMappingURL=add-comment-to-issue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-comment-to-issue.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/add-comment-to-issue.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;EA4DlC,CAAC"}
@@ -1,70 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.addCommentToIssueAction = void 0;
4
- const tslib_1 = require("tslib");
5
- const pieces_framework_1 = require("@activepieces/pieces-framework");
6
- const auth_1 = require("../../auth");
7
- const pieces_common_1 = require("@activepieces/pieces-common");
8
- const common_1 = require("../common");
9
- const props_1 = require("../common/props");
10
- exports.addCommentToIssueAction = (0, pieces_framework_1.createAction)({
11
- auth: auth_1.jiraCloudAuth,
12
- name: 'add_issue_comment',
13
- displayName: 'Add Issue Comment',
14
- description: 'Adds a comment to an issue.',
15
- audience: 'both',
16
- aiMetadata: {
17
- description: 'Post a new comment on an existing Jira issue. Accepts plain text by default, or raw Atlassian Document Format (ADF) JSON when the ADF flag is set — use the Markdown to Jira Format action to produce ADF from markdown. Not idempotent: each run appends another comment.',
18
- idempotent: false,
19
- },
20
- props: {
21
- projectId: (0, props_1.getProjectIdDropdown)(),
22
- issueId: (0, props_1.getIssueIdDropdown)({ refreshers: ['projectId'] }),
23
- comment: pieces_framework_1.Property.LongText({
24
- displayName: 'Comment Body',
25
- required: true,
26
- }),
27
- isADF: pieces_framework_1.Property.Checkbox({
28
- displayName: 'Comment is in JSON Atlassian Document Format',
29
- description: 'https://developer.atlassian.com/cloud/jira/platform/apis/document/structure',
30
- required: false,
31
- defaultValue: false,
32
- }),
33
- },
34
- run(context) {
35
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
36
- const { issueId, comment, isADF } = context.propsValue;
37
- let commentBody = {};
38
- if (isADF) {
39
- commentBody = JSON.parse(comment);
40
- }
41
- else {
42
- commentBody = {
43
- version: 1,
44
- type: 'doc',
45
- content: [
46
- {
47
- type: 'paragraph',
48
- content: [
49
- {
50
- type: 'text',
51
- text: comment,
52
- },
53
- ],
54
- },
55
- ],
56
- };
57
- }
58
- const response = yield (0, common_1.sendJiraRequest)({
59
- method: pieces_common_1.HttpMethod.POST,
60
- url: `issue/${issueId}/comment`,
61
- auth: context.auth,
62
- body: {
63
- body: commentBody,
64
- },
65
- });
66
- return response.body;
67
- });
68
- },
69
- });
70
- //# sourceMappingURL=add-comment-to-issue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-comment-to-issue.js","sourceRoot":"","sources":["../../../../src/lib/actions/add-comment-to-issue.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,qCAA2C;AAC3C,+DAAyD;AACzD,sCAA4C;AAC5C,2CAA2E;AAE9D,QAAA,uBAAuB,GAAG,IAAA,+BAAY,EAAC;IACnD,IAAI,EAAE,oBAAa;IACnB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE,mBAAmB;IAChC,WAAW,EAAE,6BAA6B;IAC1C,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE;QACX,WAAW,EACV,4QAA4Q;QAC7Q,UAAU,EAAE,KAAK;KACjB;IACD,KAAK,EAAE;QACN,SAAS,EAAE,IAAA,4BAAoB,GAAE;QACjC,OAAO,EAAE,IAAA,0BAAkB,EAAC,EAAE,UAAU,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC1D,OAAO,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAC1B,WAAW,EAAE,cAAc;YAC3B,QAAQ,EAAE,IAAI;SACd,CAAC;QACF,KAAK,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACrB,WAAW,EAAE,8CAA8C;YAC9D,WAAW,EAAE,6EAA6E;YACvF,QAAQ,EAAE,KAAK;YACf,YAAY,EAAE,KAAK;SACpB,CAAC;KACJ;IACK,GAAG,CAAC,OAAO;;YAChB,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;YAEvD,IAAI,WAAW,GAAG,EAAE,CAAA;YAEpB,IAAI,KAAK,EAAE,CAAC;gBACX,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YACnC,CAAC;iBAAM,CAAC;gBACP,WAAW,GAAG;oBACb,OAAO,EAAE,CAAC;oBACV,IAAI,EAAE,KAAK;oBACX,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,WAAW;4BACjB,OAAO,EAAE;gCACR;oCACC,IAAI,EAAE,MAAM;oCACZ,IAAI,EAAE,OAAO;iCACb;6BACD;yBACD;qBACD;iBACD,CAAC;YACH,CAAC;YAED,MAAM,QAAQ,GAAG,MAAM,IAAA,wBAAe,EAAC;gBACtC,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,GAAG,EAAE,SAAS,OAAO,UAAU;gBAC/B,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,IAAI,EAAE;oBACL,IAAI,EAAE,WAAW;iBACjB;aACD,CAAC,CAAC;YACH,OAAO,QAAQ,CAAC,IAAI,CAAC;QACtB,CAAC;KAAA;CACD,CAAC,CAAC"}
@@ -1,25 +0,0 @@
1
- export declare const addWatcherToIssueAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
2
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
3
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
4
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
5
- }>, {
6
- issueId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
7
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
8
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
9
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
10
- }>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
11
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
12
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
13
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
14
- }>>;
15
- userId: import("@activepieces/pieces-framework").DropdownProperty<any, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
16
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
17
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
18
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
19
- }>> | import("@activepieces/pieces-framework").DropdownProperty<any, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
20
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
21
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
22
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
23
- }>>;
24
- }>;
25
- //# sourceMappingURL=add-watcher-to-issue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-watcher-to-issue.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/add-watcher-to-issue.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;EAyClC,CAAC"}
@@ -1,53 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.addWatcherToIssueAction = void 0;
4
- const tslib_1 = require("tslib");
5
- const pieces_framework_1 = require("@activepieces/pieces-framework");
6
- const auth_1 = require("../../auth");
7
- const props_1 = require("../common/props");
8
- const shared_1 = require("@activepieces/shared");
9
- const common_1 = require("../common");
10
- const pieces_common_1 = require("@activepieces/pieces-common");
11
- exports.addWatcherToIssueAction = (0, pieces_framework_1.createAction)({
12
- auth: auth_1.jiraCloudAuth,
13
- name: 'add-watcher-to-issue',
14
- displayName: 'Add Watcher to Issue',
15
- description: 'Adds a new watcher to an issue.',
16
- audience: 'both',
17
- aiMetadata: {
18
- description: 'Subscribe a specific user as a watcher on a Jira issue (by issue ID/key and user account) so they get notifications about its updates. Use to loop someone in without assigning or commenting. Effectively idempotent: adding a user who already watches the issue leaves it unchanged.',
19
- idempotent: true,
20
- },
21
- props: {
22
- issueId: (0, props_1.issueIdOrKeyProp)('Issue ID or Key', true),
23
- userId: (0, props_1.getUsersDropdown)({
24
- displayName: 'User',
25
- refreshers: [],
26
- required: true,
27
- }),
28
- },
29
- run(context) {
30
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
31
- const { issueId, userId } = context.propsValue;
32
- if ((0, shared_1.isNil)(issueId)) {
33
- throw new Error('Issue ID is required');
34
- }
35
- if ((0, shared_1.isNil)(userId)) {
36
- throw new Error('User ID is required');
37
- }
38
- try {
39
- const response = yield (0, common_1.jiraApiCall)({
40
- auth: context.auth,
41
- method: pieces_common_1.HttpMethod.POST,
42
- resourceUri: `/issue/${issueId}/watchers`,
43
- body: `"${userId}"`,
44
- });
45
- return { success: true };
46
- }
47
- catch (e) {
48
- return { success: false, error: e.message };
49
- }
50
- });
51
- },
52
- });
53
- //# sourceMappingURL=add-watcher-to-issue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-watcher-to-issue.js","sourceRoot":"","sources":["../../../../src/lib/actions/add-watcher-to-issue.ts"],"names":[],"mappings":";;;;AAAA,qEAA8D;AAC9D,qCAA2C;AAC3C,2CAAqE;AACrE,iDAA6C;AAC7C,sCAAwC;AACxC,+DAAoE;AAEvD,QAAA,uBAAuB,GAAG,IAAA,+BAAY,EAAC;IACnD,IAAI,EAAE,oBAAa;IACnB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,sBAAsB;IACnC,WAAW,EAAE,iCAAiC;IAC9C,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE;QACX,WAAW,EACV,yRAAyR;QAC1R,UAAU,EAAE,IAAI;KAChB;IACD,KAAK,EAAE;QACN,OAAO,EAAE,IAAA,wBAAgB,EAAC,iBAAiB,EAAE,IAAI,CAAC;QAClD,MAAM,EAAE,IAAA,wBAAgB,EAAC;YACxB,WAAW,EAAE,MAAM;YACnB,UAAU,EAAE,EAAE;YACd,QAAQ,EAAE,IAAI;SACd,CAAC;KACF;IACK,GAAG,CAAC,OAAO;;YAChB,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;YAC/C,IAAI,IAAA,cAAK,EAAC,OAAO,CAAC,EAAE,CAAC;gBACpB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;YACzC,CAAC;YACD,IAAI,IAAA,cAAK,EAAC,MAAM,CAAC,EAAE,CAAC;gBACnB,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;YACxC,CAAC;YAED,IAAI,CAAC;gBACJ,MAAM,QAAQ,GAAG,MAAM,IAAA,oBAAW,EAAC;oBAClC,IAAI,EAAE,OAAO,CAAC,IAAI;oBAClB,MAAM,EAAE,0BAAU,CAAC,IAAI;oBACvB,WAAW,EAAE,UAAU,OAAO,WAAW;oBACzC,IAAI,EAAE,IAAI,MAAM,GAAG;iBACnB,CAAC,CAAC;gBAEH,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;YAC1B,CAAC;YAAC,OAAO,CAAC,EAAE,CAAC;gBACZ,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAG,CAAe,CAAC,OAAO,EAAE,CAAC;YAC5D,CAAC;QACF,CAAC;KAAA;CACD,CAAC,CAAC"}
@@ -1,34 +0,0 @@
1
- export declare const assignIssueAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
2
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
3
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
4
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
5
- }>, {
6
- projectId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
7
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
8
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
9
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
10
- }>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
11
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
12
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
13
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
14
- }>>;
15
- issueId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
16
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
17
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
18
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
19
- }>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
20
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
21
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
22
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
23
- }>>;
24
- assignee: import("@activepieces/pieces-framework").DropdownProperty<any, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
25
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
26
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
27
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
28
- }>> | import("@activepieces/pieces-framework").DropdownProperty<any, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
29
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
30
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
31
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
32
- }>>;
33
- }>;
34
- //# sourceMappingURL=assign-issue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"assign-issue.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/assign-issue.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgC5B,CAAC"}
@@ -1,44 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.assignIssueAction = void 0;
4
- const tslib_1 = require("tslib");
5
- const pieces_framework_1 = require("@activepieces/pieces-framework");
6
- const auth_1 = require("../../auth");
7
- const pieces_common_1 = require("@activepieces/pieces-common");
8
- const common_1 = require("../common");
9
- const props_1 = require("../common/props");
10
- exports.assignIssueAction = (0, pieces_framework_1.createAction)({
11
- auth: auth_1.jiraCloudAuth,
12
- name: 'assign_issue',
13
- displayName: 'Assign Issue',
14
- description: 'Assigns an issue to a user.',
15
- audience: 'both',
16
- aiMetadata: {
17
- description: 'Set the assignee of an existing Jira issue to a chosen user, replacing any current assignee. Use to route ownership of an issue; it changes only the assignee field, nothing else. Idempotent: assigning the same user again leaves the issue unchanged.',
18
- idempotent: true,
19
- },
20
- props: {
21
- projectId: (0, props_1.getProjectIdDropdown)(),
22
- issueId: (0, props_1.getIssueIdDropdown)({ refreshers: ['projectId'] }),
23
- assignee: (0, props_1.getUsersDropdown)({
24
- displayName: 'Assignee',
25
- refreshers: ['projectId'],
26
- required: true,
27
- }),
28
- },
29
- run(context) {
30
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
31
- const { issueId, assignee } = context.propsValue;
32
- const response = yield (0, common_1.sendJiraRequest)({
33
- method: pieces_common_1.HttpMethod.PUT,
34
- url: `issue/${issueId}/assignee`,
35
- auth: context.auth,
36
- body: {
37
- accountId: assignee,
38
- },
39
- });
40
- return response.body;
41
- });
42
- },
43
- });
44
- //# sourceMappingURL=assign-issue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"assign-issue.js","sourceRoot":"","sources":["../../../../src/lib/actions/assign-issue.ts"],"names":[],"mappings":";;;;AAAA,qEAA8D;AAC9D,qCAA2C;AAC3C,+DAAyD;AACzD,sCAA4C;AAC5C,2CAA6F;AAEhF,QAAA,iBAAiB,GAAG,IAAA,+BAAY,EAAC;IAC7C,IAAI,EAAE,oBAAa;IACnB,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,6BAA6B;IAC1C,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE;QACX,WAAW,EACV,0PAA0P;QAC3P,UAAU,EAAE,IAAI;KAChB;IACD,KAAK,EAAE;QACN,SAAS,EAAE,IAAA,4BAAoB,GAAE;QACjC,OAAO,EAAE,IAAA,0BAAkB,EAAC,EAAE,UAAU,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC1D,QAAQ,EAAE,IAAA,wBAAgB,EAAC;YAC1B,WAAW,EAAE,UAAU;YACvB,UAAU,EAAE,CAAC,WAAW,CAAC;YACzB,QAAQ,EAAE,IAAI;SACd,CAAC;KACF;IACK,GAAG,CAAC,OAAO;;YAChB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;YACjD,MAAM,QAAQ,GAAG,MAAM,IAAA,wBAAe,EAAC;gBACtC,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,SAAS,OAAO,WAAW;gBAChC,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,IAAI,EAAE;oBACL,SAAS,EAAE,QAAQ;iBACnB;aACD,CAAC,CAAC;YACH,OAAO,QAAQ,CAAC,IAAI,CAAC;QACtB,CAAC;KAAA;CACD,CAAC,CAAC"}
@@ -1,35 +0,0 @@
1
- export declare const createIssueAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
2
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
3
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
4
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
5
- }>, {
6
- projectId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
7
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
8
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
9
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
10
- }>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
11
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
12
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
13
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
14
- }>>;
15
- issueTypeId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
16
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
17
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
18
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
19
- }>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
20
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
21
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
22
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
23
- }>>;
24
- issueFields: import("@activepieces/pieces-framework").DynamicProperties<true, import("@activepieces/pieces-framework").CustomAuthProperty<{
25
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
26
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
27
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
28
- }>>;
29
- adfFields: import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
30
- instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
31
- email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
32
- apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
33
- }>>;
34
- }>;
35
- //# sourceMappingURL=create-issue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-issue.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/create-issue.ts"],"names":[],"mappings":"AA8BA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuI5B,CAAC"}