stigg-api-client 1.230.0 → 1.231.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/stigg/generated/operations.rb +58 -0
- data/lib/stigg/generated/schema.json +72 -0
- 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: a7f39e593347293a513f23ec72fbb16b36a13db459496a444f8f07a067ce6fa4
|
4
|
+
data.tar.gz: 14aeb70990d56f97875633dfd3880675079c13cddc847833dd84b0f52ff53bbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83564f8d0cf70093f24763f7e7e3fb72b8390bcef173186c86e37effa4e7f389f7946cf4ce7d818d91d17fcd39c389db55bac0ba884c5d5bfedd6d8f2398a19a
|
7
|
+
data.tar.gz: 51507aadfc1a64010f7d1bcf4e5de08e7e33d0e7d6246a638ab0e97245fc725f4606c6f21d91bf257372045423b6fcf41f0de5f6b119efa497848800f78f1b22
|
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 }) {
|
@@ -30539,6 +30539,45 @@
|
|
30539
30539
|
"enumValues": null,
|
30540
30540
|
"possibleTypes": null
|
30541
30541
|
},
|
30542
|
+
{
|
30543
|
+
"kind": "INPUT_OBJECT",
|
30544
|
+
"name": "GetSubscriptionInput",
|
30545
|
+
"description": "Get subscription input",
|
30546
|
+
"fields": null,
|
30547
|
+
"inputFields": [
|
30548
|
+
{
|
30549
|
+
"name": "environmentId",
|
30550
|
+
"description": "The environment ID the subscription belongs to",
|
30551
|
+
"type": {
|
30552
|
+
"kind": "SCALAR",
|
30553
|
+
"name": "String",
|
30554
|
+
"ofType": null
|
30555
|
+
},
|
30556
|
+
"defaultValue": null,
|
30557
|
+
"isDeprecated": false,
|
30558
|
+
"deprecationReason": null
|
30559
|
+
},
|
30560
|
+
{
|
30561
|
+
"name": "subscriptionId",
|
30562
|
+
"description": "The subscription ID to retrieve",
|
30563
|
+
"type": {
|
30564
|
+
"kind": "NON_NULL",
|
30565
|
+
"name": null,
|
30566
|
+
"ofType": {
|
30567
|
+
"kind": "SCALAR",
|
30568
|
+
"name": "String",
|
30569
|
+
"ofType": null
|
30570
|
+
}
|
30571
|
+
},
|
30572
|
+
"defaultValue": null,
|
30573
|
+
"isDeprecated": false,
|
30574
|
+
"deprecationReason": null
|
30575
|
+
}
|
30576
|
+
],
|
30577
|
+
"interfaces": null,
|
30578
|
+
"enumValues": null,
|
30579
|
+
"possibleTypes": null
|
30580
|
+
},
|
30542
30581
|
{
|
30543
30582
|
"kind": "INPUT_OBJECT",
|
30544
30583
|
"name": "GetWidgetConfigurationInput",
|
@@ -61647,6 +61686,39 @@
|
|
61647
61686
|
"isDeprecated": false,
|
61648
61687
|
"deprecationReason": null
|
61649
61688
|
},
|
61689
|
+
{
|
61690
|
+
"name": "getSubscription",
|
61691
|
+
"description": "Get subscription",
|
61692
|
+
"args": [
|
61693
|
+
{
|
61694
|
+
"name": "input",
|
61695
|
+
"description": null,
|
61696
|
+
"type": {
|
61697
|
+
"kind": "NON_NULL",
|
61698
|
+
"name": null,
|
61699
|
+
"ofType": {
|
61700
|
+
"kind": "INPUT_OBJECT",
|
61701
|
+
"name": "GetSubscriptionInput",
|
61702
|
+
"ofType": null
|
61703
|
+
}
|
61704
|
+
},
|
61705
|
+
"defaultValue": null,
|
61706
|
+
"isDeprecated": false,
|
61707
|
+
"deprecationReason": null
|
61708
|
+
}
|
61709
|
+
],
|
61710
|
+
"type": {
|
61711
|
+
"kind": "NON_NULL",
|
61712
|
+
"name": null,
|
61713
|
+
"ofType": {
|
61714
|
+
"kind": "OBJECT",
|
61715
|
+
"name": "CustomerSubscription",
|
61716
|
+
"ofType": null
|
61717
|
+
}
|
61718
|
+
},
|
61719
|
+
"isDeprecated": false,
|
61720
|
+
"deprecationReason": null
|
61721
|
+
},
|
61650
61722
|
{
|
61651
61723
|
"name": "hook",
|
61652
61724
|
"description": null,
|
data/lib/stigg/version.rb
CHANGED