stigg-api-client 1.9.0 → 1.11.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: bf79ea4549ae63cdd5e1f72bc72c8681cbca1af3424c449f1dd9364f4ac1172c
4
- data.tar.gz: 76fbeec72bfaee65d39aaaf431fc09275985a36ca64aac0a3ccb6db1a348ced2
3
+ metadata.gz: 3c37c9a3cb099387a2df0ccaaaf165111e5c01747676890da144b96a3fbc5b61
4
+ data.tar.gz: e50009819f37aea4a517af8a18934ae8e5d96f219900dc389cba3cc9b76b5bf2
5
5
  SHA512:
6
- metadata.gz: 2169bb3525b4dcece1f9a1577c9b98f66d87c62156171a72a9cf1e3637bbb7b0f996d68acc0aa11930f4121f7bf2556897e01621ef4949d0e44591567010fb84
7
- data.tar.gz: ea4e424600a540ac8b555ffbbf559045995dbf2561708541f7fb56b3093cc29c771d692b1ca21ca0d47e70136c0c06b97ac6e2b5f51977d3ebf99a757a4d05e8
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.9.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,
@@ -7818,6 +7858,18 @@
7818
7858
  "defaultValue": null,
7819
7859
  "isDeprecated": false,
7820
7860
  "deprecationReason": null
7861
+ },
7862
+ {
7863
+ "name": "type",
7864
+ "description": null,
7865
+ "type": {
7866
+ "kind": "ENUM",
7867
+ "name": "EnvironmentType",
7868
+ "ofType": null
7869
+ },
7870
+ "defaultValue": "DEVELOPMENT",
7871
+ "isDeprecated": false,
7872
+ "deprecationReason": null
7821
7873
  }
7822
7874
  ],
7823
7875
  "interfaces": null,
@@ -21328,6 +21380,35 @@
21328
21380
  ],
21329
21381
  "possibleTypes": null
21330
21382
  },
21383
+ {
21384
+ "kind": "ENUM",
21385
+ "name": "EnvironmentType",
21386
+ "description": "EnvironmentType.",
21387
+ "fields": null,
21388
+ "inputFields": null,
21389
+ "interfaces": null,
21390
+ "enumValues": [
21391
+ {
21392
+ "name": "DEVELOPMENT",
21393
+ "description": null,
21394
+ "isDeprecated": false,
21395
+ "deprecationReason": null
21396
+ },
21397
+ {
21398
+ "name": "PRODUCTION",
21399
+ "description": null,
21400
+ "isDeprecated": false,
21401
+ "deprecationReason": null
21402
+ },
21403
+ {
21404
+ "name": "SANDBOX",
21405
+ "description": null,
21406
+ "isDeprecated": false,
21407
+ "deprecationReason": null
21408
+ }
21409
+ ],
21410
+ "possibleTypes": null
21411
+ },
21331
21412
  {
21332
21413
  "kind": "ENUM",
21333
21414
  "name": "ErrorCode",
@@ -37344,6 +37425,248 @@
37344
37425
  "enumValues": null,
37345
37426
  "possibleTypes": null
37346
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
+ },
37347
37670
  {
37348
37671
  "kind": "OBJECT",
37349
37672
  "name": "PackageAlreadyPublishedError",
@@ -37755,6 +38078,26 @@
37755
38078
  "isDeprecated": false,
37756
38079
  "deprecationReason": null
37757
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
+ },
37758
38101
  {
37759
38102
  "name": "prices",
37760
38103
  "description": null,
@@ -40396,6 +40739,26 @@
40396
40739
  "isDeprecated": false,
40397
40740
  "deprecationReason": null
40398
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
+ },
40399
40762
  {
40400
40763
  "name": "packageId",
40401
40764
  "description": null,
@@ -42843,6 +43206,26 @@
42843
43206
  "isDeprecated": false,
42844
43207
  "deprecationReason": null
42845
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
+ },
42846
43229
  {
42847
43230
  "name": "prices",
42848
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.9.0"
4
+ VERSION = "1.11.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: 1.9.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-28 00:00:00.000000000 Z
11
+ date: 2024-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient