@forge/cli-shared 3.2.3-next.3 → 3.3.0-next.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 (35) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/out/apps/create-app-graphql-client.d.ts.map +1 -1
  3. package/out/apps/create-app-graphql-client.js +1 -1
  4. package/out/auth/personal/credential-store.d.ts +2 -1
  5. package/out/auth/personal/credential-store.d.ts.map +1 -1
  6. package/out/auth/personal/credential-store.js +1 -1
  7. package/out/auth/personal/me-graphql-client.d.ts +2 -1
  8. package/out/auth/personal/me-graphql-client.d.ts.map +1 -1
  9. package/out/auth/personal/me-graphql-client.js +2 -1
  10. package/out/config/config-file.d.ts.map +1 -1
  11. package/out/config/config-file.js +3 -2
  12. package/out/graphql/get-mutation-error.d.ts +1 -0
  13. package/out/graphql/get-mutation-error.d.ts.map +1 -1
  14. package/out/graphql/get-mutation-error.js +3 -2
  15. package/out/graphql/graphql-types.d.ts +221 -4
  16. package/out/graphql/graphql-types.d.ts.map +1 -1
  17. package/out/graphql/graphql-types.js +15 -3
  18. package/out/graphql/minimal-graphql-runner.d.ts +7 -4
  19. package/out/graphql/minimal-graphql-runner.d.ts.map +1 -1
  20. package/out/graphql/minimal-graphql-runner.js +11 -5
  21. package/out/graphql/mutation-aware-graphql-client.d.ts +6 -2
  22. package/out/graphql/mutation-aware-graphql-client.d.ts.map +1 -1
  23. package/out/graphql/mutation-aware-graphql-client.js +10 -2
  24. package/out/shared/error-handling.d.ts +13 -1
  25. package/out/shared/error-handling.d.ts.map +1 -1
  26. package/out/shared/error-handling.js +22 -2
  27. package/out/shared/installationId.js +2 -2
  28. package/out/shared/validate.js +2 -2
  29. package/out/ui/index.d.ts +0 -1
  30. package/out/ui/index.d.ts.map +1 -1
  31. package/out/ui/index.js +0 -1
  32. package/package.json +2 -2
  33. package/out/ui/validation-error.d.ts +0 -3
  34. package/out/ui/validation-error.d.ts.map +0 -1
  35. package/out/ui/validation-error.js +0 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 3.3.0-next.0
4
+
5
+ ### Minor Changes
6
+
7
+ - c6e4bec0: Error handling changes in forge CLI to track user realted errors for analytics
8
+
9
+ ## 3.2.3
10
+
11
+ ### Patch Changes
12
+
13
+ - 8e2a5a6: Update node-fetch version
14
+ - Updated dependencies [be216ec]
15
+ - Updated dependencies [34d81d4]
16
+ - Updated dependencies [72f098e]
17
+ - Updated dependencies [8e2a5a6]
18
+ - @forge/manifest@4.5.0
19
+
3
20
  ## 3.2.3-next.3
4
21
 
5
22
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"create-app-graphql-client.d.ts","sourceRoot":"","sources":["../../src/apps/create-app-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,aAAa,EAA+C,MAAM,YAAY,CAAC;AAGlG,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAEvE,qBAAa,oBAAqB,SAAQ,KAAK;CAAG;AAElD,qBAAa,sBAAuB,YAAW,eAAe;IAChD,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,aAAa;IAE5C,SAAS,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;CAsCrE"}
1
+ {"version":3,"file":"create-app-graphql-client.d.ts","sourceRoot":"","sources":["../../src/apps/create-app-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,aAAa,EAA+C,MAAM,YAAY,CAAC;AAGlG,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAEvE,qBAAa,oBAAqB,SAAQ,KAAK;CAAG;AAElD,qBAAa,sBAAuB,YAAW,eAAe;IAChD,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,aAAa;IAE5C,SAAS,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;CA0CrE"}
@@ -32,7 +32,7 @@ class CreateAppGraphQLClient {
32
32
  });
33
33
  const error = (0, graphql_1.getError)(errors);
34
34
  if (!success) {
35
- throw new graphql_1.GraphQlMutationError(`${error.message} (requestId: ${requestId || 'unknown'})`, error.code);
35
+ throw new graphql_1.GraphQlMutationError(`${error.message} (requestId: ${requestId || 'unknown'})`, error.code, error.statusCode);
36
36
  }
37
37
  if (!app) {
38
38
  throw new CannotCreateAppError(ui_1.Text.create.error.app.creation);
@@ -1,6 +1,7 @@
1
1
  import * as t from 'io-ts';
2
2
  import { Logger } from '../../ui';
3
3
  import { CachedConf } from '../../cache';
4
+ import { UserError } from '../../shared';
4
5
  export declare const EMAIL_KEY = "FORGE_EMAIL";
5
6
  export declare const API_TOKEN_KEY = "FORGE_API_TOKEN";
6
7
  export interface Keytar {
@@ -19,7 +20,7 @@ export declare const personalApiCredentialsValidatedShape: t.TypeC<{
19
20
  }>;
20
21
  export declare type PersonalApiCredentials = t.TypeOf<typeof personalApiCredentialsShape>;
21
22
  export declare type PersonalApiCredentialsValidated = t.TypeOf<typeof personalApiCredentialsValidatedShape>;
22
- export declare class NoTokenInStoreError extends Error {
23
+ export declare class NoTokenInStoreError extends UserError {
23
24
  constructor();
24
25
  }
25
26
  export interface CredentialGetter {
@@ -1 +1 @@
1
- {"version":3,"file":"credential-store.d.ts","sourceRoot":"","sources":["../../../src/auth/personal/credential-store.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,MAAM,EAAQ,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAKzC,eAAO,MAAM,SAAS,gBAAgB,CAAC;AACvC,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAa/C,MAAM,WAAW,MAAM;IACrB,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,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CAAC;IAYxC,0BAA0B,IAAI,MAAM;CAMrC;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe,CAKlE"}
@@ -39,7 +39,7 @@ exports.personalApiCredentialsValidatedShape = t.type({
39
39
  token: t.string,
40
40
  accountId: t.string
41
41
  });
42
- class NoTokenInStoreError extends Error {
42
+ class NoTokenInStoreError extends shared_1.UserError {
43
43
  constructor() {
44
44
  super(ui_1.Text.error.noTokenStored);
45
45
  }
@@ -1,6 +1,7 @@
1
1
  import { GraphQLClient, User } from '../../graphql';
2
+ import { UserError } from '../../shared';
2
3
  import { Logger } from '../../ui';
3
- export declare class UserNotFoundError extends Error {
4
+ export declare class UserNotFoundError extends UserError {
4
5
  }
5
6
  export declare class MeGraphqlClient {
6
7
  private readonly graphqlClient;
@@ -1 +1 @@
1
- {"version":3,"file":"me-graphql-client.d.ts","sourceRoot":"","sources":["../../../src/auth/personal/me-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAgB,MAAM,EAAE,MAAM,UAAU,CAAC;AAEhD,qBAAa,iBAAkB,SAAQ,KAAK;CAAG;AAE/C,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,aAAa;IAAiB,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAArD,aAAa,EAAE,aAAa,EAAmB,MAAM,EAAE,MAAM;IAE7E,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAwBtC"}
1
+ {"version":3,"file":"me-graphql-client.d.ts","sourceRoot":"","sources":["../../../src/auth/personal/me-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAgB,MAAM,EAAE,MAAM,UAAU,CAAC;AAEhD,qBAAa,iBAAkB,SAAQ,SAAS;CAAG;AAEnD,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,aAAa;IAAiB,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAArD,aAAa,EAAE,aAAa,EAAmB,MAAM,EAAE,MAAM;IAE7E,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAwBtC"}
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MeGraphqlClient = exports.UserNotFoundError = void 0;
4
+ const shared_1 = require("../../shared");
4
5
  const ui_1 = require("../../ui");
5
- class UserNotFoundError extends Error {
6
+ class UserNotFoundError extends shared_1.UserError {
6
7
  }
7
8
  exports.UserNotFoundError = UserNotFoundError;
8
9
  class MeGraphqlClient {
@@ -1 +1 @@
1
- {"version":3,"file":"config-file.d.ts","sourceRoot":"","sources":["../../src/config/config-file.ts"],"names":[],"mappings":"AAAA,OAAa,EAAwB,QAAQ,EAAE,MAAM,MAAM,CAAC;AAI5D,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGpE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAoB,MAAM,IAAI,CAAC;AAGlE,OAAO,EAEL,cAAc,EACd,SAAS,EAOV,MAAM,qCAAqC,CAAC;AAE7C,qBAAa,8BAA+B,SAAQ,KAAK;gBAC3C,SAAS,EAAE,MAAM,EAAE;CAGhC;AAED,MAAM,WAAW,gBAAgB;IAC/B,cAAc,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IACzC,gBAAgB,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;CACtC;AAED,oBAAY,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AACpC,oBAAY,YAAY,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;AAC/D,MAAM,WAAW,eAAgB,SAAQ,QAAQ;IAC/C,YAAY,EAAE,YAAY,CAAC;CAC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AS,MAAM,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAe1G,OAAO,CAAC,wBAAwB;IAKhC,OAAO,CAAC,wBAAwB;IAShC,OAAO,CAAC,6BAA6B;IAYrC,OAAO,CAAC,gBAAgB;IAIX,oBAAoB,IAAI,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;KAAE,EAAE,CAAC;IAoClF,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAe1E,YAAY,IAAI,OAAO,CAAC,eAAe,EAAE,CAAC;IAgB1C,aAAa,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAKzD,OAAO,CAAC,eAAe;CAcxB"}
@@ -9,6 +9,7 @@ const _1 = require("./");
9
9
  const case_1 = tslib_1.__importDefault(require("case"));
10
10
  const config_1 = require("./config");
11
11
  const url_1 = require("url");
12
+ const shared_1 = require("../shared");
12
13
  class ResourceDefinitionMissingError extends Error {
13
14
  constructor(resources) {
14
15
  super(ui_1.Text.error.resourceDefinitionMissing(resources));
@@ -36,7 +37,7 @@ class ConfigFile {
36
37
  return (0, yaml_1.parse)(manifestFileContents);
37
38
  }
38
39
  catch (_a) {
39
- throw new ui_1.ValidationError(ui_1.Text.artifact.error.invalidYaml(_1.manifestFileName));
40
+ throw new shared_1.ValidationError(ui_1.Text.artifact.error.invalidYaml(_1.manifestFileName));
40
41
  }
41
42
  }
42
43
  async readConfigToDocument() {
@@ -46,7 +47,7 @@ class ConfigFile {
46
47
  return (0, yaml_1.parseDocument)(manifestFileContents);
47
48
  }
48
49
  catch (_a) {
49
- throw new ui_1.ValidationError(ui_1.Text.artifact.error.invalidYaml(_1.manifestFileName));
50
+ throw new shared_1.ValidationError(ui_1.Text.artifact.error.invalidYaml(_1.manifestFileName));
50
51
  }
51
52
  }
52
53
  }
@@ -2,5 +2,6 @@ import { Maybe, MutationError } from './graphql-types';
2
2
  export declare function getError(errors: Maybe<MutationError[]> | undefined): {
3
3
  code: string | undefined;
4
4
  message: string | undefined;
5
+ statusCode: number | undefined;
5
6
  };
6
7
  //# sourceMappingURL=get-mutation-error.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-mutation-error.d.ts","sourceRoot":"","sources":["../../src/graphql/get-mutation-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEvD,wBAAgB,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,aAAa,EAAE,CAAC,GAAG,SAAS;;;EAOlE"}
1
+ {"version":3,"file":"get-mutation-error.d.ts","sourceRoot":"","sources":["../../src/graphql/get-mutation-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEvD,wBAAgB,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,aAAa,EAAE,CAAC,GAAG,SAAS;;;;EAQlE"}
@@ -2,11 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getError = void 0;
4
4
  function getError(errors) {
5
- var _a;
5
+ var _a, _b;
6
6
  const error = errors === null || errors === void 0 ? void 0 : errors[0];
7
7
  return {
8
8
  code: ((_a = error === null || error === void 0 ? void 0 : error.extensions) === null || _a === void 0 ? void 0 : _a.errorType) || undefined,
9
- message: (error === null || error === void 0 ? void 0 : error.message) || undefined
9
+ message: (error === null || error === void 0 ? void 0 : error.message) || undefined,
10
+ statusCode: ((_b = error === null || error === void 0 ? void 0 : error.extensions) === null || _b === void 0 ? void 0 : _b.statusCode) || undefined
10
11
  };
11
12
  }
12
13
  exports.getError = getError;
@@ -324,7 +324,8 @@ export declare enum ApiGroup {
324
324
  DevopsAriGraph = "DEVOPS_ARI_GRAPH",
325
325
  Help = "HELP",
326
326
  VirtualAgent = "VIRTUAL_AGENT",
327
- CollaborationGraph = "COLLABORATION_GRAPH"
327
+ CollaborationGraph = "COLLABORATION_GRAPH",
328
+ DevopsThirdParty = "DEVOPS_THIRD_PARTY"
328
329
  }
329
330
  export declare type App = {
330
331
  __typename?: 'App';
@@ -984,7 +985,7 @@ export declare type AriGraphRelationshipNode = {
984
985
  id: Scalars['ID'];
985
986
  data?: Maybe<AriGraphRelationshipNodeData>;
986
987
  };
987
- export declare type AriGraphRelationshipNodeData = DeploymentSummary | ConfluencePage | ConfluenceSpace | DevOpsPullRequestDetails | JiraIssue;
988
+ export declare type AriGraphRelationshipNodeData = DeploymentSummary | ConfluencePage | ConfluenceSpace | ThirdPartySecurityWorkspace | ThirdPartySecurityContainer | DevOpsPullRequestDetails | JiraIssue;
988
989
  export declare type AriGraphRelationshipsErrorReference = {
989
990
  __typename?: 'AriGraphRelationshipsErrorReference';
990
991
  from?: Maybe<Scalars['ID']>;
@@ -5665,6 +5666,7 @@ export declare type DevOps = {
5665
5666
  summarisedEntities?: Maybe<Array<Maybe<DevOpsSummarisedEntities>>>;
5666
5667
  dataDepotProviders?: Maybe<DevOpsDataDepotProviders>;
5667
5668
  ariGraph?: Maybe<AriGraph>;
5669
+ toolchain?: Maybe<Toolchain>;
5668
5670
  };
5669
5671
  export declare type DevOpsEntitiesByAssociationsArgs = {
5670
5672
  ids: Array<Scalars['ID']>;
@@ -6871,6 +6873,7 @@ export declare type ExtensionContext = {
6871
6873
  __typename?: 'ExtensionContext';
6872
6874
  id: Scalars['ID'];
6873
6875
  extensionsByType: Array<Extension>;
6876
+ installationsSummary?: Maybe<Array<InstallationSummary>>;
6874
6877
  appAuditLogs: AppAuditConnection;
6875
6878
  installations?: Maybe<AppInstallationConnection>;
6876
6879
  };
@@ -7587,6 +7590,30 @@ export declare type InstallationContextWithLogAccess = {
7587
7590
  installationContext: Scalars['ID'];
7588
7591
  tenantContext?: Maybe<TenantContext>;
7589
7592
  };
7593
+ export declare type InstallationSummary = {
7594
+ __typename?: 'InstallationSummary';
7595
+ licenseId?: Maybe<Scalars['String']>;
7596
+ app: InstallationSummaryApp;
7597
+ };
7598
+ export declare type InstallationSummaryApp = {
7599
+ __typename?: 'InstallationSummaryApp';
7600
+ id?: Maybe<Scalars['ID']>;
7601
+ name?: Maybe<Scalars['String']>;
7602
+ description?: Maybe<Scalars['String']>;
7603
+ environment: InstallationSummaryAppEnvironment;
7604
+ };
7605
+ export declare type InstallationSummaryAppEnvironment = {
7606
+ __typename?: 'InstallationSummaryAppEnvironment';
7607
+ id?: Maybe<Scalars['ID']>;
7608
+ key?: Maybe<Scalars['String']>;
7609
+ type?: Maybe<Scalars['String']>;
7610
+ version: InstallationSummaryAppEnvironmentVersion;
7611
+ };
7612
+ export declare type InstallationSummaryAppEnvironmentVersion = {
7613
+ __typename?: 'InstallationSummaryAppEnvironmentVersion';
7614
+ id?: Maybe<Scalars['ID']>;
7615
+ version?: Maybe<Scalars['String']>;
7616
+ };
7590
7617
  export declare type InstallationsListFilterByAppEnvironments = {
7591
7618
  types: Array<AppEnvironmentType>;
7592
7619
  };
@@ -9344,6 +9371,11 @@ export declare type JiraHierarchyConfigError = {
9344
9371
  code?: Maybe<Scalars['String']>;
9345
9372
  message?: Maybe<Scalars['String']>;
9346
9373
  };
9374
+ export declare type JiraHierarchyConfigTask = {
9375
+ __typename?: 'JiraHierarchyConfigTask';
9376
+ taskProgress?: Maybe<JiraLongRunningTaskProgress>;
9377
+ errors?: Maybe<Array<JiraHierarchyConfigError>>;
9378
+ };
9347
9379
  export declare enum JiraInstallDeploymentsBannerPrecondition {
9348
9380
  NotAvailable = "NOT_AVAILABLE",
9349
9381
  FeatureNotEnabled = "FEATURE_NOT_ENABLED",
@@ -10595,6 +10627,24 @@ export declare type JiraLabelsFieldPayload = Payload & {
10595
10627
  errors?: Maybe<Array<MutationError>>;
10596
10628
  field?: Maybe<JiraLabelsField>;
10597
10629
  };
10630
+ export declare type JiraLongRunningTaskProgress = {
10631
+ __typename?: 'JiraLongRunningTaskProgress';
10632
+ description?: Maybe<Scalars['String']>;
10633
+ message?: Maybe<Scalars['String']>;
10634
+ status: JiraLongRunningTaskStatus;
10635
+ progress: Scalars['Long'];
10636
+ startTime?: Maybe<Scalars['DateTime']>;
10637
+ result?: Maybe<Scalars['String']>;
10638
+ };
10639
+ export declare enum JiraLongRunningTaskStatus {
10640
+ Enqueued = "ENQUEUED",
10641
+ Running = "RUNNING",
10642
+ Complete = "COMPLETE",
10643
+ Failed = "FAILED",
10644
+ CancelRequested = "CANCEL_REQUESTED",
10645
+ Cancelled = "CANCELLED",
10646
+ Dead = "DEAD"
10647
+ }
10598
10648
  export declare type JiraMediaContext = {
10599
10649
  __typename?: 'JiraMediaContext';
10600
10650
  uploadToken?: Maybe<JiraMediaUploadTokenResult>;
@@ -11371,6 +11421,8 @@ export declare type JiraProject = Node & {
11371
11421
  isFavourite?: Maybe<Scalars['Boolean']>;
11372
11422
  devOpsToolRelationships?: Maybe<JiraProjectAndDevOpsToolRelationshipConnection>;
11373
11423
  devOpsEntityRelationships?: Maybe<AriGraphRelationshipConnection>;
11424
+ linkedSecurityContainers?: Maybe<AriGraphRelationshipConnection>;
11425
+ linkedSecurityVulnerabilities?: Maybe<AriGraphRelationshipConnection>;
11374
11426
  repositoryRelationships?: Maybe<JiraProjectAndRepositoryRelationshipConnection>;
11375
11427
  devOpsServiceRelationships?: Maybe<DevOpsServiceAndJiraProjectRelationshipConnection>;
11376
11428
  opsgenieTeamRelationships?: Maybe<JiraProjectAndOpsgenieTeamRelationshipConnection>;
@@ -11394,6 +11446,16 @@ export declare type JiraProjectDevOpsEntityRelationshipsArgs = {
11394
11446
  after?: Maybe<Scalars['String']>;
11395
11447
  sort?: Maybe<AriGraphRelationshipsSort>;
11396
11448
  };
11449
+ export declare type JiraProjectLinkedSecurityContainersArgs = {
11450
+ first?: Maybe<Scalars['Int']>;
11451
+ after?: Maybe<Scalars['String']>;
11452
+ type?: Maybe<Scalars['String']>;
11453
+ };
11454
+ export declare type JiraProjectLinkedSecurityVulnerabilitiesArgs = {
11455
+ first?: Maybe<Scalars['Int']>;
11456
+ after?: Maybe<Scalars['String']>;
11457
+ type?: Maybe<Scalars['String']>;
11458
+ };
11397
11459
  export declare type JiraProjectRepositoryRelationshipsArgs = {
11398
11460
  first?: Maybe<Scalars['Int']>;
11399
11461
  after?: Maybe<Scalars['String']>;
@@ -11735,6 +11797,7 @@ export declare type JiraQuery = {
11735
11797
  issueHierarchyConfig?: Maybe<JiraIssueHierarchyConfigurationQuery>;
11736
11798
  issueHierarchyLimits?: Maybe<JiraIssueHierarchyLimits>;
11737
11799
  lockedIssueTypeIds?: Maybe<Array<Scalars['ID']>>;
11800
+ issueHierarchyConfigUpdateTask?: Maybe<JiraHierarchyConfigTask>;
11738
11801
  jiraProjects?: Maybe<Array<Maybe<JiraProject>>>;
11739
11802
  jiraProjectByKey?: Maybe<JiraProject>;
11740
11803
  version?: Maybe<JiraVersionResult>;
@@ -11885,6 +11948,9 @@ export declare type JiraQueryIssueHierarchyLimitsArgs = {
11885
11948
  export declare type JiraQueryLockedIssueTypeIdsArgs = {
11886
11949
  cloudId: Scalars['ID'];
11887
11950
  };
11951
+ export declare type JiraQueryIssueHierarchyConfigUpdateTaskArgs = {
11952
+ cloudId: Scalars['ID'];
11953
+ };
11888
11954
  export declare type JiraQueryJiraProjectsArgs = {
11889
11955
  ids: Array<Scalars['ID']>;
11890
11956
  };
@@ -13405,6 +13471,7 @@ export declare type JiraVersion = Node & {
13405
13471
  project?: Maybe<JiraProject>;
13406
13472
  canEdit?: Maybe<Scalars['Boolean']>;
13407
13473
  canAddAndRemoveIssues?: Maybe<Scalars['Boolean']>;
13474
+ canViewDevTools?: Maybe<Scalars['Boolean']>;
13408
13475
  releaseNotesOptionsIssueTypes?: Maybe<JiraIssueTypeConnection>;
13409
13476
  releaseNotesOptionsIssueFields?: Maybe<JiraIssueFieldConnection>;
13410
13477
  nativeReleaseNotesOptionsIssueFields?: Maybe<JiraIssueFieldConnection>;
@@ -13879,6 +13946,7 @@ export declare type MarketplaceAppWatchersInfo = {
13879
13946
  watchersCount: Scalars['Int'];
13880
13947
  };
13881
13948
  export declare type MarketplaceAppsFilter = {
13949
+ includePrivate?: Maybe<Scalars['Boolean']>;
13882
13950
  productHostingOptions?: Maybe<Array<AtlassianProductHostingType>>;
13883
13951
  cloudFortifiedStatus?: Maybe<Array<MarketplaceProgramStatus>>;
13884
13952
  };
@@ -14142,6 +14210,10 @@ export declare type MercuryAddGoalsToStrategyInput = {
14142
14210
  strategyId: Scalars['ID'];
14143
14211
  goals?: Maybe<Array<MercuryLinkGoalInput>>;
14144
14212
  };
14213
+ export declare type MercuryAllocateTeamCapacityInput = {
14214
+ teamAllocationId: Scalars['ID'];
14215
+ teamAllocationEntries: Array<Maybe<MercuryTeamAllocationEntryInput>>;
14216
+ };
14145
14217
  export declare type MercuryAtlasGoal = Node & {
14146
14218
  __typename?: 'MercuryAtlasGoal';
14147
14219
  id: Scalars['ID'];
@@ -14165,6 +14237,10 @@ export declare type MercuryCreateStrategyInput = {
14165
14237
  contentId?: Maybe<Scalars['String']>;
14166
14238
  spaceKey?: Maybe<Scalars['String']>;
14167
14239
  };
14240
+ export declare type MercuryCreateTeamAllocationInput = {
14241
+ teamId: Scalars['ID'];
14242
+ teamAllocationEntries: Array<Maybe<MercuryTeamAllocationEntryInput>>;
14243
+ };
14168
14244
  export declare type MercuryCreateTeamInput = {
14169
14245
  name: Scalars['String'];
14170
14246
  teamsServiceTeamId: Scalars['ID'];
@@ -14176,6 +14252,9 @@ export declare type MercuryDeleteJobFunctionInput = {
14176
14252
  export declare type MercuryDeleteStrategyInput = {
14177
14253
  strategyId: Scalars['ID'];
14178
14254
  };
14255
+ export declare type MercuryDeleteTeamAllocationInput = {
14256
+ id: Scalars['ID'];
14257
+ };
14179
14258
  export declare type MercuryDeleteTeamInput = {
14180
14259
  teamId: Scalars['ID'];
14181
14260
  };
@@ -14237,6 +14316,9 @@ export declare type MercuryMutationApi = {
14237
14316
  createTeam?: Maybe<MercuryTeamMutationPayload>;
14238
14317
  updateTeam?: Maybe<MercuryTeamMutationPayload>;
14239
14318
  deleteTeam?: Maybe<MercuryTeamDeletePayload>;
14319
+ createTeamAllocation?: Maybe<MercuryTeamAllocationMutationPayload>;
14320
+ deleteTeamAllocation?: Maybe<MercuryTeamAllocationDeletePayload>;
14321
+ allocateTeamCapacity?: Maybe<MercuryTeamAllocationMutationPayload>;
14240
14322
  };
14241
14323
  export declare type MercuryMutationApiCreateStrategyArgs = {
14242
14324
  input: MercuryCreateStrategyInput;
@@ -14271,6 +14353,15 @@ export declare type MercuryMutationApiUpdateTeamArgs = {
14271
14353
  export declare type MercuryMutationApiDeleteTeamArgs = {
14272
14354
  input: MercuryDeleteTeamInput;
14273
14355
  };
14356
+ export declare type MercuryMutationApiCreateTeamAllocationArgs = {
14357
+ input?: Maybe<MercuryCreateTeamAllocationInput>;
14358
+ };
14359
+ export declare type MercuryMutationApiDeleteTeamAllocationArgs = {
14360
+ input?: Maybe<MercuryDeleteTeamAllocationInput>;
14361
+ };
14362
+ export declare type MercuryMutationApiAllocateTeamCapacityArgs = {
14363
+ input?: Maybe<MercuryAllocateTeamCapacityInput>;
14364
+ };
14274
14365
  export declare type MercuryQueryApi = {
14275
14366
  __typename?: 'MercuryQueryApi';
14276
14367
  strategies?: Maybe<MercuryStrategyConnection>;
@@ -14282,6 +14373,7 @@ export declare type MercuryQueryApi = {
14282
14373
  team?: Maybe<MercuryTeam>;
14283
14374
  initiative?: Maybe<MercuryInitiative>;
14284
14375
  initiatives?: Maybe<MercuryInitiativeConnection>;
14376
+ teamAllocation?: Maybe<MercuryTeamAllocation>;
14285
14377
  };
14286
14378
  export declare type MercuryQueryApiStrategiesArgs = {
14287
14379
  first?: Maybe<Scalars['Int']>;
@@ -14311,6 +14403,9 @@ export declare type MercuryQueryApiInitiativesArgs = {
14311
14403
  first?: Maybe<Scalars['Int']>;
14312
14404
  after?: Maybe<Scalars['String']>;
14313
14405
  };
14406
+ export declare type MercuryQueryApiTeamAllocationArgs = {
14407
+ teamId: Scalars['ID'];
14408
+ };
14314
14409
  export declare type MercuryRemoveGoalsFromStrategyInput = {
14315
14410
  strategyId: Scalars['ID'];
14316
14411
  goals?: Maybe<Array<MercuryLinkGoalInput>>;
@@ -14358,6 +14453,39 @@ export declare type MercuryTeam = Node & {
14358
14453
  name: Scalars['String'];
14359
14454
  active?: Maybe<Scalars['Boolean']>;
14360
14455
  };
14456
+ export declare type MercuryTeamAllocation = {
14457
+ __typename?: 'MercuryTeamAllocation';
14458
+ id: Scalars['ID'];
14459
+ teamId: Scalars['ID'];
14460
+ teamAllocationEntries: Array<Maybe<MercuryTeamAllocationEntry>>;
14461
+ };
14462
+ export declare type MercuryTeamAllocationDeletePayload = Payload & {
14463
+ __typename?: 'MercuryTeamAllocationDeletePayload';
14464
+ deletedTeamAllocationId?: Maybe<Scalars['ID']>;
14465
+ success: Scalars['Boolean'];
14466
+ errors?: Maybe<Array<MutationError>>;
14467
+ statusCode: Scalars['Int'];
14468
+ message: Scalars['String'];
14469
+ };
14470
+ export declare type MercuryTeamAllocationEntry = {
14471
+ __typename?: 'MercuryTeamAllocationEntry';
14472
+ initiativeId: Scalars['String'];
14473
+ craftTypeId: Scalars['ID'];
14474
+ value?: Maybe<Scalars['Float']>;
14475
+ };
14476
+ export declare type MercuryTeamAllocationEntryInput = {
14477
+ initiativeId: Scalars['String'];
14478
+ craftTypeId: Scalars['ID'];
14479
+ value?: Maybe<Scalars['Float']>;
14480
+ };
14481
+ export declare type MercuryTeamAllocationMutationPayload = Payload & {
14482
+ __typename?: 'MercuryTeamAllocationMutationPayload';
14483
+ teamAllocation: MercuryTeamAllocation;
14484
+ success: Scalars['Boolean'];
14485
+ errors?: Maybe<Array<MutationError>>;
14486
+ statusCode: Scalars['Int'];
14487
+ message: Scalars['String'];
14488
+ };
14361
14489
  export declare type MercuryTeamConnection = {
14362
14490
  __typename?: 'MercuryTeamConnection';
14363
14491
  edges?: Maybe<Array<Maybe<MercuryTeamEdge>>>;
@@ -18018,6 +18146,20 @@ export declare type SearchSpace = {
18018
18146
  key: Scalars['String'];
18019
18147
  iconUrl: Scalars['URL'];
18020
18148
  };
18149
+ export declare type SecurityContainer = {
18150
+ name: Scalars['String'];
18151
+ url?: Maybe<Scalars['URL']>;
18152
+ icon?: Maybe<Scalars['URL']>;
18153
+ providerName?: Maybe<Scalars['String']>;
18154
+ lastUpdated?: Maybe<Scalars['DateTime']>;
18155
+ };
18156
+ export declare type SecurityWorkspace = {
18157
+ name: Scalars['String'];
18158
+ url?: Maybe<Scalars['URL']>;
18159
+ icon?: Maybe<Scalars['URL']>;
18160
+ providerName?: Maybe<Scalars['String']>;
18161
+ lastUpdated?: Maybe<Scalars['DateTime']>;
18162
+ };
18021
18163
  export declare type SetAppEnvironmentVariableInput = {
18022
18164
  environment: AppEnvironmentInput;
18023
18165
  environmentVariable: AppEnvironmentVariableInput;
@@ -18139,6 +18281,16 @@ export declare enum ShepherdActionType {
18139
18281
  Read = "READ",
18140
18282
  Update = "UPDATE"
18141
18283
  }
18284
+ export declare type ShepherdActivity = ShepherdResourceActivity;
18285
+ export declare type ShepherdActivityConnection = {
18286
+ __typename?: 'ShepherdActivityConnection';
18287
+ edges?: Maybe<Array<Maybe<ShepherdActivityEdge>>>;
18288
+ pageInfo: PageInfo;
18289
+ };
18290
+ export declare type ShepherdActivityEdge = {
18291
+ __typename?: 'ShepherdActivityEdge';
18292
+ node?: Maybe<ShepherdActivity>;
18293
+ };
18142
18294
  export declare type ShepherdActivityHighlight = {
18143
18295
  __typename?: 'ShepherdActivityHighlight';
18144
18296
  action?: Maybe<ShepherdActionType>;
@@ -18152,6 +18304,7 @@ export declare type ShepherdActivityHighlightInput = {
18152
18304
  subject?: Maybe<ShepherdSubjectInput>;
18153
18305
  time: ShepherdTimeInput;
18154
18306
  };
18307
+ export declare type ShepherdActivityResult = QueryError | ShepherdActivityConnection;
18155
18308
  export declare type ShepherdAlert = Node & {
18156
18309
  __typename?: 'ShepherdAlert';
18157
18310
  assignee?: Maybe<ShepherdUser>;
@@ -18199,6 +18352,7 @@ export declare enum ShepherdAlertTemplateType {
18199
18352
  ConfluencePageExports = "CONFLUENCE_PAGE_EXPORTS",
18200
18353
  ConfluenceSpaceExports = "CONFLUENCE_SPACE_EXPORTS",
18201
18354
  CreatedAuthPolicy = "CREATED_AUTH_POLICY",
18355
+ CreatedInstallation = "CREATED_INSTALLATION",
18202
18356
  CreatedPolicy = "CREATED_POLICY",
18203
18357
  CreatedSamlConfig = "CREATED_SAML_CONFIG",
18204
18358
  CreatedTunnel = "CREATED_TUNNEL",
@@ -18242,7 +18396,7 @@ export declare type ShepherdCreateAlertInput = {
18242
18396
  assignee?: Maybe<Scalars['ID']>;
18243
18397
  cloudId?: Maybe<Scalars['ID']>;
18244
18398
  highlight?: Maybe<ShepherdHighlightInput>;
18245
- orgId: Scalars['ID'];
18399
+ orgId?: Maybe<Scalars['ID']>;
18246
18400
  status?: Maybe<ShepherdAlertStatus>;
18247
18401
  template?: Maybe<ShepherdAlertTemplateType>;
18248
18402
  title: Scalars['String'];
@@ -18258,7 +18412,8 @@ export declare type ShepherdCreateEmailInput = {
18258
18412
  status?: Maybe<ShepherdSubscriptionStatus>;
18259
18413
  };
18260
18414
  export declare type ShepherdCreateExampleAlertInput = {
18261
- orgId: Scalars['ID'];
18415
+ cloudId?: Maybe<Scalars['ID']>;
18416
+ orgId?: Maybe<Scalars['ID']>;
18262
18417
  };
18263
18418
  export declare type ShepherdCreateExampleAlertPayload = Payload & {
18264
18419
  __typename?: 'ShepherdCreateExampleAlertPayload';
@@ -18391,6 +18546,7 @@ export declare type ShepherdOrganization = {
18391
18546
  export declare type ShepherdOrganizationResult = QueryError | ShepherdOrganization;
18392
18547
  export declare type ShepherdQuery = {
18393
18548
  __typename?: 'ShepherdQuery';
18549
+ shepherdActivity?: Maybe<ShepherdActivityResult>;
18394
18550
  shepherdAlert?: Maybe<ShepherdAlertResult>;
18395
18551
  shepherdAlerts?: Maybe<ShepherdAlertsResult>;
18396
18552
  shepherdAppInfo: ShepherdAppInfo;
@@ -18399,6 +18555,15 @@ export declare type ShepherdQuery = {
18399
18555
  shepherdSubscriptions?: Maybe<ShepherdSubscriptionsResult>;
18400
18556
  shepherdUser?: Maybe<ShepherdUser>;
18401
18557
  };
18558
+ export declare type ShepherdQueryShepherdActivityArgs = {
18559
+ actions?: Maybe<Array<Maybe<ShepherdActionType>>>;
18560
+ actor?: Maybe<Scalars['ID']>;
18561
+ after?: Maybe<Scalars['String']>;
18562
+ endTime?: Maybe<Scalars['DateTime']>;
18563
+ first: Scalars['Int'];
18564
+ startTime?: Maybe<Scalars['DateTime']>;
18565
+ subject?: Maybe<ShepherdSubjectInput>;
18566
+ };
18402
18567
  export declare type ShepherdQueryShepherdAlertArgs = {
18403
18568
  id: Scalars['ID'];
18404
18569
  };
@@ -18419,6 +18584,14 @@ export declare enum ShepherdQueryErrorType {
18419
18584
  NoProductAccess = "NO_PRODUCT_ACCESS",
18420
18585
  Unauthorized = "UNAUTHORIZED"
18421
18586
  }
18587
+ export declare type ShepherdResourceActivity = {
18588
+ __typename?: 'ShepherdResourceActivity';
18589
+ action: ShepherdActionType;
18590
+ actor: ShepherdUser;
18591
+ id?: Maybe<Scalars['String']>;
18592
+ resourceAri: Scalars['String'];
18593
+ time: Scalars['DateTime'];
18594
+ };
18422
18595
  export declare type ShepherdSlackEdge = ShepherdSubscriptionEdge & {
18423
18596
  __typename?: 'ShepherdSlackEdge';
18424
18597
  cursor?: Maybe<Scalars['String']>;
@@ -19406,6 +19579,24 @@ export declare type ThirdPartyRepositoryInput = {
19406
19579
  name?: Maybe<Scalars['String']>;
19407
19580
  avatar?: Maybe<AvatarInput>;
19408
19581
  };
19582
+ export declare type ThirdPartySecurityContainer = SecurityContainer & Node & {
19583
+ __typename?: 'ThirdPartySecurityContainer';
19584
+ id: Scalars['ID'];
19585
+ name: Scalars['String'];
19586
+ url?: Maybe<Scalars['URL']>;
19587
+ icon?: Maybe<Scalars['URL']>;
19588
+ providerName?: Maybe<Scalars['String']>;
19589
+ lastUpdated?: Maybe<Scalars['DateTime']>;
19590
+ };
19591
+ export declare type ThirdPartySecurityWorkspace = SecurityWorkspace & Node & {
19592
+ __typename?: 'ThirdPartySecurityWorkspace';
19593
+ id: Scalars['ID'];
19594
+ name: Scalars['String'];
19595
+ url?: Maybe<Scalars['URL']>;
19596
+ icon?: Maybe<Scalars['URL']>;
19597
+ providerName?: Maybe<Scalars['String']>;
19598
+ lastUpdated?: Maybe<Scalars['DateTime']>;
19599
+ };
19409
19600
  export declare type TimeSeriesPoint = {
19410
19601
  __typename?: 'TimeSeriesPoint';
19411
19602
  id: Scalars['ID'];
@@ -19424,6 +19615,32 @@ export declare type ToggleBoardFeatureOutput = MutationResponse & {
19424
19615
  message: Scalars['String'];
19425
19616
  clientMutationId?: Maybe<Scalars['ID']>;
19426
19617
  };
19618
+ export declare type Toolchain = {
19619
+ __typename?: 'Toolchain';
19620
+ containers?: Maybe<ToolchainContainerConnection>;
19621
+ };
19622
+ export declare type ToolchainContainersArgs = {
19623
+ workspaceId: Scalars['ID'];
19624
+ query?: Maybe<Scalars['String']>;
19625
+ first?: Maybe<Scalars['Int']>;
19626
+ after?: Maybe<Scalars['String']>;
19627
+ };
19628
+ export declare type ToolchainContainer = Node & {
19629
+ __typename?: 'ToolchainContainer';
19630
+ id: Scalars['ID'];
19631
+ name: Scalars['String'];
19632
+ };
19633
+ export declare type ToolchainContainerConnection = {
19634
+ __typename?: 'ToolchainContainerConnection';
19635
+ edges?: Maybe<Array<Maybe<ToolchainContainerEdge>>>;
19636
+ nodes?: Maybe<Array<Maybe<ToolchainContainer>>>;
19637
+ pageInfo: PageInfo;
19638
+ };
19639
+ export declare type ToolchainContainerEdge = {
19640
+ __typename?: 'ToolchainContainerEdge';
19641
+ cursor: Scalars['String'];
19642
+ node?: Maybe<ToolchainContainer>;
19643
+ };
19427
19644
  export declare type TownsquareComment = Node & {
19428
19645
  __typename?: 'TownsquareComment';
19429
19646
  creator?: Maybe<User>;