stigg-api-client-v2 2.314.2__py3-none-any.whl → 2.315.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 +1 -0
- stigg/generated/fragments.py +252 -252
- {stigg_api_client_v2-2.314.2.dist-info → stigg_api_client_v2-2.315.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.314.2.dist-info → stigg_api_client_v2-2.315.0.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-2.314.2.dist-info → stigg_api_client_v2-2.315.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.314.2.dist-info → stigg_api_client_v2-2.315.0.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -436,6 +436,7 @@ class ErrorCode(str, Enum):
|
|
|
436
436
|
DraftAddonCantBeArchived = "DraftAddonCantBeArchived"
|
|
437
437
|
DraftPlanCantBeArchived = "DraftPlanCantBeArchived"
|
|
438
438
|
DuplicateAddonProvisionedError = "DuplicateAddonProvisionedError"
|
|
439
|
+
DuplicateIntegrationNotAllowed = "DuplicateIntegrationNotAllowed"
|
|
439
440
|
DuplicateProductValidationError = "DuplicateProductValidationError"
|
|
440
441
|
DuplicatedEntityNotAllowed = "DuplicatedEntityNotAllowed"
|
|
441
442
|
EditAllowedOnDraftPackageOnlyError = "EditAllowedOnDraftPackageOnlyError"
|
stigg/generated/fragments.py
CHANGED
|
@@ -59,39 +59,6 @@ class AddonDependencyFragment(BaseModel):
|
|
|
59
59
|
description: Optional[str] = Field(default=None)
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
class PackageEntitlementFragment(BaseModel):
|
|
63
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
64
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
65
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
66
|
-
feature_id: str = Field(alias="featureId")
|
|
67
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
68
|
-
alias="resetPeriod", default=None
|
|
69
|
-
)
|
|
70
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
71
|
-
alias="hiddenFromWidgets", default=None
|
|
72
|
-
)
|
|
73
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
74
|
-
display_name_override: Optional[str] = Field(
|
|
75
|
-
alias="displayNameOverride", default=None
|
|
76
|
-
)
|
|
77
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
81
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
82
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
83
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
84
|
-
feature_units_plural: Optional[str] = Field(
|
|
85
|
-
alias="featureUnitsPlural", default=None
|
|
86
|
-
)
|
|
87
|
-
display_name: str = Field(alias="displayName")
|
|
88
|
-
description: Optional[str] = Field(default=None)
|
|
89
|
-
ref_id: str = Field(alias="refId")
|
|
90
|
-
additional_meta_data: Optional[Any] = Field(
|
|
91
|
-
alias="additionalMetaData", default=None
|
|
92
|
-
)
|
|
93
|
-
|
|
94
|
-
|
|
95
62
|
class PriceTierFragment(BaseModel):
|
|
96
63
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
97
64
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -148,6 +115,39 @@ class PriceFragmentFeature(BaseModel):
|
|
|
148
115
|
description: Optional[str] = Field(default=None)
|
|
149
116
|
|
|
150
117
|
|
|
118
|
+
class PackageEntitlementFragment(BaseModel):
|
|
119
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
120
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
121
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
122
|
+
feature_id: str = Field(alias="featureId")
|
|
123
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
124
|
+
alias="resetPeriod", default=None
|
|
125
|
+
)
|
|
126
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
127
|
+
alias="hiddenFromWidgets", default=None
|
|
128
|
+
)
|
|
129
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
130
|
+
display_name_override: Optional[str] = Field(
|
|
131
|
+
alias="displayNameOverride", default=None
|
|
132
|
+
)
|
|
133
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
137
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
138
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
139
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
140
|
+
feature_units_plural: Optional[str] = Field(
|
|
141
|
+
alias="featureUnitsPlural", default=None
|
|
142
|
+
)
|
|
143
|
+
display_name: str = Field(alias="displayName")
|
|
144
|
+
description: Optional[str] = Field(default=None)
|
|
145
|
+
ref_id: str = Field(alias="refId")
|
|
146
|
+
additional_meta_data: Optional[Any] = Field(
|
|
147
|
+
alias="additionalMetaData", default=None
|
|
148
|
+
)
|
|
149
|
+
|
|
150
|
+
|
|
151
151
|
class OveragePriceFragment(BaseModel):
|
|
152
152
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
153
153
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -215,87 +215,44 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
215
215
|
pass
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
class
|
|
219
|
-
|
|
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
|
|
225
|
-
)
|
|
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
|
|
231
|
-
)
|
|
218
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
219
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
232
220
|
|
|
233
221
|
|
|
234
|
-
class
|
|
235
|
-
|
|
236
|
-
|
|
222
|
+
class TotalPriceFragment(BaseModel):
|
|
223
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
224
|
+
total: "TotalPriceFragmentTotal"
|
|
237
225
|
|
|
238
226
|
|
|
239
|
-
class
|
|
240
|
-
|
|
241
|
-
|
|
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)
|
|
227
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
228
|
+
amount: float
|
|
229
|
+
currency: Currency
|
|
274
230
|
|
|
275
231
|
|
|
276
|
-
class
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
alias="monthlyAccordingTo", default=None
|
|
280
|
-
)
|
|
232
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
233
|
+
amount: float
|
|
234
|
+
currency: Currency
|
|
281
235
|
|
|
282
236
|
|
|
283
|
-
class
|
|
284
|
-
|
|
285
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
286
|
-
alias="weeklyAccordingTo", default=None
|
|
287
|
-
)
|
|
237
|
+
class CustomerResourceFragment(BaseModel):
|
|
238
|
+
resource_id: str = Field(alias="resourceId")
|
|
288
239
|
|
|
289
240
|
|
|
290
|
-
class
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
241
|
+
class SlimCustomerFragment(BaseModel):
|
|
242
|
+
id: str
|
|
243
|
+
name: Optional[str] = Field(default=None)
|
|
244
|
+
email: Optional[str] = Field(default=None)
|
|
245
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
246
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
247
|
+
ref_id: str = Field(alias="refId")
|
|
248
|
+
customer_id: str = Field(alias="customerId")
|
|
249
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
250
|
+
additional_meta_data: Optional[Any] = Field(
|
|
251
|
+
alias="additionalMetaData", default=None
|
|
252
|
+
)
|
|
253
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
254
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
294
255
|
)
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
298
|
-
pass
|
|
299
256
|
|
|
300
257
|
|
|
301
258
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -460,25 +417,31 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
460
417
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
461
418
|
|
|
462
419
|
|
|
463
|
-
class
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
class SlimCustomerFragment(BaseModel):
|
|
468
|
-
id: str
|
|
469
|
-
name: Optional[str] = Field(default=None)
|
|
470
|
-
email: Optional[str] = Field(default=None)
|
|
471
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
420
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
421
|
+
billing_id: str = Field(alias="billingId")
|
|
422
|
+
status: SubscriptionInvoiceStatus
|
|
423
|
+
created_at: Any = Field(alias="createdAt")
|
|
472
424
|
updated_at: Any = Field(alias="updatedAt")
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
425
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
426
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
427
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
428
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
429
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
430
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
431
|
+
alias="billingReason", default=None
|
|
478
432
|
)
|
|
479
|
-
|
|
480
|
-
|
|
433
|
+
currency: Optional[str] = Field(default=None)
|
|
434
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
435
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
436
|
+
alias="subTotalExcludingTax", default=None
|
|
437
|
+
)
|
|
438
|
+
total: Optional[float] = Field(default=None)
|
|
439
|
+
total_excluding_tax: Optional[float] = Field(
|
|
440
|
+
alias="totalExcludingTax", default=None
|
|
481
441
|
)
|
|
442
|
+
tax: Optional[float] = Field(default=None)
|
|
443
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
444
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
482
445
|
|
|
483
446
|
|
|
484
447
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
@@ -635,52 +598,6 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
635
598
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
636
599
|
|
|
637
600
|
|
|
638
|
-
class TotalPriceFragment(BaseModel):
|
|
639
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
640
|
-
total: "TotalPriceFragmentTotal"
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
644
|
-
amount: float
|
|
645
|
-
currency: Currency
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
649
|
-
amount: float
|
|
650
|
-
currency: Currency
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
class CustomerResourceFragment(BaseModel):
|
|
654
|
-
resource_id: str = Field(alias="resourceId")
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
658
|
-
billing_id: str = Field(alias="billingId")
|
|
659
|
-
status: SubscriptionInvoiceStatus
|
|
660
|
-
created_at: Any = Field(alias="createdAt")
|
|
661
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
662
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
663
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
664
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
665
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
666
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
667
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
668
|
-
alias="billingReason", default=None
|
|
669
|
-
)
|
|
670
|
-
currency: Optional[str] = Field(default=None)
|
|
671
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
672
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
673
|
-
alias="subTotalExcludingTax", default=None
|
|
674
|
-
)
|
|
675
|
-
total: Optional[float] = Field(default=None)
|
|
676
|
-
total_excluding_tax: Optional[float] = Field(
|
|
677
|
-
alias="totalExcludingTax", default=None
|
|
678
|
-
)
|
|
679
|
-
tax: Optional[float] = Field(default=None)
|
|
680
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
681
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
682
|
-
|
|
683
|
-
|
|
684
601
|
class ProductFragment(BaseModel):
|
|
685
602
|
ref_id: str = Field(alias="refId")
|
|
686
603
|
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
@@ -910,6 +827,89 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
910
827
|
pass
|
|
911
828
|
|
|
912
829
|
|
|
830
|
+
class FeatureFragment(BaseModel):
|
|
831
|
+
typename__: str = Field(alias="__typename")
|
|
832
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
833
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
834
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
835
|
+
feature_units_plural: Optional[str] = Field(
|
|
836
|
+
alias="featureUnitsPlural", default=None
|
|
837
|
+
)
|
|
838
|
+
description: Optional[str] = Field(default=None)
|
|
839
|
+
display_name: str = Field(alias="displayName")
|
|
840
|
+
ref_id: str = Field(alias="refId")
|
|
841
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
842
|
+
alias="unitTransformation", default=None
|
|
843
|
+
)
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
847
|
+
divide: float
|
|
848
|
+
round: UnitTransformationRound
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
class EntitlementFragment(BaseModel):
|
|
852
|
+
typename__: str = Field(alias="__typename")
|
|
853
|
+
is_granted: bool = Field(alias="isGranted")
|
|
854
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
855
|
+
alias="accessDeniedReason", default=None
|
|
856
|
+
)
|
|
857
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
858
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
859
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
860
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
861
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
862
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
863
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
864
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
865
|
+
alias="entitlementUpdatedAt", default=None
|
|
866
|
+
)
|
|
867
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
868
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
869
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
870
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
871
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
872
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
873
|
+
alias="resetPeriod", default=None
|
|
874
|
+
)
|
|
875
|
+
reset_period_configuration: Optional[
|
|
876
|
+
Annotated[
|
|
877
|
+
Union[
|
|
878
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
879
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
880
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
881
|
+
],
|
|
882
|
+
Field(discriminator="typename__"),
|
|
883
|
+
]
|
|
884
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
885
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
889
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
890
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
891
|
+
alias="monthlyAccordingTo", default=None
|
|
892
|
+
)
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
896
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
897
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
898
|
+
alias="weeklyAccordingTo", default=None
|
|
899
|
+
)
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
903
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
904
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
905
|
+
alias="yearlyAccordingTo", default=None
|
|
906
|
+
)
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
910
|
+
pass
|
|
911
|
+
|
|
912
|
+
|
|
913
913
|
class ApplySubscriptionFragment(BaseModel):
|
|
914
914
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
915
915
|
default=None
|
|
@@ -1250,50 +1250,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1250
1250
|
pass
|
|
1251
1251
|
|
|
1252
1252
|
|
|
1253
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1254
|
-
display_name: str = Field(alias="displayName")
|
|
1255
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1256
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1257
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1258
|
-
period: PromotionalEntitlementPeriod
|
|
1259
|
-
start_date: Any = Field(alias="startDate")
|
|
1260
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1264
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1265
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1266
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1267
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1268
|
-
default=None
|
|
1269
|
-
)
|
|
1270
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1271
|
-
default=None
|
|
1272
|
-
)
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1276
|
-
amount: float
|
|
1277
|
-
currency: Currency
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1281
|
-
id: str
|
|
1282
|
-
ref_id: str = Field(alias="refId")
|
|
1283
|
-
display_name: str = Field(alias="displayName")
|
|
1284
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1285
|
-
feature_units_plural: Optional[str] = Field(
|
|
1286
|
-
alias="featureUnitsPlural", default=None
|
|
1287
|
-
)
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1291
|
-
addon_id: str = Field(alias="addonId")
|
|
1292
|
-
description: Optional[str] = Field(default=None)
|
|
1293
|
-
display_name: str = Field(alias="displayName")
|
|
1294
|
-
quantity: int
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
1253
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1298
1254
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1299
1255
|
alias="subscriptionScheduleType"
|
|
@@ -1463,6 +1419,40 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1463
1419
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1464
1420
|
|
|
1465
1421
|
|
|
1422
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1423
|
+
addon_id: str = Field(alias="addonId")
|
|
1424
|
+
description: Optional[str] = Field(default=None)
|
|
1425
|
+
display_name: str = Field(alias="displayName")
|
|
1426
|
+
quantity: int
|
|
1427
|
+
|
|
1428
|
+
|
|
1429
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1430
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1431
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1432
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1433
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1434
|
+
default=None
|
|
1435
|
+
)
|
|
1436
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1437
|
+
default=None
|
|
1438
|
+
)
|
|
1439
|
+
|
|
1440
|
+
|
|
1441
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1442
|
+
amount: float
|
|
1443
|
+
currency: Currency
|
|
1444
|
+
|
|
1445
|
+
|
|
1446
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1447
|
+
id: str
|
|
1448
|
+
ref_id: str = Field(alias="refId")
|
|
1449
|
+
display_name: str = Field(alias="displayName")
|
|
1450
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1451
|
+
feature_units_plural: Optional[str] = Field(
|
|
1452
|
+
alias="featureUnitsPlural", default=None
|
|
1453
|
+
)
|
|
1454
|
+
|
|
1455
|
+
|
|
1466
1456
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1467
1457
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1468
1458
|
plan_id: str = Field(alias="planId")
|
|
@@ -1559,6 +1549,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1559
1549
|
pass
|
|
1560
1550
|
|
|
1561
1551
|
|
|
1552
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1553
|
+
display_name: str = Field(alias="displayName")
|
|
1554
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1555
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1556
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1557
|
+
period: PromotionalEntitlementPeriod
|
|
1558
|
+
start_date: Any = Field(alias="startDate")
|
|
1559
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1560
|
+
|
|
1561
|
+
|
|
1562
1562
|
class CustomerPortalFragment(BaseModel):
|
|
1563
1563
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1564
1564
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1786,39 +1786,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1786
1786
|
description: Optional[str] = Field(default=None)
|
|
1787
1787
|
|
|
1788
1788
|
|
|
1789
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1790
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1791
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1792
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1793
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1794
|
-
alias="resetPeriod", default=None
|
|
1795
|
-
)
|
|
1796
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1797
|
-
alias="hiddenFromWidgets", default=None
|
|
1798
|
-
)
|
|
1799
|
-
display_name_override: Optional[str] = Field(
|
|
1800
|
-
alias="displayNameOverride", default=None
|
|
1801
|
-
)
|
|
1802
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1803
|
-
default=None
|
|
1804
|
-
)
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1808
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1809
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1810
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1811
|
-
feature_units_plural: Optional[str] = Field(
|
|
1812
|
-
alias="featureUnitsPlural", default=None
|
|
1813
|
-
)
|
|
1814
|
-
display_name: str = Field(alias="displayName")
|
|
1815
|
-
description: Optional[str] = Field(default=None)
|
|
1816
|
-
ref_id: str = Field(alias="refId")
|
|
1817
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1818
|
-
alias="additionalMetaData", default=None
|
|
1819
|
-
)
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
1789
|
class MockPaywallPriceFragment(BaseModel):
|
|
1823
1790
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1824
1791
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1853,6 +1820,39 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1853
1820
|
display_name: str = Field(alias="displayName")
|
|
1854
1821
|
|
|
1855
1822
|
|
|
1823
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1824
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1825
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1826
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1827
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1828
|
+
alias="resetPeriod", default=None
|
|
1829
|
+
)
|
|
1830
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1831
|
+
alias="hiddenFromWidgets", default=None
|
|
1832
|
+
)
|
|
1833
|
+
display_name_override: Optional[str] = Field(
|
|
1834
|
+
alias="displayNameOverride", default=None
|
|
1835
|
+
)
|
|
1836
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1837
|
+
default=None
|
|
1838
|
+
)
|
|
1839
|
+
|
|
1840
|
+
|
|
1841
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1842
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1843
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1844
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1845
|
+
feature_units_plural: Optional[str] = Field(
|
|
1846
|
+
alias="featureUnitsPlural", default=None
|
|
1847
|
+
)
|
|
1848
|
+
display_name: str = Field(alias="displayName")
|
|
1849
|
+
description: Optional[str] = Field(default=None)
|
|
1850
|
+
ref_id: str = Field(alias="refId")
|
|
1851
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1852
|
+
alias="additionalMetaData", default=None
|
|
1853
|
+
)
|
|
1854
|
+
|
|
1855
|
+
|
|
1856
1856
|
class MockPaywallAddonFragment(BaseModel):
|
|
1857
1857
|
ref_id: str = Field(alias="refId")
|
|
1858
1858
|
display_name: str = Field(alias="displayName")
|
|
@@ -2763,24 +2763,24 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2763
2763
|
|
|
2764
2764
|
|
|
2765
2765
|
AddonDependencyFragment.model_rebuild()
|
|
2766
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2767
2766
|
PriceTierFragment.model_rebuild()
|
|
2768
2767
|
PriceFragment.model_rebuild()
|
|
2768
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2769
2769
|
OveragePriceFragment.model_rebuild()
|
|
2770
2770
|
AddonFragment.model_rebuild()
|
|
2771
|
-
FeatureFragment.model_rebuild()
|
|
2772
|
-
EntitlementFragment.model_rebuild()
|
|
2773
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2774
2771
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2775
|
-
SlimCustomerFragment.model_rebuild()
|
|
2776
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2777
2772
|
TotalPriceFragment.model_rebuild()
|
|
2778
2773
|
CustomerResourceFragment.model_rebuild()
|
|
2774
|
+
SlimCustomerFragment.model_rebuild()
|
|
2775
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2779
2776
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2777
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2780
2778
|
ProductFragment.model_rebuild()
|
|
2781
2779
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2782
2780
|
PlanFragment.model_rebuild()
|
|
2783
2781
|
SubscriptionFragment.model_rebuild()
|
|
2782
|
+
FeatureFragment.model_rebuild()
|
|
2783
|
+
EntitlementFragment.model_rebuild()
|
|
2784
2784
|
ApplySubscriptionFragment.model_rebuild()
|
|
2785
2785
|
FontVariantFragment.model_rebuild()
|
|
2786
2786
|
TypographyConfigurationFragment.model_rebuild()
|
|
@@ -2792,11 +2792,11 @@ CheckoutStateFragment.model_rebuild()
|
|
|
2792
2792
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2793
2793
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2794
2794
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2795
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2796
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2797
|
-
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2798
2795
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2796
|
+
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2797
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2799
2798
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2799
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2800
2800
|
CustomerPortalFragment.model_rebuild()
|
|
2801
2801
|
CustomerStatisticsFragment.model_rebuild()
|
|
2802
2802
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2806,8 +2806,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2806
2806
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2807
2807
|
LayoutConfigurationFragment.model_rebuild()
|
|
2808
2808
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2809
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2810
2809
|
MockPaywallPriceFragment.model_rebuild()
|
|
2810
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2811
2811
|
MockPaywallAddonFragment.model_rebuild()
|
|
2812
2812
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2813
2813
|
MockPaywallPlanFragment.model_rebuild()
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=AHebP8X0jl5noIxkZwMgE-EOE3e5lv-tGrCj2xDt58c,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=-KENNOE-xsKr2JErSh1nQWK3pBt0DrPbIM45Tg8PCGE,34476
|
|
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=bo8H-oBmmId3lZ7gIYrfDy7SXs6-GYLLAxqrf1SZLCc,100632
|
|
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
|
|
@@ -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.315.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.315.0.dist-info/METADATA,sha256=TynxC5GP_uaaq_JT4itAia5LyeV1ER_VdCPdWpb6uDQ,2258
|
|
165
|
+
stigg_api_client_v2-2.315.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.315.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|