stigg-api-client 2.206.0__py3-none-any.whl → 2.208.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 +30 -6
- {stigg_api_client-2.206.0.dist-info → stigg_api_client-2.208.0.dist-info}/METADATA +1 -1
- {stigg_api_client-2.206.0.dist-info → stigg_api_client-2.208.0.dist-info}/RECORD +5 -5
- {stigg_api_client-2.206.0.dist-info → stigg_api_client-2.208.0.dist-info}/LICENSE +0 -0
- {stigg_api_client-2.206.0.dist-info → stigg_api_client-2.208.0.dist-info}/WHEEL +0 -0
stigg/generated/schema.py
CHANGED
|
@@ -430,6 +430,11 @@ class SubscriptionCancellationTime(sgqlc.types.Enum):
|
|
|
430
430
|
__choices__ = ('END_OF_BILLING_PERIOD', 'IMMEDIATE', 'SPECIFIC_DATE')
|
|
431
431
|
|
|
432
432
|
|
|
433
|
+
class SubscriptionCouponStatus(sgqlc.types.Enum):
|
|
434
|
+
__schema__ = schema
|
|
435
|
+
__choices__ = ('ACTIVE', 'EXPIRED', 'REMOVED')
|
|
436
|
+
|
|
437
|
+
|
|
433
438
|
class SubscriptionDecisionStrategy(sgqlc.types.Enum):
|
|
434
439
|
__schema__ = schema
|
|
435
440
|
__choices__ = ('PREDEFINED_FREE_PLAN', 'PREDEFINED_TRIAL_PLAN', 'REQUESTED_PLAN', 'SKIPPED_SUBSCRIPTION_CREATION')
|
|
@@ -1048,11 +1053,12 @@ class CouponTypeFilterComparison(sgqlc.types.Input):
|
|
|
1048
1053
|
|
|
1049
1054
|
class CreateCouponInput(sgqlc.types.Input):
|
|
1050
1055
|
__schema__ = schema
|
|
1051
|
-
__field_names__ = ('additional_meta_data', 'amounts_off', 'description', 'discount_value', 'environment_id', 'name', 'percent_off', 'ref_id', 'type')
|
|
1056
|
+
__field_names__ = ('additional_meta_data', 'amounts_off', 'description', 'discount_value', 'duration_in_months', 'environment_id', 'name', 'percent_off', 'ref_id', 'type')
|
|
1052
1057
|
additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
|
|
1053
1058
|
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('MoneyInputDTO')), graphql_name='amountsOff')
|
|
1054
1059
|
description = sgqlc.types.Field(String, graphql_name='description')
|
|
1055
1060
|
discount_value = sgqlc.types.Field(Float, graphql_name='discountValue')
|
|
1061
|
+
duration_in_months = sgqlc.types.Field(Float, graphql_name='durationInMonths')
|
|
1056
1062
|
environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
|
|
1057
1063
|
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
|
|
1058
1064
|
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
@@ -1577,9 +1583,10 @@ class DateFieldComparisonBetween(sgqlc.types.Input):
|
|
|
1577
1583
|
|
|
1578
1584
|
class DefaultTrialConfigInputDTO(sgqlc.types.Input):
|
|
1579
1585
|
__schema__ = schema
|
|
1580
|
-
__field_names__ = ('budget', 'duration', 'units')
|
|
1586
|
+
__field_names__ = ('budget', 'duration', 'trial_end_behavior', 'units')
|
|
1581
1587
|
budget = sgqlc.types.Field(BudgetConfigurationInput, graphql_name='budget')
|
|
1582
1588
|
duration = sgqlc.types.Field(Float, graphql_name='duration')
|
|
1589
|
+
trial_end_behavior = sgqlc.types.Field(TrialEndBehavior, graphql_name='trialEndBehavior')
|
|
1583
1590
|
units = sgqlc.types.Field(TrialPeriodUnits, graphql_name='units')
|
|
1584
1591
|
|
|
1585
1592
|
|
|
@@ -3638,12 +3645,23 @@ class SubscriptionCouponConfigurationInput(sgqlc.types.Input):
|
|
|
3638
3645
|
start_date = sgqlc.types.Field(DateTime, graphql_name='startDate')
|
|
3639
3646
|
|
|
3640
3647
|
|
|
3648
|
+
class SubscriptionCouponDiscountInput(sgqlc.types.Input):
|
|
3649
|
+
__schema__ = schema
|
|
3650
|
+
__field_names__ = ('amounts_off', 'description', 'duration_in_months', 'name', 'percent_off')
|
|
3651
|
+
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(MoneyInputDTO)), graphql_name='amountsOff')
|
|
3652
|
+
description = sgqlc.types.Field(String, graphql_name='description')
|
|
3653
|
+
duration_in_months = sgqlc.types.Field(Float, graphql_name='durationInMonths')
|
|
3654
|
+
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
|
|
3655
|
+
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
3656
|
+
|
|
3657
|
+
|
|
3641
3658
|
class SubscriptionCouponInput(sgqlc.types.Input):
|
|
3642
3659
|
__schema__ = schema
|
|
3643
|
-
__field_names__ = ('billing_coupon_id', 'configuration', 'coupon_id', 'promotion_code')
|
|
3660
|
+
__field_names__ = ('billing_coupon_id', 'configuration', 'coupon_id', 'discount', 'promotion_code')
|
|
3644
3661
|
billing_coupon_id = sgqlc.types.Field(String, graphql_name='billingCouponId')
|
|
3645
3662
|
configuration = sgqlc.types.Field(SubscriptionCouponConfigurationInput, graphql_name='configuration')
|
|
3646
3663
|
coupon_id = sgqlc.types.Field(String, graphql_name='couponId')
|
|
3664
|
+
discount = sgqlc.types.Field(SubscriptionCouponDiscountInput, graphql_name='discount')
|
|
3647
3665
|
promotion_code = sgqlc.types.Field(String, graphql_name='promotionCode')
|
|
3648
3666
|
|
|
3649
3667
|
|
|
@@ -4847,7 +4865,7 @@ class CheckoutState(sgqlc.types.Type):
|
|
|
4847
4865
|
|
|
4848
4866
|
class Coupon(sgqlc.types.Type):
|
|
4849
4867
|
__schema__ = schema
|
|
4850
|
-
__field_names__ = ('additional_meta_data', 'amounts_off', 'billing_id', 'billing_link_url', 'created_at', 'customers', 'description', 'discount_value', 'environment', 'environment_id', 'id', 'name', 'percent_off', 'ref_id', 'status', 'sync_states', 'type', 'updated_at')
|
|
4868
|
+
__field_names__ = ('additional_meta_data', 'amounts_off', 'billing_id', 'billing_link_url', 'created_at', 'customers', 'description', 'discount_value', 'duration_in_months', 'environment', 'environment_id', 'id', 'name', 'percent_off', 'ref_id', 'status', 'sync_states', 'type', 'updated_at')
|
|
4851
4869
|
additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
|
|
4852
4870
|
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Money')), graphql_name='amountsOff')
|
|
4853
4871
|
billing_id = sgqlc.types.Field(String, graphql_name='billingId')
|
|
@@ -4860,6 +4878,7 @@ class Coupon(sgqlc.types.Type):
|
|
|
4860
4878
|
)
|
|
4861
4879
|
description = sgqlc.types.Field(String, graphql_name='description')
|
|
4862
4880
|
discount_value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='discountValue')
|
|
4881
|
+
duration_in_months = sgqlc.types.Field(Float, graphql_name='durationInMonths')
|
|
4863
4882
|
environment = sgqlc.types.Field('Environment', graphql_name='environment')
|
|
4864
4883
|
environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
|
|
4865
4884
|
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
@@ -5527,9 +5546,10 @@ class DateRange(sgqlc.types.Type):
|
|
|
5527
5546
|
|
|
5528
5547
|
class DefaultTrialConfig(sgqlc.types.Type):
|
|
5529
5548
|
__schema__ = schema
|
|
5530
|
-
__field_names__ = ('budget', 'duration', 'units')
|
|
5549
|
+
__field_names__ = ('budget', 'duration', 'trial_end_behavior', 'units')
|
|
5531
5550
|
budget = sgqlc.types.Field(BudgetConfiguration, graphql_name='budget')
|
|
5532
5551
|
duration = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='duration')
|
|
5552
|
+
trial_end_behavior = sgqlc.types.Field(TrialEndBehavior, graphql_name='trialEndBehavior')
|
|
5533
5553
|
units = sgqlc.types.Field(sgqlc.types.non_null(TrialPeriodUnits), graphql_name='units')
|
|
5534
5554
|
|
|
5535
5555
|
|
|
@@ -8821,14 +8841,18 @@ class SubscriptionAlreadyCanceledOrExpired(sgqlc.types.Type):
|
|
|
8821
8841
|
|
|
8822
8842
|
class SubscriptionCoupon(sgqlc.types.Type):
|
|
8823
8843
|
__schema__ = schema
|
|
8824
|
-
__field_names__ = ('amounts_off', 'discount_value', 'environment_id', 'id', 'name', 'percent_off', 'ref_id', 'type')
|
|
8844
|
+
__field_names__ = ('amounts_off', 'discount_value', 'duration_in_months', 'environment_id', 'expiration_date', 'id', 'name', 'percent_off', 'ref_id', 'start_date', 'status', 'type')
|
|
8825
8845
|
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Money)), graphql_name='amountsOff')
|
|
8826
8846
|
discount_value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='discountValue')
|
|
8847
|
+
duration_in_months = sgqlc.types.Field(Float, graphql_name='durationInMonths')
|
|
8827
8848
|
environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
|
|
8849
|
+
expiration_date = sgqlc.types.Field(DateTime, graphql_name='expirationDate')
|
|
8828
8850
|
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
8829
8851
|
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
|
|
8830
8852
|
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
8831
8853
|
ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
|
|
8854
|
+
start_date = sgqlc.types.Field(DateTime, graphql_name='startDate')
|
|
8855
|
+
status = sgqlc.types.Field(sgqlc.types.non_null(SubscriptionCouponStatus), graphql_name='status')
|
|
8832
8856
|
type = sgqlc.types.Field(sgqlc.types.non_null(CouponType), graphql_name='type')
|
|
8833
8857
|
|
|
8834
8858
|
|
|
@@ -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=VLvC_1m98hBkfZGJuheAu7Nbj_T3TATc1WTqibjgWKg,76639
|
|
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=pSpSoqduRe0DwfvmymzjlVb4yQbiKAK8I3K4QN0ZaJg,621141
|
|
6
|
+
stigg_api_client-2.208.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
7
|
+
stigg_api_client-2.208.0.dist-info/METADATA,sha256=rA8NHpaONPVbagANCwuUdlSN1J_eaEeu7RI9El6R0LA,3198
|
|
8
|
+
stigg_api_client-2.208.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
9
|
+
stigg_api_client-2.208.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|