stigg-api-client-v2 3.124.1__py3-none-any.whl → 3.128.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.
- stigg/generated/fragments.py +339 -339
- stigg/generated/input_types.py +4 -1
- {stigg_api_client_v2-3.124.1.dist-info → stigg_api_client_v2-3.128.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.124.1.dist-info → stigg_api_client_v2-3.128.0.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-3.124.1.dist-info → stigg_api_client_v2-3.128.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.124.1.dist-info → stigg_api_client_v2-3.128.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -232,60 +232,139 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
232
232
|
pass
|
|
233
233
|
|
|
234
234
|
|
|
235
|
-
class
|
|
236
|
-
|
|
237
|
-
|
|
235
|
+
class FeatureFragment(BaseModel):
|
|
236
|
+
typename__: str = Field(alias="__typename")
|
|
237
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
238
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
239
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
240
|
+
feature_units_plural: Optional[str] = Field(
|
|
241
|
+
alias="featureUnitsPlural", default=None
|
|
242
|
+
)
|
|
243
|
+
description: Optional[str] = Field(default=None)
|
|
244
|
+
display_name: str = Field(alias="displayName")
|
|
245
|
+
ref_id: str = Field(alias="refId")
|
|
246
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
247
|
+
alias="unitTransformation", default=None
|
|
248
|
+
)
|
|
238
249
|
|
|
239
250
|
|
|
240
|
-
class
|
|
241
|
-
|
|
242
|
-
|
|
251
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
252
|
+
divide: float
|
|
253
|
+
round: UnitTransformationRound
|
|
243
254
|
|
|
244
255
|
|
|
245
|
-
class
|
|
256
|
+
class EntitlementFragment(BaseModel):
|
|
257
|
+
typename__: str = Field(alias="__typename")
|
|
258
|
+
is_granted: bool = Field(alias="isGranted")
|
|
259
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
260
|
+
alias="accessDeniedReason", default=None
|
|
261
|
+
)
|
|
262
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
263
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
264
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
265
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
266
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
267
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
268
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
269
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
270
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
271
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
272
|
+
alias="entitlementUpdatedAt", default=None
|
|
273
|
+
)
|
|
274
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
275
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
276
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
277
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
278
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
279
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
280
|
+
alias="resetPeriod", default=None
|
|
281
|
+
)
|
|
282
|
+
reset_period_configuration: Optional[
|
|
283
|
+
Annotated[
|
|
284
|
+
Union[
|
|
285
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
286
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
287
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
288
|
+
],
|
|
289
|
+
Field(discriminator="typename__"),
|
|
290
|
+
]
|
|
291
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
292
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
293
|
+
credit_rate: Optional["EntitlementFragmentCreditRate"] = Field(
|
|
294
|
+
alias="creditRate", default=None
|
|
295
|
+
)
|
|
296
|
+
valid_until: Optional[float] = Field(alias="validUntil", default=None)
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
300
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
301
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
302
|
+
alias="monthlyAccordingTo", default=None
|
|
303
|
+
)
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
307
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
308
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
309
|
+
alias="weeklyAccordingTo", default=None
|
|
310
|
+
)
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
314
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
315
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
316
|
+
alias="yearlyAccordingTo", default=None
|
|
317
|
+
)
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
321
|
+
pass
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
class EntitlementFragmentCreditRate(BaseModel):
|
|
246
325
|
amount: float
|
|
247
|
-
|
|
326
|
+
currency_id: str = Field(alias="currencyId")
|
|
248
327
|
|
|
249
328
|
|
|
250
|
-
class
|
|
329
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
251
330
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
252
331
|
alias="subscriptionScheduleType"
|
|
253
332
|
)
|
|
254
333
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
255
334
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
256
|
-
target_package: Optional["
|
|
335
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
257
336
|
alias="targetPackage", default=None
|
|
258
337
|
)
|
|
259
338
|
schedule_variables: Optional[
|
|
260
339
|
Annotated[
|
|
261
340
|
Union[
|
|
262
|
-
"
|
|
263
|
-
"
|
|
264
|
-
"
|
|
265
|
-
"
|
|
266
|
-
"
|
|
267
|
-
"
|
|
268
|
-
"
|
|
269
|
-
"
|
|
341
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
342
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
343
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
344
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
345
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
346
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
347
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
348
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
270
349
|
],
|
|
271
350
|
Field(discriminator="typename__"),
|
|
272
351
|
]
|
|
273
352
|
] = Field(alias="scheduleVariables", default=None)
|
|
274
353
|
|
|
275
354
|
|
|
276
|
-
class
|
|
355
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
277
356
|
id: Any
|
|
278
357
|
ref_id: str = Field(alias="refId")
|
|
279
358
|
display_name: str = Field(alias="displayName")
|
|
280
359
|
|
|
281
360
|
|
|
282
|
-
class
|
|
361
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
283
362
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
284
363
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
285
364
|
new_quantity: float = Field(alias="newQuantity")
|
|
286
365
|
|
|
287
366
|
|
|
288
|
-
class
|
|
367
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
289
368
|
BaseModel
|
|
290
369
|
):
|
|
291
370
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -293,55 +372,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
293
372
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
294
373
|
|
|
295
374
|
|
|
296
|
-
class
|
|
375
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
297
376
|
BaseModel
|
|
298
377
|
):
|
|
299
378
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
300
379
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
301
380
|
|
|
302
381
|
|
|
303
|
-
class
|
|
382
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
304
383
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
305
384
|
|
|
306
385
|
|
|
307
|
-
class
|
|
308
|
-
BaseModel
|
|
309
|
-
):
|
|
386
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
310
387
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
311
388
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
312
389
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
313
390
|
billable_features: Optional[
|
|
314
391
|
List[
|
|
315
|
-
"
|
|
392
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
316
393
|
]
|
|
317
394
|
] = Field(alias="billableFeatures", default=None)
|
|
318
395
|
addons: Optional[
|
|
319
396
|
List[
|
|
320
|
-
"
|
|
397
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
321
398
|
]
|
|
322
399
|
] = Field(default=None)
|
|
323
400
|
price_overrides: Optional[
|
|
324
401
|
List[
|
|
325
|
-
"
|
|
402
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
326
403
|
]
|
|
327
404
|
] = Field(alias="priceOverrides", default=None)
|
|
328
405
|
|
|
329
406
|
|
|
330
|
-
class
|
|
407
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
331
408
|
BaseModel
|
|
332
409
|
):
|
|
333
410
|
feature_id: str = Field(alias="featureId")
|
|
334
411
|
quantity: float
|
|
335
412
|
|
|
336
413
|
|
|
337
|
-
class
|
|
414
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
338
415
|
BaseModel
|
|
339
416
|
):
|
|
340
417
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
341
418
|
quantity: float
|
|
342
419
|
|
|
343
420
|
|
|
344
|
-
class
|
|
421
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
345
422
|
BaseModel
|
|
346
423
|
):
|
|
347
424
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -349,43 +426,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
349
426
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
350
427
|
|
|
351
428
|
|
|
352
|
-
class
|
|
429
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
353
430
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
354
431
|
plan_ref_id: str = Field(alias="planRefId")
|
|
355
432
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
356
433
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
357
434
|
billable_features: Optional[
|
|
358
435
|
List[
|
|
359
|
-
"
|
|
436
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
360
437
|
]
|
|
361
438
|
] = Field(alias="billableFeatures", default=None)
|
|
362
439
|
addons: Optional[
|
|
363
|
-
List[
|
|
364
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
365
|
-
]
|
|
440
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
366
441
|
] = Field(default=None)
|
|
367
442
|
price_overrides: Optional[
|
|
368
443
|
List[
|
|
369
|
-
"
|
|
444
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
370
445
|
]
|
|
371
446
|
] = Field(alias="priceOverrides", default=None)
|
|
372
447
|
|
|
373
448
|
|
|
374
|
-
class
|
|
449
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
375
450
|
BaseModel
|
|
376
451
|
):
|
|
377
452
|
feature_id: str = Field(alias="featureId")
|
|
378
453
|
quantity: float
|
|
379
454
|
|
|
380
455
|
|
|
381
|
-
class
|
|
382
|
-
BaseModel
|
|
383
|
-
):
|
|
456
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
384
457
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
385
458
|
quantity: float
|
|
386
459
|
|
|
387
460
|
|
|
388
|
-
class
|
|
461
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
389
462
|
BaseModel
|
|
390
463
|
):
|
|
391
464
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -393,7 +466,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
393
466
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
394
467
|
|
|
395
468
|
|
|
396
|
-
class
|
|
469
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
397
470
|
BaseModel
|
|
398
471
|
):
|
|
399
472
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -401,89 +474,74 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
401
474
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
402
475
|
|
|
403
476
|
|
|
404
|
-
class
|
|
405
|
-
BaseModel
|
|
406
|
-
):
|
|
477
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
407
478
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
408
479
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
409
480
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
410
481
|
|
|
411
482
|
|
|
412
|
-
class
|
|
413
|
-
|
|
483
|
+
class TotalPriceFragment(BaseModel):
|
|
484
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
485
|
+
total: "TotalPriceFragmentTotal"
|
|
414
486
|
|
|
415
487
|
|
|
416
|
-
class
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
alias="billingReason", default=None
|
|
429
|
-
)
|
|
430
|
-
currency: Optional[str] = Field(default=None)
|
|
431
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
432
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
433
|
-
alias="subTotalExcludingTax", default=None
|
|
434
|
-
)
|
|
435
|
-
total: Optional[float] = Field(default=None)
|
|
436
|
-
total_excluding_tax: Optional[float] = Field(
|
|
437
|
-
alias="totalExcludingTax", default=None
|
|
438
|
-
)
|
|
439
|
-
tax: Optional[float] = Field(default=None)
|
|
440
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
441
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
488
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
489
|
+
amount: float
|
|
490
|
+
currency: Currency
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
494
|
+
amount: float
|
|
495
|
+
currency: Currency
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
499
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
442
500
|
|
|
443
501
|
|
|
444
502
|
class CustomerResourceFragment(BaseModel):
|
|
445
503
|
resource_id: str = Field(alias="resourceId")
|
|
446
504
|
|
|
447
505
|
|
|
448
|
-
class
|
|
506
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
449
507
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
450
508
|
alias="subscriptionScheduleType"
|
|
451
509
|
)
|
|
452
510
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
453
511
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
454
|
-
target_package: Optional["
|
|
512
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
455
513
|
alias="targetPackage", default=None
|
|
456
514
|
)
|
|
457
515
|
schedule_variables: Optional[
|
|
458
516
|
Annotated[
|
|
459
517
|
Union[
|
|
460
|
-
"
|
|
461
|
-
"
|
|
462
|
-
"
|
|
463
|
-
"
|
|
464
|
-
"
|
|
465
|
-
"
|
|
466
|
-
"
|
|
467
|
-
"
|
|
518
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
519
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
520
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
521
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
522
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
523
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
524
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
525
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
468
526
|
],
|
|
469
527
|
Field(discriminator="typename__"),
|
|
470
528
|
]
|
|
471
529
|
] = Field(alias="scheduleVariables", default=None)
|
|
472
530
|
|
|
473
531
|
|
|
474
|
-
class
|
|
532
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
475
533
|
id: Any
|
|
476
534
|
ref_id: str = Field(alias="refId")
|
|
477
535
|
display_name: str = Field(alias="displayName")
|
|
478
536
|
|
|
479
537
|
|
|
480
|
-
class
|
|
538
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
481
539
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
482
540
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
483
541
|
new_quantity: float = Field(alias="newQuantity")
|
|
484
542
|
|
|
485
543
|
|
|
486
|
-
class
|
|
544
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
487
545
|
BaseModel
|
|
488
546
|
):
|
|
489
547
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -491,53 +549,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
491
549
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
492
550
|
|
|
493
551
|
|
|
494
|
-
class
|
|
552
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
495
553
|
BaseModel
|
|
496
554
|
):
|
|
497
555
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
498
556
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
499
557
|
|
|
500
558
|
|
|
501
|
-
class
|
|
559
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
502
560
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
503
561
|
|
|
504
562
|
|
|
505
|
-
class
|
|
563
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
564
|
+
BaseModel
|
|
565
|
+
):
|
|
506
566
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
507
567
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
508
568
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
509
569
|
billable_features: Optional[
|
|
510
570
|
List[
|
|
511
|
-
"
|
|
571
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
512
572
|
]
|
|
513
573
|
] = Field(alias="billableFeatures", default=None)
|
|
514
574
|
addons: Optional[
|
|
515
575
|
List[
|
|
516
|
-
"
|
|
576
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
517
577
|
]
|
|
518
578
|
] = Field(default=None)
|
|
519
579
|
price_overrides: Optional[
|
|
520
580
|
List[
|
|
521
|
-
"
|
|
581
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
522
582
|
]
|
|
523
583
|
] = Field(alias="priceOverrides", default=None)
|
|
524
584
|
|
|
525
585
|
|
|
526
|
-
class
|
|
586
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
527
587
|
BaseModel
|
|
528
588
|
):
|
|
529
589
|
feature_id: str = Field(alias="featureId")
|
|
530
590
|
quantity: float
|
|
531
591
|
|
|
532
592
|
|
|
533
|
-
class
|
|
593
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
534
594
|
BaseModel
|
|
535
595
|
):
|
|
536
596
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
537
597
|
quantity: float
|
|
538
598
|
|
|
539
599
|
|
|
540
|
-
class
|
|
600
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
541
601
|
BaseModel
|
|
542
602
|
):
|
|
543
603
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -545,39 +605,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
545
605
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
546
606
|
|
|
547
607
|
|
|
548
|
-
class
|
|
608
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
549
609
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
550
610
|
plan_ref_id: str = Field(alias="planRefId")
|
|
551
611
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
552
612
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
553
613
|
billable_features: Optional[
|
|
554
614
|
List[
|
|
555
|
-
"
|
|
615
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
556
616
|
]
|
|
557
617
|
] = Field(alias="billableFeatures", default=None)
|
|
558
618
|
addons: Optional[
|
|
559
|
-
List[
|
|
619
|
+
List[
|
|
620
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
621
|
+
]
|
|
560
622
|
] = Field(default=None)
|
|
561
623
|
price_overrides: Optional[
|
|
562
624
|
List[
|
|
563
|
-
"
|
|
625
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
564
626
|
]
|
|
565
627
|
] = Field(alias="priceOverrides", default=None)
|
|
566
628
|
|
|
567
629
|
|
|
568
|
-
class
|
|
630
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
569
631
|
BaseModel
|
|
570
632
|
):
|
|
571
633
|
feature_id: str = Field(alias="featureId")
|
|
572
634
|
quantity: float
|
|
573
635
|
|
|
574
636
|
|
|
575
|
-
class
|
|
637
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
638
|
+
BaseModel
|
|
639
|
+
):
|
|
576
640
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
577
641
|
quantity: float
|
|
578
642
|
|
|
579
643
|
|
|
580
|
-
class
|
|
644
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
581
645
|
BaseModel
|
|
582
646
|
):
|
|
583
647
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -585,7 +649,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
585
649
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
586
650
|
|
|
587
651
|
|
|
588
|
-
class
|
|
652
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
589
653
|
BaseModel
|
|
590
654
|
):
|
|
591
655
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -593,12 +657,42 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
593
657
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
594
658
|
|
|
595
659
|
|
|
596
|
-
class
|
|
660
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
661
|
+
BaseModel
|
|
662
|
+
):
|
|
597
663
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
598
664
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
599
665
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
600
666
|
|
|
601
667
|
|
|
668
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
669
|
+
billing_id: str = Field(alias="billingId")
|
|
670
|
+
status: SubscriptionInvoiceStatus
|
|
671
|
+
created_at: Any = Field(alias="createdAt")
|
|
672
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
673
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
674
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
675
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
676
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
677
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
678
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
679
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
680
|
+
alias="billingReason", default=None
|
|
681
|
+
)
|
|
682
|
+
currency: Optional[str] = Field(default=None)
|
|
683
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
684
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
685
|
+
alias="subTotalExcludingTax", default=None
|
|
686
|
+
)
|
|
687
|
+
total: Optional[float] = Field(default=None)
|
|
688
|
+
total_excluding_tax: Optional[float] = Field(
|
|
689
|
+
alias="totalExcludingTax", default=None
|
|
690
|
+
)
|
|
691
|
+
tax: Optional[float] = Field(default=None)
|
|
692
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
693
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
694
|
+
|
|
695
|
+
|
|
602
696
|
class ProductFragment(BaseModel):
|
|
603
697
|
ref_id: str = Field(alias="refId")
|
|
604
698
|
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
@@ -791,152 +885,58 @@ class SubscriptionFragmentPayingCustomer(SlimCustomerFragment):
|
|
|
791
885
|
pass
|
|
792
886
|
|
|
793
887
|
|
|
794
|
-
class SubscriptionFragmentLatestInvoice(SubscriptionInvoiceFragment):
|
|
795
|
-
pass
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
class SubscriptionFragmentResource(CustomerResourceFragment):
|
|
799
|
-
pass
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
class SubscriptionFragmentExperimentInfo(BaseModel):
|
|
803
|
-
name: str
|
|
804
|
-
group_type: experimentGroupType = Field(alias="groupType")
|
|
805
|
-
group_name: str = Field(alias="groupName")
|
|
806
|
-
id: str
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
class SubscriptionFragmentPrices(BaseModel):
|
|
810
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
811
|
-
price: Optional["SubscriptionFragmentPricesPrice"] = Field(default=None)
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
class SubscriptionFragmentPricesPrice(PriceFragment):
|
|
815
|
-
pass
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
class SubscriptionFragmentTotalPrice(TotalPriceFragment):
|
|
819
|
-
pass
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
class SubscriptionFragmentPlan(PlanFragment):
|
|
823
|
-
pass
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
class SubscriptionFragmentAddons(BaseModel):
|
|
827
|
-
id: Any
|
|
828
|
-
quantity: float
|
|
829
|
-
addon: "SubscriptionFragmentAddonsAddon"
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
class SubscriptionFragmentAddonsAddon(AddonFragment):
|
|
833
|
-
pass
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
class SubscriptionFragmentScheduledUpdates(SubscriptionScheduledUpdateData):
|
|
837
|
-
pass
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
class SubscriptionFragmentFutureUpdates(SubscriptionFutureUpdateData):
|
|
841
|
-
pass
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragment):
|
|
845
|
-
pass
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
class FeatureFragment(BaseModel):
|
|
849
|
-
typename__: str = Field(alias="__typename")
|
|
850
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
851
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
852
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
853
|
-
feature_units_plural: Optional[str] = Field(
|
|
854
|
-
alias="featureUnitsPlural", default=None
|
|
855
|
-
)
|
|
856
|
-
description: Optional[str] = Field(default=None)
|
|
857
|
-
display_name: str = Field(alias="displayName")
|
|
858
|
-
ref_id: str = Field(alias="refId")
|
|
859
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
860
|
-
alias="unitTransformation", default=None
|
|
861
|
-
)
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
865
|
-
divide: float
|
|
866
|
-
round: UnitTransformationRound
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
class EntitlementFragment(BaseModel):
|
|
870
|
-
typename__: str = Field(alias="__typename")
|
|
871
|
-
is_granted: bool = Field(alias="isGranted")
|
|
872
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
873
|
-
alias="accessDeniedReason", default=None
|
|
874
|
-
)
|
|
875
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
876
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
877
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
878
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
879
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
880
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
881
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
882
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
883
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
884
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
885
|
-
alias="entitlementUpdatedAt", default=None
|
|
886
|
-
)
|
|
887
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
888
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
889
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
890
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
891
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
892
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
893
|
-
alias="resetPeriod", default=None
|
|
894
|
-
)
|
|
895
|
-
reset_period_configuration: Optional[
|
|
896
|
-
Annotated[
|
|
897
|
-
Union[
|
|
898
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
899
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
900
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
901
|
-
],
|
|
902
|
-
Field(discriminator="typename__"),
|
|
903
|
-
]
|
|
904
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
905
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
906
|
-
credit_rate: Optional["EntitlementFragmentCreditRate"] = Field(
|
|
907
|
-
alias="creditRate", default=None
|
|
908
|
-
)
|
|
909
|
-
valid_until: Optional[float] = Field(alias="validUntil", default=None)
|
|
888
|
+
class SubscriptionFragmentLatestInvoice(SubscriptionInvoiceFragment):
|
|
889
|
+
pass
|
|
910
890
|
|
|
911
891
|
|
|
912
|
-
class
|
|
913
|
-
|
|
914
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
915
|
-
alias="monthlyAccordingTo", default=None
|
|
916
|
-
)
|
|
892
|
+
class SubscriptionFragmentResource(CustomerResourceFragment):
|
|
893
|
+
pass
|
|
917
894
|
|
|
918
895
|
|
|
919
|
-
class
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
896
|
+
class SubscriptionFragmentExperimentInfo(BaseModel):
|
|
897
|
+
name: str
|
|
898
|
+
group_type: experimentGroupType = Field(alias="groupType")
|
|
899
|
+
group_name: str = Field(alias="groupName")
|
|
900
|
+
id: str
|
|
924
901
|
|
|
925
902
|
|
|
926
|
-
class
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
alias="yearlyAccordingTo", default=None
|
|
930
|
-
)
|
|
903
|
+
class SubscriptionFragmentPrices(BaseModel):
|
|
904
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
905
|
+
price: Optional["SubscriptionFragmentPricesPrice"] = Field(default=None)
|
|
931
906
|
|
|
932
907
|
|
|
933
|
-
class
|
|
908
|
+
class SubscriptionFragmentPricesPrice(PriceFragment):
|
|
934
909
|
pass
|
|
935
910
|
|
|
936
911
|
|
|
937
|
-
class
|
|
938
|
-
|
|
939
|
-
|
|
912
|
+
class SubscriptionFragmentTotalPrice(TotalPriceFragment):
|
|
913
|
+
pass
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
class SubscriptionFragmentPlan(PlanFragment):
|
|
917
|
+
pass
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
class SubscriptionFragmentAddons(BaseModel):
|
|
921
|
+
id: Any
|
|
922
|
+
quantity: float
|
|
923
|
+
addon: "SubscriptionFragmentAddonsAddon"
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
class SubscriptionFragmentAddonsAddon(AddonFragment):
|
|
927
|
+
pass
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
class SubscriptionFragmentScheduledUpdates(SubscriptionScheduledUpdateData):
|
|
931
|
+
pass
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
class SubscriptionFragmentFutureUpdates(SubscriptionFutureUpdateData):
|
|
935
|
+
pass
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragment):
|
|
939
|
+
pass
|
|
940
940
|
|
|
941
941
|
|
|
942
942
|
class ApplySubscriptionFragment(BaseModel):
|
|
@@ -1016,33 +1016,14 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1016
1016
|
)
|
|
1017
1017
|
|
|
1018
1018
|
|
|
1019
|
-
class
|
|
1020
|
-
|
|
1021
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1022
|
-
feature_id: Any = Field(alias="featureId")
|
|
1023
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1024
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1025
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1026
|
-
alias="resetPeriod", default=None
|
|
1027
|
-
)
|
|
1028
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1029
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1030
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1019
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1020
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1031
1021
|
|
|
1032
1022
|
|
|
1033
|
-
class
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
feature_units_plural: Optional[str] = Field(
|
|
1038
|
-
alias="featureUnitsPlural", default=None
|
|
1039
|
-
)
|
|
1040
|
-
display_name: str = Field(alias="displayName")
|
|
1041
|
-
description: Optional[str] = Field(default=None)
|
|
1042
|
-
ref_id: str = Field(alias="refId")
|
|
1043
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1044
|
-
alias="additionalMetaData", default=None
|
|
1045
|
-
)
|
|
1023
|
+
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1024
|
+
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1025
|
+
setup_secret: str = Field(alias="setupSecret")
|
|
1026
|
+
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1046
1027
|
|
|
1047
1028
|
|
|
1048
1029
|
class CouponFragment(BaseModel):
|
|
@@ -1079,6 +1060,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1079
1060
|
status: SyncStatus
|
|
1080
1061
|
|
|
1081
1062
|
|
|
1063
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1064
|
+
status: PromotionalEntitlementStatus
|
|
1065
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1066
|
+
feature_id: Any = Field(alias="featureId")
|
|
1067
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1068
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1069
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1070
|
+
alias="resetPeriod", default=None
|
|
1071
|
+
)
|
|
1072
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1073
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1074
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1078
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1079
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1080
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1081
|
+
feature_units_plural: Optional[str] = Field(
|
|
1082
|
+
alias="featureUnitsPlural", default=None
|
|
1083
|
+
)
|
|
1084
|
+
display_name: str = Field(alias="displayName")
|
|
1085
|
+
description: Optional[str] = Field(default=None)
|
|
1086
|
+
ref_id: str = Field(alias="refId")
|
|
1087
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1088
|
+
alias="additionalMetaData", default=None
|
|
1089
|
+
)
|
|
1090
|
+
|
|
1091
|
+
|
|
1082
1092
|
class CustomerFragment(SlimCustomerFragment):
|
|
1083
1093
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1084
1094
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1137,16 +1147,6 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1137
1147
|
pass
|
|
1138
1148
|
|
|
1139
1149
|
|
|
1140
|
-
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1141
|
-
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1142
|
-
setup_secret: str = Field(alias="setupSecret")
|
|
1143
|
-
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1147
|
-
publishable_key: str = Field(alias="publishableKey")
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
1150
|
class CheckoutStateFragment(BaseModel):
|
|
1151
1151
|
configuration: Optional["CheckoutStateFragmentConfiguration"] = Field(default=None)
|
|
1152
1152
|
setup_secret: str = Field(alias="setupSecret")
|
|
@@ -1435,23 +1435,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1435
1435
|
pass
|
|
1436
1436
|
|
|
1437
1437
|
|
|
1438
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1439
|
-
display_name: str = Field(alias="displayName")
|
|
1440
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1441
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1442
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1443
|
-
period: PromotionalEntitlementPeriod
|
|
1444
|
-
start_date: Any = Field(alias="startDate")
|
|
1445
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1446
|
-
|
|
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
|
-
|
|
1455
1438
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1456
1439
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1457
1440
|
alias="subscriptionScheduleType"
|
|
@@ -1656,6 +1639,13 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1656
1639
|
)
|
|
1657
1640
|
|
|
1658
1641
|
|
|
1642
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1643
|
+
addon_id: str = Field(alias="addonId")
|
|
1644
|
+
description: Optional[str] = Field(default=None)
|
|
1645
|
+
display_name: str = Field(alias="displayName")
|
|
1646
|
+
quantity: int
|
|
1647
|
+
|
|
1648
|
+
|
|
1659
1649
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1660
1650
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1661
1651
|
plan_id: str = Field(alias="planId")
|
|
@@ -1760,6 +1750,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1760
1750
|
pass
|
|
1761
1751
|
|
|
1762
1752
|
|
|
1753
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1754
|
+
display_name: str = Field(alias="displayName")
|
|
1755
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1756
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1757
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1758
|
+
period: PromotionalEntitlementPeriod
|
|
1759
|
+
start_date: Any = Field(alias="startDate")
|
|
1760
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1761
|
+
|
|
1762
|
+
|
|
1763
1763
|
class CustomerPortalFragment(BaseModel):
|
|
1764
1764
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1765
1765
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -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")
|
|
@@ -3046,28 +3046,28 @@ PriceFragment.model_rebuild()
|
|
|
3046
3046
|
PackageEntitlementFragment.model_rebuild()
|
|
3047
3047
|
OveragePriceFragment.model_rebuild()
|
|
3048
3048
|
AddonFragment.model_rebuild()
|
|
3049
|
+
FeatureFragment.model_rebuild()
|
|
3050
|
+
EntitlementFragment.model_rebuild()
|
|
3051
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
3049
3052
|
TotalPriceFragment.model_rebuild()
|
|
3050
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3051
3053
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3052
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
3053
3054
|
CustomerResourceFragment.model_rebuild()
|
|
3054
|
-
|
|
3055
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3056
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
3055
3057
|
ProductFragment.model_rebuild()
|
|
3056
3058
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3057
3059
|
PlanFragment.model_rebuild()
|
|
3058
3060
|
SlimCustomerFragment.model_rebuild()
|
|
3059
3061
|
SubscriptionFragment.model_rebuild()
|
|
3060
|
-
FeatureFragment.model_rebuild()
|
|
3061
|
-
EntitlementFragment.model_rebuild()
|
|
3062
3062
|
ApplySubscriptionFragment.model_rebuild()
|
|
3063
3063
|
FontVariantFragment.model_rebuild()
|
|
3064
3064
|
TypographyConfigurationFragment.model_rebuild()
|
|
3065
3065
|
CheckoutConfigurationFragment.model_rebuild()
|
|
3066
|
-
|
|
3066
|
+
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3067
|
+
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3067
3068
|
CouponFragment.model_rebuild()
|
|
3069
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
3068
3070
|
CustomerFragment.model_rebuild()
|
|
3069
|
-
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3070
|
-
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3071
3071
|
CheckoutStateFragment.model_rebuild()
|
|
3072
3072
|
CreditBalanceFragment.model_rebuild()
|
|
3073
3073
|
CreditBalanceUpdatedPayload.model_rebuild()
|
|
@@ -3079,11 +3079,11 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
3079
3079
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
3080
3080
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
3081
3081
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
3082
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3083
|
-
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3084
3082
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3085
3083
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3084
|
+
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3086
3085
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
3086
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3087
3087
|
CustomerPortalFragment.model_rebuild()
|
|
3088
3088
|
CustomerStatisticsFragment.model_rebuild()
|
|
3089
3089
|
CustomerWithSubscriptionsFragment.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()
|
stigg/generated/input_types.py
CHANGED
|
@@ -847,7 +847,7 @@ class CreditGrantInput(BaseModel):
|
|
|
847
847
|
)
|
|
848
848
|
amount: float
|
|
849
849
|
await_payment_confirmation: Optional[bool] = Field(
|
|
850
|
-
alias="awaitPaymentConfirmation", default=
|
|
850
|
+
alias="awaitPaymentConfirmation", default=True
|
|
851
851
|
)
|
|
852
852
|
comment: Optional[str] = None
|
|
853
853
|
cost: Optional["MoneyInputDTO"] = None
|
|
@@ -4966,6 +4966,9 @@ class UpdateIntegrationInput(BaseModel):
|
|
|
4966
4966
|
salesforce_credentials: Optional["SalesforceCredentialsInput"] = Field(
|
|
4967
4967
|
alias="salesforceCredentials", default=None
|
|
4968
4968
|
)
|
|
4969
|
+
snowflake_credentials: Optional["SnowflakeCredentialsInput"] = Field(
|
|
4970
|
+
alias="snowflakeCredentials", default=None
|
|
4971
|
+
)
|
|
4969
4972
|
stripe_credentials: Optional["UpdateStripeCredentialsInput"] = Field(
|
|
4970
4973
|
alias="stripeCredentials", default=None
|
|
4971
4974
|
)
|
|
@@ -124,7 +124,7 @@ stigg/generated/enums.py,sha256=yOboGgUVS7wmn812LV-fgQh478Ry3VtuFFl7G5cZe4U,4013
|
|
|
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=
|
|
127
|
+
stigg/generated/fragments.py,sha256=rVA8i0Uh4CvRC5fCm9Qb-wJPPb08igwtpiSoqa7pmVc,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=
|
|
156
|
+
stigg/generated/input_types.py,sha256=Taz1op-OF0PujF2xYEizY0C8bTT1hK0QJ62ThHN6Faw,218370
|
|
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.
|
|
176
|
-
stigg_api_client_v2-3.
|
|
177
|
-
stigg_api_client_v2-3.
|
|
178
|
-
stigg_api_client_v2-3.
|
|
175
|
+
stigg_api_client_v2-3.128.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
176
|
+
stigg_api_client_v2-3.128.0.dist-info/METADATA,sha256=WMHR7N6WU3tfxEAt83wU1hdfu8tGTyF9BBaN30i02Cw,2264
|
|
177
|
+
stigg_api_client_v2-3.128.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
178
|
+
stigg_api_client_v2-3.128.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|