Skip to content

Commit 18e215f

Browse files
committed
chore(graphql): generate types
1 parent 63f777a commit 18e215f

File tree

1 file changed

+30
-36
lines changed

1 file changed

+30
-36
lines changed

src/generated/graphql.tsx

Lines changed: 30 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,6 +1158,7 @@ export type CreateCreditNoteInput = {
11581158

11591159
/** Create Customer input arguments */
11601160
export type CreateCustomerInput = {
1161+
accountType?: InputMaybe<CustomerAccountTypeEnum>;
11611162
addressLine1?: InputMaybe<Scalars['String']['input']>;
11621163
addressLine2?: InputMaybe<Scalars['String']['input']>;
11631164
billingConfiguration?: InputMaybe<CustomerBillingConfigurationInput>;
@@ -1906,6 +1907,7 @@ export type CurrentVersion = {
19061907

19071908
export type Customer = {
19081909
__typename?: 'Customer';
1910+
accountType: CustomerAccountTypeEnum;
19091911
/** Number of active subscriptions per customer */
19101912
activeSubscriptionsCount: Scalars['Int']['output'];
19111913
addressLine1?: Maybe<Scalars['String']['output']>;
@@ -1988,6 +1990,11 @@ export type CustomerSubscriptionsArgs = {
19881990
status?: InputMaybe<Array<StatusTypeEnum>>;
19891991
};
19901992

1993+
export enum CustomerAccountTypeEnum {
1994+
Customer = 'customer',
1995+
Partner = 'partner'
1996+
}
1997+
19911998
export type CustomerAddress = {
19921999
__typename?: 'CustomerAddress';
19932000
addressLine1?: Maybe<Scalars['String']['output']>;
@@ -2888,6 +2895,7 @@ export enum IntegrationTypeEnum {
28882895
Okta = 'okta',
28892896
ProgressiveBilling = 'progressive_billing',
28902897
RevenueAnalytics = 'revenue_analytics',
2898+
RevenueShare = 'revenue_share',
28912899
Salesforce = 'salesforce',
28922900
Xero = 'xero'
28932901
}
@@ -2958,6 +2966,7 @@ export type Invoice = {
29582966
prepaidCreditAmountCents: Scalars['BigInt']['output'];
29592967
progressiveBillingCreditAmountCents: Scalars['BigInt']['output'];
29602968
refundableAmountCents: Scalars['BigInt']['output'];
2969+
selfBilled: Scalars['Boolean']['output'];
29612970
sequentialId: Scalars['ID']['output'];
29622971
status: InvoiceStatusTypeEnum;
29632972
subTotalExcludingTaxesAmountCents: Scalars['BigInt']['output'];
@@ -4453,6 +4462,7 @@ export enum PremiumIntegrationTypeEnum {
44534462
Okta = 'okta',
44544463
ProgressiveBilling = 'progressive_billing',
44554464
RevenueAnalytics = 'revenue_analytics',
4465+
RevenueShare = 'revenue_share',
44564466
Salesforce = 'salesforce',
44574467
Xero = 'xero'
44584468
}
@@ -5868,6 +5878,7 @@ export type UpdateCreditNoteInput = {
58685878

58695879
/** Update Customer input arguments */
58705880
export type UpdateCustomerInput = {
5881+
accountType?: InputMaybe<CustomerAccountTypeEnum>;
58715882
addressLine1?: InputMaybe<Scalars['String']['input']>;
58725883
addressLine2?: InputMaybe<Scalars['String']['input']>;
58735884
applicableInvoiceCustomSectionIds?: InputMaybe<Array<Scalars['ID']['input']>>;
@@ -6934,11 +6945,7 @@ export type GetCustomerSubscriptionForListQueryVariables = Exact<{
69346945
}>;
69356946

69366947

6937-
export type GetCustomerSubscriptionForListQuery = { __typename?: 'Query', customer?: { __typename?: 'Customer', id: string, subscriptions: Array<{ __typename?: 'Subscription', id: string, status?: StatusTypeEnum | null, startedAt?: any | null, nextPendingStartDate?: any | null, name?: string | null, nextName?: string | null, externalId: string, subscriptionAt?: any | null, endingAt?: any | null, plan: { __typename?: 'Plan', id: string, amountCurrency: CurrencyEnum, name: string, interval: PlanInterval, code: string }, nextPlan?: { __typename?: 'Plan', id: string, name: string, code: string } | null, nextSubscription?: { __typename?: 'Subscription', id: string } | null }> } | null };
6938-
6939-
export type SubscriptionItemFragment = { __typename?: 'Subscription', id: string, status?: StatusTypeEnum | null, startedAt?: any | null, nextPendingStartDate?: any | null, name?: string | null, nextName?: string | null, externalId: string, subscriptionAt?: any | null, endingAt?: any | null, plan: { __typename?: 'Plan', id: string, name: string, code: string }, nextPlan?: { __typename?: 'Plan', id: string, name: string, code: string } | null, nextSubscription?: { __typename?: 'Subscription', id: string } | null };
6940-
6941-
export type SubscriptionLinePlanFragment = { __typename?: 'Plan', id: string, name: string, code: string };
6948+
export type GetCustomerSubscriptionForListQuery = { __typename?: 'Query', customer?: { __typename?: 'Customer', id: string, subscriptions: Array<{ __typename?: 'Subscription', id: string, status?: StatusTypeEnum | null, startedAt?: any | null, nextPendingStartDate?: any | null, name?: string | null, nextName?: string | null, externalId: string, subscriptionAt?: any | null, endingAt?: any | null, plan: { __typename?: 'Plan', id: string, amountCurrency: CurrencyEnum, name: string, interval: PlanInterval }, nextPlan?: { __typename?: 'Plan', id: string, name: string, code: string, interval: PlanInterval } | null, nextSubscription?: { __typename?: 'Subscription', id: string } | null }> } | null };
69426949

69436950
export type TerminateCustomerSubscriptionMutationVariables = Exact<{
69446951
input: TerminateSubscriptionInput;
@@ -9741,35 +9748,6 @@ export const CustomerAppliedCouponsFragmentDoc = gql`
97419748
}
97429749
}
97439750
${CustomerCouponFragmentDoc}`;
9744-
export const SubscriptionLinePlanFragmentDoc = gql`
9745-
fragment SubscriptionLinePlan on Plan {
9746-
id
9747-
name
9748-
code
9749-
}
9750-
`;
9751-
export const SubscriptionItemFragmentDoc = gql`
9752-
fragment SubscriptionItem on Subscription {
9753-
id
9754-
status
9755-
startedAt
9756-
nextPendingStartDate
9757-
name
9758-
nextName
9759-
externalId
9760-
subscriptionAt
9761-
endingAt
9762-
plan {
9763-
...SubscriptionLinePlan
9764-
}
9765-
nextPlan {
9766-
...SubscriptionLinePlan
9767-
}
9768-
nextSubscription {
9769-
id
9770-
}
9771-
}
9772-
${SubscriptionLinePlanFragmentDoc}`;
97739751
export const CustomerUsageForUsageDetailsFragmentDoc = gql`
97749752
fragment CustomerUsageForUsageDetails on CustomerUsage {
97759753
fromDatetime
@@ -15062,17 +15040,33 @@ export const GetCustomerSubscriptionForListDocument = gql`
1506215040
id
1506315041
subscriptions(status: [active, pending]) {
1506415042
id
15043+
status
15044+
startedAt
15045+
nextPendingStartDate
15046+
name
15047+
nextName
15048+
externalId
15049+
subscriptionAt
15050+
endingAt
1506515051
plan {
1506615052
id
1506715053
amountCurrency
1506815054
name
1506915055
interval
1507015056
}
15071-
...SubscriptionItem
15057+
nextPlan {
15058+
id
15059+
name
15060+
code
15061+
interval
15062+
}
15063+
nextSubscription {
15064+
id
15065+
}
1507215066
}
1507315067
}
1507415068
}
15075-
${SubscriptionItemFragmentDoc}`;
15069+
`;
1507615070

1507715071
/**
1507815072
* __useGetCustomerSubscriptionForListQuery__

0 commit comments

Comments
 (0)