stigg-api-client 0.550.0 → 0.551.1

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: 76a4ec6a12ccedca74a6889b5a097b13773eaaee4d3dff3584e82d2bdb1cf32a
4
+ data.tar.gz: 030ef6e08d1263f4cc2e0240d3dc93e1daebc8c6cdbfd0f657513feb0a5a50b7
5
5
  SHA512:
6
- metadata.gz: c4acec12b6af94b4e14ff96455e8e5255d0bd7a014d063be89842340e1ebe61d1dee69296fc510d37d506c4b111e3bf7876d2d9301d40630e1c53f941b8e2955
7
- data.tar.gz: f5c3d2d2741933b97a58fe16f01ea93fc452ce0f6693cf2afb3960bd3fb8a8dd5c21d457794b017b2642d2a34a321a747d76618727afe3fa593a512bc2f2bc5d
6
+ metadata.gz: 4e60a9129082a95437f4fda57dfea860ed12bab4db97e8cdaaedf514db7dd7dc7306c2a4c868dd1f8252faa87e349865f472f14e0f3fc9a1a75a592476506c0c
7
+ data.tar.gz: df2d2511cac3a98b78a5ad78fac2773a570e5fc3b002b9d7ddfa2f7ffcfe6d4857f44370bd1d32cca77ae682f797850808930ff413da6ee711ae8acc944a4ba9
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.551.1)
5
5
  graphlient (~> 0.7.0)
6
6
 
7
7
  GEM
@@ -1167,6 +1167,27 @@ module Stigg
1167
1167
  #{Fragment::SlimCustomerFragment}
1168
1168
  GRAPHQL
1169
1169
 
1170
+ GrantPromotionalEntitlements = <<~GRAPHQL
1171
+ mutation (
1172
+ $input: GrantPromotionalEntitlementsInput!
1173
+ ) {
1174
+ grantPromotionalEntitlements(input: $input) {
1175
+ ...PromotionalEntitlementFragment
1176
+ }
1177
+ }
1178
+ #{Fragment::PromotionalEntitlementFragment}
1179
+ GRAPHQL
1180
+
1181
+ RevokePromotionalEntitlement = <<~GRAPHQL
1182
+ mutation (
1183
+ $input: RevokePromotionalEntitlementInput!
1184
+ ) {
1185
+ revokePromotionalEntitlement(input: $input) {
1186
+ id
1187
+ }
1188
+ }
1189
+ GRAPHQL
1190
+
1170
1191
  ProvisionSubscription = <<~GRAPHQL
1171
1192
  mutation ($input: ProvisionSubscriptionInput!) {
1172
1193
  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,
@@ -25821,6 +25827,196 @@
25821
25827
  "enumValues": null,
25822
25828
  "possibleTypes": null
25823
25829
  },
25830
+ {
25831
+ "kind": "INPUT_OBJECT",
25832
+ "name": "GrantPromotionalEntitlementInput",
25833
+ "description": null,
25834
+ "fields": null,
25835
+ "inputFields": [
25836
+ {
25837
+ "name": "customEndDate",
25838
+ "description": null,
25839
+ "type": {
25840
+ "kind": "SCALAR",
25841
+ "name": "DateTime",
25842
+ "ofType": null
25843
+ },
25844
+ "defaultValue": null,
25845
+ "isDeprecated": false,
25846
+ "deprecationReason": null
25847
+ },
25848
+ {
25849
+ "name": "featureId",
25850
+ "description": null,
25851
+ "type": {
25852
+ "kind": "NON_NULL",
25853
+ "name": null,
25854
+ "ofType": {
25855
+ "kind": "SCALAR",
25856
+ "name": "String",
25857
+ "ofType": null
25858
+ }
25859
+ },
25860
+ "defaultValue": null,
25861
+ "isDeprecated": false,
25862
+ "deprecationReason": null
25863
+ },
25864
+ {
25865
+ "name": "hasUnlimitedUsage",
25866
+ "description": null,
25867
+ "type": {
25868
+ "kind": "SCALAR",
25869
+ "name": "Boolean",
25870
+ "ofType": null
25871
+ },
25872
+ "defaultValue": null,
25873
+ "isDeprecated": false,
25874
+ "deprecationReason": null
25875
+ },
25876
+ {
25877
+ "name": "isVisible",
25878
+ "description": null,
25879
+ "type": {
25880
+ "kind": "SCALAR",
25881
+ "name": "Boolean",
25882
+ "ofType": null
25883
+ },
25884
+ "defaultValue": null,
25885
+ "isDeprecated": false,
25886
+ "deprecationReason": null
25887
+ },
25888
+ {
25889
+ "name": "monthlyResetPeriodConfiguration",
25890
+ "description": null,
25891
+ "type": {
25892
+ "kind": "INPUT_OBJECT",
25893
+ "name": "MonthlyResetPeriodConfigInput",
25894
+ "ofType": null
25895
+ },
25896
+ "defaultValue": null,
25897
+ "isDeprecated": false,
25898
+ "deprecationReason": null
25899
+ },
25900
+ {
25901
+ "name": "period",
25902
+ "description": null,
25903
+ "type": {
25904
+ "kind": "NON_NULL",
25905
+ "name": null,
25906
+ "ofType": {
25907
+ "kind": "ENUM",
25908
+ "name": "PromotionalEntitlementPeriod",
25909
+ "ofType": null
25910
+ }
25911
+ },
25912
+ "defaultValue": null,
25913
+ "isDeprecated": false,
25914
+ "deprecationReason": null
25915
+ },
25916
+ {
25917
+ "name": "resetPeriod",
25918
+ "description": null,
25919
+ "type": {
25920
+ "kind": "ENUM",
25921
+ "name": "EntitlementResetPeriod",
25922
+ "ofType": null
25923
+ },
25924
+ "defaultValue": null,
25925
+ "isDeprecated": false,
25926
+ "deprecationReason": null
25927
+ },
25928
+ {
25929
+ "name": "usageLimit",
25930
+ "description": null,
25931
+ "type": {
25932
+ "kind": "SCALAR",
25933
+ "name": "Float",
25934
+ "ofType": null
25935
+ },
25936
+ "defaultValue": null,
25937
+ "isDeprecated": false,
25938
+ "deprecationReason": null
25939
+ },
25940
+ {
25941
+ "name": "weeklyResetPeriodConfiguration",
25942
+ "description": null,
25943
+ "type": {
25944
+ "kind": "INPUT_OBJECT",
25945
+ "name": "WeeklyResetPeriodConfigInput",
25946
+ "ofType": null
25947
+ },
25948
+ "defaultValue": null,
25949
+ "isDeprecated": false,
25950
+ "deprecationReason": null
25951
+ }
25952
+ ],
25953
+ "interfaces": null,
25954
+ "enumValues": null,
25955
+ "possibleTypes": null
25956
+ },
25957
+ {
25958
+ "kind": "INPUT_OBJECT",
25959
+ "name": "GrantPromotionalEntitlementsInput",
25960
+ "description": null,
25961
+ "fields": null,
25962
+ "inputFields": [
25963
+ {
25964
+ "name": "customerId",
25965
+ "description": null,
25966
+ "type": {
25967
+ "kind": "NON_NULL",
25968
+ "name": null,
25969
+ "ofType": {
25970
+ "kind": "SCALAR",
25971
+ "name": "String",
25972
+ "ofType": null
25973
+ }
25974
+ },
25975
+ "defaultValue": null,
25976
+ "isDeprecated": false,
25977
+ "deprecationReason": null
25978
+ },
25979
+ {
25980
+ "name": "environmentId",
25981
+ "description": null,
25982
+ "type": {
25983
+ "kind": "SCALAR",
25984
+ "name": "String",
25985
+ "ofType": null
25986
+ },
25987
+ "defaultValue": null,
25988
+ "isDeprecated": false,
25989
+ "deprecationReason": null
25990
+ },
25991
+ {
25992
+ "name": "promotionalEntitlements",
25993
+ "description": null,
25994
+ "type": {
25995
+ "kind": "NON_NULL",
25996
+ "name": null,
25997
+ "ofType": {
25998
+ "kind": "LIST",
25999
+ "name": null,
26000
+ "ofType": {
26001
+ "kind": "NON_NULL",
26002
+ "name": null,
26003
+ "ofType": {
26004
+ "kind": "INPUT_OBJECT",
26005
+ "name": "GrantPromotionalEntitlementInput",
26006
+ "ofType": null
26007
+ }
26008
+ }
26009
+ }
26010
+ },
26011
+ "defaultValue": null,
26012
+ "isDeprecated": false,
26013
+ "deprecationReason": null
26014
+ }
26015
+ ],
26016
+ "interfaces": null,
26017
+ "enumValues": null,
26018
+ "possibleTypes": null
26019
+ },
25824
26020
  {
25825
26021
  "kind": "OBJECT",
25826
26022
  "name": "HiddenFromWidgetsChange",
@@ -32785,6 +32981,47 @@
32785
32981
  "isDeprecated": false,
32786
32982
  "deprecationReason": null
32787
32983
  },
32984
+ {
32985
+ "name": "grantPromotionalEntitlements",
32986
+ "description": null,
32987
+ "args": [
32988
+ {
32989
+ "name": "input",
32990
+ "description": null,
32991
+ "type": {
32992
+ "kind": "NON_NULL",
32993
+ "name": null,
32994
+ "ofType": {
32995
+ "kind": "INPUT_OBJECT",
32996
+ "name": "GrantPromotionalEntitlementsInput",
32997
+ "ofType": null
32998
+ }
32999
+ },
33000
+ "defaultValue": null,
33001
+ "isDeprecated": false,
33002
+ "deprecationReason": null
33003
+ }
33004
+ ],
33005
+ "type": {
33006
+ "kind": "NON_NULL",
33007
+ "name": null,
33008
+ "ofType": {
33009
+ "kind": "LIST",
33010
+ "name": null,
33011
+ "ofType": {
33012
+ "kind": "NON_NULL",
33013
+ "name": null,
33014
+ "ofType": {
33015
+ "kind": "OBJECT",
33016
+ "name": "PromotionalEntitlement",
33017
+ "ofType": null
33018
+ }
33019
+ }
33020
+ }
33021
+ },
33022
+ "isDeprecated": false,
33023
+ "deprecationReason": null
33024
+ },
32788
33025
  {
32789
33026
  "name": "hideGettingStartedPage",
32790
33027
  "description": null,
@@ -33770,6 +34007,39 @@
33770
34007
  "isDeprecated": false,
33771
34008
  "deprecationReason": null
33772
34009
  },
34010
+ {
34011
+ "name": "revokePromotionalEntitlement",
34012
+ "description": null,
34013
+ "args": [
34014
+ {
34015
+ "name": "input",
34016
+ "description": null,
34017
+ "type": {
34018
+ "kind": "NON_NULL",
34019
+ "name": null,
34020
+ "ofType": {
34021
+ "kind": "INPUT_OBJECT",
34022
+ "name": "RevokePromotionalEntitlementInput",
34023
+ "ofType": null
34024
+ }
34025
+ },
34026
+ "defaultValue": null,
34027
+ "isDeprecated": false,
34028
+ "deprecationReason": null
34029
+ }
34030
+ ],
34031
+ "type": {
34032
+ "kind": "NON_NULL",
34033
+ "name": null,
34034
+ "ofType": {
34035
+ "kind": "OBJECT",
34036
+ "name": "PromotionalEntitlement",
34037
+ "ofType": null
34038
+ }
34039
+ },
34040
+ "isDeprecated": false,
34041
+ "deprecationReason": null
34042
+ },
33773
34043
  {
33774
34044
  "name": "setBasePlanOnPlan",
33775
34045
  "description": null,
@@ -51991,6 +52261,61 @@
51991
52261
  "enumValues": null,
51992
52262
  "possibleTypes": null
51993
52263
  },
52264
+ {
52265
+ "kind": "INPUT_OBJECT",
52266
+ "name": "RevokePromotionalEntitlementInput",
52267
+ "description": null,
52268
+ "fields": null,
52269
+ "inputFields": [
52270
+ {
52271
+ "name": "customerId",
52272
+ "description": null,
52273
+ "type": {
52274
+ "kind": "NON_NULL",
52275
+ "name": null,
52276
+ "ofType": {
52277
+ "kind": "SCALAR",
52278
+ "name": "String",
52279
+ "ofType": null
52280
+ }
52281
+ },
52282
+ "defaultValue": null,
52283
+ "isDeprecated": false,
52284
+ "deprecationReason": null
52285
+ },
52286
+ {
52287
+ "name": "environmentId",
52288
+ "description": null,
52289
+ "type": {
52290
+ "kind": "SCALAR",
52291
+ "name": "String",
52292
+ "ofType": null
52293
+ },
52294
+ "defaultValue": null,
52295
+ "isDeprecated": false,
52296
+ "deprecationReason": null
52297
+ },
52298
+ {
52299
+ "name": "featureId",
52300
+ "description": null,
52301
+ "type": {
52302
+ "kind": "NON_NULL",
52303
+ "name": null,
52304
+ "ofType": {
52305
+ "kind": "SCALAR",
52306
+ "name": "String",
52307
+ "ofType": null
52308
+ }
52309
+ },
52310
+ "defaultValue": null,
52311
+ "isDeprecated": false,
52312
+ "deprecationReason": null
52313
+ }
52314
+ ],
52315
+ "interfaces": null,
52316
+ "enumValues": null,
52317
+ "possibleTypes": null
52318
+ },
51994
52319
  {
51995
52320
  "kind": "UNION",
51996
52321
  "name": "ScheduleVariables",
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.551.1"
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.551.1
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-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient