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

@@ -950,6 +950,20 @@ def fragment_customer_portal_fragment():
950
950
  return _frag
951
951
 
952
952
 
953
+ def fragment_stripe_checkout_credentials_fragment():
954
+ _frag = sgqlc.operation.Fragment(_schema.StripeCheckoutCredentials, 'StripeCheckoutCredentialsFragment')
955
+ _frag.account_id()
956
+ _frag.setup_secret()
957
+ _frag.public_key()
958
+ return _frag
959
+
960
+
961
+ def fragment_zuora_checkout_credentials_fragment():
962
+ _frag = sgqlc.operation.Fragment(_schema.ZuoraCheckoutCredentials, 'ZuoraCheckoutCredentialsFragment')
963
+ _frag.publishable_key()
964
+ return _frag
965
+
966
+
953
967
  def fragment_checkout_state_fragment():
954
968
  _frag = sgqlc.operation.Fragment(_schema.CheckoutState, 'CheckoutStateFragment')
955
969
  _frag_configuration = _frag.configuration()
@@ -965,6 +979,11 @@ def fragment_checkout_state_fragment():
965
979
  _frag_plan.__fragment__(fragment_plan_fragment())
966
980
  _frag_billing_integration = _frag.billing_integration()
967
981
  _frag_billing_integration.billing_identifier()
982
+ _frag_billing_integration_billing_credentials = _frag_billing_integration.billing_credentials()
983
+ _frag_billing_integration_billing_credentials__as__StripeCheckoutCredentials = _frag_billing_integration_billing_credentials.__as__(_schema.StripeCheckoutCredentials)
984
+ _frag_billing_integration_billing_credentials__as__StripeCheckoutCredentials.__fragment__(fragment_stripe_checkout_credentials_fragment())
985
+ _frag_billing_integration_billing_credentials__as__ZuoraCheckoutCredentials = _frag_billing_integration_billing_credentials.__as__(_schema.ZuoraCheckoutCredentials)
986
+ _frag_billing_integration_billing_credentials__as__ZuoraCheckoutCredentials.__fragment__(fragment_zuora_checkout_credentials_fragment())
968
987
  _frag_billing_integration_credentials = _frag_billing_integration.credentials()
969
988
  _frag_billing_integration_credentials.account_id()
970
989
  _frag_billing_integration_credentials.public_key()
@@ -1469,6 +1488,12 @@ def fragment_credits_balance_summary_fragment():
1469
1488
  return _frag
1470
1489
 
1471
1490
 
1491
+ def fragment_payment_session_fragment():
1492
+ _frag = sgqlc.operation.Fragment(_schema.PaymentSession, 'PaymentSessionFragment')
1493
+ _frag.token()
1494
+ return _frag
1495
+
1496
+
1472
1497
  class Fragment:
1473
1498
  addon_dependency_fragment = fragment_addon_dependency_fragment()
1474
1499
  addon_fragment = fragment_addon_fragment()
@@ -1508,6 +1533,7 @@ class Fragment:
1508
1533
  package_entitlement_fragment = fragment_package_entitlement_fragment()
1509
1534
  package_published_payload = fragment_package_published_payload()
1510
1535
  page_info_fragment = fragment_page_info_fragment()
1536
+ payment_session_fragment = fragment_payment_session_fragment()
1511
1537
  paywall_calculated_price_points_fragment = fragment_paywall_calculated_price_points_fragment()
1512
1538
  paywall_configuration_fragment = fragment_paywall_configuration_fragment()
1513
1539
  paywall_currency_fragment = fragment_paywall_currency_fragment()
@@ -1526,6 +1552,7 @@ class Fragment:
1526
1552
  slim_customer_fragment = fragment_slim_customer_fragment()
1527
1553
  slim_subscription_fragment = fragment_slim_subscription_fragment()
1528
1554
  slim_subscription_fragment_v2 = fragment_slim_subscription_fragment_v2()
1555
+ stripe_checkout_credentials_fragment = fragment_stripe_checkout_credentials_fragment()
1529
1556
  subscription_fragment = fragment_subscription_fragment()
1530
1557
  subscription_future_update_data = fragment_subscription_future_update_data()
1531
1558
  subscription_invoice_fragment = fragment_subscription_invoice_fragment()
@@ -1541,6 +1568,7 @@ class Fragment:
1541
1568
  usage_history_fragment = fragment_usage_history_fragment()
1542
1569
  usage_history_v2_fragment = fragment_usage_history_v2_fragment()
1543
1570
  usage_updated_fragment = fragment_usage_updated_fragment()
1571
+ zuora_checkout_credentials_fragment = fragment_zuora_checkout_credentials_fragment()
1544
1572
 
1545
1573
 
1546
1574
  def mutation_provision_customer():
@@ -1762,11 +1790,19 @@ def mutation_unlink_promotional_entitlements_group():
1762
1790
  return _op
1763
1791
 
1764
1792
 
1793
+ def mutation_create_payment_session():
1794
+ _op = sgqlc.operation.Operation(_schema_root.mutation_type, name='CreatePaymentSession', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.PaymentSessionInput))))
1795
+ _op_create_payment_session = _op.create_payment_session(input=sgqlc.types.Variable('input'))
1796
+ _op_create_payment_session.__fragment__(fragment_payment_session_fragment())
1797
+ return _op
1798
+
1799
+
1765
1800
  class Mutation:
1766
1801
  apply_subscription = mutation_apply_subscription()
1767
1802
  archive_customer = mutation_archive_customer()
1768
1803
  cancel_subscription = mutation_cancel_subscription()
1769
1804
  cancel_subscription_updates = mutation_cancel_subscription_updates()
1805
+ create_payment_session = mutation_create_payment_session()
1770
1806
  create_subscription = mutation_create_subscription()
1771
1807
  delegate_subscription_to_customer = mutation_delegate_subscription_to_customer()
1772
1808
  detach_customer_payment_method = mutation_detach_customer_payment_method()
stigg/generated/schema.py CHANGED
@@ -210,7 +210,7 @@ class EnvironmentType(sgqlc.types.Enum):
210
210
 
211
211
  class ErrorCode(sgqlc.types.Enum):
212
212
  __schema__ = schema
213
- __choices__ = ('AccessDeniedError', 'AccountNotFoundError', 'AddonDependencyMissingError', 'AddonHasToHavePriceError', 'AddonIsCompatibleWithGroup', 'AddonIsCompatibleWithPlan', 'AddonNotFound', 'AddonQuantityExceedsLimitError', 'AddonWithDraftCannotBeDeletedError', 'AddonsNotFound', 'AmountTooLarge', 'ArchivedCouponCantBeApplied', 'AuthCustomerMismatch', 'AuthCustomerReadonly', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingIntegrationAlreadyExistsError', 'BillingIntegrationMissing', 'BillingPeriodMissingError', 'CanNotUpdateEntitlementsFeatureGroup', 'CannotAddOverrideEntitlementToPlan', 'CannotArchiveFeatureError', 'CannotArchiveFeatureGroupError', 'CannotChangeBillingIntegration', 'CannotDeleteCustomerError', 'CannotDeleteDefaultIntegration', 'CannotDeleteFeatureError', 'CannotDeleteProductError', 'CannotEditPackageInNonDraftMode', 'CannotRemovePaymentMethodFromCustomerError', 'CannotReportUsageForEntitlementWithMeterError', 'CannotUpdateExpireAtForExpiredCreditGrantError', 'CannotUpdateUnitTransformationError', 'CannotUpsertToPackageThatHasDraft', 'ChangingPayingCustomerIsNotSupportedError', 'CheckoutIsNotSupported', 'CouponNotFound', 'CreditGrantNotFound', 'CustomCurrencyNotFound', 'CustomerAlreadyHaveCustomerCoupon', 'CustomerAlreadyUsesCoupon', 'CustomerHasNoEmailAddress', 'CustomerNoBillingId', 'CustomerNotFound', 'CustomerResourceNotFound', 'DeprecatedEstimateSubscriptionError', 'DowngradeBillingPeriodNotSupportedError', 'DraftAddonCantBeArchived', 'DraftPlanCantBeArchived', 'DuplicateAddonProvisionedError', 'DuplicateIntegrationNotAllowed', 'DuplicateProductValidationError', 'DuplicatedEntityNotAllowed', 'EditAllowedOnDraftPackageOnlyError', 'EntitlementBelongsToFeatureGroupError', 'EntitlementLimitExceededError', 'EntitlementUsageOutOfRangeError', 'EntitlementsMustBelongToSamePackage', 'EntityIdDifferentFromRefIdError', 'EntityIsArchivedError', 'EnvironmentMissing', 'ExperimentAlreadyRunning', 'ExperimentNotFoundError', 'ExperimentStatusError', 'ExpireAtMustBeLaterThanEffectiveAtError', 'FailedToCreateCheckoutSessionError', 'FailedToImportCustomer', 'FailedToImportSubscriptions', 'FailedToResolveBillingIntegration', 'FeatureConfigurationExceededLimitError', 'FeatureGroupMissingFeaturesError', 'FeatureGroupNotFoundError', 'FeatureNotBelongToFeatureGroupError', 'FeatureNotFound', 'FetchAllCountriesPricesNotAllowed', 'FreePlanCantHaveCompatiblePackageGroupError', 'GraphQLAliasesLimitExceeded', 'GraphQLBatchedOperationsLimitExceeded', 'GraphQLUnsupportedDirective', 'HubspotIntegrationError', 'IdentityForbidden', 'ImportAlreadyInProgress', 'ImportSubscriptionsBulkError', 'IncompatibleSubscriptionAddon', 'InitStripePaymentMethodError', 'IntegrationNotFound', 'IntegrationValidationError', 'IntegrityViolation', 'InvalidAddressError', 'InvalidArgumentError', 'InvalidCancellationDate', 'InvalidDoggoSignatureError', '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', 'RequiredSsoAuthenticationError', 'ResyncAlreadyInProgress', 'ScheduledMigrationAlreadyExistsError', 'SelectedBillingModelDoesntMatchImportedItemError', 'SingleSubscriptionCantBeAutoCancellationTargetError', 'StripeCustomerIsDeleted', 'StripeError', 'SubscriptionAlreadyCanceledOrExpired', 'SubscriptionAlreadyOnLatestPlanError', 'SubscriptionDoesNotHaveBillingPeriod', 'SubscriptionInvoiceStatusError', 'SubscriptionMustHaveSinglePlanError', 'SubscriptionNoBillingId', 'SubscriptionNotFound', 'TooManyCustomCurrencies', 'TooManySubscriptionsPerCustomer', 'TrialMustBeCancelledImmediately', 'UnPublishedPackage', 'Unauthenticated', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedParameter', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier', 'UsageMeasurementDiffOutOfRangeError', 'VersionExceedsMaxValueError', 'WorkflowTriggerNotFound')
213
+ __choices__ = ('AccessDeniedError', 'AccountNotFoundError', 'AddonDependencyMissingError', 'AddonHasToHavePriceError', 'AddonIsCompatibleWithGroup', 'AddonIsCompatibleWithPlan', 'AddonNotFound', 'AddonQuantityExceedsLimitError', 'AddonWithDraftCannotBeDeletedError', 'AddonsNotFound', 'AmountTooLarge', 'ArchivedCouponCantBeApplied', 'AuthCustomerMismatch', 'AuthCustomerReadonly', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingIntegrationAlreadyExistsError', 'BillingIntegrationMissing', 'BillingPeriodMissingError', 'CanNotUpdateEntitlementsFeatureGroup', 'CannotAddOverrideEntitlementToPlan', 'CannotArchiveFeatureError', 'CannotArchiveFeatureGroupError', 'CannotChangeBillingIntegration', 'CannotDeleteCustomerError', 'CannotDeleteDefaultIntegration', 'CannotDeleteFeatureError', 'CannotDeleteProductError', 'CannotEditPackageInNonDraftMode', 'CannotRemovePaymentMethodFromCustomerError', 'CannotReportUsageForEntitlementWithMeterError', 'CannotUpdateExpireAtForExpiredCreditGrantError', 'CannotUpdateUnitTransformationError', 'CannotUpsertToPackageThatHasDraft', 'ChangingPayingCustomerIsNotSupportedError', 'CheckoutIsNotSupported', 'CouponNotFound', 'CreditGrantNotFound', 'CustomCurrencyNotFound', 'CustomerAlreadyHaveCustomerCoupon', 'CustomerAlreadyUsesCoupon', 'CustomerHasNoEmailAddress', 'CustomerNoBillingId', 'CustomerNotFound', 'CustomerResourceNotFound', 'DeprecatedEstimateSubscriptionError', 'DowngradeBillingPeriodNotSupportedError', 'DraftAddonCantBeArchived', 'DraftAlreadyExists', 'DraftPlanCantBeArchived', 'DuplicateAddonProvisionedError', 'DuplicateIntegrationNotAllowed', 'DuplicateProductValidationError', 'DuplicatedEntityNotAllowed', 'EditAllowedOnDraftPackageOnlyError', 'EntitlementBelongsToFeatureGroupError', 'EntitlementLimitExceededError', 'EntitlementUsageOutOfRangeError', 'EntitlementsMustBelongToSamePackage', 'EntityIdDifferentFromRefIdError', 'EntityIsArchivedError', 'EnvironmentMissing', 'ExperimentAlreadyRunning', 'ExperimentNotFoundError', 'ExperimentStatusError', 'ExpireAtMustBeLaterThanEffectiveAtError', 'FailedToCreateCheckoutSessionError', 'FailedToImportCustomer', 'FailedToImportSubscriptions', 'FailedToResolveBillingIntegration', 'FeatureConfigurationExceededLimitError', 'FeatureGroupMissingFeaturesError', 'FeatureGroupNotFoundError', 'FeatureNotBelongToFeatureGroupError', 'FeatureNotFound', 'FetchAllCountriesPricesNotAllowed', 'FreePlanCantHaveCompatiblePackageGroupError', 'GraphQLAliasesLimitExceeded', 'GraphQLBatchedOperationsLimitExceeded', 'GraphQLUnsupportedDirective', 'HubspotIntegrationError', 'IdentityForbidden', 'ImportAlreadyInProgress', 'ImportSubscriptionsBulkError', 'IncompatibleSubscriptionAddon', 'InitStripePaymentMethodError', 'IntegrationNotFound', 'IntegrationValidationError', 'IntegrityViolation', 'InvalidAddressError', 'InvalidArgumentError', 'InvalidCancellationDate', 'InvalidDoggoSignatureError', 'InvalidEntitlementResetPeriod', 'InvalidMemberDelete', 'InvalidMetadataError', 'InvalidQuantity', 'InvalidSubscriptionStatus', 'InvalidUpdatePriceUnitAmountError', 'MemberInvitationError', 'MemberNotFound', 'MergeEnvironmentValidationError', 'MeterMustBeAssociatedToMeteredFeature', 'MeteringNotAvailableForFeatureType', 'MissingEntityIdError', 'MissingSubscriptionInvoiceError', 'MultiSubscriptionCantBeAutoCancellationSourceError', 'NoDraftOfferFound', 'NoFeatureEntitlementError', 'NoFeatureEntitlementInSubscription', 'NoProductsAvailable', 'OfferAlreadyExists', 'OfferNotFound', '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', 'RequiredSsoAuthenticationError', 'ResyncAlreadyInProgress', 'ScheduledMigrationAlreadyExistsError', 'SelectedBillingModelDoesntMatchImportedItemError', 'SingleSubscriptionCantBeAutoCancellationTargetError', 'StripeCustomerIsDeleted', 'StripeError', 'SubscriptionAlreadyCanceledOrExpired', 'SubscriptionAlreadyOnLatestPlanError', 'SubscriptionDoesNotHaveBillingPeriod', 'SubscriptionInvoiceStatusError', 'SubscriptionMustHaveSinglePlanError', 'SubscriptionNoBillingId', 'SubscriptionNotFound', 'TooManyCustomCurrencies', 'TooManySubscriptionsPerCustomer', 'TrialMustBeCancelledImmediately', 'UnPublishedPackage', 'Unauthenticated', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedParameter', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier', 'UsageMeasurementDiffOutOfRangeError', 'VersionExceedsMaxValueError', 'WorkflowTriggerNotFound')
214
214
 
215
215
 
216
216
  class EventActor(sgqlc.types.Enum):
@@ -328,6 +328,16 @@ class MonthlyAccordingTo(sgqlc.types.Enum):
328
328
  __choices__ = ('StartOfTheMonth', 'SubscriptionStart')
329
329
 
330
330
 
331
+ class OfferSortFields(sgqlc.types.Enum):
332
+ __schema__ = schema
333
+ __choices__ = ('createdAt', 'environmentId', 'id', 'isDefault', 'isLatest', 'offerId', 'status', 'version')
334
+
335
+
336
+ class OfferStatus(sgqlc.types.Enum):
337
+ __schema__ = schema
338
+ __choices__ = ('ARCHIVED', 'DRAFT', 'PUBLISHED')
339
+
340
+
331
341
  class OverageBillingPeriod(sgqlc.types.Enum):
332
342
  __schema__ = schema
333
343
  __choices__ = ('MONTHLY', 'ON_SUBSCRIPTION_RENEWAL')
@@ -679,7 +689,7 @@ class AddonCreateInput(sgqlc.types.Input):
679
689
 
680
690
  class AddonFilter(sgqlc.types.Input):
681
691
  __schema__ = schema
682
- __field_names__ = ('and_', 'billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'or_', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
692
+ __field_names__ = ('and_', 'billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'offer', 'or_', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
683
693
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('AddonFilter')), graphql_name='and')
684
694
  billing_id = sgqlc.types.Field('StringFieldComparison', graphql_name='billingId')
685
695
  created_at = sgqlc.types.Field('DateFieldComparison', graphql_name='createdAt')
@@ -688,6 +698,7 @@ class AddonFilter(sgqlc.types.Input):
688
698
  environment_id = sgqlc.types.Field('UUIDFilterComparison', graphql_name='environmentId')
689
699
  id = sgqlc.types.Field('UUIDFilterComparison', graphql_name='id')
690
700
  is_latest = sgqlc.types.Field('BooleanFieldComparison', graphql_name='isLatest')
701
+ offer = sgqlc.types.Field('AddonFilterOfferFilter', graphql_name='offer')
691
702
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('AddonFilter')), graphql_name='or')
692
703
  pricing_type = sgqlc.types.Field('PricingTypeFilterComparison', graphql_name='pricingType')
693
704
  product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='productId')
@@ -697,6 +708,21 @@ class AddonFilter(sgqlc.types.Input):
697
708
  version_number = sgqlc.types.Field('IntFieldComparison', graphql_name='versionNumber')
698
709
 
699
710
 
711
+ class AddonFilterOfferFilter(sgqlc.types.Input):
712
+ __schema__ = schema
713
+ __field_names__ = ('and_', 'created_at', 'environment_id', 'id', 'is_default', 'is_latest', 'offer_id', 'or_', 'status', 'version')
714
+ and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('AddonFilterOfferFilter')), graphql_name='and')
715
+ created_at = sgqlc.types.Field('DateFieldComparison', graphql_name='createdAt')
716
+ environment_id = sgqlc.types.Field('UUIDFilterComparison', graphql_name='environmentId')
717
+ id = sgqlc.types.Field('UUIDFilterComparison', graphql_name='id')
718
+ is_default = sgqlc.types.Field('BooleanFieldComparison', graphql_name='isDefault')
719
+ is_latest = sgqlc.types.Field('BooleanFieldComparison', graphql_name='isLatest')
720
+ offer_id = sgqlc.types.Field('StringFieldComparison', graphql_name='offerId')
721
+ or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('AddonFilterOfferFilter')), graphql_name='or')
722
+ status = sgqlc.types.Field('OfferStatusFilterComparison', graphql_name='status')
723
+ version = sgqlc.types.Field('IntFieldComparison', graphql_name='version')
724
+
725
+
700
726
  class AddonSort(sgqlc.types.Input):
701
727
  __schema__ = schema
702
728
  __field_names__ = ('direction', 'field', 'nulls')
@@ -1252,6 +1278,23 @@ class CreateMeter(sgqlc.types.Input):
1252
1278
  filters = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('MeterFilterDefinitionInput'))), graphql_name='filters')
1253
1279
 
1254
1280
 
1281
+ class CreateOfferDraftInput(sgqlc.types.Input):
1282
+ __schema__ = schema
1283
+ __field_names__ = ('environment_id', 'offer_id')
1284
+ environment_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='environmentId')
1285
+ offer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='offerId')
1286
+
1287
+
1288
+ class CreateOfferInput(sgqlc.types.Input):
1289
+ __schema__ = schema
1290
+ __field_names__ = ('additional_meta_data', 'description', 'environment_id', 'name', 'offer_id')
1291
+ additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
1292
+ description = sgqlc.types.Field(String, graphql_name='description')
1293
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
1294
+ name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
1295
+ offer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='offerId')
1296
+
1297
+
1255
1298
  class CreateOneEnvironmentInput(sgqlc.types.Input):
1256
1299
  __schema__ = schema
1257
1300
  __field_names__ = ('environment', 'options')
@@ -2352,6 +2395,14 @@ class GetCustomerByRefIdInput(sgqlc.types.Input):
2352
2395
  environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
2353
2396
 
2354
2397
 
2398
+ class GetOfferInput(sgqlc.types.Input):
2399
+ __schema__ = schema
2400
+ __field_names__ = ('environment_id', 'offer_id', 'version')
2401
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
2402
+ offer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='offerId')
2403
+ version = sgqlc.types.Field(Float, graphql_name='version')
2404
+
2405
+
2355
2406
  class GetPackageByRefIdInput(sgqlc.types.Input):
2356
2407
  __schema__ = schema
2357
2408
  __field_names__ = ('environment_id', 'ref_id', 'version_number')
@@ -2809,6 +2860,48 @@ class NumberFieldComparisonBetween(sgqlc.types.Input):
2809
2860
  upper = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='upper')
2810
2861
 
2811
2862
 
2863
+ class OfferFilter(sgqlc.types.Input):
2864
+ __schema__ = schema
2865
+ __field_names__ = ('and_', 'created_at', 'environment_id', 'id', 'is_default', 'is_latest', 'offer_id', 'or_', 'status', 'version')
2866
+ and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('OfferFilter')), graphql_name='and')
2867
+ created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
2868
+ environment_id = sgqlc.types.Field('UUIDFilterComparison', graphql_name='environmentId')
2869
+ id = sgqlc.types.Field('UUIDFilterComparison', graphql_name='id')
2870
+ is_default = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isDefault')
2871
+ is_latest = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isLatest')
2872
+ offer_id = sgqlc.types.Field('StringFieldComparison', graphql_name='offerId')
2873
+ or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('OfferFilter')), graphql_name='or')
2874
+ status = sgqlc.types.Field('OfferStatusFilterComparison', graphql_name='status')
2875
+ version = sgqlc.types.Field(IntFieldComparison, graphql_name='version')
2876
+
2877
+
2878
+ class OfferSort(sgqlc.types.Input):
2879
+ __schema__ = schema
2880
+ __field_names__ = ('direction', 'field', 'nulls')
2881
+ direction = sgqlc.types.Field(sgqlc.types.non_null(SortDirection), graphql_name='direction')
2882
+ field = sgqlc.types.Field(sgqlc.types.non_null(OfferSortFields), graphql_name='field')
2883
+ nulls = sgqlc.types.Field(SortNulls, graphql_name='nulls')
2884
+
2885
+
2886
+ class OfferStatusFilterComparison(sgqlc.types.Input):
2887
+ __schema__ = schema
2888
+ __field_names__ = ('eq', 'gt', 'gte', 'i_like', 'in_', 'is_', 'is_not', 'like', 'lt', 'lte', 'neq', 'not_ilike', 'not_in', 'not_like')
2889
+ eq = sgqlc.types.Field(OfferStatus, graphql_name='eq')
2890
+ gt = sgqlc.types.Field(OfferStatus, graphql_name='gt')
2891
+ gte = sgqlc.types.Field(OfferStatus, graphql_name='gte')
2892
+ i_like = sgqlc.types.Field(OfferStatus, graphql_name='iLike')
2893
+ in_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(OfferStatus)), graphql_name='in')
2894
+ is_ = sgqlc.types.Field(Boolean, graphql_name='is')
2895
+ is_not = sgqlc.types.Field(Boolean, graphql_name='isNot')
2896
+ like = sgqlc.types.Field(OfferStatus, graphql_name='like')
2897
+ lt = sgqlc.types.Field(OfferStatus, graphql_name='lt')
2898
+ lte = sgqlc.types.Field(OfferStatus, graphql_name='lte')
2899
+ neq = sgqlc.types.Field(OfferStatus, graphql_name='neq')
2900
+ not_ilike = sgqlc.types.Field(OfferStatus, graphql_name='notILike')
2901
+ not_in = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(OfferStatus)), graphql_name='notIn')
2902
+ not_like = sgqlc.types.Field(OfferStatus, graphql_name='notLike')
2903
+
2904
+
2812
2905
  class OpenFGACredentialsInput(sgqlc.types.Input):
2813
2906
  __schema__ = schema
2814
2907
  __field_names__ = ('api_audience', 'api_token_issuer', 'api_url', 'client_id', 'client_secret', 'store_id')
@@ -2854,7 +2947,7 @@ class OveragePricingModelCreateInput(sgqlc.types.Input):
2854
2947
 
2855
2948
  class PackageDTOFilter(sgqlc.types.Input):
2856
2949
  __schema__ = schema
2857
- __field_names__ = ('and_', 'billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'or_', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
2950
+ __field_names__ = ('and_', 'billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'offer', 'or_', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
2858
2951
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageDTOFilter')), graphql_name='and')
2859
2952
  billing_id = sgqlc.types.Field('StringFieldComparison', graphql_name='billingId')
2860
2953
  created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
@@ -2863,6 +2956,7 @@ class PackageDTOFilter(sgqlc.types.Input):
2863
2956
  environment_id = sgqlc.types.Field('UUIDFilterComparison', graphql_name='environmentId')
2864
2957
  id = sgqlc.types.Field('UUIDFilterComparison', graphql_name='id')
2865
2958
  is_latest = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isLatest')
2959
+ offer = sgqlc.types.Field('PackageDTOFilterOfferFilter', graphql_name='offer')
2866
2960
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageDTOFilter')), graphql_name='or')
2867
2961
  pricing_type = sgqlc.types.Field('PricingTypeFilterComparison', graphql_name='pricingType')
2868
2962
  product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='productId')
@@ -2872,6 +2966,21 @@ class PackageDTOFilter(sgqlc.types.Input):
2872
2966
  version_number = sgqlc.types.Field(IntFieldComparison, graphql_name='versionNumber')
2873
2967
 
2874
2968
 
2969
+ class PackageDTOFilterOfferFilter(sgqlc.types.Input):
2970
+ __schema__ = schema
2971
+ __field_names__ = ('and_', 'created_at', 'environment_id', 'id', 'is_default', 'is_latest', 'offer_id', 'or_', 'status', 'version')
2972
+ and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageDTOFilterOfferFilter')), graphql_name='and')
2973
+ created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
2974
+ environment_id = sgqlc.types.Field('UUIDFilterComparison', graphql_name='environmentId')
2975
+ id = sgqlc.types.Field('UUIDFilterComparison', graphql_name='id')
2976
+ is_default = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isDefault')
2977
+ is_latest = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isLatest')
2978
+ offer_id = sgqlc.types.Field('StringFieldComparison', graphql_name='offerId')
2979
+ or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageDTOFilterOfferFilter')), graphql_name='or')
2980
+ status = sgqlc.types.Field(OfferStatusFilterComparison, graphql_name='status')
2981
+ version = sgqlc.types.Field(IntFieldComparison, graphql_name='version')
2982
+
2983
+
2875
2984
  class PackageDTOSort(sgqlc.types.Input):
2876
2985
  __schema__ = schema
2877
2986
  __field_names__ = ('direction', 'field', 'nulls')
@@ -3158,7 +3267,7 @@ class PlanCreateInput(sgqlc.types.Input):
3158
3267
 
3159
3268
  class PlanFilter(sgqlc.types.Input):
3160
3269
  __schema__ = schema
3161
- __field_names__ = ('and_', 'billing_id', 'compatible_addons', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'or_', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
3270
+ __field_names__ = ('and_', 'billing_id', 'compatible_addons', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'offer', 'or_', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
3162
3271
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilter')), graphql_name='and')
3163
3272
  billing_id = sgqlc.types.Field('StringFieldComparison', graphql_name='billingId')
3164
3273
  compatible_addons = sgqlc.types.Field('PlanFilterAddonFilter', graphql_name='compatibleAddons')
@@ -3168,6 +3277,7 @@ class PlanFilter(sgqlc.types.Input):
3168
3277
  environment_id = sgqlc.types.Field('UUIDFilterComparison', graphql_name='environmentId')
3169
3278
  id = sgqlc.types.Field('UUIDFilterComparison', graphql_name='id')
3170
3279
  is_latest = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isLatest')
3280
+ offer = sgqlc.types.Field('PlanFilterOfferFilter', graphql_name='offer')
3171
3281
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilter')), graphql_name='or')
3172
3282
  pricing_type = sgqlc.types.Field('PricingTypeFilterComparison', graphql_name='pricingType')
3173
3283
  product = sgqlc.types.Field('PlanFilterProductFilter', graphql_name='product')
@@ -3198,6 +3308,21 @@ class PlanFilterAddonFilter(sgqlc.types.Input):
3198
3308
  version_number = sgqlc.types.Field(IntFieldComparison, graphql_name='versionNumber')
3199
3309
 
3200
3310
 
3311
+ class PlanFilterOfferFilter(sgqlc.types.Input):
3312
+ __schema__ = schema
3313
+ __field_names__ = ('and_', 'created_at', 'environment_id', 'id', 'is_default', 'is_latest', 'offer_id', 'or_', 'status', 'version')
3314
+ and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilterOfferFilter')), graphql_name='and')
3315
+ created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
3316
+ environment_id = sgqlc.types.Field('UUIDFilterComparison', graphql_name='environmentId')
3317
+ id = sgqlc.types.Field('UUIDFilterComparison', graphql_name='id')
3318
+ is_default = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isDefault')
3319
+ is_latest = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isLatest')
3320
+ offer_id = sgqlc.types.Field('StringFieldComparison', graphql_name='offerId')
3321
+ or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilterOfferFilter')), graphql_name='or')
3322
+ status = sgqlc.types.Field(OfferStatusFilterComparison, graphql_name='status')
3323
+ version = sgqlc.types.Field(IntFieldComparison, graphql_name='version')
3324
+
3325
+
3201
3326
  class PlanFilterProductFilter(sgqlc.types.Input):
3202
3327
  __schema__ = schema
3203
3328
  __field_names__ = ('and_', 'aws_marketplace_product_code', 'aws_marketplace_product_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_default_product', 'multiple_subscriptions', 'or_', 'ref_id', 'updated_at')
@@ -3646,6 +3771,13 @@ class ProvisionSubscriptionInput(sgqlc.types.Input):
3646
3771
  unit_quantity = sgqlc.types.Field(Float, graphql_name='unitQuantity')
3647
3772
 
3648
3773
 
3774
+ class PublishOfferInput(sgqlc.types.Input):
3775
+ __schema__ = schema
3776
+ __field_names__ = ('environment_id', 'offer_id')
3777
+ environment_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='environmentId')
3778
+ offer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='offerId')
3779
+
3780
+
3649
3781
  class RecalculateEntitlementsInput(sgqlc.types.Input):
3650
3782
  __schema__ = schema
3651
3783
  __field_names__ = ('customer_ids', 'environment_id', 'for_all_customers', 'side_effects_options')
@@ -3707,6 +3839,13 @@ class RemoveFeatureGroupFromPackageInput(sgqlc.types.Input):
3707
3839
  package_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='packageId')
3708
3840
 
3709
3841
 
3842
+ class RemoveOfferDraftInput(sgqlc.types.Input):
3843
+ __schema__ = schema
3844
+ __field_names__ = ('environment_id', 'offer_id')
3845
+ environment_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='environmentId')
3846
+ offer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='offerId')
3847
+
3848
+
3710
3849
  class ReportUsageBaseInput(sgqlc.types.Input):
3711
3850
  __schema__ = schema
3712
3851
  __field_names__ = ('created_at', 'customer_id', 'dimensions', 'feature_id', 'resource_id', 'update_behavior', 'value')
@@ -3800,6 +3939,13 @@ class SetCouponOnCustomerInput(sgqlc.types.Input):
3800
3939
  relation_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='relationId')
3801
3940
 
3802
3941
 
3942
+ class SetDefaultOfferInput(sgqlc.types.Input):
3943
+ __schema__ = schema
3944
+ __field_names__ = ('environment_id', 'offer_id')
3945
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
3946
+ offer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='offerId')
3947
+
3948
+
3803
3949
  class SetExperimentOnCustomerInput(sgqlc.types.Input):
3804
3950
  __schema__ = schema
3805
3951
  __field_names__ = ('id', 'relation_id')
@@ -4708,6 +4854,16 @@ class UpdateIntegrationInput(sgqlc.types.Input):
4708
4854
  zuora_credentials = sgqlc.types.Field('ZuoraCredentialsInput', graphql_name='zuoraCredentials')
4709
4855
 
4710
4856
 
4857
+ class UpdateOfferInput(sgqlc.types.Input):
4858
+ __schema__ = schema
4859
+ __field_names__ = ('additional_meta_data', 'description', 'environment_id', 'name', 'offer_id')
4860
+ additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
4861
+ description = sgqlc.types.Field(String, graphql_name='description')
4862
+ environment_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='environmentId')
4863
+ name = sgqlc.types.Field(String, graphql_name='name')
4864
+ offer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='offerId')
4865
+
4866
+
4711
4867
  class UpdateOneEnvironmentInput(sgqlc.types.Input):
4712
4868
  __schema__ = schema
4713
4869
  __field_names__ = ('id', 'update')
@@ -5061,7 +5217,7 @@ class AdditionalMetaDataChange(sgqlc.types.Type):
5061
5217
 
5062
5218
  class Addon(sgqlc.types.Type):
5063
5219
  __schema__ = schema
5064
- __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')
5220
+ __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', 'offer', 'overage_billing_period', 'overage_prices', 'prices', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
5065
5221
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
5066
5222
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
5067
5223
  billing_link_url = sgqlc.types.Field(String, graphql_name='billingLinkUrl')
@@ -5079,6 +5235,7 @@ class Addon(sgqlc.types.Type):
5079
5235
  id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='id')
5080
5236
  is_latest = sgqlc.types.Field(Boolean, graphql_name='isLatest')
5081
5237
  max_quantity = sgqlc.types.Field(Float, graphql_name='maxQuantity')
5238
+ offer = sgqlc.types.Field('Offer', graphql_name='offer')
5082
5239
  overage_billing_period = sgqlc.types.Field(OverageBillingPeriod, graphql_name='overageBillingPeriod')
5083
5240
  overage_prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Price')), graphql_name='overagePrices')
5084
5241
  prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Price')), graphql_name='prices', args=sgqlc.types.ArgDict((
@@ -7491,7 +7648,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
7491
7648
 
7492
7649
  class Mutation(sgqlc.types.Type):
7493
7650
  __schema__ = schema
7494
- __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_addon', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_feature_group', '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_credit_grant', 'create_custom_currency', 'create_empty_addon_draft', 'create_empty_plan_draft', 'create_feature', 'create_feature_group', '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_payment_session', 'create_plan_draft', 'create_subscription', 'create_usage_measurement', 'create_workflow_trigger', 'delegate_subscription_to_customer', 'delete_feature', 'delete_one_feature', 'delete_one_hook', 'delete_one_integration', 'delete_one_package_entitlement', 'delete_one_price', 'delete_one_product', 'delete_one_promotional_entitlement', 'delete_workflow_trigger', 'detach_customer_payment_method', 'duplicate_product', 'edit_package_group', 'estimate_subscription', 'estimate_subscription_update', 'grant_promotional_entitlements', 'grant_promotional_entitlements_group', 'hide_getting_started_page', 'import_customers_bulk', 'import_one_customer', 'import_subscriptions_bulk', 'init_add_stripe_customer_payment_method', 'invite_members', 'link_feature_group_to_package', 'mark_invoice_as_paid', 'merge_environment', 'migrate_package_feature_groups_to_latest', '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_experiment_from_customer', 'remove_experiment_from_customer_subscription', 'remove_feature_group_from_package', 'remove_member', 'remove_plan_draft', 'report_entitlement_check_requested', 'report_event', 'report_usage', 'report_usage_bulk', 'resend_email_verification', 'resync_integration', 'revoke_promotional_entitlement', 'revoke_promotional_entitlements_group', 'set_access_roles', 'set_base_plan_on_plan', 'set_compatible_addons_on_plan', 'set_compatible_package_groups', 'set_coupon_on_customer', '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', 'transfer_subscription_to_resource', 'trigger_import_catalog', 'trigger_import_customers', 'trigger_plan_subscription_migration', 'trigger_rbacsync', 'trigger_subscription_billing_month_ends_soon_webhook', 'trigger_subscription_usage_sync', 'trigger_workflow', 'unarchive_addon', 'unarchive_customer', 'unarchive_environment', 'unarchive_feature', 'unarchive_feature_group', 'unarchive_plan', 'unlink_feature_group_from_package', 'unlink_promotional_entitlements_group', 'update_account', 'update_credit_grant', 'update_custom_currency', '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', 'workflows_login')
7651
+ __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_addon', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_feature_group', '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_credit_grant', 'create_custom_currency', 'create_empty_addon_draft', 'create_empty_plan_draft', 'create_feature', 'create_feature_group', 'create_many_package_entitlements', 'create_many_promotional_entitlements', 'create_offer', 'create_offer_draft', '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_payment_session', 'create_plan_draft', 'create_subscription', 'create_usage_measurement', 'create_workflow_trigger', 'delegate_subscription_to_customer', 'delete_feature', 'delete_one_feature', 'delete_one_hook', 'delete_one_integration', 'delete_one_package_entitlement', 'delete_one_price', 'delete_one_product', 'delete_one_promotional_entitlement', 'delete_workflow_trigger', 'detach_customer_payment_method', 'duplicate_product', 'edit_package_group', 'estimate_subscription', 'estimate_subscription_update', 'grant_promotional_entitlements', 'grant_promotional_entitlements_group', 'hide_getting_started_page', 'import_customers_bulk', 'import_one_customer', 'import_subscriptions_bulk', 'init_add_stripe_customer_payment_method', 'invite_members', 'link_feature_group_to_package', 'mark_invoice_as_paid', 'merge_environment', 'migrate_package_feature_groups_to_latest', '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_offer', '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_experiment_from_customer', 'remove_experiment_from_customer_subscription', 'remove_feature_group_from_package', 'remove_member', 'remove_offer_draft', 'remove_plan_draft', 'report_entitlement_check_requested', 'report_event', 'report_usage', 'report_usage_bulk', 'resend_email_verification', 'resync_integration', 'revoke_promotional_entitlement', 'revoke_promotional_entitlements_group', 'set_access_roles', 'set_as_default', 'set_base_plan_on_plan', 'set_compatible_addons_on_plan', 'set_compatible_package_groups', 'set_coupon_on_customer', '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', 'transfer_subscription_to_resource', 'trigger_import_catalog', 'trigger_import_customers', 'trigger_plan_subscription_migration', 'trigger_rbacsync', 'trigger_subscription_billing_month_ends_soon_webhook', 'trigger_subscription_usage_sync', 'trigger_workflow', 'unarchive_addon', 'unarchive_customer', 'unarchive_environment', 'unarchive_feature', 'unarchive_feature_group', 'unarchive_plan', 'unlink_feature_group_from_package', 'unlink_promotional_entitlements_group', 'update_account', 'update_credit_grant', 'update_custom_currency', 'update_entitlements_order', 'update_feature', 'update_offer', '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', 'workflows_login')
7495
7652
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
7496
7653
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
7497
7654
  ))
@@ -7586,6 +7743,14 @@ class Mutation(sgqlc.types.Type):
7586
7743
  )
7587
7744
  create_many_promotional_entitlements = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PromotionalEntitlement'))), graphql_name='createManyPromotionalEntitlements', args=sgqlc.types.ArgDict((
7588
7745
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreateManyPromotionalEntitlementsInput), graphql_name='input', default=None)),
7746
+ ))
7747
+ )
7748
+ create_offer = sgqlc.types.Field(sgqlc.types.non_null('Offer'), graphql_name='createOffer', args=sgqlc.types.ArgDict((
7749
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreateOfferInput), graphql_name='input', default=None)),
7750
+ ))
7751
+ )
7752
+ create_offer_draft = sgqlc.types.Field(sgqlc.types.non_null('Offer'), graphql_name='createOfferDraft', args=sgqlc.types.ArgDict((
7753
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreateOfferDraftInput), graphql_name='input', default=None)),
7589
7754
  ))
7590
7755
  )
7591
7756
  create_one_addon = sgqlc.types.Field(sgqlc.types.non_null(Addon), graphql_name='createOneAddon', args=sgqlc.types.ArgDict((
@@ -7794,6 +7959,10 @@ class Mutation(sgqlc.types.Type):
7794
7959
  )
7795
7960
  publish_addon = sgqlc.types.Field(sgqlc.types.non_null('PublishPackageResult'), graphql_name='publishAddon', args=sgqlc.types.ArgDict((
7796
7961
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(PackagePublishInput), graphql_name='input', default=None)),
7962
+ ))
7963
+ )
7964
+ publish_offer = sgqlc.types.Field(sgqlc.types.non_null('Offer'), graphql_name='publishOffer', args=sgqlc.types.ArgDict((
7965
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(PublishOfferInput), graphql_name='input', default=None)),
7797
7966
  ))
7798
7967
  )
7799
7968
  publish_plan = sgqlc.types.Field(sgqlc.types.non_null('PublishPackageResult'), graphql_name='publishPlan', args=sgqlc.types.ArgDict((
@@ -7839,6 +8008,10 @@ class Mutation(sgqlc.types.Type):
7839
8008
  )
7840
8009
  remove_member = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='removeMember', args=sgqlc.types.ArgDict((
7841
8010
  ('member_id', sgqlc.types.Arg(sgqlc.types.non_null(UUID), graphql_name='memberId', default=None)),
8011
+ ))
8012
+ )
8013
+ remove_offer_draft = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='removeOfferDraft', args=sgqlc.types.ArgDict((
8014
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(RemoveOfferDraftInput), graphql_name='input', default=None)),
7842
8015
  ))
7843
8016
  )
7844
8017
  remove_plan_draft = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='removePlanDraft', args=sgqlc.types.ArgDict((
@@ -7876,6 +8049,10 @@ class Mutation(sgqlc.types.Type):
7876
8049
  )
7877
8050
  set_access_roles = sgqlc.types.Field(String, graphql_name='setAccessRoles', args=sgqlc.types.ArgDict((
7878
8051
  ('set_access_roles_input', sgqlc.types.Arg(sgqlc.types.non_null(SetAccessRolesInput), graphql_name='setAccessRolesInput', default=None)),
8052
+ ))
8053
+ )
8054
+ set_as_default = sgqlc.types.Field(sgqlc.types.non_null('Offer'), graphql_name='setAsDefault', args=sgqlc.types.ArgDict((
8055
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(SetDefaultOfferInput), graphql_name='input', default=None)),
7879
8056
  ))
7880
8057
  )
7881
8058
  set_base_plan_on_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='setBasePlanOnPlan', args=sgqlc.types.ArgDict((
@@ -8013,6 +8190,10 @@ class Mutation(sgqlc.types.Type):
8013
8190
  )
8014
8191
  update_feature = sgqlc.types.Field(sgqlc.types.non_null(Feature), graphql_name='updateFeature', args=sgqlc.types.ArgDict((
8015
8192
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(UpdateFeatureInput), graphql_name='input', default=None)),
8193
+ ))
8194
+ )
8195
+ update_offer = sgqlc.types.Field(sgqlc.types.non_null('Offer'), graphql_name='updateOffer', args=sgqlc.types.ArgDict((
8196
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(UpdateOfferInput), graphql_name='input', default=None)),
8016
8197
  ))
8017
8198
  )
8018
8199
  update_one_addon = sgqlc.types.Field(sgqlc.types.non_null(Addon), graphql_name='updateOneAddon', args=sgqlc.types.ArgDict((
@@ -8081,6 +8262,99 @@ class NumberChange(sgqlc.types.Type):
8081
8262
  change_type = sgqlc.types.Field(ChangeType, graphql_name='changeType')
8082
8263
 
8083
8264
 
8265
+ class Offer(sgqlc.types.Type):
8266
+ __schema__ = schema
8267
+ __field_names__ = ('account_id', 'created_at', 'description', 'environment_id', 'id', 'is_default', 'is_latest', 'metadata', 'name', 'offer_id', 'status', 'updated_at', 'version')
8268
+ account_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='accountId')
8269
+ created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='createdAt')
8270
+ description = sgqlc.types.Field(String, graphql_name='description')
8271
+ environment_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='environmentId')
8272
+ id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='id')
8273
+ is_default = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isDefault')
8274
+ is_latest = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isLatest')
8275
+ metadata = sgqlc.types.Field(JSON, graphql_name='metadata')
8276
+ name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
8277
+ offer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='offerId')
8278
+ status = sgqlc.types.Field(sgqlc.types.non_null(OfferStatus), graphql_name='status')
8279
+ updated_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='updatedAt')
8280
+ version = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='version')
8281
+
8282
+
8283
+ class OfferAggregateGroupBy(sgqlc.types.Type):
8284
+ __schema__ = schema
8285
+ __field_names__ = ('created_at', 'environment_id', 'id', 'is_default', 'is_latest', 'offer_id', 'status', 'version')
8286
+ created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
8287
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
8288
+ id = sgqlc.types.Field(UUID, graphql_name='id')
8289
+ is_default = sgqlc.types.Field(Boolean, graphql_name='isDefault')
8290
+ is_latest = sgqlc.types.Field(Boolean, graphql_name='isLatest')
8291
+ offer_id = sgqlc.types.Field(String, graphql_name='offerId')
8292
+ status = sgqlc.types.Field(OfferStatus, graphql_name='status')
8293
+ version = sgqlc.types.Field(Int, graphql_name='version')
8294
+
8295
+
8296
+ class OfferAvgAggregate(sgqlc.types.Type):
8297
+ __schema__ = schema
8298
+ __field_names__ = ('version',)
8299
+ version = sgqlc.types.Field(Float, graphql_name='version')
8300
+
8301
+
8302
+ class OfferConnection(sgqlc.types.relay.Connection):
8303
+ __schema__ = schema
8304
+ __field_names__ = ('edges', 'page_info', 'total_count')
8305
+ edges = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('OfferEdge'))), graphql_name='edges')
8306
+ page_info = sgqlc.types.Field(sgqlc.types.non_null('PageInfo'), graphql_name='pageInfo')
8307
+ total_count = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='totalCount')
8308
+
8309
+
8310
+ class OfferCountAggregate(sgqlc.types.Type):
8311
+ __schema__ = schema
8312
+ __field_names__ = ('created_at', 'environment_id', 'id', 'is_default', 'is_latest', 'offer_id', 'status', 'version')
8313
+ created_at = sgqlc.types.Field(Int, graphql_name='createdAt')
8314
+ environment_id = sgqlc.types.Field(Int, graphql_name='environmentId')
8315
+ id = sgqlc.types.Field(Int, graphql_name='id')
8316
+ is_default = sgqlc.types.Field(Int, graphql_name='isDefault')
8317
+ is_latest = sgqlc.types.Field(Int, graphql_name='isLatest')
8318
+ offer_id = sgqlc.types.Field(Int, graphql_name='offerId')
8319
+ status = sgqlc.types.Field(Int, graphql_name='status')
8320
+ version = sgqlc.types.Field(Int, graphql_name='version')
8321
+
8322
+
8323
+ class OfferEdge(sgqlc.types.Type):
8324
+ __schema__ = schema
8325
+ __field_names__ = ('cursor', 'node')
8326
+ cursor = sgqlc.types.Field(sgqlc.types.non_null(ConnectionCursor), graphql_name='cursor')
8327
+ node = sgqlc.types.Field(sgqlc.types.non_null(Offer), graphql_name='node')
8328
+
8329
+
8330
+ class OfferMaxAggregate(sgqlc.types.Type):
8331
+ __schema__ = schema
8332
+ __field_names__ = ('created_at', 'environment_id', 'id', 'offer_id', 'status', 'version')
8333
+ created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
8334
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
8335
+ id = sgqlc.types.Field(UUID, graphql_name='id')
8336
+ offer_id = sgqlc.types.Field(String, graphql_name='offerId')
8337
+ status = sgqlc.types.Field(OfferStatus, graphql_name='status')
8338
+ version = sgqlc.types.Field(Int, graphql_name='version')
8339
+
8340
+
8341
+ class OfferMinAggregate(sgqlc.types.Type):
8342
+ __schema__ = schema
8343
+ __field_names__ = ('created_at', 'environment_id', 'id', 'offer_id', 'status', 'version')
8344
+ created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
8345
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
8346
+ id = sgqlc.types.Field(UUID, graphql_name='id')
8347
+ offer_id = sgqlc.types.Field(String, graphql_name='offerId')
8348
+ status = sgqlc.types.Field(OfferStatus, graphql_name='status')
8349
+ version = sgqlc.types.Field(Int, graphql_name='version')
8350
+
8351
+
8352
+ class OfferSumAggregate(sgqlc.types.Type):
8353
+ __schema__ = schema
8354
+ __field_names__ = ('version',)
8355
+ version = sgqlc.types.Field(Float, graphql_name='version')
8356
+
8357
+
8084
8358
  class OpenFGACredentials(sgqlc.types.Type):
8085
8359
  __schema__ = schema
8086
8360
  __field_names__ = ('api_audience', 'api_token_issuer', 'api_url', 'client_id', 'model_id', 'store_id')
@@ -8131,7 +8405,7 @@ class PackageChanges(sgqlc.types.Type):
8131
8405
 
8132
8406
  class PackageDTO(sgqlc.types.Type):
8133
8407
  __schema__ = schema
8134
- __field_names__ = ('additional_meta_data', 'billing_id', 'billing_link_url', 'created_at', 'description', 'display_name', 'draft_details', 'draft_summary', 'entitlements', 'environment_id', 'hidden_from_widgets', 'id', 'is_latest', 'overage_billing_period', 'overage_prices', 'prices', 'pricing_type', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
8408
+ __field_names__ = ('additional_meta_data', 'billing_id', 'billing_link_url', 'created_at', 'description', 'display_name', 'draft_details', 'draft_summary', 'entitlements', 'environment_id', 'hidden_from_widgets', 'id', 'is_latest', 'offer', 'overage_billing_period', 'overage_prices', 'prices', 'pricing_type', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
8135
8409
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
8136
8410
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
8137
8411
  billing_link_url = sgqlc.types.Field(String, graphql_name='billingLinkUrl')
@@ -8145,6 +8419,7 @@ class PackageDTO(sgqlc.types.Type):
8145
8419
  hidden_from_widgets = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(WidgetType)), graphql_name='hiddenFromWidgets')
8146
8420
  id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='id')
8147
8421
  is_latest = sgqlc.types.Field(Boolean, graphql_name='isLatest')
8422
+ offer = sgqlc.types.Field(Offer, graphql_name='offer')
8148
8423
  overage_billing_period = sgqlc.types.Field(OverageBillingPeriod, graphql_name='overageBillingPeriod')
8149
8424
  overage_prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Price')), graphql_name='overagePrices')
8150
8425
  prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Price')), graphql_name='prices')
@@ -8595,7 +8870,7 @@ class PaywallProduct(sgqlc.types.Type):
8595
8870
 
8596
8871
  class Plan(sgqlc.types.Type):
8597
8872
  __schema__ = schema
8598
- __field_names__ = ('additional_meta_data', 'aws_marketplace_plan_dimension', 'base_plan', 'billing_id', 'billing_link_url', 'compatible_addons', 'compatible_package_groups', 'created_at', 'default_trial_config', 'description', 'display_name', 'draft_details', 'draft_summary', 'entitlements', 'environment', 'environment_id', 'hidden_from_widgets', 'id', 'inherited_entitlements', 'is_latest', 'is_parent', 'minimum_spend', 'overage_billing_period', 'overage_prices', 'prices', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
8873
+ __field_names__ = ('additional_meta_data', 'aws_marketplace_plan_dimension', 'base_plan', 'billing_id', 'billing_link_url', 'compatible_addons', 'compatible_package_groups', 'created_at', 'default_trial_config', 'description', 'display_name', 'draft_details', 'draft_summary', 'entitlements', 'environment', 'environment_id', 'hidden_from_widgets', 'id', 'inherited_entitlements', 'is_latest', 'is_parent', 'minimum_spend', 'offer', 'overage_billing_period', 'overage_prices', 'prices', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
8599
8874
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
8600
8875
  aws_marketplace_plan_dimension = sgqlc.types.Field(String, graphql_name='awsMarketplacePlanDimension')
8601
8876
  base_plan = sgqlc.types.Field('Plan', graphql_name='basePlan')
@@ -8625,6 +8900,7 @@ class Plan(sgqlc.types.Type):
8625
8900
  is_latest = sgqlc.types.Field(Boolean, graphql_name='isLatest')
8626
8901
  is_parent = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isParent')
8627
8902
  minimum_spend = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(MinimumSpend)), graphql_name='minimumSpend')
8903
+ offer = sgqlc.types.Field(Offer, graphql_name='offer')
8628
8904
  overage_billing_period = sgqlc.types.Field(OverageBillingPeriod, graphql_name='overageBillingPeriod')
8629
8905
  overage_prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Price')), graphql_name='overagePrices')
8630
8906
  prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Price')), graphql_name='prices')
@@ -9298,7 +9574,7 @@ class PublishPackageResult(sgqlc.types.Type):
9298
9574
 
9299
9575
  class Query(sgqlc.types.Type):
9300
9576
  __schema__ = schema
9301
- __field_names__ = ('addon_associated_entities', 'addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'credit_balance_summary', 'credit_grants', 'credits_ledger', 'current_environment', 'current_user', 'custom_currencies', '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', 'feature_group', 'feature_group_associated_latest_packages', 'feature_groups', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_auth0_applications', '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', 'is_account_email_domain_taken', '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', 'subscriptions', 'test_hook_data', 'trigger_workflow_with_test_event', 'usage_events', 'usage_history', 'usage_history_v2', 'usage_measurements', 'validate_merge_environment', 'verified_account_domains', 'widget_configuration', 'workflow_triggers')
9577
+ __field_names__ = ('addon_associated_entities', 'addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'credit_balance_summary', 'credit_grants', 'credits_ledger', 'current_environment', 'current_user', 'custom_currencies', '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', 'feature_group', 'feature_group_associated_latest_packages', 'feature_groups', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_auth0_applications', 'get_aws_external_id', 'get_customer_by_ref_id', 'get_experiment_stats', 'get_offer', 'get_package_group', 'get_paywall', 'get_plan_by_ref_id', 'get_subscription', 'hook', 'hooks', 'import_integration_tasks', 'integrations', 'is_account_email_domain_taken', 'list_aws_product_dimensions', 'list_aws_products', 'members', 'mock_paywall', 'offer', 'offers', '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', 'subscriptions', 'test_hook_data', 'trigger_workflow_with_test_event', 'usage_events', 'usage_history', 'usage_history_v2', 'usage_measurements', 'validate_merge_environment', 'verified_account_domains', 'widget_configuration', 'workflow_triggers')
9302
9578
  addon_associated_entities = sgqlc.types.Field(sgqlc.types.non_null(AddonAssociatedEntities), graphql_name='addonAssociatedEntities', args=sgqlc.types.ArgDict((
9303
9579
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonAssociatedEntitiesInput), graphql_name='input', default=None)),
9304
9580
  ))
@@ -9461,6 +9737,10 @@ class Query(sgqlc.types.Type):
9461
9737
  )
9462
9738
  get_experiment_stats = sgqlc.types.Field(sgqlc.types.non_null(ExperimentStats), graphql_name='getExperimentStats', args=sgqlc.types.ArgDict((
9463
9739
  ('query', sgqlc.types.Arg(sgqlc.types.non_null(ExperimentStatsQuery), graphql_name='query', default=None)),
9740
+ ))
9741
+ )
9742
+ get_offer = sgqlc.types.Field(sgqlc.types.non_null(Offer), graphql_name='getOffer', args=sgqlc.types.ArgDict((
9743
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(GetOfferInput), graphql_name='input', default=None)),
9464
9744
  ))
9465
9745
  )
9466
9746
  get_package_group = sgqlc.types.Field(sgqlc.types.non_null(PackageGroup), graphql_name='getPackageGroup', args=sgqlc.types.ArgDict((
@@ -9521,6 +9801,16 @@ class Query(sgqlc.types.Type):
9521
9801
  )
9522
9802
  mock_paywall = sgqlc.types.Field(sgqlc.types.non_null(MockPaywall), graphql_name='mockPaywall', args=sgqlc.types.ArgDict((
9523
9803
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(GetPaywallInput), graphql_name='input', default=None)),
9804
+ ))
9805
+ )
9806
+ offer = sgqlc.types.Field(Offer, graphql_name='offer', args=sgqlc.types.ArgDict((
9807
+ ('id', sgqlc.types.Arg(sgqlc.types.non_null(UUID), graphql_name='id', default=None)),
9808
+ ))
9809
+ )
9810
+ offers = sgqlc.types.Field(sgqlc.types.non_null(OfferConnection), graphql_name='offers', args=sgqlc.types.ArgDict((
9811
+ ('filter', sgqlc.types.Arg(OfferFilter, graphql_name='filter', default={})),
9812
+ ('paging', sgqlc.types.Arg(CursorPaging, graphql_name='paging', default={'first': 10})),
9813
+ ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(OfferSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
9524
9814
  ))
9525
9815
  )
9526
9816
  package_entitlements = sgqlc.types.Field(sgqlc.types.non_null(PackageEntitlementConnection), graphql_name='packageEntitlements', args=sgqlc.types.ArgDict((
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 3.66.0
3
+ Version: 3.70.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=XtxE-2iRj1U7Ui86c8MlfCt385_6iwrQBFOH0cxRcnI,89191
5
+ stigg/generated/schema.py,sha256=KtkO9b9uQlypA_xwxqTZk0rMmOYUu-5KZXYSzfEk-fk,724201
6
+ stigg_api_client-3.70.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-3.70.0.dist-info/METADATA,sha256=iAGtajiveuqwQ_L19gIaQQRHjCnEutnHv9iJgJQiSFw,3197
8
+ stigg_api_client-3.70.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-3.70.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=8s5JV4pYCDL2t2yNfR9QrhgitTNfpgKgqp4wAUXk1Bg,87117
5
- stigg/generated/schema.py,sha256=CirqCDchhpuFvgGCyitzW2VYoR9A77zV4P9JvLz3RcA,707224
6
- stigg_api_client-3.66.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-3.66.0.dist-info/METADATA,sha256=gF856_VFRcN7UL26KTEd52P6UX_FUI9V13ulGRhSlPc,3197
8
- stigg_api_client-3.66.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-3.66.0.dist-info/RECORD,,