stigg-api-client 1.151.0__py3-none-any.whl → 1.157.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')
@@ -2005,7 +2010,7 @@ class ImportCustomerBulk(sgqlc.types.Input):
2005
2010
 
2006
2011
  class ImportCustomerInput(sgqlc.types.Input):
2007
2012
  __schema__ = schema
2008
- __field_names__ = ('additional_meta_data', 'billing_id', 'customer_id', 'email', 'environment_id', 'name', 'payment_method_id', 'ref_id')
2013
+ __field_names__ = ('additional_meta_data', 'billing_id', 'customer_id', 'email', 'environment_id', 'name', 'payment_method_id', 'ref_id', 'updated_at')
2009
2014
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
2010
2015
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
2011
2016
  customer_id = sgqlc.types.Field(String, graphql_name='customerId')
@@ -2014,6 +2019,7 @@ class ImportCustomerInput(sgqlc.types.Input):
2014
2019
  name = sgqlc.types.Field(String, graphql_name='name')
2015
2020
  payment_method_id = sgqlc.types.Field(String, graphql_name='paymentMethodId')
2016
2021
  ref_id = sgqlc.types.Field(String, graphql_name='refId')
2022
+ updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
2017
2023
 
2018
2024
 
2019
2025
  class ImportIntegrationCatalogInput(sgqlc.types.Input):
@@ -2064,7 +2070,7 @@ class ImportIntegrationTaskSort(sgqlc.types.Input):
2064
2070
 
2065
2071
  class ImportSubscriptionInput(sgqlc.types.Input):
2066
2072
  __schema__ = schema
2067
- __field_names__ = ('additional_meta_data', 'billing_id', 'billing_period', 'customer_id', 'plan_id', 'resource_id', 'start_date', 'unit_quantity')
2073
+ __field_names__ = ('additional_meta_data', 'billing_id', 'billing_period', 'customer_id', 'plan_id', 'resource_id', 'start_date', 'unit_quantity', 'updated_at')
2068
2074
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
2069
2075
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
2070
2076
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
@@ -2073,6 +2079,7 @@ class ImportSubscriptionInput(sgqlc.types.Input):
2073
2079
  resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
2074
2080
  start_date = sgqlc.types.Field(DateTime, graphql_name='startDate')
2075
2081
  unit_quantity = sgqlc.types.Field(Float, graphql_name='unitQuantity')
2082
+ updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
2076
2083
 
2077
2084
 
2078
2085
  class ImportSubscriptionsBulk(sgqlc.types.Input):
@@ -8533,10 +8540,11 @@ class SubscriptionFutureUpdate(sgqlc.types.Type):
8533
8540
 
8534
8541
  class SubscriptionInvoice(sgqlc.types.Type):
8535
8542
  __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')
8543
+ __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
8544
  amount_due = sgqlc.types.Field(Float, graphql_name='amountDue')
8538
8545
  applied_balance = sgqlc.types.Field(Float, graphql_name='appliedBalance')
8539
8546
  billing_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='billingId')
8547
+ billing_reason = sgqlc.types.Field(SubscriptionInvoiceBillingReason, graphql_name='billingReason')
8540
8548
  created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='createdAt')
8541
8549
  currency = sgqlc.types.Field(String, graphql_name='currency')
8542
8550
  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.151.0
3
+ Version: 1.157.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=GaKXZ5xBXeHmNI_S37w3OBgP_kCsH2E65reVilVJy08,582989
6
+ stigg_api_client-1.157.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-1.157.0.dist-info/METADATA,sha256=H8GIwgPqX0jK84RIUTA1z2evcIgIWftTac-vxKRosFQ,3198
8
+ stigg_api_client-1.157.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-1.157.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=afam-HYDaTsMpt8zdN6DUyoRz2tpgbh3s3OPHbVpaZY,582476
6
- stigg_api_client-1.151.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-1.151.0.dist-info/METADATA,sha256=RC90t_T4sqr249ghaZIU0bD95nC-NotBpG_c95Hynb8,3198
8
- stigg_api_client-1.151.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-1.151.0.dist-info/RECORD,,