stigg-api-client 2.196.0 → 2.198.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: e6ba3ef701a48517a32a4ec0b7cdd7e29bd952b7020985e29df79e14d385115f
4
- data.tar.gz: 9333b86ad0c7704ecf0d9ccd6bb6864d73515b79a73abce53b28d4127fb634ff
3
+ metadata.gz: c3709560ddf1507077f9652e2b32edee1146e27ff373868f0fee2df79befb8c3
4
+ data.tar.gz: d7884984d7a64f5dfc0701a48555685b4a1f5b90eb2668bd0e2a4ae2e0fdbe71
5
5
  SHA512:
6
- metadata.gz: 707c14374f45e5181c2908e0c08e5ef8cd37468ab6a0c9fbf05125ce00083e3754ec7b97c3e43030fbf86eacd44f7ab2578a95d2e26477a200cbe617221e701d
7
- data.tar.gz: c1a1a72830ce61412b68bd3650c80121de56f33c0dbd51bd3e087f615dae6c7b1dba0179c5d38d151f68a9b29bbb06d1809b35b4b554c8c89d619f93c9637464
6
+ metadata.gz: af20b13abc0a8fe14ac87a9f8e5bbb57b6ab3370da521f60e950525e21544cdf669e65d290ed87eaaa2aa83d361c88caaee51f89ec199204d3af579e1d228912
7
+ data.tar.gz: 2c3792f2dec394aa9975b19a1dddcd9d8d7d4f2384b53fef20e7b9c4245f10129d3274b67f8fc8b6aafe20546f0a871216b1cb98a9083773d34d1716d0a84684
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (2.196.0)
4
+ stigg-api-client (2.198.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.196.0"
4
+ VERSION = "2.198.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.196.0
4
+ version: 2.198.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-18 00:00:00.000000000 Z
11
+ date: 2024-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient