stigg-api-client-v2 2.286.1__py3-none-any.whl → 2.289.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/enums.py +1 -0
- stigg/generated/fragments.py +268 -268
- stigg/generated/input_types.py +5 -0
- {stigg_api_client_v2-2.286.1.dist-info → stigg_api_client_v2-2.289.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.286.1.dist-info → stigg_api_client_v2-2.289.0.dist-info}/RECORD +7 -7
- {stigg_api_client_v2-2.286.1.dist-info → stigg_api_client_v2-2.289.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.286.1.dist-info → stigg_api_client_v2-2.289.0.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -466,6 +466,7 @@ class ErrorCode(str, Enum):
|
|
|
466
466
|
InvalidAddressError = "InvalidAddressError"
|
|
467
467
|
InvalidArgumentError = "InvalidArgumentError"
|
|
468
468
|
InvalidCancellationDate = "InvalidCancellationDate"
|
|
469
|
+
InvalidDoggoSignatureError = "InvalidDoggoSignatureError"
|
|
469
470
|
InvalidEntitlementResetPeriod = "InvalidEntitlementResetPeriod"
|
|
470
471
|
InvalidMemberDelete = "InvalidMemberDelete"
|
|
471
472
|
InvalidMetadataError = "InvalidMetadataError"
|
stigg/generated/fragments.py
CHANGED
|
@@ -115,6 +115,38 @@ class PriceFragmentFeature(BaseModel):
|
|
|
115
115
|
description: Optional[str] = Field(default=None)
|
|
116
116
|
|
|
117
117
|
|
|
118
|
+
class OveragePriceFragment(BaseModel):
|
|
119
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
120
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
121
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
122
|
+
billing_country_code: Optional[str] = Field(
|
|
123
|
+
alias="billingCountryCode", default=None
|
|
124
|
+
)
|
|
125
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
126
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
127
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
128
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
132
|
+
amount: float
|
|
133
|
+
currency: Currency
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
137
|
+
pass
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
141
|
+
ref_id: str = Field(alias="refId")
|
|
142
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
143
|
+
feature_units_plural: Optional[str] = Field(
|
|
144
|
+
alias="featureUnitsPlural", default=None
|
|
145
|
+
)
|
|
146
|
+
display_name: str = Field(alias="displayName")
|
|
147
|
+
description: Optional[str] = Field(default=None)
|
|
148
|
+
|
|
149
|
+
|
|
118
150
|
class PackageEntitlementFragment(BaseModel):
|
|
119
151
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
120
152
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -148,38 +180,6 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
148
180
|
)
|
|
149
181
|
|
|
150
182
|
|
|
151
|
-
class OveragePriceFragment(BaseModel):
|
|
152
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
153
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
154
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
155
|
-
billing_country_code: Optional[str] = Field(
|
|
156
|
-
alias="billingCountryCode", default=None
|
|
157
|
-
)
|
|
158
|
-
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
159
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
160
|
-
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
161
|
-
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
class OveragePriceFragmentPrice(BaseModel):
|
|
165
|
-
amount: float
|
|
166
|
-
currency: Currency
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
170
|
-
pass
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
class OveragePriceFragmentFeature(BaseModel):
|
|
174
|
-
ref_id: str = Field(alias="refId")
|
|
175
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
176
|
-
feature_units_plural: Optional[str] = Field(
|
|
177
|
-
alias="featureUnitsPlural", default=None
|
|
178
|
-
)
|
|
179
|
-
display_name: str = Field(alias="displayName")
|
|
180
|
-
description: Optional[str] = Field(default=None)
|
|
181
|
-
|
|
182
|
-
|
|
183
183
|
class AddonFragment(BaseModel):
|
|
184
184
|
id: str
|
|
185
185
|
ref_id: str = Field(alias="refId")
|
|
@@ -298,71 +298,45 @@ class EntitlementFragmentFeature(FeatureFragment):
|
|
|
298
298
|
pass
|
|
299
299
|
|
|
300
300
|
|
|
301
|
-
class
|
|
302
|
-
billing_id: str = Field(alias="billingId")
|
|
303
|
-
status: SubscriptionInvoiceStatus
|
|
304
|
-
created_at: Any = Field(alias="createdAt")
|
|
305
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
306
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
307
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
308
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
309
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
310
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
311
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
312
|
-
alias="billingReason", default=None
|
|
313
|
-
)
|
|
314
|
-
currency: Optional[str] = Field(default=None)
|
|
315
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
316
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
317
|
-
alias="subTotalExcludingTax", default=None
|
|
318
|
-
)
|
|
319
|
-
total: Optional[float] = Field(default=None)
|
|
320
|
-
total_excluding_tax: Optional[float] = Field(
|
|
321
|
-
alias="totalExcludingTax", default=None
|
|
322
|
-
)
|
|
323
|
-
tax: Optional[float] = Field(default=None)
|
|
324
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
class SubscriptionFutureUpdateData(BaseModel):
|
|
301
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
328
302
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
329
303
|
alias="subscriptionScheduleType"
|
|
330
304
|
)
|
|
331
305
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
332
306
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
333
|
-
target_package: Optional["
|
|
307
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
334
308
|
alias="targetPackage", default=None
|
|
335
309
|
)
|
|
336
310
|
schedule_variables: Optional[
|
|
337
311
|
Annotated[
|
|
338
312
|
Union[
|
|
339
|
-
"
|
|
340
|
-
"
|
|
341
|
-
"
|
|
342
|
-
"
|
|
343
|
-
"
|
|
344
|
-
"
|
|
345
|
-
"
|
|
346
|
-
"
|
|
313
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
314
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
315
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
316
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
317
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
318
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
319
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
320
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
347
321
|
],
|
|
348
322
|
Field(discriminator="typename__"),
|
|
349
323
|
]
|
|
350
324
|
] = Field(alias="scheduleVariables", default=None)
|
|
351
325
|
|
|
352
326
|
|
|
353
|
-
class
|
|
327
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
354
328
|
id: str
|
|
355
329
|
ref_id: str = Field(alias="refId")
|
|
356
330
|
display_name: str = Field(alias="displayName")
|
|
357
331
|
|
|
358
332
|
|
|
359
|
-
class
|
|
333
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
360
334
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
361
335
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
362
336
|
new_quantity: float = Field(alias="newQuantity")
|
|
363
337
|
|
|
364
338
|
|
|
365
|
-
class
|
|
339
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
366
340
|
BaseModel
|
|
367
341
|
):
|
|
368
342
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -370,53 +344,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
370
344
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
371
345
|
|
|
372
346
|
|
|
373
|
-
class
|
|
347
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
374
348
|
BaseModel
|
|
375
349
|
):
|
|
376
350
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
377
351
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
378
352
|
|
|
379
353
|
|
|
380
|
-
class
|
|
354
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
381
355
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
382
356
|
|
|
383
357
|
|
|
384
|
-
class
|
|
358
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
359
|
+
BaseModel
|
|
360
|
+
):
|
|
385
361
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
386
362
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
387
363
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
388
364
|
billable_features: Optional[
|
|
389
365
|
List[
|
|
390
|
-
"
|
|
366
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
391
367
|
]
|
|
392
368
|
] = Field(alias="billableFeatures", default=None)
|
|
393
369
|
addons: Optional[
|
|
394
370
|
List[
|
|
395
|
-
"
|
|
371
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
396
372
|
]
|
|
397
373
|
] = Field(default=None)
|
|
398
374
|
price_overrides: Optional[
|
|
399
375
|
List[
|
|
400
|
-
"
|
|
376
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
401
377
|
]
|
|
402
378
|
] = Field(alias="priceOverrides", default=None)
|
|
403
379
|
|
|
404
380
|
|
|
405
|
-
class
|
|
381
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
406
382
|
BaseModel
|
|
407
383
|
):
|
|
408
384
|
feature_id: str = Field(alias="featureId")
|
|
409
385
|
quantity: float
|
|
410
386
|
|
|
411
387
|
|
|
412
|
-
class
|
|
388
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
413
389
|
BaseModel
|
|
414
390
|
):
|
|
415
391
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
416
392
|
quantity: float
|
|
417
393
|
|
|
418
394
|
|
|
419
|
-
class
|
|
395
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
420
396
|
BaseModel
|
|
421
397
|
):
|
|
422
398
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -424,39 +400,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
424
400
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
425
401
|
|
|
426
402
|
|
|
427
|
-
class
|
|
403
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
428
404
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
429
405
|
plan_ref_id: str = Field(alias="planRefId")
|
|
430
406
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
431
407
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
432
408
|
billable_features: Optional[
|
|
433
409
|
List[
|
|
434
|
-
"
|
|
410
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
435
411
|
]
|
|
436
412
|
] = Field(alias="billableFeatures", default=None)
|
|
437
413
|
addons: Optional[
|
|
438
|
-
List[
|
|
414
|
+
List[
|
|
415
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
416
|
+
]
|
|
439
417
|
] = Field(default=None)
|
|
440
418
|
price_overrides: Optional[
|
|
441
419
|
List[
|
|
442
|
-
"
|
|
420
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
443
421
|
]
|
|
444
422
|
] = Field(alias="priceOverrides", default=None)
|
|
445
423
|
|
|
446
424
|
|
|
447
|
-
class
|
|
425
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
448
426
|
BaseModel
|
|
449
427
|
):
|
|
450
428
|
feature_id: str = Field(alias="featureId")
|
|
451
429
|
quantity: float
|
|
452
430
|
|
|
453
431
|
|
|
454
|
-
class
|
|
432
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
433
|
+
BaseModel
|
|
434
|
+
):
|
|
455
435
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
456
436
|
quantity: float
|
|
457
437
|
|
|
458
438
|
|
|
459
|
-
class
|
|
439
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
460
440
|
BaseModel
|
|
461
441
|
):
|
|
462
442
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -464,7 +444,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
464
444
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
465
445
|
|
|
466
446
|
|
|
467
|
-
class
|
|
447
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
468
448
|
BaseModel
|
|
469
449
|
):
|
|
470
450
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -472,51 +452,70 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
472
452
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
473
453
|
|
|
474
454
|
|
|
475
|
-
class
|
|
455
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
456
|
+
BaseModel
|
|
457
|
+
):
|
|
476
458
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
477
459
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
478
460
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
479
461
|
|
|
480
462
|
|
|
481
|
-
class
|
|
463
|
+
class SlimCustomerFragment(BaseModel):
|
|
464
|
+
id: str
|
|
465
|
+
name: Optional[str] = Field(default=None)
|
|
466
|
+
email: Optional[str] = Field(default=None)
|
|
467
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
468
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
469
|
+
ref_id: str = Field(alias="refId")
|
|
470
|
+
customer_id: str = Field(alias="customerId")
|
|
471
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
472
|
+
additional_meta_data: Optional[Any] = Field(
|
|
473
|
+
alias="additionalMetaData", default=None
|
|
474
|
+
)
|
|
475
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
476
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
477
|
+
)
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
482
481
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
483
482
|
alias="subscriptionScheduleType"
|
|
484
483
|
)
|
|
485
484
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
486
485
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
487
|
-
target_package: Optional["
|
|
486
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
488
487
|
alias="targetPackage", default=None
|
|
489
488
|
)
|
|
490
489
|
schedule_variables: Optional[
|
|
491
490
|
Annotated[
|
|
492
491
|
Union[
|
|
493
|
-
"
|
|
494
|
-
"
|
|
495
|
-
"
|
|
496
|
-
"
|
|
497
|
-
"
|
|
498
|
-
"
|
|
499
|
-
"
|
|
500
|
-
"
|
|
492
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
493
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
494
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
495
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
496
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
497
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
498
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
499
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
501
500
|
],
|
|
502
501
|
Field(discriminator="typename__"),
|
|
503
502
|
]
|
|
504
503
|
] = Field(alias="scheduleVariables", default=None)
|
|
505
504
|
|
|
506
505
|
|
|
507
|
-
class
|
|
506
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
508
507
|
id: str
|
|
509
508
|
ref_id: str = Field(alias="refId")
|
|
510
509
|
display_name: str = Field(alias="displayName")
|
|
511
510
|
|
|
512
511
|
|
|
513
|
-
class
|
|
512
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
514
513
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
515
514
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
516
515
|
new_quantity: float = Field(alias="newQuantity")
|
|
517
516
|
|
|
518
517
|
|
|
519
|
-
class
|
|
518
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
520
519
|
BaseModel
|
|
521
520
|
):
|
|
522
521
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -524,55 +523,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
524
523
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
525
524
|
|
|
526
525
|
|
|
527
|
-
class
|
|
526
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
528
527
|
BaseModel
|
|
529
528
|
):
|
|
530
529
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
531
530
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
532
531
|
|
|
533
532
|
|
|
534
|
-
class
|
|
533
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
535
534
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
536
535
|
|
|
537
536
|
|
|
538
|
-
class
|
|
539
|
-
BaseModel
|
|
540
|
-
):
|
|
537
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
541
538
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
542
539
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
543
540
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
544
541
|
billable_features: Optional[
|
|
545
542
|
List[
|
|
546
|
-
"
|
|
543
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
547
544
|
]
|
|
548
545
|
] = Field(alias="billableFeatures", default=None)
|
|
549
546
|
addons: Optional[
|
|
550
547
|
List[
|
|
551
|
-
"
|
|
548
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
552
549
|
]
|
|
553
550
|
] = Field(default=None)
|
|
554
551
|
price_overrides: Optional[
|
|
555
552
|
List[
|
|
556
|
-
"
|
|
553
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
557
554
|
]
|
|
558
555
|
] = Field(alias="priceOverrides", default=None)
|
|
559
556
|
|
|
560
557
|
|
|
561
|
-
class
|
|
558
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
562
559
|
BaseModel
|
|
563
560
|
):
|
|
564
561
|
feature_id: str = Field(alias="featureId")
|
|
565
562
|
quantity: float
|
|
566
563
|
|
|
567
564
|
|
|
568
|
-
class
|
|
565
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
569
566
|
BaseModel
|
|
570
567
|
):
|
|
571
568
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
572
569
|
quantity: float
|
|
573
570
|
|
|
574
571
|
|
|
575
|
-
class
|
|
572
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
576
573
|
BaseModel
|
|
577
574
|
):
|
|
578
575
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -580,43 +577,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
580
577
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
581
578
|
|
|
582
579
|
|
|
583
|
-
class
|
|
580
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
584
581
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
585
582
|
plan_ref_id: str = Field(alias="planRefId")
|
|
586
583
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
587
584
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
588
585
|
billable_features: Optional[
|
|
589
586
|
List[
|
|
590
|
-
"
|
|
587
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
591
588
|
]
|
|
592
589
|
] = Field(alias="billableFeatures", default=None)
|
|
593
590
|
addons: Optional[
|
|
594
|
-
List[
|
|
595
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
596
|
-
]
|
|
591
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
597
592
|
] = Field(default=None)
|
|
598
593
|
price_overrides: Optional[
|
|
599
594
|
List[
|
|
600
|
-
"
|
|
595
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
601
596
|
]
|
|
602
597
|
] = Field(alias="priceOverrides", default=None)
|
|
603
598
|
|
|
604
599
|
|
|
605
|
-
class
|
|
600
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
606
601
|
BaseModel
|
|
607
602
|
):
|
|
608
603
|
feature_id: str = Field(alias="featureId")
|
|
609
604
|
quantity: float
|
|
610
605
|
|
|
611
606
|
|
|
612
|
-
class
|
|
613
|
-
BaseModel
|
|
614
|
-
):
|
|
607
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
615
608
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
616
609
|
quantity: float
|
|
617
610
|
|
|
618
611
|
|
|
619
|
-
class
|
|
612
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
620
613
|
BaseModel
|
|
621
614
|
):
|
|
622
615
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -624,52 +617,18 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
624
617
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
625
618
|
|
|
626
619
|
|
|
627
|
-
class
|
|
620
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
628
621
|
BaseModel
|
|
629
622
|
):
|
|
630
623
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
631
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
632
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
636
|
-
BaseModel
|
|
637
|
-
):
|
|
638
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
639
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
640
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
class SlimCustomerFragment(BaseModel):
|
|
644
|
-
id: str
|
|
645
|
-
name: Optional[str] = Field(default=None)
|
|
646
|
-
email: Optional[str] = Field(default=None)
|
|
647
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
648
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
649
|
-
ref_id: str = Field(alias="refId")
|
|
650
|
-
customer_id: str = Field(alias="customerId")
|
|
651
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
652
|
-
additional_meta_data: Optional[Any] = Field(
|
|
653
|
-
alias="additionalMetaData", default=None
|
|
654
|
-
)
|
|
655
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
656
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
657
|
-
)
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
class TotalPriceFragment(BaseModel):
|
|
661
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
662
|
-
total: "TotalPriceFragmentTotal"
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
666
|
-
amount: float
|
|
667
|
-
currency: Currency
|
|
624
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
625
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
668
626
|
|
|
669
627
|
|
|
670
|
-
class
|
|
671
|
-
|
|
672
|
-
|
|
628
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
629
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
630
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
631
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
673
632
|
|
|
674
633
|
|
|
675
634
|
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
@@ -800,6 +759,47 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
800
759
|
limit: float
|
|
801
760
|
|
|
802
761
|
|
|
762
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
763
|
+
billing_id: str = Field(alias="billingId")
|
|
764
|
+
status: SubscriptionInvoiceStatus
|
|
765
|
+
created_at: Any = Field(alias="createdAt")
|
|
766
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
767
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
768
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
769
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
770
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
771
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
772
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
773
|
+
alias="billingReason", default=None
|
|
774
|
+
)
|
|
775
|
+
currency: Optional[str] = Field(default=None)
|
|
776
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
777
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
778
|
+
alias="subTotalExcludingTax", default=None
|
|
779
|
+
)
|
|
780
|
+
total: Optional[float] = Field(default=None)
|
|
781
|
+
total_excluding_tax: Optional[float] = Field(
|
|
782
|
+
alias="totalExcludingTax", default=None
|
|
783
|
+
)
|
|
784
|
+
tax: Optional[float] = Field(default=None)
|
|
785
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
class TotalPriceFragment(BaseModel):
|
|
789
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
790
|
+
total: "TotalPriceFragmentTotal"
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
794
|
+
amount: float
|
|
795
|
+
currency: Currency
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
799
|
+
amount: float
|
|
800
|
+
currency: Currency
|
|
801
|
+
|
|
802
|
+
|
|
803
803
|
class SubscriptionFragment(BaseModel):
|
|
804
804
|
id: str
|
|
805
805
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -986,35 +986,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
986
986
|
)
|
|
987
987
|
|
|
988
988
|
|
|
989
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
990
|
-
status: PromotionalEntitlementStatus
|
|
991
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
992
|
-
feature_id: str = Field(alias="featureId")
|
|
993
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
994
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
995
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
996
|
-
alias="resetPeriod", default=None
|
|
997
|
-
)
|
|
998
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
999
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1000
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1004
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1005
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1006
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1007
|
-
feature_units_plural: Optional[str] = Field(
|
|
1008
|
-
alias="featureUnitsPlural", default=None
|
|
1009
|
-
)
|
|
1010
|
-
display_name: str = Field(alias="displayName")
|
|
1011
|
-
description: Optional[str] = Field(default=None)
|
|
1012
|
-
ref_id: str = Field(alias="refId")
|
|
1013
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1014
|
-
alias="additionalMetaData", default=None
|
|
1015
|
-
)
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
989
|
class CouponFragment(BaseModel):
|
|
1019
990
|
id: str
|
|
1020
991
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1049,6 +1020,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1049
1020
|
status: SyncStatus
|
|
1050
1021
|
|
|
1051
1022
|
|
|
1023
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1024
|
+
status: PromotionalEntitlementStatus
|
|
1025
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1026
|
+
feature_id: str = Field(alias="featureId")
|
|
1027
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1028
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1029
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1030
|
+
alias="resetPeriod", default=None
|
|
1031
|
+
)
|
|
1032
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1033
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1034
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1038
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1039
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1040
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1041
|
+
feature_units_plural: Optional[str] = Field(
|
|
1042
|
+
alias="featureUnitsPlural", default=None
|
|
1043
|
+
)
|
|
1044
|
+
display_name: str = Field(alias="displayName")
|
|
1045
|
+
description: Optional[str] = Field(default=None)
|
|
1046
|
+
ref_id: str = Field(alias="refId")
|
|
1047
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1048
|
+
alias="additionalMetaData", default=None
|
|
1049
|
+
)
|
|
1050
|
+
|
|
1051
|
+
|
|
1052
1052
|
class CustomerFragment(SlimCustomerFragment):
|
|
1053
1053
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1054
1054
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1259,6 +1259,40 @@ class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
|
1259
1259
|
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1260
1260
|
|
|
1261
1261
|
|
|
1262
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1263
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1264
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1265
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1266
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1267
|
+
default=None
|
|
1268
|
+
)
|
|
1269
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1270
|
+
default=None
|
|
1271
|
+
)
|
|
1272
|
+
|
|
1273
|
+
|
|
1274
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1275
|
+
amount: float
|
|
1276
|
+
currency: Currency
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1280
|
+
id: str
|
|
1281
|
+
ref_id: str = Field(alias="refId")
|
|
1282
|
+
display_name: str = Field(alias="displayName")
|
|
1283
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1284
|
+
feature_units_plural: Optional[str] = Field(
|
|
1285
|
+
alias="featureUnitsPlural", default=None
|
|
1286
|
+
)
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1290
|
+
addon_id: str = Field(alias="addonId")
|
|
1291
|
+
description: Optional[str] = Field(default=None)
|
|
1292
|
+
display_name: str = Field(alias="displayName")
|
|
1293
|
+
quantity: int
|
|
1294
|
+
|
|
1295
|
+
|
|
1262
1296
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1263
1297
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1264
1298
|
alias="subscriptionScheduleType"
|
|
@@ -1428,40 +1462,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1428
1462
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1429
1463
|
|
|
1430
1464
|
|
|
1431
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1432
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1433
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1434
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1435
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1436
|
-
default=None
|
|
1437
|
-
)
|
|
1438
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1439
|
-
default=None
|
|
1440
|
-
)
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1444
|
-
amount: float
|
|
1445
|
-
currency: Currency
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1449
|
-
id: str
|
|
1450
|
-
ref_id: str = Field(alias="refId")
|
|
1451
|
-
display_name: str = Field(alias="displayName")
|
|
1452
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1453
|
-
feature_units_plural: Optional[str] = Field(
|
|
1454
|
-
alias="featureUnitsPlural", default=None
|
|
1455
|
-
)
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1459
|
-
addon_id: str = Field(alias="addonId")
|
|
1460
|
-
description: Optional[str] = Field(default=None)
|
|
1461
|
-
display_name: str = Field(alias="displayName")
|
|
1462
|
-
quantity: int
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
1465
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1466
1466
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1467
1467
|
plan_id: str = Field(alias="planId")
|
|
@@ -1785,39 +1785,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1785
1785
|
description: Optional[str] = Field(default=None)
|
|
1786
1786
|
|
|
1787
1787
|
|
|
1788
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1789
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1790
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1791
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1792
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1793
|
-
alias="resetPeriod", default=None
|
|
1794
|
-
)
|
|
1795
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1796
|
-
alias="hiddenFromWidgets", default=None
|
|
1797
|
-
)
|
|
1798
|
-
display_name_override: Optional[str] = Field(
|
|
1799
|
-
alias="displayNameOverride", default=None
|
|
1800
|
-
)
|
|
1801
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1802
|
-
default=None
|
|
1803
|
-
)
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1807
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1808
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1809
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1810
|
-
feature_units_plural: Optional[str] = Field(
|
|
1811
|
-
alias="featureUnitsPlural", default=None
|
|
1812
|
-
)
|
|
1813
|
-
display_name: str = Field(alias="displayName")
|
|
1814
|
-
description: Optional[str] = Field(default=None)
|
|
1815
|
-
ref_id: str = Field(alias="refId")
|
|
1816
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1817
|
-
alias="additionalMetaData", default=None
|
|
1818
|
-
)
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
1788
|
class MockPaywallPriceFragment(BaseModel):
|
|
1822
1789
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1823
1790
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1852,6 +1819,39 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1852
1819
|
display_name: str = Field(alias="displayName")
|
|
1853
1820
|
|
|
1854
1821
|
|
|
1822
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1823
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1824
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1825
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1826
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1827
|
+
alias="resetPeriod", default=None
|
|
1828
|
+
)
|
|
1829
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1830
|
+
alias="hiddenFromWidgets", default=None
|
|
1831
|
+
)
|
|
1832
|
+
display_name_override: Optional[str] = Field(
|
|
1833
|
+
alias="displayNameOverride", default=None
|
|
1834
|
+
)
|
|
1835
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1836
|
+
default=None
|
|
1837
|
+
)
|
|
1838
|
+
|
|
1839
|
+
|
|
1840
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1841
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1842
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1843
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1844
|
+
feature_units_plural: Optional[str] = Field(
|
|
1845
|
+
alias="featureUnitsPlural", default=None
|
|
1846
|
+
)
|
|
1847
|
+
display_name: str = Field(alias="displayName")
|
|
1848
|
+
description: Optional[str] = Field(default=None)
|
|
1849
|
+
ref_id: str = Field(alias="refId")
|
|
1850
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1851
|
+
alias="additionalMetaData", default=None
|
|
1852
|
+
)
|
|
1853
|
+
|
|
1854
|
+
|
|
1855
1855
|
class MockPaywallAddonFragment(BaseModel):
|
|
1856
1856
|
ref_id: str = Field(alias="refId")
|
|
1857
1857
|
display_name: str = Field(alias="displayName")
|
|
@@ -2764,37 +2764,37 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2764
2764
|
AddonDependencyFragment.model_rebuild()
|
|
2765
2765
|
PriceTierFragment.model_rebuild()
|
|
2766
2766
|
PriceFragment.model_rebuild()
|
|
2767
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2768
2767
|
OveragePriceFragment.model_rebuild()
|
|
2768
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2769
2769
|
AddonFragment.model_rebuild()
|
|
2770
2770
|
FeatureFragment.model_rebuild()
|
|
2771
2771
|
EntitlementFragment.model_rebuild()
|
|
2772
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2773
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2774
2772
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2775
2773
|
SlimCustomerFragment.model_rebuild()
|
|
2776
|
-
|
|
2774
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2777
2775
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2778
2776
|
CustomerResourceFragment.model_rebuild()
|
|
2779
2777
|
ProductFragment.model_rebuild()
|
|
2780
2778
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2781
2779
|
PlanFragment.model_rebuild()
|
|
2780
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2781
|
+
TotalPriceFragment.model_rebuild()
|
|
2782
2782
|
SubscriptionFragment.model_rebuild()
|
|
2783
2783
|
ApplySubscriptionFragment.model_rebuild()
|
|
2784
2784
|
FontVariantFragment.model_rebuild()
|
|
2785
2785
|
TypographyConfigurationFragment.model_rebuild()
|
|
2786
2786
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2787
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2788
2787
|
CouponFragment.model_rebuild()
|
|
2788
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2789
2789
|
CustomerFragment.model_rebuild()
|
|
2790
2790
|
CheckoutStateFragment.model_rebuild()
|
|
2791
2791
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2792
2792
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2793
2793
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2794
2794
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2795
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2796
2795
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2797
2796
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2797
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2798
2798
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2799
2799
|
CustomerPortalFragment.model_rebuild()
|
|
2800
2800
|
CustomerStatisticsFragment.model_rebuild()
|
|
@@ -2805,8 +2805,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2805
2805
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2806
2806
|
LayoutConfigurationFragment.model_rebuild()
|
|
2807
2807
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2808
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2809
2808
|
MockPaywallPriceFragment.model_rebuild()
|
|
2809
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2810
2810
|
MockPaywallAddonFragment.model_rebuild()
|
|
2811
2811
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2812
2812
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -1930,6 +1930,7 @@ class ImportCustomerInput(BaseModel):
|
|
|
1930
1930
|
name: Optional[str] = None
|
|
1931
1931
|
payment_method_id: Optional[str] = Field(alias="paymentMethodId", default=None)
|
|
1932
1932
|
ref_id: Optional[str] = Field(alias="refId", default=None)
|
|
1933
|
+
salesforce_id: Optional[str] = Field(alias="salesforceId", default=None)
|
|
1933
1934
|
updated_at: Optional[Any] = Field(alias="updatedAt", default=None)
|
|
1934
1935
|
|
|
1935
1936
|
|
|
@@ -2001,7 +2002,11 @@ class ImportSubscriptionInput(BaseModel):
|
|
|
2001
2002
|
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
2002
2003
|
plan_id: str = Field(alias="planId")
|
|
2003
2004
|
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
2005
|
+
salesforce_id: Optional[str] = Field(alias="salesforceId", default=None)
|
|
2004
2006
|
start_date: Optional[Any] = Field(alias="startDate", default=None)
|
|
2007
|
+
subscription_entitlements: Optional[List["SubscriptionEntitlementInput"]] = Field(
|
|
2008
|
+
alias="subscriptionEntitlements", default=None
|
|
2009
|
+
)
|
|
2005
2010
|
unit_quantity: Optional[float] = Field(alias="unitQuantity", default=None)
|
|
2006
2011
|
updated_at: Optional[Any] = Field(alias="updatedAt", default=None)
|
|
2007
2012
|
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=ID5x5Jok4GeF-j_WWeIQokdYlfH3iAOG7uqMD-mI0TI,169
|
|
|
119
119
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
120
120
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
121
121
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
122
|
-
stigg/generated/enums.py,sha256=
|
|
122
|
+
stigg/generated/enums.py,sha256=sAWkIRKUluDgemnIRIPpRnCf49mbnaTUKOc_OxDO3NY,34153
|
|
123
123
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
124
124
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
125
125
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
126
|
-
stigg/generated/fragments.py,sha256=
|
|
126
|
+
stigg/generated/fragments.py,sha256=vebx1BlNSSee-PvPM0P_lwZNH85mQhG4EPSAAsZ_KAk,100553
|
|
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=
|
|
147
|
+
stigg/generated/input_types.py,sha256=EsEsJcKn1CI1KEhFMVE6VgWCXutOa1f-ta6WVDG-__0,189350
|
|
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.
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
163
|
+
stigg_api_client_v2-2.289.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.289.0.dist-info/METADATA,sha256=AG911F7P_i60gKjbOmDJy1DmWGXbGkWroaWop8-HU90,2258
|
|
165
|
+
stigg_api_client_v2-2.289.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.289.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|