stigg-api-client 2.179.0__tar.gz → 2.183.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: 2.179.0
3
+ Version: 2.183.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 = "2.179.0"
3
+ version = "2.183.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -490,6 +490,11 @@ class SubscriptionStatus(sgqlc.types.Enum):
490
490
  __choices__ = ('ACTIVE', 'CANCELED', 'EXPIRED', 'IN_TRIAL', 'NOT_STARTED', 'PAYMENT_PENDING')
491
491
 
492
492
 
493
+ class SubscriptionUpdateUsageCutoffBehavior(sgqlc.types.Enum):
494
+ __schema__ = schema
495
+ __choices__ = ('ALWAYS_RESET', 'BILLING_PERIOD_CHANGE', 'NEVER_RESET')
496
+
497
+
493
498
  class SyncStatus(sgqlc.types.Enum):
494
499
  __schema__ = schema
495
500
  __choices__ = ('ERROR', 'NO_SYNC_REQUIRED', 'PENDING', 'SUCCESS')
@@ -1152,7 +1157,7 @@ class CreateOneProductInput(sgqlc.types.Input):
1152
1157
 
1153
1158
  class CreateOrUpdateAwsMarketplaceProductInput(sgqlc.types.Input):
1154
1159
  __schema__ = schema
1155
- __field_names__ = ('additional_meta_data', 'auto_cancellation_rules', 'aws_dimensions_mapping', 'aws_product_id', 'description', 'display_name', 'environment_id', 'multiple_subscriptions', 'product_id', 'product_settings', 'ref_id')
1160
+ __field_names__ = ('additional_meta_data', 'auto_cancellation_rules', 'aws_dimensions_mapping', 'aws_product_id', 'description', 'display_name', 'environment_id', 'multiple_subscriptions', 'product_id', 'product_settings', 'ref_id', 'usage_reset_cutoff_rule')
1156
1161
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
1157
1162
  auto_cancellation_rules = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(AutoCancellationRuleInput)), graphql_name='autoCancellationRules')
1158
1163
  aws_dimensions_mapping = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('DimensionsMappingInput'))), graphql_name='awsDimensionsMapping')
@@ -1164,6 +1169,7 @@ class CreateOrUpdateAwsMarketplaceProductInput(sgqlc.types.Input):
1164
1169
  product_id = sgqlc.types.Field(String, graphql_name='productId')
1165
1170
  product_settings = sgqlc.types.Field('ProductSettingsInput', graphql_name='productSettings')
1166
1171
  ref_id = sgqlc.types.Field(String, graphql_name='refId')
1172
+ usage_reset_cutoff_rule = sgqlc.types.Field('SubscriptionUpdateUsageResetCutoffRuleInput', graphql_name='usageResetCutoffRule')
1167
1173
 
1168
1174
 
1169
1175
  class CreatePackageGroup(sgqlc.types.Input):
@@ -3031,13 +3037,14 @@ class ProductSort(sgqlc.types.Input):
3031
3037
 
3032
3038
  class ProductUpdateInput(sgqlc.types.Input):
3033
3039
  __schema__ = schema
3034
- __field_names__ = ('additional_meta_data', 'auto_cancellation_rules', 'description', 'display_name', 'multiple_subscriptions', 'product_settings')
3040
+ __field_names__ = ('additional_meta_data', 'auto_cancellation_rules', 'description', 'display_name', 'multiple_subscriptions', 'product_settings', 'usage_reset_cutoff_rule')
3035
3041
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3036
3042
  auto_cancellation_rules = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(AutoCancellationRuleInput)), graphql_name='autoCancellationRules')
3037
3043
  description = sgqlc.types.Field(String, graphql_name='description')
3038
3044
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
3039
3045
  multiple_subscriptions = sgqlc.types.Field(Boolean, graphql_name='multipleSubscriptions')
3040
3046
  product_settings = sgqlc.types.Field(ProductSettingsInput, graphql_name='productSettings')
3047
+ usage_reset_cutoff_rule = sgqlc.types.Field('SubscriptionUpdateUsageResetCutoffRuleInput', graphql_name='usageResetCutoffRule')
3041
3048
 
3042
3049
 
3043
3050
  class PromotionalEntitlementFilter(sgqlc.types.Input):
@@ -3875,6 +3882,12 @@ class SubscriptionUpdateScheduleCancellationInput(sgqlc.types.Input):
3875
3882
  subscription_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionId')
3876
3883
 
3877
3884
 
3885
+ class SubscriptionUpdateUsageResetCutoffRuleInput(sgqlc.types.Input):
3886
+ __schema__ = schema
3887
+ __field_names__ = ('behavior',)
3888
+ behavior = sgqlc.types.Field(sgqlc.types.non_null(SubscriptionUpdateUsageCutoffBehavior), graphql_name='behavior')
3889
+
3890
+
3878
3891
  class SyncTaxRatesInput(sgqlc.types.Input):
3879
3892
  __schema__ = schema
3880
3893
  __field_names__ = ('environment_id',)
@@ -7970,7 +7983,7 @@ class PricingTypeChange(sgqlc.types.Type):
7970
7983
 
7971
7984
  class Product(sgqlc.types.Type):
7972
7985
  __schema__ = schema
7973
- __field_names__ = ('additional_meta_data', 'addons', 'auto_cancellation_rules', 'aws_marketplace_product_code', 'aws_marketplace_product_id', 'created_at', 'description', 'display_name', 'downgrade_plan', 'environment', 'environment_id', 'has_subscriptions', 'id', 'is_default_product', 'multiple_subscriptions', 'plans', 'product_settings', 'ref_id', 'subscription_start_plan', 'updated_at')
7986
+ __field_names__ = ('additional_meta_data', 'addons', 'auto_cancellation_rules', 'aws_marketplace_product_code', 'aws_marketplace_product_id', 'created_at', 'description', 'display_name', 'downgrade_plan', 'environment', 'environment_id', 'has_subscriptions', 'id', 'is_default_product', 'multiple_subscriptions', 'plans', 'product_settings', 'ref_id', 'subscription_start_plan', 'subscription_update_usage_reset_cutoff_rule', 'updated_at')
7974
7987
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
7975
7988
  addons = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(Addon))), graphql_name='addons')
7976
7989
  auto_cancellation_rules = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(AutoCancellationRule))), graphql_name='autoCancellationRules')
@@ -7990,6 +8003,7 @@ class Product(sgqlc.types.Type):
7990
8003
  product_settings = sgqlc.types.Field(sgqlc.types.non_null('ProductSettings'), graphql_name='productSettings')
7991
8004
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
7992
8005
  subscription_start_plan = sgqlc.types.Field(Plan, graphql_name='subscriptionStartPlan')
8006
+ subscription_update_usage_reset_cutoff_rule = sgqlc.types.Field(sgqlc.types.non_null('SubscriptionUpdateUsageResetCutoffRule'), graphql_name='subscriptionUpdateUsageResetCutoffRule')
7993
8007
  updated_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='updatedAt')
7994
8008
 
7995
8009
 
@@ -9268,6 +9282,12 @@ class SubscriptionScheduledUpdate(sgqlc.types.Type):
9268
9282
  target_package = sgqlc.types.Field(PackageDTO, graphql_name='targetPackage')
9269
9283
 
9270
9284
 
9285
+ class SubscriptionUpdateUsageResetCutoffRule(sgqlc.types.Type):
9286
+ __schema__ = schema
9287
+ __field_names__ = ('behavior',)
9288
+ behavior = sgqlc.types.Field(sgqlc.types.non_null(SubscriptionUpdateUsageCutoffBehavior), graphql_name='behavior')
9289
+
9290
+
9271
9291
  class SyncState(sgqlc.types.Type):
9272
9292
  __schema__ = schema
9273
9293
  __field_names__ = ('error', 'status', 'vendor_identifier')