stigg-api-client 2.33.0__py3-none-any.whl → 2.43.0__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 +24 -6
- {stigg_api_client-2.33.0.dist-info → stigg_api_client-2.43.0.dist-info}/METADATA +1 -1
- {stigg_api_client-2.33.0.dist-info → stigg_api_client-2.43.0.dist-info}/RECORD +5 -5
- {stigg_api_client-2.33.0.dist-info → stigg_api_client-2.43.0.dist-info}/LICENSE +0 -0
- {stigg_api_client-2.33.0.dist-info → stigg_api_client-2.43.0.dist-info}/WHEEL +0 -0
stigg/generated/schema.py
CHANGED
|
@@ -62,7 +62,7 @@ class BillingCadence(sgqlc.types.Enum):
|
|
|
62
62
|
|
|
63
63
|
class BillingModel(sgqlc.types.Enum):
|
|
64
64
|
__schema__ = schema
|
|
65
|
-
__choices__ = ('FLAT_FEE', 'PER_UNIT', 'USAGE_BASED')
|
|
65
|
+
__choices__ = ('FLAT_FEE', 'MINIMUM_SPEND', 'PER_UNIT', 'USAGE_BASED')
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
class BillingPeriod(sgqlc.types.Enum):
|
|
@@ -256,7 +256,7 @@ class IntegrationSortFields(sgqlc.types.Enum):
|
|
|
256
256
|
|
|
257
257
|
class InvoiceLineItemType(sgqlc.types.Enum):
|
|
258
258
|
__schema__ = schema
|
|
259
|
-
__choices__ = ('AddonCharge', 'BaseCharge', 'InAdvanceCommitmentCharge', 'MinimumSpendAdjustmentCharge', 'Other', 'OverageCharge', 'PayAsYouGoCharge', 'TierCharge', 'ZeroAmountBaseCharge')
|
|
259
|
+
__choices__ = ('AddonCharge', 'BaseCharge', 'InAdvanceCommitmentCharge', 'MinimumSpendAdjustmentCharge', 'MinimumSpendCharge', 'Other', 'OverageCharge', 'PayAsYouGoCharge', 'TierCharge', 'ZeroAmountBaseCharge')
|
|
260
260
|
|
|
261
261
|
|
|
262
262
|
class JSON(sgqlc.types.Scalar):
|
|
@@ -5232,7 +5232,7 @@ class CustomerSubscription(sgqlc.types.Type):
|
|
|
5232
5232
|
payment_collection_method = sgqlc.types.Field(PaymentCollectionMethod, graphql_name='paymentCollectionMethod')
|
|
5233
5233
|
plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='plan')
|
|
5234
5234
|
prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionPrice')), graphql_name='prices', args=sgqlc.types.ArgDict((
|
|
5235
|
-
('filter', sgqlc.types.Arg(SubscriptionPriceFilter, graphql_name='filter', default={})),
|
|
5235
|
+
('filter', sgqlc.types.Arg(SubscriptionPriceFilter, graphql_name='filter', default={'billingModel': {'neq': 'MINIMUM_SPEND'}})),
|
|
5236
5236
|
('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionPriceSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
|
|
5237
5237
|
))
|
|
5238
5238
|
)
|
|
@@ -6998,6 +6998,14 @@ class NumberChange(sgqlc.types.Type):
|
|
|
6998
6998
|
change_type = sgqlc.types.Field(ChangeType, graphql_name='changeType')
|
|
6999
6999
|
|
|
7000
7000
|
|
|
7001
|
+
class OverageBillingPeriodChange(sgqlc.types.Type):
|
|
7002
|
+
__schema__ = schema
|
|
7003
|
+
__field_names__ = ('after', 'before', 'change_type')
|
|
7004
|
+
after = sgqlc.types.Field(OverageBillingPeriod, graphql_name='after')
|
|
7005
|
+
before = sgqlc.types.Field(OverageBillingPeriod, graphql_name='before')
|
|
7006
|
+
change_type = sgqlc.types.Field(ChangeType, graphql_name='changeType')
|
|
7007
|
+
|
|
7008
|
+
|
|
7001
7009
|
class PackageAlreadyPublishedError(sgqlc.types.Type):
|
|
7002
7010
|
__schema__ = schema
|
|
7003
7011
|
__field_names__ = ('code', 'is_validation_error')
|
|
@@ -7007,7 +7015,7 @@ class PackageAlreadyPublishedError(sgqlc.types.Type):
|
|
|
7007
7015
|
|
|
7008
7016
|
class PackageChanges(sgqlc.types.Type):
|
|
7009
7017
|
__schema__ = schema
|
|
7010
|
-
__field_names__ = ('additional_meta_data', 'base_plan', 'compatible_addons', 'compatible_package_groups', 'default_trial_config', 'dependencies', 'description', 'display_name', 'entitlements', 'hidden_from_widgets', 'max_quantity', 'minimum_spend', 'overage_prices', 'prices', 'pricing_type', 'total_changes')
|
|
7018
|
+
__field_names__ = ('additional_meta_data', 'base_plan', 'compatible_addons', 'compatible_package_groups', 'default_trial_config', 'dependencies', 'description', 'display_name', 'entitlements', 'hidden_from_widgets', 'max_quantity', 'minimum_spend', 'overage_billing_period', 'overage_prices', 'prices', 'pricing_type', 'total_changes')
|
|
7011
7019
|
additional_meta_data = sgqlc.types.Field(AdditionalMetaDataChange, graphql_name='additionalMetaData')
|
|
7012
7020
|
base_plan = sgqlc.types.Field(BasePlanChange, graphql_name='basePlan')
|
|
7013
7021
|
compatible_addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanCompatibleAddonChange')), graphql_name='compatibleAddons')
|
|
@@ -7020,6 +7028,7 @@ class PackageChanges(sgqlc.types.Type):
|
|
|
7020
7028
|
hidden_from_widgets = sgqlc.types.Field(HiddenFromWidgetsChange, graphql_name='hiddenFromWidgets')
|
|
7021
7029
|
max_quantity = sgqlc.types.Field(NumberChange, graphql_name='maxQuantity')
|
|
7022
7030
|
minimum_spend = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(MinimumSpendChange)), graphql_name='minimumSpend')
|
|
7031
|
+
overage_billing_period = sgqlc.types.Field(OverageBillingPeriodChange, graphql_name='overageBillingPeriod')
|
|
7023
7032
|
overage_prices = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PackagePriceChange'))), graphql_name='overagePrices')
|
|
7024
7033
|
prices = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PackagePriceChange'))), graphql_name='prices')
|
|
7025
7034
|
pricing_type = sgqlc.types.Field('PricingTypeChange', graphql_name='pricingType')
|
|
@@ -8787,12 +8796,13 @@ class SubscriptionInvoicePreview(sgqlc.types.Type):
|
|
|
8787
8796
|
|
|
8788
8797
|
class SubscriptionInvoicePreviewLineItem(sgqlc.types.Type):
|
|
8789
8798
|
__schema__ = schema
|
|
8790
|
-
__field_names__ = ('amount', 'cost_description', 'description', 'has_soft_limit', 'lines', 'price', 'proration', 'quantity', 'type', 'unit_price', 'usage_limit')
|
|
8799
|
+
__field_names__ = ('amount', 'cost_description', 'description', 'has_soft_limit', 'lines', 'period', 'price', 'proration', 'quantity', 'type', 'unit_price', 'usage_limit')
|
|
8791
8800
|
amount = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='amount')
|
|
8792
8801
|
cost_description = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='costDescription')
|
|
8793
8802
|
description = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='description')
|
|
8794
8803
|
has_soft_limit = sgqlc.types.Field(Boolean, graphql_name='hasSoftLimit')
|
|
8795
8804
|
lines = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionInvoicePreviewLineItemData')), graphql_name='lines')
|
|
8805
|
+
period = sgqlc.types.Field(sgqlc.types.non_null('SubscriptionInvoicePreviewLineItemPeriod'), graphql_name='period')
|
|
8796
8806
|
price = sgqlc.types.Field(Price, graphql_name='price')
|
|
8797
8807
|
proration = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='proration')
|
|
8798
8808
|
quantity = sgqlc.types.Field(Int, graphql_name='quantity')
|
|
@@ -8803,11 +8813,12 @@ class SubscriptionInvoicePreviewLineItem(sgqlc.types.Type):
|
|
|
8803
8813
|
|
|
8804
8814
|
class SubscriptionInvoicePreviewLineItemData(sgqlc.types.Type):
|
|
8805
8815
|
__schema__ = schema
|
|
8806
|
-
__field_names__ = ('amount', 'cost_description', 'description', 'has_soft_limit', 'price', 'proration', 'quantity', 'type', 'unit_price', 'usage_limit')
|
|
8816
|
+
__field_names__ = ('amount', 'cost_description', 'description', 'has_soft_limit', 'period', 'price', 'proration', 'quantity', 'type', 'unit_price', 'usage_limit')
|
|
8807
8817
|
amount = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='amount')
|
|
8808
8818
|
cost_description = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='costDescription')
|
|
8809
8819
|
description = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='description')
|
|
8810
8820
|
has_soft_limit = sgqlc.types.Field(Boolean, graphql_name='hasSoftLimit')
|
|
8821
|
+
period = sgqlc.types.Field(sgqlc.types.non_null('SubscriptionInvoicePreviewLineItemPeriod'), graphql_name='period')
|
|
8811
8822
|
price = sgqlc.types.Field(Price, graphql_name='price')
|
|
8812
8823
|
proration = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='proration')
|
|
8813
8824
|
quantity = sgqlc.types.Field(Int, graphql_name='quantity')
|
|
@@ -8816,6 +8827,13 @@ class SubscriptionInvoicePreviewLineItemData(sgqlc.types.Type):
|
|
|
8816
8827
|
usage_limit = sgqlc.types.Field(Float, graphql_name='usageLimit')
|
|
8817
8828
|
|
|
8818
8829
|
|
|
8830
|
+
class SubscriptionInvoicePreviewLineItemPeriod(sgqlc.types.Type):
|
|
8831
|
+
__schema__ = schema
|
|
8832
|
+
__field_names__ = ('end', 'start')
|
|
8833
|
+
end = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='end')
|
|
8834
|
+
start = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='start')
|
|
8835
|
+
|
|
8836
|
+
|
|
8819
8837
|
class SubscriptionMaximumSpend(sgqlc.types.Type):
|
|
8820
8838
|
__schema__ = schema
|
|
8821
8839
|
__field_names__ = ('discount', 'discount_details', 'last_updated_at', 'lines', 'maximum_spend', 'sub_total', 'total')
|
|
@@ -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=s5a3iAo4xzr1Xa-gM0Vfc0dXc9CV-4h8-wX4kxFppFY,70780
|
|
5
|
-
stigg/generated/schema.py,sha256=
|
|
6
|
-
stigg_api_client-2.
|
|
7
|
-
stigg_api_client-2.
|
|
8
|
-
stigg_api_client-2.
|
|
9
|
-
stigg_api_client-2.
|
|
5
|
+
stigg/generated/schema.py,sha256=ljS-2SgVAGN3EYWl3Wddr7O9FUjC5rhkUI6JixaWotE,605890
|
|
6
|
+
stigg_api_client-2.43.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
7
|
+
stigg_api_client-2.43.0.dist-info/METADATA,sha256=pRUctB9oQZ9Y5vwjLJJmB53HMawLEJdRlFToT0UcGNU,3197
|
|
8
|
+
stigg_api_client-2.43.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
9
|
+
stigg_api_client-2.43.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|