stigg-api-client 2.307.0__py3-none-any.whl → 2.314.2__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.

stigg/generated/schema.py CHANGED
@@ -195,7 +195,7 @@ class EnvironmentType(sgqlc.types.Enum):
195
195
 
196
196
  class ErrorCode(sgqlc.types.Enum):
197
197
  __schema__ = schema
198
- __choices__ = ('AccessDeniedError', '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', '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', 'TooManySubscriptionsPerCustomer', 'TrialMustBeCancelledImmediately', 'UnPublishedPackage', 'Unauthenticated', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier', 'UsageMeasurementDiffOutOfRangeError')
198
+ __choices__ = ('AccessDeniedError', 'AccountNotFoundError', 'AddonDependencyMissingError', 'AddonHasToHavePriceError', 'AddonIsCompatibleWithGroup', 'AddonIsCompatibleWithPlan', 'AddonNotFound', 'AddonQuantityExceedsLimitError', 'AddonWithDraftCannotBeDeletedError', 'AddonsNotFound', 'AmountTooLarge', 'ArchivedCouponCantBeApplied', 'AuthCustomerMismatch', 'AuthCustomerReadonly', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingIntegrationAlreadyExistsError', 'BillingIntegrationMissing', 'BillingPeriodMissingError', 'CannotAddOverrideEntitlementToPlan', 'CannotArchiveFeatureError', 'CannotDeleteCustomerError', 'CannotDeleteDefaultIntegration', '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', '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', 'TooManySubscriptionsPerCustomer', 'TrialMustBeCancelledImmediately', 'UnPublishedPackage', 'Unauthenticated', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier', 'UsageMeasurementDiffOutOfRangeError')
199
199
 
200
200
 
201
201
  class EventActor(sgqlc.types.Enum):
@@ -3600,9 +3600,10 @@ class StringFieldComparison(sgqlc.types.Input):
3600
3600
 
3601
3601
  class StripeCredentialsInput(sgqlc.types.Input):
3602
3602
  __schema__ = schema
3603
- __field_names__ = ('account_id', 'authorization_code', 'is_test_mode')
3603
+ __field_names__ = ('account_id', 'authorization_code', 'is_tax_enabled', 'is_test_mode')
3604
3604
  account_id = sgqlc.types.Field(String, graphql_name='accountId')
3605
3605
  authorization_code = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='authorizationCode')
3606
+ is_tax_enabled = sgqlc.types.Field(Boolean, graphql_name='isTaxEnabled')
3606
3607
  is_test_mode = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isTestMode')
3607
3608
 
3608
3609
 
@@ -4275,7 +4276,7 @@ class UpdateIntegrationInput(sgqlc.types.Input):
4275
4276
  is_default = sgqlc.types.Field(Boolean, graphql_name='isDefault')
4276
4277
  open_fgacredentials = sgqlc.types.Field(OpenFGACredentialsInput, graphql_name='openFGACredentials')
4277
4278
  salesforce_credentials = sgqlc.types.Field(SalesforceCredentialsInput, graphql_name='salesforceCredentials')
4278
- stripe_credentials = sgqlc.types.Field(StripeCredentialsInput, graphql_name='stripeCredentials')
4279
+ stripe_credentials = sgqlc.types.Field('UpdateStripeCredentialsInput', graphql_name='stripeCredentials')
4279
4280
  vendor_identifier = sgqlc.types.Field(sgqlc.types.non_null(VendorIdentifier), graphql_name='vendorIdentifier')
4280
4281
  zuora_credentials = sgqlc.types.Field('ZuoraCredentialsInput', graphql_name='zuoraCredentials')
4281
4282
 
@@ -4337,6 +4338,12 @@ class UpdatePackageEntitlementOrderItemInput(sgqlc.types.Input):
4337
4338
  order = sgqlc.types.Field(Float, graphql_name='order')
4338
4339
 
4339
4340
 
4341
+ class UpdateStripeCredentialsInput(sgqlc.types.Input):
4342
+ __schema__ = schema
4343
+ __field_names__ = ('is_tax_enabled',)
4344
+ is_tax_enabled = sgqlc.types.Field(Boolean, graphql_name='isTaxEnabled')
4345
+
4346
+
4340
4347
  class UpdateSubscriptionEntitlementInput(sgqlc.types.Input):
4341
4348
  __schema__ = schema
4342
4349
  __field_names__ = ('feature_id', 'has_soft_limit', 'has_unlimited_usage', 'id', 'monthly_reset_period_configuration', 'reset_period', 'usage_limit', 'weekly_reset_period_configuration', 'yearly_reset_period_configuration')
@@ -8875,9 +8882,10 @@ class StringChangeDTO(sgqlc.types.Type):
8875
8882
 
8876
8883
  class StripeCredentials(sgqlc.types.Type):
8877
8884
  __schema__ = schema
8878
- __field_names__ = ('account_display_name', 'account_id', 'is_test_mode')
8885
+ __field_names__ = ('account_display_name', 'account_id', 'is_tax_enabled', 'is_test_mode')
8879
8886
  account_display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='accountDisplayName')
8880
8887
  account_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='accountId')
8888
+ is_tax_enabled = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isTaxEnabled')
8881
8889
  is_test_mode = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isTestMode')
8882
8890
 
8883
8891
 
@@ -9550,11 +9558,35 @@ class SubscriptionUpdateUsageResetCutoffRule(sgqlc.types.Type):
9550
9558
  behavior = sgqlc.types.Field(sgqlc.types.non_null(SubscriptionUpdateUsageCutoffBehavior), graphql_name='behavior')
9551
9559
 
9552
9560
 
9561
+ class SyncRevisionBillingData(sgqlc.types.Type):
9562
+ __schema__ = schema
9563
+ __field_names__ = ('billing_id', 'billing_link_url')
9564
+ billing_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='billingId')
9565
+ billing_link_url = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='billingLinkUrl')
9566
+
9567
+
9568
+ class SyncRevisionMarketplaceData(sgqlc.types.Type):
9569
+ __schema__ = schema
9570
+ __field_names__ = ('dimensions',)
9571
+ dimensions = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='dimensions')
9572
+
9573
+
9574
+ class SyncRevisionPriceBillingData(sgqlc.types.Type):
9575
+ __schema__ = schema
9576
+ __field_names__ = ('billing_id', 'billing_link_url', 'price_group_package_billing_id')
9577
+ billing_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='billingId')
9578
+ billing_link_url = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='billingLinkUrl')
9579
+ price_group_package_billing_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='priceGroupPackageBillingId')
9580
+
9581
+
9553
9582
  class SyncState(sgqlc.types.Type):
9554
9583
  __schema__ = schema
9555
- __field_names__ = ('error', 'status', 'vendor_identifier')
9584
+ __field_names__ = ('data', 'error', 'integration', 'status', 'synced_entity_id', 'vendor_identifier')
9585
+ data = sgqlc.types.Field('SyncRevisionData', graphql_name='data')
9556
9586
  error = sgqlc.types.Field(String, graphql_name='error')
9587
+ integration = sgqlc.types.Field(sgqlc.types.non_null(Integration), graphql_name='integration')
9557
9588
  status = sgqlc.types.Field(sgqlc.types.non_null(SyncStatus), graphql_name='status')
9589
+ synced_entity_id = sgqlc.types.Field(String, graphql_name='syncedEntityId')
9558
9590
  vendor_identifier = sgqlc.types.Field(sgqlc.types.non_null(VendorIdentifier), graphql_name='vendorIdentifier')
9559
9591
 
9560
9592
 
@@ -9938,6 +9970,11 @@ class ScheduleVariables(sgqlc.types.Union):
9938
9970
  __types__ = (AddonChangeVariables, AddonPriceOverrideChangeVariables, BillingPeriodChangeVariables, CouponChangeVariables, DowngradeChangeVariables, PlanChangeVariables, PlanPriceOverrideChangeVariables, UnitAmountChangeVariables)
9939
9971
 
9940
9972
 
9973
+ class SyncRevisionData(sgqlc.types.Union):
9974
+ __schema__ = schema
9975
+ __types__ = (SyncRevisionBillingData, SyncRevisionMarketplaceData, SyncRevisionPriceBillingData)
9976
+
9977
+
9941
9978
 
9942
9979
  ########################################################################
9943
9980
  # Schema Entry Points
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.307.0
3
+ Version: 2.314.2
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -2,8 +2,8 @@ stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
2
  stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
3
3
  stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  stigg/generated/operations.py,sha256=BJn0KcJ8WG-6ivqsgyvNpd3av5mQ-OcXrpKb_Lj_Q48,79506
5
- stigg/generated/schema.py,sha256=11ljZfLS9Fb20WO1mXBwY-Z8wf1xJAZh48KUh9hIVhI,637625
6
- stigg_api_client-2.307.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-2.307.0.dist-info/METADATA,sha256=VcqyTMPndMkRK7ojgfzqioFvnrgISiG69tWWwjIq25U,3198
8
- stigg_api_client-2.307.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-2.307.0.dist-info/RECORD,,
5
+ stigg/generated/schema.py,sha256=38PVMmBa2ZGitylV6ZkqG0hAFSG-KS1xq9uwqQF8nw0,639567
6
+ stigg_api_client-2.314.2.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-2.314.2.dist-info/METADATA,sha256=B0r8z5cmdJp7_euAjc6KoOM6NgOPqz6KLOp4T_PksHw,3198
8
+ stigg_api_client-2.314.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-2.314.2.dist-info/RECORD,,