stigg-api-client-v2 3.122.0__py3-none-any.whl → 3.124.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/enums.py +1 -0
- stigg/generated/fragments.py +397 -397
- {stigg_api_client_v2-3.122.0.dist-info → stigg_api_client_v2-3.124.1.dist-info}/METADATA +2 -2
- {stigg_api_client_v2-3.122.0.dist-info → stigg_api_client_v2-3.124.1.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-3.122.0.dist-info → stigg_api_client_v2-3.124.1.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.122.0.dist-info → stigg_api_client_v2-3.124.1.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -731,6 +731,7 @@ class EventLogType(str, Enum):
|
|
|
731
731
|
PRODUCT_CREATED = "PRODUCT_CREATED"
|
|
732
732
|
PRODUCT_DELETED = "PRODUCT_DELETED"
|
|
733
733
|
PRODUCT_UPDATED = "PRODUCT_UPDATED"
|
|
734
|
+
PROMOTIONAL_ENTITLEMENT_ENDS_SOON = "PROMOTIONAL_ENTITLEMENT_ENDS_SOON"
|
|
734
735
|
PROMOTIONAL_ENTITLEMENT_EXPIRED = "PROMOTIONAL_ENTITLEMENT_EXPIRED"
|
|
735
736
|
PROMOTIONAL_ENTITLEMENT_GRANTED = "PROMOTIONAL_ENTITLEMENT_GRANTED"
|
|
736
737
|
PROMOTIONAL_ENTITLEMENT_REVOKED = "PROMOTIONAL_ENTITLEMENT_REVOKED"
|
stigg/generated/fragments.py
CHANGED
|
@@ -82,38 +82,6 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
82
82
|
currency: Currency
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
class OveragePriceFragment(BaseModel):
|
|
86
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
87
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
88
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
89
|
-
billing_country_code: Optional[str] = Field(
|
|
90
|
-
alias="billingCountryCode", default=None
|
|
91
|
-
)
|
|
92
|
-
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
93
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
94
|
-
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
95
|
-
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
class OveragePriceFragmentPrice(BaseModel):
|
|
99
|
-
amount: float
|
|
100
|
-
currency: Currency
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
104
|
-
pass
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
class OveragePriceFragmentFeature(BaseModel):
|
|
108
|
-
ref_id: str = Field(alias="refId")
|
|
109
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
110
|
-
feature_units_plural: Optional[str] = Field(
|
|
111
|
-
alias="featureUnitsPlural", default=None
|
|
112
|
-
)
|
|
113
|
-
display_name: str = Field(alias="displayName")
|
|
114
|
-
description: Optional[str] = Field(default=None)
|
|
115
|
-
|
|
116
|
-
|
|
117
85
|
class PriceFragment(BaseModel):
|
|
118
86
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
119
87
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -194,6 +162,38 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
194
162
|
)
|
|
195
163
|
|
|
196
164
|
|
|
165
|
+
class OveragePriceFragment(BaseModel):
|
|
166
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
167
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
168
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
169
|
+
billing_country_code: Optional[str] = Field(
|
|
170
|
+
alias="billingCountryCode", default=None
|
|
171
|
+
)
|
|
172
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
173
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
174
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
175
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
179
|
+
amount: float
|
|
180
|
+
currency: Currency
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
184
|
+
pass
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
188
|
+
ref_id: str = Field(alias="refId")
|
|
189
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
190
|
+
feature_units_plural: Optional[str] = Field(
|
|
191
|
+
alias="featureUnitsPlural", default=None
|
|
192
|
+
)
|
|
193
|
+
display_name: str = Field(alias="displayName")
|
|
194
|
+
description: Optional[str] = Field(default=None)
|
|
195
|
+
|
|
196
|
+
|
|
197
197
|
class AddonFragment(BaseModel):
|
|
198
198
|
id: Any
|
|
199
199
|
ref_id: str = Field(alias="refId")
|
|
@@ -232,130 +232,217 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
232
232
|
pass
|
|
233
233
|
|
|
234
234
|
|
|
235
|
-
class
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
239
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
240
|
-
feature_units_plural: Optional[str] = Field(
|
|
241
|
-
alias="featureUnitsPlural", default=None
|
|
242
|
-
)
|
|
243
|
-
description: Optional[str] = Field(default=None)
|
|
244
|
-
display_name: str = Field(alias="displayName")
|
|
245
|
-
ref_id: str = Field(alias="refId")
|
|
246
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
247
|
-
alias="unitTransformation", default=None
|
|
248
|
-
)
|
|
235
|
+
class TotalPriceFragment(BaseModel):
|
|
236
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
237
|
+
total: "TotalPriceFragmentTotal"
|
|
249
238
|
|
|
250
239
|
|
|
251
|
-
class
|
|
252
|
-
|
|
253
|
-
|
|
240
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
241
|
+
amount: float
|
|
242
|
+
currency: Currency
|
|
254
243
|
|
|
255
244
|
|
|
256
|
-
class
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
265
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
266
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
267
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
268
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
269
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
270
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
271
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
272
|
-
alias="entitlementUpdatedAt", default=None
|
|
245
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
246
|
+
amount: float
|
|
247
|
+
currency: Currency
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
251
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
252
|
+
alias="subscriptionScheduleType"
|
|
273
253
|
)
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
279
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
280
|
-
alias="resetPeriod", default=None
|
|
254
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
255
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
256
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
257
|
+
alias="targetPackage", default=None
|
|
281
258
|
)
|
|
282
|
-
|
|
259
|
+
schedule_variables: Optional[
|
|
283
260
|
Annotated[
|
|
284
261
|
Union[
|
|
285
|
-
"
|
|
286
|
-
"
|
|
287
|
-
"
|
|
262
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
263
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
264
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
265
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
266
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
267
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
268
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
269
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
288
270
|
],
|
|
289
271
|
Field(discriminator="typename__"),
|
|
290
272
|
]
|
|
291
|
-
] = Field(alias="
|
|
292
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
293
|
-
credit_rate: Optional["EntitlementFragmentCreditRate"] = Field(
|
|
294
|
-
alias="creditRate", default=None
|
|
295
|
-
)
|
|
296
|
-
valid_until: Optional[float] = Field(alias="validUntil", default=None)
|
|
273
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
297
274
|
|
|
298
275
|
|
|
299
|
-
class
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
)
|
|
276
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
277
|
+
id: Any
|
|
278
|
+
ref_id: str = Field(alias="refId")
|
|
279
|
+
display_name: str = Field(alias="displayName")
|
|
304
280
|
|
|
305
281
|
|
|
306
|
-
class
|
|
307
|
-
typename__: Literal["
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
)
|
|
282
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
283
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
284
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
285
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
311
286
|
|
|
312
287
|
|
|
313
|
-
class
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
)
|
|
288
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
289
|
+
BaseModel
|
|
290
|
+
):
|
|
291
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
292
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
293
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
318
294
|
|
|
319
295
|
|
|
320
|
-
class
|
|
321
|
-
|
|
296
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
297
|
+
BaseModel
|
|
298
|
+
):
|
|
299
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
300
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
322
301
|
|
|
323
302
|
|
|
324
|
-
class
|
|
325
|
-
|
|
326
|
-
currency_id: str = Field(alias="currencyId")
|
|
303
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
304
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
327
305
|
|
|
328
306
|
|
|
329
|
-
class
|
|
330
|
-
|
|
331
|
-
|
|
307
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
308
|
+
BaseModel
|
|
309
|
+
):
|
|
310
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
311
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
312
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
313
|
+
billable_features: Optional[
|
|
314
|
+
List[
|
|
315
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
316
|
+
]
|
|
317
|
+
] = Field(alias="billableFeatures", default=None)
|
|
318
|
+
addons: Optional[
|
|
319
|
+
List[
|
|
320
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
321
|
+
]
|
|
322
|
+
] = Field(default=None)
|
|
323
|
+
price_overrides: Optional[
|
|
324
|
+
List[
|
|
325
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
326
|
+
]
|
|
327
|
+
] = Field(alias="priceOverrides", default=None)
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
331
|
+
BaseModel
|
|
332
|
+
):
|
|
333
|
+
feature_id: str = Field(alias="featureId")
|
|
334
|
+
quantity: float
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
338
|
+
BaseModel
|
|
339
|
+
):
|
|
340
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
341
|
+
quantity: float
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
345
|
+
BaseModel
|
|
346
|
+
):
|
|
347
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
348
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
349
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
353
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
354
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
355
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
356
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
357
|
+
billable_features: Optional[
|
|
358
|
+
List[
|
|
359
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
360
|
+
]
|
|
361
|
+
] = Field(alias="billableFeatures", default=None)
|
|
362
|
+
addons: Optional[
|
|
363
|
+
List[
|
|
364
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
365
|
+
]
|
|
366
|
+
] = Field(default=None)
|
|
367
|
+
price_overrides: Optional[
|
|
368
|
+
List[
|
|
369
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
370
|
+
]
|
|
371
|
+
] = Field(alias="priceOverrides", default=None)
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
375
|
+
BaseModel
|
|
376
|
+
):
|
|
377
|
+
feature_id: str = Field(alias="featureId")
|
|
378
|
+
quantity: float
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
382
|
+
BaseModel
|
|
383
|
+
):
|
|
384
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
385
|
+
quantity: float
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
389
|
+
BaseModel
|
|
390
|
+
):
|
|
391
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
392
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
393
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
397
|
+
BaseModel
|
|
398
|
+
):
|
|
399
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
400
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
401
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
332
402
|
|
|
333
403
|
|
|
334
|
-
class
|
|
335
|
-
|
|
336
|
-
|
|
404
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
405
|
+
BaseModel
|
|
406
|
+
):
|
|
407
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
408
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
409
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
337
410
|
|
|
338
411
|
|
|
339
|
-
class
|
|
340
|
-
|
|
341
|
-
currency: Currency
|
|
412
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
413
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
342
414
|
|
|
343
415
|
|
|
344
|
-
class
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
416
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
417
|
+
billing_id: str = Field(alias="billingId")
|
|
418
|
+
status: SubscriptionInvoiceStatus
|
|
419
|
+
created_at: Any = Field(alias="createdAt")
|
|
420
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
349
421
|
updated_at: Any = Field(alias="updatedAt")
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
422
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
423
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
424
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
425
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
426
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
427
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
428
|
+
alias="billingReason", default=None
|
|
355
429
|
)
|
|
356
|
-
|
|
357
|
-
|
|
430
|
+
currency: Optional[str] = Field(default=None)
|
|
431
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
432
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
433
|
+
alias="subTotalExcludingTax", default=None
|
|
434
|
+
)
|
|
435
|
+
total: Optional[float] = Field(default=None)
|
|
436
|
+
total_excluding_tax: Optional[float] = Field(
|
|
437
|
+
alias="totalExcludingTax", default=None
|
|
358
438
|
)
|
|
439
|
+
tax: Optional[float] = Field(default=None)
|
|
440
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
441
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
class CustomerResourceFragment(BaseModel):
|
|
445
|
+
resource_id: str = Field(alias="resourceId")
|
|
359
446
|
|
|
360
447
|
|
|
361
448
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
@@ -632,202 +719,21 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
632
719
|
limit: float
|
|
633
720
|
|
|
634
721
|
|
|
635
|
-
class
|
|
636
|
-
resource_id: str = Field(alias="resourceId")
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
640
|
-
billing_id: str = Field(alias="billingId")
|
|
641
|
-
status: SubscriptionInvoiceStatus
|
|
642
|
-
created_at: Any = Field(alias="createdAt")
|
|
643
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
644
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
645
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
646
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
647
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
648
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
649
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
650
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
651
|
-
alias="billingReason", default=None
|
|
652
|
-
)
|
|
653
|
-
currency: Optional[str] = Field(default=None)
|
|
654
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
655
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
656
|
-
alias="subTotalExcludingTax", default=None
|
|
657
|
-
)
|
|
658
|
-
total: Optional[float] = Field(default=None)
|
|
659
|
-
total_excluding_tax: Optional[float] = Field(
|
|
660
|
-
alias="totalExcludingTax", default=None
|
|
661
|
-
)
|
|
662
|
-
tax: Optional[float] = Field(default=None)
|
|
663
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
664
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
668
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
class SubscriptionScheduledUpdateData(BaseModel):
|
|
672
|
-
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
673
|
-
alias="subscriptionScheduleType"
|
|
674
|
-
)
|
|
675
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
676
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
677
|
-
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
678
|
-
alias="targetPackage", default=None
|
|
679
|
-
)
|
|
680
|
-
schedule_variables: Optional[
|
|
681
|
-
Annotated[
|
|
682
|
-
Union[
|
|
683
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
684
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
685
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
686
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
687
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
688
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
689
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
690
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
691
|
-
],
|
|
692
|
-
Field(discriminator="typename__"),
|
|
693
|
-
]
|
|
694
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
722
|
+
class SlimCustomerFragment(BaseModel):
|
|
698
723
|
id: Any
|
|
724
|
+
name: Optional[str] = Field(default=None)
|
|
725
|
+
email: Optional[str] = Field(default=None)
|
|
726
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
727
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
699
728
|
ref_id: str = Field(alias="refId")
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
710
|
-
BaseModel
|
|
711
|
-
):
|
|
712
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
713
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
714
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
718
|
-
BaseModel
|
|
719
|
-
):
|
|
720
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
721
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
725
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
729
|
-
BaseModel
|
|
730
|
-
):
|
|
731
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
732
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
733
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
734
|
-
billable_features: Optional[
|
|
735
|
-
List[
|
|
736
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
737
|
-
]
|
|
738
|
-
] = Field(alias="billableFeatures", default=None)
|
|
739
|
-
addons: Optional[
|
|
740
|
-
List[
|
|
741
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
742
|
-
]
|
|
743
|
-
] = Field(default=None)
|
|
744
|
-
price_overrides: Optional[
|
|
745
|
-
List[
|
|
746
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
747
|
-
]
|
|
748
|
-
] = Field(alias="priceOverrides", default=None)
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
752
|
-
BaseModel
|
|
753
|
-
):
|
|
754
|
-
feature_id: str = Field(alias="featureId")
|
|
755
|
-
quantity: float
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
759
|
-
BaseModel
|
|
760
|
-
):
|
|
761
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
762
|
-
quantity: float
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
766
|
-
BaseModel
|
|
767
|
-
):
|
|
768
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
769
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
770
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
774
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
775
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
776
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
777
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
778
|
-
billable_features: Optional[
|
|
779
|
-
List[
|
|
780
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
781
|
-
]
|
|
782
|
-
] = Field(alias="billableFeatures", default=None)
|
|
783
|
-
addons: Optional[
|
|
784
|
-
List[
|
|
785
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
786
|
-
]
|
|
787
|
-
] = Field(default=None)
|
|
788
|
-
price_overrides: Optional[
|
|
789
|
-
List[
|
|
790
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
791
|
-
]
|
|
792
|
-
] = Field(alias="priceOverrides", default=None)
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
796
|
-
BaseModel
|
|
797
|
-
):
|
|
798
|
-
feature_id: str = Field(alias="featureId")
|
|
799
|
-
quantity: float
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
803
|
-
BaseModel
|
|
804
|
-
):
|
|
805
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
806
|
-
quantity: float
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
810
|
-
BaseModel
|
|
811
|
-
):
|
|
812
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
813
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
814
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
818
|
-
BaseModel
|
|
819
|
-
):
|
|
820
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
821
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
822
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
826
|
-
BaseModel
|
|
827
|
-
):
|
|
828
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
829
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
830
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
729
|
+
customer_id: str = Field(alias="customerId")
|
|
730
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
731
|
+
additional_meta_data: Optional[Any] = Field(
|
|
732
|
+
alias="additionalMetaData", default=None
|
|
733
|
+
)
|
|
734
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
735
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
736
|
+
)
|
|
831
737
|
|
|
832
738
|
|
|
833
739
|
class SubscriptionFragment(BaseModel):
|
|
@@ -939,6 +845,100 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
939
845
|
pass
|
|
940
846
|
|
|
941
847
|
|
|
848
|
+
class FeatureFragment(BaseModel):
|
|
849
|
+
typename__: str = Field(alias="__typename")
|
|
850
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
851
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
852
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
853
|
+
feature_units_plural: Optional[str] = Field(
|
|
854
|
+
alias="featureUnitsPlural", default=None
|
|
855
|
+
)
|
|
856
|
+
description: Optional[str] = Field(default=None)
|
|
857
|
+
display_name: str = Field(alias="displayName")
|
|
858
|
+
ref_id: str = Field(alias="refId")
|
|
859
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
860
|
+
alias="unitTransformation", default=None
|
|
861
|
+
)
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
865
|
+
divide: float
|
|
866
|
+
round: UnitTransformationRound
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
class EntitlementFragment(BaseModel):
|
|
870
|
+
typename__: str = Field(alias="__typename")
|
|
871
|
+
is_granted: bool = Field(alias="isGranted")
|
|
872
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
873
|
+
alias="accessDeniedReason", default=None
|
|
874
|
+
)
|
|
875
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
876
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
877
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
878
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
879
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
880
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
881
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
882
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
883
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
884
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
885
|
+
alias="entitlementUpdatedAt", default=None
|
|
886
|
+
)
|
|
887
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
888
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
889
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
890
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
891
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
892
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
893
|
+
alias="resetPeriod", default=None
|
|
894
|
+
)
|
|
895
|
+
reset_period_configuration: Optional[
|
|
896
|
+
Annotated[
|
|
897
|
+
Union[
|
|
898
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
899
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
900
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
901
|
+
],
|
|
902
|
+
Field(discriminator="typename__"),
|
|
903
|
+
]
|
|
904
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
905
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
906
|
+
credit_rate: Optional["EntitlementFragmentCreditRate"] = Field(
|
|
907
|
+
alias="creditRate", default=None
|
|
908
|
+
)
|
|
909
|
+
valid_until: Optional[float] = Field(alias="validUntil", default=None)
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
913
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
914
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
915
|
+
alias="monthlyAccordingTo", default=None
|
|
916
|
+
)
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
920
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
921
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
922
|
+
alias="weeklyAccordingTo", default=None
|
|
923
|
+
)
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
927
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
928
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
929
|
+
alias="yearlyAccordingTo", default=None
|
|
930
|
+
)
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
934
|
+
pass
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
class EntitlementFragmentCreditRate(BaseModel):
|
|
938
|
+
amount: float
|
|
939
|
+
currency_id: str = Field(alias="currencyId")
|
|
940
|
+
|
|
941
|
+
|
|
942
942
|
class ApplySubscriptionFragment(BaseModel):
|
|
943
943
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
944
944
|
default=None
|
|
@@ -1016,6 +1016,35 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1016
1016
|
)
|
|
1017
1017
|
|
|
1018
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
|
+
|
|
1019
1048
|
class CouponFragment(BaseModel):
|
|
1020
1049
|
id: Any
|
|
1021
1050
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1050,35 +1079,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1050
1079
|
status: SyncStatus
|
|
1051
1080
|
|
|
1052
1081
|
|
|
1053
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1054
|
-
status: PromotionalEntitlementStatus
|
|
1055
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1056
|
-
feature_id: Any = Field(alias="featureId")
|
|
1057
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1058
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1059
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1060
|
-
alias="resetPeriod", default=None
|
|
1061
|
-
)
|
|
1062
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1063
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1064
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1068
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1069
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1070
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1071
|
-
feature_units_plural: Optional[str] = Field(
|
|
1072
|
-
alias="featureUnitsPlural", default=None
|
|
1073
|
-
)
|
|
1074
|
-
display_name: str = Field(alias="displayName")
|
|
1075
|
-
description: Optional[str] = Field(default=None)
|
|
1076
|
-
ref_id: str = Field(alias="refId")
|
|
1077
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1078
|
-
alias="additionalMetaData", default=None
|
|
1079
|
-
)
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
1082
|
class CustomerFragment(SlimCustomerFragment):
|
|
1083
1083
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1084
1084
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1137,16 +1137,16 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1137
1137
|
pass
|
|
1138
1138
|
|
|
1139
1139
|
|
|
1140
|
-
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1141
|
-
publishable_key: str = Field(alias="publishableKey")
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
1140
|
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1145
1141
|
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1146
1142
|
setup_secret: str = Field(alias="setupSecret")
|
|
1147
1143
|
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1148
1144
|
|
|
1149
1145
|
|
|
1146
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1147
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
1150
|
class CheckoutStateFragment(BaseModel):
|
|
1151
1151
|
configuration: Optional["CheckoutStateFragmentConfiguration"] = Field(default=None)
|
|
1152
1152
|
setup_secret: str = Field(alias="setupSecret")
|
|
@@ -1445,41 +1445,6 @@ class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
|
1445
1445
|
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1446
1446
|
|
|
1447
1447
|
|
|
1448
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1449
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1450
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1451
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1452
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1453
|
-
default=None
|
|
1454
|
-
)
|
|
1455
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1456
|
-
alias="creditRate", default=None
|
|
1457
|
-
)
|
|
1458
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1459
|
-
default=None
|
|
1460
|
-
)
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1464
|
-
amount: float
|
|
1465
|
-
currency: Currency
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1469
|
-
amount: float
|
|
1470
|
-
currency_id: str = Field(alias="currencyId")
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1474
|
-
id: Any
|
|
1475
|
-
ref_id: str = Field(alias="refId")
|
|
1476
|
-
display_name: str = Field(alias="displayName")
|
|
1477
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1478
|
-
feature_units_plural: Optional[str] = Field(
|
|
1479
|
-
alias="featureUnitsPlural", default=None
|
|
1480
|
-
)
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
1448
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1484
1449
|
addon_id: str = Field(alias="addonId")
|
|
1485
1450
|
description: Optional[str] = Field(default=None)
|
|
@@ -1656,6 +1621,41 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1656
1621
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1657
1622
|
|
|
1658
1623
|
|
|
1624
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1625
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1626
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1627
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1628
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1629
|
+
default=None
|
|
1630
|
+
)
|
|
1631
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1632
|
+
alias="creditRate", default=None
|
|
1633
|
+
)
|
|
1634
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1635
|
+
default=None
|
|
1636
|
+
)
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1640
|
+
amount: float
|
|
1641
|
+
currency: Currency
|
|
1642
|
+
|
|
1643
|
+
|
|
1644
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1645
|
+
amount: float
|
|
1646
|
+
currency_id: str = Field(alias="currencyId")
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1650
|
+
id: Any
|
|
1651
|
+
ref_id: str = Field(alias="refId")
|
|
1652
|
+
display_name: str = Field(alias="displayName")
|
|
1653
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1654
|
+
feature_units_plural: Optional[str] = Field(
|
|
1655
|
+
alias="featureUnitsPlural", default=None
|
|
1656
|
+
)
|
|
1657
|
+
|
|
1658
|
+
|
|
1659
1659
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1660
1660
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1661
1661
|
plan_id: str = Field(alias="planId")
|
|
@@ -3042,32 +3042,32 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
3042
3042
|
|
|
3043
3043
|
AddonDependencyFragment.model_rebuild()
|
|
3044
3044
|
PriceTierFragment.model_rebuild()
|
|
3045
|
-
OveragePriceFragment.model_rebuild()
|
|
3046
3045
|
PriceFragment.model_rebuild()
|
|
3047
3046
|
PackageEntitlementFragment.model_rebuild()
|
|
3047
|
+
OveragePriceFragment.model_rebuild()
|
|
3048
3048
|
AddonFragment.model_rebuild()
|
|
3049
|
-
FeatureFragment.model_rebuild()
|
|
3050
|
-
EntitlementFragment.model_rebuild()
|
|
3051
3049
|
TotalPriceFragment.model_rebuild()
|
|
3052
|
-
|
|
3050
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3051
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3052
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
3053
|
+
CustomerResourceFragment.model_rebuild()
|
|
3053
3054
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
3054
3055
|
ProductFragment.model_rebuild()
|
|
3055
3056
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3056
3057
|
PlanFragment.model_rebuild()
|
|
3057
|
-
|
|
3058
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
3059
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3060
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3058
|
+
SlimCustomerFragment.model_rebuild()
|
|
3061
3059
|
SubscriptionFragment.model_rebuild()
|
|
3060
|
+
FeatureFragment.model_rebuild()
|
|
3061
|
+
EntitlementFragment.model_rebuild()
|
|
3062
3062
|
ApplySubscriptionFragment.model_rebuild()
|
|
3063
3063
|
FontVariantFragment.model_rebuild()
|
|
3064
3064
|
TypographyConfigurationFragment.model_rebuild()
|
|
3065
3065
|
CheckoutConfigurationFragment.model_rebuild()
|
|
3066
|
-
CouponFragment.model_rebuild()
|
|
3067
3066
|
PromotionalEntitlementFragment.model_rebuild()
|
|
3067
|
+
CouponFragment.model_rebuild()
|
|
3068
3068
|
CustomerFragment.model_rebuild()
|
|
3069
|
-
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3070
3069
|
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3070
|
+
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3071
3071
|
CheckoutStateFragment.model_rebuild()
|
|
3072
3072
|
CreditBalanceFragment.model_rebuild()
|
|
3073
3073
|
CreditBalanceUpdatedPayload.model_rebuild()
|
|
@@ -3080,9 +3080,9 @@ CustomerPortalBillingInformationFragment.model_rebuild()
|
|
|
3080
3080
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
3081
3081
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
3082
3082
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3083
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3084
3083
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3085
3084
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3085
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3086
3086
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
3087
3087
|
CustomerPortalFragment.model_rebuild()
|
|
3088
3088
|
CustomerStatisticsFragment.model_rebuild()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: stigg-api-client-v2
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.124.1
|
|
4
4
|
Summary:
|
|
5
5
|
License: STIGG SDK LICENSE
|
|
6
6
|
Author: Stigg
|
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
14
|
Requires-Dist: annotated-types (>=0.6)
|
|
15
15
|
Requires-Dist: httpx (>=0.23)
|
|
16
|
-
Requires-Dist: pydantic-core (>=2.16)
|
|
16
|
+
Requires-Dist: pydantic-core (>=2.16,<2.17)
|
|
17
17
|
Requires-Dist: tenacity (>=8.2.2,<9.0.0)
|
|
18
18
|
Description-Content-Type: text/markdown
|
|
19
19
|
|
|
@@ -120,11 +120,11 @@ stigg/generated/create_payment_session.py,sha256=VRPT8Bbvb_evFHMav9y_pXWHMVbkRy9
|
|
|
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
|
|
122
122
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
123
|
-
stigg/generated/enums.py,sha256=
|
|
123
|
+
stigg/generated/enums.py,sha256=yOboGgUVS7wmn812LV-fgQh478Ry3VtuFFl7G5cZe4U,40139
|
|
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=4TuI0y8lH4hyst_uohQzYRY_ekVYKBk3cSDgXm-axrk,111377
|
|
128
128
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
129
129
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
130
130
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -172,7 +172,7 @@ stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0L
|
|
|
172
172
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
173
173
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
174
174
|
stigg/generated/void_credit_grant.py,sha256=uQ22Xb2vwMOJfqh48GU2fhZ6Dcv9nHNIx_UJpjmJSBU,410
|
|
175
|
-
stigg_api_client_v2-3.
|
|
176
|
-
stigg_api_client_v2-3.
|
|
177
|
-
stigg_api_client_v2-3.
|
|
178
|
-
stigg_api_client_v2-3.
|
|
175
|
+
stigg_api_client_v2-3.124.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
176
|
+
stigg_api_client_v2-3.124.1.dist-info/METADATA,sha256=YxbStX3JSy2zYbj_MdaZ75LKGHbDNw3YX0J5vyCQyDA,2264
|
|
177
|
+
stigg_api_client_v2-3.124.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
178
|
+
stigg_api_client_v2-3.124.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|