stigg-api-client-v2 2.310.0__py3-none-any.whl → 2.314.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/__init__.py +2 -0
- stigg/generated/fragments.py +362 -362
- stigg/generated/input_types.py +6 -1
- {stigg_api_client_v2-2.310.0.dist-info → stigg_api_client_v2-2.314.2.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.310.0.dist-info → stigg_api_client_v2-2.314.2.dist-info}/RECORD +7 -7
- {stigg_api_client_v2-2.310.0.dist-info → stigg_api_client_v2-2.314.2.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.310.0.dist-info → stigg_api_client_v2-2.314.2.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -870,6 +870,7 @@ from .input_types import (
|
|
|
870
870
|
UpdateOnePromotionalEntitlementInput,
|
|
871
871
|
UpdatePackageEntitlementOrderInput,
|
|
872
872
|
UpdatePackageEntitlementOrderItemInput,
|
|
873
|
+
UpdateStripeCredentialsInput,
|
|
873
874
|
UpdateSubscriptionEntitlementInput,
|
|
874
875
|
UpdateSubscriptionInput,
|
|
875
876
|
UpdateUserInput,
|
|
@@ -1780,6 +1781,7 @@ __all__ = [
|
|
|
1780
1781
|
"UpdateOnePromotionalEntitlementInput",
|
|
1781
1782
|
"UpdatePackageEntitlementOrderInput",
|
|
1782
1783
|
"UpdatePackageEntitlementOrderItemInput",
|
|
1784
|
+
"UpdateStripeCredentialsInput",
|
|
1783
1785
|
"UpdateSubscription",
|
|
1784
1786
|
"UpdateSubscriptionEntitlementInput",
|
|
1785
1787
|
"UpdateSubscriptionInput",
|
stigg/generated/fragments.py
CHANGED
|
@@ -59,6 +59,39 @@ class AddonDependencyFragment(BaseModel):
|
|
|
59
59
|
description: Optional[str] = Field(default=None)
|
|
60
60
|
|
|
61
61
|
|
|
62
|
+
class PackageEntitlementFragment(BaseModel):
|
|
63
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
64
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
65
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
66
|
+
feature_id: str = Field(alias="featureId")
|
|
67
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
68
|
+
alias="resetPeriod", default=None
|
|
69
|
+
)
|
|
70
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
71
|
+
alias="hiddenFromWidgets", default=None
|
|
72
|
+
)
|
|
73
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
74
|
+
display_name_override: Optional[str] = Field(
|
|
75
|
+
alias="displayNameOverride", default=None
|
|
76
|
+
)
|
|
77
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
81
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
82
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
83
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
84
|
+
feature_units_plural: Optional[str] = Field(
|
|
85
|
+
alias="featureUnitsPlural", default=None
|
|
86
|
+
)
|
|
87
|
+
display_name: str = Field(alias="displayName")
|
|
88
|
+
description: Optional[str] = Field(default=None)
|
|
89
|
+
ref_id: str = Field(alias="refId")
|
|
90
|
+
additional_meta_data: Optional[Any] = Field(
|
|
91
|
+
alias="additionalMetaData", default=None
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
|
|
62
95
|
class PriceTierFragment(BaseModel):
|
|
63
96
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
64
97
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -147,39 +180,6 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
147
180
|
description: Optional[str] = Field(default=None)
|
|
148
181
|
|
|
149
182
|
|
|
150
|
-
class PackageEntitlementFragment(BaseModel):
|
|
151
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
152
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
153
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
154
|
-
feature_id: str = Field(alias="featureId")
|
|
155
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
156
|
-
alias="resetPeriod", default=None
|
|
157
|
-
)
|
|
158
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
159
|
-
alias="hiddenFromWidgets", default=None
|
|
160
|
-
)
|
|
161
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
162
|
-
display_name_override: Optional[str] = Field(
|
|
163
|
-
alias="displayNameOverride", default=None
|
|
164
|
-
)
|
|
165
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
169
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
170
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
171
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
172
|
-
feature_units_plural: Optional[str] = Field(
|
|
173
|
-
alias="featureUnitsPlural", default=None
|
|
174
|
-
)
|
|
175
|
-
display_name: str = Field(alias="displayName")
|
|
176
|
-
description: Optional[str] = Field(default=None)
|
|
177
|
-
ref_id: str = Field(alias="refId")
|
|
178
|
-
additional_meta_data: Optional[Any] = Field(
|
|
179
|
-
alias="additionalMetaData", default=None
|
|
180
|
-
)
|
|
181
|
-
|
|
182
|
-
|
|
183
183
|
class AddonFragment(BaseModel):
|
|
184
184
|
id: str
|
|
185
185
|
ref_id: str = Field(alias="refId")
|
|
@@ -215,27 +215,87 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
215
215
|
pass
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
class
|
|
219
|
-
|
|
220
|
-
|
|
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
|
+
)
|
|
221
232
|
|
|
222
233
|
|
|
223
|
-
class
|
|
224
|
-
|
|
225
|
-
|
|
234
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
235
|
+
divide: float
|
|
236
|
+
round: UnitTransformationRound
|
|
226
237
|
|
|
227
238
|
|
|
228
|
-
class
|
|
229
|
-
|
|
230
|
-
|
|
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)
|
|
231
274
|
|
|
232
275
|
|
|
233
|
-
class
|
|
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
|
+
)
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
291
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
292
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
293
|
+
alias="yearlyAccordingTo", default=None
|
|
294
|
+
)
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
298
|
+
pass
|
|
239
299
|
|
|
240
300
|
|
|
241
301
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -400,124 +460,8 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
400
460
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
401
461
|
|
|
402
462
|
|
|
403
|
-
class
|
|
404
|
-
|
|
405
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
406
|
-
description: Optional[str] = Field(default=None)
|
|
407
|
-
additional_meta_data: Optional[Any] = Field(
|
|
408
|
-
alias="additionalMetaData", default=None
|
|
409
|
-
)
|
|
410
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
414
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
415
|
-
alias="downgradePlan", default=None
|
|
416
|
-
)
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
420
|
-
ref_id: str = Field(alias="refId")
|
|
421
|
-
display_name: str = Field(alias="displayName")
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
425
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
426
|
-
display_name: str = Field(alias="displayName")
|
|
427
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
428
|
-
default=None
|
|
429
|
-
)
|
|
430
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
434
|
-
pass
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
438
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
439
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
class PlanFragment(BaseModel):
|
|
443
|
-
id: str
|
|
444
|
-
ref_id: str = Field(alias="refId")
|
|
445
|
-
display_name: str = Field(alias="displayName")
|
|
446
|
-
description: Optional[str] = Field(default=None)
|
|
447
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
448
|
-
version_number: int = Field(alias="versionNumber")
|
|
449
|
-
additional_meta_data: Optional[Any] = Field(
|
|
450
|
-
alias="additionalMetaData", default=None
|
|
451
|
-
)
|
|
452
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
453
|
-
alias="hiddenFromWidgets", default=None
|
|
454
|
-
)
|
|
455
|
-
product: "PlanFragmentProduct"
|
|
456
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
457
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
458
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
459
|
-
alias="inheritedEntitlements", default=None
|
|
460
|
-
)
|
|
461
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
462
|
-
alias="compatibleAddons", default=None
|
|
463
|
-
)
|
|
464
|
-
compatible_package_groups: Optional[
|
|
465
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
466
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
467
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
468
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
469
|
-
alias="overagePrices", default=None
|
|
470
|
-
)
|
|
471
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
472
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
473
|
-
alias="defaultTrialConfig", default=None
|
|
474
|
-
)
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
class PlanFragmentProduct(ProductFragment):
|
|
478
|
-
pass
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
482
|
-
ref_id: str = Field(alias="refId")
|
|
483
|
-
display_name: str = Field(alias="displayName")
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
487
|
-
pass
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
491
|
-
pass
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
495
|
-
pass
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
499
|
-
pass
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
class PlanFragmentPrices(PriceFragment):
|
|
503
|
-
pass
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
507
|
-
pass
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
511
|
-
duration: float
|
|
512
|
-
units: TrialPeriodUnits
|
|
513
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
514
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
515
|
-
alias="trialEndBehavior", default=None
|
|
516
|
-
)
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
520
|
-
limit: float
|
|
463
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
464
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
521
465
|
|
|
522
466
|
|
|
523
467
|
class SlimCustomerFragment(BaseModel):
|
|
@@ -537,33 +481,6 @@ class SlimCustomerFragment(BaseModel):
|
|
|
537
481
|
)
|
|
538
482
|
|
|
539
483
|
|
|
540
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
541
|
-
billing_id: str = Field(alias="billingId")
|
|
542
|
-
status: SubscriptionInvoiceStatus
|
|
543
|
-
created_at: Any = Field(alias="createdAt")
|
|
544
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
545
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
546
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
547
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
548
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
549
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
550
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
551
|
-
alias="billingReason", default=None
|
|
552
|
-
)
|
|
553
|
-
currency: Optional[str] = Field(default=None)
|
|
554
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
555
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
556
|
-
alias="subTotalExcludingTax", default=None
|
|
557
|
-
)
|
|
558
|
-
total: Optional[float] = Field(default=None)
|
|
559
|
-
total_excluding_tax: Optional[float] = Field(
|
|
560
|
-
alias="totalExcludingTax", default=None
|
|
561
|
-
)
|
|
562
|
-
tax: Optional[float] = Field(default=None)
|
|
563
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
564
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
565
|
-
|
|
566
|
-
|
|
567
484
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
568
485
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
569
486
|
alias="subscriptionScheduleType"
|
|
@@ -696,26 +613,192 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(Bas
|
|
|
696
613
|
quantity: float
|
|
697
614
|
|
|
698
615
|
|
|
699
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
700
|
-
BaseModel
|
|
701
|
-
):
|
|
702
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
703
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
704
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
616
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
617
|
+
BaseModel
|
|
618
|
+
):
|
|
619
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
620
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
621
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
625
|
+
BaseModel
|
|
626
|
+
):
|
|
627
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
628
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
629
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
633
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
634
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
635
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
class TotalPriceFragment(BaseModel):
|
|
639
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
640
|
+
total: "TotalPriceFragmentTotal"
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
644
|
+
amount: float
|
|
645
|
+
currency: Currency
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
649
|
+
amount: float
|
|
650
|
+
currency: Currency
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
class CustomerResourceFragment(BaseModel):
|
|
654
|
+
resource_id: str = Field(alias="resourceId")
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
658
|
+
billing_id: str = Field(alias="billingId")
|
|
659
|
+
status: SubscriptionInvoiceStatus
|
|
660
|
+
created_at: Any = Field(alias="createdAt")
|
|
661
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
662
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
663
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
664
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
665
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
666
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
667
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
668
|
+
alias="billingReason", default=None
|
|
669
|
+
)
|
|
670
|
+
currency: Optional[str] = Field(default=None)
|
|
671
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
672
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
673
|
+
alias="subTotalExcludingTax", default=None
|
|
674
|
+
)
|
|
675
|
+
total: Optional[float] = Field(default=None)
|
|
676
|
+
total_excluding_tax: Optional[float] = Field(
|
|
677
|
+
alias="totalExcludingTax", default=None
|
|
678
|
+
)
|
|
679
|
+
tax: Optional[float] = Field(default=None)
|
|
680
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
681
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
class ProductFragment(BaseModel):
|
|
685
|
+
ref_id: str = Field(alias="refId")
|
|
686
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
687
|
+
description: Optional[str] = Field(default=None)
|
|
688
|
+
additional_meta_data: Optional[Any] = Field(
|
|
689
|
+
alias="additionalMetaData", default=None
|
|
690
|
+
)
|
|
691
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
695
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
696
|
+
alias="downgradePlan", default=None
|
|
697
|
+
)
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
701
|
+
ref_id: str = Field(alias="refId")
|
|
702
|
+
display_name: str = Field(alias="displayName")
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
706
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
707
|
+
display_name: str = Field(alias="displayName")
|
|
708
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
709
|
+
default=None
|
|
710
|
+
)
|
|
711
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
715
|
+
pass
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
719
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
720
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
class PlanFragment(BaseModel):
|
|
724
|
+
id: str
|
|
725
|
+
ref_id: str = Field(alias="refId")
|
|
726
|
+
display_name: str = Field(alias="displayName")
|
|
727
|
+
description: Optional[str] = Field(default=None)
|
|
728
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
729
|
+
version_number: int = Field(alias="versionNumber")
|
|
730
|
+
additional_meta_data: Optional[Any] = Field(
|
|
731
|
+
alias="additionalMetaData", default=None
|
|
732
|
+
)
|
|
733
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
734
|
+
alias="hiddenFromWidgets", default=None
|
|
735
|
+
)
|
|
736
|
+
product: "PlanFragmentProduct"
|
|
737
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
738
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
739
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
740
|
+
alias="inheritedEntitlements", default=None
|
|
741
|
+
)
|
|
742
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
743
|
+
alias="compatibleAddons", default=None
|
|
744
|
+
)
|
|
745
|
+
compatible_package_groups: Optional[
|
|
746
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
747
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
748
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
749
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
750
|
+
alias="overagePrices", default=None
|
|
751
|
+
)
|
|
752
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
753
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
754
|
+
alias="defaultTrialConfig", default=None
|
|
755
|
+
)
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
class PlanFragmentProduct(ProductFragment):
|
|
759
|
+
pass
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
763
|
+
ref_id: str = Field(alias="refId")
|
|
764
|
+
display_name: str = Field(alias="displayName")
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
768
|
+
pass
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
772
|
+
pass
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
776
|
+
pass
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
780
|
+
pass
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
class PlanFragmentPrices(PriceFragment):
|
|
784
|
+
pass
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
788
|
+
pass
|
|
705
789
|
|
|
706
790
|
|
|
707
|
-
class
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
791
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
792
|
+
duration: float
|
|
793
|
+
units: TrialPeriodUnits
|
|
794
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
795
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
796
|
+
alias="trialEndBehavior", default=None
|
|
797
|
+
)
|
|
713
798
|
|
|
714
799
|
|
|
715
|
-
class
|
|
716
|
-
|
|
717
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
718
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
800
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
801
|
+
limit: float
|
|
719
802
|
|
|
720
803
|
|
|
721
804
|
class SubscriptionFragment(BaseModel):
|
|
@@ -827,89 +910,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
827
910
|
pass
|
|
828
911
|
|
|
829
912
|
|
|
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)
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
889
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
890
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
891
|
-
alias="monthlyAccordingTo", default=None
|
|
892
|
-
)
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
896
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
897
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
898
|
-
alias="weeklyAccordingTo", default=None
|
|
899
|
-
)
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
903
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
904
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
905
|
-
alias="yearlyAccordingTo", default=None
|
|
906
|
-
)
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
910
|
-
pass
|
|
911
|
-
|
|
912
|
-
|
|
913
913
|
class ApplySubscriptionFragment(BaseModel):
|
|
914
914
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
915
915
|
default=None
|
|
@@ -987,6 +987,35 @@ 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
|
+
|
|
990
1019
|
class CouponFragment(BaseModel):
|
|
991
1020
|
id: str
|
|
992
1021
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1021,35 +1050,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1021
1050
|
status: SyncStatus
|
|
1022
1051
|
|
|
1023
1052
|
|
|
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")
|
|
@@ -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")
|
|
@@ -2763,30 +2763,30 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2763
2763
|
|
|
2764
2764
|
|
|
2765
2765
|
AddonDependencyFragment.model_rebuild()
|
|
2766
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2766
2767
|
PriceTierFragment.model_rebuild()
|
|
2767
2768
|
PriceFragment.model_rebuild()
|
|
2768
2769
|
OveragePriceFragment.model_rebuild()
|
|
2769
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2770
2770
|
AddonFragment.model_rebuild()
|
|
2771
|
+
FeatureFragment.model_rebuild()
|
|
2772
|
+
EntitlementFragment.model_rebuild()
|
|
2773
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2774
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2775
|
+
SlimCustomerFragment.model_rebuild()
|
|
2776
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2771
2777
|
TotalPriceFragment.model_rebuild()
|
|
2772
2778
|
CustomerResourceFragment.model_rebuild()
|
|
2773
|
-
|
|
2774
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2779
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2775
2780
|
ProductFragment.model_rebuild()
|
|
2776
2781
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2777
2782
|
PlanFragment.model_rebuild()
|
|
2778
|
-
SlimCustomerFragment.model_rebuild()
|
|
2779
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2780
|
-
SubscriptionFutureUpdateData.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
|
-
CouponFragment.model_rebuild()
|
|
2789
2788
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2789
|
+
CouponFragment.model_rebuild()
|
|
2790
2790
|
CustomerFragment.model_rebuild()
|
|
2791
2791
|
CheckoutStateFragment.model_rebuild()
|
|
2792
2792
|
CustomerPortalBillingInformationFragment.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()
|
stigg/generated/input_types.py
CHANGED
|
@@ -3505,6 +3505,7 @@ class StringFieldComparison(BaseModel):
|
|
|
3505
3505
|
class StripeCredentialsInput(BaseModel):
|
|
3506
3506
|
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
3507
3507
|
authorization_code: str = Field(alias="authorizationCode")
|
|
3508
|
+
is_tax_enabled: Optional[bool] = Field(alias="isTaxEnabled", default=False)
|
|
3508
3509
|
is_test_mode: bool = Field(alias="isTestMode")
|
|
3509
3510
|
|
|
3510
3511
|
|
|
@@ -4341,7 +4342,7 @@ class UpdateIntegrationInput(BaseModel):
|
|
|
4341
4342
|
salesforce_credentials: Optional["SalesforceCredentialsInput"] = Field(
|
|
4342
4343
|
alias="salesforceCredentials", default=None
|
|
4343
4344
|
)
|
|
4344
|
-
stripe_credentials: Optional["
|
|
4345
|
+
stripe_credentials: Optional["UpdateStripeCredentialsInput"] = Field(
|
|
4345
4346
|
alias="stripeCredentials", default=None
|
|
4346
4347
|
)
|
|
4347
4348
|
vendor_identifier: VendorIdentifier = Field(alias="vendorIdentifier")
|
|
@@ -4391,6 +4392,10 @@ class UpdatePackageEntitlementOrderItemInput(BaseModel):
|
|
|
4391
4392
|
order: Optional[float] = None
|
|
4392
4393
|
|
|
4393
4394
|
|
|
4395
|
+
class UpdateStripeCredentialsInput(BaseModel):
|
|
4396
|
+
is_tax_enabled: Optional[bool] = Field(alias="isTaxEnabled", default=None)
|
|
4397
|
+
|
|
4398
|
+
|
|
4394
4399
|
class UpdateSubscriptionEntitlementInput(BaseModel):
|
|
4395
4400
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
4396
4401
|
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
@@ -106,7 +106,7 @@ stigg/_vendors/pydantic-2.6.4.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
106
106
|
stigg/_vendors/pydantic-2.6.4.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
107
107
|
stigg/_vendors/pydantic-2.6.4.dist-info/licenses/LICENSE,sha256=qeGG88oWte74QxjnpwFyE1GgDLe4rjpDlLZ7SeNSnvM,1129
|
|
108
108
|
stigg/client.py,sha256=RWrVnxo9zHFXka8KJVE4sMgyek70ispQk0vqOINCvM0,8335
|
|
109
|
-
stigg/generated/__init__.py,sha256=
|
|
109
|
+
stigg/generated/__init__.py,sha256=cMTTW3j7zYbdixcgYh7DF9_jnCE0F5HmxI_9589RIdQ,69074
|
|
110
110
|
stigg/generated/apply_subscription.py,sha256=Vbs-QZZxN16pUpt3Hp7Jvvcc5o_8xwJK9oTLQQjH0ZA,451
|
|
111
111
|
stigg/generated/archive_customer.py,sha256=3N3iBiT2Vvzfb0ckV3o57A6lmJ_ef7JNPaMX_Jtcg6c,396
|
|
112
112
|
stigg/generated/async_base_client.py,sha256=zqd6IhYxpalyA6KQkeGhXgSurC0vXSwSWmSlM2zZ0VM,12593
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=qWrohdIPTsA0omqBKnEiGAonNwjgF9yViJte1c9f5hM,3440
|
|
|
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=FdccW6CRXm0VOL4Q2jTD-aav5o3hjZNAgaaZW-eeBn0,100632
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -144,7 +144,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
144
144
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
145
145
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
146
146
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
147
|
-
stigg/generated/input_types.py,sha256=
|
|
147
|
+
stigg/generated/input_types.py,sha256=Qn-I8SXseik00p3NFAnSS93os67iomhBvs_v_Si2YHY,191489
|
|
148
148
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
149
149
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
150
150
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
163
|
+
stigg_api_client_v2-2.314.2.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.314.2.dist-info/METADATA,sha256=otLAMpbdcL97PamOKKAwxn-oA60RpuPtERp19Qn0UQk,2258
|
|
165
|
+
stigg_api_client_v2-2.314.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.314.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|