stigg-api-client 1.225.0 → 1.228.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 38031ff08c343e83bb745226d00a9a74e3ab83818b2fddf050e43713fea0c427
4
- data.tar.gz: 9ff62ce386173bb4d48423b30520400020f484ff10c129f10f6ba6010e984d89
3
+ metadata.gz: ad0d19255bb063189858ba039d45592f6a4aec166ac876954dfe9a612b82a6e3
4
+ data.tar.gz: b647c6052427afa063be3dbf1bb028d131e5c3944607227a1ec0d4447aeca2ae
5
5
  SHA512:
6
- metadata.gz: e3ba2ea14190eaa210856cc8d307cd8542155a709f0aec324fb9f1ccbd7236981c5545369fc8adfb8e5ab0caa0038a61f3fcc6b509187ba9de0825fe15f5b04b
7
- data.tar.gz: 1f658385c6d209461c6ca37e460203d9424d6300b09050cd3925155000b9e7fb051295e5525212b9f013a2b6e80e371eff33c0abdabbfa5ef724cf01171b3a75
6
+ metadata.gz: 400411bffa184906c43761f0e160355a0baaceefe7acb725aa5f371434b32b230132234543fd3e4590605111b7a979a256096c58a802c83f85c67d38b44dbde4
7
+ data.tar.gz: e748f7120953926e25528d8cd2faec7e059cb713dc64c633ba9d061760a4ee2e12b5925b500757059b4969755bf3e23a5e4486e6f3d9d355bc178acb9eb1e389
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.228.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,
@@ -23792,6 +23783,12 @@
23792
23783
  "isDeprecated": false,
23793
23784
  "deprecationReason": null
23794
23785
  },
23786
+ {
23787
+ "name": "NoFeatureEntitlementError",
23788
+ "description": "This account has no access to the requested feature",
23789
+ "isDeprecated": false,
23790
+ "deprecationReason": null
23791
+ },
23795
23792
  {
23796
23793
  "name": "NoFeatureEntitlementInSubscription",
23797
23794
  "description": null,
@@ -28232,6 +28229,18 @@
28232
28229
  "isDeprecated": false,
28233
28230
  "deprecationReason": null
28234
28231
  },
28232
+ {
28233
+ "name": "unitTransformation",
28234
+ "description": "Unit transformation to be applied to the reported usage",
28235
+ "args": [],
28236
+ "type": {
28237
+ "kind": "OBJECT",
28238
+ "name": "UnitTransformation",
28239
+ "ofType": null
28240
+ },
28241
+ "isDeprecated": false,
28242
+ "deprecationReason": null
28243
+ },
28235
28244
  {
28236
28245
  "name": "updatedAt",
28237
28246
  "description": null,
@@ -28993,6 +29002,18 @@
28993
29002
  "defaultValue": null,
28994
29003
  "isDeprecated": false,
28995
29004
  "deprecationReason": null
29005
+ },
29006
+ {
29007
+ "name": "unitTransformation",
29008
+ "description": "Unit transformation to be applied to the reported usage",
29009
+ "type": {
29010
+ "kind": "INPUT_OBJECT",
29011
+ "name": "UnitTransformationInput",
29012
+ "ofType": null
29013
+ },
29014
+ "defaultValue": null,
29015
+ "isDeprecated": false,
29016
+ "deprecationReason": null
28996
29017
  }
28997
29018
  ],
28998
29019
  "interfaces": null,
@@ -38128,39 +38149,6 @@
38128
38149
  "isDeprecated": false,
38129
38150
  "deprecationReason": null
38130
38151
  },
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
38152
  {
38165
38153
  "name": "createOneHook",
38166
38154
  "description": null,
@@ -41134,39 +41122,6 @@
41134
41122
  "isDeprecated": false,
41135
41123
  "deprecationReason": null
41136
41124
  },
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
41125
  {
41171
41126
  "name": "updateOneHook",
41172
41127
  "description": null,
@@ -76692,6 +76647,159 @@
76692
76647
  "enumValues": null,
76693
76648
  "possibleTypes": null
76694
76649
  },
76650
+ {
76651
+ "kind": "OBJECT",
76652
+ "name": "UnitTransformation",
76653
+ "description": "Transformation to the reported usage",
76654
+ "fields": [
76655
+ {
76656
+ "name": "divide",
76657
+ "description": "Divide usage by this number",
76658
+ "args": [],
76659
+ "type": {
76660
+ "kind": "NON_NULL",
76661
+ "name": null,
76662
+ "ofType": {
76663
+ "kind": "SCALAR",
76664
+ "name": "Float",
76665
+ "ofType": null
76666
+ }
76667
+ },
76668
+ "isDeprecated": false,
76669
+ "deprecationReason": null
76670
+ },
76671
+ {
76672
+ "name": "featureUnits",
76673
+ "description": "Singular feature units after the transformation",
76674
+ "args": [],
76675
+ "type": {
76676
+ "kind": "SCALAR",
76677
+ "name": "String",
76678
+ "ofType": null
76679
+ },
76680
+ "isDeprecated": false,
76681
+ "deprecationReason": null
76682
+ },
76683
+ {
76684
+ "name": "featureUnitsPlural",
76685
+ "description": "Plural feature units after the transformation",
76686
+ "args": [],
76687
+ "type": {
76688
+ "kind": "SCALAR",
76689
+ "name": "String",
76690
+ "ofType": null
76691
+ },
76692
+ "isDeprecated": false,
76693
+ "deprecationReason": null
76694
+ },
76695
+ {
76696
+ "name": "round",
76697
+ "description": "After division, either round the result up or down",
76698
+ "args": [],
76699
+ "type": {
76700
+ "kind": "NON_NULL",
76701
+ "name": null,
76702
+ "ofType": {
76703
+ "kind": "ENUM",
76704
+ "name": "UnitTransformationRound",
76705
+ "ofType": null
76706
+ }
76707
+ },
76708
+ "isDeprecated": false,
76709
+ "deprecationReason": null
76710
+ }
76711
+ ],
76712
+ "inputFields": null,
76713
+ "interfaces": [],
76714
+ "enumValues": null,
76715
+ "possibleTypes": null
76716
+ },
76717
+ {
76718
+ "kind": "INPUT_OBJECT",
76719
+ "name": "UnitTransformationInput",
76720
+ "description": "Input for unit transformation to be applied to the reported usage",
76721
+ "fields": null,
76722
+ "inputFields": [
76723
+ {
76724
+ "name": "divide",
76725
+ "description": "Divide usage by this number",
76726
+ "type": {
76727
+ "kind": "NON_NULL",
76728
+ "name": null,
76729
+ "ofType": {
76730
+ "kind": "SCALAR",
76731
+ "name": "Int",
76732
+ "ofType": null
76733
+ }
76734
+ },
76735
+ "defaultValue": null,
76736
+ "isDeprecated": false,
76737
+ "deprecationReason": null
76738
+ },
76739
+ {
76740
+ "name": "featureUnits",
76741
+ "description": "Singular feature units after the transformation",
76742
+ "type": {
76743
+ "kind": "SCALAR",
76744
+ "name": "String",
76745
+ "ofType": null
76746
+ },
76747
+ "defaultValue": null,
76748
+ "isDeprecated": false,
76749
+ "deprecationReason": null
76750
+ },
76751
+ {
76752
+ "name": "featureUnitsPlural",
76753
+ "description": "Plural feature units after the transformation",
76754
+ "type": {
76755
+ "kind": "SCALAR",
76756
+ "name": "String",
76757
+ "ofType": null
76758
+ },
76759
+ "defaultValue": null,
76760
+ "isDeprecated": false,
76761
+ "deprecationReason": null
76762
+ },
76763
+ {
76764
+ "name": "round",
76765
+ "description": "After division, either round the result up or down",
76766
+ "type": {
76767
+ "kind": "ENUM",
76768
+ "name": "UnitTransformationRound",
76769
+ "ofType": null
76770
+ },
76771
+ "defaultValue": "UP",
76772
+ "isDeprecated": false,
76773
+ "deprecationReason": null
76774
+ }
76775
+ ],
76776
+ "interfaces": null,
76777
+ "enumValues": null,
76778
+ "possibleTypes": null
76779
+ },
76780
+ {
76781
+ "kind": "ENUM",
76782
+ "name": "UnitTransformationRound",
76783
+ "description": "Unit transformation round type",
76784
+ "fields": null,
76785
+ "inputFields": null,
76786
+ "interfaces": null,
76787
+ "enumValues": [
76788
+ {
76789
+ "name": "DOWN",
76790
+ "description": "Apply round down after transformation",
76791
+ "isDeprecated": false,
76792
+ "deprecationReason": null
76793
+ },
76794
+ {
76795
+ "name": "UP",
76796
+ "description": "Apply round up after transformation",
76797
+ "isDeprecated": false,
76798
+ "deprecationReason": null
76799
+ }
76800
+ ],
76801
+ "possibleTypes": null
76802
+ },
76695
76803
  {
76696
76804
  "kind": "OBJECT",
76697
76805
  "name": "UnsupportedFeatureTypeError",
@@ -77261,173 +77369,6 @@
77261
77369
  "enumValues": null,
77262
77370
  "possibleTypes": null
77263
77371
  },
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
77372
  {
77432
77373
  "kind": "INPUT_OBJECT",
77433
77374
  "name": "UpdateFeatureInput",
@@ -77537,6 +77478,18 @@
77537
77478
  "defaultValue": null,
77538
77479
  "isDeprecated": false,
77539
77480
  "deprecationReason": null
77481
+ },
77482
+ {
77483
+ "name": "unitTransformation",
77484
+ "description": "Unit transformation to be applied to the reported usage",
77485
+ "type": {
77486
+ "kind": "INPUT_OBJECT",
77487
+ "name": "UnitTransformationInput",
77488
+ "ofType": null
77489
+ },
77490
+ "defaultValue": null,
77491
+ "isDeprecated": false,
77492
+ "deprecationReason": null
77540
77493
  }
77541
77494
  ],
77542
77495
  "interfaces": null,
@@ -77776,49 +77729,6 @@
77776
77729
  "enumValues": null,
77777
77730
  "possibleTypes": null
77778
77731
  },
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
77732
  {
77823
77733
  "kind": "INPUT_OBJECT",
77824
77734
  "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.228.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.228.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-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient