Options
All
  • Public
  • Public/Protected
  • All
Menu

@stigg/js-client-sdk - v3.30.0

Index

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

Type aliases

AddCompatibleAddonsToPlanInput: { id: Scalars["String"]; relationIds: Scalars["String"][] }

Type declaration

  • id: Scalars["String"]

    The id of the record.

  • relationIds: Scalars["String"][]

    The ids of the relations.

Addon: { billingId?: string | null; dependencies?: DependencyAddon[]; description: string; displayName: string; entitlements: PackageEntitlement[]; id: string; metadata?: Metadata | null; pricePoints: Price[]; pricingType?: PricingType | null }

Type declaration

  • Optional billingId?: string | null
  • Optional dependencies?: DependencyAddon[]
  • description: string
  • displayName: string
  • entitlements: PackageEntitlement[]
  • id: string
  • Optional metadata?: Metadata | null
  • pricePoints: Price[]
  • Optional pricingType?: PricingType | null
AddonArchiveInput: { environmentId?: InputMaybe<Scalars["String"]>; refId: Scalars["String"] }

Archive addon input

Type declaration

AddonAssociatedEntitiesInput: { environmentId: Scalars["String"]; refId: Scalars["String"] }

Query associated entities input

Type declaration

  • environmentId: Scalars["String"]

    Environment id

  • refId: Scalars["String"]

    Addon id

AddonCreateInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; awsMarketplacePlanDimension?: InputMaybe<Scalars["String"]>; billingId?: InputMaybe<Scalars["String"]>; dependencies?: InputMaybe<Scalars["String"][]>; description?: InputMaybe<Scalars["String"]>; displayName: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]>; hiddenFromWidgets?: InputMaybe<WidgetType[]>; maxQuantity?: InputMaybe<Scalars["Float"]>; pricingType?: InputMaybe<PricingType>; productId: Scalars["String"]; refId?: InputMaybe<Scalars["String"]>; status?: InputMaybe<PackageStatus> }

Type declaration

AddonDependencyFragment: { __typename?: "Addon"; description?: string | null; displayName: string; id: string; refId: string }

Type declaration

  • Optional __typename?: "Addon"
  • Optional description?: string | null
  • displayName: string
  • id: string
  • refId: string

Type declaration

AddonFragment: { __typename?: "Addon"; additionalMetaData?: any | null; billingId?: string | null; dependencies?: ({ __typename?: "Addon" } & AddonDependencyFragment)[] | null; description?: string | null; displayName: string; entitlements?: ({ __typename?: "PackageEntitlement" } & PackageEntitlementFragment)[] | null; id: string; maxQuantity?: number | null; overagePrices?: ({ __typename?: "Price" } & OveragePriceFragment)[] | null; prices?: ({ __typename?: "Price" } & PriceFragment)[] | null; pricingType?: PricingType | null; refId: string }

Type declaration

  • Optional __typename?: "Addon"
  • Optional additionalMetaData?: any | null
  • Optional billingId?: string | null
  • Optional dependencies?: ({ __typename?: "Addon" } & AddonDependencyFragment)[] | null
  • Optional description?: string | null
  • displayName: string
  • Optional entitlements?: ({ __typename?: "PackageEntitlement" } & PackageEntitlementFragment)[] | null
  • id: string
  • Optional maxQuantity?: number | null
  • Optional overagePrices?: ({ __typename?: "Price" } & OveragePriceFragment)[] | null
  • Optional prices?: ({ __typename?: "Price" } & PriceFragment)[] | null
  • Optional pricingType?: PricingType | null
  • refId: string
AddonSort: { direction: SortDirection; field: AddonSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

AddonUpdateInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; billingId?: InputMaybe<Scalars["String"]>; dependencies?: InputMaybe<Scalars["String"][]>; description?: InputMaybe<Scalars["String"]>; displayName?: InputMaybe<Scalars["String"]>; hiddenFromWidgets?: InputMaybe<WidgetType[]>; id: Scalars["String"]; maxQuantity?: InputMaybe<Scalars["Float"]>; status?: InputMaybe<PackageStatus> }

Type declaration

Address: { addressLine1?: InputMaybe<Scalars["String"]>; addressLine2?: InputMaybe<Scalars["String"]>; city?: InputMaybe<Scalars["String"]>; country?: InputMaybe<Scalars["String"]>; phoneNumber?: InputMaybe<Scalars["String"]>; postalCode?: InputMaybe<Scalars["String"]>; state?: InputMaybe<Scalars["String"]> }

Type declaration

AggregatedEventsByCustomerInput: { aggregation: MeterAggregation; customerId?: InputMaybe<Scalars["String"]>; environmentId: Scalars["String"]; filters: MeterFilterDefinitionInput[] }

Type declaration

Type declaration

ApiKeySort: { direction: SortDirection; field: ApiKeySortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

ApplySubscription: { addons?: CheckoutAddon[]; billableFeatures?: BillableFeature[]; billingCountryCode?: string; billingId?: string; billingInformation?: Omit<SubscriptionBillingInfo, "taxPercentage">; billingPeriod?: BillingPeriod; metadata?: Metadata | null; payingCustomerId?: string; paymentMethodId?: string; planId: string; promotionCode?: string; resourceId?: string; scheduleStrategy?: ScheduleStrategy; skipTrial?: boolean; startDate?: Date; unitQuantity?: number }

Type declaration

  • Optional addons?: CheckoutAddon[]
  • Optional billableFeatures?: BillableFeature[]
  • Optional billingCountryCode?: string
  • Optional billingId?: string
  • Optional billingInformation?: Omit<SubscriptionBillingInfo, "taxPercentage">
  • Optional billingPeriod?: BillingPeriod
  • Optional metadata?: Metadata | null
  • Optional payingCustomerId?: string
  • Optional paymentMethodId?: string
  • planId: string
  • Optional promotionCode?: string
  • Optional resourceId?: string
  • Optional scheduleStrategy?: ScheduleStrategy
  • Optional skipTrial?: boolean
  • Optional startDate?: Date
  • Optional unitQuantity?: number
ApplySubscriptionFragment: { __typename?: "ApplySubscription"; entitlements?: ({ __typename?: "Entitlement" } & EntitlementFragment)[] | null; subscription?: ({ __typename?: "CustomerSubscription" } & SubscriptionFragment) | null }

Type declaration

  • Optional __typename?: "ApplySubscription"
  • Optional entitlements?: ({ __typename?: "Entitlement" } & EntitlementFragment)[] | null
  • Optional subscription?: ({ __typename?: "CustomerSubscription" } & SubscriptionFragment) | null
ApplySubscriptionInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; addons?: InputMaybe<SubscriptionAddonInput[]>; appliedCoupon?: InputMaybe<SubscriptionCouponInput>; awaitPaymentConfirmation?: InputMaybe<Scalars["Boolean"]>; billableFeatures?: InputMaybe<BillableFeatureInput[]>; billingCountryCode?: InputMaybe<Scalars["String"]>; billingId?: InputMaybe<Scalars["String"]>; billingInformation?: InputMaybe<SubscriptionBillingInfo>; billingPeriod?: InputMaybe<BillingPeriod>; budget?: InputMaybe<BudgetConfigurationInput>; customerId: Scalars["String"]; minimumSpend?: InputMaybe<SubscriptionMinimumSpendValueInput>; payingCustomerId?: InputMaybe<Scalars["String"]>; paymentCollectionMethod?: InputMaybe<PaymentCollectionMethod>; paymentMethodId?: InputMaybe<Scalars["String"]>; planId: Scalars["String"]; priceOverrides?: InputMaybe<PriceOverrideInput[]>; promotionCode?: InputMaybe<Scalars["String"]>; resourceId?: InputMaybe<Scalars["String"]>; salesforceId?: InputMaybe<Scalars["String"]>; scheduleStrategy?: InputMaybe<ScheduleStrategy>; skipTrial?: InputMaybe<Scalars["Boolean"]>; startDate?: InputMaybe<Scalars["DateTime"]>; subscriptionEntitlements?: InputMaybe<SubscriptionEntitlementInput[]>; trialOverrideConfiguration?: InputMaybe<TrialOverrideConfigurationInput>; unitQuantity?: InputMaybe<Scalars["Float"]> }

Type declaration

ApplySubscriptionMutation: { __typename?: "Mutation"; applySubscription: { __typename?: "ApplySubscription" } & ApplySubscriptionFragment }

Type declaration

ApplySubscriptionMutationVariables: Exact<{ input: ApplySubscriptionInput }>
ApplySubscriptionResults: { subscription?: Subscription }

Type declaration

ArchiveCouponInput: { environmentId?: InputMaybe<Scalars["String"]>; refId: Scalars["String"] }

Type declaration

ArchiveCustomerInput: { customerId: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]> }

Type declaration

ArchiveCustomerMutation: { __typename?: "Mutation"; archiveCustomer: { __typename?: "Customer"; customerId: string } }

Type declaration

  • Optional __typename?: "Mutation"
  • archiveCustomer: { __typename?: "Customer"; customerId: string }
    • Optional __typename?: "Customer"
    • customerId: string
ArchiveCustomerMutationVariables: Exact<{ input: ArchiveCustomerInput }>
ArchiveEnvironmentInput: { id?: InputMaybe<Scalars["String"]>; slug?: InputMaybe<Scalars["String"]> }

Type declaration

ArchiveFeatureInput: { environmentId?: InputMaybe<Scalars["String"]>; id: Scalars["String"] }

Type declaration

ArchivePackageGroup: { environmentId: Scalars["String"]; packageGroupId: Scalars["String"] }

The input type for archiving package group

Type declaration

  • environmentId: Scalars["String"]

    The environment id to get the package group in

  • packageGroupId: Scalars["String"]

    The id of the package group

ArchivePlanInput: { environmentId?: InputMaybe<Scalars["String"]>; id: Scalars["String"] }

Type declaration

AttachCustomerPaymentMethodInput: { customerId?: InputMaybe<Scalars["String"]>; environmentId?: InputMaybe<Scalars["String"]>; paymentMethodId: Scalars["String"]; refId?: InputMaybe<Scalars["String"]>; vendorIdentifier: VendorIdentifier }

Type declaration

Auth0CredentialsInput: { clientId: Scalars["String"]; clientSecret: Scalars["String"]; region: Scalars["String"]; tenant: Scalars["String"] }

Type declaration

AutoCancellationRuleInput: { sourcePlanId: Scalars["String"]; targetPlanId: Scalars["String"] }

The input of the auto cancellation rule.

Type declaration

  • sourcePlanId: Scalars["String"]

    The id of the source plan.

  • targetPlanId: Scalars["String"]

    The id of the target plan.

AwsMarketplaceCredentialsInput: { awsRoleArn: Scalars["String"] }

Type declaration

BaseEntitlement: { accessDeniedReason?: AccessDeniedReason; feature?: EntitlementFeature; hasAccess: boolean; isFallback: boolean }

Type declaration

BasePlan: { displayName: string; id: string }

Type declaration

  • displayName: string
  • id: string
BigQueryCredentialsInput: { credentialsJson: Scalars["String"]; datasetId: Scalars["String"]; datasetLocation: Scalars["String"]; gcsBucketName: Scalars["String"]; gcsBucketPath: Scalars["String"]; hmacKeyAccessId: Scalars["String"]; hmacKeySecret: Scalars["String"]; projectId: Scalars["String"] }

Type declaration

BillableFeature: { featureId: string; quantity: number }

Type declaration

  • featureId: string
  • quantity: number
BillableFeatureInput: { featureId: Scalars["String"]; quantity: Scalars["Float"] }

Type declaration

BillingAddress: { city?: InputMaybe<Scalars["String"]>; country?: InputMaybe<Scalars["String"]>; line1?: InputMaybe<Scalars["String"]>; line2?: InputMaybe<Scalars["String"]>; postalCode?: InputMaybe<Scalars["String"]>; state?: InputMaybe<Scalars["String"]> }

Type declaration

Type declaration

BillingModelFilterComparison: { eq?: InputMaybe<BillingModel>; gt?: InputMaybe<BillingModel>; gte?: InputMaybe<BillingModel>; iLike?: InputMaybe<BillingModel>; in?: InputMaybe<BillingModel[]>; is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]>; like?: InputMaybe<BillingModel>; lt?: InputMaybe<BillingModel>; lte?: InputMaybe<BillingModel>; neq?: InputMaybe<BillingModel>; notILike?: InputMaybe<BillingModel>; notIn?: InputMaybe<BillingModel[]>; notLike?: InputMaybe<BillingModel> }

Type declaration

BillingPeriodFilterComparison: { eq?: InputMaybe<BillingPeriod>; gt?: InputMaybe<BillingPeriod>; gte?: InputMaybe<BillingPeriod>; iLike?: InputMaybe<BillingPeriod>; in?: InputMaybe<BillingPeriod[]>; is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]>; like?: InputMaybe<BillingPeriod>; lt?: InputMaybe<BillingPeriod>; lte?: InputMaybe<BillingPeriod>; neq?: InputMaybe<BillingPeriod>; notILike?: InputMaybe<BillingPeriod>; notIn?: InputMaybe<BillingPeriod[]>; notLike?: InputMaybe<BillingPeriod> }

Type declaration

BooleanEntitlementFallback: { hasAccess: boolean }

Type declaration

  • hasAccess: boolean
BooleanEntitlementOptions: { fallback?: BooleanEntitlementFallback; shouldTrack?: boolean }

Type declaration

BooleanFieldComparison: { is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]> }

Type declaration

BudgetConfigurationInput: { hasSoftLimit: Scalars["Boolean"]; limit: Scalars["Float"] }

Budget configuration input

Type declaration

  • hasSoftLimit: Scalars["Boolean"]

    Indicates the behavior of the budget when the limit is exceeded. If true, the limit is a soft limit, if false, the limit is a hard limit. Default is false.

  • limit: Scalars["Float"]

    The maximum spending limit

CancelSubscriptionMutation: { __typename?: "Mutation"; cancelSubscription: { __typename?: "CustomerSubscription" } & SlimSubscriptionFragment }

Type declaration

CancelSubscriptionMutationVariables: Exact<{ input: SubscriptionCancellationInput }>
CancelSubscriptionUpdatesMutation: { __typename?: "Mutation"; cancelSchedule: string }

Type declaration

  • Optional __typename?: "Mutation"
  • cancelSchedule: string
CancelSubscriptionUpdatesMutationVariables: Exact<{ input: SubscriptionUpdateScheduleCancellationInput }>
ChargeSubscriptionUsageInput: { environmentId?: InputMaybe<Scalars["String"]>; subscriptionId: Scalars["String"]; untilDate?: InputMaybe<Scalars["DateTime"]> }

Input for triggering an immediate usage charge for a subscription

Type declaration

  • Optional environmentId?: InputMaybe<Scalars["String"]>

    The id of the subscriptions environment

  • subscriptionId: Scalars["String"]

    The subscription reference id to charge usage for

  • Optional untilDate?: InputMaybe<Scalars["DateTime"]>

    The end date until which to calculate the usage

CheckoutAddon: { addonId: string; quantity?: number }

Type declaration

  • addonId: string
  • Optional quantity?: number
CheckoutBillingIntegration: { billingIdentifier: BillingVendorIdentifier; credentials: { accountId: string; publicKey: string } }

Type declaration

  • billingIdentifier: BillingVendorIdentifier
  • credentials: { accountId: string; publicKey: string }
    • accountId: string
    • publicKey: string
CheckoutConfiguration: Omit<CheckoutConfigurationFragment, "__typename">
CheckoutConfigurationFragment: { __typename: "CheckoutConfiguration"; content?: { __typename?: "CheckoutContent"; collectPhoneNumber?: boolean | null } | null; customCss?: string | null; palette?: { __typename: "CheckoutColorPalette"; backgroundColor?: string | null; borderColor?: string | null; primary?: string | null; summaryBackgroundColor?: string | null; textColor?: string | null } | null; typography?: ({ __typename: "TypographyConfiguration" } & TypographyConfigurationFragment) | null }

Type declaration

  • __typename: "CheckoutConfiguration"
  • Optional content?: { __typename?: "CheckoutContent"; collectPhoneNumber?: boolean | null } | null
  • Optional customCss?: string | null
  • Optional palette?: { __typename: "CheckoutColorPalette"; backgroundColor?: string | null; borderColor?: string | null; primary?: string | null; summaryBackgroundColor?: string | null; textColor?: string | null } | null
  • Optional typography?: ({ __typename: "TypographyConfiguration" } & TypographyConfigurationFragment) | null
CheckoutConfigurationInput: { content?: InputMaybe<CheckoutContentInput>; customCss?: InputMaybe<Scalars["String"]>; palette?: InputMaybe<CheckoutPaletteInput>; typography?: InputMaybe<TypographyConfigurationInput> }

Type declaration

CheckoutContentInput: { collectPhoneNumber?: InputMaybe<Scalars["Boolean"]> }

Type declaration

CheckoutOptions: { allowPromoCodes?: InputMaybe<Scalars["Boolean"]>; allowTaxIdCollection?: InputMaybe<Scalars["Boolean"]>; cancelUrl: Scalars["String"]; collectBillingAddress?: InputMaybe<Scalars["Boolean"]>; collectPhoneNumber?: InputMaybe<Scalars["Boolean"]>; referenceId?: InputMaybe<Scalars["String"]>; successUrl: Scalars["String"] }

Type declaration

CheckoutPaletteInput: { backgroundColor?: InputMaybe<Scalars["String"]>; borderColor?: InputMaybe<Scalars["String"]>; primary?: InputMaybe<Scalars["String"]>; summaryBackgroundColor?: InputMaybe<Scalars["String"]>; textColor?: InputMaybe<Scalars["String"]> }

Type declaration

CheckoutStateFragment: { __typename?: "CheckoutState"; activeSubscription?: ({ __typename?: "CustomerSubscription" } & SubscriptionFragment) | null; billingIntegration: { __typename?: "CheckoutBillingIntegration"; billingIdentifier: BillingVendorIdentifier; credentials: { __typename?: "CheckoutCredentials"; accountId: string; publicKey: string } }; configuration?: ({ __typename?: "CheckoutConfiguration" } & CheckoutConfigurationFragment) | null; customer: { __typename?: "Customer" } & CustomerFragment; plan: { __typename?: "Plan" } & PlanFragment; resource?: ({ __typename?: "CustomerResource" } & CustomerResourceFragment) | null; setupSecret: string }

Type declaration

  • Optional __typename?: "CheckoutState"
  • Optional activeSubscription?: ({ __typename?: "CustomerSubscription" } & SubscriptionFragment) | null
  • billingIntegration: { __typename?: "CheckoutBillingIntegration"; billingIdentifier: BillingVendorIdentifier; credentials: { __typename?: "CheckoutCredentials"; accountId: string; publicKey: string } }
    • Optional __typename?: "CheckoutBillingIntegration"
    • billingIdentifier: BillingVendorIdentifier
    • credentials: { __typename?: "CheckoutCredentials"; accountId: string; publicKey: string }
      • Optional __typename?: "CheckoutCredentials"
      • accountId: string
      • publicKey: string
  • Optional configuration?: ({ __typename?: "CheckoutConfiguration" } & CheckoutConfigurationFragment) | null
  • customer: { __typename?: "Customer" } & CustomerFragment
  • plan: { __typename?: "Plan" } & PlanFragment
  • Optional resource?: ({ __typename?: "CustomerResource" } & CustomerResourceFragment) | null
  • setupSecret: string
CheckoutStateInput: { billingCountryCode?: InputMaybe<Scalars["String"]>; customerId: Scalars["String"]; planId: Scalars["String"]; resourceId?: InputMaybe<Scalars["String"]> }

Type declaration

CheckoutStatePlan: Plan & Pick<PlanFragment, "prices">
ClearCustomerPersistentCacheInput: { customerId: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]>; resourceId?: InputMaybe<Scalars["String"]> }

Type declaration

ClientConfiguration: { apiKey: string; baseEdgeUri?: string; baseUri?: string; cacheTtlMs?: number; clientName?: string; clientVersion?: string; customerId?: string | null; customerToken?: string | null; enableEdge?: boolean; entitlementPollingInterval?: number; entitlementsFallback?: EntitlementsFallback; lazyLoad?: boolean; logConfiguration?: LogConfiguration; resourceId?: string | null; useEntitlementPolling?: boolean }

Type declaration

  • apiKey: string
  • Optional baseEdgeUri?: string
  • Optional baseUri?: string
  • Optional cacheTtlMs?: number
  • Optional clientName?: string
  • Optional clientVersion?: string
  • Optional customerId?: string | null
  • Optional customerToken?: string | null
  • Optional enableEdge?: boolean
  • Optional entitlementPollingInterval?: number
    deprecated

    not longer in use

  • Optional entitlementsFallback?: EntitlementsFallback
  • Optional lazyLoad?: boolean
  • Optional logConfiguration?: LogConfiguration
  • Optional resourceId?: string | null
  • Optional useEntitlementPolling?: boolean
    deprecated

    not longer in use

CompatiblePackageGroup: { addons: Addon[]; displayName: string; options?: CompatiblePackageGroupOptions; packageGroupId: string }

Type declaration

CompatiblePackageGroupOptions: { freeItems?: number; minItems?: number }

Type declaration

  • Optional freeItems?: number
  • Optional minItems?: number
Coupon: { description?: string | null; discountValue: number; id: string; metadata?: Metadata | null; name: string }

Type declaration

  • Optional description?: string | null
  • discountValue: number
  • id: string
  • Optional metadata?: Metadata | null
  • name: string

Type declaration

Type declaration

CouponFragment: { __typename?: "Coupon"; additionalMetaData?: any | null; billingId?: string | null; billingLinkUrl?: string | null; createdAt: any; description?: string | null; discountValue: number; id: string; name: string; refId: string; status: CouponStatus; syncStates?: { __typename?: "SyncState"; status: SyncStatus; vendorIdentifier: VendorIdentifier }[] | null; type: CouponType; updatedAt: any }

Type declaration

  • Optional __typename?: "Coupon"
  • Optional additionalMetaData?: any | null
  • Optional billingId?: string | null
  • Optional billingLinkUrl?: string | null
  • createdAt: any
  • Optional description?: string | null
  • discountValue: number
  • id: string
  • name: string
  • refId: string
  • status: CouponStatus
  • Optional syncStates?: { __typename?: "SyncState"; status: SyncStatus; vendorIdentifier: VendorIdentifier }[] | null
  • type: CouponType
  • updatedAt: any
CouponSort: { direction: SortDirection; field: CouponSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

CouponStatusFilterComparison: { eq?: InputMaybe<CouponStatus>; gt?: InputMaybe<CouponStatus>; gte?: InputMaybe<CouponStatus>; iLike?: InputMaybe<CouponStatus>; in?: InputMaybe<CouponStatus[]>; is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]>; like?: InputMaybe<CouponStatus>; lt?: InputMaybe<CouponStatus>; lte?: InputMaybe<CouponStatus>; neq?: InputMaybe<CouponStatus>; notILike?: InputMaybe<CouponStatus>; notIn?: InputMaybe<CouponStatus[]>; notLike?: InputMaybe<CouponStatus> }

Type declaration

CouponTypeFilterComparison: { eq?: InputMaybe<CouponType>; gt?: InputMaybe<CouponType>; gte?: InputMaybe<CouponType>; iLike?: InputMaybe<CouponType>; in?: InputMaybe<CouponType[]>; is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]>; like?: InputMaybe<CouponType>; lt?: InputMaybe<CouponType>; lte?: InputMaybe<CouponType>; neq?: InputMaybe<CouponType>; notILike?: InputMaybe<CouponType>; notIn?: InputMaybe<CouponType[]>; notLike?: InputMaybe<CouponType> }

Type declaration

CreateCouponInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; description?: InputMaybe<Scalars["String"]>; discountValue: Scalars["Float"]; environmentId?: InputMaybe<Scalars["String"]>; name: Scalars["String"]; refId: Scalars["String"]; type: CouponType }

Type declaration

CreateEnvironment: { color?: InputMaybe<Scalars["String"]>; createdAt?: InputMaybe<Scalars["DateTime"]>; description?: InputMaybe<Scalars["String"]>; displayName?: InputMaybe<Scalars["String"]>; hardenClientAccessEnabled?: InputMaybe<Scalars["Boolean"]>; id?: InputMaybe<Scalars["String"]>; provisionStatus?: InputMaybe<EnvironmentProvisionStatus>; slug?: InputMaybe<Scalars["String"]>; type?: InputMaybe<EnvironmentType> }

Type declaration

CreateEnvironmentOptions: { createDefaultProduct?: InputMaybe<Scalars["Boolean"]> }

Type declaration

CreateExperimentInput: { controlGroupName: Scalars["String"]; description?: InputMaybe<Scalars["String"]>; environmentId?: InputMaybe<Scalars["String"]>; name: Scalars["String"]; productId: Scalars["String"]; productSettings?: InputMaybe<ProductSettingsInput>; variantGroupName: Scalars["String"]; variantPercentage: Scalars["Float"] }

Type declaration

CreateHook: { configuration?: InputMaybe<Scalars["JSON"]>; createdAt?: InputMaybe<Scalars["DateTime"]>; description?: InputMaybe<Scalars["String"]>; endpoint?: InputMaybe<Scalars["String"]>; environmentId?: InputMaybe<Scalars["String"]>; eventLogTypes?: InputMaybe<EventLogType[]>; id?: InputMaybe<Scalars["String"]>; secretKey?: InputMaybe<Scalars["String"]>; status?: InputMaybe<HookStatus> }

Type declaration

CreateIntegrationInput: { auth0Credentials?: InputMaybe<Auth0CredentialsInput>; awsMarketplaceCredentials?: InputMaybe<AwsMarketplaceCredentialsInput>; bigQueryCredentials?: InputMaybe<BigQueryCredentialsInput>; environmentId: Scalars["String"]; hubspotCredentials?: InputMaybe<HubspotCredentialsInput>; openFGACredentials?: InputMaybe<OpenFgaCredentialsInput>; salesforceCredentials?: InputMaybe<SalesforceCredentialsInput>; snowflakeCredentials?: InputMaybe<SnowflakeCredentialsInput>; stripeCredentials?: InputMaybe<StripeCredentialsInput>; vendorIdentifier: VendorIdentifier; zuoraCredentials?: InputMaybe<ZuoraCredentialsInput> }

Type declaration

CreateManyPackageEntitlementsInput: { packageEntitlements: PackageEntitlementInput[] }

Type declaration

CreateManyPromotionalEntitlementsInput: { promotionalEntitlements: PromotionalEntitlementInput[] }

Type declaration

CreateMeter: { aggregation: MeterAggregation; filters: MeterFilterDefinitionInput[] }

Type declaration

CreateOneEnvironmentInput: { environment: CreateEnvironment; options?: InputMaybe<CreateEnvironmentOptions> }

Type declaration

CreateOneHookInput: { hook: CreateHook }

Type declaration

CreateOneIntegrationInput: { integration: CreateIntegrationInput }

Type declaration

CreateOneProductInput: { product: ProductCreateInput }

Type declaration

CreateOrUpdateAwsMarketplaceProductInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; autoCancellationRules?: InputMaybe<AutoCancellationRuleInput[]>; awsDimensionsMapping: DimensionsMappingInput[]; awsProductId?: InputMaybe<Scalars["String"]>; description?: InputMaybe<Scalars["String"]>; displayName?: InputMaybe<Scalars["String"]>; environmentId?: InputMaybe<Scalars["String"]>; multipleSubscriptions?: InputMaybe<Scalars["Boolean"]>; productId?: InputMaybe<Scalars["String"]>; productSettings?: InputMaybe<ProductSettingsInput>; refId?: InputMaybe<Scalars["String"]> }

Type declaration

CreatePackageGroup: { description?: InputMaybe<Scalars["String"]>; displayName: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]>; packageGroupId: Scalars["String"]; productId: Scalars["String"] }

The input type for creating an package group

Type declaration

  • Optional description?: InputMaybe<Scalars["String"]>

    The description of the package group

  • displayName: Scalars["String"]

    The display name of the package group

  • Optional environmentId?: InputMaybe<Scalars["String"]>

    The environment id to create the package group in

  • packageGroupId: Scalars["String"]

    The id of the package group

  • productId: Scalars["String"]

    The id of the product

CreateSubscriptionMutation: { __typename?: "Mutation"; createSubscription: { __typename?: "CustomerSubscription" } & SlimSubscriptionFragment }

Type declaration

CreateSubscriptionMutationVariables: Exact<{ input: SubscriptionInput }>
CursorPaging: { after?: InputMaybe<Scalars["ConnectionCursor"]>; before?: InputMaybe<Scalars["ConnectionCursor"]>; first?: InputMaybe<Scalars["Int"]>; last?: InputMaybe<Scalars["Int"]> }

Type declaration

Customer: { createdAt: Date; eligibleForTrial?: EligibleForTrial[] | null; email?: string; experimentInfo?: ExperimentInfo | null; hasPaymentMethod: boolean; id: string; metadata?: Metadata | null; name?: string; paymentMethodDetails?: PaymentMethodDetails; promotionalEntitlements: PromotionalEntitlement[]; subscriptions: Subscription[]; trialedPlans?: TrialedPlan[] | null; updatedAt: Date; getActivePromotionalEntitlements: any; getActiveSubscriptions: any; getActiveTrials: any }

Type declaration

CustomerBillingInfo: { billingAddress?: InputMaybe<Address>; currency?: InputMaybe<Currency>; customerName?: InputMaybe<Scalars["String"]>; invoiceCustomFields?: InputMaybe<Scalars["JSON"]>; language?: InputMaybe<Scalars["String"]>; metadata?: InputMaybe<Scalars["JSON"]>; paymentMethodId?: InputMaybe<Scalars["String"]>; shippingAddress?: InputMaybe<Address>; taxIds?: InputMaybe<TaxExempt[]>; timezone?: InputMaybe<Scalars["String"]> }

Type declaration

Type declaration

Type declaration

CustomerFragment: { __typename?: "Customer"; coupon?: ({ __typename?: "Coupon" } & CouponFragment) | null; defaultPaymentExpirationMonth?: number | null; defaultPaymentExpirationYear?: number | null; defaultPaymentMethodLast4Digits?: string | null; eligibleForTrial?: { __typename?: "EligibleForTrial"; eligible: boolean; productId?: string | null; productRefId?: string | null }[] | null; experimentInfo?: { __typename?: "experimentInfo"; groupName: string; groupType: ExperimentGroupType; id: string; name: string } | null; hasActiveSubscription: boolean; hasPaymentMethod: boolean; promotionalEntitlements: ({ __typename?: "PromotionalEntitlement" } & PromotionalEntitlementFragment)[]; trialedPlans?: { __typename?: "TrialedPlan"; planId?: string | null; planRefId?: string | null; productId?: string | null; productRefId?: string | null }[] | null } & SlimCustomerFragment
CustomerInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; awsMarketplaceCustomerId?: InputMaybe<Scalars["String"]>; billingId?: InputMaybe<Scalars["String"]>; billingInformation?: InputMaybe<CustomerBillingInfo>; couponRefId?: InputMaybe<Scalars["String"]>; createdAt?: InputMaybe<Scalars["DateTime"]>; crmId?: InputMaybe<Scalars["String"]>; customerId?: InputMaybe<Scalars["String"]>; email?: InputMaybe<Scalars["String"]>; environmentId?: InputMaybe<Scalars["String"]>; name?: InputMaybe<Scalars["String"]>; refId?: InputMaybe<Scalars["String"]>; salesforceId?: InputMaybe<Scalars["String"]>; shouldSyncFree?: InputMaybe<Scalars["Boolean"]> }

Type declaration

CustomerPortal: { billingInformation: CustomerPortalBillingInformation; billingPortalUrl?: string | null; canUpgradeSubscription: boolean; configuration?: CustomerPortalConfiguration | null; entitlements: CustomerPortalEntitlement[]; promotionalEntitlements: CustomerPortalPromotionalEntitlement[]; resource: CustomerResource | null; showWatermark: boolean; subscriptions: CustomerPortalSubscription[] }

Type declaration

CustomerPortalBillingInformation: Omit<CustomerPortalBillingInformationFragment, "__typename">
CustomerPortalBillingInformationFragment: { __typename?: "CustomerPortalBillingInformation"; defaultPaymentExpirationMonth?: number | null; defaultPaymentExpirationYear?: number | null; defaultPaymentMethodId?: string | null; defaultPaymentMethodLast4Digits?: string | null; email?: string | null; name?: string | null }

Type declaration

  • Optional __typename?: "CustomerPortalBillingInformation"
  • Optional defaultPaymentExpirationMonth?: number | null
  • Optional defaultPaymentExpirationYear?: number | null
  • Optional defaultPaymentMethodId?: string | null
  • Optional defaultPaymentMethodLast4Digits?: string | null
  • Optional email?: string | null
  • Optional name?: string | null
CustomerPortalColorsPaletteInput: { backgroundColor?: InputMaybe<Scalars["String"]>; borderColor?: InputMaybe<Scalars["String"]>; currentPlanBackground?: InputMaybe<Scalars["String"]>; iconsColor?: InputMaybe<Scalars["String"]>; paywallBackgroundColor?: InputMaybe<Scalars["String"]>; primary?: InputMaybe<Scalars["String"]>; textColor?: InputMaybe<Scalars["String"]> }

Type declaration

CustomerPortalConfiguration: Omit<CustomerPortalConfigurationFragment, "__typename">
CustomerPortalConfigurationFragment: { __typename?: "CustomerPortalConfiguration"; customCss?: string | null; palette?: { __typename?: "CustomerPortalColorsPalette"; backgroundColor?: string | null; borderColor?: string | null; currentPlanBackground?: string | null; iconsColor?: string | null; paywallBackgroundColor?: string | null; primary?: string | null; textColor?: string | null } | null; typography?: ({ __typename?: "TypographyConfiguration" } & TypographyConfigurationFragment) | null }

Type declaration

  • Optional __typename?: "CustomerPortalConfiguration"
  • Optional customCss?: string | null
  • Optional palette?: { __typename?: "CustomerPortalColorsPalette"; backgroundColor?: string | null; borderColor?: string | null; currentPlanBackground?: string | null; iconsColor?: string | null; paywallBackgroundColor?: string | null; primary?: string | null; textColor?: string | null } | null
  • Optional typography?: ({ __typename?: "TypographyConfiguration" } & TypographyConfigurationFragment) | null
CustomerPortalConfigurationInput: { customCss?: InputMaybe<Scalars["String"]>; palette?: InputMaybe<CustomerPortalColorsPaletteInput>; typography?: InputMaybe<TypographyConfigurationInput> }

Type declaration

CustomerPortalEntitlement: Omit<CustomerPortalEntitlementFragment, "__typename">
CustomerPortalEntitlementFragment: { __typename?: "Entitlement"; currentUsage?: number | null; feature?: ({ __typename?: "EntitlementFeature" } & FeatureFragment) | null; hasSoftLimit?: boolean | null; hasUnlimitedUsage: boolean; isGranted: boolean; nextResetDate?: any | null; resetPeriod?: EntitlementResetPeriod | null; resetPeriodConfiguration?: ({ __typename?: "MonthlyResetPeriodConfig" } & ResetPeriodConfigurationFragment_MonthlyResetPeriodConfig_) | ({ __typename?: "WeeklyResetPeriodConfig" } & ResetPeriodConfigurationFragment_WeeklyResetPeriodConfig_) | ({ __typename?: "YearlyResetPeriodConfig" } & ResetPeriodConfigurationFragment_YearlyResetPeriodConfig_) | null; usageLimit?: number | null; usagePeriodEnd?: any | null; usagePeriodStart?: any | null }

Type declaration

  • Optional __typename?: "Entitlement"
  • Optional currentUsage?: number | null
  • Optional feature?: ({ __typename?: "EntitlementFeature" } & FeatureFragment) | null
  • Optional hasSoftLimit?: boolean | null
  • hasUnlimitedUsage: boolean
  • isGranted: boolean
  • Optional nextResetDate?: any | null
  • Optional resetPeriod?: EntitlementResetPeriod | null
  • Optional resetPeriodConfiguration?: ({ __typename?: "MonthlyResetPeriodConfig" } & ResetPeriodConfigurationFragment_MonthlyResetPeriodConfig_) | ({ __typename?: "WeeklyResetPeriodConfig" } & ResetPeriodConfigurationFragment_WeeklyResetPeriodConfig_) | ({ __typename?: "YearlyResetPeriodConfig" } & ResetPeriodConfigurationFragment_YearlyResetPeriodConfig_) | null
  • Optional usageLimit?: number | null
  • Optional usagePeriodEnd?: any | null
  • Optional usagePeriodStart?: any | null
CustomerPortalFragment: { __typename?: "CustomerPortal"; billingInformation: { __typename?: "CustomerPortalBillingInformation" } & CustomerPortalBillingInformationFragment; billingPortalUrl?: string | null; canUpgradeSubscription: boolean; configuration?: ({ __typename?: "CustomerPortalConfiguration" } & CustomerPortalConfigurationFragment) | null; entitlements: ({ __typename?: "Entitlement" } & CustomerPortalEntitlementFragment)[]; promotionalEntitlements: ({ __typename?: "CustomerPortalPromotionalEntitlement" } & CustomerPortalPromotionalEntitlementFragment)[]; resource?: ({ __typename?: "CustomerResource" } & CustomerResourceFragment) | null; showWatermark: boolean; subscriptions: ({ __typename?: "CustomerPortalSubscription" } & CustomerPortalSubscriptionFragment)[] }

Type declaration

CustomerPortalInput: { customerId: Scalars["String"]; productId?: InputMaybe<Scalars["String"]>; resourceId?: InputMaybe<Scalars["String"]> }

Type declaration

CustomerPortalPromotionalEntitlement: Omit<CustomerPortalPromotionalEntitlementFragment, "__typename">
CustomerPortalPromotionalEntitlementFragment: { __typename?: "CustomerPortalPromotionalEntitlement"; displayName: string; endDate?: any | null; hasSoftLimit?: boolean | null; hasUnlimitedUsage?: boolean | null; period: PromotionalEntitlementPeriod; startDate: any; usageLimit?: number | null }

Type declaration

  • Optional __typename?: "CustomerPortalPromotionalEntitlement"
  • displayName: string
  • Optional endDate?: any | null
  • Optional hasSoftLimit?: boolean | null
  • Optional hasUnlimitedUsage?: boolean | null
  • period: PromotionalEntitlementPeriod
  • startDate: any
  • Optional usageLimit?: number | null
CustomerPortalSubscription: Omit<CustomerPortalSubscriptionFragment, "__typename">
CustomerPortalSubscriptionAddon: Omit<CustomerPortalSubscriptionAddonFragment, "__typename">
CustomerPortalSubscriptionAddonFragment: { __typename?: "CustomerPortalAddon"; addonId: string; description?: string | null; displayName: string; quantity: number }

Type declaration

  • Optional __typename?: "CustomerPortalAddon"
  • addonId: string
  • Optional description?: string | null
  • displayName: string
  • quantity: number
CustomerPortalSubscriptionFragment: { __typename?: "CustomerPortalSubscription"; addons: ({ __typename?: "CustomerPortalAddon" } & CustomerPortalSubscriptionAddonFragment)[]; billingPeriodRange?: { __typename?: "DateRange"; end?: any | null; start?: any | null } | null; planId: string; planName: string; prices: ({ __typename?: "CustomerPortalSubscriptionPrice" } & CustomerPortalSubscriptionPriceFragment)[]; pricing: { __typename?: "CustomerPortalSubscriptionPricing"; billingModel?: BillingModel | null; billingPeriod?: BillingPeriod | null; feature?: { __typename?: "CustomerPortalPricingFeature"; displayName: string; featureUnits?: string | null; featureUnitsPlural?: string | null } | null; price?: { __typename?: "Money"; amount: number; currency: Currency } | null; pricingType: PricingType; unitQuantity?: number | null; usageBasedEstimatedBill?: number | null }; pricingType: PricingType; scheduledUpdates?: ({ __typename?: "SubscriptionScheduledUpdate" } & CustomerPortalSubscriptionScheduledUpdateDataFragment)[] | null; status: SubscriptionStatus; subscriptionId: string; totalPrice?: { __typename?: "CustomerSubscriptionTotalPrice"; addonsTotal: { __typename?: "Money"; amount: number; currency: Currency }; subTotal: { __typename?: "Money"; amount: number; currency: Currency }; total: { __typename?: "Money"; amount: number; currency: Currency } } | null; trialRemainingDays?: number | null }

Type declaration

  • Optional __typename?: "CustomerPortalSubscription"
  • addons: ({ __typename?: "CustomerPortalAddon" } & CustomerPortalSubscriptionAddonFragment)[]
  • Optional billingPeriodRange?: { __typename?: "DateRange"; end?: any | null; start?: any | null } | null
  • planId: string
  • planName: string
  • prices: ({ __typename?: "CustomerPortalSubscriptionPrice" } & CustomerPortalSubscriptionPriceFragment)[]
  • pricing: { __typename?: "CustomerPortalSubscriptionPricing"; billingModel?: BillingModel | null; billingPeriod?: BillingPeriod | null; feature?: { __typename?: "CustomerPortalPricingFeature"; displayName: string; featureUnits?: string | null; featureUnitsPlural?: string | null } | null; price?: { __typename?: "Money"; amount: number; currency: Currency } | null; pricingType: PricingType; unitQuantity?: number | null; usageBasedEstimatedBill?: number | null }
    • Optional __typename?: "CustomerPortalSubscriptionPricing"
    • Optional billingModel?: BillingModel | null
    • Optional billingPeriod?: BillingPeriod | null
    • Optional feature?: { __typename?: "CustomerPortalPricingFeature"; displayName: string; featureUnits?: string | null; featureUnitsPlural?: string | null } | null
    • Optional price?: { __typename?: "Money"; amount: number; currency: Currency } | null
    • pricingType: PricingType
    • Optional unitQuantity?: number | null
    • Optional usageBasedEstimatedBill?: number | null
  • pricingType: PricingType
  • Optional scheduledUpdates?: ({ __typename?: "SubscriptionScheduledUpdate" } & CustomerPortalSubscriptionScheduledUpdateDataFragment)[] | null
  • status: SubscriptionStatus
  • subscriptionId: string
  • Optional totalPrice?: { __typename?: "CustomerSubscriptionTotalPrice"; addonsTotal: { __typename?: "Money"; amount: number; currency: Currency }; subTotal: { __typename?: "Money"; amount: number; currency: Currency }; total: { __typename?: "Money"; amount: number; currency: Currency } } | null
  • Optional trialRemainingDays?: number | null
CustomerPortalSubscriptionPriceFragment: { __typename?: "CustomerPortalSubscriptionPrice"; billingModel?: BillingModel | null; billingPeriod?: BillingPeriod | null; feature?: { __typename?: "CustomerPortalPricingFeature"; displayName: string; featureUnits?: string | null; featureUnitsPlural?: string | null; id: string; refId: string } | null; price?: { __typename?: "Money"; amount: number; currency: Currency } | null }

Type declaration

  • Optional __typename?: "CustomerPortalSubscriptionPrice"
  • Optional billingModel?: BillingModel | null
  • Optional billingPeriod?: BillingPeriod | null
  • Optional feature?: { __typename?: "CustomerPortalPricingFeature"; displayName: string; featureUnits?: string | null; featureUnitsPlural?: string | null; id: string; refId: string } | null
  • Optional price?: { __typename?: "Money"; amount: number; currency: Currency } | null
CustomerPortalSubscriptionScheduledUpdateDataFragment: { __typename?: "SubscriptionScheduledUpdate"; scheduleStatus: SubscriptionScheduleStatus; scheduleVariables?: ({ __typename?: "AddonChangeVariables" } & ScheduleVariablesFragment_AddonChangeVariables_) | ({ __typename?: "BillingPeriodChangeVariables" } & ScheduleVariablesFragment_BillingPeriodChangeVariables_) | ({ __typename?: "DowngradeChangeVariables" } & ScheduleVariablesFragment_DowngradeChangeVariables_) | ({ __typename?: "PlanChangeVariables" } & ScheduleVariablesFragment_PlanChangeVariables_) | ({ __typename?: "UnitAmountChangeVariables" } & ScheduleVariablesFragment_UnitAmountChangeVariables_) | null; scheduledExecutionTime: any; subscriptionScheduleType: SubscriptionScheduleType; targetPackage?: { __typename?: "PackageDTO"; displayName: string; id: string; pricingType?: PricingType | null; refId: string } | null }

Type declaration

  • Optional __typename?: "SubscriptionScheduledUpdate"
  • scheduleStatus: SubscriptionScheduleStatus
  • Optional scheduleVariables?: ({ __typename?: "AddonChangeVariables" } & ScheduleVariablesFragment_AddonChangeVariables_) | ({ __typename?: "BillingPeriodChangeVariables" } & ScheduleVariablesFragment_BillingPeriodChangeVariables_) | ({ __typename?: "DowngradeChangeVariables" } & ScheduleVariablesFragment_DowngradeChangeVariables_) | ({ __typename?: "PlanChangeVariables" } & ScheduleVariablesFragment_PlanChangeVariables_) | ({ __typename?: "UnitAmountChangeVariables" } & ScheduleVariablesFragment_UnitAmountChangeVariables_) | null
  • scheduledExecutionTime: any
  • subscriptionScheduleType: SubscriptionScheduleType
  • Optional targetPackage?: { __typename?: "PackageDTO"; displayName: string; id: string; pricingType?: PricingType | null; refId: string } | null
CustomerResource: { id: string }

Type declaration

  • id: string

Type declaration

Type declaration

Type declaration

CustomerResourceFragment: { __typename?: "CustomerResource"; resourceId: string }

Type declaration

  • Optional __typename?: "CustomerResource"
  • resourceId: string
CustomerResourceSort: { direction: SortDirection; field: CustomerResourceSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

CustomerSearchQueryFilterComparison: { iLike?: InputMaybe<Scalars["String"]> }

Type declaration

CustomerSort: { direction: SortDirection; field: CustomerSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

CustomerState: Omit<Customer, "getActiveSubscriptions" | "getActivePromotionalEntitlements" | "getActiveTrials">
CustomerStatisticsFragment: { __typename?: "Customer"; statistics?: { __typename?: "CustomerStatistics"; activeSubscriptionsByPricingType: { __typename?: "SubscriptionPricingTypeStatistics"; pricingType: PricingType; totalCount: number }[] } | null }

Type declaration

  • Optional __typename?: "Customer"
  • Optional statistics?: { __typename?: "CustomerStatistics"; activeSubscriptionsByPricingType: { __typename?: "SubscriptionPricingTypeStatistics"; pricingType: PricingType; totalCount: number }[] } | null
CustomerSubscriptionFilter: { addons?: InputMaybe<CustomerSubscriptionFilterSubscriptionAddonFilter>; and?: InputMaybe<CustomerSubscriptionFilter[]>; billingCycleAnchor?: InputMaybe<DateFieldComparison>; billingId?: InputMaybe<StringFieldComparison>; cancelReason?: InputMaybe<SubscriptionCancelReasonFilterComparison>; cancellationDate?: InputMaybe<DateFieldComparison>; createdAt?: InputMaybe<DateFieldComparison>; crmId?: InputMaybe<StringFieldComparison>; crmLinkUrl?: InputMaybe<StringFieldComparison>; currentBillingPeriodEnd?: InputMaybe<DateFieldComparison>; currentBillingPeriodStart?: InputMaybe<DateFieldComparison>; customer?: InputMaybe<CustomerSubscriptionFilterCustomerFilter>; customerId?: InputMaybe<StringFieldComparison>; effectiveEndDate?: InputMaybe<DateFieldComparison>; endDate?: InputMaybe<DateFieldComparison>; environmentId?: InputMaybe<StringFieldComparison>; id?: InputMaybe<StringFieldComparison>; oldBillingId?: InputMaybe<StringFieldComparison>; or?: InputMaybe<CustomerSubscriptionFilter[]>; payingCustomer?: InputMaybe<CustomerSubscriptionFilterCustomerFilter>; payingCustomerId?: InputMaybe<StringFieldComparison>; paymentCollection?: InputMaybe<PaymentCollectionFilterComparison>; plan?: InputMaybe<CustomerSubscriptionFilterPlanFilter>; prices?: InputMaybe<CustomerSubscriptionFilterSubscriptionPriceFilter>; pricingType?: InputMaybe<PricingTypeFilterComparison>; refId?: InputMaybe<StringFieldComparison>; resource?: InputMaybe<CustomerSubscriptionFilterCustomerResourceFilter>; resourceId?: InputMaybe<StringFieldComparison>; startDate?: InputMaybe<DateFieldComparison>; status?: InputMaybe<SubscriptionStatusFilterComparison>; subscriptionEntitlements?: InputMaybe<CustomerSubscriptionFilterSubscriptionEntitlementFilter>; subscriptionId?: InputMaybe<StringFieldComparison>; trialEndDate?: InputMaybe<DateFieldComparison> }

Type declaration

Type declaration

Type declaration

CustomerSubscriptionSort: { direction: SortDirection; field: CustomerSubscriptionSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

CustomerWithSubscriptionsFragment: { __typename?: "Customer"; subscriptions?: ({ __typename?: "CustomerSubscription" } & SubscriptionFragment)[] | null } & CustomerFragment
DateFieldComparison: { between?: InputMaybe<DateFieldComparisonBetween>; eq?: InputMaybe<Scalars["DateTime"]>; gt?: InputMaybe<Scalars["DateTime"]>; gte?: InputMaybe<Scalars["DateTime"]>; in?: InputMaybe<Scalars["DateTime"][]>; is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]>; lt?: InputMaybe<Scalars["DateTime"]>; lte?: InputMaybe<Scalars["DateTime"]>; neq?: InputMaybe<Scalars["DateTime"]>; notBetween?: InputMaybe<DateFieldComparisonBetween>; notIn?: InputMaybe<Scalars["DateTime"][]> }

Type declaration

DateFieldComparisonBetween: { lower: Scalars["DateTime"]; upper: Scalars["DateTime"] }

Type declaration

DateRange: { end?: Date; start?: Date }

Type declaration

  • Optional end?: Date
  • Optional start?: Date
DefaultTrialConfig: { budget?: { limit: BudgetConfigurationInput["limit"] }; duration: number; units: TrialPeriodUnits }

Type declaration

DefaultTrialConfigInputDto: { budget?: InputMaybe<BudgetConfigurationInput>; duration?: InputMaybe<Scalars["Float"]>; units?: InputMaybe<TrialPeriodUnits> }

Type declaration

DeleteFeatureInput: { environmentId?: InputMaybe<Scalars["String"]>; id: Scalars["String"] }

Type declaration

DeleteOneHookInput: { id: Scalars["String"] }

Type declaration

  • id: Scalars["String"]

    The id of the record to delete.

DeleteOneIntegrationInput: { id: Scalars["String"] }

Type declaration

  • id: Scalars["String"]

    The id of the record to delete.

DeleteOnePackageEntitlementInput: { id: Scalars["String"] }

Type declaration

  • id: Scalars["String"]

    The id of the record to delete.

DeleteOnePriceInput: { id: Scalars["String"] }

Type declaration

  • id: Scalars["String"]

    The id of the record to delete.

DeleteOneProductInput: { id: Scalars["String"] }

Type declaration

  • id: Scalars["String"]

    The id of the record to delete.

DeleteOnePromotionalEntitlementInput: { id: Scalars["String"] }

Type declaration

  • id: Scalars["String"]

    The id of the record to delete.

DependencyAddon: { description?: string; displayName: string; refId: string }

Type declaration

  • Optional description?: string
  • displayName: string
  • refId: string
DetachCustomerPaymentMethodInput: { customerId: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]> }

Type declaration

DetachCustomerPaymentMethodMutation: { __typename?: "Mutation"; detachCustomerPaymentMethod: { __typename?: "Customer" } & SlimCustomerFragment }

Type declaration

  • Optional __typename?: "Mutation"
  • detachCustomerPaymentMethod: { __typename?: "Customer" } & SlimCustomerFragment
DetachCustomerPaymentMethodMutationVariables: Exact<{ input: DetachCustomerPaymentMethodInput }>
DimensionsMappingInput: { key: Scalars["String"]; planName: Scalars["String"]; planRefId: Scalars["String"] }

Type declaration

DiscardPackageDraftInput: { environmentId: Scalars["String"]; refId: Scalars["String"] }

Type declaration

DoesFeatureExist: { environmentId: Scalars["String"]; refId: Scalars["String"] }

Type declaration

DumpEnvironmentForForMergeComparisonInput: { destinationEnvironmentSlug: Scalars["String"]; sourceEnvironmentSlug: Scalars["String"] }

Input type for dumpEnvironmentForMergeComparison query.

Type declaration

  • destinationEnvironmentSlug: Scalars["String"]

    The slug of the environment to copy to.

  • sourceEnvironmentSlug: Scalars["String"]

    The slug of the environment to copy from.

DumpEnvironmentProductCatalogInput: { environmentSlug: Scalars["String"] }

Input type for dumpEnvironmentProductCatalog mutation.

Type declaration

  • environmentSlug: Scalars["String"]

    The slug of the environment to dump.

DuplicateProductInput: { description?: InputMaybe<Scalars["String"]>; displayName?: InputMaybe<Scalars["String"]>; environmentId: Scalars["String"]; refId: Scalars["String"]; sourceProductId: Scalars["String"] }

Type declaration

EditPackageGroupDetailsInput: { description?: InputMaybe<Scalars["String"]>; displayName: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]>; packageGroupId: Scalars["String"] }

The input type for editing package group details

Type declaration

  • Optional description?: InputMaybe<Scalars["String"]>

    The description of the package group

  • displayName: Scalars["String"]

    The display name of the package group

  • Optional environmentId?: InputMaybe<Scalars["String"]>

    The environment id of the package group to be edited

  • packageGroupId: Scalars["String"]

    The id of the package group

EligibleForTrial: { eligible: boolean; productId?: string | null }

Type declaration

  • eligible: boolean
  • Optional productId?: string | null
EntitlementCheckRequested: { customerId: Scalars["String"]; entitlementCheckResult: EntitlementCheckResult; environmentId?: InputMaybe<Scalars["String"]>; featureId: Scalars["String"]; requestedUsage?: InputMaybe<Scalars["Float"]>; resourceId?: InputMaybe<Scalars["String"]> }

Type declaration

EntitlementCheckResult: { accessDeniedReason?: InputMaybe<AccessDeniedReason>; currentUsage?: InputMaybe<Scalars["Float"]>; hasAccess: Scalars["Boolean"]; hasSoftLimit?: InputMaybe<Scalars["Boolean"]>; hasUnlimitedUsage?: InputMaybe<Scalars["Boolean"]>; monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>; nextResetDate?: InputMaybe<Scalars["DateTime"]>; requestedUsage?: InputMaybe<Scalars["Float"]>; resetPeriod?: InputMaybe<EntitlementResetPeriod>; usageLimit?: InputMaybe<Scalars["Float"]>; weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput>; yearlyResetPeriodConfiguration?: InputMaybe<YearlyResetPeriodConfigInput> }

Type declaration

EntitlementFeature: { description?: string; displayName: string; featureType: FeatureType; id: string; isMetered?: boolean; metadata?: Record<string, string>; meterType?: Fluctuating | Incremental | None; units?: string; unitsPlural?: string }

Type declaration

  • Optional description?: string
  • displayName: string
  • featureType: FeatureType
  • id: string
  • Optional isMetered?: boolean
  • Optional metadata?: Record<string, string>
  • Optional meterType?: Fluctuating | Incremental | None
  • Optional units?: string
  • Optional unitsPlural?: string
EntitlementFragment: { __typename: "Entitlement"; accessDeniedReason?: AccessDeniedReason | null; currentUsage?: number | null; customerId?: string | null; entitlementUpdatedAt?: any | null; feature?: ({ __typename?: "EntitlementFeature" } & FeatureFragment) | null; hasSoftLimit?: boolean | null; hasUnlimitedUsage: boolean; isGranted: boolean; nextResetDate?: any | null; requestedUsage?: number | null; resetPeriod?: EntitlementResetPeriod | null; resetPeriodConfiguration?: ({ __typename?: "MonthlyResetPeriodConfig" } & ResetPeriodConfigurationFragment_MonthlyResetPeriodConfig_) | ({ __typename?: "WeeklyResetPeriodConfig" } & ResetPeriodConfigurationFragment_WeeklyResetPeriodConfig_) | ({ __typename?: "YearlyResetPeriodConfig" } & ResetPeriodConfigurationFragment_YearlyResetPeriodConfig_) | null; resourceId?: string | null; usageLimit?: number | null; usagePeriodAnchor?: any | null; usagePeriodEnd?: any | null; usagePeriodStart?: any | null; usageUpdatedAt?: any | null }

Type declaration

  • __typename: "Entitlement"
  • Optional accessDeniedReason?: AccessDeniedReason | null
  • Optional currentUsage?: number | null
  • Optional customerId?: string | null
  • Optional entitlementUpdatedAt?: any | null
  • Optional feature?: ({ __typename?: "EntitlementFeature" } & FeatureFragment) | null
  • Optional hasSoftLimit?: boolean | null
  • hasUnlimitedUsage: boolean
  • isGranted: boolean
  • Optional nextResetDate?: any | null
  • Optional requestedUsage?: number | null
  • Optional resetPeriod?: EntitlementResetPeriod | null
  • Optional resetPeriodConfiguration?: ({ __typename?: "MonthlyResetPeriodConfig" } & ResetPeriodConfigurationFragment_MonthlyResetPeriodConfig_) | ({ __typename?: "WeeklyResetPeriodConfig" } & ResetPeriodConfigurationFragment_WeeklyResetPeriodConfig_) | ({ __typename?: "YearlyResetPeriodConfig" } & ResetPeriodConfigurationFragment_YearlyResetPeriodConfig_) | null
  • Optional resourceId?: string | null
  • Optional usageLimit?: number | null
  • Optional usagePeriodAnchor?: any | null
  • Optional usagePeriodEnd?: any | null
  • Optional usagePeriodStart?: any | null
  • Optional usageUpdatedAt?: any | null
EntitlementOptions: { requestedUsage?: InputMaybe<Scalars["Float"]>; shouldTrack?: InputMaybe<Scalars["Boolean"]> }

Type declaration

EntitlementUsageUpdatedFragment: { __typename?: "UsageUpdated"; entitlement: { __typename?: "Entitlement" } & EntitlementFragment; usage: { __typename?: "UsageMeasurementUpdated" } & UsageUpdatedFragment }

Type declaration

EntitlementsFallback: {}
EntitlementsUpdatedPayloadFragment: { __typename?: "EntitlementsUpdated"; customerId: string; entitlements: ({ __typename?: "Entitlement" } & EntitlementFragment)[]; resourceId?: string | null }

Type declaration

  • Optional __typename?: "EntitlementsUpdated"
  • customerId: string
  • entitlements: ({ __typename?: "Entitlement" } & EntitlementFragment)[]
  • Optional resourceId?: string | null

Type declaration

EnvironmentInput: { color?: InputMaybe<Scalars["String"]>; description?: InputMaybe<Scalars["String"]>; displayName?: InputMaybe<Scalars["String"]>; hardenClientAccessEnabled?: InputMaybe<Scalars["Boolean"]>; provisionStatus?: InputMaybe<EnvironmentProvisionStatus> }

Type declaration

EnvironmentSort: { direction: SortDirection; field: EnvironmentSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

EstimateSubscription: { addons?: SubscriptionEstimationAddon[]; billableFeatures?: BillableFeature[]; billingCountryCode?: string; billingInformation?: SubscriptionBillingInfo; billingPeriod?: BillingPeriod; customerId: string; payingCustomerId?: string; planId: string; promotionCode?: string; resourceId?: string; skipTrial?: boolean; startDate?: Date; unitQuantity?: number }

Type declaration

  • Optional addons?: SubscriptionEstimationAddon[]
  • Optional billableFeatures?: BillableFeature[]
  • Optional billingCountryCode?: string
  • Optional billingInformation?: SubscriptionBillingInfo
  • Optional billingPeriod?: BillingPeriod
  • customerId: string
  • Optional payingCustomerId?: string
  • planId: string
  • Optional promotionCode?: string
  • Optional resourceId?: string
  • Optional skipTrial?: boolean
  • Optional startDate?: Date
  • Optional unitQuantity?: number
EstimateSubscriptionInput: { addons?: InputMaybe<SubscriptionAddonInput[]>; appliedCoupon?: InputMaybe<SubscriptionCouponInput>; billableFeatures?: InputMaybe<BillableFeatureInput[]>; billingCountryCode?: InputMaybe<Scalars["String"]>; billingInformation?: InputMaybe<SubscriptionBillingInfo>; billingPeriod?: InputMaybe<BillingPeriod>; customerId: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]>; payingCustomerId?: InputMaybe<Scalars["String"]>; planId: Scalars["String"]; priceUnitAmount?: InputMaybe<Scalars["Float"]>; promotionCode?: InputMaybe<Scalars["String"]>; resourceId?: InputMaybe<Scalars["String"]>; skipTrial?: InputMaybe<Scalars["Boolean"]>; startDate?: InputMaybe<Scalars["DateTime"]>; unitQuantity?: InputMaybe<Scalars["Float"]> }

Type declaration

EstimateSubscriptionMutation: { __typename?: "Mutation"; estimateSubscription: { __typename?: "SubscriptionPreview" } & SubscriptionPreviewFragment }

Type declaration

EstimateSubscriptionMutationVariables: Exact<{ input: EstimateSubscriptionInput }>
EstimateSubscriptionUpdate: { addons?: SubscriptionEstimationAddon[]; billableFeatures?: BillableFeature[]; promotionCode?: string; subscriptionId: string; unitQuantity?: number }

Type declaration

EstimateSubscriptionUpdateInput: { addons?: InputMaybe<SubscriptionAddonInput[]>; appliedCoupon?: InputMaybe<SubscriptionCouponInput>; billableFeatures?: InputMaybe<BillableFeatureInput[]>; environmentId?: InputMaybe<Scalars["String"]>; promotionCode?: InputMaybe<Scalars["String"]>; subscriptionId: Scalars["String"]; unitQuantity?: InputMaybe<Scalars["Float"]> }

Type declaration

EstimateSubscriptionUpdateMutation: { __typename?: "Mutation"; estimateSubscriptionUpdate: { __typename?: "SubscriptionPreview" } & SubscriptionPreviewFragment }

Type declaration

EstimateSubscriptionUpdateMutationVariables: Exact<{ input: EstimateSubscriptionUpdateInput }>
EventLogCreatedAtFilterComparison: { gte?: InputMaybe<Scalars["DateTime"]>; lte?: InputMaybe<Scalars["DateTime"]> }

Type declaration

EventLogEntityIdFilterComparison: { eq?: InputMaybe<Scalars["String"]>; in?: InputMaybe<Scalars["String"][]> }

Type declaration

EventLogEnvironmentIdFilterComparison: { eq?: InputMaybe<Scalars["String"]> }

Type declaration

EventLogEventLogTypeFilterComparison: { eq?: InputMaybe<EventLogType>; in?: InputMaybe<EventLogType[]>; neq?: InputMaybe<EventLogType>; notIn?: InputMaybe<EventLogType[]> }

Type declaration

EventLogIdFilterComparison: { eq?: InputMaybe<Scalars["String"]> }

Type declaration

EventLogParentEntityIdFilterComparison: { eq?: InputMaybe<Scalars["String"]>; in?: InputMaybe<Scalars["String"][]> }

Type declaration

EventLogSort: { direction: SortDirection; field: EventLogSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

EventsFieldsInput: { customerId?: InputMaybe<Scalars["String"]>; environmentId: Scalars["String"]; featureId?: InputMaybe<Scalars["String"]>; filters?: InputMaybe<MeterFilterDefinitionInput[]>; meterId?: InputMaybe<Scalars["String"]>; resourceId?: InputMaybe<Scalars["String"]>; uniqueValuesLimit?: InputMaybe<Scalars["Float"]> }

Type declaration

Exact<T>: { [ K in keyof T]: T[K] }

Type parameters

  • T: {}

Type declaration

Type declaration

ExperimentInfo: { groupName: string; groupType?: ExperimentGroupType | null; id: string; name: string }

Type declaration

ExperimentSort: { direction: SortDirection; field: ExperimentSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

ExperimentStatsQuery: { environmentId?: InputMaybe<Scalars["String"]>; experimentRefId: Scalars["String"] }

Type declaration

Type declaration

FeatureAssociatedLatestPackages: { environmentId: Scalars["String"]; featureId: Scalars["String"] }

Type declaration

Type declaration

FeatureFragment: { __typename: "EntitlementFeature"; description?: string | null; displayName: string; featureType: FeatureType; featureUnits?: string | null; featureUnitsPlural?: string | null; meterType?: MeterType | null; refId: string; unitTransformation?: { __typename?: "UnitTransformation"; divide: number; round: UnitTransformationRound } | null }

Type declaration

  • __typename: "EntitlementFeature"
  • Optional description?: string | null
  • displayName: string
  • featureType: FeatureType
  • Optional featureUnits?: string | null
  • Optional featureUnitsPlural?: string | null
  • Optional meterType?: MeterType | null
  • refId: string
  • Optional unitTransformation?: { __typename?: "UnitTransformation"; divide: number; round: UnitTransformationRound } | null
FeatureInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; description?: InputMaybe<Scalars["String"]>; displayName: Scalars["String"]; environmentId: Scalars["String"]; featureStatus?: InputMaybe<FeatureStatus>; featureType: FeatureType; featureUnits?: InputMaybe<Scalars["String"]>; featureUnitsPlural?: InputMaybe<Scalars["String"]>; meter?: InputMaybe<CreateMeter>; meterType?: InputMaybe<MeterType>; refId: Scalars["String"]; unitTransformation?: InputMaybe<UnitTransformationInput> }

Type declaration

FeatureSort: { direction: SortDirection; field: FeatureSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

FeatureStatusFilterComparison: { eq?: InputMaybe<FeatureStatus>; gt?: InputMaybe<FeatureStatus>; gte?: InputMaybe<FeatureStatus>; iLike?: InputMaybe<FeatureStatus>; in?: InputMaybe<FeatureStatus[]>; is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]>; like?: InputMaybe<FeatureStatus>; lt?: InputMaybe<FeatureStatus>; lte?: InputMaybe<FeatureStatus>; neq?: InputMaybe<FeatureStatus>; notILike?: InputMaybe<FeatureStatus>; notIn?: InputMaybe<FeatureStatus[]>; notLike?: InputMaybe<FeatureStatus> }

Type declaration

FeatureTypeFilterComparison: { eq?: InputMaybe<FeatureType>; gt?: InputMaybe<FeatureType>; gte?: InputMaybe<FeatureType>; iLike?: InputMaybe<FeatureType>; in?: InputMaybe<FeatureType[]>; is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]>; like?: InputMaybe<FeatureType>; lt?: InputMaybe<FeatureType>; lte?: InputMaybe<FeatureType>; neq?: InputMaybe<FeatureType>; notILike?: InputMaybe<FeatureType>; notIn?: InputMaybe<FeatureType[]>; notLike?: InputMaybe<FeatureType> }

Type declaration

FetchEntitlementQuery: { customerId: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]>; featureId: Scalars["String"]; options?: InputMaybe<EntitlementOptions>; resourceId?: InputMaybe<Scalars["String"]> }

Type declaration

FetchEntitlementsQuery: { customerId: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]>; resourceId?: InputMaybe<Scalars["String"]> }

Type declaration

FetchUsageHistory: { customerId: string; endDate?: Date; featureId: string; resourceId?: string; startDate: Date }

Type declaration

  • customerId: string
  • Optional endDate?: Date
  • featureId: string
  • Optional resourceId?: string
  • startDate: Date
FontVariantFragment: { __typename?: "FontVariant"; fontSize?: number | null; fontWeight?: FontWeight | null }

Type declaration

  • Optional __typename?: "FontVariant"
  • Optional fontSize?: number | null
  • Optional fontWeight?: FontWeight | null
FontVariantInput: { fontSize?: InputMaybe<Scalars["Float"]>; fontWeight?: InputMaybe<FontWeight> }

Type declaration

GetActiveSubscriptions: { resourceId?: string | string[] }

Type declaration

  • Optional resourceId?: string | string[]
GetActiveSubscriptionsInput: { customerId: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]>; resourceId?: InputMaybe<Scalars["String"]>; resourceIds?: InputMaybe<Scalars["String"][]> }

Type declaration

GetActiveSubscriptionsListQuery: { __typename?: "Query"; getActiveSubscriptions: ({ __typename?: "CustomerSubscription" } & SlimSubscriptionFragmentV2Fragment)[] }

Type declaration

GetActiveSubscriptionsListQueryVariables: Exact<{ input: GetActiveSubscriptionsInput }>
GetActiveSubscriptionsQuery: { __typename?: "Query"; getActiveSubscriptions: ({ __typename?: "CustomerSubscription" } & SubscriptionFragment)[] }

Type declaration

  • Optional __typename?: "Query"
  • getActiveSubscriptions: ({ __typename?: "CustomerSubscription" } & SubscriptionFragment)[]
GetActiveSubscriptionsQueryVariables: Exact<{ input: GetActiveSubscriptionsInput }>
GetBooleanEntitlement: { featureId: string; options?: BooleanEntitlementOptions; resourceId?: string }

Type declaration

GetCheckoutState: { billingCountryCode?: string; planId: string; resourceId?: string | null }

Type declaration

  • Optional billingCountryCode?: string
  • planId: string
  • Optional resourceId?: string | null
GetCheckoutStateQuery: { __typename?: "Query"; checkoutState: { __typename?: "CheckoutState" } & CheckoutStateFragment }

Type declaration

GetCheckoutStateQueryVariables: Exact<{ input: CheckoutStateInput }>
GetCheckoutStateResults: { activeSubscription?: Subscription | null; billingIntegration: CheckoutBillingIntegration; configuration?: CheckoutConfiguration | null; customer: Customer; plan: CheckoutStatePlan; resource: CustomerResource | null; setupSecret: string }

Type declaration

GetCouponsQuery: { __typename?: "Query"; coupons: { __typename?: "CouponConnection"; edges: { __typename?: "CouponEdge"; node: { __typename?: "Coupon" } & CouponFragment }[] } }

Type declaration

  • Optional __typename?: "Query"
  • coupons: { __typename?: "CouponConnection"; edges: { __typename?: "CouponEdge"; node: { __typename?: "Coupon" } & CouponFragment }[] }
    • Optional __typename?: "CouponConnection"
    • edges: { __typename?: "CouponEdge"; node: { __typename?: "Coupon" } & CouponFragment }[]
GetCouponsQueryVariables: Exact<{}>
GetCustomerByIdQuery: { __typename?: "Query"; getCustomerByRefId?: ({ __typename?: "Customer" } & CustomerWithSubscriptionsFragment) | null }

Type declaration

GetCustomerByIdQueryVariables: Exact<{ input: GetCustomerByRefIdInput }>
GetCustomerByRefIdInput: { customerId: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]> }

Type declaration

GetCustomerPortal: { productId?: string; resourceId?: string }

Type declaration

  • Optional productId?: string
  • Optional resourceId?: string
GetCustomerPortalByRefIdQuery: { __typename?: "Query"; customerPortal: { __typename?: "CustomerPortal" } & CustomerPortalFragment }

Type declaration

GetCustomerPortalByRefIdQueryVariables: Exact<{ input: CustomerPortalInput }>
GetCustomerStatisticsQuery: { __typename?: "Query"; getCustomerByRefId?: ({ __typename?: "Customer" } & CustomerStatisticsFragment) | null }

Type declaration

GetCustomerStatisticsQueryVariables: Exact<{ input: GetCustomerByRefIdInput }>
GetEntitlementQuery: { __typename?: "Query"; entitlement: { __typename?: "Entitlement" } & EntitlementFragment }

Type declaration

GetEntitlementQueryVariables: Exact<{ query: FetchEntitlementQuery }>
GetEntitlementsQuery: { __typename?: "Query"; entitlements: ({ __typename?: "Entitlement" } & EntitlementFragment)[] }

Type declaration

  • Optional __typename?: "Query"
  • entitlements: ({ __typename?: "Entitlement" } & EntitlementFragment)[]
GetEntitlementsQueryVariables: Exact<{ query: FetchEntitlementsQuery }>
GetMeteredEntitlement: { featureId: string; options?: MeteredEntitlementOptions; resourceId?: string }

Type declaration

GetMockPaywallQuery: { __typename?: "Query"; mockPaywall: { __typename?: "MockPaywall"; configuration?: ({ __typename?: "PaywallConfiguration" } & PaywallConfigurationFragment) | null; plans: ({ __typename?: "PaywallPlan" } & MockPaywallPlanFragment)[] } }

Type declaration

GetMockPaywallQueryVariables: Exact<{ input: GetPaywallInput }>
GetNumericEntitlement: { featureId: string; options?: NumericEntitlementOptions; resourceId?: string }

Type declaration

GetPackageByRefIdInput: { environmentId: Scalars["String"]; refId: Scalars["String"]; versionNumber?: InputMaybe<Scalars["Float"]> }

Type declaration

GetPackageGroup: { environmentId: Scalars["String"]; packageGroupId: Scalars["String"]; versionNumber?: InputMaybe<Scalars["Float"]> }

The input type for getting an package group

Type declaration

  • environmentId: Scalars["String"]

    The environment id to get the package group in

  • packageGroupId: Scalars["String"]

    The id of the package group

  • Optional versionNumber?: InputMaybe<Scalars["Float"]>

    The version number of the package group

GetPaywall: { billingCountryCode?: string; context?: WidgetType; includeHiddenPlans?: boolean; productId?: string; resourceId?: string }

Type declaration

  • Optional billingCountryCode?: string
  • Optional context?: WidgetType
  • Optional includeHiddenPlans?: boolean
  • Optional productId?: string
  • Optional resourceId?: string
GetPaywallInput: { billingCountryCode?: InputMaybe<Scalars["String"]>; context?: InputMaybe<WidgetType>; customerId?: InputMaybe<Scalars["String"]>; environmentId?: InputMaybe<Scalars["String"]>; fetchAllCountriesPrices?: InputMaybe<Scalars["Boolean"]>; includeHiddenPlans?: InputMaybe<Scalars["Boolean"]>; productId?: InputMaybe<Scalars["String"]>; resourceId?: InputMaybe<Scalars["String"]> }

Type declaration

GetPaywallQuery: { __typename?: "Query"; paywall: { __typename?: "Paywall" } & PaywallFragment }

Type declaration

  • Optional __typename?: "Query"
  • paywall: { __typename?: "Paywall" } & PaywallFragment
GetPaywallQueryVariables: Exact<{ input: GetPaywallInput }>
GetProductsQuery: { __typename?: "Query"; products: { __typename?: "ProductConnection"; edges: { __typename?: "ProductEdge"; node: { __typename?: "Product" } & ProductFragment }[] } }

Type declaration

  • Optional __typename?: "Query"
  • products: { __typename?: "ProductConnection"; edges: { __typename?: "ProductEdge"; node: { __typename?: "Product" } & ProductFragment }[] }
    • Optional __typename?: "ProductConnection"
    • edges: { __typename?: "ProductEdge"; node: { __typename?: "Product" } & ProductFragment }[]
GetProductsQueryVariables: Exact<{}>
GetSdkConfigurationQuery: { __typename?: "Query"; sdkConfiguration?: { __typename?: "SdkConfiguration"; isWidgetWatermarkEnabled?: boolean | null; sentryDsn?: string | null } | null }

Type declaration

  • Optional __typename?: "Query"
  • Optional sdkConfiguration?: { __typename?: "SdkConfiguration"; isWidgetWatermarkEnabled?: boolean | null; sentryDsn?: string | null } | null
GetSdkConfigurationQueryVariables: Exact<{}>
GetSubscription: { subscriptionId: string }

Type declaration

  • subscriptionId: string
GetSubscriptionInput: { environmentId?: InputMaybe<Scalars["String"]>; subscriptionId: Scalars["String"] }

Get subscription input

Type declaration

  • Optional environmentId?: InputMaybe<Scalars["String"]>

    The environment ID the subscription belongs to

  • subscriptionId: Scalars["String"]

    The subscription ID to retrieve

GetSubscriptionQuery: { __typename?: "Query"; getSubscription: { __typename?: "CustomerSubscription" } & SubscriptionFragment }

Type declaration

  • Optional __typename?: "Query"
  • getSubscription: { __typename?: "CustomerSubscription" } & SubscriptionFragment
GetSubscriptionQueryVariables: Exact<{ input: GetSubscriptionInput }>
GetUsageHistoryQuery: { __typename?: "Query"; usageHistory: { __typename?: "UsageHistory" } & UsageHistoryFragment }

Type declaration

GetUsageHistoryQueryVariables: Exact<{ usageHistoryInput: UsageHistoryInput }>
GetWidgetConfigurationInput: { environmentId?: InputMaybe<Scalars["String"]> }

Type declaration

GrantPromotionalEntitlementInput: { customEndDate?: InputMaybe<Scalars["DateTime"]>; featureId: Scalars["String"]; hasSoftLimit?: InputMaybe<Scalars["Boolean"]>; hasUnlimitedUsage?: InputMaybe<Scalars["Boolean"]>; isVisible?: InputMaybe<Scalars["Boolean"]>; monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>; period: PromotionalEntitlementPeriod; resetPeriod?: InputMaybe<EntitlementResetPeriod>; usageLimit?: InputMaybe<Scalars["Float"]>; weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput>; yearlyResetPeriodConfiguration?: InputMaybe<YearlyResetPeriodConfigInput> }

Type declaration

GrantPromotionalEntitlementsInput: { customerId: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]>; promotionalEntitlements: GrantPromotionalEntitlementInput[] }

Type declaration

GrantPromotionalEntitlementsMutation: { __typename?: "Mutation"; grantPromotionalEntitlements: ({ __typename?: "PromotionalEntitlement" } & PromotionalEntitlementFragment)[] }

Type declaration

GrantPromotionalEntitlementsMutationVariables: Exact<{ input: GrantPromotionalEntitlementsInput }>

Type declaration

HookSort: { direction: SortDirection; field: HookSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

HookStatusFilterComparison: { eq?: InputMaybe<HookStatus>; gt?: InputMaybe<HookStatus>; gte?: InputMaybe<HookStatus>; iLike?: InputMaybe<HookStatus>; in?: InputMaybe<HookStatus[]>; is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]>; like?: InputMaybe<HookStatus>; lt?: InputMaybe<HookStatus>; lte?: InputMaybe<HookStatus>; neq?: InputMaybe<HookStatus>; notILike?: InputMaybe<HookStatus>; notIn?: InputMaybe<HookStatus[]>; notLike?: InputMaybe<HookStatus> }

Type declaration

HubspotCredentialsInput: { authorizationCode: Scalars["String"]; refreshToken?: InputMaybe<Scalars["String"]> }

Type declaration

ImmediateSubscriptionPreviewInvoice: SubscriptionPreviewInvoice & { credits?: SubscriptionPreviewCredits; proration?: SubscriptionPreviewProration }
ImmediateSubscriptionPreviewInvoiceFragment: { __typename?: "ImmediateSubscriptionPreviewInvoice"; credits?: { __typename?: "SubscriptionPreviewCredits"; initial: { __typename?: "Money"; amount: number; currency: Currency }; remaining: { __typename?: "Money"; amount: number; currency: Currency }; used: { __typename?: "Money"; amount: number; currency: Currency } } | null; discount?: { __typename?: "Money"; amount: number; currency: Currency } | null; discountDetails?: { __typename?: "SubscriptionPreviewDiscount"; durationInMonths?: number | null; durationType: DiscountDurationType; type: DiscountType; value: number } | null; proration?: { __typename?: "SubscriptionPreviewProrations"; credit: { __typename?: "Money"; amount: number; currency: Currency }; debit: { __typename?: "Money"; amount: number; currency: Currency }; hasProrations?: boolean | null; netAmount: { __typename?: "Money"; amount: number; currency: Currency }; prorationDate: any } | null; subTotal: { __typename?: "Money"; amount: number; currency: Currency }; tax?: { __typename?: "Money"; amount: number; currency: Currency } | null; taxDetails?: { __typename?: "SubscriptionPreviewTaxDetails"; displayName: string; inclusive: boolean; percentage: number } | null; total: { __typename?: "Money"; amount: number; currency: Currency }; totalExcludingTax: { __typename?: "Money"; amount: number; currency: Currency } }

Type declaration

  • Optional __typename?: "ImmediateSubscriptionPreviewInvoice"
  • Optional credits?: { __typename?: "SubscriptionPreviewCredits"; initial: { __typename?: "Money"; amount: number; currency: Currency }; remaining: { __typename?: "Money"; amount: number; currency: Currency }; used: { __typename?: "Money"; amount: number; currency: Currency } } | null
  • Optional discount?: { __typename?: "Money"; amount: number; currency: Currency } | null
  • Optional discountDetails?: { __typename?: "SubscriptionPreviewDiscount"; durationInMonths?: number | null; durationType: DiscountDurationType; type: DiscountType; value: number } | null
  • Optional proration?: { __typename?: "SubscriptionPreviewProrations"; credit: { __typename?: "Money"; amount: number; currency: Currency }; debit: { __typename?: "Money"; amount: number; currency: Currency }; hasProrations?: boolean | null; netAmount: { __typename?: "Money"; amount: number; currency: Currency }; prorationDate: any } | null
  • subTotal: { __typename?: "Money"; amount: number; currency: Currency }
    • Optional __typename?: "Money"
    • amount: number
    • currency: Currency
  • Optional tax?: { __typename?: "Money"; amount: number; currency: Currency } | null
  • Optional taxDetails?: { __typename?: "SubscriptionPreviewTaxDetails"; displayName: string; inclusive: boolean; percentage: number } | null
  • total: { __typename?: "Money"; amount: number; currency: Currency }
    • Optional __typename?: "Money"
    • amount: number
    • currency: Currency
  • totalExcludingTax: { __typename?: "Money"; amount: number; currency: Currency }
    • Optional __typename?: "Money"
    • amount: number
    • currency: Currency
ImportCustomerBulkInput: { customers: ImportCustomerInput[]; environmentId?: InputMaybe<Scalars["String"]> }

Type declaration

ImportCustomerBulkMutation: { __typename?: "Mutation"; importCustomersBulk?: string | null }

Type declaration

  • Optional __typename?: "Mutation"
  • Optional importCustomersBulk?: string | null
ImportCustomerBulkMutationVariables: Exact<{ input: ImportCustomerBulkInput }>
ImportCustomerInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; billingId?: InputMaybe<Scalars["String"]>; customerId?: InputMaybe<Scalars["String"]>; email?: InputMaybe<Scalars["String"]>; environmentId?: InputMaybe<Scalars["String"]>; name?: InputMaybe<Scalars["String"]>; paymentMethodId?: InputMaybe<Scalars["String"]>; refId?: InputMaybe<Scalars["String"]>; updatedAt?: InputMaybe<Scalars["DateTime"]> }

Type declaration

ImportCustomerMutation: { __typename?: "Mutation"; importCustomer: { __typename?: "Customer" } & SlimCustomerFragment }

Type declaration

ImportCustomerMutationVariables: Exact<{ input: ImportCustomerInput }>
ImportIntegrationCatalogInput: { billingModel?: InputMaybe<BillingModel>; entitySelectionMode: EntitySelectionMode; environmentId: Scalars["String"]; featureUnitName?: InputMaybe<Scalars["String"]>; featureUnitPluralName?: InputMaybe<Scalars["String"]>; plansSelectionBlacklist?: InputMaybe<Scalars["String"][]>; plansSelectionWhitelist?: InputMaybe<Scalars["String"][]>; productId: Scalars["String"]; selectedAddonBillingIds: Scalars["String"][]; vendorIdentifier: VendorIdentifier }

Type declaration

ImportIntegrationCustomersInput: { customersSelectionBlacklist?: InputMaybe<Scalars["String"][]>; customersSelectionWhitelist?: InputMaybe<Scalars["String"][]>; entitySelectionMode: EntitySelectionMode; environmentId: Scalars["String"]; productId: Scalars["String"]; vendorIdentifier: VendorIdentifier }

Type declaration

Type declaration

ImportIntegrationTaskSort: { direction: SortDirection; field: ImportIntegrationTaskSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

ImportSubscriptionInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; addons?: InputMaybe<SubscriptionAddonInput[]>; billableFeatures?: InputMaybe<BillableFeatureInput[]>; billingId?: InputMaybe<Scalars["String"]>; billingPeriod?: InputMaybe<BillingPeriod>; customerId: Scalars["String"]; endDate?: InputMaybe<Scalars["DateTime"]>; planId: Scalars["String"]; resourceId?: InputMaybe<Scalars["String"]>; startDate?: InputMaybe<Scalars["DateTime"]>; unitQuantity?: InputMaybe<Scalars["Float"]>; updatedAt?: InputMaybe<Scalars["DateTime"]> }

Type declaration

ImportSubscriptionsBulkInput: { environmentId?: InputMaybe<Scalars["String"]>; subscriptions: ImportSubscriptionInput[] }

Type declaration

ImportSubscriptionsBulkMutation: { __typename?: "Mutation"; importSubscriptionsBulk?: string | null }

Type declaration

  • Optional __typename?: "Mutation"
  • Optional importSubscriptionsBulk?: string | null
ImportSubscriptionsBulkMutationVariables: Exact<{ input: ImportSubscriptionsBulkInput }>
InitAddStripeCustomerPaymentMethodInput: { customerRefId: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]> }

Type declaration

InputMaybe<T>: Maybe<T>

Type parameters

  • T

IntFieldComparison: { between?: InputMaybe<IntFieldComparisonBetween>; eq?: InputMaybe<Scalars["Int"]>; gt?: InputMaybe<Scalars["Int"]>; gte?: InputMaybe<Scalars["Int"]>; in?: InputMaybe<Scalars["Int"][]>; is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]>; lt?: InputMaybe<Scalars["Int"]>; lte?: InputMaybe<Scalars["Int"]>; neq?: InputMaybe<Scalars["Int"]>; notBetween?: InputMaybe<IntFieldComparisonBetween>; notIn?: InputMaybe<Scalars["Int"][]> }

Type declaration

IntFieldComparisonBetween: { lower: Scalars["Int"]; upper: Scalars["Int"] }

Type declaration

Type declaration

IntegrationSort: { direction: SortDirection; field: IntegrationSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

LayoutConfigurationFragment: { __typename?: "PaywallLayoutConfiguration"; alignment?: Alignment | null; planMargin?: number | null; planPadding?: number | null; planWidth?: number | null }

Type declaration

  • Optional __typename?: "PaywallLayoutConfiguration"
  • Optional alignment?: Alignment | null
  • Optional planMargin?: number | null
  • Optional planPadding?: number | null
  • Optional planWidth?: number | null
ListAwsProductDimensionsInput: { environmentId?: InputMaybe<Scalars["String"]>; productId: Scalars["String"] }

Type declaration

ListAwsProductsInput: { environmentId?: InputMaybe<Scalars["String"]> }

Type declaration

MakeMaybe<T, K>: Omit<T, K> & { [ SubKey in K]: Maybe<T[SubKey]> }

Type parameters

  • T

  • K: keyof T

MakeOptional<T, K>: Omit<T, K> & { [ SubKey in K]?: Maybe<T[SubKey]> }

Type parameters

  • T

  • K: keyof T

MarkInvoiceAsPaidInput: { environmentId?: InputMaybe<Scalars["String"]>; subscriptionId: Scalars["String"] }

Input for triggering the subscription invoice as paid

Type declaration

  • Optional environmentId?: InputMaybe<Scalars["String"]>

    Environment ID

  • subscriptionId: Scalars["String"]

    The subscription entity id to trigger mark invoice as paid

Maybe<T>: T | null

Type parameters

  • T

Type declaration

MemberSort: { direction: SortDirection; field: MemberSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

MergeEnvironmentInput: { destinationEnvironmentName?: InputMaybe<Scalars["String"]>; destinationEnvironmentSlug?: InputMaybe<Scalars["String"]>; destinationEnvironmentType?: InputMaybe<EnvironmentType>; migrationType?: InputMaybe<PublishMigrationType>; sourceEnvironmentSlug?: InputMaybe<Scalars["String"]>; sourceTemplate?: InputMaybe<Scalars["JSON"]> }

Input type for mergeEnvironment mutation.

Type declaration

  • Optional destinationEnvironmentName?: InputMaybe<Scalars["String"]>

    The name of the new environment. Only relevant when destinationEnvironmentSlug is not passed.

  • Optional destinationEnvironmentSlug?: InputMaybe<Scalars["String"]>

    The slug of the environment to merge into. Not passing this will create a new environment and requires passing destinationEnvironmentName.

  • Optional destinationEnvironmentType?: InputMaybe<EnvironmentType>

    The type of the new environment. only relevant when destinationEnvironmentSlug is not passed.

  • Optional migrationType?: InputMaybe<PublishMigrationType>

    How to migrate customers to newer plan version of updated plans. Default is not to migrate existing customers.

  • Optional sourceEnvironmentSlug?: InputMaybe<Scalars["String"]>

    The slug of the environment to copy from. If missing sourceTemplate will be used.

  • Optional sourceTemplate?: InputMaybe<Scalars["JSON"]>

    The product catalog template to apply. Only relevant when sourceEnvironmentSlug is not passed.

MeterAggregation: { field?: InputMaybe<Scalars["String"]>; function: AggregationFunction }

Type declaration

MeterConditionInput: { field: Scalars["String"]; operation: ConditionOperation; value?: InputMaybe<Scalars["String"]> }

Type declaration

MeterFilterDefinitionInput: { conditions: MeterConditionInput[] }

Type declaration

MeterTypeFilterComparison: { eq?: InputMaybe<MeterType>; gt?: InputMaybe<MeterType>; gte?: InputMaybe<MeterType>; iLike?: InputMaybe<MeterType>; in?: InputMaybe<MeterType[]>; is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]>; like?: InputMaybe<MeterType>; lt?: InputMaybe<MeterType>; lte?: InputMaybe<MeterType>; neq?: InputMaybe<MeterType>; notILike?: InputMaybe<MeterType>; notIn?: InputMaybe<MeterType[]>; notLike?: InputMaybe<MeterType> }

Type declaration

MeteredEntitlementFallback: { hasAccess: boolean; isUnlimited?: boolean; usageLimit?: number }

Type declaration

  • hasAccess: boolean
  • Optional isUnlimited?: boolean
  • Optional usageLimit?: number
MeteredEntitlementOptions: { fallback?: MeteredEntitlementFallback; requestedUsage?: number; shouldTrack?: boolean }

Type declaration

MigrateSubscriptionToLatestMutation: { __typename?: "Mutation"; migrateSubscriptionToLatest: { __typename?: "CustomerSubscription"; subscriptionId: string } }

Type declaration

  • Optional __typename?: "Mutation"
  • migrateSubscriptionToLatest: { __typename?: "CustomerSubscription"; subscriptionId: string }
    • Optional __typename?: "CustomerSubscription"
    • subscriptionId: string
MigrateSubscriptionToLatestMutationVariables: Exact<{ input: SubscriptionMigrationInput }>
MinimumSpendInput: { billingPeriod: BillingPeriod; minimum: MoneyInputDto }

Minimum spend input

Type declaration

MockPaywallAddonDependencyFragment: { __typename?: "PaywallAddon"; description?: string | null; displayName: string; refId: string }

Type declaration

  • Optional __typename?: "PaywallAddon"
  • Optional description?: string | null
  • displayName: string
  • refId: string
MockPaywallAddonFragment: { __typename?: "PaywallAddon"; additionalMetaData?: any | null; billingId?: string | null; dependencies?: ({ __typename?: "PaywallAddon" } & MockPaywallAddonDependencyFragment)[] | null; description?: string | null; displayName: string; entitlements: ({ __typename?: "Entitlement" } & MockPaywallPackageEntitlementFragment)[]; maxQuantity?: number | null; prices: ({ __typename?: "PaywallPrice" } & MockPaywallPriceFragment)[]; pricingType?: PricingType | null; refId: string }

Type declaration

MockPaywallPackageEntitlementFragment: { __typename?: "Entitlement"; displayNameOverride?: string | null; feature?: { __typename?: "EntitlementFeature"; additionalMetaData?: any | null; description?: string | null; displayName: string; featureType: FeatureType; featureUnits?: string | null; featureUnitsPlural?: string | null; meterType?: MeterType | null; refId: string } | null; hasSoftLimit?: boolean | null; hasUnlimitedUsage: boolean; hiddenFromWidgets?: WidgetType[] | null; resetPeriod?: EntitlementResetPeriod | null; usageLimit?: number | null }

Type declaration

  • Optional __typename?: "Entitlement"
  • Optional displayNameOverride?: string | null
  • Optional feature?: { __typename?: "EntitlementFeature"; additionalMetaData?: any | null; description?: string | null; displayName: string; featureType: FeatureType; featureUnits?: string | null; featureUnitsPlural?: string | null; meterType?: MeterType | null; refId: string } | null
  • Optional hasSoftLimit?: boolean | null
  • hasUnlimitedUsage: boolean
  • Optional hiddenFromWidgets?: WidgetType[] | null
  • Optional resetPeriod?: EntitlementResetPeriod | null
  • Optional usageLimit?: number | null
MockPaywallPlanCompatiblePackageGroupsFragment: { __typename?: "PaywallPlanCompatiblePackageGroup"; addons?: ({ __typename?: "PaywallAddon" } & MockPaywallAddonFragment)[] | null; description?: string | null; displayName: string; options: { __typename?: "PaywallPlanCompatiblePackageGroupOptions"; freeItems?: number | null; minItems?: number | null }; packageGroupId: string }

Type declaration

  • Optional __typename?: "PaywallPlanCompatiblePackageGroup"
  • Optional addons?: ({ __typename?: "PaywallAddon" } & MockPaywallAddonFragment)[] | null
  • Optional description?: string | null
  • displayName: string
  • options: { __typename?: "PaywallPlanCompatiblePackageGroupOptions"; freeItems?: number | null; minItems?: number | null }
    • Optional __typename?: "PaywallPlanCompatiblePackageGroupOptions"
    • Optional freeItems?: number | null
    • Optional minItems?: number | null
  • packageGroupId: string
MockPaywallPlanFragment: { __typename?: "PaywallPlan"; additionalMetaData?: any | null; basePlan?: { __typename?: "PaywallBasePlan"; displayName: string; refId: string } | null; billingId?: string | null; compatibleAddons?: ({ __typename?: "PaywallAddon" } & MockPaywallAddonFragment)[] | null; compatiblePackageGroups?: ({ __typename?: "PaywallPlanCompatiblePackageGroup" } & MockPaywallPlanCompatiblePackageGroupsFragment)[] | null; defaultTrialConfig?: { __typename?: "DefaultTrialConfig"; budget?: { __typename?: "BudgetConfiguration"; limit: number } | null; duration: number; units: TrialPeriodUnits } | null; description?: string | null; displayName: string; entitlements?: ({ __typename?: "Entitlement" } & MockPaywallPackageEntitlementFragment)[] | null; inheritedEntitlements?: ({ __typename?: "Entitlement" } & MockPaywallPackageEntitlementFragment)[] | null; prices: ({ __typename?: "PaywallPrice" } & MockPaywallPriceFragment)[]; pricingType?: PricingType | null; product: { __typename?: "PaywallProduct"; additionalMetaData?: any | null; description?: string | null; displayName?: string | null; refId: string }; refId: string }

Type declaration

  • Optional __typename?: "PaywallPlan"
  • Optional additionalMetaData?: any | null
  • Optional basePlan?: { __typename?: "PaywallBasePlan"; displayName: string; refId: string } | null
  • Optional billingId?: string | null
  • Optional compatibleAddons?: ({ __typename?: "PaywallAddon" } & MockPaywallAddonFragment)[] | null
  • Optional compatiblePackageGroups?: ({ __typename?: "PaywallPlanCompatiblePackageGroup" } & MockPaywallPlanCompatiblePackageGroupsFragment)[] | null
  • Optional defaultTrialConfig?: { __typename?: "DefaultTrialConfig"; budget?: { __typename?: "BudgetConfiguration"; limit: number } | null; duration: number; units: TrialPeriodUnits } | null
  • Optional description?: string | null
  • displayName: string
  • Optional entitlements?: ({ __typename?: "Entitlement" } & MockPaywallPackageEntitlementFragment)[] | null
  • Optional inheritedEntitlements?: ({ __typename?: "Entitlement" } & MockPaywallPackageEntitlementFragment)[] | null
  • prices: ({ __typename?: "PaywallPrice" } & MockPaywallPriceFragment)[]
  • Optional pricingType?: PricingType | null
  • product: { __typename?: "PaywallProduct"; additionalMetaData?: any | null; description?: string | null; displayName?: string | null; refId: string }
    • Optional __typename?: "PaywallProduct"
    • Optional additionalMetaData?: any | null
    • Optional description?: string | null
    • Optional displayName?: string | null
    • refId: string
  • refId: string
MockPaywallPriceFragment: { __typename?: "PaywallPrice"; billingCountryCode?: string | null; billingId?: string | null; billingModel: BillingModel; billingPeriod: BillingPeriod; blockSize?: number | null; feature?: { __typename?: "EntitlementFeature"; displayName: string; featureUnits?: string | null; featureUnitsPlural?: string | null; refId: string } | null; maxUnitQuantity?: number | null; minUnitQuantity?: number | null; price?: { __typename?: "Money"; amount: number; currency: Currency } | null; tiers?: ({ __typename?: "PriceTier" } & PriceTierFragment)[] | null; tiersMode?: TiersMode | null }

Type declaration

  • Optional __typename?: "PaywallPrice"
  • Optional billingCountryCode?: string | null
  • Optional billingId?: string | null
  • billingModel: BillingModel
  • billingPeriod: BillingPeriod
  • Optional blockSize?: number | null
  • Optional feature?: { __typename?: "EntitlementFeature"; displayName: string; featureUnits?: string | null; featureUnitsPlural?: string | null; refId: string } | null
  • Optional maxUnitQuantity?: number | null
  • Optional minUnitQuantity?: number | null
  • Optional price?: { __typename?: "Money"; amount: number; currency: Currency } | null
  • Optional tiers?: ({ __typename?: "PriceTier" } & PriceTierFragment)[] | null
  • Optional tiersMode?: TiersMode | null
Money: { amount: number; currency: string }

Type declaration

  • amount: number
  • currency: string
MoneyInputDto: { amount: Scalars["Float"]; currency?: InputMaybe<Currency> }

Type declaration

MonthlyResetPeriodConfigInput: { accordingTo: MonthlyAccordingTo }

Type declaration

NumberFieldComparison: { between?: InputMaybe<NumberFieldComparisonBetween>; eq?: InputMaybe<Scalars["Float"]>; gt?: InputMaybe<Scalars["Float"]>; gte?: InputMaybe<Scalars["Float"]>; in?: InputMaybe<Scalars["Float"][]>; is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]>; lt?: InputMaybe<Scalars["Float"]>; lte?: InputMaybe<Scalars["Float"]>; neq?: InputMaybe<Scalars["Float"]>; notBetween?: InputMaybe<NumberFieldComparisonBetween>; notIn?: InputMaybe<Scalars["Float"][]> }

Type declaration

NumberFieldComparisonBetween: { lower: Scalars["Float"]; upper: Scalars["Float"] }

Type declaration

NumericEntitlementFallback: { hasAccess: boolean; isUnlimited?: boolean; value?: number }

Type declaration

  • hasAccess: boolean
  • Optional isUnlimited?: boolean
  • Optional value?: number
NumericEntitlementOptions: { fallback?: NumericEntitlementFallback; shouldTrack?: boolean }

Type declaration

OnEntitlementsUpdatedSubscription: { __typename?: "Subscription"; entitlementsUpdated: { __typename?: "EntitlementsUpdated" } & EntitlementsUpdatedPayloadFragment }

Type declaration

OnEntitlementsUpdatedSubscriptionVariables: Exact<{}>
OnPackagePublishedSubscription: { __typename?: "Subscription"; packagePublished: { __typename?: "PackagePublished" } & PackagePublishedPayloadFragment }

Type declaration

OnPackagePublishedSubscriptionVariables: Exact<{}>
OnUsageUpdatedSubscription: { __typename?: "Subscription"; usageUpdated: { __typename?: "UsageUpdated" } & EntitlementUsageUpdatedFragment }

Type declaration

OnUsageUpdatedSubscriptionVariables: Exact<{}>
OpenFgaCredentialsInput: { apiAudience: Scalars["String"]; apiTokenIssuer: Scalars["String"]; apiUrl: Scalars["String"]; clientId: Scalars["String"]; clientSecret: Scalars["String"]; storeId?: InputMaybe<Scalars["String"]> }

Type declaration

OverageEntitlementCreateInput: { behavior?: InputMaybe<EntitlementBehavior>; description?: InputMaybe<Scalars["String"]>; displayNameOverride?: InputMaybe<Scalars["String"]>; featureId: Scalars["String"]; hasSoftLimit?: InputMaybe<Scalars["Boolean"]>; hasUnlimitedUsage?: InputMaybe<Scalars["Boolean"]>; hiddenFromWidgets?: InputMaybe<WidgetType[]>; isCustom?: InputMaybe<Scalars["Boolean"]>; monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>; order?: InputMaybe<Scalars["Float"]>; resetPeriod?: InputMaybe<EntitlementResetPeriod>; usageLimit?: InputMaybe<Scalars["Float"]>; weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput>; yearlyResetPeriodConfiguration?: InputMaybe<YearlyResetPeriodConfigInput> }

Type declaration

OveragePriceFragment: { __typename?: "Price"; billingCountryCode?: string | null; billingId?: string | null; billingModel: BillingModel; billingPeriod: BillingPeriod; feature?: { __typename?: "Feature"; description?: string | null; displayName: string; featureUnits?: string | null; featureUnitsPlural?: string | null; refId: string } | null; price?: { __typename?: "Money"; amount: number; currency: Currency } | null; tiers?: ({ __typename?: "PriceTier" } & PriceTierFragment)[] | null; tiersMode?: TiersMode | null }

Type declaration

  • Optional __typename?: "Price"
  • Optional billingCountryCode?: string | null
  • Optional billingId?: string | null
  • billingModel: BillingModel
  • billingPeriod: BillingPeriod
  • Optional feature?: { __typename?: "Feature"; description?: string | null; displayName: string; featureUnits?: string | null; featureUnitsPlural?: string | null; refId: string } | null
  • Optional price?: { __typename?: "Money"; amount: number; currency: Currency } | null
  • Optional tiers?: ({ __typename?: "PriceTier" } & PriceTierFragment)[] | null
  • Optional tiersMode?: TiersMode | null
OveragePricingModelCreateInput: { billingCadence?: InputMaybe<BillingCadence>; billingModel: BillingModel; entitlement?: InputMaybe<OverageEntitlementCreateInput>; featureId?: InputMaybe<Scalars["String"]>; pricePeriods: PricePeriodInput[] }

Type declaration

Type declaration

PackageDtoSort: { direction: SortDirection; field: PackageDtoSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

PackageEntitlement: { displayNameOverride?: PackageEntitlementFragment["displayNameOverride"]; feature?: EntitlementFeature; hasUnlimitedUsage?: boolean | null; hiddenFromWidgets?: PackageEntitlementFragment["hiddenFromWidgets"]; isCustom?: boolean; resetPeriod?: EntitlementResetPeriod | null; usageLimit: number }

Type declaration

Type declaration

Type declaration

PackageEntitlementFragment: { __typename?: "PackageEntitlement"; displayNameOverride?: string | null; feature: { __typename?: "Feature"; additionalMetaData?: any | null; description?: string | null; displayName: string; featureType: FeatureType; featureUnits?: string | null; featureUnitsPlural?: string | null; meterType?: MeterType | null; refId: string }; featureId: string; hasSoftLimit?: boolean | null; hasUnlimitedUsage?: boolean | null; hiddenFromWidgets?: WidgetType[] | null; isCustom?: boolean | null; resetPeriod?: EntitlementResetPeriod | null; usageLimit?: number | null }

Type declaration

  • Optional __typename?: "PackageEntitlement"
  • Optional displayNameOverride?: string | null
  • feature: { __typename?: "Feature"; additionalMetaData?: any | null; description?: string | null; displayName: string; featureType: FeatureType; featureUnits?: string | null; featureUnitsPlural?: string | null; meterType?: MeterType | null; refId: string }
    • Optional __typename?: "Feature"
    • Optional additionalMetaData?: any | null
    • Optional description?: string | null
    • displayName: string
    • featureType: FeatureType
    • Optional featureUnits?: string | null
    • Optional featureUnitsPlural?: string | null
    • Optional meterType?: MeterType | null
    • refId: string
  • featureId: string
  • Optional hasSoftLimit?: boolean | null
  • Optional hasUnlimitedUsage?: boolean | null
  • Optional hiddenFromWidgets?: WidgetType[] | null
  • Optional isCustom?: boolean | null
  • Optional resetPeriod?: EntitlementResetPeriod | null
  • Optional usageLimit?: number | null
PackageEntitlementInput: { behavior?: InputMaybe<EntitlementBehavior>; description?: InputMaybe<Scalars["String"]>; displayNameOverride?: InputMaybe<Scalars["String"]>; environmentId: Scalars["String"]; featureId: Scalars["String"]; hasSoftLimit?: InputMaybe<Scalars["Boolean"]>; hasUnlimitedUsage?: InputMaybe<Scalars["Boolean"]>; hiddenFromWidgets?: InputMaybe<WidgetType[]>; isCustom?: InputMaybe<Scalars["Boolean"]>; monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>; order?: InputMaybe<Scalars["Float"]>; packageId: Scalars["String"]; resetPeriod?: InputMaybe<EntitlementResetPeriod>; usageLimit?: InputMaybe<Scalars["Float"]>; weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput>; yearlyResetPeriodConfiguration?: InputMaybe<YearlyResetPeriodConfigInput> }

Type declaration

PackageEntitlementSort: { direction: SortDirection; field: PackageEntitlementSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

PackageEntitlementUpdateInput: { behavior?: InputMaybe<EntitlementBehavior>; description?: InputMaybe<Scalars["String"]>; displayNameOverride?: InputMaybe<Scalars["String"]>; hasSoftLimit?: InputMaybe<Scalars["Boolean"]>; hasUnlimitedUsage?: InputMaybe<Scalars["Boolean"]>; hiddenFromWidgets?: InputMaybe<WidgetType[]>; isCustom?: InputMaybe<Scalars["Boolean"]>; monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>; order?: InputMaybe<Scalars["Float"]>; resetPeriod?: InputMaybe<EntitlementResetPeriod>; usageLimit?: InputMaybe<Scalars["Float"]>; weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput>; yearlyResetPeriodConfiguration?: InputMaybe<YearlyResetPeriodConfigInput> }

Type declaration

Type declaration

Type declaration

PackageGroupSort: { direction: SortDirection; field: PackageGroupSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

Type declaration

PackagePricingInput: { environmentId: Scalars["String"]; minimumSpend?: InputMaybe<MinimumSpendInput[]>; overageBillingPeriod?: InputMaybe<OverageBillingPeriod>; overagePricingModels?: InputMaybe<OveragePricingModelCreateInput[]>; packageId: Scalars["String"]; pricingModel?: InputMaybe<PricingModelCreateInput>; pricingModels?: InputMaybe<PricingModelCreateInput[]>; pricingType: PricingType }

Type declaration

PackagePublishInput: { id: Scalars["ID"]; migrationType: PublishMigrationType }

Type declaration

PackagePublishedPayloadFragment: { __typename?: "PackagePublished"; accountId: string; environmentId: string; migrationType: PublishMigrationType; packageRefId: string; packageType: string; packageVersion: number }

Type declaration

  • Optional __typename?: "PackagePublished"
  • accountId: string
  • environmentId: string
  • migrationType: PublishMigrationType
  • packageRefId: string
  • packageType: string
  • packageVersion: number
PackageStatusFilterComparison: { eq?: InputMaybe<PackageStatus>; gt?: InputMaybe<PackageStatus>; gte?: InputMaybe<PackageStatus>; iLike?: InputMaybe<PackageStatus>; in?: InputMaybe<PackageStatus[]>; is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]>; like?: InputMaybe<PackageStatus>; lt?: InputMaybe<PackageStatus>; lte?: InputMaybe<PackageStatus>; neq?: InputMaybe<PackageStatus>; notILike?: InputMaybe<PackageStatus>; notIn?: InputMaybe<PackageStatus[]>; notLike?: InputMaybe<PackageStatus> }

Type declaration

Type declaration

PaymentMethodDetails: { expirationMonth?: number | null; expirationYear?: number | null; last4Digits?: string | null }

Type declaration

  • Optional expirationMonth?: number | null
  • Optional expirationYear?: number | null
  • Optional last4Digits?: string | null
Paywall: { activeSubscriptions: Subscription[] | null; configuration?: PaywallConfiguration | null; currency: PaywallCurrency; customer: Customer | null; paywallCalculatedPricePoints?: PaywallCalculatedPricePoint[] | null; plans: Plan[]; resource: CustomerResource | null }

Type declaration

PaywallCalculatedPricePoint: Omit<PaywallCalculatedPricePointsFragment, "__typename">
PaywallCalculatedPricePointsFragment: { __typename?: "PaywallPricePoint"; additionalChargesMayApply?: boolean | null; amount: number; billingCountryCode?: string | null; billingPeriod: BillingPeriod; currency: Currency; feature?: { __typename?: "Feature"; description?: string | null; displayName: string; featureUnits?: string | null; featureUnitsPlural?: string | null; refId: string } | null; planId: string }

Type declaration

  • Optional __typename?: "PaywallPricePoint"
  • Optional additionalChargesMayApply?: boolean | null
  • amount: number
  • Optional billingCountryCode?: string | null
  • billingPeriod: BillingPeriod
  • currency: Currency
  • Optional feature?: { __typename?: "Feature"; description?: string | null; displayName: string; featureUnits?: string | null; featureUnitsPlural?: string | null; refId: string } | null
  • planId: string
PaywallColorsPaletteInput: { backgroundColor?: InputMaybe<Scalars["String"]>; borderColor?: InputMaybe<Scalars["String"]>; currentPlanBackground?: InputMaybe<Scalars["String"]>; primary?: InputMaybe<Scalars["String"]>; textColor?: InputMaybe<Scalars["String"]> }

Type declaration

PaywallConfiguration: Omit<PaywallConfigurationFragment, "__typename">
PaywallConfigurationFragment: { __typename?: "PaywallConfiguration"; customCss?: string | null; layout?: ({ __typename?: "PaywallLayoutConfiguration" } & LayoutConfigurationFragment) | null; palette?: { __typename?: "PaywallColorsPalette"; backgroundColor?: string | null; borderColor?: string | null; currentPlanBackground?: string | null; primary?: string | null; textColor?: string | null } | null; typography?: ({ __typename?: "TypographyConfiguration" } & TypographyConfigurationFragment) | null }

Type declaration

  • Optional __typename?: "PaywallConfiguration"
  • Optional customCss?: string | null
  • Optional layout?: ({ __typename?: "PaywallLayoutConfiguration" } & LayoutConfigurationFragment) | null
  • Optional palette?: { __typename?: "PaywallColorsPalette"; backgroundColor?: string | null; borderColor?: string | null; currentPlanBackground?: string | null; primary?: string | null; textColor?: string | null } | null
  • Optional typography?: ({ __typename?: "TypographyConfiguration" } & TypographyConfigurationFragment) | null
PaywallConfigurationInput: { customCss?: InputMaybe<Scalars["String"]>; layout?: InputMaybe<PaywallLayoutConfigurationInput>; palette?: InputMaybe<PaywallColorsPaletteInput>; typography?: InputMaybe<TypographyConfigurationInput> }

Type declaration

PaywallCurrency: Omit<PaywallCurrencyFragment, "__typename">
PaywallCurrencyFragment: { __typename?: "PaywallCurrency"; code: Currency; symbol: string }

Type declaration

  • Optional __typename?: "PaywallCurrency"
  • code: Currency
  • symbol: string
PaywallFragment: { __typename?: "Paywall"; activeSubscriptions?: ({ __typename?: "CustomerSubscription" } & SubscriptionFragment)[] | null; configuration?: ({ __typename?: "PaywallConfiguration" } & PaywallConfigurationFragment) | null; currency: { __typename?: "PaywallCurrency" } & PaywallCurrencyFragment; customer?: ({ __typename?: "Customer" } & CustomerFragment) | null; paywallCalculatedPricePoints?: ({ __typename?: "PaywallPricePoint" } & PaywallCalculatedPricePointsFragment)[] | null; plans: ({ __typename?: "Plan" } & PlanFragment)[]; resource?: ({ __typename?: "CustomerResource" } & CustomerResourceFragment) | null }

Type declaration

PaywallLayoutConfigurationInput: { alignment?: InputMaybe<Alignment>; planMargin?: InputMaybe<Scalars["Float"]>; planPadding?: InputMaybe<Scalars["Float"]>; planWidth?: InputMaybe<Scalars["Float"]> }

Type declaration

Plan: { basePlan?: BasePlan; billingId?: string | null; compatibleAddons: Addon[]; compatiblePackageGroups: CompatiblePackageGroup[]; defaultTrialConfig?: DefaultTrialConfig | null; description?: string | null; displayName: string; entitlements: PackageEntitlement[]; id: string; inheritedEntitlements: PackageEntitlement[]; metadata?: Metadata | null; order: number; pricePoints: Price[]; pricingType?: PricingType | null; product: Product }

Type declaration

PlanCompatiblePackageGroupsFragment: { __typename?: "PlanCompatiblePackageGroups"; addons?: ({ __typename?: "Addon" } & AddonFragment)[] | null; displayName: string; options: { __typename?: "PlanCompatiblePackageGroupOptions"; freeItems?: number | null; minItems?: number | null }; packageGroupId: string }

Type declaration

  • Optional __typename?: "PlanCompatiblePackageGroups"
  • Optional addons?: ({ __typename?: "Addon" } & AddonFragment)[] | null
  • displayName: string
  • options: { __typename?: "PlanCompatiblePackageGroupOptions"; freeItems?: number | null; minItems?: number | null }
    • Optional __typename?: "PlanCompatiblePackageGroupOptions"
    • Optional freeItems?: number | null
    • Optional minItems?: number | null
  • packageGroupId: string
PlanCreateInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; awsMarketplacePlanDimension?: InputMaybe<Scalars["String"]>; billingId?: InputMaybe<Scalars["String"]>; description?: InputMaybe<Scalars["String"]>; displayName: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]>; hiddenFromWidgets?: InputMaybe<WidgetType[]>; parentPlanId?: InputMaybe<Scalars["String"]>; pricingType?: InputMaybe<PricingType>; productId: Scalars["String"]; refId?: InputMaybe<Scalars["String"]>; status?: InputMaybe<PackageStatus> }

Type declaration

Type declaration

Type declaration

PlanFilterProductFilter: { and?: InputMaybe<PlanFilterProductFilter[]>; awsMarketplaceProductCode?: InputMaybe<StringFieldComparison>; awsMarketplaceProductId?: InputMaybe<StringFieldComparison>; createdAt?: InputMaybe<DateFieldComparison>; description?: InputMaybe<StringFieldComparison>; displayName?: InputMaybe<StringFieldComparison>; environmentId?: InputMaybe<StringFieldComparison>; id?: InputMaybe<StringFieldComparison>; isDefaultProduct?: InputMaybe<BooleanFieldComparison>; multipleSubscriptions?: InputMaybe<BooleanFieldComparison>; or?: InputMaybe<PlanFilterProductFilter[]>; refId?: InputMaybe<StringFieldComparison>; updatedAt?: InputMaybe<DateFieldComparison> }

Type declaration

PlanFragment: { __typename?: "Plan"; additionalMetaData?: any | null; basePlan?: { __typename?: "Plan"; displayName: string; refId: string } | null; billingId?: string | null; compatibleAddons?: ({ __typename?: "Addon" } & AddonFragment)[] | null; compatiblePackageGroups?: ({ __typename?: "PlanCompatiblePackageGroups" } & PlanCompatiblePackageGroupsFragment)[] | null; defaultTrialConfig?: { __typename?: "DefaultTrialConfig"; budget?: { __typename?: "BudgetConfiguration"; limit: number } | null; duration: number; units: TrialPeriodUnits } | null; description?: string | null; displayName: string; entitlements?: ({ __typename?: "PackageEntitlement" } & PackageEntitlementFragment)[] | null; hiddenFromWidgets?: WidgetType[] | null; id: string; inheritedEntitlements?: ({ __typename?: "PackageEntitlement" } & PackageEntitlementFragment)[] | null; overagePrices?: ({ __typename?: "Price" } & OveragePriceFragment)[] | null; prices?: ({ __typename?: "Price" } & PriceFragment)[] | null; pricingType?: PricingType | null; product: { __typename?: "Product" } & ProductFragment; refId: string; versionNumber: number }

Type declaration

  • Optional __typename?: "Plan"
  • Optional additionalMetaData?: any | null
  • Optional basePlan?: { __typename?: "Plan"; displayName: string; refId: string } | null
  • Optional billingId?: string | null
  • Optional compatibleAddons?: ({ __typename?: "Addon" } & AddonFragment)[] | null
  • Optional compatiblePackageGroups?: ({ __typename?: "PlanCompatiblePackageGroups" } & PlanCompatiblePackageGroupsFragment)[] | null
  • Optional defaultTrialConfig?: { __typename?: "DefaultTrialConfig"; budget?: { __typename?: "BudgetConfiguration"; limit: number } | null; duration: number; units: TrialPeriodUnits } | null
  • Optional description?: string | null
  • displayName: string
  • Optional entitlements?: ({ __typename?: "PackageEntitlement" } & PackageEntitlementFragment)[] | null
  • Optional hiddenFromWidgets?: WidgetType[] | null
  • id: string
  • Optional inheritedEntitlements?: ({ __typename?: "PackageEntitlement" } & PackageEntitlementFragment)[] | null
  • Optional overagePrices?: ({ __typename?: "Price" } & OveragePriceFragment)[] | null
  • Optional prices?: ({ __typename?: "Price" } & PriceFragment)[] | null
  • Optional pricingType?: PricingType | null
  • product: { __typename?: "Product" } & ProductFragment
  • refId: string
  • versionNumber: number
PlanSort: { direction: SortDirection; field: PlanSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

PlanUpdateInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; billingId?: InputMaybe<Scalars["String"]>; defaultTrialConfig?: InputMaybe<DefaultTrialConfigInputDto>; description?: InputMaybe<Scalars["String"]>; displayName?: InputMaybe<Scalars["String"]>; hiddenFromWidgets?: InputMaybe<WidgetType[]>; id: Scalars["String"]; minimumSpend?: InputMaybe<MinimumSpendInput[]>; parentPlanId?: InputMaybe<Scalars["String"]>; status?: InputMaybe<PackageStatus> }

Type declaration

PreparePaymentMethodFormInput: { customerId: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]> }

Type declaration

PreviewNextInvoiceInput: { environmentId?: InputMaybe<Scalars["String"]>; subscriptionId: Scalars["String"] }

Input to preview the next invoice for a subscription

Type declaration

  • Optional environmentId?: InputMaybe<Scalars["String"]>

    The environment id of the subscription to preview

  • subscriptionId: Scalars["String"]

    The subscription id to preview

PreviewNextInvoiceMutation: { __typename?: "Mutation"; previewNextInvoice: { __typename?: "SubscriptionInvoicePreview" } & SubscriptionInvoicePreviewFragment }

Type declaration

PreviewNextInvoiceMutationVariables: Exact<{ input: PreviewNextInvoiceInput }>
PreviewSubscription: { addons?: SubscriptionEstimationAddon[]; billableFeatures?: BillableFeature[]; billingCountryCode?: string; billingInformation?: SubscriptionBillingInfo; billingPeriod?: BillingPeriod; customerId: string; payingCustomerId?: string; planId: string; promotionCode?: string; resourceId?: string; scheduleStrategy?: ScheduleStrategy; startDate?: Date; unitQuantity?: number }

Type declaration

PreviewSubscriptionInput: { addons?: InputMaybe<SubscriptionAddonInput[]>; appliedCoupon?: InputMaybe<SubscriptionCouponInput>; billableFeatures?: InputMaybe<BillableFeatureInput[]>; billingCountryCode?: InputMaybe<Scalars["String"]>; billingInformation?: InputMaybe<SubscriptionBillingInfo>; billingPeriod?: InputMaybe<BillingPeriod>; customerId: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]>; payingCustomerId?: InputMaybe<Scalars["String"]>; planId: Scalars["String"]; promotionCode?: InputMaybe<Scalars["String"]>; resourceId?: InputMaybe<Scalars["String"]>; scheduleStrategy?: InputMaybe<ScheduleStrategy>; startDate?: InputMaybe<Scalars["DateTime"]>; unitQuantity?: InputMaybe<Scalars["Float"]> }

Type declaration

PreviewSubscriptionMutation: { __typename?: "Mutation"; previewSubscription: { __typename?: "SubscriptionPreviewV2" } & SubscriptionPreviewV2Fragment }

Type declaration

PreviewSubscriptionMutationVariables: Exact<{ input: PreviewSubscriptionInput }>
Price: { amount?: number | null; billingCountryCode?: string | null; billingId?: string | null; billingPeriod: BillingPeriod; blockSize?: number | null; currency: Currency; feature?: { displayName: string; featureId: string; unitQuantity?: number | null; units?: string | null; unitsPlural?: string | null } | null; isTieredPrice: boolean; maxUnitQuantity?: number | null; minUnitQuantity?: number | null; pricingModel: BillingModel; tiers?: PriceTierFragment[] | null; tiersMode: TiersMode | null | undefined }

Type declaration

  • Optional amount?: number | null
  • Optional billingCountryCode?: string | null
  • Optional billingId?: string | null
  • billingPeriod: BillingPeriod
  • Optional blockSize?: number | null
  • currency: Currency
  • Optional feature?: { displayName: string; featureId: string; unitQuantity?: number | null; units?: string | null; unitsPlural?: string | null } | null
  • isTieredPrice: boolean
  • Optional maxUnitQuantity?: number | null
  • Optional minUnitQuantity?: number | null
  • pricingModel: BillingModel
  • Optional tiers?: PriceTierFragment[] | null
  • tiersMode: TiersMode | null | undefined

Type declaration

Type declaration

PriceFragment: { __typename?: "Price"; billingCadence: BillingCadence; billingCountryCode?: string | null; billingId?: string | null; billingModel: BillingModel; billingPeriod: BillingPeriod; blockSize?: number | null; feature?: { __typename?: "Feature"; description?: string | null; displayName: string; featureUnits?: string | null; featureUnitsPlural?: string | null; refId: string } | null; maxUnitQuantity?: number | null; minUnitQuantity?: number | null; price?: { __typename?: "Money"; amount: number; currency: Currency } | null; tiers?: ({ __typename?: "PriceTier" } & PriceTierFragment)[] | null; tiersMode?: TiersMode | null }

Type declaration

  • Optional __typename?: "Price"
  • billingCadence: BillingCadence
  • Optional billingCountryCode?: string | null
  • Optional billingId?: string | null
  • billingModel: BillingModel
  • billingPeriod: BillingPeriod
  • Optional blockSize?: number | null
  • Optional feature?: { __typename?: "Feature"; description?: string | null; displayName: string; featureUnits?: string | null; featureUnitsPlural?: string | null; refId: string } | null
  • Optional maxUnitQuantity?: number | null
  • Optional minUnitQuantity?: number | null
  • Optional price?: { __typename?: "Money"; amount: number; currency: Currency } | null
  • Optional tiers?: ({ __typename?: "PriceTier" } & PriceTierFragment)[] | null
  • Optional tiersMode?: TiersMode | null
PriceOverrideInput: { addonId?: InputMaybe<Scalars["String"]>; baseCharge?: InputMaybe<Scalars["Boolean"]>; blockSize?: InputMaybe<Scalars["Float"]>; featureId?: InputMaybe<Scalars["String"]>; price?: InputMaybe<MoneyInputDto>; tiers?: InputMaybe<PriceTierInput[]> }

Type declaration

PricePeriodInput: { billingCountryCode?: InputMaybe<Scalars["String"]>; billingPeriod: BillingPeriod; blockSize?: InputMaybe<Scalars["Float"]>; price?: InputMaybe<MoneyInputDto>; tiers?: InputMaybe<PriceTierInput[]> }

Type declaration

PriceSort: { direction: SortDirection; field: PriceSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

PriceTierFragment: { __typename?: "PriceTier"; flatPrice?: { __typename?: "Money"; amount: number; currency: Currency } | null; unitPrice?: { __typename?: "Money"; amount: number; currency: Currency } | null; upTo?: number | null }

Type declaration

  • Optional __typename?: "PriceTier"
  • Optional flatPrice?: { __typename?: "Money"; amount: number; currency: Currency } | null
  • Optional unitPrice?: { __typename?: "Money"; amount: number; currency: Currency } | null
  • Optional upTo?: number | null
PriceTierInput: { flatPrice?: InputMaybe<MoneyInputDto>; unitPrice?: InputMaybe<MoneyInputDto>; upTo?: InputMaybe<Scalars["Float"]> }

Type declaration

PricingModelCreateInput: { billingCadence?: InputMaybe<BillingCadence>; billingModel: BillingModel; featureId?: InputMaybe<Scalars["String"]>; maxUnitQuantity?: InputMaybe<Scalars["Float"]>; minUnitQuantity?: InputMaybe<Scalars["Float"]>; monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>; pricePeriods: PricePeriodInput[]; resetPeriod?: InputMaybe<EntitlementResetPeriod>; tiersMode?: InputMaybe<TiersMode>; weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput>; yearlyResetPeriodConfiguration?: InputMaybe<YearlyResetPeriodConfigInput> }

Type declaration

PricingTypeFilterComparison: { eq?: InputMaybe<PricingType>; gt?: InputMaybe<PricingType>; gte?: InputMaybe<PricingType>; iLike?: InputMaybe<PricingType>; in?: InputMaybe<PricingType[]>; is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]>; like?: InputMaybe<PricingType>; lt?: InputMaybe<PricingType>; lte?: InputMaybe<PricingType>; neq?: InputMaybe<PricingType>; notILike?: InputMaybe<PricingType>; notIn?: InputMaybe<PricingType[]>; notLike?: InputMaybe<PricingType> }

Type declaration

Product: { description?: string | null; displayName?: string | null; id: string; metadata?: Metadata | null }

Type declaration

  • Optional description?: string | null
  • Optional displayName?: string | null
  • id: string
  • Optional metadata?: Metadata | null
ProductCreateInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; description?: InputMaybe<Scalars["String"]>; displayName?: InputMaybe<Scalars["String"]>; environmentId: Scalars["String"]; multipleSubscriptions?: InputMaybe<Scalars["Boolean"]>; refId: Scalars["String"] }

Type declaration

ProductFilter: { and?: InputMaybe<ProductFilter[]>; awsMarketplaceProductCode?: InputMaybe<StringFieldComparison>; awsMarketplaceProductId?: InputMaybe<StringFieldComparison>; createdAt?: InputMaybe<DateFieldComparison>; description?: InputMaybe<StringFieldComparison>; displayName?: InputMaybe<StringFieldComparison>; environmentId?: InputMaybe<StringFieldComparison>; id?: InputMaybe<StringFieldComparison>; isDefaultProduct?: InputMaybe<BooleanFieldComparison>; multipleSubscriptions?: InputMaybe<BooleanFieldComparison>; or?: InputMaybe<ProductFilter[]>; refId?: InputMaybe<StringFieldComparison>; updatedAt?: InputMaybe<DateFieldComparison> }

Type declaration

ProductFragment: { __typename?: "Product"; additionalMetaData?: any | null; description?: string | null; displayName?: string | null; productSettings: { __typename?: "ProductSettings"; downgradePlan?: { __typename?: "Plan"; displayName: string; refId: string } | null }; refId: string }

Type declaration

  • Optional __typename?: "Product"
  • Optional additionalMetaData?: any | null
  • Optional description?: string | null
  • Optional displayName?: string | null
  • productSettings: { __typename?: "ProductSettings"; downgradePlan?: { __typename?: "Plan"; displayName: string; refId: string } | null }
    • Optional __typename?: "ProductSettings"
    • Optional downgradePlan?: { __typename?: "Plan"; displayName: string; refId: string } | null
  • refId: string
ProductSettingsInput: { downgradeAtEndOfBillingPeriod?: InputMaybe<Scalars["String"]>; downgradePlanId?: InputMaybe<Scalars["String"]>; prorateAtEndOfBillingPeriod?: InputMaybe<Scalars["Boolean"]>; subscriptionCancellationTime: SubscriptionCancellationTime; subscriptionEndSetup: SubscriptionEndSetup; subscriptionStartPlanId?: InputMaybe<Scalars["String"]>; subscriptionStartSetup: SubscriptionStartSetup }

Type declaration

ProductSort: { direction: SortDirection; field: ProductSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

ProductUpdateInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; autoCancellationRules?: InputMaybe<AutoCancellationRuleInput[]>; description?: InputMaybe<Scalars["String"]>; displayName?: InputMaybe<Scalars["String"]>; multipleSubscriptions?: InputMaybe<Scalars["Boolean"]>; productSettings?: InputMaybe<ProductSettingsInput> }

Type declaration

PromotionalEntitlement: { expiresAt?: Date; feature: EntitlementFeature; hasExpirationDate: boolean; hasUnlimitedUsage?: boolean | null; isVisible: boolean; status: PromotionalEntitlementStatus; usageLimit: number }

Type declaration

PromotionalEntitlementFragment: { __typename?: "PromotionalEntitlement"; endDate?: any | null; feature: { __typename?: "Feature"; additionalMetaData?: any | null; description?: string | null; displayName: string; featureType: FeatureType; featureUnits?: string | null; featureUnitsPlural?: string | null; meterType?: MeterType | null; refId: string }; featureId: string; hasSoftLimit?: boolean | null; hasUnlimitedUsage?: boolean | null; isVisible: boolean; resetPeriod?: EntitlementResetPeriod | null; status: PromotionalEntitlementStatus; usageLimit?: number | null }

Type declaration

  • Optional __typename?: "PromotionalEntitlement"
  • Optional endDate?: any | null
  • feature: { __typename?: "Feature"; additionalMetaData?: any | null; description?: string | null; displayName: string; featureType: FeatureType; featureUnits?: string | null; featureUnitsPlural?: string | null; meterType?: MeterType | null; refId: string }
    • Optional __typename?: "Feature"
    • Optional additionalMetaData?: any | null
    • Optional description?: string | null
    • displayName: string
    • featureType: FeatureType
    • Optional featureUnits?: string | null
    • Optional featureUnitsPlural?: string | null
    • Optional meterType?: MeterType | null
    • refId: string
  • featureId: string
  • Optional hasSoftLimit?: boolean | null
  • Optional hasUnlimitedUsage?: boolean | null
  • isVisible: boolean
  • Optional resetPeriod?: EntitlementResetPeriod | null
  • status: PromotionalEntitlementStatus
  • Optional usageLimit?: number | null
PromotionalEntitlementInput: { customerId: Scalars["String"]; description?: InputMaybe<Scalars["String"]>; endDate?: InputMaybe<Scalars["DateTime"]>; environmentId: Scalars["String"]; featureId: Scalars["String"]; hasSoftLimit?: InputMaybe<Scalars["Boolean"]>; hasUnlimitedUsage?: InputMaybe<Scalars["Boolean"]>; isVisible: Scalars["Boolean"]; monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>; period: PromotionalEntitlementPeriod; resetPeriod?: InputMaybe<EntitlementResetPeriod>; usageLimit?: InputMaybe<Scalars["Float"]>; weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput>; yearlyResetPeriodConfiguration?: InputMaybe<YearlyResetPeriodConfigInput> }

Type declaration

PromotionalEntitlementSort: { direction: SortDirection; field: PromotionalEntitlementSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

PromotionalEntitlementUpdateInput: { description?: InputMaybe<Scalars["String"]>; endDate?: InputMaybe<Scalars["DateTime"]>; hasSoftLimit?: InputMaybe<Scalars["Boolean"]>; hasUnlimitedUsage?: InputMaybe<Scalars["Boolean"]>; isVisible: Scalars["Boolean"]; monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>; period: PromotionalEntitlementPeriod; resetPeriod?: InputMaybe<EntitlementResetPeriod>; usageLimit?: InputMaybe<Scalars["Float"]>; weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput> }

Type declaration

ProvisionCustomerFragment: { __typename?: "ProvisionedCustomer"; customer: { __typename?: "Customer" } & SlimCustomerFragment; entitlements?: ({ __typename?: "Entitlement" } & EntitlementFragment)[] | null; subscription?: ({ __typename?: "CustomerSubscription" } & SlimSubscriptionFragment) | null; subscriptionDecisionStrategy: SubscriptionDecisionStrategy }

Type declaration

ProvisionCustomerInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; awsMarketplaceCustomerId?: InputMaybe<Scalars["String"]>; billingId?: InputMaybe<Scalars["String"]>; billingInformation?: InputMaybe<CustomerBillingInfo>; couponRefId?: InputMaybe<Scalars["String"]>; createdAt?: InputMaybe<Scalars["DateTime"]>; crmId?: InputMaybe<Scalars["String"]>; customerId?: InputMaybe<Scalars["String"]>; email?: InputMaybe<Scalars["String"]>; environmentId?: InputMaybe<Scalars["String"]>; excludeFromExperiment?: InputMaybe<Scalars["Boolean"]>; name?: InputMaybe<Scalars["String"]>; refId?: InputMaybe<Scalars["String"]>; salesforceId?: InputMaybe<Scalars["String"]>; shouldSyncFree?: InputMaybe<Scalars["Boolean"]>; subscriptionParams?: InputMaybe<ProvisionCustomerSubscriptionInput> }

Type declaration

ProvisionCustomerMutation: { __typename?: "Mutation"; provisionCustomer: { __typename?: "ProvisionedCustomer" } & ProvisionCustomerFragment }

Type declaration

ProvisionCustomerMutationVariables: Exact<{ input: ProvisionCustomerInput }>
ProvisionCustomerSubscriptionInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; addons?: InputMaybe<SubscriptionAddonInput[]>; appliedCoupon?: InputMaybe<SubscriptionCouponInput>; awaitPaymentConfirmation?: InputMaybe<Scalars["Boolean"]>; billableFeatures?: InputMaybe<BillableFeatureInput[]>; billingCountryCode?: InputMaybe<Scalars["String"]>; billingId?: InputMaybe<Scalars["String"]>; billingInformation?: InputMaybe<SubscriptionBillingInfo>; billingPeriod?: InputMaybe<BillingPeriod>; budget?: InputMaybe<BudgetConfigurationInput>; minimumSpend?: InputMaybe<SubscriptionMinimumSpendValueInput>; paymentCollectionMethod?: InputMaybe<PaymentCollectionMethod>; planId: Scalars["String"]; priceOverrides?: InputMaybe<PriceOverrideInput[]>; priceUnitAmount?: InputMaybe<Scalars["Float"]>; promotionCode?: InputMaybe<Scalars["String"]>; refId?: InputMaybe<Scalars["String"]>; resourceId?: InputMaybe<Scalars["String"]>; salesforceId?: InputMaybe<Scalars["String"]>; startDate?: InputMaybe<Scalars["DateTime"]>; subscriptionEntitlements?: InputMaybe<SubscriptionEntitlementInput[]>; subscriptionId?: InputMaybe<Scalars["String"]>; trialOverrideConfiguration?: InputMaybe<TrialOverrideConfigurationInput>; unitQuantity?: InputMaybe<Scalars["Float"]> }

Type declaration

ProvisionSandboxInput: { billingModel: BillingModel; displayName: Scalars["String"] }

Type declaration

ProvisionSubscription: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; addons?: InputMaybe<SubscriptionAddonInput[]>; appliedCoupon?: InputMaybe<SubscriptionCouponInput>; awaitPaymentConfirmation?: InputMaybe<Scalars["Boolean"]>; billableFeatures?: InputMaybe<BillableFeatureInput[]>; billingCountryCode?: InputMaybe<Scalars["String"]>; billingId?: InputMaybe<Scalars["String"]>; billingInformation?: InputMaybe<SubscriptionBillingInfo>; billingPeriod?: InputMaybe<BillingPeriod>; budget?: InputMaybe<BudgetConfigurationInput>; checkoutOptions?: InputMaybe<CheckoutOptions>; customerId: Scalars["String"]; minimumSpend?: InputMaybe<SubscriptionMinimumSpendValueInput>; payingCustomerId?: InputMaybe<Scalars["String"]>; paymentCollectionMethod?: InputMaybe<PaymentCollectionMethod>; planId: Scalars["String"]; priceOverrides?: InputMaybe<PriceOverrideInput[]>; priceUnitAmount?: InputMaybe<Scalars["Float"]>; promotionCode?: InputMaybe<Scalars["String"]>; refId?: InputMaybe<Scalars["String"]>; resourceId?: InputMaybe<Scalars["String"]>; salesforceId?: InputMaybe<Scalars["String"]>; scheduleStrategy?: InputMaybe<ScheduleStrategy>; skipTrial?: InputMaybe<Scalars["Boolean"]>; startDate?: InputMaybe<Scalars["DateTime"]>; subscriptionEntitlements?: InputMaybe<SubscriptionEntitlementInput[]>; subscriptionId?: InputMaybe<Scalars["String"]>; trialOverrideConfiguration?: InputMaybe<TrialOverrideConfigurationInput>; unitQuantity?: InputMaybe<Scalars["Float"]> }

Type declaration

ProvisionSubscriptionFragment: { __typename?: "ProvisionSubscriptionResult"; checkoutBillingId?: string | null; checkoutUrl?: string | null; entitlements?: ({ __typename?: "Entitlement" } & EntitlementFragment)[] | null; status: ProvisionSubscriptionStatus; subscription?: ({ __typename?: "CustomerSubscription" } & SlimSubscriptionFragment) | null }

Type declaration

  • Optional __typename?: "ProvisionSubscriptionResult"
  • Optional checkoutBillingId?: string | null
  • Optional checkoutUrl?: string | null
  • Optional entitlements?: ({ __typename?: "Entitlement" } & EntitlementFragment)[] | null
  • status: ProvisionSubscriptionStatus
  • Optional subscription?: ({ __typename?: "CustomerSubscription" } & SlimSubscriptionFragment) | null
ProvisionSubscriptionInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; addons?: InputMaybe<SubscriptionAddonInput[]>; appliedCoupon?: InputMaybe<SubscriptionCouponInput>; awaitPaymentConfirmation?: InputMaybe<Scalars["Boolean"]>; billableFeatures?: InputMaybe<BillableFeatureInput[]>; billingCountryCode?: InputMaybe<Scalars["String"]>; billingId?: InputMaybe<Scalars["String"]>; billingInformation?: InputMaybe<SubscriptionBillingInfo>; billingPeriod?: InputMaybe<BillingPeriod>; budget?: InputMaybe<BudgetConfigurationInput>; checkoutOptions?: InputMaybe<CheckoutOptions>; customerId: Scalars["String"]; minimumSpend?: InputMaybe<SubscriptionMinimumSpendValueInput>; payingCustomerId?: InputMaybe<Scalars["String"]>; paymentCollectionMethod?: InputMaybe<PaymentCollectionMethod>; planId: Scalars["String"]; priceOverrides?: InputMaybe<PriceOverrideInput[]>; priceUnitAmount?: InputMaybe<Scalars["Float"]>; promotionCode?: InputMaybe<Scalars["String"]>; refId?: InputMaybe<Scalars["String"]>; resourceId?: InputMaybe<Scalars["String"]>; salesforceId?: InputMaybe<Scalars["String"]>; scheduleStrategy?: InputMaybe<ScheduleStrategy>; skipTrial?: InputMaybe<Scalars["Boolean"]>; startDate?: InputMaybe<Scalars["DateTime"]>; subscriptionEntitlements?: InputMaybe<SubscriptionEntitlementInput[]>; subscriptionId?: InputMaybe<Scalars["String"]>; trialOverrideConfiguration?: InputMaybe<TrialOverrideConfigurationInput>; unitQuantity?: InputMaybe<Scalars["Float"]> }

Type declaration

ProvisionSubscriptionMutation: { __typename?: "Mutation"; provisionSubscription: { __typename?: "ProvisionSubscriptionResult" } & ProvisionSubscriptionFragment }

Type declaration

ProvisionSubscriptionMutationVariables: Exact<{ input: ProvisionSubscriptionInput }>
RecalculateEntitlementsInput: { customerIds?: InputMaybe<Scalars["String"][]>; environmentId: Scalars["String"]; forAllCustomers?: InputMaybe<Scalars["Boolean"]>; sideEffectsOptions?: InputMaybe<RecalculateEntitlementsSideEffectsOptionsInput> }

Type declaration

RecalculateEntitlementsSideEffectsOptionsInput: { skipPublishToSubscribers?: InputMaybe<Scalars["Boolean"]>; skipWriteToCache?: InputMaybe<Scalars["Boolean"]>; skipWriteToDataCatalog?: InputMaybe<Scalars["Boolean"]>; skipWriteToEventLog?: InputMaybe<Scalars["Boolean"]> }

Type declaration

RemoveBasePlanFromPlanInput: { id: Scalars["String"]; relationId: Scalars["String"] }

Type declaration

  • id: Scalars["String"]

    The id of the record.

  • relationId: Scalars["String"]

    The id of relation.

RemoveCompatibleAddonsFromPlanInput: { id: Scalars["String"]; relationIds: Scalars["String"][] }

Type declaration

  • id: Scalars["String"]

    The id of the record.

  • relationIds: Scalars["String"][]

    The ids of the relations.

RemoveCouponFromCustomerInput: { id: Scalars["String"]; relationId: Scalars["String"] }

Type declaration

  • id: Scalars["String"]

    The id of the record.

  • relationId: Scalars["String"]

    The id of relation.

RemoveCouponFromCustomerSubscriptionInput: { id: Scalars["String"]; relationId: Scalars["String"] }

Type declaration

  • id: Scalars["String"]

    The id of the record.

  • relationId: Scalars["String"]

    The id of relation.

RemoveExperimentFromCustomerInput: { id: Scalars["String"]; relationId: Scalars["String"] }

Type declaration

  • id: Scalars["String"]

    The id of the record.

  • relationId: Scalars["String"]

    The id of relation.

RemoveExperimentFromCustomerSubscriptionInput: { id: Scalars["String"]; relationId: Scalars["String"] }

Type declaration

  • id: Scalars["String"]

    The id of the record.

  • relationId: Scalars["String"]

    The id of relation.

ReportEntitlementCheckRequestedMutation: { __typename?: "Mutation"; reportEntitlementCheckRequested: boolean }

Type declaration

  • Optional __typename?: "Mutation"
  • reportEntitlementCheckRequested: boolean
ReportEntitlementCheckRequestedMutationVariables: Exact<{ entitlementCheckRequested: EntitlementCheckRequested }>
ReportEventMutation: { __typename?: "Mutation"; reportEvent?: string | null }

Type declaration

  • Optional __typename?: "Mutation"
  • Optional reportEvent?: string | null
ReportEventMutationVariables: Exact<{ input: UsageEventsReportInput }>
ReportUsageBaseInput: { createdAt?: InputMaybe<Scalars["DateTime"]>; customerId: Scalars["String"]; dimensions?: InputMaybe<Scalars["JSON"]>; featureId: Scalars["String"]; resourceId?: InputMaybe<Scalars["String"]>; updateBehavior?: InputMaybe<UsageUpdateBehavior>; value: Scalars["Float"] }

Type declaration

ReportUsageBulkInput: { environmentId?: InputMaybe<Scalars["String"]>; usages: ReportUsageBaseInput[] }

Type declaration

ReportUsageBulkMutation: { __typename?: "Mutation"; reportUsageBulk: ({ __typename?: "UsageMeasurementWithCurrentUsage" } & ReportUsageFragment)[] }

Type declaration

  • Optional __typename?: "Mutation"
  • reportUsageBulk: ({ __typename?: "UsageMeasurementWithCurrentUsage" } & ReportUsageFragment)[]
ReportUsageBulkMutationVariables: Exact<{ input: ReportUsageBulkInput }>
ReportUsageFragment: { __typename?: "UsageMeasurementWithCurrentUsage"; currentUsage?: number | null; customerId: string; featureId: string; id: string; nextResetDate?: any | null; resourceId?: string | null; timestamp: any; usagePeriodEnd?: any | null; usagePeriodStart?: any | null }

Type declaration

  • Optional __typename?: "UsageMeasurementWithCurrentUsage"
  • Optional currentUsage?: number | null
  • customerId: string
  • featureId: string
  • id: string
  • Optional nextResetDate?: any | null
  • Optional resourceId?: string | null
  • timestamp: any
  • Optional usagePeriodEnd?: any | null
  • Optional usagePeriodStart?: any | null
ReportUsageInput: { createdAt?: InputMaybe<Scalars["DateTime"]>; customerId: Scalars["String"]; dimensions?: InputMaybe<Scalars["JSON"]>; environmentId?: InputMaybe<Scalars["String"]>; featureId: Scalars["String"]; resourceId?: InputMaybe<Scalars["String"]>; updateBehavior?: InputMaybe<UsageUpdateBehavior>; value: Scalars["Float"] }

Type declaration

ReportUsageMutation: { __typename?: "Mutation"; reportUsage: { __typename?: "UsageMeasurementWithCurrentUsage" } & ReportUsageFragment }

Type declaration

  • Optional __typename?: "Mutation"
  • reportUsage: { __typename?: "UsageMeasurementWithCurrentUsage" } & ReportUsageFragment
ReportUsageMutationVariables: Exact<{ input: ReportUsageInput }>
ResetPeriodConfigurationFragment: ResetPeriodConfigurationFragment_MonthlyResetPeriodConfig_ | ResetPeriodConfigurationFragment_WeeklyResetPeriodConfig_ | ResetPeriodConfigurationFragment_YearlyResetPeriodConfig_
ResetSettings: { nextResetDate: Date; resetPeriod: EntitlementResetPeriod }
deprecated

Type declaration

ResyncIntegrationInput: { environmentId: Scalars["String"]; vendorIdentifier: VendorIdentifier }

Type declaration

RevokePromotionalEntitlementInput: { customerId: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]>; featureId: Scalars["String"] }

Type declaration

RevokePromotionalEntitlementMutation: { __typename?: "Mutation"; revokePromotionalEntitlement: { __typename?: "PromotionalEntitlement"; id: string } }

Type declaration

  • Optional __typename?: "Mutation"
  • revokePromotionalEntitlement: { __typename?: "PromotionalEntitlement"; id: string }
    • Optional __typename?: "PromotionalEntitlement"
    • id: string
RevokePromotionalEntitlementMutationVariables: Exact<{ input: RevokePromotionalEntitlementInput }>
SalesforceCredentialsInput: { domain?: InputMaybe<Scalars["String"]> }

Type declaration

Scalars: { Boolean: boolean; ConnectionCursor: any; DateTime: any; Float: number; ID: string; Int: number; JSON: any; String: string }

All built-in and custom scalars, mapped to their actual values

Type declaration

  • Boolean: boolean
  • ConnectionCursor: any

    Cursor for paging through collections

  • DateTime: any

    A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

  • Float: number
  • ID: string
  • Int: number
  • JSON: any

    The JSON scalar type represents JSON values as specified by ECMA-404.

  • String: string
ScheduleVariablesFragment: ScheduleVariablesFragment_AddonChangeVariables_ | ScheduleVariablesFragment_BillingPeriodChangeVariables_ | ScheduleVariablesFragment_DowngradeChangeVariables_ | ScheduleVariablesFragment_PlanChangeVariables_ | ScheduleVariablesFragment_UnitAmountChangeVariables_
Sdk: ReturnType<typeof getSdk>
SdkFunctionWrapper: <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>

Type declaration

    • <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string): Promise<T>
    • Type parameters

      • T

      Parameters

      • action: (requestHeaders?: Record<string, string>) => Promise<T>
          • (requestHeaders?: Record<string, string>): Promise<T>
          • Parameters

            • Optional requestHeaders: Record<string, string>

            Returns Promise<T>

      • operationName: string
      • Optional operationType: string

      Returns Promise<T>

SetBasePlanOnPlanInput: { id: Scalars["String"]; relationId: Scalars["String"] }

Type declaration

  • id: Scalars["String"]

    The id of the record.

  • relationId: Scalars["String"]

    The id of relation.

SetCompatibleAddonsOnPlanInput: { id: Scalars["String"]; relationIds: Scalars["String"][] }

Type declaration

  • id: Scalars["String"]

    The id of the record.

  • relationIds: Scalars["String"][]

    The ids of the relations.

SetCouponOnCustomerInput: { id: Scalars["String"]; relationId: Scalars["String"] }

Type declaration

  • id: Scalars["String"]

    The id of the record.

  • relationId: Scalars["String"]

    The id of relation.

SetCouponOnCustomerSubscriptionInput: { id: Scalars["String"]; relationId: Scalars["String"] }

Type declaration

  • id: Scalars["String"]

    The id of the record.

  • relationId: Scalars["String"]

    The id of relation.

SetExperimentOnCustomerInput: { id: Scalars["String"]; relationId: Scalars["String"] }

Type declaration

  • id: Scalars["String"]

    The id of the record.

  • relationId: Scalars["String"]

    The id of relation.

SetExperimentOnCustomerSubscriptionInput: { id: Scalars["String"]; relationId: Scalars["String"] }

Type declaration

  • id: Scalars["String"]

    The id of the record.

  • relationId: Scalars["String"]

    The id of relation.

SetPackageGroupAddons: { addons: Scalars["String"][]; environmentId?: InputMaybe<Scalars["String"]>; packageGroupId: Scalars["String"] }

The input type for setting the addons of an package group

Type declaration

  • addons: Scalars["String"][]

    The addons to set on the package group

  • Optional environmentId?: InputMaybe<Scalars["String"]>

    The environment id to set the addons of the package group in

  • packageGroupId: Scalars["String"]

    The id of the package group

SetPlanCompatiblePackageGroup: { options?: InputMaybe<SetPlanCompatiblePackageGroupOptions>; packageGroupId: Scalars["String"] }

Set plan compatible package group input

Type declaration

SetPlanCompatiblePackageGroupOptions: { freeItems?: InputMaybe<Scalars["Float"]>; minItems?: InputMaybe<Scalars["Float"]> }

Set plan compatible package group options input

Type declaration

  • Optional freeItems?: InputMaybe<Scalars["Float"]>

    Number of free items from packageGroup

  • Optional minItems?: InputMaybe<Scalars["Float"]>

    Number of required items from packageGroup

SetPlanCompatiblePackageGroups: { environmentId?: InputMaybe<Scalars["String"]>; id: Scalars["String"]; packageGroups: SetPlanCompatiblePackageGroup[] }

Set plan compatible package groups input

Type declaration

SlimCustomer: { awsMarketplaceCustomerId?: string | null; billingId?: string; createdAt: Date; email?: string; id: string; metadata?: Metadata | null; name?: string; updatedAt: Date }

Type declaration

  • Optional awsMarketplaceCustomerId?: string | null
  • Optional billingId?: string
  • createdAt: Date
  • Optional email?: string
  • id: string
  • Optional metadata?: Metadata | null
  • Optional name?: string
  • updatedAt: Date
SlimCustomerFragment: { __typename?: "Customer"; additionalMetaData?: any | null; awsMarketplaceCustomerId?: string | null; billingId?: string | null; createdAt?: any | null; customerId: string; email?: string | null; id: string; name?: string | null; refId: string; updatedAt: any }

Type declaration

  • Optional __typename?: "Customer"
  • Optional additionalMetaData?: any | null
  • Optional awsMarketplaceCustomerId?: string | null
  • Optional billingId?: string | null
  • Optional createdAt?: any | null
  • customerId: string
  • Optional email?: string | null
  • id: string
  • Optional name?: string | null
  • refId: string
  • updatedAt: any
SlimSubscriptionFragment: { __typename?: "CustomerSubscription"; additionalMetaData?: any | null; addons?: { __typename?: "SubscriptionAddon"; addon: { __typename?: "Addon"; id: string; refId: string }; quantity: number }[] | null; billingId?: string | null; billingLinkUrl?: string | null; billingSyncError?: string | null; currentBillingPeriodEnd?: any | null; customer: { __typename?: "Customer"; id: string; refId: string }; effectiveEndDate?: any | null; experimentInfo?: { __typename?: "experimentInfo"; groupName: string; groupType: ExperimentGroupType; id: string; name: string } | null; id: string; latestInvoice?: ({ __typename?: "SubscriptionInvoice" } & SubscriptionInvoiceFragment) | null; paymentCollection: PaymentCollection; plan: { __typename?: "Plan"; id: string; refId: string }; prices?: { __typename?: "SubscriptionPrice"; price?: ({ __typename?: "Price" } & PriceFragment) | null; usageLimit?: number | null }[] | null; pricingType: PricingType; refId: string; resource?: ({ __typename?: "CustomerResource" } & CustomerResourceFragment) | null; status: SubscriptionStatus; subscriptionId: string; totalPrice?: ({ __typename?: "CustomerSubscriptionTotalPrice" } & TotalPriceFragment) | null }

Type declaration

  • Optional __typename?: "CustomerSubscription"
  • Optional additionalMetaData?: any | null
  • Optional addons?: { __typename?: "SubscriptionAddon"; addon: { __typename?: "Addon"; id: string; refId: string }; quantity: number }[] | null
  • Optional billingId?: string | null
  • Optional billingLinkUrl?: string | null
  • Optional billingSyncError?: string | null
  • Optional currentBillingPeriodEnd?: any | null
  • customer: { __typename?: "Customer"; id: string; refId: string }
    • Optional __typename?: "Customer"
    • id: string
    • refId: string
  • Optional effectiveEndDate?: any | null
  • Optional experimentInfo?: { __typename?: "experimentInfo"; groupName: string; groupType: ExperimentGroupType; id: string; name: string } | null
  • id: string
  • Optional latestInvoice?: ({ __typename?: "SubscriptionInvoice" } & SubscriptionInvoiceFragment) | null
  • paymentCollection: PaymentCollection
  • plan: { __typename?: "Plan"; id: string; refId: string }
    • Optional __typename?: "Plan"
    • id: string
    • refId: string
  • Optional prices?: { __typename?: "SubscriptionPrice"; price?: ({ __typename?: "Price" } & PriceFragment) | null; usageLimit?: number | null }[] | null
  • pricingType: PricingType
  • refId: string
  • Optional resource?: ({ __typename?: "CustomerResource" } & CustomerResourceFragment) | null
  • status: SubscriptionStatus
  • subscriptionId: string
  • Optional totalPrice?: ({ __typename?: "CustomerSubscriptionTotalPrice" } & TotalPriceFragment) | null
SlimSubscriptionFragmentV2Fragment: { __typename?: "CustomerSubscription"; addons?: { __typename?: "SubscriptionAddon"; addon: { __typename?: "Addon"; addonId: string }; quantity: number }[] | null; currentBillingPeriodEnd?: any | null; customer: { __typename?: "Customer"; customerId: string }; payingCustomer?: { __typename?: "Customer"; customerId: string } | null; plan: { __typename?: "Plan"; displayName: string; planId: string }; pricingType: PricingType; resource?: { __typename?: "CustomerResource"; resourceId: string } | null; startDate: any; status: SubscriptionStatus; subscriptionId: string }

Type declaration

  • Optional __typename?: "CustomerSubscription"
  • Optional addons?: { __typename?: "SubscriptionAddon"; addon: { __typename?: "Addon"; addonId: string }; quantity: number }[] | null
  • Optional currentBillingPeriodEnd?: any | null
  • customer: { __typename?: "Customer"; customerId: string }
    • Optional __typename?: "Customer"
    • customerId: string
  • Optional payingCustomer?: { __typename?: "Customer"; customerId: string } | null
  • plan: { __typename?: "Plan"; displayName: string; planId: string }
    • Optional __typename?: "Plan"
    • displayName: string
    • planId: string
  • pricingType: PricingType
  • Optional resource?: { __typename?: "CustomerResource"; resourceId: string } | null
  • startDate: any
  • status: SubscriptionStatus
  • subscriptionId: string
SnowflakeCredentialsInput: { database: Scalars["String"]; host: Scalars["String"]; password: Scalars["String"]; role: Scalars["String"]; schemaName: Scalars["String"]; username: Scalars["String"]; warehouse: Scalars["String"] }

Type declaration

StartExperimentInput: { environmentId?: InputMaybe<Scalars["String"]>; refId: Scalars["String"] }

Type declaration

StopExperimentInput: { environmentId?: InputMaybe<Scalars["String"]>; refId: Scalars["String"] }

Type declaration

StringFieldComparison: { eq?: InputMaybe<Scalars["String"]>; gt?: InputMaybe<Scalars["String"]>; gte?: InputMaybe<Scalars["String"]>; iLike?: InputMaybe<Scalars["String"]>; in?: InputMaybe<Scalars["String"][]>; is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]>; like?: InputMaybe<Scalars["String"]>; lt?: InputMaybe<Scalars["String"]>; lte?: InputMaybe<Scalars["String"]>; neq?: InputMaybe<Scalars["String"]>; notILike?: InputMaybe<Scalars["String"]>; notIn?: InputMaybe<Scalars["String"][]>; notLike?: InputMaybe<Scalars["String"]> }

Type declaration

StripeCredentialsInput: { accountId?: InputMaybe<Scalars["String"]>; authorizationCode: Scalars["String"]; isTestMode: Scalars["Boolean"] }

Type declaration

StripeCustomerSearchInput: { customerName?: InputMaybe<Scalars["String"]>; environmentId: Scalars["String"]; nextPage?: InputMaybe<Scalars["String"]> }

Type declaration

StripeProductSearchInput: { environmentId: Scalars["String"]; nextPage?: InputMaybe<Scalars["String"]>; productName?: InputMaybe<Scalars["String"]> }

Type declaration

StripeSubscriptionSearchInput: { environmentId: Scalars["String"]; nextPage?: InputMaybe<Scalars["String"]> }

Type declaration

Subscription: { addons: SubscriptionAddon[]; billingId?: string; cancellationDate?: Date; crmId?: string; currentBillingPeriodEnd?: Date; effectiveEndDate?: Date; endDate?: Date; experimentInfo?: ExperimentInfo | null; futureUpdates: SubscriptionFutureUpdateDataFragment[]; id: string; latestInvoice?: SubscriptionInvoiceFragment; metadata?: Metadata | null; payingCustomer?: SlimCustomer | null; paymentCollection: PaymentCollection; paymentCollectionMethod?: PaymentCollectionMethod; plan: Plan; price: SubscriptionPrice | null; prices: Price[]; pricingType: PricingType; resourceId?: string; scheduledUpdates?: CustomerPortalSubscriptionScheduledUpdateDataFragment[]; startDate: Date; status: SubscriptionStatus; totalPrice: TotalPriceFragment | null | undefined; trialEndDate?: Date }

Type declaration

SubscriptionAddon: { addon: Addon; quantity: number }

Type declaration

  • addon: Addon
  • quantity: number

Type declaration

SubscriptionAddonInput: { addonId: Scalars["String"]; quantity?: InputMaybe<Scalars["Int"]> }

Type declaration

SubscriptionAddonSort: { direction: SortDirection; field: SubscriptionAddonSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

SubscriptionBillingInfo: { billingAddress?: BillingAddress; taxPercentage?: number; taxRateIds?: string[] }

Type declaration

  • Optional billingAddress?: BillingAddress
  • Optional taxPercentage?: number
  • Optional taxRateIds?: string[]
SubscriptionCancellationInput: { endDate?: InputMaybe<Scalars["DateTime"]>; environmentId?: InputMaybe<Scalars["String"]>; prorate?: InputMaybe<Scalars["Boolean"]>; subscriptionCancellationAction?: InputMaybe<SubscriptionCancellationAction>; subscriptionCancellationTime?: InputMaybe<SubscriptionCancellationTime>; subscriptionRefId: Scalars["String"] }

Type declaration

SubscriptionCouponInput: { billingCouponId?: InputMaybe<Scalars["String"]>; couponId?: InputMaybe<Scalars["String"]>; promotionCode?: InputMaybe<Scalars["String"]> }

Subscription coupon input

Type declaration

Type declaration

Type declaration

SubscriptionEntitlementInput: { description?: InputMaybe<Scalars["String"]>; featureId: Scalars["String"]; hasSoftLimit?: InputMaybe<Scalars["Boolean"]>; hasUnlimitedUsage?: InputMaybe<Scalars["Boolean"]>; monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>; resetPeriod?: InputMaybe<EntitlementResetPeriod>; usageLimit?: InputMaybe<Scalars["Float"]>; weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput>; yearlyResetPeriodConfiguration?: InputMaybe<YearlyResetPeriodConfigInput> }

Type declaration

SubscriptionEntitlementSort: { direction: SortDirection; field: SubscriptionEntitlementSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

SubscriptionEstimationAddon: { addonId: string; quantity?: number }

Type declaration

  • addonId: string
  • Optional quantity?: number
SubscriptionFragment: { __typename?: "CustomerSubscription"; additionalMetaData?: any | null; addons?: { __typename?: "SubscriptionAddon"; addon: { __typename?: "Addon" } & AddonFragment; id: string; quantity: number }[] | null; billingId?: string | null; billingLinkUrl?: string | null; billingSyncError?: string | null; cancellationDate?: any | null; currentBillingPeriodEnd?: any | null; effectiveEndDate?: any | null; endDate?: any | null; experimentInfo?: { __typename?: "experimentInfo"; groupName: string; groupType: ExperimentGroupType; id: string; name: string } | null; futureUpdates: ({ __typename?: "SubscriptionFutureUpdate" } & SubscriptionFutureUpdateDataFragment)[]; id: string; latestInvoice?: ({ __typename?: "SubscriptionInvoice" } & SubscriptionInvoiceFragment) | null; payingCustomer?: ({ __typename?: "Customer" } & SlimCustomerFragment) | null; paymentCollection: PaymentCollection; paymentCollectionMethod?: PaymentCollectionMethod | null; plan: { __typename?: "Plan" } & PlanFragment; prices?: { __typename?: "SubscriptionPrice"; price?: ({ __typename?: "Price" } & PriceFragment) | null; usageLimit?: number | null }[] | null; pricingType: PricingType; refId: string; resource?: ({ __typename?: "CustomerResource" } & CustomerResourceFragment) | null; scheduledUpdates?: ({ __typename?: "SubscriptionScheduledUpdate" } & SubscriptionScheduledUpdateDataFragment)[] | null; startDate: any; status: SubscriptionStatus; subscriptionId: string; totalPrice?: ({ __typename?: "CustomerSubscriptionTotalPrice" } & TotalPriceFragment) | null; trialEndDate?: any | null }

Type declaration

  • Optional __typename?: "CustomerSubscription"
  • Optional additionalMetaData?: any | null
  • Optional addons?: { __typename?: "SubscriptionAddon"; addon: { __typename?: "Addon" } & AddonFragment; id: string; quantity: number }[] | null
  • Optional billingId?: string | null
  • Optional billingLinkUrl?: string | null
  • Optional billingSyncError?: string | null
  • Optional cancellationDate?: any | null
  • Optional currentBillingPeriodEnd?: any | null
  • Optional effectiveEndDate?: any | null
  • Optional endDate?: any | null
  • Optional experimentInfo?: { __typename?: "experimentInfo"; groupName: string; groupType: ExperimentGroupType; id: string; name: string } | null
  • futureUpdates: ({ __typename?: "SubscriptionFutureUpdate" } & SubscriptionFutureUpdateDataFragment)[]
  • id: string
  • Optional latestInvoice?: ({ __typename?: "SubscriptionInvoice" } & SubscriptionInvoiceFragment) | null
  • Optional payingCustomer?: ({ __typename?: "Customer" } & SlimCustomerFragment) | null
  • paymentCollection: PaymentCollection
  • Optional paymentCollectionMethod?: PaymentCollectionMethod | null
  • plan: { __typename?: "Plan" } & PlanFragment
  • Optional prices?: { __typename?: "SubscriptionPrice"; price?: ({ __typename?: "Price" } & PriceFragment) | null; usageLimit?: number | null }[] | null
  • pricingType: PricingType
  • refId: string
  • Optional resource?: ({ __typename?: "CustomerResource" } & CustomerResourceFragment) | null
  • Optional scheduledUpdates?: ({ __typename?: "SubscriptionScheduledUpdate" } & SubscriptionScheduledUpdateDataFragment)[] | null
  • startDate: any
  • status: SubscriptionStatus
  • subscriptionId: string
  • Optional totalPrice?: ({ __typename?: "CustomerSubscriptionTotalPrice" } & TotalPriceFragment) | null
  • Optional trialEndDate?: any | null
SubscriptionFutureUpdateDataFragment: { __typename?: "SubscriptionFutureUpdate"; scheduleStatus: SubscriptionScheduleStatus; scheduleVariables?: ({ __typename?: "AddonChangeVariables" } & ScheduleVariablesFragment_AddonChangeVariables_) | ({ __typename?: "BillingPeriodChangeVariables" } & ScheduleVariablesFragment_BillingPeriodChangeVariables_) | ({ __typename?: "DowngradeChangeVariables" } & ScheduleVariablesFragment_DowngradeChangeVariables_) | ({ __typename?: "PlanChangeVariables" } & ScheduleVariablesFragment_PlanChangeVariables_) | ({ __typename?: "UnitAmountChangeVariables" } & ScheduleVariablesFragment_UnitAmountChangeVariables_) | null; scheduledExecutionTime: any; subscriptionScheduleType: SubscriptionScheduleType; targetPackage?: { __typename?: "PackageDTO"; displayName: string; id: string; refId: string } | null }

Type declaration

  • Optional __typename?: "SubscriptionFutureUpdate"
  • scheduleStatus: SubscriptionScheduleStatus
  • Optional scheduleVariables?: ({ __typename?: "AddonChangeVariables" } & ScheduleVariablesFragment_AddonChangeVariables_) | ({ __typename?: "BillingPeriodChangeVariables" } & ScheduleVariablesFragment_BillingPeriodChangeVariables_) | ({ __typename?: "DowngradeChangeVariables" } & ScheduleVariablesFragment_DowngradeChangeVariables_) | ({ __typename?: "PlanChangeVariables" } & ScheduleVariablesFragment_PlanChangeVariables_) | ({ __typename?: "UnitAmountChangeVariables" } & ScheduleVariablesFragment_UnitAmountChangeVariables_) | null
  • scheduledExecutionTime: any
  • subscriptionScheduleType: SubscriptionScheduleType
  • Optional targetPackage?: { __typename?: "PackageDTO"; displayName: string; id: string; refId: string } | null
SubscriptionInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; addons?: InputMaybe<SubscriptionAddonInput[]>; appliedCoupon?: InputMaybe<SubscriptionCouponInput>; awaitPaymentConfirmation?: InputMaybe<Scalars["Boolean"]>; billableFeatures?: InputMaybe<BillableFeatureInput[]>; billingCountryCode?: InputMaybe<Scalars["String"]>; billingId?: InputMaybe<Scalars["String"]>; billingInformation?: InputMaybe<SubscriptionBillingInfo>; billingPeriod?: InputMaybe<BillingPeriod>; budget?: InputMaybe<BudgetConfigurationInput>; crmId?: InputMaybe<Scalars["String"]>; customerId: Scalars["String"]; endDate?: InputMaybe<Scalars["DateTime"]>; environmentId?: InputMaybe<Scalars["String"]>; isCustomPriceSubscription?: InputMaybe<Scalars["Boolean"]>; isOverridingTrialConfig?: InputMaybe<Scalars["Boolean"]>; isTrial?: InputMaybe<Scalars["Boolean"]>; minimumSpend?: InputMaybe<SubscriptionMinimumSpendValueInput>; payingCustomerId?: InputMaybe<Scalars["String"]>; paymentCollectionMethod?: InputMaybe<PaymentCollectionMethod>; planId: Scalars["String"]; priceOverrides?: InputMaybe<PriceOverrideInput[]>; priceUnitAmount?: InputMaybe<Scalars["Float"]>; promotionCode?: InputMaybe<Scalars["String"]>; refId?: InputMaybe<Scalars["String"]>; resourceId?: InputMaybe<Scalars["String"]>; salesforceId?: InputMaybe<Scalars["String"]>; scheduleStrategy?: InputMaybe<ScheduleStrategy>; startDate?: InputMaybe<Scalars["DateTime"]>; subscriptionEntitlements?: InputMaybe<SubscriptionEntitlementInput[]>; subscriptionId?: InputMaybe<Scalars["String"]>; unitQuantity?: InputMaybe<Scalars["Float"]> }

Type declaration

SubscriptionInvoiceFragment: { __typename?: "SubscriptionInvoice"; amountDue?: number | null; billingId: string; billingReason?: SubscriptionInvoiceBillingReason | null; createdAt: any; currency?: string | null; errorMessage?: string | null; paymentSecret?: string | null; paymentUrl?: string | null; pdfUrl?: string | null; requiresAction: boolean; status: SubscriptionInvoiceStatus; subTotal?: number | null; subTotalExcludingTax?: number | null; tax?: number | null; total?: number | null; totalExcludingTax?: number | null; updatedAt: any }

Type declaration

  • Optional __typename?: "SubscriptionInvoice"
  • Optional amountDue?: number | null
  • billingId: string
  • Optional billingReason?: SubscriptionInvoiceBillingReason | null
  • createdAt: any
  • Optional currency?: string | null
  • Optional errorMessage?: string | null
  • Optional paymentSecret?: string | null
  • Optional paymentUrl?: string | null
  • Optional pdfUrl?: string | null
  • requiresAction: boolean
  • status: SubscriptionInvoiceStatus
  • Optional subTotal?: number | null
  • Optional subTotalExcludingTax?: number | null
  • Optional tax?: number | null
  • Optional total?: number | null
  • Optional totalExcludingTax?: number | null
  • updatedAt: any
SubscriptionInvoicePreviewFragment: { __typename?: "SubscriptionInvoicePreview"; amountDue: { __typename?: "Money"; amount: number; currency: Currency }; credits?: { __typename?: "SubscriptionPreviewCredits"; initial: { __typename?: "Money"; amount: number; currency: Currency }; remaining: { __typename?: "Money"; amount: number; currency: Currency }; used: { __typename?: "Money"; amount: number; currency: Currency } } | null; discount?: { __typename?: "Money"; amount: number; currency: Currency } | null; discountDetails?: { __typename?: "SubscriptionPreviewDiscount"; durationInMonths?: number | null; durationType: DiscountDurationType; name?: string | null; type: DiscountType; value: number } | null; lastUpdatedAt: any; lines: { __typename?: "SubscriptionInvoicePreviewLineItem"; amount: { __typename?: "Money"; amount: number; currency: Currency }; costDescription: string; description: string; hasSoftLimit?: boolean | null; lines?: { __typename?: "SubscriptionInvoicePreviewLineItemData"; costDescription: string; description: string; hasSoftLimit?: boolean | null; proration: boolean; quantity?: number | null; type: InvoiceLineItemType; usageLimit?: number | null }[] | null; period: { __typename?: "SubscriptionInvoicePreviewLineItemPeriod"; end: any; start: any }; price?: ({ __typename?: "Price" } & PriceFragment) | null; proration: boolean; quantity?: number | null; type: InvoiceLineItemType; unitPrice?: { __typename?: "Money"; amount: number; currency: Currency } | null; usageLimit?: number | null }[]; minimumSpendAdjustment: { __typename?: "Money"; amount: number; currency: Currency }; subTotal: { __typename?: "Money"; amount: number; currency: Currency }; subTotalExcludingTax: { __typename?: "Money"; amount: number; currency: Currency }; tax?: { __typename?: "Money"; amount: number; currency: Currency } | null; taxDetails?: { __typename?: "SubscriptionPreviewTaxDetails"; displayName: string; inclusive: boolean; percentage: number } | null; total: { __typename?: "Money"; amount: number; currency: Currency }; totalExcludingTax: { __typename?: "Money"; amount: number; currency: Currency } }

Type declaration

  • Optional __typename?: "SubscriptionInvoicePreview"
  • amountDue: { __typename?: "Money"; amount: number; currency: Currency }
    • Optional __typename?: "Money"
    • amount: number
    • currency: Currency
  • Optional credits?: { __typename?: "SubscriptionPreviewCredits"; initial: { __typename?: "Money"; amount: number; currency: Currency }; remaining: { __typename?: "Money"; amount: number; currency: Currency }; used: { __typename?: "Money"; amount: number; currency: Currency } } | null
  • Optional discount?: { __typename?: "Money"; amount: number; currency: Currency } | null
  • Optional discountDetails?: { __typename?: "SubscriptionPreviewDiscount"; durationInMonths?: number | null; durationType: DiscountDurationType; name?: string | null; type: DiscountType; value: number } | null
  • lastUpdatedAt: any
  • lines: { __typename?: "SubscriptionInvoicePreviewLineItem"; amount: { __typename?: "Money"; amount: number; currency: Currency }; costDescription: string; description: string; hasSoftLimit?: boolean | null; lines?: { __typename?: "SubscriptionInvoicePreviewLineItemData"; costDescription: string; description: string; hasSoftLimit?: boolean | null; proration: boolean; quantity?: number | null; type: InvoiceLineItemType; usageLimit?: number | null }[] | null; period: { __typename?: "SubscriptionInvoicePreviewLineItemPeriod"; end: any; start: any }; price?: ({ __typename?: "Price" } & PriceFragment) | null; proration: boolean; quantity?: number | null; type: InvoiceLineItemType; unitPrice?: { __typename?: "Money"; amount: number; currency: Currency } | null; usageLimit?: number | null }[]
  • minimumSpendAdjustment: { __typename?: "Money"; amount: number; currency: Currency }
    • Optional __typename?: "Money"
    • amount: number
    • currency: Currency
  • subTotal: { __typename?: "Money"; amount: number; currency: Currency }
    • Optional __typename?: "Money"
    • amount: number
    • currency: Currency
  • subTotalExcludingTax: { __typename?: "Money"; amount: number; currency: Currency }
    • Optional __typename?: "Money"
    • amount: number
    • currency: Currency
  • Optional tax?: { __typename?: "Money"; amount: number; currency: Currency } | null
  • Optional taxDetails?: { __typename?: "SubscriptionPreviewTaxDetails"; displayName: string; inclusive: boolean; percentage: number } | null
  • total: { __typename?: "Money"; amount: number; currency: Currency }
    • Optional __typename?: "Money"
    • amount: number
    • currency: Currency
  • totalExcludingTax: { __typename?: "Money"; amount: number; currency: Currency }
    • Optional __typename?: "Money"
    • amount: number
    • currency: Currency
SubscriptionMigrationInput: { environmentId?: InputMaybe<Scalars["String"]>; subscriptionId: Scalars["String"]; subscriptionMigrationTime?: InputMaybe<SubscriptionMigrationTime> }

Type declaration

SubscriptionMigrationTaskSort: { direction: SortDirection; field: SubscriptionMigrationTaskSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

SubscriptionMinimumSpendValueInput: { minimum?: InputMaybe<MoneyInputDto> }

Subscription minimum spend

Type declaration

SubscriptionPreviewCredits: { initial: Money; remaining: Money; used: Money }

Type declaration

SubscriptionPreviewDiscount: { durationInMonths?: number; durationType: DiscountDurationType; name?: string | null; type: DiscountType; value: number }

Type declaration

SubscriptionPreviewFragment: { __typename?: "SubscriptionPreview"; billingPeriodRange: { __typename?: "DateRange"; end?: any | null; start?: any | null }; credits?: { __typename?: "SubscriptionPreviewCredits"; initial: { __typename?: "Money"; amount: number; currency: Currency }; remaining: { __typename?: "Money"; amount: number; currency: Currency }; used: { __typename?: "Money"; amount: number; currency: Currency } } | null; discount?: { __typename?: "SubscriptionPreviewDiscount"; durationInMonths?: number | null; durationType: DiscountDurationType; name?: string | null; type: DiscountType; value: number } | null; discountAmount?: { __typename?: "Money"; amount: number; currency: Currency } | null; hasScheduledUpdates?: boolean | null; isPlanDowngrade?: boolean | null; proration?: { __typename?: "SubscriptionPreviewProrations"; credit: { __typename?: "Money"; amount: number; currency: Currency }; debit: { __typename?: "Money"; amount: number; currency: Currency }; netAmount: { __typename?: "Money"; amount: number; currency: Currency }; prorationDate: any } | null; subTotal: { __typename?: "Money"; amount: number; currency: Currency }; subscription?: { __typename?: "SubscriptionPricePreviewDTO"; discount?: { __typename?: "SubscriptionPreviewDiscount"; durationInMonths?: number | null; durationType: DiscountDurationType; name?: string | null; type: DiscountType; value: number } | null; discountAmount?: { __typename?: "Money"; amount: number; currency: Currency } | null; subTotal: { __typename?: "Money"; amount: number; currency: Currency }; tax: { __typename?: "Money"; amount: number; currency: Currency }; taxDetails?: { __typename?: "SubscriptionPreviewTaxDetails"; displayName: string; inclusive: boolean; percentage: number } | null; total: { __typename?: "Money"; amount: number; currency: Currency }; totalExcludingTax: { __typename?: "Money"; amount: number; currency: Currency } } | null; tax?: { __typename?: "Money"; amount: number; currency: Currency } | null; taxDetails?: { __typename?: "SubscriptionPreviewTaxDetails"; displayName: string; inclusive: boolean; percentage: number } | null; total: { __typename?: "Money"; amount: number; currency: Currency }; totalExcludingTax: { __typename?: "Money"; amount: number; currency: Currency } }

Type declaration

  • Optional __typename?: "SubscriptionPreview"
  • billingPeriodRange: { __typename?: "DateRange"; end?: any | null; start?: any | null }
    • Optional __typename?: "DateRange"
    • Optional end?: any | null
    • Optional start?: any | null
  • Optional credits?: { __typename?: "SubscriptionPreviewCredits"; initial: { __typename?: "Money"; amount: number; currency: Currency }; remaining: { __typename?: "Money"; amount: number; currency: Currency }; used: { __typename?: "Money"; amount: number; currency: Currency } } | null
  • Optional discount?: { __typename?: "SubscriptionPreviewDiscount"; durationInMonths?: number | null; durationType: DiscountDurationType; name?: string | null; type: DiscountType; value: number } | null
  • Optional discountAmount?: { __typename?: "Money"; amount: number; currency: Currency } | null
  • Optional hasScheduledUpdates?: boolean | null
  • Optional isPlanDowngrade?: boolean | null
  • Optional proration?: { __typename?: "SubscriptionPreviewProrations"; credit: { __typename?: "Money"; amount: number; currency: Currency }; debit: { __typename?: "Money"; amount: number; currency: Currency }; netAmount: { __typename?: "Money"; amount: number; currency: Currency }; prorationDate: any } | null
  • subTotal: { __typename?: "Money"; amount: number; currency: Currency }
    • Optional __typename?: "Money"
    • amount: number
    • currency: Currency
  • Optional subscription?: { __typename?: "SubscriptionPricePreviewDTO"; discount?: { __typename?: "SubscriptionPreviewDiscount"; durationInMonths?: number | null; durationType: DiscountDurationType; name?: string | null; type: DiscountType; value: number } | null; discountAmount?: { __typename?: "Money"; amount: number; currency: Currency } | null; subTotal: { __typename?: "Money"; amount: number; currency: Currency }; tax: { __typename?: "Money"; amount: number; currency: Currency }; taxDetails?: { __typename?: "SubscriptionPreviewTaxDetails"; displayName: string; inclusive: boolean; percentage: number } | null; total: { __typename?: "Money"; amount: number; currency: Currency }; totalExcludingTax: { __typename?: "Money"; amount: number; currency: Currency } } | null
  • Optional tax?: { __typename?: "Money"; amount: number; currency: Currency } | null
  • Optional taxDetails?: { __typename?: "SubscriptionPreviewTaxDetails"; displayName: string; inclusive: boolean; percentage: number } | null
  • total: { __typename?: "Money"; amount: number; currency: Currency }
    • Optional __typename?: "Money"
    • amount: number
    • currency: Currency
  • totalExcludingTax: { __typename?: "Money"; amount: number; currency: Currency }
    • Optional __typename?: "Money"
    • amount: number
    • currency: Currency
SubscriptionPreviewInvoice: { discount?: Money; discountDetails?: SubscriptionPreviewDiscount; subTotal: Money; tax?: Money; taxDetails?: SubscriptionPreviewTaxDetails; total: Money; totalExcludingTax: Money }

Type declaration

SubscriptionPreviewInvoiceFragment: { __typename?: "SubscriptionPreviewInvoice"; discount?: { __typename?: "Money"; amount: number; currency: Currency } | null; discountDetails?: { __typename?: "SubscriptionPreviewDiscount"; durationInMonths?: number | null; durationType: DiscountDurationType; type: DiscountType; value: number } | null; subTotal: { __typename?: "Money"; amount: number; currency: Currency }; tax?: { __typename?: "Money"; amount: number; currency: Currency } | null; taxDetails?: { __typename?: "SubscriptionPreviewTaxDetails"; displayName: string; inclusive: boolean; percentage: number } | null; total: { __typename?: "Money"; amount: number; currency: Currency }; totalExcludingTax: { __typename?: "Money"; amount: number; currency: Currency } }

Type declaration

  • Optional __typename?: "SubscriptionPreviewInvoice"
  • Optional discount?: { __typename?: "Money"; amount: number; currency: Currency } | null
  • Optional discountDetails?: { __typename?: "SubscriptionPreviewDiscount"; durationInMonths?: number | null; durationType: DiscountDurationType; type: DiscountType; value: number } | null
  • subTotal: { __typename?: "Money"; amount: number; currency: Currency }
    • Optional __typename?: "Money"
    • amount: number
    • currency: Currency
  • Optional tax?: { __typename?: "Money"; amount: number; currency: Currency } | null
  • Optional taxDetails?: { __typename?: "SubscriptionPreviewTaxDetails"; displayName: string; inclusive: boolean; percentage: number } | null
  • total: { __typename?: "Money"; amount: number; currency: Currency }
    • Optional __typename?: "Money"
    • amount: number
    • currency: Currency
  • totalExcludingTax: { __typename?: "Money"; amount: number; currency: Currency }
    • Optional __typename?: "Money"
    • amount: number
    • currency: Currency
SubscriptionPreviewProration: { credit: Money; debit: Money; hasProrations?: boolean; netAmount: Money; prorationDate: Date }

Type declaration

  • credit: Money
  • debit: Money
  • Optional hasProrations?: boolean
  • netAmount: Money
  • prorationDate: Date
SubscriptionPreviewTaxDetails: { displayName: string; inclusive: boolean; percentage: number }

Type declaration

  • displayName: string
  • inclusive: boolean
  • percentage: number
SubscriptionPreviewV2Fragment: { __typename?: "SubscriptionPreviewV2"; billingPeriodRange: { __typename?: "DateRange"; end?: any | null; start?: any | null }; hasScheduledUpdates?: boolean | null; immediateInvoice: { __typename?: "ImmediateSubscriptionPreviewInvoice" } & ImmediateSubscriptionPreviewInvoiceFragment; isPlanDowngrade?: boolean | null; recurringInvoice?: ({ __typename?: "SubscriptionPreviewInvoice" } & SubscriptionPreviewInvoiceFragment) | null }

Type declaration

  • Optional __typename?: "SubscriptionPreviewV2"
  • billingPeriodRange: { __typename?: "DateRange"; end?: any | null; start?: any | null }
    • Optional __typename?: "DateRange"
    • Optional end?: any | null
    • Optional start?: any | null
  • Optional hasScheduledUpdates?: boolean | null
  • immediateInvoice: { __typename?: "ImmediateSubscriptionPreviewInvoice" } & ImmediateSubscriptionPreviewInvoiceFragment
  • Optional isPlanDowngrade?: boolean | null
  • Optional recurringInvoice?: ({ __typename?: "SubscriptionPreviewInvoice" } & SubscriptionPreviewInvoiceFragment) | null
SubscriptionPrice: Price & { grossAmount: number }

Type declaration

SubscriptionPricePreview: { discount?: SubscriptionPreviewDiscount; discountAmount?: Money; subTotal: Money; tax?: Money; taxDetails?: SubscriptionPreviewTaxDetails; total: Money; totalExcludingTax: Money }

Type declaration

SubscriptionPriceSort: { direction: SortDirection; field: SubscriptionPriceSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

SubscriptionScheduledUpdateDataFragment: { __typename?: "SubscriptionScheduledUpdate"; scheduleStatus: SubscriptionScheduleStatus; scheduleVariables?: ({ __typename?: "AddonChangeVariables" } & ScheduleVariablesFragment_AddonChangeVariables_) | ({ __typename?: "BillingPeriodChangeVariables" } & ScheduleVariablesFragment_BillingPeriodChangeVariables_) | ({ __typename?: "DowngradeChangeVariables" } & ScheduleVariablesFragment_DowngradeChangeVariables_) | ({ __typename?: "PlanChangeVariables" } & ScheduleVariablesFragment_PlanChangeVariables_) | ({ __typename?: "UnitAmountChangeVariables" } & ScheduleVariablesFragment_UnitAmountChangeVariables_) | null; scheduledExecutionTime: any; subscriptionScheduleType: SubscriptionScheduleType; targetPackage?: { __typename?: "PackageDTO"; displayName: string; id: string; refId: string } | null }

Type declaration

  • Optional __typename?: "SubscriptionScheduledUpdate"
  • scheduleStatus: SubscriptionScheduleStatus
  • Optional scheduleVariables?: ({ __typename?: "AddonChangeVariables" } & ScheduleVariablesFragment_AddonChangeVariables_) | ({ __typename?: "BillingPeriodChangeVariables" } & ScheduleVariablesFragment_BillingPeriodChangeVariables_) | ({ __typename?: "DowngradeChangeVariables" } & ScheduleVariablesFragment_DowngradeChangeVariables_) | ({ __typename?: "PlanChangeVariables" } & ScheduleVariablesFragment_PlanChangeVariables_) | ({ __typename?: "UnitAmountChangeVariables" } & ScheduleVariablesFragment_UnitAmountChangeVariables_) | null
  • scheduledExecutionTime: any
  • subscriptionScheduleType: SubscriptionScheduleType
  • Optional targetPackage?: { __typename?: "PackageDTO"; displayName: string; id: string; refId: string } | null

Type declaration

SubscriptionUpdateScheduleCancellationInput: { environmentId?: InputMaybe<Scalars["String"]>; status?: InputMaybe<SubscriptionScheduleStatus>; subscriptionId: Scalars["String"] }

Type declaration

SyncTaxRatesInput: { environmentId?: InputMaybe<Scalars["String"]> }

Type declaration

TaskStatusFilterComparison: { eq?: InputMaybe<TaskStatus>; gt?: InputMaybe<TaskStatus>; gte?: InputMaybe<TaskStatus>; iLike?: InputMaybe<TaskStatus>; in?: InputMaybe<TaskStatus[]>; is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]>; like?: InputMaybe<TaskStatus>; lt?: InputMaybe<TaskStatus>; lte?: InputMaybe<TaskStatus>; neq?: InputMaybe<TaskStatus>; notILike?: InputMaybe<TaskStatus>; notIn?: InputMaybe<TaskStatus[]>; notLike?: InputMaybe<TaskStatus> }

Type declaration

TaskTypeFilterComparison: { eq?: InputMaybe<TaskType>; gt?: InputMaybe<TaskType>; gte?: InputMaybe<TaskType>; iLike?: InputMaybe<TaskType>; in?: InputMaybe<TaskType[]>; is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]>; like?: InputMaybe<TaskType>; lt?: InputMaybe<TaskType>; lte?: InputMaybe<TaskType>; neq?: InputMaybe<TaskType>; notILike?: InputMaybe<TaskType>; notIn?: InputMaybe<TaskType[]>; notLike?: InputMaybe<TaskType> }

Type declaration

TaxExempt: { type: Scalars["String"]; value: Scalars["String"] }

Type declaration

TestHookInput: { endpointUrl: Scalars["String"]; environmentId: Scalars["String"]; hookEventType: EventLogType }

Type declaration

TiersModeFilterComparison: { eq?: InputMaybe<TiersMode>; gt?: InputMaybe<TiersMode>; gte?: InputMaybe<TiersMode>; iLike?: InputMaybe<TiersMode>; in?: InputMaybe<TiersMode[]>; is?: InputMaybe<Scalars["Boolean"]>; isNot?: InputMaybe<Scalars["Boolean"]>; like?: InputMaybe<TiersMode>; lt?: InputMaybe<TiersMode>; lte?: InputMaybe<TiersMode>; neq?: InputMaybe<TiersMode>; notILike?: InputMaybe<TiersMode>; notIn?: InputMaybe<TiersMode[]>; notLike?: InputMaybe<TiersMode> }

Type declaration

TotalPriceFragment: { __typename?: "CustomerSubscriptionTotalPrice"; subTotal: { __typename?: "Money"; amount: number; currency: Currency }; total: { __typename?: "Money"; amount: number; currency: Currency } }

Type declaration

  • Optional __typename?: "CustomerSubscriptionTotalPrice"
  • subTotal: { __typename?: "Money"; amount: number; currency: Currency }
    • Optional __typename?: "Money"
    • amount: number
    • currency: Currency
  • total: { __typename?: "Money"; amount: number; currency: Currency }
    • Optional __typename?: "Money"
    • amount: number
    • currency: Currency
TransferSubscriptionInput: { customerId: Scalars["String"]; destinationResourceId: Scalars["String"]; sourceResourceId: Scalars["String"] }

Type declaration

TransferSubscriptionMutation: { __typename?: "Mutation"; transferSubscription: { __typename?: "CustomerSubscription" } & SlimSubscriptionFragment }

Type declaration

  • Optional __typename?: "Mutation"
  • transferSubscription: { __typename?: "CustomerSubscription" } & SlimSubscriptionFragment
TransferSubscriptionMutationVariables: Exact<{ input: TransferSubscriptionInput }>
TrialOverrideConfigurationInput: { isTrial: Scalars["Boolean"]; trialEndDate?: InputMaybe<Scalars["DateTime"]> }

Type declaration

TrialedPlan: { planId?: string | null; productId?: string | null }

Type declaration

  • Optional planId?: string | null
  • Optional productId?: string | null
TriggerSubscriptionBillingMonthEndsSoonWebhookInput: { subscriptionId: Scalars["String"] }

Input for triggering the subscription billing month ends soon webhook

Type declaration

  • subscriptionId: Scalars["String"]

    The subscription reference id to trigger the webhook for

TriggerSubscriptionMigrationInput: { environmentId: Scalars["String"]; refId: Scalars["String"]; versionNumber: Scalars["Float"] }

Type declaration

TriggerSubscriptionUsageSyncInput: { customerId: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]>; resourceId?: InputMaybe<Scalars["String"]> }

Input for triggering usage sync

Type declaration

  • customerId: Scalars["String"]

    The customer id to trigger usage sync for

  • Optional environmentId?: InputMaybe<Scalars["String"]>

    The environment id to trigger usage sync for

  • Optional resourceId?: InputMaybe<Scalars["String"]>

    The resource id to trigger usage sync for

TypographyConfiguration: Omit<TypographyConfigurationFragment, "__typename">
TypographyConfigurationFragment: { __typename?: "TypographyConfiguration"; body?: ({ __typename?: "FontVariant" } & FontVariantFragment) | null; fontFamily?: string | null; h1?: ({ __typename?: "FontVariant" } & FontVariantFragment) | null; h2?: ({ __typename?: "FontVariant" } & FontVariantFragment) | null; h3?: ({ __typename?: "FontVariant" } & FontVariantFragment) | null }

Type declaration

  • Optional __typename?: "TypographyConfiguration"
  • Optional body?: ({ __typename?: "FontVariant" } & FontVariantFragment) | null
  • Optional fontFamily?: string | null
  • Optional h1?: ({ __typename?: "FontVariant" } & FontVariantFragment) | null
  • Optional h2?: ({ __typename?: "FontVariant" } & FontVariantFragment) | null
  • Optional h3?: ({ __typename?: "FontVariant" } & FontVariantFragment) | null
TypographyConfigurationInput: { body?: InputMaybe<FontVariantInput>; fontFamily?: InputMaybe<Scalars["String"]>; h1?: InputMaybe<FontVariantInput>; h2?: InputMaybe<FontVariantInput>; h3?: InputMaybe<FontVariantInput> }

Type declaration

UnarchiveCustomerInput: { customerId: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]> }

Type declaration

UnarchiveCustomerMutation: { __typename?: "Mutation"; unarchiveCustomer: { __typename?: "Customer" } & SlimCustomerFragment }

Type declaration

  • Optional __typename?: "Mutation"
  • unarchiveCustomer: { __typename?: "Customer" } & SlimCustomerFragment
UnarchiveCustomerMutationVariables: Exact<{ input: UnarchiveCustomerInput }>
UnarchiveEnvironmentInput: { id?: InputMaybe<Scalars["String"]>; slug?: InputMaybe<Scalars["String"]> }

Type declaration

UnitTransformationInput: { divide: Scalars["Int"]; featureUnits?: InputMaybe<Scalars["String"]>; featureUnitsPlural?: InputMaybe<Scalars["String"]>; round?: InputMaybe<UnitTransformationRound> }

Input for unit transformation to be applied to the reported usage

Type declaration

UpdateAccountInput: { displayName: Scalars["String"]; id?: InputMaybe<Scalars["String"]>; subscriptionBillingAnchor?: InputMaybe<BillingAnchor>; subscriptionProrationBehavior?: InputMaybe<ProrationBehavior>; timezone?: InputMaybe<Scalars["String"]> }

Type declaration

UpdateCouponInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; description?: InputMaybe<Scalars["String"]>; environmentId?: InputMaybe<Scalars["String"]>; name: Scalars["String"]; refId: Scalars["String"] }

Type declaration

UpdateCustomerInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; awsMarketplaceCustomerId?: InputMaybe<Scalars["String"]>; billingId?: InputMaybe<Scalars["String"]>; billingInformation?: InputMaybe<CustomerBillingInfo>; couponRefId?: InputMaybe<Scalars["String"]>; crmId?: InputMaybe<Scalars["String"]>; customerId?: InputMaybe<Scalars["String"]>; email?: InputMaybe<Scalars["String"]>; environmentId?: InputMaybe<Scalars["String"]>; name?: InputMaybe<Scalars["String"]>; refId?: InputMaybe<Scalars["String"]>; salesforceId?: InputMaybe<Scalars["String"]>; shouldWaitSync?: InputMaybe<Scalars["Boolean"]> }

Type declaration

UpdateCustomerMutation: { __typename?: "Mutation"; updateCustomer: { __typename?: "Customer" } & SlimCustomerFragment }

Type declaration

UpdateCustomerMutationVariables: Exact<{ input: UpdateCustomerInput }>
UpdateExperimentInput: { controlGroupName?: InputMaybe<Scalars["String"]>; description?: InputMaybe<Scalars["String"]>; environmentId?: InputMaybe<Scalars["String"]>; name?: InputMaybe<Scalars["String"]>; productId?: InputMaybe<Scalars["String"]>; productSettings?: InputMaybe<ProductSettingsInput>; refId: Scalars["String"]; variantGroupName?: InputMaybe<Scalars["String"]>; variantPercentage?: InputMaybe<Scalars["Float"]> }

Type declaration

UpdateFeatureInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; description?: InputMaybe<Scalars["String"]>; displayName?: InputMaybe<Scalars["String"]>; environmentId: Scalars["String"]; featureUnits?: InputMaybe<Scalars["String"]>; featureUnitsPlural?: InputMaybe<Scalars["String"]>; meter?: InputMaybe<CreateMeter>; refId: Scalars["String"]; unitTransformation?: InputMaybe<UnitTransformationInput> }

Type declaration

UpdateHook: { configuration?: InputMaybe<Scalars["JSON"]>; createdAt?: InputMaybe<Scalars["DateTime"]>; description?: InputMaybe<Scalars["String"]>; endpoint?: InputMaybe<Scalars["String"]>; environmentId?: InputMaybe<Scalars["String"]>; eventLogTypes?: InputMaybe<EventLogType[]>; id?: InputMaybe<Scalars["String"]>; secretKey?: InputMaybe<Scalars["String"]>; status?: InputMaybe<HookStatus> }

Type declaration

UpdateIntegrationInput: { auth0Credentials?: InputMaybe<Auth0CredentialsInput>; openFGACredentials?: InputMaybe<OpenFgaCredentialsInput>; salesforceCredentials?: InputMaybe<SalesforceCredentialsInput>; stripeCredentials?: InputMaybe<StripeCredentialsInput>; vendorIdentifier: VendorIdentifier; zuoraCredentials?: InputMaybe<ZuoraCredentialsInput> }

Type declaration

UpdateOneEnvironmentInput: { id: Scalars["String"]; update: EnvironmentInput }

Type declaration

UpdateOneHookInput: { id: Scalars["String"]; update: UpdateHook }

Type declaration

  • id: Scalars["String"]

    The id of the record to update

  • update: UpdateHook

    The update to apply.

UpdateOneIntegrationInput: { id: Scalars["String"]; update: UpdateIntegrationInput }

Type declaration

UpdateOnePackageEntitlementInput: { id: Scalars["String"]; update: PackageEntitlementUpdateInput }

Type declaration

UpdateOneProductInput: { id: Scalars["String"]; update: ProductUpdateInput }

Type declaration

UpdateOnePromotionalEntitlementInput: { id: Scalars["String"]; update: PromotionalEntitlementUpdateInput }

Type declaration

UpdatePackageEntitlementOrderInput: { entitlements: UpdatePackageEntitlementOrderItemInput[]; environmentId?: InputMaybe<Scalars["String"]>; packageId: Scalars["String"] }

Type declaration

UpdatePackageEntitlementOrderItemInput: { id: Scalars["String"]; order?: InputMaybe<Scalars["Float"]> }

Type declaration

UpdateSubscriptionEntitlementInput: { featureId?: InputMaybe<Scalars["String"]>; hasSoftLimit?: InputMaybe<Scalars["Boolean"]>; hasUnlimitedUsage?: InputMaybe<Scalars["Boolean"]>; id?: InputMaybe<Scalars["String"]>; monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>; resetPeriod?: InputMaybe<EntitlementResetPeriod>; usageLimit?: InputMaybe<Scalars["Float"]>; weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput>; yearlyResetPeriodConfiguration?: InputMaybe<YearlyResetPeriodConfigInput> }

Type declaration

UpdateSubscriptionInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; addons?: InputMaybe<SubscriptionAddonInput[]>; appliedCoupon?: InputMaybe<SubscriptionCouponInput>; awaitPaymentConfirmation?: InputMaybe<Scalars["Boolean"]>; billableFeatures?: InputMaybe<BillableFeatureInput[]>; billingInformation?: InputMaybe<SubscriptionBillingInfo>; billingPeriod?: InputMaybe<BillingPeriod>; budget?: InputMaybe<BudgetConfigurationInput>; environmentId?: InputMaybe<Scalars["String"]>; minimumSpend?: InputMaybe<SubscriptionMinimumSpendValueInput>; priceOverrides?: InputMaybe<PriceOverrideInput[]>; promotionCode?: InputMaybe<Scalars["String"]>; refId?: InputMaybe<Scalars["String"]>; scheduleStrategy?: InputMaybe<ScheduleStrategy>; subscriptionEntitlements?: InputMaybe<UpdateSubscriptionEntitlementInput[]>; subscriptionId?: InputMaybe<Scalars["String"]>; trialEndDate?: InputMaybe<Scalars["DateTime"]>; unitQuantity?: InputMaybe<Scalars["Float"]> }

Type declaration

UpdateSubscriptionMutation: { __typename?: "Mutation"; updateSubscription: { __typename?: "CustomerSubscription" } & SlimSubscriptionFragment }

Type declaration

UpdateSubscriptionMutationVariables: Exact<{ input: UpdateSubscriptionInput }>
UpdateUserInput: { department?: InputMaybe<Department>; name: Scalars["String"] }

Type declaration

UsageEventReportInput: { customerId: Scalars["String"]; dimensions?: InputMaybe<Scalars["JSON"]>; eventName: Scalars["String"]; idempotencyKey: Scalars["String"]; resourceId?: InputMaybe<Scalars["String"]>; timestamp?: InputMaybe<Scalars["DateTime"]> }

Type declaration

UsageEventsInput: { customerId?: InputMaybe<Scalars["String"]>; environmentId: Scalars["String"]; filters?: InputMaybe<MeterFilterDefinitionInput[]> }

Type declaration

UsageEventsReportInput: { environmentId?: InputMaybe<Scalars["String"]>; usageEvents: UsageEventReportInput[] }

Type declaration

UsageHistoryFragment: { __typename?: "UsageHistory"; endDate?: any | null; groups?: { __typename?: "GroupUsageHistory"; groupInfo: { __typename?: "GroupInfo"; key: string; value: string }[]; usageMeasurements: { __typename?: "UsageMeasurementPoint"; date: any; isResetPoint?: boolean | null; value: number }[] }[] | null; startDate: any; usageMeasurements: { __typename?: "UsageMeasurementPoint"; date: any; isResetPoint?: boolean | null; value: number }[] }

Type declaration

  • Optional __typename?: "UsageHistory"
  • Optional endDate?: any | null
  • Optional groups?: { __typename?: "GroupUsageHistory"; groupInfo: { __typename?: "GroupInfo"; key: string; value: string }[]; usageMeasurements: { __typename?: "UsageMeasurementPoint"; date: any; isResetPoint?: boolean | null; value: number }[] }[] | null
  • startDate: any
  • usageMeasurements: { __typename?: "UsageMeasurementPoint"; date: any; isResetPoint?: boolean | null; value: number }[]
UsageHistoryInput: { customerRefId: Scalars["String"]; endDate?: InputMaybe<Scalars["DateTime"]>; environmentId?: InputMaybe<Scalars["String"]>; featureRefId: Scalars["String"]; groupBy?: InputMaybe<Scalars["String"][]>; monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>; resetPeriod?: InputMaybe<EntitlementResetPeriod>; resourceRefId?: InputMaybe<Scalars["String"]>; startDate: Scalars["DateTime"]; weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput>; yearlyResetPeriodConfiguration?: InputMaybe<YearlyResetPeriodConfigInput> }

Type declaration

UsageHistoryPoint: { date: Date; isResetPoint: boolean; value: number }

Type declaration

  • date: Date
  • isResetPoint: boolean
  • value: number
UsageMeasurementCreateInput: { createdAt?: InputMaybe<Scalars["DateTime"]>; customerId: Scalars["String"]; dimensions?: InputMaybe<Scalars["JSON"]>; environmentId?: InputMaybe<Scalars["String"]>; featureId: Scalars["String"]; resourceId?: InputMaybe<Scalars["String"]>; updateBehavior?: InputMaybe<UsageUpdateBehavior>; value: Scalars["Float"] }

Type declaration

Type declaration

Type declaration

UsageMeasurementSort: { direction: SortDirection; field: UsageMeasurementSortFields; nulls?: InputMaybe<SortNulls> }

Type declaration

UsageUpdatedFragment: { __typename?: "UsageMeasurementUpdated"; currentUsage: number; customerId: string; featureId: string; nextResetDate?: number | null; resourceId?: string | null; usagePeriodEnd?: number | null; usagePeriodStart?: number | null }

Type declaration

  • Optional __typename?: "UsageMeasurementUpdated"
  • currentUsage: number
  • customerId: string
  • featureId: string
  • Optional nextResetDate?: number | null
  • Optional resourceId?: string | null
  • Optional usagePeriodEnd?: number | null
  • Optional usagePeriodStart?: number | null
ValidateMergeEnvironmentInput: { destinationEnvironmentSlug: Scalars["String"]; sourceEnvironmentSlug: Scalars["String"] }

Input type for validateMergeEnvironment query.

Type declaration

  • destinationEnvironmentSlug: Scalars["String"]

    The slug of the environment to copy to.

  • sourceEnvironmentSlug: Scalars["String"]

    The slug of the environment to copy from.

Type declaration

WaitForCheckoutCompleted: { refreshOnComplete?: boolean; timeoutMs?: number }

Type declaration

  • Optional refreshOnComplete?: boolean
  • Optional timeoutMs?: number
WeeklyResetPeriodConfigInput: { accordingTo: WeeklyAccordingTo }

Type declaration

WidgetConfigurationUpdateInput: { checkoutConfiguration?: InputMaybe<CheckoutConfigurationInput>; customerPortalConfiguration?: InputMaybe<CustomerPortalConfigurationInput>; environmentId?: InputMaybe<Scalars["String"]>; paywallConfiguration?: InputMaybe<PaywallConfigurationInput> }

Type declaration

YearlyResetPeriodConfigInput: { accordingTo: YearlyAccordingTo }

Type declaration

ZuoraCredentialsInput: { baseUrl: Scalars["String"]; clientId: Scalars["String"]; clientSecret: Scalars["String"]; stripePublishableKey?: InputMaybe<Scalars["String"]>; stripeSecretKey?: InputMaybe<Scalars["String"]> }

Type declaration

Variables

AddonDependencyFragmentDoc: DocumentNode
AddonFragmentDoc: DocumentNode
ApplySubscriptionDocument: DocumentNode
ApplySubscriptionFragmentDoc: DocumentNode
ArchiveCustomerDocument: DocumentNode
CancelSubscriptionDocument: DocumentNode
CancelSubscriptionUpdatesDocument: DocumentNode
CheckoutConfigurationFragmentDoc: DocumentNode
CheckoutStateFragmentDoc: DocumentNode
CouponFragmentDoc: DocumentNode
CreateSubscriptionDocument: DocumentNode
CustomerFragmentDoc: DocumentNode
CustomerPortalBillingInformationFragmentDoc: DocumentNode
CustomerPortalConfigurationFragmentDoc: DocumentNode
CustomerPortalEntitlementFragmentDoc: DocumentNode
CustomerPortalFragmentDoc: DocumentNode
CustomerPortalPromotionalEntitlementFragmentDoc: DocumentNode
CustomerPortalSubscriptionAddonFragmentDoc: DocumentNode
CustomerPortalSubscriptionFragmentDoc: DocumentNode
CustomerPortalSubscriptionPriceFragmentDoc: DocumentNode
CustomerPortalSubscriptionScheduledUpdateDataFragmentDoc: DocumentNode
CustomerResourceFragmentDoc: DocumentNode
CustomerStatisticsFragmentDoc: DocumentNode
CustomerWithSubscriptionsFragmentDoc: DocumentNode
DetachCustomerPaymentMethodDocument: DocumentNode
EntitlementFragmentDoc: DocumentNode
EntitlementUsageUpdatedFragmentDoc: DocumentNode
EntitlementsUpdatedPayloadFragmentDoc: DocumentNode
EstimateSubscriptionDocument: DocumentNode
EstimateSubscriptionUpdateDocument: DocumentNode
FeatureFragmentDoc: DocumentNode
FontVariantFragmentDoc: DocumentNode
GetActiveSubscriptionsDocument: DocumentNode
GetActiveSubscriptionsListDocument: DocumentNode
GetCheckoutStateDocument: DocumentNode
GetCouponsDocument: DocumentNode
GetCustomerByIdDocument: DocumentNode
GetCustomerPortalByRefIdDocument: DocumentNode
GetCustomerStatisticsDocument: DocumentNode
GetEntitlementDocument: DocumentNode
GetEntitlementsDocument: DocumentNode
GetMockPaywallDocument: DocumentNode
GetPaywallDocument: DocumentNode
GetProductsDocument: DocumentNode
GetSdkConfigurationDocument: DocumentNode
GetSubscriptionDocument: DocumentNode
GetUsageHistoryDocument: DocumentNode
GrantPromotionalEntitlementsDocument: DocumentNode
ImmediateSubscriptionPreviewInvoiceFragmentDoc: DocumentNode
ImportCustomerBulkDocument: DocumentNode
ImportCustomerDocument: DocumentNode
ImportSubscriptionsBulkDocument: DocumentNode
LayoutConfigurationFragmentDoc: DocumentNode
MigrateSubscriptionToLatestDocument: DocumentNode
MockPaywallAddonDependencyFragmentDoc: DocumentNode
MockPaywallAddonFragmentDoc: DocumentNode
MockPaywallPackageEntitlementFragmentDoc: DocumentNode
MockPaywallPlanCompatiblePackageGroupsFragmentDoc: DocumentNode
MockPaywallPlanFragmentDoc: DocumentNode
MockPaywallPriceFragmentDoc: DocumentNode
OnEntitlementsUpdatedDocument: DocumentNode
OnPackagePublishedDocument: DocumentNode
OnUsageUpdatedDocument: DocumentNode
OveragePriceFragmentDoc: DocumentNode
PackageEntitlementFragmentDoc: DocumentNode
PackagePublishedPayloadFragmentDoc: DocumentNode
PaywallCalculatedPricePointsFragmentDoc: DocumentNode
PaywallConfigurationFragmentDoc: DocumentNode
PaywallCurrencyFragmentDoc: DocumentNode
PaywallFragmentDoc: DocumentNode
PlanCompatiblePackageGroupsFragmentDoc: DocumentNode
PlanFragmentDoc: DocumentNode
PreviewNextInvoiceDocument: DocumentNode
PreviewSubscriptionDocument: DocumentNode
PriceFragmentDoc: DocumentNode
PriceTierFragmentDoc: DocumentNode
ProductFragmentDoc: DocumentNode
PromotionalEntitlementFragmentDoc: DocumentNode
ProvisionCustomerDocument: DocumentNode
ProvisionCustomerFragmentDoc: DocumentNode
ProvisionSubscriptionDocument: DocumentNode
ProvisionSubscriptionFragmentDoc: DocumentNode
ReportEntitlementCheckRequestedDocument: DocumentNode
ReportEventDocument: DocumentNode
ReportUsageBulkDocument: DocumentNode
ReportUsageDocument: DocumentNode
ReportUsageFragmentDoc: DocumentNode
ResetPeriodConfigurationFragmentDoc: DocumentNode
RevokePromotionalEntitlementDocument: DocumentNode
ScheduleVariablesFragmentDoc: DocumentNode
SlimCustomerFragmentDoc: DocumentNode
SlimSubscriptionFragmentDoc: DocumentNode
SlimSubscriptionFragmentV2FragmentDoc: DocumentNode
SubscriptionFragmentDoc: DocumentNode
SubscriptionFutureUpdateDataFragmentDoc: DocumentNode
SubscriptionInvoiceFragmentDoc: DocumentNode
SubscriptionInvoicePreviewFragmentDoc: DocumentNode
SubscriptionPreviewFragmentDoc: DocumentNode
SubscriptionPreviewInvoiceFragmentDoc: DocumentNode
SubscriptionPreviewV2FragmentDoc: DocumentNode
SubscriptionScheduledUpdateDataFragmentDoc: DocumentNode
TotalPriceFragmentDoc: DocumentNode
TransferSubscriptionDocument: DocumentNode
TypographyConfigurationFragmentDoc: DocumentNode
UnarchiveCustomerDocument: DocumentNode
UpdateCustomerDocument: DocumentNode
UpdateSubscriptionDocument: DocumentNode
UsageHistoryFragmentDoc: DocumentNode
UsageUpdatedFragmentDoc: DocumentNode

Functions

  • getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): { ApplySubscription: any; ArchiveCustomer: any; CancelSubscription: any; CancelSubscriptionUpdates: any; CreateSubscription: any; DetachCustomerPaymentMethod: any; EstimateSubscription: any; EstimateSubscriptionUpdate: any; GetActiveSubscriptions: any; GetActiveSubscriptionsList: any; GetCheckoutState: any; GetCoupons: any; GetCustomerById: any; GetCustomerPortalByRefId: any; GetCustomerStatistics: any; GetEntitlement: any; GetEntitlements: any; GetMockPaywall: any; GetPaywall: any; GetProducts: any; GetSdkConfiguration: any; GetSubscription: any; GetUsageHistory: any; GrantPromotionalEntitlements: any; ImportCustomer: any; ImportCustomerBulk: any; ImportSubscriptionsBulk: any; MigrateSubscriptionToLatest: any; OnEntitlementsUpdated: any; OnPackagePublished: any; OnUsageUpdated: any; PreviewNextInvoice: any; PreviewSubscription: any; ProvisionCustomer: any; ProvisionSubscription: any; ReportEntitlementCheckRequested: any; ReportEvent: any; ReportUsage: any; ReportUsageBulk: any; RevokePromotionalEntitlement: any; TransferSubscription: any; UnarchiveCustomer: any; UpdateCustomer: any; UpdateSubscription: any }

Generated using TypeDoc