stigg-api-client 0.721.0 → 0.723.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7410fb1dc778abb52a58483c7129d57d40155b28cbef8a96dbf42ffa5f285b3
4
- data.tar.gz: 2946ab750fe06271caaa3f276e585d4eebfb6ccd929a0a93f4385747c720c7c4
3
+ metadata.gz: 9a0960c09f3b5f1327f5582e7a5a8ff697b2b0da29a93854bc25379a15d28c29
4
+ data.tar.gz: 9840f677a1235b9ad9a263c65cd6f121d27dd98c1069683b12c4d54a3ee1bcb4
5
5
  SHA512:
6
- metadata.gz: 5aa3cb544469fc9b48d706a2a52cb33e36f47eb7cca99a2ef3c597214abc2bd20336a0d7c3f97656e1cad99d4f0aec72c4fd626d49afccda9aaba160378714a3
7
- data.tar.gz: 1d85cb85a2d9ed00a50e0586249d6346434bf382c0612138f7a13295c2f27033a442a44e420b6d6a75601985dbe2a970ac413799f7ad60d06861b3d1bf649d4a
6
+ metadata.gz: 9124f67a101b37e3ba53a9581877235f56ed25e508b1548c9e943035b250d5aa81e168faa1cd6536838814eb320503ad9920fba23ed69d23821ed949333fd4e0
7
+ data.tar.gz: d32b8844a9d07dbd8c1b3af040781c8821838bf6caa48af49ee41fccf565156f1eb1de28a5c0d19c127955b6f776eeee5ec7294ed59a4169cdf59768f3ae56ad
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (0.721.0)
4
+ stigg-api-client (0.723.0)
5
5
  graphlient (~> 0.7.0)
6
6
  graphql (< 2.1)
7
7
 
@@ -1262,6 +1262,18 @@ module Stigg
1262
1262
  }
1263
1263
  }
1264
1264
  GRAPHQL
1265
+
1266
+ ReportUsageFragment = <<~GRAPHQL
1267
+ fragment ReportUsageFragment on UsageMeasurementWithCurrentUsage {
1268
+ id
1269
+ featureId
1270
+ customerId
1271
+ resourceId
1272
+ currentUsage
1273
+ nextResetDate
1274
+ timestamp
1275
+ }
1276
+ GRAPHQL
1265
1277
  end
1266
1278
 
1267
1279
  module Mutation
@@ -1445,12 +1457,19 @@ module Stigg
1445
1457
  ReportUsage = <<~GRAPHQL
1446
1458
  mutation ($input: ReportUsageInput!) {
1447
1459
  reportUsage(input: $input) {
1448
- id
1449
- currentUsage
1450
- nextResetDate
1451
- timestamp
1460
+ ...ReportUsageFragment
1461
+ }
1462
+ }
1463
+ #{Fragment::ReportUsageFragment}
1464
+ GRAPHQL
1465
+
1466
+ ReportUsageBulk = <<~GRAPHQL
1467
+ mutation ($input: ReportUsageBulkInput!) {
1468
+ reportUsageBulk(input: $input) {
1469
+ ...ReportUsageFragment
1452
1470
  }
1453
1471
  }
1472
+ #{Fragment::ReportUsageFragment}
1454
1473
  GRAPHQL
1455
1474
 
1456
1475
  ReportEvent = <<~GRAPHQL
@@ -35616,6 +35616,47 @@
35616
35616
  "isDeprecated": false,
35617
35617
  "deprecationReason": null
35618
35618
  },
35619
+ {
35620
+ "name": "reportUsageBulk",
35621
+ "description": null,
35622
+ "args": [
35623
+ {
35624
+ "name": "input",
35625
+ "description": null,
35626
+ "type": {
35627
+ "kind": "NON_NULL",
35628
+ "name": null,
35629
+ "ofType": {
35630
+ "kind": "INPUT_OBJECT",
35631
+ "name": "ReportUsageBulkInput",
35632
+ "ofType": null
35633
+ }
35634
+ },
35635
+ "defaultValue": null,
35636
+ "isDeprecated": false,
35637
+ "deprecationReason": null
35638
+ }
35639
+ ],
35640
+ "type": {
35641
+ "kind": "NON_NULL",
35642
+ "name": null,
35643
+ "ofType": {
35644
+ "kind": "LIST",
35645
+ "name": null,
35646
+ "ofType": {
35647
+ "kind": "NON_NULL",
35648
+ "name": null,
35649
+ "ofType": {
35650
+ "kind": "OBJECT",
35651
+ "name": "UsageMeasurementWithCurrentUsage",
35652
+ "ofType": null
35653
+ }
35654
+ }
35655
+ }
35656
+ },
35657
+ "isDeprecated": false,
35658
+ "deprecationReason": null
35659
+ },
35619
35660
  {
35620
35661
  "name": "resendEmailVerification",
35621
35662
  "description": null,
@@ -54523,6 +54564,148 @@
54523
54564
  "enumValues": null,
54524
54565
  "possibleTypes": null
54525
54566
  },
54567
+ {
54568
+ "kind": "INPUT_OBJECT",
54569
+ "name": "ReportUsageBaseInput",
54570
+ "description": null,
54571
+ "fields": null,
54572
+ "inputFields": [
54573
+ {
54574
+ "name": "createdAt",
54575
+ "description": null,
54576
+ "type": {
54577
+ "kind": "SCALAR",
54578
+ "name": "DateTime",
54579
+ "ofType": null
54580
+ },
54581
+ "defaultValue": null,
54582
+ "isDeprecated": false,
54583
+ "deprecationReason": null
54584
+ },
54585
+ {
54586
+ "name": "customerId",
54587
+ "description": null,
54588
+ "type": {
54589
+ "kind": "NON_NULL",
54590
+ "name": null,
54591
+ "ofType": {
54592
+ "kind": "SCALAR",
54593
+ "name": "String",
54594
+ "ofType": null
54595
+ }
54596
+ },
54597
+ "defaultValue": null,
54598
+ "isDeprecated": false,
54599
+ "deprecationReason": null
54600
+ },
54601
+ {
54602
+ "name": "featureId",
54603
+ "description": null,
54604
+ "type": {
54605
+ "kind": "NON_NULL",
54606
+ "name": null,
54607
+ "ofType": {
54608
+ "kind": "SCALAR",
54609
+ "name": "String",
54610
+ "ofType": null
54611
+ }
54612
+ },
54613
+ "defaultValue": null,
54614
+ "isDeprecated": false,
54615
+ "deprecationReason": null
54616
+ },
54617
+ {
54618
+ "name": "resourceId",
54619
+ "description": null,
54620
+ "type": {
54621
+ "kind": "SCALAR",
54622
+ "name": "String",
54623
+ "ofType": null
54624
+ },
54625
+ "defaultValue": null,
54626
+ "isDeprecated": false,
54627
+ "deprecationReason": null
54628
+ },
54629
+ {
54630
+ "name": "updateBehavior",
54631
+ "description": null,
54632
+ "type": {
54633
+ "kind": "ENUM",
54634
+ "name": "UsageUpdateBehavior",
54635
+ "ofType": null
54636
+ },
54637
+ "defaultValue": "DELTA",
54638
+ "isDeprecated": false,
54639
+ "deprecationReason": null
54640
+ },
54641
+ {
54642
+ "name": "value",
54643
+ "description": null,
54644
+ "type": {
54645
+ "kind": "NON_NULL",
54646
+ "name": null,
54647
+ "ofType": {
54648
+ "kind": "SCALAR",
54649
+ "name": "Float",
54650
+ "ofType": null
54651
+ }
54652
+ },
54653
+ "defaultValue": null,
54654
+ "isDeprecated": false,
54655
+ "deprecationReason": null
54656
+ }
54657
+ ],
54658
+ "interfaces": null,
54659
+ "enumValues": null,
54660
+ "possibleTypes": null
54661
+ },
54662
+ {
54663
+ "kind": "INPUT_OBJECT",
54664
+ "name": "ReportUsageBulkInput",
54665
+ "description": null,
54666
+ "fields": null,
54667
+ "inputFields": [
54668
+ {
54669
+ "name": "environmentId",
54670
+ "description": null,
54671
+ "type": {
54672
+ "kind": "SCALAR",
54673
+ "name": "String",
54674
+ "ofType": null
54675
+ },
54676
+ "defaultValue": null,
54677
+ "isDeprecated": false,
54678
+ "deprecationReason": null
54679
+ },
54680
+ {
54681
+ "name": "usages",
54682
+ "description": null,
54683
+ "type": {
54684
+ "kind": "NON_NULL",
54685
+ "name": null,
54686
+ "ofType": {
54687
+ "kind": "LIST",
54688
+ "name": null,
54689
+ "ofType": {
54690
+ "kind": "NON_NULL",
54691
+ "name": null,
54692
+ "ofType": {
54693
+ "kind": "INPUT_OBJECT",
54694
+ "name": "ReportUsageBaseInput",
54695
+ "ofType": null
54696
+ }
54697
+ }
54698
+ }
54699
+ },
54700
+ "defaultValue": null,
54701
+ "isDeprecated": false,
54702
+ "deprecationReason": null
54703
+ }
54704
+ ],
54705
+ "interfaces": null,
54706
+ "enumValues": null,
54707
+ "possibleTypes": null
54708
+ },
54526
54709
  {
54527
54710
  "kind": "INPUT_OBJECT",
54528
54711
  "name": "ReportUsageInput",
@@ -69663,6 +69846,18 @@
69663
69846
  "isDeprecated": false,
69664
69847
  "deprecationReason": null
69665
69848
  },
69849
+ {
69850
+ "name": "resourceId",
69851
+ "description": null,
69852
+ "args": [],
69853
+ "type": {
69854
+ "kind": "SCALAR",
69855
+ "name": "String",
69856
+ "ofType": null
69857
+ },
69858
+ "isDeprecated": false,
69859
+ "deprecationReason": null
69860
+ },
69666
69861
  {
69667
69862
  "name": "timestamp",
69668
69863
  "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 = "0.721.0"
4
+ VERSION = "0.723.0"
5
5
  end
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: 0.721.0
4
+ version: 0.723.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-01-01 00:00:00.000000000 Z
11
+ date: 2024-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient