stigg-api-client-v2 3.46.1__py3-none-any.whl → 3.53.4__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/__init__.py +4 -0
- stigg/generated/enums.py +6 -0
- stigg/generated/fragments.py +344 -344
- stigg/generated/input_types.py +6 -0
- {stigg_api_client_v2-3.46.1.dist-info → stigg_api_client_v2-3.53.4.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.46.1.dist-info → stigg_api_client_v2-3.53.4.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-3.46.1.dist-info → stigg_api_client_v2-3.53.4.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.46.1.dist-info → stigg_api_client_v2-3.53.4.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -45,6 +45,7 @@ from .enums import (
|
|
|
45
45
|
CouponStatus,
|
|
46
46
|
CouponType,
|
|
47
47
|
CreditGrantType,
|
|
48
|
+
CreditLedgerEventType,
|
|
48
49
|
Currency,
|
|
49
50
|
CustomerResourceSortFields,
|
|
50
51
|
CustomerSortFields,
|
|
@@ -646,6 +647,7 @@ from .input_types import (
|
|
|
646
647
|
CreateWorkflowTriggerInput,
|
|
647
648
|
CreditBalanceSummaryInput,
|
|
648
649
|
CreditGrantInput,
|
|
650
|
+
CreditLedgerInput,
|
|
649
651
|
CreditRateInput,
|
|
650
652
|
CursorPaging,
|
|
651
653
|
CustomCurrencyInput,
|
|
@@ -1122,6 +1124,8 @@ __all__ = [
|
|
|
1122
1124
|
"CreditGrantFragmentCost",
|
|
1123
1125
|
"CreditGrantInput",
|
|
1124
1126
|
"CreditGrantType",
|
|
1127
|
+
"CreditLedgerEventType",
|
|
1128
|
+
"CreditLedgerInput",
|
|
1125
1129
|
"CreditRateInput",
|
|
1126
1130
|
"CreditsBalanceSummaryFragment",
|
|
1127
1131
|
"CreditsBalanceSummaryFragmentBalances",
|
stigg/generated/enums.py
CHANGED
|
@@ -165,6 +165,12 @@ class CreditGrantType(str, Enum):
|
|
|
165
165
|
PROMOTIONAL = "PROMOTIONAL"
|
|
166
166
|
|
|
167
167
|
|
|
168
|
+
class CreditLedgerEventType(str, Enum):
|
|
169
|
+
CREDITS_CONSUMED = "CREDITS_CONSUMED"
|
|
170
|
+
CREDITS_EXPIRED = "CREDITS_EXPIRED"
|
|
171
|
+
CREDITS_GRANTED = "CREDITS_GRANTED"
|
|
172
|
+
|
|
173
|
+
|
|
168
174
|
class Currency(str, Enum):
|
|
169
175
|
AED = "AED"
|
|
170
176
|
ALL = "ALL"
|
stigg/generated/fragments.py
CHANGED
|
@@ -230,251 +230,36 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
230
230
|
pass
|
|
231
231
|
|
|
232
232
|
|
|
233
|
-
class
|
|
234
|
-
|
|
235
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
236
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
237
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
238
|
-
feature_units_plural: Optional[str] = Field(
|
|
239
|
-
alias="featureUnitsPlural", default=None
|
|
240
|
-
)
|
|
241
|
-
description: Optional[str] = Field(default=None)
|
|
242
|
-
display_name: str = Field(alias="displayName")
|
|
243
|
-
ref_id: str = Field(alias="refId")
|
|
244
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
245
|
-
alias="unitTransformation", default=None
|
|
246
|
-
)
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
250
|
-
divide: float
|
|
251
|
-
round: UnitTransformationRound
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
class EntitlementFragment(BaseModel):
|
|
255
|
-
typename__: str = Field(alias="__typename")
|
|
256
|
-
is_granted: bool = Field(alias="isGranted")
|
|
257
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
258
|
-
alias="accessDeniedReason", default=None
|
|
259
|
-
)
|
|
260
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
261
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
262
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
263
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
264
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
265
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
266
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
267
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
268
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
269
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
270
|
-
alias="entitlementUpdatedAt", default=None
|
|
271
|
-
)
|
|
272
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
273
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
274
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
275
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
276
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
277
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
278
|
-
alias="resetPeriod", default=None
|
|
279
|
-
)
|
|
280
|
-
reset_period_configuration: Optional[
|
|
281
|
-
Annotated[
|
|
282
|
-
Union[
|
|
283
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
284
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
285
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
286
|
-
],
|
|
287
|
-
Field(discriminator="typename__"),
|
|
288
|
-
]
|
|
289
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
290
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
294
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
295
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
296
|
-
alias="monthlyAccordingTo", default=None
|
|
297
|
-
)
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
301
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
302
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
303
|
-
alias="weeklyAccordingTo", default=None
|
|
304
|
-
)
|
|
233
|
+
class CustomerResourceFragment(BaseModel):
|
|
234
|
+
resource_id: str = Field(alias="resourceId")
|
|
305
235
|
|
|
306
236
|
|
|
307
|
-
class
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
237
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
238
|
+
billing_id: str = Field(alias="billingId")
|
|
239
|
+
status: SubscriptionInvoiceStatus
|
|
240
|
+
created_at: Any = Field(alias="createdAt")
|
|
241
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
242
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
243
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
244
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
245
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
246
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
247
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
248
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
249
|
+
alias="billingReason", default=None
|
|
311
250
|
)
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
class SubscriptionScheduledUpdateData(BaseModel):
|
|
319
|
-
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
320
|
-
alias="subscriptionScheduleType"
|
|
251
|
+
currency: Optional[str] = Field(default=None)
|
|
252
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
253
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
254
|
+
alias="subTotalExcludingTax", default=None
|
|
321
255
|
)
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
alias="targetPackage", default=None
|
|
256
|
+
total: Optional[float] = Field(default=None)
|
|
257
|
+
total_excluding_tax: Optional[float] = Field(
|
|
258
|
+
alias="totalExcludingTax", default=None
|
|
326
259
|
)
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
331
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
332
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
333
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
334
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
335
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
336
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
337
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
338
|
-
],
|
|
339
|
-
Field(discriminator="typename__"),
|
|
340
|
-
]
|
|
341
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
345
|
-
id: Any
|
|
346
|
-
ref_id: str = Field(alias="refId")
|
|
347
|
-
display_name: str = Field(alias="displayName")
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
351
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
352
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
353
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
357
|
-
BaseModel
|
|
358
|
-
):
|
|
359
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
360
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
361
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
365
|
-
BaseModel
|
|
366
|
-
):
|
|
367
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
368
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
372
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
376
|
-
BaseModel
|
|
377
|
-
):
|
|
378
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
379
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
380
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
381
|
-
billable_features: Optional[
|
|
382
|
-
List[
|
|
383
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
384
|
-
]
|
|
385
|
-
] = Field(alias="billableFeatures", default=None)
|
|
386
|
-
addons: Optional[
|
|
387
|
-
List[
|
|
388
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
389
|
-
]
|
|
390
|
-
] = Field(default=None)
|
|
391
|
-
price_overrides: Optional[
|
|
392
|
-
List[
|
|
393
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
394
|
-
]
|
|
395
|
-
] = Field(alias="priceOverrides", default=None)
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
399
|
-
BaseModel
|
|
400
|
-
):
|
|
401
|
-
feature_id: str = Field(alias="featureId")
|
|
402
|
-
quantity: float
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
406
|
-
BaseModel
|
|
407
|
-
):
|
|
408
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
409
|
-
quantity: float
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
413
|
-
BaseModel
|
|
414
|
-
):
|
|
415
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
416
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
417
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
421
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
422
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
423
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
424
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
425
|
-
billable_features: Optional[
|
|
426
|
-
List[
|
|
427
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
428
|
-
]
|
|
429
|
-
] = Field(alias="billableFeatures", default=None)
|
|
430
|
-
addons: Optional[
|
|
431
|
-
List[
|
|
432
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
433
|
-
]
|
|
434
|
-
] = Field(default=None)
|
|
435
|
-
price_overrides: Optional[
|
|
436
|
-
List[
|
|
437
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
438
|
-
]
|
|
439
|
-
] = Field(alias="priceOverrides", default=None)
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
443
|
-
BaseModel
|
|
444
|
-
):
|
|
445
|
-
feature_id: str = Field(alias="featureId")
|
|
446
|
-
quantity: float
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
450
|
-
BaseModel
|
|
451
|
-
):
|
|
452
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
453
|
-
quantity: float
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
457
|
-
BaseModel
|
|
458
|
-
):
|
|
459
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
460
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
461
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
465
|
-
BaseModel
|
|
466
|
-
):
|
|
467
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
468
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
469
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
473
|
-
BaseModel
|
|
474
|
-
):
|
|
475
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
476
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
477
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
260
|
+
tax: Optional[float] = Field(default=None)
|
|
261
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
262
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
478
263
|
|
|
479
264
|
|
|
480
265
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
@@ -631,10 +416,6 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
631
416
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
632
417
|
|
|
633
418
|
|
|
634
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
635
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
636
|
-
|
|
637
|
-
|
|
638
419
|
class SlimCustomerFragment(BaseModel):
|
|
639
420
|
id: Any
|
|
640
421
|
name: Optional[str] = Field(default=None)
|
|
@@ -652,24 +433,6 @@ class SlimCustomerFragment(BaseModel):
|
|
|
652
433
|
)
|
|
653
434
|
|
|
654
435
|
|
|
655
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
656
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
657
|
-
display_name: str = Field(alias="displayName")
|
|
658
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
659
|
-
default=None
|
|
660
|
-
)
|
|
661
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
665
|
-
pass
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
669
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
670
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
671
|
-
|
|
672
|
-
|
|
673
436
|
class ProductFragment(BaseModel):
|
|
674
437
|
ref_id: str = Field(alias="refId")
|
|
675
438
|
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
@@ -691,6 +454,24 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
|
691
454
|
display_name: str = Field(alias="displayName")
|
|
692
455
|
|
|
693
456
|
|
|
457
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
458
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
459
|
+
display_name: str = Field(alias="displayName")
|
|
460
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
461
|
+
default=None
|
|
462
|
+
)
|
|
463
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
467
|
+
pass
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
471
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
472
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
473
|
+
|
|
474
|
+
|
|
694
475
|
class PlanFragment(BaseModel):
|
|
695
476
|
id: Any
|
|
696
477
|
ref_id: str = Field(alias="refId")
|
|
@@ -730,46 +511,212 @@ class PlanFragmentProduct(ProductFragment):
|
|
|
730
511
|
pass
|
|
731
512
|
|
|
732
513
|
|
|
733
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
734
|
-
ref_id: str = Field(alias="refId")
|
|
735
|
-
display_name: str = Field(alias="displayName")
|
|
514
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
515
|
+
ref_id: str = Field(alias="refId")
|
|
516
|
+
display_name: str = Field(alias="displayName")
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
520
|
+
pass
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
524
|
+
pass
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
528
|
+
pass
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
532
|
+
pass
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
class PlanFragmentPrices(PriceFragment):
|
|
536
|
+
pass
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
540
|
+
pass
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
544
|
+
duration: float
|
|
545
|
+
units: TrialPeriodUnits
|
|
546
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
547
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
548
|
+
alias="trialEndBehavior", default=None
|
|
549
|
+
)
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
553
|
+
limit: float
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
557
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
558
|
+
alias="subscriptionScheduleType"
|
|
559
|
+
)
|
|
560
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
561
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
562
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
563
|
+
alias="targetPackage", default=None
|
|
564
|
+
)
|
|
565
|
+
schedule_variables: Optional[
|
|
566
|
+
Annotated[
|
|
567
|
+
Union[
|
|
568
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
569
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
570
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
571
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
572
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
573
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
574
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
575
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
576
|
+
],
|
|
577
|
+
Field(discriminator="typename__"),
|
|
578
|
+
]
|
|
579
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
583
|
+
id: Any
|
|
584
|
+
ref_id: str = Field(alias="refId")
|
|
585
|
+
display_name: str = Field(alias="displayName")
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
589
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
590
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
591
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
595
|
+
BaseModel
|
|
596
|
+
):
|
|
597
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
598
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
599
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
603
|
+
BaseModel
|
|
604
|
+
):
|
|
605
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
606
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
610
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
614
|
+
BaseModel
|
|
615
|
+
):
|
|
616
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
617
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
618
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
619
|
+
billable_features: Optional[
|
|
620
|
+
List[
|
|
621
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
622
|
+
]
|
|
623
|
+
] = Field(alias="billableFeatures", default=None)
|
|
624
|
+
addons: Optional[
|
|
625
|
+
List[
|
|
626
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
627
|
+
]
|
|
628
|
+
] = Field(default=None)
|
|
629
|
+
price_overrides: Optional[
|
|
630
|
+
List[
|
|
631
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
632
|
+
]
|
|
633
|
+
] = Field(alias="priceOverrides", default=None)
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
637
|
+
BaseModel
|
|
638
|
+
):
|
|
639
|
+
feature_id: str = Field(alias="featureId")
|
|
640
|
+
quantity: float
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
644
|
+
BaseModel
|
|
645
|
+
):
|
|
646
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
647
|
+
quantity: float
|
|
736
648
|
|
|
737
649
|
|
|
738
|
-
class
|
|
739
|
-
|
|
650
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
651
|
+
BaseModel
|
|
652
|
+
):
|
|
653
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
654
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
655
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
740
656
|
|
|
741
657
|
|
|
742
|
-
class
|
|
743
|
-
|
|
658
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
659
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
660
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
661
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
662
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
663
|
+
billable_features: Optional[
|
|
664
|
+
List[
|
|
665
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
666
|
+
]
|
|
667
|
+
] = Field(alias="billableFeatures", default=None)
|
|
668
|
+
addons: Optional[
|
|
669
|
+
List[
|
|
670
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
671
|
+
]
|
|
672
|
+
] = Field(default=None)
|
|
673
|
+
price_overrides: Optional[
|
|
674
|
+
List[
|
|
675
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
676
|
+
]
|
|
677
|
+
] = Field(alias="priceOverrides", default=None)
|
|
744
678
|
|
|
745
679
|
|
|
746
|
-
class
|
|
747
|
-
|
|
680
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
681
|
+
BaseModel
|
|
682
|
+
):
|
|
683
|
+
feature_id: str = Field(alias="featureId")
|
|
684
|
+
quantity: float
|
|
748
685
|
|
|
749
686
|
|
|
750
|
-
class
|
|
751
|
-
|
|
687
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
688
|
+
BaseModel
|
|
689
|
+
):
|
|
690
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
691
|
+
quantity: float
|
|
752
692
|
|
|
753
693
|
|
|
754
|
-
class
|
|
755
|
-
|
|
694
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
695
|
+
BaseModel
|
|
696
|
+
):
|
|
697
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
698
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
699
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
756
700
|
|
|
757
701
|
|
|
758
|
-
class
|
|
759
|
-
|
|
702
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
703
|
+
BaseModel
|
|
704
|
+
):
|
|
705
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
706
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
707
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
760
708
|
|
|
761
709
|
|
|
762
|
-
class
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
)
|
|
710
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
711
|
+
BaseModel
|
|
712
|
+
):
|
|
713
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
714
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
715
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
769
716
|
|
|
770
717
|
|
|
771
|
-
class
|
|
772
|
-
|
|
718
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
719
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
773
720
|
|
|
774
721
|
|
|
775
722
|
class TotalPriceFragment(BaseModel):
|
|
@@ -787,38 +734,6 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
787
734
|
currency: Currency
|
|
788
735
|
|
|
789
736
|
|
|
790
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
791
|
-
billing_id: str = Field(alias="billingId")
|
|
792
|
-
status: SubscriptionInvoiceStatus
|
|
793
|
-
created_at: Any = Field(alias="createdAt")
|
|
794
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
795
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
796
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
797
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
798
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
799
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
800
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
801
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
802
|
-
alias="billingReason", default=None
|
|
803
|
-
)
|
|
804
|
-
currency: Optional[str] = Field(default=None)
|
|
805
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
806
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
807
|
-
alias="subTotalExcludingTax", default=None
|
|
808
|
-
)
|
|
809
|
-
total: Optional[float] = Field(default=None)
|
|
810
|
-
total_excluding_tax: Optional[float] = Field(
|
|
811
|
-
alias="totalExcludingTax", default=None
|
|
812
|
-
)
|
|
813
|
-
tax: Optional[float] = Field(default=None)
|
|
814
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
815
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
class CustomerResourceFragment(BaseModel):
|
|
819
|
-
resource_id: str = Field(alias="resourceId")
|
|
820
|
-
|
|
821
|
-
|
|
822
737
|
class SubscriptionFragment(BaseModel):
|
|
823
738
|
id: Any
|
|
824
739
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -928,6 +843,91 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
928
843
|
pass
|
|
929
844
|
|
|
930
845
|
|
|
846
|
+
class FeatureFragment(BaseModel):
|
|
847
|
+
typename__: str = Field(alias="__typename")
|
|
848
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
849
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
850
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
851
|
+
feature_units_plural: Optional[str] = Field(
|
|
852
|
+
alias="featureUnitsPlural", default=None
|
|
853
|
+
)
|
|
854
|
+
description: Optional[str] = Field(default=None)
|
|
855
|
+
display_name: str = Field(alias="displayName")
|
|
856
|
+
ref_id: str = Field(alias="refId")
|
|
857
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
858
|
+
alias="unitTransformation", default=None
|
|
859
|
+
)
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
863
|
+
divide: float
|
|
864
|
+
round: UnitTransformationRound
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
class EntitlementFragment(BaseModel):
|
|
868
|
+
typename__: str = Field(alias="__typename")
|
|
869
|
+
is_granted: bool = Field(alias="isGranted")
|
|
870
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
871
|
+
alias="accessDeniedReason", default=None
|
|
872
|
+
)
|
|
873
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
874
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
875
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
876
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
877
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
878
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
879
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
880
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
881
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
882
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
883
|
+
alias="entitlementUpdatedAt", default=None
|
|
884
|
+
)
|
|
885
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
886
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
887
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
888
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
889
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
890
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
891
|
+
alias="resetPeriod", default=None
|
|
892
|
+
)
|
|
893
|
+
reset_period_configuration: Optional[
|
|
894
|
+
Annotated[
|
|
895
|
+
Union[
|
|
896
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
897
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
898
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
899
|
+
],
|
|
900
|
+
Field(discriminator="typename__"),
|
|
901
|
+
]
|
|
902
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
903
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
907
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
908
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
909
|
+
alias="monthlyAccordingTo", default=None
|
|
910
|
+
)
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
914
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
915
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
916
|
+
alias="weeklyAccordingTo", default=None
|
|
917
|
+
)
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
921
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
922
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
923
|
+
alias="yearlyAccordingTo", default=None
|
|
924
|
+
)
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
928
|
+
pass
|
|
929
|
+
|
|
930
|
+
|
|
931
931
|
class ApplySubscriptionFragment(BaseModel):
|
|
932
932
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
933
933
|
default=None
|
|
@@ -1318,23 +1318,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1318
1318
|
pass
|
|
1319
1319
|
|
|
1320
1320
|
|
|
1321
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1322
|
-
display_name: str = Field(alias="displayName")
|
|
1323
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1324
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1325
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1326
|
-
period: PromotionalEntitlementPeriod
|
|
1327
|
-
start_date: Any = Field(alias="startDate")
|
|
1328
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1332
|
-
addon_id: str = Field(alias="addonId")
|
|
1333
|
-
description: Optional[str] = Field(default=None)
|
|
1334
|
-
display_name: str = Field(alias="displayName")
|
|
1335
|
-
quantity: int
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
1321
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1339
1322
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1340
1323
|
alias="subscriptionScheduleType"
|
|
@@ -1539,6 +1522,13 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1539
1522
|
)
|
|
1540
1523
|
|
|
1541
1524
|
|
|
1525
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1526
|
+
addon_id: str = Field(alias="addonId")
|
|
1527
|
+
description: Optional[str] = Field(default=None)
|
|
1528
|
+
display_name: str = Field(alias="displayName")
|
|
1529
|
+
quantity: int
|
|
1530
|
+
|
|
1531
|
+
|
|
1542
1532
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1543
1533
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1544
1534
|
plan_id: str = Field(alias="planId")
|
|
@@ -1643,6 +1633,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1643
1633
|
pass
|
|
1644
1634
|
|
|
1645
1635
|
|
|
1636
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1637
|
+
display_name: str = Field(alias="displayName")
|
|
1638
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1639
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1640
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1641
|
+
period: PromotionalEntitlementPeriod
|
|
1642
|
+
start_date: Any = Field(alias="startDate")
|
|
1643
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1644
|
+
|
|
1645
|
+
|
|
1646
1646
|
class CustomerPortalFragment(BaseModel):
|
|
1647
1647
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1648
1648
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2925,19 +2925,19 @@ OveragePriceFragment.model_rebuild()
|
|
|
2925
2925
|
PackageEntitlementFragment.model_rebuild()
|
|
2926
2926
|
PriceFragment.model_rebuild()
|
|
2927
2927
|
AddonFragment.model_rebuild()
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2928
|
+
CustomerResourceFragment.model_rebuild()
|
|
2929
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2931
2930
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2932
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2933
2931
|
SlimCustomerFragment.model_rebuild()
|
|
2934
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2935
2932
|
ProductFragment.model_rebuild()
|
|
2933
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2936
2934
|
PlanFragment.model_rebuild()
|
|
2935
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2936
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2937
2937
|
TotalPriceFragment.model_rebuild()
|
|
2938
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2939
|
-
CustomerResourceFragment.model_rebuild()
|
|
2940
2938
|
SubscriptionFragment.model_rebuild()
|
|
2939
|
+
FeatureFragment.model_rebuild()
|
|
2940
|
+
EntitlementFragment.model_rebuild()
|
|
2941
2941
|
ApplySubscriptionFragment.model_rebuild()
|
|
2942
2942
|
FontVariantFragment.model_rebuild()
|
|
2943
2943
|
TypographyConfigurationFragment.model_rebuild()
|
|
@@ -2951,11 +2951,11 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
2951
2951
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2952
2952
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2953
2953
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2954
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2955
|
-
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2956
2954
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2957
2955
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2956
|
+
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2958
2957
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2958
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2959
2959
|
CustomerPortalFragment.model_rebuild()
|
|
2960
2960
|
CustomerStatisticsFragment.model_rebuild()
|
|
2961
2961
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -818,6 +818,12 @@ class CreditGrantInput(BaseModel):
|
|
|
818
818
|
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
819
819
|
|
|
820
820
|
|
|
821
|
+
class CreditLedgerInput(BaseModel):
|
|
822
|
+
customer_id: str = Field(alias="customerId")
|
|
823
|
+
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
824
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
825
|
+
|
|
826
|
+
|
|
821
827
|
class CreditRateInput(BaseModel):
|
|
822
828
|
amount: float
|
|
823
829
|
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
@@ -106,7 +106,7 @@ stigg/_vendors/pydantic-2.6.4.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
106
106
|
stigg/_vendors/pydantic-2.6.4.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
107
107
|
stigg/_vendors/pydantic-2.6.4.dist-info/licenses/LICENSE,sha256=qeGG88oWte74QxjnpwFyE1GgDLe4rjpDlLZ7SeNSnvM,1129
|
|
108
108
|
stigg/client.py,sha256=RWrVnxo9zHFXka8KJVE4sMgyek70ispQk0vqOINCvM0,8335
|
|
109
|
-
stigg/generated/__init__.py,sha256=
|
|
109
|
+
stigg/generated/__init__.py,sha256=4DMrNBFLD5CYn1gjBIJSaKTnoenq6H8YbtYRVqjtCys,73750
|
|
110
110
|
stigg/generated/apply_subscription.py,sha256=Vbs-QZZxN16pUpt3Hp7Jvvcc5o_8xwJK9oTLQQjH0ZA,451
|
|
111
111
|
stigg/generated/archive_customer.py,sha256=3N3iBiT2Vvzfb0ckV3o57A6lmJ_ef7JNPaMX_Jtcg6c,396
|
|
112
112
|
stigg/generated/async_base_client.py,sha256=zqd6IhYxpalyA6KQkeGhXgSurC0vXSwSWmSlM2zZ0VM,12593
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=zBvjwKMocm02W2CIXwZ4hXTv983k-xB1B3r5WWBfZ4g,179
|
|
|
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=4wSfEXeZZqMSjsCsSG8baVg3Si8sjzV3bp_unHWHBtQ,38008
|
|
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=-iTbjeg_GARq04OvKcNq6TyIj3swTSTs-Q0gISaEgr8,106791
|
|
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
|
|
@@ -148,7 +148,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
148
148
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
149
149
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
150
150
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
151
|
-
stigg/generated/input_types.py,sha256=
|
|
151
|
+
stigg/generated/input_types.py,sha256=0mdVfdD_93PNOIycmcrkDXm3YIfhxx7APLIhTSKWpx4,206229
|
|
152
152
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
153
153
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
154
154
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -164,7 +164,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
164
164
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
165
165
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
166
166
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
167
|
-
stigg_api_client_v2-3.
|
|
168
|
-
stigg_api_client_v2-3.
|
|
169
|
-
stigg_api_client_v2-3.
|
|
170
|
-
stigg_api_client_v2-3.
|
|
167
|
+
stigg_api_client_v2-3.53.4.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
168
|
+
stigg_api_client_v2-3.53.4.dist-info/METADATA,sha256=zattHsFePPLJ4f7_y66a64jJ_U1hV0cgZ51Th_t3Pog,2257
|
|
169
|
+
stigg_api_client_v2-3.53.4.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
170
|
+
stigg_api_client_v2-3.53.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|