stigg-api-client 2.207.0 → 2.208.0
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/schema.json +215 -15
- data/lib/stigg/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc599dddefba5719f8395f96f0e52652000039dd0d5055da4e5b01bddfc468b7
|
4
|
+
data.tar.gz: 7075f805260e065574f9ba17215f787b9d060dc66986c0afa33985f134eba77f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46a80de893fa6fc4171f230f317ca1151a01664b20f828f21b3e1772fe006dfea334abb787297100dc6d19600d4240497060bc67a2a59d3797d0b876dffe7d29
|
7
|
+
data.tar.gz: 6881eb27495d2768612fad11e30616584b13066cc78e96f3db1451e85d24e21128985f5ba1e7cfb159145e8653092d469d619bcac144f36f599f97e984eb368d
|
data/Gemfile.lock
CHANGED
@@ -7117,7 +7117,7 @@
|
|
7117
7117
|
"fields": [
|
7118
7118
|
{
|
7119
7119
|
"name": "additionalMetaData",
|
7120
|
-
"description":
|
7120
|
+
"description": "Additional metadata associated with the coupon",
|
7121
7121
|
"args": [],
|
7122
7122
|
"type": {
|
7123
7123
|
"kind": "SCALAR",
|
@@ -7129,7 +7129,7 @@
|
|
7129
7129
|
},
|
7130
7130
|
{
|
7131
7131
|
"name": "amountsOff",
|
7132
|
-
"description": "
|
7132
|
+
"description": "Fixed amount discounts in different currencies",
|
7133
7133
|
"args": [],
|
7134
7134
|
"type": {
|
7135
7135
|
"kind": "LIST",
|
@@ -7149,7 +7149,7 @@
|
|
7149
7149
|
},
|
7150
7150
|
{
|
7151
7151
|
"name": "billingId",
|
7152
|
-
"description":
|
7152
|
+
"description": "ID of the coupon in the billing system",
|
7153
7153
|
"args": [],
|
7154
7154
|
"type": {
|
7155
7155
|
"kind": "SCALAR",
|
@@ -7161,7 +7161,7 @@
|
|
7161
7161
|
},
|
7162
7162
|
{
|
7163
7163
|
"name": "billingLinkUrl",
|
7164
|
-
"description":
|
7164
|
+
"description": "URL to the coupon in the billing system",
|
7165
7165
|
"args": [],
|
7166
7166
|
"type": {
|
7167
7167
|
"kind": "SCALAR",
|
@@ -7173,7 +7173,7 @@
|
|
7173
7173
|
},
|
7174
7174
|
{
|
7175
7175
|
"name": "createdAt",
|
7176
|
-
"description":
|
7176
|
+
"description": "Date when the coupon was created",
|
7177
7177
|
"args": [],
|
7178
7178
|
"type": {
|
7179
7179
|
"kind": "NON_NULL",
|
@@ -7242,7 +7242,7 @@
|
|
7242
7242
|
},
|
7243
7243
|
{
|
7244
7244
|
"name": "description",
|
7245
|
-
"description":
|
7245
|
+
"description": "Description of the coupon",
|
7246
7246
|
"args": [],
|
7247
7247
|
"type": {
|
7248
7248
|
"kind": "SCALAR",
|
@@ -7254,7 +7254,7 @@
|
|
7254
7254
|
},
|
7255
7255
|
{
|
7256
7256
|
"name": "discountValue",
|
7257
|
-
"description":
|
7257
|
+
"description": "Discount value of the coupon (deprecated)",
|
7258
7258
|
"args": [],
|
7259
7259
|
"type": {
|
7260
7260
|
"kind": "NON_NULL",
|
@@ -7268,6 +7268,18 @@
|
|
7268
7268
|
"isDeprecated": true,
|
7269
7269
|
"deprecationReason": "Use percentOff or amountsOff fields instead"
|
7270
7270
|
},
|
7271
|
+
{
|
7272
|
+
"name": "durationInMonths",
|
7273
|
+
"description": "Duration of the coupon validity in months",
|
7274
|
+
"args": [],
|
7275
|
+
"type": {
|
7276
|
+
"kind": "SCALAR",
|
7277
|
+
"name": "Float",
|
7278
|
+
"ofType": null
|
7279
|
+
},
|
7280
|
+
"isDeprecated": false,
|
7281
|
+
"deprecationReason": null
|
7282
|
+
},
|
7271
7283
|
{
|
7272
7284
|
"name": "environment",
|
7273
7285
|
"description": null,
|
@@ -7282,7 +7294,7 @@
|
|
7282
7294
|
},
|
7283
7295
|
{
|
7284
7296
|
"name": "environmentId",
|
7285
|
-
"description":
|
7297
|
+
"description": "ID of the environment the coupon belongs to",
|
7286
7298
|
"args": [],
|
7287
7299
|
"type": {
|
7288
7300
|
"kind": "NON_NULL",
|
@@ -7298,7 +7310,7 @@
|
|
7298
7310
|
},
|
7299
7311
|
{
|
7300
7312
|
"name": "id",
|
7301
|
-
"description":
|
7313
|
+
"description": "Unique identifier of the coupon",
|
7302
7314
|
"args": [],
|
7303
7315
|
"type": {
|
7304
7316
|
"kind": "NON_NULL",
|
@@ -7314,7 +7326,7 @@
|
|
7314
7326
|
},
|
7315
7327
|
{
|
7316
7328
|
"name": "name",
|
7317
|
-
"description":
|
7329
|
+
"description": "Name of the coupon",
|
7318
7330
|
"args": [],
|
7319
7331
|
"type": {
|
7320
7332
|
"kind": "NON_NULL",
|
@@ -7330,7 +7342,7 @@
|
|
7330
7342
|
},
|
7331
7343
|
{
|
7332
7344
|
"name": "percentOff",
|
7333
|
-
"description": "
|
7345
|
+
"description": "Percentage discount off the original price",
|
7334
7346
|
"args": [],
|
7335
7347
|
"type": {
|
7336
7348
|
"kind": "SCALAR",
|
@@ -7342,7 +7354,7 @@
|
|
7342
7354
|
},
|
7343
7355
|
{
|
7344
7356
|
"name": "refId",
|
7345
|
-
"description":
|
7357
|
+
"description": "Customer-given identifier of the coupon",
|
7346
7358
|
"args": [],
|
7347
7359
|
"type": {
|
7348
7360
|
"kind": "NON_NULL",
|
@@ -7358,7 +7370,7 @@
|
|
7358
7370
|
},
|
7359
7371
|
{
|
7360
7372
|
"name": "status",
|
7361
|
-
"description":
|
7373
|
+
"description": "Current status of the coupon",
|
7362
7374
|
"args": [],
|
7363
7375
|
"type": {
|
7364
7376
|
"kind": "NON_NULL",
|
@@ -7394,7 +7406,7 @@
|
|
7394
7406
|
},
|
7395
7407
|
{
|
7396
7408
|
"name": "type",
|
7397
|
-
"description":
|
7409
|
+
"description": "Type of the coupon (percentage or fixed amount)",
|
7398
7410
|
"args": [],
|
7399
7411
|
"type": {
|
7400
7412
|
"kind": "NON_NULL",
|
@@ -7410,7 +7422,7 @@
|
|
7410
7422
|
},
|
7411
7423
|
{
|
7412
7424
|
"name": "updatedAt",
|
7413
|
-
"description":
|
7425
|
+
"description": "Date when the coupon was last updated",
|
7414
7426
|
"args": [],
|
7415
7427
|
"type": {
|
7416
7428
|
"kind": "NON_NULL",
|
@@ -9117,6 +9129,18 @@
|
|
9117
9129
|
"isDeprecated": false,
|
9118
9130
|
"deprecationReason": null
|
9119
9131
|
},
|
9132
|
+
{
|
9133
|
+
"name": "durationInMonths",
|
9134
|
+
"description": "The duration in months for which the coupon remains active.",
|
9135
|
+
"type": {
|
9136
|
+
"kind": "SCALAR",
|
9137
|
+
"name": "Float",
|
9138
|
+
"ofType": null
|
9139
|
+
},
|
9140
|
+
"defaultValue": null,
|
9141
|
+
"isDeprecated": false,
|
9142
|
+
"deprecationReason": null
|
9143
|
+
},
|
9120
9144
|
{
|
9121
9145
|
"name": "environmentId",
|
9122
9146
|
"description": null,
|
@@ -69221,6 +69245,18 @@
|
|
69221
69245
|
"isDeprecated": true,
|
69222
69246
|
"deprecationReason": "Use percentOff or amountsOff fields instead"
|
69223
69247
|
},
|
69248
|
+
{
|
69249
|
+
"name": "durationInMonths",
|
69250
|
+
"description": "The duration of the coupon in months",
|
69251
|
+
"args": [],
|
69252
|
+
"type": {
|
69253
|
+
"kind": "SCALAR",
|
69254
|
+
"name": "Float",
|
69255
|
+
"ofType": null
|
69256
|
+
},
|
69257
|
+
"isDeprecated": false,
|
69258
|
+
"deprecationReason": null
|
69259
|
+
},
|
69224
69260
|
{
|
69225
69261
|
"name": "environmentId",
|
69226
69262
|
"description": null,
|
@@ -69237,6 +69273,18 @@
|
|
69237
69273
|
"isDeprecated": false,
|
69238
69274
|
"deprecationReason": null
|
69239
69275
|
},
|
69276
|
+
{
|
69277
|
+
"name": "expirationDate",
|
69278
|
+
"description": "The expiration date of this coupon",
|
69279
|
+
"args": [],
|
69280
|
+
"type": {
|
69281
|
+
"kind": "SCALAR",
|
69282
|
+
"name": "DateTime",
|
69283
|
+
"ofType": null
|
69284
|
+
},
|
69285
|
+
"isDeprecated": false,
|
69286
|
+
"deprecationReason": null
|
69287
|
+
},
|
69240
69288
|
{
|
69241
69289
|
"name": "id",
|
69242
69290
|
"description": null,
|
@@ -69297,6 +69345,34 @@
|
|
69297
69345
|
"isDeprecated": false,
|
69298
69346
|
"deprecationReason": null
|
69299
69347
|
},
|
69348
|
+
{
|
69349
|
+
"name": "startDate",
|
69350
|
+
"description": "The start date of this coupon",
|
69351
|
+
"args": [],
|
69352
|
+
"type": {
|
69353
|
+
"kind": "SCALAR",
|
69354
|
+
"name": "DateTime",
|
69355
|
+
"ofType": null
|
69356
|
+
},
|
69357
|
+
"isDeprecated": false,
|
69358
|
+
"deprecationReason": null
|
69359
|
+
},
|
69360
|
+
{
|
69361
|
+
"name": "status",
|
69362
|
+
"description": "The status of this coupon",
|
69363
|
+
"args": [],
|
69364
|
+
"type": {
|
69365
|
+
"kind": "NON_NULL",
|
69366
|
+
"name": null,
|
69367
|
+
"ofType": {
|
69368
|
+
"kind": "ENUM",
|
69369
|
+
"name": "SubscriptionCouponStatus",
|
69370
|
+
"ofType": null
|
69371
|
+
}
|
69372
|
+
},
|
69373
|
+
"isDeprecated": false,
|
69374
|
+
"deprecationReason": null
|
69375
|
+
},
|
69300
69376
|
{
|
69301
69377
|
"name": "type",
|
69302
69378
|
"description": null,
|
@@ -69342,6 +69418,89 @@
|
|
69342
69418
|
"enumValues": null,
|
69343
69419
|
"possibleTypes": null
|
69344
69420
|
},
|
69421
|
+
{
|
69422
|
+
"kind": "INPUT_OBJECT",
|
69423
|
+
"name": "SubscriptionCouponDiscountInput",
|
69424
|
+
"description": "Inline subscription coupon input",
|
69425
|
+
"fields": null,
|
69426
|
+
"inputFields": [
|
69427
|
+
{
|
69428
|
+
"name": "amountsOff",
|
69429
|
+
"description": "Discount flat fee amounts off",
|
69430
|
+
"type": {
|
69431
|
+
"kind": "LIST",
|
69432
|
+
"name": null,
|
69433
|
+
"ofType": {
|
69434
|
+
"kind": "NON_NULL",
|
69435
|
+
"name": null,
|
69436
|
+
"ofType": {
|
69437
|
+
"kind": "INPUT_OBJECT",
|
69438
|
+
"name": "MoneyInputDTO",
|
69439
|
+
"ofType": null
|
69440
|
+
}
|
69441
|
+
}
|
69442
|
+
},
|
69443
|
+
"defaultValue": null,
|
69444
|
+
"isDeprecated": false,
|
69445
|
+
"deprecationReason": null
|
69446
|
+
},
|
69447
|
+
{
|
69448
|
+
"name": "description",
|
69449
|
+
"description": "Description of the coupon that will be created",
|
69450
|
+
"type": {
|
69451
|
+
"kind": "SCALAR",
|
69452
|
+
"name": "String",
|
69453
|
+
"ofType": null
|
69454
|
+
},
|
69455
|
+
"defaultValue": null,
|
69456
|
+
"isDeprecated": false,
|
69457
|
+
"deprecationReason": null
|
69458
|
+
},
|
69459
|
+
{
|
69460
|
+
"name": "durationInMonths",
|
69461
|
+
"description": "The duration in months for which the coupon remains active.",
|
69462
|
+
"type": {
|
69463
|
+
"kind": "SCALAR",
|
69464
|
+
"name": "Float",
|
69465
|
+
"ofType": null
|
69466
|
+
},
|
69467
|
+
"defaultValue": null,
|
69468
|
+
"isDeprecated": false,
|
69469
|
+
"deprecationReason": null
|
69470
|
+
},
|
69471
|
+
{
|
69472
|
+
"name": "name",
|
69473
|
+
"description": "Name of the coupon that will be created",
|
69474
|
+
"type": {
|
69475
|
+
"kind": "NON_NULL",
|
69476
|
+
"name": null,
|
69477
|
+
"ofType": {
|
69478
|
+
"kind": "SCALAR",
|
69479
|
+
"name": "String",
|
69480
|
+
"ofType": null
|
69481
|
+
}
|
69482
|
+
},
|
69483
|
+
"defaultValue": null,
|
69484
|
+
"isDeprecated": false,
|
69485
|
+
"deprecationReason": null
|
69486
|
+
},
|
69487
|
+
{
|
69488
|
+
"name": "percentOff",
|
69489
|
+
"description": "Discount percent off",
|
69490
|
+
"type": {
|
69491
|
+
"kind": "SCALAR",
|
69492
|
+
"name": "Float",
|
69493
|
+
"ofType": null
|
69494
|
+
},
|
69495
|
+
"defaultValue": null,
|
69496
|
+
"isDeprecated": false,
|
69497
|
+
"deprecationReason": null
|
69498
|
+
}
|
69499
|
+
],
|
69500
|
+
"interfaces": null,
|
69501
|
+
"enumValues": null,
|
69502
|
+
"possibleTypes": null
|
69503
|
+
},
|
69345
69504
|
{
|
69346
69505
|
"kind": "INPUT_OBJECT",
|
69347
69506
|
"name": "SubscriptionCouponInput",
|
@@ -69384,6 +69543,18 @@
|
|
69384
69543
|
"isDeprecated": false,
|
69385
69544
|
"deprecationReason": null
|
69386
69545
|
},
|
69546
|
+
{
|
69547
|
+
"name": "discount",
|
69548
|
+
"description": "An inline discount",
|
69549
|
+
"type": {
|
69550
|
+
"kind": "INPUT_OBJECT",
|
69551
|
+
"name": "SubscriptionCouponDiscountInput",
|
69552
|
+
"ofType": null
|
69553
|
+
},
|
69554
|
+
"defaultValue": null,
|
69555
|
+
"isDeprecated": false,
|
69556
|
+
"deprecationReason": null
|
69557
|
+
},
|
69387
69558
|
{
|
69388
69559
|
"name": "promotionCode",
|
69389
69560
|
"description": "Promotion code",
|
@@ -69401,6 +69572,35 @@
|
|
69401
69572
|
"enumValues": null,
|
69402
69573
|
"possibleTypes": null
|
69403
69574
|
},
|
69575
|
+
{
|
69576
|
+
"kind": "ENUM",
|
69577
|
+
"name": "SubscriptionCouponStatus",
|
69578
|
+
"description": "Status of a subscription coupon",
|
69579
|
+
"fields": null,
|
69580
|
+
"inputFields": null,
|
69581
|
+
"interfaces": null,
|
69582
|
+
"enumValues": [
|
69583
|
+
{
|
69584
|
+
"name": "ACTIVE",
|
69585
|
+
"description": null,
|
69586
|
+
"isDeprecated": false,
|
69587
|
+
"deprecationReason": null
|
69588
|
+
},
|
69589
|
+
{
|
69590
|
+
"name": "EXPIRED",
|
69591
|
+
"description": null,
|
69592
|
+
"isDeprecated": false,
|
69593
|
+
"deprecationReason": null
|
69594
|
+
},
|
69595
|
+
{
|
69596
|
+
"name": "REMOVED",
|
69597
|
+
"description": null,
|
69598
|
+
"isDeprecated": false,
|
69599
|
+
"deprecationReason": null
|
69600
|
+
}
|
69601
|
+
],
|
69602
|
+
"possibleTypes": null
|
69603
|
+
},
|
69404
69604
|
{
|
69405
69605
|
"kind": "ENUM",
|
69406
69606
|
"name": "SubscriptionDecisionStrategy",
|
data/lib/stigg/version.rb
CHANGED