stigg-api-client 0.722.0 → 0.729.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45fd21b3fdb8c357756410ef71776a8504103b62f86dee0fba1a1815a777fb04
4
- data.tar.gz: 3ccc6824b9dd1bde26ce8599d2f247354b1468dc0cbad8d6a0e2b07de6bd6c83
3
+ metadata.gz: f611661060c5c0e8f9af954fb562be607d41f6ffc65f77987d2e9831ce972aa1
4
+ data.tar.gz: 5d76c73d6d507ec67140e04bded42b87ddba8c912db85312f68619aa17330206
5
5
  SHA512:
6
- metadata.gz: '079c1a8ea0925fac816f122ec26a95b0516fce9ac8e7bef1e6727b5b680373ce6d547780c92fd7cb9df1b5c88bb7a617d3b97d3e286f827fc6132eee47a3b2ce'
7
- data.tar.gz: ef98ac852f181f0b15b4d82fb22db532222301f1b31cf8f34fcfed99de7714162df6cacdc9c0fd7b844cc977775b2058a9ff60e5c877003632bfcfa99db49122
6
+ metadata.gz: 8909ee6106b8bacf891f96568227c77dbdf688c988bbaa656e72b99ddc1a1929167ee74ffb2b58ef275ec7fec3ffe69f2540e5921a636a306388a2d18d0b1925
7
+ data.tar.gz: 2c7688a95b66c41390486ab38c4be67625a597121dcc3248073409aaadfffb2b14f6f141bb86a54b000eb46ffce224130d889935c591d02d0c2b0f8dc157129e
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.729.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
@@ -21388,6 +21388,12 @@
21388
21388
  "isDeprecated": false,
21389
21389
  "deprecationReason": null
21390
21390
  },
21391
+ {
21392
+ "name": "CustomerHasNoEmailAddress",
21393
+ "description": null,
21394
+ "isDeprecated": false,
21395
+ "deprecationReason": null
21396
+ },
21391
21397
  {
21392
21398
  "name": "CustomerHasNoPaymentMethod",
21393
21399
  "description": null,
@@ -35638,9 +35644,21 @@
35638
35644
  }
35639
35645
  ],
35640
35646
  "type": {
35641
- "kind": "SCALAR",
35642
- "name": "String",
35643
- "ofType": null
35647
+ "kind": "NON_NULL",
35648
+ "name": null,
35649
+ "ofType": {
35650
+ "kind": "LIST",
35651
+ "name": null,
35652
+ "ofType": {
35653
+ "kind": "NON_NULL",
35654
+ "name": null,
35655
+ "ofType": {
35656
+ "kind": "OBJECT",
35657
+ "name": "UsageMeasurementWithCurrentUsage",
35658
+ "ofType": null
35659
+ }
35660
+ }
35661
+ }
35644
35662
  },
35645
35663
  "isDeprecated": false,
35646
35664
  "deprecationReason": null
@@ -58053,6 +58071,18 @@
58053
58071
  "isDeprecated": false,
58054
58072
  "deprecationReason": null
58055
58073
  },
58074
+ {
58075
+ "name": "isInvoicePaid",
58076
+ "description": null,
58077
+ "type": {
58078
+ "kind": "SCALAR",
58079
+ "name": "Boolean",
58080
+ "ofType": null
58081
+ },
58082
+ "defaultValue": "false",
58083
+ "isDeprecated": false,
58084
+ "deprecationReason": null
58085
+ },
58056
58086
  {
58057
58087
  "name": "metadata",
58058
58088
  "description": null,
@@ -69834,6 +69864,18 @@
69834
69864
  "isDeprecated": false,
69835
69865
  "deprecationReason": null
69836
69866
  },
69867
+ {
69868
+ "name": "resourceId",
69869
+ "description": null,
69870
+ "args": [],
69871
+ "type": {
69872
+ "kind": "SCALAR",
69873
+ "name": "String",
69874
+ "ofType": null
69875
+ },
69876
+ "isDeprecated": false,
69877
+ "deprecationReason": null
69878
+ },
69837
69879
  {
69838
69880
  "name": "timestamp",
69839
69881
  "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.729.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.729.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-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient