@forge/cli-shared 5.0.0-next.5 → 5.0.0-next.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/out/app-logs/graphql-client.js +9 -2
  3. package/out/app-logs/view-logs.js +4 -0
  4. package/out/apps/app-config.js +4 -1
  5. package/out/apps/create-an-app.js +3 -0
  6. package/out/apps/create-app-graphql-client.js +1 -0
  7. package/out/apps/get-app-owner.js +2 -0
  8. package/out/apps/package-installer.js +1 -0
  9. package/out/apps/register-app.js +8 -1
  10. package/out/apps/template.js +5 -0
  11. package/out/auth/personal/credential-store.js +7 -2
  12. package/out/auth/personal/login.js +8 -2
  13. package/out/auth/personal/logout.js +1 -0
  14. package/out/auth/personal/me-graphql-client.js +2 -0
  15. package/out/auth/personal/token-authenticator.js +1 -0
  16. package/out/cache/cached-conf.js +1 -0
  17. package/out/config/config-file-section-reader.js +4 -0
  18. package/out/config/config-file-section-writer.js +2 -0
  19. package/out/config/config-file.d.ts +2 -2
  20. package/out/config/config-file.d.ts.map +1 -1
  21. package/out/config/config-file.js +48 -55
  22. package/out/config/config-section.js +1 -0
  23. package/out/file-system/file-system-reader.js +2 -2
  24. package/out/graphql/app-environment-graphql-client.js +1 -0
  25. package/out/graphql/app-oauth-client-id-graphql-client.js +1 -0
  26. package/out/graphql/debugging-graphql-runner.js +3 -0
  27. package/out/graphql/get-mutation-error.js +4 -5
  28. package/out/graphql/graphql-types.d.ts +91 -0
  29. package/out/graphql/graphql-types.d.ts.map +1 -1
  30. package/out/graphql/graphql-types.js +14 -7
  31. package/out/graphql/minimal-graphql-runner.js +30 -22
  32. package/out/graphql/mutation-aware-graphql-client.js +14 -10
  33. package/out/http-client/feedback-post-client.js +1 -3
  34. package/out/http-client/file-uploader.js +1 -0
  35. package/out/http-client/global-edge-http-client.js +1 -0
  36. package/out/http-client/trace.js +1 -2
  37. package/out/runtimes/helper.js +1 -1
  38. package/out/service/bridge-script-service.js +1 -0
  39. package/out/service/feature-flag-service.js +51 -48
  40. package/out/service/iframe-resizer-script-service.js +1 -0
  41. package/out/shared/cli-details.js +2 -2
  42. package/out/shared/error-handling.js +5 -3
  43. package/out/shared/product.js +2 -4
  44. package/out/shared/read-app-config-files.js +7 -5
  45. package/out/shared/validate.js +1 -1
  46. package/out/ui/command-line-ui.js +14 -8
  47. package/out/ui/multiple-table-prompt.js +1 -1
  48. package/out/ui/table-prompt.js +8 -1
  49. package/package.json +2 -2
@@ -28910,6 +28910,10 @@ export declare type JiraAgileReleaseTrainEdge = {
28910
28910
  cursor: Scalars['String']['output'];
28911
28911
  node?: Maybe<JiraAgileReleaseTrain>;
28912
28912
  };
28913
+ export declare type JiraAiEnablementIssueInput = {
28914
+ issueId?: InputMaybe<Scalars['ID']['input']>;
28915
+ issueKey?: InputMaybe<Scalars['String']['input']>;
28916
+ };
28913
28917
  export declare type JiraAnnouncementBanner = Node & {
28914
28918
  __typename?: 'JiraAnnouncementBanner';
28915
28919
  id: Scalars['ID']['output'];
@@ -29000,6 +29004,12 @@ export declare type JiraAppUiModifications = {
29000
29004
  appEnvId: Scalars['String']['output'];
29001
29005
  uiModifications: Array<JiraUiModification>;
29002
29006
  };
29007
+ export declare enum JiraApplicationKey {
29008
+ JiraCore = "JIRA_CORE",
29009
+ JiraProductDiscovery = "JIRA_PRODUCT_DISCOVERY",
29010
+ JiraServiceDesk = "JIRA_SERVICE_DESK",
29011
+ JiraSoftware = "JIRA_SOFTWARE"
29012
+ }
29003
29013
  export declare type JiraApplicationProperty = Node & {
29004
29014
  __typename?: 'JiraApplicationProperty';
29005
29015
  allowedValues?: Maybe<Array<Scalars['String']['output']>>;
@@ -29564,8 +29574,15 @@ export declare type JiraBulkTransitionScreenLayout = Node & {
29564
29574
  content?: Maybe<JiraScreenTabLayout>;
29565
29575
  id: Scalars['ID']['output'];
29566
29576
  issues: Array<JiraIssue>;
29577
+ issuesToBeEdited?: Maybe<JiraIssueConnection>;
29567
29578
  transition: JiraTransition;
29568
29579
  };
29580
+ export declare type JiraBulkTransitionScreenLayoutIssuesToBeEditedArgs = {
29581
+ after?: InputMaybe<Scalars['String']['input']>;
29582
+ before?: InputMaybe<Scalars['String']['input']>;
29583
+ first?: InputMaybe<Scalars['Int']['input']>;
29584
+ last?: InputMaybe<Scalars['Int']['input']>;
29585
+ };
29569
29586
  export declare type JiraBulkTransitionScreenResponse = {
29570
29587
  __typename?: 'JiraBulkTransitionScreenResponse';
29571
29588
  bulkTransitionsScreen?: Maybe<JiraBulkTransitionScreenConnection>;
@@ -36197,6 +36214,9 @@ export declare type JiraQuery = {
36197
36214
  atlassianIntelligenceAction?: Maybe<JiraAtlassianIntelligenceAction>;
36198
36215
  attachmentByAri?: Maybe<JiraPlatformAttachment>;
36199
36216
  attachmentSearch?: Maybe<JiraAttachmentConnection>;
36217
+ attachmentStorageAllowed?: Maybe<Scalars['Long']['output']>;
36218
+ attachmentStorageIsUnlimited?: Maybe<Scalars['Boolean']['output']>;
36219
+ attachmentStorageUsed?: Maybe<Scalars['Long']['output']>;
36200
36220
  backgroundUploadToken?: Maybe<JiraBackgroundUploadTokenResult>;
36201
36221
  booleanUserProperty?: Maybe<JiraEntityPropertyBoolean>;
36202
36222
  bulkOperationProgress?: Maybe<JiraIssueBulkOperationProgress>;
@@ -36226,6 +36246,7 @@ export declare type JiraQuery = {
36226
36246
  groupCommentVisibilities?: Maybe<JiraGroupConnection>;
36227
36247
  installDeploymentsBannerPrecondition?: Maybe<JiraInstallDeploymentsBannerPrecondition>;
36228
36248
  integerUserProperty?: Maybe<JiraEntityPropertyInt>;
36249
+ isAiEnabledForIssue?: Maybe<Scalars['Boolean']['output']>;
36229
36250
  isIssueViewEditorAiEnabled?: Maybe<Scalars['Boolean']['output']>;
36230
36251
  isNaturalLanguageSearchEnabled?: Maybe<Scalars['Boolean']['output']>;
36231
36252
  isSubtasksEnabled?: Maybe<Scalars['Boolean']['output']>;
@@ -36394,6 +36415,18 @@ export declare type JiraQueryAttachmentSearchArgs = {
36394
36415
  last?: InputMaybe<Scalars['Int']['input']>;
36395
36416
  projectKeys: Array<Scalars['String']['input']>;
36396
36417
  };
36418
+ export declare type JiraQueryAttachmentStorageAllowedArgs = {
36419
+ applicationKey: JiraApplicationKey;
36420
+ cloudId: Scalars['ID']['input'];
36421
+ };
36422
+ export declare type JiraQueryAttachmentStorageIsUnlimitedArgs = {
36423
+ applicationKey: JiraApplicationKey;
36424
+ cloudId: Scalars['ID']['input'];
36425
+ };
36426
+ export declare type JiraQueryAttachmentStorageUsedArgs = {
36427
+ applicationKey: JiraApplicationKey;
36428
+ cloudId: Scalars['ID']['input'];
36429
+ };
36397
36430
  export declare type JiraQueryBackgroundUploadTokenArgs = {
36398
36431
  cloudId: Scalars['ID']['input'];
36399
36432
  durationInSeconds: Scalars['Int']['input'];
@@ -36536,6 +36569,9 @@ export declare type JiraQueryIntegerUserPropertyArgs = {
36536
36569
  cloudId: Scalars['ID']['input'];
36537
36570
  propertyKey: Scalars['String']['input'];
36538
36571
  };
36572
+ export declare type JiraQueryIsAiEnabledForIssueArgs = {
36573
+ issueInput: JiraAiEnablementIssueInput;
36574
+ };
36539
36575
  export declare type JiraQueryIsIssueViewEditorAiEnabledArgs = {
36540
36576
  cloudId: Scalars['ID']['input'];
36541
36577
  jiraProjectType: JiraProjectType;
@@ -37369,6 +37405,7 @@ export declare type JiraResourceUsageCustomFieldRecommendationEdge = {
37369
37405
  };
37370
37406
  export declare type JiraResourceUsageMetric = Node & {
37371
37407
  __typename?: 'JiraResourceUsageMetric';
37408
+ cleanupValue?: Maybe<Scalars['Long']['output']>;
37372
37409
  currentValue?: Maybe<Scalars['Long']['output']>;
37373
37410
  id: Scalars['ID']['output'];
37374
37411
  key: Scalars['String']['output'];
@@ -41950,6 +41987,24 @@ export declare type MarketplaceConnectAppDeployment = MarketplaceAppDeployment &
41950
41987
  isDescriptorFileAvailable: Scalars['Boolean']['output'];
41951
41988
  scopes: Array<ConnectAppScope>;
41952
41989
  };
41990
+ export declare type MarketplaceConsoleError = {
41991
+ message: Scalars['String']['output'];
41992
+ };
41993
+ export declare type MarketplaceConsoleGenericError = MarketplaceConsoleError & {
41994
+ __typename?: 'MarketplaceConsoleGenericError';
41995
+ message: Scalars['String']['output'];
41996
+ };
41997
+ export declare type MarketplaceConsoleQueryApi = {
41998
+ __typename?: 'MarketplaceConsoleQueryApi';
41999
+ currentUserProfile?: Maybe<MarketplaceConsoleUser>;
42000
+ };
42001
+ export declare type MarketplaceConsoleUser = {
42002
+ __typename?: 'MarketplaceConsoleUser';
42003
+ atlassianAccountId: Scalars['ID']['output'];
42004
+ email?: Maybe<Scalars['String']['output']>;
42005
+ name: Scalars['String']['output'];
42006
+ picture: Scalars['String']['output'];
42007
+ };
41953
42008
  export declare enum MarketplaceEntityStatus {
41954
42009
  Active = "ACTIVE",
41955
42010
  Archived = "ARCHIVED"
@@ -42757,6 +42812,7 @@ export declare type MercuryQueryApi = {
42757
42812
  focusAreaTypes: Array<MercuryFocusAreaType>;
42758
42813
  focusAreasByAris?: Maybe<Array<MercuryFocusArea>>;
42759
42814
  focusAreasByCloudId?: Maybe<MercuryFocusAreaConnection>;
42815
+ goalProgressStatuses?: Maybe<MercuryGoalStatusCount>;
42760
42816
  };
42761
42817
  export declare type MercuryQueryApiFocusAreaArgs = {
42762
42818
  cloudId?: InputMaybe<Scalars['ID']['input']>;
@@ -42778,6 +42834,9 @@ export declare type MercuryQueryApiFocusAreasByCloudIdArgs = {
42778
42834
  q?: InputMaybe<Scalars['String']['input']>;
42779
42835
  sort?: InputMaybe<Array<InputMaybe<MercuryFocusAreaSort>>>;
42780
42836
  };
42837
+ export declare type MercuryQueryApiGoalProgressStatusesArgs = {
42838
+ cloudId?: InputMaybe<Scalars['ID']['input']>;
42839
+ };
42781
42840
  export declare type MercuryUpdateNoteInput = {
42782
42841
  archived?: InputMaybe<Scalars['Boolean']['input']>;
42783
42842
  summary: Scalars['String']['input'];
@@ -45673,6 +45732,7 @@ export declare type Query = {
45673
45732
  marketplaceAppByCloudAppId?: Maybe<MarketplaceApp>;
45674
45733
  marketplaceAppByKey?: Maybe<MarketplaceApp>;
45675
45734
  marketplaceAppTrustInformation?: Maybe<MarketplaceAppTrustInformationResult>;
45735
+ marketplaceConsole: MarketplaceConsoleQueryApi;
45676
45736
  marketplacePartner?: Maybe<MarketplacePartner>;
45677
45737
  marketplacePricingPlan?: Maybe<MarketplacePricingPlan>;
45678
45738
  marketplaceStore: MarketplaceStoreQueryApi;
@@ -47516,6 +47576,17 @@ export declare enum SearchBoardProductType {
47516
47576
  Business = "BUSINESS",
47517
47577
  Software = "SOFTWARE"
47518
47578
  }
47579
+ export declare type SearchCommonFilter = {
47580
+ range?: InputMaybe<SearchCommonRangeFilter>;
47581
+ };
47582
+ export declare type SearchCommonRangeFilter = {
47583
+ created?: InputMaybe<SearchCommonRangeFilterFields>;
47584
+ lastModified?: InputMaybe<SearchCommonRangeFilterFields>;
47585
+ };
47586
+ export declare type SearchCommonRangeFilterFields = {
47587
+ gt?: InputMaybe<Scalars['String']['input']>;
47588
+ lt?: InputMaybe<Scalars['String']['input']>;
47589
+ };
47519
47590
  export declare enum SearchConfluenceDocumentStatus {
47520
47591
  Archived = "ARCHIVED",
47521
47592
  Current = "CURRENT",
@@ -47620,6 +47691,7 @@ export declare type SearchExternalFilter = {
47620
47691
  depth?: InputMaybe<Array<InputMaybe<SearchExternalDepthFilter>>>;
47621
47692
  };
47622
47693
  export declare type SearchFilterInput = {
47694
+ commonFilters?: InputMaybe<SearchCommonFilter>;
47623
47695
  confluenceFilters?: InputMaybe<SearchConfluenceFilter>;
47624
47696
  entities: Array<Scalars['String']['input']>;
47625
47697
  externalFilters?: InputMaybe<SearchExternalFilter>;
@@ -47783,6 +47855,23 @@ export declare type SearchResultGoogleSpreadsheet = SearchResult & {
47783
47855
  type: SearchResultType;
47784
47856
  url: Scalars['URL']['output'];
47785
47857
  };
47858
+ export declare type SearchResultGraphDocument = SearchResult & {
47859
+ __typename?: 'SearchResultGraphDocument';
47860
+ bodyText?: Maybe<Scalars['String']['output']>;
47861
+ description: Scalars['String']['output'];
47862
+ excerpt?: Maybe<Scalars['String']['output']>;
47863
+ iconUrl?: Maybe<Scalars['URL']['output']>;
47864
+ id: Scalars['ID']['output'];
47865
+ integrationId?: Maybe<Scalars['String']['output']>;
47866
+ lastModifiedDate?: Maybe<Scalars['String']['output']>;
47867
+ owner?: Maybe<ThirdPartyUser>;
47868
+ permissionLevel?: Maybe<Scalars['String']['output']>;
47869
+ scoreL2Ranker?: Maybe<Scalars['Float']['output']>;
47870
+ subtype?: Maybe<Scalars['String']['output']>;
47871
+ title: Scalars['String']['output'];
47872
+ type: SearchResultType;
47873
+ url: Scalars['URL']['output'];
47874
+ };
47786
47875
  export declare type SearchResultItemEdge = {
47787
47876
  __typename?: 'SearchResultItemEdge';
47788
47877
  cursor?: Maybe<Scalars['String']['output']>;
@@ -47890,6 +47979,7 @@ export declare type SearchResultMicrosoftDocument = SearchResult & {
47890
47979
  };
47891
47980
  export declare type SearchResultSlackMessage = SearchResult & {
47892
47981
  __typename?: 'SearchResultSlackMessage';
47982
+ channelName?: Maybe<Scalars['String']['output']>;
47893
47983
  description: Scalars['String']['output'];
47894
47984
  iconUrl?: Maybe<Scalars['URL']['output']>;
47895
47985
  id: Scalars['ID']['output'];
@@ -47958,6 +48048,7 @@ export declare enum SearchSortOrder {
47958
48048
  Desc = "DESC"
47959
48049
  }
47960
48050
  export declare type SearchThirdPartyFilter = {
48051
+ integrations?: InputMaybe<Array<Scalars['ID']['input']>>;
47961
48052
  range?: InputMaybe<Array<InputMaybe<SearchThirdPartyRangeFilter>>>;
47962
48053
  thirdPartyTypes?: InputMaybe<Array<Scalars['String']['input']>>;
47963
48054
  titleMatchOnly?: InputMaybe<Scalars['Boolean']['input']>;