stigg-api-client 1.230.0 → 1.233.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 +59 -0
- data/lib/stigg/generated/schema.json +72 -0
- data/lib/stigg/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c0853dbdc5e6b650b0cdf59622627ce3d66bb48aa01781d5c0d7d0cbc2f8537
|
4
|
+
data.tar.gz: faebe8e46a9a3cb29da887c2b009fea56a9db1901970f6e0fece749418f2ea5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e1e500aef4f1a401a1794659930f8f4c20778f32e988b8ebf4fb5c43a8d510b6d455ea03aecb2bbb6fbca323aadce25ad14665a66fb32b83f5689ea8207a78c
|
7
|
+
data.tar.gz: 394fb615c4901ccd32e68eb33671316818fba17e8efc4ff12e3cdcaa2445560f5783dec89225dd341a4d12d16c7c5d798c1bee981711a34f0036f54788064502
|
data/Gemfile.lock
CHANGED
@@ -225,6 +225,32 @@ 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
|
+
displayName
|
244
|
+
}
|
245
|
+
addons {
|
246
|
+
quantity
|
247
|
+
addon {
|
248
|
+
addonId: refId
|
249
|
+
}
|
250
|
+
}
|
251
|
+
}
|
252
|
+
GRAPHQL
|
253
|
+
|
228
254
|
SlimSubscriptionFragment = <<~GRAPHQL
|
229
255
|
fragment SlimSubscriptionFragment on CustomerSubscription {
|
230
256
|
id
|
@@ -1747,6 +1773,39 @@ module Stigg
|
|
1747
1773
|
#{Fragment::SubscriptionFutureUpdateData}
|
1748
1774
|
GRAPHQL
|
1749
1775
|
|
1776
|
+
GetActiveSubscriptionsList = <<~GRAPHQL
|
1777
|
+
query GetActiveSubscriptionsList($input: GetActiveSubscriptionsInput!) {
|
1778
|
+
getActiveSubscriptions(input: $input) {
|
1779
|
+
...SlimSubscriptionFragmentV2
|
1780
|
+
}
|
1781
|
+
}
|
1782
|
+
#{Fragment::SlimSubscriptionFragmentV2}
|
1783
|
+
GRAPHQL
|
1784
|
+
|
1785
|
+
GetSubscription = <<~GRAPHQL
|
1786
|
+
query GetSubscription($input: GetSubscriptionInput!) {
|
1787
|
+
getSubscription(input: $input) {
|
1788
|
+
...SubscriptionFragment
|
1789
|
+
}
|
1790
|
+
}
|
1791
|
+
#{Fragment::SubscriptionFragment}
|
1792
|
+
#{Fragment::SubscriptionInvoiceFragment}
|
1793
|
+
#{Fragment::CustomerResourceFragment}
|
1794
|
+
#{Fragment::PriceFragment}
|
1795
|
+
#{Fragment::PriceTierFragment}
|
1796
|
+
#{Fragment::TotalPriceFragment}
|
1797
|
+
#{Fragment::PlanFragment}
|
1798
|
+
#{Fragment::ProductFragment}
|
1799
|
+
#{Fragment::PackageEntitlementFragment}
|
1800
|
+
#{Fragment::AddonFragment}
|
1801
|
+
#{Fragment::OveragePriceFragment}
|
1802
|
+
#{Fragment::AddonDependencyFragment}
|
1803
|
+
#{Fragment::PlanCompatiblePackageGroupsFragment}
|
1804
|
+
#{Fragment::SubscriptionScheduledUpdateData}
|
1805
|
+
#{Fragment::ScheduleVariablesFragment}
|
1806
|
+
#{Fragment::SubscriptionFutureUpdateData}
|
1807
|
+
GRAPHQL
|
1808
|
+
|
1750
1809
|
GetCoupons = <<~GRAPHQL
|
1751
1810
|
query GetCoupons {
|
1752
1811
|
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
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stigg-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.233.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stigg
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphlient
|