stigg-api-client 2.19.0 → 2.25.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: 39d8d261cdb1af20b8eade13616d6e1557fd8436dfe24dc93375524ef990a65f
4
- data.tar.gz: 3d257f1205501ff0eccc7dd7532341f72dfdd994c87dacb80f7717b59b9da817
3
+ metadata.gz: 3de41026f101d08a67f60aced3d162486f844802d3df5f2a99ff22578cd1373f
4
+ data.tar.gz: 0a804bafa8217ad45128a78fe5fe8efb9898d80347b5ea95815f9ab8ab2aea35
5
5
  SHA512:
6
- metadata.gz: f661f170198a9377da8313d4a671889befee4cd657dc166e867d410aa963f3e576a9e2ea404fe886057e236cd23c2c35261849c466e3b9977d2baf7119e2b2b2
7
- data.tar.gz: de7620d33bb2e8750334c0fe422ae41514c2d04a0ef58992289344cef411cfaa974692ae8030dc2279feee321877250187a524280c64f8d4d035c2870c73fb0a
6
+ metadata.gz: 4baa1ff7ad6e11da4917ca82c13147af97bbbefabaa2de31d740111f21d9a27b1b3599cc896452c1fde61878d8d9452c8771924104da3e3237f66d60bd3bc513
7
+ data.tar.gz: 33733445fa0642e754ea94b07b900cf0065d511f466eccc31638e7ff1a7e140ad2dcea46c4b4af053367d2842afe8469804f4ae6e1012adbb11280f711e9fe47
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (2.19.0)
4
+ stigg-api-client (2.25.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",
@@ -67382,6 +67361,18 @@
67382
67361
  "isDeprecated": false,
67383
67362
  "deprecationReason": null
67384
67363
  },
67364
+ {
67365
+ "name": "invoiceDaysUntilDue",
67366
+ "description": null,
67367
+ "type": {
67368
+ "kind": "SCALAR",
67369
+ "name": "Float",
67370
+ "ofType": null
67371
+ },
67372
+ "defaultValue": null,
67373
+ "isDeprecated": false,
67374
+ "deprecationReason": null
67375
+ },
67385
67376
  {
67386
67377
  "name": "isBackdated",
67387
67378
  "description": null,
@@ -78423,6 +78414,45 @@
78423
78414
  "enumValues": null,
78424
78415
  "possibleTypes": null
78425
78416
  },
78417
+ {
78418
+ "kind": "OBJECT",
78419
+ "name": "UsageCharged",
78420
+ "description": "An object representing the usage charged",
78421
+ "fields": [
78422
+ {
78423
+ "name": "featureId",
78424
+ "description": "The id of the feature",
78425
+ "args": [],
78426
+ "type": {
78427
+ "kind": "SCALAR",
78428
+ "name": "String",
78429
+ "ofType": null
78430
+ },
78431
+ "isDeprecated": false,
78432
+ "deprecationReason": null
78433
+ },
78434
+ {
78435
+ "name": "usageAmount",
78436
+ "description": "The amount of units charged for usage usage",
78437
+ "args": [],
78438
+ "type": {
78439
+ "kind": "NON_NULL",
78440
+ "name": null,
78441
+ "ofType": {
78442
+ "kind": "SCALAR",
78443
+ "name": "Float",
78444
+ "ofType": null
78445
+ }
78446
+ },
78447
+ "isDeprecated": false,
78448
+ "deprecationReason": null
78449
+ }
78450
+ ],
78451
+ "inputFields": null,
78452
+ "interfaces": [],
78453
+ "enumValues": null,
78454
+ "possibleTypes": null
78455
+ },
78426
78456
  {
78427
78457
  "kind": "OBJECT",
78428
78458
  "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.19.0"
4
+ VERSION = "2.25.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.19.0
4
+ version: 2.25.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-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient