stigg-api-client-v2 3.88.0__py3-none-any.whl → 3.93.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/__init__.py +10 -1
- stigg/generated/async_client.py +16 -1
- stigg/generated/client.py +16 -1
- stigg/generated/fragments.py +255 -255
- stigg/generated/get_credit_grants.py +19 -3
- stigg/generated/input_types.py +1 -0
- {stigg_api_client_v2-3.88.0.dist-info → stigg_api_client_v2-3.93.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.88.0.dist-info → stigg_api_client_v2-3.93.0.dist-info}/RECORD +10 -10
- {stigg_api_client_v2-3.88.0.dist-info → stigg_api_client_v2-3.93.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.88.0.dist-info → stigg_api_client_v2-3.93.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -549,7 +549,13 @@ from .get_coupons import (
|
|
|
549
549
|
GetCouponsCouponsEdgesNode,
|
|
550
550
|
)
|
|
551
551
|
from .get_credit_balance import GetCreditBalance, GetCreditBalanceCreditBalanceSummary
|
|
552
|
-
from .get_credit_grants import
|
|
552
|
+
from .get_credit_grants import (
|
|
553
|
+
GetCreditGrants,
|
|
554
|
+
GetCreditGrantsCreditGrants,
|
|
555
|
+
GetCreditGrantsCreditGrantsEdges,
|
|
556
|
+
GetCreditGrantsCreditGrantsEdgesNode,
|
|
557
|
+
GetCreditGrantsCreditGrantsPageInfo,
|
|
558
|
+
)
|
|
553
559
|
from .get_credit_ledger import (
|
|
554
560
|
GetCreditLedger,
|
|
555
561
|
GetCreditLedgerCreditsLedger,
|
|
@@ -1402,6 +1408,9 @@ __all__ = [
|
|
|
1402
1408
|
"GetCreditBalanceCreditBalanceSummary",
|
|
1403
1409
|
"GetCreditGrants",
|
|
1404
1410
|
"GetCreditGrantsCreditGrants",
|
|
1411
|
+
"GetCreditGrantsCreditGrantsEdges",
|
|
1412
|
+
"GetCreditGrantsCreditGrantsEdgesNode",
|
|
1413
|
+
"GetCreditGrantsCreditGrantsPageInfo",
|
|
1405
1414
|
"GetCreditGrantsInput",
|
|
1406
1415
|
"GetCreditLedger",
|
|
1407
1416
|
"GetCreditLedgerCreditsLedger",
|
stigg/generated/async_client.py
CHANGED
|
@@ -6728,7 +6728,15 @@ class AsyncClient(AsyncBaseClient):
|
|
|
6728
6728
|
"""
|
|
6729
6729
|
query GetCreditGrants($input: GetCreditGrantsInput!) {
|
|
6730
6730
|
creditGrants(input: $input) {
|
|
6731
|
-
|
|
6731
|
+
pageInfo {
|
|
6732
|
+
...PageInfoFragment
|
|
6733
|
+
}
|
|
6734
|
+
edges {
|
|
6735
|
+
node {
|
|
6736
|
+
...CreditGrantFragment
|
|
6737
|
+
}
|
|
6738
|
+
}
|
|
6739
|
+
totalCount
|
|
6732
6740
|
}
|
|
6733
6741
|
}
|
|
6734
6742
|
|
|
@@ -6753,6 +6761,13 @@ class AsyncClient(AsyncBaseClient):
|
|
|
6753
6761
|
resourceId
|
|
6754
6762
|
additionalMetaData
|
|
6755
6763
|
}
|
|
6764
|
+
|
|
6765
|
+
fragment PageInfoFragment on PageInfo {
|
|
6766
|
+
startCursor
|
|
6767
|
+
endCursor
|
|
6768
|
+
hasNextPage
|
|
6769
|
+
hasPreviousPage
|
|
6770
|
+
}
|
|
6756
6771
|
"""
|
|
6757
6772
|
)
|
|
6758
6773
|
variables: Dict[str, object] = {"input": input}
|
stigg/generated/client.py
CHANGED
|
@@ -6722,7 +6722,15 @@ class Client(BaseClient):
|
|
|
6722
6722
|
"""
|
|
6723
6723
|
query GetCreditGrants($input: GetCreditGrantsInput!) {
|
|
6724
6724
|
creditGrants(input: $input) {
|
|
6725
|
-
|
|
6725
|
+
pageInfo {
|
|
6726
|
+
...PageInfoFragment
|
|
6727
|
+
}
|
|
6728
|
+
edges {
|
|
6729
|
+
node {
|
|
6730
|
+
...CreditGrantFragment
|
|
6731
|
+
}
|
|
6732
|
+
}
|
|
6733
|
+
totalCount
|
|
6726
6734
|
}
|
|
6727
6735
|
}
|
|
6728
6736
|
|
|
@@ -6747,6 +6755,13 @@ class Client(BaseClient):
|
|
|
6747
6755
|
resourceId
|
|
6748
6756
|
additionalMetaData
|
|
6749
6757
|
}
|
|
6758
|
+
|
|
6759
|
+
fragment PageInfoFragment on PageInfo {
|
|
6760
|
+
startCursor
|
|
6761
|
+
endCursor
|
|
6762
|
+
hasNextPage
|
|
6763
|
+
hasPreviousPage
|
|
6764
|
+
}
|
|
6750
6765
|
"""
|
|
6751
6766
|
)
|
|
6752
6767
|
variables: Dict[str, object] = {"input": input}
|
stigg/generated/fragments.py
CHANGED
|
@@ -126,6 +126,38 @@ class PriceFragmentFeature(BaseModel):
|
|
|
126
126
|
description: Optional[str] = Field(default=None)
|
|
127
127
|
|
|
128
128
|
|
|
129
|
+
class OveragePriceFragment(BaseModel):
|
|
130
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
131
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
132
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
133
|
+
billing_country_code: Optional[str] = Field(
|
|
134
|
+
alias="billingCountryCode", default=None
|
|
135
|
+
)
|
|
136
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
137
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
138
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
139
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
143
|
+
amount: float
|
|
144
|
+
currency: Currency
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
148
|
+
pass
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
152
|
+
ref_id: str = Field(alias="refId")
|
|
153
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
154
|
+
feature_units_plural: Optional[str] = Field(
|
|
155
|
+
alias="featureUnitsPlural", default=None
|
|
156
|
+
)
|
|
157
|
+
display_name: str = Field(alias="displayName")
|
|
158
|
+
description: Optional[str] = Field(default=None)
|
|
159
|
+
|
|
160
|
+
|
|
129
161
|
class PackageEntitlementFragment(BaseModel):
|
|
130
162
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
131
163
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -161,38 +193,6 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
161
193
|
)
|
|
162
194
|
|
|
163
195
|
|
|
164
|
-
class OveragePriceFragment(BaseModel):
|
|
165
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
166
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
167
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
168
|
-
billing_country_code: Optional[str] = Field(
|
|
169
|
-
alias="billingCountryCode", default=None
|
|
170
|
-
)
|
|
171
|
-
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
172
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
173
|
-
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
174
|
-
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
class OveragePriceFragmentPrice(BaseModel):
|
|
178
|
-
amount: float
|
|
179
|
-
currency: Currency
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
183
|
-
pass
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
class OveragePriceFragmentFeature(BaseModel):
|
|
187
|
-
ref_id: str = Field(alias="refId")
|
|
188
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
189
|
-
feature_units_plural: Optional[str] = Field(
|
|
190
|
-
alias="featureUnitsPlural", default=None
|
|
191
|
-
)
|
|
192
|
-
display_name: str = Field(alias="displayName")
|
|
193
|
-
description: Optional[str] = Field(default=None)
|
|
194
|
-
|
|
195
|
-
|
|
196
196
|
class AddonFragment(BaseModel):
|
|
197
197
|
id: Any
|
|
198
198
|
ref_id: str = Field(alias="refId")
|
|
@@ -316,45 +316,73 @@ class EntitlementFragmentFeature(FeatureFragment):
|
|
|
316
316
|
pass
|
|
317
317
|
|
|
318
318
|
|
|
319
|
-
class
|
|
319
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
320
|
+
billing_id: str = Field(alias="billingId")
|
|
321
|
+
status: SubscriptionInvoiceStatus
|
|
322
|
+
created_at: Any = Field(alias="createdAt")
|
|
323
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
324
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
325
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
326
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
327
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
328
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
329
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
330
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
331
|
+
alias="billingReason", default=None
|
|
332
|
+
)
|
|
333
|
+
currency: Optional[str] = Field(default=None)
|
|
334
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
335
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
336
|
+
alias="subTotalExcludingTax", default=None
|
|
337
|
+
)
|
|
338
|
+
total: Optional[float] = Field(default=None)
|
|
339
|
+
total_excluding_tax: Optional[float] = Field(
|
|
340
|
+
alias="totalExcludingTax", default=None
|
|
341
|
+
)
|
|
342
|
+
tax: Optional[float] = Field(default=None)
|
|
343
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
344
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
320
348
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
321
349
|
alias="subscriptionScheduleType"
|
|
322
350
|
)
|
|
323
351
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
324
352
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
325
|
-
target_package: Optional["
|
|
353
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
326
354
|
alias="targetPackage", default=None
|
|
327
355
|
)
|
|
328
356
|
schedule_variables: Optional[
|
|
329
357
|
Annotated[
|
|
330
358
|
Union[
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
"
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
"
|
|
337
|
-
"
|
|
338
|
-
"
|
|
359
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
360
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
361
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
362
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
363
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
364
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
365
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
366
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
339
367
|
],
|
|
340
368
|
Field(discriminator="typename__"),
|
|
341
369
|
]
|
|
342
370
|
] = Field(alias="scheduleVariables", default=None)
|
|
343
371
|
|
|
344
372
|
|
|
345
|
-
class
|
|
373
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
346
374
|
id: Any
|
|
347
375
|
ref_id: str = Field(alias="refId")
|
|
348
376
|
display_name: str = Field(alias="displayName")
|
|
349
377
|
|
|
350
378
|
|
|
351
|
-
class
|
|
379
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
352
380
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
353
381
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
354
382
|
new_quantity: float = Field(alias="newQuantity")
|
|
355
383
|
|
|
356
384
|
|
|
357
|
-
class
|
|
385
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
358
386
|
BaseModel
|
|
359
387
|
):
|
|
360
388
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -362,55 +390,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
362
390
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
363
391
|
|
|
364
392
|
|
|
365
|
-
class
|
|
393
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
366
394
|
BaseModel
|
|
367
395
|
):
|
|
368
396
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
369
397
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
370
398
|
|
|
371
399
|
|
|
372
|
-
class
|
|
400
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
373
401
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
374
402
|
|
|
375
403
|
|
|
376
|
-
class
|
|
377
|
-
BaseModel
|
|
378
|
-
):
|
|
404
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
379
405
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
380
406
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
381
407
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
382
408
|
billable_features: Optional[
|
|
383
409
|
List[
|
|
384
|
-
"
|
|
410
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
385
411
|
]
|
|
386
412
|
] = Field(alias="billableFeatures", default=None)
|
|
387
413
|
addons: Optional[
|
|
388
414
|
List[
|
|
389
|
-
"
|
|
415
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
390
416
|
]
|
|
391
417
|
] = Field(default=None)
|
|
392
418
|
price_overrides: Optional[
|
|
393
419
|
List[
|
|
394
|
-
"
|
|
420
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
395
421
|
]
|
|
396
422
|
] = Field(alias="priceOverrides", default=None)
|
|
397
423
|
|
|
398
424
|
|
|
399
|
-
class
|
|
425
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
400
426
|
BaseModel
|
|
401
427
|
):
|
|
402
428
|
feature_id: str = Field(alias="featureId")
|
|
403
429
|
quantity: float
|
|
404
430
|
|
|
405
431
|
|
|
406
|
-
class
|
|
432
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
407
433
|
BaseModel
|
|
408
434
|
):
|
|
409
435
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
410
436
|
quantity: float
|
|
411
437
|
|
|
412
438
|
|
|
413
|
-
class
|
|
439
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
414
440
|
BaseModel
|
|
415
441
|
):
|
|
416
442
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -418,43 +444,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
418
444
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
419
445
|
|
|
420
446
|
|
|
421
|
-
class
|
|
447
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
422
448
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
423
449
|
plan_ref_id: str = Field(alias="planRefId")
|
|
424
450
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
425
451
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
426
452
|
billable_features: Optional[
|
|
427
453
|
List[
|
|
428
|
-
"
|
|
454
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
429
455
|
]
|
|
430
456
|
] = Field(alias="billableFeatures", default=None)
|
|
431
457
|
addons: Optional[
|
|
432
|
-
List[
|
|
433
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
434
|
-
]
|
|
458
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
435
459
|
] = Field(default=None)
|
|
436
460
|
price_overrides: Optional[
|
|
437
461
|
List[
|
|
438
|
-
"
|
|
462
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
439
463
|
]
|
|
440
464
|
] = Field(alias="priceOverrides", default=None)
|
|
441
465
|
|
|
442
466
|
|
|
443
|
-
class
|
|
467
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
444
468
|
BaseModel
|
|
445
469
|
):
|
|
446
470
|
feature_id: str = Field(alias="featureId")
|
|
447
471
|
quantity: float
|
|
448
472
|
|
|
449
473
|
|
|
450
|
-
class
|
|
451
|
-
BaseModel
|
|
452
|
-
):
|
|
474
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
453
475
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
454
476
|
quantity: float
|
|
455
477
|
|
|
456
478
|
|
|
457
|
-
class
|
|
479
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
458
480
|
BaseModel
|
|
459
481
|
):
|
|
460
482
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -462,7 +484,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
462
484
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
463
485
|
|
|
464
486
|
|
|
465
|
-
class
|
|
487
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
466
488
|
BaseModel
|
|
467
489
|
):
|
|
468
490
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -470,14 +492,35 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
470
492
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
471
493
|
|
|
472
494
|
|
|
473
|
-
class
|
|
474
|
-
BaseModel
|
|
475
|
-
):
|
|
495
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
476
496
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
477
497
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
478
498
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
479
499
|
|
|
480
500
|
|
|
501
|
+
class CustomerResourceFragment(BaseModel):
|
|
502
|
+
resource_id: str = Field(alias="resourceId")
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
506
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
class TotalPriceFragment(BaseModel):
|
|
510
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
511
|
+
total: "TotalPriceFragmentTotal"
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
515
|
+
amount: float
|
|
516
|
+
currency: Currency
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
520
|
+
amount: float
|
|
521
|
+
currency: Currency
|
|
522
|
+
|
|
523
|
+
|
|
481
524
|
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
482
525
|
package_group_id: str = Field(alias="packageGroupId")
|
|
483
526
|
display_name: str = Field(alias="displayName")
|
|
@@ -598,49 +641,62 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
598
641
|
limit: float
|
|
599
642
|
|
|
600
643
|
|
|
601
|
-
class
|
|
602
|
-
|
|
644
|
+
class SlimCustomerFragment(BaseModel):
|
|
645
|
+
id: Any
|
|
646
|
+
name: Optional[str] = Field(default=None)
|
|
647
|
+
email: Optional[str] = Field(default=None)
|
|
648
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
649
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
650
|
+
ref_id: str = Field(alias="refId")
|
|
651
|
+
customer_id: str = Field(alias="customerId")
|
|
652
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
653
|
+
additional_meta_data: Optional[Any] = Field(
|
|
654
|
+
alias="additionalMetaData", default=None
|
|
655
|
+
)
|
|
656
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
657
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
658
|
+
)
|
|
603
659
|
|
|
604
660
|
|
|
605
|
-
class
|
|
661
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
606
662
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
607
663
|
alias="subscriptionScheduleType"
|
|
608
664
|
)
|
|
609
665
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
610
666
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
611
|
-
target_package: Optional["
|
|
667
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
612
668
|
alias="targetPackage", default=None
|
|
613
669
|
)
|
|
614
670
|
schedule_variables: Optional[
|
|
615
671
|
Annotated[
|
|
616
672
|
Union[
|
|
617
|
-
"
|
|
618
|
-
"
|
|
619
|
-
"
|
|
620
|
-
"
|
|
621
|
-
"
|
|
622
|
-
"
|
|
623
|
-
"
|
|
624
|
-
"
|
|
673
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
674
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
675
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
676
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
677
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
678
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
679
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
680
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
625
681
|
],
|
|
626
682
|
Field(discriminator="typename__"),
|
|
627
683
|
]
|
|
628
684
|
] = Field(alias="scheduleVariables", default=None)
|
|
629
685
|
|
|
630
686
|
|
|
631
|
-
class
|
|
687
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
632
688
|
id: Any
|
|
633
689
|
ref_id: str = Field(alias="refId")
|
|
634
690
|
display_name: str = Field(alias="displayName")
|
|
635
691
|
|
|
636
692
|
|
|
637
|
-
class
|
|
693
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
638
694
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
639
695
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
640
696
|
new_quantity: float = Field(alias="newQuantity")
|
|
641
697
|
|
|
642
698
|
|
|
643
|
-
class
|
|
699
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
644
700
|
BaseModel
|
|
645
701
|
):
|
|
646
702
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -648,53 +704,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
648
704
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
649
705
|
|
|
650
706
|
|
|
651
|
-
class
|
|
707
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
652
708
|
BaseModel
|
|
653
709
|
):
|
|
654
710
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
655
711
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
656
712
|
|
|
657
713
|
|
|
658
|
-
class
|
|
714
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
659
715
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
660
716
|
|
|
661
717
|
|
|
662
|
-
class
|
|
718
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
719
|
+
BaseModel
|
|
720
|
+
):
|
|
663
721
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
664
722
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
665
723
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
666
724
|
billable_features: Optional[
|
|
667
725
|
List[
|
|
668
|
-
"
|
|
726
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
669
727
|
]
|
|
670
728
|
] = Field(alias="billableFeatures", default=None)
|
|
671
729
|
addons: Optional[
|
|
672
730
|
List[
|
|
673
|
-
"
|
|
731
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
674
732
|
]
|
|
675
733
|
] = Field(default=None)
|
|
676
734
|
price_overrides: Optional[
|
|
677
735
|
List[
|
|
678
|
-
"
|
|
736
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
679
737
|
]
|
|
680
738
|
] = Field(alias="priceOverrides", default=None)
|
|
681
739
|
|
|
682
740
|
|
|
683
|
-
class
|
|
741
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
684
742
|
BaseModel
|
|
685
743
|
):
|
|
686
744
|
feature_id: str = Field(alias="featureId")
|
|
687
745
|
quantity: float
|
|
688
746
|
|
|
689
747
|
|
|
690
|
-
class
|
|
748
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
691
749
|
BaseModel
|
|
692
750
|
):
|
|
693
751
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
694
752
|
quantity: float
|
|
695
753
|
|
|
696
754
|
|
|
697
|
-
class
|
|
755
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
698
756
|
BaseModel
|
|
699
757
|
):
|
|
700
758
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -702,39 +760,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
702
760
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
703
761
|
|
|
704
762
|
|
|
705
|
-
class
|
|
763
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
706
764
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
707
765
|
plan_ref_id: str = Field(alias="planRefId")
|
|
708
766
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
709
767
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
710
768
|
billable_features: Optional[
|
|
711
769
|
List[
|
|
712
|
-
"
|
|
770
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
713
771
|
]
|
|
714
772
|
] = Field(alias="billableFeatures", default=None)
|
|
715
773
|
addons: Optional[
|
|
716
|
-
List[
|
|
774
|
+
List[
|
|
775
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
776
|
+
]
|
|
717
777
|
] = Field(default=None)
|
|
718
778
|
price_overrides: Optional[
|
|
719
779
|
List[
|
|
720
|
-
"
|
|
780
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
721
781
|
]
|
|
722
782
|
] = Field(alias="priceOverrides", default=None)
|
|
723
783
|
|
|
724
784
|
|
|
725
|
-
class
|
|
785
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
726
786
|
BaseModel
|
|
727
787
|
):
|
|
728
788
|
feature_id: str = Field(alias="featureId")
|
|
729
789
|
quantity: float
|
|
730
790
|
|
|
731
791
|
|
|
732
|
-
class
|
|
792
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
793
|
+
BaseModel
|
|
794
|
+
):
|
|
733
795
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
734
796
|
quantity: float
|
|
735
797
|
|
|
736
798
|
|
|
737
|
-
class
|
|
799
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
738
800
|
BaseModel
|
|
739
801
|
):
|
|
740
802
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -742,7 +804,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
742
804
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
743
805
|
|
|
744
806
|
|
|
745
|
-
class
|
|
807
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
746
808
|
BaseModel
|
|
747
809
|
):
|
|
748
810
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -750,76 +812,14 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
750
812
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
751
813
|
|
|
752
814
|
|
|
753
|
-
class
|
|
815
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
816
|
+
BaseModel
|
|
817
|
+
):
|
|
754
818
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
755
819
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
756
820
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
757
821
|
|
|
758
822
|
|
|
759
|
-
class SlimCustomerFragment(BaseModel):
|
|
760
|
-
id: Any
|
|
761
|
-
name: Optional[str] = Field(default=None)
|
|
762
|
-
email: Optional[str] = Field(default=None)
|
|
763
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
764
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
765
|
-
ref_id: str = Field(alias="refId")
|
|
766
|
-
customer_id: str = Field(alias="customerId")
|
|
767
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
768
|
-
additional_meta_data: Optional[Any] = Field(
|
|
769
|
-
alias="additionalMetaData", default=None
|
|
770
|
-
)
|
|
771
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
772
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
773
|
-
)
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
777
|
-
billing_id: str = Field(alias="billingId")
|
|
778
|
-
status: SubscriptionInvoiceStatus
|
|
779
|
-
created_at: Any = Field(alias="createdAt")
|
|
780
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
781
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
782
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
783
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
784
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
785
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
786
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
787
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
788
|
-
alias="billingReason", default=None
|
|
789
|
-
)
|
|
790
|
-
currency: Optional[str] = Field(default=None)
|
|
791
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
792
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
793
|
-
alias="subTotalExcludingTax", default=None
|
|
794
|
-
)
|
|
795
|
-
total: Optional[float] = Field(default=None)
|
|
796
|
-
total_excluding_tax: Optional[float] = Field(
|
|
797
|
-
alias="totalExcludingTax", default=None
|
|
798
|
-
)
|
|
799
|
-
tax: Optional[float] = Field(default=None)
|
|
800
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
801
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
805
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
class TotalPriceFragment(BaseModel):
|
|
809
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
810
|
-
total: "TotalPriceFragmentTotal"
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
814
|
-
amount: float
|
|
815
|
-
currency: Currency
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
819
|
-
amount: float
|
|
820
|
-
currency: Currency
|
|
821
|
-
|
|
822
|
-
|
|
823
823
|
class SubscriptionFragment(BaseModel):
|
|
824
824
|
id: Any
|
|
825
825
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -1006,45 +1006,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1006
1006
|
)
|
|
1007
1007
|
|
|
1008
1008
|
|
|
1009
|
-
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1010
|
-
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1011
|
-
setup_secret: str = Field(alias="setupSecret")
|
|
1012
|
-
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1016
|
-
publishable_key: str = Field(alias="publishableKey")
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1020
|
-
status: PromotionalEntitlementStatus
|
|
1021
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1022
|
-
feature_id: Any = Field(alias="featureId")
|
|
1023
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1024
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1025
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1026
|
-
alias="resetPeriod", default=None
|
|
1027
|
-
)
|
|
1028
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1029
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1030
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1034
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1035
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1036
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1037
|
-
feature_units_plural: Optional[str] = Field(
|
|
1038
|
-
alias="featureUnitsPlural", default=None
|
|
1039
|
-
)
|
|
1040
|
-
display_name: str = Field(alias="displayName")
|
|
1041
|
-
description: Optional[str] = Field(default=None)
|
|
1042
|
-
ref_id: str = Field(alias="refId")
|
|
1043
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1044
|
-
alias="additionalMetaData", default=None
|
|
1045
|
-
)
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
1009
|
class CouponFragment(BaseModel):
|
|
1049
1010
|
id: Any
|
|
1050
1011
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1079,6 +1040,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1079
1040
|
status: SyncStatus
|
|
1080
1041
|
|
|
1081
1042
|
|
|
1043
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1044
|
+
status: PromotionalEntitlementStatus
|
|
1045
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1046
|
+
feature_id: Any = Field(alias="featureId")
|
|
1047
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1048
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1049
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1050
|
+
alias="resetPeriod", default=None
|
|
1051
|
+
)
|
|
1052
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1053
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1054
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1058
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1059
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1060
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1061
|
+
feature_units_plural: Optional[str] = Field(
|
|
1062
|
+
alias="featureUnitsPlural", default=None
|
|
1063
|
+
)
|
|
1064
|
+
display_name: str = Field(alias="displayName")
|
|
1065
|
+
description: Optional[str] = Field(default=None)
|
|
1066
|
+
ref_id: str = Field(alias="refId")
|
|
1067
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1068
|
+
alias="additionalMetaData", default=None
|
|
1069
|
+
)
|
|
1070
|
+
|
|
1071
|
+
|
|
1082
1072
|
class CustomerFragment(SlimCustomerFragment):
|
|
1083
1073
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1084
1074
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1137,6 +1127,16 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1137
1127
|
pass
|
|
1138
1128
|
|
|
1139
1129
|
|
|
1130
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1131
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1135
|
+
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1136
|
+
setup_secret: str = Field(alias="setupSecret")
|
|
1137
|
+
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1138
|
+
|
|
1139
|
+
|
|
1140
1140
|
class CheckoutStateFragment(BaseModel):
|
|
1141
1141
|
configuration: Optional["CheckoutStateFragmentConfiguration"] = Field(default=None)
|
|
1142
1142
|
setup_secret: str = Field(alias="setupSecret")
|
|
@@ -1365,11 +1365,39 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1365
1365
|
pass
|
|
1366
1366
|
|
|
1367
1367
|
|
|
1368
|
-
class
|
|
1369
|
-
|
|
1370
|
-
|
|
1368
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1369
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1370
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1371
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1372
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1373
|
+
default=None
|
|
1374
|
+
)
|
|
1375
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1376
|
+
alias="creditRate", default=None
|
|
1377
|
+
)
|
|
1378
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1379
|
+
default=None
|
|
1380
|
+
)
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1384
|
+
amount: float
|
|
1385
|
+
currency: Currency
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1389
|
+
amount: float
|
|
1390
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1391
|
+
|
|
1392
|
+
|
|
1393
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1394
|
+
id: Any
|
|
1395
|
+
ref_id: str = Field(alias="refId")
|
|
1371
1396
|
display_name: str = Field(alias="displayName")
|
|
1372
|
-
|
|
1397
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1398
|
+
feature_units_plural: Optional[str] = Field(
|
|
1399
|
+
alias="featureUnitsPlural", default=None
|
|
1400
|
+
)
|
|
1373
1401
|
|
|
1374
1402
|
|
|
1375
1403
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
@@ -1541,39 +1569,11 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1541
1569
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1542
1570
|
|
|
1543
1571
|
|
|
1544
|
-
class
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1548
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1549
|
-
default=None
|
|
1550
|
-
)
|
|
1551
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1552
|
-
alias="creditRate", default=None
|
|
1553
|
-
)
|
|
1554
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1555
|
-
default=None
|
|
1556
|
-
)
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1560
|
-
amount: float
|
|
1561
|
-
currency: Currency
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1565
|
-
amount: float
|
|
1566
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1570
|
-
id: Any
|
|
1571
|
-
ref_id: str = Field(alias="refId")
|
|
1572
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1573
|
+
addon_id: str = Field(alias="addonId")
|
|
1574
|
+
description: Optional[str] = Field(default=None)
|
|
1572
1575
|
display_name: str = Field(alias="displayName")
|
|
1573
|
-
|
|
1574
|
-
feature_units_plural: Optional[str] = Field(
|
|
1575
|
-
alias="featureUnitsPlural", default=None
|
|
1576
|
-
)
|
|
1576
|
+
quantity: int
|
|
1577
1577
|
|
|
1578
1578
|
|
|
1579
1579
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
@@ -2973,31 +2973,31 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2973
2973
|
AddonDependencyFragment.model_rebuild()
|
|
2974
2974
|
PriceTierFragment.model_rebuild()
|
|
2975
2975
|
PriceFragment.model_rebuild()
|
|
2976
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2977
2976
|
OveragePriceFragment.model_rebuild()
|
|
2977
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2978
2978
|
AddonFragment.model_rebuild()
|
|
2979
2979
|
FeatureFragment.model_rebuild()
|
|
2980
2980
|
EntitlementFragment.model_rebuild()
|
|
2981
|
-
|
|
2981
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2982
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2983
|
+
CustomerResourceFragment.model_rebuild()
|
|
2984
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2985
|
+
TotalPriceFragment.model_rebuild()
|
|
2982
2986
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2983
2987
|
ProductFragment.model_rebuild()
|
|
2984
2988
|
PlanFragment.model_rebuild()
|
|
2985
|
-
CustomerResourceFragment.model_rebuild()
|
|
2986
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2987
2989
|
SlimCustomerFragment.model_rebuild()
|
|
2988
|
-
|
|
2989
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2990
|
-
TotalPriceFragment.model_rebuild()
|
|
2990
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2991
2991
|
SubscriptionFragment.model_rebuild()
|
|
2992
2992
|
ApplySubscriptionFragment.model_rebuild()
|
|
2993
2993
|
FontVariantFragment.model_rebuild()
|
|
2994
2994
|
TypographyConfigurationFragment.model_rebuild()
|
|
2995
2995
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2996
|
-
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
2997
|
-
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
2998
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2999
2996
|
CouponFragment.model_rebuild()
|
|
2997
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
3000
2998
|
CustomerFragment.model_rebuild()
|
|
2999
|
+
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3000
|
+
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3001
3001
|
CheckoutStateFragment.model_rebuild()
|
|
3002
3002
|
CreditGrantFragment.model_rebuild()
|
|
3003
3003
|
CreditLedgerFragment.model_rebuild()
|
|
@@ -3005,9 +3005,9 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
3005
3005
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
3006
3006
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
3007
3007
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
3008
|
-
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3009
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3010
3008
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3009
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3010
|
+
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3011
3011
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
3012
3012
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3013
3013
|
CustomerPortalFragment.model_rebuild()
|
|
@@ -6,15 +6,31 @@ from typing import List
|
|
|
6
6
|
from stigg._vendors.pydantic import Field
|
|
7
7
|
|
|
8
8
|
from .base_model import BaseModel
|
|
9
|
-
from .fragments import CreditGrantFragment
|
|
9
|
+
from .fragments import CreditGrantFragment, PageInfoFragment
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class GetCreditGrants(BaseModel):
|
|
13
|
-
credit_grants:
|
|
13
|
+
credit_grants: "GetCreditGrantsCreditGrants" = Field(alias="creditGrants")
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
class GetCreditGrantsCreditGrants(
|
|
16
|
+
class GetCreditGrantsCreditGrants(BaseModel):
|
|
17
|
+
page_info: "GetCreditGrantsCreditGrantsPageInfo" = Field(alias="pageInfo")
|
|
18
|
+
edges: List["GetCreditGrantsCreditGrantsEdges"]
|
|
19
|
+
total_count: int = Field(alias="totalCount")
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class GetCreditGrantsCreditGrantsPageInfo(PageInfoFragment):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class GetCreditGrantsCreditGrantsEdges(BaseModel):
|
|
27
|
+
node: "GetCreditGrantsCreditGrantsEdgesNode"
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class GetCreditGrantsCreditGrantsEdgesNode(CreditGrantFragment):
|
|
17
31
|
pass
|
|
18
32
|
|
|
19
33
|
|
|
20
34
|
GetCreditGrants.model_rebuild()
|
|
35
|
+
GetCreditGrantsCreditGrants.model_rebuild()
|
|
36
|
+
GetCreditGrantsCreditGrantsEdges.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -2036,6 +2036,7 @@ class GetCreditGrantsInput(BaseModel):
|
|
|
2036
2036
|
currency_id: Optional[str] = Field(alias="currencyId", default=None)
|
|
2037
2037
|
customer_id: str = Field(alias="customerId")
|
|
2038
2038
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
2039
|
+
paging: Optional["CursorPaging"] = None
|
|
2039
2040
|
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
2040
2041
|
|
|
2041
2042
|
|
|
@@ -106,16 +106,16 @@ 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=hJPBRE5q4CZqiwtAhUQmOey6v5nLBUdO_v2Nlx4VEn4,77470
|
|
110
110
|
stigg/generated/apply_subscription.py,sha256=Vbs-QZZxN16pUpt3Hp7Jvvcc5o_8xwJK9oTLQQjH0ZA,451
|
|
111
111
|
stigg/generated/archive_customer.py,sha256=3N3iBiT2Vvzfb0ckV3o57A6lmJ_ef7JNPaMX_Jtcg6c,396
|
|
112
112
|
stigg/generated/async_base_client.py,sha256=zqd6IhYxpalyA6KQkeGhXgSurC0vXSwSWmSlM2zZ0VM,12593
|
|
113
|
-
stigg/generated/async_client.py,sha256=
|
|
113
|
+
stigg/generated/async_client.py,sha256=S-ETIi3kMgBSQYnlh0f8cnH_8eS0oHEGFTi6BxVSobE,189782
|
|
114
114
|
stigg/generated/base_client.py,sha256=nAto-nOqrOHFTLqdRy2ZDpT1afgsqCzf6hTeBh5MyPQ,6674
|
|
115
115
|
stigg/generated/base_model.py,sha256=0rs99bmZqPbltlPVMfhExeA5zD6ATQFaNZVsxGNonI4,635
|
|
116
116
|
stigg/generated/cancel_subscription.py,sha256=pKrMFmKjGIuWvnVCYQ8brWQO9_JeTnfScgGQjztuN-o,457
|
|
117
117
|
stigg/generated/cancel_subscription_updates.py,sha256=T1C9vyppzZi_91pEnIGkHUL3GEsvtf5EMwr1f01tjbM,241
|
|
118
|
-
stigg/generated/client.py,sha256=
|
|
118
|
+
stigg/generated/client.py,sha256=b5IGQHwt0HoTMFHTfk3jdiTImURYS3E3TJ2dQG0IfWU,189071
|
|
119
119
|
stigg/generated/create_payment_session.py,sha256=VRPT8Bbvb_evFHMav9y_pXWHMVbkRy9csf5SJCCUARk,470
|
|
120
120
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
121
121
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
@@ -124,13 +124,13 @@ stigg/generated/enums.py,sha256=uz0ELcMolFbn8vz4GbOy1HyzaoIrFkGfJ6t9tcyklmA,3901
|
|
|
124
124
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
125
125
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
126
126
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
127
|
-
stigg/generated/fragments.py,sha256=
|
|
127
|
+
stigg/generated/fragments.py,sha256=RAgDixIZsEQtI43gCtxdxwinYgl8o7_aF7zQ5BHQ_O8,108906
|
|
128
128
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
129
129
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
130
130
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
131
131
|
stigg/generated/get_coupons.py,sha256=KiDyZKrIWLlXCORhEfwjZWw6urYALU6Z7dUn-1xc3j4,547
|
|
132
132
|
stigg/generated/get_credit_balance.py,sha256=b7PFYjOneQVXinRSgI2RQr0bvgPNmpGefljo99jZsFQ,468
|
|
133
|
-
stigg/generated/get_credit_grants.py,sha256=
|
|
133
|
+
stigg/generated/get_credit_grants.py,sha256=b7AlrlcuDmbV8flz28PvU40eRnQSCdsfZyp_rFDzOPM,944
|
|
134
134
|
stigg/generated/get_credit_ledger.py,sha256=MKfqQJCQF7ymb0d6cwTafQv6S7WrWg3-TAoKxB7JnD8,583
|
|
135
135
|
stigg/generated/get_customer_by_id.py,sha256=g_7q4ncmz6GH4Tl9fnlRYh-bxG5vHXsf9EDPEbqvdyA,505
|
|
136
136
|
stigg/generated/get_customer_portal_by_ref_id.py,sha256=k_P5_2HA4xlr46s6KRJ3Y4wr5nLBve592BMMKWlWPTM,461
|
|
@@ -152,7 +152,7 @@ stigg/generated/grant_promotional_entitlements_group.py,sha256=iQwCd07VFaYbsN_E-
|
|
|
152
152
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
153
153
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
154
154
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
155
|
-
stigg/generated/input_types.py,sha256=
|
|
155
|
+
stigg/generated/input_types.py,sha256=mLyU1nsabSqWUqiAsO6TG6NPw1LyH31dcaGu1JxEcbQ,213804
|
|
156
156
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
157
157
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
158
158
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -170,7 +170,7 @@ stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9e
|
|
|
170
170
|
stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0LZmDYkRn9mMjZm9n41YG6-p7Z8qU,636
|
|
171
171
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
172
172
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
173
|
-
stigg_api_client_v2-3.
|
|
174
|
-
stigg_api_client_v2-3.
|
|
175
|
-
stigg_api_client_v2-3.
|
|
176
|
-
stigg_api_client_v2-3.
|
|
173
|
+
stigg_api_client_v2-3.93.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
174
|
+
stigg_api_client_v2-3.93.0.dist-info/METADATA,sha256=NiFKme3H8wh77E21IrtMPql8v2dL_ycgL3KpXW1ECtM,2257
|
|
175
|
+
stigg_api_client_v2-3.93.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
176
|
+
stigg_api_client_v2-3.93.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|