stigg-api-client 1.180.0__tar.gz → 1.181.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.180.0
3
+ Version: 1.181.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.180.0"
3
+ version = "1.181.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -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', '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')
179
179
 
180
180
 
181
181
  class EventLogType(sgqlc.types.Enum):
@@ -239,11 +239,6 @@ class IntegrationSortFields(sgqlc.types.Enum):
239
239
  __choices__ = ('createdAt', 'environmentId', 'id', 'vendorIdentifier')
240
240
 
241
241
 
242
- class InvoiceLineItemType(sgqlc.types.Enum):
243
- __schema__ = schema
244
- __choices__ = ('AddonCharge', 'BaseCharge', 'InAdvanceCommitmentCharge', 'MinimumSpendAdjustmentCharge', 'OverageCharge', 'PayAsYouGoCharge', 'TierCharge')
245
-
246
-
247
242
  class JSON(sgqlc.types.Scalar):
248
243
  __schema__ = schema
249
244
 
@@ -6376,7 +6371,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
6376
6371
 
6377
6372
  class Mutation(sgqlc.types.Type):
6378
6373
  __schema__ = schema
6379
- __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')
6374
+ __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', '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')
6380
6375
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
6381
6376
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
6382
6377
  ))
@@ -6609,7 +6604,7 @@ class Mutation(sgqlc.types.Type):
6609
6604
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(SubscriptionMigrationInput), graphql_name='input', default=None)),
6610
6605
  ))
6611
6606
  )
6612
- preview_next_invoice = sgqlc.types.Field(sgqlc.types.non_null('SubscriptionInvoicePreview'), graphql_name='previewNextInvoice', args=sgqlc.types.ArgDict((
6607
+ preview_next_invoice = sgqlc.types.Field(sgqlc.types.non_null('SubscriptionPreviewInvoice'), graphql_name='previewNextInvoice', args=sgqlc.types.ArgDict((
6613
6608
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(PreviewNextInvoiceInput), graphql_name='input', default=None)),
6614
6609
  ))
6615
6610
  )
@@ -6757,10 +6752,6 @@ class Mutation(sgqlc.types.Type):
6757
6752
  )
6758
6753
  stop_experiment = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='stopExperiment', args=sgqlc.types.ArgDict((
6759
6754
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(StopExperimentInput), graphql_name='input', default=None)),
6760
- ))
6761
- )
6762
- subscription_maximum_spend = sgqlc.types.Field('SubscriptionMaximumSpend', graphql_name='subscriptionMaximumSpend', args=sgqlc.types.ArgDict((
6763
- ('input', sgqlc.types.Arg(sgqlc.types.non_null(PreviewNextInvoiceInput), graphql_name='input', default=None)),
6764
6755
  ))
6765
6756
  )
6766
6757
  sync_tax_rates = sgqlc.types.Field(String, graphql_name='syncTaxRates', args=sgqlc.types.ArgDict((
@@ -8627,75 +8618,6 @@ class SubscriptionInvoice(sgqlc.types.Type):
8627
8618
  updated_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='updatedAt')
8628
8619
 
8629
8620
 
8630
- class SubscriptionInvoicePreview(sgqlc.types.Type):
8631
- __schema__ = schema
8632
- __field_names__ = ('amount_due', 'credits', 'discount', 'discount_details', 'last_updated_at', 'lines', 'minimum_spend_adjustment', 'sub_total', 'sub_total_excluding_tax', 'tax', 'tax_details', 'total', 'total_excluding_tax')
8633
- amount_due = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='amountDue')
8634
- credits = sgqlc.types.Field('SubscriptionPreviewCredits', graphql_name='credits')
8635
- discount = sgqlc.types.Field(Money, graphql_name='discount')
8636
- discount_details = sgqlc.types.Field('SubscriptionPreviewDiscount', graphql_name='discountDetails')
8637
- last_updated_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='lastUpdatedAt')
8638
- lines = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionInvoicePreviewLineItem'))), graphql_name='lines')
8639
- minimum_spend_adjustment = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='minimumSpendAdjustment')
8640
- sub_total = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='subTotal')
8641
- sub_total_excluding_tax = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='subTotalExcludingTax')
8642
- tax = sgqlc.types.Field(Money, graphql_name='tax')
8643
- tax_details = sgqlc.types.Field('SubscriptionPreviewTaxDetails', graphql_name='taxDetails')
8644
- total = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='total')
8645
- total_excluding_tax = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='totalExcludingTax')
8646
-
8647
-
8648
- class SubscriptionInvoicePreviewLineItem(sgqlc.types.Type):
8649
- __schema__ = schema
8650
- __field_names__ = ('amount', 'cost_description', 'description', 'has_soft_limit', 'lines', 'price', 'proration', 'quantity', 'type', 'unit_price', 'usage_limit')
8651
- amount = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='amount')
8652
- cost_description = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='costDescription')
8653
- description = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='description')
8654
- has_soft_limit = sgqlc.types.Field(Boolean, graphql_name='hasSoftLimit')
8655
- lines = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionInvoicePreviewLineItemData')), graphql_name='lines')
8656
- price = sgqlc.types.Field(Price, graphql_name='price')
8657
- proration = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='proration')
8658
- quantity = sgqlc.types.Field(Int, graphql_name='quantity')
8659
- type = sgqlc.types.Field(sgqlc.types.non_null(InvoiceLineItemType), graphql_name='type')
8660
- unit_price = sgqlc.types.Field(Money, graphql_name='unitPrice')
8661
- usage_limit = sgqlc.types.Field(Float, graphql_name='usageLimit')
8662
-
8663
-
8664
- class SubscriptionInvoicePreviewLineItemData(sgqlc.types.Type):
8665
- __schema__ = schema
8666
- __field_names__ = ('amount', 'cost_description', 'description', 'has_soft_limit', 'price', 'proration', 'quantity', 'type', 'unit_price', 'usage_limit')
8667
- amount = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='amount')
8668
- cost_description = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='costDescription')
8669
- description = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='description')
8670
- has_soft_limit = sgqlc.types.Field(Boolean, graphql_name='hasSoftLimit')
8671
- price = sgqlc.types.Field(Price, graphql_name='price')
8672
- proration = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='proration')
8673
- quantity = sgqlc.types.Field(Int, graphql_name='quantity')
8674
- type = sgqlc.types.Field(sgqlc.types.non_null(InvoiceLineItemType), graphql_name='type')
8675
- unit_price = sgqlc.types.Field(Money, graphql_name='unitPrice')
8676
- usage_limit = sgqlc.types.Field(Float, graphql_name='usageLimit')
8677
-
8678
-
8679
- class SubscriptionMaximumSpend(sgqlc.types.Type):
8680
- __schema__ = schema
8681
- __field_names__ = ('discount', 'discount_details', 'last_updated_at', 'lines', 'maximum_spend', 'sub_total', 'total')
8682
- discount = sgqlc.types.Field(Money, graphql_name='discount')
8683
- discount_details = sgqlc.types.Field('SubscriptionMaximumSpendDiscount', graphql_name='discountDetails')
8684
- last_updated_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='lastUpdatedAt')
8685
- lines = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionInvoicePreviewLineItem)), graphql_name='lines')
8686
- maximum_spend = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='maximumSpend')
8687
- sub_total = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='subTotal')
8688
- total = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='total')
8689
-
8690
-
8691
- class SubscriptionMaximumSpendDiscount(sgqlc.types.Type):
8692
- __schema__ = schema
8693
- __field_names__ = ('name', 'type', 'value')
8694
- name = sgqlc.types.Field(String, graphql_name='name')
8695
- type = sgqlc.types.Field(DiscountType, graphql_name='type')
8696
- value = sgqlc.types.Field(Float, graphql_name='value')
8697
-
8698
-
8699
8621
  class SubscriptionMigrationTask(sgqlc.types.Type):
8700
8622
  __schema__ = schema
8701
8623
  __field_names__ = ('affected_customers_count', 'created_at', 'end_date', 'environment_id', 'id', 'initiated_package_id', 'migrated_customers_count', 'packages', 'progress', 'start_date', 'status', 'task_type')
@@ -8786,14 +8708,6 @@ class SubscriptionMustHaveSinglePlanError(sgqlc.types.Type):
8786
8708
  ref_ids = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(String))), graphql_name='refIds')
8787
8709
 
8788
8710
 
8789
- class SubscriptionNoBillingId(sgqlc.types.Type):
8790
- __schema__ = schema
8791
- __field_names__ = ('code', 'is_validation_error', 'ref_id')
8792
- code = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='code')
8793
- is_validation_error = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isValidationError')
8794
- ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
8795
-
8796
-
8797
8711
  class SubscriptionPreview(sgqlc.types.Type):
8798
8712
  __schema__ = schema
8799
8713
  __field_names__ = ('billing_period_range', 'credits', 'discount', 'discount_amount', 'has_scheduled_updates', 'is_plan_downgrade', 'minimum_spend_adjustment', 'proration', 'sub_total', 'subscription', 'tax', 'tax_details', 'total', 'total_excluding_tax')
@@ -8823,10 +8737,9 @@ class SubscriptionPreviewCredits(sgqlc.types.Type):
8823
8737
 
8824
8738
  class SubscriptionPreviewDiscount(sgqlc.types.Type):
8825
8739
  __schema__ = schema
8826
- __field_names__ = ('duration_in_months', 'duration_type', 'name', 'type', 'value')
8740
+ __field_names__ = ('duration_in_months', 'duration_type', 'type', 'value')
8827
8741
  duration_in_months = sgqlc.types.Field(Float, graphql_name='durationInMonths')
8828
8742
  duration_type = sgqlc.types.Field(sgqlc.types.non_null(DiscountDurationType), graphql_name='durationType')
8829
- name = sgqlc.types.Field(String, graphql_name='name')
8830
8743
  type = sgqlc.types.Field(sgqlc.types.non_null(DiscountType), graphql_name='type')
8831
8744
  value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='value')
8832
8745