@forge/cli-shared 2.1.5-next.7 → 2.1.6-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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,52 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 2.1.6-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 2338be5: Handle the manifest case of remotes found in the egress permissions section when installing an app
8
+
9
+ ## 2.1.5
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [4de9850]
14
+ - Updated dependencies [70e9c8c]
15
+ - Updated dependencies [fde4ba7]
16
+ - Updated dependencies [601527b]
17
+ - Updated dependencies [755e35e]
18
+ - Updated dependencies [a5656f6]
19
+ - Updated dependencies [cc8799c]
20
+ - Updated dependencies [f5eb8e0]
21
+ - Updated dependencies [f013199]
22
+ - Updated dependencies [78d682f]
23
+ - Updated dependencies [70e9c8c]
24
+ - Updated dependencies [dec8066]
25
+ - Updated dependencies [0e82242]
26
+ - @forge/manifest@2.5.0
27
+
28
+ ## 2.1.5-next.10
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies [fde4ba7]
33
+ - @forge/manifest@2.5.0-next.10
34
+
35
+ ## 2.1.5-next.9
36
+
37
+ ### Patch Changes
38
+
39
+ - Updated dependencies [601527b]
40
+ - @forge/manifest@2.5.0-next.9
41
+
42
+ ## 2.1.5-next.8
43
+
44
+ ### Patch Changes
45
+
46
+ - Updated dependencies [a5656f6]
47
+ - Updated dependencies [78d682f]
48
+ - @forge/manifest@2.5.0-next.8
49
+
3
50
  ## 2.1.5-next.7
4
51
 
5
52
  ### Patch Changes
@@ -1,7 +1,7 @@
1
1
  import { Document } from 'yaml';
2
2
  import { FileSystemReader, FileSystemWriter } from '../file-system';
3
3
  import { ConfigReader, ConfigWriter } from './';
4
- import { ManifestSchema, Resources } from '@forge/manifest';
4
+ import { ManifestSchema, Resources } from '@forge/manifest/out/schema/manifest';
5
5
  export declare class ResourceDefinitionMissingError extends Error {
6
6
  constructor(resources: string[]);
7
7
  }
@@ -27,6 +27,8 @@ export declare class ConfigFile implements ConfigReader, ConfigWriter, ConfigInt
27
27
  writeToConfigFile<K extends string, V>(configKey: K, config: V): Promise<void>;
28
28
  private getHostedResourceKeys;
29
29
  private findMissingResources;
30
+ private getRemoteFromEgressPermission;
31
+ private instanceOfRemote;
30
32
  getEgressPermissions(): Promise<{
31
33
  type: string;
32
34
  domains: string[] | undefined;
@@ -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,EAAW,cAAc,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGrE,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,SAAS,CAAC;AAClD,MAAM,WAAW,eAAgB,SAAQ,QAAQ;IAC/C,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED,qBAAa,UAAW,YAAW,YAAY,EAAE,YAAY,EAAE,gBAAgB;IACjE,OAAO,CAAC,QAAQ,CAAC,UAAU;IAAoB,OAAO,CAAC,QAAQ,CAAC,UAAU;gBAAzD,UAAU,EAAE,gBAAgB,EAAmB,UAAU,EAAE,gBAAgB;I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AAE,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;IA0B1C,aAAa,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;CAI1D"}
@@ -112,8 +112,22 @@ class ConfigFile {
112
112
  const missing = resourceKeys.filter((resourceKey) => !resources.some(({ key }) => resourceKey === key));
113
113
  return missing;
114
114
  }
115
+ getRemoteFromEgressPermission(remoteEgressPermission, remotes) {
116
+ if (!remotes) {
117
+ return remoteEgressPermission;
118
+ }
119
+ for (const remote of remotes) {
120
+ if (remote.key === remoteEgressPermission) {
121
+ return new url_1.URL(remote.baseUrl).hostname;
122
+ }
123
+ }
124
+ return remoteEgressPermission;
125
+ }
126
+ instanceOfRemote(remote) {
127
+ return typeof remote !== 'string' && 'remote' in remote;
128
+ }
115
129
  async getEgressPermissions() {
116
- const { permissions } = await this.readConfig();
130
+ const { permissions, remotes } = await this.readConfig();
117
131
  const egressPermissions = permissions === null || permissions === void 0 ? void 0 : permissions.external;
118
132
  if (!egressPermissions) {
119
133
  return [];
@@ -126,9 +140,11 @@ class ConfigFile {
126
140
  return ({
127
141
  type: typePrefix ? `${typePrefix}_${entry[0]}` : entry[0],
128
142
  domains: (_a = entry[1]) === null || _a === void 0 ? void 0 : _a.map((url) => {
129
- let domain = url;
143
+ let domain = this.instanceOfRemote(url) ? url.remote : url;
130
144
  try {
131
- domain = new url_1.URL(url).hostname;
145
+ domain = this.instanceOfRemote(url)
146
+ ? this.getRemoteFromEgressPermission(url.remote, remotes)
147
+ : new url_1.URL(url).hostname;
132
148
  }
133
149
  catch (e) {
134
150
  }
@@ -137,9 +153,7 @@ class ConfigFile {
137
153
  });
138
154
  });
139
155
  const egressUrls = getDomainsFromPermissions(otherEgress);
140
- const fetchUrls = fetchEgress
141
- ? getDomainsFromPermissions(fetchEgress, 'fetch')
142
- : [];
156
+ const fetchUrls = fetchEgress ? getDomainsFromPermissions(fetchEgress, 'fetch') : [];
143
157
  return [...egressUrls, ...fetchUrls];
144
158
  }
145
159
  async getAuthProviders() {
@@ -1192,19 +1192,6 @@ export declare type CfdIssueColumnChangeEntry = {
1192
1192
  statusTo?: Maybe<Scalars['ID']>;
1193
1193
  point?: Maybe<TimeSeriesPoint>;
1194
1194
  };
1195
- export declare type CardCoverImageVisibilityToggleInput = {
1196
- boardAri: Scalars['ID'];
1197
- isVisible: Scalars['Boolean'];
1198
- };
1199
- export declare type CardCoverImageVisibilityToggleOutput = {
1200
- __typename?: 'CardCoverImageVisibilityToggleOutput';
1201
- boardAri: Scalars['ID'];
1202
- isVisible: Scalars['Boolean'];
1203
- statusCode: Scalars['Int'];
1204
- success: Scalars['Boolean'];
1205
- message: Scalars['String'];
1206
- clientMutationId?: Maybe<Scalars['ID']>;
1207
- };
1208
1195
  export declare type CardCoverMedia = {
1209
1196
  __typename?: 'CardCoverMedia';
1210
1197
  attachmentMediaApiId?: Maybe<Scalars['ID']>;
@@ -1709,6 +1696,7 @@ export declare type CompassCreateMetricDefinitionInput = {
1709
1696
  cloudId: Scalars['ID'];
1710
1697
  name: Scalars['String'];
1711
1698
  description?: Maybe<Scalars['String']>;
1699
+ format?: Maybe<CompassMetricDefinitionFormatInput>;
1712
1700
  };
1713
1701
  export declare type CompassCreateMetricDefinitionPayload = Payload & {
1714
1702
  __typename?: 'CompassCreateMetricDefinitionPayload';
@@ -1960,7 +1948,8 @@ export declare type CompassHasMetricValueScorecardCriteria = CompassScorecardCri
1960
1948
  id: Scalars['ID'];
1961
1949
  weight: Scalars['Int'];
1962
1950
  comparatorValue: Scalars['Float'];
1963
- metricDefinitionName: Scalars['String'];
1951
+ metricDefinitionId: Scalars['ID'];
1952
+ metricDefinitionName?: Maybe<Scalars['String']>;
1964
1953
  comparator: CompassCriteriaNumberComparatorOptions;
1965
1954
  scorecardCriteriaScore?: Maybe<CompassScorecardCriteriaScore>;
1966
1955
  };
@@ -2007,12 +1996,24 @@ export declare type CompassMetricDefinition = {
2007
1996
  id: Scalars['ID'];
2008
1997
  name?: Maybe<Scalars['String']>;
2009
1998
  description?: Maybe<Scalars['String']>;
1999
+ format?: Maybe<CompassMetricDefinitionFormat>;
2010
2000
  };
2011
2001
  export declare type CompassMetricDefinitionEdge = {
2012
2002
  __typename?: 'CompassMetricDefinitionEdge';
2013
2003
  cursor: Scalars['String'];
2014
2004
  node?: Maybe<CompassMetricDefinition>;
2015
2005
  };
2006
+ export declare type CompassMetricDefinitionFormat = CompassMetricDefinitionFormatSuffix;
2007
+ export declare type CompassMetricDefinitionFormatInput = {
2008
+ suffix?: Maybe<CompassMetricDefinitionFormatSuffixInput>;
2009
+ };
2010
+ export declare type CompassMetricDefinitionFormatSuffix = {
2011
+ __typename?: 'CompassMetricDefinitionFormatSuffix';
2012
+ suffix?: Maybe<Scalars['String']>;
2013
+ };
2014
+ export declare type CompassMetricDefinitionFormatSuffixInput = {
2015
+ suffix: Scalars['String'];
2016
+ };
2016
2017
  export declare type CompassMetricDefinitionsConnection = {
2017
2018
  __typename?: 'CompassMetricDefinitionsConnection';
2018
2019
  edges?: Maybe<Array<CompassMetricDefinitionEdge>>;
@@ -2023,7 +2024,6 @@ export declare type CompassMetricDefinitionsQuery = {
2023
2024
  cloudId: Scalars['ID'];
2024
2025
  first?: Maybe<Scalars['Int']>;
2025
2026
  after?: Maybe<Scalars['String']>;
2026
- names?: Maybe<Array<Scalars['String']>>;
2027
2027
  };
2028
2028
  export declare type CompassMetricDefinitionsQueryResult = CompassMetricDefinitionsConnection | QueryError;
2029
2029
  export declare type CompassMetricSource = {
@@ -2315,6 +2315,7 @@ export declare type CompassUpdateMetricDefinitionInput = {
2315
2315
  id: Scalars['ID'];
2316
2316
  name?: Maybe<Scalars['String']>;
2317
2317
  description?: Maybe<Scalars['String']>;
2318
+ format?: Maybe<CompassMetricDefinitionFormatInput>;
2318
2319
  };
2319
2320
  export declare type CompassUpdateMetricDefinitionPayload = Payload & {
2320
2321
  __typename?: 'CompassUpdateMetricDefinitionPayload';
@@ -2687,7 +2688,8 @@ export declare type CreateCompassHasLinkScorecardCriteriaInput = {
2687
2688
  };
2688
2689
  export declare type CreateCompassHasMetricValueCriteriaInput = {
2689
2690
  weight: Scalars['Int'];
2690
- metricDefinitionName: Scalars['String'];
2691
+ metricDefinitionId: Scalars['ID'];
2692
+ metricDefinitionName?: Maybe<Scalars['String']>;
2691
2693
  comparatorValue: Scalars['Float'];
2692
2694
  comparator: CompassCriteriaNumberComparatorOptions;
2693
2695
  };
@@ -4119,6 +4121,7 @@ export declare type EventSource = {
4119
4121
  id: Scalars['ID'];
4120
4122
  externalEventSourceId: Scalars['ID'];
4121
4123
  eventType: CompassEventType;
4124
+ forgeAppId?: Maybe<Scalars['ID']>;
4122
4125
  };
4123
4126
  export declare type Extension = {
4124
4127
  __typename?: 'Extension';
@@ -8041,7 +8044,8 @@ export declare type JiraServiceManagementRespondersFieldRespondersConnectionArgs
8041
8044
  };
8042
8045
  export declare type JiraServiceManagementTeamResponder = {
8043
8046
  __typename?: 'JiraServiceManagementTeamResponder';
8044
- team?: Maybe<OpsgenieTeam>;
8047
+ teamId?: Maybe<Scalars['String']>;
8048
+ teamName?: Maybe<Scalars['String']>;
8045
8049
  };
8046
8050
  export declare type JiraServiceManagementUserApproverPrincipal = {
8047
8051
  __typename?: 'JiraServiceManagementUserApproverPrincipal';
@@ -8948,6 +8952,7 @@ export declare type MoveSprintUpResponse = MutationResponse & {
8948
8952
  export declare type Mutation = {
8949
8953
  __typename?: 'Mutation';
8950
8954
  customerSupport?: Maybe<SupportRequestCatalogMutationApi>;
8955
+ shepherd?: Maybe<ShepherdMutation>;
8951
8956
  createApp?: Maybe<CreateAppResponse>;
8952
8957
  updateAppDetails?: Maybe<UpdateAppDetailsResponse>;
8953
8958
  deleteApp?: Maybe<DeleteAppResponse>;
@@ -8977,7 +8982,7 @@ export declare type Mutation = {
8977
8982
  unassignIssueParent?: Maybe<UnassignIssueParentOutput>;
8978
8983
  createCardParent?: Maybe<CardParentCreateOutput>;
8979
8984
  rankCardParent?: Maybe<GenericMutationResponse>;
8980
- setCardCoverImageVisibility?: Maybe<CardCoverImageVisibilityToggleOutput>;
8985
+ setIssueMediaVisibility?: Maybe<SetIssueMediaVisibilityOutput>;
8981
8986
  createDevOpsServiceAndOpsgenieTeamRelationship?: Maybe<CreateDevOpsServiceAndOpsgenieTeamRelationshipPayload>;
8982
8987
  updateDevOpsServiceAndOpsgenieTeamRelationship?: Maybe<UpdateDevOpsServiceAndOpsgenieTeamRelationshipPayload>;
8983
8988
  deleteDevOpsServiceAndOpsgenieTeamRelationship?: Maybe<DeleteDevOpsServiceAndOpsgenieTeamRelationshipPayload>;
@@ -9152,8 +9157,8 @@ export declare type MutationCreateCardParentArgs = {
9152
9157
  export declare type MutationRankCardParentArgs = {
9153
9158
  input: CardParentRankInput;
9154
9159
  };
9155
- export declare type MutationSetCardCoverImageVisibilityArgs = {
9156
- input?: Maybe<CardCoverImageVisibilityToggleInput>;
9160
+ export declare type MutationSetIssueMediaVisibilityArgs = {
9161
+ input?: Maybe<SetIssueMediaVisibilityInput>;
9157
9162
  };
9158
9163
  export declare type MutationCreateDevOpsServiceAndOpsgenieTeamRelationshipArgs = {
9159
9164
  input: CreateDevOpsServiceAndOpsgenieTeamRelationshipInput;
@@ -10198,6 +10203,15 @@ export declare type PolarisIssueLinkType = {
10198
10203
  merge: Scalars['Int'];
10199
10204
  datapoint: Scalars['Int'];
10200
10205
  };
10206
+ export declare type PolarisMatrixAxis = {
10207
+ __typename?: 'PolarisMatrixAxis';
10208
+ dimension?: Maybe<Scalars['String']>;
10209
+ field?: Maybe<PolarisIdeaField>;
10210
+ };
10211
+ export declare type PolarisMatrixConfig = {
10212
+ __typename?: 'PolarisMatrixConfig';
10213
+ axes?: Maybe<Array<PolarisMatrixAxis>>;
10214
+ };
10201
10215
  export declare type PolarisPlay = {
10202
10216
  __typename?: 'PolarisPlay';
10203
10217
  id: Scalars['ID'];
@@ -10380,6 +10394,17 @@ export declare type PolarisTermsConsent = {
10380
10394
  requiresMarketingConsent: Scalars['Boolean'];
10381
10395
  locale: Scalars['String'];
10382
10396
  };
10397
+ export declare type PolarisTimelineConfig = {
10398
+ __typename?: 'PolarisTimelineConfig';
10399
+ startDateField?: Maybe<PolarisIdeaField>;
10400
+ dueDateField?: Maybe<PolarisIdeaField>;
10401
+ mode?: Maybe<PolarisTimelineMode>;
10402
+ };
10403
+ export declare enum PolarisTimelineMode {
10404
+ Months = "MONTHS",
10405
+ Quarters = "QUARTERS",
10406
+ Years = "YEARS"
10407
+ }
10383
10408
  export declare type PolarisValueDecoration = {
10384
10409
  __typename?: 'PolarisValueDecoration';
10385
10410
  emoji?: Maybe<Scalars['String']>;
@@ -10411,6 +10436,7 @@ export declare type PolarisView = {
10411
10436
  __typename?: 'PolarisView';
10412
10437
  id: Scalars['ID'];
10413
10438
  name: Scalars['String'];
10439
+ emoji?: Maybe<Scalars['String']>;
10414
10440
  description?: Maybe<Scalars['JSON']>;
10415
10441
  projectId: Scalars['Int'];
10416
10442
  viewSetId: Scalars['ID'];
@@ -10421,12 +10447,12 @@ export declare type PolarisView = {
10421
10447
  visualizationType: PolarisVisualizationType;
10422
10448
  groupBy?: Maybe<PolarisIdeaField>;
10423
10449
  verticalGroupBy?: Maybe<PolarisIdeaField>;
10424
- x?: Maybe<PolarisIdeaField>;
10425
- y?: Maybe<PolarisIdeaField>;
10426
10450
  groupValues?: Maybe<Array<PolarisGroupValue>>;
10427
10451
  verticalGroupValues?: Maybe<Array<PolarisGroupValue>>;
10428
10452
  sort?: Maybe<Array<PolarisSortField>>;
10429
10453
  hidden?: Maybe<Array<PolarisIdeaField>>;
10454
+ timelineConfig?: Maybe<PolarisTimelineConfig>;
10455
+ matrixConfig?: Maybe<PolarisMatrixConfig>;
10430
10456
  userJql?: Maybe<Scalars['String']>;
10431
10457
  filter?: Maybe<Array<PolarisViewFilter>>;
10432
10458
  rank: Scalars['Int'];
@@ -10513,7 +10539,9 @@ export declare type PolarisViewTableColumnSizeInput = {
10513
10539
  export declare enum PolarisVisualizationType {
10514
10540
  Table = "TABLE",
10515
10541
  Board = "BOARD",
10516
- Twoxtwo = "TWOXTWO"
10542
+ Twoxtwo = "TWOXTWO",
10543
+ Matrix = "MATRIX",
10544
+ Timeline = "TIMELINE"
10517
10545
  }
10518
10546
  export declare type ProjectAvatars = {
10519
10547
  __typename?: 'ProjectAvatars';
@@ -10527,6 +10555,7 @@ export declare type Query = {
10527
10555
  customerSupport?: Maybe<SupportRequestCatalogQueryApi>;
10528
10556
  echo?: Maybe<Scalars['String']>;
10529
10557
  diagnostics?: Maybe<Scalars['JSON']>;
10558
+ node?: Maybe<Node>;
10530
10559
  confluence?: Maybe<ConfluenceQueryApi>;
10531
10560
  activities?: Maybe<Activities>;
10532
10561
  devOpsMetrics?: Maybe<DevOpsMetrics>;
@@ -10534,6 +10563,7 @@ export declare type Query = {
10534
10563
  repositoryRelationshipsForJiraProject?: Maybe<JiraProjectAndRepositoryRelationshipConnection>;
10535
10564
  jiraProjectAndRepositoryRelationship?: Maybe<JiraProjectAndRepositoryRelationship>;
10536
10565
  bitbucket?: Maybe<BitbucketQuery>;
10566
+ shepherd?: Maybe<ShepherdQuery>;
10537
10567
  opsgenie?: Maybe<OpsgenieQuery>;
10538
10568
  apps?: Maybe<AppConnection>;
10539
10569
  app?: Maybe<App>;
@@ -10568,7 +10598,6 @@ export declare type Query = {
10568
10598
  jira?: Maybe<JiraQuery>;
10569
10599
  appLogs?: Maybe<AppLogConnection>;
10570
10600
  appLogLines?: Maybe<AppLogLineConnection>;
10571
- node?: Maybe<Node>;
10572
10601
  developerLogAccess?: Maybe<Array<Maybe<DeveloperLogAccessResult>>>;
10573
10602
  installationContextsWithLogAccess?: Maybe<Array<InstallationContextWithLogAccess>>;
10574
10603
  roadmaps?: Maybe<RoadmapsQuery>;
@@ -10613,6 +10642,9 @@ export declare type Query = {
10613
10642
  extensionContexts?: Maybe<Array<ExtensionContext>>;
10614
10643
  extensionByKey?: Maybe<Extension>;
10615
10644
  };
10645
+ export declare type QueryNodeArgs = {
10646
+ id: Scalars['ID'];
10647
+ };
10616
10648
  export declare type QueryJiraProjectRelationshipsForRepositoryArgs = {
10617
10649
  id: Scalars['ID'];
10618
10650
  cloudId: Scalars['ID'];
@@ -10753,9 +10785,6 @@ export declare type QueryAppLogLinesArgs = {
10753
10785
  after?: Maybe<Scalars['String']>;
10754
10786
  invocation: Scalars['ID'];
10755
10787
  };
10756
- export declare type QueryNodeArgs = {
10757
- id: Scalars['ID'];
10758
- };
10759
10788
  export declare type QueryDeveloperLogAccessArgs = {
10760
10789
  contextIds: Array<Scalars['ID']>;
10761
10790
  appId: Scalars['ID'];
@@ -11438,6 +11467,18 @@ export declare type SetExternalAuthCredentialsPayload = Payload & {
11438
11467
  success: Scalars['Boolean'];
11439
11468
  errors?: Maybe<Array<MutationError>>;
11440
11469
  };
11470
+ export declare type SetIssueMediaVisibilityInput = {
11471
+ boardId: Scalars['ID'];
11472
+ isVisible?: Maybe<Scalars['Boolean']>;
11473
+ };
11474
+ export declare type SetIssueMediaVisibilityOutput = MutationResponse & {
11475
+ __typename?: 'SetIssueMediaVisibilityOutput';
11476
+ boardScope?: Maybe<BoardScope>;
11477
+ statusCode: Scalars['Int'];
11478
+ success: Scalars['Boolean'];
11479
+ message: Scalars['String'];
11480
+ clientMutationId?: Maybe<Scalars['ID']>;
11481
+ };
11441
11482
  export declare type SetPolarisProjectOnboardedInput = {
11442
11483
  projectId: Scalars['ID'];
11443
11484
  value: Scalars['Boolean'];
@@ -11478,6 +11519,81 @@ export declare type SetSwimlaneStrategyResponse = MutationResponse & {
11478
11519
  success: Scalars['Boolean'];
11479
11520
  message: Scalars['String'];
11480
11521
  };
11522
+ export declare type ShepherdAlert = {
11523
+ __typename?: 'ShepherdAlert';
11524
+ cloudId?: Maybe<Scalars['ID']>;
11525
+ createdOn: Scalars['DateTime'];
11526
+ id: Scalars['ID'];
11527
+ orgId: Scalars['ID'];
11528
+ status: ShepherdAlertStatus;
11529
+ title: Scalars['String'];
11530
+ updatedOn?: Maybe<Scalars['DateTime']>;
11531
+ };
11532
+ export declare enum ShepherdAlertSeverity {
11533
+ Critical = "CRITICAL",
11534
+ High = "HIGH",
11535
+ Low = "LOW",
11536
+ Medium = "MEDIUM"
11537
+ }
11538
+ export declare enum ShepherdAlertStatus {
11539
+ InProgress = "IN_PROGRESS",
11540
+ Triaged = "TRIAGED",
11541
+ Untriaged = "UNTRIAGED"
11542
+ }
11543
+ export declare type ShepherdAppInfo = {
11544
+ __typename?: 'ShepherdAppInfo';
11545
+ apiVersion: Scalars['Int'];
11546
+ };
11547
+ export declare type ShepherdCreateAlertInput = {
11548
+ cloudId?: Maybe<Scalars['ID']>;
11549
+ orgId: Scalars['ID'];
11550
+ status?: Maybe<ShepherdAlertStatus>;
11551
+ title: Scalars['String'];
11552
+ };
11553
+ export declare type ShepherdCreateAlertPayload = Payload & {
11554
+ __typename?: 'ShepherdCreateAlertPayload';
11555
+ errors?: Maybe<Array<MutationError>>;
11556
+ node?: Maybe<ShepherdAlert>;
11557
+ success: Scalars['Boolean'];
11558
+ };
11559
+ export declare type ShepherdMutation = {
11560
+ __typename?: 'ShepherdMutation';
11561
+ createAlert?: Maybe<ShepherdCreateAlertPayload>;
11562
+ updateAlert?: Maybe<ShepherdUpdateAlertPayload>;
11563
+ };
11564
+ export declare type ShepherdMutationCreateAlertArgs = {
11565
+ input: ShepherdCreateAlertInput;
11566
+ };
11567
+ export declare type ShepherdMutationUpdateAlertArgs = {
11568
+ id: Scalars['ID'];
11569
+ input: ShepherdUpdateAlertInput;
11570
+ };
11571
+ export declare type ShepherdQuery = {
11572
+ __typename?: 'ShepherdQuery';
11573
+ shepherdAlert?: Maybe<ShepherdAlert>;
11574
+ shepherdAlerts?: Maybe<Array<ShepherdAlert>>;
11575
+ shepherdAppInfo: ShepherdAppInfo;
11576
+ shepherdUser?: Maybe<ShepherdUser>;
11577
+ };
11578
+ export declare type ShepherdQueryShepherdAlertArgs = {
11579
+ id: Scalars['ID'];
11580
+ };
11581
+ export declare type ShepherdQueryShepherdAlertsArgs = {
11582
+ orgId: Scalars['ID'];
11583
+ };
11584
+ export declare type ShepherdUpdateAlertInput = {
11585
+ status?: Maybe<ShepherdAlertStatus>;
11586
+ };
11587
+ export declare type ShepherdUpdateAlertPayload = Payload & {
11588
+ __typename?: 'ShepherdUpdateAlertPayload';
11589
+ errors?: Maybe<Array<MutationError>>;
11590
+ node?: Maybe<ShepherdAlert>;
11591
+ success: Scalars['Boolean'];
11592
+ };
11593
+ export declare type ShepherdUser = {
11594
+ __typename?: 'ShepherdUser';
11595
+ aid: Scalars['ID'];
11596
+ };
11481
11597
  export declare type SoftwareBoard = {
11482
11598
  __typename?: 'SoftwareBoard';
11483
11599
  id?: Maybe<Scalars['ID']>;
@@ -11727,6 +11843,7 @@ export declare type SupportRequestCatalogMutationApi = {
11727
11843
  __typename?: 'SupportRequestCatalogMutationApi';
11728
11844
  addComment?: Maybe<SupportRequestComment>;
11729
11845
  statusTransition?: Maybe<Scalars['Boolean']>;
11846
+ createNamedContactOperationRequest?: Maybe<SupportRequest>;
11730
11847
  };
11731
11848
  export declare type SupportRequestCatalogMutationApiAddCommentArgs = {
11732
11849
  input?: Maybe<SupportRequestAddCommentInput>;
@@ -11734,6 +11851,12 @@ export declare type SupportRequestCatalogMutationApiAddCommentArgs = {
11734
11851
  export declare type SupportRequestCatalogMutationApiStatusTransitionArgs = {
11735
11852
  input?: Maybe<SupportRequestTransitionInput>;
11736
11853
  };
11854
+ export declare type SupportRequestCatalogMutationApiCreateNamedContactOperationRequestArgs = {
11855
+ emails: Array<Scalars['String']>;
11856
+ organizationId?: Maybe<Scalars['String']>;
11857
+ sen?: Maybe<Scalars['String']>;
11858
+ operation: SupportRequestNamedContactOperation;
11859
+ };
11737
11860
  export declare type SupportRequestCatalogQueryApi = {
11738
11861
  __typename?: 'SupportRequestCatalogQueryApi';
11739
11862
  me?: Maybe<SupportRequestPage>;
@@ -11811,6 +11934,10 @@ export declare type SupportRequestLastComment = {
11811
11934
  offset: Scalars['Int'];
11812
11935
  values: Array<SupportRequestComment>;
11813
11936
  };
11937
+ export declare enum SupportRequestNamedContactOperation {
11938
+ Add = "ADD",
11939
+ Remove = "REMOVE"
11940
+ }
11814
11941
  export declare type SupportRequestNamedContactRelation = {
11815
11942
  __typename?: 'SupportRequestNamedContactRelation';
11816
11943
  orgId?: Maybe<Scalars['String']>;
@@ -12191,6 +12318,7 @@ export declare type UpdateCompassHasLinkScorecardCriteriaInput = {
12191
12318
  export declare type UpdateCompassHasMetricValueCriteriaInput = {
12192
12319
  id: Scalars['ID'];
12193
12320
  weight?: Maybe<Scalars['Int']>;
12321
+ metricDefinitionId?: Maybe<Scalars['ID']>;
12194
12322
  metricDefinitionName?: Maybe<Scalars['String']>;
12195
12323
  comparatorValue?: Maybe<Scalars['Float']>;
12196
12324
  comparator?: Maybe<CompassCriteriaNumberComparatorOptions>;
@@ -12436,6 +12564,13 @@ export declare type UpdatePolarisInsightPayload = Payload & {
12436
12564
  errors?: Maybe<Array<MutationError>>;
12437
12565
  node?: Maybe<PolarisInsight>;
12438
12566
  };
12567
+ export declare type UpdatePolarisMatrixAxis = {
12568
+ dimension: Scalars['String'];
12569
+ field: Scalars['ID'];
12570
+ };
12571
+ export declare type UpdatePolarisMatrixConfig = {
12572
+ axes?: Maybe<Array<UpdatePolarisMatrixAxis>>;
12573
+ };
12439
12574
  export declare type UpdatePolarisPlayContribution = {
12440
12575
  amount?: Maybe<Scalars['Int']>;
12441
12576
  comment?: Maybe<Scalars['ID']>;
@@ -12467,9 +12602,15 @@ export declare type UpdatePolarisTermsConsentPayload = Payload & {
12467
12602
  success: Scalars['Boolean'];
12468
12603
  errors?: Maybe<Array<MutationError>>;
12469
12604
  };
12605
+ export declare type UpdatePolarisTimelineConfig = {
12606
+ startDateField?: Maybe<Scalars['ID']>;
12607
+ dueDateField?: Maybe<Scalars['ID']>;
12608
+ mode?: Maybe<PolarisTimelineMode>;
12609
+ };
12470
12610
  export declare type UpdatePolarisViewInput = {
12471
12611
  view?: Maybe<Scalars['ID']>;
12472
12612
  name?: Maybe<Scalars['String']>;
12613
+ emoji?: Maybe<Scalars['String']>;
12473
12614
  description?: Maybe<Scalars['JSON']>;
12474
12615
  jql?: Maybe<Scalars['String']>;
12475
12616
  userJql?: Maybe<Scalars['String']>;
@@ -12479,13 +12620,13 @@ export declare type UpdatePolarisViewInput = {
12479
12620
  groupValues?: Maybe<Array<PolarisGroupValueInput>>;
12480
12621
  verticalGroupBy?: Maybe<Scalars['ID']>;
12481
12622
  verticalGroupValues?: Maybe<Array<PolarisGroupValueInput>>;
12482
- x?: Maybe<Scalars['ID']>;
12483
- y?: Maybe<Scalars['ID']>;
12484
12623
  sort?: Maybe<Array<PolarisSortFieldInput>>;
12485
12624
  filter?: Maybe<Array<PolarisViewFilterInput>>;
12486
12625
  hidden?: Maybe<Array<Scalars['ID']>>;
12487
12626
  lastViewedTimestamp?: Maybe<Scalars['String']>;
12488
12627
  lastCommentsViewedTimestamp?: Maybe<Scalars['String']>;
12628
+ timelineConfig?: Maybe<UpdatePolarisTimelineConfig>;
12629
+ matrixConfig?: Maybe<UpdatePolarisMatrixConfig>;
12489
12630
  };
12490
12631
  export declare type UpdatePolarisViewPayload = Payload & {
12491
12632
  __typename?: 'UpdatePolarisViewPayload';