stigg-api-client 1.230.0__py3-none-any.whl → 1.233.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 +38 -0
- stigg/generated/schema.py +12 -1
- {stigg_api_client-1.230.0.dist-info → stigg_api_client-1.233.0.dist-info}/METADATA +1 -1
- stigg_api_client-1.233.0.dist-info/RECORD +9 -0
- stigg_api_client-1.230.0.dist-info/RECORD +0 -9
- {stigg_api_client-1.230.0.dist-info → stigg_api_client-1.233.0.dist-info}/LICENSE +0 -0
- {stigg_api_client-1.230.0.dist-info → stigg_api_client-1.233.0.dist-info}/WHEEL +0 -0
stigg/generated/operations.py
CHANGED
|
@@ -203,6 +203,27 @@ def fragment_customer_resource_fragment():
|
|
|
203
203
|
return _frag
|
|
204
204
|
|
|
205
205
|
|
|
206
|
+
def fragment_slim_subscription_fragment_v2():
|
|
207
|
+
_frag = sgqlc.operation.Fragment(_schema.CustomerSubscription, 'SlimSubscriptionFragmentV2')
|
|
208
|
+
_frag.subscription_id()
|
|
209
|
+
_frag.status()
|
|
210
|
+
_frag.pricing_type()
|
|
211
|
+
_frag.start_date()
|
|
212
|
+
_frag.current_billing_period_end()
|
|
213
|
+
_frag_customer = _frag.customer()
|
|
214
|
+
_frag_customer.customer_id()
|
|
215
|
+
_frag_resource = _frag.resource()
|
|
216
|
+
_frag_resource.resource_id()
|
|
217
|
+
_frag_plan = _frag.plan()
|
|
218
|
+
_frag_plan.ref_id(__alias__='plan_id')
|
|
219
|
+
_frag_plan.display_name()
|
|
220
|
+
_frag_addons = _frag.addons()
|
|
221
|
+
_frag_addons.quantity()
|
|
222
|
+
_frag_addons_addon = _frag_addons.addon()
|
|
223
|
+
_frag_addons_addon.ref_id(__alias__='addon_id')
|
|
224
|
+
return _frag
|
|
225
|
+
|
|
226
|
+
|
|
206
227
|
def fragment_slim_subscription_fragment():
|
|
207
228
|
_frag = sgqlc.operation.Fragment(_schema.CustomerSubscription, 'SlimSubscriptionFragment')
|
|
208
229
|
_frag.id()
|
|
@@ -1252,6 +1273,7 @@ class Fragment:
|
|
|
1252
1273
|
schedule_variables_fragment = fragment_schedule_variables_fragment()
|
|
1253
1274
|
slim_customer_fragment = fragment_slim_customer_fragment()
|
|
1254
1275
|
slim_subscription_fragment = fragment_slim_subscription_fragment()
|
|
1276
|
+
slim_subscription_fragment_v2 = fragment_slim_subscription_fragment_v2()
|
|
1255
1277
|
subscription_fragment = fragment_subscription_fragment()
|
|
1256
1278
|
subscription_future_update_data = fragment_subscription_future_update_data()
|
|
1257
1279
|
subscription_invoice_fragment = fragment_subscription_invoice_fragment()
|
|
@@ -1484,6 +1506,20 @@ def query_get_active_subscriptions():
|
|
|
1484
1506
|
return _op
|
|
1485
1507
|
|
|
1486
1508
|
|
|
1509
|
+
def query_get_active_subscriptions_list():
|
|
1510
|
+
_op = sgqlc.operation.Operation(_schema_root.query_type, name='GetActiveSubscriptionsList', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.GetActiveSubscriptionsInput))))
|
|
1511
|
+
_op_get_active_subscriptions = _op.get_active_subscriptions(input=sgqlc.types.Variable('input'))
|
|
1512
|
+
_op_get_active_subscriptions.__fragment__(fragment_slim_subscription_fragment_v2())
|
|
1513
|
+
return _op
|
|
1514
|
+
|
|
1515
|
+
|
|
1516
|
+
def query_get_subscription():
|
|
1517
|
+
_op = sgqlc.operation.Operation(_schema_root.query_type, name='GetSubscription', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.GetSubscriptionInput))))
|
|
1518
|
+
_op_get_subscription = _op.get_subscription(input=sgqlc.types.Variable('input'))
|
|
1519
|
+
_op_get_subscription.__fragment__(fragment_subscription_fragment())
|
|
1520
|
+
return _op
|
|
1521
|
+
|
|
1522
|
+
|
|
1487
1523
|
def query_get_coupons():
|
|
1488
1524
|
_op = sgqlc.operation.Operation(_schema_root.query_type, name='GetCoupons')
|
|
1489
1525
|
_op_coupons = _op.coupons(filter={'status': {'eq': 'ACTIVE'}}, paging={'first': 50})
|
|
@@ -1564,6 +1600,7 @@ def query_get_usage_history():
|
|
|
1564
1600
|
|
|
1565
1601
|
class Query:
|
|
1566
1602
|
get_active_subscriptions = query_get_active_subscriptions()
|
|
1603
|
+
get_active_subscriptions_list = query_get_active_subscriptions_list()
|
|
1567
1604
|
get_checkout_state = query_get_checkout_state()
|
|
1568
1605
|
get_coupons = query_get_coupons()
|
|
1569
1606
|
get_customer_by_id = query_get_customer_by_id()
|
|
@@ -1575,6 +1612,7 @@ class Query:
|
|
|
1575
1612
|
get_paywall = query_get_paywall()
|
|
1576
1613
|
get_products = query_get_products()
|
|
1577
1614
|
get_sdk_configuration = query_get_sdk_configuration()
|
|
1615
|
+
get_subscription = query_get_subscription()
|
|
1578
1616
|
get_usage_history = query_get_usage_history()
|
|
1579
1617
|
|
|
1580
1618
|
|
stigg/generated/schema.py
CHANGED
|
@@ -2032,6 +2032,13 @@ class GetPaywallInput(sgqlc.types.Input):
|
|
|
2032
2032
|
resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
|
|
2033
2033
|
|
|
2034
2034
|
|
|
2035
|
+
class GetSubscriptionInput(sgqlc.types.Input):
|
|
2036
|
+
__schema__ = schema
|
|
2037
|
+
__field_names__ = ('environment_id', 'subscription_id')
|
|
2038
|
+
environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
|
|
2039
|
+
subscription_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionId')
|
|
2040
|
+
|
|
2041
|
+
|
|
2035
2042
|
class GetWidgetConfigurationInput(sgqlc.types.Input):
|
|
2036
2043
|
__schema__ = schema
|
|
2037
2044
|
__field_names__ = ('environment_id',)
|
|
@@ -8151,7 +8158,7 @@ class PublishPackageResult(sgqlc.types.Type):
|
|
|
8151
8158
|
|
|
8152
8159
|
class Query(sgqlc.types.Type):
|
|
8153
8160
|
__schema__ = schema
|
|
8154
|
-
__field_names__ = ('addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'current_environment', 'current_user', 'customer_portal', 'customer_resources', 'customer_subscriptions', 'customers', 'does_feature_exist', 'dump_environment_for_merge_comparison', 'dump_environment_product_catalog', 'entitlement', 'entitlements', 'environments', 'event_logs', 'events_fields', 'experiment', 'experiments', 'feature_associated_latest_packages', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_aws_external_id', 'get_customer_by_ref_id', 'get_experiment_stats', 'get_package_group', 'get_paywall', 'get_plan_by_ref_id', 'hook', 'hooks', 'import_integration_tasks', 'integrations', 'list_aws_product_dimensions', 'list_aws_products', 'members', 'mock_paywall', 'package_entitlements', 'package_group', 'package_groups', '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', 'validate_merge_environment', 'widget_configuration')
|
|
8161
|
+
__field_names__ = ('addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'current_environment', 'current_user', 'customer_portal', 'customer_resources', 'customer_subscriptions', 'customers', 'does_feature_exist', 'dump_environment_for_merge_comparison', 'dump_environment_product_catalog', 'entitlement', 'entitlements', 'environments', 'event_logs', 'events_fields', 'experiment', 'experiments', 'feature_associated_latest_packages', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_aws_external_id', 'get_customer_by_ref_id', 'get_experiment_stats', 'get_package_group', 'get_paywall', 'get_plan_by_ref_id', 'get_subscription', 'hook', 'hooks', 'import_integration_tasks', 'integrations', 'list_aws_product_dimensions', 'list_aws_products', 'members', 'mock_paywall', 'package_entitlements', 'package_group', 'package_groups', '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', 'validate_merge_environment', 'widget_configuration')
|
|
8155
8162
|
addons = sgqlc.types.Field(sgqlc.types.non_null(AddonConnection), graphql_name='addons', args=sgqlc.types.ArgDict((
|
|
8156
8163
|
('filter', sgqlc.types.Arg(AddonFilter, graphql_name='filter', default={})),
|
|
8157
8164
|
('paging', sgqlc.types.Arg(CursorPaging, graphql_name='paging', default={'first': 10})),
|
|
@@ -8288,6 +8295,10 @@ class Query(sgqlc.types.Type):
|
|
|
8288
8295
|
)
|
|
8289
8296
|
get_plan_by_ref_id = sgqlc.types.Field(Plan, graphql_name='getPlanByRefId', args=sgqlc.types.ArgDict((
|
|
8290
8297
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(GetPackageByRefIdInput), graphql_name='input', default=None)),
|
|
8298
|
+
))
|
|
8299
|
+
)
|
|
8300
|
+
get_subscription = sgqlc.types.Field(sgqlc.types.non_null(CustomerSubscription), graphql_name='getSubscription', args=sgqlc.types.ArgDict((
|
|
8301
|
+
('input', sgqlc.types.Arg(sgqlc.types.non_null(GetSubscriptionInput), graphql_name='input', default=None)),
|
|
8291
8302
|
))
|
|
8292
8303
|
)
|
|
8293
8304
|
hook = sgqlc.types.Field(Hook, graphql_name='hook', args=sgqlc.types.ArgDict((
|
|
@@ -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=Lp-svtpJAn-LmjYeMGVfIfZbRipu_NjBAEm3SFWQnW8,70845
|
|
5
|
+
stigg/generated/schema.py,sha256=_2e1APlPolByu2O3jX9P_dlKywQHnuUJiI9_lnqMLoA,604344
|
|
6
|
+
stigg_api_client-1.233.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
7
|
+
stigg_api_client-1.233.0.dist-info/METADATA,sha256=DuIU3t4rvF19gl5OEzak_rjgdnwBnf53uasleOFQSe0,3198
|
|
8
|
+
stigg_api_client-1.233.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
9
|
+
stigg_api_client-1.233.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=jACwiE5aKretjw6ot1r3tKEvtRTmY0M-GohtytO7VWk,69122
|
|
5
|
-
stigg/generated/schema.py,sha256=BK9OWEN-_3e0WdcPnsVh-pTLI8pKCX2n0fcYpGWQosA,603744
|
|
6
|
-
stigg_api_client-1.230.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
7
|
-
stigg_api_client-1.230.0.dist-info/METADATA,sha256=o80hpRhY91ZHNu55HuG7R9Z8yMd1-3uLSyAPZI9zsuU,3198
|
|
8
|
-
stigg_api_client-1.230.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
9
|
-
stigg_api_client-1.230.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|