stigg-api-client-v2 3.65.0__py3-none-any.whl → 3.66.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/__init__.py +2 -0
- stigg/generated/enums.py +1 -0
- stigg/generated/fragments.py +378 -378
- stigg/generated/input_types.py +9 -0
- {stigg_api_client_v2-3.65.0.dist-info → stigg_api_client_v2-3.66.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.65.0.dist-info → stigg_api_client_v2-3.66.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-3.65.0.dist-info → stigg_api_client_v2-3.66.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.65.0.dist-info → stigg_api_client_v2-3.66.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -805,6 +805,7 @@ from .input_types import (
|
|
|
805
805
|
PackagePublishInput,
|
|
806
806
|
PackageStatusFilterComparison,
|
|
807
807
|
PaymentCollectionFilterComparison,
|
|
808
|
+
PaymentSessionInput,
|
|
808
809
|
PaywallColorsPaletteInput,
|
|
809
810
|
PaywallConfigurationInput,
|
|
810
811
|
PaywallLayoutConfigurationInput,
|
|
@@ -1541,6 +1542,7 @@ __all__ = [
|
|
|
1541
1542
|
"PaymentCollectionFilterComparison",
|
|
1542
1543
|
"PaymentCollectionMethod",
|
|
1543
1544
|
"PaymentMethodType",
|
|
1545
|
+
"PaymentSessionInput",
|
|
1544
1546
|
"PaywallCalculatedPricePointsFragment",
|
|
1545
1547
|
"PaywallCalculatedPricePointsFragmentFeature",
|
|
1546
1548
|
"PaywallColorsPaletteInput",
|
stigg/generated/enums.py
CHANGED
stigg/generated/fragments.py
CHANGED
|
@@ -61,6 +61,58 @@ class AddonDependencyFragment(BaseModel):
|
|
|
61
61
|
description: Optional[str] = Field(default=None)
|
|
62
62
|
|
|
63
63
|
|
|
64
|
+
class PriceTierFragment(BaseModel):
|
|
65
|
+
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
66
|
+
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
67
|
+
alias="unitPrice", default=None
|
|
68
|
+
)
|
|
69
|
+
flat_price: Optional["PriceTierFragmentFlatPrice"] = Field(
|
|
70
|
+
alias="flatPrice", default=None
|
|
71
|
+
)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
class PriceTierFragmentUnitPrice(BaseModel):
|
|
75
|
+
amount: float
|
|
76
|
+
currency: Currency
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
class PriceTierFragmentFlatPrice(BaseModel):
|
|
80
|
+
amount: float
|
|
81
|
+
currency: Currency
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
class OveragePriceFragment(BaseModel):
|
|
85
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
86
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
87
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
88
|
+
billing_country_code: Optional[str] = Field(
|
|
89
|
+
alias="billingCountryCode", default=None
|
|
90
|
+
)
|
|
91
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
92
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
93
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
94
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
98
|
+
amount: float
|
|
99
|
+
currency: Currency
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
103
|
+
pass
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
107
|
+
ref_id: str = Field(alias="refId")
|
|
108
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
109
|
+
feature_units_plural: Optional[str] = Field(
|
|
110
|
+
alias="featureUnitsPlural", default=None
|
|
111
|
+
)
|
|
112
|
+
display_name: str = Field(alias="displayName")
|
|
113
|
+
description: Optional[str] = Field(default=None)
|
|
114
|
+
|
|
115
|
+
|
|
64
116
|
class PackageEntitlementFragment(BaseModel):
|
|
65
117
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
66
118
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -96,26 +148,6 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
96
148
|
)
|
|
97
149
|
|
|
98
150
|
|
|
99
|
-
class PriceTierFragment(BaseModel):
|
|
100
|
-
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
101
|
-
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
102
|
-
alias="unitPrice", default=None
|
|
103
|
-
)
|
|
104
|
-
flat_price: Optional["PriceTierFragmentFlatPrice"] = Field(
|
|
105
|
-
alias="flatPrice", default=None
|
|
106
|
-
)
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
class PriceTierFragmentUnitPrice(BaseModel):
|
|
110
|
-
amount: float
|
|
111
|
-
currency: Currency
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
class PriceTierFragmentFlatPrice(BaseModel):
|
|
115
|
-
amount: float
|
|
116
|
-
currency: Currency
|
|
117
|
-
|
|
118
|
-
|
|
119
151
|
class PriceFragment(BaseModel):
|
|
120
152
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
121
153
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -160,38 +192,6 @@ class PriceFragmentFeature(BaseModel):
|
|
|
160
192
|
description: Optional[str] = Field(default=None)
|
|
161
193
|
|
|
162
194
|
|
|
163
|
-
class OveragePriceFragment(BaseModel):
|
|
164
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
165
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
166
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
167
|
-
billing_country_code: Optional[str] = Field(
|
|
168
|
-
alias="billingCountryCode", default=None
|
|
169
|
-
)
|
|
170
|
-
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
171
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
172
|
-
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
173
|
-
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
class OveragePriceFragmentPrice(BaseModel):
|
|
177
|
-
amount: float
|
|
178
|
-
currency: Currency
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
182
|
-
pass
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
class OveragePriceFragmentFeature(BaseModel):
|
|
186
|
-
ref_id: str = Field(alias="refId")
|
|
187
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
188
|
-
feature_units_plural: Optional[str] = Field(
|
|
189
|
-
alias="featureUnitsPlural", default=None
|
|
190
|
-
)
|
|
191
|
-
display_name: str = Field(alias="displayName")
|
|
192
|
-
description: Optional[str] = Field(default=None)
|
|
193
|
-
|
|
194
|
-
|
|
195
195
|
class AddonFragment(BaseModel):
|
|
196
196
|
id: Any
|
|
197
197
|
ref_id: str = Field(alias="refId")
|
|
@@ -230,6 +230,91 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
230
230
|
pass
|
|
231
231
|
|
|
232
232
|
|
|
233
|
+
class FeatureFragment(BaseModel):
|
|
234
|
+
typename__: str = Field(alias="__typename")
|
|
235
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
236
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
237
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
238
|
+
feature_units_plural: Optional[str] = Field(
|
|
239
|
+
alias="featureUnitsPlural", default=None
|
|
240
|
+
)
|
|
241
|
+
description: Optional[str] = Field(default=None)
|
|
242
|
+
display_name: str = Field(alias="displayName")
|
|
243
|
+
ref_id: str = Field(alias="refId")
|
|
244
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
245
|
+
alias="unitTransformation", default=None
|
|
246
|
+
)
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
250
|
+
divide: float
|
|
251
|
+
round: UnitTransformationRound
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
class EntitlementFragment(BaseModel):
|
|
255
|
+
typename__: str = Field(alias="__typename")
|
|
256
|
+
is_granted: bool = Field(alias="isGranted")
|
|
257
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
258
|
+
alias="accessDeniedReason", default=None
|
|
259
|
+
)
|
|
260
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
261
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
262
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
263
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
264
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
265
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
266
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
267
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
268
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
269
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
270
|
+
alias="entitlementUpdatedAt", default=None
|
|
271
|
+
)
|
|
272
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
273
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
274
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
275
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
276
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
277
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
278
|
+
alias="resetPeriod", default=None
|
|
279
|
+
)
|
|
280
|
+
reset_period_configuration: Optional[
|
|
281
|
+
Annotated[
|
|
282
|
+
Union[
|
|
283
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
284
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
285
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
286
|
+
],
|
|
287
|
+
Field(discriminator="typename__"),
|
|
288
|
+
]
|
|
289
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
290
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
294
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
295
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
296
|
+
alias="monthlyAccordingTo", default=None
|
|
297
|
+
)
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
301
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
302
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
303
|
+
alias="weeklyAccordingTo", default=None
|
|
304
|
+
)
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
308
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
309
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
310
|
+
alias="yearlyAccordingTo", default=None
|
|
311
|
+
)
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
315
|
+
pass
|
|
316
|
+
|
|
317
|
+
|
|
233
318
|
class SlimCustomerFragment(BaseModel):
|
|
234
319
|
id: Any
|
|
235
320
|
name: Optional[str] = Field(default=None)
|
|
@@ -247,8 +332,152 @@ class SlimCustomerFragment(BaseModel):
|
|
|
247
332
|
)
|
|
248
333
|
|
|
249
334
|
|
|
250
|
-
class
|
|
251
|
-
|
|
335
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
336
|
+
billing_id: str = Field(alias="billingId")
|
|
337
|
+
status: SubscriptionInvoiceStatus
|
|
338
|
+
created_at: Any = Field(alias="createdAt")
|
|
339
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
340
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
341
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
342
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
343
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
344
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
345
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
346
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
347
|
+
alias="billingReason", default=None
|
|
348
|
+
)
|
|
349
|
+
currency: Optional[str] = Field(default=None)
|
|
350
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
351
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
352
|
+
alias="subTotalExcludingTax", default=None
|
|
353
|
+
)
|
|
354
|
+
total: Optional[float] = Field(default=None)
|
|
355
|
+
total_excluding_tax: Optional[float] = Field(
|
|
356
|
+
alias="totalExcludingTax", default=None
|
|
357
|
+
)
|
|
358
|
+
tax: Optional[float] = Field(default=None)
|
|
359
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
360
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
class ProductFragment(BaseModel):
|
|
364
|
+
ref_id: str = Field(alias="refId")
|
|
365
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
366
|
+
description: Optional[str] = Field(default=None)
|
|
367
|
+
additional_meta_data: Optional[Any] = Field(
|
|
368
|
+
alias="additionalMetaData", default=None
|
|
369
|
+
)
|
|
370
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
374
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
375
|
+
alias="downgradePlan", default=None
|
|
376
|
+
)
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
380
|
+
ref_id: str = Field(alias="refId")
|
|
381
|
+
display_name: str = Field(alias="displayName")
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
385
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
386
|
+
display_name: str = Field(alias="displayName")
|
|
387
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
388
|
+
default=None
|
|
389
|
+
)
|
|
390
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
394
|
+
pass
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
398
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
399
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
class PlanFragment(BaseModel):
|
|
403
|
+
id: Any
|
|
404
|
+
ref_id: str = Field(alias="refId")
|
|
405
|
+
display_name: str = Field(alias="displayName")
|
|
406
|
+
description: Optional[str] = Field(default=None)
|
|
407
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
408
|
+
version_number: int = Field(alias="versionNumber")
|
|
409
|
+
additional_meta_data: Optional[Any] = Field(
|
|
410
|
+
alias="additionalMetaData", default=None
|
|
411
|
+
)
|
|
412
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
413
|
+
alias="hiddenFromWidgets", default=None
|
|
414
|
+
)
|
|
415
|
+
product: "PlanFragmentProduct"
|
|
416
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
417
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
418
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
419
|
+
alias="inheritedEntitlements", default=None
|
|
420
|
+
)
|
|
421
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
422
|
+
alias="compatibleAddons", default=None
|
|
423
|
+
)
|
|
424
|
+
compatible_package_groups: Optional[
|
|
425
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
426
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
427
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
428
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
429
|
+
alias="overagePrices", default=None
|
|
430
|
+
)
|
|
431
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
432
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
433
|
+
alias="defaultTrialConfig", default=None
|
|
434
|
+
)
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
class PlanFragmentProduct(ProductFragment):
|
|
438
|
+
pass
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
442
|
+
ref_id: str = Field(alias="refId")
|
|
443
|
+
display_name: str = Field(alias="displayName")
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
447
|
+
pass
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
451
|
+
pass
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
455
|
+
pass
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
459
|
+
pass
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
class PlanFragmentPrices(PriceFragment):
|
|
463
|
+
pass
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
467
|
+
pass
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
471
|
+
duration: float
|
|
472
|
+
units: TrialPeriodUnits
|
|
473
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
474
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
475
|
+
alias="trialEndBehavior", default=None
|
|
476
|
+
)
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
480
|
+
limit: float
|
|
252
481
|
|
|
253
482
|
|
|
254
483
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
@@ -405,154 +634,6 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
405
634
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
406
635
|
|
|
407
636
|
|
|
408
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
409
|
-
billing_id: str = Field(alias="billingId")
|
|
410
|
-
status: SubscriptionInvoiceStatus
|
|
411
|
-
created_at: Any = Field(alias="createdAt")
|
|
412
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
413
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
414
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
415
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
416
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
417
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
418
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
419
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
420
|
-
alias="billingReason", default=None
|
|
421
|
-
)
|
|
422
|
-
currency: Optional[str] = Field(default=None)
|
|
423
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
424
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
425
|
-
alias="subTotalExcludingTax", default=None
|
|
426
|
-
)
|
|
427
|
-
total: Optional[float] = Field(default=None)
|
|
428
|
-
total_excluding_tax: Optional[float] = Field(
|
|
429
|
-
alias="totalExcludingTax", default=None
|
|
430
|
-
)
|
|
431
|
-
tax: Optional[float] = Field(default=None)
|
|
432
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
433
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
437
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
438
|
-
display_name: str = Field(alias="displayName")
|
|
439
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
440
|
-
default=None
|
|
441
|
-
)
|
|
442
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
446
|
-
pass
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
450
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
451
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
class ProductFragment(BaseModel):
|
|
455
|
-
ref_id: str = Field(alias="refId")
|
|
456
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
457
|
-
description: Optional[str] = Field(default=None)
|
|
458
|
-
additional_meta_data: Optional[Any] = Field(
|
|
459
|
-
alias="additionalMetaData", default=None
|
|
460
|
-
)
|
|
461
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
465
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
466
|
-
alias="downgradePlan", default=None
|
|
467
|
-
)
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
471
|
-
ref_id: str = Field(alias="refId")
|
|
472
|
-
display_name: str = Field(alias="displayName")
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
class PlanFragment(BaseModel):
|
|
476
|
-
id: Any
|
|
477
|
-
ref_id: str = Field(alias="refId")
|
|
478
|
-
display_name: str = Field(alias="displayName")
|
|
479
|
-
description: Optional[str] = Field(default=None)
|
|
480
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
481
|
-
version_number: int = Field(alias="versionNumber")
|
|
482
|
-
additional_meta_data: Optional[Any] = Field(
|
|
483
|
-
alias="additionalMetaData", default=None
|
|
484
|
-
)
|
|
485
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
486
|
-
alias="hiddenFromWidgets", default=None
|
|
487
|
-
)
|
|
488
|
-
product: "PlanFragmentProduct"
|
|
489
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
490
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
491
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
492
|
-
alias="inheritedEntitlements", default=None
|
|
493
|
-
)
|
|
494
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
495
|
-
alias="compatibleAddons", default=None
|
|
496
|
-
)
|
|
497
|
-
compatible_package_groups: Optional[
|
|
498
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
499
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
500
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
501
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
502
|
-
alias="overagePrices", default=None
|
|
503
|
-
)
|
|
504
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
505
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
506
|
-
alias="defaultTrialConfig", default=None
|
|
507
|
-
)
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
class PlanFragmentProduct(ProductFragment):
|
|
511
|
-
pass
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
515
|
-
ref_id: str = Field(alias="refId")
|
|
516
|
-
display_name: str = Field(alias="displayName")
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
520
|
-
pass
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
524
|
-
pass
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
528
|
-
pass
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
532
|
-
pass
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
class PlanFragmentPrices(PriceFragment):
|
|
536
|
-
pass
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
540
|
-
pass
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
544
|
-
duration: float
|
|
545
|
-
units: TrialPeriodUnits
|
|
546
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
547
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
548
|
-
alias="trialEndBehavior", default=None
|
|
549
|
-
)
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
553
|
-
limit: float
|
|
554
|
-
|
|
555
|
-
|
|
556
637
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
557
638
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
558
639
|
alias="subscriptionScheduleType"
|
|
@@ -715,10 +796,6 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
715
796
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
716
797
|
|
|
717
798
|
|
|
718
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
719
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
720
|
-
|
|
721
|
-
|
|
722
799
|
class TotalPriceFragment(BaseModel):
|
|
723
800
|
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
724
801
|
total: "TotalPriceFragmentTotal"
|
|
@@ -729,9 +806,17 @@ class TotalPriceFragmentSubTotal(BaseModel):
|
|
|
729
806
|
currency: Currency
|
|
730
807
|
|
|
731
808
|
|
|
732
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
733
|
-
amount: float
|
|
734
|
-
currency: Currency
|
|
809
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
810
|
+
amount: float
|
|
811
|
+
currency: Currency
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
class CustomerResourceFragment(BaseModel):
|
|
815
|
+
resource_id: str = Field(alias="resourceId")
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
819
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
735
820
|
|
|
736
821
|
|
|
737
822
|
class SubscriptionFragment(BaseModel):
|
|
@@ -843,91 +928,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
843
928
|
pass
|
|
844
929
|
|
|
845
930
|
|
|
846
|
-
class FeatureFragment(BaseModel):
|
|
847
|
-
typename__: str = Field(alias="__typename")
|
|
848
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
849
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
850
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
851
|
-
feature_units_plural: Optional[str] = Field(
|
|
852
|
-
alias="featureUnitsPlural", default=None
|
|
853
|
-
)
|
|
854
|
-
description: Optional[str] = Field(default=None)
|
|
855
|
-
display_name: str = Field(alias="displayName")
|
|
856
|
-
ref_id: str = Field(alias="refId")
|
|
857
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
858
|
-
alias="unitTransformation", default=None
|
|
859
|
-
)
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
863
|
-
divide: float
|
|
864
|
-
round: UnitTransformationRound
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
class EntitlementFragment(BaseModel):
|
|
868
|
-
typename__: str = Field(alias="__typename")
|
|
869
|
-
is_granted: bool = Field(alias="isGranted")
|
|
870
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
871
|
-
alias="accessDeniedReason", default=None
|
|
872
|
-
)
|
|
873
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
874
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
875
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
876
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
877
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
878
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
879
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
880
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
881
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
882
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
883
|
-
alias="entitlementUpdatedAt", default=None
|
|
884
|
-
)
|
|
885
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
886
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
887
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
888
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
889
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
890
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
891
|
-
alias="resetPeriod", default=None
|
|
892
|
-
)
|
|
893
|
-
reset_period_configuration: Optional[
|
|
894
|
-
Annotated[
|
|
895
|
-
Union[
|
|
896
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
897
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
898
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
899
|
-
],
|
|
900
|
-
Field(discriminator="typename__"),
|
|
901
|
-
]
|
|
902
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
903
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
907
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
908
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
909
|
-
alias="monthlyAccordingTo", default=None
|
|
910
|
-
)
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
914
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
915
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
916
|
-
alias="weeklyAccordingTo", default=None
|
|
917
|
-
)
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
921
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
922
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
923
|
-
alias="yearlyAccordingTo", default=None
|
|
924
|
-
)
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
928
|
-
pass
|
|
929
|
-
|
|
930
|
-
|
|
931
931
|
class ApplySubscriptionFragment(BaseModel):
|
|
932
932
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
933
933
|
default=None
|
|
@@ -1005,35 +1005,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1005
1005
|
)
|
|
1006
1006
|
|
|
1007
1007
|
|
|
1008
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1009
|
-
status: PromotionalEntitlementStatus
|
|
1010
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1011
|
-
feature_id: Any = Field(alias="featureId")
|
|
1012
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1013
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1014
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1015
|
-
alias="resetPeriod", default=None
|
|
1016
|
-
)
|
|
1017
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1018
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1019
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1023
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1024
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1025
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1026
|
-
feature_units_plural: Optional[str] = Field(
|
|
1027
|
-
alias="featureUnitsPlural", default=None
|
|
1028
|
-
)
|
|
1029
|
-
display_name: str = Field(alias="displayName")
|
|
1030
|
-
description: Optional[str] = Field(default=None)
|
|
1031
|
-
ref_id: str = Field(alias="refId")
|
|
1032
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1033
|
-
alias="additionalMetaData", default=None
|
|
1034
|
-
)
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
1008
|
class CouponFragment(BaseModel):
|
|
1038
1009
|
id: Any
|
|
1039
1010
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1068,6 +1039,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1068
1039
|
status: SyncStatus
|
|
1069
1040
|
|
|
1070
1041
|
|
|
1042
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1043
|
+
status: PromotionalEntitlementStatus
|
|
1044
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1045
|
+
feature_id: Any = Field(alias="featureId")
|
|
1046
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1047
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1048
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1049
|
+
alias="resetPeriod", default=None
|
|
1050
|
+
)
|
|
1051
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1052
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1053
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1057
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1058
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1059
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1060
|
+
feature_units_plural: Optional[str] = Field(
|
|
1061
|
+
alias="featureUnitsPlural", default=None
|
|
1062
|
+
)
|
|
1063
|
+
display_name: str = Field(alias="displayName")
|
|
1064
|
+
description: Optional[str] = Field(default=None)
|
|
1065
|
+
ref_id: str = Field(alias="refId")
|
|
1066
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1067
|
+
alias="additionalMetaData", default=None
|
|
1068
|
+
)
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
1071
|
class CustomerFragment(SlimCustomerFragment):
|
|
1072
1072
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1073
1073
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1166,8 +1166,8 @@ class CheckoutStateFragmentBillingIntegration(BaseModel):
|
|
|
1166
1166
|
|
|
1167
1167
|
|
|
1168
1168
|
class CheckoutStateFragmentBillingIntegrationCredentials(BaseModel):
|
|
1169
|
-
account_id: str = Field(alias="accountId")
|
|
1170
|
-
public_key: str = Field(alias="publicKey")
|
|
1169
|
+
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1170
|
+
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1171
1171
|
|
|
1172
1172
|
|
|
1173
1173
|
class CreditGrantFragment(BaseModel):
|
|
@@ -1326,39 +1326,14 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1326
1326
|
pass
|
|
1327
1327
|
|
|
1328
1328
|
|
|
1329
|
-
class
|
|
1330
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1331
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1332
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1333
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1334
|
-
default=None
|
|
1335
|
-
)
|
|
1336
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1337
|
-
alias="creditRate", default=None
|
|
1338
|
-
)
|
|
1339
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1340
|
-
default=None
|
|
1341
|
-
)
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1345
|
-
amount: float
|
|
1346
|
-
currency: Currency
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1350
|
-
amount: float
|
|
1351
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1355
|
-
id: Any
|
|
1356
|
-
ref_id: str = Field(alias="refId")
|
|
1329
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1357
1330
|
display_name: str = Field(alias="displayName")
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1331
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1332
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1333
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1334
|
+
period: PromotionalEntitlementPeriod
|
|
1335
|
+
start_date: Any = Field(alias="startDate")
|
|
1336
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1362
1337
|
|
|
1363
1338
|
|
|
1364
1339
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
@@ -1537,6 +1512,41 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1537
1512
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1538
1513
|
|
|
1539
1514
|
|
|
1515
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1516
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1517
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1518
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1519
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1520
|
+
default=None
|
|
1521
|
+
)
|
|
1522
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1523
|
+
alias="creditRate", default=None
|
|
1524
|
+
)
|
|
1525
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1526
|
+
default=None
|
|
1527
|
+
)
|
|
1528
|
+
|
|
1529
|
+
|
|
1530
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1531
|
+
amount: float
|
|
1532
|
+
currency: Currency
|
|
1533
|
+
|
|
1534
|
+
|
|
1535
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1536
|
+
amount: float
|
|
1537
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1541
|
+
id: Any
|
|
1542
|
+
ref_id: str = Field(alias="refId")
|
|
1543
|
+
display_name: str = Field(alias="displayName")
|
|
1544
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1545
|
+
feature_units_plural: Optional[str] = Field(
|
|
1546
|
+
alias="featureUnitsPlural", default=None
|
|
1547
|
+
)
|
|
1548
|
+
|
|
1549
|
+
|
|
1540
1550
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1541
1551
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1542
1552
|
plan_id: str = Field(alias="planId")
|
|
@@ -1641,16 +1651,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1641
1651
|
pass
|
|
1642
1652
|
|
|
1643
1653
|
|
|
1644
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1645
|
-
display_name: str = Field(alias="displayName")
|
|
1646
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1647
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1648
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1649
|
-
period: PromotionalEntitlementPeriod
|
|
1650
|
-
start_date: Any = Field(alias="startDate")
|
|
1651
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
1654
|
class CustomerPortalFragment(BaseModel):
|
|
1655
1655
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1656
1656
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2928,30 +2928,30 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2928
2928
|
|
|
2929
2929
|
|
|
2930
2930
|
AddonDependencyFragment.model_rebuild()
|
|
2931
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2932
2931
|
PriceTierFragment.model_rebuild()
|
|
2933
|
-
PriceFragment.model_rebuild()
|
|
2934
2932
|
OveragePriceFragment.model_rebuild()
|
|
2933
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2934
|
+
PriceFragment.model_rebuild()
|
|
2935
2935
|
AddonFragment.model_rebuild()
|
|
2936
|
+
FeatureFragment.model_rebuild()
|
|
2937
|
+
EntitlementFragment.model_rebuild()
|
|
2936
2938
|
SlimCustomerFragment.model_rebuild()
|
|
2937
|
-
CustomerResourceFragment.model_rebuild()
|
|
2938
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2939
2939
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2940
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2941
2940
|
ProductFragment.model_rebuild()
|
|
2941
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2942
2942
|
PlanFragment.model_rebuild()
|
|
2943
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2943
2944
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2944
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2945
2945
|
TotalPriceFragment.model_rebuild()
|
|
2946
|
+
CustomerResourceFragment.model_rebuild()
|
|
2947
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2946
2948
|
SubscriptionFragment.model_rebuild()
|
|
2947
|
-
FeatureFragment.model_rebuild()
|
|
2948
|
-
EntitlementFragment.model_rebuild()
|
|
2949
2949
|
ApplySubscriptionFragment.model_rebuild()
|
|
2950
2950
|
FontVariantFragment.model_rebuild()
|
|
2951
2951
|
TypographyConfigurationFragment.model_rebuild()
|
|
2952
2952
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2953
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2954
2953
|
CouponFragment.model_rebuild()
|
|
2954
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2955
2955
|
CustomerFragment.model_rebuild()
|
|
2956
2956
|
CheckoutStateFragment.model_rebuild()
|
|
2957
2957
|
CreditGrantFragment.model_rebuild()
|
|
@@ -2959,11 +2959,11 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
2959
2959
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2960
2960
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2961
2961
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2962
|
-
|
|
2962
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2963
2963
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2964
2964
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2965
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2965
2966
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2966
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2967
2967
|
CustomerPortalFragment.model_rebuild()
|
|
2968
2968
|
CustomerStatisticsFragment.model_rebuild()
|
|
2969
2969
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -2824,6 +2824,14 @@ class PaymentCollectionFilterComparison(BaseModel):
|
|
|
2824
2824
|
not_like: Optional[PaymentCollection] = Field(alias="notLike", default=None)
|
|
2825
2825
|
|
|
2826
2826
|
|
|
2827
|
+
class PaymentSessionInput(BaseModel):
|
|
2828
|
+
billing_country_code: Optional[str] = Field(
|
|
2829
|
+
alias="billingCountryCode", default=None
|
|
2830
|
+
)
|
|
2831
|
+
customer_id: str = Field(alias="customerId")
|
|
2832
|
+
plan_id: str = Field(alias="planId")
|
|
2833
|
+
|
|
2834
|
+
|
|
2827
2835
|
class PaywallColorsPaletteInput(BaseModel):
|
|
2828
2836
|
background_color: Optional[str] = Field(alias="backgroundColor", default=None)
|
|
2829
2837
|
border_color: Optional[str] = Field(alias="borderColor", default=None)
|
|
@@ -5046,6 +5054,7 @@ class ZuoraCredentialsInput(BaseModel):
|
|
|
5046
5054
|
client_secret: str = Field(alias="clientSecret")
|
|
5047
5055
|
payment_gateway_id: Optional[str] = Field(alias="paymentGatewayId", default=None)
|
|
5048
5056
|
payment_page_id: Optional[str] = Field(alias="paymentPageId", default=None)
|
|
5057
|
+
publishable_key: Optional[str] = Field(alias="publishableKey", default=None)
|
|
5049
5058
|
stripe_publishable_key: Optional[str] = Field(
|
|
5050
5059
|
alias="stripePublishableKey", default=None
|
|
5051
5060
|
)
|
|
@@ -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=ObtESB-oSlxciAHOdkQ1llbY0iPU5vGD5mQIKWO9RBo,75044
|
|
110
110
|
stigg/generated/apply_subscription.py,sha256=Vbs-QZZxN16pUpt3Hp7Jvvcc5o_8xwJK9oTLQQjH0ZA,451
|
|
111
111
|
stigg/generated/archive_customer.py,sha256=3N3iBiT2Vvzfb0ckV3o57A6lmJ_ef7JNPaMX_Jtcg6c,396
|
|
112
112
|
stigg/generated/async_base_client.py,sha256=zqd6IhYxpalyA6KQkeGhXgSurC0vXSwSWmSlM2zZ0VM,12593
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=S3IQdR4v5a3m0LfUTffEUiHlTXDdbKAlc5qy8bOCEIw,183
|
|
|
119
119
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
120
120
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
121
121
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
122
|
-
stigg/generated/enums.py,sha256=
|
|
122
|
+
stigg/generated/enums.py,sha256=M1ZmZioTo8XlPc3APutraJ74Ap81K1MEmGXE-1CDsBc,38028
|
|
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=I8glygMGNajpWPvLsemIoHytsirNw-95wJcYhUKLyV4,107054
|
|
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
|
|
@@ -149,7 +149,7 @@ stigg/generated/grant_promotional_entitlements_group.py,sha256=iQwCd07VFaYbsN_E-
|
|
|
149
149
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
150
150
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
151
151
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
152
|
-
stigg/generated/input_types.py,sha256=
|
|
152
|
+
stigg/generated/input_types.py,sha256=uPODKRjfa2ztPcjwwJnfG2YHwI4FLxqTeC4Ed6wrRsM,207699
|
|
153
153
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
154
154
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
155
155
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -167,7 +167,7 @@ stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9e
|
|
|
167
167
|
stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0LZmDYkRn9mMjZm9n41YG6-p7Z8qU,636
|
|
168
168
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
169
169
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
170
|
-
stigg_api_client_v2-3.
|
|
171
|
-
stigg_api_client_v2-3.
|
|
172
|
-
stigg_api_client_v2-3.
|
|
173
|
-
stigg_api_client_v2-3.
|
|
170
|
+
stigg_api_client_v2-3.66.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
171
|
+
stigg_api_client_v2-3.66.0.dist-info/METADATA,sha256=tmFVg7Mffhu2hq401JTgCEdMnPzj3EIRcA4IZRNF4Ys,2257
|
|
172
|
+
stigg_api_client_v2-3.66.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
173
|
+
stigg_api_client_v2-3.66.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|