stigg-api-client 2.198.2__py3-none-any.whl → 2.201.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.
- stigg/generated/operations.py +4 -0
- stigg/generated/schema.py +12 -40
- {stigg_api_client-2.198.2.dist-info → stigg_api_client-2.201.0.dist-info}/METADATA +1 -1
- stigg_api_client-2.201.0.dist-info/RECORD +9 -0
- stigg_api_client-2.198.2.dist-info/RECORD +0 -9
- {stigg_api_client-2.198.2.dist-info → stigg_api_client-2.201.0.dist-info}/LICENSE +0 -0
- {stigg_api_client-2.198.2.dist-info → stigg_api_client-2.201.0.dist-info}/WHEEL +0 -0
stigg/generated/operations.py
CHANGED
|
@@ -12,6 +12,10 @@ def fragment_coupon_fragment():
|
|
|
12
12
|
_frag = sgqlc.operation.Fragment(_schema.Coupon, 'CouponFragment')
|
|
13
13
|
_frag.id()
|
|
14
14
|
_frag.discount_value()
|
|
15
|
+
_frag.percent_off()
|
|
16
|
+
_frag_amounts_off = _frag.amounts_off()
|
|
17
|
+
_frag_amounts_off.amount()
|
|
18
|
+
_frag_amounts_off.currency()
|
|
15
19
|
_frag.type()
|
|
16
20
|
_frag.additional_meta_data()
|
|
17
21
|
_frag.ref_id()
|
stigg/generated/schema.py
CHANGED
|
@@ -1048,14 +1048,16 @@ class CouponTypeFilterComparison(sgqlc.types.Input):
|
|
|
1048
1048
|
|
|
1049
1049
|
class CreateCouponInput(sgqlc.types.Input):
|
|
1050
1050
|
__schema__ = schema
|
|
1051
|
-
__field_names__ = ('additional_meta_data', 'description', 'discount_value', 'environment_id', 'name', 'ref_id', 'type')
|
|
1051
|
+
__field_names__ = ('additional_meta_data', 'amounts_off', 'description', 'discount_value', 'environment_id', 'name', 'percent_off', 'ref_id', 'type')
|
|
1052
1052
|
additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
|
|
1053
|
+
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('MoneyInputDTO')), graphql_name='amountsOff')
|
|
1053
1054
|
description = sgqlc.types.Field(String, graphql_name='description')
|
|
1054
|
-
discount_value = sgqlc.types.Field(
|
|
1055
|
+
discount_value = sgqlc.types.Field(Float, graphql_name='discountValue')
|
|
1055
1056
|
environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
|
|
1056
1057
|
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
|
|
1058
|
+
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
1057
1059
|
ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
|
|
1058
|
-
type = sgqlc.types.Field(
|
|
1060
|
+
type = sgqlc.types.Field(CouponType, graphql_name='type')
|
|
1059
1061
|
|
|
1060
1062
|
|
|
1061
1063
|
class CreateEnvironment(sgqlc.types.Input):
|
|
@@ -3302,13 +3304,6 @@ class RemoveCouponFromCustomerInput(sgqlc.types.Input):
|
|
|
3302
3304
|
relation_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='relationId')
|
|
3303
3305
|
|
|
3304
3306
|
|
|
3305
|
-
class RemoveCouponFromCustomerSubscriptionInput(sgqlc.types.Input):
|
|
3306
|
-
__schema__ = schema
|
|
3307
|
-
__field_names__ = ('id', 'relation_id')
|
|
3308
|
-
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
3309
|
-
relation_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='relationId')
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
3307
|
class RemoveExperimentFromCustomerInput(sgqlc.types.Input):
|
|
3313
3308
|
__schema__ = schema
|
|
3314
3309
|
__field_names__ = ('id', 'relation_id')
|
|
@@ -3398,13 +3393,6 @@ class SetCouponOnCustomerInput(sgqlc.types.Input):
|
|
|
3398
3393
|
relation_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='relationId')
|
|
3399
3394
|
|
|
3400
3395
|
|
|
3401
|
-
class SetCouponOnCustomerSubscriptionInput(sgqlc.types.Input):
|
|
3402
|
-
__schema__ = schema
|
|
3403
|
-
__field_names__ = ('id', 'relation_id')
|
|
3404
|
-
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
3405
|
-
relation_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='relationId')
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
3396
|
class SetExperimentOnCustomerInput(sgqlc.types.Input):
|
|
3409
3397
|
__schema__ = schema
|
|
3410
3398
|
__field_names__ = ('id', 'relation_id')
|
|
@@ -4850,8 +4838,9 @@ class CheckoutState(sgqlc.types.Type):
|
|
|
4850
4838
|
|
|
4851
4839
|
class Coupon(sgqlc.types.Type):
|
|
4852
4840
|
__schema__ = schema
|
|
4853
|
-
__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')
|
|
4841
|
+
__field_names__ = ('additional_meta_data', 'amounts_off', 'billing_id', 'billing_link_url', 'created_at', 'customers', 'description', 'discount_value', 'environment', 'environment_id', 'id', 'name', 'percent_off', 'ref_id', 'status', 'sync_states', 'type', 'updated_at')
|
|
4854
4842
|
additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
|
|
4843
|
+
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Money')), graphql_name='amountsOff')
|
|
4855
4844
|
billing_id = sgqlc.types.Field(String, graphql_name='billingId')
|
|
4856
4845
|
billing_link_url = sgqlc.types.Field(String, graphql_name='billingLinkUrl')
|
|
4857
4846
|
created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='createdAt')
|
|
@@ -4866,6 +4855,7 @@ class Coupon(sgqlc.types.Type):
|
|
|
4866
4855
|
environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
|
|
4867
4856
|
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
4868
4857
|
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
|
|
4858
|
+
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
4869
4859
|
ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
|
|
4870
4860
|
status = sgqlc.types.Field(sgqlc.types.non_null(CouponStatus), graphql_name='status')
|
|
4871
4861
|
sync_states = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SyncState')), graphql_name='syncStates')
|
|
@@ -4888,12 +4878,6 @@ class CouponAggregateGroupBy(sgqlc.types.Type):
|
|
|
4888
4878
|
updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
|
|
4889
4879
|
|
|
4890
4880
|
|
|
4891
|
-
class CouponAvgAggregate(sgqlc.types.Type):
|
|
4892
|
-
__schema__ = schema
|
|
4893
|
-
__field_names__ = ('id',)
|
|
4894
|
-
id = sgqlc.types.Field(Float, graphql_name='id')
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
4881
|
class CouponConnection(sgqlc.types.relay.Connection):
|
|
4898
4882
|
__schema__ = schema
|
|
4899
4883
|
__field_names__ = ('edges', 'page_info', 'total_count')
|
|
@@ -4954,12 +4938,6 @@ class CouponMinAggregate(sgqlc.types.Type):
|
|
|
4954
4938
|
updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
|
|
4955
4939
|
|
|
4956
4940
|
|
|
4957
|
-
class CouponSumAggregate(sgqlc.types.Type):
|
|
4958
|
-
__schema__ = schema
|
|
4959
|
-
__field_names__ = ('id',)
|
|
4960
|
-
id = sgqlc.types.Field(Float, graphql_name='id')
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
4941
|
class Customer(sgqlc.types.Type):
|
|
4964
4942
|
__schema__ = schema
|
|
4965
4943
|
__field_names__ = ('additional_meta_data', 'aws_marketplace_customer_id', 'billing_currency', 'billing_id', 'billing_link_url', 'coupon', 'created_at', 'crm_hubspot_company_id', 'crm_hubspot_company_url', 'crm_id', 'customer_id', 'default_payment_expiration_month', 'default_payment_expiration_year', 'default_payment_method_id', 'default_payment_method_last4_digits', 'default_payment_method_type', 'deleted_at', 'eligible_for_trial', 'email', 'environment', 'environment_id', 'exclude_from_experiment', 'experiment', 'experiment_info', 'has_active_resource', 'has_active_subscription', 'has_payment_method', 'id', 'name', 'promotional_entitlements', 'ref_id', 'salesforce_id', 'statistics', 'subscriptions', 'sync_states', 'total_active_promotional_entitlements', 'total_active_subscription', 'trialed_plans', 'updated_at')
|
|
@@ -6652,7 +6630,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
|
|
|
6652
6630
|
|
|
6653
6631
|
class Mutation(sgqlc.types.Type):
|
|
6654
6632
|
__schema__ = schema
|
|
6655
|
-
__field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_addon', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_one_coupon', 'archive_package_group', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', 'charge_subscription_usage', 'create_account', 'create_addon_draft', 'create_empty_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_hook', 'create_one_integration', 'create_one_plan', 'create_one_product', 'create_or_update_aws_marketplace_product', 'create_package_group', 'create_plan_draft', 'create_subscription', 'create_usage_measurement', 'delegate_subscription_to_customer', 'delete_feature', 'delete_one_feature', 'delete_one_hook', 'delete_one_integration', 'delete_one_package_entitlement', 'delete_one_price', 'delete_one_product', 'delete_one_promotional_entitlement', 'detach_customer_payment_method', 'duplicate_product', 'edit_package_group', 'estimate_subscription', 'estimate_subscription_update', 'grant_promotional_entitlements', 'hide_getting_started_page', 'import_customers_bulk', 'import_one_customer', 'import_subscriptions_bulk', 'init_add_stripe_customer_payment_method', 'invite_members', 'mark_invoice_as_paid', 'merge_environment', 'migrate_subscription_to_latest', 'prepare_payment_method_form', 'preview_next_invoice', 'preview_subscription', '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', '
|
|
6633
|
+
__field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_addon', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_one_coupon', 'archive_package_group', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', 'charge_subscription_usage', 'create_account', 'create_addon_draft', 'create_empty_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_hook', 'create_one_integration', 'create_one_plan', 'create_one_product', 'create_or_update_aws_marketplace_product', 'create_package_group', 'create_plan_draft', 'create_subscription', 'create_usage_measurement', 'delegate_subscription_to_customer', 'delete_feature', 'delete_one_feature', 'delete_one_hook', 'delete_one_integration', 'delete_one_package_entitlement', 'delete_one_price', 'delete_one_product', 'delete_one_promotional_entitlement', 'detach_customer_payment_method', 'duplicate_product', 'edit_package_group', 'estimate_subscription', 'estimate_subscription_update', 'grant_promotional_entitlements', 'hide_getting_started_page', 'import_customers_bulk', 'import_one_customer', 'import_subscriptions_bulk', 'init_add_stripe_customer_payment_method', 'invite_members', 'mark_invoice_as_paid', 'merge_environment', 'migrate_subscription_to_latest', 'prepare_payment_method_form', 'preview_next_invoice', 'preview_subscription', '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_experiment_from_customer', 'remove_experiment_from_customer_subscription', 'remove_member', 'remove_plan_draft', 'report_entitlement_check_requested', 'report_event', 'report_usage', 'report_usage_bulk', 'resend_email_verification', 'resync_integration', 'revoke_promotional_entitlement', 'set_base_plan_on_plan', 'set_compatible_addons_on_plan', 'set_compatible_package_groups', 'set_coupon_on_customer', 'set_experiment_on_customer', 'set_experiment_on_customer_subscription', 'set_package_group_addons', 'set_package_pricing', 'set_widget_configuration', 'start_experiment', 'stop_experiment', 'subscription_maximum_spend', 'sync_tax_rates', 'transfer_subscription', 'transfer_subscription_to_resource', 'trigger_import_catalog', 'trigger_import_customers', 'trigger_plan_subscription_migration', 'trigger_subscription_billing_month_ends_soon_webhook', 'trigger_subscription_usage_sync', 'unarchive_customer', 'unarchive_environment', 'update_account', 'update_entitlements_order', 'update_feature', 'update_one_addon', 'update_one_coupon', 'update_one_customer', 'update_one_environment', 'update_one_experiment', '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')
|
|
6656
6634
|
add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
|
|
6657
6635
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
|
|
6658
6636
|
))
|
|
@@ -6944,10 +6922,6 @@ class Mutation(sgqlc.types.Type):
|
|
|
6944
6922
|
)
|
|
6945
6923
|
remove_coupon_from_customer = sgqlc.types.Field(sgqlc.types.non_null(Customer), graphql_name='removeCouponFromCustomer', args=sgqlc.types.ArgDict((
|
|
6946
6924
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(RemoveCouponFromCustomerInput), graphql_name='input', default=None)),
|
|
6947
|
-
))
|
|
6948
|
-
)
|
|
6949
|
-
remove_coupon_from_customer_subscription = sgqlc.types.Field(sgqlc.types.non_null(CustomerSubscription), graphql_name='removeCouponFromCustomerSubscription', args=sgqlc.types.ArgDict((
|
|
6950
|
-
('input', sgqlc.types.Arg(sgqlc.types.non_null(RemoveCouponFromCustomerSubscriptionInput), graphql_name='input', default=None)),
|
|
6951
6925
|
))
|
|
6952
6926
|
)
|
|
6953
6927
|
remove_experiment_from_customer = sgqlc.types.Field(sgqlc.types.non_null(Customer), graphql_name='removeExperimentFromCustomer', args=sgqlc.types.ArgDict((
|
|
@@ -7005,10 +6979,6 @@ class Mutation(sgqlc.types.Type):
|
|
|
7005
6979
|
)
|
|
7006
6980
|
set_coupon_on_customer = sgqlc.types.Field(sgqlc.types.non_null(Customer), graphql_name='setCouponOnCustomer', args=sgqlc.types.ArgDict((
|
|
7007
6981
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(SetCouponOnCustomerInput), graphql_name='input', default=None)),
|
|
7008
|
-
))
|
|
7009
|
-
)
|
|
7010
|
-
set_coupon_on_customer_subscription = sgqlc.types.Field(sgqlc.types.non_null(CustomerSubscription), graphql_name='setCouponOnCustomerSubscription', args=sgqlc.types.ArgDict((
|
|
7011
|
-
('input', sgqlc.types.Arg(sgqlc.types.non_null(SetCouponOnCustomerSubscriptionInput), graphql_name='input', default=None)),
|
|
7012
6982
|
))
|
|
7013
6983
|
)
|
|
7014
6984
|
set_experiment_on_customer = sgqlc.types.Field(sgqlc.types.non_null(Customer), graphql_name='setExperimentOnCustomer', args=sgqlc.types.ArgDict((
|
|
@@ -8834,11 +8804,13 @@ class SubscriptionAlreadyCanceledOrExpired(sgqlc.types.Type):
|
|
|
8834
8804
|
|
|
8835
8805
|
class SubscriptionCoupon(sgqlc.types.Type):
|
|
8836
8806
|
__schema__ = schema
|
|
8837
|
-
__field_names__ = ('discount_value', 'environment_id', 'id', 'name', 'ref_id', 'type')
|
|
8807
|
+
__field_names__ = ('amounts_off', 'discount_value', 'environment_id', 'id', 'name', 'percent_off', 'ref_id', 'type')
|
|
8808
|
+
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Money)), graphql_name='amountsOff')
|
|
8838
8809
|
discount_value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='discountValue')
|
|
8839
8810
|
environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
|
|
8840
8811
|
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
8841
8812
|
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
|
|
8813
|
+
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
8842
8814
|
ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
|
|
8843
8815
|
type = sgqlc.types.Field(sgqlc.types.non_null(CouponType), graphql_name='type')
|
|
8844
8816
|
|
|
@@ -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=L-KsnUd2mH-izMg1X2CIT-zKJPNVqavXkZAkWPw3FWY,76616
|
|
5
|
+
stigg/generated/schema.py,sha256=bexHd58y8nMo4jeCqtpDJ9XryLiNN2gKp7rlt2h5eFk,618366
|
|
6
|
+
stigg_api_client-2.201.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
7
|
+
stigg_api_client-2.201.0.dist-info/METADATA,sha256=FwL7RouWrg4OLblePEgqhGcokPTV0D_XANSE1i1rfUM,3198
|
|
8
|
+
stigg_api_client-2.201.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
9
|
+
stigg_api_client-2.201.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=c2GxkA47TYLU3n86X5oiTBc7hlMtzceBNkKL6olaIF0,76484
|
|
5
|
-
stigg/generated/schema.py,sha256=uIo44YQdj8ArDpviQuK7TvDE0Nrn_0VUK1hsUBcfNko,619412
|
|
6
|
-
stigg_api_client-2.198.2.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
7
|
-
stigg_api_client-2.198.2.dist-info/METADATA,sha256=zqHCoEDtcHQOJeaOJ4J__yVLlVBWVAv3IkZz7lw8DlY,3198
|
|
8
|
-
stigg_api_client-2.198.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
9
|
-
stigg_api_client-2.198.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|