stigg-api-client 0.541.0__py3-none-any.whl → 0.544.1__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.

@@ -31,6 +31,15 @@ def fragment_coupon_fragment():
31
31
  return _frag
32
32
 
33
33
 
34
+ def fragment_price_tier_fragment():
35
+ _frag = sgqlc.operation.Fragment(_schema.PriceTier, 'PriceTierFragment')
36
+ _frag.up_to()
37
+ _frag_unit_price = _frag.unit_price()
38
+ _frag_unit_price.amount()
39
+ _frag_unit_price.currency()
40
+ return _frag
41
+
42
+
34
43
  def fragment_price_fragment():
35
44
  _frag = sgqlc.operation.Fragment(_schema.Price, 'PriceFragment')
36
45
  _frag.billing_model()
@@ -44,10 +53,7 @@ def fragment_price_fragment():
44
53
  _frag_price.currency()
45
54
  _frag.tiers_mode()
46
55
  _frag_tiers = _frag.tiers()
47
- _frag_tiers.up_to()
48
- _frag_tiers_unit_price = _frag_tiers.unit_price()
49
- _frag_tiers_unit_price.amount()
50
- _frag_tiers_unit_price.currency()
56
+ _frag_tiers.__fragment__(fragment_price_tier_fragment())
51
57
  _frag_feature = _frag.feature()
52
58
  _frag_feature.ref_id()
53
59
  _frag_feature.feature_units()
@@ -239,6 +245,7 @@ def fragment_subscription_invoice_fragment():
239
245
  _frag.updated_at()
240
246
  _frag.requires_action()
241
247
  _frag.payment_url()
248
+ _frag.payment_secret()
242
249
  _frag.error_message()
243
250
  return _frag
244
251
 
@@ -635,6 +642,25 @@ def fragment_customer_portal_fragment():
635
642
  return _frag
636
643
 
637
644
 
645
+ def fragment_checkout_data_fragment():
646
+ _frag = sgqlc.operation.Fragment(_schema.CheckoutData, 'CheckoutDataFragment')
647
+ _frag.setup_secret()
648
+ _frag_customer = _frag.customer()
649
+ _frag_customer.__fragment__(fragment_customer_fragment())
650
+ _frag_active_subscription = _frag.active_subscription()
651
+ _frag_active_subscription.__fragment__(fragment_subscription_fragment())
652
+ _frag_resource = _frag.resource()
653
+ _frag_resource.__fragment__(fragment_customer_resource_fragment())
654
+ _frag_plan = _frag.plan()
655
+ _frag_plan.__fragment__(fragment_plan_fragment())
656
+ _frag_billing_integration = _frag.billing_integration()
657
+ _frag_billing_integration.billing_identifier()
658
+ _frag_billing_integration_credentials = _frag_billing_integration.credentials()
659
+ _frag_billing_integration_credentials.account_id()
660
+ _frag_billing_integration_credentials.public_key()
661
+ return _frag
662
+
663
+
638
664
  def fragment_customer_portal_configuration_fragment():
639
665
  _frag = sgqlc.operation.Fragment(_schema.CustomerPortalConfiguration, 'CustomerPortalConfigurationFragment')
640
666
  _frag_palette = _frag.palette()
@@ -844,10 +870,7 @@ def fragment_mock_paywall_price_fragment():
844
870
  _frag_price.currency()
845
871
  _frag.tiers_mode()
846
872
  _frag_tiers = _frag.tiers()
847
- _frag_tiers.up_to()
848
- _frag_tiers_unit_price = _frag_tiers.unit_price()
849
- _frag_tiers_unit_price.amount()
850
- _frag_tiers_unit_price.currency()
873
+ _frag_tiers.__fragment__(fragment_price_tier_fragment())
851
874
  _frag_feature = _frag.feature()
852
875
  _frag_feature.ref_id()
853
876
  _frag_feature.feature_units()
@@ -920,6 +943,7 @@ def fragment_usage_history_fragment():
920
943
 
921
944
  class Fragment:
922
945
  addon_fragment = fragment_addon_fragment()
946
+ checkout_data_fragment = fragment_checkout_data_fragment()
923
947
  coupon_fragment = fragment_coupon_fragment()
924
948
  customer_fragment = fragment_customer_fragment()
925
949
  customer_portal_billing_information = fragment_customer_portal_billing_information()
@@ -953,6 +977,7 @@ class Fragment:
953
977
  paywall_plan_fragment = fragment_paywall_plan_fragment()
954
978
  plan_fragment = fragment_plan_fragment()
955
979
  price_fragment = fragment_price_fragment()
980
+ price_tier_fragment = fragment_price_tier_fragment()
956
981
  product_fragment = fragment_product_fragment()
957
982
  promotional_entitlement_fragment = fragment_promotional_entitlement_fragment()
958
983
  reset_period_configuration_fragment = fragment_reset_period_configuration_fragment()
@@ -1010,6 +1035,14 @@ def mutation_provision_subscription():
1010
1035
  return _op
1011
1036
 
1012
1037
 
1038
+ def mutation_checkout():
1039
+ _op = sgqlc.operation.Operation(_schema_root.mutation_type, name='Checkout', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.CheckoutInput))))
1040
+ _op_checkout = _op.checkout(input=sgqlc.types.Variable('input'))
1041
+ _op_checkout_subscription = _op_checkout.subscription()
1042
+ _op_checkout_subscription.__fragment__(fragment_subscription_fragment())
1043
+ return _op
1044
+
1045
+
1013
1046
  def mutation_import_subscriptions_bulk():
1014
1047
  _op = sgqlc.operation.Operation(_schema_root.mutation_type, name='ImportSubscriptionsBulk', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.ImportSubscriptionsBulk))))
1015
1048
  _op.import_subscriptions_bulk(input=sgqlc.types.Variable('input'))
@@ -1104,6 +1137,7 @@ class Mutation:
1104
1137
  archive_customer = mutation_archive_customer()
1105
1138
  cancel_subscription = mutation_cancel_subscription()
1106
1139
  cancel_subscription_updates = mutation_cancel_subscription_updates()
1140
+ checkout = mutation_checkout()
1107
1141
  create_subscription = mutation_create_subscription()
1108
1142
  estimate_subscription = mutation_estimate_subscription()
1109
1143
  estimate_subscription_update = mutation_estimate_subscription_update()
@@ -1189,6 +1223,13 @@ def query_get_customer_portal_by_ref_id():
1189
1223
  return _op
1190
1224
 
1191
1225
 
1226
+ def query_checkout_data():
1227
+ _op = sgqlc.operation.Operation(_schema_root.query_type, name='CheckoutData', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.CheckoutDataInput))))
1228
+ _op_checkout_data = _op.checkout_data(input=sgqlc.types.Variable('input'))
1229
+ _op_checkout_data.__fragment__(fragment_checkout_data_fragment())
1230
+ return _op
1231
+
1232
+
1192
1233
  def query_get_mock_paywall():
1193
1234
  _op = sgqlc.operation.Operation(_schema_root.query_type, name='GetMockPaywall', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.GetPaywallInput))))
1194
1235
  _op_mock_paywall = _op.mock_paywall(input=sgqlc.types.Variable('input'))
@@ -1207,6 +1248,7 @@ def query_usage_history():
1207
1248
 
1208
1249
 
1209
1250
  class Query:
1251
+ checkout_data = query_checkout_data()
1210
1252
  get_active_subscriptions = query_get_active_subscriptions()
1211
1253
  get_coupons = query_get_coupons()
1212
1254
  get_customer_by_id = query_get_customer_by_id()
stigg/generated/schema.py CHANGED
@@ -65,6 +65,11 @@ class BillingPeriod(sgqlc.types.Enum):
65
65
  __choices__ = ('ANNUALLY', 'MONTHLY')
66
66
 
67
67
 
68
+ class BillingVendorIdentifier(sgqlc.types.Enum):
69
+ __schema__ = schema
70
+ __choices__ = ('STRIPE',)
71
+
72
+
68
73
  Boolean = sgqlc.types.Boolean
69
74
 
70
75
  class ChangeType(sgqlc.types.Enum):
@@ -457,7 +462,7 @@ class WeeklyAccordingTo(sgqlc.types.Enum):
457
462
 
458
463
  class WidgetType(sgqlc.types.Enum):
459
464
  __schema__ = schema
460
- __choices__ = ('CUSTOMER_PORTAL', 'PAYWALL')
465
+ __choices__ = ('CHECKOUT', 'CUSTOMER_PORTAL', 'PAYWALL')
461
466
 
462
467
 
463
468
  class experimentGroupType(sgqlc.types.Enum):
@@ -650,6 +655,35 @@ class BooleanFieldComparison(sgqlc.types.Input):
650
655
  is_not = sgqlc.types.Field(Boolean, graphql_name='isNot')
651
656
 
652
657
 
658
+ class CheckoutDataInput(sgqlc.types.Input):
659
+ __schema__ = schema
660
+ __field_names__ = ('billing_country_code', 'customer_id', 'plan_id', 'resource_id')
661
+ billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
662
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
663
+ plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
664
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
665
+
666
+
667
+ class CheckoutInput(sgqlc.types.Input):
668
+ __schema__ = schema
669
+ __field_names__ = ('additional_meta_data', 'addons', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'customer_id', 'payment_method_id', 'plan_id', 'promotion_code', 'resource_id', 'skip_trial', 'start_date', 'unit_quantity')
670
+ additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
671
+ addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
672
+ billable_features = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(BillableFeatureInput)), graphql_name='billableFeatures')
673
+ billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
674
+ billing_id = sgqlc.types.Field(String, graphql_name='billingId')
675
+ billing_information = sgqlc.types.Field('SubscriptionBillingInfo', graphql_name='billingInformation')
676
+ billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
677
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
678
+ payment_method_id = sgqlc.types.Field(String, graphql_name='paymentMethodId')
679
+ plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
680
+ promotion_code = sgqlc.types.Field(String, graphql_name='promotionCode')
681
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
682
+ skip_trial = sgqlc.types.Field(Boolean, graphql_name='skipTrial')
683
+ start_date = sgqlc.types.Field(DateTime, graphql_name='startDate')
684
+ unit_quantity = sgqlc.types.Field(Float, graphql_name='unitQuantity')
685
+
686
+
653
687
  class CheckoutOptions(sgqlc.types.Input):
654
688
  __schema__ = schema
655
689
  __field_names__ = ('allow_promo_codes', 'allow_tax_id_collection', 'cancel_url', 'collect_billing_address', 'collect_phone_number', 'reference_id', 'success_url')
@@ -3734,6 +3768,37 @@ class CannotDeleteFeatureError(sgqlc.types.Type):
3734
3768
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
3735
3769
 
3736
3770
 
3771
+ class Checkout(sgqlc.types.Type):
3772
+ __schema__ = schema
3773
+ __field_names__ = ('subscription',)
3774
+ subscription = sgqlc.types.Field('CustomerSubscription', graphql_name='subscription')
3775
+
3776
+
3777
+ class CheckoutBillingIntegration(sgqlc.types.Type):
3778
+ __schema__ = schema
3779
+ __field_names__ = ('billing_identifier', 'credentials')
3780
+ billing_identifier = sgqlc.types.Field(sgqlc.types.non_null(BillingVendorIdentifier), graphql_name='billingIdentifier')
3781
+ credentials = sgqlc.types.Field(sgqlc.types.non_null('CheckoutCredentials'), graphql_name='credentials')
3782
+
3783
+
3784
+ class CheckoutCredentials(sgqlc.types.Type):
3785
+ __schema__ = schema
3786
+ __field_names__ = ('account_id', 'public_key')
3787
+ account_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='accountId')
3788
+ public_key = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='publicKey')
3789
+
3790
+
3791
+ class CheckoutData(sgqlc.types.Type):
3792
+ __schema__ = schema
3793
+ __field_names__ = ('active_subscription', 'billing_integration', 'customer', 'plan', 'resource', 'setup_secret')
3794
+ active_subscription = sgqlc.types.Field('CustomerSubscription', graphql_name='activeSubscription')
3795
+ billing_integration = sgqlc.types.Field(sgqlc.types.non_null(CheckoutBillingIntegration), graphql_name='billingIntegration')
3796
+ customer = sgqlc.types.Field(sgqlc.types.non_null('Customer'), graphql_name='customer')
3797
+ plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='plan')
3798
+ resource = sgqlc.types.Field('CustomerResource', graphql_name='resource')
3799
+ setup_secret = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='setupSecret')
3800
+
3801
+
3737
3802
  class Coupon(sgqlc.types.Type):
3738
3803
  __schema__ = schema
3739
3804
  __field_names__ = ('additional_meta_data', 'billing_id', 'billing_link_url', 'created_at', 'customers', 'description', 'discount_value', 'environment', 'environment_id', 'id', 'name', 'ref_id', 'status', 'sync_states', 'type', 'updated_at')
@@ -5322,7 +5387,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
5322
5387
 
5323
5388
  class Mutation(sgqlc.types.Type):
5324
5389
  __schema__ = schema
5325
- __field_names__ = ('add_compatible_addons_to_plan', 'archive_customer', 'archive_one_coupon', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', 'create_account', 'create_addon_draft', 'create_empty_plan_draft', 'create_feature', 'create_many_package_entitlements', 'create_many_promotional_entitlements', 'create_one_addon', 'create_one_coupon', 'create_one_customer', 'create_one_environment', 'create_one_experiment', 'create_one_feature', 'create_one_hook', 'create_one_integration', 'create_one_plan', 'create_one_product', 'create_plan_draft', 'create_subscription', 'create_usage_measurement', 'delete_environment', 'delete_feature', 'delete_one_addon', 'delete_one_environment', 'delete_one_feature', 'delete_one_hook', 'delete_one_integration', 'delete_one_package_entitlement', 'delete_one_price', 'delete_one_product', 'delete_one_promotional_entitlement', 'estimate_subscription', 'estimate_subscription_update', 'hide_getting_started_page', 'import_customers_bulk', 'import_one_customer', 'import_subscriptions_bulk', 'init_add_stripe_customer_payment_method', 'invite_members', 'migrate_subscription_to_latest', 'provision_customer', 'provision_sandbox', 'provision_subscription', 'provision_subscription_v2', 'publish_addon', 'publish_plan', 'purge_customer_cache', 'recalculate_entitlements', 'register_member', 'remove_addon_draft', 'remove_base_plan_from_plan', 'remove_compatible_addons_from_plan', 'remove_coupon_from_customer', 'remove_coupon_from_customer_subscription', 'remove_experiment_from_customer', 'remove_experiment_from_customer_subscription', 'remove_member', 'remove_plan_draft', 'report_entitlement_check_requested', 'report_event', 'report_usage', 'resend_email_verification', 'resync_integration', 'set_base_plan_on_plan', 'set_compatible_addons_on_plan', 'set_coupon_on_customer', 'set_coupon_on_customer_subscription', 'set_experiment_on_customer', 'set_experiment_on_customer_subscription', 'set_package_pricing', 'set_widget_configuration', 'start_experiment', 'stop_experiment', 'sync_tax_rates', 'transfer_subscription', 'trigger_import_catalog', 'trigger_import_customers', 'update_account', 'update_entitlements_order', 'update_feature', 'update_one_addon', 'update_one_coupon', 'update_one_customer', 'update_one_environment', 'update_one_experiment', 'update_one_feature', 'update_one_hook', 'update_one_integration', 'update_one_package_entitlement', 'update_one_plan', 'update_one_product', 'update_one_promotional_entitlement', 'update_one_subscription', 'update_user')
5390
+ __field_names__ = ('add_compatible_addons_to_plan', 'archive_customer', 'archive_one_coupon', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', 'checkout', 'create_account', 'create_addon_draft', 'create_empty_plan_draft', 'create_feature', 'create_many_package_entitlements', 'create_many_promotional_entitlements', 'create_one_addon', 'create_one_coupon', 'create_one_customer', 'create_one_environment', 'create_one_experiment', 'create_one_feature', 'create_one_hook', 'create_one_integration', 'create_one_plan', 'create_one_product', 'create_plan_draft', 'create_subscription', 'create_usage_measurement', 'delete_environment', 'delete_feature', 'delete_one_addon', 'delete_one_environment', 'delete_one_feature', 'delete_one_hook', 'delete_one_integration', 'delete_one_package_entitlement', 'delete_one_price', 'delete_one_product', 'delete_one_promotional_entitlement', 'estimate_subscription', 'estimate_subscription_update', 'hide_getting_started_page', 'import_customers_bulk', 'import_one_customer', 'import_subscriptions_bulk', 'init_add_stripe_customer_payment_method', 'invite_members', 'migrate_subscription_to_latest', 'provision_customer', 'provision_sandbox', 'provision_subscription', 'provision_subscription_v2', 'publish_addon', 'publish_plan', 'purge_customer_cache', 'recalculate_entitlements', 'register_member', 'remove_addon_draft', 'remove_base_plan_from_plan', 'remove_compatible_addons_from_plan', 'remove_coupon_from_customer', 'remove_coupon_from_customer_subscription', 'remove_experiment_from_customer', 'remove_experiment_from_customer_subscription', 'remove_member', 'remove_plan_draft', 'report_entitlement_check_requested', 'report_event', 'report_usage', 'resend_email_verification', 'resync_integration', 'set_base_plan_on_plan', 'set_compatible_addons_on_plan', 'set_coupon_on_customer', 'set_coupon_on_customer_subscription', 'set_experiment_on_customer', 'set_experiment_on_customer_subscription', 'set_package_pricing', 'set_widget_configuration', 'start_experiment', 'stop_experiment', 'sync_tax_rates', 'transfer_subscription', 'trigger_import_catalog', 'trigger_import_customers', 'update_account', 'update_entitlements_order', 'update_feature', 'update_one_addon', 'update_one_coupon', 'update_one_customer', 'update_one_environment', 'update_one_experiment', 'update_one_feature', 'update_one_hook', 'update_one_integration', 'update_one_package_entitlement', 'update_one_plan', 'update_one_product', 'update_one_promotional_entitlement', 'update_one_subscription', 'update_user')
5326
5391
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
5327
5392
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
5328
5393
  ))
@@ -5349,6 +5414,10 @@ class Mutation(sgqlc.types.Type):
5349
5414
  )
5350
5415
  cancel_subscription = sgqlc.types.Field(sgqlc.types.non_null(CustomerSubscription), graphql_name='cancelSubscription', args=sgqlc.types.ArgDict((
5351
5416
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(SubscriptionCancellationInput), graphql_name='input', default=None)),
5417
+ ))
5418
+ )
5419
+ checkout = sgqlc.types.Field(sgqlc.types.non_null(Checkout), graphql_name='checkout', args=sgqlc.types.ArgDict((
5420
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(CheckoutInput), graphql_name='input', default=None)),
5352
5421
  ))
5353
5422
  )
5354
5423
  create_account = sgqlc.types.Field(sgqlc.types.non_null(Member), graphql_name='createAccount', args=sgqlc.types.ArgDict((
@@ -6622,7 +6691,7 @@ class PublishPackageResult(sgqlc.types.Type):
6622
6691
 
6623
6692
  class Query(sgqlc.types.Type):
6624
6693
  __schema__ = schema
6625
- __field_names__ = ('addons', 'aggregated_events_by_customer', 'cached_entitlements', 'coupon', 'coupons', 'current_environment', 'current_user', 'customer_portal', 'customer_resources', 'customer_subscriptions', 'customers', 'entitlement', 'entitlements', 'environments', 'events_fields', 'experiment', 'experiments', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_customer_by_ref_id', 'get_experiment_stats', 'get_paywall', 'get_plan_by_ref_id', 'hook', 'hooks', 'import_integration_tasks', 'integrations', 'members', 'mock_paywall', 'package_entitlements', 'paywall', 'plans', 'products', 'promotional_entitlements', 'sdk_configuration', 'send_test_hook', 'stripe_customers', 'stripe_products', 'stripe_subscriptions', 'subscription_entitlements', 'subscription_migration_tasks', 'test_hook_data', 'usage_events', 'usage_history', 'usage_measurements', 'widget_configuration')
6694
+ __field_names__ = ('addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_data', 'coupon', 'coupons', 'current_environment', 'current_user', 'customer_portal', 'customer_resources', 'customer_subscriptions', 'customers', 'entitlement', 'entitlements', 'environments', 'events_fields', 'experiment', 'experiments', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_customer_by_ref_id', 'get_experiment_stats', 'get_paywall', 'get_plan_by_ref_id', 'hook', 'hooks', 'import_integration_tasks', 'integrations', 'members', 'mock_paywall', 'package_entitlements', 'paywall', 'plans', 'products', 'promotional_entitlements', 'sdk_configuration', 'send_test_hook', 'stripe_customers', 'stripe_products', 'stripe_subscriptions', 'subscription_entitlements', 'subscription_migration_tasks', 'test_hook_data', 'usage_events', 'usage_history', 'usage_measurements', 'widget_configuration')
6626
6695
  addons = sgqlc.types.Field(sgqlc.types.non_null(AddonConnection), graphql_name='addons', args=sgqlc.types.ArgDict((
6627
6696
  ('filter', sgqlc.types.Arg(AddonFilter, graphql_name='filter', default={})),
6628
6697
  ('paging', sgqlc.types.Arg(CursorPaging, graphql_name='paging', default={'first': 10})),
@@ -6635,6 +6704,10 @@ class Query(sgqlc.types.Type):
6635
6704
  )
6636
6705
  cached_entitlements = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(Entitlement))), graphql_name='cachedEntitlements', args=sgqlc.types.ArgDict((
6637
6706
  ('query', sgqlc.types.Arg(sgqlc.types.non_null(FetchEntitlementsQuery), graphql_name='query', default=None)),
6707
+ ))
6708
+ )
6709
+ checkout_data = sgqlc.types.Field(sgqlc.types.non_null(CheckoutData), graphql_name='checkoutData', args=sgqlc.types.ArgDict((
6710
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(CheckoutDataInput), graphql_name='input', default=None)),
6638
6711
  ))
6639
6712
  )
6640
6713
  coupon = sgqlc.types.Field(Coupon, graphql_name='coupon', args=sgqlc.types.ArgDict((
@@ -7130,10 +7203,11 @@ class SubscriptionFutureUpdate(sgqlc.types.Type):
7130
7203
 
7131
7204
  class SubscriptionInvoice(sgqlc.types.Type):
7132
7205
  __schema__ = schema
7133
- __field_names__ = ('billing_id', 'created_at', 'error_message', 'payment_url', 'requires_action', 'status', 'updated_at')
7206
+ __field_names__ = ('billing_id', 'created_at', 'error_message', 'payment_secret', 'payment_url', 'requires_action', 'status', 'updated_at')
7134
7207
  billing_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='billingId')
7135
7208
  created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='createdAt')
7136
7209
  error_message = sgqlc.types.Field(String, graphql_name='errorMessage')
7210
+ payment_secret = sgqlc.types.Field(String, graphql_name='paymentSecret')
7137
7211
  payment_url = sgqlc.types.Field(String, graphql_name='paymentUrl')
7138
7212
  requires_action = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='requiresAction')
7139
7213
  status = sgqlc.types.Field(sgqlc.types.non_null(SubscriptionInvoiceStatus), graphql_name='status')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 0.541.0
3
+ Version: 0.544.1
4
4
  Summary:
5
5
  Author: Stigg
6
6
  Author-email: support@stigg.io
@@ -0,0 +1,8 @@
1
+ stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
+ stigg/client.py,sha256=wSb0yyW13mWMr_4pooJArTtCa2fL5079ho9jGaZTdpE,3699
3
+ stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ stigg/generated/operations.py,sha256=xuRFgWcc39L1Uh_x1vBXiwm5903O7lozvjbCq1YzQIU,55432
5
+ stigg/generated/schema.py,sha256=noHvguqwtTxXH9e_0JrPJ02FGsF5abu7d8BWRSF5Wfw,482102
6
+ stigg_api_client-0.544.1.dist-info/METADATA,sha256=VAP7mvo7mJmqYjK2F8KBNtVxf350x520P1zikyZFaUg,3122
7
+ stigg_api_client-0.544.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
8
+ stigg_api_client-0.544.1.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
- stigg/client.py,sha256=wSb0yyW13mWMr_4pooJArTtCa2fL5079ho9jGaZTdpE,3699
3
- stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- stigg/generated/operations.py,sha256=t3u6U7Y6f0PB5s_wmL0ZxUJ24AlkuQ0VIS1OMLs0npY,53459
5
- stigg/generated/schema.py,sha256=Xq_ggGSGTc5REgWQ0d3CYpY8lz2aPkM8FKZKih603aU,477589
6
- stigg_api_client-0.541.0.dist-info/METADATA,sha256=DyhlWahNrlf8ZAI0PihYTXvJf4oGAhk-sk5NAfG89f4,3122
7
- stigg_api_client-0.541.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
8
- stigg_api_client-0.541.0.dist-info/RECORD,,