stigg-api-client-v2 3.100.0__py3-none-any.whl → 3.101.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 +14 -4
- stigg/generated/async_client.py +67 -15
- stigg/generated/client.py +67 -15
- stigg/generated/fragments.py +191 -151
- stigg/generated/input_types.py +2 -1
- {stigg_api_client_v2-3.100.0.dist-info → stigg_api_client_v2-3.101.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.100.0.dist-info → stigg_api_client_v2-3.101.0.dist-info}/RECORD +9 -9
- {stigg_api_client_v2-3.100.0.dist-info → stigg_api_client_v2-3.101.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.100.0.dist-info → stigg_api_client_v2-3.101.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -193,13 +193,17 @@ from .fragments import (
|
|
|
193
193
|
CouponFragment,
|
|
194
194
|
CouponFragmentAmountsOff,
|
|
195
195
|
CouponFragmentSyncStates,
|
|
196
|
+
CreditBalanceFragment,
|
|
197
|
+
CreditBalanceFragmentCurrency,
|
|
198
|
+
CreditBalanceFragmentCurrencyUnits,
|
|
199
|
+
CreditBalanceUpdatedPayload,
|
|
200
|
+
CreditBalanceUpdatedPayloadCurrency,
|
|
201
|
+
CreditBalanceUpdatedPayloadCurrencyUnits,
|
|
196
202
|
CreditGrantFragment,
|
|
197
203
|
CreditGrantFragmentCost,
|
|
198
204
|
CreditLedgerFragment,
|
|
199
205
|
CreditsBalanceSummaryFragment,
|
|
200
206
|
CreditsBalanceSummaryFragmentBalances,
|
|
201
|
-
CreditsBalanceSummaryFragmentBalancesCurrency,
|
|
202
|
-
CreditsBalanceSummaryFragmentBalancesCurrencyUnits,
|
|
203
207
|
CreditUsageFragment,
|
|
204
208
|
CreditUsageFragmentCurrency,
|
|
205
209
|
CreditUsageFragmentSeries,
|
|
@@ -268,6 +272,7 @@ from .fragments import (
|
|
|
268
272
|
CustomerWithSubscriptionsFragment,
|
|
269
273
|
CustomerWithSubscriptionsFragmentSubscriptions,
|
|
270
274
|
EntitlementFragment,
|
|
275
|
+
EntitlementFragmentCreditRate,
|
|
271
276
|
EntitlementFragmentFeature,
|
|
272
277
|
EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig,
|
|
273
278
|
EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig,
|
|
@@ -1194,7 +1199,13 @@ __all__ = [
|
|
|
1194
1199
|
"CreateSubscription",
|
|
1195
1200
|
"CreateSubscriptionCreateSubscription",
|
|
1196
1201
|
"CreateWorkflowTriggerInput",
|
|
1202
|
+
"CreditBalanceFragment",
|
|
1203
|
+
"CreditBalanceFragmentCurrency",
|
|
1204
|
+
"CreditBalanceFragmentCurrencyUnits",
|
|
1197
1205
|
"CreditBalanceSummaryInput",
|
|
1206
|
+
"CreditBalanceUpdatedPayload",
|
|
1207
|
+
"CreditBalanceUpdatedPayloadCurrency",
|
|
1208
|
+
"CreditBalanceUpdatedPayloadCurrencyUnits",
|
|
1198
1209
|
"CreditGrantFragment",
|
|
1199
1210
|
"CreditGrantFragmentCost",
|
|
1200
1211
|
"CreditGrantInput",
|
|
@@ -1211,8 +1222,6 @@ __all__ = [
|
|
|
1211
1222
|
"CreditUsageTimeRange",
|
|
1212
1223
|
"CreditsBalanceSummaryFragment",
|
|
1213
1224
|
"CreditsBalanceSummaryFragmentBalances",
|
|
1214
|
-
"CreditsBalanceSummaryFragmentBalancesCurrency",
|
|
1215
|
-
"CreditsBalanceSummaryFragmentBalancesCurrencyUnits",
|
|
1216
1225
|
"Currency",
|
|
1217
1226
|
"CursorPaging",
|
|
1218
1227
|
"CustomCurrencyInput",
|
|
@@ -1336,6 +1345,7 @@ __all__ = [
|
|
|
1336
1345
|
"EntitlementCheckRequested",
|
|
1337
1346
|
"EntitlementCheckResult",
|
|
1338
1347
|
"EntitlementFragment",
|
|
1348
|
+
"EntitlementFragmentCreditRate",
|
|
1339
1349
|
"EntitlementFragmentFeature",
|
|
1340
1350
|
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
1341
1351
|
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
stigg/generated/async_client.py
CHANGED
|
@@ -160,6 +160,11 @@ class AsyncClient(AsyncBaseClient):
|
|
|
160
160
|
feature {
|
|
161
161
|
...FeatureFragment
|
|
162
162
|
}
|
|
163
|
+
creditRate {
|
|
164
|
+
amount
|
|
165
|
+
currencyId
|
|
166
|
+
}
|
|
167
|
+
validUntil
|
|
163
168
|
}
|
|
164
169
|
|
|
165
170
|
fragment FeatureFragment on EntitlementFeature {
|
|
@@ -192,6 +197,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
192
197
|
creditRate {
|
|
193
198
|
amount
|
|
194
199
|
customCurrencyId
|
|
200
|
+
currencyId
|
|
195
201
|
}
|
|
196
202
|
tiersMode
|
|
197
203
|
tiers {
|
|
@@ -579,6 +585,11 @@ class AsyncClient(AsyncBaseClient):
|
|
|
579
585
|
feature {
|
|
580
586
|
...FeatureFragment
|
|
581
587
|
}
|
|
588
|
+
creditRate {
|
|
589
|
+
amount
|
|
590
|
+
currencyId
|
|
591
|
+
}
|
|
592
|
+
validUntil
|
|
582
593
|
}
|
|
583
594
|
|
|
584
595
|
fragment FeatureFragment on EntitlementFeature {
|
|
@@ -611,6 +622,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
611
622
|
creditRate {
|
|
612
623
|
amount
|
|
613
624
|
customCurrencyId
|
|
625
|
+
currencyId
|
|
614
626
|
}
|
|
615
627
|
tiersMode
|
|
616
628
|
tiers {
|
|
@@ -840,6 +852,11 @@ class AsyncClient(AsyncBaseClient):
|
|
|
840
852
|
feature {
|
|
841
853
|
...FeatureFragment
|
|
842
854
|
}
|
|
855
|
+
creditRate {
|
|
856
|
+
amount
|
|
857
|
+
currencyId
|
|
858
|
+
}
|
|
859
|
+
validUntil
|
|
843
860
|
}
|
|
844
861
|
|
|
845
862
|
fragment FeatureFragment on EntitlementFeature {
|
|
@@ -974,6 +991,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
974
991
|
creditRate {
|
|
975
992
|
amount
|
|
976
993
|
customCurrencyId
|
|
994
|
+
currencyId
|
|
977
995
|
}
|
|
978
996
|
tiersMode
|
|
979
997
|
tiers {
|
|
@@ -1287,6 +1305,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
1287
1305
|
creditRate {
|
|
1288
1306
|
amount
|
|
1289
1307
|
customCurrencyId
|
|
1308
|
+
currencyId
|
|
1290
1309
|
}
|
|
1291
1310
|
tiersMode
|
|
1292
1311
|
tiers {
|
|
@@ -1440,6 +1459,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
1440
1459
|
creditRate {
|
|
1441
1460
|
amount
|
|
1442
1461
|
customCurrencyId
|
|
1462
|
+
currencyId
|
|
1443
1463
|
}
|
|
1444
1464
|
tiersMode
|
|
1445
1465
|
tiers {
|
|
@@ -1976,6 +1996,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
1976
1996
|
creditRate {
|
|
1977
1997
|
amount
|
|
1978
1998
|
customCurrencyId
|
|
1999
|
+
currencyId
|
|
1979
2000
|
}
|
|
1980
2001
|
tiersMode
|
|
1981
2002
|
tiers {
|
|
@@ -2260,6 +2281,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
2260
2281
|
creditRate {
|
|
2261
2282
|
amount
|
|
2262
2283
|
customCurrencyId
|
|
2284
|
+
currencyId
|
|
2263
2285
|
}
|
|
2264
2286
|
tiersMode
|
|
2265
2287
|
tiers {
|
|
@@ -2489,6 +2511,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
2489
2511
|
creditRate {
|
|
2490
2512
|
amount
|
|
2491
2513
|
customCurrencyId
|
|
2514
|
+
currencyId
|
|
2492
2515
|
}
|
|
2493
2516
|
tiersMode
|
|
2494
2517
|
tiers {
|
|
@@ -2642,6 +2665,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
2642
2665
|
creditRate {
|
|
2643
2666
|
amount
|
|
2644
2667
|
customCurrencyId
|
|
2668
|
+
currencyId
|
|
2645
2669
|
}
|
|
2646
2670
|
tiersMode
|
|
2647
2671
|
tiers {
|
|
@@ -2795,6 +2819,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
2795
2819
|
creditRate {
|
|
2796
2820
|
amount
|
|
2797
2821
|
customCurrencyId
|
|
2822
|
+
currencyId
|
|
2798
2823
|
}
|
|
2799
2824
|
tiersMode
|
|
2800
2825
|
tiers {
|
|
@@ -3341,6 +3366,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
3341
3366
|
creditRate {
|
|
3342
3367
|
amount
|
|
3343
3368
|
customCurrencyId
|
|
3369
|
+
currencyId
|
|
3344
3370
|
}
|
|
3345
3371
|
tiersMode
|
|
3346
3372
|
tiers {
|
|
@@ -3803,6 +3829,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
3803
3829
|
creditRate {
|
|
3804
3830
|
amount
|
|
3805
3831
|
customCurrencyId
|
|
3832
|
+
currencyId
|
|
3806
3833
|
}
|
|
3807
3834
|
tiersMode
|
|
3808
3835
|
tiers {
|
|
@@ -4345,6 +4372,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
4345
4372
|
creditRate {
|
|
4346
4373
|
amount
|
|
4347
4374
|
customCurrencyId
|
|
4375
|
+
currencyId
|
|
4348
4376
|
}
|
|
4349
4377
|
tiersMode
|
|
4350
4378
|
tiers {
|
|
@@ -4929,6 +4957,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
4929
4957
|
creditRate {
|
|
4930
4958
|
amount
|
|
4931
4959
|
customCurrencyId
|
|
4960
|
+
currencyId
|
|
4932
4961
|
}
|
|
4933
4962
|
tiersMode
|
|
4934
4963
|
tiers {
|
|
@@ -5250,6 +5279,11 @@ class AsyncClient(AsyncBaseClient):
|
|
|
5250
5279
|
feature {
|
|
5251
5280
|
...FeatureFragment
|
|
5252
5281
|
}
|
|
5282
|
+
creditRate {
|
|
5283
|
+
amount
|
|
5284
|
+
currencyId
|
|
5285
|
+
}
|
|
5286
|
+
validUntil
|
|
5253
5287
|
}
|
|
5254
5288
|
|
|
5255
5289
|
fragment FeatureFragment on EntitlementFeature {
|
|
@@ -5331,6 +5365,11 @@ class AsyncClient(AsyncBaseClient):
|
|
|
5331
5365
|
feature {
|
|
5332
5366
|
...FeatureFragment
|
|
5333
5367
|
}
|
|
5368
|
+
creditRate {
|
|
5369
|
+
amount
|
|
5370
|
+
currencyId
|
|
5371
|
+
}
|
|
5372
|
+
validUntil
|
|
5334
5373
|
}
|
|
5335
5374
|
|
|
5336
5375
|
fragment FeatureFragment on EntitlementFeature {
|
|
@@ -5409,6 +5448,11 @@ class AsyncClient(AsyncBaseClient):
|
|
|
5409
5448
|
feature {
|
|
5410
5449
|
...FeatureFragment
|
|
5411
5450
|
}
|
|
5451
|
+
creditRate {
|
|
5452
|
+
amount
|
|
5453
|
+
currencyId
|
|
5454
|
+
}
|
|
5455
|
+
validUntil
|
|
5412
5456
|
}
|
|
5413
5457
|
|
|
5414
5458
|
fragment FeatureFragment on EntitlementFeature {
|
|
@@ -5618,7 +5662,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
5618
5662
|
}
|
|
5619
5663
|
creditRate {
|
|
5620
5664
|
amount
|
|
5621
|
-
|
|
5665
|
+
currencyId
|
|
5622
5666
|
}
|
|
5623
5667
|
feature {
|
|
5624
5668
|
featureUnits
|
|
@@ -5664,7 +5708,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
5664
5708
|
}
|
|
5665
5709
|
creditRate {
|
|
5666
5710
|
amount
|
|
5667
|
-
|
|
5711
|
+
currencyId
|
|
5668
5712
|
}
|
|
5669
5713
|
feature {
|
|
5670
5714
|
id
|
|
@@ -6091,6 +6135,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
6091
6135
|
creditRate {
|
|
6092
6136
|
amount
|
|
6093
6137
|
customCurrencyId
|
|
6138
|
+
currencyId
|
|
6094
6139
|
}
|
|
6095
6140
|
tiersMode
|
|
6096
6141
|
tiers {
|
|
@@ -6531,7 +6576,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
6531
6576
|
}
|
|
6532
6577
|
creditRate {
|
|
6533
6578
|
amount
|
|
6534
|
-
|
|
6579
|
+
currencyId
|
|
6535
6580
|
}
|
|
6536
6581
|
tiersMode
|
|
6537
6582
|
tiers {
|
|
@@ -6694,21 +6739,28 @@ class AsyncClient(AsyncBaseClient):
|
|
|
6694
6739
|
}
|
|
6695
6740
|
}
|
|
6696
6741
|
|
|
6742
|
+
fragment CreditBalanceFragment on CreditBalance {
|
|
6743
|
+
customerId
|
|
6744
|
+
currency {
|
|
6745
|
+
currencyId
|
|
6746
|
+
displayName
|
|
6747
|
+
symbol
|
|
6748
|
+
units {
|
|
6749
|
+
singular
|
|
6750
|
+
plural
|
|
6751
|
+
}
|
|
6752
|
+
}
|
|
6753
|
+
currentBalance
|
|
6754
|
+
totalConsumed
|
|
6755
|
+
totalGranted
|
|
6756
|
+
resourceId
|
|
6757
|
+
validUntil
|
|
6758
|
+
}
|
|
6759
|
+
|
|
6697
6760
|
fragment CreditsBalanceSummaryFragment on CreditBalanceSummary {
|
|
6698
6761
|
customerId
|
|
6699
6762
|
balances {
|
|
6700
|
-
|
|
6701
|
-
currencyId
|
|
6702
|
-
displayName
|
|
6703
|
-
symbol
|
|
6704
|
-
units {
|
|
6705
|
-
singular
|
|
6706
|
-
plural
|
|
6707
|
-
}
|
|
6708
|
-
}
|
|
6709
|
-
currentBalance
|
|
6710
|
-
totalConsumed
|
|
6711
|
-
totalGranted
|
|
6763
|
+
...CreditBalanceFragment
|
|
6712
6764
|
}
|
|
6713
6765
|
}
|
|
6714
6766
|
"""
|
stigg/generated/client.py
CHANGED
|
@@ -160,6 +160,11 @@ class Client(BaseClient):
|
|
|
160
160
|
feature {
|
|
161
161
|
...FeatureFragment
|
|
162
162
|
}
|
|
163
|
+
creditRate {
|
|
164
|
+
amount
|
|
165
|
+
currencyId
|
|
166
|
+
}
|
|
167
|
+
validUntil
|
|
163
168
|
}
|
|
164
169
|
|
|
165
170
|
fragment FeatureFragment on EntitlementFeature {
|
|
@@ -192,6 +197,7 @@ class Client(BaseClient):
|
|
|
192
197
|
creditRate {
|
|
193
198
|
amount
|
|
194
199
|
customCurrencyId
|
|
200
|
+
currencyId
|
|
195
201
|
}
|
|
196
202
|
tiersMode
|
|
197
203
|
tiers {
|
|
@@ -579,6 +585,11 @@ class Client(BaseClient):
|
|
|
579
585
|
feature {
|
|
580
586
|
...FeatureFragment
|
|
581
587
|
}
|
|
588
|
+
creditRate {
|
|
589
|
+
amount
|
|
590
|
+
currencyId
|
|
591
|
+
}
|
|
592
|
+
validUntil
|
|
582
593
|
}
|
|
583
594
|
|
|
584
595
|
fragment FeatureFragment on EntitlementFeature {
|
|
@@ -611,6 +622,7 @@ class Client(BaseClient):
|
|
|
611
622
|
creditRate {
|
|
612
623
|
amount
|
|
613
624
|
customCurrencyId
|
|
625
|
+
currencyId
|
|
614
626
|
}
|
|
615
627
|
tiersMode
|
|
616
628
|
tiers {
|
|
@@ -840,6 +852,11 @@ class Client(BaseClient):
|
|
|
840
852
|
feature {
|
|
841
853
|
...FeatureFragment
|
|
842
854
|
}
|
|
855
|
+
creditRate {
|
|
856
|
+
amount
|
|
857
|
+
currencyId
|
|
858
|
+
}
|
|
859
|
+
validUntil
|
|
843
860
|
}
|
|
844
861
|
|
|
845
862
|
fragment FeatureFragment on EntitlementFeature {
|
|
@@ -974,6 +991,7 @@ class Client(BaseClient):
|
|
|
974
991
|
creditRate {
|
|
975
992
|
amount
|
|
976
993
|
customCurrencyId
|
|
994
|
+
currencyId
|
|
977
995
|
}
|
|
978
996
|
tiersMode
|
|
979
997
|
tiers {
|
|
@@ -1287,6 +1305,7 @@ class Client(BaseClient):
|
|
|
1287
1305
|
creditRate {
|
|
1288
1306
|
amount
|
|
1289
1307
|
customCurrencyId
|
|
1308
|
+
currencyId
|
|
1290
1309
|
}
|
|
1291
1310
|
tiersMode
|
|
1292
1311
|
tiers {
|
|
@@ -1440,6 +1459,7 @@ class Client(BaseClient):
|
|
|
1440
1459
|
creditRate {
|
|
1441
1460
|
amount
|
|
1442
1461
|
customCurrencyId
|
|
1462
|
+
currencyId
|
|
1443
1463
|
}
|
|
1444
1464
|
tiersMode
|
|
1445
1465
|
tiers {
|
|
@@ -1976,6 +1996,7 @@ class Client(BaseClient):
|
|
|
1976
1996
|
creditRate {
|
|
1977
1997
|
amount
|
|
1978
1998
|
customCurrencyId
|
|
1999
|
+
currencyId
|
|
1979
2000
|
}
|
|
1980
2001
|
tiersMode
|
|
1981
2002
|
tiers {
|
|
@@ -2258,6 +2279,7 @@ class Client(BaseClient):
|
|
|
2258
2279
|
creditRate {
|
|
2259
2280
|
amount
|
|
2260
2281
|
customCurrencyId
|
|
2282
|
+
currencyId
|
|
2261
2283
|
}
|
|
2262
2284
|
tiersMode
|
|
2263
2285
|
tiers {
|
|
@@ -2487,6 +2509,7 @@ class Client(BaseClient):
|
|
|
2487
2509
|
creditRate {
|
|
2488
2510
|
amount
|
|
2489
2511
|
customCurrencyId
|
|
2512
|
+
currencyId
|
|
2490
2513
|
}
|
|
2491
2514
|
tiersMode
|
|
2492
2515
|
tiers {
|
|
@@ -2640,6 +2663,7 @@ class Client(BaseClient):
|
|
|
2640
2663
|
creditRate {
|
|
2641
2664
|
amount
|
|
2642
2665
|
customCurrencyId
|
|
2666
|
+
currencyId
|
|
2643
2667
|
}
|
|
2644
2668
|
tiersMode
|
|
2645
2669
|
tiers {
|
|
@@ -2793,6 +2817,7 @@ class Client(BaseClient):
|
|
|
2793
2817
|
creditRate {
|
|
2794
2818
|
amount
|
|
2795
2819
|
customCurrencyId
|
|
2820
|
+
currencyId
|
|
2796
2821
|
}
|
|
2797
2822
|
tiersMode
|
|
2798
2823
|
tiers {
|
|
@@ -3337,6 +3362,7 @@ class Client(BaseClient):
|
|
|
3337
3362
|
creditRate {
|
|
3338
3363
|
amount
|
|
3339
3364
|
customCurrencyId
|
|
3365
|
+
currencyId
|
|
3340
3366
|
}
|
|
3341
3367
|
tiersMode
|
|
3342
3368
|
tiers {
|
|
@@ -3799,6 +3825,7 @@ class Client(BaseClient):
|
|
|
3799
3825
|
creditRate {
|
|
3800
3826
|
amount
|
|
3801
3827
|
customCurrencyId
|
|
3828
|
+
currencyId
|
|
3802
3829
|
}
|
|
3803
3830
|
tiersMode
|
|
3804
3831
|
tiers {
|
|
@@ -4341,6 +4368,7 @@ class Client(BaseClient):
|
|
|
4341
4368
|
creditRate {
|
|
4342
4369
|
amount
|
|
4343
4370
|
customCurrencyId
|
|
4371
|
+
currencyId
|
|
4344
4372
|
}
|
|
4345
4373
|
tiersMode
|
|
4346
4374
|
tiers {
|
|
@@ -4925,6 +4953,7 @@ class Client(BaseClient):
|
|
|
4925
4953
|
creditRate {
|
|
4926
4954
|
amount
|
|
4927
4955
|
customCurrencyId
|
|
4956
|
+
currencyId
|
|
4928
4957
|
}
|
|
4929
4958
|
tiersMode
|
|
4930
4959
|
tiers {
|
|
@@ -5246,6 +5275,11 @@ class Client(BaseClient):
|
|
|
5246
5275
|
feature {
|
|
5247
5276
|
...FeatureFragment
|
|
5248
5277
|
}
|
|
5278
|
+
creditRate {
|
|
5279
|
+
amount
|
|
5280
|
+
currencyId
|
|
5281
|
+
}
|
|
5282
|
+
validUntil
|
|
5249
5283
|
}
|
|
5250
5284
|
|
|
5251
5285
|
fragment FeatureFragment on EntitlementFeature {
|
|
@@ -5327,6 +5361,11 @@ class Client(BaseClient):
|
|
|
5327
5361
|
feature {
|
|
5328
5362
|
...FeatureFragment
|
|
5329
5363
|
}
|
|
5364
|
+
creditRate {
|
|
5365
|
+
amount
|
|
5366
|
+
currencyId
|
|
5367
|
+
}
|
|
5368
|
+
validUntil
|
|
5330
5369
|
}
|
|
5331
5370
|
|
|
5332
5371
|
fragment FeatureFragment on EntitlementFeature {
|
|
@@ -5405,6 +5444,11 @@ class Client(BaseClient):
|
|
|
5405
5444
|
feature {
|
|
5406
5445
|
...FeatureFragment
|
|
5407
5446
|
}
|
|
5447
|
+
creditRate {
|
|
5448
|
+
amount
|
|
5449
|
+
currencyId
|
|
5450
|
+
}
|
|
5451
|
+
validUntil
|
|
5408
5452
|
}
|
|
5409
5453
|
|
|
5410
5454
|
fragment FeatureFragment on EntitlementFeature {
|
|
@@ -5614,7 +5658,7 @@ class Client(BaseClient):
|
|
|
5614
5658
|
}
|
|
5615
5659
|
creditRate {
|
|
5616
5660
|
amount
|
|
5617
|
-
|
|
5661
|
+
currencyId
|
|
5618
5662
|
}
|
|
5619
5663
|
feature {
|
|
5620
5664
|
featureUnits
|
|
@@ -5660,7 +5704,7 @@ class Client(BaseClient):
|
|
|
5660
5704
|
}
|
|
5661
5705
|
creditRate {
|
|
5662
5706
|
amount
|
|
5663
|
-
|
|
5707
|
+
currencyId
|
|
5664
5708
|
}
|
|
5665
5709
|
feature {
|
|
5666
5710
|
id
|
|
@@ -6087,6 +6131,7 @@ class Client(BaseClient):
|
|
|
6087
6131
|
creditRate {
|
|
6088
6132
|
amount
|
|
6089
6133
|
customCurrencyId
|
|
6134
|
+
currencyId
|
|
6090
6135
|
}
|
|
6091
6136
|
tiersMode
|
|
6092
6137
|
tiers {
|
|
@@ -6525,7 +6570,7 @@ class Client(BaseClient):
|
|
|
6525
6570
|
}
|
|
6526
6571
|
creditRate {
|
|
6527
6572
|
amount
|
|
6528
|
-
|
|
6573
|
+
currencyId
|
|
6529
6574
|
}
|
|
6530
6575
|
tiersMode
|
|
6531
6576
|
tiers {
|
|
@@ -6688,21 +6733,28 @@ class Client(BaseClient):
|
|
|
6688
6733
|
}
|
|
6689
6734
|
}
|
|
6690
6735
|
|
|
6736
|
+
fragment CreditBalanceFragment on CreditBalance {
|
|
6737
|
+
customerId
|
|
6738
|
+
currency {
|
|
6739
|
+
currencyId
|
|
6740
|
+
displayName
|
|
6741
|
+
symbol
|
|
6742
|
+
units {
|
|
6743
|
+
singular
|
|
6744
|
+
plural
|
|
6745
|
+
}
|
|
6746
|
+
}
|
|
6747
|
+
currentBalance
|
|
6748
|
+
totalConsumed
|
|
6749
|
+
totalGranted
|
|
6750
|
+
resourceId
|
|
6751
|
+
validUntil
|
|
6752
|
+
}
|
|
6753
|
+
|
|
6691
6754
|
fragment CreditsBalanceSummaryFragment on CreditBalanceSummary {
|
|
6692
6755
|
customerId
|
|
6693
6756
|
balances {
|
|
6694
|
-
|
|
6695
|
-
currencyId
|
|
6696
|
-
displayName
|
|
6697
|
-
symbol
|
|
6698
|
-
units {
|
|
6699
|
-
singular
|
|
6700
|
-
plural
|
|
6701
|
-
}
|
|
6702
|
-
}
|
|
6703
|
-
currentBalance
|
|
6704
|
-
totalConsumed
|
|
6705
|
-
totalGranted
|
|
6757
|
+
...CreditBalanceFragment
|
|
6706
6758
|
}
|
|
6707
6759
|
}
|
|
6708
6760
|
"""
|
stigg/generated/fragments.py
CHANGED
|
@@ -109,7 +109,8 @@ class PriceFragmentPrice(BaseModel):
|
|
|
109
109
|
|
|
110
110
|
class PriceFragmentCreditRate(BaseModel):
|
|
111
111
|
amount: float
|
|
112
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
112
|
+
custom_currency_id: Optional[Any] = Field(alias="customCurrencyId", default=None)
|
|
113
|
+
currency_id: str = Field(alias="currencyId")
|
|
113
114
|
|
|
114
115
|
|
|
115
116
|
class PriceFragmentTiers(PriceTierFragment):
|
|
@@ -126,38 +127,6 @@ class PriceFragmentFeature(BaseModel):
|
|
|
126
127
|
description: Optional[str] = Field(default=None)
|
|
127
128
|
|
|
128
129
|
|
|
129
|
-
class OveragePriceFragment(BaseModel):
|
|
130
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
131
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
132
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
133
|
-
billing_country_code: Optional[str] = Field(
|
|
134
|
-
alias="billingCountryCode", default=None
|
|
135
|
-
)
|
|
136
|
-
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
137
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
138
|
-
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
139
|
-
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
class OveragePriceFragmentPrice(BaseModel):
|
|
143
|
-
amount: float
|
|
144
|
-
currency: Currency
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
148
|
-
pass
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
class OveragePriceFragmentFeature(BaseModel):
|
|
152
|
-
ref_id: str = Field(alias="refId")
|
|
153
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
154
|
-
feature_units_plural: Optional[str] = Field(
|
|
155
|
-
alias="featureUnitsPlural", default=None
|
|
156
|
-
)
|
|
157
|
-
display_name: str = Field(alias="displayName")
|
|
158
|
-
description: Optional[str] = Field(default=None)
|
|
159
|
-
|
|
160
|
-
|
|
161
130
|
class PackageEntitlementFragment(BaseModel):
|
|
162
131
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
163
132
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -193,6 +162,38 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
193
162
|
)
|
|
194
163
|
|
|
195
164
|
|
|
165
|
+
class OveragePriceFragment(BaseModel):
|
|
166
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
167
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
168
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
169
|
+
billing_country_code: Optional[str] = Field(
|
|
170
|
+
alias="billingCountryCode", default=None
|
|
171
|
+
)
|
|
172
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
173
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
174
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
175
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
179
|
+
amount: float
|
|
180
|
+
currency: Currency
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
184
|
+
pass
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
188
|
+
ref_id: str = Field(alias="refId")
|
|
189
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
190
|
+
feature_units_plural: Optional[str] = Field(
|
|
191
|
+
alias="featureUnitsPlural", default=None
|
|
192
|
+
)
|
|
193
|
+
display_name: str = Field(alias="displayName")
|
|
194
|
+
description: Optional[str] = Field(default=None)
|
|
195
|
+
|
|
196
|
+
|
|
196
197
|
class AddonFragment(BaseModel):
|
|
197
198
|
id: Any
|
|
198
199
|
ref_id: str = Field(alias="refId")
|
|
@@ -289,6 +290,10 @@ class EntitlementFragment(BaseModel):
|
|
|
289
290
|
]
|
|
290
291
|
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
291
292
|
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
293
|
+
credit_rate: Optional["EntitlementFragmentCreditRate"] = Field(
|
|
294
|
+
alias="creditRate", default=None
|
|
295
|
+
)
|
|
296
|
+
valid_until: Optional[float] = Field(alias="validUntil", default=None)
|
|
292
297
|
|
|
293
298
|
|
|
294
299
|
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
@@ -316,22 +321,9 @@ class EntitlementFragmentFeature(FeatureFragment):
|
|
|
316
321
|
pass
|
|
317
322
|
|
|
318
323
|
|
|
319
|
-
class
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
323
|
-
default=None
|
|
324
|
-
)
|
|
325
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
329
|
-
pass
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
333
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
334
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
324
|
+
class EntitlementFragmentCreditRate(BaseModel):
|
|
325
|
+
amount: float
|
|
326
|
+
currency_id: str = Field(alias="currencyId")
|
|
335
327
|
|
|
336
328
|
|
|
337
329
|
class ProductFragment(BaseModel):
|
|
@@ -355,6 +347,24 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
|
355
347
|
display_name: str = Field(alias="displayName")
|
|
356
348
|
|
|
357
349
|
|
|
350
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
351
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
352
|
+
display_name: str = Field(alias="displayName")
|
|
353
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
354
|
+
default=None
|
|
355
|
+
)
|
|
356
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
360
|
+
pass
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
364
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
365
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
366
|
+
|
|
367
|
+
|
|
358
368
|
class PlanFragment(BaseModel):
|
|
359
369
|
id: Any
|
|
360
370
|
ref_id: str = Field(alias="refId")
|
|
@@ -436,8 +446,19 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
436
446
|
limit: float
|
|
437
447
|
|
|
438
448
|
|
|
439
|
-
class
|
|
440
|
-
|
|
449
|
+
class TotalPriceFragment(BaseModel):
|
|
450
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
451
|
+
total: "TotalPriceFragmentTotal"
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
455
|
+
amount: float
|
|
456
|
+
currency: Currency
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
460
|
+
amount: float
|
|
461
|
+
currency: Currency
|
|
441
462
|
|
|
442
463
|
|
|
443
464
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -602,25 +623,6 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
602
623
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
603
624
|
|
|
604
625
|
|
|
605
|
-
class TotalPriceFragment(BaseModel):
|
|
606
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
607
|
-
total: "TotalPriceFragmentTotal"
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
611
|
-
amount: float
|
|
612
|
-
currency: Currency
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
616
|
-
amount: float
|
|
617
|
-
currency: Currency
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
621
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
622
|
-
|
|
623
|
-
|
|
624
626
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
625
627
|
billing_id: str = Field(alias="billingId")
|
|
626
628
|
status: SubscriptionInvoiceStatus
|
|
@@ -803,6 +805,10 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
803
805
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
804
806
|
|
|
805
807
|
|
|
808
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
809
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
810
|
+
|
|
811
|
+
|
|
806
812
|
class SlimCustomerFragment(BaseModel):
|
|
807
813
|
id: Any
|
|
808
814
|
name: Optional[str] = Field(default=None)
|
|
@@ -820,6 +826,10 @@ class SlimCustomerFragment(BaseModel):
|
|
|
820
826
|
)
|
|
821
827
|
|
|
822
828
|
|
|
829
|
+
class CustomerResourceFragment(BaseModel):
|
|
830
|
+
resource_id: str = Field(alias="resourceId")
|
|
831
|
+
|
|
832
|
+
|
|
823
833
|
class SubscriptionFragment(BaseModel):
|
|
824
834
|
id: Any
|
|
825
835
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -1006,10 +1016,8 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1006
1016
|
)
|
|
1007
1017
|
|
|
1008
1018
|
|
|
1009
|
-
class
|
|
1010
|
-
|
|
1011
|
-
setup_secret: str = Field(alias="setupSecret")
|
|
1012
|
-
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1019
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1020
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1013
1021
|
|
|
1014
1022
|
|
|
1015
1023
|
class PromotionalEntitlementFragment(BaseModel):
|
|
@@ -1133,8 +1141,10 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1133
1141
|
pass
|
|
1134
1142
|
|
|
1135
1143
|
|
|
1136
|
-
class
|
|
1137
|
-
|
|
1144
|
+
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1145
|
+
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1146
|
+
setup_secret: str = Field(alias="setupSecret")
|
|
1147
|
+
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1138
1148
|
|
|
1139
1149
|
|
|
1140
1150
|
class CheckoutStateFragment(BaseModel):
|
|
@@ -1197,6 +1207,51 @@ class CheckoutStateFragmentBillingIntegrationCredentials(BaseModel):
|
|
|
1197
1207
|
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1198
1208
|
|
|
1199
1209
|
|
|
1210
|
+
class CreditBalanceFragment(BaseModel):
|
|
1211
|
+
customer_id: str = Field(alias="customerId")
|
|
1212
|
+
currency: "CreditBalanceFragmentCurrency"
|
|
1213
|
+
current_balance: float = Field(alias="currentBalance")
|
|
1214
|
+
total_consumed: float = Field(alias="totalConsumed")
|
|
1215
|
+
total_granted: float = Field(alias="totalGranted")
|
|
1216
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
1217
|
+
valid_until: Optional[float] = Field(alias="validUntil", default=None)
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
class CreditBalanceFragmentCurrency(BaseModel):
|
|
1221
|
+
currency_id: str = Field(alias="currencyId")
|
|
1222
|
+
display_name: str = Field(alias="displayName")
|
|
1223
|
+
symbol: Optional[str] = Field(default=None)
|
|
1224
|
+
units: Optional["CreditBalanceFragmentCurrencyUnits"] = Field(default=None)
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
class CreditBalanceFragmentCurrencyUnits(BaseModel):
|
|
1228
|
+
singular: str
|
|
1229
|
+
plural: str
|
|
1230
|
+
|
|
1231
|
+
|
|
1232
|
+
class CreditBalanceUpdatedPayload(BaseModel):
|
|
1233
|
+
currency: "CreditBalanceUpdatedPayloadCurrency"
|
|
1234
|
+
currency_id: str = Field(alias="currencyId")
|
|
1235
|
+
current_balance: float = Field(alias="currentBalance")
|
|
1236
|
+
customer_id: str = Field(alias="customerId")
|
|
1237
|
+
valid_until: Optional[float] = Field(alias="validUntil", default=None)
|
|
1238
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
1239
|
+
total_consumed: float = Field(alias="totalConsumed")
|
|
1240
|
+
total_granted: float = Field(alias="totalGranted")
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
class CreditBalanceUpdatedPayloadCurrency(BaseModel):
|
|
1244
|
+
currency_id: str = Field(alias="currencyId")
|
|
1245
|
+
display_name: str = Field(alias="displayName")
|
|
1246
|
+
symbol: Optional[str] = Field(default=None)
|
|
1247
|
+
units: Optional["CreditBalanceUpdatedPayloadCurrencyUnits"] = Field(default=None)
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
class CreditBalanceUpdatedPayloadCurrencyUnits(BaseModel):
|
|
1251
|
+
singular: str
|
|
1252
|
+
plural: str
|
|
1253
|
+
|
|
1254
|
+
|
|
1200
1255
|
class CreditGrantFragment(BaseModel):
|
|
1201
1256
|
grant_id: str = Field(alias="grantId")
|
|
1202
1257
|
amount: float
|
|
@@ -1272,25 +1327,8 @@ class CreditsBalanceSummaryFragment(BaseModel):
|
|
|
1272
1327
|
balances: List["CreditsBalanceSummaryFragmentBalances"]
|
|
1273
1328
|
|
|
1274
1329
|
|
|
1275
|
-
class CreditsBalanceSummaryFragmentBalances(
|
|
1276
|
-
|
|
1277
|
-
current_balance: float = Field(alias="currentBalance")
|
|
1278
|
-
total_consumed: float = Field(alias="totalConsumed")
|
|
1279
|
-
total_granted: float = Field(alias="totalGranted")
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
class CreditsBalanceSummaryFragmentBalancesCurrency(BaseModel):
|
|
1283
|
-
currency_id: str = Field(alias="currencyId")
|
|
1284
|
-
display_name: str = Field(alias="displayName")
|
|
1285
|
-
symbol: Optional[str] = Field(default=None)
|
|
1286
|
-
units: Optional["CreditsBalanceSummaryFragmentBalancesCurrencyUnits"] = Field(
|
|
1287
|
-
default=None
|
|
1288
|
-
)
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
class CreditsBalanceSummaryFragmentBalancesCurrencyUnits(BaseModel):
|
|
1292
|
-
singular: str
|
|
1293
|
-
plural: str
|
|
1330
|
+
class CreditsBalanceSummaryFragmentBalances(CreditBalanceFragment):
|
|
1331
|
+
pass
|
|
1294
1332
|
|
|
1295
1333
|
|
|
1296
1334
|
class CustomerPortalBillingInformationFragment(BaseModel):
|
|
@@ -1397,6 +1435,51 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1397
1435
|
pass
|
|
1398
1436
|
|
|
1399
1437
|
|
|
1438
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1439
|
+
display_name: str = Field(alias="displayName")
|
|
1440
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1441
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1442
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1443
|
+
period: PromotionalEntitlementPeriod
|
|
1444
|
+
start_date: Any = Field(alias="startDate")
|
|
1445
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1449
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1450
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1451
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1452
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1453
|
+
default=None
|
|
1454
|
+
)
|
|
1455
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1456
|
+
alias="creditRate", default=None
|
|
1457
|
+
)
|
|
1458
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1459
|
+
default=None
|
|
1460
|
+
)
|
|
1461
|
+
|
|
1462
|
+
|
|
1463
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1464
|
+
amount: float
|
|
1465
|
+
currency: Currency
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1469
|
+
amount: float
|
|
1470
|
+
currency_id: str = Field(alias="currencyId")
|
|
1471
|
+
|
|
1472
|
+
|
|
1473
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1474
|
+
id: Any
|
|
1475
|
+
ref_id: str = Field(alias="refId")
|
|
1476
|
+
display_name: str = Field(alias="displayName")
|
|
1477
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1478
|
+
feature_units_plural: Optional[str] = Field(
|
|
1479
|
+
alias="featureUnitsPlural", default=None
|
|
1480
|
+
)
|
|
1481
|
+
|
|
1482
|
+
|
|
1400
1483
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1401
1484
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1402
1485
|
alias="subscriptionScheduleType"
|
|
@@ -1573,41 +1656,6 @@ class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
|
1573
1656
|
quantity: int
|
|
1574
1657
|
|
|
1575
1658
|
|
|
1576
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1577
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1578
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1579
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1580
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1581
|
-
default=None
|
|
1582
|
-
)
|
|
1583
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1584
|
-
alias="creditRate", default=None
|
|
1585
|
-
)
|
|
1586
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1587
|
-
default=None
|
|
1588
|
-
)
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1592
|
-
amount: float
|
|
1593
|
-
currency: Currency
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1597
|
-
amount: float
|
|
1598
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1602
|
-
id: Any
|
|
1603
|
-
ref_id: str = Field(alias="refId")
|
|
1604
|
-
display_name: str = Field(alias="displayName")
|
|
1605
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1606
|
-
feature_units_plural: Optional[str] = Field(
|
|
1607
|
-
alias="featureUnitsPlural", default=None
|
|
1608
|
-
)
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
1659
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1612
1660
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1613
1661
|
plan_id: str = Field(alias="planId")
|
|
@@ -1661,7 +1709,7 @@ class CustomerPortalSubscriptionFragmentPricingPrice(BaseModel):
|
|
|
1661
1709
|
|
|
1662
1710
|
class CustomerPortalSubscriptionFragmentPricingCreditRate(BaseModel):
|
|
1663
1711
|
amount: float
|
|
1664
|
-
|
|
1712
|
+
currency_id: str = Field(alias="currencyId")
|
|
1665
1713
|
|
|
1666
1714
|
|
|
1667
1715
|
class CustomerPortalSubscriptionFragmentPricingFeature(BaseModel):
|
|
@@ -1712,16 +1760,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1712
1760
|
pass
|
|
1713
1761
|
|
|
1714
1762
|
|
|
1715
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1716
|
-
display_name: str = Field(alias="displayName")
|
|
1717
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1718
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1719
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1720
|
-
period: PromotionalEntitlementPeriod
|
|
1721
|
-
start_date: Any = Field(alias="startDate")
|
|
1722
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
1763
|
class CustomerPortalFragment(BaseModel):
|
|
1726
1764
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1727
1765
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1975,7 +2013,7 @@ class MockPaywallPriceFragmentPrice(BaseModel):
|
|
|
1975
2013
|
|
|
1976
2014
|
class MockPaywallPriceFragmentCreditRate(BaseModel):
|
|
1977
2015
|
amount: float
|
|
1978
|
-
|
|
2016
|
+
currency_id: str = Field(alias="currencyId")
|
|
1979
2017
|
|
|
1980
2018
|
|
|
1981
2019
|
class MockPaywallPriceFragmentTiers(PriceTierFragment):
|
|
@@ -3005,32 +3043,34 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
3005
3043
|
AddonDependencyFragment.model_rebuild()
|
|
3006
3044
|
PriceTierFragment.model_rebuild()
|
|
3007
3045
|
PriceFragment.model_rebuild()
|
|
3008
|
-
OveragePriceFragment.model_rebuild()
|
|
3009
3046
|
PackageEntitlementFragment.model_rebuild()
|
|
3047
|
+
OveragePriceFragment.model_rebuild()
|
|
3010
3048
|
AddonFragment.model_rebuild()
|
|
3011
3049
|
FeatureFragment.model_rebuild()
|
|
3012
3050
|
EntitlementFragment.model_rebuild()
|
|
3013
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3014
3051
|
ProductFragment.model_rebuild()
|
|
3052
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3015
3053
|
PlanFragment.model_rebuild()
|
|
3016
|
-
CustomerResourceFragment.model_rebuild()
|
|
3017
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3018
3054
|
TotalPriceFragment.model_rebuild()
|
|
3019
|
-
|
|
3055
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3020
3056
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
3021
3057
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
3058
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3022
3059
|
SlimCustomerFragment.model_rebuild()
|
|
3060
|
+
CustomerResourceFragment.model_rebuild()
|
|
3023
3061
|
SubscriptionFragment.model_rebuild()
|
|
3024
3062
|
ApplySubscriptionFragment.model_rebuild()
|
|
3025
3063
|
FontVariantFragment.model_rebuild()
|
|
3026
3064
|
TypographyConfigurationFragment.model_rebuild()
|
|
3027
3065
|
CheckoutConfigurationFragment.model_rebuild()
|
|
3028
|
-
|
|
3066
|
+
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3029
3067
|
PromotionalEntitlementFragment.model_rebuild()
|
|
3030
3068
|
CouponFragment.model_rebuild()
|
|
3031
3069
|
CustomerFragment.model_rebuild()
|
|
3032
|
-
|
|
3070
|
+
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3033
3071
|
CheckoutStateFragment.model_rebuild()
|
|
3072
|
+
CreditBalanceFragment.model_rebuild()
|
|
3073
|
+
CreditBalanceUpdatedPayload.model_rebuild()
|
|
3034
3074
|
CreditGrantFragment.model_rebuild()
|
|
3035
3075
|
CreditLedgerFragment.model_rebuild()
|
|
3036
3076
|
SlimCustomCurrencyFragment.model_rebuild()
|
|
@@ -3039,11 +3079,11 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
3039
3079
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
3040
3080
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
3041
3081
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
3082
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3083
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3042
3084
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3043
3085
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3044
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3045
3086
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
3046
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3047
3087
|
CustomerPortalFragment.model_rebuild()
|
|
3048
3088
|
CustomerStatisticsFragment.model_rebuild()
|
|
3049
3089
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -870,7 +870,8 @@ class CreditLedgerInput(BaseModel):
|
|
|
870
870
|
|
|
871
871
|
class CreditRateInput(BaseModel):
|
|
872
872
|
amount: float
|
|
873
|
-
|
|
873
|
+
currency_id: Optional[str] = Field(alias="currencyId", default=None)
|
|
874
|
+
custom_currency_id: Optional[Any] = Field(alias="customCurrencyId", default=None)
|
|
874
875
|
|
|
875
876
|
|
|
876
877
|
class CreditUsageInput(BaseModel):
|
|
@@ -106,16 +106,16 @@ stigg/_vendors/pydantic-2.6.4.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
106
106
|
stigg/_vendors/pydantic-2.6.4.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
107
107
|
stigg/_vendors/pydantic-2.6.4.dist-info/licenses/LICENSE,sha256=qeGG88oWte74QxjnpwFyE1GgDLe4rjpDlLZ7SeNSnvM,1129
|
|
108
108
|
stigg/client.py,sha256=RWrVnxo9zHFXka8KJVE4sMgyek70ispQk0vqOINCvM0,8335
|
|
109
|
-
stigg/generated/__init__.py,sha256=
|
|
109
|
+
stigg/generated/__init__.py,sha256=9HWLzi769uycz8lTLViRZ2vz6n9cbZGfxhVTDF23igM,78409
|
|
110
110
|
stigg/generated/apply_subscription.py,sha256=Vbs-QZZxN16pUpt3Hp7Jvvcc5o_8xwJK9oTLQQjH0ZA,451
|
|
111
111
|
stigg/generated/archive_customer.py,sha256=3N3iBiT2Vvzfb0ckV3o57A6lmJ_ef7JNPaMX_Jtcg6c,396
|
|
112
112
|
stigg/generated/async_base_client.py,sha256=zqd6IhYxpalyA6KQkeGhXgSurC0vXSwSWmSlM2zZ0VM,12593
|
|
113
|
-
stigg/generated/async_client.py,sha256=
|
|
113
|
+
stigg/generated/async_client.py,sha256=07_px41EYGUv0S4Sz7rIhJDbAfKhx4ubFug9zU9KQgM,192345
|
|
114
114
|
stigg/generated/base_client.py,sha256=nAto-nOqrOHFTLqdRy2ZDpT1afgsqCzf6hTeBh5MyPQ,6674
|
|
115
115
|
stigg/generated/base_model.py,sha256=0rs99bmZqPbltlPVMfhExeA5zD6ATQFaNZVsxGNonI4,635
|
|
116
116
|
stigg/generated/cancel_subscription.py,sha256=pKrMFmKjGIuWvnVCYQ8brWQO9_JeTnfScgGQjztuN-o,457
|
|
117
117
|
stigg/generated/cancel_subscription_updates.py,sha256=T1C9vyppzZi_91pEnIGkHUL3GEsvtf5EMwr1f01tjbM,241
|
|
118
|
-
stigg/generated/client.py,sha256=
|
|
118
|
+
stigg/generated/client.py,sha256=fnHk6WC_UI-vbyTGfFuFPc8PrUen__VhWJluMkceXFI,191622
|
|
119
119
|
stigg/generated/create_payment_session.py,sha256=VRPT8Bbvb_evFHMav9y_pXWHMVbkRy9csf5SJCCUARk,470
|
|
120
120
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
121
121
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
@@ -124,7 +124,7 @@ stigg/generated/enums.py,sha256=gxACdOKoabCAcHuSjCWTAHXdBy68X_l-5b0F0F2epv0,3924
|
|
|
124
124
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
125
125
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
126
126
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
127
|
-
stigg/generated/fragments.py,sha256=
|
|
127
|
+
stigg/generated/fragments.py,sha256=9u6_huFyPdt4G87PrRzh8AEPI8wtsk2bwl1Sb6kSD1U,111377
|
|
128
128
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
129
129
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
130
130
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -153,7 +153,7 @@ stigg/generated/grant_promotional_entitlements_group.py,sha256=iQwCd07VFaYbsN_E-
|
|
|
153
153
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
154
154
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
155
155
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
156
|
-
stigg/generated/input_types.py,sha256=
|
|
156
|
+
stigg/generated/input_types.py,sha256=F2eBJyj8NnbaTEotKy6zb6KJ1oXuKpzZXaK8-fcEjtQ,214843
|
|
157
157
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
158
158
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
159
159
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -171,7 +171,7 @@ stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9e
|
|
|
171
171
|
stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0LZmDYkRn9mMjZm9n41YG6-p7Z8qU,636
|
|
172
172
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
173
173
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
174
|
-
stigg_api_client_v2-3.
|
|
175
|
-
stigg_api_client_v2-3.
|
|
176
|
-
stigg_api_client_v2-3.
|
|
177
|
-
stigg_api_client_v2-3.
|
|
174
|
+
stigg_api_client_v2-3.101.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
175
|
+
stigg_api_client_v2-3.101.0.dist-info/METADATA,sha256=z8yRMSrJDZPBxNQxQjWoYKgsJuUa1jU4BEyx8KNu45Y,2258
|
|
176
|
+
stigg_api_client_v2-3.101.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
177
|
+
stigg_api_client_v2-3.101.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|