stigg-api-client 0.682.9 → 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: e425a06ba31d50309deb925093193637c85edcfc4c8593c4134d085fcceb177f
4
- data.tar.gz: 93fa05fe8800179afc59a454ad5c1a9ac7d38c080683a9383383d9e52803f183
3
+ metadata.gz: dc63890a6b8337baf79aec136b142a04aedf212f4f5acbb8a4d53472a3079191
4
+ data.tar.gz: b14d19b6da05a4b33ca98f9ffd2b12c1fabcfd04e651cbab6efbe399cd8c0d91
5
5
  SHA512:
6
- metadata.gz: 8963246132a6a4ff64bd8b6341400b3c17c2152b62f9192da0f794eff86fe2a0e0b8b8738f7d1d6cdeeee6cbfd727935bc33908d408f794ffa875440ddfb0aa5
7
- data.tar.gz: c9606dbcc7da1142047f51f2095e1b3ba9a71a57554fa2ba3d4ec4d551960c576c4c479320c9d575a61f3144425191630fa6c4a73604d4bc0918e4106e3aca46
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.682.9)
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) {
@@ -9716,6 +9716,18 @@
9716
9716
  "isDeprecated": true,
9717
9717
  "deprecationReason": "Renamed to customerId"
9718
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
+ },
9719
9731
  {
9720
9732
  "name": "subscriptions",
9721
9733
  "description": null,
@@ -14348,6 +14360,41 @@
14348
14360
  ],
14349
14361
  "possibleTypes": null
14350
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
+ },
14351
14398
  {
14352
14399
  "kind": "OBJECT",
14353
14400
  "name": "CustomerSubscription",
@@ -62588,6 +62635,49 @@
62588
62635
  "enumValues": null,
62589
62636
  "possibleTypes": null
62590
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
+ },
62591
62681
  {
62592
62682
  "kind": "ENUM",
62593
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.682.9"
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.682.9
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-29 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