stigg-api-client 0.526.0 → 0.528.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: 19f94598c1e5c62cdbc7da40ae2f0cc16ec201c7cf91c59f27e4a0702ec31e76
4
- data.tar.gz: 155c7ab7a16d6b45942fc24cdffe163ff96288d322009d10a687209c1c37cc82
3
+ metadata.gz: d19f8408ef4a36a285e9578cc5bf921e7c7395b7f1ec010ca5d1be8fd2ca9a98
4
+ data.tar.gz: b5e58848a006d76e14c42e6c7964fc6564906d1586a2265beb4412f9a9e2c9c2
5
5
  SHA512:
6
- metadata.gz: 7528644dc11f65868cf9af51eeec17af9829c723b10d1023cf55b86905911d15ecd23d4e6216e8a3171cebed8066cfb68e6a4347503535ff108b118b2f0fb4dd
7
- data.tar.gz: 43ed5d8c0d5f188a578cb2c7db3873017db02b003fbc0a5b70587927058190f028e076d8712d4d580cd7aabb7bee2c1db4e0ef3ad29d743d819ce0f26b0fac27
6
+ metadata.gz: 181173d4f9a32830c4cd4c45ae16879adb793814caa7561e6a169cffc94dbcc874d36a47aa0f6a436514e6890bfb6d2b3314d06e89c1d45cca791ffaca805961
7
+ data.tar.gz: cc1d5d6a0fccc79bfddcaa00a792769c739338766a60b4311d02b13839f11da86c60b59a6262b1e50aa60666e2b48e6f835e74b6b544a549690ca7e81d6d487d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (0.526.0)
4
+ stigg-api-client (0.528.0)
5
5
  graphlient (~> 0.7.0)
6
6
 
7
7
  GEM
@@ -155,6 +155,10 @@ module Stigg
155
155
  effectiveEndDate
156
156
  currentBillingPeriodEnd
157
157
  pricingType
158
+ latestInvoice {
159
+ ...SubscriptionInvoiceFragment
160
+ }
161
+ paymentCollection
158
162
  resource {
159
163
  ...CustomerResourceFragment
160
164
  }
@@ -245,6 +249,18 @@ module Stigg
245
249
  }
246
250
  GRAPHQL
247
251
 
252
+ SubscriptionInvoiceFragment = <<~GRAPHQL
253
+ fragment SubscriptionInvoiceFragment on SubscriptionInvoice {
254
+ billingId
255
+ status
256
+ createdAt
257
+ updatedAt
258
+ requiresAction
259
+ paymentUrl
260
+ errorMessage
261
+ }
262
+ GRAPHQL
263
+
248
264
  SubscriptionFragment = <<~GRAPHQL
249
265
  fragment SubscriptionFragment on CustomerSubscription {
250
266
  id
@@ -259,6 +275,10 @@ module Stigg
259
275
  additionalMetaData
260
276
  billingId
261
277
  billingLinkUrl
278
+ latestInvoice {
279
+ ...SubscriptionInvoiceFragment
280
+ }
281
+ paymentCollection
262
282
  resource {
263
283
  ...CustomerResourceFragment
264
284
  }
@@ -1032,6 +1052,7 @@ module Stigg
1032
1052
  }
1033
1053
  #{Fragment::SlimCustomerFragment}
1034
1054
  #{Fragment::SlimSubscriptionFragment}
1055
+ #{Fragment::SubscriptionInvoiceFragment}
1035
1056
  #{Fragment::CustomerResourceFragment}
1036
1057
  #{Fragment::PriceFragment}
1037
1058
  #{Fragment::TotalPriceFragment}
@@ -1072,6 +1093,7 @@ module Stigg
1072
1093
  }
1073
1094
  }
1074
1095
  #{Fragment::SlimSubscriptionFragment}
1096
+ #{Fragment::SubscriptionInvoiceFragment}
1075
1097
  #{Fragment::CustomerResourceFragment}
1076
1098
  #{Fragment::PriceFragment}
1077
1099
  #{Fragment::TotalPriceFragment}
@@ -1090,6 +1112,7 @@ module Stigg
1090
1112
  }
1091
1113
  }
1092
1114
  #{Fragment::SlimSubscriptionFragment}
1115
+ #{Fragment::SubscriptionInvoiceFragment}
1093
1116
  #{Fragment::CustomerResourceFragment}
1094
1117
  #{Fragment::PriceFragment}
1095
1118
  #{Fragment::TotalPriceFragment}
@@ -1102,6 +1125,7 @@ module Stigg
1102
1125
  }
1103
1126
  }
1104
1127
  #{Fragment::SlimSubscriptionFragment}
1128
+ #{Fragment::SubscriptionInvoiceFragment}
1105
1129
  #{Fragment::CustomerResourceFragment}
1106
1130
  #{Fragment::PriceFragment}
1107
1131
  #{Fragment::TotalPriceFragment}
@@ -1167,6 +1191,7 @@ module Stigg
1167
1191
  }
1168
1192
  }
1169
1193
  #{Fragment::SlimSubscriptionFragment}
1194
+ #{Fragment::SubscriptionInvoiceFragment}
1170
1195
  #{Fragment::CustomerResourceFragment}
1171
1196
  #{Fragment::PriceFragment}
1172
1197
  #{Fragment::TotalPriceFragment}
@@ -1202,6 +1227,7 @@ module Stigg
1202
1227
  #{Fragment::CouponFragment}
1203
1228
  #{Fragment::PromotionalEntitlementFragment}
1204
1229
  #{Fragment::SubscriptionFragment}
1230
+ #{Fragment::SubscriptionInvoiceFragment}
1205
1231
  #{Fragment::CustomerResourceFragment}
1206
1232
  #{Fragment::PriceFragment}
1207
1233
  #{Fragment::TotalPriceFragment}
@@ -1220,6 +1246,7 @@ module Stigg
1220
1246
  }
1221
1247
  }
1222
1248
  #{Fragment::SubscriptionFragment}
1249
+ #{Fragment::SubscriptionInvoiceFragment}
1223
1250
  #{Fragment::CustomerResourceFragment}
1224
1251
  #{Fragment::PriceFragment}
1225
1252
  #{Fragment::TotalPriceFragment}
@@ -1266,6 +1293,7 @@ module Stigg
1266
1293
  #{Fragment::CouponFragment}
1267
1294
  #{Fragment::PromotionalEntitlementFragment}
1268
1295
  #{Fragment::SubscriptionFragment}
1296
+ #{Fragment::SubscriptionInvoiceFragment}
1269
1297
  #{Fragment::CustomerResourceFragment}
1270
1298
  #{Fragment::TotalPriceFragment}
1271
1299
  #{Fragment::SubscriptionScheduledUpdateData}
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.526.0"
4
+ VERSION = "0.528.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.526.0
4
+ version: 0.528.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-07 00:00:00.000000000 Z
11
+ date: 2023-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient