stigg-api-client 2.194.7__py3-none-any.whl → 2.198.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 +36 -6
- {stigg_api_client-2.194.7.dist-info → stigg_api_client-2.198.0.dist-info}/METADATA +1 -1
- stigg_api_client-2.198.0.dist-info/RECORD +9 -0
- stigg_api_client-2.194.7.dist-info/RECORD +0 -9
- {stigg_api_client-2.194.7.dist-info → stigg_api_client-2.198.0.dist-info}/LICENSE +0 -0
- {stigg_api_client-2.194.7.dist-info → stigg_api_client-2.198.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):
|
|
@@ -1581,6 +1583,14 @@ class DefaultTrialConfigInputDTO(sgqlc.types.Input):
|
|
|
1581
1583
|
units = sgqlc.types.Field(TrialPeriodUnits, graphql_name='units')
|
|
1582
1584
|
|
|
1583
1585
|
|
|
1586
|
+
class DelegateSubscriptionToCustomerInput(sgqlc.types.Input):
|
|
1587
|
+
__schema__ = schema
|
|
1588
|
+
__field_names__ = ('destination_customer_id', 'environment_id', 'subscription_id')
|
|
1589
|
+
destination_customer_id = sgqlc.types.Field(String, graphql_name='destinationCustomerId')
|
|
1590
|
+
environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
|
|
1591
|
+
subscription_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionId')
|
|
1592
|
+
|
|
1593
|
+
|
|
1584
1594
|
class DeleteFeatureInput(sgqlc.types.Input):
|
|
1585
1595
|
__schema__ = schema
|
|
1586
1596
|
__field_names__ = ('environment_id', 'id')
|
|
@@ -3986,6 +3996,14 @@ class TransferSubscriptionInput(sgqlc.types.Input):
|
|
|
3986
3996
|
source_resource_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='sourceResourceId')
|
|
3987
3997
|
|
|
3988
3998
|
|
|
3999
|
+
class TransferSubscriptionToResourceInput(sgqlc.types.Input):
|
|
4000
|
+
__schema__ = schema
|
|
4001
|
+
__field_names__ = ('destination_resource_id', 'environment_id', 'subscription_id')
|
|
4002
|
+
destination_resource_id = sgqlc.types.Field(String, graphql_name='destinationResourceId')
|
|
4003
|
+
environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
|
|
4004
|
+
subscription_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionId')
|
|
4005
|
+
|
|
4006
|
+
|
|
3989
4007
|
class TrialOverrideConfigurationInput(sgqlc.types.Input):
|
|
3990
4008
|
__schema__ = schema
|
|
3991
4009
|
__field_names__ = ('is_trial', 'trial_end_behavior', 'trial_end_date')
|
|
@@ -4834,8 +4852,9 @@ class CheckoutState(sgqlc.types.Type):
|
|
|
4834
4852
|
|
|
4835
4853
|
class Coupon(sgqlc.types.Type):
|
|
4836
4854
|
__schema__ = schema
|
|
4837
|
-
__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')
|
|
4855
|
+
__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')
|
|
4838
4856
|
additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
|
|
4857
|
+
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Money')), graphql_name='amountsOff')
|
|
4839
4858
|
billing_id = sgqlc.types.Field(String, graphql_name='billingId')
|
|
4840
4859
|
billing_link_url = sgqlc.types.Field(String, graphql_name='billingLinkUrl')
|
|
4841
4860
|
created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='createdAt')
|
|
@@ -4850,6 +4869,7 @@ class Coupon(sgqlc.types.Type):
|
|
|
4850
4869
|
environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
|
|
4851
4870
|
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
4852
4871
|
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
|
|
4872
|
+
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
4853
4873
|
ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
|
|
4854
4874
|
status = sgqlc.types.Field(sgqlc.types.non_null(CouponStatus), graphql_name='status')
|
|
4855
4875
|
sync_states = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SyncState')), graphql_name='syncStates')
|
|
@@ -6636,7 +6656,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
|
|
|
6636
6656
|
|
|
6637
6657
|
class Mutation(sgqlc.types.Type):
|
|
6638
6658
|
__schema__ = schema
|
|
6639
|
-
__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', '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_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', '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_coupon_on_customer_subscription', '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', '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')
|
|
6659
|
+
__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_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', '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_coupon_on_customer_subscription', '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')
|
|
6640
6660
|
add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
|
|
6641
6661
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
|
|
6642
6662
|
))
|
|
@@ -6771,6 +6791,10 @@ class Mutation(sgqlc.types.Type):
|
|
|
6771
6791
|
)
|
|
6772
6792
|
create_usage_measurement = sgqlc.types.Field(sgqlc.types.non_null('UsageMeasurementWithCurrentUsage'), graphql_name='createUsageMeasurement', args=sgqlc.types.ArgDict((
|
|
6773
6793
|
('usage_measurement', sgqlc.types.Arg(sgqlc.types.non_null(UsageMeasurementCreateInput), graphql_name='usageMeasurement', default=None)),
|
|
6794
|
+
))
|
|
6795
|
+
)
|
|
6796
|
+
delegate_subscription_to_customer = sgqlc.types.Field(sgqlc.types.non_null(CustomerSubscription), graphql_name='delegateSubscriptionToCustomer', args=sgqlc.types.ArgDict((
|
|
6797
|
+
('input', sgqlc.types.Arg(sgqlc.types.non_null(DelegateSubscriptionToCustomerInput), graphql_name='input', default=None)),
|
|
6774
6798
|
))
|
|
6775
6799
|
)
|
|
6776
6800
|
delete_feature = sgqlc.types.Field(sgqlc.types.non_null(Feature), graphql_name='deleteFeature', args=sgqlc.types.ArgDict((
|
|
@@ -7029,6 +7053,10 @@ class Mutation(sgqlc.types.Type):
|
|
|
7029
7053
|
)
|
|
7030
7054
|
transfer_subscription = sgqlc.types.Field(sgqlc.types.non_null(CustomerSubscription), graphql_name='transferSubscription', args=sgqlc.types.ArgDict((
|
|
7031
7055
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(TransferSubscriptionInput), graphql_name='input', default=None)),
|
|
7056
|
+
))
|
|
7057
|
+
)
|
|
7058
|
+
transfer_subscription_to_resource = sgqlc.types.Field(sgqlc.types.non_null(CustomerSubscription), graphql_name='transferSubscriptionToResource', args=sgqlc.types.ArgDict((
|
|
7059
|
+
('input', sgqlc.types.Arg(sgqlc.types.non_null(TransferSubscriptionToResourceInput), graphql_name='input', default=None)),
|
|
7032
7060
|
))
|
|
7033
7061
|
)
|
|
7034
7062
|
trigger_import_catalog = sgqlc.types.Field(sgqlc.types.non_null(AsyncTaskResult), graphql_name='triggerImportCatalog', args=sgqlc.types.ArgDict((
|
|
@@ -8810,11 +8838,13 @@ class SubscriptionAlreadyCanceledOrExpired(sgqlc.types.Type):
|
|
|
8810
8838
|
|
|
8811
8839
|
class SubscriptionCoupon(sgqlc.types.Type):
|
|
8812
8840
|
__schema__ = schema
|
|
8813
|
-
__field_names__ = ('discount_value', 'environment_id', 'id', 'name', 'ref_id', 'type')
|
|
8841
|
+
__field_names__ = ('amounts_off', 'discount_value', 'environment_id', 'id', 'name', 'percent_off', 'ref_id', 'type')
|
|
8842
|
+
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Money)), graphql_name='amountsOff')
|
|
8814
8843
|
discount_value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='discountValue')
|
|
8815
8844
|
environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
|
|
8816
8845
|
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
8817
8846
|
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
|
|
8847
|
+
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
8818
8848
|
ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
|
|
8819
8849
|
type = sgqlc.types.Field(sgqlc.types.non_null(CouponType), graphql_name='type')
|
|
8820
8850
|
|
|
@@ -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=rDb9QylVz4NdCa1Zq2QrHMZPTKPOurIViH4OGSDYE_k,75468
|
|
5
|
+
stigg/generated/schema.py,sha256=x8br21AuILqpFS_NSwy01OPuyWxUDrKNkTUlSZgNQUw,620019
|
|
6
|
+
stigg_api_client-2.198.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
7
|
+
stigg_api_client-2.198.0.dist-info/METADATA,sha256=z5k0-eFEW69PJQmfObTWL2rjampQWLNDzz8TQERVz_w,3198
|
|
8
|
+
stigg_api_client-2.198.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
9
|
+
stigg_api_client-2.198.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=eeUhEtHGg1DVLGmjz06xgBfrYJPy4rN1tvK7LFvFGM4,75336
|
|
5
|
-
stigg/generated/schema.py,sha256=HUGwqh0QHEHCFNvwjENj6WJbFpc9aX1-2U191SYDMOc,617812
|
|
6
|
-
stigg_api_client-2.194.7.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
7
|
-
stigg_api_client-2.194.7.dist-info/METADATA,sha256=Cg75T3R1evOoGdgs6ez5Vwf4iv9ujLFCTayjVp41Nws,3198
|
|
8
|
-
stigg_api_client-2.194.7.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
9
|
-
stigg_api_client-2.194.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|