stigg-api-client 5.15.0 → 5.18.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: 3bc7c59c26620492c18cfe851cc018b2d65ea70891c288245042bc91956f973b
4
- data.tar.gz: f5db042b68c863b62a04d7a7816247bce77aabb730ac65a5c24f0e0e1ab3fd3f
3
+ metadata.gz: dca98c0e6bea5a9a45fa9ad24d4f7cfc1942c937fdeaabf6dea0252582bfbc06
4
+ data.tar.gz: 4d6c59a8534ea04270dfa0bd2dc0dcd4c97096434a3139f3430381b9d9cf2d9c
5
5
  SHA512:
6
- metadata.gz: 16c69bf4a7ca25a6dd88decf831a1efccadf94c3699e9e352ca909bfacf885c4c39838dd7c92f3b38f6736cb694b6930d89b180f2ba839375397c14aa6d9f676
7
- data.tar.gz: 7266fdbb48cac2192b7f35d6ef3b1177b17afd763ed8a988c57501bc8a7df5dc6a152b548ce888f0c7d5206f59580e5f326d48134ce2a7de0e59c31d3a486447
6
+ metadata.gz: 54dc324fc838a61c19cfe123299bd2fd26023a54bddf9f3903722ced6965cf52f4e128ffb0aa10b7a1a7e1d740fe64ae020eaf59f63d13d0469cac56dd5e67e4
7
+ data.tar.gz: accbb3123d8e647d230151bfbe6817eab5074261ada507099fc25a81510e27f55fc8b8a7975c23fdd438983641b47697d69a28b2e32bc4856f8ca8532ad0aad1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (5.15.0)
4
+ stigg-api-client (5.18.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -2217,12 +2217,21 @@ module Stigg
2217
2217
 
2218
2218
  VoidCreditGrant = <<~GRAPHQL
2219
2219
  mutation VoidCreditGrant($input: VoidCreditGrantInput!) {
2220
- voidCreditGrant(input: $input) {
2221
- ...CreditGrantFragment
2222
- }
2220
+ voidCreditGrant(input: $input) {
2221
+ ...CreditGrantFragment
2223
2222
  }
2223
+ }
2224
2224
  #{Fragment::CreditGrantFragment}
2225
2225
  GRAPHQL
2226
+
2227
+ CreateCoupon = <<~GRAPHQL
2228
+ mutation CreateCoupon($input: CreateCouponInput!) {
2229
+ createOneCoupon(input: $input) {
2230
+ ...CouponFragment
2231
+ }
2232
+ }
2233
+ #{Fragment::CouponFragment}
2234
+ GRAPHQL
2226
2235
  end
2227
2236
 
2228
2237
  module Query
@@ -2349,7 +2358,7 @@ module Stigg
2349
2358
 
2350
2359
  GetCoupons = <<~GRAPHQL
2351
2360
  query GetCoupons {
2352
- coupons(filter: { status: { eq: ACTIVE } }, paging: { first: 50 }) {
2361
+ coupons(filter: { status: { eq: ACTIVE } }, paging: { first: 25 }) {
2353
2362
  edges {
2354
2363
  node {
2355
2364
  ...CouponFragment
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "5.15.0"
4
+ VERSION = "5.18.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: 5.15.0
4
+ version: 5.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-11-15 00:00:00.000000000 Z
11
+ date: 2025-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient