stigg-api-client 3.66.0 → 3.70.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: 54bd195db4f69889bc4911e3c12ec7bca9d87f78c1da08b0425aa9798cbeb33c
4
- data.tar.gz: 9bd3aa6fc9f97b2655ff4c7d93e29a9c610f498c6a9b1befb6113925a0524d80
3
+ metadata.gz: 9ce45d50c07cc1c8bffd2121a10d1f32c3cd52db63d125fc03f19a198cabaec6
4
+ data.tar.gz: bcb40778d5c4f24b112e4e0b3e1bdf2cfb8aa3d0aaa90a70351a1c61a2ea1898
5
5
  SHA512:
6
- metadata.gz: bdc00211a21aef56cd7b6d499ce8d50738ad0d9c1efc6aee1976a6eee0b108f0cf94bbe2c4e1a605bbebfba6273e49de81b9fc1f48c4be6ec67dfb299dad40fb
7
- data.tar.gz: 3c00ff2ce25666e00d8e9cfe40329097bf2bd330f1f0d178fff0eeecc49fdb2fee2ce0963c1245a8e9313b54d394a2db59e8e4ca64edf11d136d93bf37145a52
6
+ metadata.gz: cef382d96333a98476b9694b0106fed76d58163d9b1655020e1830f851455be324a0e57141a12138a539a25c81b88f623f9b6d76769d5152fb771a4b55d9712a
7
+ data.tar.gz: 4e2ec677b88bcfc457ecf212265a9fdb0cedaa6bc25b4effca3dc2d26fb8fbc944c333b7ecaa6f1006803adfeaa616b508b2c61f51bad1ee9f3b89207773a2ea
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (3.66.0)
4
+ stigg-api-client (3.70.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -1120,6 +1120,20 @@ module Stigg
1120
1120
  }
1121
1121
  GRAPHQL
1122
1122
 
1123
+ StripeCheckoutCredentialsFragment = <<~GRAPHQL
1124
+ fragment StripeCheckoutCredentialsFragment on StripeCheckoutCredentials {
1125
+ accountId
1126
+ setupSecret
1127
+ publicKey
1128
+ }
1129
+ GRAPHQL
1130
+
1131
+ ZuoraCheckoutCredentialsFragment = <<~GRAPHQL
1132
+ fragment ZuoraCheckoutCredentialsFragment on ZuoraCheckoutCredentials {
1133
+ publishableKey
1134
+ }
1135
+ GRAPHQL
1136
+
1123
1137
  CheckoutStateFragment = <<~GRAPHQL
1124
1138
  fragment CheckoutStateFragment on CheckoutState {
1125
1139
  configuration {
@@ -1140,6 +1154,14 @@ module Stigg
1140
1154
  }
1141
1155
  billingIntegration {
1142
1156
  billingIdentifier
1157
+ billingCredentials {
1158
+ ... on StripeCheckoutCredentials {
1159
+ ...StripeCheckoutCredentialsFragment
1160
+ }
1161
+ ... on ZuoraCheckoutCredentials {
1162
+ ...ZuoraCheckoutCredentialsFragment
1163
+ }
1164
+ }
1143
1165
  credentials {
1144
1166
  accountId
1145
1167
  publicKey
@@ -1729,6 +1751,12 @@ module Stigg
1729
1751
  }
1730
1752
  }
1731
1753
  GRAPHQL
1754
+
1755
+ PaymentSessionFragment = <<~GRAPHQL
1756
+ fragment PaymentSessionFragment on PaymentSession {
1757
+ token
1758
+ }
1759
+ GRAPHQL
1732
1760
  end
1733
1761
 
1734
1762
  module Mutation
@@ -1776,7 +1804,9 @@ module Stigg
1776
1804
  GRAPHQL
1777
1805
 
1778
1806
  DetachCustomerPaymentMethod = <<~GRAPHQL
1779
- mutation DetachCustomerPaymentMethod($input: DetachCustomerPaymentMethodInput!) {
1807
+ mutation DetachCustomerPaymentMethod(
1808
+ $input: DetachCustomerPaymentMethodInput!
1809
+ ) {
1780
1810
  detachCustomerPaymentMethod(input: $input) {
1781
1811
  ...SlimCustomerFragment
1782
1812
  }
@@ -2023,7 +2053,9 @@ module Stigg
2023
2053
  GRAPHQL
2024
2054
 
2025
2055
  DelegateSubscriptionToCustomer = <<~GRAPHQL
2026
- mutation DelegateSubscriptionToCustomer($input: DelegateSubscriptionToCustomerInput!) {
2056
+ mutation DelegateSubscriptionToCustomer(
2057
+ $input: DelegateSubscriptionToCustomerInput!
2058
+ ) {
2027
2059
  delegateSubscriptionToCustomer(input: $input) {
2028
2060
  ...SlimSubscriptionFragment
2029
2061
  }
@@ -2037,7 +2069,9 @@ module Stigg
2037
2069
  GRAPHQL
2038
2070
 
2039
2071
  TransferSubscriptionToResource = <<~GRAPHQL
2040
- mutation TransferSubscriptionToResource($input: TransferSubscriptionToResourceInput!) {
2072
+ mutation TransferSubscriptionToResource(
2073
+ $input: TransferSubscriptionToResourceInput!
2074
+ ) {
2041
2075
  transferSubscriptionToResource(input: $input) {
2042
2076
  ...SlimSubscriptionFragment
2043
2077
  }
@@ -2060,7 +2094,9 @@ module Stigg
2060
2094
  GRAPHQL
2061
2095
 
2062
2096
  GrantPromotionalEntitlementsGroup = <<~GRAPHQL
2063
- mutation GrantPromotionalEntitlementsGroup($input: GrantPromotionalEntitlementsGroupInput!) {
2097
+ mutation GrantPromotionalEntitlementsGroup(
2098
+ $input: GrantPromotionalEntitlementsGroupInput!
2099
+ ) {
2064
2100
  grantPromotionalEntitlementsGroup(input: $input) {
2065
2101
  ...PromotionalEntitlementFragment
2066
2102
  }
@@ -2069,7 +2105,9 @@ module Stigg
2069
2105
  GRAPHQL
2070
2106
 
2071
2107
  RevokePromotionalEntitlementsGroup = <<~GRAPHQL
2072
- mutation RevokePromotionalEntitlementsGroup($input: RevokePromotionalEntitlementsGroupInput!) {
2108
+ mutation RevokePromotionalEntitlementsGroup(
2109
+ $input: RevokePromotionalEntitlementsGroupInput!
2110
+ ) {
2073
2111
  revokePromotionalEntitlementsGroup(input: $input) {
2074
2112
  ...PromotionalEntitlementFragment
2075
2113
  }
@@ -2078,13 +2116,24 @@ module Stigg
2078
2116
  GRAPHQL
2079
2117
 
2080
2118
  UnlinkPromotionalEntitlementsGroup = <<~GRAPHQL
2081
- mutation UnlinkPromotionalEntitlementsGroup($input: UnlinkPromotionalEntitlementsGroupInput!) {
2119
+ mutation UnlinkPromotionalEntitlementsGroup(
2120
+ $input: UnlinkPromotionalEntitlementsGroupInput!
2121
+ ) {
2082
2122
  unlinkPromotionalEntitlementsGroup(input: $input) {
2083
2123
  ...PromotionalEntitlementFragment
2084
2124
  }
2085
2125
  }
2086
2126
  #{Fragment::PromotionalEntitlementFragment}
2087
2127
  GRAPHQL
2128
+
2129
+ CreatePaymentSession = <<~GRAPHQL
2130
+ mutation CreatePaymentSession($input: PaymentSessionInput!) {
2131
+ createPaymentSession(input: $input) {
2132
+ ...PaymentSessionFragment
2133
+ }
2134
+ }
2135
+ #{Fragment::PaymentSessionFragment}
2136
+ GRAPHQL
2088
2137
  end
2089
2138
 
2090
2139
  module Query
@@ -2356,6 +2405,8 @@ module Stigg
2356
2405
  #{Fragment::ScheduleVariablesFragment}
2357
2406
  #{Fragment::SubscriptionFutureUpdateData}
2358
2407
  #{Fragment::SubscriptionTrialConfigurationFragment}
2408
+ #{Fragment::StripeCheckoutCredentialsFragment}
2409
+ #{Fragment::ZuoraCheckoutCredentialsFragment}
2359
2410
  GRAPHQL
2360
2411
 
2361
2412
  GetMockPaywall = <<~GRAPHQL