stigg-api-client 2.438.3 → 2.443.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: a920160b4b664b36c05d149dfdf06717b8a6ac6eb7791e727ac1012fd8a49b15
4
- data.tar.gz: c0c916d7848c5226ea869f889a1043094fcc45a5645f5e0c1f8bc03f97bbb6c6
3
+ metadata.gz: ad9ddcd61f9107d35d9b53fe03c369abc18f40bae70082ec3cd8ebfd53b0508e
4
+ data.tar.gz: a5a01832bca4e9adaacd4ca8f59152345f54e51b58fc7abf21e1a5b45dcbe2d1
5
5
  SHA512:
6
- metadata.gz: 8c603cc41de2098e24a71092d81206fbd69ea514fb7abf9288aff8f30d138f7fc67adec2b742ae71eae384b3097a7d865adf51cf9f331af0992ba4e29dac3c6e
7
- data.tar.gz: 7248d3a293d90632617829042f9b894c3bca2f8ecf65ea26f9396c5ce68a3be0047980c8d2610132249f399a899ebd8edfa95923ab9dd2f200d78c8db9e4735e
6
+ metadata.gz: 27d7e364f5be772629de2dd9b7ed0865dc76dc0f1027a7a9e68a08d5f2be5702dda71dfa6e195aa423d561723871b3faacdbba1ce4050b5d3055d35eb302db6a
7
+ data.tar.gz: f2b61a83c5024c73aa73ce46fbb55533051d3174a5f33977946d0799c3e31672f8ff032b3e6dd2986226f1ca6abc05d59ebab1b9b282ce00497a649b32eef954
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (2.438.3)
4
+ stigg-api-client (2.443.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -231,6 +231,48 @@ module Stigg
231
231
  }
232
232
  GRAPHQL
233
233
 
234
+ PageInfoFragment = <<~GRAPHQL
235
+ fragment PageInfoFragment on PageInfo {
236
+ startCursor
237
+ endCursor
238
+ hasNextPage
239
+ hasPreviousPage
240
+ }
241
+ GRAPHQL
242
+
243
+ SubscriptionQueryFragment = <<~GRAPHQL
244
+ fragment SubscriptionQueryFragment on SubscriptionQuery {
245
+ subscriptionId
246
+ status
247
+ pricingType
248
+ startDate
249
+ currentBillingPeriodEnd
250
+ customer {
251
+ customerId
252
+ }
253
+ payingCustomer {
254
+ customerId
255
+ }
256
+ resource {
257
+ resourceId
258
+ }
259
+ plan {
260
+ planId: refId
261
+ displayName
262
+ }
263
+ addons {
264
+ quantity
265
+ addon {
266
+ addonId: refId
267
+ }
268
+ }
269
+ trialConfiguration {
270
+ trialEndBehavior
271
+ }
272
+ trialEndDate
273
+ }
274
+ GRAPHQL
275
+
234
276
  SlimSubscriptionFragmentV2 = <<~GRAPHQL
235
277
  fragment SlimSubscriptionFragmentV2 on CustomerSubscription {
236
278
  subscriptionId
@@ -1972,7 +2014,7 @@ module Stigg
1972
2014
  GetCustomerStatistics = <<~GRAPHQL
1973
2015
  query GetCustomerStatistics($input: GetCustomerByRefIdInput!) {
1974
2016
  getCustomerByRefId(input: $input) {
1975
- ...CustomerStatisticsFragment,
2017
+ ...CustomerStatisticsFragment
1976
2018
  }
1977
2019
  }
1978
2020
  #{Fragment::CustomerStatisticsFragment}
@@ -2013,6 +2055,27 @@ module Stigg
2013
2055
  #{Fragment::SlimSubscriptionFragmentV2}
2014
2056
  GRAPHQL
2015
2057
 
2058
+ Subscriptions = <<~GRAPHQL
2059
+ query Subscriptions(
2060
+ $filter: SubscriptionQueryFilter
2061
+ $paging: CursorPaging
2062
+ $sorting: [SubscriptionQuerySort!]
2063
+ ) {
2064
+ subscriptions(filter: $filter, paging: $paging, sorting: $sorting) {
2065
+ edges {
2066
+ node {
2067
+ ...SubscriptionQueryFragment
2068
+ }
2069
+ }
2070
+ pageInfo {
2071
+ ...PageInfoFragment
2072
+ }
2073
+ }
2074
+ }
2075
+ #{Fragment::SubscriptionQueryFragment}
2076
+ #{Fragment::PageInfoFragment}
2077
+ GRAPHQL
2078
+
2016
2079
  GetSubscription = <<~GRAPHQL
2017
2080
  query GetSubscription($input: GetSubscriptionInput!) {
2018
2081
  getSubscription(input: $input) {