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

stigg/generated/schema.py CHANGED
@@ -160,7 +160,7 @@ class EnvironmentSortFields(sgqlc.types.Enum):
160
160
 
161
161
  class ErrorCode(sgqlc.types.Enum):
162
162
  __schema__ = schema
163
- __choices__ = ('AccountNotFoundError', 'AddonHasToHavePriceError', 'AddonNotFound', 'AddonWithDraftCannotBeDeletedError', 'ArchivedCouponCantBeApplied', 'AuthCustomerMismatch', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingPeriodMissingError', 'CannotArchiveFeatureError', 'CannotDeleteCustomerError', 'CannotDeleteFeatureError', 'CannotDeleteProductError', 'CannotEditPackageInNonDraftMode', 'CannotReportUsageForEntitlementWithMeterError', 'CannotUpsertToPackageThatHasDraft', 'CheckoutIsNotSupported', 'CheckoutOptionsMissing', 'CouponNotFound', 'CustomerAlreadyHaveCustomerCoupon', 'CustomerAlreadyUsesCoupon', 'CustomerHasNoPaymentMethod', 'CustomerNoBillingId', 'CustomerNotFound', 'CustomerResourceNotFound', 'DowngradeBillingPeriodNotSupportedError', 'DraftPlanCantBeArchived', 'DuplicateProductValidationError', 'DuplicatedEntityNotAllowed', 'EditAllowedOnDraftPackageOnlyError', 'EntitlementsMustBelongToSamePackage', 'EntityIdDifferentFromRefIdError', 'EntityIsArchivedError', 'EnvironmentMissing', 'ExperimentAlreadyRunning', 'ExperimentNotFoundError', 'ExperimentStatusError', 'FailedToCreateCheckoutSessionError', 'FailedToImportCustomer', 'FeatureNotFound', 'FetchAllCountriesPricesNotAllowed', 'IdentityForbidden', 'ImportAlreadyInProgress', 'ImportSubscriptionsBulkError', 'InitStripePaymentMethodError', 'IntegrationNotFound', 'IntegrationValidationError', 'IntegrityViolation', 'InvalidAddressError', 'InvalidArgumentError', 'InvalidCancellationDate', 'InvalidEntitlementResetPeriod', 'InvalidMemberDelete', 'InvalidMetadataError', 'InvalidQuantity', 'InvalidSubscriptionStatus', 'InvalidUpdatePriceUnitAmountError', 'MemberInvitationError', 'MemberNotFound', 'MeterMustBeAssociatedToMeteredFeature', 'MeteringNotAvailableForFeatureType', 'MissingEntityIdError', 'NoFeatureEntitlementInSubscription', 'NoProductsAvailable', 'OperationNotAllowedDuringInProgressExperiment', 'PackageAlreadyPublished', 'PackagePricingTypeNotSet', 'PaymentMethodNotFoundError', 'PlanAlreadyExtended', 'PlanCannotBePublishWhenBasePlanIsDraft', 'PlanCannotBePublishWhenCompatibleAddonIsDraft', 'PlanIsUsedAsDefaultStartPlan', 'PlanIsUsedAsDowngradePlan', 'PlanNotFound', 'PlanWithChildCantBeDeleted', 'PlansCircularDependencyError', 'PriceNotFound', 'PromotionCodeCustomerNotFirstPurchase', 'PromotionCodeMaxRedemptionsReached', 'PromotionCodeMinimumAmountNotReached', 'PromotionCodeNotActive', 'PromotionCodeNotForCustomer', 'PromotionCodeNotFound', 'PromotionalEntitlementNotFoundError', 'RateLimitExceeded', 'RecalculateEntitlementsError', 'ResyncAlreadyInProgress', 'ScheduledMigrationAlreadyExistsError', 'SelectedBillingModelDoesntMatchImportedItemError', 'StripeCustomerIsDeleted', 'StripeError', 'SubscriptionAlreadyCanceledOrExpired', 'SubscriptionAlreadyOnLatestPlanError', 'SubscriptionMustHaveSinglePlanError', 'SubscriptionNotFound', 'TooManySubscriptionsPerCustomer', 'TrialMinDateError', 'TrialMustBeCancelledImmediately', 'UnPublishedPackage', 'Unauthenticated', 'UncompatibleSubscriptionAddon', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier')
163
+ __choices__ = ('AccountNotFoundError', 'AddonHasToHavePriceError', 'AddonNotFound', 'AddonWithDraftCannotBeDeletedError', 'AmountTooLarge', 'ArchivedCouponCantBeApplied', 'AuthCustomerMismatch', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingPeriodMissingError', 'CannotArchiveFeatureError', 'CannotDeleteCustomerError', 'CannotDeleteFeatureError', 'CannotDeleteProductError', 'CannotEditPackageInNonDraftMode', 'CannotReportUsageForEntitlementWithMeterError', 'CannotUpsertToPackageThatHasDraft', 'CheckoutIsNotSupported', 'CheckoutOptionsMissing', 'CouponNotFound', 'CustomerAlreadyHaveCustomerCoupon', 'CustomerAlreadyUsesCoupon', 'CustomerHasNoPaymentMethod', 'CustomerNoBillingId', 'CustomerNotFound', 'CustomerResourceNotFound', 'DowngradeBillingPeriodNotSupportedError', 'DraftPlanCantBeArchived', 'DuplicateProductValidationError', 'DuplicatedEntityNotAllowed', 'EditAllowedOnDraftPackageOnlyError', 'EntitlementsMustBelongToSamePackage', 'EntityIdDifferentFromRefIdError', 'EntityIsArchivedError', 'EnvironmentMissing', 'ExperimentAlreadyRunning', 'ExperimentNotFoundError', 'ExperimentStatusError', 'FailedToCreateCheckoutSessionError', 'FailedToImportCustomer', 'FeatureNotFound', 'FetchAllCountriesPricesNotAllowed', 'IdentityForbidden', 'ImportAlreadyInProgress', 'ImportSubscriptionsBulkError', 'InitStripePaymentMethodError', 'IntegrationNotFound', 'IntegrationValidationError', 'IntegrityViolation', 'InvalidAddressError', 'InvalidArgumentError', 'InvalidCancellationDate', 'InvalidEntitlementResetPeriod', 'InvalidMemberDelete', 'InvalidMetadataError', 'InvalidQuantity', 'InvalidSubscriptionStatus', 'InvalidUpdatePriceUnitAmountError', 'MemberInvitationError', 'MemberNotFound', 'MeterMustBeAssociatedToMeteredFeature', 'MeteringNotAvailableForFeatureType', 'MissingEntityIdError', 'NoFeatureEntitlementInSubscription', 'NoProductsAvailable', 'OperationNotAllowedDuringInProgressExperiment', 'PackageAlreadyPublished', 'PackagePricingTypeNotSet', 'PaymentMethodNotFoundError', 'PlanCannotBePublishWhenBasePlanIsDraft', 'PlanCannotBePublishWhenCompatibleAddonIsDraft', 'PlanIsUsedAsDefaultStartPlan', 'PlanIsUsedAsDowngradePlan', 'PlanNotFound', 'PlanWithChildCantBeDeleted', 'PlansCircularDependencyError', 'PriceNotFound', 'PromotionCodeCustomerNotFirstPurchase', 'PromotionCodeMaxRedemptionsReached', 'PromotionCodeMinimumAmountNotReached', 'PromotionCodeNotActive', 'PromotionCodeNotForCustomer', 'PromotionCodeNotFound', 'PromotionalEntitlementNotFoundError', 'RateLimitExceeded', 'RecalculateEntitlementsError', 'ResyncAlreadyInProgress', 'ScheduledMigrationAlreadyExistsError', 'SelectedBillingModelDoesntMatchImportedItemError', 'StripeCustomerIsDeleted', 'StripeError', 'SubscriptionAlreadyCanceledOrExpired', 'SubscriptionAlreadyOnLatestPlanError', 'SubscriptionMustHaveSinglePlanError', 'SubscriptionNotFound', 'TooManySubscriptionsPerCustomer', 'TrialMinDateError', 'TrialMustBeCancelledImmediately', 'UnPublishedPackage', 'Unauthenticated', 'UncompatibleSubscriptionAddon', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier')
164
164
 
165
165
 
166
166
  class EventLogType(sgqlc.types.Enum):
@@ -576,7 +576,7 @@ class ApiKeySort(sgqlc.types.Input):
576
576
 
577
577
  class ApplySubscriptionInput(sgqlc.types.Input):
578
578
  __schema__ = schema
579
- __field_names__ = ('additional_meta_data', 'addons', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'customer_id', 'payment_method_id', 'plan_id', 'promotion_code', 'resource_id', 'skip_trial', 'start_date', 'subscription_entitlements', 'unit_quantity')
579
+ __field_names__ = ('additional_meta_data', 'addons', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'customer_id', 'payment_method_id', 'plan_id', 'promotion_code', 'resource_id', 'skip_trial', 'start_date', 'subscription_entitlements', 'trial_override_configuration', 'unit_quantity')
580
580
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
581
581
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
582
582
  billable_features = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BillableFeatureInput')), graphql_name='billableFeatures')
@@ -592,6 +592,7 @@ class ApplySubscriptionInput(sgqlc.types.Input):
592
592
  skip_trial = sgqlc.types.Field(Boolean, graphql_name='skipTrial')
593
593
  start_date = sgqlc.types.Field(DateTime, graphql_name='startDate')
594
594
  subscription_entitlements = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionEntitlementInput')), graphql_name='subscriptionEntitlements')
595
+ trial_override_configuration = sgqlc.types.Field('TrialOverrideConfigurationInput', graphql_name='trialOverrideConfiguration')
595
596
  unit_quantity = sgqlc.types.Field(Float, graphql_name='unitQuantity')
596
597
 
597
598
 
@@ -2627,7 +2628,7 @@ class ProvisionCustomerInput(sgqlc.types.Input):
2627
2628
 
2628
2629
  class ProvisionCustomerSubscriptionInput(sgqlc.types.Input):
2629
2630
  __schema__ = schema
2630
- __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'plan_id', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'start_date', 'subscription_entitlements', 'subscription_id', 'unit_quantity')
2631
+ __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'plan_id', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'start_date', 'subscription_entitlements', 'subscription_id', 'trial_override_configuration', 'unit_quantity')
2631
2632
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
2632
2633
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
2633
2634
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -2644,6 +2645,7 @@ class ProvisionCustomerSubscriptionInput(sgqlc.types.Input):
2644
2645
  start_date = sgqlc.types.Field(DateTime, graphql_name='startDate')
2645
2646
  subscription_entitlements = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionEntitlementInput')), graphql_name='subscriptionEntitlements')
2646
2647
  subscription_id = sgqlc.types.Field(String, graphql_name='subscriptionId')
2648
+ trial_override_configuration = sgqlc.types.Field('TrialOverrideConfigurationInput', graphql_name='trialOverrideConfiguration')
2647
2649
  unit_quantity = sgqlc.types.Field(Float, graphql_name='unitQuantity')
2648
2650
 
2649
2651
 
@@ -2656,7 +2658,7 @@ class ProvisionSandboxInput(sgqlc.types.Input):
2656
2658
 
2657
2659
  class ProvisionSubscription(sgqlc.types.Input):
2658
2660
  __schema__ = schema
2659
- __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'checkout_options', 'customer_id', 'plan_id', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'skip_trial', 'start_date', 'subscription_entitlements', 'subscription_id', 'unit_quantity')
2661
+ __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'checkout_options', 'customer_id', 'plan_id', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'skip_trial', 'start_date', 'subscription_entitlements', 'subscription_id', 'trial_override_configuration', 'unit_quantity')
2660
2662
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
2661
2663
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
2662
2664
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -2676,12 +2678,13 @@ class ProvisionSubscription(sgqlc.types.Input):
2676
2678
  start_date = sgqlc.types.Field(DateTime, graphql_name='startDate')
2677
2679
  subscription_entitlements = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionEntitlementInput')), graphql_name='subscriptionEntitlements')
2678
2680
  subscription_id = sgqlc.types.Field(String, graphql_name='subscriptionId')
2681
+ trial_override_configuration = sgqlc.types.Field('TrialOverrideConfigurationInput', graphql_name='trialOverrideConfiguration')
2679
2682
  unit_quantity = sgqlc.types.Field(Float, graphql_name='unitQuantity')
2680
2683
 
2681
2684
 
2682
2685
  class ProvisionSubscriptionInput(sgqlc.types.Input):
2683
2686
  __schema__ = schema
2684
- __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'checkout_options', 'customer_id', 'plan_id', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'skip_trial', 'start_date', 'subscription_entitlements', 'subscription_id', 'unit_quantity')
2687
+ __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'checkout_options', 'customer_id', 'plan_id', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'skip_trial', 'start_date', 'subscription_entitlements', 'subscription_id', 'trial_override_configuration', 'unit_quantity')
2685
2688
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
2686
2689
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
2687
2690
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -2701,6 +2704,7 @@ class ProvisionSubscriptionInput(sgqlc.types.Input):
2701
2704
  start_date = sgqlc.types.Field(DateTime, graphql_name='startDate')
2702
2705
  subscription_entitlements = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionEntitlementInput')), graphql_name='subscriptionEntitlements')
2703
2706
  subscription_id = sgqlc.types.Field(String, graphql_name='subscriptionId')
2707
+ trial_override_configuration = sgqlc.types.Field('TrialOverrideConfigurationInput', graphql_name='trialOverrideConfiguration')
2704
2708
  unit_quantity = sgqlc.types.Field(Float, graphql_name='unitQuantity')
2705
2709
 
2706
2710
 
@@ -3332,6 +3336,13 @@ class TransferSubscriptionInput(sgqlc.types.Input):
3332
3336
  source_resource_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='sourceResourceId')
3333
3337
 
3334
3338
 
3339
+ class TrialOverrideConfigurationInput(sgqlc.types.Input):
3340
+ __schema__ = schema
3341
+ __field_names__ = ('is_trial', 'trial_end_date')
3342
+ is_trial = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isTrial')
3343
+ trial_end_date = sgqlc.types.Field(DateTime, graphql_name='trialEndDate')
3344
+
3345
+
3335
3346
  class TriggerSubscriptionMigrationInput(sgqlc.types.Input):
3336
3347
  __schema__ = schema
3337
3348
  __field_names__ = ('environment_id', 'ref_id', 'version_number')
@@ -6140,8 +6151,9 @@ class Mutation(sgqlc.types.Type):
6140
6151
 
6141
6152
  class PackageAlreadyPublishedError(sgqlc.types.Type):
6142
6153
  __schema__ = schema
6143
- __field_names__ = ('code',)
6154
+ __field_names__ = ('code', 'is_validation_error')
6144
6155
  code = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='code')
6156
+ is_validation_error = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isValidationError')
6145
6157
 
6146
6158
 
6147
6159
  class PackageChanges(sgqlc.types.Type):
@@ -7937,8 +7949,9 @@ class TypographyConfiguration(sgqlc.types.Type):
7937
7949
 
7938
7950
  class UnPublishedPackageError(sgqlc.types.Type):
7939
7951
  __schema__ = schema
7940
- __field_names__ = ('code', 'non_published_package_ids', 'package_type')
7952
+ __field_names__ = ('code', 'is_validation_error', 'non_published_package_ids', 'package_type')
7941
7953
  code = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='code')
7954
+ is_validation_error = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isValidationError')
7942
7955
  non_published_package_ids = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='nonPublishedPackageIds')
7943
7956
  package_type = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageType')
7944
7957
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 0.705.0
3
+ Version: 0.712.0
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=wSb0yyW13mWMr_4pooJArTtCa2fL5079ho9jGaZTdpE,3699
3
3
  stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  stigg/generated/operations.py,sha256=A2VRsrrTYBnbr69JXCRH1FSs-5ZK4IpfekHf5dKpgSY,63189
5
- stigg/generated/schema.py,sha256=ZK9sMlqN5KKRqDp5ZPfTrba5vShG9VOAQJzrZvdmhAE,515087
6
- stigg_api_client-0.705.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-0.705.0.dist-info/METADATA,sha256=0XZovpr0U9hzUa98z_o00q_x3-YbLSqz9J6PuisUJUE,3198
8
- stigg_api_client-0.705.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-0.705.0.dist-info/RECORD,,
5
+ stigg/generated/schema.py,sha256=TulYMvJjdm_Q_nhR4V1V004KRLkgbLadcghLkHIUxH4,516300
6
+ stigg_api_client-0.712.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-0.712.0.dist-info/METADATA,sha256=nFg4JC3Bp-hwOeOiALmYh8yVvY_HxJtqZ5CQXMLaFyI,3198
8
+ stigg_api_client-0.712.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-0.712.0.dist-info/RECORD,,