stigg-api-client-v2 3.88.0__py3-none-any.whl → 3.95.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 -1
- stigg/generated/async_client.py +16 -1
- stigg/generated/client.py +16 -1
- stigg/generated/enums.py +7 -0
- stigg/generated/fragments.py +428 -428
- stigg/generated/get_credit_grants.py +19 -3
- stigg/generated/input_types.py +12 -0
- {stigg_api_client_v2-3.88.0.dist-info → stigg_api_client_v2-3.95.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.88.0.dist-info → stigg_api_client_v2-3.95.0.dist-info}/RECORD +11 -11
- {stigg_api_client_v2-3.88.0.dist-info → stigg_api_client_v2-3.95.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.88.0.dist-info → stigg_api_client_v2-3.95.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -50,6 +50,7 @@ from .enums import (
|
|
|
50
50
|
CouponType,
|
|
51
51
|
CreditGrantType,
|
|
52
52
|
CreditLedgerEventType,
|
|
53
|
+
CreditUsageTimeRange,
|
|
53
54
|
Currency,
|
|
54
55
|
CustomerResourceSortFields,
|
|
55
56
|
CustomerSortFields,
|
|
@@ -549,7 +550,13 @@ from .get_coupons import (
|
|
|
549
550
|
GetCouponsCouponsEdgesNode,
|
|
550
551
|
)
|
|
551
552
|
from .get_credit_balance import GetCreditBalance, GetCreditBalanceCreditBalanceSummary
|
|
552
|
-
from .get_credit_grants import
|
|
553
|
+
from .get_credit_grants import (
|
|
554
|
+
GetCreditGrants,
|
|
555
|
+
GetCreditGrantsCreditGrants,
|
|
556
|
+
GetCreditGrantsCreditGrantsEdges,
|
|
557
|
+
GetCreditGrantsCreditGrantsEdgesNode,
|
|
558
|
+
GetCreditGrantsCreditGrantsPageInfo,
|
|
559
|
+
)
|
|
553
560
|
from .get_credit_ledger import (
|
|
554
561
|
GetCreditLedger,
|
|
555
562
|
GetCreditLedgerCreditsLedger,
|
|
@@ -680,6 +687,7 @@ from .input_types import (
|
|
|
680
687
|
CreditGrantInput,
|
|
681
688
|
CreditLedgerInput,
|
|
682
689
|
CreditRateInput,
|
|
690
|
+
CreditUsageInput,
|
|
683
691
|
CursorPaging,
|
|
684
692
|
CustomCurrencyInput,
|
|
685
693
|
CustomerBillingInfo,
|
|
@@ -1188,6 +1196,8 @@ __all__ = [
|
|
|
1188
1196
|
"CreditLedgerFragment",
|
|
1189
1197
|
"CreditLedgerInput",
|
|
1190
1198
|
"CreditRateInput",
|
|
1199
|
+
"CreditUsageInput",
|
|
1200
|
+
"CreditUsageTimeRange",
|
|
1191
1201
|
"CreditsBalanceSummaryFragment",
|
|
1192
1202
|
"CreditsBalanceSummaryFragmentBalances",
|
|
1193
1203
|
"CreditsBalanceSummaryFragmentBalancesCurrency",
|
|
@@ -1402,6 +1412,9 @@ __all__ = [
|
|
|
1402
1412
|
"GetCreditBalanceCreditBalanceSummary",
|
|
1403
1413
|
"GetCreditGrants",
|
|
1404
1414
|
"GetCreditGrantsCreditGrants",
|
|
1415
|
+
"GetCreditGrantsCreditGrantsEdges",
|
|
1416
|
+
"GetCreditGrantsCreditGrantsEdgesNode",
|
|
1417
|
+
"GetCreditGrantsCreditGrantsPageInfo",
|
|
1405
1418
|
"GetCreditGrantsInput",
|
|
1406
1419
|
"GetCreditLedger",
|
|
1407
1420
|
"GetCreditLedgerCreditsLedger",
|
stigg/generated/async_client.py
CHANGED
|
@@ -6728,7 +6728,15 @@ class AsyncClient(AsyncBaseClient):
|
|
|
6728
6728
|
"""
|
|
6729
6729
|
query GetCreditGrants($input: GetCreditGrantsInput!) {
|
|
6730
6730
|
creditGrants(input: $input) {
|
|
6731
|
-
|
|
6731
|
+
pageInfo {
|
|
6732
|
+
...PageInfoFragment
|
|
6733
|
+
}
|
|
6734
|
+
edges {
|
|
6735
|
+
node {
|
|
6736
|
+
...CreditGrantFragment
|
|
6737
|
+
}
|
|
6738
|
+
}
|
|
6739
|
+
totalCount
|
|
6732
6740
|
}
|
|
6733
6741
|
}
|
|
6734
6742
|
|
|
@@ -6753,6 +6761,13 @@ class AsyncClient(AsyncBaseClient):
|
|
|
6753
6761
|
resourceId
|
|
6754
6762
|
additionalMetaData
|
|
6755
6763
|
}
|
|
6764
|
+
|
|
6765
|
+
fragment PageInfoFragment on PageInfo {
|
|
6766
|
+
startCursor
|
|
6767
|
+
endCursor
|
|
6768
|
+
hasNextPage
|
|
6769
|
+
hasPreviousPage
|
|
6770
|
+
}
|
|
6756
6771
|
"""
|
|
6757
6772
|
)
|
|
6758
6773
|
variables: Dict[str, object] = {"input": input}
|
stigg/generated/client.py
CHANGED
|
@@ -6722,7 +6722,15 @@ class Client(BaseClient):
|
|
|
6722
6722
|
"""
|
|
6723
6723
|
query GetCreditGrants($input: GetCreditGrantsInput!) {
|
|
6724
6724
|
creditGrants(input: $input) {
|
|
6725
|
-
|
|
6725
|
+
pageInfo {
|
|
6726
|
+
...PageInfoFragment
|
|
6727
|
+
}
|
|
6728
|
+
edges {
|
|
6729
|
+
node {
|
|
6730
|
+
...CreditGrantFragment
|
|
6731
|
+
}
|
|
6732
|
+
}
|
|
6733
|
+
totalCount
|
|
6726
6734
|
}
|
|
6727
6735
|
}
|
|
6728
6736
|
|
|
@@ -6747,6 +6755,13 @@ class Client(BaseClient):
|
|
|
6747
6755
|
resourceId
|
|
6748
6756
|
additionalMetaData
|
|
6749
6757
|
}
|
|
6758
|
+
|
|
6759
|
+
fragment PageInfoFragment on PageInfo {
|
|
6760
|
+
startCursor
|
|
6761
|
+
endCursor
|
|
6762
|
+
hasNextPage
|
|
6763
|
+
hasPreviousPage
|
|
6764
|
+
}
|
|
6750
6765
|
"""
|
|
6751
6766
|
)
|
|
6752
6767
|
variables: Dict[str, object] = {"input": input}
|
stigg/generated/enums.py
CHANGED
|
@@ -172,6 +172,13 @@ class CreditLedgerEventType(str, Enum):
|
|
|
172
172
|
CREDITS_GRANTED = "CREDITS_GRANTED"
|
|
173
173
|
|
|
174
174
|
|
|
175
|
+
class CreditUsageTimeRange(str, Enum):
|
|
176
|
+
LAST_DAY = "LAST_DAY"
|
|
177
|
+
LAST_MONTH = "LAST_MONTH"
|
|
178
|
+
LAST_WEEK = "LAST_WEEK"
|
|
179
|
+
LAST_YEAR = "LAST_YEAR"
|
|
180
|
+
|
|
181
|
+
|
|
175
182
|
class Currency(str, Enum):
|
|
176
183
|
AED = "AED"
|
|
177
184
|
ALL = "ALL"
|