stigg-api-client 2.43.0__py3-none-any.whl → 2.49.0__py3-none-any.whl

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.

stigg/generated/schema.py CHANGED
@@ -175,7 +175,7 @@ class EnvironmentType(sgqlc.types.Enum):
175
175
 
176
176
  class ErrorCode(sgqlc.types.Enum):
177
177
  __schema__ = schema
178
- __choices__ = ('AccountNotFoundError', 'AddonDependencyMissingError', 'AddonHasToHavePriceError', 'AddonNotFound', 'AddonQuantityExceedsLimitError', 'AddonWithDraftCannotBeDeletedError', 'AmountTooLarge', 'ArchivedCouponCantBeApplied', 'AuthCustomerMismatch', 'AuthCustomerReadonly', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingIntegrationAlreadyExistsError', 'BillingIntegrationMissing', 'BillingPeriodMissingError', 'CannotAddOverrideEntitlementToPlan', 'CannotArchiveFeatureError', 'CannotDeleteCustomerError', 'CannotDeleteFeatureError', 'CannotDeleteProductError', 'CannotEditPackageInNonDraftMode', 'CannotRemovePaymentMethodFromCustomerError', 'CannotReportUsageForEntitlementWithMeterError', 'CannotUpdateUnitTransformationError', 'CannotUpsertToPackageThatHasDraft', 'CheckoutIsNotSupported', 'CouponNotFound', 'CustomerAlreadyHaveCustomerCoupon', 'CustomerAlreadyUsesCoupon', 'CustomerHasNoEmailAddress', 'CustomerNoBillingId', 'CustomerNotFound', 'CustomerResourceNotFound', 'DowngradeBillingPeriodNotSupportedError', 'DraftPlanCantBeArchived', 'DuplicateAddonProvisionedError', 'DuplicateProductValidationError', 'DuplicatedEntityNotAllowed', 'EditAllowedOnDraftPackageOnlyError', 'EntitlementLimitExceededError', 'EntitlementUsageOutOfRangeError', 'EntitlementsMustBelongToSamePackage', 'EntityIdDifferentFromRefIdError', 'EntityIsArchivedError', 'EnvironmentMissing', 'ExperimentAlreadyRunning', 'ExperimentNotFoundError', 'ExperimentStatusError', 'FailedToCreateCheckoutSessionError', 'FailedToImportCustomer', 'FeatureNotFound', 'FetchAllCountriesPricesNotAllowed', 'FreePlanCantHaveCompatiblePackageGroupError', 'HubspotIntegrationError', 'IdentityForbidden', 'ImportAlreadyInProgress', 'ImportSubscriptionsBulkError', 'InitStripePaymentMethodError', 'IntegrationNotFound', 'IntegrationValidationError', 'IntegrityViolation', 'InvalidAddressError', 'InvalidArgumentError', 'InvalidCancellationDate', 'InvalidEntitlementResetPeriod', 'InvalidMemberDelete', 'InvalidMetadataError', 'InvalidQuantity', 'InvalidSubscriptionStatus', 'InvalidUpdatePriceUnitAmountError', 'MemberInvitationError', 'MemberNotFound', 'MergeEnvironmentValidationError', 'MeterMustBeAssociatedToMeteredFeature', 'MeteringNotAvailableForFeatureType', 'MissingEntityIdError', 'MissingSubscriptionInvoiceError', 'MultiSubscriptionCantBeAutoCancellationSourceError', 'NoFeatureEntitlementError', 'NoFeatureEntitlementInSubscription', 'NoProductsAvailable', 'OperationNotAllowedDuringInProgressExperiment', 'PackageAlreadyPublished', 'PackageGroupMinItemsError', 'PackageGroupNotFound', 'PackagePricingTypeNotSet', 'PaymentMethodNotFoundError', 'PlanCannotBePublishWhenBasePlanIsDraft', 'PlanCannotBePublishWhenCompatibleAddonIsDraft', 'PlanIsUsedAsDefaultStartPlan', 'PlanIsUsedAsDowngradePlan', 'PlanNotFound', 'PlanWithChildCantBeDeleted', 'PlansCircularDependencyError', 'PreparePaymentMethodFormError', 'PriceNotFound', 'ProductNotFoundError', 'PromotionCodeCustomerNotFirstPurchase', 'PromotionCodeMaxRedemptionsReached', 'PromotionCodeMinimumAmountNotReached', 'PromotionCodeNotActive', 'PromotionCodeNotForCustomer', 'PromotionCodeNotFound', 'PromotionalEntitlementNotFoundError', 'RateLimitExceeded', 'RecalculateEntitlementsError', 'ResyncAlreadyInProgress', 'ScheduledMigrationAlreadyExistsError', 'SelectedBillingModelDoesntMatchImportedItemError', 'SingleSubscriptionCantBeAutoCancellationTargetError', 'StripeCustomerIsDeleted', 'StripeError', 'SubscriptionAlreadyCanceledOrExpired', 'SubscriptionAlreadyOnLatestPlanError', 'SubscriptionDoesNotHaveBillingPeriod', 'SubscriptionInvoiceStatusError', 'SubscriptionMustHaveSinglePlanError', 'SubscriptionNoBillingId', 'SubscriptionNotFound', 'TooManySubscriptionsPerCustomer', 'TrialMinDateError', 'TrialMustBeCancelledImmediately', 'UnPublishedPackage', 'Unauthenticated', 'UncompatibleSubscriptionAddon', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier', 'UsageMeasurementDiffOutOfRangeError')
178
+ __choices__ = ('AccountNotFoundError', 'AddonDependencyMissingError', 'AddonHasToHavePriceError', 'AddonIsCompatibleWithGroup', 'AddonIsCompatibleWithPlan', 'AddonNotFound', 'AddonQuantityExceedsLimitError', 'AddonWithDraftCannotBeDeletedError', 'AddonsNotFound', 'AmountTooLarge', 'ArchivedCouponCantBeApplied', 'AuthCustomerMismatch', 'AuthCustomerReadonly', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingIntegrationAlreadyExistsError', 'BillingIntegrationMissing', 'BillingPeriodMissingError', 'CannotAddOverrideEntitlementToPlan', 'CannotArchiveFeatureError', 'CannotDeleteCustomerError', 'CannotDeleteFeatureError', 'CannotDeleteProductError', 'CannotEditPackageInNonDraftMode', 'CannotRemovePaymentMethodFromCustomerError', 'CannotReportUsageForEntitlementWithMeterError', 'CannotUpdateUnitTransformationError', 'CannotUpsertToPackageThatHasDraft', 'CheckoutIsNotSupported', 'CouponNotFound', 'CustomerAlreadyHaveCustomerCoupon', 'CustomerAlreadyUsesCoupon', 'CustomerHasNoEmailAddress', 'CustomerNoBillingId', 'CustomerNotFound', 'CustomerResourceNotFound', 'DowngradeBillingPeriodNotSupportedError', 'DraftAddonCantBeArchived', 'DraftPlanCantBeArchived', 'DuplicateAddonProvisionedError', 'DuplicateProductValidationError', 'DuplicatedEntityNotAllowed', 'EditAllowedOnDraftPackageOnlyError', 'EntitlementLimitExceededError', 'EntitlementUsageOutOfRangeError', 'EntitlementsMustBelongToSamePackage', 'EntityIdDifferentFromRefIdError', 'EntityIsArchivedError', 'EnvironmentMissing', 'ExperimentAlreadyRunning', 'ExperimentNotFoundError', 'ExperimentStatusError', 'FailedToCreateCheckoutSessionError', 'FailedToImportCustomer', 'FeatureNotFound', 'FetchAllCountriesPricesNotAllowed', 'FreePlanCantHaveCompatiblePackageGroupError', 'HubspotIntegrationError', 'IdentityForbidden', 'ImportAlreadyInProgress', 'ImportSubscriptionsBulkError', 'IncompatibleSubscriptionAddon', 'InitStripePaymentMethodError', 'IntegrationNotFound', 'IntegrationValidationError', 'IntegrityViolation', 'InvalidAddressError', 'InvalidArgumentError', 'InvalidCancellationDate', 'InvalidEntitlementResetPeriod', 'InvalidMemberDelete', 'InvalidMetadataError', 'InvalidQuantity', 'InvalidSubscriptionStatus', 'InvalidUpdatePriceUnitAmountError', 'MemberInvitationError', 'MemberNotFound', 'MergeEnvironmentValidationError', 'MeterMustBeAssociatedToMeteredFeature', 'MeteringNotAvailableForFeatureType', 'MissingEntityIdError', 'MissingSubscriptionInvoiceError', 'MultiSubscriptionCantBeAutoCancellationSourceError', 'NoFeatureEntitlementError', 'NoFeatureEntitlementInSubscription', 'NoProductsAvailable', 'OperationNotAllowedDuringInProgressExperiment', 'PackageAlreadyPublished', 'PackageGroupMinItemsError', 'PackageGroupNotFound', 'PackagePricingTypeNotSet', 'PaymentMethodNotFoundError', 'PlanCannotBePublishWhenBasePlanIsDraft', 'PlanCannotBePublishWhenCompatibleAddonIsDraft', 'PlanIsUsedAsDefaultStartPlan', 'PlanIsUsedAsDowngradePlan', 'PlanNotFound', 'PlanWithChildCantBeDeleted', 'PlansCircularDependencyError', 'PreparePaymentMethodFormError', 'PriceNotFound', 'ProductNotFoundError', 'PromotionCodeCustomerNotFirstPurchase', 'PromotionCodeMaxRedemptionsReached', 'PromotionCodeMinimumAmountNotReached', 'PromotionCodeNotActive', 'PromotionCodeNotForCustomer', 'PromotionCodeNotFound', 'PromotionalEntitlementNotFoundError', 'RateLimitExceeded', 'RecalculateEntitlementsError', 'ResyncAlreadyInProgress', 'ScheduledMigrationAlreadyExistsError', 'SelectedBillingModelDoesntMatchImportedItemError', 'SingleSubscriptionCantBeAutoCancellationTargetError', 'StripeCustomerIsDeleted', 'StripeError', 'SubscriptionAlreadyCanceledOrExpired', 'SubscriptionAlreadyOnLatestPlanError', 'SubscriptionDoesNotHaveBillingPeriod', 'SubscriptionInvoiceStatusError', 'SubscriptionMustHaveSinglePlanError', 'SubscriptionNoBillingId', 'SubscriptionNotFound', 'TooManySubscriptionsPerCustomer', 'TrialMinDateError', 'TrialMustBeCancelledImmediately', 'UnPublishedPackage', 'Unauthenticated', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier', 'UsageMeasurementDiffOutOfRangeError')
179
179
 
180
180
 
181
181
  class EventActor(sgqlc.types.Enum):
@@ -561,6 +561,20 @@ class AddCompatibleAddonsToPlanInput(sgqlc.types.Input):
561
561
  relation_ids = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(String))), graphql_name='relationIds')
562
562
 
563
563
 
564
+ class AddonArchiveInput(sgqlc.types.Input):
565
+ __schema__ = schema
566
+ __field_names__ = ('environment_id', 'ref_id')
567
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
568
+ ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
569
+
570
+
571
+ class AddonAssociatedEntitiesInput(sgqlc.types.Input):
572
+ __schema__ = schema
573
+ __field_names__ = ('environment_id', 'ref_id')
574
+ environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
575
+ ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
576
+
577
+
564
578
  class AddonCreateInput(sgqlc.types.Input):
565
579
  __schema__ = schema
566
580
  __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')
@@ -4401,6 +4415,29 @@ class AddonAggregateGroupBy(sgqlc.types.Type):
4401
4415
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
4402
4416
 
4403
4417
 
4418
+ class AddonAssociatedEntities(sgqlc.types.Type):
4419
+ __schema__ = schema
4420
+ __field_names__ = ('package_groups', 'plans')
4421
+ package_groups = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('AddonAssociatedPackageGroup'))), graphql_name='packageGroups')
4422
+ plans = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('AddonAssociatedPlan'))), graphql_name='plans')
4423
+
4424
+
4425
+ class AddonAssociatedPackageGroup(sgqlc.types.Type):
4426
+ __schema__ = schema
4427
+ __field_names__ = ('display_name', 'package_group_id')
4428
+ display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
4429
+ package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
4430
+
4431
+
4432
+ class AddonAssociatedPlan(sgqlc.types.Type):
4433
+ __schema__ = schema
4434
+ __field_names__ = ('display_name', 'ref_id', 'status', 'version_number')
4435
+ display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
4436
+ ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
4437
+ status = sgqlc.types.Field(sgqlc.types.non_null(PackageStatus), graphql_name='status')
4438
+ version_number = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='versionNumber')
4439
+
4440
+
4404
4441
  class AddonAvgAggregate(sgqlc.types.Type):
4405
4442
  __schema__ = schema
4406
4443
  __field_names__ = ('version_number',)
@@ -4442,33 +4479,40 @@ class AddonCountAggregate(sgqlc.types.Type):
4442
4479
 
4443
4480
  class AddonDeleteResponse(sgqlc.types.Type):
4444
4481
  __schema__ = schema
4445
- __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_billing_period', 'overage_prices', 'prices', 'pricing_type', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
4482
+ __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_billing_period', 'overage_prices', 'prices', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
4446
4483
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
4447
4484
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4448
4485
  billing_link_url = sgqlc.types.Field(String, graphql_name='billingLinkUrl')
4449
4486
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
4450
4487
  dependencies = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Addon)), graphql_name='dependencies')
4451
4488
  description = sgqlc.types.Field(String, graphql_name='description')
4452
- display_name = sgqlc.types.Field(String, graphql_name='displayName')
4489
+ display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
4453
4490
  draft_details = sgqlc.types.Field('PackageDraftDetails', graphql_name='draftDetails')
4454
4491
  draft_summary = sgqlc.types.Field('PackageDraftSummary', graphql_name='draftSummary')
4455
4492
  entitlements = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageEntitlement')), graphql_name='entitlements')
4456
- environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
4493
+ environment = sgqlc.types.Field(sgqlc.types.non_null('Environment'), graphql_name='environment')
4494
+ environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
4495
+ has_subscriptions = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='hasSubscriptions')
4457
4496
  hidden_from_widgets = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(WidgetType)), graphql_name='hiddenFromWidgets')
4458
- id = sgqlc.types.Field(String, graphql_name='id')
4497
+ id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
4459
4498
  is_latest = sgqlc.types.Field(Boolean, graphql_name='isLatest')
4460
4499
  max_quantity = sgqlc.types.Field(Float, graphql_name='maxQuantity')
4461
4500
  overage_billing_period = sgqlc.types.Field(OverageBillingPeriod, graphql_name='overageBillingPeriod')
4462
4501
  overage_prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Price')), graphql_name='overagePrices')
4463
- prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Price')), graphql_name='prices')
4502
+ prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Price')), graphql_name='prices', args=sgqlc.types.ArgDict((
4503
+ ('filter', sgqlc.types.Arg(PriceFilter, graphql_name='filter', default={})),
4504
+ ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(PriceSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
4505
+ ))
4506
+ )
4464
4507
  pricing_type = sgqlc.types.Field(PricingType, graphql_name='pricingType')
4508
+ product = sgqlc.types.Field('Product', graphql_name='product')
4465
4509
  product_id = sgqlc.types.Field(String, graphql_name='productId')
4466
- ref_id = sgqlc.types.Field(String, graphql_name='refId')
4467
- status = sgqlc.types.Field(PackageStatus, graphql_name='status')
4510
+ ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
4511
+ status = sgqlc.types.Field(sgqlc.types.non_null(PackageStatus), graphql_name='status')
4468
4512
  sync_states = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SyncState')), graphql_name='syncStates')
4469
- type = sgqlc.types.Field(String, graphql_name='type')
4513
+ type = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='type')
4470
4514
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
4471
- version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
4515
+ version_number = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='versionNumber')
4472
4516
 
4473
4517
 
4474
4518
  class AddonDependencyChange(sgqlc.types.Type):
@@ -6201,6 +6245,15 @@ class ImportSubTaskError(sgqlc.types.Type):
6201
6245
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
6202
6246
 
6203
6247
 
6248
+ class IncompatibleSubscriptionAddonError(sgqlc.types.Type):
6249
+ __schema__ = schema
6250
+ __field_names__ = ('code', 'is_validation_error', 'non_compatible_addons', 'plan_display_name')
6251
+ code = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='code')
6252
+ is_validation_error = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isValidationError')
6253
+ non_compatible_addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='nonCompatibleAddons')
6254
+ plan_display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planDisplayName')
6255
+
6256
+
6204
6257
  class InitAddStripeCustomerPaymentMethod(sgqlc.types.Type):
6205
6258
  __schema__ = schema
6206
6259
  __field_names__ = ('payment_intent_client_secret',)
@@ -6501,13 +6554,17 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
6501
6554
 
6502
6555
  class Mutation(sgqlc.types.Type):
6503
6556
  __schema__ = schema
6504
- __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', 'charge_subscription_usage', '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_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', 'mark_invoice_as_paid', 'merge_environment', 'migrate_subscription_to_latest', 'prepare_payment_method_form', 'preview_next_invoice', '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', 'subscription_maximum_spend', '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_hook', 'update_one_integration', 'update_one_package_entitlement', 'update_one_plan', 'update_one_product', 'update_one_promotional_entitlement', 'update_one_subscription', 'update_user')
6557
+ __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_addon', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_one_coupon', 'archive_package_group', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', 'charge_subscription_usage', '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_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', 'mark_invoice_as_paid', 'merge_environment', 'migrate_subscription_to_latest', 'prepare_payment_method_form', 'preview_next_invoice', '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', 'subscription_maximum_spend', '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_hook', 'update_one_integration', 'update_one_package_entitlement', 'update_one_plan', 'update_one_product', 'update_one_promotional_entitlement', 'update_one_subscription', 'update_user')
6505
6558
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
6506
6559
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
6507
6560
  ))
6508
6561
  )
6509
6562
  apply_subscription = sgqlc.types.Field(sgqlc.types.non_null(ApplySubscription), graphql_name='applySubscription', args=sgqlc.types.ArgDict((
6510
6563
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(ApplySubscriptionInput), graphql_name='input', default=None)),
6564
+ ))
6565
+ )
6566
+ archive_addon = sgqlc.types.Field(sgqlc.types.non_null(Addon), graphql_name='archiveAddon', args=sgqlc.types.ArgDict((
6567
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonArchiveInput), graphql_name='input', default=None)),
6511
6568
  ))
6512
6569
  )
6513
6570
  archive_customer = sgqlc.types.Field(sgqlc.types.non_null(Customer), graphql_name='archiveCustomer', args=sgqlc.types.ArgDict((
@@ -8158,7 +8215,11 @@ class PublishPackageResult(sgqlc.types.Type):
8158
8215
 
8159
8216
  class Query(sgqlc.types.Type):
8160
8217
  __schema__ = schema
8161
- __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', 'event_logs', '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', 'get_subscription', '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')
8218
+ __field_names__ = ('addon_associated_entities', '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', 'event_logs', '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', 'get_subscription', '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')
8219
+ addon_associated_entities = sgqlc.types.Field(sgqlc.types.non_null(AddonAssociatedEntities), graphql_name='addonAssociatedEntities', args=sgqlc.types.ArgDict((
8220
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonAssociatedEntitiesInput), graphql_name='input', default=None)),
8221
+ ))
8222
+ )
8162
8223
  addons = sgqlc.types.Field(sgqlc.types.non_null(AddonConnection), graphql_name='addons', args=sgqlc.types.ArgDict((
8163
8224
  ('filter', sgqlc.types.Arg(AddonFilter, graphql_name='filter', default={})),
8164
8225
  ('paging', sgqlc.types.Arg(CursorPaging, graphql_name='paging', default={'first': 10})),
@@ -9205,15 +9266,6 @@ class UnPublishedPackageError(sgqlc.types.Type):
9205
9266
  package_type = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageType')
9206
9267
 
9207
9268
 
9208
- class UncompatibleSubscriptionAddonError(sgqlc.types.Type):
9209
- __schema__ = schema
9210
- __field_names__ = ('code', 'is_validation_error', 'non_compatible_addons', 'plan_display_name')
9211
- code = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='code')
9212
- is_validation_error = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isValidationError')
9213
- non_compatible_addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='nonCompatibleAddons')
9214
- plan_display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planDisplayName')
9215
-
9216
-
9217
9269
  class UnitAmountChangeVariables(sgqlc.types.Type):
9218
9270
  __schema__ = schema
9219
9271
  __field_names__ = ('feature_id', 'new_unit_amount')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.43.0
3
+ Version: 2.49.0
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -2,8 +2,8 @@ stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
2
  stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
3
3
  stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  stigg/generated/operations.py,sha256=s5a3iAo4xzr1Xa-gM0Vfc0dXc9CV-4h8-wX4kxFppFY,70780
5
- stigg/generated/schema.py,sha256=ljS-2SgVAGN3EYWl3Wddr7O9FUjC5rhkUI6JixaWotE,605890
6
- stigg_api_client-2.43.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-2.43.0.dist-info/METADATA,sha256=pRUctB9oQZ9Y5vwjLJJmB53HMawLEJdRlFToT0UcGNU,3197
8
- stigg_api_client-2.43.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-2.43.0.dist-info/RECORD,,
5
+ stigg/generated/schema.py,sha256=xJbp_J3PZx9ZU4JGl88PK5DwlZl1PtAGOZqKeucgor8,609225
6
+ stigg_api_client-2.49.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-2.49.0.dist-info/METADATA,sha256=3-JH9zzrf6HbaMAgcyi5YlozvvQ6_8om4VkXKvN4UM8,3197
8
+ stigg_api_client-2.49.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-2.49.0.dist-info/RECORD,,