stigg-api-client 1.151.0__tar.gz → 1.156.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: 1.151.0
3
+ Version: 1.156.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 = "1.151.0"
3
+ version = "1.156.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -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
 
@@ -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')
@@ -8533,10 +8538,11 @@ class SubscriptionFutureUpdate(sgqlc.types.Type):
8533
8538
 
8534
8539
  class SubscriptionInvoice(sgqlc.types.Type):
8535
8540
  __schema__ = schema
8536
- __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')
8537
8542
  amount_due = sgqlc.types.Field(Float, graphql_name='amountDue')
8538
8543
  applied_balance = sgqlc.types.Field(Float, graphql_name='appliedBalance')
8539
8544
  billing_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='billingId')
8545
+ billing_reason = sgqlc.types.Field(SubscriptionInvoiceBillingReason, graphql_name='billingReason')
8540
8546
  created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='createdAt')
8541
8547
  currency = sgqlc.types.Field(String, graphql_name='currency')
8542
8548
  ending_balance = sgqlc.types.Field(Float, graphql_name='endingBalance')