stigg-api-client 1.80.1__tar.gz → 1.81.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 1.80.1
3
+ Version: 1.81.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 = "1.80.1"
3
+ version = "1.81.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -270,7 +270,7 @@ class PackageEntitlementSortFields(sgqlc.types.Enum):
270
270
 
271
271
  class PackageGroupSortFields(sgqlc.types.Enum):
272
272
  __schema__ = schema
273
- __choices__ = ('createdAt', 'displayName', 'environmentId', 'isLatest', 'packageGroupId', 'status', 'updatedAt', 'versionNumber')
273
+ __choices__ = ('createdAt', 'displayName', 'environmentId', 'isLatest', 'packageGroupId', 'productId', 'status', 'updatedAt', 'versionNumber')
274
274
 
275
275
 
276
276
  class PackageGroupStatus(sgqlc.types.Enum):
@@ -1046,20 +1046,12 @@ class CreateOrUpdateAwsMarketplaceProductInput(sgqlc.types.Input):
1046
1046
 
1047
1047
  class CreatePackageGroup(sgqlc.types.Input):
1048
1048
  __schema__ = schema
1049
- __field_names__ = ('description', 'display_name', 'environment_id', 'package_group_id', 'product_id', 'status')
1049
+ __field_names__ = ('description', 'display_name', 'environment_id', 'package_group_id', 'product_id')
1050
1050
  description = sgqlc.types.Field(String, graphql_name='description')
1051
1051
  display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
1052
1052
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
1053
1053
  package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
1054
1054
  product_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='productId')
1055
- status = sgqlc.types.Field(PackageStatus, graphql_name='status')
1056
-
1057
-
1058
- class CreatePackageGroupDraft(sgqlc.types.Input):
1059
- __schema__ = schema
1060
- __field_names__ = ('environment_id', 'package_group_id')
1061
- environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
1062
- package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
1063
1055
 
1064
1056
 
1065
1057
  class CursorPaging(sgqlc.types.Input):
@@ -2360,7 +2352,7 @@ class PackageEntitlementUpdateInput(sgqlc.types.Input):
2360
2352
 
2361
2353
  class PackageGroupFilter(sgqlc.types.Input):
2362
2354
  __schema__ = schema
2363
- __field_names__ = ('addons', 'and_', 'created_at', 'display_name', 'environment_id', 'is_latest', 'or_', 'package_group_id', 'product', 'status', 'updated_at', 'version_number')
2355
+ __field_names__ = ('addons', 'and_', 'created_at', 'display_name', 'environment_id', 'is_latest', 'or_', 'package_group_id', 'product', 'product_id', 'status', 'updated_at', 'version_number')
2364
2356
  addons = sgqlc.types.Field('PackageGroupFilterAddonFilter', graphql_name='addons')
2365
2357
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageGroupFilter')), graphql_name='and')
2366
2358
  created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
@@ -2370,6 +2362,7 @@ class PackageGroupFilter(sgqlc.types.Input):
2370
2362
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageGroupFilter')), graphql_name='or')
2371
2363
  package_group_id = sgqlc.types.Field('StringFieldComparison', graphql_name='packageGroupId')
2372
2364
  product = sgqlc.types.Field('PackageGroupFilterProductFilter', graphql_name='product')
2365
+ product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='productId')
2373
2366
  status = sgqlc.types.Field('PackageGroupStatusFilterComparison', graphql_name='status')
2374
2367
  updated_at = sgqlc.types.Field(DateFieldComparison, graphql_name='updatedAt')
2375
2368
  version_number = sgqlc.types.Field(IntFieldComparison, graphql_name='versionNumber')
@@ -2587,7 +2580,7 @@ class PlanFilterAddonFilter(sgqlc.types.Input):
2587
2580
 
2588
2581
  class PlanFilterPackageGroupFilter(sgqlc.types.Input):
2589
2582
  __schema__ = schema
2590
- __field_names__ = ('and_', 'created_at', 'display_name', 'environment_id', 'is_latest', 'or_', 'package_group_id', 'status', 'updated_at', 'version_number')
2583
+ __field_names__ = ('and_', 'created_at', 'display_name', 'environment_id', 'is_latest', 'or_', 'package_group_id', 'product_id', 'status', 'updated_at', 'version_number')
2591
2584
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilterPackageGroupFilter')), graphql_name='and')
2592
2585
  created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
2593
2586
  display_name = sgqlc.types.Field('StringFieldComparison', graphql_name='displayName')
@@ -2595,6 +2588,7 @@ class PlanFilterPackageGroupFilter(sgqlc.types.Input):
2595
2588
  is_latest = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isLatest')
2596
2589
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilterPackageGroupFilter')), graphql_name='or')
2597
2590
  package_group_id = sgqlc.types.Field('StringFieldComparison', graphql_name='packageGroupId')
2591
+ product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='productId')
2598
2592
  status = sgqlc.types.Field(PackageGroupStatusFilterComparison, graphql_name='status')
2599
2593
  updated_at = sgqlc.types.Field(DateFieldComparison, graphql_name='updatedAt')
2600
2594
  version_number = sgqlc.types.Field(IntFieldComparison, graphql_name='versionNumber')
@@ -2988,13 +2982,6 @@ class ProvisionSubscriptionInput(sgqlc.types.Input):
2988
2982
  unit_quantity = sgqlc.types.Field(Float, graphql_name='unitQuantity')
2989
2983
 
2990
2984
 
2991
- class PublishPackageGroup(sgqlc.types.Input):
2992
- __schema__ = schema
2993
- __field_names__ = ('environment_id', 'package_group_id')
2994
- environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
2995
- package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
2996
-
2997
-
2998
2985
  class RecalculateEntitlementsInput(sgqlc.types.Input):
2999
2986
  __schema__ = schema
3000
2987
  __field_names__ = ('customer_ids', 'environment_id', 'for_all_customers', 'side_effects_options')
@@ -6173,7 +6160,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
6173
6160
 
6174
6161
  class Mutation(sgqlc.types.Type):
6175
6162
  __schema__ = schema
6176
- __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_package_group', 'create_package_group_draft', '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', 'detach_customer_payment_method', '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', 'merge_environment', 'migrate_subscription_to_latest', 'preview_subscription', 'provision_customer', 'provision_sandbox', 'provision_subscription', 'provision_subscription_v2', 'publish_addon', 'publish_package_group', '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', '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_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')
6163
+ __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_package_group', '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', 'detach_customer_payment_method', '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', 'merge_environment', '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_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', '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_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')
6177
6164
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
6178
6165
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
6179
6166
  ))
@@ -6288,10 +6275,6 @@ class Mutation(sgqlc.types.Type):
6288
6275
  )
6289
6276
  create_package_group = sgqlc.types.Field(sgqlc.types.non_null('PackageGroup'), graphql_name='createPackageGroup', args=sgqlc.types.ArgDict((
6290
6277
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreatePackageGroup), graphql_name='input', default=None)),
6291
- ))
6292
- )
6293
- create_package_group_draft = sgqlc.types.Field(sgqlc.types.non_null('PackageGroup'), graphql_name='createPackageGroupDraft', args=sgqlc.types.ArgDict((
6294
- ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreatePackageGroupDraft), graphql_name='input', default=None)),
6295
6278
  ))
6296
6279
  )
6297
6280
  create_plan_draft = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='createPlanDraft', args=sgqlc.types.ArgDict((
@@ -6416,10 +6399,6 @@ class Mutation(sgqlc.types.Type):
6416
6399
  )
6417
6400
  publish_addon = sgqlc.types.Field(sgqlc.types.non_null('PublishPackageResult'), graphql_name='publishAddon', args=sgqlc.types.ArgDict((
6418
6401
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(PackagePublishInput), graphql_name='input', default=None)),
6419
- ))
6420
- )
6421
- publish_package_group = sgqlc.types.Field(sgqlc.types.non_null('PackageGroup'), graphql_name='publishPackageGroup', args=sgqlc.types.ArgDict((
6422
- ('input', sgqlc.types.Arg(sgqlc.types.non_null(PublishPackageGroup), graphql_name='input', default=None)),
6423
6402
  ))
6424
6403
  )
6425
6404
  publish_plan = sgqlc.types.Field(sgqlc.types.non_null('PublishPackageResult'), graphql_name='publishPlan', args=sgqlc.types.ArgDict((
@@ -6833,7 +6812,7 @@ class PackageEntitlementMinAggregate(sgqlc.types.Type):
6833
6812
 
6834
6813
  class PackageGroup(sgqlc.types.Type):
6835
6814
  __schema__ = schema
6836
- __field_names__ = ('addons', 'created_at', 'description', 'display_name', 'environment_id', 'is_latest', 'package_group_id', 'product', 'status', 'updated_at', 'version_number')
6815
+ __field_names__ = ('addons', 'created_at', 'description', 'display_name', 'environment_id', 'is_latest', 'package_group_id', 'product', 'product_id', 'status', 'updated_at', 'version_number')
6837
6816
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Addon)), graphql_name='addons', args=sgqlc.types.ArgDict((
6838
6817
  ('filter', sgqlc.types.Arg(AddonFilter, graphql_name='filter', default={})),
6839
6818
  ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(AddonSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
@@ -6846,6 +6825,7 @@ class PackageGroup(sgqlc.types.Type):
6846
6825
  is_latest = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isLatest')
6847
6826
  package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
6848
6827
  product = sgqlc.types.Field(sgqlc.types.non_null('Product'), graphql_name='product')
6828
+ product_id = sgqlc.types.Field(String, graphql_name='productId')
6849
6829
  status = sgqlc.types.Field(sgqlc.types.non_null(PackageGroupStatus), graphql_name='status')
6850
6830
  updated_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='updatedAt')
6851
6831
  version_number = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='versionNumber')
@@ -6853,12 +6833,13 @@ class PackageGroup(sgqlc.types.Type):
6853
6833
 
6854
6834
  class PackageGroupAggregateGroupBy(sgqlc.types.Type):
6855
6835
  __schema__ = schema
6856
- __field_names__ = ('created_at', 'display_name', 'environment_id', 'is_latest', 'package_group_id', 'status', 'updated_at', 'version_number')
6836
+ __field_names__ = ('created_at', 'display_name', 'environment_id', 'is_latest', 'package_group_id', 'product_id', 'status', 'updated_at', 'version_number')
6857
6837
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6858
6838
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
6859
6839
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
6860
6840
  is_latest = sgqlc.types.Field(Boolean, graphql_name='isLatest')
6861
6841
  package_group_id = sgqlc.types.Field(String, graphql_name='packageGroupId')
6842
+ product_id = sgqlc.types.Field(String, graphql_name='productId')
6862
6843
  status = sgqlc.types.Field(PackageGroupStatus, graphql_name='status')
6863
6844
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
6864
6845
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
@@ -6880,12 +6861,13 @@ class PackageGroupConnection(sgqlc.types.relay.Connection):
6880
6861
 
6881
6862
  class PackageGroupCountAggregate(sgqlc.types.Type):
6882
6863
  __schema__ = schema
6883
- __field_names__ = ('created_at', 'display_name', 'environment_id', 'is_latest', 'package_group_id', 'status', 'updated_at', 'version_number')
6864
+ __field_names__ = ('created_at', 'display_name', 'environment_id', 'is_latest', 'package_group_id', 'product_id', 'status', 'updated_at', 'version_number')
6884
6865
  created_at = sgqlc.types.Field(Int, graphql_name='createdAt')
6885
6866
  display_name = sgqlc.types.Field(Int, graphql_name='displayName')
6886
6867
  environment_id = sgqlc.types.Field(Int, graphql_name='environmentId')
6887
6868
  is_latest = sgqlc.types.Field(Int, graphql_name='isLatest')
6888
6869
  package_group_id = sgqlc.types.Field(Int, graphql_name='packageGroupId')
6870
+ product_id = sgqlc.types.Field(Int, graphql_name='productId')
6889
6871
  status = sgqlc.types.Field(Int, graphql_name='status')
6890
6872
  updated_at = sgqlc.types.Field(Int, graphql_name='updatedAt')
6891
6873
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
@@ -6900,11 +6882,12 @@ class PackageGroupEdge(sgqlc.types.Type):
6900
6882
 
6901
6883
  class PackageGroupMaxAggregate(sgqlc.types.Type):
6902
6884
  __schema__ = schema
6903
- __field_names__ = ('created_at', 'display_name', 'environment_id', 'package_group_id', 'status', 'updated_at', 'version_number')
6885
+ __field_names__ = ('created_at', 'display_name', 'environment_id', 'package_group_id', 'product_id', 'status', 'updated_at', 'version_number')
6904
6886
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6905
6887
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
6906
6888
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
6907
6889
  package_group_id = sgqlc.types.Field(String, graphql_name='packageGroupId')
6890
+ product_id = sgqlc.types.Field(String, graphql_name='productId')
6908
6891
  status = sgqlc.types.Field(PackageGroupStatus, graphql_name='status')
6909
6892
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
6910
6893
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
@@ -6912,11 +6895,12 @@ class PackageGroupMaxAggregate(sgqlc.types.Type):
6912
6895
 
6913
6896
  class PackageGroupMinAggregate(sgqlc.types.Type):
6914
6897
  __schema__ = schema
6915
- __field_names__ = ('created_at', 'display_name', 'environment_id', 'package_group_id', 'status', 'updated_at', 'version_number')
6898
+ __field_names__ = ('created_at', 'display_name', 'environment_id', 'package_group_id', 'product_id', 'status', 'updated_at', 'version_number')
6916
6899
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6917
6900
  display_name = sgqlc.types.Field(String, graphql_name='displayName')
6918
6901
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
6919
6902
  package_group_id = sgqlc.types.Field(String, graphql_name='packageGroupId')
6903
+ product_id = sgqlc.types.Field(String, graphql_name='productId')
6920
6904
  status = sgqlc.types.Field(PackageGroupStatus, graphql_name='status')
6921
6905
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
6922
6906
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')