stigg-api-client-v2 3.108.0__py3-none-any.whl → 3.113.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.

@@ -955,6 +955,7 @@ from .input_types import (
955
955
  SubscriptionPriceFilterPriceFilter,
956
956
  SubscriptionPriceSort,
957
957
  SubscriptionQueryFilter,
958
+ SubscriptionQueryFilterCustomerFilter,
958
959
  SubscriptionQuerySort,
959
960
  SubscriptionStatusFilterComparison,
960
961
  SubscriptionUpdateScheduleCancellationInput,
@@ -1947,6 +1948,7 @@ __all__ = [
1947
1948
  "SubscriptionPriceSortFields",
1948
1949
  "SubscriptionProrationBehavior",
1949
1950
  "SubscriptionQueryFilter",
1951
+ "SubscriptionQueryFilterCustomerFilter",
1950
1952
  "SubscriptionQueryFragment",
1951
1953
  "SubscriptionQueryFragmentAddons",
1952
1954
  "SubscriptionQueryFragmentAddonsAddon",
stigg/generated/enums.py CHANGED
@@ -306,6 +306,7 @@ class CustomerResourceSortFields(str, Enum):
306
306
 
307
307
 
308
308
  class CustomerSortFields(str, Enum):
309
+ awsMarketplaceCustomerId = "awsMarketplaceCustomerId"
309
310
  billingId = "billingId"
310
311
  createdAt = "createdAt"
311
312
  crmHubspotCompanyId = "crmHubspotCompanyId"
@@ -62,6 +62,41 @@ class AddonDependencyFragment(BaseModel):
62
62
  description: Optional[str] = Field(default=None)
63
63
 
64
64
 
65
+ class PackageEntitlementFragment(BaseModel):
66
+ usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
67
+ has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
68
+ has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
69
+ feature_id: str = Field(alias="featureId")
70
+ reset_period: Optional[EntitlementResetPeriod] = Field(
71
+ alias="resetPeriod", default=None
72
+ )
73
+ hidden_from_widgets: Optional[List[WidgetType]] = Field(
74
+ alias="hiddenFromWidgets", default=None
75
+ )
76
+ is_custom: Optional[bool] = Field(alias="isCustom", default=None)
77
+ display_name_override: Optional[str] = Field(
78
+ alias="displayNameOverride", default=None
79
+ )
80
+ enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
81
+ is_granted: bool = Field(alias="isGranted")
82
+ feature: "PackageEntitlementFragmentFeature"
83
+
84
+
85
+ class PackageEntitlementFragmentFeature(BaseModel):
86
+ feature_type: FeatureType = Field(alias="featureType")
87
+ meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
88
+ feature_units: Optional[str] = Field(alias="featureUnits", default=None)
89
+ feature_units_plural: Optional[str] = Field(
90
+ alias="featureUnitsPlural", default=None
91
+ )
92
+ display_name: str = Field(alias="displayName")
93
+ description: Optional[str] = Field(default=None)
94
+ ref_id: str = Field(alias="refId")
95
+ additional_meta_data: Optional[Any] = Field(
96
+ alias="additionalMetaData", default=None
97
+ )
98
+
99
+
65
100
  class PriceTierFragment(BaseModel):
66
101
  up_to: Optional[float] = Field(alias="upTo", default=None)
67
102
  unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
@@ -114,41 +149,6 @@ class OveragePriceFragmentFeature(BaseModel):
114
149
  description: Optional[str] = Field(default=None)
115
150
 
116
151
 
117
- class PackageEntitlementFragment(BaseModel):
118
- usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
119
- has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
120
- has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
121
- feature_id: str = Field(alias="featureId")
122
- reset_period: Optional[EntitlementResetPeriod] = Field(
123
- alias="resetPeriod", default=None
124
- )
125
- hidden_from_widgets: Optional[List[WidgetType]] = Field(
126
- alias="hiddenFromWidgets", default=None
127
- )
128
- is_custom: Optional[bool] = Field(alias="isCustom", default=None)
129
- display_name_override: Optional[str] = Field(
130
- alias="displayNameOverride", default=None
131
- )
132
- enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
133
- is_granted: bool = Field(alias="isGranted")
134
- feature: "PackageEntitlementFragmentFeature"
135
-
136
-
137
- class PackageEntitlementFragmentFeature(BaseModel):
138
- feature_type: FeatureType = Field(alias="featureType")
139
- meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
140
- feature_units: Optional[str] = Field(alias="featureUnits", default=None)
141
- feature_units_plural: Optional[str] = Field(
142
- alias="featureUnitsPlural", default=None
143
- )
144
- display_name: str = Field(alias="displayName")
145
- description: Optional[str] = Field(default=None)
146
- ref_id: str = Field(alias="refId")
147
- additional_meta_data: Optional[Any] = Field(
148
- alias="additionalMetaData", default=None
149
- )
150
-
151
-
152
152
  class PriceFragment(BaseModel):
153
153
  billing_model: BillingModel = Field(alias="billingModel")
154
154
  billing_period: BillingPeriod = Field(alias="billingPeriod")
@@ -326,60 +326,73 @@ class EntitlementFragmentCreditRate(BaseModel):
326
326
  currency_id: str = Field(alias="currencyId")
327
327
 
328
328
 
329
- class TotalPriceFragment(BaseModel):
330
- sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
331
- total: "TotalPriceFragmentTotal"
332
-
333
-
334
- class TotalPriceFragmentSubTotal(BaseModel):
335
- amount: float
336
- currency: Currency
337
-
338
-
339
- class TotalPriceFragmentTotal(BaseModel):
340
- amount: float
341
- currency: Currency
329
+ class SubscriptionInvoiceFragment(BaseModel):
330
+ billing_id: str = Field(alias="billingId")
331
+ status: SubscriptionInvoiceStatus
332
+ created_at: Any = Field(alias="createdAt")
333
+ due_date: Optional[Any] = Field(alias="dueDate", default=None)
334
+ updated_at: Any = Field(alias="updatedAt")
335
+ error_message: Optional[str] = Field(alias="errorMessage", default=None)
336
+ requires_action: bool = Field(alias="requiresAction")
337
+ payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
338
+ payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
339
+ pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
340
+ billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
341
+ alias="billingReason", default=None
342
+ )
343
+ currency: Optional[str] = Field(default=None)
344
+ sub_total: Optional[float] = Field(alias="subTotal", default=None)
345
+ sub_total_excluding_tax: Optional[float] = Field(
346
+ alias="subTotalExcludingTax", default=None
347
+ )
348
+ total: Optional[float] = Field(default=None)
349
+ total_excluding_tax: Optional[float] = Field(
350
+ alias="totalExcludingTax", default=None
351
+ )
352
+ tax: Optional[float] = Field(default=None)
353
+ amount_due: Optional[float] = Field(alias="amountDue", default=None)
354
+ attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
342
355
 
343
356
 
344
- class SubscriptionFutureUpdateData(BaseModel):
357
+ class SubscriptionScheduledUpdateData(BaseModel):
345
358
  subscription_schedule_type: SubscriptionScheduleType = Field(
346
359
  alias="subscriptionScheduleType"
347
360
  )
348
361
  schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
349
362
  scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
350
- target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
363
+ target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
351
364
  alias="targetPackage", default=None
352
365
  )
353
366
  schedule_variables: Optional[
354
367
  Annotated[
355
368
  Union[
356
- "SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
357
- "SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
358
- "SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
359
- "SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
360
- "SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
361
- "SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
362
- "SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
363
- "SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
369
+ "SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
370
+ "SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
371
+ "SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
372
+ "SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
373
+ "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
374
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
375
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
376
+ "SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
364
377
  ],
365
378
  Field(discriminator="typename__"),
366
379
  ]
367
380
  ] = Field(alias="scheduleVariables", default=None)
368
381
 
369
382
 
370
- class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
383
+ class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
371
384
  id: Any
372
385
  ref_id: str = Field(alias="refId")
373
386
  display_name: str = Field(alias="displayName")
374
387
 
375
388
 
376
- class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
389
+ class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
377
390
  typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
378
391
  addon_ref_id: str = Field(alias="addonRefId")
379
392
  new_quantity: float = Field(alias="newQuantity")
380
393
 
381
394
 
382
- class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
395
+ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
383
396
  BaseModel
384
397
  ):
385
398
  typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
@@ -387,53 +400,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
387
400
  feature_id: Optional[str] = Field(alias="featureId", default=None)
388
401
 
389
402
 
390
- class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
403
+ class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
391
404
  BaseModel
392
405
  ):
393
406
  typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
394
407
  billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
395
408
 
396
409
 
397
- class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
410
+ class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
398
411
  typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
399
412
 
400
413
 
401
- class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
414
+ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
415
+ BaseModel
416
+ ):
402
417
  typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
403
418
  downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
404
419
  billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
405
420
  billable_features: Optional[
406
421
  List[
407
- "SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
422
+ "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
408
423
  ]
409
424
  ] = Field(alias="billableFeatures", default=None)
410
425
  addons: Optional[
411
426
  List[
412
- "SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
427
+ "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
413
428
  ]
414
429
  ] = Field(default=None)
415
430
  price_overrides: Optional[
416
431
  List[
417
- "SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
432
+ "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
418
433
  ]
419
434
  ] = Field(alias="priceOverrides", default=None)
420
435
 
421
436
 
422
- class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
437
+ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
423
438
  BaseModel
424
439
  ):
425
440
  feature_id: str = Field(alias="featureId")
426
441
  quantity: float
427
442
 
428
443
 
429
- class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
444
+ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
430
445
  BaseModel
431
446
  ):
432
447
  addon_ref_id: str = Field(alias="addonRefId")
433
448
  quantity: float
434
449
 
435
450
 
436
- class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
451
+ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
437
452
  BaseModel
438
453
  ):
439
454
  plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
@@ -441,39 +456,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
441
456
  feature_id: Optional[str] = Field(alias="featureId", default=None)
442
457
 
443
458
 
444
- class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
459
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
445
460
  typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
446
461
  plan_ref_id: str = Field(alias="planRefId")
447
462
  change_type: PlanChangeType = Field(alias="changeType")
448
463
  billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
449
464
  billable_features: Optional[
450
465
  List[
451
- "SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
466
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
452
467
  ]
453
468
  ] = Field(alias="billableFeatures", default=None)
454
469
  addons: Optional[
455
- List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
470
+ List[
471
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
472
+ ]
456
473
  ] = Field(default=None)
457
474
  price_overrides: Optional[
458
475
  List[
459
- "SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
476
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
460
477
  ]
461
478
  ] = Field(alias="priceOverrides", default=None)
462
479
 
463
480
 
464
- class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
481
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
465
482
  BaseModel
466
483
  ):
467
484
  feature_id: str = Field(alias="featureId")
468
485
  quantity: float
469
486
 
470
487
 
471
- class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
488
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
489
+ BaseModel
490
+ ):
472
491
  addon_ref_id: str = Field(alias="addonRefId")
473
492
  quantity: float
474
493
 
475
494
 
476
- class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
495
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
477
496
  BaseModel
478
497
  ):
479
498
  plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
@@ -481,7 +500,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
481
500
  feature_id: Optional[str] = Field(alias="featureId", default=None)
482
501
 
483
502
 
484
- class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
503
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
485
504
  BaseModel
486
505
  ):
487
506
  typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
@@ -489,83 +508,53 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
489
508
  feature_id: Optional[str] = Field(alias="featureId", default=None)
490
509
 
491
510
 
492
- class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
511
+ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
512
+ BaseModel
513
+ ):
493
514
  typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
494
515
  new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
495
516
  feature_id: Optional[str] = Field(alias="featureId", default=None)
496
517
 
497
518
 
498
- class SubscriptionTrialConfigurationFragment(BaseModel):
499
- trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
500
-
501
-
502
- class SubscriptionInvoiceFragment(BaseModel):
503
- billing_id: str = Field(alias="billingId")
504
- status: SubscriptionInvoiceStatus
505
- created_at: Any = Field(alias="createdAt")
506
- due_date: Optional[Any] = Field(alias="dueDate", default=None)
507
- updated_at: Any = Field(alias="updatedAt")
508
- error_message: Optional[str] = Field(alias="errorMessage", default=None)
509
- requires_action: bool = Field(alias="requiresAction")
510
- payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
511
- payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
512
- pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
513
- billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
514
- alias="billingReason", default=None
515
- )
516
- currency: Optional[str] = Field(default=None)
517
- sub_total: Optional[float] = Field(alias="subTotal", default=None)
518
- sub_total_excluding_tax: Optional[float] = Field(
519
- alias="subTotalExcludingTax", default=None
520
- )
521
- total: Optional[float] = Field(default=None)
522
- total_excluding_tax: Optional[float] = Field(
523
- alias="totalExcludingTax", default=None
524
- )
525
- tax: Optional[float] = Field(default=None)
526
- amount_due: Optional[float] = Field(alias="amountDue", default=None)
527
- attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
528
-
529
-
530
- class SubscriptionScheduledUpdateData(BaseModel):
519
+ class SubscriptionFutureUpdateData(BaseModel):
531
520
  subscription_schedule_type: SubscriptionScheduleType = Field(
532
521
  alias="subscriptionScheduleType"
533
522
  )
534
523
  schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
535
524
  scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
536
- target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
525
+ target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
537
526
  alias="targetPackage", default=None
538
527
  )
539
528
  schedule_variables: Optional[
540
529
  Annotated[
541
530
  Union[
542
- "SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
543
- "SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
544
- "SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
545
- "SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
546
- "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
547
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
548
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
549
- "SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
531
+ "SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
532
+ "SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
533
+ "SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
534
+ "SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
535
+ "SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
536
+ "SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
537
+ "SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
538
+ "SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
550
539
  ],
551
540
  Field(discriminator="typename__"),
552
541
  ]
553
542
  ] = Field(alias="scheduleVariables", default=None)
554
543
 
555
544
 
556
- class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
545
+ class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
557
546
  id: Any
558
547
  ref_id: str = Field(alias="refId")
559
548
  display_name: str = Field(alias="displayName")
560
549
 
561
550
 
562
- class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
551
+ class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
563
552
  typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
564
553
  addon_ref_id: str = Field(alias="addonRefId")
565
554
  new_quantity: float = Field(alias="newQuantity")
566
555
 
567
556
 
568
- class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
557
+ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
569
558
  BaseModel
570
559
  ):
571
560
  typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
@@ -573,55 +562,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
573
562
  feature_id: Optional[str] = Field(alias="featureId", default=None)
574
563
 
575
564
 
576
- class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
565
+ class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
577
566
  BaseModel
578
567
  ):
579
568
  typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
580
569
  billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
581
570
 
582
571
 
583
- class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
572
+ class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
584
573
  typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
585
574
 
586
575
 
587
- class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
588
- BaseModel
589
- ):
576
+ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
590
577
  typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
591
578
  downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
592
579
  billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
593
580
  billable_features: Optional[
594
581
  List[
595
- "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
582
+ "SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
596
583
  ]
597
584
  ] = Field(alias="billableFeatures", default=None)
598
585
  addons: Optional[
599
586
  List[
600
- "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
587
+ "SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
601
588
  ]
602
589
  ] = Field(default=None)
603
590
  price_overrides: Optional[
604
591
  List[
605
- "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
592
+ "SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
606
593
  ]
607
594
  ] = Field(alias="priceOverrides", default=None)
608
595
 
609
596
 
610
- class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
597
+ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
611
598
  BaseModel
612
599
  ):
613
600
  feature_id: str = Field(alias="featureId")
614
601
  quantity: float
615
602
 
616
603
 
617
- class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
604
+ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
618
605
  BaseModel
619
606
  ):
620
607
  addon_ref_id: str = Field(alias="addonRefId")
621
608
  quantity: float
622
609
 
623
610
 
624
- class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
611
+ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
625
612
  BaseModel
626
613
  ):
627
614
  plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
@@ -629,43 +616,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
629
616
  feature_id: Optional[str] = Field(alias="featureId", default=None)
630
617
 
631
618
 
632
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
619
+ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
633
620
  typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
634
621
  plan_ref_id: str = Field(alias="planRefId")
635
622
  change_type: PlanChangeType = Field(alias="changeType")
636
623
  billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
637
624
  billable_features: Optional[
638
625
  List[
639
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
626
+ "SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
640
627
  ]
641
628
  ] = Field(alias="billableFeatures", default=None)
642
629
  addons: Optional[
643
- List[
644
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
645
- ]
630
+ List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
646
631
  ] = Field(default=None)
647
632
  price_overrides: Optional[
648
633
  List[
649
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
634
+ "SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
650
635
  ]
651
636
  ] = Field(alias="priceOverrides", default=None)
652
637
 
653
638
 
654
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
639
+ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
655
640
  BaseModel
656
641
  ):
657
642
  feature_id: str = Field(alias="featureId")
658
643
  quantity: float
659
644
 
660
645
 
661
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
662
- BaseModel
663
- ):
646
+ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
664
647
  addon_ref_id: str = Field(alias="addonRefId")
665
648
  quantity: float
666
649
 
667
650
 
668
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
651
+ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
669
652
  BaseModel
670
653
  ):
671
654
  plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
@@ -673,7 +656,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
673
656
  feature_id: Optional[str] = Field(alias="featureId", default=None)
674
657
 
675
658
 
676
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
659
+ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
677
660
  BaseModel
678
661
  ):
679
662
  typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
@@ -681,51 +664,29 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
681
664
  feature_id: Optional[str] = Field(alias="featureId", default=None)
682
665
 
683
666
 
684
- class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
685
- BaseModel
686
- ):
667
+ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
687
668
  typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
688
669
  new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
689
670
  feature_id: Optional[str] = Field(alias="featureId", default=None)
690
671
 
691
672
 
692
- class SlimCustomerFragment(BaseModel):
693
- id: Any
694
- name: Optional[str] = Field(default=None)
695
- email: Optional[str] = Field(default=None)
696
- created_at: Optional[Any] = Field(alias="createdAt", default=None)
697
- updated_at: Any = Field(alias="updatedAt")
698
- ref_id: str = Field(alias="refId")
699
- customer_id: str = Field(alias="customerId")
700
- billing_id: Optional[str] = Field(alias="billingId", default=None)
701
- additional_meta_data: Optional[Any] = Field(
702
- alias="additionalMetaData", default=None
703
- )
704
- aws_marketplace_customer_id: Optional[str] = Field(
705
- alias="awsMarketplaceCustomerId", default=None
706
- )
707
-
708
-
709
- class CustomerResourceFragment(BaseModel):
710
- resource_id: str = Field(alias="resourceId")
673
+ class TotalPriceFragment(BaseModel):
674
+ sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
675
+ total: "TotalPriceFragmentTotal"
711
676
 
712
677
 
713
- class PlanCompatiblePackageGroupsFragment(BaseModel):
714
- package_group_id: str = Field(alias="packageGroupId")
715
- display_name: str = Field(alias="displayName")
716
- addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
717
- default=None
718
- )
719
- options: "PlanCompatiblePackageGroupsFragmentOptions"
678
+ class TotalPriceFragmentSubTotal(BaseModel):
679
+ amount: float
680
+ currency: Currency
720
681
 
721
682
 
722
- class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
723
- pass
683
+ class TotalPriceFragmentTotal(BaseModel):
684
+ amount: float
685
+ currency: Currency
724
686
 
725
687
 
726
- class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
727
- min_items: Optional[float] = Field(alias="minItems", default=None)
728
- free_items: Optional[float] = Field(alias="freeItems", default=None)
688
+ class SubscriptionTrialConfigurationFragment(BaseModel):
689
+ trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
729
690
 
730
691
 
731
692
  class ProductFragment(BaseModel):
@@ -749,6 +710,24 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
749
710
  display_name: str = Field(alias="displayName")
750
711
 
751
712
 
713
+ class PlanCompatiblePackageGroupsFragment(BaseModel):
714
+ package_group_id: str = Field(alias="packageGroupId")
715
+ display_name: str = Field(alias="displayName")
716
+ addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
717
+ default=None
718
+ )
719
+ options: "PlanCompatiblePackageGroupsFragmentOptions"
720
+
721
+
722
+ class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
723
+ pass
724
+
725
+
726
+ class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
727
+ min_items: Optional[float] = Field(alias="minItems", default=None)
728
+ free_items: Optional[float] = Field(alias="freeItems", default=None)
729
+
730
+
752
731
  class PlanFragment(BaseModel):
753
732
  id: Any
754
733
  ref_id: str = Field(alias="refId")
@@ -830,6 +809,27 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
830
809
  limit: float
831
810
 
832
811
 
812
+ class SlimCustomerFragment(BaseModel):
813
+ id: Any
814
+ name: Optional[str] = Field(default=None)
815
+ email: Optional[str] = Field(default=None)
816
+ created_at: Optional[Any] = Field(alias="createdAt", default=None)
817
+ updated_at: Any = Field(alias="updatedAt")
818
+ ref_id: str = Field(alias="refId")
819
+ customer_id: str = Field(alias="customerId")
820
+ billing_id: Optional[str] = Field(alias="billingId", default=None)
821
+ additional_meta_data: Optional[Any] = Field(
822
+ alias="additionalMetaData", default=None
823
+ )
824
+ aws_marketplace_customer_id: Optional[str] = Field(
825
+ alias="awsMarketplaceCustomerId", default=None
826
+ )
827
+
828
+
829
+ class CustomerResourceFragment(BaseModel):
830
+ resource_id: str = Field(alias="resourceId")
831
+
832
+
833
833
  class SubscriptionFragment(BaseModel):
834
834
  id: Any
835
835
  subscription_id: str = Field(alias="subscriptionId")
@@ -1016,6 +1016,16 @@ class CheckoutConfigurationFragmentContent(BaseModel):
1016
1016
  )
1017
1017
 
1018
1018
 
1019
+ class StripeCheckoutCredentialsFragment(BaseModel):
1020
+ account_id: Optional[str] = Field(alias="accountId", default=None)
1021
+ setup_secret: str = Field(alias="setupSecret")
1022
+ public_key: Optional[str] = Field(alias="publicKey", default=None)
1023
+
1024
+
1025
+ class ZuoraCheckoutCredentialsFragment(BaseModel):
1026
+ publishable_key: str = Field(alias="publishableKey")
1027
+
1028
+
1019
1029
  class CouponFragment(BaseModel):
1020
1030
  id: Any
1021
1031
  discount_value: float = Field(alias="discountValue")
@@ -1137,16 +1147,6 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
1137
1147
  pass
1138
1148
 
1139
1149
 
1140
- class ZuoraCheckoutCredentialsFragment(BaseModel):
1141
- publishable_key: str = Field(alias="publishableKey")
1142
-
1143
-
1144
- class StripeCheckoutCredentialsFragment(BaseModel):
1145
- account_id: Optional[str] = Field(alias="accountId", default=None)
1146
- setup_secret: str = Field(alias="setupSecret")
1147
- public_key: Optional[str] = Field(alias="publicKey", default=None)
1148
-
1149
-
1150
1150
  class CheckoutStateFragment(BaseModel):
1151
1151
  configuration: Optional["CheckoutStateFragmentConfiguration"] = Field(default=None)
1152
1152
  setup_secret: str = Field(alias="setupSecret")
@@ -1445,6 +1445,13 @@ class CustomerPortalPromotionalEntitlementFragment(BaseModel):
1445
1445
  end_date: Optional[Any] = Field(alias="endDate", default=None)
1446
1446
 
1447
1447
 
1448
+ class CustomerPortalSubscriptionAddonFragment(BaseModel):
1449
+ addon_id: str = Field(alias="addonId")
1450
+ description: Optional[str] = Field(default=None)
1451
+ display_name: str = Field(alias="displayName")
1452
+ quantity: int
1453
+
1454
+
1448
1455
  class CustomerPortalSubscriptionPriceFragment(BaseModel):
1449
1456
  billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
1450
1457
  billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
@@ -1480,13 +1487,6 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
1480
1487
  )
1481
1488
 
1482
1489
 
1483
- class CustomerPortalSubscriptionAddonFragment(BaseModel):
1484
- addon_id: str = Field(alias="addonId")
1485
- description: Optional[str] = Field(default=None)
1486
- display_name: str = Field(alias="displayName")
1487
- quantity: int
1488
-
1489
-
1490
1490
  class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
1491
1491
  subscription_schedule_type: SubscriptionScheduleType = Field(
1492
1492
  alias="subscriptionScheduleType"
@@ -1987,6 +1987,41 @@ class MockPaywallAddonDependencyFragment(BaseModel):
1987
1987
  description: Optional[str] = Field(default=None)
1988
1988
 
1989
1989
 
1990
+ class MockPaywallPackageEntitlementFragment(BaseModel):
1991
+ usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
1992
+ has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
1993
+ has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
1994
+ reset_period: Optional[EntitlementResetPeriod] = Field(
1995
+ alias="resetPeriod", default=None
1996
+ )
1997
+ hidden_from_widgets: Optional[List[WidgetType]] = Field(
1998
+ alias="hiddenFromWidgets", default=None
1999
+ )
2000
+ display_name_override: Optional[str] = Field(
2001
+ alias="displayNameOverride", default=None
2002
+ )
2003
+ enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
2004
+ is_granted: bool = Field(alias="isGranted")
2005
+ feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
2006
+ default=None
2007
+ )
2008
+
2009
+
2010
+ class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
2011
+ feature_type: FeatureType = Field(alias="featureType")
2012
+ meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
2013
+ feature_units: Optional[str] = Field(alias="featureUnits", default=None)
2014
+ feature_units_plural: Optional[str] = Field(
2015
+ alias="featureUnitsPlural", default=None
2016
+ )
2017
+ display_name: str = Field(alias="displayName")
2018
+ description: Optional[str] = Field(default=None)
2019
+ ref_id: str = Field(alias="refId")
2020
+ additional_meta_data: Optional[Any] = Field(
2021
+ alias="additionalMetaData", default=None
2022
+ )
2023
+
2024
+
1990
2025
  class MockPaywallPriceFragment(BaseModel):
1991
2026
  billing_model: BillingModel = Field(alias="billingModel")
1992
2027
  billing_period: BillingPeriod = Field(alias="billingPeriod")
@@ -2029,41 +2064,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
2029
2064
  display_name: str = Field(alias="displayName")
2030
2065
 
2031
2066
 
2032
- class MockPaywallPackageEntitlementFragment(BaseModel):
2033
- usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
2034
- has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
2035
- has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
2036
- reset_period: Optional[EntitlementResetPeriod] = Field(
2037
- alias="resetPeriod", default=None
2038
- )
2039
- hidden_from_widgets: Optional[List[WidgetType]] = Field(
2040
- alias="hiddenFromWidgets", default=None
2041
- )
2042
- display_name_override: Optional[str] = Field(
2043
- alias="displayNameOverride", default=None
2044
- )
2045
- enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
2046
- is_granted: bool = Field(alias="isGranted")
2047
- feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
2048
- default=None
2049
- )
2050
-
2051
-
2052
- class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
2053
- feature_type: FeatureType = Field(alias="featureType")
2054
- meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
2055
- feature_units: Optional[str] = Field(alias="featureUnits", default=None)
2056
- feature_units_plural: Optional[str] = Field(
2057
- alias="featureUnitsPlural", default=None
2058
- )
2059
- display_name: str = Field(alias="displayName")
2060
- description: Optional[str] = Field(default=None)
2061
- ref_id: str = Field(alias="refId")
2062
- additional_meta_data: Optional[Any] = Field(
2063
- alias="additionalMetaData", default=None
2064
- )
2065
-
2066
-
2067
2067
  class MockPaywallAddonFragment(BaseModel):
2068
2068
  ref_id: str = Field(alias="refId")
2069
2069
  display_name: str = Field(alias="displayName")
@@ -3041,33 +3041,33 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
3041
3041
 
3042
3042
 
3043
3043
  AddonDependencyFragment.model_rebuild()
3044
+ PackageEntitlementFragment.model_rebuild()
3044
3045
  PriceTierFragment.model_rebuild()
3045
3046
  OveragePriceFragment.model_rebuild()
3046
- PackageEntitlementFragment.model_rebuild()
3047
3047
  PriceFragment.model_rebuild()
3048
3048
  AddonFragment.model_rebuild()
3049
3049
  FeatureFragment.model_rebuild()
3050
3050
  EntitlementFragment.model_rebuild()
3051
- TotalPriceFragment.model_rebuild()
3052
- SubscriptionFutureUpdateData.model_rebuild()
3053
- SubscriptionTrialConfigurationFragment.model_rebuild()
3054
3051
  SubscriptionInvoiceFragment.model_rebuild()
3055
3052
  SubscriptionScheduledUpdateData.model_rebuild()
3056
- SlimCustomerFragment.model_rebuild()
3057
- CustomerResourceFragment.model_rebuild()
3058
- PlanCompatiblePackageGroupsFragment.model_rebuild()
3053
+ SubscriptionFutureUpdateData.model_rebuild()
3054
+ TotalPriceFragment.model_rebuild()
3055
+ SubscriptionTrialConfigurationFragment.model_rebuild()
3059
3056
  ProductFragment.model_rebuild()
3057
+ PlanCompatiblePackageGroupsFragment.model_rebuild()
3060
3058
  PlanFragment.model_rebuild()
3059
+ SlimCustomerFragment.model_rebuild()
3060
+ CustomerResourceFragment.model_rebuild()
3061
3061
  SubscriptionFragment.model_rebuild()
3062
3062
  ApplySubscriptionFragment.model_rebuild()
3063
3063
  FontVariantFragment.model_rebuild()
3064
3064
  TypographyConfigurationFragment.model_rebuild()
3065
3065
  CheckoutConfigurationFragment.model_rebuild()
3066
+ StripeCheckoutCredentialsFragment.model_rebuild()
3067
+ ZuoraCheckoutCredentialsFragment.model_rebuild()
3066
3068
  CouponFragment.model_rebuild()
3067
3069
  PromotionalEntitlementFragment.model_rebuild()
3068
3070
  CustomerFragment.model_rebuild()
3069
- ZuoraCheckoutCredentialsFragment.model_rebuild()
3070
- StripeCheckoutCredentialsFragment.model_rebuild()
3071
3071
  CheckoutStateFragment.model_rebuild()
3072
3072
  CreditBalanceFragment.model_rebuild()
3073
3073
  CreditBalanceUpdatedPayload.model_rebuild()
@@ -3080,8 +3080,8 @@ CustomerPortalBillingInformationFragment.model_rebuild()
3080
3080
  CustomerPortalConfigurationFragment.model_rebuild()
3081
3081
  CustomerPortalEntitlementFragment.model_rebuild()
3082
3082
  CustomerPortalPromotionalEntitlementFragment.model_rebuild()
3083
- CustomerPortalSubscriptionPriceFragment.model_rebuild()
3084
3083
  CustomerPortalSubscriptionAddonFragment.model_rebuild()
3084
+ CustomerPortalSubscriptionPriceFragment.model_rebuild()
3085
3085
  CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
3086
3086
  CustomerPortalSubscriptionFragment.model_rebuild()
3087
3087
  CustomerPortalFragment.model_rebuild()
@@ -3093,8 +3093,8 @@ EntitlementsUpdatedPayload.model_rebuild()
3093
3093
  ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
3094
3094
  LayoutConfigurationFragment.model_rebuild()
3095
3095
  MockPaywallAddonDependencyFragment.model_rebuild()
3096
- MockPaywallPriceFragment.model_rebuild()
3097
3096
  MockPaywallPackageEntitlementFragment.model_rebuild()
3097
+ MockPaywallPriceFragment.model_rebuild()
3098
3098
  MockPaywallAddonFragment.model_rebuild()
3099
3099
  MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
3100
3100
  MockPaywallPlanFragment.model_rebuild()
@@ -554,6 +554,9 @@ class CouponFilterCustomerFilter(BaseModel):
554
554
  and_: Optional[List["CouponFilterCustomerFilter"]] = Field(
555
555
  alias="and", default=None
556
556
  )
557
+ aws_marketplace_customer_id: Optional["StringFieldComparison"] = Field(
558
+ alias="awsMarketplaceCustomerId", default=None
559
+ )
557
560
  billing_id: Optional["StringFieldComparison"] = Field(
558
561
  alias="billingId", default=None
559
562
  )
@@ -921,6 +924,9 @@ class CustomerBillingInfo(BaseModel):
921
924
 
922
925
  class CustomerFilter(BaseModel):
923
926
  and_: Optional[List["CustomerFilter"]] = Field(alias="and", default=None)
927
+ aws_marketplace_customer_id: Optional["StringFieldComparison"] = Field(
928
+ alias="awsMarketplaceCustomerId", default=None
929
+ )
924
930
  billing_id: Optional["StringFieldComparison"] = Field(
925
931
  alias="billingId", default=None
926
932
  )
@@ -1110,6 +1116,9 @@ class CustomerResourceFilterCustomerFilter(BaseModel):
1110
1116
  and_: Optional[List["CustomerResourceFilterCustomerFilter"]] = Field(
1111
1117
  alias="and", default=None
1112
1118
  )
1119
+ aws_marketplace_customer_id: Optional["StringFieldComparison"] = Field(
1120
+ alias="awsMarketplaceCustomerId", default=None
1121
+ )
1113
1122
  billing_id: Optional["StringFieldComparison"] = Field(
1114
1123
  alias="billingId", default=None
1115
1124
  )
@@ -1313,6 +1322,9 @@ class CustomerSubscriptionFilterCustomerFilter(BaseModel):
1313
1322
  and_: Optional[List["CustomerSubscriptionFilterCustomerFilter"]] = Field(
1314
1323
  alias="and", default=None
1315
1324
  )
1325
+ aws_marketplace_customer_id: Optional["StringFieldComparison"] = Field(
1326
+ alias="awsMarketplaceCustomerId", default=None
1327
+ )
1316
1328
  billing_id: Optional["StringFieldComparison"] = Field(
1317
1329
  alias="billingId", default=None
1318
1330
  )
@@ -1809,6 +1821,9 @@ class ExperimentFilterCustomerFilter(BaseModel):
1809
1821
  and_: Optional[List["ExperimentFilterCustomerFilter"]] = Field(
1810
1822
  alias="and", default=None
1811
1823
  )
1824
+ aws_marketplace_customer_id: Optional["StringFieldComparison"] = Field(
1825
+ alias="awsMarketplaceCustomerId", default=None
1826
+ )
1812
1827
  billing_id: Optional["StringFieldComparison"] = Field(
1813
1828
  alias="billingId", default=None
1814
1829
  )
@@ -4517,6 +4532,7 @@ class SubscriptionPriceSort(BaseModel):
4517
4532
  class SubscriptionQueryFilter(BaseModel):
4518
4533
  and_: Optional[List["SubscriptionQueryFilter"]] = Field(alias="and", default=None)
4519
4534
  created_at: Optional["DateFieldComparison"] = Field(alias="createdAt", default=None)
4535
+ customer: Optional["SubscriptionQueryFilterCustomerFilter"] = None
4520
4536
  customer_id: Optional["StringFieldComparison"] = Field(
4521
4537
  alias="customerId", default=None
4522
4538
  )
@@ -4534,6 +4550,47 @@ class SubscriptionQueryFilter(BaseModel):
4534
4550
  status: Optional["SubscriptionStatusFilterComparison"] = None
4535
4551
 
4536
4552
 
4553
+ class SubscriptionQueryFilterCustomerFilter(BaseModel):
4554
+ and_: Optional[List["SubscriptionQueryFilterCustomerFilter"]] = Field(
4555
+ alias="and", default=None
4556
+ )
4557
+ aws_marketplace_customer_id: Optional["StringFieldComparison"] = Field(
4558
+ alias="awsMarketplaceCustomerId", default=None
4559
+ )
4560
+ billing_id: Optional["StringFieldComparison"] = Field(
4561
+ alias="billingId", default=None
4562
+ )
4563
+ created_at: Optional["DateFieldComparison"] = Field(alias="createdAt", default=None)
4564
+ crm_hubspot_company_id: Optional["StringFieldComparison"] = Field(
4565
+ alias="crmHubspotCompanyId", default=None
4566
+ )
4567
+ crm_hubspot_company_url: Optional["StringFieldComparison"] = Field(
4568
+ alias="crmHubspotCompanyUrl", default=None
4569
+ )
4570
+ crm_id: Optional["StringFieldComparison"] = Field(alias="crmId", default=None)
4571
+ customer_id: Optional["StringFieldComparison"] = Field(
4572
+ alias="customerId", default=None
4573
+ )
4574
+ deleted_at: Optional["DateFieldComparison"] = Field(alias="deletedAt", default=None)
4575
+ email: Optional["StringFieldComparison"] = None
4576
+ environment_id: Optional["UUIDFilterComparison"] = Field(
4577
+ alias="environmentId", default=None
4578
+ )
4579
+ id: Optional["UUIDFilterComparison"] = None
4580
+ name: Optional["StringFieldComparison"] = None
4581
+ or_: Optional[List["SubscriptionQueryFilterCustomerFilter"]] = Field(
4582
+ alias="or", default=None
4583
+ )
4584
+ ref_id: Optional["StringFieldComparison"] = Field(alias="refId", default=None)
4585
+ salesforce_id: Optional["StringFieldComparison"] = Field(
4586
+ alias="salesforceId", default=None
4587
+ )
4588
+ search_query: Optional["CustomerSearchQueryFilterComparison"] = Field(
4589
+ alias="searchQuery", default=None
4590
+ )
4591
+ updated_at: Optional["DateFieldComparison"] = Field(alias="updatedAt", default=None)
4592
+
4593
+
4537
4594
  class SubscriptionQuerySort(BaseModel):
4538
4595
  direction: SortDirection
4539
4596
  field: SubscriptionQuerySortFields
@@ -5107,6 +5164,9 @@ class UsageMeasurementFilterCustomerFilter(BaseModel):
5107
5164
  and_: Optional[List["UsageMeasurementFilterCustomerFilter"]] = Field(
5108
5165
  alias="and", default=None
5109
5166
  )
5167
+ aws_marketplace_customer_id: Optional["StringFieldComparison"] = Field(
5168
+ alias="awsMarketplaceCustomerId", default=None
5169
+ )
5110
5170
  billing_id: Optional["StringFieldComparison"] = Field(
5111
5171
  alias="billingId", default=None
5112
5172
  )
@@ -5235,6 +5295,9 @@ class ZuoraCredentialsInput(BaseModel):
5235
5295
  base_url: str = Field(alias="baseUrl")
5236
5296
  client_id: str = Field(alias="clientId")
5237
5297
  client_secret: str = Field(alias="clientSecret")
5298
+ invoice_settlement_enabled: Optional[bool] = Field(
5299
+ alias="invoiceSettlementEnabled", default=None
5300
+ )
5238
5301
  payment_gateway_id: Optional[str] = Field(alias="paymentGatewayId", default=None)
5239
5302
  payment_page_id: Optional[str] = Field(alias="paymentPageId", default=None)
5240
5303
  publishable_key: Optional[str] = Field(alias="publishableKey", default=None)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client-v2
3
- Version: 3.108.0
3
+ Version: 3.113.0
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -106,7 +106,7 @@ stigg/_vendors/pydantic-2.6.4.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCe
106
106
  stigg/_vendors/pydantic-2.6.4.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
107
107
  stigg/_vendors/pydantic-2.6.4.dist-info/licenses/LICENSE,sha256=qeGG88oWte74QxjnpwFyE1GgDLe4rjpDlLZ7SeNSnvM,1129
108
108
  stigg/client.py,sha256=RWrVnxo9zHFXka8KJVE4sMgyek70ispQk0vqOINCvM0,8335
109
- stigg/generated/__init__.py,sha256=xwYBK0s9WkNoL-9QnvqV-jrkktMHlK2P__uOGcKatKM,78603
109
+ stigg/generated/__init__.py,sha256=91ow7ok3KSAGs-m1TbfjSiSc3P0wc3eHcHbMi0qEmYc,78691
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
@@ -120,11 +120,11 @@ stigg/generated/create_payment_session.py,sha256=VRPT8Bbvb_evFHMav9y_pXWHMVbkRy9
120
120
  stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
121
121
  stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
122
122
  stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
123
- stigg/generated/enums.py,sha256=JUtjNl58vJpWeq_Ucdm_TVQ0AJ_zvqywKvWkj8D9rMI,39797
123
+ stigg/generated/enums.py,sha256=Z9XgOXbMjHdnVwI9E8CocPDVWx1TEFWwUzvwvnaeUOY,39855
124
124
  stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
125
125
  stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
126
126
  stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
127
- stigg/generated/fragments.py,sha256=ehRa81XN4LsaEimz_tGDcXSN58g7KtyAMEEBVujg0Z8,111377
127
+ stigg/generated/fragments.py,sha256=qCKWXefM1dgxu7sFRfrZQRjrahLqt7RNxLjyeIZ_QDo,111377
128
128
  stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
129
129
  stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
130
130
  stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
@@ -153,7 +153,7 @@ stigg/generated/grant_promotional_entitlements_group.py,sha256=iQwCd07VFaYbsN_E-
153
153
  stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
154
154
  stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
155
155
  stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
156
- stigg/generated/input_types.py,sha256=jCkOdRQDTYAaw5JXX3tBaVWT0Rzq-kiYVKh382BuxQs,214951
156
+ stigg/generated/input_types.py,sha256=wd5EmpeTAZ5SUXqqH7tvUApHFYXkc8BS2jWBIv-Gihk,217782
157
157
  stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
158
158
  stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
159
159
  stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
@@ -172,7 +172,7 @@ stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0L
172
172
  stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
173
173
  stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
174
174
  stigg/generated/void_credit_grant.py,sha256=uQ22Xb2vwMOJfqh48GU2fhZ6Dcv9nHNIx_UJpjmJSBU,410
175
- stigg_api_client_v2-3.108.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
176
- stigg_api_client_v2-3.108.0.dist-info/METADATA,sha256=ruc6JTq1SYu3CjygJvsCaf0eNtpKobOGXS6pTdJZSNs,2258
177
- stigg_api_client_v2-3.108.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
178
- stigg_api_client_v2-3.108.0.dist-info/RECORD,,
175
+ stigg_api_client_v2-3.113.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
176
+ stigg_api_client_v2-3.113.0.dist-info/METADATA,sha256=_holGCK2LWrHQcu-YwNt5t5zRLbr09JfejY6pfu6tKk,2258
177
+ stigg_api_client_v2-3.113.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
178
+ stigg_api_client_v2-3.113.0.dist-info/RECORD,,