stigg-api-client 0.550.0 → 0.556.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: c93241337f0d55c56b2ae991902060572b6211ce5e30dae8fca0218cb49dba05
4
- data.tar.gz: 79c5d5b160e304d8ce5b2e314a0690441e01fbd405087d9ff886b667ff89d6a1
3
+ metadata.gz: 3bf4950938a35aa53f161af9fb5b527cb1140aa159fe3c77d38f15977c31554c
4
+ data.tar.gz: 7273f7139c3a68b6e973d42266f14f42f25bfc8feb2aa2bd09d3b8f0d230f4a6
5
5
  SHA512:
6
- metadata.gz: c4acec12b6af94b4e14ff96455e8e5255d0bd7a014d063be89842340e1ebe61d1dee69296fc510d37d506c4b111e3bf7876d2d9301d40630e1c53f941b8e2955
7
- data.tar.gz: f5c3d2d2741933b97a58fe16f01ea93fc452ce0f6693cf2afb3960bd3fb8a8dd5c21d457794b017b2642d2a34a321a747d76618727afe3fa593a512bc2f2bc5d
6
+ metadata.gz: 2ae9fa4d9d77cebc954ca3c0acf177c62981855308e61492f9701df9ff312d89ee0b69a2c554dae43c9d4be1bd07ec95718a70359244c2baa307b4d9e85d3868
7
+ data.tar.gz: 04fa7779030c03105b629fd459537619bc5bd2b278ee639f4b561477b6b94845d5458c756a9418231883376731ac1808e56ddcf0404c91ba18cc39757c90ded9
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.556.0)
5
5
  graphlient (~> 0.7.0)
6
6
 
7
7
  GEM
@@ -15,7 +15,6 @@ module Stigg
15
15
  updatedAt
16
16
  billingId
17
17
  billingLinkUrl
18
- type
19
18
  status
20
19
  syncStates {
21
20
  vendorIdentifier
@@ -486,6 +485,20 @@ module Stigg
486
485
  }
487
486
  isPlanDowngrade
488
487
  hasScheduledUpdates
488
+ credits {
489
+ initial {
490
+ amount
491
+ currency
492
+ }
493
+ used {
494
+ amount
495
+ currency
496
+ }
497
+ remaining {
498
+ amount
499
+ currency
500
+ }
501
+ }
489
502
  }
490
503
  GRAPHQL
491
504
 
@@ -546,82 +559,6 @@ module Stigg
546
559
  }
547
560
  GRAPHQL
548
561
 
549
- PaywallPackageEntitlementFragment = <<~GRAPHQL
550
- fragment PaywallPackageEntitlementFragment on PackageEntitlement {
551
- usageLimit
552
- hasUnlimitedUsage
553
- featureId
554
- resetPeriod
555
- hiddenFromWidgets
556
- displayNameOverride
557
- feature {
558
- featureType
559
- meterType
560
- featureUnits
561
- featureUnitsPlural
562
- displayName
563
- description
564
- refId
565
- additionalMetaData
566
- }
567
- }
568
- GRAPHQL
569
-
570
- PaywallAddonFragment = <<~GRAPHQL
571
- fragment PaywallAddonFragment on Addon {
572
- id
573
- refId
574
- billingId
575
- displayName
576
- description
577
- additionalMetaData
578
- billingId
579
- entitlements {
580
- ...PaywallPackageEntitlementFragment
581
- }
582
- prices {
583
- ...PriceFragment
584
- }
585
- additionalMetaData
586
- pricingType
587
- }
588
- GRAPHQL
589
-
590
- PaywallPlanFragment = <<~GRAPHQL
591
- fragment PaywallPlanFragment on Plan {
592
- id
593
- refId
594
- description
595
- displayName
596
- billingId
597
- product {
598
- ...ProductFragment
599
- }
600
- basePlan {
601
- refId
602
- displayName
603
- }
604
- entitlements {
605
- ...PaywallPackageEntitlementFragment
606
- }
607
- additionalMetaData
608
- inheritedEntitlements {
609
- ...PaywallPackageEntitlementFragment
610
- }
611
- prices {
612
- ...PriceFragment
613
- }
614
- pricingType
615
- defaultTrialConfig {
616
- duration
617
- units
618
- }
619
- compatibleAddons {
620
- ...PaywallAddonFragment
621
- }
622
- }
623
- GRAPHQL
624
-
625
562
  TypographyConfigurationFragment = <<~GRAPHQL
626
563
  fragment TypographyConfigurationFragment on TypographyConfiguration {
627
564
  fontFamily
@@ -675,8 +612,8 @@ module Stigg
675
612
  }
676
613
  GRAPHQL
677
614
 
678
- PaywallCurrency = <<~GRAPHQL
679
- fragment PaywallCurrency on PaywallCurrency {
615
+ PaywallCurrencyFragment = <<~GRAPHQL
616
+ fragment PaywallCurrencyFragment on PaywallCurrency {
680
617
  code
681
618
  symbol
682
619
  }
@@ -724,13 +661,13 @@ module Stigg
724
661
  ...CustomerPortalSubscriptionFragment
725
662
  }
726
663
  entitlements {
727
- ...CustomerPortalEntitlement
664
+ ...CustomerPortalEntitlementFragment
728
665
  }
729
666
  promotionalEntitlements {
730
- ...CustomerPortalPromotionalEntitlement
667
+ ...CustomerPortalPromotionalEntitlementFragment
731
668
  }
732
669
  billingInformation {
733
- ...CustomerPortalBillingInformation
670
+ ...CustomerPortalBillingInformationFragment
734
671
  }
735
672
  showWatermark
736
673
  billingPortalUrl
@@ -789,7 +726,7 @@ module Stigg
789
726
  }
790
727
  customCss
791
728
  content {
792
- collectPhoneNumber
729
+ collectPhoneNumber
793
730
  }
794
731
  __typename
795
732
  }
@@ -876,16 +813,16 @@ module Stigg
876
813
  }
877
814
  }
878
815
  addons {
879
- ...CustomerPortalSubscriptionAddon
816
+ ...CustomerPortalSubscriptionAddonFragment
880
817
  }
881
818
  scheduledUpdates {
882
- ...CustomerPortalSubscriptionScheduledUpdateData
819
+ ...CustomerPortalSubscriptionScheduledUpdateDataFragment
883
820
  }
884
821
  }
885
822
  GRAPHQL
886
823
 
887
- CustomerPortalSubscriptionAddon = <<~GRAPHQL
888
- fragment CustomerPortalSubscriptionAddon on CustomerPortalAddon {
824
+ CustomerPortalSubscriptionAddonFragment = <<~GRAPHQL
825
+ fragment CustomerPortalSubscriptionAddonFragment on CustomerPortalAddon {
889
826
  addonId
890
827
  description
891
828
  displayName
@@ -893,8 +830,8 @@ module Stigg
893
830
  }
894
831
  GRAPHQL
895
832
 
896
- CustomerPortalSubscriptionScheduledUpdateData = <<~GRAPHQL
897
- fragment CustomerPortalSubscriptionScheduledUpdateData on SubscriptionScheduledUpdate {
833
+ CustomerPortalSubscriptionScheduledUpdateDataFragment = <<~GRAPHQL
834
+ fragment CustomerPortalSubscriptionScheduledUpdateDataFragment on SubscriptionScheduledUpdate {
898
835
  subscriptionScheduleType
899
836
  scheduleStatus
900
837
  scheduledExecutionTime
@@ -925,8 +862,8 @@ module Stigg
925
862
  }
926
863
  GRAPHQL
927
864
 
928
- CustomerPortalEntitlement = <<~GRAPHQL
929
- fragment CustomerPortalEntitlement on Entitlement {
865
+ CustomerPortalEntitlementFragment = <<~GRAPHQL
866
+ fragment CustomerPortalEntitlementFragment on Entitlement {
930
867
  isGranted
931
868
  usageLimit
932
869
  currentUsage
@@ -942,8 +879,8 @@ module Stigg
942
879
  }
943
880
  GRAPHQL
944
881
 
945
- CustomerPortalPromotionalEntitlement = <<~GRAPHQL
946
- fragment CustomerPortalPromotionalEntitlement on CustomerPortalPromotionalEntitlement {
882
+ CustomerPortalPromotionalEntitlementFragment = <<~GRAPHQL
883
+ fragment CustomerPortalPromotionalEntitlementFragment on CustomerPortalPromotionalEntitlement {
947
884
  displayName
948
885
  hasUnlimitedUsage
949
886
  usageLimit
@@ -953,13 +890,12 @@ module Stigg
953
890
  }
954
891
  GRAPHQL
955
892
 
956
- CustomerPortalBillingInformation = <<~GRAPHQL
957
- fragment CustomerPortalBillingInformation on CustomerPortalBillingInformation {
893
+ CustomerPortalBillingInformationFragment = <<~GRAPHQL
894
+ fragment CustomerPortalBillingInformationFragment on CustomerPortalBillingInformation {
958
895
  email
959
896
  name
960
897
  defaultPaymentMethodLast4Digits
961
898
  defaultPaymentMethodId
962
- defaultPaymentMethodLast4Digits
963
899
  defaultPaymentExpirationMonth
964
900
  defaultPaymentExpirationYear
965
901
  }
@@ -1088,7 +1024,7 @@ module Stigg
1088
1024
  ...PlanFragment
1089
1025
  }
1090
1026
  currency {
1091
- ...PaywallCurrency
1027
+ ...PaywallCurrencyFragment
1092
1028
  }
1093
1029
  configuration {
1094
1030
  ...PaywallConfigurationFragment
@@ -1167,6 +1103,27 @@ module Stigg
1167
1103
  #{Fragment::SlimCustomerFragment}
1168
1104
  GRAPHQL
1169
1105
 
1106
+ GrantPromotionalEntitlements = <<~GRAPHQL
1107
+ mutation (
1108
+ $input: GrantPromotionalEntitlementsInput!
1109
+ ) {
1110
+ grantPromotionalEntitlements(input: $input) {
1111
+ ...PromotionalEntitlementFragment
1112
+ }
1113
+ }
1114
+ #{Fragment::PromotionalEntitlementFragment}
1115
+ GRAPHQL
1116
+
1117
+ RevokePromotionalEntitlement = <<~GRAPHQL
1118
+ mutation (
1119
+ $input: RevokePromotionalEntitlementInput!
1120
+ ) {
1121
+ revokePromotionalEntitlement(input: $input) {
1122
+ id
1123
+ }
1124
+ }
1125
+ GRAPHQL
1126
+
1170
1127
  ProvisionSubscription = <<~GRAPHQL
1171
1128
  mutation ($input: ProvisionSubscriptionInput!) {
1172
1129
  provisionSubscription: provisionSubscriptionV2(input: $input) {
@@ -1420,7 +1377,7 @@ module Stigg
1420
1377
  #{Fragment::AddonFragment}
1421
1378
  #{Fragment::PriceFragment}
1422
1379
  #{Fragment::PriceTierFragment}
1423
- #{Fragment::PaywallCurrency}
1380
+ #{Fragment::PaywallCurrencyFragment}
1424
1381
  #{Fragment::PaywallConfigurationFragment}
1425
1382
  #{Fragment::TypographyConfigurationFragment}
1426
1383
  #{Fragment::FontVariantFragment}
@@ -1491,20 +1448,20 @@ module Stigg
1491
1448
  #{Fragment::CustomerPortalFragment}
1492
1449
  #{Fragment::CustomerPortalSubscriptionFragment}
1493
1450
  #{Fragment::CustomerPortalSubscriptionPriceFragment}
1494
- #{Fragment::CustomerPortalSubscriptionAddon}
1495
- #{Fragment::CustomerPortalSubscriptionScheduledUpdateData}
1496
- #{Fragment::CustomerPortalEntitlement}
1451
+ #{Fragment::CustomerPortalSubscriptionAddonFragment}
1452
+ #{Fragment::CustomerPortalSubscriptionScheduledUpdateDataFragment}
1453
+ #{Fragment::CustomerPortalEntitlementFragment}
1497
1454
  #{Fragment::ResetPeriodConfigurationFragment}
1498
1455
  #{Fragment::FeatureFragment}
1499
- #{Fragment::CustomerPortalPromotionalEntitlement}
1500
- #{Fragment::CustomerPortalBillingInformation}
1456
+ #{Fragment::CustomerPortalPromotionalEntitlementFragment}
1457
+ #{Fragment::CustomerPortalBillingInformationFragment}
1501
1458
  #{Fragment::CustomerPortalConfigurationFragment}
1502
1459
  #{Fragment::TypographyConfigurationFragment}
1503
1460
  #{Fragment::FontVariantFragment}
1504
1461
  #{Fragment::CustomerResourceFragment}
1505
1462
  GRAPHQL
1506
1463
 
1507
- CheckoutState = <<~GRAPHQL
1464
+ GetCheckoutState = <<~GRAPHQL
1508
1465
  query ($input: CheckoutStateInput!) {
1509
1466
  checkoutState(input: $input) {
1510
1467
  ...CheckoutStateFragment
@@ -1554,7 +1511,7 @@ module Stigg
1554
1511
  #{Fragment::LayoutConfigurationFragment}
1555
1512
  GRAPHQL
1556
1513
 
1557
- UsageHistory = <<~GRAPHQL
1514
+ GetUsageHistory = <<~GRAPHQL
1558
1515
  query ($usageHistoryInput: UsageHistoryInput!) {
1559
1516
  usageHistory(usageHistoryInput: $usageHistoryInput) {
1560
1517
  ...UsageHistoryFragment
@@ -1563,7 +1520,7 @@ module Stigg
1563
1520
  #{Fragment::UsageHistoryFragment}
1564
1521
  GRAPHQL
1565
1522
 
1566
- EntitlementsUpdated = <<~GRAPHQL
1523
+ OnEntitlementsUpdated = <<~GRAPHQL
1567
1524
  subscription {
1568
1525
  entitlementsUpdated {
1569
1526
  ...EntitlementsUpdatedPayload
@@ -1575,7 +1532,7 @@ module Stigg
1575
1532
  #{Fragment::FeatureFragment}
1576
1533
  GRAPHQL
1577
1534
 
1578
- UsageUpdated = <<~GRAPHQL
1535
+ OnUsageUpdated = <<~GRAPHQL
1579
1536
  subscription {
1580
1537
  usageUpdated {
1581
1538
  ...EntitlementUsageUpdated
@@ -3653,6 +3653,89 @@
3653
3653
  "enumValues": null,
3654
3654
  "possibleTypes": null
3655
3655
  },
3656
+ {
3657
+ "kind": "INPUT_OBJECT",
3658
+ "name": "BillingAddress",
3659
+ "description": null,
3660
+ "fields": null,
3661
+ "inputFields": [
3662
+ {
3663
+ "name": "city",
3664
+ "description": null,
3665
+ "type": {
3666
+ "kind": "SCALAR",
3667
+ "name": "String",
3668
+ "ofType": null
3669
+ },
3670
+ "defaultValue": null,
3671
+ "isDeprecated": false,
3672
+ "deprecationReason": null
3673
+ },
3674
+ {
3675
+ "name": "country",
3676
+ "description": null,
3677
+ "type": {
3678
+ "kind": "SCALAR",
3679
+ "name": "String",
3680
+ "ofType": null
3681
+ },
3682
+ "defaultValue": null,
3683
+ "isDeprecated": false,
3684
+ "deprecationReason": null
3685
+ },
3686
+ {
3687
+ "name": "line1",
3688
+ "description": null,
3689
+ "type": {
3690
+ "kind": "SCALAR",
3691
+ "name": "String",
3692
+ "ofType": null
3693
+ },
3694
+ "defaultValue": null,
3695
+ "isDeprecated": false,
3696
+ "deprecationReason": null
3697
+ },
3698
+ {
3699
+ "name": "line2",
3700
+ "description": null,
3701
+ "type": {
3702
+ "kind": "SCALAR",
3703
+ "name": "String",
3704
+ "ofType": null
3705
+ },
3706
+ "defaultValue": null,
3707
+ "isDeprecated": false,
3708
+ "deprecationReason": null
3709
+ },
3710
+ {
3711
+ "name": "postalCode",
3712
+ "description": null,
3713
+ "type": {
3714
+ "kind": "SCALAR",
3715
+ "name": "String",
3716
+ "ofType": null
3717
+ },
3718
+ "defaultValue": null,
3719
+ "isDeprecated": false,
3720
+ "deprecationReason": null
3721
+ },
3722
+ {
3723
+ "name": "state",
3724
+ "description": null,
3725
+ "type": {
3726
+ "kind": "SCALAR",
3727
+ "name": "String",
3728
+ "ofType": null
3729
+ },
3730
+ "defaultValue": null,
3731
+ "isDeprecated": false,
3732
+ "deprecationReason": null
3733
+ }
3734
+ ],
3735
+ "interfaces": null,
3736
+ "enumValues": null,
3737
+ "possibleTypes": null
3738
+ },
3656
3739
  {
3657
3740
  "kind": "ENUM",
3658
3741
  "name": "BillingAnchor",
@@ -20659,6 +20742,12 @@
20659
20742
  "isDeprecated": false,
20660
20743
  "deprecationReason": null
20661
20744
  },
20745
+ {
20746
+ "name": "PromotionalEntitlementNotFoundError",
20747
+ "description": null,
20748
+ "isDeprecated": false,
20749
+ "deprecationReason": null
20750
+ },
20662
20751
  {
20663
20752
  "name": "RateLimitExceeded",
20664
20753
  "description": null,
@@ -25821,6 +25910,196 @@
25821
25910
  "enumValues": null,
25822
25911
  "possibleTypes": null
25823
25912
  },
25913
+ {
25914
+ "kind": "INPUT_OBJECT",
25915
+ "name": "GrantPromotionalEntitlementInput",
25916
+ "description": null,
25917
+ "fields": null,
25918
+ "inputFields": [
25919
+ {
25920
+ "name": "customEndDate",
25921
+ "description": null,
25922
+ "type": {
25923
+ "kind": "SCALAR",
25924
+ "name": "DateTime",
25925
+ "ofType": null
25926
+ },
25927
+ "defaultValue": null,
25928
+ "isDeprecated": false,
25929
+ "deprecationReason": null
25930
+ },
25931
+ {
25932
+ "name": "featureId",
25933
+ "description": null,
25934
+ "type": {
25935
+ "kind": "NON_NULL",
25936
+ "name": null,
25937
+ "ofType": {
25938
+ "kind": "SCALAR",
25939
+ "name": "String",
25940
+ "ofType": null
25941
+ }
25942
+ },
25943
+ "defaultValue": null,
25944
+ "isDeprecated": false,
25945
+ "deprecationReason": null
25946
+ },
25947
+ {
25948
+ "name": "hasUnlimitedUsage",
25949
+ "description": null,
25950
+ "type": {
25951
+ "kind": "SCALAR",
25952
+ "name": "Boolean",
25953
+ "ofType": null
25954
+ },
25955
+ "defaultValue": null,
25956
+ "isDeprecated": false,
25957
+ "deprecationReason": null
25958
+ },
25959
+ {
25960
+ "name": "isVisible",
25961
+ "description": null,
25962
+ "type": {
25963
+ "kind": "SCALAR",
25964
+ "name": "Boolean",
25965
+ "ofType": null
25966
+ },
25967
+ "defaultValue": null,
25968
+ "isDeprecated": false,
25969
+ "deprecationReason": null
25970
+ },
25971
+ {
25972
+ "name": "monthlyResetPeriodConfiguration",
25973
+ "description": null,
25974
+ "type": {
25975
+ "kind": "INPUT_OBJECT",
25976
+ "name": "MonthlyResetPeriodConfigInput",
25977
+ "ofType": null
25978
+ },
25979
+ "defaultValue": null,
25980
+ "isDeprecated": false,
25981
+ "deprecationReason": null
25982
+ },
25983
+ {
25984
+ "name": "period",
25985
+ "description": null,
25986
+ "type": {
25987
+ "kind": "NON_NULL",
25988
+ "name": null,
25989
+ "ofType": {
25990
+ "kind": "ENUM",
25991
+ "name": "PromotionalEntitlementPeriod",
25992
+ "ofType": null
25993
+ }
25994
+ },
25995
+ "defaultValue": null,
25996
+ "isDeprecated": false,
25997
+ "deprecationReason": null
25998
+ },
25999
+ {
26000
+ "name": "resetPeriod",
26001
+ "description": null,
26002
+ "type": {
26003
+ "kind": "ENUM",
26004
+ "name": "EntitlementResetPeriod",
26005
+ "ofType": null
26006
+ },
26007
+ "defaultValue": null,
26008
+ "isDeprecated": false,
26009
+ "deprecationReason": null
26010
+ },
26011
+ {
26012
+ "name": "usageLimit",
26013
+ "description": null,
26014
+ "type": {
26015
+ "kind": "SCALAR",
26016
+ "name": "Float",
26017
+ "ofType": null
26018
+ },
26019
+ "defaultValue": null,
26020
+ "isDeprecated": false,
26021
+ "deprecationReason": null
26022
+ },
26023
+ {
26024
+ "name": "weeklyResetPeriodConfiguration",
26025
+ "description": null,
26026
+ "type": {
26027
+ "kind": "INPUT_OBJECT",
26028
+ "name": "WeeklyResetPeriodConfigInput",
26029
+ "ofType": null
26030
+ },
26031
+ "defaultValue": null,
26032
+ "isDeprecated": false,
26033
+ "deprecationReason": null
26034
+ }
26035
+ ],
26036
+ "interfaces": null,
26037
+ "enumValues": null,
26038
+ "possibleTypes": null
26039
+ },
26040
+ {
26041
+ "kind": "INPUT_OBJECT",
26042
+ "name": "GrantPromotionalEntitlementsInput",
26043
+ "description": null,
26044
+ "fields": null,
26045
+ "inputFields": [
26046
+ {
26047
+ "name": "customerId",
26048
+ "description": null,
26049
+ "type": {
26050
+ "kind": "NON_NULL",
26051
+ "name": null,
26052
+ "ofType": {
26053
+ "kind": "SCALAR",
26054
+ "name": "String",
26055
+ "ofType": null
26056
+ }
26057
+ },
26058
+ "defaultValue": null,
26059
+ "isDeprecated": false,
26060
+ "deprecationReason": null
26061
+ },
26062
+ {
26063
+ "name": "environmentId",
26064
+ "description": null,
26065
+ "type": {
26066
+ "kind": "SCALAR",
26067
+ "name": "String",
26068
+ "ofType": null
26069
+ },
26070
+ "defaultValue": null,
26071
+ "isDeprecated": false,
26072
+ "deprecationReason": null
26073
+ },
26074
+ {
26075
+ "name": "promotionalEntitlements",
26076
+ "description": null,
26077
+ "type": {
26078
+ "kind": "NON_NULL",
26079
+ "name": null,
26080
+ "ofType": {
26081
+ "kind": "LIST",
26082
+ "name": null,
26083
+ "ofType": {
26084
+ "kind": "NON_NULL",
26085
+ "name": null,
26086
+ "ofType": {
26087
+ "kind": "INPUT_OBJECT",
26088
+ "name": "GrantPromotionalEntitlementInput",
26089
+ "ofType": null
26090
+ }
26091
+ }
26092
+ }
26093
+ },
26094
+ "defaultValue": null,
26095
+ "isDeprecated": false,
26096
+ "deprecationReason": null
26097
+ }
26098
+ ],
26099
+ "interfaces": null,
26100
+ "enumValues": null,
26101
+ "possibleTypes": null
26102
+ },
25824
26103
  {
25825
26104
  "kind": "OBJECT",
25826
26105
  "name": "HiddenFromWidgetsChange",
@@ -32785,6 +33064,47 @@
32785
33064
  "isDeprecated": false,
32786
33065
  "deprecationReason": null
32787
33066
  },
33067
+ {
33068
+ "name": "grantPromotionalEntitlements",
33069
+ "description": null,
33070
+ "args": [
33071
+ {
33072
+ "name": "input",
33073
+ "description": null,
33074
+ "type": {
33075
+ "kind": "NON_NULL",
33076
+ "name": null,
33077
+ "ofType": {
33078
+ "kind": "INPUT_OBJECT",
33079
+ "name": "GrantPromotionalEntitlementsInput",
33080
+ "ofType": null
33081
+ }
33082
+ },
33083
+ "defaultValue": null,
33084
+ "isDeprecated": false,
33085
+ "deprecationReason": null
33086
+ }
33087
+ ],
33088
+ "type": {
33089
+ "kind": "NON_NULL",
33090
+ "name": null,
33091
+ "ofType": {
33092
+ "kind": "LIST",
33093
+ "name": null,
33094
+ "ofType": {
33095
+ "kind": "NON_NULL",
33096
+ "name": null,
33097
+ "ofType": {
33098
+ "kind": "OBJECT",
33099
+ "name": "PromotionalEntitlement",
33100
+ "ofType": null
33101
+ }
33102
+ }
33103
+ }
33104
+ },
33105
+ "isDeprecated": false,
33106
+ "deprecationReason": null
33107
+ },
32788
33108
  {
32789
33109
  "name": "hideGettingStartedPage",
32790
33110
  "description": null,
@@ -33770,6 +34090,39 @@
33770
34090
  "isDeprecated": false,
33771
34091
  "deprecationReason": null
33772
34092
  },
34093
+ {
34094
+ "name": "revokePromotionalEntitlement",
34095
+ "description": null,
34096
+ "args": [
34097
+ {
34098
+ "name": "input",
34099
+ "description": null,
34100
+ "type": {
34101
+ "kind": "NON_NULL",
34102
+ "name": null,
34103
+ "ofType": {
34104
+ "kind": "INPUT_OBJECT",
34105
+ "name": "RevokePromotionalEntitlementInput",
34106
+ "ofType": null
34107
+ }
34108
+ },
34109
+ "defaultValue": null,
34110
+ "isDeprecated": false,
34111
+ "deprecationReason": null
34112
+ }
34113
+ ],
34114
+ "type": {
34115
+ "kind": "NON_NULL",
34116
+ "name": null,
34117
+ "ofType": {
34118
+ "kind": "OBJECT",
34119
+ "name": "PromotionalEntitlement",
34120
+ "ofType": null
34121
+ }
34122
+ },
34123
+ "isDeprecated": false,
34124
+ "deprecationReason": null
34125
+ },
33773
34126
  {
33774
34127
  "name": "setBasePlanOnPlan",
33775
34128
  "description": null,
@@ -51991,6 +52344,61 @@
51991
52344
  "enumValues": null,
51992
52345
  "possibleTypes": null
51993
52346
  },
52347
+ {
52348
+ "kind": "INPUT_OBJECT",
52349
+ "name": "RevokePromotionalEntitlementInput",
52350
+ "description": null,
52351
+ "fields": null,
52352
+ "inputFields": [
52353
+ {
52354
+ "name": "customerId",
52355
+ "description": null,
52356
+ "type": {
52357
+ "kind": "NON_NULL",
52358
+ "name": null,
52359
+ "ofType": {
52360
+ "kind": "SCALAR",
52361
+ "name": "String",
52362
+ "ofType": null
52363
+ }
52364
+ },
52365
+ "defaultValue": null,
52366
+ "isDeprecated": false,
52367
+ "deprecationReason": null
52368
+ },
52369
+ {
52370
+ "name": "environmentId",
52371
+ "description": null,
52372
+ "type": {
52373
+ "kind": "SCALAR",
52374
+ "name": "String",
52375
+ "ofType": null
52376
+ },
52377
+ "defaultValue": null,
52378
+ "isDeprecated": false,
52379
+ "deprecationReason": null
52380
+ },
52381
+ {
52382
+ "name": "featureId",
52383
+ "description": null,
52384
+ "type": {
52385
+ "kind": "NON_NULL",
52386
+ "name": null,
52387
+ "ofType": {
52388
+ "kind": "SCALAR",
52389
+ "name": "String",
52390
+ "ofType": null
52391
+ }
52392
+ },
52393
+ "defaultValue": null,
52394
+ "isDeprecated": false,
52395
+ "deprecationReason": null
52396
+ }
52397
+ ],
52398
+ "interfaces": null,
52399
+ "enumValues": null,
52400
+ "possibleTypes": null
52401
+ },
51994
52402
  {
51995
52403
  "kind": "UNION",
51996
52404
  "name": "ScheduleVariables",
@@ -55004,6 +55412,18 @@
55004
55412
  "description": null,
55005
55413
  "fields": null,
55006
55414
  "inputFields": [
55415
+ {
55416
+ "name": "billingAddress",
55417
+ "description": null,
55418
+ "type": {
55419
+ "kind": "INPUT_OBJECT",
55420
+ "name": "BillingAddress",
55421
+ "ofType": null
55422
+ },
55423
+ "defaultValue": null,
55424
+ "isDeprecated": false,
55425
+ "deprecationReason": null
55426
+ },
55007
55427
  {
55008
55428
  "name": "taxPercentage",
55009
55429
  "description": null,
@@ -58513,6 +58933,18 @@
58513
58933
  "isDeprecated": false,
58514
58934
  "deprecationReason": null
58515
58935
  },
58936
+ {
58937
+ "name": "credits",
58938
+ "description": null,
58939
+ "args": [],
58940
+ "type": {
58941
+ "kind": "OBJECT",
58942
+ "name": "SubscriptionPreviewCredits",
58943
+ "ofType": null
58944
+ },
58945
+ "isDeprecated": false,
58946
+ "deprecationReason": null
58947
+ },
58516
58948
  {
58517
58949
  "name": "discount",
58518
58950
  "description": null,
@@ -58651,6 +59083,65 @@
58651
59083
  "enumValues": null,
58652
59084
  "possibleTypes": null
58653
59085
  },
59086
+ {
59087
+ "kind": "OBJECT",
59088
+ "name": "SubscriptionPreviewCredits",
59089
+ "description": null,
59090
+ "fields": [
59091
+ {
59092
+ "name": "initial",
59093
+ "description": null,
59094
+ "args": [],
59095
+ "type": {
59096
+ "kind": "NON_NULL",
59097
+ "name": null,
59098
+ "ofType": {
59099
+ "kind": "OBJECT",
59100
+ "name": "Money",
59101
+ "ofType": null
59102
+ }
59103
+ },
59104
+ "isDeprecated": false,
59105
+ "deprecationReason": null
59106
+ },
59107
+ {
59108
+ "name": "remaining",
59109
+ "description": null,
59110
+ "args": [],
59111
+ "type": {
59112
+ "kind": "NON_NULL",
59113
+ "name": null,
59114
+ "ofType": {
59115
+ "kind": "OBJECT",
59116
+ "name": "Money",
59117
+ "ofType": null
59118
+ }
59119
+ },
59120
+ "isDeprecated": false,
59121
+ "deprecationReason": null
59122
+ },
59123
+ {
59124
+ "name": "used",
59125
+ "description": null,
59126
+ "args": [],
59127
+ "type": {
59128
+ "kind": "NON_NULL",
59129
+ "name": null,
59130
+ "ofType": {
59131
+ "kind": "OBJECT",
59132
+ "name": "Money",
59133
+ "ofType": null
59134
+ }
59135
+ },
59136
+ "isDeprecated": false,
59137
+ "deprecationReason": null
59138
+ }
59139
+ ],
59140
+ "inputFields": null,
59141
+ "interfaces": [],
59142
+ "enumValues": null,
59143
+ "possibleTypes": null
59144
+ },
58654
59145
  {
58655
59146
  "kind": "OBJECT",
58656
59147
  "name": "SubscriptionPreviewDiscountDTO",
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.556.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: 0.550.0
4
+ version: 0.556.0
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-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient