The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { gql } from '@apollo/client';
import { BILLING_SUBSCRIPTION_SCHEDULE_PHASE_ITEM_FRAGMENT } from '@/settings/billing/graphql/fragments/billingSubscriptionSchedulePhaseItemFragment';
import { BILLING_SUBSCRIPTION_SCHEDULE_PHASE_FRAGMENT } from '@/settings/billing/graphql/fragments/billingSubscriptionSchedulePhaseFragment';
export const BILLING_SUBSCRIPTION_FRAGMENT = gql`
fragment BillingSubscriptionFragment on BillingSubscription {
id
status
metadata
cancelAt
phases {
...BillingSubscriptionSchedulePhaseFragment
}
}
${BILLING_SUBSCRIPTION_SCHEDULE_PHASE_ITEM_FRAGMENT}
${BILLING_SUBSCRIPTION_SCHEDULE_PHASE_FRAGMENT}
`;