lib/stigg/generated/operations.rb in stigg-api-client-0.526.0 vs lib/stigg/generated/operations.rb in stigg-api-client-0.528.0

- old
+ new

@@ -153,10 +153,14 @@ billingId billingLinkUrl effectiveEndDate currentBillingPeriodEnd pricingType + latestInvoice { + ...SubscriptionInvoiceFragment + } + paymentCollection resource { ...CustomerResourceFragment } experimentInfo { name @@ -243,10 +247,22 @@ } } } GRAPHQL + SubscriptionInvoiceFragment = <<~GRAPHQL + fragment SubscriptionInvoiceFragment on SubscriptionInvoice { + billingId + status + createdAt + updatedAt + requiresAction + paymentUrl + errorMessage + } + GRAPHQL + SubscriptionFragment = <<~GRAPHQL fragment SubscriptionFragment on CustomerSubscription { id startDate endDate @@ -257,10 +273,14 @@ refId currentBillingPeriodEnd additionalMetaData billingId billingLinkUrl + latestInvoice { + ...SubscriptionInvoiceFragment + } + paymentCollection resource { ...CustomerResourceFragment } experimentInfo { name @@ -1030,10 +1050,11 @@ } } } #{Fragment::SlimCustomerFragment} #{Fragment::SlimSubscriptionFragment} + #{Fragment::SubscriptionInvoiceFragment} #{Fragment::CustomerResourceFragment} #{Fragment::PriceFragment} #{Fragment::TotalPriceFragment} GRAPHQL @@ -1070,10 +1091,11 @@ ...SlimSubscriptionFragment } } } #{Fragment::SlimSubscriptionFragment} + #{Fragment::SubscriptionInvoiceFragment} #{Fragment::CustomerResourceFragment} #{Fragment::PriceFragment} #{Fragment::TotalPriceFragment} GRAPHQL @@ -1088,10 +1110,11 @@ updateSubscription: updateOneSubscription(input: $input) { ...SlimSubscriptionFragment } } #{Fragment::SlimSubscriptionFragment} + #{Fragment::SubscriptionInvoiceFragment} #{Fragment::CustomerResourceFragment} #{Fragment::PriceFragment} #{Fragment::TotalPriceFragment} GRAPHQL @@ -1100,10 +1123,11 @@ cancelSubscription(input: $input) { ...SlimSubscriptionFragment } } #{Fragment::SlimSubscriptionFragment} + #{Fragment::SubscriptionInvoiceFragment} #{Fragment::CustomerResourceFragment} #{Fragment::PriceFragment} #{Fragment::TotalPriceFragment} GRAPHQL @@ -1165,10 +1189,11 @@ createSubscription(subscription: $input) { ...SlimSubscriptionFragment } } #{Fragment::SlimSubscriptionFragment} + #{Fragment::SubscriptionInvoiceFragment} #{Fragment::CustomerResourceFragment} #{Fragment::PriceFragment} #{Fragment::TotalPriceFragment} GRAPHQL @@ -1200,10 +1225,11 @@ #{Fragment::CustomerFragment} #{Fragment::SlimCustomerFragment} #{Fragment::CouponFragment} #{Fragment::PromotionalEntitlementFragment} #{Fragment::SubscriptionFragment} + #{Fragment::SubscriptionInvoiceFragment} #{Fragment::CustomerResourceFragment} #{Fragment::PriceFragment} #{Fragment::TotalPriceFragment} #{Fragment::PlanFragment} #{Fragment::ProductFragment} @@ -1218,10 +1244,11 @@ getActiveSubscriptions(input: $input) { ...SubscriptionFragment } } #{Fragment::SubscriptionFragment} + #{Fragment::SubscriptionInvoiceFragment} #{Fragment::CustomerResourceFragment} #{Fragment::PriceFragment} #{Fragment::TotalPriceFragment} #{Fragment::PlanFragment} #{Fragment::ProductFragment} @@ -1264,9 +1291,10 @@ #{Fragment::CustomerFragment} #{Fragment::SlimCustomerFragment} #{Fragment::CouponFragment} #{Fragment::PromotionalEntitlementFragment} #{Fragment::SubscriptionFragment} + #{Fragment::SubscriptionInvoiceFragment} #{Fragment::CustomerResourceFragment} #{Fragment::TotalPriceFragment} #{Fragment::SubscriptionScheduledUpdateData} #{Fragment::SubscriptionFutureUpdateData} #{Fragment::PaywallCalculatedPricePointsFragment}