stigg-api-client 2.198.2 → 2.199.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: 3f7c69e92a40e76d7d103dc77b0d8af1221f46bc5f8183a49d357b2f2bf64243
4
- data.tar.gz: 89ab46275a70d71ffc87a3e958d9df38399d490a3be96e71ba0156d29cc32819
3
+ metadata.gz: 4ee021dba5b6b94a7d4e94f9dc14db79817c95525c76e45c40628e2195c0f554
4
+ data.tar.gz: 56cdd6df9cde8e392936064589aee330f39503fdf54dc3504b5aa9fe3b88dbf5
5
5
  SHA512:
6
- metadata.gz: 0f30041846e72cd4607b368fada9868b63e27a2bee6e6951488ef40db23d2474c4d2e5c8b878ca8e4e27f863e760c31544c006b1a5d90a252814c9decfe6fe5f
7
- data.tar.gz: 58c7259d47e0890f69e557996eaecdac0337467d2b0509af610af47310501101d670eac6f8ab3b0745cf8d8bae510cdfb7c7412da98e07ca075d263916ec79b7
6
+ metadata.gz: d1323432f04870d23212354271051b0de1e50967f7a636b1eb1fe02f40f442574f7f48cd233ab9d79bc7129846f4518deb52a626cf7de891753cee4ebf35f2e7
7
+ data.tar.gz: 17e0bed7435f9f6cfcf6d9478b9c025bab93d0321009acb128ff1d5cd7b495945197b0776ecd5c6a26f60fee56e7e6d0ffbfe2c8c82eca8faac6e6407553476b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (2.198.2)
4
+ stigg-api-client (2.199.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -6,6 +6,11 @@ module Stigg
6
6
  fragment CouponFragment on Coupon {
7
7
  id
8
8
  discountValue
9
+ percentOff
10
+ amountsOff {
11
+ amount
12
+ currency
13
+ }
9
14
  type
10
15
  additionalMetaData
11
16
  refId
@@ -7127,6 +7127,26 @@
7127
7127
  "isDeprecated": false,
7128
7128
  "deprecationReason": null
7129
7129
  },
7130
+ {
7131
+ "name": "amountsOff",
7132
+ "description": "Discount amounts off",
7133
+ "args": [],
7134
+ "type": {
7135
+ "kind": "LIST",
7136
+ "name": null,
7137
+ "ofType": {
7138
+ "kind": "NON_NULL",
7139
+ "name": null,
7140
+ "ofType": {
7141
+ "kind": "OBJECT",
7142
+ "name": "Money",
7143
+ "ofType": null
7144
+ }
7145
+ }
7146
+ },
7147
+ "isDeprecated": false,
7148
+ "deprecationReason": null
7149
+ },
7130
7150
  {
7131
7151
  "name": "billingId",
7132
7152
  "description": null,
@@ -7245,8 +7265,8 @@
7245
7265
  "ofType": null
7246
7266
  }
7247
7267
  },
7248
- "isDeprecated": false,
7249
- "deprecationReason": null
7268
+ "isDeprecated": true,
7269
+ "deprecationReason": "Use percentOff or amountsOff fields instead"
7250
7270
  },
7251
7271
  {
7252
7272
  "name": "environment",
@@ -7308,6 +7328,18 @@
7308
7328
  "isDeprecated": false,
7309
7329
  "deprecationReason": null
7310
7330
  },
7331
+ {
7332
+ "name": "percentOff",
7333
+ "description": "Discount percent off",
7334
+ "args": [],
7335
+ "type": {
7336
+ "kind": "SCALAR",
7337
+ "name": "Float",
7338
+ "ofType": null
7339
+ },
7340
+ "isDeprecated": false,
7341
+ "deprecationReason": null
7342
+ },
7311
7343
  {
7312
7344
  "name": "refId",
7313
7345
  "description": null,
@@ -9060,6 +9092,26 @@
9060
9092
  "isDeprecated": false,
9061
9093
  "deprecationReason": null
9062
9094
  },
9095
+ {
9096
+ "name": "amountsOff",
9097
+ "description": "Discount flat fee amounts off",
9098
+ "type": {
9099
+ "kind": "LIST",
9100
+ "name": null,
9101
+ "ofType": {
9102
+ "kind": "NON_NULL",
9103
+ "name": null,
9104
+ "ofType": {
9105
+ "kind": "INPUT_OBJECT",
9106
+ "name": "MoneyInputDTO",
9107
+ "ofType": null
9108
+ }
9109
+ }
9110
+ },
9111
+ "defaultValue": null,
9112
+ "isDeprecated": false,
9113
+ "deprecationReason": null
9114
+ },
9063
9115
  {
9064
9116
  "name": "description",
9065
9117
  "description": null,
@@ -9076,13 +9128,9 @@
9076
9128
  "name": "discountValue",
9077
9129
  "description": null,
9078
9130
  "type": {
9079
- "kind": "NON_NULL",
9080
- "name": null,
9081
- "ofType": {
9082
- "kind": "SCALAR",
9083
- "name": "Float",
9084
- "ofType": null
9085
- }
9131
+ "kind": "SCALAR",
9132
+ "name": "Float",
9133
+ "ofType": null
9086
9134
  },
9087
9135
  "defaultValue": null,
9088
9136
  "isDeprecated": false,
@@ -9116,6 +9164,18 @@
9116
9164
  "isDeprecated": false,
9117
9165
  "deprecationReason": null
9118
9166
  },
9167
+ {
9168
+ "name": "percentOff",
9169
+ "description": "Discount percent off",
9170
+ "type": {
9171
+ "kind": "SCALAR",
9172
+ "name": "Float",
9173
+ "ofType": null
9174
+ },
9175
+ "defaultValue": null,
9176
+ "isDeprecated": false,
9177
+ "deprecationReason": null
9178
+ },
9119
9179
  {
9120
9180
  "name": "refId",
9121
9181
  "description": null,
@@ -9136,13 +9196,9 @@
9136
9196
  "name": "type",
9137
9197
  "description": null,
9138
9198
  "type": {
9139
- "kind": "NON_NULL",
9140
- "name": null,
9141
- "ofType": {
9142
- "kind": "ENUM",
9143
- "name": "CouponType",
9144
- "ofType": null
9145
- }
9199
+ "kind": "ENUM",
9200
+ "name": "CouponType",
9201
+ "ofType": null
9146
9202
  },
9147
9203
  "defaultValue": null,
9148
9204
  "isDeprecated": false,
@@ -69215,6 +69271,26 @@
69215
69271
  "name": "SubscriptionCoupon",
69216
69272
  "description": null,
69217
69273
  "fields": [
69274
+ {
69275
+ "name": "amountsOff",
69276
+ "description": "Discount amounts off",
69277
+ "args": [],
69278
+ "type": {
69279
+ "kind": "LIST",
69280
+ "name": null,
69281
+ "ofType": {
69282
+ "kind": "NON_NULL",
69283
+ "name": null,
69284
+ "ofType": {
69285
+ "kind": "OBJECT",
69286
+ "name": "Money",
69287
+ "ofType": null
69288
+ }
69289
+ }
69290
+ },
69291
+ "isDeprecated": false,
69292
+ "deprecationReason": null
69293
+ },
69218
69294
  {
69219
69295
  "name": "discountValue",
69220
69296
  "description": null,
@@ -69228,8 +69304,8 @@
69228
69304
  "ofType": null
69229
69305
  }
69230
69306
  },
69231
- "isDeprecated": false,
69232
- "deprecationReason": null
69307
+ "isDeprecated": true,
69308
+ "deprecationReason": "Use percentOff or amountsOff fields instead"
69233
69309
  },
69234
69310
  {
69235
69311
  "name": "environmentId",
@@ -69279,6 +69355,18 @@
69279
69355
  "isDeprecated": false,
69280
69356
  "deprecationReason": null
69281
69357
  },
69358
+ {
69359
+ "name": "percentOff",
69360
+ "description": "Discount percent off",
69361
+ "args": [],
69362
+ "type": {
69363
+ "kind": "SCALAR",
69364
+ "name": "Float",
69365
+ "ofType": null
69366
+ },
69367
+ "isDeprecated": false,
69368
+ "deprecationReason": null
69369
+ },
69282
69370
  {
69283
69371
  "name": "refId",
69284
69372
  "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 = "2.198.2"
4
+ VERSION = "2.199.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.198.2
4
+ version: 2.199.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-11-19 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient