stigg-api-client-v2 2.472.0__py3-none-any.whl → 2.475.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/async_client.py +10 -0
- stigg/generated/client.py +10 -0
- stigg/generated/enums.py +1 -0
- stigg/generated/fragments.py +186 -184
- stigg/generated/input_types.py +4 -0
- {stigg_api_client_v2-2.472.0.dist-info → stigg_api_client_v2-2.475.1.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.472.0.dist-info → stigg_api_client_v2-2.475.1.dist-info}/RECORD +9 -9
- {stigg_api_client_v2-2.472.0.dist-info → stigg_api_client_v2-2.475.1.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.472.0.dist-info → stigg_api_client_v2-2.475.1.dist-info}/WHEEL +0 -0
stigg/generated/async_client.py
CHANGED
|
@@ -126,6 +126,8 @@ class AsyncClient(AsyncBaseClient):
|
|
|
126
126
|
hasSoftLimit
|
|
127
127
|
currentUsage
|
|
128
128
|
requestedUsage
|
|
129
|
+
requestedValues
|
|
130
|
+
enumValues
|
|
129
131
|
entitlementUpdatedAt
|
|
130
132
|
usageUpdatedAt
|
|
131
133
|
usagePeriodAnchor
|
|
@@ -537,6 +539,8 @@ class AsyncClient(AsyncBaseClient):
|
|
|
537
539
|
hasSoftLimit
|
|
538
540
|
currentUsage
|
|
539
541
|
requestedUsage
|
|
542
|
+
requestedValues
|
|
543
|
+
enumValues
|
|
540
544
|
entitlementUpdatedAt
|
|
541
545
|
usageUpdatedAt
|
|
542
546
|
usagePeriodAnchor
|
|
@@ -790,6 +794,8 @@ class AsyncClient(AsyncBaseClient):
|
|
|
790
794
|
hasSoftLimit
|
|
791
795
|
currentUsage
|
|
792
796
|
requestedUsage
|
|
797
|
+
requestedValues
|
|
798
|
+
enumValues
|
|
793
799
|
entitlementUpdatedAt
|
|
794
800
|
usageUpdatedAt
|
|
795
801
|
usagePeriodAnchor
|
|
@@ -4926,6 +4932,8 @@ class AsyncClient(AsyncBaseClient):
|
|
|
4926
4932
|
hasSoftLimit
|
|
4927
4933
|
currentUsage
|
|
4928
4934
|
requestedUsage
|
|
4935
|
+
requestedValues
|
|
4936
|
+
enumValues
|
|
4929
4937
|
entitlementUpdatedAt
|
|
4930
4938
|
usageUpdatedAt
|
|
4931
4939
|
usagePeriodAnchor
|
|
@@ -5002,6 +5010,8 @@ class AsyncClient(AsyncBaseClient):
|
|
|
5002
5010
|
hasSoftLimit
|
|
5003
5011
|
currentUsage
|
|
5004
5012
|
requestedUsage
|
|
5013
|
+
requestedValues
|
|
5014
|
+
enumValues
|
|
5005
5015
|
entitlementUpdatedAt
|
|
5006
5016
|
usageUpdatedAt
|
|
5007
5017
|
usagePeriodAnchor
|
stigg/generated/client.py
CHANGED
|
@@ -126,6 +126,8 @@ class Client(BaseClient):
|
|
|
126
126
|
hasSoftLimit
|
|
127
127
|
currentUsage
|
|
128
128
|
requestedUsage
|
|
129
|
+
requestedValues
|
|
130
|
+
enumValues
|
|
129
131
|
entitlementUpdatedAt
|
|
130
132
|
usageUpdatedAt
|
|
131
133
|
usagePeriodAnchor
|
|
@@ -537,6 +539,8 @@ class Client(BaseClient):
|
|
|
537
539
|
hasSoftLimit
|
|
538
540
|
currentUsage
|
|
539
541
|
requestedUsage
|
|
542
|
+
requestedValues
|
|
543
|
+
enumValues
|
|
540
544
|
entitlementUpdatedAt
|
|
541
545
|
usageUpdatedAt
|
|
542
546
|
usagePeriodAnchor
|
|
@@ -790,6 +794,8 @@ class Client(BaseClient):
|
|
|
790
794
|
hasSoftLimit
|
|
791
795
|
currentUsage
|
|
792
796
|
requestedUsage
|
|
797
|
+
requestedValues
|
|
798
|
+
enumValues
|
|
793
799
|
entitlementUpdatedAt
|
|
794
800
|
usageUpdatedAt
|
|
795
801
|
usagePeriodAnchor
|
|
@@ -4924,6 +4930,8 @@ class Client(BaseClient):
|
|
|
4924
4930
|
hasSoftLimit
|
|
4925
4931
|
currentUsage
|
|
4926
4932
|
requestedUsage
|
|
4933
|
+
requestedValues
|
|
4934
|
+
enumValues
|
|
4927
4935
|
entitlementUpdatedAt
|
|
4928
4936
|
usageUpdatedAt
|
|
4929
4937
|
usagePeriodAnchor
|
|
@@ -5000,6 +5008,8 @@ class Client(BaseClient):
|
|
|
5000
5008
|
hasSoftLimit
|
|
5001
5009
|
currentUsage
|
|
5002
5010
|
requestedUsage
|
|
5011
|
+
requestedValues
|
|
5012
|
+
enumValues
|
|
5003
5013
|
entitlementUpdatedAt
|
|
5004
5014
|
usageUpdatedAt
|
|
5005
5015
|
usagePeriodAnchor
|
stigg/generated/enums.py
CHANGED
|
@@ -14,6 +14,7 @@ class AccessDeniedReason(str, Enum):
|
|
|
14
14
|
NoActiveSubscription = "NoActiveSubscription"
|
|
15
15
|
NoFeatureEntitlementInSubscription = "NoFeatureEntitlementInSubscription"
|
|
16
16
|
RequestedUsageExceedingLimit = "RequestedUsageExceedingLimit"
|
|
17
|
+
RequestedValuesMismatch = "RequestedValuesMismatch"
|
|
17
18
|
Unknown = "Unknown"
|
|
18
19
|
|
|
19
20
|
|
stigg/generated/fragments.py
CHANGED
|
@@ -116,6 +116,38 @@ class PriceFragmentFeature(BaseModel):
|
|
|
116
116
|
description: Optional[str] = Field(default=None)
|
|
117
117
|
|
|
118
118
|
|
|
119
|
+
class OveragePriceFragment(BaseModel):
|
|
120
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
121
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
122
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
123
|
+
billing_country_code: Optional[str] = Field(
|
|
124
|
+
alias="billingCountryCode", default=None
|
|
125
|
+
)
|
|
126
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
127
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
128
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
129
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
133
|
+
amount: float
|
|
134
|
+
currency: Currency
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
138
|
+
pass
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
142
|
+
ref_id: str = Field(alias="refId")
|
|
143
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
144
|
+
feature_units_plural: Optional[str] = Field(
|
|
145
|
+
alias="featureUnitsPlural", default=None
|
|
146
|
+
)
|
|
147
|
+
display_name: str = Field(alias="displayName")
|
|
148
|
+
description: Optional[str] = Field(default=None)
|
|
149
|
+
|
|
150
|
+
|
|
119
151
|
class PackageEntitlementFragment(BaseModel):
|
|
120
152
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
121
153
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -149,38 +181,6 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
149
181
|
)
|
|
150
182
|
|
|
151
183
|
|
|
152
|
-
class OveragePriceFragment(BaseModel):
|
|
153
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
154
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
155
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
156
|
-
billing_country_code: Optional[str] = Field(
|
|
157
|
-
alias="billingCountryCode", default=None
|
|
158
|
-
)
|
|
159
|
-
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
160
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
161
|
-
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
162
|
-
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
class OveragePriceFragmentPrice(BaseModel):
|
|
166
|
-
amount: float
|
|
167
|
-
currency: Currency
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
171
|
-
pass
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
class OveragePriceFragmentFeature(BaseModel):
|
|
175
|
-
ref_id: str = Field(alias="refId")
|
|
176
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
177
|
-
feature_units_plural: Optional[str] = Field(
|
|
178
|
-
alias="featureUnitsPlural", default=None
|
|
179
|
-
)
|
|
180
|
-
display_name: str = Field(alias="displayName")
|
|
181
|
-
description: Optional[str] = Field(default=None)
|
|
182
|
-
|
|
183
|
-
|
|
184
184
|
class AddonFragment(BaseModel):
|
|
185
185
|
id: Any
|
|
186
186
|
ref_id: str = Field(alias="refId")
|
|
@@ -219,23 +219,91 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
219
219
|
pass
|
|
220
220
|
|
|
221
221
|
|
|
222
|
-
class
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
222
|
+
class FeatureFragment(BaseModel):
|
|
223
|
+
typename__: str = Field(alias="__typename")
|
|
224
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
225
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
226
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
227
|
+
feature_units_plural: Optional[str] = Field(
|
|
228
|
+
alias="featureUnitsPlural", default=None
|
|
229
|
+
)
|
|
230
|
+
description: Optional[str] = Field(default=None)
|
|
231
|
+
display_name: str = Field(alias="displayName")
|
|
228
232
|
ref_id: str = Field(alias="refId")
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
additional_meta_data: Optional[Any] = Field(
|
|
232
|
-
alias="additionalMetaData", default=None
|
|
233
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
234
|
+
alias="unitTransformation", default=None
|
|
233
235
|
)
|
|
234
|
-
|
|
235
|
-
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
239
|
+
divide: float
|
|
240
|
+
round: UnitTransformationRound
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
class EntitlementFragment(BaseModel):
|
|
244
|
+
typename__: str = Field(alias="__typename")
|
|
245
|
+
is_granted: bool = Field(alias="isGranted")
|
|
246
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
247
|
+
alias="accessDeniedReason", default=None
|
|
248
|
+
)
|
|
249
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
250
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
251
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
252
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
253
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
254
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
255
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
256
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
257
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
258
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
259
|
+
alias="entitlementUpdatedAt", default=None
|
|
260
|
+
)
|
|
261
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
262
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
263
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
264
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
265
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
266
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
267
|
+
alias="resetPeriod", default=None
|
|
268
|
+
)
|
|
269
|
+
reset_period_configuration: Optional[
|
|
270
|
+
Annotated[
|
|
271
|
+
Union[
|
|
272
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
273
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
274
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
275
|
+
],
|
|
276
|
+
Field(discriminator="typename__"),
|
|
277
|
+
]
|
|
278
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
279
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
283
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
284
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
285
|
+
alias="monthlyAccordingTo", default=None
|
|
286
|
+
)
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
290
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
291
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
292
|
+
alias="weeklyAccordingTo", default=None
|
|
293
|
+
)
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
297
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
298
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
299
|
+
alias="yearlyAccordingTo", default=None
|
|
236
300
|
)
|
|
237
301
|
|
|
238
302
|
|
|
303
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
304
|
+
pass
|
|
305
|
+
|
|
306
|
+
|
|
239
307
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
240
308
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
241
309
|
alias="subscriptionScheduleType"
|
|
@@ -398,6 +466,10 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
398
466
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
399
467
|
|
|
400
468
|
|
|
469
|
+
class CustomerResourceFragment(BaseModel):
|
|
470
|
+
resource_id: str = Field(alias="resourceId")
|
|
471
|
+
|
|
472
|
+
|
|
401
473
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
402
474
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
403
475
|
alias="subscriptionScheduleType"
|
|
@@ -552,39 +624,25 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
552
624
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
553
625
|
|
|
554
626
|
|
|
555
|
-
class
|
|
556
|
-
|
|
627
|
+
class ProductFragment(BaseModel):
|
|
628
|
+
ref_id: str = Field(alias="refId")
|
|
629
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
630
|
+
description: Optional[str] = Field(default=None)
|
|
631
|
+
additional_meta_data: Optional[Any] = Field(
|
|
632
|
+
alias="additionalMetaData", default=None
|
|
633
|
+
)
|
|
634
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
557
635
|
|
|
558
636
|
|
|
559
|
-
class
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
created_at: Any = Field(alias="createdAt")
|
|
563
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
564
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
565
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
566
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
567
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
568
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
569
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
570
|
-
alias="billingReason", default=None
|
|
571
|
-
)
|
|
572
|
-
currency: Optional[str] = Field(default=None)
|
|
573
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
574
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
575
|
-
alias="subTotalExcludingTax", default=None
|
|
576
|
-
)
|
|
577
|
-
total: Optional[float] = Field(default=None)
|
|
578
|
-
total_excluding_tax: Optional[float] = Field(
|
|
579
|
-
alias="totalExcludingTax", default=None
|
|
637
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
638
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
639
|
+
alias="downgradePlan", default=None
|
|
580
640
|
)
|
|
581
|
-
tax: Optional[float] = Field(default=None)
|
|
582
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
583
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
584
641
|
|
|
585
642
|
|
|
586
|
-
class
|
|
587
|
-
|
|
643
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
644
|
+
ref_id: str = Field(alias="refId")
|
|
645
|
+
display_name: str = Field(alias="displayName")
|
|
588
646
|
|
|
589
647
|
|
|
590
648
|
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
@@ -605,27 +663,6 @@ class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
|
605
663
|
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
606
664
|
|
|
607
665
|
|
|
608
|
-
class ProductFragment(BaseModel):
|
|
609
|
-
ref_id: str = Field(alias="refId")
|
|
610
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
611
|
-
description: Optional[str] = Field(default=None)
|
|
612
|
-
additional_meta_data: Optional[Any] = Field(
|
|
613
|
-
alias="additionalMetaData", default=None
|
|
614
|
-
)
|
|
615
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
619
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
620
|
-
alias="downgradePlan", default=None
|
|
621
|
-
)
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
625
|
-
ref_id: str = Field(alias="refId")
|
|
626
|
-
display_name: str = Field(alias="displayName")
|
|
627
|
-
|
|
628
|
-
|
|
629
666
|
class PlanFragment(BaseModel):
|
|
630
667
|
id: Any
|
|
631
668
|
ref_id: str = Field(alias="refId")
|
|
@@ -707,6 +744,54 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
707
744
|
limit: float
|
|
708
745
|
|
|
709
746
|
|
|
747
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
748
|
+
billing_id: str = Field(alias="billingId")
|
|
749
|
+
status: SubscriptionInvoiceStatus
|
|
750
|
+
created_at: Any = Field(alias="createdAt")
|
|
751
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
752
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
753
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
754
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
755
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
756
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
757
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
758
|
+
alias="billingReason", default=None
|
|
759
|
+
)
|
|
760
|
+
currency: Optional[str] = Field(default=None)
|
|
761
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
762
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
763
|
+
alias="subTotalExcludingTax", default=None
|
|
764
|
+
)
|
|
765
|
+
total: Optional[float] = Field(default=None)
|
|
766
|
+
total_excluding_tax: Optional[float] = Field(
|
|
767
|
+
alias="totalExcludingTax", default=None
|
|
768
|
+
)
|
|
769
|
+
tax: Optional[float] = Field(default=None)
|
|
770
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
771
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
775
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
class SlimCustomerFragment(BaseModel):
|
|
779
|
+
id: Any
|
|
780
|
+
name: Optional[str] = Field(default=None)
|
|
781
|
+
email: Optional[str] = Field(default=None)
|
|
782
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
783
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
784
|
+
ref_id: str = Field(alias="refId")
|
|
785
|
+
customer_id: str = Field(alias="customerId")
|
|
786
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
787
|
+
additional_meta_data: Optional[Any] = Field(
|
|
788
|
+
alias="additionalMetaData", default=None
|
|
789
|
+
)
|
|
790
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
791
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
792
|
+
)
|
|
793
|
+
|
|
794
|
+
|
|
710
795
|
class TotalPriceFragment(BaseModel):
|
|
711
796
|
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
712
797
|
total: "TotalPriceFragmentTotal"
|
|
@@ -831,89 +916,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
831
916
|
pass
|
|
832
917
|
|
|
833
918
|
|
|
834
|
-
class FeatureFragment(BaseModel):
|
|
835
|
-
typename__: str = Field(alias="__typename")
|
|
836
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
837
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
838
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
839
|
-
feature_units_plural: Optional[str] = Field(
|
|
840
|
-
alias="featureUnitsPlural", default=None
|
|
841
|
-
)
|
|
842
|
-
description: Optional[str] = Field(default=None)
|
|
843
|
-
display_name: str = Field(alias="displayName")
|
|
844
|
-
ref_id: str = Field(alias="refId")
|
|
845
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
846
|
-
alias="unitTransformation", default=None
|
|
847
|
-
)
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
851
|
-
divide: float
|
|
852
|
-
round: UnitTransformationRound
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
class EntitlementFragment(BaseModel):
|
|
856
|
-
typename__: str = Field(alias="__typename")
|
|
857
|
-
is_granted: bool = Field(alias="isGranted")
|
|
858
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
859
|
-
alias="accessDeniedReason", default=None
|
|
860
|
-
)
|
|
861
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
862
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
863
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
864
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
865
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
866
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
867
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
868
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
869
|
-
alias="entitlementUpdatedAt", default=None
|
|
870
|
-
)
|
|
871
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
872
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
873
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
874
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
875
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
876
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
877
|
-
alias="resetPeriod", default=None
|
|
878
|
-
)
|
|
879
|
-
reset_period_configuration: Optional[
|
|
880
|
-
Annotated[
|
|
881
|
-
Union[
|
|
882
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
883
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
884
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
885
|
-
],
|
|
886
|
-
Field(discriminator="typename__"),
|
|
887
|
-
]
|
|
888
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
889
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
893
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
894
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
895
|
-
alias="monthlyAccordingTo", default=None
|
|
896
|
-
)
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
900
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
901
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
902
|
-
alias="weeklyAccordingTo", default=None
|
|
903
|
-
)
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
907
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
908
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
909
|
-
alias="yearlyAccordingTo", default=None
|
|
910
|
-
)
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
914
|
-
pass
|
|
915
|
-
|
|
916
|
-
|
|
917
919
|
class ApplySubscriptionFragment(BaseModel):
|
|
918
920
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
919
921
|
default=None
|
|
@@ -2836,22 +2838,22 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2836
2838
|
AddonDependencyFragment.model_rebuild()
|
|
2837
2839
|
PriceTierFragment.model_rebuild()
|
|
2838
2840
|
PriceFragment.model_rebuild()
|
|
2839
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2840
2841
|
OveragePriceFragment.model_rebuild()
|
|
2842
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2841
2843
|
AddonFragment.model_rebuild()
|
|
2842
|
-
|
|
2844
|
+
FeatureFragment.model_rebuild()
|
|
2845
|
+
EntitlementFragment.model_rebuild()
|
|
2843
2846
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2844
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2845
2847
|
CustomerResourceFragment.model_rebuild()
|
|
2846
|
-
|
|
2847
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2848
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2848
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2849
2849
|
ProductFragment.model_rebuild()
|
|
2850
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2850
2851
|
PlanFragment.model_rebuild()
|
|
2852
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2853
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2854
|
+
SlimCustomerFragment.model_rebuild()
|
|
2851
2855
|
TotalPriceFragment.model_rebuild()
|
|
2852
2856
|
SubscriptionFragment.model_rebuild()
|
|
2853
|
-
FeatureFragment.model_rebuild()
|
|
2854
|
-
EntitlementFragment.model_rebuild()
|
|
2855
2857
|
ApplySubscriptionFragment.model_rebuild()
|
|
2856
2858
|
FontVariantFragment.model_rebuild()
|
|
2857
2859
|
TypographyConfigurationFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -1489,6 +1489,7 @@ class EntitlementCheckRequested(BaseModel):
|
|
|
1489
1489
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
1490
1490
|
feature_id: str = Field(alias="featureId")
|
|
1491
1491
|
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
1492
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
1492
1493
|
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
1493
1494
|
|
|
1494
1495
|
|
|
@@ -1497,6 +1498,7 @@ class EntitlementCheckResult(BaseModel):
|
|
|
1497
1498
|
alias="accessDeniedReason", default=None
|
|
1498
1499
|
)
|
|
1499
1500
|
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
1501
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1500
1502
|
has_access: bool = Field(alias="hasAccess")
|
|
1501
1503
|
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=False)
|
|
1502
1504
|
has_unlimited_usage: Optional[bool] = Field(
|
|
@@ -1507,6 +1509,7 @@ class EntitlementCheckResult(BaseModel):
|
|
|
1507
1509
|
] = Field(alias="monthlyResetPeriodConfiguration", default=None)
|
|
1508
1510
|
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
1509
1511
|
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
1512
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
1510
1513
|
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1511
1514
|
alias="resetPeriod", default=None
|
|
1512
1515
|
)
|
|
@@ -1521,6 +1524,7 @@ class EntitlementCheckResult(BaseModel):
|
|
|
1521
1524
|
|
|
1522
1525
|
class EntitlementOptions(BaseModel):
|
|
1523
1526
|
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
1527
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
1524
1528
|
should_track: Optional[bool] = Field(alias="shouldTrack", default=False)
|
|
1525
1529
|
|
|
1526
1530
|
|
|
@@ -110,20 +110,20 @@ stigg/generated/__init__.py,sha256=ZqTxHJXrfwLRuzEhiy_goBs-DkH8QafSL5NEa4rczxI,7
|
|
|
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
|
|
113
|
-
stigg/generated/async_client.py,sha256=
|
|
113
|
+
stigg/generated/async_client.py,sha256=jmgn8POFngsmXthFVR3NXO-QeGk1prlXfcGPSZi6GaQ,173285
|
|
114
114
|
stigg/generated/base_client.py,sha256=nAto-nOqrOHFTLqdRy2ZDpT1afgsqCzf6hTeBh5MyPQ,6674
|
|
115
115
|
stigg/generated/base_model.py,sha256=0rs99bmZqPbltlPVMfhExeA5zD6ATQFaNZVsxGNonI4,635
|
|
116
116
|
stigg/generated/cancel_subscription.py,sha256=pKrMFmKjGIuWvnVCYQ8brWQO9_JeTnfScgGQjztuN-o,457
|
|
117
117
|
stigg/generated/cancel_subscription_updates.py,sha256=T1C9vyppzZi_91pEnIGkHUL3GEsvtf5EMwr1f01tjbM,241
|
|
118
|
-
stigg/generated/client.py,sha256=
|
|
118
|
+
stigg/generated/client.py,sha256=5Tb8eEHhZ42qRroe623W1F_hLeXY1U6rg6MjMRyXmmE,172696
|
|
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=oBfmlp2nHkpkNzYzCrfjUlNxhMQwC4uys5UidfwhSgw,36316
|
|
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=vObvaKHciEVMFXSfDcany6QTcAcOzFNx2-qsxvkvks0,103522
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -145,7 +145,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
145
145
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
146
146
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
147
147
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
148
|
-
stigg/generated/input_types.py,sha256=
|
|
148
|
+
stigg/generated/input_types.py,sha256=0XNY8g_8m8nX-hbsGzTDnw6HZ4InUooCG66a0eaOwy8,200655
|
|
149
149
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
150
150
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
151
151
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -161,7 +161,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
161
161
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
162
162
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
163
163
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
167
|
-
stigg_api_client_v2-2.
|
|
164
|
+
stigg_api_client_v2-2.475.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-2.475.1.dist-info/METADATA,sha256=VncfB728EjlQcKJuRYNfeRipgKEOCsZuc2y05WsCA6k,2258
|
|
166
|
+
stigg_api_client_v2-2.475.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-2.475.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|