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

@@ -212,6 +212,8 @@ def fragment_slim_subscription_fragment_v2():
212
212
  _frag.current_billing_period_end()
213
213
  _frag_customer = _frag.customer()
214
214
  _frag_customer.customer_id()
215
+ _frag_paying_customer = _frag.paying_customer()
216
+ _frag_paying_customer.customer_id()
215
217
  _frag_resource = _frag.resource()
216
218
  _frag_resource.resource_id()
217
219
  _frag_plan = _frag.plan()
@@ -245,8 +247,8 @@ def fragment_slim_subscription_fragment():
245
247
  _frag_experiment_info = _frag.experiment_info()
246
248
  _frag_experiment_info.name()
247
249
  _frag_experiment_info.id()
248
- _frag_experiment_info.group_name()
249
250
  _frag_experiment_info.group_type()
251
+ _frag_experiment_info.group_name()
250
252
  _frag_prices = _frag.prices()
251
253
  _frag_prices.usage_limit()
252
254
  _frag_prices_price = _frag_prices.price()
@@ -321,6 +323,8 @@ def fragment_subscription_fragment():
321
323
  _frag = sgqlc.operation.Fragment(_schema.CustomerSubscription, 'SubscriptionFragment')
322
324
  _frag.id()
323
325
  _frag.subscription_id()
326
+ _frag_paying_customer = _frag.paying_customer()
327
+ _frag_paying_customer.__fragment__(fragment_slim_customer_fragment())
324
328
  _frag.start_date()
325
329
  _frag.end_date()
326
330
  _frag.trial_end_date()
stigg/generated/schema.py CHANGED
@@ -1399,7 +1399,7 @@ class CustomerSort(sgqlc.types.Input):
1399
1399
 
1400
1400
  class CustomerSubscriptionFilter(sgqlc.types.Input):
1401
1401
  __schema__ = schema
1402
- __field_names__ = ('addons', 'and_', 'billing_cycle_anchor', 'billing_id', 'cancel_reason', 'cancellation_date', 'created_at', 'crm_id', 'crm_link_url', 'current_billing_period_end', 'current_billing_period_start', 'customer', 'customer_id', 'effective_end_date', 'end_date', 'environment_id', 'id', 'old_billing_id', 'or_', 'payment_collection', 'plan', 'prices', 'pricing_type', 'ref_id', 'resource', 'resource_id', 'start_date', 'status', 'subscription_entitlements', 'subscription_id', 'trial_end_date')
1402
+ __field_names__ = ('addons', 'and_', 'billing_cycle_anchor', 'billing_id', 'cancel_reason', 'cancellation_date', 'created_at', 'crm_id', 'crm_link_url', 'current_billing_period_end', 'current_billing_period_start', 'customer', 'customer_id', 'effective_end_date', 'end_date', 'environment_id', 'id', 'old_billing_id', 'or_', 'paying_customer', 'payment_collection', 'plan', 'prices', 'pricing_type', 'ref_id', 'resource', 'resource_id', 'start_date', 'status', 'subscription_entitlements', 'subscription_id', 'trial_end_date')
1403
1403
  addons = sgqlc.types.Field('CustomerSubscriptionFilterSubscriptionAddonFilter', graphql_name='addons')
1404
1404
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('CustomerSubscriptionFilter')), graphql_name='and')
1405
1405
  billing_cycle_anchor = sgqlc.types.Field('DateFieldComparison', graphql_name='billingCycleAnchor')
@@ -1419,6 +1419,7 @@ class CustomerSubscriptionFilter(sgqlc.types.Input):
1419
1419
  id = sgqlc.types.Field('StringFieldComparison', graphql_name='id')
1420
1420
  old_billing_id = sgqlc.types.Field('StringFieldComparison', graphql_name='oldBillingId')
1421
1421
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('CustomerSubscriptionFilter')), graphql_name='or')
1422
+ paying_customer = sgqlc.types.Field('CustomerSubscriptionFilterCustomerFilter', graphql_name='payingCustomer')
1422
1423
  payment_collection = sgqlc.types.Field('PaymentCollectionFilterComparison', graphql_name='paymentCollection')
1423
1424
  plan = sgqlc.types.Field('CustomerSubscriptionFilterPlanFilter', graphql_name='plan')
1424
1425
  prices = sgqlc.types.Field('CustomerSubscriptionFilterSubscriptionPriceFilter', graphql_name='prices')
@@ -5263,7 +5264,7 @@ class CustomerStatistics(sgqlc.types.Type):
5263
5264
 
5264
5265
  class CustomerSubscription(sgqlc.types.Type):
5265
5266
  __schema__ = schema
5266
- __field_names__ = ('additional_meta_data', 'addons', 'billing_cycle_anchor', 'billing_id', 'billing_link_url', 'billing_sync_error', 'budget', 'budget_exceeded', 'cancel_reason', 'cancellation_date', 'coupon', 'created_at', 'crm_id', 'crm_link_url', 'current_billing_period_end', 'current_billing_period_start', 'customer', 'customer_id', 'effective_end_date', 'end_date', 'environment', 'environment_id', 'experiment', 'experiment_info', 'free_items', 'future_updates', 'id', 'is_custom_price_subscription', 'last_usage_invoice', 'latest_invoice', 'minimum_spend', 'old_billing_id', 'outdated_price_packages', 'payment_collection', 'payment_collection_method', 'plan', 'prices', 'pricing_type', 'ref_id', 'resource', 'resource_id', 'salesforce_id', 'scheduled_updates', 'start_date', 'status', 'subscription_entitlements', 'subscription_id', 'sync_states', 'total_price', 'trial_end_date', 'was_in_trial')
5267
+ __field_names__ = ('additional_meta_data', 'addons', 'billing_cycle_anchor', 'billing_id', 'billing_link_url', 'billing_sync_error', 'budget', 'budget_exceeded', 'cancel_reason', 'cancellation_date', 'coupon', 'created_at', 'crm_id', 'crm_link_url', 'current_billing_period_end', 'current_billing_period_start', 'customer', 'customer_id', 'effective_end_date', 'end_date', 'environment', 'environment_id', 'experiment', 'experiment_info', 'free_items', 'future_updates', 'id', 'is_custom_price_subscription', 'last_usage_invoice', 'latest_invoice', 'minimum_spend', 'old_billing_id', 'outdated_price_packages', 'paying_customer', 'payment_collection', 'payment_collection_method', 'plan', 'prices', 'pricing_type', 'ref_id', 'resource', 'resource_id', 'salesforce_id', 'scheduled_updates', 'start_date', 'status', 'subscription_entitlements', 'subscription_id', 'sync_states', 'total_price', 'trial_end_date', 'was_in_trial')
5267
5268
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
5268
5269
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddon')), graphql_name='addons', args=sgqlc.types.ArgDict((
5269
5270
  ('filter', sgqlc.types.Arg(SubscriptionAddonFilter, graphql_name='filter', default={})),
@@ -5301,6 +5302,7 @@ class CustomerSubscription(sgqlc.types.Type):
5301
5302
  minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpend', graphql_name='minimumSpend')
5302
5303
  old_billing_id = sgqlc.types.Field(String, graphql_name='oldBillingId')
5303
5304
  outdated_price_packages = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='outdatedPricePackages')
5305
+ paying_customer = sgqlc.types.Field(Customer, graphql_name='payingCustomer')
5304
5306
  payment_collection = sgqlc.types.Field(sgqlc.types.non_null(PaymentCollection), graphql_name='paymentCollection')
5305
5307
  payment_collection_method = sgqlc.types.Field(PaymentCollectionMethod, graphql_name='paymentCollectionMethod')
5306
5308
  plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='plan')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.100.0
3
+ Version: 2.100.2
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=qE2Xzpypr938ehE2FeA1212q31EE9H4Sj7SDiCWOiTA,74805
5
+ stigg/generated/schema.py,sha256=3CSvo6rKJ0DQBeG82lY1MySeZ59e8TD0AKNiv4NQ-bU,612361
6
+ stigg_api_client-2.100.2.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-2.100.2.dist-info/METADATA,sha256=FsQ-i4NqTTml6COOecSjs-vZMRb3iv4QsNbwdck3pRo,3198
8
+ stigg_api_client-2.100.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-2.100.2.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=nBXM5BdWvFIFR7G8fRFI1iSbUuqAWDz2SbgGjoZWzxY,74587
5
- stigg/generated/schema.py,sha256=Cgl2y84JHwMR7pqqsgS57vX6NfwosVYdlfzUXQIc4XM,612127
6
- stigg_api_client-2.100.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-2.100.0.dist-info/METADATA,sha256=5kf5rwf9KY-IvZQoVNzgnposotdoyuqAW31p6IBzXcw,3198
8
- stigg_api_client-2.100.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-2.100.0.dist-info/RECORD,,