stigg-api-client-v2 2.284.0__py3-none-any.whl → 2.286.1__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 +199 -199
- {stigg_api_client_v2-2.284.0.dist-info → stigg_api_client_v2-2.286.1.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.284.0.dist-info → stigg_api_client_v2-2.286.1.dist-info}/RECORD +5 -5
- {stigg_api_client_v2-2.284.0.dist-info → stigg_api_client_v2-2.286.1.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.284.0.dist-info → stigg_api_client_v2-2.286.1.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -59,39 +59,6 @@ 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
|
-
|
|
95
62
|
class PriceTierFragment(BaseModel):
|
|
96
63
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
97
64
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -112,29 +79,33 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
112
79
|
currency: Currency
|
|
113
80
|
|
|
114
81
|
|
|
115
|
-
class
|
|
82
|
+
class PriceFragment(BaseModel):
|
|
116
83
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
117
84
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
85
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
118
86
|
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)
|
|
119
89
|
billing_country_code: Optional[str] = Field(
|
|
120
90
|
alias="billingCountryCode", default=None
|
|
121
91
|
)
|
|
122
|
-
price: Optional["
|
|
92
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
123
93
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
124
|
-
tiers: Optional[List["
|
|
125
|
-
feature: Optional["
|
|
94
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
95
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
96
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
126
97
|
|
|
127
98
|
|
|
128
|
-
class
|
|
99
|
+
class PriceFragmentPrice(BaseModel):
|
|
129
100
|
amount: float
|
|
130
101
|
currency: Currency
|
|
131
102
|
|
|
132
103
|
|
|
133
|
-
class
|
|
104
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
134
105
|
pass
|
|
135
106
|
|
|
136
107
|
|
|
137
|
-
class
|
|
108
|
+
class PriceFragmentFeature(BaseModel):
|
|
138
109
|
ref_id: str = Field(alias="refId")
|
|
139
110
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
140
111
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -144,33 +115,62 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
144
115
|
description: Optional[str] = Field(default=None)
|
|
145
116
|
|
|
146
117
|
|
|
147
|
-
class
|
|
118
|
+
class PackageEntitlementFragment(BaseModel):
|
|
119
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
120
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
121
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
122
|
+
feature_id: str = Field(alias="featureId")
|
|
123
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
124
|
+
alias="resetPeriod", default=None
|
|
125
|
+
)
|
|
126
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
127
|
+
alias="hiddenFromWidgets", default=None
|
|
128
|
+
)
|
|
129
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
130
|
+
display_name_override: Optional[str] = Field(
|
|
131
|
+
alias="displayNameOverride", default=None
|
|
132
|
+
)
|
|
133
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
137
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
138
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
139
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
140
|
+
feature_units_plural: Optional[str] = Field(
|
|
141
|
+
alias="featureUnitsPlural", default=None
|
|
142
|
+
)
|
|
143
|
+
display_name: str = Field(alias="displayName")
|
|
144
|
+
description: Optional[str] = Field(default=None)
|
|
145
|
+
ref_id: str = Field(alias="refId")
|
|
146
|
+
additional_meta_data: Optional[Any] = Field(
|
|
147
|
+
alias="additionalMetaData", default=None
|
|
148
|
+
)
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
class OveragePriceFragment(BaseModel):
|
|
148
152
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
149
153
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
150
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
151
154
|
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)
|
|
154
155
|
billing_country_code: Optional[str] = Field(
|
|
155
156
|
alias="billingCountryCode", default=None
|
|
156
157
|
)
|
|
157
|
-
price: Optional["
|
|
158
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
158
159
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
159
|
-
tiers: Optional[List["
|
|
160
|
-
feature: Optional["
|
|
161
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
160
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
161
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
162
162
|
|
|
163
163
|
|
|
164
|
-
class
|
|
164
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
165
165
|
amount: float
|
|
166
166
|
currency: Currency
|
|
167
167
|
|
|
168
168
|
|
|
169
|
-
class
|
|
169
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
170
170
|
pass
|
|
171
171
|
|
|
172
172
|
|
|
173
|
-
class
|
|
173
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
174
174
|
ref_id: str = Field(alias="refId")
|
|
175
175
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
176
176
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -215,6 +215,89 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
215
215
|
pass
|
|
216
216
|
|
|
217
217
|
|
|
218
|
+
class FeatureFragment(BaseModel):
|
|
219
|
+
typename__: str = Field(alias="__typename")
|
|
220
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
221
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
222
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
223
|
+
feature_units_plural: Optional[str] = Field(
|
|
224
|
+
alias="featureUnitsPlural", default=None
|
|
225
|
+
)
|
|
226
|
+
description: Optional[str] = Field(default=None)
|
|
227
|
+
display_name: str = Field(alias="displayName")
|
|
228
|
+
ref_id: str = Field(alias="refId")
|
|
229
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
230
|
+
alias="unitTransformation", default=None
|
|
231
|
+
)
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
235
|
+
divide: float
|
|
236
|
+
round: UnitTransformationRound
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
class EntitlementFragment(BaseModel):
|
|
240
|
+
typename__: str = Field(alias="__typename")
|
|
241
|
+
is_granted: bool = Field(alias="isGranted")
|
|
242
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
243
|
+
alias="accessDeniedReason", default=None
|
|
244
|
+
)
|
|
245
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
246
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
247
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
248
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
249
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
250
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
251
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
252
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
253
|
+
alias="entitlementUpdatedAt", default=None
|
|
254
|
+
)
|
|
255
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
256
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
257
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
258
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
259
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
260
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
261
|
+
alias="resetPeriod", default=None
|
|
262
|
+
)
|
|
263
|
+
reset_period_configuration: Optional[
|
|
264
|
+
Annotated[
|
|
265
|
+
Union[
|
|
266
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
267
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
268
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
269
|
+
],
|
|
270
|
+
Field(discriminator="typename__"),
|
|
271
|
+
]
|
|
272
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
273
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
277
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
278
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
279
|
+
alias="monthlyAccordingTo", default=None
|
|
280
|
+
)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
284
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
285
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
286
|
+
alias="weeklyAccordingTo", default=None
|
|
287
|
+
)
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
291
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
292
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
293
|
+
alias="yearlyAccordingTo", default=None
|
|
294
|
+
)
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
298
|
+
pass
|
|
299
|
+
|
|
300
|
+
|
|
218
301
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
219
302
|
billing_id: str = Field(alias="billingId")
|
|
220
303
|
status: SubscriptionInvoiceStatus
|
|
@@ -557,6 +640,23 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
557
640
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
558
641
|
|
|
559
642
|
|
|
643
|
+
class SlimCustomerFragment(BaseModel):
|
|
644
|
+
id: str
|
|
645
|
+
name: Optional[str] = Field(default=None)
|
|
646
|
+
email: Optional[str] = Field(default=None)
|
|
647
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
648
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
649
|
+
ref_id: str = Field(alias="refId")
|
|
650
|
+
customer_id: str = Field(alias="customerId")
|
|
651
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
652
|
+
additional_meta_data: Optional[Any] = Field(
|
|
653
|
+
alias="additionalMetaData", default=None
|
|
654
|
+
)
|
|
655
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
656
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
657
|
+
)
|
|
658
|
+
|
|
659
|
+
|
|
560
660
|
class TotalPriceFragment(BaseModel):
|
|
561
661
|
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
562
662
|
total: "TotalPriceFragmentTotal"
|
|
@@ -572,26 +672,12 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
572
672
|
currency: Currency
|
|
573
673
|
|
|
574
674
|
|
|
575
|
-
class
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
580
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
581
|
-
display_name: str = Field(alias="displayName")
|
|
582
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
583
|
-
default=None
|
|
584
|
-
)
|
|
585
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
589
|
-
pass
|
|
675
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
676
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
590
677
|
|
|
591
678
|
|
|
592
|
-
class
|
|
593
|
-
|
|
594
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
679
|
+
class CustomerResourceFragment(BaseModel):
|
|
680
|
+
resource_id: str = Field(alias="resourceId")
|
|
595
681
|
|
|
596
682
|
|
|
597
683
|
class ProductFragment(BaseModel):
|
|
@@ -615,6 +701,24 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
|
615
701
|
display_name: str = Field(alias="displayName")
|
|
616
702
|
|
|
617
703
|
|
|
704
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
705
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
706
|
+
display_name: str = Field(alias="displayName")
|
|
707
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
708
|
+
default=None
|
|
709
|
+
)
|
|
710
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
714
|
+
pass
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
718
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
719
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
720
|
+
|
|
721
|
+
|
|
618
722
|
class PlanFragment(BaseModel):
|
|
619
723
|
id: str
|
|
620
724
|
ref_id: str = Field(alias="refId")
|
|
@@ -696,27 +800,6 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
696
800
|
limit: float
|
|
697
801
|
|
|
698
802
|
|
|
699
|
-
class SlimCustomerFragment(BaseModel):
|
|
700
|
-
id: str
|
|
701
|
-
name: Optional[str] = Field(default=None)
|
|
702
|
-
email: Optional[str] = Field(default=None)
|
|
703
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
704
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
705
|
-
ref_id: str = Field(alias="refId")
|
|
706
|
-
customer_id: str = Field(alias="customerId")
|
|
707
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
708
|
-
additional_meta_data: Optional[Any] = Field(
|
|
709
|
-
alias="additionalMetaData", default=None
|
|
710
|
-
)
|
|
711
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
712
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
713
|
-
)
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
717
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
718
|
-
|
|
719
|
-
|
|
720
803
|
class SubscriptionFragment(BaseModel):
|
|
721
804
|
id: str
|
|
722
805
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -826,89 +909,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
826
909
|
pass
|
|
827
910
|
|
|
828
911
|
|
|
829
|
-
class FeatureFragment(BaseModel):
|
|
830
|
-
typename__: str = Field(alias="__typename")
|
|
831
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
832
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
833
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
834
|
-
feature_units_plural: Optional[str] = Field(
|
|
835
|
-
alias="featureUnitsPlural", default=None
|
|
836
|
-
)
|
|
837
|
-
description: Optional[str] = Field(default=None)
|
|
838
|
-
display_name: str = Field(alias="displayName")
|
|
839
|
-
ref_id: str = Field(alias="refId")
|
|
840
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
841
|
-
alias="unitTransformation", default=None
|
|
842
|
-
)
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
846
|
-
divide: float
|
|
847
|
-
round: UnitTransformationRound
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
class EntitlementFragment(BaseModel):
|
|
851
|
-
typename__: str = Field(alias="__typename")
|
|
852
|
-
is_granted: bool = Field(alias="isGranted")
|
|
853
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
854
|
-
alias="accessDeniedReason", default=None
|
|
855
|
-
)
|
|
856
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
857
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
858
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
859
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
860
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
861
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
862
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
863
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
864
|
-
alias="entitlementUpdatedAt", default=None
|
|
865
|
-
)
|
|
866
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
867
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
868
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
869
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
870
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
871
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
872
|
-
alias="resetPeriod", default=None
|
|
873
|
-
)
|
|
874
|
-
reset_period_configuration: Optional[
|
|
875
|
-
Annotated[
|
|
876
|
-
Union[
|
|
877
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
878
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
879
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
880
|
-
],
|
|
881
|
-
Field(discriminator="typename__"),
|
|
882
|
-
]
|
|
883
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
884
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
888
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
889
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
890
|
-
alias="monthlyAccordingTo", default=None
|
|
891
|
-
)
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
895
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
896
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
897
|
-
alias="weeklyAccordingTo", default=None
|
|
898
|
-
)
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
902
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
903
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
904
|
-
alias="yearlyAccordingTo", default=None
|
|
905
|
-
)
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
909
|
-
pass
|
|
910
|
-
|
|
911
|
-
|
|
912
912
|
class ApplySubscriptionFragment(BaseModel):
|
|
913
913
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
914
914
|
default=None
|
|
@@ -1249,6 +1249,16 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1249
1249
|
pass
|
|
1250
1250
|
|
|
1251
1251
|
|
|
1252
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1253
|
+
display_name: str = Field(alias="displayName")
|
|
1254
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1255
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1256
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1257
|
+
period: PromotionalEntitlementPeriod
|
|
1258
|
+
start_date: Any = Field(alias="startDate")
|
|
1259
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1260
|
+
|
|
1261
|
+
|
|
1252
1262
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1253
1263
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1254
1264
|
alias="subscriptionScheduleType"
|
|
@@ -1418,13 +1428,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1418
1428
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1419
1429
|
|
|
1420
1430
|
|
|
1421
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1422
|
-
addon_id: str = Field(alias="addonId")
|
|
1423
|
-
description: Optional[str] = Field(default=None)
|
|
1424
|
-
display_name: str = Field(alias="displayName")
|
|
1425
|
-
quantity: int
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
1431
|
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1429
1432
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1430
1433
|
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
@@ -1452,6 +1455,13 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1452
1455
|
)
|
|
1453
1456
|
|
|
1454
1457
|
|
|
1458
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1459
|
+
addon_id: str = Field(alias="addonId")
|
|
1460
|
+
description: Optional[str] = Field(default=None)
|
|
1461
|
+
display_name: str = Field(alias="displayName")
|
|
1462
|
+
quantity: int
|
|
1463
|
+
|
|
1464
|
+
|
|
1455
1465
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1456
1466
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1457
1467
|
plan_id: str = Field(alias="planId")
|
|
@@ -1548,16 +1558,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1548
1558
|
pass
|
|
1549
1559
|
|
|
1550
1560
|
|
|
1551
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1552
|
-
display_name: str = Field(alias="displayName")
|
|
1553
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1554
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1555
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1556
|
-
period: PromotionalEntitlementPeriod
|
|
1557
|
-
start_date: Any = Field(alias="startDate")
|
|
1558
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
1561
|
class CustomerPortalFragment(BaseModel):
|
|
1562
1562
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1563
1563
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2762,24 +2762,24 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2762
2762
|
|
|
2763
2763
|
|
|
2764
2764
|
AddonDependencyFragment.model_rebuild()
|
|
2765
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2766
2765
|
PriceTierFragment.model_rebuild()
|
|
2767
|
-
OveragePriceFragment.model_rebuild()
|
|
2768
2766
|
PriceFragment.model_rebuild()
|
|
2767
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2768
|
+
OveragePriceFragment.model_rebuild()
|
|
2769
2769
|
AddonFragment.model_rebuild()
|
|
2770
|
+
FeatureFragment.model_rebuild()
|
|
2771
|
+
EntitlementFragment.model_rebuild()
|
|
2770
2772
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2771
2773
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2772
2774
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2775
|
+
SlimCustomerFragment.model_rebuild()
|
|
2773
2776
|
TotalPriceFragment.model_rebuild()
|
|
2777
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2774
2778
|
CustomerResourceFragment.model_rebuild()
|
|
2775
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2776
2779
|
ProductFragment.model_rebuild()
|
|
2780
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2777
2781
|
PlanFragment.model_rebuild()
|
|
2778
|
-
SlimCustomerFragment.model_rebuild()
|
|
2779
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2780
2782
|
SubscriptionFragment.model_rebuild()
|
|
2781
|
-
FeatureFragment.model_rebuild()
|
|
2782
|
-
EntitlementFragment.model_rebuild()
|
|
2783
2783
|
ApplySubscriptionFragment.model_rebuild()
|
|
2784
2784
|
FontVariantFragment.model_rebuild()
|
|
2785
2785
|
TypographyConfigurationFragment.model_rebuild()
|
|
@@ -2791,11 +2791,11 @@ CheckoutStateFragment.model_rebuild()
|
|
|
2791
2791
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2792
2792
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2793
2793
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2794
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2794
2795
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2795
|
-
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2796
2796
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2797
|
+
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2797
2798
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2798
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2799
2799
|
CustomerPortalFragment.model_rebuild()
|
|
2800
2800
|
CustomerStatisticsFragment.model_rebuild()
|
|
2801
2801
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=YyjIiF45-rdETMG4T-ZjxncgpPlzeYt8J04wejdSmSQ,3409
|
|
|
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=IPj-RYE4nI5ugr7aBfEQKrBxeyZZEMg61Qjf6Vo9P6c,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.
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
163
|
+
stigg_api_client_v2-2.286.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.286.1.dist-info/METADATA,sha256=dvw4FIrofhRCkrUCIJGQXJoHGMnqdxt8_c2LMCav-eA,2258
|
|
165
|
+
stigg_api_client_v2-2.286.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.286.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|