abowire
Version:
This is the official **Abowire Javascript SDK**, which makes it easy to connect to the Abowire **GraphQL API** and includes all the required dependencies you need.
312 lines • 110 kB
TypeScript
import * as types from './graphql';
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
declare const documents: {
"\n fragment AccountMetadataFieldFragment on AccountMetadataField {\n name\n type\n description\n label\n required\n format\n default\n isPersonalInformation\n displayInInvoices\n displayInCheckoutStep\n options {\n label\n value\n }\n }\n": DocumentNode<types.AccountMetadataFieldFragmentFragment, unknown>;
"\n \n \n\n fragment AccountFragment on Account {\n id\n name\n isProduction\n billing {\n ...BillingFragment\n }\n settings {\n domain {\n name\n config {\n hostname\n isVerified\n verificationRecord {\n name\n value\n }\n }\n }\n analytics {\n dashboardId\n isAvailableInGlobalDashboard\n }\n theme {\n light {\n logoUrl\n }\n dark {\n logoUrl\n }\n }\n billing {\n taxSchemes\n customTaxRate {\n description\n rate\n code\n }\n logoUrl\n footerText\n numberingFormat {\n invoice\n creditNote\n }\n invoiceFormat {\n default\n rules {\n countryCode\n format\n }\n }\n }\n payments {\n paymentMethods {\n type\n providerName\n isActive\n }\n providers {\n name\n config\n }\n }\n metadata {\n customer {\n ...AccountMetadataFieldFragment\n }\n invoice {\n ...AccountMetadataFieldFragment\n }\n creditNote {\n ...AccountMetadataFieldFragment\n }\n licenseUser {\n ...AccountMetadataFieldFragment\n }\n license {\n ...AccountMetadataFieldFragment\n }\n product {\n ...AccountMetadataFieldFragment\n }\n subscription {\n ...AccountMetadataFieldFragment\n }\n transaction {\n ...AccountMetadataFieldFragment\n }\n billingProfile {\n ...AccountMetadataFieldFragment\n }\n person {\n ...AccountMetadataFieldFragment\n }\n }\n capabilities {\n name\n type\n description\n }\n }\n capabilities {\n canManageLicenses\n canBill\n canCreateApps\n hasCustomerPortal\n hasCheckout\n canCreateCustomDomains\n canInviteMembers\n canCustomizeFields\n hasCancellationNotice\n hasAnalytics\n hasIntegrations\n }\n metadata\n createdAt\n updatedAt\n }\n": DocumentNode<types.AccountFragmentFragment, unknown>;
"\n \n fragment MemberFragment on Member {\n id\n name\n role\n email\n account {\n ...AccountFragment\n }\n customer {\n id\n name\n }\n }\n": DocumentNode<types.MemberFragmentFragment, unknown>;
"\n fragment MemberInviteFragment on MemberInvite {\n email\n customer {\n id\n name\n }\n role\n }\n": DocumentNode<types.MemberInviteFragmentFragment, unknown>;
"\n mutation CreateAccount($input: CreateAccountInput!) {\n createAccount(input: $input) {\n ...AccountFragment\n }\n }\n": DocumentNode<types.CreateAccountMutation, types.Exact<{
input: types.CreateAccountInput;
}>>;
"\n mutation UpdateAccount($input: UpdateAccountInput!) {\n updateAccount(input: $input) {\n ...AccountFragment\n }\n }\n": DocumentNode<types.UpdateAccountMutation, types.Exact<{
input: types.UpdateAccountInput;
}>>;
"\n query GetAccount {\n account {\n ...AccountFragment\n }\n }\n": DocumentNode<types.GetAccountQuery, types.Exact<{
[key: string]: never;
}>>;
"\n mutation InviteMember($input: InviteMemberInput!) {\n inviteMember(input: $input) {\n email\n role\n }\n }\n": DocumentNode<types.InviteMemberMutation, types.Exact<{
input: types.InviteMemberInput;
}>>;
"\n mutation AcceptMemberInvite($id: ID!, $input: AcceptMemberInviteInput!) {\n acceptMemberInvite(id: $id, input: $input) {\n name\n role\n }\n }\n": DocumentNode<types.AcceptMemberInviteMutation, types.Exact<{
id: string;
input: types.AcceptMemberInviteInput;
}>>;
"\n mutation RemoveMember($id: ID!) {\n removeMember(id: $id) {\n name\n role\n }\n }\n": DocumentNode<types.RemoveMemberMutation, types.Exact<{
id: string;
}>>;
"\n query ListMembers($filters: FilterInput) {\n members(filters: $filters) {\n count\n total\n cursor\n items {\n ...MemberFragment\n }\n }\n }\n": DocumentNode<types.ListMembersQuery, types.Exact<{
filters?: types.InputMaybe<types.FilterInput> | undefined;
}>>;
"\n query ListMemberInvites($filters: FilterInput) {\n memberInvites(filters: $filters) {\n count\n total\n cursor\n items {\n ...MemberInviteFragment\n }\n }\n }\n": DocumentNode<types.ListMemberInvitesQuery, types.Exact<{
filters?: types.InputMaybe<types.FilterInput> | undefined;
}>>;
"\n mutation AddAccountDomain($input: AddAccountDomainInput!) {\n addAccountDomain(input: $input) {\n name\n }\n }\n": DocumentNode<types.AddAccountDomainMutation, types.Exact<{
input: types.AddAccountDomainInput;
}>>;
"\n mutation RemoveAccountDomain {\n removeAccountDomain {\n name\n }\n }\n": DocumentNode<types.RemoveAccountDomainMutation, types.Exact<{
[key: string]: never;
}>>;
"\n mutation AddPaymentProvider($input: PaymentProviderInput!) {\n addPaymentProvider(input: $input) {\n name\n config\n }\n }\n": DocumentNode<types.AddPaymentProviderMutation, types.Exact<{
input: types.PaymentProviderInput;
}>>;
"\n mutation UpdatePaymentProvider($input: PaymentProviderInput!) {\n updatePaymentProvider(input: $input) {\n name\n config\n }\n }\n": DocumentNode<types.UpdatePaymentProviderMutation, types.Exact<{
input: types.PaymentProviderInput;
}>>;
"\n mutation RemovePaymentProvider($name: PaymentProviderName!) {\n removePaymentProvider(name: $name) {\n name\n }\n }\n": DocumentNode<types.RemovePaymentProviderMutation, types.Exact<{
name: types.PaymentProviderName;
}>>;
"\n mutation GetUploadUrl($input: GetUploadUrlInput!) {\n getUploadUrl(input: $input) {\n uploadUrl\n file\n fields\n }\n }\n": DocumentNode<types.GetUploadUrlMutation, types.Exact<{
input: types.GetUploadUrlInput;
}>>;
"\n mutation CreateAnalyticsSessionToken {\n createAnalyticsSessionToken {\n token\n dashboardId\n }\n }\n": DocumentNode<types.CreateAnalyticsSessionTokenMutation, types.Exact<{
[key: string]: never;
}>>;
"\n fragment AppFragment on App {\n id\n name\n description\n contactEmail\n pageContent\n isInstalled\n isPublic\n logoUrl\n privacyUrl\n tosUrl\n accountIds\n apiClients {\n id\n type\n secret\n redirectUrls\n scopes\n }\n webhooks {\n events\n endpoint\n headers\n isActive\n }\n instances {\n count\n total\n cursor\n items {\n id\n account {\n id\n name\n }\n }\n }\n createdAt\n updatedAt\n }\n": DocumentNode<types.AppFragmentFragment, unknown>;
"\n fragment PublicAppFragment on PublicApp {\n id\n name\n description\n pageContent\n isInstalled\n events\n scopes\n logoUrl\n privacyUrl\n tosUrl\n createdAt\n }\n": DocumentNode<types.PublicAppFragmentFragment, unknown>;
"\n fragment AppInstanceFragment on AppInstance {\n id\n app {\n id\n name\n }\n account {\n id\n name\n }\n }\n": DocumentNode<types.AppInstanceFragmentFragment, unknown>;
"\n mutation CreateApp($input: CreateAppInput!) {\n createApp(input: $input) {\n ...AppFragment\n }\n }\n": DocumentNode<types.CreateAppMutation, types.Exact<{
input: types.CreateAppInput;
}>>;
"\n mutation UpdateApp($id: ID!, $input: UpdateAppInput!) {\n updateApp(id: $id, input: $input) {\n ...AppFragment\n }\n }\n": DocumentNode<types.UpdateAppMutation, types.Exact<{
id: string;
input: types.UpdateAppInput;
}>>;
"\n mutation InstallApp($id: ID!, $input: InstallAppInput) {\n installApp(id: $id, input: $input) {\n ...AppInstanceFragment\n }\n }\n": DocumentNode<types.InstallAppMutation, types.Exact<{
id: string;
input?: types.InputMaybe<types.InstallAppInput> | undefined;
}>>;
"\n mutation UninstallApp($id: ID!) {\n uninstallApp(id: $id) {\n ...AppInstanceFragment\n }\n }\n": DocumentNode<types.UninstallAppMutation, types.Exact<{
id: string;
}>>;
"\n query GetApp($id: ID) {\n app(id: $id) {\n ...AppFragment\n }\n }\n": DocumentNode<types.GetAppQuery, types.Exact<{
id?: types.InputMaybe<string> | undefined;
}>>;
"\n query GetPublicApp($id: ID!) {\n publicApp(id: $id) {\n ...PublicAppFragment\n }\n }\n": DocumentNode<types.GetPublicAppQuery, types.Exact<{
id: string;
}>>;
"\n query ListApps($filters: FilterInput) {\n apps(filters: $filters) {\n count\n total\n cursor\n items {\n ...AppFragment\n }\n }\n }\n": DocumentNode<types.ListAppsQuery, types.Exact<{
filters?: types.InputMaybe<types.FilterInput> | undefined;
}>>;
"\n query ListPublicApps($filters: FilterInput) {\n publicApps(filters: $filters) {\n count\n total\n cursor\n items {\n ...PublicAppFragment\n }\n }\n }\n": DocumentNode<types.ListPublicAppsQuery, types.Exact<{
filters?: types.InputMaybe<types.FilterInput> | undefined;
}>>;
"\n query ListInstalledApps($filters: FilterInput) {\n installedApps(filters: $filters) {\n count\n total\n cursor\n items {\n ...AppInstanceFragment\n }\n }\n }\n": DocumentNode<types.ListInstalledAppsQuery, types.Exact<{
filters?: types.InputMaybe<types.FilterInput> | undefined;
}>>;
"\n query ListEvents($filters: FilterInput) {\n events(filters: $filters) {\n count\n total\n cursor\n items {\n id\n eventName\n eventSource\n content\n previousContent\n createdAt\n expiresAt\n }\n }\n }\n": DocumentNode<types.ListEventsQuery, types.Exact<{
filters?: types.InputMaybe<types.FilterInput> | undefined;
}>>;
"\n fragment CreditNoteFragment on CreditNote {\n id\n number\n file\n fileFormat\n subtotal\n total\n items {\n description\n quantity\n unitPrice\n price\n }\n taxes {\n description\n rate\n amount\n }\n customer {\n id\n name\n paymentMethod {\n ...PaymentMethodFragment\n }\n }\n invoice {\n ...InvoiceListItemFragment\n }\n transactions {\n count\n total\n cursor\n items {\n id\n type\n paymentMethod {\n type\n metadata\n }\n customer {\n id\n name\n }\n creditNote {\n id\n number\n }\n amount\n currency\n reference\n metadata\n createdAt\n updatedAt\n }\n }\n createdAt\n updatedAt\n metadata\n }\n": DocumentNode<types.CreditNoteFragmentFragment, unknown>;
"\n fragment CreditNoteListItemFragment on CreditNoteListItem {\n id\n number\n subtotal\n total\n items {\n description\n quantity\n unitPrice\n price\n }\n taxes {\n description\n rate\n amount\n }\n customer {\n id\n name\n paymentMethod {\n ...PaymentMethodFragment\n }\n }\n invoice {\n ...InvoiceListItemFragment\n }\n transactions {\n count\n total\n cursor\n items {\n id\n type\n paymentMethod {\n type\n metadata\n }\n customer {\n id\n name\n }\n creditNote {\n id\n number\n }\n amount\n currency\n reference\n metadata\n createdAt\n updatedAt\n }\n }\n createdAt\n updatedAt\n metadata\n }\n": DocumentNode<types.CreditNoteListItemFragmentFragment, unknown>;
"\n mutation CreateCreditNote($input: CreateCreditNoteInput!) {\n createCreditNote(input: $input) {\n ...CreditNoteFragment\n }\n }\n": DocumentNode<types.CreateCreditNoteMutation, types.Exact<{
input: types.CreateCreditNoteInput;
}>>;
"\n query GetCreditNote($id: ID!) {\n creditNote(id: $id) {\n ...CreditNoteFragment\n }\n }\n": DocumentNode<types.GetCreditNoteQuery, types.Exact<{
id: string;
}>>;
"\n query GetCreditNotePreview($id: ID!) {\n creditNotePreview(id: $id) {\n content\n }\n }\n": DocumentNode<types.GetCreditNotePreviewQuery, types.Exact<{
id: string;
}>>;
"\n query ListCreditNotes($filters: FilterInput) {\n creditNotes(filters: $filters) {\n count\n total\n cursor\n items {\n ...CreditNoteListItemFragment\n }\n }\n }\n": DocumentNode<types.ListCreditNotesQuery, types.Exact<{
filters?: types.InputMaybe<types.FilterInput> | undefined;
}>>;
"\n mutation ExportCreditNotes($input: CreditNoteExportInput!) {\n exportCreditNotes(input: $input) {\n content\n }\n }\n": DocumentNode<types.ExportCreditNotesMutation, types.Exact<{
input: types.CreditNoteExportInput;
}>>;
"\n fragment TaxIdFragment on TaxId {\n type\n countryCode\n value\n }\n": DocumentNode<types.TaxIdFragmentFragment, unknown>;
"\n fragment BillingFragment on Billing {\n companyName\n address\n address2\n street\n streetNumber\n postalCode\n city\n countryCode\n taxIds {\n ...TaxIdFragment\n }\n contactPerson {\n firstName\n lastName\n email\n phoneNumber\n }\n invoiceFormat\n metadata\n }\n": DocumentNode<types.BillingFragmentFragment, unknown>;
"\n fragment PersonFragment on Person {\n firstName\n lastName\n email\n metadata\n settings {\n email {\n invoices\n payments\n }\n customerPortal {\n isActive\n }\n }\n }\n": DocumentNode<types.PersonFragmentFragment, unknown>;
"\n fragment CustomerFragment on Customer {\n id\n name\n currency\n locale\n metadata\n createdAt\n updatedAt\n billing {\n ...BillingFragment\n }\n people {\n ...PersonFragment\n }\n paymentMethod {\n ...PaymentMethodFragment\n }\n capabilities {\n name\n isActive\n usageLimit {\n unit\n amount\n }\n }\n }\n": DocumentNode<types.CustomerFragmentFragment, unknown>;
"\n mutation CreateCustomer($input: CreateCustomerInput!) {\n createCustomer(input: $input) {\n ...CustomerFragment\n }\n }\n": DocumentNode<types.CreateCustomerMutation, types.Exact<{
input: types.CreateCustomerInput;
}>>;
"\n mutation UpdateCustomer($id: ID!, $input: UpdateCustomerInput!) {\n updateCustomer(id: $id, input: $input) {\n ...CustomerFragment\n }\n }\n": DocumentNode<types.UpdateCustomerMutation, types.Exact<{
id: string;
input: types.UpdateCustomerInput;
}>>;
"\n query GetCustomer(\n $id: ID!, \n $subscriptionFilters: FilterInput, \n $transactionFilters: FilterInput,\n $invoiceFilters: FilterInput, \n $creditNoteFilters: FilterInput, \n $licenseUserFilters: FilterInput\n ) {\n customer(id: $id) {\n ...CustomerFragment\n\n subscriptions(filters: $subscriptionFilters) {\n count\n total\n cursor\n items {\n ...SubscriptionFragment\n }\n }\n\n invoices(filters: $invoiceFilters) {\n count\n total\n cursor\n items {\n ...InvoiceListItemFragment\n }\n }\n\n creditNotes(filters: $creditNoteFilters) {\n count\n total\n cursor\n items {\n ...CreditNoteListItemFragment\n }\n }\n\n transactions(filters: $transactionFilters) {\n count\n total\n cursor\n items {\n ...TransactionFragment\n }\n }\n\n licenseUsers(filters: $licenseUserFilters) {\n count\n total\n cursor\n items {\n ...LicenseUserFragment\n }\n }\n }\n }\n": DocumentNode<types.GetCustomerQuery, types.Exact<{
id: string;
subscriptionFilters?: types.InputMaybe<types.FilterInput> | undefined;
transactionFilters?: types.InputMaybe<types.FilterInput> | undefined;
invoiceFilters?: types.InputMaybe<types.FilterInput> | undefined;
creditNoteFilters?: types.InputMaybe<types.FilterInput> | undefined;
licenseUserFilters?: types.InputMaybe<types.FilterInput> | undefined;
}>>;
"\n query ListCustomers($filters: FilterInput, $subscriptionFilters: FilterInput) {\n customers(filters: $filters) {\n count\n total\n cursor\n items {\n ...CustomerFragment\n\n subscriptions(filters: $subscriptionFilters) {\n count\n total\n cursor\n items {\n ...SubscriptionFragment\n }\n }\n\n licenseUsers {\n count\n total\n cursor\n items {\n ...LicenseUserFragment\n }\n }\n }\n }\n }\n": DocumentNode<types.ListCustomersQuery, types.Exact<{
filters?: types.InputMaybe<types.FilterInput> | undefined;
subscriptionFilters?: types.InputMaybe<types.FilterInput> | undefined;
}>>;
"\n mutation CreateCustomerSession($input: CreateCustomerSessionInput) {\n createCustomerSession(input: $input) {\n id\n customer {\n ...CustomerFragment\n }\n product {\n ...CustomerSessionProductFragment\n }\n payment {\n ...PaymentSessionFragment\n }\n estimation {\n currency\n subtotalAmount\n discountAmount\n taxAmount\n totalAmount\n couponCode\n }\n fields {\n ...AccountMetadataFieldFragment\n }\n }\n }\n": DocumentNode<types.CreateCustomerSessionMutation, types.Exact<{
input?: types.InputMaybe<types.CreateCustomerSessionInput> | undefined;
}>>;
"\n mutation UpdateCustomerSession($id: ID!, $input: UpdateCustomerSessionInput!) {\n updateCustomerSession(id: $id, input: $input) {\n id\n customer {\n ...CustomerFragment\n }\n payment {\n ...PaymentSessionFragment\n }\n product {\n ...CustomerSessionProductFragment\n }\n estimation {\n currency\n subtotalAmount\n discountAmount\n taxAmount\n totalAmount\n couponCode\n }\n fields {\n ...AccountMetadataFieldFragment\n }\n }\n }\n": DocumentNode<types.UpdateCustomerSessionMutation, types.Exact<{
id: string;
input: types.UpdateCustomerSessionInput;
}>>;
"\n fragment DiscountFragment on Discount {\n id\n isActive\n name\n type\n amount\n currency\n maxPeriods\n expirationDate\n coupons {\n count\n total\n cursor\n items {\n ...DiscountCouponFragment\n }\n }\n metadata\n createdAt\n updatedAt\n }\n": DocumentNode<types.DiscountFragmentFragment, unknown>;
"\n fragment DiscountCouponFragment on DiscountCoupon {\n id\n code\n redemptionDate\n periodsLeft\n subscription {\n id\n product {\n name\n }\n customer {\n id\n name\n }\n }\n discount {\n id\n name\n isActive\n }\n }\n": DocumentNode<types.DiscountCouponFragmentFragment, unknown>;
"\n mutation CreateDiscount($input: CreateDiscountInput!) {\n createDiscount(input: $input) {\n ...DiscountFragment\n }\n }\n": DocumentNode<types.CreateDiscountMutation, types.Exact<{
input: types.CreateDiscountInput;
}>>;
"\n mutation UpdateDiscount($id: ID!, $input: UpdateDiscountInput!) {\n updateDiscount(id: $id, input: $input) {\n ...DiscountFragment\n }\n }\n": DocumentNode<types.UpdateDiscountMutation, types.Exact<{
id: string;
input: types.UpdateDiscountInput;
}>>;
"\n mutation AddDiscountCoupon($input: AddDiscountCouponInput!) {\n addDiscountCoupon(input: $input) {\n ...DiscountFragment\n }\n }\n": DocumentNode<types.AddDiscountCouponMutation, types.Exact<{
input: types.AddDiscountCouponInput;
}>>;
"\n mutation RedeemDiscountCoupon($input: RedeemDiscountCouponInput!) {\n redeemDiscountCoupon(input: $input) {\n ...DiscountFragment\n }\n }\n": DocumentNode<types.RedeemDiscountCouponMutation, types.Exact<{
input: types.RedeemDiscountCouponInput;
}>>;
"\n mutation RemoveDiscountCoupon($id: ID!) {\n removeDiscountCoupon(id: $id) {\n ...DiscountFragment\n }\n }\n": DocumentNode<types.RemoveDiscountCouponMutation, types.Exact<{
id: string;
}>>;
"\n query GetDiscount($id: ID!) {\n discount(id: $id) {\n ...DiscountFragment\n }\n }\n": DocumentNode<types.GetDiscountQuery, types.Exact<{
id: string;
}>>;
"\n query ListDiscounts($filters: FilterInput) {\n discounts(filters: $filters) {\n count\n total\n cursor\n items {\n ...DiscountFragment\n }\n }\n }\n": DocumentNode<types.ListDiscountsQuery, types.Exact<{
filters?: types.InputMaybe<types.FilterInput> | undefined;
}>>;
"\n fragment InvoiceListItemFragment on InvoiceListItem {\n id\n number\n seller {\n ...BillingFragment\n }\n buyer {\n ...BillingFragment\n }\n customer {\n ...CustomerFragment\n }\n currency\n locale\n paymentTermDays\n billingPeriodStart\n billingPeriodEnd\n dueDate\n paymentDate\n items {\n description\n price\n }\n discount {\n description\n amount\n }\n taxes {\n description\n amount\n rate\n }\n creditNotes {\n count\n total\n cursor\n items {\n id\n number\n total\n createdAt\n invoice {\n id\n number\n currency\n }\n transactions {\n count\n total\n cursor\n items {\n id\n type\n amount\n }\n }\n }\n }\n transactions {\n count\n total\n cursor\n items {\n id\n type\n paymentMethod {\n type\n metadata\n }\n customer {\n id\n name\n }\n invoice {\n id\n number\n }\n amount\n currency\n reference\n metadata\n createdAt\n updatedAt\n }\n }\n subscription {\n id\n isActive\n product {\n id\n name\n }\n }\n subtotal\n total\n metadata\n createdAt\n updatedAt\n }\n": DocumentNode<types.InvoiceListItemFragmentFragment, unknown>;
"\n fragment InvoiceFragment on Invoice {\n file\n fileFormat\n id\n number\n seller {\n ...BillingFragment\n }\n buyer {\n ...BillingFragment\n }\n customer {\n ...CustomerFragment\n }\n currency\n locale\n paymentTermDays\n billingPeriodStart\n billingPeriodEnd\n dueDate\n paymentDate\n items {\n description\n price\n }\n discount {\n description\n amount\n }\n taxes {\n description\n amount\n rate\n }\n creditNotes {\n count\n total\n cursor\n items {\n id\n number\n total\n createdAt\n transactions {\n count\n total\n cursor\n items {\n id\n type\n amount\n }\n }\n invoice {\n id\n number\n currency\n }\n }\n }\n transactions {\n count\n total\n cursor\n items {\n id\n type\n paymentMethod {\n type\n metadata\n }\n customer {\n id\n name\n }\n invoice {\n id\n number\n }\n amount\n currency\n reference\n metadata\n createdAt\n updatedAt\n }\n }\n subscription {\n ...SubscriptionFragment\n }\n subtotal\n total\n metadata\n createdAt\n updatedAt\n }\n": DocumentNode<types.InvoiceFragmentFragment, unknown>;
"\n mutation CreateInvoice($input: CreateInvoiceInput!) {\n createInvoice(input: $input) {\n ...InvoiceFragment\n }\n }\n": DocumentNode<types.CreateInvoiceMutation, types.Exact<{
input: types.CreateInvoiceInput;
}>>;
"\n query GetInvoice($id: ID!) {\n invoice(id: $id) {\n ...InvoiceFragment\n }\n }\n": DocumentNode<types.GetInvoiceQuery, types.Exact<{
id: string;
}>>;
"\n query GetInvoicePreview($id: ID!) {\n invoicePreview(id: $id) {\n content\n }\n }\n": DocumentNode<types.GetInvoicePreviewQuery, types.Exact<{
id: string;
}>>;
"\n query ListInvoices($filters: FilterInput) {\n invoices(filters: $filters) {\n count\n total\n cursor\n items {\n ...InvoiceListItemFragment\n }\n }\n }\n": DocumentNode<types.ListInvoicesQuery, types.Exact<{
filters?: types.InputMaybe<types.FilterInput> | undefined;
}>>;
"\n mutation ExportInvoices($input: InvoiceExportInput!) {\n exportInvoices(input: $input) {\n content\n }\n }\n": DocumentNode<types.ExportInvoicesMutation, types.Exact<{
input: types.InvoiceExportInput;
}>>;
"\n fragment LicenseUserFragment on LicenseUser {\n id\n name\n metadata\n createdAt\n updatedAt\n customer {\n id\n name\n }\n licenses {\n count\n total\n cursor\n items {\n ...LicenseFragment\n }\n }\n }\n": DocumentNode<types.LicenseUserFragmentFragment, unknown>;
"\n mutation CreateLicenseUser($input: CreateLicenseUserInput!) {\n createLicenseUser(input: $input) {\n ...LicenseUserFragment\n }\n }\n": DocumentNode<types.CreateLicenseUserMutation, types.Exact<{
input: types.CreateLicenseUserInput;
}>>;
"\n mutation UpdateLicenseUser($id: ID!, $input: UpdateLicenseUserInput!) {\n updateLicenseUser(id: $id, input: $input) {\n ...LicenseUserFragment\n }\n }\n": DocumentNode<types.UpdateLicenseUserMutation, types.Exact<{
id: string;
input: types.UpdateLicenseUserInput;
}>>;
"\n mutation RemoveLicenseUser($id: ID!) {\n removeLicenseUser(id: $id) {\n ...LicenseUserFragment\n }\n }\n": DocumentNode<types.RemoveLicenseUserMutation, types.Exact<{
id: string;
}>>;
"\n query GetLicenseUser($id: ID!) {\n licenseUser(id: $id) {\n ...LicenseUserFragment\n }\n }\n": DocumentNode<types.GetLicenseUserQuery, types.Exact<{
id: string;
}>>;
"\n query ListLicenseUsers($filters: FilterInput) {\n licenseUsers(filters: $filters) {\n count\n total\n cursor\n items {\n ...LicenseUserFragment\n }\n }\n }\n": DocumentNode<types.ListLicenseUsersQuery, types.Exact<{
filters?: types.InputMaybe<types.FilterInput> | undefined;
}>>;
"\n fragment LicenseFragment on License {\n id\n status\n code\n activations\n activationsLeft\n expirationDate\n units\n metadata\n createdAt\n updatedAt\n subscription {\n id\n customer {\n id\n name\n }\n product {\n name\n pricing {\n ...PricingFragment\n }\n }\n }\n licenseUser {\n id\n name\n }\n }\n": DocumentNode<types.LicenseFragmentFragment, unknown>;
" \n mutation CreateLicense($input: CreateLicenseInput!) {\n createLicense(input: $input) {\n ...LicenseFragment\n }\n }\n": DocumentNode<types.CreateLicenseMutation, types.Exact<{
input: types.CreateLicenseInput;
}>>;
" \n mutation UpdateLicense($id: ID!, $input: UpdateLicenseInput!) {\n updateLicense(id: $id, input: $input) {\n ...LicenseFragment\n }\n }\n": DocumentNode<types.UpdateLicenseMutation, types.Exact<{
id: string;
input: types.UpdateLicenseInput;
}>>;
" \n mutation ActivateLicense($input: ActivateLicenseInput!) {\n activateLicense(input: $input) {\n ...LicenseFragment\n }\n }\n": DocumentNode<types.ActivateLicenseMutation, types.Exact<{
input: types.ActivateLicenseInput;
}>>;
" \n query GetLicense($id: ID!) {\n license(id: $id) {\n ...LicenseFragment\n }\n }\n": DocumentNode<types.GetLicenseQuery, types.Exact<{
id: string;
}>>;
" \n query ListLicenses($filters: FilterInput) {\n licenses(filters: $filters) {\n count\n total\n cursor\n items {\n ...LicenseFragment\n }\n }\n }\n": DocumentNode<types.ListLicensesQuery, types.Exact<{
filters?: types.InputMaybe<types.FilterInput> | undefined;
}>>;
"\n fragment PaymentMethodFragment on PaymentMethod {\n type\n providerName\n lastDigits\n externalId\n metadata\n }\n": DocumentNode<types.PaymentMethodFragmentFragment, unknown>;
"\n fragment PaymentSessionFragment on PaymentSession {\n stripe {\n publishableKey\n clientSecret\n stripeAccountId\n stripeCustomerId\n }\n }\n": DocumentNode<types.PaymentSessionFragmentFragment, unknown>;
"\n mutation AddPaymentMethod($input: AddPaymentMethodInput!) {\n addPaymentMethod(input: $input) {\n ...PaymentMethodFragment\n }\n }\n": DocumentNode<types.AddPaymentMethodMutation, types.Exact<{
input: types.AddPaymentMethodInput;
}>>;
"\n mutation RemovePaymentMethod($input: RemovePaymentMethodInput!) {\n removePaymentMethod(input: $input) {\n ...PaymentMethodFragment\n }\n }\n": DocumentNode<types.RemovePaymentMethodMutation, types.Exact<{
input: types.RemovePaymentMethodInput;
}>>;
"\n query ListBanks($countryCode: String!) {\n banks(countryCode: $countryCode) {\n count\n total\n cursor\n items {\n id\n name\n logo\n }\n }\n }\n": DocumentNode<types.ListBanksQuery, types.Exact<{
countryCode: string;
}>>;
"\n query ListBankAccounts {\n bankAccounts {\n count\n total\n cursor\n items {\n iban\n currency\n ownerName\n name\n transactions {\n id\n bookedAt\n amount\n currency\n description\n debtor\n iban\n }\n }\n }\n }\n": DocumentNode<types.ListBankAccountsQuery, types.Exact<{
[key: string]: never;
}>>;
"\n query ListBankTransactions($filters: FilterInput!) {\n bankTransactions(filters: $filters) {\n count\n total\n cursor\n items {\n id\n status\n bookedAt\n amount\n currency\n description\n debtor\n ignoreDebtor\n iban\n account {\n iban\n currency\n ownerName\n name\n }\n transaction {\n id\n customer {\n id\n name\n }\n }\n }\n }\n }\n": DocumentNode<types.ListBankTransactionsQuery, types.Exact<{
filters: types.FilterInput;
}>>;
"\n mutation UpdateBankTransaction($id: ID!, $input: UpdateBankTransactionInput!) {\n updateBankTransaction(id: $id, input: $input) {\n id\n status\n bookedAt\n amount\n currency\n description\n debtor\n iban\n account {\n iban\n currency\n ownerName\n name\n }\n }\n }\n": DocumentNode<types.UpdateBankTransactionMutation, types.Exact<{
id: string;
input: types.UpdateBankTransactionInput;
}>>;
"\n mutation requestBankTransactionSync {\n requestBankTransactionSync {\n status\n }\n }\n": DocumentNode<types.RequestBankTransactionSyncMutation, types.Exact<{
[key: string]: never;
}>>;
"\n fragment PlanFragment on Plan {\n recurrency {\n amount\n unit\n }\n billingDay\n billingTerms\n paymentTerms {\n amount\n unit\n }\n cancellationNotice {\n amount\n unit\n }\n maxDuration {\n amount\n unit\n }\n freeTrial {\n amount\n unit\n }\n }\n": DocumentNode<types.PlanFragmentFragment, unknown>;
"\n fragment PricingFragment on Pricing {\n description\n type\n price\n unit\n strategy\n chargeOnce\n tiers {\n from\n to\n price\n }\n }\n": DocumentNode<types.PricingFragmentFragment, unknown>;
"\n fragment LicensingFragment on Licensing {\n isActive\n maxDuration {\n unit\n amount\n }\n maxActivations\n expirationDate\n codeStrategy\n codeLength\n }\n": DocumentNode<types.LicensingFragmentFragment, unknown>;
"\n \n \n \n\n fragment ProductFragment on Product {\n id\n name\n sku\n currency\n plan {\n ...PlanFragment\n }\n pricing {\n ...PricingFragment\n }\n licensing {\n ...LicensingFragment\n }\n subscriptions {\n count\n total\n cursor\n items {\n id\n product {\n name\n }\n }\n }\n addons {\n count\n total\n cursor\n items {\n id\n name\n }\n }\n canUpgradeTo {\n count\n total\n cursor\n items {\n id\n name\n }\n }\n canDowngradeTo {\n count\n total\n cursor\n items {\n id\n name\n }\n }\n nextProduct {\n id\n name\n }\n taxRateCode\n capabilities {\n name\n isActive\n usageLimit {\n unit\n amount\n }\n }\n metadata\n createdAt\n isActive\n }\n": DocumentNode<types.ProductFragmentFragment, unknown>;
"\n fragment CustomerSessionProductFragment on Product {\n id\n name\n sku\n currency\n pricing {\n ...PricingFragment\n }\n plan {\n ...PlanFragment\n }\n canUpgradeTo {\n items {\n id\n name\n sku\n currency\n pricing {\n ...PricingFragment\n }\n plan {\n ...PlanFragment\n }\n }\n }\n canDowngradeTo {\n items {\n id\n name\n sku\n currency\n pricing {\n ...PricingFragment\n }\n plan {\n ...PlanFragment\n }\n }\n }\n nextProduct {\n id\n name\n sku\n currency\n pricing {\n ...PricingFragment\n }\n plan {\n ...PlanFragment\n }\n }\n }\n": DocumentNode<types.CustomerSessionProductFragmentFragment, unknown>;
"\n mutation CreateProduct($input: CreateProductInput!) {\n createProduct(input: $input) {\n ...ProductFragment\n }\n }\n": DocumentNode<types.CreateProductMutation, types.Exact<{
input: types.CreateProductInput;
}>>;
"\n mutation UpdateProduct($id: ID!, $input: UpdateProductInput!) {\n updateProduct(id: $id, input: $input) {\n ...ProductFragment\n }\n }\n": DocumentNode<types.UpdateProductMutation, types.Exact<{
id: string;
input: types.UpdateProductInput;
}>>;
"\n query GetProduct($id: ID!) {\n product(id: $id) {\n ...ProductFragment\n }\n }\n": DocumentNode<types.GetProductQuery, types.Exact<{
id: string;
}>>;
"\n query GetPriceEstimation($input: PriceEstimationInput) {\n estimatePrice(input: $input) {\n currency\n subtotalAmount\n discountAmount\n taxAmount\n totalAmount\n couponCode\n }\n }\n": DocumentNode<types.GetPriceEstimationQuery, types.Exact<{
input?: types.InputMaybe<types.PriceEstimationInput> | undefined;
}>>;
"\n query ListProducts($filters: FilterInput) {\n products(filters: $filters) {\n count\n total\n cursor\n items {\n ...ProductFragment\n }\n }\n }\n": DocumentNode<types.ListProductsQuery, types.Exact<{
filters?: types.InputMaybe<types.FilterInput> | undefined;
}>>;
"\n fragment SubscriptionFragment on Subscription {\n id\n isActive\n endReason\n startDate\n endDate\n freeTrialStartDate\n freeTrialEndDate\n renewalDate\n lastCancellationDate\n usage {\n amount\n unit\n }\n nextCharge\n createdAt\n customer {\n ...CustomerFragment\n }\n product {\n ...ProductFragment\n }\n discountCoupon {\n ...DiscountCouponFragment\n }\n metadata\n }\n": DocumentNode<types.SubscriptionFragmentFragment, unknown>;
"\n mutation CreateSubscription($input: CreateSubscriptionInput!) {\n createSubscription(input: $input) {\n ...SubscriptionFragment\n }\n }\n": DocumentNode<types.CreateSubscriptionMutation, types.Exact<{
input: types.CreateSubscriptionInput;
}>>;
"\n mutation UpdateSubscription($id: ID!, $input: UpdateSubscriptionInput!) {\n updateSubscription(id: $id, input: $input) {\n ...SubscriptionFragment\n }\n }\n": DocumentNode<types.UpdateSubscriptionMutation, types.Exact<{
id: string;
input: types.UpdateSubscriptionInput;
}>>;
"\n mutation UpgradeSubscription($id: ID!, $input: UpgradeSubscriptionInput!) {\n upgradeSubscription(id: $id, input: $input) {\n ...SubscriptionFragment\n }\n }\n": DocumentNode<types.UpgradeSubscriptionMutation, types.Exact<{
id: string;
input: types.UpgradeSubscriptionInput;
}>>;
"\n mutation DowngradeSubscription($id: ID!, $input: DowngradeSubscriptionInput!) {\n downgradeSubscription(id: $id, input: $input) {\n ...SubscriptionFragment\n }\n }\n": DocumentNode<types.DowngradeSubscriptionMutation, types.Exact<{
id: string;
input: types.DowngradeSubscriptionInput;
}>>;
"\n mutation CancelSubscription($id: ID!, $input: CancelSubscriptionInput!) {\n cancelSubscription(id: $id, input: $input) {\n ...SubscriptionFragment\n }\n }\n": DocumentNode<types.CancelSubscriptionMutation, types.Exact<{
id: string;
input: types.CancelSubscriptionInput;
}>>;
"\n query GetSubscription($id: ID!) {\n subscription(id: $id) {\n ...SubscriptionFragment\n }\n }\n": DocumentNode<types.GetSubscriptionQuery, types.Exact<{
id: string;
}>>;
"\n query ListSubscriptions($filters: FilterInput) {\n subscriptions(filters: $filters) {\n count\n total\n cursor\n items {\n ...SubscriptionFragment\n }\n }\n }\n": DocumentNode<types.ListSubscriptionsQuery, types.Exact<{
filters?: types.InputMaybe<types.FilterInput> | undefined;
}>>;
"\n fragment TransactionFragment on Transaction {\n id\n type\n paymentMethod {\n type\n providerName\n lastDigits\n metadata\n }\n customer {\n id\n name\n }\n invoice {\n id\n number\n }\n creditNote {\n id\n number\n }\n amount\n currency\n reference\n metadata\n createdAt\n updatedAt\n }\n": DocumentNode<types.TransactionFragmentFragment, unknown>;
"\n mutation CreateTransaction($input: CreateTransactionInput!) {\n createTransaction(input: $input) {\n ...TransactionFragment\n }\n }\n": DocumentNode<types.CreateTransactionMutation, types.Exact<{
input: types.CreateTransactionInput;
}>>;
"\n query GetTransaction($id: ID!) {\n transaction(id: $id) {\n ...TransactionFragment\n }\n }\n": DocumentNode<types.GetTransactionQuery, types.Exact<{
id: string;
}>>;
"\n query ListTransactions($filters: FilterInput) {\n transactions(filters: $filters) {\n count\n total\n cursor\n items {\n ...TransactionFragment\n }\n }\n }\n": DocumentNode<types.ListTransactionsQuery, types.Exact<{
filters?: types.InputMaybe<types.FilterInput> | undefined;
}>>;
"\n mutation RemoveTransaction($id: ID!) {\n removeTransaction(id: $id) {\n ...TransactionFragment\n }\n }\n": DocumentNode<types.RemoveTransactionMutation, types.Exact<{
id: string;
}>>;
"\n fragment UserFragment on User {\n id\n firstName\n lastName\n email\n locale\n currency\n theme\n }\n": DocumentNode<types.UserFragmentFragment, unknown>;
"\n query GetUser {\n user {\n ...UserFragment\n memberships {\n ...MemberFragment\n }\n }\n }\n": DocumentNode<types.GetUserQuery, types.Exact<{
[key: string]: never;
}>>;
"\n mutation UpdateUser($input: UpdateUserInput!) {\n updateUser(input: $input) {\n ...UserFragment\n }\n }\n": DocumentNode<types.UpdateUserMutation, types.Exact<{
input: types.UpdateUserInput;
}>>;
};
export declare function gql(source: string): unknown;
export declare function gql(source: "\n fragment AccountMetadataFieldFragment on AccountMetadataField {\n name\n type\n description\n label\n required\n format\n default\n isPersonalInformation\n displayInInvoices\n displayInCheckoutStep\n options {\n label\n value\n }\n }\n"): (typeof documents)["\n fragment AccountMetadataFieldFragment on AccountMetadataField {\n name\n type\n description\n label\n required\n format\n default\n isPersonalInformation\n displayInInvoices\n displayInCheckoutStep\n options {\n label\n value\n }\n }\n"];
export declare function gql(source: "\n \n \n\n fragment AccountFragment on Account {\n id\n name\n isProduction\n billing {\n ...BillingFragment\n }\n settings {\n domain {\n name\n config {\n hostname\n isVerified\n verificationRecord {\n name\n value\n }\n }\n }\n analytics {\n dashboardId\n isAvailableInGlobalDashboard\n }\n theme {\n light {\n logoUrl\n }\n dark {\n logoUrl\n }\n }\n billing {\n taxSchemes\n customTaxRate {\n description\n rate\n code\n }\n logoUrl\n footerText\n numberingFormat {\n invoice\n creditNote\n }\n invoiceFormat {\n default\n rules {\n countryCode\n format\n }\n }\n }\n payments {\n paymentMethods {\n type\n providerName\n isActive\n }\n providers {\n name\n config\n }\n }\n metadata {\n customer {\n ...AccountMetadataFieldFragment\n }\n invoice {\n ...AccountMetadataFieldFragment\n }\n creditNote {\n ...AccountMetadataFieldFragment\n }\n licenseUser {\n ...AccountMetadataFieldFragment\n }\n license {\n ...AccountMetadataFieldFragment\n }\n product {\n ...AccountMetadataFieldFragment\n }\n subscription {\n ...AccountMetadataFieldFragment\n }\n transaction {\n ...AccountMetadataFieldFragment\n }\n billingProfile {\n ...AccountMetadataFieldFragment\n }\n person {\n ...AccountMetadataFieldFragment\n }\n }\n capabilities {\n name\n type\n description\n }\n }\n capabilities {\n canManageLicenses\n canBill\n canCreateApps\n hasCustomerPortal\n hasCheckout\n canCreateCustomDomains\n canInviteMembers\n canCustomizeFields\n hasCancellationNotice\n hasAnalytics\n hasIntegrations\n }\n metadata\n createdAt\n updatedAt\n }\n"): (typeof documents)["\n \n \n\n fragment AccountFragment on Account {\n id\n name\n isProduction\n billing {\n ...BillingFragment\n }\n settings {\n domain {\n name\n config {\n hostname\n isVerified\n verificationRecord {\n name\n value\n }\n }\n }\n analytics {\n dashboardId\n isAvailableInGlobalDashboard\n }\n theme {\n light {\n logoUrl\n }\n dark {\n logoUrl\n }\n }\n billing {\n taxSchemes\n customTaxRate {\n description\n rate\n code\n }\n logoUrl\n footerText\n numberingFormat {\n invoice\n creditNote\n }\n invoiceFormat {\n default\n rules {\n countryCode\n format\n }\n }\n }\n payments {\n paymentMethods {\n type\n providerName\n isActive\n }\n providers {\n name\n config\n }\n }\n metadata {\n customer {\n ...AccountMetadataFieldFragment\n }\n invoice {\n ...AccountMetadataFieldFragment\n }\n creditNote {\n ...AccountMetadataFieldFragment\n }\n licenseUser {\n ...AccountMetadataFieldFragment\n }\n license {\n ...AccountMetadataFieldFragment\n }\n product {\n ...AccountMetadataFieldFragment\n }\n subscription {\n ...AccountMetadataFieldFragment\n }\n transaction {\n ...AccountMetadataFieldFragment\n }\n billingProfile {\n ...AccountMetadataFieldFragment\n }\n person {\n ...AccountMetadataFieldFragment\n }\n }\n capabilities {\n name\n type\n description\n }\n }\n capabilities {\n canManageLicenses\n canBill\n canCreateApps\n hasCustomerPortal\n hasCheckout\n canCreateCustomDomains\n canInviteMembers\n canCustomizeFields\n hasCancellationNotice\n hasAnalytics\n hasIntegrations\n }\n metadata\n createdAt\n updatedAt\n }\n"];
export declare function gql(source: "\n \n fragment MemberFragment on Member {\n id\n name\n role\n email\n account {\n ...AccountFragment\n }\n customer {\n id\n name\n }\n }\n"): (typeof documents)["\n \n fragment MemberFragment on Member {\n id\n name\n role\n email\n account {\n ...AccountFragment\n }\n customer {\n id\n name\n }\n }\n"];
export declare function gql(source: "\n fragment MemberInviteFragment on MemberInvite {\n email\n customer {\n id\n name\n }\n role\n }\n"): (typeof documents)["\n fragment MemberInviteFragment on MemberInvite {\n email\n customer {\n id\n name\n }\n role\n }\n"];
export declare function gql(source: "\n mutation CreateAccount($input: CreateAccountInput!) {\n createAccount(input: $input) {\n ...AccountFragment\n }\n }\n"): (typeof documents)["\n mutation CreateAccount($input: CreateAccountInput!) {\n createAccount(input: $input) {\n ...AccountFragment\n }\n }\n"];
export declare function gql(source: "\n mutation UpdateAccount($input: UpdateAccountInput!) {\n updateAccount(input: $input) {\n ...AccountFragment\n }\n }\n"): (typeof documents)["\n mutation UpdateAccount($input: UpdateAccountInput!) {\n updateAccount(input: $input) {\n ...AccountFragment\n }\n }\n"];
export declare function gql(source: "\n query GetAccount {\n account {\n ...AccountFragment\n }\n }\n"): (typeof documents)["\n query GetAccount {\n account {\n ...AccountFragment\n }\n }\n"];
export declare function gql(source: "\n mutation InviteMember($input: InviteMemberInput!) {\n inviteMember(input: $input) {\n email\n role\n }\n }\n"): (typeof documents)["\n mutation InviteMember($input: InviteMemberInput!) {\n inviteMember(input: $input) {\n email\n role\n }\n }\n"];
export declare function gql(source: "\n mutation AcceptMemberInvite($id: ID!, $input: AcceptMemberInviteInput!) {\n acceptMemberInvite(id: $id, input: $input) {\n