stigg-api-client 2.49.0 → 2.62.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: 9d85c103110643858deac86c6ad273da6866d784fb9f0711b7f1173130d472c8
4
- data.tar.gz: e0c7c4d64bc888a49620abc9d191cc63b67f3fb69acd522f80b0490e088d85ee
3
+ metadata.gz: a094b0435cb7cc7628d7cb28220a13bd3bf4e96d0cb21025028c464560e02952
4
+ data.tar.gz: 5bff36dbb189462e4eaa7988b418fd9bfc27e53235600b45f3d42063f994ce77
5
5
  SHA512:
6
- metadata.gz: 869dda37905dbe90a75de16bec02f3c56c84ae67899f8177c9b73ad2a8392b173d8a462857415491a63817663b1f26b921db76d777dff7c6e760ba3b530684ed
7
- data.tar.gz: 709327919f31a15602605df0e00c426f343c7f70bf0475aff75f0b21a35be58f020ba3b6a56a4816f804d56150af5f147e261bb7b5c997185d75ef91f9b11f0b
6
+ metadata.gz: 9f83aa961e0769017bcd4b28cb9c88bd2e6e540e2365ac1db56d1eef3d39b1bf25723908ae28eb2b9e64782253cf2c04551edb9d50d79e6f0bb22ee1e61bb2f3
7
+ data.tar.gz: 9db588548b4b57390f5f31b52dc7e841eeabe0730894a3a5970b97fb115fb9e8232efb4944b49af01602c0ce86b46dd4df5027f0f5812040b257d4197c6d443c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (2.49.0)
4
+ stigg-api-client (2.62.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -732,6 +732,103 @@ module Stigg
732
732
  }
733
733
  GRAPHQL
734
734
 
735
+ SubscriptionInvoicePreviewFragment = <<~GRAPHQL
736
+ fragment SubscriptionInvoicePreviewFragment on SubscriptionInvoicePreview {
737
+ amountDue {
738
+ amount
739
+ currency
740
+ }
741
+ minimumSpendAdjustment {
742
+ amount
743
+ currency
744
+ }
745
+ total {
746
+ amount
747
+ currency
748
+ }
749
+ totalExcludingTax {
750
+ amount
751
+ currency
752
+ }
753
+ subTotal {
754
+ amount
755
+ currency
756
+ }
757
+ subTotalExcludingTax {
758
+ amount
759
+ currency
760
+ }
761
+ tax {
762
+ amount
763
+ currency
764
+ }
765
+ taxDetails {
766
+ displayName
767
+ percentage
768
+ inclusive
769
+ }
770
+ discount {
771
+ amount
772
+ currency
773
+ }
774
+ discountDetails {
775
+ name
776
+ type
777
+ value
778
+ durationType
779
+ durationInMonths
780
+ }
781
+ credits {
782
+ initial {
783
+ amount
784
+ currency
785
+ }
786
+ used {
787
+ amount
788
+ currency
789
+ }
790
+ remaining {
791
+ amount
792
+ currency
793
+ }
794
+ }
795
+ lastUpdatedAt
796
+ lines {
797
+ type
798
+ description
799
+ costDescription
800
+ amount {
801
+ amount
802
+ currency
803
+ }
804
+ unitPrice {
805
+ amount
806
+ currency
807
+ }
808
+ quantity
809
+ proration
810
+ price {
811
+ ...PriceFragment
812
+ }
813
+ usageLimit
814
+ period {
815
+ start
816
+ end
817
+ }
818
+ hasSoftLimit
819
+ lines {
820
+ type
821
+ description
822
+ costDescription
823
+ quantity
824
+ proration
825
+ usageLimit
826
+ hasSoftLimit
827
+ }
828
+ }
829
+ }
830
+ GRAPHQL
831
+
735
832
  FeatureFragment = <<~GRAPHQL
736
833
  fragment FeatureFragment on EntitlementFeature {
737
834
  __typename
@@ -1611,6 +1708,17 @@ module Stigg
1611
1708
  #{Fragment::SubscriptionPreviewInvoiceFragment}
1612
1709
  GRAPHQL
1613
1710
 
1711
+ PreviewNextInvoice = <<~GRAPHQL
1712
+ mutation PreviewNextInvoice($input: PreviewNextInvoiceInput!) {
1713
+ previewNextInvoice(input: $input) {
1714
+ ...SubscriptionInvoicePreviewFragment
1715
+ }
1716
+ }
1717
+ #{Fragment::SubscriptionInvoicePreviewFragment}
1718
+ #{Fragment::PriceFragment}
1719
+ #{Fragment::PriceTierFragment}
1720
+ GRAPHQL
1721
+
1614
1722
  CancelSubscriptionUpdates = <<~GRAPHQL
1615
1723
  mutation CancelSubscriptionUpdates(
1616
1724
  $input: SubscriptionUpdateScheduleCancellationInput!
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "2.49.0"
4
+ VERSION = "2.62.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: 2.49.0
4
+ version: 2.62.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-07-28 00:00:00.000000000 Z
11
+ date: 2024-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient