stigg-api-client 1.176.0__tar.gz → 1.177.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.176.0
3
+ Version: 1.177.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.176.0"
3
+ version = "1.177.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -143,6 +143,11 @@ class DiscountType(sgqlc.types.Enum):
143
143
  __choices__ = ('FIXED', 'PERCENTAGE')
144
144
 
145
145
 
146
+ class EntitlementBehavior(sgqlc.types.Enum):
147
+ __schema__ = schema
148
+ __choices__ = ('Increment', 'Override')
149
+
150
+
146
151
  class EntitlementResetPeriod(sgqlc.types.Enum):
147
152
  __schema__ = schema
148
153
  __choices__ = ('DAY', 'HOUR', 'MONTH', 'WEEK', 'YEAR')
@@ -170,7 +175,7 @@ class EnvironmentType(sgqlc.types.Enum):
170
175
 
171
176
  class ErrorCode(sgqlc.types.Enum):
172
177
  __schema__ = schema
173
- __choices__ = ('AccountNotFoundError', 'AddonDependencyMissingError', 'AddonHasToHavePriceError', 'AddonNotFound', 'AddonQuantityExceedsLimitError', 'AddonWithDraftCannotBeDeletedError', 'AmountTooLarge', 'ArchivedCouponCantBeApplied', 'AuthCustomerMismatch', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingIntegrationMissing', 'BillingPeriodMissingError', 'CannotArchiveFeatureError', 'CannotDeleteCustomerError', 'CannotDeleteFeatureError', 'CannotDeleteProductError', 'CannotEditPackageInNonDraftMode', 'CannotRemovePaymentMethodFromCustomerError', 'CannotReportUsageForEntitlementWithMeterError', 'CannotUpsertToPackageThatHasDraft', 'CheckoutIsNotSupported', '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', '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', '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', 'SubscriptionNotFound', 'TooManySubscriptionsPerCustomer', 'TrialMinDateError', 'TrialMustBeCancelledImmediately', 'UnPublishedPackage', 'Unauthenticated', 'UncompatibleSubscriptionAddon', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier', 'UsageMeasurementDiffOutOfRangeError')
174
179
 
175
180
 
176
181
  class EventLogType(sgqlc.types.Enum):
@@ -2291,7 +2296,8 @@ class NumberFieldComparisonBetween(sgqlc.types.Input):
2291
2296
 
2292
2297
  class OverageEntitlementCreateInput(sgqlc.types.Input):
2293
2298
  __schema__ = schema
2294
- __field_names__ = ('description', 'display_name_override', 'feature_id', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'is_custom', 'monthly_reset_period_configuration', 'order', 'reset_period', 'usage_limit', 'weekly_reset_period_configuration', 'yearly_reset_period_configuration')
2299
+ __field_names__ = ('behavior', 'description', 'display_name_override', 'feature_id', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'is_custom', 'monthly_reset_period_configuration', 'order', 'reset_period', 'usage_limit', 'weekly_reset_period_configuration', 'yearly_reset_period_configuration')
2300
+ behavior = sgqlc.types.Field(EntitlementBehavior, graphql_name='behavior')
2295
2301
  description = sgqlc.types.Field(String, graphql_name='description')
2296
2302
  display_name_override = sgqlc.types.Field(String, graphql_name='displayNameOverride')
2297
2303
  feature_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='featureId')
@@ -2398,7 +2404,8 @@ class PackageEntitlementFilterPackageDTOFilter(sgqlc.types.Input):
2398
2404
 
2399
2405
  class PackageEntitlementInput(sgqlc.types.Input):
2400
2406
  __schema__ = schema
2401
- __field_names__ = ('description', 'display_name_override', 'environment_id', 'feature_id', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'is_custom', 'monthly_reset_period_configuration', 'order', 'package_id', 'reset_period', 'usage_limit', 'weekly_reset_period_configuration', 'yearly_reset_period_configuration')
2407
+ __field_names__ = ('behavior', 'description', 'display_name_override', 'environment_id', 'feature_id', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'is_custom', 'monthly_reset_period_configuration', 'order', 'package_id', 'reset_period', 'usage_limit', 'weekly_reset_period_configuration', 'yearly_reset_period_configuration')
2408
+ behavior = sgqlc.types.Field(EntitlementBehavior, graphql_name='behavior')
2402
2409
  description = sgqlc.types.Field(String, graphql_name='description')
2403
2410
  display_name_override = sgqlc.types.Field(String, graphql_name='displayNameOverride')
2404
2411
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
@@ -2426,7 +2433,8 @@ class PackageEntitlementSort(sgqlc.types.Input):
2426
2433
 
2427
2434
  class PackageEntitlementUpdateInput(sgqlc.types.Input):
2428
2435
  __schema__ = schema
2429
- __field_names__ = ('description', 'display_name_override', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'is_custom', 'monthly_reset_period_configuration', 'order', 'reset_period', 'usage_limit', 'weekly_reset_period_configuration', 'yearly_reset_period_configuration')
2436
+ __field_names__ = ('behavior', 'description', 'display_name_override', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'is_custom', 'monthly_reset_period_configuration', 'order', 'reset_period', 'usage_limit', 'weekly_reset_period_configuration', 'yearly_reset_period_configuration')
2437
+ behavior = sgqlc.types.Field(EntitlementBehavior, graphql_name='behavior')
2430
2438
  description = sgqlc.types.Field(String, graphql_name='description')
2431
2439
  display_name_override = sgqlc.types.Field(String, graphql_name='displayNameOverride')
2432
2440
  has_soft_limit = sgqlc.types.Field(Boolean, graphql_name='hasSoftLimit')
@@ -6946,7 +6954,8 @@ class PackageDraftSummary(sgqlc.types.Type):
6946
6954
 
6947
6955
  class PackageEntitlement(sgqlc.types.Type):
6948
6956
  __schema__ = schema
6949
- __field_names__ = ('created_at', 'description', 'display_name_override', 'environment_id', 'feature', 'feature_id', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'id', 'is_custom', 'meter', 'order', 'package', 'package_id', 'reset_period', 'reset_period_configuration', 'updated_at', 'usage_limit')
6957
+ __field_names__ = ('behavior', 'created_at', 'description', 'display_name_override', 'environment_id', 'feature', 'feature_id', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'id', 'is_custom', 'meter', 'order', 'package', 'package_id', 'reset_period', 'reset_period_configuration', 'updated_at', 'usage_limit')
6958
+ behavior = sgqlc.types.Field(sgqlc.types.non_null(EntitlementBehavior), graphql_name='behavior')
6950
6959
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6951
6960
  description = sgqlc.types.Field(String, graphql_name='description')
6952
6961
  display_name_override = sgqlc.types.Field(String, graphql_name='displayNameOverride')
@@ -7006,7 +7015,8 @@ class PackageEntitlementCountAggregate(sgqlc.types.Type):
7006
7015
 
7007
7016
  class PackageEntitlementDeleteResponse(sgqlc.types.Type):
7008
7017
  __schema__ = schema
7009
- __field_names__ = ('created_at', 'description', 'display_name_override', 'environment_id', 'feature_id', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'id', 'is_custom', 'order', 'package_id', 'reset_period', 'reset_period_configuration', 'updated_at', 'usage_limit')
7018
+ __field_names__ = ('behavior', 'created_at', 'description', 'display_name_override', 'environment_id', 'feature_id', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'id', 'is_custom', 'order', 'package_id', 'reset_period', 'reset_period_configuration', 'updated_at', 'usage_limit')
7019
+ behavior = sgqlc.types.Field(EntitlementBehavior, graphql_name='behavior')
7010
7020
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
7011
7021
  description = sgqlc.types.Field(String, graphql_name='description')
7012
7022
  display_name_override = sgqlc.types.Field(String, graphql_name='displayNameOverride')