stigg-api-client 1.222.0__py3-none-any.whl → 1.226.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.

@@ -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
 
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', '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', '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):
@@ -190,7 +190,7 @@ class EventEntityType(sgqlc.types.Enum):
190
190
 
191
191
  class EventLogSortFields(sgqlc.types.Enum):
192
192
  __schema__ = schema
193
- __choices__ = ('createdAt', 'entityId', 'environmentId', 'eventLogType', 'parentEntityId')
193
+ __choices__ = ('createdAt', 'entityId', 'environmentId', 'eventLogType', 'id', 'parentEntityId')
194
194
 
195
195
 
196
196
  class EventLogType(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',)
@@ -1763,16 +1762,23 @@ class EventLogEventLogTypeFilterComparison(sgqlc.types.Input):
1763
1762
 
1764
1763
  class EventLogFilter(sgqlc.types.Input):
1765
1764
  __schema__ = schema
1766
- __field_names__ = ('and_', 'created_at', 'entity_id', 'environment_id', 'event_log_type', 'or_', 'parent_entity_id')
1765
+ __field_names__ = ('and_', 'created_at', 'entity_id', 'environment_id', 'event_log_type', 'id', 'or_', 'parent_entity_id')
1767
1766
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('EventLogFilter')), graphql_name='and')
1768
1767
  created_at = sgqlc.types.Field(EventLogCreatedAtFilterComparison, graphql_name='createdAt')
1769
1768
  entity_id = sgqlc.types.Field(EventLogEntityIdFilterComparison, graphql_name='entityId')
1770
1769
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(EventLogEnvironmentIdFilterComparison), graphql_name='environmentId')
1771
1770
  event_log_type = sgqlc.types.Field(EventLogEventLogTypeFilterComparison, graphql_name='eventLogType')
1771
+ id = sgqlc.types.Field('EventLogIdFilterComparison', graphql_name='id')
1772
1772
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('EventLogFilter')), graphql_name='or')
1773
1773
  parent_entity_id = sgqlc.types.Field('EventLogParentEntityIdFilterComparison', graphql_name='parentEntityId')
1774
1774
 
1775
1775
 
1776
+ class EventLogIdFilterComparison(sgqlc.types.Input):
1777
+ __schema__ = schema
1778
+ __field_names__ = ('eq',)
1779
+ eq = sgqlc.types.Field(String, graphql_name='eq')
1780
+
1781
+
1776
1782
  class EventLogParentEntityIdFilterComparison(sgqlc.types.Input):
1777
1783
  __schema__ = schema
1778
1784
  __field_names__ = ('eq', 'in_')
@@ -1895,7 +1901,7 @@ class FeatureFilter(sgqlc.types.Input):
1895
1901
 
1896
1902
  class FeatureInput(sgqlc.types.Input):
1897
1903
  __schema__ = schema
1898
- __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')
1899
1905
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
1900
1906
  description = sgqlc.types.Field(String, graphql_name='description')
1901
1907
  display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
@@ -1907,6 +1913,7 @@ class FeatureInput(sgqlc.types.Input):
1907
1913
  meter = sgqlc.types.Field(CreateMeter, graphql_name='meter')
1908
1914
  meter_type = sgqlc.types.Field(MeterType, graphql_name='meterType')
1909
1915
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
1916
+ unit_transformation = sgqlc.types.Field('UnitTransformationInput', graphql_name='unitTransformation')
1910
1917
 
1911
1918
 
1912
1919
  class FeatureSort(sgqlc.types.Input):
@@ -3942,6 +3949,15 @@ class UnarchiveEnvironmentInput(sgqlc.types.Input):
3942
3949
  slug = sgqlc.types.Field(String, graphql_name='slug')
3943
3950
 
3944
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
+
3945
3961
  class UpdateAccountInput(sgqlc.types.Input):
3946
3962
  __schema__ = schema
3947
3963
  __field_names__ = ('display_name', 'id', 'subscription_billing_anchor', 'subscription_proration_behavior', 'timezone')
@@ -3994,27 +4010,9 @@ class UpdateExperimentInput(sgqlc.types.Input):
3994
4010
  variant_percentage = sgqlc.types.Field(Float, graphql_name='variantPercentage')
3995
4011
 
3996
4012
 
3997
- class UpdateFeature(sgqlc.types.Input):
3998
- __schema__ = schema
3999
- __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')
4000
- additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
4001
- created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
4002
- description = sgqlc.types.Field(String, graphql_name='description')
4003
- display_name = sgqlc.types.Field(String, graphql_name='displayName')
4004
- environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
4005
- feature_status = sgqlc.types.Field(FeatureStatus, graphql_name='featureStatus')
4006
- feature_type = sgqlc.types.Field(FeatureType, graphql_name='featureType')
4007
- feature_units = sgqlc.types.Field(String, graphql_name='featureUnits')
4008
- feature_units_plural = sgqlc.types.Field(String, graphql_name='featureUnitsPlural')
4009
- id = sgqlc.types.Field(String, graphql_name='id')
4010
- meter_type = sgqlc.types.Field(MeterType, graphql_name='meterType')
4011
- ref_id = sgqlc.types.Field(String, graphql_name='refId')
4012
- updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
4013
-
4014
-
4015
4013
  class UpdateFeatureInput(sgqlc.types.Input):
4016
4014
  __schema__ = schema
4017
- __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')
4018
4016
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
4019
4017
  description = sgqlc.types.Field(String, graphql_name='description')
4020
4018
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
@@ -4023,6 +4021,7 @@ class UpdateFeatureInput(sgqlc.types.Input):
4023
4021
  feature_units_plural = sgqlc.types.Field(String, graphql_name='featureUnitsPlural')
4024
4022
  meter = sgqlc.types.Field(CreateMeter, graphql_name='meter')
4025
4023
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
4024
+ unit_transformation = sgqlc.types.Field(UnitTransformationInput, graphql_name='unitTransformation')
4026
4025
 
4027
4026
 
4028
4027
  class UpdateHook(sgqlc.types.Input):
@@ -4055,13 +4054,6 @@ class UpdateOneEnvironmentInput(sgqlc.types.Input):
4055
4054
  update = sgqlc.types.Field(sgqlc.types.non_null(EnvironmentInput), graphql_name='update')
4056
4055
 
4057
4056
 
4058
- class UpdateOneFeatureInput(sgqlc.types.Input):
4059
- __schema__ = schema
4060
- __field_names__ = ('id', 'update')
4061
- id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
4062
- update = sgqlc.types.Field(sgqlc.types.non_null(UpdateFeature), graphql_name='update')
4063
-
4064
-
4065
4057
  class UpdateOneHookInput(sgqlc.types.Input):
4066
4058
  __schema__ = schema
4067
4059
  __field_names__ = ('id', 'update')
@@ -5483,7 +5475,7 @@ class Entitlement(sgqlc.types.Type):
5483
5475
 
5484
5476
  class EntitlementFeature(sgqlc.types.Type):
5485
5477
  __schema__ = schema
5486
- __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')
5487
5479
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
5488
5480
  description = sgqlc.types.Field(String, graphql_name='description')
5489
5481
  display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
@@ -5494,6 +5486,7 @@ class EntitlementFeature(sgqlc.types.Type):
5494
5486
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
5495
5487
  meter_type = sgqlc.types.Field(MeterType, graphql_name='meterType')
5496
5488
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
5489
+ unit_transformation = sgqlc.types.Field('UnitTransformation', graphql_name='unitTransformation')
5497
5490
 
5498
5491
 
5499
5492
  class EntitlementLimitExceededError(sgqlc.types.Type):
@@ -5662,11 +5655,12 @@ class EventLog(sgqlc.types.Type):
5662
5655
 
5663
5656
  class EventLogAggregateGroupBy(sgqlc.types.Type):
5664
5657
  __schema__ = schema
5665
- __field_names__ = ('created_at', 'entity_id', 'environment_id', 'event_log_type', 'parent_entity_id')
5658
+ __field_names__ = ('created_at', 'entity_id', 'environment_id', 'event_log_type', 'id', 'parent_entity_id')
5666
5659
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
5667
5660
  entity_id = sgqlc.types.Field(String, graphql_name='entityId')
5668
5661
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
5669
5662
  event_log_type = sgqlc.types.Field(EventLogType, graphql_name='eventLogType')
5663
+ id = sgqlc.types.Field(String, graphql_name='id')
5670
5664
  parent_entity_id = sgqlc.types.Field(String, graphql_name='parentEntityId')
5671
5665
 
5672
5666
 
@@ -5679,11 +5673,12 @@ class EventLogConnection(sgqlc.types.relay.Connection):
5679
5673
 
5680
5674
  class EventLogCountAggregate(sgqlc.types.Type):
5681
5675
  __schema__ = schema
5682
- __field_names__ = ('created_at', 'entity_id', 'environment_id', 'event_log_type', 'parent_entity_id')
5676
+ __field_names__ = ('created_at', 'entity_id', 'environment_id', 'event_log_type', 'id', 'parent_entity_id')
5683
5677
  created_at = sgqlc.types.Field(Int, graphql_name='createdAt')
5684
5678
  entity_id = sgqlc.types.Field(Int, graphql_name='entityId')
5685
5679
  environment_id = sgqlc.types.Field(Int, graphql_name='environmentId')
5686
5680
  event_log_type = sgqlc.types.Field(Int, graphql_name='eventLogType')
5681
+ id = sgqlc.types.Field(Int, graphql_name='id')
5687
5682
  parent_entity_id = sgqlc.types.Field(Int, graphql_name='parentEntityId')
5688
5683
 
5689
5684
 
@@ -5696,21 +5691,23 @@ class EventLogEdge(sgqlc.types.Type):
5696
5691
 
5697
5692
  class EventLogMaxAggregate(sgqlc.types.Type):
5698
5693
  __schema__ = schema
5699
- __field_names__ = ('created_at', 'entity_id', 'environment_id', 'event_log_type', 'parent_entity_id')
5694
+ __field_names__ = ('created_at', 'entity_id', 'environment_id', 'event_log_type', 'id', 'parent_entity_id')
5700
5695
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
5701
5696
  entity_id = sgqlc.types.Field(String, graphql_name='entityId')
5702
5697
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
5703
5698
  event_log_type = sgqlc.types.Field(EventLogType, graphql_name='eventLogType')
5699
+ id = sgqlc.types.Field(String, graphql_name='id')
5704
5700
  parent_entity_id = sgqlc.types.Field(String, graphql_name='parentEntityId')
5705
5701
 
5706
5702
 
5707
5703
  class EventLogMinAggregate(sgqlc.types.Type):
5708
5704
  __schema__ = schema
5709
- __field_names__ = ('created_at', 'entity_id', 'environment_id', 'event_log_type', 'parent_entity_id')
5705
+ __field_names__ = ('created_at', 'entity_id', 'environment_id', 'event_log_type', 'id', 'parent_entity_id')
5710
5706
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
5711
5707
  entity_id = sgqlc.types.Field(String, graphql_name='entityId')
5712
5708
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
5713
5709
  event_log_type = sgqlc.types.Field(EventLogType, graphql_name='eventLogType')
5710
+ id = sgqlc.types.Field(String, graphql_name='id')
5714
5711
  parent_entity_id = sgqlc.types.Field(String, graphql_name='parentEntityId')
5715
5712
 
5716
5713
 
@@ -5851,7 +5848,7 @@ class FailedToImportCustomerError(sgqlc.types.Type):
5851
5848
 
5852
5849
  class Feature(sgqlc.types.Type):
5853
5850
  __schema__ = schema
5854
- __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')
5855
5852
  account = sgqlc.types.Field(Account, graphql_name='account')
5856
5853
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
5857
5854
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
@@ -5869,6 +5866,7 @@ class Feature(sgqlc.types.Type):
5869
5866
  meter = sgqlc.types.Field('Meter', graphql_name='meter')
5870
5867
  meter_type = sgqlc.types.Field(MeterType, graphql_name='meterType')
5871
5868
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
5869
+ unit_transformation = sgqlc.types.Field('UnitTransformation', graphql_name='unitTransformation')
5872
5870
  updated_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='updatedAt')
5873
5871
 
5874
5872
 
@@ -6498,7 +6496,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
6498
6496
 
6499
6497
  class Mutation(sgqlc.types.Type):
6500
6498
  __schema__ = schema
6501
- __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')
6502
6500
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
6503
6501
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
6504
6502
  ))
@@ -6593,10 +6591,6 @@ class Mutation(sgqlc.types.Type):
6593
6591
  )
6594
6592
  create_one_experiment = sgqlc.types.Field(sgqlc.types.non_null(Experiment), graphql_name='createOneExperiment', args=sgqlc.types.ArgDict((
6595
6593
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreateExperimentInput), graphql_name='input', default=None)),
6596
- ))
6597
- )
6598
- create_one_feature = sgqlc.types.Field(sgqlc.types.non_null(Feature), graphql_name='createOneFeature', args=sgqlc.types.ArgDict((
6599
- ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreateOneFeatureInput), graphql_name='input', default=None)),
6600
6594
  ))
6601
6595
  )
6602
6596
  create_one_hook = sgqlc.types.Field(sgqlc.types.non_null(Hook), graphql_name='createOneHook', args=sgqlc.types.ArgDict((
@@ -6955,10 +6949,6 @@ class Mutation(sgqlc.types.Type):
6955
6949
  )
6956
6950
  update_one_experiment = sgqlc.types.Field(sgqlc.types.non_null(Experiment), graphql_name='updateOneExperiment', args=sgqlc.types.ArgDict((
6957
6951
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(UpdateExperimentInput), graphql_name='input', default=None)),
6958
- ))
6959
- )
6960
- update_one_feature = sgqlc.types.Field(sgqlc.types.non_null(Feature), graphql_name='updateOneFeature', args=sgqlc.types.ArgDict((
6961
- ('input', sgqlc.types.Arg(sgqlc.types.non_null(UpdateOneFeatureInput), graphql_name='input', default=None)),
6962
6952
  ))
6963
6953
  )
6964
6954
  update_one_hook = sgqlc.types.Field(sgqlc.types.non_null(Hook), graphql_name='updateOneHook', args=sgqlc.types.ArgDict((
@@ -9217,6 +9207,15 @@ class UnitAmountChangeVariables(sgqlc.types.Type):
9217
9207
  new_unit_amount = sgqlc.types.Field(Float, graphql_name='newUnitAmount')
9218
9208
 
9219
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
+
9220
9219
  class UnsupportedFeatureTypeError(sgqlc.types.Type):
9221
9220
  __schema__ = schema
9222
9221
  __field_names__ = ('code', 'feature_type')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 1.222.0
3
+ Version: 1.226.0
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -0,0 +1,9 @@
1
+ stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
+ stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
3
+ stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ stigg/generated/operations.py,sha256=jACwiE5aKretjw6ot1r3tKEvtRTmY0M-GohtytO7VWk,69122
5
+ stigg/generated/schema.py,sha256=d_Q_YYKh-L_nuYUgVJUEI-r6ZWtn_T3TF9onXHTWPss,603691
6
+ stigg_api_client-1.226.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-1.226.0.dist-info/METADATA,sha256=5xGL_m8N8I01UHOEk7ViRj61wfIWKoDIKmeLVA_uMJA,3198
8
+ stigg_api_client-1.226.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-1.226.0.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
- stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
3
- stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- stigg/generated/operations.py,sha256=1zj7dlDRChBSmrxtymrv5gFqu9nuSaibdl7tUMK1dYg,68985
5
- stigg/generated/schema.py,sha256=6cBTT7LpdI9SiBGu8b61M78eewinT13W_zuY5tj71Nk,603878
6
- stigg_api_client-1.222.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-1.222.0.dist-info/METADATA,sha256=xA6gw0W_-Gm1L8LFJ_v9jgeDuz701QS1xF3kakKiaeo,3198
8
- stigg_api_client-1.222.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-1.222.0.dist-info/RECORD,,