stigg-api-client-v2 3.96.0__py3-none-any.whl → 3.98.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/__init__.py +6 -0
- stigg/generated/async_client.py +12 -0
- stigg/generated/client.py +12 -0
- stigg/generated/fragments.py +296 -279
- stigg/generated/input_types.py +6 -0
- {stigg_api_client_v2-3.96.0.dist-info → stigg_api_client_v2-3.98.1.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.96.0.dist-info → stigg_api_client_v2-3.98.1.dist-info}/RECORD +9 -9
- {stigg_api_client_v2-3.96.0.dist-info → stigg_api_client_v2-3.98.1.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.96.0.dist-info → stigg_api_client_v2-3.98.1.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -201,6 +201,7 @@ from .fragments import (
|
|
|
201
201
|
CreditsBalanceSummaryFragmentBalancesCurrency,
|
|
202
202
|
CreditsBalanceSummaryFragmentBalancesCurrencyUnits,
|
|
203
203
|
CreditUsageFragment,
|
|
204
|
+
CreditUsageFragmentCurrency,
|
|
204
205
|
CreditUsageFragmentSeries,
|
|
205
206
|
CreditUsageFragmentSeriesPoints,
|
|
206
207
|
CustomerFragment,
|
|
@@ -380,6 +381,8 @@ from .fragments import (
|
|
|
380
381
|
ProvisionSubscriptionFragmentEntitlements,
|
|
381
382
|
ProvisionSubscriptionFragmentSubscription,
|
|
382
383
|
ReportUsageFragment,
|
|
384
|
+
SlimCustomCurrencyFragment,
|
|
385
|
+
SlimCustomCurrencyFragmentUnits,
|
|
383
386
|
SlimCustomerFragment,
|
|
384
387
|
SlimSubscriptionFragment,
|
|
385
388
|
SlimSubscriptionFragmentAddons,
|
|
@@ -1201,6 +1204,7 @@ __all__ = [
|
|
|
1201
1204
|
"CreditLedgerInput",
|
|
1202
1205
|
"CreditRateInput",
|
|
1203
1206
|
"CreditUsageFragment",
|
|
1207
|
+
"CreditUsageFragmentCurrency",
|
|
1204
1208
|
"CreditUsageFragmentSeries",
|
|
1205
1209
|
"CreditUsageFragmentSeriesPoints",
|
|
1206
1210
|
"CreditUsageInput",
|
|
@@ -1768,6 +1772,8 @@ __all__ = [
|
|
|
1768
1772
|
"SetPlanCompatiblePackageGroup",
|
|
1769
1773
|
"SetPlanCompatiblePackageGroupOptions",
|
|
1770
1774
|
"SetPlanCompatiblePackageGroups",
|
|
1775
|
+
"SlimCustomCurrencyFragment",
|
|
1776
|
+
"SlimCustomCurrencyFragmentUnits",
|
|
1771
1777
|
"SlimCustomerFragment",
|
|
1772
1778
|
"SlimSubscriptionFragment",
|
|
1773
1779
|
"SlimSubscriptionFragmentAddons",
|
stigg/generated/async_client.py
CHANGED
|
@@ -6833,6 +6833,18 @@ class AsyncClient(AsyncBaseClient):
|
|
|
6833
6833
|
value
|
|
6834
6834
|
}
|
|
6835
6835
|
}
|
|
6836
|
+
currency {
|
|
6837
|
+
...SlimCustomCurrencyFragment
|
|
6838
|
+
}
|
|
6839
|
+
}
|
|
6840
|
+
|
|
6841
|
+
fragment SlimCustomCurrencyFragment on SlimCustomCurrency {
|
|
6842
|
+
currencyId
|
|
6843
|
+
displayName
|
|
6844
|
+
units {
|
|
6845
|
+
singular
|
|
6846
|
+
plural
|
|
6847
|
+
}
|
|
6836
6848
|
}
|
|
6837
6849
|
"""
|
|
6838
6850
|
)
|
stigg/generated/client.py
CHANGED
|
@@ -6827,6 +6827,18 @@ class Client(BaseClient):
|
|
|
6827
6827
|
value
|
|
6828
6828
|
}
|
|
6829
6829
|
}
|
|
6830
|
+
currency {
|
|
6831
|
+
...SlimCustomCurrencyFragment
|
|
6832
|
+
}
|
|
6833
|
+
}
|
|
6834
|
+
|
|
6835
|
+
fragment SlimCustomCurrencyFragment on SlimCustomCurrency {
|
|
6836
|
+
currencyId
|
|
6837
|
+
displayName
|
|
6838
|
+
units {
|
|
6839
|
+
singular
|
|
6840
|
+
plural
|
|
6841
|
+
}
|
|
6830
6842
|
}
|
|
6831
6843
|
"""
|
|
6832
6844
|
)
|
stigg/generated/fragments.py
CHANGED
|
@@ -82,50 +82,6 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
82
82
|
currency: Currency
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
class PriceFragment(BaseModel):
|
|
86
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
87
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
88
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
89
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
90
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
91
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
92
|
-
billing_country_code: Optional[str] = Field(
|
|
93
|
-
alias="billingCountryCode", default=None
|
|
94
|
-
)
|
|
95
|
-
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
96
|
-
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
97
|
-
alias="creditRate", default=None
|
|
98
|
-
)
|
|
99
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
100
|
-
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
101
|
-
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
102
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
class PriceFragmentPrice(BaseModel):
|
|
106
|
-
amount: float
|
|
107
|
-
currency: Currency
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
class PriceFragmentCreditRate(BaseModel):
|
|
111
|
-
amount: float
|
|
112
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
class PriceFragmentTiers(PriceTierFragment):
|
|
116
|
-
pass
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
class PriceFragmentFeature(BaseModel):
|
|
120
|
-
ref_id: str = Field(alias="refId")
|
|
121
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
122
|
-
feature_units_plural: Optional[str] = Field(
|
|
123
|
-
alias="featureUnitsPlural", default=None
|
|
124
|
-
)
|
|
125
|
-
display_name: str = Field(alias="displayName")
|
|
126
|
-
description: Optional[str] = Field(default=None)
|
|
127
|
-
|
|
128
|
-
|
|
129
85
|
class OveragePriceFragment(BaseModel):
|
|
130
86
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
131
87
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -193,6 +149,50 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
193
149
|
)
|
|
194
150
|
|
|
195
151
|
|
|
152
|
+
class PriceFragment(BaseModel):
|
|
153
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
154
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
155
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
156
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
157
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
158
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
159
|
+
billing_country_code: Optional[str] = Field(
|
|
160
|
+
alias="billingCountryCode", default=None
|
|
161
|
+
)
|
|
162
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
163
|
+
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
164
|
+
alias="creditRate", default=None
|
|
165
|
+
)
|
|
166
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
167
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
168
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
169
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
class PriceFragmentPrice(BaseModel):
|
|
173
|
+
amount: float
|
|
174
|
+
currency: Currency
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
class PriceFragmentCreditRate(BaseModel):
|
|
178
|
+
amount: float
|
|
179
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
183
|
+
pass
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
class PriceFragmentFeature(BaseModel):
|
|
187
|
+
ref_id: str = Field(alias="refId")
|
|
188
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
189
|
+
feature_units_plural: Optional[str] = Field(
|
|
190
|
+
alias="featureUnitsPlural", default=None
|
|
191
|
+
)
|
|
192
|
+
display_name: str = Field(alias="displayName")
|
|
193
|
+
description: Optional[str] = Field(default=None)
|
|
194
|
+
|
|
195
|
+
|
|
196
196
|
class AddonFragment(BaseModel):
|
|
197
197
|
id: Any
|
|
198
198
|
ref_id: str = Field(alias="refId")
|
|
@@ -231,45 +231,64 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
231
231
|
pass
|
|
232
232
|
|
|
233
233
|
|
|
234
|
-
class
|
|
234
|
+
class CustomerResourceFragment(BaseModel):
|
|
235
|
+
resource_id: str = Field(alias="resourceId")
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
class TotalPriceFragment(BaseModel):
|
|
239
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
240
|
+
total: "TotalPriceFragmentTotal"
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
244
|
+
amount: float
|
|
245
|
+
currency: Currency
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
249
|
+
amount: float
|
|
250
|
+
currency: Currency
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
235
254
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
236
255
|
alias="subscriptionScheduleType"
|
|
237
256
|
)
|
|
238
257
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
239
258
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
240
|
-
target_package: Optional["
|
|
259
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
241
260
|
alias="targetPackage", default=None
|
|
242
261
|
)
|
|
243
262
|
schedule_variables: Optional[
|
|
244
263
|
Annotated[
|
|
245
264
|
Union[
|
|
246
|
-
"
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
"
|
|
251
|
-
"
|
|
252
|
-
"
|
|
253
|
-
"
|
|
265
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
266
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
267
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
268
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
269
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
270
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
271
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
272
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
254
273
|
],
|
|
255
274
|
Field(discriminator="typename__"),
|
|
256
275
|
]
|
|
257
276
|
] = Field(alias="scheduleVariables", default=None)
|
|
258
277
|
|
|
259
278
|
|
|
260
|
-
class
|
|
279
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
261
280
|
id: Any
|
|
262
281
|
ref_id: str = Field(alias="refId")
|
|
263
282
|
display_name: str = Field(alias="displayName")
|
|
264
283
|
|
|
265
284
|
|
|
266
|
-
class
|
|
285
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
267
286
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
268
287
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
269
288
|
new_quantity: float = Field(alias="newQuantity")
|
|
270
289
|
|
|
271
290
|
|
|
272
|
-
class
|
|
291
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
273
292
|
BaseModel
|
|
274
293
|
):
|
|
275
294
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -277,55 +296,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
277
296
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
278
297
|
|
|
279
298
|
|
|
280
|
-
class
|
|
299
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
281
300
|
BaseModel
|
|
282
301
|
):
|
|
283
302
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
284
303
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
285
304
|
|
|
286
305
|
|
|
287
|
-
class
|
|
306
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
288
307
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
289
308
|
|
|
290
309
|
|
|
291
|
-
class
|
|
292
|
-
BaseModel
|
|
293
|
-
):
|
|
310
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
294
311
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
295
312
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
296
313
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
297
314
|
billable_features: Optional[
|
|
298
315
|
List[
|
|
299
|
-
"
|
|
316
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
300
317
|
]
|
|
301
318
|
] = Field(alias="billableFeatures", default=None)
|
|
302
319
|
addons: Optional[
|
|
303
320
|
List[
|
|
304
|
-
"
|
|
321
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
305
322
|
]
|
|
306
323
|
] = Field(default=None)
|
|
307
324
|
price_overrides: Optional[
|
|
308
325
|
List[
|
|
309
|
-
"
|
|
326
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
310
327
|
]
|
|
311
328
|
] = Field(alias="priceOverrides", default=None)
|
|
312
329
|
|
|
313
330
|
|
|
314
|
-
class
|
|
331
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
315
332
|
BaseModel
|
|
316
333
|
):
|
|
317
334
|
feature_id: str = Field(alias="featureId")
|
|
318
335
|
quantity: float
|
|
319
336
|
|
|
320
337
|
|
|
321
|
-
class
|
|
338
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
322
339
|
BaseModel
|
|
323
340
|
):
|
|
324
341
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
325
342
|
quantity: float
|
|
326
343
|
|
|
327
344
|
|
|
328
|
-
class
|
|
345
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
329
346
|
BaseModel
|
|
330
347
|
):
|
|
331
348
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -333,43 +350,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
333
350
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
334
351
|
|
|
335
352
|
|
|
336
|
-
class
|
|
353
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
337
354
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
338
355
|
plan_ref_id: str = Field(alias="planRefId")
|
|
339
356
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
340
357
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
341
358
|
billable_features: Optional[
|
|
342
359
|
List[
|
|
343
|
-
"
|
|
360
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
344
361
|
]
|
|
345
362
|
] = Field(alias="billableFeatures", default=None)
|
|
346
363
|
addons: Optional[
|
|
347
|
-
List[
|
|
348
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
349
|
-
]
|
|
364
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
350
365
|
] = Field(default=None)
|
|
351
366
|
price_overrides: Optional[
|
|
352
367
|
List[
|
|
353
|
-
"
|
|
368
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
354
369
|
]
|
|
355
370
|
] = Field(alias="priceOverrides", default=None)
|
|
356
371
|
|
|
357
372
|
|
|
358
|
-
class
|
|
373
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
359
374
|
BaseModel
|
|
360
375
|
):
|
|
361
376
|
feature_id: str = Field(alias="featureId")
|
|
362
377
|
quantity: float
|
|
363
378
|
|
|
364
379
|
|
|
365
|
-
class
|
|
366
|
-
BaseModel
|
|
367
|
-
):
|
|
380
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
368
381
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
369
382
|
quantity: float
|
|
370
383
|
|
|
371
384
|
|
|
372
|
-
class
|
|
385
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
373
386
|
BaseModel
|
|
374
387
|
):
|
|
375
388
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -377,7 +390,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
377
390
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
378
391
|
|
|
379
392
|
|
|
380
|
-
class
|
|
393
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
381
394
|
BaseModel
|
|
382
395
|
):
|
|
383
396
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -385,81 +398,55 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
385
398
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
386
399
|
|
|
387
400
|
|
|
388
|
-
class
|
|
389
|
-
BaseModel
|
|
390
|
-
):
|
|
401
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
391
402
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
392
403
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
393
404
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
394
405
|
|
|
395
406
|
|
|
396
|
-
class
|
|
397
|
-
|
|
398
|
-
status: SubscriptionInvoiceStatus
|
|
399
|
-
created_at: Any = Field(alias="createdAt")
|
|
400
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
401
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
402
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
403
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
404
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
405
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
406
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
407
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
408
|
-
alias="billingReason", default=None
|
|
409
|
-
)
|
|
410
|
-
currency: Optional[str] = Field(default=None)
|
|
411
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
412
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
413
|
-
alias="subTotalExcludingTax", default=None
|
|
414
|
-
)
|
|
415
|
-
total: Optional[float] = Field(default=None)
|
|
416
|
-
total_excluding_tax: Optional[float] = Field(
|
|
417
|
-
alias="totalExcludingTax", default=None
|
|
418
|
-
)
|
|
419
|
-
tax: Optional[float] = Field(default=None)
|
|
420
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
421
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
407
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
408
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
422
409
|
|
|
423
410
|
|
|
424
|
-
class
|
|
411
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
425
412
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
426
413
|
alias="subscriptionScheduleType"
|
|
427
414
|
)
|
|
428
415
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
429
416
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
430
|
-
target_package: Optional["
|
|
417
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
431
418
|
alias="targetPackage", default=None
|
|
432
419
|
)
|
|
433
420
|
schedule_variables: Optional[
|
|
434
421
|
Annotated[
|
|
435
422
|
Union[
|
|
436
|
-
"
|
|
437
|
-
"
|
|
438
|
-
"
|
|
439
|
-
"
|
|
440
|
-
"
|
|
441
|
-
"
|
|
442
|
-
"
|
|
443
|
-
"
|
|
423
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
424
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
425
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
426
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
427
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
428
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
429
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
430
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
444
431
|
],
|
|
445
432
|
Field(discriminator="typename__"),
|
|
446
433
|
]
|
|
447
434
|
] = Field(alias="scheduleVariables", default=None)
|
|
448
435
|
|
|
449
436
|
|
|
450
|
-
class
|
|
437
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
451
438
|
id: Any
|
|
452
439
|
ref_id: str = Field(alias="refId")
|
|
453
440
|
display_name: str = Field(alias="displayName")
|
|
454
441
|
|
|
455
442
|
|
|
456
|
-
class
|
|
443
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
457
444
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
458
445
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
459
446
|
new_quantity: float = Field(alias="newQuantity")
|
|
460
447
|
|
|
461
448
|
|
|
462
|
-
class
|
|
449
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
463
450
|
BaseModel
|
|
464
451
|
):
|
|
465
452
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -467,53 +454,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
467
454
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
468
455
|
|
|
469
456
|
|
|
470
|
-
class
|
|
457
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
471
458
|
BaseModel
|
|
472
459
|
):
|
|
473
460
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
474
461
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
475
462
|
|
|
476
463
|
|
|
477
|
-
class
|
|
464
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
478
465
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
479
466
|
|
|
480
467
|
|
|
481
|
-
class
|
|
468
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
469
|
+
BaseModel
|
|
470
|
+
):
|
|
482
471
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
483
472
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
484
473
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
485
474
|
billable_features: Optional[
|
|
486
475
|
List[
|
|
487
|
-
"
|
|
476
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
488
477
|
]
|
|
489
478
|
] = Field(alias="billableFeatures", default=None)
|
|
490
479
|
addons: Optional[
|
|
491
480
|
List[
|
|
492
|
-
"
|
|
481
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
493
482
|
]
|
|
494
483
|
] = Field(default=None)
|
|
495
484
|
price_overrides: Optional[
|
|
496
485
|
List[
|
|
497
|
-
"
|
|
486
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
498
487
|
]
|
|
499
488
|
] = Field(alias="priceOverrides", default=None)
|
|
500
489
|
|
|
501
490
|
|
|
502
|
-
class
|
|
491
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
503
492
|
BaseModel
|
|
504
493
|
):
|
|
505
494
|
feature_id: str = Field(alias="featureId")
|
|
506
495
|
quantity: float
|
|
507
496
|
|
|
508
497
|
|
|
509
|
-
class
|
|
498
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
510
499
|
BaseModel
|
|
511
500
|
):
|
|
512
501
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
513
502
|
quantity: float
|
|
514
503
|
|
|
515
504
|
|
|
516
|
-
class
|
|
505
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
517
506
|
BaseModel
|
|
518
507
|
):
|
|
519
508
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -521,39 +510,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
521
510
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
522
511
|
|
|
523
512
|
|
|
524
|
-
class
|
|
513
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
525
514
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
526
515
|
plan_ref_id: str = Field(alias="planRefId")
|
|
527
516
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
528
517
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
529
518
|
billable_features: Optional[
|
|
530
519
|
List[
|
|
531
|
-
"
|
|
520
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
532
521
|
]
|
|
533
522
|
] = Field(alias="billableFeatures", default=None)
|
|
534
523
|
addons: Optional[
|
|
535
|
-
List[
|
|
524
|
+
List[
|
|
525
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
526
|
+
]
|
|
536
527
|
] = Field(default=None)
|
|
537
528
|
price_overrides: Optional[
|
|
538
529
|
List[
|
|
539
|
-
"
|
|
530
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
540
531
|
]
|
|
541
532
|
] = Field(alias="priceOverrides", default=None)
|
|
542
533
|
|
|
543
534
|
|
|
544
|
-
class
|
|
535
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
545
536
|
BaseModel
|
|
546
537
|
):
|
|
547
538
|
feature_id: str = Field(alias="featureId")
|
|
548
539
|
quantity: float
|
|
549
540
|
|
|
550
541
|
|
|
551
|
-
class
|
|
542
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
543
|
+
BaseModel
|
|
544
|
+
):
|
|
552
545
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
553
546
|
quantity: float
|
|
554
547
|
|
|
555
548
|
|
|
556
|
-
class
|
|
549
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
557
550
|
BaseModel
|
|
558
551
|
):
|
|
559
552
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -561,18 +554,66 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
561
554
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
562
555
|
|
|
563
556
|
|
|
564
|
-
class
|
|
565
|
-
BaseModel
|
|
566
|
-
):
|
|
567
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
568
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
569
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
557
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
558
|
+
BaseModel
|
|
559
|
+
):
|
|
560
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
561
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
562
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
566
|
+
BaseModel
|
|
567
|
+
):
|
|
568
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
569
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
570
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
574
|
+
billing_id: str = Field(alias="billingId")
|
|
575
|
+
status: SubscriptionInvoiceStatus
|
|
576
|
+
created_at: Any = Field(alias="createdAt")
|
|
577
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
578
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
579
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
580
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
581
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
582
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
583
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
584
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
585
|
+
alias="billingReason", default=None
|
|
586
|
+
)
|
|
587
|
+
currency: Optional[str] = Field(default=None)
|
|
588
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
589
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
590
|
+
alias="subTotalExcludingTax", default=None
|
|
591
|
+
)
|
|
592
|
+
total: Optional[float] = Field(default=None)
|
|
593
|
+
total_excluding_tax: Optional[float] = Field(
|
|
594
|
+
alias="totalExcludingTax", default=None
|
|
595
|
+
)
|
|
596
|
+
tax: Optional[float] = Field(default=None)
|
|
597
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
598
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
602
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
603
|
+
display_name: str = Field(alias="displayName")
|
|
604
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
605
|
+
default=None
|
|
606
|
+
)
|
|
607
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
570
608
|
|
|
571
609
|
|
|
572
|
-
class
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
610
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
611
|
+
pass
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
615
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
616
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
576
617
|
|
|
577
618
|
|
|
578
619
|
class ProductFragment(BaseModel):
|
|
@@ -596,24 +637,6 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
|
596
637
|
display_name: str = Field(alias="displayName")
|
|
597
638
|
|
|
598
639
|
|
|
599
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
600
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
601
|
-
display_name: str = Field(alias="displayName")
|
|
602
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
603
|
-
default=None
|
|
604
|
-
)
|
|
605
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
609
|
-
pass
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
613
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
614
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
615
|
-
|
|
616
|
-
|
|
617
640
|
class PlanFragment(BaseModel):
|
|
618
641
|
id: Any
|
|
619
642
|
ref_id: str = Field(alias="refId")
|
|
@@ -712,29 +735,6 @@ class SlimCustomerFragment(BaseModel):
|
|
|
712
735
|
)
|
|
713
736
|
|
|
714
737
|
|
|
715
|
-
class CustomerResourceFragment(BaseModel):
|
|
716
|
-
resource_id: str = Field(alias="resourceId")
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
class TotalPriceFragment(BaseModel):
|
|
720
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
721
|
-
total: "TotalPriceFragmentTotal"
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
725
|
-
amount: float
|
|
726
|
-
currency: Currency
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
730
|
-
amount: float
|
|
731
|
-
currency: Currency
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
735
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
736
|
-
|
|
737
|
-
|
|
738
738
|
class SubscriptionFragment(BaseModel):
|
|
739
739
|
id: Any
|
|
740
740
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -1127,16 +1127,16 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1127
1127
|
pass
|
|
1128
1128
|
|
|
1129
1129
|
|
|
1130
|
-
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1131
|
-
publishable_key: str = Field(alias="publishableKey")
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
1130
|
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1135
1131
|
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1136
1132
|
setup_secret: str = Field(alias="setupSecret")
|
|
1137
1133
|
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1138
1134
|
|
|
1139
1135
|
|
|
1136
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1137
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1138
|
+
|
|
1139
|
+
|
|
1140
1140
|
class CheckoutStateFragment(BaseModel):
|
|
1141
1141
|
configuration: Optional["CheckoutStateFragmentConfiguration"] = Field(default=None)
|
|
1142
1142
|
setup_secret: str = Field(alias="setupSecret")
|
|
@@ -1235,8 +1235,20 @@ class CreditLedgerFragment(BaseModel):
|
|
|
1235
1235
|
credit_currency_id: str = Field(alias="creditCurrencyId")
|
|
1236
1236
|
|
|
1237
1237
|
|
|
1238
|
+
class SlimCustomCurrencyFragment(BaseModel):
|
|
1239
|
+
currency_id: str = Field(alias="currencyId")
|
|
1240
|
+
display_name: str = Field(alias="displayName")
|
|
1241
|
+
units: Optional["SlimCustomCurrencyFragmentUnits"] = Field(default=None)
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
class SlimCustomCurrencyFragmentUnits(BaseModel):
|
|
1245
|
+
singular: str
|
|
1246
|
+
plural: str
|
|
1247
|
+
|
|
1248
|
+
|
|
1238
1249
|
class CreditUsageFragment(BaseModel):
|
|
1239
1250
|
series: List["CreditUsageFragmentSeries"]
|
|
1251
|
+
currency: Optional["CreditUsageFragmentCurrency"] = Field(default=None)
|
|
1240
1252
|
|
|
1241
1253
|
|
|
1242
1254
|
class CreditUsageFragmentSeries(BaseModel):
|
|
@@ -1251,6 +1263,10 @@ class CreditUsageFragmentSeriesPoints(BaseModel):
|
|
|
1251
1263
|
value: float
|
|
1252
1264
|
|
|
1253
1265
|
|
|
1266
|
+
class CreditUsageFragmentCurrency(SlimCustomCurrencyFragment):
|
|
1267
|
+
pass
|
|
1268
|
+
|
|
1269
|
+
|
|
1254
1270
|
class CreditsBalanceSummaryFragment(BaseModel):
|
|
1255
1271
|
customer_id: str = Field(alias="customerId")
|
|
1256
1272
|
balances: List["CreditsBalanceSummaryFragmentBalances"]
|
|
@@ -1391,6 +1407,48 @@ class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
|
1391
1407
|
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1392
1408
|
|
|
1393
1409
|
|
|
1410
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1411
|
+
addon_id: str = Field(alias="addonId")
|
|
1412
|
+
description: Optional[str] = Field(default=None)
|
|
1413
|
+
display_name: str = Field(alias="displayName")
|
|
1414
|
+
quantity: int
|
|
1415
|
+
|
|
1416
|
+
|
|
1417
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1418
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1419
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1420
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1421
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1422
|
+
default=None
|
|
1423
|
+
)
|
|
1424
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1425
|
+
alias="creditRate", default=None
|
|
1426
|
+
)
|
|
1427
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1428
|
+
default=None
|
|
1429
|
+
)
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1433
|
+
amount: float
|
|
1434
|
+
currency: Currency
|
|
1435
|
+
|
|
1436
|
+
|
|
1437
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1438
|
+
amount: float
|
|
1439
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1440
|
+
|
|
1441
|
+
|
|
1442
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1443
|
+
id: Any
|
|
1444
|
+
ref_id: str = Field(alias="refId")
|
|
1445
|
+
display_name: str = Field(alias="displayName")
|
|
1446
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1447
|
+
feature_units_plural: Optional[str] = Field(
|
|
1448
|
+
alias="featureUnitsPlural", default=None
|
|
1449
|
+
)
|
|
1450
|
+
|
|
1451
|
+
|
|
1394
1452
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1395
1453
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1396
1454
|
alias="subscriptionScheduleType"
|
|
@@ -1560,48 +1618,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1560
1618
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1561
1619
|
|
|
1562
1620
|
|
|
1563
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1564
|
-
addon_id: str = Field(alias="addonId")
|
|
1565
|
-
description: Optional[str] = Field(default=None)
|
|
1566
|
-
display_name: str = Field(alias="displayName")
|
|
1567
|
-
quantity: int
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1571
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1572
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1573
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1574
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1575
|
-
default=None
|
|
1576
|
-
)
|
|
1577
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1578
|
-
alias="creditRate", default=None
|
|
1579
|
-
)
|
|
1580
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1581
|
-
default=None
|
|
1582
|
-
)
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1586
|
-
amount: float
|
|
1587
|
-
currency: Currency
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1591
|
-
amount: float
|
|
1592
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1596
|
-
id: Any
|
|
1597
|
-
ref_id: str = Field(alias="refId")
|
|
1598
|
-
display_name: str = Field(alias="displayName")
|
|
1599
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1600
|
-
feature_units_plural: Optional[str] = Field(
|
|
1601
|
-
alias="featureUnitsPlural", default=None
|
|
1602
|
-
)
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
1621
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1606
1622
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1607
1623
|
plan_id: str = Field(alias="planId")
|
|
@@ -1933,6 +1949,41 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1933
1949
|
description: Optional[str] = Field(default=None)
|
|
1934
1950
|
|
|
1935
1951
|
|
|
1952
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1953
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1954
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1955
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1956
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1957
|
+
alias="resetPeriod", default=None
|
|
1958
|
+
)
|
|
1959
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1960
|
+
alias="hiddenFromWidgets", default=None
|
|
1961
|
+
)
|
|
1962
|
+
display_name_override: Optional[str] = Field(
|
|
1963
|
+
alias="displayNameOverride", default=None
|
|
1964
|
+
)
|
|
1965
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1966
|
+
is_granted: bool = Field(alias="isGranted")
|
|
1967
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1968
|
+
default=None
|
|
1969
|
+
)
|
|
1970
|
+
|
|
1971
|
+
|
|
1972
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1973
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1974
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1975
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1976
|
+
feature_units_plural: Optional[str] = Field(
|
|
1977
|
+
alias="featureUnitsPlural", default=None
|
|
1978
|
+
)
|
|
1979
|
+
display_name: str = Field(alias="displayName")
|
|
1980
|
+
description: Optional[str] = Field(default=None)
|
|
1981
|
+
ref_id: str = Field(alias="refId")
|
|
1982
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1983
|
+
alias="additionalMetaData", default=None
|
|
1984
|
+
)
|
|
1985
|
+
|
|
1986
|
+
|
|
1936
1987
|
class MockPaywallPriceFragment(BaseModel):
|
|
1937
1988
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1938
1989
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1975,41 +2026,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1975
2026
|
display_name: str = Field(alias="displayName")
|
|
1976
2027
|
|
|
1977
2028
|
|
|
1978
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1979
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1980
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1981
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1982
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1983
|
-
alias="resetPeriod", default=None
|
|
1984
|
-
)
|
|
1985
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1986
|
-
alias="hiddenFromWidgets", default=None
|
|
1987
|
-
)
|
|
1988
|
-
display_name_override: Optional[str] = Field(
|
|
1989
|
-
alias="displayNameOverride", default=None
|
|
1990
|
-
)
|
|
1991
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1992
|
-
is_granted: bool = Field(alias="isGranted")
|
|
1993
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1994
|
-
default=None
|
|
1995
|
-
)
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1999
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
2000
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
2001
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
2002
|
-
feature_units_plural: Optional[str] = Field(
|
|
2003
|
-
alias="featureUnitsPlural", default=None
|
|
2004
|
-
)
|
|
2005
|
-
display_name: str = Field(alias="displayName")
|
|
2006
|
-
description: Optional[str] = Field(default=None)
|
|
2007
|
-
ref_id: str = Field(alias="refId")
|
|
2008
|
-
additional_meta_data: Optional[Any] = Field(
|
|
2009
|
-
alias="additionalMetaData", default=None
|
|
2010
|
-
)
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
2029
|
class MockPaywallAddonFragment(BaseModel):
|
|
2014
2030
|
ref_id: str = Field(alias="refId")
|
|
2015
2031
|
display_name: str = Field(alias="displayName")
|
|
@@ -2988,20 +3004,20 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2988
3004
|
|
|
2989
3005
|
AddonDependencyFragment.model_rebuild()
|
|
2990
3006
|
PriceTierFragment.model_rebuild()
|
|
2991
|
-
PriceFragment.model_rebuild()
|
|
2992
3007
|
OveragePriceFragment.model_rebuild()
|
|
2993
3008
|
PackageEntitlementFragment.model_rebuild()
|
|
3009
|
+
PriceFragment.model_rebuild()
|
|
2994
3010
|
AddonFragment.model_rebuild()
|
|
3011
|
+
CustomerResourceFragment.model_rebuild()
|
|
3012
|
+
TotalPriceFragment.model_rebuild()
|
|
3013
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
3014
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2995
3015
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2996
3016
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2997
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2998
|
-
ProductFragment.model_rebuild()
|
|
2999
3017
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3018
|
+
ProductFragment.model_rebuild()
|
|
3000
3019
|
PlanFragment.model_rebuild()
|
|
3001
3020
|
SlimCustomerFragment.model_rebuild()
|
|
3002
|
-
CustomerResourceFragment.model_rebuild()
|
|
3003
|
-
TotalPriceFragment.model_rebuild()
|
|
3004
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3005
3021
|
SubscriptionFragment.model_rebuild()
|
|
3006
3022
|
FeatureFragment.model_rebuild()
|
|
3007
3023
|
EntitlementFragment.model_rebuild()
|
|
@@ -3012,20 +3028,21 @@ CheckoutConfigurationFragment.model_rebuild()
|
|
|
3012
3028
|
CouponFragment.model_rebuild()
|
|
3013
3029
|
PromotionalEntitlementFragment.model_rebuild()
|
|
3014
3030
|
CustomerFragment.model_rebuild()
|
|
3015
|
-
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3016
3031
|
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3032
|
+
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3017
3033
|
CheckoutStateFragment.model_rebuild()
|
|
3018
3034
|
CreditGrantFragment.model_rebuild()
|
|
3019
3035
|
CreditLedgerFragment.model_rebuild()
|
|
3036
|
+
SlimCustomCurrencyFragment.model_rebuild()
|
|
3020
3037
|
CreditUsageFragment.model_rebuild()
|
|
3021
3038
|
CreditsBalanceSummaryFragment.model_rebuild()
|
|
3022
3039
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
3023
3040
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
3024
3041
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
3025
3042
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3026
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3027
3043
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3028
3044
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3045
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3029
3046
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
3030
3047
|
CustomerPortalFragment.model_rebuild()
|
|
3031
3048
|
CustomerStatisticsFragment.model_rebuild()
|
|
@@ -3036,8 +3053,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
3036
3053
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
3037
3054
|
LayoutConfigurationFragment.model_rebuild()
|
|
3038
3055
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
3039
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
3040
3056
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
3057
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
3041
3058
|
MockPaywallAddonFragment.model_rebuild()
|
|
3042
3059
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3043
3060
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -2589,6 +2589,9 @@ class OveragePricingModelCreateInput(BaseModel):
|
|
|
2589
2589
|
entitlement: Optional["OverageEntitlementCreateInput"] = None
|
|
2590
2590
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
2591
2591
|
price_periods: List["PricePeriodInput"] = Field(alias="pricePeriods")
|
|
2592
|
+
top_up_custom_currency_id: Optional[str] = Field(
|
|
2593
|
+
alias="topUpCustomCurrencyId", default=None
|
|
2594
|
+
)
|
|
2592
2595
|
|
|
2593
2596
|
|
|
2594
2597
|
class PackageDTOFilter(BaseModel):
|
|
@@ -3288,6 +3291,9 @@ class PricingModelCreateInput(BaseModel):
|
|
|
3288
3291
|
alias="resetPeriod", default=None
|
|
3289
3292
|
)
|
|
3290
3293
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
3294
|
+
top_up_custom_currency_id: Optional[str] = Field(
|
|
3295
|
+
alias="topUpCustomCurrencyId", default=None
|
|
3296
|
+
)
|
|
3291
3297
|
weekly_reset_period_configuration: Optional["WeeklyResetPeriodConfigInput"] = Field(
|
|
3292
3298
|
alias="weeklyResetPeriodConfiguration", default=None
|
|
3293
3299
|
)
|
|
@@ -106,16 +106,16 @@ stigg/_vendors/pydantic-2.6.4.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
106
106
|
stigg/_vendors/pydantic-2.6.4.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
107
107
|
stigg/_vendors/pydantic-2.6.4.dist-info/licenses/LICENSE,sha256=qeGG88oWte74QxjnpwFyE1GgDLe4rjpDlLZ7SeNSnvM,1129
|
|
108
108
|
stigg/client.py,sha256=RWrVnxo9zHFXka8KJVE4sMgyek70ispQk0vqOINCvM0,8335
|
|
109
|
-
stigg/generated/__init__.py,sha256=
|
|
109
|
+
stigg/generated/__init__.py,sha256=STb1hHNRAqYRjYw8hZfTJ_c84_sNSL04XMZ5etKDiJE,78099
|
|
110
110
|
stigg/generated/apply_subscription.py,sha256=Vbs-QZZxN16pUpt3Hp7Jvvcc5o_8xwJK9oTLQQjH0ZA,451
|
|
111
111
|
stigg/generated/archive_customer.py,sha256=3N3iBiT2Vvzfb0ckV3o57A6lmJ_ef7JNPaMX_Jtcg6c,396
|
|
112
112
|
stigg/generated/async_base_client.py,sha256=zqd6IhYxpalyA6KQkeGhXgSurC0vXSwSWmSlM2zZ0VM,12593
|
|
113
|
-
stigg/generated/async_client.py,sha256=
|
|
113
|
+
stigg/generated/async_client.py,sha256=XQsxaqK0vv0e6kUhGsPrqnXYg-ZuJlqZQER5mHXDEac,191081
|
|
114
114
|
stigg/generated/base_client.py,sha256=nAto-nOqrOHFTLqdRy2ZDpT1afgsqCzf6hTeBh5MyPQ,6674
|
|
115
115
|
stigg/generated/base_model.py,sha256=0rs99bmZqPbltlPVMfhExeA5zD6ATQFaNZVsxGNonI4,635
|
|
116
116
|
stigg/generated/cancel_subscription.py,sha256=pKrMFmKjGIuWvnVCYQ8brWQO9_JeTnfScgGQjztuN-o,457
|
|
117
117
|
stigg/generated/cancel_subscription_updates.py,sha256=T1C9vyppzZi_91pEnIGkHUL3GEsvtf5EMwr1f01tjbM,241
|
|
118
|
-
stigg/generated/client.py,sha256=
|
|
118
|
+
stigg/generated/client.py,sha256=gWw8cgJE_ldeNWZjSCxdqwKxqOkKyj6knN1G21xg7lk,190358
|
|
119
119
|
stigg/generated/create_payment_session.py,sha256=VRPT8Bbvb_evFHMav9y_pXWHMVbkRy9csf5SJCCUARk,470
|
|
120
120
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
121
121
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
@@ -124,7 +124,7 @@ stigg/generated/enums.py,sha256=1K6mEtm-zwrD9awYdLmovzADI6pMUzSOA2wi6_xhXQ8,3917
|
|
|
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=26D_cX5cCOuZrIdnZdr-jT64KS09gIOqeAVc6PfMeOY,109870
|
|
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
|
|
@@ -153,7 +153,7 @@ stigg/generated/grant_promotional_entitlements_group.py,sha256=iQwCd07VFaYbsN_E-
|
|
|
153
153
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
154
154
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
155
155
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
156
|
-
stigg/generated/input_types.py,sha256=
|
|
156
|
+
stigg/generated/input_types.py,sha256=GYq4q83T8TLByA1lniynYt2jwDTBqtxyc8Tv2l439NA,214494
|
|
157
157
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
158
158
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
159
159
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -171,7 +171,7 @@ stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9e
|
|
|
171
171
|
stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0LZmDYkRn9mMjZm9n41YG6-p7Z8qU,636
|
|
172
172
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
173
173
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
174
|
-
stigg_api_client_v2-3.
|
|
175
|
-
stigg_api_client_v2-3.
|
|
176
|
-
stigg_api_client_v2-3.
|
|
177
|
-
stigg_api_client_v2-3.
|
|
174
|
+
stigg_api_client_v2-3.98.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
175
|
+
stigg_api_client_v2-3.98.1.dist-info/METADATA,sha256=Yx3Aj5o2_ECG3JSaAZjxPRH2L76iDCEOFdh61VpIHVg,2257
|
|
176
|
+
stigg_api_client_v2-3.98.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
177
|
+
stigg_api_client_v2-3.98.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|