stigg-api-client-v2 2.472.0__py3-none-any.whl → 2.475.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of stigg-api-client-v2 might be problematic. Click here for more details.

@@ -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
 
@@ -80,6 +80,38 @@ class PriceTierFragmentFlatPrice(BaseModel):
80
80
  currency: Currency
81
81
 
82
82
 
83
+ class OveragePriceFragment(BaseModel):
84
+ billing_model: BillingModel = Field(alias="billingModel")
85
+ billing_period: BillingPeriod = Field(alias="billingPeriod")
86
+ billing_id: Optional[str] = Field(alias="billingId", default=None)
87
+ billing_country_code: Optional[str] = Field(
88
+ alias="billingCountryCode", default=None
89
+ )
90
+ price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
91
+ tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
92
+ tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
93
+ feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
94
+
95
+
96
+ class OveragePriceFragmentPrice(BaseModel):
97
+ amount: float
98
+ currency: Currency
99
+
100
+
101
+ class OveragePriceFragmentTiers(PriceTierFragment):
102
+ pass
103
+
104
+
105
+ class OveragePriceFragmentFeature(BaseModel):
106
+ ref_id: str = Field(alias="refId")
107
+ feature_units: Optional[str] = Field(alias="featureUnits", default=None)
108
+ feature_units_plural: Optional[str] = Field(
109
+ alias="featureUnitsPlural", default=None
110
+ )
111
+ display_name: str = Field(alias="displayName")
112
+ description: Optional[str] = Field(default=None)
113
+
114
+
83
115
  class PriceFragment(BaseModel):
84
116
  billing_model: BillingModel = Field(alias="billingModel")
85
117
  billing_period: BillingPeriod = Field(alias="billingPeriod")
@@ -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")
@@ -236,166 +236,8 @@ class SlimCustomerFragment(BaseModel):
236
236
  )
237
237
 
238
238
 
239
- class SubscriptionScheduledUpdateData(BaseModel):
240
- subscription_schedule_type: SubscriptionScheduleType = Field(
241
- alias="subscriptionScheduleType"
242
- )
243
- schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
244
- scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
245
- target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
246
- alias="targetPackage", default=None
247
- )
248
- schedule_variables: Optional[
249
- Annotated[
250
- Union[
251
- "SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
252
- "SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
253
- "SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
254
- "SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
255
- "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
256
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
257
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
258
- "SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
259
- ],
260
- Field(discriminator="typename__"),
261
- ]
262
- ] = Field(alias="scheduleVariables", default=None)
263
-
264
-
265
- class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
266
- id: Any
267
- ref_id: str = Field(alias="refId")
268
- display_name: str = Field(alias="displayName")
269
-
270
-
271
- class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
272
- typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
273
- addon_ref_id: str = Field(alias="addonRefId")
274
- new_quantity: float = Field(alias="newQuantity")
275
-
276
-
277
- class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
278
- BaseModel
279
- ):
280
- typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
281
- addon_ref_id: str = Field(alias="addonRefId")
282
- feature_id: Optional[str] = Field(alias="featureId", default=None)
283
-
284
-
285
- class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
286
- BaseModel
287
- ):
288
- typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
289
- billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
290
-
291
-
292
- class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
293
- typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
294
-
295
-
296
- class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
297
- BaseModel
298
- ):
299
- typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
300
- downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
301
- billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
302
- billable_features: Optional[
303
- List[
304
- "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
305
- ]
306
- ] = Field(alias="billableFeatures", default=None)
307
- addons: Optional[
308
- List[
309
- "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
310
- ]
311
- ] = Field(default=None)
312
- price_overrides: Optional[
313
- List[
314
- "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
315
- ]
316
- ] = Field(alias="priceOverrides", default=None)
317
-
318
-
319
- class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
320
- BaseModel
321
- ):
322
- feature_id: str = Field(alias="featureId")
323
- quantity: float
324
-
325
-
326
- class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
327
- BaseModel
328
- ):
329
- addon_ref_id: str = Field(alias="addonRefId")
330
- quantity: float
331
-
332
-
333
- class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
334
- BaseModel
335
- ):
336
- plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
337
- addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
338
- feature_id: Optional[str] = Field(alias="featureId", default=None)
339
-
340
-
341
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
342
- typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
343
- plan_ref_id: str = Field(alias="planRefId")
344
- change_type: PlanChangeType = Field(alias="changeType")
345
- billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
346
- billable_features: Optional[
347
- List[
348
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
349
- ]
350
- ] = Field(alias="billableFeatures", default=None)
351
- addons: Optional[
352
- List[
353
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
354
- ]
355
- ] = Field(default=None)
356
- price_overrides: Optional[
357
- List[
358
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
359
- ]
360
- ] = Field(alias="priceOverrides", default=None)
361
-
362
-
363
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
364
- BaseModel
365
- ):
366
- feature_id: str = Field(alias="featureId")
367
- quantity: float
368
-
369
-
370
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
371
- BaseModel
372
- ):
373
- addon_ref_id: str = Field(alias="addonRefId")
374
- quantity: float
375
-
376
-
377
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
378
- BaseModel
379
- ):
380
- plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
381
- addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
382
- feature_id: Optional[str] = Field(alias="featureId", default=None)
383
-
384
-
385
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
386
- BaseModel
387
- ):
388
- typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
389
- plan_ref_id: str = Field(alias="planRefId")
390
- feature_id: Optional[str] = Field(alias="featureId", default=None)
391
-
392
-
393
- class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
394
- BaseModel
395
- ):
396
- typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
397
- new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
398
- feature_id: Optional[str] = Field(alias="featureId", default=None)
239
+ class CustomerResourceFragment(BaseModel):
240
+ resource_id: str = Field(alias="resourceId")
399
241
 
400
242
 
401
243
  class SubscriptionFutureUpdateData(BaseModel):
@@ -552,57 +394,23 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
552
394
  feature_id: Optional[str] = Field(alias="featureId", default=None)
553
395
 
554
396
 
555
- class CustomerResourceFragment(BaseModel):
556
- resource_id: str = Field(alias="resourceId")
557
-
558
-
559
- class SubscriptionInvoiceFragment(BaseModel):
560
- billing_id: str = Field(alias="billingId")
561
- status: SubscriptionInvoiceStatus
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
580
- )
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
-
585
-
586
- class SubscriptionTrialConfigurationFragment(BaseModel):
587
- trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
397
+ class TotalPriceFragment(BaseModel):
398
+ sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
399
+ total: "TotalPriceFragmentTotal"
588
400
 
589
401
 
590
- class PlanCompatiblePackageGroupsFragment(BaseModel):
591
- package_group_id: str = Field(alias="packageGroupId")
592
- display_name: str = Field(alias="displayName")
593
- addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
594
- default=None
595
- )
596
- options: "PlanCompatiblePackageGroupsFragmentOptions"
402
+ class TotalPriceFragmentSubTotal(BaseModel):
403
+ amount: float
404
+ currency: Currency
597
405
 
598
406
 
599
- class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
600
- pass
407
+ class TotalPriceFragmentTotal(BaseModel):
408
+ amount: float
409
+ currency: Currency
601
410
 
602
411
 
603
- class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
604
- min_items: Optional[float] = Field(alias="minItems", default=None)
605
- free_items: Optional[float] = Field(alias="freeItems", default=None)
412
+ class SubscriptionTrialConfigurationFragment(BaseModel):
413
+ trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
606
414
 
607
415
 
608
416
  class ProductFragment(BaseModel):
@@ -626,6 +434,24 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
626
434
  display_name: str = Field(alias="displayName")
627
435
 
628
436
 
437
+ class PlanCompatiblePackageGroupsFragment(BaseModel):
438
+ package_group_id: str = Field(alias="packageGroupId")
439
+ display_name: str = Field(alias="displayName")
440
+ addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
441
+ default=None
442
+ )
443
+ options: "PlanCompatiblePackageGroupsFragmentOptions"
444
+
445
+
446
+ class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
447
+ pass
448
+
449
+
450
+ class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
451
+ min_items: Optional[float] = Field(alias="minItems", default=None)
452
+ free_items: Optional[float] = Field(alias="freeItems", default=None)
453
+
454
+
629
455
  class PlanFragment(BaseModel):
630
456
  id: Any
631
457
  ref_id: str = Field(alias="refId")
@@ -707,19 +533,193 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
707
533
  limit: float
708
534
 
709
535
 
710
- class TotalPriceFragment(BaseModel):
711
- sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
712
- total: "TotalPriceFragmentTotal"
536
+ class SubscriptionInvoiceFragment(BaseModel):
537
+ billing_id: str = Field(alias="billingId")
538
+ status: SubscriptionInvoiceStatus
539
+ created_at: Any = Field(alias="createdAt")
540
+ updated_at: Any = Field(alias="updatedAt")
541
+ error_message: Optional[str] = Field(alias="errorMessage", default=None)
542
+ requires_action: bool = Field(alias="requiresAction")
543
+ payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
544
+ payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
545
+ pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
546
+ billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
547
+ alias="billingReason", default=None
548
+ )
549
+ currency: Optional[str] = Field(default=None)
550
+ sub_total: Optional[float] = Field(alias="subTotal", default=None)
551
+ sub_total_excluding_tax: Optional[float] = Field(
552
+ alias="subTotalExcludingTax", default=None
553
+ )
554
+ total: Optional[float] = Field(default=None)
555
+ total_excluding_tax: Optional[float] = Field(
556
+ alias="totalExcludingTax", default=None
557
+ )
558
+ tax: Optional[float] = Field(default=None)
559
+ amount_due: Optional[float] = Field(alias="amountDue", default=None)
560
+ attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
561
+
562
+
563
+ class SubscriptionScheduledUpdateData(BaseModel):
564
+ subscription_schedule_type: SubscriptionScheduleType = Field(
565
+ alias="subscriptionScheduleType"
566
+ )
567
+ schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
568
+ scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
569
+ target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
570
+ alias="targetPackage", default=None
571
+ )
572
+ schedule_variables: Optional[
573
+ Annotated[
574
+ Union[
575
+ "SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
576
+ "SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
577
+ "SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
578
+ "SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
579
+ "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
580
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
581
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
582
+ "SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
583
+ ],
584
+ Field(discriminator="typename__"),
585
+ ]
586
+ ] = Field(alias="scheduleVariables", default=None)
587
+
588
+
589
+ class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
590
+ id: Any
591
+ ref_id: str = Field(alias="refId")
592
+ display_name: str = Field(alias="displayName")
593
+
594
+
595
+ class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
596
+ typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
597
+ addon_ref_id: str = Field(alias="addonRefId")
598
+ new_quantity: float = Field(alias="newQuantity")
599
+
600
+
601
+ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
602
+ BaseModel
603
+ ):
604
+ typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
605
+ addon_ref_id: str = Field(alias="addonRefId")
606
+ feature_id: Optional[str] = Field(alias="featureId", default=None)
607
+
608
+
609
+ class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
610
+ BaseModel
611
+ ):
612
+ typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
613
+ billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
614
+
615
+
616
+ class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
617
+ typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
618
+
619
+
620
+ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
621
+ BaseModel
622
+ ):
623
+ typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
624
+ downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
625
+ billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
626
+ billable_features: Optional[
627
+ List[
628
+ "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
629
+ ]
630
+ ] = Field(alias="billableFeatures", default=None)
631
+ addons: Optional[
632
+ List[
633
+ "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
634
+ ]
635
+ ] = Field(default=None)
636
+ price_overrides: Optional[
637
+ List[
638
+ "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
639
+ ]
640
+ ] = Field(alias="priceOverrides", default=None)
641
+
642
+
643
+ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
644
+ BaseModel
645
+ ):
646
+ feature_id: str = Field(alias="featureId")
647
+ quantity: float
648
+
649
+
650
+ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
651
+ BaseModel
652
+ ):
653
+ addon_ref_id: str = Field(alias="addonRefId")
654
+ quantity: float
655
+
656
+
657
+ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
658
+ BaseModel
659
+ ):
660
+ plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
661
+ addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
662
+ feature_id: Optional[str] = Field(alias="featureId", default=None)
663
+
664
+
665
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
666
+ typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
667
+ plan_ref_id: str = Field(alias="planRefId")
668
+ change_type: PlanChangeType = Field(alias="changeType")
669
+ billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
670
+ billable_features: Optional[
671
+ List[
672
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
673
+ ]
674
+ ] = Field(alias="billableFeatures", default=None)
675
+ addons: Optional[
676
+ List[
677
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
678
+ ]
679
+ ] = Field(default=None)
680
+ price_overrides: Optional[
681
+ List[
682
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
683
+ ]
684
+ ] = Field(alias="priceOverrides", default=None)
685
+
686
+
687
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
688
+ BaseModel
689
+ ):
690
+ feature_id: str = Field(alias="featureId")
691
+ quantity: float
692
+
693
+
694
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
695
+ BaseModel
696
+ ):
697
+ addon_ref_id: str = Field(alias="addonRefId")
698
+ quantity: float
699
+
700
+
701
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
702
+ BaseModel
703
+ ):
704
+ plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
705
+ addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
706
+ feature_id: Optional[str] = Field(alias="featureId", default=None)
713
707
 
714
708
 
715
- class TotalPriceFragmentSubTotal(BaseModel):
716
- amount: float
717
- currency: Currency
709
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
710
+ BaseModel
711
+ ):
712
+ typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
713
+ plan_ref_id: str = Field(alias="planRefId")
714
+ feature_id: Optional[str] = Field(alias="featureId", default=None)
718
715
 
719
716
 
720
- class TotalPriceFragmentTotal(BaseModel):
721
- amount: float
722
- currency: Currency
717
+ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
718
+ BaseModel
719
+ ):
720
+ typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
721
+ new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
722
+ feature_id: Optional[str] = Field(alias="featureId", default=None)
723
723
 
724
724
 
725
725
  class SubscriptionFragment(BaseModel):
@@ -865,6 +865,8 @@ class EntitlementFragment(BaseModel):
865
865
  has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
866
866
  current_usage: Optional[float] = Field(alias="currentUsage", default=None)
867
867
  requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
868
+ requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
869
+ enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
868
870
  entitlement_updated_at: Optional[Any] = Field(
869
871
  alias="entitlementUpdatedAt", default=None
870
872
  )
@@ -991,35 +993,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
991
993
  )
992
994
 
993
995
 
994
- class PromotionalEntitlementFragment(BaseModel):
995
- status: PromotionalEntitlementStatus
996
- usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
997
- feature_id: Any = Field(alias="featureId")
998
- has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
999
- has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
1000
- reset_period: Optional[EntitlementResetPeriod] = Field(
1001
- alias="resetPeriod", default=None
1002
- )
1003
- end_date: Optional[Any] = Field(alias="endDate", default=None)
1004
- is_visible: bool = Field(alias="isVisible")
1005
- feature: "PromotionalEntitlementFragmentFeature"
1006
-
1007
-
1008
- class PromotionalEntitlementFragmentFeature(BaseModel):
1009
- feature_type: FeatureType = Field(alias="featureType")
1010
- meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
1011
- feature_units: Optional[str] = Field(alias="featureUnits", default=None)
1012
- feature_units_plural: Optional[str] = Field(
1013
- alias="featureUnitsPlural", default=None
1014
- )
1015
- display_name: str = Field(alias="displayName")
1016
- description: Optional[str] = Field(default=None)
1017
- ref_id: str = Field(alias="refId")
1018
- additional_meta_data: Optional[Any] = Field(
1019
- alias="additionalMetaData", default=None
1020
- )
1021
-
1022
-
1023
996
  class CouponFragment(BaseModel):
1024
997
  id: Any
1025
998
  discount_value: float = Field(alias="discountValue")
@@ -1054,6 +1027,35 @@ class CouponFragmentSyncStates(BaseModel):
1054
1027
  status: SyncStatus
1055
1028
 
1056
1029
 
1030
+ class PromotionalEntitlementFragment(BaseModel):
1031
+ status: PromotionalEntitlementStatus
1032
+ usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
1033
+ feature_id: Any = Field(alias="featureId")
1034
+ has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
1035
+ has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
1036
+ reset_period: Optional[EntitlementResetPeriod] = Field(
1037
+ alias="resetPeriod", default=None
1038
+ )
1039
+ end_date: Optional[Any] = Field(alias="endDate", default=None)
1040
+ is_visible: bool = Field(alias="isVisible")
1041
+ feature: "PromotionalEntitlementFragmentFeature"
1042
+
1043
+
1044
+ class PromotionalEntitlementFragmentFeature(BaseModel):
1045
+ feature_type: FeatureType = Field(alias="featureType")
1046
+ meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
1047
+ feature_units: Optional[str] = Field(alias="featureUnits", default=None)
1048
+ feature_units_plural: Optional[str] = Field(
1049
+ alias="featureUnitsPlural", default=None
1050
+ )
1051
+ display_name: str = Field(alias="displayName")
1052
+ description: Optional[str] = Field(default=None)
1053
+ ref_id: str = Field(alias="refId")
1054
+ additional_meta_data: Optional[Any] = Field(
1055
+ alias="additionalMetaData", default=None
1056
+ )
1057
+
1058
+
1057
1059
  class CustomerFragment(SlimCustomerFragment):
1058
1060
  has_payment_method: bool = Field(alias="hasPaymentMethod")
1059
1061
  has_active_subscription: bool = Field(alias="hasActiveSubscription")
@@ -1260,50 +1262,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
1260
1262
  pass
1261
1263
 
1262
1264
 
1263
- class CustomerPortalPromotionalEntitlementFragment(BaseModel):
1264
- display_name: str = Field(alias="displayName")
1265
- has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
1266
- has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
1267
- usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
1268
- period: PromotionalEntitlementPeriod
1269
- start_date: Any = Field(alias="startDate")
1270
- end_date: Optional[Any] = Field(alias="endDate", default=None)
1271
-
1272
-
1273
- class CustomerPortalSubscriptionPriceFragment(BaseModel):
1274
- billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
1275
- billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
1276
- block_size: Optional[float] = Field(alias="blockSize", default=None)
1277
- price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
1278
- default=None
1279
- )
1280
- feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
1281
- default=None
1282
- )
1283
-
1284
-
1285
- class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
1286
- amount: float
1287
- currency: Currency
1288
-
1289
-
1290
- class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
1291
- id: Any
1292
- ref_id: str = Field(alias="refId")
1293
- display_name: str = Field(alias="displayName")
1294
- feature_units: Optional[str] = Field(alias="featureUnits", default=None)
1295
- feature_units_plural: Optional[str] = Field(
1296
- alias="featureUnitsPlural", default=None
1297
- )
1298
-
1299
-
1300
- class CustomerPortalSubscriptionAddonFragment(BaseModel):
1301
- addon_id: str = Field(alias="addonId")
1302
- description: Optional[str] = Field(default=None)
1303
- display_name: str = Field(alias="displayName")
1304
- quantity: int
1305
-
1306
-
1307
1265
  class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
1308
1266
  subscription_schedule_type: SubscriptionScheduleType = Field(
1309
1267
  alias="subscriptionScheduleType"
@@ -1473,6 +1431,40 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
1473
1431
  feature_id: Optional[str] = Field(alias="featureId", default=None)
1474
1432
 
1475
1433
 
1434
+ class CustomerPortalSubscriptionPriceFragment(BaseModel):
1435
+ billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
1436
+ billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
1437
+ block_size: Optional[float] = Field(alias="blockSize", default=None)
1438
+ price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
1439
+ default=None
1440
+ )
1441
+ feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
1442
+ default=None
1443
+ )
1444
+
1445
+
1446
+ class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
1447
+ amount: float
1448
+ currency: Currency
1449
+
1450
+
1451
+ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
1452
+ id: Any
1453
+ ref_id: str = Field(alias="refId")
1454
+ display_name: str = Field(alias="displayName")
1455
+ feature_units: Optional[str] = Field(alias="featureUnits", default=None)
1456
+ feature_units_plural: Optional[str] = Field(
1457
+ alias="featureUnitsPlural", default=None
1458
+ )
1459
+
1460
+
1461
+ class CustomerPortalSubscriptionAddonFragment(BaseModel):
1462
+ addon_id: str = Field(alias="addonId")
1463
+ description: Optional[str] = Field(default=None)
1464
+ display_name: str = Field(alias="displayName")
1465
+ quantity: int
1466
+
1467
+
1476
1468
  class CustomerPortalSubscriptionFragment(BaseModel):
1477
1469
  subscription_id: str = Field(alias="subscriptionId")
1478
1470
  plan_id: str = Field(alias="planId")
@@ -1569,6 +1561,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
1569
1561
  pass
1570
1562
 
1571
1563
 
1564
+ class CustomerPortalPromotionalEntitlementFragment(BaseModel):
1565
+ display_name: str = Field(alias="displayName")
1566
+ has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
1567
+ has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
1568
+ usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
1569
+ period: PromotionalEntitlementPeriod
1570
+ start_date: Any = Field(alias="startDate")
1571
+ end_date: Optional[Any] = Field(alias="endDate", default=None)
1572
+
1573
+
1572
1574
  class CustomerPortalFragment(BaseModel):
1573
1575
  subscriptions: List["CustomerPortalFragmentSubscriptions"]
1574
1576
  entitlements: List["CustomerPortalFragmentEntitlements"]
@@ -1796,6 +1798,39 @@ class MockPaywallAddonDependencyFragment(BaseModel):
1796
1798
  description: Optional[str] = Field(default=None)
1797
1799
 
1798
1800
 
1801
+ class MockPaywallPackageEntitlementFragment(BaseModel):
1802
+ usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
1803
+ has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
1804
+ has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
1805
+ reset_period: Optional[EntitlementResetPeriod] = Field(
1806
+ alias="resetPeriod", default=None
1807
+ )
1808
+ hidden_from_widgets: Optional[List[WidgetType]] = Field(
1809
+ alias="hiddenFromWidgets", default=None
1810
+ )
1811
+ display_name_override: Optional[str] = Field(
1812
+ alias="displayNameOverride", default=None
1813
+ )
1814
+ feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
1815
+ default=None
1816
+ )
1817
+
1818
+
1819
+ class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
1820
+ feature_type: FeatureType = Field(alias="featureType")
1821
+ meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
1822
+ feature_units: Optional[str] = Field(alias="featureUnits", default=None)
1823
+ feature_units_plural: Optional[str] = Field(
1824
+ alias="featureUnitsPlural", default=None
1825
+ )
1826
+ display_name: str = Field(alias="displayName")
1827
+ description: Optional[str] = Field(default=None)
1828
+ ref_id: str = Field(alias="refId")
1829
+ additional_meta_data: Optional[Any] = Field(
1830
+ alias="additionalMetaData", default=None
1831
+ )
1832
+
1833
+
1799
1834
  class MockPaywallPriceFragment(BaseModel):
1800
1835
  billing_model: BillingModel = Field(alias="billingModel")
1801
1836
  billing_period: BillingPeriod = Field(alias="billingPeriod")
@@ -1830,39 +1865,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
1830
1865
  display_name: str = Field(alias="displayName")
1831
1866
 
1832
1867
 
1833
- class MockPaywallPackageEntitlementFragment(BaseModel):
1834
- usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
1835
- has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
1836
- has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
1837
- reset_period: Optional[EntitlementResetPeriod] = Field(
1838
- alias="resetPeriod", default=None
1839
- )
1840
- hidden_from_widgets: Optional[List[WidgetType]] = Field(
1841
- alias="hiddenFromWidgets", default=None
1842
- )
1843
- display_name_override: Optional[str] = Field(
1844
- alias="displayNameOverride", default=None
1845
- )
1846
- feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
1847
- default=None
1848
- )
1849
-
1850
-
1851
- class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
1852
- feature_type: FeatureType = Field(alias="featureType")
1853
- meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
1854
- feature_units: Optional[str] = Field(alias="featureUnits", default=None)
1855
- feature_units_plural: Optional[str] = Field(
1856
- alias="featureUnitsPlural", default=None
1857
- )
1858
- display_name: str = Field(alias="displayName")
1859
- description: Optional[str] = Field(default=None)
1860
- ref_id: str = Field(alias="refId")
1861
- additional_meta_data: Optional[Any] = Field(
1862
- alias="additionalMetaData", default=None
1863
- )
1864
-
1865
-
1866
1868
  class MockPaywallAddonFragment(BaseModel):
1867
1869
  ref_id: str = Field(alias="refId")
1868
1870
  display_name: str = Field(alias="displayName")
@@ -2835,20 +2837,20 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
2835
2837
 
2836
2838
  AddonDependencyFragment.model_rebuild()
2837
2839
  PriceTierFragment.model_rebuild()
2840
+ OveragePriceFragment.model_rebuild()
2838
2841
  PriceFragment.model_rebuild()
2839
2842
  PackageEntitlementFragment.model_rebuild()
2840
- OveragePriceFragment.model_rebuild()
2841
2843
  AddonFragment.model_rebuild()
2842
2844
  SlimCustomerFragment.model_rebuild()
2843
- SubscriptionScheduledUpdateData.model_rebuild()
2844
- SubscriptionFutureUpdateData.model_rebuild()
2845
2845
  CustomerResourceFragment.model_rebuild()
2846
- SubscriptionInvoiceFragment.model_rebuild()
2846
+ SubscriptionFutureUpdateData.model_rebuild()
2847
+ TotalPriceFragment.model_rebuild()
2847
2848
  SubscriptionTrialConfigurationFragment.model_rebuild()
2848
- PlanCompatiblePackageGroupsFragment.model_rebuild()
2849
2849
  ProductFragment.model_rebuild()
2850
+ PlanCompatiblePackageGroupsFragment.model_rebuild()
2850
2851
  PlanFragment.model_rebuild()
2851
- TotalPriceFragment.model_rebuild()
2852
+ SubscriptionInvoiceFragment.model_rebuild()
2853
+ SubscriptionScheduledUpdateData.model_rebuild()
2852
2854
  SubscriptionFragment.model_rebuild()
2853
2855
  FeatureFragment.model_rebuild()
2854
2856
  EntitlementFragment.model_rebuild()
@@ -2856,18 +2858,18 @@ ApplySubscriptionFragment.model_rebuild()
2856
2858
  FontVariantFragment.model_rebuild()
2857
2859
  TypographyConfigurationFragment.model_rebuild()
2858
2860
  CheckoutConfigurationFragment.model_rebuild()
2859
- PromotionalEntitlementFragment.model_rebuild()
2860
2861
  CouponFragment.model_rebuild()
2862
+ PromotionalEntitlementFragment.model_rebuild()
2861
2863
  CustomerFragment.model_rebuild()
2862
2864
  CheckoutStateFragment.model_rebuild()
2863
2865
  CustomerPortalBillingInformationFragment.model_rebuild()
2864
2866
  CustomerPortalConfigurationFragment.model_rebuild()
2865
2867
  CustomerPortalEntitlementFragment.model_rebuild()
2866
- CustomerPortalPromotionalEntitlementFragment.model_rebuild()
2868
+ CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
2867
2869
  CustomerPortalSubscriptionPriceFragment.model_rebuild()
2868
2870
  CustomerPortalSubscriptionAddonFragment.model_rebuild()
2869
- CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
2870
2871
  CustomerPortalSubscriptionFragment.model_rebuild()
2872
+ CustomerPortalPromotionalEntitlementFragment.model_rebuild()
2871
2873
  CustomerPortalFragment.model_rebuild()
2872
2874
  CustomerStatisticsFragment.model_rebuild()
2873
2875
  CustomerWithSubscriptionsFragment.model_rebuild()
@@ -2877,8 +2879,8 @@ EntitlementsUpdatedPayload.model_rebuild()
2877
2879
  ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
2878
2880
  LayoutConfigurationFragment.model_rebuild()
2879
2881
  MockPaywallAddonDependencyFragment.model_rebuild()
2880
- MockPaywallPriceFragment.model_rebuild()
2881
2882
  MockPaywallPackageEntitlementFragment.model_rebuild()
2883
+ MockPaywallPriceFragment.model_rebuild()
2882
2884
  MockPaywallAddonFragment.model_rebuild()
2883
2885
  MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
2884
2886
  MockPaywallPlanFragment.model_rebuild()
@@ -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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client-v2
3
- Version: 2.472.0
3
+ Version: 2.475.0
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -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=44mGoYvxv5WYmqRprupdoktY0a00YNzDOZ2KjUC3aoQ,173010
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=OXPEsN3pWBsiqUcTkLsmFEW4p23uiAXrWtgjs0CHcN4,172421
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=zRFjUe-NJ3-4oQ67F5kRyqpbYtjJ-XrQcGMHspaODhM,36260
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=oURuYeZd8p0fRf72uHdFPZjqbWLlt07F01zhVgIp8CM,103354
126
+ stigg/generated/fragments.py,sha256=edu7G7ejFuAKHT1x5YQOcIzYHgpCKJ_SYnCpba7ArEQ,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=YixF-8iUhaGr2J5aV4bE8u7fXbMRe7Z8Y2rg2g_dLjA,200309
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.472.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
165
- stigg_api_client_v2-2.472.0.dist-info/METADATA,sha256=L_8cNGZEuERix8u8qzLrt9uCc_MRjwEVz6amJUO6BRQ,2258
166
- stigg_api_client_v2-2.472.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
167
- stigg_api_client_v2-2.472.0.dist-info/RECORD,,
164
+ stigg_api_client_v2-2.475.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
165
+ stigg_api_client_v2-2.475.0.dist-info/METADATA,sha256=BzkIyOzZEQSsTSTMtPzy4s7_Y4qXUtIXv-9UA_y0Fgw,2258
166
+ stigg_api_client_v2-2.475.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
167
+ stigg_api_client_v2-2.475.0.dist-info/RECORD,,