Options
All
  • Public
  • Public/Protected
  • All
Menu

@stigg/node-server-sdk - v3.45.0

Index

References

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

References

Renames and re-exports Stigg

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; maxQuantity?: number; metadata?: Metadata | null; pricePoints: Price[]; pricingType?: PricingType | null }

Type declaration

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?: string; addressLine2?: string; city?: string; country?: string; phoneNumber?: string; postalCode?: string; state?: string }
param country

optional country of the address - in a valid ISO 3166-1 alpha-2 format

Type declaration

  • Optional addressLine1?: string
  • Optional addressLine2?: string
  • Optional city?: string
  • Optional country?: string
  • Optional phoneNumber?: string
  • Optional postalCode?: string
  • Optional state?: string
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?: SubscriptionAddon[]; appliedCoupon?: SubscriptionCouponInput; billableFeatures?: BillableFeature[]; billingCountryCode?: string; billingId?: string; billingInformation?: SubscriptionBillingInfo; billingPeriod?: BillingPeriod; customerId: string; metadata?: Metadata | null; payingCustomerId?: string; paymentCollectionMethod?: PaymentCollectionMethod; paymentMethodId?: string; planId: string; promotionCode?: string; resourceId?: string; scheduleStrategy?: ScheduleStrategy; skipTrial?: boolean; startDate?: Date; trialOverrideConfiguration?: TrialOverrideConfigurationInput; unitQuantity?: number }

Type declaration

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

BillingInfo: { billingAddress?: Address; currency?: Currency; customerName?: string; invoiceCustomFields?: Record<string, string>; language?: string; metadata?: Metadata | null; paymentMethodId?: string; shippingAddress?: Address; taxIds?: TaxExempt[]; timezone?: string }

Type declaration

  • Optional billingAddress?: Address
  • Optional currency?: Currency
  • Optional customerName?: string
  • Optional invoiceCustomFields?: Record<string, string>
  • Optional language?: string
  • Optional metadata?: Metadata | null
  • Optional paymentMethodId?: string
  • Optional shippingAddress?: Address
  • Optional taxIds?: TaxExempt[]
  • Optional timezone?: string
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

CancelSubscription: { endDate?: Date; prorate?: boolean; subscriptionCancellationAction?: SubscriptionCancellationAction; subscriptionCancellationTime?: SubscriptionCancellationTime; subscriptionId: string }

Type declaration

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

Type declaration

CancelSubscriptionMutationVariables: Exact<{ input: SubscriptionCancellationInput }>
CancelSubscriptionScheduledUpdates: { status?: Scheduled | PendingPayment; subscriptionId: string }

Type declaration

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

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?: boolean; allowTaxIdCollection?: boolean; cancelUrl: string; collectBillingAddress?: boolean; collectPhoneNumber?: boolean; referenceId?: string; successUrl: string }

Type declaration

  • Optional allowPromoCodes?: boolean
  • Optional allowTaxIdCollection?: boolean
  • cancelUrl: string
  • Optional collectBillingAddress?: boolean
  • Optional collectPhoneNumber?: boolean
  • Optional referenceId?: string
  • successUrl: string
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

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

Type declaration

ClientConfiguration: { apiKey: string; baseEdgeUri?: string; baseUri?: string; clientName?: string; clientVersion?: string; enableEdge?: boolean; enableRemoteConfig?: boolean; entitlementsFallback?: EntitlementsFallback; logConfiguration?: LogConfiguration; memoryCacheMaxSizeBytes?: number; realtimeUpdatesEnabled?: boolean; redis?: StiggRedisOptions; wsUrl?: string }

Type declaration

  • apiKey: string
  • Optional baseEdgeUri?: string
  • Optional baseUri?: string
  • Optional clientName?: string
  • Optional clientVersion?: string
  • Optional enableEdge?: boolean
  • Optional enableRemoteConfig?: boolean
  • Optional entitlementsFallback?: EntitlementsFallback
  • Optional logConfiguration?: LogConfiguration
  • Optional memoryCacheMaxSizeBytes?: number
  • Optional realtimeUpdatesEnabled?: boolean
  • Optional redis?: StiggRedisOptions
  • Optional wsUrl?: string
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

CreateCustomer: { billingId?: string; billingInfo?: BillingInfo; couponId?: string; customerId?: string; email?: string; excludeFromExperiment?: boolean; metadata?: Metadata | null; name?: string; shouldSyncFree?: boolean }

Type declaration

  • Optional billingId?: string
  • Optional billingInfo?: BillingInfo
  • Optional couponId?: string
  • Optional customerId?: string
  • Optional email?: string
  • Optional excludeFromExperiment?: boolean
  • Optional metadata?: Metadata | null
  • Optional name?: string
  • Optional shouldSyncFree?: boolean
    deprecated

    not in use anymore - will be removed in future release

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

CreateSubscription: CreateSubscriptionParams & { customerId: string }
CreateSubscriptionMutation: { __typename?: "Mutation"; createSubscription: { __typename?: "CustomerSubscription" } & SlimSubscriptionFragment }

Type declaration

CreateSubscriptionMutationVariables: Exact<{ input: SubscriptionInput }>
CreateSubscriptionParams: { addons?: SubscriptionAddon[]; appliedCoupon?: SubscriptionCouponInput; awaitPaymentConfirmation?: boolean; billableFeatures?: BillableFeature[]; billingInformation?: SubscriptionBillingInfo; billingPeriod?: BillingPeriod; id?: string; metadata?: Metadata | null; planId: string; promotionCode?: string; resourceId?: string; skipTrial?: boolean; startDate?: Date; trialOverrideConfiguration?: TrialOverrideConfigurationInput; unitQuantity?: number }

Type declaration

CreateUsageMeasurement: { createdAt?: Date; customerId: string; dimensions?: Record<string, EventDimensionValue>; featureId: string; resourceId?: string; updateBehavior?: UsageUpdateBehavior; value: number }

Type declaration

  • Optional createdAt?: Date
  • customerId: string
  • Optional dimensions?: Record<string, EventDimensionValue>
  • featureId: string
  • Optional resourceId?: string
  • Optional updateBehavior?: UsageUpdateBehavior
  • value: number
CursorPaging: { after?: InputMaybe<Scalars["ConnectionCursor"]>; before?: InputMaybe<Scalars["ConnectionCursor"]>; first?: InputMaybe<Scalars["Int"]>; last?: InputMaybe<Scalars["Int"]> }

Type declaration

Customer: SlimCustomer
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

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

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

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 }

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
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

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
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; 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
  • 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<FullCustomer, "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
CustomerStatisticsModel: { statistics: CustomerStatisticsFragment["statistics"] }

Type declaration

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>; 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

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: { featureType: FeatureType; id: string; isMetered?: boolean; meterType?: Fluctuating | Incremental | None; units?: string; unitsPlural?: string }

Type declaration

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