stigg-api-client-v2 3.26.5__py3-none-any.whl → 3.27.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/__init__.py +2 -0
- stigg/generated/fragments.py +369 -369
- stigg/generated/input_types.py +10 -1
- {stigg_api_client_v2-3.26.5.dist-info → stigg_api_client_v2-3.27.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.26.5.dist-info → stigg_api_client_v2-3.27.0.dist-info}/RECORD +7 -7
- {stigg_api_client_v2-3.26.5.dist-info → stigg_api_client_v2-3.27.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.26.5.dist-info → stigg_api_client_v2-3.27.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -906,6 +906,7 @@ from .input_types import (
|
|
|
906
906
|
UnArchiveFeatureGroupInput,
|
|
907
907
|
UnArchiveFeatureInput,
|
|
908
908
|
UnArchivePlanInput,
|
|
909
|
+
UnitsInput,
|
|
909
910
|
UnitTransformationInput,
|
|
910
911
|
UnlinkFeatureGroupFromPackageInput,
|
|
911
912
|
UpdateAccountInput,
|
|
@@ -1872,6 +1873,7 @@ __all__ = [
|
|
|
1872
1873
|
"UnarchiveEnvironmentInput",
|
|
1873
1874
|
"UnitTransformationInput",
|
|
1874
1875
|
"UnitTransformationRound",
|
|
1876
|
+
"UnitsInput",
|
|
1875
1877
|
"UnlinkFeatureGroupFromPackageInput",
|
|
1876
1878
|
"UpdateAccountInput",
|
|
1877
1879
|
"UpdateCouponInput",
|
stigg/generated/fragments.py
CHANGED
|
@@ -112,40 +112,6 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
112
112
|
description: Optional[str] = Field(default=None)
|
|
113
113
|
|
|
114
114
|
|
|
115
|
-
class PackageEntitlementFragment(BaseModel):
|
|
116
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
117
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
118
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
119
|
-
feature_id: str = Field(alias="featureId")
|
|
120
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
121
|
-
alias="resetPeriod", default=None
|
|
122
|
-
)
|
|
123
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
124
|
-
alias="hiddenFromWidgets", default=None
|
|
125
|
-
)
|
|
126
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
127
|
-
display_name_override: Optional[str] = Field(
|
|
128
|
-
alias="displayNameOverride", default=None
|
|
129
|
-
)
|
|
130
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
131
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
135
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
136
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
137
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
138
|
-
feature_units_plural: Optional[str] = Field(
|
|
139
|
-
alias="featureUnitsPlural", default=None
|
|
140
|
-
)
|
|
141
|
-
display_name: str = Field(alias="displayName")
|
|
142
|
-
description: Optional[str] = Field(default=None)
|
|
143
|
-
ref_id: str = Field(alias="refId")
|
|
144
|
-
additional_meta_data: Optional[Any] = Field(
|
|
145
|
-
alias="additionalMetaData", default=None
|
|
146
|
-
)
|
|
147
|
-
|
|
148
|
-
|
|
149
115
|
class PriceFragment(BaseModel):
|
|
150
116
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
151
117
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -190,6 +156,40 @@ class PriceFragmentFeature(BaseModel):
|
|
|
190
156
|
description: Optional[str] = Field(default=None)
|
|
191
157
|
|
|
192
158
|
|
|
159
|
+
class PackageEntitlementFragment(BaseModel):
|
|
160
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
161
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
162
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
163
|
+
feature_id: str = Field(alias="featureId")
|
|
164
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
165
|
+
alias="resetPeriod", default=None
|
|
166
|
+
)
|
|
167
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
168
|
+
alias="hiddenFromWidgets", default=None
|
|
169
|
+
)
|
|
170
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
171
|
+
display_name_override: Optional[str] = Field(
|
|
172
|
+
alias="displayNameOverride", default=None
|
|
173
|
+
)
|
|
174
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
175
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
179
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
180
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
181
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
182
|
+
feature_units_plural: Optional[str] = Field(
|
|
183
|
+
alias="featureUnitsPlural", default=None
|
|
184
|
+
)
|
|
185
|
+
display_name: str = Field(alias="displayName")
|
|
186
|
+
description: Optional[str] = Field(default=None)
|
|
187
|
+
ref_id: str = Field(alias="refId")
|
|
188
|
+
additional_meta_data: Optional[Any] = Field(
|
|
189
|
+
alias="additionalMetaData", default=None
|
|
190
|
+
)
|
|
191
|
+
|
|
192
|
+
|
|
193
193
|
class AddonFragment(BaseModel):
|
|
194
194
|
id: Any
|
|
195
195
|
ref_id: str = Field(alias="refId")
|
|
@@ -228,89 +228,71 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
228
228
|
pass
|
|
229
229
|
|
|
230
230
|
|
|
231
|
-
class
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
alias="featureUnitsPlural", default=None
|
|
238
|
-
)
|
|
239
|
-
description: Optional[str] = Field(default=None)
|
|
240
|
-
display_name: str = Field(alias="displayName")
|
|
231
|
+
class SlimCustomerFragment(BaseModel):
|
|
232
|
+
id: Any
|
|
233
|
+
name: Optional[str] = Field(default=None)
|
|
234
|
+
email: Optional[str] = Field(default=None)
|
|
235
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
236
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
241
237
|
ref_id: str = Field(alias="refId")
|
|
242
|
-
|
|
243
|
-
|
|
238
|
+
customer_id: str = Field(alias="customerId")
|
|
239
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
240
|
+
additional_meta_data: Optional[Any] = Field(
|
|
241
|
+
alias="additionalMetaData", default=None
|
|
242
|
+
)
|
|
243
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
244
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
244
245
|
)
|
|
245
246
|
|
|
246
247
|
|
|
247
|
-
class
|
|
248
|
-
|
|
249
|
-
round: UnitTransformationRound
|
|
248
|
+
class CustomerResourceFragment(BaseModel):
|
|
249
|
+
resource_id: str = Field(alias="resourceId")
|
|
250
250
|
|
|
251
251
|
|
|
252
|
-
class
|
|
253
|
-
|
|
254
|
-
is_granted: bool = Field(alias="isGranted")
|
|
255
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
256
|
-
alias="accessDeniedReason", default=None
|
|
257
|
-
)
|
|
258
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
259
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
260
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
261
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
262
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
263
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
264
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
265
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
266
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
267
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
268
|
-
alias="entitlementUpdatedAt", default=None
|
|
269
|
-
)
|
|
270
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
271
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
272
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
273
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
274
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
275
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
276
|
-
alias="resetPeriod", default=None
|
|
277
|
-
)
|
|
278
|
-
reset_period_configuration: Optional[
|
|
279
|
-
Annotated[
|
|
280
|
-
Union[
|
|
281
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
282
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
283
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
284
|
-
],
|
|
285
|
-
Field(discriminator="typename__"),
|
|
286
|
-
]
|
|
287
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
288
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
252
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
253
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
289
254
|
|
|
290
255
|
|
|
291
|
-
class
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
256
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
257
|
+
billing_id: str = Field(alias="billingId")
|
|
258
|
+
status: SubscriptionInvoiceStatus
|
|
259
|
+
created_at: Any = Field(alias="createdAt")
|
|
260
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
261
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
262
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
263
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
264
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
265
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
266
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
267
|
+
alias="billingReason", default=None
|
|
268
|
+
)
|
|
269
|
+
currency: Optional[str] = Field(default=None)
|
|
270
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
271
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
272
|
+
alias="subTotalExcludingTax", default=None
|
|
295
273
|
)
|
|
274
|
+
total: Optional[float] = Field(default=None)
|
|
275
|
+
total_excluding_tax: Optional[float] = Field(
|
|
276
|
+
alias="totalExcludingTax", default=None
|
|
277
|
+
)
|
|
278
|
+
tax: Optional[float] = Field(default=None)
|
|
279
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
280
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
296
281
|
|
|
297
282
|
|
|
298
|
-
class
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
alias="weeklyAccordingTo", default=None
|
|
302
|
-
)
|
|
283
|
+
class TotalPriceFragment(BaseModel):
|
|
284
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
285
|
+
total: "TotalPriceFragmentTotal"
|
|
303
286
|
|
|
304
287
|
|
|
305
|
-
class
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
alias="yearlyAccordingTo", default=None
|
|
309
|
-
)
|
|
288
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
289
|
+
amount: float
|
|
290
|
+
currency: Currency
|
|
310
291
|
|
|
311
292
|
|
|
312
|
-
class
|
|
313
|
-
|
|
293
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
294
|
+
amount: float
|
|
295
|
+
currency: Currency
|
|
314
296
|
|
|
315
297
|
|
|
316
298
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -475,6 +457,126 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
475
457
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
476
458
|
|
|
477
459
|
|
|
460
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
461
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
462
|
+
display_name: str = Field(alias="displayName")
|
|
463
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
464
|
+
default=None
|
|
465
|
+
)
|
|
466
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
470
|
+
pass
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
474
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
475
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
class ProductFragment(BaseModel):
|
|
479
|
+
ref_id: str = Field(alias="refId")
|
|
480
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
481
|
+
description: Optional[str] = Field(default=None)
|
|
482
|
+
additional_meta_data: Optional[Any] = Field(
|
|
483
|
+
alias="additionalMetaData", default=None
|
|
484
|
+
)
|
|
485
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
489
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
490
|
+
alias="downgradePlan", default=None
|
|
491
|
+
)
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
495
|
+
ref_id: str = Field(alias="refId")
|
|
496
|
+
display_name: str = Field(alias="displayName")
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
class PlanFragment(BaseModel):
|
|
500
|
+
id: Any
|
|
501
|
+
ref_id: str = Field(alias="refId")
|
|
502
|
+
display_name: str = Field(alias="displayName")
|
|
503
|
+
description: Optional[str] = Field(default=None)
|
|
504
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
505
|
+
version_number: int = Field(alias="versionNumber")
|
|
506
|
+
additional_meta_data: Optional[Any] = Field(
|
|
507
|
+
alias="additionalMetaData", default=None
|
|
508
|
+
)
|
|
509
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
510
|
+
alias="hiddenFromWidgets", default=None
|
|
511
|
+
)
|
|
512
|
+
product: "PlanFragmentProduct"
|
|
513
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
514
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
515
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
516
|
+
alias="inheritedEntitlements", default=None
|
|
517
|
+
)
|
|
518
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
519
|
+
alias="compatibleAddons", default=None
|
|
520
|
+
)
|
|
521
|
+
compatible_package_groups: Optional[
|
|
522
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
523
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
524
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
525
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
526
|
+
alias="overagePrices", default=None
|
|
527
|
+
)
|
|
528
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
529
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
530
|
+
alias="defaultTrialConfig", default=None
|
|
531
|
+
)
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
class PlanFragmentProduct(ProductFragment):
|
|
535
|
+
pass
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
539
|
+
ref_id: str = Field(alias="refId")
|
|
540
|
+
display_name: str = Field(alias="displayName")
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
544
|
+
pass
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
548
|
+
pass
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
552
|
+
pass
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
556
|
+
pass
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
class PlanFragmentPrices(PriceFragment):
|
|
560
|
+
pass
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
564
|
+
pass
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
568
|
+
duration: float
|
|
569
|
+
units: TrialPeriodUnits
|
|
570
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
571
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
572
|
+
alias="trialEndBehavior", default=None
|
|
573
|
+
)
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
577
|
+
limit: float
|
|
578
|
+
|
|
579
|
+
|
|
478
580
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
479
581
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
480
582
|
alias="subscriptionScheduleType"
|
|
@@ -607,213 +709,26 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(Bas
|
|
|
607
709
|
quantity: float
|
|
608
710
|
|
|
609
711
|
|
|
610
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
611
|
-
BaseModel
|
|
612
|
-
):
|
|
613
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
614
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
615
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
619
|
-
BaseModel
|
|
620
|
-
):
|
|
621
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
622
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
623
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
627
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
628
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
629
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
class ProductFragment(BaseModel):
|
|
633
|
-
ref_id: str = Field(alias="refId")
|
|
634
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
635
|
-
description: Optional[str] = Field(default=None)
|
|
636
|
-
additional_meta_data: Optional[Any] = Field(
|
|
637
|
-
alias="additionalMetaData", default=None
|
|
638
|
-
)
|
|
639
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
643
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
644
|
-
alias="downgradePlan", default=None
|
|
645
|
-
)
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
649
|
-
ref_id: str = Field(alias="refId")
|
|
650
|
-
display_name: str = Field(alias="displayName")
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
654
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
655
|
-
display_name: str = Field(alias="displayName")
|
|
656
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
657
|
-
default=None
|
|
658
|
-
)
|
|
659
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
663
|
-
pass
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
667
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
668
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
class PlanFragment(BaseModel):
|
|
672
|
-
id: Any
|
|
673
|
-
ref_id: str = Field(alias="refId")
|
|
674
|
-
display_name: str = Field(alias="displayName")
|
|
675
|
-
description: Optional[str] = Field(default=None)
|
|
676
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
677
|
-
version_number: int = Field(alias="versionNumber")
|
|
678
|
-
additional_meta_data: Optional[Any] = Field(
|
|
679
|
-
alias="additionalMetaData", default=None
|
|
680
|
-
)
|
|
681
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
682
|
-
alias="hiddenFromWidgets", default=None
|
|
683
|
-
)
|
|
684
|
-
product: "PlanFragmentProduct"
|
|
685
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
686
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
687
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
688
|
-
alias="inheritedEntitlements", default=None
|
|
689
|
-
)
|
|
690
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
691
|
-
alias="compatibleAddons", default=None
|
|
692
|
-
)
|
|
693
|
-
compatible_package_groups: Optional[
|
|
694
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
695
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
696
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
697
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
698
|
-
alias="overagePrices", default=None
|
|
699
|
-
)
|
|
700
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
701
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
702
|
-
alias="defaultTrialConfig", default=None
|
|
703
|
-
)
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
class PlanFragmentProduct(ProductFragment):
|
|
707
|
-
pass
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
711
|
-
ref_id: str = Field(alias="refId")
|
|
712
|
-
display_name: str = Field(alias="displayName")
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
716
|
-
pass
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
720
|
-
pass
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
724
|
-
pass
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
728
|
-
pass
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
class PlanFragmentPrices(PriceFragment):
|
|
732
|
-
pass
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
736
|
-
pass
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
740
|
-
duration: float
|
|
741
|
-
units: TrialPeriodUnits
|
|
742
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
743
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
744
|
-
alias="trialEndBehavior", default=None
|
|
745
|
-
)
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
749
|
-
limit: float
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
class SlimCustomerFragment(BaseModel):
|
|
753
|
-
id: Any
|
|
754
|
-
name: Optional[str] = Field(default=None)
|
|
755
|
-
email: Optional[str] = Field(default=None)
|
|
756
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
757
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
758
|
-
ref_id: str = Field(alias="refId")
|
|
759
|
-
customer_id: str = Field(alias="customerId")
|
|
760
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
761
|
-
additional_meta_data: Optional[Any] = Field(
|
|
762
|
-
alias="additionalMetaData", default=None
|
|
763
|
-
)
|
|
764
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
765
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
766
|
-
)
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
class CustomerResourceFragment(BaseModel):
|
|
770
|
-
resource_id: str = Field(alias="resourceId")
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
class TotalPriceFragment(BaseModel):
|
|
774
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
775
|
-
total: "TotalPriceFragmentTotal"
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
779
|
-
amount: float
|
|
780
|
-
currency: Currency
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
784
|
-
amount: float
|
|
785
|
-
currency: Currency
|
|
712
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
713
|
+
BaseModel
|
|
714
|
+
):
|
|
715
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
716
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
717
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
786
718
|
|
|
787
719
|
|
|
788
|
-
class
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
795
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
796
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
797
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
798
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
799
|
-
alias="billingReason", default=None
|
|
800
|
-
)
|
|
801
|
-
currency: Optional[str] = Field(default=None)
|
|
802
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
803
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
804
|
-
alias="subTotalExcludingTax", default=None
|
|
805
|
-
)
|
|
806
|
-
total: Optional[float] = Field(default=None)
|
|
807
|
-
total_excluding_tax: Optional[float] = Field(
|
|
808
|
-
alias="totalExcludingTax", default=None
|
|
809
|
-
)
|
|
810
|
-
tax: Optional[float] = Field(default=None)
|
|
811
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
812
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
720
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
721
|
+
BaseModel
|
|
722
|
+
):
|
|
723
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
724
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
725
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
813
726
|
|
|
814
727
|
|
|
815
|
-
class
|
|
816
|
-
|
|
728
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
729
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
730
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
731
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
817
732
|
|
|
818
733
|
|
|
819
734
|
class SubscriptionFragment(BaseModel):
|
|
@@ -925,6 +840,91 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
925
840
|
pass
|
|
926
841
|
|
|
927
842
|
|
|
843
|
+
class FeatureFragment(BaseModel):
|
|
844
|
+
typename__: str = Field(alias="__typename")
|
|
845
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
846
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
847
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
848
|
+
feature_units_plural: Optional[str] = Field(
|
|
849
|
+
alias="featureUnitsPlural", default=None
|
|
850
|
+
)
|
|
851
|
+
description: Optional[str] = Field(default=None)
|
|
852
|
+
display_name: str = Field(alias="displayName")
|
|
853
|
+
ref_id: str = Field(alias="refId")
|
|
854
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
855
|
+
alias="unitTransformation", default=None
|
|
856
|
+
)
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
860
|
+
divide: float
|
|
861
|
+
round: UnitTransformationRound
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
class EntitlementFragment(BaseModel):
|
|
865
|
+
typename__: str = Field(alias="__typename")
|
|
866
|
+
is_granted: bool = Field(alias="isGranted")
|
|
867
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
868
|
+
alias="accessDeniedReason", default=None
|
|
869
|
+
)
|
|
870
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
871
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
872
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
873
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
874
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
875
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
876
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
877
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
878
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
879
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
880
|
+
alias="entitlementUpdatedAt", default=None
|
|
881
|
+
)
|
|
882
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
883
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
884
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
885
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
886
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
887
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
888
|
+
alias="resetPeriod", default=None
|
|
889
|
+
)
|
|
890
|
+
reset_period_configuration: Optional[
|
|
891
|
+
Annotated[
|
|
892
|
+
Union[
|
|
893
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
894
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
895
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
896
|
+
],
|
|
897
|
+
Field(discriminator="typename__"),
|
|
898
|
+
]
|
|
899
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
900
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
904
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
905
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
906
|
+
alias="monthlyAccordingTo", default=None
|
|
907
|
+
)
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
911
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
912
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
913
|
+
alias="weeklyAccordingTo", default=None
|
|
914
|
+
)
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
918
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
919
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
920
|
+
alias="yearlyAccordingTo", default=None
|
|
921
|
+
)
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
925
|
+
pass
|
|
926
|
+
|
|
927
|
+
|
|
928
928
|
class ApplySubscriptionFragment(BaseModel):
|
|
929
929
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
930
930
|
default=None
|
|
@@ -1271,6 +1271,16 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1271
1271
|
pass
|
|
1272
1272
|
|
|
1273
1273
|
|
|
1274
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1275
|
+
display_name: str = Field(alias="displayName")
|
|
1276
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1277
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1278
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1279
|
+
period: PromotionalEntitlementPeriod
|
|
1280
|
+
start_date: Any = Field(alias="startDate")
|
|
1281
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1282
|
+
|
|
1283
|
+
|
|
1274
1284
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1275
1285
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1276
1286
|
alias="subscriptionScheduleType"
|
|
@@ -1440,13 +1450,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1440
1450
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1441
1451
|
|
|
1442
1452
|
|
|
1443
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1444
|
-
addon_id: str = Field(alias="addonId")
|
|
1445
|
-
description: Optional[str] = Field(default=None)
|
|
1446
|
-
display_name: str = Field(alias="displayName")
|
|
1447
|
-
quantity: int
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
1453
|
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1451
1454
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1452
1455
|
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
@@ -1482,6 +1485,13 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1482
1485
|
)
|
|
1483
1486
|
|
|
1484
1487
|
|
|
1488
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1489
|
+
addon_id: str = Field(alias="addonId")
|
|
1490
|
+
description: Optional[str] = Field(default=None)
|
|
1491
|
+
display_name: str = Field(alias="displayName")
|
|
1492
|
+
quantity: int
|
|
1493
|
+
|
|
1494
|
+
|
|
1485
1495
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1486
1496
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1487
1497
|
plan_id: str = Field(alias="planId")
|
|
@@ -1586,16 +1596,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1586
1596
|
pass
|
|
1587
1597
|
|
|
1588
1598
|
|
|
1589
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1590
|
-
display_name: str = Field(alias="displayName")
|
|
1591
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1592
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1593
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1594
|
-
period: PromotionalEntitlementPeriod
|
|
1595
|
-
start_date: Any = Field(alias="startDate")
|
|
1596
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
1599
|
class CustomerPortalFragment(BaseModel):
|
|
1600
1600
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1601
1601
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1823,6 +1823,40 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1823
1823
|
description: Optional[str] = Field(default=None)
|
|
1824
1824
|
|
|
1825
1825
|
|
|
1826
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1827
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1828
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1829
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1830
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1831
|
+
alias="resetPeriod", default=None
|
|
1832
|
+
)
|
|
1833
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1834
|
+
alias="hiddenFromWidgets", default=None
|
|
1835
|
+
)
|
|
1836
|
+
display_name_override: Optional[str] = Field(
|
|
1837
|
+
alias="displayNameOverride", default=None
|
|
1838
|
+
)
|
|
1839
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1840
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1841
|
+
default=None
|
|
1842
|
+
)
|
|
1843
|
+
|
|
1844
|
+
|
|
1845
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1846
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1847
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1848
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1849
|
+
feature_units_plural: Optional[str] = Field(
|
|
1850
|
+
alias="featureUnitsPlural", default=None
|
|
1851
|
+
)
|
|
1852
|
+
display_name: str = Field(alias="displayName")
|
|
1853
|
+
description: Optional[str] = Field(default=None)
|
|
1854
|
+
ref_id: str = Field(alias="refId")
|
|
1855
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1856
|
+
alias="additionalMetaData", default=None
|
|
1857
|
+
)
|
|
1858
|
+
|
|
1859
|
+
|
|
1826
1860
|
class MockPaywallPriceFragment(BaseModel):
|
|
1827
1861
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1828
1862
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1865,40 +1899,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1865
1899
|
display_name: str = Field(alias="displayName")
|
|
1866
1900
|
|
|
1867
1901
|
|
|
1868
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1869
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1870
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1871
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1872
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1873
|
-
alias="resetPeriod", default=None
|
|
1874
|
-
)
|
|
1875
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1876
|
-
alias="hiddenFromWidgets", default=None
|
|
1877
|
-
)
|
|
1878
|
-
display_name_override: Optional[str] = Field(
|
|
1879
|
-
alias="displayNameOverride", default=None
|
|
1880
|
-
)
|
|
1881
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1882
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1883
|
-
default=None
|
|
1884
|
-
)
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1888
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1889
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1890
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1891
|
-
feature_units_plural: Optional[str] = Field(
|
|
1892
|
-
alias="featureUnitsPlural", default=None
|
|
1893
|
-
)
|
|
1894
|
-
display_name: str = Field(alias="displayName")
|
|
1895
|
-
description: Optional[str] = Field(default=None)
|
|
1896
|
-
ref_id: str = Field(alias="refId")
|
|
1897
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1898
|
-
alias="additionalMetaData", default=None
|
|
1899
|
-
)
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
1902
|
class MockPaywallAddonFragment(BaseModel):
|
|
1903
1903
|
ref_id: str = Field(alias="refId")
|
|
1904
1904
|
display_name: str = Field(alias="displayName")
|
|
@@ -2874,22 +2874,22 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2874
2874
|
AddonDependencyFragment.model_rebuild()
|
|
2875
2875
|
PriceTierFragment.model_rebuild()
|
|
2876
2876
|
OveragePriceFragment.model_rebuild()
|
|
2877
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2878
2877
|
PriceFragment.model_rebuild()
|
|
2878
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2879
2879
|
AddonFragment.model_rebuild()
|
|
2880
|
-
FeatureFragment.model_rebuild()
|
|
2881
|
-
EntitlementFragment.model_rebuild()
|
|
2882
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2883
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2884
|
-
ProductFragment.model_rebuild()
|
|
2885
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2886
|
-
PlanFragment.model_rebuild()
|
|
2887
2880
|
SlimCustomerFragment.model_rebuild()
|
|
2888
2881
|
CustomerResourceFragment.model_rebuild()
|
|
2889
|
-
TotalPriceFragment.model_rebuild()
|
|
2890
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2891
2882
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2883
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2884
|
+
TotalPriceFragment.model_rebuild()
|
|
2885
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2886
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2887
|
+
ProductFragment.model_rebuild()
|
|
2888
|
+
PlanFragment.model_rebuild()
|
|
2889
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2892
2890
|
SubscriptionFragment.model_rebuild()
|
|
2891
|
+
FeatureFragment.model_rebuild()
|
|
2892
|
+
EntitlementFragment.model_rebuild()
|
|
2893
2893
|
ApplySubscriptionFragment.model_rebuild()
|
|
2894
2894
|
FontVariantFragment.model_rebuild()
|
|
2895
2895
|
TypographyConfigurationFragment.model_rebuild()
|
|
@@ -2901,11 +2901,11 @@ CheckoutStateFragment.model_rebuild()
|
|
|
2901
2901
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2902
2902
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2903
2903
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2904
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2904
2905
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2905
|
-
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2906
2906
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2907
|
+
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2907
2908
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2908
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2909
2909
|
CustomerPortalFragment.model_rebuild()
|
|
2910
2910
|
CustomerStatisticsFragment.model_rebuild()
|
|
2911
2911
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2915,8 +2915,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2915
2915
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2916
2916
|
LayoutConfigurationFragment.model_rebuild()
|
|
2917
2917
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2918
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2919
2918
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2919
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2920
2920
|
MockPaywallAddonFragment.model_rebuild()
|
|
2921
2921
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2922
2922
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -835,9 +835,11 @@ class CustomCurrencyInput(BaseModel):
|
|
|
835
835
|
alias="additionalMetaData", default=None
|
|
836
836
|
)
|
|
837
837
|
currency_id: str = Field(alias="currencyId")
|
|
838
|
+
description: Optional[str] = None
|
|
838
839
|
display_name: str = Field(alias="displayName")
|
|
839
840
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
840
|
-
symbol: str
|
|
841
|
+
symbol: Optional[str] = None
|
|
842
|
+
units: Optional["UnitsInput"] = None
|
|
841
843
|
|
|
842
844
|
|
|
843
845
|
class CustomerBillingInfo(BaseModel):
|
|
@@ -4535,6 +4537,11 @@ class UnitTransformationInput(BaseModel):
|
|
|
4535
4537
|
round: Optional[UnitTransformationRound] = UnitTransformationRound.UP
|
|
4536
4538
|
|
|
4537
4539
|
|
|
4540
|
+
class UnitsInput(BaseModel):
|
|
4541
|
+
plural: str
|
|
4542
|
+
singular: str
|
|
4543
|
+
|
|
4544
|
+
|
|
4538
4545
|
class UnlinkFeatureGroupFromPackageInput(BaseModel):
|
|
4539
4546
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
4540
4547
|
feature_group_id: Any = Field(alias="featureGroupId")
|
|
@@ -4589,9 +4596,11 @@ class UpdateCustomCurrencyInput(BaseModel):
|
|
|
4589
4596
|
alias="additionalMetaData", default=None
|
|
4590
4597
|
)
|
|
4591
4598
|
currency_id: str = Field(alias="currencyId")
|
|
4599
|
+
description: Optional[str] = None
|
|
4592
4600
|
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
4593
4601
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
4594
4602
|
symbol: Optional[str] = None
|
|
4603
|
+
units: Optional["UnitsInput"] = None
|
|
4595
4604
|
|
|
4596
4605
|
|
|
4597
4606
|
class UpdateCustomerInput(BaseModel):
|
|
@@ -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=kGdKmvYH3Hh7QIivvckTahB7_-fRucPg98OadpSQQAQ,72853
|
|
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=asjaGM369pxIj2wWuFtgq6mA-p_9U-otD9cP2baB-mQ,3774
|
|
|
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=24-8EHq3vKnCfnpad_fW-JkTzDCQVnMenArCtUGVpAI,104912
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -145,7 +145,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
145
145
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
146
146
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
147
147
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
148
|
-
stigg/generated/input_types.py,sha256=
|
|
148
|
+
stigg/generated/input_types.py,sha256=8Qpl0PT8pyK_bsG5U4bR-pgqY375JDUpdxGWJjSXves,205685
|
|
149
149
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
150
150
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
151
151
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -161,7 +161,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
161
161
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
162
162
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
163
163
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
164
|
-
stigg_api_client_v2-3.
|
|
165
|
-
stigg_api_client_v2-3.
|
|
166
|
-
stigg_api_client_v2-3.
|
|
167
|
-
stigg_api_client_v2-3.
|
|
164
|
+
stigg_api_client_v2-3.27.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-3.27.0.dist-info/METADATA,sha256=lpMD4OxzYkb1FMfwR2qAnQ0BnhwPORjqdU3lrB375rY,2257
|
|
166
|
+
stigg_api_client_v2-3.27.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-3.27.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|