stigg-api-client 0.551.1 → 0.553.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: 76a4ec6a12ccedca74a6889b5a097b13773eaaee4d3dff3584e82d2bdb1cf32a
4
- data.tar.gz: 030ef6e08d1263f4cc2e0240d3dc93e1daebc8c6cdbfd0f657513feb0a5a50b7
3
+ metadata.gz: 15828ddbed395ee0c158669642724b8964c9d3176bec7b9a16b0188f308a2b1a
4
+ data.tar.gz: 1e65e2f7ae2816c969c2c874515704aae0d4055e794555d1e5af8c4fb3c39c93
5
5
  SHA512:
6
- metadata.gz: 4e60a9129082a95437f4fda57dfea860ed12bab4db97e8cdaaedf514db7dd7dc7306c2a4c868dd1f8252faa87e349865f472f14e0f3fc9a1a75a592476506c0c
7
- data.tar.gz: df2d2511cac3a98b78a5ad78fac2773a570e5fc3b002b9d7ddfa2f7ffcfe6d4857f44370bd1d32cca77ae682f797850808930ff413da6ee711ae8acc944a4ba9
6
+ metadata.gz: 12c3db9046e3786121b7440eb9a334e4a037346177b89db868a64f0cfb99080a47c7bd935dfe905cb047e3c21b05263dacfd167dc8f5ffc9f364791ca3bb21b8
7
+ data.tar.gz: 5ab08676cf994e40e8117cb4732ab67a8d3df9946349d25866d6e2f51c07f0e3862da530b37876a11988b726df530cff7587a64b372dc186c5b604c595acec76
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (0.551.1)
4
+ stigg-api-client (0.553.0)
5
5
  graphlient (~> 0.7.0)
6
6
 
7
7
  GEM
@@ -15,7 +15,6 @@ module Stigg
15
15
  updatedAt
16
16
  billingId
17
17
  billingLinkUrl
18
- type
19
18
  status
20
19
  syncStates {
21
20
  vendorIdentifier
@@ -546,82 +545,6 @@ module Stigg
546
545
  }
547
546
  GRAPHQL
548
547
 
549
- PaywallPackageEntitlementFragment = <<~GRAPHQL
550
- fragment PaywallPackageEntitlementFragment on PackageEntitlement {
551
- usageLimit
552
- hasUnlimitedUsage
553
- featureId
554
- resetPeriod
555
- hiddenFromWidgets
556
- displayNameOverride
557
- feature {
558
- featureType
559
- meterType
560
- featureUnits
561
- featureUnitsPlural
562
- displayName
563
- description
564
- refId
565
- additionalMetaData
566
- }
567
- }
568
- GRAPHQL
569
-
570
- PaywallAddonFragment = <<~GRAPHQL
571
- fragment PaywallAddonFragment on Addon {
572
- id
573
- refId
574
- billingId
575
- displayName
576
- description
577
- additionalMetaData
578
- billingId
579
- entitlements {
580
- ...PaywallPackageEntitlementFragment
581
- }
582
- prices {
583
- ...PriceFragment
584
- }
585
- additionalMetaData
586
- pricingType
587
- }
588
- GRAPHQL
589
-
590
- PaywallPlanFragment = <<~GRAPHQL
591
- fragment PaywallPlanFragment on Plan {
592
- id
593
- refId
594
- description
595
- displayName
596
- billingId
597
- product {
598
- ...ProductFragment
599
- }
600
- basePlan {
601
- refId
602
- displayName
603
- }
604
- entitlements {
605
- ...PaywallPackageEntitlementFragment
606
- }
607
- additionalMetaData
608
- inheritedEntitlements {
609
- ...PaywallPackageEntitlementFragment
610
- }
611
- prices {
612
- ...PriceFragment
613
- }
614
- pricingType
615
- defaultTrialConfig {
616
- duration
617
- units
618
- }
619
- compatibleAddons {
620
- ...PaywallAddonFragment
621
- }
622
- }
623
- GRAPHQL
624
-
625
548
  TypographyConfigurationFragment = <<~GRAPHQL
626
549
  fragment TypographyConfigurationFragment on TypographyConfiguration {
627
550
  fontFamily
@@ -675,8 +598,8 @@ module Stigg
675
598
  }
676
599
  GRAPHQL
677
600
 
678
- PaywallCurrency = <<~GRAPHQL
679
- fragment PaywallCurrency on PaywallCurrency {
601
+ PaywallCurrencyFragment = <<~GRAPHQL
602
+ fragment PaywallCurrencyFragment on PaywallCurrency {
680
603
  code
681
604
  symbol
682
605
  }
@@ -724,13 +647,13 @@ module Stigg
724
647
  ...CustomerPortalSubscriptionFragment
725
648
  }
726
649
  entitlements {
727
- ...CustomerPortalEntitlement
650
+ ...CustomerPortalEntitlementFragment
728
651
  }
729
652
  promotionalEntitlements {
730
- ...CustomerPortalPromotionalEntitlement
653
+ ...CustomerPortalPromotionalEntitlementFragment
731
654
  }
732
655
  billingInformation {
733
- ...CustomerPortalBillingInformation
656
+ ...CustomerPortalBillingInformationFragment
734
657
  }
735
658
  showWatermark
736
659
  billingPortalUrl
@@ -876,16 +799,16 @@ module Stigg
876
799
  }
877
800
  }
878
801
  addons {
879
- ...CustomerPortalSubscriptionAddon
802
+ ...CustomerPortalSubscriptionAddonFragment
880
803
  }
881
804
  scheduledUpdates {
882
- ...CustomerPortalSubscriptionScheduledUpdateData
805
+ ...CustomerPortalSubscriptionScheduledUpdateDataFragment
883
806
  }
884
807
  }
885
808
  GRAPHQL
886
809
 
887
- CustomerPortalSubscriptionAddon = <<~GRAPHQL
888
- fragment CustomerPortalSubscriptionAddon on CustomerPortalAddon {
810
+ CustomerPortalSubscriptionAddonFragment = <<~GRAPHQL
811
+ fragment CustomerPortalSubscriptionAddonFragment on CustomerPortalAddon {
889
812
  addonId
890
813
  description
891
814
  displayName
@@ -893,8 +816,8 @@ module Stigg
893
816
  }
894
817
  GRAPHQL
895
818
 
896
- CustomerPortalSubscriptionScheduledUpdateData = <<~GRAPHQL
897
- fragment CustomerPortalSubscriptionScheduledUpdateData on SubscriptionScheduledUpdate {
819
+ CustomerPortalSubscriptionScheduledUpdateDataFragment = <<~GRAPHQL
820
+ fragment CustomerPortalSubscriptionScheduledUpdateDataFragment on SubscriptionScheduledUpdate {
898
821
  subscriptionScheduleType
899
822
  scheduleStatus
900
823
  scheduledExecutionTime
@@ -925,8 +848,8 @@ module Stigg
925
848
  }
926
849
  GRAPHQL
927
850
 
928
- CustomerPortalEntitlement = <<~GRAPHQL
929
- fragment CustomerPortalEntitlement on Entitlement {
851
+ CustomerPortalEntitlementFragment = <<~GRAPHQL
852
+ fragment CustomerPortalEntitlementFragment on Entitlement {
930
853
  isGranted
931
854
  usageLimit
932
855
  currentUsage
@@ -942,8 +865,8 @@ module Stigg
942
865
  }
943
866
  GRAPHQL
944
867
 
945
- CustomerPortalPromotionalEntitlement = <<~GRAPHQL
946
- fragment CustomerPortalPromotionalEntitlement on CustomerPortalPromotionalEntitlement {
868
+ CustomerPortalPromotionalEntitlementFragment = <<~GRAPHQL
869
+ fragment CustomerPortalPromotionalEntitlementFragment on CustomerPortalPromotionalEntitlement {
947
870
  displayName
948
871
  hasUnlimitedUsage
949
872
  usageLimit
@@ -953,13 +876,12 @@ module Stigg
953
876
  }
954
877
  GRAPHQL
955
878
 
956
- CustomerPortalBillingInformation = <<~GRAPHQL
957
- fragment CustomerPortalBillingInformation on CustomerPortalBillingInformation {
879
+ CustomerPortalBillingInformationFragment = <<~GRAPHQL
880
+ fragment CustomerPortalBillingInformationFragment on CustomerPortalBillingInformation {
958
881
  email
959
882
  name
960
883
  defaultPaymentMethodLast4Digits
961
884
  defaultPaymentMethodId
962
- defaultPaymentMethodLast4Digits
963
885
  defaultPaymentExpirationMonth
964
886
  defaultPaymentExpirationYear
965
887
  }
@@ -1088,7 +1010,7 @@ module Stigg
1088
1010
  ...PlanFragment
1089
1011
  }
1090
1012
  currency {
1091
- ...PaywallCurrency
1013
+ ...PaywallCurrencyFragment
1092
1014
  }
1093
1015
  configuration {
1094
1016
  ...PaywallConfigurationFragment
@@ -1441,7 +1363,7 @@ module Stigg
1441
1363
  #{Fragment::AddonFragment}
1442
1364
  #{Fragment::PriceFragment}
1443
1365
  #{Fragment::PriceTierFragment}
1444
- #{Fragment::PaywallCurrency}
1366
+ #{Fragment::PaywallCurrencyFragment}
1445
1367
  #{Fragment::PaywallConfigurationFragment}
1446
1368
  #{Fragment::TypographyConfigurationFragment}
1447
1369
  #{Fragment::FontVariantFragment}
@@ -1512,20 +1434,20 @@ module Stigg
1512
1434
  #{Fragment::CustomerPortalFragment}
1513
1435
  #{Fragment::CustomerPortalSubscriptionFragment}
1514
1436
  #{Fragment::CustomerPortalSubscriptionPriceFragment}
1515
- #{Fragment::CustomerPortalSubscriptionAddon}
1516
- #{Fragment::CustomerPortalSubscriptionScheduledUpdateData}
1517
- #{Fragment::CustomerPortalEntitlement}
1437
+ #{Fragment::CustomerPortalSubscriptionAddonFragment}
1438
+ #{Fragment::CustomerPortalSubscriptionScheduledUpdateDataFragment}
1439
+ #{Fragment::CustomerPortalEntitlementFragment}
1518
1440
  #{Fragment::ResetPeriodConfigurationFragment}
1519
1441
  #{Fragment::FeatureFragment}
1520
- #{Fragment::CustomerPortalPromotionalEntitlement}
1521
- #{Fragment::CustomerPortalBillingInformation}
1442
+ #{Fragment::CustomerPortalPromotionalEntitlementFragment}
1443
+ #{Fragment::CustomerPortalBillingInformationFragment}
1522
1444
  #{Fragment::CustomerPortalConfigurationFragment}
1523
1445
  #{Fragment::TypographyConfigurationFragment}
1524
1446
  #{Fragment::FontVariantFragment}
1525
1447
  #{Fragment::CustomerResourceFragment}
1526
1448
  GRAPHQL
1527
1449
 
1528
- CheckoutState = <<~GRAPHQL
1450
+ GetCheckoutState = <<~GRAPHQL
1529
1451
  query ($input: CheckoutStateInput!) {
1530
1452
  checkoutState(input: $input) {
1531
1453
  ...CheckoutStateFragment
@@ -1575,7 +1497,7 @@ module Stigg
1575
1497
  #{Fragment::LayoutConfigurationFragment}
1576
1498
  GRAPHQL
1577
1499
 
1578
- UsageHistory = <<~GRAPHQL
1500
+ GetUsageHistory = <<~GRAPHQL
1579
1501
  query ($usageHistoryInput: UsageHistoryInput!) {
1580
1502
  usageHistory(usageHistoryInput: $usageHistoryInput) {
1581
1503
  ...UsageHistoryFragment
@@ -1584,7 +1506,7 @@ module Stigg
1584
1506
  #{Fragment::UsageHistoryFragment}
1585
1507
  GRAPHQL
1586
1508
 
1587
- EntitlementsUpdated = <<~GRAPHQL
1509
+ OnEntitlementsUpdated = <<~GRAPHQL
1588
1510
  subscription {
1589
1511
  entitlementsUpdated {
1590
1512
  ...EntitlementsUpdatedPayload
@@ -1596,7 +1518,7 @@ module Stigg
1596
1518
  #{Fragment::FeatureFragment}
1597
1519
  GRAPHQL
1598
1520
 
1599
- UsageUpdated = <<~GRAPHQL
1521
+ OnUsageUpdated = <<~GRAPHQL
1600
1522
  subscription {
1601
1523
  usageUpdated {
1602
1524
  ...EntitlementUsageUpdated
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.551.1"
4
+ VERSION = "0.553.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.551.1
4
+ version: 0.553.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-08-24 00:00:00.000000000 Z
11
+ date: 2023-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient