stigg-api-client 2.196.0 → 2.198.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/stigg/generated/operations.rb +33 -0
- data/lib/stigg/generated/schema.json +106 -18
- data/lib/stigg/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13cd94a1153d845a0a8928f65e90d55fef09155be1184c6971e388efb5953aaf
|
4
|
+
data.tar.gz: 90167d3fa453425ca09e5acb45509d41c5b61528fe3b129f790b9d4fe1661060
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7afa0fa67ec3397c6bac6b732a437c97a939e0053de4792c5f46e8eb0a1e949e29ade117369e11e77ee784e14d6e0244fb944c0ce91cc867acae9811ed4dc0b
|
7
|
+
data.tar.gz: a95bd1d0650d3c8adfc728d59f26abd40e14ed75906a63756724dbb7d2bd1e5ce089766250ec49dda4b72ef6f8d039aeefae6fed7120c3a21b1688eee1db226a
|
data/Gemfile.lock
CHANGED
@@ -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
|
@@ -1845,6 +1850,34 @@ module Stigg
|
|
1845
1850
|
#{Fragment::PriceTierFragment}
|
1846
1851
|
#{Fragment::TotalPriceFragment}
|
1847
1852
|
GRAPHQL
|
1853
|
+
|
1854
|
+
DelegateSubscriptionToCustomer = <<~GRAPHQL
|
1855
|
+
mutation DelegateSubscriptionToCustomer($input: DelegateSubscriptionToCustomerInput!) {
|
1856
|
+
delegateSubscriptionToCustomer(input: $input) {
|
1857
|
+
...SlimSubscriptionFragment
|
1858
|
+
}
|
1859
|
+
}
|
1860
|
+
#{Fragment::SlimSubscriptionFragment}
|
1861
|
+
#{Fragment::SubscriptionInvoiceFragment}
|
1862
|
+
#{Fragment::CustomerResourceFragment}
|
1863
|
+
#{Fragment::PriceFragment}
|
1864
|
+
#{Fragment::PriceTierFragment}
|
1865
|
+
#{Fragment::TotalPriceFragment}
|
1866
|
+
GRAPHQL
|
1867
|
+
|
1868
|
+
TransferSubscriptionToResource = <<~GRAPHQL
|
1869
|
+
mutation TransferSubscriptionToResource($input: TransferSubscriptionToResourceInput!) {
|
1870
|
+
transferSubscriptionToResource(input: $input) {
|
1871
|
+
...SlimSubscriptionFragment
|
1872
|
+
}
|
1873
|
+
}
|
1874
|
+
#{Fragment::SlimSubscriptionFragment}
|
1875
|
+
#{Fragment::SubscriptionInvoiceFragment}
|
1876
|
+
#{Fragment::CustomerResourceFragment}
|
1877
|
+
#{Fragment::PriceFragment}
|
1878
|
+
#{Fragment::PriceTierFragment}
|
1879
|
+
#{Fragment::TotalPriceFragment}
|
1880
|
+
GRAPHQL
|
1848
1881
|
end
|
1849
1882
|
|
1850
1883
|
module Query
|
@@ -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":
|
7249
|
-
"deprecationReason":
|
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": "
|
9080
|
-
"name":
|
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": "
|
9140
|
-
"name":
|
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":
|
69232
|
-
"deprecationReason":
|
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
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.
|
4
|
+
version: 2.198.1
|
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-
|
11
|
+
date: 2024-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphlient
|