stigg-api-client 0.678.0 → 0.690.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: d55b1a82a26ba06fe0d8de78b86eb330e88a0509c64ff5d06c5f9b03586051cf
4
- data.tar.gz: f32125818c11b797d59561d6d344619d7db15856b73cb7797328b196f78acb33
3
+ metadata.gz: dc63890a6b8337baf79aec136b142a04aedf212f4f5acbb8a4d53472a3079191
4
+ data.tar.gz: b14d19b6da05a4b33ca98f9ffd2b12c1fabcfd04e651cbab6efbe399cd8c0d91
5
5
  SHA512:
6
- metadata.gz: 323acf655b75349ad6543299282d38191863f62d3279acd401b00bcbe6514ac0813d77cf123913ed824e3c572f305baca1d4de4eb52670bab3c1184abcf7c360
7
- data.tar.gz: c2fee95036a1110abfc199b9c1e6e9aad8dd714a2bf4241f072752f0a2fcb32d61e03d70b4d80dd2255407d3189248ea85cb8f1545b9776be1850b6201f0593b
6
+ metadata.gz: f23544ae468d39a45de70a9efecc9b3f5e041cc83885ea232e85c7e1f670ea040e416faffdc47908e9093eb243bdaa61021f7d92a7eee534a37e63fd9ac1d356
7
+ data.tar.gz: 5464f14748e092274fdfa2e9075edc28f27180cb21fb365e91c9ee934de2aa7a6455777bc7ade0eda812490dd20a4db26b6dbb79c9074ed9f363941bbbe41d1e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (0.678.0)
4
+ stigg-api-client (0.690.0)
5
5
  graphlient (~> 0.7.0)
6
6
  graphql (< 2.1)
7
7
 
@@ -420,6 +420,17 @@ module Stigg
420
420
  }
421
421
  GRAPHQL
422
422
 
423
+ CustomerStatisticsFragment = <<~GRAPHQL
424
+ fragment CustomerStatisticsFragment on Customer {
425
+ statistics {
426
+ activeSubscriptionsByPricingType {
427
+ pricingType
428
+ totalCount
429
+ }
430
+ }
431
+ }
432
+ GRAPHQL
433
+
423
434
  SubscriptionPreviewFragment = <<~GRAPHQL
424
435
  fragment SubscriptionPreviewFragment on SubscriptionPreview {
425
436
  subTotal {
@@ -1496,6 +1507,15 @@ module Stigg
1496
1507
  #{Fragment::SubscriptionFutureUpdateData}
1497
1508
  GRAPHQL
1498
1509
 
1510
+ GetCustomerStatistics = <<~GRAPHQL
1511
+ query ($input: GetCustomerByRefIdInput!) {
1512
+ getCustomerByRefId(input: $input) {
1513
+ ...CustomerStatisticsFragment,
1514
+ }
1515
+ }
1516
+ #{Fragment::CustomerStatisticsFragment}
1517
+ GRAPHQL
1518
+
1499
1519
  GetActiveSubscriptions = <<~GRAPHQL
1500
1520
  query ($input: GetActiveSubscriptionsInput!) {
1501
1521
  getActiveSubscriptions(input: $input) {
@@ -9275,6 +9275,18 @@
9275
9275
  "isDeprecated": false,
9276
9276
  "deprecationReason": null
9277
9277
  },
9278
+ {
9279
+ "name": "awsMarketplaceCustomerId",
9280
+ "description": null,
9281
+ "args": [],
9282
+ "type": {
9283
+ "kind": "SCALAR",
9284
+ "name": "String",
9285
+ "ofType": null
9286
+ },
9287
+ "isDeprecated": false,
9288
+ "deprecationReason": null
9289
+ },
9278
9290
  {
9279
9291
  "name": "billingCurrency",
9280
9292
  "description": null,
@@ -9704,6 +9716,18 @@
9704
9716
  "isDeprecated": true,
9705
9717
  "deprecationReason": "Renamed to customerId"
9706
9718
  },
9719
+ {
9720
+ "name": "statistics",
9721
+ "description": null,
9722
+ "args": [],
9723
+ "type": {
9724
+ "kind": "OBJECT",
9725
+ "name": "CustomerStatistics",
9726
+ "ofType": null
9727
+ },
9728
+ "isDeprecated": false,
9729
+ "deprecationReason": null
9730
+ },
9707
9731
  {
9708
9732
  "name": "subscriptions",
9709
9733
  "description": null,
@@ -14336,6 +14360,41 @@
14336
14360
  ],
14337
14361
  "possibleTypes": null
14338
14362
  },
14363
+ {
14364
+ "kind": "OBJECT",
14365
+ "name": "CustomerStatistics",
14366
+ "description": null,
14367
+ "fields": [
14368
+ {
14369
+ "name": "activeSubscriptionsByPricingType",
14370
+ "description": null,
14371
+ "args": [],
14372
+ "type": {
14373
+ "kind": "NON_NULL",
14374
+ "name": null,
14375
+ "ofType": {
14376
+ "kind": "LIST",
14377
+ "name": null,
14378
+ "ofType": {
14379
+ "kind": "NON_NULL",
14380
+ "name": null,
14381
+ "ofType": {
14382
+ "kind": "OBJECT",
14383
+ "name": "SubscriptionPricingTypeStatistics",
14384
+ "ofType": null
14385
+ }
14386
+ }
14387
+ }
14388
+ },
14389
+ "isDeprecated": false,
14390
+ "deprecationReason": null
14391
+ }
14392
+ ],
14393
+ "inputFields": null,
14394
+ "interfaces": [],
14395
+ "enumValues": null,
14396
+ "possibleTypes": null
14397
+ },
14339
14398
  {
14340
14399
  "kind": "OBJECT",
14341
14400
  "name": "CustomerSubscription",
@@ -62576,6 +62635,49 @@
62576
62635
  "enumValues": null,
62577
62636
  "possibleTypes": null
62578
62637
  },
62638
+ {
62639
+ "kind": "OBJECT",
62640
+ "name": "SubscriptionPricingTypeStatistics",
62641
+ "description": null,
62642
+ "fields": [
62643
+ {
62644
+ "name": "pricingType",
62645
+ "description": null,
62646
+ "args": [],
62647
+ "type": {
62648
+ "kind": "NON_NULL",
62649
+ "name": null,
62650
+ "ofType": {
62651
+ "kind": "ENUM",
62652
+ "name": "PricingType",
62653
+ "ofType": null
62654
+ }
62655
+ },
62656
+ "isDeprecated": false,
62657
+ "deprecationReason": null
62658
+ },
62659
+ {
62660
+ "name": "totalCount",
62661
+ "description": null,
62662
+ "args": [],
62663
+ "type": {
62664
+ "kind": "NON_NULL",
62665
+ "name": null,
62666
+ "ofType": {
62667
+ "kind": "SCALAR",
62668
+ "name": "Float",
62669
+ "ofType": null
62670
+ }
62671
+ },
62672
+ "isDeprecated": false,
62673
+ "deprecationReason": null
62674
+ }
62675
+ ],
62676
+ "inputFields": null,
62677
+ "interfaces": [],
62678
+ "enumValues": null,
62679
+ "possibleTypes": null
62680
+ },
62579
62681
  {
62580
62682
  "kind": "ENUM",
62581
62683
  "name": "SubscriptionScheduleStatus",
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.678.0"
4
+ VERSION = "0.690.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.678.0
4
+ version: 0.690.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2023-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient