stigg-api-client 0.459.0 → 0.461.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: e21721d218ba3e632d10892a08851121a45417080a120bf221535d6331244ed7
4
- data.tar.gz: 8005029093c19a186839c96710e8282ddce6bf6d1dbb4338c244126d436352e9
3
+ metadata.gz: e1e4452c7e920c80c498ac784b7db3a24dbcdd3652c0b3b1529faec22f762fa4
4
+ data.tar.gz: f63be738ddcbe8c9c3ea11a7e6189f1ab7d4c3e97a519f55fed8b420ca4bc23c
5
5
  SHA512:
6
- metadata.gz: 194aaf505851d5bac6da6148c21b7385067039f129e477c82e1f34aa22a2ef945515079c4735f980f16f6a30bfda23a47063feae0bea1098c814d37098e80f5c
7
- data.tar.gz: 6ff798c08cab63ca9f007702581f5f817f3e4983ea377a85fa889a38d9fa43811329cf24f3dd61d80fcb26984ea07e61971019cec4badc26da45e977ebd5c9d7
6
+ metadata.gz: 2be38a142841e0a2c0f125c9c6f99234721fd28d076d9fb3931269d990bd199fb4615958fc75c0cc7971af997a1f669e4f0077aa8b2e6a9b6c266bc25e3f4caa
7
+ data.tar.gz: 50f99e757cbcf7042187e513fbe33ea9cc0ae489d323c309bb3f5ff46ea2fc949329ec3fe9a8d23f04dabe66d15dbfcc3df383546952ada4f42f91e6816f1eae
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (0.459.0)
4
+ stigg-api-client (0.461.2)
5
5
  graphlient (~> 0.7.0)
6
6
 
7
7
  GEM
@@ -1015,15 +1015,6 @@ module Stigg
1015
1015
  #{Fragment::TotalPriceFragment}
1016
1016
  GRAPHQL
1017
1017
 
1018
- InitiateCheckout = <<~GRAPHQL
1019
- mutation ($input: InitiateCheckoutInput!) {
1020
- initiateCheckout(input: $input) {
1021
- checkoutUrl
1022
- checkoutBillingId
1023
- }
1024
- }
1025
- GRAPHQL
1026
-
1027
1018
  EstimateSubscription = <<~GRAPHQL
1028
1019
  mutation ($input: EstimateSubscriptionInput!) {
1029
1020
  estimateSubscription(input: $input) {
@@ -3887,65 +3887,6 @@
3887
3887
  ],
3888
3888
  "possibleTypes": null
3889
3889
  },
3890
- {
3891
- "kind": "OBJECT",
3892
- "name": "Checkout",
3893
- "description": null,
3894
- "fields": [
3895
- {
3896
- "name": "checkoutBillingId",
3897
- "description": null,
3898
- "args": [],
3899
- "type": {
3900
- "kind": "NON_NULL",
3901
- "name": null,
3902
- "ofType": {
3903
- "kind": "SCALAR",
3904
- "name": "String",
3905
- "ofType": null
3906
- }
3907
- },
3908
- "isDeprecated": false,
3909
- "deprecationReason": null
3910
- },
3911
- {
3912
- "name": "checkoutUrl",
3913
- "description": null,
3914
- "args": [],
3915
- "type": {
3916
- "kind": "NON_NULL",
3917
- "name": null,
3918
- "ofType": {
3919
- "kind": "SCALAR",
3920
- "name": "String",
3921
- "ofType": null
3922
- }
3923
- },
3924
- "isDeprecated": false,
3925
- "deprecationReason": null
3926
- },
3927
- {
3928
- "name": "id",
3929
- "description": null,
3930
- "args": [],
3931
- "type": {
3932
- "kind": "NON_NULL",
3933
- "name": null,
3934
- "ofType": {
3935
- "kind": "SCALAR",
3936
- "name": "String",
3937
- "ofType": null
3938
- }
3939
- },
3940
- "isDeprecated": false,
3941
- "deprecationReason": null
3942
- }
3943
- ],
3944
- "inputFields": null,
3945
- "interfaces": [],
3946
- "enumValues": null,
3947
- "possibleTypes": null
3948
- },
3949
3890
  {
3950
3891
  "kind": "INPUT_OBJECT",
3951
3892
  "name": "CheckoutOptions",
@@ -18714,6 +18655,12 @@
18714
18655
  "isDeprecated": false,
18715
18656
  "deprecationReason": null
18716
18657
  },
18658
+ {
18659
+ "name": "CannotReportUsageForEntitlementWithMeterError",
18660
+ "description": null,
18661
+ "isDeprecated": false,
18662
+ "deprecationReason": null
18663
+ },
18717
18664
  {
18718
18665
  "name": "CheckoutIsNotSupported",
18719
18666
  "description": null,
@@ -26936,201 +26883,6 @@
26936
26883
  "enumValues": null,
26937
26884
  "possibleTypes": null
26938
26885
  },
26939
- {
26940
- "kind": "INPUT_OBJECT",
26941
- "name": "InitiateCheckoutInput",
26942
- "description": null,
26943
- "fields": null,
26944
- "inputFields": [
26945
- {
26946
- "name": "addons",
26947
- "description": null,
26948
- "type": {
26949
- "kind": "LIST",
26950
- "name": null,
26951
- "ofType": {
26952
- "kind": "NON_NULL",
26953
- "name": null,
26954
- "ofType": {
26955
- "kind": "INPUT_OBJECT",
26956
- "name": "SubscriptionAddonInput",
26957
- "ofType": null
26958
- }
26959
- }
26960
- },
26961
- "defaultValue": null,
26962
- "isDeprecated": false,
26963
- "deprecationReason": null
26964
- },
26965
- {
26966
- "name": "allowPromoCodes",
26967
- "description": null,
26968
- "type": {
26969
- "kind": "SCALAR",
26970
- "name": "Boolean",
26971
- "ofType": null
26972
- },
26973
- "defaultValue": "false",
26974
- "isDeprecated": false,
26975
- "deprecationReason": null
26976
- },
26977
- {
26978
- "name": "allowTaxIdCollection",
26979
- "description": null,
26980
- "type": {
26981
- "kind": "SCALAR",
26982
- "name": "Boolean",
26983
- "ofType": null
26984
- },
26985
- "defaultValue": "false",
26986
- "isDeprecated": false,
26987
- "deprecationReason": null
26988
- },
26989
- {
26990
- "name": "billingCountryCode",
26991
- "description": null,
26992
- "type": {
26993
- "kind": "SCALAR",
26994
- "name": "String",
26995
- "ofType": null
26996
- },
26997
- "defaultValue": null,
26998
- "isDeprecated": false,
26999
- "deprecationReason": null
27000
- },
27001
- {
27002
- "name": "billingPeriod",
27003
- "description": null,
27004
- "type": {
27005
- "kind": "NON_NULL",
27006
- "name": null,
27007
- "ofType": {
27008
- "kind": "ENUM",
27009
- "name": "BillingPeriod",
27010
- "ofType": null
27011
- }
27012
- },
27013
- "defaultValue": null,
27014
- "isDeprecated": false,
27015
- "deprecationReason": null
27016
- },
27017
- {
27018
- "name": "cancelUrl",
27019
- "description": null,
27020
- "type": {
27021
- "kind": "NON_NULL",
27022
- "name": null,
27023
- "ofType": {
27024
- "kind": "SCALAR",
27025
- "name": "String",
27026
- "ofType": null
27027
- }
27028
- },
27029
- "defaultValue": null,
27030
- "isDeprecated": false,
27031
- "deprecationReason": null
27032
- },
27033
- {
27034
- "name": "collectBillingAddress",
27035
- "description": null,
27036
- "type": {
27037
- "kind": "SCALAR",
27038
- "name": "Boolean",
27039
- "ofType": null
27040
- },
27041
- "defaultValue": "false",
27042
- "isDeprecated": false,
27043
- "deprecationReason": null
27044
- },
27045
- {
27046
- "name": "collectPhoneNumber",
27047
- "description": null,
27048
- "type": {
27049
- "kind": "SCALAR",
27050
- "name": "Boolean",
27051
- "ofType": null
27052
- },
27053
- "defaultValue": "false",
27054
- "isDeprecated": false,
27055
- "deprecationReason": null
27056
- },
27057
- {
27058
- "name": "customerId",
27059
- "description": null,
27060
- "type": {
27061
- "kind": "NON_NULL",
27062
- "name": null,
27063
- "ofType": {
27064
- "kind": "SCALAR",
27065
- "name": "String",
27066
- "ofType": null
27067
- }
27068
- },
27069
- "defaultValue": null,
27070
- "isDeprecated": false,
27071
- "deprecationReason": null
27072
- },
27073
- {
27074
- "name": "planId",
27075
- "description": null,
27076
- "type": {
27077
- "kind": "NON_NULL",
27078
- "name": null,
27079
- "ofType": {
27080
- "kind": "SCALAR",
27081
- "name": "String",
27082
- "ofType": null
27083
- }
27084
- },
27085
- "defaultValue": null,
27086
- "isDeprecated": false,
27087
- "deprecationReason": null
27088
- },
27089
- {
27090
- "name": "resourceId",
27091
- "description": null,
27092
- "type": {
27093
- "kind": "SCALAR",
27094
- "name": "String",
27095
- "ofType": null
27096
- },
27097
- "defaultValue": null,
27098
- "isDeprecated": false,
27099
- "deprecationReason": null
27100
- },
27101
- {
27102
- "name": "successUrl",
27103
- "description": null,
27104
- "type": {
27105
- "kind": "NON_NULL",
27106
- "name": null,
27107
- "ofType": {
27108
- "kind": "SCALAR",
27109
- "name": "String",
27110
- "ofType": null
27111
- }
27112
- },
27113
- "defaultValue": null,
27114
- "isDeprecated": false,
27115
- "deprecationReason": null
27116
- },
27117
- {
27118
- "name": "unitQuantity",
27119
- "description": null,
27120
- "type": {
27121
- "kind": "SCALAR",
27122
- "name": "Int",
27123
- "ofType": null
27124
- },
27125
- "defaultValue": null,
27126
- "isDeprecated": false,
27127
- "deprecationReason": null
27128
- }
27129
- ],
27130
- "interfaces": null,
27131
- "enumValues": null,
27132
- "possibleTypes": null
27133
- },
27134
26886
  {
27135
26887
  "kind": "SCALAR",
27136
26888
  "name": "Int",
@@ -31268,8 +31020,8 @@
31268
31020
  "ofType": null
31269
31021
  }
31270
31022
  },
31271
- "isDeprecated": false,
31272
- "deprecationReason": null
31023
+ "isDeprecated": true,
31024
+ "deprecationReason": "Deprecated query, use 'reportUsage' instead"
31273
31025
  },
31274
31026
  {
31275
31027
  "name": "deleteEnvironment",
@@ -31890,39 +31642,6 @@
31890
31642
  "isDeprecated": false,
31891
31643
  "deprecationReason": null
31892
31644
  },
31893
- {
31894
- "name": "initiateCheckout",
31895
- "description": null,
31896
- "args": [
31897
- {
31898
- "name": "input",
31899
- "description": null,
31900
- "type": {
31901
- "kind": "NON_NULL",
31902
- "name": null,
31903
- "ofType": {
31904
- "kind": "INPUT_OBJECT",
31905
- "name": "InitiateCheckoutInput",
31906
- "ofType": null
31907
- }
31908
- },
31909
- "defaultValue": null,
31910
- "isDeprecated": false,
31911
- "deprecationReason": null
31912
- }
31913
- ],
31914
- "type": {
31915
- "kind": "NON_NULL",
31916
- "name": null,
31917
- "ofType": {
31918
- "kind": "OBJECT",
31919
- "name": "Checkout",
31920
- "ofType": null
31921
- }
31922
- },
31923
- "isDeprecated": true,
31924
- "deprecationReason": "Use 'provisionSubscription' instead to create subscription or checkout session according to customer and subscription payment requirements. See 'provisionSubscription' for more info."
31925
- },
31926
31645
  {
31927
31646
  "name": "inviteMembers",
31928
31647
  "description": null,
@@ -32603,6 +32322,39 @@
32603
32322
  "isDeprecated": false,
32604
32323
  "deprecationReason": null
32605
32324
  },
32325
+ {
32326
+ "name": "reportUsage",
32327
+ "description": null,
32328
+ "args": [
32329
+ {
32330
+ "name": "input",
32331
+ "description": null,
32332
+ "type": {
32333
+ "kind": "NON_NULL",
32334
+ "name": null,
32335
+ "ofType": {
32336
+ "kind": "INPUT_OBJECT",
32337
+ "name": "ReportUsageInput",
32338
+ "ofType": null
32339
+ }
32340
+ },
32341
+ "defaultValue": null,
32342
+ "isDeprecated": false,
32343
+ "deprecationReason": null
32344
+ }
32345
+ ],
32346
+ "type": {
32347
+ "kind": "NON_NULL",
32348
+ "name": null,
32349
+ "ofType": {
32350
+ "kind": "OBJECT",
32351
+ "name": "UsageMeasurementWithCurrentUsage",
32352
+ "ofType": null
32353
+ }
32354
+ },
32355
+ "isDeprecated": false,
32356
+ "deprecationReason": null
32357
+ },
32606
32358
  {
32607
32359
  "name": "resendEmailVerification",
32608
32360
  "description": null,
@@ -49645,6 +49397,113 @@
49645
49397
  "enumValues": null,
49646
49398
  "possibleTypes": null
49647
49399
  },
49400
+ {
49401
+ "kind": "INPUT_OBJECT",
49402
+ "name": "ReportUsageInput",
49403
+ "description": null,
49404
+ "fields": null,
49405
+ "inputFields": [
49406
+ {
49407
+ "name": "createdAt",
49408
+ "description": null,
49409
+ "type": {
49410
+ "kind": "SCALAR",
49411
+ "name": "DateTime",
49412
+ "ofType": null
49413
+ },
49414
+ "defaultValue": null,
49415
+ "isDeprecated": false,
49416
+ "deprecationReason": null
49417
+ },
49418
+ {
49419
+ "name": "customerId",
49420
+ "description": null,
49421
+ "type": {
49422
+ "kind": "NON_NULL",
49423
+ "name": null,
49424
+ "ofType": {
49425
+ "kind": "SCALAR",
49426
+ "name": "String",
49427
+ "ofType": null
49428
+ }
49429
+ },
49430
+ "defaultValue": null,
49431
+ "isDeprecated": false,
49432
+ "deprecationReason": null
49433
+ },
49434
+ {
49435
+ "name": "environmentId",
49436
+ "description": null,
49437
+ "type": {
49438
+ "kind": "SCALAR",
49439
+ "name": "String",
49440
+ "ofType": null
49441
+ },
49442
+ "defaultValue": null,
49443
+ "isDeprecated": false,
49444
+ "deprecationReason": null
49445
+ },
49446
+ {
49447
+ "name": "featureId",
49448
+ "description": null,
49449
+ "type": {
49450
+ "kind": "NON_NULL",
49451
+ "name": null,
49452
+ "ofType": {
49453
+ "kind": "SCALAR",
49454
+ "name": "String",
49455
+ "ofType": null
49456
+ }
49457
+ },
49458
+ "defaultValue": null,
49459
+ "isDeprecated": false,
49460
+ "deprecationReason": null
49461
+ },
49462
+ {
49463
+ "name": "resourceId",
49464
+ "description": null,
49465
+ "type": {
49466
+ "kind": "SCALAR",
49467
+ "name": "String",
49468
+ "ofType": null
49469
+ },
49470
+ "defaultValue": null,
49471
+ "isDeprecated": false,
49472
+ "deprecationReason": null
49473
+ },
49474
+ {
49475
+ "name": "updateBehavior",
49476
+ "description": null,
49477
+ "type": {
49478
+ "kind": "ENUM",
49479
+ "name": "UsageUpdateBehavior",
49480
+ "ofType": null
49481
+ },
49482
+ "defaultValue": "DELTA",
49483
+ "isDeprecated": false,
49484
+ "deprecationReason": null
49485
+ },
49486
+ {
49487
+ "name": "value",
49488
+ "description": null,
49489
+ "type": {
49490
+ "kind": "NON_NULL",
49491
+ "name": null,
49492
+ "ofType": {
49493
+ "kind": "SCALAR",
49494
+ "name": "Float",
49495
+ "ofType": null
49496
+ }
49497
+ },
49498
+ "defaultValue": null,
49499
+ "isDeprecated": false,
49500
+ "deprecationReason": null
49501
+ }
49502
+ ],
49503
+ "interfaces": null,
49504
+ "enumValues": null,
49505
+ "possibleTypes": null
49506
+ },
49648
49507
  {
49649
49508
  "kind": "UNION",
49650
49509
  "name": "ResetPeriodConfiguration",
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.459.0"
4
+ VERSION = "0.461.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.459.0
4
+ version: 0.461.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-06-07 00:00:00.000000000 Z
11
+ date: 2023-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient