stigg-api-client-v2 2.331.1__py3-none-any.whl → 2.336.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-v2 might be problematic. Click here for more details.
- stigg/generated/__init__.py +4 -0
- stigg/generated/enums.py +7 -0
- stigg/generated/fragments.py +399 -399
- stigg/generated/input_types.py +12 -0
- {stigg_api_client_v2-2.331.1.dist-info → stigg_api_client_v2-2.336.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.331.1.dist-info → stigg_api_client_v2-2.336.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-2.331.1.dist-info → stigg_api_client_v2-2.336.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.331.1.dist-info → stigg_api_client_v2-2.336.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -24,6 +24,7 @@ from .detach_customer_payment_method import (
|
|
|
24
24
|
)
|
|
25
25
|
from .enums import (
|
|
26
26
|
AccessDeniedReason,
|
|
27
|
+
AccountAccessMethod,
|
|
27
28
|
AccountAccessRole,
|
|
28
29
|
AccountStatus,
|
|
29
30
|
AddonSortFields,
|
|
@@ -891,6 +892,7 @@ from .input_types import (
|
|
|
891
892
|
VendorIdentifierFilterComparison,
|
|
892
893
|
WeeklyResetPeriodConfigInput,
|
|
893
894
|
WidgetConfigurationUpdateInput,
|
|
895
|
+
WorkflowsLoginInput,
|
|
894
896
|
YearlyResetPeriodConfigInput,
|
|
895
897
|
ZuoraCredentialsInput,
|
|
896
898
|
)
|
|
@@ -936,6 +938,7 @@ from .update_subscription import (
|
|
|
936
938
|
|
|
937
939
|
__all__ = [
|
|
938
940
|
"AccessDeniedReason",
|
|
941
|
+
"AccountAccessMethod",
|
|
939
942
|
"AccountAccessRole",
|
|
940
943
|
"AccountStatus",
|
|
941
944
|
"AddCompatibleAddonsToPlanInput",
|
|
@@ -1827,6 +1830,7 @@ __all__ = [
|
|
|
1827
1830
|
"WeeklyResetPeriodConfigInput",
|
|
1828
1831
|
"WidgetConfigurationUpdateInput",
|
|
1829
1832
|
"WidgetType",
|
|
1833
|
+
"WorkflowsLoginInput",
|
|
1830
1834
|
"YearlyAccordingTo",
|
|
1831
1835
|
"YearlyResetPeriodConfigInput",
|
|
1832
1836
|
"ZuoraCredentialsInput",
|
stigg/generated/enums.py
CHANGED
|
@@ -16,6 +16,12 @@ class AccessDeniedReason(str, Enum):
|
|
|
16
16
|
Unknown = "Unknown"
|
|
17
17
|
|
|
18
18
|
|
|
19
|
+
class AccountAccessMethod(str, Enum):
|
|
20
|
+
AUTHORIZED_DOMAIN = "AUTHORIZED_DOMAIN"
|
|
21
|
+
INVITE_ONLY = "INVITE_ONLY"
|
|
22
|
+
SSO = "SSO"
|
|
23
|
+
|
|
24
|
+
|
|
19
25
|
class AccountAccessRole(str, Enum):
|
|
20
26
|
MEMBER = "MEMBER"
|
|
21
27
|
OWNER = "OWNER"
|
|
@@ -453,6 +459,7 @@ class ErrorCode(str, Enum):
|
|
|
453
459
|
FailedToCreateCheckoutSessionError = "FailedToCreateCheckoutSessionError"
|
|
454
460
|
FailedToImportCustomer = "FailedToImportCustomer"
|
|
455
461
|
FailedToImportSubscriptions = "FailedToImportSubscriptions"
|
|
462
|
+
FailedToResolveBillingIntegration = "FailedToResolveBillingIntegration"
|
|
456
463
|
FeatureNotFound = "FeatureNotFound"
|
|
457
464
|
FetchAllCountriesPricesNotAllowed = "FetchAllCountriesPricesNotAllowed"
|
|
458
465
|
FreePlanCantHaveCompatiblePackageGroupError = (
|
stigg/generated/fragments.py
CHANGED
|
@@ -59,6 +59,39 @@ class AddonDependencyFragment(BaseModel):
|
|
|
59
59
|
description: Optional[str] = Field(default=None)
|
|
60
60
|
|
|
61
61
|
|
|
62
|
+
class PackageEntitlementFragment(BaseModel):
|
|
63
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
64
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
65
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
66
|
+
feature_id: str = Field(alias="featureId")
|
|
67
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
68
|
+
alias="resetPeriod", default=None
|
|
69
|
+
)
|
|
70
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
71
|
+
alias="hiddenFromWidgets", default=None
|
|
72
|
+
)
|
|
73
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
74
|
+
display_name_override: Optional[str] = Field(
|
|
75
|
+
alias="displayNameOverride", default=None
|
|
76
|
+
)
|
|
77
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
81
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
82
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
83
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
84
|
+
feature_units_plural: Optional[str] = Field(
|
|
85
|
+
alias="featureUnitsPlural", default=None
|
|
86
|
+
)
|
|
87
|
+
display_name: str = Field(alias="displayName")
|
|
88
|
+
description: Optional[str] = Field(default=None)
|
|
89
|
+
ref_id: str = Field(alias="refId")
|
|
90
|
+
additional_meta_data: Optional[Any] = Field(
|
|
91
|
+
alias="additionalMetaData", default=None
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
|
|
62
95
|
class PriceTierFragment(BaseModel):
|
|
63
96
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
64
97
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -79,33 +112,29 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
79
112
|
currency: Currency
|
|
80
113
|
|
|
81
114
|
|
|
82
|
-
class
|
|
115
|
+
class OveragePriceFragment(BaseModel):
|
|
83
116
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
84
117
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
85
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
86
118
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
87
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
88
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
89
119
|
billing_country_code: Optional[str] = Field(
|
|
90
120
|
alias="billingCountryCode", default=None
|
|
91
121
|
)
|
|
92
|
-
price: Optional["
|
|
122
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
93
123
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
94
|
-
tiers: Optional[List["
|
|
95
|
-
feature: Optional["
|
|
96
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
124
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
125
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
97
126
|
|
|
98
127
|
|
|
99
|
-
class
|
|
128
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
100
129
|
amount: float
|
|
101
130
|
currency: Currency
|
|
102
131
|
|
|
103
132
|
|
|
104
|
-
class
|
|
133
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
105
134
|
pass
|
|
106
135
|
|
|
107
136
|
|
|
108
|
-
class
|
|
137
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
109
138
|
ref_id: str = Field(alias="refId")
|
|
110
139
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
111
140
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -115,29 +144,33 @@ class PriceFragmentFeature(BaseModel):
|
|
|
115
144
|
description: Optional[str] = Field(default=None)
|
|
116
145
|
|
|
117
146
|
|
|
118
|
-
class
|
|
147
|
+
class PriceFragment(BaseModel):
|
|
119
148
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
120
149
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
150
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
121
151
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
152
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
153
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
122
154
|
billing_country_code: Optional[str] = Field(
|
|
123
155
|
alias="billingCountryCode", default=None
|
|
124
156
|
)
|
|
125
|
-
price: Optional["
|
|
157
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
126
158
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
127
|
-
tiers: Optional[List["
|
|
128
|
-
feature: Optional["
|
|
159
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
160
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
161
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
129
162
|
|
|
130
163
|
|
|
131
|
-
class
|
|
164
|
+
class PriceFragmentPrice(BaseModel):
|
|
132
165
|
amount: float
|
|
133
166
|
currency: Currency
|
|
134
167
|
|
|
135
168
|
|
|
136
|
-
class
|
|
169
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
137
170
|
pass
|
|
138
171
|
|
|
139
172
|
|
|
140
|
-
class
|
|
173
|
+
class PriceFragmentFeature(BaseModel):
|
|
141
174
|
ref_id: str = Field(alias="refId")
|
|
142
175
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
143
176
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -147,39 +180,6 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
147
180
|
description: Optional[str] = Field(default=None)
|
|
148
181
|
|
|
149
182
|
|
|
150
|
-
class PackageEntitlementFragment(BaseModel):
|
|
151
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
152
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
153
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
154
|
-
feature_id: str = Field(alias="featureId")
|
|
155
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
156
|
-
alias="resetPeriod", default=None
|
|
157
|
-
)
|
|
158
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
159
|
-
alias="hiddenFromWidgets", default=None
|
|
160
|
-
)
|
|
161
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
162
|
-
display_name_override: Optional[str] = Field(
|
|
163
|
-
alias="displayNameOverride", default=None
|
|
164
|
-
)
|
|
165
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
169
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
170
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
171
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
172
|
-
feature_units_plural: Optional[str] = Field(
|
|
173
|
-
alias="featureUnitsPlural", default=None
|
|
174
|
-
)
|
|
175
|
-
display_name: str = Field(alias="displayName")
|
|
176
|
-
description: Optional[str] = Field(default=None)
|
|
177
|
-
ref_id: str = Field(alias="refId")
|
|
178
|
-
additional_meta_data: Optional[Any] = Field(
|
|
179
|
-
alias="additionalMetaData", default=None
|
|
180
|
-
)
|
|
181
|
-
|
|
182
|
-
|
|
183
183
|
class AddonFragment(BaseModel):
|
|
184
184
|
id: str
|
|
185
185
|
ref_id: str = Field(alias="refId")
|
|
@@ -215,149 +215,170 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
215
215
|
pass
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
class
|
|
219
|
-
|
|
220
|
-
display_name: str = Field(alias="displayName")
|
|
221
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
222
|
-
default=None
|
|
223
|
-
)
|
|
224
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
228
|
-
pass
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
232
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
233
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
218
|
+
class CustomerResourceFragment(BaseModel):
|
|
219
|
+
resource_id: str = Field(alias="resourceId")
|
|
234
220
|
|
|
235
221
|
|
|
236
|
-
class
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
description: Optional[str] = Field(default=None)
|
|
240
|
-
additional_meta_data: Optional[Any] = Field(
|
|
241
|
-
alias="additionalMetaData", default=None
|
|
222
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
223
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
224
|
+
alias="subscriptionScheduleType"
|
|
242
225
|
)
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
248
|
-
alias="downgradePlan", default=None
|
|
226
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
227
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
228
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
229
|
+
alias="targetPackage", default=None
|
|
249
230
|
)
|
|
231
|
+
schedule_variables: Optional[
|
|
232
|
+
Annotated[
|
|
233
|
+
Union[
|
|
234
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
235
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
236
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
237
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
238
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
239
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
240
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
241
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
242
|
+
],
|
|
243
|
+
Field(discriminator="typename__"),
|
|
244
|
+
]
|
|
245
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
250
246
|
|
|
251
247
|
|
|
252
|
-
class
|
|
253
|
-
ref_id: str = Field(alias="refId")
|
|
254
|
-
display_name: str = Field(alias="displayName")
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
class PlanFragment(BaseModel):
|
|
248
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
258
249
|
id: str
|
|
259
250
|
ref_id: str = Field(alias="refId")
|
|
260
251
|
display_name: str = Field(alias="displayName")
|
|
261
|
-
description: Optional[str] = Field(default=None)
|
|
262
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
263
|
-
version_number: int = Field(alias="versionNumber")
|
|
264
|
-
additional_meta_data: Optional[Any] = Field(
|
|
265
|
-
alias="additionalMetaData", default=None
|
|
266
|
-
)
|
|
267
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
268
|
-
alias="hiddenFromWidgets", default=None
|
|
269
|
-
)
|
|
270
|
-
product: "PlanFragmentProduct"
|
|
271
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
272
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
273
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
274
|
-
alias="inheritedEntitlements", default=None
|
|
275
|
-
)
|
|
276
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
277
|
-
alias="compatibleAddons", default=None
|
|
278
|
-
)
|
|
279
|
-
compatible_package_groups: Optional[
|
|
280
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
281
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
282
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
283
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
284
|
-
alias="overagePrices", default=None
|
|
285
|
-
)
|
|
286
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
287
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
288
|
-
alias="defaultTrialConfig", default=None
|
|
289
|
-
)
|
|
290
252
|
|
|
291
253
|
|
|
292
|
-
class
|
|
293
|
-
|
|
254
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
255
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
256
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
257
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
294
258
|
|
|
295
259
|
|
|
296
|
-
class
|
|
297
|
-
|
|
298
|
-
|
|
260
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
261
|
+
BaseModel
|
|
262
|
+
):
|
|
263
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
264
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
265
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
299
266
|
|
|
300
267
|
|
|
301
|
-
class
|
|
302
|
-
|
|
268
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
269
|
+
BaseModel
|
|
270
|
+
):
|
|
271
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
272
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
303
273
|
|
|
304
274
|
|
|
305
|
-
class
|
|
306
|
-
|
|
275
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
276
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
307
277
|
|
|
308
278
|
|
|
309
|
-
class
|
|
310
|
-
|
|
279
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
280
|
+
BaseModel
|
|
281
|
+
):
|
|
282
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
283
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
284
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
285
|
+
billable_features: Optional[
|
|
286
|
+
List[
|
|
287
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
288
|
+
]
|
|
289
|
+
] = Field(alias="billableFeatures", default=None)
|
|
290
|
+
addons: Optional[
|
|
291
|
+
List[
|
|
292
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
293
|
+
]
|
|
294
|
+
] = Field(default=None)
|
|
295
|
+
price_overrides: Optional[
|
|
296
|
+
List[
|
|
297
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
298
|
+
]
|
|
299
|
+
] = Field(alias="priceOverrides", default=None)
|
|
311
300
|
|
|
312
301
|
|
|
313
|
-
class
|
|
314
|
-
|
|
302
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
303
|
+
BaseModel
|
|
304
|
+
):
|
|
305
|
+
feature_id: str = Field(alias="featureId")
|
|
306
|
+
quantity: float
|
|
315
307
|
|
|
316
308
|
|
|
317
|
-
class
|
|
318
|
-
|
|
309
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
310
|
+
BaseModel
|
|
311
|
+
):
|
|
312
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
313
|
+
quantity: float
|
|
319
314
|
|
|
320
315
|
|
|
321
|
-
class
|
|
322
|
-
|
|
316
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
317
|
+
BaseModel
|
|
318
|
+
):
|
|
319
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
320
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
321
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
323
322
|
|
|
324
323
|
|
|
325
|
-
class
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
324
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
325
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
326
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
327
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
328
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
329
|
+
billable_features: Optional[
|
|
330
|
+
List[
|
|
331
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
332
|
+
]
|
|
333
|
+
] = Field(alias="billableFeatures", default=None)
|
|
334
|
+
addons: Optional[
|
|
335
|
+
List[
|
|
336
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
337
|
+
]
|
|
338
|
+
] = Field(default=None)
|
|
339
|
+
price_overrides: Optional[
|
|
340
|
+
List[
|
|
341
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
342
|
+
]
|
|
343
|
+
] = Field(alias="priceOverrides", default=None)
|
|
332
344
|
|
|
333
345
|
|
|
334
|
-
class
|
|
335
|
-
|
|
346
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
347
|
+
BaseModel
|
|
348
|
+
):
|
|
349
|
+
feature_id: str = Field(alias="featureId")
|
|
350
|
+
quantity: float
|
|
336
351
|
|
|
337
352
|
|
|
338
|
-
class
|
|
339
|
-
|
|
353
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
354
|
+
BaseModel
|
|
355
|
+
):
|
|
356
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
357
|
+
quantity: float
|
|
340
358
|
|
|
341
359
|
|
|
342
|
-
class
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
ref_id: str = Field(alias="refId")
|
|
349
|
-
customer_id: str = Field(alias="customerId")
|
|
350
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
351
|
-
additional_meta_data: Optional[Any] = Field(
|
|
352
|
-
alias="additionalMetaData", default=None
|
|
353
|
-
)
|
|
354
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
355
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
356
|
-
)
|
|
360
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
361
|
+
BaseModel
|
|
362
|
+
):
|
|
363
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
364
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
365
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
357
366
|
|
|
358
367
|
|
|
359
|
-
class
|
|
360
|
-
|
|
368
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
369
|
+
BaseModel
|
|
370
|
+
):
|
|
371
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
372
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
373
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
377
|
+
BaseModel
|
|
378
|
+
):
|
|
379
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
380
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
381
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
361
382
|
|
|
362
383
|
|
|
363
384
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
@@ -514,208 +535,187 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
514
535
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
515
536
|
|
|
516
537
|
|
|
517
|
-
class
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
)
|
|
521
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
522
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
523
|
-
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
524
|
-
alias="targetPackage", default=None
|
|
525
|
-
)
|
|
526
|
-
schedule_variables: Optional[
|
|
527
|
-
Annotated[
|
|
528
|
-
Union[
|
|
529
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
530
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
531
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
532
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
533
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
534
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
535
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
536
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
537
|
-
],
|
|
538
|
-
Field(discriminator="typename__"),
|
|
539
|
-
]
|
|
540
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
538
|
+
class TotalPriceFragment(BaseModel):
|
|
539
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
540
|
+
total: "TotalPriceFragmentTotal"
|
|
541
541
|
|
|
542
542
|
|
|
543
|
-
class
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
display_name: str = Field(alias="displayName")
|
|
543
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
544
|
+
amount: float
|
|
545
|
+
currency: Currency
|
|
547
546
|
|
|
548
547
|
|
|
549
|
-
class
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
548
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
549
|
+
amount: float
|
|
550
|
+
currency: Currency
|
|
553
551
|
|
|
554
552
|
|
|
555
|
-
class
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
553
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
554
|
+
billing_id: str = Field(alias="billingId")
|
|
555
|
+
status: SubscriptionInvoiceStatus
|
|
556
|
+
created_at: Any = Field(alias="createdAt")
|
|
557
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
558
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
559
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
560
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
561
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
562
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
563
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
564
|
+
alias="billingReason", default=None
|
|
565
|
+
)
|
|
566
|
+
currency: Optional[str] = Field(default=None)
|
|
567
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
568
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
569
|
+
alias="subTotalExcludingTax", default=None
|
|
570
|
+
)
|
|
571
|
+
total: Optional[float] = Field(default=None)
|
|
572
|
+
total_excluding_tax: Optional[float] = Field(
|
|
573
|
+
alias="totalExcludingTax", default=None
|
|
574
|
+
)
|
|
575
|
+
tax: Optional[float] = Field(default=None)
|
|
576
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
577
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
561
578
|
|
|
562
579
|
|
|
563
|
-
class
|
|
564
|
-
|
|
565
|
-
)
|
|
566
|
-
|
|
567
|
-
|
|
580
|
+
class SlimCustomerFragment(BaseModel):
|
|
581
|
+
id: str
|
|
582
|
+
name: Optional[str] = Field(default=None)
|
|
583
|
+
email: Optional[str] = Field(default=None)
|
|
584
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
585
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
586
|
+
ref_id: str = Field(alias="refId")
|
|
587
|
+
customer_id: str = Field(alias="customerId")
|
|
588
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
589
|
+
additional_meta_data: Optional[Any] = Field(
|
|
590
|
+
alias="additionalMetaData", default=None
|
|
591
|
+
)
|
|
592
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
593
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
594
|
+
)
|
|
568
595
|
|
|
569
596
|
|
|
570
|
-
class
|
|
571
|
-
|
|
597
|
+
class ProductFragment(BaseModel):
|
|
598
|
+
ref_id: str = Field(alias="refId")
|
|
599
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
600
|
+
description: Optional[str] = Field(default=None)
|
|
601
|
+
additional_meta_data: Optional[Any] = Field(
|
|
602
|
+
alias="additionalMetaData", default=None
|
|
603
|
+
)
|
|
604
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
572
605
|
|
|
573
606
|
|
|
574
|
-
class
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
579
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
580
|
-
billable_features: Optional[
|
|
581
|
-
List[
|
|
582
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
583
|
-
]
|
|
584
|
-
] = Field(alias="billableFeatures", default=None)
|
|
585
|
-
addons: Optional[
|
|
586
|
-
List[
|
|
587
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
588
|
-
]
|
|
589
|
-
] = Field(default=None)
|
|
590
|
-
price_overrides: Optional[
|
|
591
|
-
List[
|
|
592
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
593
|
-
]
|
|
594
|
-
] = Field(alias="priceOverrides", default=None)
|
|
607
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
608
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
609
|
+
alias="downgradePlan", default=None
|
|
610
|
+
)
|
|
595
611
|
|
|
596
612
|
|
|
597
|
-
class
|
|
598
|
-
|
|
599
|
-
)
|
|
600
|
-
feature_id: str = Field(alias="featureId")
|
|
601
|
-
quantity: float
|
|
613
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
614
|
+
ref_id: str = Field(alias="refId")
|
|
615
|
+
display_name: str = Field(alias="displayName")
|
|
602
616
|
|
|
603
617
|
|
|
604
|
-
class
|
|
605
|
-
|
|
606
|
-
)
|
|
607
|
-
|
|
608
|
-
|
|
618
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
619
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
620
|
+
display_name: str = Field(alias="displayName")
|
|
621
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
622
|
+
default=None
|
|
623
|
+
)
|
|
624
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
609
625
|
|
|
610
626
|
|
|
611
|
-
class
|
|
612
|
-
|
|
613
|
-
):
|
|
614
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
615
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
616
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
627
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
628
|
+
pass
|
|
617
629
|
|
|
618
630
|
|
|
619
|
-
class
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
] = Field(
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
] = Field(alias="
|
|
631
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
632
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
633
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
class PlanFragment(BaseModel):
|
|
637
|
+
id: str
|
|
638
|
+
ref_id: str = Field(alias="refId")
|
|
639
|
+
display_name: str = Field(alias="displayName")
|
|
640
|
+
description: Optional[str] = Field(default=None)
|
|
641
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
642
|
+
version_number: int = Field(alias="versionNumber")
|
|
643
|
+
additional_meta_data: Optional[Any] = Field(
|
|
644
|
+
alias="additionalMetaData", default=None
|
|
645
|
+
)
|
|
646
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
647
|
+
alias="hiddenFromWidgets", default=None
|
|
648
|
+
)
|
|
649
|
+
product: "PlanFragmentProduct"
|
|
650
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
651
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
652
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
653
|
+
alias="inheritedEntitlements", default=None
|
|
654
|
+
)
|
|
655
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
656
|
+
alias="compatibleAddons", default=None
|
|
657
|
+
)
|
|
658
|
+
compatible_package_groups: Optional[
|
|
659
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
660
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
661
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
662
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
663
|
+
alias="overagePrices", default=None
|
|
664
|
+
)
|
|
665
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
666
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
667
|
+
alias="defaultTrialConfig", default=None
|
|
668
|
+
)
|
|
639
669
|
|
|
640
670
|
|
|
641
|
-
class
|
|
642
|
-
|
|
643
|
-
):
|
|
644
|
-
feature_id: str = Field(alias="featureId")
|
|
645
|
-
quantity: float
|
|
671
|
+
class PlanFragmentProduct(ProductFragment):
|
|
672
|
+
pass
|
|
646
673
|
|
|
647
674
|
|
|
648
|
-
class
|
|
649
|
-
|
|
650
|
-
)
|
|
651
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
652
|
-
quantity: float
|
|
675
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
676
|
+
ref_id: str = Field(alias="refId")
|
|
677
|
+
display_name: str = Field(alias="displayName")
|
|
653
678
|
|
|
654
679
|
|
|
655
|
-
class
|
|
656
|
-
|
|
657
|
-
):
|
|
658
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
659
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
660
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
680
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
681
|
+
pass
|
|
661
682
|
|
|
662
683
|
|
|
663
|
-
class
|
|
664
|
-
|
|
665
|
-
):
|
|
666
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
667
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
668
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
684
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
685
|
+
pass
|
|
669
686
|
|
|
670
687
|
|
|
671
|
-
class
|
|
672
|
-
|
|
673
|
-
):
|
|
674
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
675
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
676
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
688
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
689
|
+
pass
|
|
677
690
|
|
|
678
691
|
|
|
679
|
-
class
|
|
680
|
-
|
|
681
|
-
total: "TotalPriceFragmentTotal"
|
|
692
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
693
|
+
pass
|
|
682
694
|
|
|
683
695
|
|
|
684
|
-
class
|
|
685
|
-
|
|
686
|
-
currency: Currency
|
|
696
|
+
class PlanFragmentPrices(PriceFragment):
|
|
697
|
+
pass
|
|
687
698
|
|
|
688
699
|
|
|
689
|
-
class
|
|
690
|
-
|
|
691
|
-
currency: Currency
|
|
700
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
701
|
+
pass
|
|
692
702
|
|
|
693
703
|
|
|
694
|
-
class
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
701
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
702
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
703
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
704
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
705
|
-
alias="billingReason", default=None
|
|
706
|
-
)
|
|
707
|
-
currency: Optional[str] = Field(default=None)
|
|
708
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
709
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
710
|
-
alias="subTotalExcludingTax", default=None
|
|
711
|
-
)
|
|
712
|
-
total: Optional[float] = Field(default=None)
|
|
713
|
-
total_excluding_tax: Optional[float] = Field(
|
|
714
|
-
alias="totalExcludingTax", default=None
|
|
704
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
705
|
+
duration: float
|
|
706
|
+
units: TrialPeriodUnits
|
|
707
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
708
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
709
|
+
alias="trialEndBehavior", default=None
|
|
715
710
|
)
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
714
|
+
limit: float
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
718
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
719
719
|
|
|
720
720
|
|
|
721
721
|
class SubscriptionFragment(BaseModel):
|
|
@@ -1260,40 +1260,6 @@ class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
|
1260
1260
|
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1261
1261
|
|
|
1262
1262
|
|
|
1263
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1264
|
-
addon_id: str = Field(alias="addonId")
|
|
1265
|
-
description: Optional[str] = Field(default=None)
|
|
1266
|
-
display_name: str = Field(alias="displayName")
|
|
1267
|
-
quantity: int
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1271
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1272
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1273
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1274
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1275
|
-
default=None
|
|
1276
|
-
)
|
|
1277
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1278
|
-
default=None
|
|
1279
|
-
)
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1283
|
-
amount: float
|
|
1284
|
-
currency: Currency
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1288
|
-
id: str
|
|
1289
|
-
ref_id: str = Field(alias="refId")
|
|
1290
|
-
display_name: str = Field(alias="displayName")
|
|
1291
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1292
|
-
feature_units_plural: Optional[str] = Field(
|
|
1293
|
-
alias="featureUnitsPlural", default=None
|
|
1294
|
-
)
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
1263
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1298
1264
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1299
1265
|
alias="subscriptionScheduleType"
|
|
@@ -1463,6 +1429,40 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1463
1429
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1464
1430
|
|
|
1465
1431
|
|
|
1432
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1433
|
+
addon_id: str = Field(alias="addonId")
|
|
1434
|
+
description: Optional[str] = Field(default=None)
|
|
1435
|
+
display_name: str = Field(alias="displayName")
|
|
1436
|
+
quantity: int
|
|
1437
|
+
|
|
1438
|
+
|
|
1439
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1440
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1441
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1442
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1443
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1444
|
+
default=None
|
|
1445
|
+
)
|
|
1446
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1447
|
+
default=None
|
|
1448
|
+
)
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1452
|
+
amount: float
|
|
1453
|
+
currency: Currency
|
|
1454
|
+
|
|
1455
|
+
|
|
1456
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1457
|
+
id: str
|
|
1458
|
+
ref_id: str = Field(alias="refId")
|
|
1459
|
+
display_name: str = Field(alias="displayName")
|
|
1460
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1461
|
+
feature_units_plural: Optional[str] = Field(
|
|
1462
|
+
alias="featureUnitsPlural", default=None
|
|
1463
|
+
)
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
1466
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1467
1467
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1468
1468
|
plan_id: str = Field(alias="planId")
|
|
@@ -1786,39 +1786,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1786
1786
|
description: Optional[str] = Field(default=None)
|
|
1787
1787
|
|
|
1788
1788
|
|
|
1789
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1790
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1791
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1792
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1793
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1794
|
-
alias="resetPeriod", default=None
|
|
1795
|
-
)
|
|
1796
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1797
|
-
alias="hiddenFromWidgets", default=None
|
|
1798
|
-
)
|
|
1799
|
-
display_name_override: Optional[str] = Field(
|
|
1800
|
-
alias="displayNameOverride", default=None
|
|
1801
|
-
)
|
|
1802
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1803
|
-
default=None
|
|
1804
|
-
)
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1808
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1809
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1810
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1811
|
-
feature_units_plural: Optional[str] = Field(
|
|
1812
|
-
alias="featureUnitsPlural", default=None
|
|
1813
|
-
)
|
|
1814
|
-
display_name: str = Field(alias="displayName")
|
|
1815
|
-
description: Optional[str] = Field(default=None)
|
|
1816
|
-
ref_id: str = Field(alias="refId")
|
|
1817
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1818
|
-
alias="additionalMetaData", default=None
|
|
1819
|
-
)
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
1789
|
class MockPaywallPriceFragment(BaseModel):
|
|
1823
1790
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1824
1791
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1853,6 +1820,39 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1853
1820
|
display_name: str = Field(alias="displayName")
|
|
1854
1821
|
|
|
1855
1822
|
|
|
1823
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1824
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1825
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1826
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1827
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1828
|
+
alias="resetPeriod", default=None
|
|
1829
|
+
)
|
|
1830
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1831
|
+
alias="hiddenFromWidgets", default=None
|
|
1832
|
+
)
|
|
1833
|
+
display_name_override: Optional[str] = Field(
|
|
1834
|
+
alias="displayNameOverride", default=None
|
|
1835
|
+
)
|
|
1836
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1837
|
+
default=None
|
|
1838
|
+
)
|
|
1839
|
+
|
|
1840
|
+
|
|
1841
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1842
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1843
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1844
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1845
|
+
feature_units_plural: Optional[str] = Field(
|
|
1846
|
+
alias="featureUnitsPlural", default=None
|
|
1847
|
+
)
|
|
1848
|
+
display_name: str = Field(alias="displayName")
|
|
1849
|
+
description: Optional[str] = Field(default=None)
|
|
1850
|
+
ref_id: str = Field(alias="refId")
|
|
1851
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1852
|
+
alias="additionalMetaData", default=None
|
|
1853
|
+
)
|
|
1854
|
+
|
|
1855
|
+
|
|
1856
1856
|
class MockPaywallAddonFragment(BaseModel):
|
|
1857
1857
|
ref_id: str = Field(alias="refId")
|
|
1858
1858
|
display_name: str = Field(alias="displayName")
|
|
@@ -2763,21 +2763,21 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2763
2763
|
|
|
2764
2764
|
|
|
2765
2765
|
AddonDependencyFragment.model_rebuild()
|
|
2766
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2766
2767
|
PriceTierFragment.model_rebuild()
|
|
2767
|
-
PriceFragment.model_rebuild()
|
|
2768
2768
|
OveragePriceFragment.model_rebuild()
|
|
2769
|
-
|
|
2769
|
+
PriceFragment.model_rebuild()
|
|
2770
2770
|
AddonFragment.model_rebuild()
|
|
2771
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2772
|
-
ProductFragment.model_rebuild()
|
|
2773
|
-
PlanFragment.model_rebuild()
|
|
2774
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2775
|
-
SlimCustomerFragment.model_rebuild()
|
|
2776
2771
|
CustomerResourceFragment.model_rebuild()
|
|
2777
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2778
2772
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2773
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2779
2774
|
TotalPriceFragment.model_rebuild()
|
|
2780
2775
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2776
|
+
SlimCustomerFragment.model_rebuild()
|
|
2777
|
+
ProductFragment.model_rebuild()
|
|
2778
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2779
|
+
PlanFragment.model_rebuild()
|
|
2780
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2781
2781
|
SubscriptionFragment.model_rebuild()
|
|
2782
2782
|
FeatureFragment.model_rebuild()
|
|
2783
2783
|
EntitlementFragment.model_rebuild()
|
|
@@ -2793,9 +2793,9 @@ CustomerPortalBillingInformationFragment.model_rebuild()
|
|
|
2793
2793
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2794
2794
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2795
2795
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2796
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2796
2797
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2797
2798
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2798
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2799
2799
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2800
2800
|
CustomerPortalFragment.model_rebuild()
|
|
2801
2801
|
CustomerStatisticsFragment.model_rebuild()
|
|
@@ -2806,8 +2806,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2806
2806
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2807
2807
|
LayoutConfigurationFragment.model_rebuild()
|
|
2808
2808
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2809
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2810
2809
|
MockPaywallPriceFragment.model_rebuild()
|
|
2810
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2811
2811
|
MockPaywallAddonFragment.model_rebuild()
|
|
2812
2812
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2813
2813
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -8,6 +8,7 @@ from stigg._vendors.pydantic import Field
|
|
|
8
8
|
from .base_model import BaseModel
|
|
9
9
|
from .enums import (
|
|
10
10
|
AccessDeniedReason,
|
|
11
|
+
AccountAccessMethod,
|
|
11
12
|
AccountAccessRole,
|
|
12
13
|
AddonSortFields,
|
|
13
14
|
AggregationFunction,
|
|
@@ -3660,6 +3661,7 @@ class SubscriptionBillingInfo(BaseModel):
|
|
|
3660
3661
|
alias="chargeOnBehalfOfAccount", default=None
|
|
3661
3662
|
)
|
|
3662
3663
|
coupon_id: Optional[str] = Field(alias="couponId", default=None)
|
|
3664
|
+
integration_id: Optional[str] = Field(alias="integrationId", default=None)
|
|
3663
3665
|
invoice_days_until_due: Optional[float] = Field(
|
|
3664
3666
|
alias="invoiceDaysUntilDue", default=None
|
|
3665
3667
|
)
|
|
@@ -4260,6 +4262,12 @@ class UnitTransformationInput(BaseModel):
|
|
|
4260
4262
|
|
|
4261
4263
|
|
|
4262
4264
|
class UpdateAccountInput(BaseModel):
|
|
4265
|
+
access_method: Optional[AccountAccessMethod] = Field(
|
|
4266
|
+
alias="accessMethod", default=None
|
|
4267
|
+
)
|
|
4268
|
+
account_email_domain: Optional[str] = Field(
|
|
4269
|
+
alias="accountEmailDomain", default=None
|
|
4270
|
+
)
|
|
4263
4271
|
default_sso_roles: Optional["DefaultSSORolesInput"] = Field(
|
|
4264
4272
|
alias="defaultSSORoles", default=None
|
|
4265
4273
|
)
|
|
@@ -4670,6 +4678,10 @@ class WidgetConfigurationUpdateInput(BaseModel):
|
|
|
4670
4678
|
)
|
|
4671
4679
|
|
|
4672
4680
|
|
|
4681
|
+
class WorkflowsLoginInput(BaseModel):
|
|
4682
|
+
environment_id: Optional[str] = Field(alias="environmentId", default=None)
|
|
4683
|
+
|
|
4684
|
+
|
|
4673
4685
|
class YearlyResetPeriodConfigInput(BaseModel):
|
|
4674
4686
|
according_to: YearlyAccordingTo = Field(alias="accordingTo")
|
|
4675
4687
|
|
|
@@ -106,7 +106,7 @@ stigg/_vendors/pydantic-2.6.4.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
106
106
|
stigg/_vendors/pydantic-2.6.4.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
107
107
|
stigg/_vendors/pydantic-2.6.4.dist-info/licenses/LICENSE,sha256=qeGG88oWte74QxjnpwFyE1GgDLe4rjpDlLZ7SeNSnvM,1129
|
|
108
108
|
stigg/client.py,sha256=RWrVnxo9zHFXka8KJVE4sMgyek70ispQk0vqOINCvM0,8335
|
|
109
|
-
stigg/generated/__init__.py,sha256=
|
|
109
|
+
stigg/generated/__init__.py,sha256=zFBW-Qzbhy6JZcvAb8h_IGKnIhLus0cQcM88BldO0ao,69336
|
|
110
110
|
stigg/generated/apply_subscription.py,sha256=Vbs-QZZxN16pUpt3Hp7Jvvcc5o_8xwJK9oTLQQjH0ZA,451
|
|
111
111
|
stigg/generated/archive_customer.py,sha256=3N3iBiT2Vvzfb0ckV3o57A6lmJ_ef7JNPaMX_Jtcg6c,396
|
|
112
112
|
stigg/generated/async_base_client.py,sha256=zqd6IhYxpalyA6KQkeGhXgSurC0vXSwSWmSlM2zZ0VM,12593
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=AHebP8X0jl5noIxkZwMgE-EOE3e5lv-tGrCj2xDt58c,169
|
|
|
119
119
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
120
120
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
121
121
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
122
|
-
stigg/generated/enums.py,sha256=
|
|
122
|
+
stigg/generated/enums.py,sha256=iSRG0vGt6BMIBq6y9ilkzSnnBFki6yr6y-GqVc-AUQc,35078
|
|
123
123
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
124
124
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
125
125
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
126
|
-
stigg/generated/fragments.py,sha256=
|
|
126
|
+
stigg/generated/fragments.py,sha256=F3qs9fVw7ekl2wL5JOd11atfvSeHi3uP7c7zHM04icY,100632
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -144,7 +144,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
144
144
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
145
145
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
146
146
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
147
|
-
stigg/generated/input_types.py,sha256=
|
|
147
|
+
stigg/generated/input_types.py,sha256=ecm48xnanGn8OvT75BKWI42Wabt-IvVxxawKhajNjnk,192647
|
|
148
148
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
149
149
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
150
150
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
163
|
+
stigg_api_client_v2-2.336.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.336.0.dist-info/METADATA,sha256=hnLVHc4xHFOeWdWrC_4LPnCZtZabw_1I-fPn5oxVPGE,2258
|
|
165
|
+
stigg_api_client_v2-2.336.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.336.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|