stigg-api-client 0.550.0 → 0.550.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c93241337f0d55c56b2ae991902060572b6211ce5e30dae8fca0218cb49dba05
4
- data.tar.gz: 79c5d5b160e304d8ce5b2e314a0690441e01fbd405087d9ff886b667ff89d6a1
3
+ metadata.gz: 85327b38b83d16dae8ce18471c7a912ccdf91a542e90f1e725c36234a37c1bc8
4
+ data.tar.gz: 4a48c7b21dc5b99b7e414d6180f18120f05bde6ae668a5ff90a9ae307d49e839
5
5
  SHA512:
6
- metadata.gz: c4acec12b6af94b4e14ff96455e8e5255d0bd7a014d063be89842340e1ebe61d1dee69296fc510d37d506c4b111e3bf7876d2d9301d40630e1c53f941b8e2955
7
- data.tar.gz: f5c3d2d2741933b97a58fe16f01ea93fc452ce0f6693cf2afb3960bd3fb8a8dd5c21d457794b017b2642d2a34a321a747d76618727afe3fa593a512bc2f2bc5d
6
+ metadata.gz: d9df2b461152d6f73c2a77b167853b27d560ece4338c195ec0dd13508c8aaaa8eec6ad06562b0b73345fb807ab816bcef8918f2b6ea6898e340187e51c71ace2
7
+ data.tar.gz: a86629411fd49f98245e267a3ae9cf14c519089e5baeec63ba73c0eeb77fd68cfe26e4719501d4f8cb330b13a73e40e0fe880ae28ae8218a74f893e6c9f0cfbb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (0.550.0)
4
+ stigg-api-client (0.550.2)
5
5
  graphlient (~> 0.7.0)
6
6
 
7
7
  GEM
@@ -1167,6 +1167,25 @@ module Stigg
1167
1167
  #{Fragment::SlimCustomerFragment}
1168
1168
  GRAPHQL
1169
1169
 
1170
+ SetPromotionalEntitlements = <<~GRAPHQL
1171
+ mutation ($input: SetPromotionalEntitlementsInput!) {
1172
+ setPromotionalEntitlements(input: $input) {
1173
+ ...PromotionalEntitlementFragment
1174
+ }
1175
+ }
1176
+ #{Fragment::PromotionalEntitlementFragment}
1177
+ GRAPHQL
1178
+
1179
+ RevokePromotionalEntitlement = <<~GRAPHQL
1180
+ mutation (
1181
+ $input: RevokePromotionalEntitlementInput!
1182
+ ) {
1183
+ revokePromotionalEntitlement(input: $input) {
1184
+ id
1185
+ }
1186
+ }
1187
+ GRAPHQL
1188
+
1170
1189
  ProvisionSubscription = <<~GRAPHQL
1171
1190
  mutation ($input: ProvisionSubscriptionInput!) {
1172
1191
  provisionSubscription: provisionSubscriptionV2(input: $input) {
@@ -20659,6 +20659,12 @@
20659
20659
  "isDeprecated": false,
20660
20660
  "deprecationReason": null
20661
20661
  },
20662
+ {
20663
+ "name": "PromotionalEntitlementNotFoundError",
20664
+ "description": null,
20665
+ "isDeprecated": false,
20666
+ "deprecationReason": null
20667
+ },
20662
20668
  {
20663
20669
  "name": "RateLimitExceeded",
20664
20670
  "description": null,
@@ -33770,6 +33776,39 @@
33770
33776
  "isDeprecated": false,
33771
33777
  "deprecationReason": null
33772
33778
  },
33779
+ {
33780
+ "name": "revokePromotionalEntitlement",
33781
+ "description": null,
33782
+ "args": [
33783
+ {
33784
+ "name": "input",
33785
+ "description": null,
33786
+ "type": {
33787
+ "kind": "NON_NULL",
33788
+ "name": null,
33789
+ "ofType": {
33790
+ "kind": "INPUT_OBJECT",
33791
+ "name": "RevokePromotionalEntitlementInput",
33792
+ "ofType": null
33793
+ }
33794
+ },
33795
+ "defaultValue": null,
33796
+ "isDeprecated": false,
33797
+ "deprecationReason": null
33798
+ }
33799
+ ],
33800
+ "type": {
33801
+ "kind": "NON_NULL",
33802
+ "name": null,
33803
+ "ofType": {
33804
+ "kind": "OBJECT",
33805
+ "name": "PromotionalEntitlement",
33806
+ "ofType": null
33807
+ }
33808
+ },
33809
+ "isDeprecated": false,
33810
+ "deprecationReason": null
33811
+ },
33773
33812
  {
33774
33813
  "name": "setBasePlanOnPlan",
33775
33814
  "description": null,
@@ -34001,6 +34040,47 @@
34001
34040
  "isDeprecated": false,
34002
34041
  "deprecationReason": null
34003
34042
  },
34043
+ {
34044
+ "name": "setPromotionalEntitlements",
34045
+ "description": null,
34046
+ "args": [
34047
+ {
34048
+ "name": "input",
34049
+ "description": null,
34050
+ "type": {
34051
+ "kind": "NON_NULL",
34052
+ "name": null,
34053
+ "ofType": {
34054
+ "kind": "INPUT_OBJECT",
34055
+ "name": "SetPromotionalEntitlementsInput",
34056
+ "ofType": null
34057
+ }
34058
+ },
34059
+ "defaultValue": null,
34060
+ "isDeprecated": false,
34061
+ "deprecationReason": null
34062
+ }
34063
+ ],
34064
+ "type": {
34065
+ "kind": "NON_NULL",
34066
+ "name": null,
34067
+ "ofType": {
34068
+ "kind": "LIST",
34069
+ "name": null,
34070
+ "ofType": {
34071
+ "kind": "NON_NULL",
34072
+ "name": null,
34073
+ "ofType": {
34074
+ "kind": "OBJECT",
34075
+ "name": "PromotionalEntitlement",
34076
+ "ofType": null
34077
+ }
34078
+ }
34079
+ }
34080
+ },
34081
+ "isDeprecated": false,
34082
+ "deprecationReason": null
34083
+ },
34004
34084
  {
34005
34085
  "name": "setWidgetConfiguration",
34006
34086
  "description": null,
@@ -51991,6 +52071,61 @@
51991
52071
  "enumValues": null,
51992
52072
  "possibleTypes": null
51993
52073
  },
52074
+ {
52075
+ "kind": "INPUT_OBJECT",
52076
+ "name": "RevokePromotionalEntitlementInput",
52077
+ "description": null,
52078
+ "fields": null,
52079
+ "inputFields": [
52080
+ {
52081
+ "name": "customerId",
52082
+ "description": null,
52083
+ "type": {
52084
+ "kind": "NON_NULL",
52085
+ "name": null,
52086
+ "ofType": {
52087
+ "kind": "SCALAR",
52088
+ "name": "String",
52089
+ "ofType": null
52090
+ }
52091
+ },
52092
+ "defaultValue": null,
52093
+ "isDeprecated": false,
52094
+ "deprecationReason": null
52095
+ },
52096
+ {
52097
+ "name": "environmentId",
52098
+ "description": null,
52099
+ "type": {
52100
+ "kind": "SCALAR",
52101
+ "name": "String",
52102
+ "ofType": null
52103
+ },
52104
+ "defaultValue": null,
52105
+ "isDeprecated": false,
52106
+ "deprecationReason": null
52107
+ },
52108
+ {
52109
+ "name": "featureId",
52110
+ "description": null,
52111
+ "type": {
52112
+ "kind": "NON_NULL",
52113
+ "name": null,
52114
+ "ofType": {
52115
+ "kind": "SCALAR",
52116
+ "name": "String",
52117
+ "ofType": null
52118
+ }
52119
+ },
52120
+ "defaultValue": null,
52121
+ "isDeprecated": false,
52122
+ "deprecationReason": null
52123
+ }
52124
+ ],
52125
+ "interfaces": null,
52126
+ "enumValues": null,
52127
+ "possibleTypes": null
52128
+ },
51994
52129
  {
51995
52130
  "kind": "UNION",
51996
52131
  "name": "ScheduleVariables",
@@ -52323,6 +52458,196 @@
52323
52458
  "enumValues": null,
52324
52459
  "possibleTypes": null
52325
52460
  },
52461
+ {
52462
+ "kind": "INPUT_OBJECT",
52463
+ "name": "SetPromotionalEntitlementInput",
52464
+ "description": null,
52465
+ "fields": null,
52466
+ "inputFields": [
52467
+ {
52468
+ "name": "customEndDate",
52469
+ "description": null,
52470
+ "type": {
52471
+ "kind": "SCALAR",
52472
+ "name": "DateTime",
52473
+ "ofType": null
52474
+ },
52475
+ "defaultValue": null,
52476
+ "isDeprecated": false,
52477
+ "deprecationReason": null
52478
+ },
52479
+ {
52480
+ "name": "featureId",
52481
+ "description": null,
52482
+ "type": {
52483
+ "kind": "NON_NULL",
52484
+ "name": null,
52485
+ "ofType": {
52486
+ "kind": "SCALAR",
52487
+ "name": "String",
52488
+ "ofType": null
52489
+ }
52490
+ },
52491
+ "defaultValue": null,
52492
+ "isDeprecated": false,
52493
+ "deprecationReason": null
52494
+ },
52495
+ {
52496
+ "name": "hasUnlimitedUsage",
52497
+ "description": null,
52498
+ "type": {
52499
+ "kind": "SCALAR",
52500
+ "name": "Boolean",
52501
+ "ofType": null
52502
+ },
52503
+ "defaultValue": null,
52504
+ "isDeprecated": false,
52505
+ "deprecationReason": null
52506
+ },
52507
+ {
52508
+ "name": "isVisible",
52509
+ "description": null,
52510
+ "type": {
52511
+ "kind": "SCALAR",
52512
+ "name": "Boolean",
52513
+ "ofType": null
52514
+ },
52515
+ "defaultValue": null,
52516
+ "isDeprecated": false,
52517
+ "deprecationReason": null
52518
+ },
52519
+ {
52520
+ "name": "monthlyResetPeriodConfiguration",
52521
+ "description": null,
52522
+ "type": {
52523
+ "kind": "INPUT_OBJECT",
52524
+ "name": "MonthlyResetPeriodConfigInput",
52525
+ "ofType": null
52526
+ },
52527
+ "defaultValue": null,
52528
+ "isDeprecated": false,
52529
+ "deprecationReason": null
52530
+ },
52531
+ {
52532
+ "name": "period",
52533
+ "description": null,
52534
+ "type": {
52535
+ "kind": "NON_NULL",
52536
+ "name": null,
52537
+ "ofType": {
52538
+ "kind": "ENUM",
52539
+ "name": "PromotionalEntitlementPeriod",
52540
+ "ofType": null
52541
+ }
52542
+ },
52543
+ "defaultValue": null,
52544
+ "isDeprecated": false,
52545
+ "deprecationReason": null
52546
+ },
52547
+ {
52548
+ "name": "resetPeriod",
52549
+ "description": null,
52550
+ "type": {
52551
+ "kind": "ENUM",
52552
+ "name": "EntitlementResetPeriod",
52553
+ "ofType": null
52554
+ },
52555
+ "defaultValue": null,
52556
+ "isDeprecated": false,
52557
+ "deprecationReason": null
52558
+ },
52559
+ {
52560
+ "name": "usageLimit",
52561
+ "description": null,
52562
+ "type": {
52563
+ "kind": "SCALAR",
52564
+ "name": "Float",
52565
+ "ofType": null
52566
+ },
52567
+ "defaultValue": null,
52568
+ "isDeprecated": false,
52569
+ "deprecationReason": null
52570
+ },
52571
+ {
52572
+ "name": "weeklyResetPeriodConfiguration",
52573
+ "description": null,
52574
+ "type": {
52575
+ "kind": "INPUT_OBJECT",
52576
+ "name": "WeeklyResetPeriodConfigInput",
52577
+ "ofType": null
52578
+ },
52579
+ "defaultValue": null,
52580
+ "isDeprecated": false,
52581
+ "deprecationReason": null
52582
+ }
52583
+ ],
52584
+ "interfaces": null,
52585
+ "enumValues": null,
52586
+ "possibleTypes": null
52587
+ },
52588
+ {
52589
+ "kind": "INPUT_OBJECT",
52590
+ "name": "SetPromotionalEntitlementsInput",
52591
+ "description": null,
52592
+ "fields": null,
52593
+ "inputFields": [
52594
+ {
52595
+ "name": "customerId",
52596
+ "description": null,
52597
+ "type": {
52598
+ "kind": "NON_NULL",
52599
+ "name": null,
52600
+ "ofType": {
52601
+ "kind": "SCALAR",
52602
+ "name": "String",
52603
+ "ofType": null
52604
+ }
52605
+ },
52606
+ "defaultValue": null,
52607
+ "isDeprecated": false,
52608
+ "deprecationReason": null
52609
+ },
52610
+ {
52611
+ "name": "environmentId",
52612
+ "description": null,
52613
+ "type": {
52614
+ "kind": "SCALAR",
52615
+ "name": "String",
52616
+ "ofType": null
52617
+ },
52618
+ "defaultValue": null,
52619
+ "isDeprecated": false,
52620
+ "deprecationReason": null
52621
+ },
52622
+ {
52623
+ "name": "promotionalEntitlements",
52624
+ "description": null,
52625
+ "type": {
52626
+ "kind": "NON_NULL",
52627
+ "name": null,
52628
+ "ofType": {
52629
+ "kind": "LIST",
52630
+ "name": null,
52631
+ "ofType": {
52632
+ "kind": "NON_NULL",
52633
+ "name": null,
52634
+ "ofType": {
52635
+ "kind": "INPUT_OBJECT",
52636
+ "name": "SetPromotionalEntitlementInput",
52637
+ "ofType": null
52638
+ }
52639
+ }
52640
+ }
52641
+ },
52642
+ "defaultValue": null,
52643
+ "isDeprecated": false,
52644
+ "deprecationReason": null
52645
+ }
52646
+ ],
52647
+ "interfaces": null,
52648
+ "enumValues": null,
52649
+ "possibleTypes": null
52650
+ },
52326
52651
  {
52327
52652
  "kind": "ENUM",
52328
52653
  "name": "SortDirection",
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "0.550.0"
4
+ VERSION = "0.550.2"
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: 0.550.0
4
+ version: 0.550.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-22 00:00:00.000000000 Z
11
+ date: 2023-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient