stigg-api-client 1.26.0__tar.gz → 1.29.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.
- {stigg_api_client-1.26.0 → stigg_api_client-1.29.0}/PKG-INFO +1 -1
- {stigg_api_client-1.26.0 → stigg_api_client-1.29.0}/pyproject.toml +1 -1
- {stigg_api_client-1.26.0 → stigg_api_client-1.29.0}/stigg/generated/schema.py +21 -4
- {stigg_api_client-1.26.0 → stigg_api_client-1.29.0}/LICENSE +0 -0
- {stigg_api_client-1.26.0 → stigg_api_client-1.29.0}/README.md +0 -0
- {stigg_api_client-1.26.0 → stigg_api_client-1.29.0}/stigg/__init__.py +0 -0
- {stigg_api_client-1.26.0 → stigg_api_client-1.29.0}/stigg/client.py +0 -0
- {stigg_api_client-1.26.0 → stigg_api_client-1.29.0}/stigg/generated/__init__.py +0 -0
- {stigg_api_client-1.26.0 → stigg_api_client-1.29.0}/stigg/generated/operations.py +0 -0
|
@@ -165,7 +165,7 @@ class EnvironmentType(sgqlc.types.Enum):
|
|
|
165
165
|
|
|
166
166
|
class ErrorCode(sgqlc.types.Enum):
|
|
167
167
|
__schema__ = schema
|
|
168
|
-
__choices__ = ('AccountNotFoundError', 'AddonHasToHavePriceError', 'AddonNotFound', 'AddonWithDraftCannotBeDeletedError', 'AmountTooLarge', 'ArchivedCouponCantBeApplied', 'AuthCustomerMismatch', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingPeriodMissingError', 'CannotArchiveFeatureError', 'CannotDeleteCustomerError', 'CannotDeleteFeatureError', 'CannotDeleteProductError', 'CannotEditPackageInNonDraftMode', 'CannotRemovePaymentMethodFromCustomerError', 'CannotReportUsageForEntitlementWithMeterError', 'CannotUpsertToPackageThatHasDraft', 'CheckoutIsNotSupported', 'CheckoutOptionsMissing', 'CouponNotFound', 'CustomerAlreadyHaveCustomerCoupon', 'CustomerAlreadyUsesCoupon', 'CustomerHasNoEmailAddress', 'CustomerHasNoPaymentMethod', 'CustomerNoBillingId', 'CustomerNotFound', 'CustomerResourceNotFound', 'DowngradeBillingPeriodNotSupportedError', 'DraftPlanCantBeArchived', 'DuplicateProductValidationError', 'DuplicatedEntityNotAllowed', 'EditAllowedOnDraftPackageOnlyError', 'EntitlementLimitExceededError', 'EntitlementsMustBelongToSamePackage', 'EntityIdDifferentFromRefIdError', 'EntityIsArchivedError', 'EnvironmentMissing', 'ExperimentAlreadyRunning', 'ExperimentNotFoundError', 'ExperimentStatusError', 'FailedToCreateCheckoutSessionError', 'FailedToImportCustomer', 'FeatureNotFound', 'FetchAllCountriesPricesNotAllowed', 'IdentityForbidden', 'ImportAlreadyInProgress', 'ImportSubscriptionsBulkError', 'InitStripePaymentMethodError', 'IntegrationNotFound', 'IntegrationValidationError', 'IntegrityViolation', 'InvalidAddressError', 'InvalidArgumentError', 'InvalidCancellationDate', 'InvalidEntitlementResetPeriod', 'InvalidMemberDelete', 'InvalidMetadataError', 'InvalidQuantity', 'InvalidSubscriptionStatus', 'InvalidUpdatePriceUnitAmountError', 'MemberInvitationError', 'MemberNotFound', 'MergeEnvironmentValidationError', 'MeterMustBeAssociatedToMeteredFeature', 'MeteringNotAvailableForFeatureType', 'MissingEntityIdError', 'NoFeatureEntitlementInSubscription', 'NoProductsAvailable', 'OperationNotAllowedDuringInProgressExperiment', 'PackageAlreadyPublished', 'PackagePricingTypeNotSet', 'PaymentMethodNotFoundError', 'PlanCannotBePublishWhenBasePlanIsDraft', 'PlanCannotBePublishWhenCompatibleAddonIsDraft', 'PlanIsUsedAsDefaultStartPlan', 'PlanIsUsedAsDowngradePlan', 'PlanNotFound', 'PlanWithChildCantBeDeleted', 'PlansCircularDependencyError', 'PriceNotFound', 'PromotionCodeCustomerNotFirstPurchase', 'PromotionCodeMaxRedemptionsReached', 'PromotionCodeMinimumAmountNotReached', 'PromotionCodeNotActive', 'PromotionCodeNotForCustomer', 'PromotionCodeNotFound', 'PromotionalEntitlementNotFoundError', 'RateLimitExceeded', 'RecalculateEntitlementsError', 'ResyncAlreadyInProgress', 'ScheduledMigrationAlreadyExistsError', 'SelectedBillingModelDoesntMatchImportedItemError', 'StripeCustomerIsDeleted', 'StripeError', 'SubscriptionAlreadyCanceledOrExpired', 'SubscriptionAlreadyOnLatestPlanError', 'SubscriptionMustHaveSinglePlanError', 'SubscriptionNotFound', 'TooManySubscriptionsPerCustomer', 'TrialMinDateError', 'TrialMustBeCancelledImmediately', 'UnPublishedPackage', 'Unauthenticated', 'UncompatibleSubscriptionAddon', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier')
|
|
168
|
+
__choices__ = ('AccountNotFoundError', 'AddonHasToHavePriceError', 'AddonNotFound', 'AddonWithDraftCannotBeDeletedError', 'AmountTooLarge', 'ArchivedCouponCantBeApplied', 'AuthCustomerMismatch', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingPeriodMissingError', 'CannotArchiveFeatureError', 'CannotDeleteCustomerError', 'CannotDeleteFeatureError', 'CannotDeleteProductError', 'CannotEditPackageInNonDraftMode', 'CannotRemovePaymentMethodFromCustomerError', 'CannotReportUsageForEntitlementWithMeterError', 'CannotUpsertToPackageThatHasDraft', 'CheckoutIsNotSupported', 'CheckoutOptionsMissing', 'CouponNotFound', 'CustomerAlreadyHaveCustomerCoupon', 'CustomerAlreadyUsesCoupon', 'CustomerHasNoEmailAddress', 'CustomerHasNoPaymentMethod', 'CustomerNoBillingId', 'CustomerNotFound', 'CustomerResourceNotFound', 'DowngradeBillingPeriodNotSupportedError', 'DraftPlanCantBeArchived', 'DuplicateProductValidationError', 'DuplicatedEntityNotAllowed', 'EditAllowedOnDraftPackageOnlyError', 'EntitlementLimitExceededError', 'EntitlementsMustBelongToSamePackage', 'EntityIdDifferentFromRefIdError', 'EntityIsArchivedError', 'EnvironmentMissing', 'ExperimentAlreadyRunning', 'ExperimentNotFoundError', 'ExperimentStatusError', 'FailedToCreateCheckoutSessionError', 'FailedToImportCustomer', 'FeatureNotFound', 'FetchAllCountriesPricesNotAllowed', 'IdentityForbidden', 'ImportAlreadyInProgress', 'ImportSubscriptionsBulkError', 'InitStripePaymentMethodError', 'IntegrationNotFound', 'IntegrationValidationError', 'IntegrityViolation', 'InvalidAddressError', 'InvalidArgumentError', 'InvalidCancellationDate', 'InvalidEntitlementResetPeriod', 'InvalidMemberDelete', 'InvalidMetadataError', 'InvalidQuantity', 'InvalidSubscriptionStatus', 'InvalidUpdatePriceUnitAmountError', 'MemberInvitationError', 'MemberNotFound', 'MergeEnvironmentValidationError', 'MeterMustBeAssociatedToMeteredFeature', 'MeteringNotAvailableForFeatureType', 'MissingEntityIdError', 'NoFeatureEntitlementInSubscription', 'NoProductsAvailable', 'OperationNotAllowedDuringInProgressExperiment', 'PackageAlreadyPublished', 'PackagePricingTypeNotSet', 'PaymentMethodNotFoundError', 'PlanCannotBePublishWhenBasePlanIsDraft', 'PlanCannotBePublishWhenCompatibleAddonIsDraft', 'PlanIsUsedAsDefaultStartPlan', 'PlanIsUsedAsDowngradePlan', 'PlanNotFound', 'PlanWithChildCantBeDeleted', 'PlansCircularDependencyError', 'PriceNotFound', 'ProductNotFoundError', 'PromotionCodeCustomerNotFirstPurchase', 'PromotionCodeMaxRedemptionsReached', 'PromotionCodeMinimumAmountNotReached', 'PromotionCodeNotActive', 'PromotionCodeNotForCustomer', 'PromotionCodeNotFound', 'PromotionalEntitlementNotFoundError', 'RateLimitExceeded', 'RecalculateEntitlementsError', 'ResyncAlreadyInProgress', 'ScheduledMigrationAlreadyExistsError', 'SelectedBillingModelDoesntMatchImportedItemError', 'StripeCustomerIsDeleted', 'StripeError', 'SubscriptionAlreadyCanceledOrExpired', 'SubscriptionAlreadyOnLatestPlanError', 'SubscriptionMustHaveSinglePlanError', 'SubscriptionNotFound', 'TooManySubscriptionsPerCustomer', 'TrialMinDateError', 'TrialMustBeCancelledImmediately', 'UnPublishedPackage', 'Unauthenticated', 'UncompatibleSubscriptionAddon', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier')
|
|
169
169
|
|
|
170
170
|
|
|
171
171
|
class EventLogType(sgqlc.types.Enum):
|
|
@@ -1454,6 +1454,12 @@ class DumpEnvironmentForForMergeComparisonInput(sgqlc.types.Input):
|
|
|
1454
1454
|
source_environment_slug = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='sourceEnvironmentSlug')
|
|
1455
1455
|
|
|
1456
1456
|
|
|
1457
|
+
class DumpEnvironmentProductCatalogInput(sgqlc.types.Input):
|
|
1458
|
+
__schema__ = schema
|
|
1459
|
+
__field_names__ = ('environment_slug',)
|
|
1460
|
+
environment_slug = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentSlug')
|
|
1461
|
+
|
|
1462
|
+
|
|
1457
1463
|
class DuplicateProductInput(sgqlc.types.Input):
|
|
1458
1464
|
__schema__ = schema
|
|
1459
1465
|
__field_names__ = ('description', 'display_name', 'environment_id', 'ref_id', 'source_product_id')
|
|
@@ -2026,11 +2032,12 @@ class MemberSort(sgqlc.types.Input):
|
|
|
2026
2032
|
|
|
2027
2033
|
class MergeEnvironmentInput(sgqlc.types.Input):
|
|
2028
2034
|
__schema__ = schema
|
|
2029
|
-
__field_names__ = ('destination_environment_name', 'destination_environment_slug', 'migration_type', 'source_environment_slug')
|
|
2035
|
+
__field_names__ = ('destination_environment_name', 'destination_environment_slug', 'migration_type', 'source_environment_slug', 'source_template')
|
|
2030
2036
|
destination_environment_name = sgqlc.types.Field(String, graphql_name='destinationEnvironmentName')
|
|
2031
2037
|
destination_environment_slug = sgqlc.types.Field(String, graphql_name='destinationEnvironmentSlug')
|
|
2032
2038
|
migration_type = sgqlc.types.Field(PublishMigrationType, graphql_name='migrationType')
|
|
2033
|
-
source_environment_slug = sgqlc.types.Field(
|
|
2039
|
+
source_environment_slug = sgqlc.types.Field(String, graphql_name='sourceEnvironmentSlug')
|
|
2040
|
+
source_template = sgqlc.types.Field(JSON, graphql_name='sourceTemplate')
|
|
2034
2041
|
|
|
2035
2042
|
|
|
2036
2043
|
class MeterAggregation(sgqlc.types.Input):
|
|
@@ -6976,6 +6983,12 @@ class ProductAggregateGroupBy(sgqlc.types.Type):
|
|
|
6976
6983
|
updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
|
|
6977
6984
|
|
|
6978
6985
|
|
|
6986
|
+
class ProductCatalogDump(sgqlc.types.Type):
|
|
6987
|
+
__schema__ = schema
|
|
6988
|
+
__field_names__ = ('dump',)
|
|
6989
|
+
dump = sgqlc.types.Field(sgqlc.types.non_null(JSON), graphql_name='dump')
|
|
6990
|
+
|
|
6991
|
+
|
|
6979
6992
|
class ProductConnection(sgqlc.types.relay.Connection):
|
|
6980
6993
|
__schema__ = schema
|
|
6981
6994
|
__field_names__ = ('edges', 'page_info', 'total_count')
|
|
@@ -7240,7 +7253,7 @@ class PublishPackageResult(sgqlc.types.Type):
|
|
|
7240
7253
|
|
|
7241
7254
|
class Query(sgqlc.types.Type):
|
|
7242
7255
|
__schema__ = schema
|
|
7243
|
-
__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', 'entitlement', 'entitlements', 'environments', '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_paywall', 'get_plan_by_ref_id', 'hook', 'hooks', 'import_integration_tasks', 'integrations', 'list_aws_product_dimensions', 'list_aws_products', 'members', 'mock_paywall', 'package_entitlements', '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')
|
|
7256
|
+
__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', '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_paywall', 'get_plan_by_ref_id', 'hook', 'hooks', 'import_integration_tasks', 'integrations', 'list_aws_product_dimensions', 'list_aws_products', 'members', 'mock_paywall', 'package_entitlements', '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')
|
|
7244
7257
|
addons = sgqlc.types.Field(sgqlc.types.non_null(AddonConnection), graphql_name='addons', args=sgqlc.types.ArgDict((
|
|
7245
7258
|
('filter', sgqlc.types.Arg(AddonFilter, graphql_name='filter', default={})),
|
|
7246
7259
|
('paging', sgqlc.types.Arg(CursorPaging, graphql_name='paging', default={'first': 10})),
|
|
@@ -7299,6 +7312,10 @@ class Query(sgqlc.types.Type):
|
|
|
7299
7312
|
)
|
|
7300
7313
|
dump_environment_for_merge_comparison = sgqlc.types.Field(sgqlc.types.non_null(DumpEnvironmentForMergeComparison), graphql_name='dumpEnvironmentForMergeComparison', args=sgqlc.types.ArgDict((
|
|
7301
7314
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(DumpEnvironmentForForMergeComparisonInput), graphql_name='input', default=None)),
|
|
7315
|
+
))
|
|
7316
|
+
)
|
|
7317
|
+
dump_environment_product_catalog = sgqlc.types.Field(sgqlc.types.non_null(ProductCatalogDump), graphql_name='dumpEnvironmentProductCatalog', args=sgqlc.types.ArgDict((
|
|
7318
|
+
('input', sgqlc.types.Arg(sgqlc.types.non_null(DumpEnvironmentProductCatalogInput), graphql_name='input', default=None)),
|
|
7302
7319
|
))
|
|
7303
7320
|
)
|
|
7304
7321
|
entitlement = sgqlc.types.Field(sgqlc.types.non_null(Entitlement), graphql_name='entitlement', args=sgqlc.types.ArgDict((
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|