stigg-api-client 2.194.7 → 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: 102f40e734ccfa5722742ba9537fd6ecb94a38d2d8ea0fe4c3085ade6f79ada4
4
- data.tar.gz: cd83772a3c83f352b4662fed0a19557164c5a14c4971141ffa1dc9c2f6068568
3
+ metadata.gz: c3709560ddf1507077f9652e2b32edee1146e27ff373868f0fee2df79befb8c3
4
+ data.tar.gz: d7884984d7a64f5dfc0701a48555685b4a1f5b90eb2668bd0e2a4ae2e0fdbe71
5
5
  SHA512:
6
- metadata.gz: 955197967669491e32c2249dcd0fc28e9727c86cc6fa945482d6af51ba5099e3bffab29b2dce07d8590f78c08c621ced5942122d3a6cdcd39ac238e2c8f7159e
7
- data.tar.gz: 84af2b8f61199834de29b209e33afa238ee1fe210bb16d6bd97712284e52884c3f02ef30c1d8fa6485e3d6821d2784c25f8d28cd687eaa8a9b2883db8a967f1e
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.194.7)
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,
@@ -20458,6 +20514,57 @@
20458
20514
  "enumValues": null,
20459
20515
  "possibleTypes": null
20460
20516
  },
20517
+ {
20518
+ "kind": "INPUT_OBJECT",
20519
+ "name": "DelegateSubscriptionToCustomerInput",
20520
+ "description": "The input for delegating a subscription to a customer",
20521
+ "fields": null,
20522
+ "inputFields": [
20523
+ {
20524
+ "name": "destinationCustomerId",
20525
+ "description": "The customer ID which will manage the subscription (the paying customer of the subscription will not change)",
20526
+ "type": {
20527
+ "kind": "SCALAR",
20528
+ "name": "String",
20529
+ "ofType": null
20530
+ },
20531
+ "defaultValue": null,
20532
+ "isDeprecated": false,
20533
+ "deprecationReason": null
20534
+ },
20535
+ {
20536
+ "name": "environmentId",
20537
+ "description": "The environment ID of the subscription to delegate",
20538
+ "type": {
20539
+ "kind": "SCALAR",
20540
+ "name": "String",
20541
+ "ofType": null
20542
+ },
20543
+ "defaultValue": null,
20544
+ "isDeprecated": false,
20545
+ "deprecationReason": null
20546
+ },
20547
+ {
20548
+ "name": "subscriptionId",
20549
+ "description": "The ID of the subscription to delegate",
20550
+ "type": {
20551
+ "kind": "NON_NULL",
20552
+ "name": null,
20553
+ "ofType": {
20554
+ "kind": "SCALAR",
20555
+ "name": "String",
20556
+ "ofType": null
20557
+ }
20558
+ },
20559
+ "defaultValue": null,
20560
+ "isDeprecated": false,
20561
+ "deprecationReason": null
20562
+ }
20563
+ ],
20564
+ "interfaces": null,
20565
+ "enumValues": null,
20566
+ "possibleTypes": null
20567
+ },
20461
20568
  {
20462
20569
  "kind": "INPUT_OBJECT",
20463
20570
  "name": "DeleteFeatureInput",
@@ -39314,6 +39421,39 @@
39314
39421
  "isDeprecated": true,
39315
39422
  "deprecationReason": "Deprecated query, use 'reportUsage' instead"
39316
39423
  },
39424
+ {
39425
+ "name": "delegateSubscriptionToCustomer",
39426
+ "description": "Delegates a subscription to a different customer (the paying customer of the subscription will not change)",
39427
+ "args": [
39428
+ {
39429
+ "name": "input",
39430
+ "description": null,
39431
+ "type": {
39432
+ "kind": "NON_NULL",
39433
+ "name": null,
39434
+ "ofType": {
39435
+ "kind": "INPUT_OBJECT",
39436
+ "name": "DelegateSubscriptionToCustomerInput",
39437
+ "ofType": null
39438
+ }
39439
+ },
39440
+ "defaultValue": null,
39441
+ "isDeprecated": false,
39442
+ "deprecationReason": null
39443
+ }
39444
+ ],
39445
+ "type": {
39446
+ "kind": "NON_NULL",
39447
+ "name": null,
39448
+ "ofType": {
39449
+ "kind": "OBJECT",
39450
+ "name": "CustomerSubscription",
39451
+ "ofType": null
39452
+ }
39453
+ },
39454
+ "isDeprecated": false,
39455
+ "deprecationReason": null
39456
+ },
39317
39457
  {
39318
39458
  "name": "deleteFeature",
39319
39459
  "description": null,
@@ -41451,6 +41591,39 @@
41451
41591
  "ofType": null
41452
41592
  }
41453
41593
  },
41594
+ "isDeprecated": true,
41595
+ "deprecationReason": "Deprecated mutation, use 'transferSubscriptionToResource' instead"
41596
+ },
41597
+ {
41598
+ "name": "transferSubscriptionToResource",
41599
+ "description": "Transfers a subscription to a different resource",
41600
+ "args": [
41601
+ {
41602
+ "name": "input",
41603
+ "description": null,
41604
+ "type": {
41605
+ "kind": "NON_NULL",
41606
+ "name": null,
41607
+ "ofType": {
41608
+ "kind": "INPUT_OBJECT",
41609
+ "name": "TransferSubscriptionToResourceInput",
41610
+ "ofType": null
41611
+ }
41612
+ },
41613
+ "defaultValue": null,
41614
+ "isDeprecated": false,
41615
+ "deprecationReason": null
41616
+ }
41617
+ ],
41618
+ "type": {
41619
+ "kind": "NON_NULL",
41620
+ "name": null,
41621
+ "ofType": {
41622
+ "kind": "OBJECT",
41623
+ "name": "CustomerSubscription",
41624
+ "ofType": null
41625
+ }
41626
+ },
41454
41627
  "isDeprecated": false,
41455
41628
  "deprecationReason": null
41456
41629
  },
@@ -69098,6 +69271,26 @@
69098
69271
  "name": "SubscriptionCoupon",
69099
69272
  "description": null,
69100
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
+ },
69101
69294
  {
69102
69295
  "name": "discountValue",
69103
69296
  "description": null,
@@ -69111,8 +69304,8 @@
69111
69304
  "ofType": null
69112
69305
  }
69113
69306
  },
69114
- "isDeprecated": false,
69115
- "deprecationReason": null
69307
+ "isDeprecated": true,
69308
+ "deprecationReason": "Use percentOff or amountsOff fields instead"
69116
69309
  },
69117
69310
  {
69118
69311
  "name": "environmentId",
@@ -69162,6 +69355,18 @@
69162
69355
  "isDeprecated": false,
69163
69356
  "deprecationReason": null
69164
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
+ },
69165
69370
  {
69166
69371
  "name": "refId",
69167
69372
  "description": null,
@@ -77378,6 +77583,57 @@
77378
77583
  "enumValues": null,
77379
77584
  "possibleTypes": null
77380
77585
  },
77586
+ {
77587
+ "kind": "INPUT_OBJECT",
77588
+ "name": "TransferSubscriptionToResourceInput",
77589
+ "description": "The input for transferring a subscription to a resource",
77590
+ "fields": null,
77591
+ "inputFields": [
77592
+ {
77593
+ "name": "destinationResourceId",
77594
+ "description": "The resource ID to transfer the subscription to",
77595
+ "type": {
77596
+ "kind": "SCALAR",
77597
+ "name": "String",
77598
+ "ofType": null
77599
+ },
77600
+ "defaultValue": null,
77601
+ "isDeprecated": false,
77602
+ "deprecationReason": null
77603
+ },
77604
+ {
77605
+ "name": "environmentId",
77606
+ "description": "The environment ID of the subscription to transfer",
77607
+ "type": {
77608
+ "kind": "SCALAR",
77609
+ "name": "String",
77610
+ "ofType": null
77611
+ },
77612
+ "defaultValue": null,
77613
+ "isDeprecated": false,
77614
+ "deprecationReason": null
77615
+ },
77616
+ {
77617
+ "name": "subscriptionId",
77618
+ "description": "The ID of the subscription to transfer",
77619
+ "type": {
77620
+ "kind": "NON_NULL",
77621
+ "name": null,
77622
+ "ofType": {
77623
+ "kind": "SCALAR",
77624
+ "name": "String",
77625
+ "ofType": null
77626
+ }
77627
+ },
77628
+ "defaultValue": null,
77629
+ "isDeprecated": false,
77630
+ "deprecationReason": null
77631
+ }
77632
+ ],
77633
+ "interfaces": null,
77634
+ "enumValues": null,
77635
+ "possibleTypes": null
77636
+ },
77381
77637
  {
77382
77638
  "kind": "OBJECT",
77383
77639
  "name": "TrialConfiguration",
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.194.7"
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.194.7
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-17 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