@forge/cli-shared 0.0.0-experimental-e05f7a2 → 0.0.0-experimental-d18f8dd

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,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SwimlaneStrategy = exports.SupportRequestStatusCategory = exports.SupportRequestQueryStatusCategory = exports.SupportRequestQueryOwnership = exports.SprintState = exports.SprintReportsEstimationStatisticType = exports.SortDirection = exports.SoftwareCardsDestinationEnum = exports.Scope = exports.RoadmapVersionStatus = exports.RoadmapTimelineMode = exports.RoadmapSprintState = exports.RoadmapPaletteColor = exports.RateLimitingCurrency = exports.Product = exports.PolarisVisualizationType = exports.PolarisViewSetType = exports.PolarisViewFilterOperator = exports.PolarisViewFilterKind = exports.PolarisValueOperator = exports.PolarisSortOrder = exports.PolarisSnippetPropertyKind = exports.PolarisResolvedObjectAuthType = exports.PolarisRefreshError = exports.PolarisFieldType = exports.PolarisCommentKind = exports.MarketplacePricingTierType = exports.MarketplacePricingTierPolicy = exports.MarketplacePricingTierMode = exports.MarketplacePricingPlanStatus = exports.MarketplacePartnerType = exports.MarketplacePartnerSupportHolidayFrequency = exports.MarketplaceLocation = exports.MarketplaceListingStatus = exports.MarketplaceCloudFortifiedStatus = exports.MarketplaceBillingCycle = exports.MarketplaceAppVersionVisibility = exports.MarketplaceAppPermission = exports.MarketplaceAppPaymentModel = exports.LicenseOverrideState = exports.JiraReleasesIssueReleaseStatusFilter = exports.JiraReleasesEpicReleaseStatusFilter = exports.JiraProjectType = exports.JiraProjectSortField = exports.JiraProjectAndRepositoryRelationshipSortBy = exports.IssueDevOpsPullRequestStatus = exports.IssueDevOpsDeploymentState = exports.IssueDevOpsDeploymentEnvironmentType = exports.IssueDevOpsCommitChangeType = exports.GrantCheckProduct = exports.FunctionTriggerType = exports.EpicView = exports.DevStatusActivity = exports.DevOpsServiceRelationshipType = exports.DevOpsServiceAndRepositoryRelationshipSortBy = exports.DevOpsServiceAndJiraProjectRelationshipType = exports.DevOpsRepositoryHostingProviderFilter = exports.DevOpsRelationshipCertaintyFilter = exports.DevOpsRelationshipCertainty = exports.DevOpsMetricsRollupOption = exports.DevOpsMetricsResolutionUnit = exports.DevOpsMetricsCycleTimePhase = exports.DevOpsJiraProjectType = exports.DevOpsEnvironmentCategory = exports.DeploymentState = exports.ComponentSyncEventStatus = exports.CompassScorecardImportance = exports.CompassRelationshipType = exports.CompassQuerySortOrder = exports.CompassLinkType = exports.CompassFieldType = exports.CompassEventType = exports.CompassDeploymentEventState = exports.CompassDeploymentEventEnvironmentCategory = exports.CompassComponentType = exports.CardHierarchyLevelEnumType = exports.BuiltinPolarisIdeaField = exports.BoardFeatureToggleStatus = exports.BoardFeatureStatus = exports.AtlassianProductHostingType = exports.AppTaskState = exports.AppStoredEntityCondition = exports.AppSecurityPoliciesPermissionTypeExtension = exports.AppSecurityPoliciesPermissionType = exports.AppNetworkPermissionTypeExtension = exports.AppNetworkPermissionType = exports.AppEnvironmentType = exports.AppDeploymentStepStatus = exports.AppDeploymentStatus = exports.AppDeploymentEventLogLevel = exports.ApiGroup = exports.ApiContext = exports.ActivityProduct = exports.ActivityObjectType = exports.ActivityEventType = exports.ActivitiesObjectType = exports.ActivitiesFilterType = exports.ActivitiesContainerType = exports.AccountStatus = void 0;
3
+ exports.SwimlaneStrategy = exports.SupportRequestStatusCategory = exports.SupportRequestQueryStatusCategory = exports.SupportRequestQueryOwnership = exports.SprintState = exports.SprintReportsEstimationStatisticType = exports.SortDirection = exports.SoftwareCardsDestinationEnum = exports.Scope = exports.RoadmapVersionStatus = exports.RoadmapTimelineMode = exports.RoadmapSprintState = exports.RoadmapPaletteColor = exports.RateLimitingCurrency = exports.Product = exports.PolarisVisualizationType = exports.PolarisViewSetType = exports.PolarisViewFilterOperator = exports.PolarisViewFilterKind = exports.PolarisValueOperator = exports.PolarisSortOrder = exports.PolarisSnippetPropertyKind = exports.PolarisResolvedObjectAuthType = exports.PolarisRefreshError = exports.PolarisPlayKind = exports.PolarisFieldType = exports.PolarisCommentKind = exports.MarketplacePricingTierType = exports.MarketplacePricingTierPolicy = exports.MarketplacePricingTierMode = exports.MarketplacePricingPlanStatus = exports.MarketplacePartnerType = exports.MarketplacePartnerSupportHolidayFrequency = exports.MarketplaceLocation = exports.MarketplaceListingStatus = exports.MarketplaceEntityStatus = exports.MarketplaceCloudFortifiedStatus = exports.MarketplaceBillingCycle = exports.MarketplaceAppVersionVisibility = exports.MarketplaceAppPermission = exports.MarketplaceAppPaymentModel = exports.LicenseOverrideState = exports.JiraVersionStatus = exports.JiraTimeUnit = exports.JiraTimeFormat = exports.JiraStatusCategoryColor = exports.JiraSprintState = exports.JiraReviewState = exports.JiraReleasesIssueReleaseStatusFilter = exports.JiraReleasesEpicReleaseStatusFilter = exports.JiraPullRequestState = exports.JiraProjectType = exports.JiraProjectSortField = exports.JiraProjectPermissionCategoryEnum = exports.JiraProjectAndRepositoryRelationshipSortBy = exports.JiraJqlOperator = exports.JiraJqlClauseType = exports.JiraJqlBuilderMode = exports.JiraJqlAutocompleteType = exports.JiraIssueLinkDirection = exports.JiraGrantTypeKeyEnum = exports.JiraDevOpsIssuePanelState = exports.JiraDevOpsIssuePanelBannerType = exports.JiraCascadingSelectOptionType = exports.JiraAttachmentsPermissions = exports.IssueDevOpsPullRequestStatus = exports.IssueDevOpsDeploymentState = exports.IssueDevOpsDeploymentEnvironmentType = exports.IssueDevOpsCommitChangeType = exports.GrantCheckProduct = exports.FunctionTriggerType = exports.EventMatchingStrategies = exports.EventKnownAvIs = exports.EpicView = exports.DevStatusActivity = exports.DevOpsServiceRelationshipType = exports.DevOpsServiceAndRepositoryRelationshipSortBy = exports.DevOpsServiceAndJiraProjectRelationshipType = exports.DevOpsRepositoryHostingProviderFilter = exports.DevOpsRelationshipCertaintyFilter = exports.DevOpsRelationshipCertainty = exports.DevOpsMetricsRollupOption = exports.DevOpsMetricsResolutionUnit = exports.DevOpsMetricsCycleTimePhase = exports.DevOpsJiraProjectType = exports.DevOpsEnvironmentCategory = exports.DeploymentState = exports.ComponentSyncEventStatus = exports.CompassScorecardImportance = exports.CompassRelationshipType = exports.CompassQuerySortOrder = exports.CompassLinkType = exports.CompassFieldType = exports.CompassEventType = exports.CompassDeploymentEventState = exports.CompassDeploymentEventEnvironmentCategory = exports.CompassComponentType = exports.CardHierarchyLevelEnumType = exports.BuiltinPolarisIdeaField = exports.BoardFeatureToggleStatus = exports.BoardFeatureStatus = exports.BitbucketPermission = exports.AtlassianProductHostingType = exports.AppTaskState = exports.AppStoredEntityCondition = exports.AppSecurityPoliciesPermissionTypeExtension = exports.AppSecurityPoliciesPermissionType = exports.AppNetworkPermissionTypeExtension = exports.AppNetworkPermissionType = exports.AppEnvironmentType = exports.AppDeploymentStepStatus = exports.AppDeploymentStatus = exports.AppDeploymentEventLogLevel = exports.ApiGroup = exports.ApiContext = exports.ActivityProduct = exports.ActivityObjectType = exports.ActivityEventType = exports.ActivitiesObjectType = exports.ActivitiesFilterType = exports.ActivitiesContainerType = exports.AccountStatus = void 0;
4
4
  var AccountStatus;
5
5
  (function (AccountStatus) {
6
6
  AccountStatus["Active"] = "active";
@@ -147,6 +147,10 @@ var AtlassianProductHostingType;
147
147
  AtlassianProductHostingType["Server"] = "SERVER";
148
148
  AtlassianProductHostingType["DataCenter"] = "DATA_CENTER";
149
149
  })(AtlassianProductHostingType = exports.AtlassianProductHostingType || (exports.AtlassianProductHostingType = {}));
150
+ var BitbucketPermission;
151
+ (function (BitbucketPermission) {
152
+ BitbucketPermission["Admin"] = "ADMIN";
153
+ })(BitbucketPermission = exports.BitbucketPermission || (exports.BitbucketPermission = {}));
150
154
  var BoardFeatureStatus;
151
155
  (function (BoardFeatureStatus) {
152
156
  BoardFeatureStatus["Enabled"] = "ENABLED";
@@ -160,11 +164,27 @@ var BoardFeatureToggleStatus;
160
164
  })(BoardFeatureToggleStatus = exports.BoardFeatureToggleStatus || (exports.BoardFeatureToggleStatus = {}));
161
165
  var BuiltinPolarisIdeaField;
162
166
  (function (BuiltinPolarisIdeaField) {
167
+ BuiltinPolarisIdeaField["Assignee"] = "ASSIGNEE";
168
+ BuiltinPolarisIdeaField["Created"] = "CREATED";
169
+ BuiltinPolarisIdeaField["Creator"] = "CREATOR";
170
+ BuiltinPolarisIdeaField["Description"] = "DESCRIPTION";
171
+ BuiltinPolarisIdeaField["IssueId"] = "ISSUE_ID";
172
+ BuiltinPolarisIdeaField["IssueType"] = "ISSUE_TYPE";
163
173
  BuiltinPolarisIdeaField["Key"] = "KEY";
174
+ BuiltinPolarisIdeaField["Labels"] = "LABELS";
175
+ BuiltinPolarisIdeaField["Reporter"] = "REPORTER";
176
+ BuiltinPolarisIdeaField["Status"] = "STATUS";
164
177
  BuiltinPolarisIdeaField["Summary"] = "SUMMARY";
165
- BuiltinPolarisIdeaField["Description"] = "DESCRIPTION";
166
- BuiltinPolarisIdeaField["Implementations"] = "IMPLEMENTATIONS";
167
- BuiltinPolarisIdeaField["Supports"] = "SUPPORTS";
178
+ BuiltinPolarisIdeaField["Updated"] = "UPDATED";
179
+ BuiltinPolarisIdeaField["Votes"] = "VOTES";
180
+ BuiltinPolarisIdeaField["Archived"] = "ARCHIVED";
181
+ BuiltinPolarisIdeaField["ArchivedBy"] = "ARCHIVED_BY";
182
+ BuiltinPolarisIdeaField["ArchivedOn"] = "ARCHIVED_ON";
183
+ BuiltinPolarisIdeaField["DeliveryProgress"] = "DELIVERY_PROGRESS";
184
+ BuiltinPolarisIdeaField["DeliveryStatus"] = "DELIVERY_STATUS";
185
+ BuiltinPolarisIdeaField["IssueComments"] = "ISSUE_COMMENTS";
186
+ BuiltinPolarisIdeaField["LinkedIssues"] = "LINKED_ISSUES";
187
+ BuiltinPolarisIdeaField["NumDataPoints"] = "NUM_DATA_POINTS";
168
188
  })(BuiltinPolarisIdeaField = exports.BuiltinPolarisIdeaField || (exports.BuiltinPolarisIdeaField = {}));
169
189
  var CardHierarchyLevelEnumType;
170
190
  (function (CardHierarchyLevelEnumType) {
@@ -324,6 +344,18 @@ var EpicView;
324
344
  EpicView["Completed"] = "COMPLETED";
325
345
  EpicView["Incomplete"] = "INCOMPLETE";
326
346
  })(EpicView = exports.EpicView || (exports.EpicView = {}));
347
+ var EventKnownAvIs;
348
+ (function (EventKnownAvIs) {
349
+ EventKnownAvIs["AviJiraIssueCreated"] = "AVI_JIRA_ISSUE_CREATED";
350
+ EventKnownAvIs["AviJiraIssueUpdated"] = "AVI_JIRA_ISSUE_UPDATED";
351
+ EventKnownAvIs["AviBitbucketPrCreated"] = "AVI_BITBUCKET_PR_CREATED";
352
+ })(EventKnownAvIs = exports.EventKnownAvIs || (exports.EventKnownAvIs = {}));
353
+ var EventMatchingStrategies;
354
+ (function (EventMatchingStrategies) {
355
+ EventMatchingStrategies["JiraByProject"] = "JIRA_BY_PROJECT";
356
+ EventMatchingStrategies["JiraByIssue"] = "JIRA_BY_ISSUE";
357
+ EventMatchingStrategies["BitbucketByRepo"] = "BITBUCKET_BY_REPO";
358
+ })(EventMatchingStrategies = exports.EventMatchingStrategies || (exports.EventMatchingStrategies = {}));
327
359
  var FunctionTriggerType;
328
360
  (function (FunctionTriggerType) {
329
361
  FunctionTriggerType["Frontend"] = "FRONTEND";
@@ -371,10 +403,107 @@ var IssueDevOpsPullRequestStatus;
371
403
  IssueDevOpsPullRequestStatus["Merged"] = "MERGED";
372
404
  IssueDevOpsPullRequestStatus["Declined"] = "DECLINED";
373
405
  })(IssueDevOpsPullRequestStatus = exports.IssueDevOpsPullRequestStatus || (exports.IssueDevOpsPullRequestStatus = {}));
406
+ var JiraAttachmentsPermissions;
407
+ (function (JiraAttachmentsPermissions) {
408
+ JiraAttachmentsPermissions["CreateAttachments"] = "CREATE_ATTACHMENTS";
409
+ JiraAttachmentsPermissions["DeleteOwnAttachments"] = "DELETE_OWN_ATTACHMENTS";
410
+ })(JiraAttachmentsPermissions = exports.JiraAttachmentsPermissions || (exports.JiraAttachmentsPermissions = {}));
411
+ var JiraCascadingSelectOptionType;
412
+ (function (JiraCascadingSelectOptionType) {
413
+ JiraCascadingSelectOptionType["Parent"] = "PARENT";
414
+ JiraCascadingSelectOptionType["Child"] = "CHILD";
415
+ JiraCascadingSelectOptionType["All"] = "ALL";
416
+ })(JiraCascadingSelectOptionType = exports.JiraCascadingSelectOptionType || (exports.JiraCascadingSelectOptionType = {}));
417
+ var JiraDevOpsIssuePanelBannerType;
418
+ (function (JiraDevOpsIssuePanelBannerType) {
419
+ JiraDevOpsIssuePanelBannerType["IssueKeyOnboarding"] = "ISSUE_KEY_ONBOARDING";
420
+ })(JiraDevOpsIssuePanelBannerType = exports.JiraDevOpsIssuePanelBannerType || (exports.JiraDevOpsIssuePanelBannerType = {}));
421
+ var JiraDevOpsIssuePanelState;
422
+ (function (JiraDevOpsIssuePanelState) {
423
+ JiraDevOpsIssuePanelState["Hidden"] = "HIDDEN";
424
+ JiraDevOpsIssuePanelState["NotConnected"] = "NOT_CONNECTED";
425
+ JiraDevOpsIssuePanelState["DevSummary"] = "DEV_SUMMARY";
426
+ })(JiraDevOpsIssuePanelState = exports.JiraDevOpsIssuePanelState || (exports.JiraDevOpsIssuePanelState = {}));
427
+ var JiraGrantTypeKeyEnum;
428
+ (function (JiraGrantTypeKeyEnum) {
429
+ JiraGrantTypeKeyEnum["ProjectRole"] = "PROJECT_ROLE";
430
+ JiraGrantTypeKeyEnum["ApplicationRole"] = "APPLICATION_ROLE";
431
+ JiraGrantTypeKeyEnum["User"] = "USER";
432
+ JiraGrantTypeKeyEnum["Group"] = "GROUP";
433
+ JiraGrantTypeKeyEnum["MultiUserPicker"] = "MULTI_USER_PICKER";
434
+ JiraGrantTypeKeyEnum["MultiGroupPicker"] = "MULTI_GROUP_PICKER";
435
+ JiraGrantTypeKeyEnum["ServiceProjectCustomerPortalAccess"] = "SERVICE_PROJECT_CUSTOMER_PORTAL_ACCESS";
436
+ JiraGrantTypeKeyEnum["Reporter"] = "REPORTER";
437
+ JiraGrantTypeKeyEnum["ProjectLead"] = "PROJECT_LEAD";
438
+ JiraGrantTypeKeyEnum["Assignee"] = "ASSIGNEE";
439
+ JiraGrantTypeKeyEnum["AnonymousAccess"] = "ANONYMOUS_ACCESS";
440
+ JiraGrantTypeKeyEnum["AnyLoggedinUserApplicationRole"] = "ANY_LOGGEDIN_USER_APPLICATION_ROLE";
441
+ })(JiraGrantTypeKeyEnum = exports.JiraGrantTypeKeyEnum || (exports.JiraGrantTypeKeyEnum = {}));
442
+ var JiraIssueLinkDirection;
443
+ (function (JiraIssueLinkDirection) {
444
+ JiraIssueLinkDirection["Inward"] = "INWARD";
445
+ JiraIssueLinkDirection["Outward"] = "OUTWARD";
446
+ })(JiraIssueLinkDirection = exports.JiraIssueLinkDirection || (exports.JiraIssueLinkDirection = {}));
447
+ var JiraJqlAutocompleteType;
448
+ (function (JiraJqlAutocompleteType) {
449
+ JiraJqlAutocompleteType["None"] = "NONE";
450
+ JiraJqlAutocompleteType["Component"] = "COMPONENT";
451
+ JiraJqlAutocompleteType["Group"] = "GROUP";
452
+ JiraJqlAutocompleteType["Issue"] = "ISSUE";
453
+ JiraJqlAutocompleteType["Issuetype"] = "ISSUETYPE";
454
+ JiraJqlAutocompleteType["Priority"] = "PRIORITY";
455
+ JiraJqlAutocompleteType["Project"] = "PROJECT";
456
+ JiraJqlAutocompleteType["Sprint"] = "SPRINT";
457
+ JiraJqlAutocompleteType["Statuscategory"] = "STATUSCATEGORY";
458
+ JiraJqlAutocompleteType["Status"] = "STATUS";
459
+ JiraJqlAutocompleteType["User"] = "USER";
460
+ JiraJqlAutocompleteType["Version"] = "VERSION";
461
+ })(JiraJqlAutocompleteType = exports.JiraJqlAutocompleteType || (exports.JiraJqlAutocompleteType = {}));
462
+ var JiraJqlBuilderMode;
463
+ (function (JiraJqlBuilderMode) {
464
+ JiraJqlBuilderMode["Jql"] = "JQL";
465
+ JiraJqlBuilderMode["Basic"] = "BASIC";
466
+ })(JiraJqlBuilderMode = exports.JiraJqlBuilderMode || (exports.JiraJqlBuilderMode = {}));
467
+ var JiraJqlClauseType;
468
+ (function (JiraJqlClauseType) {
469
+ JiraJqlClauseType["Any"] = "ANY";
470
+ JiraJqlClauseType["Where"] = "WHERE";
471
+ JiraJqlClauseType["OrderBy"] = "ORDER_BY";
472
+ })(JiraJqlClauseType = exports.JiraJqlClauseType || (exports.JiraJqlClauseType = {}));
473
+ var JiraJqlOperator;
474
+ (function (JiraJqlOperator) {
475
+ JiraJqlOperator["Equals"] = "EQUALS";
476
+ JiraJqlOperator["NotEquals"] = "NOT_EQUALS";
477
+ JiraJqlOperator["In"] = "IN";
478
+ JiraJqlOperator["NotIn"] = "NOT_IN";
479
+ JiraJqlOperator["Is"] = "IS";
480
+ JiraJqlOperator["IsNot"] = "IS_NOT";
481
+ JiraJqlOperator["LessThan"] = "LESS_THAN";
482
+ JiraJqlOperator["LessThanOrEqual"] = "LESS_THAN_OR_EQUAL";
483
+ JiraJqlOperator["GreaterThan"] = "GREATER_THAN";
484
+ JiraJqlOperator["GreaterThanOrEqual"] = "GREATER_THAN_OR_EQUAL";
485
+ JiraJqlOperator["Contains"] = "CONTAINS";
486
+ JiraJqlOperator["NotContains"] = "NOT_CONTAINS";
487
+ JiraJqlOperator["WasNotIn"] = "WAS_NOT_IN";
488
+ JiraJqlOperator["Changed"] = "CHANGED";
489
+ JiraJqlOperator["WasIn"] = "WAS_IN";
490
+ JiraJqlOperator["Was"] = "WAS";
491
+ JiraJqlOperator["WasNot"] = "WAS_NOT";
492
+ })(JiraJqlOperator = exports.JiraJqlOperator || (exports.JiraJqlOperator = {}));
374
493
  var JiraProjectAndRepositoryRelationshipSortBy;
375
494
  (function (JiraProjectAndRepositoryRelationshipSortBy) {
376
495
  JiraProjectAndRepositoryRelationshipSortBy["LastInferredAt"] = "LAST_INFERRED_AT";
377
496
  })(JiraProjectAndRepositoryRelationshipSortBy = exports.JiraProjectAndRepositoryRelationshipSortBy || (exports.JiraProjectAndRepositoryRelationshipSortBy = {}));
497
+ var JiraProjectPermissionCategoryEnum;
498
+ (function (JiraProjectPermissionCategoryEnum) {
499
+ JiraProjectPermissionCategoryEnum["Projects"] = "PROJECTS";
500
+ JiraProjectPermissionCategoryEnum["Issues"] = "ISSUES";
501
+ JiraProjectPermissionCategoryEnum["VotersAndWatchers"] = "VOTERS_AND_WATCHERS";
502
+ JiraProjectPermissionCategoryEnum["Comments"] = "COMMENTS";
503
+ JiraProjectPermissionCategoryEnum["Attachments"] = "ATTACHMENTS";
504
+ JiraProjectPermissionCategoryEnum["TimeTracking"] = "TIME_TRACKING";
505
+ JiraProjectPermissionCategoryEnum["Other"] = "OTHER";
506
+ })(JiraProjectPermissionCategoryEnum = exports.JiraProjectPermissionCategoryEnum || (exports.JiraProjectPermissionCategoryEnum = {}));
378
507
  var JiraProjectSortField;
379
508
  (function (JiraProjectSortField) {
380
509
  JiraProjectSortField["Name"] = "NAME";
@@ -388,6 +517,12 @@ var JiraProjectType;
388
517
  JiraProjectType["Business"] = "BUSINESS";
389
518
  JiraProjectType["Software"] = "SOFTWARE";
390
519
  })(JiraProjectType = exports.JiraProjectType || (exports.JiraProjectType = {}));
520
+ var JiraPullRequestState;
521
+ (function (JiraPullRequestState) {
522
+ JiraPullRequestState["Open"] = "OPEN";
523
+ JiraPullRequestState["Declined"] = "DECLINED";
524
+ JiraPullRequestState["Merged"] = "MERGED";
525
+ })(JiraPullRequestState = exports.JiraPullRequestState || (exports.JiraPullRequestState = {}));
391
526
  var JiraReleasesEpicReleaseStatusFilter;
392
527
  (function (JiraReleasesEpicReleaseStatusFilter) {
393
528
  JiraReleasesEpicReleaseStatusFilter["Released"] = "RELEASED";
@@ -399,6 +534,51 @@ var JiraReleasesIssueReleaseStatusFilter;
399
534
  JiraReleasesIssueReleaseStatusFilter["Unreleased"] = "UNRELEASED";
400
535
  JiraReleasesIssueReleaseStatusFilter["ReleasedAndUnreleased"] = "RELEASED_AND_UNRELEASED";
401
536
  })(JiraReleasesIssueReleaseStatusFilter = exports.JiraReleasesIssueReleaseStatusFilter || (exports.JiraReleasesIssueReleaseStatusFilter = {}));
537
+ var JiraReviewState;
538
+ (function (JiraReviewState) {
539
+ JiraReviewState["Review"] = "REVIEW";
540
+ JiraReviewState["Approval"] = "APPROVAL";
541
+ JiraReviewState["Summarize"] = "SUMMARIZE";
542
+ JiraReviewState["Rejected"] = "REJECTED";
543
+ JiraReviewState["Closed"] = "CLOSED";
544
+ JiraReviewState["Draft"] = "DRAFT";
545
+ JiraReviewState["Dead"] = "DEAD";
546
+ JiraReviewState["Unknown"] = "UNKNOWN";
547
+ })(JiraReviewState = exports.JiraReviewState || (exports.JiraReviewState = {}));
548
+ var JiraSprintState;
549
+ (function (JiraSprintState) {
550
+ JiraSprintState["Active"] = "ACTIVE";
551
+ JiraSprintState["Future"] = "FUTURE";
552
+ JiraSprintState["Closed"] = "CLOSED";
553
+ })(JiraSprintState = exports.JiraSprintState || (exports.JiraSprintState = {}));
554
+ var JiraStatusCategoryColor;
555
+ (function (JiraStatusCategoryColor) {
556
+ JiraStatusCategoryColor["MediumGray"] = "MEDIUM_GRAY";
557
+ JiraStatusCategoryColor["Green"] = "GREEN";
558
+ JiraStatusCategoryColor["Yellow"] = "YELLOW";
559
+ JiraStatusCategoryColor["Brown"] = "BROWN";
560
+ JiraStatusCategoryColor["WarmRed"] = "WARM_RED";
561
+ JiraStatusCategoryColor["BlueGray"] = "BLUE_GRAY";
562
+ })(JiraStatusCategoryColor = exports.JiraStatusCategoryColor || (exports.JiraStatusCategoryColor = {}));
563
+ var JiraTimeFormat;
564
+ (function (JiraTimeFormat) {
565
+ JiraTimeFormat["Pretty"] = "PRETTY";
566
+ JiraTimeFormat["Days"] = "DAYS";
567
+ JiraTimeFormat["Hours"] = "HOURS";
568
+ })(JiraTimeFormat = exports.JiraTimeFormat || (exports.JiraTimeFormat = {}));
569
+ var JiraTimeUnit;
570
+ (function (JiraTimeUnit) {
571
+ JiraTimeUnit["Minute"] = "MINUTE";
572
+ JiraTimeUnit["Hour"] = "HOUR";
573
+ JiraTimeUnit["Day"] = "DAY";
574
+ JiraTimeUnit["Week"] = "WEEK";
575
+ })(JiraTimeUnit = exports.JiraTimeUnit || (exports.JiraTimeUnit = {}));
576
+ var JiraVersionStatus;
577
+ (function (JiraVersionStatus) {
578
+ JiraVersionStatus["Released"] = "RELEASED";
579
+ JiraVersionStatus["Unreleased"] = "UNRELEASED";
580
+ JiraVersionStatus["Archived"] = "ARCHIVED";
581
+ })(JiraVersionStatus = exports.JiraVersionStatus || (exports.JiraVersionStatus = {}));
402
582
  var LicenseOverrideState;
403
583
  (function (LicenseOverrideState) {
404
584
  LicenseOverrideState["Active"] = "ACTIVE";
@@ -431,6 +611,11 @@ var MarketplaceCloudFortifiedStatus;
431
611
  MarketplaceCloudFortifiedStatus["Rejected"] = "REJECTED";
432
612
  MarketplaceCloudFortifiedStatus["NotAParticipant"] = "NOT_A_PARTICIPANT";
433
613
  })(MarketplaceCloudFortifiedStatus = exports.MarketplaceCloudFortifiedStatus || (exports.MarketplaceCloudFortifiedStatus = {}));
614
+ var MarketplaceEntityStatus;
615
+ (function (MarketplaceEntityStatus) {
616
+ MarketplaceEntityStatus["Active"] = "ACTIVE";
617
+ MarketplaceEntityStatus["Archived"] = "ARCHIVED";
618
+ })(MarketplaceEntityStatus = exports.MarketplaceEntityStatus || (exports.MarketplaceEntityStatus = {}));
434
619
  var MarketplaceListingStatus;
435
620
  (function (MarketplaceListingStatus) {
436
621
  MarketplaceListingStatus["Private"] = "PRIVATE";
@@ -477,6 +662,7 @@ var MarketplacePricingTierType;
477
662
  var PolarisCommentKind;
478
663
  (function (PolarisCommentKind) {
479
664
  PolarisCommentKind["View"] = "VIEW";
665
+ PolarisCommentKind["PlayContribution"] = "PLAY_CONTRIBUTION";
480
666
  })(PolarisCommentKind = exports.PolarisCommentKind || (exports.PolarisCommentKind = {}));
481
667
  var PolarisFieldType;
482
668
  (function (PolarisFieldType) {
@@ -489,7 +675,12 @@ var PolarisFieldType;
489
675
  PolarisFieldType["PolarisIdeaOptionsField"] = "PolarisIdeaOptionsField";
490
676
  PolarisFieldType["PolarisIdeaLabelsField"] = "PolarisIdeaLabelsField";
491
677
  PolarisFieldType["PolarisIdeaNumberField"] = "PolarisIdeaNumberField";
678
+ PolarisFieldType["PolarisIdeaPlayField"] = "PolarisIdeaPlayField";
492
679
  })(PolarisFieldType = exports.PolarisFieldType || (exports.PolarisFieldType = {}));
680
+ var PolarisPlayKind;
681
+ (function (PolarisPlayKind) {
682
+ PolarisPlayKind["PolarisBudgetAllocationPlay"] = "PolarisBudgetAllocationPlay";
683
+ })(PolarisPlayKind = exports.PolarisPlayKind || (exports.PolarisPlayKind = {}));
493
684
  var PolarisRefreshError;
494
685
  (function (PolarisRefreshError) {
495
686
  PolarisRefreshError["NeedAuth"] = "NEED_AUTH";
@@ -24,6 +24,11 @@ export declare class MinimalGraphQLRunner implements GraphQLRunner {
24
24
  response: any;
25
25
  }>;
26
26
  protected getAuthenticatedClient(endpoint: string, authorizationHeader: AuthorizationHeader): GraphQLClient;
27
+ getHeaders(authorizationHeader: AuthorizationHeader): {
28
+ [key: string]: string;
29
+ };
30
+ private getClientName;
31
+ private getClientVersion;
27
32
  private rawRequestWithoutClientError;
28
33
  private getRequestId;
29
34
  }
@@ -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,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAItC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQjD,qBAAa,0BAA2B,SAAQ,KAAK;CAAG;AAIxD,qBAAa,0BAA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a,SAAQ,KAAK;gBACzB,IAAI,EAAE,GAAG,EAAE,SAAS,CAAC,EAAE,MAAM;CAG1C;AAED,qBAAa,oBAAqB,YAAW,aAAa;IAEtD,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,UAAU;gBAFV,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,UAAU,GAAG,SAAS;IAGxC,GAAG,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU;;;;IA+BjE,SAAS,CAAC,sBAAsB,CAAC,QAAQ,EAAE,MAAM,EAAE,mBAAmB,EAAE,mBAAmB;IAMpF,UAAU,CAAC,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"}
@@ -54,9 +54,23 @@ class MinimalGraphQLRunner {
54
54
  }
55
55
  getAuthenticatedClient(endpoint, authorizationHeader) {
56
56
  return new graphql_request_1.GraphQLClient(endpoint, {
57
- headers: Object.assign(Object.assign({}, authorizationHeader), (this.cliDetails ? { 'user-agent': `${this.cliDetails.name}/${this.cliDetails.version}` } : {}))
57
+ headers: this.getHeaders(authorizationHeader)
58
58
  });
59
59
  }
60
+ getHeaders(authorizationHeader) {
61
+ return Object.assign(Object.assign(Object.assign({}, authorizationHeader), (this.cliDetails ? { 'user-agent': `${this.getClientName()}/${this.getClientVersion()}` } : {})), {
62
+ 'atl-client-name': `${this.getClientName()}`,
63
+ 'atl-client-version': `${this.getClientVersion()}`
64
+ });
65
+ }
66
+ getClientName() {
67
+ var _a;
68
+ return ((_a = this.cliDetails) === null || _a === void 0 ? void 0 : _a.name) || '@forge/cli';
69
+ }
70
+ getClientVersion() {
71
+ var _a;
72
+ return ((_a = this.cliDetails) === null || _a === void 0 ? void 0 : _a.version) || 'unknown';
73
+ }
60
74
  async rawRequestWithoutClientError(query, variables) {
61
75
  const authorizationHeader = await this.authenticator.getAuthorizationHeader();
62
76
  const client = this.getAuthenticatedClient(this.endpoint, authorizationHeader);
@@ -11,7 +11,7 @@ export declare class MutationAwareGraphQLClient implements GraphQLClient {
11
11
  private readonly runner;
12
12
  constructor(runner: GraphQLRunner);
13
13
  mutate<TLabel extends keyof AvailableMutations, TVariables>(query: string, variables: TVariables): Promise<{
14
- response: Record<TLabel, NonNullable<Required<Pick<import("./graphql-types").Mutation, "compass" | "createApp" | "updateAppDetails" | "deleteApp" | "updateAtlassianOAuthClient" | "createColumn" | "setColumnName" | "rankColumn" | "setColumnLimit" | "deleteColumn" | "startSprint" | "createSprint" | "completeSprint" | "deleteSprint" | "moveSprintUp" | "moveSprintDown" | "editSprint" | "setUserSwimlaneStrategy" | "setSwimlaneStrategy" | "setEstimationType" | "createCustomFilter" | "updateCustomFilter" | "deleteCustomFilter" | "createDevOpsServiceAndOpsgenieTeamRelationship" | "updateDevOpsServiceAndOpsgenieTeamRelationship" | "deleteDevOpsServiceAndOpsgenieTeamRelationship" | "updateDevOpsContainerRelationshipEntityProperties" | "deleteDevOpsContainerRelationshipEntityProperties" | "createDevOpsServiceAndJiraProjectRelationship" | "updateDevOpsServiceAndJiraProjectRelationship" | "deleteDevOpsServiceAndJiraProjectRelationship" | "createDevOpsServiceAndRepositoryRelationship" | "updateDevOpsServiceAndRepositoryRelationship" | "deleteDevOpsServiceAndRepositoryRelationship" | "createJiraProjectAndOpsgenieTeamRelationship" | "updateJiraProjectAndOpsgenieTeamRelationship" | "deleteJiraProjectAndOpsgenieTeamRelationship" | "createJiraProjectAndRepositoryRelationship" | "updateJiraProjectAndRepositoryRelationship" | "deleteJiraProjectAndRepositoryRelationship" | "createDevOpsService" | "updateDevOpsService" | "deleteDevOpsService" | "createDevOpsServiceRelationship" | "updateDevOpsServiceRelationship" | "deleteDevOpsServiceRelationship" | "updateDevOpsServiceEntityProperties" | "deleteDevOpsServiceEntityProperties" | "appStorage" | "createPolarisView" | "updatePolarisView" | "updatePolarisViewRankV2" | "deletePolarisView" | "createPolarisViewSet" | "updatePolarisViewSet" | "deletePolarisViewSet" | "createPolarisDecoration" | "updatePolarisDecoration" | "deletePolarisDecoration" | "createPolarisInsight" | "updatePolarisInsight" | "deletePolarisInsight" | "createPolarisStandardField" | "createPolarisCalculatedField" | "updatePolarisCalculatedField" | "updatePolarisFieldDescription" | "resolvePolarisObject" | "deletePolarisField" | "refreshPolarisSnippets" | "configurePolarisRefresh" | "applyPolarisProjectTemplate" | "setPolarisProjectOnboarded" | "updatePolarisTermsConsent" | "invokePolarisObject" | "setPolarisSnippetPropertiesConfig" | "setPolarisSelectedDeliveryProject" | "createPolarisComment" | "updatePolarisComment" | "copyPolarisInsights" | "updatePolarisIdea" | "updatePolarisFieldOptionWeight" | "deletePolarisFieldOption" | "archivePolarisInsights" | "unarchivePolarisInsights" | "createPolarisAnonymousVisitorHash" | "deletePolarisAnonymousVisitorHash" | "createAppTunnels" | "deleteAppTunnels" | "invokeExtension" | "invokeAuxEffects" | "userAuthTokenForExtension" | "createWebTriggerUrl" | "deleteWebTriggerUrl" | "installApp" | "uninstallApp" | "upgradeApp" | "subscribeToApp" | "unsubscribeFromApp" | "watchMarketplaceApp" | "unwatchMarketplaceApp" | "createAppDeploymentUrl" | "createHostedResourceUploadUrl" | "setExternalAuthCredentials" | "setAppEnvironmentVariable" | "deleteAppEnvironmentVariable" | "createAppDeployment">>[TLabel]>>;
14
+ response: Record<TLabel, NonNullable<Required<Pick<import("./graphql-types").Mutation, "customerSupport" | "jira" | "ecosystem" | "compass" | "createApp" | "updateAppDetails" | "deleteApp" | "updateAtlassianOAuthClient" | "createColumn" | "setColumnName" | "rankColumn" | "setColumnLimit" | "deleteColumn" | "startSprint" | "createSprint" | "completeSprint" | "deleteSprint" | "moveSprintUp" | "moveSprintDown" | "editSprint" | "setUserSwimlaneStrategy" | "setSwimlaneStrategy" | "setEstimationType" | "createCustomFilter" | "updateCustomFilter" | "deleteCustomFilter" | "boardCardMove" | "assignIssueParent" | "unassignIssueParent" | "createDevOpsServiceAndOpsgenieTeamRelationship" | "updateDevOpsServiceAndOpsgenieTeamRelationship" | "deleteDevOpsServiceAndOpsgenieTeamRelationship" | "updateDevOpsContainerRelationshipEntityProperties" | "deleteDevOpsContainerRelationshipEntityProperties" | "createDevOpsServiceAndJiraProjectRelationship" | "updateDevOpsServiceAndJiraProjectRelationship" | "deleteDevOpsServiceAndJiraProjectRelationship" | "createDevOpsServiceAndRepositoryRelationship" | "updateDevOpsServiceAndRepositoryRelationship" | "deleteDevOpsServiceAndRepositoryRelationship" | "createJiraProjectAndOpsgenieTeamRelationship" | "updateJiraProjectAndOpsgenieTeamRelationship" | "deleteJiraProjectAndOpsgenieTeamRelationship" | "createJiraProjectAndRepositoryRelationship" | "updateJiraProjectAndRepositoryRelationship" | "deleteJiraProjectAndRepositoryRelationship" | "createDevOpsService" | "updateDevOpsService" | "deleteDevOpsService" | "createDevOpsServiceRelationship" | "updateDevOpsServiceRelationship" | "deleteDevOpsServiceRelationship" | "updateDevOpsServiceEntityProperties" | "deleteDevOpsServiceEntityProperties" | "updateDeveloperLogAccess" | "appStorage" | "createPolarisView" | "updatePolarisView" | "updatePolarisViewRankV2" | "deletePolarisView" | "createPolarisViewSet" | "updatePolarisViewSet" | "deletePolarisViewSet" | "createPolarisDecoration" | "updatePolarisDecoration" | "deletePolarisDecoration" | "createPolarisInsight" | "updatePolarisInsight" | "deletePolarisInsight" | "createPolarisStandardField" | "createPolarisCalculatedField" | "updatePolarisCalculatedField" | "updatePolarisFieldDescription" | "resolvePolarisObject" | "deletePolarisField" | "refreshPolarisSnippets" | "configurePolarisRefresh" | "applyPolarisProjectTemplate" | "setPolarisProjectOnboarded" | "updatePolarisTermsConsent" | "invokePolarisObject" | "setPolarisSnippetPropertiesConfig" | "setPolarisSelectedDeliveryProject" | "createPolarisComment" | "updatePolarisComment" | "copyPolarisInsights" | "updatePolarisIdea" | "updatePolarisFieldOptionWeight" | "deletePolarisFieldOption" | "archivePolarisInsights" | "unarchivePolarisInsights" | "createPolarisAnonymousVisitorHash" | "deletePolarisAnonymousVisitorHash" | "createPolarisPlay" | "createPolarisPlayContribution" | "updatePolarisPlayContribution" | "deletePolarisPlayContribution" | "createPolarisInsightFromPlayContribution" | "createAppTunnels" | "deleteAppTunnels" | "invokeExtension" | "invokeAuxEffects" | "userAuthTokenForExtension" | "createWebTriggerUrl" | "deleteWebTriggerUrl" | "installApp" | "uninstallApp" | "upgradeApp" | "subscribeToApp" | "unsubscribeFromApp" | "watchMarketplaceApp" | "unwatchMarketplaceApp" | "createAppDeploymentUrl" | "createHostedResourceUploadUrl" | "setExternalAuthCredentials" | "setAppEnvironmentVariable" | "deleteAppEnvironmentVariable" | "createAppDeployment">>[TLabel]>>;
15
15
  requestId: string | undefined;
16
16
  }>;
17
17
  query<TVariables, TResponse>(query: string, variables: TVariables): Promise<TResponse>;
@@ -1 +1 @@
1
- {"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../src/shared/product.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,UAAyB,CAAC;AAEzD,eAAO,MAAM,mBAAmB,YAAa,MAAM,KAAG,OAErD,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,UAEhD"}
1
+ {"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../src/shared/product.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,UAAoC,CAAC;AAEpE,eAAO,MAAM,mBAAmB,YAAa,MAAM,KAAG,OAErD,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,UAEhD"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.capitalizeProduct = exports.isSuppportedProduct = exports.SUPPORTED_PRODUCTS = void 0;
4
4
  const case_1 = require("case");
5
- exports.SUPPORTED_PRODUCTS = ['Jira', 'Confluence'];
5
+ exports.SUPPORTED_PRODUCTS = ['Jira', 'Confluence', 'Compass'];
6
6
  exports.isSuppportedProduct = (product) => {
7
7
  return exports.SUPPORTED_PRODUCTS.includes(product);
8
8
  };
package/out/ui/text.d.ts CHANGED
@@ -275,6 +275,14 @@ export declare const Text: {
275
275
  lintError: string;
276
276
  lintWarning: (numWarnings: number) => string;
277
277
  };
278
+ connectKeyChange: {
279
+ continueChange: string;
280
+ continueDelete: string;
281
+ mpacAppConnectKeyChangeAnalyticsError: string;
282
+ mpacAppConnectKeyChangeError: (mpacAppKey: string, connectKey: string) => string;
283
+ connectKeyChangeWarning: (environment: string, migrationKey: string, connectKey: string) => string;
284
+ connectKeyDeleteWarning: (environment: string) => string;
285
+ };
278
286
  taskPackage: {
279
287
  title: string;
280
288
  archiverWarning: (err: Error) => string;
@@ -313,9 +321,10 @@ export declare const Text: {
313
321
  optionConfirmScopes: string;
314
322
  optionUpgrade: string;
315
323
  listScopes: (scopes: string[]) => string;
316
- scopesMismatch: (environment: string) => string;
324
+ listEgressAddresses: (egressAddresses: string[]) => string;
325
+ permissionsMismatch: (environment: string) => string;
317
326
  multiProductScopesDetected: (productsToInstall: string[], productsToUpgrade: string[], site: string, environment: string, environmentToOption: EnvironmentToOption) => string;
318
- promptForScopesConfirmation: (scopesMismatchInDevelopment: boolean) => string;
327
+ promptForPermissionsConfirmation: (permissionsMismatchInDevelopment: boolean) => string;
319
328
  success: {
320
329
  banner: (environment: string, environmentToOption: EnvironmentToOption, product: string, site: string) => string;
321
330
  };
@@ -351,8 +360,9 @@ export declare const Text: {
351
360
  error: string;
352
361
  };
353
362
  listScopes: (scopes: string[]) => string;
354
- scopesMismatch: (environment: string) => string;
355
- promptForScopesConfirmation: (scopesMismatchInDevelopment: boolean) => string;
363
+ listEgressAddresses: (egressAddresses: string[]) => string;
364
+ permissionsMismatch: (environment: string) => string;
365
+ promptForPermissionsConfirmation: (permissionsMismatchInDevelopment: boolean) => string;
356
366
  success: {
357
367
  banner: (environment: string, environmentToOption: EnvironmentToOption, product: string, site: string) => string;
358
368
  };
@@ -446,6 +456,7 @@ export declare const Text: {
446
456
  error: {
447
457
  funcKey: string;
448
458
  noWebtriggers: string;
459
+ creationError: (message: string) => string;
449
460
  };
450
461
  };
451
462
  logs: {
@@ -474,6 +485,9 @@ export declare const Text: {
474
485
  fixSummary: (numErrors: number, numFixableErrors: number, numFixableWarnings: number) => string;
475
486
  warning: (line: number, column: number, message: string, reference: string) => string;
476
487
  };
488
+ stub: {
489
+ error: (newName: string, oldName: string) => string;
490
+ };
477
491
  customPrompts: {
478
492
  table: {
479
493
  promptMessage: (message: string) => string;
@@ -484,6 +498,9 @@ export declare const Text: {
484
498
  decorateSelected: (site: string) => string;
485
499
  };
486
500
  };
501
+ variables: {
502
+ description: string;
503
+ };
487
504
  settings: {
488
505
  description: string;
489
506
  analytics: {
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/ui/text.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAK1B,aAAK,mBAAmB,GAAG,CAAC,WAAW,EAAE,MAAM,KAAK,MAAM,CAAC;AAY3D,eAAO,MAAM,UAAU,SAAU,MAAM,KAAG,MAAsD,CAAC;AAyCjG,eAAO,MAAM,IAAI;;;;;6BAWM,MAAM;2BACR,MAAM;6BAGJ,MAAM;+BAEJ,MAAM;;wCAIK,MAAM,UAAU,MAAM;oDAOV,MAAM;0CAKhB,KAAK;wCACP,MAAM;;;;6CAWD,MAAM,YAAY,MAAM,YAAY,MAAM;;;qCAQlD,GAAG,WAAW,OAAO,CAAC,GAAG,CAAC;kDAEb,MAAM,EAAE;gDAKV,MAAM,aAAa,MAAM;8CAG3B,MAAM,aAAa,MAAM;;;;;;;;;;;;;;uCAoB9B,MAAM,EAAE;;0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;;;kCAIJ,MAAM;oCAEJ,MAAM;;;;qDAKa,MAAM;kDAGT,MAAM;0CAGd,MAAM,aAAa,OAAO;oCAIhC,MAAM;iDACO,MAAM;;;;;;;uCAWhB,MAAM;;;;;;;+BAQd,OAAO;;;;;;;;wBASjB,MAAM,UACP,MAAM,eACD,MAAM,uBACE,mBAAmB,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
@@ -261,9 +261,9 @@ What do you like or don't like about Forge? Share your feedback below or press C
261
261
  }
262
262
  },
263
263
  varsList: {
264
- hint: `\nRun ${chalk_1.default.bold('forge variables:list')} to see your environment variables.\n`,
264
+ hint: `\nRun ${chalk_1.default.bold('forge variables list')} to see your environment variables.\n`,
265
265
  cmd: 'list the environment variables',
266
- empty: (environment, environmentToOption) => `There are no variables in the ${environmentToOption(environment)} environment.\n\nUse ${chalk_1.default.bold('forge variables:set')} to create a variable.\n`,
266
+ empty: (environment, environmentToOption) => `There are no variables in the ${environmentToOption(environment)} environment.\n\nUse ${chalk_1.default.bold('forge variables set')} to create a variable.\n`,
267
267
  encryptedValue,
268
268
  overview: (environment, environmentToOption) => `Showing variables from the ${environmentToOption(environment)} environment:\n`,
269
269
  postfix: `\nNote, the values of encrypted variables are shown as ${encryptedValue}.\n`
@@ -320,6 +320,17 @@ What do you like or don't like about Forge? Share your feedback below or press C
320
320
  return log_color_1.LogColor.warn(`${pluralCheckedTotal} found. Run ${chalk_1.default.bold('forge lint')} to review the warnings.`);
321
321
  }
322
322
  },
323
+ connectKeyChange: {
324
+ continueChange: `Do you wish to continue with changing the Connect key?`,
325
+ continueDelete: `Do you wish to contine with deleting the Connect key?`,
326
+ mpacAppConnectKeyChangeAnalyticsError: 'Cannot change app.connect.key for an app with an Atlassian Marketplace listing.',
327
+ mpacAppConnectKeyChangeError: (mpacAppKey, connectKey) => log_color_1.LogColor.error(`Cannot change the app.connect.key from \'${mpacAppKey}\' to \'${connectKey}\'. The app's Connect key must match the Atlassian Marketplace key.\n`),
328
+ connectKeyChangeWarning: (environment, migrationKey, connectKey) => `WARNING: Changing the app.connect.key in ${environment} from \'${migrationKey}\' to \'${connectKey}\' affects features using the Connect key as an identifier. ` +
329
+ `\nLearn more about the impact of this change at http://go.atlassian.com/forge-connect-key-changes.\n`,
330
+ connectKeyDeleteWarning: (environment) => `WARNING: You're about to delete the app.connect.key of the app in ${environment}. ` +
331
+ `\nIf you proceed, non-Forge Connect installations using the Connect key will no longer be replaced by future Forge installations of the app, and will co-exist. ` +
332
+ `\nLearn more at http://go.atlassian.com/forge-connect-key-deletion.\n`
333
+ },
323
334
  taskPackage: {
324
335
  title: 'Packaging app files',
325
336
  archiverWarning: (err) => `Packaging warning: ${err.message}`,
@@ -340,8 +351,8 @@ What do you like or don't like about Forge? Share your feedback below or press C
340
351
  error: {
341
352
  notFound: "Couldn't find app deployment"
342
353
  },
343
- outdatedInstallations: `Warning: We've detected changes that affect your app's permissions. Your app requires an upgrade. \n` +
344
- `Run ${chalk_1.default.bold('forge install --upgrade')} for your deployment changes to take effect.`,
354
+ outdatedInstallations: `We've detected new scopes or egress URLs in your app.\n` +
355
+ `Run ${chalk_1.default.bold('forge install --upgrade')} and restart your tunnel to put them into effect.`,
345
356
  egressURL: {
346
357
  invalidURLError: (cause) => {
347
358
  const urls = cause
@@ -385,7 +396,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
385
396
  },
386
397
  install: {
387
398
  cmd: {
388
- description: 'install the app on an Atlassian site',
399
+ description: 'manage app installations',
389
400
  start: (environment) => `Installing your app on to ${environment}...`,
390
401
  end: (displayTick) => `${displayTick ? greenTick + ' ' : ''}Install complete!`
391
402
  },
@@ -394,13 +405,14 @@ What do you like or don't like about Forge? Share your feedback below or press C
394
405
  optionConfirmScopes: 'skip confirmation of scopes for the app before installing or upgrading the app',
395
406
  optionUpgrade: 'upgrade an existing installation',
396
407
  listScopes: (scopes) => `Your app will be installed with the following scopes:\n${scopes.map((scope) => `- ${scope}`).join('\n')}\n`,
397
- scopesMismatch: (environment) => `The scopes in the manifest are different from the scopes in your most recent deployment to ${environment}. This may be because we’re currently making some changes to scopes in development. Try running ${chalk_1.default.bold(`forge deploy -e ${environment}`)} before installing.\n`,
408
+ listEgressAddresses: (egressAddresses) => `Your app will exchange data with the following urls:\n${egressAddresses.map((url) => `- ${url}`).join('\n')}\n`,
409
+ permissionsMismatch: (environment) => `The scopes or egress URLs in the manifest are different from the scopes in your most recent deployment to ${environment}. Try running ${chalk_1.default.bold(`forge deploy -e ${environment}`)} before installing.\n`,
398
410
  multiProductScopesDetected: (productsToInstall, productsToUpgrade, site, environment, environmentToOption) => `\nWe detected your app requires scopes across multiple products.\nRun ${chalk_1.default.bold('forge install')} for each of the following:\n${productsToUpgrade
399
411
  .map((product) => `- forge install --upgrade -p ${case_1.capital(product)} -s ${site} -e ${environmentToOption(environment)}`)
400
412
  .join('\n')}${productsToUpgrade.length !== 0 && productsToInstall.length !== 0 ? '\n' : ''}${productsToInstall
401
413
  .map((product) => `- forge install -p ${case_1.capital(product)} -s ${site} -e ${environmentToOption(environment)}`)
402
414
  .join('\n')}`,
403
- promptForScopesConfirmation: (scopesMismatchInDevelopment) => scopesMismatchInDevelopment
415
+ promptForPermissionsConfirmation: (permissionsMismatchInDevelopment) => permissionsMismatchInDevelopment
404
416
  ? 'Are you sure you want to continue installing the app?'
405
417
  : 'Do you want to continue?',
406
418
  success: {
@@ -454,9 +466,14 @@ ${buildTerminalLink(link)}\n`,
454
466
  end: (displayTick) => `${displayTick ? greenTick + ' ' : ''}Upgrade complete!`,
455
467
  error: `Upgrade failed`
456
468
  },
457
- listScopes: (scopes) => `Your app will be upgraded with the following scopes:\n${scopes.map((scope) => `- ${scope}`).join('\n')}\n`,
458
- scopesMismatch: (environment) => `The scopes in the manifest are different from the scopes in your most recent deployment to ${environment}. This may be because we’re currently making some changes to scopes in development. Try running ${chalk_1.default.bold(`forge deploy -e ${environment}`)} before upgrading.\n`,
459
- promptForScopesConfirmation: (scopesMismatchInDevelopment) => scopesMismatchInDevelopment ? 'Are you sure you want to continue upgrading the app?' : 'Do you want to continue?',
469
+ listScopes: (scopes) => `Your app will be upgraded with the following additional scopes:\n${scopes
470
+ .map((scope) => `- ${scope}`)
471
+ .join('\n')}\n`,
472
+ listEgressAddresses: (egressAddresses) => `Your app will exchange data with the following urls:\n${egressAddresses.map((url) => `- ${url}`).join('\n')}\n`,
473
+ permissionsMismatch: (environment) => `The scopes or egress URLs in the manifest are different from the scopes in your most recent deployment to ${environment}. Try running ${chalk_1.default.bold(`forge deploy -e ${environment}`)} before upgrading.\n`,
474
+ promptForPermissionsConfirmation: (permissionsMismatchInDevelopment) => permissionsMismatchInDevelopment
475
+ ? 'Are you sure you want to continue upgrading the app?'
476
+ : 'Do you want to continue?',
460
477
  success: {
461
478
  banner: (environment, environmentToOption, product, site) => `Your app in the ${environmentToOption(environment)} environment is now the latest in ${product} on ${buildTerminalLink(site)}.`
462
479
  },
@@ -477,7 +494,7 @@ ${buildTerminalLink(link)}\n`,
477
494
  tunnel: {
478
495
  cmd: 'start a tunnel to connect your local code with the app running in the development environment',
479
496
  optionDebugger: 'enable debugger mode',
480
- preamble: 'Running your app locally with Docker. The tunnel displays your usage from everywhere the app in the development environment is installed.',
497
+ preamble: 'Tunnel redirects requests you make to your local machine. This occurs for any Atlassian site where your app is installed in the development environment. You will not see requests from other users.',
481
498
  startingServer: (environment, environmentToOption) => `Starting tunneling for the ${environmentToOption(environment)} environment. ` +
482
499
  `Your local app will receive requests from everywhere the app in the ${environmentToOption(environment)} environment is installed.`,
483
500
  startedServer: (port, isDebug) => `Listening for requests${isDebug ? ' on local port ' + port : ''}...`,
@@ -525,7 +542,7 @@ ${buildTerminalLink(link)}\n`,
525
542
  installationId: {
526
543
  prompt: "Enter the app's installation ID:",
527
544
  errors: {
528
- invalid: `Invalid installation ID. Run ${chalk_1.default.bold('forge install:list')} to see the installation IDs for the app.`,
545
+ invalid: `Invalid installation ID. Run ${chalk_1.default.bold('forge install list')} to see the installation IDs for the app.`,
529
546
  notFound: (installationId) => `No installation found for installation ID: ${installationId}.`
530
547
  }
531
548
  },
@@ -553,7 +570,8 @@ ${buildTerminalLink(link)}\n`,
553
570
  promptFuncKey: 'Select a web trigger:',
554
571
  error: {
555
572
  funcKey: "The given web trigger key doesn't exist in the manifest.yml file.",
556
- noWebtriggers: "The manifest.yml file doesn't contain any web triggers. Add a web trigger before " + 'rerunning this command.'
573
+ noWebtriggers: "The manifest.yml file doesn't contain any web triggers. Add a web trigger before " + 'rerunning this command.',
574
+ creationError: (message) => `Installation error: ${message}`
557
575
  }
558
576
  },
559
577
  logs: {
@@ -592,6 +610,9 @@ ${buildTerminalLink(link)}\n`,
592
610
  },
593
611
  warning: (line, column, message, reference) => getLintMessage(line, column, message, 'warning', log_color_1.LogColor.warn, reference)
594
612
  },
613
+ stub: {
614
+ error: (newName, oldName) => `The ${chalk_1.default.bold(`forge ${oldName}`)} command has been deprecated and replaced by ${chalk_1.default.bold(`forge ${newName}`)}.`
615
+ },
595
616
  customPrompts: {
596
617
  table: {
597
618
  promptMessage: (message) => `${chalk_1.default.green('?')} ${message}`,
@@ -602,6 +623,9 @@ ${buildTerminalLink(link)}\n`,
602
623
  decorateSelected: (site) => `${chalk_1.default.cyan(site)}`
603
624
  }
604
625
  },
626
+ variables: {
627
+ description: 'manage app environment variables'
628
+ },
605
629
  settings: {
606
630
  description: 'manage Forge CLI settings',
607
631
  analytics: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/cli-shared",
3
- "version": "0.0.0-experimental-e05f7a2",
3
+ "version": "0.0.0-experimental-d18f8dd",
4
4
  "description": "Common functionality for Forge CLI",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",
@@ -12,8 +12,8 @@
12
12
  "generate-graphql-types": "graphql-codegen --config src/graphql/codegen.yml"
13
13
  },
14
14
  "dependencies": {
15
- "@forge/manifest": "0.0.0-experimental-e05f7a2",
16
- "@forge/util": "1.0.0",
15
+ "@forge/manifest": "0.0.0-experimental-d18f8dd",
16
+ "@forge/util": "0.0.0-experimental-d18f8dd",
17
17
  "array.prototype.flatmap": "^1.2.3",
18
18
  "case": "^1.6.2",
19
19
  "chalk": "^2.4.2",