stigg-api-client-v2 2.315.0__py3-none-any.whl → 2.315.2__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 +0 -1
- stigg/generated/fragments.py +439 -439
- {stigg_api_client_v2-2.315.0.dist-info → stigg_api_client_v2-2.315.2.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.315.0.dist-info → stigg_api_client_v2-2.315.2.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-2.315.0.dist-info → stigg_api_client_v2-2.315.2.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.315.0.dist-info → stigg_api_client_v2-2.315.2.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -436,7 +436,6 @@ class ErrorCode(str, Enum):
|
|
|
436
436
|
DraftAddonCantBeArchived = "DraftAddonCantBeArchived"
|
|
437
437
|
DraftPlanCantBeArchived = "DraftPlanCantBeArchived"
|
|
438
438
|
DuplicateAddonProvisionedError = "DuplicateAddonProvisionedError"
|
|
439
|
-
DuplicateIntegrationNotAllowed = "DuplicateIntegrationNotAllowed"
|
|
440
439
|
DuplicateProductValidationError = "DuplicateProductValidationError"
|
|
441
440
|
DuplicatedEntityNotAllowed = "DuplicatedEntityNotAllowed"
|
|
442
441
|
EditAllowedOnDraftPackageOnlyError = "EditAllowedOnDraftPackageOnlyError"
|
stigg/generated/fragments.py
CHANGED
|
@@ -115,6 +115,38 @@ class PriceFragmentFeature(BaseModel):
|
|
|
115
115
|
description: Optional[str] = Field(default=None)
|
|
116
116
|
|
|
117
117
|
|
|
118
|
+
class OveragePriceFragment(BaseModel):
|
|
119
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
120
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
121
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
122
|
+
billing_country_code: Optional[str] = Field(
|
|
123
|
+
alias="billingCountryCode", default=None
|
|
124
|
+
)
|
|
125
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
126
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
127
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
128
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
132
|
+
amount: float
|
|
133
|
+
currency: Currency
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
137
|
+
pass
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
141
|
+
ref_id: str = Field(alias="refId")
|
|
142
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
143
|
+
feature_units_plural: Optional[str] = Field(
|
|
144
|
+
alias="featureUnitsPlural", default=None
|
|
145
|
+
)
|
|
146
|
+
display_name: str = Field(alias="displayName")
|
|
147
|
+
description: Optional[str] = Field(default=None)
|
|
148
|
+
|
|
149
|
+
|
|
118
150
|
class PackageEntitlementFragment(BaseModel):
|
|
119
151
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
120
152
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -148,38 +180,6 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
148
180
|
)
|
|
149
181
|
|
|
150
182
|
|
|
151
|
-
class OveragePriceFragment(BaseModel):
|
|
152
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
153
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
154
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
155
|
-
billing_country_code: Optional[str] = Field(
|
|
156
|
-
alias="billingCountryCode", default=None
|
|
157
|
-
)
|
|
158
|
-
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
159
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
160
|
-
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
161
|
-
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
class OveragePriceFragmentPrice(BaseModel):
|
|
165
|
-
amount: float
|
|
166
|
-
currency: Currency
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
170
|
-
pass
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
class OveragePriceFragmentFeature(BaseModel):
|
|
174
|
-
ref_id: str = Field(alias="refId")
|
|
175
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
176
|
-
feature_units_plural: Optional[str] = Field(
|
|
177
|
-
alias="featureUnitsPlural", default=None
|
|
178
|
-
)
|
|
179
|
-
display_name: str = Field(alias="displayName")
|
|
180
|
-
description: Optional[str] = Field(default=None)
|
|
181
|
-
|
|
182
|
-
|
|
183
183
|
class AddonFragment(BaseModel):
|
|
184
184
|
id: str
|
|
185
185
|
ref_id: str = Field(alias="refId")
|
|
@@ -215,46 +215,89 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
215
215
|
pass
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
class
|
|
219
|
-
|
|
218
|
+
class FeatureFragment(BaseModel):
|
|
219
|
+
typename__: str = Field(alias="__typename")
|
|
220
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
221
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
222
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
223
|
+
feature_units_plural: Optional[str] = Field(
|
|
224
|
+
alias="featureUnitsPlural", default=None
|
|
225
|
+
)
|
|
226
|
+
description: Optional[str] = Field(default=None)
|
|
227
|
+
display_name: str = Field(alias="displayName")
|
|
228
|
+
ref_id: str = Field(alias="refId")
|
|
229
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
230
|
+
alias="unitTransformation", default=None
|
|
231
|
+
)
|
|
220
232
|
|
|
221
233
|
|
|
222
|
-
class
|
|
223
|
-
|
|
224
|
-
|
|
234
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
235
|
+
divide: float
|
|
236
|
+
round: UnitTransformationRound
|
|
225
237
|
|
|
226
238
|
|
|
227
|
-
class
|
|
228
|
-
|
|
229
|
-
|
|
239
|
+
class EntitlementFragment(BaseModel):
|
|
240
|
+
typename__: str = Field(alias="__typename")
|
|
241
|
+
is_granted: bool = Field(alias="isGranted")
|
|
242
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
243
|
+
alias="accessDeniedReason", default=None
|
|
244
|
+
)
|
|
245
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
246
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
247
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
248
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
249
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
250
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
251
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
252
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
253
|
+
alias="entitlementUpdatedAt", default=None
|
|
254
|
+
)
|
|
255
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
256
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
257
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
258
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
259
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
260
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
261
|
+
alias="resetPeriod", default=None
|
|
262
|
+
)
|
|
263
|
+
reset_period_configuration: Optional[
|
|
264
|
+
Annotated[
|
|
265
|
+
Union[
|
|
266
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
267
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
268
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
269
|
+
],
|
|
270
|
+
Field(discriminator="typename__"),
|
|
271
|
+
]
|
|
272
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
273
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
230
274
|
|
|
231
275
|
|
|
232
|
-
class
|
|
233
|
-
|
|
234
|
-
|
|
276
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
277
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
278
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
279
|
+
alias="monthlyAccordingTo", default=None
|
|
280
|
+
)
|
|
235
281
|
|
|
236
282
|
|
|
237
|
-
class
|
|
238
|
-
|
|
283
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
284
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
285
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
286
|
+
alias="weeklyAccordingTo", default=None
|
|
287
|
+
)
|
|
239
288
|
|
|
240
289
|
|
|
241
|
-
class
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
246
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
247
|
-
ref_id: str = Field(alias="refId")
|
|
248
|
-
customer_id: str = Field(alias="customerId")
|
|
249
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
250
|
-
additional_meta_data: Optional[Any] = Field(
|
|
251
|
-
alias="additionalMetaData", default=None
|
|
252
|
-
)
|
|
253
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
254
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
290
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
291
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
292
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
293
|
+
alias="yearlyAccordingTo", default=None
|
|
255
294
|
)
|
|
256
295
|
|
|
257
296
|
|
|
297
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
298
|
+
pass
|
|
299
|
+
|
|
300
|
+
|
|
258
301
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
259
302
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
260
303
|
alias="subscriptionScheduleType"
|
|
@@ -417,76 +460,194 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
417
460
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
418
461
|
|
|
419
462
|
|
|
420
|
-
class
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
463
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
464
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
class SlimCustomerFragment(BaseModel):
|
|
468
|
+
id: str
|
|
469
|
+
name: Optional[str] = Field(default=None)
|
|
470
|
+
email: Optional[str] = Field(default=None)
|
|
471
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
424
472
|
updated_at: Any = Field(alias="updatedAt")
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
431
|
-
alias="billingReason", default=None
|
|
432
|
-
)
|
|
433
|
-
currency: Optional[str] = Field(default=None)
|
|
434
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
435
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
436
|
-
alias="subTotalExcludingTax", default=None
|
|
473
|
+
ref_id: str = Field(alias="refId")
|
|
474
|
+
customer_id: str = Field(alias="customerId")
|
|
475
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
476
|
+
additional_meta_data: Optional[Any] = Field(
|
|
477
|
+
alias="additionalMetaData", default=None
|
|
437
478
|
)
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
alias="totalExcludingTax", default=None
|
|
479
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
480
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
441
481
|
)
|
|
442
|
-
tax: Optional[float] = Field(default=None)
|
|
443
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
444
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
445
482
|
|
|
446
483
|
|
|
447
|
-
class
|
|
448
|
-
|
|
449
|
-
|
|
484
|
+
class CustomerResourceFragment(BaseModel):
|
|
485
|
+
resource_id: str = Field(alias="resourceId")
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
class ProductFragment(BaseModel):
|
|
489
|
+
ref_id: str = Field(alias="refId")
|
|
490
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
491
|
+
description: Optional[str] = Field(default=None)
|
|
492
|
+
additional_meta_data: Optional[Any] = Field(
|
|
493
|
+
alias="additionalMetaData", default=None
|
|
450
494
|
)
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
495
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
499
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
500
|
+
alias="downgradePlan", default=None
|
|
455
501
|
)
|
|
456
|
-
schedule_variables: Optional[
|
|
457
|
-
Annotated[
|
|
458
|
-
Union[
|
|
459
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
460
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
461
|
-
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
462
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
463
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
464
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
465
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
466
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
467
|
-
],
|
|
468
|
-
Field(discriminator="typename__"),
|
|
469
|
-
]
|
|
470
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
471
502
|
|
|
472
503
|
|
|
473
|
-
class
|
|
474
|
-
id: str
|
|
504
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
475
505
|
ref_id: str = Field(alias="refId")
|
|
476
506
|
display_name: str = Field(alias="displayName")
|
|
477
507
|
|
|
478
508
|
|
|
479
|
-
class
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
509
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
510
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
511
|
+
display_name: str = Field(alias="displayName")
|
|
512
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
513
|
+
default=None
|
|
514
|
+
)
|
|
515
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
483
516
|
|
|
484
517
|
|
|
485
|
-
class
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
518
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
519
|
+
pass
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
523
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
524
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
class PlanFragment(BaseModel):
|
|
528
|
+
id: str
|
|
529
|
+
ref_id: str = Field(alias="refId")
|
|
530
|
+
display_name: str = Field(alias="displayName")
|
|
531
|
+
description: Optional[str] = Field(default=None)
|
|
532
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
533
|
+
version_number: int = Field(alias="versionNumber")
|
|
534
|
+
additional_meta_data: Optional[Any] = Field(
|
|
535
|
+
alias="additionalMetaData", default=None
|
|
536
|
+
)
|
|
537
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
538
|
+
alias="hiddenFromWidgets", default=None
|
|
539
|
+
)
|
|
540
|
+
product: "PlanFragmentProduct"
|
|
541
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
542
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
543
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
544
|
+
alias="inheritedEntitlements", default=None
|
|
545
|
+
)
|
|
546
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
547
|
+
alias="compatibleAddons", default=None
|
|
548
|
+
)
|
|
549
|
+
compatible_package_groups: Optional[
|
|
550
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
551
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
552
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
553
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
554
|
+
alias="overagePrices", default=None
|
|
555
|
+
)
|
|
556
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
557
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
558
|
+
alias="defaultTrialConfig", default=None
|
|
559
|
+
)
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
class PlanFragmentProduct(ProductFragment):
|
|
563
|
+
pass
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
567
|
+
ref_id: str = Field(alias="refId")
|
|
568
|
+
display_name: str = Field(alias="displayName")
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
572
|
+
pass
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
576
|
+
pass
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
580
|
+
pass
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
584
|
+
pass
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
class PlanFragmentPrices(PriceFragment):
|
|
588
|
+
pass
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
592
|
+
pass
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
596
|
+
duration: float
|
|
597
|
+
units: TrialPeriodUnits
|
|
598
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
599
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
600
|
+
alias="trialEndBehavior", default=None
|
|
601
|
+
)
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
605
|
+
limit: float
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
609
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
610
|
+
alias="subscriptionScheduleType"
|
|
611
|
+
)
|
|
612
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
613
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
614
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
615
|
+
alias="targetPackage", default=None
|
|
616
|
+
)
|
|
617
|
+
schedule_variables: Optional[
|
|
618
|
+
Annotated[
|
|
619
|
+
Union[
|
|
620
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
621
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
622
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
623
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
624
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
625
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
626
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
627
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
628
|
+
],
|
|
629
|
+
Field(discriminator="typename__"),
|
|
630
|
+
]
|
|
631
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
635
|
+
id: str
|
|
636
|
+
ref_id: str = Field(alias="refId")
|
|
637
|
+
display_name: str = Field(alias="displayName")
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
641
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
642
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
643
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
647
|
+
BaseModel
|
|
648
|
+
):
|
|
649
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
650
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
490
651
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
491
652
|
|
|
492
653
|
|
|
@@ -598,124 +759,46 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
598
759
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
599
760
|
|
|
600
761
|
|
|
601
|
-
class
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
)
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
alias="downgradePlan", default=None
|
|
614
|
-
)
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
618
|
-
ref_id: str = Field(alias="refId")
|
|
619
|
-
display_name: str = Field(alias="displayName")
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
623
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
624
|
-
display_name: str = Field(alias="displayName")
|
|
625
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
626
|
-
default=None
|
|
627
|
-
)
|
|
628
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
632
|
-
pass
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
636
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
637
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
class PlanFragment(BaseModel):
|
|
641
|
-
id: str
|
|
642
|
-
ref_id: str = Field(alias="refId")
|
|
643
|
-
display_name: str = Field(alias="displayName")
|
|
644
|
-
description: Optional[str] = Field(default=None)
|
|
645
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
646
|
-
version_number: int = Field(alias="versionNumber")
|
|
647
|
-
additional_meta_data: Optional[Any] = Field(
|
|
648
|
-
alias="additionalMetaData", default=None
|
|
649
|
-
)
|
|
650
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
651
|
-
alias="hiddenFromWidgets", default=None
|
|
652
|
-
)
|
|
653
|
-
product: "PlanFragmentProduct"
|
|
654
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
655
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
656
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
657
|
-
alias="inheritedEntitlements", default=None
|
|
658
|
-
)
|
|
659
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
660
|
-
alias="compatibleAddons", default=None
|
|
762
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
763
|
+
billing_id: str = Field(alias="billingId")
|
|
764
|
+
status: SubscriptionInvoiceStatus
|
|
765
|
+
created_at: Any = Field(alias="createdAt")
|
|
766
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
767
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
768
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
769
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
770
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
771
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
772
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
773
|
+
alias="billingReason", default=None
|
|
661
774
|
)
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
] = Field(
|
|
665
|
-
|
|
666
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
667
|
-
alias="overagePrices", default=None
|
|
775
|
+
currency: Optional[str] = Field(default=None)
|
|
776
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
777
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
778
|
+
alias="subTotalExcludingTax", default=None
|
|
668
779
|
)
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
alias="
|
|
780
|
+
total: Optional[float] = Field(default=None)
|
|
781
|
+
total_excluding_tax: Optional[float] = Field(
|
|
782
|
+
alias="totalExcludingTax", default=None
|
|
672
783
|
)
|
|
784
|
+
tax: Optional[float] = Field(default=None)
|
|
785
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
786
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
673
787
|
|
|
674
788
|
|
|
675
|
-
class
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
680
|
-
ref_id: str = Field(alias="refId")
|
|
681
|
-
display_name: str = Field(alias="displayName")
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
685
|
-
pass
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
689
|
-
pass
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
693
|
-
pass
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
697
|
-
pass
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
class PlanFragmentPrices(PriceFragment):
|
|
701
|
-
pass
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
705
|
-
pass
|
|
789
|
+
class TotalPriceFragment(BaseModel):
|
|
790
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
791
|
+
total: "TotalPriceFragmentTotal"
|
|
706
792
|
|
|
707
793
|
|
|
708
|
-
class
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
712
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
713
|
-
alias="trialEndBehavior", default=None
|
|
714
|
-
)
|
|
794
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
795
|
+
amount: float
|
|
796
|
+
currency: Currency
|
|
715
797
|
|
|
716
798
|
|
|
717
|
-
class
|
|
718
|
-
|
|
799
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
800
|
+
amount: float
|
|
801
|
+
currency: Currency
|
|
719
802
|
|
|
720
803
|
|
|
721
804
|
class SubscriptionFragment(BaseModel):
|
|
@@ -790,123 +873,40 @@ class SubscriptionFragmentExperimentInfo(BaseModel):
|
|
|
790
873
|
|
|
791
874
|
class SubscriptionFragmentPrices(BaseModel):
|
|
792
875
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
793
|
-
price: Optional["SubscriptionFragmentPricesPrice"] = Field(default=None)
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
class SubscriptionFragmentPricesPrice(PriceFragment):
|
|
797
|
-
pass
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
class SubscriptionFragmentTotalPrice(TotalPriceFragment):
|
|
801
|
-
pass
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
class SubscriptionFragmentPlan(PlanFragment):
|
|
805
|
-
pass
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
class SubscriptionFragmentAddons(BaseModel):
|
|
809
|
-
id: str
|
|
810
|
-
quantity: float
|
|
811
|
-
addon: "SubscriptionFragmentAddonsAddon"
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
class SubscriptionFragmentAddonsAddon(AddonFragment):
|
|
815
|
-
pass
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
class SubscriptionFragmentScheduledUpdates(SubscriptionScheduledUpdateData):
|
|
819
|
-
pass
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
class SubscriptionFragmentFutureUpdates(SubscriptionFutureUpdateData):
|
|
823
|
-
pass
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragment):
|
|
827
|
-
pass
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
class FeatureFragment(BaseModel):
|
|
831
|
-
typename__: str = Field(alias="__typename")
|
|
832
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
833
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
834
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
835
|
-
feature_units_plural: Optional[str] = Field(
|
|
836
|
-
alias="featureUnitsPlural", default=None
|
|
837
|
-
)
|
|
838
|
-
description: Optional[str] = Field(default=None)
|
|
839
|
-
display_name: str = Field(alias="displayName")
|
|
840
|
-
ref_id: str = Field(alias="refId")
|
|
841
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
842
|
-
alias="unitTransformation", default=None
|
|
843
|
-
)
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
847
|
-
divide: float
|
|
848
|
-
round: UnitTransformationRound
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
class EntitlementFragment(BaseModel):
|
|
852
|
-
typename__: str = Field(alias="__typename")
|
|
853
|
-
is_granted: bool = Field(alias="isGranted")
|
|
854
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
855
|
-
alias="accessDeniedReason", default=None
|
|
856
|
-
)
|
|
857
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
858
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
859
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
860
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
861
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
862
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
863
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
864
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
865
|
-
alias="entitlementUpdatedAt", default=None
|
|
866
|
-
)
|
|
867
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
868
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
869
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
870
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
871
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
872
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
873
|
-
alias="resetPeriod", default=None
|
|
874
|
-
)
|
|
875
|
-
reset_period_configuration: Optional[
|
|
876
|
-
Annotated[
|
|
877
|
-
Union[
|
|
878
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
879
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
880
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
881
|
-
],
|
|
882
|
-
Field(discriminator="typename__"),
|
|
883
|
-
]
|
|
884
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
885
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
876
|
+
price: Optional["SubscriptionFragmentPricesPrice"] = Field(default=None)
|
|
886
877
|
|
|
887
878
|
|
|
888
|
-
class
|
|
889
|
-
|
|
890
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
891
|
-
alias="monthlyAccordingTo", default=None
|
|
892
|
-
)
|
|
879
|
+
class SubscriptionFragmentPricesPrice(PriceFragment):
|
|
880
|
+
pass
|
|
893
881
|
|
|
894
882
|
|
|
895
|
-
class
|
|
896
|
-
|
|
897
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
898
|
-
alias="weeklyAccordingTo", default=None
|
|
899
|
-
)
|
|
883
|
+
class SubscriptionFragmentTotalPrice(TotalPriceFragment):
|
|
884
|
+
pass
|
|
900
885
|
|
|
901
886
|
|
|
902
|
-
class
|
|
903
|
-
|
|
904
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
905
|
-
alias="yearlyAccordingTo", default=None
|
|
906
|
-
)
|
|
887
|
+
class SubscriptionFragmentPlan(PlanFragment):
|
|
888
|
+
pass
|
|
907
889
|
|
|
908
890
|
|
|
909
|
-
class
|
|
891
|
+
class SubscriptionFragmentAddons(BaseModel):
|
|
892
|
+
id: str
|
|
893
|
+
quantity: float
|
|
894
|
+
addon: "SubscriptionFragmentAddonsAddon"
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
class SubscriptionFragmentAddonsAddon(AddonFragment):
|
|
898
|
+
pass
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
class SubscriptionFragmentScheduledUpdates(SubscriptionScheduledUpdateData):
|
|
902
|
+
pass
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
class SubscriptionFragmentFutureUpdates(SubscriptionFutureUpdateData):
|
|
906
|
+
pass
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragment):
|
|
910
910
|
pass
|
|
911
911
|
|
|
912
912
|
|
|
@@ -987,35 +987,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
987
987
|
)
|
|
988
988
|
|
|
989
989
|
|
|
990
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
991
|
-
status: PromotionalEntitlementStatus
|
|
992
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
993
|
-
feature_id: str = Field(alias="featureId")
|
|
994
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
995
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
996
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
997
|
-
alias="resetPeriod", default=None
|
|
998
|
-
)
|
|
999
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1000
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1001
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1005
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1006
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1007
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1008
|
-
feature_units_plural: Optional[str] = Field(
|
|
1009
|
-
alias="featureUnitsPlural", default=None
|
|
1010
|
-
)
|
|
1011
|
-
display_name: str = Field(alias="displayName")
|
|
1012
|
-
description: Optional[str] = Field(default=None)
|
|
1013
|
-
ref_id: str = Field(alias="refId")
|
|
1014
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1015
|
-
alias="additionalMetaData", default=None
|
|
1016
|
-
)
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
990
|
class CouponFragment(BaseModel):
|
|
1020
991
|
id: str
|
|
1021
992
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1050,6 +1021,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1050
1021
|
status: SyncStatus
|
|
1051
1022
|
|
|
1052
1023
|
|
|
1024
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1025
|
+
status: PromotionalEntitlementStatus
|
|
1026
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1027
|
+
feature_id: str = Field(alias="featureId")
|
|
1028
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1029
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1030
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1031
|
+
alias="resetPeriod", default=None
|
|
1032
|
+
)
|
|
1033
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1034
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1035
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1039
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1040
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1041
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1042
|
+
feature_units_plural: Optional[str] = Field(
|
|
1043
|
+
alias="featureUnitsPlural", default=None
|
|
1044
|
+
)
|
|
1045
|
+
display_name: str = Field(alias="displayName")
|
|
1046
|
+
description: Optional[str] = Field(default=None)
|
|
1047
|
+
ref_id: str = Field(alias="refId")
|
|
1048
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1049
|
+
alias="additionalMetaData", default=None
|
|
1050
|
+
)
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
1053
|
class CustomerFragment(SlimCustomerFragment):
|
|
1054
1054
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1055
1055
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1250,6 +1250,40 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1250
1250
|
pass
|
|
1251
1251
|
|
|
1252
1252
|
|
|
1253
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1254
|
+
addon_id: str = Field(alias="addonId")
|
|
1255
|
+
description: Optional[str] = Field(default=None)
|
|
1256
|
+
display_name: str = Field(alias="displayName")
|
|
1257
|
+
quantity: int
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1261
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1262
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1263
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1264
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1265
|
+
default=None
|
|
1266
|
+
)
|
|
1267
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1268
|
+
default=None
|
|
1269
|
+
)
|
|
1270
|
+
|
|
1271
|
+
|
|
1272
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1273
|
+
amount: float
|
|
1274
|
+
currency: Currency
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1278
|
+
id: str
|
|
1279
|
+
ref_id: str = Field(alias="refId")
|
|
1280
|
+
display_name: str = Field(alias="displayName")
|
|
1281
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1282
|
+
feature_units_plural: Optional[str] = Field(
|
|
1283
|
+
alias="featureUnitsPlural", default=None
|
|
1284
|
+
)
|
|
1285
|
+
|
|
1286
|
+
|
|
1253
1287
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1254
1288
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1255
1289
|
alias="subscriptionScheduleType"
|
|
@@ -1419,40 +1453,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1419
1453
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1420
1454
|
|
|
1421
1455
|
|
|
1422
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1423
|
-
addon_id: str = Field(alias="addonId")
|
|
1424
|
-
description: Optional[str] = Field(default=None)
|
|
1425
|
-
display_name: str = Field(alias="displayName")
|
|
1426
|
-
quantity: int
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1430
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1431
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1432
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1433
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1434
|
-
default=None
|
|
1435
|
-
)
|
|
1436
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1437
|
-
default=None
|
|
1438
|
-
)
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1442
|
-
amount: float
|
|
1443
|
-
currency: Currency
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1447
|
-
id: str
|
|
1448
|
-
ref_id: str = Field(alias="refId")
|
|
1449
|
-
display_name: str = Field(alias="displayName")
|
|
1450
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1451
|
-
feature_units_plural: Optional[str] = Field(
|
|
1452
|
-
alias="featureUnitsPlural", default=None
|
|
1453
|
-
)
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
1456
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1457
1457
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1458
1458
|
plan_id: str = Field(alias="planId")
|
|
@@ -1786,6 +1786,39 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1786
1786
|
description: Optional[str] = Field(default=None)
|
|
1787
1787
|
|
|
1788
1788
|
|
|
1789
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1790
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1791
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1792
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1793
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1794
|
+
alias="resetPeriod", default=None
|
|
1795
|
+
)
|
|
1796
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1797
|
+
alias="hiddenFromWidgets", default=None
|
|
1798
|
+
)
|
|
1799
|
+
display_name_override: Optional[str] = Field(
|
|
1800
|
+
alias="displayNameOverride", default=None
|
|
1801
|
+
)
|
|
1802
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1803
|
+
default=None
|
|
1804
|
+
)
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1808
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1809
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1810
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1811
|
+
feature_units_plural: Optional[str] = Field(
|
|
1812
|
+
alias="featureUnitsPlural", default=None
|
|
1813
|
+
)
|
|
1814
|
+
display_name: str = Field(alias="displayName")
|
|
1815
|
+
description: Optional[str] = Field(default=None)
|
|
1816
|
+
ref_id: str = Field(alias="refId")
|
|
1817
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1818
|
+
alias="additionalMetaData", default=None
|
|
1819
|
+
)
|
|
1820
|
+
|
|
1821
|
+
|
|
1789
1822
|
class MockPaywallPriceFragment(BaseModel):
|
|
1790
1823
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1791
1824
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1820,39 +1853,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1820
1853
|
display_name: str = Field(alias="displayName")
|
|
1821
1854
|
|
|
1822
1855
|
|
|
1823
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1824
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1825
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1826
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1827
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1828
|
-
alias="resetPeriod", default=None
|
|
1829
|
-
)
|
|
1830
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1831
|
-
alias="hiddenFromWidgets", default=None
|
|
1832
|
-
)
|
|
1833
|
-
display_name_override: Optional[str] = Field(
|
|
1834
|
-
alias="displayNameOverride", default=None
|
|
1835
|
-
)
|
|
1836
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1837
|
-
default=None
|
|
1838
|
-
)
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1842
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1843
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1844
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1845
|
-
feature_units_plural: Optional[str] = Field(
|
|
1846
|
-
alias="featureUnitsPlural", default=None
|
|
1847
|
-
)
|
|
1848
|
-
display_name: str = Field(alias="displayName")
|
|
1849
|
-
description: Optional[str] = Field(default=None)
|
|
1850
|
-
ref_id: str = Field(alias="refId")
|
|
1851
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1852
|
-
alias="additionalMetaData", default=None
|
|
1853
|
-
)
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
1856
|
class MockPaywallAddonFragment(BaseModel):
|
|
1857
1857
|
ref_id: str = Field(alias="refId")
|
|
1858
1858
|
display_name: str = Field(alias="displayName")
|
|
@@ -2765,36 +2765,36 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2765
2765
|
AddonDependencyFragment.model_rebuild()
|
|
2766
2766
|
PriceTierFragment.model_rebuild()
|
|
2767
2767
|
PriceFragment.model_rebuild()
|
|
2768
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2769
2768
|
OveragePriceFragment.model_rebuild()
|
|
2769
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2770
2770
|
AddonFragment.model_rebuild()
|
|
2771
|
+
FeatureFragment.model_rebuild()
|
|
2772
|
+
EntitlementFragment.model_rebuild()
|
|
2773
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2771
2774
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2772
|
-
TotalPriceFragment.model_rebuild()
|
|
2773
|
-
CustomerResourceFragment.model_rebuild()
|
|
2774
2775
|
SlimCustomerFragment.model_rebuild()
|
|
2775
|
-
|
|
2776
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2777
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2776
|
+
CustomerResourceFragment.model_rebuild()
|
|
2778
2777
|
ProductFragment.model_rebuild()
|
|
2779
2778
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2780
2779
|
PlanFragment.model_rebuild()
|
|
2780
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2781
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2782
|
+
TotalPriceFragment.model_rebuild()
|
|
2781
2783
|
SubscriptionFragment.model_rebuild()
|
|
2782
|
-
FeatureFragment.model_rebuild()
|
|
2783
|
-
EntitlementFragment.model_rebuild()
|
|
2784
2784
|
ApplySubscriptionFragment.model_rebuild()
|
|
2785
2785
|
FontVariantFragment.model_rebuild()
|
|
2786
2786
|
TypographyConfigurationFragment.model_rebuild()
|
|
2787
2787
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2788
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2789
2788
|
CouponFragment.model_rebuild()
|
|
2789
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2790
2790
|
CustomerFragment.model_rebuild()
|
|
2791
2791
|
CheckoutStateFragment.model_rebuild()
|
|
2792
2792
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2793
2793
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2794
2794
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2795
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2796
2795
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2797
2796
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2797
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2798
2798
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2799
2799
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2800
2800
|
CustomerPortalFragment.model_rebuild()
|
|
@@ -2806,8 +2806,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2806
2806
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2807
2807
|
LayoutConfigurationFragment.model_rebuild()
|
|
2808
2808
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2809
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2810
2809
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2810
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2811
2811
|
MockPaywallAddonFragment.model_rebuild()
|
|
2812
2812
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2813
2813
|
MockPaywallPlanFragment.model_rebuild()
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=AHebP8X0jl5noIxkZwMgE-EOE3e5lv-tGrCj2xDt58c,169
|
|
|
119
119
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
120
120
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
121
121
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
122
|
-
stigg/generated/enums.py,sha256
|
|
122
|
+
stigg/generated/enums.py,sha256=qWrohdIPTsA0omqBKnEiGAonNwjgF9yViJte1c9f5hM,34406
|
|
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=OtgGNY3L_qps5_Jz8vDb5pLxlt_o0uIYv1hUPWnirWE,100632
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.315.
|
|
164
|
-
stigg_api_client_v2-2.315.
|
|
165
|
-
stigg_api_client_v2-2.315.
|
|
166
|
-
stigg_api_client_v2-2.315.
|
|
163
|
+
stigg_api_client_v2-2.315.2.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.315.2.dist-info/METADATA,sha256=iAIqRqfmhlItXQ9-74m741ervT0iVsTYSb2q668EjKc,2258
|
|
165
|
+
stigg_api_client_v2-2.315.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.315.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|