stigg-api-client 0.721.0__tar.gz → 0.722.0__tar.gz

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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 0.721.0
3
+ Version: 0.722.0
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "stigg-api-client"
3
- version = "0.721.0"
3
+ version = "0.722.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -1244,6 +1244,12 @@ def mutation_report_usage():
1244
1244
  return _op
1245
1245
 
1246
1246
 
1247
+ def mutation_report_usage_bulk():
1248
+ _op = sgqlc.operation.Operation(_schema_root.mutation_type, name='ReportUsageBulk', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.ReportUsageBulkInput))))
1249
+ _op.report_usage_bulk(input=sgqlc.types.Variable('input'))
1250
+ return _op
1251
+
1252
+
1247
1253
  def mutation_report_event():
1248
1254
  _op = sgqlc.operation.Operation(_schema_root.mutation_type, name='ReportEvent', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.UsageEventsReportInput))))
1249
1255
  _op.report_event(events=sgqlc.types.Variable('input'))
@@ -1310,6 +1316,7 @@ class Mutation:
1310
1316
  report_entitlement_check_requested = mutation_report_entitlement_check_requested()
1311
1317
  report_event = mutation_report_event()
1312
1318
  report_usage = mutation_report_usage()
1319
+ report_usage_bulk = mutation_report_usage_bulk()
1313
1320
  revoke_promotional_entitlement = mutation_revoke_promotional_entitlement()
1314
1321
  transfer_subscription = mutation_transfer_subscription()
1315
1322
  unarchive_customer = mutation_unarchive_customer()
@@ -2769,6 +2769,24 @@ class RemoveExperimentFromCustomerSubscriptionInput(sgqlc.types.Input):
2769
2769
  relation_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='relationId')
2770
2770
 
2771
2771
 
2772
+ class ReportUsageBaseInput(sgqlc.types.Input):
2773
+ __schema__ = schema
2774
+ __field_names__ = ('created_at', 'customer_id', 'feature_id', 'resource_id', 'update_behavior', 'value')
2775
+ created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
2776
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
2777
+ feature_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='featureId')
2778
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
2779
+ update_behavior = sgqlc.types.Field(UsageUpdateBehavior, graphql_name='updateBehavior')
2780
+ value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='value')
2781
+
2782
+
2783
+ class ReportUsageBulkInput(sgqlc.types.Input):
2784
+ __schema__ = schema
2785
+ __field_names__ = ('environment_id', 'usages')
2786
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
2787
+ usages = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(ReportUsageBaseInput))), graphql_name='usages')
2788
+
2789
+
2772
2790
  class ReportUsageInput(sgqlc.types.Input):
2773
2791
  __schema__ = schema
2774
2792
  __field_names__ = ('created_at', 'customer_id', 'environment_id', 'feature_id', 'resource_id', 'update_behavior', 'value')
@@ -5742,7 +5760,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
5742
5760
 
5743
5761
  class Mutation(sgqlc.types.Type):
5744
5762
  __schema__ = schema
5745
- __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_one_coupon', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', '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_feature', 'create_one_hook', 'create_one_integration', 'create_one_plan', 'create_one_product', 'create_or_update_aws_marketplace_product', 'create_plan_draft', 'create_subscription', 'create_usage_measurement', 'delete_feature', 'delete_one_addon', 'delete_one_feature', 'delete_one_hook', 'delete_one_integration', 'delete_one_package_entitlement', 'delete_one_price', 'delete_one_product', 'delete_one_promotional_entitlement', 'duplicate_product', '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', 'migrate_subscription_to_latest', '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', 'resend_email_verification', 'resync_integration', 'revoke_promotional_entitlement', 'set_base_plan_on_plan', 'set_compatible_addons_on_plan', 'set_coupon_on_customer', 'set_coupon_on_customer_subscription', 'set_experiment_on_customer', 'set_experiment_on_customer_subscription', 'set_package_pricing', 'set_widget_configuration', 'start_experiment', 'stop_experiment', 'sync_tax_rates', 'transfer_subscription', 'trigger_import_catalog', 'trigger_import_customers', 'trigger_plan_subscription_migration', '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_feature', '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')
5763
+ __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_one_coupon', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', '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_feature', 'create_one_hook', 'create_one_integration', 'create_one_plan', 'create_one_product', 'create_or_update_aws_marketplace_product', 'create_plan_draft', 'create_subscription', 'create_usage_measurement', 'delete_feature', 'delete_one_addon', 'delete_one_feature', 'delete_one_hook', 'delete_one_integration', 'delete_one_package_entitlement', 'delete_one_price', 'delete_one_product', 'delete_one_promotional_entitlement', 'duplicate_product', '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', 'migrate_subscription_to_latest', '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_coupon_on_customer', 'set_coupon_on_customer_subscription', 'set_experiment_on_customer', 'set_experiment_on_customer_subscription', 'set_package_pricing', 'set_widget_configuration', 'start_experiment', 'stop_experiment', 'sync_tax_rates', 'transfer_subscription', 'trigger_import_catalog', 'trigger_import_customers', 'trigger_plan_subscription_migration', '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_feature', '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')
5746
5764
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
5747
5765
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
5748
5766
  ))
@@ -6030,6 +6048,10 @@ class Mutation(sgqlc.types.Type):
6030
6048
  )
6031
6049
  report_usage = sgqlc.types.Field(sgqlc.types.non_null('UsageMeasurementWithCurrentUsage'), graphql_name='reportUsage', args=sgqlc.types.ArgDict((
6032
6050
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(ReportUsageInput), graphql_name='input', default=None)),
6051
+ ))
6052
+ )
6053
+ report_usage_bulk = sgqlc.types.Field(String, graphql_name='reportUsageBulk', args=sgqlc.types.ArgDict((
6054
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(ReportUsageBulkInput), graphql_name='input', default=None)),
6033
6055
  ))
6034
6056
  )
6035
6057
  resend_email_verification = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='resendEmailVerification')