@autofleet/element-pay 2.1.4 → 2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["defaultWrapper: SdkFunctionWrapper","getSdk","defaultWrapper","getSdk","GraphQLClient","defaultWrapper: SdkFunctionWrapper","GraphQLClient","PROVIDER_BRAND_NAME_TO_AUTOFLEET_NAME: Record<string, (typeof FUEL_BRANDS)[keyof typeof FUEL_BRANDS]>","FUEL_BRANDS","PROVIDER_SERVICE_NAME_TO_FUEL_TYPE: Record<string, (typeof FUEL_TYPES)[keyof typeof FUEL_TYPES]>","FUEL_TYPES"],"sources":["../src/generated/organization/sdk.ts","../src/consts.ts","../src/organization.ts","../src/generated/user/sdk.ts","../src/user.ts","../src/pubSub/utils.ts","../src/service-locations/consts.ts","../src/service-locations/utils.ts","../src/service-locations/index.ts"],"sourcesContent":["import { GraphQLClient, RequestOptions } from 'graphql-request';\nimport gql from 'graphql-tag';\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };\nexport type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\ntype GraphQLClientRequestHeaders = RequestOptions['requestHeaders'];\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: { input: string; output: string; }\n String: { input: string; output: string; }\n Boolean: { input: boolean; output: boolean; }\n Int: { input: number; output: number; }\n Float: { input: number; output: number; }\n JSON: { input: any; output: any; }\n JSONObject: { input: any; output: any; }\n};\n\nexport enum AccountType {\n Credit = 'CREDIT',\n PrePaid = 'PRE_PAID'\n}\n\nexport type AdditionalInfoInput = {\n /** Managers/dashboard user phone number that's not used for authentication */\n contactPhoneNumber?: InputMaybe<Scalars['String']['input']>;\n /** If the phone number is a corporate phone. */\n isCorporatePhone?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\n/** Options of calling servicePay */\nexport type AdditionalTransactionInfo = {\n __typename?: 'AdditionalTransactionInfo';\n /** Aggregator for pump unlock such as QUIKQ, P97, CARIQ_OPENLOOP, PDI, etc */\n aggregator?: Maybe<Scalars['String']['output']>;\n /** Job Code entered by driver */\n jobCode?: Maybe<Scalars['String']['output']>;\n /** Odometer of car at time of transaction */\n odometer?: Maybe<Scalars['Int']['output']>;\n /** Pump Number chosen by the driver */\n pumpNumber?: Maybe<Scalars['Int']['output']>;\n};\n\n/** Address of an organization or a transaction */\nexport type Address = {\n __typename?: 'Address';\n city?: Maybe<Scalars['String']['output']>;\n country?: Maybe<Scalars['String']['output']>;\n line1?: Maybe<Scalars['String']['output']>;\n line2?: Maybe<Scalars['String']['output']>;\n state?: Maybe<Scalars['String']['output']>;\n zip?: Maybe<Scalars['String']['output']>;\n};\n\n/** The address provided as an input when creating an organization. */\nexport type AddressInput = {\n city: Scalars['String']['input'];\n country: Scalars['String']['input'];\n line1: Scalars['String']['input'];\n line2?: InputMaybe<Scalars['String']['input']>;\n state: Scalars['String']['input'];\n zip: Scalars['String']['input'];\n};\n\nexport type ApiKeyCreateInput = {\n /** Entity Id */\n entityId?: InputMaybe<Scalars['ID']['input']>;\n /** Api Key Name */\n name: Scalars['String']['input'];\n /** Organization Id */\n organizationId: Scalars['ID']['input'];\n};\n\nexport type ApiKeyCreateOutput = {\n __typename?: 'ApiKeyCreateOutput';\n /** Api Key */\n apiKey: Scalars['String']['output'];\n};\n\nexport type ApiKeyRevokeInput = {\n /** Api Key */\n apiKey: Scalars['String']['input'];\n};\n\nexport type ApiKeyRevokeOutput = {\n __typename?: 'ApiKeyRevokeOutput';\n /** Success */\n success: Scalars['Boolean']['output'];\n};\n\nexport type ApplyForCreditInput = {\n encryptedKey?: InputMaybe<Scalars['String']['input']>;\n /** Encrypted payload byte array encoded as Base64 string from encrypting with publicKey from creditApplicationPublicKey endpoint. */\n encryptedPayload?: InputMaybe<Scalars['String']['input']>;\n id?: InputMaybe<Scalars['String']['input']>;\n iv?: InputMaybe<Scalars['String']['input']>;\n step: ApplyForCreditStep;\n};\n\nexport type ApplyForCreditOutput = {\n __typename?: 'ApplyForCreditOutput';\n id?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum ApplyForCreditStep {\n Beneficiary = 'BENEFICIARY',\n Business = 'BUSINESS',\n ControlPerson = 'CONTROL_PERSON',\n Identification = 'IDENTIFICATION',\n Submission = 'SUBMISSION',\n Yourself = 'YOURSELF'\n}\n\n/** Add or update a policy on a policy id, entity id, or a vehicle id. */\nexport type ApplyPolicyInput = {\n /** Entity to add or update a policy on. */\n entityId?: InputMaybe<Scalars['String']['input']>;\n /** Policy id to update a policy on. */\n policyId: Scalars['String']['input'];\n /** Propagate the policies to children entities. */\n recursively?: InputMaybe<Scalars['Boolean']['input']>;\n /** Vehicle group id to add or update a policy on. */\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type ApplyPolicyOutput = {\n __typename?: 'ApplyPolicyOutput';\n /** Entity id that policy manage request changed. */\n entityId?: Maybe<Scalars['String']['output']>;\n /** Policy id that policy manage request changed. */\n policyId: Scalars['String']['output'];\n /** If the policy gets propagated to children. */\n recursively?: Maybe<Scalars['Boolean']['output']>;\n /** Vehicle group id that policy manage request changed. */\n vehicleGroupId?: Maybe<Scalars['String']['output']>;\n};\n\nexport type BooleanSuccessOutput = {\n __typename?: 'BooleanSuccessOutput';\n success: Scalars['Boolean']['output'];\n};\n\nexport enum BrandingType {\n CarIq = 'CAR_IQ',\n CirckleKPro = 'CIRCKLE_K_PRO',\n FuelMe = 'FUEL_ME'\n}\n\nexport type CardCreateDataInput = {\n description?: InputMaybe<Scalars['String']['input']>;\n embossing: EmbossingInput;\n shippingAddress?: InputMaybe<AddressInput>;\n vehicleId: Scalars['ID']['input'];\n};\n\nexport type CardDetails = {\n __typename?: 'CardDetails';\n /** Name of the Card Holder */\n cardHolder?: Maybe<Scalars['String']['output']>;\n /** Expiration date on the card */\n expiration?: Maybe<Scalars['String']['output']>;\n /** Id of the Card */\n id?: Maybe<Scalars['String']['output']>;\n /** Last four digits of the card number. */\n lastFour?: Maybe<Scalars['String']['output']>;\n /** Type of card: VISA, MASTERCARD, etc. */\n type?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum CardNetwork {\n Mastercard = 'MASTERCARD',\n Visa = 'VISA'\n}\n\nexport type ClientOnboardInput = {\n /** The address of the organization */\n address: AddressInput;\n /** Disable check location when vehicle data is down */\n checkLocationOverride?: InputMaybe<Scalars['Boolean']['input']>;\n /** Cost factor to filter by fuel station cost */\n costFactorEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Organization email. */\n email: Scalars['String']['input'];\n externalId: Scalars['String']['input'];\n integratorId?: InputMaybe<Scalars['ID']['input']>;\n /** Organization name. */\n name: Scalars['String']['input'];\n /** Who onboarded the organization */\n onboardedBy?: InputMaybe<Scalars['String']['input']>;\n phoneNumber: Scalars['String']['input'];\n /** Organization tax id. */\n taxId?: InputMaybe<Scalars['String']['input']>;\n unitsId?: InputMaybe<Scalars['String']['input']>;\n /** If enabled, syncs telematics data for a vehicle and removes ability to edit that vehicle */\n useTspMetadata?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport enum ConnectionType {\n Email = 'EMAIL',\n Sms = 'SMS'\n}\n\nexport type CreditApplicationPublicKeyOutput = {\n __typename?: 'CreditApplicationPublicKeyOutput';\n /** Public Key byte array encoded as Base64 string. */\n publicKey: Scalars['String']['output'];\n};\n\nexport type CreditStatement = {\n __typename?: 'CreditStatement';\n /** Date by which payment id due. */\n dueDate?: Maybe<Scalars['String']['output']>;\n /** Unique Identifier for the credit statement. */\n id?: Maybe<Scalars['String']['output']>;\n /** Amount due for the statement period as a negative number. */\n statementBalance?: Maybe<Scalars['String']['output']>;\n /** Date when credit statement was generated. */\n statementDate?: Maybe<Scalars['String']['output']>;\n /** Start date of the statement period. */\n statementDateFrom?: Maybe<Scalars['String']['output']>;\n /** End date of the statement period. */\n statementDateTo?: Maybe<Scalars['String']['output']>;\n};\n\nexport type CreditStatementDownloadInput = {\n /** Credit Statement Id */\n creditStatementId: Scalars['ID']['input'];\n /** Primary Account Id */\n primaryAccountId: Scalars['ID']['input'];\n};\n\nexport enum CreditStatementSorting {\n /** Sort credit statements by the billing period ascending. */\n BillingPeriodAsc = 'BILLING_PERIOD_ASC',\n /** Sort credit statements by the billing period descending. */\n BillingPeriodDesc = 'BILLING_PERIOD_DESC',\n /** Sort credit statements by the due date ascending. */\n DueDateAsc = 'DUE_DATE_ASC',\n /** Sort credit statements by the due date descending. */\n DueDateDesc = 'DUE_DATE_DESC',\n /** Sort credit statements by the statement balance ascending. */\n StatementBalanceAsc = 'STATEMENT_BALANCE_ASC',\n /** Sort credit statements by the statement balance descending. */\n StatementBalanceDesc = 'STATEMENT_BALANCE_DESC',\n /** Sort credit statements by the date ascending. */\n StatementDateAsc = 'STATEMENT_DATE_ASC',\n /** Sort credit statements by the date descending. */\n StatementDateDesc = 'STATEMENT_DATE_DESC'\n}\n\nexport enum DataType {\n Text = 'TEXT',\n Unknown = 'UNKNOWN'\n}\n\nexport type DaysTimeRanges = {\n __typename?: 'DaysTimeRanges';\n friday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n monday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n saturday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n sunday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n thursday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n tuesday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n wednesday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n};\n\nexport type DaysTimeRangesInput = {\n friday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n monday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n saturday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n sunday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n thursday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n tuesday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n wednesday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n};\n\nexport enum DecisionStatus {\n DecisionAuthorized = 'DECISION_AUTHORIZED',\n DecisionAuthorizedOffline = 'DECISION_AUTHORIZED_OFFLINE',\n DecisionDeclined = 'DECISION_DECLINED',\n DecisionUnknown = 'DECISION_UNKNOWN'\n}\n\nexport enum DigitalWallet {\n DigitalWalletAndroid = 'DIGITAL_WALLET_ANDROID',\n DigitalWalletApple = 'DIGITAL_WALLET_APPLE'\n}\n\nexport enum Direction {\n Asc = 'ASC',\n Desc = 'DESC'\n}\n\nexport type Driver = {\n __typename?: 'Driver';\n additionalInfo?: Maybe<Scalars['JSONObject']['output']>;\n deletedAt?: Maybe<Scalars['String']['output']>;\n email?: Maybe<Scalars['String']['output']>;\n employeeId?: Maybe<Scalars['String']['output']>;\n /** Auth0 id. */\n externalId?: Maybe<Scalars['String']['output']>;\n firstName?: Maybe<Scalars['String']['output']>;\n fullName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n lastName?: Maybe<Scalars['String']['output']>;\n loginType?: Maybe<LoginType>;\n middleName?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['ID']['output']>;\n phoneNumber?: Maybe<Scalars['String']['output']>;\n status?: Maybe<UserStatus>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n username?: Maybe<Scalars['String']['output']>;\n /** List of vehicle groups that this driver belongs to. */\n vehicleGroups: Array<VehicleGroup>;\n};\n\nexport type DriverCreateInput = {\n email?: InputMaybe<Scalars['String']['input']>;\n employeeId?: InputMaybe<Scalars['String']['input']>;\n firstName: Scalars['String']['input'];\n isCorporatePhone?: InputMaybe<Scalars['Boolean']['input']>;\n lastName: Scalars['String']['input'];\n middleName?: InputMaybe<Scalars['String']['input']>;\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n vehicleGroups: Array<Scalars['ID']['input']>;\n};\n\nexport type DriverReport = {\n __typename?: 'DriverReport';\n /** Data stream pertaining to the report. */\n data?: Maybe<Scalars['String']['output']>;\n /** Specifies errors if the report didn't generate. */\n error?: Maybe<Scalars['String']['output']>;\n /** Whether drivers exist in this report. */\n exists?: Maybe<Scalars['Boolean']['output']>;\n /** File name of the report. */\n fileName?: Maybe<Scalars['String']['output']>;\n};\n\nexport type DriverReportDownloadInput = {\n /** Filter on entities or vehicle groups. */\n filterType: DriverReportFilterType;\n id: Scalars['ID']['input'];\n /** Include only onboarded or offboarded drivers */\n type: DriverReportType;\n};\n\nexport enum DriverReportFilterType {\n /** Include only entities in DriverReport. */\n Entity = 'ENTITY',\n /** Include only vehicle groups in DriverReport. */\n VehicleGroup = 'VEHICLE_GROUP'\n}\n\nexport enum DriverReportType {\n /** Include only offboarded drivers, such as deactivated and deleted drivers. */\n OffboardedDrivers = 'OFFBOARDED_DRIVERS',\n /** Include only onboarded drivers, such as invited and onboarded drivers. */\n OnboardedDrivers = 'ONBOARDED_DRIVERS'\n}\n\nexport type DriverSpending = {\n __typename?: 'DriverSpending';\n id: Scalars['ID']['output'];\n name: Scalars['String']['output'];\n percentageChange?: Maybe<Scalars['String']['output']>;\n totalCurrentPeriod?: Maybe<Scalars['String']['output']>;\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n transactionsCount?: Maybe<Scalars['Int']['output']>;\n vehiclesCount?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type DriverUpdateInput = {\n employeeId?: InputMaybe<Scalars['String']['input']>;\n firstName?: InputMaybe<Scalars['String']['input']>;\n id: Scalars['ID']['input'];\n isCorporatePhone?: InputMaybe<Scalars['Boolean']['input']>;\n lastName?: InputMaybe<Scalars['String']['input']>;\n middleName?: InputMaybe<Scalars['String']['input']>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n vehicleGroups: Array<Scalars['ID']['input']>;\n};\n\nexport type DriversFilterInput = {\n /** Filter on vehicle group id or user statuses. */\n filter: DriversFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Sort options for driversFilter which includes ordering by inserted at, first name, last name, email, phone number, and employee id. */\n sortOptions?: InputMaybe<DriversSortOptions>;\n};\n\nexport type DriversFilterOptions = {\n /** Filter on user statuses such as invited, onboarded, deleted, etc. */\n statuses?: InputMaybe<Array<InputMaybe<UserStatus>>>;\n /** Filter on a vehicle group id. */\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n};\n\n/** Order by different values for the driversFilter query. */\nexport enum DriversSortField {\n Email = 'EMAIL',\n EmployeeId = 'EMPLOYEE_ID',\n FirstName = 'FIRST_NAME',\n InsertedAt = 'INSERTED_AT',\n LastName = 'LAST_NAME',\n PhoneNumber = 'PHONE_NUMBER'\n}\n\nexport type DriversSortOptions = {\n /** Sort by direction such as ascending or descending. */\n direction: SortDirection;\n /** Order by values such as inserted at, first name, last name, email, phone number, and employee id. */\n orderBy: DriversSortField;\n};\n\nexport type EmbossingInput = {\n externalId: Scalars['String']['input'];\n line1: Scalars['String']['input'];\n line2: Scalars['String']['input'];\n line3: Scalars['String']['input'];\n maintenanceId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type EntitiesFilterInput = {\n /** Filter by parentId and if to include the children. */\n filter: EntitiesFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Sort by ordering by the name and direction based on first name, last name, or both. */\n sortOptions?: InputMaybe<EntitiesSortOptions>;\n};\n\nexport type EntitiesFilterOptions = {\n /** Whether to include child entities of the parent id. */\n includeChildren?: InputMaybe<Scalars['Boolean']['input']>;\n /** The parent entity to filter on. */\n parentId?: InputMaybe<Scalars['ID']['input']>;\n};\n\nexport type EntitiesPage = {\n __typename?: 'EntitiesPage';\n /** A list of entities */\n data?: Maybe<Array<Maybe<Entity>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport enum EntitiesSortField {\n Name = 'NAME'\n}\n\nexport type EntitiesSortOptions = {\n /** Specify the direction of ordering: ASC or DESC. */\n direction: SortDirection;\n /** Order by the Name for EntitiesFilter. */\n orderBy: EntitiesSortField;\n};\n\nexport type Entity = {\n __typename?: 'Entity';\n code?: Maybe<Scalars['String']['output']>;\n /** Cost factor number to indicate station price */\n costFactor?: Maybe<Scalars['Int']['output']>;\n /** Client ID for an organization. */\n customerId?: Maybe<Scalars['String']['output']>;\n /** If this record was deleted, specifies when it was deleted. */\n deletedAt?: Maybe<Scalars['String']['output']>;\n /** Entity description. */\n description?: Maybe<Scalars['String']['output']>;\n /** To optionally store your own id to map between different systems. */\n externalId?: Maybe<Scalars['String']['output']>;\n /** Information on the entities finances: payment provider, account is credit or prepaid, issuerBin. */\n financialConfig?: Maybe<FinancialConfig>;\n /** How the account is funded: ACH or Parent. */\n funding?: Maybe<FundingSource>;\n /** Deprecated method for creating a credit account. */\n hasFinance?: Maybe<Scalars['Boolean']['output']>;\n id: Scalars['ID']['output'];\n /** When the entity record was inserted. */\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Entity name */\n name?: Maybe<Scalars['String']['output']>;\n /** Organization information that belongs to this entity. */\n organization?: Maybe<Organization>;\n /** Entity information of parent, if there is one. */\n parent?: Maybe<Entity>;\n /** ID of parent entity, if there is one. */\n parentId?: Maybe<Scalars['ID']['output']>;\n path?: Maybe<Scalars['String']['output']>;\n /** Services allowed on the entity: tolling, fueling, etc */\n policies?: Maybe<Array<Maybe<Policy>>>;\n /** When the entity record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type EntityAccountInfo = {\n __typename?: 'EntityAccountInfo';\n /** Credit account attached to this entity. */\n account?: Maybe<EntityPrimaryAccount>;\n /** Whether your balance will be automatically paid for each month. */\n autoPay?: Maybe<Scalars['Boolean']['output']>;\n /** Credit remaining this month. */\n availableCreditLimit?: Maybe<Scalars['String']['output']>;\n /** For Credit, it's the amount due for the current period. For pre-paid, it's the available amount to transact. */\n balance?: Maybe<Scalars['String']['output']>;\n billingCycle?: Maybe<Scalars['String']['output']>;\n /** Current Billing Period End */\n billingPeriodEnd?: Maybe<Scalars['String']['output']>;\n /** Current Billing Period Start */\n billingPeriodStart?: Maybe<Scalars['String']['output']>;\n /** Card details for this entity account. */\n cardDetails?: Maybe<Array<Maybe<CardDetails>>>;\n /** Monthly limit on credit. */\n creditLimit?: Maybe<Scalars['String']['output']>;\n dueDate?: Maybe<Scalars['String']['output']>;\n /** Is Invoice Issues Past Due Date */\n isInvoicePastDue?: Maybe<Scalars['Boolean']['output']>;\n /** Name of the account */\n name?: Maybe<Scalars['String']['output']>;\n /** Next Auto Pay Date */\n nextAutoPay?: Maybe<Scalars['String']['output']>;\n /** Balance that has been used up with credit this month. */\n outstandingBalance?: Maybe<Scalars['String']['output']>;\n /** Payment Provider that facilitates the payment such as I2C, Discover, etc. */\n paymentProvider?: Maybe<PaymentProviderEnum>;\n /** Balance on pending transactions. */\n pendingTransactionsBalance?: Maybe<Scalars['String']['output']>;\n /** Type of account: CREDIT or PRE_PAID. */\n type?: Maybe<AccountType>;\n};\n\nexport type EntityCreateInput = {\n /** Description of the entity. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** To optionally store your own id to map between different systems. */\n externalId?: InputMaybe<Scalars['String']['input']>;\n /** How the account is funded: ACH or Parent. */\n funding?: InputMaybe<FundingSource>;\n /** Deprecated method for creating a credit account. */\n hasFinance?: InputMaybe<Scalars['Boolean']['input']>;\n /** Name of the entity. */\n name: Scalars['String']['input'];\n /** Organization Id this entity belongs to. */\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n /** ID of parent entity, if there is one. */\n parentId?: InputMaybe<Scalars['ID']['input']>;\n};\n\nexport type EntityFilter = {\n /** Entity id to filter on for search filter */\n entityId?: InputMaybe<Scalars['String']['input']>;\n /** Include the children of the entity specified. */\n includeChildren?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type EntityPrimaryAccount = {\n __typename?: 'EntityPrimaryAccount';\n /** Bank routing number, a 9-digit number that identifies a bank/other financial institution. */\n bankRoutingNo?: Maybe<Scalars['String']['output']>;\n /** The credit limit for the account. */\n creditLimit?: Maybe<Scalars['String']['output']>;\n /** Entity information for the account holding this entity. */\n entity?: Maybe<Entity>;\n /** The external account number for the account. */\n externalAccountNumber?: Maybe<Scalars['String']['output']>;\n id: Scalars['ID']['output'];\n /** Whether this primary account is active or not. */\n isActive?: Maybe<Scalars['Boolean']['output']>;\n /** Deprecated. Has physical card, ex) Voyager accounts. */\n isPhysicalCard?: Maybe<Scalars['Boolean']['output']>;\n /** Which service will this account fund: fueling, tolling, parking, etc. */\n merchantCategory?: Maybe<MerchantCategory>;\n /** Specifies the id and name of the payment provider record. */\n paymentProvider?: Maybe<PaymentProvider>;\n /** Unique identification for a financial entity. */\n paymentProviderId?: Maybe<Scalars['ID']['output']>;\n /** Identification of the card program from I2C */\n programId?: Maybe<Scalars['String']['output']>;\n /** Supported programs/features for the entity. */\n programSupports?: Maybe<ProgramSupports>;\n /** Only for pre-paid. It's the account number from I2C to fund the account. */\n pseudoDda?: Maybe<Scalars['String']['output']>;\n /** Payment Status */\n status?: Maybe<PrimaryAccountStatus>;\n};\n\nexport type ExchangeAuthorizationCodeInput = {\n code: Scalars['String']['input'];\n redirectUri: Scalars['String']['input'];\n universalLoginClientId: Scalars['String']['input'];\n universalLoginClientSecret: Scalars['String']['input'];\n};\n\nexport enum FeeNetworkDesignationType {\n ExtendedNetwork = 'EXTENDED_NETWORK',\n InNetwork = 'IN_NETWORK',\n OutOfNetwork = 'OUT_OF_NETWORK'\n}\n\nexport type FinancialConfig = {\n __typename?: 'FinancialConfig';\n /** Type of account: CREDIT or PRE_PAID */\n accountType?: Maybe<AccountType>;\n entityId: Scalars['ID']['output'];\n id: Scalars['ID']['output'];\n /** When the financial config record was created. */\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Bank Identification Number. It's the first 4-6 numbers on a payment card. */\n issuerBin?: Maybe<Scalars['String']['output']>;\n /** Specifies the id and name of the payment provider record. */\n paymentProvider?: Maybe<PaymentProvider>;\n /** When the financial config record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type FuelRestrictions = {\n __typename?: 'FuelRestrictions';\n /** Amount per day, usually around $125. */\n amountPerDay?: Maybe<Scalars['String']['output']>;\n /** Also known as purchase limit. Usually between $5 and $1000. */\n amountPerTransaction?: Maybe<Scalars['String']['output']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: Maybe<Scalars['Boolean']['output']>;\n /** Define which days and times vehicles can transact at for fueling. */\n daysOfWeek?: Maybe<PurchaseDaysOfWeek>;\n /** Defines to and from times that a vehicle can purchase at. */\n hours?: Maybe<PurchaseTimeRange>;\n isEnabled?: Maybe<Scalars['Boolean']['output']>;\n /** Number of transactions */\n noOfTransactions?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type FuelRestrictionsInput = {\n /** Amount per day, usually around $125. */\n amountPerDay?: InputMaybe<Scalars['String']['input']>;\n /** Also known as purchas limit. Usually between $5 and $1000. */\n amountPerTransaction?: InputMaybe<Scalars['String']['input']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: InputMaybe<Scalars['Boolean']['input']>;\n /** Define which days and times vehicles can transact at for fueling. */\n daysOfWeek?: InputMaybe<PurchaseDaysOfWeekInput>;\n /** Defines to and from times that a vehicle can purchase at. */\n hours?: InputMaybe<PurchaseTimeRangeInput>;\n isEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Number of transactions */\n noOfTransactions?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport enum FundingSource {\n /** Electronic bank transfer. */\n Ach = 'ACH',\n /** Funding is done through the parent entities funding source. */\n Parent = 'PARENT',\n Unknown = 'UNKNOWN'\n}\n\nexport type GenerateTokenCoFInput = {\n paymentProviderAccountId: Scalars['String']['input'];\n vehicleId: Scalars['String']['input'];\n};\n\nexport type GenerateTokenCoFOutput = {\n __typename?: 'GenerateTokenCoFOutput';\n token: Scalars['String']['output'];\n};\n\nexport type Geobounds = {\n __typename?: 'Geobounds';\n /** Radius in miles around the point. */\n radius?: Maybe<Scalars['Float']['output']>;\n /** Well-known text, a point for geolocation. */\n wkt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GeotabDriveLogin = {\n __typename?: 'GeotabDriveLogin';\n /** Sign in token */\n access_token: Scalars['String']['output'];\n /** Expires in */\n expires_in: Scalars['Int']['output'];\n /** Vehicle ID. Only returned if user is assigned to only 1 vehicle, otherwise null. */\n vehicleId?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GeotabDriveLoginInput = {\n /** Database Name */\n databaseName: Scalars['String']['input'];\n /** Email or Employee ID */\n externalId: Scalars['String']['input'];\n /** Session ID */\n sessionId: Scalars['String']['input'];\n};\n\nexport type GetCreditStatementsInput = {\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n paymentProviderAccountId?: InputMaybe<Scalars['String']['input']>;\n /** Sort based ascending or descending on statement date, billing period, due date, or statement balance */\n sorting?: InputMaybe<CreditStatementSorting>;\n};\n\nexport type GetCreditStatementsOutput = {\n __typename?: 'GetCreditStatementsOutput';\n /** List of statements with the date, due date, and balances */\n data?: Maybe<Array<Maybe<CreditStatement>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type GetInvoicePaymentsInput = {\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n paymentProviderAccountId?: InputMaybe<Scalars['String']['input']>;\n /** Sort on date, description, status, and amounts ascending and descending. */\n sorting?: InputMaybe<InvoicePaymentSorting>;\n};\n\nexport type GetInvoicePaymentsOutput = {\n __typename?: 'GetInvoicePaymentsOutput';\n /** List of credit payments on a payment provider account using ppaid with an option of sorting. */\n data?: Maybe<Array<Maybe<InvoicePayment>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type GetUserEntityResponse = {\n __typename?: 'GetUserEntityResponse';\n code?: Maybe<Scalars['String']['output']>;\n /** Cost factor number to indicate station price */\n costFactor?: Maybe<Scalars['Int']['output']>;\n /** Client ID for an organization. */\n customerId?: Maybe<Scalars['String']['output']>;\n /** If this record was deleted, specifies when it was deleted. */\n deletedAt?: Maybe<Scalars['String']['output']>;\n /** Entity description. */\n description?: Maybe<Scalars['String']['output']>;\n /** To optionally store your own id to map between different systems. */\n externalId?: Maybe<Scalars['String']['output']>;\n /** Information on the entities finances: payment provider, account is credit or prepaid, issuerBin. */\n financialConfig?: Maybe<FinancialConfig>;\n /** How the account is funded: ACH or Parent. */\n funding?: Maybe<FundingSource>;\n /** Deprecated method for creating a credit account. */\n hasFinance?: Maybe<Scalars['Boolean']['output']>;\n id: Scalars['ID']['output'];\n /** When the entity record was inserted. */\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Entity name */\n name?: Maybe<Scalars['String']['output']>;\n /** Organization information that belongs to this entity. */\n organization?: Maybe<Organization>;\n /** Entity information of parent, if there is one. */\n parent?: Maybe<Entity>;\n /** ID of parent entity, if there is one. */\n parentId?: Maybe<Scalars['ID']['output']>;\n path?: Maybe<Scalars['String']['output']>;\n /** Primary account for the entity. */\n paymentProviderAccount?: Maybe<EntityPrimaryAccount>;\n /** Services allowed on the entity: tolling, fueling, etc */\n policies?: Maybe<Array<Maybe<Policy>>>;\n /** When the entity record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GetUserUserResponse = {\n __typename?: 'GetUserUserResponse';\n /** Specifies if phone number is a corporate phone. */\n additionalInfo?: Maybe<UserAdditionalInfo>;\n email?: Maybe<Scalars['String']['output']>;\n employeeId?: Maybe<Scalars['String']['output']>;\n /** Entity the user belongs to. */\n entity?: Maybe<GetUserEntityResponse>;\n /** Auth0 Id */\n externalId?: Maybe<Scalars['String']['output']>;\n firstName?: Maybe<Scalars['String']['output']>;\n fullName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n lastName?: Maybe<Scalars['String']['output']>;\n /** Email or phone */\n loginType?: Maybe<LoginType>;\n /** List of loyalty accounts for the user. */\n loyaltyAccounts?: Maybe<Array<Maybe<UserLoyaltyAccountForUser>>>;\n middleName?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['ID']['output']>;\n phoneNumber?: Maybe<Scalars['String']['output']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: Maybe<RoleType>;\n status?: Maybe<UserStatus>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** deprecated */\n username?: Maybe<Scalars['String']['output']>;\n /** Return a list of vehicle groups. */\n vehicleGroups?: Maybe<Array<Maybe<VehicleGroup>>>;\n};\n\nexport type HashMap = {\n __typename?: 'HashMap';\n key: Scalars['String']['output'];\n value: Scalars['String']['output'];\n};\n\nexport type HashMapInput = {\n key: Scalars['String']['input'];\n value: Scalars['String']['input'];\n};\n\nexport type IndividualVehicle = {\n __typename?: 'IndividualVehicle';\n cardData?: Maybe<VoyagerCardData>;\n createdAt?: Maybe<Scalars['String']['output']>;\n /** Details on a vehicle such as model, make, year, trim, manufacture plant, and number of doors. */\n details?: Maybe<VehicleDetails>;\n driverCount?: Maybe<Scalars['Int']['output']>;\n /** Environment of vehicle such as outside air tempurature, engine oil tempurature, and coolant tempurature. */\n environment?: Maybe<VehicleEnvironment>;\n /** Information of the vehicle's fuel such as the level, percent, and fuel used on current trip. */\n fuel?: Maybe<VehicleFuel>;\n id?: Maybe<Scalars['ID']['output']>;\n lastTransactionDate?: Maybe<Scalars['String']['output']>;\n /** Location of vehicle (lat, long) and information about the satellite. */\n location?: Maybe<VehicleLocation>;\n /** Mechanical information on the vehicle such as if the ignition is on, engine speed, tire pressure of each tire, and engine oil life remaining. */\n mechanical?: Maybe<VehicleMechanical>;\n /** Information on movement of vehicle such as if it's driving, odometer, and speed. */\n movement?: Maybe<VehicleMovement>;\n registrationData?: Maybe<Scalars['JSONObject']['output']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: Maybe<Array<Maybe<ServiceType>>>;\n /** Information on the vehicle such as name, serial number, source, license plate, imei, etc. */\n type?: Maybe<VehicleType>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** Information on the vehicle group that this vehicle belongs to you. */\n vehicleGroup?: Maybe<VehicleGroup>;\n vin: Scalars['String']['output'];\n};\n\nexport type IndividualVehicleGroup = {\n __typename?: 'IndividualVehicleGroup';\n code?: Maybe<Scalars['String']['output']>;\n /** Description of a vehicle group. */\n description?: Maybe<Scalars['String']['output']>;\n /** Number of drivers in this vehicle group. */\n driverCount?: Maybe<Scalars['Int']['output']>;\n /** Entity information on this vehicle group. */\n entity?: Maybe<Entity>;\n externalId?: Maybe<Scalars['String']['output']>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Job code option values */\n jobCodeOptions?: Maybe<Array<Maybe<Scalars['String']['output']>>>;\n /** Date of last transaction. */\n lastTransactionDate?: Maybe<Scalars['String']['output']>;\n /** Name of the vehicle group. */\n name?: Maybe<Scalars['String']['output']>;\n /** Organization information on this vehicle group. */\n organization?: Maybe<Organization>;\n /** Services allowed on the entity: tolling, fueling, etc */\n policies?: Maybe<Array<Maybe<Policy>>>;\n /** Settings for enabling job code and driver entered odometer */\n settings?: Maybe<VehicleGroupSettings>;\n /** Spend restrictions on this vehicle group such as amount per day, amount per transaction, no of transaction, days of week and times to enabled fuel use. */\n spendRestrictions?: Maybe<SpendRestrictions>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** Number of vehicles in this vehicle group. */\n vehicleCount?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type InvoicePayment = {\n __typename?: 'InvoicePayment';\n /** Amount due for payment. */\n amount?: Maybe<Scalars['String']['output']>;\n /** Date of payment */\n date?: Maybe<Scalars['String']['output']>;\n /** Description of a payment information. */\n description?: Maybe<Scalars['String']['output']>;\n /** An error from I2C. Ex: Invalid Bank Routing Number */\n errorDescription?: Maybe<Scalars['String']['output']>;\n /** Auto payment or one time payment */\n frequency?: Maybe<InvoicePaymentFrequency>;\n /** Method of payment */\n paymentMethod?: Maybe<Scalars['String']['output']>;\n /** Types such as PENDING, POSTED, or FAILED. */\n status?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum InvoicePaymentFrequency {\n /** Invoice will be paid automatically */\n AutoPayment = 'AUTO_PAYMENT',\n /** Invoice will be paid just once */\n OneTimePayment = 'ONE_TIME_PAYMENT'\n}\n\n/** Sorting for creditPaymentsList */\nexport enum InvoicePaymentSorting {\n /** Sort by amount in ascending order. */\n AmountAsc = 'AMOUNT_ASC',\n /** Sort by amount in descending order. */\n AmountDesc = 'AMOUNT_DESC',\n /** Sort by date in ascending order. */\n DateAsc = 'DATE_ASC',\n /** Sort by date in descending order */\n DateDesc = 'DATE_DESC',\n /** Sort by description in ascending order. */\n DescriptionAsc = 'DESCRIPTION_ASC',\n /** Sort by description in descending order. */\n DescriptionDesc = 'DESCRIPTION_DESC',\n /** Sort by status in ascending order. */\n StatusAsc = 'STATUS_ASC',\n /** Sort by status in descending order. */\n StatusDesc = 'STATUS_DESC'\n}\n\nexport enum JobCodeEntryOptionEnum {\n Freeform = 'FREEFORM',\n Predefined = 'PREDEFINED'\n}\n\nexport type JobCodeOptionsInput = {\n machineGroupId: Scalars['String']['input'];\n /** job_code for job code. In the future we might support other options like trailer_number, etc */\n optionName: Scalars['String']['input'];\n};\n\nexport type JobCodeOptionsOutput = {\n __typename?: 'JobCodeOptionsOutput';\n optionValues?: Maybe<OptionValues>;\n};\n\nexport type JobCodeOptionsUpsertInput = {\n machineGroupId: Scalars['String']['input'];\n /** job_code for job code. In the future we might support other options like trailer_number, etc */\n optionName: Scalars['String']['input'];\n values?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n};\n\nexport type JobCodeOptionsUpsertOutput = {\n __typename?: 'JobCodeOptionsUpsertOutput';\n optionValues?: Maybe<OptionValues>;\n};\n\nexport enum LanguageType {\n En = 'EN',\n Es = 'ES'\n}\n\nexport type Location = {\n __typename?: 'Location';\n latitude?: Maybe<Scalars['Float']['output']>;\n longitude?: Maybe<Scalars['Float']['output']>;\n};\n\nexport type Login = {\n __typename?: 'Login';\n access_token?: Maybe<Scalars['String']['output']>;\n expires_in?: Maybe<Scalars['Int']['output']>;\n id_token?: Maybe<Scalars['String']['output']>;\n refresh_token?: Maybe<Scalars['String']['output']>;\n scope?: Maybe<Scalars['String']['output']>;\n token_type?: Maybe<Scalars['String']['output']>;\n};\n\nexport type LoginOtpResponse = {\n __typename?: 'LoginOtpResponse';\n error?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport enum LoginType {\n Email = 'EMAIL',\n External = 'EXTERNAL',\n Phone = 'PHONE',\n Unknown = 'UNKNOWN'\n}\n\nexport type LoginUniversalResponse = {\n __typename?: 'LoginUniversalResponse';\n authUrl: Scalars['String']['output'];\n state: Scalars['String']['output'];\n success: Scalars['Boolean']['output'];\n};\n\nexport type MachineLogin = {\n __typename?: 'MachineLogin';\n access_token?: Maybe<Scalars['String']['output']>;\n};\n\nexport type MachineLoginInput = {\n /** Auth0 Client Id */\n client_id: Scalars['String']['input'];\n /** Auth0 Client Secret */\n client_secret: Scalars['String']['input'];\n};\n\nexport type MachineTokenizeUserInput = {\n userId: Scalars['ID']['input'];\n};\n\nexport type MachineUserToken = {\n __typename?: 'MachineUserToken';\n access_token: Scalars['String']['output'];\n expires_in: Scalars['Int']['output'];\n};\n\n/** Services Car IQ offers */\nexport enum MerchantCategory {\n /** Paying for a car wash. */\n CarWash = 'CAR_WASH',\n /** Paying at an electric charging station. */\n Charging = 'CHARGING',\n /** Paying at a gas station. */\n Fueling = 'FUELING',\n General = 'GENERAL',\n /** Paying for meintenance services. */\n Maintenance = 'MAINTENANCE',\n /** Paying for parking. */\n Parking = 'PARKING',\n /** Paying for a toll on the road such as bridges and carpool lanes. */\n Toll = 'TOLL'\n}\n\nexport type Mutation = {\n __typename?: 'Mutation';\n Pass?: Maybe<Scalars['JSON']['output']>;\n /** Create API key. */\n apiKeyCreate?: Maybe<ApiKeyCreateOutput>;\n /** Revoke API key. */\n apiKeyRevoke?: Maybe<ApiKeyRevokeOutput>;\n /** Apply for credit */\n applyForCredit: ApplyForCreditOutput;\n clientOnboard?: Maybe<Entity>;\n /** Create a new entity. */\n entityCreate?: Maybe<Entity>;\n /** Authenticate a user from universal login using Google Auth, Email OTP, etc */\n exchangeAuthorizationCode?: Maybe<Login>;\n /** Generate token for Card on File. */\n generateTokenCoF: GenerateTokenCoFOutput;\n /** Login in within the Geotab Drive App. */\n geotabDriveLogin?: Maybe<GeotabDriveLogin>;\n /** Add or update an option for the job code options values */\n jobCodeOptionsUpsert?: Maybe<JobCodeOptionsUpsertOutput>;\n linkTokenCreate?: Maybe<Scalars['String']['output']>;\n /** Login in with a machine. */\n machineLogin?: Maybe<MachineLogin>;\n machineTokenizeUser?: Maybe<MachineUserToken>;\n /** Create a new organization to onboard a fleet. */\n organizationCreate?: Maybe<Organization>;\n /** Create a policy on an organization to enable services like fueling, tolling, tap to pay, etc. */\n policyCreate?: Maybe<PolicyCreateOutput>;\n /** Delete a policy for an organization. */\n policyDelete?: Maybe<PolicyDeleteOutput>;\n /** Add or remove policies using a policy id, entity id, or vehicle group id. */\n policyManage?: Maybe<PolicyManageOutput>;\n /** Process Card. */\n processCardCoF: BooleanSuccessOutput;\n /** Provision Card. */\n provisionCard: ProvisionCardResponse;\n /** Provision Status Update. */\n provisionStatusUpdate: BooleanSuccessOutput;\n reportIssue?: Maybe<BooleanSuccessOutput>;\n /** Create a new risk rule on a vehicle group. */\n riskRuleCreate?: Maybe<RiskRuleGetOutput>;\n /** Delet a risk rule using the risk rule id. */\n riskRuleDelete?: Maybe<BooleanSuccessOutput>;\n /** Update a risk rule based on the risk rule id. */\n riskRuleUpdate?: Maybe<RiskRuleGetOutput>;\n /** Pay for fuel at a given station */\n servicePay?: Maybe<ServicePayOutput>;\n /** Create Standalone Cards */\n standaloneCardCreate: BooleanSuccessOutput;\n /** Store Card info. */\n storeCardCoF: StoreCardCoFOutput;\n /** Update a transaction such as the Job Code */\n transactionUpdate?: Maybe<TransactionPage>;\n /** Create a TTP account for a given device. */\n ttpTokenization?: Maybe<TtpTokenizationOutput>;\n /** Sign up using activation code */\n userActivationCodeSignUp?: Maybe<BooleanSuccessOutput>;\n /** Create a new user for an organization */\n userCreate?: Maybe<User>;\n /** Delete a user from the platform */\n userDelete?: Maybe<Scalars['String']['output']>;\n /** Let a user change their password to access their account. */\n userForgotPassword?: Maybe<Scalars['String']['output']>;\n /** Authenticate a user for use of APIs */\n userLogin?: Maybe<Login>;\n /** Send otp code to a phone or email for verification. */\n userLoginOtpRequest?: Maybe<LoginOtpResponse>;\n /** Verification code from an otp response to verify phone or email. */\n userLoginOtpVerify?: Maybe<Login>;\n /** Request a user login from Universal Login */\n userLoginUniversal?: Maybe<LoginUniversalResponse>;\n /** Link a user to a Circle K loyalty account */\n userLoyaltyAccountAdd?: Maybe<UserLoyaltyAccount>;\n /** Delete a user from a Circle K loyalty account using the ID of the loyalty account */\n userLoyaltyAccountDelete?: Maybe<BooleanSuccessOutput>;\n /** Update mobile device user token for push notifications */\n userNotificationTokenUpdate?: Maybe<UserNotificationTokenUpdateOutput>;\n /** Remove a user from the platform temporarily */\n userOffboard?: Maybe<Scalars['String']['output']>;\n /** Refresh the token for a user for authentication. */\n userRefreshToken?: Maybe<Login>;\n /** Set a password for a user. */\n userSetPassword?: Maybe<Scalars['String']['output']>;\n /** Update a users information */\n userUpdate?: Maybe<User>;\n /** Validate token for Card on File. */\n validateTokenCoF: ValidateTokenCoFOutput;\n /** Create a new vehicle */\n vehicleCreate?: Maybe<Scalars['String']['output']>;\n /** Add field to Vehicle Fields Configuration */\n vehicleFieldsAdd?: Maybe<VehicleFieldsConfiguration>;\n /** Add field to Vehicle Fields Configuration */\n vehicleFieldsDelete?: Maybe<BooleanSuccessOutput>;\n /** Add field to Vehicle Fields Configuration */\n vehicleFieldsUpdate?: Maybe<VehicleFieldsConfiguration>;\n /** Create a new vehicle group */\n vehicleGroupCreate?: Maybe<IndividualVehicleGroup>;\n /** Delete a vehicle group */\n vehicleGroupDelete?: Maybe<Scalars['String']['output']>;\n /** Add a driver to a vehicle group */\n vehicleGroupDriversAdd?: Maybe<VehicleGroup>;\n /** Remove a vehicle from a vehicle group */\n vehicleGroupDriversRemove?: Maybe<VehicleGroup>;\n /** Set spend restrictions on a vehicle group */\n vehicleGroupSpendRestrictionsSet?: Maybe<SpendRestrictions>;\n /** Update a vehicle group's information */\n vehicleGroupUpdate?: Maybe<IndividualVehicleGroup>;\n /** Add vehicles to a vehicle group */\n vehicleGroupVehiclesAdd?: Maybe<VehicleGroup>;\n /** Remove a vehicle from a vehicle group */\n vehicleGroupVehiclesRemove?: Maybe<VehicleGroup>;\n /** Update a vehicle's information */\n vehicleUpdate?: Maybe<Scalars['String']['output']>;\n /** Batch vehicles onboard */\n vehiclesOnboard?: Maybe<VehiclesOnboardOutputList>;\n};\n\n\nexport type MutationPassArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationApiKeyCreateArgs = {\n input: ApiKeyCreateInput;\n};\n\n\nexport type MutationApiKeyRevokeArgs = {\n input: ApiKeyRevokeInput;\n};\n\n\nexport type MutationApplyForCreditArgs = {\n input?: InputMaybe<ApplyForCreditInput>;\n};\n\n\nexport type MutationClientOnboardArgs = {\n input: ClientOnboardInput;\n};\n\n\nexport type MutationEntityCreateArgs = {\n input: EntityCreateInput;\n};\n\n\nexport type MutationExchangeAuthorizationCodeArgs = {\n input: ExchangeAuthorizationCodeInput;\n};\n\n\nexport type MutationGenerateTokenCoFArgs = {\n input: GenerateTokenCoFInput;\n};\n\n\nexport type MutationGeotabDriveLoginArgs = {\n input: GeotabDriveLoginInput;\n};\n\n\nexport type MutationJobCodeOptionsUpsertArgs = {\n input?: InputMaybe<JobCodeOptionsUpsertInput>;\n};\n\n\nexport type MutationMachineLoginArgs = {\n input: MachineLoginInput;\n};\n\n\nexport type MutationMachineTokenizeUserArgs = {\n input?: InputMaybe<MachineTokenizeUserInput>;\n};\n\n\nexport type MutationOrganizationCreateArgs = {\n input: OrganizationCreateInput;\n};\n\n\nexport type MutationPolicyCreateArgs = {\n input?: InputMaybe<PolicyCreateInput>;\n};\n\n\nexport type MutationPolicyDeleteArgs = {\n input?: InputMaybe<PolicyDeleteInput>;\n};\n\n\nexport type MutationPolicyManageArgs = {\n input?: InputMaybe<PolicyManageInput>;\n};\n\n\nexport type MutationProcessCardCoFArgs = {\n input: ProcessCardCoFInput;\n};\n\n\nexport type MutationProvisionCardArgs = {\n input: ProvisionCardInput;\n};\n\n\nexport type MutationProvisionStatusUpdateArgs = {\n input: ProvisionStatusUpdateInput;\n};\n\n\nexport type MutationReportIssueArgs = {\n input: ReportIssueInput;\n};\n\n\nexport type MutationRiskRuleCreateArgs = {\n input?: InputMaybe<RiskRuleCreateInput>;\n};\n\n\nexport type MutationRiskRuleDeleteArgs = {\n input?: InputMaybe<RiskRuleDeleteInput>;\n};\n\n\nexport type MutationRiskRuleUpdateArgs = {\n input?: InputMaybe<RiskRuleUpdateInput>;\n};\n\n\nexport type MutationServicePayArgs = {\n input: ServicePayInput;\n};\n\n\nexport type MutationStandaloneCardCreateArgs = {\n input: StandaloneCardCreateInput;\n};\n\n\nexport type MutationStoreCardCoFArgs = {\n input: StoreCardCoFInput;\n};\n\n\nexport type MutationTransactionUpdateArgs = {\n input?: InputMaybe<TransactionUpdateInput>;\n};\n\n\nexport type MutationTtpTokenizationArgs = {\n input?: InputMaybe<TtpTokenizationInput>;\n};\n\n\nexport type MutationUserActivationCodeSignUpArgs = {\n input: UserActivationCodeSignUpInput;\n};\n\n\nexport type MutationUserCreateArgs = {\n input: UserCreateInput;\n};\n\n\nexport type MutationUserDeleteArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationUserForgotPasswordArgs = {\n input: UserForgotPasswordInput;\n};\n\n\nexport type MutationUserLoginArgs = {\n input: UserLoginInput;\n};\n\n\nexport type MutationUserLoginOtpRequestArgs = {\n input: UserLoginOtpRequestInput;\n};\n\n\nexport type MutationUserLoginOtpVerifyArgs = {\n input: UserLoginOtpVerifyInput;\n};\n\n\nexport type MutationUserLoginUniversalArgs = {\n input: UserLoginUniversalInput;\n};\n\n\nexport type MutationUserLoyaltyAccountAddArgs = {\n input: UserLoyaltyAccountAddInput;\n};\n\n\nexport type MutationUserLoyaltyAccountDeleteArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationUserNotificationTokenUpdateArgs = {\n token: Scalars['String']['input'];\n};\n\n\nexport type MutationUserOffboardArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationUserRefreshTokenArgs = {\n input: UserRefreshTokenInput;\n};\n\n\nexport type MutationUserSetPasswordArgs = {\n input: UserSetPasswordInput;\n};\n\n\nexport type MutationUserUpdateArgs = {\n input: UserUpdateInput;\n};\n\n\nexport type MutationValidateTokenCoFArgs = {\n input: ValidateTokenCoFInput;\n};\n\n\nexport type MutationVehicleCreateArgs = {\n input: VehicleCreateInput;\n};\n\n\nexport type MutationVehicleFieldsAddArgs = {\n input: VehicleFieldsAddInput;\n};\n\n\nexport type MutationVehicleFieldsDeleteArgs = {\n input?: InputMaybe<Scalars['ID']['input']>;\n};\n\n\nexport type MutationVehicleFieldsUpdateArgs = {\n input: VehicleFieldsUpdateInput;\n};\n\n\nexport type MutationVehicleGroupCreateArgs = {\n input: VehicleGroupCreateInput;\n};\n\n\nexport type MutationVehicleGroupDeleteArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationVehicleGroupDriversAddArgs = {\n input: VehicleGroupDriversAddInput;\n};\n\n\nexport type MutationVehicleGroupDriversRemoveArgs = {\n input: VehicleGroupDriversRemoveInput;\n};\n\n\nexport type MutationVehicleGroupSpendRestrictionsSetArgs = {\n input: VehicleGroupSpendRestrictionsSetInput;\n};\n\n\nexport type MutationVehicleGroupUpdateArgs = {\n input: VehicleGroupUpdateInput;\n};\n\n\nexport type MutationVehicleGroupVehiclesAddArgs = {\n input: VehicleGroupVehiclesAddInput;\n};\n\n\nexport type MutationVehicleGroupVehiclesRemoveArgs = {\n input: VehicleGroupVehiclesRemoveInput;\n};\n\n\nexport type MutationVehicleUpdateArgs = {\n input: VehicleUpdateInput;\n};\n\n\nexport type MutationVehiclesOnboardArgs = {\n input: VehiclesOnboardInputList;\n};\n\n/** Type of stations to filter on */\nexport enum NetworkType {\n All = 'ALL',\n InNetwork = 'IN_NETWORK',\n OutOfNetwork = 'OUT_OF_NETWORK'\n}\n\nexport type OptionValues = {\n __typename?: 'OptionValues';\n deletedAt?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['String']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n machineGroupId?: Maybe<Scalars['String']['output']>;\n /** job_code for job code. In the future we might support other options like trailer_number, etc */\n optionName?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n values?: Maybe<Array<Maybe<Scalars['String']['output']>>>;\n};\n\n/** Information on the organization. */\nexport type Organization = {\n __typename?: 'Organization';\n /** Address of the organization. */\n address?: Maybe<Address>;\n /** Cost factor to filter by fuel station cost */\n costFactorEnabled?: Maybe<Scalars['Boolean']['output']>;\n deletedAt?: Maybe<Scalars['String']['output']>;\n /** Id tied to this organization. */\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Name of the organization. */\n name?: Maybe<Scalars['String']['output']>;\n /** When the organization was onboarded. */\n onboardedAt?: Maybe<Scalars['String']['output']>;\n onboardedBy?: Maybe<Scalars['String']['output']>;\n /** List of policies (servies) enabled on an organization. */\n policies?: Maybe<Array<Maybe<Policy>>>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type OrganizationCreateInput = {\n /** The address of the organization */\n address: AddressInput;\n /** Disable check location when vehicle data is down */\n checkLocationOverride?: InputMaybe<Scalars['Boolean']['input']>;\n /** Cost factor to filter by fuel station cost */\n costFactorEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Organization email. */\n email?: InputMaybe<Scalars['String']['input']>;\n integratorId?: InputMaybe<Scalars['ID']['input']>;\n /** Organization name. */\n name: Scalars['String']['input'];\n /** Who onboarded the organization */\n onboardedBy?: InputMaybe<Scalars['String']['input']>;\n /** Organization tax id. */\n taxId?: InputMaybe<Scalars['String']['input']>;\n unitsId?: InputMaybe<Scalars['String']['input']>;\n /** If enabled, syncs telematics data for a vehicle and removes ability to edit that vehicle */\n useTspMetadata?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport enum OtpType {\n Code = 'CODE',\n Link = 'LINK'\n}\n\n/** The pagination used to fulfill the response */\nexport type PageMeta = {\n __typename?: 'PageMeta';\n /** Limit set in the request to show an exact number of items. */\n limit?: Maybe<Scalars['Int']['output']>;\n /** The offset specified in the request to paginate. */\n offset?: Maybe<Scalars['Int']['output']>;\n /** Total number of records found. */\n total?: Maybe<Scalars['Int']['output']>;\n};\n\n/** Pagination */\nexport type PageRequest = {\n limit?: InputMaybe<Scalars['Int']['input']>;\n offset?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport enum PaymentMethodType {\n DirectConnect = 'DIRECT_CONNECT',\n LinkedCard = 'LINKED_CARD',\n Ttp = 'TTP',\n Unspecified = 'UNSPECIFIED'\n}\n\nexport type PaymentProvider = {\n __typename?: 'PaymentProvider';\n /** Payment provider id */\n id: Scalars['ID']['output'];\n /** When the payment provider record was inserted. */\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Name of provider: I2C, Discover, or CARIQ_OPENLOOP. */\n name?: Maybe<Scalars['String']['output']>;\n /** Same as name: I2C, Discover, or CARIQ_OPENLOOP. */\n slug?: Maybe<Scalars['String']['output']>;\n /** When the payment provider record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum PaymentProviderEnum {\n CarIqBin = 'CAR_IQ_BIN',\n CirclekCof = 'CIRCLEK_COF',\n CitiVpa = 'CITI_VPA',\n Discover = 'DISCOVER',\n ExternalCof = 'EXTERNAL_COF',\n I2C = 'I2C',\n Multiple = 'MULTIPLE',\n UsBank = 'US_BANK',\n Voyager = 'VOYAGER',\n VoyagerPlus = 'VOYAGER_PLUS'\n}\n\nexport type Permission = {\n __typename?: 'Permission';\n action?: Maybe<Scalars['String']['output']>;\n description?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n resource?: Maybe<Scalars['String']['output']>;\n};\n\nexport type Policy = {\n __typename?: 'Policy';\n enabled?: Maybe<Scalars['Boolean']['output']>;\n id: Scalars['String']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['String']['output']>;\n /** Information about the service provider. */\n serviceProvider?: Maybe<ServiceProvider>;\n /** Id of the service provider that enables the service. */\n serviceProviderId?: Maybe<Scalars['String']['output']>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: Maybe<ServiceType>;\n /** Type of policy, either a service or tap to pay. */\n type?: Maybe<PolicyType>;\n};\n\nexport type PolicyActionResponse = {\n __typename?: 'PolicyActionResponse';\n /** For applied policies, it returns the policy id, entity id, vehicle group id, and if request was recursive. */\n applyRequest?: Maybe<ApplyPolicyOutput>;\n /** Number of affected policies by the request. */\n countAffected?: Maybe<Scalars['Int']['output']>;\n /** For revoked polcies, it returns the policy id, entity id, and vehicle group id. */\n revokeRequest?: Maybe<RevokePolicyOutput>;\n /** Whether the policy manage request was successful. */\n success?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type PolicyCreateInput = {\n /** Propagate the policies to children entities. */\n applyRecursively?: InputMaybe<Scalars['Boolean']['input']>;\n organizationId: Scalars['String']['input'];\n /** Type of policy, either a service or tap to pay. */\n policyType?: InputMaybe<PolicyType>;\n /** Add the service provider id allowed for fueling or tolling. */\n serviceProviderId?: InputMaybe<Scalars['String']['input']>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: InputMaybe<ServiceType>;\n};\n\nexport type PolicyCreateOutput = {\n __typename?: 'PolicyCreateOutput';\n countAffected?: Maybe<Scalars['Int']['output']>;\n policy?: Maybe<Policy>;\n success?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type PolicyDeleteInput = {\n /** Policy id to delete a specific policy. */\n policyId: Scalars['String']['input'];\n};\n\nexport type PolicyDeleteOutput = {\n __typename?: 'PolicyDeleteOutput';\n countAffected?: Maybe<Scalars['Int']['output']>;\n success?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type PolicyManageInput = {\n /** Add or update a policy on a policy id, entity id, or vehicle group id. */\n applyPolicies?: InputMaybe<Array<InputMaybe<ApplyPolicyInput>>>;\n /** Remove a policy using a policy id, entity id, or vehicle group id. */\n revokePolicies?: InputMaybe<Array<InputMaybe<RevokePolicyInput>>>;\n};\n\nexport type PolicyManageOutput = {\n __typename?: 'PolicyManageOutput';\n /** List of policies that were added or updated. */\n applyResponses?: Maybe<Array<Maybe<PolicyActionResponse>>>;\n /** List of policies that were revoked. */\n revokeResponses?: Maybe<Array<Maybe<PolicyActionResponse>>>;\n};\n\n/** Type of policy, either a service or tap to pay. */\nexport enum PolicyType {\n Dcc = 'DCC',\n Service = 'SERVICE',\n UnknownVariant = 'UNKNOWN_VARIANT'\n}\n\nexport type PositionInput = {\n latitude: Scalars['Float']['input'];\n longitude: Scalars['Float']['input'];\n};\n\nexport enum PrimaryAccountStatus {\n Enrolled = 'enrolled',\n Failed = 'failed',\n Pending = 'pending',\n Unknown = 'unknown'\n}\n\nexport type ProcessCardCoFInput = {\n id: Scalars['String']['input'];\n paymentProviderAccountId: Scalars['String']['input'];\n vehicleId: Scalars['String']['input'];\n};\n\nexport type Product = {\n __typename?: 'Product';\n id: Scalars['ID']['output'];\n /** Name of the product. */\n name?: Maybe<Scalars['String']['output']>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: Maybe<ServiceType>;\n};\n\n/** Type of Fuel. */\nexport enum ProductType {\n Diesel = 'DIESEL',\n HiFlowDiesel = 'HI_FLOW_DIESEL',\n MidGradeUnleaded = 'MID_GRADE_UNLEADED',\n OtherFuel = 'OTHER_FUEL',\n PremiumDiesel = 'PREMIUM_DIESEL',\n PremiumUnleaded = 'PREMIUM_UNLEADED',\n Regular = 'REGULAR'\n}\n\nexport type ProgramSupports = {\n __typename?: 'ProgramSupports';\n isCloseLoopSupported?: Maybe<Scalars['Boolean']['output']>;\n isDcSupported?: Maybe<Scalars['Boolean']['output']>;\n isPhysicalCardSupported?: Maybe<Scalars['Boolean']['output']>;\n isTtpSupported?: Maybe<Scalars['Boolean']['output']>;\n /** Is this program using the internal card program (US Bank) */\n isUsingInternalProgram?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type ProvisionCardInput = {\n /** Account ID, can be a vehicleId, deviceId, or an asset */\n deviceAccountId: Scalars['String']['input'];\n /** Used by Android */\n googleHardwareId?: InputMaybe<Scalars['String']['input']>;\n /** Used by IOS */\n intermediateCertificate?: InputMaybe<Scalars['String']['input']>;\n /** Used by IOS */\n leafCertificate?: InputMaybe<Scalars['String']['input']>;\n /** Used by IOS */\n nonceSignature?: InputMaybe<Scalars['String']['input']>;\n /** Used by IOS */\n nonceValue?: InputMaybe<Scalars['String']['input']>;\n paymentProviderAccountId: Scalars['String']['input'];\n /** Used by Android */\n walletId?: InputMaybe<Scalars['String']['input']>;\n walletType: DigitalWallet;\n};\n\nexport type ProvisionCardResponse = {\n __typename?: 'ProvisionCardResponse';\n activationData?: Maybe<Scalars['String']['output']>;\n cardNetwork?: Maybe<CardNetwork>;\n displayName?: Maybe<Scalars['String']['output']>;\n encryptedData?: Maybe<Scalars['String']['output']>;\n lastFourDigits?: Maybe<Scalars['String']['output']>;\n publicKey?: Maybe<Scalars['String']['output']>;\n};\n\nexport type ProvisionStatusUpdateInput = {\n deviceAccountId: Scalars['String']['input'];\n errorDescription?: InputMaybe<Scalars['String']['input']>;\n paymentProviderAccountId: Scalars['String']['input'];\n status: ProvisioningStatus;\n};\n\nexport enum ProvisioningStatus {\n Error = 'ERROR',\n Success = 'SUCCESS'\n}\n\n/** Days of week which purchases are enabled. */\nexport type PurchaseDaysOfWeek = {\n __typename?: 'PurchaseDaysOfWeek';\n friday: Scalars['Boolean']['output'];\n monday: Scalars['Boolean']['output'];\n saturday: Scalars['Boolean']['output'];\n sunday: Scalars['Boolean']['output'];\n thursday: Scalars['Boolean']['output'];\n tuesday: Scalars['Boolean']['output'];\n wednesday: Scalars['Boolean']['output'];\n};\n\nexport type PurchaseDaysOfWeekInput = {\n friday: Scalars['Boolean']['input'];\n monday: Scalars['Boolean']['input'];\n saturday: Scalars['Boolean']['input'];\n sunday: Scalars['Boolean']['input'];\n thursday: Scalars['Boolean']['input'];\n tuesday: Scalars['Boolean']['input'];\n wednesday: Scalars['Boolean']['input'];\n};\n\n/** Format should be in HH:MM */\nexport type PurchaseTimeRange = {\n __typename?: 'PurchaseTimeRange';\n from?: Maybe<Scalars['String']['output']>;\n to?: Maybe<Scalars['String']['output']>;\n};\n\nexport type PurchaseTimeRangeInput = {\n from?: InputMaybe<Scalars['String']['input']>;\n to?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type Query = {\n __typename?: 'Query';\n Pass?: Maybe<Scalars['JSON']['output']>;\n /** Get a public key to encrypt credit application data */\n creditApplicationPublicKey: CreditApplicationPublicKeyOutput;\n /** Get a list of credit payments on a payment provider account using ppaid with an option of sorting. */\n creditPaymentsList?: Maybe<GetInvoicePaymentsOutput>;\n /** Download Credit Statement Document */\n creditStatementDownload: Report;\n /** Get Credit Statements */\n creditStatementsList?: Maybe<GetCreditStatementsOutput>;\n /** Download a list of drivers on an entity or vehicle group. */\n driverReportDownload?: Maybe<DriverReport>;\n /** Get a list of entities. */\n entitiesFilter?: Maybe<EntitiesPage>;\n /** Get an entity. */\n entity?: Maybe<Entity>;\n /** Information on the account of an entity. */\n entityAccountInfo?: Maybe<EntityAccountInfo>;\n /** Information on the account and child accounts of an entity. */\n entityAccountsInfo?: Maybe<Array<Maybe<EntityAccountInfo>>>;\n /** Get values for a job code option */\n jobCodeOptions?: Maybe<JobCodeOptionsOutput>;\n /** Download transactions for a given entity, vehicle group, vehicle, or driver. */\n reportsDownload?: Maybe<Report>;\n /** Get a risk rule using the id or name. */\n riskRuleGet?: Maybe<RiskRuleGetOutput>;\n /** List risk rules pertaining to a vehicle group. */\n riskRulesList?: Maybe<RiskRulesListOutput>;\n /** Get a list of permissions for a given role */\n rolePermissions?: Maybe<Role>;\n /** Performs a search for users, vehicles, and vehicle groups. */\n search?: Maybe<SearchOutput>;\n /** Get list of available stations from a given locations */\n serviceLocationsFilter?: Maybe<ServiceLocationsPage>;\n /** Spending Insights */\n spendingInsights?: Maybe<SpendingInsightsOutput>;\n /** Get information on a transaction */\n transaction?: Maybe<Transaction>;\n /** Doanload the transactions for a given entity, vehicle group, vehicle, driver */\n transactionReportDownload?: Maybe<TransactionReport>;\n /** Get a list of transactions */\n transactionsFilter?: Maybe<TransactionsPage>;\n /** Transactions Insights */\n transactionsInsights?: Maybe<TransactionsInsightsPage>;\n /** Get a list of transactions */\n transactionsOverview?: Maybe<TransactionsOverviewOutput>;\n /** Get the transactions statistics for a given entity */\n transactionsStats?: Maybe<TransactionsStats>;\n /** Get user data */\n user?: Maybe<GetUserUserResponse>;\n /** Get a list of users */\n usersFilter?: Maybe<UsersPage>;\n /** Get information from a vehicle */\n vehicle?: Maybe<IndividualVehicle>;\n /** Get list of vehicle configuration fields */\n vehicleFields?: Maybe<VehicleFieldsPage>;\n /** Get information from a vehicle group */\n vehicleGroup?: Maybe<IndividualVehicleGroup>;\n /** Get a list of vehicle groups */\n vehicleGroupsFilter?: Maybe<VehicleGroupsPage>;\n /** Get a list of vehicles */\n vehiclesFilter?: Maybe<VehiclesPage>;\n /** Get vehicles in a certain location */\n vehiclesFilterByLocation?: Maybe<VehiclesPage>;\n /** Get vehicles that have telematics and are not enrolled for Car IQ services */\n vehiclesWithTelematicsNotEnrolled?: Maybe<VehiclesWithTelematicsNotEnrolledOutput>;\n};\n\n\nexport type QueryPassArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryCreditPaymentsListArgs = {\n input: GetInvoicePaymentsInput;\n};\n\n\nexport type QueryCreditStatementDownloadArgs = {\n input: CreditStatementDownloadInput;\n};\n\n\nexport type QueryCreditStatementsListArgs = {\n input?: InputMaybe<GetCreditStatementsInput>;\n};\n\n\nexport type QueryDriverReportDownloadArgs = {\n input?: InputMaybe<DriverReportDownloadInput>;\n};\n\n\nexport type QueryEntitiesFilterArgs = {\n input: EntitiesFilterInput;\n};\n\n\nexport type QueryEntityArgs = {\n externalId?: InputMaybe<Scalars['String']['input']>;\n id?: InputMaybe<Scalars['ID']['input']>;\n};\n\n\nexport type QueryEntityAccountInfoArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryEntityAccountsInfoArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryJobCodeOptionsArgs = {\n input?: InputMaybe<JobCodeOptionsInput>;\n};\n\n\nexport type QueryReportsDownloadArgs = {\n input?: InputMaybe<ReportsDownloadInput>;\n};\n\n\nexport type QueryRiskRuleGetArgs = {\n input?: InputMaybe<RiskRuleGetInput>;\n};\n\n\nexport type QueryRiskRulesListArgs = {\n input?: InputMaybe<RiskRulesListInput>;\n};\n\n\nexport type QueryRolePermissionsArgs = {\n input: RolePermissionsInput;\n};\n\n\nexport type QuerySearchArgs = {\n input: SearchInput;\n};\n\n\nexport type QueryServiceLocationsFilterArgs = {\n input?: InputMaybe<ServiceLocationsFilterInput>;\n};\n\n\nexport type QuerySpendingInsightsArgs = {\n input: SpendingInsightsInput;\n};\n\n\nexport type QueryTransactionArgs = {\n input: Scalars['ID']['input'];\n};\n\n\nexport type QueryTransactionReportDownloadArgs = {\n input?: InputMaybe<TransactionReportDownloadInput>;\n};\n\n\nexport type QueryTransactionsFilterArgs = {\n input: TransactionsFilterInput;\n};\n\n\nexport type QueryTransactionsInsightsArgs = {\n input: TransactionsInsightsInput;\n};\n\n\nexport type QueryTransactionsOverviewArgs = {\n input: TransactionsOverviewInput;\n};\n\n\nexport type QueryTransactionsStatsArgs = {\n input: TransactionsStatsInput;\n};\n\n\nexport type QueryUserArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryUsersFilterArgs = {\n input: UsersFilterInput;\n};\n\n\nexport type QueryVehicleArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryVehicleFieldsArgs = {\n input: VehicleFieldsInput;\n};\n\n\nexport type QueryVehicleGroupArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryVehicleGroupsFilterArgs = {\n input: VehicleGroupsFilterInput;\n};\n\n\nexport type QueryVehiclesFilterArgs = {\n input: VehiclesFilterInput;\n};\n\n\nexport type QueryVehiclesFilterByLocationArgs = {\n input: VehiclesFilterByLocationInput;\n};\n\n\nexport type QueryVehiclesWithTelematicsNotEnrolledArgs = {\n input: VehiclesWithTelematicsNotEnrolledInput;\n};\n\nexport type RadiusFilter = {\n /** Radius in meters to filter around the point. */\n maxRadius?: InputMaybe<Scalars['Float']['input']>;\n /** Latitude and longitude. */\n point: PositionInput;\n /** Deprecated. Radius in meters to filter around the point. */\n radius?: InputMaybe<Scalars['Float']['input']>;\n};\n\nexport type Report = {\n __typename?: 'Report';\n /** Data stream pertaining to the report. */\n data?: Maybe<Scalars['String']['output']>;\n /** Specifies errors if the report didn't generate. */\n error?: Maybe<Scalars['String']['output']>;\n /** Whether items exist in this report. */\n exists?: Maybe<Scalars['Boolean']['output']>;\n /** Filename of the report. */\n fileName?: Maybe<Scalars['String']['output']>;\n};\n\n/** Type to filter on in a Report Download */\nexport enum ReportFilterType {\n Driver = 'DRIVER',\n Entity = 'ENTITY',\n Vehicle = 'VEHICLE',\n VehicleGroup = 'VEHICLE_GROUP'\n}\n\nexport type ReportIssueInput = {\n /** JSON string with fields such as messageType, eventId, appName, appVersion */\n data?: InputMaybe<Scalars['JSONObject']['input']>;\n /** Comment to be added to file upload */\n fileComment?: InputMaybe<Scalars['String']['input']>;\n /** Pay app log file content */\n fileContent?: InputMaybe<Scalars['String']['input']>;\n /** Pay app log file name */\n fileName?: InputMaybe<Scalars['String']['input']>;\n};\n\n/** Type to include in a Report Download. */\nexport enum ReportType {\n AfterHours = 'AFTER_HOURS',\n Ifta = 'IFTA',\n PremiumFuel = 'PREMIUM_FUEL',\n PurchaseExceptions = 'PURCHASE_EXCEPTIONS',\n Transaction = 'TRANSACTION',\n ValidationExceptions = 'VALIDATION_EXCEPTIONS'\n}\n\n/** Specify year and month or dateFrom and dateTo. */\nexport type ReportsDownloadInput = {\n /** Branding */\n branding?: InputMaybe<BrandingType>;\n /** The starting date for the report's time range. */\n dateFrom?: InputMaybe<Scalars['String']['input']>;\n /** The ending date for the report's time range. */\n dateTo?: InputMaybe<Scalars['String']['input']>;\n /** Filter on entites, vehicle groups, vehicles, or drivers. */\n filterType: ReportFilterType;\n /** The id specified for on the filterType. Ex: an entity id or vehicle group id. */\n id: Scalars['ID']['input'];\n /** The month for which to generate the report. */\n month?: InputMaybe<Scalars['Int']['input']>;\n /** Include only after hours, transaction, premium fuel, or validation exceptions */\n type: ReportType;\n /** The year for which to generate the report. */\n year?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type RevokePolicyInput = {\n /** Entity id to remove a policy on. */\n entityId?: InputMaybe<Scalars['String']['input']>;\n /** Policy id to remove a policy on. */\n policyId: Scalars['String']['input'];\n /** Vehicle group id to remove a policy on. */\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RevokePolicyOutput = {\n __typename?: 'RevokePolicyOutput';\n /** Entity id that policy manage request changed. */\n entityId?: Maybe<Scalars['String']['output']>;\n /** Policy id that policy manage request changed. */\n policyId: Scalars['String']['output'];\n /** Vehicle id that policy manage request changed. */\n vehicleGroupId?: Maybe<Scalars['String']['output']>;\n};\n\nexport type RiskRule = {\n __typename?: 'RiskRule';\n definition?: Maybe<RiskRuleDefinition>;\n id?: Maybe<Scalars['String']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n isDefault?: Maybe<Scalars['Boolean']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type RiskRuleCreateInput = {\n amountPerDay?: InputMaybe<Scalars['String']['input']>;\n amountPerTransaction?: InputMaybe<Scalars['String']['input']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: InputMaybe<Scalars['Boolean']['input']>;\n daysTimes?: InputMaybe<DaysTimeRangesInput>;\n maxRiskTime?: InputMaybe<Scalars['Int']['input']>;\n /** Optional Unique String Identifier */\n name?: InputMaybe<Scalars['String']['input']>;\n /** Number of transactions allowed in a day */\n noOfTransactions?: InputMaybe<Scalars['Int']['input']>;\n /** Number of offline transactions allowed in a week */\n noOfTransactionsWeekly?: InputMaybe<Scalars['Int']['input']>;\n /** Replace all previously assigned risk rule with this one. Default is true. */\n replace?: InputMaybe<Scalars['Boolean']['input']>;\n userId?: InputMaybe<Scalars['String']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RiskRuleDefinition = {\n __typename?: 'RiskRuleDefinition';\n amountPerDay?: Maybe<Scalars['String']['output']>;\n amountPerTransaction?: Maybe<Scalars['String']['output']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: Maybe<Scalars['Boolean']['output']>;\n /** Deprecated */\n daysOfWeek?: Maybe<PurchaseDaysOfWeek>;\n daysTimes?: Maybe<DaysTimeRanges>;\n /** Deprecated */\n hours?: Maybe<PurchaseTimeRange>;\n maxRiskTime?: Maybe<Scalars['Int']['output']>;\n /** Number of transactions allowed in a day */\n noOfTransactions?: Maybe<Scalars['Int']['output']>;\n /** Number of offline transactions allowed in a week */\n noOfTransactionsWeekly?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type RiskRuleDeleteInput = {\n id?: InputMaybe<Scalars['String']['input']>;\n};\n\n/** Specify either id or name to get risk rule. */\nexport type RiskRuleGetInput = {\n id?: InputMaybe<Scalars['String']['input']>;\n name?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RiskRuleGetOutput = {\n __typename?: 'RiskRuleGetOutput';\n data?: Maybe<RiskRule>;\n};\n\nexport type RiskRuleUpdateInput = {\n amountPerDay?: InputMaybe<Scalars['String']['input']>;\n amountPerTransaction?: InputMaybe<Scalars['String']['input']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: InputMaybe<Scalars['Boolean']['input']>;\n daysTimes?: InputMaybe<DaysTimeRangesInput>;\n id?: InputMaybe<Scalars['String']['input']>;\n maxRiskTime?: InputMaybe<Scalars['Int']['input']>;\n /** Optional Unique String Identifier */\n name?: InputMaybe<Scalars['String']['input']>;\n /** Number of transactions allowed in a day */\n noOfTransactions?: InputMaybe<Scalars['Int']['input']>;\n /** Number of offline transactions allowed in a week */\n noOfTransactionsWeekly?: InputMaybe<Scalars['Int']['input']>;\n userId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RiskRulesListInput = {\n page?: InputMaybe<PageRequest>;\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RiskRulesListOutput = {\n __typename?: 'RiskRulesListOutput';\n data?: Maybe<Array<Maybe<RiskRule>>>;\n meta?: Maybe<PageMeta>;\n};\n\nexport type Role = {\n __typename?: 'Role';\n description?: Maybe<Scalars['String']['output']>;\n displayName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n isSystem?: Maybe<Scalars['Boolean']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n /** Permissions on a role. */\n permissions: Array<Permission>;\n};\n\nexport type RolePermissionsInput = {\n id?: InputMaybe<Scalars['ID']['input']>;\n name?: InputMaybe<RoleType>;\n};\n\nexport enum RoleType {\n Admin = 'ADMIN',\n Driver = 'DRIVER',\n FullAccess = 'FULL_ACCESS',\n Manager = 'MANAGER',\n ViewOnly = 'VIEW_ONLY'\n}\n\n/** The data for an item from a search query. Different values are returned for a user, vehicle group, or vehicle object. */\nexport type SearchData = {\n __typename?: 'SearchData';\n code?: Maybe<Scalars['String']['output']>;\n description?: Maybe<Scalars['String']['output']>;\n driverCount?: Maybe<Scalars['String']['output']>;\n email?: Maybe<Scalars['String']['output']>;\n employeeId?: Maybe<Scalars['String']['output']>;\n enrolledServices?: Maybe<Scalars['String']['output']>;\n entityId?: Maybe<Scalars['String']['output']>;\n entityName?: Maybe<Scalars['String']['output']>;\n externalId?: Maybe<Scalars['String']['output']>;\n firstName?: Maybe<Scalars['String']['output']>;\n fuel?: Maybe<Scalars['String']['output']>;\n fullName?: Maybe<Scalars['String']['output']>;\n isDefault?: Maybe<Scalars['String']['output']>;\n lastName?: Maybe<Scalars['String']['output']>;\n lastTransaction?: Maybe<Scalars['String']['output']>;\n loginType?: Maybe<Scalars['String']['output']>;\n make?: Maybe<Scalars['String']['output']>;\n metadataDescription?: Maybe<Scalars['String']['output']>;\n metadataLicensePlate?: Maybe<Scalars['String']['output']>;\n metadataLicensePlateState?: Maybe<Scalars['String']['output']>;\n metadataNumber?: Maybe<Scalars['String']['output']>;\n middleName?: Maybe<Scalars['String']['output']>;\n model?: Maybe<Scalars['String']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n odometer?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['String']['output']>;\n phoneNumber?: Maybe<Scalars['String']['output']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: Maybe<Array<Maybe<ServiceType>>>;\n userStatus?: Maybe<Scalars['String']['output']>;\n usersCount?: Maybe<Scalars['String']['output']>;\n vehicleGroupId?: Maybe<Scalars['String']['output']>;\n vehicleGroupIds?: Maybe<Scalars['String']['output']>;\n vehicleGroupName?: Maybe<Scalars['String']['output']>;\n vehicleGroupNames?: Maybe<Scalars['String']['output']>;\n vehicleId?: Maybe<Scalars['String']['output']>;\n vehiclesCount?: Maybe<Scalars['String']['output']>;\n vin?: Maybe<Scalars['String']['output']>;\n year?: Maybe<Scalars['String']['output']>;\n};\n\nexport type SearchFilter = {\n /** Can provide an entityId and if to include children of the entity. */\n entity?: InputMaybe<EntityFilter>;\n /** by default, all types are included, but can specify only on a user, vehicle, or vehicle group. */\n includeTypes?: InputMaybe<Array<InputMaybe<SearchObjectType>>>;\n /** User status such as onboarded, invited, deleted, etc. */\n userStatuses?: InputMaybe<Array<InputMaybe<UserStatus>>>;\n /** Vehicle group id to filter on. */\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n};\n\nexport type SearchInput = {\n /** Filter using types (user, vehicle, vehicle group), vehicle group id, entity id, and user statuses (onboarded, deleted, etc). */\n filter?: InputMaybe<SearchFilter>;\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n /** The query that will be searched. */\n searchText: Scalars['String']['input'];\n /** Specify */\n sortOptions?: InputMaybe<SearchSortOptions>;\n};\n\n/** Types to include in the search filter. */\nexport enum SearchObjectType {\n User = 'USER',\n Vehicle = 'VEHICLE',\n VehicleGroup = 'VEHICLE_GROUP'\n}\n\nexport type SearchOutput = {\n __typename?: 'SearchOutput';\n /** Returns a list of items for the search result. */\n data?: Maybe<Array<Maybe<SearchResult>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type SearchResult = {\n __typename?: 'SearchResult';\n /** Name of the item searched upon. */\n displayName?: Maybe<Scalars['String']['output']>;\n /** Unique id the search. */\n itemId?: Maybe<Scalars['String']['output']>;\n /** The type of object of this item, either a user, vehicle, or vehicle group. */\n objectType?: Maybe<SearchObjectType>;\n /** Properties of this item. */\n properties?: Maybe<SearchData>;\n};\n\nexport type SearchSortOptions = {\n direction?: InputMaybe<Direction>;\n orderBy?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n};\n\nexport type ServiceFuelInput = {\n additionalInfo?: InputMaybe<AdditionalServicePayInfoInput>;\n /** Pump number of the given gas station. */\n pumpNumber: Scalars['Int']['input'];\n};\n\nexport type ServiceLocation = {\n __typename?: 'ServiceLocation';\n /** Address of the location. */\n address?: Maybe<Address>;\n /** Service provider/fuel brand name. */\n brand?: Maybe<Scalars['String']['output']>;\n /** Service provider/fuel brand human readable name */\n brandLabel?: Maybe<Scalars['String']['output']>;\n /** Cost factor associated with station price. */\n costFactor?: Maybe<Scalars['Int']['output']>;\n /** For Circle K to appropriately render orange CK Pro logo/gray/red stations. */\n feeNetworkDesignation?: Maybe<FeeNetworkDesignationType>;\n /** The location and radius of this service. */\n geobounds?: Maybe<Geobounds>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Integration for pump unlock such as QUIKQ, P97, CARIQ_OPENLOOP, PDI, etc. */\n integration?: Maybe<Scalars['String']['output']>;\n /** Fuel brand of location. */\n name: Scalars['String']['output'];\n /** Is this station cannot use direct connect. */\n outOfNetwork?: Maybe<Scalars['Boolean']['output']>;\n /** Id of partner locations. */\n partnerLocationId?: Maybe<Scalars['String']['output']>;\n /** Has physical card. e.g. Voyager accounts. */\n physicalCardEnabled?: Maybe<Scalars['Boolean']['output']>;\n /** Geocode of location. */\n position?: Maybe<Location>;\n /** The product name and service type (fuel, toll, etc). */\n products?: Maybe<Array<Maybe<Product>>>;\n /** Stations with rebate incentive. */\n rebateEligible?: Maybe<Scalars['Boolean']['output']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: Maybe<Array<Maybe<ServiceType>>>;\n /** Is Tap To Pay enabled? */\n ttpEnabled?: Maybe<Scalars['Boolean']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type ServiceLocationInsights = {\n __typename?: 'ServiceLocationInsights';\n /** Address of the location. */\n address?: Maybe<Address>;\n /** Service provider/fuel brand name. */\n brand?: Maybe<Scalars['String']['output']>;\n /** Service provider/fuel brand human readable name */\n brandLabel?: Maybe<Scalars['String']['output']>;\n id: Scalars['ID']['output'];\n /** Fuel brand of location. */\n name?: Maybe<Scalars['String']['output']>;\n /** Geocode of location. */\n position?: Maybe<Location>;\n};\n\nexport enum ServiceLocationSortField {\n Brand = 'BRAND'\n}\n\nexport type ServiceLocationsFilterInput = {\n /** Filter using the position, radius, services, brands, network type, etc. */\n filter: ServiceLocationsFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Order by brand name. */\n sortOptions?: InputMaybe<ServiceLocationsSortOptions>;\n};\n\nexport type ServiceLocationsFilterOptions = {\n /** Brand/name of the service location. */\n brand?: InputMaybe<Scalars['String']['input']>;\n /** List of brands (case-insensitive). */\n brands?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n feeNetworkDesignations?: InputMaybe<Array<InputMaybe<FeeNetworkDesignationType>>>;\n /** In network, out of network, or all network types. Default is in networks. */\n networkType?: InputMaybe<NetworkType>;\n /** Has physical card. e.g. Voyager accounts. */\n physicalCardEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Latitude and longitude on the service. */\n position: PositionInput;\n /** Type of fuel. */\n productTypes?: InputMaybe<Array<InputMaybe<ProductType>>>;\n /** Radius around the position to filter on. */\n radius?: InputMaybe<Scalars['Float']['input']>;\n /** Has rebate incentive. */\n rebateEligible?: InputMaybe<Scalars['Boolean']['input']>;\n /** Filter service locations by IDs. */\n serviceLocationIds?: InputMaybe<Array<Scalars['ID']['input']>>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: InputMaybe<ServiceType>;\n /** Has TTP enabled. */\n ttpEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type ServiceLocationsPage = {\n __typename?: 'ServiceLocationsPage';\n /** List of available stations from a given locations */\n data?: Maybe<Array<Maybe<ServiceLocation>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type ServiceLocationsSortOptions = {\n /** Specify the direction to sort (asc, desc, etc). */\n direction: SortDirection;\n /** Order the stations by brand. */\n orderBy: ServiceLocationSortField;\n};\n\nexport type ServicePayInput = {\n deviceId?: InputMaybe<Scalars['String']['input']>;\n /** Specify the pump number. */\n fuel?: InputMaybe<ServiceFuelInput>;\n localTime?: InputMaybe<Scalars['String']['input']>;\n locationId: Scalars['ID']['input'];\n /** Deprecated: For fallback transactions(both Physical Card and TTP) at DC stations. */\n openloopFallback?: InputMaybe<Scalars['Boolean']['input']>;\n /** Direct connect, TTP, or linked card. */\n paymentMethodType?: InputMaybe<PaymentMethodType>;\n /** Latitude and longitude. */\n position: PositionInput;\n requestId: Scalars['ID']['input'];\n vehicleId: Scalars['ID']['input'];\n};\n\nexport type ServicePayOutput = {\n __typename?: 'ServicePayOutput';\n /** Unique request id of this payment. */\n requestId: Scalars['ID']['output'];\n /** Unique transaction id of this payment. */\n transactionId: Scalars['ID']['output'];\n};\n\n/** Service provider information on a policy */\nexport type ServiceProvider = {\n __typename?: 'ServiceProvider';\n description?: Maybe<Scalars['String']['output']>;\n id: Scalars['String']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n label?: Maybe<Scalars['String']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\n/** Services that Car IQ offers */\nexport enum ServiceType {\n Fees = 'FEES',\n Fuel = 'FUEL',\n Maintenance = 'MAINTENANCE',\n Parking = 'PARKING',\n Toll = 'TOLL',\n UnknownService = 'UNKNOWN_SERVICE'\n}\n\nexport enum SortDirection {\n Asc = 'ASC',\n AscNullsFirst = 'ASC_NULLS_FIRST',\n AscNullsLast = 'ASC_NULLS_LAST',\n Desc = 'DESC',\n DescNullsFirst = 'DESC_NULLS_FIRST',\n DescNullsLast = 'DESC_NULLS_LAST'\n}\n\nexport type SpendRestrictions = {\n __typename?: 'SpendRestrictions';\n /** Amount per day, usually around $125. */\n amountPerDay?: Maybe<Scalars['String']['output']>;\n /** Also known as purchas limit. Usually between $5 and $1000. */\n amountPerTransaction?: Maybe<Scalars['String']['output']>;\n /** Max dollar amount per week. 0 or null turns this restriction off. */\n amountPerWeek?: Maybe<Scalars['Int']['output']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: Maybe<Scalars['Boolean']['output']>;\n /** Define which days and times vehicles can transact at for fueling. */\n daysOfWeek?: Maybe<SpendRestrictionsDaysOfWeek>;\n enforceFuelSpendEstimation?: Maybe<Scalars['Boolean']['output']>;\n /** Deprecated, use direct spend restrictions settings instead. */\n fuel?: Maybe<FuelRestrictions>;\n /** Number of transactions */\n noOfTransactions?: Maybe<Scalars['Int']['output']>;\n predefinedRule?: Maybe<Scalars['String']['output']>;\n};\n\nexport type SpendRestrictionsDay = {\n __typename?: 'SpendRestrictionsDay';\n /** Enable this day for fueling. */\n isEnabled: Scalars['Boolean']['output'];\n /** Defines a list of to and from times that a vehicle can purchase at. */\n purchaseTimes?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n};\n\nexport type SpendRestrictionsDayInput = {\n isEnabled: Scalars['Boolean']['input'];\n /** Defines a list of to and from times that a vehicle can purchase at. */\n purchaseTimes?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n};\n\n/** Specifies if which days are enabled and for which times. */\nexport type SpendRestrictionsDaysOfWeek = {\n __typename?: 'SpendRestrictionsDaysOfWeek';\n friday: SpendRestrictionsDay;\n monday: SpendRestrictionsDay;\n saturday: SpendRestrictionsDay;\n sunday: SpendRestrictionsDay;\n thursday: SpendRestrictionsDay;\n tuesday: SpendRestrictionsDay;\n wednesday: SpendRestrictionsDay;\n};\n\nexport type SpendRestrictionsDaysOfWeekInput = {\n friday: SpendRestrictionsDayInput;\n monday: SpendRestrictionsDayInput;\n saturday: SpendRestrictionsDayInput;\n sunday: SpendRestrictionsDayInput;\n thursday: SpendRestrictionsDayInput;\n tuesday: SpendRestrictionsDayInput;\n wednesday: SpendRestrictionsDayInput;\n};\n\nexport type SpendRestrictionsInput = {\n /** Amount per day. Max No of Transactions times Amount per Day. */\n amountPerDay?: InputMaybe<Scalars['String']['input']>;\n /** Also known as purchase limit, usually around $125. $1000 max. */\n amountPerTransaction?: InputMaybe<Scalars['String']['input']>;\n /** Max dollar amount per week. 0 or null turns this restriction off. */\n amountPerWeek?: InputMaybe<Scalars['Int']['input']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: InputMaybe<Scalars['Boolean']['input']>;\n /** Deprecated. Define which days and times vehicles can transact at for fueling. */\n daysOfWeek?: InputMaybe<SpendRestrictionsDaysOfWeekInput>;\n /** Enforce spend estimation on this vehicle */\n enforceFuelSpendEstimation?: InputMaybe<Scalars['Boolean']['input']>;\n /** Deprecated, use direct spend restrictions settings */\n fuel?: InputMaybe<FuelRestrictionsInput>;\n /** Number of transactions. Between 1 and 5. */\n noOfTransactions?: InputMaybe<Scalars['Int']['input']>;\n predefinedRule?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type SpendRuleDataInput = {\n amount: Scalars['String']['input'];\n count: Scalars['Int']['input'];\n};\n\nexport type SpendRulesInput = {\n daily?: InputMaybe<SpendRuleDataInput>;\n monthly?: InputMaybe<SpendRuleDataInput>;\n weekly?: InputMaybe<SpendRuleDataInput>;\n yearly?: InputMaybe<SpendRuleDataInput>;\n};\n\nexport type SpendingInsightsInput = {\n entityId: Scalars['ID']['input'];\n periodType?: InputMaybe<TimePeriodType>;\n utcTimeFrom: Scalars['String']['input'];\n utcTimeTo: Scalars['String']['input'];\n};\n\nexport type SpendingInsightsOutput = {\n __typename?: 'SpendingInsightsOutput';\n driverSpending?: Maybe<Array<Maybe<DriverSpending>>>;\n driverSpendingInsights?: Maybe<Scalars['String']['output']>;\n gasPriceAverage?: Maybe<Scalars['String']['output']>;\n gasPriceInsights?: Maybe<Scalars['String']['output']>;\n gasPriceSeries?: Maybe<Array<Maybe<HashMap>>>;\n totalCurrentPeriod: Scalars['String']['output'];\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n totalSeries?: Maybe<Array<Maybe<HashMap>>>;\n vehicleSpending?: Maybe<Array<Maybe<VehicleSpending>>>;\n vehicleSpendingInsights?: Maybe<Scalars['String']['output']>;\n};\n\nexport type SpendingOverview = {\n __typename?: 'SpendingOverview';\n totalByServiceCurrentPeriod?: Maybe<Array<Maybe<HashMap>>>;\n totalCurrentPeriod: Scalars['String']['output'];\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n};\n\nexport type StandaloneCardCreateInput = {\n cards: Array<CardCreateDataInput>;\n entityId: Scalars['ID']['input'];\n spendRules?: InputMaybe<SpendRulesInput>;\n};\n\nexport type StoreCardCoFInput = {\n /** Encrypted Card info byte array encoded as Base64 string. */\n encryptedCard: Scalars['String']['input'];\n token: Scalars['String']['input'];\n};\n\nexport type StoreCardCoFOutput = {\n __typename?: 'StoreCardCoFOutput';\n id: Scalars['String']['output'];\n};\n\nexport type StringArrayHashMapInput = {\n key: Scalars['String']['input'];\n value: Array<InputMaybe<Scalars['String']['input']>>;\n};\n\nexport enum TimePeriodType {\n MonthToDate = 'MONTH_TO_DATE',\n Period = 'PERIOD',\n QuarterToDate = 'QUARTER_TO_DATE',\n WeekToDate = 'WEEK_TO_DATE',\n YearToDate = 'YEAR_TO_DATE'\n}\n\nexport type Transaction = {\n __typename?: 'Transaction';\n additionalInfo?: Maybe<AdditionalTransactionInfo>;\n currency?: Maybe<Scalars['String']['output']>;\n decisionStatus?: Maybe<DecisionStatus>;\n /** Driver information including phone number, name, organization id, vehicle groups, etc. */\n driver?: Maybe<User>;\n /** The entity of the transaction. */\n entity?: Maybe<Entity>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Information on the transaction such as the price, name, type, etc. */\n items?: Maybe<Array<Maybe<TransactionItem>>>;\n localTime?: Maybe<Scalars['String']['output']>;\n /** Information including the location on the service. */\n location?: Maybe<ServiceLocation>;\n pdfReceiptUrl?: Maybe<Scalars['String']['output']>;\n /** Latitude and longitude of the transaction. */\n position?: Maybe<Location>;\n /** The status of the transaction. */\n statuses?: Maybe<Array<Maybe<TransactionStatus>>>;\n subtotal?: Maybe<Scalars['String']['output']>;\n taxAmount?: Maybe<Scalars['String']['output']>;\n totalAmount?: Maybe<Scalars['String']['output']>;\n transactionNumber?: Maybe<Scalars['Int']['output']>;\n transactionTime?: Maybe<Scalars['String']['output']>;\n /** Realtime or invoice type. */\n type?: Maybe<TransactionType>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n vehicle?: Maybe<Vehicle>;\n /** The vehicle group of the transaction. */\n vehicleGroup?: Maybe<VehicleGroup>;\n};\n\nexport type TransactionFilterAdditionalOptions = {\n generatePdfReceipt?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type TransactionInsight = {\n __typename?: 'TransactionInsight';\n currency?: Maybe<Scalars['String']['output']>;\n driverId?: Maybe<Scalars['ID']['output']>;\n driverName?: Maybe<Scalars['String']['output']>;\n exceptions?: Maybe<Array<Maybe<Scalars['String']['output']>>>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n paymentType?: Maybe<Scalars['String']['output']>;\n serviceLocation?: Maybe<ServiceLocationInsights>;\n serviceType?: Maybe<Scalars['String']['output']>;\n status?: Maybe<Scalars['String']['output']>;\n subtotal?: Maybe<Scalars['String']['output']>;\n taxAmount?: Maybe<Scalars['String']['output']>;\n totalAmount?: Maybe<Scalars['String']['output']>;\n transactionTime?: Maybe<Scalars['String']['output']>;\n vehicleDescription?: Maybe<Scalars['String']['output']>;\n vehicleId?: Maybe<Scalars['ID']['output']>;\n vehicleMake?: Maybe<Scalars['String']['output']>;\n vehicleModel?: Maybe<Scalars['String']['output']>;\n vehicleName?: Maybe<Scalars['String']['output']>;\n vehicleYear?: Maybe<Scalars['String']['output']>;\n vin?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionItem = {\n __typename?: 'TransactionItem';\n amount?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n line?: Maybe<Scalars['String']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n productName?: Maybe<Scalars['String']['output']>;\n productTier?: Maybe<Scalars['String']['output']>;\n quantity?: Maybe<Scalars['String']['output']>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: Maybe<ServiceType>;\n transactionId?: Maybe<Scalars['ID']['output']>;\n unitPrice?: Maybe<Scalars['String']['output']>;\n units?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionPage = {\n __typename?: 'TransactionPage';\n /** List of transactions. */\n data?: Maybe<Transaction>;\n requestId?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionReport = {\n __typename?: 'TransactionReport';\n /** Data stream pertaining to the report. */\n data?: Maybe<Scalars['String']['output']>;\n /** Whether transactions exist in this report. */\n exists?: Maybe<Scalars['Boolean']['output']>;\n /** Filename of the report. */\n fileName?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionReportDownloadInput = {\n dateFrom?: InputMaybe<Scalars['String']['input']>;\n dateTo?: InputMaybe<Scalars['String']['input']>;\n id: Scalars['ID']['input'];\n month?: InputMaybe<Scalars['Int']['input']>;\n /** Download only one of the following: entity, vehicle, vehicle group, driver. */\n type: TransactionReportType;\n year?: InputMaybe<Scalars['Int']['input']>;\n};\n\n/** Which type to download the transaction report on. */\nexport enum TransactionReportType {\n Driver = 'DRIVER',\n Entity = 'ENTITY',\n Vehicle = 'VEHICLE',\n VehicleGroup = 'VEHICLE_GROUP'\n}\n\n/** How to order transactions in TransactionsFilter. */\nexport enum TransactionSortField {\n Amount = 'AMOUNT',\n DriverName = 'DRIVER_NAME',\n LocalTime = 'LOCAL_TIME',\n Time = 'TIME',\n VehicleDescription = 'VEHICLE_DESCRIPTION',\n VehicleName = 'VEHICLE_NAME'\n}\n\nexport type TransactionStatus = {\n __typename?: 'TransactionStatus';\n /** ID of aggregator, such as P97, VERRA, FISERV, ARRIVE, CARIQ_OPENLOOP, or AUTO_INTEGRATE. */\n aggregatorId?: Maybe<Scalars['ID']['output']>;\n details?: Maybe<TransactionStatusField>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Information on the transaction such as the price, name, type, etc. */\n items?: Maybe<Array<Maybe<TransactionItem>>>;\n /** Status values can be STARTED, PROVISIONING, PROCESSING, PROVISIONED, RESERVED, FINISHED, or a type of FAILURE_* */\n status?: Maybe<Scalars['String']['output']>;\n /** Information on the transaction such as subtotal, tax, total, and currency. */\n total?: Maybe<TransactionTotal>;\n transactionId?: Maybe<Scalars['ID']['output']>;\n};\n\nexport type TransactionStatusField = {\n __typename?: 'TransactionStatusField';\n response?: Maybe<TransactionStatusResponse>;\n};\n\nexport type TransactionStatusResponse = {\n __typename?: 'TransactionStatusResponse';\n kind?: Maybe<Scalars['String']['output']>;\n stringValue?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionTotal = {\n __typename?: 'TransactionTotal';\n currency?: Maybe<Scalars['String']['output']>;\n subtotal?: Maybe<Scalars['String']['output']>;\n tax?: Maybe<Scalars['String']['output']>;\n total?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum TransactionType {\n Invoice = 'INVOICE',\n Realtime = 'REALTIME',\n UnknownType = 'UNKNOWN_TYPE'\n}\n\nexport type TransactionUpdateInput = {\n /** Fields to update like jobCode. */\n options?: InputMaybe<TransactionUpdateOptionsInput>;\n /** ID of the transaction to update. */\n transactionId: Scalars['ID']['input'];\n};\n\nexport type TransactionUpdateOptionsInput = {\n jobCode: Scalars['String']['input'];\n};\n\nexport type TransactionsFilterInput = {\n /** Add a pdf receipt. */\n additionalOptions?: InputMaybe<TransactionFilterAdditionalOptions>;\n /** Filter on one of many items such as a user id, vin, vehicle id, entity id, etc. */\n filter: TransactionsFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Order by time, local time, veihcle name, driver name, etc and direction (asc, desc, etc). */\n sortOptions?: InputMaybe<TransactionsSortOptions>;\n};\n\nexport type TransactionsFilterOptions = {\n entityId?: InputMaybe<Scalars['ID']['input']>;\n fromDate?: InputMaybe<Scalars['String']['input']>;\n fromInsertedDate?: InputMaybe<Scalars['String']['input']>;\n fromLocalDate?: InputMaybe<Scalars['String']['input']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: InputMaybe<Array<InputMaybe<ServiceType>>>;\n toDate?: InputMaybe<Scalars['String']['input']>;\n toInsertedDate?: InputMaybe<Scalars['String']['input']>;\n toLocalDate?: InputMaybe<Scalars['String']['input']>;\n userId?: InputMaybe<Scalars['ID']['input']>;\n userIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n vehicleGroupExternalId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n vehicleId?: InputMaybe<Scalars['String']['input']>;\n vehicleIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n vin?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type TransactionsInsightsFilterOptions = {\n entityId: Scalars['ID']['input'];\n exceptionsOnly?: InputMaybe<Scalars['Boolean']['input']>;\n utcTimeFrom?: InputMaybe<Scalars['String']['input']>;\n utcTimeTo?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type TransactionsInsightsInput = {\n filter: TransactionsInsightsFilterOptions;\n page: PageRequest;\n sortOptions?: InputMaybe<TransactionsSortOptions>;\n};\n\nexport type TransactionsInsightsPage = {\n __typename?: 'TransactionsInsightsPage';\n data?: Maybe<Array<Maybe<TransactionInsight>>>;\n meta?: Maybe<PageMeta>;\n};\n\nexport type TransactionsOverviewInput = {\n entityId: Scalars['ID']['input'];\n periodType?: InputMaybe<TimePeriodType>;\n utcTimeFrom: Scalars['String']['input'];\n utcTimeTo: Scalars['String']['input'];\n};\n\nexport type TransactionsOverviewOutput = {\n __typename?: 'TransactionsOverviewOutput';\n exceptions?: Maybe<Array<Maybe<HashMap>>>;\n spending?: Maybe<SpendingOverview>;\n vehicles?: Maybe<VehiclesOverviewOutput>;\n};\n\nexport type TransactionsPage = {\n __typename?: 'TransactionsPage';\n /** List of transactions. */\n data?: Maybe<Array<Maybe<Transaction>>>;\n /** The pagination used to fulfill the response. */\n meta?: Maybe<PageMeta>;\n};\n\n/** Options to sort on TransactionsFilter */\nexport type TransactionsSortOptions = {\n /** Specify a direction to sort by such as asc and desc. */\n direction: SortDirection;\n /** Order by time, local time, vehicle name, driver name, etc. */\n orderBy: TransactionSortField;\n};\n\nexport type TransactionsStats = {\n __typename?: 'TransactionsStats';\n amountAvg?: Maybe<Scalars['String']['output']>;\n amountTotal?: Maybe<Scalars['String']['output']>;\n driversTotal?: Maybe<Scalars['Int']['output']>;\n driversTransacting?: Maybe<Scalars['Int']['output']>;\n gallonsTotal?: Maybe<Scalars['String']['output']>;\n vehiclesTotal?: Maybe<Scalars['Int']['output']>;\n vehiclesTransacting?: Maybe<Scalars['Int']['output']>;\n};\n\n/** Specify inputs to get transactions statistics on a given entity. */\nexport type TransactionsStatsInput = {\n entityId: Scalars['ID']['input'];\n localTimeFrom?: InputMaybe<Scalars['String']['input']>;\n localTimeTo?: InputMaybe<Scalars['String']['input']>;\n utcTimeFrom?: InputMaybe<Scalars['String']['input']>;\n utcTimeTo?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type TtpTokenizationInput = {\n deviceId: Scalars['String']['input'];\n requestId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type TtpTokenizationOutput = {\n __typename?: 'TtpTokenizationOutput';\n cardFlag?: Maybe<CardNetwork>;\n /** Account ID, can be a vehicleId, deviceId, or an asset */\n deviceAccountId?: Maybe<Scalars['String']['output']>;\n displayName?: Maybe<Scalars['String']['output']>;\n lastFourDigits?: Maybe<Scalars['String']['output']>;\n paymentProviderAccountId?: Maybe<Scalars['String']['output']>;\n programSupports?: Maybe<ProgramSupports>;\n requestId?: Maybe<Scalars['String']['output']>;\n success?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type User = {\n __typename?: 'User';\n /** Specifies if phone number is a corporate phone. */\n additionalInfo?: Maybe<UserAdditionalInfo>;\n email?: Maybe<Scalars['String']['output']>;\n employeeId?: Maybe<Scalars['String']['output']>;\n /** Entity the user belongs to. */\n entity?: Maybe<Entity>;\n /** Auth0 Id */\n externalId?: Maybe<Scalars['String']['output']>;\n firstName?: Maybe<Scalars['String']['output']>;\n fullName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n lastName?: Maybe<Scalars['String']['output']>;\n /** Email or phone */\n loginType?: Maybe<LoginType>;\n /** List of loyalty accounts for the user. */\n loyaltyAccounts?: Maybe<Array<Maybe<UserLoyaltyAccountForUser>>>;\n middleName?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['ID']['output']>;\n phoneNumber?: Maybe<Scalars['String']['output']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: Maybe<RoleType>;\n status?: Maybe<UserStatus>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** deprecated */\n username?: Maybe<Scalars['String']['output']>;\n /** Return a list of vehicle groups. */\n vehicleGroups?: Maybe<Array<Maybe<VehicleGroup>>>;\n};\n\nexport type UserActivationCodeSignUpInput = {\n activationCode: Scalars['String']['input'];\n firstName: Scalars['String']['input'];\n lastName: Scalars['String']['input'];\n phoneNumber: Scalars['String']['input'];\n};\n\nexport type UserAdditionalInfo = {\n __typename?: 'UserAdditionalInfo';\n /** Managers/dashboard user phone number that's not used for authentication */\n contactPhoneNumber?: Maybe<Scalars['String']['output']>;\n isCorporatePhone?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type UserCreateInput = {\n additionalInfo?: InputMaybe<AdditionalInfoInput>;\n /** Email is necessary for Manager Roles(Full Access and Read Only). */\n email?: InputMaybe<Scalars['String']['input']>;\n employeeId?: InputMaybe<Scalars['String']['input']>;\n entityId: Scalars['ID']['input'];\n firstName: Scalars['String']['input'];\n id?: InputMaybe<Scalars['ID']['input']>;\n lastName: Scalars['String']['input'];\n /** Auth method(email or phone) used by user */\n loginType?: InputMaybe<LoginType>;\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role: RoleType;\n};\n\nexport type UserForgotPasswordInput = {\n /** deprecated */\n username: Scalars['String']['input'];\n};\n\nexport type UserLoginInput = {\n client_id: Scalars['String']['input'];\n client_secret: Scalars['String']['input'];\n grant_type?: InputMaybe<Scalars['String']['input']>;\n password: Scalars['String']['input'];\n scope: Scalars['String']['input'];\n /** deprecated */\n username: Scalars['String']['input'];\n};\n\nexport enum UserLoginMethod {\n AppleSso = 'APPLE_SSO',\n EmailOtp = 'EMAIL_OTP',\n GoogleSso = 'GOOGLE_SSO',\n MagicLink = 'MAGIC_LINK',\n Password = 'PASSWORD',\n PhoneOtp = 'PHONE_OTP'\n}\n\nexport type UserLoginOtpRequestInput = {\n client_id: Scalars['String']['input'];\n client_secret: Scalars['String']['input'];\n /** SMS or Email */\n connection: ConnectionType;\n email?: InputMaybe<Scalars['String']['input']>;\n language?: InputMaybe<LanguageType>;\n /** Method to login such as PHONE_OTP, EMAIL_OTP, or EMAIL_MAGIC_LINK */\n method?: InputMaybe<UserLoginMethod>;\n phone_number?: InputMaybe<Scalars['String']['input']>;\n redirectUri?: InputMaybe<Scalars['String']['input']>;\n /** Code or Link */\n send: OtpType;\n};\n\nexport type UserLoginOtpVerifyInput = {\n client_id: Scalars['String']['input'];\n client_secret: Scalars['String']['input'];\n /** SMS or Email */\n connection: ConnectionType;\n email?: InputMaybe<Scalars['String']['input']>;\n otp: Scalars['String']['input'];\n phone_number?: InputMaybe<Scalars['String']['input']>;\n scope: Scalars['String']['input'];\n};\n\nexport type UserLoginUniversalInput = {\n redirectUri: Scalars['String']['input'];\n universalLoginClientId: Scalars['String']['input'];\n};\n\nexport type UserLoyaltyAccount = {\n __typename?: 'UserLoyaltyAccount';\n deletedAt?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n loyaltyId?: Maybe<Scalars['String']['output']>;\n loyaltyPhone?: Maybe<Scalars['String']['output']>;\n program?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n userId?: Maybe<Scalars['ID']['output']>;\n};\n\nexport type UserLoyaltyAccountAddInput = {\n loyaltyId: Scalars['String']['input'];\n loyaltyPhone?: InputMaybe<Scalars['String']['input']>;\n program: Scalars['String']['input'];\n};\n\nexport type UserLoyaltyAccountForUser = {\n __typename?: 'UserLoyaltyAccountForUser';\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n loyaltyId?: Maybe<Scalars['String']['output']>;\n loyaltyPhone?: Maybe<Scalars['String']['output']>;\n program?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n userId?: Maybe<Scalars['ID']['output']>;\n};\n\nexport type UserNotificationTokenUpdateOutput = {\n __typename?: 'UserNotificationTokenUpdateOutput';\n error?: Maybe<Scalars['Boolean']['output']>;\n message?: Maybe<Scalars['String']['output']>;\n};\n\nexport type UserRefreshTokenInput = {\n client_id: Scalars['String']['input'];\n client_secret: Scalars['String']['input'];\n grant_type?: InputMaybe<Scalars['String']['input']>;\n refresh_token: Scalars['String']['input'];\n scope: Scalars['String']['input'];\n};\n\nexport type UserRole = {\n __typename?: 'UserRole';\n entity?: Maybe<Entity>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: Maybe<Role>;\n user?: Maybe<User>;\n};\n\nexport type UserRoleInput = {\n entityId: Scalars['ID']['input'];\n roleId?: InputMaybe<Scalars['ID']['input']>;\n roleName?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type UserSetPasswordInput = {\n id: Scalars['String']['input'];\n password: Scalars['String']['input'];\n};\n\n/** Status of a given user. */\nexport enum UserStatus {\n /** Also known as offboarded */\n Deactivated = 'DEACTIVATED',\n Deleted = 'DELETED',\n Invited = 'INVITED',\n LockedOut = 'LOCKED_OUT',\n Onboarded = 'ONBOARDED',\n Unknown = 'UNKNOWN'\n}\n\nexport type UserUpdateInput = {\n additionalInfo?: InputMaybe<AdditionalInfoInput>;\n email?: InputMaybe<Scalars['String']['input']>;\n employeeId?: InputMaybe<Scalars['String']['input']>;\n firstName?: InputMaybe<Scalars['String']['input']>;\n id: Scalars['ID']['input'];\n lastName?: InputMaybe<Scalars['String']['input']>;\n /** Auth method(email or phone) used by user */\n loginType?: InputMaybe<LoginType>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role: RoleType;\n};\n\nexport type UsersFilterInput = {\n /** Filter on username, external id, entity id, vehicle group id, user role, or user statuses. */\n filter: UsersFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Order by firt name, last name, email, phone number, or status and the direction (desc, asc). */\n sortOptions?: InputMaybe<UsersSortOptions>;\n};\n\nexport type UsersFilterOptions = {\n email?: InputMaybe<Scalars['String']['input']>;\n entityId?: InputMaybe<Scalars['ID']['input']>;\n /** Auth0 Id, if specified, will only apply filter using externalId */\n externalId?: InputMaybe<Scalars['String']['input']>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: InputMaybe<RoleType>;\n roles?: InputMaybe<Array<InputMaybe<RoleType>>>;\n statuses?: InputMaybe<Array<InputMaybe<UserStatus>>>;\n /** deprecated */\n username?: InputMaybe<Scalars['String']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n};\n\nexport type UsersPage = {\n __typename?: 'UsersPage';\n /** Returns a list of users. */\n data?: Maybe<Array<Maybe<User>>>;\n /** The pagination used to fulfill the response. */\n meta?: Maybe<PageMeta>;\n};\n\nexport enum UsersSortField {\n Email = 'EMAIL',\n FirstName = 'FIRST_NAME',\n LastName = 'LAST_NAME',\n PhoneNumber = 'PHONE_NUMBER',\n Status = 'STATUS'\n}\n\nexport type UsersSortOptions = {\n /** Specify a direction such as desc or asc. */\n direction: SortDirection;\n /** Sort on first name, last name, email, phone number, or status. */\n orderBy: UsersSortField;\n};\n\nexport type ValidateTokenCoFInput = {\n token: Scalars['String']['input'];\n};\n\nexport type ValidateTokenCoFOutput = {\n __typename?: 'ValidateTokenCoFOutput';\n /** Public Key byte array encoded as Base64 string. */\n publicKey: Scalars['String']['output'];\n token: Scalars['String']['output'];\n};\n\nexport type Vehicle = {\n __typename?: 'Vehicle';\n createdAt?: Maybe<Scalars['String']['output']>;\n /** Details on a vehicle such as model, make, year, trim, manufacture plant, and number of doors. */\n details?: Maybe<VehicleDetails>;\n driverCount?: Maybe<Scalars['Int']['output']>;\n /** Environment of vehicle such as outside air tempurature, engine oil tempurature, and coolant tempurature. */\n environment?: Maybe<VehicleEnvironment>;\n /** Information of the vehicle's fuel such as the level, percent, and fuel used on current trip. */\n fuel?: Maybe<VehicleFuel>;\n id?: Maybe<Scalars['ID']['output']>;\n lastTransactionDate?: Maybe<Scalars['String']['output']>;\n /** Location of vehicle (lat, long) and information about the satellite. */\n location?: Maybe<VehicleLocation>;\n /** Mechanical information on the vehicle such as if the ignition is on, engine speed, tire pressure of each tire, and engine oil life remaining. */\n mechanical?: Maybe<VehicleMechanical>;\n /** Information on movement of vehicle such as if it's driving, odometer, and speed. */\n movement?: Maybe<VehicleMovement>;\n registrationData?: Maybe<Scalars['JSONObject']['output']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: Maybe<Array<Maybe<ServiceType>>>;\n /** Information on the vehicle such as name, serial number, source, license plate, imei, etc. */\n type?: Maybe<VehicleType>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** Information on the vehicle group that this vehicle belongs to you. */\n vehicleGroup?: Maybe<VehicleGroup>;\n vin: Scalars['String']['output'];\n};\n\n/** Create a vehicle using the vin. */\nexport type VehicleCreateInput = {\n vin: Scalars['String']['input'];\n};\n\nexport enum VehicleDataType {\n Unknown = 'UNKNOWN',\n VehicleOffline = 'VEHICLE_OFFLINE',\n VehicleOnline = 'VEHICLE_ONLINE'\n}\n\nexport type VehicleDetails = {\n __typename?: 'VehicleDetails';\n bodySubtype?: Maybe<Scalars['String']['output']>;\n bodyType?: Maybe<Scalars['String']['output']>;\n brakeSystem?: Maybe<Scalars['String']['output']>;\n colorExterior?: Maybe<Scalars['String']['output']>;\n colorExteriorCode?: Maybe<Scalars['String']['output']>;\n colorExteriorGeneric?: Maybe<Scalars['String']['output']>;\n colorExteriorHex?: Maybe<Scalars['String']['output']>;\n colorInterior?: Maybe<Scalars['String']['output']>;\n colorInteriorCode?: Maybe<Scalars['String']['output']>;\n colorInteriorGeneric?: Maybe<Scalars['String']['output']>;\n colorInteriorHex?: Maybe<Scalars['String']['output']>;\n description?: Maybe<Scalars['String']['output']>;\n destinationCharge?: Maybe<Scalars['String']['output']>;\n doors?: Maybe<Scalars['Int']['output']>;\n driveType?: Maybe<Scalars['String']['output']>;\n fuelTankCapacityPrimary?: Maybe<Scalars['Float']['output']>;\n fuelTankCapacitySecondary?: Maybe<Scalars['Float']['output']>;\n gasGuzzlerTax?: Maybe<Scalars['String']['output']>;\n /** Information on the image such as the thumbnail path, mid size path, and angle description. */\n image?: Maybe<VehicleImage>;\n invoicePrice?: Maybe<Scalars['String']['output']>;\n make?: Maybe<Scalars['String']['output']>;\n manufactureCountry?: Maybe<Scalars['String']['output']>;\n manufacturePlant?: Maybe<Scalars['String']['output']>;\n market?: Maybe<Scalars['String']['output']>;\n model?: Maybe<Scalars['String']['output']>;\n modelNumber?: Maybe<Scalars['String']['output']>;\n msrp?: Maybe<Scalars['String']['output']>;\n oemBodyStyle?: Maybe<Scalars['String']['output']>;\n oemDoors?: Maybe<Scalars['Int']['output']>;\n packageCode?: Maybe<Scalars['String']['output']>;\n restraintType?: Maybe<Scalars['String']['output']>;\n trim?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n vehicleType?: Maybe<Scalars['String']['output']>;\n year?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleEnvironment = {\n __typename?: 'VehicleEnvironment';\n barometricPressure?: Maybe<Scalars['Float']['output']>;\n engineCoolantTemp?: Maybe<Scalars['Float']['output']>;\n engineOilTemp?: Maybe<Scalars['Float']['output']>;\n outsideAirTemp?: Maybe<Scalars['Float']['output']>;\n outsideAirTempRaw?: Maybe<Scalars['Float']['output']>;\n transmissionOilTemp?: Maybe<Scalars['Float']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleFieldsAddInput = {\n dataType?: InputMaybe<DataType>;\n displayContexts?: InputMaybe<VehicleFieldsDisplayContextsInput>;\n fieldDescription?: InputMaybe<Scalars['String']['input']>;\n fieldKey?: InputMaybe<Scalars['String']['input']>;\n fieldName?: InputMaybe<Scalars['String']['input']>;\n ordinalNumber?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type VehicleFieldsConfiguration = {\n __typename?: 'VehicleFieldsConfiguration';\n dataType?: Maybe<DataType>;\n deletedAt?: Maybe<Scalars['String']['output']>;\n displayContexts?: Maybe<VehicleFieldsDisplayContexts>;\n fieldDescription?: Maybe<Scalars['String']['output']>;\n fieldKey?: Maybe<Scalars['String']['output']>;\n fieldName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['String']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n ordinalNumber?: Maybe<Scalars['Int']['output']>;\n organizationId?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum VehicleFieldsDirection {\n Asc = 'ASC',\n Desc = 'DESC'\n}\n\nexport type VehicleFieldsDisplayContexts = {\n __typename?: 'VehicleFieldsDisplayContexts';\n console?: Maybe<Scalars['Boolean']['output']>;\n statementReport?: Maybe<Scalars['Boolean']['output']>;\n transactionReport?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type VehicleFieldsDisplayContextsInput = {\n console?: InputMaybe<Scalars['Boolean']['input']>;\n statementReport?: InputMaybe<Scalars['Boolean']['input']>;\n transactionReport?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type VehicleFieldsInput = {\n direction?: InputMaybe<VehicleFieldsDirection>;\n orderBy?: InputMaybe<VehicleFieldsOrderBy>;\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n};\n\nexport enum VehicleFieldsOrderBy {\n Name = 'NAME',\n OrdinalNumber = 'ORDINAL_NUMBER'\n}\n\nexport type VehicleFieldsPage = {\n __typename?: 'VehicleFieldsPage';\n data?: Maybe<Array<Maybe<VehicleFieldsConfiguration>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type VehicleFieldsUpdateInput = {\n dataType?: InputMaybe<DataType>;\n displayContexts?: InputMaybe<VehicleFieldsDisplayContextsInput>;\n fieldDescription?: InputMaybe<Scalars['String']['input']>;\n fieldName?: InputMaybe<Scalars['String']['input']>;\n /** UUID for field to update */\n id?: InputMaybe<Scalars['ID']['input']>;\n ordinalNumber?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type VehicleFuel = {\n __typename?: 'VehicleFuel';\n level?: Maybe<Scalars['Float']['output']>;\n percent?: Maybe<Scalars['Float']['output']>;\n totalUsed?: Maybe<Scalars['Float']['output']>;\n tripUsed?: Maybe<Scalars['Float']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleGroup = {\n __typename?: 'VehicleGroup';\n code?: Maybe<Scalars['String']['output']>;\n /** Description of a vehicle group. */\n description?: Maybe<Scalars['String']['output']>;\n /** Number of drivers in this vehicle group. */\n driverCount?: Maybe<Scalars['Int']['output']>;\n /** Entity information on this vehicle group. */\n entity?: Maybe<Entity>;\n externalId?: Maybe<Scalars['String']['output']>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Date of last transaction. */\n lastTransactionDate?: Maybe<Scalars['String']['output']>;\n /** Name of the vehicle group. */\n name?: Maybe<Scalars['String']['output']>;\n /** Organization information on this vehicle group. */\n organization?: Maybe<Organization>;\n /** Services allowed on the entity: tolling, fueling, etc */\n policies?: Maybe<Array<Maybe<Policy>>>;\n /** Settings for enabling job code and driver entered odometer */\n settings?: Maybe<VehicleGroupSettings>;\n /** Spend restrictions on this vehicle group such as amount per day, amount per transaction, no of transaction, days of week and times to enabled fuel use. */\n spendRestrictions?: Maybe<SpendRestrictions>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** Number of vehicles in this vehicle group. */\n vehicleCount?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type VehicleGroupCreateInput = {\n /** Vehicle group description. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** Enabled driver entering odometer. */\n driverEnteredOdometerEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Drivers included in this vehicle group. */\n drivers?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;\n /** Entity that this vehicle group will belong to. */\n entityId?: InputMaybe<Scalars['ID']['input']>;\n externalId?: InputMaybe<Scalars['String']['input']>;\n /** Enable adding Job Code to transactions. */\n jobCodeEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Job code entry option, which defines whether the job code is predefined or freeform. */\n jobCodeEntryOption?: InputMaybe<JobCodeEntryOptionEnum>;\n /** Enable job code entry being optional. */\n jobCodeEntryOptional?: InputMaybe<Scalars['Boolean']['input']>;\n /** A list of job code values/options for the vehicle group. */\n jobCodeOptions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n /** Name of vehicle group. */\n name: Scalars['String']['input'];\n /** Organization that this vehicle group will belong to. */\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n /** Define spend restrictions for input such as amount per day, amount per transaction, no of transaction, days of week and times to enabled fuel use. */\n spendRestrictions?: InputMaybe<SpendRestrictionsInput>;\n /** Vehicles included in this vehicle group. */\n vehicles?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;\n};\n\nexport type VehicleGroupDriversAddInput = {\n drivers: Array<Scalars['ID']['input']>;\n vehicleGroupId: Scalars['ID']['input'];\n};\n\nexport type VehicleGroupDriversRemoveInput = {\n drivers: Array<Scalars['ID']['input']>;\n vehicleGroupId: Scalars['ID']['input'];\n};\n\nexport type VehicleGroupSettings = {\n __typename?: 'VehicleGroupSettings';\n /** Allow driver to enter odometer. */\n driverEnteredOdometerEnabled?: Maybe<Scalars['Boolean']['output']>;\n /** Allow the job code to be editable. */\n jobCodeEnabled?: Maybe<Scalars['Boolean']['output']>;\n /** Job code entry option, which defines whether the job code is predefined or freeform. */\n jobCodeEntryOption?: Maybe<JobCodeEntryOptionEnum>;\n /** Enable job code entry being optional. */\n jobCodeEntryOptional?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type VehicleGroupSpendRestrictionsSetInput = {\n /** Define spend restrictions for input such as amount per day, amount per transaction, no of transaction, days of week and times to enabled fuel use. */\n spendRestrictions: SpendRestrictionsInput;\n /** Vehicle group id to set the spend restrictions on. */\n vehicleGroupId: Scalars['ID']['input'];\n};\n\nexport type VehicleGroupUpdateInput = {\n /** Update the description on a vehicle group. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** Enabled driver entering odometer. */\n driverEnteredOdometerEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Update the external id on a vehicle group. */\n externalId?: InputMaybe<Scalars['String']['input']>;\n /** Id for the vehicle group to update. */\n id: Scalars['ID']['input'];\n /** Enable adding Job Code to transactions. */\n jobCodeEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Job code entry option, which defines whether the job code is predefined or freeform. */\n jobCodeEntryOption?: InputMaybe<JobCodeEntryOptionEnum>;\n /** Enable job code entry being optional. */\n jobCodeEntryOptional?: InputMaybe<Scalars['Boolean']['input']>;\n /** A list of job code values/options for the vehicle group. */\n jobCodeOptions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n /** Update the name on a vehicle group. */\n name: Scalars['String']['input'];\n};\n\nexport type VehicleGroupVehiclesAddInput = {\n vehicleGroupId: Scalars['ID']['input'];\n vehicles: Array<Scalars['ID']['input']>;\n};\n\nexport type VehicleGroupVehiclesRemoveInput = {\n vehicleGroupId: Scalars['ID']['input'];\n vehicles: Array<Scalars['ID']['input']>;\n};\n\nexport type VehicleGroupsFilterInput = {\n /** Filter on values such as driver id and entity id, and whether to include children and whether to include spend controls. */\n filter: VehicleGroupsFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Sort options to be able to order by name, description, vehicle count, driver count, and last transaction date. You can also specify sort location such as ascending and descending. */\n sortOptions?: InputMaybe<VehicleGroupsSortOptions>;\n};\n\n/** Filter options for vehicleGroupsFilter */\nexport type VehicleGroupsFilterOptions = {\n /** Filter on a driver id. */\n driverId?: InputMaybe<Scalars['ID']['input']>;\n /** Filter on an entity id. */\n entityId?: InputMaybe<Scalars['ID']['input']>;\n /** Include child entities in the filter. */\n includeChildren?: InputMaybe<Scalars['Boolean']['input']>;\n includeSpendControls?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type VehicleGroupsPage = {\n __typename?: 'VehicleGroupsPage';\n /** Returns a list of vehicle groups. */\n data?: Maybe<Array<Maybe<VehicleGroup>>>;\n /** The pagination used to fulfill the response. */\n meta?: Maybe<PageMeta>;\n};\n\nexport enum VehicleGroupsSortField {\n Description = 'DESCRIPTION',\n DriverCount = 'DRIVER_COUNT',\n LastTransactionDate = 'LAST_TRANSACTION_DATE',\n Name = 'NAME',\n VehicleCount = 'VEHICLE_COUNT'\n}\n\nexport type VehicleGroupsSortOptions = {\n /** Sort by direction such as ascending or descending. */\n direction: SortDirection;\n /** Order by the following values: name, description, vehicle count, driver count, and last transaction date. */\n orderBy: VehicleGroupsSortField;\n};\n\nexport type VehicleImage = {\n __typename?: 'VehicleImage';\n angleDescription?: Maybe<Scalars['String']['output']>;\n angleId?: Maybe<Scalars['String']['output']>;\n fullsizePath?: Maybe<Scalars['String']['output']>;\n midsizePath?: Maybe<Scalars['String']['output']>;\n thumbnailPath?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleImages = {\n __typename?: 'VehicleImages';\n fullsizePath?: Maybe<Scalars['String']['output']>;\n midsizePath?: Maybe<Scalars['String']['output']>;\n thumbnailPath?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleLocation = {\n __typename?: 'VehicleLocation';\n fixStatus?: Maybe<Scalars['String']['output']>;\n /** Horizontal Dilution Of Precision. Determines relative accuracy of a horizontal position. */\n hdop?: Maybe<Scalars['Float']['output']>;\n /** Latitude and Longitude of the vehicle. */\n position?: Maybe<Location>;\n /** Received Signal Strength Indicator. Indicates the strength of the device's signal. */\n rssi?: Maybe<Scalars['Float']['output']>;\n satellites?: Maybe<Scalars['Int']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleMechanical = {\n __typename?: 'VehicleMechanical';\n deviceVoltage?: Maybe<Scalars['Float']['output']>;\n distanceSinceCodesCleared?: Maybe<Scalars['Float']['output']>;\n engineOilLifeRemaining?: Maybe<Scalars['Int']['output']>;\n engineOperationalTime?: Maybe<Scalars['Float']['output']>;\n engineSpeed?: Maybe<Scalars['Float']['output']>;\n fuelFilterLifeRemaining?: Maybe<Scalars['Int']['output']>;\n isIgnitionOn?: Maybe<Scalars['Boolean']['output']>;\n throttlePosition?: Maybe<Scalars['Float']['output']>;\n tirePressureFl?: Maybe<Scalars['Float']['output']>;\n tirePressureFr?: Maybe<Scalars['Float']['output']>;\n tirePressureRl?: Maybe<Scalars['Float']['output']>;\n tirePressureRr?: Maybe<Scalars['Float']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n warmupSinceCodesCleared?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type VehicleMovement = {\n __typename?: 'VehicleMovement';\n accelerationLinear?: Maybe<Scalars['Float']['output']>;\n accelerationSide?: Maybe<Scalars['Float']['output']>;\n accelerationVertical?: Maybe<Scalars['Float']['output']>;\n engineRoadSpeed?: Maybe<Scalars['Float']['output']>;\n heading?: Maybe<Scalars['Float']['output']>;\n /** Whether the vehicle is currently being driven. */\n isDriving?: Maybe<Scalars['Boolean']['output']>;\n /** Oodometer of the vehicle using geotab. */\n odometer?: Maybe<Scalars['Float']['output']>;\n /** An estimate of the odometer. */\n odometerCalculated?: Maybe<Scalars['Float']['output']>;\n speed?: Maybe<Scalars['Float']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleSpending = {\n __typename?: 'VehicleSpending';\n driversCount?: Maybe<Scalars['Int']['output']>;\n id: Scalars['ID']['output'];\n name: Scalars['String']['output'];\n percentageChange?: Maybe<Scalars['String']['output']>;\n totalCurrentPeriod?: Maybe<Scalars['String']['output']>;\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n transactionsCount?: Maybe<Scalars['Int']['output']>;\n vin: Scalars['String']['output'];\n};\n\nexport enum VehicleStatus {\n Offboarded = 'OFFBOARDED',\n Onboarded = 'ONBOARDED',\n Pending = 'PENDING'\n}\n\nexport type VehicleType = {\n __typename?: 'VehicleType';\n /** Custom Fields for this Vehicle */\n customFields?: Maybe<Array<Maybe<HashMap>>>;\n /** Type to specify if the vehicle is online or offline. */\n dataType?: Maybe<VehicleDataType>;\n /** Vehicle device id */\n imei?: Maybe<Scalars['String']['output']>;\n /** Deprecated */\n internalDescription?: Maybe<Scalars['String']['output']>;\n /** Deprecated */\n internalNumber?: Maybe<Scalars['String']['output']>;\n /** Deprecated */\n licensePlate?: Maybe<Scalars['String']['output']>;\n /** Deprecated */\n licensePlateState?: Maybe<Scalars['String']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n serialNumber?: Maybe<Scalars['String']['output']>;\n source?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\n/** Update a vehicle's information. */\nexport type VehicleUpdateInput = {\n /** Custom Fields for Vehicle */\n customFields?: InputMaybe<Array<InputMaybe<HashMapInput>>>;\n /** Update the vehicle description. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** Id of the vehicle to update. */\n id: Scalars['ID']['input'];\n /** Update the vehicles's license plate. */\n licensePlate?: InputMaybe<Scalars['String']['input']>;\n /** Update the vehicles's license plate state. */\n licensePlateState?: InputMaybe<Scalars['String']['input']>;\n number?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type VehiclesByLocationFilterOptions = {\n /** Search query to search on vehicle details , vehicle_type, vin and internal metadata */\n searchQuery?: InputMaybe<Scalars['String']['input']>;\n /** Filter using a geolocation point and radius. */\n withinRadius: RadiusFilter;\n};\n\nexport type VehiclesFilterByLocationInput = {\n /** Filter vehicles by a geolocation point and radius. */\n filter: VehiclesByLocationFilterOptions;\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n};\n\nexport type VehiclesFilterInput = {\n /** Filter vehicles on user id, entity id, vehicle group id, or vin number. */\n filter: VehiclesFilterOptions;\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n /** Sort by ordering on name, description, number, driver count, fuel level, or transactions date. Specify directions such as ascending or descending. */\n sortOptions?: InputMaybe<VehiclesSortOptions>;\n};\n\n/** Filter for vehiclesFilter query */\nexport type VehiclesFilterOptions = {\n entityId?: InputMaybe<Scalars['ID']['input']>;\n userId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n vin?: InputMaybe<Scalars['String']['input']>;\n};\n\n/** Onboard vehicles to the platform. */\nexport type VehiclesOnboardInput = {\n /** Custom Fields for Vehicle */\n customFields?: InputMaybe<Array<InputMaybe<HashMapInput>>>;\n /** Vehicle's description. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** Id of the vehicle to onboard. */\n id?: InputMaybe<Scalars['ID']['input']>;\n /** Vehicles's license plate. */\n licensePlate?: InputMaybe<Scalars['String']['input']>;\n /** Vehicles's license plate state. */\n licensePlateState?: InputMaybe<Scalars['String']['input']>;\n /** Vehicle's number. */\n number?: InputMaybe<Scalars['String']['input']>;\n /** Vehicle Group Id */\n vehicleGroupId: Scalars['ID']['input'];\n /** Vehicle's VIN. */\n vin?: InputMaybe<Scalars['String']['input']>;\n};\n\n/** Onboard vehicles to the platform. */\nexport type VehiclesOnboardInputList = {\n vehicles?: InputMaybe<Array<InputMaybe<VehiclesOnboardInput>>>;\n};\n\n/** Output of the vehicles onboard. */\nexport type VehiclesOnboardOutput = {\n __typename?: 'VehiclesOnboardOutput';\n /** Error message in case of a problem during onboard. */\n error?: Maybe<Scalars['String']['output']>;\n /** Id of the vehicle to onboard. */\n id?: Maybe<Scalars['ID']['output']>;\n /** Was vehicle onboarded successfully. */\n success?: Maybe<Scalars['Boolean']['output']>;\n /** Vehicle Group Id */\n vehicleGroupId: Scalars['ID']['output'];\n /** Vehicle's VIN. */\n vin?: Maybe<Scalars['String']['output']>;\n};\n\n/** Output of the vehicles onboard. */\nexport type VehiclesOnboardOutputList = {\n __typename?: 'VehiclesOnboardOutputList';\n vehicles?: Maybe<Array<Maybe<VehiclesOnboardOutput>>>;\n};\n\nexport type VehiclesOverviewOutput = {\n __typename?: 'VehiclesOverviewOutput';\n onboarded?: Maybe<Scalars['Int']['output']>;\n transacting?: Maybe<Scalars['Int']['output']>;\n transactingByService?: Maybe<Array<Maybe<HashMap>>>;\n};\n\nexport type VehiclesPage = {\n __typename?: 'VehiclesPage';\n /** List of vehicles for vehiclesFilter. */\n data?: Maybe<Array<Maybe<Vehicle>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\n/** Order on options for filtering on vehicles. */\nexport enum VehiclesSortField {\n Description = 'DESCRIPTION',\n DriverCount = 'DRIVER_COUNT',\n FuelLevel = 'FUEL_LEVEL',\n LastTransactionDate = 'LAST_TRANSACTION_DATE',\n Name = 'NAME',\n Number = 'NUMBER'\n}\n\nexport type VehiclesSortOptions = {\n /** Direction to sort in such as ascneding or descending */\n direction: SortDirection;\n /** Order on name, description, number, driver count, fuel level, or transactions date. */\n orderBy: VehiclesSortField;\n};\n\nexport type VehiclesWithTelematicsNotEnrolledInput = {\n /** Last updated at timestamp, default is Jan 1 0001 */\n lastUpdatedAt?: InputMaybe<Scalars['String']['input']>;\n searchVehicleType?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type VehiclesWithTelematicsNotEnrolledOutput = {\n __typename?: 'VehiclesWithTelematicsNotEnrolledOutput';\n vehicles?: Maybe<Array<Maybe<Vehicle>>>;\n};\n\nexport type VoyagerCardData = {\n __typename?: 'VoyagerCardData';\n lastFour?: Maybe<Scalars['String']['output']>;\n tiedId?: Maybe<Scalars['String']['output']>;\n type?: Maybe<VoyagerCardType>;\n};\n\nexport enum VoyagerCardType {\n Driver = 'DRIVER',\n Vehicle = 'VEHICLE'\n}\n\nexport type AdditionalServicePayInfoInput = {\n /** Job Code to attach to this transaction. */\n jobCode?: InputMaybe<Scalars['String']['input']>;\n /** Odometer to attach to this transaction. */\n odometer?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type ApiKeyCreateMutationVariables = Exact<{\n input: ApiKeyCreateInput;\n}>;\n\n\nexport type ApiKeyCreateMutation = { __typename?: 'Mutation', apiKeyCreate?: { __typename?: 'ApiKeyCreateOutput', apiKey: string } | null };\n\nexport type ClientOnboardMutationVariables = Exact<{\n input: ClientOnboardInput;\n}>;\n\n\nexport type ClientOnboardMutation = { __typename?: 'Mutation', clientOnboard?: { __typename?: 'Entity', id: string, name?: string | null, externalId?: string | null, insertedAt?: string | null, updatedAt?: string | null, deletedAt?: string | null } | null };\n\nexport type OrganizationCreateMutationVariables = Exact<{\n input: OrganizationCreateInput;\n}>;\n\n\nexport type OrganizationCreateMutation = { __typename?: 'Mutation', organizationCreate?: { __typename?: 'Organization', id: string, name?: string | null, onboardedAt?: string | null, onboardedBy?: string | null, insertedAt?: string | null, updatedAt?: string | null, deletedAt?: string | null, address?: { __typename?: 'Address', line1?: string | null, line2?: string | null, city?: string | null, state?: string | null, country?: string | null, zip?: string | null } | null } | null };\n\nexport type EntityCreateMutationVariables = Exact<{\n input: EntityCreateInput;\n}>;\n\n\nexport type EntityCreateMutation = { __typename?: 'Mutation', entityCreate?: { __typename?: 'Entity', id: string, name?: string | null, description?: string | null, externalId?: string | null, parentId?: string | null, hasFinance?: boolean | null, funding?: FundingSource | null, insertedAt?: string | null, updatedAt?: string | null } | null };\n\nexport type EntityGetExternalIdQueryVariables = Exact<{\n externalId?: InputMaybe<Scalars['String']['input']>;\n}>;\n\n\nexport type EntityGetExternalIdQuery = { __typename?: 'Query', entity?: { __typename?: 'Entity', id: string, name?: string | null, description?: string | null, externalId?: string | null, hasFinance?: boolean | null, code?: string | null, path?: string | null, funding?: FundingSource | null, insertedAt?: string | null, updatedAt?: string | null, deletedAt?: string | null, costFactor?: number | null, parent?: { __typename?: 'Entity', id: string, name?: string | null, description?: string | null } | null, organization?: { __typename?: 'Organization', id: string, name?: string | null } | null, financialConfig?: { __typename?: 'FinancialConfig', id: string, entityId: string, accountType?: AccountType | null, issuerBin?: string | null, insertedAt?: string | null, updatedAt?: string | null, paymentProvider?: { __typename?: 'PaymentProvider', id: string, name?: string | null, slug?: string | null, insertedAt?: string | null, updatedAt?: string | null } | null } | null } | null };\n\nexport type MachineTokenizeUserMutationVariables = Exact<{\n input?: InputMaybe<MachineTokenizeUserInput>;\n}>;\n\n\nexport type MachineTokenizeUserMutation = { __typename?: 'Mutation', machineTokenizeUser?: { __typename?: 'MachineUserToken', access_token: string, expires_in: number } | null };\n\nexport type StandaloneCardCreateMutationVariables = Exact<{\n input: StandaloneCardCreateInput;\n}>;\n\n\nexport type StandaloneCardCreateMutation = { __typename?: 'Mutation', standaloneCardCreate: { __typename?: 'BooleanSuccessOutput', success: boolean } };\n\nexport type UserCreateMutationVariables = Exact<{\n input: UserCreateInput;\n}>;\n\n\nexport type UserCreateMutation = { __typename?: 'Mutation', userCreate?: { __typename?: 'User', id?: string | null, firstName?: string | null, lastName?: string | null, middleName?: string | null, fullName?: string | null, email?: string | null, phoneNumber?: string | null, employeeId?: string | null, role?: RoleType | null, status?: UserStatus | null, loginType?: LoginType | null, externalId?: string | null, organizationId?: string | null, insertedAt?: string | null, updatedAt?: string | null } | null };\n\nexport type UserOffboardMutationVariables = Exact<{\n input: Scalars['ID']['input'];\n}>;\n\n\nexport type UserOffboardMutation = { __typename?: 'Mutation', userOffboard?: string | null };\n\nexport type UserUpdateMutationVariables = Exact<{\n input: UserUpdateInput;\n}>;\n\n\nexport type UserUpdateMutation = { __typename?: 'Mutation', userUpdate?: { __typename?: 'User', id?: string | null, firstName?: string | null, lastName?: string | null, email?: string | null, phoneNumber?: string | null, employeeId?: string | null, role?: RoleType | null, status?: UserStatus | null } | null };\n\nexport type VehicleGroupCreateMutationVariables = Exact<{\n input: VehicleGroupCreateInput;\n}>;\n\n\nexport type VehicleGroupCreateMutation = { __typename?: 'Mutation', vehicleGroupCreate?: { __typename?: 'IndividualVehicleGroup', id: string, code?: string | null, name?: string | null, description?: string | null, externalId?: string | null, driverCount?: number | null, vehicleCount?: number | null, insertedAt?: string | null, updatedAt?: string | null } | null };\n\nexport type VehicleGroupDeleteMutationVariables = Exact<{\n id: Scalars['ID']['input'];\n}>;\n\n\nexport type VehicleGroupDeleteMutation = { __typename?: 'Mutation', vehicleGroupDelete?: string | null };\n\nexport type VehicleGroupDriversAddMutationVariables = Exact<{\n input: VehicleGroupDriversAddInput;\n}>;\n\n\nexport type VehicleGroupDriversAddMutation = { __typename?: 'Mutation', vehicleGroupDriversAdd?: { __typename?: 'VehicleGroup', id: string, name?: string | null, description?: string | null, externalId?: string | null, driverCount?: number | null, vehicleCount?: number | null, insertedAt?: string | null, updatedAt?: string | null } | null };\n\nexport type VehicleGroupDriversRemoveMutationVariables = Exact<{\n input: VehicleGroupDriversRemoveInput;\n}>;\n\n\nexport type VehicleGroupDriversRemoveMutation = { __typename?: 'Mutation', vehicleGroupDriversRemove?: { __typename?: 'VehicleGroup', id: string, name?: string | null, description?: string | null, externalId?: string | null, driverCount?: number | null, vehicleCount?: number | null, insertedAt?: string | null, updatedAt?: string | null } | null };\n\nexport type VehicleGroupVehiclesAddMutationVariables = Exact<{\n input: VehicleGroupVehiclesAddInput;\n}>;\n\n\nexport type VehicleGroupVehiclesAddMutation = { __typename?: 'Mutation', vehicleGroupVehiclesAdd?: { __typename?: 'VehicleGroup', id: string, name?: string | null, description?: string | null, externalId?: string | null, driverCount?: number | null, vehicleCount?: number | null, insertedAt?: string | null, updatedAt?: string | null } | null };\n\nexport type VehicleGroupVehiclesRemoveMutationVariables = Exact<{\n input: VehicleGroupVehiclesRemoveInput;\n}>;\n\n\nexport type VehicleGroupVehiclesRemoveMutation = { __typename?: 'Mutation', vehicleGroupVehiclesRemove?: { __typename?: 'VehicleGroup', id: string, name?: string | null, description?: string | null, externalId?: string | null, driverCount?: number | null, vehicleCount?: number | null, insertedAt?: string | null, updatedAt?: string | null } | null };\n\nexport type VehicleUpdateMutationVariables = Exact<{\n input: VehicleUpdateInput;\n}>;\n\n\nexport type VehicleUpdateMutation = { __typename?: 'Mutation', vehicleUpdate?: string | null };\n\nexport type VehiclesFilterQueryVariables = Exact<{\n input: VehiclesFilterInput;\n}>;\n\n\nexport type VehiclesFilterQuery = { __typename?: 'Query', vehiclesFilter?: { __typename?: 'VehiclesPage', data?: Array<{ __typename?: 'Vehicle', id?: string | null, vin: string } | null> | null, meta?: { __typename?: 'PageMeta', limit?: number | null, offset?: number | null, total?: number | null } | null } | null };\n\nexport type VehicleGroupsFilterQueryVariables = Exact<{\n input: VehicleGroupsFilterInput;\n}>;\n\n\nexport type VehicleGroupsFilterQuery = { __typename?: 'Query', vehicleGroupsFilter?: { __typename?: 'VehicleGroupsPage', data?: Array<{ __typename?: 'VehicleGroup', id: string, name?: string | null, description?: string | null, externalId?: string | null } | null> | null, meta?: { __typename?: 'PageMeta', limit?: number | null, offset?: number | null, total?: number | null } | null } | null };\n\nexport type VehiclesOnboardMutationVariables = Exact<{\n input: VehiclesOnboardInputList;\n}>;\n\n\nexport type VehiclesOnboardMutation = { __typename?: 'Mutation', vehiclesOnboard?: { __typename?: 'VehiclesOnboardOutputList', vehicles?: Array<{ __typename?: 'VehiclesOnboardOutput', id?: string | null, vin?: string | null, vehicleGroupId: string, success?: boolean | null, error?: string | null } | null> | null } | null };\n\n\nexport const ApiKeyCreateDocument = gql`\n mutation apiKeyCreate($input: ApiKeyCreateInput!) {\n apiKeyCreate(input: $input) {\n apiKey\n }\n}\n `;\nexport const ClientOnboardDocument = gql`\n mutation clientOnboard($input: ClientOnboardInput!) {\n clientOnboard(input: $input) {\n id\n name\n externalId\n insertedAt\n updatedAt\n deletedAt\n }\n}\n `;\nexport const OrganizationCreateDocument = gql`\n mutation organizationCreate($input: OrganizationCreateInput!) {\n organizationCreate(input: $input) {\n id\n name\n address {\n line1\n line2\n city\n state\n country\n zip\n }\n onboardedAt\n onboardedBy\n insertedAt\n updatedAt\n deletedAt\n }\n}\n `;\nexport const EntityCreateDocument = gql`\n mutation entityCreate($input: EntityCreateInput!) {\n entityCreate(input: $input) {\n id\n name\n description\n externalId\n parentId\n hasFinance\n funding\n insertedAt\n updatedAt\n }\n}\n `;\nexport const EntityGetExternalIdDocument = gql`\n query entityGetExternalId($externalId: String) {\n entity(externalId: $externalId) {\n id\n name\n description\n externalId\n parent {\n id\n name\n description\n }\n organization {\n id\n name\n }\n hasFinance\n code\n path\n funding\n insertedAt\n updatedAt\n deletedAt\n costFactor\n financialConfig {\n id\n entityId\n paymentProvider {\n id\n name\n slug\n insertedAt\n updatedAt\n }\n accountType\n issuerBin\n insertedAt\n updatedAt\n }\n }\n}\n `;\nexport const MachineTokenizeUserDocument = gql`\n mutation machineTokenizeUser($input: MachineTokenizeUserInput) {\n machineTokenizeUser(input: $input) {\n access_token\n expires_in\n }\n}\n `;\nexport const StandaloneCardCreateDocument = gql`\n mutation standaloneCardCreate($input: StandaloneCardCreateInput!) {\n standaloneCardCreate(input: $input) {\n success\n }\n}\n `;\nexport const UserCreateDocument = gql`\n mutation userCreate($input: UserCreateInput!) {\n userCreate(input: $input) {\n id\n firstName\n lastName\n middleName\n fullName\n email\n phoneNumber\n employeeId\n role\n status\n loginType\n externalId\n organizationId\n insertedAt\n updatedAt\n }\n}\n `;\nexport const UserOffboardDocument = gql`\n mutation userOffboard($input: ID!) {\n userOffboard(id: $input)\n}\n `;\nexport const UserUpdateDocument = gql`\n mutation userUpdate($input: UserUpdateInput!) {\n userUpdate(input: $input) {\n id\n firstName\n lastName\n email\n phoneNumber\n employeeId\n role\n status\n }\n}\n `;\nexport const VehicleGroupCreateDocument = gql`\n mutation vehicleGroupCreate($input: VehicleGroupCreateInput!) {\n vehicleGroupCreate(input: $input) {\n id\n code\n name\n description\n externalId\n driverCount\n vehicleCount\n insertedAt\n updatedAt\n }\n}\n `;\nexport const VehicleGroupDeleteDocument = gql`\n mutation vehicleGroupDelete($id: ID!) {\n vehicleGroupDelete(id: $id)\n}\n `;\nexport const VehicleGroupDriversAddDocument = gql`\n mutation vehicleGroupDriversAdd($input: VehicleGroupDriversAddInput!) {\n vehicleGroupDriversAdd(input: $input) {\n id\n name\n description\n externalId\n driverCount\n vehicleCount\n insertedAt\n updatedAt\n }\n}\n `;\nexport const VehicleGroupDriversRemoveDocument = gql`\n mutation vehicleGroupDriversRemove($input: VehicleGroupDriversRemoveInput!) {\n vehicleGroupDriversRemove(input: $input) {\n id\n name\n description\n externalId\n driverCount\n vehicleCount\n insertedAt\n updatedAt\n }\n}\n `;\nexport const VehicleGroupVehiclesAddDocument = gql`\n mutation vehicleGroupVehiclesAdd($input: VehicleGroupVehiclesAddInput!) {\n vehicleGroupVehiclesAdd(input: $input) {\n id\n name\n description\n externalId\n driverCount\n vehicleCount\n insertedAt\n updatedAt\n }\n}\n `;\nexport const VehicleGroupVehiclesRemoveDocument = gql`\n mutation vehicleGroupVehiclesRemove($input: VehicleGroupVehiclesRemoveInput!) {\n vehicleGroupVehiclesRemove(input: $input) {\n id\n name\n description\n externalId\n driverCount\n vehicleCount\n insertedAt\n updatedAt\n }\n}\n `;\nexport const VehicleUpdateDocument = gql`\n mutation vehicleUpdate($input: VehicleUpdateInput!) {\n vehicleUpdate(input: $input)\n}\n `;\nexport const VehiclesFilterDocument = gql`\n query vehiclesFilter($input: VehiclesFilterInput!) {\n vehiclesFilter(input: $input) {\n data {\n id\n vin\n }\n meta {\n limit\n offset\n total\n }\n }\n}\n `;\nexport const VehicleGroupsFilterDocument = gql`\n query vehicleGroupsFilter($input: VehicleGroupsFilterInput!) {\n vehicleGroupsFilter(input: $input) {\n data {\n id\n name\n description\n externalId\n }\n meta {\n limit\n offset\n total\n }\n }\n}\n `;\nexport const VehiclesOnboardDocument = gql`\n mutation vehiclesOnboard($input: VehiclesOnboardInputList!) {\n vehiclesOnboard(input: $input) {\n vehicles {\n id\n vin\n vehicleGroupId\n success\n error\n }\n }\n}\n `;\n\nexport type SdkFunctionWrapper = <T>(action: (requestHeaders?:Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;\n\n\nconst defaultWrapper: SdkFunctionWrapper = (action, _operationName, _operationType, _variables) => action();\n\nexport function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = defaultWrapper) {\n return {\n apiKeyCreate(variables: ApiKeyCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<ApiKeyCreateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<ApiKeyCreateMutation>({ document: ApiKeyCreateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'apiKeyCreate', 'mutation', variables);\n },\n clientOnboard(variables: ClientOnboardMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<ClientOnboardMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<ClientOnboardMutation>({ document: ClientOnboardDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'clientOnboard', 'mutation', variables);\n },\n organizationCreate(variables: OrganizationCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<OrganizationCreateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<OrganizationCreateMutation>({ document: OrganizationCreateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'organizationCreate', 'mutation', variables);\n },\n entityCreate(variables: EntityCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<EntityCreateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<EntityCreateMutation>({ document: EntityCreateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'entityCreate', 'mutation', variables);\n },\n entityGetExternalId(variables?: EntityGetExternalIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<EntityGetExternalIdQuery> {\n return withWrapper((wrappedRequestHeaders) => client.request<EntityGetExternalIdQuery>({ document: EntityGetExternalIdDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'entityGetExternalId', 'query', variables);\n },\n machineTokenizeUser(variables?: MachineTokenizeUserMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<MachineTokenizeUserMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<MachineTokenizeUserMutation>({ document: MachineTokenizeUserDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'machineTokenizeUser', 'mutation', variables);\n },\n standaloneCardCreate(variables: StandaloneCardCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<StandaloneCardCreateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<StandaloneCardCreateMutation>({ document: StandaloneCardCreateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'standaloneCardCreate', 'mutation', variables);\n },\n userCreate(variables: UserCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<UserCreateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<UserCreateMutation>({ document: UserCreateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'userCreate', 'mutation', variables);\n },\n userOffboard(variables: UserOffboardMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<UserOffboardMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<UserOffboardMutation>({ document: UserOffboardDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'userOffboard', 'mutation', variables);\n },\n userUpdate(variables: UserUpdateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<UserUpdateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<UserUpdateMutation>({ document: UserUpdateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'userUpdate', 'mutation', variables);\n },\n vehicleGroupCreate(variables: VehicleGroupCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehicleGroupCreateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehicleGroupCreateMutation>({ document: VehicleGroupCreateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehicleGroupCreate', 'mutation', variables);\n },\n vehicleGroupDelete(variables: VehicleGroupDeleteMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehicleGroupDeleteMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehicleGroupDeleteMutation>({ document: VehicleGroupDeleteDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehicleGroupDelete', 'mutation', variables);\n },\n vehicleGroupDriversAdd(variables: VehicleGroupDriversAddMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehicleGroupDriversAddMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehicleGroupDriversAddMutation>({ document: VehicleGroupDriversAddDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehicleGroupDriversAdd', 'mutation', variables);\n },\n vehicleGroupDriversRemove(variables: VehicleGroupDriversRemoveMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehicleGroupDriversRemoveMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehicleGroupDriversRemoveMutation>({ document: VehicleGroupDriversRemoveDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehicleGroupDriversRemove', 'mutation', variables);\n },\n vehicleGroupVehiclesAdd(variables: VehicleGroupVehiclesAddMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehicleGroupVehiclesAddMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehicleGroupVehiclesAddMutation>({ document: VehicleGroupVehiclesAddDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehicleGroupVehiclesAdd', 'mutation', variables);\n },\n vehicleGroupVehiclesRemove(variables: VehicleGroupVehiclesRemoveMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehicleGroupVehiclesRemoveMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehicleGroupVehiclesRemoveMutation>({ document: VehicleGroupVehiclesRemoveDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehicleGroupVehiclesRemove', 'mutation', variables);\n },\n vehicleUpdate(variables: VehicleUpdateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehicleUpdateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehicleUpdateMutation>({ document: VehicleUpdateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehicleUpdate', 'mutation', variables);\n },\n vehiclesFilter(variables: VehiclesFilterQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehiclesFilterQuery> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehiclesFilterQuery>({ document: VehiclesFilterDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehiclesFilter', 'query', variables);\n },\n vehicleGroupsFilter(variables: VehicleGroupsFilterQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehicleGroupsFilterQuery> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehicleGroupsFilterQuery>({ document: VehicleGroupsFilterDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehicleGroupsFilter', 'query', variables);\n },\n vehiclesOnboard(variables: VehiclesOnboardMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehiclesOnboardMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehiclesOnboardMutation>({ document: VehiclesOnboardDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehiclesOnboard', 'mutation', variables);\n }\n };\n}\nexport type Sdk = ReturnType<typeof getSdk>;","export const ENDPOINTS = {\n int: 'https://api-gateway.int.gocariq.com/',\n stage: 'https://api-gateway.stage.gocariq.com/',\n} as const;\n","import { GraphQLClient } from 'graphql-request';\nimport { getSdk } from './generated/organization/sdk';\nimport { ENDPOINTS } from './consts';\n\nexport interface ElementPayOrganizationConfig {\n apiKey: string;\n environment?: 'int' | 'stage';\n endpoint?: string;\n}\n\nexport function getOrganizationSdk(\n config: ElementPayOrganizationConfig,\n) {\n const environment = config.environment ?? 'stage';\n const endpoint = config.endpoint ?? ENDPOINTS[environment];\n\n const client = new GraphQLClient(endpoint, {\n headers: {\n 'x-api-key': config.apiKey,\n 'Content-Type': 'application/json',\n },\n });\n\n return getSdk(client);\n}\n","import { GraphQLClient, RequestOptions } from 'graphql-request';\nimport gql from 'graphql-tag';\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };\nexport type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\ntype GraphQLClientRequestHeaders = RequestOptions['requestHeaders'];\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: { input: string; output: string; }\n String: { input: string; output: string; }\n Boolean: { input: boolean; output: boolean; }\n Int: { input: number; output: number; }\n Float: { input: number; output: number; }\n JSON: { input: any; output: any; }\n JSONObject: { input: any; output: any; }\n};\n\nexport enum AccountType {\n Credit = 'CREDIT',\n PrePaid = 'PRE_PAID'\n}\n\nexport type AdditionalInfoInput = {\n /** Managers/dashboard user phone number that's not used for authentication */\n contactPhoneNumber?: InputMaybe<Scalars['String']['input']>;\n /** If the phone number is a corporate phone. */\n isCorporatePhone?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\n/** Options of calling servicePay */\nexport type AdditionalTransactionInfo = {\n __typename?: 'AdditionalTransactionInfo';\n /** Aggregator for pump unlock such as QUIKQ, P97, CARIQ_OPENLOOP, PDI, etc */\n aggregator?: Maybe<Scalars['String']['output']>;\n /** Job Code entered by driver */\n jobCode?: Maybe<Scalars['String']['output']>;\n /** Odometer of car at time of transaction */\n odometer?: Maybe<Scalars['Int']['output']>;\n /** Pump Number chosen by the driver */\n pumpNumber?: Maybe<Scalars['Int']['output']>;\n};\n\n/** Address of an organization or a transaction */\nexport type Address = {\n __typename?: 'Address';\n city?: Maybe<Scalars['String']['output']>;\n country?: Maybe<Scalars['String']['output']>;\n line1?: Maybe<Scalars['String']['output']>;\n line2?: Maybe<Scalars['String']['output']>;\n state?: Maybe<Scalars['String']['output']>;\n zip?: Maybe<Scalars['String']['output']>;\n};\n\n/** The address provided as an input when creating an organization. */\nexport type AddressInput = {\n city: Scalars['String']['input'];\n country: Scalars['String']['input'];\n line1: Scalars['String']['input'];\n line2?: InputMaybe<Scalars['String']['input']>;\n state: Scalars['String']['input'];\n zip: Scalars['String']['input'];\n};\n\nexport type ApiKeyCreateInput = {\n /** Entity Id */\n entityId?: InputMaybe<Scalars['ID']['input']>;\n /** Api Key Name */\n name: Scalars['String']['input'];\n /** Organization Id */\n organizationId: Scalars['ID']['input'];\n};\n\nexport type ApiKeyCreateOutput = {\n __typename?: 'ApiKeyCreateOutput';\n /** Api Key */\n apiKey: Scalars['String']['output'];\n};\n\nexport type ApiKeyRevokeInput = {\n /** Api Key */\n apiKey: Scalars['String']['input'];\n};\n\nexport type ApiKeyRevokeOutput = {\n __typename?: 'ApiKeyRevokeOutput';\n /** Success */\n success: Scalars['Boolean']['output'];\n};\n\nexport type ApplyForCreditInput = {\n encryptedKey?: InputMaybe<Scalars['String']['input']>;\n /** Encrypted payload byte array encoded as Base64 string from encrypting with publicKey from creditApplicationPublicKey endpoint. */\n encryptedPayload?: InputMaybe<Scalars['String']['input']>;\n id?: InputMaybe<Scalars['String']['input']>;\n iv?: InputMaybe<Scalars['String']['input']>;\n step: ApplyForCreditStep;\n};\n\nexport type ApplyForCreditOutput = {\n __typename?: 'ApplyForCreditOutput';\n id?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum ApplyForCreditStep {\n Beneficiary = 'BENEFICIARY',\n Business = 'BUSINESS',\n ControlPerson = 'CONTROL_PERSON',\n Identification = 'IDENTIFICATION',\n Submission = 'SUBMISSION',\n Yourself = 'YOURSELF'\n}\n\n/** Add or update a policy on a policy id, entity id, or a vehicle id. */\nexport type ApplyPolicyInput = {\n /** Entity to add or update a policy on. */\n entityId?: InputMaybe<Scalars['String']['input']>;\n /** Policy id to update a policy on. */\n policyId: Scalars['String']['input'];\n /** Propagate the policies to children entities. */\n recursively?: InputMaybe<Scalars['Boolean']['input']>;\n /** Vehicle group id to add or update a policy on. */\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type ApplyPolicyOutput = {\n __typename?: 'ApplyPolicyOutput';\n /** Entity id that policy manage request changed. */\n entityId?: Maybe<Scalars['String']['output']>;\n /** Policy id that policy manage request changed. */\n policyId: Scalars['String']['output'];\n /** If the policy gets propagated to children. */\n recursively?: Maybe<Scalars['Boolean']['output']>;\n /** Vehicle group id that policy manage request changed. */\n vehicleGroupId?: Maybe<Scalars['String']['output']>;\n};\n\nexport type BooleanSuccessOutput = {\n __typename?: 'BooleanSuccessOutput';\n success: Scalars['Boolean']['output'];\n};\n\nexport enum BrandingType {\n CarIq = 'CAR_IQ',\n CirckleKPro = 'CIRCKLE_K_PRO',\n FuelMe = 'FUEL_ME'\n}\n\nexport type CardDetails = {\n __typename?: 'CardDetails';\n /** Name of the Card Holder */\n cardHolder?: Maybe<Scalars['String']['output']>;\n /** Expiration date on the card */\n expiration?: Maybe<Scalars['String']['output']>;\n /** Id of the Card */\n id?: Maybe<Scalars['String']['output']>;\n /** Last four digits of the card number. */\n lastFour?: Maybe<Scalars['String']['output']>;\n /** Type of card: VISA, MASTERCARD, etc. */\n type?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum CardNetwork {\n Mastercard = 'MASTERCARD',\n Visa = 'VISA'\n}\n\nexport type ClientOnboardInput = {\n /** The address of the organization */\n address: AddressInput;\n /** Disable check location when vehicle data is down */\n checkLocationOverride?: InputMaybe<Scalars['Boolean']['input']>;\n /** Cost factor to filter by fuel station cost */\n costFactorEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Organization email. */\n email?: InputMaybe<Scalars['String']['input']>;\n externalId: Scalars['String']['input'];\n integratorId?: InputMaybe<Scalars['ID']['input']>;\n /** Organization name. */\n name: Scalars['String']['input'];\n /** Who onboarded the organization */\n onboardedBy?: InputMaybe<Scalars['String']['input']>;\n /** Organization tax id. */\n taxId?: InputMaybe<Scalars['String']['input']>;\n unitsId?: InputMaybe<Scalars['String']['input']>;\n /** If enabled, syncs telematics data for a vehicle and removes ability to edit that vehicle */\n useTspMetadata?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport enum ConnectionType {\n Email = 'EMAIL',\n Sms = 'SMS'\n}\n\nexport type CreditApplicationPublicKeyOutput = {\n __typename?: 'CreditApplicationPublicKeyOutput';\n /** Public Key byte array encoded as Base64 string. */\n publicKey: Scalars['String']['output'];\n};\n\nexport type CreditStatement = {\n __typename?: 'CreditStatement';\n /** Date by which payment id due. */\n dueDate?: Maybe<Scalars['String']['output']>;\n /** Unique Identifier for the credit statement. */\n id?: Maybe<Scalars['String']['output']>;\n /** Amount due for the statement period as a negative number. */\n statementBalance?: Maybe<Scalars['String']['output']>;\n /** Date when credit statement was generated. */\n statementDate?: Maybe<Scalars['String']['output']>;\n /** Start date of the statement period. */\n statementDateFrom?: Maybe<Scalars['String']['output']>;\n /** End date of the statement period. */\n statementDateTo?: Maybe<Scalars['String']['output']>;\n};\n\nexport type CreditStatementDownloadInput = {\n /** Credit Statement Id */\n creditStatementId: Scalars['ID']['input'];\n /** Primary Account Id */\n primaryAccountId: Scalars['ID']['input'];\n};\n\nexport enum CreditStatementSorting {\n /** Sort credit statements by the billing period ascending. */\n BillingPeriodAsc = 'BILLING_PERIOD_ASC',\n /** Sort credit statements by the billing period descending. */\n BillingPeriodDesc = 'BILLING_PERIOD_DESC',\n /** Sort credit statements by the due date ascending. */\n DueDateAsc = 'DUE_DATE_ASC',\n /** Sort credit statements by the due date descending. */\n DueDateDesc = 'DUE_DATE_DESC',\n /** Sort credit statements by the statement balance ascending. */\n StatementBalanceAsc = 'STATEMENT_BALANCE_ASC',\n /** Sort credit statements by the statement balance descending. */\n StatementBalanceDesc = 'STATEMENT_BALANCE_DESC',\n /** Sort credit statements by the date ascending. */\n StatementDateAsc = 'STATEMENT_DATE_ASC',\n /** Sort credit statements by the date descending. */\n StatementDateDesc = 'STATEMENT_DATE_DESC'\n}\n\nexport enum DataType {\n Text = 'TEXT',\n Unknown = 'UNKNOWN'\n}\n\nexport type DaysTimeRanges = {\n __typename?: 'DaysTimeRanges';\n friday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n monday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n saturday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n sunday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n thursday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n tuesday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n wednesday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n};\n\nexport type DaysTimeRangesInput = {\n friday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n monday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n saturday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n sunday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n thursday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n tuesday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n wednesday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n};\n\nexport enum DecisionStatus {\n DecisionAuthorized = 'DECISION_AUTHORIZED',\n DecisionAuthorizedOffline = 'DECISION_AUTHORIZED_OFFLINE',\n DecisionDeclined = 'DECISION_DECLINED',\n DecisionUnknown = 'DECISION_UNKNOWN'\n}\n\nexport enum DigitalWallet {\n DigitalWalletAndroid = 'DIGITAL_WALLET_ANDROID',\n DigitalWalletApple = 'DIGITAL_WALLET_APPLE'\n}\n\nexport enum Direction {\n Asc = 'ASC',\n Desc = 'DESC'\n}\n\nexport type Driver = {\n __typename?: 'Driver';\n additionalInfo?: Maybe<Scalars['JSONObject']['output']>;\n deletedAt?: Maybe<Scalars['String']['output']>;\n email?: Maybe<Scalars['String']['output']>;\n employeeId?: Maybe<Scalars['String']['output']>;\n /** Auth0 id. */\n externalId?: Maybe<Scalars['String']['output']>;\n firstName?: Maybe<Scalars['String']['output']>;\n fullName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n lastName?: Maybe<Scalars['String']['output']>;\n loginType?: Maybe<LoginType>;\n middleName?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['ID']['output']>;\n phoneNumber?: Maybe<Scalars['String']['output']>;\n status?: Maybe<UserStatus>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n username?: Maybe<Scalars['String']['output']>;\n /** List of vehicle groups that this driver belongs to. */\n vehicleGroups: Array<VehicleGroup>;\n};\n\nexport type DriverCreateInput = {\n email?: InputMaybe<Scalars['String']['input']>;\n employeeId?: InputMaybe<Scalars['String']['input']>;\n firstName: Scalars['String']['input'];\n isCorporatePhone?: InputMaybe<Scalars['Boolean']['input']>;\n lastName: Scalars['String']['input'];\n middleName?: InputMaybe<Scalars['String']['input']>;\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n vehicleGroups: Array<Scalars['ID']['input']>;\n};\n\nexport type DriverReport = {\n __typename?: 'DriverReport';\n /** Data stream pertaining to the report. */\n data?: Maybe<Scalars['String']['output']>;\n /** Specifies errors if the report didn't generate. */\n error?: Maybe<Scalars['String']['output']>;\n /** Whether drivers exist in this report. */\n exists?: Maybe<Scalars['Boolean']['output']>;\n /** File name of the report. */\n fileName?: Maybe<Scalars['String']['output']>;\n};\n\nexport type DriverReportDownloadInput = {\n /** Filter on entities or vehicle groups. */\n filterType: DriverReportFilterType;\n id: Scalars['ID']['input'];\n /** Include only onboarded or offboarded drivers */\n type: DriverReportType;\n};\n\nexport enum DriverReportFilterType {\n /** Include only entities in DriverReport. */\n Entity = 'ENTITY',\n /** Include only vehicle groups in DriverReport. */\n VehicleGroup = 'VEHICLE_GROUP'\n}\n\nexport enum DriverReportType {\n /** Include only offboarded drivers, such as deactivated and deleted drivers. */\n OffboardedDrivers = 'OFFBOARDED_DRIVERS',\n /** Include only onboarded drivers, such as invited and onboarded drivers. */\n OnboardedDrivers = 'ONBOARDED_DRIVERS'\n}\n\nexport type DriverSpending = {\n __typename?: 'DriverSpending';\n id: Scalars['ID']['output'];\n name: Scalars['String']['output'];\n percentageChange?: Maybe<Scalars['String']['output']>;\n totalCurrentPeriod?: Maybe<Scalars['String']['output']>;\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n transactionsCount?: Maybe<Scalars['Int']['output']>;\n vehiclesCount?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type DriverUpdateInput = {\n employeeId?: InputMaybe<Scalars['String']['input']>;\n firstName?: InputMaybe<Scalars['String']['input']>;\n id: Scalars['ID']['input'];\n isCorporatePhone?: InputMaybe<Scalars['Boolean']['input']>;\n lastName?: InputMaybe<Scalars['String']['input']>;\n middleName?: InputMaybe<Scalars['String']['input']>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n vehicleGroups: Array<Scalars['ID']['input']>;\n};\n\nexport type DriversFilterInput = {\n /** Filter on vehicle group id or user statuses. */\n filter: DriversFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Sort options for driversFilter which includes ordering by inserted at, first name, last name, email, phone number, and employee id. */\n sortOptions?: InputMaybe<DriversSortOptions>;\n};\n\nexport type DriversFilterOptions = {\n /** Filter on user statuses such as invited, onboarded, deleted, etc. */\n statuses?: InputMaybe<Array<InputMaybe<UserStatus>>>;\n /** Filter on a vehicle group id. */\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n};\n\n/** Order by different values for the driversFilter query. */\nexport enum DriversSortField {\n Email = 'EMAIL',\n EmployeeId = 'EMPLOYEE_ID',\n FirstName = 'FIRST_NAME',\n InsertedAt = 'INSERTED_AT',\n LastName = 'LAST_NAME',\n PhoneNumber = 'PHONE_NUMBER'\n}\n\nexport type DriversSortOptions = {\n /** Sort by direction such as ascending or descending. */\n direction: SortDirection;\n /** Order by values such as inserted at, first name, last name, email, phone number, and employee id. */\n orderBy: DriversSortField;\n};\n\nexport type EntitiesFilterInput = {\n /** Filter by parentId and if to include the children. */\n filter: EntitiesFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Sort by ordering by the name and direction based on first name, last name, or both. */\n sortOptions?: InputMaybe<EntitiesSortOptions>;\n};\n\nexport type EntitiesFilterOptions = {\n /** Whether to include child entities of the parent id. */\n includeChildren?: InputMaybe<Scalars['Boolean']['input']>;\n /** The parent entity to filter on. */\n parentId?: InputMaybe<Scalars['ID']['input']>;\n};\n\nexport type EntitiesPage = {\n __typename?: 'EntitiesPage';\n /** A list of entities */\n data?: Maybe<Array<Maybe<Entity>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport enum EntitiesSortField {\n Name = 'NAME'\n}\n\nexport type EntitiesSortOptions = {\n /** Specify the direction of ordering: ASC or DESC. */\n direction: SortDirection;\n /** Order by the Name for EntitiesFilter. */\n orderBy: EntitiesSortField;\n};\n\nexport type Entity = {\n __typename?: 'Entity';\n code?: Maybe<Scalars['String']['output']>;\n /** Cost factor number to indicate station price */\n costFactor?: Maybe<Scalars['Int']['output']>;\n /** Client ID for an organization. */\n customerId?: Maybe<Scalars['String']['output']>;\n /** If this record was deleted, specifies when it was deleted. */\n deletedAt?: Maybe<Scalars['String']['output']>;\n /** Entity description. */\n description?: Maybe<Scalars['String']['output']>;\n /** To optionally store your own id to map between different systems. */\n externalId?: Maybe<Scalars['String']['output']>;\n /** Information on the entities finances: payment provider, account is credit or prepaid, issuerBin. */\n financialConfig?: Maybe<FinancialConfig>;\n /** How the account is funded: ACH or Parent. */\n funding?: Maybe<FundingSource>;\n /** Deprecated method for creating a credit account. */\n hasFinance?: Maybe<Scalars['Boolean']['output']>;\n id: Scalars['ID']['output'];\n /** When the entity record was inserted. */\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Entity name */\n name?: Maybe<Scalars['String']['output']>;\n /** Organization information that belongs to this entity. */\n organization?: Maybe<Organization>;\n /** Entity information of parent, if there is one. */\n parent?: Maybe<Entity>;\n /** ID of parent entity, if there is one. */\n parentId?: Maybe<Scalars['ID']['output']>;\n path?: Maybe<Scalars['String']['output']>;\n /** Services allowed on the entity: tolling, fueling, etc */\n policies?: Maybe<Array<Maybe<Policy>>>;\n /** When the entity record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type EntityAccountInfo = {\n __typename?: 'EntityAccountInfo';\n /** Credit account attached to this entity. */\n account?: Maybe<EntityPrimaryAccount>;\n /** Whether your balance will be automatically paid for each month. */\n autoPay?: Maybe<Scalars['Boolean']['output']>;\n /** Credit remaining this month. */\n availableCreditLimit?: Maybe<Scalars['String']['output']>;\n /** For Credit, it's the amount due for the current period. For pre-paid, it's the available amount to transact. */\n balance?: Maybe<Scalars['String']['output']>;\n billingCycle?: Maybe<Scalars['String']['output']>;\n /** Current Billing Period End */\n billingPeriodEnd?: Maybe<Scalars['String']['output']>;\n /** Current Billing Period Start */\n billingPeriodStart?: Maybe<Scalars['String']['output']>;\n /** Card details for this entity account. */\n cardDetails?: Maybe<Array<Maybe<CardDetails>>>;\n /** Monthly limit on credit. */\n creditLimit?: Maybe<Scalars['String']['output']>;\n dueDate?: Maybe<Scalars['String']['output']>;\n /** Is Invoice Issues Past Due Date */\n isInvoicePastDue?: Maybe<Scalars['Boolean']['output']>;\n /** Name of the account */\n name?: Maybe<Scalars['String']['output']>;\n /** Next Auto Pay Date */\n nextAutoPay?: Maybe<Scalars['String']['output']>;\n /** Balance that has been used up with credit this month. */\n outstandingBalance?: Maybe<Scalars['String']['output']>;\n /** Payment Provider that facilitates the payment such as I2C, Discover, etc. */\n paymentProvider?: Maybe<PaymentProviderEnum>;\n /** Balance on pending transactions. */\n pendingTransactionsBalance?: Maybe<Scalars['String']['output']>;\n /** Type of account: CREDIT or PRE_PAID. */\n type?: Maybe<AccountType>;\n};\n\nexport type EntityCreateInput = {\n /** Description of the entity. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** To optionally store your own id to map between different systems. */\n externalId?: InputMaybe<Scalars['String']['input']>;\n /** How the account is funded: ACH or Parent. */\n funding?: InputMaybe<FundingSource>;\n /** Deprecated method for creating a credit account. */\n hasFinance?: InputMaybe<Scalars['Boolean']['input']>;\n /** Name of the entity. */\n name: Scalars['String']['input'];\n /** Organization Id this entity belongs to. */\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n /** ID of parent entity, if there is one. */\n parentId?: InputMaybe<Scalars['ID']['input']>;\n};\n\nexport type EntityFilter = {\n /** Entity id to filter on for search filter */\n entityId?: InputMaybe<Scalars['String']['input']>;\n /** Include the children of the entity specified. */\n includeChildren?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type EntityPrimaryAccount = {\n __typename?: 'EntityPrimaryAccount';\n /** Bank routing number, a 9-digit number that identifies a bank/other financial institution. */\n bankRoutingNo?: Maybe<Scalars['String']['output']>;\n /** The credit limit for the account. */\n creditLimit?: Maybe<Scalars['String']['output']>;\n /** Entity information for the account holding this entity. */\n entity?: Maybe<Entity>;\n /** The external account number for the account. */\n externalAccountNumber?: Maybe<Scalars['String']['output']>;\n id: Scalars['ID']['output'];\n /** Whether this primary account is active or not. */\n isActive?: Maybe<Scalars['Boolean']['output']>;\n /** Deprecated. Has physical card, ex) Voyager accounts. */\n isPhysicalCard?: Maybe<Scalars['Boolean']['output']>;\n /** Which service will this account fund: fueling, tolling, parking, etc. */\n merchantCategory?: Maybe<MerchantCategory>;\n /** Specifies the id and name of the payment provider record. */\n paymentProvider?: Maybe<PaymentProvider>;\n /** Unique identification for a financial entity. */\n paymentProviderId?: Maybe<Scalars['ID']['output']>;\n /** Identification of the card program from I2C */\n programId?: Maybe<Scalars['String']['output']>;\n /** Supported programs/features for the entity. */\n programSupports?: Maybe<ProgramSupports>;\n /** Only for pre-paid. It's the account number from I2C to fund the account. */\n pseudoDda?: Maybe<Scalars['String']['output']>;\n /** Payment Status */\n status?: Maybe<PrimaryAccountStatus>;\n};\n\nexport type ExchangeAuthorizationCodeInput = {\n code: Scalars['String']['input'];\n redirectUri: Scalars['String']['input'];\n universalLoginClientId: Scalars['String']['input'];\n universalLoginClientSecret: Scalars['String']['input'];\n};\n\nexport enum FeeNetworkDesignationType {\n ExtendedNetwork = 'EXTENDED_NETWORK',\n InNetwork = 'IN_NETWORK',\n OutOfNetwork = 'OUT_OF_NETWORK'\n}\n\nexport type FinancialConfig = {\n __typename?: 'FinancialConfig';\n /** Type of account: CREDIT or PRE_PAID */\n accountType?: Maybe<AccountType>;\n entityId: Scalars['ID']['output'];\n id: Scalars['ID']['output'];\n /** When the financial config record was created. */\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Bank Identification Number. It's the first 4-6 numbers on a payment card. */\n issuerBin?: Maybe<Scalars['String']['output']>;\n /** Specifies the id and name of the payment provider record. */\n paymentProvider?: Maybe<PaymentProvider>;\n /** When the financial config record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type FuelRestrictions = {\n __typename?: 'FuelRestrictions';\n /** Amount per day, usually around $125. */\n amountPerDay?: Maybe<Scalars['String']['output']>;\n /** Also known as purchase limit. Usually between $5 and $1000. */\n amountPerTransaction?: Maybe<Scalars['String']['output']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: Maybe<Scalars['Boolean']['output']>;\n /** Define which days and times vehicles can transact at for fueling. */\n daysOfWeek?: Maybe<PurchaseDaysOfWeek>;\n /** Defines to and from times that a vehicle can purchase at. */\n hours?: Maybe<PurchaseTimeRange>;\n isEnabled?: Maybe<Scalars['Boolean']['output']>;\n /** Number of transactions */\n noOfTransactions?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type FuelRestrictionsInput = {\n /** Amount per day, usually around $125. */\n amountPerDay?: InputMaybe<Scalars['String']['input']>;\n /** Also known as purchas limit. Usually between $5 and $1000. */\n amountPerTransaction?: InputMaybe<Scalars['String']['input']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: InputMaybe<Scalars['Boolean']['input']>;\n /** Define which days and times vehicles can transact at for fueling. */\n daysOfWeek?: InputMaybe<PurchaseDaysOfWeekInput>;\n /** Defines to and from times that a vehicle can purchase at. */\n hours?: InputMaybe<PurchaseTimeRangeInput>;\n isEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Number of transactions */\n noOfTransactions?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport enum FundingSource {\n /** Electronic bank transfer. */\n Ach = 'ACH',\n /** Funding is done through the parent entities funding source. */\n Parent = 'PARENT',\n Unknown = 'UNKNOWN'\n}\n\nexport type GenerateTokenCoFInput = {\n paymentProviderAccountId: Scalars['String']['input'];\n vehicleId: Scalars['String']['input'];\n};\n\nexport type GenerateTokenCoFOutput = {\n __typename?: 'GenerateTokenCoFOutput';\n token: Scalars['String']['output'];\n};\n\nexport type Geobounds = {\n __typename?: 'Geobounds';\n /** Radius in miles around the point. */\n radius?: Maybe<Scalars['Float']['output']>;\n /** Well-known text, a point for geolocation. */\n wkt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GeotabDriveLogin = {\n __typename?: 'GeotabDriveLogin';\n /** Sign in token */\n access_token: Scalars['String']['output'];\n /** Expires in */\n expires_in: Scalars['Int']['output'];\n /** Vehicle ID. Only returned if user is assigned to only 1 vehicle, otherwise null. */\n vehicleId?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GeotabDriveLoginInput = {\n /** Database Name */\n databaseName: Scalars['String']['input'];\n /** Email or Employee ID */\n externalId: Scalars['String']['input'];\n /** Session ID */\n sessionId: Scalars['String']['input'];\n};\n\nexport type GetCreditStatementsInput = {\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n paymentProviderAccountId?: InputMaybe<Scalars['String']['input']>;\n /** Sort based ascending or descending on statement date, billing period, due date, or statement balance */\n sorting?: InputMaybe<CreditStatementSorting>;\n};\n\nexport type GetCreditStatementsOutput = {\n __typename?: 'GetCreditStatementsOutput';\n /** List of statements with the date, due date, and balances */\n data?: Maybe<Array<Maybe<CreditStatement>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type GetInvoicePaymentsInput = {\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n paymentProviderAccountId?: InputMaybe<Scalars['String']['input']>;\n /** Sort on date, description, status, and amounts ascending and descending. */\n sorting?: InputMaybe<InvoicePaymentSorting>;\n};\n\nexport type GetInvoicePaymentsOutput = {\n __typename?: 'GetInvoicePaymentsOutput';\n /** List of credit payments on a payment provider account using ppaid with an option of sorting. */\n data?: Maybe<Array<Maybe<InvoicePayment>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type GetUserEntityResponse = {\n __typename?: 'GetUserEntityResponse';\n code?: Maybe<Scalars['String']['output']>;\n /** Cost factor number to indicate station price */\n costFactor?: Maybe<Scalars['Int']['output']>;\n /** Client ID for an organization. */\n customerId?: Maybe<Scalars['String']['output']>;\n /** If this record was deleted, specifies when it was deleted. */\n deletedAt?: Maybe<Scalars['String']['output']>;\n /** Entity description. */\n description?: Maybe<Scalars['String']['output']>;\n /** To optionally store your own id to map between different systems. */\n externalId?: Maybe<Scalars['String']['output']>;\n /** Information on the entities finances: payment provider, account is credit or prepaid, issuerBin. */\n financialConfig?: Maybe<FinancialConfig>;\n /** How the account is funded: ACH or Parent. */\n funding?: Maybe<FundingSource>;\n /** Deprecated method for creating a credit account. */\n hasFinance?: Maybe<Scalars['Boolean']['output']>;\n id: Scalars['ID']['output'];\n /** When the entity record was inserted. */\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Entity name */\n name?: Maybe<Scalars['String']['output']>;\n /** Organization information that belongs to this entity. */\n organization?: Maybe<Organization>;\n /** Entity information of parent, if there is one. */\n parent?: Maybe<Entity>;\n /** ID of parent entity, if there is one. */\n parentId?: Maybe<Scalars['ID']['output']>;\n path?: Maybe<Scalars['String']['output']>;\n /** Primary account for the entity. */\n paymentProviderAccount?: Maybe<EntityPrimaryAccount>;\n /** Services allowed on the entity: tolling, fueling, etc */\n policies?: Maybe<Array<Maybe<Policy>>>;\n /** When the entity record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GetUserUserResponse = {\n __typename?: 'GetUserUserResponse';\n /** Specifies if phone number is a corporate phone. */\n additionalInfo?: Maybe<UserAdditionalInfo>;\n email?: Maybe<Scalars['String']['output']>;\n employeeId?: Maybe<Scalars['String']['output']>;\n /** Entity the user belongs to. */\n entity?: Maybe<GetUserEntityResponse>;\n /** Auth0 Id */\n externalId?: Maybe<Scalars['String']['output']>;\n firstName?: Maybe<Scalars['String']['output']>;\n fullName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n lastName?: Maybe<Scalars['String']['output']>;\n /** Email or phone */\n loginType?: Maybe<LoginType>;\n /** List of loyalty accounts for the user. */\n loyaltyAccounts?: Maybe<Array<Maybe<UserLoyaltyAccountForUser>>>;\n middleName?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['ID']['output']>;\n phoneNumber?: Maybe<Scalars['String']['output']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: Maybe<RoleType>;\n status?: Maybe<UserStatus>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** deprecated */\n username?: Maybe<Scalars['String']['output']>;\n /** Return a list of vehicle groups. */\n vehicleGroups?: Maybe<Array<Maybe<VehicleGroup>>>;\n};\n\nexport type HashMap = {\n __typename?: 'HashMap';\n key: Scalars['String']['output'];\n value: Scalars['String']['output'];\n};\n\nexport type HashMapInput = {\n key: Scalars['String']['input'];\n value: Scalars['String']['input'];\n};\n\nexport type IndividualVehicle = {\n __typename?: 'IndividualVehicle';\n cardData?: Maybe<VoyagerCardData>;\n createdAt?: Maybe<Scalars['String']['output']>;\n /** Details on a vehicle such as model, make, year, trim, manufacture plant, and number of doors. */\n details?: Maybe<VehicleDetails>;\n driverCount?: Maybe<Scalars['Int']['output']>;\n /** Environment of vehicle such as outside air tempurature, engine oil tempurature, and coolant tempurature. */\n environment?: Maybe<VehicleEnvironment>;\n /** Information of the vehicle's fuel such as the level, percent, and fuel used on current trip. */\n fuel?: Maybe<VehicleFuel>;\n id?: Maybe<Scalars['ID']['output']>;\n lastTransactionDate?: Maybe<Scalars['String']['output']>;\n /** Location of vehicle (lat, long) and information about the satellite. */\n location?: Maybe<VehicleLocation>;\n /** Mechanical information on the vehicle such as if the ignition is on, engine speed, tire pressure of each tire, and engine oil life remaining. */\n mechanical?: Maybe<VehicleMechanical>;\n /** Information on movement of vehicle such as if it's driving, odometer, and speed. */\n movement?: Maybe<VehicleMovement>;\n registrationData?: Maybe<Scalars['JSONObject']['output']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: Maybe<Array<Maybe<ServiceType>>>;\n /** Information on the vehicle such as name, serial number, source, license plate, imei, etc. */\n type?: Maybe<VehicleType>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** Information on the vehicle group that this vehicle belongs to you. */\n vehicleGroup?: Maybe<VehicleGroup>;\n vin: Scalars['String']['output'];\n};\n\nexport type IndividualVehicleGroup = {\n __typename?: 'IndividualVehicleGroup';\n code?: Maybe<Scalars['String']['output']>;\n /** Description of a vehicle group. */\n description?: Maybe<Scalars['String']['output']>;\n /** Number of drivers in this vehicle group. */\n driverCount?: Maybe<Scalars['Int']['output']>;\n /** Entity information on this vehicle group. */\n entity?: Maybe<Entity>;\n externalId?: Maybe<Scalars['String']['output']>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Job code option values */\n jobCodeOptions?: Maybe<Array<Maybe<Scalars['String']['output']>>>;\n /** Date of last transaction. */\n lastTransactionDate?: Maybe<Scalars['String']['output']>;\n /** Name of the vehicle group. */\n name?: Maybe<Scalars['String']['output']>;\n /** Organization information on this vehicle group. */\n organization?: Maybe<Organization>;\n /** Services allowed on the entity: tolling, fueling, etc */\n policies?: Maybe<Array<Maybe<Policy>>>;\n /** Settings for enabling job code and driver entered odometer */\n settings?: Maybe<VehicleGroupSettings>;\n /** Spend restrictions on this vehicle group such as amount per day, amount per transaction, no of transaction, days of week and times to enabled fuel use. */\n spendRestrictions?: Maybe<SpendRestrictions>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** Number of vehicles in this vehicle group. */\n vehicleCount?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type InvoicePayment = {\n __typename?: 'InvoicePayment';\n /** Amount due for payment. */\n amount?: Maybe<Scalars['String']['output']>;\n /** Date of payment */\n date?: Maybe<Scalars['String']['output']>;\n /** Description of a payment information. */\n description?: Maybe<Scalars['String']['output']>;\n /** An error from I2C. Ex: Invalid Bank Routing Number */\n errorDescription?: Maybe<Scalars['String']['output']>;\n /** Auto payment or one time payment */\n frequency?: Maybe<InvoicePaymentFrequency>;\n /** Method of payment */\n paymentMethod?: Maybe<Scalars['String']['output']>;\n /** Types such as PENDING, POSTED, or FAILED. */\n status?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum InvoicePaymentFrequency {\n /** Invoice will be paid automatically */\n AutoPayment = 'AUTO_PAYMENT',\n /** Invoice will be paid just once */\n OneTimePayment = 'ONE_TIME_PAYMENT'\n}\n\n/** Sorting for creditPaymentsList */\nexport enum InvoicePaymentSorting {\n /** Sort by amount in ascending order. */\n AmountAsc = 'AMOUNT_ASC',\n /** Sort by amount in descending order. */\n AmountDesc = 'AMOUNT_DESC',\n /** Sort by date in ascending order. */\n DateAsc = 'DATE_ASC',\n /** Sort by date in descending order */\n DateDesc = 'DATE_DESC',\n /** Sort by description in ascending order. */\n DescriptionAsc = 'DESCRIPTION_ASC',\n /** Sort by description in descending order. */\n DescriptionDesc = 'DESCRIPTION_DESC',\n /** Sort by status in ascending order. */\n StatusAsc = 'STATUS_ASC',\n /** Sort by status in descending order. */\n StatusDesc = 'STATUS_DESC'\n}\n\nexport enum JobCodeEntryOptionEnum {\n Freeform = 'FREEFORM',\n Predefined = 'PREDEFINED'\n}\n\nexport type JobCodeOptionsInput = {\n machineGroupId: Scalars['String']['input'];\n /** job_code for job code. In the future we might support other options like trailer_number, etc */\n optionName: Scalars['String']['input'];\n};\n\nexport type JobCodeOptionsOutput = {\n __typename?: 'JobCodeOptionsOutput';\n optionValues?: Maybe<OptionValues>;\n};\n\nexport type JobCodeOptionsUpsertInput = {\n machineGroupId: Scalars['String']['input'];\n /** job_code for job code. In the future we might support other options like trailer_number, etc */\n optionName: Scalars['String']['input'];\n values?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n};\n\nexport type JobCodeOptionsUpsertOutput = {\n __typename?: 'JobCodeOptionsUpsertOutput';\n optionValues?: Maybe<OptionValues>;\n};\n\nexport enum LanguageType {\n En = 'EN',\n Es = 'ES'\n}\n\nexport type Location = {\n __typename?: 'Location';\n latitude?: Maybe<Scalars['Float']['output']>;\n longitude?: Maybe<Scalars['Float']['output']>;\n};\n\nexport type Login = {\n __typename?: 'Login';\n access_token?: Maybe<Scalars['String']['output']>;\n expires_in?: Maybe<Scalars['Int']['output']>;\n id_token?: Maybe<Scalars['String']['output']>;\n refresh_token?: Maybe<Scalars['String']['output']>;\n scope?: Maybe<Scalars['String']['output']>;\n token_type?: Maybe<Scalars['String']['output']>;\n};\n\nexport type LoginOtpResponse = {\n __typename?: 'LoginOtpResponse';\n error?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport enum LoginType {\n Email = 'EMAIL',\n External = 'EXTERNAL',\n Phone = 'PHONE',\n Unknown = 'UNKNOWN'\n}\n\nexport type LoginUniversalResponse = {\n __typename?: 'LoginUniversalResponse';\n authUrl: Scalars['String']['output'];\n state: Scalars['String']['output'];\n success: Scalars['Boolean']['output'];\n};\n\nexport type MachineLogin = {\n __typename?: 'MachineLogin';\n access_token?: Maybe<Scalars['String']['output']>;\n};\n\nexport type MachineLoginInput = {\n /** Auth0 Client Id */\n client_id: Scalars['String']['input'];\n /** Auth0 Client Secret */\n client_secret: Scalars['String']['input'];\n};\n\nexport type MachineTokenizeUserInput = {\n userId: Scalars['ID']['input'];\n};\n\nexport type MachineUserToken = {\n __typename?: 'MachineUserToken';\n access_token: Scalars['String']['output'];\n expires_in: Scalars['Int']['output'];\n};\n\n/** Services Car IQ offers */\nexport enum MerchantCategory {\n /** Paying for a car wash. */\n CarWash = 'CAR_WASH',\n /** Paying at an electric charging station. */\n Charging = 'CHARGING',\n /** Paying at a gas station. */\n Fueling = 'FUELING',\n General = 'GENERAL',\n /** Paying for meintenance services. */\n Maintenance = 'MAINTENANCE',\n /** Paying for parking. */\n Parking = 'PARKING',\n /** Paying for a toll on the road such as bridges and carpool lanes. */\n Toll = 'TOLL'\n}\n\nexport type Mutation = {\n __typename?: 'Mutation';\n Pass?: Maybe<Scalars['JSON']['output']>;\n /** Create API key. */\n apiKeyCreate?: Maybe<ApiKeyCreateOutput>;\n /** Revoke API key. */\n apiKeyRevoke?: Maybe<ApiKeyRevokeOutput>;\n /** Apply for credit */\n applyForCredit: ApplyForCreditOutput;\n clientOnboard?: Maybe<Entity>;\n /** Create a new entity. */\n entityCreate?: Maybe<Entity>;\n /** Authenticate a user from universal login using Google Auth, Email OTP, etc */\n exchangeAuthorizationCode?: Maybe<Login>;\n /** Generate token for Card on File. */\n generateTokenCoF: GenerateTokenCoFOutput;\n /** Login in within the Geotab Drive App. */\n geotabDriveLogin?: Maybe<GeotabDriveLogin>;\n /** Add or update an option for the job code options values */\n jobCodeOptionsUpsert?: Maybe<JobCodeOptionsUpsertOutput>;\n linkTokenCreate?: Maybe<Scalars['String']['output']>;\n /** Login in with a machine. */\n machineLogin?: Maybe<MachineLogin>;\n machineTokenizeUser?: Maybe<MachineUserToken>;\n /** Create a new organization to onboard a fleet. */\n organizationCreate?: Maybe<Organization>;\n /** Create a policy on an organization to enable services like fueling, tolling, tap to pay, etc. */\n policyCreate?: Maybe<PolicyCreateOutput>;\n /** Delete a policy for an organization. */\n policyDelete?: Maybe<PolicyDeleteOutput>;\n /** Add or remove policies using a policy id, entity id, or vehicle group id. */\n policyManage?: Maybe<PolicyManageOutput>;\n /** Process Card. */\n processCardCoF: BooleanSuccessOutput;\n /** Provision Card. */\n provisionCard: ProvisionCardResponse;\n /** Provision Status Update. */\n provisionStatusUpdate: BooleanSuccessOutput;\n reportIssue?: Maybe<BooleanSuccessOutput>;\n /** Create a new risk rule on a vehicle group. */\n riskRuleCreate?: Maybe<RiskRuleGetOutput>;\n /** Delet a risk rule using the risk rule id. */\n riskRuleDelete?: Maybe<BooleanSuccessOutput>;\n /** Update a risk rule based on the risk rule id. */\n riskRuleUpdate?: Maybe<RiskRuleGetOutput>;\n /** Pay for fuel at a given station */\n servicePay?: Maybe<ServicePayOutput>;\n /** Store Card info. */\n storeCardCoF: StoreCardCoFOutput;\n /** Update a transaction such as the Job Code */\n transactionUpdate?: Maybe<TransactionPage>;\n /** Create a TTP account for a given device. */\n ttpTokenization?: Maybe<TtpTokenizationOutput>;\n /** Sign up using activation code */\n userActivationCodeSignUp?: Maybe<BooleanSuccessOutput>;\n /** Create a new user for an organization */\n userCreate?: Maybe<User>;\n /** Delete a user from the platform */\n userDelete?: Maybe<Scalars['String']['output']>;\n /** Let a user change their password to access their account. */\n userForgotPassword?: Maybe<Scalars['String']['output']>;\n /** Authenticate a user for use of APIs */\n userLogin?: Maybe<Login>;\n /** Send otp code to a phone or email for verification. */\n userLoginOtpRequest?: Maybe<LoginOtpResponse>;\n /** Verification code from an otp response to verify phone or email. */\n userLoginOtpVerify?: Maybe<Login>;\n /** Request a user login from Universal Login */\n userLoginUniversal?: Maybe<LoginUniversalResponse>;\n /** Link a user to a Circle K loyalty account */\n userLoyaltyAccountAdd?: Maybe<UserLoyaltyAccount>;\n /** Delete a user from a Circle K loyalty account using the ID of the loyalty account */\n userLoyaltyAccountDelete?: Maybe<BooleanSuccessOutput>;\n /** Update mobile device user token for push notifications */\n userNotificationTokenUpdate?: Maybe<UserNotificationTokenUpdateOutput>;\n /** Remove a user from the platform temporarily */\n userOffboard?: Maybe<Scalars['String']['output']>;\n /** Refresh the token for a user for authentication. */\n userRefreshToken?: Maybe<Login>;\n /** Set a password for a user. */\n userSetPassword?: Maybe<Scalars['String']['output']>;\n /** Update a users information */\n userUpdate?: Maybe<User>;\n /** Validate token for Card on File. */\n validateTokenCoF: ValidateTokenCoFOutput;\n /** Create a new vehicle */\n vehicleCreate?: Maybe<Scalars['String']['output']>;\n /** Add field to Vehicle Fields Configuration */\n vehicleFieldsAdd?: Maybe<VehicleFieldsConfiguration>;\n /** Add field to Vehicle Fields Configuration */\n vehicleFieldsDelete?: Maybe<BooleanSuccessOutput>;\n /** Add field to Vehicle Fields Configuration */\n vehicleFieldsUpdate?: Maybe<VehicleFieldsConfiguration>;\n /** Create a new vehicle group */\n vehicleGroupCreate?: Maybe<IndividualVehicleGroup>;\n /** Delete a vehicle group */\n vehicleGroupDelete?: Maybe<Scalars['String']['output']>;\n /** Add a driver to a vehicle group */\n vehicleGroupDriversAdd?: Maybe<VehicleGroup>;\n /** Remove a vehicle from a vehicle group */\n vehicleGroupDriversRemove?: Maybe<VehicleGroup>;\n /** Set spend restrictions on a vehicle group */\n vehicleGroupSpendRestrictionsSet?: Maybe<SpendRestrictions>;\n /** Update a vehicle group's information */\n vehicleGroupUpdate?: Maybe<IndividualVehicleGroup>;\n /** Add vehicles to a vehicle group */\n vehicleGroupVehiclesAdd?: Maybe<VehicleGroup>;\n /** Remove a vehicle from a vehicle group */\n vehicleGroupVehiclesRemove?: Maybe<VehicleGroup>;\n /** Update a vehicle's information */\n vehicleUpdate?: Maybe<Scalars['String']['output']>;\n /** Batch vehicles onboard */\n vehiclesOnboard?: Maybe<VehiclesOnboardOutputList>;\n};\n\n\nexport type MutationPassArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationApiKeyCreateArgs = {\n input: ApiKeyCreateInput;\n};\n\n\nexport type MutationApiKeyRevokeArgs = {\n input: ApiKeyRevokeInput;\n};\n\n\nexport type MutationApplyForCreditArgs = {\n input?: InputMaybe<ApplyForCreditInput>;\n};\n\n\nexport type MutationClientOnboardArgs = {\n input: ClientOnboardInput;\n};\n\n\nexport type MutationEntityCreateArgs = {\n input: EntityCreateInput;\n};\n\n\nexport type MutationExchangeAuthorizationCodeArgs = {\n input: ExchangeAuthorizationCodeInput;\n};\n\n\nexport type MutationGenerateTokenCoFArgs = {\n input: GenerateTokenCoFInput;\n};\n\n\nexport type MutationGeotabDriveLoginArgs = {\n input: GeotabDriveLoginInput;\n};\n\n\nexport type MutationJobCodeOptionsUpsertArgs = {\n input?: InputMaybe<JobCodeOptionsUpsertInput>;\n};\n\n\nexport type MutationMachineLoginArgs = {\n input: MachineLoginInput;\n};\n\n\nexport type MutationMachineTokenizeUserArgs = {\n input?: InputMaybe<MachineTokenizeUserInput>;\n};\n\n\nexport type MutationOrganizationCreateArgs = {\n input: OrganizationCreateInput;\n};\n\n\nexport type MutationPolicyCreateArgs = {\n input?: InputMaybe<PolicyCreateInput>;\n};\n\n\nexport type MutationPolicyDeleteArgs = {\n input?: InputMaybe<PolicyDeleteInput>;\n};\n\n\nexport type MutationPolicyManageArgs = {\n input?: InputMaybe<PolicyManageInput>;\n};\n\n\nexport type MutationProcessCardCoFArgs = {\n input: ProcessCardCoFInput;\n};\n\n\nexport type MutationProvisionCardArgs = {\n input: ProvisionCardInput;\n};\n\n\nexport type MutationProvisionStatusUpdateArgs = {\n input: ProvisionStatusUpdateInput;\n};\n\n\nexport type MutationReportIssueArgs = {\n input: ReportIssueInput;\n};\n\n\nexport type MutationRiskRuleCreateArgs = {\n input?: InputMaybe<RiskRuleCreateInput>;\n};\n\n\nexport type MutationRiskRuleDeleteArgs = {\n input?: InputMaybe<RiskRuleDeleteInput>;\n};\n\n\nexport type MutationRiskRuleUpdateArgs = {\n input?: InputMaybe<RiskRuleUpdateInput>;\n};\n\n\nexport type MutationServicePayArgs = {\n input: ServicePayInput;\n};\n\n\nexport type MutationStoreCardCoFArgs = {\n input: StoreCardCoFInput;\n};\n\n\nexport type MutationTransactionUpdateArgs = {\n input?: InputMaybe<TransactionUpdateInput>;\n};\n\n\nexport type MutationTtpTokenizationArgs = {\n input?: InputMaybe<TtpTokenizationInput>;\n};\n\n\nexport type MutationUserActivationCodeSignUpArgs = {\n input: UserActivationCodeSignUpInput;\n};\n\n\nexport type MutationUserCreateArgs = {\n input: UserCreateInput;\n};\n\n\nexport type MutationUserDeleteArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationUserForgotPasswordArgs = {\n input: UserForgotPasswordInput;\n};\n\n\nexport type MutationUserLoginArgs = {\n input: UserLoginInput;\n};\n\n\nexport type MutationUserLoginOtpRequestArgs = {\n input: UserLoginOtpRequestInput;\n};\n\n\nexport type MutationUserLoginOtpVerifyArgs = {\n input: UserLoginOtpVerifyInput;\n};\n\n\nexport type MutationUserLoginUniversalArgs = {\n input: UserLoginUniversalInput;\n};\n\n\nexport type MutationUserLoyaltyAccountAddArgs = {\n input: UserLoyaltyAccountAddInput;\n};\n\n\nexport type MutationUserLoyaltyAccountDeleteArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationUserNotificationTokenUpdateArgs = {\n token: Scalars['String']['input'];\n};\n\n\nexport type MutationUserOffboardArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationUserRefreshTokenArgs = {\n input: UserRefreshTokenInput;\n};\n\n\nexport type MutationUserSetPasswordArgs = {\n input: UserSetPasswordInput;\n};\n\n\nexport type MutationUserUpdateArgs = {\n input: UserUpdateInput;\n};\n\n\nexport type MutationValidateTokenCoFArgs = {\n input: ValidateTokenCoFInput;\n};\n\n\nexport type MutationVehicleCreateArgs = {\n input: VehicleCreateInput;\n};\n\n\nexport type MutationVehicleFieldsAddArgs = {\n input: VehicleFieldsAddInput;\n};\n\n\nexport type MutationVehicleFieldsDeleteArgs = {\n input?: InputMaybe<Scalars['ID']['input']>;\n};\n\n\nexport type MutationVehicleFieldsUpdateArgs = {\n input: VehicleFieldsUpdateInput;\n};\n\n\nexport type MutationVehicleGroupCreateArgs = {\n input: VehicleGroupCreateInput;\n};\n\n\nexport type MutationVehicleGroupDeleteArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationVehicleGroupDriversAddArgs = {\n input: VehicleGroupDriversAddInput;\n};\n\n\nexport type MutationVehicleGroupDriversRemoveArgs = {\n input: VehicleGroupDriversRemoveInput;\n};\n\n\nexport type MutationVehicleGroupSpendRestrictionsSetArgs = {\n input: VehicleGroupSpendRestrictionsSetInput;\n};\n\n\nexport type MutationVehicleGroupUpdateArgs = {\n input: VehicleGroupUpdateInput;\n};\n\n\nexport type MutationVehicleGroupVehiclesAddArgs = {\n input: VehicleGroupVehiclesAddInput;\n};\n\n\nexport type MutationVehicleGroupVehiclesRemoveArgs = {\n input: VehicleGroupVehiclesRemoveInput;\n};\n\n\nexport type MutationVehicleUpdateArgs = {\n input: VehicleUpdateInput;\n};\n\n\nexport type MutationVehiclesOnboardArgs = {\n input: VehiclesOnboardInputList;\n};\n\n/** Type of stations to filter on */\nexport enum NetworkType {\n All = 'ALL',\n InNetwork = 'IN_NETWORK',\n OutOfNetwork = 'OUT_OF_NETWORK'\n}\n\nexport type OptionValues = {\n __typename?: 'OptionValues';\n deletedAt?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['String']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n machineGroupId?: Maybe<Scalars['String']['output']>;\n /** job_code for job code. In the future we might support other options like trailer_number, etc */\n optionName?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n values?: Maybe<Array<Maybe<Scalars['String']['output']>>>;\n};\n\n/** Information on the organization. */\nexport type Organization = {\n __typename?: 'Organization';\n /** Address of the organization. */\n address?: Maybe<Address>;\n /** Cost factor to filter by fuel station cost */\n costFactorEnabled?: Maybe<Scalars['Boolean']['output']>;\n deletedAt?: Maybe<Scalars['String']['output']>;\n /** Id tied to this organization. */\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Name of the organization. */\n name?: Maybe<Scalars['String']['output']>;\n /** When the organization was onboarded. */\n onboardedAt?: Maybe<Scalars['String']['output']>;\n onboardedBy?: Maybe<Scalars['String']['output']>;\n /** List of policies (servies) enabled on an organization. */\n policies?: Maybe<Array<Maybe<Policy>>>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type OrganizationCreateInput = {\n /** The address of the organization */\n address: AddressInput;\n /** Disable check location when vehicle data is down */\n checkLocationOverride?: InputMaybe<Scalars['Boolean']['input']>;\n /** Cost factor to filter by fuel station cost */\n costFactorEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Organization email. */\n email?: InputMaybe<Scalars['String']['input']>;\n integratorId?: InputMaybe<Scalars['ID']['input']>;\n /** Organization name. */\n name: Scalars['String']['input'];\n /** Who onboarded the organization */\n onboardedBy?: InputMaybe<Scalars['String']['input']>;\n /** Organization tax id. */\n taxId?: InputMaybe<Scalars['String']['input']>;\n unitsId?: InputMaybe<Scalars['String']['input']>;\n /** If enabled, syncs telematics data for a vehicle and removes ability to edit that vehicle */\n useTspMetadata?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport enum OtpType {\n Code = 'CODE',\n Link = 'LINK'\n}\n\n/** The pagination used to fulfill the response */\nexport type PageMeta = {\n __typename?: 'PageMeta';\n /** Limit set in the request to show an exact number of items. */\n limit?: Maybe<Scalars['Int']['output']>;\n /** The offset specified in the request to paginate. */\n offset?: Maybe<Scalars['Int']['output']>;\n /** Total number of records found. */\n total?: Maybe<Scalars['Int']['output']>;\n};\n\n/** Pagination */\nexport type PageRequest = {\n limit?: InputMaybe<Scalars['Int']['input']>;\n offset?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport enum PaymentMethodType {\n DirectConnect = 'DIRECT_CONNECT',\n LinkedCard = 'LINKED_CARD',\n Ttp = 'TTP',\n Unspecified = 'UNSPECIFIED'\n}\n\nexport type PaymentProvider = {\n __typename?: 'PaymentProvider';\n /** Payment provider id */\n id: Scalars['ID']['output'];\n /** When the payment provider record was inserted. */\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Name of provider: I2C, Discover, or CARIQ_OPENLOOP. */\n name?: Maybe<Scalars['String']['output']>;\n /** Same as name: I2C, Discover, or CARIQ_OPENLOOP. */\n slug?: Maybe<Scalars['String']['output']>;\n /** When the payment provider record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum PaymentProviderEnum {\n CarIqBin = 'CAR_IQ_BIN',\n CirclekCof = 'CIRCLEK_COF',\n CitiVpa = 'CITI_VPA',\n Discover = 'DISCOVER',\n ExternalCof = 'EXTERNAL_COF',\n I2C = 'I2C',\n Multiple = 'MULTIPLE',\n UsBank = 'US_BANK',\n Voyager = 'VOYAGER',\n VoyagerPlus = 'VOYAGER_PLUS'\n}\n\nexport type Permission = {\n __typename?: 'Permission';\n action?: Maybe<Scalars['String']['output']>;\n description?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n resource?: Maybe<Scalars['String']['output']>;\n};\n\nexport type Policy = {\n __typename?: 'Policy';\n enabled?: Maybe<Scalars['Boolean']['output']>;\n id: Scalars['String']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['String']['output']>;\n /** Information about the service provider. */\n serviceProvider?: Maybe<ServiceProvider>;\n /** Id of the service provider that enables the service. */\n serviceProviderId?: Maybe<Scalars['String']['output']>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: Maybe<ServiceType>;\n /** Type of policy, either a service or tap to pay. */\n type?: Maybe<PolicyType>;\n};\n\nexport type PolicyActionResponse = {\n __typename?: 'PolicyActionResponse';\n /** For applied policies, it returns the policy id, entity id, vehicle group id, and if request was recursive. */\n applyRequest?: Maybe<ApplyPolicyOutput>;\n /** Number of affected policies by the request. */\n countAffected?: Maybe<Scalars['Int']['output']>;\n /** For revoked polcies, it returns the policy id, entity id, and vehicle group id. */\n revokeRequest?: Maybe<RevokePolicyOutput>;\n /** Whether the policy manage request was successful. */\n success?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type PolicyCreateInput = {\n /** Propagate the policies to children entities. */\n applyRecursively?: InputMaybe<Scalars['Boolean']['input']>;\n organizationId: Scalars['String']['input'];\n /** Type of policy, either a service or tap to pay. */\n policyType?: InputMaybe<PolicyType>;\n /** Add the service provider id allowed for fueling or tolling. */\n serviceProviderId?: InputMaybe<Scalars['String']['input']>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: InputMaybe<ServiceType>;\n};\n\nexport type PolicyCreateOutput = {\n __typename?: 'PolicyCreateOutput';\n countAffected?: Maybe<Scalars['Int']['output']>;\n policy?: Maybe<Policy>;\n success?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type PolicyDeleteInput = {\n /** Policy id to delete a specific policy. */\n policyId: Scalars['String']['input'];\n};\n\nexport type PolicyDeleteOutput = {\n __typename?: 'PolicyDeleteOutput';\n countAffected?: Maybe<Scalars['Int']['output']>;\n success?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type PolicyManageInput = {\n /** Add or update a policy on a policy id, entity id, or vehicle group id. */\n applyPolicies?: InputMaybe<Array<InputMaybe<ApplyPolicyInput>>>;\n /** Remove a policy using a policy id, entity id, or vehicle group id. */\n revokePolicies?: InputMaybe<Array<InputMaybe<RevokePolicyInput>>>;\n};\n\nexport type PolicyManageOutput = {\n __typename?: 'PolicyManageOutput';\n /** List of policies that were added or updated. */\n applyResponses?: Maybe<Array<Maybe<PolicyActionResponse>>>;\n /** List of policies that were revoked. */\n revokeResponses?: Maybe<Array<Maybe<PolicyActionResponse>>>;\n};\n\n/** Type of policy, either a service or tap to pay. */\nexport enum PolicyType {\n Dcc = 'DCC',\n Service = 'SERVICE',\n UnknownVariant = 'UNKNOWN_VARIANT'\n}\n\nexport type PositionInput = {\n latitude: Scalars['Float']['input'];\n longitude: Scalars['Float']['input'];\n};\n\nexport enum PrimaryAccountStatus {\n Enrolled = 'enrolled',\n Failed = 'failed',\n Pending = 'pending',\n Unknown = 'unknown'\n}\n\nexport type ProcessCardCoFInput = {\n id: Scalars['String']['input'];\n paymentProviderAccountId: Scalars['String']['input'];\n vehicleId: Scalars['String']['input'];\n};\n\nexport type Product = {\n __typename?: 'Product';\n id: Scalars['ID']['output'];\n /** Name of the product. */\n name?: Maybe<Scalars['String']['output']>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: Maybe<ServiceType>;\n};\n\n/** Type of Fuel. */\nexport enum ProductType {\n Diesel = 'DIESEL',\n HiFlowDiesel = 'HI_FLOW_DIESEL',\n MidGradeUnleaded = 'MID_GRADE_UNLEADED',\n OtherFuel = 'OTHER_FUEL',\n PremiumDiesel = 'PREMIUM_DIESEL',\n PremiumUnleaded = 'PREMIUM_UNLEADED',\n Regular = 'REGULAR'\n}\n\nexport type ProgramSupports = {\n __typename?: 'ProgramSupports';\n isCloseLoopSupported?: Maybe<Scalars['Boolean']['output']>;\n isDcSupported?: Maybe<Scalars['Boolean']['output']>;\n isPhysicalCardSupported?: Maybe<Scalars['Boolean']['output']>;\n isTtpSupported?: Maybe<Scalars['Boolean']['output']>;\n /** Is this program using the internal card program (US Bank) */\n isUsingInternalProgram?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type ProvisionCardInput = {\n /** Account ID, can be a vehicleId, deviceId, or an asset */\n deviceAccountId: Scalars['String']['input'];\n /** Used by Android */\n googleHardwareId?: InputMaybe<Scalars['String']['input']>;\n /** Used by IOS */\n intermediateCertificate?: InputMaybe<Scalars['String']['input']>;\n /** Used by IOS */\n leafCertificate?: InputMaybe<Scalars['String']['input']>;\n /** Used by IOS */\n nonceSignature?: InputMaybe<Scalars['String']['input']>;\n /** Used by IOS */\n nonceValue?: InputMaybe<Scalars['String']['input']>;\n paymentProviderAccountId: Scalars['String']['input'];\n /** Used by Android */\n walletId?: InputMaybe<Scalars['String']['input']>;\n walletType: DigitalWallet;\n};\n\nexport type ProvisionCardResponse = {\n __typename?: 'ProvisionCardResponse';\n activationData?: Maybe<Scalars['String']['output']>;\n cardNetwork?: Maybe<CardNetwork>;\n displayName?: Maybe<Scalars['String']['output']>;\n encryptedData?: Maybe<Scalars['String']['output']>;\n lastFourDigits?: Maybe<Scalars['String']['output']>;\n publicKey?: Maybe<Scalars['String']['output']>;\n};\n\nexport type ProvisionStatusUpdateInput = {\n deviceAccountId: Scalars['String']['input'];\n errorDescription?: InputMaybe<Scalars['String']['input']>;\n paymentProviderAccountId: Scalars['String']['input'];\n status: ProvisioningStatus;\n};\n\nexport enum ProvisioningStatus {\n Error = 'ERROR',\n Success = 'SUCCESS'\n}\n\n/** Days of week which purchases are enabled. */\nexport type PurchaseDaysOfWeek = {\n __typename?: 'PurchaseDaysOfWeek';\n friday: Scalars['Boolean']['output'];\n monday: Scalars['Boolean']['output'];\n saturday: Scalars['Boolean']['output'];\n sunday: Scalars['Boolean']['output'];\n thursday: Scalars['Boolean']['output'];\n tuesday: Scalars['Boolean']['output'];\n wednesday: Scalars['Boolean']['output'];\n};\n\nexport type PurchaseDaysOfWeekInput = {\n friday: Scalars['Boolean']['input'];\n monday: Scalars['Boolean']['input'];\n saturday: Scalars['Boolean']['input'];\n sunday: Scalars['Boolean']['input'];\n thursday: Scalars['Boolean']['input'];\n tuesday: Scalars['Boolean']['input'];\n wednesday: Scalars['Boolean']['input'];\n};\n\n/** Format should be in HH:MM */\nexport type PurchaseTimeRange = {\n __typename?: 'PurchaseTimeRange';\n from?: Maybe<Scalars['String']['output']>;\n to?: Maybe<Scalars['String']['output']>;\n};\n\nexport type PurchaseTimeRangeInput = {\n from?: InputMaybe<Scalars['String']['input']>;\n to?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type Query = {\n __typename?: 'Query';\n Pass?: Maybe<Scalars['JSON']['output']>;\n /** Get a public key to encrypt credit application data */\n creditApplicationPublicKey: CreditApplicationPublicKeyOutput;\n /** Get a list of credit payments on a payment provider account using ppaid with an option of sorting. */\n creditPaymentsList?: Maybe<GetInvoicePaymentsOutput>;\n /** Download Credit Statement Document */\n creditStatementDownload: Report;\n /** Get Credit Statements */\n creditStatementsList?: Maybe<GetCreditStatementsOutput>;\n /** Download a list of drivers on an entity or vehicle group. */\n driverReportDownload?: Maybe<DriverReport>;\n /** Get a list of entities. */\n entitiesFilter?: Maybe<EntitiesPage>;\n /** Get an entity. */\n entity?: Maybe<Entity>;\n /** Information on the account of an entity. */\n entityAccountInfo?: Maybe<EntityAccountInfo>;\n /** Information on the account and child accounts of an entity. */\n entityAccountsInfo?: Maybe<Array<Maybe<EntityAccountInfo>>>;\n /** Get values for a job code option */\n jobCodeOptions?: Maybe<JobCodeOptionsOutput>;\n /** Download transactions for a given entity, vehicle group, vehicle, or driver. */\n reportsDownload?: Maybe<Report>;\n /** Get a risk rule using the id or name. */\n riskRuleGet?: Maybe<RiskRuleGetOutput>;\n /** List risk rules pertaining to a vehicle group. */\n riskRulesList?: Maybe<RiskRulesListOutput>;\n /** Get a list of permissions for a given role */\n rolePermissions?: Maybe<Role>;\n /** Performs a search for users, vehicles, and vehicle groups. */\n search?: Maybe<SearchOutput>;\n /** Get list of available stations from a given locations */\n serviceLocationsFilter?: Maybe<ServiceLocationsPage>;\n /** Spending Insights */\n spendingInsights?: Maybe<SpendingInsightsOutput>;\n /** Get information on a transaction */\n transaction?: Maybe<Transaction>;\n /** Doanload the transactions for a given entity, vehicle group, vehicle, driver */\n transactionReportDownload?: Maybe<TransactionReport>;\n /** Get a list of transactions */\n transactionsFilter?: Maybe<TransactionsPage>;\n /** Transactions Insights */\n transactionsInsights?: Maybe<TransactionsInsightsPage>;\n /** Get a list of transactions */\n transactionsOverview?: Maybe<TransactionsOverviewOutput>;\n /** Get the transactions statistics for a given entity */\n transactionsStats?: Maybe<TransactionsStats>;\n /** Get user data */\n user?: Maybe<GetUserUserResponse>;\n /** Get a list of users */\n usersFilter?: Maybe<UsersPage>;\n /** Get information from a vehicle */\n vehicle?: Maybe<IndividualVehicle>;\n /** Get list of vehicle configuration fields */\n vehicleFields?: Maybe<VehicleFieldsPage>;\n /** Get information from a vehicle group */\n vehicleGroup?: Maybe<IndividualVehicleGroup>;\n /** Get a list of vehicle groups */\n vehicleGroupsFilter?: Maybe<VehicleGroupsPage>;\n /** Get a list of vehicles */\n vehiclesFilter?: Maybe<VehiclesPage>;\n /** Get vehicles in a certain location */\n vehiclesFilterByLocation?: Maybe<VehiclesPage>;\n /** Get vehicles that have telematics and are not enrolled for Car IQ services */\n vehiclesWithTelematicsNotEnrolled?: Maybe<VehiclesWithTelematicsNotEnrolledOutput>;\n};\n\n\nexport type QueryPassArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryCreditPaymentsListArgs = {\n input: GetInvoicePaymentsInput;\n};\n\n\nexport type QueryCreditStatementDownloadArgs = {\n input: CreditStatementDownloadInput;\n};\n\n\nexport type QueryCreditStatementsListArgs = {\n input?: InputMaybe<GetCreditStatementsInput>;\n};\n\n\nexport type QueryDriverReportDownloadArgs = {\n input?: InputMaybe<DriverReportDownloadInput>;\n};\n\n\nexport type QueryEntitiesFilterArgs = {\n input: EntitiesFilterInput;\n};\n\n\nexport type QueryEntityArgs = {\n externalId?: InputMaybe<Scalars['String']['input']>;\n id?: InputMaybe<Scalars['ID']['input']>;\n};\n\n\nexport type QueryEntityAccountInfoArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryEntityAccountsInfoArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryJobCodeOptionsArgs = {\n input?: InputMaybe<JobCodeOptionsInput>;\n};\n\n\nexport type QueryReportsDownloadArgs = {\n input?: InputMaybe<ReportsDownloadInput>;\n};\n\n\nexport type QueryRiskRuleGetArgs = {\n input?: InputMaybe<RiskRuleGetInput>;\n};\n\n\nexport type QueryRiskRulesListArgs = {\n input?: InputMaybe<RiskRulesListInput>;\n};\n\n\nexport type QueryRolePermissionsArgs = {\n input: RolePermissionsInput;\n};\n\n\nexport type QuerySearchArgs = {\n input: SearchInput;\n};\n\n\nexport type QueryServiceLocationsFilterArgs = {\n input?: InputMaybe<ServiceLocationsFilterInput>;\n};\n\n\nexport type QuerySpendingInsightsArgs = {\n input: SpendingInsightsInput;\n};\n\n\nexport type QueryTransactionArgs = {\n input: Scalars['ID']['input'];\n};\n\n\nexport type QueryTransactionReportDownloadArgs = {\n input?: InputMaybe<TransactionReportDownloadInput>;\n};\n\n\nexport type QueryTransactionsFilterArgs = {\n input: TransactionsFilterInput;\n};\n\n\nexport type QueryTransactionsInsightsArgs = {\n input: TransactionsInsightsInput;\n};\n\n\nexport type QueryTransactionsOverviewArgs = {\n input: TransactionsOverviewInput;\n};\n\n\nexport type QueryTransactionsStatsArgs = {\n input: TransactionsStatsInput;\n};\n\n\nexport type QueryUserArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryUsersFilterArgs = {\n input: UsersFilterInput;\n};\n\n\nexport type QueryVehicleArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryVehicleFieldsArgs = {\n input: VehicleFieldsInput;\n};\n\n\nexport type QueryVehicleGroupArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryVehicleGroupsFilterArgs = {\n input: VehicleGroupsFilterInput;\n};\n\n\nexport type QueryVehiclesFilterArgs = {\n input: VehiclesFilterInput;\n};\n\n\nexport type QueryVehiclesFilterByLocationArgs = {\n input: VehiclesFilterByLocationInput;\n};\n\n\nexport type QueryVehiclesWithTelematicsNotEnrolledArgs = {\n input: VehiclesWithTelematicsNotEnrolledInput;\n};\n\nexport type RadiusFilter = {\n /** Radius in meters to filter around the point. */\n maxRadius?: InputMaybe<Scalars['Float']['input']>;\n /** Latitude and longitude. */\n point: PositionInput;\n /** Deprecated. Radius in meters to filter around the point. */\n radius?: InputMaybe<Scalars['Float']['input']>;\n};\n\nexport type Report = {\n __typename?: 'Report';\n /** Data stream pertaining to the report. */\n data?: Maybe<Scalars['String']['output']>;\n /** Specifies errors if the report didn't generate. */\n error?: Maybe<Scalars['String']['output']>;\n /** Whether items exist in this report. */\n exists?: Maybe<Scalars['Boolean']['output']>;\n /** Filename of the report. */\n fileName?: Maybe<Scalars['String']['output']>;\n};\n\n/** Type to filter on in a Report Download */\nexport enum ReportFilterType {\n Driver = 'DRIVER',\n Entity = 'ENTITY',\n Vehicle = 'VEHICLE',\n VehicleGroup = 'VEHICLE_GROUP'\n}\n\nexport type ReportIssueInput = {\n /** JSON string with fields such as messageType, eventId, appName, appVersion */\n data?: InputMaybe<Scalars['JSONObject']['input']>;\n /** Comment to be added to file upload */\n fileComment?: InputMaybe<Scalars['String']['input']>;\n /** Pay app log file content */\n fileContent?: InputMaybe<Scalars['String']['input']>;\n /** Pay app log file name */\n fileName?: InputMaybe<Scalars['String']['input']>;\n};\n\n/** Type to include in a Report Download. */\nexport enum ReportType {\n AfterHours = 'AFTER_HOURS',\n Ifta = 'IFTA',\n PremiumFuel = 'PREMIUM_FUEL',\n PurchaseExceptions = 'PURCHASE_EXCEPTIONS',\n Transaction = 'TRANSACTION',\n ValidationExceptions = 'VALIDATION_EXCEPTIONS'\n}\n\n/** Specify year and month or dateFrom and dateTo. */\nexport type ReportsDownloadInput = {\n /** Branding */\n branding?: InputMaybe<BrandingType>;\n /** The starting date for the report's time range. */\n dateFrom?: InputMaybe<Scalars['String']['input']>;\n /** The ending date for the report's time range. */\n dateTo?: InputMaybe<Scalars['String']['input']>;\n /** Filter on entites, vehicle groups, vehicles, or drivers. */\n filterType: ReportFilterType;\n /** The id specified for on the filterType. Ex: an entity id or vehicle group id. */\n id: Scalars['ID']['input'];\n /** The month for which to generate the report. */\n month?: InputMaybe<Scalars['Int']['input']>;\n /** Include only after hours, transaction, premium fuel, or validation exceptions */\n type: ReportType;\n /** The year for which to generate the report. */\n year?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type RevokePolicyInput = {\n /** Entity id to remove a policy on. */\n entityId?: InputMaybe<Scalars['String']['input']>;\n /** Policy id to remove a policy on. */\n policyId: Scalars['String']['input'];\n /** Vehicle group id to remove a policy on. */\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RevokePolicyOutput = {\n __typename?: 'RevokePolicyOutput';\n /** Entity id that policy manage request changed. */\n entityId?: Maybe<Scalars['String']['output']>;\n /** Policy id that policy manage request changed. */\n policyId: Scalars['String']['output'];\n /** Vehicle id that policy manage request changed. */\n vehicleGroupId?: Maybe<Scalars['String']['output']>;\n};\n\nexport type RiskRule = {\n __typename?: 'RiskRule';\n definition?: Maybe<RiskRuleDefinition>;\n id?: Maybe<Scalars['String']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n isDefault?: Maybe<Scalars['Boolean']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type RiskRuleCreateInput = {\n amountPerDay?: InputMaybe<Scalars['String']['input']>;\n amountPerTransaction?: InputMaybe<Scalars['String']['input']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: InputMaybe<Scalars['Boolean']['input']>;\n daysTimes?: InputMaybe<DaysTimeRangesInput>;\n maxRiskTime?: InputMaybe<Scalars['Int']['input']>;\n /** Optional Unique String Identifier */\n name?: InputMaybe<Scalars['String']['input']>;\n /** Number of transactions allowed in a day */\n noOfTransactions?: InputMaybe<Scalars['Int']['input']>;\n /** Number of offline transactions allowed in a week */\n noOfTransactionsWeekly?: InputMaybe<Scalars['Int']['input']>;\n /** Replace all previously assigned risk rule with this one. Default is true. */\n replace?: InputMaybe<Scalars['Boolean']['input']>;\n userId?: InputMaybe<Scalars['String']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RiskRuleDefinition = {\n __typename?: 'RiskRuleDefinition';\n amountPerDay?: Maybe<Scalars['String']['output']>;\n amountPerTransaction?: Maybe<Scalars['String']['output']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: Maybe<Scalars['Boolean']['output']>;\n /** Deprecated */\n daysOfWeek?: Maybe<PurchaseDaysOfWeek>;\n daysTimes?: Maybe<DaysTimeRanges>;\n /** Deprecated */\n hours?: Maybe<PurchaseTimeRange>;\n maxRiskTime?: Maybe<Scalars['Int']['output']>;\n /** Number of transactions allowed in a day */\n noOfTransactions?: Maybe<Scalars['Int']['output']>;\n /** Number of offline transactions allowed in a week */\n noOfTransactionsWeekly?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type RiskRuleDeleteInput = {\n id?: InputMaybe<Scalars['String']['input']>;\n};\n\n/** Specify either id or name to get risk rule. */\nexport type RiskRuleGetInput = {\n id?: InputMaybe<Scalars['String']['input']>;\n name?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RiskRuleGetOutput = {\n __typename?: 'RiskRuleGetOutput';\n data?: Maybe<RiskRule>;\n};\n\nexport type RiskRuleUpdateInput = {\n amountPerDay?: InputMaybe<Scalars['String']['input']>;\n amountPerTransaction?: InputMaybe<Scalars['String']['input']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: InputMaybe<Scalars['Boolean']['input']>;\n daysTimes?: InputMaybe<DaysTimeRangesInput>;\n id?: InputMaybe<Scalars['String']['input']>;\n maxRiskTime?: InputMaybe<Scalars['Int']['input']>;\n /** Optional Unique String Identifier */\n name?: InputMaybe<Scalars['String']['input']>;\n /** Number of transactions allowed in a day */\n noOfTransactions?: InputMaybe<Scalars['Int']['input']>;\n /** Number of offline transactions allowed in a week */\n noOfTransactionsWeekly?: InputMaybe<Scalars['Int']['input']>;\n userId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RiskRulesListInput = {\n page?: InputMaybe<PageRequest>;\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RiskRulesListOutput = {\n __typename?: 'RiskRulesListOutput';\n data?: Maybe<Array<Maybe<RiskRule>>>;\n meta?: Maybe<PageMeta>;\n};\n\nexport type Role = {\n __typename?: 'Role';\n description?: Maybe<Scalars['String']['output']>;\n displayName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n isSystem?: Maybe<Scalars['Boolean']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n /** Permissions on a role. */\n permissions: Array<Permission>;\n};\n\nexport type RolePermissionsInput = {\n id?: InputMaybe<Scalars['ID']['input']>;\n name?: InputMaybe<RoleType>;\n};\n\nexport enum RoleType {\n Admin = 'ADMIN',\n Driver = 'DRIVER',\n FullAccess = 'FULL_ACCESS',\n Manager = 'MANAGER',\n ViewOnly = 'VIEW_ONLY'\n}\n\n/** The data for an item from a search query. Different values are returned for a user, vehicle group, or vehicle object. */\nexport type SearchData = {\n __typename?: 'SearchData';\n code?: Maybe<Scalars['String']['output']>;\n description?: Maybe<Scalars['String']['output']>;\n driverCount?: Maybe<Scalars['String']['output']>;\n email?: Maybe<Scalars['String']['output']>;\n employeeId?: Maybe<Scalars['String']['output']>;\n enrolledServices?: Maybe<Scalars['String']['output']>;\n entityId?: Maybe<Scalars['String']['output']>;\n entityName?: Maybe<Scalars['String']['output']>;\n externalId?: Maybe<Scalars['String']['output']>;\n firstName?: Maybe<Scalars['String']['output']>;\n fuel?: Maybe<Scalars['String']['output']>;\n fullName?: Maybe<Scalars['String']['output']>;\n isDefault?: Maybe<Scalars['String']['output']>;\n lastName?: Maybe<Scalars['String']['output']>;\n lastTransaction?: Maybe<Scalars['String']['output']>;\n loginType?: Maybe<Scalars['String']['output']>;\n make?: Maybe<Scalars['String']['output']>;\n metadataDescription?: Maybe<Scalars['String']['output']>;\n metadataLicensePlate?: Maybe<Scalars['String']['output']>;\n metadataLicensePlateState?: Maybe<Scalars['String']['output']>;\n metadataNumber?: Maybe<Scalars['String']['output']>;\n middleName?: Maybe<Scalars['String']['output']>;\n model?: Maybe<Scalars['String']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n odometer?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['String']['output']>;\n phoneNumber?: Maybe<Scalars['String']['output']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: Maybe<Array<Maybe<ServiceType>>>;\n userStatus?: Maybe<Scalars['String']['output']>;\n usersCount?: Maybe<Scalars['String']['output']>;\n vehicleGroupId?: Maybe<Scalars['String']['output']>;\n vehicleGroupIds?: Maybe<Scalars['String']['output']>;\n vehicleGroupName?: Maybe<Scalars['String']['output']>;\n vehicleGroupNames?: Maybe<Scalars['String']['output']>;\n vehicleId?: Maybe<Scalars['String']['output']>;\n vehiclesCount?: Maybe<Scalars['String']['output']>;\n vin?: Maybe<Scalars['String']['output']>;\n year?: Maybe<Scalars['String']['output']>;\n};\n\nexport type SearchFilter = {\n /** Can provide an entityId and if to include children of the entity. */\n entity?: InputMaybe<EntityFilter>;\n /** by default, all types are included, but can specify only on a user, vehicle, or vehicle group. */\n includeTypes?: InputMaybe<Array<InputMaybe<SearchObjectType>>>;\n /** User status such as onboarded, invited, deleted, etc. */\n userStatuses?: InputMaybe<Array<InputMaybe<UserStatus>>>;\n /** Vehicle group id to filter on. */\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n};\n\nexport type SearchInput = {\n /** Filter using types (user, vehicle, vehicle group), vehicle group id, entity id, and user statuses (onboarded, deleted, etc). */\n filter?: InputMaybe<SearchFilter>;\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n /** The query that will be searched. */\n searchText: Scalars['String']['input'];\n /** Specify */\n sortOptions?: InputMaybe<SearchSortOptions>;\n};\n\n/** Types to include in the search filter. */\nexport enum SearchObjectType {\n User = 'USER',\n Vehicle = 'VEHICLE',\n VehicleGroup = 'VEHICLE_GROUP'\n}\n\nexport type SearchOutput = {\n __typename?: 'SearchOutput';\n /** Returns a list of items for the search result. */\n data?: Maybe<Array<Maybe<SearchResult>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type SearchResult = {\n __typename?: 'SearchResult';\n /** Name of the item searched upon. */\n displayName?: Maybe<Scalars['String']['output']>;\n /** Unique id the search. */\n itemId?: Maybe<Scalars['String']['output']>;\n /** The type of object of this item, either a user, vehicle, or vehicle group. */\n objectType?: Maybe<SearchObjectType>;\n /** Properties of this item. */\n properties?: Maybe<SearchData>;\n};\n\nexport type SearchSortOptions = {\n direction?: InputMaybe<Direction>;\n orderBy?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n};\n\nexport type ServiceFuelInput = {\n additionalInfo?: InputMaybe<AdditionalServicePayInfoInput>;\n /** Pump number of the given gas station. */\n pumpNumber: Scalars['Int']['input'];\n};\n\nexport type ServiceLocation = {\n __typename?: 'ServiceLocation';\n /** Address of the location. */\n address?: Maybe<Address>;\n /** Service provider/fuel brand name. */\n brand?: Maybe<Scalars['String']['output']>;\n /** Service provider/fuel brand human readable name */\n brandLabel?: Maybe<Scalars['String']['output']>;\n /** Cost factor associated with station price. */\n costFactor?: Maybe<Scalars['Int']['output']>;\n /** For Circle K to appropriately render orange CK Pro logo/gray/red stations. */\n feeNetworkDesignation?: Maybe<FeeNetworkDesignationType>;\n /** The location and radius of this service. */\n geobounds?: Maybe<Geobounds>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Integration for pump unlock such as QUIKQ, P97, CARIQ_OPENLOOP, PDI, etc. */\n integration?: Maybe<Scalars['String']['output']>;\n /** Fuel brand of location. */\n name: Scalars['String']['output'];\n /** Is this station cannot use direct connect. */\n outOfNetwork?: Maybe<Scalars['Boolean']['output']>;\n /** Id of partner locations. */\n partnerLocationId?: Maybe<Scalars['String']['output']>;\n /** Has physical card. e.g. Voyager accounts. */\n physicalCardEnabled?: Maybe<Scalars['Boolean']['output']>;\n /** Geocode of location. */\n position?: Maybe<Location>;\n /** The product name and service type (fuel, toll, etc). */\n products?: Maybe<Array<Maybe<Product>>>;\n /** Stations with rebate incentive. */\n rebateEligible?: Maybe<Scalars['Boolean']['output']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: Maybe<Array<Maybe<ServiceType>>>;\n /** Is Tap To Pay enabled? */\n ttpEnabled?: Maybe<Scalars['Boolean']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type ServiceLocationInsights = {\n __typename?: 'ServiceLocationInsights';\n /** Address of the location. */\n address?: Maybe<Address>;\n /** Service provider/fuel brand name. */\n brand?: Maybe<Scalars['String']['output']>;\n /** Service provider/fuel brand human readable name */\n brandLabel?: Maybe<Scalars['String']['output']>;\n id: Scalars['ID']['output'];\n /** Fuel brand of location. */\n name?: Maybe<Scalars['String']['output']>;\n /** Geocode of location. */\n position?: Maybe<Location>;\n};\n\nexport enum ServiceLocationSortField {\n Brand = 'BRAND'\n}\n\nexport type ServiceLocationsFilterInput = {\n /** Filter using the position, radius, services, brands, network type, etc. */\n filter: ServiceLocationsFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Order by brand name. */\n sortOptions?: InputMaybe<ServiceLocationsSortOptions>;\n};\n\nexport type ServiceLocationsFilterOptions = {\n /** Brand/name of the service location. */\n brand?: InputMaybe<Scalars['String']['input']>;\n /** List of brands (case-insensitive). */\n brands?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n feeNetworkDesignations?: InputMaybe<Array<InputMaybe<FeeNetworkDesignationType>>>;\n /** In network, out of network, or all network types. Default is in networks. */\n networkType?: InputMaybe<NetworkType>;\n /** Has physical card. e.g. Voyager accounts. */\n physicalCardEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Latitude and longitude on the service. */\n position: PositionInput;\n /** Type of fuel. */\n productTypes?: InputMaybe<Array<InputMaybe<ProductType>>>;\n /** Radius around the position to filter on. */\n radius?: InputMaybe<Scalars['Float']['input']>;\n /** Has rebate incentive. */\n rebateEligible?: InputMaybe<Scalars['Boolean']['input']>;\n /** Filter service locations by IDs. */\n serviceLocationIds?: InputMaybe<Array<Scalars['ID']['input']>>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: InputMaybe<ServiceType>;\n /** Has TTP enabled. */\n ttpEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type ServiceLocationsPage = {\n __typename?: 'ServiceLocationsPage';\n /** List of available stations from a given locations */\n data?: Maybe<Array<Maybe<ServiceLocation>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type ServiceLocationsSortOptions = {\n /** Specify the direction to sort (asc, desc, etc). */\n direction: SortDirection;\n /** Order the stations by brand. */\n orderBy: ServiceLocationSortField;\n};\n\nexport type ServicePayInput = {\n deviceId?: InputMaybe<Scalars['String']['input']>;\n /** Specify the pump number. */\n fuel?: InputMaybe<ServiceFuelInput>;\n localTime?: InputMaybe<Scalars['String']['input']>;\n locationId: Scalars['ID']['input'];\n /** Deprecated: For fallback transactions(both Physical Card and TTP) at DC stations. */\n openloopFallback?: InputMaybe<Scalars['Boolean']['input']>;\n /** Direct connect, TTP, or linked card. */\n paymentMethodType?: InputMaybe<PaymentMethodType>;\n /** Latitude and longitude. */\n position: PositionInput;\n requestId: Scalars['ID']['input'];\n vehicleId: Scalars['ID']['input'];\n};\n\nexport type ServicePayOutput = {\n __typename?: 'ServicePayOutput';\n /** Unique request id of this payment. */\n requestId: Scalars['ID']['output'];\n /** Unique transaction id of this payment. */\n transactionId: Scalars['ID']['output'];\n};\n\n/** Service provider information on a policy */\nexport type ServiceProvider = {\n __typename?: 'ServiceProvider';\n description?: Maybe<Scalars['String']['output']>;\n id: Scalars['String']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n label?: Maybe<Scalars['String']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\n/** Services that Car IQ offers */\nexport enum ServiceType {\n Fees = 'FEES',\n Fuel = 'FUEL',\n Maintenance = 'MAINTENANCE',\n Parking = 'PARKING',\n Toll = 'TOLL',\n UnknownService = 'UNKNOWN_SERVICE'\n}\n\nexport enum SortDirection {\n Asc = 'ASC',\n AscNullsFirst = 'ASC_NULLS_FIRST',\n AscNullsLast = 'ASC_NULLS_LAST',\n Desc = 'DESC',\n DescNullsFirst = 'DESC_NULLS_FIRST',\n DescNullsLast = 'DESC_NULLS_LAST'\n}\n\nexport type SpendRestrictions = {\n __typename?: 'SpendRestrictions';\n /** Amount per day, usually around $125. */\n amountPerDay?: Maybe<Scalars['String']['output']>;\n /** Also known as purchas limit. Usually between $5 and $1000. */\n amountPerTransaction?: Maybe<Scalars['String']['output']>;\n /** Max dollar amount per week. 0 or null turns this restriction off. */\n amountPerWeek?: Maybe<Scalars['Int']['output']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: Maybe<Scalars['Boolean']['output']>;\n /** Define which days and times vehicles can transact at for fueling. */\n daysOfWeek?: Maybe<SpendRestrictionsDaysOfWeek>;\n enforceFuelSpendEstimation?: Maybe<Scalars['Boolean']['output']>;\n /** Deprecated, use direct spend restrictions settings instead. */\n fuel?: Maybe<FuelRestrictions>;\n /** Number of transactions */\n noOfTransactions?: Maybe<Scalars['Int']['output']>;\n predefinedRule?: Maybe<Scalars['String']['output']>;\n};\n\nexport type SpendRestrictionsDay = {\n __typename?: 'SpendRestrictionsDay';\n /** Enable this day for fueling. */\n isEnabled: Scalars['Boolean']['output'];\n /** Defines a list of to and from times that a vehicle can purchase at. */\n purchaseTimes?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n};\n\nexport type SpendRestrictionsDayInput = {\n isEnabled: Scalars['Boolean']['input'];\n /** Defines a list of to and from times that a vehicle can purchase at. */\n purchaseTimes?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n};\n\n/** Specifies if which days are enabled and for which times. */\nexport type SpendRestrictionsDaysOfWeek = {\n __typename?: 'SpendRestrictionsDaysOfWeek';\n friday: SpendRestrictionsDay;\n monday: SpendRestrictionsDay;\n saturday: SpendRestrictionsDay;\n sunday: SpendRestrictionsDay;\n thursday: SpendRestrictionsDay;\n tuesday: SpendRestrictionsDay;\n wednesday: SpendRestrictionsDay;\n};\n\nexport type SpendRestrictionsDaysOfWeekInput = {\n friday: SpendRestrictionsDayInput;\n monday: SpendRestrictionsDayInput;\n saturday: SpendRestrictionsDayInput;\n sunday: SpendRestrictionsDayInput;\n thursday: SpendRestrictionsDayInput;\n tuesday: SpendRestrictionsDayInput;\n wednesday: SpendRestrictionsDayInput;\n};\n\nexport type SpendRestrictionsInput = {\n /** Amount per day. Max No of Transactions times Amount per Day. */\n amountPerDay?: InputMaybe<Scalars['String']['input']>;\n /** Also known as purchase limit, usually around $125. $1000 max. */\n amountPerTransaction?: InputMaybe<Scalars['String']['input']>;\n /** Max dollar amount per week. 0 or null turns this restriction off. */\n amountPerWeek?: InputMaybe<Scalars['Int']['input']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: InputMaybe<Scalars['Boolean']['input']>;\n /** Deprecated. Define which days and times vehicles can transact at for fueling. */\n daysOfWeek?: InputMaybe<SpendRestrictionsDaysOfWeekInput>;\n /** Enforce spend estimation on this vehicle */\n enforceFuelSpendEstimation?: InputMaybe<Scalars['Boolean']['input']>;\n /** Deprecated, use direct spend restrictions settings */\n fuel?: InputMaybe<FuelRestrictionsInput>;\n /** Number of transactions. Between 1 and 5. */\n noOfTransactions?: InputMaybe<Scalars['Int']['input']>;\n predefinedRule?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type SpendingInsightsInput = {\n entityId: Scalars['ID']['input'];\n periodType?: InputMaybe<TimePeriodType>;\n utcTimeFrom: Scalars['String']['input'];\n utcTimeTo: Scalars['String']['input'];\n};\n\nexport type SpendingInsightsOutput = {\n __typename?: 'SpendingInsightsOutput';\n driverSpending?: Maybe<Array<Maybe<DriverSpending>>>;\n driverSpendingInsights?: Maybe<Scalars['String']['output']>;\n gasPriceAverage?: Maybe<Scalars['String']['output']>;\n gasPriceInsights?: Maybe<Scalars['String']['output']>;\n gasPriceSeries?: Maybe<Array<Maybe<HashMap>>>;\n totalCurrentPeriod: Scalars['String']['output'];\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n totalSeries?: Maybe<Array<Maybe<HashMap>>>;\n vehicleSpending?: Maybe<Array<Maybe<VehicleSpending>>>;\n vehicleSpendingInsights?: Maybe<Scalars['String']['output']>;\n};\n\nexport type SpendingOverview = {\n __typename?: 'SpendingOverview';\n totalByServiceCurrentPeriod?: Maybe<Array<Maybe<HashMap>>>;\n totalCurrentPeriod: Scalars['String']['output'];\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n};\n\nexport type StoreCardCoFInput = {\n /** Encrypted Card info byte array encoded as Base64 string. */\n encryptedCard: Scalars['String']['input'];\n token: Scalars['String']['input'];\n};\n\nexport type StoreCardCoFOutput = {\n __typename?: 'StoreCardCoFOutput';\n id: Scalars['String']['output'];\n};\n\nexport type StringArrayHashMapInput = {\n key: Scalars['String']['input'];\n value: Array<InputMaybe<Scalars['String']['input']>>;\n};\n\nexport enum TimePeriodType {\n MonthToDate = 'MONTH_TO_DATE',\n Period = 'PERIOD',\n QuarterToDate = 'QUARTER_TO_DATE',\n WeekToDate = 'WEEK_TO_DATE',\n YearToDate = 'YEAR_TO_DATE'\n}\n\nexport type Transaction = {\n __typename?: 'Transaction';\n additionalInfo?: Maybe<AdditionalTransactionInfo>;\n currency?: Maybe<Scalars['String']['output']>;\n decisionStatus?: Maybe<DecisionStatus>;\n /** Driver information including phone number, name, organization id, vehicle groups, etc. */\n driver?: Maybe<User>;\n /** The entity of the transaction. */\n entity?: Maybe<Entity>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Information on the transaction such as the price, name, type, etc. */\n items?: Maybe<Array<Maybe<TransactionItem>>>;\n localTime?: Maybe<Scalars['String']['output']>;\n /** Information including the location on the service. */\n location?: Maybe<ServiceLocation>;\n pdfReceiptUrl?: Maybe<Scalars['String']['output']>;\n /** Latitude and longitude of the transaction. */\n position?: Maybe<Location>;\n /** The status of the transaction. */\n statuses?: Maybe<Array<Maybe<TransactionStatus>>>;\n subtotal?: Maybe<Scalars['String']['output']>;\n taxAmount?: Maybe<Scalars['String']['output']>;\n totalAmount?: Maybe<Scalars['String']['output']>;\n transactionNumber?: Maybe<Scalars['Int']['output']>;\n transactionTime?: Maybe<Scalars['String']['output']>;\n /** Realtime or invoice type. */\n type?: Maybe<TransactionType>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n vehicle?: Maybe<Vehicle>;\n /** The vehicle group of the transaction. */\n vehicleGroup?: Maybe<VehicleGroup>;\n};\n\nexport type TransactionFilterAdditionalOptions = {\n generatePdfReceipt?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type TransactionInsight = {\n __typename?: 'TransactionInsight';\n currency?: Maybe<Scalars['String']['output']>;\n driverId?: Maybe<Scalars['ID']['output']>;\n driverName?: Maybe<Scalars['String']['output']>;\n exceptions?: Maybe<Array<Maybe<Scalars['String']['output']>>>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n paymentType?: Maybe<Scalars['String']['output']>;\n serviceLocation?: Maybe<ServiceLocationInsights>;\n serviceType?: Maybe<Scalars['String']['output']>;\n status?: Maybe<Scalars['String']['output']>;\n subtotal?: Maybe<Scalars['String']['output']>;\n taxAmount?: Maybe<Scalars['String']['output']>;\n totalAmount?: Maybe<Scalars['String']['output']>;\n transactionTime?: Maybe<Scalars['String']['output']>;\n vehicleDescription?: Maybe<Scalars['String']['output']>;\n vehicleId?: Maybe<Scalars['ID']['output']>;\n vehicleMake?: Maybe<Scalars['String']['output']>;\n vehicleModel?: Maybe<Scalars['String']['output']>;\n vehicleName?: Maybe<Scalars['String']['output']>;\n vehicleYear?: Maybe<Scalars['String']['output']>;\n vin?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionItem = {\n __typename?: 'TransactionItem';\n amount?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n line?: Maybe<Scalars['String']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n productName?: Maybe<Scalars['String']['output']>;\n productTier?: Maybe<Scalars['String']['output']>;\n quantity?: Maybe<Scalars['String']['output']>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: Maybe<ServiceType>;\n transactionId?: Maybe<Scalars['ID']['output']>;\n unitPrice?: Maybe<Scalars['String']['output']>;\n units?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionPage = {\n __typename?: 'TransactionPage';\n /** List of transactions. */\n data?: Maybe<Transaction>;\n requestId?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionReport = {\n __typename?: 'TransactionReport';\n /** Data stream pertaining to the report. */\n data?: Maybe<Scalars['String']['output']>;\n /** Whether transactions exist in this report. */\n exists?: Maybe<Scalars['Boolean']['output']>;\n /** Filename of the report. */\n fileName?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionReportDownloadInput = {\n dateFrom?: InputMaybe<Scalars['String']['input']>;\n dateTo?: InputMaybe<Scalars['String']['input']>;\n id: Scalars['ID']['input'];\n month?: InputMaybe<Scalars['Int']['input']>;\n /** Download only one of the following: entity, vehicle, vehicle group, driver. */\n type: TransactionReportType;\n year?: InputMaybe<Scalars['Int']['input']>;\n};\n\n/** Which type to download the transaction report on. */\nexport enum TransactionReportType {\n Driver = 'DRIVER',\n Entity = 'ENTITY',\n Vehicle = 'VEHICLE',\n VehicleGroup = 'VEHICLE_GROUP'\n}\n\n/** How to order transactions in TransactionsFilter. */\nexport enum TransactionSortField {\n Amount = 'AMOUNT',\n DriverName = 'DRIVER_NAME',\n LocalTime = 'LOCAL_TIME',\n Time = 'TIME',\n VehicleDescription = 'VEHICLE_DESCRIPTION',\n VehicleName = 'VEHICLE_NAME'\n}\n\nexport type TransactionStatus = {\n __typename?: 'TransactionStatus';\n /** ID of aggregator, such as P97, VERRA, FISERV, ARRIVE, CARIQ_OPENLOOP, or AUTO_INTEGRATE. */\n aggregatorId?: Maybe<Scalars['ID']['output']>;\n details?: Maybe<TransactionStatusField>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Information on the transaction such as the price, name, type, etc. */\n items?: Maybe<Array<Maybe<TransactionItem>>>;\n /** Status values can be STARTED, PROVISIONING, PROCESSING, PROVISIONED, RESERVED, FINISHED, or a type of FAILURE_* */\n status?: Maybe<Scalars['String']['output']>;\n /** Information on the transaction such as subtotal, tax, total, and currency. */\n total?: Maybe<TransactionTotal>;\n transactionId?: Maybe<Scalars['ID']['output']>;\n};\n\nexport type TransactionStatusField = {\n __typename?: 'TransactionStatusField';\n response?: Maybe<TransactionStatusResponse>;\n};\n\nexport type TransactionStatusResponse = {\n __typename?: 'TransactionStatusResponse';\n kind?: Maybe<Scalars['String']['output']>;\n stringValue?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionTotal = {\n __typename?: 'TransactionTotal';\n currency?: Maybe<Scalars['String']['output']>;\n subtotal?: Maybe<Scalars['String']['output']>;\n tax?: Maybe<Scalars['String']['output']>;\n total?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum TransactionType {\n Invoice = 'INVOICE',\n Realtime = 'REALTIME',\n UnknownType = 'UNKNOWN_TYPE'\n}\n\nexport type TransactionUpdateInput = {\n /** Fields to update like jobCode. */\n options?: InputMaybe<TransactionUpdateOptionsInput>;\n /** ID of the transaction to update. */\n transactionId: Scalars['ID']['input'];\n};\n\nexport type TransactionUpdateOptionsInput = {\n jobCode: Scalars['String']['input'];\n};\n\nexport type TransactionsFilterInput = {\n /** Add a pdf receipt. */\n additionalOptions?: InputMaybe<TransactionFilterAdditionalOptions>;\n /** Filter on one of many items such as a user id, vin, vehicle id, entity id, etc. */\n filter: TransactionsFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Order by time, local time, veihcle name, driver name, etc and direction (asc, desc, etc). */\n sortOptions?: InputMaybe<TransactionsSortOptions>;\n};\n\nexport type TransactionsFilterOptions = {\n entityId?: InputMaybe<Scalars['ID']['input']>;\n fromDate?: InputMaybe<Scalars['String']['input']>;\n fromInsertedDate?: InputMaybe<Scalars['String']['input']>;\n fromLocalDate?: InputMaybe<Scalars['String']['input']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: InputMaybe<Array<InputMaybe<ServiceType>>>;\n toDate?: InputMaybe<Scalars['String']['input']>;\n toInsertedDate?: InputMaybe<Scalars['String']['input']>;\n toLocalDate?: InputMaybe<Scalars['String']['input']>;\n userId?: InputMaybe<Scalars['ID']['input']>;\n userIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n vehicleGroupExternalId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n vehicleId?: InputMaybe<Scalars['String']['input']>;\n vehicleIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n vin?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type TransactionsInsightsFilterOptions = {\n entityId: Scalars['ID']['input'];\n exceptionsOnly?: InputMaybe<Scalars['Boolean']['input']>;\n utcTimeFrom?: InputMaybe<Scalars['String']['input']>;\n utcTimeTo?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type TransactionsInsightsInput = {\n filter: TransactionsInsightsFilterOptions;\n page: PageRequest;\n sortOptions?: InputMaybe<TransactionsSortOptions>;\n};\n\nexport type TransactionsInsightsPage = {\n __typename?: 'TransactionsInsightsPage';\n data?: Maybe<Array<Maybe<TransactionInsight>>>;\n meta?: Maybe<PageMeta>;\n};\n\nexport type TransactionsOverviewInput = {\n entityId: Scalars['ID']['input'];\n periodType?: InputMaybe<TimePeriodType>;\n utcTimeFrom: Scalars['String']['input'];\n utcTimeTo: Scalars['String']['input'];\n};\n\nexport type TransactionsOverviewOutput = {\n __typename?: 'TransactionsOverviewOutput';\n exceptions?: Maybe<Array<Maybe<HashMap>>>;\n spending?: Maybe<SpendingOverview>;\n vehicles?: Maybe<VehiclesOverviewOutput>;\n};\n\nexport type TransactionsPage = {\n __typename?: 'TransactionsPage';\n /** List of transactions. */\n data?: Maybe<Array<Maybe<Transaction>>>;\n /** The pagination used to fulfill the response. */\n meta?: Maybe<PageMeta>;\n};\n\n/** Options to sort on TransactionsFilter */\nexport type TransactionsSortOptions = {\n /** Specify a direction to sort by such as asc and desc. */\n direction: SortDirection;\n /** Order by time, local time, vehicle name, driver name, etc. */\n orderBy: TransactionSortField;\n};\n\nexport type TransactionsStats = {\n __typename?: 'TransactionsStats';\n amountAvg?: Maybe<Scalars['String']['output']>;\n amountTotal?: Maybe<Scalars['String']['output']>;\n driversTotal?: Maybe<Scalars['Int']['output']>;\n driversTransacting?: Maybe<Scalars['Int']['output']>;\n gallonsTotal?: Maybe<Scalars['String']['output']>;\n vehiclesTotal?: Maybe<Scalars['Int']['output']>;\n vehiclesTransacting?: Maybe<Scalars['Int']['output']>;\n};\n\n/** Specify inputs to get transactions statistics on a given entity. */\nexport type TransactionsStatsInput = {\n entityId: Scalars['ID']['input'];\n localTimeFrom?: InputMaybe<Scalars['String']['input']>;\n localTimeTo?: InputMaybe<Scalars['String']['input']>;\n utcTimeFrom?: InputMaybe<Scalars['String']['input']>;\n utcTimeTo?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type TtpTokenizationInput = {\n deviceId: Scalars['String']['input'];\n requestId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type TtpTokenizationOutput = {\n __typename?: 'TtpTokenizationOutput';\n cardFlag?: Maybe<CardNetwork>;\n /** Account ID, can be a vehicleId, deviceId, or an asset */\n deviceAccountId?: Maybe<Scalars['String']['output']>;\n displayName?: Maybe<Scalars['String']['output']>;\n lastFourDigits?: Maybe<Scalars['String']['output']>;\n paymentProviderAccountId?: Maybe<Scalars['String']['output']>;\n programSupports?: Maybe<ProgramSupports>;\n requestId?: Maybe<Scalars['String']['output']>;\n success?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type User = {\n __typename?: 'User';\n /** Specifies if phone number is a corporate phone. */\n additionalInfo?: Maybe<UserAdditionalInfo>;\n email?: Maybe<Scalars['String']['output']>;\n employeeId?: Maybe<Scalars['String']['output']>;\n /** Entity the user belongs to. */\n entity?: Maybe<Entity>;\n /** Auth0 Id */\n externalId?: Maybe<Scalars['String']['output']>;\n firstName?: Maybe<Scalars['String']['output']>;\n fullName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n lastName?: Maybe<Scalars['String']['output']>;\n /** Email or phone */\n loginType?: Maybe<LoginType>;\n /** List of loyalty accounts for the user. */\n loyaltyAccounts?: Maybe<Array<Maybe<UserLoyaltyAccountForUser>>>;\n middleName?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['ID']['output']>;\n phoneNumber?: Maybe<Scalars['String']['output']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: Maybe<RoleType>;\n status?: Maybe<UserStatus>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** deprecated */\n username?: Maybe<Scalars['String']['output']>;\n /** Return a list of vehicle groups. */\n vehicleGroups?: Maybe<Array<Maybe<VehicleGroup>>>;\n};\n\nexport type UserActivationCodeSignUpInput = {\n activationCode: Scalars['String']['input'];\n firstName: Scalars['String']['input'];\n lastName: Scalars['String']['input'];\n phoneNumber: Scalars['String']['input'];\n};\n\nexport type UserAdditionalInfo = {\n __typename?: 'UserAdditionalInfo';\n /** Managers/dashboard user phone number that's not used for authentication */\n contactPhoneNumber?: Maybe<Scalars['String']['output']>;\n isCorporatePhone?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type UserCreateInput = {\n additionalInfo?: InputMaybe<AdditionalInfoInput>;\n /** Email is necessary for Manager Roles(Full Access and Read Only). */\n email?: InputMaybe<Scalars['String']['input']>;\n employeeId?: InputMaybe<Scalars['String']['input']>;\n entityId: Scalars['ID']['input'];\n firstName: Scalars['String']['input'];\n id?: InputMaybe<Scalars['ID']['input']>;\n lastName: Scalars['String']['input'];\n /** Auth method(email or phone) used by user */\n loginType?: InputMaybe<LoginType>;\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role: RoleType;\n};\n\nexport type UserForgotPasswordInput = {\n /** deprecated */\n username: Scalars['String']['input'];\n};\n\nexport type UserLoginInput = {\n client_id: Scalars['String']['input'];\n client_secret: Scalars['String']['input'];\n grant_type?: InputMaybe<Scalars['String']['input']>;\n password: Scalars['String']['input'];\n scope: Scalars['String']['input'];\n /** deprecated */\n username: Scalars['String']['input'];\n};\n\nexport enum UserLoginMethod {\n AppleSso = 'APPLE_SSO',\n EmailOtp = 'EMAIL_OTP',\n GoogleSso = 'GOOGLE_SSO',\n MagicLink = 'MAGIC_LINK',\n Password = 'PASSWORD',\n PhoneOtp = 'PHONE_OTP'\n}\n\nexport type UserLoginOtpRequestInput = {\n client_id: Scalars['String']['input'];\n client_secret: Scalars['String']['input'];\n /** SMS or Email */\n connection: ConnectionType;\n email?: InputMaybe<Scalars['String']['input']>;\n language?: InputMaybe<LanguageType>;\n /** Method to login such as PHONE_OTP, EMAIL_OTP, or EMAIL_MAGIC_LINK */\n method?: InputMaybe<UserLoginMethod>;\n phone_number?: InputMaybe<Scalars['String']['input']>;\n redirectUri?: InputMaybe<Scalars['String']['input']>;\n /** Code or Link */\n send: OtpType;\n};\n\nexport type UserLoginOtpVerifyInput = {\n client_id: Scalars['String']['input'];\n client_secret: Scalars['String']['input'];\n /** SMS or Email */\n connection: ConnectionType;\n email?: InputMaybe<Scalars['String']['input']>;\n otp: Scalars['String']['input'];\n phone_number?: InputMaybe<Scalars['String']['input']>;\n scope: Scalars['String']['input'];\n};\n\nexport type UserLoginUniversalInput = {\n redirectUri: Scalars['String']['input'];\n universalLoginClientId: Scalars['String']['input'];\n};\n\nexport type UserLoyaltyAccount = {\n __typename?: 'UserLoyaltyAccount';\n deletedAt?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n loyaltyId?: Maybe<Scalars['String']['output']>;\n loyaltyPhone?: Maybe<Scalars['String']['output']>;\n program?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n userId?: Maybe<Scalars['ID']['output']>;\n};\n\nexport type UserLoyaltyAccountAddInput = {\n loyaltyId: Scalars['String']['input'];\n loyaltyPhone?: InputMaybe<Scalars['String']['input']>;\n program: Scalars['String']['input'];\n};\n\nexport type UserLoyaltyAccountForUser = {\n __typename?: 'UserLoyaltyAccountForUser';\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n loyaltyId?: Maybe<Scalars['String']['output']>;\n loyaltyPhone?: Maybe<Scalars['String']['output']>;\n program?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n userId?: Maybe<Scalars['ID']['output']>;\n};\n\nexport type UserNotificationTokenUpdateOutput = {\n __typename?: 'UserNotificationTokenUpdateOutput';\n error?: Maybe<Scalars['Boolean']['output']>;\n message?: Maybe<Scalars['String']['output']>;\n};\n\nexport type UserRefreshTokenInput = {\n client_id: Scalars['String']['input'];\n client_secret: Scalars['String']['input'];\n grant_type?: InputMaybe<Scalars['String']['input']>;\n refresh_token: Scalars['String']['input'];\n scope: Scalars['String']['input'];\n};\n\nexport type UserRole = {\n __typename?: 'UserRole';\n entity?: Maybe<Entity>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: Maybe<Role>;\n user?: Maybe<User>;\n};\n\nexport type UserRoleInput = {\n entityId: Scalars['ID']['input'];\n roleId?: InputMaybe<Scalars['ID']['input']>;\n roleName?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type UserSetPasswordInput = {\n id: Scalars['String']['input'];\n password: Scalars['String']['input'];\n};\n\n/** Status of a given user. */\nexport enum UserStatus {\n /** Also known as offboarded */\n Deactivated = 'DEACTIVATED',\n Deleted = 'DELETED',\n Invited = 'INVITED',\n LockedOut = 'LOCKED_OUT',\n Onboarded = 'ONBOARDED',\n Unknown = 'UNKNOWN'\n}\n\nexport type UserUpdateInput = {\n additionalInfo?: InputMaybe<AdditionalInfoInput>;\n email?: InputMaybe<Scalars['String']['input']>;\n employeeId?: InputMaybe<Scalars['String']['input']>;\n firstName?: InputMaybe<Scalars['String']['input']>;\n id: Scalars['ID']['input'];\n lastName?: InputMaybe<Scalars['String']['input']>;\n /** Auth method(email or phone) used by user */\n loginType?: InputMaybe<LoginType>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role: RoleType;\n};\n\nexport type UsersFilterInput = {\n /** Filter on username, external id, entity id, vehicle group id, user role, or user statuses. */\n filter: UsersFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Order by firt name, last name, email, phone number, or status and the direction (desc, asc). */\n sortOptions?: InputMaybe<UsersSortOptions>;\n};\n\nexport type UsersFilterOptions = {\n email?: InputMaybe<Scalars['String']['input']>;\n entityId?: InputMaybe<Scalars['ID']['input']>;\n /** Auth0 Id, if specified, will only apply filter using externalId */\n externalId?: InputMaybe<Scalars['String']['input']>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: InputMaybe<RoleType>;\n roles?: InputMaybe<Array<InputMaybe<RoleType>>>;\n statuses?: InputMaybe<Array<InputMaybe<UserStatus>>>;\n /** deprecated */\n username?: InputMaybe<Scalars['String']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n};\n\nexport type UsersPage = {\n __typename?: 'UsersPage';\n /** Returns a list of users. */\n data?: Maybe<Array<Maybe<User>>>;\n /** The pagination used to fulfill the response. */\n meta?: Maybe<PageMeta>;\n};\n\nexport enum UsersSortField {\n Email = 'EMAIL',\n FirstName = 'FIRST_NAME',\n LastName = 'LAST_NAME',\n PhoneNumber = 'PHONE_NUMBER',\n Status = 'STATUS'\n}\n\nexport type UsersSortOptions = {\n /** Specify a direction such as desc or asc. */\n direction: SortDirection;\n /** Sort on first name, last name, email, phone number, or status. */\n orderBy: UsersSortField;\n};\n\nexport type ValidateTokenCoFInput = {\n token: Scalars['String']['input'];\n};\n\nexport type ValidateTokenCoFOutput = {\n __typename?: 'ValidateTokenCoFOutput';\n /** Public Key byte array encoded as Base64 string. */\n publicKey: Scalars['String']['output'];\n token: Scalars['String']['output'];\n};\n\nexport type Vehicle = {\n __typename?: 'Vehicle';\n createdAt?: Maybe<Scalars['String']['output']>;\n /** Details on a vehicle such as model, make, year, trim, manufacture plant, and number of doors. */\n details?: Maybe<VehicleDetails>;\n driverCount?: Maybe<Scalars['Int']['output']>;\n /** Environment of vehicle such as outside air tempurature, engine oil tempurature, and coolant tempurature. */\n environment?: Maybe<VehicleEnvironment>;\n /** Information of the vehicle's fuel such as the level, percent, and fuel used on current trip. */\n fuel?: Maybe<VehicleFuel>;\n id?: Maybe<Scalars['ID']['output']>;\n lastTransactionDate?: Maybe<Scalars['String']['output']>;\n /** Location of vehicle (lat, long) and information about the satellite. */\n location?: Maybe<VehicleLocation>;\n /** Mechanical information on the vehicle such as if the ignition is on, engine speed, tire pressure of each tire, and engine oil life remaining. */\n mechanical?: Maybe<VehicleMechanical>;\n /** Information on movement of vehicle such as if it's driving, odometer, and speed. */\n movement?: Maybe<VehicleMovement>;\n registrationData?: Maybe<Scalars['JSONObject']['output']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: Maybe<Array<Maybe<ServiceType>>>;\n /** Information on the vehicle such as name, serial number, source, license plate, imei, etc. */\n type?: Maybe<VehicleType>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** Information on the vehicle group that this vehicle belongs to you. */\n vehicleGroup?: Maybe<VehicleGroup>;\n vin: Scalars['String']['output'];\n};\n\n/** Create a vehicle using the vin. */\nexport type VehicleCreateInput = {\n vin: Scalars['String']['input'];\n};\n\nexport enum VehicleDataType {\n Unknown = 'UNKNOWN',\n VehicleOffline = 'VEHICLE_OFFLINE',\n VehicleOnline = 'VEHICLE_ONLINE'\n}\n\nexport type VehicleDetails = {\n __typename?: 'VehicleDetails';\n bodySubtype?: Maybe<Scalars['String']['output']>;\n bodyType?: Maybe<Scalars['String']['output']>;\n brakeSystem?: Maybe<Scalars['String']['output']>;\n colorExterior?: Maybe<Scalars['String']['output']>;\n colorExteriorCode?: Maybe<Scalars['String']['output']>;\n colorExteriorGeneric?: Maybe<Scalars['String']['output']>;\n colorExteriorHex?: Maybe<Scalars['String']['output']>;\n colorInterior?: Maybe<Scalars['String']['output']>;\n colorInteriorCode?: Maybe<Scalars['String']['output']>;\n colorInteriorGeneric?: Maybe<Scalars['String']['output']>;\n colorInteriorHex?: Maybe<Scalars['String']['output']>;\n description?: Maybe<Scalars['String']['output']>;\n destinationCharge?: Maybe<Scalars['String']['output']>;\n doors?: Maybe<Scalars['Int']['output']>;\n driveType?: Maybe<Scalars['String']['output']>;\n fuelTankCapacityPrimary?: Maybe<Scalars['Float']['output']>;\n fuelTankCapacitySecondary?: Maybe<Scalars['Float']['output']>;\n gasGuzzlerTax?: Maybe<Scalars['String']['output']>;\n /** Information on the image such as the thumbnail path, mid size path, and angle description. */\n image?: Maybe<VehicleImage>;\n invoicePrice?: Maybe<Scalars['String']['output']>;\n make?: Maybe<Scalars['String']['output']>;\n manufactureCountry?: Maybe<Scalars['String']['output']>;\n manufacturePlant?: Maybe<Scalars['String']['output']>;\n market?: Maybe<Scalars['String']['output']>;\n model?: Maybe<Scalars['String']['output']>;\n modelNumber?: Maybe<Scalars['String']['output']>;\n msrp?: Maybe<Scalars['String']['output']>;\n oemBodyStyle?: Maybe<Scalars['String']['output']>;\n oemDoors?: Maybe<Scalars['Int']['output']>;\n packageCode?: Maybe<Scalars['String']['output']>;\n restraintType?: Maybe<Scalars['String']['output']>;\n trim?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n vehicleType?: Maybe<Scalars['String']['output']>;\n year?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleEnvironment = {\n __typename?: 'VehicleEnvironment';\n barometricPressure?: Maybe<Scalars['Float']['output']>;\n engineCoolantTemp?: Maybe<Scalars['Float']['output']>;\n engineOilTemp?: Maybe<Scalars['Float']['output']>;\n outsideAirTemp?: Maybe<Scalars['Float']['output']>;\n outsideAirTempRaw?: Maybe<Scalars['Float']['output']>;\n transmissionOilTemp?: Maybe<Scalars['Float']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleFieldsAddInput = {\n dataType?: InputMaybe<DataType>;\n displayContexts?: InputMaybe<VehicleFieldsDisplayContextsInput>;\n fieldDescription?: InputMaybe<Scalars['String']['input']>;\n fieldKey?: InputMaybe<Scalars['String']['input']>;\n fieldName?: InputMaybe<Scalars['String']['input']>;\n ordinalNumber?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type VehicleFieldsConfiguration = {\n __typename?: 'VehicleFieldsConfiguration';\n dataType?: Maybe<DataType>;\n deletedAt?: Maybe<Scalars['String']['output']>;\n displayContexts?: Maybe<VehicleFieldsDisplayContexts>;\n fieldDescription?: Maybe<Scalars['String']['output']>;\n fieldKey?: Maybe<Scalars['String']['output']>;\n fieldName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['String']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n ordinalNumber?: Maybe<Scalars['Int']['output']>;\n organizationId?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum VehicleFieldsDirection {\n Asc = 'ASC',\n Desc = 'DESC'\n}\n\nexport type VehicleFieldsDisplayContexts = {\n __typename?: 'VehicleFieldsDisplayContexts';\n console?: Maybe<Scalars['Boolean']['output']>;\n statementReport?: Maybe<Scalars['Boolean']['output']>;\n transactionReport?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type VehicleFieldsDisplayContextsInput = {\n console?: InputMaybe<Scalars['Boolean']['input']>;\n statementReport?: InputMaybe<Scalars['Boolean']['input']>;\n transactionReport?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type VehicleFieldsInput = {\n direction?: InputMaybe<VehicleFieldsDirection>;\n orderBy?: InputMaybe<VehicleFieldsOrderBy>;\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n};\n\nexport enum VehicleFieldsOrderBy {\n Name = 'NAME',\n OrdinalNumber = 'ORDINAL_NUMBER'\n}\n\nexport type VehicleFieldsPage = {\n __typename?: 'VehicleFieldsPage';\n data?: Maybe<Array<Maybe<VehicleFieldsConfiguration>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type VehicleFieldsUpdateInput = {\n dataType?: InputMaybe<DataType>;\n displayContexts?: InputMaybe<VehicleFieldsDisplayContextsInput>;\n fieldDescription?: InputMaybe<Scalars['String']['input']>;\n fieldName?: InputMaybe<Scalars['String']['input']>;\n /** UUID for field to update */\n id?: InputMaybe<Scalars['ID']['input']>;\n ordinalNumber?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type VehicleFuel = {\n __typename?: 'VehicleFuel';\n level?: Maybe<Scalars['Float']['output']>;\n percent?: Maybe<Scalars['Float']['output']>;\n totalUsed?: Maybe<Scalars['Float']['output']>;\n tripUsed?: Maybe<Scalars['Float']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleGroup = {\n __typename?: 'VehicleGroup';\n code?: Maybe<Scalars['String']['output']>;\n /** Description of a vehicle group. */\n description?: Maybe<Scalars['String']['output']>;\n /** Number of drivers in this vehicle group. */\n driverCount?: Maybe<Scalars['Int']['output']>;\n /** Entity information on this vehicle group. */\n entity?: Maybe<Entity>;\n externalId?: Maybe<Scalars['String']['output']>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Date of last transaction. */\n lastTransactionDate?: Maybe<Scalars['String']['output']>;\n /** Name of the vehicle group. */\n name?: Maybe<Scalars['String']['output']>;\n /** Organization information on this vehicle group. */\n organization?: Maybe<Organization>;\n /** Services allowed on the entity: tolling, fueling, etc */\n policies?: Maybe<Array<Maybe<Policy>>>;\n /** Settings for enabling job code and driver entered odometer */\n settings?: Maybe<VehicleGroupSettings>;\n /** Spend restrictions on this vehicle group such as amount per day, amount per transaction, no of transaction, days of week and times to enabled fuel use. */\n spendRestrictions?: Maybe<SpendRestrictions>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** Number of vehicles in this vehicle group. */\n vehicleCount?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type VehicleGroupCreateInput = {\n /** Vehicle group description. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** Enabled driver entering odometer. */\n driverEnteredOdometerEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Drivers included in this vehicle group. */\n drivers?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;\n /** Entity that this vehicle group will belong to. */\n entityId?: InputMaybe<Scalars['ID']['input']>;\n externalId?: InputMaybe<Scalars['String']['input']>;\n /** Enable adding Job Code to transactions. */\n jobCodeEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Job code entry option, which defines whether the job code is predefined or freeform. */\n jobCodeEntryOption?: InputMaybe<JobCodeEntryOptionEnum>;\n /** Enable job code entry being optional. */\n jobCodeEntryOptional?: InputMaybe<Scalars['Boolean']['input']>;\n /** A list of job code values/options for the vehicle group. */\n jobCodeOptions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n /** Name of vehicle group. */\n name: Scalars['String']['input'];\n /** Organization that this vehicle group will belong to. */\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n /** Define spend restrictions for input such as amount per day, amount per transaction, no of transaction, days of week and times to enabled fuel use. */\n spendRestrictions: SpendRestrictionsInput;\n /** Vehicles included in this vehicle group. */\n vehicles?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;\n};\n\nexport type VehicleGroupDriversAddInput = {\n drivers: Array<Scalars['ID']['input']>;\n vehicleGroupId: Scalars['ID']['input'];\n};\n\nexport type VehicleGroupDriversRemoveInput = {\n drivers: Array<Scalars['ID']['input']>;\n vehicleGroupId: Scalars['ID']['input'];\n};\n\nexport type VehicleGroupSettings = {\n __typename?: 'VehicleGroupSettings';\n /** Allow driver to enter odometer. */\n driverEnteredOdometerEnabled?: Maybe<Scalars['Boolean']['output']>;\n /** Allow the job code to be editable. */\n jobCodeEnabled?: Maybe<Scalars['Boolean']['output']>;\n /** Job code entry option, which defines whether the job code is predefined or freeform. */\n jobCodeEntryOption?: Maybe<JobCodeEntryOptionEnum>;\n /** Enable job code entry being optional. */\n jobCodeEntryOptional?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type VehicleGroupSpendRestrictionsSetInput = {\n /** Define spend restrictions for input such as amount per day, amount per transaction, no of transaction, days of week and times to enabled fuel use. */\n spendRestrictions: SpendRestrictionsInput;\n /** Vehicle group id to set the spend restrictions on. */\n vehicleGroupId: Scalars['ID']['input'];\n};\n\nexport type VehicleGroupUpdateInput = {\n /** Update the description on a vehicle group. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** Enabled driver entering odometer. */\n driverEnteredOdometerEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Update the external id on a vehicle group. */\n externalId?: InputMaybe<Scalars['String']['input']>;\n /** Id for the vehicle group to update. */\n id: Scalars['ID']['input'];\n /** Enable adding Job Code to transactions. */\n jobCodeEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Job code entry option, which defines whether the job code is predefined or freeform. */\n jobCodeEntryOption?: InputMaybe<JobCodeEntryOptionEnum>;\n /** Enable job code entry being optional. */\n jobCodeEntryOptional?: InputMaybe<Scalars['Boolean']['input']>;\n /** A list of job code values/options for the vehicle group. */\n jobCodeOptions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n /** Update the name on a vehicle group. */\n name: Scalars['String']['input'];\n};\n\nexport type VehicleGroupVehiclesAddInput = {\n vehicleGroupId: Scalars['ID']['input'];\n vehicles: Array<Scalars['ID']['input']>;\n};\n\nexport type VehicleGroupVehiclesRemoveInput = {\n vehicleGroupId: Scalars['ID']['input'];\n vehicles: Array<Scalars['ID']['input']>;\n};\n\nexport type VehicleGroupsFilterInput = {\n /** Filter on values such as driver id and entity id, and whether to include children and whether to include spend controls. */\n filter: VehicleGroupsFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Sort options to be able to order by name, description, vehicle count, driver count, and last transaction date. You can also specify sort location such as ascending and descending. */\n sortOptions?: InputMaybe<VehicleGroupsSortOptions>;\n};\n\n/** Filter options for vehicleGroupsFilter */\nexport type VehicleGroupsFilterOptions = {\n /** Filter on a driver id. */\n driverId?: InputMaybe<Scalars['ID']['input']>;\n /** Filter on an entity id. */\n entityId?: InputMaybe<Scalars['ID']['input']>;\n /** Include child entities in the filter. */\n includeChildren?: InputMaybe<Scalars['Boolean']['input']>;\n includeSpendControls?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type VehicleGroupsPage = {\n __typename?: 'VehicleGroupsPage';\n /** Returns a list of vehicle groups. */\n data?: Maybe<Array<Maybe<VehicleGroup>>>;\n /** The pagination used to fulfill the response. */\n meta?: Maybe<PageMeta>;\n};\n\nexport enum VehicleGroupsSortField {\n Description = 'DESCRIPTION',\n DriverCount = 'DRIVER_COUNT',\n LastTransactionDate = 'LAST_TRANSACTION_DATE',\n Name = 'NAME',\n VehicleCount = 'VEHICLE_COUNT'\n}\n\nexport type VehicleGroupsSortOptions = {\n /** Sort by direction such as ascending or descending. */\n direction: SortDirection;\n /** Order by the following values: name, description, vehicle count, driver count, and last transaction date. */\n orderBy: VehicleGroupsSortField;\n};\n\nexport type VehicleImage = {\n __typename?: 'VehicleImage';\n angleDescription?: Maybe<Scalars['String']['output']>;\n angleId?: Maybe<Scalars['String']['output']>;\n fullsizePath?: Maybe<Scalars['String']['output']>;\n midsizePath?: Maybe<Scalars['String']['output']>;\n thumbnailPath?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleImages = {\n __typename?: 'VehicleImages';\n fullsizePath?: Maybe<Scalars['String']['output']>;\n midsizePath?: Maybe<Scalars['String']['output']>;\n thumbnailPath?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleLocation = {\n __typename?: 'VehicleLocation';\n fixStatus?: Maybe<Scalars['String']['output']>;\n /** Horizontal Dilution Of Precision. Determines relative accuracy of a horizontal position. */\n hdop?: Maybe<Scalars['Float']['output']>;\n /** Latitude and Longitude of the vehicle. */\n position?: Maybe<Location>;\n /** Received Signal Strength Indicator. Indicates the strength of the device's signal. */\n rssi?: Maybe<Scalars['Float']['output']>;\n satellites?: Maybe<Scalars['Int']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleMechanical = {\n __typename?: 'VehicleMechanical';\n deviceVoltage?: Maybe<Scalars['Float']['output']>;\n distanceSinceCodesCleared?: Maybe<Scalars['Float']['output']>;\n engineOilLifeRemaining?: Maybe<Scalars['Int']['output']>;\n engineOperationalTime?: Maybe<Scalars['Float']['output']>;\n engineSpeed?: Maybe<Scalars['Float']['output']>;\n fuelFilterLifeRemaining?: Maybe<Scalars['Int']['output']>;\n isIgnitionOn?: Maybe<Scalars['Boolean']['output']>;\n throttlePosition?: Maybe<Scalars['Float']['output']>;\n tirePressureFl?: Maybe<Scalars['Float']['output']>;\n tirePressureFr?: Maybe<Scalars['Float']['output']>;\n tirePressureRl?: Maybe<Scalars['Float']['output']>;\n tirePressureRr?: Maybe<Scalars['Float']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n warmupSinceCodesCleared?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type VehicleMovement = {\n __typename?: 'VehicleMovement';\n accelerationLinear?: Maybe<Scalars['Float']['output']>;\n accelerationSide?: Maybe<Scalars['Float']['output']>;\n accelerationVertical?: Maybe<Scalars['Float']['output']>;\n engineRoadSpeed?: Maybe<Scalars['Float']['output']>;\n heading?: Maybe<Scalars['Float']['output']>;\n /** Whether the vehicle is currently being driven. */\n isDriving?: Maybe<Scalars['Boolean']['output']>;\n /** Oodometer of the vehicle using geotab. */\n odometer?: Maybe<Scalars['Float']['output']>;\n /** An estimate of the odometer. */\n odometerCalculated?: Maybe<Scalars['Float']['output']>;\n speed?: Maybe<Scalars['Float']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleSpending = {\n __typename?: 'VehicleSpending';\n driversCount?: Maybe<Scalars['Int']['output']>;\n id: Scalars['ID']['output'];\n name: Scalars['String']['output'];\n percentageChange?: Maybe<Scalars['String']['output']>;\n totalCurrentPeriod?: Maybe<Scalars['String']['output']>;\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n transactionsCount?: Maybe<Scalars['Int']['output']>;\n vin: Scalars['String']['output'];\n};\n\nexport enum VehicleStatus {\n Offboarded = 'OFFBOARDED',\n Onboarded = 'ONBOARDED',\n Pending = 'PENDING'\n}\n\nexport type VehicleType = {\n __typename?: 'VehicleType';\n /** Custom Fields for this Vehicle */\n customFields?: Maybe<Array<Maybe<HashMap>>>;\n /** Type to specify if the vehicle is online or offline. */\n dataType?: Maybe<VehicleDataType>;\n /** Vehicle device id */\n imei?: Maybe<Scalars['String']['output']>;\n /** Deprecated */\n internalDescription?: Maybe<Scalars['String']['output']>;\n /** Deprecated */\n internalNumber?: Maybe<Scalars['String']['output']>;\n /** Deprecated */\n licensePlate?: Maybe<Scalars['String']['output']>;\n /** Deprecated */\n licensePlateState?: Maybe<Scalars['String']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n serialNumber?: Maybe<Scalars['String']['output']>;\n source?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\n/** Update a vehicle's information. */\nexport type VehicleUpdateInput = {\n /** Custom Fields for Vehicle */\n customFields?: InputMaybe<Array<InputMaybe<HashMapInput>>>;\n /** Update the vehicle description. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** Id of the vehicle to update. */\n id: Scalars['ID']['input'];\n /** Update the vehicles's license plate. */\n licensePlate?: InputMaybe<Scalars['String']['input']>;\n /** Update the vehicles's license plate state. */\n licensePlateState?: InputMaybe<Scalars['String']['input']>;\n number?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type VehiclesByLocationFilterOptions = {\n /** Search query to search on vehicle details , vehicle_type, vin and internal metadata */\n searchQuery?: InputMaybe<Scalars['String']['input']>;\n /** Filter using a geolocation point and radius. */\n withinRadius: RadiusFilter;\n};\n\nexport type VehiclesFilterByLocationInput = {\n /** Filter vehicles by a geolocation point and radius. */\n filter: VehiclesByLocationFilterOptions;\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n};\n\nexport type VehiclesFilterInput = {\n /** Filter vehicles on user id, entity id, vehicle group id, or vin number. */\n filter: VehiclesFilterOptions;\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n /** Sort by ordering on name, description, number, driver count, fuel level, or transactions date. Specify directions such as ascending or descending. */\n sortOptions?: InputMaybe<VehiclesSortOptions>;\n};\n\n/** Filter for vehiclesFilter query */\nexport type VehiclesFilterOptions = {\n entityId?: InputMaybe<Scalars['ID']['input']>;\n userId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n vin?: InputMaybe<Scalars['String']['input']>;\n};\n\n/** Onboard vehicles to the platform. */\nexport type VehiclesOnboardInput = {\n /** Custom Fields for Vehicle */\n customFields?: InputMaybe<Array<InputMaybe<HashMapInput>>>;\n /** Vehicle's description. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** Id of the vehicle to onboard. */\n id?: InputMaybe<Scalars['ID']['input']>;\n /** Vehicles's license plate. */\n licensePlate?: InputMaybe<Scalars['String']['input']>;\n /** Vehicles's license plate state. */\n licensePlateState?: InputMaybe<Scalars['String']['input']>;\n /** Vehicle's number. */\n number?: InputMaybe<Scalars['String']['input']>;\n /** Vehicle Group Id */\n vehicleGroupId: Scalars['ID']['input'];\n /** Vehicle's VIN. */\n vin?: InputMaybe<Scalars['String']['input']>;\n};\n\n/** Onboard vehicles to the platform. */\nexport type VehiclesOnboardInputList = {\n vehicles?: InputMaybe<Array<InputMaybe<VehiclesOnboardInput>>>;\n};\n\n/** Output of the vehicles onboard. */\nexport type VehiclesOnboardOutput = {\n __typename?: 'VehiclesOnboardOutput';\n /** Error message in case of a problem during onboard. */\n error?: Maybe<Scalars['String']['output']>;\n /** Id of the vehicle to onboard. */\n id?: Maybe<Scalars['ID']['output']>;\n /** Was vehicle onboarded successfully. */\n success?: Maybe<Scalars['Boolean']['output']>;\n /** Vehicle Group Id */\n vehicleGroupId: Scalars['ID']['output'];\n /** Vehicle's VIN. */\n vin?: Maybe<Scalars['String']['output']>;\n};\n\n/** Output of the vehicles onboard. */\nexport type VehiclesOnboardOutputList = {\n __typename?: 'VehiclesOnboardOutputList';\n vehicles?: Maybe<Array<Maybe<VehiclesOnboardOutput>>>;\n};\n\nexport type VehiclesOverviewOutput = {\n __typename?: 'VehiclesOverviewOutput';\n onboarded?: Maybe<Scalars['Int']['output']>;\n transacting?: Maybe<Scalars['Int']['output']>;\n transactingByService?: Maybe<Array<Maybe<HashMap>>>;\n};\n\nexport type VehiclesPage = {\n __typename?: 'VehiclesPage';\n /** List of vehicles for vehiclesFilter. */\n data?: Maybe<Array<Maybe<Vehicle>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\n/** Order on options for filtering on vehicles. */\nexport enum VehiclesSortField {\n Description = 'DESCRIPTION',\n DriverCount = 'DRIVER_COUNT',\n FuelLevel = 'FUEL_LEVEL',\n LastTransactionDate = 'LAST_TRANSACTION_DATE',\n Name = 'NAME',\n Number = 'NUMBER'\n}\n\nexport type VehiclesSortOptions = {\n /** Direction to sort in such as ascneding or descending */\n direction: SortDirection;\n /** Order on name, description, number, driver count, fuel level, or transactions date. */\n orderBy: VehiclesSortField;\n};\n\nexport type VehiclesWithTelematicsNotEnrolledInput = {\n /** Last updated at timestamp, default is Jan 1 0001 */\n lastUpdatedAt?: InputMaybe<Scalars['String']['input']>;\n searchVehicleType?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type VehiclesWithTelematicsNotEnrolledOutput = {\n __typename?: 'VehiclesWithTelematicsNotEnrolledOutput';\n vehicles?: Maybe<Array<Maybe<Vehicle>>>;\n};\n\nexport type VoyagerCardData = {\n __typename?: 'VoyagerCardData';\n lastFour?: Maybe<Scalars['String']['output']>;\n tiedId?: Maybe<Scalars['String']['output']>;\n type?: Maybe<VoyagerCardType>;\n};\n\nexport enum VoyagerCardType {\n Driver = 'DRIVER',\n Vehicle = 'VEHICLE'\n}\n\nexport type AdditionalServicePayInfoInput = {\n /** Job Code to attach to this transaction. */\n jobCode?: InputMaybe<Scalars['String']['input']>;\n /** Odometer to attach to this transaction. */\n odometer?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type ProvisionCardMutationVariables = Exact<{\n input: ProvisionCardInput;\n}>;\n\n\nexport type ProvisionCardMutation = { __typename?: 'Mutation', provisionCard: { __typename?: 'ProvisionCardResponse', encryptedData?: string | null, activationData?: string | null, publicKey?: string | null, lastFourDigits?: string | null, displayName?: string | null, cardNetwork?: CardNetwork | null } };\n\nexport type ProvisionStatusUpdateMutationVariables = Exact<{\n input: ProvisionStatusUpdateInput;\n}>;\n\n\nexport type ProvisionStatusUpdateMutation = { __typename?: 'Mutation', provisionStatusUpdate: { __typename?: 'BooleanSuccessOutput', success: boolean } };\n\nexport type ServicePayMutationVariables = Exact<{\n input: ServicePayInput;\n}>;\n\n\nexport type ServicePayMutation = { __typename?: 'Mutation', servicePay?: { __typename?: 'ServicePayOutput', requestId: string, transactionId: string } | null };\n\nexport type TtpTokenizationMutationVariables = Exact<{\n input: TtpTokenizationInput;\n}>;\n\n\nexport type TtpTokenizationMutation = { __typename?: 'Mutation', ttpTokenization?: { __typename?: 'TtpTokenizationOutput', requestId?: string | null, success?: boolean | null, paymentProviderAccountId?: string | null, deviceAccountId?: string | null, lastFourDigits?: string | null, displayName?: string | null, cardFlag?: CardNetwork | null, programSupports?: { __typename?: 'ProgramSupports', isCloseLoopSupported?: boolean | null, isDcSupported?: boolean | null, isPhysicalCardSupported?: boolean | null, isTtpSupported?: boolean | null, isUsingInternalProgram?: boolean | null } | null } | null };\n\n\nexport const ProvisionCardDocument = gql`\n mutation provisionCard($input: ProvisionCardInput!) {\n provisionCard(input: $input) {\n encryptedData\n activationData\n publicKey\n lastFourDigits\n displayName\n cardNetwork\n }\n}\n `;\nexport const ProvisionStatusUpdateDocument = gql`\n mutation provisionStatusUpdate($input: ProvisionStatusUpdateInput!) {\n provisionStatusUpdate(input: $input) {\n success\n }\n}\n `;\nexport const ServicePayDocument = gql`\n mutation servicePay($input: ServicePayInput!) {\n servicePay(input: $input) {\n requestId\n transactionId\n }\n}\n `;\nexport const TtpTokenizationDocument = gql`\n mutation ttpTokenization($input: TtpTokenizationInput!) {\n ttpTokenization(input: $input) {\n requestId\n success\n paymentProviderAccountId\n deviceAccountId\n programSupports {\n isCloseLoopSupported\n isDcSupported\n isPhysicalCardSupported\n isTtpSupported\n isUsingInternalProgram\n }\n lastFourDigits\n displayName\n cardFlag\n }\n}\n `;\n\nexport type SdkFunctionWrapper = <T>(action: (requestHeaders?:Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;\n\n\nconst defaultWrapper: SdkFunctionWrapper = (action, _operationName, _operationType, _variables) => action();\n\nexport function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = defaultWrapper) {\n return {\n provisionCard(variables: ProvisionCardMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<ProvisionCardMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<ProvisionCardMutation>({ document: ProvisionCardDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'provisionCard', 'mutation', variables);\n },\n provisionStatusUpdate(variables: ProvisionStatusUpdateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<ProvisionStatusUpdateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<ProvisionStatusUpdateMutation>({ document: ProvisionStatusUpdateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'provisionStatusUpdate', 'mutation', variables);\n },\n servicePay(variables: ServicePayMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<ServicePayMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<ServicePayMutation>({ document: ServicePayDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'servicePay', 'mutation', variables);\n },\n ttpTokenization(variables: TtpTokenizationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<TtpTokenizationMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<TtpTokenizationMutation>({ document: TtpTokenizationDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'ttpTokenization', 'mutation', variables);\n }\n };\n}\nexport type Sdk = ReturnType<typeof getSdk>;","import { GraphQLClient } from 'graphql-request';\nimport { getSdk } from './generated/user/sdk.js';\nimport { ENDPOINTS } from './consts';\n\nexport interface ElementPayUserConfig {\n accessToken: string;\n environment?: 'int' | 'stage';\n endpoint?: string;\n}\n\nexport function getUserSdk(\n config: ElementPayUserConfig,\n) {\n const environment = config.environment ?? 'stage';\n const endpoint = config.endpoint ?? ENDPOINTS[environment];\n\n const client = new GraphQLClient(endpoint, {\n headers: {\n Authorization: `Bearer ${config.accessToken}`,\n 'Content-Type': 'application/json',\n },\n });\n\n return getSdk(client);\n}\n","import { decode } from '@msgpack/msgpack';\nimport type { ServiceLocationEvent } from './interfaces.js';\n\nconst parsePubSubMessage = (base64Data: string) => {\n const buffer = Buffer.from(base64Data, 'base64');\n return decode(buffer);\n};\n\nexport const serviceLocationEventMessageToServiceLocationEventJson = (base64Data: string): ServiceLocationEvent => {\n const decoded = parsePubSubMessage(base64Data) as ServiceLocationEvent;\n\n if (Buffer.isBuffer(decoded.ID)) {\n decoded.ID = decoded.ID.toString('hex');\n }\n\n if (Buffer.isBuffer(decoded.ServiceLocation)) {\n const jsonStr = decoded.ServiceLocation.toString('utf8');\n decoded.ServiceLocation = JSON.parse(jsonStr);\n }\n\n return decoded;\n};\n","import { FUEL_BRANDS, FUEL_TYPES } from '@autofleet/common-types/lib/pit-stop';\n\nexport const PROVIDER_BRAND_NAME_TO_AUTOFLEET_NAME: Record<string, (typeof FUEL_BRANDS)[keyof typeof FUEL_BRANDS]> = {\n EXXON: FUEL_BRANDS.EXXONMOBIL,\n MOBIL: FUEL_BRANDS.EXXONMOBIL,\n SHELL: FUEL_BRANDS.SHELL,\n SUNOCO: FUEL_BRANDS.SUNOCO,\n};\n\nexport const PROVIDER_SERVICE_NAME_TO_FUEL_TYPE: Record<string, (typeof FUEL_TYPES)[keyof typeof FUEL_TYPES]> = {\n REGULAR: FUEL_TYPES.UNLEADED_REGULAR,\n MID_GRADE_UNLEADED: FUEL_TYPES.UNLEADED_PLUS,\n 'MID GRADE UNLEADED': FUEL_TYPES.UNLEADED_PLUS,\n UNLEADED_PREMIUM: FUEL_TYPES.UNLEADED_PREMIUM,\n 'UNLEADED PREMIUM': FUEL_TYPES.UNLEADED_PREMIUM,\n DIESEL: FUEL_TYPES.DIESEL_REGULAR,\n DIESEL_PREMIUM: FUEL_TYPES.DIESEL_PREMIUM,\n 'DIESEL PREMIUM': FUEL_TYPES.DIESEL_PREMIUM,\n OTHER_FUEL: FUEL_TYPES.OTHER_FUEL,\n 'OTHER FUEL': FUEL_TYPES.OTHER_FUEL,\n HI_FLOW_DIESEL: FUEL_TYPES.HI_FLOW_DIESEL,\n 'HI-FLOW DIESEL': FUEL_TYPES.HI_FLOW_DIESEL,\n};\n","import type { Amenity, FuelSupplier, PriceSourceType } from '@autofleet/common-types/lib/pit-stop';\nimport type { ServiceLocationEvent, ServiceLocationFromEvent } from '../pubSub/interfaces';\nimport { PROVIDER_BRAND_NAME_TO_AUTOFLEET_NAME, PROVIDER_SERVICE_NAME_TO_FUEL_TYPE } from './consts';\n\nconst fuelTypesMapping = (services: ServiceLocationFromEvent['services']): Record<string, string> => (\n services.reduce<Record<string, string>>((acc, service) => {\n const fuelType = PROVIDER_SERVICE_NAME_TO_FUEL_TYPE[service.name];\n if (fuelType) acc[fuelType] = '0.0';\n return acc;\n }, {})\n);\n\nconst amenitiesMapping = (amenities: ServiceLocationFromEvent['amenities']): Amenity[] => (\n (amenities ?? []).map(({ name, description }) => ({ name, description }))\n);\n\nconst getPriceSourceType = (serviceLocationEvent: ServiceLocationEvent): PriceSourceType => (\n Object.entries(serviceLocationEvent.ExternalIdMap ?? {}).find(([, value]) => value === serviceLocationEvent.PriceApiId)?.[0] as PriceSourceType\n);\n\nexport const serviceLocationEventToFuelSupplier = ({\n serviceLocationEvent,\n}: {\n serviceLocationEvent: ServiceLocationEvent;\n}): Partial<FuelSupplier> => {\n const serviceLocation = serviceLocationEvent.ServiceLocation as ServiceLocationFromEvent;\n const { address, geocoded, services, amenities } = serviceLocation;\n\n return {\n acceptElementPay: true,\n address: [address.line1, address.line2, address.city, address.state, address.zip].filter(Boolean).join(', '),\n externalId: serviceLocation.id,\n name: serviceLocation.name,\n brandName: PROVIDER_BRAND_NAME_TO_AUTOFLEET_NAME[serviceLocation.provider.name] || null,\n lat: geocoded.lat,\n lng: geocoded.lng,\n directPayEnabled: !serviceLocation.out_of_network,\n ttpEnabled: serviceLocation.ttp_enabled,\n isActive: serviceLocation.enabled && !serviceLocation.deleted_at,\n typesPrices: fuelTypesMapping(services),\n amenities: amenitiesMapping(amenities),\n priceSourceId: serviceLocationEvent.PriceApiId,\n priceSourceType: getPriceSourceType(serviceLocationEvent),\n };\n};\n","import { serviceLocationEventMessageToServiceLocationEventJson } from '../pubSub/utils';\nimport { serviceLocationEventToFuelSupplier } from './utils';\n\nexport const serviceLocationPubSubMessageToFuelSupplier = (message: string): ReturnType<typeof serviceLocationEventToFuelSupplier> => {\n const serviceLocationEvent = serviceLocationEventMessageToServiceLocationEventJson(message);\n return serviceLocationEventToFuelSupplier({ serviceLocationEvent });\n};\n"],"mappings":"mnBAuzHA,MAAa,EAAuB,EAAA,OAAG;;;;;;MAO1B,EAAwB,EAAA,OAAG;;;;;;;;;;;MAY3B,EAA6B,EAAA,OAAG;;;;;;;;;;;;;;;;;;;;MAqBhC,EAAuB,EAAA,OAAG;;;;;;;;;;;;;;MAe1B,EAA8B,EAAA,OAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA0CjC,EAA8B,EAAA,OAAG;;;;;;;MAQjC,EAA+B,EAAA,OAAG;;;;;;MAOlC,EAAqB,EAAA,OAAG;;;;;;;;;;;;;;;;;;;;MAqBxB,EAAuB,EAAA,OAAG;;;;MAK1B,EAAqB,EAAA,OAAG;;;;;;;;;;;;;MAcxB,EAA6B,EAAA,OAAG;;;;;;;;;;;;;;MAehC,EAA6B,EAAA,OAAG;;;;MAKhC,EAAiC,EAAA,OAAG;;;;;;;;;;;;;MAcpC,EAAoC,EAAA,OAAG;;;;;;;;;;;;;MAcvC,EAAkC,EAAA,OAAG;;;;;;;;;;;;;MAcrC,EAAqC,EAAA,OAAG;;;;;;;;;;;;;MAcxC,EAAwB,EAAA,OAAG;;;;MAK3B,EAAyB,EAAA,OAAG;;;;;;;;;;;;;;MAe5B,EAA8B,EAAA,OAAG;;;;;;;;;;;;;;;;MAiBjC,EAA0B,EAAA,OAAG;;;;;;;;;;;;MAiBpCA,GAAsC,EAAQ,EAAgB,EAAgB,IAAe,GAAQ,CAE3G,SAAgBC,EAAO,EAAuB,EAAkCC,EAAgB,CAC9F,MAAO,CACL,aAAa,EAA0C,EAA8C,EAA+D,CAClK,OAAO,EAAa,GAA0B,EAAO,QAA8B,CAAE,SAAU,EAAsB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,eAAgB,WAAY,EAAU,EAEpP,cAAc,EAA2C,EAA8C,EAAgE,CACrK,OAAO,EAAa,GAA0B,EAAO,QAA+B,CAAE,SAAU,EAAuB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,gBAAiB,WAAY,EAAU,EAEvP,mBAAmB,EAAgD,EAA8C,EAAqE,CACpL,OAAO,EAAa,GAA0B,EAAO,QAAoC,CAAE,SAAU,EAA4B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,qBAAsB,WAAY,EAAU,EAEtQ,aAAa,EAA0C,EAA8C,EAA+D,CAClK,OAAO,EAAa,GAA0B,EAAO,QAA8B,CAAE,SAAU,EAAsB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,eAAgB,WAAY,EAAU,EAEpP,oBAAoB,EAA+C,EAA8C,EAAmE,CAClL,OAAO,EAAa,GAA0B,EAAO,QAAkC,CAAE,SAAU,EAA6B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,sBAAuB,QAAS,EAAU,EAEnQ,oBAAoB,EAAkD,EAA8C,EAAsE,CACxL,OAAO,EAAa,GAA0B,EAAO,QAAqC,CAAE,SAAU,EAA6B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,sBAAuB,WAAY,EAAU,EAEzQ,qBAAqB,EAAkD,EAA8C,EAAuE,CAC1L,OAAO,EAAa,GAA0B,EAAO,QAAsC,CAAE,SAAU,EAA8B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,uBAAwB,WAAY,EAAU,EAE5Q,WAAW,EAAwC,EAA8C,EAA6D,CAC5J,OAAO,EAAa,GAA0B,EAAO,QAA4B,CAAE,SAAU,EAAoB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,aAAc,WAAY,EAAU,EAE9O,aAAa,EAA0C,EAA8C,EAA+D,CAClK,OAAO,EAAa,GAA0B,EAAO,QAA8B,CAAE,SAAU,EAAsB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,eAAgB,WAAY,EAAU,EAEpP,WAAW,EAAwC,EAA8C,EAA6D,CAC5J,OAAO,EAAa,GAA0B,EAAO,QAA4B,CAAE,SAAU,EAAoB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,aAAc,WAAY,EAAU,EAE9O,mBAAmB,EAAgD,EAA8C,EAAqE,CACpL,OAAO,EAAa,GAA0B,EAAO,QAAoC,CAAE,SAAU,EAA4B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,qBAAsB,WAAY,EAAU,EAEtQ,mBAAmB,EAAgD,EAA8C,EAAqE,CACpL,OAAO,EAAa,GAA0B,EAAO,QAAoC,CAAE,SAAU,EAA4B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,qBAAsB,WAAY,EAAU,EAEtQ,uBAAuB,EAAoD,EAA8C,EAAyE,CAChM,OAAO,EAAa,GAA0B,EAAO,QAAwC,CAAE,SAAU,EAAgC,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,yBAA0B,WAAY,EAAU,EAElR,0BAA0B,EAAuD,EAA8C,EAA4E,CACzM,OAAO,EAAa,GAA0B,EAAO,QAA2C,CAAE,SAAU,EAAmC,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,4BAA6B,WAAY,EAAU,EAE3R,wBAAwB,EAAqD,EAA8C,EAA0E,CACnM,OAAO,EAAa,GAA0B,EAAO,QAAyC,CAAE,SAAU,EAAiC,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,0BAA2B,WAAY,EAAU,EAErR,2BAA2B,EAAwD,EAA8C,EAA6E,CAC5M,OAAO,EAAa,GAA0B,EAAO,QAA4C,CAAE,SAAU,EAAoC,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,6BAA8B,WAAY,EAAU,EAE9R,cAAc,EAA2C,EAA8C,EAAgE,CACrK,OAAO,EAAa,GAA0B,EAAO,QAA+B,CAAE,SAAU,EAAuB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,gBAAiB,WAAY,EAAU,EAEvP,eAAe,EAAyC,EAA8C,EAA8D,CAClK,OAAO,EAAa,GAA0B,EAAO,QAA6B,CAAE,SAAU,EAAwB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,iBAAkB,QAAS,EAAU,EAEpP,oBAAoB,EAA8C,EAA8C,EAAmE,CACjL,OAAO,EAAa,GAA0B,EAAO,QAAkC,CAAE,SAAU,EAA6B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,sBAAuB,QAAS,EAAU,EAEnQ,gBAAgB,EAA6C,EAA8C,EAAkE,CAC3K,OAAO,EAAa,GAA0B,EAAO,QAAiC,CAAE,SAAU,EAAyB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,kBAAmB,WAAY,EAAU,EAE9P,CCjpIH,MAAa,EAAY,CACvB,IAAK,uCACL,MAAO,yCACR,CCOD,SAAgB,EACd,EACA,CACA,IAAM,EAAc,EAAO,aAAe,QAU1C,OAAOC,EAPQ,IAAIC,EAAAA,cAFF,EAAO,UAAY,EAAU,GAEH,CACzC,QAAS,CACP,YAAa,EAAO,OACpB,eAAgB,mBACjB,CACF,CAAC,CAEmB,CCuoHvB,MAAa,EAAwB,EAAA,OAAG;;;;;;;;;;;MAY3B,EAAgC,EAAA,OAAG;;;;;;MAOnC,EAAqB,EAAA,OAAG;;;;;;;MAQxB,EAA0B,EAAA,OAAG;;;;;;;;;;;;;;;;;;;MAwBpCC,GAAsC,EAAQ,EAAgB,EAAgB,IAAe,GAAQ,CAE3G,SAAgB,EAAO,EAAuB,EAAkC,EAAgB,CAC9F,MAAO,CACL,cAAc,EAA2C,EAA8C,EAAgE,CACrK,OAAO,EAAa,GAA0B,EAAO,QAA+B,CAAE,SAAU,EAAuB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,gBAAiB,WAAY,EAAU,EAEvP,sBAAsB,EAAmD,EAA8C,EAAwE,CAC7L,OAAO,EAAa,GAA0B,EAAO,QAAuC,CAAE,SAAU,EAA+B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,wBAAyB,WAAY,EAAU,EAE/Q,WAAW,EAAwC,EAA8C,EAA6D,CAC5J,OAAO,EAAa,GAA0B,EAAO,QAA4B,CAAE,SAAU,EAAoB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,aAAc,WAAY,EAAU,EAE9O,gBAAgB,EAA6C,EAA8C,EAAkE,CAC3K,OAAO,EAAa,GAA0B,EAAO,QAAiC,CAAE,SAAU,EAAyB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,kBAAmB,WAAY,EAAU,EAE9P,CCvtHH,SAAgB,EACd,EACA,CACA,IAAM,EAAc,EAAO,aAAe,QAU1C,OAAO,EAPQ,IAAIC,EAAAA,cAFF,EAAO,UAAY,EAAU,GAEH,CACzC,QAAS,CACP,cAAe,UAAU,EAAO,cAChC,eAAgB,mBACjB,CACF,CAAC,CAEmB,CCpBvB,MAAM,EAAsB,IAE1B,EAAA,EAAA,QADe,OAAO,KAAK,EAAY,SAAS,CAC3B,CAGV,EAAyD,GAA6C,CACjH,IAAM,EAAU,EAAmB,EAAW,CAM9C,GAJI,OAAO,SAAS,EAAQ,GAAG,GAC7B,EAAQ,GAAK,EAAQ,GAAG,SAAS,MAAM,EAGrC,OAAO,SAAS,EAAQ,gBAAgB,CAAE,CAC5C,IAAM,EAAU,EAAQ,gBAAgB,SAAS,OAAO,CACxD,EAAQ,gBAAkB,KAAK,MAAM,EAAQ,CAG/C,OAAO,GClBIC,EAAwG,CACnH,MAAOC,EAAAA,YAAY,WACnB,MAAOA,EAAAA,YAAY,WACnB,MAAOA,EAAAA,YAAY,MACnB,OAAQA,EAAAA,YAAY,OACrB,CAEYC,EAAmG,CAC9G,QAASC,EAAAA,WAAW,iBACpB,mBAAoBA,EAAAA,WAAW,cAC/B,qBAAsBA,EAAAA,WAAW,cACjC,iBAAkBA,EAAAA,WAAW,iBAC7B,mBAAoBA,EAAAA,WAAW,iBAC/B,OAAQA,EAAAA,WAAW,eACnB,eAAgBA,EAAAA,WAAW,eAC3B,iBAAkBA,EAAAA,WAAW,eAC7B,WAAYA,EAAAA,WAAW,WACvB,aAAcA,EAAAA,WAAW,WACzB,eAAgBA,EAAAA,WAAW,eAC3B,iBAAkBA,EAAAA,WAAW,eAC9B,CClBK,EAAoB,GACxB,EAAS,QAAgC,EAAK,IAAY,CACxD,IAAM,EAAW,EAAmC,EAAQ,MAE5D,OADI,IAAU,EAAI,GAAY,OACvB,GACN,EAAE,CAAC,CAGF,EAAoB,IACvB,GAAa,EAAE,EAAE,KAAK,CAAE,OAAM,kBAAmB,CAAE,OAAM,cAAa,EAAE,CAGrE,EAAsB,GAC1B,OAAO,QAAQ,EAAqB,eAAiB,EAAE,CAAC,CAAC,MAAM,EAAG,KAAW,IAAU,EAAqB,WAAW,GAAG,GAG/G,GAAsC,CACjD,0BAG2B,CAC3B,IAAM,EAAkB,EAAqB,gBACvC,CAAE,UAAS,WAAU,WAAU,aAAc,EAEnD,MAAO,CACL,iBAAkB,GAClB,QAAS,CAAC,EAAQ,MAAO,EAAQ,MAAO,EAAQ,KAAM,EAAQ,MAAO,EAAQ,IAAI,CAAC,OAAO,QAAQ,CAAC,KAAK,KAAK,CAC5G,WAAY,EAAgB,GAC5B,KAAM,EAAgB,KACtB,UAAW,EAAsC,EAAgB,SAAS,OAAS,KACnF,IAAK,EAAS,IACd,IAAK,EAAS,IACd,iBAAkB,CAAC,EAAgB,eACnC,WAAY,EAAgB,YAC5B,SAAU,EAAgB,SAAW,CAAC,EAAgB,WACtD,YAAa,EAAiB,EAAS,CACvC,UAAW,EAAiB,EAAU,CACtC,cAAe,EAAqB,WACpC,gBAAiB,EAAmB,EAAqB,CAC1D,ECxCU,EAA8C,GAElD,EAAmC,CAAE,qBADf,EAAsD,EAAQ,CACzB,CAAC"}
1
+ {"version":3,"file":"index.cjs","names":["defaultWrapper: SdkFunctionWrapper","getSdk","defaultWrapper","getSdk","GraphQLClient","defaultWrapper: SdkFunctionWrapper","GraphQLClient","PROVIDER_BRAND_NAME_TO_AUTOFLEET_NAME: Record<string, (typeof FUEL_BRANDS)[keyof typeof FUEL_BRANDS]>","FUEL_BRANDS","PROVIDER_SERVICE_NAME_TO_FUEL_TYPE: Record<string, (typeof FUEL_TYPES)[keyof typeof FUEL_TYPES]>","FUEL_TYPES"],"sources":["../src/generated/organization/sdk.ts","../src/consts.ts","../src/organization.ts","../src/generated/user/sdk.ts","../src/user.ts","../src/pubSub/utils.ts","../src/service-locations/consts.ts","../src/service-locations/utils.ts","../src/service-locations/index.ts"],"sourcesContent":["import { GraphQLClient, RequestOptions } from 'graphql-request';\nimport gql from 'graphql-tag';\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };\nexport type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\ntype GraphQLClientRequestHeaders = RequestOptions['requestHeaders'];\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: { input: string; output: string; }\n String: { input: string; output: string; }\n Boolean: { input: boolean; output: boolean; }\n Int: { input: number; output: number; }\n Float: { input: number; output: number; }\n JSON: { input: any; output: any; }\n JSONObject: { input: any; output: any; }\n};\n\nexport enum AccountType {\n Credit = 'CREDIT',\n PrePaid = 'PRE_PAID'\n}\n\nexport type AdditionalInfoInput = {\n /** Managers/dashboard user phone number that's not used for authentication */\n contactPhoneNumber?: InputMaybe<Scalars['String']['input']>;\n /** If the phone number is a corporate phone. */\n isCorporatePhone?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\n/** Options of calling servicePay */\nexport type AdditionalTransactionInfo = {\n __typename?: 'AdditionalTransactionInfo';\n /** Aggregator for pump unlock such as QUIKQ, P97, CARIQ_OPENLOOP, PDI, etc */\n aggregator?: Maybe<Scalars['String']['output']>;\n /** Job Code entered by driver */\n jobCode?: Maybe<Scalars['String']['output']>;\n /** Odometer of car at time of transaction */\n odometer?: Maybe<Scalars['Int']['output']>;\n /** Pump Number chosen by the driver */\n pumpNumber?: Maybe<Scalars['Int']['output']>;\n};\n\n/** Address of an organization or a transaction */\nexport type Address = {\n __typename?: 'Address';\n city?: Maybe<Scalars['String']['output']>;\n country?: Maybe<Scalars['String']['output']>;\n line1?: Maybe<Scalars['String']['output']>;\n line2?: Maybe<Scalars['String']['output']>;\n state?: Maybe<Scalars['String']['output']>;\n zip?: Maybe<Scalars['String']['output']>;\n};\n\n/** The address provided as an input when creating an organization. */\nexport type AddressInput = {\n city: Scalars['String']['input'];\n country: Scalars['String']['input'];\n line1: Scalars['String']['input'];\n line2?: InputMaybe<Scalars['String']['input']>;\n state: Scalars['String']['input'];\n zip: Scalars['String']['input'];\n};\n\nexport type ApiKeyCreateInput = {\n /** Entity Id */\n entityId?: InputMaybe<Scalars['ID']['input']>;\n /** Api Key Name */\n name: Scalars['String']['input'];\n /** Organization Id */\n organizationId: Scalars['ID']['input'];\n};\n\nexport type ApiKeyCreateOutput = {\n __typename?: 'ApiKeyCreateOutput';\n /** Api Key */\n apiKey: Scalars['String']['output'];\n};\n\nexport type ApiKeyRevokeInput = {\n /** Api Key */\n apiKey: Scalars['String']['input'];\n};\n\nexport type ApiKeyRevokeOutput = {\n __typename?: 'ApiKeyRevokeOutput';\n /** Success */\n success: Scalars['Boolean']['output'];\n};\n\nexport type ApplyForCreditInput = {\n encryptedKey?: InputMaybe<Scalars['String']['input']>;\n /** Encrypted payload byte array encoded as Base64 string from encrypting with publicKey from creditApplicationPublicKey endpoint. */\n encryptedPayload?: InputMaybe<Scalars['String']['input']>;\n id?: InputMaybe<Scalars['String']['input']>;\n iv?: InputMaybe<Scalars['String']['input']>;\n step: ApplyForCreditStep;\n};\n\nexport type ApplyForCreditOutput = {\n __typename?: 'ApplyForCreditOutput';\n id?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum ApplyForCreditStep {\n Beneficiary = 'BENEFICIARY',\n Business = 'BUSINESS',\n ControlPerson = 'CONTROL_PERSON',\n Identification = 'IDENTIFICATION',\n Submission = 'SUBMISSION',\n Yourself = 'YOURSELF'\n}\n\n/** Add or update a policy on a policy id, entity id, or a vehicle id. */\nexport type ApplyPolicyInput = {\n /** Entity to add or update a policy on. */\n entityId?: InputMaybe<Scalars['String']['input']>;\n /** Policy id to update a policy on. */\n policyId: Scalars['String']['input'];\n /** Propagate the policies to children entities. */\n recursively?: InputMaybe<Scalars['Boolean']['input']>;\n /** Vehicle group id to add or update a policy on. */\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type ApplyPolicyOutput = {\n __typename?: 'ApplyPolicyOutput';\n /** Entity id that policy manage request changed. */\n entityId?: Maybe<Scalars['String']['output']>;\n /** Policy id that policy manage request changed. */\n policyId: Scalars['String']['output'];\n /** If the policy gets propagated to children. */\n recursively?: Maybe<Scalars['Boolean']['output']>;\n /** Vehicle group id that policy manage request changed. */\n vehicleGroupId?: Maybe<Scalars['String']['output']>;\n};\n\nexport type BooleanSuccessOutput = {\n __typename?: 'BooleanSuccessOutput';\n success: Scalars['Boolean']['output'];\n};\n\nexport enum BrandingType {\n CarIq = 'CAR_IQ',\n CirckleKPro = 'CIRCKLE_K_PRO',\n FuelMe = 'FUEL_ME'\n}\n\nexport type CardCreateDataInput = {\n description?: InputMaybe<Scalars['String']['input']>;\n embossing: EmbossingInput;\n shippingAddress?: InputMaybe<AddressInput>;\n vehicleId: Scalars['ID']['input'];\n};\n\nexport type CardDetails = {\n __typename?: 'CardDetails';\n /** Name of the Card Holder */\n cardHolder?: Maybe<Scalars['String']['output']>;\n /** Expiration date on the card */\n expiration?: Maybe<Scalars['String']['output']>;\n /** Id of the Card */\n id?: Maybe<Scalars['String']['output']>;\n /** Last four digits of the card number. */\n lastFour?: Maybe<Scalars['String']['output']>;\n /** Type of card: VISA, MASTERCARD, etc. */\n type?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum CardNetwork {\n Mastercard = 'MASTERCARD',\n Visa = 'VISA'\n}\n\nexport type ClientOnboardInput = {\n /** The address of the organization */\n address: AddressInput;\n /** Disable check location when vehicle data is down */\n checkLocationOverride?: InputMaybe<Scalars['Boolean']['input']>;\n /** Cost factor to filter by fuel station cost */\n costFactorEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Organization email. */\n email: Scalars['String']['input'];\n externalId: Scalars['String']['input'];\n integratorId?: InputMaybe<Scalars['ID']['input']>;\n /** Organization name. */\n name: Scalars['String']['input'];\n /** Who onboarded the organization */\n onboardedBy?: InputMaybe<Scalars['String']['input']>;\n phoneNumber: Scalars['String']['input'];\n /** Organization tax id. */\n taxId?: InputMaybe<Scalars['String']['input']>;\n unitsId?: InputMaybe<Scalars['String']['input']>;\n /** If enabled, syncs telematics data for a vehicle and removes ability to edit that vehicle */\n useTspMetadata?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport enum ConnectionType {\n Email = 'EMAIL',\n Sms = 'SMS'\n}\n\nexport type CreditApplicationPublicKeyOutput = {\n __typename?: 'CreditApplicationPublicKeyOutput';\n /** Public Key byte array encoded as Base64 string. */\n publicKey: Scalars['String']['output'];\n};\n\nexport type CreditStatement = {\n __typename?: 'CreditStatement';\n /** Date by which payment id due. */\n dueDate?: Maybe<Scalars['String']['output']>;\n /** Unique Identifier for the credit statement. */\n id?: Maybe<Scalars['String']['output']>;\n /** Amount due for the statement period as a negative number. */\n statementBalance?: Maybe<Scalars['String']['output']>;\n /** Date when credit statement was generated. */\n statementDate?: Maybe<Scalars['String']['output']>;\n /** Start date of the statement period. */\n statementDateFrom?: Maybe<Scalars['String']['output']>;\n /** End date of the statement period. */\n statementDateTo?: Maybe<Scalars['String']['output']>;\n};\n\nexport type CreditStatementDownloadInput = {\n /** Credit Statement Id */\n creditStatementId: Scalars['ID']['input'];\n /** Primary Account Id */\n primaryAccountId: Scalars['ID']['input'];\n};\n\nexport enum CreditStatementSorting {\n /** Sort credit statements by the billing period ascending. */\n BillingPeriodAsc = 'BILLING_PERIOD_ASC',\n /** Sort credit statements by the billing period descending. */\n BillingPeriodDesc = 'BILLING_PERIOD_DESC',\n /** Sort credit statements by the due date ascending. */\n DueDateAsc = 'DUE_DATE_ASC',\n /** Sort credit statements by the due date descending. */\n DueDateDesc = 'DUE_DATE_DESC',\n /** Sort credit statements by the statement balance ascending. */\n StatementBalanceAsc = 'STATEMENT_BALANCE_ASC',\n /** Sort credit statements by the statement balance descending. */\n StatementBalanceDesc = 'STATEMENT_BALANCE_DESC',\n /** Sort credit statements by the date ascending. */\n StatementDateAsc = 'STATEMENT_DATE_ASC',\n /** Sort credit statements by the date descending. */\n StatementDateDesc = 'STATEMENT_DATE_DESC'\n}\n\nexport enum DataType {\n Text = 'TEXT',\n Unknown = 'UNKNOWN'\n}\n\nexport type DaysTimeRanges = {\n __typename?: 'DaysTimeRanges';\n friday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n monday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n saturday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n sunday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n thursday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n tuesday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n wednesday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n};\n\nexport type DaysTimeRangesInput = {\n friday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n monday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n saturday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n sunday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n thursday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n tuesday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n wednesday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n};\n\nexport enum DecisionStatus {\n DecisionAuthorized = 'DECISION_AUTHORIZED',\n DecisionAuthorizedOffline = 'DECISION_AUTHORIZED_OFFLINE',\n DecisionDeclined = 'DECISION_DECLINED',\n DecisionUnknown = 'DECISION_UNKNOWN'\n}\n\nexport enum DigitalWallet {\n DigitalWalletAndroid = 'DIGITAL_WALLET_ANDROID',\n DigitalWalletApple = 'DIGITAL_WALLET_APPLE'\n}\n\nexport enum Direction {\n Asc = 'ASC',\n Desc = 'DESC'\n}\n\nexport type Driver = {\n __typename?: 'Driver';\n additionalInfo?: Maybe<Scalars['JSONObject']['output']>;\n deletedAt?: Maybe<Scalars['String']['output']>;\n email?: Maybe<Scalars['String']['output']>;\n employeeId?: Maybe<Scalars['String']['output']>;\n /** Auth0 id. */\n externalId?: Maybe<Scalars['String']['output']>;\n firstName?: Maybe<Scalars['String']['output']>;\n fullName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n lastName?: Maybe<Scalars['String']['output']>;\n loginType?: Maybe<LoginType>;\n middleName?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['ID']['output']>;\n phoneNumber?: Maybe<Scalars['String']['output']>;\n status?: Maybe<UserStatus>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n username?: Maybe<Scalars['String']['output']>;\n /** List of vehicle groups that this driver belongs to. */\n vehicleGroups: Array<VehicleGroup>;\n};\n\nexport type DriverCreateInput = {\n email?: InputMaybe<Scalars['String']['input']>;\n employeeId?: InputMaybe<Scalars['String']['input']>;\n firstName: Scalars['String']['input'];\n isCorporatePhone?: InputMaybe<Scalars['Boolean']['input']>;\n lastName: Scalars['String']['input'];\n middleName?: InputMaybe<Scalars['String']['input']>;\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n vehicleGroups: Array<Scalars['ID']['input']>;\n};\n\nexport type DriverReport = {\n __typename?: 'DriverReport';\n /** Data stream pertaining to the report. */\n data?: Maybe<Scalars['String']['output']>;\n /** Specifies errors if the report didn't generate. */\n error?: Maybe<Scalars['String']['output']>;\n /** Whether drivers exist in this report. */\n exists?: Maybe<Scalars['Boolean']['output']>;\n /** File name of the report. */\n fileName?: Maybe<Scalars['String']['output']>;\n};\n\nexport type DriverReportDownloadInput = {\n /** Filter on entities or vehicle groups. */\n filterType: DriverReportFilterType;\n id: Scalars['ID']['input'];\n /** Include only onboarded or offboarded drivers */\n type: DriverReportType;\n};\n\nexport enum DriverReportFilterType {\n /** Include only entities in DriverReport. */\n Entity = 'ENTITY',\n /** Include only vehicle groups in DriverReport. */\n VehicleGroup = 'VEHICLE_GROUP'\n}\n\nexport enum DriverReportType {\n /** Include only offboarded drivers, such as deactivated and deleted drivers. */\n OffboardedDrivers = 'OFFBOARDED_DRIVERS',\n /** Include only onboarded drivers, such as invited and onboarded drivers. */\n OnboardedDrivers = 'ONBOARDED_DRIVERS'\n}\n\nexport type DriverSpending = {\n __typename?: 'DriverSpending';\n id: Scalars['ID']['output'];\n name: Scalars['String']['output'];\n percentageChange?: Maybe<Scalars['String']['output']>;\n totalCurrentPeriod?: Maybe<Scalars['String']['output']>;\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n transactionsCount?: Maybe<Scalars['Int']['output']>;\n vehiclesCount?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type DriverUpdateInput = {\n employeeId?: InputMaybe<Scalars['String']['input']>;\n firstName?: InputMaybe<Scalars['String']['input']>;\n id: Scalars['ID']['input'];\n isCorporatePhone?: InputMaybe<Scalars['Boolean']['input']>;\n lastName?: InputMaybe<Scalars['String']['input']>;\n middleName?: InputMaybe<Scalars['String']['input']>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n vehicleGroups: Array<Scalars['ID']['input']>;\n};\n\nexport type DriversFilterInput = {\n /** Filter on vehicle group id or user statuses. */\n filter: DriversFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Sort options for driversFilter which includes ordering by inserted at, first name, last name, email, phone number, and employee id. */\n sortOptions?: InputMaybe<DriversSortOptions>;\n};\n\nexport type DriversFilterOptions = {\n /** Filter on user statuses such as invited, onboarded, deleted, etc. */\n statuses?: InputMaybe<Array<InputMaybe<UserStatus>>>;\n /** Filter on a vehicle group id. */\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n};\n\n/** Order by different values for the driversFilter query. */\nexport enum DriversSortField {\n Email = 'EMAIL',\n EmployeeId = 'EMPLOYEE_ID',\n FirstName = 'FIRST_NAME',\n InsertedAt = 'INSERTED_AT',\n LastName = 'LAST_NAME',\n PhoneNumber = 'PHONE_NUMBER'\n}\n\nexport type DriversSortOptions = {\n /** Sort by direction such as ascending or descending. */\n direction: SortDirection;\n /** Order by values such as inserted at, first name, last name, email, phone number, and employee id. */\n orderBy: DriversSortField;\n};\n\nexport type EmbossingInput = {\n externalId: Scalars['String']['input'];\n line1: Scalars['String']['input'];\n line2: Scalars['String']['input'];\n line3: Scalars['String']['input'];\n maintenanceId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type EntitiesFilterInput = {\n /** Filter by parentId and if to include the children. */\n filter: EntitiesFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Sort by ordering by the name and direction based on first name, last name, or both. */\n sortOptions?: InputMaybe<EntitiesSortOptions>;\n};\n\nexport type EntitiesFilterOptions = {\n /** Whether to include child entities of the parent id. */\n includeChildren?: InputMaybe<Scalars['Boolean']['input']>;\n /** The parent entity to filter on. */\n parentId?: InputMaybe<Scalars['ID']['input']>;\n};\n\nexport type EntitiesPage = {\n __typename?: 'EntitiesPage';\n /** A list of entities */\n data?: Maybe<Array<Maybe<Entity>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport enum EntitiesSortField {\n Name = 'NAME'\n}\n\nexport type EntitiesSortOptions = {\n /** Specify the direction of ordering: ASC or DESC. */\n direction: SortDirection;\n /** Order by the Name for EntitiesFilter. */\n orderBy: EntitiesSortField;\n};\n\nexport type Entity = {\n __typename?: 'Entity';\n code?: Maybe<Scalars['String']['output']>;\n /** Cost factor number to indicate station price */\n costFactor?: Maybe<Scalars['Int']['output']>;\n /** Client ID for an organization. */\n customerId?: Maybe<Scalars['String']['output']>;\n /** If this record was deleted, specifies when it was deleted. */\n deletedAt?: Maybe<Scalars['String']['output']>;\n /** Entity description. */\n description?: Maybe<Scalars['String']['output']>;\n /** To optionally store your own id to map between different systems. */\n externalId?: Maybe<Scalars['String']['output']>;\n /** Information on the entities finances: payment provider, account is credit or prepaid, issuerBin. */\n financialConfig?: Maybe<FinancialConfig>;\n /** How the account is funded: ACH or Parent. */\n funding?: Maybe<FundingSource>;\n /** Deprecated method for creating a credit account. */\n hasFinance?: Maybe<Scalars['Boolean']['output']>;\n id: Scalars['ID']['output'];\n /** When the entity record was inserted. */\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Entity name */\n name?: Maybe<Scalars['String']['output']>;\n /** Organization information that belongs to this entity. */\n organization?: Maybe<Organization>;\n /** Entity information of parent, if there is one. */\n parent?: Maybe<Entity>;\n /** ID of parent entity, if there is one. */\n parentId?: Maybe<Scalars['ID']['output']>;\n path?: Maybe<Scalars['String']['output']>;\n /** Services allowed on the entity: tolling, fueling, etc */\n policies?: Maybe<Array<Maybe<Policy>>>;\n /** When the entity record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type EntityAccountInfo = {\n __typename?: 'EntityAccountInfo';\n /** Credit account attached to this entity. */\n account?: Maybe<EntityPrimaryAccount>;\n /** Whether your balance will be automatically paid for each month. */\n autoPay?: Maybe<Scalars['Boolean']['output']>;\n /** Credit remaining this month. */\n availableCreditLimit?: Maybe<Scalars['String']['output']>;\n /** For Credit, it's the amount due for the current period. For pre-paid, it's the available amount to transact. */\n balance?: Maybe<Scalars['String']['output']>;\n billingCycle?: Maybe<Scalars['String']['output']>;\n /** Current Billing Period End */\n billingPeriodEnd?: Maybe<Scalars['String']['output']>;\n /** Current Billing Period Start */\n billingPeriodStart?: Maybe<Scalars['String']['output']>;\n /** Card details for this entity account. */\n cardDetails?: Maybe<Array<Maybe<CardDetails>>>;\n /** Monthly limit on credit. */\n creditLimit?: Maybe<Scalars['String']['output']>;\n dueDate?: Maybe<Scalars['String']['output']>;\n /** Is Invoice Issues Past Due Date */\n isInvoicePastDue?: Maybe<Scalars['Boolean']['output']>;\n /** Name of the account */\n name?: Maybe<Scalars['String']['output']>;\n /** Next Auto Pay Date */\n nextAutoPay?: Maybe<Scalars['String']['output']>;\n /** Balance that has been used up with credit this month. */\n outstandingBalance?: Maybe<Scalars['String']['output']>;\n /** Payment Provider that facilitates the payment such as I2C, Discover, etc. */\n paymentProvider?: Maybe<PaymentProviderEnum>;\n /** Balance on pending transactions. */\n pendingTransactionsBalance?: Maybe<Scalars['String']['output']>;\n /** Type of account: CREDIT or PRE_PAID. */\n type?: Maybe<AccountType>;\n};\n\nexport type EntityCreateInput = {\n /** Description of the entity. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** To optionally store your own id to map between different systems. */\n externalId?: InputMaybe<Scalars['String']['input']>;\n /** How the account is funded: ACH or Parent. */\n funding?: InputMaybe<FundingSource>;\n /** Deprecated method for creating a credit account. */\n hasFinance?: InputMaybe<Scalars['Boolean']['input']>;\n /** Name of the entity. */\n name: Scalars['String']['input'];\n /** Organization Id this entity belongs to. */\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n /** ID of parent entity, if there is one. */\n parentId?: InputMaybe<Scalars['ID']['input']>;\n};\n\nexport type EntityFilter = {\n /** Entity id to filter on for search filter */\n entityId?: InputMaybe<Scalars['String']['input']>;\n /** Include the children of the entity specified. */\n includeChildren?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type EntityPrimaryAccount = {\n __typename?: 'EntityPrimaryAccount';\n /** Bank routing number, a 9-digit number that identifies a bank/other financial institution. */\n bankRoutingNo?: Maybe<Scalars['String']['output']>;\n /** The credit limit for the account. */\n creditLimit?: Maybe<Scalars['String']['output']>;\n /** Entity information for the account holding this entity. */\n entity?: Maybe<Entity>;\n /** The external account number for the account. */\n externalAccountNumber?: Maybe<Scalars['String']['output']>;\n id: Scalars['ID']['output'];\n /** Whether this primary account is active or not. */\n isActive?: Maybe<Scalars['Boolean']['output']>;\n /** Deprecated. Has physical card, ex) Voyager accounts. */\n isPhysicalCard?: Maybe<Scalars['Boolean']['output']>;\n /** Which service will this account fund: fueling, tolling, parking, etc. */\n merchantCategory?: Maybe<MerchantCategory>;\n /** Specifies the id and name of the payment provider record. */\n paymentProvider?: Maybe<PaymentProvider>;\n /** Unique identification for a financial entity. */\n paymentProviderId?: Maybe<Scalars['ID']['output']>;\n /** Identification of the card program from I2C */\n programId?: Maybe<Scalars['String']['output']>;\n /** Supported programs/features for the entity. */\n programSupports?: Maybe<ProgramSupports>;\n /** Only for pre-paid. It's the account number from I2C to fund the account. */\n pseudoDda?: Maybe<Scalars['String']['output']>;\n /** Payment Status */\n status?: Maybe<PrimaryAccountStatus>;\n};\n\nexport type ExchangeAuthorizationCodeInput = {\n code: Scalars['String']['input'];\n redirectUri: Scalars['String']['input'];\n universalLoginClientId: Scalars['String']['input'];\n universalLoginClientSecret: Scalars['String']['input'];\n};\n\nexport enum FeeNetworkDesignationType {\n ExtendedNetwork = 'EXTENDED_NETWORK',\n InNetwork = 'IN_NETWORK',\n OutOfNetwork = 'OUT_OF_NETWORK'\n}\n\nexport type FinancialConfig = {\n __typename?: 'FinancialConfig';\n /** Type of account: CREDIT or PRE_PAID */\n accountType?: Maybe<AccountType>;\n entityId: Scalars['ID']['output'];\n id: Scalars['ID']['output'];\n /** When the financial config record was created. */\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Bank Identification Number. It's the first 4-6 numbers on a payment card. */\n issuerBin?: Maybe<Scalars['String']['output']>;\n /** Specifies the id and name of the payment provider record. */\n paymentProvider?: Maybe<PaymentProvider>;\n /** When the financial config record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type FuelRestrictions = {\n __typename?: 'FuelRestrictions';\n /** Amount per day, usually around $125. */\n amountPerDay?: Maybe<Scalars['String']['output']>;\n /** Also known as purchase limit. Usually between $5 and $1000. */\n amountPerTransaction?: Maybe<Scalars['String']['output']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: Maybe<Scalars['Boolean']['output']>;\n /** Define which days and times vehicles can transact at for fueling. */\n daysOfWeek?: Maybe<PurchaseDaysOfWeek>;\n /** Defines to and from times that a vehicle can purchase at. */\n hours?: Maybe<PurchaseTimeRange>;\n isEnabled?: Maybe<Scalars['Boolean']['output']>;\n /** Number of transactions */\n noOfTransactions?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type FuelRestrictionsInput = {\n /** Amount per day, usually around $125. */\n amountPerDay?: InputMaybe<Scalars['String']['input']>;\n /** Also known as purchas limit. Usually between $5 and $1000. */\n amountPerTransaction?: InputMaybe<Scalars['String']['input']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: InputMaybe<Scalars['Boolean']['input']>;\n /** Define which days and times vehicles can transact at for fueling. */\n daysOfWeek?: InputMaybe<PurchaseDaysOfWeekInput>;\n /** Defines to and from times that a vehicle can purchase at. */\n hours?: InputMaybe<PurchaseTimeRangeInput>;\n isEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Number of transactions */\n noOfTransactions?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport enum FundingSource {\n /** Electronic bank transfer. */\n Ach = 'ACH',\n /** Funding is done through the parent entities funding source. */\n Parent = 'PARENT',\n Unknown = 'UNKNOWN'\n}\n\nexport type GenerateTokenCoFInput = {\n paymentProviderAccountId: Scalars['String']['input'];\n vehicleId: Scalars['String']['input'];\n};\n\nexport type GenerateTokenCoFOutput = {\n __typename?: 'GenerateTokenCoFOutput';\n token: Scalars['String']['output'];\n};\n\nexport type Geobounds = {\n __typename?: 'Geobounds';\n /** Radius in miles around the point. */\n radius?: Maybe<Scalars['Float']['output']>;\n /** Well-known text, a point for geolocation. */\n wkt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GeotabDriveLogin = {\n __typename?: 'GeotabDriveLogin';\n /** Sign in token */\n access_token: Scalars['String']['output'];\n /** Expires in */\n expires_in: Scalars['Int']['output'];\n /** Vehicle ID. Only returned if user is assigned to only 1 vehicle, otherwise null. */\n vehicleId?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GeotabDriveLoginInput = {\n /** Database Name */\n databaseName: Scalars['String']['input'];\n /** Email or Employee ID */\n externalId: Scalars['String']['input'];\n /** Session ID */\n sessionId: Scalars['String']['input'];\n};\n\nexport type GetCreditStatementsInput = {\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n paymentProviderAccountId?: InputMaybe<Scalars['String']['input']>;\n /** Sort based ascending or descending on statement date, billing period, due date, or statement balance */\n sorting?: InputMaybe<CreditStatementSorting>;\n};\n\nexport type GetCreditStatementsOutput = {\n __typename?: 'GetCreditStatementsOutput';\n /** List of statements with the date, due date, and balances */\n data?: Maybe<Array<Maybe<CreditStatement>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type GetInvoicePaymentsInput = {\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n paymentProviderAccountId?: InputMaybe<Scalars['String']['input']>;\n /** Sort on date, description, status, and amounts ascending and descending. */\n sorting?: InputMaybe<InvoicePaymentSorting>;\n};\n\nexport type GetInvoicePaymentsOutput = {\n __typename?: 'GetInvoicePaymentsOutput';\n /** List of credit payments on a payment provider account using ppaid with an option of sorting. */\n data?: Maybe<Array<Maybe<InvoicePayment>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type GetUserEntityResponse = {\n __typename?: 'GetUserEntityResponse';\n code?: Maybe<Scalars['String']['output']>;\n /** Cost factor number to indicate station price */\n costFactor?: Maybe<Scalars['Int']['output']>;\n /** Client ID for an organization. */\n customerId?: Maybe<Scalars['String']['output']>;\n /** If this record was deleted, specifies when it was deleted. */\n deletedAt?: Maybe<Scalars['String']['output']>;\n /** Entity description. */\n description?: Maybe<Scalars['String']['output']>;\n /** To optionally store your own id to map between different systems. */\n externalId?: Maybe<Scalars['String']['output']>;\n /** Information on the entities finances: payment provider, account is credit or prepaid, issuerBin. */\n financialConfig?: Maybe<FinancialConfig>;\n /** How the account is funded: ACH or Parent. */\n funding?: Maybe<FundingSource>;\n /** Deprecated method for creating a credit account. */\n hasFinance?: Maybe<Scalars['Boolean']['output']>;\n id: Scalars['ID']['output'];\n /** When the entity record was inserted. */\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Entity name */\n name?: Maybe<Scalars['String']['output']>;\n /** Organization information that belongs to this entity. */\n organization?: Maybe<Organization>;\n /** Entity information of parent, if there is one. */\n parent?: Maybe<Entity>;\n /** ID of parent entity, if there is one. */\n parentId?: Maybe<Scalars['ID']['output']>;\n path?: Maybe<Scalars['String']['output']>;\n /** Primary account for the entity. */\n paymentProviderAccount?: Maybe<EntityPrimaryAccount>;\n /** Services allowed on the entity: tolling, fueling, etc */\n policies?: Maybe<Array<Maybe<Policy>>>;\n /** When the entity record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GetUserUserResponse = {\n __typename?: 'GetUserUserResponse';\n /** Specifies if phone number is a corporate phone. */\n additionalInfo?: Maybe<UserAdditionalInfo>;\n email?: Maybe<Scalars['String']['output']>;\n employeeId?: Maybe<Scalars['String']['output']>;\n /** Entity the user belongs to. */\n entity?: Maybe<GetUserEntityResponse>;\n /** Auth0 Id */\n externalId?: Maybe<Scalars['String']['output']>;\n firstName?: Maybe<Scalars['String']['output']>;\n fullName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n lastName?: Maybe<Scalars['String']['output']>;\n /** Email or phone */\n loginType?: Maybe<LoginType>;\n /** List of loyalty accounts for the user. */\n loyaltyAccounts?: Maybe<Array<Maybe<UserLoyaltyAccountForUser>>>;\n middleName?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['ID']['output']>;\n phoneNumber?: Maybe<Scalars['String']['output']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: Maybe<RoleType>;\n status?: Maybe<UserStatus>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** deprecated */\n username?: Maybe<Scalars['String']['output']>;\n /** Return a list of vehicle groups. */\n vehicleGroups?: Maybe<Array<Maybe<VehicleGroup>>>;\n};\n\nexport type HashMap = {\n __typename?: 'HashMap';\n key: Scalars['String']['output'];\n value: Scalars['String']['output'];\n};\n\nexport type HashMapInput = {\n key: Scalars['String']['input'];\n value: Scalars['String']['input'];\n};\n\nexport type IndividualVehicle = {\n __typename?: 'IndividualVehicle';\n cardData?: Maybe<VoyagerCardData>;\n createdAt?: Maybe<Scalars['String']['output']>;\n /** Details on a vehicle such as model, make, year, trim, manufacture plant, and number of doors. */\n details?: Maybe<VehicleDetails>;\n driverCount?: Maybe<Scalars['Int']['output']>;\n /** Environment of vehicle such as outside air tempurature, engine oil tempurature, and coolant tempurature. */\n environment?: Maybe<VehicleEnvironment>;\n /** Information of the vehicle's fuel such as the level, percent, and fuel used on current trip. */\n fuel?: Maybe<VehicleFuel>;\n id?: Maybe<Scalars['ID']['output']>;\n lastTransactionDate?: Maybe<Scalars['String']['output']>;\n /** Location of vehicle (lat, long) and information about the satellite. */\n location?: Maybe<VehicleLocation>;\n /** Mechanical information on the vehicle such as if the ignition is on, engine speed, tire pressure of each tire, and engine oil life remaining. */\n mechanical?: Maybe<VehicleMechanical>;\n /** Information on movement of vehicle such as if it's driving, odometer, and speed. */\n movement?: Maybe<VehicleMovement>;\n registrationData?: Maybe<Scalars['JSONObject']['output']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: Maybe<Array<Maybe<ServiceType>>>;\n /** Information on the vehicle such as name, serial number, source, license plate, imei, etc. */\n type?: Maybe<VehicleType>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** Information on the vehicle group that this vehicle belongs to you. */\n vehicleGroup?: Maybe<VehicleGroup>;\n vin: Scalars['String']['output'];\n};\n\nexport type IndividualVehicleGroup = {\n __typename?: 'IndividualVehicleGroup';\n code?: Maybe<Scalars['String']['output']>;\n /** Description of a vehicle group. */\n description?: Maybe<Scalars['String']['output']>;\n /** Number of drivers in this vehicle group. */\n driverCount?: Maybe<Scalars['Int']['output']>;\n /** Entity information on this vehicle group. */\n entity?: Maybe<Entity>;\n externalId?: Maybe<Scalars['String']['output']>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Job code option values */\n jobCodeOptions?: Maybe<Array<Maybe<Scalars['String']['output']>>>;\n /** Date of last transaction. */\n lastTransactionDate?: Maybe<Scalars['String']['output']>;\n /** Name of the vehicle group. */\n name?: Maybe<Scalars['String']['output']>;\n /** Organization information on this vehicle group. */\n organization?: Maybe<Organization>;\n /** Services allowed on the entity: tolling, fueling, etc */\n policies?: Maybe<Array<Maybe<Policy>>>;\n /** Settings for enabling job code and driver entered odometer */\n settings?: Maybe<VehicleGroupSettings>;\n /** Spend restrictions on this vehicle group such as amount per day, amount per transaction, no of transaction, days of week and times to enabled fuel use. */\n spendRestrictions?: Maybe<SpendRestrictions>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** Number of vehicles in this vehicle group. */\n vehicleCount?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type InvoicePayment = {\n __typename?: 'InvoicePayment';\n /** Amount due for payment. */\n amount?: Maybe<Scalars['String']['output']>;\n /** Date of payment */\n date?: Maybe<Scalars['String']['output']>;\n /** Description of a payment information. */\n description?: Maybe<Scalars['String']['output']>;\n /** An error from I2C. Ex: Invalid Bank Routing Number */\n errorDescription?: Maybe<Scalars['String']['output']>;\n /** Auto payment or one time payment */\n frequency?: Maybe<InvoicePaymentFrequency>;\n /** Method of payment */\n paymentMethod?: Maybe<Scalars['String']['output']>;\n /** Types such as PENDING, POSTED, or FAILED. */\n status?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum InvoicePaymentFrequency {\n /** Invoice will be paid automatically */\n AutoPayment = 'AUTO_PAYMENT',\n /** Invoice will be paid just once */\n OneTimePayment = 'ONE_TIME_PAYMENT'\n}\n\n/** Sorting for creditPaymentsList */\nexport enum InvoicePaymentSorting {\n /** Sort by amount in ascending order. */\n AmountAsc = 'AMOUNT_ASC',\n /** Sort by amount in descending order. */\n AmountDesc = 'AMOUNT_DESC',\n /** Sort by date in ascending order. */\n DateAsc = 'DATE_ASC',\n /** Sort by date in descending order */\n DateDesc = 'DATE_DESC',\n /** Sort by description in ascending order. */\n DescriptionAsc = 'DESCRIPTION_ASC',\n /** Sort by description in descending order. */\n DescriptionDesc = 'DESCRIPTION_DESC',\n /** Sort by status in ascending order. */\n StatusAsc = 'STATUS_ASC',\n /** Sort by status in descending order. */\n StatusDesc = 'STATUS_DESC'\n}\n\nexport enum JobCodeEntryOptionEnum {\n Freeform = 'FREEFORM',\n Predefined = 'PREDEFINED'\n}\n\nexport type JobCodeOptionsInput = {\n machineGroupId: Scalars['String']['input'];\n /** job_code for job code. In the future we might support other options like trailer_number, etc */\n optionName: Scalars['String']['input'];\n};\n\nexport type JobCodeOptionsOutput = {\n __typename?: 'JobCodeOptionsOutput';\n optionValues?: Maybe<OptionValues>;\n};\n\nexport type JobCodeOptionsUpsertInput = {\n machineGroupId: Scalars['String']['input'];\n /** job_code for job code. In the future we might support other options like trailer_number, etc */\n optionName: Scalars['String']['input'];\n values?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n};\n\nexport type JobCodeOptionsUpsertOutput = {\n __typename?: 'JobCodeOptionsUpsertOutput';\n optionValues?: Maybe<OptionValues>;\n};\n\nexport enum LanguageType {\n En = 'EN',\n Es = 'ES'\n}\n\nexport type Location = {\n __typename?: 'Location';\n latitude?: Maybe<Scalars['Float']['output']>;\n longitude?: Maybe<Scalars['Float']['output']>;\n};\n\nexport type Login = {\n __typename?: 'Login';\n access_token?: Maybe<Scalars['String']['output']>;\n expires_in?: Maybe<Scalars['Int']['output']>;\n id_token?: Maybe<Scalars['String']['output']>;\n refresh_token?: Maybe<Scalars['String']['output']>;\n scope?: Maybe<Scalars['String']['output']>;\n token_type?: Maybe<Scalars['String']['output']>;\n};\n\nexport type LoginOtpResponse = {\n __typename?: 'LoginOtpResponse';\n error?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport enum LoginType {\n Email = 'EMAIL',\n External = 'EXTERNAL',\n Phone = 'PHONE',\n Unknown = 'UNKNOWN'\n}\n\nexport type LoginUniversalResponse = {\n __typename?: 'LoginUniversalResponse';\n authUrl: Scalars['String']['output'];\n state: Scalars['String']['output'];\n success: Scalars['Boolean']['output'];\n};\n\nexport type MachineLogin = {\n __typename?: 'MachineLogin';\n access_token?: Maybe<Scalars['String']['output']>;\n};\n\nexport type MachineLoginInput = {\n /** Auth0 Client Id */\n client_id: Scalars['String']['input'];\n /** Auth0 Client Secret */\n client_secret: Scalars['String']['input'];\n};\n\nexport type MachineTokenizeUserInput = {\n userId: Scalars['ID']['input'];\n};\n\nexport type MachineUserToken = {\n __typename?: 'MachineUserToken';\n access_token: Scalars['String']['output'];\n expires_in: Scalars['Int']['output'];\n};\n\n/** Services Car IQ offers */\nexport enum MerchantCategory {\n /** Paying for a car wash. */\n CarWash = 'CAR_WASH',\n /** Paying at an electric charging station. */\n Charging = 'CHARGING',\n /** Paying at a gas station. */\n Fueling = 'FUELING',\n General = 'GENERAL',\n /** Paying for meintenance services. */\n Maintenance = 'MAINTENANCE',\n /** Paying for parking. */\n Parking = 'PARKING',\n /** Paying for a toll on the road such as bridges and carpool lanes. */\n Toll = 'TOLL'\n}\n\nexport type Mutation = {\n __typename?: 'Mutation';\n Pass?: Maybe<Scalars['JSON']['output']>;\n /** Create API key. */\n apiKeyCreate?: Maybe<ApiKeyCreateOutput>;\n /** Revoke API key. */\n apiKeyRevoke?: Maybe<ApiKeyRevokeOutput>;\n /** Apply for credit */\n applyForCredit: ApplyForCreditOutput;\n clientOnboard?: Maybe<Entity>;\n /** Create a new entity. */\n entityCreate?: Maybe<Entity>;\n /** Authenticate a user from universal login using Google Auth, Email OTP, etc */\n exchangeAuthorizationCode?: Maybe<Login>;\n /** Generate token for Card on File. */\n generateTokenCoF: GenerateTokenCoFOutput;\n /** Login in within the Geotab Drive App. */\n geotabDriveLogin?: Maybe<GeotabDriveLogin>;\n /** Add or update an option for the job code options values */\n jobCodeOptionsUpsert?: Maybe<JobCodeOptionsUpsertOutput>;\n linkTokenCreate?: Maybe<Scalars['String']['output']>;\n /** Login in with a machine. */\n machineLogin?: Maybe<MachineLogin>;\n machineTokenizeUser?: Maybe<MachineUserToken>;\n /** Create a new organization to onboard a fleet. */\n organizationCreate?: Maybe<Organization>;\n /** Create a policy on an organization to enable services like fueling, tolling, tap to pay, etc. */\n policyCreate?: Maybe<PolicyCreateOutput>;\n /** Delete a policy for an organization. */\n policyDelete?: Maybe<PolicyDeleteOutput>;\n /** Add or remove policies using a policy id, entity id, or vehicle group id. */\n policyManage?: Maybe<PolicyManageOutput>;\n /** Process Card. */\n processCardCoF: BooleanSuccessOutput;\n /** Provision Card. */\n provisionCard: ProvisionCardResponse;\n /** Provision Status Update. */\n provisionStatusUpdate: BooleanSuccessOutput;\n reportIssue?: Maybe<BooleanSuccessOutput>;\n /** Create a new risk rule on a vehicle group. */\n riskRuleCreate?: Maybe<RiskRuleGetOutput>;\n /** Delet a risk rule using the risk rule id. */\n riskRuleDelete?: Maybe<BooleanSuccessOutput>;\n /** Update a risk rule based on the risk rule id. */\n riskRuleUpdate?: Maybe<RiskRuleGetOutput>;\n /** Pay for fuel at a given station */\n servicePay?: Maybe<ServicePayOutput>;\n /** Create Standalone Cards */\n standaloneCardCreate: BooleanSuccessOutput;\n /** Store Card info. */\n storeCardCoF: StoreCardCoFOutput;\n /** Update a transaction such as the Job Code */\n transactionUpdate?: Maybe<TransactionPage>;\n /** Create a TTP account for a given device. */\n ttpTokenization?: Maybe<TtpTokenizationOutput>;\n /** Sign up using activation code */\n userActivationCodeSignUp?: Maybe<BooleanSuccessOutput>;\n /** Create a new user for an organization */\n userCreate?: Maybe<User>;\n /** Delete a user from the platform */\n userDelete?: Maybe<Scalars['String']['output']>;\n /** Let a user change their password to access their account. */\n userForgotPassword?: Maybe<Scalars['String']['output']>;\n /** Authenticate a user for use of APIs */\n userLogin?: Maybe<Login>;\n /** Send otp code to a phone or email for verification. */\n userLoginOtpRequest?: Maybe<LoginOtpResponse>;\n /** Verification code from an otp response to verify phone or email. */\n userLoginOtpVerify?: Maybe<Login>;\n /** Request a user login from Universal Login */\n userLoginUniversal?: Maybe<LoginUniversalResponse>;\n /** Link a user to a Circle K loyalty account */\n userLoyaltyAccountAdd?: Maybe<UserLoyaltyAccount>;\n /** Delete a user from a Circle K loyalty account using the ID of the loyalty account */\n userLoyaltyAccountDelete?: Maybe<BooleanSuccessOutput>;\n /** Update mobile device user token for push notifications */\n userNotificationTokenUpdate?: Maybe<UserNotificationTokenUpdateOutput>;\n /** Remove a user from the platform temporarily */\n userOffboard?: Maybe<Scalars['String']['output']>;\n /** Refresh the token for a user for authentication. */\n userRefreshToken?: Maybe<Login>;\n /** Set a password for a user. */\n userSetPassword?: Maybe<Scalars['String']['output']>;\n /** Update a users information */\n userUpdate?: Maybe<User>;\n /** Validate token for Card on File. */\n validateTokenCoF: ValidateTokenCoFOutput;\n /** Create a new vehicle */\n vehicleCreate?: Maybe<Scalars['String']['output']>;\n /** Add field to Vehicle Fields Configuration */\n vehicleFieldsAdd?: Maybe<VehicleFieldsConfiguration>;\n /** Add field to Vehicle Fields Configuration */\n vehicleFieldsDelete?: Maybe<BooleanSuccessOutput>;\n /** Add field to Vehicle Fields Configuration */\n vehicleFieldsUpdate?: Maybe<VehicleFieldsConfiguration>;\n /** Create a new vehicle group */\n vehicleGroupCreate?: Maybe<IndividualVehicleGroup>;\n /** Delete a vehicle group */\n vehicleGroupDelete?: Maybe<Scalars['String']['output']>;\n /** Add a driver to a vehicle group */\n vehicleGroupDriversAdd?: Maybe<VehicleGroup>;\n /** Remove a vehicle from a vehicle group */\n vehicleGroupDriversRemove?: Maybe<VehicleGroup>;\n /** Set spend restrictions on a vehicle group */\n vehicleGroupSpendRestrictionsSet?: Maybe<SpendRestrictions>;\n /** Update a vehicle group's information */\n vehicleGroupUpdate?: Maybe<IndividualVehicleGroup>;\n /** Add vehicles to a vehicle group */\n vehicleGroupVehiclesAdd?: Maybe<VehicleGroup>;\n /** Remove a vehicle from a vehicle group */\n vehicleGroupVehiclesRemove?: Maybe<VehicleGroup>;\n /** Update a vehicle's information */\n vehicleUpdate?: Maybe<Scalars['String']['output']>;\n /** Batch vehicles onboard */\n vehiclesOnboard?: Maybe<VehiclesOnboardOutputList>;\n};\n\n\nexport type MutationPassArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationApiKeyCreateArgs = {\n input: ApiKeyCreateInput;\n};\n\n\nexport type MutationApiKeyRevokeArgs = {\n input: ApiKeyRevokeInput;\n};\n\n\nexport type MutationApplyForCreditArgs = {\n input?: InputMaybe<ApplyForCreditInput>;\n};\n\n\nexport type MutationClientOnboardArgs = {\n input: ClientOnboardInput;\n};\n\n\nexport type MutationEntityCreateArgs = {\n input: EntityCreateInput;\n};\n\n\nexport type MutationExchangeAuthorizationCodeArgs = {\n input: ExchangeAuthorizationCodeInput;\n};\n\n\nexport type MutationGenerateTokenCoFArgs = {\n input: GenerateTokenCoFInput;\n};\n\n\nexport type MutationGeotabDriveLoginArgs = {\n input: GeotabDriveLoginInput;\n};\n\n\nexport type MutationJobCodeOptionsUpsertArgs = {\n input?: InputMaybe<JobCodeOptionsUpsertInput>;\n};\n\n\nexport type MutationMachineLoginArgs = {\n input: MachineLoginInput;\n};\n\n\nexport type MutationMachineTokenizeUserArgs = {\n input?: InputMaybe<MachineTokenizeUserInput>;\n};\n\n\nexport type MutationOrganizationCreateArgs = {\n input: OrganizationCreateInput;\n};\n\n\nexport type MutationPolicyCreateArgs = {\n input?: InputMaybe<PolicyCreateInput>;\n};\n\n\nexport type MutationPolicyDeleteArgs = {\n input?: InputMaybe<PolicyDeleteInput>;\n};\n\n\nexport type MutationPolicyManageArgs = {\n input?: InputMaybe<PolicyManageInput>;\n};\n\n\nexport type MutationProcessCardCoFArgs = {\n input: ProcessCardCoFInput;\n};\n\n\nexport type MutationProvisionCardArgs = {\n input: ProvisionCardInput;\n};\n\n\nexport type MutationProvisionStatusUpdateArgs = {\n input: ProvisionStatusUpdateInput;\n};\n\n\nexport type MutationReportIssueArgs = {\n input: ReportIssueInput;\n};\n\n\nexport type MutationRiskRuleCreateArgs = {\n input?: InputMaybe<RiskRuleCreateInput>;\n};\n\n\nexport type MutationRiskRuleDeleteArgs = {\n input?: InputMaybe<RiskRuleDeleteInput>;\n};\n\n\nexport type MutationRiskRuleUpdateArgs = {\n input?: InputMaybe<RiskRuleUpdateInput>;\n};\n\n\nexport type MutationServicePayArgs = {\n input: ServicePayInput;\n};\n\n\nexport type MutationStandaloneCardCreateArgs = {\n input: StandaloneCardCreateInput;\n};\n\n\nexport type MutationStoreCardCoFArgs = {\n input: StoreCardCoFInput;\n};\n\n\nexport type MutationTransactionUpdateArgs = {\n input?: InputMaybe<TransactionUpdateInput>;\n};\n\n\nexport type MutationTtpTokenizationArgs = {\n input?: InputMaybe<TtpTokenizationInput>;\n};\n\n\nexport type MutationUserActivationCodeSignUpArgs = {\n input: UserActivationCodeSignUpInput;\n};\n\n\nexport type MutationUserCreateArgs = {\n input: UserCreateInput;\n};\n\n\nexport type MutationUserDeleteArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationUserForgotPasswordArgs = {\n input: UserForgotPasswordInput;\n};\n\n\nexport type MutationUserLoginArgs = {\n input: UserLoginInput;\n};\n\n\nexport type MutationUserLoginOtpRequestArgs = {\n input: UserLoginOtpRequestInput;\n};\n\n\nexport type MutationUserLoginOtpVerifyArgs = {\n input: UserLoginOtpVerifyInput;\n};\n\n\nexport type MutationUserLoginUniversalArgs = {\n input: UserLoginUniversalInput;\n};\n\n\nexport type MutationUserLoyaltyAccountAddArgs = {\n input: UserLoyaltyAccountAddInput;\n};\n\n\nexport type MutationUserLoyaltyAccountDeleteArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationUserNotificationTokenUpdateArgs = {\n token: Scalars['String']['input'];\n};\n\n\nexport type MutationUserOffboardArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationUserRefreshTokenArgs = {\n input: UserRefreshTokenInput;\n};\n\n\nexport type MutationUserSetPasswordArgs = {\n input: UserSetPasswordInput;\n};\n\n\nexport type MutationUserUpdateArgs = {\n input: UserUpdateInput;\n};\n\n\nexport type MutationValidateTokenCoFArgs = {\n input: ValidateTokenCoFInput;\n};\n\n\nexport type MutationVehicleCreateArgs = {\n input: VehicleCreateInput;\n};\n\n\nexport type MutationVehicleFieldsAddArgs = {\n input: VehicleFieldsAddInput;\n};\n\n\nexport type MutationVehicleFieldsDeleteArgs = {\n input?: InputMaybe<Scalars['ID']['input']>;\n};\n\n\nexport type MutationVehicleFieldsUpdateArgs = {\n input: VehicleFieldsUpdateInput;\n};\n\n\nexport type MutationVehicleGroupCreateArgs = {\n input: VehicleGroupCreateInput;\n};\n\n\nexport type MutationVehicleGroupDeleteArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationVehicleGroupDriversAddArgs = {\n input: VehicleGroupDriversAddInput;\n};\n\n\nexport type MutationVehicleGroupDriversRemoveArgs = {\n input: VehicleGroupDriversRemoveInput;\n};\n\n\nexport type MutationVehicleGroupSpendRestrictionsSetArgs = {\n input: VehicleGroupSpendRestrictionsSetInput;\n};\n\n\nexport type MutationVehicleGroupUpdateArgs = {\n input: VehicleGroupUpdateInput;\n};\n\n\nexport type MutationVehicleGroupVehiclesAddArgs = {\n input: VehicleGroupVehiclesAddInput;\n};\n\n\nexport type MutationVehicleGroupVehiclesRemoveArgs = {\n input: VehicleGroupVehiclesRemoveInput;\n};\n\n\nexport type MutationVehicleUpdateArgs = {\n input: VehicleUpdateInput;\n};\n\n\nexport type MutationVehiclesOnboardArgs = {\n input: VehiclesOnboardInputList;\n};\n\n/** Type of stations to filter on */\nexport enum NetworkType {\n All = 'ALL',\n InNetwork = 'IN_NETWORK',\n OutOfNetwork = 'OUT_OF_NETWORK'\n}\n\nexport type OptionValues = {\n __typename?: 'OptionValues';\n deletedAt?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['String']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n machineGroupId?: Maybe<Scalars['String']['output']>;\n /** job_code for job code. In the future we might support other options like trailer_number, etc */\n optionName?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n values?: Maybe<Array<Maybe<Scalars['String']['output']>>>;\n};\n\n/** Information on the organization. */\nexport type Organization = {\n __typename?: 'Organization';\n /** Address of the organization. */\n address?: Maybe<Address>;\n /** Cost factor to filter by fuel station cost */\n costFactorEnabled?: Maybe<Scalars['Boolean']['output']>;\n deletedAt?: Maybe<Scalars['String']['output']>;\n /** Id tied to this organization. */\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Name of the organization. */\n name?: Maybe<Scalars['String']['output']>;\n /** When the organization was onboarded. */\n onboardedAt?: Maybe<Scalars['String']['output']>;\n onboardedBy?: Maybe<Scalars['String']['output']>;\n /** List of policies (servies) enabled on an organization. */\n policies?: Maybe<Array<Maybe<Policy>>>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type OrganizationCreateInput = {\n /** The address of the organization */\n address: AddressInput;\n /** Disable check location when vehicle data is down */\n checkLocationOverride?: InputMaybe<Scalars['Boolean']['input']>;\n /** Cost factor to filter by fuel station cost */\n costFactorEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Organization email. */\n email?: InputMaybe<Scalars['String']['input']>;\n integratorId?: InputMaybe<Scalars['ID']['input']>;\n /** Organization name. */\n name: Scalars['String']['input'];\n /** Who onboarded the organization */\n onboardedBy?: InputMaybe<Scalars['String']['input']>;\n /** Organization tax id. */\n taxId?: InputMaybe<Scalars['String']['input']>;\n unitsId?: InputMaybe<Scalars['String']['input']>;\n /** If enabled, syncs telematics data for a vehicle and removes ability to edit that vehicle */\n useTspMetadata?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport enum OtpType {\n Code = 'CODE',\n Link = 'LINK'\n}\n\n/** The pagination used to fulfill the response */\nexport type PageMeta = {\n __typename?: 'PageMeta';\n /** Limit set in the request to show an exact number of items. */\n limit?: Maybe<Scalars['Int']['output']>;\n /** The offset specified in the request to paginate. */\n offset?: Maybe<Scalars['Int']['output']>;\n /** Total number of records found. */\n total?: Maybe<Scalars['Int']['output']>;\n};\n\n/** Pagination */\nexport type PageRequest = {\n limit?: InputMaybe<Scalars['Int']['input']>;\n offset?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport enum PaymentMethodType {\n DirectConnect = 'DIRECT_CONNECT',\n LinkedCard = 'LINKED_CARD',\n Ttp = 'TTP',\n Unspecified = 'UNSPECIFIED'\n}\n\nexport type PaymentProvider = {\n __typename?: 'PaymentProvider';\n /** Payment provider id */\n id: Scalars['ID']['output'];\n /** When the payment provider record was inserted. */\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Name of provider: I2C, Discover, or CARIQ_OPENLOOP. */\n name?: Maybe<Scalars['String']['output']>;\n /** Same as name: I2C, Discover, or CARIQ_OPENLOOP. */\n slug?: Maybe<Scalars['String']['output']>;\n /** When the payment provider record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum PaymentProviderEnum {\n CarIqBin = 'CAR_IQ_BIN',\n CirclekCof = 'CIRCLEK_COF',\n CitiVpa = 'CITI_VPA',\n Discover = 'DISCOVER',\n ExternalCof = 'EXTERNAL_COF',\n I2C = 'I2C',\n Multiple = 'MULTIPLE',\n UsBank = 'US_BANK',\n Voyager = 'VOYAGER',\n VoyagerPlus = 'VOYAGER_PLUS'\n}\n\nexport type Permission = {\n __typename?: 'Permission';\n action?: Maybe<Scalars['String']['output']>;\n description?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n resource?: Maybe<Scalars['String']['output']>;\n};\n\nexport type Policy = {\n __typename?: 'Policy';\n enabled?: Maybe<Scalars['Boolean']['output']>;\n id: Scalars['String']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['String']['output']>;\n /** Information about the service provider. */\n serviceProvider?: Maybe<ServiceProvider>;\n /** Id of the service provider that enables the service. */\n serviceProviderId?: Maybe<Scalars['String']['output']>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: Maybe<ServiceType>;\n /** Type of policy, either a service or tap to pay. */\n type?: Maybe<PolicyType>;\n};\n\nexport type PolicyActionResponse = {\n __typename?: 'PolicyActionResponse';\n /** For applied policies, it returns the policy id, entity id, vehicle group id, and if request was recursive. */\n applyRequest?: Maybe<ApplyPolicyOutput>;\n /** Number of affected policies by the request. */\n countAffected?: Maybe<Scalars['Int']['output']>;\n /** For revoked polcies, it returns the policy id, entity id, and vehicle group id. */\n revokeRequest?: Maybe<RevokePolicyOutput>;\n /** Whether the policy manage request was successful. */\n success?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type PolicyCreateInput = {\n /** Propagate the policies to children entities. */\n applyRecursively?: InputMaybe<Scalars['Boolean']['input']>;\n organizationId: Scalars['String']['input'];\n /** Type of policy, either a service or tap to pay. */\n policyType?: InputMaybe<PolicyType>;\n /** Add the service provider id allowed for fueling or tolling. */\n serviceProviderId?: InputMaybe<Scalars['String']['input']>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: InputMaybe<ServiceType>;\n};\n\nexport type PolicyCreateOutput = {\n __typename?: 'PolicyCreateOutput';\n countAffected?: Maybe<Scalars['Int']['output']>;\n policy?: Maybe<Policy>;\n success?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type PolicyDeleteInput = {\n /** Policy id to delete a specific policy. */\n policyId: Scalars['String']['input'];\n};\n\nexport type PolicyDeleteOutput = {\n __typename?: 'PolicyDeleteOutput';\n countAffected?: Maybe<Scalars['Int']['output']>;\n success?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type PolicyManageInput = {\n /** Add or update a policy on a policy id, entity id, or vehicle group id. */\n applyPolicies?: InputMaybe<Array<InputMaybe<ApplyPolicyInput>>>;\n /** Remove a policy using a policy id, entity id, or vehicle group id. */\n revokePolicies?: InputMaybe<Array<InputMaybe<RevokePolicyInput>>>;\n};\n\nexport type PolicyManageOutput = {\n __typename?: 'PolicyManageOutput';\n /** List of policies that were added or updated. */\n applyResponses?: Maybe<Array<Maybe<PolicyActionResponse>>>;\n /** List of policies that were revoked. */\n revokeResponses?: Maybe<Array<Maybe<PolicyActionResponse>>>;\n};\n\n/** Type of policy, either a service or tap to pay. */\nexport enum PolicyType {\n Dcc = 'DCC',\n Service = 'SERVICE',\n UnknownVariant = 'UNKNOWN_VARIANT'\n}\n\nexport type PositionInput = {\n latitude: Scalars['Float']['input'];\n longitude: Scalars['Float']['input'];\n};\n\nexport enum PrimaryAccountStatus {\n Enrolled = 'enrolled',\n Failed = 'failed',\n Pending = 'pending',\n Unknown = 'unknown'\n}\n\nexport type ProcessCardCoFInput = {\n id: Scalars['String']['input'];\n paymentProviderAccountId: Scalars['String']['input'];\n vehicleId: Scalars['String']['input'];\n};\n\nexport type Product = {\n __typename?: 'Product';\n id: Scalars['ID']['output'];\n /** Name of the product. */\n name?: Maybe<Scalars['String']['output']>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: Maybe<ServiceType>;\n};\n\n/** Type of Fuel. */\nexport enum ProductType {\n Diesel = 'DIESEL',\n HiFlowDiesel = 'HI_FLOW_DIESEL',\n MidGradeUnleaded = 'MID_GRADE_UNLEADED',\n OtherFuel = 'OTHER_FUEL',\n PremiumDiesel = 'PREMIUM_DIESEL',\n PremiumUnleaded = 'PREMIUM_UNLEADED',\n Regular = 'REGULAR'\n}\n\nexport type ProgramSupports = {\n __typename?: 'ProgramSupports';\n isCloseLoopSupported?: Maybe<Scalars['Boolean']['output']>;\n isDcSupported?: Maybe<Scalars['Boolean']['output']>;\n isPhysicalCardSupported?: Maybe<Scalars['Boolean']['output']>;\n isTtpSupported?: Maybe<Scalars['Boolean']['output']>;\n /** Is this program using the internal card program (US Bank) */\n isUsingInternalProgram?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type ProvisionCardInput = {\n /** Account ID, can be a vehicleId, deviceId, or an asset */\n deviceAccountId: Scalars['String']['input'];\n /** Used by Android */\n googleHardwareId?: InputMaybe<Scalars['String']['input']>;\n /** Used by IOS */\n intermediateCertificate?: InputMaybe<Scalars['String']['input']>;\n /** Used by IOS */\n leafCertificate?: InputMaybe<Scalars['String']['input']>;\n /** Used by IOS */\n nonceSignature?: InputMaybe<Scalars['String']['input']>;\n /** Used by IOS */\n nonceValue?: InputMaybe<Scalars['String']['input']>;\n paymentProviderAccountId: Scalars['String']['input'];\n /** Used by Android */\n walletId?: InputMaybe<Scalars['String']['input']>;\n walletType: DigitalWallet;\n};\n\nexport type ProvisionCardResponse = {\n __typename?: 'ProvisionCardResponse';\n activationData?: Maybe<Scalars['String']['output']>;\n cardNetwork?: Maybe<CardNetwork>;\n displayName?: Maybe<Scalars['String']['output']>;\n encryptedData?: Maybe<Scalars['String']['output']>;\n lastFourDigits?: Maybe<Scalars['String']['output']>;\n publicKey?: Maybe<Scalars['String']['output']>;\n};\n\nexport type ProvisionStatusUpdateInput = {\n deviceAccountId: Scalars['String']['input'];\n errorDescription?: InputMaybe<Scalars['String']['input']>;\n paymentProviderAccountId: Scalars['String']['input'];\n status: ProvisioningStatus;\n};\n\nexport enum ProvisioningStatus {\n Error = 'ERROR',\n Success = 'SUCCESS'\n}\n\n/** Days of week which purchases are enabled. */\nexport type PurchaseDaysOfWeek = {\n __typename?: 'PurchaseDaysOfWeek';\n friday: Scalars['Boolean']['output'];\n monday: Scalars['Boolean']['output'];\n saturday: Scalars['Boolean']['output'];\n sunday: Scalars['Boolean']['output'];\n thursday: Scalars['Boolean']['output'];\n tuesday: Scalars['Boolean']['output'];\n wednesday: Scalars['Boolean']['output'];\n};\n\nexport type PurchaseDaysOfWeekInput = {\n friday: Scalars['Boolean']['input'];\n monday: Scalars['Boolean']['input'];\n saturday: Scalars['Boolean']['input'];\n sunday: Scalars['Boolean']['input'];\n thursday: Scalars['Boolean']['input'];\n tuesday: Scalars['Boolean']['input'];\n wednesday: Scalars['Boolean']['input'];\n};\n\n/** Format should be in HH:MM */\nexport type PurchaseTimeRange = {\n __typename?: 'PurchaseTimeRange';\n from?: Maybe<Scalars['String']['output']>;\n to?: Maybe<Scalars['String']['output']>;\n};\n\nexport type PurchaseTimeRangeInput = {\n from?: InputMaybe<Scalars['String']['input']>;\n to?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type Query = {\n __typename?: 'Query';\n Pass?: Maybe<Scalars['JSON']['output']>;\n /** Get a public key to encrypt credit application data */\n creditApplicationPublicKey: CreditApplicationPublicKeyOutput;\n /** Get a list of credit payments on a payment provider account using ppaid with an option of sorting. */\n creditPaymentsList?: Maybe<GetInvoicePaymentsOutput>;\n /** Download Credit Statement Document */\n creditStatementDownload: Report;\n /** Get Credit Statements */\n creditStatementsList?: Maybe<GetCreditStatementsOutput>;\n /** Download a list of drivers on an entity or vehicle group. */\n driverReportDownload?: Maybe<DriverReport>;\n /** Get a list of entities. */\n entitiesFilter?: Maybe<EntitiesPage>;\n /** Get an entity. */\n entity?: Maybe<Entity>;\n /** Information on the account of an entity. */\n entityAccountInfo?: Maybe<EntityAccountInfo>;\n /** Information on the account and child accounts of an entity. */\n entityAccountsInfo?: Maybe<Array<Maybe<EntityAccountInfo>>>;\n /** Get values for a job code option */\n jobCodeOptions?: Maybe<JobCodeOptionsOutput>;\n /** Download transactions for a given entity, vehicle group, vehicle, or driver. */\n reportsDownload?: Maybe<Report>;\n /** Get a risk rule using the id or name. */\n riskRuleGet?: Maybe<RiskRuleGetOutput>;\n /** List risk rules pertaining to a vehicle group. */\n riskRulesList?: Maybe<RiskRulesListOutput>;\n /** Get a list of permissions for a given role */\n rolePermissions?: Maybe<Role>;\n /** Performs a search for users, vehicles, and vehicle groups. */\n search?: Maybe<SearchOutput>;\n /** Get list of available stations from a given locations */\n serviceLocationsFilter?: Maybe<ServiceLocationsPage>;\n /** Spending Insights */\n spendingInsights?: Maybe<SpendingInsightsOutput>;\n /** Get information on a transaction */\n transaction?: Maybe<Transaction>;\n /** Doanload the transactions for a given entity, vehicle group, vehicle, driver */\n transactionReportDownload?: Maybe<TransactionReport>;\n /** Get a list of transactions */\n transactionsFilter?: Maybe<TransactionsPage>;\n /** Transactions Insights */\n transactionsInsights?: Maybe<TransactionsInsightsPage>;\n /** Get a list of transactions */\n transactionsOverview?: Maybe<TransactionsOverviewOutput>;\n /** Get the transactions statistics for a given entity */\n transactionsStats?: Maybe<TransactionsStats>;\n /** Get user data */\n user?: Maybe<GetUserUserResponse>;\n /** Get a list of users */\n usersFilter?: Maybe<UsersPage>;\n /** Get information from a vehicle */\n vehicle?: Maybe<IndividualVehicle>;\n /** Get list of vehicle configuration fields */\n vehicleFields?: Maybe<VehicleFieldsPage>;\n /** Get information from a vehicle group */\n vehicleGroup?: Maybe<IndividualVehicleGroup>;\n /** Get a list of vehicle groups */\n vehicleGroupsFilter?: Maybe<VehicleGroupsPage>;\n /** Get a list of vehicles */\n vehiclesFilter?: Maybe<VehiclesPage>;\n /** Get vehicles in a certain location */\n vehiclesFilterByLocation?: Maybe<VehiclesPage>;\n /** Get vehicles that have telematics and are not enrolled for Car IQ services */\n vehiclesWithTelematicsNotEnrolled?: Maybe<VehiclesWithTelematicsNotEnrolledOutput>;\n};\n\n\nexport type QueryPassArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryCreditPaymentsListArgs = {\n input: GetInvoicePaymentsInput;\n};\n\n\nexport type QueryCreditStatementDownloadArgs = {\n input: CreditStatementDownloadInput;\n};\n\n\nexport type QueryCreditStatementsListArgs = {\n input?: InputMaybe<GetCreditStatementsInput>;\n};\n\n\nexport type QueryDriverReportDownloadArgs = {\n input?: InputMaybe<DriverReportDownloadInput>;\n};\n\n\nexport type QueryEntitiesFilterArgs = {\n input: EntitiesFilterInput;\n};\n\n\nexport type QueryEntityArgs = {\n externalId?: InputMaybe<Scalars['String']['input']>;\n id?: InputMaybe<Scalars['ID']['input']>;\n};\n\n\nexport type QueryEntityAccountInfoArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryEntityAccountsInfoArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryJobCodeOptionsArgs = {\n input?: InputMaybe<JobCodeOptionsInput>;\n};\n\n\nexport type QueryReportsDownloadArgs = {\n input?: InputMaybe<ReportsDownloadInput>;\n};\n\n\nexport type QueryRiskRuleGetArgs = {\n input?: InputMaybe<RiskRuleGetInput>;\n};\n\n\nexport type QueryRiskRulesListArgs = {\n input?: InputMaybe<RiskRulesListInput>;\n};\n\n\nexport type QueryRolePermissionsArgs = {\n input: RolePermissionsInput;\n};\n\n\nexport type QuerySearchArgs = {\n input: SearchInput;\n};\n\n\nexport type QueryServiceLocationsFilterArgs = {\n input?: InputMaybe<ServiceLocationsFilterInput>;\n};\n\n\nexport type QuerySpendingInsightsArgs = {\n input: SpendingInsightsInput;\n};\n\n\nexport type QueryTransactionArgs = {\n input: Scalars['ID']['input'];\n};\n\n\nexport type QueryTransactionReportDownloadArgs = {\n input?: InputMaybe<TransactionReportDownloadInput>;\n};\n\n\nexport type QueryTransactionsFilterArgs = {\n input: TransactionsFilterInput;\n};\n\n\nexport type QueryTransactionsInsightsArgs = {\n input: TransactionsInsightsInput;\n};\n\n\nexport type QueryTransactionsOverviewArgs = {\n input: TransactionsOverviewInput;\n};\n\n\nexport type QueryTransactionsStatsArgs = {\n input: TransactionsStatsInput;\n};\n\n\nexport type QueryUserArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryUsersFilterArgs = {\n input: UsersFilterInput;\n};\n\n\nexport type QueryVehicleArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryVehicleFieldsArgs = {\n input: VehicleFieldsInput;\n};\n\n\nexport type QueryVehicleGroupArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryVehicleGroupsFilterArgs = {\n input: VehicleGroupsFilterInput;\n};\n\n\nexport type QueryVehiclesFilterArgs = {\n input: VehiclesFilterInput;\n};\n\n\nexport type QueryVehiclesFilterByLocationArgs = {\n input: VehiclesFilterByLocationInput;\n};\n\n\nexport type QueryVehiclesWithTelematicsNotEnrolledArgs = {\n input: VehiclesWithTelematicsNotEnrolledInput;\n};\n\nexport type RadiusFilter = {\n /** Radius in meters to filter around the point. */\n maxRadius?: InputMaybe<Scalars['Float']['input']>;\n /** Latitude and longitude. */\n point: PositionInput;\n /** Deprecated. Radius in meters to filter around the point. */\n radius?: InputMaybe<Scalars['Float']['input']>;\n};\n\nexport type Report = {\n __typename?: 'Report';\n /** Data stream pertaining to the report. */\n data?: Maybe<Scalars['String']['output']>;\n /** Specifies errors if the report didn't generate. */\n error?: Maybe<Scalars['String']['output']>;\n /** Whether items exist in this report. */\n exists?: Maybe<Scalars['Boolean']['output']>;\n /** Filename of the report. */\n fileName?: Maybe<Scalars['String']['output']>;\n};\n\n/** Type to filter on in a Report Download */\nexport enum ReportFilterType {\n Driver = 'DRIVER',\n Entity = 'ENTITY',\n Vehicle = 'VEHICLE',\n VehicleGroup = 'VEHICLE_GROUP'\n}\n\nexport type ReportIssueInput = {\n /** JSON string with fields such as messageType, eventId, appName, appVersion */\n data?: InputMaybe<Scalars['JSONObject']['input']>;\n /** Comment to be added to file upload */\n fileComment?: InputMaybe<Scalars['String']['input']>;\n /** Pay app log file content */\n fileContent?: InputMaybe<Scalars['String']['input']>;\n /** Pay app log file name */\n fileName?: InputMaybe<Scalars['String']['input']>;\n};\n\n/** Type to include in a Report Download. */\nexport enum ReportType {\n AfterHours = 'AFTER_HOURS',\n Ifta = 'IFTA',\n PremiumFuel = 'PREMIUM_FUEL',\n PurchaseExceptions = 'PURCHASE_EXCEPTIONS',\n Transaction = 'TRANSACTION',\n ValidationExceptions = 'VALIDATION_EXCEPTIONS'\n}\n\n/** Specify year and month or dateFrom and dateTo. */\nexport type ReportsDownloadInput = {\n /** Branding */\n branding?: InputMaybe<BrandingType>;\n /** The starting date for the report's time range. */\n dateFrom?: InputMaybe<Scalars['String']['input']>;\n /** The ending date for the report's time range. */\n dateTo?: InputMaybe<Scalars['String']['input']>;\n /** Filter on entites, vehicle groups, vehicles, or drivers. */\n filterType: ReportFilterType;\n /** The id specified for on the filterType. Ex: an entity id or vehicle group id. */\n id: Scalars['ID']['input'];\n /** The month for which to generate the report. */\n month?: InputMaybe<Scalars['Int']['input']>;\n /** Include only after hours, transaction, premium fuel, or validation exceptions */\n type: ReportType;\n /** The year for which to generate the report. */\n year?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type RevokePolicyInput = {\n /** Entity id to remove a policy on. */\n entityId?: InputMaybe<Scalars['String']['input']>;\n /** Policy id to remove a policy on. */\n policyId: Scalars['String']['input'];\n /** Vehicle group id to remove a policy on. */\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RevokePolicyOutput = {\n __typename?: 'RevokePolicyOutput';\n /** Entity id that policy manage request changed. */\n entityId?: Maybe<Scalars['String']['output']>;\n /** Policy id that policy manage request changed. */\n policyId: Scalars['String']['output'];\n /** Vehicle id that policy manage request changed. */\n vehicleGroupId?: Maybe<Scalars['String']['output']>;\n};\n\nexport type RiskRule = {\n __typename?: 'RiskRule';\n definition?: Maybe<RiskRuleDefinition>;\n id?: Maybe<Scalars['String']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n isDefault?: Maybe<Scalars['Boolean']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type RiskRuleCreateInput = {\n amountPerDay?: InputMaybe<Scalars['String']['input']>;\n amountPerTransaction?: InputMaybe<Scalars['String']['input']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: InputMaybe<Scalars['Boolean']['input']>;\n daysTimes?: InputMaybe<DaysTimeRangesInput>;\n maxRiskTime?: InputMaybe<Scalars['Int']['input']>;\n /** Optional Unique String Identifier */\n name?: InputMaybe<Scalars['String']['input']>;\n /** Number of transactions allowed in a day */\n noOfTransactions?: InputMaybe<Scalars['Int']['input']>;\n /** Number of offline transactions allowed in a week */\n noOfTransactionsWeekly?: InputMaybe<Scalars['Int']['input']>;\n /** Replace all previously assigned risk rule with this one. Default is true. */\n replace?: InputMaybe<Scalars['Boolean']['input']>;\n userId?: InputMaybe<Scalars['String']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RiskRuleDefinition = {\n __typename?: 'RiskRuleDefinition';\n amountPerDay?: Maybe<Scalars['String']['output']>;\n amountPerTransaction?: Maybe<Scalars['String']['output']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: Maybe<Scalars['Boolean']['output']>;\n /** Deprecated */\n daysOfWeek?: Maybe<PurchaseDaysOfWeek>;\n daysTimes?: Maybe<DaysTimeRanges>;\n /** Deprecated */\n hours?: Maybe<PurchaseTimeRange>;\n maxRiskTime?: Maybe<Scalars['Int']['output']>;\n /** Number of transactions allowed in a day */\n noOfTransactions?: Maybe<Scalars['Int']['output']>;\n /** Number of offline transactions allowed in a week */\n noOfTransactionsWeekly?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type RiskRuleDeleteInput = {\n id?: InputMaybe<Scalars['String']['input']>;\n};\n\n/** Specify either id or name to get risk rule. */\nexport type RiskRuleGetInput = {\n id?: InputMaybe<Scalars['String']['input']>;\n name?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RiskRuleGetOutput = {\n __typename?: 'RiskRuleGetOutput';\n data?: Maybe<RiskRule>;\n};\n\nexport type RiskRuleUpdateInput = {\n amountPerDay?: InputMaybe<Scalars['String']['input']>;\n amountPerTransaction?: InputMaybe<Scalars['String']['input']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: InputMaybe<Scalars['Boolean']['input']>;\n daysTimes?: InputMaybe<DaysTimeRangesInput>;\n id?: InputMaybe<Scalars['String']['input']>;\n maxRiskTime?: InputMaybe<Scalars['Int']['input']>;\n /** Optional Unique String Identifier */\n name?: InputMaybe<Scalars['String']['input']>;\n /** Number of transactions allowed in a day */\n noOfTransactions?: InputMaybe<Scalars['Int']['input']>;\n /** Number of offline transactions allowed in a week */\n noOfTransactionsWeekly?: InputMaybe<Scalars['Int']['input']>;\n userId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RiskRulesListInput = {\n page?: InputMaybe<PageRequest>;\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RiskRulesListOutput = {\n __typename?: 'RiskRulesListOutput';\n data?: Maybe<Array<Maybe<RiskRule>>>;\n meta?: Maybe<PageMeta>;\n};\n\nexport type Role = {\n __typename?: 'Role';\n description?: Maybe<Scalars['String']['output']>;\n displayName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n isSystem?: Maybe<Scalars['Boolean']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n /** Permissions on a role. */\n permissions: Array<Permission>;\n};\n\nexport type RolePermissionsInput = {\n id?: InputMaybe<Scalars['ID']['input']>;\n name?: InputMaybe<RoleType>;\n};\n\nexport enum RoleType {\n Admin = 'ADMIN',\n Driver = 'DRIVER',\n FullAccess = 'FULL_ACCESS',\n Manager = 'MANAGER',\n ViewOnly = 'VIEW_ONLY'\n}\n\n/** The data for an item from a search query. Different values are returned for a user, vehicle group, or vehicle object. */\nexport type SearchData = {\n __typename?: 'SearchData';\n code?: Maybe<Scalars['String']['output']>;\n description?: Maybe<Scalars['String']['output']>;\n driverCount?: Maybe<Scalars['String']['output']>;\n email?: Maybe<Scalars['String']['output']>;\n employeeId?: Maybe<Scalars['String']['output']>;\n enrolledServices?: Maybe<Scalars['String']['output']>;\n entityId?: Maybe<Scalars['String']['output']>;\n entityName?: Maybe<Scalars['String']['output']>;\n externalId?: Maybe<Scalars['String']['output']>;\n firstName?: Maybe<Scalars['String']['output']>;\n fuel?: Maybe<Scalars['String']['output']>;\n fullName?: Maybe<Scalars['String']['output']>;\n isDefault?: Maybe<Scalars['String']['output']>;\n lastName?: Maybe<Scalars['String']['output']>;\n lastTransaction?: Maybe<Scalars['String']['output']>;\n loginType?: Maybe<Scalars['String']['output']>;\n make?: Maybe<Scalars['String']['output']>;\n metadataDescription?: Maybe<Scalars['String']['output']>;\n metadataLicensePlate?: Maybe<Scalars['String']['output']>;\n metadataLicensePlateState?: Maybe<Scalars['String']['output']>;\n metadataNumber?: Maybe<Scalars['String']['output']>;\n middleName?: Maybe<Scalars['String']['output']>;\n model?: Maybe<Scalars['String']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n odometer?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['String']['output']>;\n phoneNumber?: Maybe<Scalars['String']['output']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: Maybe<Array<Maybe<ServiceType>>>;\n userStatus?: Maybe<Scalars['String']['output']>;\n usersCount?: Maybe<Scalars['String']['output']>;\n vehicleGroupId?: Maybe<Scalars['String']['output']>;\n vehicleGroupIds?: Maybe<Scalars['String']['output']>;\n vehicleGroupName?: Maybe<Scalars['String']['output']>;\n vehicleGroupNames?: Maybe<Scalars['String']['output']>;\n vehicleId?: Maybe<Scalars['String']['output']>;\n vehiclesCount?: Maybe<Scalars['String']['output']>;\n vin?: Maybe<Scalars['String']['output']>;\n year?: Maybe<Scalars['String']['output']>;\n};\n\nexport type SearchFilter = {\n /** Can provide an entityId and if to include children of the entity. */\n entity?: InputMaybe<EntityFilter>;\n /** by default, all types are included, but can specify only on a user, vehicle, or vehicle group. */\n includeTypes?: InputMaybe<Array<InputMaybe<SearchObjectType>>>;\n /** User status such as onboarded, invited, deleted, etc. */\n userStatuses?: InputMaybe<Array<InputMaybe<UserStatus>>>;\n /** Vehicle group id to filter on. */\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n};\n\nexport type SearchInput = {\n /** Filter using types (user, vehicle, vehicle group), vehicle group id, entity id, and user statuses (onboarded, deleted, etc). */\n filter?: InputMaybe<SearchFilter>;\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n /** The query that will be searched. */\n searchText: Scalars['String']['input'];\n /** Specify */\n sortOptions?: InputMaybe<SearchSortOptions>;\n};\n\n/** Types to include in the search filter. */\nexport enum SearchObjectType {\n User = 'USER',\n Vehicle = 'VEHICLE',\n VehicleGroup = 'VEHICLE_GROUP'\n}\n\nexport type SearchOutput = {\n __typename?: 'SearchOutput';\n /** Returns a list of items for the search result. */\n data?: Maybe<Array<Maybe<SearchResult>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type SearchResult = {\n __typename?: 'SearchResult';\n /** Name of the item searched upon. */\n displayName?: Maybe<Scalars['String']['output']>;\n /** Unique id the search. */\n itemId?: Maybe<Scalars['String']['output']>;\n /** The type of object of this item, either a user, vehicle, or vehicle group. */\n objectType?: Maybe<SearchObjectType>;\n /** Properties of this item. */\n properties?: Maybe<SearchData>;\n};\n\nexport type SearchSortOptions = {\n direction?: InputMaybe<Direction>;\n orderBy?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n};\n\nexport type ServiceFuelInput = {\n additionalInfo?: InputMaybe<AdditionalServicePayInfoInput>;\n /** Pump number of the given gas station. */\n pumpNumber: Scalars['Int']['input'];\n};\n\nexport type ServiceLocation = {\n __typename?: 'ServiceLocation';\n /** Address of the location. */\n address?: Maybe<Address>;\n /** Service provider/fuel brand name. */\n brand?: Maybe<Scalars['String']['output']>;\n /** Service provider/fuel brand human readable name */\n brandLabel?: Maybe<Scalars['String']['output']>;\n /** Cost factor associated with station price. */\n costFactor?: Maybe<Scalars['Int']['output']>;\n /** For Circle K to appropriately render orange CK Pro logo/gray/red stations. */\n feeNetworkDesignation?: Maybe<FeeNetworkDesignationType>;\n /** The location and radius of this service. */\n geobounds?: Maybe<Geobounds>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Integration for pump unlock such as QUIKQ, P97, CARIQ_OPENLOOP, PDI, etc. */\n integration?: Maybe<Scalars['String']['output']>;\n /** Fuel brand of location. */\n name: Scalars['String']['output'];\n /** Is this station cannot use direct connect. */\n outOfNetwork?: Maybe<Scalars['Boolean']['output']>;\n /** Id of partner locations. */\n partnerLocationId?: Maybe<Scalars['String']['output']>;\n /** Has physical card. e.g. Voyager accounts. */\n physicalCardEnabled?: Maybe<Scalars['Boolean']['output']>;\n /** Geocode of location. */\n position?: Maybe<Location>;\n /** The product name and service type (fuel, toll, etc). */\n products?: Maybe<Array<Maybe<Product>>>;\n /** Stations with rebate incentive. */\n rebateEligible?: Maybe<Scalars['Boolean']['output']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: Maybe<Array<Maybe<ServiceType>>>;\n /** Is Tap To Pay enabled? */\n ttpEnabled?: Maybe<Scalars['Boolean']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type ServiceLocationInsights = {\n __typename?: 'ServiceLocationInsights';\n /** Address of the location. */\n address?: Maybe<Address>;\n /** Service provider/fuel brand name. */\n brand?: Maybe<Scalars['String']['output']>;\n /** Service provider/fuel brand human readable name */\n brandLabel?: Maybe<Scalars['String']['output']>;\n id: Scalars['ID']['output'];\n /** Fuel brand of location. */\n name?: Maybe<Scalars['String']['output']>;\n /** Geocode of location. */\n position?: Maybe<Location>;\n};\n\nexport enum ServiceLocationSortField {\n Brand = 'BRAND'\n}\n\nexport type ServiceLocationsFilterInput = {\n /** Filter using the position, radius, services, brands, network type, etc. */\n filter: ServiceLocationsFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Order by brand name. */\n sortOptions?: InputMaybe<ServiceLocationsSortOptions>;\n};\n\nexport type ServiceLocationsFilterOptions = {\n /** Brand/name of the service location. */\n brand?: InputMaybe<Scalars['String']['input']>;\n /** List of brands (case-insensitive). */\n brands?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n feeNetworkDesignations?: InputMaybe<Array<InputMaybe<FeeNetworkDesignationType>>>;\n /** In network, out of network, or all network types. Default is in networks. */\n networkType?: InputMaybe<NetworkType>;\n /** Has physical card. e.g. Voyager accounts. */\n physicalCardEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Latitude and longitude on the service. */\n position: PositionInput;\n /** Type of fuel. */\n productTypes?: InputMaybe<Array<InputMaybe<ProductType>>>;\n /** Radius around the position to filter on. */\n radius?: InputMaybe<Scalars['Float']['input']>;\n /** Has rebate incentive. */\n rebateEligible?: InputMaybe<Scalars['Boolean']['input']>;\n /** Filter service locations by IDs. */\n serviceLocationIds?: InputMaybe<Array<Scalars['ID']['input']>>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: InputMaybe<ServiceType>;\n /** Has TTP enabled. */\n ttpEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type ServiceLocationsPage = {\n __typename?: 'ServiceLocationsPage';\n /** List of available stations from a given locations */\n data?: Maybe<Array<Maybe<ServiceLocation>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type ServiceLocationsSortOptions = {\n /** Specify the direction to sort (asc, desc, etc). */\n direction: SortDirection;\n /** Order the stations by brand. */\n orderBy: ServiceLocationSortField;\n};\n\nexport type ServicePayInput = {\n deviceId?: InputMaybe<Scalars['String']['input']>;\n /** Specify the pump number. */\n fuel?: InputMaybe<ServiceFuelInput>;\n localTime?: InputMaybe<Scalars['String']['input']>;\n locationId: Scalars['ID']['input'];\n /** Deprecated: For fallback transactions(both Physical Card and TTP) at DC stations. */\n openloopFallback?: InputMaybe<Scalars['Boolean']['input']>;\n /** Direct connect, TTP, or linked card. */\n paymentMethodType?: InputMaybe<PaymentMethodType>;\n /** Latitude and longitude. */\n position: PositionInput;\n requestId: Scalars['ID']['input'];\n vehicleId: Scalars['ID']['input'];\n};\n\nexport type ServicePayOutput = {\n __typename?: 'ServicePayOutput';\n /** Unique request id of this payment. */\n requestId: Scalars['ID']['output'];\n /** Unique transaction id of this payment. */\n transactionId: Scalars['ID']['output'];\n};\n\n/** Service provider information on a policy */\nexport type ServiceProvider = {\n __typename?: 'ServiceProvider';\n description?: Maybe<Scalars['String']['output']>;\n id: Scalars['String']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n label?: Maybe<Scalars['String']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\n/** Services that Car IQ offers */\nexport enum ServiceType {\n Fees = 'FEES',\n Fuel = 'FUEL',\n Maintenance = 'MAINTENANCE',\n Parking = 'PARKING',\n Toll = 'TOLL',\n UnknownService = 'UNKNOWN_SERVICE'\n}\n\nexport enum SortDirection {\n Asc = 'ASC',\n AscNullsFirst = 'ASC_NULLS_FIRST',\n AscNullsLast = 'ASC_NULLS_LAST',\n Desc = 'DESC',\n DescNullsFirst = 'DESC_NULLS_FIRST',\n DescNullsLast = 'DESC_NULLS_LAST'\n}\n\nexport type SpendRestrictions = {\n __typename?: 'SpendRestrictions';\n /** Amount per day, usually around $125. */\n amountPerDay?: Maybe<Scalars['String']['output']>;\n /** Also known as purchas limit. Usually between $5 and $1000. */\n amountPerTransaction?: Maybe<Scalars['String']['output']>;\n /** Max dollar amount per week. 0 or null turns this restriction off. */\n amountPerWeek?: Maybe<Scalars['Int']['output']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: Maybe<Scalars['Boolean']['output']>;\n /** Define which days and times vehicles can transact at for fueling. */\n daysOfWeek?: Maybe<SpendRestrictionsDaysOfWeek>;\n enforceFuelSpendEstimation?: Maybe<Scalars['Boolean']['output']>;\n /** Deprecated, use direct spend restrictions settings instead. */\n fuel?: Maybe<FuelRestrictions>;\n /** Number of transactions */\n noOfTransactions?: Maybe<Scalars['Int']['output']>;\n predefinedRule?: Maybe<Scalars['String']['output']>;\n};\n\nexport type SpendRestrictionsDay = {\n __typename?: 'SpendRestrictionsDay';\n /** Enable this day for fueling. */\n isEnabled: Scalars['Boolean']['output'];\n /** Defines a list of to and from times that a vehicle can purchase at. */\n purchaseTimes?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n};\n\nexport type SpendRestrictionsDayInput = {\n isEnabled: Scalars['Boolean']['input'];\n /** Defines a list of to and from times that a vehicle can purchase at. */\n purchaseTimes?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n};\n\n/** Specifies if which days are enabled and for which times. */\nexport type SpendRestrictionsDaysOfWeek = {\n __typename?: 'SpendRestrictionsDaysOfWeek';\n friday: SpendRestrictionsDay;\n monday: SpendRestrictionsDay;\n saturday: SpendRestrictionsDay;\n sunday: SpendRestrictionsDay;\n thursday: SpendRestrictionsDay;\n tuesday: SpendRestrictionsDay;\n wednesday: SpendRestrictionsDay;\n};\n\nexport type SpendRestrictionsDaysOfWeekInput = {\n friday: SpendRestrictionsDayInput;\n monday: SpendRestrictionsDayInput;\n saturday: SpendRestrictionsDayInput;\n sunday: SpendRestrictionsDayInput;\n thursday: SpendRestrictionsDayInput;\n tuesday: SpendRestrictionsDayInput;\n wednesday: SpendRestrictionsDayInput;\n};\n\nexport type SpendRestrictionsInput = {\n /** Amount per day. Max No of Transactions times Amount per Day. */\n amountPerDay?: InputMaybe<Scalars['String']['input']>;\n /** Also known as purchase limit, usually around $125. $1000 max. */\n amountPerTransaction?: InputMaybe<Scalars['String']['input']>;\n /** Max dollar amount per week. 0 or null turns this restriction off. */\n amountPerWeek?: InputMaybe<Scalars['Int']['input']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: InputMaybe<Scalars['Boolean']['input']>;\n /** Deprecated. Define which days and times vehicles can transact at for fueling. */\n daysOfWeek?: InputMaybe<SpendRestrictionsDaysOfWeekInput>;\n /** Enforce spend estimation on this vehicle */\n enforceFuelSpendEstimation?: InputMaybe<Scalars['Boolean']['input']>;\n /** Deprecated, use direct spend restrictions settings */\n fuel?: InputMaybe<FuelRestrictionsInput>;\n /** Number of transactions. Between 1 and 5. */\n noOfTransactions?: InputMaybe<Scalars['Int']['input']>;\n predefinedRule?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type SpendRuleDataInput = {\n amount: Scalars['String']['input'];\n count: Scalars['Int']['input'];\n};\n\nexport type SpendRulesInput = {\n daily?: InputMaybe<SpendRuleDataInput>;\n monthly?: InputMaybe<SpendRuleDataInput>;\n weekly?: InputMaybe<SpendRuleDataInput>;\n yearly?: InputMaybe<SpendRuleDataInput>;\n};\n\nexport type SpendingInsightsInput = {\n entityId: Scalars['ID']['input'];\n periodType?: InputMaybe<TimePeriodType>;\n utcTimeFrom: Scalars['String']['input'];\n utcTimeTo: Scalars['String']['input'];\n};\n\nexport type SpendingInsightsOutput = {\n __typename?: 'SpendingInsightsOutput';\n driverSpending?: Maybe<Array<Maybe<DriverSpending>>>;\n driverSpendingInsights?: Maybe<Scalars['String']['output']>;\n gasPriceAverage?: Maybe<Scalars['String']['output']>;\n gasPriceInsights?: Maybe<Scalars['String']['output']>;\n gasPriceSeries?: Maybe<Array<Maybe<HashMap>>>;\n totalCurrentPeriod: Scalars['String']['output'];\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n totalSeries?: Maybe<Array<Maybe<HashMap>>>;\n vehicleSpending?: Maybe<Array<Maybe<VehicleSpending>>>;\n vehicleSpendingInsights?: Maybe<Scalars['String']['output']>;\n};\n\nexport type SpendingOverview = {\n __typename?: 'SpendingOverview';\n totalByServiceCurrentPeriod?: Maybe<Array<Maybe<HashMap>>>;\n totalCurrentPeriod: Scalars['String']['output'];\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n};\n\nexport type StandaloneCardCreateInput = {\n cards: Array<CardCreateDataInput>;\n entityId: Scalars['ID']['input'];\n spendRules?: InputMaybe<SpendRulesInput>;\n};\n\nexport type StoreCardCoFInput = {\n /** Encrypted Card info byte array encoded as Base64 string. */\n encryptedCard: Scalars['String']['input'];\n token: Scalars['String']['input'];\n};\n\nexport type StoreCardCoFOutput = {\n __typename?: 'StoreCardCoFOutput';\n id: Scalars['String']['output'];\n};\n\nexport type StringArrayHashMapInput = {\n key: Scalars['String']['input'];\n value: Array<InputMaybe<Scalars['String']['input']>>;\n};\n\nexport enum TimePeriodType {\n MonthToDate = 'MONTH_TO_DATE',\n Period = 'PERIOD',\n QuarterToDate = 'QUARTER_TO_DATE',\n WeekToDate = 'WEEK_TO_DATE',\n YearToDate = 'YEAR_TO_DATE'\n}\n\nexport type Transaction = {\n __typename?: 'Transaction';\n additionalInfo?: Maybe<AdditionalTransactionInfo>;\n currency?: Maybe<Scalars['String']['output']>;\n decisionStatus?: Maybe<DecisionStatus>;\n /** Driver information including phone number, name, organization id, vehicle groups, etc. */\n driver?: Maybe<User>;\n /** The entity of the transaction. */\n entity?: Maybe<Entity>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Information on the transaction such as the price, name, type, etc. */\n items?: Maybe<Array<Maybe<TransactionItem>>>;\n localTime?: Maybe<Scalars['String']['output']>;\n /** Information including the location on the service. */\n location?: Maybe<ServiceLocation>;\n pdfReceiptUrl?: Maybe<Scalars['String']['output']>;\n /** Latitude and longitude of the transaction. */\n position?: Maybe<Location>;\n /** The status of the transaction. */\n statuses?: Maybe<Array<Maybe<TransactionStatus>>>;\n subtotal?: Maybe<Scalars['String']['output']>;\n taxAmount?: Maybe<Scalars['String']['output']>;\n totalAmount?: Maybe<Scalars['String']['output']>;\n transactionNumber?: Maybe<Scalars['Int']['output']>;\n transactionTime?: Maybe<Scalars['String']['output']>;\n /** Realtime or invoice type. */\n type?: Maybe<TransactionType>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n vehicle?: Maybe<Vehicle>;\n /** The vehicle group of the transaction. */\n vehicleGroup?: Maybe<VehicleGroup>;\n};\n\nexport type TransactionFilterAdditionalOptions = {\n generatePdfReceipt?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type TransactionInsight = {\n __typename?: 'TransactionInsight';\n currency?: Maybe<Scalars['String']['output']>;\n driverId?: Maybe<Scalars['ID']['output']>;\n driverName?: Maybe<Scalars['String']['output']>;\n exceptions?: Maybe<Array<Maybe<Scalars['String']['output']>>>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n paymentType?: Maybe<Scalars['String']['output']>;\n serviceLocation?: Maybe<ServiceLocationInsights>;\n serviceType?: Maybe<Scalars['String']['output']>;\n status?: Maybe<Scalars['String']['output']>;\n subtotal?: Maybe<Scalars['String']['output']>;\n taxAmount?: Maybe<Scalars['String']['output']>;\n totalAmount?: Maybe<Scalars['String']['output']>;\n transactionTime?: Maybe<Scalars['String']['output']>;\n vehicleDescription?: Maybe<Scalars['String']['output']>;\n vehicleId?: Maybe<Scalars['ID']['output']>;\n vehicleMake?: Maybe<Scalars['String']['output']>;\n vehicleModel?: Maybe<Scalars['String']['output']>;\n vehicleName?: Maybe<Scalars['String']['output']>;\n vehicleYear?: Maybe<Scalars['String']['output']>;\n vin?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionItem = {\n __typename?: 'TransactionItem';\n amount?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n line?: Maybe<Scalars['String']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n productName?: Maybe<Scalars['String']['output']>;\n productTier?: Maybe<Scalars['String']['output']>;\n quantity?: Maybe<Scalars['String']['output']>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: Maybe<ServiceType>;\n transactionId?: Maybe<Scalars['ID']['output']>;\n unitPrice?: Maybe<Scalars['String']['output']>;\n units?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionPage = {\n __typename?: 'TransactionPage';\n /** List of transactions. */\n data?: Maybe<Transaction>;\n requestId?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionReport = {\n __typename?: 'TransactionReport';\n /** Data stream pertaining to the report. */\n data?: Maybe<Scalars['String']['output']>;\n /** Whether transactions exist in this report. */\n exists?: Maybe<Scalars['Boolean']['output']>;\n /** Filename of the report. */\n fileName?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionReportDownloadInput = {\n dateFrom?: InputMaybe<Scalars['String']['input']>;\n dateTo?: InputMaybe<Scalars['String']['input']>;\n id: Scalars['ID']['input'];\n month?: InputMaybe<Scalars['Int']['input']>;\n /** Download only one of the following: entity, vehicle, vehicle group, driver. */\n type: TransactionReportType;\n year?: InputMaybe<Scalars['Int']['input']>;\n};\n\n/** Which type to download the transaction report on. */\nexport enum TransactionReportType {\n Driver = 'DRIVER',\n Entity = 'ENTITY',\n Vehicle = 'VEHICLE',\n VehicleGroup = 'VEHICLE_GROUP'\n}\n\n/** How to order transactions in TransactionsFilter. */\nexport enum TransactionSortField {\n Amount = 'AMOUNT',\n DriverName = 'DRIVER_NAME',\n LocalTime = 'LOCAL_TIME',\n Time = 'TIME',\n VehicleDescription = 'VEHICLE_DESCRIPTION',\n VehicleName = 'VEHICLE_NAME'\n}\n\nexport type TransactionStatus = {\n __typename?: 'TransactionStatus';\n /** ID of aggregator, such as P97, VERRA, FISERV, ARRIVE, CARIQ_OPENLOOP, or AUTO_INTEGRATE. */\n aggregatorId?: Maybe<Scalars['ID']['output']>;\n details?: Maybe<TransactionStatusField>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Information on the transaction such as the price, name, type, etc. */\n items?: Maybe<Array<Maybe<TransactionItem>>>;\n /** Status values can be STARTED, PROVISIONING, PROCESSING, PROVISIONED, RESERVED, FINISHED, or a type of FAILURE_* */\n status?: Maybe<Scalars['String']['output']>;\n /** Information on the transaction such as subtotal, tax, total, and currency. */\n total?: Maybe<TransactionTotal>;\n transactionId?: Maybe<Scalars['ID']['output']>;\n};\n\nexport type TransactionStatusField = {\n __typename?: 'TransactionStatusField';\n response?: Maybe<TransactionStatusResponse>;\n};\n\nexport type TransactionStatusResponse = {\n __typename?: 'TransactionStatusResponse';\n kind?: Maybe<Scalars['String']['output']>;\n stringValue?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionTotal = {\n __typename?: 'TransactionTotal';\n currency?: Maybe<Scalars['String']['output']>;\n subtotal?: Maybe<Scalars['String']['output']>;\n tax?: Maybe<Scalars['String']['output']>;\n total?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum TransactionType {\n Invoice = 'INVOICE',\n Realtime = 'REALTIME',\n UnknownType = 'UNKNOWN_TYPE'\n}\n\nexport type TransactionUpdateInput = {\n /** Fields to update like jobCode. */\n options?: InputMaybe<TransactionUpdateOptionsInput>;\n /** ID of the transaction to update. */\n transactionId: Scalars['ID']['input'];\n};\n\nexport type TransactionUpdateOptionsInput = {\n jobCode: Scalars['String']['input'];\n};\n\nexport type TransactionsFilterInput = {\n /** Add a pdf receipt. */\n additionalOptions?: InputMaybe<TransactionFilterAdditionalOptions>;\n /** Filter on one of many items such as a user id, vin, vehicle id, entity id, etc. */\n filter: TransactionsFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Order by time, local time, veihcle name, driver name, etc and direction (asc, desc, etc). */\n sortOptions?: InputMaybe<TransactionsSortOptions>;\n};\n\nexport type TransactionsFilterOptions = {\n entityId?: InputMaybe<Scalars['ID']['input']>;\n fromDate?: InputMaybe<Scalars['String']['input']>;\n fromInsertedDate?: InputMaybe<Scalars['String']['input']>;\n fromLocalDate?: InputMaybe<Scalars['String']['input']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: InputMaybe<Array<InputMaybe<ServiceType>>>;\n toDate?: InputMaybe<Scalars['String']['input']>;\n toInsertedDate?: InputMaybe<Scalars['String']['input']>;\n toLocalDate?: InputMaybe<Scalars['String']['input']>;\n userId?: InputMaybe<Scalars['ID']['input']>;\n userIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n vehicleGroupExternalId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n vehicleId?: InputMaybe<Scalars['String']['input']>;\n vehicleIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n vin?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type TransactionsInsightsFilterOptions = {\n entityId: Scalars['ID']['input'];\n exceptionsOnly?: InputMaybe<Scalars['Boolean']['input']>;\n utcTimeFrom?: InputMaybe<Scalars['String']['input']>;\n utcTimeTo?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type TransactionsInsightsInput = {\n filter: TransactionsInsightsFilterOptions;\n page: PageRequest;\n sortOptions?: InputMaybe<TransactionsSortOptions>;\n};\n\nexport type TransactionsInsightsPage = {\n __typename?: 'TransactionsInsightsPage';\n data?: Maybe<Array<Maybe<TransactionInsight>>>;\n meta?: Maybe<PageMeta>;\n};\n\nexport type TransactionsOverviewInput = {\n entityId: Scalars['ID']['input'];\n periodType?: InputMaybe<TimePeriodType>;\n utcTimeFrom: Scalars['String']['input'];\n utcTimeTo: Scalars['String']['input'];\n};\n\nexport type TransactionsOverviewOutput = {\n __typename?: 'TransactionsOverviewOutput';\n exceptions?: Maybe<Array<Maybe<HashMap>>>;\n spending?: Maybe<SpendingOverview>;\n vehicles?: Maybe<VehiclesOverviewOutput>;\n};\n\nexport type TransactionsPage = {\n __typename?: 'TransactionsPage';\n /** List of transactions. */\n data?: Maybe<Array<Maybe<Transaction>>>;\n /** The pagination used to fulfill the response. */\n meta?: Maybe<PageMeta>;\n};\n\n/** Options to sort on TransactionsFilter */\nexport type TransactionsSortOptions = {\n /** Specify a direction to sort by such as asc and desc. */\n direction: SortDirection;\n /** Order by time, local time, vehicle name, driver name, etc. */\n orderBy: TransactionSortField;\n};\n\nexport type TransactionsStats = {\n __typename?: 'TransactionsStats';\n amountAvg?: Maybe<Scalars['String']['output']>;\n amountTotal?: Maybe<Scalars['String']['output']>;\n driversTotal?: Maybe<Scalars['Int']['output']>;\n driversTransacting?: Maybe<Scalars['Int']['output']>;\n gallonsTotal?: Maybe<Scalars['String']['output']>;\n vehiclesTotal?: Maybe<Scalars['Int']['output']>;\n vehiclesTransacting?: Maybe<Scalars['Int']['output']>;\n};\n\n/** Specify inputs to get transactions statistics on a given entity. */\nexport type TransactionsStatsInput = {\n entityId: Scalars['ID']['input'];\n localTimeFrom?: InputMaybe<Scalars['String']['input']>;\n localTimeTo?: InputMaybe<Scalars['String']['input']>;\n utcTimeFrom?: InputMaybe<Scalars['String']['input']>;\n utcTimeTo?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type TtpTokenizationInput = {\n deviceId: Scalars['String']['input'];\n requestId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type TtpTokenizationOutput = {\n __typename?: 'TtpTokenizationOutput';\n cardFlag?: Maybe<CardNetwork>;\n /** Account ID, can be a vehicleId, deviceId, or an asset */\n deviceAccountId?: Maybe<Scalars['String']['output']>;\n displayName?: Maybe<Scalars['String']['output']>;\n lastFourDigits?: Maybe<Scalars['String']['output']>;\n paymentProviderAccountId?: Maybe<Scalars['String']['output']>;\n programSupports?: Maybe<ProgramSupports>;\n requestId?: Maybe<Scalars['String']['output']>;\n success?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type User = {\n __typename?: 'User';\n /** Specifies if phone number is a corporate phone. */\n additionalInfo?: Maybe<UserAdditionalInfo>;\n email?: Maybe<Scalars['String']['output']>;\n employeeId?: Maybe<Scalars['String']['output']>;\n /** Entity the user belongs to. */\n entity?: Maybe<Entity>;\n /** Auth0 Id */\n externalId?: Maybe<Scalars['String']['output']>;\n firstName?: Maybe<Scalars['String']['output']>;\n fullName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n lastName?: Maybe<Scalars['String']['output']>;\n /** Email or phone */\n loginType?: Maybe<LoginType>;\n /** List of loyalty accounts for the user. */\n loyaltyAccounts?: Maybe<Array<Maybe<UserLoyaltyAccountForUser>>>;\n middleName?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['ID']['output']>;\n phoneNumber?: Maybe<Scalars['String']['output']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: Maybe<RoleType>;\n status?: Maybe<UserStatus>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** deprecated */\n username?: Maybe<Scalars['String']['output']>;\n /** Return a list of vehicle groups. */\n vehicleGroups?: Maybe<Array<Maybe<VehicleGroup>>>;\n};\n\nexport type UserActivationCodeSignUpInput = {\n activationCode: Scalars['String']['input'];\n firstName: Scalars['String']['input'];\n lastName: Scalars['String']['input'];\n phoneNumber: Scalars['String']['input'];\n};\n\nexport type UserAdditionalInfo = {\n __typename?: 'UserAdditionalInfo';\n /** Managers/dashboard user phone number that's not used for authentication */\n contactPhoneNumber?: Maybe<Scalars['String']['output']>;\n isCorporatePhone?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type UserCreateInput = {\n additionalInfo?: InputMaybe<AdditionalInfoInput>;\n /** Email is necessary for Manager Roles(Full Access and Read Only). */\n email?: InputMaybe<Scalars['String']['input']>;\n employeeId?: InputMaybe<Scalars['String']['input']>;\n entityId: Scalars['ID']['input'];\n firstName: Scalars['String']['input'];\n id?: InputMaybe<Scalars['ID']['input']>;\n lastName: Scalars['String']['input'];\n /** Auth method(email or phone) used by user */\n loginType?: InputMaybe<LoginType>;\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role: RoleType;\n};\n\nexport type UserForgotPasswordInput = {\n /** deprecated */\n username: Scalars['String']['input'];\n};\n\nexport type UserLoginInput = {\n client_id: Scalars['String']['input'];\n client_secret: Scalars['String']['input'];\n grant_type?: InputMaybe<Scalars['String']['input']>;\n password: Scalars['String']['input'];\n scope: Scalars['String']['input'];\n /** deprecated */\n username: Scalars['String']['input'];\n};\n\nexport enum UserLoginMethod {\n AppleSso = 'APPLE_SSO',\n EmailOtp = 'EMAIL_OTP',\n GoogleSso = 'GOOGLE_SSO',\n MagicLink = 'MAGIC_LINK',\n Password = 'PASSWORD',\n PhoneOtp = 'PHONE_OTP'\n}\n\nexport type UserLoginOtpRequestInput = {\n client_id: Scalars['String']['input'];\n client_secret: Scalars['String']['input'];\n /** SMS or Email */\n connection: ConnectionType;\n email?: InputMaybe<Scalars['String']['input']>;\n language?: InputMaybe<LanguageType>;\n /** Method to login such as PHONE_OTP, EMAIL_OTP, or EMAIL_MAGIC_LINK */\n method?: InputMaybe<UserLoginMethod>;\n phone_number?: InputMaybe<Scalars['String']['input']>;\n redirectUri?: InputMaybe<Scalars['String']['input']>;\n /** Code or Link */\n send: OtpType;\n};\n\nexport type UserLoginOtpVerifyInput = {\n client_id: Scalars['String']['input'];\n client_secret: Scalars['String']['input'];\n /** SMS or Email */\n connection: ConnectionType;\n email?: InputMaybe<Scalars['String']['input']>;\n otp: Scalars['String']['input'];\n phone_number?: InputMaybe<Scalars['String']['input']>;\n scope: Scalars['String']['input'];\n};\n\nexport type UserLoginUniversalInput = {\n redirectUri: Scalars['String']['input'];\n universalLoginClientId: Scalars['String']['input'];\n};\n\nexport type UserLoyaltyAccount = {\n __typename?: 'UserLoyaltyAccount';\n deletedAt?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n loyaltyId?: Maybe<Scalars['String']['output']>;\n loyaltyPhone?: Maybe<Scalars['String']['output']>;\n program?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n userId?: Maybe<Scalars['ID']['output']>;\n};\n\nexport type UserLoyaltyAccountAddInput = {\n loyaltyId: Scalars['String']['input'];\n loyaltyPhone?: InputMaybe<Scalars['String']['input']>;\n program: Scalars['String']['input'];\n};\n\nexport type UserLoyaltyAccountForUser = {\n __typename?: 'UserLoyaltyAccountForUser';\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n loyaltyId?: Maybe<Scalars['String']['output']>;\n loyaltyPhone?: Maybe<Scalars['String']['output']>;\n program?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n userId?: Maybe<Scalars['ID']['output']>;\n};\n\nexport type UserNotificationTokenUpdateOutput = {\n __typename?: 'UserNotificationTokenUpdateOutput';\n error?: Maybe<Scalars['Boolean']['output']>;\n message?: Maybe<Scalars['String']['output']>;\n};\n\nexport type UserRefreshTokenInput = {\n client_id: Scalars['String']['input'];\n client_secret: Scalars['String']['input'];\n grant_type?: InputMaybe<Scalars['String']['input']>;\n refresh_token: Scalars['String']['input'];\n scope: Scalars['String']['input'];\n};\n\nexport type UserRole = {\n __typename?: 'UserRole';\n entity?: Maybe<Entity>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: Maybe<Role>;\n user?: Maybe<User>;\n};\n\nexport type UserRoleInput = {\n entityId: Scalars['ID']['input'];\n roleId?: InputMaybe<Scalars['ID']['input']>;\n roleName?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type UserSetPasswordInput = {\n id: Scalars['String']['input'];\n password: Scalars['String']['input'];\n};\n\n/** Status of a given user. */\nexport enum UserStatus {\n /** Also known as offboarded */\n Deactivated = 'DEACTIVATED',\n Deleted = 'DELETED',\n Invited = 'INVITED',\n LockedOut = 'LOCKED_OUT',\n Onboarded = 'ONBOARDED',\n Unknown = 'UNKNOWN'\n}\n\nexport type UserUpdateInput = {\n additionalInfo?: InputMaybe<AdditionalInfoInput>;\n email?: InputMaybe<Scalars['String']['input']>;\n employeeId?: InputMaybe<Scalars['String']['input']>;\n firstName?: InputMaybe<Scalars['String']['input']>;\n id: Scalars['ID']['input'];\n lastName?: InputMaybe<Scalars['String']['input']>;\n /** Auth method(email or phone) used by user */\n loginType?: InputMaybe<LoginType>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role: RoleType;\n};\n\nexport type UsersFilterInput = {\n /** Filter on username, external id, entity id, vehicle group id, user role, or user statuses. */\n filter: UsersFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Order by firt name, last name, email, phone number, or status and the direction (desc, asc). */\n sortOptions?: InputMaybe<UsersSortOptions>;\n};\n\nexport type UsersFilterOptions = {\n email?: InputMaybe<Scalars['String']['input']>;\n entityId?: InputMaybe<Scalars['ID']['input']>;\n /** Auth0 Id, if specified, will only apply filter using externalId */\n externalId?: InputMaybe<Scalars['String']['input']>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: InputMaybe<RoleType>;\n roles?: InputMaybe<Array<InputMaybe<RoleType>>>;\n statuses?: InputMaybe<Array<InputMaybe<UserStatus>>>;\n /** deprecated */\n username?: InputMaybe<Scalars['String']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n};\n\nexport type UsersPage = {\n __typename?: 'UsersPage';\n /** Returns a list of users. */\n data?: Maybe<Array<Maybe<User>>>;\n /** The pagination used to fulfill the response. */\n meta?: Maybe<PageMeta>;\n};\n\nexport enum UsersSortField {\n Email = 'EMAIL',\n FirstName = 'FIRST_NAME',\n LastName = 'LAST_NAME',\n PhoneNumber = 'PHONE_NUMBER',\n Status = 'STATUS'\n}\n\nexport type UsersSortOptions = {\n /** Specify a direction such as desc or asc. */\n direction: SortDirection;\n /** Sort on first name, last name, email, phone number, or status. */\n orderBy: UsersSortField;\n};\n\nexport type ValidateTokenCoFInput = {\n token: Scalars['String']['input'];\n};\n\nexport type ValidateTokenCoFOutput = {\n __typename?: 'ValidateTokenCoFOutput';\n /** Public Key byte array encoded as Base64 string. */\n publicKey: Scalars['String']['output'];\n token: Scalars['String']['output'];\n};\n\nexport type Vehicle = {\n __typename?: 'Vehicle';\n createdAt?: Maybe<Scalars['String']['output']>;\n /** Details on a vehicle such as model, make, year, trim, manufacture plant, and number of doors. */\n details?: Maybe<VehicleDetails>;\n driverCount?: Maybe<Scalars['Int']['output']>;\n /** Environment of vehicle such as outside air tempurature, engine oil tempurature, and coolant tempurature. */\n environment?: Maybe<VehicleEnvironment>;\n /** Information of the vehicle's fuel such as the level, percent, and fuel used on current trip. */\n fuel?: Maybe<VehicleFuel>;\n id?: Maybe<Scalars['ID']['output']>;\n lastTransactionDate?: Maybe<Scalars['String']['output']>;\n /** Location of vehicle (lat, long) and information about the satellite. */\n location?: Maybe<VehicleLocation>;\n /** Mechanical information on the vehicle such as if the ignition is on, engine speed, tire pressure of each tire, and engine oil life remaining. */\n mechanical?: Maybe<VehicleMechanical>;\n /** Information on movement of vehicle such as if it's driving, odometer, and speed. */\n movement?: Maybe<VehicleMovement>;\n registrationData?: Maybe<Scalars['JSONObject']['output']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: Maybe<Array<Maybe<ServiceType>>>;\n /** Information on the vehicle such as name, serial number, source, license plate, imei, etc. */\n type?: Maybe<VehicleType>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** Information on the vehicle group that this vehicle belongs to you. */\n vehicleGroup?: Maybe<VehicleGroup>;\n vin: Scalars['String']['output'];\n};\n\n/** Create a vehicle using the vin. */\nexport type VehicleCreateInput = {\n vin: Scalars['String']['input'];\n};\n\nexport enum VehicleDataType {\n Unknown = 'UNKNOWN',\n VehicleOffline = 'VEHICLE_OFFLINE',\n VehicleOnline = 'VEHICLE_ONLINE'\n}\n\nexport type VehicleDetails = {\n __typename?: 'VehicleDetails';\n bodySubtype?: Maybe<Scalars['String']['output']>;\n bodyType?: Maybe<Scalars['String']['output']>;\n brakeSystem?: Maybe<Scalars['String']['output']>;\n colorExterior?: Maybe<Scalars['String']['output']>;\n colorExteriorCode?: Maybe<Scalars['String']['output']>;\n colorExteriorGeneric?: Maybe<Scalars['String']['output']>;\n colorExteriorHex?: Maybe<Scalars['String']['output']>;\n colorInterior?: Maybe<Scalars['String']['output']>;\n colorInteriorCode?: Maybe<Scalars['String']['output']>;\n colorInteriorGeneric?: Maybe<Scalars['String']['output']>;\n colorInteriorHex?: Maybe<Scalars['String']['output']>;\n description?: Maybe<Scalars['String']['output']>;\n destinationCharge?: Maybe<Scalars['String']['output']>;\n doors?: Maybe<Scalars['Int']['output']>;\n driveType?: Maybe<Scalars['String']['output']>;\n fuelTankCapacityPrimary?: Maybe<Scalars['Float']['output']>;\n fuelTankCapacitySecondary?: Maybe<Scalars['Float']['output']>;\n gasGuzzlerTax?: Maybe<Scalars['String']['output']>;\n /** Information on the image such as the thumbnail path, mid size path, and angle description. */\n image?: Maybe<VehicleImage>;\n invoicePrice?: Maybe<Scalars['String']['output']>;\n make?: Maybe<Scalars['String']['output']>;\n manufactureCountry?: Maybe<Scalars['String']['output']>;\n manufacturePlant?: Maybe<Scalars['String']['output']>;\n market?: Maybe<Scalars['String']['output']>;\n model?: Maybe<Scalars['String']['output']>;\n modelNumber?: Maybe<Scalars['String']['output']>;\n msrp?: Maybe<Scalars['String']['output']>;\n oemBodyStyle?: Maybe<Scalars['String']['output']>;\n oemDoors?: Maybe<Scalars['Int']['output']>;\n packageCode?: Maybe<Scalars['String']['output']>;\n restraintType?: Maybe<Scalars['String']['output']>;\n trim?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n vehicleType?: Maybe<Scalars['String']['output']>;\n year?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleEnvironment = {\n __typename?: 'VehicleEnvironment';\n barometricPressure?: Maybe<Scalars['Float']['output']>;\n engineCoolantTemp?: Maybe<Scalars['Float']['output']>;\n engineOilTemp?: Maybe<Scalars['Float']['output']>;\n outsideAirTemp?: Maybe<Scalars['Float']['output']>;\n outsideAirTempRaw?: Maybe<Scalars['Float']['output']>;\n transmissionOilTemp?: Maybe<Scalars['Float']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleFieldsAddInput = {\n dataType?: InputMaybe<DataType>;\n displayContexts?: InputMaybe<VehicleFieldsDisplayContextsInput>;\n fieldDescription?: InputMaybe<Scalars['String']['input']>;\n fieldKey?: InputMaybe<Scalars['String']['input']>;\n fieldName?: InputMaybe<Scalars['String']['input']>;\n ordinalNumber?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type VehicleFieldsConfiguration = {\n __typename?: 'VehicleFieldsConfiguration';\n dataType?: Maybe<DataType>;\n deletedAt?: Maybe<Scalars['String']['output']>;\n displayContexts?: Maybe<VehicleFieldsDisplayContexts>;\n fieldDescription?: Maybe<Scalars['String']['output']>;\n fieldKey?: Maybe<Scalars['String']['output']>;\n fieldName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['String']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n ordinalNumber?: Maybe<Scalars['Int']['output']>;\n organizationId?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum VehicleFieldsDirection {\n Asc = 'ASC',\n Desc = 'DESC'\n}\n\nexport type VehicleFieldsDisplayContexts = {\n __typename?: 'VehicleFieldsDisplayContexts';\n console?: Maybe<Scalars['Boolean']['output']>;\n statementReport?: Maybe<Scalars['Boolean']['output']>;\n transactionReport?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type VehicleFieldsDisplayContextsInput = {\n console?: InputMaybe<Scalars['Boolean']['input']>;\n statementReport?: InputMaybe<Scalars['Boolean']['input']>;\n transactionReport?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type VehicleFieldsInput = {\n direction?: InputMaybe<VehicleFieldsDirection>;\n orderBy?: InputMaybe<VehicleFieldsOrderBy>;\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n};\n\nexport enum VehicleFieldsOrderBy {\n Name = 'NAME',\n OrdinalNumber = 'ORDINAL_NUMBER'\n}\n\nexport type VehicleFieldsPage = {\n __typename?: 'VehicleFieldsPage';\n data?: Maybe<Array<Maybe<VehicleFieldsConfiguration>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type VehicleFieldsUpdateInput = {\n dataType?: InputMaybe<DataType>;\n displayContexts?: InputMaybe<VehicleFieldsDisplayContextsInput>;\n fieldDescription?: InputMaybe<Scalars['String']['input']>;\n fieldName?: InputMaybe<Scalars['String']['input']>;\n /** UUID for field to update */\n id?: InputMaybe<Scalars['ID']['input']>;\n ordinalNumber?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type VehicleFuel = {\n __typename?: 'VehicleFuel';\n level?: Maybe<Scalars['Float']['output']>;\n percent?: Maybe<Scalars['Float']['output']>;\n totalUsed?: Maybe<Scalars['Float']['output']>;\n tripUsed?: Maybe<Scalars['Float']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleGroup = {\n __typename?: 'VehicleGroup';\n code?: Maybe<Scalars['String']['output']>;\n /** Description of a vehicle group. */\n description?: Maybe<Scalars['String']['output']>;\n /** Number of drivers in this vehicle group. */\n driverCount?: Maybe<Scalars['Int']['output']>;\n /** Entity information on this vehicle group. */\n entity?: Maybe<Entity>;\n externalId?: Maybe<Scalars['String']['output']>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Date of last transaction. */\n lastTransactionDate?: Maybe<Scalars['String']['output']>;\n /** Name of the vehicle group. */\n name?: Maybe<Scalars['String']['output']>;\n /** Organization information on this vehicle group. */\n organization?: Maybe<Organization>;\n /** Services allowed on the entity: tolling, fueling, etc */\n policies?: Maybe<Array<Maybe<Policy>>>;\n /** Settings for enabling job code and driver entered odometer */\n settings?: Maybe<VehicleGroupSettings>;\n /** Spend restrictions on this vehicle group such as amount per day, amount per transaction, no of transaction, days of week and times to enabled fuel use. */\n spendRestrictions?: Maybe<SpendRestrictions>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** Number of vehicles in this vehicle group. */\n vehicleCount?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type VehicleGroupCreateInput = {\n /** Vehicle group description. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** Enabled driver entering odometer. */\n driverEnteredOdometerEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Drivers included in this vehicle group. */\n drivers?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;\n /** Entity that this vehicle group will belong to. */\n entityId?: InputMaybe<Scalars['ID']['input']>;\n externalId?: InputMaybe<Scalars['String']['input']>;\n /** Enable adding Job Code to transactions. */\n jobCodeEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Job code entry option, which defines whether the job code is predefined or freeform. */\n jobCodeEntryOption?: InputMaybe<JobCodeEntryOptionEnum>;\n /** Enable job code entry being optional. */\n jobCodeEntryOptional?: InputMaybe<Scalars['Boolean']['input']>;\n /** A list of job code values/options for the vehicle group. */\n jobCodeOptions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n /** Name of vehicle group. */\n name: Scalars['String']['input'];\n /** Organization that this vehicle group will belong to. */\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n /** Define spend restrictions for input such as amount per day, amount per transaction, no of transaction, days of week and times to enabled fuel use. */\n spendRestrictions?: InputMaybe<SpendRestrictionsInput>;\n /** Vehicles included in this vehicle group. */\n vehicles?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;\n};\n\nexport type VehicleGroupDriversAddInput = {\n drivers: Array<Scalars['ID']['input']>;\n vehicleGroupId: Scalars['ID']['input'];\n};\n\nexport type VehicleGroupDriversRemoveInput = {\n drivers: Array<Scalars['ID']['input']>;\n vehicleGroupId: Scalars['ID']['input'];\n};\n\nexport type VehicleGroupSettings = {\n __typename?: 'VehicleGroupSettings';\n /** Allow driver to enter odometer. */\n driverEnteredOdometerEnabled?: Maybe<Scalars['Boolean']['output']>;\n /** Allow the job code to be editable. */\n jobCodeEnabled?: Maybe<Scalars['Boolean']['output']>;\n /** Job code entry option, which defines whether the job code is predefined or freeform. */\n jobCodeEntryOption?: Maybe<JobCodeEntryOptionEnum>;\n /** Enable job code entry being optional. */\n jobCodeEntryOptional?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type VehicleGroupSpendRestrictionsSetInput = {\n /** Define spend restrictions for input such as amount per day, amount per transaction, no of transaction, days of week and times to enabled fuel use. */\n spendRestrictions: SpendRestrictionsInput;\n /** Vehicle group id to set the spend restrictions on. */\n vehicleGroupId: Scalars['ID']['input'];\n};\n\nexport type VehicleGroupUpdateInput = {\n /** Update the description on a vehicle group. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** Enabled driver entering odometer. */\n driverEnteredOdometerEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Update the external id on a vehicle group. */\n externalId?: InputMaybe<Scalars['String']['input']>;\n /** Id for the vehicle group to update. */\n id: Scalars['ID']['input'];\n /** Enable adding Job Code to transactions. */\n jobCodeEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Job code entry option, which defines whether the job code is predefined or freeform. */\n jobCodeEntryOption?: InputMaybe<JobCodeEntryOptionEnum>;\n /** Enable job code entry being optional. */\n jobCodeEntryOptional?: InputMaybe<Scalars['Boolean']['input']>;\n /** A list of job code values/options for the vehicle group. */\n jobCodeOptions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n /** Update the name on a vehicle group. */\n name: Scalars['String']['input'];\n};\n\nexport type VehicleGroupVehiclesAddInput = {\n vehicleGroupId: Scalars['ID']['input'];\n vehicles: Array<Scalars['ID']['input']>;\n};\n\nexport type VehicleGroupVehiclesRemoveInput = {\n vehicleGroupId: Scalars['ID']['input'];\n vehicles: Array<Scalars['ID']['input']>;\n};\n\nexport type VehicleGroupsFilterInput = {\n /** Filter on values such as driver id and entity id, and whether to include children and whether to include spend controls. */\n filter: VehicleGroupsFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Sort options to be able to order by name, description, vehicle count, driver count, and last transaction date. You can also specify sort location such as ascending and descending. */\n sortOptions?: InputMaybe<VehicleGroupsSortOptions>;\n};\n\n/** Filter options for vehicleGroupsFilter */\nexport type VehicleGroupsFilterOptions = {\n /** Filter on a driver id. */\n driverId?: InputMaybe<Scalars['ID']['input']>;\n /** Filter on an entity id. */\n entityId?: InputMaybe<Scalars['ID']['input']>;\n /** Include child entities in the filter. */\n includeChildren?: InputMaybe<Scalars['Boolean']['input']>;\n includeSpendControls?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type VehicleGroupsPage = {\n __typename?: 'VehicleGroupsPage';\n /** Returns a list of vehicle groups. */\n data?: Maybe<Array<Maybe<VehicleGroup>>>;\n /** The pagination used to fulfill the response. */\n meta?: Maybe<PageMeta>;\n};\n\nexport enum VehicleGroupsSortField {\n Description = 'DESCRIPTION',\n DriverCount = 'DRIVER_COUNT',\n LastTransactionDate = 'LAST_TRANSACTION_DATE',\n Name = 'NAME',\n VehicleCount = 'VEHICLE_COUNT'\n}\n\nexport type VehicleGroupsSortOptions = {\n /** Sort by direction such as ascending or descending. */\n direction: SortDirection;\n /** Order by the following values: name, description, vehicle count, driver count, and last transaction date. */\n orderBy: VehicleGroupsSortField;\n};\n\nexport type VehicleImage = {\n __typename?: 'VehicleImage';\n angleDescription?: Maybe<Scalars['String']['output']>;\n angleId?: Maybe<Scalars['String']['output']>;\n fullsizePath?: Maybe<Scalars['String']['output']>;\n midsizePath?: Maybe<Scalars['String']['output']>;\n thumbnailPath?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleImages = {\n __typename?: 'VehicleImages';\n fullsizePath?: Maybe<Scalars['String']['output']>;\n midsizePath?: Maybe<Scalars['String']['output']>;\n thumbnailPath?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleLocation = {\n __typename?: 'VehicleLocation';\n fixStatus?: Maybe<Scalars['String']['output']>;\n /** Horizontal Dilution Of Precision. Determines relative accuracy of a horizontal position. */\n hdop?: Maybe<Scalars['Float']['output']>;\n /** Latitude and Longitude of the vehicle. */\n position?: Maybe<Location>;\n /** Received Signal Strength Indicator. Indicates the strength of the device's signal. */\n rssi?: Maybe<Scalars['Float']['output']>;\n satellites?: Maybe<Scalars['Int']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleMechanical = {\n __typename?: 'VehicleMechanical';\n deviceVoltage?: Maybe<Scalars['Float']['output']>;\n distanceSinceCodesCleared?: Maybe<Scalars['Float']['output']>;\n engineOilLifeRemaining?: Maybe<Scalars['Int']['output']>;\n engineOperationalTime?: Maybe<Scalars['Float']['output']>;\n engineSpeed?: Maybe<Scalars['Float']['output']>;\n fuelFilterLifeRemaining?: Maybe<Scalars['Int']['output']>;\n isIgnitionOn?: Maybe<Scalars['Boolean']['output']>;\n throttlePosition?: Maybe<Scalars['Float']['output']>;\n tirePressureFl?: Maybe<Scalars['Float']['output']>;\n tirePressureFr?: Maybe<Scalars['Float']['output']>;\n tirePressureRl?: Maybe<Scalars['Float']['output']>;\n tirePressureRr?: Maybe<Scalars['Float']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n warmupSinceCodesCleared?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type VehicleMovement = {\n __typename?: 'VehicleMovement';\n accelerationLinear?: Maybe<Scalars['Float']['output']>;\n accelerationSide?: Maybe<Scalars['Float']['output']>;\n accelerationVertical?: Maybe<Scalars['Float']['output']>;\n engineRoadSpeed?: Maybe<Scalars['Float']['output']>;\n heading?: Maybe<Scalars['Float']['output']>;\n /** Whether the vehicle is currently being driven. */\n isDriving?: Maybe<Scalars['Boolean']['output']>;\n /** Oodometer of the vehicle using geotab. */\n odometer?: Maybe<Scalars['Float']['output']>;\n /** An estimate of the odometer. */\n odometerCalculated?: Maybe<Scalars['Float']['output']>;\n speed?: Maybe<Scalars['Float']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleSpending = {\n __typename?: 'VehicleSpending';\n driversCount?: Maybe<Scalars['Int']['output']>;\n id: Scalars['ID']['output'];\n name: Scalars['String']['output'];\n percentageChange?: Maybe<Scalars['String']['output']>;\n totalCurrentPeriod?: Maybe<Scalars['String']['output']>;\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n transactionsCount?: Maybe<Scalars['Int']['output']>;\n vin: Scalars['String']['output'];\n};\n\nexport enum VehicleStatus {\n Offboarded = 'OFFBOARDED',\n Onboarded = 'ONBOARDED',\n Pending = 'PENDING'\n}\n\nexport type VehicleType = {\n __typename?: 'VehicleType';\n /** Custom Fields for this Vehicle */\n customFields?: Maybe<Array<Maybe<HashMap>>>;\n /** Type to specify if the vehicle is online or offline. */\n dataType?: Maybe<VehicleDataType>;\n /** Vehicle device id */\n imei?: Maybe<Scalars['String']['output']>;\n /** Deprecated */\n internalDescription?: Maybe<Scalars['String']['output']>;\n /** Deprecated */\n internalNumber?: Maybe<Scalars['String']['output']>;\n /** Deprecated */\n licensePlate?: Maybe<Scalars['String']['output']>;\n /** Deprecated */\n licensePlateState?: Maybe<Scalars['String']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n serialNumber?: Maybe<Scalars['String']['output']>;\n source?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\n/** Update a vehicle's information. */\nexport type VehicleUpdateInput = {\n /** Custom Fields for Vehicle */\n customFields?: InputMaybe<Array<InputMaybe<HashMapInput>>>;\n /** Update the vehicle description. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** Id of the vehicle to update. */\n id: Scalars['ID']['input'];\n /** Update the vehicles's license plate. */\n licensePlate?: InputMaybe<Scalars['String']['input']>;\n /** Update the vehicles's license plate state. */\n licensePlateState?: InputMaybe<Scalars['String']['input']>;\n number?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type VehiclesByLocationFilterOptions = {\n /** Search query to search on vehicle details , vehicle_type, vin and internal metadata */\n searchQuery?: InputMaybe<Scalars['String']['input']>;\n /** Filter using a geolocation point and radius. */\n withinRadius: RadiusFilter;\n};\n\nexport type VehiclesFilterByLocationInput = {\n /** Filter vehicles by a geolocation point and radius. */\n filter: VehiclesByLocationFilterOptions;\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n};\n\nexport type VehiclesFilterInput = {\n /** Filter vehicles on user id, entity id, vehicle group id, or vin number. */\n filter: VehiclesFilterOptions;\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n /** Sort by ordering on name, description, number, driver count, fuel level, or transactions date. Specify directions such as ascending or descending. */\n sortOptions?: InputMaybe<VehiclesSortOptions>;\n};\n\n/** Filter for vehiclesFilter query */\nexport type VehiclesFilterOptions = {\n entityId?: InputMaybe<Scalars['ID']['input']>;\n userId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n vin?: InputMaybe<Scalars['String']['input']>;\n};\n\n/** Onboard vehicles to the platform. */\nexport type VehiclesOnboardInput = {\n /** Custom Fields for Vehicle */\n customFields?: InputMaybe<Array<InputMaybe<HashMapInput>>>;\n /** Vehicle's description. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** Id of the vehicle to onboard. */\n id?: InputMaybe<Scalars['ID']['input']>;\n /** Vehicles's license plate. */\n licensePlate?: InputMaybe<Scalars['String']['input']>;\n /** Vehicles's license plate state. */\n licensePlateState?: InputMaybe<Scalars['String']['input']>;\n /** Vehicle's number. */\n number?: InputMaybe<Scalars['String']['input']>;\n /** Vehicle Group Id */\n vehicleGroupId: Scalars['ID']['input'];\n /** Vehicle's VIN. */\n vin?: InputMaybe<Scalars['String']['input']>;\n};\n\n/** Onboard vehicles to the platform. */\nexport type VehiclesOnboardInputList = {\n vehicles?: InputMaybe<Array<InputMaybe<VehiclesOnboardInput>>>;\n};\n\n/** Output of the vehicles onboard. */\nexport type VehiclesOnboardOutput = {\n __typename?: 'VehiclesOnboardOutput';\n /** Error message in case of a problem during onboard. */\n error?: Maybe<Scalars['String']['output']>;\n /** Id of the vehicle to onboard. */\n id?: Maybe<Scalars['ID']['output']>;\n /** Was vehicle onboarded successfully. */\n success?: Maybe<Scalars['Boolean']['output']>;\n /** Vehicle Group Id */\n vehicleGroupId: Scalars['ID']['output'];\n /** Vehicle's VIN. */\n vin?: Maybe<Scalars['String']['output']>;\n};\n\n/** Output of the vehicles onboard. */\nexport type VehiclesOnboardOutputList = {\n __typename?: 'VehiclesOnboardOutputList';\n vehicles?: Maybe<Array<Maybe<VehiclesOnboardOutput>>>;\n};\n\nexport type VehiclesOverviewOutput = {\n __typename?: 'VehiclesOverviewOutput';\n onboarded?: Maybe<Scalars['Int']['output']>;\n transacting?: Maybe<Scalars['Int']['output']>;\n transactingByService?: Maybe<Array<Maybe<HashMap>>>;\n};\n\nexport type VehiclesPage = {\n __typename?: 'VehiclesPage';\n /** List of vehicles for vehiclesFilter. */\n data?: Maybe<Array<Maybe<Vehicle>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\n/** Order on options for filtering on vehicles. */\nexport enum VehiclesSortField {\n Description = 'DESCRIPTION',\n DriverCount = 'DRIVER_COUNT',\n FuelLevel = 'FUEL_LEVEL',\n LastTransactionDate = 'LAST_TRANSACTION_DATE',\n Name = 'NAME',\n Number = 'NUMBER'\n}\n\nexport type VehiclesSortOptions = {\n /** Direction to sort in such as ascneding or descending */\n direction: SortDirection;\n /** Order on name, description, number, driver count, fuel level, or transactions date. */\n orderBy: VehiclesSortField;\n};\n\nexport type VehiclesWithTelematicsNotEnrolledInput = {\n /** Last updated at timestamp, default is Jan 1 0001 */\n lastUpdatedAt?: InputMaybe<Scalars['String']['input']>;\n searchVehicleType?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type VehiclesWithTelematicsNotEnrolledOutput = {\n __typename?: 'VehiclesWithTelematicsNotEnrolledOutput';\n vehicles?: Maybe<Array<Maybe<Vehicle>>>;\n};\n\nexport type VoyagerCardData = {\n __typename?: 'VoyagerCardData';\n lastFour?: Maybe<Scalars['String']['output']>;\n tiedId?: Maybe<Scalars['String']['output']>;\n type?: Maybe<VoyagerCardType>;\n};\n\nexport enum VoyagerCardType {\n Driver = 'DRIVER',\n Vehicle = 'VEHICLE'\n}\n\nexport type AdditionalServicePayInfoInput = {\n /** Job Code to attach to this transaction. */\n jobCode?: InputMaybe<Scalars['String']['input']>;\n /** Odometer to attach to this transaction. */\n odometer?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type ApiKeyCreateMutationVariables = Exact<{\n input: ApiKeyCreateInput;\n}>;\n\n\nexport type ApiKeyCreateMutation = { __typename?: 'Mutation', apiKeyCreate?: { __typename?: 'ApiKeyCreateOutput', apiKey: string } | null };\n\nexport type ClientOnboardMutationVariables = Exact<{\n input: ClientOnboardInput;\n}>;\n\n\nexport type ClientOnboardMutation = { __typename?: 'Mutation', clientOnboard?: { __typename?: 'Entity', id: string, name?: string | null, externalId?: string | null, insertedAt?: string | null, updatedAt?: string | null, deletedAt?: string | null } | null };\n\nexport type OrganizationCreateMutationVariables = Exact<{\n input: OrganizationCreateInput;\n}>;\n\n\nexport type OrganizationCreateMutation = { __typename?: 'Mutation', organizationCreate?: { __typename?: 'Organization', id: string, name?: string | null, onboardedAt?: string | null, onboardedBy?: string | null, insertedAt?: string | null, updatedAt?: string | null, deletedAt?: string | null, address?: { __typename?: 'Address', line1?: string | null, line2?: string | null, city?: string | null, state?: string | null, country?: string | null, zip?: string | null } | null } | null };\n\nexport type EntityCreateMutationVariables = Exact<{\n input: EntityCreateInput;\n}>;\n\n\nexport type EntityCreateMutation = { __typename?: 'Mutation', entityCreate?: { __typename?: 'Entity', id: string, name?: string | null, description?: string | null, externalId?: string | null, parentId?: string | null, hasFinance?: boolean | null, funding?: FundingSource | null, insertedAt?: string | null, updatedAt?: string | null } | null };\n\nexport type EntityGetExternalIdQueryVariables = Exact<{\n externalId?: InputMaybe<Scalars['String']['input']>;\n}>;\n\n\nexport type EntityGetExternalIdQuery = { __typename?: 'Query', entity?: { __typename?: 'Entity', id: string, name?: string | null, description?: string | null, externalId?: string | null, hasFinance?: boolean | null, code?: string | null, path?: string | null, funding?: FundingSource | null, insertedAt?: string | null, updatedAt?: string | null, deletedAt?: string | null, costFactor?: number | null, parent?: { __typename?: 'Entity', id: string, name?: string | null, description?: string | null } | null, organization?: { __typename?: 'Organization', id: string, name?: string | null } | null, financialConfig?: { __typename?: 'FinancialConfig', id: string, entityId: string, accountType?: AccountType | null, issuerBin?: string | null, insertedAt?: string | null, updatedAt?: string | null, paymentProvider?: { __typename?: 'PaymentProvider', id: string, name?: string | null, slug?: string | null, insertedAt?: string | null, updatedAt?: string | null } | null } | null } | null };\n\nexport type MachineTokenizeUserMutationVariables = Exact<{\n input?: InputMaybe<MachineTokenizeUserInput>;\n}>;\n\n\nexport type MachineTokenizeUserMutation = { __typename?: 'Mutation', machineTokenizeUser?: { __typename?: 'MachineUserToken', access_token: string, expires_in: number } | null };\n\nexport type StandaloneCardCreateMutationVariables = Exact<{\n input: StandaloneCardCreateInput;\n}>;\n\n\nexport type StandaloneCardCreateMutation = { __typename?: 'Mutation', standaloneCardCreate: { __typename?: 'BooleanSuccessOutput', success: boolean } };\n\nexport type UserCreateMutationVariables = Exact<{\n input: UserCreateInput;\n}>;\n\n\nexport type UserCreateMutation = { __typename?: 'Mutation', userCreate?: { __typename?: 'User', id?: string | null, firstName?: string | null, lastName?: string | null, middleName?: string | null, fullName?: string | null, email?: string | null, phoneNumber?: string | null, employeeId?: string | null, role?: RoleType | null, status?: UserStatus | null, loginType?: LoginType | null, externalId?: string | null, organizationId?: string | null, insertedAt?: string | null, updatedAt?: string | null } | null };\n\nexport type UserOffboardMutationVariables = Exact<{\n input: Scalars['ID']['input'];\n}>;\n\n\nexport type UserOffboardMutation = { __typename?: 'Mutation', userOffboard?: string | null };\n\nexport type UserUpdateMutationVariables = Exact<{\n input: UserUpdateInput;\n}>;\n\n\nexport type UserUpdateMutation = { __typename?: 'Mutation', userUpdate?: { __typename?: 'User', id?: string | null, firstName?: string | null, lastName?: string | null, email?: string | null, phoneNumber?: string | null, employeeId?: string | null, role?: RoleType | null, status?: UserStatus | null } | null };\n\nexport type VehicleGroupCreateMutationVariables = Exact<{\n input: VehicleGroupCreateInput;\n}>;\n\n\nexport type VehicleGroupCreateMutation = { __typename?: 'Mutation', vehicleGroupCreate?: { __typename?: 'IndividualVehicleGroup', id: string, code?: string | null, name?: string | null, description?: string | null, externalId?: string | null, driverCount?: number | null, vehicleCount?: number | null, insertedAt?: string | null, updatedAt?: string | null } | null };\n\nexport type VehicleGroupDeleteMutationVariables = Exact<{\n id: Scalars['ID']['input'];\n}>;\n\n\nexport type VehicleGroupDeleteMutation = { __typename?: 'Mutation', vehicleGroupDelete?: string | null };\n\nexport type VehicleGroupDriversAddMutationVariables = Exact<{\n input: VehicleGroupDriversAddInput;\n}>;\n\n\nexport type VehicleGroupDriversAddMutation = { __typename?: 'Mutation', vehicleGroupDriversAdd?: { __typename?: 'VehicleGroup', id: string, name?: string | null, description?: string | null, externalId?: string | null, driverCount?: number | null, vehicleCount?: number | null, insertedAt?: string | null, updatedAt?: string | null } | null };\n\nexport type VehicleGroupDriversRemoveMutationVariables = Exact<{\n input: VehicleGroupDriversRemoveInput;\n}>;\n\n\nexport type VehicleGroupDriversRemoveMutation = { __typename?: 'Mutation', vehicleGroupDriversRemove?: { __typename?: 'VehicleGroup', id: string, name?: string | null, description?: string | null, externalId?: string | null, driverCount?: number | null, vehicleCount?: number | null, insertedAt?: string | null, updatedAt?: string | null } | null };\n\nexport type VehicleGroupVehiclesAddMutationVariables = Exact<{\n input: VehicleGroupVehiclesAddInput;\n}>;\n\n\nexport type VehicleGroupVehiclesAddMutation = { __typename?: 'Mutation', vehicleGroupVehiclesAdd?: { __typename?: 'VehicleGroup', id: string, name?: string | null, description?: string | null, externalId?: string | null, driverCount?: number | null, vehicleCount?: number | null, insertedAt?: string | null, updatedAt?: string | null } | null };\n\nexport type VehicleGroupVehiclesRemoveMutationVariables = Exact<{\n input: VehicleGroupVehiclesRemoveInput;\n}>;\n\n\nexport type VehicleGroupVehiclesRemoveMutation = { __typename?: 'Mutation', vehicleGroupVehiclesRemove?: { __typename?: 'VehicleGroup', id: string, name?: string | null, description?: string | null, externalId?: string | null, driverCount?: number | null, vehicleCount?: number | null, insertedAt?: string | null, updatedAt?: string | null } | null };\n\nexport type VehicleUpdateMutationVariables = Exact<{\n input: VehicleUpdateInput;\n}>;\n\n\nexport type VehicleUpdateMutation = { __typename?: 'Mutation', vehicleUpdate?: string | null };\n\nexport type VehiclesFilterQueryVariables = Exact<{\n input: VehiclesFilterInput;\n}>;\n\n\nexport type VehiclesFilterQuery = { __typename?: 'Query', vehiclesFilter?: { __typename?: 'VehiclesPage', data?: Array<{ __typename?: 'Vehicle', id?: string | null, vin: string } | null> | null, meta?: { __typename?: 'PageMeta', limit?: number | null, offset?: number | null, total?: number | null } | null } | null };\n\nexport type VehicleGroupsFilterQueryVariables = Exact<{\n input: VehicleGroupsFilterInput;\n}>;\n\n\nexport type VehicleGroupsFilterQuery = { __typename?: 'Query', vehicleGroupsFilter?: { __typename?: 'VehicleGroupsPage', data?: Array<{ __typename?: 'VehicleGroup', id: string, name?: string | null, description?: string | null, externalId?: string | null } | null> | null, meta?: { __typename?: 'PageMeta', limit?: number | null, offset?: number | null, total?: number | null } | null } | null };\n\nexport type VehiclesOnboardMutationVariables = Exact<{\n input: VehiclesOnboardInputList;\n}>;\n\n\nexport type VehiclesOnboardMutation = { __typename?: 'Mutation', vehiclesOnboard?: { __typename?: 'VehiclesOnboardOutputList', vehicles?: Array<{ __typename?: 'VehiclesOnboardOutput', id?: string | null, vin?: string | null, vehicleGroupId: string, success?: boolean | null, error?: string | null } | null> | null } | null };\n\n\nexport const ApiKeyCreateDocument = gql`\n mutation apiKeyCreate($input: ApiKeyCreateInput!) {\n apiKeyCreate(input: $input) {\n apiKey\n }\n}\n `;\nexport const ClientOnboardDocument = gql`\n mutation clientOnboard($input: ClientOnboardInput!) {\n clientOnboard(input: $input) {\n id\n name\n externalId\n insertedAt\n updatedAt\n deletedAt\n }\n}\n `;\nexport const OrganizationCreateDocument = gql`\n mutation organizationCreate($input: OrganizationCreateInput!) {\n organizationCreate(input: $input) {\n id\n name\n address {\n line1\n line2\n city\n state\n country\n zip\n }\n onboardedAt\n onboardedBy\n insertedAt\n updatedAt\n deletedAt\n }\n}\n `;\nexport const EntityCreateDocument = gql`\n mutation entityCreate($input: EntityCreateInput!) {\n entityCreate(input: $input) {\n id\n name\n description\n externalId\n parentId\n hasFinance\n funding\n insertedAt\n updatedAt\n }\n}\n `;\nexport const EntityGetExternalIdDocument = gql`\n query entityGetExternalId($externalId: String) {\n entity(externalId: $externalId) {\n id\n name\n description\n externalId\n parent {\n id\n name\n description\n }\n organization {\n id\n name\n }\n hasFinance\n code\n path\n funding\n insertedAt\n updatedAt\n deletedAt\n costFactor\n financialConfig {\n id\n entityId\n paymentProvider {\n id\n name\n slug\n insertedAt\n updatedAt\n }\n accountType\n issuerBin\n insertedAt\n updatedAt\n }\n }\n}\n `;\nexport const MachineTokenizeUserDocument = gql`\n mutation machineTokenizeUser($input: MachineTokenizeUserInput) {\n machineTokenizeUser(input: $input) {\n access_token\n expires_in\n }\n}\n `;\nexport const StandaloneCardCreateDocument = gql`\n mutation standaloneCardCreate($input: StandaloneCardCreateInput!) {\n standaloneCardCreate(input: $input) {\n success\n }\n}\n `;\nexport const UserCreateDocument = gql`\n mutation userCreate($input: UserCreateInput!) {\n userCreate(input: $input) {\n id\n firstName\n lastName\n middleName\n fullName\n email\n phoneNumber\n employeeId\n role\n status\n loginType\n externalId\n organizationId\n insertedAt\n updatedAt\n }\n}\n `;\nexport const UserOffboardDocument = gql`\n mutation userOffboard($input: ID!) {\n userOffboard(id: $input)\n}\n `;\nexport const UserUpdateDocument = gql`\n mutation userUpdate($input: UserUpdateInput!) {\n userUpdate(input: $input) {\n id\n firstName\n lastName\n email\n phoneNumber\n employeeId\n role\n status\n }\n}\n `;\nexport const VehicleGroupCreateDocument = gql`\n mutation vehicleGroupCreate($input: VehicleGroupCreateInput!) {\n vehicleGroupCreate(input: $input) {\n id\n code\n name\n description\n externalId\n driverCount\n vehicleCount\n insertedAt\n updatedAt\n }\n}\n `;\nexport const VehicleGroupDeleteDocument = gql`\n mutation vehicleGroupDelete($id: ID!) {\n vehicleGroupDelete(id: $id)\n}\n `;\nexport const VehicleGroupDriversAddDocument = gql`\n mutation vehicleGroupDriversAdd($input: VehicleGroupDriversAddInput!) {\n vehicleGroupDriversAdd(input: $input) {\n id\n name\n description\n externalId\n driverCount\n vehicleCount\n insertedAt\n updatedAt\n }\n}\n `;\nexport const VehicleGroupDriversRemoveDocument = gql`\n mutation vehicleGroupDriversRemove($input: VehicleGroupDriversRemoveInput!) {\n vehicleGroupDriversRemove(input: $input) {\n id\n name\n description\n externalId\n driverCount\n vehicleCount\n insertedAt\n updatedAt\n }\n}\n `;\nexport const VehicleGroupVehiclesAddDocument = gql`\n mutation vehicleGroupVehiclesAdd($input: VehicleGroupVehiclesAddInput!) {\n vehicleGroupVehiclesAdd(input: $input) {\n id\n name\n description\n externalId\n driverCount\n vehicleCount\n insertedAt\n updatedAt\n }\n}\n `;\nexport const VehicleGroupVehiclesRemoveDocument = gql`\n mutation vehicleGroupVehiclesRemove($input: VehicleGroupVehiclesRemoveInput!) {\n vehicleGroupVehiclesRemove(input: $input) {\n id\n name\n description\n externalId\n driverCount\n vehicleCount\n insertedAt\n updatedAt\n }\n}\n `;\nexport const VehicleUpdateDocument = gql`\n mutation vehicleUpdate($input: VehicleUpdateInput!) {\n vehicleUpdate(input: $input)\n}\n `;\nexport const VehiclesFilterDocument = gql`\n query vehiclesFilter($input: VehiclesFilterInput!) {\n vehiclesFilter(input: $input) {\n data {\n id\n vin\n }\n meta {\n limit\n offset\n total\n }\n }\n}\n `;\nexport const VehicleGroupsFilterDocument = gql`\n query vehicleGroupsFilter($input: VehicleGroupsFilterInput!) {\n vehicleGroupsFilter(input: $input) {\n data {\n id\n name\n description\n externalId\n }\n meta {\n limit\n offset\n total\n }\n }\n}\n `;\nexport const VehiclesOnboardDocument = gql`\n mutation vehiclesOnboard($input: VehiclesOnboardInputList!) {\n vehiclesOnboard(input: $input) {\n vehicles {\n id\n vin\n vehicleGroupId\n success\n error\n }\n }\n}\n `;\n\nexport type SdkFunctionWrapper = <T>(action: (requestHeaders?:Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;\n\n\nconst defaultWrapper: SdkFunctionWrapper = (action, _operationName, _operationType, _variables) => action();\n\nexport function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = defaultWrapper) {\n return {\n apiKeyCreate(variables: ApiKeyCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<ApiKeyCreateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<ApiKeyCreateMutation>({ document: ApiKeyCreateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'apiKeyCreate', 'mutation', variables);\n },\n clientOnboard(variables: ClientOnboardMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<ClientOnboardMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<ClientOnboardMutation>({ document: ClientOnboardDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'clientOnboard', 'mutation', variables);\n },\n organizationCreate(variables: OrganizationCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<OrganizationCreateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<OrganizationCreateMutation>({ document: OrganizationCreateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'organizationCreate', 'mutation', variables);\n },\n entityCreate(variables: EntityCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<EntityCreateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<EntityCreateMutation>({ document: EntityCreateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'entityCreate', 'mutation', variables);\n },\n entityGetExternalId(variables?: EntityGetExternalIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<EntityGetExternalIdQuery> {\n return withWrapper((wrappedRequestHeaders) => client.request<EntityGetExternalIdQuery>({ document: EntityGetExternalIdDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'entityGetExternalId', 'query', variables);\n },\n machineTokenizeUser(variables?: MachineTokenizeUserMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<MachineTokenizeUserMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<MachineTokenizeUserMutation>({ document: MachineTokenizeUserDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'machineTokenizeUser', 'mutation', variables);\n },\n standaloneCardCreate(variables: StandaloneCardCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<StandaloneCardCreateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<StandaloneCardCreateMutation>({ document: StandaloneCardCreateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'standaloneCardCreate', 'mutation', variables);\n },\n userCreate(variables: UserCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<UserCreateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<UserCreateMutation>({ document: UserCreateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'userCreate', 'mutation', variables);\n },\n userOffboard(variables: UserOffboardMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<UserOffboardMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<UserOffboardMutation>({ document: UserOffboardDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'userOffboard', 'mutation', variables);\n },\n userUpdate(variables: UserUpdateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<UserUpdateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<UserUpdateMutation>({ document: UserUpdateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'userUpdate', 'mutation', variables);\n },\n vehicleGroupCreate(variables: VehicleGroupCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehicleGroupCreateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehicleGroupCreateMutation>({ document: VehicleGroupCreateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehicleGroupCreate', 'mutation', variables);\n },\n vehicleGroupDelete(variables: VehicleGroupDeleteMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehicleGroupDeleteMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehicleGroupDeleteMutation>({ document: VehicleGroupDeleteDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehicleGroupDelete', 'mutation', variables);\n },\n vehicleGroupDriversAdd(variables: VehicleGroupDriversAddMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehicleGroupDriversAddMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehicleGroupDriversAddMutation>({ document: VehicleGroupDriversAddDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehicleGroupDriversAdd', 'mutation', variables);\n },\n vehicleGroupDriversRemove(variables: VehicleGroupDriversRemoveMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehicleGroupDriversRemoveMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehicleGroupDriversRemoveMutation>({ document: VehicleGroupDriversRemoveDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehicleGroupDriversRemove', 'mutation', variables);\n },\n vehicleGroupVehiclesAdd(variables: VehicleGroupVehiclesAddMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehicleGroupVehiclesAddMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehicleGroupVehiclesAddMutation>({ document: VehicleGroupVehiclesAddDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehicleGroupVehiclesAdd', 'mutation', variables);\n },\n vehicleGroupVehiclesRemove(variables: VehicleGroupVehiclesRemoveMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehicleGroupVehiclesRemoveMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehicleGroupVehiclesRemoveMutation>({ document: VehicleGroupVehiclesRemoveDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehicleGroupVehiclesRemove', 'mutation', variables);\n },\n vehicleUpdate(variables: VehicleUpdateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehicleUpdateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehicleUpdateMutation>({ document: VehicleUpdateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehicleUpdate', 'mutation', variables);\n },\n vehiclesFilter(variables: VehiclesFilterQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehiclesFilterQuery> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehiclesFilterQuery>({ document: VehiclesFilterDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehiclesFilter', 'query', variables);\n },\n vehicleGroupsFilter(variables: VehicleGroupsFilterQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehicleGroupsFilterQuery> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehicleGroupsFilterQuery>({ document: VehicleGroupsFilterDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehicleGroupsFilter', 'query', variables);\n },\n vehiclesOnboard(variables: VehiclesOnboardMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<VehiclesOnboardMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<VehiclesOnboardMutation>({ document: VehiclesOnboardDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'vehiclesOnboard', 'mutation', variables);\n }\n };\n}\nexport type Sdk = ReturnType<typeof getSdk>;","export const ENDPOINTS = {\n int: 'https://api-gateway.int.gocariq.com/',\n stage: 'https://api-gateway.stage.gocariq.com/',\n} as const;\n","import { GraphQLClient } from 'graphql-request';\nimport { getSdk } from './generated/organization/sdk';\nimport { ENDPOINTS } from './consts';\n\nexport interface ElementPayOrganizationConfig {\n apiKey: string;\n environment?: 'int' | 'stage';\n endpoint?: string;\n}\n\nexport function getOrganizationSdk(\n config: ElementPayOrganizationConfig,\n) {\n const environment = config.environment ?? 'stage';\n const endpoint = config.endpoint ?? ENDPOINTS[environment];\n\n const client = new GraphQLClient(endpoint, {\n headers: {\n 'x-api-key': config.apiKey,\n 'Content-Type': 'application/json',\n },\n });\n\n return getSdk(client);\n}\n","import { GraphQLClient, RequestOptions } from 'graphql-request';\nimport gql from 'graphql-tag';\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };\nexport type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\ntype GraphQLClientRequestHeaders = RequestOptions['requestHeaders'];\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: { input: string; output: string; }\n String: { input: string; output: string; }\n Boolean: { input: boolean; output: boolean; }\n Int: { input: number; output: number; }\n Float: { input: number; output: number; }\n JSON: { input: any; output: any; }\n JSONObject: { input: any; output: any; }\n};\n\nexport enum AccountType {\n Credit = 'CREDIT',\n PrePaid = 'PRE_PAID'\n}\n\nexport type AdditionalInfoInput = {\n /** Managers/dashboard user phone number that's not used for authentication */\n contactPhoneNumber?: InputMaybe<Scalars['String']['input']>;\n /** If the phone number is a corporate phone. */\n isCorporatePhone?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\n/** Options of calling servicePay */\nexport type AdditionalTransactionInfo = {\n __typename?: 'AdditionalTransactionInfo';\n /** Aggregator for pump unlock such as QUIKQ, P97, CARIQ_OPENLOOP, PDI, etc */\n aggregator?: Maybe<Scalars['String']['output']>;\n /** Job Code entered by driver */\n jobCode?: Maybe<Scalars['String']['output']>;\n /** Odometer of car at time of transaction */\n odometer?: Maybe<Scalars['Int']['output']>;\n /** Pump Number chosen by the driver */\n pumpNumber?: Maybe<Scalars['Int']['output']>;\n};\n\n/** Address of an organization or a transaction */\nexport type Address = {\n __typename?: 'Address';\n city?: Maybe<Scalars['String']['output']>;\n country?: Maybe<Scalars['String']['output']>;\n line1?: Maybe<Scalars['String']['output']>;\n line2?: Maybe<Scalars['String']['output']>;\n state?: Maybe<Scalars['String']['output']>;\n zip?: Maybe<Scalars['String']['output']>;\n};\n\n/** The address provided as an input when creating an organization. */\nexport type AddressInput = {\n city: Scalars['String']['input'];\n country: Scalars['String']['input'];\n line1: Scalars['String']['input'];\n line2?: InputMaybe<Scalars['String']['input']>;\n state: Scalars['String']['input'];\n zip: Scalars['String']['input'];\n};\n\nexport type ApiKeyCreateInput = {\n /** Entity Id */\n entityId?: InputMaybe<Scalars['ID']['input']>;\n /** Api Key Name */\n name: Scalars['String']['input'];\n /** Organization Id */\n organizationId: Scalars['ID']['input'];\n};\n\nexport type ApiKeyCreateOutput = {\n __typename?: 'ApiKeyCreateOutput';\n /** Api Key */\n apiKey: Scalars['String']['output'];\n};\n\nexport type ApiKeyRevokeInput = {\n /** Api Key */\n apiKey: Scalars['String']['input'];\n};\n\nexport type ApiKeyRevokeOutput = {\n __typename?: 'ApiKeyRevokeOutput';\n /** Success */\n success: Scalars['Boolean']['output'];\n};\n\nexport type ApplyForCreditInput = {\n encryptedKey?: InputMaybe<Scalars['String']['input']>;\n /** Encrypted payload byte array encoded as Base64 string from encrypting with publicKey from creditApplicationPublicKey endpoint. */\n encryptedPayload?: InputMaybe<Scalars['String']['input']>;\n id?: InputMaybe<Scalars['String']['input']>;\n iv?: InputMaybe<Scalars['String']['input']>;\n step: ApplyForCreditStep;\n};\n\nexport type ApplyForCreditOutput = {\n __typename?: 'ApplyForCreditOutput';\n id?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum ApplyForCreditStep {\n Beneficiary = 'BENEFICIARY',\n Business = 'BUSINESS',\n ControlPerson = 'CONTROL_PERSON',\n Identification = 'IDENTIFICATION',\n Submission = 'SUBMISSION',\n Yourself = 'YOURSELF'\n}\n\n/** Add or update a policy on a policy id, entity id, or a vehicle id. */\nexport type ApplyPolicyInput = {\n /** Entity to add or update a policy on. */\n entityId?: InputMaybe<Scalars['String']['input']>;\n /** Policy id to update a policy on. */\n policyId: Scalars['String']['input'];\n /** Propagate the policies to children entities. */\n recursively?: InputMaybe<Scalars['Boolean']['input']>;\n /** Vehicle group id to add or update a policy on. */\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type ApplyPolicyOutput = {\n __typename?: 'ApplyPolicyOutput';\n /** Entity id that policy manage request changed. */\n entityId?: Maybe<Scalars['String']['output']>;\n /** Policy id that policy manage request changed. */\n policyId: Scalars['String']['output'];\n /** If the policy gets propagated to children. */\n recursively?: Maybe<Scalars['Boolean']['output']>;\n /** Vehicle group id that policy manage request changed. */\n vehicleGroupId?: Maybe<Scalars['String']['output']>;\n};\n\nexport type BooleanSuccessOutput = {\n __typename?: 'BooleanSuccessOutput';\n success: Scalars['Boolean']['output'];\n};\n\nexport enum BrandingType {\n CarIq = 'CAR_IQ',\n CirckleKPro = 'CIRCKLE_K_PRO',\n FuelMe = 'FUEL_ME'\n}\n\nexport type CardDetails = {\n __typename?: 'CardDetails';\n /** Name of the Card Holder */\n cardHolder?: Maybe<Scalars['String']['output']>;\n /** Expiration date on the card */\n expiration?: Maybe<Scalars['String']['output']>;\n /** Id of the Card */\n id?: Maybe<Scalars['String']['output']>;\n /** Last four digits of the card number. */\n lastFour?: Maybe<Scalars['String']['output']>;\n /** Type of card: VISA, MASTERCARD, etc. */\n type?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum CardNetwork {\n Mastercard = 'MASTERCARD',\n Visa = 'VISA'\n}\n\nexport type ClientOnboardInput = {\n /** The address of the organization */\n address: AddressInput;\n /** Disable check location when vehicle data is down */\n checkLocationOverride?: InputMaybe<Scalars['Boolean']['input']>;\n /** Cost factor to filter by fuel station cost */\n costFactorEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Organization email. */\n email?: InputMaybe<Scalars['String']['input']>;\n externalId: Scalars['String']['input'];\n integratorId?: InputMaybe<Scalars['ID']['input']>;\n /** Organization name. */\n name: Scalars['String']['input'];\n /** Who onboarded the organization */\n onboardedBy?: InputMaybe<Scalars['String']['input']>;\n /** Organization tax id. */\n taxId?: InputMaybe<Scalars['String']['input']>;\n unitsId?: InputMaybe<Scalars['String']['input']>;\n /** If enabled, syncs telematics data for a vehicle and removes ability to edit that vehicle */\n useTspMetadata?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport enum ConnectionType {\n Email = 'EMAIL',\n Sms = 'SMS'\n}\n\nexport type CreditApplicationPublicKeyOutput = {\n __typename?: 'CreditApplicationPublicKeyOutput';\n /** Public Key byte array encoded as Base64 string. */\n publicKey: Scalars['String']['output'];\n};\n\nexport type CreditStatement = {\n __typename?: 'CreditStatement';\n /** Date by which payment id due. */\n dueDate?: Maybe<Scalars['String']['output']>;\n /** Unique Identifier for the credit statement. */\n id?: Maybe<Scalars['String']['output']>;\n /** Amount due for the statement period as a negative number. */\n statementBalance?: Maybe<Scalars['String']['output']>;\n /** Date when credit statement was generated. */\n statementDate?: Maybe<Scalars['String']['output']>;\n /** Start date of the statement period. */\n statementDateFrom?: Maybe<Scalars['String']['output']>;\n /** End date of the statement period. */\n statementDateTo?: Maybe<Scalars['String']['output']>;\n};\n\nexport type CreditStatementDownloadInput = {\n /** Credit Statement Id */\n creditStatementId: Scalars['ID']['input'];\n /** Primary Account Id */\n primaryAccountId: Scalars['ID']['input'];\n};\n\nexport enum CreditStatementSorting {\n /** Sort credit statements by the billing period ascending. */\n BillingPeriodAsc = 'BILLING_PERIOD_ASC',\n /** Sort credit statements by the billing period descending. */\n BillingPeriodDesc = 'BILLING_PERIOD_DESC',\n /** Sort credit statements by the due date ascending. */\n DueDateAsc = 'DUE_DATE_ASC',\n /** Sort credit statements by the due date descending. */\n DueDateDesc = 'DUE_DATE_DESC',\n /** Sort credit statements by the statement balance ascending. */\n StatementBalanceAsc = 'STATEMENT_BALANCE_ASC',\n /** Sort credit statements by the statement balance descending. */\n StatementBalanceDesc = 'STATEMENT_BALANCE_DESC',\n /** Sort credit statements by the date ascending. */\n StatementDateAsc = 'STATEMENT_DATE_ASC',\n /** Sort credit statements by the date descending. */\n StatementDateDesc = 'STATEMENT_DATE_DESC'\n}\n\nexport enum DataType {\n Text = 'TEXT',\n Unknown = 'UNKNOWN'\n}\n\nexport type DaysTimeRanges = {\n __typename?: 'DaysTimeRanges';\n friday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n monday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n saturday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n sunday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n thursday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n tuesday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n wednesday?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n};\n\nexport type DaysTimeRangesInput = {\n friday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n monday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n saturday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n sunday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n thursday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n tuesday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n wednesday?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n};\n\nexport enum DecisionStatus {\n DecisionAuthorized = 'DECISION_AUTHORIZED',\n DecisionAuthorizedOffline = 'DECISION_AUTHORIZED_OFFLINE',\n DecisionDeclined = 'DECISION_DECLINED',\n DecisionUnknown = 'DECISION_UNKNOWN'\n}\n\nexport enum DigitalWallet {\n DigitalWalletAndroid = 'DIGITAL_WALLET_ANDROID',\n DigitalWalletApple = 'DIGITAL_WALLET_APPLE'\n}\n\nexport enum Direction {\n Asc = 'ASC',\n Desc = 'DESC'\n}\n\nexport type Driver = {\n __typename?: 'Driver';\n additionalInfo?: Maybe<Scalars['JSONObject']['output']>;\n deletedAt?: Maybe<Scalars['String']['output']>;\n email?: Maybe<Scalars['String']['output']>;\n employeeId?: Maybe<Scalars['String']['output']>;\n /** Auth0 id. */\n externalId?: Maybe<Scalars['String']['output']>;\n firstName?: Maybe<Scalars['String']['output']>;\n fullName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n lastName?: Maybe<Scalars['String']['output']>;\n loginType?: Maybe<LoginType>;\n middleName?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['ID']['output']>;\n phoneNumber?: Maybe<Scalars['String']['output']>;\n status?: Maybe<UserStatus>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n username?: Maybe<Scalars['String']['output']>;\n /** List of vehicle groups that this driver belongs to. */\n vehicleGroups: Array<VehicleGroup>;\n};\n\nexport type DriverCreateInput = {\n email?: InputMaybe<Scalars['String']['input']>;\n employeeId?: InputMaybe<Scalars['String']['input']>;\n firstName: Scalars['String']['input'];\n isCorporatePhone?: InputMaybe<Scalars['Boolean']['input']>;\n lastName: Scalars['String']['input'];\n middleName?: InputMaybe<Scalars['String']['input']>;\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n vehicleGroups: Array<Scalars['ID']['input']>;\n};\n\nexport type DriverReport = {\n __typename?: 'DriverReport';\n /** Data stream pertaining to the report. */\n data?: Maybe<Scalars['String']['output']>;\n /** Specifies errors if the report didn't generate. */\n error?: Maybe<Scalars['String']['output']>;\n /** Whether drivers exist in this report. */\n exists?: Maybe<Scalars['Boolean']['output']>;\n /** File name of the report. */\n fileName?: Maybe<Scalars['String']['output']>;\n};\n\nexport type DriverReportDownloadInput = {\n /** Filter on entities or vehicle groups. */\n filterType: DriverReportFilterType;\n id: Scalars['ID']['input'];\n /** Include only onboarded or offboarded drivers */\n type: DriverReportType;\n};\n\nexport enum DriverReportFilterType {\n /** Include only entities in DriverReport. */\n Entity = 'ENTITY',\n /** Include only vehicle groups in DriverReport. */\n VehicleGroup = 'VEHICLE_GROUP'\n}\n\nexport enum DriverReportType {\n /** Include only offboarded drivers, such as deactivated and deleted drivers. */\n OffboardedDrivers = 'OFFBOARDED_DRIVERS',\n /** Include only onboarded drivers, such as invited and onboarded drivers. */\n OnboardedDrivers = 'ONBOARDED_DRIVERS'\n}\n\nexport type DriverSpending = {\n __typename?: 'DriverSpending';\n id: Scalars['ID']['output'];\n name: Scalars['String']['output'];\n percentageChange?: Maybe<Scalars['String']['output']>;\n totalCurrentPeriod?: Maybe<Scalars['String']['output']>;\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n transactionsCount?: Maybe<Scalars['Int']['output']>;\n vehiclesCount?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type DriverUpdateInput = {\n employeeId?: InputMaybe<Scalars['String']['input']>;\n firstName?: InputMaybe<Scalars['String']['input']>;\n id: Scalars['ID']['input'];\n isCorporatePhone?: InputMaybe<Scalars['Boolean']['input']>;\n lastName?: InputMaybe<Scalars['String']['input']>;\n middleName?: InputMaybe<Scalars['String']['input']>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n vehicleGroups: Array<Scalars['ID']['input']>;\n};\n\nexport type DriversFilterInput = {\n /** Filter on vehicle group id or user statuses. */\n filter: DriversFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Sort options for driversFilter which includes ordering by inserted at, first name, last name, email, phone number, and employee id. */\n sortOptions?: InputMaybe<DriversSortOptions>;\n};\n\nexport type DriversFilterOptions = {\n /** Filter on user statuses such as invited, onboarded, deleted, etc. */\n statuses?: InputMaybe<Array<InputMaybe<UserStatus>>>;\n /** Filter on a vehicle group id. */\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n};\n\n/** Order by different values for the driversFilter query. */\nexport enum DriversSortField {\n Email = 'EMAIL',\n EmployeeId = 'EMPLOYEE_ID',\n FirstName = 'FIRST_NAME',\n InsertedAt = 'INSERTED_AT',\n LastName = 'LAST_NAME',\n PhoneNumber = 'PHONE_NUMBER'\n}\n\nexport type DriversSortOptions = {\n /** Sort by direction such as ascending or descending. */\n direction: SortDirection;\n /** Order by values such as inserted at, first name, last name, email, phone number, and employee id. */\n orderBy: DriversSortField;\n};\n\nexport type EntitiesFilterInput = {\n /** Filter by parentId and if to include the children. */\n filter: EntitiesFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Sort by ordering by the name and direction based on first name, last name, or both. */\n sortOptions?: InputMaybe<EntitiesSortOptions>;\n};\n\nexport type EntitiesFilterOptions = {\n /** Whether to include child entities of the parent id. */\n includeChildren?: InputMaybe<Scalars['Boolean']['input']>;\n /** The parent entity to filter on. */\n parentId?: InputMaybe<Scalars['ID']['input']>;\n};\n\nexport type EntitiesPage = {\n __typename?: 'EntitiesPage';\n /** A list of entities */\n data?: Maybe<Array<Maybe<Entity>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport enum EntitiesSortField {\n Name = 'NAME'\n}\n\nexport type EntitiesSortOptions = {\n /** Specify the direction of ordering: ASC or DESC. */\n direction: SortDirection;\n /** Order by the Name for EntitiesFilter. */\n orderBy: EntitiesSortField;\n};\n\nexport type Entity = {\n __typename?: 'Entity';\n code?: Maybe<Scalars['String']['output']>;\n /** Cost factor number to indicate station price */\n costFactor?: Maybe<Scalars['Int']['output']>;\n /** Client ID for an organization. */\n customerId?: Maybe<Scalars['String']['output']>;\n /** If this record was deleted, specifies when it was deleted. */\n deletedAt?: Maybe<Scalars['String']['output']>;\n /** Entity description. */\n description?: Maybe<Scalars['String']['output']>;\n /** To optionally store your own id to map between different systems. */\n externalId?: Maybe<Scalars['String']['output']>;\n /** Information on the entities finances: payment provider, account is credit or prepaid, issuerBin. */\n financialConfig?: Maybe<FinancialConfig>;\n /** How the account is funded: ACH or Parent. */\n funding?: Maybe<FundingSource>;\n /** Deprecated method for creating a credit account. */\n hasFinance?: Maybe<Scalars['Boolean']['output']>;\n id: Scalars['ID']['output'];\n /** When the entity record was inserted. */\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Entity name */\n name?: Maybe<Scalars['String']['output']>;\n /** Organization information that belongs to this entity. */\n organization?: Maybe<Organization>;\n /** Entity information of parent, if there is one. */\n parent?: Maybe<Entity>;\n /** ID of parent entity, if there is one. */\n parentId?: Maybe<Scalars['ID']['output']>;\n path?: Maybe<Scalars['String']['output']>;\n /** Services allowed on the entity: tolling, fueling, etc */\n policies?: Maybe<Array<Maybe<Policy>>>;\n /** When the entity record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type EntityAccountInfo = {\n __typename?: 'EntityAccountInfo';\n /** Credit account attached to this entity. */\n account?: Maybe<EntityPrimaryAccount>;\n /** Whether your balance will be automatically paid for each month. */\n autoPay?: Maybe<Scalars['Boolean']['output']>;\n /** Credit remaining this month. */\n availableCreditLimit?: Maybe<Scalars['String']['output']>;\n /** For Credit, it's the amount due for the current period. For pre-paid, it's the available amount to transact. */\n balance?: Maybe<Scalars['String']['output']>;\n billingCycle?: Maybe<Scalars['String']['output']>;\n /** Current Billing Period End */\n billingPeriodEnd?: Maybe<Scalars['String']['output']>;\n /** Current Billing Period Start */\n billingPeriodStart?: Maybe<Scalars['String']['output']>;\n /** Card details for this entity account. */\n cardDetails?: Maybe<Array<Maybe<CardDetails>>>;\n /** Monthly limit on credit. */\n creditLimit?: Maybe<Scalars['String']['output']>;\n dueDate?: Maybe<Scalars['String']['output']>;\n /** Is Invoice Issues Past Due Date */\n isInvoicePastDue?: Maybe<Scalars['Boolean']['output']>;\n /** Name of the account */\n name?: Maybe<Scalars['String']['output']>;\n /** Next Auto Pay Date */\n nextAutoPay?: Maybe<Scalars['String']['output']>;\n /** Balance that has been used up with credit this month. */\n outstandingBalance?: Maybe<Scalars['String']['output']>;\n /** Payment Provider that facilitates the payment such as I2C, Discover, etc. */\n paymentProvider?: Maybe<PaymentProviderEnum>;\n /** Balance on pending transactions. */\n pendingTransactionsBalance?: Maybe<Scalars['String']['output']>;\n /** Type of account: CREDIT or PRE_PAID. */\n type?: Maybe<AccountType>;\n};\n\nexport type EntityCreateInput = {\n /** Description of the entity. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** To optionally store your own id to map between different systems. */\n externalId?: InputMaybe<Scalars['String']['input']>;\n /** How the account is funded: ACH or Parent. */\n funding?: InputMaybe<FundingSource>;\n /** Deprecated method for creating a credit account. */\n hasFinance?: InputMaybe<Scalars['Boolean']['input']>;\n /** Name of the entity. */\n name: Scalars['String']['input'];\n /** Organization Id this entity belongs to. */\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n /** ID of parent entity, if there is one. */\n parentId?: InputMaybe<Scalars['ID']['input']>;\n};\n\nexport type EntityFilter = {\n /** Entity id to filter on for search filter */\n entityId?: InputMaybe<Scalars['String']['input']>;\n /** Include the children of the entity specified. */\n includeChildren?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type EntityPrimaryAccount = {\n __typename?: 'EntityPrimaryAccount';\n /** Bank routing number, a 9-digit number that identifies a bank/other financial institution. */\n bankRoutingNo?: Maybe<Scalars['String']['output']>;\n /** The credit limit for the account. */\n creditLimit?: Maybe<Scalars['String']['output']>;\n /** Entity information for the account holding this entity. */\n entity?: Maybe<Entity>;\n /** The external account number for the account. */\n externalAccountNumber?: Maybe<Scalars['String']['output']>;\n id: Scalars['ID']['output'];\n /** Whether this primary account is active or not. */\n isActive?: Maybe<Scalars['Boolean']['output']>;\n /** Deprecated. Has physical card, ex) Voyager accounts. */\n isPhysicalCard?: Maybe<Scalars['Boolean']['output']>;\n /** Which service will this account fund: fueling, tolling, parking, etc. */\n merchantCategory?: Maybe<MerchantCategory>;\n /** Specifies the id and name of the payment provider record. */\n paymentProvider?: Maybe<PaymentProvider>;\n /** Unique identification for a financial entity. */\n paymentProviderId?: Maybe<Scalars['ID']['output']>;\n /** Identification of the card program from I2C */\n programId?: Maybe<Scalars['String']['output']>;\n /** Supported programs/features for the entity. */\n programSupports?: Maybe<ProgramSupports>;\n /** Only for pre-paid. It's the account number from I2C to fund the account. */\n pseudoDda?: Maybe<Scalars['String']['output']>;\n /** Payment Status */\n status?: Maybe<PrimaryAccountStatus>;\n};\n\nexport type ExchangeAuthorizationCodeInput = {\n code: Scalars['String']['input'];\n redirectUri: Scalars['String']['input'];\n universalLoginClientId: Scalars['String']['input'];\n universalLoginClientSecret: Scalars['String']['input'];\n};\n\nexport enum FeeNetworkDesignationType {\n ExtendedNetwork = 'EXTENDED_NETWORK',\n InNetwork = 'IN_NETWORK',\n OutOfNetwork = 'OUT_OF_NETWORK'\n}\n\nexport type FinancialConfig = {\n __typename?: 'FinancialConfig';\n /** Type of account: CREDIT or PRE_PAID */\n accountType?: Maybe<AccountType>;\n entityId: Scalars['ID']['output'];\n id: Scalars['ID']['output'];\n /** When the financial config record was created. */\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Bank Identification Number. It's the first 4-6 numbers on a payment card. */\n issuerBin?: Maybe<Scalars['String']['output']>;\n /** Specifies the id and name of the payment provider record. */\n paymentProvider?: Maybe<PaymentProvider>;\n /** When the financial config record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type FuelRestrictions = {\n __typename?: 'FuelRestrictions';\n /** Amount per day, usually around $125. */\n amountPerDay?: Maybe<Scalars['String']['output']>;\n /** Also known as purchase limit. Usually between $5 and $1000. */\n amountPerTransaction?: Maybe<Scalars['String']['output']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: Maybe<Scalars['Boolean']['output']>;\n /** Define which days and times vehicles can transact at for fueling. */\n daysOfWeek?: Maybe<PurchaseDaysOfWeek>;\n /** Defines to and from times that a vehicle can purchase at. */\n hours?: Maybe<PurchaseTimeRange>;\n isEnabled?: Maybe<Scalars['Boolean']['output']>;\n /** Number of transactions */\n noOfTransactions?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type FuelRestrictionsInput = {\n /** Amount per day, usually around $125. */\n amountPerDay?: InputMaybe<Scalars['String']['input']>;\n /** Also known as purchas limit. Usually between $5 and $1000. */\n amountPerTransaction?: InputMaybe<Scalars['String']['input']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: InputMaybe<Scalars['Boolean']['input']>;\n /** Define which days and times vehicles can transact at for fueling. */\n daysOfWeek?: InputMaybe<PurchaseDaysOfWeekInput>;\n /** Defines to and from times that a vehicle can purchase at. */\n hours?: InputMaybe<PurchaseTimeRangeInput>;\n isEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Number of transactions */\n noOfTransactions?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport enum FundingSource {\n /** Electronic bank transfer. */\n Ach = 'ACH',\n /** Funding is done through the parent entities funding source. */\n Parent = 'PARENT',\n Unknown = 'UNKNOWN'\n}\n\nexport type GenerateTokenCoFInput = {\n paymentProviderAccountId: Scalars['String']['input'];\n vehicleId: Scalars['String']['input'];\n};\n\nexport type GenerateTokenCoFOutput = {\n __typename?: 'GenerateTokenCoFOutput';\n token: Scalars['String']['output'];\n};\n\nexport type Geobounds = {\n __typename?: 'Geobounds';\n /** Radius in miles around the point. */\n radius?: Maybe<Scalars['Float']['output']>;\n /** Well-known text, a point for geolocation. */\n wkt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GeotabDriveLogin = {\n __typename?: 'GeotabDriveLogin';\n /** Sign in token */\n access_token: Scalars['String']['output'];\n /** Expires in */\n expires_in: Scalars['Int']['output'];\n /** Vehicle ID. Only returned if user is assigned to only 1 vehicle, otherwise null. */\n vehicleId?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GeotabDriveLoginInput = {\n /** Database Name */\n databaseName: Scalars['String']['input'];\n /** Email or Employee ID */\n externalId: Scalars['String']['input'];\n /** Session ID */\n sessionId: Scalars['String']['input'];\n};\n\nexport type GetCreditStatementsInput = {\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n paymentProviderAccountId?: InputMaybe<Scalars['String']['input']>;\n /** Sort based ascending or descending on statement date, billing period, due date, or statement balance */\n sorting?: InputMaybe<CreditStatementSorting>;\n};\n\nexport type GetCreditStatementsOutput = {\n __typename?: 'GetCreditStatementsOutput';\n /** List of statements with the date, due date, and balances */\n data?: Maybe<Array<Maybe<CreditStatement>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type GetInvoicePaymentsInput = {\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n paymentProviderAccountId?: InputMaybe<Scalars['String']['input']>;\n /** Sort on date, description, status, and amounts ascending and descending. */\n sorting?: InputMaybe<InvoicePaymentSorting>;\n};\n\nexport type GetInvoicePaymentsOutput = {\n __typename?: 'GetInvoicePaymentsOutput';\n /** List of credit payments on a payment provider account using ppaid with an option of sorting. */\n data?: Maybe<Array<Maybe<InvoicePayment>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type GetUserEntityResponse = {\n __typename?: 'GetUserEntityResponse';\n code?: Maybe<Scalars['String']['output']>;\n /** Cost factor number to indicate station price */\n costFactor?: Maybe<Scalars['Int']['output']>;\n /** Client ID for an organization. */\n customerId?: Maybe<Scalars['String']['output']>;\n /** If this record was deleted, specifies when it was deleted. */\n deletedAt?: Maybe<Scalars['String']['output']>;\n /** Entity description. */\n description?: Maybe<Scalars['String']['output']>;\n /** To optionally store your own id to map between different systems. */\n externalId?: Maybe<Scalars['String']['output']>;\n /** Information on the entities finances: payment provider, account is credit or prepaid, issuerBin. */\n financialConfig?: Maybe<FinancialConfig>;\n /** How the account is funded: ACH or Parent. */\n funding?: Maybe<FundingSource>;\n /** Deprecated method for creating a credit account. */\n hasFinance?: Maybe<Scalars['Boolean']['output']>;\n id: Scalars['ID']['output'];\n /** When the entity record was inserted. */\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Entity name */\n name?: Maybe<Scalars['String']['output']>;\n /** Organization information that belongs to this entity. */\n organization?: Maybe<Organization>;\n /** Entity information of parent, if there is one. */\n parent?: Maybe<Entity>;\n /** ID of parent entity, if there is one. */\n parentId?: Maybe<Scalars['ID']['output']>;\n path?: Maybe<Scalars['String']['output']>;\n /** Primary account for the entity. */\n paymentProviderAccount?: Maybe<EntityPrimaryAccount>;\n /** Services allowed on the entity: tolling, fueling, etc */\n policies?: Maybe<Array<Maybe<Policy>>>;\n /** When the entity record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GetUserUserResponse = {\n __typename?: 'GetUserUserResponse';\n /** Specifies if phone number is a corporate phone. */\n additionalInfo?: Maybe<UserAdditionalInfo>;\n email?: Maybe<Scalars['String']['output']>;\n employeeId?: Maybe<Scalars['String']['output']>;\n /** Entity the user belongs to. */\n entity?: Maybe<GetUserEntityResponse>;\n /** Auth0 Id */\n externalId?: Maybe<Scalars['String']['output']>;\n firstName?: Maybe<Scalars['String']['output']>;\n fullName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n lastName?: Maybe<Scalars['String']['output']>;\n /** Email or phone */\n loginType?: Maybe<LoginType>;\n /** List of loyalty accounts for the user. */\n loyaltyAccounts?: Maybe<Array<Maybe<UserLoyaltyAccountForUser>>>;\n middleName?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['ID']['output']>;\n phoneNumber?: Maybe<Scalars['String']['output']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: Maybe<RoleType>;\n status?: Maybe<UserStatus>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** deprecated */\n username?: Maybe<Scalars['String']['output']>;\n /** Return a list of vehicle groups. */\n vehicleGroups?: Maybe<Array<Maybe<VehicleGroup>>>;\n};\n\nexport type HashMap = {\n __typename?: 'HashMap';\n key: Scalars['String']['output'];\n value: Scalars['String']['output'];\n};\n\nexport type HashMapInput = {\n key: Scalars['String']['input'];\n value: Scalars['String']['input'];\n};\n\nexport type IndividualVehicle = {\n __typename?: 'IndividualVehicle';\n cardData?: Maybe<VoyagerCardData>;\n createdAt?: Maybe<Scalars['String']['output']>;\n /** Details on a vehicle such as model, make, year, trim, manufacture plant, and number of doors. */\n details?: Maybe<VehicleDetails>;\n driverCount?: Maybe<Scalars['Int']['output']>;\n /** Environment of vehicle such as outside air tempurature, engine oil tempurature, and coolant tempurature. */\n environment?: Maybe<VehicleEnvironment>;\n /** Information of the vehicle's fuel such as the level, percent, and fuel used on current trip. */\n fuel?: Maybe<VehicleFuel>;\n id?: Maybe<Scalars['ID']['output']>;\n lastTransactionDate?: Maybe<Scalars['String']['output']>;\n /** Location of vehicle (lat, long) and information about the satellite. */\n location?: Maybe<VehicleLocation>;\n /** Mechanical information on the vehicle such as if the ignition is on, engine speed, tire pressure of each tire, and engine oil life remaining. */\n mechanical?: Maybe<VehicleMechanical>;\n /** Information on movement of vehicle such as if it's driving, odometer, and speed. */\n movement?: Maybe<VehicleMovement>;\n registrationData?: Maybe<Scalars['JSONObject']['output']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: Maybe<Array<Maybe<ServiceType>>>;\n /** Information on the vehicle such as name, serial number, source, license plate, imei, etc. */\n type?: Maybe<VehicleType>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** Information on the vehicle group that this vehicle belongs to you. */\n vehicleGroup?: Maybe<VehicleGroup>;\n vin: Scalars['String']['output'];\n};\n\nexport type IndividualVehicleGroup = {\n __typename?: 'IndividualVehicleGroup';\n code?: Maybe<Scalars['String']['output']>;\n /** Description of a vehicle group. */\n description?: Maybe<Scalars['String']['output']>;\n /** Number of drivers in this vehicle group. */\n driverCount?: Maybe<Scalars['Int']['output']>;\n /** Entity information on this vehicle group. */\n entity?: Maybe<Entity>;\n externalId?: Maybe<Scalars['String']['output']>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Job code option values */\n jobCodeOptions?: Maybe<Array<Maybe<Scalars['String']['output']>>>;\n /** Date of last transaction. */\n lastTransactionDate?: Maybe<Scalars['String']['output']>;\n /** Name of the vehicle group. */\n name?: Maybe<Scalars['String']['output']>;\n /** Organization information on this vehicle group. */\n organization?: Maybe<Organization>;\n /** Services allowed on the entity: tolling, fueling, etc */\n policies?: Maybe<Array<Maybe<Policy>>>;\n /** Settings for enabling job code and driver entered odometer */\n settings?: Maybe<VehicleGroupSettings>;\n /** Spend restrictions on this vehicle group such as amount per day, amount per transaction, no of transaction, days of week and times to enabled fuel use. */\n spendRestrictions?: Maybe<SpendRestrictions>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** Number of vehicles in this vehicle group. */\n vehicleCount?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type InvoicePayment = {\n __typename?: 'InvoicePayment';\n /** Amount due for payment. */\n amount?: Maybe<Scalars['String']['output']>;\n /** Date of payment */\n date?: Maybe<Scalars['String']['output']>;\n /** Description of a payment information. */\n description?: Maybe<Scalars['String']['output']>;\n /** An error from I2C. Ex: Invalid Bank Routing Number */\n errorDescription?: Maybe<Scalars['String']['output']>;\n /** Auto payment or one time payment */\n frequency?: Maybe<InvoicePaymentFrequency>;\n /** Method of payment */\n paymentMethod?: Maybe<Scalars['String']['output']>;\n /** Types such as PENDING, POSTED, or FAILED. */\n status?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum InvoicePaymentFrequency {\n /** Invoice will be paid automatically */\n AutoPayment = 'AUTO_PAYMENT',\n /** Invoice will be paid just once */\n OneTimePayment = 'ONE_TIME_PAYMENT'\n}\n\n/** Sorting for creditPaymentsList */\nexport enum InvoicePaymentSorting {\n /** Sort by amount in ascending order. */\n AmountAsc = 'AMOUNT_ASC',\n /** Sort by amount in descending order. */\n AmountDesc = 'AMOUNT_DESC',\n /** Sort by date in ascending order. */\n DateAsc = 'DATE_ASC',\n /** Sort by date in descending order */\n DateDesc = 'DATE_DESC',\n /** Sort by description in ascending order. */\n DescriptionAsc = 'DESCRIPTION_ASC',\n /** Sort by description in descending order. */\n DescriptionDesc = 'DESCRIPTION_DESC',\n /** Sort by status in ascending order. */\n StatusAsc = 'STATUS_ASC',\n /** Sort by status in descending order. */\n StatusDesc = 'STATUS_DESC'\n}\n\nexport enum JobCodeEntryOptionEnum {\n Freeform = 'FREEFORM',\n Predefined = 'PREDEFINED'\n}\n\nexport type JobCodeOptionsInput = {\n machineGroupId: Scalars['String']['input'];\n /** job_code for job code. In the future we might support other options like trailer_number, etc */\n optionName: Scalars['String']['input'];\n};\n\nexport type JobCodeOptionsOutput = {\n __typename?: 'JobCodeOptionsOutput';\n optionValues?: Maybe<OptionValues>;\n};\n\nexport type JobCodeOptionsUpsertInput = {\n machineGroupId: Scalars['String']['input'];\n /** job_code for job code. In the future we might support other options like trailer_number, etc */\n optionName: Scalars['String']['input'];\n values?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n};\n\nexport type JobCodeOptionsUpsertOutput = {\n __typename?: 'JobCodeOptionsUpsertOutput';\n optionValues?: Maybe<OptionValues>;\n};\n\nexport enum LanguageType {\n En = 'EN',\n Es = 'ES'\n}\n\nexport type Location = {\n __typename?: 'Location';\n latitude?: Maybe<Scalars['Float']['output']>;\n longitude?: Maybe<Scalars['Float']['output']>;\n};\n\nexport type Login = {\n __typename?: 'Login';\n access_token?: Maybe<Scalars['String']['output']>;\n expires_in?: Maybe<Scalars['Int']['output']>;\n id_token?: Maybe<Scalars['String']['output']>;\n refresh_token?: Maybe<Scalars['String']['output']>;\n scope?: Maybe<Scalars['String']['output']>;\n token_type?: Maybe<Scalars['String']['output']>;\n};\n\nexport type LoginOtpResponse = {\n __typename?: 'LoginOtpResponse';\n error?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport enum LoginType {\n Email = 'EMAIL',\n External = 'EXTERNAL',\n Phone = 'PHONE',\n Unknown = 'UNKNOWN'\n}\n\nexport type LoginUniversalResponse = {\n __typename?: 'LoginUniversalResponse';\n authUrl: Scalars['String']['output'];\n state: Scalars['String']['output'];\n success: Scalars['Boolean']['output'];\n};\n\nexport type MachineLogin = {\n __typename?: 'MachineLogin';\n access_token?: Maybe<Scalars['String']['output']>;\n};\n\nexport type MachineLoginInput = {\n /** Auth0 Client Id */\n client_id: Scalars['String']['input'];\n /** Auth0 Client Secret */\n client_secret: Scalars['String']['input'];\n};\n\nexport type MachineTokenizeUserInput = {\n userId: Scalars['ID']['input'];\n};\n\nexport type MachineUserToken = {\n __typename?: 'MachineUserToken';\n access_token: Scalars['String']['output'];\n expires_in: Scalars['Int']['output'];\n};\n\n/** Services Car IQ offers */\nexport enum MerchantCategory {\n /** Paying for a car wash. */\n CarWash = 'CAR_WASH',\n /** Paying at an electric charging station. */\n Charging = 'CHARGING',\n /** Paying at a gas station. */\n Fueling = 'FUELING',\n General = 'GENERAL',\n /** Paying for meintenance services. */\n Maintenance = 'MAINTENANCE',\n /** Paying for parking. */\n Parking = 'PARKING',\n /** Paying for a toll on the road such as bridges and carpool lanes. */\n Toll = 'TOLL'\n}\n\nexport type Mutation = {\n __typename?: 'Mutation';\n Pass?: Maybe<Scalars['JSON']['output']>;\n /** Create API key. */\n apiKeyCreate?: Maybe<ApiKeyCreateOutput>;\n /** Revoke API key. */\n apiKeyRevoke?: Maybe<ApiKeyRevokeOutput>;\n /** Apply for credit */\n applyForCredit: ApplyForCreditOutput;\n clientOnboard?: Maybe<Entity>;\n /** Create a new entity. */\n entityCreate?: Maybe<Entity>;\n /** Authenticate a user from universal login using Google Auth, Email OTP, etc */\n exchangeAuthorizationCode?: Maybe<Login>;\n /** Generate token for Card on File. */\n generateTokenCoF: GenerateTokenCoFOutput;\n /** Login in within the Geotab Drive App. */\n geotabDriveLogin?: Maybe<GeotabDriveLogin>;\n /** Add or update an option for the job code options values */\n jobCodeOptionsUpsert?: Maybe<JobCodeOptionsUpsertOutput>;\n linkTokenCreate?: Maybe<Scalars['String']['output']>;\n /** Login in with a machine. */\n machineLogin?: Maybe<MachineLogin>;\n machineTokenizeUser?: Maybe<MachineUserToken>;\n /** Create a new organization to onboard a fleet. */\n organizationCreate?: Maybe<Organization>;\n /** Create a policy on an organization to enable services like fueling, tolling, tap to pay, etc. */\n policyCreate?: Maybe<PolicyCreateOutput>;\n /** Delete a policy for an organization. */\n policyDelete?: Maybe<PolicyDeleteOutput>;\n /** Add or remove policies using a policy id, entity id, or vehicle group id. */\n policyManage?: Maybe<PolicyManageOutput>;\n /** Process Card. */\n processCardCoF: BooleanSuccessOutput;\n /** Provision Card. */\n provisionCard: ProvisionCardResponse;\n /** Provision Status Update. */\n provisionStatusUpdate: BooleanSuccessOutput;\n reportIssue?: Maybe<BooleanSuccessOutput>;\n /** Create a new risk rule on a vehicle group. */\n riskRuleCreate?: Maybe<RiskRuleGetOutput>;\n /** Delet a risk rule using the risk rule id. */\n riskRuleDelete?: Maybe<BooleanSuccessOutput>;\n /** Update a risk rule based on the risk rule id. */\n riskRuleUpdate?: Maybe<RiskRuleGetOutput>;\n /** Pay for fuel at a given station */\n servicePay?: Maybe<ServicePayOutput>;\n /** Store Card info. */\n storeCardCoF: StoreCardCoFOutput;\n /** Update a transaction such as the Job Code */\n transactionUpdate?: Maybe<TransactionPage>;\n /** Create a TTP account for a given device. */\n ttpTokenization?: Maybe<TtpTokenizationOutput>;\n /** Sign up using activation code */\n userActivationCodeSignUp?: Maybe<BooleanSuccessOutput>;\n /** Create a new user for an organization */\n userCreate?: Maybe<User>;\n /** Delete a user from the platform */\n userDelete?: Maybe<Scalars['String']['output']>;\n /** Let a user change their password to access their account. */\n userForgotPassword?: Maybe<Scalars['String']['output']>;\n /** Authenticate a user for use of APIs */\n userLogin?: Maybe<Login>;\n /** Send otp code to a phone or email for verification. */\n userLoginOtpRequest?: Maybe<LoginOtpResponse>;\n /** Verification code from an otp response to verify phone or email. */\n userLoginOtpVerify?: Maybe<Login>;\n /** Request a user login from Universal Login */\n userLoginUniversal?: Maybe<LoginUniversalResponse>;\n /** Link a user to a Circle K loyalty account */\n userLoyaltyAccountAdd?: Maybe<UserLoyaltyAccount>;\n /** Delete a user from a Circle K loyalty account using the ID of the loyalty account */\n userLoyaltyAccountDelete?: Maybe<BooleanSuccessOutput>;\n /** Update mobile device user token for push notifications */\n userNotificationTokenUpdate?: Maybe<UserNotificationTokenUpdateOutput>;\n /** Remove a user from the platform temporarily */\n userOffboard?: Maybe<Scalars['String']['output']>;\n /** Refresh the token for a user for authentication. */\n userRefreshToken?: Maybe<Login>;\n /** Set a password for a user. */\n userSetPassword?: Maybe<Scalars['String']['output']>;\n /** Update a users information */\n userUpdate?: Maybe<User>;\n /** Validate token for Card on File. */\n validateTokenCoF: ValidateTokenCoFOutput;\n /** Create a new vehicle */\n vehicleCreate?: Maybe<Scalars['String']['output']>;\n /** Add field to Vehicle Fields Configuration */\n vehicleFieldsAdd?: Maybe<VehicleFieldsConfiguration>;\n /** Add field to Vehicle Fields Configuration */\n vehicleFieldsDelete?: Maybe<BooleanSuccessOutput>;\n /** Add field to Vehicle Fields Configuration */\n vehicleFieldsUpdate?: Maybe<VehicleFieldsConfiguration>;\n /** Create a new vehicle group */\n vehicleGroupCreate?: Maybe<IndividualVehicleGroup>;\n /** Delete a vehicle group */\n vehicleGroupDelete?: Maybe<Scalars['String']['output']>;\n /** Add a driver to a vehicle group */\n vehicleGroupDriversAdd?: Maybe<VehicleGroup>;\n /** Remove a vehicle from a vehicle group */\n vehicleGroupDriversRemove?: Maybe<VehicleGroup>;\n /** Set spend restrictions on a vehicle group */\n vehicleGroupSpendRestrictionsSet?: Maybe<SpendRestrictions>;\n /** Update a vehicle group's information */\n vehicleGroupUpdate?: Maybe<IndividualVehicleGroup>;\n /** Add vehicles to a vehicle group */\n vehicleGroupVehiclesAdd?: Maybe<VehicleGroup>;\n /** Remove a vehicle from a vehicle group */\n vehicleGroupVehiclesRemove?: Maybe<VehicleGroup>;\n /** Update a vehicle's information */\n vehicleUpdate?: Maybe<Scalars['String']['output']>;\n /** Batch vehicles onboard */\n vehiclesOnboard?: Maybe<VehiclesOnboardOutputList>;\n};\n\n\nexport type MutationPassArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationApiKeyCreateArgs = {\n input: ApiKeyCreateInput;\n};\n\n\nexport type MutationApiKeyRevokeArgs = {\n input: ApiKeyRevokeInput;\n};\n\n\nexport type MutationApplyForCreditArgs = {\n input?: InputMaybe<ApplyForCreditInput>;\n};\n\n\nexport type MutationClientOnboardArgs = {\n input: ClientOnboardInput;\n};\n\n\nexport type MutationEntityCreateArgs = {\n input: EntityCreateInput;\n};\n\n\nexport type MutationExchangeAuthorizationCodeArgs = {\n input: ExchangeAuthorizationCodeInput;\n};\n\n\nexport type MutationGenerateTokenCoFArgs = {\n input: GenerateTokenCoFInput;\n};\n\n\nexport type MutationGeotabDriveLoginArgs = {\n input: GeotabDriveLoginInput;\n};\n\n\nexport type MutationJobCodeOptionsUpsertArgs = {\n input?: InputMaybe<JobCodeOptionsUpsertInput>;\n};\n\n\nexport type MutationMachineLoginArgs = {\n input: MachineLoginInput;\n};\n\n\nexport type MutationMachineTokenizeUserArgs = {\n input?: InputMaybe<MachineTokenizeUserInput>;\n};\n\n\nexport type MutationOrganizationCreateArgs = {\n input: OrganizationCreateInput;\n};\n\n\nexport type MutationPolicyCreateArgs = {\n input?: InputMaybe<PolicyCreateInput>;\n};\n\n\nexport type MutationPolicyDeleteArgs = {\n input?: InputMaybe<PolicyDeleteInput>;\n};\n\n\nexport type MutationPolicyManageArgs = {\n input?: InputMaybe<PolicyManageInput>;\n};\n\n\nexport type MutationProcessCardCoFArgs = {\n input: ProcessCardCoFInput;\n};\n\n\nexport type MutationProvisionCardArgs = {\n input: ProvisionCardInput;\n};\n\n\nexport type MutationProvisionStatusUpdateArgs = {\n input: ProvisionStatusUpdateInput;\n};\n\n\nexport type MutationReportIssueArgs = {\n input: ReportIssueInput;\n};\n\n\nexport type MutationRiskRuleCreateArgs = {\n input?: InputMaybe<RiskRuleCreateInput>;\n};\n\n\nexport type MutationRiskRuleDeleteArgs = {\n input?: InputMaybe<RiskRuleDeleteInput>;\n};\n\n\nexport type MutationRiskRuleUpdateArgs = {\n input?: InputMaybe<RiskRuleUpdateInput>;\n};\n\n\nexport type MutationServicePayArgs = {\n input: ServicePayInput;\n};\n\n\nexport type MutationStoreCardCoFArgs = {\n input: StoreCardCoFInput;\n};\n\n\nexport type MutationTransactionUpdateArgs = {\n input?: InputMaybe<TransactionUpdateInput>;\n};\n\n\nexport type MutationTtpTokenizationArgs = {\n input?: InputMaybe<TtpTokenizationInput>;\n};\n\n\nexport type MutationUserActivationCodeSignUpArgs = {\n input: UserActivationCodeSignUpInput;\n};\n\n\nexport type MutationUserCreateArgs = {\n input: UserCreateInput;\n};\n\n\nexport type MutationUserDeleteArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationUserForgotPasswordArgs = {\n input: UserForgotPasswordInput;\n};\n\n\nexport type MutationUserLoginArgs = {\n input: UserLoginInput;\n};\n\n\nexport type MutationUserLoginOtpRequestArgs = {\n input: UserLoginOtpRequestInput;\n};\n\n\nexport type MutationUserLoginOtpVerifyArgs = {\n input: UserLoginOtpVerifyInput;\n};\n\n\nexport type MutationUserLoginUniversalArgs = {\n input: UserLoginUniversalInput;\n};\n\n\nexport type MutationUserLoyaltyAccountAddArgs = {\n input: UserLoyaltyAccountAddInput;\n};\n\n\nexport type MutationUserLoyaltyAccountDeleteArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationUserNotificationTokenUpdateArgs = {\n token: Scalars['String']['input'];\n};\n\n\nexport type MutationUserOffboardArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationUserRefreshTokenArgs = {\n input: UserRefreshTokenInput;\n};\n\n\nexport type MutationUserSetPasswordArgs = {\n input: UserSetPasswordInput;\n};\n\n\nexport type MutationUserUpdateArgs = {\n input: UserUpdateInput;\n};\n\n\nexport type MutationValidateTokenCoFArgs = {\n input: ValidateTokenCoFInput;\n};\n\n\nexport type MutationVehicleCreateArgs = {\n input: VehicleCreateInput;\n};\n\n\nexport type MutationVehicleFieldsAddArgs = {\n input: VehicleFieldsAddInput;\n};\n\n\nexport type MutationVehicleFieldsDeleteArgs = {\n input?: InputMaybe<Scalars['ID']['input']>;\n};\n\n\nexport type MutationVehicleFieldsUpdateArgs = {\n input: VehicleFieldsUpdateInput;\n};\n\n\nexport type MutationVehicleGroupCreateArgs = {\n input: VehicleGroupCreateInput;\n};\n\n\nexport type MutationVehicleGroupDeleteArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type MutationVehicleGroupDriversAddArgs = {\n input: VehicleGroupDriversAddInput;\n};\n\n\nexport type MutationVehicleGroupDriversRemoveArgs = {\n input: VehicleGroupDriversRemoveInput;\n};\n\n\nexport type MutationVehicleGroupSpendRestrictionsSetArgs = {\n input: VehicleGroupSpendRestrictionsSetInput;\n};\n\n\nexport type MutationVehicleGroupUpdateArgs = {\n input: VehicleGroupUpdateInput;\n};\n\n\nexport type MutationVehicleGroupVehiclesAddArgs = {\n input: VehicleGroupVehiclesAddInput;\n};\n\n\nexport type MutationVehicleGroupVehiclesRemoveArgs = {\n input: VehicleGroupVehiclesRemoveInput;\n};\n\n\nexport type MutationVehicleUpdateArgs = {\n input: VehicleUpdateInput;\n};\n\n\nexport type MutationVehiclesOnboardArgs = {\n input: VehiclesOnboardInputList;\n};\n\n/** Type of stations to filter on */\nexport enum NetworkType {\n All = 'ALL',\n InNetwork = 'IN_NETWORK',\n OutOfNetwork = 'OUT_OF_NETWORK'\n}\n\nexport type OptionValues = {\n __typename?: 'OptionValues';\n deletedAt?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['String']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n machineGroupId?: Maybe<Scalars['String']['output']>;\n /** job_code for job code. In the future we might support other options like trailer_number, etc */\n optionName?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n values?: Maybe<Array<Maybe<Scalars['String']['output']>>>;\n};\n\n/** Information on the organization. */\nexport type Organization = {\n __typename?: 'Organization';\n /** Address of the organization. */\n address?: Maybe<Address>;\n /** Cost factor to filter by fuel station cost */\n costFactorEnabled?: Maybe<Scalars['Boolean']['output']>;\n deletedAt?: Maybe<Scalars['String']['output']>;\n /** Id tied to this organization. */\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Name of the organization. */\n name?: Maybe<Scalars['String']['output']>;\n /** When the organization was onboarded. */\n onboardedAt?: Maybe<Scalars['String']['output']>;\n onboardedBy?: Maybe<Scalars['String']['output']>;\n /** List of policies (servies) enabled on an organization. */\n policies?: Maybe<Array<Maybe<Policy>>>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type OrganizationCreateInput = {\n /** The address of the organization */\n address: AddressInput;\n /** Disable check location when vehicle data is down */\n checkLocationOverride?: InputMaybe<Scalars['Boolean']['input']>;\n /** Cost factor to filter by fuel station cost */\n costFactorEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Organization email. */\n email?: InputMaybe<Scalars['String']['input']>;\n integratorId?: InputMaybe<Scalars['ID']['input']>;\n /** Organization name. */\n name: Scalars['String']['input'];\n /** Who onboarded the organization */\n onboardedBy?: InputMaybe<Scalars['String']['input']>;\n /** Organization tax id. */\n taxId?: InputMaybe<Scalars['String']['input']>;\n unitsId?: InputMaybe<Scalars['String']['input']>;\n /** If enabled, syncs telematics data for a vehicle and removes ability to edit that vehicle */\n useTspMetadata?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport enum OtpType {\n Code = 'CODE',\n Link = 'LINK'\n}\n\n/** The pagination used to fulfill the response */\nexport type PageMeta = {\n __typename?: 'PageMeta';\n /** Limit set in the request to show an exact number of items. */\n limit?: Maybe<Scalars['Int']['output']>;\n /** The offset specified in the request to paginate. */\n offset?: Maybe<Scalars['Int']['output']>;\n /** Total number of records found. */\n total?: Maybe<Scalars['Int']['output']>;\n};\n\n/** Pagination */\nexport type PageRequest = {\n limit?: InputMaybe<Scalars['Int']['input']>;\n offset?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport enum PaymentMethodType {\n DirectConnect = 'DIRECT_CONNECT',\n LinkedCard = 'LINKED_CARD',\n Ttp = 'TTP',\n Unspecified = 'UNSPECIFIED'\n}\n\nexport type PaymentProvider = {\n __typename?: 'PaymentProvider';\n /** Payment provider id */\n id: Scalars['ID']['output'];\n /** When the payment provider record was inserted. */\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Name of provider: I2C, Discover, or CARIQ_OPENLOOP. */\n name?: Maybe<Scalars['String']['output']>;\n /** Same as name: I2C, Discover, or CARIQ_OPENLOOP. */\n slug?: Maybe<Scalars['String']['output']>;\n /** When the payment provider record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum PaymentProviderEnum {\n CarIqBin = 'CAR_IQ_BIN',\n CirclekCof = 'CIRCLEK_COF',\n CitiVpa = 'CITI_VPA',\n Discover = 'DISCOVER',\n ExternalCof = 'EXTERNAL_COF',\n I2C = 'I2C',\n Multiple = 'MULTIPLE',\n UsBank = 'US_BANK',\n Voyager = 'VOYAGER',\n VoyagerPlus = 'VOYAGER_PLUS'\n}\n\nexport type Permission = {\n __typename?: 'Permission';\n action?: Maybe<Scalars['String']['output']>;\n description?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n resource?: Maybe<Scalars['String']['output']>;\n};\n\nexport type Policy = {\n __typename?: 'Policy';\n enabled?: Maybe<Scalars['Boolean']['output']>;\n id: Scalars['String']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['String']['output']>;\n /** Information about the service provider. */\n serviceProvider?: Maybe<ServiceProvider>;\n /** Id of the service provider that enables the service. */\n serviceProviderId?: Maybe<Scalars['String']['output']>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: Maybe<ServiceType>;\n /** Type of policy, either a service or tap to pay. */\n type?: Maybe<PolicyType>;\n};\n\nexport type PolicyActionResponse = {\n __typename?: 'PolicyActionResponse';\n /** For applied policies, it returns the policy id, entity id, vehicle group id, and if request was recursive. */\n applyRequest?: Maybe<ApplyPolicyOutput>;\n /** Number of affected policies by the request. */\n countAffected?: Maybe<Scalars['Int']['output']>;\n /** For revoked polcies, it returns the policy id, entity id, and vehicle group id. */\n revokeRequest?: Maybe<RevokePolicyOutput>;\n /** Whether the policy manage request was successful. */\n success?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type PolicyCreateInput = {\n /** Propagate the policies to children entities. */\n applyRecursively?: InputMaybe<Scalars['Boolean']['input']>;\n organizationId: Scalars['String']['input'];\n /** Type of policy, either a service or tap to pay. */\n policyType?: InputMaybe<PolicyType>;\n /** Add the service provider id allowed for fueling or tolling. */\n serviceProviderId?: InputMaybe<Scalars['String']['input']>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: InputMaybe<ServiceType>;\n};\n\nexport type PolicyCreateOutput = {\n __typename?: 'PolicyCreateOutput';\n countAffected?: Maybe<Scalars['Int']['output']>;\n policy?: Maybe<Policy>;\n success?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type PolicyDeleteInput = {\n /** Policy id to delete a specific policy. */\n policyId: Scalars['String']['input'];\n};\n\nexport type PolicyDeleteOutput = {\n __typename?: 'PolicyDeleteOutput';\n countAffected?: Maybe<Scalars['Int']['output']>;\n success?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type PolicyManageInput = {\n /** Add or update a policy on a policy id, entity id, or vehicle group id. */\n applyPolicies?: InputMaybe<Array<InputMaybe<ApplyPolicyInput>>>;\n /** Remove a policy using a policy id, entity id, or vehicle group id. */\n revokePolicies?: InputMaybe<Array<InputMaybe<RevokePolicyInput>>>;\n};\n\nexport type PolicyManageOutput = {\n __typename?: 'PolicyManageOutput';\n /** List of policies that were added or updated. */\n applyResponses?: Maybe<Array<Maybe<PolicyActionResponse>>>;\n /** List of policies that were revoked. */\n revokeResponses?: Maybe<Array<Maybe<PolicyActionResponse>>>;\n};\n\n/** Type of policy, either a service or tap to pay. */\nexport enum PolicyType {\n Dcc = 'DCC',\n Service = 'SERVICE',\n UnknownVariant = 'UNKNOWN_VARIANT'\n}\n\nexport type PositionInput = {\n latitude: Scalars['Float']['input'];\n longitude: Scalars['Float']['input'];\n};\n\nexport enum PrimaryAccountStatus {\n Enrolled = 'enrolled',\n Failed = 'failed',\n Pending = 'pending',\n Unknown = 'unknown'\n}\n\nexport type ProcessCardCoFInput = {\n id: Scalars['String']['input'];\n paymentProviderAccountId: Scalars['String']['input'];\n vehicleId: Scalars['String']['input'];\n};\n\nexport type Product = {\n __typename?: 'Product';\n id: Scalars['ID']['output'];\n /** Name of the product. */\n name?: Maybe<Scalars['String']['output']>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: Maybe<ServiceType>;\n};\n\n/** Type of Fuel. */\nexport enum ProductType {\n Diesel = 'DIESEL',\n HiFlowDiesel = 'HI_FLOW_DIESEL',\n MidGradeUnleaded = 'MID_GRADE_UNLEADED',\n OtherFuel = 'OTHER_FUEL',\n PremiumDiesel = 'PREMIUM_DIESEL',\n PremiumUnleaded = 'PREMIUM_UNLEADED',\n Regular = 'REGULAR'\n}\n\nexport type ProgramSupports = {\n __typename?: 'ProgramSupports';\n isCloseLoopSupported?: Maybe<Scalars['Boolean']['output']>;\n isDcSupported?: Maybe<Scalars['Boolean']['output']>;\n isPhysicalCardSupported?: Maybe<Scalars['Boolean']['output']>;\n isTtpSupported?: Maybe<Scalars['Boolean']['output']>;\n /** Is this program using the internal card program (US Bank) */\n isUsingInternalProgram?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type ProvisionCardInput = {\n /** Account ID, can be a vehicleId, deviceId, or an asset */\n deviceAccountId: Scalars['String']['input'];\n /** Used by Android */\n googleHardwareId?: InputMaybe<Scalars['String']['input']>;\n /** Used by IOS */\n intermediateCertificate?: InputMaybe<Scalars['String']['input']>;\n /** Used by IOS */\n leafCertificate?: InputMaybe<Scalars['String']['input']>;\n /** Used by IOS */\n nonceSignature?: InputMaybe<Scalars['String']['input']>;\n /** Used by IOS */\n nonceValue?: InputMaybe<Scalars['String']['input']>;\n paymentProviderAccountId: Scalars['String']['input'];\n /** Used by Android */\n walletId?: InputMaybe<Scalars['String']['input']>;\n walletType: DigitalWallet;\n};\n\nexport type ProvisionCardResponse = {\n __typename?: 'ProvisionCardResponse';\n activationData?: Maybe<Scalars['String']['output']>;\n cardNetwork?: Maybe<CardNetwork>;\n displayName?: Maybe<Scalars['String']['output']>;\n encryptedData?: Maybe<Scalars['String']['output']>;\n lastFourDigits?: Maybe<Scalars['String']['output']>;\n publicKey?: Maybe<Scalars['String']['output']>;\n};\n\nexport type ProvisionStatusUpdateInput = {\n deviceAccountId: Scalars['String']['input'];\n errorDescription?: InputMaybe<Scalars['String']['input']>;\n paymentProviderAccountId: Scalars['String']['input'];\n status: ProvisioningStatus;\n};\n\nexport enum ProvisioningStatus {\n Error = 'ERROR',\n Success = 'SUCCESS'\n}\n\n/** Days of week which purchases are enabled. */\nexport type PurchaseDaysOfWeek = {\n __typename?: 'PurchaseDaysOfWeek';\n friday: Scalars['Boolean']['output'];\n monday: Scalars['Boolean']['output'];\n saturday: Scalars['Boolean']['output'];\n sunday: Scalars['Boolean']['output'];\n thursday: Scalars['Boolean']['output'];\n tuesday: Scalars['Boolean']['output'];\n wednesday: Scalars['Boolean']['output'];\n};\n\nexport type PurchaseDaysOfWeekInput = {\n friday: Scalars['Boolean']['input'];\n monday: Scalars['Boolean']['input'];\n saturday: Scalars['Boolean']['input'];\n sunday: Scalars['Boolean']['input'];\n thursday: Scalars['Boolean']['input'];\n tuesday: Scalars['Boolean']['input'];\n wednesday: Scalars['Boolean']['input'];\n};\n\n/** Format should be in HH:MM */\nexport type PurchaseTimeRange = {\n __typename?: 'PurchaseTimeRange';\n from?: Maybe<Scalars['String']['output']>;\n to?: Maybe<Scalars['String']['output']>;\n};\n\nexport type PurchaseTimeRangeInput = {\n from?: InputMaybe<Scalars['String']['input']>;\n to?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type Query = {\n __typename?: 'Query';\n Pass?: Maybe<Scalars['JSON']['output']>;\n /** Get a public key to encrypt credit application data */\n creditApplicationPublicKey: CreditApplicationPublicKeyOutput;\n /** Get a list of credit payments on a payment provider account using ppaid with an option of sorting. */\n creditPaymentsList?: Maybe<GetInvoicePaymentsOutput>;\n /** Download Credit Statement Document */\n creditStatementDownload: Report;\n /** Get Credit Statements */\n creditStatementsList?: Maybe<GetCreditStatementsOutput>;\n /** Download a list of drivers on an entity or vehicle group. */\n driverReportDownload?: Maybe<DriverReport>;\n /** Get a list of entities. */\n entitiesFilter?: Maybe<EntitiesPage>;\n /** Get an entity. */\n entity?: Maybe<Entity>;\n /** Information on the account of an entity. */\n entityAccountInfo?: Maybe<EntityAccountInfo>;\n /** Information on the account and child accounts of an entity. */\n entityAccountsInfo?: Maybe<Array<Maybe<EntityAccountInfo>>>;\n /** Get values for a job code option */\n jobCodeOptions?: Maybe<JobCodeOptionsOutput>;\n /** Download transactions for a given entity, vehicle group, vehicle, or driver. */\n reportsDownload?: Maybe<Report>;\n /** Get a risk rule using the id or name. */\n riskRuleGet?: Maybe<RiskRuleGetOutput>;\n /** List risk rules pertaining to a vehicle group. */\n riskRulesList?: Maybe<RiskRulesListOutput>;\n /** Get a list of permissions for a given role */\n rolePermissions?: Maybe<Role>;\n /** Performs a search for users, vehicles, and vehicle groups. */\n search?: Maybe<SearchOutput>;\n /** Get list of available stations from a given locations */\n serviceLocationsFilter?: Maybe<ServiceLocationsPage>;\n /** Spending Insights */\n spendingInsights?: Maybe<SpendingInsightsOutput>;\n /** Get information on a transaction */\n transaction?: Maybe<Transaction>;\n /** Doanload the transactions for a given entity, vehicle group, vehicle, driver */\n transactionReportDownload?: Maybe<TransactionReport>;\n /** Get a list of transactions */\n transactionsFilter?: Maybe<TransactionsPage>;\n /** Transactions Insights */\n transactionsInsights?: Maybe<TransactionsInsightsPage>;\n /** Get a list of transactions */\n transactionsOverview?: Maybe<TransactionsOverviewOutput>;\n /** Get the transactions statistics for a given entity */\n transactionsStats?: Maybe<TransactionsStats>;\n /** Get user data */\n user?: Maybe<GetUserUserResponse>;\n /** Get a list of users */\n usersFilter?: Maybe<UsersPage>;\n /** Get information from a vehicle */\n vehicle?: Maybe<IndividualVehicle>;\n /** Get list of vehicle configuration fields */\n vehicleFields?: Maybe<VehicleFieldsPage>;\n /** Get information from a vehicle group */\n vehicleGroup?: Maybe<IndividualVehicleGroup>;\n /** Get a list of vehicle groups */\n vehicleGroupsFilter?: Maybe<VehicleGroupsPage>;\n /** Get a list of vehicles */\n vehiclesFilter?: Maybe<VehiclesPage>;\n /** Get vehicles in a certain location */\n vehiclesFilterByLocation?: Maybe<VehiclesPage>;\n /** Get vehicles that have telematics and are not enrolled for Car IQ services */\n vehiclesWithTelematicsNotEnrolled?: Maybe<VehiclesWithTelematicsNotEnrolledOutput>;\n};\n\n\nexport type QueryPassArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryCreditPaymentsListArgs = {\n input: GetInvoicePaymentsInput;\n};\n\n\nexport type QueryCreditStatementDownloadArgs = {\n input: CreditStatementDownloadInput;\n};\n\n\nexport type QueryCreditStatementsListArgs = {\n input?: InputMaybe<GetCreditStatementsInput>;\n};\n\n\nexport type QueryDriverReportDownloadArgs = {\n input?: InputMaybe<DriverReportDownloadInput>;\n};\n\n\nexport type QueryEntitiesFilterArgs = {\n input: EntitiesFilterInput;\n};\n\n\nexport type QueryEntityArgs = {\n externalId?: InputMaybe<Scalars['String']['input']>;\n id?: InputMaybe<Scalars['ID']['input']>;\n};\n\n\nexport type QueryEntityAccountInfoArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryEntityAccountsInfoArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryJobCodeOptionsArgs = {\n input?: InputMaybe<JobCodeOptionsInput>;\n};\n\n\nexport type QueryReportsDownloadArgs = {\n input?: InputMaybe<ReportsDownloadInput>;\n};\n\n\nexport type QueryRiskRuleGetArgs = {\n input?: InputMaybe<RiskRuleGetInput>;\n};\n\n\nexport type QueryRiskRulesListArgs = {\n input?: InputMaybe<RiskRulesListInput>;\n};\n\n\nexport type QueryRolePermissionsArgs = {\n input: RolePermissionsInput;\n};\n\n\nexport type QuerySearchArgs = {\n input: SearchInput;\n};\n\n\nexport type QueryServiceLocationsFilterArgs = {\n input?: InputMaybe<ServiceLocationsFilterInput>;\n};\n\n\nexport type QuerySpendingInsightsArgs = {\n input: SpendingInsightsInput;\n};\n\n\nexport type QueryTransactionArgs = {\n input: Scalars['ID']['input'];\n};\n\n\nexport type QueryTransactionReportDownloadArgs = {\n input?: InputMaybe<TransactionReportDownloadInput>;\n};\n\n\nexport type QueryTransactionsFilterArgs = {\n input: TransactionsFilterInput;\n};\n\n\nexport type QueryTransactionsInsightsArgs = {\n input: TransactionsInsightsInput;\n};\n\n\nexport type QueryTransactionsOverviewArgs = {\n input: TransactionsOverviewInput;\n};\n\n\nexport type QueryTransactionsStatsArgs = {\n input: TransactionsStatsInput;\n};\n\n\nexport type QueryUserArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryUsersFilterArgs = {\n input: UsersFilterInput;\n};\n\n\nexport type QueryVehicleArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryVehicleFieldsArgs = {\n input: VehicleFieldsInput;\n};\n\n\nexport type QueryVehicleGroupArgs = {\n id: Scalars['ID']['input'];\n};\n\n\nexport type QueryVehicleGroupsFilterArgs = {\n input: VehicleGroupsFilterInput;\n};\n\n\nexport type QueryVehiclesFilterArgs = {\n input: VehiclesFilterInput;\n};\n\n\nexport type QueryVehiclesFilterByLocationArgs = {\n input: VehiclesFilterByLocationInput;\n};\n\n\nexport type QueryVehiclesWithTelematicsNotEnrolledArgs = {\n input: VehiclesWithTelematicsNotEnrolledInput;\n};\n\nexport type RadiusFilter = {\n /** Radius in meters to filter around the point. */\n maxRadius?: InputMaybe<Scalars['Float']['input']>;\n /** Latitude and longitude. */\n point: PositionInput;\n /** Deprecated. Radius in meters to filter around the point. */\n radius?: InputMaybe<Scalars['Float']['input']>;\n};\n\nexport type Report = {\n __typename?: 'Report';\n /** Data stream pertaining to the report. */\n data?: Maybe<Scalars['String']['output']>;\n /** Specifies errors if the report didn't generate. */\n error?: Maybe<Scalars['String']['output']>;\n /** Whether items exist in this report. */\n exists?: Maybe<Scalars['Boolean']['output']>;\n /** Filename of the report. */\n fileName?: Maybe<Scalars['String']['output']>;\n};\n\n/** Type to filter on in a Report Download */\nexport enum ReportFilterType {\n Driver = 'DRIVER',\n Entity = 'ENTITY',\n Vehicle = 'VEHICLE',\n VehicleGroup = 'VEHICLE_GROUP'\n}\n\nexport type ReportIssueInput = {\n /** JSON string with fields such as messageType, eventId, appName, appVersion */\n data?: InputMaybe<Scalars['JSONObject']['input']>;\n /** Comment to be added to file upload */\n fileComment?: InputMaybe<Scalars['String']['input']>;\n /** Pay app log file content */\n fileContent?: InputMaybe<Scalars['String']['input']>;\n /** Pay app log file name */\n fileName?: InputMaybe<Scalars['String']['input']>;\n};\n\n/** Type to include in a Report Download. */\nexport enum ReportType {\n AfterHours = 'AFTER_HOURS',\n Ifta = 'IFTA',\n PremiumFuel = 'PREMIUM_FUEL',\n PurchaseExceptions = 'PURCHASE_EXCEPTIONS',\n Transaction = 'TRANSACTION',\n ValidationExceptions = 'VALIDATION_EXCEPTIONS'\n}\n\n/** Specify year and month or dateFrom and dateTo. */\nexport type ReportsDownloadInput = {\n /** Branding */\n branding?: InputMaybe<BrandingType>;\n /** The starting date for the report's time range. */\n dateFrom?: InputMaybe<Scalars['String']['input']>;\n /** The ending date for the report's time range. */\n dateTo?: InputMaybe<Scalars['String']['input']>;\n /** Filter on entites, vehicle groups, vehicles, or drivers. */\n filterType: ReportFilterType;\n /** The id specified for on the filterType. Ex: an entity id or vehicle group id. */\n id: Scalars['ID']['input'];\n /** The month for which to generate the report. */\n month?: InputMaybe<Scalars['Int']['input']>;\n /** Include only after hours, transaction, premium fuel, or validation exceptions */\n type: ReportType;\n /** The year for which to generate the report. */\n year?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type RevokePolicyInput = {\n /** Entity id to remove a policy on. */\n entityId?: InputMaybe<Scalars['String']['input']>;\n /** Policy id to remove a policy on. */\n policyId: Scalars['String']['input'];\n /** Vehicle group id to remove a policy on. */\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RevokePolicyOutput = {\n __typename?: 'RevokePolicyOutput';\n /** Entity id that policy manage request changed. */\n entityId?: Maybe<Scalars['String']['output']>;\n /** Policy id that policy manage request changed. */\n policyId: Scalars['String']['output'];\n /** Vehicle id that policy manage request changed. */\n vehicleGroupId?: Maybe<Scalars['String']['output']>;\n};\n\nexport type RiskRule = {\n __typename?: 'RiskRule';\n definition?: Maybe<RiskRuleDefinition>;\n id?: Maybe<Scalars['String']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n isDefault?: Maybe<Scalars['Boolean']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type RiskRuleCreateInput = {\n amountPerDay?: InputMaybe<Scalars['String']['input']>;\n amountPerTransaction?: InputMaybe<Scalars['String']['input']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: InputMaybe<Scalars['Boolean']['input']>;\n daysTimes?: InputMaybe<DaysTimeRangesInput>;\n maxRiskTime?: InputMaybe<Scalars['Int']['input']>;\n /** Optional Unique String Identifier */\n name?: InputMaybe<Scalars['String']['input']>;\n /** Number of transactions allowed in a day */\n noOfTransactions?: InputMaybe<Scalars['Int']['input']>;\n /** Number of offline transactions allowed in a week */\n noOfTransactionsWeekly?: InputMaybe<Scalars['Int']['input']>;\n /** Replace all previously assigned risk rule with this one. Default is true. */\n replace?: InputMaybe<Scalars['Boolean']['input']>;\n userId?: InputMaybe<Scalars['String']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RiskRuleDefinition = {\n __typename?: 'RiskRuleDefinition';\n amountPerDay?: Maybe<Scalars['String']['output']>;\n amountPerTransaction?: Maybe<Scalars['String']['output']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: Maybe<Scalars['Boolean']['output']>;\n /** Deprecated */\n daysOfWeek?: Maybe<PurchaseDaysOfWeek>;\n daysTimes?: Maybe<DaysTimeRanges>;\n /** Deprecated */\n hours?: Maybe<PurchaseTimeRange>;\n maxRiskTime?: Maybe<Scalars['Int']['output']>;\n /** Number of transactions allowed in a day */\n noOfTransactions?: Maybe<Scalars['Int']['output']>;\n /** Number of offline transactions allowed in a week */\n noOfTransactionsWeekly?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type RiskRuleDeleteInput = {\n id?: InputMaybe<Scalars['String']['input']>;\n};\n\n/** Specify either id or name to get risk rule. */\nexport type RiskRuleGetInput = {\n id?: InputMaybe<Scalars['String']['input']>;\n name?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RiskRuleGetOutput = {\n __typename?: 'RiskRuleGetOutput';\n data?: Maybe<RiskRule>;\n};\n\nexport type RiskRuleUpdateInput = {\n amountPerDay?: InputMaybe<Scalars['String']['input']>;\n amountPerTransaction?: InputMaybe<Scalars['String']['input']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: InputMaybe<Scalars['Boolean']['input']>;\n daysTimes?: InputMaybe<DaysTimeRangesInput>;\n id?: InputMaybe<Scalars['String']['input']>;\n maxRiskTime?: InputMaybe<Scalars['Int']['input']>;\n /** Optional Unique String Identifier */\n name?: InputMaybe<Scalars['String']['input']>;\n /** Number of transactions allowed in a day */\n noOfTransactions?: InputMaybe<Scalars['Int']['input']>;\n /** Number of offline transactions allowed in a week */\n noOfTransactionsWeekly?: InputMaybe<Scalars['Int']['input']>;\n userId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RiskRulesListInput = {\n page?: InputMaybe<PageRequest>;\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RiskRulesListOutput = {\n __typename?: 'RiskRulesListOutput';\n data?: Maybe<Array<Maybe<RiskRule>>>;\n meta?: Maybe<PageMeta>;\n};\n\nexport type Role = {\n __typename?: 'Role';\n description?: Maybe<Scalars['String']['output']>;\n displayName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n isSystem?: Maybe<Scalars['Boolean']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n /** Permissions on a role. */\n permissions: Array<Permission>;\n};\n\nexport type RolePermissionsInput = {\n id?: InputMaybe<Scalars['ID']['input']>;\n name?: InputMaybe<RoleType>;\n};\n\nexport enum RoleType {\n Admin = 'ADMIN',\n Driver = 'DRIVER',\n FullAccess = 'FULL_ACCESS',\n Manager = 'MANAGER',\n ViewOnly = 'VIEW_ONLY'\n}\n\n/** The data for an item from a search query. Different values are returned for a user, vehicle group, or vehicle object. */\nexport type SearchData = {\n __typename?: 'SearchData';\n code?: Maybe<Scalars['String']['output']>;\n description?: Maybe<Scalars['String']['output']>;\n driverCount?: Maybe<Scalars['String']['output']>;\n email?: Maybe<Scalars['String']['output']>;\n employeeId?: Maybe<Scalars['String']['output']>;\n enrolledServices?: Maybe<Scalars['String']['output']>;\n entityId?: Maybe<Scalars['String']['output']>;\n entityName?: Maybe<Scalars['String']['output']>;\n externalId?: Maybe<Scalars['String']['output']>;\n firstName?: Maybe<Scalars['String']['output']>;\n fuel?: Maybe<Scalars['String']['output']>;\n fullName?: Maybe<Scalars['String']['output']>;\n isDefault?: Maybe<Scalars['String']['output']>;\n lastName?: Maybe<Scalars['String']['output']>;\n lastTransaction?: Maybe<Scalars['String']['output']>;\n loginType?: Maybe<Scalars['String']['output']>;\n make?: Maybe<Scalars['String']['output']>;\n metadataDescription?: Maybe<Scalars['String']['output']>;\n metadataLicensePlate?: Maybe<Scalars['String']['output']>;\n metadataLicensePlateState?: Maybe<Scalars['String']['output']>;\n metadataNumber?: Maybe<Scalars['String']['output']>;\n middleName?: Maybe<Scalars['String']['output']>;\n model?: Maybe<Scalars['String']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n odometer?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['String']['output']>;\n phoneNumber?: Maybe<Scalars['String']['output']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: Maybe<Array<Maybe<ServiceType>>>;\n userStatus?: Maybe<Scalars['String']['output']>;\n usersCount?: Maybe<Scalars['String']['output']>;\n vehicleGroupId?: Maybe<Scalars['String']['output']>;\n vehicleGroupIds?: Maybe<Scalars['String']['output']>;\n vehicleGroupName?: Maybe<Scalars['String']['output']>;\n vehicleGroupNames?: Maybe<Scalars['String']['output']>;\n vehicleId?: Maybe<Scalars['String']['output']>;\n vehiclesCount?: Maybe<Scalars['String']['output']>;\n vin?: Maybe<Scalars['String']['output']>;\n year?: Maybe<Scalars['String']['output']>;\n};\n\nexport type SearchFilter = {\n /** Can provide an entityId and if to include children of the entity. */\n entity?: InputMaybe<EntityFilter>;\n /** by default, all types are included, but can specify only on a user, vehicle, or vehicle group. */\n includeTypes?: InputMaybe<Array<InputMaybe<SearchObjectType>>>;\n /** User status such as onboarded, invited, deleted, etc. */\n userStatuses?: InputMaybe<Array<InputMaybe<UserStatus>>>;\n /** Vehicle group id to filter on. */\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n};\n\nexport type SearchInput = {\n /** Filter using types (user, vehicle, vehicle group), vehicle group id, entity id, and user statuses (onboarded, deleted, etc). */\n filter?: InputMaybe<SearchFilter>;\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n /** The query that will be searched. */\n searchText: Scalars['String']['input'];\n /** Specify */\n sortOptions?: InputMaybe<SearchSortOptions>;\n};\n\n/** Types to include in the search filter. */\nexport enum SearchObjectType {\n User = 'USER',\n Vehicle = 'VEHICLE',\n VehicleGroup = 'VEHICLE_GROUP'\n}\n\nexport type SearchOutput = {\n __typename?: 'SearchOutput';\n /** Returns a list of items for the search result. */\n data?: Maybe<Array<Maybe<SearchResult>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type SearchResult = {\n __typename?: 'SearchResult';\n /** Name of the item searched upon. */\n displayName?: Maybe<Scalars['String']['output']>;\n /** Unique id the search. */\n itemId?: Maybe<Scalars['String']['output']>;\n /** The type of object of this item, either a user, vehicle, or vehicle group. */\n objectType?: Maybe<SearchObjectType>;\n /** Properties of this item. */\n properties?: Maybe<SearchData>;\n};\n\nexport type SearchSortOptions = {\n direction?: InputMaybe<Direction>;\n orderBy?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n};\n\nexport type ServiceFuelInput = {\n additionalInfo?: InputMaybe<AdditionalServicePayInfoInput>;\n /** Pump number of the given gas station. */\n pumpNumber: Scalars['Int']['input'];\n};\n\nexport type ServiceLocation = {\n __typename?: 'ServiceLocation';\n /** Address of the location. */\n address?: Maybe<Address>;\n /** Service provider/fuel brand name. */\n brand?: Maybe<Scalars['String']['output']>;\n /** Service provider/fuel brand human readable name */\n brandLabel?: Maybe<Scalars['String']['output']>;\n /** Cost factor associated with station price. */\n costFactor?: Maybe<Scalars['Int']['output']>;\n /** For Circle K to appropriately render orange CK Pro logo/gray/red stations. */\n feeNetworkDesignation?: Maybe<FeeNetworkDesignationType>;\n /** The location and radius of this service. */\n geobounds?: Maybe<Geobounds>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Integration for pump unlock such as QUIKQ, P97, CARIQ_OPENLOOP, PDI, etc. */\n integration?: Maybe<Scalars['String']['output']>;\n /** Fuel brand of location. */\n name: Scalars['String']['output'];\n /** Is this station cannot use direct connect. */\n outOfNetwork?: Maybe<Scalars['Boolean']['output']>;\n /** Id of partner locations. */\n partnerLocationId?: Maybe<Scalars['String']['output']>;\n /** Has physical card. e.g. Voyager accounts. */\n physicalCardEnabled?: Maybe<Scalars['Boolean']['output']>;\n /** Geocode of location. */\n position?: Maybe<Location>;\n /** The product name and service type (fuel, toll, etc). */\n products?: Maybe<Array<Maybe<Product>>>;\n /** Stations with rebate incentive. */\n rebateEligible?: Maybe<Scalars['Boolean']['output']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: Maybe<Array<Maybe<ServiceType>>>;\n /** Is Tap To Pay enabled? */\n ttpEnabled?: Maybe<Scalars['Boolean']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type ServiceLocationInsights = {\n __typename?: 'ServiceLocationInsights';\n /** Address of the location. */\n address?: Maybe<Address>;\n /** Service provider/fuel brand name. */\n brand?: Maybe<Scalars['String']['output']>;\n /** Service provider/fuel brand human readable name */\n brandLabel?: Maybe<Scalars['String']['output']>;\n id: Scalars['ID']['output'];\n /** Fuel brand of location. */\n name?: Maybe<Scalars['String']['output']>;\n /** Geocode of location. */\n position?: Maybe<Location>;\n};\n\nexport enum ServiceLocationSortField {\n Brand = 'BRAND'\n}\n\nexport type ServiceLocationsFilterInput = {\n /** Filter using the position, radius, services, brands, network type, etc. */\n filter: ServiceLocationsFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Order by brand name. */\n sortOptions?: InputMaybe<ServiceLocationsSortOptions>;\n};\n\nexport type ServiceLocationsFilterOptions = {\n /** Brand/name of the service location. */\n brand?: InputMaybe<Scalars['String']['input']>;\n /** List of brands (case-insensitive). */\n brands?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n feeNetworkDesignations?: InputMaybe<Array<InputMaybe<FeeNetworkDesignationType>>>;\n /** In network, out of network, or all network types. Default is in networks. */\n networkType?: InputMaybe<NetworkType>;\n /** Has physical card. e.g. Voyager accounts. */\n physicalCardEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Latitude and longitude on the service. */\n position: PositionInput;\n /** Type of fuel. */\n productTypes?: InputMaybe<Array<InputMaybe<ProductType>>>;\n /** Radius around the position to filter on. */\n radius?: InputMaybe<Scalars['Float']['input']>;\n /** Has rebate incentive. */\n rebateEligible?: InputMaybe<Scalars['Boolean']['input']>;\n /** Filter service locations by IDs. */\n serviceLocationIds?: InputMaybe<Array<Scalars['ID']['input']>>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: InputMaybe<ServiceType>;\n /** Has TTP enabled. */\n ttpEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type ServiceLocationsPage = {\n __typename?: 'ServiceLocationsPage';\n /** List of available stations from a given locations */\n data?: Maybe<Array<Maybe<ServiceLocation>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type ServiceLocationsSortOptions = {\n /** Specify the direction to sort (asc, desc, etc). */\n direction: SortDirection;\n /** Order the stations by brand. */\n orderBy: ServiceLocationSortField;\n};\n\nexport type ServicePayInput = {\n deviceId?: InputMaybe<Scalars['String']['input']>;\n /** Specify the pump number. */\n fuel?: InputMaybe<ServiceFuelInput>;\n localTime?: InputMaybe<Scalars['String']['input']>;\n locationId: Scalars['ID']['input'];\n /** Deprecated: For fallback transactions(both Physical Card and TTP) at DC stations. */\n openloopFallback?: InputMaybe<Scalars['Boolean']['input']>;\n /** Direct connect, TTP, or linked card. */\n paymentMethodType?: InputMaybe<PaymentMethodType>;\n /** Latitude and longitude. */\n position: PositionInput;\n requestId: Scalars['ID']['input'];\n vehicleId: Scalars['ID']['input'];\n};\n\nexport type ServicePayOutput = {\n __typename?: 'ServicePayOutput';\n /** Unique request id of this payment. */\n requestId: Scalars['ID']['output'];\n /** Unique transaction id of this payment. */\n transactionId: Scalars['ID']['output'];\n};\n\n/** Service provider information on a policy */\nexport type ServiceProvider = {\n __typename?: 'ServiceProvider';\n description?: Maybe<Scalars['String']['output']>;\n id: Scalars['String']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n label?: Maybe<Scalars['String']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\n/** Services that Car IQ offers */\nexport enum ServiceType {\n Fees = 'FEES',\n Fuel = 'FUEL',\n Maintenance = 'MAINTENANCE',\n Parking = 'PARKING',\n Toll = 'TOLL',\n UnknownService = 'UNKNOWN_SERVICE'\n}\n\nexport enum SortDirection {\n Asc = 'ASC',\n AscNullsFirst = 'ASC_NULLS_FIRST',\n AscNullsLast = 'ASC_NULLS_LAST',\n Desc = 'DESC',\n DescNullsFirst = 'DESC_NULLS_FIRST',\n DescNullsLast = 'DESC_NULLS_LAST'\n}\n\nexport type SpendRestrictions = {\n __typename?: 'SpendRestrictions';\n /** Amount per day, usually around $125. */\n amountPerDay?: Maybe<Scalars['String']['output']>;\n /** Also known as purchas limit. Usually between $5 and $1000. */\n amountPerTransaction?: Maybe<Scalars['String']['output']>;\n /** Max dollar amount per week. 0 or null turns this restriction off. */\n amountPerWeek?: Maybe<Scalars['Int']['output']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: Maybe<Scalars['Boolean']['output']>;\n /** Define which days and times vehicles can transact at for fueling. */\n daysOfWeek?: Maybe<SpendRestrictionsDaysOfWeek>;\n enforceFuelSpendEstimation?: Maybe<Scalars['Boolean']['output']>;\n /** Deprecated, use direct spend restrictions settings instead. */\n fuel?: Maybe<FuelRestrictions>;\n /** Number of transactions */\n noOfTransactions?: Maybe<Scalars['Int']['output']>;\n predefinedRule?: Maybe<Scalars['String']['output']>;\n};\n\nexport type SpendRestrictionsDay = {\n __typename?: 'SpendRestrictionsDay';\n /** Enable this day for fueling. */\n isEnabled: Scalars['Boolean']['output'];\n /** Defines a list of to and from times that a vehicle can purchase at. */\n purchaseTimes?: Maybe<Array<Maybe<PurchaseTimeRange>>>;\n};\n\nexport type SpendRestrictionsDayInput = {\n isEnabled: Scalars['Boolean']['input'];\n /** Defines a list of to and from times that a vehicle can purchase at. */\n purchaseTimes?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;\n};\n\n/** Specifies if which days are enabled and for which times. */\nexport type SpendRestrictionsDaysOfWeek = {\n __typename?: 'SpendRestrictionsDaysOfWeek';\n friday: SpendRestrictionsDay;\n monday: SpendRestrictionsDay;\n saturday: SpendRestrictionsDay;\n sunday: SpendRestrictionsDay;\n thursday: SpendRestrictionsDay;\n tuesday: SpendRestrictionsDay;\n wednesday: SpendRestrictionsDay;\n};\n\nexport type SpendRestrictionsDaysOfWeekInput = {\n friday: SpendRestrictionsDayInput;\n monday: SpendRestrictionsDayInput;\n saturday: SpendRestrictionsDayInput;\n sunday: SpendRestrictionsDayInput;\n thursday: SpendRestrictionsDayInput;\n tuesday: SpendRestrictionsDayInput;\n wednesday: SpendRestrictionsDayInput;\n};\n\nexport type SpendRestrictionsInput = {\n /** Amount per day. Max No of Transactions times Amount per Day. */\n amountPerDay?: InputMaybe<Scalars['String']['input']>;\n /** Also known as purchase limit, usually around $125. $1000 max. */\n amountPerTransaction?: InputMaybe<Scalars['String']['input']>;\n /** Max dollar amount per week. 0 or null turns this restriction off. */\n amountPerWeek?: InputMaybe<Scalars['Int']['input']>;\n /** Enforce checking the location of the vehicle during transaction */\n checkLocation?: InputMaybe<Scalars['Boolean']['input']>;\n /** Deprecated. Define which days and times vehicles can transact at for fueling. */\n daysOfWeek?: InputMaybe<SpendRestrictionsDaysOfWeekInput>;\n /** Enforce spend estimation on this vehicle */\n enforceFuelSpendEstimation?: InputMaybe<Scalars['Boolean']['input']>;\n /** Deprecated, use direct spend restrictions settings */\n fuel?: InputMaybe<FuelRestrictionsInput>;\n /** Number of transactions. Between 1 and 5. */\n noOfTransactions?: InputMaybe<Scalars['Int']['input']>;\n predefinedRule?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type SpendingInsightsInput = {\n entityId: Scalars['ID']['input'];\n periodType?: InputMaybe<TimePeriodType>;\n utcTimeFrom: Scalars['String']['input'];\n utcTimeTo: Scalars['String']['input'];\n};\n\nexport type SpendingInsightsOutput = {\n __typename?: 'SpendingInsightsOutput';\n driverSpending?: Maybe<Array<Maybe<DriverSpending>>>;\n driverSpendingInsights?: Maybe<Scalars['String']['output']>;\n gasPriceAverage?: Maybe<Scalars['String']['output']>;\n gasPriceInsights?: Maybe<Scalars['String']['output']>;\n gasPriceSeries?: Maybe<Array<Maybe<HashMap>>>;\n totalCurrentPeriod: Scalars['String']['output'];\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n totalSeries?: Maybe<Array<Maybe<HashMap>>>;\n vehicleSpending?: Maybe<Array<Maybe<VehicleSpending>>>;\n vehicleSpendingInsights?: Maybe<Scalars['String']['output']>;\n};\n\nexport type SpendingOverview = {\n __typename?: 'SpendingOverview';\n totalByServiceCurrentPeriod?: Maybe<Array<Maybe<HashMap>>>;\n totalCurrentPeriod: Scalars['String']['output'];\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n};\n\nexport type StoreCardCoFInput = {\n /** Encrypted Card info byte array encoded as Base64 string. */\n encryptedCard: Scalars['String']['input'];\n token: Scalars['String']['input'];\n};\n\nexport type StoreCardCoFOutput = {\n __typename?: 'StoreCardCoFOutput';\n id: Scalars['String']['output'];\n};\n\nexport type StringArrayHashMapInput = {\n key: Scalars['String']['input'];\n value: Array<InputMaybe<Scalars['String']['input']>>;\n};\n\nexport enum TimePeriodType {\n MonthToDate = 'MONTH_TO_DATE',\n Period = 'PERIOD',\n QuarterToDate = 'QUARTER_TO_DATE',\n WeekToDate = 'WEEK_TO_DATE',\n YearToDate = 'YEAR_TO_DATE'\n}\n\nexport type Transaction = {\n __typename?: 'Transaction';\n additionalInfo?: Maybe<AdditionalTransactionInfo>;\n currency?: Maybe<Scalars['String']['output']>;\n decisionStatus?: Maybe<DecisionStatus>;\n /** Driver information including phone number, name, organization id, vehicle groups, etc. */\n driver?: Maybe<User>;\n /** The entity of the transaction. */\n entity?: Maybe<Entity>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Information on the transaction such as the price, name, type, etc. */\n items?: Maybe<Array<Maybe<TransactionItem>>>;\n localTime?: Maybe<Scalars['String']['output']>;\n /** Information including the location on the service. */\n location?: Maybe<ServiceLocation>;\n pdfReceiptUrl?: Maybe<Scalars['String']['output']>;\n /** Latitude and longitude of the transaction. */\n position?: Maybe<Location>;\n /** The status of the transaction. */\n statuses?: Maybe<Array<Maybe<TransactionStatus>>>;\n subtotal?: Maybe<Scalars['String']['output']>;\n taxAmount?: Maybe<Scalars['String']['output']>;\n totalAmount?: Maybe<Scalars['String']['output']>;\n transactionNumber?: Maybe<Scalars['Int']['output']>;\n transactionTime?: Maybe<Scalars['String']['output']>;\n /** Realtime or invoice type. */\n type?: Maybe<TransactionType>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n vehicle?: Maybe<Vehicle>;\n /** The vehicle group of the transaction. */\n vehicleGroup?: Maybe<VehicleGroup>;\n};\n\nexport type TransactionFilterAdditionalOptions = {\n generatePdfReceipt?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type TransactionInsight = {\n __typename?: 'TransactionInsight';\n currency?: Maybe<Scalars['String']['output']>;\n driverId?: Maybe<Scalars['ID']['output']>;\n driverName?: Maybe<Scalars['String']['output']>;\n exceptions?: Maybe<Array<Maybe<Scalars['String']['output']>>>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n paymentType?: Maybe<Scalars['String']['output']>;\n serviceLocation?: Maybe<ServiceLocationInsights>;\n serviceType?: Maybe<Scalars['String']['output']>;\n status?: Maybe<Scalars['String']['output']>;\n subtotal?: Maybe<Scalars['String']['output']>;\n taxAmount?: Maybe<Scalars['String']['output']>;\n totalAmount?: Maybe<Scalars['String']['output']>;\n transactionTime?: Maybe<Scalars['String']['output']>;\n vehicleDescription?: Maybe<Scalars['String']['output']>;\n vehicleId?: Maybe<Scalars['ID']['output']>;\n vehicleMake?: Maybe<Scalars['String']['output']>;\n vehicleModel?: Maybe<Scalars['String']['output']>;\n vehicleName?: Maybe<Scalars['String']['output']>;\n vehicleYear?: Maybe<Scalars['String']['output']>;\n vin?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionItem = {\n __typename?: 'TransactionItem';\n amount?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n line?: Maybe<Scalars['String']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n productName?: Maybe<Scalars['String']['output']>;\n productTier?: Maybe<Scalars['String']['output']>;\n quantity?: Maybe<Scalars['String']['output']>;\n /** A service that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceType?: Maybe<ServiceType>;\n transactionId?: Maybe<Scalars['ID']['output']>;\n unitPrice?: Maybe<Scalars['String']['output']>;\n units?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionPage = {\n __typename?: 'TransactionPage';\n /** List of transactions. */\n data?: Maybe<Transaction>;\n requestId?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionReport = {\n __typename?: 'TransactionReport';\n /** Data stream pertaining to the report. */\n data?: Maybe<Scalars['String']['output']>;\n /** Whether transactions exist in this report. */\n exists?: Maybe<Scalars['Boolean']['output']>;\n /** Filename of the report. */\n fileName?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionReportDownloadInput = {\n dateFrom?: InputMaybe<Scalars['String']['input']>;\n dateTo?: InputMaybe<Scalars['String']['input']>;\n id: Scalars['ID']['input'];\n month?: InputMaybe<Scalars['Int']['input']>;\n /** Download only one of the following: entity, vehicle, vehicle group, driver. */\n type: TransactionReportType;\n year?: InputMaybe<Scalars['Int']['input']>;\n};\n\n/** Which type to download the transaction report on. */\nexport enum TransactionReportType {\n Driver = 'DRIVER',\n Entity = 'ENTITY',\n Vehicle = 'VEHICLE',\n VehicleGroup = 'VEHICLE_GROUP'\n}\n\n/** How to order transactions in TransactionsFilter. */\nexport enum TransactionSortField {\n Amount = 'AMOUNT',\n DriverName = 'DRIVER_NAME',\n LocalTime = 'LOCAL_TIME',\n Time = 'TIME',\n VehicleDescription = 'VEHICLE_DESCRIPTION',\n VehicleName = 'VEHICLE_NAME'\n}\n\nexport type TransactionStatus = {\n __typename?: 'TransactionStatus';\n /** ID of aggregator, such as P97, VERRA, FISERV, ARRIVE, CARIQ_OPENLOOP, or AUTO_INTEGRATE. */\n aggregatorId?: Maybe<Scalars['ID']['output']>;\n details?: Maybe<TransactionStatusField>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Information on the transaction such as the price, name, type, etc. */\n items?: Maybe<Array<Maybe<TransactionItem>>>;\n /** Status values can be STARTED, PROVISIONING, PROCESSING, PROVISIONED, RESERVED, FINISHED, or a type of FAILURE_* */\n status?: Maybe<Scalars['String']['output']>;\n /** Information on the transaction such as subtotal, tax, total, and currency. */\n total?: Maybe<TransactionTotal>;\n transactionId?: Maybe<Scalars['ID']['output']>;\n};\n\nexport type TransactionStatusField = {\n __typename?: 'TransactionStatusField';\n response?: Maybe<TransactionStatusResponse>;\n};\n\nexport type TransactionStatusResponse = {\n __typename?: 'TransactionStatusResponse';\n kind?: Maybe<Scalars['String']['output']>;\n stringValue?: Maybe<Scalars['String']['output']>;\n};\n\nexport type TransactionTotal = {\n __typename?: 'TransactionTotal';\n currency?: Maybe<Scalars['String']['output']>;\n subtotal?: Maybe<Scalars['String']['output']>;\n tax?: Maybe<Scalars['String']['output']>;\n total?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum TransactionType {\n Invoice = 'INVOICE',\n Realtime = 'REALTIME',\n UnknownType = 'UNKNOWN_TYPE'\n}\n\nexport type TransactionUpdateInput = {\n /** Fields to update like jobCode. */\n options?: InputMaybe<TransactionUpdateOptionsInput>;\n /** ID of the transaction to update. */\n transactionId: Scalars['ID']['input'];\n};\n\nexport type TransactionUpdateOptionsInput = {\n jobCode: Scalars['String']['input'];\n};\n\nexport type TransactionsFilterInput = {\n /** Add a pdf receipt. */\n additionalOptions?: InputMaybe<TransactionFilterAdditionalOptions>;\n /** Filter on one of many items such as a user id, vin, vehicle id, entity id, etc. */\n filter: TransactionsFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Order by time, local time, veihcle name, driver name, etc and direction (asc, desc, etc). */\n sortOptions?: InputMaybe<TransactionsSortOptions>;\n};\n\nexport type TransactionsFilterOptions = {\n entityId?: InputMaybe<Scalars['ID']['input']>;\n fromDate?: InputMaybe<Scalars['String']['input']>;\n fromInsertedDate?: InputMaybe<Scalars['String']['input']>;\n fromLocalDate?: InputMaybe<Scalars['String']['input']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: InputMaybe<Array<InputMaybe<ServiceType>>>;\n toDate?: InputMaybe<Scalars['String']['input']>;\n toInsertedDate?: InputMaybe<Scalars['String']['input']>;\n toLocalDate?: InputMaybe<Scalars['String']['input']>;\n userId?: InputMaybe<Scalars['ID']['input']>;\n userIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n vehicleGroupExternalId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n vehicleId?: InputMaybe<Scalars['String']['input']>;\n vehicleIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n vin?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type TransactionsInsightsFilterOptions = {\n entityId: Scalars['ID']['input'];\n exceptionsOnly?: InputMaybe<Scalars['Boolean']['input']>;\n utcTimeFrom?: InputMaybe<Scalars['String']['input']>;\n utcTimeTo?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type TransactionsInsightsInput = {\n filter: TransactionsInsightsFilterOptions;\n page: PageRequest;\n sortOptions?: InputMaybe<TransactionsSortOptions>;\n};\n\nexport type TransactionsInsightsPage = {\n __typename?: 'TransactionsInsightsPage';\n data?: Maybe<Array<Maybe<TransactionInsight>>>;\n meta?: Maybe<PageMeta>;\n};\n\nexport type TransactionsOverviewInput = {\n entityId: Scalars['ID']['input'];\n periodType?: InputMaybe<TimePeriodType>;\n utcTimeFrom: Scalars['String']['input'];\n utcTimeTo: Scalars['String']['input'];\n};\n\nexport type TransactionsOverviewOutput = {\n __typename?: 'TransactionsOverviewOutput';\n exceptions?: Maybe<Array<Maybe<HashMap>>>;\n spending?: Maybe<SpendingOverview>;\n vehicles?: Maybe<VehiclesOverviewOutput>;\n};\n\nexport type TransactionsPage = {\n __typename?: 'TransactionsPage';\n /** List of transactions. */\n data?: Maybe<Array<Maybe<Transaction>>>;\n /** The pagination used to fulfill the response. */\n meta?: Maybe<PageMeta>;\n};\n\n/** Options to sort on TransactionsFilter */\nexport type TransactionsSortOptions = {\n /** Specify a direction to sort by such as asc and desc. */\n direction: SortDirection;\n /** Order by time, local time, vehicle name, driver name, etc. */\n orderBy: TransactionSortField;\n};\n\nexport type TransactionsStats = {\n __typename?: 'TransactionsStats';\n amountAvg?: Maybe<Scalars['String']['output']>;\n amountTotal?: Maybe<Scalars['String']['output']>;\n driversTotal?: Maybe<Scalars['Int']['output']>;\n driversTransacting?: Maybe<Scalars['Int']['output']>;\n gallonsTotal?: Maybe<Scalars['String']['output']>;\n vehiclesTotal?: Maybe<Scalars['Int']['output']>;\n vehiclesTransacting?: Maybe<Scalars['Int']['output']>;\n};\n\n/** Specify inputs to get transactions statistics on a given entity. */\nexport type TransactionsStatsInput = {\n entityId: Scalars['ID']['input'];\n localTimeFrom?: InputMaybe<Scalars['String']['input']>;\n localTimeTo?: InputMaybe<Scalars['String']['input']>;\n utcTimeFrom?: InputMaybe<Scalars['String']['input']>;\n utcTimeTo?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type TtpTokenizationInput = {\n deviceId: Scalars['String']['input'];\n requestId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type TtpTokenizationOutput = {\n __typename?: 'TtpTokenizationOutput';\n cardFlag?: Maybe<CardNetwork>;\n /** Account ID, can be a vehicleId, deviceId, or an asset */\n deviceAccountId?: Maybe<Scalars['String']['output']>;\n displayName?: Maybe<Scalars['String']['output']>;\n lastFourDigits?: Maybe<Scalars['String']['output']>;\n paymentProviderAccountId?: Maybe<Scalars['String']['output']>;\n programSupports?: Maybe<ProgramSupports>;\n requestId?: Maybe<Scalars['String']['output']>;\n success?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type User = {\n __typename?: 'User';\n /** Specifies if phone number is a corporate phone. */\n additionalInfo?: Maybe<UserAdditionalInfo>;\n email?: Maybe<Scalars['String']['output']>;\n employeeId?: Maybe<Scalars['String']['output']>;\n /** Entity the user belongs to. */\n entity?: Maybe<Entity>;\n /** Auth0 Id */\n externalId?: Maybe<Scalars['String']['output']>;\n firstName?: Maybe<Scalars['String']['output']>;\n fullName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n lastName?: Maybe<Scalars['String']['output']>;\n /** Email or phone */\n loginType?: Maybe<LoginType>;\n /** List of loyalty accounts for the user. */\n loyaltyAccounts?: Maybe<Array<Maybe<UserLoyaltyAccountForUser>>>;\n middleName?: Maybe<Scalars['String']['output']>;\n organizationId?: Maybe<Scalars['ID']['output']>;\n phoneNumber?: Maybe<Scalars['String']['output']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: Maybe<RoleType>;\n status?: Maybe<UserStatus>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** deprecated */\n username?: Maybe<Scalars['String']['output']>;\n /** Return a list of vehicle groups. */\n vehicleGroups?: Maybe<Array<Maybe<VehicleGroup>>>;\n};\n\nexport type UserActivationCodeSignUpInput = {\n activationCode: Scalars['String']['input'];\n firstName: Scalars['String']['input'];\n lastName: Scalars['String']['input'];\n phoneNumber: Scalars['String']['input'];\n};\n\nexport type UserAdditionalInfo = {\n __typename?: 'UserAdditionalInfo';\n /** Managers/dashboard user phone number that's not used for authentication */\n contactPhoneNumber?: Maybe<Scalars['String']['output']>;\n isCorporatePhone?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type UserCreateInput = {\n additionalInfo?: InputMaybe<AdditionalInfoInput>;\n /** Email is necessary for Manager Roles(Full Access and Read Only). */\n email?: InputMaybe<Scalars['String']['input']>;\n employeeId?: InputMaybe<Scalars['String']['input']>;\n entityId: Scalars['ID']['input'];\n firstName: Scalars['String']['input'];\n id?: InputMaybe<Scalars['ID']['input']>;\n lastName: Scalars['String']['input'];\n /** Auth method(email or phone) used by user */\n loginType?: InputMaybe<LoginType>;\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role: RoleType;\n};\n\nexport type UserForgotPasswordInput = {\n /** deprecated */\n username: Scalars['String']['input'];\n};\n\nexport type UserLoginInput = {\n client_id: Scalars['String']['input'];\n client_secret: Scalars['String']['input'];\n grant_type?: InputMaybe<Scalars['String']['input']>;\n password: Scalars['String']['input'];\n scope: Scalars['String']['input'];\n /** deprecated */\n username: Scalars['String']['input'];\n};\n\nexport enum UserLoginMethod {\n AppleSso = 'APPLE_SSO',\n EmailOtp = 'EMAIL_OTP',\n GoogleSso = 'GOOGLE_SSO',\n MagicLink = 'MAGIC_LINK',\n Password = 'PASSWORD',\n PhoneOtp = 'PHONE_OTP'\n}\n\nexport type UserLoginOtpRequestInput = {\n client_id: Scalars['String']['input'];\n client_secret: Scalars['String']['input'];\n /** SMS or Email */\n connection: ConnectionType;\n email?: InputMaybe<Scalars['String']['input']>;\n language?: InputMaybe<LanguageType>;\n /** Method to login such as PHONE_OTP, EMAIL_OTP, or EMAIL_MAGIC_LINK */\n method?: InputMaybe<UserLoginMethod>;\n phone_number?: InputMaybe<Scalars['String']['input']>;\n redirectUri?: InputMaybe<Scalars['String']['input']>;\n /** Code or Link */\n send: OtpType;\n};\n\nexport type UserLoginOtpVerifyInput = {\n client_id: Scalars['String']['input'];\n client_secret: Scalars['String']['input'];\n /** SMS or Email */\n connection: ConnectionType;\n email?: InputMaybe<Scalars['String']['input']>;\n otp: Scalars['String']['input'];\n phone_number?: InputMaybe<Scalars['String']['input']>;\n scope: Scalars['String']['input'];\n};\n\nexport type UserLoginUniversalInput = {\n redirectUri: Scalars['String']['input'];\n universalLoginClientId: Scalars['String']['input'];\n};\n\nexport type UserLoyaltyAccount = {\n __typename?: 'UserLoyaltyAccount';\n deletedAt?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n loyaltyId?: Maybe<Scalars['String']['output']>;\n loyaltyPhone?: Maybe<Scalars['String']['output']>;\n program?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n userId?: Maybe<Scalars['ID']['output']>;\n};\n\nexport type UserLoyaltyAccountAddInput = {\n loyaltyId: Scalars['String']['input'];\n loyaltyPhone?: InputMaybe<Scalars['String']['input']>;\n program: Scalars['String']['input'];\n};\n\nexport type UserLoyaltyAccountForUser = {\n __typename?: 'UserLoyaltyAccountForUser';\n id?: Maybe<Scalars['ID']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n loyaltyId?: Maybe<Scalars['String']['output']>;\n loyaltyPhone?: Maybe<Scalars['String']['output']>;\n program?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n userId?: Maybe<Scalars['ID']['output']>;\n};\n\nexport type UserNotificationTokenUpdateOutput = {\n __typename?: 'UserNotificationTokenUpdateOutput';\n error?: Maybe<Scalars['Boolean']['output']>;\n message?: Maybe<Scalars['String']['output']>;\n};\n\nexport type UserRefreshTokenInput = {\n client_id: Scalars['String']['input'];\n client_secret: Scalars['String']['input'];\n grant_type?: InputMaybe<Scalars['String']['input']>;\n refresh_token: Scalars['String']['input'];\n scope: Scalars['String']['input'];\n};\n\nexport type UserRole = {\n __typename?: 'UserRole';\n entity?: Maybe<Entity>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: Maybe<Role>;\n user?: Maybe<User>;\n};\n\nexport type UserRoleInput = {\n entityId: Scalars['ID']['input'];\n roleId?: InputMaybe<Scalars['ID']['input']>;\n roleName?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type UserSetPasswordInput = {\n id: Scalars['String']['input'];\n password: Scalars['String']['input'];\n};\n\n/** Status of a given user. */\nexport enum UserStatus {\n /** Also known as offboarded */\n Deactivated = 'DEACTIVATED',\n Deleted = 'DELETED',\n Invited = 'INVITED',\n LockedOut = 'LOCKED_OUT',\n Onboarded = 'ONBOARDED',\n Unknown = 'UNKNOWN'\n}\n\nexport type UserUpdateInput = {\n additionalInfo?: InputMaybe<AdditionalInfoInput>;\n email?: InputMaybe<Scalars['String']['input']>;\n employeeId?: InputMaybe<Scalars['String']['input']>;\n firstName?: InputMaybe<Scalars['String']['input']>;\n id: Scalars['ID']['input'];\n lastName?: InputMaybe<Scalars['String']['input']>;\n /** Auth method(email or phone) used by user */\n loginType?: InputMaybe<LoginType>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role: RoleType;\n};\n\nexport type UsersFilterInput = {\n /** Filter on username, external id, entity id, vehicle group id, user role, or user statuses. */\n filter: UsersFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Order by firt name, last name, email, phone number, or status and the direction (desc, asc). */\n sortOptions?: InputMaybe<UsersSortOptions>;\n};\n\nexport type UsersFilterOptions = {\n email?: InputMaybe<Scalars['String']['input']>;\n entityId?: InputMaybe<Scalars['ID']['input']>;\n /** Auth0 Id, if specified, will only apply filter using externalId */\n externalId?: InputMaybe<Scalars['String']['input']>;\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: InputMaybe<RoleType>;\n roles?: InputMaybe<Array<InputMaybe<RoleType>>>;\n statuses?: InputMaybe<Array<InputMaybe<UserStatus>>>;\n /** deprecated */\n username?: InputMaybe<Scalars['String']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n};\n\nexport type UsersPage = {\n __typename?: 'UsersPage';\n /** Returns a list of users. */\n data?: Maybe<Array<Maybe<User>>>;\n /** The pagination used to fulfill the response. */\n meta?: Maybe<PageMeta>;\n};\n\nexport enum UsersSortField {\n Email = 'EMAIL',\n FirstName = 'FIRST_NAME',\n LastName = 'LAST_NAME',\n PhoneNumber = 'PHONE_NUMBER',\n Status = 'STATUS'\n}\n\nexport type UsersSortOptions = {\n /** Specify a direction such as desc or asc. */\n direction: SortDirection;\n /** Sort on first name, last name, email, phone number, or status. */\n orderBy: UsersSortField;\n};\n\nexport type ValidateTokenCoFInput = {\n token: Scalars['String']['input'];\n};\n\nexport type ValidateTokenCoFOutput = {\n __typename?: 'ValidateTokenCoFOutput';\n /** Public Key byte array encoded as Base64 string. */\n publicKey: Scalars['String']['output'];\n token: Scalars['String']['output'];\n};\n\nexport type Vehicle = {\n __typename?: 'Vehicle';\n createdAt?: Maybe<Scalars['String']['output']>;\n /** Details on a vehicle such as model, make, year, trim, manufacture plant, and number of doors. */\n details?: Maybe<VehicleDetails>;\n driverCount?: Maybe<Scalars['Int']['output']>;\n /** Environment of vehicle such as outside air tempurature, engine oil tempurature, and coolant tempurature. */\n environment?: Maybe<VehicleEnvironment>;\n /** Information of the vehicle's fuel such as the level, percent, and fuel used on current trip. */\n fuel?: Maybe<VehicleFuel>;\n id?: Maybe<Scalars['ID']['output']>;\n lastTransactionDate?: Maybe<Scalars['String']['output']>;\n /** Location of vehicle (lat, long) and information about the satellite. */\n location?: Maybe<VehicleLocation>;\n /** Mechanical information on the vehicle such as if the ignition is on, engine speed, tire pressure of each tire, and engine oil life remaining. */\n mechanical?: Maybe<VehicleMechanical>;\n /** Information on movement of vehicle such as if it's driving, odometer, and speed. */\n movement?: Maybe<VehicleMovement>;\n registrationData?: Maybe<Scalars['JSONObject']['output']>;\n /** Services that Car IQ offers such as fueling, tolling, parking, etc. */\n serviceTypes?: Maybe<Array<Maybe<ServiceType>>>;\n /** Information on the vehicle such as name, serial number, source, license plate, imei, etc. */\n type?: Maybe<VehicleType>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** Information on the vehicle group that this vehicle belongs to you. */\n vehicleGroup?: Maybe<VehicleGroup>;\n vin: Scalars['String']['output'];\n};\n\n/** Create a vehicle using the vin. */\nexport type VehicleCreateInput = {\n vin: Scalars['String']['input'];\n};\n\nexport enum VehicleDataType {\n Unknown = 'UNKNOWN',\n VehicleOffline = 'VEHICLE_OFFLINE',\n VehicleOnline = 'VEHICLE_ONLINE'\n}\n\nexport type VehicleDetails = {\n __typename?: 'VehicleDetails';\n bodySubtype?: Maybe<Scalars['String']['output']>;\n bodyType?: Maybe<Scalars['String']['output']>;\n brakeSystem?: Maybe<Scalars['String']['output']>;\n colorExterior?: Maybe<Scalars['String']['output']>;\n colorExteriorCode?: Maybe<Scalars['String']['output']>;\n colorExteriorGeneric?: Maybe<Scalars['String']['output']>;\n colorExteriorHex?: Maybe<Scalars['String']['output']>;\n colorInterior?: Maybe<Scalars['String']['output']>;\n colorInteriorCode?: Maybe<Scalars['String']['output']>;\n colorInteriorGeneric?: Maybe<Scalars['String']['output']>;\n colorInteriorHex?: Maybe<Scalars['String']['output']>;\n description?: Maybe<Scalars['String']['output']>;\n destinationCharge?: Maybe<Scalars['String']['output']>;\n doors?: Maybe<Scalars['Int']['output']>;\n driveType?: Maybe<Scalars['String']['output']>;\n fuelTankCapacityPrimary?: Maybe<Scalars['Float']['output']>;\n fuelTankCapacitySecondary?: Maybe<Scalars['Float']['output']>;\n gasGuzzlerTax?: Maybe<Scalars['String']['output']>;\n /** Information on the image such as the thumbnail path, mid size path, and angle description. */\n image?: Maybe<VehicleImage>;\n invoicePrice?: Maybe<Scalars['String']['output']>;\n make?: Maybe<Scalars['String']['output']>;\n manufactureCountry?: Maybe<Scalars['String']['output']>;\n manufacturePlant?: Maybe<Scalars['String']['output']>;\n market?: Maybe<Scalars['String']['output']>;\n model?: Maybe<Scalars['String']['output']>;\n modelNumber?: Maybe<Scalars['String']['output']>;\n msrp?: Maybe<Scalars['String']['output']>;\n oemBodyStyle?: Maybe<Scalars['String']['output']>;\n oemDoors?: Maybe<Scalars['Int']['output']>;\n packageCode?: Maybe<Scalars['String']['output']>;\n restraintType?: Maybe<Scalars['String']['output']>;\n trim?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n vehicleType?: Maybe<Scalars['String']['output']>;\n year?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleEnvironment = {\n __typename?: 'VehicleEnvironment';\n barometricPressure?: Maybe<Scalars['Float']['output']>;\n engineCoolantTemp?: Maybe<Scalars['Float']['output']>;\n engineOilTemp?: Maybe<Scalars['Float']['output']>;\n outsideAirTemp?: Maybe<Scalars['Float']['output']>;\n outsideAirTempRaw?: Maybe<Scalars['Float']['output']>;\n transmissionOilTemp?: Maybe<Scalars['Float']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleFieldsAddInput = {\n dataType?: InputMaybe<DataType>;\n displayContexts?: InputMaybe<VehicleFieldsDisplayContextsInput>;\n fieldDescription?: InputMaybe<Scalars['String']['input']>;\n fieldKey?: InputMaybe<Scalars['String']['input']>;\n fieldName?: InputMaybe<Scalars['String']['input']>;\n ordinalNumber?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type VehicleFieldsConfiguration = {\n __typename?: 'VehicleFieldsConfiguration';\n dataType?: Maybe<DataType>;\n deletedAt?: Maybe<Scalars['String']['output']>;\n displayContexts?: Maybe<VehicleFieldsDisplayContexts>;\n fieldDescription?: Maybe<Scalars['String']['output']>;\n fieldKey?: Maybe<Scalars['String']['output']>;\n fieldName?: Maybe<Scalars['String']['output']>;\n id?: Maybe<Scalars['String']['output']>;\n insertedAt?: Maybe<Scalars['String']['output']>;\n ordinalNumber?: Maybe<Scalars['Int']['output']>;\n organizationId?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport enum VehicleFieldsDirection {\n Asc = 'ASC',\n Desc = 'DESC'\n}\n\nexport type VehicleFieldsDisplayContexts = {\n __typename?: 'VehicleFieldsDisplayContexts';\n console?: Maybe<Scalars['Boolean']['output']>;\n statementReport?: Maybe<Scalars['Boolean']['output']>;\n transactionReport?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type VehicleFieldsDisplayContextsInput = {\n console?: InputMaybe<Scalars['Boolean']['input']>;\n statementReport?: InputMaybe<Scalars['Boolean']['input']>;\n transactionReport?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type VehicleFieldsInput = {\n direction?: InputMaybe<VehicleFieldsDirection>;\n orderBy?: InputMaybe<VehicleFieldsOrderBy>;\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n};\n\nexport enum VehicleFieldsOrderBy {\n Name = 'NAME',\n OrdinalNumber = 'ORDINAL_NUMBER'\n}\n\nexport type VehicleFieldsPage = {\n __typename?: 'VehicleFieldsPage';\n data?: Maybe<Array<Maybe<VehicleFieldsConfiguration>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\nexport type VehicleFieldsUpdateInput = {\n dataType?: InputMaybe<DataType>;\n displayContexts?: InputMaybe<VehicleFieldsDisplayContextsInput>;\n fieldDescription?: InputMaybe<Scalars['String']['input']>;\n fieldName?: InputMaybe<Scalars['String']['input']>;\n /** UUID for field to update */\n id?: InputMaybe<Scalars['ID']['input']>;\n ordinalNumber?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type VehicleFuel = {\n __typename?: 'VehicleFuel';\n level?: Maybe<Scalars['Float']['output']>;\n percent?: Maybe<Scalars['Float']['output']>;\n totalUsed?: Maybe<Scalars['Float']['output']>;\n tripUsed?: Maybe<Scalars['Float']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleGroup = {\n __typename?: 'VehicleGroup';\n code?: Maybe<Scalars['String']['output']>;\n /** Description of a vehicle group. */\n description?: Maybe<Scalars['String']['output']>;\n /** Number of drivers in this vehicle group. */\n driverCount?: Maybe<Scalars['Int']['output']>;\n /** Entity information on this vehicle group. */\n entity?: Maybe<Entity>;\n externalId?: Maybe<Scalars['String']['output']>;\n id: Scalars['ID']['output'];\n insertedAt?: Maybe<Scalars['String']['output']>;\n /** Date of last transaction. */\n lastTransactionDate?: Maybe<Scalars['String']['output']>;\n /** Name of the vehicle group. */\n name?: Maybe<Scalars['String']['output']>;\n /** Organization information on this vehicle group. */\n organization?: Maybe<Organization>;\n /** Services allowed on the entity: tolling, fueling, etc */\n policies?: Maybe<Array<Maybe<Policy>>>;\n /** Settings for enabling job code and driver entered odometer */\n settings?: Maybe<VehicleGroupSettings>;\n /** Spend restrictions on this vehicle group such as amount per day, amount per transaction, no of transaction, days of week and times to enabled fuel use. */\n spendRestrictions?: Maybe<SpendRestrictions>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n /** Number of vehicles in this vehicle group. */\n vehicleCount?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type VehicleGroupCreateInput = {\n /** Vehicle group description. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** Enabled driver entering odometer. */\n driverEnteredOdometerEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Drivers included in this vehicle group. */\n drivers?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;\n /** Entity that this vehicle group will belong to. */\n entityId?: InputMaybe<Scalars['ID']['input']>;\n externalId?: InputMaybe<Scalars['String']['input']>;\n /** Enable adding Job Code to transactions. */\n jobCodeEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Job code entry option, which defines whether the job code is predefined or freeform. */\n jobCodeEntryOption?: InputMaybe<JobCodeEntryOptionEnum>;\n /** Enable job code entry being optional. */\n jobCodeEntryOptional?: InputMaybe<Scalars['Boolean']['input']>;\n /** A list of job code values/options for the vehicle group. */\n jobCodeOptions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n /** Name of vehicle group. */\n name: Scalars['String']['input'];\n /** Organization that this vehicle group will belong to. */\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n /** Define spend restrictions for input such as amount per day, amount per transaction, no of transaction, days of week and times to enabled fuel use. */\n spendRestrictions: SpendRestrictionsInput;\n /** Vehicles included in this vehicle group. */\n vehicles?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;\n};\n\nexport type VehicleGroupDriversAddInput = {\n drivers: Array<Scalars['ID']['input']>;\n vehicleGroupId: Scalars['ID']['input'];\n};\n\nexport type VehicleGroupDriversRemoveInput = {\n drivers: Array<Scalars['ID']['input']>;\n vehicleGroupId: Scalars['ID']['input'];\n};\n\nexport type VehicleGroupSettings = {\n __typename?: 'VehicleGroupSettings';\n /** Allow driver to enter odometer. */\n driverEnteredOdometerEnabled?: Maybe<Scalars['Boolean']['output']>;\n /** Allow the job code to be editable. */\n jobCodeEnabled?: Maybe<Scalars['Boolean']['output']>;\n /** Job code entry option, which defines whether the job code is predefined or freeform. */\n jobCodeEntryOption?: Maybe<JobCodeEntryOptionEnum>;\n /** Enable job code entry being optional. */\n jobCodeEntryOptional?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type VehicleGroupSpendRestrictionsSetInput = {\n /** Define spend restrictions for input such as amount per day, amount per transaction, no of transaction, days of week and times to enabled fuel use. */\n spendRestrictions: SpendRestrictionsInput;\n /** Vehicle group id to set the spend restrictions on. */\n vehicleGroupId: Scalars['ID']['input'];\n};\n\nexport type VehicleGroupUpdateInput = {\n /** Update the description on a vehicle group. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** Enabled driver entering odometer. */\n driverEnteredOdometerEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Update the external id on a vehicle group. */\n externalId?: InputMaybe<Scalars['String']['input']>;\n /** Id for the vehicle group to update. */\n id: Scalars['ID']['input'];\n /** Enable adding Job Code to transactions. */\n jobCodeEnabled?: InputMaybe<Scalars['Boolean']['input']>;\n /** Job code entry option, which defines whether the job code is predefined or freeform. */\n jobCodeEntryOption?: InputMaybe<JobCodeEntryOptionEnum>;\n /** Enable job code entry being optional. */\n jobCodeEntryOptional?: InputMaybe<Scalars['Boolean']['input']>;\n /** A list of job code values/options for the vehicle group. */\n jobCodeOptions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;\n /** Update the name on a vehicle group. */\n name: Scalars['String']['input'];\n};\n\nexport type VehicleGroupVehiclesAddInput = {\n vehicleGroupId: Scalars['ID']['input'];\n vehicles: Array<Scalars['ID']['input']>;\n};\n\nexport type VehicleGroupVehiclesRemoveInput = {\n vehicleGroupId: Scalars['ID']['input'];\n vehicles: Array<Scalars['ID']['input']>;\n};\n\nexport type VehicleGroupsFilterInput = {\n /** Filter on values such as driver id and entity id, and whether to include children and whether to include spend controls. */\n filter: VehicleGroupsFilterOptions;\n /** Pagination using a limit and offset. */\n page: PageRequest;\n /** Sort options to be able to order by name, description, vehicle count, driver count, and last transaction date. You can also specify sort location such as ascending and descending. */\n sortOptions?: InputMaybe<VehicleGroupsSortOptions>;\n};\n\n/** Filter options for vehicleGroupsFilter */\nexport type VehicleGroupsFilterOptions = {\n /** Filter on a driver id. */\n driverId?: InputMaybe<Scalars['ID']['input']>;\n /** Filter on an entity id. */\n entityId?: InputMaybe<Scalars['ID']['input']>;\n /** Include child entities in the filter. */\n includeChildren?: InputMaybe<Scalars['Boolean']['input']>;\n includeSpendControls?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\nexport type VehicleGroupsPage = {\n __typename?: 'VehicleGroupsPage';\n /** Returns a list of vehicle groups. */\n data?: Maybe<Array<Maybe<VehicleGroup>>>;\n /** The pagination used to fulfill the response. */\n meta?: Maybe<PageMeta>;\n};\n\nexport enum VehicleGroupsSortField {\n Description = 'DESCRIPTION',\n DriverCount = 'DRIVER_COUNT',\n LastTransactionDate = 'LAST_TRANSACTION_DATE',\n Name = 'NAME',\n VehicleCount = 'VEHICLE_COUNT'\n}\n\nexport type VehicleGroupsSortOptions = {\n /** Sort by direction such as ascending or descending. */\n direction: SortDirection;\n /** Order by the following values: name, description, vehicle count, driver count, and last transaction date. */\n orderBy: VehicleGroupsSortField;\n};\n\nexport type VehicleImage = {\n __typename?: 'VehicleImage';\n angleDescription?: Maybe<Scalars['String']['output']>;\n angleId?: Maybe<Scalars['String']['output']>;\n fullsizePath?: Maybe<Scalars['String']['output']>;\n midsizePath?: Maybe<Scalars['String']['output']>;\n thumbnailPath?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleImages = {\n __typename?: 'VehicleImages';\n fullsizePath?: Maybe<Scalars['String']['output']>;\n midsizePath?: Maybe<Scalars['String']['output']>;\n thumbnailPath?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleLocation = {\n __typename?: 'VehicleLocation';\n fixStatus?: Maybe<Scalars['String']['output']>;\n /** Horizontal Dilution Of Precision. Determines relative accuracy of a horizontal position. */\n hdop?: Maybe<Scalars['Float']['output']>;\n /** Latitude and Longitude of the vehicle. */\n position?: Maybe<Location>;\n /** Received Signal Strength Indicator. Indicates the strength of the device's signal. */\n rssi?: Maybe<Scalars['Float']['output']>;\n satellites?: Maybe<Scalars['Int']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleMechanical = {\n __typename?: 'VehicleMechanical';\n deviceVoltage?: Maybe<Scalars['Float']['output']>;\n distanceSinceCodesCleared?: Maybe<Scalars['Float']['output']>;\n engineOilLifeRemaining?: Maybe<Scalars['Int']['output']>;\n engineOperationalTime?: Maybe<Scalars['Float']['output']>;\n engineSpeed?: Maybe<Scalars['Float']['output']>;\n fuelFilterLifeRemaining?: Maybe<Scalars['Int']['output']>;\n isIgnitionOn?: Maybe<Scalars['Boolean']['output']>;\n throttlePosition?: Maybe<Scalars['Float']['output']>;\n tirePressureFl?: Maybe<Scalars['Float']['output']>;\n tirePressureFr?: Maybe<Scalars['Float']['output']>;\n tirePressureRl?: Maybe<Scalars['Float']['output']>;\n tirePressureRr?: Maybe<Scalars['Float']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n warmupSinceCodesCleared?: Maybe<Scalars['Int']['output']>;\n};\n\nexport type VehicleMovement = {\n __typename?: 'VehicleMovement';\n accelerationLinear?: Maybe<Scalars['Float']['output']>;\n accelerationSide?: Maybe<Scalars['Float']['output']>;\n accelerationVertical?: Maybe<Scalars['Float']['output']>;\n engineRoadSpeed?: Maybe<Scalars['Float']['output']>;\n heading?: Maybe<Scalars['Float']['output']>;\n /** Whether the vehicle is currently being driven. */\n isDriving?: Maybe<Scalars['Boolean']['output']>;\n /** Oodometer of the vehicle using geotab. */\n odometer?: Maybe<Scalars['Float']['output']>;\n /** An estimate of the odometer. */\n odometerCalculated?: Maybe<Scalars['Float']['output']>;\n speed?: Maybe<Scalars['Float']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\nexport type VehicleSpending = {\n __typename?: 'VehicleSpending';\n driversCount?: Maybe<Scalars['Int']['output']>;\n id: Scalars['ID']['output'];\n name: Scalars['String']['output'];\n percentageChange?: Maybe<Scalars['String']['output']>;\n totalCurrentPeriod?: Maybe<Scalars['String']['output']>;\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n transactionsCount?: Maybe<Scalars['Int']['output']>;\n vin: Scalars['String']['output'];\n};\n\nexport enum VehicleStatus {\n Offboarded = 'OFFBOARDED',\n Onboarded = 'ONBOARDED',\n Pending = 'PENDING'\n}\n\nexport type VehicleType = {\n __typename?: 'VehicleType';\n /** Custom Fields for this Vehicle */\n customFields?: Maybe<Array<Maybe<HashMap>>>;\n /** Type to specify if the vehicle is online or offline. */\n dataType?: Maybe<VehicleDataType>;\n /** Vehicle device id */\n imei?: Maybe<Scalars['String']['output']>;\n /** Deprecated */\n internalDescription?: Maybe<Scalars['String']['output']>;\n /** Deprecated */\n internalNumber?: Maybe<Scalars['String']['output']>;\n /** Deprecated */\n licensePlate?: Maybe<Scalars['String']['output']>;\n /** Deprecated */\n licensePlateState?: Maybe<Scalars['String']['output']>;\n name?: Maybe<Scalars['String']['output']>;\n serialNumber?: Maybe<Scalars['String']['output']>;\n source?: Maybe<Scalars['String']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n};\n\n/** Update a vehicle's information. */\nexport type VehicleUpdateInput = {\n /** Custom Fields for Vehicle */\n customFields?: InputMaybe<Array<InputMaybe<HashMapInput>>>;\n /** Update the vehicle description. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** Id of the vehicle to update. */\n id: Scalars['ID']['input'];\n /** Update the vehicles's license plate. */\n licensePlate?: InputMaybe<Scalars['String']['input']>;\n /** Update the vehicles's license plate state. */\n licensePlateState?: InputMaybe<Scalars['String']['input']>;\n number?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type VehiclesByLocationFilterOptions = {\n /** Search query to search on vehicle details , vehicle_type, vin and internal metadata */\n searchQuery?: InputMaybe<Scalars['String']['input']>;\n /** Filter using a geolocation point and radius. */\n withinRadius: RadiusFilter;\n};\n\nexport type VehiclesFilterByLocationInput = {\n /** Filter vehicles by a geolocation point and radius. */\n filter: VehiclesByLocationFilterOptions;\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n};\n\nexport type VehiclesFilterInput = {\n /** Filter vehicles on user id, entity id, vehicle group id, or vin number. */\n filter: VehiclesFilterOptions;\n /** Pagination using a limit and offset. */\n page?: InputMaybe<PageRequest>;\n /** Sort by ordering on name, description, number, driver count, fuel level, or transactions date. Specify directions such as ascending or descending. */\n sortOptions?: InputMaybe<VehiclesSortOptions>;\n};\n\n/** Filter for vehiclesFilter query */\nexport type VehiclesFilterOptions = {\n entityId?: InputMaybe<Scalars['ID']['input']>;\n userId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n vin?: InputMaybe<Scalars['String']['input']>;\n};\n\n/** Onboard vehicles to the platform. */\nexport type VehiclesOnboardInput = {\n /** Custom Fields for Vehicle */\n customFields?: InputMaybe<Array<InputMaybe<HashMapInput>>>;\n /** Vehicle's description. */\n description?: InputMaybe<Scalars['String']['input']>;\n /** Id of the vehicle to onboard. */\n id?: InputMaybe<Scalars['ID']['input']>;\n /** Vehicles's license plate. */\n licensePlate?: InputMaybe<Scalars['String']['input']>;\n /** Vehicles's license plate state. */\n licensePlateState?: InputMaybe<Scalars['String']['input']>;\n /** Vehicle's number. */\n number?: InputMaybe<Scalars['String']['input']>;\n /** Vehicle Group Id */\n vehicleGroupId: Scalars['ID']['input'];\n /** Vehicle's VIN. */\n vin?: InputMaybe<Scalars['String']['input']>;\n};\n\n/** Onboard vehicles to the platform. */\nexport type VehiclesOnboardInputList = {\n vehicles?: InputMaybe<Array<InputMaybe<VehiclesOnboardInput>>>;\n};\n\n/** Output of the vehicles onboard. */\nexport type VehiclesOnboardOutput = {\n __typename?: 'VehiclesOnboardOutput';\n /** Error message in case of a problem during onboard. */\n error?: Maybe<Scalars['String']['output']>;\n /** Id of the vehicle to onboard. */\n id?: Maybe<Scalars['ID']['output']>;\n /** Was vehicle onboarded successfully. */\n success?: Maybe<Scalars['Boolean']['output']>;\n /** Vehicle Group Id */\n vehicleGroupId: Scalars['ID']['output'];\n /** Vehicle's VIN. */\n vin?: Maybe<Scalars['String']['output']>;\n};\n\n/** Output of the vehicles onboard. */\nexport type VehiclesOnboardOutputList = {\n __typename?: 'VehiclesOnboardOutputList';\n vehicles?: Maybe<Array<Maybe<VehiclesOnboardOutput>>>;\n};\n\nexport type VehiclesOverviewOutput = {\n __typename?: 'VehiclesOverviewOutput';\n onboarded?: Maybe<Scalars['Int']['output']>;\n transacting?: Maybe<Scalars['Int']['output']>;\n transactingByService?: Maybe<Array<Maybe<HashMap>>>;\n};\n\nexport type VehiclesPage = {\n __typename?: 'VehiclesPage';\n /** List of vehicles for vehiclesFilter. */\n data?: Maybe<Array<Maybe<Vehicle>>>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n};\n\n/** Order on options for filtering on vehicles. */\nexport enum VehiclesSortField {\n Description = 'DESCRIPTION',\n DriverCount = 'DRIVER_COUNT',\n FuelLevel = 'FUEL_LEVEL',\n LastTransactionDate = 'LAST_TRANSACTION_DATE',\n Name = 'NAME',\n Number = 'NUMBER'\n}\n\nexport type VehiclesSortOptions = {\n /** Direction to sort in such as ascneding or descending */\n direction: SortDirection;\n /** Order on name, description, number, driver count, fuel level, or transactions date. */\n orderBy: VehiclesSortField;\n};\n\nexport type VehiclesWithTelematicsNotEnrolledInput = {\n /** Last updated at timestamp, default is Jan 1 0001 */\n lastUpdatedAt?: InputMaybe<Scalars['String']['input']>;\n searchVehicleType?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type VehiclesWithTelematicsNotEnrolledOutput = {\n __typename?: 'VehiclesWithTelematicsNotEnrolledOutput';\n vehicles?: Maybe<Array<Maybe<Vehicle>>>;\n};\n\nexport type VoyagerCardData = {\n __typename?: 'VoyagerCardData';\n lastFour?: Maybe<Scalars['String']['output']>;\n tiedId?: Maybe<Scalars['String']['output']>;\n type?: Maybe<VoyagerCardType>;\n};\n\nexport enum VoyagerCardType {\n Driver = 'DRIVER',\n Vehicle = 'VEHICLE'\n}\n\nexport type AdditionalServicePayInfoInput = {\n /** Job Code to attach to this transaction. */\n jobCode?: InputMaybe<Scalars['String']['input']>;\n /** Odometer to attach to this transaction. */\n odometer?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type ProvisionCardMutationVariables = Exact<{\n input: ProvisionCardInput;\n}>;\n\n\nexport type ProvisionCardMutation = { __typename?: 'Mutation', provisionCard: { __typename?: 'ProvisionCardResponse', encryptedData?: string | null, activationData?: string | null, publicKey?: string | null, lastFourDigits?: string | null, displayName?: string | null, cardNetwork?: CardNetwork | null } };\n\nexport type ProvisionStatusUpdateMutationVariables = Exact<{\n input: ProvisionStatusUpdateInput;\n}>;\n\n\nexport type ProvisionStatusUpdateMutation = { __typename?: 'Mutation', provisionStatusUpdate: { __typename?: 'BooleanSuccessOutput', success: boolean } };\n\nexport type ServicePayMutationVariables = Exact<{\n input: ServicePayInput;\n}>;\n\n\nexport type ServicePayMutation = { __typename?: 'Mutation', servicePay?: { __typename?: 'ServicePayOutput', requestId: string, transactionId: string } | null };\n\nexport type TtpTokenizationMutationVariables = Exact<{\n input: TtpTokenizationInput;\n}>;\n\n\nexport type TtpTokenizationMutation = { __typename?: 'Mutation', ttpTokenization?: { __typename?: 'TtpTokenizationOutput', requestId?: string | null, success?: boolean | null, paymentProviderAccountId?: string | null, deviceAccountId?: string | null, lastFourDigits?: string | null, displayName?: string | null, cardFlag?: CardNetwork | null, programSupports?: { __typename?: 'ProgramSupports', isCloseLoopSupported?: boolean | null, isDcSupported?: boolean | null, isPhysicalCardSupported?: boolean | null, isTtpSupported?: boolean | null, isUsingInternalProgram?: boolean | null } | null } | null };\n\n\nexport const ProvisionCardDocument = gql`\n mutation provisionCard($input: ProvisionCardInput!) {\n provisionCard(input: $input) {\n encryptedData\n activationData\n publicKey\n lastFourDigits\n displayName\n cardNetwork\n }\n}\n `;\nexport const ProvisionStatusUpdateDocument = gql`\n mutation provisionStatusUpdate($input: ProvisionStatusUpdateInput!) {\n provisionStatusUpdate(input: $input) {\n success\n }\n}\n `;\nexport const ServicePayDocument = gql`\n mutation servicePay($input: ServicePayInput!) {\n servicePay(input: $input) {\n requestId\n transactionId\n }\n}\n `;\nexport const TtpTokenizationDocument = gql`\n mutation ttpTokenization($input: TtpTokenizationInput!) {\n ttpTokenization(input: $input) {\n requestId\n success\n paymentProviderAccountId\n deviceAccountId\n programSupports {\n isCloseLoopSupported\n isDcSupported\n isPhysicalCardSupported\n isTtpSupported\n isUsingInternalProgram\n }\n lastFourDigits\n displayName\n cardFlag\n }\n}\n `;\n\nexport type SdkFunctionWrapper = <T>(action: (requestHeaders?:Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;\n\n\nconst defaultWrapper: SdkFunctionWrapper = (action, _operationName, _operationType, _variables) => action();\n\nexport function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = defaultWrapper) {\n return {\n provisionCard(variables: ProvisionCardMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<ProvisionCardMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<ProvisionCardMutation>({ document: ProvisionCardDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'provisionCard', 'mutation', variables);\n },\n provisionStatusUpdate(variables: ProvisionStatusUpdateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<ProvisionStatusUpdateMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<ProvisionStatusUpdateMutation>({ document: ProvisionStatusUpdateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'provisionStatusUpdate', 'mutation', variables);\n },\n servicePay(variables: ServicePayMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<ServicePayMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<ServicePayMutation>({ document: ServicePayDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'servicePay', 'mutation', variables);\n },\n ttpTokenization(variables: TtpTokenizationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit['signal']): Promise<TtpTokenizationMutation> {\n return withWrapper((wrappedRequestHeaders) => client.request<TtpTokenizationMutation>({ document: TtpTokenizationDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'ttpTokenization', 'mutation', variables);\n }\n };\n}\nexport type Sdk = ReturnType<typeof getSdk>;","import { GraphQLClient } from 'graphql-request';\nimport { getSdk } from './generated/user/sdk.js';\nimport { ENDPOINTS } from './consts';\n\nexport interface ElementPayUserConfig {\n accessToken: string;\n environment?: 'int' | 'stage';\n endpoint?: string;\n}\n\nexport function getUserSdk(\n config: ElementPayUserConfig,\n) {\n const environment = config.environment ?? 'stage';\n const endpoint = config.endpoint ?? ENDPOINTS[environment];\n\n const client = new GraphQLClient(endpoint, {\n headers: {\n Authorization: `Bearer ${config.accessToken}`,\n 'Content-Type': 'application/json',\n },\n });\n\n return getSdk(client);\n}\n","import { decode } from '@msgpack/msgpack';\nimport type { ServiceLocationEvent } from './interfaces.js';\n\nconst parsePubSubMessage = (base64Data: string) => {\n const buffer = Buffer.from(base64Data, 'base64');\n return decode(buffer);\n};\n\nexport const serviceLocationEventMessageToServiceLocationEventJson = (base64Data: string): ServiceLocationEvent => {\n const decoded = parsePubSubMessage(base64Data) as ServiceLocationEvent;\n\n if (Buffer.isBuffer(decoded.ID)) {\n decoded.ID = decoded.ID.toString('hex');\n }\n\n if (Buffer.isBuffer(decoded.ServiceLocation)) {\n const jsonStr = decoded.ServiceLocation.toString('utf8');\n decoded.ServiceLocation = JSON.parse(jsonStr);\n }\n\n return decoded;\n};\n","import { FUEL_BRANDS, FUEL_TYPES } from '@autofleet/common-types/lib/pit-stop';\n\nexport const PROVIDER_BRAND_NAME_TO_AUTOFLEET_NAME: Record<string, (typeof FUEL_BRANDS)[keyof typeof FUEL_BRANDS]> = {\n EXXON: FUEL_BRANDS.EXXONMOBIL,\n MOBIL: FUEL_BRANDS.EXXONMOBIL,\n SHELL: FUEL_BRANDS.SHELL,\n SUNOCO: FUEL_BRANDS.SUNOCO,\n};\n\nexport const PROVIDER_SERVICE_NAME_TO_FUEL_TYPE: Record<string, (typeof FUEL_TYPES)[keyof typeof FUEL_TYPES]> = {\n REGULAR: FUEL_TYPES.UNLEADED_REGULAR,\n MID_GRADE_UNLEADED: FUEL_TYPES.UNLEADED_PLUS,\n 'MID GRADE UNLEADED': FUEL_TYPES.UNLEADED_PLUS,\n UNLEADED_PREMIUM: FUEL_TYPES.UNLEADED_PREMIUM,\n 'UNLEADED PREMIUM': FUEL_TYPES.UNLEADED_PREMIUM,\n DIESEL: FUEL_TYPES.DIESEL_REGULAR,\n DIESEL_PREMIUM: FUEL_TYPES.DIESEL_PREMIUM,\n 'DIESEL PREMIUM': FUEL_TYPES.DIESEL_PREMIUM,\n OTHER_FUEL: FUEL_TYPES.OTHER_FUEL,\n 'OTHER FUEL': FUEL_TYPES.OTHER_FUEL,\n HI_FLOW_DIESEL: FUEL_TYPES.HI_FLOW_DIESEL,\n 'HI-FLOW DIESEL': FUEL_TYPES.HI_FLOW_DIESEL,\n};\n","import type { Amenity, FuelSupplier, PriceSourceType } from '@autofleet/common-types/lib/pit-stop';\nimport type { ServiceLocationEvent, ServiceLocationFromEvent } from '../pubSub/interfaces';\nimport { PROVIDER_BRAND_NAME_TO_AUTOFLEET_NAME, PROVIDER_SERVICE_NAME_TO_FUEL_TYPE } from './consts';\n\nconst fuelTypesMapping = (services: ServiceLocationFromEvent['services']): Record<string, number> => (\n services.reduce<Record<string, number>>((acc, service) => {\n const fuelType = PROVIDER_SERVICE_NAME_TO_FUEL_TYPE[service.name];\n if (fuelType) acc[fuelType] = 0;\n return acc;\n }, {})\n);\n\nconst amenitiesMapping = (amenities: ServiceLocationFromEvent['amenities']): Amenity[] => (\n (amenities ?? []).map(({ name, description }) => ({ name, description }))\n);\n\nconst getPriceSourceType = (serviceLocationEvent: ServiceLocationEvent): PriceSourceType => (\n Object.entries(serviceLocationEvent.ExternalIdMap ?? {}).find(([, value]) => value === serviceLocationEvent.PriceApiId)?.[0] as PriceSourceType\n);\n\nexport const serviceLocationEventToFuelSupplier = ({\n serviceLocationEvent,\n}: {\n serviceLocationEvent: ServiceLocationEvent;\n}): Partial<FuelSupplier> => {\n const serviceLocation = serviceLocationEvent.ServiceLocation as ServiceLocationFromEvent;\n const { address, geocoded, services, amenities } = serviceLocation;\n\n return {\n acceptElementPay: true,\n address: [address.line1, address.line2, address.city, address.state, address.zip].filter(Boolean).join(', '),\n externalId: serviceLocation.id,\n name: serviceLocation.name,\n brandName: PROVIDER_BRAND_NAME_TO_AUTOFLEET_NAME[serviceLocation.provider.name] || null,\n lat: geocoded.lat,\n lng: geocoded.lng,\n directPayEnabled: !serviceLocation.out_of_network,\n ttpEnabled: serviceLocation.ttp_enabled,\n isActive: serviceLocation.enabled && !serviceLocation.deleted_at,\n typesPrices: fuelTypesMapping(services),\n amenities: amenitiesMapping(amenities),\n priceSourceId: serviceLocationEvent.PriceApiId,\n priceSourceType: getPriceSourceType(serviceLocationEvent),\n };\n};\n","import { serviceLocationEventMessageToServiceLocationEventJson } from '../pubSub/utils';\nimport { serviceLocationEventToFuelSupplier } from './utils';\n\nexport const serviceLocationPubSubMessageToFuelSupplier = (message: string): ReturnType<typeof serviceLocationEventToFuelSupplier> => {\n const serviceLocationEvent = serviceLocationEventMessageToServiceLocationEventJson(message);\n return serviceLocationEventToFuelSupplier({ serviceLocationEvent });\n};\n"],"mappings":"mnBAuzHA,MAAa,EAAuB,EAAA,OAAG;;;;;;MAO1B,EAAwB,EAAA,OAAG;;;;;;;;;;;MAY3B,EAA6B,EAAA,OAAG;;;;;;;;;;;;;;;;;;;;MAqBhC,EAAuB,EAAA,OAAG;;;;;;;;;;;;;;MAe1B,EAA8B,EAAA,OAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA0CjC,EAA8B,EAAA,OAAG;;;;;;;MAQjC,EAA+B,EAAA,OAAG;;;;;;MAOlC,EAAqB,EAAA,OAAG;;;;;;;;;;;;;;;;;;;;MAqBxB,EAAuB,EAAA,OAAG;;;;MAK1B,EAAqB,EAAA,OAAG;;;;;;;;;;;;;MAcxB,EAA6B,EAAA,OAAG;;;;;;;;;;;;;;MAehC,EAA6B,EAAA,OAAG;;;;MAKhC,EAAiC,EAAA,OAAG;;;;;;;;;;;;;MAcpC,EAAoC,EAAA,OAAG;;;;;;;;;;;;;MAcvC,EAAkC,EAAA,OAAG;;;;;;;;;;;;;MAcrC,EAAqC,EAAA,OAAG;;;;;;;;;;;;;MAcxC,EAAwB,EAAA,OAAG;;;;MAK3B,EAAyB,EAAA,OAAG;;;;;;;;;;;;;;MAe5B,EAA8B,EAAA,OAAG;;;;;;;;;;;;;;;;MAiBjC,EAA0B,EAAA,OAAG;;;;;;;;;;;;MAiBpCA,GAAsC,EAAQ,EAAgB,EAAgB,IAAe,GAAQ,CAE3G,SAAgBC,EAAO,EAAuB,EAAkCC,EAAgB,CAC9F,MAAO,CACL,aAAa,EAA0C,EAA8C,EAA+D,CAClK,OAAO,EAAa,GAA0B,EAAO,QAA8B,CAAE,SAAU,EAAsB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,eAAgB,WAAY,EAAU,EAEpP,cAAc,EAA2C,EAA8C,EAAgE,CACrK,OAAO,EAAa,GAA0B,EAAO,QAA+B,CAAE,SAAU,EAAuB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,gBAAiB,WAAY,EAAU,EAEvP,mBAAmB,EAAgD,EAA8C,EAAqE,CACpL,OAAO,EAAa,GAA0B,EAAO,QAAoC,CAAE,SAAU,EAA4B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,qBAAsB,WAAY,EAAU,EAEtQ,aAAa,EAA0C,EAA8C,EAA+D,CAClK,OAAO,EAAa,GAA0B,EAAO,QAA8B,CAAE,SAAU,EAAsB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,eAAgB,WAAY,EAAU,EAEpP,oBAAoB,EAA+C,EAA8C,EAAmE,CAClL,OAAO,EAAa,GAA0B,EAAO,QAAkC,CAAE,SAAU,EAA6B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,sBAAuB,QAAS,EAAU,EAEnQ,oBAAoB,EAAkD,EAA8C,EAAsE,CACxL,OAAO,EAAa,GAA0B,EAAO,QAAqC,CAAE,SAAU,EAA6B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,sBAAuB,WAAY,EAAU,EAEzQ,qBAAqB,EAAkD,EAA8C,EAAuE,CAC1L,OAAO,EAAa,GAA0B,EAAO,QAAsC,CAAE,SAAU,EAA8B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,uBAAwB,WAAY,EAAU,EAE5Q,WAAW,EAAwC,EAA8C,EAA6D,CAC5J,OAAO,EAAa,GAA0B,EAAO,QAA4B,CAAE,SAAU,EAAoB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,aAAc,WAAY,EAAU,EAE9O,aAAa,EAA0C,EAA8C,EAA+D,CAClK,OAAO,EAAa,GAA0B,EAAO,QAA8B,CAAE,SAAU,EAAsB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,eAAgB,WAAY,EAAU,EAEpP,WAAW,EAAwC,EAA8C,EAA6D,CAC5J,OAAO,EAAa,GAA0B,EAAO,QAA4B,CAAE,SAAU,EAAoB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,aAAc,WAAY,EAAU,EAE9O,mBAAmB,EAAgD,EAA8C,EAAqE,CACpL,OAAO,EAAa,GAA0B,EAAO,QAAoC,CAAE,SAAU,EAA4B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,qBAAsB,WAAY,EAAU,EAEtQ,mBAAmB,EAAgD,EAA8C,EAAqE,CACpL,OAAO,EAAa,GAA0B,EAAO,QAAoC,CAAE,SAAU,EAA4B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,qBAAsB,WAAY,EAAU,EAEtQ,uBAAuB,EAAoD,EAA8C,EAAyE,CAChM,OAAO,EAAa,GAA0B,EAAO,QAAwC,CAAE,SAAU,EAAgC,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,yBAA0B,WAAY,EAAU,EAElR,0BAA0B,EAAuD,EAA8C,EAA4E,CACzM,OAAO,EAAa,GAA0B,EAAO,QAA2C,CAAE,SAAU,EAAmC,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,4BAA6B,WAAY,EAAU,EAE3R,wBAAwB,EAAqD,EAA8C,EAA0E,CACnM,OAAO,EAAa,GAA0B,EAAO,QAAyC,CAAE,SAAU,EAAiC,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,0BAA2B,WAAY,EAAU,EAErR,2BAA2B,EAAwD,EAA8C,EAA6E,CAC5M,OAAO,EAAa,GAA0B,EAAO,QAA4C,CAAE,SAAU,EAAoC,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,6BAA8B,WAAY,EAAU,EAE9R,cAAc,EAA2C,EAA8C,EAAgE,CACrK,OAAO,EAAa,GAA0B,EAAO,QAA+B,CAAE,SAAU,EAAuB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,gBAAiB,WAAY,EAAU,EAEvP,eAAe,EAAyC,EAA8C,EAA8D,CAClK,OAAO,EAAa,GAA0B,EAAO,QAA6B,CAAE,SAAU,EAAwB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,iBAAkB,QAAS,EAAU,EAEpP,oBAAoB,EAA8C,EAA8C,EAAmE,CACjL,OAAO,EAAa,GAA0B,EAAO,QAAkC,CAAE,SAAU,EAA6B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,sBAAuB,QAAS,EAAU,EAEnQ,gBAAgB,EAA6C,EAA8C,EAAkE,CAC3K,OAAO,EAAa,GAA0B,EAAO,QAAiC,CAAE,SAAU,EAAyB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,kBAAmB,WAAY,EAAU,EAE9P,CCjpIH,MAAa,EAAY,CACvB,IAAK,uCACL,MAAO,yCACR,CCOD,SAAgB,EACd,EACA,CACA,IAAM,EAAc,EAAO,aAAe,QAU1C,OAAOC,EAPQ,IAAIC,EAAAA,cAFF,EAAO,UAAY,EAAU,GAEH,CACzC,QAAS,CACP,YAAa,EAAO,OACpB,eAAgB,mBACjB,CACF,CAAC,CAEmB,CCuoHvB,MAAa,EAAwB,EAAA,OAAG;;;;;;;;;;;MAY3B,EAAgC,EAAA,OAAG;;;;;;MAOnC,EAAqB,EAAA,OAAG;;;;;;;MAQxB,EAA0B,EAAA,OAAG;;;;;;;;;;;;;;;;;;;MAwBpCC,GAAsC,EAAQ,EAAgB,EAAgB,IAAe,GAAQ,CAE3G,SAAgB,EAAO,EAAuB,EAAkC,EAAgB,CAC9F,MAAO,CACL,cAAc,EAA2C,EAA8C,EAAgE,CACrK,OAAO,EAAa,GAA0B,EAAO,QAA+B,CAAE,SAAU,EAAuB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,gBAAiB,WAAY,EAAU,EAEvP,sBAAsB,EAAmD,EAA8C,EAAwE,CAC7L,OAAO,EAAa,GAA0B,EAAO,QAAuC,CAAE,SAAU,EAA+B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,wBAAyB,WAAY,EAAU,EAE/Q,WAAW,EAAwC,EAA8C,EAA6D,CAC5J,OAAO,EAAa,GAA0B,EAAO,QAA4B,CAAE,SAAU,EAAoB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,aAAc,WAAY,EAAU,EAE9O,gBAAgB,EAA6C,EAA8C,EAAkE,CAC3K,OAAO,EAAa,GAA0B,EAAO,QAAiC,CAAE,SAAU,EAAyB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,kBAAmB,WAAY,EAAU,EAE9P,CCvtHH,SAAgB,EACd,EACA,CACA,IAAM,EAAc,EAAO,aAAe,QAU1C,OAAO,EAPQ,IAAIC,EAAAA,cAFF,EAAO,UAAY,EAAU,GAEH,CACzC,QAAS,CACP,cAAe,UAAU,EAAO,cAChC,eAAgB,mBACjB,CACF,CAAC,CAEmB,CCpBvB,MAAM,EAAsB,IAE1B,EAAA,EAAA,QADe,OAAO,KAAK,EAAY,SAAS,CAC3B,CAGV,EAAyD,GAA6C,CACjH,IAAM,EAAU,EAAmB,EAAW,CAM9C,GAJI,OAAO,SAAS,EAAQ,GAAG,GAC7B,EAAQ,GAAK,EAAQ,GAAG,SAAS,MAAM,EAGrC,OAAO,SAAS,EAAQ,gBAAgB,CAAE,CAC5C,IAAM,EAAU,EAAQ,gBAAgB,SAAS,OAAO,CACxD,EAAQ,gBAAkB,KAAK,MAAM,EAAQ,CAG/C,OAAO,GClBIC,EAAwG,CACnH,MAAOC,EAAAA,YAAY,WACnB,MAAOA,EAAAA,YAAY,WACnB,MAAOA,EAAAA,YAAY,MACnB,OAAQA,EAAAA,YAAY,OACrB,CAEYC,EAAmG,CAC9G,QAASC,EAAAA,WAAW,iBACpB,mBAAoBA,EAAAA,WAAW,cAC/B,qBAAsBA,EAAAA,WAAW,cACjC,iBAAkBA,EAAAA,WAAW,iBAC7B,mBAAoBA,EAAAA,WAAW,iBAC/B,OAAQA,EAAAA,WAAW,eACnB,eAAgBA,EAAAA,WAAW,eAC3B,iBAAkBA,EAAAA,WAAW,eAC7B,WAAYA,EAAAA,WAAW,WACvB,aAAcA,EAAAA,WAAW,WACzB,eAAgBA,EAAAA,WAAW,eAC3B,iBAAkBA,EAAAA,WAAW,eAC9B,CClBK,EAAoB,GACxB,EAAS,QAAgC,EAAK,IAAY,CACxD,IAAM,EAAW,EAAmC,EAAQ,MAE5D,OADI,IAAU,EAAI,GAAY,GACvB,GACN,EAAE,CAAC,CAGF,EAAoB,IACvB,GAAa,EAAE,EAAE,KAAK,CAAE,OAAM,kBAAmB,CAAE,OAAM,cAAa,EAAE,CAGrE,EAAsB,GAC1B,OAAO,QAAQ,EAAqB,eAAiB,EAAE,CAAC,CAAC,MAAM,EAAG,KAAW,IAAU,EAAqB,WAAW,GAAG,GAG/G,GAAsC,CACjD,0BAG2B,CAC3B,IAAM,EAAkB,EAAqB,gBACvC,CAAE,UAAS,WAAU,WAAU,aAAc,EAEnD,MAAO,CACL,iBAAkB,GAClB,QAAS,CAAC,EAAQ,MAAO,EAAQ,MAAO,EAAQ,KAAM,EAAQ,MAAO,EAAQ,IAAI,CAAC,OAAO,QAAQ,CAAC,KAAK,KAAK,CAC5G,WAAY,EAAgB,GAC5B,KAAM,EAAgB,KACtB,UAAW,EAAsC,EAAgB,SAAS,OAAS,KACnF,IAAK,EAAS,IACd,IAAK,EAAS,IACd,iBAAkB,CAAC,EAAgB,eACnC,WAAY,EAAgB,YAC5B,SAAU,EAAgB,SAAW,CAAC,EAAgB,WACtD,YAAa,EAAiB,EAAS,CACvC,UAAW,EAAiB,EAAU,CACtC,cAAe,EAAqB,WACpC,gBAAiB,EAAmB,EAAqB,CAC1D,ECxCU,EAA8C,GAElD,EAAmC,CAAE,qBADf,EAAsD,EAAQ,CACzB,CAAC"}