stigg-api-client-v2 2.497.0__py3-none-any.whl → 3.3.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 +2 -0
- stigg/generated/enums.py +2 -0
- stigg/generated/fragments.py +409 -409
- stigg/generated/input_types.py +5 -0
- {stigg_api_client_v2-2.497.0.dist-info → stigg_api_client_v2-3.3.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.497.0.dist-info → stigg_api_client_v2-3.3.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-2.497.0.dist-info → stigg_api_client_v2-3.3.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.497.0.dist-info → stigg_api_client_v2-3.3.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -703,6 +703,7 @@ from .input_types import (
|
|
|
703
703
|
ExperimentStatusFilterComparison,
|
|
704
704
|
FeatureAssociatedLatestPackages,
|
|
705
705
|
FeatureFilter,
|
|
706
|
+
FeatureGroupAssociatedLatestPackagesInput,
|
|
706
707
|
FeatureGroupFilter,
|
|
707
708
|
FeatureGroupSort,
|
|
708
709
|
FeatureGroupStatusFilterComparison,
|
|
@@ -1273,6 +1274,7 @@ __all__ = [
|
|
|
1273
1274
|
"FeatureFilter",
|
|
1274
1275
|
"FeatureFragment",
|
|
1275
1276
|
"FeatureFragmentUnitTransformation",
|
|
1277
|
+
"FeatureGroupAssociatedLatestPackagesInput",
|
|
1276
1278
|
"FeatureGroupFilter",
|
|
1277
1279
|
"FeatureGroupSort",
|
|
1278
1280
|
"FeatureGroupSortFields",
|
stigg/generated/enums.py
CHANGED
|
@@ -637,6 +637,8 @@ class EventLogType(str, Enum):
|
|
|
637
637
|
COUPON_CREATED = "COUPON_CREATED"
|
|
638
638
|
COUPON_UPDATED = "COUPON_UPDATED"
|
|
639
639
|
CREATE_SUBSCRIPTION_FAILED = "CREATE_SUBSCRIPTION_FAILED"
|
|
640
|
+
CREDITS_EXPIRED = "CREDITS_EXPIRED"
|
|
641
|
+
CREDITS_GRANTED = "CREDITS_GRANTED"
|
|
640
642
|
CUSTOMER_CREATED = "CUSTOMER_CREATED"
|
|
641
643
|
CUSTOMER_DELETED = "CUSTOMER_DELETED"
|
|
642
644
|
CUSTOMER_ENTITLEMENT_CALCULATION_TRIGGERED = (
|
stigg/generated/fragments.py
CHANGED
|
@@ -60,58 +60,6 @@ class AddonDependencyFragment(BaseModel):
|
|
|
60
60
|
description: Optional[str] = Field(default=None)
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
class PriceTierFragment(BaseModel):
|
|
64
|
-
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
65
|
-
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
66
|
-
alias="unitPrice", default=None
|
|
67
|
-
)
|
|
68
|
-
flat_price: Optional["PriceTierFragmentFlatPrice"] = Field(
|
|
69
|
-
alias="flatPrice", default=None
|
|
70
|
-
)
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
class PriceTierFragmentUnitPrice(BaseModel):
|
|
74
|
-
amount: float
|
|
75
|
-
currency: Currency
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
class PriceTierFragmentFlatPrice(BaseModel):
|
|
79
|
-
amount: float
|
|
80
|
-
currency: Currency
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
class OveragePriceFragment(BaseModel):
|
|
84
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
85
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
86
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
87
|
-
billing_country_code: Optional[str] = Field(
|
|
88
|
-
alias="billingCountryCode", default=None
|
|
89
|
-
)
|
|
90
|
-
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
91
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
92
|
-
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
93
|
-
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
class OveragePriceFragmentPrice(BaseModel):
|
|
97
|
-
amount: float
|
|
98
|
-
currency: Currency
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
102
|
-
pass
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
class OveragePriceFragmentFeature(BaseModel):
|
|
106
|
-
ref_id: str = Field(alias="refId")
|
|
107
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
108
|
-
feature_units_plural: Optional[str] = Field(
|
|
109
|
-
alias="featureUnitsPlural", default=None
|
|
110
|
-
)
|
|
111
|
-
display_name: str = Field(alias="displayName")
|
|
112
|
-
description: Optional[str] = Field(default=None)
|
|
113
|
-
|
|
114
|
-
|
|
115
63
|
class PackageEntitlementFragment(BaseModel):
|
|
116
64
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
117
65
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -146,6 +94,26 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
146
94
|
)
|
|
147
95
|
|
|
148
96
|
|
|
97
|
+
class PriceTierFragment(BaseModel):
|
|
98
|
+
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
99
|
+
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
100
|
+
alias="unitPrice", default=None
|
|
101
|
+
)
|
|
102
|
+
flat_price: Optional["PriceTierFragmentFlatPrice"] = Field(
|
|
103
|
+
alias="flatPrice", default=None
|
|
104
|
+
)
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
class PriceTierFragmentUnitPrice(BaseModel):
|
|
108
|
+
amount: float
|
|
109
|
+
currency: Currency
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
class PriceTierFragmentFlatPrice(BaseModel):
|
|
113
|
+
amount: float
|
|
114
|
+
currency: Currency
|
|
115
|
+
|
|
116
|
+
|
|
149
117
|
class PriceFragment(BaseModel):
|
|
150
118
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
151
119
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -182,6 +150,38 @@ class PriceFragmentFeature(BaseModel):
|
|
|
182
150
|
description: Optional[str] = Field(default=None)
|
|
183
151
|
|
|
184
152
|
|
|
153
|
+
class OveragePriceFragment(BaseModel):
|
|
154
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
155
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
156
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
157
|
+
billing_country_code: Optional[str] = Field(
|
|
158
|
+
alias="billingCountryCode", default=None
|
|
159
|
+
)
|
|
160
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
161
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
162
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
163
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
167
|
+
amount: float
|
|
168
|
+
currency: Currency
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
172
|
+
pass
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
176
|
+
ref_id: str = Field(alias="refId")
|
|
177
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
178
|
+
feature_units_plural: Optional[str] = Field(
|
|
179
|
+
alias="featureUnitsPlural", default=None
|
|
180
|
+
)
|
|
181
|
+
display_name: str = Field(alias="displayName")
|
|
182
|
+
description: Optional[str] = Field(default=None)
|
|
183
|
+
|
|
184
|
+
|
|
185
185
|
class AddonFragment(BaseModel):
|
|
186
186
|
id: Any
|
|
187
187
|
ref_id: str = Field(alias="refId")
|
|
@@ -220,170 +220,93 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
220
220
|
pass
|
|
221
221
|
|
|
222
222
|
|
|
223
|
-
class
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
)
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
alias="targetPackage", default=None
|
|
223
|
+
class FeatureFragment(BaseModel):
|
|
224
|
+
typename__: str = Field(alias="__typename")
|
|
225
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
226
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
227
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
228
|
+
feature_units_plural: Optional[str] = Field(
|
|
229
|
+
alias="featureUnitsPlural", default=None
|
|
231
230
|
)
|
|
232
|
-
|
|
233
|
-
Annotated[
|
|
234
|
-
Union[
|
|
235
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
236
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
237
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
238
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
239
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
240
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
241
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
242
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
243
|
-
],
|
|
244
|
-
Field(discriminator="typename__"),
|
|
245
|
-
]
|
|
246
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
250
|
-
id: Any
|
|
251
|
-
ref_id: str = Field(alias="refId")
|
|
231
|
+
description: Optional[str] = Field(default=None)
|
|
252
232
|
display_name: str = Field(alias="displayName")
|
|
233
|
+
ref_id: str = Field(alias="refId")
|
|
234
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
235
|
+
alias="unitTransformation", default=None
|
|
236
|
+
)
|
|
253
237
|
|
|
254
238
|
|
|
255
|
-
class
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
262
|
-
BaseModel
|
|
263
|
-
):
|
|
264
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
265
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
266
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
270
|
-
BaseModel
|
|
271
|
-
):
|
|
272
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
273
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
277
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
281
|
-
BaseModel
|
|
282
|
-
):
|
|
283
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
284
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
285
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
286
|
-
billable_features: Optional[
|
|
287
|
-
List[
|
|
288
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
289
|
-
]
|
|
290
|
-
] = Field(alias="billableFeatures", default=None)
|
|
291
|
-
addons: Optional[
|
|
292
|
-
List[
|
|
293
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
294
|
-
]
|
|
295
|
-
] = Field(default=None)
|
|
296
|
-
price_overrides: Optional[
|
|
297
|
-
List[
|
|
298
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
299
|
-
]
|
|
300
|
-
] = Field(alias="priceOverrides", default=None)
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
304
|
-
BaseModel
|
|
305
|
-
):
|
|
306
|
-
feature_id: str = Field(alias="featureId")
|
|
307
|
-
quantity: float
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
311
|
-
BaseModel
|
|
312
|
-
):
|
|
313
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
314
|
-
quantity: float
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
318
|
-
BaseModel
|
|
319
|
-
):
|
|
320
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
321
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
322
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
239
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
240
|
+
divide: float
|
|
241
|
+
round: UnitTransformationRound
|
|
323
242
|
|
|
324
243
|
|
|
325
|
-
class
|
|
326
|
-
typename__:
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
] = Field(default=None)
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
244
|
+
class EntitlementFragment(BaseModel):
|
|
245
|
+
typename__: str = Field(alias="__typename")
|
|
246
|
+
is_granted: bool = Field(alias="isGranted")
|
|
247
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
248
|
+
alias="accessDeniedReason", default=None
|
|
249
|
+
)
|
|
250
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
251
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
252
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
253
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
254
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
255
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
256
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
257
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
258
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
259
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
260
|
+
alias="entitlementUpdatedAt", default=None
|
|
261
|
+
)
|
|
262
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
263
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
264
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
265
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
266
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
267
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
268
|
+
alias="resetPeriod", default=None
|
|
269
|
+
)
|
|
270
|
+
reset_period_configuration: Optional[
|
|
271
|
+
Annotated[
|
|
272
|
+
Union[
|
|
273
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
274
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
275
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
276
|
+
],
|
|
277
|
+
Field(discriminator="typename__"),
|
|
343
278
|
]
|
|
344
|
-
] = Field(alias="
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
348
|
-
BaseModel
|
|
349
|
-
):
|
|
350
|
-
feature_id: str = Field(alias="featureId")
|
|
351
|
-
quantity: float
|
|
279
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
280
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
352
281
|
|
|
353
282
|
|
|
354
|
-
class
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
283
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
284
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
285
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
286
|
+
alias="monthlyAccordingTo", default=None
|
|
287
|
+
)
|
|
359
288
|
|
|
360
289
|
|
|
361
|
-
class
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
290
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
291
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
292
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
293
|
+
alias="weeklyAccordingTo", default=None
|
|
294
|
+
)
|
|
367
295
|
|
|
368
296
|
|
|
369
|
-
class
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
297
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
298
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
299
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
300
|
+
alias="yearlyAccordingTo", default=None
|
|
301
|
+
)
|
|
375
302
|
|
|
376
303
|
|
|
377
|
-
class
|
|
378
|
-
|
|
379
|
-
):
|
|
380
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
381
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
382
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
304
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
305
|
+
pass
|
|
383
306
|
|
|
384
307
|
|
|
385
|
-
class
|
|
386
|
-
|
|
308
|
+
class CustomerResourceFragment(BaseModel):
|
|
309
|
+
resource_id: str = Field(alias="resourceId")
|
|
387
310
|
|
|
388
311
|
|
|
389
312
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
@@ -540,22 +463,67 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
540
463
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
541
464
|
|
|
542
465
|
|
|
543
|
-
class
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
466
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
467
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
class SlimCustomerFragment(BaseModel):
|
|
471
|
+
id: Any
|
|
472
|
+
name: Optional[str] = Field(default=None)
|
|
473
|
+
email: Optional[str] = Field(default=None)
|
|
474
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
475
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
476
|
+
ref_id: str = Field(alias="refId")
|
|
477
|
+
customer_id: str = Field(alias="customerId")
|
|
478
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
479
|
+
additional_meta_data: Optional[Any] = Field(
|
|
480
|
+
alias="additionalMetaData", default=None
|
|
481
|
+
)
|
|
482
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
483
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
548
484
|
)
|
|
549
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
550
485
|
|
|
551
486
|
|
|
552
|
-
class
|
|
553
|
-
|
|
487
|
+
class TotalPriceFragment(BaseModel):
|
|
488
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
489
|
+
total: "TotalPriceFragmentTotal"
|
|
554
490
|
|
|
555
491
|
|
|
556
|
-
class
|
|
557
|
-
|
|
558
|
-
|
|
492
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
493
|
+
amount: float
|
|
494
|
+
currency: Currency
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
498
|
+
amount: float
|
|
499
|
+
currency: Currency
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
503
|
+
billing_id: str = Field(alias="billingId")
|
|
504
|
+
status: SubscriptionInvoiceStatus
|
|
505
|
+
created_at: Any = Field(alias="createdAt")
|
|
506
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
507
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
508
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
509
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
510
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
511
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
512
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
513
|
+
alias="billingReason", default=None
|
|
514
|
+
)
|
|
515
|
+
currency: Optional[str] = Field(default=None)
|
|
516
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
517
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
518
|
+
alias="subTotalExcludingTax", default=None
|
|
519
|
+
)
|
|
520
|
+
total: Optional[float] = Field(default=None)
|
|
521
|
+
total_excluding_tax: Optional[float] = Field(
|
|
522
|
+
alias="totalExcludingTax", default=None
|
|
523
|
+
)
|
|
524
|
+
tax: Optional[float] = Field(default=None)
|
|
525
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
526
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
559
527
|
|
|
560
528
|
|
|
561
529
|
class ProductFragment(BaseModel):
|
|
@@ -579,6 +547,24 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
|
579
547
|
display_name: str = Field(alias="displayName")
|
|
580
548
|
|
|
581
549
|
|
|
550
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
551
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
552
|
+
display_name: str = Field(alias="displayName")
|
|
553
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
554
|
+
default=None
|
|
555
|
+
)
|
|
556
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
560
|
+
pass
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
564
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
565
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
566
|
+
|
|
567
|
+
|
|
582
568
|
class PlanFragment(BaseModel):
|
|
583
569
|
id: Any
|
|
584
570
|
ref_id: str = Field(alias="refId")
|
|
@@ -660,67 +646,166 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
660
646
|
limit: float
|
|
661
647
|
|
|
662
648
|
|
|
663
|
-
class
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
email: Optional[str] = Field(default=None)
|
|
667
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
668
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
669
|
-
ref_id: str = Field(alias="refId")
|
|
670
|
-
customer_id: str = Field(alias="customerId")
|
|
671
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
672
|
-
additional_meta_data: Optional[Any] = Field(
|
|
673
|
-
alias="additionalMetaData", default=None
|
|
649
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
650
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
651
|
+
alias="subscriptionScheduleType"
|
|
674
652
|
)
|
|
675
|
-
|
|
676
|
-
|
|
653
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
654
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
655
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
656
|
+
alias="targetPackage", default=None
|
|
677
657
|
)
|
|
658
|
+
schedule_variables: Optional[
|
|
659
|
+
Annotated[
|
|
660
|
+
Union[
|
|
661
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
662
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
663
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
664
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
665
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
666
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
667
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
668
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
669
|
+
],
|
|
670
|
+
Field(discriminator="typename__"),
|
|
671
|
+
]
|
|
672
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
678
673
|
|
|
679
674
|
|
|
680
|
-
class
|
|
681
|
-
|
|
675
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
676
|
+
id: Any
|
|
677
|
+
ref_id: str = Field(alias="refId")
|
|
678
|
+
display_name: str = Field(alias="displayName")
|
|
682
679
|
|
|
683
680
|
|
|
684
|
-
class
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
)
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
681
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
682
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
683
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
684
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
688
|
+
BaseModel
|
|
689
|
+
):
|
|
690
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
691
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
692
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
696
|
+
BaseModel
|
|
697
|
+
):
|
|
698
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
699
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
703
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
707
|
+
BaseModel
|
|
708
|
+
):
|
|
709
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
710
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
711
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
712
|
+
billable_features: Optional[
|
|
713
|
+
List[
|
|
714
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
715
|
+
]
|
|
716
|
+
] = Field(alias="billableFeatures", default=None)
|
|
717
|
+
addons: Optional[
|
|
718
|
+
List[
|
|
719
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
720
|
+
]
|
|
721
|
+
] = Field(default=None)
|
|
722
|
+
price_overrides: Optional[
|
|
723
|
+
List[
|
|
724
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
725
|
+
]
|
|
726
|
+
] = Field(alias="priceOverrides", default=None)
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
730
|
+
BaseModel
|
|
731
|
+
):
|
|
732
|
+
feature_id: str = Field(alias="featureId")
|
|
733
|
+
quantity: float
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
737
|
+
BaseModel
|
|
738
|
+
):
|
|
739
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
740
|
+
quantity: float
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
744
|
+
BaseModel
|
|
745
|
+
):
|
|
746
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
747
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
748
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
752
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
753
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
754
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
755
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
756
|
+
billable_features: Optional[
|
|
757
|
+
List[
|
|
758
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
759
|
+
]
|
|
760
|
+
] = Field(alias="billableFeatures", default=None)
|
|
761
|
+
addons: Optional[
|
|
762
|
+
List[
|
|
763
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
764
|
+
]
|
|
765
|
+
] = Field(default=None)
|
|
766
|
+
price_overrides: Optional[
|
|
767
|
+
List[
|
|
768
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
769
|
+
]
|
|
770
|
+
] = Field(alias="priceOverrides", default=None)
|
|
709
771
|
|
|
710
772
|
|
|
711
|
-
class
|
|
712
|
-
|
|
713
|
-
|
|
773
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
774
|
+
BaseModel
|
|
775
|
+
):
|
|
776
|
+
feature_id: str = Field(alias="featureId")
|
|
777
|
+
quantity: float
|
|
714
778
|
|
|
715
779
|
|
|
716
|
-
class
|
|
717
|
-
|
|
718
|
-
|
|
780
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
781
|
+
BaseModel
|
|
782
|
+
):
|
|
783
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
784
|
+
quantity: float
|
|
719
785
|
|
|
720
786
|
|
|
721
|
-
class
|
|
722
|
-
|
|
723
|
-
|
|
787
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
788
|
+
BaseModel
|
|
789
|
+
):
|
|
790
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
791
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
792
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
796
|
+
BaseModel
|
|
797
|
+
):
|
|
798
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
799
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
800
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
804
|
+
BaseModel
|
|
805
|
+
):
|
|
806
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
807
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
808
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
724
809
|
|
|
725
810
|
|
|
726
811
|
class SubscriptionFragment(BaseModel):
|
|
@@ -832,91 +917,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
832
917
|
pass
|
|
833
918
|
|
|
834
919
|
|
|
835
|
-
class FeatureFragment(BaseModel):
|
|
836
|
-
typename__: str = Field(alias="__typename")
|
|
837
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
838
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
839
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
840
|
-
feature_units_plural: Optional[str] = Field(
|
|
841
|
-
alias="featureUnitsPlural", default=None
|
|
842
|
-
)
|
|
843
|
-
description: Optional[str] = Field(default=None)
|
|
844
|
-
display_name: str = Field(alias="displayName")
|
|
845
|
-
ref_id: str = Field(alias="refId")
|
|
846
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
847
|
-
alias="unitTransformation", default=None
|
|
848
|
-
)
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
852
|
-
divide: float
|
|
853
|
-
round: UnitTransformationRound
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
class EntitlementFragment(BaseModel):
|
|
857
|
-
typename__: str = Field(alias="__typename")
|
|
858
|
-
is_granted: bool = Field(alias="isGranted")
|
|
859
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
860
|
-
alias="accessDeniedReason", default=None
|
|
861
|
-
)
|
|
862
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
863
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
864
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
865
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
866
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
867
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
868
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
869
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
870
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
871
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
872
|
-
alias="entitlementUpdatedAt", default=None
|
|
873
|
-
)
|
|
874
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
875
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
876
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
877
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
878
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
879
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
880
|
-
alias="resetPeriod", default=None
|
|
881
|
-
)
|
|
882
|
-
reset_period_configuration: Optional[
|
|
883
|
-
Annotated[
|
|
884
|
-
Union[
|
|
885
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
886
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
887
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
888
|
-
],
|
|
889
|
-
Field(discriminator="typename__"),
|
|
890
|
-
]
|
|
891
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
892
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
896
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
897
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
898
|
-
alias="monthlyAccordingTo", default=None
|
|
899
|
-
)
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
903
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
904
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
905
|
-
alias="weeklyAccordingTo", default=None
|
|
906
|
-
)
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
910
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
911
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
912
|
-
alias="yearlyAccordingTo", default=None
|
|
913
|
-
)
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
917
|
-
pass
|
|
918
|
-
|
|
919
|
-
|
|
920
920
|
class ApplySubscriptionFragment(BaseModel):
|
|
921
921
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
922
922
|
default=None
|
|
@@ -1263,23 +1263,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1263
1263
|
pass
|
|
1264
1264
|
|
|
1265
1265
|
|
|
1266
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1267
|
-
display_name: str = Field(alias="displayName")
|
|
1268
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1269
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1270
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1271
|
-
period: PromotionalEntitlementPeriod
|
|
1272
|
-
start_date: Any = Field(alias="startDate")
|
|
1273
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1277
|
-
addon_id: str = Field(alias="addonId")
|
|
1278
|
-
description: Optional[str] = Field(default=None)
|
|
1279
|
-
display_name: str = Field(alias="displayName")
|
|
1280
|
-
quantity: int
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
1266
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1284
1267
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1285
1268
|
alias="subscriptionScheduleType"
|
|
@@ -1476,6 +1459,13 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1476
1459
|
)
|
|
1477
1460
|
|
|
1478
1461
|
|
|
1462
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1463
|
+
addon_id: str = Field(alias="addonId")
|
|
1464
|
+
description: Optional[str] = Field(default=None)
|
|
1465
|
+
display_name: str = Field(alias="displayName")
|
|
1466
|
+
quantity: int
|
|
1467
|
+
|
|
1468
|
+
|
|
1479
1469
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1480
1470
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1481
1471
|
plan_id: str = Field(alias="planId")
|
|
@@ -1572,6 +1562,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1572
1562
|
pass
|
|
1573
1563
|
|
|
1574
1564
|
|
|
1565
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1566
|
+
display_name: str = Field(alias="displayName")
|
|
1567
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1568
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1569
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1570
|
+
period: PromotionalEntitlementPeriod
|
|
1571
|
+
start_date: Any = Field(alias="startDate")
|
|
1572
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1573
|
+
|
|
1574
|
+
|
|
1575
1575
|
class CustomerPortalFragment(BaseModel):
|
|
1576
1576
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1577
1577
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1799,40 +1799,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1799
1799
|
description: Optional[str] = Field(default=None)
|
|
1800
1800
|
|
|
1801
1801
|
|
|
1802
|
-
class MockPaywallPriceFragment(BaseModel):
|
|
1803
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
1804
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
1805
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
1806
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
1807
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
1808
|
-
billing_country_code: Optional[str] = Field(
|
|
1809
|
-
alias="billingCountryCode", default=None
|
|
1810
|
-
)
|
|
1811
|
-
price: Optional["MockPaywallPriceFragmentPrice"] = Field(default=None)
|
|
1812
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
1813
|
-
tiers: Optional[List["MockPaywallPriceFragmentTiers"]] = Field(default=None)
|
|
1814
|
-
feature: Optional["MockPaywallPriceFragmentFeature"] = Field(default=None)
|
|
1815
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
class MockPaywallPriceFragmentPrice(BaseModel):
|
|
1819
|
-
amount: float
|
|
1820
|
-
currency: Currency
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
class MockPaywallPriceFragmentTiers(PriceTierFragment):
|
|
1824
|
-
pass
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
class MockPaywallPriceFragmentFeature(BaseModel):
|
|
1828
|
-
ref_id: str = Field(alias="refId")
|
|
1829
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1830
|
-
feature_units_plural: Optional[str] = Field(
|
|
1831
|
-
alias="featureUnitsPlural", default=None
|
|
1832
|
-
)
|
|
1833
|
-
display_name: str = Field(alias="displayName")
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
1802
|
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1837
1803
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1838
1804
|
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
@@ -1867,6 +1833,40 @@ class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
|
1867
1833
|
)
|
|
1868
1834
|
|
|
1869
1835
|
|
|
1836
|
+
class MockPaywallPriceFragment(BaseModel):
|
|
1837
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
1838
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
1839
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
1840
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
1841
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
1842
|
+
billing_country_code: Optional[str] = Field(
|
|
1843
|
+
alias="billingCountryCode", default=None
|
|
1844
|
+
)
|
|
1845
|
+
price: Optional["MockPaywallPriceFragmentPrice"] = Field(default=None)
|
|
1846
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
1847
|
+
tiers: Optional[List["MockPaywallPriceFragmentTiers"]] = Field(default=None)
|
|
1848
|
+
feature: Optional["MockPaywallPriceFragmentFeature"] = Field(default=None)
|
|
1849
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1850
|
+
|
|
1851
|
+
|
|
1852
|
+
class MockPaywallPriceFragmentPrice(BaseModel):
|
|
1853
|
+
amount: float
|
|
1854
|
+
currency: Currency
|
|
1855
|
+
|
|
1856
|
+
|
|
1857
|
+
class MockPaywallPriceFragmentTiers(PriceTierFragment):
|
|
1858
|
+
pass
|
|
1859
|
+
|
|
1860
|
+
|
|
1861
|
+
class MockPaywallPriceFragmentFeature(BaseModel):
|
|
1862
|
+
ref_id: str = Field(alias="refId")
|
|
1863
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1864
|
+
feature_units_plural: Optional[str] = Field(
|
|
1865
|
+
alias="featureUnitsPlural", default=None
|
|
1866
|
+
)
|
|
1867
|
+
display_name: str = Field(alias="displayName")
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
1870
|
class MockPaywallAddonFragment(BaseModel):
|
|
1871
1871
|
ref_id: str = Field(alias="refId")
|
|
1872
1872
|
display_name: str = Field(alias="displayName")
|
|
@@ -2840,24 +2840,24 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2840
2840
|
|
|
2841
2841
|
|
|
2842
2842
|
AddonDependencyFragment.model_rebuild()
|
|
2843
|
-
PriceTierFragment.model_rebuild()
|
|
2844
|
-
OveragePriceFragment.model_rebuild()
|
|
2845
2843
|
PackageEntitlementFragment.model_rebuild()
|
|
2844
|
+
PriceTierFragment.model_rebuild()
|
|
2846
2845
|
PriceFragment.model_rebuild()
|
|
2846
|
+
OveragePriceFragment.model_rebuild()
|
|
2847
2847
|
AddonFragment.model_rebuild()
|
|
2848
|
-
|
|
2849
|
-
|
|
2848
|
+
FeatureFragment.model_rebuild()
|
|
2849
|
+
EntitlementFragment.model_rebuild()
|
|
2850
|
+
CustomerResourceFragment.model_rebuild()
|
|
2850
2851
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2851
|
-
|
|
2852
|
-
ProductFragment.model_rebuild()
|
|
2853
|
-
PlanFragment.model_rebuild()
|
|
2852
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2854
2853
|
SlimCustomerFragment.model_rebuild()
|
|
2855
|
-
CustomerResourceFragment.model_rebuild()
|
|
2856
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2857
2854
|
TotalPriceFragment.model_rebuild()
|
|
2855
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2856
|
+
ProductFragment.model_rebuild()
|
|
2857
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2858
|
+
PlanFragment.model_rebuild()
|
|
2859
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2858
2860
|
SubscriptionFragment.model_rebuild()
|
|
2859
|
-
FeatureFragment.model_rebuild()
|
|
2860
|
-
EntitlementFragment.model_rebuild()
|
|
2861
2861
|
ApplySubscriptionFragment.model_rebuild()
|
|
2862
2862
|
FontVariantFragment.model_rebuild()
|
|
2863
2863
|
TypographyConfigurationFragment.model_rebuild()
|
|
@@ -2869,11 +2869,11 @@ CheckoutStateFragment.model_rebuild()
|
|
|
2869
2869
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2870
2870
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2871
2871
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2872
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2873
|
-
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2874
2872
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2875
2873
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2874
|
+
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2876
2875
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2876
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2877
2877
|
CustomerPortalFragment.model_rebuild()
|
|
2878
2878
|
CustomerStatisticsFragment.model_rebuild()
|
|
2879
2879
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2883,8 +2883,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2883
2883
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2884
2884
|
LayoutConfigurationFragment.model_rebuild()
|
|
2885
2885
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2886
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2887
2886
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2887
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2888
2888
|
MockPaywallAddonFragment.model_rebuild()
|
|
2889
2889
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2890
2890
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -1824,6 +1824,11 @@ class FeatureFilter(BaseModel):
|
|
|
1824
1824
|
updated_at: Optional["DateFieldComparison"] = Field(alias="updatedAt", default=None)
|
|
1825
1825
|
|
|
1826
1826
|
|
|
1827
|
+
class FeatureGroupAssociatedLatestPackagesInput(BaseModel):
|
|
1828
|
+
environment_id: Any = Field(alias="environmentId")
|
|
1829
|
+
feature_group_id: str = Field(alias="featureGroupId")
|
|
1830
|
+
|
|
1831
|
+
|
|
1827
1832
|
class FeatureGroupFilter(BaseModel):
|
|
1828
1833
|
and_: Optional[List["FeatureGroupFilter"]] = Field(alias="and", default=None)
|
|
1829
1834
|
created_at: Optional["DateFieldComparison"] = Field(alias="createdAt", default=None)
|
|
@@ -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=SVic46bIc6J3pGWbOaqXhYMprf2207euBM7GwGG0eVs,72101
|
|
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=tGqbCewOFV2YP6igue7hQZghW3XraHyV0OXcoKfsssE,173
|
|
|
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=Q8Po8_Wmdxjpc5xevWh2mBx2SoemvHwq5jGyLn8QwUg,37296
|
|
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=BMerVjbWD0C5IWBmOlRAoFzIA0SxBv-KgRuxWJ-xvDM,103850
|
|
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
|
|
@@ -145,7 +145,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
145
145
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
146
146
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
147
147
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
148
|
-
stigg/generated/input_types.py,sha256=
|
|
148
|
+
stigg/generated/input_types.py,sha256=46CdGONrlbMBhpQcZ5cTz__QPLqdKKGsgX3p7ybMB0A,204075
|
|
149
149
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
150
150
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
151
151
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -161,7 +161,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
161
161
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
162
162
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
163
163
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
164
|
-
stigg_api_client_v2-
|
|
165
|
-
stigg_api_client_v2-
|
|
166
|
-
stigg_api_client_v2-
|
|
167
|
-
stigg_api_client_v2-
|
|
164
|
+
stigg_api_client_v2-3.3.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-3.3.0.dist-info/METADATA,sha256=_Or0HAmsACuMfRjHD2-v-fCbkpFohwFyQbHchubOINY,2256
|
|
166
|
+
stigg_api_client_v2-3.3.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-3.3.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|