stigg-api-client 3.46.1__py3-none-any.whl → 3.53.4__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/schema.py +38 -1
- {stigg_api_client-3.46.1.dist-info → stigg_api_client-3.53.4.dist-info}/METADATA +1 -1
- {stigg_api_client-3.46.1.dist-info → stigg_api_client-3.53.4.dist-info}/RECORD +5 -5
- {stigg_api_client-3.46.1.dist-info → stigg_api_client-3.53.4.dist-info}/LICENSE +0 -0
- {stigg_api_client-3.46.1.dist-info → stigg_api_client-3.53.4.dist-info}/WHEEL +0 -0
stigg/generated/schema.py
CHANGED
|
@@ -131,6 +131,11 @@ class CreditGrantType(sgqlc.types.Enum):
|
|
|
131
131
|
__choices__ = ('PAID', 'PROMOTIONAL')
|
|
132
132
|
|
|
133
133
|
|
|
134
|
+
class CreditLedgerEventType(sgqlc.types.Enum):
|
|
135
|
+
__schema__ = schema
|
|
136
|
+
__choices__ = ('CREDITS_CONSUMED', 'CREDITS_EXPIRED', 'CREDITS_GRANTED')
|
|
137
|
+
|
|
138
|
+
|
|
134
139
|
class Currency(sgqlc.types.Enum):
|
|
135
140
|
__schema__ = schema
|
|
136
141
|
__choices__ = ('AED', 'ALL', 'AMD', 'ANG', 'AUD', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BIF', 'BMD', 'BND', 'BRL', 'BSD', 'BWP', 'BYN', 'BZD', 'CAD', 'CDF', 'CHF', 'CLP', 'CNY', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EGP', 'ETB', 'EUR', 'FJD', 'GBP', 'GEL', 'GIP', 'GMD', 'GNF', 'GYD', 'HKD', 'HRK', 'HTG', 'IDR', 'ILS', 'INR', 'ISK', 'JMD', 'JPY', 'KES', 'KGS', 'KHR', 'KMF', 'KRW', 'KYD', 'KZT', 'LBP', 'LKR', 'LRD', 'LSL', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP', 'MRO', 'MVR', 'MWK', 'MXN', 'MYR', 'MZN', 'NAD', 'NGN', 'NOK', 'NPR', 'NZD', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SEK', 'SGD', 'SLE', 'SLL', 'SOS', 'SZL', 'THB', 'TJS', 'TOP', 'TRY', 'TTD', 'TZS', 'UAH', 'UGX', 'USD', 'UZS', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW')
|
|
@@ -1336,6 +1341,14 @@ class CreditGrantInput(sgqlc.types.Input):
|
|
|
1336
1341
|
resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
|
|
1337
1342
|
|
|
1338
1343
|
|
|
1344
|
+
class CreditLedgerInput(sgqlc.types.Input):
|
|
1345
|
+
__schema__ = schema
|
|
1346
|
+
__field_names__ = ('customer_id', 'environment_id', 'resource_id')
|
|
1347
|
+
customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
|
|
1348
|
+
environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
|
|
1349
|
+
resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
|
|
1350
|
+
|
|
1351
|
+
|
|
1339
1352
|
class CreditRateInput(sgqlc.types.Input):
|
|
1340
1353
|
__schema__ = schema
|
|
1341
1354
|
__field_names__ = ('amount', 'custom_currency_id')
|
|
@@ -5564,6 +5577,26 @@ class CreditGrant(sgqlc.types.Type):
|
|
|
5564
5577
|
updated_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='updatedAt')
|
|
5565
5578
|
|
|
5566
5579
|
|
|
5580
|
+
class CreditLedger(sgqlc.types.Type):
|
|
5581
|
+
__schema__ = schema
|
|
5582
|
+
__field_names__ = ('events',)
|
|
5583
|
+
events = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('CreditLedgerEvent'))), graphql_name='events')
|
|
5584
|
+
|
|
5585
|
+
|
|
5586
|
+
class CreditLedgerEvent(sgqlc.types.Type):
|
|
5587
|
+
__schema__ = schema
|
|
5588
|
+
__field_names__ = ('amount', 'credit_currency_id', 'credit_grant_id', 'customer_id', 'event_id', 'event_type', 'feature_id', 'resource_id', 'timestamp')
|
|
5589
|
+
amount = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='amount')
|
|
5590
|
+
credit_currency_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='creditCurrencyId')
|
|
5591
|
+
credit_grant_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='creditGrantId')
|
|
5592
|
+
customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
|
|
5593
|
+
event_id = sgqlc.types.Field(String, graphql_name='eventId')
|
|
5594
|
+
event_type = sgqlc.types.Field(sgqlc.types.non_null(CreditLedgerEventType), graphql_name='eventType')
|
|
5595
|
+
feature_id = sgqlc.types.Field(String, graphql_name='featureId')
|
|
5596
|
+
resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
|
|
5597
|
+
timestamp = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='timestamp')
|
|
5598
|
+
|
|
5599
|
+
|
|
5567
5600
|
class CreditRate(sgqlc.types.Type):
|
|
5568
5601
|
__schema__ = schema
|
|
5569
5602
|
__field_names__ = ('amount', 'custom_currency_id')
|
|
@@ -9192,7 +9225,7 @@ class PublishPackageResult(sgqlc.types.Type):
|
|
|
9192
9225
|
|
|
9193
9226
|
class Query(sgqlc.types.Type):
|
|
9194
9227
|
__schema__ = schema
|
|
9195
|
-
__field_names__ = ('addon_associated_entities', 'addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'credit_balance_summary', 'credit_grants', 'current_environment', 'current_user', 'custom_currencies', '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', 'feature_group', 'feature_group_associated_latest_packages', 'feature_groups', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_auth0_applications', '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', 'subscriptions', 'test_hook_data', 'trigger_workflow_with_test_event', 'usage_events', 'usage_history', 'usage_history_v2', 'usage_measurements', 'validate_merge_environment', 'verified_account_domains', 'widget_configuration', 'workflow_triggers')
|
|
9228
|
+
__field_names__ = ('addon_associated_entities', 'addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'credit_balance_summary', 'credit_grants', 'credits_ledger', 'current_environment', 'current_user', 'custom_currencies', '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', 'feature_group', 'feature_group_associated_latest_packages', 'feature_groups', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_auth0_applications', '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', 'subscriptions', 'test_hook_data', 'trigger_workflow_with_test_event', 'usage_events', 'usage_history', 'usage_history_v2', 'usage_measurements', 'validate_merge_environment', 'verified_account_domains', 'widget_configuration', 'workflow_triggers')
|
|
9196
9229
|
addon_associated_entities = sgqlc.types.Field(sgqlc.types.non_null(AddonAssociatedEntities), graphql_name='addonAssociatedEntities', args=sgqlc.types.ArgDict((
|
|
9197
9230
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonAssociatedEntitiesInput), graphql_name='input', default=None)),
|
|
9198
9231
|
))
|
|
@@ -9231,6 +9264,10 @@ class Query(sgqlc.types.Type):
|
|
|
9231
9264
|
)
|
|
9232
9265
|
credit_grants = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(CreditGrant))), graphql_name='creditGrants', args=sgqlc.types.ArgDict((
|
|
9233
9266
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(GetCreditGrantsInput), graphql_name='input', default=None)),
|
|
9267
|
+
))
|
|
9268
|
+
)
|
|
9269
|
+
credits_ledger = sgqlc.types.Field(sgqlc.types.non_null(CreditLedger), graphql_name='creditsLedger', args=sgqlc.types.ArgDict((
|
|
9270
|
+
('input', sgqlc.types.Arg(sgqlc.types.non_null(CreditLedgerInput), graphql_name='input', default=None)),
|
|
9234
9271
|
))
|
|
9235
9272
|
)
|
|
9236
9273
|
current_environment = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='currentEnvironment')
|
|
@@ -2,8 +2,8 @@ stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
|
|
|
2
2
|
stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
|
|
3
3
|
stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
stigg/generated/operations.py,sha256=Y5Kp9sgJhzV-SngubFYvoJkOdfXP1v6GiUy0TkrhLx8,85133
|
|
5
|
-
stigg/generated/schema.py,sha256=
|
|
6
|
-
stigg_api_client-3.
|
|
7
|
-
stigg_api_client-3.
|
|
8
|
-
stigg_api_client-3.
|
|
9
|
-
stigg_api_client-3.
|
|
5
|
+
stigg/generated/schema.py,sha256=YXx7uDpSBdv-Qdarklglh0jXkwPPPvQmryWwiksfKLs,700736
|
|
6
|
+
stigg_api_client-3.53.4.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
7
|
+
stigg_api_client-3.53.4.dist-info/METADATA,sha256=UvXTiA_pLLre6zjpAocI6H7sxbRjLrDbp1tAVZD8USE,3197
|
|
8
|
+
stigg_api_client-3.53.4.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
9
|
+
stigg_api_client-3.53.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|