stigg-api-client 2.17.4 → 2.22.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: 8fce6c2706116c7207897aab44c533c50770303a1f47ba7f46553a3bde9e0143
4
- data.tar.gz: fbfb2ae7b9e4ce9c21d11bb7e5bd04ed9e81684af8a597697de0991c33c65304
3
+ metadata.gz: 2bf3d77a030104cce5fd639828eb5743b9ff9df7846f60055c09564585c41c48
4
+ data.tar.gz: bb632e754a6053d0fc4feea6aab63bd1008c9ee6402078330b847280b84695f7
5
5
  SHA512:
6
- metadata.gz: b82a07a10ce76be1fbeeaa2c1d295b2625eb92ce771bbc06cdada8cc6b0acd7df328d2eb18c8637f972198bbfdfd5a3c164c784f73a401a072f0948195cbc1c6
7
- data.tar.gz: e8218e3f5efa140b267f6f05c30286532d98643ba4331939ac2117562ec80fdaf8ecb636daf47d0af7948ee3abf3141f9960629f27ff396b1d2fb9f09e80e7c9
6
+ metadata.gz: fef7e946e3bda0a4f19dd6cd1495dfb7c8cd2f7051b1944ca3de46d0386b5b3b36363adfbce8f846fb36b77ff04ee802c6f2840f10fb907feaa15b0c2a19d174
7
+ data.tar.gz: d903f5c538d3343f3f682e0074467e3c87a47a8fc74e25a53781ad1f1b019a9381bdb373af3dbe148b47f9db5d8fc7fca0acd4b6d8f94865a694f0d74ff65da1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (2.17.4)
4
+ stigg-api-client (2.22.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -5983,8 +5983,8 @@
5983
5983
  },
5984
5984
  {
5985
5985
  "kind": "OBJECT",
5986
- "name": "ChargeSubscriptionOverages",
5987
- "description": "Input for triggering an immediate overage charge for a subscription",
5986
+ "name": "ChargeSubscriptionUsage",
5987
+ "description": "Input for triggering an immediate usage charge for a subscription",
5988
5988
  "fields": [
5989
5989
  {
5990
5990
  "name": "invoiceBillingId",
@@ -5999,32 +5999,24 @@
5999
5999
  "deprecationReason": null
6000
6000
  },
6001
6001
  {
6002
- "name": "overagesCharged",
6003
- "description": "An array of the overages which were charged",
6002
+ "name": "periodEnd",
6003
+ "description": "The date from which the usage was calculated to",
6004
6004
  "args": [],
6005
6005
  "type": {
6006
6006
  "kind": "NON_NULL",
6007
6007
  "name": null,
6008
6008
  "ofType": {
6009
- "kind": "LIST",
6010
- "name": null,
6011
- "ofType": {
6012
- "kind": "NON_NULL",
6013
- "name": null,
6014
- "ofType": {
6015
- "kind": "OBJECT",
6016
- "name": "OverageCharged",
6017
- "ofType": null
6018
- }
6019
- }
6009
+ "kind": "SCALAR",
6010
+ "name": "DateTime",
6011
+ "ofType": null
6020
6012
  }
6021
6013
  },
6022
6014
  "isDeprecated": false,
6023
6015
  "deprecationReason": null
6024
6016
  },
6025
6017
  {
6026
- "name": "periodEnd",
6027
- "description": "The date from which the usage was calculated to",
6018
+ "name": "periodStart",
6019
+ "description": "The date from which the usage was calculated from",
6028
6020
  "args": [],
6029
6021
  "type": {
6030
6022
  "kind": "NON_NULL",
@@ -6039,15 +6031,15 @@
6039
6031
  "deprecationReason": null
6040
6032
  },
6041
6033
  {
6042
- "name": "periodStart",
6043
- "description": "The date from which the usage was calculated from",
6034
+ "name": "subscriptionId",
6035
+ "description": "The subscription reference id for which the usage was charged",
6044
6036
  "args": [],
6045
6037
  "type": {
6046
6038
  "kind": "NON_NULL",
6047
6039
  "name": null,
6048
6040
  "ofType": {
6049
6041
  "kind": "SCALAR",
6050
- "name": "DateTime",
6042
+ "name": "String",
6051
6043
  "ofType": null
6052
6044
  }
6053
6045
  },
@@ -6055,16 +6047,24 @@
6055
6047
  "deprecationReason": null
6056
6048
  },
6057
6049
  {
6058
- "name": "subscriptionId",
6059
- "description": "The subscription reference id for which the overage was charged",
6050
+ "name": "usageCharged",
6051
+ "description": "An array of the usage items which were charged",
6060
6052
  "args": [],
6061
6053
  "type": {
6062
6054
  "kind": "NON_NULL",
6063
6055
  "name": null,
6064
6056
  "ofType": {
6065
- "kind": "SCALAR",
6066
- "name": "String",
6067
- "ofType": null
6057
+ "kind": "LIST",
6058
+ "name": null,
6059
+ "ofType": {
6060
+ "kind": "NON_NULL",
6061
+ "name": null,
6062
+ "ofType": {
6063
+ "kind": "OBJECT",
6064
+ "name": "UsageCharged",
6065
+ "ofType": null
6066
+ }
6067
+ }
6068
6068
  }
6069
6069
  },
6070
6070
  "isDeprecated": false,
@@ -6078,8 +6078,8 @@
6078
6078
  },
6079
6079
  {
6080
6080
  "kind": "INPUT_OBJECT",
6081
- "name": "ChargeSubscriptionOveragesInput",
6082
- "description": "Input for triggering an immediate overage charge for a subscription",
6081
+ "name": "ChargeSubscriptionUsageInput",
6082
+ "description": "Input for triggering an immediate usage charge for a subscription",
6083
6083
  "fields": null,
6084
6084
  "inputFields": [
6085
6085
  {
@@ -6096,7 +6096,7 @@
6096
6096
  },
6097
6097
  {
6098
6098
  "name": "subscriptionId",
6099
- "description": "The subscription reference id to charge overage for",
6099
+ "description": "The subscription reference id to charge usage for",
6100
6100
  "type": {
6101
6101
  "kind": "NON_NULL",
6102
6102
  "name": null,
@@ -6112,7 +6112,7 @@
6112
6112
  },
6113
6113
  {
6114
6114
  "name": "untilDate",
6115
- "description": "The end date until which to calculate the overage",
6115
+ "description": "The end date until which to calculate the usage",
6116
6116
  "type": {
6117
6117
  "kind": "SCALAR",
6118
6118
  "name": "DateTime",
@@ -16466,6 +16466,18 @@
16466
16466
  "isDeprecated": true,
16467
16467
  "deprecationReason": "Use paymentCollectionMethod field and look for 'None' value"
16468
16468
  },
16469
+ {
16470
+ "name": "lastUsageInvoice",
16471
+ "description": null,
16472
+ "args": [],
16473
+ "type": {
16474
+ "kind": "OBJECT",
16475
+ "name": "SubscriptionInvoice",
16476
+ "ofType": null
16477
+ },
16478
+ "isDeprecated": false,
16479
+ "deprecationReason": null
16480
+ },
16469
16481
  {
16470
16482
  "name": "latestInvoice",
16471
16483
  "description": null,
@@ -35486,6 +35498,12 @@
35486
35498
  "description": null,
35487
35499
  "isDeprecated": false,
35488
35500
  "deprecationReason": null
35501
+ },
35502
+ {
35503
+ "name": "ZeroAmountBaseCharge",
35504
+ "description": null,
35505
+ "isDeprecated": false,
35506
+ "deprecationReason": null
35489
35507
  }
35490
35508
  ],
35491
35509
  "possibleTypes": null
@@ -37852,8 +37870,8 @@
37852
37870
  "deprecationReason": null
37853
37871
  },
37854
37872
  {
37855
- "name": "chargeSubscriptionOverages",
37856
- "description": "Immediately charges overages in the given subscription",
37873
+ "name": "chargeSubscriptionUsage",
37874
+ "description": "Immediately charges usage in the given subscription",
37857
37875
  "args": [
37858
37876
  {
37859
37877
  "name": "input",
@@ -37863,7 +37881,7 @@
37863
37881
  "name": null,
37864
37882
  "ofType": {
37865
37883
  "kind": "INPUT_OBJECT",
37866
- "name": "ChargeSubscriptionOveragesInput",
37884
+ "name": "ChargeSubscriptionUsageInput",
37867
37885
  "ofType": null
37868
37886
  }
37869
37887
  },
@@ -37877,7 +37895,7 @@
37877
37895
  "name": null,
37878
37896
  "ofType": {
37879
37897
  "kind": "OBJECT",
37880
- "name": "ChargeSubscriptionOverages",
37898
+ "name": "ChargeSubscriptionUsage",
37881
37899
  "ofType": null
37882
37900
  }
37883
37901
  },
@@ -41823,45 +41841,6 @@
41823
41841
  ],
41824
41842
  "possibleTypes": null
41825
41843
  },
41826
- {
41827
- "kind": "OBJECT",
41828
- "name": "OverageCharged",
41829
- "description": "An object representing the overage charged",
41830
- "fields": [
41831
- {
41832
- "name": "featureId",
41833
- "description": "The eid of the feature",
41834
- "args": [],
41835
- "type": {
41836
- "kind": "SCALAR",
41837
- "name": "String",
41838
- "ofType": null
41839
- },
41840
- "isDeprecated": false,
41841
- "deprecationReason": null
41842
- },
41843
- {
41844
- "name": "overageAmount",
41845
- "description": "The amount of units charged for overage usage",
41846
- "args": [],
41847
- "type": {
41848
- "kind": "NON_NULL",
41849
- "name": null,
41850
- "ofType": {
41851
- "kind": "SCALAR",
41852
- "name": "Float",
41853
- "ofType": null
41854
- }
41855
- },
41856
- "isDeprecated": false,
41857
- "deprecationReason": null
41858
- }
41859
- ],
41860
- "inputFields": null,
41861
- "interfaces": [],
41862
- "enumValues": null,
41863
- "possibleTypes": null
41864
- },
41865
41844
  {
41866
41845
  "kind": "INPUT_OBJECT",
41867
41846
  "name": "OverageEntitlementCreateInput",
@@ -78423,6 +78402,45 @@
78423
78402
  "enumValues": null,
78424
78403
  "possibleTypes": null
78425
78404
  },
78405
+ {
78406
+ "kind": "OBJECT",
78407
+ "name": "UsageCharged",
78408
+ "description": "An object representing the usage charged",
78409
+ "fields": [
78410
+ {
78411
+ "name": "featureId",
78412
+ "description": "The id of the feature",
78413
+ "args": [],
78414
+ "type": {
78415
+ "kind": "SCALAR",
78416
+ "name": "String",
78417
+ "ofType": null
78418
+ },
78419
+ "isDeprecated": false,
78420
+ "deprecationReason": null
78421
+ },
78422
+ {
78423
+ "name": "usageAmount",
78424
+ "description": "The amount of units charged for usage usage",
78425
+ "args": [],
78426
+ "type": {
78427
+ "kind": "NON_NULL",
78428
+ "name": null,
78429
+ "ofType": {
78430
+ "kind": "SCALAR",
78431
+ "name": "Float",
78432
+ "ofType": null
78433
+ }
78434
+ },
78435
+ "isDeprecated": false,
78436
+ "deprecationReason": null
78437
+ }
78438
+ ],
78439
+ "inputFields": null,
78440
+ "interfaces": [],
78441
+ "enumValues": null,
78442
+ "possibleTypes": null
78443
+ },
78426
78444
  {
78427
78445
  "kind": "OBJECT",
78428
78446
  "name": "UsageEvent",
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "2.17.4"
4
+ VERSION = "2.22.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: 2.17.4
4
+ version: 2.22.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-07-04 00:00:00.000000000 Z
11
+ date: 2024-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient