stigg-api-client 0.471.0 → 0.474.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: 936e07984426b471a600ba89675b38128448ccaba4ce76743e952114a820cbdd
4
- data.tar.gz: 417b662b7251523e5efb2635ba42b9b6343b8ff3bcfa23877ca6b545e06fa929
3
+ metadata.gz: 52da537e12c906cb07b0244a70ff4f5d1f9e536172a948742a346409ebee5a1c
4
+ data.tar.gz: fd8207fe3385d5a28cf231ebdd198f699a4fc01326b5b7b998acbc893957c00c
5
5
  SHA512:
6
- metadata.gz: d03b0afd248610297b17a5ed8cc51f65727c2632e4b1682a512618e40b0705ca725bd658a6a23a7afb5bade54a7cda2ec0b25ca1a2c8e6cf468a92d9dfd642e9
7
- data.tar.gz: 20fad83005e8c04c1755412186c88876c17b09988009528057ddf33622c481be40a31d4891cf4d7665eff1f0eea56c8d1dd25a363cbb8a21d749ac37b4ff639f
6
+ metadata.gz: eeed7570ae776ed37eb746d39a890cdedf852c6296c289866ba8c482740449eae260ac0f94b622bf1e9e739078abc9f2dfb10f1a59ceac16e17827813a523cc5
7
+ data.tar.gz: 2415d1b23958bebabcc128446c425ac2d96facfd9fcc50a0d9932b4e0158d3d112b6a3e97d4b16f7ef08fd166c769ca764d461f0f0c801972591ad055aaa555e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (0.471.0)
4
+ stigg-api-client (0.474.0)
5
5
  graphlient (~> 0.7.0)
6
6
 
7
7
  GEM
@@ -685,10 +685,32 @@ module Stigg
685
685
  }
686
686
  GRAPHQL
687
687
 
688
+ CustomerPortalSubscriptionPriceFragment = <<~GRAPHQL
689
+ fragment CustomerPortalSubscriptionPriceFragment on CustomerPortalSubscriptionPrice {
690
+ billingPeriod
691
+ billingModel
692
+ price {
693
+ amount
694
+ currency
695
+ }
696
+ feature {
697
+ id
698
+ refId
699
+ displayName
700
+ featureUnits
701
+ featureUnitsPlural
702
+ }
703
+ }
704
+ GRAPHQL
705
+
688
706
  CustomerPortalSubscriptionFragment = <<~GRAPHQL
689
707
  fragment CustomerPortalSubscriptionFragment on CustomerPortalSubscription {
690
708
  subscriptionId
691
709
  planName
710
+ pricingType
711
+ prices {
712
+ ...CustomerPortalSubscriptionPriceFragment
713
+ }
692
714
  pricing {
693
715
  unitQuantity
694
716
  billingPeriod
@@ -714,12 +736,15 @@ module Stigg
714
736
  totalPrice {
715
737
  subTotal {
716
738
  amount
739
+ currency
717
740
  }
718
741
  total {
719
742
  amount
743
+ currency
720
744
  }
721
745
  addonsTotal {
722
746
  amount
747
+ currency
723
748
  }
724
749
  }
725
750
  addons {
@@ -1233,6 +1258,7 @@ module Stigg
1233
1258
  }
1234
1259
  #{Fragment::CustomerPortalFragment}
1235
1260
  #{Fragment::CustomerPortalSubscriptionFragment}
1261
+ #{Fragment::CustomerPortalSubscriptionPriceFragment}
1236
1262
  #{Fragment::CustomerPortalSubscriptionAddon}
1237
1263
  #{Fragment::CustomerPortalSubscriptionScheduledUpdateData}
1238
1264
  #{Fragment::CustomerPortalEntitlement}
@@ -10718,6 +10718,22 @@
10718
10718
  "isDeprecated": false,
10719
10719
  "deprecationReason": null
10720
10720
  },
10721
+ {
10722
+ "name": "id",
10723
+ "description": null,
10724
+ "args": [],
10725
+ "type": {
10726
+ "kind": "NON_NULL",
10727
+ "name": null,
10728
+ "ofType": {
10729
+ "kind": "SCALAR",
10730
+ "name": "String",
10731
+ "ofType": null
10732
+ }
10733
+ },
10734
+ "isDeprecated": false,
10735
+ "deprecationReason": null
10736
+ },
10721
10737
  {
10722
10738
  "name": "meterType",
10723
10739
  "description": null,
@@ -10729,6 +10745,22 @@
10729
10745
  },
10730
10746
  "isDeprecated": false,
10731
10747
  "deprecationReason": null
10748
+ },
10749
+ {
10750
+ "name": "refId",
10751
+ "description": null,
10752
+ "args": [],
10753
+ "type": {
10754
+ "kind": "NON_NULL",
10755
+ "name": null,
10756
+ "ofType": {
10757
+ "kind": "SCALAR",
10758
+ "name": "String",
10759
+ "ofType": null
10760
+ }
10761
+ },
10762
+ "isDeprecated": false,
10763
+ "deprecationReason": null
10732
10764
  }
10733
10765
  ],
10734
10766
  "inputFields": null,
@@ -10900,6 +10932,30 @@
10900
10932
  "isDeprecated": false,
10901
10933
  "deprecationReason": null
10902
10934
  },
10935
+ {
10936
+ "name": "prices",
10937
+ "description": null,
10938
+ "args": [],
10939
+ "type": {
10940
+ "kind": "NON_NULL",
10941
+ "name": null,
10942
+ "ofType": {
10943
+ "kind": "LIST",
10944
+ "name": null,
10945
+ "ofType": {
10946
+ "kind": "NON_NULL",
10947
+ "name": null,
10948
+ "ofType": {
10949
+ "kind": "OBJECT",
10950
+ "name": "CustomerPortalSubscriptionPrice",
10951
+ "ofType": null
10952
+ }
10953
+ }
10954
+ }
10955
+ },
10956
+ "isDeprecated": false,
10957
+ "deprecationReason": null
10958
+ },
10903
10959
  {
10904
10960
  "name": "pricing",
10905
10961
  "description": null,
@@ -10913,6 +10969,22 @@
10913
10969
  "ofType": null
10914
10970
  }
10915
10971
  },
10972
+ "isDeprecated": true,
10973
+ "deprecationReason": "use prices field instead"
10974
+ },
10975
+ {
10976
+ "name": "pricingType",
10977
+ "description": null,
10978
+ "args": [],
10979
+ "type": {
10980
+ "kind": "NON_NULL",
10981
+ "name": null,
10982
+ "ofType": {
10983
+ "kind": "ENUM",
10984
+ "name": "PricingType",
10985
+ "ofType": null
10986
+ }
10987
+ },
10916
10988
  "isDeprecated": false,
10917
10989
  "deprecationReason": null
10918
10990
  },
@@ -10998,6 +11070,65 @@
10998
11070
  "enumValues": null,
10999
11071
  "possibleTypes": null
11000
11072
  },
11073
+ {
11074
+ "kind": "OBJECT",
11075
+ "name": "CustomerPortalSubscriptionPrice",
11076
+ "description": null,
11077
+ "fields": [
11078
+ {
11079
+ "name": "billingModel",
11080
+ "description": null,
11081
+ "args": [],
11082
+ "type": {
11083
+ "kind": "ENUM",
11084
+ "name": "BillingModel",
11085
+ "ofType": null
11086
+ },
11087
+ "isDeprecated": false,
11088
+ "deprecationReason": null
11089
+ },
11090
+ {
11091
+ "name": "billingPeriod",
11092
+ "description": null,
11093
+ "args": [],
11094
+ "type": {
11095
+ "kind": "ENUM",
11096
+ "name": "BillingPeriod",
11097
+ "ofType": null
11098
+ },
11099
+ "isDeprecated": false,
11100
+ "deprecationReason": null
11101
+ },
11102
+ {
11103
+ "name": "feature",
11104
+ "description": null,
11105
+ "args": [],
11106
+ "type": {
11107
+ "kind": "OBJECT",
11108
+ "name": "CustomerPortalPricingFeature",
11109
+ "ofType": null
11110
+ },
11111
+ "isDeprecated": false,
11112
+ "deprecationReason": null
11113
+ },
11114
+ {
11115
+ "name": "price",
11116
+ "description": null,
11117
+ "args": [],
11118
+ "type": {
11119
+ "kind": "OBJECT",
11120
+ "name": "Money",
11121
+ "ofType": null
11122
+ },
11123
+ "isDeprecated": false,
11124
+ "deprecationReason": null
11125
+ }
11126
+ ],
11127
+ "inputFields": null,
11128
+ "interfaces": [],
11129
+ "enumValues": null,
11130
+ "possibleTypes": null
11131
+ },
11001
11132
  {
11002
11133
  "kind": "OBJECT",
11003
11134
  "name": "CustomerPortalSubscriptionPricing",
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.471.0"
4
+ VERSION = "0.474.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.471.0
4
+ version: 0.474.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-07-02 00:00:00.000000000 Z
11
+ date: 2023-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient