stigg-api-client 2.43.0 → 2.62.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: 6fb690db906a6d13029f286f2bc00eeac442970cbe26ea53594e266950273389
4
- data.tar.gz: 03d644ca05082b74634f7146a6463dc62d66bda085d97a53a55be0af350aefd9
3
+ metadata.gz: a094b0435cb7cc7628d7cb28220a13bd3bf4e96d0cb21025028c464560e02952
4
+ data.tar.gz: 5bff36dbb189462e4eaa7988b418fd9bfc27e53235600b45f3d42063f994ce77
5
5
  SHA512:
6
- metadata.gz: cbb931d5294dcc20b75b71e5f5bb712f919c78b3409ee819392c26671dd14fdeb7603828e0fe2df4619017cfe5af3047abe8e20a911762ed7242c5f94eeb0983
7
- data.tar.gz: f1b698275aaf77f106c9346863033a2e5ec223739a3e031e6d7c1630eda1dc53a1b700a31ef0c4e44c0527e4b1d6e3eedda3e83bc91c7ea07dd4fd4bb32c52f3
6
+ metadata.gz: 9f83aa961e0769017bcd4b28cb9c88bd2e6e540e2365ac1db56d1eef3d39b1bf25723908ae28eb2b9e64782253cf2c04551edb9d50d79e6f0bb22ee1e61bb2f3
7
+ data.tar.gz: 9db588548b4b57390f5f31b52dc7e841eeabe0730894a3a5970b97fb115fb9e8232efb4944b49af01602c0ce86b46dd4df5027f0f5812040b257d4197c6d443c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (2.43.0)
4
+ stigg-api-client (2.62.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -732,6 +732,103 @@ module Stigg
732
732
  }
733
733
  GRAPHQL
734
734
 
735
+ SubscriptionInvoicePreviewFragment = <<~GRAPHQL
736
+ fragment SubscriptionInvoicePreviewFragment on SubscriptionInvoicePreview {
737
+ amountDue {
738
+ amount
739
+ currency
740
+ }
741
+ minimumSpendAdjustment {
742
+ amount
743
+ currency
744
+ }
745
+ total {
746
+ amount
747
+ currency
748
+ }
749
+ totalExcludingTax {
750
+ amount
751
+ currency
752
+ }
753
+ subTotal {
754
+ amount
755
+ currency
756
+ }
757
+ subTotalExcludingTax {
758
+ amount
759
+ currency
760
+ }
761
+ tax {
762
+ amount
763
+ currency
764
+ }
765
+ taxDetails {
766
+ displayName
767
+ percentage
768
+ inclusive
769
+ }
770
+ discount {
771
+ amount
772
+ currency
773
+ }
774
+ discountDetails {
775
+ name
776
+ type
777
+ value
778
+ durationType
779
+ durationInMonths
780
+ }
781
+ credits {
782
+ initial {
783
+ amount
784
+ currency
785
+ }
786
+ used {
787
+ amount
788
+ currency
789
+ }
790
+ remaining {
791
+ amount
792
+ currency
793
+ }
794
+ }
795
+ lastUpdatedAt
796
+ lines {
797
+ type
798
+ description
799
+ costDescription
800
+ amount {
801
+ amount
802
+ currency
803
+ }
804
+ unitPrice {
805
+ amount
806
+ currency
807
+ }
808
+ quantity
809
+ proration
810
+ price {
811
+ ...PriceFragment
812
+ }
813
+ usageLimit
814
+ period {
815
+ start
816
+ end
817
+ }
818
+ hasSoftLimit
819
+ lines {
820
+ type
821
+ description
822
+ costDescription
823
+ quantity
824
+ proration
825
+ usageLimit
826
+ hasSoftLimit
827
+ }
828
+ }
829
+ }
830
+ GRAPHQL
831
+
735
832
  FeatureFragment = <<~GRAPHQL
736
833
  fragment FeatureFragment on EntitlementFeature {
737
834
  __typename
@@ -1611,6 +1708,17 @@ module Stigg
1611
1708
  #{Fragment::SubscriptionPreviewInvoiceFragment}
1612
1709
  GRAPHQL
1613
1710
 
1711
+ PreviewNextInvoice = <<~GRAPHQL
1712
+ mutation PreviewNextInvoice($input: PreviewNextInvoiceInput!) {
1713
+ previewNextInvoice(input: $input) {
1714
+ ...SubscriptionInvoicePreviewFragment
1715
+ }
1716
+ }
1717
+ #{Fragment::SubscriptionInvoicePreviewFragment}
1718
+ #{Fragment::PriceFragment}
1719
+ #{Fragment::PriceTierFragment}
1720
+ GRAPHQL
1721
+
1614
1722
  CancelSubscriptionUpdates = <<~GRAPHQL
1615
1723
  mutation CancelSubscriptionUpdates(
1616
1724
  $input: SubscriptionUpdateScheduleCancellationInput!
@@ -409,7 +409,7 @@
409
409
  },
410
410
  {
411
411
  "name": "dependencies",
412
- "description": "List of addon ids this addon is dependant on",
412
+ "description": "List of addons this addon is dependant on",
413
413
  "args": [],
414
414
  "type": {
415
415
  "kind": "LIST",
@@ -597,7 +597,7 @@
597
597
  },
598
598
  {
599
599
  "name": "maxQuantity",
600
- "description": "The maximum quantity of the addon",
600
+ "description": "The maximum quantity of this addon that can be added to a subscription",
601
601
  "args": [],
602
602
  "type": {
603
603
  "kind": "SCALAR",
@@ -997,6 +997,265 @@
997
997
  "enumValues": null,
998
998
  "possibleTypes": null
999
999
  },
1000
+ {
1001
+ "kind": "INPUT_OBJECT",
1002
+ "name": "AddonArchiveInput",
1003
+ "description": "Archive addon input",
1004
+ "fields": null,
1005
+ "inputFields": [
1006
+ {
1007
+ "name": "environmentId",
1008
+ "description": "Environment id",
1009
+ "type": {
1010
+ "kind": "SCALAR",
1011
+ "name": "String",
1012
+ "ofType": null
1013
+ },
1014
+ "defaultValue": null,
1015
+ "isDeprecated": false,
1016
+ "deprecationReason": null
1017
+ },
1018
+ {
1019
+ "name": "refId",
1020
+ "description": "Addon id",
1021
+ "type": {
1022
+ "kind": "NON_NULL",
1023
+ "name": null,
1024
+ "ofType": {
1025
+ "kind": "SCALAR",
1026
+ "name": "String",
1027
+ "ofType": null
1028
+ }
1029
+ },
1030
+ "defaultValue": null,
1031
+ "isDeprecated": false,
1032
+ "deprecationReason": null
1033
+ }
1034
+ ],
1035
+ "interfaces": null,
1036
+ "enumValues": null,
1037
+ "possibleTypes": null
1038
+ },
1039
+ {
1040
+ "kind": "OBJECT",
1041
+ "name": "AddonAssociatedEntities",
1042
+ "description": "List of active entities associated with an addon",
1043
+ "fields": [
1044
+ {
1045
+ "name": "packageGroups",
1046
+ "description": "List of package groups that have this addon",
1047
+ "args": [],
1048
+ "type": {
1049
+ "kind": "NON_NULL",
1050
+ "name": null,
1051
+ "ofType": {
1052
+ "kind": "LIST",
1053
+ "name": null,
1054
+ "ofType": {
1055
+ "kind": "NON_NULL",
1056
+ "name": null,
1057
+ "ofType": {
1058
+ "kind": "OBJECT",
1059
+ "name": "AddonAssociatedPackageGroup",
1060
+ "ofType": null
1061
+ }
1062
+ }
1063
+ }
1064
+ },
1065
+ "isDeprecated": false,
1066
+ "deprecationReason": null
1067
+ },
1068
+ {
1069
+ "name": "plans",
1070
+ "description": "List of published or draft plans",
1071
+ "args": [],
1072
+ "type": {
1073
+ "kind": "NON_NULL",
1074
+ "name": null,
1075
+ "ofType": {
1076
+ "kind": "LIST",
1077
+ "name": null,
1078
+ "ofType": {
1079
+ "kind": "NON_NULL",
1080
+ "name": null,
1081
+ "ofType": {
1082
+ "kind": "OBJECT",
1083
+ "name": "AddonAssociatedPlan",
1084
+ "ofType": null
1085
+ }
1086
+ }
1087
+ }
1088
+ },
1089
+ "isDeprecated": false,
1090
+ "deprecationReason": null
1091
+ }
1092
+ ],
1093
+ "inputFields": null,
1094
+ "interfaces": [],
1095
+ "enumValues": null,
1096
+ "possibleTypes": null
1097
+ },
1098
+ {
1099
+ "kind": "INPUT_OBJECT",
1100
+ "name": "AddonAssociatedEntitiesInput",
1101
+ "description": "Query associated entities input",
1102
+ "fields": null,
1103
+ "inputFields": [
1104
+ {
1105
+ "name": "environmentId",
1106
+ "description": "Environment id",
1107
+ "type": {
1108
+ "kind": "NON_NULL",
1109
+ "name": null,
1110
+ "ofType": {
1111
+ "kind": "SCALAR",
1112
+ "name": "String",
1113
+ "ofType": null
1114
+ }
1115
+ },
1116
+ "defaultValue": null,
1117
+ "isDeprecated": false,
1118
+ "deprecationReason": null
1119
+ },
1120
+ {
1121
+ "name": "refId",
1122
+ "description": "Addon id",
1123
+ "type": {
1124
+ "kind": "NON_NULL",
1125
+ "name": null,
1126
+ "ofType": {
1127
+ "kind": "SCALAR",
1128
+ "name": "String",
1129
+ "ofType": null
1130
+ }
1131
+ },
1132
+ "defaultValue": null,
1133
+ "isDeprecated": false,
1134
+ "deprecationReason": null
1135
+ }
1136
+ ],
1137
+ "interfaces": null,
1138
+ "enumValues": null,
1139
+ "possibleTypes": null
1140
+ },
1141
+ {
1142
+ "kind": "OBJECT",
1143
+ "name": "AddonAssociatedPackageGroup",
1144
+ "description": "List of package groups associated with an addon",
1145
+ "fields": [
1146
+ {
1147
+ "name": "displayName",
1148
+ "description": "Package group display name",
1149
+ "args": [],
1150
+ "type": {
1151
+ "kind": "NON_NULL",
1152
+ "name": null,
1153
+ "ofType": {
1154
+ "kind": "SCALAR",
1155
+ "name": "String",
1156
+ "ofType": null
1157
+ }
1158
+ },
1159
+ "isDeprecated": false,
1160
+ "deprecationReason": null
1161
+ },
1162
+ {
1163
+ "name": "packageGroupId",
1164
+ "description": "Package group id",
1165
+ "args": [],
1166
+ "type": {
1167
+ "kind": "NON_NULL",
1168
+ "name": null,
1169
+ "ofType": {
1170
+ "kind": "SCALAR",
1171
+ "name": "String",
1172
+ "ofType": null
1173
+ }
1174
+ },
1175
+ "isDeprecated": false,
1176
+ "deprecationReason": null
1177
+ }
1178
+ ],
1179
+ "inputFields": null,
1180
+ "interfaces": [],
1181
+ "enumValues": null,
1182
+ "possibleTypes": null
1183
+ },
1184
+ {
1185
+ "kind": "OBJECT",
1186
+ "name": "AddonAssociatedPlan",
1187
+ "description": "List of plans associated with an addon",
1188
+ "fields": [
1189
+ {
1190
+ "name": "displayName",
1191
+ "description": "Plan display name",
1192
+ "args": [],
1193
+ "type": {
1194
+ "kind": "NON_NULL",
1195
+ "name": null,
1196
+ "ofType": {
1197
+ "kind": "SCALAR",
1198
+ "name": "String",
1199
+ "ofType": null
1200
+ }
1201
+ },
1202
+ "isDeprecated": false,
1203
+ "deprecationReason": null
1204
+ },
1205
+ {
1206
+ "name": "refId",
1207
+ "description": "Plan refId",
1208
+ "args": [],
1209
+ "type": {
1210
+ "kind": "NON_NULL",
1211
+ "name": null,
1212
+ "ofType": {
1213
+ "kind": "SCALAR",
1214
+ "name": "String",
1215
+ "ofType": null
1216
+ }
1217
+ },
1218
+ "isDeprecated": false,
1219
+ "deprecationReason": null
1220
+ },
1221
+ {
1222
+ "name": "status",
1223
+ "description": "Plan status",
1224
+ "args": [],
1225
+ "type": {
1226
+ "kind": "NON_NULL",
1227
+ "name": null,
1228
+ "ofType": {
1229
+ "kind": "ENUM",
1230
+ "name": "PackageStatus",
1231
+ "ofType": null
1232
+ }
1233
+ },
1234
+ "isDeprecated": false,
1235
+ "deprecationReason": null
1236
+ },
1237
+ {
1238
+ "name": "versionNumber",
1239
+ "description": "Plan version",
1240
+ "args": [],
1241
+ "type": {
1242
+ "kind": "NON_NULL",
1243
+ "name": null,
1244
+ "ofType": {
1245
+ "kind": "SCALAR",
1246
+ "name": "Float",
1247
+ "ofType": null
1248
+ }
1249
+ },
1250
+ "isDeprecated": false,
1251
+ "deprecationReason": null
1252
+ }
1253
+ ],
1254
+ "inputFields": null,
1255
+ "interfaces": [],
1256
+ "enumValues": null,
1257
+ "possibleTypes": null
1258
+ },
1000
1259
  {
1001
1260
  "kind": "OBJECT",
1002
1261
  "name": "AddonAvgAggregate",
@@ -1578,9 +1837,13 @@
1578
1837
  "description": null,
1579
1838
  "args": [],
1580
1839
  "type": {
1581
- "kind": "SCALAR",
1582
- "name": "String",
1583
- "ofType": null
1840
+ "kind": "NON_NULL",
1841
+ "name": null,
1842
+ "ofType": {
1843
+ "kind": "SCALAR",
1844
+ "name": "String",
1845
+ "ofType": null
1846
+ }
1584
1847
  },
1585
1848
  "isDeprecated": false,
1586
1849
  "deprecationReason": null
@@ -1629,14 +1892,50 @@
1629
1892
  "isDeprecated": false,
1630
1893
  "deprecationReason": null
1631
1894
  },
1895
+ {
1896
+ "name": "environment",
1897
+ "description": null,
1898
+ "args": [],
1899
+ "type": {
1900
+ "kind": "NON_NULL",
1901
+ "name": null,
1902
+ "ofType": {
1903
+ "kind": "OBJECT",
1904
+ "name": "Environment",
1905
+ "ofType": null
1906
+ }
1907
+ },
1908
+ "isDeprecated": false,
1909
+ "deprecationReason": null
1910
+ },
1632
1911
  {
1633
1912
  "name": "environmentId",
1634
1913
  "description": null,
1635
1914
  "args": [],
1636
1915
  "type": {
1637
- "kind": "SCALAR",
1638
- "name": "String",
1639
- "ofType": null
1916
+ "kind": "NON_NULL",
1917
+ "name": null,
1918
+ "ofType": {
1919
+ "kind": "SCALAR",
1920
+ "name": "String",
1921
+ "ofType": null
1922
+ }
1923
+ },
1924
+ "isDeprecated": false,
1925
+ "deprecationReason": null
1926
+ },
1927
+ {
1928
+ "name": "hasSubscriptions",
1929
+ "description": "Indicates if the addon has subscriptions",
1930
+ "args": [],
1931
+ "type": {
1932
+ "kind": "NON_NULL",
1933
+ "name": null,
1934
+ "ofType": {
1935
+ "kind": "SCALAR",
1936
+ "name": "Boolean",
1937
+ "ofType": null
1938
+ }
1640
1939
  },
1641
1940
  "isDeprecated": false,
1642
1941
  "deprecationReason": null
@@ -1666,9 +1965,13 @@
1666
1965
  "description": null,
1667
1966
  "args": [],
1668
1967
  "type": {
1669
- "kind": "SCALAR",
1670
- "name": "String",
1671
- "ofType": null
1968
+ "kind": "NON_NULL",
1969
+ "name": null,
1970
+ "ofType": {
1971
+ "kind": "SCALAR",
1972
+ "name": "String",
1973
+ "ofType": null
1974
+ }
1672
1975
  },
1673
1976
  "isDeprecated": false,
1674
1977
  "deprecationReason": null
@@ -1732,7 +2035,40 @@
1732
2035
  {
1733
2036
  "name": "prices",
1734
2037
  "description": null,
1735
- "args": [],
2038
+ "args": [
2039
+ {
2040
+ "name": "filter",
2041
+ "description": "Specify to filter the records returned.",
2042
+ "type": {
2043
+ "kind": "INPUT_OBJECT",
2044
+ "name": "PriceFilter",
2045
+ "ofType": null
2046
+ },
2047
+ "defaultValue": "{}",
2048
+ "isDeprecated": false,
2049
+ "deprecationReason": null
2050
+ },
2051
+ {
2052
+ "name": "sorting",
2053
+ "description": "Specify to sort results.",
2054
+ "type": {
2055
+ "kind": "LIST",
2056
+ "name": null,
2057
+ "ofType": {
2058
+ "kind": "NON_NULL",
2059
+ "name": null,
2060
+ "ofType": {
2061
+ "kind": "INPUT_OBJECT",
2062
+ "name": "PriceSort",
2063
+ "ofType": null
2064
+ }
2065
+ }
2066
+ },
2067
+ "defaultValue": "[{direction: DESC, field: createdAt}]",
2068
+ "isDeprecated": false,
2069
+ "deprecationReason": null
2070
+ }
2071
+ ],
1736
2072
  "type": {
1737
2073
  "kind": "LIST",
1738
2074
  "name": null,
@@ -1761,6 +2097,18 @@
1761
2097
  "isDeprecated": false,
1762
2098
  "deprecationReason": null
1763
2099
  },
2100
+ {
2101
+ "name": "product",
2102
+ "description": null,
2103
+ "args": [],
2104
+ "type": {
2105
+ "kind": "OBJECT",
2106
+ "name": "Product",
2107
+ "ofType": null
2108
+ },
2109
+ "isDeprecated": false,
2110
+ "deprecationReason": null
2111
+ },
1764
2112
  {
1765
2113
  "name": "productId",
1766
2114
  "description": null,
@@ -1778,9 +2126,13 @@
1778
2126
  "description": null,
1779
2127
  "args": [],
1780
2128
  "type": {
1781
- "kind": "SCALAR",
1782
- "name": "String",
1783
- "ofType": null
2129
+ "kind": "NON_NULL",
2130
+ "name": null,
2131
+ "ofType": {
2132
+ "kind": "SCALAR",
2133
+ "name": "String",
2134
+ "ofType": null
2135
+ }
1784
2136
  },
1785
2137
  "isDeprecated": false,
1786
2138
  "deprecationReason": null
@@ -1790,9 +2142,13 @@
1790
2142
  "description": null,
1791
2143
  "args": [],
1792
2144
  "type": {
1793
- "kind": "ENUM",
1794
- "name": "PackageStatus",
1795
- "ofType": null
2145
+ "kind": "NON_NULL",
2146
+ "name": null,
2147
+ "ofType": {
2148
+ "kind": "ENUM",
2149
+ "name": "PackageStatus",
2150
+ "ofType": null
2151
+ }
1796
2152
  },
1797
2153
  "isDeprecated": false,
1798
2154
  "deprecationReason": null
@@ -1822,9 +2178,13 @@
1822
2178
  "description": null,
1823
2179
  "args": [],
1824
2180
  "type": {
1825
- "kind": "SCALAR",
1826
- "name": "String",
1827
- "ofType": null
2181
+ "kind": "NON_NULL",
2182
+ "name": null,
2183
+ "ofType": {
2184
+ "kind": "SCALAR",
2185
+ "name": "String",
2186
+ "ofType": null
2187
+ }
1828
2188
  },
1829
2189
  "isDeprecated": false,
1830
2190
  "deprecationReason": null
@@ -1846,9 +2206,13 @@
1846
2206
  "description": null,
1847
2207
  "args": [],
1848
2208
  "type": {
1849
- "kind": "SCALAR",
1850
- "name": "Int",
1851
- "ofType": null
2209
+ "kind": "NON_NULL",
2210
+ "name": null,
2211
+ "ofType": {
2212
+ "kind": "SCALAR",
2213
+ "name": "Int",
2214
+ "ofType": null
2215
+ }
1852
2216
  },
1853
2217
  "isDeprecated": false,
1854
2218
  "deprecationReason": null
@@ -22415,7 +22779,7 @@
22415
22779
  {
22416
22780
  "kind": "OBJECT",
22417
22781
  "name": "Environment",
22418
- "description": null,
22782
+ "description": "An environment object",
22419
22783
  "fields": [
22420
22784
  {
22421
22785
  "name": "account",
@@ -23453,6 +23817,18 @@
23453
23817
  "isDeprecated": false,
23454
23818
  "deprecationReason": null
23455
23819
  },
23820
+ {
23821
+ "name": "AddonIsCompatibleWithGroup",
23822
+ "description": "Cannot delete an addon that is compatible with an addon group",
23823
+ "isDeprecated": false,
23824
+ "deprecationReason": null
23825
+ },
23826
+ {
23827
+ "name": "AddonIsCompatibleWithPlan",
23828
+ "description": "Cannot delete an addon that is compatible with a plan",
23829
+ "isDeprecated": false,
23830
+ "deprecationReason": null
23831
+ },
23456
23832
  {
23457
23833
  "name": "AddonNotFound",
23458
23834
  "description": null,
@@ -23471,6 +23847,12 @@
23471
23847
  "isDeprecated": false,
23472
23848
  "deprecationReason": null
23473
23849
  },
23850
+ {
23851
+ "name": "AddonsNotFound",
23852
+ "description": "Multiple addons not found",
23853
+ "isDeprecated": false,
23854
+ "deprecationReason": null
23855
+ },
23474
23856
  {
23475
23857
  "name": "AmountTooLarge",
23476
23858
  "description": null,
@@ -23645,6 +24027,12 @@
23645
24027
  "isDeprecated": false,
23646
24028
  "deprecationReason": null
23647
24029
  },
24030
+ {
24031
+ "name": "DraftAddonCantBeArchived",
24032
+ "description": "Draft addon cannot be archived",
24033
+ "isDeprecated": false,
24034
+ "deprecationReason": null
24035
+ },
23648
24036
  {
23649
24037
  "name": "DraftPlanCantBeArchived",
23650
24038
  "description": null,
@@ -23783,6 +24171,12 @@
23783
24171
  "isDeprecated": false,
23784
24172
  "deprecationReason": null
23785
24173
  },
24174
+ {
24175
+ "name": "IncompatibleSubscriptionAddon",
24176
+ "description": null,
24177
+ "isDeprecated": false,
24178
+ "deprecationReason": null
24179
+ },
23786
24180
  {
23787
24181
  "name": "InitStripePaymentMethodError",
23788
24182
  "description": null,
@@ -24185,12 +24579,6 @@
24185
24579
  "isDeprecated": false,
24186
24580
  "deprecationReason": null
24187
24581
  },
24188
- {
24189
- "name": "UncompatibleSubscriptionAddon",
24190
- "description": null,
24191
- "isDeprecated": false,
24192
- "deprecationReason": null
24193
- },
24194
24582
  {
24195
24583
  "name": "UnexpectedError",
24196
24584
  "description": null,
@@ -34101,6 +34489,85 @@
34101
34489
  "enumValues": null,
34102
34490
  "possibleTypes": null
34103
34491
  },
34492
+ {
34493
+ "kind": "OBJECT",
34494
+ "name": "IncompatibleSubscriptionAddonError",
34495
+ "description": null,
34496
+ "fields": [
34497
+ {
34498
+ "name": "code",
34499
+ "description": null,
34500
+ "args": [],
34501
+ "type": {
34502
+ "kind": "NON_NULL",
34503
+ "name": null,
34504
+ "ofType": {
34505
+ "kind": "SCALAR",
34506
+ "name": "String",
34507
+ "ofType": null
34508
+ }
34509
+ },
34510
+ "isDeprecated": false,
34511
+ "deprecationReason": null
34512
+ },
34513
+ {
34514
+ "name": "isValidationError",
34515
+ "description": null,
34516
+ "args": [],
34517
+ "type": {
34518
+ "kind": "NON_NULL",
34519
+ "name": null,
34520
+ "ofType": {
34521
+ "kind": "SCALAR",
34522
+ "name": "Boolean",
34523
+ "ofType": null
34524
+ }
34525
+ },
34526
+ "isDeprecated": false,
34527
+ "deprecationReason": null
34528
+ },
34529
+ {
34530
+ "name": "nonCompatibleAddons",
34531
+ "description": null,
34532
+ "args": [],
34533
+ "type": {
34534
+ "kind": "LIST",
34535
+ "name": null,
34536
+ "ofType": {
34537
+ "kind": "NON_NULL",
34538
+ "name": null,
34539
+ "ofType": {
34540
+ "kind": "SCALAR",
34541
+ "name": "String",
34542
+ "ofType": null
34543
+ }
34544
+ }
34545
+ },
34546
+ "isDeprecated": false,
34547
+ "deprecationReason": null
34548
+ },
34549
+ {
34550
+ "name": "planDisplayName",
34551
+ "description": null,
34552
+ "args": [],
34553
+ "type": {
34554
+ "kind": "NON_NULL",
34555
+ "name": null,
34556
+ "ofType": {
34557
+ "kind": "SCALAR",
34558
+ "name": "String",
34559
+ "ofType": null
34560
+ }
34561
+ },
34562
+ "isDeprecated": false,
34563
+ "deprecationReason": null
34564
+ }
34565
+ ],
34566
+ "inputFields": null,
34567
+ "interfaces": [],
34568
+ "enumValues": null,
34569
+ "possibleTypes": null
34570
+ },
34104
34571
  {
34105
34572
  "kind": "OBJECT",
34106
34573
  "name": "InitAddStripeCustomerPaymentMethod",
@@ -37596,6 +38063,39 @@
37596
38063
  "isDeprecated": false,
37597
38064
  "deprecationReason": null
37598
38065
  },
38066
+ {
38067
+ "name": "archiveAddon",
38068
+ "description": "Archive an addon by id",
38069
+ "args": [
38070
+ {
38071
+ "name": "input",
38072
+ "description": null,
38073
+ "type": {
38074
+ "kind": "NON_NULL",
38075
+ "name": null,
38076
+ "ofType": {
38077
+ "kind": "INPUT_OBJECT",
38078
+ "name": "AddonArchiveInput",
38079
+ "ofType": null
38080
+ }
38081
+ },
38082
+ "defaultValue": null,
38083
+ "isDeprecated": false,
38084
+ "deprecationReason": null
38085
+ }
38086
+ ],
38087
+ "type": {
38088
+ "kind": "NON_NULL",
38089
+ "name": null,
38090
+ "ofType": {
38091
+ "kind": "OBJECT",
38092
+ "name": "Addon",
38093
+ "ofType": null
38094
+ }
38095
+ },
38096
+ "isDeprecated": false,
38097
+ "deprecationReason": null
38098
+ },
37599
38099
  {
37600
38100
  "name": "archiveCustomer",
37601
38101
  "description": null,
@@ -55064,7 +55564,7 @@
55064
55564
  {
55065
55565
  "kind": "OBJECT",
55066
55566
  "name": "Product",
55067
- "description": null,
55567
+ "description": "A product object",
55068
55568
  "fields": [
55069
55569
  {
55070
55570
  "name": "additionalMetaData",
@@ -60563,6 +61063,39 @@
60563
61063
  "name": "Query",
60564
61064
  "description": null,
60565
61065
  "fields": [
61066
+ {
61067
+ "name": "addonAssociatedEntities",
61068
+ "description": "Get the latest associated entities of an addon",
61069
+ "args": [
61070
+ {
61071
+ "name": "input",
61072
+ "description": null,
61073
+ "type": {
61074
+ "kind": "NON_NULL",
61075
+ "name": null,
61076
+ "ofType": {
61077
+ "kind": "INPUT_OBJECT",
61078
+ "name": "AddonAssociatedEntitiesInput",
61079
+ "ofType": null
61080
+ }
61081
+ },
61082
+ "defaultValue": null,
61083
+ "isDeprecated": false,
61084
+ "deprecationReason": null
61085
+ }
61086
+ ],
61087
+ "type": {
61088
+ "kind": "NON_NULL",
61089
+ "name": null,
61090
+ "ofType": {
61091
+ "kind": "OBJECT",
61092
+ "name": "AddonAssociatedEntities",
61093
+ "ofType": null
61094
+ }
61095
+ },
61096
+ "isDeprecated": false,
61097
+ "deprecationReason": null
61098
+ },
60566
61099
  {
60567
61100
  "name": "addons",
60568
61101
  "description": null,
@@ -76678,85 +77211,6 @@
76678
77211
  "enumValues": null,
76679
77212
  "possibleTypes": null
76680
77213
  },
76681
- {
76682
- "kind": "OBJECT",
76683
- "name": "UncompatibleSubscriptionAddonError",
76684
- "description": null,
76685
- "fields": [
76686
- {
76687
- "name": "code",
76688
- "description": null,
76689
- "args": [],
76690
- "type": {
76691
- "kind": "NON_NULL",
76692
- "name": null,
76693
- "ofType": {
76694
- "kind": "SCALAR",
76695
- "name": "String",
76696
- "ofType": null
76697
- }
76698
- },
76699
- "isDeprecated": false,
76700
- "deprecationReason": null
76701
- },
76702
- {
76703
- "name": "isValidationError",
76704
- "description": null,
76705
- "args": [],
76706
- "type": {
76707
- "kind": "NON_NULL",
76708
- "name": null,
76709
- "ofType": {
76710
- "kind": "SCALAR",
76711
- "name": "Boolean",
76712
- "ofType": null
76713
- }
76714
- },
76715
- "isDeprecated": false,
76716
- "deprecationReason": null
76717
- },
76718
- {
76719
- "name": "nonCompatibleAddons",
76720
- "description": null,
76721
- "args": [],
76722
- "type": {
76723
- "kind": "LIST",
76724
- "name": null,
76725
- "ofType": {
76726
- "kind": "NON_NULL",
76727
- "name": null,
76728
- "ofType": {
76729
- "kind": "SCALAR",
76730
- "name": "String",
76731
- "ofType": null
76732
- }
76733
- }
76734
- },
76735
- "isDeprecated": false,
76736
- "deprecationReason": null
76737
- },
76738
- {
76739
- "name": "planDisplayName",
76740
- "description": null,
76741
- "args": [],
76742
- "type": {
76743
- "kind": "NON_NULL",
76744
- "name": null,
76745
- "ofType": {
76746
- "kind": "SCALAR",
76747
- "name": "String",
76748
- "ofType": null
76749
- }
76750
- },
76751
- "isDeprecated": false,
76752
- "deprecationReason": null
76753
- }
76754
- ],
76755
- "inputFields": null,
76756
- "interfaces": [],
76757
- "enumValues": null,
76758
- "possibleTypes": null
76759
- },
76760
77214
  {
76761
77215
  "kind": "OBJECT",
76762
77216
  "name": "UnitAmountChangeVariables",
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "2.43.0"
4
+ VERSION = "2.62.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: 2.43.0
4
+ version: 2.62.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-07-23 00:00:00.000000000 Z
11
+ date: 2024-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient