stigg-api-client 1.113.0 → 1.115.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: c51ceecc82b49d0193c2f6067b766e8ed24f68b25d1b57ed96926f9e80285916
4
- data.tar.gz: 0dc7e266dc613795ce7c80d7c07ee5b950765d3e2c6ef904f75decb89ad3b979
3
+ metadata.gz: 1ccb274b34d2f86a4da28ba31656d57cdf4ff09878414db84980115645498c5a
4
+ data.tar.gz: 8fc49e99e08eee1d43e0da6d4a1d237b261fb59fa88b7545bb6dfa0cabfcdccf
5
5
  SHA512:
6
- metadata.gz: 7c979c008864d7e7da14c2f050c55354466071be52e164a705b9b809d05924e3917a915cb49d3f04d9c8abec53d70d628e56139c25e40616263a95d1c8ad5dfc
7
- data.tar.gz: 33cbeca6edd29473139e39311cb1d5bd48b97ba7145a0468173fabdf579036534b6670c0dae0596c87059753d076ea189389c939758c100e9287aa6ad978922b
6
+ metadata.gz: 3c65063f7a8c688c469763a8142d7fd4bbdb57b2cc73518b8ac4f60fb047a9493ab0bdde3d4784e0252e7927f42d90f4808e81ca359e49ad56a135c866c4876b
7
+ data.tar.gz: 8a8b96205c2d8988a006587d1411daaa97d2b17730c9a87fbf80481f1adf5474566f60ea9e4684d319b5a06c3af83425d2fc733a4685cbc0910009150eda3e88
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (1.113.0)
4
+ stigg-api-client (1.115.0)
5
5
  graphlient (~> 0.7.0)
6
6
  graphql-client (~> 0.19)
7
7
 
@@ -5403,6 +5403,152 @@
5403
5403
  ],
5404
5404
  "possibleTypes": null
5405
5405
  },
5406
+ {
5407
+ "kind": "OBJECT",
5408
+ "name": "ChargeSubscriptionOverages",
5409
+ "description": "Input for triggering an immediate overage charge for a subscription",
5410
+ "fields": [
5411
+ {
5412
+ "name": "invoiceBillingId",
5413
+ "description": "The ID of the invoice in the billing integration. If null then no invoice was created",
5414
+ "args": [],
5415
+ "type": {
5416
+ "kind": "SCALAR",
5417
+ "name": "String",
5418
+ "ofType": null
5419
+ },
5420
+ "isDeprecated": false,
5421
+ "deprecationReason": null
5422
+ },
5423
+ {
5424
+ "name": "overagesCharged",
5425
+ "description": "An array of the overages which were charged",
5426
+ "args": [],
5427
+ "type": {
5428
+ "kind": "NON_NULL",
5429
+ "name": null,
5430
+ "ofType": {
5431
+ "kind": "LIST",
5432
+ "name": null,
5433
+ "ofType": {
5434
+ "kind": "NON_NULL",
5435
+ "name": null,
5436
+ "ofType": {
5437
+ "kind": "OBJECT",
5438
+ "name": "OverageCharged",
5439
+ "ofType": null
5440
+ }
5441
+ }
5442
+ }
5443
+ },
5444
+ "isDeprecated": false,
5445
+ "deprecationReason": null
5446
+ },
5447
+ {
5448
+ "name": "periodEnd",
5449
+ "description": "The date from which the usage was calculated to",
5450
+ "args": [],
5451
+ "type": {
5452
+ "kind": "NON_NULL",
5453
+ "name": null,
5454
+ "ofType": {
5455
+ "kind": "SCALAR",
5456
+ "name": "DateTime",
5457
+ "ofType": null
5458
+ }
5459
+ },
5460
+ "isDeprecated": false,
5461
+ "deprecationReason": null
5462
+ },
5463
+ {
5464
+ "name": "periodStart",
5465
+ "description": "The date from which the usage was calculated from",
5466
+ "args": [],
5467
+ "type": {
5468
+ "kind": "NON_NULL",
5469
+ "name": null,
5470
+ "ofType": {
5471
+ "kind": "SCALAR",
5472
+ "name": "DateTime",
5473
+ "ofType": null
5474
+ }
5475
+ },
5476
+ "isDeprecated": false,
5477
+ "deprecationReason": null
5478
+ },
5479
+ {
5480
+ "name": "subscriptionId",
5481
+ "description": "The subscription reference id for which the overage was charged",
5482
+ "args": [],
5483
+ "type": {
5484
+ "kind": "NON_NULL",
5485
+ "name": null,
5486
+ "ofType": {
5487
+ "kind": "SCALAR",
5488
+ "name": "String",
5489
+ "ofType": null
5490
+ }
5491
+ },
5492
+ "isDeprecated": false,
5493
+ "deprecationReason": null
5494
+ }
5495
+ ],
5496
+ "inputFields": null,
5497
+ "interfaces": [],
5498
+ "enumValues": null,
5499
+ "possibleTypes": null
5500
+ },
5501
+ {
5502
+ "kind": "INPUT_OBJECT",
5503
+ "name": "ChargeSubscriptionOveragesInput",
5504
+ "description": "Input for triggering an immediate overage charge for a subscription",
5505
+ "fields": null,
5506
+ "inputFields": [
5507
+ {
5508
+ "name": "environmentId",
5509
+ "description": "The id of the subscriptions environment",
5510
+ "type": {
5511
+ "kind": "SCALAR",
5512
+ "name": "String",
5513
+ "ofType": null
5514
+ },
5515
+ "defaultValue": null,
5516
+ "isDeprecated": false,
5517
+ "deprecationReason": null
5518
+ },
5519
+ {
5520
+ "name": "subscriptionId",
5521
+ "description": "The subscription reference id to charge overage for",
5522
+ "type": {
5523
+ "kind": "NON_NULL",
5524
+ "name": null,
5525
+ "ofType": {
5526
+ "kind": "SCALAR",
5527
+ "name": "String",
5528
+ "ofType": null
5529
+ }
5530
+ },
5531
+ "defaultValue": null,
5532
+ "isDeprecated": false,
5533
+ "deprecationReason": null
5534
+ },
5535
+ {
5536
+ "name": "untilDate",
5537
+ "description": "The end date until which to calculate the overage",
5538
+ "type": {
5539
+ "kind": "SCALAR",
5540
+ "name": "DateTime",
5541
+ "ofType": null
5542
+ },
5543
+ "defaultValue": null,
5544
+ "isDeprecated": false,
5545
+ "deprecationReason": null
5546
+ }
5547
+ ],
5548
+ "interfaces": null,
5549
+ "enumValues": null,
5550
+ "possibleTypes": null
5551
+ },
5406
5552
  {
5407
5553
  "kind": "OBJECT",
5408
5554
  "name": "CheckoutBillingIntegration",
@@ -24146,6 +24292,12 @@
24146
24292
  "isDeprecated": false,
24147
24293
  "deprecationReason": null
24148
24294
  },
24295
+ {
24296
+ "name": "SUBSCRIPTION_USAGE_CHARGE_TRIGGERED",
24297
+ "description": null,
24298
+ "isDeprecated": false,
24299
+ "deprecationReason": null
24300
+ },
24149
24301
  {
24150
24302
  "name": "SUBSCRIPTION_USAGE_UPDATED",
24151
24303
  "description": null,
@@ -35398,6 +35550,39 @@
35398
35550
  "isDeprecated": false,
35399
35551
  "deprecationReason": null
35400
35552
  },
35553
+ {
35554
+ "name": "chargeSubscriptionOverages",
35555
+ "description": "Immediately charges overages in the given subscription",
35556
+ "args": [
35557
+ {
35558
+ "name": "input",
35559
+ "description": null,
35560
+ "type": {
35561
+ "kind": "NON_NULL",
35562
+ "name": null,
35563
+ "ofType": {
35564
+ "kind": "INPUT_OBJECT",
35565
+ "name": "ChargeSubscriptionOveragesInput",
35566
+ "ofType": null
35567
+ }
35568
+ },
35569
+ "defaultValue": null,
35570
+ "isDeprecated": false,
35571
+ "deprecationReason": null
35572
+ }
35573
+ ],
35574
+ "type": {
35575
+ "kind": "NON_NULL",
35576
+ "name": null,
35577
+ "ofType": {
35578
+ "kind": "OBJECT",
35579
+ "name": "ChargeSubscriptionOverages",
35580
+ "ofType": null
35581
+ }
35582
+ },
35583
+ "isDeprecated": false,
35584
+ "deprecationReason": null
35585
+ },
35401
35586
  {
35402
35587
  "name": "createAccount",
35403
35588
  "description": null,
@@ -39256,6 +39441,49 @@
39256
39441
  "enumValues": null,
39257
39442
  "possibleTypes": null
39258
39443
  },
39444
+ {
39445
+ "kind": "OBJECT",
39446
+ "name": "OverageCharged",
39447
+ "description": "An object representing the overage charged",
39448
+ "fields": [
39449
+ {
39450
+ "name": "featureId",
39451
+ "description": "The eid of the feature",
39452
+ "args": [],
39453
+ "type": {
39454
+ "kind": "NON_NULL",
39455
+ "name": null,
39456
+ "ofType": {
39457
+ "kind": "SCALAR",
39458
+ "name": "String",
39459
+ "ofType": null
39460
+ }
39461
+ },
39462
+ "isDeprecated": false,
39463
+ "deprecationReason": null
39464
+ },
39465
+ {
39466
+ "name": "overageAmount",
39467
+ "description": "The amount of units charged for overage usage",
39468
+ "args": [],
39469
+ "type": {
39470
+ "kind": "NON_NULL",
39471
+ "name": null,
39472
+ "ofType": {
39473
+ "kind": "SCALAR",
39474
+ "name": "Float",
39475
+ "ofType": null
39476
+ }
39477
+ },
39478
+ "isDeprecated": false,
39479
+ "deprecationReason": null
39480
+ }
39481
+ ],
39482
+ "inputFields": null,
39483
+ "interfaces": [],
39484
+ "enumValues": null,
39485
+ "possibleTypes": null
39486
+ },
39259
39487
  {
39260
39488
  "kind": "INPUT_OBJECT",
39261
39489
  "name": "OverageEntitlementCreateInput",
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "1.113.0"
4
+ VERSION = "1.115.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: 1.113.0
4
+ version: 1.115.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-04-07 00:00:00.000000000 Z
11
+ date: 2024-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient