@autofleet/element-pay 1.1.3 → 2.0.1
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/README.md +94 -24
- package/lib/index.cjs +23 -205
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +142 -672
- package/lib/index.d.ts +142 -672
- package/lib/index.js +23 -205
- package/lib/index.js.map +1 -1
- package/package.json +3 -4
package/lib/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FuelSupplier } from "@autofleet/common-types/lib/pit-stop";
|
|
2
2
|
|
|
3
|
-
//#region src/generated/
|
|
3
|
+
//#region src/generated/organization/sdk.d.ts
|
|
4
4
|
type Maybe$1<T> = T | null;
|
|
5
5
|
type InputMaybe$1<T> = Maybe$1<T>;
|
|
6
6
|
type Exact$1<T extends {
|
|
@@ -40,11 +40,11 @@ declare enum AccountType {
|
|
|
40
40
|
Credit = "CREDIT",
|
|
41
41
|
PrePaid = "PRE_PAID",
|
|
42
42
|
}
|
|
43
|
-
type AdditionalInfoInput
|
|
43
|
+
type AdditionalInfoInput = {
|
|
44
44
|
contactPhoneNumber?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
45
45
|
isCorporatePhone?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
46
46
|
};
|
|
47
|
-
type AddressInput
|
|
47
|
+
type AddressInput = {
|
|
48
48
|
city: Scalars$1['String']['input'];
|
|
49
49
|
country: Scalars$1['String']['input'];
|
|
50
50
|
line1: Scalars$1['String']['input'];
|
|
@@ -52,17 +52,13 @@ type AddressInput$1 = {
|
|
|
52
52
|
state: Scalars$1['String']['input'];
|
|
53
53
|
zip: Scalars$1['String']['input'];
|
|
54
54
|
};
|
|
55
|
-
type ApiKeyCreateInput
|
|
55
|
+
type ApiKeyCreateInput = {
|
|
56
56
|
entityId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
57
57
|
name: Scalars$1['String']['input'];
|
|
58
58
|
organizationId: Scalars$1['ID']['input'];
|
|
59
59
|
};
|
|
60
|
-
declare enum CardNetwork$1 {
|
|
61
|
-
Mastercard = "MASTERCARD",
|
|
62
|
-
Visa = "VISA",
|
|
63
|
-
}
|
|
64
60
|
type ClientOnboardInput = {
|
|
65
|
-
address: AddressInput
|
|
61
|
+
address: AddressInput;
|
|
66
62
|
checkLocationOverride?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
67
63
|
costFactorEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
68
64
|
email?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
@@ -74,14 +70,10 @@ type ClientOnboardInput = {
|
|
|
74
70
|
unitsId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
75
71
|
useTspMetadata?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
76
72
|
};
|
|
77
|
-
|
|
78
|
-
DigitalWalletAndroid = "DIGITAL_WALLET_ANDROID",
|
|
79
|
-
DigitalWalletApple = "DIGITAL_WALLET_APPLE",
|
|
80
|
-
}
|
|
81
|
-
type EntityCreateInput$1 = {
|
|
73
|
+
type EntityCreateInput = {
|
|
82
74
|
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
83
75
|
externalId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
84
|
-
funding?: InputMaybe$1<FundingSource
|
|
76
|
+
funding?: InputMaybe$1<FundingSource>;
|
|
85
77
|
hasFinance?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
86
78
|
name: Scalars$1['String']['input'];
|
|
87
79
|
organizationId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
@@ -92,39 +84,39 @@ declare enum FeeNetworkDesignationType {
|
|
|
92
84
|
InNetwork = "IN_NETWORK",
|
|
93
85
|
OutOfNetwork = "OUT_OF_NETWORK",
|
|
94
86
|
}
|
|
95
|
-
type FuelRestrictionsInput
|
|
87
|
+
type FuelRestrictionsInput = {
|
|
96
88
|
amountPerDay?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
97
89
|
amountPerTransaction?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
98
90
|
checkLocation?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
99
|
-
daysOfWeek?: InputMaybe$1<PurchaseDaysOfWeekInput
|
|
100
|
-
hours?: InputMaybe$1<PurchaseTimeRangeInput
|
|
91
|
+
daysOfWeek?: InputMaybe$1<PurchaseDaysOfWeekInput>;
|
|
92
|
+
hours?: InputMaybe$1<PurchaseTimeRangeInput>;
|
|
101
93
|
isEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
102
94
|
noOfTransactions?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
103
95
|
};
|
|
104
|
-
declare enum FundingSource
|
|
96
|
+
declare enum FundingSource {
|
|
105
97
|
Ach = "ACH",
|
|
106
98
|
Parent = "PARENT",
|
|
107
99
|
Unknown = "UNKNOWN",
|
|
108
100
|
}
|
|
109
|
-
type HashMapInput
|
|
101
|
+
type HashMapInput = {
|
|
110
102
|
key: Scalars$1['String']['input'];
|
|
111
103
|
value: Scalars$1['String']['input'];
|
|
112
104
|
};
|
|
113
|
-
declare enum JobCodeEntryOptionEnum
|
|
105
|
+
declare enum JobCodeEntryOptionEnum {
|
|
114
106
|
Freeform = "FREEFORM",
|
|
115
107
|
Predefined = "PREDEFINED",
|
|
116
108
|
}
|
|
117
|
-
declare enum LoginType
|
|
109
|
+
declare enum LoginType {
|
|
118
110
|
Email = "EMAIL",
|
|
119
111
|
External = "EXTERNAL",
|
|
120
112
|
Phone = "PHONE",
|
|
121
113
|
Unknown = "UNKNOWN",
|
|
122
114
|
}
|
|
123
|
-
type MachineTokenizeUserInput
|
|
115
|
+
type MachineTokenizeUserInput = {
|
|
124
116
|
userId: Scalars$1['ID']['input'];
|
|
125
117
|
};
|
|
126
|
-
type OrganizationCreateInput
|
|
127
|
-
address: AddressInput
|
|
118
|
+
type OrganizationCreateInput = {
|
|
119
|
+
address: AddressInput;
|
|
128
120
|
checkLocationOverride?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
129
121
|
costFactorEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
130
122
|
email?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
@@ -135,42 +127,11 @@ type OrganizationCreateInput$1 = {
|
|
|
135
127
|
unitsId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
136
128
|
useTspMetadata?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
137
129
|
};
|
|
138
|
-
type PageRequest
|
|
130
|
+
type PageRequest = {
|
|
139
131
|
limit?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
140
132
|
offset?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
141
133
|
};
|
|
142
|
-
|
|
143
|
-
DirectConnect = "DIRECT_CONNECT",
|
|
144
|
-
LinkedCard = "LINKED_CARD",
|
|
145
|
-
Ttp = "TTP",
|
|
146
|
-
Unspecified = "UNSPECIFIED",
|
|
147
|
-
}
|
|
148
|
-
type PositionInput$1 = {
|
|
149
|
-
latitude: Scalars$1['Float']['input'];
|
|
150
|
-
longitude: Scalars$1['Float']['input'];
|
|
151
|
-
};
|
|
152
|
-
type ProvisionCardInput$1 = {
|
|
153
|
-
deviceAccountId: Scalars$1['String']['input'];
|
|
154
|
-
googleHardwareId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
155
|
-
intermediateCertificate?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
156
|
-
leafCertificate?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
157
|
-
nonceSignature?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
158
|
-
nonceValue?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
159
|
-
paymentProviderAccountId: Scalars$1['String']['input'];
|
|
160
|
-
walletId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
161
|
-
walletType: DigitalWallet$1;
|
|
162
|
-
};
|
|
163
|
-
type ProvisionStatusUpdateInput$1 = {
|
|
164
|
-
deviceAccountId: Scalars$1['String']['input'];
|
|
165
|
-
errorDescription?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
166
|
-
paymentProviderAccountId: Scalars$1['String']['input'];
|
|
167
|
-
status: ProvisioningStatus$1;
|
|
168
|
-
};
|
|
169
|
-
declare enum ProvisioningStatus$1 {
|
|
170
|
-
Error = "ERROR",
|
|
171
|
-
Success = "SUCCESS",
|
|
172
|
-
}
|
|
173
|
-
type PurchaseDaysOfWeekInput$1 = {
|
|
134
|
+
type PurchaseDaysOfWeekInput = {
|
|
174
135
|
friday: Scalars$1['Boolean']['input'];
|
|
175
136
|
monday: Scalars$1['Boolean']['input'];
|
|
176
137
|
saturday: Scalars$1['Boolean']['input'];
|
|
@@ -179,33 +140,18 @@ type PurchaseDaysOfWeekInput$1 = {
|
|
|
179
140
|
tuesday: Scalars$1['Boolean']['input'];
|
|
180
141
|
wednesday: Scalars$1['Boolean']['input'];
|
|
181
142
|
};
|
|
182
|
-
type PurchaseTimeRangeInput
|
|
143
|
+
type PurchaseTimeRangeInput = {
|
|
183
144
|
from?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
184
145
|
to?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
185
146
|
};
|
|
186
|
-
declare enum RoleType
|
|
147
|
+
declare enum RoleType {
|
|
187
148
|
Admin = "ADMIN",
|
|
188
149
|
Driver = "DRIVER",
|
|
189
150
|
FullAccess = "FULL_ACCESS",
|
|
190
151
|
Manager = "MANAGER",
|
|
191
152
|
ViewOnly = "VIEW_ONLY",
|
|
192
153
|
}
|
|
193
|
-
|
|
194
|
-
additionalInfo?: InputMaybe$1<AdditionalServicePayInfoInput$1>;
|
|
195
|
-
pumpNumber: Scalars$1['Int']['input'];
|
|
196
|
-
};
|
|
197
|
-
type ServicePayInput$1 = {
|
|
198
|
-
deviceId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
199
|
-
fuel?: InputMaybe$1<ServiceFuelInput$1>;
|
|
200
|
-
localTime?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
201
|
-
locationId: Scalars$1['ID']['input'];
|
|
202
|
-
openloopFallback?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
203
|
-
paymentMethodType?: InputMaybe$1<PaymentMethodType$1>;
|
|
204
|
-
position: PositionInput$1;
|
|
205
|
-
requestId: Scalars$1['ID']['input'];
|
|
206
|
-
vehicleId: Scalars$1['ID']['input'];
|
|
207
|
-
};
|
|
208
|
-
declare enum SortDirection$1 {
|
|
154
|
+
declare enum SortDirection {
|
|
209
155
|
Asc = "ASC",
|
|
210
156
|
AscNullsFirst = "ASC_NULLS_FIRST",
|
|
211
157
|
AscNullsLast = "ASC_NULLS_LAST",
|
|
@@ -213,47 +159,44 @@ declare enum SortDirection$1 {
|
|
|
213
159
|
DescNullsFirst = "DESC_NULLS_FIRST",
|
|
214
160
|
DescNullsLast = "DESC_NULLS_LAST",
|
|
215
161
|
}
|
|
216
|
-
type SpendRestrictionsDayInput
|
|
162
|
+
type SpendRestrictionsDayInput = {
|
|
217
163
|
isEnabled: Scalars$1['Boolean']['input'];
|
|
218
|
-
purchaseTimes?: InputMaybe$1<Array<InputMaybe$1<PurchaseTimeRangeInput
|
|
164
|
+
purchaseTimes?: InputMaybe$1<Array<InputMaybe$1<PurchaseTimeRangeInput>>>;
|
|
219
165
|
};
|
|
220
|
-
type SpendRestrictionsDaysOfWeekInput
|
|
221
|
-
friday: SpendRestrictionsDayInput
|
|
222
|
-
monday: SpendRestrictionsDayInput
|
|
223
|
-
saturday: SpendRestrictionsDayInput
|
|
224
|
-
sunday: SpendRestrictionsDayInput
|
|
225
|
-
thursday: SpendRestrictionsDayInput
|
|
226
|
-
tuesday: SpendRestrictionsDayInput
|
|
227
|
-
wednesday: SpendRestrictionsDayInput
|
|
166
|
+
type SpendRestrictionsDaysOfWeekInput = {
|
|
167
|
+
friday: SpendRestrictionsDayInput;
|
|
168
|
+
monday: SpendRestrictionsDayInput;
|
|
169
|
+
saturday: SpendRestrictionsDayInput;
|
|
170
|
+
sunday: SpendRestrictionsDayInput;
|
|
171
|
+
thursday: SpendRestrictionsDayInput;
|
|
172
|
+
tuesday: SpendRestrictionsDayInput;
|
|
173
|
+
wednesday: SpendRestrictionsDayInput;
|
|
228
174
|
};
|
|
229
|
-
type SpendRestrictionsInput
|
|
175
|
+
type SpendRestrictionsInput = {
|
|
230
176
|
amountPerDay?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
231
177
|
amountPerTransaction?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
232
178
|
amountPerWeek?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
233
179
|
checkLocation?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
234
|
-
daysOfWeek?: InputMaybe$1<SpendRestrictionsDaysOfWeekInput
|
|
180
|
+
daysOfWeek?: InputMaybe$1<SpendRestrictionsDaysOfWeekInput>;
|
|
235
181
|
enforceFuelSpendEstimation?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
236
|
-
fuel?: InputMaybe$1<FuelRestrictionsInput
|
|
182
|
+
fuel?: InputMaybe$1<FuelRestrictionsInput>;
|
|
237
183
|
noOfTransactions?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
238
184
|
predefinedRule?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
239
185
|
};
|
|
240
|
-
type
|
|
241
|
-
|
|
242
|
-
requestId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
243
|
-
};
|
|
244
|
-
type UserCreateInput$1 = {
|
|
245
|
-
additionalInfo?: InputMaybe$1<AdditionalInfoInput$1>;
|
|
186
|
+
type UserCreateInput = {
|
|
187
|
+
additionalInfo?: InputMaybe$1<AdditionalInfoInput>;
|
|
246
188
|
email?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
247
189
|
employeeId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
248
190
|
entityId: Scalars$1['ID']['input'];
|
|
249
191
|
firstName: Scalars$1['String']['input'];
|
|
192
|
+
id?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
250
193
|
lastName: Scalars$1['String']['input'];
|
|
251
|
-
loginType?: InputMaybe$1<LoginType
|
|
194
|
+
loginType?: InputMaybe$1<LoginType>;
|
|
252
195
|
organizationId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
253
196
|
phoneNumber?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
254
|
-
role: RoleType
|
|
197
|
+
role: RoleType;
|
|
255
198
|
};
|
|
256
|
-
declare enum UserStatus
|
|
199
|
+
declare enum UserStatus {
|
|
257
200
|
Deactivated = "DEACTIVATED",
|
|
258
201
|
Deleted = "DELETED",
|
|
259
202
|
Invited = "INVITED",
|
|
@@ -261,61 +204,61 @@ declare enum UserStatus$1 {
|
|
|
261
204
|
Onboarded = "ONBOARDED",
|
|
262
205
|
Unknown = "UNKNOWN",
|
|
263
206
|
}
|
|
264
|
-
type VehicleGroupCreateInput
|
|
207
|
+
type VehicleGroupCreateInput = {
|
|
265
208
|
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
266
209
|
driverEnteredOdometerEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
267
210
|
drivers?: InputMaybe$1<Array<InputMaybe$1<Scalars$1['ID']['input']>>>;
|
|
268
211
|
entityId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
269
212
|
externalId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
270
213
|
jobCodeEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
271
|
-
jobCodeEntryOption?: InputMaybe$1<JobCodeEntryOptionEnum
|
|
214
|
+
jobCodeEntryOption?: InputMaybe$1<JobCodeEntryOptionEnum>;
|
|
272
215
|
jobCodeEntryOptional?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
273
216
|
jobCodeOptions?: InputMaybe$1<Array<InputMaybe$1<Scalars$1['String']['input']>>>;
|
|
274
217
|
name: Scalars$1['String']['input'];
|
|
275
218
|
organizationId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
276
|
-
spendRestrictions: SpendRestrictionsInput
|
|
219
|
+
spendRestrictions: SpendRestrictionsInput;
|
|
277
220
|
vehicles?: InputMaybe$1<Array<InputMaybe$1<Scalars$1['ID']['input']>>>;
|
|
278
221
|
};
|
|
279
|
-
type VehicleGroupDriversAddInput
|
|
222
|
+
type VehicleGroupDriversAddInput = {
|
|
280
223
|
drivers: Array<Scalars$1['ID']['input']>;
|
|
281
224
|
vehicleGroupId: Scalars$1['ID']['input'];
|
|
282
225
|
};
|
|
283
|
-
type VehicleGroupVehiclesAddInput
|
|
226
|
+
type VehicleGroupVehiclesAddInput = {
|
|
284
227
|
vehicleGroupId: Scalars$1['ID']['input'];
|
|
285
228
|
vehicles: Array<Scalars$1['ID']['input']>;
|
|
286
229
|
};
|
|
287
|
-
type VehicleGroupsFilterInput
|
|
288
|
-
filter: VehicleGroupsFilterOptions
|
|
289
|
-
page: PageRequest
|
|
290
|
-
sortOptions?: InputMaybe$1<VehicleGroupsSortOptions
|
|
230
|
+
type VehicleGroupsFilterInput = {
|
|
231
|
+
filter: VehicleGroupsFilterOptions;
|
|
232
|
+
page: PageRequest;
|
|
233
|
+
sortOptions?: InputMaybe$1<VehicleGroupsSortOptions>;
|
|
291
234
|
};
|
|
292
|
-
type VehicleGroupsFilterOptions
|
|
235
|
+
type VehicleGroupsFilterOptions = {
|
|
293
236
|
driverId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
294
237
|
entityId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
295
238
|
includeChildren?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
296
239
|
includeSpendControls?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
297
240
|
};
|
|
298
|
-
declare enum VehicleGroupsSortField
|
|
241
|
+
declare enum VehicleGroupsSortField {
|
|
299
242
|
Description = "DESCRIPTION",
|
|
300
243
|
DriverCount = "DRIVER_COUNT",
|
|
301
244
|
LastTransactionDate = "LAST_TRANSACTION_DATE",
|
|
302
245
|
Name = "NAME",
|
|
303
246
|
VehicleCount = "VEHICLE_COUNT",
|
|
304
247
|
}
|
|
305
|
-
type VehicleGroupsSortOptions
|
|
306
|
-
direction: SortDirection
|
|
307
|
-
orderBy: VehicleGroupsSortField
|
|
248
|
+
type VehicleGroupsSortOptions = {
|
|
249
|
+
direction: SortDirection;
|
|
250
|
+
orderBy: VehicleGroupsSortField;
|
|
308
251
|
};
|
|
309
|
-
type VehicleUpdateInput
|
|
310
|
-
customFields?: InputMaybe$1<Array<InputMaybe$1<HashMapInput
|
|
252
|
+
type VehicleUpdateInput = {
|
|
253
|
+
customFields?: InputMaybe$1<Array<InputMaybe$1<HashMapInput>>>;
|
|
311
254
|
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
312
255
|
id: Scalars$1['ID']['input'];
|
|
313
256
|
licensePlate?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
314
257
|
licensePlateState?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
315
258
|
number?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
316
259
|
};
|
|
317
|
-
type VehiclesOnboardInput
|
|
318
|
-
customFields?: InputMaybe$1<Array<InputMaybe$1<HashMapInput
|
|
260
|
+
type VehiclesOnboardInput = {
|
|
261
|
+
customFields?: InputMaybe$1<Array<InputMaybe$1<HashMapInput>>>;
|
|
319
262
|
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
320
263
|
id?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
321
264
|
licensePlate?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
@@ -324,27 +267,38 @@ type VehiclesOnboardInput$1 = {
|
|
|
324
267
|
vehicleGroupId: Scalars$1['ID']['input'];
|
|
325
268
|
vin?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
326
269
|
};
|
|
327
|
-
type VehiclesOnboardInputList
|
|
328
|
-
vehicles?: InputMaybe$1<Array<InputMaybe$1<VehiclesOnboardInput
|
|
329
|
-
};
|
|
330
|
-
type AdditionalServicePayInfoInput$1 = {
|
|
331
|
-
jobCode?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
332
|
-
odometer?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
270
|
+
type VehiclesOnboardInputList = {
|
|
271
|
+
vehicles?: InputMaybe$1<Array<InputMaybe$1<VehiclesOnboardInput>>>;
|
|
333
272
|
};
|
|
334
|
-
type ApiKeyCreateMutationVariables
|
|
335
|
-
input: ApiKeyCreateInput
|
|
273
|
+
type ApiKeyCreateMutationVariables = Exact$1<{
|
|
274
|
+
input: ApiKeyCreateInput;
|
|
336
275
|
}>;
|
|
337
|
-
type ApiKeyCreateMutation
|
|
276
|
+
type ApiKeyCreateMutation = {
|
|
338
277
|
__typename?: 'Mutation';
|
|
339
278
|
apiKeyCreate?: {
|
|
340
279
|
__typename?: 'ApiKeyCreateOutput';
|
|
341
280
|
apiKey: string;
|
|
342
281
|
} | null;
|
|
343
282
|
};
|
|
344
|
-
type
|
|
345
|
-
input:
|
|
283
|
+
type ClientOnboardMutationVariables = Exact$1<{
|
|
284
|
+
input: ClientOnboardInput;
|
|
285
|
+
}>;
|
|
286
|
+
type ClientOnboardMutation = {
|
|
287
|
+
__typename?: 'Mutation';
|
|
288
|
+
clientOnboard?: {
|
|
289
|
+
__typename?: 'Entity';
|
|
290
|
+
id: string;
|
|
291
|
+
name?: string | null;
|
|
292
|
+
externalId?: string | null;
|
|
293
|
+
insertedAt?: string | null;
|
|
294
|
+
updatedAt?: string | null;
|
|
295
|
+
deletedAt?: string | null;
|
|
296
|
+
} | null;
|
|
297
|
+
};
|
|
298
|
+
type OrganizationCreateMutationVariables = Exact$1<{
|
|
299
|
+
input: OrganizationCreateInput;
|
|
346
300
|
}>;
|
|
347
|
-
type OrganizationCreateMutation
|
|
301
|
+
type OrganizationCreateMutation = {
|
|
348
302
|
__typename?: 'Mutation';
|
|
349
303
|
organizationCreate?: {
|
|
350
304
|
__typename?: 'Organization';
|
|
@@ -366,10 +320,10 @@ type OrganizationCreateMutation$1 = {
|
|
|
366
320
|
} | null;
|
|
367
321
|
} | null;
|
|
368
322
|
};
|
|
369
|
-
type EntityCreateMutationVariables
|
|
370
|
-
input: EntityCreateInput
|
|
323
|
+
type EntityCreateMutationVariables = Exact$1<{
|
|
324
|
+
input: EntityCreateInput;
|
|
371
325
|
}>;
|
|
372
|
-
type EntityCreateMutation
|
|
326
|
+
type EntityCreateMutation = {
|
|
373
327
|
__typename?: 'Mutation';
|
|
374
328
|
entityCreate?: {
|
|
375
329
|
__typename?: 'Entity';
|
|
@@ -379,24 +333,9 @@ type EntityCreateMutation$1 = {
|
|
|
379
333
|
externalId?: string | null;
|
|
380
334
|
parentId?: string | null;
|
|
381
335
|
hasFinance?: boolean | null;
|
|
382
|
-
funding?: FundingSource
|
|
383
|
-
insertedAt?: string | null;
|
|
384
|
-
updatedAt?: string | null;
|
|
385
|
-
} | null;
|
|
386
|
-
};
|
|
387
|
-
type ClientOnboardMutationVariables = Exact$1<{
|
|
388
|
-
input: ClientOnboardInput;
|
|
389
|
-
}>;
|
|
390
|
-
type ClientOnboardMutation = {
|
|
391
|
-
__typename?: 'Mutation';
|
|
392
|
-
clientOnboard?: {
|
|
393
|
-
__typename?: 'Entity';
|
|
394
|
-
id: string;
|
|
395
|
-
name?: string | null;
|
|
396
|
-
externalId?: string | null;
|
|
336
|
+
funding?: FundingSource | null;
|
|
397
337
|
insertedAt?: string | null;
|
|
398
338
|
updatedAt?: string | null;
|
|
399
|
-
deletedAt?: string | null;
|
|
400
339
|
} | null;
|
|
401
340
|
};
|
|
402
341
|
type EntityGetExternalIdQueryVariables = Exact$1<{
|
|
@@ -413,7 +352,7 @@ type EntityGetExternalIdQuery = {
|
|
|
413
352
|
hasFinance?: boolean | null;
|
|
414
353
|
code?: string | null;
|
|
415
354
|
path?: string | null;
|
|
416
|
-
funding?: FundingSource
|
|
355
|
+
funding?: FundingSource | null;
|
|
417
356
|
insertedAt?: string | null;
|
|
418
357
|
updatedAt?: string | null;
|
|
419
358
|
deletedAt?: string | null;
|
|
@@ -448,10 +387,10 @@ type EntityGetExternalIdQuery = {
|
|
|
448
387
|
} | null;
|
|
449
388
|
} | null;
|
|
450
389
|
};
|
|
451
|
-
type MachineTokenizeUserMutationVariables
|
|
452
|
-
input?: InputMaybe$1<MachineTokenizeUserInput
|
|
390
|
+
type MachineTokenizeUserMutationVariables = Exact$1<{
|
|
391
|
+
input?: InputMaybe$1<MachineTokenizeUserInput>;
|
|
453
392
|
}>;
|
|
454
|
-
type MachineTokenizeUserMutation
|
|
393
|
+
type MachineTokenizeUserMutation = {
|
|
455
394
|
__typename?: 'Mutation';
|
|
456
395
|
machineTokenizeUser?: {
|
|
457
396
|
__typename?: 'MachineUserToken';
|
|
@@ -459,70 +398,10 @@ type MachineTokenizeUserMutation$1 = {
|
|
|
459
398
|
expires_in: number;
|
|
460
399
|
} | null;
|
|
461
400
|
};
|
|
462
|
-
type
|
|
463
|
-
input:
|
|
464
|
-
}>;
|
|
465
|
-
type ProvisionCardMutation$1 = {
|
|
466
|
-
__typename?: 'Mutation';
|
|
467
|
-
provisionCard: {
|
|
468
|
-
__typename?: 'ProvisionCardResponse';
|
|
469
|
-
encryptedData?: string | null;
|
|
470
|
-
activationData?: string | null;
|
|
471
|
-
publicKey?: string | null;
|
|
472
|
-
lastFourDigits?: string | null;
|
|
473
|
-
displayName?: string | null;
|
|
474
|
-
cardNetwork?: CardNetwork$1 | null;
|
|
475
|
-
};
|
|
476
|
-
};
|
|
477
|
-
type ProvisionStatusUpdateMutationVariables$1 = Exact$1<{
|
|
478
|
-
input: ProvisionStatusUpdateInput$1;
|
|
479
|
-
}>;
|
|
480
|
-
type ProvisionStatusUpdateMutation$1 = {
|
|
481
|
-
__typename?: 'Mutation';
|
|
482
|
-
provisionStatusUpdate: {
|
|
483
|
-
__typename?: 'BooleanSuccessOutput';
|
|
484
|
-
success: boolean;
|
|
485
|
-
};
|
|
486
|
-
};
|
|
487
|
-
type ServicePayMutationVariables$1 = Exact$1<{
|
|
488
|
-
input: ServicePayInput$1;
|
|
489
|
-
}>;
|
|
490
|
-
type ServicePayMutation$1 = {
|
|
491
|
-
__typename?: 'Mutation';
|
|
492
|
-
servicePay?: {
|
|
493
|
-
__typename?: 'ServicePayOutput';
|
|
494
|
-
requestId: string;
|
|
495
|
-
transactionId: string;
|
|
496
|
-
} | null;
|
|
497
|
-
};
|
|
498
|
-
type TtpTokenizationMutationVariables$1 = Exact$1<{
|
|
499
|
-
input: TtpTokenizationInput$1;
|
|
500
|
-
}>;
|
|
501
|
-
type TtpTokenizationMutation$1 = {
|
|
502
|
-
__typename?: 'Mutation';
|
|
503
|
-
ttpTokenization?: {
|
|
504
|
-
__typename?: 'TtpTokenizationOutput';
|
|
505
|
-
requestId?: string | null;
|
|
506
|
-
success?: boolean | null;
|
|
507
|
-
paymentProviderAccountId?: string | null;
|
|
508
|
-
deviceAccountId?: string | null;
|
|
509
|
-
lastFourDigits?: string | null;
|
|
510
|
-
displayName?: string | null;
|
|
511
|
-
cardFlag?: CardNetwork$1 | null;
|
|
512
|
-
programSupports?: {
|
|
513
|
-
__typename?: 'ProgramSupports';
|
|
514
|
-
isCloseLoopSupported?: boolean | null;
|
|
515
|
-
isDcSupported?: boolean | null;
|
|
516
|
-
isPhysicalCardSupported?: boolean | null;
|
|
517
|
-
isTtpSupported?: boolean | null;
|
|
518
|
-
isUsingInternalProgram?: boolean | null;
|
|
519
|
-
} | null;
|
|
520
|
-
} | null;
|
|
521
|
-
};
|
|
522
|
-
type UserCreateMutationVariables$1 = Exact$1<{
|
|
523
|
-
input: UserCreateInput$1;
|
|
401
|
+
type UserCreateMutationVariables = Exact$1<{
|
|
402
|
+
input: UserCreateInput;
|
|
524
403
|
}>;
|
|
525
|
-
type UserCreateMutation
|
|
404
|
+
type UserCreateMutation = {
|
|
526
405
|
__typename?: 'Mutation';
|
|
527
406
|
userCreate?: {
|
|
528
407
|
__typename?: 'User';
|
|
@@ -534,19 +413,19 @@ type UserCreateMutation$1 = {
|
|
|
534
413
|
email?: string | null;
|
|
535
414
|
phoneNumber?: string | null;
|
|
536
415
|
employeeId?: string | null;
|
|
537
|
-
role?: RoleType
|
|
538
|
-
status?: UserStatus
|
|
539
|
-
loginType?: LoginType
|
|
416
|
+
role?: RoleType | null;
|
|
417
|
+
status?: UserStatus | null;
|
|
418
|
+
loginType?: LoginType | null;
|
|
540
419
|
externalId?: string | null;
|
|
541
420
|
organizationId?: string | null;
|
|
542
421
|
insertedAt?: string | null;
|
|
543
422
|
updatedAt?: string | null;
|
|
544
423
|
} | null;
|
|
545
424
|
};
|
|
546
|
-
type VehicleGroupCreateMutationVariables
|
|
547
|
-
input: VehicleGroupCreateInput
|
|
425
|
+
type VehicleGroupCreateMutationVariables = Exact$1<{
|
|
426
|
+
input: VehicleGroupCreateInput;
|
|
548
427
|
}>;
|
|
549
|
-
type VehicleGroupCreateMutation
|
|
428
|
+
type VehicleGroupCreateMutation = {
|
|
550
429
|
__typename?: 'Mutation';
|
|
551
430
|
vehicleGroupCreate?: {
|
|
552
431
|
__typename?: 'IndividualVehicleGroup';
|
|
@@ -561,10 +440,10 @@ type VehicleGroupCreateMutation$1 = {
|
|
|
561
440
|
updatedAt?: string | null;
|
|
562
441
|
} | null;
|
|
563
442
|
};
|
|
564
|
-
type VehicleGroupDriversAddMutationVariables
|
|
565
|
-
input: VehicleGroupDriversAddInput
|
|
443
|
+
type VehicleGroupDriversAddMutationVariables = Exact$1<{
|
|
444
|
+
input: VehicleGroupDriversAddInput;
|
|
566
445
|
}>;
|
|
567
|
-
type VehicleGroupDriversAddMutation
|
|
446
|
+
type VehicleGroupDriversAddMutation = {
|
|
568
447
|
__typename?: 'Mutation';
|
|
569
448
|
vehicleGroupDriversAdd?: {
|
|
570
449
|
__typename?: 'VehicleGroup';
|
|
@@ -578,10 +457,10 @@ type VehicleGroupDriversAddMutation$1 = {
|
|
|
578
457
|
updatedAt?: string | null;
|
|
579
458
|
} | null;
|
|
580
459
|
};
|
|
581
|
-
type VehicleGroupVehiclesAddMutationVariables
|
|
582
|
-
input: VehicleGroupVehiclesAddInput
|
|
460
|
+
type VehicleGroupVehiclesAddMutationVariables = Exact$1<{
|
|
461
|
+
input: VehicleGroupVehiclesAddInput;
|
|
583
462
|
}>;
|
|
584
|
-
type VehicleGroupVehiclesAddMutation
|
|
463
|
+
type VehicleGroupVehiclesAddMutation = {
|
|
585
464
|
__typename?: 'Mutation';
|
|
586
465
|
vehicleGroupVehiclesAdd?: {
|
|
587
466
|
__typename?: 'VehicleGroup';
|
|
@@ -595,17 +474,17 @@ type VehicleGroupVehiclesAddMutation$1 = {
|
|
|
595
474
|
updatedAt?: string | null;
|
|
596
475
|
} | null;
|
|
597
476
|
};
|
|
598
|
-
type VehicleUpdateMutationVariables
|
|
599
|
-
input: VehicleUpdateInput
|
|
477
|
+
type VehicleUpdateMutationVariables = Exact$1<{
|
|
478
|
+
input: VehicleUpdateInput;
|
|
600
479
|
}>;
|
|
601
|
-
type VehicleUpdateMutation
|
|
480
|
+
type VehicleUpdateMutation = {
|
|
602
481
|
__typename?: 'Mutation';
|
|
603
482
|
vehicleUpdate?: string | null;
|
|
604
483
|
};
|
|
605
|
-
type VehicleGroupsFilterQueryVariables
|
|
606
|
-
input: VehicleGroupsFilterInput
|
|
484
|
+
type VehicleGroupsFilterQueryVariables = Exact$1<{
|
|
485
|
+
input: VehicleGroupsFilterInput;
|
|
607
486
|
}>;
|
|
608
|
-
type VehicleGroupsFilterQuery
|
|
487
|
+
type VehicleGroupsFilterQuery = {
|
|
609
488
|
__typename?: 'Query';
|
|
610
489
|
vehicleGroupsFilter?: {
|
|
611
490
|
__typename?: 'VehicleGroupsPage';
|
|
@@ -624,10 +503,10 @@ type VehicleGroupsFilterQuery$1 = {
|
|
|
624
503
|
} | null;
|
|
625
504
|
} | null;
|
|
626
505
|
};
|
|
627
|
-
type VehiclesOnboardMutationVariables
|
|
628
|
-
input: VehiclesOnboardInputList
|
|
506
|
+
type VehiclesOnboardMutationVariables = Exact$1<{
|
|
507
|
+
input: VehiclesOnboardInputList;
|
|
629
508
|
}>;
|
|
630
|
-
type VehiclesOnboardMutation
|
|
509
|
+
type VehiclesOnboardMutation = {
|
|
631
510
|
__typename?: 'Mutation';
|
|
632
511
|
vehiclesOnboard?: {
|
|
633
512
|
__typename?: 'VehiclesOnboardOutputList';
|
|
@@ -642,7 +521,29 @@ type VehiclesOnboardMutation$1 = {
|
|
|
642
521
|
} | null;
|
|
643
522
|
};
|
|
644
523
|
//#endregion
|
|
645
|
-
//#region src/
|
|
524
|
+
//#region src/organization.d.ts
|
|
525
|
+
interface ElementPayOrganizationConfig {
|
|
526
|
+
apiKey: string;
|
|
527
|
+
environment?: 'int' | 'stage';
|
|
528
|
+
endpoint?: string;
|
|
529
|
+
}
|
|
530
|
+
declare function getOrganizationSdk(config: ElementPayOrganizationConfig): {
|
|
531
|
+
apiKeyCreate(variables: ApiKeyCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ApiKeyCreateMutation>;
|
|
532
|
+
clientOnboard(variables: ClientOnboardMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ClientOnboardMutation>;
|
|
533
|
+
organizationCreate(variables: OrganizationCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<OrganizationCreateMutation>;
|
|
534
|
+
entityCreate(variables: EntityCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<EntityCreateMutation>;
|
|
535
|
+
entityGetExternalId(variables?: EntityGetExternalIdQueryVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<EntityGetExternalIdQuery>;
|
|
536
|
+
machineTokenizeUser(variables?: MachineTokenizeUserMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<MachineTokenizeUserMutation>;
|
|
537
|
+
userCreate(variables: UserCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<UserCreateMutation>;
|
|
538
|
+
vehicleGroupCreate(variables: VehicleGroupCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupCreateMutation>;
|
|
539
|
+
vehicleGroupDriversAdd(variables: VehicleGroupDriversAddMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupDriversAddMutation>;
|
|
540
|
+
vehicleGroupVehiclesAdd(variables: VehicleGroupVehiclesAddMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupVehiclesAddMutation>;
|
|
541
|
+
vehicleUpdate(variables: VehicleUpdateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleUpdateMutation>;
|
|
542
|
+
vehicleGroupsFilter(variables: VehicleGroupsFilterQueryVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupsFilterQuery>;
|
|
543
|
+
vehiclesOnboard(variables: VehiclesOnboardMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehiclesOnboardMutation>;
|
|
544
|
+
};
|
|
545
|
+
//#endregion
|
|
546
|
+
//#region src/generated/user/sdk.d.ts
|
|
646
547
|
type Maybe<T> = T | null;
|
|
647
548
|
type InputMaybe<T> = Maybe<T>;
|
|
648
549
|
type Exact<T extends {
|
|
@@ -678,23 +579,6 @@ type Scalars = {
|
|
|
678
579
|
output: any;
|
|
679
580
|
};
|
|
680
581
|
};
|
|
681
|
-
type AdditionalInfoInput = {
|
|
682
|
-
contactPhoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
683
|
-
isCorporatePhone?: InputMaybe<Scalars['Boolean']['input']>;
|
|
684
|
-
};
|
|
685
|
-
type AddressInput = {
|
|
686
|
-
city: Scalars['String']['input'];
|
|
687
|
-
country: Scalars['String']['input'];
|
|
688
|
-
line1: Scalars['String']['input'];
|
|
689
|
-
line2?: InputMaybe<Scalars['String']['input']>;
|
|
690
|
-
state: Scalars['String']['input'];
|
|
691
|
-
zip: Scalars['String']['input'];
|
|
692
|
-
};
|
|
693
|
-
type ApiKeyCreateInput = {
|
|
694
|
-
entityId?: InputMaybe<Scalars['ID']['input']>;
|
|
695
|
-
name: Scalars['String']['input'];
|
|
696
|
-
organizationId: Scalars['ID']['input'];
|
|
697
|
-
};
|
|
698
582
|
declare enum CardNetwork {
|
|
699
583
|
Mastercard = "MASTERCARD",
|
|
700
584
|
Visa = "VISA",
|
|
@@ -703,67 +587,6 @@ declare enum DigitalWallet {
|
|
|
703
587
|
DigitalWalletAndroid = "DIGITAL_WALLET_ANDROID",
|
|
704
588
|
DigitalWalletApple = "DIGITAL_WALLET_APPLE",
|
|
705
589
|
}
|
|
706
|
-
type EntityCreateInput = {
|
|
707
|
-
description?: InputMaybe<Scalars['String']['input']>;
|
|
708
|
-
externalId?: InputMaybe<Scalars['String']['input']>;
|
|
709
|
-
funding?: InputMaybe<FundingSource>;
|
|
710
|
-
hasFinance?: InputMaybe<Scalars['Boolean']['input']>;
|
|
711
|
-
name: Scalars['String']['input'];
|
|
712
|
-
organizationId?: InputMaybe<Scalars['ID']['input']>;
|
|
713
|
-
parentId?: InputMaybe<Scalars['ID']['input']>;
|
|
714
|
-
};
|
|
715
|
-
type FuelRestrictionsInput = {
|
|
716
|
-
amountPerDay?: InputMaybe<Scalars['String']['input']>;
|
|
717
|
-
amountPerTransaction?: InputMaybe<Scalars['String']['input']>;
|
|
718
|
-
checkLocation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
719
|
-
daysOfWeek?: InputMaybe<PurchaseDaysOfWeekInput>;
|
|
720
|
-
hours?: InputMaybe<PurchaseTimeRangeInput>;
|
|
721
|
-
isEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
722
|
-
noOfTransactions?: InputMaybe<Scalars['Int']['input']>;
|
|
723
|
-
};
|
|
724
|
-
declare enum FundingSource {
|
|
725
|
-
Ach = "ACH",
|
|
726
|
-
Parent = "PARENT",
|
|
727
|
-
Unknown = "UNKNOWN",
|
|
728
|
-
}
|
|
729
|
-
type HashMapInput = {
|
|
730
|
-
key: Scalars['String']['input'];
|
|
731
|
-
value: Scalars['String']['input'];
|
|
732
|
-
};
|
|
733
|
-
declare enum JobCodeEntryOptionEnum {
|
|
734
|
-
Freeform = "FREEFORM",
|
|
735
|
-
Predefined = "PREDEFINED",
|
|
736
|
-
}
|
|
737
|
-
declare enum LoginType {
|
|
738
|
-
Email = "EMAIL",
|
|
739
|
-
Phone = "PHONE",
|
|
740
|
-
Unknown = "UNKNOWN",
|
|
741
|
-
}
|
|
742
|
-
type MachineTokenizeUserInput = {
|
|
743
|
-
email?: InputMaybe<Scalars['String']['input']>;
|
|
744
|
-
externalId: Scalars['String']['input'];
|
|
745
|
-
firstName?: InputMaybe<Scalars['String']['input']>;
|
|
746
|
-
lastName?: InputMaybe<Scalars['String']['input']>;
|
|
747
|
-
organizationId: Scalars['ID']['input'];
|
|
748
|
-
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
749
|
-
username?: InputMaybe<Scalars['String']['input']>;
|
|
750
|
-
};
|
|
751
|
-
type OrganizationCreateInput = {
|
|
752
|
-
address: AddressInput;
|
|
753
|
-
checkLocationOverride?: InputMaybe<Scalars['Boolean']['input']>;
|
|
754
|
-
costFactorEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
755
|
-
email?: InputMaybe<Scalars['String']['input']>;
|
|
756
|
-
integratorId?: InputMaybe<Scalars['ID']['input']>;
|
|
757
|
-
name: Scalars['String']['input'];
|
|
758
|
-
onboardedBy?: InputMaybe<Scalars['String']['input']>;
|
|
759
|
-
taxId?: InputMaybe<Scalars['String']['input']>;
|
|
760
|
-
unitsId?: InputMaybe<Scalars['String']['input']>;
|
|
761
|
-
useTspMetadata?: InputMaybe<Scalars['Boolean']['input']>;
|
|
762
|
-
};
|
|
763
|
-
type PageRequest = {
|
|
764
|
-
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
765
|
-
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
766
|
-
};
|
|
767
590
|
declare enum PaymentMethodType {
|
|
768
591
|
DirectConnect = "DIRECT_CONNECT",
|
|
769
592
|
LinkedCard = "LINKED_CARD",
|
|
@@ -795,26 +618,6 @@ declare enum ProvisioningStatus {
|
|
|
795
618
|
Error = "ERROR",
|
|
796
619
|
Success = "SUCCESS",
|
|
797
620
|
}
|
|
798
|
-
type PurchaseDaysOfWeekInput = {
|
|
799
|
-
friday: Scalars['Boolean']['input'];
|
|
800
|
-
monday: Scalars['Boolean']['input'];
|
|
801
|
-
saturday: Scalars['Boolean']['input'];
|
|
802
|
-
sunday: Scalars['Boolean']['input'];
|
|
803
|
-
thursday: Scalars['Boolean']['input'];
|
|
804
|
-
tuesday: Scalars['Boolean']['input'];
|
|
805
|
-
wednesday: Scalars['Boolean']['input'];
|
|
806
|
-
};
|
|
807
|
-
type PurchaseTimeRangeInput = {
|
|
808
|
-
from?: InputMaybe<Scalars['String']['input']>;
|
|
809
|
-
to?: InputMaybe<Scalars['String']['input']>;
|
|
810
|
-
};
|
|
811
|
-
declare enum RoleType {
|
|
812
|
-
Admin = "ADMIN",
|
|
813
|
-
Driver = "DRIVER",
|
|
814
|
-
FullAccess = "FULL_ACCESS",
|
|
815
|
-
Manager = "MANAGER",
|
|
816
|
-
ViewOnly = "VIEW_ONLY",
|
|
817
|
-
}
|
|
818
621
|
type ServiceFuelInput = {
|
|
819
622
|
additionalInfo?: InputMaybe<AdditionalServicePayInfoInput>;
|
|
820
623
|
pumpNumber: Scalars['Int']['input'];
|
|
@@ -830,196 +633,14 @@ type ServicePayInput = {
|
|
|
830
633
|
requestId: Scalars['ID']['input'];
|
|
831
634
|
vehicleId: Scalars['ID']['input'];
|
|
832
635
|
};
|
|
833
|
-
declare enum SortDirection {
|
|
834
|
-
Asc = "ASC",
|
|
835
|
-
AscNullsFirst = "ASC_NULLS_FIRST",
|
|
836
|
-
AscNullsLast = "ASC_NULLS_LAST",
|
|
837
|
-
Desc = "DESC",
|
|
838
|
-
DescNullsFirst = "DESC_NULLS_FIRST",
|
|
839
|
-
DescNullsLast = "DESC_NULLS_LAST",
|
|
840
|
-
}
|
|
841
|
-
type SpendRestrictionsDayInput = {
|
|
842
|
-
isEnabled: Scalars['Boolean']['input'];
|
|
843
|
-
purchaseTimes?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;
|
|
844
|
-
};
|
|
845
|
-
type SpendRestrictionsDaysOfWeekInput = {
|
|
846
|
-
friday: SpendRestrictionsDayInput;
|
|
847
|
-
monday: SpendRestrictionsDayInput;
|
|
848
|
-
saturday: SpendRestrictionsDayInput;
|
|
849
|
-
sunday: SpendRestrictionsDayInput;
|
|
850
|
-
thursday: SpendRestrictionsDayInput;
|
|
851
|
-
tuesday: SpendRestrictionsDayInput;
|
|
852
|
-
wednesday: SpendRestrictionsDayInput;
|
|
853
|
-
};
|
|
854
|
-
type SpendRestrictionsInput = {
|
|
855
|
-
amountPerDay?: InputMaybe<Scalars['String']['input']>;
|
|
856
|
-
amountPerTransaction?: InputMaybe<Scalars['String']['input']>;
|
|
857
|
-
amountPerWeek?: InputMaybe<Scalars['Int']['input']>;
|
|
858
|
-
checkLocation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
859
|
-
daysOfWeek?: InputMaybe<SpendRestrictionsDaysOfWeekInput>;
|
|
860
|
-
enforceFuelSpendEstimation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
861
|
-
fuel?: InputMaybe<FuelRestrictionsInput>;
|
|
862
|
-
noOfTransactions?: InputMaybe<Scalars['Int']['input']>;
|
|
863
|
-
predefinedRule?: InputMaybe<Scalars['String']['input']>;
|
|
864
|
-
};
|
|
865
636
|
type TtpTokenizationInput = {
|
|
866
637
|
deviceId: Scalars['String']['input'];
|
|
867
638
|
requestId?: InputMaybe<Scalars['String']['input']>;
|
|
868
639
|
};
|
|
869
|
-
type UserCreateInput = {
|
|
870
|
-
additionalInfo?: InputMaybe<AdditionalInfoInput>;
|
|
871
|
-
email?: InputMaybe<Scalars['String']['input']>;
|
|
872
|
-
employeeId?: InputMaybe<Scalars['String']['input']>;
|
|
873
|
-
entityId: Scalars['ID']['input'];
|
|
874
|
-
firstName: Scalars['String']['input'];
|
|
875
|
-
lastName: Scalars['String']['input'];
|
|
876
|
-
loginType?: InputMaybe<LoginType>;
|
|
877
|
-
organizationId?: InputMaybe<Scalars['ID']['input']>;
|
|
878
|
-
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
879
|
-
role: RoleType;
|
|
880
|
-
};
|
|
881
|
-
declare enum UserStatus {
|
|
882
|
-
Deactivated = "DEACTIVATED",
|
|
883
|
-
Deleted = "DELETED",
|
|
884
|
-
Invited = "INVITED",
|
|
885
|
-
LockedOut = "LOCKED_OUT",
|
|
886
|
-
Onboarded = "ONBOARDED",
|
|
887
|
-
Unknown = "UNKNOWN",
|
|
888
|
-
}
|
|
889
|
-
type VehicleGroupCreateInput = {
|
|
890
|
-
description?: InputMaybe<Scalars['String']['input']>;
|
|
891
|
-
driverEnteredOdometerEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
892
|
-
drivers?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
893
|
-
entityId?: InputMaybe<Scalars['ID']['input']>;
|
|
894
|
-
externalId?: InputMaybe<Scalars['String']['input']>;
|
|
895
|
-
jobCodeEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
896
|
-
jobCodeEntryOption?: InputMaybe<JobCodeEntryOptionEnum>;
|
|
897
|
-
jobCodeEntryOptional?: InputMaybe<Scalars['Boolean']['input']>;
|
|
898
|
-
jobCodeOptions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
899
|
-
name: Scalars['String']['input'];
|
|
900
|
-
organizationId?: InputMaybe<Scalars['ID']['input']>;
|
|
901
|
-
spendRestrictions: SpendRestrictionsInput;
|
|
902
|
-
vehicles?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
903
|
-
};
|
|
904
|
-
type VehicleGroupDriversAddInput = {
|
|
905
|
-
drivers: Array<Scalars['ID']['input']>;
|
|
906
|
-
vehicleGroupId: Scalars['ID']['input'];
|
|
907
|
-
};
|
|
908
|
-
type VehicleGroupVehiclesAddInput = {
|
|
909
|
-
vehicleGroupId: Scalars['ID']['input'];
|
|
910
|
-
vehicles: Array<Scalars['ID']['input']>;
|
|
911
|
-
};
|
|
912
|
-
type VehicleGroupsFilterInput = {
|
|
913
|
-
filter: VehicleGroupsFilterOptions;
|
|
914
|
-
page: PageRequest;
|
|
915
|
-
sortOptions?: InputMaybe<VehicleGroupsSortOptions>;
|
|
916
|
-
};
|
|
917
|
-
type VehicleGroupsFilterOptions = {
|
|
918
|
-
driverId?: InputMaybe<Scalars['ID']['input']>;
|
|
919
|
-
entityId?: InputMaybe<Scalars['ID']['input']>;
|
|
920
|
-
includeChildren?: InputMaybe<Scalars['Boolean']['input']>;
|
|
921
|
-
includeSpendControls?: InputMaybe<Scalars['Boolean']['input']>;
|
|
922
|
-
};
|
|
923
|
-
declare enum VehicleGroupsSortField {
|
|
924
|
-
Description = "DESCRIPTION",
|
|
925
|
-
DriverCount = "DRIVER_COUNT",
|
|
926
|
-
LastTransactionDate = "LAST_TRANSACTION_DATE",
|
|
927
|
-
Name = "NAME",
|
|
928
|
-
VehicleCount = "VEHICLE_COUNT",
|
|
929
|
-
}
|
|
930
|
-
type VehicleGroupsSortOptions = {
|
|
931
|
-
direction: SortDirection;
|
|
932
|
-
orderBy: VehicleGroupsSortField;
|
|
933
|
-
};
|
|
934
|
-
type VehicleUpdateInput = {
|
|
935
|
-
customFields?: InputMaybe<Array<InputMaybe<HashMapInput>>>;
|
|
936
|
-
description?: InputMaybe<Scalars['String']['input']>;
|
|
937
|
-
id: Scalars['ID']['input'];
|
|
938
|
-
licensePlate?: InputMaybe<Scalars['String']['input']>;
|
|
939
|
-
licensePlateState?: InputMaybe<Scalars['String']['input']>;
|
|
940
|
-
number?: InputMaybe<Scalars['String']['input']>;
|
|
941
|
-
};
|
|
942
|
-
type VehiclesOnboardInput = {
|
|
943
|
-
customFields?: InputMaybe<Array<InputMaybe<HashMapInput>>>;
|
|
944
|
-
description?: InputMaybe<Scalars['String']['input']>;
|
|
945
|
-
id?: InputMaybe<Scalars['ID']['input']>;
|
|
946
|
-
licensePlate?: InputMaybe<Scalars['String']['input']>;
|
|
947
|
-
licensePlateState?: InputMaybe<Scalars['String']['input']>;
|
|
948
|
-
number?: InputMaybe<Scalars['String']['input']>;
|
|
949
|
-
vehicleGroupId: Scalars['ID']['input'];
|
|
950
|
-
vin?: InputMaybe<Scalars['String']['input']>;
|
|
951
|
-
};
|
|
952
|
-
type VehiclesOnboardInputList = {
|
|
953
|
-
vehicles?: InputMaybe<Array<InputMaybe<VehiclesOnboardInput>>>;
|
|
954
|
-
};
|
|
955
640
|
type AdditionalServicePayInfoInput = {
|
|
956
641
|
jobCode?: InputMaybe<Scalars['String']['input']>;
|
|
957
642
|
odometer?: InputMaybe<Scalars['Int']['input']>;
|
|
958
643
|
};
|
|
959
|
-
type ApiKeyCreateMutationVariables = Exact<{
|
|
960
|
-
input: ApiKeyCreateInput;
|
|
961
|
-
}>;
|
|
962
|
-
type ApiKeyCreateMutation = {
|
|
963
|
-
__typename?: 'Mutation';
|
|
964
|
-
apiKeyCreate?: {
|
|
965
|
-
__typename?: 'ApiKeyCreateOutput';
|
|
966
|
-
apiKey: string;
|
|
967
|
-
} | null;
|
|
968
|
-
};
|
|
969
|
-
type OrganizationCreateMutationVariables = Exact<{
|
|
970
|
-
input: OrganizationCreateInput;
|
|
971
|
-
}>;
|
|
972
|
-
type OrganizationCreateMutation = {
|
|
973
|
-
__typename?: 'Mutation';
|
|
974
|
-
organizationCreate?: {
|
|
975
|
-
__typename?: 'Organization';
|
|
976
|
-
id: string;
|
|
977
|
-
name?: string | null;
|
|
978
|
-
onboardedAt?: string | null;
|
|
979
|
-
onboardedBy?: string | null;
|
|
980
|
-
insertedAt?: string | null;
|
|
981
|
-
updatedAt?: string | null;
|
|
982
|
-
deletedAt?: string | null;
|
|
983
|
-
address?: {
|
|
984
|
-
__typename?: 'Address';
|
|
985
|
-
line1?: string | null;
|
|
986
|
-
line2?: string | null;
|
|
987
|
-
city?: string | null;
|
|
988
|
-
state?: string | null;
|
|
989
|
-
country?: string | null;
|
|
990
|
-
zip?: string | null;
|
|
991
|
-
} | null;
|
|
992
|
-
} | null;
|
|
993
|
-
};
|
|
994
|
-
type EntityCreateMutationVariables = Exact<{
|
|
995
|
-
input: EntityCreateInput;
|
|
996
|
-
}>;
|
|
997
|
-
type EntityCreateMutation = {
|
|
998
|
-
__typename?: 'Mutation';
|
|
999
|
-
entityCreate?: {
|
|
1000
|
-
__typename?: 'Entity';
|
|
1001
|
-
id: string;
|
|
1002
|
-
name?: string | null;
|
|
1003
|
-
description?: string | null;
|
|
1004
|
-
externalId?: string | null;
|
|
1005
|
-
parentId?: string | null;
|
|
1006
|
-
hasFinance?: boolean | null;
|
|
1007
|
-
funding?: FundingSource | null;
|
|
1008
|
-
insertedAt?: string | null;
|
|
1009
|
-
updatedAt?: string | null;
|
|
1010
|
-
} | null;
|
|
1011
|
-
};
|
|
1012
|
-
type MachineTokenizeUserMutationVariables = Exact<{
|
|
1013
|
-
input?: InputMaybe<MachineTokenizeUserInput>;
|
|
1014
|
-
}>;
|
|
1015
|
-
type MachineTokenizeUserMutation = {
|
|
1016
|
-
__typename?: 'Mutation';
|
|
1017
|
-
machineTokenizeUser?: {
|
|
1018
|
-
__typename?: 'MachineUserToken';
|
|
1019
|
-
access_token: string;
|
|
1020
|
-
expires_in: number;
|
|
1021
|
-
} | null;
|
|
1022
|
-
};
|
|
1023
644
|
type ProvisionCardMutationVariables = Exact<{
|
|
1024
645
|
input: ProvisionCardInput;
|
|
1025
646
|
}>;
|
|
@@ -1080,169 +701,18 @@ type TtpTokenizationMutation = {
|
|
|
1080
701
|
} | null;
|
|
1081
702
|
} | null;
|
|
1082
703
|
};
|
|
1083
|
-
type UserCreateMutationVariables = Exact<{
|
|
1084
|
-
input: UserCreateInput;
|
|
1085
|
-
}>;
|
|
1086
|
-
type UserCreateMutation = {
|
|
1087
|
-
__typename?: 'Mutation';
|
|
1088
|
-
userCreate?: {
|
|
1089
|
-
__typename?: 'User';
|
|
1090
|
-
id?: string | null;
|
|
1091
|
-
firstName?: string | null;
|
|
1092
|
-
lastName?: string | null;
|
|
1093
|
-
middleName?: string | null;
|
|
1094
|
-
fullName?: string | null;
|
|
1095
|
-
email?: string | null;
|
|
1096
|
-
phoneNumber?: string | null;
|
|
1097
|
-
employeeId?: string | null;
|
|
1098
|
-
role?: RoleType | null;
|
|
1099
|
-
status?: UserStatus | null;
|
|
1100
|
-
loginType?: LoginType | null;
|
|
1101
|
-
externalId?: string | null;
|
|
1102
|
-
organizationId?: string | null;
|
|
1103
|
-
insertedAt?: string | null;
|
|
1104
|
-
updatedAt?: string | null;
|
|
1105
|
-
} | null;
|
|
1106
|
-
};
|
|
1107
|
-
type VehicleGroupCreateMutationVariables = Exact<{
|
|
1108
|
-
input: VehicleGroupCreateInput;
|
|
1109
|
-
}>;
|
|
1110
|
-
type VehicleGroupCreateMutation = {
|
|
1111
|
-
__typename?: 'Mutation';
|
|
1112
|
-
vehicleGroupCreate?: {
|
|
1113
|
-
__typename?: 'IndividualVehicleGroup';
|
|
1114
|
-
id: string;
|
|
1115
|
-
code?: string | null;
|
|
1116
|
-
name?: string | null;
|
|
1117
|
-
description?: string | null;
|
|
1118
|
-
externalId?: string | null;
|
|
1119
|
-
driverCount?: number | null;
|
|
1120
|
-
vehicleCount?: number | null;
|
|
1121
|
-
insertedAt?: string | null;
|
|
1122
|
-
updatedAt?: string | null;
|
|
1123
|
-
} | null;
|
|
1124
|
-
};
|
|
1125
|
-
type VehicleGroupDriversAddMutationVariables = Exact<{
|
|
1126
|
-
input: VehicleGroupDriversAddInput;
|
|
1127
|
-
}>;
|
|
1128
|
-
type VehicleGroupDriversAddMutation = {
|
|
1129
|
-
__typename?: 'Mutation';
|
|
1130
|
-
vehicleGroupDriversAdd?: {
|
|
1131
|
-
__typename?: 'VehicleGroup';
|
|
1132
|
-
id: string;
|
|
1133
|
-
name?: string | null;
|
|
1134
|
-
description?: string | null;
|
|
1135
|
-
externalId?: string | null;
|
|
1136
|
-
driverCount?: number | null;
|
|
1137
|
-
vehicleCount?: number | null;
|
|
1138
|
-
insertedAt?: string | null;
|
|
1139
|
-
updatedAt?: string | null;
|
|
1140
|
-
} | null;
|
|
1141
|
-
};
|
|
1142
|
-
type VehicleGroupVehiclesAddMutationVariables = Exact<{
|
|
1143
|
-
input: VehicleGroupVehiclesAddInput;
|
|
1144
|
-
}>;
|
|
1145
|
-
type VehicleGroupVehiclesAddMutation = {
|
|
1146
|
-
__typename?: 'Mutation';
|
|
1147
|
-
vehicleGroupVehiclesAdd?: {
|
|
1148
|
-
__typename?: 'VehicleGroup';
|
|
1149
|
-
id: string;
|
|
1150
|
-
name?: string | null;
|
|
1151
|
-
description?: string | null;
|
|
1152
|
-
externalId?: string | null;
|
|
1153
|
-
driverCount?: number | null;
|
|
1154
|
-
vehicleCount?: number | null;
|
|
1155
|
-
insertedAt?: string | null;
|
|
1156
|
-
updatedAt?: string | null;
|
|
1157
|
-
} | null;
|
|
1158
|
-
};
|
|
1159
|
-
type VehicleUpdateMutationVariables = Exact<{
|
|
1160
|
-
input: VehicleUpdateInput;
|
|
1161
|
-
}>;
|
|
1162
|
-
type VehicleUpdateMutation = {
|
|
1163
|
-
__typename?: 'Mutation';
|
|
1164
|
-
vehicleUpdate?: string | null;
|
|
1165
|
-
};
|
|
1166
|
-
type VehicleGroupsFilterQueryVariables = Exact<{
|
|
1167
|
-
input: VehicleGroupsFilterInput;
|
|
1168
|
-
}>;
|
|
1169
|
-
type VehicleGroupsFilterQuery = {
|
|
1170
|
-
__typename?: 'Query';
|
|
1171
|
-
vehicleGroupsFilter?: {
|
|
1172
|
-
__typename?: 'VehicleGroupsPage';
|
|
1173
|
-
data?: Array<{
|
|
1174
|
-
__typename?: 'VehicleGroup';
|
|
1175
|
-
id: string;
|
|
1176
|
-
name?: string | null;
|
|
1177
|
-
description?: string | null;
|
|
1178
|
-
externalId?: string | null;
|
|
1179
|
-
} | null> | null;
|
|
1180
|
-
meta?: {
|
|
1181
|
-
__typename?: 'PageMeta';
|
|
1182
|
-
limit?: number | null;
|
|
1183
|
-
offset?: number | null;
|
|
1184
|
-
total?: number | null;
|
|
1185
|
-
} | null;
|
|
1186
|
-
} | null;
|
|
1187
|
-
};
|
|
1188
|
-
type VehiclesOnboardMutationVariables = Exact<{
|
|
1189
|
-
input: VehiclesOnboardInputList;
|
|
1190
|
-
}>;
|
|
1191
|
-
type VehiclesOnboardMutation = {
|
|
1192
|
-
__typename?: 'Mutation';
|
|
1193
|
-
vehiclesOnboard?: {
|
|
1194
|
-
__typename?: 'VehiclesOnboardOutputList';
|
|
1195
|
-
vehicles?: Array<{
|
|
1196
|
-
__typename?: 'VehiclesOnboardOutput';
|
|
1197
|
-
id?: string | null;
|
|
1198
|
-
vin?: string | null;
|
|
1199
|
-
vehicleGroupId: string;
|
|
1200
|
-
success?: boolean | null;
|
|
1201
|
-
error?: string | null;
|
|
1202
|
-
} | null> | null;
|
|
1203
|
-
} | null;
|
|
1204
|
-
};
|
|
1205
704
|
//#endregion
|
|
1206
|
-
//#region src/
|
|
1207
|
-
interface
|
|
1208
|
-
|
|
705
|
+
//#region src/user.d.ts
|
|
706
|
+
interface ElementPayUserConfig {
|
|
707
|
+
accessToken: string;
|
|
1209
708
|
environment?: 'int' | 'stage';
|
|
1210
709
|
endpoint?: string;
|
|
1211
710
|
}
|
|
1212
|
-
declare function
|
|
1213
|
-
apiKeyCreate(variables: ApiKeyCreateMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ApiKeyCreateMutation$1>;
|
|
1214
|
-
organizationCreate(variables: OrganizationCreateMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<OrganizationCreateMutation$1>;
|
|
1215
|
-
entityCreate(variables: EntityCreateMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<EntityCreateMutation$1>;
|
|
1216
|
-
clientOnboard(variables: ClientOnboardMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ClientOnboardMutation>;
|
|
1217
|
-
entityGetExternalId(variables?: EntityGetExternalIdQueryVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<EntityGetExternalIdQuery>;
|
|
1218
|
-
machineTokenizeUser(variables?: MachineTokenizeUserMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<MachineTokenizeUserMutation$1>;
|
|
1219
|
-
provisionCard(variables: ProvisionCardMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ProvisionCardMutation$1>;
|
|
1220
|
-
provisionStatusUpdate(variables: ProvisionStatusUpdateMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ProvisionStatusUpdateMutation$1>;
|
|
1221
|
-
servicePay(variables: ServicePayMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ServicePayMutation$1>;
|
|
1222
|
-
ttpTokenization(variables: TtpTokenizationMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<TtpTokenizationMutation$1>;
|
|
1223
|
-
userCreate(variables: UserCreateMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<UserCreateMutation$1>;
|
|
1224
|
-
vehicleGroupCreate(variables: VehicleGroupCreateMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupCreateMutation$1>;
|
|
1225
|
-
vehicleGroupDriversAdd(variables: VehicleGroupDriversAddMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupDriversAddMutation$1>;
|
|
1226
|
-
vehicleGroupVehiclesAdd(variables: VehicleGroupVehiclesAddMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupVehiclesAddMutation$1>;
|
|
1227
|
-
vehicleUpdate(variables: VehicleUpdateMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleUpdateMutation$1>;
|
|
1228
|
-
vehicleGroupsFilter(variables: VehicleGroupsFilterQueryVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupsFilterQuery$1>;
|
|
1229
|
-
vehiclesOnboard(variables: VehiclesOnboardMutationVariables$1, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehiclesOnboardMutation$1>;
|
|
1230
|
-
} | {
|
|
1231
|
-
apiKeyCreate(variables: ApiKeyCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ApiKeyCreateMutation>;
|
|
1232
|
-
organizationCreate(variables: OrganizationCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<OrganizationCreateMutation>;
|
|
1233
|
-
entityCreate(variables: EntityCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<EntityCreateMutation>;
|
|
1234
|
-
machineTokenizeUser(variables?: MachineTokenizeUserMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<MachineTokenizeUserMutation>;
|
|
711
|
+
declare function getUserSdk(config: ElementPayUserConfig): {
|
|
1235
712
|
provisionCard(variables: ProvisionCardMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ProvisionCardMutation>;
|
|
1236
713
|
provisionStatusUpdate(variables: ProvisionStatusUpdateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ProvisionStatusUpdateMutation>;
|
|
1237
714
|
servicePay(variables: ServicePayMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ServicePayMutation>;
|
|
1238
715
|
ttpTokenization(variables: TtpTokenizationMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<TtpTokenizationMutation>;
|
|
1239
|
-
userCreate(variables: UserCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<UserCreateMutation>;
|
|
1240
|
-
vehicleGroupCreate(variables: VehicleGroupCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupCreateMutation>;
|
|
1241
|
-
vehicleGroupDriversAdd(variables: VehicleGroupDriversAddMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupDriversAddMutation>;
|
|
1242
|
-
vehicleGroupVehiclesAdd(variables: VehicleGroupVehiclesAddMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupVehiclesAddMutation>;
|
|
1243
|
-
vehicleUpdate(variables: VehicleUpdateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleUpdateMutation>;
|
|
1244
|
-
vehicleGroupsFilter(variables: VehicleGroupsFilterQueryVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupsFilterQuery>;
|
|
1245
|
-
vehiclesOnboard(variables: VehiclesOnboardMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehiclesOnboardMutation>;
|
|
1246
716
|
};
|
|
1247
717
|
//#endregion
|
|
1248
718
|
//#region src/pubSub/interfaces.d.ts
|
|
@@ -1321,5 +791,5 @@ declare const serviceLocationEventToFuelSupplier: ({
|
|
|
1321
791
|
//#region src/service-locations/index.d.ts
|
|
1322
792
|
declare const serviceLocationPubSubMessageToFuelSupplier: (message: string) => ReturnType<typeof serviceLocationEventToFuelSupplier>;
|
|
1323
793
|
//#endregion
|
|
1324
|
-
export { type
|
|
794
|
+
export { type ElementPayOrganizationConfig, type ElementPayUserConfig, getOrganizationSdk, getUserSdk, serviceLocationPubSubMessageToFuelSupplier };
|
|
1325
795
|
//# sourceMappingURL=index.d.cts.map
|