stigg-api-client 3.98.1__tar.gz → 3.100.0__tar.gz

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

Potentially problematic release.


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

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 3.98.1
3
+ Version: 3.100.0
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "stigg-api-client"
3
- version = "3.98.1"
3
+ version = "3.100.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -220,7 +220,7 @@ class EnvironmentType(sgqlc.types.Enum):
220
220
 
221
221
  class ErrorCode(sgqlc.types.Enum):
222
222
  __schema__ = schema
223
- __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')
223
+ __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', 'NoActiveSubscriptionForCustomer', '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')
224
224
 
225
225
 
226
226
  class EventActor(sgqlc.types.Enum):
@@ -1378,9 +1378,10 @@ class CreditBalanceSummaryInput(sgqlc.types.Input):
1378
1378
 
1379
1379
  class CreditGrantInput(sgqlc.types.Input):
1380
1380
  __schema__ = schema
1381
- __field_names__ = ('additional_meta_data', 'amount', 'comment', 'cost', 'currency_id', 'customer_id', 'display_name', 'effective_at', 'environment_id', 'expire_at', 'grant_type', 'priority', 'resource_id')
1381
+ __field_names__ = ('additional_meta_data', 'amount', 'await_payment_confirmation', 'comment', 'cost', 'currency_id', 'customer_id', 'display_name', 'effective_at', 'environment_id', 'expire_at', 'grant_type', 'payment_collection_method', 'priority', 'resource_id')
1382
1382
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
1383
1383
  amount = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='amount')
1384
+ await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
1384
1385
  comment = sgqlc.types.Field(String, graphql_name='comment')
1385
1386
  cost = sgqlc.types.Field('MoneyInputDTO', graphql_name='cost')
1386
1387
  currency_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='currencyId')
@@ -1390,6 +1391,7 @@ class CreditGrantInput(sgqlc.types.Input):
1390
1391
  environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
1391
1392
  expire_at = sgqlc.types.Field(DateTime, graphql_name='expireAt')
1392
1393
  grant_type = sgqlc.types.Field(sgqlc.types.non_null(CreditGrantType), graphql_name='grantType')
1394
+ payment_collection_method = sgqlc.types.Field(PaymentCollectionMethod, graphql_name='paymentCollectionMethod')
1393
1395
  priority = sgqlc.types.Field(Float, graphql_name='priority')
1394
1396
  resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
1395
1397
 
@@ -8323,6 +8325,14 @@ class Mutation(sgqlc.types.Type):
8323
8325
  )
8324
8326
 
8325
8327
 
8328
+ class NoActiveSubscriptionForCustomerError(sgqlc.types.Type):
8329
+ __schema__ = schema
8330
+ __field_names__ = ('code', 'customer_ref_id', 'is_validation_error')
8331
+ code = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='code')
8332
+ customer_ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerRefId')
8333
+ is_validation_error = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isValidationError')
8334
+
8335
+
8326
8336
  class NumberChange(sgqlc.types.Type):
8327
8337
  __schema__ = schema
8328
8338
  __field_names__ = ('after', 'before', 'change_type')