stigg-api-client 2.233.0 → 2.235.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 +29 -0
- data/lib/stigg/generated/schema.json +369 -1
- 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: 47d3ca8fe5a5674c2113a6eeb8b5e80bccf45d9e4ff0051042a1b7f15a059279
|
|
4
|
+
data.tar.gz: d71b3fd4a7b4e8aadb3ca8abc6b35f763e8e47493d51bc62f2d3934cd9bacf43
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70f1524f6c280ff446b506fd719d75c153dde217c01b75cc24d85f88c777a5aa1cc923863dcea055b970f36b349501b9a304085aeb159525c51127ce8b1dfb6e
|
|
7
|
+
data.tar.gz: 8141d1dda818b3c1e2a539c17dbdbe1bba8bd6111eecba4035b7018521cc3b3d1ef7b56f3e8536a30a08fc32b672063936294e56c13043d64eaa5badd26dfe30
|
data/Gemfile.lock
CHANGED
|
@@ -1481,6 +1481,26 @@ module Stigg
|
|
|
1481
1481
|
}
|
|
1482
1482
|
GRAPHQL
|
|
1483
1483
|
|
|
1484
|
+
UsageHistoryV2Fragment = <<~GRAPHQL
|
|
1485
|
+
fragment UsageHistoryV2Fragment on UsageHistoryV2 {
|
|
1486
|
+
markers {
|
|
1487
|
+
type
|
|
1488
|
+
timestamp
|
|
1489
|
+
}
|
|
1490
|
+
series {
|
|
1491
|
+
tags {
|
|
1492
|
+
key
|
|
1493
|
+
value
|
|
1494
|
+
}
|
|
1495
|
+
points {
|
|
1496
|
+
timestamp
|
|
1497
|
+
value
|
|
1498
|
+
isResetPoint
|
|
1499
|
+
}
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
GRAPHQL
|
|
1503
|
+
|
|
1484
1504
|
ProvisionCustomerFragment = <<~GRAPHQL
|
|
1485
1505
|
fragment ProvisionCustomerFragment on ProvisionedCustomer {
|
|
1486
1506
|
customer {
|
|
@@ -2199,6 +2219,15 @@ module Stigg
|
|
|
2199
2219
|
#{Fragment::UsageHistoryFragment}
|
|
2200
2220
|
GRAPHQL
|
|
2201
2221
|
|
|
2222
|
+
GetUsageHistoryV2 = <<~GRAPHQL
|
|
2223
|
+
query GetUsageHistoryV2($input: UsageHistoryV2Input!) {
|
|
2224
|
+
usageHistoryV2(input: $input) {
|
|
2225
|
+
...UsageHistoryV2Fragment
|
|
2226
|
+
}
|
|
2227
|
+
}
|
|
2228
|
+
#{Fragment::UsageHistoryV2Fragment}
|
|
2229
|
+
GRAPHQL
|
|
2230
|
+
|
|
2202
2231
|
OnEntitlementsUpdated = <<~GRAPHQL
|
|
2203
2232
|
subscription OnEntitlementsUpdated {
|
|
2204
2233
|
entitlementsUpdated {
|
|
@@ -64919,6 +64919,39 @@
|
|
|
64919
64919
|
"ofType": null
|
|
64920
64920
|
}
|
|
64921
64921
|
},
|
|
64922
|
+
"isDeprecated": true,
|
|
64923
|
+
"deprecationReason": "usage usageHistoryV2 instead"
|
|
64924
|
+
},
|
|
64925
|
+
{
|
|
64926
|
+
"name": "usageHistoryV2",
|
|
64927
|
+
"description": "Get customer's usage history for a feature",
|
|
64928
|
+
"args": [
|
|
64929
|
+
{
|
|
64930
|
+
"name": "input",
|
|
64931
|
+
"description": null,
|
|
64932
|
+
"type": {
|
|
64933
|
+
"kind": "NON_NULL",
|
|
64934
|
+
"name": null,
|
|
64935
|
+
"ofType": {
|
|
64936
|
+
"kind": "INPUT_OBJECT",
|
|
64937
|
+
"name": "UsageHistoryV2Input",
|
|
64938
|
+
"ofType": null
|
|
64939
|
+
}
|
|
64940
|
+
},
|
|
64941
|
+
"defaultValue": null,
|
|
64942
|
+
"isDeprecated": false,
|
|
64943
|
+
"deprecationReason": null
|
|
64944
|
+
}
|
|
64945
|
+
],
|
|
64946
|
+
"type": {
|
|
64947
|
+
"kind": "NON_NULL",
|
|
64948
|
+
"name": null,
|
|
64949
|
+
"ofType": {
|
|
64950
|
+
"kind": "OBJECT",
|
|
64951
|
+
"name": "UsageHistoryV2",
|
|
64952
|
+
"ofType": null
|
|
64953
|
+
}
|
|
64954
|
+
},
|
|
64922
64955
|
"isDeprecated": false,
|
|
64923
64956
|
"deprecationReason": null
|
|
64924
64957
|
},
|
|
@@ -81614,6 +81647,341 @@
|
|
|
81614
81647
|
"enumValues": null,
|
|
81615
81648
|
"possibleTypes": null
|
|
81616
81649
|
},
|
|
81650
|
+
{
|
|
81651
|
+
"kind": "OBJECT",
|
|
81652
|
+
"name": "UsageHistoryPoint",
|
|
81653
|
+
"description": "Point in the usage history",
|
|
81654
|
+
"fields": [
|
|
81655
|
+
{
|
|
81656
|
+
"name": "isResetPoint",
|
|
81657
|
+
"description": "Indicates whether there was usage reset in this point, see `markers` for details",
|
|
81658
|
+
"args": [],
|
|
81659
|
+
"type": {
|
|
81660
|
+
"kind": "NON_NULL",
|
|
81661
|
+
"name": null,
|
|
81662
|
+
"ofType": {
|
|
81663
|
+
"kind": "SCALAR",
|
|
81664
|
+
"name": "Boolean",
|
|
81665
|
+
"ofType": null
|
|
81666
|
+
}
|
|
81667
|
+
},
|
|
81668
|
+
"isDeprecated": false,
|
|
81669
|
+
"deprecationReason": null
|
|
81670
|
+
},
|
|
81671
|
+
{
|
|
81672
|
+
"name": "timestamp",
|
|
81673
|
+
"description": "Timestamp of the usage history point",
|
|
81674
|
+
"args": [],
|
|
81675
|
+
"type": {
|
|
81676
|
+
"kind": "NON_NULL",
|
|
81677
|
+
"name": null,
|
|
81678
|
+
"ofType": {
|
|
81679
|
+
"kind": "SCALAR",
|
|
81680
|
+
"name": "DateTime",
|
|
81681
|
+
"ofType": null
|
|
81682
|
+
}
|
|
81683
|
+
},
|
|
81684
|
+
"isDeprecated": false,
|
|
81685
|
+
"deprecationReason": null
|
|
81686
|
+
},
|
|
81687
|
+
{
|
|
81688
|
+
"name": "value",
|
|
81689
|
+
"description": "Value of the usage history point",
|
|
81690
|
+
"args": [],
|
|
81691
|
+
"type": {
|
|
81692
|
+
"kind": "NON_NULL",
|
|
81693
|
+
"name": null,
|
|
81694
|
+
"ofType": {
|
|
81695
|
+
"kind": "SCALAR",
|
|
81696
|
+
"name": "Float",
|
|
81697
|
+
"ofType": null
|
|
81698
|
+
}
|
|
81699
|
+
},
|
|
81700
|
+
"isDeprecated": false,
|
|
81701
|
+
"deprecationReason": null
|
|
81702
|
+
}
|
|
81703
|
+
],
|
|
81704
|
+
"inputFields": null,
|
|
81705
|
+
"interfaces": [],
|
|
81706
|
+
"enumValues": null,
|
|
81707
|
+
"possibleTypes": null
|
|
81708
|
+
},
|
|
81709
|
+
{
|
|
81710
|
+
"kind": "OBJECT",
|
|
81711
|
+
"name": "UsageHistorySeries",
|
|
81712
|
+
"description": "Series of usage history",
|
|
81713
|
+
"fields": [
|
|
81714
|
+
{
|
|
81715
|
+
"name": "points",
|
|
81716
|
+
"description": "Points in the usage history series",
|
|
81717
|
+
"args": [],
|
|
81718
|
+
"type": {
|
|
81719
|
+
"kind": "NON_NULL",
|
|
81720
|
+
"name": null,
|
|
81721
|
+
"ofType": {
|
|
81722
|
+
"kind": "LIST",
|
|
81723
|
+
"name": null,
|
|
81724
|
+
"ofType": {
|
|
81725
|
+
"kind": "NON_NULL",
|
|
81726
|
+
"name": null,
|
|
81727
|
+
"ofType": {
|
|
81728
|
+
"kind": "OBJECT",
|
|
81729
|
+
"name": "UsageHistoryPoint",
|
|
81730
|
+
"ofType": null
|
|
81731
|
+
}
|
|
81732
|
+
}
|
|
81733
|
+
}
|
|
81734
|
+
},
|
|
81735
|
+
"isDeprecated": false,
|
|
81736
|
+
"deprecationReason": null
|
|
81737
|
+
},
|
|
81738
|
+
{
|
|
81739
|
+
"name": "tags",
|
|
81740
|
+
"description": "Tags for the usage history series",
|
|
81741
|
+
"args": [],
|
|
81742
|
+
"type": {
|
|
81743
|
+
"kind": "NON_NULL",
|
|
81744
|
+
"name": null,
|
|
81745
|
+
"ofType": {
|
|
81746
|
+
"kind": "LIST",
|
|
81747
|
+
"name": null,
|
|
81748
|
+
"ofType": {
|
|
81749
|
+
"kind": "NON_NULL",
|
|
81750
|
+
"name": null,
|
|
81751
|
+
"ofType": {
|
|
81752
|
+
"kind": "OBJECT",
|
|
81753
|
+
"name": "UsageHistorySeriesTag",
|
|
81754
|
+
"ofType": null
|
|
81755
|
+
}
|
|
81756
|
+
}
|
|
81757
|
+
}
|
|
81758
|
+
},
|
|
81759
|
+
"isDeprecated": false,
|
|
81760
|
+
"deprecationReason": null
|
|
81761
|
+
}
|
|
81762
|
+
],
|
|
81763
|
+
"inputFields": null,
|
|
81764
|
+
"interfaces": [],
|
|
81765
|
+
"enumValues": null,
|
|
81766
|
+
"possibleTypes": null
|
|
81767
|
+
},
|
|
81768
|
+
{
|
|
81769
|
+
"kind": "OBJECT",
|
|
81770
|
+
"name": "UsageHistorySeriesTag",
|
|
81771
|
+
"description": "Tag for the usage history series",
|
|
81772
|
+
"fields": [
|
|
81773
|
+
{
|
|
81774
|
+
"name": "key",
|
|
81775
|
+
"description": "Key of the tag",
|
|
81776
|
+
"args": [],
|
|
81777
|
+
"type": {
|
|
81778
|
+
"kind": "NON_NULL",
|
|
81779
|
+
"name": null,
|
|
81780
|
+
"ofType": {
|
|
81781
|
+
"kind": "SCALAR",
|
|
81782
|
+
"name": "String",
|
|
81783
|
+
"ofType": null
|
|
81784
|
+
}
|
|
81785
|
+
},
|
|
81786
|
+
"isDeprecated": false,
|
|
81787
|
+
"deprecationReason": null
|
|
81788
|
+
},
|
|
81789
|
+
{
|
|
81790
|
+
"name": "value",
|
|
81791
|
+
"description": "Value of the tag",
|
|
81792
|
+
"args": [],
|
|
81793
|
+
"type": {
|
|
81794
|
+
"kind": "NON_NULL",
|
|
81795
|
+
"name": null,
|
|
81796
|
+
"ofType": {
|
|
81797
|
+
"kind": "SCALAR",
|
|
81798
|
+
"name": "String",
|
|
81799
|
+
"ofType": null
|
|
81800
|
+
}
|
|
81801
|
+
},
|
|
81802
|
+
"isDeprecated": false,
|
|
81803
|
+
"deprecationReason": null
|
|
81804
|
+
}
|
|
81805
|
+
],
|
|
81806
|
+
"inputFields": null,
|
|
81807
|
+
"interfaces": [],
|
|
81808
|
+
"enumValues": null,
|
|
81809
|
+
"possibleTypes": null
|
|
81810
|
+
},
|
|
81811
|
+
{
|
|
81812
|
+
"kind": "OBJECT",
|
|
81813
|
+
"name": "UsageHistoryV2",
|
|
81814
|
+
"description": "Usage history",
|
|
81815
|
+
"fields": [
|
|
81816
|
+
{
|
|
81817
|
+
"name": "markers",
|
|
81818
|
+
"description": "Markers for events that affecting feature usage",
|
|
81819
|
+
"args": [],
|
|
81820
|
+
"type": {
|
|
81821
|
+
"kind": "NON_NULL",
|
|
81822
|
+
"name": null,
|
|
81823
|
+
"ofType": {
|
|
81824
|
+
"kind": "LIST",
|
|
81825
|
+
"name": null,
|
|
81826
|
+
"ofType": {
|
|
81827
|
+
"kind": "NON_NULL",
|
|
81828
|
+
"name": null,
|
|
81829
|
+
"ofType": {
|
|
81830
|
+
"kind": "OBJECT",
|
|
81831
|
+
"name": "UsageMarker",
|
|
81832
|
+
"ofType": null
|
|
81833
|
+
}
|
|
81834
|
+
}
|
|
81835
|
+
}
|
|
81836
|
+
},
|
|
81837
|
+
"isDeprecated": false,
|
|
81838
|
+
"deprecationReason": null
|
|
81839
|
+
},
|
|
81840
|
+
{
|
|
81841
|
+
"name": "series",
|
|
81842
|
+
"description": "Series of usage history",
|
|
81843
|
+
"args": [],
|
|
81844
|
+
"type": {
|
|
81845
|
+
"kind": "NON_NULL",
|
|
81846
|
+
"name": null,
|
|
81847
|
+
"ofType": {
|
|
81848
|
+
"kind": "LIST",
|
|
81849
|
+
"name": null,
|
|
81850
|
+
"ofType": {
|
|
81851
|
+
"kind": "NON_NULL",
|
|
81852
|
+
"name": null,
|
|
81853
|
+
"ofType": {
|
|
81854
|
+
"kind": "OBJECT",
|
|
81855
|
+
"name": "UsageHistorySeries",
|
|
81856
|
+
"ofType": null
|
|
81857
|
+
}
|
|
81858
|
+
}
|
|
81859
|
+
}
|
|
81860
|
+
},
|
|
81861
|
+
"isDeprecated": false,
|
|
81862
|
+
"deprecationReason": null
|
|
81863
|
+
}
|
|
81864
|
+
],
|
|
81865
|
+
"inputFields": null,
|
|
81866
|
+
"interfaces": [],
|
|
81867
|
+
"enumValues": null,
|
|
81868
|
+
"possibleTypes": null
|
|
81869
|
+
},
|
|
81870
|
+
{
|
|
81871
|
+
"kind": "INPUT_OBJECT",
|
|
81872
|
+
"name": "UsageHistoryV2Input",
|
|
81873
|
+
"description": "Input for fetching usage history",
|
|
81874
|
+
"fields": null,
|
|
81875
|
+
"inputFields": [
|
|
81876
|
+
{
|
|
81877
|
+
"name": "customerId",
|
|
81878
|
+
"description": "Customer ID",
|
|
81879
|
+
"type": {
|
|
81880
|
+
"kind": "NON_NULL",
|
|
81881
|
+
"name": null,
|
|
81882
|
+
"ofType": {
|
|
81883
|
+
"kind": "SCALAR",
|
|
81884
|
+
"name": "String",
|
|
81885
|
+
"ofType": null
|
|
81886
|
+
}
|
|
81887
|
+
},
|
|
81888
|
+
"defaultValue": null,
|
|
81889
|
+
"isDeprecated": false,
|
|
81890
|
+
"deprecationReason": null
|
|
81891
|
+
},
|
|
81892
|
+
{
|
|
81893
|
+
"name": "endDate",
|
|
81894
|
+
"description": "End date of the usage history",
|
|
81895
|
+
"type": {
|
|
81896
|
+
"kind": "SCALAR",
|
|
81897
|
+
"name": "DateTime",
|
|
81898
|
+
"ofType": null
|
|
81899
|
+
},
|
|
81900
|
+
"defaultValue": null,
|
|
81901
|
+
"isDeprecated": false,
|
|
81902
|
+
"deprecationReason": null
|
|
81903
|
+
},
|
|
81904
|
+
{
|
|
81905
|
+
"name": "environmentId",
|
|
81906
|
+
"description": null,
|
|
81907
|
+
"type": {
|
|
81908
|
+
"kind": "SCALAR",
|
|
81909
|
+
"name": "String",
|
|
81910
|
+
"ofType": null
|
|
81911
|
+
},
|
|
81912
|
+
"defaultValue": null,
|
|
81913
|
+
"isDeprecated": false,
|
|
81914
|
+
"deprecationReason": null
|
|
81915
|
+
},
|
|
81916
|
+
{
|
|
81917
|
+
"name": "featureId",
|
|
81918
|
+
"description": "Feature ID",
|
|
81919
|
+
"type": {
|
|
81920
|
+
"kind": "NON_NULL",
|
|
81921
|
+
"name": null,
|
|
81922
|
+
"ofType": {
|
|
81923
|
+
"kind": "SCALAR",
|
|
81924
|
+
"name": "String",
|
|
81925
|
+
"ofType": null
|
|
81926
|
+
}
|
|
81927
|
+
},
|
|
81928
|
+
"defaultValue": null,
|
|
81929
|
+
"isDeprecated": false,
|
|
81930
|
+
"deprecationReason": null
|
|
81931
|
+
},
|
|
81932
|
+
{
|
|
81933
|
+
"name": "groupBy",
|
|
81934
|
+
"description": "Group usage per keys",
|
|
81935
|
+
"type": {
|
|
81936
|
+
"kind": "LIST",
|
|
81937
|
+
"name": null,
|
|
81938
|
+
"ofType": {
|
|
81939
|
+
"kind": "NON_NULL",
|
|
81940
|
+
"name": null,
|
|
81941
|
+
"ofType": {
|
|
81942
|
+
"kind": "SCALAR",
|
|
81943
|
+
"name": "String",
|
|
81944
|
+
"ofType": null
|
|
81945
|
+
}
|
|
81946
|
+
}
|
|
81947
|
+
},
|
|
81948
|
+
"defaultValue": null,
|
|
81949
|
+
"isDeprecated": false,
|
|
81950
|
+
"deprecationReason": null
|
|
81951
|
+
},
|
|
81952
|
+
{
|
|
81953
|
+
"name": "resourceId",
|
|
81954
|
+
"description": "Resource ID",
|
|
81955
|
+
"type": {
|
|
81956
|
+
"kind": "SCALAR",
|
|
81957
|
+
"name": "String",
|
|
81958
|
+
"ofType": null
|
|
81959
|
+
},
|
|
81960
|
+
"defaultValue": null,
|
|
81961
|
+
"isDeprecated": false,
|
|
81962
|
+
"deprecationReason": null
|
|
81963
|
+
},
|
|
81964
|
+
{
|
|
81965
|
+
"name": "startDate",
|
|
81966
|
+
"description": "Start date of the usage history",
|
|
81967
|
+
"type": {
|
|
81968
|
+
"kind": "NON_NULL",
|
|
81969
|
+
"name": null,
|
|
81970
|
+
"ofType": {
|
|
81971
|
+
"kind": "SCALAR",
|
|
81972
|
+
"name": "DateTime",
|
|
81973
|
+
"ofType": null
|
|
81974
|
+
}
|
|
81975
|
+
},
|
|
81976
|
+
"defaultValue": null,
|
|
81977
|
+
"isDeprecated": false,
|
|
81978
|
+
"deprecationReason": null
|
|
81979
|
+
}
|
|
81980
|
+
],
|
|
81981
|
+
"interfaces": null,
|
|
81982
|
+
"enumValues": null,
|
|
81983
|
+
"possibleTypes": null
|
|
81984
|
+
},
|
|
81617
81985
|
{
|
|
81618
81986
|
"kind": "OBJECT",
|
|
81619
81987
|
"name": "UsageMarker",
|
|
@@ -81660,7 +82028,7 @@
|
|
|
81660
82028
|
{
|
|
81661
82029
|
"kind": "ENUM",
|
|
81662
82030
|
"name": "UsageMarkerType",
|
|
81663
|
-
"description": "Type of marker for a usage
|
|
82031
|
+
"description": "Type of marker for a usage history point",
|
|
81664
82032
|
"fields": null,
|
|
81665
82033
|
"inputFields": null,
|
|
81666
82034
|
"interfaces": 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: 2.
|
|
4
|
+
version: 2.235.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-12-
|
|
11
|
+
date: 2024-12-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: graphlient
|