stigg-api-client 1.228.0 → 1.229.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad0d19255bb063189858ba039d45592f6a4aec166ac876954dfe9a612b82a6e3
4
- data.tar.gz: b647c6052427afa063be3dbf1bb028d131e5c3944607227a1ec0d4447aeca2ae
3
+ metadata.gz: 82b3e3beab8b74b57565fe3c4fd3aa996a6cb902c74c65d40ade37d8a4618fa5
4
+ data.tar.gz: abce039a2f2a0e80da8bc4cea5a35f0bf76b7ee32533a55399db73010ed5a3b8
5
5
  SHA512:
6
- metadata.gz: 400411bffa184906c43761f0e160355a0baaceefe7acb725aa5f371434b32b230132234543fd3e4590605111b7a979a256096c58a802c83f85c67d38b44dbde4
7
- data.tar.gz: e748f7120953926e25528d8cd2faec7e059cb713dc64c633ba9d061760a4ee2e12b5925b500757059b4969755bf3e23a5e4486e6f3d9d355bc178acb9eb1e389
6
+ metadata.gz: a3d3d5cb411e18a6a764759ef31f4cf355ec4282a4fac3f0ef5e650f43236cadd8c1957aa85abf21eaa70c8d3751bd985112b9818e2a9ea9ab719a283705423c
7
+ data.tar.gz: 68c78ed2e3a8a7e72fe3376fa04c6acd57f4c5a426e1eca379fe243181941967a324a395c62d370305e81555319d0cc9a63c611e9e19fffd5eb1c9b715d1660c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (1.228.0)
4
+ stigg-api-client (1.229.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -225,6 +225,31 @@ module Stigg
225
225
  }
226
226
  GRAPHQL
227
227
 
228
+ SlimSubscriptionFragmentV2 = <<~GRAPHQL
229
+ fragment SlimSubscriptionFragmentV2 on CustomerSubscription {
230
+ subscriptionId
231
+ status
232
+ pricingType
233
+ startDate
234
+ currentBillingPeriodEnd
235
+ customer {
236
+ customerId
237
+ }
238
+ resource {
239
+ resourceId
240
+ }
241
+ plan {
242
+ planId: refId
243
+ }
244
+ addons {
245
+ quantity
246
+ addon {
247
+ addonId: refId
248
+ }
249
+ }
250
+ }
251
+ GRAPHQL
252
+
228
253
  SlimSubscriptionFragment = <<~GRAPHQL
229
254
  fragment SlimSubscriptionFragment on CustomerSubscription {
230
255
  id
@@ -1747,6 +1772,39 @@ module Stigg
1747
1772
  #{Fragment::SubscriptionFutureUpdateData}
1748
1773
  GRAPHQL
1749
1774
 
1775
+ GetActiveSubscriptionsList = <<~GRAPHQL
1776
+ query GetActiveSubscriptionsList($input: GetActiveSubscriptionsInput!) {
1777
+ getActiveSubscriptions(input: $input) {
1778
+ ...SlimSubscriptionFragmentV2
1779
+ }
1780
+ }
1781
+ #{Fragment::SlimSubscriptionFragmentV2}
1782
+ GRAPHQL
1783
+
1784
+ GetSubscription = <<~GRAPHQL
1785
+ query GetSubscription($input: GetSubscriptionInput!) {
1786
+ getSubscription(input: $input) {
1787
+ ...SubscriptionFragment
1788
+ }
1789
+ }
1790
+ #{Fragment::SubscriptionFragment}
1791
+ #{Fragment::SubscriptionInvoiceFragment}
1792
+ #{Fragment::CustomerResourceFragment}
1793
+ #{Fragment::PriceFragment}
1794
+ #{Fragment::PriceTierFragment}
1795
+ #{Fragment::TotalPriceFragment}
1796
+ #{Fragment::PlanFragment}
1797
+ #{Fragment::ProductFragment}
1798
+ #{Fragment::PackageEntitlementFragment}
1799
+ #{Fragment::AddonFragment}
1800
+ #{Fragment::OveragePriceFragment}
1801
+ #{Fragment::AddonDependencyFragment}
1802
+ #{Fragment::PlanCompatiblePackageGroupsFragment}
1803
+ #{Fragment::SubscriptionScheduledUpdateData}
1804
+ #{Fragment::ScheduleVariablesFragment}
1805
+ #{Fragment::SubscriptionFutureUpdateData}
1806
+ GRAPHQL
1807
+
1750
1808
  GetCoupons = <<~GRAPHQL
1751
1809
  query GetCoupons {
1752
1810
  coupons(filter: { status: { eq: ACTIVE } }, paging: { first: 50 }) {
@@ -16815,9 +16815,13 @@
16815
16815
  "description": null,
16816
16816
  "args": [],
16817
16817
  "type": {
16818
- "kind": "SCALAR",
16819
- "name": "Boolean",
16820
- "ofType": null
16818
+ "kind": "NON_NULL",
16819
+ "name": null,
16820
+ "ofType": {
16821
+ "kind": "SCALAR",
16822
+ "name": "Boolean",
16823
+ "ofType": null
16824
+ }
16821
16825
  },
16822
16826
  "isDeprecated": false,
16823
16827
  "deprecationReason": null
@@ -30539,6 +30543,45 @@
30539
30543
  "enumValues": null,
30540
30544
  "possibleTypes": null
30541
30545
  },
30546
+ {
30547
+ "kind": "INPUT_OBJECT",
30548
+ "name": "GetSubscriptionInput",
30549
+ "description": null,
30550
+ "fields": null,
30551
+ "inputFields": [
30552
+ {
30553
+ "name": "environmentId",
30554
+ "description": null,
30555
+ "type": {
30556
+ "kind": "SCALAR",
30557
+ "name": "String",
30558
+ "ofType": null
30559
+ },
30560
+ "defaultValue": null,
30561
+ "isDeprecated": false,
30562
+ "deprecationReason": null
30563
+ },
30564
+ {
30565
+ "name": "subscriptionId",
30566
+ "description": null,
30567
+ "type": {
30568
+ "kind": "NON_NULL",
30569
+ "name": null,
30570
+ "ofType": {
30571
+ "kind": "SCALAR",
30572
+ "name": "String",
30573
+ "ofType": null
30574
+ }
30575
+ },
30576
+ "defaultValue": null,
30577
+ "isDeprecated": false,
30578
+ "deprecationReason": null
30579
+ }
30580
+ ],
30581
+ "interfaces": null,
30582
+ "enumValues": null,
30583
+ "possibleTypes": null
30584
+ },
30542
30585
  {
30543
30586
  "kind": "INPUT_OBJECT",
30544
30587
  "name": "GetWidgetConfigurationInput",
@@ -61647,6 +61690,39 @@
61647
61690
  "isDeprecated": false,
61648
61691
  "deprecationReason": null
61649
61692
  },
61693
+ {
61694
+ "name": "getSubscription",
61695
+ "description": null,
61696
+ "args": [
61697
+ {
61698
+ "name": "input",
61699
+ "description": null,
61700
+ "type": {
61701
+ "kind": "NON_NULL",
61702
+ "name": null,
61703
+ "ofType": {
61704
+ "kind": "INPUT_OBJECT",
61705
+ "name": "GetSubscriptionInput",
61706
+ "ofType": null
61707
+ }
61708
+ },
61709
+ "defaultValue": null,
61710
+ "isDeprecated": false,
61711
+ "deprecationReason": null
61712
+ }
61713
+ ],
61714
+ "type": {
61715
+ "kind": "NON_NULL",
61716
+ "name": null,
61717
+ "ofType": {
61718
+ "kind": "OBJECT",
61719
+ "name": "CustomerSubscription",
61720
+ "ofType": null
61721
+ }
61722
+ },
61723
+ "isDeprecated": false,
61724
+ "deprecationReason": null
61725
+ },
61650
61726
  {
61651
61727
  "name": "hook",
61652
61728
  "description": null,
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "1.228.0"
4
+ VERSION = "1.229.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stigg-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.228.0
4
+ version: 1.229.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg