stigg-api-client 0.715.4__py3-none-any.whl → 0.716.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/operations.py +39 -11
- stigg/generated/schema.py +6 -3
- {stigg_api_client-0.715.4.dist-info → stigg_api_client-0.716.0.dist-info}/METADATA +1 -1
- stigg_api_client-0.716.0.dist-info/RECORD +9 -0
- stigg_api_client-0.715.4.dist-info/RECORD +0 -9
- {stigg_api_client-0.715.4.dist-info → stigg_api_client-0.716.0.dist-info}/LICENSE +0 -0
- {stigg_api_client-0.715.4.dist-info → stigg_api_client-0.716.0.dist-info}/WHEEL +0 -0
stigg/generated/operations.py
CHANGED
|
@@ -1040,8 +1040,42 @@ def fragment_usage_history_fragment():
|
|
|
1040
1040
|
return _frag
|
|
1041
1041
|
|
|
1042
1042
|
|
|
1043
|
+
def fragment_provision_customer_fragment():
|
|
1044
|
+
_frag = sgqlc.operation.Fragment(_schema.ProvisionedCustomer, 'ProvisionCustomerFragment')
|
|
1045
|
+
_frag_customer = _frag.customer()
|
|
1046
|
+
_frag_customer.__fragment__(fragment_slim_customer_fragment())
|
|
1047
|
+
_frag.subscription_decision_strategy()
|
|
1048
|
+
_frag_subscription = _frag.subscription()
|
|
1049
|
+
_frag_subscription.__fragment__(fragment_slim_subscription_fragment())
|
|
1050
|
+
_frag_entitlements = _frag.entitlements()
|
|
1051
|
+
_frag_entitlements.__fragment__(fragment_entitlement_fragment())
|
|
1052
|
+
return _frag
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
def fragment_apply_subscription_fragment():
|
|
1056
|
+
_frag = sgqlc.operation.Fragment(_schema.ApplySubscription, 'ApplySubscriptionFragment')
|
|
1057
|
+
_frag_subscription = _frag.subscription()
|
|
1058
|
+
_frag_subscription.__fragment__(fragment_subscription_fragment())
|
|
1059
|
+
_frag_entitlements = _frag.entitlements()
|
|
1060
|
+
_frag_entitlements.__fragment__(fragment_entitlement_fragment())
|
|
1061
|
+
return _frag
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
def fragment_provision_subscription_fragment():
|
|
1065
|
+
_frag = sgqlc.operation.Fragment(_schema.ProvisionSubscriptionResult, 'ProvisionSubscriptionFragment')
|
|
1066
|
+
_frag.status()
|
|
1067
|
+
_frag.checkout_url()
|
|
1068
|
+
_frag.checkout_billing_id()
|
|
1069
|
+
_frag_subscription = _frag.subscription()
|
|
1070
|
+
_frag_subscription.__fragment__(fragment_slim_subscription_fragment())
|
|
1071
|
+
_frag_entitlements = _frag.entitlements()
|
|
1072
|
+
_frag_entitlements.__fragment__(fragment_entitlement_fragment())
|
|
1073
|
+
return _frag
|
|
1074
|
+
|
|
1075
|
+
|
|
1043
1076
|
class Fragment:
|
|
1044
1077
|
addon_fragment = fragment_addon_fragment()
|
|
1078
|
+
apply_subscription_fragment = fragment_apply_subscription_fragment()
|
|
1045
1079
|
checkout_configuration_fragment = fragment_checkout_configuration_fragment()
|
|
1046
1080
|
checkout_state_fragment = fragment_checkout_state_fragment()
|
|
1047
1081
|
coupon_fragment = fragment_coupon_fragment()
|
|
@@ -1080,6 +1114,8 @@ class Fragment:
|
|
|
1080
1114
|
price_tier_fragment = fragment_price_tier_fragment()
|
|
1081
1115
|
product_fragment = fragment_product_fragment()
|
|
1082
1116
|
promotional_entitlement_fragment = fragment_promotional_entitlement_fragment()
|
|
1117
|
+
provision_customer_fragment = fragment_provision_customer_fragment()
|
|
1118
|
+
provision_subscription_fragment = fragment_provision_subscription_fragment()
|
|
1083
1119
|
reset_period_configuration_fragment = fragment_reset_period_configuration_fragment()
|
|
1084
1120
|
slim_customer_fragment = fragment_slim_customer_fragment()
|
|
1085
1121
|
slim_subscription_fragment = fragment_slim_subscription_fragment()
|
|
@@ -1099,11 +1135,7 @@ class Fragment:
|
|
|
1099
1135
|
def mutation_provision_customer():
|
|
1100
1136
|
_op = sgqlc.operation.Operation(_schema_root.mutation_type, name='ProvisionCustomer', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.ProvisionCustomerInput))))
|
|
1101
1137
|
_op_provision_customer = _op.provision_customer(input=sgqlc.types.Variable('input'))
|
|
1102
|
-
|
|
1103
|
-
_op_provision_customer_customer.__fragment__(fragment_slim_customer_fragment())
|
|
1104
|
-
_op_provision_customer.subscription_decision_strategy()
|
|
1105
|
-
_op_provision_customer_subscription = _op_provision_customer.subscription()
|
|
1106
|
-
_op_provision_customer_subscription.__fragment__(fragment_slim_subscription_fragment())
|
|
1138
|
+
_op_provision_customer.__fragment__(fragment_provision_customer_fragment())
|
|
1107
1139
|
return _op
|
|
1108
1140
|
|
|
1109
1141
|
|
|
@@ -1144,18 +1176,14 @@ def mutation_revoke_promotional_entitlement():
|
|
|
1144
1176
|
def mutation_provision_subscription():
|
|
1145
1177
|
_op = sgqlc.operation.Operation(_schema_root.mutation_type, name='ProvisionSubscription', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.ProvisionSubscriptionInput))))
|
|
1146
1178
|
_op_provision_subscription = _op.provision_subscription_v2(input=sgqlc.types.Variable('input'), __alias__='provision_subscription')
|
|
1147
|
-
_op_provision_subscription.
|
|
1148
|
-
_op_provision_subscription.status()
|
|
1149
|
-
_op_provision_subscription_subscription = _op_provision_subscription.subscription()
|
|
1150
|
-
_op_provision_subscription_subscription.__fragment__(fragment_slim_subscription_fragment())
|
|
1179
|
+
_op_provision_subscription.__fragment__(fragment_provision_subscription_fragment())
|
|
1151
1180
|
return _op
|
|
1152
1181
|
|
|
1153
1182
|
|
|
1154
1183
|
def mutation_apply_subscription():
|
|
1155
1184
|
_op = sgqlc.operation.Operation(_schema_root.mutation_type, name='ApplySubscription', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.ApplySubscriptionInput))))
|
|
1156
1185
|
_op_apply_subscription = _op.apply_subscription(input=sgqlc.types.Variable('input'))
|
|
1157
|
-
|
|
1158
|
-
_op_apply_subscription_subscription.__fragment__(fragment_subscription_fragment())
|
|
1186
|
+
_op_apply_subscription.__fragment__(fragment_apply_subscription_fragment())
|
|
1159
1187
|
return _op
|
|
1160
1188
|
|
|
1161
1189
|
|
stigg/generated/schema.py
CHANGED
|
@@ -3949,7 +3949,8 @@ class ApiKey(sgqlc.types.Type):
|
|
|
3949
3949
|
|
|
3950
3950
|
class ApplySubscription(sgqlc.types.Type):
|
|
3951
3951
|
__schema__ = schema
|
|
3952
|
-
__field_names__ = ('subscription'
|
|
3952
|
+
__field_names__ = ('entitlements', 'subscription')
|
|
3953
|
+
entitlements = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Entitlement')), graphql_name='entitlements')
|
|
3953
3954
|
subscription = sgqlc.types.Field('CustomerSubscription', graphql_name='subscription')
|
|
3954
3955
|
|
|
3955
3956
|
|
|
@@ -7061,9 +7062,10 @@ class PromotionalEntitlementMinAggregate(sgqlc.types.Type):
|
|
|
7061
7062
|
|
|
7062
7063
|
class ProvisionSubscriptionResult(sgqlc.types.Type):
|
|
7063
7064
|
__schema__ = schema
|
|
7064
|
-
__field_names__ = ('checkout_billing_id', 'checkout_url', 'id', 'is_scheduled', 'status', 'subscription')
|
|
7065
|
+
__field_names__ = ('checkout_billing_id', 'checkout_url', 'entitlements', 'id', 'is_scheduled', 'status', 'subscription')
|
|
7065
7066
|
checkout_billing_id = sgqlc.types.Field(String, graphql_name='checkoutBillingId')
|
|
7066
7067
|
checkout_url = sgqlc.types.Field(String, graphql_name='checkoutUrl')
|
|
7068
|
+
entitlements = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Entitlement)), graphql_name='entitlements')
|
|
7067
7069
|
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
7068
7070
|
is_scheduled = sgqlc.types.Field(Boolean, graphql_name='isScheduled')
|
|
7069
7071
|
status = sgqlc.types.Field(sgqlc.types.non_null(ProvisionSubscriptionStatus), graphql_name='status')
|
|
@@ -7072,8 +7074,9 @@ class ProvisionSubscriptionResult(sgqlc.types.Type):
|
|
|
7072
7074
|
|
|
7073
7075
|
class ProvisionedCustomer(sgqlc.types.Type):
|
|
7074
7076
|
__schema__ = schema
|
|
7075
|
-
__field_names__ = ('customer', 'subscription', 'subscription_decision_strategy', 'subscription_strategy_decision')
|
|
7077
|
+
__field_names__ = ('customer', 'entitlements', 'subscription', 'subscription_decision_strategy', 'subscription_strategy_decision')
|
|
7076
7078
|
customer = sgqlc.types.Field(sgqlc.types.non_null(Customer), graphql_name='customer')
|
|
7079
|
+
entitlements = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Entitlement)), graphql_name='entitlements')
|
|
7077
7080
|
subscription = sgqlc.types.Field(CustomerSubscription, graphql_name='subscription')
|
|
7078
7081
|
subscription_decision_strategy = sgqlc.types.Field(sgqlc.types.non_null(SubscriptionDecisionStrategy), graphql_name='subscriptionDecisionStrategy')
|
|
7079
7082
|
subscription_strategy_decision = sgqlc.types.Field(sgqlc.types.non_null(SubscriptionDecisionStrategy), graphql_name='subscriptionStrategyDecision')
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
|
|
2
|
+
stigg/client.py,sha256=wSb0yyW13mWMr_4pooJArTtCa2fL5079ho9jGaZTdpE,3699
|
|
3
|
+
stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
stigg/generated/operations.py,sha256=dD5JE7JIBR018-ek7L6kPlACphmmp1wJtdsKSXhwWBo,64254
|
|
5
|
+
stigg/generated/schema.py,sha256=3n-7qhchr-L6M-n3JarfwrutNXQ4cYVatduNgjoJ_Oo,518424
|
|
6
|
+
stigg_api_client-0.716.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
7
|
+
stigg_api_client-0.716.0.dist-info/METADATA,sha256=-5m7KabNmIGN_2Zi0gtcRZnHjpxHyp7aLrRidTpPcvo,3198
|
|
8
|
+
stigg_api_client-0.716.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
9
|
+
stigg_api_client-0.716.0.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
|
|
2
|
-
stigg/client.py,sha256=wSb0yyW13mWMr_4pooJArTtCa2fL5079ho9jGaZTdpE,3699
|
|
3
|
-
stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
stigg/generated/operations.py,sha256=A2VRsrrTYBnbr69JXCRH1FSs-5ZK4IpfekHf5dKpgSY,63189
|
|
5
|
-
stigg/generated/schema.py,sha256=XiRfWZIRsslqdqTFNV4Mq3FjlYGVVC4zRna6OPrscSE,518009
|
|
6
|
-
stigg_api_client-0.715.4.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
7
|
-
stigg_api_client-0.715.4.dist-info/METADATA,sha256=NyrUyT81DAi20num63dMSZ9xhbWkwBoyiEPlWwCSF3E,3198
|
|
8
|
-
stigg_api_client-0.715.4.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
9
|
-
stigg_api_client-0.715.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|