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

@@ -620,6 +620,83 @@ def fragment_subscription_preview_v2_fragment():
620
620
  return _frag
621
621
 
622
622
 
623
+ def fragment_subscription_invoice_preview_fragment():
624
+ _frag = sgqlc.operation.Fragment(_schema.SubscriptionInvoicePreview, 'SubscriptionInvoicePreviewFragment')
625
+ _frag_amount_due = _frag.amount_due()
626
+ _frag_amount_due.amount()
627
+ _frag_amount_due.currency()
628
+ _frag_minimum_spend_adjustment = _frag.minimum_spend_adjustment()
629
+ _frag_minimum_spend_adjustment.amount()
630
+ _frag_minimum_spend_adjustment.currency()
631
+ _frag_total = _frag.total()
632
+ _frag_total.amount()
633
+ _frag_total.currency()
634
+ _frag_total_excluding_tax = _frag.total_excluding_tax()
635
+ _frag_total_excluding_tax.amount()
636
+ _frag_total_excluding_tax.currency()
637
+ _frag_sub_total = _frag.sub_total()
638
+ _frag_sub_total.amount()
639
+ _frag_sub_total.currency()
640
+ _frag_sub_total_excluding_tax = _frag.sub_total_excluding_tax()
641
+ _frag_sub_total_excluding_tax.amount()
642
+ _frag_sub_total_excluding_tax.currency()
643
+ _frag_tax = _frag.tax()
644
+ _frag_tax.amount()
645
+ _frag_tax.currency()
646
+ _frag_tax_details = _frag.tax_details()
647
+ _frag_tax_details.display_name()
648
+ _frag_tax_details.percentage()
649
+ _frag_tax_details.inclusive()
650
+ _frag_discount = _frag.discount()
651
+ _frag_discount.amount()
652
+ _frag_discount.currency()
653
+ _frag_discount_details = _frag.discount_details()
654
+ _frag_discount_details.name()
655
+ _frag_discount_details.type()
656
+ _frag_discount_details.value()
657
+ _frag_discount_details.duration_type()
658
+ _frag_discount_details.duration_in_months()
659
+ _frag_credits = _frag.credits()
660
+ _frag_credits_initial = _frag_credits.initial()
661
+ _frag_credits_initial.amount()
662
+ _frag_credits_initial.currency()
663
+ _frag_credits_used = _frag_credits.used()
664
+ _frag_credits_used.amount()
665
+ _frag_credits_used.currency()
666
+ _frag_credits_remaining = _frag_credits.remaining()
667
+ _frag_credits_remaining.amount()
668
+ _frag_credits_remaining.currency()
669
+ _frag.last_updated_at()
670
+ _frag_lines = _frag.lines()
671
+ _frag_lines.type()
672
+ _frag_lines.description()
673
+ _frag_lines.cost_description()
674
+ _frag_lines_amount = _frag_lines.amount()
675
+ _frag_lines_amount.amount()
676
+ _frag_lines_amount.currency()
677
+ _frag_lines_unit_price = _frag_lines.unit_price()
678
+ _frag_lines_unit_price.amount()
679
+ _frag_lines_unit_price.currency()
680
+ _frag_lines.quantity()
681
+ _frag_lines.proration()
682
+ _frag_lines_price = _frag_lines.price()
683
+ _frag_lines_price.__fragment__(fragment_price_fragment())
684
+ _frag_lines.usage_limit()
685
+ _frag_lines_period = _frag_lines.period()
686
+ _frag_lines_period.start()
687
+ _frag_lines_period.end()
688
+ _frag_lines.has_soft_limit()
689
+ _frag_lines_lines = _frag_lines.lines()
690
+ _frag_lines_lines.type()
691
+ _frag_lines_lines.description()
692
+ _frag_lines_lines.cost_description()
693
+ _frag_lines_lines.quantity()
694
+ _frag_lines_lines.proration()
695
+ _frag_lines_lines.usage_limit()
696
+ _frag_lines_lines.has_soft_limit()
697
+ return _frag
698
+
699
+
623
700
  def fragment_feature_fragment():
624
701
  _frag = sgqlc.operation.Fragment(_schema.EntitlementFeature, 'FeatureFragment')
625
702
  _frag.__typename__()
@@ -1275,6 +1352,7 @@ class Fragment:
1275
1352
  subscription_fragment = fragment_subscription_fragment()
1276
1353
  subscription_future_update_data = fragment_subscription_future_update_data()
1277
1354
  subscription_invoice_fragment = fragment_subscription_invoice_fragment()
1355
+ subscription_invoice_preview_fragment = fragment_subscription_invoice_preview_fragment()
1278
1356
  subscription_preview_fragment = fragment_subscription_preview_fragment()
1279
1357
  subscription_preview_invoice_fragment = fragment_subscription_preview_invoice_fragment()
1280
1358
  subscription_preview_v2_fragment = fragment_subscription_preview_v2_fragment()
@@ -1388,6 +1466,13 @@ def mutation_preview_subscription():
1388
1466
  return _op
1389
1467
 
1390
1468
 
1469
+ def mutation_preview_next_invoice():
1470
+ _op = sgqlc.operation.Operation(_schema_root.mutation_type, name='PreviewNextInvoice', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.PreviewNextInvoiceInput))))
1471
+ _op_preview_next_invoice = _op.preview_next_invoice(input=sgqlc.types.Variable('input'))
1472
+ _op_preview_next_invoice.__fragment__(fragment_subscription_invoice_preview_fragment())
1473
+ return _op
1474
+
1475
+
1391
1476
  def mutation_cancel_subscription_updates():
1392
1477
  _op = sgqlc.operation.Operation(_schema_root.mutation_type, name='CancelSubscriptionUpdates', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.SubscriptionUpdateScheduleCancellationInput))))
1393
1478
  _op.cancel_schedule(input=sgqlc.types.Variable('input'))
@@ -1469,6 +1554,7 @@ class Mutation:
1469
1554
  import_customer_bulk = mutation_import_customer_bulk()
1470
1555
  import_subscriptions_bulk = mutation_import_subscriptions_bulk()
1471
1556
  migrate_subscription_to_latest = mutation_migrate_subscription_to_latest()
1557
+ preview_next_invoice = mutation_preview_next_invoice()
1472
1558
  preview_subscription = mutation_preview_subscription()
1473
1559
  provision_customer = mutation_provision_customer()
1474
1560
  provision_subscription = mutation_provision_subscription()
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', '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')
178
+ __choices__ = ('AccountNotFoundError', 'AddonDependencyMissingError', 'AddonHasToHavePriceError', 'AddonIsCompatibleWithGroup', 'AddonIsCompatibleWithPlan', 'AddonNotFound', 'AddonQuantityExceedsLimitError', 'AddonWithDraftCannotBeDeletedError', 'AddonsNotFound', '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', 'DraftAddonCantBeArchived', 'DraftPlanCantBeArchived', 'DuplicateAddonProvisionedError', 'DuplicateProductValidationError', 'DuplicatedEntityNotAllowed', 'EditAllowedOnDraftPackageOnlyError', 'EntitlementLimitExceededError', 'EntitlementUsageOutOfRangeError', 'EntitlementsMustBelongToSamePackage', 'EntityIdDifferentFromRefIdError', 'EntityIsArchivedError', 'EnvironmentMissing', 'ExperimentAlreadyRunning', 'ExperimentNotFoundError', 'ExperimentStatusError', 'FailedToCreateCheckoutSessionError', 'FailedToImportCustomer', 'FeatureNotFound', 'FetchAllCountriesPricesNotAllowed', 'FreePlanCantHaveCompatiblePackageGroupError', 'HubspotIntegrationError', 'IdentityForbidden', 'ImportAlreadyInProgress', 'ImportSubscriptionsBulkError', 'IncompatibleSubscriptionAddon', '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', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier', 'UsageMeasurementDiffOutOfRangeError')
179
179
 
180
180
 
181
181
  class EventActor(sgqlc.types.Enum):
@@ -561,6 +561,20 @@ class AddCompatibleAddonsToPlanInput(sgqlc.types.Input):
561
561
  relation_ids = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(String))), graphql_name='relationIds')
562
562
 
563
563
 
564
+ class AddonArchiveInput(sgqlc.types.Input):
565
+ __schema__ = schema
566
+ __field_names__ = ('environment_id', 'ref_id')
567
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
568
+ ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
569
+
570
+
571
+ class AddonAssociatedEntitiesInput(sgqlc.types.Input):
572
+ __schema__ = schema
573
+ __field_names__ = ('environment_id', 'ref_id')
574
+ environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
575
+ ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
576
+
577
+
564
578
  class AddonCreateInput(sgqlc.types.Input):
565
579
  __schema__ = schema
566
580
  __field_names__ = ('additional_meta_data', 'aws_marketplace_plan_dimension', 'billing_id', 'dependencies', 'description', 'display_name', 'environment_id', 'hidden_from_widgets', 'max_quantity', 'pricing_type', 'product_id', 'ref_id', 'status')
@@ -4401,6 +4415,29 @@ class AddonAggregateGroupBy(sgqlc.types.Type):
4401
4415
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
4402
4416
 
4403
4417
 
4418
+ class AddonAssociatedEntities(sgqlc.types.Type):
4419
+ __schema__ = schema
4420
+ __field_names__ = ('package_groups', 'plans')
4421
+ package_groups = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('AddonAssociatedPackageGroup'))), graphql_name='packageGroups')
4422
+ plans = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('AddonAssociatedPlan'))), graphql_name='plans')
4423
+
4424
+
4425
+ class AddonAssociatedPackageGroup(sgqlc.types.Type):
4426
+ __schema__ = schema
4427
+ __field_names__ = ('display_name', 'package_group_id')
4428
+ display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
4429
+ package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
4430
+
4431
+
4432
+ class AddonAssociatedPlan(sgqlc.types.Type):
4433
+ __schema__ = schema
4434
+ __field_names__ = ('display_name', 'ref_id', 'status', 'version_number')
4435
+ display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
4436
+ ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
4437
+ status = sgqlc.types.Field(sgqlc.types.non_null(PackageStatus), graphql_name='status')
4438
+ version_number = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='versionNumber')
4439
+
4440
+
4404
4441
  class AddonAvgAggregate(sgqlc.types.Type):
4405
4442
  __schema__ = schema
4406
4443
  __field_names__ = ('version_number',)
@@ -4442,33 +4479,40 @@ class AddonCountAggregate(sgqlc.types.Type):
4442
4479
 
4443
4480
  class AddonDeleteResponse(sgqlc.types.Type):
4444
4481
  __schema__ = schema
4445
- __field_names__ = ('additional_meta_data', 'billing_id', 'billing_link_url', 'created_at', 'dependencies', 'description', 'display_name', 'draft_details', 'draft_summary', 'entitlements', 'environment_id', 'hidden_from_widgets', 'id', 'is_latest', 'max_quantity', 'overage_billing_period', 'overage_prices', 'prices', 'pricing_type', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
4482
+ __field_names__ = ('additional_meta_data', 'billing_id', 'billing_link_url', 'created_at', 'dependencies', 'description', 'display_name', 'draft_details', 'draft_summary', 'entitlements', 'environment', 'environment_id', 'has_subscriptions', 'hidden_from_widgets', 'id', 'is_latest', 'max_quantity', 'overage_billing_period', 'overage_prices', 'prices', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
4446
4483
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
4447
4484
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4448
4485
  billing_link_url = sgqlc.types.Field(String, graphql_name='billingLinkUrl')
4449
4486
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
4450
4487
  dependencies = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Addon)), graphql_name='dependencies')
4451
4488
  description = sgqlc.types.Field(String, graphql_name='description')
4452
- display_name = sgqlc.types.Field(String, graphql_name='displayName')
4489
+ display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
4453
4490
  draft_details = sgqlc.types.Field('PackageDraftDetails', graphql_name='draftDetails')
4454
4491
  draft_summary = sgqlc.types.Field('PackageDraftSummary', graphql_name='draftSummary')
4455
4492
  entitlements = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageEntitlement')), graphql_name='entitlements')
4456
- environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
4493
+ environment = sgqlc.types.Field(sgqlc.types.non_null('Environment'), graphql_name='environment')
4494
+ environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
4495
+ has_subscriptions = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='hasSubscriptions')
4457
4496
  hidden_from_widgets = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(WidgetType)), graphql_name='hiddenFromWidgets')
4458
- id = sgqlc.types.Field(String, graphql_name='id')
4497
+ id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
4459
4498
  is_latest = sgqlc.types.Field(Boolean, graphql_name='isLatest')
4460
4499
  max_quantity = sgqlc.types.Field(Float, graphql_name='maxQuantity')
4461
4500
  overage_billing_period = sgqlc.types.Field(OverageBillingPeriod, graphql_name='overageBillingPeriod')
4462
4501
  overage_prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Price')), graphql_name='overagePrices')
4463
- prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Price')), graphql_name='prices')
4502
+ prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Price')), graphql_name='prices', args=sgqlc.types.ArgDict((
4503
+ ('filter', sgqlc.types.Arg(PriceFilter, graphql_name='filter', default={})),
4504
+ ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(PriceSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
4505
+ ))
4506
+ )
4464
4507
  pricing_type = sgqlc.types.Field(PricingType, graphql_name='pricingType')
4508
+ product = sgqlc.types.Field('Product', graphql_name='product')
4465
4509
  product_id = sgqlc.types.Field(String, graphql_name='productId')
4466
- ref_id = sgqlc.types.Field(String, graphql_name='refId')
4467
- status = sgqlc.types.Field(PackageStatus, graphql_name='status')
4510
+ ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
4511
+ status = sgqlc.types.Field(sgqlc.types.non_null(PackageStatus), graphql_name='status')
4468
4512
  sync_states = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SyncState')), graphql_name='syncStates')
4469
- type = sgqlc.types.Field(String, graphql_name='type')
4513
+ type = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='type')
4470
4514
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
4471
- version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
4515
+ version_number = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='versionNumber')
4472
4516
 
4473
4517
 
4474
4518
  class AddonDependencyChange(sgqlc.types.Type):
@@ -6201,6 +6245,15 @@ class ImportSubTaskError(sgqlc.types.Type):
6201
6245
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
6202
6246
 
6203
6247
 
6248
+ class IncompatibleSubscriptionAddonError(sgqlc.types.Type):
6249
+ __schema__ = schema
6250
+ __field_names__ = ('code', 'is_validation_error', 'non_compatible_addons', 'plan_display_name')
6251
+ code = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='code')
6252
+ is_validation_error = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isValidationError')
6253
+ non_compatible_addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='nonCompatibleAddons')
6254
+ plan_display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planDisplayName')
6255
+
6256
+
6204
6257
  class InitAddStripeCustomerPaymentMethod(sgqlc.types.Type):
6205
6258
  __schema__ = schema
6206
6259
  __field_names__ = ('payment_intent_client_secret',)
@@ -6501,13 +6554,17 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
6501
6554
 
6502
6555
  class Mutation(sgqlc.types.Type):
6503
6556
  __schema__ = schema
6504
- __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_usage', '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')
6557
+ __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_addon', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_one_coupon', 'archive_package_group', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', 'charge_subscription_usage', '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')
6505
6558
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
6506
6559
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
6507
6560
  ))
6508
6561
  )
6509
6562
  apply_subscription = sgqlc.types.Field(sgqlc.types.non_null(ApplySubscription), graphql_name='applySubscription', args=sgqlc.types.ArgDict((
6510
6563
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(ApplySubscriptionInput), graphql_name='input', default=None)),
6564
+ ))
6565
+ )
6566
+ archive_addon = sgqlc.types.Field(sgqlc.types.non_null(Addon), graphql_name='archiveAddon', args=sgqlc.types.ArgDict((
6567
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonArchiveInput), graphql_name='input', default=None)),
6511
6568
  ))
6512
6569
  )
6513
6570
  archive_customer = sgqlc.types.Field(sgqlc.types.non_null(Customer), graphql_name='archiveCustomer', args=sgqlc.types.ArgDict((
@@ -8158,7 +8215,11 @@ class PublishPackageResult(sgqlc.types.Type):
8158
8215
 
8159
8216
  class Query(sgqlc.types.Type):
8160
8217
  __schema__ = schema
8161
- __field_names__ = ('addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'current_environment', 'current_user', 'customer_portal', 'customer_resources', 'customer_subscriptions', 'customers', 'does_feature_exist', 'dump_environment_for_merge_comparison', 'dump_environment_product_catalog', 'entitlement', 'entitlements', 'environments', 'event_logs', 'events_fields', 'experiment', 'experiments', 'feature_associated_latest_packages', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_aws_external_id', 'get_customer_by_ref_id', 'get_experiment_stats', 'get_package_group', 'get_paywall', 'get_plan_by_ref_id', 'get_subscription', 'hook', 'hooks', 'import_integration_tasks', 'integrations', 'list_aws_product_dimensions', 'list_aws_products', 'members', 'mock_paywall', 'package_entitlements', 'package_group', 'package_groups', 'paywall', 'plans', 'products', 'promotional_entitlements', 'sdk_configuration', 'send_test_hook', 'stripe_customers', 'stripe_products', 'stripe_subscriptions', 'subscription_entitlements', 'subscription_migration_tasks', 'test_hook_data', 'usage_events', 'usage_history', 'usage_measurements', 'validate_merge_environment', 'widget_configuration')
8218
+ __field_names__ = ('addon_associated_entities', 'addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'current_environment', 'current_user', 'customer_portal', 'customer_resources', 'customer_subscriptions', 'customers', 'does_feature_exist', 'dump_environment_for_merge_comparison', 'dump_environment_product_catalog', 'entitlement', 'entitlements', 'environments', 'event_logs', 'events_fields', 'experiment', 'experiments', 'feature_associated_latest_packages', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_aws_external_id', 'get_customer_by_ref_id', 'get_experiment_stats', 'get_package_group', 'get_paywall', 'get_plan_by_ref_id', 'get_subscription', 'hook', 'hooks', 'import_integration_tasks', 'integrations', 'list_aws_product_dimensions', 'list_aws_products', 'members', 'mock_paywall', 'package_entitlements', 'package_group', 'package_groups', 'paywall', 'plans', 'products', 'promotional_entitlements', 'sdk_configuration', 'send_test_hook', 'stripe_customers', 'stripe_products', 'stripe_subscriptions', 'subscription_entitlements', 'subscription_migration_tasks', 'test_hook_data', 'usage_events', 'usage_history', 'usage_measurements', 'validate_merge_environment', 'widget_configuration')
8219
+ addon_associated_entities = sgqlc.types.Field(sgqlc.types.non_null(AddonAssociatedEntities), graphql_name='addonAssociatedEntities', args=sgqlc.types.ArgDict((
8220
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonAssociatedEntitiesInput), graphql_name='input', default=None)),
8221
+ ))
8222
+ )
8162
8223
  addons = sgqlc.types.Field(sgqlc.types.non_null(AddonConnection), graphql_name='addons', args=sgqlc.types.ArgDict((
8163
8224
  ('filter', sgqlc.types.Arg(AddonFilter, graphql_name='filter', default={})),
8164
8225
  ('paging', sgqlc.types.Arg(CursorPaging, graphql_name='paging', default={'first': 10})),
@@ -9205,15 +9266,6 @@ class UnPublishedPackageError(sgqlc.types.Type):
9205
9266
  package_type = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageType')
9206
9267
 
9207
9268
 
9208
- class UncompatibleSubscriptionAddonError(sgqlc.types.Type):
9209
- __schema__ = schema
9210
- __field_names__ = ('code', 'is_validation_error', 'non_compatible_addons', 'plan_display_name')
9211
- code = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='code')
9212
- is_validation_error = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isValidationError')
9213
- non_compatible_addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='nonCompatibleAddons')
9214
- plan_display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planDisplayName')
9215
-
9216
-
9217
9269
  class UnitAmountChangeVariables(sgqlc.types.Type):
9218
9270
  __schema__ = schema
9219
9271
  __field_names__ = ('feature_id', 'new_unit_amount')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.43.0
3
+ Version: 2.62.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=CQZXTY7sgXHTnQGv5wPdSGw4TKcxsRLW_vbsY5GlzdE,74268
5
+ stigg/generated/schema.py,sha256=xJbp_J3PZx9ZU4JGl88PK5DwlZl1PtAGOZqKeucgor8,609225
6
+ stigg_api_client-2.62.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-2.62.0.dist-info/METADATA,sha256=no7EpEY1DjQoZRZYTKBouwspMIIs1IhTc3Y9SsJVTco,3197
8
+ stigg_api_client-2.62.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-2.62.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=s5a3iAo4xzr1Xa-gM0Vfc0dXc9CV-4h8-wX4kxFppFY,70780
5
- stigg/generated/schema.py,sha256=ljS-2SgVAGN3EYWl3Wddr7O9FUjC5rhkUI6JixaWotE,605890
6
- stigg_api_client-2.43.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-2.43.0.dist-info/METADATA,sha256=pRUctB9oQZ9Y5vwjLJJmB53HMawLEJdRlFToT0UcGNU,3197
8
- stigg_api_client-2.43.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-2.43.0.dist-info/RECORD,,