stigg-api-client-v2 2.415.0__py3-none-any.whl → 2.418.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/enums.py +2 -0
- stigg/generated/fragments.py +392 -392
- stigg/generated/input_types.py +37 -0
- {stigg_api_client_v2-2.415.0.dist-info → stigg_api_client_v2-2.418.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.415.0.dist-info → stigg_api_client_v2-2.418.0.dist-info}/RECORD +7 -7
- {stigg_api_client_v2-2.415.0.dist-info → stigg_api_client_v2-2.418.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.415.0.dist-info → stigg_api_client_v2-2.418.0.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -292,6 +292,7 @@ class CustomerSortFields(str, Enum):
|
|
|
292
292
|
id = "id"
|
|
293
293
|
name = "name"
|
|
294
294
|
refId = "refId"
|
|
295
|
+
salesforceId = "salesforceId"
|
|
295
296
|
searchQuery = "searchQuery"
|
|
296
297
|
updatedAt = "updatedAt"
|
|
297
298
|
|
|
@@ -317,6 +318,7 @@ class CustomerSubscriptionSortFields(str, Enum):
|
|
|
317
318
|
pricingType = "pricingType"
|
|
318
319
|
refId = "refId"
|
|
319
320
|
resourceId = "resourceId"
|
|
321
|
+
salesforceId = "salesforceId"
|
|
320
322
|
startDate = "startDate"
|
|
321
323
|
status = "status"
|
|
322
324
|
subscriptionId = "subscriptionId"
|
stigg/generated/fragments.py
CHANGED
|
@@ -60,6 +60,39 @@ class AddonDependencyFragment(BaseModel):
|
|
|
60
60
|
description: Optional[str] = Field(default=None)
|
|
61
61
|
|
|
62
62
|
|
|
63
|
+
class PackageEntitlementFragment(BaseModel):
|
|
64
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
65
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
66
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
67
|
+
feature_id: str = Field(alias="featureId")
|
|
68
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
69
|
+
alias="resetPeriod", default=None
|
|
70
|
+
)
|
|
71
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
72
|
+
alias="hiddenFromWidgets", default=None
|
|
73
|
+
)
|
|
74
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
75
|
+
display_name_override: Optional[str] = Field(
|
|
76
|
+
alias="displayNameOverride", default=None
|
|
77
|
+
)
|
|
78
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
82
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
83
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
84
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
85
|
+
feature_units_plural: Optional[str] = Field(
|
|
86
|
+
alias="featureUnitsPlural", default=None
|
|
87
|
+
)
|
|
88
|
+
display_name: str = Field(alias="displayName")
|
|
89
|
+
description: Optional[str] = Field(default=None)
|
|
90
|
+
ref_id: str = Field(alias="refId")
|
|
91
|
+
additional_meta_data: Optional[Any] = Field(
|
|
92
|
+
alias="additionalMetaData", default=None
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
|
|
63
96
|
class PriceTierFragment(BaseModel):
|
|
64
97
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
65
98
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -112,39 +145,6 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
112
145
|
description: Optional[str] = Field(default=None)
|
|
113
146
|
|
|
114
147
|
|
|
115
|
-
class PackageEntitlementFragment(BaseModel):
|
|
116
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
117
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
118
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
119
|
-
feature_id: str = Field(alias="featureId")
|
|
120
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
121
|
-
alias="resetPeriod", default=None
|
|
122
|
-
)
|
|
123
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
124
|
-
alias="hiddenFromWidgets", default=None
|
|
125
|
-
)
|
|
126
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
127
|
-
display_name_override: Optional[str] = Field(
|
|
128
|
-
alias="displayNameOverride", default=None
|
|
129
|
-
)
|
|
130
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
134
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
135
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
136
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
137
|
-
feature_units_plural: Optional[str] = Field(
|
|
138
|
-
alias="featureUnitsPlural", default=None
|
|
139
|
-
)
|
|
140
|
-
display_name: str = Field(alias="displayName")
|
|
141
|
-
description: Optional[str] = Field(default=None)
|
|
142
|
-
ref_id: str = Field(alias="refId")
|
|
143
|
-
additional_meta_data: Optional[Any] = Field(
|
|
144
|
-
alias="additionalMetaData", default=None
|
|
145
|
-
)
|
|
146
|
-
|
|
147
|
-
|
|
148
148
|
class PriceFragment(BaseModel):
|
|
149
149
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
150
150
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -216,87 +216,8 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
216
216
|
pass
|
|
217
217
|
|
|
218
218
|
|
|
219
|
-
class
|
|
220
|
-
|
|
221
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
222
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
223
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
224
|
-
feature_units_plural: Optional[str] = Field(
|
|
225
|
-
alias="featureUnitsPlural", default=None
|
|
226
|
-
)
|
|
227
|
-
description: Optional[str] = Field(default=None)
|
|
228
|
-
display_name: str = Field(alias="displayName")
|
|
229
|
-
ref_id: str = Field(alias="refId")
|
|
230
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
231
|
-
alias="unitTransformation", default=None
|
|
232
|
-
)
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
236
|
-
divide: float
|
|
237
|
-
round: UnitTransformationRound
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
class EntitlementFragment(BaseModel):
|
|
241
|
-
typename__: str = Field(alias="__typename")
|
|
242
|
-
is_granted: bool = Field(alias="isGranted")
|
|
243
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
244
|
-
alias="accessDeniedReason", default=None
|
|
245
|
-
)
|
|
246
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
247
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
248
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
249
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
250
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
251
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
252
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
253
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
254
|
-
alias="entitlementUpdatedAt", default=None
|
|
255
|
-
)
|
|
256
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
257
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
258
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
259
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
260
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
261
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
262
|
-
alias="resetPeriod", default=None
|
|
263
|
-
)
|
|
264
|
-
reset_period_configuration: Optional[
|
|
265
|
-
Annotated[
|
|
266
|
-
Union[
|
|
267
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
268
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
269
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
270
|
-
],
|
|
271
|
-
Field(discriminator="typename__"),
|
|
272
|
-
]
|
|
273
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
274
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
278
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
279
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
280
|
-
alias="monthlyAccordingTo", default=None
|
|
281
|
-
)
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
285
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
286
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
287
|
-
alias="weeklyAccordingTo", default=None
|
|
288
|
-
)
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
292
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
293
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
294
|
-
alias="yearlyAccordingTo", default=None
|
|
295
|
-
)
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
299
|
-
pass
|
|
219
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
220
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
300
221
|
|
|
301
222
|
|
|
302
223
|
class SlimCustomerFragment(BaseModel):
|
|
@@ -316,45 +237,45 @@ class SlimCustomerFragment(BaseModel):
|
|
|
316
237
|
)
|
|
317
238
|
|
|
318
239
|
|
|
319
|
-
class
|
|
240
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
320
241
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
321
242
|
alias="subscriptionScheduleType"
|
|
322
243
|
)
|
|
323
244
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
324
245
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
325
|
-
target_package: Optional["
|
|
246
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
326
247
|
alias="targetPackage", default=None
|
|
327
248
|
)
|
|
328
249
|
schedule_variables: Optional[
|
|
329
250
|
Annotated[
|
|
330
251
|
Union[
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
"
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
"
|
|
337
|
-
"
|
|
338
|
-
"
|
|
252
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
253
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
254
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
255
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
256
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
257
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
258
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
259
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
339
260
|
],
|
|
340
261
|
Field(discriminator="typename__"),
|
|
341
262
|
]
|
|
342
263
|
] = Field(alias="scheduleVariables", default=None)
|
|
343
264
|
|
|
344
265
|
|
|
345
|
-
class
|
|
266
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
346
267
|
id: str
|
|
347
268
|
ref_id: str = Field(alias="refId")
|
|
348
269
|
display_name: str = Field(alias="displayName")
|
|
349
270
|
|
|
350
271
|
|
|
351
|
-
class
|
|
272
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
352
273
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
353
274
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
354
275
|
new_quantity: float = Field(alias="newQuantity")
|
|
355
276
|
|
|
356
277
|
|
|
357
|
-
class
|
|
278
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
358
279
|
BaseModel
|
|
359
280
|
):
|
|
360
281
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -362,53 +283,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
362
283
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
363
284
|
|
|
364
285
|
|
|
365
|
-
class
|
|
286
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
366
287
|
BaseModel
|
|
367
288
|
):
|
|
368
289
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
369
290
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
370
291
|
|
|
371
292
|
|
|
372
|
-
class
|
|
293
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
373
294
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
374
295
|
|
|
375
296
|
|
|
376
|
-
class
|
|
297
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
298
|
+
BaseModel
|
|
299
|
+
):
|
|
377
300
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
378
301
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
379
302
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
380
303
|
billable_features: Optional[
|
|
381
304
|
List[
|
|
382
|
-
"
|
|
305
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
383
306
|
]
|
|
384
307
|
] = Field(alias="billableFeatures", default=None)
|
|
385
308
|
addons: Optional[
|
|
386
309
|
List[
|
|
387
|
-
"
|
|
310
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
388
311
|
]
|
|
389
312
|
] = Field(default=None)
|
|
390
313
|
price_overrides: Optional[
|
|
391
314
|
List[
|
|
392
|
-
"
|
|
315
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
393
316
|
]
|
|
394
317
|
] = Field(alias="priceOverrides", default=None)
|
|
395
318
|
|
|
396
319
|
|
|
397
|
-
class
|
|
320
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
398
321
|
BaseModel
|
|
399
322
|
):
|
|
400
323
|
feature_id: str = Field(alias="featureId")
|
|
401
324
|
quantity: float
|
|
402
325
|
|
|
403
326
|
|
|
404
|
-
class
|
|
327
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
405
328
|
BaseModel
|
|
406
329
|
):
|
|
407
330
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
408
331
|
quantity: float
|
|
409
332
|
|
|
410
333
|
|
|
411
|
-
class
|
|
334
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
412
335
|
BaseModel
|
|
413
336
|
):
|
|
414
337
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -416,39 +339,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
416
339
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
417
340
|
|
|
418
341
|
|
|
419
|
-
class
|
|
342
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
420
343
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
421
344
|
plan_ref_id: str = Field(alias="planRefId")
|
|
422
345
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
423
346
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
424
347
|
billable_features: Optional[
|
|
425
348
|
List[
|
|
426
|
-
"
|
|
349
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
427
350
|
]
|
|
428
351
|
] = Field(alias="billableFeatures", default=None)
|
|
429
352
|
addons: Optional[
|
|
430
|
-
List[
|
|
353
|
+
List[
|
|
354
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
355
|
+
]
|
|
431
356
|
] = Field(default=None)
|
|
432
357
|
price_overrides: Optional[
|
|
433
358
|
List[
|
|
434
|
-
"
|
|
359
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
435
360
|
]
|
|
436
361
|
] = Field(alias="priceOverrides", default=None)
|
|
437
362
|
|
|
438
363
|
|
|
439
|
-
class
|
|
364
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
440
365
|
BaseModel
|
|
441
366
|
):
|
|
442
367
|
feature_id: str = Field(alias="featureId")
|
|
443
368
|
quantity: float
|
|
444
369
|
|
|
445
370
|
|
|
446
|
-
class
|
|
371
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
372
|
+
BaseModel
|
|
373
|
+
):
|
|
447
374
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
448
375
|
quantity: float
|
|
449
376
|
|
|
450
377
|
|
|
451
|
-
class
|
|
378
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
452
379
|
BaseModel
|
|
453
380
|
):
|
|
454
381
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -456,7 +383,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
456
383
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
457
384
|
|
|
458
385
|
|
|
459
|
-
class
|
|
386
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
460
387
|
BaseModel
|
|
461
388
|
):
|
|
462
389
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -464,175 +391,95 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
464
391
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
465
392
|
|
|
466
393
|
|
|
467
|
-
class
|
|
394
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
395
|
+
BaseModel
|
|
396
|
+
):
|
|
468
397
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
469
398
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
470
399
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
471
400
|
|
|
472
401
|
|
|
473
|
-
class
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
402
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
403
|
+
billing_id: str = Field(alias="billingId")
|
|
404
|
+
status: SubscriptionInvoiceStatus
|
|
405
|
+
created_at: Any = Field(alias="createdAt")
|
|
406
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
407
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
408
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
409
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
410
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
411
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
412
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
413
|
+
alias="billingReason", default=None
|
|
479
414
|
)
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
415
|
+
currency: Optional[str] = Field(default=None)
|
|
416
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
417
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
418
|
+
alias="subTotalExcludingTax", default=None
|
|
419
|
+
)
|
|
420
|
+
total: Optional[float] = Field(default=None)
|
|
421
|
+
total_excluding_tax: Optional[float] = Field(
|
|
422
|
+
alias="totalExcludingTax", default=None
|
|
486
423
|
)
|
|
424
|
+
tax: Optional[float] = Field(default=None)
|
|
425
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
426
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
487
427
|
|
|
488
428
|
|
|
489
|
-
class
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
495
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
496
|
-
display_name: str = Field(alias="displayName")
|
|
497
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
498
|
-
default=None
|
|
499
|
-
)
|
|
500
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
504
|
-
pass
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
508
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
509
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
class PlanFragment(BaseModel):
|
|
513
|
-
id: str
|
|
514
|
-
ref_id: str = Field(alias="refId")
|
|
515
|
-
display_name: str = Field(alias="displayName")
|
|
516
|
-
description: Optional[str] = Field(default=None)
|
|
517
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
518
|
-
version_number: int = Field(alias="versionNumber")
|
|
519
|
-
additional_meta_data: Optional[Any] = Field(
|
|
520
|
-
alias="additionalMetaData", default=None
|
|
521
|
-
)
|
|
522
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
523
|
-
alias="hiddenFromWidgets", default=None
|
|
524
|
-
)
|
|
525
|
-
product: "PlanFragmentProduct"
|
|
526
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
527
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
528
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
529
|
-
alias="inheritedEntitlements", default=None
|
|
530
|
-
)
|
|
531
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
532
|
-
alias="compatibleAddons", default=None
|
|
533
|
-
)
|
|
534
|
-
compatible_package_groups: Optional[
|
|
535
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
536
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
537
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
538
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
539
|
-
alias="overagePrices", default=None
|
|
540
|
-
)
|
|
541
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
542
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
543
|
-
alias="defaultTrialConfig", default=None
|
|
544
|
-
)
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
class PlanFragmentProduct(ProductFragment):
|
|
548
|
-
pass
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
552
|
-
ref_id: str = Field(alias="refId")
|
|
553
|
-
display_name: str = Field(alias="displayName")
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
557
|
-
pass
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
561
|
-
pass
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
565
|
-
pass
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
569
|
-
pass
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
class PlanFragmentPrices(PriceFragment):
|
|
573
|
-
pass
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
577
|
-
pass
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
581
|
-
duration: float
|
|
582
|
-
units: TrialPeriodUnits
|
|
583
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
584
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
585
|
-
alias="trialEndBehavior", default=None
|
|
586
|
-
)
|
|
429
|
+
class TotalPriceFragment(BaseModel):
|
|
430
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
431
|
+
total: "TotalPriceFragmentTotal"
|
|
587
432
|
|
|
588
433
|
|
|
589
|
-
class
|
|
590
|
-
|
|
434
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
435
|
+
amount: float
|
|
436
|
+
currency: Currency
|
|
591
437
|
|
|
592
438
|
|
|
593
|
-
class
|
|
594
|
-
|
|
439
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
440
|
+
amount: float
|
|
441
|
+
currency: Currency
|
|
595
442
|
|
|
596
443
|
|
|
597
|
-
class
|
|
444
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
598
445
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
599
446
|
alias="subscriptionScheduleType"
|
|
600
447
|
)
|
|
601
448
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
602
449
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
603
|
-
target_package: Optional["
|
|
450
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
604
451
|
alias="targetPackage", default=None
|
|
605
452
|
)
|
|
606
453
|
schedule_variables: Optional[
|
|
607
454
|
Annotated[
|
|
608
455
|
Union[
|
|
609
|
-
"
|
|
610
|
-
"
|
|
611
|
-
"
|
|
612
|
-
"
|
|
613
|
-
"
|
|
614
|
-
"
|
|
615
|
-
"
|
|
616
|
-
"
|
|
456
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
457
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
458
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
459
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
460
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
461
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
462
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
463
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
617
464
|
],
|
|
618
465
|
Field(discriminator="typename__"),
|
|
619
466
|
]
|
|
620
467
|
] = Field(alias="scheduleVariables", default=None)
|
|
621
468
|
|
|
622
469
|
|
|
623
|
-
class
|
|
470
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
624
471
|
id: str
|
|
625
472
|
ref_id: str = Field(alias="refId")
|
|
626
473
|
display_name: str = Field(alias="displayName")
|
|
627
474
|
|
|
628
475
|
|
|
629
|
-
class
|
|
476
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
630
477
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
631
478
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
632
479
|
new_quantity: float = Field(alias="newQuantity")
|
|
633
480
|
|
|
634
481
|
|
|
635
|
-
class
|
|
482
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
636
483
|
BaseModel
|
|
637
484
|
):
|
|
638
485
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -640,55 +487,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
640
487
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
641
488
|
|
|
642
489
|
|
|
643
|
-
class
|
|
490
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
644
491
|
BaseModel
|
|
645
492
|
):
|
|
646
493
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
647
494
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
648
495
|
|
|
649
496
|
|
|
650
|
-
class
|
|
497
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
651
498
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
652
499
|
|
|
653
500
|
|
|
654
|
-
class
|
|
655
|
-
BaseModel
|
|
656
|
-
):
|
|
501
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
657
502
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
658
503
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
659
504
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
660
505
|
billable_features: Optional[
|
|
661
506
|
List[
|
|
662
|
-
"
|
|
507
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
663
508
|
]
|
|
664
509
|
] = Field(alias="billableFeatures", default=None)
|
|
665
510
|
addons: Optional[
|
|
666
511
|
List[
|
|
667
|
-
"
|
|
512
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
668
513
|
]
|
|
669
514
|
] = Field(default=None)
|
|
670
515
|
price_overrides: Optional[
|
|
671
516
|
List[
|
|
672
|
-
"
|
|
517
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
673
518
|
]
|
|
674
519
|
] = Field(alias="priceOverrides", default=None)
|
|
675
520
|
|
|
676
521
|
|
|
677
|
-
class
|
|
522
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
678
523
|
BaseModel
|
|
679
524
|
):
|
|
680
525
|
feature_id: str = Field(alias="featureId")
|
|
681
526
|
quantity: float
|
|
682
527
|
|
|
683
528
|
|
|
684
|
-
class
|
|
529
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
685
530
|
BaseModel
|
|
686
531
|
):
|
|
687
532
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
688
533
|
quantity: float
|
|
689
534
|
|
|
690
535
|
|
|
691
|
-
class
|
|
536
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
692
537
|
BaseModel
|
|
693
538
|
):
|
|
694
539
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -696,110 +541,182 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
696
541
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
697
542
|
|
|
698
543
|
|
|
699
|
-
class
|
|
544
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
700
545
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
701
546
|
plan_ref_id: str = Field(alias="planRefId")
|
|
702
547
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
703
548
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
704
549
|
billable_features: Optional[
|
|
705
550
|
List[
|
|
706
|
-
"
|
|
551
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
707
552
|
]
|
|
708
553
|
] = Field(alias="billableFeatures", default=None)
|
|
709
554
|
addons: Optional[
|
|
710
|
-
List[
|
|
711
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
712
|
-
]
|
|
555
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
713
556
|
] = Field(default=None)
|
|
714
557
|
price_overrides: Optional[
|
|
715
558
|
List[
|
|
716
|
-
"
|
|
559
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
717
560
|
]
|
|
718
561
|
] = Field(alias="priceOverrides", default=None)
|
|
719
562
|
|
|
720
563
|
|
|
721
|
-
class
|
|
564
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
722
565
|
BaseModel
|
|
723
566
|
):
|
|
724
567
|
feature_id: str = Field(alias="featureId")
|
|
725
568
|
quantity: float
|
|
726
569
|
|
|
727
570
|
|
|
728
|
-
class
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
571
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
572
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
573
|
+
quantity: float
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
577
|
+
BaseModel
|
|
578
|
+
):
|
|
579
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
580
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
581
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
585
|
+
BaseModel
|
|
586
|
+
):
|
|
587
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
588
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
589
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
593
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
594
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
595
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
599
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
600
|
+
display_name: str = Field(alias="displayName")
|
|
601
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
602
|
+
default=None
|
|
603
|
+
)
|
|
604
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
608
|
+
pass
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
612
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
613
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
class ProductFragment(BaseModel):
|
|
617
|
+
ref_id: str = Field(alias="refId")
|
|
618
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
619
|
+
description: Optional[str] = Field(default=None)
|
|
620
|
+
additional_meta_data: Optional[Any] = Field(
|
|
621
|
+
alias="additionalMetaData", default=None
|
|
622
|
+
)
|
|
623
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
627
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
628
|
+
alias="downgradePlan", default=None
|
|
629
|
+
)
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
633
|
+
ref_id: str = Field(alias="refId")
|
|
634
|
+
display_name: str = Field(alias="displayName")
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
class PlanFragment(BaseModel):
|
|
638
|
+
id: str
|
|
639
|
+
ref_id: str = Field(alias="refId")
|
|
640
|
+
display_name: str = Field(alias="displayName")
|
|
641
|
+
description: Optional[str] = Field(default=None)
|
|
642
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
643
|
+
version_number: int = Field(alias="versionNumber")
|
|
644
|
+
additional_meta_data: Optional[Any] = Field(
|
|
645
|
+
alias="additionalMetaData", default=None
|
|
646
|
+
)
|
|
647
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
648
|
+
alias="hiddenFromWidgets", default=None
|
|
649
|
+
)
|
|
650
|
+
product: "PlanFragmentProduct"
|
|
651
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
652
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
653
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
654
|
+
alias="inheritedEntitlements", default=None
|
|
655
|
+
)
|
|
656
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
657
|
+
alias="compatibleAddons", default=None
|
|
658
|
+
)
|
|
659
|
+
compatible_package_groups: Optional[
|
|
660
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
661
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
662
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
663
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
664
|
+
alias="overagePrices", default=None
|
|
665
|
+
)
|
|
666
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
667
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
668
|
+
alias="defaultTrialConfig", default=None
|
|
669
|
+
)
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
class PlanFragmentProduct(ProductFragment):
|
|
673
|
+
pass
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
677
|
+
ref_id: str = Field(alias="refId")
|
|
678
|
+
display_name: str = Field(alias="displayName")
|
|
733
679
|
|
|
734
680
|
|
|
735
|
-
class
|
|
736
|
-
|
|
737
|
-
):
|
|
738
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
739
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
740
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
681
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
682
|
+
pass
|
|
741
683
|
|
|
742
684
|
|
|
743
|
-
class
|
|
744
|
-
|
|
745
|
-
):
|
|
746
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
747
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
748
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
685
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
686
|
+
pass
|
|
749
687
|
|
|
750
688
|
|
|
751
|
-
class
|
|
752
|
-
|
|
753
|
-
):
|
|
754
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
755
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
756
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
689
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
690
|
+
pass
|
|
757
691
|
|
|
758
692
|
|
|
759
|
-
class
|
|
760
|
-
|
|
761
|
-
total: "TotalPriceFragmentTotal"
|
|
693
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
694
|
+
pass
|
|
762
695
|
|
|
763
696
|
|
|
764
|
-
class
|
|
765
|
-
|
|
766
|
-
currency: Currency
|
|
697
|
+
class PlanFragmentPrices(PriceFragment):
|
|
698
|
+
pass
|
|
767
699
|
|
|
768
700
|
|
|
769
|
-
class
|
|
770
|
-
|
|
771
|
-
currency: Currency
|
|
701
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
702
|
+
pass
|
|
772
703
|
|
|
773
704
|
|
|
774
|
-
class
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
781
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
782
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
783
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
784
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
785
|
-
alias="billingReason", default=None
|
|
786
|
-
)
|
|
787
|
-
currency: Optional[str] = Field(default=None)
|
|
788
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
789
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
790
|
-
alias="subTotalExcludingTax", default=None
|
|
791
|
-
)
|
|
792
|
-
total: Optional[float] = Field(default=None)
|
|
793
|
-
total_excluding_tax: Optional[float] = Field(
|
|
794
|
-
alias="totalExcludingTax", default=None
|
|
705
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
706
|
+
duration: float
|
|
707
|
+
units: TrialPeriodUnits
|
|
708
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
709
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
710
|
+
alias="trialEndBehavior", default=None
|
|
795
711
|
)
|
|
796
|
-
tax: Optional[float] = Field(default=None)
|
|
797
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
798
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
799
712
|
|
|
800
713
|
|
|
801
|
-
class
|
|
802
|
-
|
|
714
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
715
|
+
limit: float
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
class CustomerResourceFragment(BaseModel):
|
|
719
|
+
resource_id: str = Field(alias="resourceId")
|
|
803
720
|
|
|
804
721
|
|
|
805
722
|
class SubscriptionFragment(BaseModel):
|
|
@@ -911,6 +828,89 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
911
828
|
pass
|
|
912
829
|
|
|
913
830
|
|
|
831
|
+
class FeatureFragment(BaseModel):
|
|
832
|
+
typename__: str = Field(alias="__typename")
|
|
833
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
834
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
835
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
836
|
+
feature_units_plural: Optional[str] = Field(
|
|
837
|
+
alias="featureUnitsPlural", default=None
|
|
838
|
+
)
|
|
839
|
+
description: Optional[str] = Field(default=None)
|
|
840
|
+
display_name: str = Field(alias="displayName")
|
|
841
|
+
ref_id: str = Field(alias="refId")
|
|
842
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
843
|
+
alias="unitTransformation", default=None
|
|
844
|
+
)
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
848
|
+
divide: float
|
|
849
|
+
round: UnitTransformationRound
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
class EntitlementFragment(BaseModel):
|
|
853
|
+
typename__: str = Field(alias="__typename")
|
|
854
|
+
is_granted: bool = Field(alias="isGranted")
|
|
855
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
856
|
+
alias="accessDeniedReason", default=None
|
|
857
|
+
)
|
|
858
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
859
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
860
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
861
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
862
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
863
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
864
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
865
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
866
|
+
alias="entitlementUpdatedAt", default=None
|
|
867
|
+
)
|
|
868
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
869
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
870
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
871
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
872
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
873
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
874
|
+
alias="resetPeriod", default=None
|
|
875
|
+
)
|
|
876
|
+
reset_period_configuration: Optional[
|
|
877
|
+
Annotated[
|
|
878
|
+
Union[
|
|
879
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
880
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
881
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
882
|
+
],
|
|
883
|
+
Field(discriminator="typename__"),
|
|
884
|
+
]
|
|
885
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
886
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
890
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
891
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
892
|
+
alias="monthlyAccordingTo", default=None
|
|
893
|
+
)
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
897
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
898
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
899
|
+
alias="weeklyAccordingTo", default=None
|
|
900
|
+
)
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
904
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
905
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
906
|
+
alias="yearlyAccordingTo", default=None
|
|
907
|
+
)
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
911
|
+
pass
|
|
912
|
+
|
|
913
|
+
|
|
914
914
|
class ApplySubscriptionFragment(BaseModel):
|
|
915
915
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
916
916
|
default=None
|
|
@@ -1257,14 +1257,31 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1257
1257
|
pass
|
|
1258
1258
|
|
|
1259
1259
|
|
|
1260
|
-
class
|
|
1260
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1261
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1262
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1263
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1264
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1265
|
+
default=None
|
|
1266
|
+
)
|
|
1267
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1268
|
+
default=None
|
|
1269
|
+
)
|
|
1270
|
+
|
|
1271
|
+
|
|
1272
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1273
|
+
amount: float
|
|
1274
|
+
currency: Currency
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1278
|
+
id: str
|
|
1279
|
+
ref_id: str = Field(alias="refId")
|
|
1261
1280
|
display_name: str = Field(alias="displayName")
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
start_date: Any = Field(alias="startDate")
|
|
1267
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1281
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1282
|
+
feature_units_plural: Optional[str] = Field(
|
|
1283
|
+
alias="featureUnitsPlural", default=None
|
|
1284
|
+
)
|
|
1268
1285
|
|
|
1269
1286
|
|
|
1270
1287
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
@@ -1443,33 +1460,6 @@ class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
|
1443
1460
|
quantity: int
|
|
1444
1461
|
|
|
1445
1462
|
|
|
1446
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1447
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1448
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1449
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1450
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1451
|
-
default=None
|
|
1452
|
-
)
|
|
1453
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1454
|
-
default=None
|
|
1455
|
-
)
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1459
|
-
amount: float
|
|
1460
|
-
currency: Currency
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1464
|
-
id: str
|
|
1465
|
-
ref_id: str = Field(alias="refId")
|
|
1466
|
-
display_name: str = Field(alias="displayName")
|
|
1467
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1468
|
-
feature_units_plural: Optional[str] = Field(
|
|
1469
|
-
alias="featureUnitsPlural", default=None
|
|
1470
|
-
)
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
1463
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1474
1464
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1475
1465
|
plan_id: str = Field(alias="planId")
|
|
@@ -1566,6 +1556,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1566
1556
|
pass
|
|
1567
1557
|
|
|
1568
1558
|
|
|
1559
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1560
|
+
display_name: str = Field(alias="displayName")
|
|
1561
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1562
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1563
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1564
|
+
period: PromotionalEntitlementPeriod
|
|
1565
|
+
start_date: Any = Field(alias="startDate")
|
|
1566
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1567
|
+
|
|
1568
|
+
|
|
1569
1569
|
class CustomerPortalFragment(BaseModel):
|
|
1570
1570
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1571
1571
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2770,24 +2770,24 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2770
2770
|
|
|
2771
2771
|
|
|
2772
2772
|
AddonDependencyFragment.model_rebuild()
|
|
2773
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2773
2774
|
PriceTierFragment.model_rebuild()
|
|
2774
2775
|
OveragePriceFragment.model_rebuild()
|
|
2775
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2776
2776
|
PriceFragment.model_rebuild()
|
|
2777
2777
|
AddonFragment.model_rebuild()
|
|
2778
|
-
|
|
2779
|
-
EntitlementFragment.model_rebuild()
|
|
2778
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2780
2779
|
SlimCustomerFragment.model_rebuild()
|
|
2780
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2781
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2782
|
+
TotalPriceFragment.model_rebuild()
|
|
2781
2783
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2782
|
-
ProductFragment.model_rebuild()
|
|
2783
2784
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2785
|
+
ProductFragment.model_rebuild()
|
|
2784
2786
|
PlanFragment.model_rebuild()
|
|
2785
2787
|
CustomerResourceFragment.model_rebuild()
|
|
2786
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2787
|
-
TotalPriceFragment.model_rebuild()
|
|
2788
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2789
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2790
2788
|
SubscriptionFragment.model_rebuild()
|
|
2789
|
+
FeatureFragment.model_rebuild()
|
|
2790
|
+
EntitlementFragment.model_rebuild()
|
|
2791
2791
|
ApplySubscriptionFragment.model_rebuild()
|
|
2792
2792
|
FontVariantFragment.model_rebuild()
|
|
2793
2793
|
TypographyConfigurationFragment.model_rebuild()
|
|
@@ -2799,11 +2799,11 @@ CheckoutStateFragment.model_rebuild()
|
|
|
2799
2799
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2800
2800
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2801
2801
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2802
|
-
|
|
2802
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2803
2803
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2804
2804
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2805
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2806
2805
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2806
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2807
2807
|
CustomerPortalFragment.model_rebuild()
|
|
2808
2808
|
CustomerStatisticsFragment.model_rebuild()
|
|
2809
2809
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -543,6 +543,9 @@ class CouponFilterCustomerFilter(BaseModel):
|
|
|
543
543
|
name: Optional["StringFieldComparison"] = None
|
|
544
544
|
or_: Optional[List["CouponFilterCustomerFilter"]] = Field(alias="or", default=None)
|
|
545
545
|
ref_id: Optional["StringFieldComparison"] = Field(alias="refId", default=None)
|
|
546
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
547
|
+
alias="salesforceId", default=None
|
|
548
|
+
)
|
|
546
549
|
search_query: Optional["CustomerSearchQueryFilterComparison"] = Field(
|
|
547
550
|
alias="searchQuery", default=None
|
|
548
551
|
)
|
|
@@ -822,6 +825,9 @@ class CustomerFilter(BaseModel):
|
|
|
822
825
|
"CustomerFilterPromotionalEntitlementFilter"
|
|
823
826
|
] = Field(alias="promotionalEntitlements", default=None)
|
|
824
827
|
ref_id: Optional["StringFieldComparison"] = Field(alias="refId", default=None)
|
|
828
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
829
|
+
alias="salesforceId", default=None
|
|
830
|
+
)
|
|
825
831
|
search_query: Optional["CustomerSearchQueryFilterComparison"] = Field(
|
|
826
832
|
alias="searchQuery", default=None
|
|
827
833
|
)
|
|
@@ -886,6 +892,9 @@ class CustomerFilterCustomerSubscriptionFilter(BaseModel):
|
|
|
886
892
|
resource_id: Optional["StringFieldComparison"] = Field(
|
|
887
893
|
alias="resourceId", default=None
|
|
888
894
|
)
|
|
895
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
896
|
+
alias="salesforceId", default=None
|
|
897
|
+
)
|
|
889
898
|
start_date: Optional["DateFieldComparison"] = Field(alias="startDate", default=None)
|
|
890
899
|
status: Optional["SubscriptionStatusFilterComparison"] = None
|
|
891
900
|
subscription_id: Optional["StringFieldComparison"] = Field(
|
|
@@ -1004,6 +1013,9 @@ class CustomerResourceFilterCustomerFilter(BaseModel):
|
|
|
1004
1013
|
alias="or", default=None
|
|
1005
1014
|
)
|
|
1006
1015
|
ref_id: Optional["StringFieldComparison"] = Field(alias="refId", default=None)
|
|
1016
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
1017
|
+
alias="salesforceId", default=None
|
|
1018
|
+
)
|
|
1007
1019
|
search_query: Optional["CustomerSearchQueryFilterComparison"] = Field(
|
|
1008
1020
|
alias="searchQuery", default=None
|
|
1009
1021
|
)
|
|
@@ -1067,6 +1079,9 @@ class CustomerResourceFilterCustomerSubscriptionFilter(BaseModel):
|
|
|
1067
1079
|
resource_id: Optional["StringFieldComparison"] = Field(
|
|
1068
1080
|
alias="resourceId", default=None
|
|
1069
1081
|
)
|
|
1082
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
1083
|
+
alias="salesforceId", default=None
|
|
1084
|
+
)
|
|
1070
1085
|
start_date: Optional["DateFieldComparison"] = Field(alias="startDate", default=None)
|
|
1071
1086
|
status: Optional["SubscriptionStatusFilterComparison"] = None
|
|
1072
1087
|
subscription_id: Optional["StringFieldComparison"] = Field(
|
|
@@ -1156,6 +1171,9 @@ class CustomerSubscriptionFilter(BaseModel):
|
|
|
1156
1171
|
resource_id: Optional["StringFieldComparison"] = Field(
|
|
1157
1172
|
alias="resourceId", default=None
|
|
1158
1173
|
)
|
|
1174
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
1175
|
+
alias="salesforceId", default=None
|
|
1176
|
+
)
|
|
1159
1177
|
start_date: Optional["DateFieldComparison"] = Field(alias="startDate", default=None)
|
|
1160
1178
|
status: Optional["SubscriptionStatusFilterComparison"] = None
|
|
1161
1179
|
subscription_entitlements: Optional[
|
|
@@ -1198,6 +1216,9 @@ class CustomerSubscriptionFilterCustomerFilter(BaseModel):
|
|
|
1198
1216
|
alias="or", default=None
|
|
1199
1217
|
)
|
|
1200
1218
|
ref_id: Optional["StringFieldComparison"] = Field(alias="refId", default=None)
|
|
1219
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
1220
|
+
alias="salesforceId", default=None
|
|
1221
|
+
)
|
|
1201
1222
|
search_query: Optional["CustomerSearchQueryFilterComparison"] = Field(
|
|
1202
1223
|
alias="searchQuery", default=None
|
|
1203
1224
|
)
|
|
@@ -1682,6 +1703,9 @@ class ExperimentFilterCustomerFilter(BaseModel):
|
|
|
1682
1703
|
alias="or", default=None
|
|
1683
1704
|
)
|
|
1684
1705
|
ref_id: Optional["StringFieldComparison"] = Field(alias="refId", default=None)
|
|
1706
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
1707
|
+
alias="salesforceId", default=None
|
|
1708
|
+
)
|
|
1685
1709
|
search_query: Optional["CustomerSearchQueryFilterComparison"] = Field(
|
|
1686
1710
|
alias="searchQuery", default=None
|
|
1687
1711
|
)
|
|
@@ -3626,6 +3650,9 @@ class SubscriptionAddonFilterCustomerSubscriptionFilter(BaseModel):
|
|
|
3626
3650
|
resource_id: Optional["StringFieldComparison"] = Field(
|
|
3627
3651
|
alias="resourceId", default=None
|
|
3628
3652
|
)
|
|
3653
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
3654
|
+
alias="salesforceId", default=None
|
|
3655
|
+
)
|
|
3629
3656
|
start_date: Optional["DateFieldComparison"] = Field(alias="startDate", default=None)
|
|
3630
3657
|
status: Optional["SubscriptionStatusFilterComparison"] = None
|
|
3631
3658
|
subscription_id: Optional["StringFieldComparison"] = Field(
|
|
@@ -3827,6 +3854,9 @@ class SubscriptionEntitlementFilterCustomerSubscriptionFilter(BaseModel):
|
|
|
3827
3854
|
resource_id: Optional["StringFieldComparison"] = Field(
|
|
3828
3855
|
alias="resourceId", default=None
|
|
3829
3856
|
)
|
|
3857
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
3858
|
+
alias="salesforceId", default=None
|
|
3859
|
+
)
|
|
3830
3860
|
start_date: Optional["DateFieldComparison"] = Field(alias="startDate", default=None)
|
|
3831
3861
|
status: Optional["SubscriptionStatusFilterComparison"] = None
|
|
3832
3862
|
subscription_id: Optional["StringFieldComparison"] = Field(
|
|
@@ -4071,6 +4101,9 @@ class SubscriptionPriceFilterCustomerSubscriptionFilter(BaseModel):
|
|
|
4071
4101
|
resource_id: Optional["StringFieldComparison"] = Field(
|
|
4072
4102
|
alias="resourceId", default=None
|
|
4073
4103
|
)
|
|
4104
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
4105
|
+
alias="salesforceId", default=None
|
|
4106
|
+
)
|
|
4074
4107
|
start_date: Optional["DateFieldComparison"] = Field(alias="startDate", default=None)
|
|
4075
4108
|
status: Optional["SubscriptionStatusFilterComparison"] = None
|
|
4076
4109
|
subscription_id: Optional["StringFieldComparison"] = Field(
|
|
@@ -4627,6 +4660,9 @@ class UsageMeasurementFilterCustomerFilter(BaseModel):
|
|
|
4627
4660
|
alias="or", default=None
|
|
4628
4661
|
)
|
|
4629
4662
|
ref_id: Optional["StringFieldComparison"] = Field(alias="refId", default=None)
|
|
4663
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
4664
|
+
alias="salesforceId", default=None
|
|
4665
|
+
)
|
|
4630
4666
|
search_query: Optional["CustomerSearchQueryFilterComparison"] = Field(
|
|
4631
4667
|
alias="searchQuery", default=None
|
|
4632
4668
|
)
|
|
@@ -4722,6 +4758,7 @@ class ZuoraCredentialsInput(BaseModel):
|
|
|
4722
4758
|
base_url: str = Field(alias="baseUrl")
|
|
4723
4759
|
client_id: str = Field(alias="clientId")
|
|
4724
4760
|
client_secret: str = Field(alias="clientSecret")
|
|
4761
|
+
payment_gateway_id: Optional[str] = Field(alias="paymentGatewayId", default=None)
|
|
4725
4762
|
payment_page_id: Optional[str] = Field(alias="paymentPageId", default=None)
|
|
4726
4763
|
stripe_publishable_key: Optional[str] = Field(
|
|
4727
4764
|
alias="stripePublishableKey", default=None
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=NgGx0jZs30ZsxuITO15EVz6K4LjJE5XocrwRuGcjm8w,169
|
|
|
119
119
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
120
120
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
121
121
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
122
|
-
stigg/generated/enums.py,sha256=
|
|
122
|
+
stigg/generated/enums.py,sha256=BnCwbHSipcepnaDJ7ZOwNfdLtRW_p67ObbANkWR2xhY,35280
|
|
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=iL_WYZqHpSrLV1bOkiLZFxOOfBwcj5uxahDS9MUZ5NA,100917
|
|
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
|
|
@@ -144,7 +144,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
144
144
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
145
145
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
146
146
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
147
|
-
stigg/generated/input_types.py,sha256=
|
|
147
|
+
stigg/generated/input_types.py,sha256=X4_Yc95B8Hsi5GbeIbuMuyNqWIxNMv4mcIRTYHlUOwo,195390
|
|
148
148
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
149
149
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
150
150
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
163
|
+
stigg_api_client_v2-2.418.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.418.0.dist-info/METADATA,sha256=TSRxncp8hnm9HP2ZZO-0nx_5HabAxQoJlwkrLYX8sT4,2258
|
|
165
|
+
stigg_api_client_v2-2.418.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.418.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|