stigg-api-client 1.228.0 → 1.229.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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/stigg/generated/operations.rb +58 -0
- data/lib/stigg/generated/schema.json +79 -3
- data/lib/stigg/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82b3e3beab8b74b57565fe3c4fd3aa996a6cb902c74c65d40ade37d8a4618fa5
|
4
|
+
data.tar.gz: abce039a2f2a0e80da8bc4cea5a35f0bf76b7ee32533a55399db73010ed5a3b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3d3d5cb411e18a6a764759ef31f4cf355ec4282a4fac3f0ef5e650f43236cadd8c1957aa85abf21eaa70c8d3751bd985112b9818e2a9ea9ab719a283705423c
|
7
|
+
data.tar.gz: 68c78ed2e3a8a7e72fe3376fa04c6acd57f4c5a426e1eca379fe243181941967a324a395c62d370305e81555319d0cc9a63c611e9e19fffd5eb1c9b715d1660c
|
data/Gemfile.lock
CHANGED
@@ -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": "
|
16819
|
-
"name":
|
16820
|
-
"ofType":
|
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