stigg-api-client-v2 2.341.0__py3-none-any.whl → 2.354.2__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.

@@ -856,6 +856,7 @@ from .input_types import (
856
856
  TriggerSubscriptionBillingMonthEndsSoonWebhookInput,
857
857
  TriggerSubscriptionMigrationInput,
858
858
  TriggerSubscriptionUsageSyncInput,
859
+ TriggerWorkflowInput,
859
860
  TypographyConfigurationInput,
860
861
  UnarchiveCustomerInput,
861
862
  UnarchiveEnvironmentInput,
@@ -1765,6 +1766,7 @@ __all__ = [
1765
1766
  "TriggerSubscriptionBillingMonthEndsSoonWebhookInput",
1766
1767
  "TriggerSubscriptionMigrationInput",
1767
1768
  "TriggerSubscriptionUsageSyncInput",
1769
+ "TriggerWorkflowInput",
1768
1770
  "TypographyConfigurationFragment",
1769
1771
  "TypographyConfigurationFragmentBody",
1770
1772
  "TypographyConfigurationFragmentH1",
@@ -2900,6 +2900,7 @@ class AsyncClient(AsyncBaseClient):
2900
2900
  defaultPaymentExpirationMonth
2901
2901
  defaultPaymentExpirationYear
2902
2902
  defaultPaymentMethodLast4Digits
2903
+ defaultPaymentMethodType
2903
2904
  trialedPlans {
2904
2905
  productId
2905
2906
  productRefId
@@ -4320,6 +4321,7 @@ class AsyncClient(AsyncBaseClient):
4320
4321
  defaultPaymentExpirationMonth
4321
4322
  defaultPaymentExpirationYear
4322
4323
  defaultPaymentMethodLast4Digits
4324
+ defaultPaymentMethodType
4323
4325
  trialedPlans {
4324
4326
  productId
4325
4327
  productRefId
@@ -5039,6 +5041,7 @@ class AsyncClient(AsyncBaseClient):
5039
5041
  defaultPaymentMethodId
5040
5042
  defaultPaymentExpirationMonth
5041
5043
  defaultPaymentExpirationYear
5044
+ defaultPaymentMethodType
5042
5045
  }
5043
5046
 
5044
5047
  fragment CustomerPortalConfigurationFragment on CustomerPortalConfiguration {
@@ -5440,6 +5443,7 @@ class AsyncClient(AsyncBaseClient):
5440
5443
  defaultPaymentExpirationMonth
5441
5444
  defaultPaymentExpirationYear
5442
5445
  defaultPaymentMethodLast4Digits
5446
+ defaultPaymentMethodType
5443
5447
  trialedPlans {
5444
5448
  productId
5445
5449
  productRefId
stigg/generated/client.py CHANGED
@@ -2898,6 +2898,7 @@ class Client(BaseClient):
2898
2898
  defaultPaymentExpirationMonth
2899
2899
  defaultPaymentExpirationYear
2900
2900
  defaultPaymentMethodLast4Digits
2901
+ defaultPaymentMethodType
2901
2902
  trialedPlans {
2902
2903
  productId
2903
2904
  productRefId
@@ -4318,6 +4319,7 @@ class Client(BaseClient):
4318
4319
  defaultPaymentExpirationMonth
4319
4320
  defaultPaymentExpirationYear
4320
4321
  defaultPaymentMethodLast4Digits
4322
+ defaultPaymentMethodType
4321
4323
  trialedPlans {
4322
4324
  productId
4323
4325
  productRefId
@@ -5037,6 +5039,7 @@ class Client(BaseClient):
5037
5039
  defaultPaymentMethodId
5038
5040
  defaultPaymentExpirationMonth
5039
5041
  defaultPaymentExpirationYear
5042
+ defaultPaymentMethodType
5040
5043
  }
5041
5044
 
5042
5045
  fragment CustomerPortalConfigurationFragment on CustomerPortalConfiguration {
@@ -5438,6 +5441,7 @@ class Client(BaseClient):
5438
5441
  defaultPaymentExpirationMonth
5439
5442
  defaultPaymentExpirationYear
5440
5443
  defaultPaymentMethodLast4Digits
5444
+ defaultPaymentMethodType
5441
5445
  trialedPlans {
5442
5446
  productId
5443
5447
  productRefId
stigg/generated/enums.py CHANGED
@@ -556,6 +556,7 @@ class ErrorCode(str, Enum):
556
556
  UnsupportedSubscriptionScheduleType = "UnsupportedSubscriptionScheduleType"
557
557
  UnsupportedVendorIdentifier = "UnsupportedVendorIdentifier"
558
558
  UsageMeasurementDiffOutOfRangeError = "UsageMeasurementDiffOutOfRangeError"
559
+ WorkflowTriggerNotFound = "WorkflowTriggerNotFound"
559
560
 
560
561
 
561
562
  class EventActor(str, Enum):
@@ -849,6 +850,7 @@ class PaymentCollectionMethod(str, Enum):
849
850
  class PaymentMethodType(str, Enum):
850
851
  BANK = "BANK"
851
852
  CARD = "CARD"
853
+ CASH_APP = "CASH_APP"
852
854
 
853
855
 
854
856
  class PlanChangeType(str, Enum):
@@ -26,6 +26,7 @@ from .enums import (
26
26
  MonthlyAccordingTo,
27
27
  PaymentCollection,
28
28
  PaymentCollectionMethod,
29
+ PaymentMethodType,
29
30
  PlanChangeType,
30
31
  PricingType,
31
32
  PromotionalEntitlementPeriod,
@@ -111,39 +112,6 @@ class OveragePriceFragmentFeature(BaseModel):
111
112
  description: Optional[str] = Field(default=None)
112
113
 
113
114
 
114
- class PackageEntitlementFragment(BaseModel):
115
- usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
116
- has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
117
- has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
118
- feature_id: str = Field(alias="featureId")
119
- reset_period: Optional[EntitlementResetPeriod] = Field(
120
- alias="resetPeriod", default=None
121
- )
122
- hidden_from_widgets: Optional[List[WidgetType]] = Field(
123
- alias="hiddenFromWidgets", default=None
124
- )
125
- is_custom: Optional[bool] = Field(alias="isCustom", default=None)
126
- display_name_override: Optional[str] = Field(
127
- alias="displayNameOverride", default=None
128
- )
129
- feature: "PackageEntitlementFragmentFeature"
130
-
131
-
132
- class PackageEntitlementFragmentFeature(BaseModel):
133
- feature_type: FeatureType = Field(alias="featureType")
134
- meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
135
- feature_units: Optional[str] = Field(alias="featureUnits", default=None)
136
- feature_units_plural: Optional[str] = Field(
137
- alias="featureUnitsPlural", default=None
138
- )
139
- display_name: str = Field(alias="displayName")
140
- description: Optional[str] = Field(default=None)
141
- ref_id: str = Field(alias="refId")
142
- additional_meta_data: Optional[Any] = Field(
143
- alias="additionalMetaData", default=None
144
- )
145
-
146
-
147
115
  class PriceFragment(BaseModel):
148
116
  billing_model: BillingModel = Field(alias="billingModel")
149
117
  billing_period: BillingPeriod = Field(alias="billingPeriod")
@@ -180,6 +148,39 @@ class PriceFragmentFeature(BaseModel):
180
148
  description: Optional[str] = Field(default=None)
181
149
 
182
150
 
151
+ class PackageEntitlementFragment(BaseModel):
152
+ usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
153
+ has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
154
+ has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
155
+ feature_id: str = Field(alias="featureId")
156
+ reset_period: Optional[EntitlementResetPeriod] = Field(
157
+ alias="resetPeriod", default=None
158
+ )
159
+ hidden_from_widgets: Optional[List[WidgetType]] = Field(
160
+ alias="hiddenFromWidgets", default=None
161
+ )
162
+ is_custom: Optional[bool] = Field(alias="isCustom", default=None)
163
+ display_name_override: Optional[str] = Field(
164
+ alias="displayNameOverride", default=None
165
+ )
166
+ feature: "PackageEntitlementFragmentFeature"
167
+
168
+
169
+ class PackageEntitlementFragmentFeature(BaseModel):
170
+ feature_type: FeatureType = Field(alias="featureType")
171
+ meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
172
+ feature_units: Optional[str] = Field(alias="featureUnits", default=None)
173
+ feature_units_plural: Optional[str] = Field(
174
+ alias="featureUnitsPlural", default=None
175
+ )
176
+ display_name: str = Field(alias="displayName")
177
+ description: Optional[str] = Field(default=None)
178
+ ref_id: str = Field(alias="refId")
179
+ additional_meta_data: Optional[Any] = Field(
180
+ alias="additionalMetaData", default=None
181
+ )
182
+
183
+
183
184
  class AddonFragment(BaseModel):
184
185
  id: str
185
186
  ref_id: str = Field(alias="refId")
@@ -215,27 +216,93 @@ class AddonFragmentDependencies(AddonDependencyFragment):
215
216
  pass
216
217
 
217
218
 
218
- class CustomerResourceFragment(BaseModel):
219
- resource_id: str = Field(alias="resourceId")
219
+ class FeatureFragment(BaseModel):
220
+ typename__: str = Field(alias="__typename")
221
+ feature_type: FeatureType = Field(alias="featureType")
222
+ meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
223
+ feature_units: Optional[str] = Field(alias="featureUnits", default=None)
224
+ feature_units_plural: Optional[str] = Field(
225
+ alias="featureUnitsPlural", default=None
226
+ )
227
+ description: Optional[str] = Field(default=None)
228
+ display_name: str = Field(alias="displayName")
229
+ ref_id: str = Field(alias="refId")
230
+ unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
231
+ alias="unitTransformation", default=None
232
+ )
220
233
 
221
234
 
222
- class SlimCustomerFragment(BaseModel):
223
- id: str
224
- name: Optional[str] = Field(default=None)
225
- email: Optional[str] = Field(default=None)
226
- created_at: Optional[Any] = Field(alias="createdAt", default=None)
227
- updated_at: Any = Field(alias="updatedAt")
228
- ref_id: str = Field(alias="refId")
229
- customer_id: str = Field(alias="customerId")
230
- billing_id: Optional[str] = Field(alias="billingId", default=None)
231
- additional_meta_data: Optional[Any] = Field(
232
- alias="additionalMetaData", default=None
235
+ class FeatureFragmentUnitTransformation(BaseModel):
236
+ divide: float
237
+ round: UnitTransformationRound
238
+
239
+
240
+ class EntitlementFragment(BaseModel):
241
+ typename__: str = Field(alias="__typename")
242
+ is_granted: bool = Field(alias="isGranted")
243
+ access_denied_reason: Optional[AccessDeniedReason] = Field(
244
+ alias="accessDeniedReason", default=None
233
245
  )
234
- aws_marketplace_customer_id: Optional[str] = Field(
235
- alias="awsMarketplaceCustomerId", default=None
246
+ customer_id: Optional[str] = Field(alias="customerId", default=None)
247
+ resource_id: Optional[str] = Field(alias="resourceId", default=None)
248
+ usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
249
+ has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
250
+ has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
251
+ current_usage: Optional[float] = Field(alias="currentUsage", default=None)
252
+ requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
253
+ entitlement_updated_at: Optional[Any] = Field(
254
+ alias="entitlementUpdatedAt", default=None
255
+ )
256
+ usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
257
+ usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
258
+ usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
259
+ usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
260
+ next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
261
+ reset_period: Optional[EntitlementResetPeriod] = Field(
262
+ alias="resetPeriod", default=None
263
+ )
264
+ reset_period_configuration: Optional[
265
+ Annotated[
266
+ Union[
267
+ "EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
268
+ "EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
269
+ "EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
270
+ ],
271
+ Field(discriminator="typename__"),
272
+ ]
273
+ ] = Field(alias="resetPeriodConfiguration", default=None)
274
+ feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
275
+
276
+
277
+ class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
278
+ typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
279
+ monthly_according_to: Optional[MonthlyAccordingTo] = Field(
280
+ alias="monthlyAccordingTo", default=None
281
+ )
282
+
283
+
284
+ class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
285
+ typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
286
+ weekly_according_to: Optional[WeeklyAccordingTo] = Field(
287
+ alias="weeklyAccordingTo", default=None
288
+ )
289
+
290
+
291
+ class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
292
+ typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
293
+ yearly_according_to: Optional[YearlyAccordingTo] = Field(
294
+ alias="yearlyAccordingTo", default=None
236
295
  )
237
296
 
238
297
 
298
+ class EntitlementFragmentFeature(FeatureFragment):
299
+ pass
300
+
301
+
302
+ class CustomerResourceFragment(BaseModel):
303
+ resource_id: str = Field(alias="resourceId")
304
+
305
+
239
306
  class TotalPriceFragment(BaseModel):
240
307
  sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
241
308
  total: "TotalPriceFragmentTotal"
@@ -251,45 +318,62 @@ class TotalPriceFragmentTotal(BaseModel):
251
318
  currency: Currency
252
319
 
253
320
 
254
- class SubscriptionScheduledUpdateData(BaseModel):
321
+ class SlimCustomerFragment(BaseModel):
322
+ id: str
323
+ name: Optional[str] = Field(default=None)
324
+ email: Optional[str] = Field(default=None)
325
+ created_at: Optional[Any] = Field(alias="createdAt", default=None)
326
+ updated_at: Any = Field(alias="updatedAt")
327
+ ref_id: str = Field(alias="refId")
328
+ customer_id: str = Field(alias="customerId")
329
+ billing_id: Optional[str] = Field(alias="billingId", default=None)
330
+ additional_meta_data: Optional[Any] = Field(
331
+ alias="additionalMetaData", default=None
332
+ )
333
+ aws_marketplace_customer_id: Optional[str] = Field(
334
+ alias="awsMarketplaceCustomerId", default=None
335
+ )
336
+
337
+
338
+ class SubscriptionFutureUpdateData(BaseModel):
255
339
  subscription_schedule_type: SubscriptionScheduleType = Field(
256
340
  alias="subscriptionScheduleType"
257
341
  )
258
342
  schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
259
343
  scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
260
- target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
344
+ target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
261
345
  alias="targetPackage", default=None
262
346
  )
263
347
  schedule_variables: Optional[
264
348
  Annotated[
265
349
  Union[
266
- "SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
267
- "SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
268
- "SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
269
- "SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
270
- "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
271
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
272
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
273
- "SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
350
+ "SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
351
+ "SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
352
+ "SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
353
+ "SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
354
+ "SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
355
+ "SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
356
+ "SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
357
+ "SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
274
358
  ],
275
359
  Field(discriminator="typename__"),
276
360
  ]
277
361
  ] = Field(alias="scheduleVariables", default=None)
278
362
 
279
363
 
280
- class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
364
+ class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
281
365
  id: str
282
366
  ref_id: str = Field(alias="refId")
283
367
  display_name: str = Field(alias="displayName")
284
368
 
285
369
 
286
- class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
370
+ class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
287
371
  typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
288
372
  addon_ref_id: str = Field(alias="addonRefId")
289
373
  new_quantity: float = Field(alias="newQuantity")
290
374
 
291
375
 
292
- class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
376
+ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
293
377
  BaseModel
294
378
  ):
295
379
  typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
@@ -297,55 +381,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
297
381
  feature_id: Optional[str] = Field(alias="featureId", default=None)
298
382
 
299
383
 
300
- class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
384
+ class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
301
385
  BaseModel
302
386
  ):
303
387
  typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
304
388
  billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
305
389
 
306
390
 
307
- class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
391
+ class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
308
392
  typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
309
393
 
310
394
 
311
- class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
312
- BaseModel
313
- ):
395
+ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
314
396
  typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
315
397
  downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
316
398
  billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
317
399
  billable_features: Optional[
318
400
  List[
319
- "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
401
+ "SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
320
402
  ]
321
403
  ] = Field(alias="billableFeatures", default=None)
322
404
  addons: Optional[
323
405
  List[
324
- "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
406
+ "SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
325
407
  ]
326
408
  ] = Field(default=None)
327
409
  price_overrides: Optional[
328
410
  List[
329
- "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
411
+ "SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
330
412
  ]
331
413
  ] = Field(alias="priceOverrides", default=None)
332
414
 
333
415
 
334
- class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
416
+ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
335
417
  BaseModel
336
418
  ):
337
419
  feature_id: str = Field(alias="featureId")
338
420
  quantity: float
339
421
 
340
422
 
341
- class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
423
+ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
342
424
  BaseModel
343
425
  ):
344
426
  addon_ref_id: str = Field(alias="addonRefId")
345
427
  quantity: float
346
428
 
347
429
 
348
- class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
430
+ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
349
431
  BaseModel
350
432
  ):
351
433
  plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
@@ -353,43 +435,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
353
435
  feature_id: Optional[str] = Field(alias="featureId", default=None)
354
436
 
355
437
 
356
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
438
+ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
357
439
  typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
358
440
  plan_ref_id: str = Field(alias="planRefId")
359
441
  change_type: PlanChangeType = Field(alias="changeType")
360
442
  billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
361
443
  billable_features: Optional[
362
444
  List[
363
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
445
+ "SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
364
446
  ]
365
447
  ] = Field(alias="billableFeatures", default=None)
366
448
  addons: Optional[
367
- List[
368
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
369
- ]
449
+ List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
370
450
  ] = Field(default=None)
371
451
  price_overrides: Optional[
372
452
  List[
373
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
453
+ "SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
374
454
  ]
375
455
  ] = Field(alias="priceOverrides", default=None)
376
456
 
377
457
 
378
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
458
+ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
379
459
  BaseModel
380
460
  ):
381
461
  feature_id: str = Field(alias="featureId")
382
462
  quantity: float
383
463
 
384
464
 
385
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
386
- BaseModel
387
- ):
465
+ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
388
466
  addon_ref_id: str = Field(alias="addonRefId")
389
467
  quantity: float
390
468
 
391
469
 
392
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
470
+ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
393
471
  BaseModel
394
472
  ):
395
473
  plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
@@ -397,7 +475,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
397
475
  feature_id: Optional[str] = Field(alias="featureId", default=None)
398
476
 
399
477
 
400
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
478
+ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
401
479
  BaseModel
402
480
  ):
403
481
  typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
@@ -405,32 +483,12 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
405
483
  feature_id: Optional[str] = Field(alias="featureId", default=None)
406
484
 
407
485
 
408
- class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
409
- BaseModel
410
- ):
486
+ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
411
487
  typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
412
488
  new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
413
489
  feature_id: Optional[str] = Field(alias="featureId", default=None)
414
490
 
415
491
 
416
- class PlanCompatiblePackageGroupsFragment(BaseModel):
417
- package_group_id: str = Field(alias="packageGroupId")
418
- display_name: str = Field(alias="displayName")
419
- addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
420
- default=None
421
- )
422
- options: "PlanCompatiblePackageGroupsFragmentOptions"
423
-
424
-
425
- class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
426
- pass
427
-
428
-
429
- class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
430
- min_items: Optional[float] = Field(alias="minItems", default=None)
431
- free_items: Optional[float] = Field(alias="freeItems", default=None)
432
-
433
-
434
492
  class ProductFragment(BaseModel):
435
493
  ref_id: str = Field(alias="refId")
436
494
  display_name: Optional[str] = Field(alias="displayName", default=None)
@@ -452,6 +510,24 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
452
510
  display_name: str = Field(alias="displayName")
453
511
 
454
512
 
513
+ class PlanCompatiblePackageGroupsFragment(BaseModel):
514
+ package_group_id: str = Field(alias="packageGroupId")
515
+ display_name: str = Field(alias="displayName")
516
+ addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
517
+ default=None
518
+ )
519
+ options: "PlanCompatiblePackageGroupsFragmentOptions"
520
+
521
+
522
+ class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
523
+ pass
524
+
525
+
526
+ class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
527
+ min_items: Optional[float] = Field(alias="minItems", default=None)
528
+ free_items: Optional[float] = Field(alias="freeItems", default=None)
529
+
530
+
455
531
  class PlanFragment(BaseModel):
456
532
  id: str
457
533
  ref_id: str = Field(alias="refId")
@@ -560,45 +636,45 @@ class SubscriptionInvoiceFragment(BaseModel):
560
636
  attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
561
637
 
562
638
 
563
- class SubscriptionFutureUpdateData(BaseModel):
639
+ class SubscriptionScheduledUpdateData(BaseModel):
564
640
  subscription_schedule_type: SubscriptionScheduleType = Field(
565
641
  alias="subscriptionScheduleType"
566
642
  )
567
643
  schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
568
644
  scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
569
- target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
645
+ target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
570
646
  alias="targetPackage", default=None
571
647
  )
572
648
  schedule_variables: Optional[
573
649
  Annotated[
574
650
  Union[
575
- "SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
576
- "SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
577
- "SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
578
- "SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
579
- "SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
580
- "SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
581
- "SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
582
- "SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
651
+ "SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
652
+ "SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
653
+ "SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
654
+ "SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
655
+ "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
656
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
657
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
658
+ "SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
583
659
  ],
584
660
  Field(discriminator="typename__"),
585
661
  ]
586
662
  ] = Field(alias="scheduleVariables", default=None)
587
663
 
588
664
 
589
- class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
665
+ class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
590
666
  id: str
591
667
  ref_id: str = Field(alias="refId")
592
668
  display_name: str = Field(alias="displayName")
593
669
 
594
670
 
595
- class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
671
+ class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
596
672
  typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
597
673
  addon_ref_id: str = Field(alias="addonRefId")
598
674
  new_quantity: float = Field(alias="newQuantity")
599
675
 
600
676
 
601
- class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
677
+ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
602
678
  BaseModel
603
679
  ):
604
680
  typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
@@ -606,53 +682,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
606
682
  feature_id: Optional[str] = Field(alias="featureId", default=None)
607
683
 
608
684
 
609
- class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
685
+ class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
610
686
  BaseModel
611
687
  ):
612
688
  typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
613
689
  billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
614
690
 
615
691
 
616
- class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
692
+ class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
617
693
  typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
618
694
 
619
695
 
620
- class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
696
+ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
697
+ BaseModel
698
+ ):
621
699
  typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
622
700
  downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
623
701
  billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
624
702
  billable_features: Optional[
625
703
  List[
626
- "SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
704
+ "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
627
705
  ]
628
706
  ] = Field(alias="billableFeatures", default=None)
629
707
  addons: Optional[
630
708
  List[
631
- "SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
709
+ "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
632
710
  ]
633
711
  ] = Field(default=None)
634
712
  price_overrides: Optional[
635
713
  List[
636
- "SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
714
+ "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
637
715
  ]
638
716
  ] = Field(alias="priceOverrides", default=None)
639
717
 
640
718
 
641
- class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
719
+ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
642
720
  BaseModel
643
721
  ):
644
722
  feature_id: str = Field(alias="featureId")
645
723
  quantity: float
646
724
 
647
725
 
648
- class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
726
+ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
649
727
  BaseModel
650
728
  ):
651
729
  addon_ref_id: str = Field(alias="addonRefId")
652
730
  quantity: float
653
731
 
654
732
 
655
- class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
733
+ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
656
734
  BaseModel
657
735
  ):
658
736
  plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
@@ -660,39 +738,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
660
738
  feature_id: Optional[str] = Field(alias="featureId", default=None)
661
739
 
662
740
 
663
- class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
741
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
664
742
  typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
665
743
  plan_ref_id: str = Field(alias="planRefId")
666
744
  change_type: PlanChangeType = Field(alias="changeType")
667
745
  billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
668
746
  billable_features: Optional[
669
747
  List[
670
- "SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
748
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
671
749
  ]
672
750
  ] = Field(alias="billableFeatures", default=None)
673
751
  addons: Optional[
674
- List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
752
+ List[
753
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
754
+ ]
675
755
  ] = Field(default=None)
676
756
  price_overrides: Optional[
677
757
  List[
678
- "SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
758
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
679
759
  ]
680
760
  ] = Field(alias="priceOverrides", default=None)
681
761
 
682
762
 
683
- class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
763
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
684
764
  BaseModel
685
765
  ):
686
766
  feature_id: str = Field(alias="featureId")
687
767
  quantity: float
688
768
 
689
769
 
690
- class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
770
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
771
+ BaseModel
772
+ ):
691
773
  addon_ref_id: str = Field(alias="addonRefId")
692
774
  quantity: float
693
775
 
694
776
 
695
- class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
777
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
696
778
  BaseModel
697
779
  ):
698
780
  plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
@@ -700,7 +782,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
700
782
  feature_id: Optional[str] = Field(alias="featureId", default=None)
701
783
 
702
784
 
703
- class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
785
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
704
786
  BaseModel
705
787
  ):
706
788
  typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
@@ -708,7 +790,9 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
708
790
  feature_id: Optional[str] = Field(alias="featureId", default=None)
709
791
 
710
792
 
711
- class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
793
+ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
794
+ BaseModel
795
+ ):
712
796
  typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
713
797
  new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
714
798
  feature_id: Optional[str] = Field(alias="featureId", default=None)
@@ -827,89 +911,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
827
911
  pass
828
912
 
829
913
 
830
- class FeatureFragment(BaseModel):
831
- typename__: str = Field(alias="__typename")
832
- feature_type: FeatureType = Field(alias="featureType")
833
- meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
834
- feature_units: Optional[str] = Field(alias="featureUnits", default=None)
835
- feature_units_plural: Optional[str] = Field(
836
- alias="featureUnitsPlural", default=None
837
- )
838
- description: Optional[str] = Field(default=None)
839
- display_name: str = Field(alias="displayName")
840
- ref_id: str = Field(alias="refId")
841
- unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
842
- alias="unitTransformation", default=None
843
- )
844
-
845
-
846
- class FeatureFragmentUnitTransformation(BaseModel):
847
- divide: float
848
- round: UnitTransformationRound
849
-
850
-
851
- class EntitlementFragment(BaseModel):
852
- typename__: str = Field(alias="__typename")
853
- is_granted: bool = Field(alias="isGranted")
854
- access_denied_reason: Optional[AccessDeniedReason] = Field(
855
- alias="accessDeniedReason", default=None
856
- )
857
- customer_id: Optional[str] = Field(alias="customerId", default=None)
858
- resource_id: Optional[str] = Field(alias="resourceId", default=None)
859
- usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
860
- has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
861
- has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
862
- current_usage: Optional[float] = Field(alias="currentUsage", default=None)
863
- requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
864
- entitlement_updated_at: Optional[Any] = Field(
865
- alias="entitlementUpdatedAt", default=None
866
- )
867
- usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
868
- usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
869
- usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
870
- usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
871
- next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
872
- reset_period: Optional[EntitlementResetPeriod] = Field(
873
- alias="resetPeriod", default=None
874
- )
875
- reset_period_configuration: Optional[
876
- Annotated[
877
- Union[
878
- "EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
879
- "EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
880
- "EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
881
- ],
882
- Field(discriminator="typename__"),
883
- ]
884
- ] = Field(alias="resetPeriodConfiguration", default=None)
885
- feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
886
-
887
-
888
- class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
889
- typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
890
- monthly_according_to: Optional[MonthlyAccordingTo] = Field(
891
- alias="monthlyAccordingTo", default=None
892
- )
893
-
894
-
895
- class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
896
- typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
897
- weekly_according_to: Optional[WeeklyAccordingTo] = Field(
898
- alias="weeklyAccordingTo", default=None
899
- )
900
-
901
-
902
- class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
903
- typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
904
- yearly_according_to: Optional[YearlyAccordingTo] = Field(
905
- alias="yearlyAccordingTo", default=None
906
- )
907
-
908
-
909
- class EntitlementFragmentFeature(FeatureFragment):
910
- pass
911
-
912
-
913
914
  class ApplySubscriptionFragment(BaseModel):
914
915
  subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
915
916
  default=None
@@ -1062,6 +1063,9 @@ class CustomerFragment(SlimCustomerFragment):
1062
1063
  default_payment_method_last_4_digits: Optional[str] = Field(
1063
1064
  alias="defaultPaymentMethodLast4Digits", default=None
1064
1065
  )
1066
+ default_payment_method_type: Optional[PaymentMethodType] = Field(
1067
+ alias="defaultPaymentMethodType", default=None
1068
+ )
1065
1069
  trialed_plans: Optional[List["CustomerFragmentTrialedPlans"]] = Field(
1066
1070
  alias="trialedPlans", default=None
1067
1071
  )
@@ -1164,6 +1168,9 @@ class CustomerPortalBillingInformationFragment(BaseModel):
1164
1168
  default_payment_expiration_year: Optional[int] = Field(
1165
1169
  alias="defaultPaymentExpirationYear", default=None
1166
1170
  )
1171
+ default_payment_method_type: Optional[PaymentMethodType] = Field(
1172
+ alias="defaultPaymentMethodType", default=None
1173
+ )
1167
1174
 
1168
1175
 
1169
1176
  class CustomerPortalConfigurationFragment(BaseModel):
@@ -1250,16 +1257,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
1250
1257
  pass
1251
1258
 
1252
1259
 
1253
- class CustomerPortalPromotionalEntitlementFragment(BaseModel):
1254
- display_name: str = Field(alias="displayName")
1255
- has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
1256
- has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
1257
- usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
1258
- period: PromotionalEntitlementPeriod
1259
- start_date: Any = Field(alias="startDate")
1260
- end_date: Optional[Any] = Field(alias="endDate", default=None)
1261
-
1262
-
1263
1260
  class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
1264
1261
  subscription_schedule_type: SubscriptionScheduleType = Field(
1265
1262
  alias="subscriptionScheduleType"
@@ -1559,6 +1556,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
1559
1556
  pass
1560
1557
 
1561
1558
 
1559
+ class CustomerPortalPromotionalEntitlementFragment(BaseModel):
1560
+ display_name: str = Field(alias="displayName")
1561
+ has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
1562
+ has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
1563
+ usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
1564
+ period: PromotionalEntitlementPeriod
1565
+ start_date: Any = Field(alias="startDate")
1566
+ end_date: Optional[Any] = Field(alias="endDate", default=None)
1567
+
1568
+
1562
1569
  class CustomerPortalFragment(BaseModel):
1563
1570
  subscriptions: List["CustomerPortalFragmentSubscriptions"]
1564
1571
  entitlements: List["CustomerPortalFragmentEntitlements"]
@@ -2765,22 +2772,22 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
2765
2772
  AddonDependencyFragment.model_rebuild()
2766
2773
  PriceTierFragment.model_rebuild()
2767
2774
  OveragePriceFragment.model_rebuild()
2768
- PackageEntitlementFragment.model_rebuild()
2769
2775
  PriceFragment.model_rebuild()
2776
+ PackageEntitlementFragment.model_rebuild()
2770
2777
  AddonFragment.model_rebuild()
2778
+ FeatureFragment.model_rebuild()
2779
+ EntitlementFragment.model_rebuild()
2771
2780
  CustomerResourceFragment.model_rebuild()
2772
- SlimCustomerFragment.model_rebuild()
2773
2781
  TotalPriceFragment.model_rebuild()
2774
- SubscriptionScheduledUpdateData.model_rebuild()
2775
- PlanCompatiblePackageGroupsFragment.model_rebuild()
2782
+ SlimCustomerFragment.model_rebuild()
2783
+ SubscriptionFutureUpdateData.model_rebuild()
2776
2784
  ProductFragment.model_rebuild()
2785
+ PlanCompatiblePackageGroupsFragment.model_rebuild()
2777
2786
  PlanFragment.model_rebuild()
2778
2787
  SubscriptionInvoiceFragment.model_rebuild()
2779
- SubscriptionFutureUpdateData.model_rebuild()
2788
+ SubscriptionScheduledUpdateData.model_rebuild()
2780
2789
  SubscriptionTrialConfigurationFragment.model_rebuild()
2781
2790
  SubscriptionFragment.model_rebuild()
2782
- FeatureFragment.model_rebuild()
2783
- EntitlementFragment.model_rebuild()
2784
2791
  ApplySubscriptionFragment.model_rebuild()
2785
2792
  FontVariantFragment.model_rebuild()
2786
2793
  TypographyConfigurationFragment.model_rebuild()
@@ -2792,11 +2799,11 @@ CheckoutStateFragment.model_rebuild()
2792
2799
  CustomerPortalBillingInformationFragment.model_rebuild()
2793
2800
  CustomerPortalConfigurationFragment.model_rebuild()
2794
2801
  CustomerPortalEntitlementFragment.model_rebuild()
2795
- CustomerPortalPromotionalEntitlementFragment.model_rebuild()
2796
2802
  CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
2797
2803
  CustomerPortalSubscriptionPriceFragment.model_rebuild()
2798
2804
  CustomerPortalSubscriptionAddonFragment.model_rebuild()
2799
2805
  CustomerPortalSubscriptionFragment.model_rebuild()
2806
+ CustomerPortalPromotionalEntitlementFragment.model_rebuild()
2800
2807
  CustomerPortalFragment.model_rebuild()
2801
2808
  CustomerStatisticsFragment.model_rebuild()
2802
2809
  CustomerWithSubscriptionsFragment.model_rebuild()
@@ -4243,6 +4243,11 @@ class TriggerSubscriptionUsageSyncInput(BaseModel):
4243
4243
  resource_id: Optional[str] = Field(alias="resourceId", default=None)
4244
4244
 
4245
4245
 
4246
+ class TriggerWorkflowInput(BaseModel):
4247
+ payload: Optional[Any] = None
4248
+ trigger_id: str = Field(alias="triggerId")
4249
+
4250
+
4246
4251
  class TypographyConfigurationInput(BaseModel):
4247
4252
  body: Optional["FontVariantInput"] = None
4248
4253
  font_family: Optional[str] = Field(alias="fontFamily", default=None)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client-v2
3
- Version: 2.341.0
3
+ Version: 2.354.2
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -106,24 +106,24 @@ 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=OcL34c6qtDEyiWqgIcOZiEK21TEq7mmPxa7yz0Q133g,69530
109
+ stigg/generated/__init__.py,sha256=aT4_xKTm4cUMJ93771njYtyHkTEhx0ru5ojQDVL5oKE,69584
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=j0_aVwSSCHUNPAYNt6Psc5BsPMwEG9HbYvz9-E9u1LQ,170236
113
+ stigg/generated/async_client.py,sha256=YwkTbQ7kzFkUBuUOeXnxygvCO4IRxU59DT9O7B2_seM,170392
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=AHebP8X0jl5noIxkZwMgE-EOE3e5lv-tGrCj2xDt58c,169659
118
+ stigg/generated/client.py,sha256=NgGx0jZs30ZsxuITO15EVz6K4LjJE5XocrwRuGcjm8w,169815
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=iSRG0vGt6BMIBq6y9ilkzSnnBFki6yr6y-GqVc-AUQc,35078
122
+ stigg/generated/enums.py,sha256=G0azfrbKDYNJfRMaP0HGzhinxBlvx_OvS4Tem93qPes,35160
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=pV19tucS4F7W-cQE7qSOt1f7aqoI4we6cKlMT7ImjLk,100632
126
+ stigg/generated/fragments.py,sha256=3a8hAEiVoaKxQjLA2b_8WwhhDPhKwWKgCRFkzq6YGhU,100917
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
@@ -144,7 +144,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
144
144
  stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
145
145
  stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
146
146
  stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
147
- stigg/generated/input_types.py,sha256=wkygbCf5XX5u1zuNaX5z9esl4sgDg6GQgT9UCEslh3U,193446
147
+ stigg/generated/input_types.py,sha256=LaQZvfsVmhhpaI5uwBXpMhTkLVb8igdRXlhzcRCbFMM,193568
148
148
  stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
149
149
  stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
150
150
  stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
160
160
  stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
161
161
  stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
162
162
  stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
163
- stigg_api_client_v2-2.341.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
164
- stigg_api_client_v2-2.341.0.dist-info/METADATA,sha256=Et_QoUE7q4iA_ZiYd2f_I9muIAgeGbnLTamfAU4O8ho,2258
165
- stigg_api_client_v2-2.341.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
166
- stigg_api_client_v2-2.341.0.dist-info/RECORD,,
163
+ stigg_api_client_v2-2.354.2.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
164
+ stigg_api_client_v2-2.354.2.dist-info/METADATA,sha256=2pG5INufjobfqbMorzfvnshzL2yXMRpY-TBIxDZ-DhY,2258
165
+ stigg_api_client_v2-2.354.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
166
+ stigg_api_client_v2-2.354.2.dist-info/RECORD,,