Skip to content

Commit

Permalink
chore(graphql): generate types
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenlago99 committed Jan 10, 2025
1 parent ec681a2 commit 8a8d08d
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions src/generated/graphql.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1889,6 +1889,8 @@ export type Customer = {
addressLine1?: Maybe<Scalars['String']['output']>;
addressLine2?: Maybe<Scalars['String']['output']>;
anrokCustomer?: Maybe<AnrokCustomer>;
/** Invoice custom sections applicable to the customer */
applicableInvoiceCustomSections?: Maybe<Array<InvoiceCustomSection>>;
applicableTimezone: TimezoneEnum;
appliedAddOns?: Maybe<Array<AppliedAddOn>>;
appliedCoupons?: Maybe<Array<AppliedCoupon>>;
Expand Down Expand Up @@ -1921,6 +1923,8 @@ export type Customer = {
hasCreditNotes: Scalars['Boolean']['output'];
/** Define if a customer has overdue invoices */
hasOverdueInvoices: Scalars['Boolean']['output'];
/** Define if the customer has custom invoice custom sections selection */
hasOverwrittenInvoiceCustomSectionsSelection?: Maybe<Scalars['Boolean']['output']>;
hubspotCustomer?: Maybe<HubspotCustomer>;
id: Scalars['ID']['output'];
invoiceGracePeriod?: Maybe<Scalars['Int']['output']>;
Expand All @@ -1942,6 +1946,8 @@ export type Customer = {
salesforceCustomer?: Maybe<SalesforceCustomer>;
sequentialId: Scalars['String']['output'];
shippingAddress?: Maybe<CustomerAddress>;
/** Skip invoice custom sections for the customer */
skipInvoiceCustomSections?: Maybe<Scalars['Boolean']['output']>;
slug: Scalars['String']['output'];
state?: Maybe<Scalars['String']['output']>;
/** Query subscriptions of a customer */
Expand Down Expand Up @@ -2149,6 +2155,8 @@ export enum DataExportFormatTypeEnum {

/** Export Invoices search query and filters input argument */
export type DataExportInvoiceFiltersInput = {
amountFrom?: InputMaybe<Scalars['Int']['input']>;
amountTo?: InputMaybe<Scalars['Int']['input']>;
currency?: InputMaybe<CurrencyEnum>;
customerExternalId?: InputMaybe<Scalars['String']['input']>;
invoiceType?: InputMaybe<Array<InvoiceTypeEnum>>;
Expand Down Expand Up @@ -4506,8 +4514,6 @@ export type Query = {
currentVersion: CurrentVersion;
/** Query a single customer of an organization */
customer?: Maybe<Customer>;
/** Query selected invoice_custom_sections of a customer */
customerInvoiceCustomSections?: Maybe<InvoiceCustomSectionCollection>;
/** Query invoices of a customer */
customerInvoices: InvoiceCollection;
/** Query the usage of the customer on the current billing period */
Expand Down Expand Up @@ -4703,13 +4709,6 @@ export type QueryCustomerArgs = {
};


export type QueryCustomerInvoiceCustomSectionsArgs = {
customerId: Scalars['ID']['input'];
limit?: InputMaybe<Scalars['Int']['input']>;
page?: InputMaybe<Scalars['Int']['input']>;
};


export type QueryCustomerInvoicesArgs = {
customerId: Scalars['ID']['input'];
limit?: InputMaybe<Scalars['Int']['input']>;
Expand Down Expand Up @@ -4902,6 +4901,8 @@ export type QueryInvoicedUsagesArgs = {


export type QueryInvoicesArgs = {
amountFrom?: InputMaybe<Scalars['Int']['input']>;
amountTo?: InputMaybe<Scalars['Int']['input']>;
currency?: InputMaybe<CurrencyEnum>;
customerExternalId?: InputMaybe<Scalars['String']['input']>;
customerId?: InputMaybe<Scalars['ID']['input']>;
Expand Down Expand Up @@ -5822,6 +5823,7 @@ export type UpdateCreditNoteInput = {
export type UpdateCustomerInput = {
addressLine1?: InputMaybe<Scalars['String']['input']>;
addressLine2?: InputMaybe<Scalars['String']['input']>;
applicableInvoiceCustomSectionIds?: InputMaybe<Array<Scalars['ID']['input']>>;
appliedDunningCampaignId?: InputMaybe<Scalars['ID']['input']>;
billingConfiguration?: InputMaybe<CustomerBillingConfigurationInput>;
city?: InputMaybe<Scalars['String']['input']>;
Expand Down Expand Up @@ -5851,6 +5853,7 @@ export type UpdateCustomerInput = {
phone?: InputMaybe<Scalars['String']['input']>;
providerCustomer?: InputMaybe<ProviderCustomerInput>;
shippingAddress?: InputMaybe<CustomerAddressInput>;
skipInvoiceCustomSections?: InputMaybe<Scalars['Boolean']['input']>;
state?: InputMaybe<Scalars['String']['input']>;
taxCodes?: InputMaybe<Array<Scalars['String']['input']>>;
taxIdentificationNumber?: InputMaybe<Scalars['String']['input']>;
Expand Down Expand Up @@ -5976,6 +5979,7 @@ export type UpdateInviteInput = {
export type UpdateInvoiceCustomSectionInput = {
/** A unique identifier for the client performing the mutation. */
clientMutationId?: InputMaybe<Scalars['String']['input']>;
code?: InputMaybe<Scalars['String']['input']>;
description?: InputMaybe<Scalars['String']['input']>;
details?: InputMaybe<Scalars['String']['input']>;
displayName?: InputMaybe<Scalars['String']['input']>;
Expand Down Expand Up @@ -8654,6 +8658,8 @@ export type GetInvoicesListQueryVariables = Exact<{
paymentStatus?: InputMaybe<Array<InvoicePaymentStatusTypeEnum> | InvoicePaymentStatusTypeEnum>;
searchTerm?: InputMaybe<Scalars['String']['input']>;
status?: InputMaybe<Array<InvoiceStatusTypeEnum> | InvoiceStatusTypeEnum>;
amountFrom?: InputMaybe<Scalars['Int']['input']>;
amountTo?: InputMaybe<Scalars['Int']['input']>;
}>;


Expand Down Expand Up @@ -22673,7 +22679,7 @@ export type GetInvoiceCreditNotesLazyQueryHookResult = ReturnType<typeof useGetI
export type GetInvoiceCreditNotesSuspenseQueryHookResult = ReturnType<typeof useGetInvoiceCreditNotesSuspenseQuery>;
export type GetInvoiceCreditNotesQueryResult = Apollo.QueryResult<GetInvoiceCreditNotesQuery, GetInvoiceCreditNotesQueryVariables>;
export const GetInvoicesListDocument = gql`
query getInvoicesList($currency: CurrencyEnum, $customerExternalId: String, $invoiceType: [InvoiceTypeEnum!], $issuingDateFrom: ISO8601Date, $issuingDateTo: ISO8601Date, $limit: Int, $page: Int, $paymentDisputeLost: Boolean, $paymentOverdue: Boolean, $paymentStatus: [InvoicePaymentStatusTypeEnum!], $searchTerm: String, $status: [InvoiceStatusTypeEnum!]) {
query getInvoicesList($currency: CurrencyEnum, $customerExternalId: String, $invoiceType: [InvoiceTypeEnum!], $issuingDateFrom: ISO8601Date, $issuingDateTo: ISO8601Date, $limit: Int, $page: Int, $paymentDisputeLost: Boolean, $paymentOverdue: Boolean, $paymentStatus: [InvoicePaymentStatusTypeEnum!], $searchTerm: String, $status: [InvoiceStatusTypeEnum!], $amountFrom: Int, $amountTo: Int) {
invoices(
currency: $currency
customerExternalId: $customerExternalId
Expand All @@ -22687,6 +22693,8 @@ export const GetInvoicesListDocument = gql`
paymentStatus: $paymentStatus
searchTerm: $searchTerm
status: $status
amountFrom: $amountFrom
amountTo: $amountTo
) {
metadata {
currentPage
Expand Down Expand Up @@ -22725,6 +22733,8 @@ export const GetInvoicesListDocument = gql`
* paymentStatus: // value for 'paymentStatus'
* searchTerm: // value for 'searchTerm'
* status: // value for 'status'
* amountFrom: // value for 'amountFrom'
* amountTo: // value for 'amountTo'
* },
* });
*/
Expand Down

0 comments on commit 8a8d08d

Please sign in to comment.