@resolution/jira-api-client 0.6.1 → 0.6.3

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 (69) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +17 -17
  3. package/lib/openapi/platform/BaseJiraPlatformApiClient.js +10 -10
  4. package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
  5. package/lib/openapi/platform/models/common.d.ts +5 -23
  6. package/lib/openapi/platform/models/common.js +1 -10
  7. package/lib/openapi/platform/models/common.js.map +1 -1
  8. package/lib/openapi/platform/models/issueLinks.d.ts +23 -0
  9. package/lib/openapi/platform/models/issueLinks.js +10 -0
  10. package/lib/openapi/platform/models/issueLinks.js.map +1 -1
  11. package/lib/openapi/platform/models/issuePriorities.d.ts +20 -8
  12. package/lib/openapi/platform/models/issuePriorities.js +10 -8
  13. package/lib/openapi/platform/models/issuePriorities.js.map +1 -1
  14. package/lib/openapi/platform/models/issueSearch.d.ts +104 -0
  15. package/lib/openapi/platform/models/issueSearch.js +37 -0
  16. package/lib/openapi/platform/models/issueSearch.js.map +1 -1
  17. package/lib/openapi/platform/models/issues.d.ts +117 -2
  18. package/lib/openapi/platform/models/issues.js +51 -1
  19. package/lib/openapi/platform/models/issues.js.map +1 -1
  20. package/lib/openapi/platform/models/jiraExpressions.d.ts +174 -0
  21. package/lib/openapi/platform/models/jiraExpressions.js +76 -0
  22. package/lib/openapi/platform/models/jiraExpressions.js.map +1 -1
  23. package/lib/openapi/platform/models/projects.d.ts +1 -1
  24. package/lib/openapi/platform/models/projects.js +1 -0
  25. package/lib/openapi/platform/models/projects.js.map +1 -1
  26. package/lib/openapi/platform/models/workflows.d.ts +47 -0
  27. package/lib/openapi/platform/models/workflows.js +19 -0
  28. package/lib/openapi/platform/models/workflows.js.map +1 -1
  29. package/lib/openapi/platform/services/AvatarsService.d.ts +21 -16
  30. package/lib/openapi/platform/services/AvatarsService.js +14 -9
  31. package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
  32. package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +7 -7
  33. package/lib/openapi/platform/services/IssueBulkOperationsService.js +7 -7
  34. package/lib/openapi/platform/services/IssueLinksService.d.ts +1 -2
  35. package/lib/openapi/platform/services/IssueLinksService.js +2 -2
  36. package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
  37. package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +12 -0
  38. package/lib/openapi/platform/services/IssuePrioritiesService.js +12 -0
  39. package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
  40. package/lib/openapi/platform/services/IssueSearchService.d.ts +498 -1
  41. package/lib/openapi/platform/services/IssueSearchService.js +558 -0
  42. package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
  43. package/lib/openapi/platform/services/IssueWorklogsService.d.ts +12 -0
  44. package/lib/openapi/platform/services/IssueWorklogsService.js +1 -0
  45. package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
  46. package/lib/openapi/platform/services/IssuesService.d.ts +225 -1
  47. package/lib/openapi/platform/services/IssuesService.js +225 -0
  48. package/lib/openapi/platform/services/IssuesService.js.map +1 -1
  49. package/lib/openapi/platform/services/JiraExpressionsService.d.ts +189 -1
  50. package/lib/openapi/platform/services/JiraExpressionsService.js +153 -0
  51. package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
  52. package/lib/openapi/platform/services/LicenseMetricsService.d.ts +4 -4
  53. package/lib/openapi/platform/services/LicenseMetricsService.js +4 -4
  54. package/lib/openapi/platform/services/UsersService.d.ts +8 -2
  55. package/lib/openapi/platform/services/UsersService.js +8 -2
  56. package/lib/openapi/platform/services/UsersService.js.map +1 -1
  57. package/lib/openapi/platform/services/WorkflowsService.d.ts +6 -1
  58. package/lib/openapi/platform/services/WorkflowsService.js +2 -1
  59. package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
  60. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +10 -5
  61. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +1 -1
  62. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js.map +1 -1
  63. package/lib/openapi/serviceManagement/models/request.d.ts +4 -4
  64. package/lib/openapi/software/BaseJiraSoftwareApiClient.d.ts +2 -2
  65. package/lib/openapi/software/BaseJiraSoftwareApiClient.js.map +1 -1
  66. package/lib/openapi/software/models/board.d.ts +44 -24
  67. package/lib/openapi/software/models/board.js +26 -11
  68. package/lib/openapi/software/models/board.js.map +1 -1
  69. package/package.json +3 -3
@@ -1,6 +1,29 @@
1
1
  import { type ZodTypeAny } from "zod";
2
2
  import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
3
3
  import { type Comment, type IssueLinkType, type LinkedIssue } from "./common";
4
+ /**
5
+ * Details of a link between issues.
6
+ *
7
+ * @category Models
8
+ */
9
+ export interface IssueLink {
10
+ /** The ID of the issue link. */
11
+ id?: string;
12
+ /**
13
+ * Provides details about the linked issue. If presenting this link in a user
14
+ * interface, use the `inward` field of the issue link type to label the link.
15
+ */
16
+ inwardIssue: LinkedIssue;
17
+ /**
18
+ * Provides details about the linked issue. If presenting this link in a user
19
+ * interface, use the `outward` field of the issue link type to label the link.
20
+ */
21
+ outwardIssue: LinkedIssue;
22
+ /** The URL of the issue link. */
23
+ self?: string;
24
+ /** The type of link between the issues. */
25
+ type: IssueLinkType;
26
+ }
4
27
  /** @category Models */
5
28
  export interface LinkIssueRequestJsonBean {
6
29
  /** A comment. */
@@ -7,6 +7,16 @@ exports.registerIssueLinksValidationSchemas = void 0;
7
7
  const zod_1 = require("zod");
8
8
  const common_1 = require("./common");
9
9
  function registerIssueLinksValidationSchemas(validationSchemaStorage) {
10
+ validationSchemaStorage.register("IssueLink", zod_1.z
11
+ .object({
12
+ id: zod_1.z.string().optional(),
13
+ inwardIssue: validationSchemaStorage.lazy("LinkedIssue"),
14
+ outwardIssue: validationSchemaStorage.lazy("LinkedIssue"),
15
+ self: zod_1.z.string().optional(),
16
+ type: validationSchemaStorage.lazy("IssueLinkType"),
17
+ })
18
+ .strict()
19
+ .describe("IssueLink"));
10
20
  validationSchemaStorage.register("LinkIssueRequestJsonBean", zod_1.z
11
21
  .object({
12
22
  comment: validationSchemaStorage.lazy("Comment").optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"issueLinks.js","sourceRoot":"","sources":["../../../../src/openapi/platform/models/issueLinks.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAyC;AAGzC,qCAKkB;AAoBlB,SAAgB,mCAAmC,CACjD,uBAAkE;IAElE,uBAAuB,CAAC,QAAQ,CAC9B,0BAA0B,EAC1B,OAAC;SACE,MAAM,CAAC;QACN,OAAO,EAAE,uBAAuB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,QAAQ,EAAE;QAC3D,WAAW,EAAE,uBAAuB,CAAC,IAAI,CAAC,aAAa,CAAC;QACxD,YAAY,EAAE,uBAAuB,CAAC,IAAI,CAAC,aAAa,CAAC;QACzD,IAAI,EAAE,uBAAuB,CAAC,IAAI,CAAC,eAAe,CAAC;KACpD,CAAC;SACD,MAAM,EAAE;SACR,QAAQ,CAAC,0BAA0B,CAAC,CACxC,CAAC;IACF,uBAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;AAC1E,CAAC;AAhBD,kFAgBC"}
1
+ {"version":3,"file":"issueLinks.js","sourceRoot":"","sources":["../../../../src/openapi/platform/models/issueLinks.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAyC;AAGzC,qCAKkB;AA2ClB,SAAgB,mCAAmC,CACjD,uBAAkE;IAElE,uBAAuB,CAAC,QAAQ,CAC9B,WAAW,EACX,OAAC;SACE,MAAM,CAAC;QACN,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACzB,WAAW,EAAE,uBAAuB,CAAC,IAAI,CAAC,aAAa,CAAC;QACxD,YAAY,EAAE,uBAAuB,CAAC,IAAI,CAAC,aAAa,CAAC;QACzD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3B,IAAI,EAAE,uBAAuB,CAAC,IAAI,CAAC,eAAe,CAAC;KACpD,CAAC;SACD,MAAM,EAAE;SACR,QAAQ,CAAC,WAAW,CAAC,CACzB,CAAC;IACF,uBAAuB,CAAC,QAAQ,CAC9B,0BAA0B,EAC1B,OAAC;SACE,MAAM,CAAC;QACN,OAAO,EAAE,uBAAuB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,QAAQ,EAAE;QAC3D,WAAW,EAAE,uBAAuB,CAAC,IAAI,CAAC,aAAa,CAAC;QACxD,YAAY,EAAE,uBAAuB,CAAC,IAAI,CAAC,aAAa,CAAC;QACzD,IAAI,EAAE,uBAAuB,CAAC,IAAI,CAAC,eAAe,CAAC;KACpD,CAAC;SACD,MAAM,EAAE;SACR,QAAQ,CAAC,0BAA0B,CAAC,CACxC,CAAC;IACF,uBAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;AAC1E,CAAC;AA7BD,kFA6BC"}
@@ -7,13 +7,20 @@ import { type Priority } from "./common";
7
7
  * @category Models
8
8
  */
9
9
  export interface CreatePriorityDetails extends Record<string, unknown> {
10
+ /**
11
+ * The ID for the avatar for the priority. Either the iconUrl or avatarId must be
12
+ * defined, but not both. This parameter is nullable and will become mandatory
13
+ * once the iconUrl parameter is deprecated.
14
+ */
15
+ avatarId?: number;
10
16
  /** The description of the priority. */
11
- description?: string;
17
+ description?: string | null;
12
18
  /**
13
19
  * The URL of an icon for the priority. Accepted protocols are HTTP and HTTPS.
14
- * Built in icons can also be used.
20
+ * Built in icons can also be used. Either the iconUrl or avatarId must be
21
+ * defined, but not both.
15
22
  */
16
- iconUrl?: "/images/icons/priorities/blocker.png" | "/images/icons/priorities/critical.png" | "/images/icons/priorities/high.png" | "/images/icons/priorities/highest.png" | "/images/icons/priorities/low.png" | "/images/icons/priorities/lowest.png" | "/images/icons/priorities/major.png" | "/images/icons/priorities/medium.png" | "/images/icons/priorities/minor.png" | "/images/icons/priorities/trivial.png" | "/images/icons/priorities/blocker_new.png" | "/images/icons/priorities/critical_new.png" | "/images/icons/priorities/high_new.png" | "/images/icons/priorities/highest_new.png" | "/images/icons/priorities/low_new.png" | "/images/icons/priorities/lowest_new.png" | "/images/icons/priorities/major_new.png" | "/images/icons/priorities/medium_new.png" | "/images/icons/priorities/minor_new.png" | "/images/icons/priorities/trivial_new.png";
23
+ iconUrl?: ("/images/icons/priorities/blocker.png" | "/images/icons/priorities/critical.png" | "/images/icons/priorities/high.png" | "/images/icons/priorities/highest.png" | "/images/icons/priorities/low.png" | "/images/icons/priorities/lowest.png" | "/images/icons/priorities/major.png" | "/images/icons/priorities/medium.png" | "/images/icons/priorities/minor.png" | "/images/icons/priorities/trivial.png" | "/images/icons/priorities/blocker_new.png" | "/images/icons/priorities/critical_new.png" | "/images/icons/priorities/high_new.png" | "/images/icons/priorities/highest_new.png" | "/images/icons/priorities/low_new.png" | "/images/icons/priorities/lowest_new.png" | "/images/icons/priorities/major_new.png" | "/images/icons/priorities/medium_new.png" | "/images/icons/priorities/minor_new.png" | "/images/icons/priorities/trivial_new.png") | null;
17
24
  /** The name of the priority. Must be unique. */
18
25
  name: string;
19
26
  /** The status color of the priority in 3-digit or 6-digit hexadecimal format. */
@@ -83,16 +90,21 @@ export interface SetDefaultPriorityRequest {
83
90
  * @category Models
84
91
  */
85
92
  export interface UpdatePriorityDetails extends Record<string, unknown> {
93
+ /**
94
+ * The ID for the avatar for the priority. This parameter is nullable and both
95
+ * iconUrl and avatarId cannot be defined.
96
+ */
97
+ avatarId?: number;
86
98
  /** The description of the priority. */
87
- description?: string;
99
+ description?: string | null;
88
100
  /**
89
101
  * The URL of an icon for the priority. Accepted protocols are HTTP and HTTPS.
90
- * Built in icons can also be used.
102
+ * Built in icons can also be used. Both iconUrl and avatarId cannot be defined.
91
103
  */
92
- iconUrl?: "/images/icons/priorities/blocker.png" | "/images/icons/priorities/critical.png" | "/images/icons/priorities/high.png" | "/images/icons/priorities/highest.png" | "/images/icons/priorities/low.png" | "/images/icons/priorities/lowest.png" | "/images/icons/priorities/major.png" | "/images/icons/priorities/medium.png" | "/images/icons/priorities/minor.png" | "/images/icons/priorities/trivial.png" | "/images/icons/priorities/blocker_new.png" | "/images/icons/priorities/critical_new.png" | "/images/icons/priorities/high_new.png" | "/images/icons/priorities/highest_new.png" | "/images/icons/priorities/low_new.png" | "/images/icons/priorities/lowest_new.png" | "/images/icons/priorities/major_new.png" | "/images/icons/priorities/medium_new.png" | "/images/icons/priorities/minor_new.png" | "/images/icons/priorities/trivial_new.png";
104
+ iconUrl?: ("/images/icons/priorities/blocker.png" | "/images/icons/priorities/critical.png" | "/images/icons/priorities/high.png" | "/images/icons/priorities/highest.png" | "/images/icons/priorities/low.png" | "/images/icons/priorities/lowest.png" | "/images/icons/priorities/major.png" | "/images/icons/priorities/medium.png" | "/images/icons/priorities/minor.png" | "/images/icons/priorities/trivial.png" | "/images/icons/priorities/blocker_new.png" | "/images/icons/priorities/critical_new.png" | "/images/icons/priorities/high_new.png" | "/images/icons/priorities/highest_new.png" | "/images/icons/priorities/low_new.png" | "/images/icons/priorities/lowest_new.png" | "/images/icons/priorities/major_new.png" | "/images/icons/priorities/medium_new.png" | "/images/icons/priorities/minor_new.png" | "/images/icons/priorities/trivial_new.png") | null;
93
105
  /** The name of the priority. Must be unique. */
94
- name?: string;
106
+ name?: string | null;
95
107
  /** The status color of the priority in 3-digit or 6-digit hexadecimal format. */
96
- statusColor?: string;
108
+ statusColor?: string | null;
97
109
  }
98
110
  export declare function registerIssuePrioritiesValidationSchemas(validationSchemaStorage: CommonValidationSchemaStorage<ZodTypeAny>): void;
@@ -9,9 +9,10 @@ const common_1 = require("./common");
9
9
  function registerIssuePrioritiesValidationSchemas(validationSchemaStorage) {
10
10
  validationSchemaStorage.register("CreatePriorityDetails", zod_1.z
11
11
  .object({
12
- description: zod_1.z.string().max(255).optional(),
12
+ avatarId: zod_1.z.number().int().optional(),
13
+ description: zod_1.z.nullable(zod_1.z.string().max(255)).optional(),
13
14
  iconUrl: zod_1.z
14
- .enum([
15
+ .nullable(zod_1.z.enum([
15
16
  "/images/icons/priorities/blocker.png",
16
17
  "/images/icons/priorities/critical.png",
17
18
  "/images/icons/priorities/high.png",
@@ -32,7 +33,7 @@ function registerIssuePrioritiesValidationSchemas(validationSchemaStorage) {
32
33
  "/images/icons/priorities/medium_new.png",
33
34
  "/images/icons/priorities/minor_new.png",
34
35
  "/images/icons/priorities/trivial_new.png",
35
- ])
36
+ ]))
36
37
  .optional(),
37
38
  name: zod_1.z.string().max(60),
38
39
  statusColor: zod_1.z.string(),
@@ -73,9 +74,10 @@ function registerIssuePrioritiesValidationSchemas(validationSchemaStorage) {
73
74
  .describe("SetDefaultPriorityRequest"));
74
75
  validationSchemaStorage.register("UpdatePriorityDetails", zod_1.z
75
76
  .object({
76
- description: zod_1.z.string().max(255).optional(),
77
+ avatarId: zod_1.z.number().int().optional(),
78
+ description: zod_1.z.nullable(zod_1.z.string().max(255)).optional(),
77
79
  iconUrl: zod_1.z
78
- .enum([
80
+ .nullable(zod_1.z.enum([
79
81
  "/images/icons/priorities/blocker.png",
80
82
  "/images/icons/priorities/critical.png",
81
83
  "/images/icons/priorities/high.png",
@@ -96,10 +98,10 @@ function registerIssuePrioritiesValidationSchemas(validationSchemaStorage) {
96
98
  "/images/icons/priorities/medium_new.png",
97
99
  "/images/icons/priorities/minor_new.png",
98
100
  "/images/icons/priorities/trivial_new.png",
99
- ])
101
+ ]))
100
102
  .optional(),
101
- name: zod_1.z.string().max(60).optional(),
102
- statusColor: zod_1.z.string().optional(),
103
+ name: zod_1.z.nullable(zod_1.z.string().max(60)).optional(),
104
+ statusColor: zod_1.z.nullable(zod_1.z.string()).optional(),
103
105
  })
104
106
  .catchall(zod_1.z.unknown())
105
107
  .describe("UpdatePriorityDetails"));
@@ -1 +1 @@
1
- {"version":3,"file":"issuePriorities.js","sourceRoot":"","sources":["../../../../src/openapi/platform/models/issuePriorities.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAyC;AAGzC,qCAA0E;AAuI1E,SAAgB,wCAAwC,CACtD,uBAAkE;IAElE,uBAAuB,CAAC,QAAQ,CAC9B,uBAAuB,EACvB,OAAC;SACE,MAAM,CAAC;QACN,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;QAC3C,OAAO,EAAE,OAAC;aACP,IAAI,CAAC;YACJ,sCAAsC;YACtC,uCAAuC;YACvC,mCAAmC;YACnC,sCAAsC;YACtC,kCAAkC;YAClC,qCAAqC;YACrC,oCAAoC;YACpC,qCAAqC;YACrC,oCAAoC;YACpC,sCAAsC;YACtC,0CAA0C;YAC1C,2CAA2C;YAC3C,uCAAuC;YACvC,0CAA0C;YAC1C,sCAAsC;YACtC,yCAAyC;YACzC,wCAAwC;YACxC,yCAAyC;YACzC,wCAAwC;YACxC,0CAA0C;SAC3C,CAAC;aACD,QAAQ,EAAE;QACb,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC;QACxB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;KACxB,CAAC;SACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACrB,QAAQ,CAAC,uBAAuB,CAAC,CACrC,CAAC;IACF,uBAAuB,CAAC,QAAQ,CAC9B,kBAAkB,EAClB,OAAC;SACE,MAAM,CAAC;QACN,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAC9B,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE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AuB,CAAC,QAAQ,CAC9B,uBAAuB,EACvB,OAAC;SACE,MAAM,CAAC;QACN,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;QAC3C,OAAO,EAAE,OAAC;aACP,IAAI,CAAC;YACJ,sCAAsC;YACtC,uCAAuC;YACvC,mCAAmC;YACnC,sCAAsC;YACtC,kCAAkC;YAClC,qCAAqC;YACrC,oCAAoC;YACpC,qCAAqC;YACrC,oCAAoC;YACpC,sCAAsC;YACtC,0CAA0C;YAC1C,2CAA2C;YAC3C,uCAAuC;YACvC,0CAA0C;YAC1C,sCAAsC;YACtC,yCAAyC;YACzC,wCAAwC;YACxC,yCAAyC;YACzC,wCAAwC;YACxC,0CAA0C;SAC3C,CAAC;aACD,QAAQ,EAAE;QACb,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;QACnC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACnC,CAAC;SACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACrB,QAAQ,CAAC,uBAAuB,CAAC,CACrC,CAAC;IACF,uBAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;AAC1E,CAAC;AAtHD,4FAsHC"}
1
+ {"version":3,"file":"issuePriorities.js","sourceRoot":"","sources":["../../../../src/openapi/platform/models/issuePriorities.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAyC;AAGzC,qCAA0E;AAyJ1E,SAAgB,wCAAwC,CACtD,uBAAkE;IAElE,uBAAuB,CAAC,QAAQ,CAC9B,uBAAuB,EACvB,OAAC;SACE,MAAM,CAAC;QACN,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;QACrC,WAA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,IAAI,CAAC;YACL,sCAAsC;YACtC,uCAAuC;YACvC,mCAAmC;YACnC,sCAAsC;YACtC,kCAAkC;YAClC,qCAAqC;YACrC,oCAAoC;YACpC,qCAAqC;YACrC,oCAAoC;YACpC,sCAAsC;YACtC,0CAA0C;YAC1C,2CAA2C;YAC3C,uCAAuC;YACvC,0CAA0C;YAC1C,sCAAsC;YACtC,yCAAyC;YACzC,wCAAwC;YACxC,yCAAyC;YACzC,wCAAwC;YACxC,0CAA0C;SAC3C,CAAC,CACH;aACA,QAAQ,EAAE;QACb,IAAI,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;QAC/C,WAAW,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;KAC/C,CAAC;SACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACrB,QAAQ,CAAC,uBAAuB,CAAC,CACrC,CAAC;IACF,uBAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;AAC1E,CAAC;AA5HD,4FA4HC"}
@@ -96,6 +96,110 @@ export interface IssuesAndJqlQueries {
96
96
  jqls: string[];
97
97
  }
98
98
  /** @category Models */
99
+ export interface JqlCountRequestBean {
100
+ /**
101
+ * A [JQL](https://confluence.atlassian.com/x/egORLQ) expression. For performance
102
+ * reasons, this field requires a bounded query. A bounded query is a query with a
103
+ * search restriction.
104
+ */
105
+ jql?: string;
106
+ }
107
+ /** @category Models */
108
+ export interface JqlCountResultsBean {
109
+ /** Number of issues matching JQL query. */
110
+ count?: number;
111
+ }
112
+ /** @category Models */
113
+ export interface SearchAndReconcileRequestBean {
114
+ /**
115
+ * Use [expand](em>#expansion) to include additional information about issues in
116
+ * the response. Note that, unlike the majority of instances where `expand` is
117
+ * specified, `expand` is defined as a list of values. The expand options are:
118
+ *
119
+ * * `renderedFields` Returns field values rendered in HTML format.
120
+ * * `names` Returns the display name of each field.
121
+ * * `schema` Returns the schema describing a field type.
122
+ * * `changelog` Returns a list of recent updates to an issue, sorted by date,
123
+ * starting from the most recent.
124
+ */
125
+ expand?: string;
126
+ /**
127
+ * A list of fields to return for each issue. Use it to retrieve a subset of
128
+ * fields. This parameter accepts a comma-separated list. Expand options include:
129
+ *
130
+ * * `*all` Returns all fields.
131
+ * * `*navigable` Returns navigable fields.
132
+ * * `id` Returns only issue IDs.
133
+ * * Any issue field, prefixed with a dash to exclude.
134
+ *
135
+ * The default is `id`.
136
+ *
137
+ * Examples:
138
+ *
139
+ * * `summary,comment` Returns the summary and comments fields only.
140
+ * * `*all,-comment` Returns all fields except comments.
141
+ *
142
+ * Multiple `fields` parameters can be included in a request.
143
+ *
144
+ * Note: By default, this resource returns IDs only. This differs from [GET
145
+ * issue](#api-rest-api-3-issue-issueIdOrKey-get) where the default is all fields.
146
+ */
147
+ fields?: string[];
148
+ /** Reference fields by their key (rather than ID). The default is `false`. */
149
+ fieldsByKeys?: boolean;
150
+ /**
151
+ * A [JQL](https://confluence.atlassian.com/x/egORLQ) expression. For performance
152
+ * reasons, this field requires a bounded query. A bounded query is a query with a
153
+ * search restriction.
154
+ *
155
+ * * Example of an unbounded query: `order by key desc`.
156
+ * * Example of a bounded query: `assignee = currentUser() order by key`.
157
+ */
158
+ jql?: string;
159
+ /**
160
+ * The maximum number of items to return. Depending on search criteria, real
161
+ * number of items returned may be smaller.
162
+ */
163
+ maxResults?: number;
164
+ /**
165
+ * The continuation token to fetch the next page. This token is provided by the
166
+ * response of this endpoint.
167
+ */
168
+ nextPageToken?: string;
169
+ /**
170
+ * A list of up to 5 issue properties to include in the results. This parameter
171
+ * accepts a comma-separated list.
172
+ */
173
+ properties?: string[];
174
+ /**
175
+ * Strong consistency issue ids to be reconciled with search results. Accepts max
176
+ * 50 ids. All issues must exist.
177
+ */
178
+ reconcileIssues?: number[];
179
+ }
180
+ /**
181
+ * The result of a JQL search with issues reconsilation.
182
+ *
183
+ * @category Models
184
+ */
185
+ export interface SearchAndReconcileResults {
186
+ /** The list of issues found by the search or reconsiliation. */
187
+ issues?: IssueBean[];
188
+ /** The ID and name of each field in the search results. */
189
+ names?: {
190
+ [key: string]: string;
191
+ };
192
+ /**
193
+ * Continuation token to fetch the next page. If this result represents the last
194
+ * or the only page this token will be null. This token will expire in 7 days.
195
+ */
196
+ nextPageToken?: string;
197
+ /** The schema describing the field types in the search results. */
198
+ schema?: {
199
+ /** The schema of a field. */ [key: string]: JsonTypeBean;
200
+ };
201
+ }
202
+ /** @category Models */
99
203
  export interface SearchRequestBean {
100
204
  /**
101
205
  * Use [expand](em>#expansion) to include additional information about issues in
@@ -88,6 +88,43 @@ function registerIssueSearchValidationSchemas(validationSchemaStorage) {
88
88
  })
89
89
  .strict()
90
90
  .describe("IssuesAndJqlQueries"));
91
+ validationSchemaStorage.register("JqlCountRequestBean", zod_1.z
92
+ .object({
93
+ jql: zod_1.z.string().optional(),
94
+ })
95
+ .strict()
96
+ .describe("JqlCountRequestBean"));
97
+ validationSchemaStorage.register("JqlCountResultsBean", zod_1.z
98
+ .object({
99
+ count: zod_1.z.number().int().optional(),
100
+ })
101
+ .strict()
102
+ .describe("JqlCountResultsBean"));
103
+ validationSchemaStorage.register("SearchAndReconcileRequestBean", zod_1.z
104
+ .object({
105
+ expand: zod_1.z.string().optional(),
106
+ fields: zod_1.z.array(zod_1.z.string()).optional(),
107
+ fieldsByKeys: zod_1.z.boolean().optional(),
108
+ jql: zod_1.z.string().optional(),
109
+ maxResults: zod_1.z.number().int().optional(),
110
+ nextPageToken: zod_1.z.string().optional(),
111
+ properties: zod_1.z.array(zod_1.z.string()).optional(),
112
+ reconcileIssues: zod_1.z.array(zod_1.z.number().int()).optional(),
113
+ })
114
+ .strict()
115
+ .describe("SearchAndReconcileRequestBean"));
116
+ validationSchemaStorage.register("SearchAndReconcileResults", zod_1.z
117
+ .object({
118
+ issues: zod_1.z.array(validationSchemaStorage.lazy("IssueBean")).optional(),
119
+ names: zod_1.z.object({}).catchall(zod_1.z.string()).optional(),
120
+ nextPageToken: zod_1.z.string().optional(),
121
+ schema: zod_1.z
122
+ .object({})
123
+ .catchall(validationSchemaStorage.lazy("JsonTypeBean"))
124
+ .optional(),
125
+ })
126
+ .strict()
127
+ .describe("SearchAndReconcileResults"));
91
128
  validationSchemaStorage.register("SearchRequestBean", zod_1.z
92
129
  .object({
93
130
  expand: zod_1.z.array(zod_1.z.string()).optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"issueSearch.js","sourceRoot":"","sources":["../../../../src/openapi/platform/models/issueSearch.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAyC;AAGzC,qCAIkB;AA4NlB,SAAgB,oCAAoC,CAClD,uBAAkE;IAElE,uBAAuB,CAAC,QAAQ,CAC9B,qBAAqB,EACrB,OAAC;SACE,MAAM,CAAC;QACN,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1B,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;QACvC,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACrC,CAAC;SACD,MAAM,EAAE;SACR,QAAQ,CAAC,qBAAqB,CAAC,CACnC,CAAC;IACF,uBAAuB,CAAC,QAAQ,CAC9B,iBAAiB,EACjB,OAAC;SACE,MAAM,CAAC;QACN,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC9C,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACrC,CAAC;SACD,MAAM,EAAE;SACR,QAAQ,CAAC,iBAAiB,CAAC,CAC/B,CAAC;IACF,uBAAuB,CAAC,QAAQ,CAC9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AAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1B,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACnC,CAAC;SACD,MAAM,EAAE;SACR,QAAQ,CAAC,gBAAgB,CAAC,CAC9B,CAAC;IACF,uBAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;AAC1E,CAAC;AApND,oFAoNC"}
@@ -1,6 +1,6 @@
1
1
  import { type ZodTypeAny } from "zod";
2
2
  import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
3
- import { type Attachment, type AvatarUrlsBean, type EntityProperty, type ErrorCollection, type GroupName, type IssueBean, type IssueLink, type IssueTypeDetails, type JsonTypeBean, type PageOfComments, type PageOfWorklogs, type Priority, type ProjectComponent, type ProjectDetails, type Resolution, type Scope, type SimpleLink, type StatusDetails, type UserDetails, type Version, type Votes, type Watchers } from "./common";
3
+ import { type Attachment, type AvatarUrlsBean, type EntityProperty, type ErrorCollection, type GroupName, type IssueBean, type IssueLinkType, type IssueTypeDetails, type JsonTypeBean, type LinkedIssue, type PageOfComments, type PageOfWorklogs, type Priority, type ProjectComponent, type ProjectDetails, type Resolution, type Scope, type SimpleLink, type StatusDetails, type UserDetails, type Version, type Votes, type Watchers } from "./common";
4
4
  /**
5
5
  * Details of a filter for exporting archived issues.
6
6
  *
@@ -23,6 +23,72 @@ export interface ArchiveIssueAsyncRequest {
23
23
  jql?: string;
24
24
  }
25
25
  /** @category Models */
26
+ export interface BulkFetchIssueRequestBean {
27
+ /**
28
+ * Use [expand](em>#expansion) to include additional information about issues in
29
+ * the response. Note that, unlike the majority of instances where `expand` is
30
+ * specified, `expand` is defined as a list of values. The expand options are:
31
+ *
32
+ * * `renderedFields` Returns field values rendered in HTML format.
33
+ * * `names` Returns the display name of each field.
34
+ * * `schema` Returns the schema describing a field type.
35
+ * * `changelog` Returns a list of recent updates to an issue, sorted by date,
36
+ * starting from the most recent.
37
+ */
38
+ expand?: string[];
39
+ /**
40
+ * A list of fields to return for each issue, use it to retrieve a subset of
41
+ * fields. This parameter accepts a comma-separated list. Expand options include:
42
+ *
43
+ * * `*all` Returns all fields.
44
+ * * `*navigable` Returns navigable fields.
45
+ * * Any issue field, prefixed with a minus to exclude.
46
+ *
47
+ * The default is `*navigable`.
48
+ *
49
+ * Examples:
50
+ *
51
+ * * `summary,comment` Returns the summary and comments fields only.
52
+ * * `-description` Returns all navigable (default) fields except description.
53
+ * * `*all,-comment` Returns all fields except comments.
54
+ *
55
+ * Multiple `fields` parameters can be included in a request.
56
+ *
57
+ * Note: All navigable fields are returned by default. This differs from [GET
58
+ * issue](#api-rest-api-3-issue-issueIdOrKey-get) where the default is all fields.
59
+ */
60
+ fields?: string[];
61
+ /** Reference fields by their key (rather than ID). The default is `false`. */
62
+ fieldsByKeys?: boolean;
63
+ /**
64
+ * An array of issue IDs or issue keys to fetch. You can mix issue IDs and keys in
65
+ * the same query.
66
+ */
67
+ issueIdsOrKeys: string[];
68
+ /**
69
+ * A list of issue property keys of issue properties to be included in the
70
+ * results. A maximum of 5 issue property keys can be specified.
71
+ */
72
+ properties?: string[];
73
+ }
74
+ /**
75
+ * The list of requested issues & fields.
76
+ *
77
+ * @category Models
78
+ */
79
+ export interface BulkIssueResults {
80
+ /**
81
+ * When Jira can't return an issue enumerated in a request due to a retriable
82
+ * error or payload constraint, we'll return the respective issue ID with a
83
+ * corresponding error message. This list is empty when there are no errors Issues
84
+ * which aren't found or that the user doesn't have permission to view won't be
85
+ * returned in this list.
86
+ */
87
+ issueErrors?: IssueError[];
88
+ /** The list of issues. */
89
+ issues?: IssueBean[];
90
+ }
91
+ /** @category Models */
26
92
  export interface BulkOperationErrorResult {
27
93
  /** Error messages from an operation. */
28
94
  elementErrors?: ErrorCollection;
@@ -337,6 +403,24 @@ export interface IncludedFields {
337
403
  excluded?: string[];
338
404
  included?: string[];
339
405
  }
406
+ /**
407
+ * Details of a link between issues.
408
+ *
409
+ * @category Models
410
+ */
411
+ export interface InwardIssueLink {
412
+ /** The ID of the issue link. */
413
+ id?: string;
414
+ /**
415
+ * Provides details about the linked issue. If presenting this link in a user
416
+ * interface, use the `inward` field of the issue link type to label the link.
417
+ */
418
+ inwardIssue: LinkedIssue;
419
+ /** The URL of the issue link. */
420
+ self?: string;
421
+ /** The type of link between the issues. */
422
+ type: IssueLinkType;
423
+ }
340
424
  /**
341
425
  * List of Issue Ids Or Keys that are to be archived or unarchived
342
426
  *
@@ -383,7 +467,7 @@ export interface IssueBeanKnownFields {
383
467
  creator?: UserDetails;
384
468
  duedate?: string | null;
385
469
  fixVersions?: Version[];
386
- issuelinks?: IssueLink[];
470
+ issuelinks?: IssueLinkFromIssue[];
387
471
  /** Details about an issue type. */
388
472
  issuetype?: IssueTypeDetails;
389
473
  labels?: string[];
@@ -436,6 +520,17 @@ export interface IssueCreateMetadata {
436
520
  /** List of projects and their issue creation metadata. */
437
521
  projects?: ProjectIssueCreateMetadata[];
438
522
  }
523
+ /**
524
+ * Describes the error that occurred when retrieving data for a particular issue.
525
+ *
526
+ * @category Models
527
+ */
528
+ export interface IssueError {
529
+ /** The error that occurred when fetching this issue. */
530
+ errorMessage?: string;
531
+ /** The ID of the issue. */
532
+ id?: string;
533
+ }
439
534
  /**
440
535
  * Details about an issue event.
441
536
  *
@@ -480,6 +575,8 @@ export interface IssueLimitReportResponseBean {
480
575
  };
481
576
  }
482
577
  /** @category Models */
578
+ export type IssueLinkFromIssue = InwardIssueLink | OutwardIssueLink;
579
+ /** @category Models */
483
580
  export interface IssueProgress extends Record<string, unknown> {
484
581
  progress: number;
485
582
  total: number;
@@ -696,6 +793,24 @@ export interface Operations extends Record<string, unknown> {
696
793
  /** Details of the link groups defining issue operations. */
697
794
  linkGroups?: LinkGroup[];
698
795
  }
796
+ /**
797
+ * Details of a link between issues.
798
+ *
799
+ * @category Models
800
+ */
801
+ export interface OutwardIssueLink {
802
+ /** The ID of the issue link. */
803
+ id?: string;
804
+ /**
805
+ * Provides details about the linked issue. If presenting this link in a user
806
+ * interface, use the `outward` field of the issue link type to label the link.
807
+ */
808
+ outwardIssue: LinkedIssue;
809
+ /** The URL of the issue link. */
810
+ self?: string;
811
+ /** The type of link between the issues. */
812
+ type: IssueLinkType;
813
+ }
699
814
  /**
700
815
  * A page of items.
701
816
  *
@@ -25,6 +25,25 @@ function registerIssuesValidationSchemas(validationSchemaStorage) {
25
25
  })
26
26
  .strict()
27
27
  .describe("ArchiveIssueAsyncRequest"));
28
+ validationSchemaStorage.register("BulkFetchIssueRequestBean", zod_1.z
29
+ .object({
30
+ expand: zod_1.z.array(zod_1.z.string()).optional(),
31
+ fields: zod_1.z.array(zod_1.z.string()).optional(),
32
+ fieldsByKeys: zod_1.z.boolean().optional(),
33
+ issueIdsOrKeys: zod_1.z.array(zod_1.z.string()),
34
+ properties: zod_1.z.array(zod_1.z.string()).optional(),
35
+ })
36
+ .strict()
37
+ .describe("BulkFetchIssueRequestBean"));
38
+ validationSchemaStorage.register("BulkIssueResults", zod_1.z
39
+ .object({
40
+ issueErrors: zod_1.z
41
+ .array(validationSchemaStorage.lazy("IssueError"))
42
+ .optional(),
43
+ issues: zod_1.z.array(validationSchemaStorage.lazy("IssueBean")).optional(),
44
+ })
45
+ .strict()
46
+ .describe("BulkIssueResults"));
28
47
  validationSchemaStorage.register("BulkOperationErrorResult", zod_1.z
29
48
  .object({
30
49
  elementErrors: validationSchemaStorage
@@ -272,6 +291,15 @@ function registerIssuesValidationSchemas(validationSchemaStorage) {
272
291
  })
273
292
  .strict()
274
293
  .describe("IncludedFields"));
294
+ validationSchemaStorage.register("InwardIssueLink", zod_1.z
295
+ .object({
296
+ id: zod_1.z.string().optional(),
297
+ inwardIssue: validationSchemaStorage.lazy("LinkedIssue"),
298
+ self: zod_1.z.string().optional(),
299
+ type: validationSchemaStorage.lazy("IssueLinkType"),
300
+ })
301
+ .strict()
302
+ .describe("InwardIssueLink"));
275
303
  validationSchemaStorage.register("IssueArchivalSyncRequest", zod_1.z
276
304
  .object({
277
305
  issueIdsOrKeys: zod_1.z.array(zod_1.z.string()).optional(),
@@ -310,7 +338,7 @@ function registerIssuesValidationSchemas(validationSchemaStorage) {
310
338
  .array(validationSchemaStorage.lazy("Version"))
311
339
  .optional(),
312
340
  issuelinks: zod_1.z
313
- .array(validationSchemaStorage.lazy("IssueLink"))
341
+ .array(validationSchemaStorage.lazy("IssueLinkFromIssue"))
314
342
  .optional(),
315
343
  issuetype: validationSchemaStorage.lazy("IssueTypeDetails").optional(),
316
344
  labels: zod_1.z.array(zod_1.z.string()).optional(),
@@ -368,6 +396,13 @@ function registerIssuesValidationSchemas(validationSchemaStorage) {
368
396
  })
369
397
  .strict()
370
398
  .describe("IssueCreateMetadata"));
399
+ validationSchemaStorage.register("IssueError", zod_1.z
400
+ .object({
401
+ errorMessage: zod_1.z.string().optional(),
402
+ id: zod_1.z.string().optional(),
403
+ })
404
+ .strict()
405
+ .describe("IssueError"));
371
406
  validationSchemaStorage.register("IssueEvent", zod_1.z
372
407
  .object({
373
408
  id: zod_1.z.number().int().optional(),
@@ -398,6 +433,12 @@ function registerIssuesValidationSchemas(validationSchemaStorage) {
398
433
  })
399
434
  .strict()
400
435
  .describe("IssueLimitReportResponseBean"));
436
+ validationSchemaStorage.register("IssueLinkFromIssue", zod_1.z
437
+ .union([
438
+ validationSchemaStorage.lazy("InwardIssueLink"),
439
+ validationSchemaStorage.lazy("OutwardIssueLink"),
440
+ ])
441
+ .describe("IssueLinkFromIssue"));
401
442
  validationSchemaStorage.register("IssueProgress", zod_1.z
402
443
  .object({
403
444
  progress: zod_1.z.number(),
@@ -544,6 +585,15 @@ function registerIssuesValidationSchemas(validationSchemaStorage) {
544
585
  })
545
586
  .catchall(zod_1.z.unknown())
546
587
  .describe("Operations"));
588
+ validationSchemaStorage.register("OutwardIssueLink", zod_1.z
589
+ .object({
590
+ id: zod_1.z.string().optional(),
591
+ outwardIssue: validationSchemaStorage.lazy("LinkedIssue"),
592
+ self: zod_1.z.string().optional(),
593
+ type: validationSchemaStorage.lazy("IssueLinkType"),
594
+ })
595
+ .strict()
596
+ .describe("OutwardIssueLink"));
547
597
  validationSchemaStorage.register("PageBeanChangelog", zod_1.z
548
598
  .object({
549
599
  isLast: zod_1.z.boolean().optional(),