stigg-api-client 1.10.0 → 1.11.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: 0e50d76a88988064c01b83b53a22b516aeba3f43be5afaa6eb57e48071638fd7
4
- data.tar.gz: 5c95b72389208cb10902e44dafdf727a267efb49952cfa9ac201fa35e3cf9c0b
3
+ metadata.gz: 3c37c9a3cb099387a2df0ccaaaf165111e5c01747676890da144b96a3fbc5b61
4
+ data.tar.gz: e50009819f37aea4a517af8a18934ae8e5d96f219900dc389cba3cc9b76b5bf2
5
5
  SHA512:
6
- metadata.gz: 93bb9851eda469e166d5bfc56f910f8580eec94a8d4968ff689a807dc0fac480d5878bfefcffb36cc805d0d2e4d084031cbae875e5855c414406b25df3e57ad3
7
- data.tar.gz: e44bbbe74bbc9265887e8439eebb8e811076ef3bf3319c8a24c7d1ec81e68aa76d25b5606f911f1b58b2f2f289dd2fb735fce95b6d9ab2e22eee34c365ab7350
6
+ metadata.gz: f00e2217ed44f40b4b4384ebf6cbb3969350444efaf9f7897f40dfda20d14af216dfad19c3437ec54df5659fcf20ecbae5defec76fe06a9b35a3a0c025a8c0ce
7
+ data.tar.gz: 0c39bcd428bcf00361a3493f22e23cee2dbf78fb435ac91da0ce698ae5a8e452b92a6a51db55b5fdd54c33ee80a346a675a099fe1d2f69c55ee9f8f01b74f803
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (1.10.0)
4
+ stigg-api-client (1.11.0)
5
5
  graphlient (~> 0.7.0)
6
6
  graphql-client (~> 0.19)
7
7
 
@@ -66,6 +66,30 @@ module Stigg
66
66
  }
67
67
  GRAPHQL
68
68
 
69
+ OveragePriceFragment = <<~GRAPHQL
70
+ fragment OveragePriceFragment on Price {
71
+ billingModel
72
+ billingPeriod
73
+ billingId
74
+ billingCountryCode
75
+ price {
76
+ amount
77
+ currency
78
+ }
79
+ tiersMode
80
+ tiers {
81
+ ...PriceTierFragment
82
+ }
83
+ feature {
84
+ refId
85
+ featureUnits
86
+ featureUnitsPlural
87
+ displayName
88
+ description
89
+ }
90
+ }
91
+ GRAPHQL
92
+
69
93
  TotalPriceFragment = <<~GRAPHQL
70
94
  fragment TotalPriceFragment on CustomerSubscriptionTotalPrice {
71
95
  subTotal {
@@ -115,6 +139,9 @@ module Stigg
115
139
  prices {
116
140
  ...PriceFragment
117
141
  }
142
+ overagePrices {
143
+ ...OveragePriceFragment
144
+ }
118
145
  pricingType
119
146
  }
120
147
  GRAPHQL
@@ -148,6 +175,9 @@ module Stigg
148
175
  prices {
149
176
  ...PriceFragment
150
177
  }
178
+ overagePrices {
179
+ ...OveragePriceFragment
180
+ }
151
181
  pricingType
152
182
  defaultTrialConfig {
153
183
  duration
@@ -1381,6 +1411,7 @@ module Stigg
1381
1411
  #{Fragment::ProductFragment}
1382
1412
  #{Fragment::PackageEntitlementFragment}
1383
1413
  #{Fragment::AddonFragment}
1414
+ #{Fragment::OveragePriceFragment}
1384
1415
  #{Fragment::SubscriptionScheduledUpdateData}
1385
1416
  #{Fragment::SubscriptionFutureUpdateData}
1386
1417
  #{Fragment::EntitlementFragment}
@@ -1569,6 +1600,7 @@ module Stigg
1569
1600
  #{Fragment::ProductFragment}
1570
1601
  #{Fragment::PackageEntitlementFragment}
1571
1602
  #{Fragment::AddonFragment}
1603
+ #{Fragment::OveragePriceFragment}
1572
1604
  #{Fragment::SubscriptionScheduledUpdateData}
1573
1605
  #{Fragment::SubscriptionFutureUpdateData}
1574
1606
  GRAPHQL
@@ -1598,6 +1630,7 @@ module Stigg
1598
1630
  #{Fragment::ProductFragment}
1599
1631
  #{Fragment::PackageEntitlementFragment}
1600
1632
  #{Fragment::AddonFragment}
1633
+ #{Fragment::OveragePriceFragment}
1601
1634
  #{Fragment::SubscriptionScheduledUpdateData}
1602
1635
  #{Fragment::SubscriptionFutureUpdateData}
1603
1636
  GRAPHQL
@@ -1628,6 +1661,7 @@ module Stigg
1628
1661
  #{Fragment::AddonFragment}
1629
1662
  #{Fragment::PriceFragment}
1630
1663
  #{Fragment::PriceTierFragment}
1664
+ #{Fragment::OveragePriceFragment}
1631
1665
  #{Fragment::PaywallCurrencyFragment}
1632
1666
  #{Fragment::PaywallConfigurationFragment}
1633
1667
  #{Fragment::TypographyConfigurationFragment}
@@ -1736,6 +1770,7 @@ module Stigg
1736
1770
  #{Fragment::ProductFragment}
1737
1771
  #{Fragment::PackageEntitlementFragment}
1738
1772
  #{Fragment::AddonFragment}
1773
+ #{Fragment::OveragePriceFragment}
1739
1774
  #{Fragment::SubscriptionScheduledUpdateData}
1740
1775
  #{Fragment::SubscriptionFutureUpdateData}
1741
1776
  GRAPHQL
@@ -553,6 +553,26 @@
553
553
  "isDeprecated": false,
554
554
  "deprecationReason": null
555
555
  },
556
+ {
557
+ "name": "overagePrices",
558
+ "description": null,
559
+ "args": [],
560
+ "type": {
561
+ "kind": "LIST",
562
+ "name": null,
563
+ "ofType": {
564
+ "kind": "NON_NULL",
565
+ "name": null,
566
+ "ofType": {
567
+ "kind": "OBJECT",
568
+ "name": "Price",
569
+ "ofType": null
570
+ }
571
+ }
572
+ },
573
+ "isDeprecated": false,
574
+ "deprecationReason": null
575
+ },
556
576
  {
557
577
  "name": "prices",
558
578
  "description": null,
@@ -1547,6 +1567,26 @@
1547
1567
  "isDeprecated": false,
1548
1568
  "deprecationReason": null
1549
1569
  },
1570
+ {
1571
+ "name": "overagePrices",
1572
+ "description": null,
1573
+ "args": [],
1574
+ "type": {
1575
+ "kind": "LIST",
1576
+ "name": null,
1577
+ "ofType": {
1578
+ "kind": "NON_NULL",
1579
+ "name": null,
1580
+ "ofType": {
1581
+ "kind": "OBJECT",
1582
+ "name": "Price",
1583
+ "ofType": null
1584
+ }
1585
+ }
1586
+ },
1587
+ "isDeprecated": false,
1588
+ "deprecationReason": null
1589
+ },
1550
1590
  {
1551
1591
  "name": "prices",
1552
1592
  "description": null,
@@ -37385,6 +37425,248 @@
37385
37425
  "enumValues": null,
37386
37426
  "possibleTypes": null
37387
37427
  },
37428
+ {
37429
+ "kind": "INPUT_OBJECT",
37430
+ "name": "OverageEntitlementCreateInput",
37431
+ "description": null,
37432
+ "fields": null,
37433
+ "inputFields": [
37434
+ {
37435
+ "name": "description",
37436
+ "description": null,
37437
+ "type": {
37438
+ "kind": "SCALAR",
37439
+ "name": "String",
37440
+ "ofType": null
37441
+ },
37442
+ "defaultValue": null,
37443
+ "isDeprecated": false,
37444
+ "deprecationReason": null
37445
+ },
37446
+ {
37447
+ "name": "displayNameOverride",
37448
+ "description": null,
37449
+ "type": {
37450
+ "kind": "SCALAR",
37451
+ "name": "String",
37452
+ "ofType": null
37453
+ },
37454
+ "defaultValue": null,
37455
+ "isDeprecated": false,
37456
+ "deprecationReason": null
37457
+ },
37458
+ {
37459
+ "name": "featureId",
37460
+ "description": null,
37461
+ "type": {
37462
+ "kind": "NON_NULL",
37463
+ "name": null,
37464
+ "ofType": {
37465
+ "kind": "SCALAR",
37466
+ "name": "String",
37467
+ "ofType": null
37468
+ }
37469
+ },
37470
+ "defaultValue": null,
37471
+ "isDeprecated": false,
37472
+ "deprecationReason": null
37473
+ },
37474
+ {
37475
+ "name": "hasUnlimitedUsage",
37476
+ "description": null,
37477
+ "type": {
37478
+ "kind": "SCALAR",
37479
+ "name": "Boolean",
37480
+ "ofType": null
37481
+ },
37482
+ "defaultValue": null,
37483
+ "isDeprecated": false,
37484
+ "deprecationReason": null
37485
+ },
37486
+ {
37487
+ "name": "hiddenFromWidgets",
37488
+ "description": null,
37489
+ "type": {
37490
+ "kind": "LIST",
37491
+ "name": null,
37492
+ "ofType": {
37493
+ "kind": "NON_NULL",
37494
+ "name": null,
37495
+ "ofType": {
37496
+ "kind": "ENUM",
37497
+ "name": "WidgetType",
37498
+ "ofType": null
37499
+ }
37500
+ }
37501
+ },
37502
+ "defaultValue": null,
37503
+ "isDeprecated": false,
37504
+ "deprecationReason": null
37505
+ },
37506
+ {
37507
+ "name": "isCustom",
37508
+ "description": null,
37509
+ "type": {
37510
+ "kind": "SCALAR",
37511
+ "name": "Boolean",
37512
+ "ofType": null
37513
+ },
37514
+ "defaultValue": null,
37515
+ "isDeprecated": false,
37516
+ "deprecationReason": null
37517
+ },
37518
+ {
37519
+ "name": "monthlyResetPeriodConfiguration",
37520
+ "description": null,
37521
+ "type": {
37522
+ "kind": "INPUT_OBJECT",
37523
+ "name": "MonthlyResetPeriodConfigInput",
37524
+ "ofType": null
37525
+ },
37526
+ "defaultValue": null,
37527
+ "isDeprecated": false,
37528
+ "deprecationReason": null
37529
+ },
37530
+ {
37531
+ "name": "order",
37532
+ "description": null,
37533
+ "type": {
37534
+ "kind": "SCALAR",
37535
+ "name": "Float",
37536
+ "ofType": null
37537
+ },
37538
+ "defaultValue": null,
37539
+ "isDeprecated": false,
37540
+ "deprecationReason": null
37541
+ },
37542
+ {
37543
+ "name": "resetPeriod",
37544
+ "description": null,
37545
+ "type": {
37546
+ "kind": "ENUM",
37547
+ "name": "EntitlementResetPeriod",
37548
+ "ofType": null
37549
+ },
37550
+ "defaultValue": null,
37551
+ "isDeprecated": false,
37552
+ "deprecationReason": null
37553
+ },
37554
+ {
37555
+ "name": "usageLimit",
37556
+ "description": null,
37557
+ "type": {
37558
+ "kind": "SCALAR",
37559
+ "name": "Float",
37560
+ "ofType": null
37561
+ },
37562
+ "defaultValue": null,
37563
+ "isDeprecated": false,
37564
+ "deprecationReason": null
37565
+ },
37566
+ {
37567
+ "name": "weeklyResetPeriodConfiguration",
37568
+ "description": null,
37569
+ "type": {
37570
+ "kind": "INPUT_OBJECT",
37571
+ "name": "WeeklyResetPeriodConfigInput",
37572
+ "ofType": null
37573
+ },
37574
+ "defaultValue": null,
37575
+ "isDeprecated": false,
37576
+ "deprecationReason": null
37577
+ },
37578
+ {
37579
+ "name": "yearlyResetPeriodConfiguration",
37580
+ "description": null,
37581
+ "type": {
37582
+ "kind": "INPUT_OBJECT",
37583
+ "name": "YearlyResetPeriodConfigInput",
37584
+ "ofType": null
37585
+ },
37586
+ "defaultValue": null,
37587
+ "isDeprecated": false,
37588
+ "deprecationReason": null
37589
+ }
37590
+ ],
37591
+ "interfaces": null,
37592
+ "enumValues": null,
37593
+ "possibleTypes": null
37594
+ },
37595
+ {
37596
+ "kind": "INPUT_OBJECT",
37597
+ "name": "OveragePricingModelCreateInput",
37598
+ "description": null,
37599
+ "fields": null,
37600
+ "inputFields": [
37601
+ {
37602
+ "name": "billingModel",
37603
+ "description": null,
37604
+ "type": {
37605
+ "kind": "NON_NULL",
37606
+ "name": null,
37607
+ "ofType": {
37608
+ "kind": "ENUM",
37609
+ "name": "BillingModel",
37610
+ "ofType": null
37611
+ }
37612
+ },
37613
+ "defaultValue": null,
37614
+ "isDeprecated": false,
37615
+ "deprecationReason": null
37616
+ },
37617
+ {
37618
+ "name": "entitlement",
37619
+ "description": null,
37620
+ "type": {
37621
+ "kind": "INPUT_OBJECT",
37622
+ "name": "OverageEntitlementCreateInput",
37623
+ "ofType": null
37624
+ },
37625
+ "defaultValue": null,
37626
+ "isDeprecated": false,
37627
+ "deprecationReason": null
37628
+ },
37629
+ {
37630
+ "name": "featureId",
37631
+ "description": null,
37632
+ "type": {
37633
+ "kind": "SCALAR",
37634
+ "name": "String",
37635
+ "ofType": null
37636
+ },
37637
+ "defaultValue": null,
37638
+ "isDeprecated": false,
37639
+ "deprecationReason": null
37640
+ },
37641
+ {
37642
+ "name": "pricePeriods",
37643
+ "description": null,
37644
+ "type": {
37645
+ "kind": "NON_NULL",
37646
+ "name": null,
37647
+ "ofType": {
37648
+ "kind": "LIST",
37649
+ "name": null,
37650
+ "ofType": {
37651
+ "kind": "NON_NULL",
37652
+ "name": null,
37653
+ "ofType": {
37654
+ "kind": "INPUT_OBJECT",
37655
+ "name": "PricePeriodInput",
37656
+ "ofType": null
37657
+ }
37658
+ }
37659
+ }
37660
+ },
37661
+ "defaultValue": null,
37662
+ "isDeprecated": false,
37663
+ "deprecationReason": null
37664
+ }
37665
+ ],
37666
+ "interfaces": null,
37667
+ "enumValues": null,
37668
+ "possibleTypes": null
37669
+ },
37388
37670
  {
37389
37671
  "kind": "OBJECT",
37390
37672
  "name": "PackageAlreadyPublishedError",
@@ -37796,6 +38078,26 @@
37796
38078
  "isDeprecated": false,
37797
38079
  "deprecationReason": null
37798
38080
  },
38081
+ {
38082
+ "name": "overagePrices",
38083
+ "description": null,
38084
+ "args": [],
38085
+ "type": {
38086
+ "kind": "LIST",
38087
+ "name": null,
38088
+ "ofType": {
38089
+ "kind": "NON_NULL",
38090
+ "name": null,
38091
+ "ofType": {
38092
+ "kind": "OBJECT",
38093
+ "name": "Price",
38094
+ "ofType": null
38095
+ }
38096
+ }
38097
+ },
38098
+ "isDeprecated": false,
38099
+ "deprecationReason": null
38100
+ },
37799
38101
  {
37800
38102
  "name": "prices",
37801
38103
  "description": null,
@@ -40437,6 +40739,26 @@
40437
40739
  "isDeprecated": false,
40438
40740
  "deprecationReason": null
40439
40741
  },
40742
+ {
40743
+ "name": "overagePricingModels",
40744
+ "description": null,
40745
+ "type": {
40746
+ "kind": "LIST",
40747
+ "name": null,
40748
+ "ofType": {
40749
+ "kind": "NON_NULL",
40750
+ "name": null,
40751
+ "ofType": {
40752
+ "kind": "INPUT_OBJECT",
40753
+ "name": "OveragePricingModelCreateInput",
40754
+ "ofType": null
40755
+ }
40756
+ }
40757
+ },
40758
+ "defaultValue": null,
40759
+ "isDeprecated": false,
40760
+ "deprecationReason": null
40761
+ },
40440
40762
  {
40441
40763
  "name": "packageId",
40442
40764
  "description": null,
@@ -42884,6 +43206,26 @@
42884
43206
  "isDeprecated": false,
42885
43207
  "deprecationReason": null
42886
43208
  },
43209
+ {
43210
+ "name": "overagePrices",
43211
+ "description": null,
43212
+ "args": [],
43213
+ "type": {
43214
+ "kind": "LIST",
43215
+ "name": null,
43216
+ "ofType": {
43217
+ "kind": "NON_NULL",
43218
+ "name": null,
43219
+ "ofType": {
43220
+ "kind": "OBJECT",
43221
+ "name": "Price",
43222
+ "ofType": null
43223
+ }
43224
+ }
43225
+ },
43226
+ "isDeprecated": false,
43227
+ "deprecationReason": null
43228
+ },
42887
43229
  {
42888
43230
  "name": "prices",
42889
43231
  "description": null,
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.10.0"
4
+ VERSION = "1.11.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: 1.10.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg