stigg-api-client 1.225.0 → 1.226.0

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: 38031ff08c343e83bb745226d00a9a74e3ab83818b2fddf050e43713fea0c427
4
- data.tar.gz: 9ff62ce386173bb4d48423b30520400020f484ff10c129f10f6ba6010e984d89
3
+ metadata.gz: 2dda89017b61ed2856c152a34213badf905e6002eabc7def1006c208e51106d2
4
+ data.tar.gz: 405b19a31ba9bb8e9a6765cbe7c56d2bda5b036fd08f23b1adf16167598c3f56
5
5
  SHA512:
6
- metadata.gz: e3ba2ea14190eaa210856cc8d307cd8542155a709f0aec324fb9f1ccbd7236981c5545369fc8adfb8e5ab0caa0038a61f3fcc6b509187ba9de0825fe15f5b04b
7
- data.tar.gz: 1f658385c6d209461c6ca37e460203d9424d6300b09050cd3925155000b9e7fb051295e5525212b9f013a2b6e80e371eff33c0abdabbfa5ef724cf01171b3a75
6
+ metadata.gz: c049ada69795484c92443ece00ef5659c25aeefe4b04a7e1e4353080b0e985728b94c7ae5fa32118142bd0766d2a59ff5cd9ddd755ee9642a44cdca967dfecd2
7
+ data.tar.gz: e73e6e547dd354f1653554dcc9a2b7d761763e6f4845f052591ba2fdc828d58ef6584f92bdb6e6cea1e2ed6b2fd09f8df314e1078cbd0edd77547bfbac72333e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (1.225.0)
4
+ stigg-api-client (1.226.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -719,6 +719,10 @@ module Stigg
719
719
  description
720
720
  displayName
721
721
  refId
722
+ unitTransformation {
723
+ divide
724
+ round
725
+ }
722
726
  }
723
727
  GRAPHQL
724
728
 
@@ -1214,7 +1218,7 @@ module Stigg
1214
1218
  GRAPHQL
1215
1219
 
1216
1220
  MockPaywallPlanCompatiblePackageGroupsFragment = <<~GRAPHQL
1217
- fragment MockPaywallPlanCompatiblePackageGroupsFragment on PaywallPlanCompatiblePackageGroup {
1221
+ fragment MockPaywallPlanCompatiblePackageGroupsFragment on PaywallPlanCompatiblePackageGroup {
1218
1222
  packageGroupId
1219
1223
  displayName
1220
1224
  description
@@ -9640,33 +9640,6 @@
9640
9640
  "enumValues": null,
9641
9641
  "possibleTypes": null
9642
9642
  },
9643
- {
9644
- "kind": "INPUT_OBJECT",
9645
- "name": "CreateOneFeatureInput",
9646
- "description": null,
9647
- "fields": null,
9648
- "inputFields": [
9649
- {
9650
- "name": "feature",
9651
- "description": "The record to create",
9652
- "type": {
9653
- "kind": "NON_NULL",
9654
- "name": null,
9655
- "ofType": {
9656
- "kind": "INPUT_OBJECT",
9657
- "name": "FeatureInput",
9658
- "ofType": null
9659
- }
9660
- },
9661
- "defaultValue": null,
9662
- "isDeprecated": false,
9663
- "deprecationReason": null
9664
- }
9665
- ],
9666
- "interfaces": null,
9667
- "enumValues": null,
9668
- "possibleTypes": null
9669
- },
9670
9643
  {
9671
9644
  "kind": "INPUT_OBJECT",
9672
9645
  "name": "CreateOneHookInput",
@@ -21679,6 +21652,18 @@
21679
21652
  },
21680
21653
  "isDeprecated": false,
21681
21654
  "deprecationReason": null
21655
+ },
21656
+ {
21657
+ "name": "unitTransformation",
21658
+ "description": "Unit transformation to be applied to the reported usage",
21659
+ "args": [],
21660
+ "type": {
21661
+ "kind": "OBJECT",
21662
+ "name": "UnitTransformation",
21663
+ "ofType": null
21664
+ },
21665
+ "isDeprecated": false,
21666
+ "deprecationReason": null
21682
21667
  }
21683
21668
  ],
21684
21669
  "inputFields": null,
@@ -23468,6 +23453,12 @@
23468
23453
  "isDeprecated": false,
23469
23454
  "deprecationReason": null
23470
23455
  },
23456
+ {
23457
+ "name": "CannotUpdateUnitTransformationError",
23458
+ "description": "Can not update unit transformation since this feature has connected active subscriptions",
23459
+ "isDeprecated": false,
23460
+ "deprecationReason": null
23461
+ },
23471
23462
  {
23472
23463
  "name": "CannotUpsertToPackageThatHasDraft",
23473
23464
  "description": null,
@@ -28232,6 +28223,18 @@
28232
28223
  "isDeprecated": false,
28233
28224
  "deprecationReason": null
28234
28225
  },
28226
+ {
28227
+ "name": "unitTransformation",
28228
+ "description": "Unit transformation to be applied to the reported usage",
28229
+ "args": [],
28230
+ "type": {
28231
+ "kind": "OBJECT",
28232
+ "name": "UnitTransformation",
28233
+ "ofType": null
28234
+ },
28235
+ "isDeprecated": false,
28236
+ "deprecationReason": null
28237
+ },
28235
28238
  {
28236
28239
  "name": "updatedAt",
28237
28240
  "description": null,
@@ -28993,6 +28996,18 @@
28993
28996
  "defaultValue": null,
28994
28997
  "isDeprecated": false,
28995
28998
  "deprecationReason": null
28999
+ },
29000
+ {
29001
+ "name": "unitTransformation",
29002
+ "description": "Unit transformation to be applied to the reported usage",
29003
+ "type": {
29004
+ "kind": "INPUT_OBJECT",
29005
+ "name": "UnitTransformationInput",
29006
+ "ofType": null
29007
+ },
29008
+ "defaultValue": null,
29009
+ "isDeprecated": false,
29010
+ "deprecationReason": null
28996
29011
  }
28997
29012
  ],
28998
29013
  "interfaces": null,
@@ -38128,39 +38143,6 @@
38128
38143
  "isDeprecated": false,
38129
38144
  "deprecationReason": null
38130
38145
  },
38131
- {
38132
- "name": "createOneFeature",
38133
- "description": null,
38134
- "args": [
38135
- {
38136
- "name": "input",
38137
- "description": null,
38138
- "type": {
38139
- "kind": "NON_NULL",
38140
- "name": null,
38141
- "ofType": {
38142
- "kind": "INPUT_OBJECT",
38143
- "name": "CreateOneFeatureInput",
38144
- "ofType": null
38145
- }
38146
- },
38147
- "defaultValue": null,
38148
- "isDeprecated": false,
38149
- "deprecationReason": null
38150
- }
38151
- ],
38152
- "type": {
38153
- "kind": "NON_NULL",
38154
- "name": null,
38155
- "ofType": {
38156
- "kind": "OBJECT",
38157
- "name": "Feature",
38158
- "ofType": null
38159
- }
38160
- },
38161
- "isDeprecated": false,
38162
- "deprecationReason": null
38163
- },
38164
38146
  {
38165
38147
  "name": "createOneHook",
38166
38148
  "description": null,
@@ -41134,39 +41116,6 @@
41134
41116
  "isDeprecated": false,
41135
41117
  "deprecationReason": null
41136
41118
  },
41137
- {
41138
- "name": "updateOneFeature",
41139
- "description": null,
41140
- "args": [
41141
- {
41142
- "name": "input",
41143
- "description": null,
41144
- "type": {
41145
- "kind": "NON_NULL",
41146
- "name": null,
41147
- "ofType": {
41148
- "kind": "INPUT_OBJECT",
41149
- "name": "UpdateOneFeatureInput",
41150
- "ofType": null
41151
- }
41152
- },
41153
- "defaultValue": null,
41154
- "isDeprecated": false,
41155
- "deprecationReason": null
41156
- }
41157
- ],
41158
- "type": {
41159
- "kind": "NON_NULL",
41160
- "name": null,
41161
- "ofType": {
41162
- "kind": "OBJECT",
41163
- "name": "Feature",
41164
- "ofType": null
41165
- }
41166
- },
41167
- "isDeprecated": false,
41168
- "deprecationReason": null
41169
- },
41170
41119
  {
41171
41120
  "name": "updateOneHook",
41172
41121
  "description": null,
@@ -76692,6 +76641,159 @@
76692
76641
  "enumValues": null,
76693
76642
  "possibleTypes": null
76694
76643
  },
76644
+ {
76645
+ "kind": "OBJECT",
76646
+ "name": "UnitTransformation",
76647
+ "description": "Transformation to the reported usage",
76648
+ "fields": [
76649
+ {
76650
+ "name": "divide",
76651
+ "description": "Divide usage by this number",
76652
+ "args": [],
76653
+ "type": {
76654
+ "kind": "NON_NULL",
76655
+ "name": null,
76656
+ "ofType": {
76657
+ "kind": "SCALAR",
76658
+ "name": "Float",
76659
+ "ofType": null
76660
+ }
76661
+ },
76662
+ "isDeprecated": false,
76663
+ "deprecationReason": null
76664
+ },
76665
+ {
76666
+ "name": "featureUnits",
76667
+ "description": "Singular feature units after the transformation",
76668
+ "args": [],
76669
+ "type": {
76670
+ "kind": "SCALAR",
76671
+ "name": "String",
76672
+ "ofType": null
76673
+ },
76674
+ "isDeprecated": false,
76675
+ "deprecationReason": null
76676
+ },
76677
+ {
76678
+ "name": "featureUnitsPlural",
76679
+ "description": "Plural feature units after the transformation",
76680
+ "args": [],
76681
+ "type": {
76682
+ "kind": "SCALAR",
76683
+ "name": "String",
76684
+ "ofType": null
76685
+ },
76686
+ "isDeprecated": false,
76687
+ "deprecationReason": null
76688
+ },
76689
+ {
76690
+ "name": "round",
76691
+ "description": "After division, either round the result up or down",
76692
+ "args": [],
76693
+ "type": {
76694
+ "kind": "NON_NULL",
76695
+ "name": null,
76696
+ "ofType": {
76697
+ "kind": "ENUM",
76698
+ "name": "UnitTransformationRound",
76699
+ "ofType": null
76700
+ }
76701
+ },
76702
+ "isDeprecated": false,
76703
+ "deprecationReason": null
76704
+ }
76705
+ ],
76706
+ "inputFields": null,
76707
+ "interfaces": [],
76708
+ "enumValues": null,
76709
+ "possibleTypes": null
76710
+ },
76711
+ {
76712
+ "kind": "INPUT_OBJECT",
76713
+ "name": "UnitTransformationInput",
76714
+ "description": "Input for unit transformation to be applied to the reported usage",
76715
+ "fields": null,
76716
+ "inputFields": [
76717
+ {
76718
+ "name": "divide",
76719
+ "description": "Divide usage by this number",
76720
+ "type": {
76721
+ "kind": "NON_NULL",
76722
+ "name": null,
76723
+ "ofType": {
76724
+ "kind": "SCALAR",
76725
+ "name": "Int",
76726
+ "ofType": null
76727
+ }
76728
+ },
76729
+ "defaultValue": null,
76730
+ "isDeprecated": false,
76731
+ "deprecationReason": null
76732
+ },
76733
+ {
76734
+ "name": "featureUnits",
76735
+ "description": "Singular feature units after the transformation",
76736
+ "type": {
76737
+ "kind": "SCALAR",
76738
+ "name": "String",
76739
+ "ofType": null
76740
+ },
76741
+ "defaultValue": null,
76742
+ "isDeprecated": false,
76743
+ "deprecationReason": null
76744
+ },
76745
+ {
76746
+ "name": "featureUnitsPlural",
76747
+ "description": "Plural feature units after the transformation",
76748
+ "type": {
76749
+ "kind": "SCALAR",
76750
+ "name": "String",
76751
+ "ofType": null
76752
+ },
76753
+ "defaultValue": null,
76754
+ "isDeprecated": false,
76755
+ "deprecationReason": null
76756
+ },
76757
+ {
76758
+ "name": "round",
76759
+ "description": "After division, either round the result up or down",
76760
+ "type": {
76761
+ "kind": "ENUM",
76762
+ "name": "UnitTransformationRound",
76763
+ "ofType": null
76764
+ },
76765
+ "defaultValue": "UP",
76766
+ "isDeprecated": false,
76767
+ "deprecationReason": null
76768
+ }
76769
+ ],
76770
+ "interfaces": null,
76771
+ "enumValues": null,
76772
+ "possibleTypes": null
76773
+ },
76774
+ {
76775
+ "kind": "ENUM",
76776
+ "name": "UnitTransformationRound",
76777
+ "description": "Unit transformation round type",
76778
+ "fields": null,
76779
+ "inputFields": null,
76780
+ "interfaces": null,
76781
+ "enumValues": [
76782
+ {
76783
+ "name": "DOWN",
76784
+ "description": "Apply round down after transformation",
76785
+ "isDeprecated": false,
76786
+ "deprecationReason": null
76787
+ },
76788
+ {
76789
+ "name": "UP",
76790
+ "description": "Apply round up after transformation",
76791
+ "isDeprecated": false,
76792
+ "deprecationReason": null
76793
+ }
76794
+ ],
76795
+ "possibleTypes": null
76796
+ },
76695
76797
  {
76696
76798
  "kind": "OBJECT",
76697
76799
  "name": "UnsupportedFeatureTypeError",
@@ -77261,173 +77363,6 @@
77261
77363
  "enumValues": null,
77262
77364
  "possibleTypes": null
77263
77365
  },
77264
- {
77265
- "kind": "INPUT_OBJECT",
77266
- "name": "UpdateFeature",
77267
- "description": null,
77268
- "fields": null,
77269
- "inputFields": [
77270
- {
77271
- "name": "additionalMetaData",
77272
- "description": null,
77273
- "type": {
77274
- "kind": "SCALAR",
77275
- "name": "JSON",
77276
- "ofType": null
77277
- },
77278
- "defaultValue": null,
77279
- "isDeprecated": false,
77280
- "deprecationReason": null
77281
- },
77282
- {
77283
- "name": "createdAt",
77284
- "description": null,
77285
- "type": {
77286
- "kind": "SCALAR",
77287
- "name": "DateTime",
77288
- "ofType": null
77289
- },
77290
- "defaultValue": null,
77291
- "isDeprecated": false,
77292
- "deprecationReason": null
77293
- },
77294
- {
77295
- "name": "description",
77296
- "description": null,
77297
- "type": {
77298
- "kind": "SCALAR",
77299
- "name": "String",
77300
- "ofType": null
77301
- },
77302
- "defaultValue": null,
77303
- "isDeprecated": false,
77304
- "deprecationReason": null
77305
- },
77306
- {
77307
- "name": "displayName",
77308
- "description": null,
77309
- "type": {
77310
- "kind": "SCALAR",
77311
- "name": "String",
77312
- "ofType": null
77313
- },
77314
- "defaultValue": null,
77315
- "isDeprecated": false,
77316
- "deprecationReason": null
77317
- },
77318
- {
77319
- "name": "environmentId",
77320
- "description": null,
77321
- "type": {
77322
- "kind": "SCALAR",
77323
- "name": "String",
77324
- "ofType": null
77325
- },
77326
- "defaultValue": null,
77327
- "isDeprecated": false,
77328
- "deprecationReason": null
77329
- },
77330
- {
77331
- "name": "featureStatus",
77332
- "description": null,
77333
- "type": {
77334
- "kind": "ENUM",
77335
- "name": "FeatureStatus",
77336
- "ofType": null
77337
- },
77338
- "defaultValue": null,
77339
- "isDeprecated": false,
77340
- "deprecationReason": null
77341
- },
77342
- {
77343
- "name": "featureType",
77344
- "description": null,
77345
- "type": {
77346
- "kind": "ENUM",
77347
- "name": "FeatureType",
77348
- "ofType": null
77349
- },
77350
- "defaultValue": null,
77351
- "isDeprecated": false,
77352
- "deprecationReason": null
77353
- },
77354
- {
77355
- "name": "featureUnits",
77356
- "description": null,
77357
- "type": {
77358
- "kind": "SCALAR",
77359
- "name": "String",
77360
- "ofType": null
77361
- },
77362
- "defaultValue": null,
77363
- "isDeprecated": false,
77364
- "deprecationReason": null
77365
- },
77366
- {
77367
- "name": "featureUnitsPlural",
77368
- "description": null,
77369
- "type": {
77370
- "kind": "SCALAR",
77371
- "name": "String",
77372
- "ofType": null
77373
- },
77374
- "defaultValue": null,
77375
- "isDeprecated": false,
77376
- "deprecationReason": null
77377
- },
77378
- {
77379
- "name": "id",
77380
- "description": null,
77381
- "type": {
77382
- "kind": "SCALAR",
77383
- "name": "String",
77384
- "ofType": null
77385
- },
77386
- "defaultValue": null,
77387
- "isDeprecated": false,
77388
- "deprecationReason": null
77389
- },
77390
- {
77391
- "name": "meterType",
77392
- "description": null,
77393
- "type": {
77394
- "kind": "ENUM",
77395
- "name": "MeterType",
77396
- "ofType": null
77397
- },
77398
- "defaultValue": null,
77399
- "isDeprecated": false,
77400
- "deprecationReason": null
77401
- },
77402
- {
77403
- "name": "refId",
77404
- "description": null,
77405
- "type": {
77406
- "kind": "SCALAR",
77407
- "name": "String",
77408
- "ofType": null
77409
- },
77410
- "defaultValue": null,
77411
- "isDeprecated": false,
77412
- "deprecationReason": null
77413
- },
77414
- {
77415
- "name": "updatedAt",
77416
- "description": null,
77417
- "type": {
77418
- "kind": "SCALAR",
77419
- "name": "DateTime",
77420
- "ofType": null
77421
- },
77422
- "defaultValue": null,
77423
- "isDeprecated": false,
77424
- "deprecationReason": null
77425
- }
77426
- ],
77427
- "interfaces": null,
77428
- "enumValues": null,
77429
- "possibleTypes": null
77430
- },
77431
77366
  {
77432
77367
  "kind": "INPUT_OBJECT",
77433
77368
  "name": "UpdateFeatureInput",
@@ -77537,6 +77472,18 @@
77537
77472
  "defaultValue": null,
77538
77473
  "isDeprecated": false,
77539
77474
  "deprecationReason": null
77475
+ },
77476
+ {
77477
+ "name": "unitTransformation",
77478
+ "description": "Unit transformation to be applied to the reported usage",
77479
+ "type": {
77480
+ "kind": "INPUT_OBJECT",
77481
+ "name": "UnitTransformationInput",
77482
+ "ofType": null
77483
+ },
77484
+ "defaultValue": null,
77485
+ "isDeprecated": false,
77486
+ "deprecationReason": null
77540
77487
  }
77541
77488
  ],
77542
77489
  "interfaces": null,
@@ -77776,49 +77723,6 @@
77776
77723
  "enumValues": null,
77777
77724
  "possibleTypes": null
77778
77725
  },
77779
- {
77780
- "kind": "INPUT_OBJECT",
77781
- "name": "UpdateOneFeatureInput",
77782
- "description": null,
77783
- "fields": null,
77784
- "inputFields": [
77785
- {
77786
- "name": "id",
77787
- "description": "The id of the record to update",
77788
- "type": {
77789
- "kind": "NON_NULL",
77790
- "name": null,
77791
- "ofType": {
77792
- "kind": "SCALAR",
77793
- "name": "String",
77794
- "ofType": null
77795
- }
77796
- },
77797
- "defaultValue": null,
77798
- "isDeprecated": false,
77799
- "deprecationReason": null
77800
- },
77801
- {
77802
- "name": "update",
77803
- "description": "The update to apply.",
77804
- "type": {
77805
- "kind": "NON_NULL",
77806
- "name": null,
77807
- "ofType": {
77808
- "kind": "INPUT_OBJECT",
77809
- "name": "UpdateFeature",
77810
- "ofType": null
77811
- }
77812
- },
77813
- "defaultValue": null,
77814
- "isDeprecated": false,
77815
- "deprecationReason": null
77816
- }
77817
- ],
77818
- "interfaces": null,
77819
- "enumValues": null,
77820
- "possibleTypes": null
77821
- },
77822
77726
  {
77823
77727
  "kind": "INPUT_OBJECT",
77824
77728
  "name": "UpdateOneHookInput",
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "1.225.0"
4
+ VERSION = "1.226.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: 1.225.0
4
+ version: 1.226.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-06-10 00:00:00.000000000 Z
11
+ date: 2024-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient