stigg-api-client 1.78.0__tar.gz → 1.93.0__tar.gz

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.

Potentially problematic release.


This version of stigg-api-client might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 1.78.0
3
+ Version: 1.93.0
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "stigg-api-client"
3
- version = "1.78.0"
3
+ version = "1.93.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -135,6 +135,7 @@ def fragment_addon_fragment():
135
135
  _frag_overage_prices = _frag.overage_prices()
136
136
  _frag_overage_prices.__fragment__(fragment_overage_price_fragment())
137
137
  _frag.pricing_type()
138
+ _frag.max_quantity()
138
139
  return _frag
139
140
 
140
141
 
@@ -27,7 +27,7 @@ class AccountStatus(sgqlc.types.Enum):
27
27
 
28
28
  class AddonSortFields(sgqlc.types.Enum):
29
29
  __schema__ = schema
30
- __choices__ = ('billingId', 'createdAt', 'description', 'displayName', 'environmentId', 'id', 'isLatest', 'maxQuantity', 'pricingType', 'productId', 'refId', 'status', 'updatedAt', 'versionNumber')
30
+ __choices__ = ('billingId', 'createdAt', 'description', 'displayName', 'environmentId', 'id', 'isLatest', 'pricingType', 'productId', 'refId', 'status', 'updatedAt', 'versionNumber')
31
31
 
32
32
 
33
33
  class AggregationFunction(sgqlc.types.Enum):
@@ -170,7 +170,7 @@ class EnvironmentType(sgqlc.types.Enum):
170
170
 
171
171
  class ErrorCode(sgqlc.types.Enum):
172
172
  __schema__ = schema
173
- __choices__ = ('AccountNotFoundError', 'AddonHasToHavePriceError', 'AddonNotFound', 'AddonQuantityExceedsLimitError', 'AddonWithDraftCannotBeDeletedError', 'AmountTooLarge', 'ArchivedCouponCantBeApplied', 'AuthCustomerMismatch', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingIntegrationMissing', 'BillingPeriodMissingError', 'CannotArchiveFeatureError', 'CannotDeleteCustomerError', 'CannotDeleteFeatureError', 'CannotDeleteProductError', 'CannotEditPackageInNonDraftMode', 'CannotRemovePaymentMethodFromCustomerError', 'CannotReportUsageForEntitlementWithMeterError', 'CannotUpsertToPackageThatHasDraft', 'CheckoutIsNotSupported', 'CheckoutOptionsMissing', 'CouponNotFound', 'CustomerAlreadyHaveCustomerCoupon', 'CustomerAlreadyUsesCoupon', 'CustomerHasNoEmailAddress', 'CustomerHasNoPaymentMethod', 'CustomerNoBillingId', 'CustomerNotFound', 'CustomerResourceNotFound', 'DowngradeBillingPeriodNotSupportedError', 'DraftPlanCantBeArchived', 'DuplicateAddonProvisionedError', 'DuplicateProductValidationError', 'DuplicatedEntityNotAllowed', 'EditAllowedOnDraftPackageOnlyError', 'EntitlementLimitExceededError', 'EntitlementsMustBelongToSamePackage', 'EntityIdDifferentFromRefIdError', 'EntityIsArchivedError', 'EnvironmentMissing', 'ExperimentAlreadyRunning', 'ExperimentNotFoundError', 'ExperimentStatusError', 'FailedToCreateCheckoutSessionError', 'FailedToImportCustomer', 'FeatureNotFound', 'FetchAllCountriesPricesNotAllowed', 'IdentityForbidden', 'ImportAlreadyInProgress', 'ImportSubscriptionsBulkError', 'InitStripePaymentMethodError', 'IntegrationNotFound', 'IntegrationValidationError', 'IntegrityViolation', 'InvalidAddressError', 'InvalidArgumentError', 'InvalidCancellationDate', 'InvalidEntitlementResetPeriod', 'InvalidMemberDelete', 'InvalidMetadataError', 'InvalidQuantity', 'InvalidSubscriptionStatus', 'InvalidUpdatePriceUnitAmountError', 'MemberInvitationError', 'MemberNotFound', 'MergeEnvironmentValidationError', 'MeterMustBeAssociatedToMeteredFeature', 'MeteringNotAvailableForFeatureType', 'MissingEntityIdError', 'NoFeatureEntitlementInSubscription', 'NoProductsAvailable', 'OperationNotAllowedDuringInProgressExperiment', 'PackageAlreadyPublished', 'PackageGroupNotFound', 'PackagePricingTypeNotSet', 'PaymentMethodNotFoundError', 'PlanCannotBePublishWhenBasePlanIsDraft', 'PlanCannotBePublishWhenCompatibleAddonIsDraft', 'PlanIsUsedAsDefaultStartPlan', 'PlanIsUsedAsDowngradePlan', 'PlanNotFound', 'PlanWithChildCantBeDeleted', 'PlansCircularDependencyError', 'PriceNotFound', 'ProductNotFoundError', 'PromotionCodeCustomerNotFirstPurchase', 'PromotionCodeMaxRedemptionsReached', 'PromotionCodeMinimumAmountNotReached', 'PromotionCodeNotActive', 'PromotionCodeNotForCustomer', 'PromotionCodeNotFound', 'PromotionalEntitlementNotFoundError', 'RateLimitExceeded', 'RecalculateEntitlementsError', 'ResyncAlreadyInProgress', 'ScheduledMigrationAlreadyExistsError', 'SelectedBillingModelDoesntMatchImportedItemError', 'StripeCustomerIsDeleted', 'StripeError', 'SubscriptionAlreadyCanceledOrExpired', 'SubscriptionAlreadyOnLatestPlanError', 'SubscriptionMustHaveSinglePlanError', 'SubscriptionNotFound', 'TooManySubscriptionsPerCustomer', 'TrialMinDateError', 'TrialMustBeCancelledImmediately', 'UnPublishedPackage', 'Unauthenticated', 'UncompatibleSubscriptionAddon', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier')
173
+ __choices__ = ('AccountNotFoundError', 'AddonDependencyMissingError', 'AddonHasToHavePriceError', 'AddonNotFound', 'AddonQuantityExceedsLimitError', 'AddonWithDraftCannotBeDeletedError', 'AmountTooLarge', 'ArchivedCouponCantBeApplied', 'AuthCustomerMismatch', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingIntegrationMissing', 'BillingPeriodMissingError', 'CannotArchiveFeatureError', 'CannotDeleteCustomerError', 'CannotDeleteFeatureError', 'CannotDeleteProductError', 'CannotEditPackageInNonDraftMode', 'CannotRemovePaymentMethodFromCustomerError', 'CannotReportUsageForEntitlementWithMeterError', 'CannotUpsertToPackageThatHasDraft', 'CheckoutIsNotSupported', 'CheckoutOptionsMissing', 'CouponNotFound', 'CustomerAlreadyHaveCustomerCoupon', 'CustomerAlreadyUsesCoupon', 'CustomerHasNoEmailAddress', 'CustomerHasNoPaymentMethod', 'CustomerNoBillingId', 'CustomerNotFound', 'CustomerResourceNotFound', 'DowngradeBillingPeriodNotSupportedError', 'DraftPlanCantBeArchived', 'DuplicateAddonProvisionedError', 'DuplicateProductValidationError', 'DuplicatedEntityNotAllowed', 'EditAllowedOnDraftPackageOnlyError', 'EntitlementLimitExceededError', 'EntitlementsMustBelongToSamePackage', 'EntityIdDifferentFromRefIdError', 'EntityIsArchivedError', 'EnvironmentMissing', 'ExperimentAlreadyRunning', 'ExperimentNotFoundError', 'ExperimentStatusError', 'FailedToCreateCheckoutSessionError', 'FailedToImportCustomer', 'FeatureNotFound', 'FetchAllCountriesPricesNotAllowed', 'IdentityForbidden', 'ImportAlreadyInProgress', 'ImportSubscriptionsBulkError', 'InitStripePaymentMethodError', 'IntegrationNotFound', 'IntegrationValidationError', 'IntegrityViolation', 'InvalidAddressError', 'InvalidArgumentError', 'InvalidCancellationDate', 'InvalidEntitlementResetPeriod', 'InvalidMemberDelete', 'InvalidMetadataError', 'InvalidQuantity', 'InvalidSubscriptionStatus', 'InvalidUpdatePriceUnitAmountError', 'MemberInvitationError', 'MemberNotFound', 'MergeEnvironmentValidationError', 'MeterMustBeAssociatedToMeteredFeature', 'MeteringNotAvailableForFeatureType', 'MissingEntityIdError', 'NoFeatureEntitlementInSubscription', 'NoProductsAvailable', 'OperationNotAllowedDuringInProgressExperiment', 'PackageAlreadyPublished', 'PackageGroupNotFound', 'PackagePricingTypeNotSet', 'PaymentMethodNotFoundError', 'PlanCannotBePublishWhenBasePlanIsDraft', 'PlanCannotBePublishWhenCompatibleAddonIsDraft', 'PlanIsUsedAsDefaultStartPlan', 'PlanIsUsedAsDowngradePlan', 'PlanNotFound', 'PlanWithChildCantBeDeleted', 'PlansCircularDependencyError', 'PriceNotFound', 'ProductNotFoundError', 'PromotionCodeCustomerNotFirstPurchase', 'PromotionCodeMaxRedemptionsReached', 'PromotionCodeMinimumAmountNotReached', 'PromotionCodeNotActive', 'PromotionCodeNotForCustomer', 'PromotionCodeNotFound', 'PromotionalEntitlementNotFoundError', 'RateLimitExceeded', 'RecalculateEntitlementsError', 'ResyncAlreadyInProgress', 'ScheduledMigrationAlreadyExistsError', 'SelectedBillingModelDoesntMatchImportedItemError', 'StripeCustomerIsDeleted', 'StripeError', 'SubscriptionAlreadyCanceledOrExpired', 'SubscriptionAlreadyOnLatestPlanError', 'SubscriptionMustHaveSinglePlanError', 'SubscriptionNotFound', 'TooManySubscriptionsPerCustomer', 'TrialMinDateError', 'TrialMustBeCancelledImmediately', 'UnPublishedPackage', 'Unauthenticated', 'UncompatibleSubscriptionAddon', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier')
174
174
 
175
175
 
176
176
  class EventLogType(sgqlc.types.Enum):
@@ -270,7 +270,7 @@ class PackageEntitlementSortFields(sgqlc.types.Enum):
270
270
 
271
271
  class PackageGroupSortFields(sgqlc.types.Enum):
272
272
  __schema__ = schema
273
- __choices__ = ('createdAt', 'displayName', 'environmentId', 'isLatest', 'packageGroupId', 'status', 'updatedAt', 'versionNumber')
273
+ __choices__ = ('createdAt', 'displayName', 'environmentId', 'isLatest', 'packageGroupId', 'productId', 'status', 'updatedAt', 'versionNumber')
274
274
 
275
275
 
276
276
  class PackageGroupStatus(sgqlc.types.Enum):
@@ -518,10 +518,11 @@ class AddCompatibleAddonsToPlanInput(sgqlc.types.Input):
518
518
 
519
519
  class AddonCreateInput(sgqlc.types.Input):
520
520
  __schema__ = schema
521
- __field_names__ = ('additional_meta_data', 'aws_marketplace_plan_dimension', 'billing_id', 'description', 'display_name', 'environment_id', 'hidden_from_widgets', 'max_quantity', 'pricing_type', 'product_id', 'ref_id', 'status')
521
+ __field_names__ = ('additional_meta_data', 'aws_marketplace_plan_dimension', 'billing_id', 'dependencies', 'description', 'display_name', 'environment_id', 'hidden_from_widgets', 'max_quantity', 'pricing_type', 'product_id', 'ref_id', 'status')
522
522
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
523
523
  aws_marketplace_plan_dimension = sgqlc.types.Field(String, graphql_name='awsMarketplacePlanDimension')
524
524
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
525
+ dependencies = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='dependencies')
525
526
  description = sgqlc.types.Field(String, graphql_name='description')
526
527
  display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
527
528
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
@@ -535,7 +536,7 @@ class AddonCreateInput(sgqlc.types.Input):
535
536
 
536
537
  class AddonFilter(sgqlc.types.Input):
537
538
  __schema__ = schema
538
- __field_names__ = ('and_', 'billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'max_quantity', 'or_', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
539
+ __field_names__ = ('and_', 'billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'or_', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
539
540
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('AddonFilter')), graphql_name='and')
540
541
  billing_id = sgqlc.types.Field('StringFieldComparison', graphql_name='billingId')
541
542
  created_at = sgqlc.types.Field('DateFieldComparison', graphql_name='createdAt')
@@ -544,7 +545,6 @@ class AddonFilter(sgqlc.types.Input):
544
545
  environment_id = sgqlc.types.Field('StringFieldComparison', graphql_name='environmentId')
545
546
  id = sgqlc.types.Field('StringFieldComparison', graphql_name='id')
546
547
  is_latest = sgqlc.types.Field('BooleanFieldComparison', graphql_name='isLatest')
547
- max_quantity = sgqlc.types.Field('NumberFieldComparison', graphql_name='maxQuantity')
548
548
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('AddonFilter')), graphql_name='or')
549
549
  pricing_type = sgqlc.types.Field('PricingTypeFilterComparison', graphql_name='pricingType')
550
550
  product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='productId')
@@ -564,9 +564,10 @@ class AddonSort(sgqlc.types.Input):
564
564
 
565
565
  class AddonUpdateInput(sgqlc.types.Input):
566
566
  __schema__ = schema
567
- __field_names__ = ('additional_meta_data', 'billing_id', 'description', 'display_name', 'hidden_from_widgets', 'id', 'max_quantity', 'status')
567
+ __field_names__ = ('additional_meta_data', 'billing_id', 'dependencies', 'description', 'display_name', 'hidden_from_widgets', 'id', 'max_quantity', 'status')
568
568
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
569
569
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
570
+ dependencies = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='dependencies')
570
571
  description = sgqlc.types.Field(String, graphql_name='description')
571
572
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
572
573
  hidden_from_widgets = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(WidgetType)), graphql_name='hiddenFromWidgets')
@@ -664,6 +665,13 @@ class ArchiveFeatureInput(sgqlc.types.Input):
664
665
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
665
666
 
666
667
 
668
+ class ArchivePackageGroup(sgqlc.types.Input):
669
+ __schema__ = schema
670
+ __field_names__ = ('environment_id', 'package_group_id')
671
+ environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
672
+ package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
673
+
674
+
667
675
  class ArchivePlanInput(sgqlc.types.Input):
668
676
  __schema__ = schema
669
677
  __field_names__ = ('environment_id', 'id')
@@ -1046,20 +1054,12 @@ class CreateOrUpdateAwsMarketplaceProductInput(sgqlc.types.Input):
1046
1054
 
1047
1055
  class CreatePackageGroup(sgqlc.types.Input):
1048
1056
  __schema__ = schema
1049
- __field_names__ = ('description', 'display_name', 'environment_id', 'package_group_id', 'product_id', 'status')
1057
+ __field_names__ = ('description', 'display_name', 'environment_id', 'package_group_id', 'product_id')
1050
1058
  description = sgqlc.types.Field(String, graphql_name='description')
1051
1059
  display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
1052
1060
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
1053
1061
  package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
1054
1062
  product_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='productId')
1055
- status = sgqlc.types.Field(PackageStatus, graphql_name='status')
1056
-
1057
-
1058
- class CreatePackageGroupDraft(sgqlc.types.Input):
1059
- __schema__ = schema
1060
- __field_names__ = ('environment_id', 'package_group_id')
1061
- environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
1062
- package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
1063
1063
 
1064
1064
 
1065
1065
  class CursorPaging(sgqlc.types.Input):
@@ -1541,6 +1541,15 @@ class DuplicateProductInput(sgqlc.types.Input):
1541
1541
  source_product_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='sourceProductId')
1542
1542
 
1543
1543
 
1544
+ class EditPackageGroupDetailsInput(sgqlc.types.Input):
1545
+ __schema__ = schema
1546
+ __field_names__ = ('description', 'display_name', 'environment_id', 'package_group_id')
1547
+ description = sgqlc.types.Field(String, graphql_name='description')
1548
+ display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
1549
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
1550
+ package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
1551
+
1552
+
1544
1553
  class EntitlementCheckRequested(sgqlc.types.Input):
1545
1554
  __schema__ = schema
1546
1555
  __field_names__ = ('customer_id', 'entitlement_check_result', 'environment_id', 'feature_id', 'requested_usage', 'resource_id')
@@ -2360,7 +2369,7 @@ class PackageEntitlementUpdateInput(sgqlc.types.Input):
2360
2369
 
2361
2370
  class PackageGroupFilter(sgqlc.types.Input):
2362
2371
  __schema__ = schema
2363
- __field_names__ = ('addons', 'and_', 'created_at', 'display_name', 'environment_id', 'is_latest', 'or_', 'package_group_id', 'product', 'status', 'updated_at', 'version_number')
2372
+ __field_names__ = ('addons', 'and_', 'created_at', 'display_name', 'environment_id', 'is_latest', 'or_', 'package_group_id', 'product', 'product_id', 'status', 'updated_at', 'version_number')
2364
2373
  addons = sgqlc.types.Field('PackageGroupFilterAddonFilter', graphql_name='addons')
2365
2374
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageGroupFilter')), graphql_name='and')
2366
2375
  created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
@@ -2370,6 +2379,7 @@ class PackageGroupFilter(sgqlc.types.Input):
2370
2379
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageGroupFilter')), graphql_name='or')
2371
2380
  package_group_id = sgqlc.types.Field('StringFieldComparison', graphql_name='packageGroupId')
2372
2381
  product = sgqlc.types.Field('PackageGroupFilterProductFilter', graphql_name='product')
2382
+ product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='productId')
2373
2383
  status = sgqlc.types.Field('PackageGroupStatusFilterComparison', graphql_name='status')
2374
2384
  updated_at = sgqlc.types.Field(DateFieldComparison, graphql_name='updatedAt')
2375
2385
  version_number = sgqlc.types.Field(IntFieldComparison, graphql_name='versionNumber')
@@ -2377,7 +2387,7 @@ class PackageGroupFilter(sgqlc.types.Input):
2377
2387
 
2378
2388
  class PackageGroupFilterAddonFilter(sgqlc.types.Input):
2379
2389
  __schema__ = schema
2380
- __field_names__ = ('and_', 'billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'max_quantity', 'or_', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
2390
+ __field_names__ = ('and_', 'billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'or_', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
2381
2391
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageGroupFilterAddonFilter')), graphql_name='and')
2382
2392
  billing_id = sgqlc.types.Field('StringFieldComparison', graphql_name='billingId')
2383
2393
  created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
@@ -2386,7 +2396,6 @@ class PackageGroupFilterAddonFilter(sgqlc.types.Input):
2386
2396
  environment_id = sgqlc.types.Field('StringFieldComparison', graphql_name='environmentId')
2387
2397
  id = sgqlc.types.Field('StringFieldComparison', graphql_name='id')
2388
2398
  is_latest = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isLatest')
2389
- max_quantity = sgqlc.types.Field(NumberFieldComparison, graphql_name='maxQuantity')
2390
2399
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageGroupFilterAddonFilter')), graphql_name='or')
2391
2400
  pricing_type = sgqlc.types.Field('PricingTypeFilterComparison', graphql_name='pricingType')
2392
2401
  product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='productId')
@@ -2566,7 +2575,7 @@ class PlanFilter(sgqlc.types.Input):
2566
2575
 
2567
2576
  class PlanFilterAddonFilter(sgqlc.types.Input):
2568
2577
  __schema__ = schema
2569
- __field_names__ = ('and_', 'billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'max_quantity', 'or_', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
2578
+ __field_names__ = ('and_', 'billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'or_', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
2570
2579
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilterAddonFilter')), graphql_name='and')
2571
2580
  billing_id = sgqlc.types.Field('StringFieldComparison', graphql_name='billingId')
2572
2581
  created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
@@ -2575,7 +2584,6 @@ class PlanFilterAddonFilter(sgqlc.types.Input):
2575
2584
  environment_id = sgqlc.types.Field('StringFieldComparison', graphql_name='environmentId')
2576
2585
  id = sgqlc.types.Field('StringFieldComparison', graphql_name='id')
2577
2586
  is_latest = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isLatest')
2578
- max_quantity = sgqlc.types.Field(NumberFieldComparison, graphql_name='maxQuantity')
2579
2587
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilterAddonFilter')), graphql_name='or')
2580
2588
  pricing_type = sgqlc.types.Field('PricingTypeFilterComparison', graphql_name='pricingType')
2581
2589
  product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='productId')
@@ -2587,7 +2595,7 @@ class PlanFilterAddonFilter(sgqlc.types.Input):
2587
2595
 
2588
2596
  class PlanFilterPackageGroupFilter(sgqlc.types.Input):
2589
2597
  __schema__ = schema
2590
- __field_names__ = ('and_', 'created_at', 'display_name', 'environment_id', 'is_latest', 'or_', 'package_group_id', 'status', 'updated_at', 'version_number')
2598
+ __field_names__ = ('and_', 'created_at', 'display_name', 'environment_id', 'is_latest', 'or_', 'package_group_id', 'product_id', 'status', 'updated_at', 'version_number')
2591
2599
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilterPackageGroupFilter')), graphql_name='and')
2592
2600
  created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
2593
2601
  display_name = sgqlc.types.Field('StringFieldComparison', graphql_name='displayName')
@@ -2595,6 +2603,7 @@ class PlanFilterPackageGroupFilter(sgqlc.types.Input):
2595
2603
  is_latest = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isLatest')
2596
2604
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilterPackageGroupFilter')), graphql_name='or')
2597
2605
  package_group_id = sgqlc.types.Field('StringFieldComparison', graphql_name='packageGroupId')
2606
+ product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='productId')
2598
2607
  status = sgqlc.types.Field(PackageGroupStatusFilterComparison, graphql_name='status')
2599
2608
  updated_at = sgqlc.types.Field(DateFieldComparison, graphql_name='updatedAt')
2600
2609
  version_number = sgqlc.types.Field(IntFieldComparison, graphql_name='versionNumber')
@@ -2988,13 +2997,6 @@ class ProvisionSubscriptionInput(sgqlc.types.Input):
2988
2997
  unit_quantity = sgqlc.types.Field(Float, graphql_name='unitQuantity')
2989
2998
 
2990
2999
 
2991
- class PublishPackageGroup(sgqlc.types.Input):
2992
- __schema__ = schema
2993
- __field_names__ = ('environment_id', 'package_group_id')
2994
- environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
2995
- package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
2996
-
2997
-
2998
3000
  class RecalculateEntitlementsInput(sgqlc.types.Input):
2999
3001
  __schema__ = schema
3000
3002
  __field_names__ = ('customer_ids', 'environment_id', 'for_all_customers', 'side_effects_options')
@@ -3256,7 +3258,7 @@ class SubscriptionAddonFilter(sgqlc.types.Input):
3256
3258
 
3257
3259
  class SubscriptionAddonFilterAddonFilter(sgqlc.types.Input):
3258
3260
  __schema__ = schema
3259
- __field_names__ = ('and_', 'billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'max_quantity', 'or_', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
3261
+ __field_names__ = ('and_', 'billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'or_', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
3260
3262
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonFilterAddonFilter')), graphql_name='and')
3261
3263
  billing_id = sgqlc.types.Field(StringFieldComparison, graphql_name='billingId')
3262
3264
  created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
@@ -3265,7 +3267,6 @@ class SubscriptionAddonFilterAddonFilter(sgqlc.types.Input):
3265
3267
  environment_id = sgqlc.types.Field(StringFieldComparison, graphql_name='environmentId')
3266
3268
  id = sgqlc.types.Field(StringFieldComparison, graphql_name='id')
3267
3269
  is_latest = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isLatest')
3268
- max_quantity = sgqlc.types.Field(NumberFieldComparison, graphql_name='maxQuantity')
3269
3270
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonFilterAddonFilter')), graphql_name='or')
3270
3271
  pricing_type = sgqlc.types.Field(PricingTypeFilterComparison, graphql_name='pricingType')
3271
3272
  product_id = sgqlc.types.Field(StringFieldComparison, graphql_name='productId')
@@ -3366,9 +3367,10 @@ class SubscriptionCancelReasonFilterComparison(sgqlc.types.Input):
3366
3367
 
3367
3368
  class SubscriptionCancellationInput(sgqlc.types.Input):
3368
3369
  __schema__ = schema
3369
- __field_names__ = ('end_date', 'environment_id', 'subscription_cancellation_action', 'subscription_cancellation_time', 'subscription_ref_id')
3370
+ __field_names__ = ('end_date', 'environment_id', 'prorate', 'subscription_cancellation_action', 'subscription_cancellation_time', 'subscription_ref_id')
3370
3371
  end_date = sgqlc.types.Field(DateTime, graphql_name='endDate')
3371
3372
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
3373
+ prorate = sgqlc.types.Field(Boolean, graphql_name='prorate')
3372
3374
  subscription_cancellation_action = sgqlc.types.Field(SubscriptionCancellationAction, graphql_name='subscriptionCancellationAction')
3373
3375
  subscription_cancellation_time = sgqlc.types.Field(SubscriptionCancellationTime, graphql_name='subscriptionCancellationTime')
3374
3376
  subscription_ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionRefId')
@@ -4154,11 +4156,12 @@ class AdditionalMetaDataChange(sgqlc.types.Type):
4154
4156
 
4155
4157
  class Addon(sgqlc.types.Type):
4156
4158
  __schema__ = schema
4157
- __field_names__ = ('additional_meta_data', 'billing_id', 'billing_link_url', 'created_at', 'description', 'display_name', 'draft_details', 'draft_summary', 'entitlements', 'environment', 'environment_id', 'has_subscriptions', 'hidden_from_widgets', 'id', 'is_latest', 'max_quantity', 'overage_prices', 'prices', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
4159
+ __field_names__ = ('additional_meta_data', 'billing_id', 'billing_link_url', 'created_at', 'dependencies', 'description', 'display_name', 'draft_details', 'draft_summary', 'entitlements', 'environment', 'environment_id', 'has_subscriptions', 'hidden_from_widgets', 'id', 'is_latest', 'max_quantity', 'overage_prices', 'prices', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
4158
4160
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
4159
4161
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4160
4162
  billing_link_url = sgqlc.types.Field(String, graphql_name='billingLinkUrl')
4161
4163
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
4164
+ dependencies = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Addon')), graphql_name='dependencies')
4162
4165
  description = sgqlc.types.Field(String, graphql_name='description')
4163
4166
  display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
4164
4167
  draft_details = sgqlc.types.Field('PackageDraftDetails', graphql_name='draftDetails')
@@ -4190,7 +4193,7 @@ class Addon(sgqlc.types.Type):
4190
4193
 
4191
4194
  class AddonAggregateGroupBy(sgqlc.types.Type):
4192
4195
  __schema__ = schema
4193
- __field_names__ = ('billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'max_quantity', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
4196
+ __field_names__ = ('billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
4194
4197
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4195
4198
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
4196
4199
  description = sgqlc.types.Field(String, graphql_name='description')
@@ -4198,7 +4201,6 @@ class AddonAggregateGroupBy(sgqlc.types.Type):
4198
4201
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
4199
4202
  id = sgqlc.types.Field(String, graphql_name='id')
4200
4203
  is_latest = sgqlc.types.Field(Boolean, graphql_name='isLatest')
4201
- max_quantity = sgqlc.types.Field(Float, graphql_name='maxQuantity')
4202
4204
  pricing_type = sgqlc.types.Field(PricingType, graphql_name='pricingType')
4203
4205
  product_id = sgqlc.types.Field(String, graphql_name='productId')
4204
4206
  ref_id = sgqlc.types.Field(String, graphql_name='refId')
@@ -4209,8 +4211,7 @@ class AddonAggregateGroupBy(sgqlc.types.Type):
4209
4211
 
4210
4212
  class AddonAvgAggregate(sgqlc.types.Type):
4211
4213
  __schema__ = schema
4212
- __field_names__ = ('max_quantity', 'version_number')
4213
- max_quantity = sgqlc.types.Field(Float, graphql_name='maxQuantity')
4214
+ __field_names__ = ('version_number',)
4214
4215
  version_number = sgqlc.types.Field(Float, graphql_name='versionNumber')
4215
4216
 
4216
4217
 
@@ -4231,7 +4232,7 @@ class AddonConnection(sgqlc.types.relay.Connection):
4231
4232
 
4232
4233
  class AddonCountAggregate(sgqlc.types.Type):
4233
4234
  __schema__ = schema
4234
- __field_names__ = ('billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'max_quantity', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
4235
+ __field_names__ = ('billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
4235
4236
  billing_id = sgqlc.types.Field(Int, graphql_name='billingId')
4236
4237
  created_at = sgqlc.types.Field(Int, graphql_name='createdAt')
4237
4238
  description = sgqlc.types.Field(Int, graphql_name='description')
@@ -4239,7 +4240,6 @@ class AddonCountAggregate(sgqlc.types.Type):
4239
4240
  environment_id = sgqlc.types.Field(Int, graphql_name='environmentId')
4240
4241
  id = sgqlc.types.Field(Int, graphql_name='id')
4241
4242
  is_latest = sgqlc.types.Field(Int, graphql_name='isLatest')
4242
- max_quantity = sgqlc.types.Field(Int, graphql_name='maxQuantity')
4243
4243
  pricing_type = sgqlc.types.Field(Int, graphql_name='pricingType')
4244
4244
  product_id = sgqlc.types.Field(Int, graphql_name='productId')
4245
4245
  ref_id = sgqlc.types.Field(Int, graphql_name='refId')
@@ -4250,11 +4250,12 @@ class AddonCountAggregate(sgqlc.types.Type):
4250
4250
 
4251
4251
  class AddonDeleteResponse(sgqlc.types.Type):
4252
4252
  __schema__ = schema
4253
- __field_names__ = ('additional_meta_data', 'billing_id', 'billing_link_url', 'created_at', 'description', 'display_name', 'draft_details', 'draft_summary', 'entitlements', 'environment_id', 'hidden_from_widgets', 'id', 'is_latest', 'max_quantity', 'overage_prices', 'prices', 'pricing_type', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
4253
+ __field_names__ = ('additional_meta_data', 'billing_id', 'billing_link_url', 'created_at', 'dependencies', 'description', 'display_name', 'draft_details', 'draft_summary', 'entitlements', 'environment_id', 'hidden_from_widgets', 'id', 'is_latest', 'max_quantity', 'overage_prices', 'prices', 'pricing_type', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
4254
4254
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
4255
4255
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4256
4256
  billing_link_url = sgqlc.types.Field(String, graphql_name='billingLinkUrl')
4257
4257
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
4258
+ dependencies = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Addon)), graphql_name='dependencies')
4258
4259
  description = sgqlc.types.Field(String, graphql_name='description')
4259
4260
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
4260
4261
  draft_details = sgqlc.types.Field('PackageDraftDetails', graphql_name='draftDetails')
@@ -4277,6 +4278,14 @@ class AddonDeleteResponse(sgqlc.types.Type):
4277
4278
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
4278
4279
 
4279
4280
 
4281
+ class AddonDependencyChange(sgqlc.types.Type):
4282
+ __schema__ = schema
4283
+ __field_names__ = ('after', 'before', 'change_type')
4284
+ after = sgqlc.types.Field(Addon, graphql_name='after')
4285
+ before = sgqlc.types.Field(Addon, graphql_name='before')
4286
+ change_type = sgqlc.types.Field(ChangeType, graphql_name='changeType')
4287
+
4288
+
4280
4289
  class AddonEdge(sgqlc.types.Type):
4281
4290
  __schema__ = schema
4282
4291
  __field_names__ = ('cursor', 'node')
@@ -4286,14 +4295,13 @@ class AddonEdge(sgqlc.types.Type):
4286
4295
 
4287
4296
  class AddonMaxAggregate(sgqlc.types.Type):
4288
4297
  __schema__ = schema
4289
- __field_names__ = ('billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'max_quantity', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
4298
+ __field_names__ = ('billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
4290
4299
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4291
4300
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
4292
4301
  description = sgqlc.types.Field(String, graphql_name='description')
4293
4302
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
4294
4303
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
4295
4304
  id = sgqlc.types.Field(String, graphql_name='id')
4296
- max_quantity = sgqlc.types.Field(Float, graphql_name='maxQuantity')
4297
4305
  pricing_type = sgqlc.types.Field(PricingType, graphql_name='pricingType')
4298
4306
  product_id = sgqlc.types.Field(String, graphql_name='productId')
4299
4307
  ref_id = sgqlc.types.Field(String, graphql_name='refId')
@@ -4304,14 +4312,13 @@ class AddonMaxAggregate(sgqlc.types.Type):
4304
4312
 
4305
4313
  class AddonMinAggregate(sgqlc.types.Type):
4306
4314
  __schema__ = schema
4307
- __field_names__ = ('billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'max_quantity', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
4315
+ __field_names__ = ('billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
4308
4316
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4309
4317
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
4310
4318
  description = sgqlc.types.Field(String, graphql_name='description')
4311
4319
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
4312
4320
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
4313
4321
  id = sgqlc.types.Field(String, graphql_name='id')
4314
- max_quantity = sgqlc.types.Field(Float, graphql_name='maxQuantity')
4315
4322
  pricing_type = sgqlc.types.Field(PricingType, graphql_name='pricingType')
4316
4323
  product_id = sgqlc.types.Field(String, graphql_name='productId')
4317
4324
  ref_id = sgqlc.types.Field(String, graphql_name='refId')
@@ -4322,8 +4329,7 @@ class AddonMinAggregate(sgqlc.types.Type):
4322
4329
 
4323
4330
  class AddonSumAggregate(sgqlc.types.Type):
4324
4331
  __schema__ = schema
4325
- __field_names__ = ('max_quantity', 'version_number')
4326
- max_quantity = sgqlc.types.Field(Float, graphql_name='maxQuantity')
4332
+ __field_names__ = ('version_number',)
4327
4333
  version_number = sgqlc.types.Field(Float, graphql_name='versionNumber')
4328
4334
 
4329
4335
 
@@ -6173,7 +6179,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
6173
6179
 
6174
6180
  class Mutation(sgqlc.types.Type):
6175
6181
  __schema__ = schema
6176
- __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_one_coupon', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', 'create_account', 'create_addon_draft', 'create_empty_addon_draft', 'create_empty_plan_draft', 'create_feature', 'create_many_package_entitlements', 'create_many_promotional_entitlements', 'create_one_addon', 'create_one_coupon', 'create_one_customer', 'create_one_environment', 'create_one_experiment', 'create_one_feature', 'create_one_hook', 'create_one_integration', 'create_one_plan', 'create_one_product', 'create_or_update_aws_marketplace_product', 'create_package_group', 'create_package_group_draft', 'create_plan_draft', 'create_subscription', 'create_usage_measurement', 'delete_feature', 'delete_one_addon', 'delete_one_feature', 'delete_one_hook', 'delete_one_integration', 'delete_one_package_entitlement', 'delete_one_price', 'delete_one_product', 'delete_one_promotional_entitlement', 'detach_customer_payment_method', 'duplicate_product', 'estimate_subscription', 'estimate_subscription_update', 'grant_promotional_entitlements', 'hide_getting_started_page', 'import_customers_bulk', 'import_one_customer', 'import_subscriptions_bulk', 'init_add_stripe_customer_payment_method', 'invite_members', 'merge_environment', 'migrate_subscription_to_latest', 'preview_subscription', 'provision_customer', 'provision_sandbox', 'provision_subscription', 'provision_subscription_v2', 'publish_addon', 'publish_package_group', 'publish_plan', 'purge_customer_cache', 'recalculate_entitlements', 'register_member', 'remove_addon_draft', 'remove_base_plan_from_plan', 'remove_compatible_addons_from_plan', 'remove_coupon_from_customer', 'remove_coupon_from_customer_subscription', 'remove_experiment_from_customer', 'remove_experiment_from_customer_subscription', 'remove_member', 'remove_plan_draft', 'report_entitlement_check_requested', 'report_event', 'report_usage', 'report_usage_bulk', 'resend_email_verification', 'resync_integration', 'revoke_promotional_entitlement', 'set_base_plan_on_plan', 'set_compatible_addons_on_plan', 'set_compatible_package_groups', 'set_coupon_on_customer', 'set_coupon_on_customer_subscription', 'set_experiment_on_customer', 'set_experiment_on_customer_subscription', 'set_package_group_addons', 'set_package_pricing', 'set_widget_configuration', 'start_experiment', 'stop_experiment', 'sync_tax_rates', 'transfer_subscription', 'trigger_import_catalog', 'trigger_import_customers', 'trigger_plan_subscription_migration', 'trigger_subscription_billing_month_ends_soon_webhook', 'trigger_subscription_usage_sync', 'unarchive_customer', 'unarchive_environment', 'update_account', 'update_entitlements_order', 'update_feature', 'update_one_addon', 'update_one_coupon', 'update_one_customer', 'update_one_environment', 'update_one_experiment', 'update_one_feature', 'update_one_hook', 'update_one_integration', 'update_one_package_entitlement', 'update_one_plan', 'update_one_product', 'update_one_promotional_entitlement', 'update_one_subscription', 'update_user')
6182
+ __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_one_coupon', 'archive_package_group', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', 'create_account', 'create_addon_draft', 'create_empty_addon_draft', 'create_empty_plan_draft', 'create_feature', 'create_many_package_entitlements', 'create_many_promotional_entitlements', 'create_one_addon', 'create_one_coupon', 'create_one_customer', 'create_one_environment', 'create_one_experiment', 'create_one_feature', 'create_one_hook', 'create_one_integration', 'create_one_plan', 'create_one_product', 'create_or_update_aws_marketplace_product', 'create_package_group', 'create_plan_draft', 'create_subscription', 'create_usage_measurement', 'delete_feature', 'delete_one_addon', 'delete_one_feature', 'delete_one_hook', 'delete_one_integration', 'delete_one_package_entitlement', 'delete_one_price', 'delete_one_product', 'delete_one_promotional_entitlement', 'detach_customer_payment_method', 'duplicate_product', 'edit_package_group', 'estimate_subscription', 'estimate_subscription_update', 'grant_promotional_entitlements', 'hide_getting_started_page', 'import_customers_bulk', 'import_one_customer', 'import_subscriptions_bulk', 'init_add_stripe_customer_payment_method', 'invite_members', 'merge_environment', 'migrate_subscription_to_latest', 'preview_subscription', 'provision_customer', 'provision_sandbox', 'provision_subscription', 'provision_subscription_v2', 'publish_addon', 'publish_plan', 'purge_customer_cache', 'recalculate_entitlements', 'register_member', 'remove_addon_draft', 'remove_base_plan_from_plan', 'remove_compatible_addons_from_plan', 'remove_coupon_from_customer', 'remove_coupon_from_customer_subscription', 'remove_experiment_from_customer', 'remove_experiment_from_customer_subscription', 'remove_member', 'remove_plan_draft', 'report_entitlement_check_requested', 'report_event', 'report_usage', 'report_usage_bulk', 'resend_email_verification', 'resync_integration', 'revoke_promotional_entitlement', 'set_base_plan_on_plan', 'set_compatible_addons_on_plan', 'set_compatible_package_groups', 'set_coupon_on_customer', 'set_coupon_on_customer_subscription', 'set_experiment_on_customer', 'set_experiment_on_customer_subscription', 'set_package_group_addons', 'set_package_pricing', 'set_widget_configuration', 'start_experiment', 'stop_experiment', 'sync_tax_rates', 'transfer_subscription', 'trigger_import_catalog', 'trigger_import_customers', 'trigger_plan_subscription_migration', 'trigger_subscription_billing_month_ends_soon_webhook', 'trigger_subscription_usage_sync', 'unarchive_customer', 'unarchive_environment', 'update_account', 'update_entitlements_order', 'update_feature', 'update_one_addon', 'update_one_coupon', 'update_one_customer', 'update_one_environment', 'update_one_experiment', 'update_one_feature', 'update_one_hook', 'update_one_integration', 'update_one_package_entitlement', 'update_one_plan', 'update_one_product', 'update_one_promotional_entitlement', 'update_one_subscription', 'update_user')
6177
6183
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
6178
6184
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
6179
6185
  ))
@@ -6196,6 +6202,10 @@ class Mutation(sgqlc.types.Type):
6196
6202
  )
6197
6203
  archive_one_coupon = sgqlc.types.Field(sgqlc.types.non_null(Coupon), graphql_name='archiveOneCoupon', args=sgqlc.types.ArgDict((
6198
6204
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(ArchiveCouponInput), graphql_name='input', default=None)),
6205
+ ))
6206
+ )
6207
+ archive_package_group = sgqlc.types.Field(sgqlc.types.non_null('PackageGroup'), graphql_name='archivePackageGroup', args=sgqlc.types.ArgDict((
6208
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(ArchivePackageGroup), graphql_name='input', default=None)),
6199
6209
  ))
6200
6210
  )
6201
6211
  archive_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='archivePlan', args=sgqlc.types.ArgDict((
@@ -6288,10 +6298,6 @@ class Mutation(sgqlc.types.Type):
6288
6298
  )
6289
6299
  create_package_group = sgqlc.types.Field(sgqlc.types.non_null('PackageGroup'), graphql_name='createPackageGroup', args=sgqlc.types.ArgDict((
6290
6300
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreatePackageGroup), graphql_name='input', default=None)),
6291
- ))
6292
- )
6293
- create_package_group_draft = sgqlc.types.Field(sgqlc.types.non_null('PackageGroup'), graphql_name='createPackageGroupDraft', args=sgqlc.types.ArgDict((
6294
- ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreatePackageGroupDraft), graphql_name='input', default=None)),
6295
6301
  ))
6296
6302
  )
6297
6303
  create_plan_draft = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='createPlanDraft', args=sgqlc.types.ArgDict((
@@ -6348,6 +6354,10 @@ class Mutation(sgqlc.types.Type):
6348
6354
  )
6349
6355
  duplicate_product = sgqlc.types.Field(sgqlc.types.non_null('Product'), graphql_name='duplicateProduct', args=sgqlc.types.ArgDict((
6350
6356
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(DuplicateProductInput), graphql_name='input', default=None)),
6357
+ ))
6358
+ )
6359
+ edit_package_group = sgqlc.types.Field(sgqlc.types.non_null('PackageGroup'), graphql_name='editPackageGroup', args=sgqlc.types.ArgDict((
6360
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(EditPackageGroupDetailsInput), graphql_name='input', default=None)),
6351
6361
  ))
6352
6362
  )
6353
6363
  estimate_subscription = sgqlc.types.Field(sgqlc.types.non_null('SubscriptionPreview'), graphql_name='estimateSubscription', args=sgqlc.types.ArgDict((
@@ -6416,10 +6426,6 @@ class Mutation(sgqlc.types.Type):
6416
6426
  )
6417
6427
  publish_addon = sgqlc.types.Field(sgqlc.types.non_null('PublishPackageResult'), graphql_name='publishAddon', args=sgqlc.types.ArgDict((
6418
6428
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(PackagePublishInput), graphql_name='input', default=None)),
6419
- ))
6420
- )
6421
- publish_package_group = sgqlc.types.Field(sgqlc.types.non_null('PackageGroup'), graphql_name='publishPackageGroup', args=sgqlc.types.ArgDict((
6422
- ('input', sgqlc.types.Arg(sgqlc.types.non_null(PublishPackageGroup), graphql_name='input', default=None)),
6423
6429
  ))
6424
6430
  )
6425
6431
  publish_plan = sgqlc.types.Field(sgqlc.types.non_null('PublishPackageResult'), graphql_name='publishPlan', args=sgqlc.types.ArgDict((
@@ -6659,11 +6665,12 @@ class PackageAlreadyPublishedError(sgqlc.types.Type):
6659
6665
 
6660
6666
  class PackageChanges(sgqlc.types.Type):
6661
6667
  __schema__ = schema
6662
- __field_names__ = ('additional_meta_data', 'base_plan', 'compatible_addons', 'default_trial_config', 'description', 'display_name', 'entitlements', 'hidden_from_widgets', 'max_quantity', 'overage_prices', 'prices', 'pricing_type', 'total_changes')
6668
+ __field_names__ = ('additional_meta_data', 'base_plan', 'compatible_addons', 'default_trial_config', 'dependencies', 'description', 'display_name', 'entitlements', 'hidden_from_widgets', 'max_quantity', 'overage_prices', 'prices', 'pricing_type', 'total_changes')
6663
6669
  additional_meta_data = sgqlc.types.Field(AdditionalMetaDataChange, graphql_name='additionalMetaData')
6664
6670
  base_plan = sgqlc.types.Field(BasePlanChange, graphql_name='basePlan')
6665
6671
  compatible_addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanCompatibleAddonChange')), graphql_name='compatibleAddons')
6666
6672
  default_trial_config = sgqlc.types.Field(DefaultTrialConfigChange, graphql_name='defaultTrialConfig')
6673
+ dependencies = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(AddonDependencyChange)), graphql_name='dependencies')
6667
6674
  description = sgqlc.types.Field('StringChangeDTO', graphql_name='description')
6668
6675
  display_name = sgqlc.types.Field('StringChangeDTO', graphql_name='displayName')
6669
6676
  entitlements = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PackageEntitlementChange'))), graphql_name='entitlements')
@@ -6833,7 +6840,7 @@ class PackageEntitlementMinAggregate(sgqlc.types.Type):
6833
6840
 
6834
6841
  class PackageGroup(sgqlc.types.Type):
6835
6842
  __schema__ = schema
6836
- __field_names__ = ('addons', 'created_at', 'description', 'display_name', 'environment_id', 'is_latest', 'package_group_id', 'product', 'status', 'updated_at', 'version_number')
6843
+ __field_names__ = ('addons', 'created_at', 'description', 'display_name', 'environment_id', 'is_latest', 'package_group_id', 'product', 'product_id', 'status', 'updated_at', 'version_number')
6837
6844
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Addon)), graphql_name='addons', args=sgqlc.types.ArgDict((
6838
6845
  ('filter', sgqlc.types.Arg(AddonFilter, graphql_name='filter', default={})),
6839
6846
  ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(AddonSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
@@ -6846,6 +6853,7 @@ class PackageGroup(sgqlc.types.Type):
6846
6853
  is_latest = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isLatest')
6847
6854
  package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
6848
6855
  product = sgqlc.types.Field(sgqlc.types.non_null('Product'), graphql_name='product')
6856
+ product_id = sgqlc.types.Field(String, graphql_name='productId')
6849
6857
  status = sgqlc.types.Field(sgqlc.types.non_null(PackageGroupStatus), graphql_name='status')
6850
6858
  updated_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='updatedAt')
6851
6859
  version_number = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='versionNumber')
@@ -6853,12 +6861,13 @@ class PackageGroup(sgqlc.types.Type):
6853
6861
 
6854
6862
  class PackageGroupAggregateGroupBy(sgqlc.types.Type):
6855
6863
  __schema__ = schema
6856
- __field_names__ = ('created_at', 'display_name', 'environment_id', 'is_latest', 'package_group_id', 'status', 'updated_at', 'version_number')
6864
+ __field_names__ = ('created_at', 'display_name', 'environment_id', 'is_latest', 'package_group_id', 'product_id', 'status', 'updated_at', 'version_number')
6857
6865
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6858
6866
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
6859
6867
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
6860
6868
  is_latest = sgqlc.types.Field(Boolean, graphql_name='isLatest')
6861
6869
  package_group_id = sgqlc.types.Field(String, graphql_name='packageGroupId')
6870
+ product_id = sgqlc.types.Field(String, graphql_name='productId')
6862
6871
  status = sgqlc.types.Field(PackageGroupStatus, graphql_name='status')
6863
6872
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
6864
6873
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
@@ -6880,12 +6889,13 @@ class PackageGroupConnection(sgqlc.types.relay.Connection):
6880
6889
 
6881
6890
  class PackageGroupCountAggregate(sgqlc.types.Type):
6882
6891
  __schema__ = schema
6883
- __field_names__ = ('created_at', 'display_name', 'environment_id', 'is_latest', 'package_group_id', 'status', 'updated_at', 'version_number')
6892
+ __field_names__ = ('created_at', 'display_name', 'environment_id', 'is_latest', 'package_group_id', 'product_id', 'status', 'updated_at', 'version_number')
6884
6893
  created_at = sgqlc.types.Field(Int, graphql_name='createdAt')
6885
6894
  display_name = sgqlc.types.Field(Int, graphql_name='displayName')
6886
6895
  environment_id = sgqlc.types.Field(Int, graphql_name='environmentId')
6887
6896
  is_latest = sgqlc.types.Field(Int, graphql_name='isLatest')
6888
6897
  package_group_id = sgqlc.types.Field(Int, graphql_name='packageGroupId')
6898
+ product_id = sgqlc.types.Field(Int, graphql_name='productId')
6889
6899
  status = sgqlc.types.Field(Int, graphql_name='status')
6890
6900
  updated_at = sgqlc.types.Field(Int, graphql_name='updatedAt')
6891
6901
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
@@ -6900,11 +6910,12 @@ class PackageGroupEdge(sgqlc.types.Type):
6900
6910
 
6901
6911
  class PackageGroupMaxAggregate(sgqlc.types.Type):
6902
6912
  __schema__ = schema
6903
- __field_names__ = ('created_at', 'display_name', 'environment_id', 'package_group_id', 'status', 'updated_at', 'version_number')
6913
+ __field_names__ = ('created_at', 'display_name', 'environment_id', 'package_group_id', 'product_id', 'status', 'updated_at', 'version_number')
6904
6914
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6905
6915
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
6906
6916
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
6907
6917
  package_group_id = sgqlc.types.Field(String, graphql_name='packageGroupId')
6918
+ product_id = sgqlc.types.Field(String, graphql_name='productId')
6908
6919
  status = sgqlc.types.Field(PackageGroupStatus, graphql_name='status')
6909
6920
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
6910
6921
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
@@ -6912,11 +6923,12 @@ class PackageGroupMaxAggregate(sgqlc.types.Type):
6912
6923
 
6913
6924
  class PackageGroupMinAggregate(sgqlc.types.Type):
6914
6925
  __schema__ = schema
6915
- __field_names__ = ('created_at', 'display_name', 'environment_id', 'package_group_id', 'status', 'updated_at', 'version_number')
6926
+ __field_names__ = ('created_at', 'display_name', 'environment_id', 'package_group_id', 'product_id', 'status', 'updated_at', 'version_number')
6916
6927
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6917
6928
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
6918
6929
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
6919
6930
  package_group_id = sgqlc.types.Field(String, graphql_name='packageGroupId')
6931
+ product_id = sgqlc.types.Field(String, graphql_name='productId')
6920
6932
  status = sgqlc.types.Field(PackageGroupStatus, graphql_name='status')
6921
6933
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
6922
6934
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')