stigg-api-client 0.682.9 → 0.690.5

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: e425a06ba31d50309deb925093193637c85edcfc4c8593c4134d085fcceb177f
4
- data.tar.gz: 93fa05fe8800179afc59a454ad5c1a9ac7d38c080683a9383383d9e52803f183
3
+ metadata.gz: e18833a6a4bead836d9e22ffb23b084f3739670ccb2f5595e8f9cf655eb15b63
4
+ data.tar.gz: 3eb2fb0b21df67619d294c095018b25f3e42e7b28ce049dc6b434eb803334e9e
5
5
  SHA512:
6
- metadata.gz: 8963246132a6a4ff64bd8b6341400b3c17c2152b62f9192da0f794eff86fe2a0e0b8b8738f7d1d6cdeeee6cbfd727935bc33908d408f794ffa875440ddfb0aa5
7
- data.tar.gz: c9606dbcc7da1142047f51f2095e1b3ba9a71a57554fa2ba3d4ec4d551960c576c4c479320c9d575a61f3144425191630fa6c4a73604d4bc0918e4106e3aca46
6
+ metadata.gz: b5290a1acebab039702ea82d3c4d3f78f537d98360961af7b51a0fbd37a38833ba845c989697eaa5d9de526d63c45fe1f423e3ccc344b9a7639292814898d9b0
7
+ data.tar.gz: b5d0cba2fe194e770ea06e2194984d9593bd443dab999dd5df1a1a71cafd68ce0bd4748fa633055805c1404f28a3a39b79b6936da5b486bf8fccbe68ce384102
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (0.682.9)
4
+ stigg-api-client (0.690.5)
5
5
  graphlient (~> 0.7.0)
6
6
  graphql (< 2.1)
7
7
 
@@ -420,6 +420,17 @@ module Stigg
420
420
  }
421
421
  GRAPHQL
422
422
 
423
+ CustomerStatisticsFragment = <<~GRAPHQL
424
+ fragment CustomerStatisticsFragment on Customer {
425
+ statistics {
426
+ activeSubscriptionsByPricingType {
427
+ pricingType
428
+ totalCount
429
+ }
430
+ }
431
+ }
432
+ GRAPHQL
433
+
423
434
  SubscriptionPreviewFragment = <<~GRAPHQL
424
435
  fragment SubscriptionPreviewFragment on SubscriptionPreview {
425
436
  subTotal {
@@ -1496,6 +1507,15 @@ module Stigg
1496
1507
  #{Fragment::SubscriptionFutureUpdateData}
1497
1508
  GRAPHQL
1498
1509
 
1510
+ GetCustomerStatistics = <<~GRAPHQL
1511
+ query ($input: GetCustomerByRefIdInput!) {
1512
+ getCustomerByRefId(input: $input) {
1513
+ ...CustomerStatisticsFragment,
1514
+ }
1515
+ }
1516
+ #{Fragment::CustomerStatisticsFragment}
1517
+ GRAPHQL
1518
+
1499
1519
  GetActiveSubscriptions = <<~GRAPHQL
1500
1520
  query ($input: GetActiveSubscriptionsInput!) {
1501
1521
  getActiveSubscriptions(input: $input) {
@@ -3722,57 +3722,6 @@
3722
3722
  "enumValues": null,
3723
3723
  "possibleTypes": null
3724
3724
  },
3725
- {
3726
- "kind": "INPUT_OBJECT",
3727
- "name": "AwsMarketplaceConfigurationInput",
3728
- "description": null,
3729
- "fields": null,
3730
- "inputFields": [
3731
- {
3732
- "name": "awsProductId",
3733
- "description": null,
3734
- "type": {
3735
- "kind": "NON_NULL",
3736
- "name": null,
3737
- "ofType": {
3738
- "kind": "SCALAR",
3739
- "name": "String",
3740
- "ofType": null
3741
- }
3742
- },
3743
- "defaultValue": null,
3744
- "isDeprecated": false,
3745
- "deprecationReason": null
3746
- },
3747
- {
3748
- "name": "dimensionsMapping",
3749
- "description": null,
3750
- "type": {
3751
- "kind": "NON_NULL",
3752
- "name": null,
3753
- "ofType": {
3754
- "kind": "LIST",
3755
- "name": null,
3756
- "ofType": {
3757
- "kind": "NON_NULL",
3758
- "name": null,
3759
- "ofType": {
3760
- "kind": "INPUT_OBJECT",
3761
- "name": "DimensionsMappingInput",
3762
- "ofType": null
3763
- }
3764
- }
3765
- }
3766
- },
3767
- "defaultValue": null,
3768
- "isDeprecated": false,
3769
- "deprecationReason": null
3770
- }
3771
- ],
3772
- "interfaces": null,
3773
- "enumValues": null,
3774
- "possibleTypes": null
3775
- },
3776
3725
  {
3777
3726
  "kind": "OBJECT",
3778
3727
  "name": "AwsMarketplaceCredentials",
@@ -8467,6 +8416,149 @@
8467
8416
  "enumValues": null,
8468
8417
  "possibleTypes": null
8469
8418
  },
8419
+ {
8420
+ "kind": "INPUT_OBJECT",
8421
+ "name": "CreateOrUpdateAwsMarketplaceProductInput",
8422
+ "description": null,
8423
+ "fields": null,
8424
+ "inputFields": [
8425
+ {
8426
+ "name": "additionalMetaData",
8427
+ "description": null,
8428
+ "type": {
8429
+ "kind": "SCALAR",
8430
+ "name": "JSON",
8431
+ "ofType": null
8432
+ },
8433
+ "defaultValue": null,
8434
+ "isDeprecated": false,
8435
+ "deprecationReason": null
8436
+ },
8437
+ {
8438
+ "name": "awsDimensionsMapping",
8439
+ "description": null,
8440
+ "type": {
8441
+ "kind": "NON_NULL",
8442
+ "name": null,
8443
+ "ofType": {
8444
+ "kind": "LIST",
8445
+ "name": null,
8446
+ "ofType": {
8447
+ "kind": "NON_NULL",
8448
+ "name": null,
8449
+ "ofType": {
8450
+ "kind": "INPUT_OBJECT",
8451
+ "name": "DimensionsMappingInput",
8452
+ "ofType": null
8453
+ }
8454
+ }
8455
+ }
8456
+ },
8457
+ "defaultValue": null,
8458
+ "isDeprecated": false,
8459
+ "deprecationReason": null
8460
+ },
8461
+ {
8462
+ "name": "awsProductId",
8463
+ "description": null,
8464
+ "type": {
8465
+ "kind": "SCALAR",
8466
+ "name": "String",
8467
+ "ofType": null
8468
+ },
8469
+ "defaultValue": null,
8470
+ "isDeprecated": false,
8471
+ "deprecationReason": null
8472
+ },
8473
+ {
8474
+ "name": "description",
8475
+ "description": null,
8476
+ "type": {
8477
+ "kind": "SCALAR",
8478
+ "name": "String",
8479
+ "ofType": null
8480
+ },
8481
+ "defaultValue": null,
8482
+ "isDeprecated": false,
8483
+ "deprecationReason": null
8484
+ },
8485
+ {
8486
+ "name": "displayName",
8487
+ "description": null,
8488
+ "type": {
8489
+ "kind": "SCALAR",
8490
+ "name": "String",
8491
+ "ofType": null
8492
+ },
8493
+ "defaultValue": null,
8494
+ "isDeprecated": false,
8495
+ "deprecationReason": null
8496
+ },
8497
+ {
8498
+ "name": "environmentId",
8499
+ "description": null,
8500
+ "type": {
8501
+ "kind": "SCALAR",
8502
+ "name": "String",
8503
+ "ofType": null
8504
+ },
8505
+ "defaultValue": null,
8506
+ "isDeprecated": false,
8507
+ "deprecationReason": null
8508
+ },
8509
+ {
8510
+ "name": "multipleSubscriptions",
8511
+ "description": null,
8512
+ "type": {
8513
+ "kind": "SCALAR",
8514
+ "name": "Boolean",
8515
+ "ofType": null
8516
+ },
8517
+ "defaultValue": null,
8518
+ "isDeprecated": false,
8519
+ "deprecationReason": null
8520
+ },
8521
+ {
8522
+ "name": "productId",
8523
+ "description": null,
8524
+ "type": {
8525
+ "kind": "SCALAR",
8526
+ "name": "String",
8527
+ "ofType": null
8528
+ },
8529
+ "defaultValue": null,
8530
+ "isDeprecated": false,
8531
+ "deprecationReason": null
8532
+ },
8533
+ {
8534
+ "name": "productSettings",
8535
+ "description": null,
8536
+ "type": {
8537
+ "kind": "INPUT_OBJECT",
8538
+ "name": "ProductSettingsInput",
8539
+ "ofType": null
8540
+ },
8541
+ "defaultValue": null,
8542
+ "isDeprecated": false,
8543
+ "deprecationReason": null
8544
+ },
8545
+ {
8546
+ "name": "refId",
8547
+ "description": null,
8548
+ "type": {
8549
+ "kind": "SCALAR",
8550
+ "name": "String",
8551
+ "ofType": null
8552
+ },
8553
+ "defaultValue": null,
8554
+ "isDeprecated": false,
8555
+ "deprecationReason": null
8556
+ }
8557
+ ],
8558
+ "interfaces": null,
8559
+ "enumValues": null,
8560
+ "possibleTypes": null
8561
+ },
8470
8562
  {
8471
8563
  "kind": "UNION",
8472
8564
  "name": "Credentials",
@@ -9716,6 +9808,18 @@
9716
9808
  "isDeprecated": true,
9717
9809
  "deprecationReason": "Renamed to customerId"
9718
9810
  },
9811
+ {
9812
+ "name": "statistics",
9813
+ "description": null,
9814
+ "args": [],
9815
+ "type": {
9816
+ "kind": "OBJECT",
9817
+ "name": "CustomerStatistics",
9818
+ "ofType": null
9819
+ },
9820
+ "isDeprecated": false,
9821
+ "deprecationReason": null
9822
+ },
9719
9823
  {
9720
9824
  "name": "subscriptions",
9721
9825
  "description": null,
@@ -14348,6 +14452,41 @@
14348
14452
  ],
14349
14453
  "possibleTypes": null
14350
14454
  },
14455
+ {
14456
+ "kind": "OBJECT",
14457
+ "name": "CustomerStatistics",
14458
+ "description": null,
14459
+ "fields": [
14460
+ {
14461
+ "name": "activeSubscriptionsByPricingType",
14462
+ "description": null,
14463
+ "args": [],
14464
+ "type": {
14465
+ "kind": "NON_NULL",
14466
+ "name": null,
14467
+ "ofType": {
14468
+ "kind": "LIST",
14469
+ "name": null,
14470
+ "ofType": {
14471
+ "kind": "NON_NULL",
14472
+ "name": null,
14473
+ "ofType": {
14474
+ "kind": "OBJECT",
14475
+ "name": "SubscriptionPricingTypeStatistics",
14476
+ "ofType": null
14477
+ }
14478
+ }
14479
+ }
14480
+ },
14481
+ "isDeprecated": false,
14482
+ "deprecationReason": null
14483
+ }
14484
+ ],
14485
+ "inputFields": null,
14486
+ "interfaces": [],
14487
+ "enumValues": null,
14488
+ "possibleTypes": null
14489
+ },
14351
14490
  {
14352
14491
  "kind": "OBJECT",
14353
14492
  "name": "CustomerSubscription",
@@ -20828,6 +20967,12 @@
20828
20967
  "isDeprecated": false,
20829
20968
  "deprecationReason": null
20830
20969
  },
20970
+ {
20971
+ "name": "AwsMarketplaceIntegrationValidationError",
20972
+ "description": null,
20973
+ "isDeprecated": false,
20974
+ "deprecationReason": null
20975
+ },
20831
20976
  {
20832
20977
  "name": "BadUserInput",
20833
20978
  "description": null,
@@ -21056,6 +21201,12 @@
21056
21201
  "isDeprecated": false,
21057
21202
  "deprecationReason": null
21058
21203
  },
21204
+ {
21205
+ "name": "IntegrationValidationError",
21206
+ "description": null,
21207
+ "isDeprecated": false,
21208
+ "deprecationReason": null
21209
+ },
21059
21210
  {
21060
21211
  "name": "IntegrityViolation",
21061
21212
  "description": null,
@@ -33528,6 +33679,39 @@
33528
33679
  "isDeprecated": false,
33529
33680
  "deprecationReason": null
33530
33681
  },
33682
+ {
33683
+ "name": "createOrUpdateAwsMarketplaceProduct",
33684
+ "description": null,
33685
+ "args": [
33686
+ {
33687
+ "name": "input",
33688
+ "description": null,
33689
+ "type": {
33690
+ "kind": "NON_NULL",
33691
+ "name": null,
33692
+ "ofType": {
33693
+ "kind": "INPUT_OBJECT",
33694
+ "name": "CreateOrUpdateAwsMarketplaceProductInput",
33695
+ "ofType": null
33696
+ }
33697
+ },
33698
+ "defaultValue": null,
33699
+ "isDeprecated": false,
33700
+ "deprecationReason": null
33701
+ }
33702
+ ],
33703
+ "type": {
33704
+ "kind": "NON_NULL",
33705
+ "name": null,
33706
+ "ofType": {
33707
+ "kind": "OBJECT",
33708
+ "name": "Product",
33709
+ "ofType": null
33710
+ }
33711
+ },
33712
+ "isDeprecated": false,
33713
+ "deprecationReason": null
33714
+ },
33531
33715
  {
33532
33716
  "name": "createPlanDraft",
33533
33717
  "description": null,
@@ -46796,18 +46980,6 @@
46796
46980
  "isDeprecated": false,
46797
46981
  "deprecationReason": null
46798
46982
  },
46799
- {
46800
- "name": "awsMarketplaceConfiguration",
46801
- "description": null,
46802
- "type": {
46803
- "kind": "INPUT_OBJECT",
46804
- "name": "AwsMarketplaceConfigurationInput",
46805
- "ofType": null
46806
- },
46807
- "defaultValue": null,
46808
- "isDeprecated": false,
46809
- "deprecationReason": null
46810
- },
46811
46983
  {
46812
46984
  "name": "description",
46813
46985
  "description": null,
@@ -46848,18 +47020,6 @@
46848
47020
  "isDeprecated": false,
46849
47021
  "deprecationReason": null
46850
47022
  },
46851
- {
46852
- "name": "integrationType",
46853
- "description": null,
46854
- "type": {
46855
- "kind": "ENUM",
46856
- "name": "ProductIntegrationType",
46857
- "ofType": null
46858
- },
46859
- "defaultValue": null,
46860
- "isDeprecated": false,
46861
- "deprecationReason": null
46862
- },
46863
47023
  {
46864
47024
  "name": "multipleSubscriptions",
46865
47025
  "description": null,
@@ -47314,23 +47474,6 @@
47314
47474
  "enumValues": null,
47315
47475
  "possibleTypes": null
47316
47476
  },
47317
- {
47318
- "kind": "ENUM",
47319
- "name": "ProductIntegrationType",
47320
- "description": "The type of the product integration",
47321
- "fields": null,
47322
- "inputFields": null,
47323
- "interfaces": null,
47324
- "enumValues": [
47325
- {
47326
- "name": "AWSMarketplace",
47327
- "description": null,
47328
- "isDeprecated": false,
47329
- "deprecationReason": null
47330
- }
47331
- ],
47332
- "possibleTypes": null
47333
- },
47334
47477
  {
47335
47478
  "kind": "OBJECT",
47336
47479
  "name": "ProductMaxAggregate",
@@ -47915,18 +48058,6 @@
47915
48058
  "isDeprecated": false,
47916
48059
  "deprecationReason": null
47917
48060
  },
47918
- {
47919
- "name": "awsMarketplaceConfiguration",
47920
- "description": null,
47921
- "type": {
47922
- "kind": "INPUT_OBJECT",
47923
- "name": "UpdateAwsMarketplaceConfigurationInput",
47924
- "ofType": null
47925
- },
47926
- "defaultValue": null,
47927
- "isDeprecated": false,
47928
- "deprecationReason": null
47929
- },
47930
48061
  {
47931
48062
  "name": "description",
47932
48063
  "description": null,
@@ -62588,6 +62719,49 @@
62588
62719
  "enumValues": null,
62589
62720
  "possibleTypes": null
62590
62721
  },
62722
+ {
62723
+ "kind": "OBJECT",
62724
+ "name": "SubscriptionPricingTypeStatistics",
62725
+ "description": null,
62726
+ "fields": [
62727
+ {
62728
+ "name": "pricingType",
62729
+ "description": null,
62730
+ "args": [],
62731
+ "type": {
62732
+ "kind": "NON_NULL",
62733
+ "name": null,
62734
+ "ofType": {
62735
+ "kind": "ENUM",
62736
+ "name": "PricingType",
62737
+ "ofType": null
62738
+ }
62739
+ },
62740
+ "isDeprecated": false,
62741
+ "deprecationReason": null
62742
+ },
62743
+ {
62744
+ "name": "totalCount",
62745
+ "description": null,
62746
+ "args": [],
62747
+ "type": {
62748
+ "kind": "NON_NULL",
62749
+ "name": null,
62750
+ "ofType": {
62751
+ "kind": "SCALAR",
62752
+ "name": "Float",
62753
+ "ofType": null
62754
+ }
62755
+ },
62756
+ "isDeprecated": false,
62757
+ "deprecationReason": null
62758
+ }
62759
+ ],
62760
+ "inputFields": null,
62761
+ "interfaces": [],
62762
+ "enumValues": null,
62763
+ "possibleTypes": null
62764
+ },
62591
62765
  {
62592
62766
  "kind": "ENUM",
62593
62767
  "name": "SubscriptionScheduleStatus",
@@ -65011,41 +65185,6 @@
65011
65185
  "enumValues": null,
65012
65186
  "possibleTypes": null
65013
65187
  },
65014
- {
65015
- "kind": "INPUT_OBJECT",
65016
- "name": "UpdateAwsMarketplaceConfigurationInput",
65017
- "description": null,
65018
- "fields": null,
65019
- "inputFields": [
65020
- {
65021
- "name": "dimensionsMapping",
65022
- "description": null,
65023
- "type": {
65024
- "kind": "NON_NULL",
65025
- "name": null,
65026
- "ofType": {
65027
- "kind": "LIST",
65028
- "name": null,
65029
- "ofType": {
65030
- "kind": "NON_NULL",
65031
- "name": null,
65032
- "ofType": {
65033
- "kind": "INPUT_OBJECT",
65034
- "name": "DimensionsMappingInput",
65035
- "ofType": null
65036
- }
65037
- }
65038
- }
65039
- },
65040
- "defaultValue": null,
65041
- "isDeprecated": false,
65042
- "deprecationReason": null
65043
- }
65044
- ],
65045
- "interfaces": null,
65046
- "enumValues": null,
65047
- "possibleTypes": null
65048
- },
65049
65188
  {
65050
65189
  "kind": "INPUT_OBJECT",
65051
65190
  "name": "UpdateCouponInput",
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.682.9"
4
+ VERSION = "0.690.5"
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.682.9
4
+ version: 0.690.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-29 00:00:00.000000000 Z
11
+ date: 2023-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient