stigg-api-client 1.225.0__tar.gz → 1.228.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.225.0
3
+ Version: 1.228.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.225.0"
3
+ version = "1.228.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -611,6 +611,9 @@ def fragment_feature_fragment():
611
611
  _frag.description()
612
612
  _frag.display_name()
613
613
  _frag.ref_id()
614
+ _frag_unit_transformation = _frag.unit_transformation()
615
+ _frag_unit_transformation.divide()
616
+ _frag_unit_transformation.round()
614
617
  return _frag
615
618
 
616
619
 
@@ -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', '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', 'SubscriptionDoesNotHaveBillingPeriod', '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', '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')
179
179
 
180
180
 
181
181
  class EventActor(sgqlc.types.Enum):
@@ -510,6 +510,11 @@ class TrialPeriodUnits(sgqlc.types.Enum):
510
510
  __choices__ = ('DAY', 'MONTH')
511
511
 
512
512
 
513
+ class UnitTransformationRound(sgqlc.types.Enum):
514
+ __schema__ = schema
515
+ __choices__ = ('DOWN', 'UP')
516
+
517
+
513
518
  class UsageMeasurementSortFields(sgqlc.types.Enum):
514
519
  __schema__ = schema
515
520
  __choices__ = ('createdAt', 'environmentId', 'id')
@@ -1095,12 +1100,6 @@ class CreateOneEnvironmentInput(sgqlc.types.Input):
1095
1100
  options = sgqlc.types.Field(CreateEnvironmentOptions, graphql_name='options')
1096
1101
 
1097
1102
 
1098
- class CreateOneFeatureInput(sgqlc.types.Input):
1099
- __schema__ = schema
1100
- __field_names__ = ('feature',)
1101
- feature = sgqlc.types.Field(sgqlc.types.non_null('FeatureInput'), graphql_name='feature')
1102
-
1103
-
1104
1103
  class CreateOneHookInput(sgqlc.types.Input):
1105
1104
  __schema__ = schema
1106
1105
  __field_names__ = ('hook',)
@@ -1902,7 +1901,7 @@ class FeatureFilter(sgqlc.types.Input):
1902
1901
 
1903
1902
  class FeatureInput(sgqlc.types.Input):
1904
1903
  __schema__ = schema
1905
- __field_names__ = ('additional_meta_data', 'description', 'display_name', 'environment_id', 'feature_status', 'feature_type', 'feature_units', 'feature_units_plural', 'meter', 'meter_type', 'ref_id')
1904
+ __field_names__ = ('additional_meta_data', 'description', 'display_name', 'environment_id', 'feature_status', 'feature_type', 'feature_units', 'feature_units_plural', 'meter', 'meter_type', 'ref_id', 'unit_transformation')
1906
1905
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
1907
1906
  description = sgqlc.types.Field(String, graphql_name='description')
1908
1907
  display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
@@ -1914,6 +1913,7 @@ class FeatureInput(sgqlc.types.Input):
1914
1913
  meter = sgqlc.types.Field(CreateMeter, graphql_name='meter')
1915
1914
  meter_type = sgqlc.types.Field(MeterType, graphql_name='meterType')
1916
1915
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
1916
+ unit_transformation = sgqlc.types.Field('UnitTransformationInput', graphql_name='unitTransformation')
1917
1917
 
1918
1918
 
1919
1919
  class FeatureSort(sgqlc.types.Input):
@@ -3949,6 +3949,15 @@ class UnarchiveEnvironmentInput(sgqlc.types.Input):
3949
3949
  slug = sgqlc.types.Field(String, graphql_name='slug')
3950
3950
 
3951
3951
 
3952
+ class UnitTransformationInput(sgqlc.types.Input):
3953
+ __schema__ = schema
3954
+ __field_names__ = ('divide', 'feature_units', 'feature_units_plural', 'round')
3955
+ divide = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='divide')
3956
+ feature_units = sgqlc.types.Field(String, graphql_name='featureUnits')
3957
+ feature_units_plural = sgqlc.types.Field(String, graphql_name='featureUnitsPlural')
3958
+ round = sgqlc.types.Field(UnitTransformationRound, graphql_name='round')
3959
+
3960
+
3952
3961
  class UpdateAccountInput(sgqlc.types.Input):
3953
3962
  __schema__ = schema
3954
3963
  __field_names__ = ('display_name', 'id', 'subscription_billing_anchor', 'subscription_proration_behavior', 'timezone')
@@ -4001,27 +4010,9 @@ class UpdateExperimentInput(sgqlc.types.Input):
4001
4010
  variant_percentage = sgqlc.types.Field(Float, graphql_name='variantPercentage')
4002
4011
 
4003
4012
 
4004
- class UpdateFeature(sgqlc.types.Input):
4005
- __schema__ = schema
4006
- __field_names__ = ('additional_meta_data', 'created_at', 'description', 'display_name', 'environment_id', 'feature_status', 'feature_type', 'feature_units', 'feature_units_plural', 'id', 'meter_type', 'ref_id', 'updated_at')
4007
- additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
4008
- created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
4009
- description = sgqlc.types.Field(String, graphql_name='description')
4010
- display_name = sgqlc.types.Field(String, graphql_name='displayName')
4011
- environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
4012
- feature_status = sgqlc.types.Field(FeatureStatus, graphql_name='featureStatus')
4013
- feature_type = sgqlc.types.Field(FeatureType, graphql_name='featureType')
4014
- feature_units = sgqlc.types.Field(String, graphql_name='featureUnits')
4015
- feature_units_plural = sgqlc.types.Field(String, graphql_name='featureUnitsPlural')
4016
- id = sgqlc.types.Field(String, graphql_name='id')
4017
- meter_type = sgqlc.types.Field(MeterType, graphql_name='meterType')
4018
- ref_id = sgqlc.types.Field(String, graphql_name='refId')
4019
- updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
4020
-
4021
-
4022
4013
  class UpdateFeatureInput(sgqlc.types.Input):
4023
4014
  __schema__ = schema
4024
- __field_names__ = ('additional_meta_data', 'description', 'display_name', 'environment_id', 'feature_units', 'feature_units_plural', 'meter', 'ref_id')
4015
+ __field_names__ = ('additional_meta_data', 'description', 'display_name', 'environment_id', 'feature_units', 'feature_units_plural', 'meter', 'ref_id', 'unit_transformation')
4025
4016
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
4026
4017
  description = sgqlc.types.Field(String, graphql_name='description')
4027
4018
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
@@ -4030,6 +4021,7 @@ class UpdateFeatureInput(sgqlc.types.Input):
4030
4021
  feature_units_plural = sgqlc.types.Field(String, graphql_name='featureUnitsPlural')
4031
4022
  meter = sgqlc.types.Field(CreateMeter, graphql_name='meter')
4032
4023
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
4024
+ unit_transformation = sgqlc.types.Field(UnitTransformationInput, graphql_name='unitTransformation')
4033
4025
 
4034
4026
 
4035
4027
  class UpdateHook(sgqlc.types.Input):
@@ -4062,13 +4054,6 @@ class UpdateOneEnvironmentInput(sgqlc.types.Input):
4062
4054
  update = sgqlc.types.Field(sgqlc.types.non_null(EnvironmentInput), graphql_name='update')
4063
4055
 
4064
4056
 
4065
- class UpdateOneFeatureInput(sgqlc.types.Input):
4066
- __schema__ = schema
4067
- __field_names__ = ('id', 'update')
4068
- id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
4069
- update = sgqlc.types.Field(sgqlc.types.non_null(UpdateFeature), graphql_name='update')
4070
-
4071
-
4072
4057
  class UpdateOneHookInput(sgqlc.types.Input):
4073
4058
  __schema__ = schema
4074
4059
  __field_names__ = ('id', 'update')
@@ -5490,7 +5475,7 @@ class Entitlement(sgqlc.types.Type):
5490
5475
 
5491
5476
  class EntitlementFeature(sgqlc.types.Type):
5492
5477
  __schema__ = schema
5493
- __field_names__ = ('additional_meta_data', 'description', 'display_name', 'feature_status', 'feature_type', 'feature_units', 'feature_units_plural', 'id', 'meter_type', 'ref_id')
5478
+ __field_names__ = ('additional_meta_data', 'description', 'display_name', 'feature_status', 'feature_type', 'feature_units', 'feature_units_plural', 'id', 'meter_type', 'ref_id', 'unit_transformation')
5494
5479
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
5495
5480
  description = sgqlc.types.Field(String, graphql_name='description')
5496
5481
  display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
@@ -5501,6 +5486,7 @@ class EntitlementFeature(sgqlc.types.Type):
5501
5486
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
5502
5487
  meter_type = sgqlc.types.Field(MeterType, graphql_name='meterType')
5503
5488
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
5489
+ unit_transformation = sgqlc.types.Field('UnitTransformation', graphql_name='unitTransformation')
5504
5490
 
5505
5491
 
5506
5492
  class EntitlementLimitExceededError(sgqlc.types.Type):
@@ -5862,7 +5848,7 @@ class FailedToImportCustomerError(sgqlc.types.Type):
5862
5848
 
5863
5849
  class Feature(sgqlc.types.Type):
5864
5850
  __schema__ = schema
5865
- __field_names__ = ('account', 'additional_meta_data', 'created_at', 'description', 'display_name', 'environment', 'environment_id', 'feature_status', 'feature_type', 'feature_units', 'feature_units_plural', 'has_entitlements', 'has_meter', 'id', 'meter', 'meter_type', 'ref_id', 'updated_at')
5851
+ __field_names__ = ('account', 'additional_meta_data', 'created_at', 'description', 'display_name', 'environment', 'environment_id', 'feature_status', 'feature_type', 'feature_units', 'feature_units_plural', 'has_entitlements', 'has_meter', 'id', 'meter', 'meter_type', 'ref_id', 'unit_transformation', 'updated_at')
5866
5852
  account = sgqlc.types.Field(Account, graphql_name='account')
5867
5853
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
5868
5854
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
@@ -5880,6 +5866,7 @@ class Feature(sgqlc.types.Type):
5880
5866
  meter = sgqlc.types.Field('Meter', graphql_name='meter')
5881
5867
  meter_type = sgqlc.types.Field(MeterType, graphql_name='meterType')
5882
5868
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
5869
+ unit_transformation = sgqlc.types.Field('UnitTransformation', graphql_name='unitTransformation')
5883
5870
  updated_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='updatedAt')
5884
5871
 
5885
5872
 
@@ -6509,7 +6496,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
6509
6496
 
6510
6497
  class Mutation(sgqlc.types.Type):
6511
6498
  __schema__ = schema
6512
- __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')
6499
+ __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_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')
6513
6500
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
6514
6501
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
6515
6502
  ))
@@ -6604,10 +6591,6 @@ class Mutation(sgqlc.types.Type):
6604
6591
  )
6605
6592
  create_one_experiment = sgqlc.types.Field(sgqlc.types.non_null(Experiment), graphql_name='createOneExperiment', args=sgqlc.types.ArgDict((
6606
6593
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreateExperimentInput), graphql_name='input', default=None)),
6607
- ))
6608
- )
6609
- create_one_feature = sgqlc.types.Field(sgqlc.types.non_null(Feature), graphql_name='createOneFeature', args=sgqlc.types.ArgDict((
6610
- ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreateOneFeatureInput), graphql_name='input', default=None)),
6611
6594
  ))
6612
6595
  )
6613
6596
  create_one_hook = sgqlc.types.Field(sgqlc.types.non_null(Hook), graphql_name='createOneHook', args=sgqlc.types.ArgDict((
@@ -6966,10 +6949,6 @@ class Mutation(sgqlc.types.Type):
6966
6949
  )
6967
6950
  update_one_experiment = sgqlc.types.Field(sgqlc.types.non_null(Experiment), graphql_name='updateOneExperiment', args=sgqlc.types.ArgDict((
6968
6951
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(UpdateExperimentInput), graphql_name='input', default=None)),
6969
- ))
6970
- )
6971
- update_one_feature = sgqlc.types.Field(sgqlc.types.non_null(Feature), graphql_name='updateOneFeature', args=sgqlc.types.ArgDict((
6972
- ('input', sgqlc.types.Arg(sgqlc.types.non_null(UpdateOneFeatureInput), graphql_name='input', default=None)),
6973
6952
  ))
6974
6953
  )
6975
6954
  update_one_hook = sgqlc.types.Field(sgqlc.types.non_null(Hook), graphql_name='updateOneHook', args=sgqlc.types.ArgDict((
@@ -9228,6 +9207,15 @@ class UnitAmountChangeVariables(sgqlc.types.Type):
9228
9207
  new_unit_amount = sgqlc.types.Field(Float, graphql_name='newUnitAmount')
9229
9208
 
9230
9209
 
9210
+ class UnitTransformation(sgqlc.types.Type):
9211
+ __schema__ = schema
9212
+ __field_names__ = ('divide', 'feature_units', 'feature_units_plural', 'round')
9213
+ divide = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='divide')
9214
+ feature_units = sgqlc.types.Field(String, graphql_name='featureUnits')
9215
+ feature_units_plural = sgqlc.types.Field(String, graphql_name='featureUnitsPlural')
9216
+ round = sgqlc.types.Field(sgqlc.types.non_null(UnitTransformationRound), graphql_name='round')
9217
+
9218
+
9231
9219
  class UnsupportedFeatureTypeError(sgqlc.types.Type):
9232
9220
  __schema__ = schema
9233
9221
  __field_names__ = ('code', 'feature_type')