@autofleet/element-pay 1.1.1 → 1.1.2
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 +272 -2
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +936 -3
- package/lib/index.d.ts +936 -3
- package/lib/index.js +272 -2
- package/lib/index.js.map +1 -1
- package/package.json +3 -2
package/lib/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":["OrganizationCreateDocument: DocumentNode","EntityCreateDocument: DocumentNode","defaultWrapper: SdkFunctionWrapper","GraphQLClient","PROVIDER_BRAND_NAME_TO_AUTOFLEET_NAME: Record<string, (typeof FUEL_BRANDS)[keyof typeof FUEL_BRANDS]>","FUEL_BRANDS"],"sources":["../src/generated/sdk.ts","../src/client.ts","../src/pubSub/utils.ts","../src/service-locations/consts.ts","../src/service-locations/utils.ts","../src/service-locations/index.ts"],"sourcesContent":["/* eslint-disable @stylistic/max-len */\nimport type { DocumentNode } from 'graphql';\nimport type { GraphQLClient, RequestOptions } from 'graphql-request';\nimport gql from 'graphql-tag';\n\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends Record<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 Record<string, unknown>, K extends keyof T> = Partial<Record<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 interface 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\n/** Options of calling servicePay */\nexport interface 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 interface 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 interface 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 interface 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 interface ApiKeyCreateOutput {\n __typename?: 'ApiKeyCreateOutput';\n /** Api Key */\n apiKey: Scalars['String']['output'];\n}\n\nexport interface ApiKeyRevokeInput {\n /** Api Key */\n apiKey: Scalars['String']['input'];\n}\n\nexport interface ApiKeyRevokeOutput {\n __typename?: 'ApiKeyRevokeOutput';\n /** Success */\n success: Scalars['Boolean']['output'];\n}\n\nexport interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 enum ConnectionType {\n Email = 'EMAIL',\n Sms = 'SMS',\n}\n\nexport interface CreditApplicationPublicKeyOutput {\n __typename?: 'CreditApplicationPublicKeyOutput';\n /** Public Key byte array encoded as Base64 string. */\n publicKey: Scalars['String']['output'];\n}\n\nexport interface 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 interface 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 interface DaysTimeRanges {\n __typename?: 'DaysTimeRanges';\n friday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n monday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n saturday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n sunday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n thursday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n tuesday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n wednesday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n}\n\nexport interface DaysTimeRangesInput {\n friday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n monday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n saturday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n sunday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n thursday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n tuesday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n wednesday?: InputMaybe<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 interface 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: VehicleGroup[];\n}\n\nexport interface 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: Scalars['ID']['input'][];\n}\n\nexport interface 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 interface 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 interface 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 interface 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: Scalars['ID']['input'][];\n}\n\nexport interface 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 interface DriversFilterOptions {\n /** Filter on user statuses such as invited, onboarded, deleted, etc. */\n statuses?: InputMaybe<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 interface 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 interface 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 interface 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 interface EntitiesPage {\n __typename?: 'EntitiesPage';\n /** A list of entities */\n data?: Maybe<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 interface 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 interface 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<Maybe<Policy>[]>;\n /** When the entity record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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<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 interface 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 interface 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 interface 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 enum FeeNetworkDesignationType {\n ExtendedNetwork = 'EXTENDED_NETWORK',\n InNetwork = 'IN_NETWORK',\n OutOfNetwork = 'OUT_OF_NETWORK',\n}\n\nexport interface 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 interface 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 interface 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 interface GenerateTokenCoFInput {\n paymentProviderAccountId: Scalars['String']['input'];\n vehicleId: Scalars['String']['input'];\n}\n\nexport interface GenerateTokenCoFOutput {\n __typename?: 'GenerateTokenCoFOutput';\n token: Scalars['String']['output'];\n}\n\nexport interface 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 interface 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 interface 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 interface 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 interface GetCreditStatementsOutput {\n __typename?: 'GetCreditStatementsOutput';\n /** List of statements with the date, due date, and balances */\n data?: Maybe<Maybe<CreditStatement>[]>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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 interface GetInvoicePaymentsOutput {\n __typename?: 'GetInvoicePaymentsOutput';\n /** List of credit payments on a payment provider account using ppaid with an option of sorting. */\n data?: Maybe<Maybe<InvoicePayment>[]>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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<Maybe<Policy>[]>;\n /** When the entity record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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<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 username?: Maybe<Scalars['String']['output']>;\n /** Return a list of vehicle groups. */\n vehicleGroups?: Maybe<Maybe<VehicleGroup>[]>;\n}\n\nexport interface HashMap {\n __typename?: 'HashMap';\n key: Scalars['String']['output'];\n value: Scalars['String']['output'];\n}\n\nexport interface HashMapInput {\n key: Scalars['String']['input'];\n value: Scalars['String']['input'];\n}\n\nexport interface 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<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 interface 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<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<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 interface 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 interface 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 interface JobCodeOptionsOutput {\n __typename?: 'JobCodeOptionsOutput';\n optionValues?: Maybe<OptionValues>;\n}\n\nexport interface 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<InputMaybe<Scalars['String']['input']>[]>;\n}\n\nexport interface JobCodeOptionsUpsertOutput {\n __typename?: 'JobCodeOptionsUpsertOutput';\n optionValues?: Maybe<OptionValues>;\n}\n\nexport enum LanguageType {\n En = 'EN',\n Es = 'ES',\n}\n\nexport interface Location {\n __typename?: 'Location';\n latitude?: Maybe<Scalars['Float']['output']>;\n longitude?: Maybe<Scalars['Float']['output']>;\n}\n\nexport interface 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 interface LoginOtpResponse {\n __typename?: 'LoginOtpResponse';\n error?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n}\n\nexport enum LoginType {\n Email = 'EMAIL',\n Phone = 'PHONE',\n Unknown = 'UNKNOWN',\n}\n\nexport interface MachineLogin {\n __typename?: 'MachineLogin';\n access_token?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface MachineLoginInput {\n /** Auth0 Client Id */\n client_id: Scalars['String']['input'];\n /** Auth0 Client Secret */\n client_secret: Scalars['String']['input'];\n}\n\nexport interface MachineTokenizeUserInput {\n email?: InputMaybe<Scalars['String']['input']>;\n /** Auth0 Id */\n externalId: Scalars['String']['input'];\n firstName?: InputMaybe<Scalars['String']['input']>;\n lastName?: InputMaybe<Scalars['String']['input']>;\n organizationId: Scalars['ID']['input'];\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n username?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface 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 interface 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 /** Create a new entity. */\n entityCreate?: Maybe<Entity>;\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 /** 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\nexport interface MutationPassArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface MutationApiKeyCreateArgs {\n input: ApiKeyCreateInput;\n}\n\nexport interface MutationApiKeyRevokeArgs {\n input: ApiKeyRevokeInput;\n}\n\nexport interface MutationApplyForCreditArgs {\n input?: InputMaybe<ApplyForCreditInput>;\n}\n\nexport interface MutationEntityCreateArgs {\n input: EntityCreateInput;\n}\n\nexport interface MutationGenerateTokenCoFArgs {\n input: GenerateTokenCoFInput;\n}\n\nexport interface MutationGeotabDriveLoginArgs {\n input: GeotabDriveLoginInput;\n}\n\nexport interface MutationJobCodeOptionsUpsertArgs {\n input?: InputMaybe<JobCodeOptionsUpsertInput>;\n}\n\nexport interface MutationMachineLoginArgs {\n input: MachineLoginInput;\n}\n\nexport interface MutationMachineTokenizeUserArgs {\n input?: InputMaybe<MachineTokenizeUserInput>;\n}\n\nexport interface MutationOrganizationCreateArgs {\n input: OrganizationCreateInput;\n}\n\nexport interface MutationPolicyCreateArgs {\n input?: InputMaybe<PolicyCreateInput>;\n}\n\nexport interface MutationPolicyDeleteArgs {\n input?: InputMaybe<PolicyDeleteInput>;\n}\n\nexport interface MutationPolicyManageArgs {\n input?: InputMaybe<PolicyManageInput>;\n}\n\nexport interface MutationProcessCardCoFArgs {\n input: ProcessCardCoFInput;\n}\n\nexport interface MutationProvisionCardArgs {\n input: ProvisionCardInput;\n}\n\nexport interface MutationProvisionStatusUpdateArgs {\n input: ProvisionStatusUpdateInput;\n}\n\nexport interface MutationReportIssueArgs {\n input: ReportIssueInput;\n}\n\nexport interface MutationRiskRuleCreateArgs {\n input?: InputMaybe<RiskRuleCreateInput>;\n}\n\nexport interface MutationRiskRuleDeleteArgs {\n input?: InputMaybe<RiskRuleDeleteInput>;\n}\n\nexport interface MutationRiskRuleUpdateArgs {\n input?: InputMaybe<RiskRuleUpdateInput>;\n}\n\nexport interface MutationServicePayArgs {\n input: ServicePayInput;\n}\n\nexport interface MutationStoreCardCoFArgs {\n input: StoreCardCoFInput;\n}\n\nexport interface MutationTransactionUpdateArgs {\n input?: InputMaybe<TransactionUpdateInput>;\n}\n\nexport interface MutationTtpTokenizationArgs {\n input?: InputMaybe<TtpTokenizationInput>;\n}\n\nexport interface MutationUserActivationCodeSignUpArgs {\n input: UserActivationCodeSignUpInput;\n}\n\nexport interface MutationUserCreateArgs {\n input: UserCreateInput;\n}\n\nexport interface MutationUserDeleteArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface MutationUserForgotPasswordArgs {\n input: UserForgotPasswordInput;\n}\n\nexport interface MutationUserLoginArgs {\n input: UserLoginInput;\n}\n\nexport interface MutationUserLoginOtpRequestArgs {\n input: UserLoginOtpRequestInput;\n}\n\nexport interface MutationUserLoginOtpVerifyArgs {\n input: UserLoginOtpVerifyInput;\n}\n\nexport interface MutationUserLoyaltyAccountAddArgs {\n input: UserLoyaltyAccountAddInput;\n}\n\nexport interface MutationUserLoyaltyAccountDeleteArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface MutationUserNotificationTokenUpdateArgs {\n token: Scalars['String']['input'];\n}\n\nexport interface MutationUserOffboardArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface MutationUserRefreshTokenArgs {\n input: UserRefreshTokenInput;\n}\n\nexport interface MutationUserSetPasswordArgs {\n input: UserSetPasswordInput;\n}\n\nexport interface MutationUserUpdateArgs {\n input: UserUpdateInput;\n}\n\nexport interface MutationValidateTokenCoFArgs {\n input: ValidateTokenCoFInput;\n}\n\nexport interface MutationVehicleCreateArgs {\n input: VehicleCreateInput;\n}\n\nexport interface MutationVehicleFieldsAddArgs {\n input: VehicleFieldsAddInput;\n}\n\nexport interface MutationVehicleFieldsDeleteArgs {\n input?: InputMaybe<Scalars['ID']['input']>;\n}\n\nexport interface MutationVehicleFieldsUpdateArgs {\n input: VehicleFieldsUpdateInput;\n}\n\nexport interface MutationVehicleGroupCreateArgs {\n input: VehicleGroupCreateInput;\n}\n\nexport interface MutationVehicleGroupDeleteArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface MutationVehicleGroupDriversAddArgs {\n input: VehicleGroupDriversAddInput;\n}\n\nexport interface MutationVehicleGroupDriversRemoveArgs {\n input: VehicleGroupDriversRemoveInput;\n}\n\nexport interface MutationVehicleGroupSpendRestrictionsSetArgs {\n input: VehicleGroupSpendRestrictionsSetInput;\n}\n\nexport interface MutationVehicleGroupUpdateArgs {\n input: VehicleGroupUpdateInput;\n}\n\nexport interface MutationVehicleGroupVehiclesAddArgs {\n input: VehicleGroupVehiclesAddInput;\n}\n\nexport interface MutationVehicleGroupVehiclesRemoveArgs {\n input: VehicleGroupVehiclesRemoveInput;\n}\n\nexport interface MutationVehicleUpdateArgs {\n input: VehicleUpdateInput;\n}\n\nexport interface 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 interface 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<Maybe<Scalars['String']['output']>[]>;\n}\n\n/** Information on the organization. */\nexport interface 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<Maybe<Policy>[]>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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 interface 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 interface PageRequest {\n limit?: InputMaybe<Scalars['Int']['input']>;\n offset?: InputMaybe<Scalars['Int']['input']>;\n}\n\nexport interface 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 Discover = 'DISCOVER',\n ExternalCof = 'EXTERNAL_COF',\n I2C = 'I2C',\n Voyager = 'VOYAGER',\n}\n\nexport interface 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 interface 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 interface 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 interface 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 interface PolicyCreateOutput {\n __typename?: 'PolicyCreateOutput';\n countAffected?: Maybe<Scalars['Int']['output']>;\n policy?: Maybe<Policy>;\n success?: Maybe<Scalars['Boolean']['output']>;\n}\n\nexport interface PolicyDeleteInput {\n /** Policy id to delete a specific policy. */\n policyId: Scalars['String']['input'];\n}\n\nexport interface PolicyDeleteOutput {\n __typename?: 'PolicyDeleteOutput';\n countAffected?: Maybe<Scalars['Int']['output']>;\n success?: Maybe<Scalars['Boolean']['output']>;\n}\n\nexport interface PolicyManageInput {\n /** Add or update a policy on a policy id, entity id, or vehicle group id. */\n applyPolicies?: InputMaybe<InputMaybe<ApplyPolicyInput>[]>;\n /** Remove a policy using a policy id, entity id, or vehicle group id. */\n revokePolicies?: InputMaybe<InputMaybe<RevokePolicyInput>[]>;\n}\n\nexport interface PolicyManageOutput {\n __typename?: 'PolicyManageOutput';\n /** List of policies that were added or updated. */\n applyResponses?: Maybe<Maybe<PolicyActionResponse>[]>;\n /** List of policies that were revoked. */\n revokeResponses?: Maybe<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 interface 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 interface ProcessCardCoFInput {\n id: Scalars['String']['input'];\n paymentProviderAccountId: Scalars['String']['input'];\n vehicleId: Scalars['String']['input'];\n}\n\nexport interface 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 interface 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}\n\nexport interface ProvisionCardInput {\n deviceAccountId: Scalars['String']['input'];\n googleHardwareId?: InputMaybe<Scalars['String']['input']>;\n intermediateCertificate?: InputMaybe<Scalars['String']['input']>;\n leafCertificate?: InputMaybe<Scalars['String']['input']>;\n nonceSignature?: InputMaybe<Scalars['String']['input']>;\n nonceValue?: InputMaybe<Scalars['String']['input']>;\n paymentProviderAccountId: Scalars['String']['input'];\n walletId?: InputMaybe<Scalars['String']['input']>;\n walletType: DigitalWallet;\n}\n\nexport interface 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 interface 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 interface 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 interface 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 interface PurchaseTimeRange {\n __typename?: 'PurchaseTimeRange';\n from?: Maybe<Scalars['String']['output']>;\n to?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface PurchaseTimeRangeInput {\n from?: InputMaybe<Scalars['String']['input']>;\n to?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface 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<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\nexport interface QueryPassArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryCreditPaymentsListArgs {\n input: GetInvoicePaymentsInput;\n}\n\nexport interface QueryCreditStatementDownloadArgs {\n input: CreditStatementDownloadInput;\n}\n\nexport interface QueryCreditStatementsListArgs {\n input?: InputMaybe<GetCreditStatementsInput>;\n}\n\nexport interface QueryDriverReportDownloadArgs {\n input?: InputMaybe<DriverReportDownloadInput>;\n}\n\nexport interface QueryEntitiesFilterArgs {\n input: EntitiesFilterInput;\n}\n\nexport interface QueryEntityArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryEntityAccountInfoArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryEntityAccountsInfoArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryJobCodeOptionsArgs {\n input?: InputMaybe<JobCodeOptionsInput>;\n}\n\nexport interface QueryReportsDownloadArgs {\n input?: InputMaybe<ReportsDownloadInput>;\n}\n\nexport interface QueryRiskRuleGetArgs {\n input?: InputMaybe<RiskRuleGetInput>;\n}\n\nexport interface QueryRiskRulesListArgs {\n input?: InputMaybe<RiskRulesListInput>;\n}\n\nexport interface QueryRolePermissionsArgs {\n input: RolePermissionsInput;\n}\n\nexport interface QuerySearchArgs {\n input: SearchInput;\n}\n\nexport interface QueryServiceLocationsFilterArgs {\n input?: InputMaybe<ServiceLocationsFilterInput>;\n}\n\nexport interface QuerySpendingInsightsArgs {\n input: SpendingInsightsInput;\n}\n\nexport interface QueryTransactionArgs {\n input: Scalars['ID']['input'];\n}\n\nexport interface QueryTransactionReportDownloadArgs {\n input?: InputMaybe<TransactionReportDownloadInput>;\n}\n\nexport interface QueryTransactionsFilterArgs {\n input: TransactionsFilterInput;\n}\n\nexport interface QueryTransactionsInsightsArgs {\n input: TransactionsInsightsInput;\n}\n\nexport interface QueryTransactionsOverviewArgs {\n input: TransactionsOverviewInput;\n}\n\nexport interface QueryTransactionsStatsArgs {\n input: TransactionsStatsInput;\n}\n\nexport interface QueryUserArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryUsersFilterArgs {\n input: UsersFilterInput;\n}\n\nexport interface QueryVehicleArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryVehicleFieldsArgs {\n input: VehicleFieldsInput;\n}\n\nexport interface QueryVehicleGroupArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryVehicleGroupsFilterArgs {\n input: VehicleGroupsFilterInput;\n}\n\nexport interface QueryVehiclesFilterArgs {\n input: VehiclesFilterInput;\n}\n\nexport interface QueryVehiclesFilterByLocationArgs {\n input: VehiclesFilterByLocationInput;\n}\n\nexport interface QueryVehiclesWithTelematicsNotEnrolledArgs {\n input: VehiclesWithTelematicsNotEnrolledInput;\n}\n\nexport interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface RiskRuleDeleteInput {\n id?: InputMaybe<Scalars['String']['input']>;\n}\n\n/** Specify either id or name to get risk rule. */\nexport interface RiskRuleGetInput {\n id?: InputMaybe<Scalars['String']['input']>;\n name?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface RiskRuleGetOutput {\n __typename?: 'RiskRuleGetOutput';\n data?: Maybe<RiskRule>;\n}\n\nexport interface 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 interface RiskRulesListInput {\n page?: InputMaybe<PageRequest>;\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface RiskRulesListOutput {\n __typename?: 'RiskRulesListOutput';\n data?: Maybe<Maybe<RiskRule>[]>;\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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: Permission[];\n}\n\nexport interface 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 interface 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<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 interface 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<InputMaybe<SearchObjectType>[]>;\n /** User status such as onboarded, invited, deleted, etc. */\n userStatuses?: InputMaybe<InputMaybe<UserStatus>[]>;\n /** Vehicle group id to filter on. */\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n}\n\nexport interface 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 interface SearchOutput {\n __typename?: 'SearchOutput';\n /** Returns a list of items for the search result. */\n data?: Maybe<Maybe<SearchResult>[]>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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 interface SearchSortOptions {\n direction?: InputMaybe<Direction>;\n orderBy?: InputMaybe<InputMaybe<Scalars['String']['input']>[]>;\n}\n\nexport interface ServiceFuelInput {\n additionalInfo?: InputMaybe<AdditionalServicePayInfoInput>;\n /** Pump number of the given gas station. */\n pumpNumber: Scalars['Int']['input'];\n}\n\nexport interface 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<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<Maybe<ServiceType>[]>;\n /** Is Tap To Pay enabled? */\n ttpEnabled?: Maybe<Scalars['Boolean']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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 interface 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 interface ServiceLocationsFilterOptions {\n /** Brand/name of the service location. */\n brand?: InputMaybe<Scalars['String']['input']>;\n /** List of brands (case-insensitive). */\n brands?: InputMaybe<InputMaybe<Scalars['String']['input']>[]>;\n feeNetworkDesignations?: InputMaybe<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<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 /** 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 interface ServiceLocationsPage {\n __typename?: 'ServiceLocationsPage';\n /** List of available stations from a given locations */\n data?: Maybe<Maybe<ServiceLocation>[]>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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 interface 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 /** For fallback transactions(both Physical Card and TTP) at DC stations. */\n openloopFallback?: InputMaybe<Scalars['Boolean']['input']>;\n /** Latitude and longitude. */\n position: PositionInput;\n requestId: Scalars['ID']['input'];\n vehicleId: Scalars['ID']['input'];\n}\n\nexport interface 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 interface 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 interface 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 interface 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<Maybe<PurchaseTimeRange>[]>;\n}\n\nexport interface SpendRestrictionsDayInput {\n isEnabled: Scalars['Boolean']['input'];\n /** Defines a list of to and from times that a vehicle can purchase at. */\n purchaseTimes?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n}\n\n/** Specifies if which days are enabled and for which times. */\nexport interface 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 interface 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 interface 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 interface SpendingInsightsInput {\n entityId: Scalars['ID']['input'];\n periodType?: InputMaybe<TimePeriodType>;\n utcTimeFrom: Scalars['String']['input'];\n utcTimeTo: Scalars['String']['input'];\n}\n\nexport interface SpendingInsightsOutput {\n __typename?: 'SpendingInsightsOutput';\n driverSpending?: Maybe<Maybe<DriverSpending>[]>;\n driverSpendingInsights?: Maybe<Scalars['String']['output']>;\n gasPriceAverage?: Maybe<Scalars['String']['output']>;\n gasPriceInsights?: Maybe<Scalars['String']['output']>;\n gasPriceSeries?: Maybe<Maybe<HashMap>[]>;\n totalCurrentPeriod: Scalars['String']['output'];\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n totalSeries?: Maybe<Maybe<HashMap>[]>;\n vehicleSpending?: Maybe<Maybe<VehicleSpending>[]>;\n vehicleSpendingInsights?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface SpendingOverview {\n __typename?: 'SpendingOverview';\n totalByServiceCurrentPeriod?: Maybe<Maybe<HashMap>[]>;\n totalCurrentPeriod: Scalars['String']['output'];\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface StoreCardCoFInput {\n /** Encrypted Card info byte array encoded as Base64 string. */\n encryptedCard: Scalars['String']['input'];\n token: Scalars['String']['input'];\n}\n\nexport interface StoreCardCoFOutput {\n __typename?: 'StoreCardCoFOutput';\n id: Scalars['String']['output'];\n}\n\nexport interface StringArrayHashMapInput {\n key: Scalars['String']['input'];\n value: 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 interface 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<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<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 interface TransactionFilterAdditionalOptions {\n generatePdfReceipt?: InputMaybe<Scalars['Boolean']['input']>;\n}\n\nexport interface 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<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 interface 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 interface TransactionPage {\n __typename?: 'TransactionPage';\n /** List of transactions. */\n data?: Maybe<Transaction>;\n requestId?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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 interface 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 interface 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<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 interface TransactionStatusField {\n __typename?: 'TransactionStatusField';\n response?: Maybe<TransactionStatusResponse>;\n}\n\nexport interface TransactionStatusResponse {\n __typename?: 'TransactionStatusResponse';\n kind?: Maybe<Scalars['String']['output']>;\n stringValue?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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 interface 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 interface TransactionUpdateOptionsInput {\n jobCode: Scalars['String']['input'];\n}\n\nexport interface 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 interface 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<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<InputMaybe<Scalars['String']['input']>[]>;\n vehicleGroupExternalId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupIds?: InputMaybe<InputMaybe<Scalars['String']['input']>[]>;\n vehicleId?: InputMaybe<Scalars['String']['input']>;\n vehicleIds?: InputMaybe<InputMaybe<Scalars['String']['input']>[]>;\n vin?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface 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 interface TransactionsInsightsInput {\n filter: TransactionsInsightsFilterOptions;\n page: PageRequest;\n sortOptions?: InputMaybe<TransactionsSortOptions>;\n}\n\nexport interface TransactionsInsightsPage {\n __typename?: 'TransactionsInsightsPage';\n data?: Maybe<Maybe<TransactionInsight>[]>;\n meta?: Maybe<PageMeta>;\n}\n\nexport interface TransactionsOverviewInput {\n entityId: Scalars['ID']['input'];\n periodType?: InputMaybe<TimePeriodType>;\n utcTimeFrom: Scalars['String']['input'];\n utcTimeTo: Scalars['String']['input'];\n}\n\nexport interface TransactionsOverviewOutput {\n __typename?: 'TransactionsOverviewOutput';\n exceptions?: Maybe<Maybe<HashMap>[]>;\n spending?: Maybe<SpendingOverview>;\n vehicles?: Maybe<VehiclesOverviewOutput>;\n}\n\nexport interface TransactionsPage {\n __typename?: 'TransactionsPage';\n /** List of transactions. */\n data?: Maybe<Maybe<Transaction>[]>;\n /** The pagination used to fulfill the response. */\n meta?: Maybe<PageMeta>;\n}\n\n/** Options to sort on TransactionsFilter */\nexport interface 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 interface 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 interface 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 interface TtpTokenizationInput {\n deviceId: Scalars['String']['input'];\n requestId?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface TtpTokenizationOutput {\n __typename?: 'TtpTokenizationOutput';\n requestId?: Maybe<Scalars['String']['output']>;\n success?: Maybe<Scalars['Boolean']['output']>;\n}\n\nexport interface 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<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 username?: Maybe<Scalars['String']['output']>;\n /** Return a list of vehicle groups. */\n vehicleGroups?: Maybe<Maybe<VehicleGroup>[]>;\n}\n\nexport interface UserActivationCodeSignUpInput {\n activationCode: Scalars['String']['input'];\n firstName: Scalars['String']['input'];\n lastName: Scalars['String']['input'];\n phoneNumber: Scalars['String']['input'];\n}\n\nexport interface UserAdditionalInfo {\n __typename?: 'UserAdditionalInfo';\n isCorporatePhone?: Maybe<Scalars['Boolean']['output']>;\n}\n\nexport interface UserCreateInput {\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 /** If the phone number is a corporate phone. */\n isCorporatePhone?: InputMaybe<Scalars['Boolean']['input']>;\n lastName: Scalars['String']['input'];\n login?: InputMaybe<Scalars['String']['input']>;\n /** Email or phone */\n loginType?: InputMaybe<LoginType>;\n middleName?: InputMaybe<Scalars['String']['input']>;\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n phoneNumber: Scalars['String']['input'];\n /** Role type of user such as Driver, Manager, or Admin. */\n role: RoleType;\n}\n\nexport interface UserForgotPasswordInput {\n username: Scalars['String']['input'];\n}\n\nexport interface 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 username: Scalars['String']['input'];\n}\n\nexport interface 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 phone_number?: InputMaybe<Scalars['String']['input']>;\n /** Code or Link */\n send: OtpType;\n}\n\nexport interface 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 interface 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 interface UserLoyaltyAccountAddInput {\n loyaltyId: Scalars['String']['input'];\n loyaltyPhone?: InputMaybe<Scalars['String']['input']>;\n program: Scalars['String']['input'];\n}\n\nexport interface 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 interface UserNotificationTokenUpdateOutput {\n __typename?: 'UserNotificationTokenUpdateOutput';\n error?: Maybe<Scalars['Boolean']['output']>;\n message?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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 interface 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 interface UserRoleInput {\n entityId: Scalars['ID']['input'];\n roleId?: InputMaybe<Scalars['ID']['input']>;\n roleName?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface 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 interface UserUpdateInput {\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 /** Role type of user such as Driver, Manager, or Admin. */\n role: RoleType;\n}\n\nexport interface 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 interface UsersFilterOptions {\n entityId?: InputMaybe<Scalars['ID']['input']>;\n /** Auth0 Id, if specified, will only apply filter using externalId */\n externalId?: InputMaybe<Scalars['String']['input']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: InputMaybe<RoleType>;\n roles?: InputMaybe<InputMaybe<RoleType>[]>;\n statuses?: InputMaybe<InputMaybe<UserStatus>[]>;\n username?: InputMaybe<Scalars['String']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n}\n\nexport interface UsersPage {\n __typename?: 'UsersPage';\n /** Returns a list of users. */\n data?: Maybe<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 interface 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 interface ValidateTokenCoFInput {\n token: Scalars['String']['input'];\n}\n\nexport interface 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 interface 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<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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface VehicleFieldsDisplayContextsInput {\n console?: InputMaybe<Scalars['Boolean']['input']>;\n statementReport?: InputMaybe<Scalars['Boolean']['input']>;\n transactionReport?: InputMaybe<Scalars['Boolean']['input']>;\n}\n\nexport interface 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 interface VehicleFieldsPage {\n __typename?: 'VehicleFieldsPage';\n data?: Maybe<Maybe<VehicleFieldsConfiguration>[]>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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 interface 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 interface 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<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 interface 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<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<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<InputMaybe<Scalars['ID']['input']>[]>;\n}\n\nexport interface VehicleGroupDriversAddInput {\n drivers: Scalars['ID']['input'][];\n vehicleGroupId: Scalars['ID']['input'];\n}\n\nexport interface VehicleGroupDriversRemoveInput {\n drivers: Scalars['ID']['input'][];\n vehicleGroupId: Scalars['ID']['input'];\n}\n\nexport interface 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 interface 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 interface 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<InputMaybe<Scalars['String']['input']>[]>;\n /** Update the name on a vehicle group. */\n name: Scalars['String']['input'];\n}\n\nexport interface VehicleGroupVehiclesAddInput {\n vehicleGroupId: Scalars['ID']['input'];\n vehicles: Scalars['ID']['input'][];\n}\n\nexport interface VehicleGroupVehiclesRemoveInput {\n vehicleGroupId: Scalars['ID']['input'];\n vehicles: Scalars['ID']['input'][];\n}\n\nexport interface 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 interface 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 interface VehicleGroupsPage {\n __typename?: 'VehicleGroupsPage';\n /** Returns a list of vehicle groups. */\n data?: Maybe<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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface VehicleType {\n __typename?: 'VehicleType';\n /** Custom Fields for this Vehicle */\n customFields?: Maybe<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 interface VehicleUpdateInput {\n /** Custom Fields for Vehicle */\n customFields?: InputMaybe<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 interface 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 interface 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 interface 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 interface 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 interface VehiclesOnboardInput {\n /** Custom Fields for Vehicle */\n customFields?: InputMaybe<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 interface VehiclesOnboardInputList {\n vehicles?: InputMaybe<InputMaybe<VehiclesOnboardInput>[]>;\n}\n\n/** Output of the vehicles onboard. */\nexport interface 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 interface VehiclesOnboardOutputList {\n __typename?: 'VehiclesOnboardOutputList';\n vehicles?: Maybe<Maybe<VehiclesOnboardOutput>[]>;\n}\n\nexport interface VehiclesOverviewOutput {\n __typename?: 'VehiclesOverviewOutput';\n onboarded?: Maybe<Scalars['Int']['output']>;\n transacting?: Maybe<Scalars['Int']['output']>;\n transactingByService?: Maybe<Maybe<HashMap>[]>;\n}\n\nexport interface VehiclesPage {\n __typename?: 'VehiclesPage';\n /** List of vehicles for vehiclesFilter. */\n data?: Maybe<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 interface 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 interface 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 interface VehiclesWithTelematicsNotEnrolledOutput {\n __typename?: 'VehiclesWithTelematicsNotEnrolledOutput';\n vehicles?: Maybe<Maybe<Vehicle>[]>;\n}\n\nexport interface 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 interface 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 OrganizationCreateMutationVariables = Exact<{\n input: OrganizationCreateInput;\n}>;\n\nexport interface 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\nexport interface 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 const OrganizationCreateDocument: DocumentNode = 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: DocumentNode = 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 `;\n\nexport type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;\n\nconst defaultWrapper: SdkFunctionWrapper = (action, _operationName, _operationType, _variables) => action();\n\nexport function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = defaultWrapper) {\n return {\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 };\n}\nexport type Sdk = ReturnType<typeof getSdk>;\n","import { GraphQLClient } from 'graphql-request';\nimport { getSdk } from './generated/sdk';\n\nexport interface ElementPayClientConfig {\n endpoint: string;\n apiKey: string;\n}\n\nexport function createElementPayClient(config: ElementPayClientConfig): ReturnType<typeof getSdk> {\n const client = new GraphQLClient(config.endpoint, {\n headers: {\n 'x-api-key': config.apiKey,\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 } 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","import type { FuelSupplier } from '@autofleet/common-types/lib/pit-stop';\nimport type { ServiceLocationEvent } from '../pubSub/interfaces';\nimport { PROVIDER_BRAND_NAME_TO_AUTOFLEET_NAME } from './consts';\n\nexport const serviceLocationEventToFuelSupplier = ({\n serviceLocationEvent,\n}: {\n serviceLocationEvent: ServiceLocationEvent;\n}): Partial<FuelSupplier> => {\n const serviceLocation = serviceLocationEvent.ServiceLocation as Exclude<ServiceLocationEvent['ServiceLocation'], Buffer | string>;\n const { address, geocoded } = 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 };\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":"mnBAu8GA,MAAaA,EAA2C,EAAA,OAAG;;;;;;;;;;;;;;;;;;;;MAqB9CC,EAAqC,EAAA,OAAG;;;;;;;;;;;;;;MAkB/CC,GAAsC,EAAQ,EAAgB,EAAgB,IAAe,GAAQ,CAE3G,SAAgB,EAAO,EAAuB,EAAkC,EAAgB,CAC9F,MAAO,CACL,mBAAmB,EAAgD,EAA8C,EAAqE,CACpL,OAAO,EAAY,GAAyB,EAAO,QAAoC,CAAE,SAAU,EAA4B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,qBAAsB,WAAY,EAAU,EAEpQ,aAAa,EAA0C,EAA8C,EAA+D,CAClK,OAAO,EAAY,GAAyB,EAAO,QAA8B,CAAE,SAAU,EAAsB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,eAAgB,WAAY,EAAU,EAEnP,CCh/GH,SAAgB,EAAuB,EAA2D,CAQhG,OAAO,EAPQ,IAAIC,EAAAA,cAAc,EAAO,SAAU,CAChD,QAAS,CACP,YAAa,EAAO,OACpB,eAAgB,mBACjB,CACF,CAAC,CAEmB,CCbvB,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,CCHY,GAAsC,CACjD,0BAG2B,CAC3B,IAAM,EAAkB,EAAqB,gBACvC,CAAE,UAAS,YAAa,EAE9B,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,WACvD,ECpBU,EAA8C,GAElD,EAAmC,CAAE,qBADf,EAAsD,EAAQ,CACzB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["ApiKeyCreateDocument: DocumentNode","ClientOnboardDocument: DocumentNode","OrganizationCreateDocument: DocumentNode","EntityCreateDocument: DocumentNode","EntityGetExternalIdDocument: DocumentNode","MachineTokenizeUserDocument: DocumentNode","ServicePayDocument: DocumentNode","UserCreateDocument: DocumentNode","VehicleGroupCreateDocument: DocumentNode","VehicleGroupDriversAddDocument: DocumentNode","VehicleGroupVehiclesAddDocument: DocumentNode","VehiclesOnboardDocument: DocumentNode","defaultWrapper: SdkFunctionWrapper","defaultWrapper","ApiKeyCreateDocument","OrganizationCreateDocument","EntityCreateDocument","MachineTokenizeUserDocument","ServicePayDocument","UserCreateDocument","VehicleGroupCreateDocument","VehicleGroupDriversAddDocument","VehicleGroupVehiclesAddDocument","VehiclesOnboardDocument","ApiKeyCreateDocument: DocumentNode","OrganizationCreateDocument: DocumentNode","EntityCreateDocument: DocumentNode","MachineTokenizeUserDocument: DocumentNode","ServicePayDocument: DocumentNode","UserCreateDocument: DocumentNode","VehicleGroupCreateDocument: DocumentNode","VehicleGroupDriversAddDocument: DocumentNode","VehicleGroupVehiclesAddDocument: DocumentNode","VehiclesOnboardDocument: DocumentNode","defaultWrapper: SdkFunctionWrapper","GraphQLClient","PROVIDER_BRAND_NAME_TO_AUTOFLEET_NAME: Record<string, (typeof FUEL_BRANDS)[keyof typeof FUEL_BRANDS]>","FUEL_BRANDS"],"sources":["../src/generated/int/sdk.ts","../src/generated/prod/sdk.ts","../src/client.ts","../src/pubSub/utils.ts","../src/service-locations/consts.ts","../src/service-locations/utils.ts","../src/service-locations/index.ts"],"sourcesContent":["/* eslint-disable @stylistic/max-len */\nimport type { DocumentNode } from 'graphql';\nimport type { GraphQLClient, RequestOptions } from 'graphql-request';\nimport gql from 'graphql-tag';\n\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends Record<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 Record<string, unknown>, K extends keyof T> = Partial<Record<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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface ApiKeyCreateOutput {\n __typename?: 'ApiKeyCreateOutput';\n /** Api Key */\n apiKey: Scalars['String']['output'];\n}\n\nexport interface ApiKeyRevokeInput {\n /** Api Key */\n apiKey: Scalars['String']['input'];\n}\n\nexport interface ApiKeyRevokeOutput {\n __typename?: 'ApiKeyRevokeOutput';\n /** Success */\n success: Scalars['Boolean']['output'];\n}\n\nexport interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface CreditApplicationPublicKeyOutput {\n __typename?: 'CreditApplicationPublicKeyOutput';\n /** Public Key byte array encoded as Base64 string. */\n publicKey: Scalars['String']['output'];\n}\n\nexport interface 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 interface 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 interface DaysTimeRanges {\n __typename?: 'DaysTimeRanges';\n friday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n monday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n saturday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n sunday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n thursday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n tuesday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n wednesday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n}\n\nexport interface DaysTimeRangesInput {\n friday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n monday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n saturday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n sunday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n thursday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n tuesday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n wednesday?: InputMaybe<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 interface 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: VehicleGroup[];\n}\n\nexport interface 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: Scalars['ID']['input'][];\n}\n\nexport interface 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 interface 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 interface 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 interface 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: Scalars['ID']['input'][];\n}\n\nexport interface 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 interface DriversFilterOptions {\n /** Filter on user statuses such as invited, onboarded, deleted, etc. */\n statuses?: InputMaybe<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 interface 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 interface 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 interface 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 interface EntitiesPage {\n __typename?: 'EntitiesPage';\n /** A list of entities */\n data?: Maybe<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 interface 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 interface 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<Maybe<Policy>[]>;\n /** When the entity record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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<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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface GenerateTokenCoFInput {\n paymentProviderAccountId: Scalars['String']['input'];\n vehicleId: Scalars['String']['input'];\n}\n\nexport interface GenerateTokenCoFOutput {\n __typename?: 'GenerateTokenCoFOutput';\n token: Scalars['String']['output'];\n}\n\nexport interface 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 interface 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 interface 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 interface 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 interface GetCreditStatementsOutput {\n __typename?: 'GetCreditStatementsOutput';\n /** List of statements with the date, due date, and balances */\n data?: Maybe<Maybe<CreditStatement>[]>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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 interface GetInvoicePaymentsOutput {\n __typename?: 'GetInvoicePaymentsOutput';\n /** List of credit payments on a payment provider account using ppaid with an option of sorting. */\n data?: Maybe<Maybe<InvoicePayment>[]>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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<Maybe<Policy>[]>;\n /** When the entity record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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<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<Maybe<VehicleGroup>[]>;\n}\n\nexport interface HashMap {\n __typename?: 'HashMap';\n key: Scalars['String']['output'];\n value: Scalars['String']['output'];\n}\n\nexport interface HashMapInput {\n key: Scalars['String']['input'];\n value: Scalars['String']['input'];\n}\n\nexport interface 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<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 interface 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<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<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 interface 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 interface 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 interface JobCodeOptionsOutput {\n __typename?: 'JobCodeOptionsOutput';\n optionValues?: Maybe<OptionValues>;\n}\n\nexport interface 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<InputMaybe<Scalars['String']['input']>[]>;\n}\n\nexport interface JobCodeOptionsUpsertOutput {\n __typename?: 'JobCodeOptionsUpsertOutput';\n optionValues?: Maybe<OptionValues>;\n}\n\nexport enum LanguageType {\n En = 'EN',\n Es = 'ES',\n}\n\nexport interface Location {\n __typename?: 'Location';\n latitude?: Maybe<Scalars['Float']['output']>;\n longitude?: Maybe<Scalars['Float']['output']>;\n}\n\nexport interface 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 interface LoginOtpResponse {\n __typename?: 'LoginOtpResponse';\n error?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n}\n\nexport enum LoginType {\n Email = 'EMAIL',\n Phone = 'PHONE',\n Unknown = 'UNKNOWN',\n}\n\nexport interface LoginUniversalResponse {\n __typename?: 'LoginUniversalResponse';\n authUrl: Scalars['String']['output'];\n state: Scalars['String']['output'];\n success: Scalars['Boolean']['output'];\n}\n\nexport interface MachineLogin {\n __typename?: 'MachineLogin';\n access_token?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface MachineLoginInput {\n /** Auth0 Client Id */\n client_id: Scalars['String']['input'];\n /** Auth0 Client Secret */\n client_secret: Scalars['String']['input'];\n}\n\nexport interface MachineTokenizeUserInput {\n email?: InputMaybe<Scalars['String']['input']>;\n /** Auth0 Id */\n externalId: Scalars['String']['input'];\n firstName?: InputMaybe<Scalars['String']['input']>;\n lastName?: InputMaybe<Scalars['String']['input']>;\n organizationId: Scalars['ID']['input'];\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n /** deprecated */\n username?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface 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 interface 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\nexport interface MutationPassArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface MutationApiKeyCreateArgs {\n input: ApiKeyCreateInput;\n}\n\nexport interface MutationApiKeyRevokeArgs {\n input: ApiKeyRevokeInput;\n}\n\nexport interface MutationApplyForCreditArgs {\n input?: InputMaybe<ApplyForCreditInput>;\n}\n\nexport interface MutationClientOnboardArgs {\n input: ClientOnboardInput;\n}\n\nexport interface MutationEntityCreateArgs {\n input: EntityCreateInput;\n}\n\nexport interface MutationExchangeAuthorizationCodeArgs {\n input: ExchangeAuthorizationCodeInput;\n}\n\nexport interface MutationGenerateTokenCoFArgs {\n input: GenerateTokenCoFInput;\n}\n\nexport interface MutationGeotabDriveLoginArgs {\n input: GeotabDriveLoginInput;\n}\n\nexport interface MutationJobCodeOptionsUpsertArgs {\n input?: InputMaybe<JobCodeOptionsUpsertInput>;\n}\n\nexport interface MutationMachineLoginArgs {\n input: MachineLoginInput;\n}\n\nexport interface MutationMachineTokenizeUserArgs {\n input?: InputMaybe<MachineTokenizeUserInput>;\n}\n\nexport interface MutationOrganizationCreateArgs {\n input: OrganizationCreateInput;\n}\n\nexport interface MutationPolicyCreateArgs {\n input?: InputMaybe<PolicyCreateInput>;\n}\n\nexport interface MutationPolicyDeleteArgs {\n input?: InputMaybe<PolicyDeleteInput>;\n}\n\nexport interface MutationPolicyManageArgs {\n input?: InputMaybe<PolicyManageInput>;\n}\n\nexport interface MutationProcessCardCoFArgs {\n input: ProcessCardCoFInput;\n}\n\nexport interface MutationProvisionCardArgs {\n input: ProvisionCardInput;\n}\n\nexport interface MutationProvisionStatusUpdateArgs {\n input: ProvisionStatusUpdateInput;\n}\n\nexport interface MutationReportIssueArgs {\n input: ReportIssueInput;\n}\n\nexport interface MutationRiskRuleCreateArgs {\n input?: InputMaybe<RiskRuleCreateInput>;\n}\n\nexport interface MutationRiskRuleDeleteArgs {\n input?: InputMaybe<RiskRuleDeleteInput>;\n}\n\nexport interface MutationRiskRuleUpdateArgs {\n input?: InputMaybe<RiskRuleUpdateInput>;\n}\n\nexport interface MutationServicePayArgs {\n input: ServicePayInput;\n}\n\nexport interface MutationStoreCardCoFArgs {\n input: StoreCardCoFInput;\n}\n\nexport interface MutationTransactionUpdateArgs {\n input?: InputMaybe<TransactionUpdateInput>;\n}\n\nexport interface MutationTtpTokenizationArgs {\n input?: InputMaybe<TtpTokenizationInput>;\n}\n\nexport interface MutationUserActivationCodeSignUpArgs {\n input: UserActivationCodeSignUpInput;\n}\n\nexport interface MutationUserCreateArgs {\n input: UserCreateInput;\n}\n\nexport interface MutationUserDeleteArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface MutationUserForgotPasswordArgs {\n input: UserForgotPasswordInput;\n}\n\nexport interface MutationUserLoginArgs {\n input: UserLoginInput;\n}\n\nexport interface MutationUserLoginOtpRequestArgs {\n input: UserLoginOtpRequestInput;\n}\n\nexport interface MutationUserLoginOtpVerifyArgs {\n input: UserLoginOtpVerifyInput;\n}\n\nexport interface MutationUserLoginUniversalArgs {\n input: UserLoginUniversalInput;\n}\n\nexport interface MutationUserLoyaltyAccountAddArgs {\n input: UserLoyaltyAccountAddInput;\n}\n\nexport interface MutationUserLoyaltyAccountDeleteArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface MutationUserNotificationTokenUpdateArgs {\n token: Scalars['String']['input'];\n}\n\nexport interface MutationUserOffboardArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface MutationUserRefreshTokenArgs {\n input: UserRefreshTokenInput;\n}\n\nexport interface MutationUserSetPasswordArgs {\n input: UserSetPasswordInput;\n}\n\nexport interface MutationUserUpdateArgs {\n input: UserUpdateInput;\n}\n\nexport interface MutationValidateTokenCoFArgs {\n input: ValidateTokenCoFInput;\n}\n\nexport interface MutationVehicleCreateArgs {\n input: VehicleCreateInput;\n}\n\nexport interface MutationVehicleFieldsAddArgs {\n input: VehicleFieldsAddInput;\n}\n\nexport interface MutationVehicleFieldsDeleteArgs {\n input?: InputMaybe<Scalars['ID']['input']>;\n}\n\nexport interface MutationVehicleFieldsUpdateArgs {\n input: VehicleFieldsUpdateInput;\n}\n\nexport interface MutationVehicleGroupCreateArgs {\n input: VehicleGroupCreateInput;\n}\n\nexport interface MutationVehicleGroupDeleteArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface MutationVehicleGroupDriversAddArgs {\n input: VehicleGroupDriversAddInput;\n}\n\nexport interface MutationVehicleGroupDriversRemoveArgs {\n input: VehicleGroupDriversRemoveInput;\n}\n\nexport interface MutationVehicleGroupSpendRestrictionsSetArgs {\n input: VehicleGroupSpendRestrictionsSetInput;\n}\n\nexport interface MutationVehicleGroupUpdateArgs {\n input: VehicleGroupUpdateInput;\n}\n\nexport interface MutationVehicleGroupVehiclesAddArgs {\n input: VehicleGroupVehiclesAddInput;\n}\n\nexport interface MutationVehicleGroupVehiclesRemoveArgs {\n input: VehicleGroupVehiclesRemoveInput;\n}\n\nexport interface MutationVehicleUpdateArgs {\n input: VehicleUpdateInput;\n}\n\nexport interface 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 interface 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<Maybe<Scalars['String']['output']>[]>;\n}\n\n/** Information on the organization. */\nexport interface 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<Maybe<Policy>[]>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface PolicyCreateOutput {\n __typename?: 'PolicyCreateOutput';\n countAffected?: Maybe<Scalars['Int']['output']>;\n policy?: Maybe<Policy>;\n success?: Maybe<Scalars['Boolean']['output']>;\n}\n\nexport interface PolicyDeleteInput {\n /** Policy id to delete a specific policy. */\n policyId: Scalars['String']['input'];\n}\n\nexport interface PolicyDeleteOutput {\n __typename?: 'PolicyDeleteOutput';\n countAffected?: Maybe<Scalars['Int']['output']>;\n success?: Maybe<Scalars['Boolean']['output']>;\n}\n\nexport interface PolicyManageInput {\n /** Add or update a policy on a policy id, entity id, or vehicle group id. */\n applyPolicies?: InputMaybe<InputMaybe<ApplyPolicyInput>[]>;\n /** Remove a policy using a policy id, entity id, or vehicle group id. */\n revokePolicies?: InputMaybe<InputMaybe<RevokePolicyInput>[]>;\n}\n\nexport interface PolicyManageOutput {\n __typename?: 'PolicyManageOutput';\n /** List of policies that were added or updated. */\n applyResponses?: Maybe<Maybe<PolicyActionResponse>[]>;\n /** List of policies that were revoked. */\n revokeResponses?: Maybe<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 interface 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 interface ProcessCardCoFInput {\n id: Scalars['String']['input'];\n paymentProviderAccountId: Scalars['String']['input'];\n vehicleId: Scalars['String']['input'];\n}\n\nexport interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface PurchaseTimeRange {\n __typename?: 'PurchaseTimeRange';\n from?: Maybe<Scalars['String']['output']>;\n to?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface PurchaseTimeRangeInput {\n from?: InputMaybe<Scalars['String']['input']>;\n to?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface 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<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\nexport interface QueryPassArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryCreditPaymentsListArgs {\n input: GetInvoicePaymentsInput;\n}\n\nexport interface QueryCreditStatementDownloadArgs {\n input: CreditStatementDownloadInput;\n}\n\nexport interface QueryCreditStatementsListArgs {\n input?: InputMaybe<GetCreditStatementsInput>;\n}\n\nexport interface QueryDriverReportDownloadArgs {\n input?: InputMaybe<DriverReportDownloadInput>;\n}\n\nexport interface QueryEntitiesFilterArgs {\n input: EntitiesFilterInput;\n}\n\nexport interface QueryEntityArgs {\n externalId?: InputMaybe<Scalars['String']['input']>;\n id?: InputMaybe<Scalars['ID']['input']>;\n}\n\nexport interface QueryEntityAccountInfoArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryEntityAccountsInfoArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryJobCodeOptionsArgs {\n input?: InputMaybe<JobCodeOptionsInput>;\n}\n\nexport interface QueryReportsDownloadArgs {\n input?: InputMaybe<ReportsDownloadInput>;\n}\n\nexport interface QueryRiskRuleGetArgs {\n input?: InputMaybe<RiskRuleGetInput>;\n}\n\nexport interface QueryRiskRulesListArgs {\n input?: InputMaybe<RiskRulesListInput>;\n}\n\nexport interface QueryRolePermissionsArgs {\n input: RolePermissionsInput;\n}\n\nexport interface QuerySearchArgs {\n input: SearchInput;\n}\n\nexport interface QueryServiceLocationsFilterArgs {\n input?: InputMaybe<ServiceLocationsFilterInput>;\n}\n\nexport interface QuerySpendingInsightsArgs {\n input: SpendingInsightsInput;\n}\n\nexport interface QueryTransactionArgs {\n input: Scalars['ID']['input'];\n}\n\nexport interface QueryTransactionReportDownloadArgs {\n input?: InputMaybe<TransactionReportDownloadInput>;\n}\n\nexport interface QueryTransactionsFilterArgs {\n input: TransactionsFilterInput;\n}\n\nexport interface QueryTransactionsInsightsArgs {\n input: TransactionsInsightsInput;\n}\n\nexport interface QueryTransactionsOverviewArgs {\n input: TransactionsOverviewInput;\n}\n\nexport interface QueryTransactionsStatsArgs {\n input: TransactionsStatsInput;\n}\n\nexport interface QueryUserArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryUsersFilterArgs {\n input: UsersFilterInput;\n}\n\nexport interface QueryVehicleArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryVehicleFieldsArgs {\n input: VehicleFieldsInput;\n}\n\nexport interface QueryVehicleGroupArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryVehicleGroupsFilterArgs {\n input: VehicleGroupsFilterInput;\n}\n\nexport interface QueryVehiclesFilterArgs {\n input: VehiclesFilterInput;\n}\n\nexport interface QueryVehiclesFilterByLocationArgs {\n input: VehiclesFilterByLocationInput;\n}\n\nexport interface QueryVehiclesWithTelematicsNotEnrolledArgs {\n input: VehiclesWithTelematicsNotEnrolledInput;\n}\n\nexport interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface RiskRuleDeleteInput {\n id?: InputMaybe<Scalars['String']['input']>;\n}\n\n/** Specify either id or name to get risk rule. */\nexport interface RiskRuleGetInput {\n id?: InputMaybe<Scalars['String']['input']>;\n name?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface RiskRuleGetOutput {\n __typename?: 'RiskRuleGetOutput';\n data?: Maybe<RiskRule>;\n}\n\nexport interface 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 interface RiskRulesListInput {\n page?: InputMaybe<PageRequest>;\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface RiskRulesListOutput {\n __typename?: 'RiskRulesListOutput';\n data?: Maybe<Maybe<RiskRule>[]>;\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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: Permission[];\n}\n\nexport interface 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 interface 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<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 interface 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<InputMaybe<SearchObjectType>[]>;\n /** User status such as onboarded, invited, deleted, etc. */\n userStatuses?: InputMaybe<InputMaybe<UserStatus>[]>;\n /** Vehicle group id to filter on. */\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n}\n\nexport interface 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 interface SearchOutput {\n __typename?: 'SearchOutput';\n /** Returns a list of items for the search result. */\n data?: Maybe<Maybe<SearchResult>[]>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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 interface SearchSortOptions {\n direction?: InputMaybe<Direction>;\n orderBy?: InputMaybe<InputMaybe<Scalars['String']['input']>[]>;\n}\n\nexport interface ServiceFuelInput {\n additionalInfo?: InputMaybe<AdditionalServicePayInfoInput>;\n /** Pump number of the given gas station. */\n pumpNumber: Scalars['Int']['input'];\n}\n\nexport interface 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<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<Maybe<ServiceType>[]>;\n /** Is Tap To Pay enabled? */\n ttpEnabled?: Maybe<Scalars['Boolean']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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 interface 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 interface ServiceLocationsFilterOptions {\n /** Brand/name of the service location. */\n brand?: InputMaybe<Scalars['String']['input']>;\n /** List of brands (case-insensitive). */\n brands?: InputMaybe<InputMaybe<Scalars['String']['input']>[]>;\n feeNetworkDesignations?: InputMaybe<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<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<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 interface ServiceLocationsPage {\n __typename?: 'ServiceLocationsPage';\n /** List of available stations from a given locations */\n data?: Maybe<Maybe<ServiceLocation>[]>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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 interface 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 interface 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 interface 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 interface 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 interface 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<Maybe<PurchaseTimeRange>[]>;\n}\n\nexport interface SpendRestrictionsDayInput {\n isEnabled: Scalars['Boolean']['input'];\n /** Defines a list of to and from times that a vehicle can purchase at. */\n purchaseTimes?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n}\n\n/** Specifies if which days are enabled and for which times. */\nexport interface 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 interface 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 interface 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 interface SpendingInsightsInput {\n entityId: Scalars['ID']['input'];\n periodType?: InputMaybe<TimePeriodType>;\n utcTimeFrom: Scalars['String']['input'];\n utcTimeTo: Scalars['String']['input'];\n}\n\nexport interface SpendingInsightsOutput {\n __typename?: 'SpendingInsightsOutput';\n driverSpending?: Maybe<Maybe<DriverSpending>[]>;\n driverSpendingInsights?: Maybe<Scalars['String']['output']>;\n gasPriceAverage?: Maybe<Scalars['String']['output']>;\n gasPriceInsights?: Maybe<Scalars['String']['output']>;\n gasPriceSeries?: Maybe<Maybe<HashMap>[]>;\n totalCurrentPeriod: Scalars['String']['output'];\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n totalSeries?: Maybe<Maybe<HashMap>[]>;\n vehicleSpending?: Maybe<Maybe<VehicleSpending>[]>;\n vehicleSpendingInsights?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface SpendingOverview {\n __typename?: 'SpendingOverview';\n totalByServiceCurrentPeriod?: Maybe<Maybe<HashMap>[]>;\n totalCurrentPeriod: Scalars['String']['output'];\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface StoreCardCoFInput {\n /** Encrypted Card info byte array encoded as Base64 string. */\n encryptedCard: Scalars['String']['input'];\n token: Scalars['String']['input'];\n}\n\nexport interface StoreCardCoFOutput {\n __typename?: 'StoreCardCoFOutput';\n id: Scalars['String']['output'];\n}\n\nexport interface StringArrayHashMapInput {\n key: Scalars['String']['input'];\n value: 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 interface 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<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<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 interface TransactionFilterAdditionalOptions {\n generatePdfReceipt?: InputMaybe<Scalars['Boolean']['input']>;\n}\n\nexport interface 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<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 interface 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 interface TransactionPage {\n __typename?: 'TransactionPage';\n /** List of transactions. */\n data?: Maybe<Transaction>;\n requestId?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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 interface 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 interface 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<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 interface TransactionStatusField {\n __typename?: 'TransactionStatusField';\n response?: Maybe<TransactionStatusResponse>;\n}\n\nexport interface TransactionStatusResponse {\n __typename?: 'TransactionStatusResponse';\n kind?: Maybe<Scalars['String']['output']>;\n stringValue?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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 interface 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 interface TransactionUpdateOptionsInput {\n jobCode: Scalars['String']['input'];\n}\n\nexport interface 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 interface 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<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<InputMaybe<Scalars['String']['input']>[]>;\n vehicleGroupExternalId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupIds?: InputMaybe<InputMaybe<Scalars['String']['input']>[]>;\n vehicleId?: InputMaybe<Scalars['String']['input']>;\n vehicleIds?: InputMaybe<InputMaybe<Scalars['String']['input']>[]>;\n vin?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface 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 interface TransactionsInsightsInput {\n filter: TransactionsInsightsFilterOptions;\n page: PageRequest;\n sortOptions?: InputMaybe<TransactionsSortOptions>;\n}\n\nexport interface TransactionsInsightsPage {\n __typename?: 'TransactionsInsightsPage';\n data?: Maybe<Maybe<TransactionInsight>[]>;\n meta?: Maybe<PageMeta>;\n}\n\nexport interface TransactionsOverviewInput {\n entityId: Scalars['ID']['input'];\n periodType?: InputMaybe<TimePeriodType>;\n utcTimeFrom: Scalars['String']['input'];\n utcTimeTo: Scalars['String']['input'];\n}\n\nexport interface TransactionsOverviewOutput {\n __typename?: 'TransactionsOverviewOutput';\n exceptions?: Maybe<Maybe<HashMap>[]>;\n spending?: Maybe<SpendingOverview>;\n vehicles?: Maybe<VehiclesOverviewOutput>;\n}\n\nexport interface TransactionsPage {\n __typename?: 'TransactionsPage';\n /** List of transactions. */\n data?: Maybe<Maybe<Transaction>[]>;\n /** The pagination used to fulfill the response. */\n meta?: Maybe<PageMeta>;\n}\n\n/** Options to sort on TransactionsFilter */\nexport interface 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 interface 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 interface 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 interface TtpTokenizationInput {\n deviceId: Scalars['String']['input'];\n requestId?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface 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 interface 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<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<Maybe<VehicleGroup>[]>;\n}\n\nexport interface UserActivationCodeSignUpInput {\n activationCode: Scalars['String']['input'];\n firstName: Scalars['String']['input'];\n lastName: Scalars['String']['input'];\n phoneNumber: Scalars['String']['input'];\n}\n\nexport interface 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 interface 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 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 interface UserForgotPasswordInput {\n /** deprecated */\n username: Scalars['String']['input'];\n}\n\nexport interface 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 interface 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 interface 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 interface UserLoginUniversalInput {\n redirectUri: Scalars['String']['input'];\n universalLoginClientId: Scalars['String']['input'];\n}\n\nexport interface 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 interface UserLoyaltyAccountAddInput {\n loyaltyId: Scalars['String']['input'];\n loyaltyPhone?: InputMaybe<Scalars['String']['input']>;\n program: Scalars['String']['input'];\n}\n\nexport interface 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 interface UserNotificationTokenUpdateOutput {\n __typename?: 'UserNotificationTokenUpdateOutput';\n error?: Maybe<Scalars['Boolean']['output']>;\n message?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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 interface 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 interface UserRoleInput {\n entityId: Scalars['ID']['input'];\n roleId?: InputMaybe<Scalars['ID']['input']>;\n roleName?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface 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 interface 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 interface 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 interface 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<InputMaybe<RoleType>[]>;\n statuses?: InputMaybe<InputMaybe<UserStatus>[]>;\n /** deprecated */\n username?: InputMaybe<Scalars['String']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n}\n\nexport interface UsersPage {\n __typename?: 'UsersPage';\n /** Returns a list of users. */\n data?: Maybe<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 interface 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 interface ValidateTokenCoFInput {\n token: Scalars['String']['input'];\n}\n\nexport interface 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 interface 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<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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface VehicleFieldsDisplayContextsInput {\n console?: InputMaybe<Scalars['Boolean']['input']>;\n statementReport?: InputMaybe<Scalars['Boolean']['input']>;\n transactionReport?: InputMaybe<Scalars['Boolean']['input']>;\n}\n\nexport interface 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 interface VehicleFieldsPage {\n __typename?: 'VehicleFieldsPage';\n data?: Maybe<Maybe<VehicleFieldsConfiguration>[]>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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 interface 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 interface 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<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 interface 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<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<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<InputMaybe<Scalars['ID']['input']>[]>;\n}\n\nexport interface VehicleGroupDriversAddInput {\n drivers: Scalars['ID']['input'][];\n vehicleGroupId: Scalars['ID']['input'];\n}\n\nexport interface VehicleGroupDriversRemoveInput {\n drivers: Scalars['ID']['input'][];\n vehicleGroupId: Scalars['ID']['input'];\n}\n\nexport interface 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 interface 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 interface 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<InputMaybe<Scalars['String']['input']>[]>;\n /** Update the name on a vehicle group. */\n name: Scalars['String']['input'];\n}\n\nexport interface VehicleGroupVehiclesAddInput {\n vehicleGroupId: Scalars['ID']['input'];\n vehicles: Scalars['ID']['input'][];\n}\n\nexport interface VehicleGroupVehiclesRemoveInput {\n vehicleGroupId: Scalars['ID']['input'];\n vehicles: Scalars['ID']['input'][];\n}\n\nexport interface 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 interface 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 interface VehicleGroupsPage {\n __typename?: 'VehicleGroupsPage';\n /** Returns a list of vehicle groups. */\n data?: Maybe<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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface VehicleType {\n __typename?: 'VehicleType';\n /** Custom Fields for this Vehicle */\n customFields?: Maybe<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 interface VehicleUpdateInput {\n /** Custom Fields for Vehicle */\n customFields?: InputMaybe<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 interface 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 interface 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 interface 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 interface 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 interface VehiclesOnboardInput {\n /** Custom Fields for Vehicle */\n customFields?: InputMaybe<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 interface VehiclesOnboardInputList {\n vehicles?: InputMaybe<InputMaybe<VehiclesOnboardInput>[]>;\n}\n\n/** Output of the vehicles onboard. */\nexport interface 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 interface VehiclesOnboardOutputList {\n __typename?: 'VehiclesOnboardOutputList';\n vehicles?: Maybe<Maybe<VehiclesOnboardOutput>[]>;\n}\n\nexport interface VehiclesOverviewOutput {\n __typename?: 'VehiclesOverviewOutput';\n onboarded?: Maybe<Scalars['Int']['output']>;\n transacting?: Maybe<Scalars['Int']['output']>;\n transactingByService?: Maybe<Maybe<HashMap>[]>;\n}\n\nexport interface VehiclesPage {\n __typename?: 'VehiclesPage';\n /** List of vehicles for vehiclesFilter. */\n data?: Maybe<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 interface 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 interface 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 interface VehiclesWithTelematicsNotEnrolledOutput {\n __typename?: 'VehiclesWithTelematicsNotEnrolledOutput';\n vehicles?: Maybe<Maybe<Vehicle>[]>;\n}\n\nexport interface 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 interface 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\nexport interface ApiKeyCreateMutation { __typename?: 'Mutation'; apiKeyCreate?: { __typename?: 'ApiKeyCreateOutput'; apiKey: string; } | null; }\n\nexport type ClientOnboardMutationVariables = Exact<{\n input: ClientOnboardInput;\n}>;\n\nexport interface 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\nexport interface 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\nexport interface 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\nexport interface 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\nexport interface MachineTokenizeUserMutation { __typename?: 'Mutation'; machineTokenizeUser?: { __typename?: 'MachineUserToken'; access_token: string; expires_in: number; } | null; }\n\nexport type ServicePayMutationVariables = Exact<{\n input: ServicePayInput;\n}>;\n\nexport interface ServicePayMutation { __typename?: 'Mutation'; servicePay?: { __typename?: 'ServicePayOutput'; requestId: string; transactionId: string; } | null; }\n\nexport type UserCreateMutationVariables = Exact<{\n input: UserCreateInput;\n}>;\n\nexport interface 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 VehicleGroupCreateMutationVariables = Exact<{\n input: VehicleGroupCreateInput;\n}>;\n\nexport interface 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 VehicleGroupDriversAddMutationVariables = Exact<{\n input: VehicleGroupDriversAddInput;\n}>;\n\nexport interface 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 VehicleGroupVehiclesAddMutationVariables = Exact<{\n input: VehicleGroupVehiclesAddInput;\n}>;\n\nexport interface 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 VehiclesOnboardMutationVariables = Exact<{\n input: VehiclesOnboardInputList;\n}>;\n\nexport interface VehiclesOnboardMutation { __typename?: 'Mutation'; vehiclesOnboard?: { __typename?: 'VehiclesOnboardOutputList'; vehicles?: ({ __typename?: 'VehiclesOnboardOutput'; id?: string | null; vin?: string | null; vehicleGroupId: string; success?: boolean | null; error?: string | null; } | null)[] | null; } | null; }\n\nexport const ApiKeyCreateDocument: DocumentNode = gql`\n mutation apiKeyCreate($input: ApiKeyCreateInput!) {\n apiKeyCreate(input: $input) {\n apiKey\n }\n}\n `;\nexport const ClientOnboardDocument: DocumentNode = 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: DocumentNode = 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: DocumentNode = 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: DocumentNode = 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: DocumentNode = gql`\n mutation machineTokenizeUser($input: MachineTokenizeUserInput) {\n machineTokenizeUser(input: $input) {\n access_token\n expires_in\n }\n}\n `;\nexport const ServicePayDocument: DocumentNode = gql`\n mutation servicePay($input: ServicePayInput!) {\n servicePay(input: $input) {\n requestId\n transactionId\n }\n}\n `;\nexport const UserCreateDocument: DocumentNode = 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 VehicleGroupCreateDocument: DocumentNode = 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 VehicleGroupDriversAddDocument: DocumentNode = 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 VehicleGroupVehiclesAddDocument: DocumentNode = 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 VehiclesOnboardDocument: DocumentNode = 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\nconst defaultWrapper: SdkFunctionWrapper = (action, _operationName, _operationType, _variables) => action();\n\nexport function getIntSdk(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 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 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 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 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 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 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 IntSdk = ReturnType<typeof getIntSdk>;\n","/* eslint-disable @stylistic/max-len */\nimport type { DocumentNode } from 'graphql';\nimport type { GraphQLClient, RequestOptions } from 'graphql-request';\nimport gql from 'graphql-tag';\n\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends Record<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 Record<string, unknown>, K extends keyof T> = Partial<Record<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 interface 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\n/** Options of calling servicePay */\nexport interface 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 interface 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 interface 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 interface 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 interface ApiKeyCreateOutput {\n __typename?: 'ApiKeyCreateOutput';\n /** Api Key */\n apiKey: Scalars['String']['output'];\n}\n\nexport interface ApiKeyRevokeInput {\n /** Api Key */\n apiKey: Scalars['String']['input'];\n}\n\nexport interface ApiKeyRevokeOutput {\n __typename?: 'ApiKeyRevokeOutput';\n /** Success */\n success: Scalars['Boolean']['output'];\n}\n\nexport interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 enum ConnectionType {\n Email = 'EMAIL',\n Sms = 'SMS',\n}\n\nexport interface CreditApplicationPublicKeyOutput {\n __typename?: 'CreditApplicationPublicKeyOutput';\n /** Public Key byte array encoded as Base64 string. */\n publicKey: Scalars['String']['output'];\n}\n\nexport interface 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 interface 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 interface DaysTimeRanges {\n __typename?: 'DaysTimeRanges';\n friday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n monday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n saturday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n sunday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n thursday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n tuesday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n wednesday?: Maybe<Maybe<PurchaseTimeRange>[]>;\n}\n\nexport interface DaysTimeRangesInput {\n friday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n monday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n saturday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n sunday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n thursday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n tuesday?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n wednesday?: InputMaybe<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 interface 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: VehicleGroup[];\n}\n\nexport interface 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: Scalars['ID']['input'][];\n}\n\nexport interface 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 interface 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 interface 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 interface 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: Scalars['ID']['input'][];\n}\n\nexport interface 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 interface DriversFilterOptions {\n /** Filter on user statuses such as invited, onboarded, deleted, etc. */\n statuses?: InputMaybe<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 interface 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 interface 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 interface 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 interface EntitiesPage {\n __typename?: 'EntitiesPage';\n /** A list of entities */\n data?: Maybe<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 interface 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 interface 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<Maybe<Policy>[]>;\n /** When the entity record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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<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 interface 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 interface 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 interface 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 enum FeeNetworkDesignationType {\n ExtendedNetwork = 'EXTENDED_NETWORK',\n InNetwork = 'IN_NETWORK',\n OutOfNetwork = 'OUT_OF_NETWORK',\n}\n\nexport interface 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 interface 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 interface 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 interface GenerateTokenCoFInput {\n paymentProviderAccountId: Scalars['String']['input'];\n vehicleId: Scalars['String']['input'];\n}\n\nexport interface GenerateTokenCoFOutput {\n __typename?: 'GenerateTokenCoFOutput';\n token: Scalars['String']['output'];\n}\n\nexport interface 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 interface 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 interface 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 interface 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 interface GetCreditStatementsOutput {\n __typename?: 'GetCreditStatementsOutput';\n /** List of statements with the date, due date, and balances */\n data?: Maybe<Maybe<CreditStatement>[]>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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 interface GetInvoicePaymentsOutput {\n __typename?: 'GetInvoicePaymentsOutput';\n /** List of credit payments on a payment provider account using ppaid with an option of sorting. */\n data?: Maybe<Maybe<InvoicePayment>[]>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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<Maybe<Policy>[]>;\n /** When the entity record was last updated. */\n updatedAt?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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<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 username?: Maybe<Scalars['String']['output']>;\n /** Return a list of vehicle groups. */\n vehicleGroups?: Maybe<Maybe<VehicleGroup>[]>;\n}\n\nexport interface HashMap {\n __typename?: 'HashMap';\n key: Scalars['String']['output'];\n value: Scalars['String']['output'];\n}\n\nexport interface HashMapInput {\n key: Scalars['String']['input'];\n value: Scalars['String']['input'];\n}\n\nexport interface 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<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 interface 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<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<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 interface 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 interface 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 interface JobCodeOptionsOutput {\n __typename?: 'JobCodeOptionsOutput';\n optionValues?: Maybe<OptionValues>;\n}\n\nexport interface 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<InputMaybe<Scalars['String']['input']>[]>;\n}\n\nexport interface JobCodeOptionsUpsertOutput {\n __typename?: 'JobCodeOptionsUpsertOutput';\n optionValues?: Maybe<OptionValues>;\n}\n\nexport enum LanguageType {\n En = 'EN',\n Es = 'ES',\n}\n\nexport interface Location {\n __typename?: 'Location';\n latitude?: Maybe<Scalars['Float']['output']>;\n longitude?: Maybe<Scalars['Float']['output']>;\n}\n\nexport interface 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 interface LoginOtpResponse {\n __typename?: 'LoginOtpResponse';\n error?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n}\n\nexport enum LoginType {\n Email = 'EMAIL',\n Phone = 'PHONE',\n Unknown = 'UNKNOWN',\n}\n\nexport interface MachineLogin {\n __typename?: 'MachineLogin';\n access_token?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface MachineLoginInput {\n /** Auth0 Client Id */\n client_id: Scalars['String']['input'];\n /** Auth0 Client Secret */\n client_secret: Scalars['String']['input'];\n}\n\nexport interface MachineTokenizeUserInput {\n email?: InputMaybe<Scalars['String']['input']>;\n /** Auth0 Id */\n externalId: Scalars['String']['input'];\n firstName?: InputMaybe<Scalars['String']['input']>;\n lastName?: InputMaybe<Scalars['String']['input']>;\n organizationId: Scalars['ID']['input'];\n phoneNumber?: InputMaybe<Scalars['String']['input']>;\n username?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface 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 interface 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 /** Create a new entity. */\n entityCreate?: Maybe<Entity>;\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 /** 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\nexport interface MutationPassArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface MutationApiKeyCreateArgs {\n input: ApiKeyCreateInput;\n}\n\nexport interface MutationApiKeyRevokeArgs {\n input: ApiKeyRevokeInput;\n}\n\nexport interface MutationApplyForCreditArgs {\n input?: InputMaybe<ApplyForCreditInput>;\n}\n\nexport interface MutationEntityCreateArgs {\n input: EntityCreateInput;\n}\n\nexport interface MutationGenerateTokenCoFArgs {\n input: GenerateTokenCoFInput;\n}\n\nexport interface MutationGeotabDriveLoginArgs {\n input: GeotabDriveLoginInput;\n}\n\nexport interface MutationJobCodeOptionsUpsertArgs {\n input?: InputMaybe<JobCodeOptionsUpsertInput>;\n}\n\nexport interface MutationMachineLoginArgs {\n input: MachineLoginInput;\n}\n\nexport interface MutationMachineTokenizeUserArgs {\n input?: InputMaybe<MachineTokenizeUserInput>;\n}\n\nexport interface MutationOrganizationCreateArgs {\n input: OrganizationCreateInput;\n}\n\nexport interface MutationPolicyCreateArgs {\n input?: InputMaybe<PolicyCreateInput>;\n}\n\nexport interface MutationPolicyDeleteArgs {\n input?: InputMaybe<PolicyDeleteInput>;\n}\n\nexport interface MutationPolicyManageArgs {\n input?: InputMaybe<PolicyManageInput>;\n}\n\nexport interface MutationProcessCardCoFArgs {\n input: ProcessCardCoFInput;\n}\n\nexport interface MutationProvisionCardArgs {\n input: ProvisionCardInput;\n}\n\nexport interface MutationProvisionStatusUpdateArgs {\n input: ProvisionStatusUpdateInput;\n}\n\nexport interface MutationReportIssueArgs {\n input: ReportIssueInput;\n}\n\nexport interface MutationRiskRuleCreateArgs {\n input?: InputMaybe<RiskRuleCreateInput>;\n}\n\nexport interface MutationRiskRuleDeleteArgs {\n input?: InputMaybe<RiskRuleDeleteInput>;\n}\n\nexport interface MutationRiskRuleUpdateArgs {\n input?: InputMaybe<RiskRuleUpdateInput>;\n}\n\nexport interface MutationServicePayArgs {\n input: ServicePayInput;\n}\n\nexport interface MutationStoreCardCoFArgs {\n input: StoreCardCoFInput;\n}\n\nexport interface MutationTransactionUpdateArgs {\n input?: InputMaybe<TransactionUpdateInput>;\n}\n\nexport interface MutationTtpTokenizationArgs {\n input?: InputMaybe<TtpTokenizationInput>;\n}\n\nexport interface MutationUserActivationCodeSignUpArgs {\n input: UserActivationCodeSignUpInput;\n}\n\nexport interface MutationUserCreateArgs {\n input: UserCreateInput;\n}\n\nexport interface MutationUserDeleteArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface MutationUserForgotPasswordArgs {\n input: UserForgotPasswordInput;\n}\n\nexport interface MutationUserLoginArgs {\n input: UserLoginInput;\n}\n\nexport interface MutationUserLoginOtpRequestArgs {\n input: UserLoginOtpRequestInput;\n}\n\nexport interface MutationUserLoginOtpVerifyArgs {\n input: UserLoginOtpVerifyInput;\n}\n\nexport interface MutationUserLoyaltyAccountAddArgs {\n input: UserLoyaltyAccountAddInput;\n}\n\nexport interface MutationUserLoyaltyAccountDeleteArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface MutationUserNotificationTokenUpdateArgs {\n token: Scalars['String']['input'];\n}\n\nexport interface MutationUserOffboardArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface MutationUserRefreshTokenArgs {\n input: UserRefreshTokenInput;\n}\n\nexport interface MutationUserSetPasswordArgs {\n input: UserSetPasswordInput;\n}\n\nexport interface MutationUserUpdateArgs {\n input: UserUpdateInput;\n}\n\nexport interface MutationValidateTokenCoFArgs {\n input: ValidateTokenCoFInput;\n}\n\nexport interface MutationVehicleCreateArgs {\n input: VehicleCreateInput;\n}\n\nexport interface MutationVehicleFieldsAddArgs {\n input: VehicleFieldsAddInput;\n}\n\nexport interface MutationVehicleFieldsDeleteArgs {\n input?: InputMaybe<Scalars['ID']['input']>;\n}\n\nexport interface MutationVehicleFieldsUpdateArgs {\n input: VehicleFieldsUpdateInput;\n}\n\nexport interface MutationVehicleGroupCreateArgs {\n input: VehicleGroupCreateInput;\n}\n\nexport interface MutationVehicleGroupDeleteArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface MutationVehicleGroupDriversAddArgs {\n input: VehicleGroupDriversAddInput;\n}\n\nexport interface MutationVehicleGroupDriversRemoveArgs {\n input: VehicleGroupDriversRemoveInput;\n}\n\nexport interface MutationVehicleGroupSpendRestrictionsSetArgs {\n input: VehicleGroupSpendRestrictionsSetInput;\n}\n\nexport interface MutationVehicleGroupUpdateArgs {\n input: VehicleGroupUpdateInput;\n}\n\nexport interface MutationVehicleGroupVehiclesAddArgs {\n input: VehicleGroupVehiclesAddInput;\n}\n\nexport interface MutationVehicleGroupVehiclesRemoveArgs {\n input: VehicleGroupVehiclesRemoveInput;\n}\n\nexport interface MutationVehicleUpdateArgs {\n input: VehicleUpdateInput;\n}\n\nexport interface 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 interface 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<Maybe<Scalars['String']['output']>[]>;\n}\n\n/** Information on the organization. */\nexport interface 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<Maybe<Policy>[]>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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 interface 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 interface PageRequest {\n limit?: InputMaybe<Scalars['Int']['input']>;\n offset?: InputMaybe<Scalars['Int']['input']>;\n}\n\nexport interface 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 Discover = 'DISCOVER',\n ExternalCof = 'EXTERNAL_COF',\n I2C = 'I2C',\n Voyager = 'VOYAGER',\n}\n\nexport interface 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 interface 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 interface 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 interface 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 interface PolicyCreateOutput {\n __typename?: 'PolicyCreateOutput';\n countAffected?: Maybe<Scalars['Int']['output']>;\n policy?: Maybe<Policy>;\n success?: Maybe<Scalars['Boolean']['output']>;\n}\n\nexport interface PolicyDeleteInput {\n /** Policy id to delete a specific policy. */\n policyId: Scalars['String']['input'];\n}\n\nexport interface PolicyDeleteOutput {\n __typename?: 'PolicyDeleteOutput';\n countAffected?: Maybe<Scalars['Int']['output']>;\n success?: Maybe<Scalars['Boolean']['output']>;\n}\n\nexport interface PolicyManageInput {\n /** Add or update a policy on a policy id, entity id, or vehicle group id. */\n applyPolicies?: InputMaybe<InputMaybe<ApplyPolicyInput>[]>;\n /** Remove a policy using a policy id, entity id, or vehicle group id. */\n revokePolicies?: InputMaybe<InputMaybe<RevokePolicyInput>[]>;\n}\n\nexport interface PolicyManageOutput {\n __typename?: 'PolicyManageOutput';\n /** List of policies that were added or updated. */\n applyResponses?: Maybe<Maybe<PolicyActionResponse>[]>;\n /** List of policies that were revoked. */\n revokeResponses?: Maybe<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 interface 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 interface ProcessCardCoFInput {\n id: Scalars['String']['input'];\n paymentProviderAccountId: Scalars['String']['input'];\n vehicleId: Scalars['String']['input'];\n}\n\nexport interface 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 interface 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}\n\nexport interface ProvisionCardInput {\n deviceAccountId: Scalars['String']['input'];\n googleHardwareId?: InputMaybe<Scalars['String']['input']>;\n intermediateCertificate?: InputMaybe<Scalars['String']['input']>;\n leafCertificate?: InputMaybe<Scalars['String']['input']>;\n nonceSignature?: InputMaybe<Scalars['String']['input']>;\n nonceValue?: InputMaybe<Scalars['String']['input']>;\n paymentProviderAccountId: Scalars['String']['input'];\n walletId?: InputMaybe<Scalars['String']['input']>;\n walletType: DigitalWallet;\n}\n\nexport interface 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 interface 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 interface 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 interface 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 interface PurchaseTimeRange {\n __typename?: 'PurchaseTimeRange';\n from?: Maybe<Scalars['String']['output']>;\n to?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface PurchaseTimeRangeInput {\n from?: InputMaybe<Scalars['String']['input']>;\n to?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface 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<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\nexport interface QueryPassArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryCreditPaymentsListArgs {\n input: GetInvoicePaymentsInput;\n}\n\nexport interface QueryCreditStatementDownloadArgs {\n input: CreditStatementDownloadInput;\n}\n\nexport interface QueryCreditStatementsListArgs {\n input?: InputMaybe<GetCreditStatementsInput>;\n}\n\nexport interface QueryDriverReportDownloadArgs {\n input?: InputMaybe<DriverReportDownloadInput>;\n}\n\nexport interface QueryEntitiesFilterArgs {\n input: EntitiesFilterInput;\n}\n\nexport interface QueryEntityArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryEntityAccountInfoArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryEntityAccountsInfoArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryJobCodeOptionsArgs {\n input?: InputMaybe<JobCodeOptionsInput>;\n}\n\nexport interface QueryReportsDownloadArgs {\n input?: InputMaybe<ReportsDownloadInput>;\n}\n\nexport interface QueryRiskRuleGetArgs {\n input?: InputMaybe<RiskRuleGetInput>;\n}\n\nexport interface QueryRiskRulesListArgs {\n input?: InputMaybe<RiskRulesListInput>;\n}\n\nexport interface QueryRolePermissionsArgs {\n input: RolePermissionsInput;\n}\n\nexport interface QuerySearchArgs {\n input: SearchInput;\n}\n\nexport interface QueryServiceLocationsFilterArgs {\n input?: InputMaybe<ServiceLocationsFilterInput>;\n}\n\nexport interface QuerySpendingInsightsArgs {\n input: SpendingInsightsInput;\n}\n\nexport interface QueryTransactionArgs {\n input: Scalars['ID']['input'];\n}\n\nexport interface QueryTransactionReportDownloadArgs {\n input?: InputMaybe<TransactionReportDownloadInput>;\n}\n\nexport interface QueryTransactionsFilterArgs {\n input: TransactionsFilterInput;\n}\n\nexport interface QueryTransactionsInsightsArgs {\n input: TransactionsInsightsInput;\n}\n\nexport interface QueryTransactionsOverviewArgs {\n input: TransactionsOverviewInput;\n}\n\nexport interface QueryTransactionsStatsArgs {\n input: TransactionsStatsInput;\n}\n\nexport interface QueryUserArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryUsersFilterArgs {\n input: UsersFilterInput;\n}\n\nexport interface QueryVehicleArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryVehicleFieldsArgs {\n input: VehicleFieldsInput;\n}\n\nexport interface QueryVehicleGroupArgs {\n id: Scalars['ID']['input'];\n}\n\nexport interface QueryVehicleGroupsFilterArgs {\n input: VehicleGroupsFilterInput;\n}\n\nexport interface QueryVehiclesFilterArgs {\n input: VehiclesFilterInput;\n}\n\nexport interface QueryVehiclesFilterByLocationArgs {\n input: VehiclesFilterByLocationInput;\n}\n\nexport interface QueryVehiclesWithTelematicsNotEnrolledArgs {\n input: VehiclesWithTelematicsNotEnrolledInput;\n}\n\nexport interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface RiskRuleDeleteInput {\n id?: InputMaybe<Scalars['String']['input']>;\n}\n\n/** Specify either id or name to get risk rule. */\nexport interface RiskRuleGetInput {\n id?: InputMaybe<Scalars['String']['input']>;\n name?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface RiskRuleGetOutput {\n __typename?: 'RiskRuleGetOutput';\n data?: Maybe<RiskRule>;\n}\n\nexport interface 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 interface RiskRulesListInput {\n page?: InputMaybe<PageRequest>;\n vehicleGroupId?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface RiskRulesListOutput {\n __typename?: 'RiskRulesListOutput';\n data?: Maybe<Maybe<RiskRule>[]>;\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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: Permission[];\n}\n\nexport interface 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 interface 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<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 interface 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<InputMaybe<SearchObjectType>[]>;\n /** User status such as onboarded, invited, deleted, etc. */\n userStatuses?: InputMaybe<InputMaybe<UserStatus>[]>;\n /** Vehicle group id to filter on. */\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n}\n\nexport interface 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 interface SearchOutput {\n __typename?: 'SearchOutput';\n /** Returns a list of items for the search result. */\n data?: Maybe<Maybe<SearchResult>[]>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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 interface SearchSortOptions {\n direction?: InputMaybe<Direction>;\n orderBy?: InputMaybe<InputMaybe<Scalars['String']['input']>[]>;\n}\n\nexport interface ServiceFuelInput {\n additionalInfo?: InputMaybe<AdditionalServicePayInfoInput>;\n /** Pump number of the given gas station. */\n pumpNumber: Scalars['Int']['input'];\n}\n\nexport interface 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<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<Maybe<ServiceType>[]>;\n /** Is Tap To Pay enabled? */\n ttpEnabled?: Maybe<Scalars['Boolean']['output']>;\n updatedAt?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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 interface 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 interface ServiceLocationsFilterOptions {\n /** Brand/name of the service location. */\n brand?: InputMaybe<Scalars['String']['input']>;\n /** List of brands (case-insensitive). */\n brands?: InputMaybe<InputMaybe<Scalars['String']['input']>[]>;\n feeNetworkDesignations?: InputMaybe<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<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 /** 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 interface ServiceLocationsPage {\n __typename?: 'ServiceLocationsPage';\n /** List of available stations from a given locations */\n data?: Maybe<Maybe<ServiceLocation>[]>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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 interface 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 /** For fallback transactions(both Physical Card and TTP) at DC stations. */\n openloopFallback?: InputMaybe<Scalars['Boolean']['input']>;\n /** Latitude and longitude. */\n position: PositionInput;\n requestId: Scalars['ID']['input'];\n vehicleId: Scalars['ID']['input'];\n}\n\nexport interface 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 interface 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 interface 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 interface 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<Maybe<PurchaseTimeRange>[]>;\n}\n\nexport interface SpendRestrictionsDayInput {\n isEnabled: Scalars['Boolean']['input'];\n /** Defines a list of to and from times that a vehicle can purchase at. */\n purchaseTimes?: InputMaybe<InputMaybe<PurchaseTimeRangeInput>[]>;\n}\n\n/** Specifies if which days are enabled and for which times. */\nexport interface 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 interface 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 interface 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 interface SpendingInsightsInput {\n entityId: Scalars['ID']['input'];\n periodType?: InputMaybe<TimePeriodType>;\n utcTimeFrom: Scalars['String']['input'];\n utcTimeTo: Scalars['String']['input'];\n}\n\nexport interface SpendingInsightsOutput {\n __typename?: 'SpendingInsightsOutput';\n driverSpending?: Maybe<Maybe<DriverSpending>[]>;\n driverSpendingInsights?: Maybe<Scalars['String']['output']>;\n gasPriceAverage?: Maybe<Scalars['String']['output']>;\n gasPriceInsights?: Maybe<Scalars['String']['output']>;\n gasPriceSeries?: Maybe<Maybe<HashMap>[]>;\n totalCurrentPeriod: Scalars['String']['output'];\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n totalSeries?: Maybe<Maybe<HashMap>[]>;\n vehicleSpending?: Maybe<Maybe<VehicleSpending>[]>;\n vehicleSpendingInsights?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface SpendingOverview {\n __typename?: 'SpendingOverview';\n totalByServiceCurrentPeriod?: Maybe<Maybe<HashMap>[]>;\n totalCurrentPeriod: Scalars['String']['output'];\n totalPreviousPeriod?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface StoreCardCoFInput {\n /** Encrypted Card info byte array encoded as Base64 string. */\n encryptedCard: Scalars['String']['input'];\n token: Scalars['String']['input'];\n}\n\nexport interface StoreCardCoFOutput {\n __typename?: 'StoreCardCoFOutput';\n id: Scalars['String']['output'];\n}\n\nexport interface StringArrayHashMapInput {\n key: Scalars['String']['input'];\n value: 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 interface 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<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<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 interface TransactionFilterAdditionalOptions {\n generatePdfReceipt?: InputMaybe<Scalars['Boolean']['input']>;\n}\n\nexport interface 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<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 interface 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 interface TransactionPage {\n __typename?: 'TransactionPage';\n /** List of transactions. */\n data?: Maybe<Transaction>;\n requestId?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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 interface 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 interface 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<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 interface TransactionStatusField {\n __typename?: 'TransactionStatusField';\n response?: Maybe<TransactionStatusResponse>;\n}\n\nexport interface TransactionStatusResponse {\n __typename?: 'TransactionStatusResponse';\n kind?: Maybe<Scalars['String']['output']>;\n stringValue?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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 interface 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 interface TransactionUpdateOptionsInput {\n jobCode: Scalars['String']['input'];\n}\n\nexport interface 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 interface 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<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<InputMaybe<Scalars['String']['input']>[]>;\n vehicleGroupExternalId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n vehicleGroupIds?: InputMaybe<InputMaybe<Scalars['String']['input']>[]>;\n vehicleId?: InputMaybe<Scalars['String']['input']>;\n vehicleIds?: InputMaybe<InputMaybe<Scalars['String']['input']>[]>;\n vin?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface 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 interface TransactionsInsightsInput {\n filter: TransactionsInsightsFilterOptions;\n page: PageRequest;\n sortOptions?: InputMaybe<TransactionsSortOptions>;\n}\n\nexport interface TransactionsInsightsPage {\n __typename?: 'TransactionsInsightsPage';\n data?: Maybe<Maybe<TransactionInsight>[]>;\n meta?: Maybe<PageMeta>;\n}\n\nexport interface TransactionsOverviewInput {\n entityId: Scalars['ID']['input'];\n periodType?: InputMaybe<TimePeriodType>;\n utcTimeFrom: Scalars['String']['input'];\n utcTimeTo: Scalars['String']['input'];\n}\n\nexport interface TransactionsOverviewOutput {\n __typename?: 'TransactionsOverviewOutput';\n exceptions?: Maybe<Maybe<HashMap>[]>;\n spending?: Maybe<SpendingOverview>;\n vehicles?: Maybe<VehiclesOverviewOutput>;\n}\n\nexport interface TransactionsPage {\n __typename?: 'TransactionsPage';\n /** List of transactions. */\n data?: Maybe<Maybe<Transaction>[]>;\n /** The pagination used to fulfill the response. */\n meta?: Maybe<PageMeta>;\n}\n\n/** Options to sort on TransactionsFilter */\nexport interface 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 interface 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 interface 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 interface TtpTokenizationInput {\n deviceId: Scalars['String']['input'];\n requestId?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface TtpTokenizationOutput {\n __typename?: 'TtpTokenizationOutput';\n requestId?: Maybe<Scalars['String']['output']>;\n success?: Maybe<Scalars['Boolean']['output']>;\n}\n\nexport interface 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<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 username?: Maybe<Scalars['String']['output']>;\n /** Return a list of vehicle groups. */\n vehicleGroups?: Maybe<Maybe<VehicleGroup>[]>;\n}\n\nexport interface UserActivationCodeSignUpInput {\n activationCode: Scalars['String']['input'];\n firstName: Scalars['String']['input'];\n lastName: Scalars['String']['input'];\n phoneNumber: Scalars['String']['input'];\n}\n\nexport interface UserAdditionalInfo {\n __typename?: 'UserAdditionalInfo';\n isCorporatePhone?: Maybe<Scalars['Boolean']['output']>;\n}\n\nexport interface UserCreateInput {\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 /** If the phone number is a corporate phone. */\n isCorporatePhone?: InputMaybe<Scalars['Boolean']['input']>;\n lastName: Scalars['String']['input'];\n login?: InputMaybe<Scalars['String']['input']>;\n /** Email or phone */\n loginType?: InputMaybe<LoginType>;\n middleName?: InputMaybe<Scalars['String']['input']>;\n organizationId?: InputMaybe<Scalars['ID']['input']>;\n phoneNumber: Scalars['String']['input'];\n /** Role type of user such as Driver, Manager, or Admin. */\n role: RoleType;\n}\n\nexport interface UserForgotPasswordInput {\n username: Scalars['String']['input'];\n}\n\nexport interface 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 username: Scalars['String']['input'];\n}\n\nexport interface 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 phone_number?: InputMaybe<Scalars['String']['input']>;\n /** Code or Link */\n send: OtpType;\n}\n\nexport interface 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 interface 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 interface UserLoyaltyAccountAddInput {\n loyaltyId: Scalars['String']['input'];\n loyaltyPhone?: InputMaybe<Scalars['String']['input']>;\n program: Scalars['String']['input'];\n}\n\nexport interface 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 interface UserNotificationTokenUpdateOutput {\n __typename?: 'UserNotificationTokenUpdateOutput';\n error?: Maybe<Scalars['Boolean']['output']>;\n message?: Maybe<Scalars['String']['output']>;\n}\n\nexport interface 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 interface 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 interface UserRoleInput {\n entityId: Scalars['ID']['input'];\n roleId?: InputMaybe<Scalars['ID']['input']>;\n roleName?: InputMaybe<Scalars['String']['input']>;\n}\n\nexport interface 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 interface UserUpdateInput {\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 /** Role type of user such as Driver, Manager, or Admin. */\n role: RoleType;\n}\n\nexport interface 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 interface UsersFilterOptions {\n entityId?: InputMaybe<Scalars['ID']['input']>;\n /** Auth0 Id, if specified, will only apply filter using externalId */\n externalId?: InputMaybe<Scalars['String']['input']>;\n /** Role type of user such as Driver, Manager, or Admin. */\n role?: InputMaybe<RoleType>;\n roles?: InputMaybe<InputMaybe<RoleType>[]>;\n statuses?: InputMaybe<InputMaybe<UserStatus>[]>;\n username?: InputMaybe<Scalars['String']['input']>;\n vehicleGroupId?: InputMaybe<Scalars['ID']['input']>;\n}\n\nexport interface UsersPage {\n __typename?: 'UsersPage';\n /** Returns a list of users. */\n data?: Maybe<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 interface 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 interface ValidateTokenCoFInput {\n token: Scalars['String']['input'];\n}\n\nexport interface 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 interface 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<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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface VehicleFieldsDisplayContextsInput {\n console?: InputMaybe<Scalars['Boolean']['input']>;\n statementReport?: InputMaybe<Scalars['Boolean']['input']>;\n transactionReport?: InputMaybe<Scalars['Boolean']['input']>;\n}\n\nexport interface 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 interface VehicleFieldsPage {\n __typename?: 'VehicleFieldsPage';\n data?: Maybe<Maybe<VehicleFieldsConfiguration>[]>;\n /** The pagination used to fulfill the response */\n meta?: Maybe<PageMeta>;\n}\n\nexport interface 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 interface 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 interface 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<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 interface 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<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<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<InputMaybe<Scalars['ID']['input']>[]>;\n}\n\nexport interface VehicleGroupDriversAddInput {\n drivers: Scalars['ID']['input'][];\n vehicleGroupId: Scalars['ID']['input'];\n}\n\nexport interface VehicleGroupDriversRemoveInput {\n drivers: Scalars['ID']['input'][];\n vehicleGroupId: Scalars['ID']['input'];\n}\n\nexport interface 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 interface 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 interface 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<InputMaybe<Scalars['String']['input']>[]>;\n /** Update the name on a vehicle group. */\n name: Scalars['String']['input'];\n}\n\nexport interface VehicleGroupVehiclesAddInput {\n vehicleGroupId: Scalars['ID']['input'];\n vehicles: Scalars['ID']['input'][];\n}\n\nexport interface VehicleGroupVehiclesRemoveInput {\n vehicleGroupId: Scalars['ID']['input'];\n vehicles: Scalars['ID']['input'][];\n}\n\nexport interface 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 interface 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 interface VehicleGroupsPage {\n __typename?: 'VehicleGroupsPage';\n /** Returns a list of vehicle groups. */\n data?: Maybe<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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface 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 interface VehicleType {\n __typename?: 'VehicleType';\n /** Custom Fields for this Vehicle */\n customFields?: Maybe<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 interface VehicleUpdateInput {\n /** Custom Fields for Vehicle */\n customFields?: InputMaybe<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 interface 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 interface 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 interface 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 interface 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 interface VehiclesOnboardInput {\n /** Custom Fields for Vehicle */\n customFields?: InputMaybe<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 interface VehiclesOnboardInputList {\n vehicles?: InputMaybe<InputMaybe<VehiclesOnboardInput>[]>;\n}\n\n/** Output of the vehicles onboard. */\nexport interface 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 interface VehiclesOnboardOutputList {\n __typename?: 'VehiclesOnboardOutputList';\n vehicles?: Maybe<Maybe<VehiclesOnboardOutput>[]>;\n}\n\nexport interface VehiclesOverviewOutput {\n __typename?: 'VehiclesOverviewOutput';\n onboarded?: Maybe<Scalars['Int']['output']>;\n transacting?: Maybe<Scalars['Int']['output']>;\n transactingByService?: Maybe<Maybe<HashMap>[]>;\n}\n\nexport interface VehiclesPage {\n __typename?: 'VehiclesPage';\n /** List of vehicles for vehiclesFilter. */\n data?: Maybe<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 interface 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 interface 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 interface VehiclesWithTelematicsNotEnrolledOutput {\n __typename?: 'VehiclesWithTelematicsNotEnrolledOutput';\n vehicles?: Maybe<Maybe<Vehicle>[]>;\n}\n\nexport interface 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 interface 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\nexport interface ApiKeyCreateMutation { __typename?: 'Mutation'; apiKeyCreate?: { __typename?: 'ApiKeyCreateOutput'; apiKey: string; } | null; }\n\nexport type OrganizationCreateMutationVariables = Exact<{\n input: OrganizationCreateInput;\n}>;\n\nexport interface 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\nexport interface 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 MachineTokenizeUserMutationVariables = Exact<{\n input?: InputMaybe<MachineTokenizeUserInput>;\n}>;\n\nexport interface MachineTokenizeUserMutation { __typename?: 'Mutation'; machineTokenizeUser?: { __typename?: 'MachineUserToken'; access_token: string; expires_in: number; } | null; }\n\nexport type ServicePayMutationVariables = Exact<{\n input: ServicePayInput;\n}>;\n\nexport interface ServicePayMutation { __typename?: 'Mutation'; servicePay?: { __typename?: 'ServicePayOutput'; requestId: string; transactionId: string; } | null; }\n\nexport type UserCreateMutationVariables = Exact<{\n input: UserCreateInput;\n}>;\n\nexport interface 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 VehicleGroupCreateMutationVariables = Exact<{\n input: VehicleGroupCreateInput;\n}>;\n\nexport interface 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 VehicleGroupDriversAddMutationVariables = Exact<{\n input: VehicleGroupDriversAddInput;\n}>;\n\nexport interface 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 VehicleGroupVehiclesAddMutationVariables = Exact<{\n input: VehicleGroupVehiclesAddInput;\n}>;\n\nexport interface 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 VehiclesOnboardMutationVariables = Exact<{\n input: VehiclesOnboardInputList;\n}>;\n\nexport interface VehiclesOnboardMutation { __typename?: 'Mutation'; vehiclesOnboard?: { __typename?: 'VehiclesOnboardOutputList'; vehicles?: ({ __typename?: 'VehiclesOnboardOutput'; id?: string | null; vin?: string | null; vehicleGroupId: string; success?: boolean | null; error?: string | null; } | null)[] | null; } | null; }\n\nexport const ApiKeyCreateDocument: DocumentNode = gql`\n mutation apiKeyCreate($input: ApiKeyCreateInput!) {\n apiKeyCreate(input: $input) {\n apiKey\n }\n}\n `;\nexport const OrganizationCreateDocument: DocumentNode = 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: DocumentNode = 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 MachineTokenizeUserDocument: DocumentNode = gql`\n mutation machineTokenizeUser($input: MachineTokenizeUserInput) {\n machineTokenizeUser(input: $input) {\n access_token\n expires_in\n }\n}\n `;\nexport const ServicePayDocument: DocumentNode = gql`\n mutation servicePay($input: ServicePayInput!) {\n servicePay(input: $input) {\n requestId\n transactionId\n }\n}\n `;\nexport const UserCreateDocument: DocumentNode = 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 VehicleGroupCreateDocument: DocumentNode = 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 VehicleGroupDriversAddDocument: DocumentNode = 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 VehicleGroupVehiclesAddDocument: DocumentNode = 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 VehiclesOnboardDocument: DocumentNode = 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\nconst defaultWrapper: SdkFunctionWrapper = (action, _operationName, _operationType, _variables) => action();\n\nexport function getProdSdk(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 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 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 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 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 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 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 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 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 ProdSdk = ReturnType<typeof getProdSdk>;\n","import { GraphQLClient } from 'graphql-request';\nimport { getIntSdk } from './generated/int/sdk';\nimport { getProdSdk } from './generated/prod/sdk';\n\nexport interface ElementPayClientConfig {\n endpoint: string;\n apiKey: string;\n environment?: 'int' | 'prod';\n}\n\nexport function createElementPayClient(config: ElementPayClientConfig): ReturnType<typeof getIntSdk> | ReturnType<typeof getProdSdk> {\n const client = new GraphQLClient(config.endpoint, {\n headers: {\n 'x-api-key': config.apiKey,\n 'Content-Type': 'application/json',\n },\n });\n\n if (config.environment === 'int') {\n return getIntSdk(client);\n }\n return getProdSdk(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 } 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","import type { FuelSupplier } from '@autofleet/common-types/lib/pit-stop';\nimport type { ServiceLocationEvent } from '../pubSub/interfaces';\nimport { PROVIDER_BRAND_NAME_TO_AUTOFLEET_NAME } from './consts';\n\nexport const serviceLocationEventToFuelSupplier = ({\n serviceLocationEvent,\n}: {\n serviceLocationEvent: ServiceLocationEvent;\n}): Partial<FuelSupplier> => {\n const serviceLocation = serviceLocationEvent.ServiceLocation as Exclude<ServiceLocationEvent['ServiceLocation'], Buffer | string>;\n const { address, geocoded } = 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 };\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":"mnBAynHA,MAAaA,EAAqC,EAAA,OAAG;;;;;;MAOxCC,EAAsC,EAAA,OAAG;;;;;;;;;;;MAYzCC,EAA2C,EAAA,OAAG;;;;;;;;;;;;;;;;;;;;MAqB9CC,EAAqC,EAAA,OAAG;;;;;;;;;;;;;;MAexCC,EAA4C,EAAA,OAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA0C/CC,EAA4C,EAAA,OAAG;;;;;;;MAQ/CC,EAAmC,EAAA,OAAG;;;;;;;MAQtCC,EAAmC,EAAA,OAAG;;;;;;;;;;;;;;;;;;;;MAqBtCC,EAA2C,EAAA,OAAG;;;;;;;;;;;;;;MAe9CC,EAA+C,EAAA,OAAG;;;;;;;;;;;;;MAclDC,EAAgD,EAAA,OAAG;;;;;;;;;;;;;MAcnDC,EAAwC,EAAA,OAAG;;;;;;;;;;;;MAgBlDC,GAAsC,EAAQ,EAAgB,EAAgB,IAAe,GAAQ,CAE3G,SAAgB,EAAU,EAAuB,EAAkCC,EAAgB,CACjG,MAAO,CACL,aAAa,EAA0C,EAA8C,EAA+D,CAClK,OAAO,EAAY,GAAyB,EAAO,QAA8B,CAAE,SAAUC,EAAsB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,eAAgB,WAAY,EAAU,EAElP,cAAc,EAA2C,EAA8C,EAAgE,CACrK,OAAO,EAAY,GAAyB,EAAO,QAA+B,CAAE,SAAU,EAAuB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,gBAAiB,WAAY,EAAU,EAErP,mBAAmB,EAAgD,EAA8C,EAAqE,CACpL,OAAO,EAAY,GAAyB,EAAO,QAAoC,CAAE,SAAUC,EAA4B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,qBAAsB,WAAY,EAAU,EAEpQ,aAAa,EAA0C,EAA8C,EAA+D,CAClK,OAAO,EAAY,GAAyB,EAAO,QAA8B,CAAE,SAAUC,EAAsB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,eAAgB,WAAY,EAAU,EAElP,oBAAoB,EAA+C,EAA8C,EAAmE,CAClL,OAAO,EAAY,GAAyB,EAAO,QAAkC,CAAE,SAAU,EAA6B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,sBAAuB,QAAS,EAAU,EAEjQ,oBAAoB,EAAkD,EAA8C,EAAsE,CACxL,OAAO,EAAY,GAAyB,EAAO,QAAqC,CAAE,SAAUC,EAA6B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,sBAAuB,WAAY,EAAU,EAEvQ,WAAW,EAAwC,EAA8C,EAA6D,CAC5J,OAAO,EAAY,GAAyB,EAAO,QAA4B,CAAE,SAAUC,EAAoB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,aAAc,WAAY,EAAU,EAE5O,WAAW,EAAwC,EAA8C,EAA6D,CAC5J,OAAO,EAAY,GAAyB,EAAO,QAA4B,CAAE,SAAUC,EAAoB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,aAAc,WAAY,EAAU,EAE5O,mBAAmB,EAAgD,EAA8C,EAAqE,CACpL,OAAO,EAAY,GAAyB,EAAO,QAAoC,CAAE,SAAUC,EAA4B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,qBAAsB,WAAY,EAAU,EAEpQ,uBAAuB,EAAoD,EAA8C,EAAyE,CAChM,OAAO,EAAY,GAAyB,EAAO,QAAwC,CAAE,SAAUC,EAAgC,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,yBAA0B,WAAY,EAAU,EAEhR,wBAAwB,EAAqD,EAA8C,EAA0E,CACnM,OAAO,EAAY,GAAyB,EAAO,QAAyC,CAAE,SAAUC,EAAiC,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,0BAA2B,WAAY,EAAU,EAEnR,gBAAgB,EAA6C,EAA8C,EAAkE,CAC3K,OAAO,EAAY,GAAyB,EAAO,QAAiC,CAAE,SAAUC,EAAyB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,kBAAmB,WAAY,EAAU,EAE5P,CC3WH,MAAaC,EAAqC,EAAA,OAAG;;;;;;MAOxCC,EAA2C,EAAA,OAAG;;;;;;;;;;;;;;;;;;;;MAqB9CC,EAAqC,EAAA,OAAG;;;;;;;;;;;;;;MAexCC,EAA4C,EAAA,OAAG;;;;;;;MAQ/CC,EAAmC,EAAA,OAAG;;;;;;;MAQtCC,EAAmC,EAAA,OAAG;;;;;;;;;;;;;;;;;;;;MAqBtCC,EAA2C,EAAA,OAAG;;;;;;;;;;;;;;MAe9CC,EAA+C,EAAA,OAAG;;;;;;;;;;;;;MAclDC,EAAgD,EAAA,OAAG;;;;;;;;;;;;;MAcnDC,EAAwC,EAAA,OAAG;;;;;;;;;;;;MAgBlDC,GAAsC,EAAQ,EAAgB,EAAgB,IAAe,GAAQ,CAE3G,SAAgB,EAAW,EAAuB,EAAkC,EAAgB,CAClG,MAAO,CACL,aAAa,EAA0C,EAA8C,EAA+D,CAClK,OAAO,EAAY,GAAyB,EAAO,QAA8B,CAAE,SAAU,EAAsB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,eAAgB,WAAY,EAAU,EAElP,mBAAmB,EAAgD,EAA8C,EAAqE,CACpL,OAAO,EAAY,GAAyB,EAAO,QAAoC,CAAE,SAAU,EAA4B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,qBAAsB,WAAY,EAAU,EAEpQ,aAAa,EAA0C,EAA8C,EAA+D,CAClK,OAAO,EAAY,GAAyB,EAAO,QAA8B,CAAE,SAAU,EAAsB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,eAAgB,WAAY,EAAU,EAElP,oBAAoB,EAAkD,EAA8C,EAAsE,CACxL,OAAO,EAAY,GAAyB,EAAO,QAAqC,CAAE,SAAU,EAA6B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,sBAAuB,WAAY,EAAU,EAEvQ,WAAW,EAAwC,EAA8C,EAA6D,CAC5J,OAAO,EAAY,GAAyB,EAAO,QAA4B,CAAE,SAAU,EAAoB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,aAAc,WAAY,EAAU,EAE5O,WAAW,EAAwC,EAA8C,EAA6D,CAC5J,OAAO,EAAY,GAAyB,EAAO,QAA4B,CAAE,SAAU,EAAoB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,aAAc,WAAY,EAAU,EAE5O,mBAAmB,EAAgD,EAA8C,EAAqE,CACpL,OAAO,EAAY,GAAyB,EAAO,QAAoC,CAAE,SAAU,EAA4B,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,qBAAsB,WAAY,EAAU,EAEpQ,uBAAuB,EAAoD,EAA8C,EAAyE,CAChM,OAAO,EAAY,GAAyB,EAAO,QAAwC,CAAE,SAAU,EAAgC,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,yBAA0B,WAAY,EAAU,EAEhR,wBAAwB,EAAqD,EAA8C,EAA0E,CACnM,OAAO,EAAY,GAAyB,EAAO,QAAyC,CAAE,SAAU,EAAiC,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,0BAA2B,WAAY,EAAU,EAEnR,gBAAgB,EAA6C,EAA8C,EAAkE,CAC3K,OAAO,EAAY,GAAyB,EAAO,QAAiC,CAAE,SAAU,EAAyB,YAAW,eAAgB,CAAE,GAAG,EAAgB,GAAG,EAAuB,CAAE,SAAQ,CAAC,CAAE,kBAAmB,WAAY,EAAU,EAE5P,CC1pHH,SAAgB,EAAuB,EAA8F,CACnI,IAAM,EAAS,IAAIC,EAAAA,cAAc,EAAO,SAAU,CAChD,QAAS,CACP,YAAa,EAAO,OACpB,eAAgB,mBACjB,CACF,CAAC,CAKF,OAHI,EAAO,cAAgB,MAClB,EAAU,EAAO,CAEnB,EAAW,EAAO,CClB3B,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,CCHY,GAAsC,CACjD,0BAG2B,CAC3B,IAAM,EAAkB,EAAqB,gBACvC,CAAE,UAAS,YAAa,EAE9B,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,WACvD,ECpBU,EAA8C,GAElD,EAAmC,CAAE,qBADf,EAAsD,EAAQ,CACzB,CAAC"}
|