stigg-api-client 6.15.0 → 6.17.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3517d53350e9122432e4859c9675590db23dedd14f50f06c0632f68beae2241c
4
- data.tar.gz: cdac90e6b08ae93b6a888d208c3c93b9ec1374275e042eebbc62365e700578ca
3
+ metadata.gz: f3194888c1e843b53acef4e3c0e420d5cf51c077f6a0eadf0bd90eb76b4b5d6e
4
+ data.tar.gz: 020e1b49a77f6768fe4a793d97eaeeaba9b40244c218ad00423d21acc6a853b6
5
5
  SHA512:
6
- metadata.gz: f1c12767c8cc79835c1969e7315dad86b03e59ffc6272bd6ffcc136baa96ab21eaea9b3cc88faccf4300f689b70900cb83355cac131d9d0de3e11fb3f332435b
7
- data.tar.gz: d925f6103b93e793584af6637c74939617353c2c6655ebf6c5da425b70483847e66d830b84276061dd50e440a8712aeaace78bbd84fc12a63764418fb29bf1c8
6
+ metadata.gz: ed08d5687d33ce5ca78c3774cbb247bc4ba208696b4cee994b2411820377698bbfba73ffde40959b6f3b81513d5197778a3766a5a7d0cf252d5dfb5dbe358c04
7
+ data.tar.gz: 0a80725f2e398024d205250a86098397a978d44ae2cbb7eed184ddcb918245b8e8e8dd4d23f87435bb463d6e6e9a92e41934cb0b20377ad7c6067dc811faabc0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (6.15.0)
4
+ stigg-api-client (6.17.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -1857,6 +1857,7 @@ module Stigg
1857
1857
  currentUsage
1858
1858
  usagePeriodEnd
1859
1859
  timestamp
1860
+ consumed
1860
1861
  }
1861
1862
  usagePeriodStart
1862
1863
  usagePeriodEnd
@@ -2197,6 +2198,24 @@ module Stigg
2197
2198
  }
2198
2199
  }
2199
2200
  GRAPHQL
2201
+
2202
+ CreditCostEstimationFragment = <<~GRAPHQL
2203
+ fragment CreditCostEstimationFragment on CreditCostEstimation {
2204
+ estimates {
2205
+ currencyId
2206
+ estimatedCost
2207
+ currentBalance
2208
+ balanceAfterEstimate
2209
+ wouldOverdraft
2210
+ breakdown {
2211
+ featureId
2212
+ cost
2213
+ warningCode
2214
+ }
2215
+ }
2216
+ warnings
2217
+ }
2218
+ GRAPHQL
2200
2219
  end
2201
2220
 
2202
2221
  module Mutation
@@ -3071,6 +3090,24 @@ module Stigg
3071
3090
  #{Fragment::AutoRechargeSettingsFragment}
3072
3091
  GRAPHQL
3073
3092
 
3093
+ EstimateEventCost = <<~GRAPHQL
3094
+ query EstimateEventCost($input: EstimateEventCostInput!) {
3095
+ estimateEventCost(input: $input) {
3096
+ ...CreditCostEstimationFragment
3097
+ }
3098
+ }
3099
+ #{Fragment::CreditCostEstimationFragment}
3100
+ GRAPHQL
3101
+
3102
+ EstimateUsageCost = <<~GRAPHQL
3103
+ query EstimateUsageCost($input: EstimateUsageCostInput!) {
3104
+ estimateUsageCost(input: $input) {
3105
+ ...CreditCostEstimationFragment
3106
+ }
3107
+ }
3108
+ #{Fragment::CreditCostEstimationFragment}
3109
+ GRAPHQL
3110
+
3074
3111
  OnEntitlementsUpdated = <<~GRAPHQL
3075
3112
  subscription OnEntitlementsUpdated {
3076
3113
  entitlementsUpdated {