@valiantys/atlassian-app-frontend 3.0.0-alpha-7 → 3.0.0-alpha-9

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=class u{constructor(e){this.fetchSvc=e}async updateField(e,s,t){await this.updateFields(e,{[s]:t})}async updateFields(e,s){await this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/3/issue/${e}`},{fields:s})}async getIssueField(e,s){var t;return(t=await this.getIssueFields(e,[s]))==null?void 0:t[s]}async getIssueFields(e,s){return(await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${s.join(",")}`})).fields}async getIssue(e,s=["*all"]){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${s.join(",")}`})}async issueSearch(e,s,t=50){let c;const h=[];do{const o=await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/search/jql?jql=${e}&fields=${s.join(",")}&maxResults=${t}&${c?"nextPageToken="+c:""}`});h.push(...o.issues),c=o.nextPageToken}while(c!==void 0);return h}async addWorklog(e,s){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/worklog`},s)}async queryForIssuesInProjects(e){const s=`project IN (${e.join(",")})`;return this.issueSearch(s,["key"],5e3)}async createIssue(e){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/2/issue`},e)}async updateIssue(e,s){return this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/2/issue/${e}`},s)}async getIssueComments(e,s=0){const t=s?`?startAt=${s}`:"";return await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment${t}`})}async getIssueCommentById(e,s){return await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment/${s}`})}async addIssueComment(e,s){return await this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment`},s)}async transitionIssue(e,s){await this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/transitions`},s)}};u.issueUrl="/rest/api/3/issue";let i=u;exports.JiraIssueService=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=class u{constructor(e){this.fetchSvc=e}async updateField(e,s,t){await this.updateFields(e,{[s]:t})}async updateFields(e,s){await this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/3/issue/${e}`},{fields:s})}async getIssueField(e,s){var t;return(t=await this.getIssueFields(e,[s]))==null?void 0:t[s]}async getIssueFields(e,s){return(await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${s.join(",")}`})).fields}async getIssue(e,s=["*all"]){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${s.join(",")}`})}async issueSearch(e,s,t=50){let c;const h=[];do{const r=await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/search/jql?jql=${e}&fields=${s.join(",")}&maxResults=${t}&${c?"nextPageToken="+c:""}`});h.push(...r.issues),c=r.nextPageToken}while(c!==void 0);return h}async addWorklog(e,s){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/worklog`},s)}async queryForIssuesInProjects(e){const s=`project IN (${e.join(",")})`;return this.issueSearch(s,["key"],5e3)}async createIssue(e){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/2/issue`},e)}async updateIssue(e,s){return this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/2/issue/${e}`},s)}async getIssueComments(e,s=0){const t=s?`?startAt=${s}`:"";return await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment${t}`})}async getIssueCommentById(e,s){return await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment/${s}`})}async addIssueComment(e,s){return await this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment`},s)}async transitionIssue(e,s){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/transitions`},s)}async createIssueLink(e){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issueLink`},e)}};u.issueUrl="/rest/api/3/issue";let i=u;exports.JiraIssueService=i;
@@ -97,7 +97,7 @@ const i = class i {
97
97
  }
98
98
  // https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-transitions-post
99
99
  async transitionIssue(e, s) {
100
- await this.fetchSvc.fetch(
100
+ return this.fetchSvc.fetch(
101
101
  {
102
102
  method: "POST",
103
103
  url: this.fetchSvc.route`/rest/api/3/issue/${e}/transitions`
@@ -105,9 +105,18 @@ const i = class i {
105
105
  s
106
106
  );
107
107
  }
108
+ async createIssueLink(e) {
109
+ return this.fetchSvc.fetch(
110
+ {
111
+ method: "POST",
112
+ url: this.fetchSvc.route`/rest/api/3/issueLink`
113
+ },
114
+ e
115
+ );
116
+ }
108
117
  };
109
118
  i.issueUrl = "/rest/api/3/issue";
110
- let o = i;
119
+ let r = i;
111
120
  export {
112
- o as JiraIssueService
121
+ r as JiraIssueService
113
122
  };
@@ -446,6 +446,60 @@
446
446
  "isAbstract": false,
447
447
  "name": "createIssue"
448
448
  },
449
+ {
450
+ "kind": "Method",
451
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JiraIssueService#createIssueLink:member(1)",
452
+ "docComment": "",
453
+ "excerptTokens": [
454
+ {
455
+ "kind": "Content",
456
+ "text": "createIssueLink(issueLinkRequest: "
457
+ },
458
+ {
459
+ "kind": "Reference",
460
+ "text": "IssueLinkRequest",
461
+ "canonicalReference": "@valiantys/atlassian-app-frontend!~IssueLinkRequest:interface"
462
+ },
463
+ {
464
+ "kind": "Content",
465
+ "text": "): "
466
+ },
467
+ {
468
+ "kind": "Reference",
469
+ "text": "Promise",
470
+ "canonicalReference": "!Promise:interface"
471
+ },
472
+ {
473
+ "kind": "Content",
474
+ "text": "<void>"
475
+ },
476
+ {
477
+ "kind": "Content",
478
+ "text": ";"
479
+ }
480
+ ],
481
+ "isStatic": false,
482
+ "returnTypeTokenRange": {
483
+ "startIndex": 3,
484
+ "endIndex": 5
485
+ },
486
+ "releaseTag": "Public",
487
+ "isProtected": false,
488
+ "overloadIndex": 1,
489
+ "parameters": [
490
+ {
491
+ "parameterName": "issueLinkRequest",
492
+ "parameterTypeTokenRange": {
493
+ "startIndex": 1,
494
+ "endIndex": 2
495
+ },
496
+ "isOptional": false
497
+ }
498
+ ],
499
+ "isOptional": false,
500
+ "isAbstract": false,
501
+ "name": "createIssueLink"
502
+ },
449
503
  {
450
504
  "kind": "Method",
451
505
  "canonicalReference": "@valiantys/atlassian-app-frontend!JiraIssueService#getIssue:member(1)",
@@ -22,6 +22,10 @@ export class JiraIssueService {
22
22
  //
23
23
  // (undocumented)
24
24
  createIssue(body: CreateIssue): Promise<CreatedIssue>;
25
+ // Warning: (ae-forgotten-export) The symbol "IssueLinkRequest" needs to be exported by the entry point data-access-issue.d.ts
26
+ //
27
+ // (undocumented)
28
+ createIssueLink(issueLinkRequest: IssueLinkRequest): Promise<void>;
25
29
  // Warning: (ae-forgotten-export) The symbol "Issue" needs to be exported by the entry point data-access-issue.d.ts
26
30
  //
27
31
  // (undocumented)
@@ -139,6 +139,24 @@ declare interface IssueLink {
139
139
  inwardIssue?: Issue;
140
140
  }
141
141
 
142
+ declare interface IssueLinkRequest {
143
+ inwardIssue: {
144
+ id?: string;
145
+ key?: string;
146
+ };
147
+ outwardIssue: {
148
+ id?: string;
149
+ key?: string;
150
+ };
151
+ comment?: {
152
+ body: AtlassianDocumentFormat;
153
+ };
154
+ type: {
155
+ id?: string;
156
+ name?: string;
157
+ };
158
+ }
159
+
142
160
  declare interface IssueStatus {
143
161
  self: string;
144
162
  description: string;
@@ -185,6 +203,7 @@ export declare class JiraIssueService {
185
203
  getIssueCommentById(issueIdOrKey: string, commentId: string): Promise<IssueComment | undefined>;
186
204
  addIssueComment(issueIdOrKey: string, body: AtlassianDocumentFormat): Promise<IssueComment>;
187
205
  transitionIssue(issueIdOrKey: string, body: TransitionIssueRequest): Promise<void>;
206
+ createIssueLink(issueLinkRequest: IssueLinkRequest): Promise<void>;
188
207
  }
189
208
 
190
209
  declare type Product = 'jira' | 'bitbucket' | 'confluence' | 'connected-data';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valiantys/atlassian-app-frontend",
3
- "version": "3.0.0-alpha-7",
3
+ "version": "3.0.0-alpha-9",
4
4
  "description": "This library provides an Atlassian Forge Custom UI wrapper component that handles all the setup necessary to support an app that can run deployed or in standalone mode",
5
5
  "exports": {
6
6
  "./atlassian-app": {
@@ -1189,6 +1189,105 @@
1189
1189
  "endIndex": 2
1190
1190
  }
1191
1191
  },
1192
+ {
1193
+ "kind": "Interface",
1194
+ "canonicalReference": "@valiantys/atlassian-app-frontend!HealthCheckResult:interface",
1195
+ "docComment": "",
1196
+ "excerptTokens": [
1197
+ {
1198
+ "kind": "Content",
1199
+ "text": "export interface HealthCheckResult "
1200
+ }
1201
+ ],
1202
+ "fileUrlPath": "../../jira/shared/util-jira-v3-api/src/lib/health-check.d.ts",
1203
+ "releaseTag": "Public",
1204
+ "name": "HealthCheckResult",
1205
+ "preserveMemberOrder": false,
1206
+ "members": [
1207
+ {
1208
+ "kind": "PropertySignature",
1209
+ "canonicalReference": "@valiantys/atlassian-app-frontend!HealthCheckResult#description:member",
1210
+ "docComment": "",
1211
+ "excerptTokens": [
1212
+ {
1213
+ "kind": "Content",
1214
+ "text": "description: "
1215
+ },
1216
+ {
1217
+ "kind": "Content",
1218
+ "text": "string"
1219
+ },
1220
+ {
1221
+ "kind": "Content",
1222
+ "text": ";"
1223
+ }
1224
+ ],
1225
+ "isReadonly": false,
1226
+ "isOptional": false,
1227
+ "releaseTag": "Public",
1228
+ "name": "description",
1229
+ "propertyTypeTokenRange": {
1230
+ "startIndex": 1,
1231
+ "endIndex": 2
1232
+ }
1233
+ },
1234
+ {
1235
+ "kind": "PropertySignature",
1236
+ "canonicalReference": "@valiantys/atlassian-app-frontend!HealthCheckResult#name:member",
1237
+ "docComment": "",
1238
+ "excerptTokens": [
1239
+ {
1240
+ "kind": "Content",
1241
+ "text": "name: "
1242
+ },
1243
+ {
1244
+ "kind": "Content",
1245
+ "text": "string"
1246
+ },
1247
+ {
1248
+ "kind": "Content",
1249
+ "text": ";"
1250
+ }
1251
+ ],
1252
+ "isReadonly": false,
1253
+ "isOptional": false,
1254
+ "releaseTag": "Public",
1255
+ "name": "name",
1256
+ "propertyTypeTokenRange": {
1257
+ "startIndex": 1,
1258
+ "endIndex": 2
1259
+ }
1260
+ },
1261
+ {
1262
+ "kind": "PropertySignature",
1263
+ "canonicalReference": "@valiantys/atlassian-app-frontend!HealthCheckResult#passed:member",
1264
+ "docComment": "",
1265
+ "excerptTokens": [
1266
+ {
1267
+ "kind": "Content",
1268
+ "text": "passed: "
1269
+ },
1270
+ {
1271
+ "kind": "Content",
1272
+ "text": "boolean"
1273
+ },
1274
+ {
1275
+ "kind": "Content",
1276
+ "text": ";"
1277
+ }
1278
+ ],
1279
+ "isReadonly": false,
1280
+ "isOptional": false,
1281
+ "releaseTag": "Public",
1282
+ "name": "passed",
1283
+ "propertyTypeTokenRange": {
1284
+ "startIndex": 1,
1285
+ "endIndex": 2
1286
+ }
1287
+ }
1288
+ ],
1289
+ "extendsTokenRanges": []
1290
+ },
1192
1291
  {
1193
1292
  "kind": "Interface",
1194
1293
  "canonicalReference": "@valiantys/atlassian-app-frontend!HistoryMetadata:interface",
@@ -2125,6 +2224,141 @@
2125
2224
  ],
2126
2225
  "extendsTokenRanges": []
2127
2226
  },
2227
+ {
2228
+ "kind": "Interface",
2229
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IssueLinkRequest:interface",
2230
+ "docComment": "",
2231
+ "excerptTokens": [
2232
+ {
2233
+ "kind": "Content",
2234
+ "text": "export interface IssueLinkRequest "
2235
+ }
2236
+ ],
2237
+ "fileUrlPath": "../../jira/shared/util-jira-v3-api/src/lib/issue-link.d.ts",
2238
+ "releaseTag": "Public",
2239
+ "name": "IssueLinkRequest",
2240
+ "preserveMemberOrder": false,
2241
+ "members": [
2242
+ {
2243
+ "kind": "PropertySignature",
2244
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IssueLinkRequest#comment:member",
2245
+ "docComment": "",
2246
+ "excerptTokens": [
2247
+ {
2248
+ "kind": "Content",
2249
+ "text": "comment?: "
2250
+ },
2251
+ {
2252
+ "kind": "Content",
2253
+ "text": "{\n body: "
2254
+ },
2255
+ {
2256
+ "kind": "Reference",
2257
+ "text": "AtlassianDocumentFormat",
2258
+ "canonicalReference": "@valiantys/atlassian-app-frontend!AtlassianDocumentFormat:interface"
2259
+ },
2260
+ {
2261
+ "kind": "Content",
2262
+ "text": ";\n }"
2263
+ },
2264
+ {
2265
+ "kind": "Content",
2266
+ "text": ";"
2267
+ }
2268
+ ],
2269
+ "isReadonly": false,
2270
+ "isOptional": true,
2271
+ "releaseTag": "Public",
2272
+ "name": "comment",
2273
+ "propertyTypeTokenRange": {
2274
+ "startIndex": 1,
2275
+ "endIndex": 4
2276
+ }
2277
+ },
2278
+ {
2279
+ "kind": "PropertySignature",
2280
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IssueLinkRequest#inwardIssue:member",
2281
+ "docComment": "",
2282
+ "excerptTokens": [
2283
+ {
2284
+ "kind": "Content",
2285
+ "text": "inwardIssue: "
2286
+ },
2287
+ {
2288
+ "kind": "Content",
2289
+ "text": "{\n id?: string;\n key?: string;\n }"
2290
+ },
2291
+ {
2292
+ "kind": "Content",
2293
+ "text": ";"
2294
+ }
2295
+ ],
2296
+ "isReadonly": false,
2297
+ "isOptional": false,
2298
+ "releaseTag": "Public",
2299
+ "name": "inwardIssue",
2300
+ "propertyTypeTokenRange": {
2301
+ "startIndex": 1,
2302
+ "endIndex": 2
2303
+ }
2304
+ },
2305
+ {
2306
+ "kind": "PropertySignature",
2307
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IssueLinkRequest#outwardIssue:member",
2308
+ "docComment": "",
2309
+ "excerptTokens": [
2310
+ {
2311
+ "kind": "Content",
2312
+ "text": "outwardIssue: "
2313
+ },
2314
+ {
2315
+ "kind": "Content",
2316
+ "text": "{\n id?: string;\n key?: string;\n }"
2317
+ },
2318
+ {
2319
+ "kind": "Content",
2320
+ "text": ";"
2321
+ }
2322
+ ],
2323
+ "isReadonly": false,
2324
+ "isOptional": false,
2325
+ "releaseTag": "Public",
2326
+ "name": "outwardIssue",
2327
+ "propertyTypeTokenRange": {
2328
+ "startIndex": 1,
2329
+ "endIndex": 2
2330
+ }
2331
+ },
2332
+ {
2333
+ "kind": "PropertySignature",
2334
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IssueLinkRequest#type:member",
2335
+ "docComment": "",
2336
+ "excerptTokens": [
2337
+ {
2338
+ "kind": "Content",
2339
+ "text": "type: "
2340
+ },
2341
+ {
2342
+ "kind": "Content",
2343
+ "text": "{\n id?: string;\n name?: string;\n }"
2344
+ },
2345
+ {
2346
+ "kind": "Content",
2347
+ "text": ";"
2348
+ }
2349
+ ],
2350
+ "isReadonly": false,
2351
+ "isOptional": false,
2352
+ "releaseTag": "Public",
2353
+ "name": "type",
2354
+ "propertyTypeTokenRange": {
2355
+ "startIndex": 1,
2356
+ "endIndex": 2
2357
+ }
2358
+ }
2359
+ ],
2360
+ "extendsTokenRanges": []
2361
+ },
2128
2362
  {
2129
2363
  "kind": "Interface",
2130
2364
  "canonicalReference": "@valiantys/atlassian-app-frontend!IssueStatus:interface",
@@ -2673,6 +2907,407 @@
2673
2907
  "endIndex": 4
2674
2908
  }
2675
2909
  },
2910
+ {
2911
+ "kind": "Interface",
2912
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JiraServerInfo:interface",
2913
+ "docComment": "",
2914
+ "excerptTokens": [
2915
+ {
2916
+ "kind": "Content",
2917
+ "text": "export interface JiraServerInfo "
2918
+ }
2919
+ ],
2920
+ "fileUrlPath": "../../jira/shared/util-jira-v3-api/src/lib/jira-server-info.d.ts",
2921
+ "releaseTag": "Public",
2922
+ "name": "JiraServerInfo",
2923
+ "preserveMemberOrder": false,
2924
+ "members": [
2925
+ {
2926
+ "kind": "PropertySignature",
2927
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JiraServerInfo#baseUrl:member",
2928
+ "docComment": "",
2929
+ "excerptTokens": [
2930
+ {
2931
+ "kind": "Content",
2932
+ "text": "baseUrl: "
2933
+ },
2934
+ {
2935
+ "kind": "Content",
2936
+ "text": "string"
2937
+ },
2938
+ {
2939
+ "kind": "Content",
2940
+ "text": ";"
2941
+ }
2942
+ ],
2943
+ "isReadonly": false,
2944
+ "isOptional": false,
2945
+ "releaseTag": "Public",
2946
+ "name": "baseUrl",
2947
+ "propertyTypeTokenRange": {
2948
+ "startIndex": 1,
2949
+ "endIndex": 2
2950
+ }
2951
+ },
2952
+ {
2953
+ "kind": "PropertySignature",
2954
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JiraServerInfo#buildDate:member",
2955
+ "docComment": "",
2956
+ "excerptTokens": [
2957
+ {
2958
+ "kind": "Content",
2959
+ "text": "buildDate: "
2960
+ },
2961
+ {
2962
+ "kind": "Content",
2963
+ "text": "string"
2964
+ },
2965
+ {
2966
+ "kind": "Content",
2967
+ "text": ";"
2968
+ }
2969
+ ],
2970
+ "isReadonly": false,
2971
+ "isOptional": false,
2972
+ "releaseTag": "Public",
2973
+ "name": "buildDate",
2974
+ "propertyTypeTokenRange": {
2975
+ "startIndex": 1,
2976
+ "endIndex": 2
2977
+ }
2978
+ },
2979
+ {
2980
+ "kind": "PropertySignature",
2981
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JiraServerInfo#buildNumber:member",
2982
+ "docComment": "",
2983
+ "excerptTokens": [
2984
+ {
2985
+ "kind": "Content",
2986
+ "text": "buildNumber: "
2987
+ },
2988
+ {
2989
+ "kind": "Content",
2990
+ "text": "number"
2991
+ },
2992
+ {
2993
+ "kind": "Content",
2994
+ "text": ";"
2995
+ }
2996
+ ],
2997
+ "isReadonly": false,
2998
+ "isOptional": false,
2999
+ "releaseTag": "Public",
3000
+ "name": "buildNumber",
3001
+ "propertyTypeTokenRange": {
3002
+ "startIndex": 1,
3003
+ "endIndex": 2
3004
+ }
3005
+ },
3006
+ {
3007
+ "kind": "PropertySignature",
3008
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JiraServerInfo#deploymentType:member",
3009
+ "docComment": "",
3010
+ "excerptTokens": [
3011
+ {
3012
+ "kind": "Content",
3013
+ "text": "deploymentType: "
3014
+ },
3015
+ {
3016
+ "kind": "Content",
3017
+ "text": "string"
3018
+ },
3019
+ {
3020
+ "kind": "Content",
3021
+ "text": ";"
3022
+ }
3023
+ ],
3024
+ "isReadonly": false,
3025
+ "isOptional": false,
3026
+ "releaseTag": "Public",
3027
+ "name": "deploymentType",
3028
+ "propertyTypeTokenRange": {
3029
+ "startIndex": 1,
3030
+ "endIndex": 2
3031
+ }
3032
+ },
3033
+ {
3034
+ "kind": "PropertySignature",
3035
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JiraServerInfo#displayUrl:member",
3036
+ "docComment": "",
3037
+ "excerptTokens": [
3038
+ {
3039
+ "kind": "Content",
3040
+ "text": "displayUrl: "
3041
+ },
3042
+ {
3043
+ "kind": "Content",
3044
+ "text": "string"
3045
+ },
3046
+ {
3047
+ "kind": "Content",
3048
+ "text": ";"
3049
+ }
3050
+ ],
3051
+ "isReadonly": false,
3052
+ "isOptional": false,
3053
+ "releaseTag": "Public",
3054
+ "name": "displayUrl",
3055
+ "propertyTypeTokenRange": {
3056
+ "startIndex": 1,
3057
+ "endIndex": 2
3058
+ }
3059
+ },
3060
+ {
3061
+ "kind": "PropertySignature",
3062
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JiraServerInfo#displayUrlConfluence:member",
3063
+ "docComment": "",
3064
+ "excerptTokens": [
3065
+ {
3066
+ "kind": "Content",
3067
+ "text": "displayUrlConfluence: "
3068
+ },
3069
+ {
3070
+ "kind": "Content",
3071
+ "text": "string"
3072
+ },
3073
+ {
3074
+ "kind": "Content",
3075
+ "text": ";"
3076
+ }
3077
+ ],
3078
+ "isReadonly": false,
3079
+ "isOptional": false,
3080
+ "releaseTag": "Public",
3081
+ "name": "displayUrlConfluence",
3082
+ "propertyTypeTokenRange": {
3083
+ "startIndex": 1,
3084
+ "endIndex": 2
3085
+ }
3086
+ },
3087
+ {
3088
+ "kind": "PropertySignature",
3089
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JiraServerInfo#displayUrlServicedeskHelpCenter:member",
3090
+ "docComment": "",
3091
+ "excerptTokens": [
3092
+ {
3093
+ "kind": "Content",
3094
+ "text": "displayUrlServicedeskHelpCenter: "
3095
+ },
3096
+ {
3097
+ "kind": "Content",
3098
+ "text": "string"
3099
+ },
3100
+ {
3101
+ "kind": "Content",
3102
+ "text": ";"
3103
+ }
3104
+ ],
3105
+ "isReadonly": false,
3106
+ "isOptional": false,
3107
+ "releaseTag": "Public",
3108
+ "name": "displayUrlServicedeskHelpCenter",
3109
+ "propertyTypeTokenRange": {
3110
+ "startIndex": 1,
3111
+ "endIndex": 2
3112
+ }
3113
+ },
3114
+ {
3115
+ "kind": "PropertySignature",
3116
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JiraServerInfo#healthChecks:member",
3117
+ "docComment": "",
3118
+ "excerptTokens": [
3119
+ {
3120
+ "kind": "Content",
3121
+ "text": "healthChecks: "
3122
+ },
3123
+ {
3124
+ "kind": "Reference",
3125
+ "text": "HealthCheckResult",
3126
+ "canonicalReference": "@valiantys/atlassian-app-frontend!HealthCheckResult:interface"
3127
+ },
3128
+ {
3129
+ "kind": "Content",
3130
+ "text": "[]"
3131
+ },
3132
+ {
3133
+ "kind": "Content",
3134
+ "text": ";"
3135
+ }
3136
+ ],
3137
+ "isReadonly": false,
3138
+ "isOptional": false,
3139
+ "releaseTag": "Public",
3140
+ "name": "healthChecks",
3141
+ "propertyTypeTokenRange": {
3142
+ "startIndex": 1,
3143
+ "endIndex": 3
3144
+ }
3145
+ },
3146
+ {
3147
+ "kind": "PropertySignature",
3148
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JiraServerInfo#scmInfo:member",
3149
+ "docComment": "",
3150
+ "excerptTokens": [
3151
+ {
3152
+ "kind": "Content",
3153
+ "text": "scmInfo: "
3154
+ },
3155
+ {
3156
+ "kind": "Content",
3157
+ "text": "string"
3158
+ },
3159
+ {
3160
+ "kind": "Content",
3161
+ "text": ";"
3162
+ }
3163
+ ],
3164
+ "isReadonly": false,
3165
+ "isOptional": false,
3166
+ "releaseTag": "Public",
3167
+ "name": "scmInfo",
3168
+ "propertyTypeTokenRange": {
3169
+ "startIndex": 1,
3170
+ "endIndex": 2
3171
+ }
3172
+ },
3173
+ {
3174
+ "kind": "PropertySignature",
3175
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JiraServerInfo#serverTime:member",
3176
+ "docComment": "",
3177
+ "excerptTokens": [
3178
+ {
3179
+ "kind": "Content",
3180
+ "text": "serverTime: "
3181
+ },
3182
+ {
3183
+ "kind": "Content",
3184
+ "text": "string"
3185
+ },
3186
+ {
3187
+ "kind": "Content",
3188
+ "text": ";"
3189
+ }
3190
+ ],
3191
+ "isReadonly": false,
3192
+ "isOptional": false,
3193
+ "releaseTag": "Public",
3194
+ "name": "serverTime",
3195
+ "propertyTypeTokenRange": {
3196
+ "startIndex": 1,
3197
+ "endIndex": 2
3198
+ }
3199
+ },
3200
+ {
3201
+ "kind": "PropertySignature",
3202
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JiraServerInfo#serverTimeZone:member",
3203
+ "docComment": "",
3204
+ "excerptTokens": [
3205
+ {
3206
+ "kind": "Content",
3207
+ "text": "serverTimeZone: "
3208
+ },
3209
+ {
3210
+ "kind": "Content",
3211
+ "text": "string"
3212
+ },
3213
+ {
3214
+ "kind": "Content",
3215
+ "text": ";"
3216
+ }
3217
+ ],
3218
+ "isReadonly": false,
3219
+ "isOptional": false,
3220
+ "releaseTag": "Public",
3221
+ "name": "serverTimeZone",
3222
+ "propertyTypeTokenRange": {
3223
+ "startIndex": 1,
3224
+ "endIndex": 2
3225
+ }
3226
+ },
3227
+ {
3228
+ "kind": "PropertySignature",
3229
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JiraServerInfo#serverTitle:member",
3230
+ "docComment": "",
3231
+ "excerptTokens": [
3232
+ {
3233
+ "kind": "Content",
3234
+ "text": "serverTitle: "
3235
+ },
3236
+ {
3237
+ "kind": "Content",
3238
+ "text": "string"
3239
+ },
3240
+ {
3241
+ "kind": "Content",
3242
+ "text": ";"
3243
+ }
3244
+ ],
3245
+ "isReadonly": false,
3246
+ "isOptional": false,
3247
+ "releaseTag": "Public",
3248
+ "name": "serverTitle",
3249
+ "propertyTypeTokenRange": {
3250
+ "startIndex": 1,
3251
+ "endIndex": 2
3252
+ }
3253
+ },
3254
+ {
3255
+ "kind": "PropertySignature",
3256
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JiraServerInfo#version:member",
3257
+ "docComment": "",
3258
+ "excerptTokens": [
3259
+ {
3260
+ "kind": "Content",
3261
+ "text": "version: "
3262
+ },
3263
+ {
3264
+ "kind": "Content",
3265
+ "text": "string"
3266
+ },
3267
+ {
3268
+ "kind": "Content",
3269
+ "text": ";"
3270
+ }
3271
+ ],
3272
+ "isReadonly": false,
3273
+ "isOptional": false,
3274
+ "releaseTag": "Public",
3275
+ "name": "version",
3276
+ "propertyTypeTokenRange": {
3277
+ "startIndex": 1,
3278
+ "endIndex": 2
3279
+ }
3280
+ },
3281
+ {
3282
+ "kind": "PropertySignature",
3283
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JiraServerInfo#versionNumbers:member",
3284
+ "docComment": "",
3285
+ "excerptTokens": [
3286
+ {
3287
+ "kind": "Content",
3288
+ "text": "versionNumbers: "
3289
+ },
3290
+ {
3291
+ "kind": "Content",
3292
+ "text": "number[]"
3293
+ },
3294
+ {
3295
+ "kind": "Content",
3296
+ "text": ";"
3297
+ }
3298
+ ],
3299
+ "isReadonly": false,
3300
+ "isOptional": false,
3301
+ "releaseTag": "Public",
3302
+ "name": "versionNumbers",
3303
+ "propertyTypeTokenRange": {
3304
+ "startIndex": 1,
3305
+ "endIndex": 2
3306
+ }
3307
+ }
3308
+ ],
3309
+ "extendsTokenRanges": []
3310
+ },
2676
3311
  {
2677
3312
  "kind": "TypeAlias",
2678
3313
  "canonicalReference": "@valiantys/atlassian-app-frontend!Precomputation:type",
@@ -121,6 +121,16 @@ export type FixVersions = {
121
121
  self: string;
122
122
  }[];
123
123
 
124
+ // @public (undocumented)
125
+ export interface HealthCheckResult {
126
+ // (undocumented)
127
+ description: string;
128
+ // (undocumented)
129
+ name: string;
130
+ // (undocumented)
131
+ passed: boolean;
132
+ }
133
+
124
134
  // @public (undocumented)
125
135
  export interface HistoryMetadata {
126
136
  // (undocumented)
@@ -206,6 +216,29 @@ export interface IssueLink {
206
216
  outwardIssue?: Issue;
207
217
  }
208
218
 
219
+ // @public (undocumented)
220
+ export interface IssueLinkRequest {
221
+ // (undocumented)
222
+ comment?: {
223
+ body: AtlassianDocumentFormat;
224
+ };
225
+ // (undocumented)
226
+ inwardIssue: {
227
+ id?: string;
228
+ key?: string;
229
+ };
230
+ // (undocumented)
231
+ outwardIssue: {
232
+ id?: string;
233
+ key?: string;
234
+ };
235
+ // (undocumented)
236
+ type: {
237
+ id?: string;
238
+ name?: string;
239
+ };
240
+ }
241
+
209
242
  // @public (undocumented)
210
243
  export interface IssueStatus {
211
244
  // (undocumented)
@@ -266,6 +299,38 @@ export type JiraCommentResponse = {
266
299
  total: number;
267
300
  };
268
301
 
302
+ // @public (undocumented)
303
+ export interface JiraServerInfo {
304
+ // (undocumented)
305
+ baseUrl: string;
306
+ // (undocumented)
307
+ buildDate: string;
308
+ // (undocumented)
309
+ buildNumber: number;
310
+ // (undocumented)
311
+ deploymentType: string;
312
+ // (undocumented)
313
+ displayUrl: string;
314
+ // (undocumented)
315
+ displayUrlConfluence: string;
316
+ // (undocumented)
317
+ displayUrlServicedeskHelpCenter: string;
318
+ // (undocumented)
319
+ healthChecks: HealthCheckResult[];
320
+ // (undocumented)
321
+ scmInfo: string;
322
+ // (undocumented)
323
+ serverTime: string;
324
+ // (undocumented)
325
+ serverTimeZone: string;
326
+ // (undocumented)
327
+ serverTitle: string;
328
+ // (undocumented)
329
+ version: string;
330
+ // (undocumented)
331
+ versionNumbers: number[];
332
+ }
333
+
269
334
  // @public (undocumented)
270
335
  export type Precomputation = {
271
336
  id: string;
@@ -77,6 +77,12 @@ export declare type FixVersions = {
77
77
  self: string;
78
78
  }[];
79
79
 
80
+ export declare interface HealthCheckResult {
81
+ description: string;
82
+ name: string;
83
+ passed: boolean;
84
+ }
85
+
80
86
  export declare interface HistoryMetadata {
81
87
  activityDescription?: string;
82
88
  activityDescriptionKey?: string;
@@ -130,6 +136,24 @@ export declare interface IssueLink {
130
136
  inwardIssue?: Issue;
131
137
  }
132
138
 
139
+ export declare interface IssueLinkRequest {
140
+ inwardIssue: {
141
+ id?: string;
142
+ key?: string;
143
+ };
144
+ outwardIssue: {
145
+ id?: string;
146
+ key?: string;
147
+ };
148
+ comment?: {
149
+ body: AtlassianDocumentFormat;
150
+ };
151
+ type: {
152
+ id?: string;
153
+ name?: string;
154
+ };
155
+ }
156
+
133
157
  export declare interface IssueStatus {
134
158
  self: string;
135
159
  description: string;
@@ -169,6 +193,23 @@ export declare type JiraCommentResponse = {
169
193
  total: number;
170
194
  };
171
195
 
196
+ export declare interface JiraServerInfo {
197
+ baseUrl: string;
198
+ buildDate: string;
199
+ buildNumber: number;
200
+ deploymentType: string;
201
+ displayUrl: string;
202
+ displayUrlConfluence: string;
203
+ displayUrlServicedeskHelpCenter: string;
204
+ healthChecks: HealthCheckResult[];
205
+ scmInfo: string;
206
+ serverTime: string;
207
+ serverTimeZone: string;
208
+ serverTitle: string;
209
+ version: string;
210
+ versionNumbers: number[];
211
+ }
212
+
172
213
  export declare type Precomputation = {
173
214
  id: string;
174
215
  value: string;