stigg-api-client 1.205.0__py3-none-any.whl → 1.211.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', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingIntegrationMissing', 'BillingPeriodMissingError', 'CannotAddOverrideEntitlementToPlan', 'CannotArchiveFeatureError', 'CannotDeleteCustomerError', 'CannotDeleteFeatureError', 'CannotDeleteProductError', 'CannotEditPackageInNonDraftMode', 'CannotRemovePaymentMethodFromCustomerError', 'CannotReportUsageForEntitlementWithMeterError', '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', 'IdentityForbidden', 'ImportAlreadyInProgress', 'ImportSubscriptionsBulkError', 'InitStripePaymentMethodError', 'IntegrationNotFound', 'IntegrationValidationError', 'IntegrityViolation', 'InvalidAddressError', 'InvalidArgumentError', 'InvalidCancellationDate', 'InvalidEntitlementResetPeriod', 'InvalidMemberDelete', 'InvalidMetadataError', 'InvalidQuantity', 'InvalidSubscriptionStatus', 'InvalidUpdatePriceUnitAmountError', 'MemberInvitationError', 'MemberNotFound', 'MergeEnvironmentValidationError', 'MeterMustBeAssociatedToMeteredFeature', 'MeteringNotAvailableForFeatureType', 'MissingEntityIdError', 'MissingSubscriptionInvoiceError', 'NoFeatureEntitlementInSubscription', 'NoProductsAvailable', 'OperationNotAllowedDuringInProgressExperiment', 'PackageAlreadyPublished', 'PackageGroupMinItemsError', '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', 'SubscriptionInvoiceStatusError', 'SubscriptionMustHaveSinglePlanError', 'SubscriptionNoBillingId', 'SubscriptionNotFound', 'TooManySubscriptionsPerCustomer', 'TrialMinDateError', 'TrialMustBeCancelledImmediately', 'UnPublishedPackage', 'Unauthenticated', 'UncompatibleSubscriptionAddon', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier', 'UsageMeasurementDiffOutOfRangeError')
178
+ __choices__ = ('AccountNotFoundError', 'AddonDependencyMissingError', 'AddonHasToHavePriceError', 'AddonNotFound', 'AddonQuantityExceedsLimitError', 'AddonWithDraftCannotBeDeletedError', 'AmountTooLarge', 'ArchivedCouponCantBeApplied', 'AuthCustomerMismatch', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingIntegrationAlreadyExistsError', 'BillingIntegrationMissing', 'BillingPeriodMissingError', 'CannotAddOverrideEntitlementToPlan', 'CannotArchiveFeatureError', 'CannotDeleteCustomerError', 'CannotDeleteFeatureError', 'CannotDeleteProductError', 'CannotEditPackageInNonDraftMode', 'CannotRemovePaymentMethodFromCustomerError', 'CannotReportUsageForEntitlementWithMeterError', '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', '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', 'SubscriptionInvoiceStatusError', 'SubscriptionMustHaveSinglePlanError', 'SubscriptionNoBillingId', 'SubscriptionNotFound', 'TooManySubscriptionsPerCustomer', 'TrialMinDateError', 'TrialMustBeCancelledImmediately', 'UnPublishedPackage', 'Unauthenticated', 'UncompatibleSubscriptionAddon', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier', 'UsageMeasurementDiffOutOfRangeError')
179
179
 
180
180
 
181
181
  class EventActor(sgqlc.types.Enum):
@@ -350,7 +350,7 @@ class PricingType(sgqlc.types.Enum):
350
350
 
351
351
  class ProductSortFields(sgqlc.types.Enum):
352
352
  __schema__ = schema
353
- __choices__ = ('awsMarketplaceProductCode', 'awsMarketplaceProductId', 'createdAt', 'description', 'displayName', 'environmentId', 'id', 'isDefaultProduct', 'refId', 'updatedAt')
353
+ __choices__ = ('awsMarketplaceProductCode', 'awsMarketplaceProductId', 'createdAt', 'description', 'displayName', 'environmentId', 'id', 'isDefaultProduct', 'multipleSubscriptions', 'refId', 'updatedAt')
354
354
 
355
355
 
356
356
  class PromotionalEntitlementPeriod(sgqlc.types.Enum):
@@ -734,6 +734,13 @@ class AttachCustomerPaymentMethodInput(sgqlc.types.Input):
734
734
  vendor_identifier = sgqlc.types.Field(sgqlc.types.non_null(VendorIdentifier), graphql_name='vendorIdentifier')
735
735
 
736
736
 
737
+ class AutoCancellationRuleInput(sgqlc.types.Input):
738
+ __schema__ = schema
739
+ __field_names__ = ('source_plan_id', 'target_plan_id')
740
+ source_plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='sourcePlanId')
741
+ target_plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='targetPlanId')
742
+
743
+
737
744
  class AwsMarketplaceCredentialsInput(sgqlc.types.Input):
738
745
  __schema__ = schema
739
746
  __field_names__ = ('aws_role_arn',)
@@ -1114,8 +1121,9 @@ class CreateOneProductInput(sgqlc.types.Input):
1114
1121
 
1115
1122
  class CreateOrUpdateAwsMarketplaceProductInput(sgqlc.types.Input):
1116
1123
  __schema__ = schema
1117
- __field_names__ = ('additional_meta_data', 'aws_dimensions_mapping', 'aws_product_id', 'description', 'display_name', 'environment_id', 'multiple_subscriptions', 'product_id', 'product_settings', 'ref_id')
1124
+ __field_names__ = ('additional_meta_data', 'auto_cancellation_rules', 'aws_dimensions_mapping', 'aws_product_id', 'description', 'display_name', 'environment_id', 'multiple_subscriptions', 'product_id', 'product_settings', 'ref_id')
1118
1125
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
1126
+ auto_cancellation_rules = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(AutoCancellationRuleInput)), graphql_name='autoCancellationRules')
1119
1127
  aws_dimensions_mapping = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('DimensionsMappingInput'))), graphql_name='awsDimensionsMapping')
1120
1128
  aws_product_id = sgqlc.types.Field(String, graphql_name='awsProductId')
1121
1129
  description = sgqlc.types.Field(String, graphql_name='description')
@@ -2533,7 +2541,7 @@ class PackageGroupFilter(sgqlc.types.Input):
2533
2541
 
2534
2542
  class PackageGroupFilterProductFilter(sgqlc.types.Input):
2535
2543
  __schema__ = schema
2536
- __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')
2544
+ __field_names__ = ('and_', 'aws_marketplace_product_code', 'aws_marketplace_product_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_default_product', 'multiple_subscriptions', 'or_', 'ref_id', 'updated_at')
2537
2545
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageGroupFilterProductFilter')), graphql_name='and')
2538
2546
  aws_marketplace_product_code = sgqlc.types.Field('StringFieldComparison', graphql_name='awsMarketplaceProductCode')
2539
2547
  aws_marketplace_product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='awsMarketplaceProductId')
@@ -2543,6 +2551,7 @@ class PackageGroupFilterProductFilter(sgqlc.types.Input):
2543
2551
  environment_id = sgqlc.types.Field('StringFieldComparison', graphql_name='environmentId')
2544
2552
  id = sgqlc.types.Field('StringFieldComparison', graphql_name='id')
2545
2553
  is_default_product = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isDefaultProduct')
2554
+ multiple_subscriptions = sgqlc.types.Field(BooleanFieldComparison, graphql_name='multipleSubscriptions')
2546
2555
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageGroupFilterProductFilter')), graphql_name='or')
2547
2556
  ref_id = sgqlc.types.Field('StringFieldComparison', graphql_name='refId')
2548
2557
  updated_at = sgqlc.types.Field(DateFieldComparison, graphql_name='updatedAt')
@@ -2722,7 +2731,7 @@ class PlanFilterAddonFilter(sgqlc.types.Input):
2722
2731
 
2723
2732
  class PlanFilterProductFilter(sgqlc.types.Input):
2724
2733
  __schema__ = schema
2725
- __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')
2734
+ __field_names__ = ('and_', 'aws_marketplace_product_code', 'aws_marketplace_product_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_default_product', 'multiple_subscriptions', 'or_', 'ref_id', 'updated_at')
2726
2735
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilterProductFilter')), graphql_name='and')
2727
2736
  aws_marketplace_product_code = sgqlc.types.Field('StringFieldComparison', graphql_name='awsMarketplaceProductCode')
2728
2737
  aws_marketplace_product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='awsMarketplaceProductId')
@@ -2732,6 +2741,7 @@ class PlanFilterProductFilter(sgqlc.types.Input):
2732
2741
  environment_id = sgqlc.types.Field('StringFieldComparison', graphql_name='environmentId')
2733
2742
  id = sgqlc.types.Field('StringFieldComparison', graphql_name='id')
2734
2743
  is_default_product = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isDefaultProduct')
2744
+ multiple_subscriptions = sgqlc.types.Field(BooleanFieldComparison, graphql_name='multipleSubscriptions')
2735
2745
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilterProductFilter')), graphql_name='or')
2736
2746
  ref_id = sgqlc.types.Field('StringFieldComparison', graphql_name='refId')
2737
2747
  updated_at = sgqlc.types.Field(DateFieldComparison, graphql_name='updatedAt')
@@ -2760,6 +2770,13 @@ class PlanUpdateInput(sgqlc.types.Input):
2760
2770
  status = sgqlc.types.Field(PackageStatus, graphql_name='status')
2761
2771
 
2762
2772
 
2773
+ class PreparePaymentMethodFormInput(sgqlc.types.Input):
2774
+ __schema__ = schema
2775
+ __field_names__ = ('customer_id', 'environment_id')
2776
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
2777
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
2778
+
2779
+
2763
2780
  class PreviewNextInvoiceInput(sgqlc.types.Input):
2764
2781
  __schema__ = schema
2765
2782
  __field_names__ = ('environment_id', 'subscription_id')
@@ -2900,7 +2917,7 @@ class ProductCreateInput(sgqlc.types.Input):
2900
2917
 
2901
2918
  class ProductFilter(sgqlc.types.Input):
2902
2919
  __schema__ = schema
2903
- __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')
2920
+ __field_names__ = ('and_', 'aws_marketplace_product_code', 'aws_marketplace_product_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_default_product', 'multiple_subscriptions', 'or_', 'ref_id', 'updated_at')
2904
2921
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('ProductFilter')), graphql_name='and')
2905
2922
  aws_marketplace_product_code = sgqlc.types.Field('StringFieldComparison', graphql_name='awsMarketplaceProductCode')
2906
2923
  aws_marketplace_product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='awsMarketplaceProductId')
@@ -2910,6 +2927,7 @@ class ProductFilter(sgqlc.types.Input):
2910
2927
  environment_id = sgqlc.types.Field('StringFieldComparison', graphql_name='environmentId')
2911
2928
  id = sgqlc.types.Field('StringFieldComparison', graphql_name='id')
2912
2929
  is_default_product = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isDefaultProduct')
2930
+ multiple_subscriptions = sgqlc.types.Field(BooleanFieldComparison, graphql_name='multipleSubscriptions')
2913
2931
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('ProductFilter')), graphql_name='or')
2914
2932
  ref_id = sgqlc.types.Field('StringFieldComparison', graphql_name='refId')
2915
2933
  updated_at = sgqlc.types.Field(DateFieldComparison, graphql_name='updatedAt')
@@ -2937,8 +2955,9 @@ class ProductSort(sgqlc.types.Input):
2937
2955
 
2938
2956
  class ProductUpdateInput(sgqlc.types.Input):
2939
2957
  __schema__ = schema
2940
- __field_names__ = ('additional_meta_data', 'description', 'display_name', 'multiple_subscriptions', 'product_settings')
2958
+ __field_names__ = ('additional_meta_data', 'auto_cancellation_rules', 'description', 'display_name', 'multiple_subscriptions', 'product_settings')
2941
2959
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
2960
+ auto_cancellation_rules = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(AutoCancellationRuleInput)), graphql_name='autoCancellationRules')
2942
2961
  description = sgqlc.types.Field(String, graphql_name='description')
2943
2962
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
2944
2963
  multiple_subscriptions = sgqlc.types.Field(Boolean, graphql_name='multipleSubscriptions')
@@ -4543,6 +4562,13 @@ class AsyncTaskResult(sgqlc.types.Type):
4543
4562
  task_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='taskId')
4544
4563
 
4545
4564
 
4565
+ class AutoCancellationRule(sgqlc.types.Type):
4566
+ __schema__ = schema
4567
+ __field_names__ = ('source_plan', 'target_plan')
4568
+ source_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='sourcePlan')
4569
+ target_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='targetPlan')
4570
+
4571
+
4546
4572
  class AwsDimension(sgqlc.types.Type):
4547
4573
  __schema__ = schema
4548
4574
  __field_names__ = ('description', 'key', 'name', 'stigg_plan_id', 'stigg_plan_name', 'type', 'unit')
@@ -6461,7 +6487,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
6461
6487
 
6462
6488
  class Mutation(sgqlc.types.Type):
6463
6489
  __schema__ = schema
6464
- __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_overages', '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', 'mark_invoice_as_paid', 'merge_environment', 'migrate_subscription_to_latest', '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_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')
6490
+ __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_overages', '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', '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_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')
6465
6491
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
6466
6492
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
6467
6493
  ))
@@ -6692,6 +6718,10 @@ class Mutation(sgqlc.types.Type):
6692
6718
  )
6693
6719
  migrate_subscription_to_latest = sgqlc.types.Field(sgqlc.types.non_null(CustomerSubscription), graphql_name='migrateSubscriptionToLatest', args=sgqlc.types.ArgDict((
6694
6720
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(SubscriptionMigrationInput), graphql_name='input', default=None)),
6721
+ ))
6722
+ )
6723
+ prepare_payment_method_form = sgqlc.types.Field(sgqlc.types.non_null('PreparedPaymentMethodForm'), graphql_name='preparePaymentMethodForm', args=sgqlc.types.ArgDict((
6724
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(PreparePaymentMethodFormInput), graphql_name='input', default=None)),
6695
6725
  ))
6696
6726
  )
6697
6727
  preview_next_invoice = sgqlc.types.Field(sgqlc.types.non_null('SubscriptionInvoicePreview'), graphql_name='previewNextInvoice', args=sgqlc.types.ArgDict((
@@ -7654,6 +7684,13 @@ class PlanSumAggregate(sgqlc.types.Type):
7654
7684
  version_number = sgqlc.types.Field(Float, graphql_name='versionNumber')
7655
7685
 
7656
7686
 
7687
+ class PreparedPaymentMethodForm(sgqlc.types.Type):
7688
+ __schema__ = schema
7689
+ __field_names__ = ('payment_method_form', 'vendor_identifier')
7690
+ payment_method_form = sgqlc.types.Field(sgqlc.types.non_null('PaymentMethodForm'), graphql_name='paymentMethodForm')
7691
+ vendor_identifier = sgqlc.types.Field(sgqlc.types.non_null(VendorIdentifier), graphql_name='vendorIdentifier')
7692
+
7693
+
7657
7694
  class Price(sgqlc.types.Type):
7658
7695
  __schema__ = schema
7659
7696
  __field_names__ = ('billing_cadence', 'billing_country_code', 'billing_id', 'billing_model', 'billing_period', 'block_size', 'created_at', 'crm_id', 'crm_link_url', 'environment_id', 'feature', 'feature_id', 'id', 'is_override_price', 'max_unit_quantity', 'min_unit_quantity', 'package', 'package_id', 'price', 'tiers', 'tiers_mode', 'used_in_subscriptions')
@@ -7802,9 +7839,10 @@ class PricingTypeChange(sgqlc.types.Type):
7802
7839
 
7803
7840
  class Product(sgqlc.types.Type):
7804
7841
  __schema__ = schema
7805
- __field_names__ = ('additional_meta_data', 'addons', 'aws_marketplace_product_code', 'aws_marketplace_product_id', 'created_at', 'description', 'display_name', 'downgrade_plan', 'environment', 'environment_id', 'has_subscriptions', 'id', 'is_default_product', 'multiple_subscriptions', 'plans', 'product_settings', 'ref_id', 'subscription_start_plan', 'updated_at')
7842
+ __field_names__ = ('additional_meta_data', 'addons', 'auto_cancellation_rules', 'aws_marketplace_product_code', 'aws_marketplace_product_id', 'created_at', 'description', 'display_name', 'downgrade_plan', 'environment', 'environment_id', 'has_subscriptions', 'id', 'is_default_product', 'multiple_subscriptions', 'plans', 'product_settings', 'ref_id', 'subscription_start_plan', 'updated_at')
7806
7843
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
7807
7844
  addons = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(Addon))), graphql_name='addons')
7845
+ auto_cancellation_rules = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(AutoCancellationRule))), graphql_name='autoCancellationRules')
7808
7846
  aws_marketplace_product_code = sgqlc.types.Field(String, graphql_name='awsMarketplaceProductCode')
7809
7847
  aws_marketplace_product_id = sgqlc.types.Field(String, graphql_name='awsMarketplaceProductId')
7810
7848
  created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='createdAt')
@@ -7826,7 +7864,7 @@ class Product(sgqlc.types.Type):
7826
7864
 
7827
7865
  class ProductAggregateGroupBy(sgqlc.types.Type):
7828
7866
  __schema__ = schema
7829
- __field_names__ = ('aws_marketplace_product_code', 'aws_marketplace_product_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_default_product', 'ref_id', 'updated_at')
7867
+ __field_names__ = ('aws_marketplace_product_code', 'aws_marketplace_product_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_default_product', 'multiple_subscriptions', 'ref_id', 'updated_at')
7830
7868
  aws_marketplace_product_code = sgqlc.types.Field(String, graphql_name='awsMarketplaceProductCode')
7831
7869
  aws_marketplace_product_id = sgqlc.types.Field(String, graphql_name='awsMarketplaceProductId')
7832
7870
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
@@ -7835,6 +7873,7 @@ class ProductAggregateGroupBy(sgqlc.types.Type):
7835
7873
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
7836
7874
  id = sgqlc.types.Field(String, graphql_name='id')
7837
7875
  is_default_product = sgqlc.types.Field(Boolean, graphql_name='isDefaultProduct')
7876
+ multiple_subscriptions = sgqlc.types.Field(Boolean, graphql_name='multipleSubscriptions')
7838
7877
  ref_id = sgqlc.types.Field(String, graphql_name='refId')
7839
7878
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
7840
7879
 
@@ -7855,7 +7894,7 @@ class ProductConnection(sgqlc.types.relay.Connection):
7855
7894
 
7856
7895
  class ProductCountAggregate(sgqlc.types.Type):
7857
7896
  __schema__ = schema
7858
- __field_names__ = ('aws_marketplace_product_code', 'aws_marketplace_product_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_default_product', 'ref_id', 'updated_at')
7897
+ __field_names__ = ('aws_marketplace_product_code', 'aws_marketplace_product_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_default_product', 'multiple_subscriptions', 'ref_id', 'updated_at')
7859
7898
  aws_marketplace_product_code = sgqlc.types.Field(Int, graphql_name='awsMarketplaceProductCode')
7860
7899
  aws_marketplace_product_id = sgqlc.types.Field(Int, graphql_name='awsMarketplaceProductId')
7861
7900
  created_at = sgqlc.types.Field(Int, graphql_name='createdAt')
@@ -7864,6 +7903,7 @@ class ProductCountAggregate(sgqlc.types.Type):
7864
7903
  environment_id = sgqlc.types.Field(Int, graphql_name='environmentId')
7865
7904
  id = sgqlc.types.Field(Int, graphql_name='id')
7866
7905
  is_default_product = sgqlc.types.Field(Int, graphql_name='isDefaultProduct')
7906
+ multiple_subscriptions = sgqlc.types.Field(Int, graphql_name='multipleSubscriptions')
7867
7907
  ref_id = sgqlc.types.Field(Int, graphql_name='refId')
7868
7908
  updated_at = sgqlc.types.Field(Int, graphql_name='updatedAt')
7869
7909
 
@@ -8467,6 +8507,12 @@ class StripeCustomerSearchResult(sgqlc.types.Type):
8467
8507
  total_count = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='totalCount')
8468
8508
 
8469
8509
 
8510
+ class StripePaymentMethodForm(sgqlc.types.Type):
8511
+ __schema__ = schema
8512
+ __field_names__ = ('client_secret',)
8513
+ client_secret = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientSecret')
8514
+
8515
+
8470
8516
  class StripeProduct(sgqlc.types.Type):
8471
8517
  __schema__ = schema
8472
8518
  __field_names__ = ('environment_id', 'id', 'is_synced', 'name', 'not_supported_for_import', 'prices', 'updated_at')
@@ -9372,6 +9418,17 @@ class ZuoraCredentials(sgqlc.types.Type):
9372
9418
  client_secret = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientSecret')
9373
9419
 
9374
9420
 
9421
+ class ZuoraPaymentMethodForm(sgqlc.types.Type):
9422
+ __schema__ = schema
9423
+ __field_names__ = ('key', 'page_id', 'page_url', 'signature', 'tenant_id', 'token')
9424
+ key = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='key')
9425
+ page_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='pageId')
9426
+ page_url = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='pageUrl')
9427
+ signature = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='signature')
9428
+ tenant_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='tenantId')
9429
+ token = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='token')
9430
+
9431
+
9375
9432
  class experimentInfo(sgqlc.types.Type):
9376
9433
  __schema__ = schema
9377
9434
  __field_names__ = ('group_name', 'group_type', 'id', 'name', 'status')
@@ -9391,6 +9448,11 @@ class Credentials(sgqlc.types.Union):
9391
9448
  __types__ = (AwsMarketplaceCredentials, BigQueryCredentials, HubspotCredentials, SalesforceCredentials, SnowflakeCredentials, StripeCredentials, ZuoraCredentials)
9392
9449
 
9393
9450
 
9451
+ class PaymentMethodForm(sgqlc.types.Union):
9452
+ __schema__ = schema
9453
+ __types__ = (StripePaymentMethodForm, ZuoraPaymentMethodForm)
9454
+
9455
+
9394
9456
  class ResetPeriodConfiguration(sgqlc.types.Union):
9395
9457
  __schema__ = schema
9396
9458
  __types__ = (MonthlyResetPeriodConfig, WeeklyResetPeriodConfig, YearlyResetPeriodConfig)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 1.205.0
3
+ Version: 1.211.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=Yyy5uzz-5PWa2y_VPDvEi5PLzxBjPnZpLENtwvvF2C0,68947
5
- stigg/generated/schema.py,sha256=NyjH_OoBvNg7J_U1XjPbnEb2e_jIl-FOeNwyzRLoxMk,598929
6
- stigg_api_client-1.205.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-1.205.0.dist-info/METADATA,sha256=69zqh9tqxmDAiW288H2pdbn9gY5hkiIN0n7xnvEshQs,3198
8
- stigg_api_client-1.205.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-1.205.0.dist-info/RECORD,,
5
+ stigg/generated/schema.py,sha256=LGFpNapqZ5Wd2RH4JtGTpHr7_P6jHsBrHwyT5KpMu4w,603060
6
+ stigg_api_client-1.211.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-1.211.0.dist-info/METADATA,sha256=2mQIClptHAl34pEdk0Qc2W-pkgLUVsysbkOY_GZ2b5Y,3198
8
+ stigg_api_client-1.211.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-1.211.0.dist-info/RECORD,,