@forge/cli-shared 5.0.0-next.2 → 5.0.0-next.2-experimental-9e36838

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,44 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 5.0.0-next.2-experimental-9e36838
4
+
5
+ ### Major Changes
6
+
7
+ - 5c2c20f: Fixed the issue where the CLI was unable to bundle modules with multiple entrypoints using different resource types.
8
+
9
+ Specifically the following configuration that supports both UI Kit and Custom UI resources are now supported properly.
10
+
11
+ ```yaml
12
+ modules:
13
+ jira:customFieldType:
14
+ - key: my_custom_field_app
15
+ resource: ui-kit-resource
16
+ render: native
17
+ contextConfig:
18
+ resource: custom-ui-resource
19
+ ```
20
+
21
+ In the previous CLI version, the above configuration would assume that the `custom-ui-resource` is a UI Kit resource
22
+ and would expected a UI Kit based resource is linked. To support using same resource type for multiple entrypoints,
23
+ in above example, please add `render: native` to the `contextConfig` to correct the resource type:
24
+
25
+ ```yaml
26
+ modules:
27
+ jira:customFieldType:
28
+ - key: my_custom_field_app
29
+ resource: ui-kit-resource
30
+ render: native
31
+ contextConfig:
32
+ resource: ui-kit-resource
33
+ render: native
34
+ ```
35
+
36
+ ### Patch Changes
37
+
38
+ - Updated dependencies [77d16a9]
39
+ - Updated dependencies [f04a310]
40
+ - @forge/manifest@7.2.3-next.1-experimental-9e36838
41
+
3
42
  ## 5.0.0-next.2
4
43
 
5
44
  ### Major Changes
@@ -2265,7 +2265,7 @@ export declare type CcpChangeOfferingExperienceCapability = CommerceExperienceCa
2265
2265
  experienceUrl?: Maybe<Scalars['String']['output']>;
2266
2266
  isAvailableToUser?: Maybe<Scalars['Boolean']['output']>;
2267
2267
  };
2268
- export declare type CcpChargeDetails = {
2268
+ export declare type CcpChargeDetails = CommerceChargeDetails & {
2269
2269
  __typename?: 'CcpChargeDetails';
2270
2270
  chargeQuantities?: Maybe<Array<Maybe<CcpChargeQuantity>>>;
2271
2271
  offeringId?: Maybe<Scalars['ID']['output']>;
@@ -2277,7 +2277,7 @@ export declare type CcpChargeElement = {
2277
2277
  ceiling?: Maybe<Scalars['Int']['output']>;
2278
2278
  unit?: Maybe<Scalars['String']['output']>;
2279
2279
  };
2280
- export declare type CcpChargeQuantity = {
2280
+ export declare type CcpChargeQuantity = CommerceChargeQuantity & {
2281
2281
  __typename?: 'CcpChargeQuantity';
2282
2282
  chargeElement?: Maybe<Scalars['String']['output']>;
2283
2283
  lastUpdatedAt?: Maybe<Scalars['Float']['output']>;
@@ -2758,6 +2758,14 @@ export declare type ColumnsConfig = {
2758
2758
  export declare type CommerceAccountDetails = {
2759
2759
  invoiceGroup?: Maybe<CommerceInvoiceGroup>;
2760
2760
  };
2761
+ export declare type CommerceChargeDetails = {
2762
+ chargeQuantities?: Maybe<Array<Maybe<CommerceChargeQuantity>>>;
2763
+ };
2764
+ export declare type CommerceChargeQuantity = {
2765
+ chargeElement?: Maybe<Scalars['String']['output']>;
2766
+ lastUpdatedAt?: Maybe<Scalars['Float']['output']>;
2767
+ quantity?: Maybe<Scalars['Float']['output']>;
2768
+ };
2761
2769
  export declare type CommerceEntitlement = {
2762
2770
  experienceCapabilities?: Maybe<CommerceEntitlementExperienceCapabilities>;
2763
2771
  id: Scalars['ID']['output'];
@@ -2832,6 +2840,7 @@ export declare type CommercePrimaryCycle = {
2832
2840
  };
2833
2841
  export declare type CommerceSubscription = {
2834
2842
  accountDetails?: Maybe<CommerceAccountDetails>;
2843
+ chargeDetails?: Maybe<CommerceChargeDetails>;
2835
2844
  pricingPlan?: Maybe<CommercePricingPlan>;
2836
2845
  trial?: Maybe<CommerceTrial>;
2837
2846
  };
@@ -25802,6 +25811,16 @@ export declare type HamsChangeOfferingExperienceCapability = CommerceExperienceC
25802
25811
  experienceUrl?: Maybe<Scalars['String']['output']>;
25803
25812
  isAvailableToUser?: Maybe<Scalars['Boolean']['output']>;
25804
25813
  };
25814
+ export declare type HamsChargeDetails = CommerceChargeDetails & {
25815
+ __typename?: 'HamsChargeDetails';
25816
+ chargeQuantities?: Maybe<Array<Maybe<HamsChargeQuantity>>>;
25817
+ };
25818
+ export declare type HamsChargeQuantity = CommerceChargeQuantity & {
25819
+ __typename?: 'HamsChargeQuantity';
25820
+ chargeElement?: Maybe<Scalars['String']['output']>;
25821
+ lastUpdatedAt?: Maybe<Scalars['Float']['output']>;
25822
+ quantity?: Maybe<Scalars['Float']['output']>;
25823
+ };
25805
25824
  export declare type HamsConfigurePaymentMethodExperienceCapability = CommerceExperienceCapability & {
25806
25825
  __typename?: 'HamsConfigurePaymentMethodExperienceCapability';
25807
25826
  experienceUrl?: Maybe<Scalars['String']['output']>;
@@ -25893,6 +25912,7 @@ export declare type HamsPrimaryCycle = CommercePrimaryCycle & {
25893
25912
  export declare type HamsSubscription = CommerceSubscription & {
25894
25913
  __typename?: 'HamsSubscription';
25895
25914
  accountDetails?: Maybe<HamsAccountDetails>;
25915
+ chargeDetails?: Maybe<HamsChargeDetails>;
25896
25916
  pricingPlan?: Maybe<HamsPricingPlan>;
25897
25917
  trial?: Maybe<HamsTrial>;
25898
25918
  };
@@ -40732,7 +40752,14 @@ export declare type JsmChatCreateChannelInput = {
40732
40752
  };
40733
40753
  export declare type JsmChatCreateChannelOutput = {
40734
40754
  __typename?: 'JsmChatCreateChannelOutput';
40755
+ channelName?: Maybe<Scalars['String']['output']>;
40756
+ channelType?: Maybe<Scalars['String']['output']>;
40757
+ isPrivate?: Maybe<Scalars['Boolean']['output']>;
40735
40758
  message: Scalars['String']['output'];
40759
+ requestTypes?: Maybe<Array<Maybe<JsmChatRequestTypeData>>>;
40760
+ settings?: Maybe<JsmChatChannelSettings>;
40761
+ slackChannelId?: Maybe<Scalars['String']['output']>;
40762
+ slackTeamId?: Maybe<Scalars['String']['output']>;
40736
40763
  status: Scalars['Boolean']['output'];
40737
40764
  };
40738
40765
  export declare type JsmChatCreateCommentInput = {
@@ -40836,6 +40863,11 @@ export declare type JsmChatQueryInitializeConfigArgs = {
40836
40863
  export declare type JsmChatQueryInitializeNativeConfigArgs = {
40837
40864
  jiraProjectAri: Scalars['ID']['input'];
40838
40865
  };
40866
+ export declare type JsmChatRequestTypeData = {
40867
+ __typename?: 'JsmChatRequestTypeData';
40868
+ requestTypeId?: Maybe<Scalars['String']['output']>;
40869
+ requestTypeName?: Maybe<Scalars['String']['output']>;
40870
+ };
40839
40871
  export declare type JsmChatRequestTypesMappedResponse = {
40840
40872
  __typename?: 'JsmChatRequestTypesMappedResponse';
40841
40873
  requestTypeId?: Maybe<Scalars['String']['output']>;
@@ -52460,8 +52492,14 @@ export declare type UserInstallationRulesPayload = Payload & {
52460
52492
  rule?: Maybe<UserInstallationRuleValue>;
52461
52493
  success: Scalars['Boolean']['output'];
52462
52494
  };
52495
+ export declare type VirtualAgentAiAnswerStatusForChannel = {
52496
+ __typename?: 'VirtualAgentAiAnswerStatusForChannel';
52497
+ isAiResponsesChannel?: Maybe<Scalars['Boolean']['output']>;
52498
+ slackChannelId: Scalars['String']['output'];
52499
+ };
52463
52500
  export declare type VirtualAgentChannelConfig = {
52464
52501
  __typename?: 'VirtualAgentChannelConfig';
52502
+ aiAnswersProductionStatus?: Maybe<Array<Maybe<VirtualAgentAiAnswerStatusForChannel>>>;
52465
52503
  jsmChatContext?: Maybe<VirtualAgentJsmChatContext>;
52466
52504
  production?: Maybe<Array<Maybe<VirtualAgentSlackChannel>>>;
52467
52505
  test?: Maybe<VirtualAgentSlackChannel>;
@@ -52760,6 +52798,7 @@ export declare type VirtualAgentMutationApi = {
52760
52798
  createVirtualAgentConfiguration?: Maybe<VirtualAgentCreateConfigurationPayload>;
52761
52799
  deleteIntentRuleProjection?: Maybe<VirtualAgentDeleteIntentRuleProjectionPayload>;
52762
52800
  handleFlowEditorActions?: Maybe<VirtualAgentFlowEditorActionPayload>;
52801
+ updateAiAnswerForSlackChannel?: Maybe<VirtualAgentUpdateAiAnswerForSlackChannelPayload>;
52763
52802
  updateChatChannel?: Maybe<VirtualAgentUpdateChatChannelPayload>;
52764
52803
  updateFlowEditorFlow?: Maybe<VirtualAgentFlowEditorPayload>;
52765
52804
  updateIntentRuleProjection?: Maybe<VirtualAgentUpdateIntentRuleProjectionPayload>;
@@ -52785,6 +52824,10 @@ export declare type VirtualAgentMutationApiHandleFlowEditorActionsArgs = {
52785
52824
  input: VirtualAgentFlowEditorActionInput;
52786
52825
  virtualAgentFlowEditorId: Scalars['ID']['input'];
52787
52826
  };
52827
+ export declare type VirtualAgentMutationApiUpdateAiAnswerForSlackChannelArgs = {
52828
+ input: VirtualAgentUpdateAiAnswerForSlackChannelInput;
52829
+ virtualAgentConfigurationId: Scalars['ID']['input'];
52830
+ };
52788
52831
  export declare type VirtualAgentMutationApiUpdateChatChannelArgs = {
52789
52832
  input: VirtualAgentUpdateChatChannelInput;
52790
52833
  virtualAgentConfigurationId: Scalars['ID']['input'];
@@ -52853,6 +52896,16 @@ export declare type VirtualAgentStatisticsProjection = {
52853
52896
  globalStatistics?: Maybe<VirtualAgentGlobalStatisticsProjection>;
52854
52897
  statisticsPercentageChange?: Maybe<VirtualAgentStatisticsPercentageChangeProjection>;
52855
52898
  };
52899
+ export declare type VirtualAgentUpdateAiAnswerForSlackChannelInput = {
52900
+ isAiResponsesChannel: Scalars['Boolean']['input'];
52901
+ slackChannelId: Scalars['String']['input'];
52902
+ };
52903
+ export declare type VirtualAgentUpdateAiAnswerForSlackChannelPayload = Payload & {
52904
+ __typename?: 'VirtualAgentUpdateAiAnswerForSlackChannelPayload';
52905
+ channel?: Maybe<VirtualAgentAiAnswerStatusForChannel>;
52906
+ errors?: Maybe<Array<MutationError>>;
52907
+ success: Scalars['Boolean']['output'];
52908
+ };
52856
52909
  export declare type VirtualAgentUpdateChatChannelInput = {
52857
52910
  halpChannelId: Scalars['String']['input'];
52858
52911
  isAiResponsesChannel?: InputMaybe<Scalars['Boolean']['input']>;