stigg-api-client 0.722.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: 45fd21b3fdb8c357756410ef71776a8504103b62f86dee0fba1a1815a777fb04
4
- data.tar.gz: 3ccc6824b9dd1bde26ce8599d2f247354b1468dc0cbad8d6a0e2b07de6bd6c83
3
+ metadata.gz: 9a0960c09f3b5f1327f5582e7a5a8ff697b2b0da29a93854bc25379a15d28c29
4
+ data.tar.gz: 9840f677a1235b9ad9a263c65cd6f121d27dd98c1069683b12c4d54a3ee1bcb4
5
5
  SHA512:
6
- metadata.gz: '079c1a8ea0925fac816f122ec26a95b0516fce9ac8e7bef1e6727b5b680373ce6d547780c92fd7cb9df1b5c88bb7a617d3b97d3e286f827fc6132eee47a3b2ce'
7
- data.tar.gz: ef98ac852f181f0b15b4d82fb22db532222301f1b31cf8f34fcfed99de7714162df6cacdc9c0fd7b844cc977775b2058a9ff60e5c877003632bfcfa99db49122
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.722.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,18 +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
1452
1461
  }
1453
1462
  }
1463
+ #{Fragment::ReportUsageFragment}
1454
1464
  GRAPHQL
1455
1465
 
1456
1466
  ReportUsageBulk = <<~GRAPHQL
1457
1467
  mutation ($input: ReportUsageBulkInput!) {
1458
- reportUsageBulk(input: $input)
1468
+ reportUsageBulk(input: $input) {
1469
+ ...ReportUsageFragment
1470
+ }
1459
1471
  }
1472
+ #{Fragment::ReportUsageFragment}
1460
1473
  GRAPHQL
1461
1474
 
1462
1475
  ReportEvent = <<~GRAPHQL
@@ -35638,9 +35638,21 @@
35638
35638
  }
35639
35639
  ],
35640
35640
  "type": {
35641
- "kind": "SCALAR",
35642
- "name": "String",
35643
- "ofType": null
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
+ }
35644
35656
  },
35645
35657
  "isDeprecated": false,
35646
35658
  "deprecationReason": null
@@ -69834,6 +69846,18 @@
69834
69846
  "isDeprecated": false,
69835
69847
  "deprecationReason": null
69836
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
+ },
69837
69861
  {
69838
69862
  "name": "timestamp",
69839
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.722.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.722.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