stigg-api-client 2.99.0__tar.gz → 2.99.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of stigg-api-client might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.99.0
3
+ Version: 2.99.1
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "stigg-api-client"
3
- version = "2.99.0"
3
+ version = "2.99.1"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -180,7 +180,7 @@ class EnvironmentType(sgqlc.types.Enum):
180
180
 
181
181
  class ErrorCode(sgqlc.types.Enum):
182
182
  __schema__ = schema
183
- __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', 'ChangingPayingCustomerIsNotSupportedError', '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')
183
+ __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')
184
184
 
185
185
 
186
186
  class EventActor(sgqlc.types.Enum):
@@ -679,7 +679,7 @@ class ApiKeySort(sgqlc.types.Input):
679
679
 
680
680
  class ApplySubscriptionInput(sgqlc.types.Input):
681
681
  __schema__ = schema
682
- __field_names__ = ('additional_meta_data', 'addons', 'applied_coupon', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'customer_id', 'minimum_spend', 'paying_customer_id', 'payment_collection_method', 'payment_method_id', 'plan_id', 'price_overrides', 'promotion_code', 'resource_id', 'salesforce_id', 'schedule_strategy', 'skip_trial', 'start_date', 'subscription_entitlements', 'trial_override_configuration', 'unit_quantity')
682
+ __field_names__ = ('additional_meta_data', 'addons', 'applied_coupon', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'customer_id', 'minimum_spend', 'payment_collection_method', 'payment_method_id', 'plan_id', 'price_overrides', 'promotion_code', 'resource_id', 'salesforce_id', 'schedule_strategy', 'skip_trial', 'start_date', 'subscription_entitlements', 'trial_override_configuration', 'unit_quantity')
683
683
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
684
684
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
685
685
  applied_coupon = sgqlc.types.Field('SubscriptionCouponInput', graphql_name='appliedCoupon')
@@ -692,7 +692,6 @@ class ApplySubscriptionInput(sgqlc.types.Input):
692
692
  budget = sgqlc.types.Field('BudgetConfigurationInput', graphql_name='budget')
693
693
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
694
694
  minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpendValueInput', graphql_name='minimumSpend')
695
- paying_customer_id = sgqlc.types.Field(String, graphql_name='payingCustomerId')
696
695
  payment_collection_method = sgqlc.types.Field(PaymentCollectionMethod, graphql_name='paymentCollectionMethod')
697
696
  payment_method_id = sgqlc.types.Field(String, graphql_name='paymentMethodId')
698
697
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
@@ -3166,7 +3165,7 @@ class ProvisionSandboxInput(sgqlc.types.Input):
3166
3165
 
3167
3166
  class ProvisionSubscription(sgqlc.types.Input):
3168
3167
  __schema__ = schema
3169
- __field_names__ = ('additional_meta_data', 'addons', 'applied_coupon', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'checkout_options', 'customer_id', 'minimum_spend', 'paying_customer_id', 'payment_collection_method', 'plan_id', 'price_overrides', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'salesforce_id', 'schedule_strategy', 'skip_trial', 'start_date', 'subscription_entitlements', 'subscription_id', 'trial_override_configuration', 'unit_quantity')
3168
+ __field_names__ = ('additional_meta_data', 'addons', 'applied_coupon', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'checkout_options', 'customer_id', 'minimum_spend', 'payment_collection_method', 'plan_id', 'price_overrides', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'salesforce_id', 'schedule_strategy', 'skip_trial', 'start_date', 'subscription_entitlements', 'subscription_id', 'trial_override_configuration', 'unit_quantity')
3170
3169
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3171
3170
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
3172
3171
  applied_coupon = sgqlc.types.Field('SubscriptionCouponInput', graphql_name='appliedCoupon')
@@ -3180,7 +3179,6 @@ class ProvisionSubscription(sgqlc.types.Input):
3180
3179
  checkout_options = sgqlc.types.Field(CheckoutOptions, graphql_name='checkoutOptions')
3181
3180
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
3182
3181
  minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpendValueInput', graphql_name='minimumSpend')
3183
- paying_customer_id = sgqlc.types.Field(String, graphql_name='payingCustomerId')
3184
3182
  payment_collection_method = sgqlc.types.Field(PaymentCollectionMethod, graphql_name='paymentCollectionMethod')
3185
3183
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
3186
3184
  price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
@@ -3200,7 +3198,7 @@ class ProvisionSubscription(sgqlc.types.Input):
3200
3198
 
3201
3199
  class ProvisionSubscriptionInput(sgqlc.types.Input):
3202
3200
  __schema__ = schema
3203
- __field_names__ = ('additional_meta_data', 'addons', 'applied_coupon', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'checkout_options', 'customer_id', 'minimum_spend', 'paying_customer_id', 'payment_collection_method', 'plan_id', 'price_overrides', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'salesforce_id', 'schedule_strategy', 'skip_trial', 'start_date', 'subscription_entitlements', 'subscription_id', 'trial_override_configuration', 'unit_quantity')
3201
+ __field_names__ = ('additional_meta_data', 'addons', 'applied_coupon', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'checkout_options', 'customer_id', 'minimum_spend', 'payment_collection_method', 'plan_id', 'price_overrides', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'salesforce_id', 'schedule_strategy', 'skip_trial', 'start_date', 'subscription_entitlements', 'subscription_id', 'trial_override_configuration', 'unit_quantity')
3204
3202
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3205
3203
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
3206
3204
  applied_coupon = sgqlc.types.Field('SubscriptionCouponInput', graphql_name='appliedCoupon')
@@ -3214,7 +3212,6 @@ class ProvisionSubscriptionInput(sgqlc.types.Input):
3214
3212
  checkout_options = sgqlc.types.Field(CheckoutOptions, graphql_name='checkoutOptions')
3215
3213
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
3216
3214
  minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpendValueInput', graphql_name='minimumSpend')
3217
- paying_customer_id = sgqlc.types.Field(String, graphql_name='payingCustomerId')
3218
3215
  payment_collection_method = sgqlc.types.Field(PaymentCollectionMethod, graphql_name='paymentCollectionMethod')
3219
3216
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
3220
3217
  price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
@@ -3702,7 +3699,7 @@ class SubscriptionEntitlementSort(sgqlc.types.Input):
3702
3699
 
3703
3700
  class SubscriptionInput(sgqlc.types.Input):
3704
3701
  __schema__ = schema
3705
- __field_names__ = ('additional_meta_data', 'addons', 'applied_coupon', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'crm_id', 'customer_id', 'end_date', 'environment_id', 'is_custom_price_subscription', 'is_overriding_trial_config', 'is_trial', 'minimum_spend', 'paying_customer_id', 'payment_collection_method', 'plan_id', 'price_overrides', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'salesforce_id', 'schedule_strategy', 'start_date', 'subscription_entitlements', 'subscription_id', 'unit_quantity')
3702
+ __field_names__ = ('additional_meta_data', 'addons', 'applied_coupon', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'crm_id', 'customer_id', 'end_date', 'environment_id', 'is_custom_price_subscription', 'is_overriding_trial_config', 'is_trial', 'minimum_spend', 'payment_collection_method', 'plan_id', 'price_overrides', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'salesforce_id', 'schedule_strategy', 'start_date', 'subscription_entitlements', 'subscription_id', 'unit_quantity')
3706
3703
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3707
3704
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionAddonInput)), graphql_name='addons')
3708
3705
  applied_coupon = sgqlc.types.Field(SubscriptionCouponInput, graphql_name='appliedCoupon')
@@ -3721,7 +3718,6 @@ class SubscriptionInput(sgqlc.types.Input):
3721
3718
  is_overriding_trial_config = sgqlc.types.Field(Boolean, graphql_name='isOverridingTrialConfig')
3722
3719
  is_trial = sgqlc.types.Field(Boolean, graphql_name='isTrial')
3723
3720
  minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpendValueInput', graphql_name='minimumSpend')
3724
- paying_customer_id = sgqlc.types.Field(String, graphql_name='payingCustomerId')
3725
3721
  payment_collection_method = sgqlc.types.Field(PaymentCollectionMethod, graphql_name='paymentCollectionMethod')
3726
3722
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
3727
3723
  price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
@@ -4727,15 +4723,6 @@ class CannotDeleteFeatureError(sgqlc.types.Type):
4727
4723
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
4728
4724
 
4729
4725
 
4730
- class ChangingPayingCustomerIsNotSupportedError(sgqlc.types.Type):
4731
- __schema__ = schema
4732
- __field_names__ = ('code', 'current_paying_customer_id', 'is_validation_error', 'new_paying_customer_id')
4733
- code = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='code')
4734
- current_paying_customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='currentPayingCustomerId')
4735
- is_validation_error = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isValidationError')
4736
- new_paying_customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='newPayingCustomerId')
4737
-
4738
-
4739
4726
  class ChargeSubscriptionUsage(sgqlc.types.Type):
4740
4727
  __schema__ = schema
4741
4728
  __field_names__ = ('invoice_billing_id', 'period_end', 'period_start', 'subscription_id', 'usage_charged')