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

@@ -283,6 +283,7 @@ def fragment_subscription_invoice_fragment():
283
283
  _frag.payment_url()
284
284
  _frag.payment_secret()
285
285
  _frag.error_message()
286
+ _frag.billing_reason()
286
287
  return _frag
287
288
 
288
289
 
stigg/generated/schema.py CHANGED
@@ -415,6 +415,11 @@ class SubscriptionEntitlementSortFields(sgqlc.types.Enum):
415
415
  __choices__ = ('createdAt', 'environmentId', 'id', 'subscriptionId', 'updatedAt')
416
416
 
417
417
 
418
+ class SubscriptionInvoiceBillingReason(sgqlc.types.Enum):
419
+ __schema__ = schema
420
+ __choices__ = ('BILLING_CYCLE', 'MANUAL', 'MINIMUM_INVOICE_AMOUNT_EXCEEDED', 'OTHER', 'SUBSCRIPTION_CREATION', 'SUBSCRIPTION_UPDATE')
421
+
422
+
418
423
  class SubscriptionInvoiceStatus(sgqlc.types.Enum):
419
424
  __schema__ = schema
420
425
  __choices__ = ('CANCELED', 'OPEN', 'PAID')
@@ -7217,7 +7222,7 @@ class PaywallLayoutConfiguration(sgqlc.types.Type):
7217
7222
 
7218
7223
  class PaywallPlan(sgqlc.types.Type):
7219
7224
  __schema__ = schema
7220
- __field_names__ = ('additional_meta_data', 'base_plan', 'billing_id', 'compatible_addons', 'compatible_package_groups', 'default_trial_config', 'description', 'display_name', 'entitlements', 'inherited_entitlements', 'prices', 'pricing_type', 'product', 'ref_id')
7225
+ __field_names__ = ('additional_meta_data', 'base_plan', 'billing_id', 'compatible_addons', 'compatible_package_groups', 'default_trial_config', 'description', 'display_name', 'entitlements', 'inherited_entitlements', 'minimum_spend', 'prices', 'pricing_type', 'product', 'ref_id')
7221
7226
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
7222
7227
  base_plan = sgqlc.types.Field(PaywallBasePlan, graphql_name='basePlan')
7223
7228
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
@@ -7228,6 +7233,7 @@ class PaywallPlan(sgqlc.types.Type):
7228
7233
  display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
7229
7234
  entitlements = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Entitlement)), graphql_name='entitlements')
7230
7235
  inherited_entitlements = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Entitlement)), graphql_name='inheritedEntitlements')
7236
+ minimum_spend = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(MinimumSpend)), graphql_name='minimumSpend')
7231
7237
  prices = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PaywallPrice'))), graphql_name='prices')
7232
7238
  pricing_type = sgqlc.types.Field(PricingType, graphql_name='pricingType')
7233
7239
  product = sgqlc.types.Field(sgqlc.types.non_null('PaywallProduct'), graphql_name='product')
@@ -8532,10 +8538,11 @@ class SubscriptionFutureUpdate(sgqlc.types.Type):
8532
8538
 
8533
8539
  class SubscriptionInvoice(sgqlc.types.Type):
8534
8540
  __schema__ = schema
8535
- __field_names__ = ('amount_due', 'applied_balance', 'billing_id', 'created_at', 'currency', 'ending_balance', 'error_message', 'lines', 'payment_secret', 'payment_url', 'pdf_url', 'requires_action', 'starting_balance', 'status', 'sub_total', 'sub_total_excluding_tax', 'tax', 'total', 'total_excluding_tax', 'updated_at')
8541
+ __field_names__ = ('amount_due', 'applied_balance', 'billing_id', 'billing_reason', 'created_at', 'currency', 'ending_balance', 'error_message', 'lines', 'payment_secret', 'payment_url', 'pdf_url', 'requires_action', 'starting_balance', 'status', 'sub_total', 'sub_total_excluding_tax', 'tax', 'total', 'total_excluding_tax', 'updated_at')
8536
8542
  amount_due = sgqlc.types.Field(Float, graphql_name='amountDue')
8537
8543
  applied_balance = sgqlc.types.Field(Float, graphql_name='appliedBalance')
8538
8544
  billing_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='billingId')
8545
+ billing_reason = sgqlc.types.Field(SubscriptionInvoiceBillingReason, graphql_name='billingReason')
8539
8546
  created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='createdAt')
8540
8547
  currency = sgqlc.types.Field(String, graphql_name='currency')
8541
8548
  ending_balance = sgqlc.types.Field(Float, graphql_name='endingBalance')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 1.150.1
3
+ Version: 1.156.0
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -0,0 +1,9 @@
1
+ stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
+ stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
3
+ stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ stigg/generated/operations.py,sha256=mA401xlRgdYJDGJORvOQi89zw69K1dFQtkdVvGMzFBQ,68731
5
+ stigg/generated/schema.py,sha256=FzUGnZNk5_-8zBiGEO8aRjeESkE7lB089ZMmDfvn6NI,582819
6
+ stigg_api_client-1.156.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-1.156.0.dist-info/METADATA,sha256=_Gqf_1CbKtUssqL0qvvQnzHBrP1_jhSxBAFhrT7I5es,3198
8
+ stigg_api_client-1.156.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-1.156.0.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
- stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
3
- stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- stigg/generated/operations.py,sha256=YYFd__FKVvXq8EWFFQj7_uhGyoQWRkKeUEa-cqME1TA,68704
5
- stigg/generated/schema.py,sha256=x_tvl-H8LNAkPkuxCGql9Wf9jU5EWPvD4ubRkLcsajk,582335
6
- stigg_api_client-1.150.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-1.150.1.dist-info/METADATA,sha256=MeV_umepnoNsR14QPNnreJACfQblDqDCZrxxYxSHAXs,3198
8
- stigg_api_client-1.150.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-1.150.1.dist-info/RECORD,,