stigg-api-client 1.10.0 → 1.11.1

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: 0e50d76a88988064c01b83b53a22b516aeba3f43be5afaa6eb57e48071638fd7
4
- data.tar.gz: 5c95b72389208cb10902e44dafdf727a267efb49952cfa9ac201fa35e3cf9c0b
3
+ metadata.gz: 2d0c7b1e11f74c773562162748bd5998d92f35dddefbd68ee2082f42af3dcc6c
4
+ data.tar.gz: 9c2a31a6fd9bbb6f1714ddbef24dc3aa1512794f6a50442ea4af6dabdd5edd6f
5
5
  SHA512:
6
- metadata.gz: 93bb9851eda469e166d5bfc56f910f8580eec94a8d4968ff689a807dc0fac480d5878bfefcffb36cc805d0d2e4d084031cbae875e5855c414406b25df3e57ad3
7
- data.tar.gz: e44bbbe74bbc9265887e8439eebb8e811076ef3bf3319c8a24c7d1ec81e68aa76d25b5606f911f1b58b2f2f289dd2fb735fce95b6d9ab2e22eee34c365ab7350
6
+ metadata.gz: d27579f272dc7cc9d73d0b61dfd9554da3eedd7ccda00f1898930b72af384794eeae108e6e786cb39674f253e57cf70b97b4bbd69cc8e1f2d12a8d922d2d35a2
7
+ data.tar.gz: 6e48bb666af2a3bf34a9b52d4e6bf7668f99b2204096fdf8a0f9ce5d187facc29d6458ed7c315866d3238346439a671c1ed0c98514c48255a90c235644153d0a
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.1)
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,
@@ -21557,12 +21597,6 @@
21557
21597
  "isDeprecated": false,
21558
21598
  "deprecationReason": null
21559
21599
  },
21560
- {
21561
- "name": "DryRunError",
21562
- "description": null,
21563
- "isDeprecated": false,
21564
- "deprecationReason": null
21565
- },
21566
21600
  {
21567
21601
  "name": "DuplicateProductValidationError",
21568
21602
  "description": null,
@@ -37385,6 +37419,248 @@
37385
37419
  "enumValues": null,
37386
37420
  "possibleTypes": null
37387
37421
  },
37422
+ {
37423
+ "kind": "INPUT_OBJECT",
37424
+ "name": "OverageEntitlementCreateInput",
37425
+ "description": null,
37426
+ "fields": null,
37427
+ "inputFields": [
37428
+ {
37429
+ "name": "description",
37430
+ "description": null,
37431
+ "type": {
37432
+ "kind": "SCALAR",
37433
+ "name": "String",
37434
+ "ofType": null
37435
+ },
37436
+ "defaultValue": null,
37437
+ "isDeprecated": false,
37438
+ "deprecationReason": null
37439
+ },
37440
+ {
37441
+ "name": "displayNameOverride",
37442
+ "description": null,
37443
+ "type": {
37444
+ "kind": "SCALAR",
37445
+ "name": "String",
37446
+ "ofType": null
37447
+ },
37448
+ "defaultValue": null,
37449
+ "isDeprecated": false,
37450
+ "deprecationReason": null
37451
+ },
37452
+ {
37453
+ "name": "featureId",
37454
+ "description": null,
37455
+ "type": {
37456
+ "kind": "NON_NULL",
37457
+ "name": null,
37458
+ "ofType": {
37459
+ "kind": "SCALAR",
37460
+ "name": "String",
37461
+ "ofType": null
37462
+ }
37463
+ },
37464
+ "defaultValue": null,
37465
+ "isDeprecated": false,
37466
+ "deprecationReason": null
37467
+ },
37468
+ {
37469
+ "name": "hasUnlimitedUsage",
37470
+ "description": null,
37471
+ "type": {
37472
+ "kind": "SCALAR",
37473
+ "name": "Boolean",
37474
+ "ofType": null
37475
+ },
37476
+ "defaultValue": null,
37477
+ "isDeprecated": false,
37478
+ "deprecationReason": null
37479
+ },
37480
+ {
37481
+ "name": "hiddenFromWidgets",
37482
+ "description": null,
37483
+ "type": {
37484
+ "kind": "LIST",
37485
+ "name": null,
37486
+ "ofType": {
37487
+ "kind": "NON_NULL",
37488
+ "name": null,
37489
+ "ofType": {
37490
+ "kind": "ENUM",
37491
+ "name": "WidgetType",
37492
+ "ofType": null
37493
+ }
37494
+ }
37495
+ },
37496
+ "defaultValue": null,
37497
+ "isDeprecated": false,
37498
+ "deprecationReason": null
37499
+ },
37500
+ {
37501
+ "name": "isCustom",
37502
+ "description": null,
37503
+ "type": {
37504
+ "kind": "SCALAR",
37505
+ "name": "Boolean",
37506
+ "ofType": null
37507
+ },
37508
+ "defaultValue": null,
37509
+ "isDeprecated": false,
37510
+ "deprecationReason": null
37511
+ },
37512
+ {
37513
+ "name": "monthlyResetPeriodConfiguration",
37514
+ "description": null,
37515
+ "type": {
37516
+ "kind": "INPUT_OBJECT",
37517
+ "name": "MonthlyResetPeriodConfigInput",
37518
+ "ofType": null
37519
+ },
37520
+ "defaultValue": null,
37521
+ "isDeprecated": false,
37522
+ "deprecationReason": null
37523
+ },
37524
+ {
37525
+ "name": "order",
37526
+ "description": null,
37527
+ "type": {
37528
+ "kind": "SCALAR",
37529
+ "name": "Float",
37530
+ "ofType": null
37531
+ },
37532
+ "defaultValue": null,
37533
+ "isDeprecated": false,
37534
+ "deprecationReason": null
37535
+ },
37536
+ {
37537
+ "name": "resetPeriod",
37538
+ "description": null,
37539
+ "type": {
37540
+ "kind": "ENUM",
37541
+ "name": "EntitlementResetPeriod",
37542
+ "ofType": null
37543
+ },
37544
+ "defaultValue": null,
37545
+ "isDeprecated": false,
37546
+ "deprecationReason": null
37547
+ },
37548
+ {
37549
+ "name": "usageLimit",
37550
+ "description": null,
37551
+ "type": {
37552
+ "kind": "SCALAR",
37553
+ "name": "Float",
37554
+ "ofType": null
37555
+ },
37556
+ "defaultValue": null,
37557
+ "isDeprecated": false,
37558
+ "deprecationReason": null
37559
+ },
37560
+ {
37561
+ "name": "weeklyResetPeriodConfiguration",
37562
+ "description": null,
37563
+ "type": {
37564
+ "kind": "INPUT_OBJECT",
37565
+ "name": "WeeklyResetPeriodConfigInput",
37566
+ "ofType": null
37567
+ },
37568
+ "defaultValue": null,
37569
+ "isDeprecated": false,
37570
+ "deprecationReason": null
37571
+ },
37572
+ {
37573
+ "name": "yearlyResetPeriodConfiguration",
37574
+ "description": null,
37575
+ "type": {
37576
+ "kind": "INPUT_OBJECT",
37577
+ "name": "YearlyResetPeriodConfigInput",
37578
+ "ofType": null
37579
+ },
37580
+ "defaultValue": null,
37581
+ "isDeprecated": false,
37582
+ "deprecationReason": null
37583
+ }
37584
+ ],
37585
+ "interfaces": null,
37586
+ "enumValues": null,
37587
+ "possibleTypes": null
37588
+ },
37589
+ {
37590
+ "kind": "INPUT_OBJECT",
37591
+ "name": "OveragePricingModelCreateInput",
37592
+ "description": null,
37593
+ "fields": null,
37594
+ "inputFields": [
37595
+ {
37596
+ "name": "billingModel",
37597
+ "description": null,
37598
+ "type": {
37599
+ "kind": "NON_NULL",
37600
+ "name": null,
37601
+ "ofType": {
37602
+ "kind": "ENUM",
37603
+ "name": "BillingModel",
37604
+ "ofType": null
37605
+ }
37606
+ },
37607
+ "defaultValue": null,
37608
+ "isDeprecated": false,
37609
+ "deprecationReason": null
37610
+ },
37611
+ {
37612
+ "name": "entitlement",
37613
+ "description": null,
37614
+ "type": {
37615
+ "kind": "INPUT_OBJECT",
37616
+ "name": "OverageEntitlementCreateInput",
37617
+ "ofType": null
37618
+ },
37619
+ "defaultValue": null,
37620
+ "isDeprecated": false,
37621
+ "deprecationReason": null
37622
+ },
37623
+ {
37624
+ "name": "featureId",
37625
+ "description": null,
37626
+ "type": {
37627
+ "kind": "SCALAR",
37628
+ "name": "String",
37629
+ "ofType": null
37630
+ },
37631
+ "defaultValue": null,
37632
+ "isDeprecated": false,
37633
+ "deprecationReason": null
37634
+ },
37635
+ {
37636
+ "name": "pricePeriods",
37637
+ "description": null,
37638
+ "type": {
37639
+ "kind": "NON_NULL",
37640
+ "name": null,
37641
+ "ofType": {
37642
+ "kind": "LIST",
37643
+ "name": null,
37644
+ "ofType": {
37645
+ "kind": "NON_NULL",
37646
+ "name": null,
37647
+ "ofType": {
37648
+ "kind": "INPUT_OBJECT",
37649
+ "name": "PricePeriodInput",
37650
+ "ofType": null
37651
+ }
37652
+ }
37653
+ }
37654
+ },
37655
+ "defaultValue": null,
37656
+ "isDeprecated": false,
37657
+ "deprecationReason": null
37658
+ }
37659
+ ],
37660
+ "interfaces": null,
37661
+ "enumValues": null,
37662
+ "possibleTypes": null
37663
+ },
37388
37664
  {
37389
37665
  "kind": "OBJECT",
37390
37666
  "name": "PackageAlreadyPublishedError",
@@ -37796,6 +38072,26 @@
37796
38072
  "isDeprecated": false,
37797
38073
  "deprecationReason": null
37798
38074
  },
38075
+ {
38076
+ "name": "overagePrices",
38077
+ "description": null,
38078
+ "args": [],
38079
+ "type": {
38080
+ "kind": "LIST",
38081
+ "name": null,
38082
+ "ofType": {
38083
+ "kind": "NON_NULL",
38084
+ "name": null,
38085
+ "ofType": {
38086
+ "kind": "OBJECT",
38087
+ "name": "Price",
38088
+ "ofType": null
38089
+ }
38090
+ }
38091
+ },
38092
+ "isDeprecated": false,
38093
+ "deprecationReason": null
38094
+ },
37799
38095
  {
37800
38096
  "name": "prices",
37801
38097
  "description": null,
@@ -40437,6 +40733,26 @@
40437
40733
  "isDeprecated": false,
40438
40734
  "deprecationReason": null
40439
40735
  },
40736
+ {
40737
+ "name": "overagePricingModels",
40738
+ "description": null,
40739
+ "type": {
40740
+ "kind": "LIST",
40741
+ "name": null,
40742
+ "ofType": {
40743
+ "kind": "NON_NULL",
40744
+ "name": null,
40745
+ "ofType": {
40746
+ "kind": "INPUT_OBJECT",
40747
+ "name": "OveragePricingModelCreateInput",
40748
+ "ofType": null
40749
+ }
40750
+ }
40751
+ },
40752
+ "defaultValue": null,
40753
+ "isDeprecated": false,
40754
+ "deprecationReason": null
40755
+ },
40440
40756
  {
40441
40757
  "name": "packageId",
40442
40758
  "description": null,
@@ -42884,6 +43200,26 @@
42884
43200
  "isDeprecated": false,
42885
43201
  "deprecationReason": null
42886
43202
  },
43203
+ {
43204
+ "name": "overagePrices",
43205
+ "description": null,
43206
+ "args": [],
43207
+ "type": {
43208
+ "kind": "LIST",
43209
+ "name": null,
43210
+ "ofType": {
43211
+ "kind": "NON_NULL",
43212
+ "name": null,
43213
+ "ofType": {
43214
+ "kind": "OBJECT",
43215
+ "name": "Price",
43216
+ "ofType": null
43217
+ }
43218
+ }
43219
+ },
43220
+ "isDeprecated": false,
43221
+ "deprecationReason": null
43222
+ },
42887
43223
  {
42888
43224
  "name": "prices",
42889
43225
  "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.1"
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg