stigg-api-client 1.95.0__tar.gz → 1.96.1__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.95.0 → stigg_api_client-1.96.1}/PKG-INFO +1 -1
- {stigg_api_client-1.95.0 → stigg_api_client-1.96.1}/pyproject.toml +1 -1
- {stigg_api_client-1.95.0 → stigg_api_client-1.96.1}/stigg/generated/operations.py +28 -0
- {stigg_api_client-1.95.0 → stigg_api_client-1.96.1}/stigg/generated/schema.py +65 -51
- {stigg_api_client-1.95.0 → stigg_api_client-1.96.1}/LICENSE +0 -0
- {stigg_api_client-1.95.0 → stigg_api_client-1.96.1}/README.md +0 -0
- {stigg_api_client-1.95.0 → stigg_api_client-1.96.1}/stigg/__init__.py +0 -0
- {stigg_api_client-1.95.0 → stigg_api_client-1.96.1}/stigg/client.py +0 -0
- {stigg_api_client-1.95.0 → stigg_api_client-1.96.1}/stigg/generated/__init__.py +0 -0
|
@@ -171,6 +171,8 @@ def fragment_plan_fragment():
|
|
|
171
171
|
_frag_inherited_entitlements.__fragment__(fragment_package_entitlement_fragment())
|
|
172
172
|
_frag_compatible_addons = _frag.compatible_addons()
|
|
173
173
|
_frag_compatible_addons.__fragment__(fragment_addon_fragment())
|
|
174
|
+
_frag_compatible_package_groups = _frag.compatible_package_groups()
|
|
175
|
+
_frag_compatible_package_groups.__fragment__(fragment_plan_compatible_package_groups_fragment())
|
|
174
176
|
_frag_prices = _frag.prices()
|
|
175
177
|
_frag_prices.__fragment__(fragment_price_fragment())
|
|
176
178
|
_frag_overage_prices = _frag.overage_prices()
|
|
@@ -182,6 +184,17 @@ def fragment_plan_fragment():
|
|
|
182
184
|
return _frag
|
|
183
185
|
|
|
184
186
|
|
|
187
|
+
def fragment_plan_compatible_package_groups_fragment():
|
|
188
|
+
_frag = sgqlc.operation.Fragment(_schema.PlanCompatiblePackageGroups, 'PlanCompatiblePackageGroupsFragment')
|
|
189
|
+
_frag.package_group_id()
|
|
190
|
+
_frag.display_name()
|
|
191
|
+
_frag_addons = _frag.addons()
|
|
192
|
+
_frag_addons.__fragment__(fragment_addon_fragment())
|
|
193
|
+
_frag_options = _frag.options()
|
|
194
|
+
_frag_options.min_items()
|
|
195
|
+
return _frag
|
|
196
|
+
|
|
197
|
+
|
|
185
198
|
def fragment_customer_resource_fragment():
|
|
186
199
|
_frag = sgqlc.operation.Fragment(_schema.CustomerResource, 'CustomerResourceFragment')
|
|
187
200
|
_frag.resource_id()
|
|
@@ -950,6 +963,8 @@ def fragment_mock_paywall_plan_fragment():
|
|
|
950
963
|
_frag_default_trial_config.units()
|
|
951
964
|
_frag_compatible_addons = _frag.compatible_addons()
|
|
952
965
|
_frag_compatible_addons.__fragment__(fragment_mock_paywall_addon_fragment())
|
|
966
|
+
_frag_compatible_package_groups = _frag.compatible_package_groups()
|
|
967
|
+
_frag_compatible_package_groups.__fragment__(fragment_mock_paywall_package_group_fragment())
|
|
953
968
|
return _frag
|
|
954
969
|
|
|
955
970
|
|
|
@@ -1012,6 +1027,16 @@ def fragment_paywall_calculated_price_points_fragment():
|
|
|
1012
1027
|
return _frag
|
|
1013
1028
|
|
|
1014
1029
|
|
|
1030
|
+
def fragment_mock_paywall_package_group_fragment():
|
|
1031
|
+
_frag = sgqlc.operation.Fragment(_schema.PaywallPackageGroup, 'MockPaywallPackageGroupFragment')
|
|
1032
|
+
_frag.package_group_id()
|
|
1033
|
+
_frag.display_name()
|
|
1034
|
+
_frag.description()
|
|
1035
|
+
_frag_compatible_addons = _frag.compatible_addons()
|
|
1036
|
+
_frag_compatible_addons.__fragment__(fragment_mock_paywall_addon_fragment())
|
|
1037
|
+
return _frag
|
|
1038
|
+
|
|
1039
|
+
|
|
1015
1040
|
def fragment_mock_paywall_addon_fragment():
|
|
1016
1041
|
_frag = sgqlc.operation.Fragment(_schema.PaywallAddon, 'MockPaywallAddonFragment')
|
|
1017
1042
|
_frag.ref_id()
|
|
@@ -1019,6 +1044,7 @@ def fragment_mock_paywall_addon_fragment():
|
|
|
1019
1044
|
_frag.description()
|
|
1020
1045
|
_frag.additional_meta_data()
|
|
1021
1046
|
_frag.billing_id()
|
|
1047
|
+
_frag.max_quantity()
|
|
1022
1048
|
_frag_entitlements = _frag.entitlements()
|
|
1023
1049
|
_frag_entitlements.__fragment__(fragment_mock_paywall_package_entitlement_fragment())
|
|
1024
1050
|
_frag_prices = _frag.prices()
|
|
@@ -1164,6 +1190,7 @@ class Fragment:
|
|
|
1164
1190
|
layout_configuration_fragment = fragment_layout_configuration_fragment()
|
|
1165
1191
|
mock_paywall_addon_fragment = fragment_mock_paywall_addon_fragment()
|
|
1166
1192
|
mock_paywall_package_entitlement_fragment = fragment_mock_paywall_package_entitlement_fragment()
|
|
1193
|
+
mock_paywall_package_group_fragment = fragment_mock_paywall_package_group_fragment()
|
|
1167
1194
|
mock_paywall_plan_fragment = fragment_mock_paywall_plan_fragment()
|
|
1168
1195
|
mock_paywall_price_fragment = fragment_mock_paywall_price_fragment()
|
|
1169
1196
|
overage_price_fragment = fragment_overage_price_fragment()
|
|
@@ -1173,6 +1200,7 @@ class Fragment:
|
|
|
1173
1200
|
paywall_configuration_fragment = fragment_paywall_configuration_fragment()
|
|
1174
1201
|
paywall_currency_fragment = fragment_paywall_currency_fragment()
|
|
1175
1202
|
paywall_fragment = fragment_paywall_fragment()
|
|
1203
|
+
plan_compatible_package_groups_fragment = fragment_plan_compatible_package_groups_fragment()
|
|
1176
1204
|
plan_fragment = fragment_plan_fragment()
|
|
1177
1205
|
price_fragment = fragment_price_fragment()
|
|
1178
1206
|
price_tier_fragment = fragment_price_tier_fragment()
|
|
@@ -170,7 +170,7 @@ class EnvironmentType(sgqlc.types.Enum):
|
|
|
170
170
|
|
|
171
171
|
class ErrorCode(sgqlc.types.Enum):
|
|
172
172
|
__schema__ = schema
|
|
173
|
-
__choices__ = ('AccountNotFoundError', 'AddonDependencyMissingError', 'AddonHasToHavePriceError', 'AddonNotFound', 'AddonQuantityExceedsLimitError', 'AddonWithDraftCannotBeDeletedError', 'AmountTooLarge', 'ArchivedCouponCantBeApplied', 'AuthCustomerMismatch', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingIntegrationMissing', 'BillingPeriodMissingError', 'CannotArchiveFeatureError', 'CannotDeleteCustomerError', 'CannotDeleteFeatureError', 'CannotDeleteProductError', 'CannotEditPackageInNonDraftMode', 'CannotRemovePaymentMethodFromCustomerError', 'CannotReportUsageForEntitlementWithMeterError', 'CannotUpsertToPackageThatHasDraft', 'CheckoutIsNotSupported', 'CheckoutOptionsMissing', 'CouponNotFound', 'CustomerAlreadyHaveCustomerCoupon', 'CustomerAlreadyUsesCoupon', 'CustomerHasNoEmailAddress', 'CustomerHasNoPaymentMethod', 'CustomerNoBillingId', 'CustomerNotFound', 'CustomerResourceNotFound', 'DowngradeBillingPeriodNotSupportedError', 'DraftPlanCantBeArchived', 'DuplicateAddonProvisionedError', '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', 'PackageGroupNotFound', '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')
|
|
173
|
+
__choices__ = ('AccountNotFoundError', 'AddonDependencyMissingError', 'AddonHasToHavePriceError', 'AddonNotFound', 'AddonQuantityExceedsLimitError', 'AddonWithDraftCannotBeDeletedError', 'AmountTooLarge', 'ArchivedCouponCantBeApplied', 'AuthCustomerMismatch', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingIntegrationMissing', 'BillingPeriodMissingError', 'CannotArchiveFeatureError', 'CannotDeleteCustomerError', 'CannotDeleteFeatureError', 'CannotDeleteProductError', 'CannotEditPackageInNonDraftMode', 'CannotRemovePaymentMethodFromCustomerError', 'CannotReportUsageForEntitlementWithMeterError', 'CannotUpsertToPackageThatHasDraft', 'CheckoutIsNotSupported', 'CheckoutOptionsMissing', 'CouponNotFound', 'CustomerAlreadyHaveCustomerCoupon', 'CustomerAlreadyUsesCoupon', 'CustomerHasNoEmailAddress', 'CustomerHasNoPaymentMethod', 'CustomerNoBillingId', 'CustomerNotFound', 'CustomerResourceNotFound', 'DowngradeBillingPeriodNotSupportedError', 'DraftPlanCantBeArchived', 'DuplicateAddonProvisionedError', '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', 'PackageGroupMinItemsError', 'PackageGroupNotFound', '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')
|
|
174
174
|
|
|
175
175
|
|
|
176
176
|
class EventLogType(sgqlc.types.Enum):
|
|
@@ -2369,8 +2369,7 @@ class PackageEntitlementUpdateInput(sgqlc.types.Input):
|
|
|
2369
2369
|
|
|
2370
2370
|
class PackageGroupFilter(sgqlc.types.Input):
|
|
2371
2371
|
__schema__ = schema
|
|
2372
|
-
__field_names__ = ('
|
|
2373
|
-
addons = sgqlc.types.Field('PackageGroupFilterAddonFilter', graphql_name='addons')
|
|
2372
|
+
__field_names__ = ('and_', 'created_at', 'display_name', 'environment_id', 'is_latest', 'or_', 'package_group_id', 'product', 'product_id', 'status', 'updated_at', 'version_number')
|
|
2374
2373
|
and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageGroupFilter')), graphql_name='and')
|
|
2375
2374
|
created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
|
|
2376
2375
|
display_name = sgqlc.types.Field('StringFieldComparison', graphql_name='displayName')
|
|
@@ -2385,26 +2384,6 @@ class PackageGroupFilter(sgqlc.types.Input):
|
|
|
2385
2384
|
version_number = sgqlc.types.Field(IntFieldComparison, graphql_name='versionNumber')
|
|
2386
2385
|
|
|
2387
2386
|
|
|
2388
|
-
class PackageGroupFilterAddonFilter(sgqlc.types.Input):
|
|
2389
|
-
__schema__ = schema
|
|
2390
|
-
__field_names__ = ('and_', 'billing_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'or_', 'pricing_type', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
|
|
2391
|
-
and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageGroupFilterAddonFilter')), graphql_name='and')
|
|
2392
|
-
billing_id = sgqlc.types.Field('StringFieldComparison', graphql_name='billingId')
|
|
2393
|
-
created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
|
|
2394
|
-
description = sgqlc.types.Field('StringFieldComparison', graphql_name='description')
|
|
2395
|
-
display_name = sgqlc.types.Field('StringFieldComparison', graphql_name='displayName')
|
|
2396
|
-
environment_id = sgqlc.types.Field('StringFieldComparison', graphql_name='environmentId')
|
|
2397
|
-
id = sgqlc.types.Field('StringFieldComparison', graphql_name='id')
|
|
2398
|
-
is_latest = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isLatest')
|
|
2399
|
-
or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageGroupFilterAddonFilter')), graphql_name='or')
|
|
2400
|
-
pricing_type = sgqlc.types.Field('PricingTypeFilterComparison', graphql_name='pricingType')
|
|
2401
|
-
product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='productId')
|
|
2402
|
-
ref_id = sgqlc.types.Field('StringFieldComparison', graphql_name='refId')
|
|
2403
|
-
status = sgqlc.types.Field('PackageStatusFilterComparison', graphql_name='status')
|
|
2404
|
-
updated_at = sgqlc.types.Field(DateFieldComparison, graphql_name='updatedAt')
|
|
2405
|
-
version_number = sgqlc.types.Field(IntFieldComparison, graphql_name='versionNumber')
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
2387
|
class PackageGroupFilterProductFilter(sgqlc.types.Input):
|
|
2409
2388
|
__schema__ = schema
|
|
2410
2389
|
__field_names__ = ('and_', 'aws_marketplace_product_code', 'aws_marketplace_product_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_default_product', 'or_', 'ref_id', 'updated_at')
|
|
@@ -2552,11 +2531,10 @@ class PlanCreateInput(sgqlc.types.Input):
|
|
|
2552
2531
|
|
|
2553
2532
|
class PlanFilter(sgqlc.types.Input):
|
|
2554
2533
|
__schema__ = schema
|
|
2555
|
-
__field_names__ = ('and_', 'billing_id', 'compatible_addons', '
|
|
2534
|
+
__field_names__ = ('and_', 'billing_id', 'compatible_addons', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_latest', 'or_', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'updated_at', 'version_number')
|
|
2556
2535
|
and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilter')), graphql_name='and')
|
|
2557
2536
|
billing_id = sgqlc.types.Field('StringFieldComparison', graphql_name='billingId')
|
|
2558
2537
|
compatible_addons = sgqlc.types.Field('PlanFilterAddonFilter', graphql_name='compatibleAddons')
|
|
2559
|
-
compatible_package_groups = sgqlc.types.Field('PlanFilterPackageGroupFilter', graphql_name='compatiblePackageGroups')
|
|
2560
2538
|
created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
|
|
2561
2539
|
description = sgqlc.types.Field('StringFieldComparison', graphql_name='description')
|
|
2562
2540
|
display_name = sgqlc.types.Field('StringFieldComparison', graphql_name='displayName')
|
|
@@ -2593,22 +2571,6 @@ class PlanFilterAddonFilter(sgqlc.types.Input):
|
|
|
2593
2571
|
version_number = sgqlc.types.Field(IntFieldComparison, graphql_name='versionNumber')
|
|
2594
2572
|
|
|
2595
2573
|
|
|
2596
|
-
class PlanFilterPackageGroupFilter(sgqlc.types.Input):
|
|
2597
|
-
__schema__ = schema
|
|
2598
|
-
__field_names__ = ('and_', 'created_at', 'display_name', 'environment_id', 'is_latest', 'or_', 'package_group_id', 'product_id', 'status', 'updated_at', 'version_number')
|
|
2599
|
-
and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilterPackageGroupFilter')), graphql_name='and')
|
|
2600
|
-
created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
|
|
2601
|
-
display_name = sgqlc.types.Field('StringFieldComparison', graphql_name='displayName')
|
|
2602
|
-
environment_id = sgqlc.types.Field('StringFieldComparison', graphql_name='environmentId')
|
|
2603
|
-
is_latest = sgqlc.types.Field(BooleanFieldComparison, graphql_name='isLatest')
|
|
2604
|
-
or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanFilterPackageGroupFilter')), graphql_name='or')
|
|
2605
|
-
package_group_id = sgqlc.types.Field('StringFieldComparison', graphql_name='packageGroupId')
|
|
2606
|
-
product_id = sgqlc.types.Field('StringFieldComparison', graphql_name='productId')
|
|
2607
|
-
status = sgqlc.types.Field(PackageGroupStatusFilterComparison, graphql_name='status')
|
|
2608
|
-
updated_at = sgqlc.types.Field(DateFieldComparison, graphql_name='updatedAt')
|
|
2609
|
-
version_number = sgqlc.types.Field(IntFieldComparison, graphql_name='versionNumber')
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
2574
|
class PlanFilterProductFilter(sgqlc.types.Input):
|
|
2613
2575
|
__schema__ = schema
|
|
2614
2576
|
__field_names__ = ('and_', 'aws_marketplace_product_code', 'aws_marketplace_product_id', 'created_at', 'description', 'display_name', 'environment_id', 'id', 'is_default_product', 'or_', 'ref_id', 'updated_at')
|
|
@@ -3158,12 +3120,25 @@ class SetPackageGroupAddons(sgqlc.types.Input):
|
|
|
3158
3120
|
package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
|
|
3159
3121
|
|
|
3160
3122
|
|
|
3123
|
+
class SetPlanCompatiblePackageGroup(sgqlc.types.Input):
|
|
3124
|
+
__schema__ = schema
|
|
3125
|
+
__field_names__ = ('options', 'package_group_id')
|
|
3126
|
+
options = sgqlc.types.Field('SetPlanCompatiblePackageGroupOptions', graphql_name='options')
|
|
3127
|
+
package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
|
|
3128
|
+
|
|
3129
|
+
|
|
3130
|
+
class SetPlanCompatiblePackageGroupOptions(sgqlc.types.Input):
|
|
3131
|
+
__schema__ = schema
|
|
3132
|
+
__field_names__ = ('min_items',)
|
|
3133
|
+
min_items = sgqlc.types.Field(Float, graphql_name='minItems')
|
|
3134
|
+
|
|
3135
|
+
|
|
3161
3136
|
class SetPlanCompatiblePackageGroups(sgqlc.types.Input):
|
|
3162
3137
|
__schema__ = schema
|
|
3163
|
-
__field_names__ = ('environment_id', 'id', '
|
|
3138
|
+
__field_names__ = ('environment_id', 'id', 'package_groups')
|
|
3164
3139
|
environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
|
|
3165
3140
|
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
3166
|
-
|
|
3141
|
+
package_groups = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(SetPlanCompatiblePackageGroup))), graphql_name='packageGroups')
|
|
3167
3142
|
|
|
3168
3143
|
|
|
3169
3144
|
class SnowflakeCredentialsInput(sgqlc.types.Input):
|
|
@@ -6656,6 +6631,14 @@ class Mutation(sgqlc.types.Type):
|
|
|
6656
6631
|
)
|
|
6657
6632
|
|
|
6658
6633
|
|
|
6634
|
+
class NumberChange(sgqlc.types.Type):
|
|
6635
|
+
__schema__ = schema
|
|
6636
|
+
__field_names__ = ('after', 'before', 'change_type')
|
|
6637
|
+
after = sgqlc.types.Field(Float, graphql_name='after')
|
|
6638
|
+
before = sgqlc.types.Field(Float, graphql_name='before')
|
|
6639
|
+
change_type = sgqlc.types.Field(ChangeType, graphql_name='changeType')
|
|
6640
|
+
|
|
6641
|
+
|
|
6659
6642
|
class PackageAlreadyPublishedError(sgqlc.types.Type):
|
|
6660
6643
|
__schema__ = schema
|
|
6661
6644
|
__field_names__ = ('code', 'is_validation_error')
|
|
@@ -6676,7 +6659,7 @@ class PackageChanges(sgqlc.types.Type):
|
|
|
6676
6659
|
display_name = sgqlc.types.Field('StringChangeDTO', graphql_name='displayName')
|
|
6677
6660
|
entitlements = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PackageEntitlementChange'))), graphql_name='entitlements')
|
|
6678
6661
|
hidden_from_widgets = sgqlc.types.Field(HiddenFromWidgetsChange, graphql_name='hiddenFromWidgets')
|
|
6679
|
-
max_quantity = sgqlc.types.Field(
|
|
6662
|
+
max_quantity = sgqlc.types.Field(NumberChange, graphql_name='maxQuantity')
|
|
6680
6663
|
overage_prices = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PackagePriceChange'))), graphql_name='overagePrices')
|
|
6681
6664
|
prices = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PackagePriceChange'))), graphql_name='prices')
|
|
6682
6665
|
pricing_type = sgqlc.types.Field('PricingTypeChange', graphql_name='pricingType')
|
|
@@ -6998,12 +6981,13 @@ class Paywall(sgqlc.types.Type):
|
|
|
6998
6981
|
|
|
6999
6982
|
class PaywallAddon(sgqlc.types.Type):
|
|
7000
6983
|
__schema__ = schema
|
|
7001
|
-
__field_names__ = ('additional_meta_data', 'billing_id', 'description', 'display_name', 'entitlements', 'prices', 'pricing_type', 'ref_id')
|
|
6984
|
+
__field_names__ = ('additional_meta_data', 'billing_id', 'description', 'display_name', 'entitlements', 'max_quantity', 'prices', 'pricing_type', 'ref_id')
|
|
7002
6985
|
additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
|
|
7003
6986
|
billing_id = sgqlc.types.Field(String, graphql_name='billingId')
|
|
7004
6987
|
description = sgqlc.types.Field(String, graphql_name='description')
|
|
7005
6988
|
display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
|
|
7006
6989
|
entitlements = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(Entitlement))), graphql_name='entitlements')
|
|
6990
|
+
max_quantity = sgqlc.types.Field(Float, graphql_name='maxQuantity')
|
|
7007
6991
|
prices = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PaywallPrice'))), graphql_name='prices')
|
|
7008
6992
|
pricing_type = sgqlc.types.Field(PricingType, graphql_name='pricingType')
|
|
7009
6993
|
ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
|
|
@@ -7051,13 +7035,23 @@ class PaywallLayoutConfiguration(sgqlc.types.Type):
|
|
|
7051
7035
|
plan_width = sgqlc.types.Field(Float, graphql_name='planWidth')
|
|
7052
7036
|
|
|
7053
7037
|
|
|
7038
|
+
class PaywallPackageGroup(sgqlc.types.Type):
|
|
7039
|
+
__schema__ = schema
|
|
7040
|
+
__field_names__ = ('compatible_addons', 'description', 'display_name', 'package_group_id')
|
|
7041
|
+
compatible_addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PaywallAddon)), graphql_name='compatibleAddons')
|
|
7042
|
+
description = sgqlc.types.Field(String, graphql_name='description')
|
|
7043
|
+
display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
|
|
7044
|
+
package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
|
|
7045
|
+
|
|
7046
|
+
|
|
7054
7047
|
class PaywallPlan(sgqlc.types.Type):
|
|
7055
7048
|
__schema__ = schema
|
|
7056
|
-
__field_names__ = ('additional_meta_data', 'base_plan', 'billing_id', 'compatible_addons', 'default_trial_config', 'description', 'display_name', 'entitlements', 'inherited_entitlements', 'prices', 'pricing_type', 'product', 'ref_id')
|
|
7049
|
+
__field_names__ = ('additional_meta_data', 'base_plan', 'billing_id', 'compatible_addons', 'compatible_package_groups', 'default_trial_config', 'description', 'display_name', 'entitlements', 'inherited_entitlements', 'prices', 'pricing_type', 'product', 'ref_id')
|
|
7057
7050
|
additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
|
|
7058
7051
|
base_plan = sgqlc.types.Field(PaywallBasePlan, graphql_name='basePlan')
|
|
7059
7052
|
billing_id = sgqlc.types.Field(String, graphql_name='billingId')
|
|
7060
7053
|
compatible_addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PaywallAddon)), graphql_name='compatibleAddons')
|
|
7054
|
+
compatible_package_groups = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PaywallPackageGroup)), graphql_name='compatiblePackageGroups')
|
|
7061
7055
|
default_trial_config = sgqlc.types.Field(DefaultTrialConfig, graphql_name='defaultTrialConfig')
|
|
7062
7056
|
description = sgqlc.types.Field(String, graphql_name='description')
|
|
7063
7057
|
display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
|
|
@@ -7119,11 +7113,7 @@ class Plan(sgqlc.types.Type):
|
|
|
7119
7113
|
('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(AddonSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
|
|
7120
7114
|
))
|
|
7121
7115
|
)
|
|
7122
|
-
compatible_package_groups = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(
|
|
7123
|
-
('filter', sgqlc.types.Arg(PackageGroupFilter, graphql_name='filter', default={})),
|
|
7124
|
-
('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(PackageGroupSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
|
|
7125
|
-
))
|
|
7126
|
-
)
|
|
7116
|
+
compatible_package_groups = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanCompatiblePackageGroups')), graphql_name='compatiblePackageGroups')
|
|
7127
7117
|
created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
|
|
7128
7118
|
default_trial_config = sgqlc.types.Field(DefaultTrialConfig, graphql_name='defaultTrialConfig')
|
|
7129
7119
|
description = sgqlc.types.Field(String, graphql_name='description')
|
|
@@ -7211,6 +7201,30 @@ class PlanCompatiblePackageGroupChange(sgqlc.types.Type):
|
|
|
7211
7201
|
change_type = sgqlc.types.Field(ChangeType, graphql_name='changeType')
|
|
7212
7202
|
|
|
7213
7203
|
|
|
7204
|
+
class PlanCompatiblePackageGroupOptions(sgqlc.types.Type):
|
|
7205
|
+
__schema__ = schema
|
|
7206
|
+
__field_names__ = ('min_items',)
|
|
7207
|
+
min_items = sgqlc.types.Field(Float, graphql_name='minItems')
|
|
7208
|
+
|
|
7209
|
+
|
|
7210
|
+
class PlanCompatiblePackageGroups(sgqlc.types.Type):
|
|
7211
|
+
__schema__ = schema
|
|
7212
|
+
__field_names__ = ('addons', 'created_at', 'description', 'display_name', 'environment_id', 'is_latest', 'options', 'package_group_id', 'product', 'product_id', 'status', 'updated_at', 'version_number')
|
|
7213
|
+
addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Addon)), graphql_name='addons')
|
|
7214
|
+
created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='createdAt')
|
|
7215
|
+
description = sgqlc.types.Field(String, graphql_name='description')
|
|
7216
|
+
display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
|
|
7217
|
+
environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
|
|
7218
|
+
is_latest = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isLatest')
|
|
7219
|
+
options = sgqlc.types.Field(sgqlc.types.non_null(PlanCompatiblePackageGroupOptions), graphql_name='options')
|
|
7220
|
+
package_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageGroupId')
|
|
7221
|
+
product = sgqlc.types.Field(sgqlc.types.non_null('Product'), graphql_name='product')
|
|
7222
|
+
product_id = sgqlc.types.Field(String, graphql_name='productId')
|
|
7223
|
+
status = sgqlc.types.Field(sgqlc.types.non_null(PackageGroupStatus), graphql_name='status')
|
|
7224
|
+
updated_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='updatedAt')
|
|
7225
|
+
version_number = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='versionNumber')
|
|
7226
|
+
|
|
7227
|
+
|
|
7214
7228
|
class PlanConnection(sgqlc.types.relay.Connection):
|
|
7215
7229
|
__schema__ = schema
|
|
7216
7230
|
__field_names__ = ('edges', 'page_info', 'total_count')
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|