stigg-api-client-v2 3.38.0__py3-none-any.whl → 3.39.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/enums.py +1 -0
- stigg/generated/fragments.py +381 -381
- {stigg_api_client_v2-3.38.0.dist-info → stigg_api_client_v2-3.39.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.38.0.dist-info → stigg_api_client_v2-3.39.0.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-3.38.0.dist-info → stigg_api_client_v2-3.39.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.38.0.dist-info → stigg_api_client_v2-3.39.0.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -11,6 +11,7 @@ class AccessDeniedReason(str, Enum):
|
|
|
11
11
|
CustomerResourceNotFound = "CustomerResourceNotFound"
|
|
12
12
|
FeatureNotFound = "FeatureNotFound"
|
|
13
13
|
FeatureTypeMismatch = "FeatureTypeMismatch"
|
|
14
|
+
InsufficientCredits = "InsufficientCredits"
|
|
14
15
|
NoActiveSubscription = "NoActiveSubscription"
|
|
15
16
|
NoFeatureEntitlementInSubscription = "NoFeatureEntitlementInSubscription"
|
|
16
17
|
RequestedUsageExceedingLimit = "RequestedUsageExceedingLimit"
|
stigg/generated/fragments.py
CHANGED
|
@@ -61,40 +61,6 @@ class AddonDependencyFragment(BaseModel):
|
|
|
61
61
|
description: Optional[str] = Field(default=None)
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
class PackageEntitlementFragment(BaseModel):
|
|
65
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
66
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
67
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
68
|
-
feature_id: str = Field(alias="featureId")
|
|
69
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
70
|
-
alias="resetPeriod", default=None
|
|
71
|
-
)
|
|
72
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
73
|
-
alias="hiddenFromWidgets", default=None
|
|
74
|
-
)
|
|
75
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
76
|
-
display_name_override: Optional[str] = Field(
|
|
77
|
-
alias="displayNameOverride", default=None
|
|
78
|
-
)
|
|
79
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
80
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
84
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
85
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
86
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
87
|
-
feature_units_plural: Optional[str] = Field(
|
|
88
|
-
alias="featureUnitsPlural", default=None
|
|
89
|
-
)
|
|
90
|
-
display_name: str = Field(alias="displayName")
|
|
91
|
-
description: Optional[str] = Field(default=None)
|
|
92
|
-
ref_id: str = Field(alias="refId")
|
|
93
|
-
additional_meta_data: Optional[Any] = Field(
|
|
94
|
-
alias="additionalMetaData", default=None
|
|
95
|
-
)
|
|
96
|
-
|
|
97
|
-
|
|
98
64
|
class PriceTierFragment(BaseModel):
|
|
99
65
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
100
66
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -191,6 +157,40 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
191
157
|
description: Optional[str] = Field(default=None)
|
|
192
158
|
|
|
193
159
|
|
|
160
|
+
class PackageEntitlementFragment(BaseModel):
|
|
161
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
162
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
163
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
164
|
+
feature_id: str = Field(alias="featureId")
|
|
165
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
166
|
+
alias="resetPeriod", default=None
|
|
167
|
+
)
|
|
168
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
169
|
+
alias="hiddenFromWidgets", default=None
|
|
170
|
+
)
|
|
171
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
172
|
+
display_name_override: Optional[str] = Field(
|
|
173
|
+
alias="displayNameOverride", default=None
|
|
174
|
+
)
|
|
175
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
176
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
180
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
181
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
182
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
183
|
+
feature_units_plural: Optional[str] = Field(
|
|
184
|
+
alias="featureUnitsPlural", default=None
|
|
185
|
+
)
|
|
186
|
+
display_name: str = Field(alias="displayName")
|
|
187
|
+
description: Optional[str] = Field(default=None)
|
|
188
|
+
ref_id: str = Field(alias="refId")
|
|
189
|
+
additional_meta_data: Optional[Any] = Field(
|
|
190
|
+
alias="additionalMetaData", default=None
|
|
191
|
+
)
|
|
192
|
+
|
|
193
|
+
|
|
194
194
|
class AddonFragment(BaseModel):
|
|
195
195
|
id: Any
|
|
196
196
|
ref_id: str = Field(alias="refId")
|
|
@@ -229,170 +229,104 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
229
229
|
pass
|
|
230
230
|
|
|
231
231
|
|
|
232
|
-
class
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
)
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
alias="targetPackage", default=None
|
|
232
|
+
class FeatureFragment(BaseModel):
|
|
233
|
+
typename__: str = Field(alias="__typename")
|
|
234
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
235
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
236
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
237
|
+
feature_units_plural: Optional[str] = Field(
|
|
238
|
+
alias="featureUnitsPlural", default=None
|
|
240
239
|
)
|
|
241
|
-
|
|
242
|
-
Annotated[
|
|
243
|
-
Union[
|
|
244
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
245
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
246
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
247
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
248
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
249
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
250
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
251
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
252
|
-
],
|
|
253
|
-
Field(discriminator="typename__"),
|
|
254
|
-
]
|
|
255
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
259
|
-
id: Any
|
|
260
|
-
ref_id: str = Field(alias="refId")
|
|
240
|
+
description: Optional[str] = Field(default=None)
|
|
261
241
|
display_name: str = Field(alias="displayName")
|
|
242
|
+
ref_id: str = Field(alias="refId")
|
|
243
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
244
|
+
alias="unitTransformation", default=None
|
|
245
|
+
)
|
|
262
246
|
|
|
263
247
|
|
|
264
|
-
class
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
271
|
-
BaseModel
|
|
272
|
-
):
|
|
273
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
274
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
275
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
279
|
-
BaseModel
|
|
280
|
-
):
|
|
281
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
282
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
286
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
248
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
249
|
+
divide: float
|
|
250
|
+
round: UnitTransformationRound
|
|
287
251
|
|
|
288
252
|
|
|
289
|
-
class
|
|
290
|
-
|
|
291
|
-
)
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
] = Field(alias="
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
] = Field(
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
253
|
+
class EntitlementFragment(BaseModel):
|
|
254
|
+
typename__: str = Field(alias="__typename")
|
|
255
|
+
is_granted: bool = Field(alias="isGranted")
|
|
256
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
257
|
+
alias="accessDeniedReason", default=None
|
|
258
|
+
)
|
|
259
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
260
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
261
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
262
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
263
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
264
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
265
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
266
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
267
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
268
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
269
|
+
alias="entitlementUpdatedAt", default=None
|
|
270
|
+
)
|
|
271
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
272
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
273
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
274
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
275
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
276
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
277
|
+
alias="resetPeriod", default=None
|
|
278
|
+
)
|
|
279
|
+
reset_period_configuration: Optional[
|
|
280
|
+
Annotated[
|
|
281
|
+
Union[
|
|
282
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
283
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
284
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
285
|
+
],
|
|
286
|
+
Field(discriminator="typename__"),
|
|
308
287
|
]
|
|
309
|
-
] = Field(alias="
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
313
|
-
BaseModel
|
|
314
|
-
):
|
|
315
|
-
feature_id: str = Field(alias="featureId")
|
|
316
|
-
quantity: float
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
320
|
-
BaseModel
|
|
321
|
-
):
|
|
322
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
323
|
-
quantity: float
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
327
|
-
BaseModel
|
|
328
|
-
):
|
|
329
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
330
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
331
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
288
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
289
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
332
290
|
|
|
333
291
|
|
|
334
|
-
class
|
|
335
|
-
typename__: Literal["
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
billable_features: Optional[
|
|
340
|
-
List[
|
|
341
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
342
|
-
]
|
|
343
|
-
] = Field(alias="billableFeatures", default=None)
|
|
344
|
-
addons: Optional[
|
|
345
|
-
List[
|
|
346
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
347
|
-
]
|
|
348
|
-
] = Field(default=None)
|
|
349
|
-
price_overrides: Optional[
|
|
350
|
-
List[
|
|
351
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
352
|
-
]
|
|
353
|
-
] = Field(alias="priceOverrides", default=None)
|
|
292
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
293
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
294
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
295
|
+
alias="monthlyAccordingTo", default=None
|
|
296
|
+
)
|
|
354
297
|
|
|
355
298
|
|
|
356
|
-
class
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
299
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
300
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
301
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
302
|
+
alias="weeklyAccordingTo", default=None
|
|
303
|
+
)
|
|
361
304
|
|
|
362
305
|
|
|
363
|
-
class
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
306
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
307
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
308
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
309
|
+
alias="yearlyAccordingTo", default=None
|
|
310
|
+
)
|
|
368
311
|
|
|
369
312
|
|
|
370
|
-
class
|
|
371
|
-
|
|
372
|
-
):
|
|
373
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
374
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
375
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
313
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
314
|
+
pass
|
|
376
315
|
|
|
377
316
|
|
|
378
|
-
class
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
382
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
383
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
317
|
+
class TotalPriceFragment(BaseModel):
|
|
318
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
319
|
+
total: "TotalPriceFragmentTotal"
|
|
384
320
|
|
|
385
321
|
|
|
386
|
-
class
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
390
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
391
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
322
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
323
|
+
amount: float
|
|
324
|
+
currency: Currency
|
|
392
325
|
|
|
393
326
|
|
|
394
|
-
class
|
|
395
|
-
|
|
327
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
328
|
+
amount: float
|
|
329
|
+
currency: Currency
|
|
396
330
|
|
|
397
331
|
|
|
398
332
|
class SlimCustomerFragment(BaseModel):
|
|
@@ -412,6 +346,38 @@ class SlimCustomerFragment(BaseModel):
|
|
|
412
346
|
)
|
|
413
347
|
|
|
414
348
|
|
|
349
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
350
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
354
|
+
billing_id: str = Field(alias="billingId")
|
|
355
|
+
status: SubscriptionInvoiceStatus
|
|
356
|
+
created_at: Any = Field(alias="createdAt")
|
|
357
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
358
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
359
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
360
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
361
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
362
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
363
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
364
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
365
|
+
alias="billingReason", default=None
|
|
366
|
+
)
|
|
367
|
+
currency: Optional[str] = Field(default=None)
|
|
368
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
369
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
370
|
+
alias="subTotalExcludingTax", default=None
|
|
371
|
+
)
|
|
372
|
+
total: Optional[float] = Field(default=None)
|
|
373
|
+
total_excluding_tax: Optional[float] = Field(
|
|
374
|
+
alias="totalExcludingTax", default=None
|
|
375
|
+
)
|
|
376
|
+
tax: Optional[float] = Field(default=None)
|
|
377
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
378
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
379
|
+
|
|
380
|
+
|
|
415
381
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
416
382
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
417
383
|
alias="subscriptionScheduleType"
|
|
@@ -566,38 +532,6 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
566
532
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
567
533
|
|
|
568
534
|
|
|
569
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
570
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
574
|
-
billing_id: str = Field(alias="billingId")
|
|
575
|
-
status: SubscriptionInvoiceStatus
|
|
576
|
-
created_at: Any = Field(alias="createdAt")
|
|
577
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
578
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
579
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
580
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
581
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
582
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
583
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
584
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
585
|
-
alias="billingReason", default=None
|
|
586
|
-
)
|
|
587
|
-
currency: Optional[str] = Field(default=None)
|
|
588
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
589
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
590
|
-
alias="subTotalExcludingTax", default=None
|
|
591
|
-
)
|
|
592
|
-
total: Optional[float] = Field(default=None)
|
|
593
|
-
total_excluding_tax: Optional[float] = Field(
|
|
594
|
-
alias="totalExcludingTax", default=None
|
|
595
|
-
)
|
|
596
|
-
tax: Optional[float] = Field(default=None)
|
|
597
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
598
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
599
|
-
|
|
600
|
-
|
|
601
535
|
class ProductFragment(BaseModel):
|
|
602
536
|
ref_id: str = Field(alias="refId")
|
|
603
537
|
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
@@ -718,19 +652,170 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
718
652
|
limit: float
|
|
719
653
|
|
|
720
654
|
|
|
721
|
-
class
|
|
722
|
-
|
|
723
|
-
|
|
655
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
656
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
657
|
+
alias="subscriptionScheduleType"
|
|
658
|
+
)
|
|
659
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
660
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
661
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
662
|
+
alias="targetPackage", default=None
|
|
663
|
+
)
|
|
664
|
+
schedule_variables: Optional[
|
|
665
|
+
Annotated[
|
|
666
|
+
Union[
|
|
667
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
668
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
669
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
670
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
671
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
672
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
673
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
674
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
675
|
+
],
|
|
676
|
+
Field(discriminator="typename__"),
|
|
677
|
+
]
|
|
678
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
682
|
+
id: Any
|
|
683
|
+
ref_id: str = Field(alias="refId")
|
|
684
|
+
display_name: str = Field(alias="displayName")
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
688
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
689
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
690
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
694
|
+
BaseModel
|
|
695
|
+
):
|
|
696
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
697
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
698
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
702
|
+
BaseModel
|
|
703
|
+
):
|
|
704
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
705
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
709
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
713
|
+
BaseModel
|
|
714
|
+
):
|
|
715
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
716
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
717
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
718
|
+
billable_features: Optional[
|
|
719
|
+
List[
|
|
720
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
721
|
+
]
|
|
722
|
+
] = Field(alias="billableFeatures", default=None)
|
|
723
|
+
addons: Optional[
|
|
724
|
+
List[
|
|
725
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
726
|
+
]
|
|
727
|
+
] = Field(default=None)
|
|
728
|
+
price_overrides: Optional[
|
|
729
|
+
List[
|
|
730
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
731
|
+
]
|
|
732
|
+
] = Field(alias="priceOverrides", default=None)
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
736
|
+
BaseModel
|
|
737
|
+
):
|
|
738
|
+
feature_id: str = Field(alias="featureId")
|
|
739
|
+
quantity: float
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
743
|
+
BaseModel
|
|
744
|
+
):
|
|
745
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
746
|
+
quantity: float
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
750
|
+
BaseModel
|
|
751
|
+
):
|
|
752
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
753
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
754
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
758
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
759
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
760
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
761
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
762
|
+
billable_features: Optional[
|
|
763
|
+
List[
|
|
764
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
765
|
+
]
|
|
766
|
+
] = Field(alias="billableFeatures", default=None)
|
|
767
|
+
addons: Optional[
|
|
768
|
+
List[
|
|
769
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
770
|
+
]
|
|
771
|
+
] = Field(default=None)
|
|
772
|
+
price_overrides: Optional[
|
|
773
|
+
List[
|
|
774
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
775
|
+
]
|
|
776
|
+
] = Field(alias="priceOverrides", default=None)
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
780
|
+
BaseModel
|
|
781
|
+
):
|
|
782
|
+
feature_id: str = Field(alias="featureId")
|
|
783
|
+
quantity: float
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
787
|
+
BaseModel
|
|
788
|
+
):
|
|
789
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
790
|
+
quantity: float
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
794
|
+
BaseModel
|
|
795
|
+
):
|
|
796
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
797
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
798
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
802
|
+
BaseModel
|
|
803
|
+
):
|
|
804
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
805
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
806
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
724
807
|
|
|
725
808
|
|
|
726
|
-
class
|
|
727
|
-
|
|
728
|
-
|
|
809
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
810
|
+
BaseModel
|
|
811
|
+
):
|
|
812
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
813
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
814
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
729
815
|
|
|
730
816
|
|
|
731
|
-
class
|
|
732
|
-
|
|
733
|
-
currency: Currency
|
|
817
|
+
class CustomerResourceFragment(BaseModel):
|
|
818
|
+
resource_id: str = Field(alias="resourceId")
|
|
734
819
|
|
|
735
820
|
|
|
736
821
|
class SubscriptionFragment(BaseModel):
|
|
@@ -842,91 +927,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
842
927
|
pass
|
|
843
928
|
|
|
844
929
|
|
|
845
|
-
class FeatureFragment(BaseModel):
|
|
846
|
-
typename__: str = Field(alias="__typename")
|
|
847
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
848
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
849
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
850
|
-
feature_units_plural: Optional[str] = Field(
|
|
851
|
-
alias="featureUnitsPlural", default=None
|
|
852
|
-
)
|
|
853
|
-
description: Optional[str] = Field(default=None)
|
|
854
|
-
display_name: str = Field(alias="displayName")
|
|
855
|
-
ref_id: str = Field(alias="refId")
|
|
856
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
857
|
-
alias="unitTransformation", default=None
|
|
858
|
-
)
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
862
|
-
divide: float
|
|
863
|
-
round: UnitTransformationRound
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
class EntitlementFragment(BaseModel):
|
|
867
|
-
typename__: str = Field(alias="__typename")
|
|
868
|
-
is_granted: bool = Field(alias="isGranted")
|
|
869
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
870
|
-
alias="accessDeniedReason", default=None
|
|
871
|
-
)
|
|
872
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
873
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
874
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
875
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
876
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
877
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
878
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
879
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
880
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
881
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
882
|
-
alias="entitlementUpdatedAt", default=None
|
|
883
|
-
)
|
|
884
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
885
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
886
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
887
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
888
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
889
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
890
|
-
alias="resetPeriod", default=None
|
|
891
|
-
)
|
|
892
|
-
reset_period_configuration: Optional[
|
|
893
|
-
Annotated[
|
|
894
|
-
Union[
|
|
895
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
896
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
897
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
898
|
-
],
|
|
899
|
-
Field(discriminator="typename__"),
|
|
900
|
-
]
|
|
901
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
902
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
906
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
907
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
908
|
-
alias="monthlyAccordingTo", default=None
|
|
909
|
-
)
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
913
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
914
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
915
|
-
alias="weeklyAccordingTo", default=None
|
|
916
|
-
)
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
920
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
921
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
922
|
-
alias="yearlyAccordingTo", default=None
|
|
923
|
-
)
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
927
|
-
pass
|
|
928
|
-
|
|
929
|
-
|
|
930
930
|
class ApplySubscriptionFragment(BaseModel):
|
|
931
931
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
932
932
|
default=None
|
|
@@ -1327,41 +1327,6 @@ class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
|
1327
1327
|
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1328
1328
|
|
|
1329
1329
|
|
|
1330
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1331
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1332
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1333
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1334
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1335
|
-
default=None
|
|
1336
|
-
)
|
|
1337
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1338
|
-
alias="creditRate", default=None
|
|
1339
|
-
)
|
|
1340
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1341
|
-
default=None
|
|
1342
|
-
)
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1346
|
-
amount: float
|
|
1347
|
-
currency: Currency
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1351
|
-
amount: float
|
|
1352
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1356
|
-
id: Any
|
|
1357
|
-
ref_id: str = Field(alias="refId")
|
|
1358
|
-
display_name: str = Field(alias="displayName")
|
|
1359
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1360
|
-
feature_units_plural: Optional[str] = Field(
|
|
1361
|
-
alias="featureUnitsPlural", default=None
|
|
1362
|
-
)
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
1330
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1366
1331
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1367
1332
|
alias="subscriptionScheduleType"
|
|
@@ -1531,6 +1496,41 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1531
1496
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1532
1497
|
|
|
1533
1498
|
|
|
1499
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1500
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1501
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1502
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1503
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1504
|
+
default=None
|
|
1505
|
+
)
|
|
1506
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1507
|
+
alias="creditRate", default=None
|
|
1508
|
+
)
|
|
1509
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1510
|
+
default=None
|
|
1511
|
+
)
|
|
1512
|
+
|
|
1513
|
+
|
|
1514
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1515
|
+
amount: float
|
|
1516
|
+
currency: Currency
|
|
1517
|
+
|
|
1518
|
+
|
|
1519
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1520
|
+
amount: float
|
|
1521
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1522
|
+
|
|
1523
|
+
|
|
1524
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1525
|
+
id: Any
|
|
1526
|
+
ref_id: str = Field(alias="refId")
|
|
1527
|
+
display_name: str = Field(alias="displayName")
|
|
1528
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1529
|
+
feature_units_plural: Optional[str] = Field(
|
|
1530
|
+
alias="featureUnitsPlural", default=None
|
|
1531
|
+
)
|
|
1532
|
+
|
|
1533
|
+
|
|
1534
1534
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1535
1535
|
addon_id: str = Field(alias="addonId")
|
|
1536
1536
|
description: Optional[str] = Field(default=None)
|
|
@@ -1869,6 +1869,40 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1869
1869
|
description: Optional[str] = Field(default=None)
|
|
1870
1870
|
|
|
1871
1871
|
|
|
1872
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1873
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1874
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1875
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1876
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1877
|
+
alias="resetPeriod", default=None
|
|
1878
|
+
)
|
|
1879
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1880
|
+
alias="hiddenFromWidgets", default=None
|
|
1881
|
+
)
|
|
1882
|
+
display_name_override: Optional[str] = Field(
|
|
1883
|
+
alias="displayNameOverride", default=None
|
|
1884
|
+
)
|
|
1885
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1886
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1887
|
+
default=None
|
|
1888
|
+
)
|
|
1889
|
+
|
|
1890
|
+
|
|
1891
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1892
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1893
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1894
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1895
|
+
feature_units_plural: Optional[str] = Field(
|
|
1896
|
+
alias="featureUnitsPlural", default=None
|
|
1897
|
+
)
|
|
1898
|
+
display_name: str = Field(alias="displayName")
|
|
1899
|
+
description: Optional[str] = Field(default=None)
|
|
1900
|
+
ref_id: str = Field(alias="refId")
|
|
1901
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1902
|
+
alias="additionalMetaData", default=None
|
|
1903
|
+
)
|
|
1904
|
+
|
|
1905
|
+
|
|
1872
1906
|
class MockPaywallPriceFragment(BaseModel):
|
|
1873
1907
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1874
1908
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1911,40 +1945,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1911
1945
|
display_name: str = Field(alias="displayName")
|
|
1912
1946
|
|
|
1913
1947
|
|
|
1914
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1915
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1916
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1917
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1918
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1919
|
-
alias="resetPeriod", default=None
|
|
1920
|
-
)
|
|
1921
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1922
|
-
alias="hiddenFromWidgets", default=None
|
|
1923
|
-
)
|
|
1924
|
-
display_name_override: Optional[str] = Field(
|
|
1925
|
-
alias="displayNameOverride", default=None
|
|
1926
|
-
)
|
|
1927
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1928
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1929
|
-
default=None
|
|
1930
|
-
)
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1934
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1935
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1936
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1937
|
-
feature_units_plural: Optional[str] = Field(
|
|
1938
|
-
alias="featureUnitsPlural", default=None
|
|
1939
|
-
)
|
|
1940
|
-
display_name: str = Field(alias="displayName")
|
|
1941
|
-
description: Optional[str] = Field(default=None)
|
|
1942
|
-
ref_id: str = Field(alias="refId")
|
|
1943
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1944
|
-
alias="additionalMetaData", default=None
|
|
1945
|
-
)
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
1948
|
class MockPaywallAddonFragment(BaseModel):
|
|
1949
1949
|
ref_id: str = Field(alias="refId")
|
|
1950
1950
|
display_name: str = Field(alias="displayName")
|
|
@@ -2918,24 +2918,24 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2918
2918
|
|
|
2919
2919
|
|
|
2920
2920
|
AddonDependencyFragment.model_rebuild()
|
|
2921
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2922
2921
|
PriceTierFragment.model_rebuild()
|
|
2923
2922
|
PriceFragment.model_rebuild()
|
|
2924
2923
|
OveragePriceFragment.model_rebuild()
|
|
2924
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2925
2925
|
AddonFragment.model_rebuild()
|
|
2926
|
-
|
|
2927
|
-
|
|
2926
|
+
FeatureFragment.model_rebuild()
|
|
2927
|
+
EntitlementFragment.model_rebuild()
|
|
2928
|
+
TotalPriceFragment.model_rebuild()
|
|
2928
2929
|
SlimCustomerFragment.model_rebuild()
|
|
2929
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2930
2930
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2931
2931
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2932
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2932
2933
|
ProductFragment.model_rebuild()
|
|
2933
2934
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2934
2935
|
PlanFragment.model_rebuild()
|
|
2935
|
-
|
|
2936
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2937
|
+
CustomerResourceFragment.model_rebuild()
|
|
2936
2938
|
SubscriptionFragment.model_rebuild()
|
|
2937
|
-
FeatureFragment.model_rebuild()
|
|
2938
|
-
EntitlementFragment.model_rebuild()
|
|
2939
2939
|
ApplySubscriptionFragment.model_rebuild()
|
|
2940
2940
|
FontVariantFragment.model_rebuild()
|
|
2941
2941
|
TypographyConfigurationFragment.model_rebuild()
|
|
@@ -2950,8 +2950,8 @@ CustomerPortalBillingInformationFragment.model_rebuild()
|
|
|
2950
2950
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2951
2951
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2952
2952
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2953
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2954
2953
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2954
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2955
2955
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2956
2956
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2957
2957
|
CustomerPortalFragment.model_rebuild()
|
|
@@ -2963,8 +2963,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2963
2963
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2964
2964
|
LayoutConfigurationFragment.model_rebuild()
|
|
2965
2965
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2966
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2967
2966
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2967
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2968
2968
|
MockPaywallAddonFragment.model_rebuild()
|
|
2969
2969
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2970
2970
|
MockPaywallPlanFragment.model_rebuild()
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=QgPQpe2QpTR2aYiq0IBtSh-fPTQQub2e5pzyT2uHlDE,178
|
|
|
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=cNEhlwd9Vi1-qLpN1-Ru4bSqQli5ND3Yo3VPa6poRsM,37816
|
|
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=0opsghgNRas9AUSzPqtsY6-TkDUQ_cQhq4Lt66aUX8o,106695
|
|
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
|
|
@@ -164,7 +164,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
164
164
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
165
165
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
166
166
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
167
|
-
stigg_api_client_v2-3.
|
|
168
|
-
stigg_api_client_v2-3.
|
|
169
|
-
stigg_api_client_v2-3.
|
|
170
|
-
stigg_api_client_v2-3.
|
|
167
|
+
stigg_api_client_v2-3.39.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
168
|
+
stigg_api_client_v2-3.39.0.dist-info/METADATA,sha256=JVoAoGkyDoMymqqo1iNBxq6tLcJ28V6ekap48vJ3PUw,2257
|
|
169
|
+
stigg_api_client_v2-3.39.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
170
|
+
stigg_api_client_v2-3.39.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|