stigg-api-client 1.229.0__py3-none-any.whl → 1.230.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 +0 -37
- stigg/generated/schema.py +3 -14
- {stigg_api_client-1.229.0.dist-info → stigg_api_client-1.230.0.dist-info}/METADATA +1 -1
- stigg_api_client-1.230.0.dist-info/RECORD +9 -0
- stigg_api_client-1.229.0.dist-info/RECORD +0 -9
- {stigg_api_client-1.229.0.dist-info → stigg_api_client-1.230.0.dist-info}/LICENSE +0 -0
- {stigg_api_client-1.229.0.dist-info → stigg_api_client-1.230.0.dist-info}/WHEEL +0 -0
stigg/generated/operations.py
CHANGED
|
@@ -203,26 +203,6 @@ 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_addons = _frag.addons()
|
|
220
|
-
_frag_addons.quantity()
|
|
221
|
-
_frag_addons_addon = _frag_addons.addon()
|
|
222
|
-
_frag_addons_addon.ref_id(__alias__='addon_id')
|
|
223
|
-
return _frag
|
|
224
|
-
|
|
225
|
-
|
|
226
206
|
def fragment_slim_subscription_fragment():
|
|
227
207
|
_frag = sgqlc.operation.Fragment(_schema.CustomerSubscription, 'SlimSubscriptionFragment')
|
|
228
208
|
_frag.id()
|
|
@@ -1272,7 +1252,6 @@ class Fragment:
|
|
|
1272
1252
|
schedule_variables_fragment = fragment_schedule_variables_fragment()
|
|
1273
1253
|
slim_customer_fragment = fragment_slim_customer_fragment()
|
|
1274
1254
|
slim_subscription_fragment = fragment_slim_subscription_fragment()
|
|
1275
|
-
slim_subscription_fragment_v2 = fragment_slim_subscription_fragment_v2()
|
|
1276
1255
|
subscription_fragment = fragment_subscription_fragment()
|
|
1277
1256
|
subscription_future_update_data = fragment_subscription_future_update_data()
|
|
1278
1257
|
subscription_invoice_fragment = fragment_subscription_invoice_fragment()
|
|
@@ -1505,20 +1484,6 @@ def query_get_active_subscriptions():
|
|
|
1505
1484
|
return _op
|
|
1506
1485
|
|
|
1507
1486
|
|
|
1508
|
-
def query_get_active_subscriptions_list():
|
|
1509
|
-
_op = sgqlc.operation.Operation(_schema_root.query_type, name='GetActiveSubscriptionsList', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.GetActiveSubscriptionsInput))))
|
|
1510
|
-
_op_get_active_subscriptions = _op.get_active_subscriptions(input=sgqlc.types.Variable('input'))
|
|
1511
|
-
_op_get_active_subscriptions.__fragment__(fragment_slim_subscription_fragment_v2())
|
|
1512
|
-
return _op
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
def query_get_subscription():
|
|
1516
|
-
_op = sgqlc.operation.Operation(_schema_root.query_type, name='GetSubscription', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.GetSubscriptionInput))))
|
|
1517
|
-
_op_get_subscription = _op.get_subscription(input=sgqlc.types.Variable('input'))
|
|
1518
|
-
_op_get_subscription.__fragment__(fragment_subscription_fragment())
|
|
1519
|
-
return _op
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
1487
|
def query_get_coupons():
|
|
1523
1488
|
_op = sgqlc.operation.Operation(_schema_root.query_type, name='GetCoupons')
|
|
1524
1489
|
_op_coupons = _op.coupons(filter={'status': {'eq': 'ACTIVE'}}, paging={'first': 50})
|
|
@@ -1599,7 +1564,6 @@ def query_get_usage_history():
|
|
|
1599
1564
|
|
|
1600
1565
|
class Query:
|
|
1601
1566
|
get_active_subscriptions = query_get_active_subscriptions()
|
|
1602
|
-
get_active_subscriptions_list = query_get_active_subscriptions_list()
|
|
1603
1567
|
get_checkout_state = query_get_checkout_state()
|
|
1604
1568
|
get_coupons = query_get_coupons()
|
|
1605
1569
|
get_customer_by_id = query_get_customer_by_id()
|
|
@@ -1611,7 +1575,6 @@ class Query:
|
|
|
1611
1575
|
get_paywall = query_get_paywall()
|
|
1612
1576
|
get_products = query_get_products()
|
|
1613
1577
|
get_sdk_configuration = query_get_sdk_configuration()
|
|
1614
|
-
get_subscription = query_get_subscription()
|
|
1615
1578
|
get_usage_history = query_get_usage_history()
|
|
1616
1579
|
|
|
1617
1580
|
|
stigg/generated/schema.py
CHANGED
|
@@ -412,7 +412,7 @@ class SubscriptionAddonSortFields(sgqlc.types.Enum):
|
|
|
412
412
|
|
|
413
413
|
class SubscriptionCancelReason(sgqlc.types.Enum):
|
|
414
414
|
__schema__ = schema
|
|
415
|
-
__choices__ = ('CancelledByBilling', 'CustomerArchived', 'DetachBilling', 'Expired', 'Immediate', 'PendingPaymentExpired', 'ScheduledCancellation', 'TrialConverted', 'TrialEnded', 'UpgradeOrDowngrade')
|
|
415
|
+
__choices__ = ('AutoCancellationRule', 'CancelledByBilling', 'CustomerArchived', 'DetachBilling', 'Expired', 'Immediate', 'PendingPaymentExpired', 'ScheduledCancellation', 'TrialConverted', 'TrialEnded', 'UpgradeOrDowngrade')
|
|
416
416
|
|
|
417
417
|
|
|
418
418
|
class SubscriptionCancellationAction(sgqlc.types.Enum):
|
|
@@ -2032,13 +2032,6 @@ 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
|
-
|
|
2042
2035
|
class GetWidgetConfigurationInput(sgqlc.types.Input):
|
|
2043
2036
|
__schema__ = schema
|
|
2044
2037
|
__field_names__ = ('environment_id',)
|
|
@@ -5259,7 +5252,7 @@ class CustomerSubscription(sgqlc.types.Type):
|
|
|
5259
5252
|
sync_states = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SyncState')), graphql_name='syncStates')
|
|
5260
5253
|
total_price = sgqlc.types.Field('CustomerSubscriptionTotalPrice', graphql_name='totalPrice')
|
|
5261
5254
|
trial_end_date = sgqlc.types.Field(DateTime, graphql_name='trialEndDate')
|
|
5262
|
-
was_in_trial = sgqlc.types.Field(
|
|
5255
|
+
was_in_trial = sgqlc.types.Field(Boolean, graphql_name='wasInTrial')
|
|
5263
5256
|
|
|
5264
5257
|
|
|
5265
5258
|
class CustomerSubscriptionAggregateGroupBy(sgqlc.types.Type):
|
|
@@ -8158,7 +8151,7 @@ class PublishPackageResult(sgqlc.types.Type):
|
|
|
8158
8151
|
|
|
8159
8152
|
class Query(sgqlc.types.Type):
|
|
8160
8153
|
__schema__ = schema
|
|
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', '
|
|
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')
|
|
8162
8155
|
addons = sgqlc.types.Field(sgqlc.types.non_null(AddonConnection), graphql_name='addons', args=sgqlc.types.ArgDict((
|
|
8163
8156
|
('filter', sgqlc.types.Arg(AddonFilter, graphql_name='filter', default={})),
|
|
8164
8157
|
('paging', sgqlc.types.Arg(CursorPaging, graphql_name='paging', default={'first': 10})),
|
|
@@ -8295,10 +8288,6 @@ class Query(sgqlc.types.Type):
|
|
|
8295
8288
|
)
|
|
8296
8289
|
get_plan_by_ref_id = sgqlc.types.Field(Plan, graphql_name='getPlanByRefId', args=sgqlc.types.ArgDict((
|
|
8297
8290
|
('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)),
|
|
8302
8291
|
))
|
|
8303
8292
|
)
|
|
8304
8293
|
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=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,,
|
|
@@ -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=HPSG_TD_Ryvqyt-rOu6s8jBnDiGncSy5YOZrV2z5f3s,70815
|
|
5
|
-
stigg/generated/schema.py,sha256=vnFSCYjcbXXbyYvQQWKq9bcX1PiQ_mXipP1Dbwp8WFg,604342
|
|
6
|
-
stigg_api_client-1.229.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
7
|
-
stigg_api_client-1.229.0.dist-info/METADATA,sha256=LoKDvxlLN7ym8UWsexKXXigqd3GbCUy0vhMj8etl_0Y,3198
|
|
8
|
-
stigg_api_client-1.229.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
9
|
-
stigg_api_client-1.229.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|