stigg-api-client-v2 3.62.0__py3-none-any.whl → 3.65.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/fragments.py +363 -363
- stigg/generated/input_types.py +4 -3
- {stigg_api_client_v2-3.62.0.dist-info → stigg_api_client_v2-3.65.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.62.0.dist-info → stigg_api_client_v2-3.65.0.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-3.62.0.dist-info → stigg_api_client_v2-3.65.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.62.0.dist-info → stigg_api_client_v2-3.65.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -116,29 +116,41 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
116
116
|
currency: Currency
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
class
|
|
119
|
+
class PriceFragment(BaseModel):
|
|
120
120
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
121
121
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
122
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
122
123
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
124
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
125
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
123
126
|
billing_country_code: Optional[str] = Field(
|
|
124
127
|
alias="billingCountryCode", default=None
|
|
125
128
|
)
|
|
126
|
-
price: Optional["
|
|
129
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
130
|
+
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
131
|
+
alias="creditRate", default=None
|
|
132
|
+
)
|
|
127
133
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
128
|
-
tiers: Optional[List["
|
|
129
|
-
feature: Optional["
|
|
134
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
135
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
136
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
130
137
|
|
|
131
138
|
|
|
132
|
-
class
|
|
139
|
+
class PriceFragmentPrice(BaseModel):
|
|
133
140
|
amount: float
|
|
134
141
|
currency: Currency
|
|
135
142
|
|
|
136
143
|
|
|
137
|
-
class
|
|
144
|
+
class PriceFragmentCreditRate(BaseModel):
|
|
145
|
+
amount: float
|
|
146
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
138
150
|
pass
|
|
139
151
|
|
|
140
152
|
|
|
141
|
-
class
|
|
153
|
+
class PriceFragmentFeature(BaseModel):
|
|
142
154
|
ref_id: str = Field(alias="refId")
|
|
143
155
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
144
156
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -148,41 +160,29 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
148
160
|
description: Optional[str] = Field(default=None)
|
|
149
161
|
|
|
150
162
|
|
|
151
|
-
class
|
|
163
|
+
class OveragePriceFragment(BaseModel):
|
|
152
164
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
153
165
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
154
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
155
166
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
156
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
157
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
158
167
|
billing_country_code: Optional[str] = Field(
|
|
159
168
|
alias="billingCountryCode", default=None
|
|
160
169
|
)
|
|
161
|
-
price: Optional["
|
|
162
|
-
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
163
|
-
alias="creditRate", default=None
|
|
164
|
-
)
|
|
170
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
165
171
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
166
|
-
tiers: Optional[List["
|
|
167
|
-
feature: Optional["
|
|
168
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
172
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
173
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
169
174
|
|
|
170
175
|
|
|
171
|
-
class
|
|
176
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
172
177
|
amount: float
|
|
173
178
|
currency: Currency
|
|
174
179
|
|
|
175
180
|
|
|
176
|
-
class
|
|
177
|
-
amount: float
|
|
178
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
class PriceFragmentTiers(PriceTierFragment):
|
|
181
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
182
182
|
pass
|
|
183
183
|
|
|
184
184
|
|
|
185
|
-
class
|
|
185
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
186
186
|
ref_id: str = Field(alias="refId")
|
|
187
187
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
188
188
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -247,219 +247,10 @@ class SlimCustomerFragment(BaseModel):
|
|
|
247
247
|
)
|
|
248
248
|
|
|
249
249
|
|
|
250
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
251
|
-
billing_id: str = Field(alias="billingId")
|
|
252
|
-
status: SubscriptionInvoiceStatus
|
|
253
|
-
created_at: Any = Field(alias="createdAt")
|
|
254
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
255
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
256
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
257
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
258
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
259
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
260
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
261
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
262
|
-
alias="billingReason", default=None
|
|
263
|
-
)
|
|
264
|
-
currency: Optional[str] = Field(default=None)
|
|
265
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
266
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
267
|
-
alias="subTotalExcludingTax", default=None
|
|
268
|
-
)
|
|
269
|
-
total: Optional[float] = Field(default=None)
|
|
270
|
-
total_excluding_tax: Optional[float] = Field(
|
|
271
|
-
alias="totalExcludingTax", default=None
|
|
272
|
-
)
|
|
273
|
-
tax: Optional[float] = Field(default=None)
|
|
274
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
275
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
276
|
-
|
|
277
|
-
|
|
278
250
|
class CustomerResourceFragment(BaseModel):
|
|
279
251
|
resource_id: str = Field(alias="resourceId")
|
|
280
252
|
|
|
281
253
|
|
|
282
|
-
class SubscriptionScheduledUpdateData(BaseModel):
|
|
283
|
-
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
284
|
-
alias="subscriptionScheduleType"
|
|
285
|
-
)
|
|
286
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
287
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
288
|
-
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
289
|
-
alias="targetPackage", default=None
|
|
290
|
-
)
|
|
291
|
-
schedule_variables: Optional[
|
|
292
|
-
Annotated[
|
|
293
|
-
Union[
|
|
294
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
295
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
296
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
297
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
298
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
299
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
300
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
301
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
302
|
-
],
|
|
303
|
-
Field(discriminator="typename__"),
|
|
304
|
-
]
|
|
305
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
309
|
-
id: Any
|
|
310
|
-
ref_id: str = Field(alias="refId")
|
|
311
|
-
display_name: str = Field(alias="displayName")
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
315
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
316
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
317
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
321
|
-
BaseModel
|
|
322
|
-
):
|
|
323
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
324
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
325
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
329
|
-
BaseModel
|
|
330
|
-
):
|
|
331
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
332
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
336
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
340
|
-
BaseModel
|
|
341
|
-
):
|
|
342
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
343
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
344
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
345
|
-
billable_features: Optional[
|
|
346
|
-
List[
|
|
347
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
348
|
-
]
|
|
349
|
-
] = Field(alias="billableFeatures", default=None)
|
|
350
|
-
addons: Optional[
|
|
351
|
-
List[
|
|
352
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
353
|
-
]
|
|
354
|
-
] = Field(default=None)
|
|
355
|
-
price_overrides: Optional[
|
|
356
|
-
List[
|
|
357
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
358
|
-
]
|
|
359
|
-
] = Field(alias="priceOverrides", default=None)
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
363
|
-
BaseModel
|
|
364
|
-
):
|
|
365
|
-
feature_id: str = Field(alias="featureId")
|
|
366
|
-
quantity: float
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
370
|
-
BaseModel
|
|
371
|
-
):
|
|
372
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
373
|
-
quantity: float
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
377
|
-
BaseModel
|
|
378
|
-
):
|
|
379
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
380
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
381
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
385
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
386
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
387
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
388
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
389
|
-
billable_features: Optional[
|
|
390
|
-
List[
|
|
391
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
392
|
-
]
|
|
393
|
-
] = Field(alias="billableFeatures", default=None)
|
|
394
|
-
addons: Optional[
|
|
395
|
-
List[
|
|
396
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
397
|
-
]
|
|
398
|
-
] = Field(default=None)
|
|
399
|
-
price_overrides: Optional[
|
|
400
|
-
List[
|
|
401
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
402
|
-
]
|
|
403
|
-
] = Field(alias="priceOverrides", default=None)
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
407
|
-
BaseModel
|
|
408
|
-
):
|
|
409
|
-
feature_id: str = Field(alias="featureId")
|
|
410
|
-
quantity: float
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
414
|
-
BaseModel
|
|
415
|
-
):
|
|
416
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
417
|
-
quantity: float
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
421
|
-
BaseModel
|
|
422
|
-
):
|
|
423
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
424
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
425
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
429
|
-
BaseModel
|
|
430
|
-
):
|
|
431
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
432
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
433
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
437
|
-
BaseModel
|
|
438
|
-
):
|
|
439
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
440
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
441
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
class TotalPriceFragment(BaseModel):
|
|
445
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
446
|
-
total: "TotalPriceFragmentTotal"
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
450
|
-
amount: float
|
|
451
|
-
currency: Currency
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
455
|
-
amount: float
|
|
456
|
-
currency: Currency
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
460
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
461
|
-
|
|
462
|
-
|
|
463
254
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
464
255
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
465
256
|
alias="subscriptionScheduleType"
|
|
@@ -614,25 +405,32 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
614
405
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
615
406
|
|
|
616
407
|
|
|
617
|
-
class
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
408
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
409
|
+
billing_id: str = Field(alias="billingId")
|
|
410
|
+
status: SubscriptionInvoiceStatus
|
|
411
|
+
created_at: Any = Field(alias="createdAt")
|
|
412
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
413
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
414
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
415
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
416
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
417
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
418
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
419
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
420
|
+
alias="billingReason", default=None
|
|
623
421
|
)
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
629
|
-
alias="downgradePlan", default=None
|
|
422
|
+
currency: Optional[str] = Field(default=None)
|
|
423
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
424
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
425
|
+
alias="subTotalExcludingTax", default=None
|
|
630
426
|
)
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
427
|
+
total: Optional[float] = Field(default=None)
|
|
428
|
+
total_excluding_tax: Optional[float] = Field(
|
|
429
|
+
alias="totalExcludingTax", default=None
|
|
430
|
+
)
|
|
431
|
+
tax: Optional[float] = Field(default=None)
|
|
432
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
433
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
636
434
|
|
|
637
435
|
|
|
638
436
|
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
@@ -653,6 +451,27 @@ class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
|
653
451
|
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
654
452
|
|
|
655
453
|
|
|
454
|
+
class ProductFragment(BaseModel):
|
|
455
|
+
ref_id: str = Field(alias="refId")
|
|
456
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
457
|
+
description: Optional[str] = Field(default=None)
|
|
458
|
+
additional_meta_data: Optional[Any] = Field(
|
|
459
|
+
alias="additionalMetaData", default=None
|
|
460
|
+
)
|
|
461
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
465
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
466
|
+
alias="downgradePlan", default=None
|
|
467
|
+
)
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
471
|
+
ref_id: str = Field(alias="refId")
|
|
472
|
+
display_name: str = Field(alias="displayName")
|
|
473
|
+
|
|
474
|
+
|
|
656
475
|
class PlanFragment(BaseModel):
|
|
657
476
|
id: Any
|
|
658
477
|
ref_id: str = Field(alias="refId")
|
|
@@ -692,46 +511,227 @@ class PlanFragmentProduct(ProductFragment):
|
|
|
692
511
|
pass
|
|
693
512
|
|
|
694
513
|
|
|
695
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
696
|
-
ref_id: str = Field(alias="refId")
|
|
697
|
-
display_name: str = Field(alias="displayName")
|
|
514
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
515
|
+
ref_id: str = Field(alias="refId")
|
|
516
|
+
display_name: str = Field(alias="displayName")
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
520
|
+
pass
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
524
|
+
pass
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
528
|
+
pass
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
532
|
+
pass
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
class PlanFragmentPrices(PriceFragment):
|
|
536
|
+
pass
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
540
|
+
pass
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
544
|
+
duration: float
|
|
545
|
+
units: TrialPeriodUnits
|
|
546
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
547
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
548
|
+
alias="trialEndBehavior", default=None
|
|
549
|
+
)
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
553
|
+
limit: float
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
557
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
558
|
+
alias="subscriptionScheduleType"
|
|
559
|
+
)
|
|
560
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
561
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
562
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
563
|
+
alias="targetPackage", default=None
|
|
564
|
+
)
|
|
565
|
+
schedule_variables: Optional[
|
|
566
|
+
Annotated[
|
|
567
|
+
Union[
|
|
568
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
569
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
570
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
571
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
572
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
573
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
574
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
575
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
576
|
+
],
|
|
577
|
+
Field(discriminator="typename__"),
|
|
578
|
+
]
|
|
579
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
583
|
+
id: Any
|
|
584
|
+
ref_id: str = Field(alias="refId")
|
|
585
|
+
display_name: str = Field(alias="displayName")
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
589
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
590
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
591
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
595
|
+
BaseModel
|
|
596
|
+
):
|
|
597
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
598
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
599
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
603
|
+
BaseModel
|
|
604
|
+
):
|
|
605
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
606
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
610
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
614
|
+
BaseModel
|
|
615
|
+
):
|
|
616
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
617
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
618
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
619
|
+
billable_features: Optional[
|
|
620
|
+
List[
|
|
621
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
622
|
+
]
|
|
623
|
+
] = Field(alias="billableFeatures", default=None)
|
|
624
|
+
addons: Optional[
|
|
625
|
+
List[
|
|
626
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
627
|
+
]
|
|
628
|
+
] = Field(default=None)
|
|
629
|
+
price_overrides: Optional[
|
|
630
|
+
List[
|
|
631
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
632
|
+
]
|
|
633
|
+
] = Field(alias="priceOverrides", default=None)
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
637
|
+
BaseModel
|
|
638
|
+
):
|
|
639
|
+
feature_id: str = Field(alias="featureId")
|
|
640
|
+
quantity: float
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
644
|
+
BaseModel
|
|
645
|
+
):
|
|
646
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
647
|
+
quantity: float
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
651
|
+
BaseModel
|
|
652
|
+
):
|
|
653
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
654
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
655
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
659
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
660
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
661
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
662
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
663
|
+
billable_features: Optional[
|
|
664
|
+
List[
|
|
665
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
666
|
+
]
|
|
667
|
+
] = Field(alias="billableFeatures", default=None)
|
|
668
|
+
addons: Optional[
|
|
669
|
+
List[
|
|
670
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
671
|
+
]
|
|
672
|
+
] = Field(default=None)
|
|
673
|
+
price_overrides: Optional[
|
|
674
|
+
List[
|
|
675
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
676
|
+
]
|
|
677
|
+
] = Field(alias="priceOverrides", default=None)
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
681
|
+
BaseModel
|
|
682
|
+
):
|
|
683
|
+
feature_id: str = Field(alias="featureId")
|
|
684
|
+
quantity: float
|
|
698
685
|
|
|
699
686
|
|
|
700
|
-
class
|
|
701
|
-
|
|
687
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
688
|
+
BaseModel
|
|
689
|
+
):
|
|
690
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
691
|
+
quantity: float
|
|
702
692
|
|
|
703
693
|
|
|
704
|
-
class
|
|
705
|
-
|
|
694
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
695
|
+
BaseModel
|
|
696
|
+
):
|
|
697
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
698
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
699
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
706
700
|
|
|
707
701
|
|
|
708
|
-
class
|
|
709
|
-
|
|
702
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
703
|
+
BaseModel
|
|
704
|
+
):
|
|
705
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
706
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
707
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
710
708
|
|
|
711
709
|
|
|
712
|
-
class
|
|
713
|
-
|
|
710
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
711
|
+
BaseModel
|
|
712
|
+
):
|
|
713
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
714
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
715
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
714
716
|
|
|
715
717
|
|
|
716
|
-
class
|
|
717
|
-
|
|
718
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
719
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
718
720
|
|
|
719
721
|
|
|
720
|
-
class
|
|
721
|
-
|
|
722
|
+
class TotalPriceFragment(BaseModel):
|
|
723
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
724
|
+
total: "TotalPriceFragmentTotal"
|
|
722
725
|
|
|
723
726
|
|
|
724
|
-
class
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
728
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
729
|
-
alias="trialEndBehavior", default=None
|
|
730
|
-
)
|
|
727
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
728
|
+
amount: float
|
|
729
|
+
currency: Currency
|
|
731
730
|
|
|
732
731
|
|
|
733
|
-
class
|
|
734
|
-
|
|
732
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
733
|
+
amount: float
|
|
734
|
+
currency: Currency
|
|
735
735
|
|
|
736
736
|
|
|
737
737
|
class SubscriptionFragment(BaseModel):
|
|
@@ -1005,6 +1005,35 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1005
1005
|
)
|
|
1006
1006
|
|
|
1007
1007
|
|
|
1008
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1009
|
+
status: PromotionalEntitlementStatus
|
|
1010
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1011
|
+
feature_id: Any = Field(alias="featureId")
|
|
1012
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1013
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1014
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1015
|
+
alias="resetPeriod", default=None
|
|
1016
|
+
)
|
|
1017
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1018
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1019
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1020
|
+
|
|
1021
|
+
|
|
1022
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1023
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1024
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1025
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1026
|
+
feature_units_plural: Optional[str] = Field(
|
|
1027
|
+
alias="featureUnitsPlural", default=None
|
|
1028
|
+
)
|
|
1029
|
+
display_name: str = Field(alias="displayName")
|
|
1030
|
+
description: Optional[str] = Field(default=None)
|
|
1031
|
+
ref_id: str = Field(alias="refId")
|
|
1032
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1033
|
+
alias="additionalMetaData", default=None
|
|
1034
|
+
)
|
|
1035
|
+
|
|
1036
|
+
|
|
1008
1037
|
class CouponFragment(BaseModel):
|
|
1009
1038
|
id: Any
|
|
1010
1039
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1039,35 +1068,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1039
1068
|
status: SyncStatus
|
|
1040
1069
|
|
|
1041
1070
|
|
|
1042
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1043
|
-
status: PromotionalEntitlementStatus
|
|
1044
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1045
|
-
feature_id: Any = Field(alias="featureId")
|
|
1046
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1047
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1048
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1049
|
-
alias="resetPeriod", default=None
|
|
1050
|
-
)
|
|
1051
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1052
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1053
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1057
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1058
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1059
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1060
|
-
feature_units_plural: Optional[str] = Field(
|
|
1061
|
-
alias="featureUnitsPlural", default=None
|
|
1062
|
-
)
|
|
1063
|
-
display_name: str = Field(alias="displayName")
|
|
1064
|
-
description: Optional[str] = Field(default=None)
|
|
1065
|
-
ref_id: str = Field(alias="refId")
|
|
1066
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1067
|
-
alias="additionalMetaData", default=None
|
|
1068
|
-
)
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
1071
|
class CustomerFragment(SlimCustomerFragment):
|
|
1072
1072
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1073
1073
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1326,14 +1326,46 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1326
1326
|
pass
|
|
1327
1327
|
|
|
1328
1328
|
|
|
1329
|
-
class
|
|
1329
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1330
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1331
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1332
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1333
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1334
|
+
default=None
|
|
1335
|
+
)
|
|
1336
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1337
|
+
alias="creditRate", default=None
|
|
1338
|
+
)
|
|
1339
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1340
|
+
default=None
|
|
1341
|
+
)
|
|
1342
|
+
|
|
1343
|
+
|
|
1344
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1345
|
+
amount: float
|
|
1346
|
+
currency: Currency
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1350
|
+
amount: float
|
|
1351
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1352
|
+
|
|
1353
|
+
|
|
1354
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1355
|
+
id: Any
|
|
1356
|
+
ref_id: str = Field(alias="refId")
|
|
1330
1357
|
display_name: str = Field(alias="displayName")
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1358
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1359
|
+
feature_units_plural: Optional[str] = Field(
|
|
1360
|
+
alias="featureUnitsPlural", default=None
|
|
1361
|
+
)
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1365
|
+
addon_id: str = Field(alias="addonId")
|
|
1366
|
+
description: Optional[str] = Field(default=None)
|
|
1367
|
+
display_name: str = Field(alias="displayName")
|
|
1368
|
+
quantity: int
|
|
1337
1369
|
|
|
1338
1370
|
|
|
1339
1371
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
@@ -1505,48 +1537,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1505
1537
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1506
1538
|
|
|
1507
1539
|
|
|
1508
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1509
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1510
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1511
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1512
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1513
|
-
default=None
|
|
1514
|
-
)
|
|
1515
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1516
|
-
alias="creditRate", default=None
|
|
1517
|
-
)
|
|
1518
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1519
|
-
default=None
|
|
1520
|
-
)
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1524
|
-
amount: float
|
|
1525
|
-
currency: Currency
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1529
|
-
amount: float
|
|
1530
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1534
|
-
id: Any
|
|
1535
|
-
ref_id: str = Field(alias="refId")
|
|
1536
|
-
display_name: str = Field(alias="displayName")
|
|
1537
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1538
|
-
feature_units_plural: Optional[str] = Field(
|
|
1539
|
-
alias="featureUnitsPlural", default=None
|
|
1540
|
-
)
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1544
|
-
addon_id: str = Field(alias="addonId")
|
|
1545
|
-
description: Optional[str] = Field(default=None)
|
|
1546
|
-
display_name: str = Field(alias="displayName")
|
|
1547
|
-
quantity: int
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
1540
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1551
1541
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1552
1542
|
plan_id: str = Field(alias="planId")
|
|
@@ -1651,6 +1641,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1651
1641
|
pass
|
|
1652
1642
|
|
|
1653
1643
|
|
|
1644
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1645
|
+
display_name: str = Field(alias="displayName")
|
|
1646
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1647
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1648
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1649
|
+
period: PromotionalEntitlementPeriod
|
|
1650
|
+
start_date: Any = Field(alias="startDate")
|
|
1651
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1652
|
+
|
|
1653
|
+
|
|
1654
1654
|
class CustomerPortalFragment(BaseModel):
|
|
1655
1655
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1656
1656
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2930,19 +2930,19 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2930
2930
|
AddonDependencyFragment.model_rebuild()
|
|
2931
2931
|
PackageEntitlementFragment.model_rebuild()
|
|
2932
2932
|
PriceTierFragment.model_rebuild()
|
|
2933
|
-
OveragePriceFragment.model_rebuild()
|
|
2934
2933
|
PriceFragment.model_rebuild()
|
|
2934
|
+
OveragePriceFragment.model_rebuild()
|
|
2935
2935
|
AddonFragment.model_rebuild()
|
|
2936
2936
|
SlimCustomerFragment.model_rebuild()
|
|
2937
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2938
2937
|
CustomerResourceFragment.model_rebuild()
|
|
2939
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2940
|
-
TotalPriceFragment.model_rebuild()
|
|
2941
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2942
2938
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2943
|
-
|
|
2939
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2944
2940
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2941
|
+
ProductFragment.model_rebuild()
|
|
2945
2942
|
PlanFragment.model_rebuild()
|
|
2943
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2944
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2945
|
+
TotalPriceFragment.model_rebuild()
|
|
2946
2946
|
SubscriptionFragment.model_rebuild()
|
|
2947
2947
|
FeatureFragment.model_rebuild()
|
|
2948
2948
|
EntitlementFragment.model_rebuild()
|
|
@@ -2950,8 +2950,8 @@ ApplySubscriptionFragment.model_rebuild()
|
|
|
2950
2950
|
FontVariantFragment.model_rebuild()
|
|
2951
2951
|
TypographyConfigurationFragment.model_rebuild()
|
|
2952
2952
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2953
|
-
CouponFragment.model_rebuild()
|
|
2954
2953
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2954
|
+
CouponFragment.model_rebuild()
|
|
2955
2955
|
CustomerFragment.model_rebuild()
|
|
2956
2956
|
CheckoutStateFragment.model_rebuild()
|
|
2957
2957
|
CreditGrantFragment.model_rebuild()
|
|
@@ -2959,11 +2959,11 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
2959
2959
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2960
2960
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2961
2961
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2962
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2963
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2964
2962
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2965
2963
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2964
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2966
2965
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2966
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2967
2967
|
CustomerPortalFragment.model_rebuild()
|
|
2968
2968
|
CustomerStatisticsFragment.model_rebuild()
|
|
2969
2969
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -2077,7 +2077,7 @@ class GrantPromotionalEntitlementInput(BaseModel):
|
|
|
2077
2077
|
class GrantPromotionalEntitlementsGroupInput(BaseModel):
|
|
2078
2078
|
customer_id: str = Field(alias="customerId")
|
|
2079
2079
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
2080
|
-
feature_group_id:
|
|
2080
|
+
feature_group_id: str = Field(alias="featureGroupId")
|
|
2081
2081
|
promotional_entitlements: List["GrantPromotionalEntitlementInput"] = Field(
|
|
2082
2082
|
alias="promotionalEntitlements"
|
|
2083
2083
|
)
|
|
@@ -3646,7 +3646,7 @@ class RevokePromotionalEntitlementInput(BaseModel):
|
|
|
3646
3646
|
class RevokePromotionalEntitlementsGroupInput(BaseModel):
|
|
3647
3647
|
customer_id: str = Field(alias="customerId")
|
|
3648
3648
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
3649
|
-
feature_group_id:
|
|
3649
|
+
feature_group_id: str = Field(alias="featureGroupId")
|
|
3650
3650
|
|
|
3651
3651
|
|
|
3652
3652
|
class SalesforceCredentialsInput(BaseModel):
|
|
@@ -4580,7 +4580,7 @@ class UnlinkFeatureGroupFromPackageInput(BaseModel):
|
|
|
4580
4580
|
class UnlinkPromotionalEntitlementsGroupInput(BaseModel):
|
|
4581
4581
|
customer_id: str = Field(alias="customerId")
|
|
4582
4582
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
4583
|
-
feature_group_id:
|
|
4583
|
+
feature_group_id: str = Field(alias="featureGroupId")
|
|
4584
4584
|
|
|
4585
4585
|
|
|
4586
4586
|
class UpdateAccountInput(BaseModel):
|
|
@@ -4594,6 +4594,7 @@ class UpdateAccountInput(BaseModel):
|
|
|
4594
4594
|
alias="defaultSSORoles", default=None
|
|
4595
4595
|
)
|
|
4596
4596
|
display_name: str = Field(alias="displayName")
|
|
4597
|
+
email_domains: Optional[List[str]] = Field(alias="emailDomains", default=None)
|
|
4597
4598
|
subscription_billing_anchor: Optional[BillingAnchor] = Field(
|
|
4598
4599
|
alias="subscriptionBillingAnchor", default=None
|
|
4599
4600
|
)
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=4wSfEXeZZqMSjsCsSG8baVg3Si8sjzV3bp_unHWHBtQ,3800
|
|
|
123
123
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
124
124
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
125
125
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
126
|
-
stigg/generated/fragments.py,sha256=
|
|
126
|
+
stigg/generated/fragments.py,sha256=kkPeD3cqBgQwbsnbc-_yhidtT3FluNlgWiuwZzE1D2A,107006
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -149,7 +149,7 @@ stigg/generated/grant_promotional_entitlements_group.py,sha256=iQwCd07VFaYbsN_E-
|
|
|
149
149
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
150
150
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
151
151
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
152
|
-
stigg/generated/input_types.py,sha256=
|
|
152
|
+
stigg/generated/input_types.py,sha256=F45-CFe7xiljfMp-HwsBKzvvKtlRVefT1Vrl9Zd6UcI,207384
|
|
153
153
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
154
154
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
155
155
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -167,7 +167,7 @@ stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9e
|
|
|
167
167
|
stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0LZmDYkRn9mMjZm9n41YG6-p7Z8qU,636
|
|
168
168
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
169
169
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
170
|
-
stigg_api_client_v2-3.
|
|
171
|
-
stigg_api_client_v2-3.
|
|
172
|
-
stigg_api_client_v2-3.
|
|
173
|
-
stigg_api_client_v2-3.
|
|
170
|
+
stigg_api_client_v2-3.65.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
171
|
+
stigg_api_client_v2-3.65.0.dist-info/METADATA,sha256=nfG10x9IBKdq0OziyeXlXFVsBU5KWluDTVZ2xah2i2Q,2257
|
|
172
|
+
stigg_api_client_v2-3.65.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
173
|
+
stigg_api_client_v2-3.65.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|