stigg-api-client 1.73.5__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.73.5
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.73.5"
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,18 +1054,12 @@ class CreateOrUpdateAwsMarketplaceProductInput(sgqlc.types.Input):
1046
1054
 
1047
1055
  class CreatePackageGroup(sgqlc.types.Input):
1048
1056
  __schema__ = schema
1049
- __field_names__ = ('display_name', 'environment_id', 'package_group_id', 'status')
1057
+ __field_names__ = ('description', 'display_name', 'environment_id', 'package_group_id', 'product_id')
1058
+ description = sgqlc.types.Field(String, graphql_name='description')
1050
1059
  display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
1051
1060
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
1052
1061
  package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
1053
- status = sgqlc.types.Field(PackageStatus, graphql_name='status')
1054
-
1055
-
1056
- class CreatePackageGroupDraft(sgqlc.types.Input):
1057
- __schema__ = schema
1058
- __field_names__ = ('environment_id', 'package_group_id')
1059
- environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
1060
- package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
1062
+ product_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='productId')
1061
1063
 
1062
1064
 
1063
1065
  class CursorPaging(sgqlc.types.Input):
@@ -1539,6 +1541,15 @@ class DuplicateProductInput(sgqlc.types.Input):
1539
1541
  source_product_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='sourceProductId')
1540
1542
 
1541
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
+
1542
1553
  class EntitlementCheckRequested(sgqlc.types.Input):
1543
1554
  __schema__ = schema
1544
1555
  __field_names__ = ('customer_id', 'entitlement_check_result', 'environment_id', 'feature_id', 'requested_usage', 'resource_id')
@@ -1641,6 +1652,13 @@ class EventsFieldsInput(sgqlc.types.Input):
1641
1652
  filters = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('MeterFilterDefinitionInput')), graphql_name='filters')
1642
1653
 
1643
1654
 
1655
+ class EventsListInput(sgqlc.types.Input):
1656
+ __schema__ = schema
1657
+ __field_names__ = ('customer_id', 'environment_id')
1658
+ customer_id = sgqlc.types.Field(String, graphql_name='customerId')
1659
+ environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
1660
+
1661
+
1644
1662
  class ExperimentFilter(sgqlc.types.Input):
1645
1663
  __schema__ = schema
1646
1664
  __field_names__ = ('and_', 'created_at', 'customers', 'environment_id', 'id', 'name', 'or_', 'product_id', 'ref_id', 'status')
@@ -2351,7 +2369,7 @@ class PackageEntitlementUpdateInput(sgqlc.types.Input):
2351
2369
 
2352
2370
  class PackageGroupFilter(sgqlc.types.Input):
2353
2371
  __schema__ = schema
2354
- __field_names__ = ('addons', 'and_', 'created_at', 'display_name', 'environment_id', 'is_latest', 'or_', 'package_group_id', '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')
2355
2373
  addons = sgqlc.types.Field('PackageGroupFilterAddonFilter', graphql_name='addons')
2356
2374
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageGroupFilter')), graphql_name='and')
2357
2375
  created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
@@ -2360,6 +2378,8 @@ class PackageGroupFilter(sgqlc.types.Input):
2360
2378
  is_latest = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isLatest')
2361
2379
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageGroupFilter')), graphql_name='or')
2362
2380
  package_group_id = sgqlc.types.Field('StringFieldComparison', graphql_name='packageGroupId')
2381
+ product = sgqlc.types.Field('PackageGroupFilterProductFilter', graphql_name='product')
2382
+ product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='productId')
2363
2383
  status = sgqlc.types.Field('PackageGroupStatusFilterComparison', graphql_name='status')
2364
2384
  updated_at = sgqlc.types.Field(DateFieldComparison, graphql_name='updatedAt')
2365
2385
  version_number = sgqlc.types.Field(IntFieldComparison, graphql_name='versionNumber')
@@ -2367,7 +2387,7 @@ class PackageGroupFilter(sgqlc.types.Input):
2367
2387
 
2368
2388
  class PackageGroupFilterAddonFilter(sgqlc.types.Input):
2369
2389
  __schema__ = schema
2370
- __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')
2371
2391
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageGroupFilterAddonFilter')), graphql_name='and')
2372
2392
  billing_id = sgqlc.types.Field('StringFieldComparison', graphql_name='billingId')
2373
2393
  created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
@@ -2376,7 +2396,6 @@ class PackageGroupFilterAddonFilter(sgqlc.types.Input):
2376
2396
  environment_id = sgqlc.types.Field('StringFieldComparison', graphql_name='environmentId')
2377
2397
  id = sgqlc.types.Field('StringFieldComparison', graphql_name='id')
2378
2398
  is_latest = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isLatest')
2379
- max_quantity = sgqlc.types.Field(NumberFieldComparison, graphql_name='maxQuantity')
2380
2399
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageGroupFilterAddonFilter')), graphql_name='or')
2381
2400
  pricing_type = sgqlc.types.Field('PricingTypeFilterComparison', graphql_name='pricingType')
2382
2401
  product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='productId')
@@ -2386,6 +2405,23 @@ class PackageGroupFilterAddonFilter(sgqlc.types.Input):
2386
2405
  version_number = sgqlc.types.Field(IntFieldComparison, graphql_name='versionNumber')
2387
2406
 
2388
2407
 
2408
+ class PackageGroupFilterProductFilter(sgqlc.types.Input):
2409
+ __schema__ = schema
2410
+ __field_names__ = ('and_', 'aws_marketplace_product_code', 'aws_marketplace_product_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_default_product', 'or_', 'ref_id', 'updated_at')
2411
+ and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageGroupFilterProductFilter')), graphql_name='and')
2412
+ aws_marketplace_product_code = sgqlc.types.Field('StringFieldComparison', graphql_name='awsMarketplaceProductCode')
2413
+ aws_marketplace_product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='awsMarketplaceProductId')
2414
+ created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
2415
+ description = sgqlc.types.Field('StringFieldComparison', graphql_name='description')
2416
+ display_name = sgqlc.types.Field('StringFieldComparison', graphql_name='displayName')
2417
+ environment_id = sgqlc.types.Field('StringFieldComparison', graphql_name='environmentId')
2418
+ id = sgqlc.types.Field('StringFieldComparison', graphql_name='id')
2419
+ is_default_product = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isDefaultProduct')
2420
+ or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageGroupFilterProductFilter')), graphql_name='or')
2421
+ ref_id = sgqlc.types.Field('StringFieldComparison', graphql_name='refId')
2422
+ updated_at = sgqlc.types.Field(DateFieldComparison, graphql_name='updatedAt')
2423
+
2424
+
2389
2425
  class PackageGroupSort(sgqlc.types.Input):
2390
2426
  __schema__ = schema
2391
2427
  __field_names__ = ('direction', 'field', 'nulls')
@@ -2516,10 +2552,11 @@ class PlanCreateInput(sgqlc.types.Input):
2516
2552
 
2517
2553
  class PlanFilter(sgqlc.types.Input):
2518
2554
  __schema__ = schema
2519
- __field_names__ = ('and_', 'billing_id', 'compatible_addons', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'or_', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
2555
+ __field_names__ = ('and_', 'billing_id', 'compatible_addons', 'compatible_package_groups', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'or_', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
2520
2556
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilter')), graphql_name='and')
2521
2557
  billing_id = sgqlc.types.Field('StringFieldComparison', graphql_name='billingId')
2522
2558
  compatible_addons = sgqlc.types.Field('PlanFilterAddonFilter', graphql_name='compatibleAddons')
2559
+ compatible_package_groups = sgqlc.types.Field('PlanFilterPackageGroupFilter', graphql_name='compatiblePackageGroups')
2523
2560
  created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
2524
2561
  description = sgqlc.types.Field('StringFieldComparison', graphql_name='description')
2525
2562
  display_name = sgqlc.types.Field('StringFieldComparison', graphql_name='displayName')
@@ -2538,7 +2575,7 @@ class PlanFilter(sgqlc.types.Input):
2538
2575
 
2539
2576
  class PlanFilterAddonFilter(sgqlc.types.Input):
2540
2577
  __schema__ = schema
2541
- __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')
2542
2579
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilterAddonFilter')), graphql_name='and')
2543
2580
  billing_id = sgqlc.types.Field('StringFieldComparison', graphql_name='billingId')
2544
2581
  created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
@@ -2547,7 +2584,6 @@ class PlanFilterAddonFilter(sgqlc.types.Input):
2547
2584
  environment_id = sgqlc.types.Field('StringFieldComparison', graphql_name='environmentId')
2548
2585
  id = sgqlc.types.Field('StringFieldComparison', graphql_name='id')
2549
2586
  is_latest = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isLatest')
2550
- max_quantity = sgqlc.types.Field(NumberFieldComparison, graphql_name='maxQuantity')
2551
2587
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilterAddonFilter')), graphql_name='or')
2552
2588
  pricing_type = sgqlc.types.Field('PricingTypeFilterComparison', graphql_name='pricingType')
2553
2589
  product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='productId')
@@ -2557,6 +2593,22 @@ class PlanFilterAddonFilter(sgqlc.types.Input):
2557
2593
  version_number = sgqlc.types.Field(IntFieldComparison, graphql_name='versionNumber')
2558
2594
 
2559
2595
 
2596
+ class PlanFilterPackageGroupFilter(sgqlc.types.Input):
2597
+ __schema__ = schema
2598
+ __field_names__ = ('and_', 'created_at', 'display_name', 'environment_id', 'is_latest', 'or_', 'package_group_id', 'product_id', 'status', 'updated_at', 'version_number')
2599
+ and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilterPackageGroupFilter')), graphql_name='and')
2600
+ created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
2601
+ display_name = sgqlc.types.Field('StringFieldComparison', graphql_name='displayName')
2602
+ environment_id = sgqlc.types.Field('StringFieldComparison', graphql_name='environmentId')
2603
+ is_latest = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isLatest')
2604
+ or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilterPackageGroupFilter')), graphql_name='or')
2605
+ package_group_id = sgqlc.types.Field('StringFieldComparison', graphql_name='packageGroupId')
2606
+ product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='productId')
2607
+ status = sgqlc.types.Field(PackageGroupStatusFilterComparison, graphql_name='status')
2608
+ updated_at = sgqlc.types.Field(DateFieldComparison, graphql_name='updatedAt')
2609
+ version_number = sgqlc.types.Field(IntFieldComparison, graphql_name='versionNumber')
2610
+
2611
+
2560
2612
  class PlanFilterProductFilter(sgqlc.types.Input):
2561
2613
  __schema__ = schema
2562
2614
  __field_names__ = ('and_', 'aws_marketplace_product_code', 'aws_marketplace_product_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_default_product', 'or_', 'ref_id', 'updated_at')
@@ -2945,13 +2997,6 @@ class ProvisionSubscriptionInput(sgqlc.types.Input):
2945
2997
  unit_quantity = sgqlc.types.Field(Float, graphql_name='unitQuantity')
2946
2998
 
2947
2999
 
2948
- class PublishPackageGroup(sgqlc.types.Input):
2949
- __schema__ = schema
2950
- __field_names__ = ('environment_id', 'package_group_id')
2951
- environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
2952
- package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
2953
-
2954
-
2955
3000
  class RecalculateEntitlementsInput(sgqlc.types.Input):
2956
3001
  __schema__ = schema
2957
3002
  __field_names__ = ('customer_ids', 'environment_id', 'for_all_customers', 'side_effects_options')
@@ -3113,6 +3158,14 @@ class SetPackageGroupAddons(sgqlc.types.Input):
3113
3158
  package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
3114
3159
 
3115
3160
 
3161
+ class SetPlanCompatiblePackageGroups(sgqlc.types.Input):
3162
+ __schema__ = schema
3163
+ __field_names__ = ('environment_id', 'id', 'package_group_ids')
3164
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
3165
+ id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
3166
+ package_group_ids = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(String))), graphql_name='packageGroupIds')
3167
+
3168
+
3116
3169
  class SnowflakeCredentialsInput(sgqlc.types.Input):
3117
3170
  __schema__ = schema
3118
3171
  __field_names__ = ('database', 'host', 'password', 'role', 'schema_name', 'username', 'warehouse')
@@ -3205,7 +3258,7 @@ class SubscriptionAddonFilter(sgqlc.types.Input):
3205
3258
 
3206
3259
  class SubscriptionAddonFilterAddonFilter(sgqlc.types.Input):
3207
3260
  __schema__ = schema
3208
- __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')
3209
3262
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonFilterAddonFilter')), graphql_name='and')
3210
3263
  billing_id = sgqlc.types.Field(StringFieldComparison, graphql_name='billingId')
3211
3264
  created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
@@ -3214,7 +3267,6 @@ class SubscriptionAddonFilterAddonFilter(sgqlc.types.Input):
3214
3267
  environment_id = sgqlc.types.Field(StringFieldComparison, graphql_name='environmentId')
3215
3268
  id = sgqlc.types.Field(StringFieldComparison, graphql_name='id')
3216
3269
  is_latest = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isLatest')
3217
- max_quantity = sgqlc.types.Field(NumberFieldComparison, graphql_name='maxQuantity')
3218
3270
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonFilterAddonFilter')), graphql_name='or')
3219
3271
  pricing_type = sgqlc.types.Field(PricingTypeFilterComparison, graphql_name='pricingType')
3220
3272
  product_id = sgqlc.types.Field(StringFieldComparison, graphql_name='productId')
@@ -3315,9 +3367,10 @@ class SubscriptionCancelReasonFilterComparison(sgqlc.types.Input):
3315
3367
 
3316
3368
  class SubscriptionCancellationInput(sgqlc.types.Input):
3317
3369
  __schema__ = schema
3318
- __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')
3319
3371
  end_date = sgqlc.types.Field(DateTime, graphql_name='endDate')
3320
3372
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
3373
+ prorate = sgqlc.types.Field(Boolean, graphql_name='prorate')
3321
3374
  subscription_cancellation_action = sgqlc.types.Field(SubscriptionCancellationAction, graphql_name='subscriptionCancellationAction')
3322
3375
  subscription_cancellation_time = sgqlc.types.Field(SubscriptionCancellationTime, graphql_name='subscriptionCancellationTime')
3323
3376
  subscription_ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionRefId')
@@ -3663,6 +3716,14 @@ class TriggerSubscriptionMigrationInput(sgqlc.types.Input):
3663
3716
  version_number = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='versionNumber')
3664
3717
 
3665
3718
 
3719
+ class TriggerSubscriptionUsageSyncInput(sgqlc.types.Input):
3720
+ __schema__ = schema
3721
+ __field_names__ = ('customer_id', 'environment_id', 'resource_id')
3722
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
3723
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
3724
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
3725
+
3726
+
3666
3727
  class TypographyConfigurationInput(sgqlc.types.Input):
3667
3728
  __schema__ = schema
3668
3729
  __field_names__ = ('body', 'font_family', 'h1', 'h2', 'h3')
@@ -4095,11 +4156,12 @@ class AdditionalMetaDataChange(sgqlc.types.Type):
4095
4156
 
4096
4157
  class Addon(sgqlc.types.Type):
4097
4158
  __schema__ = schema
4098
- __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')
4099
4160
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
4100
4161
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4101
4162
  billing_link_url = sgqlc.types.Field(String, graphql_name='billingLinkUrl')
4102
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')
4103
4165
  description = sgqlc.types.Field(String, graphql_name='description')
4104
4166
  display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
4105
4167
  draft_details = sgqlc.types.Field('PackageDraftDetails', graphql_name='draftDetails')
@@ -4107,7 +4169,7 @@ class Addon(sgqlc.types.Type):
4107
4169
  entitlements = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageEntitlement')), graphql_name='entitlements')
4108
4170
  environment = sgqlc.types.Field(sgqlc.types.non_null('Environment'), graphql_name='environment')
4109
4171
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
4110
- has_subscriptions = sgqlc.types.Field(Boolean, graphql_name='hasSubscriptions')
4172
+ has_subscriptions = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='hasSubscriptions')
4111
4173
  hidden_from_widgets = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(WidgetType)), graphql_name='hiddenFromWidgets')
4112
4174
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
4113
4175
  is_latest = sgqlc.types.Field(Boolean, graphql_name='isLatest')
@@ -4131,7 +4193,7 @@ class Addon(sgqlc.types.Type):
4131
4193
 
4132
4194
  class AddonAggregateGroupBy(sgqlc.types.Type):
4133
4195
  __schema__ = schema
4134
- __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')
4135
4197
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4136
4198
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
4137
4199
  description = sgqlc.types.Field(String, graphql_name='description')
@@ -4139,7 +4201,6 @@ class AddonAggregateGroupBy(sgqlc.types.Type):
4139
4201
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
4140
4202
  id = sgqlc.types.Field(String, graphql_name='id')
4141
4203
  is_latest = sgqlc.types.Field(Boolean, graphql_name='isLatest')
4142
- max_quantity = sgqlc.types.Field(Float, graphql_name='maxQuantity')
4143
4204
  pricing_type = sgqlc.types.Field(PricingType, graphql_name='pricingType')
4144
4205
  product_id = sgqlc.types.Field(String, graphql_name='productId')
4145
4206
  ref_id = sgqlc.types.Field(String, graphql_name='refId')
@@ -4150,8 +4211,7 @@ class AddonAggregateGroupBy(sgqlc.types.Type):
4150
4211
 
4151
4212
  class AddonAvgAggregate(sgqlc.types.Type):
4152
4213
  __schema__ = schema
4153
- __field_names__ = ('max_quantity', 'version_number')
4154
- max_quantity = sgqlc.types.Field(Float, graphql_name='maxQuantity')
4214
+ __field_names__ = ('version_number',)
4155
4215
  version_number = sgqlc.types.Field(Float, graphql_name='versionNumber')
4156
4216
 
4157
4217
 
@@ -4172,7 +4232,7 @@ class AddonConnection(sgqlc.types.relay.Connection):
4172
4232
 
4173
4233
  class AddonCountAggregate(sgqlc.types.Type):
4174
4234
  __schema__ = schema
4175
- __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')
4176
4236
  billing_id = sgqlc.types.Field(Int, graphql_name='billingId')
4177
4237
  created_at = sgqlc.types.Field(Int, graphql_name='createdAt')
4178
4238
  description = sgqlc.types.Field(Int, graphql_name='description')
@@ -4180,7 +4240,6 @@ class AddonCountAggregate(sgqlc.types.Type):
4180
4240
  environment_id = sgqlc.types.Field(Int, graphql_name='environmentId')
4181
4241
  id = sgqlc.types.Field(Int, graphql_name='id')
4182
4242
  is_latest = sgqlc.types.Field(Int, graphql_name='isLatest')
4183
- max_quantity = sgqlc.types.Field(Int, graphql_name='maxQuantity')
4184
4243
  pricing_type = sgqlc.types.Field(Int, graphql_name='pricingType')
4185
4244
  product_id = sgqlc.types.Field(Int, graphql_name='productId')
4186
4245
  ref_id = sgqlc.types.Field(Int, graphql_name='refId')
@@ -4191,11 +4250,12 @@ class AddonCountAggregate(sgqlc.types.Type):
4191
4250
 
4192
4251
  class AddonDeleteResponse(sgqlc.types.Type):
4193
4252
  __schema__ = schema
4194
- __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')
4195
4254
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
4196
4255
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4197
4256
  billing_link_url = sgqlc.types.Field(String, graphql_name='billingLinkUrl')
4198
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')
4199
4259
  description = sgqlc.types.Field(String, graphql_name='description')
4200
4260
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
4201
4261
  draft_details = sgqlc.types.Field('PackageDraftDetails', graphql_name='draftDetails')
@@ -4218,6 +4278,14 @@ class AddonDeleteResponse(sgqlc.types.Type):
4218
4278
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
4219
4279
 
4220
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
+
4221
4289
  class AddonEdge(sgqlc.types.Type):
4222
4290
  __schema__ = schema
4223
4291
  __field_names__ = ('cursor', 'node')
@@ -4227,14 +4295,13 @@ class AddonEdge(sgqlc.types.Type):
4227
4295
 
4228
4296
  class AddonMaxAggregate(sgqlc.types.Type):
4229
4297
  __schema__ = schema
4230
- __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')
4231
4299
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4232
4300
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
4233
4301
  description = sgqlc.types.Field(String, graphql_name='description')
4234
4302
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
4235
4303
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
4236
4304
  id = sgqlc.types.Field(String, graphql_name='id')
4237
- max_quantity = sgqlc.types.Field(Float, graphql_name='maxQuantity')
4238
4305
  pricing_type = sgqlc.types.Field(PricingType, graphql_name='pricingType')
4239
4306
  product_id = sgqlc.types.Field(String, graphql_name='productId')
4240
4307
  ref_id = sgqlc.types.Field(String, graphql_name='refId')
@@ -4245,14 +4312,13 @@ class AddonMaxAggregate(sgqlc.types.Type):
4245
4312
 
4246
4313
  class AddonMinAggregate(sgqlc.types.Type):
4247
4314
  __schema__ = schema
4248
- __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')
4249
4316
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4250
4317
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
4251
4318
  description = sgqlc.types.Field(String, graphql_name='description')
4252
4319
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
4253
4320
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
4254
4321
  id = sgqlc.types.Field(String, graphql_name='id')
4255
- max_quantity = sgqlc.types.Field(Float, graphql_name='maxQuantity')
4256
4322
  pricing_type = sgqlc.types.Field(PricingType, graphql_name='pricingType')
4257
4323
  product_id = sgqlc.types.Field(String, graphql_name='productId')
4258
4324
  ref_id = sgqlc.types.Field(String, graphql_name='refId')
@@ -4263,8 +4329,7 @@ class AddonMinAggregate(sgqlc.types.Type):
4263
4329
 
4264
4330
  class AddonSumAggregate(sgqlc.types.Type):
4265
4331
  __schema__ = schema
4266
- __field_names__ = ('max_quantity', 'version_number')
4267
- max_quantity = sgqlc.types.Field(Float, graphql_name='maxQuantity')
4332
+ __field_names__ = ('version_number',)
4268
4333
  version_number = sgqlc.types.Field(Float, graphql_name='versionNumber')
4269
4334
 
4270
4335
 
@@ -5317,6 +5382,19 @@ class EnvironmentMissingError(sgqlc.types.Type):
5317
5382
  is_validation_error = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isValidationError')
5318
5383
 
5319
5384
 
5385
+ class EventListItem(sgqlc.types.Type):
5386
+ __schema__ = schema
5387
+ __field_names__ = ('customer', 'customer_id', 'dimensions', 'event_name', 'id', 'idempotency_key', 'resource_id', 'timestamp')
5388
+ customer = sgqlc.types.Field(Customer, graphql_name='customer')
5389
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
5390
+ dimensions = sgqlc.types.Field(JSON, graphql_name='dimensions')
5391
+ event_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='eventName')
5392
+ id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
5393
+ idempotency_key = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='idempotencyKey')
5394
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
5395
+ timestamp = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='timestamp')
5396
+
5397
+
5320
5398
  class EventLog(sgqlc.types.Type):
5321
5399
  __schema__ = schema
5322
5400
  __field_names__ = ('description', 'environment', 'environment_id', 'event_log_type', 'id', 'webhook_endpoints')
@@ -5369,6 +5447,12 @@ class EventsFields(sgqlc.types.Type):
5369
5447
  fields = sgqlc.types.Field(sgqlc.types.non_null(JSON), graphql_name='fields')
5370
5448
 
5371
5449
 
5450
+ class EventsList(sgqlc.types.Type):
5451
+ __schema__ = schema
5452
+ __field_names__ = ('events',)
5453
+ events = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(EventListItem))), graphql_name='events')
5454
+
5455
+
5372
5456
  class Experiment(sgqlc.types.Type):
5373
5457
  __schema__ = schema
5374
5458
  __field_names__ = ('control_group_name', 'created_at', 'customers', 'description', 'environment', 'environment_id', 'id', 'initial_product_settings', 'name', 'product', 'product_id', 'product_settings', 'ref_id', 'started_at', 'status', 'stopped_at', 'updated_at', 'variant_group_name', 'variant_percentage')
@@ -6095,7 +6179,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
6095
6179
 
6096
6180
  class Mutation(sgqlc.types.Type):
6097
6181
  __schema__ = schema
6098
- __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_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', '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')
6099
6183
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
6100
6184
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
6101
6185
  ))
@@ -6118,6 +6202,10 @@ class Mutation(sgqlc.types.Type):
6118
6202
  )
6119
6203
  archive_one_coupon = sgqlc.types.Field(sgqlc.types.non_null(Coupon), graphql_name='archiveOneCoupon', args=sgqlc.types.ArgDict((
6120
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)),
6121
6209
  ))
6122
6210
  )
6123
6211
  archive_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='archivePlan', args=sgqlc.types.ArgDict((
@@ -6210,10 +6298,6 @@ class Mutation(sgqlc.types.Type):
6210
6298
  )
6211
6299
  create_package_group = sgqlc.types.Field(sgqlc.types.non_null('PackageGroup'), graphql_name='createPackageGroup', args=sgqlc.types.ArgDict((
6212
6300
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreatePackageGroup), graphql_name='input', default=None)),
6213
- ))
6214
- )
6215
- create_package_group_draft = sgqlc.types.Field(sgqlc.types.non_null('PackageGroup'), graphql_name='createPackageGroupDraft', args=sgqlc.types.ArgDict((
6216
- ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreatePackageGroupDraft), graphql_name='input', default=None)),
6217
6301
  ))
6218
6302
  )
6219
6303
  create_plan_draft = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='createPlanDraft', args=sgqlc.types.ArgDict((
@@ -6270,6 +6354,10 @@ class Mutation(sgqlc.types.Type):
6270
6354
  )
6271
6355
  duplicate_product = sgqlc.types.Field(sgqlc.types.non_null('Product'), graphql_name='duplicateProduct', args=sgqlc.types.ArgDict((
6272
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)),
6273
6361
  ))
6274
6362
  )
6275
6363
  estimate_subscription = sgqlc.types.Field(sgqlc.types.non_null('SubscriptionPreview'), graphql_name='estimateSubscription', args=sgqlc.types.ArgDict((
@@ -6338,10 +6426,6 @@ class Mutation(sgqlc.types.Type):
6338
6426
  )
6339
6427
  publish_addon = sgqlc.types.Field(sgqlc.types.non_null('PublishPackageResult'), graphql_name='publishAddon', args=sgqlc.types.ArgDict((
6340
6428
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(PackagePublishInput), graphql_name='input', default=None)),
6341
- ))
6342
- )
6343
- publish_package_group = sgqlc.types.Field(sgqlc.types.non_null('PackageGroup'), graphql_name='publishPackageGroup', args=sgqlc.types.ArgDict((
6344
- ('input', sgqlc.types.Arg(sgqlc.types.non_null(PublishPackageGroup), graphql_name='input', default=None)),
6345
6429
  ))
6346
6430
  )
6347
6431
  publish_plan = sgqlc.types.Field(sgqlc.types.non_null('PublishPackageResult'), graphql_name='publishPlan', args=sgqlc.types.ArgDict((
@@ -6424,6 +6508,10 @@ class Mutation(sgqlc.types.Type):
6424
6508
  )
6425
6509
  set_compatible_addons_on_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='setCompatibleAddonsOnPlan', args=sgqlc.types.ArgDict((
6426
6510
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(SetCompatibleAddonsOnPlanInput), graphql_name='input', default=None)),
6511
+ ))
6512
+ )
6513
+ set_compatible_package_groups = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='setCompatiblePackageGroups', args=sgqlc.types.ArgDict((
6514
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(SetPlanCompatiblePackageGroups), graphql_name='input', default=None)),
6427
6515
  ))
6428
6516
  )
6429
6517
  set_coupon_on_customer = sgqlc.types.Field(sgqlc.types.non_null(Customer), graphql_name='setCouponOnCustomer', args=sgqlc.types.ArgDict((
@@ -6484,6 +6572,10 @@ class Mutation(sgqlc.types.Type):
6484
6572
  )
6485
6573
  trigger_subscription_billing_month_ends_soon_webhook = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='triggerSubscriptionBillingMonthEndsSoonWebhook', args=sgqlc.types.ArgDict((
6486
6574
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(TriggerSubscriptionBillingMonthEndsSoonWebhookInput), graphql_name='input', default=None)),
6575
+ ))
6576
+ )
6577
+ trigger_subscription_usage_sync = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='triggerSubscriptionUsageSync', args=sgqlc.types.ArgDict((
6578
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(TriggerSubscriptionUsageSyncInput), graphql_name='input', default=None)),
6487
6579
  ))
6488
6580
  )
6489
6581
  unarchive_customer = sgqlc.types.Field(sgqlc.types.non_null(Customer), graphql_name='unarchiveCustomer', args=sgqlc.types.ArgDict((
@@ -6573,15 +6665,17 @@ class PackageAlreadyPublishedError(sgqlc.types.Type):
6573
6665
 
6574
6666
  class PackageChanges(sgqlc.types.Type):
6575
6667
  __schema__ = schema
6576
- __field_names__ = ('additional_meta_data', 'base_plan', 'compatible_addons', 'default_trial_config', 'description', 'display_name', 'entitlements', 'hidden_from_widgets', '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')
6577
6669
  additional_meta_data = sgqlc.types.Field(AdditionalMetaDataChange, graphql_name='additionalMetaData')
6578
6670
  base_plan = sgqlc.types.Field(BasePlanChange, graphql_name='basePlan')
6579
6671
  compatible_addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanCompatibleAddonChange')), graphql_name='compatibleAddons')
6580
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')
6581
6674
  description = sgqlc.types.Field('StringChangeDTO', graphql_name='description')
6582
6675
  display_name = sgqlc.types.Field('StringChangeDTO', graphql_name='displayName')
6583
6676
  entitlements = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PackageEntitlementChange'))), graphql_name='entitlements')
6584
6677
  hidden_from_widgets = sgqlc.types.Field(HiddenFromWidgetsChange, graphql_name='hiddenFromWidgets')
6678
+ max_quantity = sgqlc.types.Field('StringChangeDTO', graphql_name='maxQuantity')
6585
6679
  overage_prices = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PackagePriceChange'))), graphql_name='overagePrices')
6586
6680
  prices = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PackagePriceChange'))), graphql_name='prices')
6587
6681
  pricing_type = sgqlc.types.Field('PricingTypeChange', graphql_name='pricingType')
@@ -6746,17 +6840,20 @@ class PackageEntitlementMinAggregate(sgqlc.types.Type):
6746
6840
 
6747
6841
  class PackageGroup(sgqlc.types.Type):
6748
6842
  __schema__ = schema
6749
- __field_names__ = ('addons', 'created_at', 'display_name', 'environment_id', 'is_latest', 'package_group_id', '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')
6750
6844
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Addon)), graphql_name='addons', args=sgqlc.types.ArgDict((
6751
6845
  ('filter', sgqlc.types.Arg(AddonFilter, graphql_name='filter', default={})),
6752
6846
  ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(AddonSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
6753
6847
  ))
6754
6848
  )
6755
6849
  created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='createdAt')
6850
+ description = sgqlc.types.Field(String, graphql_name='description')
6756
6851
  display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
6757
6852
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
6758
6853
  is_latest = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isLatest')
6759
6854
  package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
6855
+ product = sgqlc.types.Field(sgqlc.types.non_null('Product'), graphql_name='product')
6856
+ product_id = sgqlc.types.Field(String, graphql_name='productId')
6760
6857
  status = sgqlc.types.Field(sgqlc.types.non_null(PackageGroupStatus), graphql_name='status')
6761
6858
  updated_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='updatedAt')
6762
6859
  version_number = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='versionNumber')
@@ -6764,12 +6861,13 @@ class PackageGroup(sgqlc.types.Type):
6764
6861
 
6765
6862
  class PackageGroupAggregateGroupBy(sgqlc.types.Type):
6766
6863
  __schema__ = schema
6767
- __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')
6768
6865
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6769
6866
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
6770
6867
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
6771
6868
  is_latest = sgqlc.types.Field(Boolean, graphql_name='isLatest')
6772
6869
  package_group_id = sgqlc.types.Field(String, graphql_name='packageGroupId')
6870
+ product_id = sgqlc.types.Field(String, graphql_name='productId')
6773
6871
  status = sgqlc.types.Field(PackageGroupStatus, graphql_name='status')
6774
6872
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
6775
6873
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
@@ -6791,12 +6889,13 @@ class PackageGroupConnection(sgqlc.types.relay.Connection):
6791
6889
 
6792
6890
  class PackageGroupCountAggregate(sgqlc.types.Type):
6793
6891
  __schema__ = schema
6794
- __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')
6795
6893
  created_at = sgqlc.types.Field(Int, graphql_name='createdAt')
6796
6894
  display_name = sgqlc.types.Field(Int, graphql_name='displayName')
6797
6895
  environment_id = sgqlc.types.Field(Int, graphql_name='environmentId')
6798
6896
  is_latest = sgqlc.types.Field(Int, graphql_name='isLatest')
6799
6897
  package_group_id = sgqlc.types.Field(Int, graphql_name='packageGroupId')
6898
+ product_id = sgqlc.types.Field(Int, graphql_name='productId')
6800
6899
  status = sgqlc.types.Field(Int, graphql_name='status')
6801
6900
  updated_at = sgqlc.types.Field(Int, graphql_name='updatedAt')
6802
6901
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
@@ -6811,11 +6910,12 @@ class PackageGroupEdge(sgqlc.types.Type):
6811
6910
 
6812
6911
  class PackageGroupMaxAggregate(sgqlc.types.Type):
6813
6912
  __schema__ = schema
6814
- __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')
6815
6914
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6816
6915
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
6817
6916
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
6818
6917
  package_group_id = sgqlc.types.Field(String, graphql_name='packageGroupId')
6918
+ product_id = sgqlc.types.Field(String, graphql_name='productId')
6819
6919
  status = sgqlc.types.Field(PackageGroupStatus, graphql_name='status')
6820
6920
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
6821
6921
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
@@ -6823,11 +6923,12 @@ class PackageGroupMaxAggregate(sgqlc.types.Type):
6823
6923
 
6824
6924
  class PackageGroupMinAggregate(sgqlc.types.Type):
6825
6925
  __schema__ = schema
6826
- __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')
6827
6927
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6828
6928
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
6829
6929
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
6830
6930
  package_group_id = sgqlc.types.Field(String, graphql_name='packageGroupId')
6931
+ product_id = sgqlc.types.Field(String, graphql_name='productId')
6831
6932
  status = sgqlc.types.Field(PackageGroupStatus, graphql_name='status')
6832
6933
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
6833
6934
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
@@ -7006,7 +7107,7 @@ class PaywallProduct(sgqlc.types.Type):
7006
7107
 
7007
7108
  class Plan(sgqlc.types.Type):
7008
7109
  __schema__ = schema
7009
- __field_names__ = ('additional_meta_data', 'aws_marketplace_plan_dimension', 'base_plan', 'billing_id', 'billing_link_url', 'compatible_addons', 'created_at', 'default_trial_config', 'description', 'display_name', 'draft_details', 'draft_summary', 'entitlements', 'environment', 'environment_id', 'hidden_from_widgets', 'id', 'inherited_entitlements', 'is_latest', 'is_parent', 'overage_prices', 'prices', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
7110
+ __field_names__ = ('additional_meta_data', 'aws_marketplace_plan_dimension', 'base_plan', 'billing_id', 'billing_link_url', 'compatible_addons', 'compatible_package_groups', 'created_at', 'default_trial_config', 'description', 'display_name', 'draft_details', 'draft_summary', 'entitlements', 'environment', 'environment_id', 'hidden_from_widgets', 'id', 'inherited_entitlements', 'is_latest', 'is_parent', 'overage_prices', 'prices', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
7010
7111
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
7011
7112
  aws_marketplace_plan_dimension = sgqlc.types.Field(String, graphql_name='awsMarketplacePlanDimension')
7012
7113
  base_plan = sgqlc.types.Field('Plan', graphql_name='basePlan')
@@ -7015,6 +7116,11 @@ class Plan(sgqlc.types.Type):
7015
7116
  compatible_addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Addon)), graphql_name='compatibleAddons', args=sgqlc.types.ArgDict((
7016
7117
  ('filter', sgqlc.types.Arg(AddonFilter, graphql_name='filter', default={})),
7017
7118
  ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(AddonSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
7119
+ ))
7120
+ )
7121
+ compatible_package_groups = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PackageGroup)), graphql_name='compatiblePackageGroups', args=sgqlc.types.ArgDict((
7122
+ ('filter', sgqlc.types.Arg(PackageGroupFilter, graphql_name='filter', default={})),
7123
+ ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(PackageGroupSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
7018
7124
  ))
7019
7125
  )
7020
7126
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
@@ -7630,7 +7736,7 @@ class PublishPackageResult(sgqlc.types.Type):
7630
7736
 
7631
7737
  class Query(sgqlc.types.Type):
7632
7738
  __schema__ = schema
7633
- __field_names__ = ('addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'current_environment', 'current_user', 'customer_portal', 'customer_resources', 'customer_subscriptions', 'customers', 'does_feature_exist', 'dump_environment_for_merge_comparison', 'dump_environment_product_catalog', 'entitlement', 'entitlements', 'environments', 'events_fields', 'experiment', 'experiments', 'feature_associated_latest_packages', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_aws_external_id', 'get_customer_by_ref_id', 'get_experiment_stats', 'get_package_group', 'get_paywall', 'get_plan_by_ref_id', 'hook', 'hooks', 'import_integration_tasks', 'integrations', 'list_aws_product_dimensions', 'list_aws_products', 'members', 'mock_paywall', 'package_entitlements', 'package_group', 'package_groups', 'paywall', 'plans', 'products', 'promotional_entitlements', 'sdk_configuration', 'send_test_hook', 'stripe_customers', 'stripe_products', 'stripe_subscriptions', 'subscription_entitlements', 'subscription_migration_tasks', 'test_hook_data', 'usage_events', 'usage_history', 'usage_measurements', 'validate_merge_environment', 'widget_configuration')
7739
+ __field_names__ = ('addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'current_environment', 'current_user', 'customer_portal', 'customer_resources', 'customer_subscriptions', 'customers', 'does_feature_exist', 'dump_environment_for_merge_comparison', 'dump_environment_product_catalog', 'entitlement', 'entitlements', 'environments', 'events_fields', 'events_list', 'experiment', 'experiments', 'feature_associated_latest_packages', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_aws_external_id', 'get_customer_by_ref_id', 'get_experiment_stats', 'get_package_group', 'get_paywall', 'get_plan_by_ref_id', 'hook', 'hooks', 'import_integration_tasks', 'integrations', 'list_aws_product_dimensions', 'list_aws_products', 'members', 'mock_paywall', 'package_entitlements', 'package_group', 'package_groups', 'paywall', 'plans', 'products', 'promotional_entitlements', 'sdk_configuration', 'send_test_hook', 'stripe_customers', 'stripe_products', 'stripe_subscriptions', 'subscription_entitlements', 'subscription_migration_tasks', 'test_hook_data', 'usage_events', 'usage_history', 'usage_measurements', 'validate_merge_environment', 'widget_configuration')
7634
7740
  addons = sgqlc.types.Field(sgqlc.types.non_null(AddonConnection), graphql_name='addons', args=sgqlc.types.ArgDict((
7635
7741
  ('filter', sgqlc.types.Arg(AddonFilter, graphql_name='filter', default={})),
7636
7742
  ('paging', sgqlc.types.Arg(CursorPaging, graphql_name='paging', default={'first': 10})),
@@ -7711,6 +7817,10 @@ class Query(sgqlc.types.Type):
7711
7817
  )
7712
7818
  events_fields = sgqlc.types.Field(sgqlc.types.non_null(EventsFields), graphql_name='eventsFields', args=sgqlc.types.ArgDict((
7713
7819
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(EventsFieldsInput), graphql_name='input', default=None)),
7820
+ ))
7821
+ )
7822
+ events_list = sgqlc.types.Field(sgqlc.types.non_null(EventsList), graphql_name='eventsList', args=sgqlc.types.ArgDict((
7823
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(EventsListInput), graphql_name='input', default=None)),
7714
7824
  ))
7715
7825
  )
7716
7826
  experiment = sgqlc.types.Field(Experiment, graphql_name='experiment', args=sgqlc.types.ArgDict((