lib/stigg/generated/operations.rb in stigg-api-client-1.117.0 vs lib/stigg/generated/operations.rb in stigg-api-client-1.117.2
- old
+ new
@@ -1390,11 +1390,11 @@
GRAPHQL
end
module Mutation
ProvisionCustomer = <<~GRAPHQL
- mutation ($input: ProvisionCustomerInput!) {
+ mutation ProvisionCustomer($input: ProvisionCustomerInput!) {
provisionCustomer(input: $input) {
...ProvisionCustomerFragment
}
}
#{Fragment::ProvisionCustomerFragment}
@@ -1409,65 +1409,65 @@
#{Fragment::ResetPeriodConfigurationFragment}
#{Fragment::FeatureFragment}
GRAPHQL
ImportCustomerBulk = <<~GRAPHQL
- mutation ($input: ImportCustomerBulk!) {
+ mutation ImportCustomerBulk($input: ImportCustomerBulk!) {
importCustomersBulk(input: $input)
}
GRAPHQL
ImportCustomer = <<~GRAPHQL
- mutation ($input: ImportCustomerInput!) {
+ mutation ImportCustomer($input: ImportCustomerInput!) {
importCustomer: importOneCustomer(input: $input) {
...SlimCustomerFragment
}
}
#{Fragment::SlimCustomerFragment}
GRAPHQL
UpdateCustomer = <<~GRAPHQL
- mutation ($input: UpdateCustomerInput!) {
+ mutation UpdateCustomer($input: UpdateCustomerInput!) {
updateCustomer: updateOneCustomer(input: $input) {
...SlimCustomerFragment
}
}
#{Fragment::SlimCustomerFragment}
GRAPHQL
DetachCustomerPaymentMethod = <<~GRAPHQL
- mutation ($input: DetachCustomerPaymentMethodInput!) {
+ mutation DetachCustomerPaymentMethod($input: DetachCustomerPaymentMethodInput!) {
detachCustomerPaymentMethod(input: $input) {
...SlimCustomerFragment
}
}
#{Fragment::SlimCustomerFragment}
GRAPHQL
GrantPromotionalEntitlements = <<~GRAPHQL
- mutation (
+ mutation GrantPromotionalEntitlements(
$input: GrantPromotionalEntitlementsInput!
) {
grantPromotionalEntitlements(input: $input) {
...PromotionalEntitlementFragment
}
}
#{Fragment::PromotionalEntitlementFragment}
GRAPHQL
RevokePromotionalEntitlement = <<~GRAPHQL
- mutation (
+ mutation RevokePromotionalEntitlement(
$input: RevokePromotionalEntitlementInput!
) {
revokePromotionalEntitlement(input: $input) {
id
}
}
GRAPHQL
ProvisionSubscription = <<~GRAPHQL
- mutation ($input: ProvisionSubscriptionInput!) {
+ mutation ProvisionSubscription($input: ProvisionSubscriptionInput!) {
provisionSubscription: provisionSubscriptionV2(input: $input) {
...ProvisionSubscriptionFragment
}
}
#{Fragment::ProvisionSubscriptionFragment}
@@ -1481,11 +1481,11 @@
#{Fragment::ResetPeriodConfigurationFragment}
#{Fragment::FeatureFragment}
GRAPHQL
ApplySubscription = <<~GRAPHQL
- mutation ($input: ApplySubscriptionInput!) {
+ mutation ApplySubscription($input: ApplySubscriptionInput!) {
applySubscription(input: $input) {
...ApplySubscriptionFragment
}
}
#{Fragment::ApplySubscriptionFragment}
@@ -1509,17 +1509,17 @@
#{Fragment::ResetPeriodConfigurationFragment}
#{Fragment::FeatureFragment}
GRAPHQL
ImportSubscriptionsBulk = <<~GRAPHQL
- mutation ($input: ImportSubscriptionsBulk!) {
+ mutation ImportSubscriptionsBulk($input: ImportSubscriptionsBulk!) {
importSubscriptionsBulk(input: $input)
}
GRAPHQL
UpdateSubscription = <<~GRAPHQL
- mutation ($input: UpdateSubscriptionInput!) {
+ mutation UpdateSubscription($input: UpdateSubscriptionInput!) {
updateSubscription: updateOneSubscription(input: $input) {
...SlimSubscriptionFragment
}
}
#{Fragment::SlimSubscriptionFragment}
@@ -1529,11 +1529,11 @@
#{Fragment::PriceTierFragment}
#{Fragment::TotalPriceFragment}
GRAPHQL
CancelSubscription = <<~GRAPHQL
- mutation ($input: SubscriptionCancellationInput!) {
+ mutation CancelSubscription($input: SubscriptionCancellationInput!) {
cancelSubscription(input: $input) {
...SlimSubscriptionFragment
}
}
#{Fragment::SlimSubscriptionFragment}
@@ -1543,82 +1543,82 @@
#{Fragment::PriceTierFragment}
#{Fragment::TotalPriceFragment}
GRAPHQL
EstimateSubscription = <<~GRAPHQL
- mutation ($input: EstimateSubscriptionInput!) {
+ mutation EstimateSubscription($input: EstimateSubscriptionInput!) {
estimateSubscription(input: $input) {
...SubscriptionPreviewFragment
}
}
#{Fragment::SubscriptionPreviewFragment}
GRAPHQL
EstimateSubscriptionUpdate = <<~GRAPHQL
- mutation ($input: EstimateSubscriptionUpdateInput!) {
+ mutation EstimateSubscriptionUpdate($input: EstimateSubscriptionUpdateInput!) {
estimateSubscriptionUpdate(input: $input) {
...SubscriptionPreviewFragment
}
}
#{Fragment::SubscriptionPreviewFragment}
GRAPHQL
PreviewSubscription = <<~GRAPHQL
- mutation ($input: PreviewSubscriptionInput!) {
+ mutation PreviewSubscription($input: PreviewSubscriptionInput!) {
previewSubscription(input: $input) {
...SubscriptionPreviewV2Fragment
}
}
#{Fragment::SubscriptionPreviewV2Fragment}
#{Fragment::ImmediateSubscriptionPreviewInvoiceFragment}
#{Fragment::SubscriptionPreviewInvoiceFragment}
GRAPHQL
CancelSubscriptionUpdates = <<~GRAPHQL
- mutation (
+ mutation CancelSubscriptionUpdates(
$input: SubscriptionUpdateScheduleCancellationInput!
) {
cancelSchedule(input: $input)
}
GRAPHQL
ReportUsage = <<~GRAPHQL
- mutation ($input: ReportUsageInput!) {
+ mutation ReportUsage($input: ReportUsageInput!) {
reportUsage(input: $input) {
...ReportUsageFragment
}
}
#{Fragment::ReportUsageFragment}
GRAPHQL
ReportUsageBulk = <<~GRAPHQL
- mutation ($input: ReportUsageBulkInput!) {
+ mutation ReportUsageBulk($input: ReportUsageBulkInput!) {
reportUsageBulk(input: $input) {
...ReportUsageFragment
}
}
#{Fragment::ReportUsageFragment}
GRAPHQL
ReportEvent = <<~GRAPHQL
- mutation ($input: UsageEventsReportInput!) {
+ mutation ReportEvent($input: UsageEventsReportInput!) {
reportEvent(events: $input)
}
GRAPHQL
ReportEntitlementCheckRequested = <<~GRAPHQL
- mutation (
+ mutation ReportEntitlementCheckRequested(
$entitlementCheckRequested: EntitlementCheckRequested!
) {
reportEntitlementCheckRequested(
entitlementCheckRequested: $entitlementCheckRequested
)
}
GRAPHQL
CreateSubscription = <<~GRAPHQL
- mutation ($input: SubscriptionInput!) {
+ mutation CreateSubscription($input: SubscriptionInput!) {
createSubscription(subscription: $input) {
...SlimSubscriptionFragment
}
}
#{Fragment::SlimSubscriptionFragment}
@@ -1628,36 +1628,36 @@
#{Fragment::PriceTierFragment}
#{Fragment::TotalPriceFragment}
GRAPHQL
MigrateSubscriptionToLatest = <<~GRAPHQL
- mutation ($input: SubscriptionMigrationInput!) {
+ mutation MigrateSubscriptionToLatest($input: SubscriptionMigrationInput!) {
migrateSubscriptionToLatest(input: $input) {
subscriptionId
}
}
GRAPHQL
ArchiveCustomer = <<~GRAPHQL
- mutation ($input: ArchiveCustomerInput!) {
+ mutation ArchiveCustomer($input: ArchiveCustomerInput!) {
archiveCustomer(input: $input) {
customerId
}
}
GRAPHQL
UnarchiveCustomer = <<~GRAPHQL
- mutation ($input: UnarchiveCustomerInput!) {
+ mutation UnarchiveCustomer($input: UnarchiveCustomerInput!) {
unarchiveCustomer(input: $input) {
...SlimCustomerFragment
}
}
#{Fragment::SlimCustomerFragment}
GRAPHQL
TransferSubscription = <<~GRAPHQL
- mutation ($input: TransferSubscriptionInput!) {
+ mutation TransferSubscription($input: TransferSubscriptionInput!) {
transferSubscription(input: $input) {
...SlimSubscriptionFragment
}
}
#{Fragment::SlimSubscriptionFragment}
@@ -1669,11 +1669,11 @@
GRAPHQL
end
module Query
GetCustomerById = <<~GRAPHQL
- query ($input: GetCustomerByRefIdInput!) {
+ query GetCustomerById($input: GetCustomerByRefIdInput!) {
getCustomerByRefId(input: $input) {
...CustomerWithSubscriptionsFragment
}
}
#{Fragment::CustomerWithSubscriptionsFragment}
@@ -1698,20 +1698,20 @@
#{Fragment::ScheduleVariablesFragment}
#{Fragment::SubscriptionFutureUpdateData}
GRAPHQL
GetCustomerStatistics = <<~GRAPHQL
- query ($input: GetCustomerByRefIdInput!) {
+ query GetCustomerStatistics($input: GetCustomerByRefIdInput!) {
getCustomerByRefId(input: $input) {
...CustomerStatisticsFragment,
}
}
#{Fragment::CustomerStatisticsFragment}
GRAPHQL
GetActiveSubscriptions = <<~GRAPHQL
- query ($input: GetActiveSubscriptionsInput!) {
+ query GetActiveSubscriptions($input: GetActiveSubscriptionsInput!) {
getActiveSubscriptions(input: $input) {
...SubscriptionFragment
}
}
#{Fragment::SubscriptionFragment}
@@ -1731,11 +1731,11 @@
#{Fragment::ScheduleVariablesFragment}
#{Fragment::SubscriptionFutureUpdateData}
GRAPHQL
GetCoupons = <<~GRAPHQL
- query {
+ query GetCoupons {
coupons(filter: { status: { eq: ACTIVE } }, paging: { first: 50 }) {
edges {
node {
...CouponFragment
}
@@ -1744,11 +1744,11 @@
}
#{Fragment::CouponFragment}
GRAPHQL
GetPaywall = <<~GRAPHQL
- query ($input: GetPaywallInput!) {
+ query GetPaywall($input: GetPaywallInput!) {
paywall(input: $input) {
...PaywallFragment
}
}
#{Fragment::PaywallFragment}
@@ -1779,33 +1779,33 @@
#{Fragment::SubscriptionFutureUpdateData}
#{Fragment::PaywallCalculatedPricePointsFragment}
GRAPHQL
GetEntitlements = <<~GRAPHQL
- query ($query: FetchEntitlementsQuery!) {
+ query GetEntitlements($query: FetchEntitlementsQuery!) {
entitlements: cachedEntitlements(query: $query) {
...EntitlementFragment
}
}
#{Fragment::EntitlementFragment}
#{Fragment::ResetPeriodConfigurationFragment}
#{Fragment::FeatureFragment}
GRAPHQL
GetEntitlement = <<~GRAPHQL
- query ($query: FetchEntitlementQuery!) {
+ query GetEntitlement($query: FetchEntitlementQuery!) {
entitlement(query: $query) {
...EntitlementFragment
}
}
#{Fragment::EntitlementFragment}
#{Fragment::ResetPeriodConfigurationFragment}
#{Fragment::FeatureFragment}
GRAPHQL
GetProducts = <<~GRAPHQL
- query {
+ query GetProducts {
products(paging: { first: 50 }) {
edges {
node {
...ProductFragment
}
@@ -1814,20 +1814,20 @@
}
#{Fragment::ProductFragment}
GRAPHQL
GetSdkConfiguration = <<~GRAPHQL
- query {
+ query GetSdkConfiguration {
sdkConfiguration {
sentryDsn
isWidgetWatermarkEnabled
}
}
GRAPHQL
GetCustomerPortalByRefId = <<~GRAPHQL
- query ($input: CustomerPortalInput!) {
+ query GetCustomerPortalByRefId($input: CustomerPortalInput!) {
customerPortal(input: $input) {
...CustomerPortalFragment
}
}
#{Fragment::CustomerPortalFragment}
@@ -1846,11 +1846,11 @@
#{Fragment::FontVariantFragment}
#{Fragment::CustomerResourceFragment}
GRAPHQL
GetCheckoutState = <<~GRAPHQL
- query ($input: CheckoutStateInput!) {
+ query GetCheckoutState($input: CheckoutStateInput!) {
checkoutState(input: $input) {
...CheckoutStateFragment
}
}
#{Fragment::CheckoutStateFragment}
@@ -1878,11 +1878,11 @@
#{Fragment::ScheduleVariablesFragment}
#{Fragment::SubscriptionFutureUpdateData}
GRAPHQL
GetMockPaywall = <<~GRAPHQL
- query ($input: GetPaywallInput!) {
+ query GetMockPaywall($input: GetPaywallInput!) {
mockPaywall(input: $input) {
plans {
...MockPaywallPlanFragment
}
configuration {
@@ -1902,20 +1902,20 @@
#{Fragment::FontVariantFragment}
#{Fragment::LayoutConfigurationFragment}
GRAPHQL
GetUsageHistory = <<~GRAPHQL
- query ($usageHistoryInput: UsageHistoryInput!) {
+ query GetUsageHistory($usageHistoryInput: UsageHistoryInput!) {
usageHistory(usageHistoryInput: $usageHistoryInput) {
...UsageHistoryFragment
}
}
#{Fragment::UsageHistoryFragment}
GRAPHQL
OnEntitlementsUpdated = <<~GRAPHQL
- subscription {
+ subscription OnEntitlementsUpdated {
entitlementsUpdated {
...EntitlementsUpdatedPayload
}
}
#{Fragment::EntitlementsUpdatedPayload}
@@ -1923,11 +1923,11 @@
#{Fragment::ResetPeriodConfigurationFragment}
#{Fragment::FeatureFragment}
GRAPHQL
OnUsageUpdated = <<~GRAPHQL
- subscription {
+ subscription OnUsageUpdated {
usageUpdated {
...EntitlementUsageUpdated
}
}
#{Fragment::EntitlementUsageUpdated}
@@ -1936,10 +1936,10 @@
#{Fragment::ResetPeriodConfigurationFragment}
#{Fragment::FeatureFragment}
GRAPHQL
OnPackagePublished = <<~GRAPHQL
- subscription {
+ subscription OnPackagePublished {
packagePublished {
...PackagePublishedPayload
}
}
#{Fragment::PackagePublishedPayload}