stigg-api-client-v2 2.294.0__py3-none-any.whl → 2.296.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/__init__.py +2 -0
- stigg/generated/fragments.py +209 -209
- stigg/generated/input_types.py +9 -1
- {stigg_api_client_v2-2.294.0.dist-info → stigg_api_client_v2-2.296.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.294.0.dist-info → stigg_api_client_v2-2.296.0.dist-info}/RECORD +7 -7
- {stigg_api_client_v2-2.294.0.dist-info → stigg_api_client_v2-2.296.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.294.0.dist-info → stigg_api_client_v2-2.296.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -630,6 +630,7 @@ from .input_types import (
|
|
|
630
630
|
CustomerSubscriptionSort,
|
|
631
631
|
DateFieldComparison,
|
|
632
632
|
DateFieldComparisonBetween,
|
|
633
|
+
DefaultSSORolesInput,
|
|
633
634
|
DefaultTrialConfigInputDTO,
|
|
634
635
|
DelegateSubscriptionToCustomerInput,
|
|
635
636
|
DeleteFeatureInput,
|
|
@@ -1132,6 +1133,7 @@ __all__ = [
|
|
|
1132
1133
|
"CustomerWithSubscriptionsFragmentSubscriptions",
|
|
1133
1134
|
"DateFieldComparison",
|
|
1134
1135
|
"DateFieldComparisonBetween",
|
|
1136
|
+
"DefaultSSORolesInput",
|
|
1135
1137
|
"DefaultTrialConfigInputDTO",
|
|
1136
1138
|
"DelegateSubscriptionToCustomer",
|
|
1137
1139
|
"DelegateSubscriptionToCustomerDelegateSubscriptionToCustomer",
|
stigg/generated/fragments.py
CHANGED
|
@@ -79,33 +79,29 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
79
79
|
currency: Currency
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class OveragePriceFragment(BaseModel):
|
|
83
83
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
84
84
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
85
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
86
85
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
87
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
88
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
89
86
|
billing_country_code: Optional[str] = Field(
|
|
90
87
|
alias="billingCountryCode", default=None
|
|
91
88
|
)
|
|
92
|
-
price: Optional["
|
|
89
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
93
90
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
94
|
-
tiers: Optional[List["
|
|
95
|
-
feature: Optional["
|
|
96
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
91
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
92
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
97
93
|
|
|
98
94
|
|
|
99
|
-
class
|
|
95
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
100
96
|
amount: float
|
|
101
97
|
currency: Currency
|
|
102
98
|
|
|
103
99
|
|
|
104
|
-
class
|
|
100
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
105
101
|
pass
|
|
106
102
|
|
|
107
103
|
|
|
108
|
-
class
|
|
104
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
109
105
|
ref_id: str = Field(alias="refId")
|
|
110
106
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
111
107
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -148,29 +144,33 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
148
144
|
)
|
|
149
145
|
|
|
150
146
|
|
|
151
|
-
class
|
|
147
|
+
class PriceFragment(BaseModel):
|
|
152
148
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
153
149
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
150
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
154
151
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
152
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
153
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
155
154
|
billing_country_code: Optional[str] = Field(
|
|
156
155
|
alias="billingCountryCode", default=None
|
|
157
156
|
)
|
|
158
|
-
price: Optional["
|
|
157
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
159
158
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
160
|
-
tiers: Optional[List["
|
|
161
|
-
feature: Optional["
|
|
159
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
160
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
161
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
162
162
|
|
|
163
163
|
|
|
164
|
-
class
|
|
164
|
+
class PriceFragmentPrice(BaseModel):
|
|
165
165
|
amount: float
|
|
166
166
|
currency: Currency
|
|
167
167
|
|
|
168
168
|
|
|
169
|
-
class
|
|
169
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
170
170
|
pass
|
|
171
171
|
|
|
172
172
|
|
|
173
|
-
class
|
|
173
|
+
class PriceFragmentFeature(BaseModel):
|
|
174
174
|
ref_id: str = Field(alias="refId")
|
|
175
175
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
176
176
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -215,30 +215,106 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
215
215
|
pass
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
class
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
226
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
227
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
228
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
229
|
-
alias="billingReason", default=None
|
|
218
|
+
class FeatureFragment(BaseModel):
|
|
219
|
+
typename__: str = Field(alias="__typename")
|
|
220
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
221
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
222
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
223
|
+
feature_units_plural: Optional[str] = Field(
|
|
224
|
+
alias="featureUnitsPlural", default=None
|
|
230
225
|
)
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
226
|
+
description: Optional[str] = Field(default=None)
|
|
227
|
+
display_name: str = Field(alias="displayName")
|
|
228
|
+
ref_id: str = Field(alias="refId")
|
|
229
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
230
|
+
alias="unitTransformation", default=None
|
|
235
231
|
)
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
235
|
+
divide: float
|
|
236
|
+
round: UnitTransformationRound
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
class EntitlementFragment(BaseModel):
|
|
240
|
+
typename__: str = Field(alias="__typename")
|
|
241
|
+
is_granted: bool = Field(alias="isGranted")
|
|
242
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
243
|
+
alias="accessDeniedReason", default=None
|
|
244
|
+
)
|
|
245
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
246
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
247
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
248
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
249
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
250
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
251
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
252
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
253
|
+
alias="entitlementUpdatedAt", default=None
|
|
254
|
+
)
|
|
255
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
256
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
257
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
258
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
259
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
260
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
261
|
+
alias="resetPeriod", default=None
|
|
262
|
+
)
|
|
263
|
+
reset_period_configuration: Optional[
|
|
264
|
+
Annotated[
|
|
265
|
+
Union[
|
|
266
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
267
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
268
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
269
|
+
],
|
|
270
|
+
Field(discriminator="typename__"),
|
|
271
|
+
]
|
|
272
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
273
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
277
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
278
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
279
|
+
alias="monthlyAccordingTo", default=None
|
|
280
|
+
)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
284
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
285
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
286
|
+
alias="weeklyAccordingTo", default=None
|
|
287
|
+
)
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
291
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
292
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
293
|
+
alias="yearlyAccordingTo", default=None
|
|
239
294
|
)
|
|
240
|
-
|
|
241
|
-
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
298
|
+
pass
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
class CustomerResourceFragment(BaseModel):
|
|
302
|
+
resource_id: str = Field(alias="resourceId")
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
class TotalPriceFragment(BaseModel):
|
|
306
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
307
|
+
total: "TotalPriceFragmentTotal"
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
311
|
+
amount: float
|
|
312
|
+
currency: Currency
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
316
|
+
amount: float
|
|
317
|
+
currency: Currency
|
|
242
318
|
|
|
243
319
|
|
|
244
320
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
@@ -395,6 +471,28 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
395
471
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
396
472
|
|
|
397
473
|
|
|
474
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
475
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
479
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
480
|
+
display_name: str = Field(alias="displayName")
|
|
481
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
482
|
+
default=None
|
|
483
|
+
)
|
|
484
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
488
|
+
pass
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
492
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
493
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
494
|
+
|
|
495
|
+
|
|
398
496
|
class ProductFragment(BaseModel):
|
|
399
497
|
ref_id: str = Field(alias="refId")
|
|
400
498
|
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
@@ -416,24 +514,6 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
|
416
514
|
display_name: str = Field(alias="displayName")
|
|
417
515
|
|
|
418
516
|
|
|
419
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
420
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
421
|
-
display_name: str = Field(alias="displayName")
|
|
422
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
423
|
-
default=None
|
|
424
|
-
)
|
|
425
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
429
|
-
pass
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
433
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
434
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
435
|
-
|
|
436
|
-
|
|
437
517
|
class PlanFragment(BaseModel):
|
|
438
518
|
id: str
|
|
439
519
|
ref_id: str = Field(alias="refId")
|
|
@@ -515,14 +595,6 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
515
595
|
limit: float
|
|
516
596
|
|
|
517
597
|
|
|
518
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
519
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
class CustomerResourceFragment(BaseModel):
|
|
523
|
-
resource_id: str = Field(alias="resourceId")
|
|
524
|
-
|
|
525
|
-
|
|
526
598
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
527
599
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
528
600
|
alias="subscriptionScheduleType"
|
|
@@ -685,19 +757,30 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
685
757
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
686
758
|
|
|
687
759
|
|
|
688
|
-
class
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
760
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
761
|
+
billing_id: str = Field(alias="billingId")
|
|
762
|
+
status: SubscriptionInvoiceStatus
|
|
763
|
+
created_at: Any = Field(alias="createdAt")
|
|
764
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
765
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
766
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
767
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
768
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
769
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
770
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
771
|
+
alias="billingReason", default=None
|
|
772
|
+
)
|
|
773
|
+
currency: Optional[str] = Field(default=None)
|
|
774
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
775
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
776
|
+
alias="subTotalExcludingTax", default=None
|
|
777
|
+
)
|
|
778
|
+
total: Optional[float] = Field(default=None)
|
|
779
|
+
total_excluding_tax: Optional[float] = Field(
|
|
780
|
+
alias="totalExcludingTax", default=None
|
|
781
|
+
)
|
|
782
|
+
tax: Optional[float] = Field(default=None)
|
|
783
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
701
784
|
|
|
702
785
|
|
|
703
786
|
class SlimCustomerFragment(BaseModel):
|
|
@@ -826,89 +909,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
826
909
|
pass
|
|
827
910
|
|
|
828
911
|
|
|
829
|
-
class FeatureFragment(BaseModel):
|
|
830
|
-
typename__: str = Field(alias="__typename")
|
|
831
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
832
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
833
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
834
|
-
feature_units_plural: Optional[str] = Field(
|
|
835
|
-
alias="featureUnitsPlural", default=None
|
|
836
|
-
)
|
|
837
|
-
description: Optional[str] = Field(default=None)
|
|
838
|
-
display_name: str = Field(alias="displayName")
|
|
839
|
-
ref_id: str = Field(alias="refId")
|
|
840
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
841
|
-
alias="unitTransformation", default=None
|
|
842
|
-
)
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
846
|
-
divide: float
|
|
847
|
-
round: UnitTransformationRound
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
class EntitlementFragment(BaseModel):
|
|
851
|
-
typename__: str = Field(alias="__typename")
|
|
852
|
-
is_granted: bool = Field(alias="isGranted")
|
|
853
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
854
|
-
alias="accessDeniedReason", default=None
|
|
855
|
-
)
|
|
856
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
857
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
858
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
859
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
860
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
861
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
862
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
863
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
864
|
-
alias="entitlementUpdatedAt", default=None
|
|
865
|
-
)
|
|
866
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
867
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
868
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
869
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
870
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
871
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
872
|
-
alias="resetPeriod", default=None
|
|
873
|
-
)
|
|
874
|
-
reset_period_configuration: Optional[
|
|
875
|
-
Annotated[
|
|
876
|
-
Union[
|
|
877
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
878
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
879
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
880
|
-
],
|
|
881
|
-
Field(discriminator="typename__"),
|
|
882
|
-
]
|
|
883
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
884
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
888
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
889
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
890
|
-
alias="monthlyAccordingTo", default=None
|
|
891
|
-
)
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
895
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
896
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
897
|
-
alias="weeklyAccordingTo", default=None
|
|
898
|
-
)
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
902
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
903
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
904
|
-
alias="yearlyAccordingTo", default=None
|
|
905
|
-
)
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
909
|
-
pass
|
|
910
|
-
|
|
911
|
-
|
|
912
912
|
class ApplySubscriptionFragment(BaseModel):
|
|
913
913
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
914
914
|
default=None
|
|
@@ -1249,6 +1249,16 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1249
1249
|
pass
|
|
1250
1250
|
|
|
1251
1251
|
|
|
1252
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1253
|
+
display_name: str = Field(alias="displayName")
|
|
1254
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1255
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1256
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1257
|
+
period: PromotionalEntitlementPeriod
|
|
1258
|
+
start_date: Any = Field(alias="startDate")
|
|
1259
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1260
|
+
|
|
1261
|
+
|
|
1252
1262
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1253
1263
|
addon_id: str = Field(alias="addonId")
|
|
1254
1264
|
description: Optional[str] = Field(default=None)
|
|
@@ -1256,6 +1266,33 @@ class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
|
1256
1266
|
quantity: int
|
|
1257
1267
|
|
|
1258
1268
|
|
|
1269
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1270
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1271
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1272
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1273
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1274
|
+
default=None
|
|
1275
|
+
)
|
|
1276
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1277
|
+
default=None
|
|
1278
|
+
)
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1282
|
+
amount: float
|
|
1283
|
+
currency: Currency
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1287
|
+
id: str
|
|
1288
|
+
ref_id: str = Field(alias="refId")
|
|
1289
|
+
display_name: str = Field(alias="displayName")
|
|
1290
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1291
|
+
feature_units_plural: Optional[str] = Field(
|
|
1292
|
+
alias="featureUnitsPlural", default=None
|
|
1293
|
+
)
|
|
1294
|
+
|
|
1295
|
+
|
|
1259
1296
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1260
1297
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1261
1298
|
alias="subscriptionScheduleType"
|
|
@@ -1425,33 +1462,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1425
1462
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1426
1463
|
|
|
1427
1464
|
|
|
1428
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1429
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1430
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1431
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1432
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1433
|
-
default=None
|
|
1434
|
-
)
|
|
1435
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1436
|
-
default=None
|
|
1437
|
-
)
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1441
|
-
amount: float
|
|
1442
|
-
currency: Currency
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1446
|
-
id: str
|
|
1447
|
-
ref_id: str = Field(alias="refId")
|
|
1448
|
-
display_name: str = Field(alias="displayName")
|
|
1449
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1450
|
-
feature_units_plural: Optional[str] = Field(
|
|
1451
|
-
alias="featureUnitsPlural", default=None
|
|
1452
|
-
)
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
1465
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1456
1466
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1457
1467
|
plan_id: str = Field(alias="planId")
|
|
@@ -1548,16 +1558,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1548
1558
|
pass
|
|
1549
1559
|
|
|
1550
1560
|
|
|
1551
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1552
|
-
display_name: str = Field(alias="displayName")
|
|
1553
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1554
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1555
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1556
|
-
period: PromotionalEntitlementPeriod
|
|
1557
|
-
start_date: Any = Field(alias="startDate")
|
|
1558
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
1561
|
class CustomerPortalFragment(BaseModel):
|
|
1562
1562
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1563
1563
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2763,23 +2763,23 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2763
2763
|
|
|
2764
2764
|
AddonDependencyFragment.model_rebuild()
|
|
2765
2765
|
PriceTierFragment.model_rebuild()
|
|
2766
|
-
PriceFragment.model_rebuild()
|
|
2767
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2768
2766
|
OveragePriceFragment.model_rebuild()
|
|
2767
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2768
|
+
PriceFragment.model_rebuild()
|
|
2769
2769
|
AddonFragment.model_rebuild()
|
|
2770
|
-
|
|
2770
|
+
FeatureFragment.model_rebuild()
|
|
2771
|
+
EntitlementFragment.model_rebuild()
|
|
2772
|
+
CustomerResourceFragment.model_rebuild()
|
|
2773
|
+
TotalPriceFragment.model_rebuild()
|
|
2771
2774
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2772
|
-
|
|
2775
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2773
2776
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2777
|
+
ProductFragment.model_rebuild()
|
|
2774
2778
|
PlanFragment.model_rebuild()
|
|
2775
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2776
|
-
CustomerResourceFragment.model_rebuild()
|
|
2777
2779
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2778
|
-
|
|
2780
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2779
2781
|
SlimCustomerFragment.model_rebuild()
|
|
2780
2782
|
SubscriptionFragment.model_rebuild()
|
|
2781
|
-
FeatureFragment.model_rebuild()
|
|
2782
|
-
EntitlementFragment.model_rebuild()
|
|
2783
2783
|
ApplySubscriptionFragment.model_rebuild()
|
|
2784
2784
|
FontVariantFragment.model_rebuild()
|
|
2785
2785
|
TypographyConfigurationFragment.model_rebuild()
|
|
@@ -2791,11 +2791,11 @@ CheckoutStateFragment.model_rebuild()
|
|
|
2791
2791
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2792
2792
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2793
2793
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2794
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2794
2795
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2795
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2796
2796
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2797
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2797
2798
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2798
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2799
2799
|
CustomerPortalFragment.model_rebuild()
|
|
2800
2800
|
CustomerStatisticsFragment.model_rebuild()
|
|
2801
2801
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -1318,6 +1318,12 @@ class DateFieldComparisonBetween(BaseModel):
|
|
|
1318
1318
|
upper: Any
|
|
1319
1319
|
|
|
1320
1320
|
|
|
1321
|
+
class DefaultSSORolesInput(BaseModel):
|
|
1322
|
+
account_role: AccountAccessRole = Field(alias="accountRole")
|
|
1323
|
+
non_production_role: EnvironmentAccessRole = Field(alias="nonProductionRole")
|
|
1324
|
+
production_role: EnvironmentAccessRole = Field(alias="productionRole")
|
|
1325
|
+
|
|
1326
|
+
|
|
1321
1327
|
class DefaultTrialConfigInputDTO(BaseModel):
|
|
1322
1328
|
budget: Optional["BudgetConfigurationInput"] = None
|
|
1323
1329
|
duration: Optional[float] = None
|
|
@@ -4217,8 +4223,10 @@ class UnitTransformationInput(BaseModel):
|
|
|
4217
4223
|
|
|
4218
4224
|
|
|
4219
4225
|
class UpdateAccountInput(BaseModel):
|
|
4226
|
+
default_sso_roles: Optional["DefaultSSORolesInput"] = Field(
|
|
4227
|
+
alias="defaultSSORoles", default=None
|
|
4228
|
+
)
|
|
4220
4229
|
display_name: str = Field(alias="displayName")
|
|
4221
|
-
id: Optional[str] = None
|
|
4222
4230
|
subscription_billing_anchor: Optional[BillingAnchor] = Field(
|
|
4223
4231
|
alias="subscriptionBillingAnchor", default=None
|
|
4224
4232
|
)
|
|
@@ -106,7 +106,7 @@ 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=RX-WkpVRg1gS6lEu2pAil9fC8pa4QoOWo9ConicgD5c,68882
|
|
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
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=sAWkIRKUluDgemnIRIPpRnCf49mbnaTUKOc_OxDO3NY,3415
|
|
|
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=MJAXHgC6L1Bq71qvdh_mRFkqyKVud_U7jhd92TKnddg,100553
|
|
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=7f2jWQdoRUFta-Cxh2752Xj-9NLOXjWSshXnnL-XvKQ,190327
|
|
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.296.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.296.0.dist-info/METADATA,sha256=zlDrhBXFi__C79KUKYfb8f5lkrnHf9YD63mQd_9vaH0,2258
|
|
165
|
+
stigg_api_client_v2-2.296.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.296.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|