@autofleet/element-pay 1.1.2 → 1.1.3
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 +140 -28
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +774 -612
- package/lib/index.d.ts +775 -612
- package/lib/index.js +140 -28
- package/lib/index.js.map +1 -1
- package/package.json +2 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { GraphQLClient
|
|
1
|
+
import { GraphQLClient } from "graphql-request";
|
|
2
2
|
import { FuelSupplier } from "@autofleet/common-types/lib/pit-stop";
|
|
3
3
|
|
|
4
4
|
//#region src/generated/int/sdk.d.ts
|
|
5
5
|
type Maybe$1<T> = T | null;
|
|
6
6
|
type InputMaybe$1<T> = Maybe$1<T>;
|
|
7
|
-
type Exact$1<T extends
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
type Exact$1<T extends {
|
|
8
|
+
[key: string]: unknown;
|
|
9
|
+
}> = { [K in keyof T]: T[K] };
|
|
10
|
+
type Scalars$1 = {
|
|
11
11
|
ID: {
|
|
12
12
|
input: string;
|
|
13
13
|
output: string;
|
|
@@ -36,160 +36,154 @@ interface Scalars$1 {
|
|
|
36
36
|
input: any;
|
|
37
37
|
output: any;
|
|
38
38
|
};
|
|
39
|
-
}
|
|
39
|
+
};
|
|
40
40
|
declare enum AccountType {
|
|
41
41
|
Credit = "CREDIT",
|
|
42
42
|
PrePaid = "PRE_PAID",
|
|
43
43
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
/** Organization Id */
|
|
65
|
-
organizationId: Scalars$1["ID"]["input"];
|
|
44
|
+
type AdditionalInfoInput$1 = {
|
|
45
|
+
contactPhoneNumber?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
46
|
+
isCorporatePhone?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
47
|
+
};
|
|
48
|
+
type AddressInput$1 = {
|
|
49
|
+
city: Scalars$1['String']['input'];
|
|
50
|
+
country: Scalars$1['String']['input'];
|
|
51
|
+
line1: Scalars$1['String']['input'];
|
|
52
|
+
line2?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
53
|
+
state: Scalars$1['String']['input'];
|
|
54
|
+
zip: Scalars$1['String']['input'];
|
|
55
|
+
};
|
|
56
|
+
type ApiKeyCreateInput$1 = {
|
|
57
|
+
entityId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
58
|
+
name: Scalars$1['String']['input'];
|
|
59
|
+
organizationId: Scalars$1['ID']['input'];
|
|
60
|
+
};
|
|
61
|
+
declare enum CardNetwork$1 {
|
|
62
|
+
Mastercard = "MASTERCARD",
|
|
63
|
+
Visa = "VISA",
|
|
66
64
|
}
|
|
67
|
-
|
|
68
|
-
/** The address of the organization */
|
|
65
|
+
type ClientOnboardInput = {
|
|
69
66
|
address: AddressInput$1;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
unitsId?: InputMaybe$1<Scalars$1["String"]["input"]>;
|
|
85
|
-
/** If enabled, syncs telematics data for a vehicle and removes ability to edit that vehicle */
|
|
86
|
-
useTspMetadata?: InputMaybe$1<Scalars$1["Boolean"]["input"]>;
|
|
67
|
+
checkLocationOverride?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
68
|
+
costFactorEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
69
|
+
email?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
70
|
+
externalId: Scalars$1['String']['input'];
|
|
71
|
+
integratorId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
72
|
+
name: Scalars$1['String']['input'];
|
|
73
|
+
onboardedBy?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
74
|
+
taxId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
75
|
+
unitsId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
76
|
+
useTspMetadata?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
77
|
+
};
|
|
78
|
+
declare enum DigitalWallet$1 {
|
|
79
|
+
DigitalWalletAndroid = "DIGITAL_WALLET_ANDROID",
|
|
80
|
+
DigitalWalletApple = "DIGITAL_WALLET_APPLE",
|
|
87
81
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
/** To optionally store your own id to map between different systems. */
|
|
92
|
-
externalId?: InputMaybe$1<Scalars$1["String"]["input"]>;
|
|
93
|
-
/** How the account is funded: ACH or Parent. */
|
|
82
|
+
type EntityCreateInput$1 = {
|
|
83
|
+
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
84
|
+
externalId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
94
85
|
funding?: InputMaybe$1<FundingSource$1>;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
86
|
+
hasFinance?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
87
|
+
name: Scalars$1['String']['input'];
|
|
88
|
+
organizationId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
89
|
+
parentId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
90
|
+
};
|
|
91
|
+
declare enum FeeNetworkDesignationType {
|
|
92
|
+
ExtendedNetwork = "EXTENDED_NETWORK",
|
|
93
|
+
InNetwork = "IN_NETWORK",
|
|
94
|
+
OutOfNetwork = "OUT_OF_NETWORK",
|
|
103
95
|
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
amountPerTransaction?: InputMaybe$1<Scalars$1["String"]["input"]>;
|
|
109
|
-
/** Enforce checking the location of the vehicle during transaction */
|
|
110
|
-
checkLocation?: InputMaybe$1<Scalars$1["Boolean"]["input"]>;
|
|
111
|
-
/** Define which days and times vehicles can transact at for fueling. */
|
|
96
|
+
type FuelRestrictionsInput$1 = {
|
|
97
|
+
amountPerDay?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
98
|
+
amountPerTransaction?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
99
|
+
checkLocation?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
112
100
|
daysOfWeek?: InputMaybe$1<PurchaseDaysOfWeekInput$1>;
|
|
113
|
-
/** Defines to and from times that a vehicle can purchase at. */
|
|
114
101
|
hours?: InputMaybe$1<PurchaseTimeRangeInput$1>;
|
|
115
|
-
isEnabled?: InputMaybe$1<Scalars$1[
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}
|
|
102
|
+
isEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
103
|
+
noOfTransactions?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
104
|
+
};
|
|
119
105
|
declare enum FundingSource$1 {
|
|
120
|
-
/** Electronic bank transfer. */
|
|
121
106
|
Ach = "ACH",
|
|
122
|
-
/** Funding is done through the parent entities funding source. */
|
|
123
107
|
Parent = "PARENT",
|
|
124
108
|
Unknown = "UNKNOWN",
|
|
125
109
|
}
|
|
126
|
-
|
|
127
|
-
key: Scalars$1[
|
|
128
|
-
value: Scalars$1[
|
|
129
|
-
}
|
|
110
|
+
type HashMapInput$1 = {
|
|
111
|
+
key: Scalars$1['String']['input'];
|
|
112
|
+
value: Scalars$1['String']['input'];
|
|
113
|
+
};
|
|
130
114
|
declare enum JobCodeEntryOptionEnum$1 {
|
|
131
115
|
Freeform = "FREEFORM",
|
|
132
116
|
Predefined = "PREDEFINED",
|
|
133
117
|
}
|
|
134
118
|
declare enum LoginType$1 {
|
|
135
119
|
Email = "EMAIL",
|
|
120
|
+
External = "EXTERNAL",
|
|
136
121
|
Phone = "PHONE",
|
|
137
122
|
Unknown = "UNKNOWN",
|
|
138
123
|
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
firstName?: InputMaybe$1<Scalars$1["String"]["input"]>;
|
|
144
|
-
lastName?: InputMaybe$1<Scalars$1["String"]["input"]>;
|
|
145
|
-
organizationId: Scalars$1["ID"]["input"];
|
|
146
|
-
phoneNumber?: InputMaybe$1<Scalars$1["String"]["input"]>;
|
|
147
|
-
/** deprecated */
|
|
148
|
-
username?: InputMaybe$1<Scalars$1["String"]["input"]>;
|
|
149
|
-
}
|
|
150
|
-
interface OrganizationCreateInput$1 {
|
|
151
|
-
/** The address of the organization */
|
|
124
|
+
type MachineTokenizeUserInput$1 = {
|
|
125
|
+
userId: Scalars$1['ID']['input'];
|
|
126
|
+
};
|
|
127
|
+
type OrganizationCreateInput$1 = {
|
|
152
128
|
address: AddressInput$1;
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
useTspMetadata?: InputMaybe$1<Scalars$1["Boolean"]["input"]>;
|
|
169
|
-
}
|
|
170
|
-
declare enum PaymentMethodType {
|
|
129
|
+
checkLocationOverride?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
130
|
+
costFactorEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
131
|
+
email?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
132
|
+
integratorId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
133
|
+
name: Scalars$1['String']['input'];
|
|
134
|
+
onboardedBy?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
135
|
+
taxId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
136
|
+
unitsId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
137
|
+
useTspMetadata?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
138
|
+
};
|
|
139
|
+
type PageRequest$1 = {
|
|
140
|
+
limit?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
141
|
+
offset?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
142
|
+
};
|
|
143
|
+
declare enum PaymentMethodType$1 {
|
|
171
144
|
DirectConnect = "DIRECT_CONNECT",
|
|
172
145
|
LinkedCard = "LINKED_CARD",
|
|
173
146
|
Ttp = "TTP",
|
|
174
147
|
Unspecified = "UNSPECIFIED",
|
|
175
148
|
}
|
|
176
|
-
|
|
177
|
-
latitude: Scalars$1[
|
|
178
|
-
longitude: Scalars$1[
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
149
|
+
type PositionInput$1 = {
|
|
150
|
+
latitude: Scalars$1['Float']['input'];
|
|
151
|
+
longitude: Scalars$1['Float']['input'];
|
|
152
|
+
};
|
|
153
|
+
type ProvisionCardInput$1 = {
|
|
154
|
+
deviceAccountId: Scalars$1['String']['input'];
|
|
155
|
+
googleHardwareId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
156
|
+
intermediateCertificate?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
157
|
+
leafCertificate?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
158
|
+
nonceSignature?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
159
|
+
nonceValue?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
160
|
+
paymentProviderAccountId: Scalars$1['String']['input'];
|
|
161
|
+
walletId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
162
|
+
walletType: DigitalWallet$1;
|
|
163
|
+
};
|
|
164
|
+
type ProvisionStatusUpdateInput$1 = {
|
|
165
|
+
deviceAccountId: Scalars$1['String']['input'];
|
|
166
|
+
errorDescription?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
167
|
+
paymentProviderAccountId: Scalars$1['String']['input'];
|
|
168
|
+
status: ProvisioningStatus$1;
|
|
169
|
+
};
|
|
170
|
+
declare enum ProvisioningStatus$1 {
|
|
171
|
+
Error = "ERROR",
|
|
172
|
+
Success = "SUCCESS",
|
|
173
|
+
}
|
|
174
|
+
type PurchaseDaysOfWeekInput$1 = {
|
|
175
|
+
friday: Scalars$1['Boolean']['input'];
|
|
176
|
+
monday: Scalars$1['Boolean']['input'];
|
|
177
|
+
saturday: Scalars$1['Boolean']['input'];
|
|
178
|
+
sunday: Scalars$1['Boolean']['input'];
|
|
179
|
+
thursday: Scalars$1['Boolean']['input'];
|
|
180
|
+
tuesday: Scalars$1['Boolean']['input'];
|
|
181
|
+
wednesday: Scalars$1['Boolean']['input'];
|
|
182
|
+
};
|
|
183
|
+
type PurchaseTimeRangeInput$1 = {
|
|
184
|
+
from?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
185
|
+
to?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
186
|
+
};
|
|
193
187
|
declare enum RoleType$1 {
|
|
194
188
|
Admin = "ADMIN",
|
|
195
189
|
Driver = "DRIVER",
|
|
@@ -197,32 +191,34 @@ declare enum RoleType$1 {
|
|
|
197
191
|
Manager = "MANAGER",
|
|
198
192
|
ViewOnly = "VIEW_ONLY",
|
|
199
193
|
}
|
|
200
|
-
|
|
194
|
+
type ServiceFuelInput$1 = {
|
|
201
195
|
additionalInfo?: InputMaybe$1<AdditionalServicePayInfoInput$1>;
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
deviceId?: InputMaybe$1<Scalars$1["String"]["input"]>;
|
|
207
|
-
/** Specify the pump number. */
|
|
196
|
+
pumpNumber: Scalars$1['Int']['input'];
|
|
197
|
+
};
|
|
198
|
+
type ServicePayInput$1 = {
|
|
199
|
+
deviceId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
208
200
|
fuel?: InputMaybe$1<ServiceFuelInput$1>;
|
|
209
|
-
localTime?: InputMaybe$1<Scalars$1[
|
|
210
|
-
locationId: Scalars$1[
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
/** Direct connect, TTP, or linked card. */
|
|
214
|
-
paymentMethodType?: InputMaybe$1<PaymentMethodType>;
|
|
215
|
-
/** Latitude and longitude. */
|
|
201
|
+
localTime?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
202
|
+
locationId: Scalars$1['ID']['input'];
|
|
203
|
+
openloopFallback?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
204
|
+
paymentMethodType?: InputMaybe$1<PaymentMethodType$1>;
|
|
216
205
|
position: PositionInput$1;
|
|
217
|
-
requestId: Scalars$1[
|
|
218
|
-
vehicleId: Scalars$1[
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
206
|
+
requestId: Scalars$1['ID']['input'];
|
|
207
|
+
vehicleId: Scalars$1['ID']['input'];
|
|
208
|
+
};
|
|
209
|
+
declare enum SortDirection$1 {
|
|
210
|
+
Asc = "ASC",
|
|
211
|
+
AscNullsFirst = "ASC_NULLS_FIRST",
|
|
212
|
+
AscNullsLast = "ASC_NULLS_LAST",
|
|
213
|
+
Desc = "DESC",
|
|
214
|
+
DescNullsFirst = "DESC_NULLS_FIRST",
|
|
215
|
+
DescNullsLast = "DESC_NULLS_LAST",
|
|
216
|
+
}
|
|
217
|
+
type SpendRestrictionsDayInput$1 = {
|
|
218
|
+
isEnabled: Scalars$1['Boolean']['input'];
|
|
219
|
+
purchaseTimes?: InputMaybe$1<Array<InputMaybe$1<PurchaseTimeRangeInput$1>>>;
|
|
220
|
+
};
|
|
221
|
+
type SpendRestrictionsDaysOfWeekInput$1 = {
|
|
226
222
|
friday: SpendRestrictionsDayInput$1;
|
|
227
223
|
monday: SpendRestrictionsDayInput$1;
|
|
228
224
|
saturday: SpendRestrictionsDayInput$1;
|
|
@@ -230,44 +226,35 @@ interface SpendRestrictionsDaysOfWeekInput$1 {
|
|
|
230
226
|
thursday: SpendRestrictionsDayInput$1;
|
|
231
227
|
tuesday: SpendRestrictionsDayInput$1;
|
|
232
228
|
wednesday: SpendRestrictionsDayInput$1;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
/** Max dollar amount per week. 0 or null turns this restriction off. */
|
|
240
|
-
amountPerWeek?: InputMaybe$1<Scalars$1["Int"]["input"]>;
|
|
241
|
-
/** Enforce checking the location of the vehicle during transaction */
|
|
242
|
-
checkLocation?: InputMaybe$1<Scalars$1["Boolean"]["input"]>;
|
|
243
|
-
/** Deprecated. Define which days and times vehicles can transact at for fueling. */
|
|
229
|
+
};
|
|
230
|
+
type SpendRestrictionsInput$1 = {
|
|
231
|
+
amountPerDay?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
232
|
+
amountPerTransaction?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
233
|
+
amountPerWeek?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
234
|
+
checkLocation?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
244
235
|
daysOfWeek?: InputMaybe$1<SpendRestrictionsDaysOfWeekInput$1>;
|
|
245
|
-
|
|
246
|
-
enforceFuelSpendEstimation?: InputMaybe$1<Scalars$1["Boolean"]["input"]>;
|
|
247
|
-
/** Deprecated, use direct spend restrictions settings */
|
|
236
|
+
enforceFuelSpendEstimation?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
248
237
|
fuel?: InputMaybe$1<FuelRestrictionsInput$1>;
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
238
|
+
noOfTransactions?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
239
|
+
predefinedRule?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
240
|
+
};
|
|
241
|
+
type TtpTokenizationInput$1 = {
|
|
242
|
+
deviceId: Scalars$1['String']['input'];
|
|
243
|
+
requestId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
244
|
+
};
|
|
245
|
+
type UserCreateInput$1 = {
|
|
246
|
+
additionalInfo?: InputMaybe$1<AdditionalInfoInput$1>;
|
|
247
|
+
email?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
248
|
+
employeeId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
249
|
+
entityId: Scalars$1['ID']['input'];
|
|
250
|
+
firstName: Scalars$1['String']['input'];
|
|
251
|
+
lastName: Scalars$1['String']['input'];
|
|
262
252
|
loginType?: InputMaybe$1<LoginType$1>;
|
|
263
|
-
organizationId?: InputMaybe$1<Scalars$1[
|
|
264
|
-
phoneNumber?: InputMaybe$1<Scalars$1[
|
|
265
|
-
/** Role type of user such as Driver, Manager, or Admin. */
|
|
253
|
+
organizationId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
254
|
+
phoneNumber?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
266
255
|
role: RoleType$1;
|
|
267
|
-
}
|
|
268
|
-
/** Status of a given user. */
|
|
256
|
+
};
|
|
269
257
|
declare enum UserStatus$1 {
|
|
270
|
-
/** Also known as offboarded */
|
|
271
258
|
Deactivated = "DEACTIVATED",
|
|
272
259
|
Deleted = "DELETED",
|
|
273
260
|
Invited = "INVITED",
|
|
@@ -275,102 +262,93 @@ declare enum UserStatus$1 {
|
|
|
275
262
|
Onboarded = "ONBOARDED",
|
|
276
263
|
Unknown = "UNKNOWN",
|
|
277
264
|
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
/** Entity that this vehicle group will belong to. */
|
|
286
|
-
entityId?: InputMaybe$1<Scalars$1["ID"]["input"]>;
|
|
287
|
-
externalId?: InputMaybe$1<Scalars$1["String"]["input"]>;
|
|
288
|
-
/** Enable adding Job Code to transactions. */
|
|
289
|
-
jobCodeEnabled?: InputMaybe$1<Scalars$1["Boolean"]["input"]>;
|
|
290
|
-
/** Job code entry option, which defines whether the job code is predefined or freeform. */
|
|
265
|
+
type VehicleGroupCreateInput$1 = {
|
|
266
|
+
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
267
|
+
driverEnteredOdometerEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
268
|
+
drivers?: InputMaybe$1<Array<InputMaybe$1<Scalars$1['ID']['input']>>>;
|
|
269
|
+
entityId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
270
|
+
externalId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
271
|
+
jobCodeEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
291
272
|
jobCodeEntryOption?: InputMaybe$1<JobCodeEntryOptionEnum$1>;
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
/** Name of vehicle group. */
|
|
297
|
-
name: Scalars$1["String"]["input"];
|
|
298
|
-
/** Organization that this vehicle group will belong to. */
|
|
299
|
-
organizationId?: InputMaybe$1<Scalars$1["ID"]["input"]>;
|
|
300
|
-
/** 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. */
|
|
273
|
+
jobCodeEntryOptional?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
274
|
+
jobCodeOptions?: InputMaybe$1<Array<InputMaybe$1<Scalars$1['String']['input']>>>;
|
|
275
|
+
name: Scalars$1['String']['input'];
|
|
276
|
+
organizationId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
301
277
|
spendRestrictions: SpendRestrictionsInput$1;
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
}
|
|
278
|
+
vehicles?: InputMaybe$1<Array<InputMaybe$1<Scalars$1['ID']['input']>>>;
|
|
279
|
+
};
|
|
280
|
+
type VehicleGroupDriversAddInput$1 = {
|
|
281
|
+
drivers: Array<Scalars$1['ID']['input']>;
|
|
282
|
+
vehicleGroupId: Scalars$1['ID']['input'];
|
|
283
|
+
};
|
|
284
|
+
type VehicleGroupVehiclesAddInput$1 = {
|
|
285
|
+
vehicleGroupId: Scalars$1['ID']['input'];
|
|
286
|
+
vehicles: Array<Scalars$1['ID']['input']>;
|
|
287
|
+
};
|
|
288
|
+
type VehicleGroupsFilterInput$1 = {
|
|
289
|
+
filter: VehicleGroupsFilterOptions$1;
|
|
290
|
+
page: PageRequest$1;
|
|
291
|
+
sortOptions?: InputMaybe$1<VehicleGroupsSortOptions$1>;
|
|
292
|
+
};
|
|
293
|
+
type VehicleGroupsFilterOptions$1 = {
|
|
294
|
+
driverId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
295
|
+
entityId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
296
|
+
includeChildren?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
297
|
+
includeSpendControls?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
298
|
+
};
|
|
299
|
+
declare enum VehicleGroupsSortField$1 {
|
|
300
|
+
Description = "DESCRIPTION",
|
|
301
|
+
DriverCount = "DRIVER_COUNT",
|
|
302
|
+
LastTransactionDate = "LAST_TRANSACTION_DATE",
|
|
303
|
+
Name = "NAME",
|
|
304
|
+
VehicleCount = "VEHICLE_COUNT",
|
|
305
|
+
}
|
|
306
|
+
type VehicleGroupsSortOptions$1 = {
|
|
307
|
+
direction: SortDirection$1;
|
|
308
|
+
orderBy: VehicleGroupsSortField$1;
|
|
309
|
+
};
|
|
310
|
+
type VehicleUpdateInput$1 = {
|
|
311
|
+
customFields?: InputMaybe$1<Array<InputMaybe$1<HashMapInput$1>>>;
|
|
312
|
+
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
313
|
+
id: Scalars$1['ID']['input'];
|
|
314
|
+
licensePlate?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
315
|
+
licensePlateState?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
316
|
+
number?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
317
|
+
};
|
|
318
|
+
type VehiclesOnboardInput$1 = {
|
|
319
|
+
customFields?: InputMaybe$1<Array<InputMaybe$1<HashMapInput$1>>>;
|
|
320
|
+
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
321
|
+
id?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
322
|
+
licensePlate?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
323
|
+
licensePlateState?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
324
|
+
number?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
325
|
+
vehicleGroupId: Scalars$1['ID']['input'];
|
|
326
|
+
vin?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
327
|
+
};
|
|
328
|
+
type VehiclesOnboardInputList$1 = {
|
|
329
|
+
vehicles?: InputMaybe$1<Array<InputMaybe$1<VehiclesOnboardInput$1>>>;
|
|
330
|
+
};
|
|
331
|
+
type AdditionalServicePayInfoInput$1 = {
|
|
332
|
+
jobCode?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
333
|
+
odometer?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
334
|
+
};
|
|
342
335
|
type ApiKeyCreateMutationVariables$1 = Exact$1<{
|
|
343
336
|
input: ApiKeyCreateInput$1;
|
|
344
337
|
}>;
|
|
345
|
-
|
|
346
|
-
__typename?:
|
|
338
|
+
type ApiKeyCreateMutation$1 = {
|
|
339
|
+
__typename?: 'Mutation';
|
|
347
340
|
apiKeyCreate?: {
|
|
348
|
-
__typename?:
|
|
341
|
+
__typename?: 'ApiKeyCreateOutput';
|
|
349
342
|
apiKey: string;
|
|
350
343
|
} | null;
|
|
351
|
-
}
|
|
352
|
-
type ClientOnboardMutationVariables = Exact$1<{
|
|
353
|
-
input: ClientOnboardInput;
|
|
354
|
-
}>;
|
|
355
|
-
interface ClientOnboardMutation {
|
|
356
|
-
__typename?: "Mutation";
|
|
357
|
-
clientOnboard?: {
|
|
358
|
-
__typename?: "Entity";
|
|
359
|
-
id: string;
|
|
360
|
-
name?: string | null;
|
|
361
|
-
externalId?: string | null;
|
|
362
|
-
insertedAt?: string | null;
|
|
363
|
-
updatedAt?: string | null;
|
|
364
|
-
deletedAt?: string | null;
|
|
365
|
-
} | null;
|
|
366
|
-
}
|
|
344
|
+
};
|
|
367
345
|
type OrganizationCreateMutationVariables$1 = Exact$1<{
|
|
368
346
|
input: OrganizationCreateInput$1;
|
|
369
347
|
}>;
|
|
370
|
-
|
|
371
|
-
__typename?:
|
|
348
|
+
type OrganizationCreateMutation$1 = {
|
|
349
|
+
__typename?: 'Mutation';
|
|
372
350
|
organizationCreate?: {
|
|
373
|
-
__typename?:
|
|
351
|
+
__typename?: 'Organization';
|
|
374
352
|
id: string;
|
|
375
353
|
name?: string | null;
|
|
376
354
|
onboardedAt?: string | null;
|
|
@@ -379,7 +357,7 @@ interface OrganizationCreateMutation$1 {
|
|
|
379
357
|
updatedAt?: string | null;
|
|
380
358
|
deletedAt?: string | null;
|
|
381
359
|
address?: {
|
|
382
|
-
__typename?:
|
|
360
|
+
__typename?: 'Address';
|
|
383
361
|
line1?: string | null;
|
|
384
362
|
line2?: string | null;
|
|
385
363
|
city?: string | null;
|
|
@@ -388,14 +366,14 @@ interface OrganizationCreateMutation$1 {
|
|
|
388
366
|
zip?: string | null;
|
|
389
367
|
} | null;
|
|
390
368
|
} | null;
|
|
391
|
-
}
|
|
369
|
+
};
|
|
392
370
|
type EntityCreateMutationVariables$1 = Exact$1<{
|
|
393
371
|
input: EntityCreateInput$1;
|
|
394
372
|
}>;
|
|
395
|
-
|
|
396
|
-
__typename?:
|
|
373
|
+
type EntityCreateMutation$1 = {
|
|
374
|
+
__typename?: 'Mutation';
|
|
397
375
|
entityCreate?: {
|
|
398
|
-
__typename?:
|
|
376
|
+
__typename?: 'Entity';
|
|
399
377
|
id: string;
|
|
400
378
|
name?: string | null;
|
|
401
379
|
description?: string | null;
|
|
@@ -406,14 +384,29 @@ interface EntityCreateMutation$1 {
|
|
|
406
384
|
insertedAt?: string | null;
|
|
407
385
|
updatedAt?: string | null;
|
|
408
386
|
} | null;
|
|
409
|
-
}
|
|
387
|
+
};
|
|
388
|
+
type ClientOnboardMutationVariables = Exact$1<{
|
|
389
|
+
input: ClientOnboardInput;
|
|
390
|
+
}>;
|
|
391
|
+
type ClientOnboardMutation = {
|
|
392
|
+
__typename?: 'Mutation';
|
|
393
|
+
clientOnboard?: {
|
|
394
|
+
__typename?: 'Entity';
|
|
395
|
+
id: string;
|
|
396
|
+
name?: string | null;
|
|
397
|
+
externalId?: string | null;
|
|
398
|
+
insertedAt?: string | null;
|
|
399
|
+
updatedAt?: string | null;
|
|
400
|
+
deletedAt?: string | null;
|
|
401
|
+
} | null;
|
|
402
|
+
};
|
|
410
403
|
type EntityGetExternalIdQueryVariables = Exact$1<{
|
|
411
|
-
externalId?: InputMaybe$1<Scalars$1[
|
|
404
|
+
externalId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
412
405
|
}>;
|
|
413
|
-
|
|
414
|
-
__typename?:
|
|
406
|
+
type EntityGetExternalIdQuery = {
|
|
407
|
+
__typename?: 'Query';
|
|
415
408
|
entity?: {
|
|
416
|
-
__typename?:
|
|
409
|
+
__typename?: 'Entity';
|
|
417
410
|
id: string;
|
|
418
411
|
name?: string | null;
|
|
419
412
|
description?: string | null;
|
|
@@ -427,18 +420,18 @@ interface EntityGetExternalIdQuery {
|
|
|
427
420
|
deletedAt?: string | null;
|
|
428
421
|
costFactor?: number | null;
|
|
429
422
|
parent?: {
|
|
430
|
-
__typename?:
|
|
423
|
+
__typename?: 'Entity';
|
|
431
424
|
id: string;
|
|
432
425
|
name?: string | null;
|
|
433
426
|
description?: string | null;
|
|
434
427
|
} | null;
|
|
435
428
|
organization?: {
|
|
436
|
-
__typename?:
|
|
429
|
+
__typename?: 'Organization';
|
|
437
430
|
id: string;
|
|
438
431
|
name?: string | null;
|
|
439
432
|
} | null;
|
|
440
433
|
financialConfig?: {
|
|
441
|
-
__typename?:
|
|
434
|
+
__typename?: 'FinancialConfig';
|
|
442
435
|
id: string;
|
|
443
436
|
entityId: string;
|
|
444
437
|
accountType?: AccountType | null;
|
|
@@ -446,7 +439,7 @@ interface EntityGetExternalIdQuery {
|
|
|
446
439
|
insertedAt?: string | null;
|
|
447
440
|
updatedAt?: string | null;
|
|
448
441
|
paymentProvider?: {
|
|
449
|
-
__typename?:
|
|
442
|
+
__typename?: 'PaymentProvider';
|
|
450
443
|
id: string;
|
|
451
444
|
name?: string | null;
|
|
452
445
|
slug?: string | null;
|
|
@@ -455,36 +448,85 @@ interface EntityGetExternalIdQuery {
|
|
|
455
448
|
} | null;
|
|
456
449
|
} | null;
|
|
457
450
|
} | null;
|
|
458
|
-
}
|
|
451
|
+
};
|
|
459
452
|
type MachineTokenizeUserMutationVariables$1 = Exact$1<{
|
|
460
453
|
input?: InputMaybe$1<MachineTokenizeUserInput$1>;
|
|
461
454
|
}>;
|
|
462
|
-
|
|
463
|
-
__typename?:
|
|
455
|
+
type MachineTokenizeUserMutation$1 = {
|
|
456
|
+
__typename?: 'Mutation';
|
|
464
457
|
machineTokenizeUser?: {
|
|
465
|
-
__typename?:
|
|
458
|
+
__typename?: 'MachineUserToken';
|
|
466
459
|
access_token: string;
|
|
467
460
|
expires_in: number;
|
|
468
461
|
} | null;
|
|
469
|
-
}
|
|
462
|
+
};
|
|
463
|
+
type ProvisionCardMutationVariables$1 = Exact$1<{
|
|
464
|
+
input: ProvisionCardInput$1;
|
|
465
|
+
}>;
|
|
466
|
+
type ProvisionCardMutation$1 = {
|
|
467
|
+
__typename?: 'Mutation';
|
|
468
|
+
provisionCard: {
|
|
469
|
+
__typename?: 'ProvisionCardResponse';
|
|
470
|
+
encryptedData?: string | null;
|
|
471
|
+
activationData?: string | null;
|
|
472
|
+
publicKey?: string | null;
|
|
473
|
+
lastFourDigits?: string | null;
|
|
474
|
+
displayName?: string | null;
|
|
475
|
+
cardNetwork?: CardNetwork$1 | null;
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
type ProvisionStatusUpdateMutationVariables$1 = Exact$1<{
|
|
479
|
+
input: ProvisionStatusUpdateInput$1;
|
|
480
|
+
}>;
|
|
481
|
+
type ProvisionStatusUpdateMutation$1 = {
|
|
482
|
+
__typename?: 'Mutation';
|
|
483
|
+
provisionStatusUpdate: {
|
|
484
|
+
__typename?: 'BooleanSuccessOutput';
|
|
485
|
+
success: boolean;
|
|
486
|
+
};
|
|
487
|
+
};
|
|
470
488
|
type ServicePayMutationVariables$1 = Exact$1<{
|
|
471
489
|
input: ServicePayInput$1;
|
|
472
490
|
}>;
|
|
473
|
-
|
|
474
|
-
__typename?:
|
|
491
|
+
type ServicePayMutation$1 = {
|
|
492
|
+
__typename?: 'Mutation';
|
|
475
493
|
servicePay?: {
|
|
476
|
-
__typename?:
|
|
494
|
+
__typename?: 'ServicePayOutput';
|
|
477
495
|
requestId: string;
|
|
478
496
|
transactionId: string;
|
|
479
497
|
} | null;
|
|
480
|
-
}
|
|
498
|
+
};
|
|
499
|
+
type TtpTokenizationMutationVariables$1 = Exact$1<{
|
|
500
|
+
input: TtpTokenizationInput$1;
|
|
501
|
+
}>;
|
|
502
|
+
type TtpTokenizationMutation$1 = {
|
|
503
|
+
__typename?: 'Mutation';
|
|
504
|
+
ttpTokenization?: {
|
|
505
|
+
__typename?: 'TtpTokenizationOutput';
|
|
506
|
+
requestId?: string | null;
|
|
507
|
+
success?: boolean | null;
|
|
508
|
+
paymentProviderAccountId?: string | null;
|
|
509
|
+
deviceAccountId?: string | null;
|
|
510
|
+
lastFourDigits?: string | null;
|
|
511
|
+
displayName?: string | null;
|
|
512
|
+
cardFlag?: CardNetwork$1 | null;
|
|
513
|
+
programSupports?: {
|
|
514
|
+
__typename?: 'ProgramSupports';
|
|
515
|
+
isCloseLoopSupported?: boolean | null;
|
|
516
|
+
isDcSupported?: boolean | null;
|
|
517
|
+
isPhysicalCardSupported?: boolean | null;
|
|
518
|
+
isTtpSupported?: boolean | null;
|
|
519
|
+
isUsingInternalProgram?: boolean | null;
|
|
520
|
+
} | null;
|
|
521
|
+
} | null;
|
|
522
|
+
};
|
|
481
523
|
type UserCreateMutationVariables$1 = Exact$1<{
|
|
482
524
|
input: UserCreateInput$1;
|
|
483
525
|
}>;
|
|
484
|
-
|
|
485
|
-
__typename?:
|
|
526
|
+
type UserCreateMutation$1 = {
|
|
527
|
+
__typename?: 'Mutation';
|
|
486
528
|
userCreate?: {
|
|
487
|
-
__typename?:
|
|
529
|
+
__typename?: 'User';
|
|
488
530
|
id?: string | null;
|
|
489
531
|
firstName?: string | null;
|
|
490
532
|
lastName?: string | null;
|
|
@@ -501,14 +543,14 @@ interface UserCreateMutation$1 {
|
|
|
501
543
|
insertedAt?: string | null;
|
|
502
544
|
updatedAt?: string | null;
|
|
503
545
|
} | null;
|
|
504
|
-
}
|
|
546
|
+
};
|
|
505
547
|
type VehicleGroupCreateMutationVariables$1 = Exact$1<{
|
|
506
548
|
input: VehicleGroupCreateInput$1;
|
|
507
549
|
}>;
|
|
508
|
-
|
|
509
|
-
__typename?:
|
|
550
|
+
type VehicleGroupCreateMutation$1 = {
|
|
551
|
+
__typename?: 'Mutation';
|
|
510
552
|
vehicleGroupCreate?: {
|
|
511
|
-
__typename?:
|
|
553
|
+
__typename?: 'IndividualVehicleGroup';
|
|
512
554
|
id: string;
|
|
513
555
|
code?: string | null;
|
|
514
556
|
name?: string | null;
|
|
@@ -519,14 +561,14 @@ interface VehicleGroupCreateMutation$1 {
|
|
|
519
561
|
insertedAt?: string | null;
|
|
520
562
|
updatedAt?: string | null;
|
|
521
563
|
} | null;
|
|
522
|
-
}
|
|
564
|
+
};
|
|
523
565
|
type VehicleGroupDriversAddMutationVariables$1 = Exact$1<{
|
|
524
566
|
input: VehicleGroupDriversAddInput$1;
|
|
525
567
|
}>;
|
|
526
|
-
|
|
527
|
-
__typename?:
|
|
568
|
+
type VehicleGroupDriversAddMutation$1 = {
|
|
569
|
+
__typename?: 'Mutation';
|
|
528
570
|
vehicleGroupDriversAdd?: {
|
|
529
|
-
__typename?:
|
|
571
|
+
__typename?: 'VehicleGroup';
|
|
530
572
|
id: string;
|
|
531
573
|
name?: string | null;
|
|
532
574
|
description?: string | null;
|
|
@@ -536,14 +578,14 @@ interface VehicleGroupDriversAddMutation$1 {
|
|
|
536
578
|
insertedAt?: string | null;
|
|
537
579
|
updatedAt?: string | null;
|
|
538
580
|
} | null;
|
|
539
|
-
}
|
|
581
|
+
};
|
|
540
582
|
type VehicleGroupVehiclesAddMutationVariables$1 = Exact$1<{
|
|
541
583
|
input: VehicleGroupVehiclesAddInput$1;
|
|
542
584
|
}>;
|
|
543
|
-
|
|
544
|
-
__typename?:
|
|
585
|
+
type VehicleGroupVehiclesAddMutation$1 = {
|
|
586
|
+
__typename?: 'Mutation';
|
|
545
587
|
vehicleGroupVehiclesAdd?: {
|
|
546
|
-
__typename?:
|
|
588
|
+
__typename?: 'VehicleGroup';
|
|
547
589
|
id: string;
|
|
548
590
|
name?: string | null;
|
|
549
591
|
description?: string | null;
|
|
@@ -553,47 +595,61 @@ interface VehicleGroupVehiclesAddMutation$1 {
|
|
|
553
595
|
insertedAt?: string | null;
|
|
554
596
|
updatedAt?: string | null;
|
|
555
597
|
} | null;
|
|
556
|
-
}
|
|
598
|
+
};
|
|
599
|
+
type VehicleUpdateMutationVariables$1 = Exact$1<{
|
|
600
|
+
input: VehicleUpdateInput$1;
|
|
601
|
+
}>;
|
|
602
|
+
type VehicleUpdateMutation$1 = {
|
|
603
|
+
__typename?: 'Mutation';
|
|
604
|
+
vehicleUpdate?: string | null;
|
|
605
|
+
};
|
|
606
|
+
type VehicleGroupsFilterQueryVariables$1 = Exact$1<{
|
|
607
|
+
input: VehicleGroupsFilterInput$1;
|
|
608
|
+
}>;
|
|
609
|
+
type VehicleGroupsFilterQuery$1 = {
|
|
610
|
+
__typename?: 'Query';
|
|
611
|
+
vehicleGroupsFilter?: {
|
|
612
|
+
__typename?: 'VehicleGroupsPage';
|
|
613
|
+
data?: Array<{
|
|
614
|
+
__typename?: 'VehicleGroup';
|
|
615
|
+
id: string;
|
|
616
|
+
name?: string | null;
|
|
617
|
+
description?: string | null;
|
|
618
|
+
externalId?: string | null;
|
|
619
|
+
} | null> | null;
|
|
620
|
+
meta?: {
|
|
621
|
+
__typename?: 'PageMeta';
|
|
622
|
+
limit?: number | null;
|
|
623
|
+
offset?: number | null;
|
|
624
|
+
total?: number | null;
|
|
625
|
+
} | null;
|
|
626
|
+
} | null;
|
|
627
|
+
};
|
|
557
628
|
type VehiclesOnboardMutationVariables$1 = Exact$1<{
|
|
558
629
|
input: VehiclesOnboardInputList$1;
|
|
559
630
|
}>;
|
|
560
|
-
|
|
561
|
-
__typename?:
|
|
631
|
+
type VehiclesOnboardMutation$1 = {
|
|
632
|
+
__typename?: 'Mutation';
|
|
562
633
|
vehiclesOnboard?: {
|
|
563
|
-
__typename?:
|
|
564
|
-
vehicles?:
|
|
565
|
-
__typename?:
|
|
634
|
+
__typename?: 'VehiclesOnboardOutputList';
|
|
635
|
+
vehicles?: Array<{
|
|
636
|
+
__typename?: 'VehiclesOnboardOutput';
|
|
566
637
|
id?: string | null;
|
|
567
638
|
vin?: string | null;
|
|
568
639
|
vehicleGroupId: string;
|
|
569
640
|
success?: boolean | null;
|
|
570
641
|
error?: string | null;
|
|
571
|
-
} | null
|
|
642
|
+
} | null> | null;
|
|
572
643
|
} | null;
|
|
573
|
-
}
|
|
574
|
-
type SdkFunctionWrapper$1 = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
575
|
-
declare function getIntSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper$1): {
|
|
576
|
-
apiKeyCreate(variables: ApiKeyCreateMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<ApiKeyCreateMutation$1>;
|
|
577
|
-
clientOnboard(variables: ClientOnboardMutationVariables, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<ClientOnboardMutation>;
|
|
578
|
-
organizationCreate(variables: OrganizationCreateMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<OrganizationCreateMutation$1>;
|
|
579
|
-
entityCreate(variables: EntityCreateMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<EntityCreateMutation$1>;
|
|
580
|
-
entityGetExternalId(variables?: EntityGetExternalIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<EntityGetExternalIdQuery>;
|
|
581
|
-
machineTokenizeUser(variables?: MachineTokenizeUserMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<MachineTokenizeUserMutation$1>;
|
|
582
|
-
servicePay(variables: ServicePayMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<ServicePayMutation$1>;
|
|
583
|
-
userCreate(variables: UserCreateMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<UserCreateMutation$1>;
|
|
584
|
-
vehicleGroupCreate(variables: VehicleGroupCreateMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<VehicleGroupCreateMutation$1>;
|
|
585
|
-
vehicleGroupDriversAdd(variables: VehicleGroupDriversAddMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<VehicleGroupDriversAddMutation$1>;
|
|
586
|
-
vehicleGroupVehiclesAdd(variables: VehicleGroupVehiclesAddMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<VehicleGroupVehiclesAddMutation$1>;
|
|
587
|
-
vehiclesOnboard(variables: VehiclesOnboardMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<VehiclesOnboardMutation$1>;
|
|
588
644
|
};
|
|
589
645
|
//#endregion
|
|
590
|
-
//#region src/generated/
|
|
646
|
+
//#region src/generated/stage/sdk.d.ts
|
|
591
647
|
type Maybe<T> = T | null;
|
|
592
648
|
type InputMaybe<T> = Maybe<T>;
|
|
593
|
-
type Exact<T extends
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
649
|
+
type Exact<T extends {
|
|
650
|
+
[key: string]: unknown;
|
|
651
|
+
}> = { [K in keyof T]: T[K] };
|
|
652
|
+
type Scalars = {
|
|
597
653
|
ID: {
|
|
598
654
|
input: string;
|
|
599
655
|
output: string;
|
|
@@ -622,71 +678,59 @@ interface Scalars {
|
|
|
622
678
|
input: any;
|
|
623
679
|
output: any;
|
|
624
680
|
};
|
|
681
|
+
};
|
|
682
|
+
type AdditionalInfoInput = {
|
|
683
|
+
contactPhoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
684
|
+
isCorporatePhone?: InputMaybe<Scalars['Boolean']['input']>;
|
|
685
|
+
};
|
|
686
|
+
type AddressInput = {
|
|
687
|
+
city: Scalars['String']['input'];
|
|
688
|
+
country: Scalars['String']['input'];
|
|
689
|
+
line1: Scalars['String']['input'];
|
|
690
|
+
line2?: InputMaybe<Scalars['String']['input']>;
|
|
691
|
+
state: Scalars['String']['input'];
|
|
692
|
+
zip: Scalars['String']['input'];
|
|
693
|
+
};
|
|
694
|
+
type ApiKeyCreateInput = {
|
|
695
|
+
entityId?: InputMaybe<Scalars['ID']['input']>;
|
|
696
|
+
name: Scalars['String']['input'];
|
|
697
|
+
organizationId: Scalars['ID']['input'];
|
|
698
|
+
};
|
|
699
|
+
declare enum CardNetwork {
|
|
700
|
+
Mastercard = "MASTERCARD",
|
|
701
|
+
Visa = "VISA",
|
|
625
702
|
}
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
country: Scalars["String"]["input"];
|
|
630
|
-
line1: Scalars["String"]["input"];
|
|
631
|
-
line2?: InputMaybe<Scalars["String"]["input"]>;
|
|
632
|
-
state: Scalars["String"]["input"];
|
|
633
|
-
zip: Scalars["String"]["input"];
|
|
634
|
-
}
|
|
635
|
-
interface ApiKeyCreateInput {
|
|
636
|
-
/** Entity Id */
|
|
637
|
-
entityId?: InputMaybe<Scalars["ID"]["input"]>;
|
|
638
|
-
/** Api Key Name */
|
|
639
|
-
name: Scalars["String"]["input"];
|
|
640
|
-
/** Organization Id */
|
|
641
|
-
organizationId: Scalars["ID"]["input"];
|
|
703
|
+
declare enum DigitalWallet {
|
|
704
|
+
DigitalWalletAndroid = "DIGITAL_WALLET_ANDROID",
|
|
705
|
+
DigitalWalletApple = "DIGITAL_WALLET_APPLE",
|
|
642
706
|
}
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
/** To optionally store your own id to map between different systems. */
|
|
647
|
-
externalId?: InputMaybe<Scalars["String"]["input"]>;
|
|
648
|
-
/** How the account is funded: ACH or Parent. */
|
|
707
|
+
type EntityCreateInput = {
|
|
708
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
709
|
+
externalId?: InputMaybe<Scalars['String']['input']>;
|
|
649
710
|
funding?: InputMaybe<FundingSource>;
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
declare enum FeeNetworkDesignationType {
|
|
660
|
-
ExtendedNetwork = "EXTENDED_NETWORK",
|
|
661
|
-
InNetwork = "IN_NETWORK",
|
|
662
|
-
OutOfNetwork = "OUT_OF_NETWORK",
|
|
663
|
-
}
|
|
664
|
-
interface FuelRestrictionsInput {
|
|
665
|
-
/** Amount per day, usually around $125. */
|
|
666
|
-
amountPerDay?: InputMaybe<Scalars["String"]["input"]>;
|
|
667
|
-
/** Also known as purchas limit. Usually between $5 and $1000. */
|
|
668
|
-
amountPerTransaction?: InputMaybe<Scalars["String"]["input"]>;
|
|
669
|
-
/** Enforce checking the location of the vehicle during transaction */
|
|
670
|
-
checkLocation?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
671
|
-
/** Define which days and times vehicles can transact at for fueling. */
|
|
711
|
+
hasFinance?: InputMaybe<Scalars['Boolean']['input']>;
|
|
712
|
+
name: Scalars['String']['input'];
|
|
713
|
+
organizationId?: InputMaybe<Scalars['ID']['input']>;
|
|
714
|
+
parentId?: InputMaybe<Scalars['ID']['input']>;
|
|
715
|
+
};
|
|
716
|
+
type FuelRestrictionsInput = {
|
|
717
|
+
amountPerDay?: InputMaybe<Scalars['String']['input']>;
|
|
718
|
+
amountPerTransaction?: InputMaybe<Scalars['String']['input']>;
|
|
719
|
+
checkLocation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
672
720
|
daysOfWeek?: InputMaybe<PurchaseDaysOfWeekInput>;
|
|
673
|
-
/** Defines to and from times that a vehicle can purchase at. */
|
|
674
721
|
hours?: InputMaybe<PurchaseTimeRangeInput>;
|
|
675
|
-
isEnabled?: InputMaybe<Scalars[
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
}
|
|
722
|
+
isEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
723
|
+
noOfTransactions?: InputMaybe<Scalars['Int']['input']>;
|
|
724
|
+
};
|
|
679
725
|
declare enum FundingSource {
|
|
680
|
-
/** Electronic bank transfer. */
|
|
681
726
|
Ach = "ACH",
|
|
682
|
-
/** Funding is done through the parent entities funding source. */
|
|
683
727
|
Parent = "PARENT",
|
|
684
728
|
Unknown = "UNKNOWN",
|
|
685
729
|
}
|
|
686
|
-
|
|
687
|
-
key: Scalars[
|
|
688
|
-
value: Scalars[
|
|
689
|
-
}
|
|
730
|
+
type HashMapInput = {
|
|
731
|
+
key: Scalars['String']['input'];
|
|
732
|
+
value: Scalars['String']['input'];
|
|
733
|
+
};
|
|
690
734
|
declare enum JobCodeEntryOptionEnum {
|
|
691
735
|
Freeform = "FREEFORM",
|
|
692
736
|
Predefined = "PREDEFINED",
|
|
@@ -696,53 +740,75 @@ declare enum LoginType {
|
|
|
696
740
|
Phone = "PHONE",
|
|
697
741
|
Unknown = "UNKNOWN",
|
|
698
742
|
}
|
|
699
|
-
|
|
700
|
-
email?: InputMaybe<Scalars[
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
interface OrganizationCreateInput {
|
|
710
|
-
/** The address of the organization */
|
|
743
|
+
type MachineTokenizeUserInput = {
|
|
744
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
745
|
+
externalId: Scalars['String']['input'];
|
|
746
|
+
firstName?: InputMaybe<Scalars['String']['input']>;
|
|
747
|
+
lastName?: InputMaybe<Scalars['String']['input']>;
|
|
748
|
+
organizationId: Scalars['ID']['input'];
|
|
749
|
+
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
750
|
+
username?: InputMaybe<Scalars['String']['input']>;
|
|
751
|
+
};
|
|
752
|
+
type OrganizationCreateInput = {
|
|
711
753
|
address: AddressInput;
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
longitude: Scalars["Float"]["input"];
|
|
732
|
-
}
|
|
733
|
-
interface PurchaseDaysOfWeekInput {
|
|
734
|
-
friday: Scalars["Boolean"]["input"];
|
|
735
|
-
monday: Scalars["Boolean"]["input"];
|
|
736
|
-
saturday: Scalars["Boolean"]["input"];
|
|
737
|
-
sunday: Scalars["Boolean"]["input"];
|
|
738
|
-
thursday: Scalars["Boolean"]["input"];
|
|
739
|
-
tuesday: Scalars["Boolean"]["input"];
|
|
740
|
-
wednesday: Scalars["Boolean"]["input"];
|
|
741
|
-
}
|
|
742
|
-
interface PurchaseTimeRangeInput {
|
|
743
|
-
from?: InputMaybe<Scalars["String"]["input"]>;
|
|
744
|
-
to?: InputMaybe<Scalars["String"]["input"]>;
|
|
754
|
+
checkLocationOverride?: InputMaybe<Scalars['Boolean']['input']>;
|
|
755
|
+
costFactorEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
756
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
757
|
+
integratorId?: InputMaybe<Scalars['ID']['input']>;
|
|
758
|
+
name: Scalars['String']['input'];
|
|
759
|
+
onboardedBy?: InputMaybe<Scalars['String']['input']>;
|
|
760
|
+
taxId?: InputMaybe<Scalars['String']['input']>;
|
|
761
|
+
unitsId?: InputMaybe<Scalars['String']['input']>;
|
|
762
|
+
useTspMetadata?: InputMaybe<Scalars['Boolean']['input']>;
|
|
763
|
+
};
|
|
764
|
+
type PageRequest = {
|
|
765
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
766
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
767
|
+
};
|
|
768
|
+
declare enum PaymentMethodType {
|
|
769
|
+
DirectConnect = "DIRECT_CONNECT",
|
|
770
|
+
LinkedCard = "LINKED_CARD",
|
|
771
|
+
Ttp = "TTP",
|
|
772
|
+
Unspecified = "UNSPECIFIED",
|
|
745
773
|
}
|
|
774
|
+
type PositionInput = {
|
|
775
|
+
latitude: Scalars['Float']['input'];
|
|
776
|
+
longitude: Scalars['Float']['input'];
|
|
777
|
+
};
|
|
778
|
+
type ProvisionCardInput = {
|
|
779
|
+
deviceAccountId: Scalars['String']['input'];
|
|
780
|
+
googleHardwareId?: InputMaybe<Scalars['String']['input']>;
|
|
781
|
+
intermediateCertificate?: InputMaybe<Scalars['String']['input']>;
|
|
782
|
+
leafCertificate?: InputMaybe<Scalars['String']['input']>;
|
|
783
|
+
nonceSignature?: InputMaybe<Scalars['String']['input']>;
|
|
784
|
+
nonceValue?: InputMaybe<Scalars['String']['input']>;
|
|
785
|
+
paymentProviderAccountId: Scalars['String']['input'];
|
|
786
|
+
walletId?: InputMaybe<Scalars['String']['input']>;
|
|
787
|
+
walletType: DigitalWallet;
|
|
788
|
+
};
|
|
789
|
+
type ProvisionStatusUpdateInput = {
|
|
790
|
+
deviceAccountId: Scalars['String']['input'];
|
|
791
|
+
errorDescription?: InputMaybe<Scalars['String']['input']>;
|
|
792
|
+
paymentProviderAccountId: Scalars['String']['input'];
|
|
793
|
+
status: ProvisioningStatus;
|
|
794
|
+
};
|
|
795
|
+
declare enum ProvisioningStatus {
|
|
796
|
+
Error = "ERROR",
|
|
797
|
+
Success = "SUCCESS",
|
|
798
|
+
}
|
|
799
|
+
type PurchaseDaysOfWeekInput = {
|
|
800
|
+
friday: Scalars['Boolean']['input'];
|
|
801
|
+
monday: Scalars['Boolean']['input'];
|
|
802
|
+
saturday: Scalars['Boolean']['input'];
|
|
803
|
+
sunday: Scalars['Boolean']['input'];
|
|
804
|
+
thursday: Scalars['Boolean']['input'];
|
|
805
|
+
tuesday: Scalars['Boolean']['input'];
|
|
806
|
+
wednesday: Scalars['Boolean']['input'];
|
|
807
|
+
};
|
|
808
|
+
type PurchaseTimeRangeInput = {
|
|
809
|
+
from?: InputMaybe<Scalars['String']['input']>;
|
|
810
|
+
to?: InputMaybe<Scalars['String']['input']>;
|
|
811
|
+
};
|
|
746
812
|
declare enum RoleType {
|
|
747
813
|
Admin = "ADMIN",
|
|
748
814
|
Driver = "DRIVER",
|
|
@@ -750,30 +816,34 @@ declare enum RoleType {
|
|
|
750
816
|
Manager = "MANAGER",
|
|
751
817
|
ViewOnly = "VIEW_ONLY",
|
|
752
818
|
}
|
|
753
|
-
|
|
819
|
+
type ServiceFuelInput = {
|
|
754
820
|
additionalInfo?: InputMaybe<AdditionalServicePayInfoInput>;
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
deviceId?: InputMaybe<Scalars["String"]["input"]>;
|
|
760
|
-
/** Specify the pump number. */
|
|
821
|
+
pumpNumber: Scalars['Int']['input'];
|
|
822
|
+
};
|
|
823
|
+
type ServicePayInput = {
|
|
824
|
+
deviceId?: InputMaybe<Scalars['String']['input']>;
|
|
761
825
|
fuel?: InputMaybe<ServiceFuelInput>;
|
|
762
|
-
localTime?: InputMaybe<Scalars[
|
|
763
|
-
locationId: Scalars[
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
/** Latitude and longitude. */
|
|
826
|
+
localTime?: InputMaybe<Scalars['String']['input']>;
|
|
827
|
+
locationId: Scalars['ID']['input'];
|
|
828
|
+
openloopFallback?: InputMaybe<Scalars['Boolean']['input']>;
|
|
829
|
+
paymentMethodType?: InputMaybe<PaymentMethodType>;
|
|
767
830
|
position: PositionInput;
|
|
768
|
-
requestId: Scalars[
|
|
769
|
-
vehicleId: Scalars[
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
831
|
+
requestId: Scalars['ID']['input'];
|
|
832
|
+
vehicleId: Scalars['ID']['input'];
|
|
833
|
+
};
|
|
834
|
+
declare enum SortDirection {
|
|
835
|
+
Asc = "ASC",
|
|
836
|
+
AscNullsFirst = "ASC_NULLS_FIRST",
|
|
837
|
+
AscNullsLast = "ASC_NULLS_LAST",
|
|
838
|
+
Desc = "DESC",
|
|
839
|
+
DescNullsFirst = "DESC_NULLS_FIRST",
|
|
840
|
+
DescNullsLast = "DESC_NULLS_LAST",
|
|
841
|
+
}
|
|
842
|
+
type SpendRestrictionsDayInput = {
|
|
843
|
+
isEnabled: Scalars['Boolean']['input'];
|
|
844
|
+
purchaseTimes?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;
|
|
845
|
+
};
|
|
846
|
+
type SpendRestrictionsDaysOfWeekInput = {
|
|
777
847
|
friday: SpendRestrictionsDayInput;
|
|
778
848
|
monday: SpendRestrictionsDayInput;
|
|
779
849
|
saturday: SpendRestrictionsDayInput;
|
|
@@ -781,47 +851,35 @@ interface SpendRestrictionsDaysOfWeekInput {
|
|
|
781
851
|
thursday: SpendRestrictionsDayInput;
|
|
782
852
|
tuesday: SpendRestrictionsDayInput;
|
|
783
853
|
wednesday: SpendRestrictionsDayInput;
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
/** Max dollar amount per week. 0 or null turns this restriction off. */
|
|
791
|
-
amountPerWeek?: InputMaybe<Scalars["Int"]["input"]>;
|
|
792
|
-
/** Enforce checking the location of the vehicle during transaction */
|
|
793
|
-
checkLocation?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
794
|
-
/** Deprecated. Define which days and times vehicles can transact at for fueling. */
|
|
854
|
+
};
|
|
855
|
+
type SpendRestrictionsInput = {
|
|
856
|
+
amountPerDay?: InputMaybe<Scalars['String']['input']>;
|
|
857
|
+
amountPerTransaction?: InputMaybe<Scalars['String']['input']>;
|
|
858
|
+
amountPerWeek?: InputMaybe<Scalars['Int']['input']>;
|
|
859
|
+
checkLocation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
795
860
|
daysOfWeek?: InputMaybe<SpendRestrictionsDaysOfWeekInput>;
|
|
796
|
-
|
|
797
|
-
enforceFuelSpendEstimation?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
798
|
-
/** Deprecated, use direct spend restrictions settings */
|
|
861
|
+
enforceFuelSpendEstimation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
799
862
|
fuel?: InputMaybe<FuelRestrictionsInput>;
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
/** Email or phone */
|
|
863
|
+
noOfTransactions?: InputMaybe<Scalars['Int']['input']>;
|
|
864
|
+
predefinedRule?: InputMaybe<Scalars['String']['input']>;
|
|
865
|
+
};
|
|
866
|
+
type TtpTokenizationInput = {
|
|
867
|
+
deviceId: Scalars['String']['input'];
|
|
868
|
+
requestId?: InputMaybe<Scalars['String']['input']>;
|
|
869
|
+
};
|
|
870
|
+
type UserCreateInput = {
|
|
871
|
+
additionalInfo?: InputMaybe<AdditionalInfoInput>;
|
|
872
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
873
|
+
employeeId?: InputMaybe<Scalars['String']['input']>;
|
|
874
|
+
entityId: Scalars['ID']['input'];
|
|
875
|
+
firstName: Scalars['String']['input'];
|
|
876
|
+
lastName: Scalars['String']['input'];
|
|
815
877
|
loginType?: InputMaybe<LoginType>;
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
phoneNumber: Scalars["String"]["input"];
|
|
819
|
-
/** Role type of user such as Driver, Manager, or Admin. */
|
|
878
|
+
organizationId?: InputMaybe<Scalars['ID']['input']>;
|
|
879
|
+
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
820
880
|
role: RoleType;
|
|
821
|
-
}
|
|
822
|
-
/** Status of a given user. */
|
|
881
|
+
};
|
|
823
882
|
declare enum UserStatus {
|
|
824
|
-
/** Also known as offboarded */
|
|
825
883
|
Deactivated = "DEACTIVATED",
|
|
826
884
|
Deleted = "DELETED",
|
|
827
885
|
Invited = "INVITED",
|
|
@@ -829,87 +887,93 @@ declare enum UserStatus {
|
|
|
829
887
|
Onboarded = "ONBOARDED",
|
|
830
888
|
Unknown = "UNKNOWN",
|
|
831
889
|
}
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
/** Entity that this vehicle group will belong to. */
|
|
840
|
-
entityId?: InputMaybe<Scalars["ID"]["input"]>;
|
|
841
|
-
externalId?: InputMaybe<Scalars["String"]["input"]>;
|
|
842
|
-
/** Enable adding Job Code to transactions. */
|
|
843
|
-
jobCodeEnabled?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
844
|
-
/** Job code entry option, which defines whether the job code is predefined or freeform. */
|
|
890
|
+
type VehicleGroupCreateInput = {
|
|
891
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
892
|
+
driverEnteredOdometerEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
893
|
+
drivers?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
894
|
+
entityId?: InputMaybe<Scalars['ID']['input']>;
|
|
895
|
+
externalId?: InputMaybe<Scalars['String']['input']>;
|
|
896
|
+
jobCodeEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
845
897
|
jobCodeEntryOption?: InputMaybe<JobCodeEntryOptionEnum>;
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
/** Name of vehicle group. */
|
|
851
|
-
name: Scalars["String"]["input"];
|
|
852
|
-
/** Organization that this vehicle group will belong to. */
|
|
853
|
-
organizationId?: InputMaybe<Scalars["ID"]["input"]>;
|
|
854
|
-
/** 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. */
|
|
898
|
+
jobCodeEntryOptional?: InputMaybe<Scalars['Boolean']['input']>;
|
|
899
|
+
jobCodeOptions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
900
|
+
name: Scalars['String']['input'];
|
|
901
|
+
organizationId?: InputMaybe<Scalars['ID']['input']>;
|
|
855
902
|
spendRestrictions: SpendRestrictionsInput;
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
}
|
|
903
|
+
vehicles?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
904
|
+
};
|
|
905
|
+
type VehicleGroupDriversAddInput = {
|
|
906
|
+
drivers: Array<Scalars['ID']['input']>;
|
|
907
|
+
vehicleGroupId: Scalars['ID']['input'];
|
|
908
|
+
};
|
|
909
|
+
type VehicleGroupVehiclesAddInput = {
|
|
910
|
+
vehicleGroupId: Scalars['ID']['input'];
|
|
911
|
+
vehicles: Array<Scalars['ID']['input']>;
|
|
912
|
+
};
|
|
913
|
+
type VehicleGroupsFilterInput = {
|
|
914
|
+
filter: VehicleGroupsFilterOptions;
|
|
915
|
+
page: PageRequest;
|
|
916
|
+
sortOptions?: InputMaybe<VehicleGroupsSortOptions>;
|
|
917
|
+
};
|
|
918
|
+
type VehicleGroupsFilterOptions = {
|
|
919
|
+
driverId?: InputMaybe<Scalars['ID']['input']>;
|
|
920
|
+
entityId?: InputMaybe<Scalars['ID']['input']>;
|
|
921
|
+
includeChildren?: InputMaybe<Scalars['Boolean']['input']>;
|
|
922
|
+
includeSpendControls?: InputMaybe<Scalars['Boolean']['input']>;
|
|
923
|
+
};
|
|
924
|
+
declare enum VehicleGroupsSortField {
|
|
925
|
+
Description = "DESCRIPTION",
|
|
926
|
+
DriverCount = "DRIVER_COUNT",
|
|
927
|
+
LastTransactionDate = "LAST_TRANSACTION_DATE",
|
|
928
|
+
Name = "NAME",
|
|
929
|
+
VehicleCount = "VEHICLE_COUNT",
|
|
930
|
+
}
|
|
931
|
+
type VehicleGroupsSortOptions = {
|
|
932
|
+
direction: SortDirection;
|
|
933
|
+
orderBy: VehicleGroupsSortField;
|
|
934
|
+
};
|
|
935
|
+
type VehicleUpdateInput = {
|
|
936
|
+
customFields?: InputMaybe<Array<InputMaybe<HashMapInput>>>;
|
|
937
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
938
|
+
id: Scalars['ID']['input'];
|
|
939
|
+
licensePlate?: InputMaybe<Scalars['String']['input']>;
|
|
940
|
+
licensePlateState?: InputMaybe<Scalars['String']['input']>;
|
|
941
|
+
number?: InputMaybe<Scalars['String']['input']>;
|
|
942
|
+
};
|
|
943
|
+
type VehiclesOnboardInput = {
|
|
944
|
+
customFields?: InputMaybe<Array<InputMaybe<HashMapInput>>>;
|
|
945
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
946
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
947
|
+
licensePlate?: InputMaybe<Scalars['String']['input']>;
|
|
948
|
+
licensePlateState?: InputMaybe<Scalars['String']['input']>;
|
|
949
|
+
number?: InputMaybe<Scalars['String']['input']>;
|
|
950
|
+
vehicleGroupId: Scalars['ID']['input'];
|
|
951
|
+
vin?: InputMaybe<Scalars['String']['input']>;
|
|
952
|
+
};
|
|
953
|
+
type VehiclesOnboardInputList = {
|
|
954
|
+
vehicles?: InputMaybe<Array<InputMaybe<VehiclesOnboardInput>>>;
|
|
955
|
+
};
|
|
956
|
+
type AdditionalServicePayInfoInput = {
|
|
957
|
+
jobCode?: InputMaybe<Scalars['String']['input']>;
|
|
958
|
+
odometer?: InputMaybe<Scalars['Int']['input']>;
|
|
959
|
+
};
|
|
896
960
|
type ApiKeyCreateMutationVariables = Exact<{
|
|
897
961
|
input: ApiKeyCreateInput;
|
|
898
962
|
}>;
|
|
899
|
-
|
|
900
|
-
__typename?:
|
|
963
|
+
type ApiKeyCreateMutation = {
|
|
964
|
+
__typename?: 'Mutation';
|
|
901
965
|
apiKeyCreate?: {
|
|
902
|
-
__typename?:
|
|
966
|
+
__typename?: 'ApiKeyCreateOutput';
|
|
903
967
|
apiKey: string;
|
|
904
968
|
} | null;
|
|
905
|
-
}
|
|
969
|
+
};
|
|
906
970
|
type OrganizationCreateMutationVariables = Exact<{
|
|
907
971
|
input: OrganizationCreateInput;
|
|
908
972
|
}>;
|
|
909
|
-
|
|
910
|
-
__typename?:
|
|
973
|
+
type OrganizationCreateMutation = {
|
|
974
|
+
__typename?: 'Mutation';
|
|
911
975
|
organizationCreate?: {
|
|
912
|
-
__typename?:
|
|
976
|
+
__typename?: 'Organization';
|
|
913
977
|
id: string;
|
|
914
978
|
name?: string | null;
|
|
915
979
|
onboardedAt?: string | null;
|
|
@@ -918,7 +982,7 @@ interface OrganizationCreateMutation {
|
|
|
918
982
|
updatedAt?: string | null;
|
|
919
983
|
deletedAt?: string | null;
|
|
920
984
|
address?: {
|
|
921
|
-
__typename?:
|
|
985
|
+
__typename?: 'Address';
|
|
922
986
|
line1?: string | null;
|
|
923
987
|
line2?: string | null;
|
|
924
988
|
city?: string | null;
|
|
@@ -927,14 +991,14 @@ interface OrganizationCreateMutation {
|
|
|
927
991
|
zip?: string | null;
|
|
928
992
|
} | null;
|
|
929
993
|
} | null;
|
|
930
|
-
}
|
|
994
|
+
};
|
|
931
995
|
type EntityCreateMutationVariables = Exact<{
|
|
932
996
|
input: EntityCreateInput;
|
|
933
997
|
}>;
|
|
934
|
-
|
|
935
|
-
__typename?:
|
|
998
|
+
type EntityCreateMutation = {
|
|
999
|
+
__typename?: 'Mutation';
|
|
936
1000
|
entityCreate?: {
|
|
937
|
-
__typename?:
|
|
1001
|
+
__typename?: 'Entity';
|
|
938
1002
|
id: string;
|
|
939
1003
|
name?: string | null;
|
|
940
1004
|
description?: string | null;
|
|
@@ -945,36 +1009,85 @@ interface EntityCreateMutation {
|
|
|
945
1009
|
insertedAt?: string | null;
|
|
946
1010
|
updatedAt?: string | null;
|
|
947
1011
|
} | null;
|
|
948
|
-
}
|
|
1012
|
+
};
|
|
949
1013
|
type MachineTokenizeUserMutationVariables = Exact<{
|
|
950
1014
|
input?: InputMaybe<MachineTokenizeUserInput>;
|
|
951
1015
|
}>;
|
|
952
|
-
|
|
953
|
-
__typename?:
|
|
1016
|
+
type MachineTokenizeUserMutation = {
|
|
1017
|
+
__typename?: 'Mutation';
|
|
954
1018
|
machineTokenizeUser?: {
|
|
955
|
-
__typename?:
|
|
1019
|
+
__typename?: 'MachineUserToken';
|
|
956
1020
|
access_token: string;
|
|
957
1021
|
expires_in: number;
|
|
958
1022
|
} | null;
|
|
959
|
-
}
|
|
1023
|
+
};
|
|
1024
|
+
type ProvisionCardMutationVariables = Exact<{
|
|
1025
|
+
input: ProvisionCardInput;
|
|
1026
|
+
}>;
|
|
1027
|
+
type ProvisionCardMutation = {
|
|
1028
|
+
__typename?: 'Mutation';
|
|
1029
|
+
provisionCard: {
|
|
1030
|
+
__typename?: 'ProvisionCardResponse';
|
|
1031
|
+
encryptedData?: string | null;
|
|
1032
|
+
activationData?: string | null;
|
|
1033
|
+
publicKey?: string | null;
|
|
1034
|
+
lastFourDigits?: string | null;
|
|
1035
|
+
displayName?: string | null;
|
|
1036
|
+
cardNetwork?: CardNetwork | null;
|
|
1037
|
+
};
|
|
1038
|
+
};
|
|
1039
|
+
type ProvisionStatusUpdateMutationVariables = Exact<{
|
|
1040
|
+
input: ProvisionStatusUpdateInput;
|
|
1041
|
+
}>;
|
|
1042
|
+
type ProvisionStatusUpdateMutation = {
|
|
1043
|
+
__typename?: 'Mutation';
|
|
1044
|
+
provisionStatusUpdate: {
|
|
1045
|
+
__typename?: 'BooleanSuccessOutput';
|
|
1046
|
+
success: boolean;
|
|
1047
|
+
};
|
|
1048
|
+
};
|
|
960
1049
|
type ServicePayMutationVariables = Exact<{
|
|
961
1050
|
input: ServicePayInput;
|
|
962
1051
|
}>;
|
|
963
|
-
|
|
964
|
-
__typename?:
|
|
1052
|
+
type ServicePayMutation = {
|
|
1053
|
+
__typename?: 'Mutation';
|
|
965
1054
|
servicePay?: {
|
|
966
|
-
__typename?:
|
|
1055
|
+
__typename?: 'ServicePayOutput';
|
|
967
1056
|
requestId: string;
|
|
968
1057
|
transactionId: string;
|
|
969
1058
|
} | null;
|
|
970
|
-
}
|
|
1059
|
+
};
|
|
1060
|
+
type TtpTokenizationMutationVariables = Exact<{
|
|
1061
|
+
input: TtpTokenizationInput;
|
|
1062
|
+
}>;
|
|
1063
|
+
type TtpTokenizationMutation = {
|
|
1064
|
+
__typename?: 'Mutation';
|
|
1065
|
+
ttpTokenization?: {
|
|
1066
|
+
__typename?: 'TtpTokenizationOutput';
|
|
1067
|
+
requestId?: string | null;
|
|
1068
|
+
success?: boolean | null;
|
|
1069
|
+
paymentProviderAccountId?: string | null;
|
|
1070
|
+
deviceAccountId?: string | null;
|
|
1071
|
+
lastFourDigits?: string | null;
|
|
1072
|
+
displayName?: string | null;
|
|
1073
|
+
cardFlag?: CardNetwork | null;
|
|
1074
|
+
programSupports?: {
|
|
1075
|
+
__typename?: 'ProgramSupports';
|
|
1076
|
+
isCloseLoopSupported?: boolean | null;
|
|
1077
|
+
isDcSupported?: boolean | null;
|
|
1078
|
+
isPhysicalCardSupported?: boolean | null;
|
|
1079
|
+
isTtpSupported?: boolean | null;
|
|
1080
|
+
isUsingInternalProgram?: boolean | null;
|
|
1081
|
+
} | null;
|
|
1082
|
+
} | null;
|
|
1083
|
+
};
|
|
971
1084
|
type UserCreateMutationVariables = Exact<{
|
|
972
1085
|
input: UserCreateInput;
|
|
973
1086
|
}>;
|
|
974
|
-
|
|
975
|
-
__typename?:
|
|
1087
|
+
type UserCreateMutation = {
|
|
1088
|
+
__typename?: 'Mutation';
|
|
976
1089
|
userCreate?: {
|
|
977
|
-
__typename?:
|
|
1090
|
+
__typename?: 'User';
|
|
978
1091
|
id?: string | null;
|
|
979
1092
|
firstName?: string | null;
|
|
980
1093
|
lastName?: string | null;
|
|
@@ -991,14 +1104,14 @@ interface UserCreateMutation {
|
|
|
991
1104
|
insertedAt?: string | null;
|
|
992
1105
|
updatedAt?: string | null;
|
|
993
1106
|
} | null;
|
|
994
|
-
}
|
|
1107
|
+
};
|
|
995
1108
|
type VehicleGroupCreateMutationVariables = Exact<{
|
|
996
1109
|
input: VehicleGroupCreateInput;
|
|
997
1110
|
}>;
|
|
998
|
-
|
|
999
|
-
__typename?:
|
|
1111
|
+
type VehicleGroupCreateMutation = {
|
|
1112
|
+
__typename?: 'Mutation';
|
|
1000
1113
|
vehicleGroupCreate?: {
|
|
1001
|
-
__typename?:
|
|
1114
|
+
__typename?: 'IndividualVehicleGroup';
|
|
1002
1115
|
id: string;
|
|
1003
1116
|
code?: string | null;
|
|
1004
1117
|
name?: string | null;
|
|
@@ -1009,14 +1122,14 @@ interface VehicleGroupCreateMutation {
|
|
|
1009
1122
|
insertedAt?: string | null;
|
|
1010
1123
|
updatedAt?: string | null;
|
|
1011
1124
|
} | null;
|
|
1012
|
-
}
|
|
1125
|
+
};
|
|
1013
1126
|
type VehicleGroupDriversAddMutationVariables = Exact<{
|
|
1014
1127
|
input: VehicleGroupDriversAddInput;
|
|
1015
1128
|
}>;
|
|
1016
|
-
|
|
1017
|
-
__typename?:
|
|
1129
|
+
type VehicleGroupDriversAddMutation = {
|
|
1130
|
+
__typename?: 'Mutation';
|
|
1018
1131
|
vehicleGroupDriversAdd?: {
|
|
1019
|
-
__typename?:
|
|
1132
|
+
__typename?: 'VehicleGroup';
|
|
1020
1133
|
id: string;
|
|
1021
1134
|
name?: string | null;
|
|
1022
1135
|
description?: string | null;
|
|
@@ -1026,14 +1139,14 @@ interface VehicleGroupDriversAddMutation {
|
|
|
1026
1139
|
insertedAt?: string | null;
|
|
1027
1140
|
updatedAt?: string | null;
|
|
1028
1141
|
} | null;
|
|
1029
|
-
}
|
|
1142
|
+
};
|
|
1030
1143
|
type VehicleGroupVehiclesAddMutationVariables = Exact<{
|
|
1031
1144
|
input: VehicleGroupVehiclesAddInput;
|
|
1032
1145
|
}>;
|
|
1033
|
-
|
|
1034
|
-
__typename?:
|
|
1146
|
+
type VehicleGroupVehiclesAddMutation = {
|
|
1147
|
+
__typename?: 'Mutation';
|
|
1035
1148
|
vehicleGroupVehiclesAdd?: {
|
|
1036
|
-
__typename?:
|
|
1149
|
+
__typename?: 'VehicleGroup';
|
|
1037
1150
|
id: string;
|
|
1038
1151
|
name?: string | null;
|
|
1039
1152
|
description?: string | null;
|
|
@@ -1043,45 +1156,95 @@ interface VehicleGroupVehiclesAddMutation {
|
|
|
1043
1156
|
insertedAt?: string | null;
|
|
1044
1157
|
updatedAt?: string | null;
|
|
1045
1158
|
} | null;
|
|
1046
|
-
}
|
|
1159
|
+
};
|
|
1160
|
+
type VehicleUpdateMutationVariables = Exact<{
|
|
1161
|
+
input: VehicleUpdateInput;
|
|
1162
|
+
}>;
|
|
1163
|
+
type VehicleUpdateMutation = {
|
|
1164
|
+
__typename?: 'Mutation';
|
|
1165
|
+
vehicleUpdate?: string | null;
|
|
1166
|
+
};
|
|
1167
|
+
type VehicleGroupsFilterQueryVariables = Exact<{
|
|
1168
|
+
input: VehicleGroupsFilterInput;
|
|
1169
|
+
}>;
|
|
1170
|
+
type VehicleGroupsFilterQuery = {
|
|
1171
|
+
__typename?: 'Query';
|
|
1172
|
+
vehicleGroupsFilter?: {
|
|
1173
|
+
__typename?: 'VehicleGroupsPage';
|
|
1174
|
+
data?: Array<{
|
|
1175
|
+
__typename?: 'VehicleGroup';
|
|
1176
|
+
id: string;
|
|
1177
|
+
name?: string | null;
|
|
1178
|
+
description?: string | null;
|
|
1179
|
+
externalId?: string | null;
|
|
1180
|
+
} | null> | null;
|
|
1181
|
+
meta?: {
|
|
1182
|
+
__typename?: 'PageMeta';
|
|
1183
|
+
limit?: number | null;
|
|
1184
|
+
offset?: number | null;
|
|
1185
|
+
total?: number | null;
|
|
1186
|
+
} | null;
|
|
1187
|
+
} | null;
|
|
1188
|
+
};
|
|
1047
1189
|
type VehiclesOnboardMutationVariables = Exact<{
|
|
1048
1190
|
input: VehiclesOnboardInputList;
|
|
1049
1191
|
}>;
|
|
1050
|
-
|
|
1051
|
-
__typename?:
|
|
1192
|
+
type VehiclesOnboardMutation = {
|
|
1193
|
+
__typename?: 'Mutation';
|
|
1052
1194
|
vehiclesOnboard?: {
|
|
1053
|
-
__typename?:
|
|
1054
|
-
vehicles?:
|
|
1055
|
-
__typename?:
|
|
1195
|
+
__typename?: 'VehiclesOnboardOutputList';
|
|
1196
|
+
vehicles?: Array<{
|
|
1197
|
+
__typename?: 'VehiclesOnboardOutput';
|
|
1056
1198
|
id?: string | null;
|
|
1057
1199
|
vin?: string | null;
|
|
1058
1200
|
vehicleGroupId: string;
|
|
1059
1201
|
success?: boolean | null;
|
|
1060
1202
|
error?: string | null;
|
|
1061
|
-
} | null
|
|
1203
|
+
} | null> | null;
|
|
1062
1204
|
} | null;
|
|
1063
|
-
}
|
|
1064
|
-
type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
1065
|
-
declare function getProdSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
1066
|
-
apiKeyCreate(variables: ApiKeyCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ApiKeyCreateMutation>;
|
|
1067
|
-
organizationCreate(variables: OrganizationCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<OrganizationCreateMutation>;
|
|
1068
|
-
entityCreate(variables: EntityCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<EntityCreateMutation>;
|
|
1069
|
-
machineTokenizeUser(variables?: MachineTokenizeUserMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MachineTokenizeUserMutation>;
|
|
1070
|
-
servicePay(variables: ServicePayMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ServicePayMutation>;
|
|
1071
|
-
userCreate(variables: UserCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UserCreateMutation>;
|
|
1072
|
-
vehicleGroupCreate(variables: VehicleGroupCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<VehicleGroupCreateMutation>;
|
|
1073
|
-
vehicleGroupDriversAdd(variables: VehicleGroupDriversAddMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<VehicleGroupDriversAddMutation>;
|
|
1074
|
-
vehicleGroupVehiclesAdd(variables: VehicleGroupVehiclesAddMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<VehicleGroupVehiclesAddMutation>;
|
|
1075
|
-
vehiclesOnboard(variables: VehiclesOnboardMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<VehiclesOnboardMutation>;
|
|
1076
1205
|
};
|
|
1077
1206
|
//#endregion
|
|
1078
1207
|
//#region src/client.d.ts
|
|
1079
1208
|
interface ElementPayClientConfig {
|
|
1080
|
-
endpoint: string;
|
|
1081
1209
|
apiKey: string;
|
|
1082
|
-
environment?:
|
|
1083
|
-
|
|
1084
|
-
|
|
1210
|
+
environment?: 'int' | 'stage';
|
|
1211
|
+
endpoint?: string;
|
|
1212
|
+
}
|
|
1213
|
+
declare function createElementPayClient(config: ElementPayClientConfig): {
|
|
1214
|
+
apiKeyCreate(variables: ApiKeyCreateMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ApiKeyCreateMutation$1>;
|
|
1215
|
+
organizationCreate(variables: OrganizationCreateMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<OrganizationCreateMutation$1>;
|
|
1216
|
+
entityCreate(variables: EntityCreateMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<EntityCreateMutation$1>;
|
|
1217
|
+
clientOnboard(variables: ClientOnboardMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ClientOnboardMutation>;
|
|
1218
|
+
entityGetExternalId(variables?: EntityGetExternalIdQueryVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<EntityGetExternalIdQuery>;
|
|
1219
|
+
machineTokenizeUser(variables?: MachineTokenizeUserMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<MachineTokenizeUserMutation$1>;
|
|
1220
|
+
provisionCard(variables: ProvisionCardMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ProvisionCardMutation$1>;
|
|
1221
|
+
provisionStatusUpdate(variables: ProvisionStatusUpdateMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ProvisionStatusUpdateMutation$1>;
|
|
1222
|
+
servicePay(variables: ServicePayMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ServicePayMutation$1>;
|
|
1223
|
+
ttpTokenization(variables: TtpTokenizationMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<TtpTokenizationMutation$1>;
|
|
1224
|
+
userCreate(variables: UserCreateMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<UserCreateMutation$1>;
|
|
1225
|
+
vehicleGroupCreate(variables: VehicleGroupCreateMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupCreateMutation$1>;
|
|
1226
|
+
vehicleGroupDriversAdd(variables: VehicleGroupDriversAddMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupDriversAddMutation$1>;
|
|
1227
|
+
vehicleGroupVehiclesAdd(variables: VehicleGroupVehiclesAddMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupVehiclesAddMutation$1>;
|
|
1228
|
+
vehicleUpdate(variables: VehicleUpdateMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleUpdateMutation$1>;
|
|
1229
|
+
vehicleGroupsFilter(variables: VehicleGroupsFilterQueryVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupsFilterQuery$1>;
|
|
1230
|
+
vehiclesOnboard(variables: VehiclesOnboardMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehiclesOnboardMutation$1>;
|
|
1231
|
+
} | {
|
|
1232
|
+
apiKeyCreate(variables: ApiKeyCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ApiKeyCreateMutation>;
|
|
1233
|
+
organizationCreate(variables: OrganizationCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<OrganizationCreateMutation>;
|
|
1234
|
+
entityCreate(variables: EntityCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<EntityCreateMutation>;
|
|
1235
|
+
machineTokenizeUser(variables?: MachineTokenizeUserMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<MachineTokenizeUserMutation>;
|
|
1236
|
+
provisionCard(variables: ProvisionCardMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ProvisionCardMutation>;
|
|
1237
|
+
provisionStatusUpdate(variables: ProvisionStatusUpdateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ProvisionStatusUpdateMutation>;
|
|
1238
|
+
servicePay(variables: ServicePayMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ServicePayMutation>;
|
|
1239
|
+
ttpTokenization(variables: TtpTokenizationMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<TtpTokenizationMutation>;
|
|
1240
|
+
userCreate(variables: UserCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<UserCreateMutation>;
|
|
1241
|
+
vehicleGroupCreate(variables: VehicleGroupCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupCreateMutation>;
|
|
1242
|
+
vehicleGroupDriversAdd(variables: VehicleGroupDriversAddMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupDriversAddMutation>;
|
|
1243
|
+
vehicleGroupVehiclesAdd(variables: VehicleGroupVehiclesAddMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupVehiclesAddMutation>;
|
|
1244
|
+
vehicleUpdate(variables: VehicleUpdateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleUpdateMutation>;
|
|
1245
|
+
vehicleGroupsFilter(variables: VehicleGroupsFilterQueryVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupsFilterQuery>;
|
|
1246
|
+
vehiclesOnboard(variables: VehiclesOnboardMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehiclesOnboardMutation>;
|
|
1247
|
+
};
|
|
1085
1248
|
//#endregion
|
|
1086
1249
|
//#region src/pubSub/interfaces.d.ts
|
|
1087
1250
|
interface RawProvider {
|