stigg-api-client 3.13.0 → 3.16.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: '067218f1d7ba0cbd4c01e345076d63a4d2b5dbbdbbd1232a812700296fba2b70'
4
- data.tar.gz: 4c6a93013a64d5ba7ded382c74720ce421520f93d651886d0935828f0d92a6f1
3
+ metadata.gz: c2b261a465459120f45158b56dcad8f8ba3e2b08440c62dc8f6c350c1d062336
4
+ data.tar.gz: 8130d332faa4fc4d81fa18be09c6fac017bd0f2ae98d00e511a4645db8e5a6f1
5
5
  SHA512:
6
- metadata.gz: 4e386253c1e97fff75c5b4308fa96e90060a48272f36fd7f7dbcc1a646100490d943703b48e7865051099d84e2e2d5598b6674d3eff3dad3c687b98dd38bbafd
7
- data.tar.gz: b8acd48c6451d86835cbc2bf390729ba6e78fcaa15d65cb12507ff91e72fd2b7d50c5f534e7f6846e7c508ccb44cdfc5d60f8f06e3a212b86ae7367b7947b05c
6
+ metadata.gz: db8923e9633de79a6830873a08cbaefa30c611bef8af9d29fcfb92b48119d57e5594bb082388df4cd4698a688783cfc7f9931ac370dbb9b53459fc589f85f7fe
7
+ data.tar.gz: 844dc6dac9c0828f19931c898c35758dca932273892e94555bdfb8bc7fecda3e3b9190e0ae24f431e63c7e2233a732707aadfc9266b2997f6f633196a154b011
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (3.13.0)
4
+ stigg-api-client (3.16.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -55,6 +55,10 @@ module Stigg
55
55
  amount
56
56
  currency
57
57
  }
58
+ creditRate {
59
+ amount
60
+ customCurrencyId
61
+ }
58
62
  tiersMode
59
63
  tiers {
60
64
  ...PriceTierFragment
@@ -1191,6 +1195,10 @@ module Stigg
1191
1195
  amount
1192
1196
  currency
1193
1197
  }
1198
+ creditRate {
1199
+ amount
1200
+ customCurrencyId
1201
+ }
1194
1202
  feature {
1195
1203
  id
1196
1204
  refId
@@ -1220,6 +1228,10 @@ module Stigg
1220
1228
  amount
1221
1229
  currency
1222
1230
  }
1231
+ creditRate {
1232
+ amount
1233
+ customCurrencyId
1234
+ }
1223
1235
  feature {
1224
1236
  featureUnits
1225
1237
  featureUnitsPlural
@@ -1403,6 +1415,10 @@ module Stigg
1403
1415
  amount
1404
1416
  currency
1405
1417
  }
1418
+ creditRate {
1419
+ amount
1420
+ customCurrencyId
1421
+ }
1406
1422
  tiersMode
1407
1423
  tiers {
1408
1424
  ...PriceTierFragment
@@ -5843,6 +5843,12 @@
5843
5843
  "inputFields": null,
5844
5844
  "interfaces": null,
5845
5845
  "enumValues": [
5846
+ {
5847
+ "name": "CREDIT_BASED",
5848
+ "description": "Credit based",
5849
+ "isDeprecated": false,
5850
+ "deprecationReason": null
5851
+ },
5846
5852
  {
5847
5853
  "name": "FLAT_FEE",
5848
5854
  "description": "Flat fee",
@@ -11873,6 +11879,92 @@
11873
11879
  ],
11874
11880
  "possibleTypes": null
11875
11881
  },
11882
+ {
11883
+ "kind": "OBJECT",
11884
+ "name": "CreditRate",
11885
+ "description": "Credit Rate",
11886
+ "fields": [
11887
+ {
11888
+ "name": "amount",
11889
+ "description": "The credit rate amount",
11890
+ "args": [],
11891
+ "type": {
11892
+ "kind": "NON_NULL",
11893
+ "name": null,
11894
+ "ofType": {
11895
+ "kind": "SCALAR",
11896
+ "name": "Float",
11897
+ "ofType": null
11898
+ }
11899
+ },
11900
+ "isDeprecated": false,
11901
+ "deprecationReason": null
11902
+ },
11903
+ {
11904
+ "name": "customCurrencyId",
11905
+ "description": "The custom currency ID for the credit rate",
11906
+ "args": [],
11907
+ "type": {
11908
+ "kind": "NON_NULL",
11909
+ "name": null,
11910
+ "ofType": {
11911
+ "kind": "SCALAR",
11912
+ "name": "UUID",
11913
+ "ofType": null
11914
+ }
11915
+ },
11916
+ "isDeprecated": false,
11917
+ "deprecationReason": null
11918
+ }
11919
+ ],
11920
+ "inputFields": null,
11921
+ "interfaces": [],
11922
+ "enumValues": null,
11923
+ "possibleTypes": null
11924
+ },
11925
+ {
11926
+ "kind": "INPUT_OBJECT",
11927
+ "name": "CreditRateInput",
11928
+ "description": "Credit Rate Input",
11929
+ "fields": null,
11930
+ "inputFields": [
11931
+ {
11932
+ "name": "amount",
11933
+ "description": "The credit rate amount",
11934
+ "type": {
11935
+ "kind": "NON_NULL",
11936
+ "name": null,
11937
+ "ofType": {
11938
+ "kind": "SCALAR",
11939
+ "name": "Float",
11940
+ "ofType": null
11941
+ }
11942
+ },
11943
+ "defaultValue": null,
11944
+ "isDeprecated": false,
11945
+ "deprecationReason": null
11946
+ },
11947
+ {
11948
+ "name": "customCurrencyId",
11949
+ "description": "The custom currency ID for the credit rate",
11950
+ "type": {
11951
+ "kind": "NON_NULL",
11952
+ "name": null,
11953
+ "ofType": {
11954
+ "kind": "SCALAR",
11955
+ "name": "UUID",
11956
+ "ofType": null
11957
+ }
11958
+ },
11959
+ "defaultValue": null,
11960
+ "isDeprecated": false,
11961
+ "deprecationReason": null
11962
+ }
11963
+ ],
11964
+ "interfaces": null,
11965
+ "enumValues": null,
11966
+ "possibleTypes": null
11967
+ },
11876
11968
  {
11877
11969
  "kind": "ENUM",
11878
11970
  "name": "Currency",
@@ -16469,7 +16561,7 @@
16469
16561
  "fields": [
16470
16562
  {
16471
16563
  "name": "addons",
16472
- "description": null,
16564
+ "description": "List of add-ons currently attached to the subscription.",
16473
16565
  "args": [],
16474
16566
  "type": {
16475
16567
  "kind": "NON_NULL",
@@ -16493,7 +16585,7 @@
16493
16585
  },
16494
16586
  {
16495
16587
  "name": "billingPeriodRange",
16496
- "description": null,
16588
+ "description": "An object representing the current billing cycle’s start and end dates.",
16497
16589
  "args": [],
16498
16590
  "type": {
16499
16591
  "kind": "OBJECT",
@@ -16505,7 +16597,7 @@
16505
16597
  },
16506
16598
  {
16507
16599
  "name": "planId",
16508
- "description": null,
16600
+ "description": "The internal ID of the subscribed plan.",
16509
16601
  "args": [],
16510
16602
  "type": {
16511
16603
  "kind": "NON_NULL",
@@ -16521,7 +16613,7 @@
16521
16613
  },
16522
16614
  {
16523
16615
  "name": "planName",
16524
- "description": null,
16616
+ "description": "The display name of the subscribed plan as shown to the customer.",
16525
16617
  "args": [],
16526
16618
  "type": {
16527
16619
  "kind": "NON_NULL",
@@ -16537,7 +16629,7 @@
16537
16629
  },
16538
16630
  {
16539
16631
  "name": "prices",
16540
- "description": null,
16632
+ "description": "A list of individual price components.",
16541
16633
  "args": [],
16542
16634
  "type": {
16543
16635
  "kind": "NON_NULL",
@@ -16561,7 +16653,7 @@
16561
16653
  },
16562
16654
  {
16563
16655
  "name": "pricing",
16564
- "description": null,
16656
+ "description": "The aggregated pricing structure.",
16565
16657
  "args": [],
16566
16658
  "type": {
16567
16659
  "kind": "NON_NULL",
@@ -16577,7 +16669,7 @@
16577
16669
  },
16578
16670
  {
16579
16671
  "name": "pricingType",
16580
- "description": null,
16672
+ "description": "Indicates if the subscription is FREE or PAID.",
16581
16673
  "args": [],
16582
16674
  "type": {
16583
16675
  "kind": "NON_NULL",
@@ -16593,7 +16685,7 @@
16593
16685
  },
16594
16686
  {
16595
16687
  "name": "scheduledUpdates",
16596
- "description": null,
16688
+ "description": "Any upcoming changes to the subscription that are scheduled to take effect.",
16597
16689
  "args": [],
16598
16690
  "type": {
16599
16691
  "kind": "LIST",
@@ -16613,7 +16705,7 @@
16613
16705
  },
16614
16706
  {
16615
16707
  "name": "status",
16616
- "description": null,
16708
+ "description": "The current lifecycle status of the subscription.",
16617
16709
  "args": [],
16618
16710
  "type": {
16619
16711
  "kind": "NON_NULL",
@@ -16629,7 +16721,7 @@
16629
16721
  },
16630
16722
  {
16631
16723
  "name": "subscriptionId",
16632
- "description": null,
16724
+ "description": "Unique identifier for this specific subscription instance.",
16633
16725
  "args": [],
16634
16726
  "type": {
16635
16727
  "kind": "NON_NULL",
@@ -16645,7 +16737,7 @@
16645
16737
  },
16646
16738
  {
16647
16739
  "name": "totalPrice",
16648
- "description": null,
16740
+ "description": "The combined total price of the plan and all active add-ons, excluding taxes.",
16649
16741
  "args": [],
16650
16742
  "type": {
16651
16743
  "kind": "OBJECT",
@@ -16657,7 +16749,7 @@
16657
16749
  },
16658
16750
  {
16659
16751
  "name": "trialRemainingDays",
16660
- "description": null,
16752
+ "description": "Number of days left in the free trial, if applicable.",
16661
16753
  "args": [],
16662
16754
  "type": {
16663
16755
  "kind": "SCALAR",
@@ -16680,7 +16772,7 @@
16680
16772
  "fields": [
16681
16773
  {
16682
16774
  "name": "billingModel",
16683
- "description": null,
16775
+ "description": "The pricing structure applied to this component - flat, per_unit, tiered, or volume.",
16684
16776
  "args": [],
16685
16777
  "type": {
16686
16778
  "kind": "ENUM",
@@ -16692,7 +16784,7 @@
16692
16784
  },
16693
16785
  {
16694
16786
  "name": "billingPeriod",
16695
- "description": null,
16787
+ "description": "The billing frequency for this price entry, such as monthly or annual.",
16696
16788
  "args": [],
16697
16789
  "type": {
16698
16790
  "kind": "ENUM",
@@ -16704,7 +16796,7 @@
16704
16796
  },
16705
16797
  {
16706
16798
  "name": "blockSize",
16707
- "description": "The number of units per block",
16799
+ "description": "The minimum billing unit applied to this charge. For example, a blockSize of 100 means usage is billed in increments of 100 units.",
16708
16800
  "args": [],
16709
16801
  "type": {
16710
16802
  "kind": "SCALAR",
@@ -16714,9 +16806,21 @@
16714
16806
  "isDeprecated": false,
16715
16807
  "deprecationReason": null
16716
16808
  },
16809
+ {
16810
+ "name": "creditRate",
16811
+ "description": "The credit rate applied to this price, if applicable.",
16812
+ "args": [],
16813
+ "type": {
16814
+ "kind": "OBJECT",
16815
+ "name": "CreditRate",
16816
+ "ofType": null
16817
+ },
16818
+ "isDeprecated": false,
16819
+ "deprecationReason": null
16820
+ },
16717
16821
  {
16718
16822
  "name": "feature",
16719
- "description": null,
16823
+ "description": "The feature this pricing line refers to, such as api_calls, seats, storage.",
16720
16824
  "args": [],
16721
16825
  "type": {
16722
16826
  "kind": "OBJECT",
@@ -16728,7 +16832,7 @@
16728
16832
  },
16729
16833
  {
16730
16834
  "name": "price",
16731
- "description": null,
16835
+ "description": "The monetary amount charged for this component.",
16732
16836
  "args": [],
16733
16837
  "type": {
16734
16838
  "kind": "OBJECT",
@@ -16785,6 +16889,18 @@
16785
16889
  "isDeprecated": false,
16786
16890
  "deprecationReason": null
16787
16891
  },
16892
+ {
16893
+ "name": "creditRate",
16894
+ "description": null,
16895
+ "args": [],
16896
+ "type": {
16897
+ "kind": "OBJECT",
16898
+ "name": "CreditRate",
16899
+ "ofType": null
16900
+ },
16901
+ "isDeprecated": false,
16902
+ "deprecationReason": null
16903
+ },
16788
16904
  {
16789
16905
  "name": "feature",
16790
16906
  "description": null,
@@ -55909,6 +56025,18 @@
55909
56025
  "isDeprecated": false,
55910
56026
  "deprecationReason": null
55911
56027
  },
56028
+ {
56029
+ "name": "creditRate",
56030
+ "description": "The credit rate for the price, if applicable",
56031
+ "args": [],
56032
+ "type": {
56033
+ "kind": "OBJECT",
56034
+ "name": "CreditRate",
56035
+ "ofType": null
56036
+ },
56037
+ "isDeprecated": false,
56038
+ "deprecationReason": null
56039
+ },
55912
56040
  {
55913
56041
  "name": "feature",
55914
56042
  "description": "The feature associated with this price, if applicable",
@@ -59751,6 +59879,18 @@
59751
59879
  "isDeprecated": false,
59752
59880
  "deprecationReason": null
59753
59881
  },
59882
+ {
59883
+ "name": "creditRate",
59884
+ "description": "The credit rate for this price",
59885
+ "args": [],
59886
+ "type": {
59887
+ "kind": "OBJECT",
59888
+ "name": "CreditRate",
59889
+ "ofType": null
59890
+ },
59891
+ "isDeprecated": false,
59892
+ "deprecationReason": null
59893
+ },
59754
59894
  {
59755
59895
  "name": "crmId",
59756
59896
  "description": "The CRM id of the price",
@@ -60260,6 +60400,18 @@
60260
60400
  "isDeprecated": false,
60261
60401
  "deprecationReason": null
60262
60402
  },
60403
+ {
60404
+ "name": "creditRate",
60405
+ "description": "The credit rate for this price",
60406
+ "args": [],
60407
+ "type": {
60408
+ "kind": "OBJECT",
60409
+ "name": "CreditRate",
60410
+ "ofType": null
60411
+ },
60412
+ "isDeprecated": false,
60413
+ "deprecationReason": null
60414
+ },
60263
60415
  {
60264
60416
  "name": "crmId",
60265
60417
  "description": "The CRM id of the price",
@@ -61332,6 +61484,18 @@
61332
61484
  "isDeprecated": false,
61333
61485
  "deprecationReason": null
61334
61486
  },
61487
+ {
61488
+ "name": "creditRate",
61489
+ "description": "The credit rate for this period",
61490
+ "type": {
61491
+ "kind": "INPUT_OBJECT",
61492
+ "name": "CreditRateInput",
61493
+ "ofType": null
61494
+ },
61495
+ "defaultValue": null,
61496
+ "isDeprecated": false,
61497
+ "deprecationReason": null
61498
+ },
61335
61499
  {
61336
61500
  "name": "featureId",
61337
61501
  "description": "The corresponding feature id of the price",
@@ -61427,6 +61591,18 @@
61427
61591
  "isDeprecated": false,
61428
61592
  "deprecationReason": null
61429
61593
  },
61594
+ {
61595
+ "name": "creditRate",
61596
+ "description": "The credit rate for this period",
61597
+ "type": {
61598
+ "kind": "INPUT_OBJECT",
61599
+ "name": "CreditRateInput",
61600
+ "ofType": null
61601
+ },
61602
+ "defaultValue": null,
61603
+ "isDeprecated": false,
61604
+ "deprecationReason": null
61605
+ },
61430
61606
  {
61431
61607
  "name": "price",
61432
61608
  "description": "The price of the price period",
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "3.13.0"
4
+ VERSION = "3.16.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stigg-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.13.0
4
+ version: 3.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg