stigg-api-client-v2 2.303.1__py3-none-any.whl → 2.303.3__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/fragments.py +297 -297
- {stigg_api_client_v2-2.303.1.dist-info → stigg_api_client_v2-2.303.3.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.303.1.dist-info → stigg_api_client_v2-2.303.3.dist-info}/RECORD +5 -5
- {stigg_api_client_v2-2.303.1.dist-info → stigg_api_client_v2-2.303.3.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.303.1.dist-info → stigg_api_client_v2-2.303.3.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -59,6 +59,39 @@ class AddonDependencyFragment(BaseModel):
|
|
|
59
59
|
description: Optional[str] = Field(default=None)
|
|
60
60
|
|
|
61
61
|
|
|
62
|
+
class PackageEntitlementFragment(BaseModel):
|
|
63
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
64
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
65
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
66
|
+
feature_id: str = Field(alias="featureId")
|
|
67
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
68
|
+
alias="resetPeriod", default=None
|
|
69
|
+
)
|
|
70
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
71
|
+
alias="hiddenFromWidgets", default=None
|
|
72
|
+
)
|
|
73
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
74
|
+
display_name_override: Optional[str] = Field(
|
|
75
|
+
alias="displayNameOverride", default=None
|
|
76
|
+
)
|
|
77
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
81
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
82
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
83
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
84
|
+
feature_units_plural: Optional[str] = Field(
|
|
85
|
+
alias="featureUnitsPlural", default=None
|
|
86
|
+
)
|
|
87
|
+
display_name: str = Field(alias="displayName")
|
|
88
|
+
description: Optional[str] = Field(default=None)
|
|
89
|
+
ref_id: str = Field(alias="refId")
|
|
90
|
+
additional_meta_data: Optional[Any] = Field(
|
|
91
|
+
alias="additionalMetaData", default=None
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
|
|
62
95
|
class PriceTierFragment(BaseModel):
|
|
63
96
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
64
97
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -79,33 +112,29 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
79
112
|
currency: Currency
|
|
80
113
|
|
|
81
114
|
|
|
82
|
-
class
|
|
115
|
+
class OveragePriceFragment(BaseModel):
|
|
83
116
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
84
117
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
85
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
86
118
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
87
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
88
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
89
119
|
billing_country_code: Optional[str] = Field(
|
|
90
120
|
alias="billingCountryCode", default=None
|
|
91
121
|
)
|
|
92
|
-
price: Optional["
|
|
122
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
93
123
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
94
|
-
tiers: Optional[List["
|
|
95
|
-
feature: Optional["
|
|
96
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
124
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
125
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
97
126
|
|
|
98
127
|
|
|
99
|
-
class
|
|
128
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
100
129
|
amount: float
|
|
101
130
|
currency: Currency
|
|
102
131
|
|
|
103
132
|
|
|
104
|
-
class
|
|
133
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
105
134
|
pass
|
|
106
135
|
|
|
107
136
|
|
|
108
|
-
class
|
|
137
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
109
138
|
ref_id: str = Field(alias="refId")
|
|
110
139
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
111
140
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -115,29 +144,33 @@ class PriceFragmentFeature(BaseModel):
|
|
|
115
144
|
description: Optional[str] = Field(default=None)
|
|
116
145
|
|
|
117
146
|
|
|
118
|
-
class
|
|
147
|
+
class PriceFragment(BaseModel):
|
|
119
148
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
120
149
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
150
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
121
151
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
152
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
153
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
122
154
|
billing_country_code: Optional[str] = Field(
|
|
123
155
|
alias="billingCountryCode", default=None
|
|
124
156
|
)
|
|
125
|
-
price: Optional["
|
|
157
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
126
158
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
127
|
-
tiers: Optional[List["
|
|
128
|
-
feature: Optional["
|
|
159
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
160
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
161
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
129
162
|
|
|
130
163
|
|
|
131
|
-
class
|
|
164
|
+
class PriceFragmentPrice(BaseModel):
|
|
132
165
|
amount: float
|
|
133
166
|
currency: Currency
|
|
134
167
|
|
|
135
168
|
|
|
136
|
-
class
|
|
169
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
137
170
|
pass
|
|
138
171
|
|
|
139
172
|
|
|
140
|
-
class
|
|
173
|
+
class PriceFragmentFeature(BaseModel):
|
|
141
174
|
ref_id: str = Field(alias="refId")
|
|
142
175
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
143
176
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -147,39 +180,6 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
147
180
|
description: Optional[str] = Field(default=None)
|
|
148
181
|
|
|
149
182
|
|
|
150
|
-
class PackageEntitlementFragment(BaseModel):
|
|
151
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
152
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
153
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
154
|
-
feature_id: str = Field(alias="featureId")
|
|
155
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
156
|
-
alias="resetPeriod", default=None
|
|
157
|
-
)
|
|
158
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
159
|
-
alias="hiddenFromWidgets", default=None
|
|
160
|
-
)
|
|
161
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
162
|
-
display_name_override: Optional[str] = Field(
|
|
163
|
-
alias="displayNameOverride", default=None
|
|
164
|
-
)
|
|
165
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
169
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
170
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
171
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
172
|
-
feature_units_plural: Optional[str] = Field(
|
|
173
|
-
alias="featureUnitsPlural", default=None
|
|
174
|
-
)
|
|
175
|
-
display_name: str = Field(alias="displayName")
|
|
176
|
-
description: Optional[str] = Field(default=None)
|
|
177
|
-
ref_id: str = Field(alias="refId")
|
|
178
|
-
additional_meta_data: Optional[Any] = Field(
|
|
179
|
-
alias="additionalMetaData", default=None
|
|
180
|
-
)
|
|
181
|
-
|
|
182
|
-
|
|
183
183
|
class AddonFragment(BaseModel):
|
|
184
184
|
id: str
|
|
185
185
|
ref_id: str = Field(alias="refId")
|
|
@@ -298,184 +298,6 @@ class EntitlementFragmentFeature(FeatureFragment):
|
|
|
298
298
|
pass
|
|
299
299
|
|
|
300
300
|
|
|
301
|
-
class TotalPriceFragment(BaseModel):
|
|
302
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
303
|
-
total: "TotalPriceFragmentTotal"
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
307
|
-
amount: float
|
|
308
|
-
currency: Currency
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
312
|
-
amount: float
|
|
313
|
-
currency: Currency
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
317
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
318
|
-
display_name: str = Field(alias="displayName")
|
|
319
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
320
|
-
default=None
|
|
321
|
-
)
|
|
322
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
326
|
-
pass
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
330
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
331
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
class ProductFragment(BaseModel):
|
|
335
|
-
ref_id: str = Field(alias="refId")
|
|
336
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
337
|
-
description: Optional[str] = Field(default=None)
|
|
338
|
-
additional_meta_data: Optional[Any] = Field(
|
|
339
|
-
alias="additionalMetaData", default=None
|
|
340
|
-
)
|
|
341
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
345
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
346
|
-
alias="downgradePlan", default=None
|
|
347
|
-
)
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
351
|
-
ref_id: str = Field(alias="refId")
|
|
352
|
-
display_name: str = Field(alias="displayName")
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
class PlanFragment(BaseModel):
|
|
356
|
-
id: str
|
|
357
|
-
ref_id: str = Field(alias="refId")
|
|
358
|
-
display_name: str = Field(alias="displayName")
|
|
359
|
-
description: Optional[str] = Field(default=None)
|
|
360
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
361
|
-
version_number: int = Field(alias="versionNumber")
|
|
362
|
-
additional_meta_data: Optional[Any] = Field(
|
|
363
|
-
alias="additionalMetaData", default=None
|
|
364
|
-
)
|
|
365
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
366
|
-
alias="hiddenFromWidgets", default=None
|
|
367
|
-
)
|
|
368
|
-
product: "PlanFragmentProduct"
|
|
369
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
370
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
371
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
372
|
-
alias="inheritedEntitlements", default=None
|
|
373
|
-
)
|
|
374
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
375
|
-
alias="compatibleAddons", default=None
|
|
376
|
-
)
|
|
377
|
-
compatible_package_groups: Optional[
|
|
378
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
379
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
380
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
381
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
382
|
-
alias="overagePrices", default=None
|
|
383
|
-
)
|
|
384
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
385
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
386
|
-
alias="defaultTrialConfig", default=None
|
|
387
|
-
)
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
class PlanFragmentProduct(ProductFragment):
|
|
391
|
-
pass
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
395
|
-
ref_id: str = Field(alias="refId")
|
|
396
|
-
display_name: str = Field(alias="displayName")
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
400
|
-
pass
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
404
|
-
pass
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
408
|
-
pass
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
412
|
-
pass
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
class PlanFragmentPrices(PriceFragment):
|
|
416
|
-
pass
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
420
|
-
pass
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
424
|
-
duration: float
|
|
425
|
-
units: TrialPeriodUnits
|
|
426
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
427
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
428
|
-
alias="trialEndBehavior", default=None
|
|
429
|
-
)
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
433
|
-
limit: float
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
437
|
-
billing_id: str = Field(alias="billingId")
|
|
438
|
-
status: SubscriptionInvoiceStatus
|
|
439
|
-
created_at: Any = Field(alias="createdAt")
|
|
440
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
441
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
442
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
443
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
444
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
445
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
446
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
447
|
-
alias="billingReason", default=None
|
|
448
|
-
)
|
|
449
|
-
currency: Optional[str] = Field(default=None)
|
|
450
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
451
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
452
|
-
alias="subTotalExcludingTax", default=None
|
|
453
|
-
)
|
|
454
|
-
total: Optional[float] = Field(default=None)
|
|
455
|
-
total_excluding_tax: Optional[float] = Field(
|
|
456
|
-
alias="totalExcludingTax", default=None
|
|
457
|
-
)
|
|
458
|
-
tax: Optional[float] = Field(default=None)
|
|
459
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
class SlimCustomerFragment(BaseModel):
|
|
463
|
-
id: str
|
|
464
|
-
name: Optional[str] = Field(default=None)
|
|
465
|
-
email: Optional[str] = Field(default=None)
|
|
466
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
467
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
468
|
-
ref_id: str = Field(alias="refId")
|
|
469
|
-
customer_id: str = Field(alias="customerId")
|
|
470
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
471
|
-
additional_meta_data: Optional[Any] = Field(
|
|
472
|
-
alias="additionalMetaData", default=None
|
|
473
|
-
)
|
|
474
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
475
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
476
|
-
)
|
|
477
|
-
|
|
478
|
-
|
|
479
301
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
480
302
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
481
303
|
alias="subscriptionScheduleType"
|
|
@@ -634,8 +456,62 @@ class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
|
634
456
|
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
635
457
|
|
|
636
458
|
|
|
637
|
-
class
|
|
638
|
-
|
|
459
|
+
class TotalPriceFragment(BaseModel):
|
|
460
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
461
|
+
total: "TotalPriceFragmentTotal"
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
465
|
+
amount: float
|
|
466
|
+
currency: Currency
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
470
|
+
amount: float
|
|
471
|
+
currency: Currency
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
class SlimCustomerFragment(BaseModel):
|
|
475
|
+
id: str
|
|
476
|
+
name: Optional[str] = Field(default=None)
|
|
477
|
+
email: Optional[str] = Field(default=None)
|
|
478
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
479
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
480
|
+
ref_id: str = Field(alias="refId")
|
|
481
|
+
customer_id: str = Field(alias="customerId")
|
|
482
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
483
|
+
additional_meta_data: Optional[Any] = Field(
|
|
484
|
+
alias="additionalMetaData", default=None
|
|
485
|
+
)
|
|
486
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
487
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
488
|
+
)
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
492
|
+
billing_id: str = Field(alias="billingId")
|
|
493
|
+
status: SubscriptionInvoiceStatus
|
|
494
|
+
created_at: Any = Field(alias="createdAt")
|
|
495
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
496
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
497
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
498
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
499
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
500
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
501
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
502
|
+
alias="billingReason", default=None
|
|
503
|
+
)
|
|
504
|
+
currency: Optional[str] = Field(default=None)
|
|
505
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
506
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
507
|
+
alias="subTotalExcludingTax", default=None
|
|
508
|
+
)
|
|
509
|
+
total: Optional[float] = Field(default=None)
|
|
510
|
+
total_excluding_tax: Optional[float] = Field(
|
|
511
|
+
alias="totalExcludingTax", default=None
|
|
512
|
+
)
|
|
513
|
+
tax: Optional[float] = Field(default=None)
|
|
514
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
639
515
|
|
|
640
516
|
|
|
641
517
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -800,6 +676,130 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
800
676
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
801
677
|
|
|
802
678
|
|
|
679
|
+
class CustomerResourceFragment(BaseModel):
|
|
680
|
+
resource_id: str = Field(alias="resourceId")
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
684
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
685
|
+
display_name: str = Field(alias="displayName")
|
|
686
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
687
|
+
default=None
|
|
688
|
+
)
|
|
689
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
693
|
+
pass
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
697
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
698
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
class ProductFragment(BaseModel):
|
|
702
|
+
ref_id: str = Field(alias="refId")
|
|
703
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
704
|
+
description: Optional[str] = Field(default=None)
|
|
705
|
+
additional_meta_data: Optional[Any] = Field(
|
|
706
|
+
alias="additionalMetaData", default=None
|
|
707
|
+
)
|
|
708
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
712
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
713
|
+
alias="downgradePlan", default=None
|
|
714
|
+
)
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
718
|
+
ref_id: str = Field(alias="refId")
|
|
719
|
+
display_name: str = Field(alias="displayName")
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
class PlanFragment(BaseModel):
|
|
723
|
+
id: str
|
|
724
|
+
ref_id: str = Field(alias="refId")
|
|
725
|
+
display_name: str = Field(alias="displayName")
|
|
726
|
+
description: Optional[str] = Field(default=None)
|
|
727
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
728
|
+
version_number: int = Field(alias="versionNumber")
|
|
729
|
+
additional_meta_data: Optional[Any] = Field(
|
|
730
|
+
alias="additionalMetaData", default=None
|
|
731
|
+
)
|
|
732
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
733
|
+
alias="hiddenFromWidgets", default=None
|
|
734
|
+
)
|
|
735
|
+
product: "PlanFragmentProduct"
|
|
736
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
737
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
738
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
739
|
+
alias="inheritedEntitlements", default=None
|
|
740
|
+
)
|
|
741
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
742
|
+
alias="compatibleAddons", default=None
|
|
743
|
+
)
|
|
744
|
+
compatible_package_groups: Optional[
|
|
745
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
746
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
747
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
748
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
749
|
+
alias="overagePrices", default=None
|
|
750
|
+
)
|
|
751
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
752
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
753
|
+
alias="defaultTrialConfig", default=None
|
|
754
|
+
)
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
class PlanFragmentProduct(ProductFragment):
|
|
758
|
+
pass
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
762
|
+
ref_id: str = Field(alias="refId")
|
|
763
|
+
display_name: str = Field(alias="displayName")
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
767
|
+
pass
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
771
|
+
pass
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
775
|
+
pass
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
779
|
+
pass
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
class PlanFragmentPrices(PriceFragment):
|
|
783
|
+
pass
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
787
|
+
pass
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
791
|
+
duration: float
|
|
792
|
+
units: TrialPeriodUnits
|
|
793
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
794
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
795
|
+
alias="trialEndBehavior", default=None
|
|
796
|
+
)
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
800
|
+
limit: float
|
|
801
|
+
|
|
802
|
+
|
|
803
803
|
class SubscriptionFragment(BaseModel):
|
|
804
804
|
id: str
|
|
805
805
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -986,6 +986,35 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
986
986
|
)
|
|
987
987
|
|
|
988
988
|
|
|
989
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
990
|
+
status: PromotionalEntitlementStatus
|
|
991
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
992
|
+
feature_id: str = Field(alias="featureId")
|
|
993
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
994
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
995
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
996
|
+
alias="resetPeriod", default=None
|
|
997
|
+
)
|
|
998
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
999
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1000
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1004
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1005
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1006
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1007
|
+
feature_units_plural: Optional[str] = Field(
|
|
1008
|
+
alias="featureUnitsPlural", default=None
|
|
1009
|
+
)
|
|
1010
|
+
display_name: str = Field(alias="displayName")
|
|
1011
|
+
description: Optional[str] = Field(default=None)
|
|
1012
|
+
ref_id: str = Field(alias="refId")
|
|
1013
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1014
|
+
alias="additionalMetaData", default=None
|
|
1015
|
+
)
|
|
1016
|
+
|
|
1017
|
+
|
|
989
1018
|
class CouponFragment(BaseModel):
|
|
990
1019
|
id: str
|
|
991
1020
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1020,35 +1049,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1020
1049
|
status: SyncStatus
|
|
1021
1050
|
|
|
1022
1051
|
|
|
1023
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1024
|
-
status: PromotionalEntitlementStatus
|
|
1025
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1026
|
-
feature_id: str = Field(alias="featureId")
|
|
1027
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1028
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1029
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1030
|
-
alias="resetPeriod", default=None
|
|
1031
|
-
)
|
|
1032
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1033
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1034
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1038
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1039
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1040
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1041
|
-
feature_units_plural: Optional[str] = Field(
|
|
1042
|
-
alias="featureUnitsPlural", default=None
|
|
1043
|
-
)
|
|
1044
|
-
display_name: str = Field(alias="displayName")
|
|
1045
|
-
description: Optional[str] = Field(default=None)
|
|
1046
|
-
ref_id: str = Field(alias="refId")
|
|
1047
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1048
|
-
alias="additionalMetaData", default=None
|
|
1049
|
-
)
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
1052
|
class CustomerFragment(SlimCustomerFragment):
|
|
1053
1053
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1054
1054
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1259,33 +1259,6 @@ class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
|
1259
1259
|
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1260
1260
|
|
|
1261
1261
|
|
|
1262
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1263
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1264
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1265
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1266
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1267
|
-
default=None
|
|
1268
|
-
)
|
|
1269
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1270
|
-
default=None
|
|
1271
|
-
)
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1275
|
-
amount: float
|
|
1276
|
-
currency: Currency
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1280
|
-
id: str
|
|
1281
|
-
ref_id: str = Field(alias="refId")
|
|
1282
|
-
display_name: str = Field(alias="displayName")
|
|
1283
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1284
|
-
feature_units_plural: Optional[str] = Field(
|
|
1285
|
-
alias="featureUnitsPlural", default=None
|
|
1286
|
-
)
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
1262
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1290
1263
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1291
1264
|
alias="subscriptionScheduleType"
|
|
@@ -1455,6 +1428,33 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1455
1428
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1456
1429
|
|
|
1457
1430
|
|
|
1431
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1432
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1433
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1434
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1435
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1436
|
+
default=None
|
|
1437
|
+
)
|
|
1438
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1439
|
+
default=None
|
|
1440
|
+
)
|
|
1441
|
+
|
|
1442
|
+
|
|
1443
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1444
|
+
amount: float
|
|
1445
|
+
currency: Currency
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1449
|
+
id: str
|
|
1450
|
+
ref_id: str = Field(alias="refId")
|
|
1451
|
+
display_name: str = Field(alias="displayName")
|
|
1452
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1453
|
+
feature_units_plural: Optional[str] = Field(
|
|
1454
|
+
alias="featureUnitsPlural", default=None
|
|
1455
|
+
)
|
|
1456
|
+
|
|
1457
|
+
|
|
1458
1458
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1459
1459
|
addon_id: str = Field(alias="addonId")
|
|
1460
1460
|
description: Optional[str] = Field(default=None)
|
|
@@ -2762,38 +2762,38 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2762
2762
|
|
|
2763
2763
|
|
|
2764
2764
|
AddonDependencyFragment.model_rebuild()
|
|
2765
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2765
2766
|
PriceTierFragment.model_rebuild()
|
|
2766
|
-
PriceFragment.model_rebuild()
|
|
2767
2767
|
OveragePriceFragment.model_rebuild()
|
|
2768
|
-
|
|
2768
|
+
PriceFragment.model_rebuild()
|
|
2769
2769
|
AddonFragment.model_rebuild()
|
|
2770
2770
|
FeatureFragment.model_rebuild()
|
|
2771
2771
|
EntitlementFragment.model_rebuild()
|
|
2772
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2773
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2772
2774
|
TotalPriceFragment.model_rebuild()
|
|
2775
|
+
SlimCustomerFragment.model_rebuild()
|
|
2776
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2777
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2778
|
+
CustomerResourceFragment.model_rebuild()
|
|
2773
2779
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2774
2780
|
ProductFragment.model_rebuild()
|
|
2775
2781
|
PlanFragment.model_rebuild()
|
|
2776
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2777
|
-
SlimCustomerFragment.model_rebuild()
|
|
2778
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2779
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2780
|
-
CustomerResourceFragment.model_rebuild()
|
|
2781
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2782
2782
|
SubscriptionFragment.model_rebuild()
|
|
2783
2783
|
ApplySubscriptionFragment.model_rebuild()
|
|
2784
2784
|
FontVariantFragment.model_rebuild()
|
|
2785
2785
|
TypographyConfigurationFragment.model_rebuild()
|
|
2786
2786
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2787
|
-
CouponFragment.model_rebuild()
|
|
2788
2787
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2788
|
+
CouponFragment.model_rebuild()
|
|
2789
2789
|
CustomerFragment.model_rebuild()
|
|
2790
2790
|
CheckoutStateFragment.model_rebuild()
|
|
2791
2791
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2792
2792
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2793
2793
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2794
2794
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2795
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2796
2795
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2796
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2797
2797
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2798
2798
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2799
2799
|
CustomerPortalFragment.model_rebuild()
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=pc9LCxX-JHp05iOwlZI6QCpzXH5kinzBRAvgTHMBXyE,3433
|
|
|
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=9UETuK1cF03sHgd9ZpYofwjiO2jvdGyJuJoR83Geo0g,100553
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.303.
|
|
164
|
-
stigg_api_client_v2-2.303.
|
|
165
|
-
stigg_api_client_v2-2.303.
|
|
166
|
-
stigg_api_client_v2-2.303.
|
|
163
|
+
stigg_api_client_v2-2.303.3.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.303.3.dist-info/METADATA,sha256=KtZEvQ0gP4pq4kcolbncM9RC5fSYM7v5xwsOelCPMGw,2258
|
|
165
|
+
stigg_api_client_v2-2.303.3.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.303.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|