stigg-api-client 1.134.0__py3-none-any.whl → 1.139.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
@@ -1458,7 +1458,8 @@ class DateFieldComparisonBetween(sgqlc.types.Input):
1458
1458
 
1459
1459
  class DefaultTrialConfigInputDTO(sgqlc.types.Input):
1460
1460
  __schema__ = schema
1461
- __field_names__ = ('duration', 'units')
1461
+ __field_names__ = ('budget', 'duration', 'units')
1462
+ budget = sgqlc.types.Field(BudgetConfigurationInput, graphql_name='budget')
1462
1463
  duration = sgqlc.types.Field(Float, graphql_name='duration')
1463
1464
  units = sgqlc.types.Field(TrialPeriodUnits, graphql_name='units')
1464
1465
 
@@ -2464,8 +2465,7 @@ class PackageGroupStatusFilterComparison(sgqlc.types.Input):
2464
2465
 
2465
2466
  class PackagePricingInput(sgqlc.types.Input):
2466
2467
  __schema__ = schema
2467
- __field_names__ = ('budget', 'environment_id', 'minimum_spend', 'overage_billing_period', 'overage_pricing_models', 'package_id', 'pricing_model', 'pricing_models', 'pricing_type')
2468
- budget = sgqlc.types.Field(BudgetConfigurationInput, graphql_name='budget')
2468
+ __field_names__ = ('environment_id', 'minimum_spend', 'overage_billing_period', 'overage_pricing_models', 'package_id', 'pricing_model', 'pricing_models', 'pricing_type')
2469
2469
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
2470
2470
  minimum_spend = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(MinimumSpendInput)), graphql_name='minimumSpend')
2471
2471
  overage_billing_period = sgqlc.types.Field(OverageBillingPeriod, graphql_name='overageBillingPeriod')
@@ -4475,14 +4475,6 @@ class BudgetConfiguration(sgqlc.types.Type):
4475
4475
  limit = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='limit')
4476
4476
 
4477
4477
 
4478
- class BudgetConfigurationChange(sgqlc.types.Type):
4479
- __schema__ = schema
4480
- __field_names__ = ('after', 'before', 'change_type')
4481
- after = sgqlc.types.Field(BudgetConfiguration, graphql_name='after')
4482
- before = sgqlc.types.Field(BudgetConfiguration, graphql_name='before')
4483
- change_type = sgqlc.types.Field(ChangeType, graphql_name='changeType')
4484
-
4485
-
4486
4478
  class CannotDeleteCustomerError(sgqlc.types.Type):
4487
4479
  __schema__ = schema
4488
4480
  __field_names__ = ('code', 'is_validation_error', 'ref_id')
@@ -5223,7 +5215,8 @@ class DateRange(sgqlc.types.Type):
5223
5215
 
5224
5216
  class DefaultTrialConfig(sgqlc.types.Type):
5225
5217
  __schema__ = schema
5226
- __field_names__ = ('duration', 'units')
5218
+ __field_names__ = ('budget', 'duration', 'units')
5219
+ budget = sgqlc.types.Field(BudgetConfiguration, graphql_name='budget')
5227
5220
  duration = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='duration')
5228
5221
  units = sgqlc.types.Field(sgqlc.types.non_null(TrialPeriodUnits), graphql_name='units')
5229
5222
 
@@ -5889,10 +5882,11 @@ class IdentityForbiddenError(sgqlc.types.Type):
5889
5882
 
5890
5883
  class ImmediateSubscriptionPreviewInvoice(sgqlc.types.Type):
5891
5884
  __schema__ = schema
5892
- __field_names__ = ('credits', 'discount', 'discount_details', 'proration', 'sub_total', 'tax', 'tax_details', 'total', 'total_excluding_tax')
5885
+ __field_names__ = ('credits', 'discount', 'discount_details', 'minimum_spend_adjustment', 'proration', 'sub_total', 'tax', 'tax_details', 'total', 'total_excluding_tax')
5893
5886
  credits = sgqlc.types.Field('SubscriptionPreviewCredits', graphql_name='credits')
5894
5887
  discount = sgqlc.types.Field('Money', graphql_name='discount')
5895
5888
  discount_details = sgqlc.types.Field('SubscriptionPreviewDiscount', graphql_name='discountDetails')
5889
+ minimum_spend_adjustment = sgqlc.types.Field(sgqlc.types.non_null('Money'), graphql_name='minimumSpendAdjustment')
5896
5890
  proration = sgqlc.types.Field('SubscriptionPreviewProrations', graphql_name='proration')
5897
5891
  sub_total = sgqlc.types.Field(sgqlc.types.non_null('Money'), graphql_name='subTotal')
5898
5892
  tax = sgqlc.types.Field('Money', graphql_name='tax')
@@ -6795,10 +6789,9 @@ class PackageAlreadyPublishedError(sgqlc.types.Type):
6795
6789
 
6796
6790
  class PackageChanges(sgqlc.types.Type):
6797
6791
  __schema__ = schema
6798
- __field_names__ = ('additional_meta_data', 'base_plan', 'budget', 'compatible_addons', 'compatible_package_groups', 'default_trial_config', 'dependencies', 'description', 'display_name', 'entitlements', 'hidden_from_widgets', 'max_quantity', 'minimum_spend', 'overage_prices', 'prices', 'pricing_type', 'total_changes')
6792
+ __field_names__ = ('additional_meta_data', 'base_plan', 'compatible_addons', 'compatible_package_groups', 'default_trial_config', 'dependencies', 'description', 'display_name', 'entitlements', 'hidden_from_widgets', 'max_quantity', 'minimum_spend', 'overage_prices', 'prices', 'pricing_type', 'total_changes')
6799
6793
  additional_meta_data = sgqlc.types.Field(AdditionalMetaDataChange, graphql_name='additionalMetaData')
6800
6794
  base_plan = sgqlc.types.Field(BasePlanChange, graphql_name='basePlan')
6801
- budget = sgqlc.types.Field(BudgetConfigurationChange, graphql_name='budget')
6802
6795
  compatible_addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanCompatibleAddonChange')), graphql_name='compatibleAddons')
6803
6796
  compatible_package_groups = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanCompatiblePackageGroupChange')), graphql_name='compatiblePackageGroups')
6804
6797
  default_trial_config = sgqlc.types.Field(DefaultTrialConfigChange, graphql_name='defaultTrialConfig')
@@ -7262,13 +7255,12 @@ class PaywallProduct(sgqlc.types.Type):
7262
7255
 
7263
7256
  class Plan(sgqlc.types.Type):
7264
7257
  __schema__ = schema
7265
- __field_names__ = ('additional_meta_data', 'aws_marketplace_plan_dimension', 'base_plan', 'billing_id', 'billing_link_url', 'budget', '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')
7258
+ __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')
7266
7259
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
7267
7260
  aws_marketplace_plan_dimension = sgqlc.types.Field(String, graphql_name='awsMarketplacePlanDimension')
7268
7261
  base_plan = sgqlc.types.Field('Plan', graphql_name='basePlan')
7269
7262
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
7270
7263
  billing_link_url = sgqlc.types.Field(String, graphql_name='billingLinkUrl')
7271
- budget = sgqlc.types.Field(BudgetConfiguration, graphql_name='budget')
7272
7264
  compatible_addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Addon)), graphql_name='compatibleAddons', args=sgqlc.types.ArgDict((
7273
7265
  ('filter', sgqlc.types.Arg(AddonFilter, graphql_name='filter', default={})),
7274
7266
  ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(AddonSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
@@ -8612,13 +8604,14 @@ class SubscriptionMustHaveSinglePlanError(sgqlc.types.Type):
8612
8604
 
8613
8605
  class SubscriptionPreview(sgqlc.types.Type):
8614
8606
  __schema__ = schema
8615
- __field_names__ = ('billing_period_range', 'credits', 'discount', 'discount_amount', 'has_scheduled_updates', 'is_plan_downgrade', 'proration', 'sub_total', 'subscription', 'tax', 'tax_details', 'total', 'total_excluding_tax')
8607
+ __field_names__ = ('billing_period_range', 'credits', 'discount', 'discount_amount', 'has_scheduled_updates', 'is_plan_downgrade', 'minimum_spend_adjustment', 'proration', 'sub_total', 'subscription', 'tax', 'tax_details', 'total', 'total_excluding_tax')
8616
8608
  billing_period_range = sgqlc.types.Field(sgqlc.types.non_null(DateRange), graphql_name='billingPeriodRange')
8617
8609
  credits = sgqlc.types.Field('SubscriptionPreviewCredits', graphql_name='credits')
8618
8610
  discount = sgqlc.types.Field('SubscriptionPreviewDiscount', graphql_name='discount')
8619
8611
  discount_amount = sgqlc.types.Field(Money, graphql_name='discountAmount')
8620
8612
  has_scheduled_updates = sgqlc.types.Field(Boolean, graphql_name='hasScheduledUpdates')
8621
8613
  is_plan_downgrade = sgqlc.types.Field(Boolean, graphql_name='isPlanDowngrade')
8614
+ minimum_spend_adjustment = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='minimumSpendAdjustment')
8622
8615
  proration = sgqlc.types.Field('SubscriptionPreviewProrations', graphql_name='proration')
8623
8616
  sub_total = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='subTotal')
8624
8617
  subscription = sgqlc.types.Field('SubscriptionPricePreviewDTO', graphql_name='subscription')
@@ -8647,9 +8640,10 @@ class SubscriptionPreviewDiscount(sgqlc.types.Type):
8647
8640
 
8648
8641
  class SubscriptionPreviewInvoice(sgqlc.types.Type):
8649
8642
  __schema__ = schema
8650
- __field_names__ = ('discount', 'discount_details', 'sub_total', 'tax', 'tax_details', 'total', 'total_excluding_tax')
8643
+ __field_names__ = ('discount', 'discount_details', 'minimum_spend_adjustment', 'sub_total', 'tax', 'tax_details', 'total', 'total_excluding_tax')
8651
8644
  discount = sgqlc.types.Field(Money, graphql_name='discount')
8652
8645
  discount_details = sgqlc.types.Field(SubscriptionPreviewDiscount, graphql_name='discountDetails')
8646
+ minimum_spend_adjustment = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='minimumSpendAdjustment')
8653
8647
  sub_total = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='subTotal')
8654
8648
  tax = sgqlc.types.Field(Money, graphql_name='tax')
8655
8649
  tax_details = sgqlc.types.Field('SubscriptionPreviewTaxDetails', graphql_name='taxDetails')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 1.134.0
3
+ Version: 1.139.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=YYFd__FKVvXq8EWFFQj7_uhGyoQWRkKeUEa-cqME1TA,68704
5
- stigg/generated/schema.py,sha256=962tE80PBGVpwRyUKNN5AMcVtxJYRyhU-i-TAgS_W-8,579322
6
- stigg_api_client-1.134.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-1.134.0.dist-info/METADATA,sha256=qQ6MSPrKK45t-Pry5SB79R4jCABU6LdzXc8VX9ZiY8Q,3198
8
- stigg_api_client-1.134.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-1.134.0.dist-info/RECORD,,
5
+ stigg/generated/schema.py,sha256=u6Afvt_z1N2pnGDZVgffP91ST565OBUcoFkivGvaUw0,579311
6
+ stigg_api_client-1.139.2.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-1.139.2.dist-info/METADATA,sha256=t3FK1Vx9eVu4srXwC2SW5FtkOxBqJCNv9QNn4H0_guA,3198
8
+ stigg_api_client-1.139.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-1.139.2.dist-info/RECORD,,