@frogbotai/piece-jira 0.0.0-stage → 0.41.0

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 (211) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +93 -2
  3. package/dist/actions/addAttachment.d.ts +48 -0
  4. package/dist/actions/addAttachment.d.ts.map +1 -0
  5. package/dist/actions/addAttachment.js +40 -0
  6. package/dist/actions/addAttachment.js.map +1 -0
  7. package/dist/actions/addComment.d.ts +49 -0
  8. package/dist/actions/addComment.d.ts.map +1 -0
  9. package/dist/actions/addComment.js +32 -0
  10. package/dist/actions/addComment.js.map +1 -0
  11. package/dist/actions/addWatcher.d.ts +19 -0
  12. package/dist/actions/addWatcher.d.ts.map +1 -0
  13. package/dist/actions/addWatcher.js +35 -0
  14. package/dist/actions/addWatcher.js.map +1 -0
  15. package/dist/actions/assignIssue.d.ts +19 -0
  16. package/dist/actions/assignIssue.d.ts.map +1 -0
  17. package/dist/actions/assignIssue.js +37 -0
  18. package/dist/actions/assignIssue.js.map +1 -0
  19. package/dist/actions/createIssue.d.ts +39 -0
  20. package/dist/actions/createIssue.d.ts.map +1 -0
  21. package/dist/actions/createIssue.js +59 -0
  22. package/dist/actions/createIssue.js.map +1 -0
  23. package/dist/actions/customApiCall.d.ts +9 -0
  24. package/dist/actions/customApiCall.d.ts.map +1 -0
  25. package/dist/actions/customApiCall.js +10 -0
  26. package/dist/actions/customApiCall.js.map +1 -0
  27. package/dist/actions/deleteComment.d.ts +19 -0
  28. package/dist/actions/deleteComment.d.ts.map +1 -0
  29. package/dist/actions/deleteComment.js +34 -0
  30. package/dist/actions/deleteComment.js.map +1 -0
  31. package/dist/actions/downloadAttachment.d.ts +29 -0
  32. package/dist/actions/downloadAttachment.d.ts.map +1 -0
  33. package/dist/actions/downloadAttachment.js +50 -0
  34. package/dist/actions/downloadAttachment.js.map +1 -0
  35. package/dist/actions/findUser.d.ts +33 -0
  36. package/dist/actions/findUser.d.ts.map +1 -0
  37. package/dist/actions/findUser.js +31 -0
  38. package/dist/actions/findUser.js.map +1 -0
  39. package/dist/actions/getAttachment.d.ts +44 -0
  40. package/dist/actions/getAttachment.d.ts.map +1 -0
  41. package/dist/actions/getAttachment.js +22 -0
  42. package/dist/actions/getAttachment.js.map +1 -0
  43. package/dist/actions/getIssue.d.ts +35 -0
  44. package/dist/actions/getIssue.d.ts.map +1 -0
  45. package/dist/actions/getIssue.js +84 -0
  46. package/dist/actions/getIssue.js.map +1 -0
  47. package/dist/actions/linkIssues.d.ts +20 -0
  48. package/dist/actions/linkIssues.d.ts.map +1 -0
  49. package/dist/actions/linkIssues.js +43 -0
  50. package/dist/actions/linkIssues.js.map +1 -0
  51. package/dist/actions/listBoards.d.ts +50 -0
  52. package/dist/actions/listBoards.d.ts.map +1 -0
  53. package/dist/actions/listBoards.js +42 -0
  54. package/dist/actions/listBoards.js.map +1 -0
  55. package/dist/actions/listChangelogs.d.ts +79 -0
  56. package/dist/actions/listChangelogs.d.ts.map +1 -0
  57. package/dist/actions/listChangelogs.js +39 -0
  58. package/dist/actions/listChangelogs.js.map +1 -0
  59. package/dist/actions/listComments.d.ts +64 -0
  60. package/dist/actions/listComments.d.ts.map +1 -0
  61. package/dist/actions/listComments.js +39 -0
  62. package/dist/actions/listComments.js.map +1 -0
  63. package/dist/actions/listComponents.d.ts +56 -0
  64. package/dist/actions/listComponents.d.ts.map +1 -0
  65. package/dist/actions/listComponents.js +37 -0
  66. package/dist/actions/listComponents.js.map +1 -0
  67. package/dist/actions/listFields.d.ts +53 -0
  68. package/dist/actions/listFields.d.ts.map +1 -0
  69. package/dist/actions/listFields.js +38 -0
  70. package/dist/actions/listFields.js.map +1 -0
  71. package/dist/actions/listIssueLinkTypes.d.ts +42 -0
  72. package/dist/actions/listIssueLinkTypes.d.ts.map +1 -0
  73. package/dist/actions/listIssueLinkTypes.js +28 -0
  74. package/dist/actions/listIssueLinkTypes.js.map +1 -0
  75. package/dist/actions/listIssueTypes.d.ts +47 -0
  76. package/dist/actions/listIssueTypes.d.ts.map +1 -0
  77. package/dist/actions/listIssueTypes.js +38 -0
  78. package/dist/actions/listIssueTypes.js.map +1 -0
  79. package/dist/actions/listPriorities.d.ts +40 -0
  80. package/dist/actions/listPriorities.d.ts.map +1 -0
  81. package/dist/actions/listPriorities.js +29 -0
  82. package/dist/actions/listPriorities.js.map +1 -0
  83. package/dist/actions/listProjects.d.ts +59 -0
  84. package/dist/actions/listProjects.d.ts.map +1 -0
  85. package/dist/actions/listProjects.js +36 -0
  86. package/dist/actions/listProjects.js.map +1 -0
  87. package/dist/actions/listSprints.d.ts +56 -0
  88. package/dist/actions/listSprints.d.ts.map +1 -0
  89. package/dist/actions/listSprints.js +44 -0
  90. package/dist/actions/listSprints.js.map +1 -0
  91. package/dist/actions/listStatuses.d.ts +43 -0
  92. package/dist/actions/listStatuses.d.ts.map +1 -0
  93. package/dist/actions/listStatuses.js +38 -0
  94. package/dist/actions/listStatuses.js.map +1 -0
  95. package/dist/actions/listUsers.d.ts +44 -0
  96. package/dist/actions/listUsers.d.ts.map +1 -0
  97. package/dist/actions/listUsers.js +25 -0
  98. package/dist/actions/listUsers.js.map +1 -0
  99. package/dist/actions/listVersions.d.ts +47 -0
  100. package/dist/actions/listVersions.d.ts.map +1 -0
  101. package/dist/actions/listVersions.js +38 -0
  102. package/dist/actions/listVersions.js.map +1 -0
  103. package/dist/actions/listWatchers.d.ts +45 -0
  104. package/dist/actions/listWatchers.d.ts.map +1 -0
  105. package/dist/actions/listWatchers.js +31 -0
  106. package/dist/actions/listWatchers.js.map +1 -0
  107. package/dist/actions/listWorklogs.d.ts +58 -0
  108. package/dist/actions/listWorklogs.d.ts.map +1 -0
  109. package/dist/actions/listWorklogs.js +38 -0
  110. package/dist/actions/listWorklogs.js.map +1 -0
  111. package/dist/actions/markdownToAdf.d.ts +28 -0
  112. package/dist/actions/markdownToAdf.d.ts.map +1 -0
  113. package/dist/actions/markdownToAdf.js +17 -0
  114. package/dist/actions/markdownToAdf.js.map +1 -0
  115. package/dist/actions/options.d.ts +40 -0
  116. package/dist/actions/options.d.ts.map +1 -0
  117. package/dist/actions/options.js +149 -0
  118. package/dist/actions/options.js.map +1 -0
  119. package/dist/actions/searchIssues.d.ts +53 -0
  120. package/dist/actions/searchIssues.d.ts.map +1 -0
  121. package/dist/actions/searchIssues.js +88 -0
  122. package/dist/actions/searchIssues.js.map +1 -0
  123. package/dist/actions/transitionIssue.d.ts +39 -0
  124. package/dist/actions/transitionIssue.d.ts.map +1 -0
  125. package/dist/actions/transitionIssue.js +60 -0
  126. package/dist/actions/transitionIssue.js.map +1 -0
  127. package/dist/actions/updateComment.d.ts +50 -0
  128. package/dist/actions/updateComment.d.ts.map +1 -0
  129. package/dist/actions/updateComment.js +36 -0
  130. package/dist/actions/updateComment.js.map +1 -0
  131. package/dist/actions/updateIssue.d.ts +40 -0
  132. package/dist/actions/updateIssue.d.ts.map +1 -0
  133. package/dist/actions/updateIssue.js +72 -0
  134. package/dist/actions/updateIssue.js.map +1 -0
  135. package/dist/adf.d.ts +41 -0
  136. package/dist/adf.d.ts.map +1 -0
  137. package/dist/adf.js +308 -0
  138. package/dist/adf.js.map +1 -0
  139. package/dist/client.d.ts +32 -0
  140. package/dist/client.d.ts.map +1 -0
  141. package/dist/client.js +153 -0
  142. package/dist/client.js.map +1 -0
  143. package/dist/config.d.ts +20 -0
  144. package/dist/config.d.ts.map +1 -0
  145. package/dist/config.js +40 -0
  146. package/dist/config.js.map +1 -0
  147. package/dist/define.d.ts +92 -0
  148. package/dist/define.d.ts.map +1 -0
  149. package/dist/define.js +4 -0
  150. package/dist/define.js.map +1 -0
  151. package/dist/fields.d.ts +47 -0
  152. package/dist/fields.d.ts.map +1 -0
  153. package/dist/fields.js +56 -0
  154. package/dist/fields.js.map +1 -0
  155. package/dist/files.d.ts +26 -0
  156. package/dist/files.d.ts.map +1 -0
  157. package/dist/files.js +86 -0
  158. package/dist/files.js.map +1 -0
  159. package/dist/index.d.ts +2033 -0
  160. package/dist/index.d.ts.map +1 -0
  161. package/dist/index.js +207 -0
  162. package/dist/index.js.map +1 -0
  163. package/dist/pagination.d.ts +78 -0
  164. package/dist/pagination.d.ts.map +1 -0
  165. package/dist/pagination.js +109 -0
  166. package/dist/pagination.js.map +1 -0
  167. package/dist/records.d.ts +83 -0
  168. package/dist/records.d.ts.map +1 -0
  169. package/dist/records.js +64 -0
  170. package/dist/records.js.map +1 -0
  171. package/dist/triggers/attachmentAdded.d.ts +112 -0
  172. package/dist/triggers/attachmentAdded.d.ts.map +1 -0
  173. package/dist/triggers/attachmentAdded.js +69 -0
  174. package/dist/triggers/attachmentAdded.js.map +1 -0
  175. package/dist/triggers/commentAdded.d.ts +103 -0
  176. package/dist/triggers/commentAdded.d.ts.map +1 -0
  177. package/dist/triggers/commentAdded.js +54 -0
  178. package/dist/triggers/commentAdded.js.map +1 -0
  179. package/dist/triggers/issueAssigned.d.ts +102 -0
  180. package/dist/triggers/issueAssigned.d.ts.map +1 -0
  181. package/dist/triggers/issueAssigned.js +67 -0
  182. package/dist/triggers/issueAssigned.js.map +1 -0
  183. package/dist/triggers/issueCreated.d.ts +56 -0
  184. package/dist/triggers/issueCreated.d.ts.map +1 -0
  185. package/dist/triggers/issueCreated.js +30 -0
  186. package/dist/triggers/issueCreated.js.map +1 -0
  187. package/dist/triggers/issueStatusChanged.d.ts +98 -0
  188. package/dist/triggers/issueStatusChanged.d.ts.map +1 -0
  189. package/dist/triggers/issueStatusChanged.js +58 -0
  190. package/dist/triggers/issueStatusChanged.js.map +1 -0
  191. package/dist/triggers/issueTypeCreated.d.ts +54 -0
  192. package/dist/triggers/issueTypeCreated.d.ts.map +1 -0
  193. package/dist/triggers/issueTypeCreated.js +35 -0
  194. package/dist/triggers/issueTypeCreated.js.map +1 -0
  195. package/dist/triggers/issueUpdated.d.ts +56 -0
  196. package/dist/triggers/issueUpdated.d.ts.map +1 -0
  197. package/dist/triggers/issueUpdated.js +30 -0
  198. package/dist/triggers/issueUpdated.js.map +1 -0
  199. package/dist/triggers/poll.d.ts +87 -0
  200. package/dist/triggers/poll.d.ts.map +1 -0
  201. package/dist/triggers/poll.js +145 -0
  202. package/dist/triggers/poll.js.map +1 -0
  203. package/dist/triggers/priorityCreated.d.ts +47 -0
  204. package/dist/triggers/priorityCreated.d.ts.map +1 -0
  205. package/dist/triggers/priorityCreated.js +26 -0
  206. package/dist/triggers/priorityCreated.js.map +1 -0
  207. package/dist/triggers/projectCreated.d.ts +50 -0
  208. package/dist/triggers/projectCreated.d.ts.map +1 -0
  209. package/dist/triggers/projectCreated.js +27 -0
  210. package/dist/triggers/projectCreated.js.map +1 -0
  211. package/package.json +41 -3
@@ -0,0 +1,2033 @@
1
+ import { z } from 'zod';
2
+ import { createJiraClient } from './client.js';
3
+ export declare const jiraActions: readonly ["createIssue", "updateIssue", "getIssue", "searchIssues", "assignIssue", "transitionIssue", "findUser", "addComment", "updateComment", "deleteComment", "listComments", "addAttachment", "getAttachment", "addWatcher", "linkIssues", "markdownToAdf", "downloadAttachment", "listProjects", "listIssueTypes", "listStatuses", "listPriorities", "listFields", "listIssueLinkTypes", "listUsers", "listVersions", "listComponents", "listBoards", "listSprints", "listWorklogs", "listWatchers", "listChangelogs", "customApiCall"];
4
+ export declare const jiraTriggers: readonly ["issueCreated", "issueUpdated", "issueStatusChanged", "commentAdded", "issueAssigned", "attachmentAdded", "issueTypeCreated", "projectCreated", "priorityCreated"];
5
+ export declare const jiraScopes: {
6
+ readonly offline_access: "offline_access";
7
+ readonly 'read:jira-work': "read:jira-work";
8
+ readonly 'write:jira-work': "write:jira-work";
9
+ readonly 'read:jira-user': "read:jira-user";
10
+ readonly 'read:board-scope:jira-software': "read:board-scope:jira-software";
11
+ readonly 'read:sprint:jira-software': "read:sprint:jira-software";
12
+ readonly 'read:project:jira': "read:project:jira";
13
+ };
14
+ export { JiraError } from './client.js';
15
+ export declare const jiraOAuth: {
16
+ authorizationUrl: string;
17
+ tokenUrl: string;
18
+ scopes: {
19
+ catalog: {
20
+ readonly offline_access: "offline_access";
21
+ readonly 'read:jira-work': "read:jira-work";
22
+ readonly 'write:jira-work': "write:jira-work";
23
+ readonly 'read:jira-user': "read:jira-user";
24
+ readonly 'read:board-scope:jira-software': "read:board-scope:jira-software";
25
+ readonly 'read:sprint:jira-software': "read:sprint:jira-software";
26
+ readonly 'read:project:jira': "read:project:jira";
27
+ };
28
+ defaults: ("write:jira-work" | "read:board-scope:jira-software" | "read:sprint:jira-software" | "read:project:jira")[];
29
+ required: ("offline_access" | "read:jira-work" | "read:jira-user")[];
30
+ };
31
+ scopeSeparator: " ";
32
+ params: {
33
+ audience: string;
34
+ prompt: string;
35
+ };
36
+ toAuth({ tokens }: {
37
+ tokens: import("frogbot/pieces").OAuthTokens;
38
+ }): {
39
+ accessToken: string;
40
+ };
41
+ account({ client }: {
42
+ tokens: import("frogbot/pieces").OAuthTokens;
43
+ client: {
44
+ baseUrl: string;
45
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
46
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
47
+ authorize(target: URL, headers: Headers): void;
48
+ };
49
+ req: import("frogbot/pieces").FrogBotRequest;
50
+ }): Promise<{
51
+ email?: string | undefined;
52
+ id: string;
53
+ label: string;
54
+ }>;
55
+ };
56
+ export declare const createJira: import("frogbot/pieces").PieceFactory<{
57
+ readonly slug: "jira";
58
+ readonly label: "Jira";
59
+ readonly admin: {
60
+ readonly description: "Create, search and update Jira Cloud issues, comments and attachments";
61
+ readonly group: "Productivity";
62
+ };
63
+ readonly auth: z.ZodPipe<z.ZodObject<{
64
+ email: z.ZodOptional<z.ZodEmail>;
65
+ apiToken: z.ZodOptional<z.ZodString>;
66
+ accessToken: z.ZodOptional<z.ZodString>;
67
+ }, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
68
+ email: z.ZodEmail;
69
+ apiToken: z.ZodString;
70
+ }, z.core.$strip>, z.ZodObject<{
71
+ accessToken: z.ZodString;
72
+ }, z.core.$strip>]>>;
73
+ readonly options: z.ZodObject<{
74
+ siteUrl: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
75
+ }, z.core.$strip>;
76
+ readonly oauth: {
77
+ authorizationUrl: string;
78
+ tokenUrl: string;
79
+ scopes: {
80
+ catalog: {
81
+ readonly offline_access: "offline_access";
82
+ readonly 'read:jira-work': "read:jira-work";
83
+ readonly 'write:jira-work': "write:jira-work";
84
+ readonly 'read:jira-user': "read:jira-user";
85
+ readonly 'read:board-scope:jira-software': "read:board-scope:jira-software";
86
+ readonly 'read:sprint:jira-software': "read:sprint:jira-software";
87
+ readonly 'read:project:jira': "read:project:jira";
88
+ };
89
+ defaults: ("write:jira-work" | "read:board-scope:jira-software" | "read:sprint:jira-software" | "read:project:jira")[];
90
+ required: ("offline_access" | "read:jira-work" | "read:jira-user")[];
91
+ };
92
+ scopeSeparator: " ";
93
+ params: {
94
+ audience: string;
95
+ prompt: string;
96
+ };
97
+ toAuth({ tokens }: {
98
+ tokens: import("frogbot/pieces").OAuthTokens;
99
+ }): {
100
+ accessToken: string;
101
+ };
102
+ account({ client }: {
103
+ tokens: import("frogbot/pieces").OAuthTokens;
104
+ client: {
105
+ baseUrl: string;
106
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
107
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
108
+ authorize(target: URL, headers: Headers): void;
109
+ };
110
+ req: import("frogbot/pieces").FrogBotRequest;
111
+ }): Promise<{
112
+ email?: string | undefined;
113
+ id: string;
114
+ label: string;
115
+ }>;
116
+ };
117
+ readonly client: typeof createJiraClient;
118
+ readonly actions: readonly [import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
119
+ summary: z.ZodString;
120
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
121
+ type: z.ZodLiteral<"doc">;
122
+ version: z.ZodLiteral<1>;
123
+ content: z.ZodArray<z.ZodObject<{
124
+ type: z.ZodString;
125
+ }, z.core.$loose>>;
126
+ }, z.core.$loose>]>>;
127
+ assignee: z.ZodOptional<z.ZodString>;
128
+ priority: z.ZodOptional<z.ZodString>;
129
+ parentKey: z.ZodOptional<z.ZodString>;
130
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
131
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
132
+ projectId: z.ZodString;
133
+ issueTypeId: z.ZodString;
134
+ }, z.core.$strip>, z.ZodObject<{
135
+ id: z.ZodString;
136
+ key: z.ZodString;
137
+ self: z.ZodOptional<z.ZodString>;
138
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
139
+ }, z.core.$loose>, {
140
+ siteUrl?: string | undefined;
141
+ }, {
142
+ baseUrl: string;
143
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
144
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
145
+ authorize(target: URL, headers: Headers): void;
146
+ }, {
147
+ [x: string]: unknown;
148
+ id: string;
149
+ key: string;
150
+ self?: string | undefined;
151
+ fields?: Record<string, unknown> | undefined;
152
+ }> & {
153
+ slug: "createIssue";
154
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
155
+ summary: z.ZodOptional<z.ZodString>;
156
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
157
+ type: z.ZodLiteral<"doc">;
158
+ version: z.ZodLiteral<1>;
159
+ content: z.ZodArray<z.ZodObject<{
160
+ type: z.ZodString;
161
+ }, z.core.$loose>>;
162
+ }, z.core.$loose>]>>;
163
+ assignee: z.ZodOptional<z.ZodString>;
164
+ priority: z.ZodOptional<z.ZodString>;
165
+ parentKey: z.ZodOptional<z.ZodString>;
166
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
167
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
168
+ issueKey: z.ZodString;
169
+ transitionId: z.ZodOptional<z.ZodString>;
170
+ issueTypeId: z.ZodOptional<z.ZodString>;
171
+ }, z.core.$strip>, z.ZodObject<{
172
+ id: z.ZodString;
173
+ key: z.ZodString;
174
+ self: z.ZodOptional<z.ZodString>;
175
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
176
+ }, z.core.$loose>, {
177
+ siteUrl?: string | undefined;
178
+ }, {
179
+ baseUrl: string;
180
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
181
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
182
+ authorize(target: URL, headers: Headers): void;
183
+ }, {
184
+ [x: string]: unknown;
185
+ id: string;
186
+ key: string;
187
+ self?: string | undefined;
188
+ fields?: Record<string, unknown> | undefined;
189
+ }> & {
190
+ slug: "updateIssue";
191
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
192
+ issueKey: z.ZodString;
193
+ expand: z.ZodOptional<z.ZodArray<z.ZodEnum<{
194
+ transitions: "transitions";
195
+ renderedFields: "renderedFields";
196
+ names: "names";
197
+ schema: "schema";
198
+ editmeta: "editmeta";
199
+ changelog: "changelog";
200
+ }>>>;
201
+ mapNames: z.ZodDefault<z.ZodBoolean>;
202
+ mapTransitions: z.ZodDefault<z.ZodBoolean>;
203
+ }, z.core.$strip>, z.ZodObject<{
204
+ id: z.ZodString;
205
+ key: z.ZodString;
206
+ self: z.ZodOptional<z.ZodString>;
207
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
208
+ }, z.core.$loose>, {
209
+ siteUrl?: string | undefined;
210
+ }, {
211
+ baseUrl: string;
212
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
213
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
214
+ authorize(target: URL, headers: Headers): void;
215
+ }, {
216
+ [x: string]: unknown;
217
+ id: string;
218
+ key: string;
219
+ self?: string | undefined;
220
+ fields?: Record<string, unknown> | undefined;
221
+ }> & {
222
+ slug: "getIssue";
223
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
224
+ limit: z.ZodDefault<z.ZodNumber>;
225
+ cursor: z.ZodOptional<z.ZodString>;
226
+ jql: z.ZodString;
227
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
228
+ expand: z.ZodOptional<z.ZodArray<z.ZodEnum<{
229
+ transitions: "transitions";
230
+ renderedFields: "renderedFields";
231
+ names: "names";
232
+ schema: "schema";
233
+ changelog: "changelog";
234
+ }>>>;
235
+ mapNames: z.ZodDefault<z.ZodBoolean>;
236
+ sanitizeJql: z.ZodDefault<z.ZodBoolean>;
237
+ }, z.core.$strip>, z.ZodObject<{
238
+ data: z.ZodArray<z.ZodObject<{
239
+ id: z.ZodString;
240
+ key: z.ZodString;
241
+ self: z.ZodOptional<z.ZodString>;
242
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
243
+ }, z.core.$loose>>;
244
+ pagination: z.ZodObject<{
245
+ count: z.ZodNumber;
246
+ hasMore: z.ZodBoolean;
247
+ nextCursor: z.ZodNullable<z.ZodString>;
248
+ limit: z.ZodNumber;
249
+ }, z.core.$strip>;
250
+ }, z.core.$strip>, {
251
+ siteUrl?: string | undefined;
252
+ }, {
253
+ baseUrl: string;
254
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
255
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
256
+ authorize(target: URL, headers: Headers): void;
257
+ }, {
258
+ data: {
259
+ [x: string]: unknown;
260
+ id: string;
261
+ key: string;
262
+ self?: string | undefined;
263
+ fields?: Record<string, unknown> | undefined;
264
+ }[];
265
+ pagination: {
266
+ count: number;
267
+ hasMore: boolean;
268
+ nextCursor: string | null;
269
+ limit: number;
270
+ };
271
+ }> & {
272
+ slug: "searchIssues";
273
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
274
+ issueKey: z.ZodString;
275
+ assignee: z.ZodString;
276
+ }, z.core.$strip>, z.ZodObject<{
277
+ success: z.ZodLiteral<true>;
278
+ }, z.core.$strip>, {
279
+ siteUrl?: string | undefined;
280
+ }, {
281
+ baseUrl: string;
282
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
283
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
284
+ authorize(target: URL, headers: Headers): void;
285
+ }, {
286
+ success: true;
287
+ }> & {
288
+ slug: "assignIssue";
289
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
290
+ issueKey: z.ZodString;
291
+ transitionId: z.ZodString;
292
+ comment: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
293
+ type: z.ZodLiteral<"doc">;
294
+ version: z.ZodLiteral<1>;
295
+ content: z.ZodArray<z.ZodObject<{
296
+ type: z.ZodString;
297
+ }, z.core.$loose>>;
298
+ }, z.core.$loose>]>>;
299
+ }, z.core.$strip>, z.ZodObject<{
300
+ success: z.ZodLiteral<true>;
301
+ issue: z.ZodObject<{
302
+ id: z.ZodString;
303
+ key: z.ZodString;
304
+ self: z.ZodOptional<z.ZodString>;
305
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
306
+ }, z.core.$loose>;
307
+ }, z.core.$strip>, {
308
+ siteUrl?: string | undefined;
309
+ }, {
310
+ baseUrl: string;
311
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
312
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
313
+ authorize(target: URL, headers: Headers): void;
314
+ }, {
315
+ success: true;
316
+ issue: {
317
+ [x: string]: unknown;
318
+ id: string;
319
+ key: string;
320
+ self?: string | undefined;
321
+ fields?: Record<string, unknown> | undefined;
322
+ };
323
+ }> & {
324
+ slug: "transitionIssue";
325
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
326
+ keyword: z.ZodString;
327
+ }, z.core.$strip>, z.ZodObject<{
328
+ found: z.ZodBoolean;
329
+ data: z.ZodArray<z.ZodObject<{
330
+ accountId: z.ZodString;
331
+ accountType: z.ZodOptional<z.ZodString>;
332
+ displayName: z.ZodOptional<z.ZodString>;
333
+ emailAddress: z.ZodOptional<z.ZodString>;
334
+ active: z.ZodOptional<z.ZodBoolean>;
335
+ }, z.core.$loose>>;
336
+ }, z.core.$strip>, {
337
+ siteUrl?: string | undefined;
338
+ }, {
339
+ baseUrl: string;
340
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
341
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
342
+ authorize(target: URL, headers: Headers): void;
343
+ }, {
344
+ found: boolean;
345
+ data: {
346
+ [x: string]: unknown;
347
+ accountId: string;
348
+ accountType?: string | undefined;
349
+ displayName?: string | undefined;
350
+ emailAddress?: string | undefined;
351
+ active?: boolean | undefined;
352
+ }[];
353
+ }> & {
354
+ slug: "findUser";
355
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
356
+ issueKey: z.ZodString;
357
+ body: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
358
+ type: z.ZodLiteral<"doc">;
359
+ version: z.ZodLiteral<1>;
360
+ content: z.ZodArray<z.ZodObject<{
361
+ type: z.ZodString;
362
+ }, z.core.$loose>>;
363
+ }, z.core.$loose>]>;
364
+ }, z.core.$strip>, z.ZodObject<{
365
+ id: z.ZodString;
366
+ author: z.ZodOptional<z.ZodObject<{
367
+ accountId: z.ZodString;
368
+ accountType: z.ZodOptional<z.ZodString>;
369
+ displayName: z.ZodOptional<z.ZodString>;
370
+ emailAddress: z.ZodOptional<z.ZodString>;
371
+ active: z.ZodOptional<z.ZodBoolean>;
372
+ }, z.core.$loose>>;
373
+ body: z.ZodUnknown;
374
+ renderedBody: z.ZodOptional<z.ZodString>;
375
+ created: z.ZodOptional<z.ZodString>;
376
+ updated: z.ZodOptional<z.ZodString>;
377
+ }, z.core.$loose>, {
378
+ siteUrl?: string | undefined;
379
+ }, {
380
+ baseUrl: string;
381
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
382
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
383
+ authorize(target: URL, headers: Headers): void;
384
+ }, {
385
+ [x: string]: unknown;
386
+ id: string;
387
+ body: unknown;
388
+ author?: {
389
+ [x: string]: unknown;
390
+ accountId: string;
391
+ accountType?: string | undefined;
392
+ displayName?: string | undefined;
393
+ emailAddress?: string | undefined;
394
+ active?: boolean | undefined;
395
+ } | undefined;
396
+ renderedBody?: string | undefined;
397
+ created?: string | undefined;
398
+ updated?: string | undefined;
399
+ }> & {
400
+ slug: "addComment";
401
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
402
+ issueKey: z.ZodString;
403
+ commentId: z.ZodString;
404
+ body: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
405
+ type: z.ZodLiteral<"doc">;
406
+ version: z.ZodLiteral<1>;
407
+ content: z.ZodArray<z.ZodObject<{
408
+ type: z.ZodString;
409
+ }, z.core.$loose>>;
410
+ }, z.core.$loose>]>;
411
+ }, z.core.$strip>, z.ZodObject<{
412
+ id: z.ZodString;
413
+ author: z.ZodOptional<z.ZodObject<{
414
+ accountId: z.ZodString;
415
+ accountType: z.ZodOptional<z.ZodString>;
416
+ displayName: z.ZodOptional<z.ZodString>;
417
+ emailAddress: z.ZodOptional<z.ZodString>;
418
+ active: z.ZodOptional<z.ZodBoolean>;
419
+ }, z.core.$loose>>;
420
+ body: z.ZodUnknown;
421
+ renderedBody: z.ZodOptional<z.ZodString>;
422
+ created: z.ZodOptional<z.ZodString>;
423
+ updated: z.ZodOptional<z.ZodString>;
424
+ }, z.core.$loose>, {
425
+ siteUrl?: string | undefined;
426
+ }, {
427
+ baseUrl: string;
428
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
429
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
430
+ authorize(target: URL, headers: Headers): void;
431
+ }, {
432
+ [x: string]: unknown;
433
+ id: string;
434
+ body: unknown;
435
+ author?: {
436
+ [x: string]: unknown;
437
+ accountId: string;
438
+ accountType?: string | undefined;
439
+ displayName?: string | undefined;
440
+ emailAddress?: string | undefined;
441
+ active?: boolean | undefined;
442
+ } | undefined;
443
+ renderedBody?: string | undefined;
444
+ created?: string | undefined;
445
+ updated?: string | undefined;
446
+ }> & {
447
+ slug: "updateComment";
448
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
449
+ issueKey: z.ZodString;
450
+ commentId: z.ZodString;
451
+ }, z.core.$strip>, z.ZodObject<{
452
+ success: z.ZodLiteral<true>;
453
+ }, z.core.$strip>, {
454
+ siteUrl?: string | undefined;
455
+ }, {
456
+ baseUrl: string;
457
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
458
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
459
+ authorize(target: URL, headers: Headers): void;
460
+ }, {
461
+ success: true;
462
+ }> & {
463
+ slug: "deleteComment";
464
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
465
+ limit: z.ZodDefault<z.ZodNumber>;
466
+ cursor: z.ZodOptional<z.ZodString>;
467
+ issueKey: z.ZodString;
468
+ orderBy: z.ZodDefault<z.ZodEnum<{
469
+ "-created": "-created";
470
+ "+created": "+created";
471
+ }>>;
472
+ }, z.core.$strip>, z.ZodObject<{
473
+ data: z.ZodArray<z.ZodObject<{
474
+ id: z.ZodString;
475
+ author: z.ZodOptional<z.ZodObject<{
476
+ accountId: z.ZodString;
477
+ accountType: z.ZodOptional<z.ZodString>;
478
+ displayName: z.ZodOptional<z.ZodString>;
479
+ emailAddress: z.ZodOptional<z.ZodString>;
480
+ active: z.ZodOptional<z.ZodBoolean>;
481
+ }, z.core.$loose>>;
482
+ body: z.ZodUnknown;
483
+ renderedBody: z.ZodOptional<z.ZodString>;
484
+ created: z.ZodOptional<z.ZodString>;
485
+ updated: z.ZodOptional<z.ZodString>;
486
+ }, z.core.$loose>>;
487
+ pagination: z.ZodObject<{
488
+ count: z.ZodNumber;
489
+ hasMore: z.ZodBoolean;
490
+ nextCursor: z.ZodNullable<z.ZodString>;
491
+ limit: z.ZodNumber;
492
+ }, z.core.$strip>;
493
+ }, z.core.$strip>, {
494
+ siteUrl?: string | undefined;
495
+ }, {
496
+ baseUrl: string;
497
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
498
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
499
+ authorize(target: URL, headers: Headers): void;
500
+ }, {
501
+ data: {
502
+ [x: string]: unknown;
503
+ id: string;
504
+ body: unknown;
505
+ author?: {
506
+ [x: string]: unknown;
507
+ accountId: string;
508
+ accountType?: string | undefined;
509
+ displayName?: string | undefined;
510
+ emailAddress?: string | undefined;
511
+ active?: boolean | undefined;
512
+ } | undefined;
513
+ renderedBody?: string | undefined;
514
+ created?: string | undefined;
515
+ updated?: string | undefined;
516
+ }[];
517
+ pagination: {
518
+ count: number;
519
+ hasMore: boolean;
520
+ nextCursor: string | null;
521
+ limit: number;
522
+ };
523
+ }> & {
524
+ slug: "listComments";
525
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
526
+ issueKey: z.ZodString;
527
+ file: z.ZodObject<{
528
+ fileId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
529
+ name: z.ZodOptional<z.ZodString>;
530
+ }, z.core.$strip>;
531
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
532
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
533
+ filename: z.ZodString;
534
+ mimeType: z.ZodOptional<z.ZodString>;
535
+ size: z.ZodOptional<z.ZodNumber>;
536
+ created: z.ZodOptional<z.ZodString>;
537
+ author: z.ZodOptional<z.ZodObject<{
538
+ accountId: z.ZodString;
539
+ accountType: z.ZodOptional<z.ZodString>;
540
+ displayName: z.ZodOptional<z.ZodString>;
541
+ emailAddress: z.ZodOptional<z.ZodString>;
542
+ active: z.ZodOptional<z.ZodBoolean>;
543
+ }, z.core.$loose>>;
544
+ content: z.ZodOptional<z.ZodString>;
545
+ }, z.core.$loose>>, {
546
+ siteUrl?: string | undefined;
547
+ }, {
548
+ baseUrl: string;
549
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
550
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
551
+ authorize(target: URL, headers: Headers): void;
552
+ }, {
553
+ [x: string]: unknown;
554
+ id: string;
555
+ filename: string;
556
+ mimeType?: string | undefined;
557
+ size?: number | undefined;
558
+ created?: string | undefined;
559
+ author?: {
560
+ [x: string]: unknown;
561
+ accountId: string;
562
+ accountType?: string | undefined;
563
+ displayName?: string | undefined;
564
+ emailAddress?: string | undefined;
565
+ active?: boolean | undefined;
566
+ } | undefined;
567
+ content?: string | undefined;
568
+ }[]> & {
569
+ slug: "addAttachment";
570
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
571
+ attachmentId: z.ZodString;
572
+ }, z.core.$strip>, z.ZodObject<{
573
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
574
+ filename: z.ZodString;
575
+ mimeType: z.ZodOptional<z.ZodString>;
576
+ size: z.ZodOptional<z.ZodNumber>;
577
+ created: z.ZodOptional<z.ZodString>;
578
+ author: z.ZodOptional<z.ZodObject<{
579
+ accountId: z.ZodString;
580
+ accountType: z.ZodOptional<z.ZodString>;
581
+ displayName: z.ZodOptional<z.ZodString>;
582
+ emailAddress: z.ZodOptional<z.ZodString>;
583
+ active: z.ZodOptional<z.ZodBoolean>;
584
+ }, z.core.$loose>>;
585
+ content: z.ZodOptional<z.ZodString>;
586
+ }, z.core.$loose>, {
587
+ siteUrl?: string | undefined;
588
+ }, {
589
+ baseUrl: string;
590
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
591
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
592
+ authorize(target: URL, headers: Headers): void;
593
+ }, {
594
+ [x: string]: unknown;
595
+ id: string;
596
+ filename: string;
597
+ mimeType?: string | undefined;
598
+ size?: number | undefined;
599
+ created?: string | undefined;
600
+ author?: {
601
+ [x: string]: unknown;
602
+ accountId: string;
603
+ accountType?: string | undefined;
604
+ displayName?: string | undefined;
605
+ emailAddress?: string | undefined;
606
+ active?: boolean | undefined;
607
+ } | undefined;
608
+ content?: string | undefined;
609
+ }> & {
610
+ slug: "getAttachment";
611
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
612
+ issueKey: z.ZodString;
613
+ accountId: z.ZodString;
614
+ }, z.core.$strip>, z.ZodObject<{
615
+ success: z.ZodLiteral<true>;
616
+ }, z.core.$strip>, {
617
+ siteUrl?: string | undefined;
618
+ }, {
619
+ baseUrl: string;
620
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
621
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
622
+ authorize(target: URL, headers: Headers): void;
623
+ }, {
624
+ success: true;
625
+ }> & {
626
+ slug: "addWatcher";
627
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
628
+ firstIssueKey: z.ZodString;
629
+ linkTypeId: z.ZodString;
630
+ secondIssueKey: z.ZodString;
631
+ }, z.core.$strip>, z.ZodObject<{
632
+ success: z.ZodLiteral<true>;
633
+ }, z.core.$strip>, {
634
+ siteUrl?: string | undefined;
635
+ }, {
636
+ baseUrl: string;
637
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
638
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
639
+ authorize(target: URL, headers: Headers): void;
640
+ }, {
641
+ success: true;
642
+ }> & {
643
+ slug: "linkIssues";
644
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
645
+ markdown: z.ZodString;
646
+ }, z.core.$strip>, z.ZodObject<{
647
+ type: z.ZodLiteral<"doc">;
648
+ version: z.ZodLiteral<1>;
649
+ content: z.ZodArray<z.ZodObject<{
650
+ type: z.ZodString;
651
+ }, z.core.$loose>>;
652
+ }, z.core.$loose>, {
653
+ siteUrl?: string | undefined;
654
+ }, {
655
+ baseUrl: string;
656
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
657
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
658
+ authorize(target: URL, headers: Headers): void;
659
+ }, {
660
+ [x: string]: unknown;
661
+ type: "doc";
662
+ version: 1;
663
+ content: {
664
+ [x: string]: unknown;
665
+ type: string;
666
+ }[];
667
+ }> & {
668
+ slug: "markdownToAdf";
669
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
670
+ attachmentId: z.ZodString;
671
+ name: z.ZodOptional<z.ZodString>;
672
+ }, z.core.$strip>, z.ZodObject<{
673
+ fileId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
674
+ name: z.ZodString;
675
+ mimeType: z.ZodString;
676
+ size: z.ZodNumber;
677
+ url: z.ZodNullable<z.ZodString>;
678
+ attachmentId: z.ZodString;
679
+ }, z.core.$strip>, {
680
+ siteUrl?: string | undefined;
681
+ }, {
682
+ baseUrl: string;
683
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
684
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
685
+ authorize(target: URL, headers: Headers): void;
686
+ }, {
687
+ fileId: string | number;
688
+ name: string;
689
+ mimeType: string;
690
+ size: number;
691
+ url: string | null;
692
+ attachmentId: string;
693
+ }> & {
694
+ slug: "downloadAttachment";
695
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
696
+ limit: z.ZodDefault<z.ZodNumber>;
697
+ cursor: z.ZodOptional<z.ZodString>;
698
+ }, z.core.$strip>, z.ZodObject<{
699
+ data: z.ZodArray<z.ZodObject<{
700
+ id: z.ZodString;
701
+ key: z.ZodString;
702
+ name: z.ZodString;
703
+ projectTypeKey: z.ZodOptional<z.ZodString>;
704
+ description: z.ZodOptional<z.ZodString>;
705
+ lead: z.ZodOptional<z.ZodObject<{
706
+ accountId: z.ZodString;
707
+ accountType: z.ZodOptional<z.ZodString>;
708
+ displayName: z.ZodOptional<z.ZodString>;
709
+ emailAddress: z.ZodOptional<z.ZodString>;
710
+ active: z.ZodOptional<z.ZodBoolean>;
711
+ }, z.core.$loose>>;
712
+ }, z.core.$loose>>;
713
+ pagination: z.ZodObject<{
714
+ count: z.ZodNumber;
715
+ hasMore: z.ZodBoolean;
716
+ nextCursor: z.ZodNullable<z.ZodString>;
717
+ limit: z.ZodNumber;
718
+ }, z.core.$strip>;
719
+ }, z.core.$strip>, {
720
+ siteUrl?: string | undefined;
721
+ }, {
722
+ baseUrl: string;
723
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
724
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
725
+ authorize(target: URL, headers: Headers): void;
726
+ }, {
727
+ data: {
728
+ [x: string]: unknown;
729
+ id: string;
730
+ key: string;
731
+ name: string;
732
+ projectTypeKey?: string | undefined;
733
+ description?: string | undefined;
734
+ lead?: {
735
+ [x: string]: unknown;
736
+ accountId: string;
737
+ accountType?: string | undefined;
738
+ displayName?: string | undefined;
739
+ emailAddress?: string | undefined;
740
+ active?: boolean | undefined;
741
+ } | undefined;
742
+ }[];
743
+ pagination: {
744
+ count: number;
745
+ hasMore: boolean;
746
+ nextCursor: string | null;
747
+ limit: number;
748
+ };
749
+ }> & {
750
+ slug: "listProjects";
751
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
752
+ limit: z.ZodDefault<z.ZodNumber>;
753
+ cursor: z.ZodOptional<z.ZodString>;
754
+ projectId: z.ZodOptional<z.ZodString>;
755
+ }, z.core.$strip>, z.ZodObject<{
756
+ data: z.ZodArray<z.ZodObject<{
757
+ id: z.ZodString;
758
+ name: z.ZodString;
759
+ description: z.ZodOptional<z.ZodString>;
760
+ subtask: z.ZodOptional<z.ZodBoolean>;
761
+ hierarchyLevel: z.ZodOptional<z.ZodNumber>;
762
+ scope: z.ZodOptional<z.ZodUnknown>;
763
+ }, z.core.$loose>>;
764
+ pagination: z.ZodObject<{
765
+ count: z.ZodNumber;
766
+ hasMore: z.ZodBoolean;
767
+ nextCursor: z.ZodNullable<z.ZodString>;
768
+ limit: z.ZodNumber;
769
+ }, z.core.$strip>;
770
+ }, z.core.$strip>, {
771
+ siteUrl?: string | undefined;
772
+ }, {
773
+ baseUrl: string;
774
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
775
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
776
+ authorize(target: URL, headers: Headers): void;
777
+ }, {
778
+ data: {
779
+ [x: string]: unknown;
780
+ id: string;
781
+ name: string;
782
+ description?: string | undefined;
783
+ subtask?: boolean | undefined;
784
+ hierarchyLevel?: number | undefined;
785
+ scope?: unknown;
786
+ }[];
787
+ pagination: {
788
+ count: number;
789
+ hasMore: boolean;
790
+ nextCursor: string | null;
791
+ limit: number;
792
+ };
793
+ }> & {
794
+ slug: "listIssueTypes";
795
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
796
+ limit: z.ZodDefault<z.ZodNumber>;
797
+ cursor: z.ZodOptional<z.ZodString>;
798
+ projectId: z.ZodOptional<z.ZodString>;
799
+ }, z.core.$strip>, z.ZodObject<{
800
+ data: z.ZodArray<z.ZodObject<{
801
+ id: z.ZodString;
802
+ name: z.ZodString;
803
+ statusCategory: z.ZodOptional<z.ZodString>;
804
+ scope: z.ZodOptional<z.ZodUnknown>;
805
+ }, z.core.$loose>>;
806
+ pagination: z.ZodObject<{
807
+ count: z.ZodNumber;
808
+ hasMore: z.ZodBoolean;
809
+ nextCursor: z.ZodNullable<z.ZodString>;
810
+ limit: z.ZodNumber;
811
+ }, z.core.$strip>;
812
+ }, z.core.$strip>, {
813
+ siteUrl?: string | undefined;
814
+ }, {
815
+ baseUrl: string;
816
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
817
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
818
+ authorize(target: URL, headers: Headers): void;
819
+ }, {
820
+ data: {
821
+ [x: string]: unknown;
822
+ id: string;
823
+ name: string;
824
+ statusCategory?: string | undefined;
825
+ scope?: unknown;
826
+ }[];
827
+ pagination: {
828
+ count: number;
829
+ hasMore: boolean;
830
+ nextCursor: string | null;
831
+ limit: number;
832
+ };
833
+ }> & {
834
+ slug: "listStatuses";
835
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
836
+ limit: z.ZodDefault<z.ZodNumber>;
837
+ cursor: z.ZodOptional<z.ZodString>;
838
+ }, z.core.$strip>, z.ZodObject<{
839
+ data: z.ZodArray<z.ZodObject<{
840
+ id: z.ZodString;
841
+ name: z.ZodString;
842
+ description: z.ZodOptional<z.ZodString>;
843
+ }, z.core.$loose>>;
844
+ pagination: z.ZodObject<{
845
+ count: z.ZodNumber;
846
+ hasMore: z.ZodBoolean;
847
+ nextCursor: z.ZodNullable<z.ZodString>;
848
+ limit: z.ZodNumber;
849
+ }, z.core.$strip>;
850
+ }, z.core.$strip>, {
851
+ siteUrl?: string | undefined;
852
+ }, {
853
+ baseUrl: string;
854
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
855
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
856
+ authorize(target: URL, headers: Headers): void;
857
+ }, {
858
+ data: {
859
+ [x: string]: unknown;
860
+ id: string;
861
+ name: string;
862
+ description?: string | undefined;
863
+ }[];
864
+ pagination: {
865
+ count: number;
866
+ hasMore: boolean;
867
+ nextCursor: string | null;
868
+ limit: number;
869
+ };
870
+ }> & {
871
+ slug: "listPriorities";
872
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
873
+ limit: z.ZodDefault<z.ZodNumber>;
874
+ cursor: z.ZodOptional<z.ZodString>;
875
+ }, z.core.$strip>, z.ZodObject<{
876
+ data: z.ZodArray<z.ZodObject<{
877
+ id: z.ZodString;
878
+ key: z.ZodOptional<z.ZodString>;
879
+ name: z.ZodString;
880
+ schema: z.ZodOptional<z.ZodObject<{
881
+ type: z.ZodString;
882
+ items: z.ZodOptional<z.ZodString>;
883
+ custom: z.ZodOptional<z.ZodString>;
884
+ }, z.core.$loose>>;
885
+ custom: z.ZodOptional<z.ZodBoolean>;
886
+ }, z.core.$loose>>;
887
+ pagination: z.ZodObject<{
888
+ count: z.ZodNumber;
889
+ hasMore: z.ZodBoolean;
890
+ nextCursor: z.ZodNullable<z.ZodString>;
891
+ limit: z.ZodNumber;
892
+ }, z.core.$strip>;
893
+ }, z.core.$strip>, {
894
+ siteUrl?: string | undefined;
895
+ }, {
896
+ baseUrl: string;
897
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
898
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
899
+ authorize(target: URL, headers: Headers): void;
900
+ }, {
901
+ data: {
902
+ [x: string]: unknown;
903
+ id: string;
904
+ name: string;
905
+ key?: string | undefined;
906
+ schema?: {
907
+ [x: string]: unknown;
908
+ type: string;
909
+ items?: string | undefined;
910
+ custom?: string | undefined;
911
+ } | undefined;
912
+ custom?: boolean | undefined;
913
+ }[];
914
+ pagination: {
915
+ count: number;
916
+ hasMore: boolean;
917
+ nextCursor: string | null;
918
+ limit: number;
919
+ };
920
+ }> & {
921
+ slug: "listFields";
922
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
923
+ limit: z.ZodDefault<z.ZodNumber>;
924
+ cursor: z.ZodOptional<z.ZodString>;
925
+ }, z.core.$strip>, z.ZodObject<{
926
+ data: z.ZodArray<z.ZodObject<{
927
+ id: z.ZodString;
928
+ name: z.ZodString;
929
+ inward: z.ZodString;
930
+ outward: z.ZodString;
931
+ }, z.core.$loose>>;
932
+ pagination: z.ZodObject<{
933
+ count: z.ZodNumber;
934
+ hasMore: z.ZodBoolean;
935
+ nextCursor: z.ZodNullable<z.ZodString>;
936
+ limit: z.ZodNumber;
937
+ }, z.core.$strip>;
938
+ }, z.core.$strip>, {
939
+ siteUrl?: string | undefined;
940
+ }, {
941
+ baseUrl: string;
942
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
943
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
944
+ authorize(target: URL, headers: Headers): void;
945
+ }, {
946
+ data: {
947
+ [x: string]: unknown;
948
+ id: string;
949
+ name: string;
950
+ inward: string;
951
+ outward: string;
952
+ }[];
953
+ pagination: {
954
+ count: number;
955
+ hasMore: boolean;
956
+ nextCursor: string | null;
957
+ limit: number;
958
+ };
959
+ }> & {
960
+ slug: "listIssueLinkTypes";
961
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
962
+ limit: z.ZodDefault<z.ZodNumber>;
963
+ cursor: z.ZodOptional<z.ZodString>;
964
+ }, z.core.$strip>, z.ZodObject<{
965
+ data: z.ZodArray<z.ZodObject<{
966
+ accountId: z.ZodString;
967
+ accountType: z.ZodOptional<z.ZodString>;
968
+ displayName: z.ZodOptional<z.ZodString>;
969
+ emailAddress: z.ZodOptional<z.ZodString>;
970
+ active: z.ZodOptional<z.ZodBoolean>;
971
+ }, z.core.$loose>>;
972
+ pagination: z.ZodObject<{
973
+ count: z.ZodNumber;
974
+ hasMore: z.ZodBoolean;
975
+ nextCursor: z.ZodNullable<z.ZodString>;
976
+ limit: z.ZodNumber;
977
+ }, z.core.$strip>;
978
+ }, z.core.$strip>, {
979
+ siteUrl?: string | undefined;
980
+ }, {
981
+ baseUrl: string;
982
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
983
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
984
+ authorize(target: URL, headers: Headers): void;
985
+ }, {
986
+ data: {
987
+ [x: string]: unknown;
988
+ accountId: string;
989
+ accountType?: string | undefined;
990
+ displayName?: string | undefined;
991
+ emailAddress?: string | undefined;
992
+ active?: boolean | undefined;
993
+ }[];
994
+ pagination: {
995
+ count: number;
996
+ hasMore: boolean;
997
+ nextCursor: string | null;
998
+ limit: number;
999
+ };
1000
+ }> & {
1001
+ slug: "listUsers";
1002
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
1003
+ limit: z.ZodDefault<z.ZodNumber>;
1004
+ cursor: z.ZodOptional<z.ZodString>;
1005
+ projectId: z.ZodString;
1006
+ }, z.core.$strip>, z.ZodObject<{
1007
+ data: z.ZodArray<z.ZodObject<{
1008
+ id: z.ZodString;
1009
+ name: z.ZodString;
1010
+ released: z.ZodOptional<z.ZodBoolean>;
1011
+ archived: z.ZodOptional<z.ZodBoolean>;
1012
+ releaseDate: z.ZodOptional<z.ZodString>;
1013
+ startDate: z.ZodOptional<z.ZodString>;
1014
+ }, z.core.$loose>>;
1015
+ pagination: z.ZodObject<{
1016
+ count: z.ZodNumber;
1017
+ hasMore: z.ZodBoolean;
1018
+ nextCursor: z.ZodNullable<z.ZodString>;
1019
+ limit: z.ZodNumber;
1020
+ }, z.core.$strip>;
1021
+ }, z.core.$strip>, {
1022
+ siteUrl?: string | undefined;
1023
+ }, {
1024
+ baseUrl: string;
1025
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
1026
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
1027
+ authorize(target: URL, headers: Headers): void;
1028
+ }, {
1029
+ data: {
1030
+ [x: string]: unknown;
1031
+ id: string;
1032
+ name: string;
1033
+ released?: boolean | undefined;
1034
+ archived?: boolean | undefined;
1035
+ releaseDate?: string | undefined;
1036
+ startDate?: string | undefined;
1037
+ }[];
1038
+ pagination: {
1039
+ count: number;
1040
+ hasMore: boolean;
1041
+ nextCursor: string | null;
1042
+ limit: number;
1043
+ };
1044
+ }> & {
1045
+ slug: "listVersions";
1046
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
1047
+ limit: z.ZodDefault<z.ZodNumber>;
1048
+ cursor: z.ZodOptional<z.ZodString>;
1049
+ projectId: z.ZodString;
1050
+ }, z.core.$strip>, z.ZodObject<{
1051
+ data: z.ZodArray<z.ZodObject<{
1052
+ id: z.ZodString;
1053
+ name: z.ZodString;
1054
+ description: z.ZodOptional<z.ZodString>;
1055
+ lead: z.ZodOptional<z.ZodObject<{
1056
+ accountId: z.ZodString;
1057
+ accountType: z.ZodOptional<z.ZodString>;
1058
+ displayName: z.ZodOptional<z.ZodString>;
1059
+ emailAddress: z.ZodOptional<z.ZodString>;
1060
+ active: z.ZodOptional<z.ZodBoolean>;
1061
+ }, z.core.$loose>>;
1062
+ }, z.core.$loose>>;
1063
+ pagination: z.ZodObject<{
1064
+ count: z.ZodNumber;
1065
+ hasMore: z.ZodBoolean;
1066
+ nextCursor: z.ZodNullable<z.ZodString>;
1067
+ limit: z.ZodNumber;
1068
+ }, z.core.$strip>;
1069
+ }, z.core.$strip>, {
1070
+ siteUrl?: string | undefined;
1071
+ }, {
1072
+ baseUrl: string;
1073
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
1074
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
1075
+ authorize(target: URL, headers: Headers): void;
1076
+ }, {
1077
+ data: {
1078
+ [x: string]: unknown;
1079
+ id: string;
1080
+ name: string;
1081
+ description?: string | undefined;
1082
+ lead?: {
1083
+ [x: string]: unknown;
1084
+ accountId: string;
1085
+ accountType?: string | undefined;
1086
+ displayName?: string | undefined;
1087
+ emailAddress?: string | undefined;
1088
+ active?: boolean | undefined;
1089
+ } | undefined;
1090
+ }[];
1091
+ pagination: {
1092
+ count: number;
1093
+ hasMore: boolean;
1094
+ nextCursor: string | null;
1095
+ limit: number;
1096
+ };
1097
+ }> & {
1098
+ slug: "listComponents";
1099
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
1100
+ limit: z.ZodDefault<z.ZodNumber>;
1101
+ cursor: z.ZodOptional<z.ZodString>;
1102
+ projectId: z.ZodOptional<z.ZodString>;
1103
+ }, z.core.$strip>, z.ZodObject<{
1104
+ data: z.ZodArray<z.ZodObject<{
1105
+ id: z.ZodNumber;
1106
+ name: z.ZodString;
1107
+ type: z.ZodOptional<z.ZodString>;
1108
+ location: z.ZodOptional<z.ZodObject<{
1109
+ projectId: z.ZodOptional<z.ZodNumber>;
1110
+ projectKey: z.ZodOptional<z.ZodString>;
1111
+ }, z.core.$loose>>;
1112
+ }, z.core.$loose>>;
1113
+ pagination: z.ZodObject<{
1114
+ count: z.ZodNumber;
1115
+ hasMore: z.ZodBoolean;
1116
+ nextCursor: z.ZodNullable<z.ZodString>;
1117
+ limit: z.ZodNumber;
1118
+ }, z.core.$strip>;
1119
+ }, z.core.$strip>, {
1120
+ siteUrl?: string | undefined;
1121
+ }, {
1122
+ baseUrl: string;
1123
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
1124
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
1125
+ authorize(target: URL, headers: Headers): void;
1126
+ }, {
1127
+ data: {
1128
+ [x: string]: unknown;
1129
+ id: number;
1130
+ name: string;
1131
+ type?: string | undefined;
1132
+ location?: {
1133
+ [x: string]: unknown;
1134
+ projectId?: number | undefined;
1135
+ projectKey?: string | undefined;
1136
+ } | undefined;
1137
+ }[];
1138
+ pagination: {
1139
+ count: number;
1140
+ hasMore: boolean;
1141
+ nextCursor: string | null;
1142
+ limit: number;
1143
+ };
1144
+ }> & {
1145
+ slug: "listBoards";
1146
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
1147
+ limit: z.ZodDefault<z.ZodNumber>;
1148
+ cursor: z.ZodOptional<z.ZodString>;
1149
+ boardId: z.ZodNumber;
1150
+ state: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1151
+ active: "active";
1152
+ future: "future";
1153
+ closed: "closed";
1154
+ }>>>;
1155
+ }, z.core.$strip>, z.ZodObject<{
1156
+ data: z.ZodArray<z.ZodObject<{
1157
+ id: z.ZodNumber;
1158
+ name: z.ZodString;
1159
+ state: z.ZodString;
1160
+ startDate: z.ZodOptional<z.ZodString>;
1161
+ endDate: z.ZodOptional<z.ZodString>;
1162
+ completeDate: z.ZodOptional<z.ZodString>;
1163
+ goal: z.ZodOptional<z.ZodString>;
1164
+ originBoardId: z.ZodOptional<z.ZodNumber>;
1165
+ }, z.core.$loose>>;
1166
+ pagination: z.ZodObject<{
1167
+ count: z.ZodNumber;
1168
+ hasMore: z.ZodBoolean;
1169
+ nextCursor: z.ZodNullable<z.ZodString>;
1170
+ limit: z.ZodNumber;
1171
+ }, z.core.$strip>;
1172
+ }, z.core.$strip>, {
1173
+ siteUrl?: string | undefined;
1174
+ }, {
1175
+ baseUrl: string;
1176
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
1177
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
1178
+ authorize(target: URL, headers: Headers): void;
1179
+ }, {
1180
+ data: {
1181
+ [x: string]: unknown;
1182
+ id: number;
1183
+ name: string;
1184
+ state: string;
1185
+ startDate?: string | undefined;
1186
+ endDate?: string | undefined;
1187
+ completeDate?: string | undefined;
1188
+ goal?: string | undefined;
1189
+ originBoardId?: number | undefined;
1190
+ }[];
1191
+ pagination: {
1192
+ count: number;
1193
+ hasMore: boolean;
1194
+ nextCursor: string | null;
1195
+ limit: number;
1196
+ };
1197
+ }> & {
1198
+ slug: "listSprints";
1199
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
1200
+ limit: z.ZodDefault<z.ZodNumber>;
1201
+ cursor: z.ZodOptional<z.ZodString>;
1202
+ issueKey: z.ZodString;
1203
+ }, z.core.$strip>, z.ZodObject<{
1204
+ data: z.ZodArray<z.ZodObject<{
1205
+ id: z.ZodString;
1206
+ author: z.ZodOptional<z.ZodObject<{
1207
+ accountId: z.ZodString;
1208
+ accountType: z.ZodOptional<z.ZodString>;
1209
+ displayName: z.ZodOptional<z.ZodString>;
1210
+ emailAddress: z.ZodOptional<z.ZodString>;
1211
+ active: z.ZodOptional<z.ZodBoolean>;
1212
+ }, z.core.$loose>>;
1213
+ comment: z.ZodOptional<z.ZodUnknown>;
1214
+ started: z.ZodOptional<z.ZodString>;
1215
+ timeSpentSeconds: z.ZodOptional<z.ZodNumber>;
1216
+ }, z.core.$loose>>;
1217
+ pagination: z.ZodObject<{
1218
+ count: z.ZodNumber;
1219
+ hasMore: z.ZodBoolean;
1220
+ nextCursor: z.ZodNullable<z.ZodString>;
1221
+ limit: z.ZodNumber;
1222
+ }, z.core.$strip>;
1223
+ }, z.core.$strip>, {
1224
+ siteUrl?: string | undefined;
1225
+ }, {
1226
+ baseUrl: string;
1227
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
1228
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
1229
+ authorize(target: URL, headers: Headers): void;
1230
+ }, {
1231
+ data: {
1232
+ [x: string]: unknown;
1233
+ id: string;
1234
+ author?: {
1235
+ [x: string]: unknown;
1236
+ accountId: string;
1237
+ accountType?: string | undefined;
1238
+ displayName?: string | undefined;
1239
+ emailAddress?: string | undefined;
1240
+ active?: boolean | undefined;
1241
+ } | undefined;
1242
+ comment?: unknown;
1243
+ started?: string | undefined;
1244
+ timeSpentSeconds?: number | undefined;
1245
+ }[];
1246
+ pagination: {
1247
+ count: number;
1248
+ hasMore: boolean;
1249
+ nextCursor: string | null;
1250
+ limit: number;
1251
+ };
1252
+ }> & {
1253
+ slug: "listWorklogs";
1254
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
1255
+ limit: z.ZodDefault<z.ZodNumber>;
1256
+ cursor: z.ZodOptional<z.ZodString>;
1257
+ issueKey: z.ZodString;
1258
+ }, z.core.$strip>, z.ZodObject<{
1259
+ data: z.ZodArray<z.ZodObject<{
1260
+ accountId: z.ZodString;
1261
+ accountType: z.ZodOptional<z.ZodString>;
1262
+ displayName: z.ZodOptional<z.ZodString>;
1263
+ emailAddress: z.ZodOptional<z.ZodString>;
1264
+ active: z.ZodOptional<z.ZodBoolean>;
1265
+ }, z.core.$loose>>;
1266
+ pagination: z.ZodObject<{
1267
+ count: z.ZodNumber;
1268
+ hasMore: z.ZodBoolean;
1269
+ nextCursor: z.ZodNullable<z.ZodString>;
1270
+ limit: z.ZodNumber;
1271
+ }, z.core.$strip>;
1272
+ }, z.core.$strip>, {
1273
+ siteUrl?: string | undefined;
1274
+ }, {
1275
+ baseUrl: string;
1276
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
1277
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
1278
+ authorize(target: URL, headers: Headers): void;
1279
+ }, {
1280
+ data: {
1281
+ [x: string]: unknown;
1282
+ accountId: string;
1283
+ accountType?: string | undefined;
1284
+ displayName?: string | undefined;
1285
+ emailAddress?: string | undefined;
1286
+ active?: boolean | undefined;
1287
+ }[];
1288
+ pagination: {
1289
+ count: number;
1290
+ hasMore: boolean;
1291
+ nextCursor: string | null;
1292
+ limit: number;
1293
+ };
1294
+ }> & {
1295
+ slug: "listWatchers";
1296
+ }, import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
1297
+ limit: z.ZodDefault<z.ZodNumber>;
1298
+ cursor: z.ZodOptional<z.ZodString>;
1299
+ issueKeys: z.ZodArray<z.ZodString>;
1300
+ fieldIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1301
+ }, z.core.$strip>, z.ZodObject<{
1302
+ data: z.ZodArray<z.ZodObject<{
1303
+ issueId: z.ZodString;
1304
+ changeHistories: z.ZodArray<z.ZodObject<{
1305
+ id: z.ZodString;
1306
+ author: z.ZodOptional<z.ZodObject<{
1307
+ accountId: z.ZodString;
1308
+ accountType: z.ZodOptional<z.ZodString>;
1309
+ displayName: z.ZodOptional<z.ZodString>;
1310
+ emailAddress: z.ZodOptional<z.ZodString>;
1311
+ active: z.ZodOptional<z.ZodBoolean>;
1312
+ }, z.core.$loose>>;
1313
+ created: z.ZodString;
1314
+ items: z.ZodArray<z.ZodObject<{
1315
+ field: z.ZodString;
1316
+ fieldId: z.ZodOptional<z.ZodString>;
1317
+ from: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodTransform<string | null, unknown>>>;
1318
+ fromString: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodTransform<string | null, unknown>>>;
1319
+ to: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodTransform<string | null, unknown>>>;
1320
+ toString: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodTransform<string | null, unknown>>>;
1321
+ }, z.core.$loose>>;
1322
+ }, z.core.$loose>>;
1323
+ }, z.core.$loose>>;
1324
+ pagination: z.ZodObject<{
1325
+ count: z.ZodNumber;
1326
+ hasMore: z.ZodBoolean;
1327
+ nextCursor: z.ZodNullable<z.ZodString>;
1328
+ limit: z.ZodNumber;
1329
+ }, z.core.$strip>;
1330
+ }, z.core.$strip>, {
1331
+ siteUrl?: string | undefined;
1332
+ }, {
1333
+ baseUrl: string;
1334
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
1335
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
1336
+ authorize(target: URL, headers: Headers): void;
1337
+ }, {
1338
+ data: {
1339
+ [x: string]: unknown;
1340
+ issueId: string;
1341
+ changeHistories: {
1342
+ [x: string]: unknown;
1343
+ id: string;
1344
+ created: string;
1345
+ items: {
1346
+ [x: string]: unknown;
1347
+ field: string;
1348
+ fieldId?: string | undefined;
1349
+ from?: string | null | undefined;
1350
+ fromString?: string | null | undefined;
1351
+ to?: string | null | undefined;
1352
+ toString?: string | null | undefined;
1353
+ }[];
1354
+ author?: {
1355
+ [x: string]: unknown;
1356
+ accountId: string;
1357
+ accountType?: string | undefined;
1358
+ displayName?: string | undefined;
1359
+ emailAddress?: string | undefined;
1360
+ active?: boolean | undefined;
1361
+ } | undefined;
1362
+ }[];
1363
+ }[];
1364
+ pagination: {
1365
+ count: number;
1366
+ hasMore: boolean;
1367
+ nextCursor: string | null;
1368
+ limit: number;
1369
+ };
1370
+ }> & {
1371
+ slug: "listChangelogs";
1372
+ }, import("frogbot/pieces").CustomApiCallAction<{
1373
+ siteUrl?: string | undefined;
1374
+ }, {
1375
+ baseUrl: string;
1376
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
1377
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
1378
+ authorize(target: URL, headers: Headers): void;
1379
+ }>];
1380
+ readonly triggers: readonly [{
1381
+ slug: string;
1382
+ label?: string;
1383
+ description: string;
1384
+ input: z.ZodObject<{
1385
+ jql: z.ZodOptional<z.ZodString>;
1386
+ sanitizeJql: z.ZodDefault<z.ZodBoolean>;
1387
+ }, z.core.$strip>;
1388
+ output?: z.ZodObject<{
1389
+ id: z.ZodString;
1390
+ key: z.ZodString;
1391
+ self: z.ZodOptional<z.ZodString>;
1392
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1393
+ }, z.core.$loose> | undefined;
1394
+ sample?: {
1395
+ [x: string]: unknown;
1396
+ id: string;
1397
+ key: string;
1398
+ self?: string | undefined;
1399
+ fields?: Record<string, unknown> | undefined;
1400
+ } | undefined;
1401
+ } & {
1402
+ type: "polling";
1403
+ schedule?: string;
1404
+ run(args: {
1405
+ input: {
1406
+ sanitizeJql: boolean;
1407
+ jql?: string | undefined;
1408
+ };
1409
+ options: {
1410
+ siteUrl?: string | undefined;
1411
+ };
1412
+ client: {
1413
+ baseUrl: string;
1414
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
1415
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
1416
+ authorize(target: URL, headers: Headers): void;
1417
+ };
1418
+ req: import("frogbot/pieces").FrogBotRequest;
1419
+ } & {
1420
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1421
+ }): Promise<{
1422
+ events: {
1423
+ [x: string]: unknown;
1424
+ id: string;
1425
+ key: string;
1426
+ self?: string | undefined;
1427
+ fields?: Record<string, unknown> | undefined;
1428
+ }[];
1429
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1430
+ }>;
1431
+ } & {
1432
+ slug: "issueCreated";
1433
+ }, {
1434
+ slug: string;
1435
+ label?: string;
1436
+ description: string;
1437
+ input: z.ZodObject<{
1438
+ jql: z.ZodOptional<z.ZodString>;
1439
+ sanitizeJql: z.ZodDefault<z.ZodBoolean>;
1440
+ }, z.core.$strip>;
1441
+ output?: z.ZodObject<{
1442
+ id: z.ZodString;
1443
+ key: z.ZodString;
1444
+ self: z.ZodOptional<z.ZodString>;
1445
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1446
+ }, z.core.$loose> | undefined;
1447
+ sample?: {
1448
+ [x: string]: unknown;
1449
+ id: string;
1450
+ key: string;
1451
+ self?: string | undefined;
1452
+ fields?: Record<string, unknown> | undefined;
1453
+ } | undefined;
1454
+ } & {
1455
+ type: "polling";
1456
+ schedule?: string;
1457
+ run(args: {
1458
+ input: {
1459
+ sanitizeJql: boolean;
1460
+ jql?: string | undefined;
1461
+ };
1462
+ options: {
1463
+ siteUrl?: string | undefined;
1464
+ };
1465
+ client: {
1466
+ baseUrl: string;
1467
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
1468
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
1469
+ authorize(target: URL, headers: Headers): void;
1470
+ };
1471
+ req: import("frogbot/pieces").FrogBotRequest;
1472
+ } & {
1473
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1474
+ }): Promise<{
1475
+ events: {
1476
+ [x: string]: unknown;
1477
+ id: string;
1478
+ key: string;
1479
+ self?: string | undefined;
1480
+ fields?: Record<string, unknown> | undefined;
1481
+ }[];
1482
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1483
+ }>;
1484
+ } & {
1485
+ slug: "issueUpdated";
1486
+ }, {
1487
+ slug: string;
1488
+ label?: string;
1489
+ description: string;
1490
+ input: z.ZodObject<{
1491
+ jql: z.ZodOptional<z.ZodString>;
1492
+ sanitizeJql: z.ZodDefault<z.ZodBoolean>;
1493
+ }, z.core.$strip>;
1494
+ output?: z.ZodObject<{
1495
+ issue: z.ZodObject<{
1496
+ id: z.ZodString;
1497
+ key: z.ZodString;
1498
+ self: z.ZodOptional<z.ZodString>;
1499
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1500
+ }, z.core.$loose>;
1501
+ change: z.ZodObject<{
1502
+ from: z.ZodObject<{
1503
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1504
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1505
+ }, z.core.$strip>;
1506
+ to: z.ZodObject<{
1507
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1508
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1509
+ }, z.core.$strip>;
1510
+ by: z.ZodUnknown;
1511
+ at: z.ZodString;
1512
+ }, z.core.$strip>;
1513
+ }, z.core.$strip> | undefined;
1514
+ sample?: {
1515
+ issue: {
1516
+ [x: string]: unknown;
1517
+ id: string;
1518
+ key: string;
1519
+ self?: string | undefined;
1520
+ fields?: Record<string, unknown> | undefined;
1521
+ };
1522
+ change: {
1523
+ from: {
1524
+ id?: string | null | undefined;
1525
+ name?: string | null | undefined;
1526
+ };
1527
+ to: {
1528
+ id?: string | null | undefined;
1529
+ name?: string | null | undefined;
1530
+ };
1531
+ by: unknown;
1532
+ at: string;
1533
+ };
1534
+ } | undefined;
1535
+ } & {
1536
+ type: "polling";
1537
+ schedule?: string;
1538
+ run(args: {
1539
+ input: {
1540
+ sanitizeJql: boolean;
1541
+ jql?: string | undefined;
1542
+ };
1543
+ options: {
1544
+ siteUrl?: string | undefined;
1545
+ };
1546
+ client: {
1547
+ baseUrl: string;
1548
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
1549
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
1550
+ authorize(target: URL, headers: Headers): void;
1551
+ };
1552
+ req: import("frogbot/pieces").FrogBotRequest;
1553
+ } & {
1554
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1555
+ }): Promise<{
1556
+ events: {
1557
+ issue: {
1558
+ [x: string]: unknown;
1559
+ id: string;
1560
+ key: string;
1561
+ self?: string | undefined;
1562
+ fields?: Record<string, unknown> | undefined;
1563
+ };
1564
+ change: {
1565
+ from: {
1566
+ id?: string | null | undefined;
1567
+ name?: string | null | undefined;
1568
+ };
1569
+ to: {
1570
+ id?: string | null | undefined;
1571
+ name?: string | null | undefined;
1572
+ };
1573
+ by: unknown;
1574
+ at: string;
1575
+ };
1576
+ }[];
1577
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1578
+ }>;
1579
+ } & {
1580
+ slug: "issueStatusChanged";
1581
+ }, {
1582
+ slug: string;
1583
+ label?: string;
1584
+ description: string;
1585
+ input: z.ZodObject<{
1586
+ jql: z.ZodOptional<z.ZodString>;
1587
+ sanitizeJql: z.ZodDefault<z.ZodBoolean>;
1588
+ }, z.core.$strip>;
1589
+ output?: z.ZodObject<{
1590
+ issue: z.ZodObject<{
1591
+ id: z.ZodString;
1592
+ key: z.ZodString;
1593
+ summary: z.ZodOptional<z.ZodString>;
1594
+ }, z.core.$strip>;
1595
+ comment: z.ZodObject<{
1596
+ id: z.ZodString;
1597
+ author: z.ZodOptional<z.ZodObject<{
1598
+ accountId: z.ZodString;
1599
+ accountType: z.ZodOptional<z.ZodString>;
1600
+ displayName: z.ZodOptional<z.ZodString>;
1601
+ emailAddress: z.ZodOptional<z.ZodString>;
1602
+ active: z.ZodOptional<z.ZodBoolean>;
1603
+ }, z.core.$loose>>;
1604
+ body: z.ZodUnknown;
1605
+ renderedBody: z.ZodOptional<z.ZodString>;
1606
+ created: z.ZodOptional<z.ZodString>;
1607
+ updated: z.ZodOptional<z.ZodString>;
1608
+ }, z.core.$loose>;
1609
+ }, z.core.$strip> | undefined;
1610
+ sample?: {
1611
+ issue: {
1612
+ id: string;
1613
+ key: string;
1614
+ summary?: string | undefined;
1615
+ };
1616
+ comment: {
1617
+ [x: string]: unknown;
1618
+ id: string;
1619
+ body: unknown;
1620
+ author?: {
1621
+ [x: string]: unknown;
1622
+ accountId: string;
1623
+ accountType?: string | undefined;
1624
+ displayName?: string | undefined;
1625
+ emailAddress?: string | undefined;
1626
+ active?: boolean | undefined;
1627
+ } | undefined;
1628
+ renderedBody?: string | undefined;
1629
+ created?: string | undefined;
1630
+ updated?: string | undefined;
1631
+ };
1632
+ } | undefined;
1633
+ } & {
1634
+ type: "polling";
1635
+ schedule?: string;
1636
+ run(args: {
1637
+ input: {
1638
+ sanitizeJql: boolean;
1639
+ jql?: string | undefined;
1640
+ };
1641
+ options: {
1642
+ siteUrl?: string | undefined;
1643
+ };
1644
+ client: {
1645
+ baseUrl: string;
1646
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
1647
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
1648
+ authorize(target: URL, headers: Headers): void;
1649
+ };
1650
+ req: import("frogbot/pieces").FrogBotRequest;
1651
+ } & {
1652
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1653
+ }): Promise<{
1654
+ events: {
1655
+ issue: {
1656
+ id: string;
1657
+ key: string;
1658
+ summary?: string | undefined;
1659
+ };
1660
+ comment: {
1661
+ [x: string]: unknown;
1662
+ id: string;
1663
+ body: unknown;
1664
+ author?: {
1665
+ [x: string]: unknown;
1666
+ accountId: string;
1667
+ accountType?: string | undefined;
1668
+ displayName?: string | undefined;
1669
+ emailAddress?: string | undefined;
1670
+ active?: boolean | undefined;
1671
+ } | undefined;
1672
+ renderedBody?: string | undefined;
1673
+ created?: string | undefined;
1674
+ updated?: string | undefined;
1675
+ };
1676
+ }[];
1677
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1678
+ }>;
1679
+ } & {
1680
+ slug: "commentAdded";
1681
+ }, {
1682
+ slug: string;
1683
+ label?: string;
1684
+ description: string;
1685
+ input: z.ZodObject<{
1686
+ jql: z.ZodOptional<z.ZodString>;
1687
+ sanitizeJql: z.ZodDefault<z.ZodBoolean>;
1688
+ assignedToMe: z.ZodDefault<z.ZodBoolean>;
1689
+ assignee: z.ZodOptional<z.ZodString>;
1690
+ }, z.core.$strip>;
1691
+ output?: z.ZodObject<{
1692
+ issue: z.ZodObject<{
1693
+ id: z.ZodString;
1694
+ key: z.ZodString;
1695
+ self: z.ZodOptional<z.ZodString>;
1696
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1697
+ }, z.core.$loose>;
1698
+ change: z.ZodObject<{
1699
+ from: z.ZodObject<{
1700
+ accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1701
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1702
+ }, z.core.$strip>;
1703
+ to: z.ZodObject<{
1704
+ accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1705
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1706
+ }, z.core.$strip>;
1707
+ by: z.ZodUnknown;
1708
+ at: z.ZodString;
1709
+ }, z.core.$strip>;
1710
+ }, z.core.$strip> | undefined;
1711
+ sample?: {
1712
+ issue: {
1713
+ [x: string]: unknown;
1714
+ id: string;
1715
+ key: string;
1716
+ self?: string | undefined;
1717
+ fields?: Record<string, unknown> | undefined;
1718
+ };
1719
+ change: {
1720
+ from: {
1721
+ accountId?: string | null | undefined;
1722
+ displayName?: string | null | undefined;
1723
+ };
1724
+ to: {
1725
+ accountId?: string | null | undefined;
1726
+ displayName?: string | null | undefined;
1727
+ };
1728
+ by: unknown;
1729
+ at: string;
1730
+ };
1731
+ } | undefined;
1732
+ } & {
1733
+ type: "polling";
1734
+ schedule?: string;
1735
+ run(args: {
1736
+ input: {
1737
+ sanitizeJql: boolean;
1738
+ assignedToMe: boolean;
1739
+ jql?: string | undefined;
1740
+ assignee?: string | undefined;
1741
+ };
1742
+ options: {
1743
+ siteUrl?: string | undefined;
1744
+ };
1745
+ client: {
1746
+ baseUrl: string;
1747
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
1748
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
1749
+ authorize(target: URL, headers: Headers): void;
1750
+ };
1751
+ req: import("frogbot/pieces").FrogBotRequest;
1752
+ } & {
1753
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1754
+ }): Promise<{
1755
+ events: {
1756
+ issue: {
1757
+ [x: string]: unknown;
1758
+ id: string;
1759
+ key: string;
1760
+ self?: string | undefined;
1761
+ fields?: Record<string, unknown> | undefined;
1762
+ };
1763
+ change: {
1764
+ from: {
1765
+ accountId?: string | null | undefined;
1766
+ displayName?: string | null | undefined;
1767
+ };
1768
+ to: {
1769
+ accountId?: string | null | undefined;
1770
+ displayName?: string | null | undefined;
1771
+ };
1772
+ by: unknown;
1773
+ at: string;
1774
+ };
1775
+ }[];
1776
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1777
+ }>;
1778
+ } & {
1779
+ slug: "issueAssigned";
1780
+ }, {
1781
+ slug: string;
1782
+ label?: string;
1783
+ description: string;
1784
+ input: z.ZodObject<{
1785
+ jql: z.ZodOptional<z.ZodString>;
1786
+ sanitizeJql: z.ZodDefault<z.ZodBoolean>;
1787
+ }, z.core.$strip>;
1788
+ output?: z.ZodObject<{
1789
+ issue: z.ZodObject<{
1790
+ id: z.ZodString;
1791
+ key: z.ZodString;
1792
+ summary: z.ZodOptional<z.ZodString>;
1793
+ }, z.core.$strip>;
1794
+ attachment: z.ZodObject<{
1795
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
1796
+ filename: z.ZodOptional<z.ZodString>;
1797
+ mimeType: z.ZodOptional<z.ZodString>;
1798
+ size: z.ZodOptional<z.ZodNumber>;
1799
+ created: z.ZodOptional<z.ZodString>;
1800
+ author: z.ZodOptional<z.ZodObject<{
1801
+ accountId: z.ZodString;
1802
+ accountType: z.ZodOptional<z.ZodString>;
1803
+ displayName: z.ZodOptional<z.ZodString>;
1804
+ emailAddress: z.ZodOptional<z.ZodString>;
1805
+ active: z.ZodOptional<z.ZodBoolean>;
1806
+ }, z.core.$loose>>;
1807
+ content: z.ZodOptional<z.ZodString>;
1808
+ }, z.core.$loose>;
1809
+ addedBy: z.ZodUnknown;
1810
+ addedAt: z.ZodString;
1811
+ }, z.core.$strip> | undefined;
1812
+ sample?: {
1813
+ issue: {
1814
+ id: string;
1815
+ key: string;
1816
+ summary?: string | undefined;
1817
+ };
1818
+ attachment: {
1819
+ [x: string]: unknown;
1820
+ id: string;
1821
+ filename?: string | undefined;
1822
+ mimeType?: string | undefined;
1823
+ size?: number | undefined;
1824
+ created?: string | undefined;
1825
+ author?: {
1826
+ [x: string]: unknown;
1827
+ accountId: string;
1828
+ accountType?: string | undefined;
1829
+ displayName?: string | undefined;
1830
+ emailAddress?: string | undefined;
1831
+ active?: boolean | undefined;
1832
+ } | undefined;
1833
+ content?: string | undefined;
1834
+ };
1835
+ addedBy: unknown;
1836
+ addedAt: string;
1837
+ } | undefined;
1838
+ } & {
1839
+ type: "polling";
1840
+ schedule?: string;
1841
+ run(args: {
1842
+ input: {
1843
+ sanitizeJql: boolean;
1844
+ jql?: string | undefined;
1845
+ };
1846
+ options: {
1847
+ siteUrl?: string | undefined;
1848
+ };
1849
+ client: {
1850
+ baseUrl: string;
1851
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
1852
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
1853
+ authorize(target: URL, headers: Headers): void;
1854
+ };
1855
+ req: import("frogbot/pieces").FrogBotRequest;
1856
+ } & {
1857
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1858
+ }): Promise<{
1859
+ events: {
1860
+ issue: {
1861
+ id: string;
1862
+ key: string;
1863
+ summary?: string | undefined;
1864
+ };
1865
+ attachment: {
1866
+ [x: string]: unknown;
1867
+ id: string;
1868
+ filename?: string | undefined;
1869
+ mimeType?: string | undefined;
1870
+ size?: number | undefined;
1871
+ created?: string | undefined;
1872
+ author?: {
1873
+ [x: string]: unknown;
1874
+ accountId: string;
1875
+ accountType?: string | undefined;
1876
+ displayName?: string | undefined;
1877
+ emailAddress?: string | undefined;
1878
+ active?: boolean | undefined;
1879
+ } | undefined;
1880
+ content?: string | undefined;
1881
+ };
1882
+ addedBy: unknown;
1883
+ addedAt: string;
1884
+ }[];
1885
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1886
+ }>;
1887
+ } & {
1888
+ slug: "attachmentAdded";
1889
+ }, {
1890
+ slug: string;
1891
+ label?: string;
1892
+ description: string;
1893
+ input: z.ZodObject<{
1894
+ projectId: z.ZodString;
1895
+ }, z.core.$strip>;
1896
+ output?: z.ZodObject<{
1897
+ id: z.ZodString;
1898
+ name: z.ZodString;
1899
+ description: z.ZodOptional<z.ZodString>;
1900
+ hierarchyLevel: z.ZodOptional<z.ZodNumber>;
1901
+ }, z.core.$loose> | undefined;
1902
+ sample?: {
1903
+ [x: string]: unknown;
1904
+ id: string;
1905
+ name: string;
1906
+ description?: string | undefined;
1907
+ hierarchyLevel?: number | undefined;
1908
+ } | undefined;
1909
+ } & {
1910
+ type: "polling";
1911
+ schedule?: string;
1912
+ run(args: {
1913
+ input: {
1914
+ projectId: string;
1915
+ };
1916
+ options: {
1917
+ siteUrl?: string | undefined;
1918
+ };
1919
+ client: {
1920
+ baseUrl: string;
1921
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
1922
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
1923
+ authorize(target: URL, headers: Headers): void;
1924
+ };
1925
+ req: import("frogbot/pieces").FrogBotRequest;
1926
+ } & {
1927
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1928
+ }): Promise<{
1929
+ events: {
1930
+ [x: string]: unknown;
1931
+ id: string;
1932
+ name: string;
1933
+ description?: string | undefined;
1934
+ hierarchyLevel?: number | undefined;
1935
+ }[];
1936
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1937
+ }>;
1938
+ } & {
1939
+ slug: "issueTypeCreated";
1940
+ }, {
1941
+ slug: string;
1942
+ label?: string;
1943
+ description: string;
1944
+ input: z.ZodObject<{}, z.core.$strip>;
1945
+ output?: z.ZodObject<{
1946
+ id: z.ZodString;
1947
+ key: z.ZodString;
1948
+ name: z.ZodString;
1949
+ projectTypeKey: z.ZodOptional<z.ZodString>;
1950
+ }, z.core.$loose> | undefined;
1951
+ sample?: {
1952
+ [x: string]: unknown;
1953
+ id: string;
1954
+ key: string;
1955
+ name: string;
1956
+ projectTypeKey?: string | undefined;
1957
+ } | undefined;
1958
+ } & {
1959
+ type: "polling";
1960
+ schedule?: string;
1961
+ run(args: {
1962
+ input: Record<string, never>;
1963
+ options: {
1964
+ siteUrl?: string | undefined;
1965
+ };
1966
+ client: {
1967
+ baseUrl: string;
1968
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
1969
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
1970
+ authorize(target: URL, headers: Headers): void;
1971
+ };
1972
+ req: import("frogbot/pieces").FrogBotRequest;
1973
+ } & {
1974
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1975
+ }): Promise<{
1976
+ events: {
1977
+ [x: string]: unknown;
1978
+ id: string;
1979
+ key: string;
1980
+ name: string;
1981
+ projectTypeKey?: string | undefined;
1982
+ }[];
1983
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1984
+ }>;
1985
+ } & {
1986
+ slug: "projectCreated";
1987
+ }, {
1988
+ slug: string;
1989
+ label?: string;
1990
+ description: string;
1991
+ input: z.ZodObject<{}, z.core.$strip>;
1992
+ output?: z.ZodObject<{
1993
+ id: z.ZodString;
1994
+ name: z.ZodString;
1995
+ description: z.ZodOptional<z.ZodString>;
1996
+ }, z.core.$loose> | undefined;
1997
+ sample?: {
1998
+ [x: string]: unknown;
1999
+ id: string;
2000
+ name: string;
2001
+ description?: string | undefined;
2002
+ } | undefined;
2003
+ } & {
2004
+ type: "polling";
2005
+ schedule?: string;
2006
+ run(args: {
2007
+ input: Record<string, never>;
2008
+ options: {
2009
+ siteUrl?: string | undefined;
2010
+ };
2011
+ client: {
2012
+ baseUrl: string;
2013
+ request: <T>(schema: z.ZodType<T>, args: import("./client.js").JiraRequest) => Promise<T>;
2014
+ response: (request: import("./client.js").JiraRequest) => Promise<Response>;
2015
+ authorize(target: URL, headers: Headers): void;
2016
+ };
2017
+ req: import("frogbot/pieces").FrogBotRequest;
2018
+ } & {
2019
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
2020
+ }): Promise<{
2021
+ events: {
2022
+ [x: string]: unknown;
2023
+ id: string;
2024
+ name: string;
2025
+ description?: string | undefined;
2026
+ }[];
2027
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
2028
+ }>;
2029
+ } & {
2030
+ slug: "priorityCreated";
2031
+ }];
2032
+ }>;
2033
+ //# sourceMappingURL=index.d.ts.map