@forge/cli-shared 3.4.1-next.0 → 3.4.1-next.2

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,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ConfluenceCollaborativeEditingService = exports.ConfluenceBodyRepresentation = exports.ConfluenceBlogPostStatus = exports.ComponentSyncEventStatus = exports.CompassScorecardImportance = exports.CompassRelationshipType = exports.CompassRelationshipDirection = exports.CompassQuerySortOrder = exports.CompassMetricDefinitionType = exports.CompassLinkType = exports.CompassLifecycleEventStage = exports.CompassIncidentEventState = exports.CompassIncidentEventSeverityLevel = exports.CompassFieldType = exports.CompassEventType = exports.CompassDeploymentEventState = exports.CompassDeploymentEventEnvironmentCategory = exports.CompassCustomEventIcon = exports.CompassCriteriaNumberComparatorOptions = exports.CompassCriteriaBooleanComparatorOptions = exports.CompassComponentType = exports.CompassBuildEventState = exports.Classification = exports.CardHierarchyLevelEnumType = exports.BuiltinPolarisIdeaField = exports.BoardFeatureToggleStatus = exports.BoardFeatureStatus = exports.BitbucketPermission = exports.AtlassianProductHostingType = exports.AriGraphRelationshipsSortDirection = exports.AppTaskState = exports.AppStoredEntityCondition = exports.AppSecurityPoliciesPermissionTypeExtension = exports.AppSecurityPoliciesPermissionType = exports.AppNetworkPermissionTypeExtension = exports.AppNetworkPermissionType = exports.AppEnvironmentType = exports.AppDeploymentStepStatus = exports.AppDeploymentStatus = exports.AppDeploymentEventLogLevel = exports.AppContributorRole = exports.ApiGroup = exports.ApiContext = exports.ActivityProduct = exports.ActivityObjectType = exports.ActivityEventType = exports.ActivitiesObjectType = exports.ActivitiesFilterType = exports.ActivitiesContainerType = exports.AccountStatus = void 0;
4
- exports.FortifiedMetricsResolutionUnit = exports.ForgeMetricsSiteFilterCategory = exports.ForgeMetricsResolutionUnit = exports.ForgeMetricsGroupByDimensions = exports.ForgeMetricsDataType = exports.ForgeAlertsStatus = exports.ForgeAlertsActivityType = exports.EventMatchingStrategies = exports.EventKnownAvIs = exports.DevStatusActivity = exports.DevOpsToolSortOrder = exports.DevOpsToolNavbarConnectionStateTab = exports.DevOpsToolIntegrationType = exports.DevOpsToolConnectionState = exports.DevOpsServiceRelationshipType = exports.DevOpsServiceAndRepositoryRelationshipSortBy = exports.DevOpsServiceAndJiraProjectRelationshipType = exports.DevOpsSecurityVulnerabilityStatus = exports.DevOpsSecurityVulnerabilitySeverity = exports.DevOpsRepositoryHostingProviderFilter = exports.DevOpsRelationshipCertaintyFilter = exports.DevOpsRelationshipCertainty = exports.DevOpsPullRequestStatus = exports.DevOpsPullRequestApprovalStatus = exports.DevOpsMetricsRollupOption = exports.DevOpsMetricsResolutionUnit = exports.DevOpsMetricsCycleTimePhase = exports.DevOpsJiraProjectType = exports.DevOpsEnvironmentCategory = exports.DevOpsDataDepotProviderType = exports.DeploymentState = exports.ContentPlatformSearchTypes = exports.ContentPlatformOperators = exports.ContentPlatformFieldNames = exports.ContentPlatformBooleanOperators = exports.ConfluenceUserType = exports.ConfluenceSpaceType = exports.ConfluenceSpaceStatus = exports.ConfluenceSpaceSettingEditorVersion = exports.ConfluencePageStatus = exports.ConfluenceOperationTarget = exports.ConfluenceOperationName = exports.ConfluenceMutationContentStatus = exports.ConfluenceInlineTaskStatus = exports.ConfluenceInlineCommentResolutionStatus = exports.ConfluenceContributionStatus = exports.ConfluenceContentType = exports.ConfluenceContentRepresentation = exports.ConfluenceCommentType = exports.ConfluenceCommentStatus = void 0;
4
+ exports.FortifiedMetricsResolutionUnit = exports.ForgeMetricsSiteFilterCategory = exports.ForgeMetricsResolutionUnit = exports.ForgeMetricsGroupByDimensions = exports.ForgeMetricsDataType = exports.ForgeAlertsStatus = exports.ForgeAlertsActivityType = exports.EventMatchingStrategies = exports.EventKnownAvIs = exports.DevStatusActivity = exports.DevOpsToolSortOrder = exports.DevOpsToolNavbarConnectionStateTab = exports.DevOpsToolIntegrationType = exports.DevOpsToolConnectionState = exports.DevOpsServiceRelationshipType = exports.DevOpsServiceAndRepositoryRelationshipSortBy = exports.DevOpsServiceAndJiraProjectRelationshipType = exports.DevOpsSecurityVulnerabilityStatus = exports.DevOpsSecurityVulnerabilitySeverity = exports.DevOpsRepositoryHostingProviderFilter = exports.DevOpsRelationshipCertaintyFilter = exports.DevOpsRelationshipCertainty = exports.DevOpsPullRequestStatus = exports.DevOpsPullRequestApprovalStatus = exports.DevOpsProviderType = exports.DevOpsMetricsRollupOption = exports.DevOpsMetricsResolutionUnit = exports.DevOpsMetricsCycleTimePhase = exports.DevOpsJiraProjectType = exports.DevOpsEnvironmentCategory = exports.DeploymentState = exports.ContentPlatformSearchTypes = exports.ContentPlatformOperators = exports.ContentPlatformFieldNames = exports.ContentPlatformBooleanOperators = exports.ConfluenceUserType = exports.ConfluenceSpaceType = exports.ConfluenceSpaceStatus = exports.ConfluenceSpaceSettingEditorVersion = exports.ConfluencePageStatus = exports.ConfluenceOperationTarget = exports.ConfluenceOperationName = exports.ConfluenceMutationContentStatus = exports.ConfluenceInlineTaskStatus = exports.ConfluenceInlineCommentResolutionStatus = exports.ConfluenceContributionStatus = exports.ConfluenceContentType = exports.ConfluenceContentRepresentation = exports.ConfluenceCommentType = exports.ConfluenceCommentStatus = void 0;
5
5
  exports.JiraServiceManagementCommentVisibility = exports.JiraServiceManagementApprovalState = exports.JiraServiceManagementApprovalDecisionResponseType = exports.JiraReviewState = exports.JiraReleasesIssueReleaseStatusFilter = exports.JiraReleasesEpicReleaseStatusFilter = exports.JiraReleaseNotesIssueKeyConfig = exports.JiraPullRequestState = exports.JiraProjectType = exports.JiraProjectStyle = exports.JiraProjectStatus = exports.JiraProjectSortField = exports.JiraProjectShortcutType = exports.JiraProjectPermissionCategoryEnum = exports.JiraProjectAndRepositoryRelationshipSortBy = exports.JiraProjectActionType = exports.JiraPermissionTagEnum = exports.JiraPermissionMessageTypeEnum = exports.JiraMultiValueFieldOperations = exports.JiraLongRunningTaskStatus = exports.JiraJqlSyntaxError = exports.JiraJqlOperator = exports.JiraJqlClauseType = exports.JiraJqlBuilderMode = exports.JiraJqlAutocompleteType = exports.JiraIssueSearchFieldSetSelectedState = exports.JiraIssueLinkDirection = exports.JiraIssueLifecycleState = exports.JiraIssueItemSystemContainerType = exports.JiraIssueItemLayoutItemLocationRuleType = exports.JiraIssueDeploymentEnvironmentState = exports.JiraInstallDeploymentsBannerPrecondition = exports.JiraGrantTypeKeyEnum = exports.JiraFavouriteType = exports.JiraDevOpsIssuePanelState = exports.JiraDevOpsIssuePanelBannerType = exports.JiraDevOpsCapability = exports.JiraDevInfoConfigErrorType = exports.JiraDeploymentsFeaturePrecondition = exports.JiraCmdbAttributeType = exports.JiraCascadingSelectOptionType = exports.JiraAttachmentsPermissions = exports.IssueDevOpsPullRequestStatus = exports.IssueDevOpsDeploymentState = exports.IssueDevOpsDeploymentEnvironmentType = exports.IssueDevOpsCommitChangeType = exports.HelpObjectStoreJsmEntityType = exports.HelpObjectStoreHelpObjectType = exports.GrantCheckProduct = exports.FunctionTriggerType = void 0;
6
- exports.PolarisViewFilterOperator = exports.PolarisViewFilterKind = exports.PolarisValueOperator = exports.PolarisTimelineMode = exports.PolarisSortOrder = exports.PolarisSnippetPropertyKind = exports.PolarisResolvedObjectAuthType = exports.PolarisRefreshError = exports.PolarisPlayKind = exports.PolarisFieldType = exports.PolarisCommentKind = exports.PlanModeDestination = exports.NadelHydrationTemplate = exports.MercuryTeamAllocationStatus = exports.MercuryLevelType = exports.MercuryIntervalStatus = exports.MembershipState = exports.MembershipSetting = exports.MembershipRole = exports.MarketplaceProgramStatus = exports.MarketplacePricingTierType = exports.MarketplacePricingTierPolicy = exports.MarketplacePricingTierMode = exports.MarketplacePricingPlanStatus = exports.MarketplacePartnerType = exports.MarketplacePartnerTierType = exports.MarketplacePartnerSupportHolidayFrequency = exports.MarketplaceLocation = exports.MarketplaceListingStatus = exports.MarketplaceEntityStatus = exports.MarketplaceCloudFortifiedStatus = exports.MarketplaceBillingCycle = exports.MarketplaceAppVersionVisibility = exports.MarketplaceAppPermission = exports.MarketplaceAppPaymentModel = exports.LifecycleStage = exports.LicenseOverrideState = exports.JiraVersionWarningConfigState = exports.JiraVersionStatus = exports.JiraVersionRelatedWorkType = exports.JiraVersionIssuesSortField = exports.JiraVersionIssuesFilter = exports.JiraTimeUnit = exports.JiraTimeFormat = exports.JiraStatusCategoryColor = exports.JiraSprintState = exports.JiraSingleValueFieldOperations = exports.JiraShareableEntityGrant = exports.JiraServiceManagementPractice = exports.JiraServiceManagementMajorIncident = void 0;
7
- exports.SourceBillingType = exports.UserInstallationRuleValue = exports.TownsquareTargetDateType = exports.TownsquareProjectStateValue = exports.TownsquareProjectSortEnum = exports.TownsquareHelpPointerType = exports.TownsquareGoalStateValue = exports.TownsquareGoalSortEnum = exports.TestingActivityEventType = exports.TeamState = exports.SwimlaneStrategy = exports.SupportRequestUserType = exports.SupportRequestStatusCategory = exports.SupportRequestQueryStatusCategory = exports.SupportRequestQueryOwnership = exports.SupportRequestNamedContactOperation = exports.SupportRequestFieldDataType = exports.SprintState = exports.SprintReportsEstimationStatisticType = exports.SortDirection = exports.SoftwareCardsDestinationEnum = exports.ShepherdWebhookType = exports.ShepherdWebhookDestinationType = exports.ShepherdSubscriptionStatus = exports.ShepherdQueryErrorType = exports.ShepherdAlertTemplateType = exports.ShepherdAlertStatus = exports.ShepherdAlertSeverity = exports.ShepherdAlertDescriptionType = exports.ShepherdActionType = exports.SearchResultType = exports.SearchProjectType = exports.SearchContainerStatus = exports.SearchConfluenceRangeField = exports.SearchBoardProductType = exports.Scope = exports.RoadmapVersionStatus = exports.RoadmapTimelineMode = exports.RoadmapSprintState = exports.RoadmapRankPosition = exports.RoadmapPaletteColor = exports.RoadmapLevelOneView = exports.RoadmapEpicView = exports.RateLimitingCurrency = exports.PolarisVisualizationType = exports.PolarisViewSortMode = exports.PolarisViewSetType = void 0;
6
+ exports.PolarisViewFieldRollupType = exports.PolarisValueOperator = exports.PolarisTimelineMode = exports.PolarisSortOrder = exports.PolarisSnippetPropertyKind = exports.PolarisResolvedObjectAuthType = exports.PolarisRefreshError = exports.PolarisPlayKind = exports.PolarisFieldType = exports.PolarisCommentKind = exports.PlanModeDestination = exports.NadelHydrationTemplate = exports.MercuryTeamAllocationStatus = exports.MercuryLevelType = exports.MercuryIntervalStatus = exports.MembershipState = exports.MembershipSetting = exports.MembershipRole = exports.MarketplaceProgramStatus = exports.MarketplacePricingTierType = exports.MarketplacePricingTierPolicy = exports.MarketplacePricingTierMode = exports.MarketplacePricingPlanStatus = exports.MarketplacePartnerType = exports.MarketplacePartnerTierType = exports.MarketplacePartnerSupportHolidayFrequency = exports.MarketplaceLocation = exports.MarketplaceListingStatus = exports.MarketplaceEntityStatus = exports.MarketplaceCloudFortifiedStatus = exports.MarketplaceBillingCycle = exports.MarketplaceAppVersionVisibility = exports.MarketplaceAppPermission = exports.MarketplaceAppPaymentModel = exports.LifecycleStage = exports.LicenseOverrideState = exports.JiraVersionWarningConfigState = exports.JiraVersionStatus = exports.JiraVersionRelatedWorkType = exports.JiraVersionIssuesSortField = exports.JiraVersionIssuesFilter = exports.JiraVersionIssueTableColumn = exports.JiraTimeUnit = exports.JiraTimeFormat = exports.JiraStatusCategoryColor = exports.JiraSprintState = exports.JiraSingleValueFieldOperations = exports.JiraShareableEntityGrant = exports.JiraServiceManagementPractice = exports.JiraServiceManagementMajorIncident = void 0;
7
+ exports.UserInstallationRuleValue = exports.TownsquareTargetDateType = exports.TownsquareProjectStateValue = exports.TownsquareProjectSortEnum = exports.TownsquareHelpPointerType = exports.TownsquareGoalStateValue = exports.TownsquareGoalSortEnum = exports.TestingActivityEventType = exports.TeamState = exports.SwimlaneStrategy = exports.SupportRequestUserType = exports.SupportRequestStatusCategory = exports.SupportRequestQueryStatusCategory = exports.SupportRequestQueryOwnership = exports.SupportRequestNamedContactOperation = exports.SupportRequestFieldDataType = exports.SprintState = exports.SprintReportsEstimationStatisticType = exports.SortDirection = exports.SoftwareCardsDestinationEnum = exports.ShepherdWebhookType = exports.ShepherdWebhookDestinationType = exports.ShepherdSubscriptionStatus = exports.ShepherdQueryErrorType = exports.ShepherdAlertTemplateType = exports.ShepherdAlertStatus = exports.ShepherdAlertSeverity = exports.ShepherdAlertDescriptionType = exports.ShepherdActionType = exports.SearchResultType = exports.SearchProjectType = exports.SearchContainerStatus = exports.SearchConfluenceRangeField = exports.SearchConfluenceDocumentStatus = exports.SearchBoardProductType = exports.Scope = exports.RoadmapVersionStatus = exports.RoadmapTimelineMode = exports.RoadmapSprintState = exports.RoadmapRankPosition = exports.RoadmapPaletteColor = exports.RoadmapLevelOneView = exports.RoadmapEpicView = exports.RateLimitingCurrency = exports.PolarisVisualizationType = exports.PolarisViewSortMode = exports.PolarisViewSetType = exports.PolarisViewLayoutType = exports.PolarisViewFilterOperator = exports.PolarisViewFilterKind = void 0;
8
+ exports.SourceBillingType = void 0;
8
9
  var AccountStatus;
9
10
  (function (AccountStatus) {
10
11
  AccountStatus["Active"] = "active";
@@ -528,15 +529,6 @@ var DeploymentState;
528
529
  DeploymentState["RolledBack"] = "ROLLED_BACK";
529
530
  DeploymentState["Unknown"] = "UNKNOWN";
530
531
  })(DeploymentState = exports.DeploymentState || (exports.DeploymentState = {}));
531
- var DevOpsDataDepotProviderType;
532
- (function (DevOpsDataDepotProviderType) {
533
- DevOpsDataDepotProviderType["DevInfo"] = "DEV_INFO";
534
- DevOpsDataDepotProviderType["Build"] = "BUILD";
535
- DevOpsDataDepotProviderType["Deployment"] = "DEPLOYMENT";
536
- DevOpsDataDepotProviderType["FeatureFlag"] = "FEATURE_FLAG";
537
- DevOpsDataDepotProviderType["RemoteLinks"] = "REMOTE_LINKS";
538
- DevOpsDataDepotProviderType["Security"] = "SECURITY";
539
- })(DevOpsDataDepotProviderType = exports.DevOpsDataDepotProviderType || (exports.DevOpsDataDepotProviderType = {}));
540
532
  var DevOpsEnvironmentCategory;
541
533
  (function (DevOpsEnvironmentCategory) {
542
534
  DevOpsEnvironmentCategory["Production"] = "PRODUCTION";
@@ -567,6 +559,15 @@ var DevOpsMetricsRollupOption;
567
559
  DevOpsMetricsRollupOption["Mean"] = "MEAN";
568
560
  DevOpsMetricsRollupOption["Percentile"] = "PERCENTILE";
569
561
  })(DevOpsMetricsRollupOption = exports.DevOpsMetricsRollupOption || (exports.DevOpsMetricsRollupOption = {}));
562
+ var DevOpsProviderType;
563
+ (function (DevOpsProviderType) {
564
+ DevOpsProviderType["DevInfo"] = "DEV_INFO";
565
+ DevOpsProviderType["Build"] = "BUILD";
566
+ DevOpsProviderType["Deployment"] = "DEPLOYMENT";
567
+ DevOpsProviderType["FeatureFlag"] = "FEATURE_FLAG";
568
+ DevOpsProviderType["RemoteLinks"] = "REMOTE_LINKS";
569
+ DevOpsProviderType["Security"] = "SECURITY";
570
+ })(DevOpsProviderType = exports.DevOpsProviderType || (exports.DevOpsProviderType = {}));
570
571
  var DevOpsPullRequestApprovalStatus;
571
572
  (function (DevOpsPullRequestApprovalStatus) {
572
573
  DevOpsPullRequestApprovalStatus["Approved"] = "APPROVED";
@@ -1155,6 +1156,18 @@ var JiraTimeUnit;
1155
1156
  JiraTimeUnit["Day"] = "DAY";
1156
1157
  JiraTimeUnit["Week"] = "WEEK";
1157
1158
  })(JiraTimeUnit = exports.JiraTimeUnit || (exports.JiraTimeUnit = {}));
1159
+ var JiraVersionIssueTableColumn;
1160
+ (function (JiraVersionIssueTableColumn) {
1161
+ JiraVersionIssueTableColumn["IssueAssignee"] = "ISSUE_ASSIGNEE";
1162
+ JiraVersionIssueTableColumn["IssueStatus"] = "ISSUE_STATUS";
1163
+ JiraVersionIssueTableColumn["DevelopmentStatus"] = "DEVELOPMENT_STATUS";
1164
+ JiraVersionIssueTableColumn["BuildStatus"] = "BUILD_STATUS";
1165
+ JiraVersionIssueTableColumn["DeploymentStatus"] = "DEPLOYMENT_STATUS";
1166
+ JiraVersionIssueTableColumn["FeatureFlagStatus"] = "FEATURE_FLAG_STATUS";
1167
+ JiraVersionIssueTableColumn["MoreAction"] = "MORE_ACTION";
1168
+ JiraVersionIssueTableColumn["Warnings"] = "WARNINGS";
1169
+ JiraVersionIssueTableColumn["IssuePriority"] = "ISSUE_PRIORITY";
1170
+ })(JiraVersionIssueTableColumn = exports.JiraVersionIssueTableColumn || (exports.JiraVersionIssueTableColumn = {}));
1158
1171
  var JiraVersionIssuesFilter;
1159
1172
  (function (JiraVersionIssuesFilter) {
1160
1173
  JiraVersionIssuesFilter["All"] = "ALL";
@@ -1403,6 +1416,18 @@ var PolarisValueOperator;
1403
1416
  PolarisValueOperator["Lte"] = "LTE";
1404
1417
  PolarisValueOperator["Eq"] = "EQ";
1405
1418
  })(PolarisValueOperator = exports.PolarisValueOperator || (exports.PolarisValueOperator = {}));
1419
+ var PolarisViewFieldRollupType;
1420
+ (function (PolarisViewFieldRollupType) {
1421
+ PolarisViewFieldRollupType["Avg"] = "AVG";
1422
+ PolarisViewFieldRollupType["Count"] = "COUNT";
1423
+ PolarisViewFieldRollupType["Empty"] = "EMPTY";
1424
+ PolarisViewFieldRollupType["Filled"] = "FILLED";
1425
+ PolarisViewFieldRollupType["Max"] = "MAX";
1426
+ PolarisViewFieldRollupType["Median"] = "MEDIAN";
1427
+ PolarisViewFieldRollupType["Min"] = "MIN";
1428
+ PolarisViewFieldRollupType["Range"] = "RANGE";
1429
+ PolarisViewFieldRollupType["Sum"] = "SUM";
1430
+ })(PolarisViewFieldRollupType = exports.PolarisViewFieldRollupType || (exports.PolarisViewFieldRollupType = {}));
1406
1431
  var PolarisViewFilterKind;
1407
1432
  (function (PolarisViewFilterKind) {
1408
1433
  PolarisViewFilterKind["FieldIdentity"] = "FIELD_IDENTITY";
@@ -1423,6 +1448,11 @@ var PolarisViewFilterOperator;
1423
1448
  PolarisViewFilterOperator["EndBeforeNow"] = "END_BEFORE_NOW";
1424
1449
  PolarisViewFilterOperator["EndAfterNow"] = "END_AFTER_NOW";
1425
1450
  })(PolarisViewFilterOperator = exports.PolarisViewFilterOperator || (exports.PolarisViewFilterOperator = {}));
1451
+ var PolarisViewLayoutType;
1452
+ (function (PolarisViewLayoutType) {
1453
+ PolarisViewLayoutType["Detailed"] = "DETAILED";
1454
+ PolarisViewLayoutType["Compact"] = "COMPACT";
1455
+ })(PolarisViewLayoutType = exports.PolarisViewLayoutType || (exports.PolarisViewLayoutType = {}));
1426
1456
  var PolarisViewSetType;
1427
1457
  (function (PolarisViewSetType) {
1428
1458
  PolarisViewSetType["Capture"] = "CAPTURE";
@@ -1867,6 +1897,12 @@ var SearchBoardProductType;
1867
1897
  SearchBoardProductType["Software"] = "SOFTWARE";
1868
1898
  SearchBoardProductType["Business"] = "BUSINESS";
1869
1899
  })(SearchBoardProductType = exports.SearchBoardProductType || (exports.SearchBoardProductType = {}));
1900
+ var SearchConfluenceDocumentStatus;
1901
+ (function (SearchConfluenceDocumentStatus) {
1902
+ SearchConfluenceDocumentStatus["Current"] = "CURRENT";
1903
+ SearchConfluenceDocumentStatus["Archived"] = "ARCHIVED";
1904
+ SearchConfluenceDocumentStatus["Draft"] = "DRAFT";
1905
+ })(SearchConfluenceDocumentStatus = exports.SearchConfluenceDocumentStatus || (exports.SearchConfluenceDocumentStatus = {}));
1870
1906
  var SearchConfluenceRangeField;
1871
1907
  (function (SearchConfluenceRangeField) {
1872
1908
  SearchConfluenceRangeField["Lastmodified"] = "LASTMODIFIED";
@@ -1886,13 +1922,17 @@ var SearchProjectType;
1886
1922
  })(SearchProjectType = exports.SearchProjectType || (exports.SearchProjectType = {}));
1887
1923
  var SearchResultType;
1888
1924
  (function (SearchResultType) {
1925
+ SearchResultType["Page"] = "page";
1889
1926
  SearchResultType["Blogpost"] = "blogpost";
1890
1927
  SearchResultType["Space"] = "space";
1928
+ SearchResultType["Attachment"] = "attachment";
1929
+ SearchResultType["Comment"] = "comment";
1891
1930
  SearchResultType["Board"] = "board";
1892
1931
  SearchResultType["Filter"] = "filter";
1893
1932
  SearchResultType["Issue"] = "issue";
1894
1933
  SearchResultType["Plan"] = "plan";
1895
1934
  SearchResultType["Project"] = "project";
1935
+ SearchResultType["Unrecognised"] = "unrecognised";
1896
1936
  })(SearchResultType = exports.SearchResultType || (exports.SearchResultType = {}));
1897
1937
  var ShepherdActionType;
1898
1938
  (function (ShepherdActionType) {
@@ -1945,6 +1985,7 @@ var ShepherdAlertTemplateType;
1945
1985
  ShepherdAlertTemplateType["InitiatedGsyncConnection"] = "INITIATED_GSYNC_CONNECTION";
1946
1986
  ShepherdAlertTemplateType["JiraIssueCrawling"] = "JIRA_ISSUE_CRAWLING";
1947
1987
  ShepherdAlertTemplateType["OrgLoggedInAsUser"] = "ORG_LOGGED_IN_AS_USER";
1988
+ ShepherdAlertTemplateType["PasswordResetCompletedUser"] = "PASSWORD_RESET_COMPLETED_USER";
1948
1989
  ShepherdAlertTemplateType["RotateScimDirectoryToken"] = "ROTATE_SCIM_DIRECTORY_TOKEN";
1949
1990
  ShepherdAlertTemplateType["TokenCreated"] = "TOKEN_CREATED";
1950
1991
  ShepherdAlertTemplateType["UpdatedAuthPolicy"] = "UPDATED_AUTH_POLICY";
@@ -11,8 +11,10 @@ export declare class OutdatedClientVersionError extends UserError {
11
11
  }
12
12
  export declare class GraphQLProviderServiceError extends BaseError {
13
13
  private readonly userError;
14
- constructor(userError: boolean, errors: GraphQLError[], requestId?: string);
14
+ private readonly requestId;
15
+ constructor(userError: boolean, requestId: string | undefined, errors: GraphQLError[]);
15
16
  isUserError(): boolean;
17
+ getAttributes(): Record<string, any>;
16
18
  }
17
19
  export declare class GraphqlError extends Error {
18
20
  constructor(data: any, requestId?: string);
@@ -1 +1 @@
1
- {"version":3,"file":"minimal-graphql-runner.d.ts","sourceRoot":"","sources":["../../src/graphql/minimal-graphql-runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAG1D,OAAO,EAAE,aAAa,EAAE,mBAAm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mBAAmB,EAAE,mBAAmB,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;IAWtF,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,gBAAgB;YAIV,4BAA4B;IAgB1C,OAAO,CAAC,YAAY;CAUrB"}
@@ -15,13 +15,17 @@ class OutdatedClientVersionError extends shared_1.UserError {
15
15
  }
16
16
  exports.OutdatedClientVersionError = OutdatedClientVersionError;
17
17
  class GraphQLProviderServiceError extends shared_1.BaseError {
18
- constructor(userError, errors, requestId) {
18
+ constructor(userError, requestId, errors) {
19
19
  super(`${ui_1.Text.graphQL.error}: ${JSON.stringify(errors)}, requestId=${requestId || 'unknown'}`);
20
20
  this.userError = userError;
21
+ this.requestId = requestId;
21
22
  }
22
23
  isUserError() {
23
24
  return this.userError;
24
25
  }
26
+ getAttributes() {
27
+ return Object.assign(Object.assign({}, super.getAttributes()), { requestId: this.requestId });
28
+ }
25
29
  }
26
30
  exports.GraphQLProviderServiceError = GraphQLProviderServiceError;
27
31
  class GraphqlError extends Error {
@@ -48,7 +52,7 @@ class MinimalGraphQLRunner {
48
52
  throw new OutdatedClientVersionError();
49
53
  }
50
54
  const isUserError = status >= 400 && status < 500;
51
- throw new GraphQLProviderServiceError(isUserError, errors, requestId);
55
+ throw new GraphQLProviderServiceError(isUserError, requestId, errors);
52
56
  }
53
57
  if (status !== 200) {
54
58
  throw new GraphqlError(data, requestId);
@@ -6,10 +6,17 @@ export declare class UnexpectedGraphQlResponseError extends BaseError {
6
6
  export declare class GraphQlMutationError extends UnexpectedGraphQlResponseError {
7
7
  private readonly code;
8
8
  private readonly statusCode;
9
- constructor(message: string, code?: string, statusCode?: number);
9
+ private readonly requestId;
10
+ constructor(message: string, { requestId, code, statusCode }: {
11
+ requestId: string | undefined;
12
+ code?: string;
13
+ statusCode?: number;
14
+ });
10
15
  getCode: () => string;
11
16
  getStatusCode: () => number | undefined;
17
+ getRequestId: () => string | undefined;
12
18
  isUserError(): boolean;
19
+ getAttributes(): Record<string, any>;
13
20
  }
14
21
  export declare class MutationAwareGraphQLClient implements GraphQLClient {
15
22
  private readonly runner;
@@ -1 +1 @@
1
- {"version":3,"file":"mutation-aware-graphql-client.d.ts","sourceRoot":"","sources":["../../src/graphql/mutation-aware-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACrF,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,qBAAa,8BAA+B,SAAQ,SAAS;CAAG;AAChE,qBAAa,oBAAqB,SAAQ,8BAA8B;IACtE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAS;IAC9B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAqB;gBAEpC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM;IAM/D,OAAO,QAAO,MAAM,CAElB;IAEF,aAAa,QAAO,MAAM,GAAG,SAAS,CAEpC;IAEK,WAAW,IAAI,OAAO;CAG9B;AAED,qBAAa,0BAA2B,YAAW,aAAa;IAClD,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,aAAa;IAErC,MAAM,CAAC,MAAM,SAAS,MAAM,kBAAkB,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU;;;;IAuBhG,KAAK,CAAC,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU;CAI/E"}
1
+ {"version":3,"file":"mutation-aware-graphql-client.d.ts","sourceRoot":"","sources":["../../src/graphql/mutation-aware-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACrF,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,qBAAa,8BAA+B,SAAQ,SAAS;CAAG;AAChE,qBAAa,oBAAqB,SAAQ,8BAA8B;IACtE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAS;IAC9B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAqB;IAChD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAqB;gBAG7C,OAAO,EAAE,MAAM,EACf,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE;QAAE,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE;IAQxG,OAAO,QAAO,MAAM,CAElB;IAEF,aAAa,QAAO,MAAM,GAAG,SAAS,CAEpC;IAEF,YAAY,QAAO,MAAM,GAAG,SAAS,CAEnC;IAEK,WAAW,IAAI,OAAO;IAItB,aAAa,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;CAM5C;AAED,qBAAa,0BAA2B,YAAW,aAAa;IAClD,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,aAAa;IAErC,MAAM,CAAC,MAAM,SAAS,MAAM,kBAAkB,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU;;;;IAuBhG,KAAK,CAAC,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU;CAI/E"}
@@ -6,7 +6,7 @@ class UnexpectedGraphQlResponseError extends shared_1.BaseError {
6
6
  }
7
7
  exports.UnexpectedGraphQlResponseError = UnexpectedGraphQlResponseError;
8
8
  class GraphQlMutationError extends UnexpectedGraphQlResponseError {
9
- constructor(message, code, statusCode) {
9
+ constructor(message, { requestId, code, statusCode }) {
10
10
  super(message);
11
11
  this.getCode = () => {
12
12
  return this.code;
@@ -14,12 +14,19 @@ class GraphQlMutationError extends UnexpectedGraphQlResponseError {
14
14
  this.getStatusCode = () => {
15
15
  return this.statusCode;
16
16
  };
17
+ this.getRequestId = () => {
18
+ return this.requestId;
19
+ };
17
20
  this.code = code || 'GENERIC_GRAPHQL_MUTATION_ERROR';
18
21
  this.statusCode = statusCode;
22
+ this.requestId = requestId;
19
23
  }
20
24
  isUserError() {
21
25
  return Boolean(this.statusCode && this.statusCode >= 400 && this.statusCode < 500);
22
26
  }
27
+ getAttributes() {
28
+ return Object.assign(Object.assign({}, super.getAttributes()), { requestId: this.getRequestId() });
29
+ }
23
30
  }
24
31
  exports.GraphQlMutationError = GraphQlMutationError;
25
32
  class MutationAwareGraphQLClient {
@@ -9,6 +9,7 @@ export declare class CommandLineUI implements UI {
9
9
  private readonly verbose;
10
10
  private readonly logger;
11
11
  private readonly spinner;
12
+ private readonly prompt;
12
13
  private insideProgress;
13
14
  private addedProgressPadding;
14
15
  constructor(verbose: () => boolean, spinner?: Ora, logger?: Console);
@@ -1 +1 @@
1
- {"version":3,"file":"command-line-ui.d.ts","sourceRoot":"","sources":["../../src/ui/command-line-ui.ts"],"names":[],"mappings":";AAEA,OAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAM/B,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAWnD,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,aAAc,YAAW,EAAE;IAyB1B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAxBpC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAU;IAKjC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAM;IAG9B,OAAO,CAAC,cAAc,CAAS;IAc/B,OAAO,CAAC,oBAAoB,CAAS;gBAER,OAAO,EAAE,MAAM,OAAO,EAAE,OAAO,CAAC,EAAE,GAA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AA0B,CACrC,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EAAE,EACjB,OAAO,EAAE,MAAM,EAAE,GAChB,OAAO,CAAC,MAAM,CAAC;IAeX,KAAK,CAAC,GAAG,SAAS,MAAM,EAC7B,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,EAAE,EACrB,IAAI,EAAE,MAAM,CAAC,GAAG,EAAE,SAAS,CAAC,EAAE,GAAG,SAAS,GAAG,IAAI,EACjD,EAAE,IAAI,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAW,EAAE,GAAE,YAAY,CAAC,GAAG,CAAM,GACnF,IAAI;IAqCP,OAAO,CAAC,GAAG;IAqBX,OAAO,CAAC,UAAU;IAQlB,OAAO,CAAC,QAAQ;IAQhB,OAAO,CAAC,mBAAmB;IAe3B,OAAO,CAAC,yBAAyB;IAQjC,OAAO,CAAC,eAAe;YAaT,eAAe;IAa7B,OAAO,CAAC,wBAAwB;CAIjC"}
@@ -25,6 +25,7 @@ class CommandLineUI {
25
25
  this.addedProgressPadding = false;
26
26
  this.spinner = spinner || (0, ora_1.default)({ discardStdin: false });
27
27
  this.logger = logger || console;
28
+ this.prompt = inquirer_1.default.createPromptModule({ skipTTYChecks: false });
28
29
  this.registerCustomUIElements();
29
30
  }
30
31
  get traceEnabled() {
@@ -131,7 +132,7 @@ class CommandLineUI {
131
132
  this.log('');
132
133
  }
133
134
  async confirm(message) {
134
- const { choice } = await inquirer_1.default.prompt([
135
+ const { choice } = await this.prompt([
135
136
  {
136
137
  type: 'confirm',
137
138
  name: 'choice',
@@ -148,7 +149,7 @@ class CommandLineUI {
148
149
  return this.promptForString(message, true);
149
150
  }
150
151
  async promptForList(message, choices) {
151
- const { choice } = await inquirer_1.default.prompt([
152
+ const { choice } = await this.prompt([
152
153
  {
153
154
  type: 'list',
154
155
  name: 'choice',
@@ -159,7 +160,7 @@ class CommandLineUI {
159
160
  return choice;
160
161
  }
161
162
  async promptForTable(message, infoMessage, columns, choices) {
162
- const { choice } = await inquirer_1.default.prompt([
163
+ const { choice } = await this.prompt([
163
164
  {
164
165
  type: 'multiple-choice-table',
165
166
  name: 'choice',
@@ -172,7 +173,7 @@ class CommandLineUI {
172
173
  return choice;
173
174
  }
174
175
  async promptForSingleChoiceTable(message, infoMessage, columns, choices) {
175
- const { choice } = await inquirer_1.default.prompt([
176
+ const { choice } = await this.prompt([
176
177
  {
177
178
  type: 'single-choice-table',
178
179
  name: 'choice',
@@ -273,7 +274,7 @@ class CommandLineUI {
273
274
  }
274
275
  }
275
276
  async promptForString(message, secret, defaultValue) {
276
- const { text } = await inquirer_1.default.prompt([
277
+ const { text } = await this.prompt([
277
278
  {
278
279
  type: secret ? 'password' : 'input',
279
280
  name: 'text',
@@ -285,8 +286,8 @@ class CommandLineUI {
285
286
  return text;
286
287
  }
287
288
  registerCustomUIElements() {
288
- inquirer_1.default.registerPrompt('multiple-choice-table', multiple_table_prompt_1.MultipleChoiceTablePrompt);
289
- inquirer_1.default.registerPrompt('single-choice-table', single_table_prompt_1.SingleChoiceTablePrompt);
289
+ this.prompt.registerPrompt('multiple-choice-table', multiple_table_prompt_1.MultipleChoiceTablePrompt);
290
+ this.prompt.registerPrompt('single-choice-table', single_table_prompt_1.SingleChoiceTablePrompt);
290
291
  }
291
292
  }
292
293
  exports.CommandLineUI = CommandLineUI;
package/out/ui/text.d.ts CHANGED
@@ -334,9 +334,8 @@ export declare const Text: {
334
334
  taskPackage: {
335
335
  title: string;
336
336
  archiverWarning: (err: Error) => string;
337
- fileAddedToArchive: (filePath: string) => string;
338
337
  packageBundledFiles: string;
339
- packageFile: (fileName: string, filePath: string) => string;
338
+ packageFile: (fileName: string, filePath: string | null) => string;
340
339
  archiveCreated: (archivePath: string) => string;
341
340
  };
342
341
  taskUpload: {
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/ui/text.ts"],"names":[],"mappings":"AAEA,O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AAmB,WAC/B,OAAO;0BAKA,MAAM,UAAU,MAAM,eAAe,MAAM,uBAAuB,mBAAmB;;;;;oBAY3F,MAAM;;;;;;;qCAUS,MAAM;;;;;;;;;oCAWL,MAAM;;;;;;;;;;;;oCAYN,MAAM,WAAW,MAAM;kCAMzB,MAAM,sBAAsB,MAAM,KAAG,MAAM;;sBAUvD,MAAM,UAAU,MAAM,WAAW,MAAM,aAAa,MAAM,KAAG,MAAM;6BAE5D,MAAM,eAAe,MAAM,oBAAoB,MAAM,sBAAsB,MAAM,KAAG,MAAM;gCAevF,MAAM,oBAAoB,MAAM,sBAAsB,MAAM,KAAG,MAAM;wBAc7E,MAAM,UAAU,MAAM,WAAW,MAAM,aAAa,MAAM,KAAG,MAAM;;;yBAKlE,MAAM,WAAW,MAAM;;;;qCAQb,MAAM;qCACN,MAAM,gBAAgB,OAAO;;;yCAMzB,MAAM;qCACV,MAAM;;;;;;;;;;;;;;;;+BAwBZ,MAAM,SAAS,MAAM;;;;;;;;;;;;6CAaP,MAAM,mBAAmB,MAAM,EAAE;;;;CAOvE,CAAC"}
package/out/ui/text.js CHANGED
@@ -396,9 +396,8 @@ What do you like or don't like about Forge? Share your feedback below or press C
396
396
  taskPackage: {
397
397
  title: 'Packaging app files',
398
398
  archiverWarning: (err) => `Packaging warning: ${err.message}`,
399
- fileAddedToArchive: (filePath) => `File added to archive: ${filePath}`,
400
399
  packageBundledFiles: 'Packaging bundled files',
401
- packageFile: (fileName, filePath) => `Packaging the ${fileName} file from ${filePath}`,
400
+ packageFile: (fileName, filePath) => `File added to archive: ${filePath}` + fileName ? `, from ${fileName}` : '',
402
401
  archiveCreated: (archivePath) => `Archive created: ${archivePath}`
403
402
  },
404
403
  taskUpload: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/cli-shared",
3
- "version": "3.4.1-next.0",
3
+ "version": "3.4.1-next.2",
4
4
  "description": "Common functionality for Forge CLI",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",
@@ -30,7 +30,7 @@
30
30
  "graphql": "^15.8.0",
31
31
  "graphql-request": "3.4.0",
32
32
  "ignore-walk": "^3.0.3",
33
- "inquirer": "^7.0.4",
33
+ "inquirer": "^8.2.5",
34
34
  "io-ts": "^2.0.6",
35
35
  "keytar": "^7.9.0",
36
36
  "launchdarkly-node-client-sdk": "^2.0.3",
@@ -54,7 +54,7 @@
54
54
  "@types/fs-extra": "^8.0.1",
55
55
  "@types/get-folder-size": "^2.0.0",
56
56
  "@types/ignore-walk": "^3.0.1",
57
- "@types/inquirer": "^6.5.0",
57
+ "@types/inquirer": "^8.2.5",
58
58
  "@types/jest": "^29.1.2",
59
59
  "@types/js-yaml": "^3.12.2",
60
60
  "@types/node-fetch": "^2.5.7",