stigg-api-client 2.198.2 → 2.201.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: 3f7c69e92a40e76d7d103dc77b0d8af1221f46bc5f8183a49d357b2f2bf64243
4
- data.tar.gz: 89ab46275a70d71ffc87a3e958d9df38399d490a3be96e71ba0156d29cc32819
3
+ metadata.gz: 4533a14345141614bb7e0af3cea39f0a20acb41a6f15eab2d18e79f50d96714d
4
+ data.tar.gz: f8c9b0cabc5dad1750f74d8e6c592576199eff7d1c16a654a0673445755acd62
5
5
  SHA512:
6
- metadata.gz: 0f30041846e72cd4607b368fada9868b63e27a2bee6e6951488ef40db23d2474c4d2e5c8b878ca8e4e27f863e760c31544c006b1a5d90a252814c9decfe6fe5f
7
- data.tar.gz: 58c7259d47e0890f69e557996eaecdac0337467d2b0509af610af47310501101d670eac6f8ab3b0745cf8d8bae510cdfb7c7412da98e07ca075d263916ec79b7
6
+ metadata.gz: 0e60fbe4da2b640b2aaf581f35a61ff659fe5b399261fe50565fc1e07d38b8ebdbdb98c09256a5026d15ebcb616f2b0a47367adbcf3e8331bb159933badb9769
7
+ data.tar.gz: 6e37d2a9215e310cb73c072c673fdf7a82f0e959520335661ec6ecfaecf0f8e323a58889dc4e29b91a5b0290858686d9f2a29642bca1545ff65e47fdb07b537c
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.201.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,
@@ -7529,29 +7561,6 @@
7529
7561
  "enumValues": null,
7530
7562
  "possibleTypes": null
7531
7563
  },
7532
- {
7533
- "kind": "OBJECT",
7534
- "name": "CouponAvgAggregate",
7535
- "description": null,
7536
- "fields": [
7537
- {
7538
- "name": "id",
7539
- "description": null,
7540
- "args": [],
7541
- "type": {
7542
- "kind": "SCALAR",
7543
- "name": "Float",
7544
- "ofType": null
7545
- },
7546
- "isDeprecated": false,
7547
- "deprecationReason": null
7548
- }
7549
- ],
7550
- "inputFields": null,
7551
- "interfaces": [],
7552
- "enumValues": null,
7553
- "possibleTypes": null
7554
- },
7555
7564
  {
7556
7565
  "kind": "OBJECT",
7557
7566
  "name": "CouponConnection",
@@ -8801,29 +8810,6 @@
8801
8810
  "enumValues": null,
8802
8811
  "possibleTypes": null
8803
8812
  },
8804
- {
8805
- "kind": "OBJECT",
8806
- "name": "CouponSumAggregate",
8807
- "description": null,
8808
- "fields": [
8809
- {
8810
- "name": "id",
8811
- "description": null,
8812
- "args": [],
8813
- "type": {
8814
- "kind": "SCALAR",
8815
- "name": "Float",
8816
- "ofType": null
8817
- },
8818
- "isDeprecated": false,
8819
- "deprecationReason": null
8820
- }
8821
- ],
8822
- "inputFields": null,
8823
- "interfaces": [],
8824
- "enumValues": null,
8825
- "possibleTypes": null
8826
- },
8827
8813
  {
8828
8814
  "kind": "ENUM",
8829
8815
  "name": "CouponType",
@@ -9060,6 +9046,26 @@
9060
9046
  "isDeprecated": false,
9061
9047
  "deprecationReason": null
9062
9048
  },
9049
+ {
9050
+ "name": "amountsOff",
9051
+ "description": "Discount flat fee amounts off",
9052
+ "type": {
9053
+ "kind": "LIST",
9054
+ "name": null,
9055
+ "ofType": {
9056
+ "kind": "NON_NULL",
9057
+ "name": null,
9058
+ "ofType": {
9059
+ "kind": "INPUT_OBJECT",
9060
+ "name": "MoneyInputDTO",
9061
+ "ofType": null
9062
+ }
9063
+ }
9064
+ },
9065
+ "defaultValue": null,
9066
+ "isDeprecated": false,
9067
+ "deprecationReason": null
9068
+ },
9063
9069
  {
9064
9070
  "name": "description",
9065
9071
  "description": null,
@@ -9076,13 +9082,9 @@
9076
9082
  "name": "discountValue",
9077
9083
  "description": null,
9078
9084
  "type": {
9079
- "kind": "NON_NULL",
9080
- "name": null,
9081
- "ofType": {
9082
- "kind": "SCALAR",
9083
- "name": "Float",
9084
- "ofType": null
9085
- }
9085
+ "kind": "SCALAR",
9086
+ "name": "Float",
9087
+ "ofType": null
9086
9088
  },
9087
9089
  "defaultValue": null,
9088
9090
  "isDeprecated": false,
@@ -9116,6 +9118,18 @@
9116
9118
  "isDeprecated": false,
9117
9119
  "deprecationReason": null
9118
9120
  },
9121
+ {
9122
+ "name": "percentOff",
9123
+ "description": "Discount percent off",
9124
+ "type": {
9125
+ "kind": "SCALAR",
9126
+ "name": "Float",
9127
+ "ofType": null
9128
+ },
9129
+ "defaultValue": null,
9130
+ "isDeprecated": false,
9131
+ "deprecationReason": null
9132
+ },
9119
9133
  {
9120
9134
  "name": "refId",
9121
9135
  "description": null,
@@ -9136,13 +9150,9 @@
9136
9150
  "name": "type",
9137
9151
  "description": null,
9138
9152
  "type": {
9139
- "kind": "NON_NULL",
9140
- "name": null,
9141
- "ofType": {
9142
- "kind": "ENUM",
9143
- "name": "CouponType",
9144
- "ofType": null
9145
- }
9153
+ "kind": "ENUM",
9154
+ "name": "CouponType",
9155
+ "ofType": null
9146
9156
  },
9147
9157
  "defaultValue": null,
9148
9158
  "isDeprecated": false,
@@ -40672,39 +40682,6 @@
40672
40682
  "isDeprecated": false,
40673
40683
  "deprecationReason": null
40674
40684
  },
40675
- {
40676
- "name": "removeCouponFromCustomerSubscription",
40677
- "description": null,
40678
- "args": [
40679
- {
40680
- "name": "input",
40681
- "description": null,
40682
- "type": {
40683
- "kind": "NON_NULL",
40684
- "name": null,
40685
- "ofType": {
40686
- "kind": "INPUT_OBJECT",
40687
- "name": "RemoveCouponFromCustomerSubscriptionInput",
40688
- "ofType": null
40689
- }
40690
- },
40691
- "defaultValue": null,
40692
- "isDeprecated": false,
40693
- "deprecationReason": null
40694
- }
40695
- ],
40696
- "type": {
40697
- "kind": "NON_NULL",
40698
- "name": null,
40699
- "ofType": {
40700
- "kind": "OBJECT",
40701
- "name": "CustomerSubscription",
40702
- "ofType": null
40703
- }
40704
- },
40705
- "isDeprecated": false,
40706
- "deprecationReason": null
40707
- },
40708
40685
  {
40709
40686
  "name": "removeExperimentFromCustomer",
40710
40687
  "description": null,
@@ -41187,39 +41164,6 @@
41187
41164
  "isDeprecated": false,
41188
41165
  "deprecationReason": null
41189
41166
  },
41190
- {
41191
- "name": "setCouponOnCustomerSubscription",
41192
- "description": null,
41193
- "args": [
41194
- {
41195
- "name": "input",
41196
- "description": null,
41197
- "type": {
41198
- "kind": "NON_NULL",
41199
- "name": null,
41200
- "ofType": {
41201
- "kind": "INPUT_OBJECT",
41202
- "name": "SetCouponOnCustomerSubscriptionInput",
41203
- "ofType": null
41204
- }
41205
- },
41206
- "defaultValue": null,
41207
- "isDeprecated": false,
41208
- "deprecationReason": null
41209
- }
41210
- ],
41211
- "type": {
41212
- "kind": "NON_NULL",
41213
- "name": null,
41214
- "ofType": {
41215
- "kind": "OBJECT",
41216
- "name": "CustomerSubscription",
41217
- "ofType": null
41218
- }
41219
- },
41220
- "isDeprecated": false,
41221
- "deprecationReason": null
41222
- },
41223
41167
  {
41224
41168
  "name": "setExperimentOnCustomer",
41225
41169
  "description": null,
@@ -64646,49 +64590,6 @@
64646
64590
  "enumValues": null,
64647
64591
  "possibleTypes": null
64648
64592
  },
64649
- {
64650
- "kind": "INPUT_OBJECT",
64651
- "name": "RemoveCouponFromCustomerSubscriptionInput",
64652
- "description": null,
64653
- "fields": null,
64654
- "inputFields": [
64655
- {
64656
- "name": "id",
64657
- "description": "The id of the record.",
64658
- "type": {
64659
- "kind": "NON_NULL",
64660
- "name": null,
64661
- "ofType": {
64662
- "kind": "SCALAR",
64663
- "name": "String",
64664
- "ofType": null
64665
- }
64666
- },
64667
- "defaultValue": null,
64668
- "isDeprecated": false,
64669
- "deprecationReason": null
64670
- },
64671
- {
64672
- "name": "relationId",
64673
- "description": "The id of relation.",
64674
- "type": {
64675
- "kind": "NON_NULL",
64676
- "name": null,
64677
- "ofType": {
64678
- "kind": "SCALAR",
64679
- "name": "String",
64680
- "ofType": null
64681
- }
64682
- },
64683
- "defaultValue": null,
64684
- "isDeprecated": false,
64685
- "deprecationReason": null
64686
- }
64687
- ],
64688
- "interfaces": null,
64689
- "enumValues": null,
64690
- "possibleTypes": null
64691
- },
64692
64593
  {
64693
64594
  "kind": "INPUT_OBJECT",
64694
64595
  "name": "RemoveExperimentFromCustomerInput",
@@ -65490,49 +65391,6 @@
65490
65391
  "enumValues": null,
65491
65392
  "possibleTypes": null
65492
65393
  },
65493
- {
65494
- "kind": "INPUT_OBJECT",
65495
- "name": "SetCouponOnCustomerSubscriptionInput",
65496
- "description": null,
65497
- "fields": null,
65498
- "inputFields": [
65499
- {
65500
- "name": "id",
65501
- "description": "The id of the record.",
65502
- "type": {
65503
- "kind": "NON_NULL",
65504
- "name": null,
65505
- "ofType": {
65506
- "kind": "SCALAR",
65507
- "name": "String",
65508
- "ofType": null
65509
- }
65510
- },
65511
- "defaultValue": null,
65512
- "isDeprecated": false,
65513
- "deprecationReason": null
65514
- },
65515
- {
65516
- "name": "relationId",
65517
- "description": "The id of relation.",
65518
- "type": {
65519
- "kind": "NON_NULL",
65520
- "name": null,
65521
- "ofType": {
65522
- "kind": "SCALAR",
65523
- "name": "String",
65524
- "ofType": null
65525
- }
65526
- },
65527
- "defaultValue": null,
65528
- "isDeprecated": false,
65529
- "deprecationReason": null
65530
- }
65531
- ],
65532
- "interfaces": null,
65533
- "enumValues": null,
65534
- "possibleTypes": null
65535
- },
65536
65394
  {
65537
65395
  "kind": "INPUT_OBJECT",
65538
65396
  "name": "SetExperimentOnCustomerInput",
@@ -69215,6 +69073,26 @@
69215
69073
  "name": "SubscriptionCoupon",
69216
69074
  "description": null,
69217
69075
  "fields": [
69076
+ {
69077
+ "name": "amountsOff",
69078
+ "description": "Discount amounts off",
69079
+ "args": [],
69080
+ "type": {
69081
+ "kind": "LIST",
69082
+ "name": null,
69083
+ "ofType": {
69084
+ "kind": "NON_NULL",
69085
+ "name": null,
69086
+ "ofType": {
69087
+ "kind": "OBJECT",
69088
+ "name": "Money",
69089
+ "ofType": null
69090
+ }
69091
+ }
69092
+ },
69093
+ "isDeprecated": false,
69094
+ "deprecationReason": null
69095
+ },
69218
69096
  {
69219
69097
  "name": "discountValue",
69220
69098
  "description": null,
@@ -69228,8 +69106,8 @@
69228
69106
  "ofType": null
69229
69107
  }
69230
69108
  },
69231
- "isDeprecated": false,
69232
- "deprecationReason": null
69109
+ "isDeprecated": true,
69110
+ "deprecationReason": "Use percentOff or amountsOff fields instead"
69233
69111
  },
69234
69112
  {
69235
69113
  "name": "environmentId",
@@ -69279,6 +69157,18 @@
69279
69157
  "isDeprecated": false,
69280
69158
  "deprecationReason": null
69281
69159
  },
69160
+ {
69161
+ "name": "percentOff",
69162
+ "description": "Discount percent off",
69163
+ "args": [],
69164
+ "type": {
69165
+ "kind": "SCALAR",
69166
+ "name": "Float",
69167
+ "ofType": null
69168
+ },
69169
+ "isDeprecated": false,
69170
+ "deprecationReason": null
69171
+ },
69282
69172
  {
69283
69173
  "name": "refId",
69284
69174
  "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.201.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.201.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-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient