@forge/cli-shared 7.1.0-next.2 → 7.1.0-next.4

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,21 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 7.1.0-next.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [0c92352]
8
+ - Updated dependencies [18eab48]
9
+ - @forge/manifest@9.5.0-next.3
10
+
11
+ ## 7.1.0-next.3
12
+
13
+ ### Patch Changes
14
+
15
+ - c3df542: Add an error for scoped token usage
16
+ - Updated dependencies [b44a5b3]
17
+ - @forge/manifest@9.5.0-next.2
18
+
3
19
  ## 7.1.0-next.2
4
20
 
5
21
  ### Patch Changes
@@ -3,6 +3,9 @@ import { UserError } from '../../shared';
3
3
  import { Logger } from '../../ui';
4
4
  export declare class UserNotFoundError extends UserError {
5
5
  }
6
+ export declare class ScopedTokenError extends UserError {
7
+ constructor();
8
+ }
6
9
  export declare class MeGraphqlClient {
7
10
  private readonly graphqlClient;
8
11
  private readonly logger;
@@ -1 +1 @@
1
- {"version":3,"file":"me-graphql-client.d.ts","sourceRoot":"","sources":["../../../src/auth/personal/me-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAgB,MAAM,EAAE,MAAM,UAAU,CAAC;AAEhD,qBAAa,iBAAkB,SAAQ,SAAS;CAAG;AAEnD,qBAAa,eAAe;IAExB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,MAAM;gBADN,aAAa,EAAE,aAAa,EAC5B,MAAM,EAAE,MAAM;IAGpB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAwBtC"}
1
+ {"version":3,"file":"me-graphql-client.d.ts","sourceRoot":"","sources":["../../../src/auth/personal/me-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAgB,MAAM,EAAQ,MAAM,UAAU,CAAC;AAEtD,qBAAa,iBAAkB,SAAQ,SAAS;CAAG;AAEnD,qBAAa,gBAAiB,SAAQ,SAAS;;CAI9C;AAED,qBAAa,eAAe;IAExB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,MAAM;gBADN,aAAa,EAAE,aAAa,EAC5B,MAAM,EAAE,MAAM;IAGpB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CA6BtC"}
@@ -1,11 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MeGraphqlClient = exports.UserNotFoundError = void 0;
3
+ exports.MeGraphqlClient = exports.ScopedTokenError = exports.UserNotFoundError = void 0;
4
4
  const shared_1 = require("../../shared");
5
5
  const ui_1 = require("../../ui");
6
6
  class UserNotFoundError extends shared_1.UserError {
7
7
  }
8
8
  exports.UserNotFoundError = UserNotFoundError;
9
+ class ScopedTokenError extends shared_1.UserError {
10
+ constructor() {
11
+ super(ui_1.Text.login.scopedToken.error);
12
+ }
13
+ }
14
+ exports.ScopedTokenError = ScopedTokenError;
9
15
  class MeGraphqlClient {
10
16
  graphqlClient;
11
17
  logger;
@@ -32,6 +38,9 @@ class MeGraphqlClient {
32
38
  }
33
39
  catch (error) {
34
40
  this.logger.debug((0, ui_1.errorMessage)(error));
41
+ if ((0, ui_1.errorMessage)(error).includes('This request does not contain the right authorisation scopes')) {
42
+ throw new ScopedTokenError();
43
+ }
35
44
  }
36
45
  throw new UserNotFoundError();
37
46
  }
@@ -3635,6 +3635,10 @@ export declare type CcpAddPaymentMethodExperienceCapability = CommerceExperience
3635
3635
  experienceUrl?: Maybe<Scalars['String']['output']>;
3636
3636
  isAvailableToUser?: Maybe<Scalars['Boolean']['output']>;
3637
3637
  };
3638
+ export declare enum CcpAndOr {
3639
+ And = "AND",
3640
+ Or = "OR"
3641
+ }
3638
3642
  export declare type CcpApplicationReason = {
3639
3643
  __typename?: 'CcpApplicationReason';
3640
3644
  id?: Maybe<Scalars['ID']['output']>;
@@ -3655,6 +3659,24 @@ export declare type CcpBenefit = {
3655
3659
  iterations?: Maybe<Scalars['Int']['output']>;
3656
3660
  value?: Maybe<Scalars['Float']['output']>;
3657
3661
  };
3662
+ export declare type CcpBenefitValue = {
3663
+ __typename?: 'CcpBenefitValue';
3664
+ appliedOn?: Maybe<CcpBenefitValueAppliedOn>;
3665
+ value?: Maybe<Scalars['Float']['output']>;
3666
+ };
3667
+ export declare enum CcpBenefitValueAppliedOn {
3668
+ Renew = "RENEW",
3669
+ Total = "TOTAL",
3670
+ Upsell = "UPSELL"
3671
+ }
3672
+ export declare type CcpBillToParty = {
3673
+ __typename?: 'CcpBillToParty';
3674
+ name?: Maybe<Scalars['String']['output']>;
3675
+ postalAddress?: Maybe<CcpPostalAddress>;
3676
+ priceEligibility?: Maybe<Array<Maybe<CcpPriceEligibilityMapEntry>>>;
3677
+ taxId?: Maybe<Scalars['String']['output']>;
3678
+ taxIds?: Maybe<Array<Maybe<CcpTaxId>>>;
3679
+ };
3658
3680
  export declare enum CcpBillingInterval {
3659
3681
  Day = "DAY",
3660
3682
  Month = "MONTH",
@@ -3777,6 +3799,10 @@ export declare enum CcpCurrency {
3777
3799
  Jpy = "JPY",
3778
3800
  Usd = "USD"
3779
3801
  }
3802
+ export declare type CcpCustomisableApplicationReason = {
3803
+ __typename?: 'CcpCustomisableApplicationReason';
3804
+ id?: Maybe<CcpPromotionApplicationReasonSetLimiter>;
3805
+ };
3780
3806
  export declare type CcpCustomisedValues = {
3781
3807
  __typename?: 'CcpCustomisedValues';
3782
3808
  applicationReason?: Maybe<CcpApplicationReason>;
@@ -3814,6 +3840,11 @@ export declare type CcpEffectiveUncollectibleAction = {
3814
3840
  destinationOffering?: Maybe<CcpOffering>;
3815
3841
  uncollectibleActionType?: Maybe<CcpOfferingUncollectibleActionType>;
3816
3842
  };
3843
+ export declare type CcpEligiblePromotionWindow = {
3844
+ __typename?: 'CcpEligiblePromotionWindow';
3845
+ endTime?: Maybe<Scalars['Float']['output']>;
3846
+ startTime?: Maybe<Scalars['Float']['output']>;
3847
+ };
3817
3848
  export declare type CcpEntitlement = CommerceEntitlement & Node & {
3818
3849
  __typename?: 'CcpEntitlement';
3819
3850
  changeReason?: Maybe<Scalars['String']['output']>;
@@ -3946,6 +3977,24 @@ export declare type CcpInvoiceGroupExperienceCapabilities = CommerceInvoiceGroup
3946
3977
  configurePayment?: Maybe<CcpExperienceCapability>;
3947
3978
  configurePaymentV2?: Maybe<CcpConfigurePaymentMethodExperienceCapability>;
3948
3979
  };
3980
+ export declare type CcpInvoiceGroupV2 = Node & {
3981
+ __typename?: 'CcpInvoiceGroupV2';
3982
+ billToParty?: Maybe<CcpBillToParty>;
3983
+ createdAt?: Maybe<Scalars['Float']['output']>;
3984
+ currency?: Maybe<CcpCurrency>;
3985
+ defaultPaymentMethod?: Maybe<Scalars['ID']['output']>;
3986
+ id: Scalars['ID']['output'];
3987
+ isActive?: Maybe<Scalars['Boolean']['output']>;
3988
+ memo?: Maybe<Scalars['String']['output']>;
3989
+ name?: Maybe<Scalars['String']['output']>;
3990
+ purchaseOrder?: Maybe<CcpPurchaseOrder>;
3991
+ recipients?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
3992
+ shipToParty?: Maybe<CcpShipToParty>;
3993
+ slug?: Maybe<Scalars['String']['output']>;
3994
+ transactionAccount?: Maybe<CcpTransactionAccountPartition>;
3995
+ updatedAt?: Maybe<Scalars['Float']['output']>;
3996
+ version?: Maybe<Scalars['Int']['output']>;
3997
+ };
3949
3998
  export declare type CcpInvoiceRequest = {
3950
3999
  __typename?: 'CcpInvoiceRequest';
3951
4000
  id: Scalars['ID']['output'];
@@ -4277,33 +4326,275 @@ export declare enum CcpProductStatus {
4277
4326
  Draft = "DRAFT",
4278
4327
  Expired = "EXPIRED"
4279
4328
  }
4329
+ export declare type CcpPromotion = Node & {
4330
+ __typename?: 'CcpPromotion';
4331
+ allowedRedemptionMethods?: Maybe<Array<Maybe<CcpPromotionAllowedRedemptionMethod>>>;
4332
+ applicationReason?: Maybe<CcpPromotionApplicationReasonWithCustomisable>;
4333
+ benefits?: Maybe<Array<Maybe<CcpPromotionBenefit>>>;
4334
+ catalogAccountKey?: Maybe<Scalars['ID']['output']>;
4335
+ createdAt?: Maybe<Scalars['Float']['output']>;
4336
+ eligibilityRules?: Maybe<CcpPromotionEligibilityRule>;
4337
+ eligiblePromotionWindow?: Maybe<CcpEligiblePromotionWindow>;
4338
+ id: Scalars['ID']['output'];
4339
+ maxRedemptions?: Maybe<Scalars['Int']['output']>;
4340
+ promotionCodeType?: Maybe<CcpPromotionCodeType>;
4341
+ purpose?: Maybe<CcpPromotionPurpose>;
4342
+ status?: Maybe<CcpPromotionStatus>;
4343
+ title?: Maybe<Scalars['String']['output']>;
4344
+ type?: Maybe<CcpPromotionType>;
4345
+ updatedAt?: Maybe<Scalars['Float']['output']>;
4346
+ version?: Maybe<Scalars['Int']['output']>;
4347
+ };
4348
+ export declare enum CcpPromotionAllowedRedemptionMethod {
4349
+ Promotion = "PROMOTION",
4350
+ PromotionCode = "PROMOTION_CODE"
4351
+ }
4352
+ export declare type CcpPromotionAndOrRuleCondition = {
4353
+ __typename?: 'CcpPromotionAndOrRuleCondition';
4354
+ eligibleConditions?: Maybe<Array<Maybe<CcpPromotionEligibleCondition>>>;
4355
+ operatorType?: Maybe<CcpAndOr>;
4356
+ };
4357
+ export declare type CcpPromotionApplicationReason = {
4358
+ __typename?: 'CcpPromotionApplicationReason';
4359
+ id?: Maybe<Scalars['String']['output']>;
4360
+ readableName?: Maybe<Scalars['String']['output']>;
4361
+ };
4362
+ export declare type CcpPromotionApplicationReasonSetLimiter = {
4363
+ __typename?: 'CcpPromotionApplicationReasonSetLimiter';
4364
+ anyOf?: Maybe<Array<Maybe<CcpPromotionApplicationReason>>>;
4365
+ type?: Maybe<CcpPromotionLimiterType>;
4366
+ };
4367
+ export declare type CcpPromotionApplicationReasonWithCustomisable = {
4368
+ __typename?: 'CcpPromotionApplicationReasonWithCustomisable';
4369
+ customisable?: Maybe<CcpCustomisableApplicationReason>;
4370
+ id?: Maybe<Scalars['String']['output']>;
4371
+ readableName?: Maybe<Scalars['String']['output']>;
4372
+ };
4373
+ export declare type CcpPromotionBenefit = {
4374
+ __typename?: 'CcpPromotionBenefit';
4375
+ benefitType?: Maybe<CcpPromotionBenefitType>;
4376
+ customisable?: Maybe<CcpPromotionBenefitCustomisable>;
4377
+ duration?: Maybe<CcpDuration>;
4378
+ iterations?: Maybe<Scalars['Int']['output']>;
4379
+ subBenefitType?: Maybe<CcpPromotionSubBenefitType>;
4380
+ value?: Maybe<Scalars['Float']['output']>;
4381
+ values?: Maybe<Array<Maybe<CcpBenefitValue>>>;
4382
+ };
4383
+ export declare type CcpPromotionBenefitCustomisable = {
4384
+ __typename?: 'CcpPromotionBenefitCustomisable';
4385
+ duration?: Maybe<Array<Maybe<CcpDuration>>>;
4386
+ iterations?: Maybe<CcpPromotionIntegerRangeOrSetLimiter>;
4387
+ value?: Maybe<CcpPromotionDecimalRangeOrSetLimiter>;
4388
+ values?: Maybe<Array<Maybe<CcpPromotionDecimalLimiterCustomisableValue>>>;
4389
+ };
4390
+ export declare enum CcpPromotionBenefitType {
4391
+ Discount = "DISCOUNT",
4392
+ Override = "OVERRIDE"
4393
+ }
4394
+ export declare enum CcpPromotionBillingPeriodPrev {
4395
+ Free = "FREE",
4396
+ Paid = "PAID",
4397
+ Trial = "TRIAL"
4398
+ }
4399
+ export declare type CcpPromotionChargeQuantityCondition = {
4400
+ __typename?: 'CcpPromotionChargeQuantityCondition';
4401
+ chargeElement?: Maybe<Scalars['String']['output']>;
4402
+ pricingPlan?: Maybe<CcpPromotionPricingPLan>;
4403
+ quantity?: Maybe<CcpPromotionIntegerComparator>;
4404
+ quantityPrev?: Maybe<CcpPromotionIntegerComparator>;
4405
+ };
4406
+ export declare enum CcpPromotionCodeType {
4407
+ None = "NONE",
4408
+ Shared = "SHARED",
4409
+ Unique = "UNIQUE"
4410
+ }
4411
+ export declare type CcpPromotionDecimalLimiterCustomisableValue = {
4412
+ __typename?: 'CcpPromotionDecimalLimiterCustomisableValue';
4413
+ value?: Maybe<CcpPromotionDecimalRangeOrSetLimiter>;
4414
+ };
4415
+ export declare type CcpPromotionDecimalRangeOrSetLimiter = {
4416
+ __typename?: 'CcpPromotionDecimalRangeOrSetLimiter';
4417
+ anyOf?: Maybe<Array<Maybe<Scalars['Float']['output']>>>;
4418
+ lowerBound?: Maybe<Scalars['Float']['output']>;
4419
+ type?: Maybe<CcpPromotionLimiterType>;
4420
+ upperBound?: Maybe<Scalars['Float']['output']>;
4421
+ };
4280
4422
  export declare type CcpPromotionDefinition = {
4281
4423
  __typename?: 'CcpPromotionDefinition';
4282
4424
  customisedValues?: Maybe<CcpCustomisedValues>;
4283
4425
  promotionCode?: Maybe<Scalars['String']['output']>;
4284
4426
  promotionId?: Maybe<Scalars['ID']['output']>;
4285
4427
  };
4428
+ export declare type CcpPromotionDynamicFieldEvaluator = {
4429
+ __typename?: 'CcpPromotionDynamicFieldEvaluator';
4430
+ comparator?: Maybe<CcpPromotionDynamicFieldEvaluatorComparator>;
4431
+ fieldL?: Maybe<Scalars['String']['output']>;
4432
+ fieldR?: Maybe<Scalars['String']['output']>;
4433
+ type?: Maybe<CcpPromotionDynamicFieldEvaluatorType>;
4434
+ };
4435
+ export declare enum CcpPromotionDynamicFieldEvaluatorComparator {
4436
+ Equal = "EQUAL",
4437
+ GreaterThan = "GREATER_THAN",
4438
+ LessThan = "LESS_THAN",
4439
+ LessThanEqual = "LESS_THAN_EQUAL",
4440
+ NotEqual = "NOT_EQUAL",
4441
+ NotNull = "NOT_NULL",
4442
+ Null = "NULL"
4443
+ }
4444
+ export declare enum CcpPromotionDynamicFieldEvaluatorType {
4445
+ Number = "NUMBER",
4446
+ String = "STRING"
4447
+ }
4448
+ export declare enum CcpPromotionEligibilityPricingType {
4449
+ Free = "FREE",
4450
+ LimitedFree = "LIMITED_FREE",
4451
+ Paid = "PAID"
4452
+ }
4453
+ export declare type CcpPromotionEligibilityRule = {
4454
+ __typename?: 'CcpPromotionEligibilityRule';
4455
+ currencies?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
4456
+ pricingType?: Maybe<Array<Maybe<CcpPromotionEligibilityPricingType>>>;
4457
+ ruleCondition?: Maybe<CcpPromotionAndOrRuleCondition>;
4458
+ };
4459
+ export declare type CcpPromotionEligibleCondition = {
4460
+ __typename?: 'CcpPromotionEligibleCondition';
4461
+ billingPeriodPrev?: Maybe<Array<Maybe<CcpPromotionBillingPeriodPrev>>>;
4462
+ catalogAccountId?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
4463
+ chargeQuantities?: Maybe<CcpPromotionChargeQuantityCondition>;
4464
+ cycleInterval?: Maybe<Array<Maybe<CcpBillingInterval>>>;
4465
+ cycleIntervalPrev?: Maybe<Array<Maybe<CcpBillingInterval>>>;
4466
+ dynamicFieldEvaluator?: Maybe<CcpPromotionDynamicFieldEvaluator>;
4467
+ hostingType?: Maybe<Array<Maybe<CcpPromotionHostingType>>>;
4468
+ offeringLevel?: Maybe<CcpPromotionIntegerComparator>;
4469
+ offeringLevelPrev?: Maybe<CcpPromotionIntegerComparator>;
4470
+ offeringRelationship?: Maybe<Array<Maybe<CcpPromotionOfferingRelationship>>>;
4471
+ partnerStatus?: Maybe<CcpPromotionPartnerStatus>;
4472
+ pauseBillingStartTimestampElapsedDays?: Maybe<CcpPromotionIntegerComparator>;
4473
+ productKey?: Maybe<Array<Maybe<Scalars['ID']['output']>>>;
4474
+ ruleCondition?: Maybe<CcpPromotionAndOrRuleCondition>;
4475
+ saleTransitionType?: Maybe<Array<Maybe<CcpPromotionSaleTransitionType>>>;
4476
+ subscriptionEndTimestampElapsedDays?: Maybe<CcpPromotionIntegerComparator>;
4477
+ unit?: Maybe<CcpPromotionIntegerComparator>;
4478
+ };
4479
+ export declare enum CcpPromotionHostingType {
4480
+ Cloud = "CLOUD",
4481
+ Datacenter = "DATACENTER",
4482
+ Server = "SERVER"
4483
+ }
4286
4484
  export declare type CcpPromotionInstance = {
4287
4485
  __typename?: 'CcpPromotionInstance';
4288
4486
  promotionDefinition?: Maybe<CcpPromotionDefinition>;
4289
4487
  promotionInstanceId?: Maybe<Scalars['ID']['output']>;
4290
4488
  };
4489
+ export declare type CcpPromotionIntegerComparator = {
4490
+ __typename?: 'CcpPromotionIntegerComparator';
4491
+ equals?: Maybe<Scalars['Int']['output']>;
4492
+ range?: Maybe<CcpPromotionIntegerRange>;
4493
+ };
4494
+ export declare type CcpPromotionIntegerRange = {
4495
+ __typename?: 'CcpPromotionIntegerRange';
4496
+ lowerBound?: Maybe<Scalars['Int']['output']>;
4497
+ upperBound?: Maybe<Scalars['Int']['output']>;
4498
+ };
4499
+ export declare type CcpPromotionIntegerRangeOrSetLimiter = {
4500
+ __typename?: 'CcpPromotionIntegerRangeOrSetLimiter';
4501
+ anyOf?: Maybe<Array<Maybe<Scalars['Int']['output']>>>;
4502
+ lowerBound?: Maybe<Scalars['Int']['output']>;
4503
+ type?: Maybe<CcpPromotionLimiterType>;
4504
+ upperBound?: Maybe<Scalars['Int']['output']>;
4505
+ };
4506
+ export declare enum CcpPromotionLimiterType {
4507
+ Range = "RANGE",
4508
+ Set = "SET"
4509
+ }
4510
+ export declare type CcpPromotionNumberComparator = {
4511
+ __typename?: 'CcpPromotionNumberComparator';
4512
+ equals?: Maybe<Scalars['Float']['output']>;
4513
+ range?: Maybe<CcpPromotionNumberRange>;
4514
+ };
4515
+ export declare type CcpPromotionNumberRange = {
4516
+ __typename?: 'CcpPromotionNumberRange';
4517
+ lowerBound?: Maybe<Scalars['Float']['output']>;
4518
+ upperBound?: Maybe<Scalars['Float']['output']>;
4519
+ };
4520
+ export declare type CcpPromotionOfferingRelationship = {
4521
+ __typename?: 'CcpPromotionOfferingRelationship';
4522
+ direction?: Maybe<CcpOfferingRelationshipDirection>;
4523
+ type?: Maybe<CcpRelationshipType>;
4524
+ };
4525
+ export declare type CcpPromotionPartnerStatus = {
4526
+ __typename?: 'CcpPromotionPartnerStatus';
4527
+ discountTier?: Maybe<Scalars['String']['output']>;
4528
+ programLevelGlobal?: Maybe<Scalars['String']['output']>;
4529
+ };
4530
+ export declare type CcpPromotionPricingPLan = {
4531
+ __typename?: 'CcpPromotionPricingPLan';
4532
+ tiers?: Maybe<CcpPromotionTierCondition>;
4533
+ };
4534
+ export declare type CcpPromotionPurpose = {
4535
+ __typename?: 'CcpPromotionPurpose';
4536
+ invoiceNote?: Maybe<Scalars['String']['output']>;
4537
+ name?: Maybe<Scalars['String']['output']>;
4538
+ reasonCode?: Maybe<Scalars['String']['output']>;
4539
+ };
4540
+ export declare enum CcpPromotionSaleTransitionType {
4541
+ Downgrade = "DOWNGRADE",
4542
+ New = "NEW",
4543
+ Renewal = "RENEWAL",
4544
+ Upgrade = "UPGRADE"
4545
+ }
4546
+ export declare enum CcpPromotionStatus {
4547
+ Active = "ACTIVE",
4548
+ Cancelled = "CANCELLED",
4549
+ Drafted = "DRAFTED",
4550
+ Expired = "EXPIRED",
4551
+ Inactive = "INACTIVE",
4552
+ Withdrawn = "WITHDRAWN"
4553
+ }
4554
+ export declare enum CcpPromotionSubBenefitType {
4555
+ Flat = "FLAT",
4556
+ MultiPercentage = "MULTI_PERCENTAGE",
4557
+ None = "NONE",
4558
+ Percentage = "PERCENTAGE",
4559
+ Trial = "TRIAL"
4560
+ }
4561
+ export declare type CcpPromotionTierCondition = {
4562
+ __typename?: 'CcpPromotionTierCondition';
4563
+ floor?: Maybe<CcpPromotionNumberComparator>;
4564
+ };
4565
+ export declare enum CcpPromotionType {
4566
+ DiscretionaryDiscount = "DISCRETIONARY_DISCOUNT",
4567
+ ListPrice = "LIST_PRICE",
4568
+ ListPriceAdjustment = "LIST_PRICE_ADJUSTMENT",
4569
+ LoyaltyDiscount = "LOYALTY_DISCOUNT",
4570
+ PartnerDiscount = "PARTNER_DISCOUNT",
4571
+ PartnerMargin = "PARTNER_MARGIN",
4572
+ PromoCode = "PROMO_CODE",
4573
+ TrialExtension = "TRIAL_EXTENSION"
4574
+ }
4291
4575
  export declare enum CcpProrateOnUsageChange {
4292
4576
  AlwaysInvoice = "ALWAYS_INVOICE",
4293
4577
  CreateProrations = "CREATE_PRORATIONS",
4294
4578
  None = "NONE"
4295
4579
  }
4580
+ export declare type CcpPurchaseOrder = {
4581
+ __typename?: 'CcpPurchaseOrder';
4582
+ number?: Maybe<Scalars['String']['output']>;
4583
+ oneTimeUse?: Maybe<Scalars['Boolean']['output']>;
4584
+ };
4296
4585
  export declare type CcpQueryApi = {
4297
4586
  __typename?: 'CcpQueryApi';
4298
4587
  entitlement?: Maybe<CcpEntitlement>;
4299
4588
  entitlements?: Maybe<Array<Maybe<CcpEntitlement>>>;
4300
4589
  experienceCapabilities?: Maybe<CcpRootExperienceCapabilities>;
4590
+ invoiceGroups?: Maybe<Array<Maybe<CcpInvoiceGroupV2>>>;
4301
4591
  offering?: Maybe<CcpOffering>;
4302
4592
  offerings?: Maybe<Array<Maybe<CcpOffering>>>;
4303
4593
  paymentMethods?: Maybe<Array<Maybe<CcpPaymentMethod>>>;
4304
4594
  pricingPlan?: Maybe<CcpPricingPlan>;
4305
4595
  pricingPlans?: Maybe<Array<Maybe<CcpPricingPlan>>>;
4306
4596
  product?: Maybe<CcpProduct>;
4597
+ promotions?: Maybe<Array<Maybe<CcpPromotion>>>;
4307
4598
  quotes?: Maybe<Array<Maybe<CcpQuote>>>;
4308
4599
  shipToParties?: Maybe<Array<Maybe<CcpShipToParty>>>;
4309
4600
  transactionAccount?: Maybe<CcpTransactionAccount>;
@@ -4315,6 +4606,9 @@ export declare type CcpQueryApiEntitlementArgs = {
4315
4606
  export declare type CcpQueryApiEntitlementsArgs = {
4316
4607
  ids: Array<Scalars['ID']['input']>;
4317
4608
  };
4609
+ export declare type CcpQueryApiInvoiceGroupsArgs = {
4610
+ ids: Array<Scalars['ID']['input']>;
4611
+ };
4318
4612
  export declare type CcpQueryApiOfferingArgs = {
4319
4613
  key: Scalars['ID']['input'];
4320
4614
  };
@@ -4333,6 +4627,9 @@ export declare type CcpQueryApiPricingPlansArgs = {
4333
4627
  export declare type CcpQueryApiProductArgs = {
4334
4628
  id: Scalars['ID']['input'];
4335
4629
  };
4630
+ export declare type CcpQueryApiPromotionsArgs = {
4631
+ ids: Array<Scalars['ID']['input']>;
4632
+ };
4336
4633
  export declare type CcpQueryApiQuotesArgs = {
4337
4634
  ids: Array<Scalars['ID']['input']>;
4338
4635
  };
@@ -9205,6 +9502,7 @@ export declare type CompassScorecardCriteriaMaturityGroup = {
9205
9502
  };
9206
9503
  export declare type CompassScorecardCriteriaMaturityScore = {
9207
9504
  __typename?: 'CompassScorecardCriteriaMaturityScore';
9505
+ criterionId: Scalars['ID']['output'];
9208
9506
  dataSourceLastUpdated?: Maybe<Scalars['DateTime']['output']>;
9209
9507
  explanation?: Maybe<Scalars['String']['output']>;
9210
9508
  metadata?: Maybe<CompassScorecardCriterionScoreMetadata>;
@@ -9529,7 +9827,6 @@ export declare type CompassScorecardManualApplicationModel = CompassScorecardApp
9529
9827
  export declare type CompassScorecardMaturityGroupCriteriaScores = {
9530
9828
  __typename?: 'CompassScorecardMaturityGroupCriteriaScores';
9531
9829
  criteriaScores?: Maybe<Array<CompassScorecardCriteriaMaturityScore>>;
9532
- criterionId: Scalars['ID']['output'];
9533
9830
  maturityGroup?: Maybe<CompassScorecardMaturityLevel>;
9534
9831
  passingCount?: Maybe<Scalars['Int']['output']>;
9535
9832
  totalCount?: Maybe<Scalars['Int']['output']>;
@@ -9546,12 +9843,18 @@ export declare type CompassScorecardMaturityLevelAwarded = {
9546
9843
  maturityLevelDuration?: Maybe<CompassScorecardMaturityLevelDuration>;
9547
9844
  scorecardId: Scalars['ID']['output'];
9548
9845
  };
9846
+ export declare type CompassScorecardMaturityLevelConfig = {
9847
+ __typename?: 'CompassScorecardMaturityLevelConfig';
9848
+ awardableLevels?: Maybe<Array<CompassScorecardMaturityLevel>>;
9849
+ defaultLevel?: Maybe<CompassScorecardMaturityLevel>;
9850
+ };
9549
9851
  export declare type CompassScorecardMaturityLevelDuration = {
9550
9852
  __typename?: 'CompassScorecardMaturityLevelDuration';
9551
9853
  since?: Maybe<Scalars['DateTime']['output']>;
9552
9854
  };
9553
9855
  export declare type CompassScorecardMaturityLevelScoreSystem = {
9554
9856
  __typename?: 'CompassScorecardMaturityLevelScoreSystem';
9857
+ levelConfig?: Maybe<CompassScorecardMaturityLevelConfig>;
9555
9858
  maturityLevelConfig?: Maybe<Array<CompassScorecardMaturityLevel>>;
9556
9859
  };
9557
9860
  export declare type CompassScorecardMetricCriterionScore = CompassScorecardCriterionScore & {
@@ -66229,6 +66532,7 @@ export declare type JiraMutationUpdateUserFieldSetPreferencesArgs = {
66229
66532
  context?: InputMaybe<JiraIssueSearchViewFieldSetsContext>;
66230
66533
  fieldSetPreferencesInput: JiraFieldSetPreferencesMutationInput;
66231
66534
  namespace?: InputMaybe<Scalars['String']['input']>;
66535
+ viewId?: InputMaybe<Scalars['ID']['input']>;
66232
66536
  };
66233
66537
  export declare type JiraMutationUpdateUserNavigationConfigurationArgs = {
66234
66538
  input: JiraUpdateUserNavigationConfigurationInput;
@@ -78094,7 +78398,7 @@ export declare type MarketplaceConsoleForgeAgcAppError = MarketplaceConsoleError
78094
78398
  export declare type MarketplaceConsoleForgeAgcAppValidationResponse = MarketplaceConsoleForgeAgcApp | MarketplaceConsoleForgeAgcAppError;
78095
78399
  export declare type MarketplaceConsoleForgeFrameworkAttributes = {
78096
78400
  __typename?: 'MarketplaceConsoleForgeFrameworkAttributes';
78097
- appAccess: Array<Scalars['String']['output']>;
78401
+ appAccess?: Maybe<Array<Scalars['String']['output']>>;
78098
78402
  appId: Scalars['ID']['output'];
78099
78403
  envId: Scalars['ID']['output'];
78100
78404
  scopes: Array<Scalars['String']['output']>;
@@ -80519,6 +80823,13 @@ export declare type MercuryFocusAreaChangeRequirements = {
80519
80823
  changeProposalName?: Maybe<Scalars['String']['output']>;
80520
80824
  strategicEventId?: Maybe<Scalars['ID']['output']>;
80521
80825
  };
80826
+ export declare type MercuryFocusAreaChangeSummary = {
80827
+ __typename?: 'MercuryFocusAreaChangeSummary';
80828
+ focusAreaId: Scalars['ID']['output'];
80829
+ fundChangeSummary?: Maybe<MercuryFocusAreaFundChangeSummary>;
80830
+ positionChangeSummary?: Maybe<MercuryFocusAreaPositionChangeSummary>;
80831
+ strategicEventId: Scalars['ID']['output'];
80832
+ };
80522
80833
  export declare type MercuryFocusAreaConnection = {
80523
80834
  __typename?: 'MercuryFocusAreaConnection';
80524
80835
  edges?: Maybe<Array<Maybe<MercuryFocusAreaEdge>>>;
@@ -80530,6 +80841,11 @@ export declare type MercuryFocusAreaEdge = {
80530
80841
  cursor: Scalars['String']['output'];
80531
80842
  node?: Maybe<MercuryFocusArea>;
80532
80843
  };
80844
+ export declare type MercuryFocusAreaFundChangeSummary = {
80845
+ __typename?: 'MercuryFocusAreaFundChangeSummary';
80846
+ laborAmount?: Maybe<Scalars['BigDecimal']['output']>;
80847
+ nonLaborAmount?: Maybe<Scalars['BigDecimal']['output']>;
80848
+ };
80533
80849
  export declare type MercuryFocusAreaGoalLink = Node & {
80534
80850
  __typename?: 'MercuryFocusAreaGoalLink';
80535
80851
  atlasGoal?: Maybe<TownsquareGoal>;
@@ -80599,6 +80915,13 @@ export declare type MercuryFocusAreaLinks = {
80599
80915
  __typename?: 'MercuryFocusAreaLinks';
80600
80916
  links: Array<MercuryFocusAreaLink>;
80601
80917
  };
80918
+ export declare type MercuryFocusAreaPositionChangeSummary = {
80919
+ __typename?: 'MercuryFocusAreaPositionChangeSummary';
80920
+ movedInCount?: Maybe<Scalars['Int']['output']>;
80921
+ movedOutCount?: Maybe<Scalars['Int']['output']>;
80922
+ movedWithinCount?: Maybe<Scalars['Int']['output']>;
80923
+ newCount?: Maybe<Scalars['Int']['output']>;
80924
+ };
80602
80925
  export declare type MercuryFocusAreaSort = {
80603
80926
  field?: InputMaybe<MercuryFocusAreaSortField>;
80604
80927
  order: SortOrder;
@@ -81841,6 +82164,7 @@ export declare type MercuryStrategicEventsQueryApi = {
81841
82164
  changeProposals?: Maybe<Array<Maybe<MercuryChangeProposal>>>;
81842
82165
  changeProposalsSearch?: Maybe<MercuryChangeProposalConnection>;
81843
82166
  changeSummariesReport?: Maybe<MercuryChangeSummaries>;
82167
+ changeSummaryByFocusAreaHierarchy?: Maybe<Array<Maybe<MercuryFocusAreaChangeSummary>>>;
81844
82168
  changeSummaryByFocusAreaIds?: Maybe<Array<Maybe<MercuryChangeSummary>>>;
81845
82169
  changeSummaryForChangeProposal?: Maybe<MercuryChangeSummaryForChangeProposal>;
81846
82170
  changeSummaryInternal?: Maybe<Array<Maybe<MercuryChangeSummary>>>;
@@ -81875,6 +82199,10 @@ export declare type MercuryStrategicEventsQueryApiChangeProposalsSearchArgs = {
81875
82199
  export declare type MercuryStrategicEventsQueryApiChangeSummariesReportArgs = {
81876
82200
  strategicEventId?: InputMaybe<Scalars['ID']['input']>;
81877
82201
  };
82202
+ export declare type MercuryStrategicEventsQueryApiChangeSummaryByFocusAreaHierarchyArgs = {
82203
+ focusAreaIds: Array<Scalars['ID']['input']>;
82204
+ strategicEventId?: InputMaybe<Scalars['ID']['input']>;
82205
+ };
81878
82206
  export declare type MercuryStrategicEventsQueryApiChangeSummaryByFocusAreaIdsArgs = {
81879
82207
  focusAreaIds: Array<Scalars['ID']['input']>;
81880
82208
  strategicEventId?: InputMaybe<Scalars['ID']['input']>;
@@ -85400,6 +85728,7 @@ export declare type OAuthClientsAccountGrant = {
85400
85728
  accountId?: Maybe<Scalars['String']['output']>;
85401
85729
  appEnvironment?: Maybe<AppEnvironment>;
85402
85730
  clientId?: Maybe<Scalars['String']['output']>;
85731
+ clientInfo?: Maybe<OAuthClientsClientInfo>;
85403
85732
  scopeDetails?: Maybe<Array<Maybe<OAuthClientsScopeDetails>>>;
85404
85733
  scopes?: Maybe<Array<Scalars['String']['output']>>;
85405
85734
  };
@@ -85421,6 +85750,13 @@ export declare type OAuthClientsAccountGrantPageInfo = {
85421
85750
  hasPreviousPage: Scalars['Boolean']['output'];
85422
85751
  startCursor?: Maybe<Scalars['String']['output']>;
85423
85752
  };
85753
+ export declare type OAuthClientsClientInfo = {
85754
+ __typename?: 'OAuthClientsClientInfo';
85755
+ clientId: Scalars['String']['output'];
85756
+ clientName?: Maybe<Scalars['String']['output']>;
85757
+ customerName?: Maybe<Scalars['String']['output']>;
85758
+ profileName?: Maybe<Scalars['String']['output']>;
85759
+ };
85424
85760
  export declare type OAuthClientsQuery = {
85425
85761
  __typename?: 'OAuthClientsQuery';
85426
85762
  allAccountGrantsForUser?: Maybe<OAuthClientsAccountGrantConnection>;
@@ -88457,6 +88793,7 @@ export declare type Query = {
88457
88793
  searchesWithZeroCTR?: Maybe<SearchesWithZeroCtr>;
88458
88794
  settings_navigationCustomisation?: Maybe<SettingsNavigationCustomisation>;
88459
88795
  shepherd?: Maybe<ShepherdQuery>;
88796
+ shepherdTeamworkGraph?: Maybe<ShepherdTeamworkGraphQueries>;
88460
88797
  signUpProperties?: Maybe<SignUpProperties>;
88461
88798
  signup?: Maybe<SignupQueryApi>;
88462
88799
  singleContent?: Maybe<Content>;
@@ -96072,6 +96409,13 @@ export declare type ShepherdSuspiciousSearchTerm = {
96072
96409
  endPosition: Scalars['Int']['output'];
96073
96410
  startPosition: Scalars['Int']['output'];
96074
96411
  };
96412
+ export declare type ShepherdTeamworkGraphQueries = {
96413
+ __typename?: 'ShepherdTeamworkGraphQueries';
96414
+ workspaces?: Maybe<Array<Maybe<ShepherdWorkspace>>>;
96415
+ };
96416
+ export declare type ShepherdTeamworkGraphQueriesWorkspacesArgs = {
96417
+ ids: Array<Scalars['ID']['input']>;
96418
+ };
96075
96419
  export declare type ShepherdTime = {
96076
96420
  __typename?: 'ShepherdTime';
96077
96421
  end?: Maybe<Scalars['DateTime']['output']>;
@@ -96154,7 +96498,7 @@ export declare enum ShepherdWebhookType {
96154
96498
  MicrosoftTeams = "MICROSOFT_TEAMS",
96155
96499
  Slack = "SLACK"
96156
96500
  }
96157
- export declare type ShepherdWorkspace = {
96501
+ export declare type ShepherdWorkspace = Node & {
96158
96502
  __typename?: 'ShepherdWorkspace';
96159
96503
  bitbucketWorkspaces?: Maybe<Array<ShepherdBitbucketWorkspace>>;
96160
96504
  cloudId: Scalars['ID']['output'];
@@ -98022,21 +98366,27 @@ export declare type SupportInquiryUserContextSupportEntitlementsArgs = {
98022
98366
  export declare type SupportRequest = {
98023
98367
  __typename?: 'SupportRequest';
98024
98368
  activities: SupportRequestActivities;
98369
+ atlassianCloudUrl?: Maybe<Scalars['String']['output']>;
98025
98370
  capabilities?: Maybe<Array<Scalars['String']['output']>>;
98026
98371
  comments?: Maybe<SupportRequestComments>;
98027
98372
  createdDate: SupportRequestDisplayableDateTime;
98028
98373
  defaultFields: Array<SupportRequestField>;
98029
98374
  description: Scalars['String']['output'];
98375
+ destinationLicense?: Maybe<Scalars['String']['output']>;
98030
98376
  experienceFields?: Maybe<Array<SupportRequestField>>;
98031
98377
  fields: Array<SupportRequestField>;
98032
98378
  id: Scalars['ID']['output'];
98033
98379
  lastComment: SupportRequestComments;
98380
+ migrationPhase?: Maybe<Scalars['String']['output']>;
98381
+ migrationProducts?: Maybe<Scalars['String']['output']>;
98034
98382
  participants: Array<SupportRequestUser>;
98383
+ planToMigrate?: Maybe<Scalars['String']['output']>;
98035
98384
  projectName: Scalars['String']['output'];
98036
98385
  relatedRequests?: Maybe<Array<Maybe<SupportRequest>>>;
98037
98386
  reporter: SupportRequestUser;
98038
98387
  requestTypeName: Scalars['String']['output'];
98039
98388
  sourceId?: Maybe<Scalars['String']['output']>;
98389
+ sourceLicense?: Maybe<Scalars['String']['output']>;
98040
98390
  status: SupportRequestStatus;
98041
98391
  statuses: SupportRequestStatuses;
98042
98392
  summary?: Maybe<Scalars['String']['output']>;