@autofleet/element-pay 1.1.3-dev.0 → 2.0.0
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 +30 -315
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +289 -1154
- package/lib/index.d.ts +290 -1154
- package/lib/index.js +24 -309
- package/lib/index.js.map +1 -1
- package/package.json +3 -4
package/lib/index.d.cts
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
2
1
|
import { FuelSupplier } from "@autofleet/common-types/lib/pit-stop";
|
|
3
2
|
|
|
4
|
-
//#region src/generated/
|
|
5
|
-
type Maybe$
|
|
6
|
-
type InputMaybe$
|
|
7
|
-
type Exact$
|
|
3
|
+
//#region src/generated/organization/sdk.d.ts
|
|
4
|
+
type Maybe$1<T> = T | null;
|
|
5
|
+
type InputMaybe$1<T> = Maybe$1<T>;
|
|
6
|
+
type Exact$1<T extends {
|
|
8
7
|
[key: string]: unknown;
|
|
9
8
|
}> = { [K in keyof T]: T[K] };
|
|
10
|
-
type
|
|
11
|
-
type Scalars$2 = {
|
|
9
|
+
type Scalars$1 = {
|
|
12
10
|
ID: {
|
|
13
11
|
input: string;
|
|
14
12
|
output: string;
|
|
@@ -42,208 +40,163 @@ declare enum AccountType {
|
|
|
42
40
|
Credit = "CREDIT",
|
|
43
41
|
PrePaid = "PRE_PAID",
|
|
44
42
|
}
|
|
45
|
-
type AdditionalInfoInput
|
|
46
|
-
contactPhoneNumber?: InputMaybe$
|
|
47
|
-
isCorporatePhone?: InputMaybe$
|
|
43
|
+
type AdditionalInfoInput = {
|
|
44
|
+
contactPhoneNumber?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
45
|
+
isCorporatePhone?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
48
46
|
};
|
|
49
|
-
type AddressInput
|
|
50
|
-
city: Scalars$
|
|
51
|
-
country: Scalars$
|
|
52
|
-
line1: Scalars$
|
|
53
|
-
line2?: InputMaybe$
|
|
54
|
-
state: Scalars$
|
|
55
|
-
zip: Scalars$
|
|
47
|
+
type AddressInput = {
|
|
48
|
+
city: Scalars$1['String']['input'];
|
|
49
|
+
country: Scalars$1['String']['input'];
|
|
50
|
+
line1: Scalars$1['String']['input'];
|
|
51
|
+
line2?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
52
|
+
state: Scalars$1['String']['input'];
|
|
53
|
+
zip: Scalars$1['String']['input'];
|
|
56
54
|
};
|
|
57
|
-
type ApiKeyCreateInput
|
|
58
|
-
entityId?: InputMaybe$
|
|
59
|
-
name: Scalars$
|
|
60
|
-
organizationId: Scalars$
|
|
55
|
+
type ApiKeyCreateInput = {
|
|
56
|
+
entityId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
57
|
+
name: Scalars$1['String']['input'];
|
|
58
|
+
organizationId: Scalars$1['ID']['input'];
|
|
61
59
|
};
|
|
62
|
-
declare enum CardNetwork$2 {
|
|
63
|
-
Mastercard = "MASTERCARD",
|
|
64
|
-
Visa = "VISA",
|
|
65
|
-
}
|
|
66
60
|
type ClientOnboardInput = {
|
|
67
|
-
address: AddressInput
|
|
68
|
-
checkLocationOverride?: InputMaybe$
|
|
69
|
-
costFactorEnabled?: InputMaybe$
|
|
70
|
-
email?: InputMaybe$
|
|
71
|
-
externalId: Scalars$
|
|
72
|
-
integratorId?: InputMaybe$
|
|
73
|
-
name: Scalars$
|
|
74
|
-
onboardedBy?: InputMaybe$
|
|
75
|
-
taxId?: InputMaybe$
|
|
76
|
-
unitsId?: InputMaybe$
|
|
77
|
-
useTspMetadata?: InputMaybe$
|
|
61
|
+
address: AddressInput;
|
|
62
|
+
checkLocationOverride?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
63
|
+
costFactorEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
64
|
+
email?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
65
|
+
externalId: Scalars$1['String']['input'];
|
|
66
|
+
integratorId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
67
|
+
name: Scalars$1['String']['input'];
|
|
68
|
+
onboardedBy?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
69
|
+
taxId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
70
|
+
unitsId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
71
|
+
useTspMetadata?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
78
72
|
};
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
hasFinance?: InputMaybe$2<Scalars$2['Boolean']['input']>;
|
|
88
|
-
name: Scalars$2['String']['input'];
|
|
89
|
-
organizationId?: InputMaybe$2<Scalars$2['ID']['input']>;
|
|
90
|
-
parentId?: InputMaybe$2<Scalars$2['ID']['input']>;
|
|
73
|
+
type EntityCreateInput = {
|
|
74
|
+
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
75
|
+
externalId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
76
|
+
funding?: InputMaybe$1<FundingSource>;
|
|
77
|
+
hasFinance?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
78
|
+
name: Scalars$1['String']['input'];
|
|
79
|
+
organizationId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
80
|
+
parentId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
91
81
|
};
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
82
|
+
declare enum FeeNetworkDesignationType {
|
|
83
|
+
ExtendedNetwork = "EXTENDED_NETWORK",
|
|
84
|
+
InNetwork = "IN_NETWORK",
|
|
85
|
+
OutOfNetwork = "OUT_OF_NETWORK",
|
|
86
|
+
}
|
|
87
|
+
type FuelRestrictionsInput = {
|
|
88
|
+
amountPerDay?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
89
|
+
amountPerTransaction?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
90
|
+
checkLocation?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
91
|
+
daysOfWeek?: InputMaybe$1<PurchaseDaysOfWeekInput>;
|
|
92
|
+
hours?: InputMaybe$1<PurchaseTimeRangeInput>;
|
|
93
|
+
isEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
94
|
+
noOfTransactions?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
100
95
|
};
|
|
101
|
-
declare enum FundingSource
|
|
96
|
+
declare enum FundingSource {
|
|
102
97
|
Ach = "ACH",
|
|
103
98
|
Parent = "PARENT",
|
|
104
99
|
Unknown = "UNKNOWN",
|
|
105
100
|
}
|
|
106
|
-
type HashMapInput
|
|
107
|
-
key: Scalars$
|
|
108
|
-
value: Scalars$
|
|
101
|
+
type HashMapInput = {
|
|
102
|
+
key: Scalars$1['String']['input'];
|
|
103
|
+
value: Scalars$1['String']['input'];
|
|
109
104
|
};
|
|
110
|
-
declare enum JobCodeEntryOptionEnum
|
|
105
|
+
declare enum JobCodeEntryOptionEnum {
|
|
111
106
|
Freeform = "FREEFORM",
|
|
112
107
|
Predefined = "PREDEFINED",
|
|
113
108
|
}
|
|
114
|
-
declare enum LoginType
|
|
109
|
+
declare enum LoginType {
|
|
115
110
|
Email = "EMAIL",
|
|
111
|
+
External = "EXTERNAL",
|
|
116
112
|
Phone = "PHONE",
|
|
117
113
|
Unknown = "UNKNOWN",
|
|
118
114
|
}
|
|
119
|
-
type MachineTokenizeUserInput
|
|
120
|
-
|
|
121
|
-
externalId: Scalars$2['String']['input'];
|
|
122
|
-
firstName?: InputMaybe$2<Scalars$2['String']['input']>;
|
|
123
|
-
lastName?: InputMaybe$2<Scalars$2['String']['input']>;
|
|
124
|
-
organizationId: Scalars$2['ID']['input'];
|
|
125
|
-
phoneNumber?: InputMaybe$2<Scalars$2['String']['input']>;
|
|
126
|
-
username?: InputMaybe$2<Scalars$2['String']['input']>;
|
|
127
|
-
};
|
|
128
|
-
type OrganizationCreateInput$2 = {
|
|
129
|
-
address: AddressInput$2;
|
|
130
|
-
checkLocationOverride?: InputMaybe$2<Scalars$2['Boolean']['input']>;
|
|
131
|
-
costFactorEnabled?: InputMaybe$2<Scalars$2['Boolean']['input']>;
|
|
132
|
-
email?: InputMaybe$2<Scalars$2['String']['input']>;
|
|
133
|
-
integratorId?: InputMaybe$2<Scalars$2['ID']['input']>;
|
|
134
|
-
name: Scalars$2['String']['input'];
|
|
135
|
-
onboardedBy?: InputMaybe$2<Scalars$2['String']['input']>;
|
|
136
|
-
taxId?: InputMaybe$2<Scalars$2['String']['input']>;
|
|
137
|
-
unitsId?: InputMaybe$2<Scalars$2['String']['input']>;
|
|
138
|
-
useTspMetadata?: InputMaybe$2<Scalars$2['Boolean']['input']>;
|
|
139
|
-
};
|
|
140
|
-
declare enum PaymentMethodType$1 {
|
|
141
|
-
DirectConnect = "DIRECT_CONNECT",
|
|
142
|
-
LinkedCard = "LINKED_CARD",
|
|
143
|
-
Ttp = "TTP",
|
|
144
|
-
Unspecified = "UNSPECIFIED",
|
|
145
|
-
}
|
|
146
|
-
type PositionInput$2 = {
|
|
147
|
-
latitude: Scalars$2['Float']['input'];
|
|
148
|
-
longitude: Scalars$2['Float']['input'];
|
|
115
|
+
type MachineTokenizeUserInput = {
|
|
116
|
+
userId: Scalars$1['ID']['input'];
|
|
149
117
|
};
|
|
150
|
-
type
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
118
|
+
type OrganizationCreateInput = {
|
|
119
|
+
address: AddressInput;
|
|
120
|
+
checkLocationOverride?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
121
|
+
costFactorEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
122
|
+
email?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
123
|
+
integratorId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
124
|
+
name: Scalars$1['String']['input'];
|
|
125
|
+
onboardedBy?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
126
|
+
taxId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
127
|
+
unitsId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
128
|
+
useTspMetadata?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
160
129
|
};
|
|
161
|
-
type
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
paymentProviderAccountId: Scalars$2['String']['input'];
|
|
165
|
-
status: ProvisioningStatus$2;
|
|
130
|
+
type PageRequest = {
|
|
131
|
+
limit?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
132
|
+
offset?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
166
133
|
};
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
sunday: Scalars$2['Boolean']['input'];
|
|
176
|
-
thursday: Scalars$2['Boolean']['input'];
|
|
177
|
-
tuesday: Scalars$2['Boolean']['input'];
|
|
178
|
-
wednesday: Scalars$2['Boolean']['input'];
|
|
134
|
+
type PurchaseDaysOfWeekInput = {
|
|
135
|
+
friday: Scalars$1['Boolean']['input'];
|
|
136
|
+
monday: Scalars$1['Boolean']['input'];
|
|
137
|
+
saturday: Scalars$1['Boolean']['input'];
|
|
138
|
+
sunday: Scalars$1['Boolean']['input'];
|
|
139
|
+
thursday: Scalars$1['Boolean']['input'];
|
|
140
|
+
tuesday: Scalars$1['Boolean']['input'];
|
|
141
|
+
wednesday: Scalars$1['Boolean']['input'];
|
|
179
142
|
};
|
|
180
|
-
type PurchaseTimeRangeInput
|
|
181
|
-
from?: InputMaybe$
|
|
182
|
-
to?: InputMaybe$
|
|
143
|
+
type PurchaseTimeRangeInput = {
|
|
144
|
+
from?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
145
|
+
to?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
183
146
|
};
|
|
184
|
-
declare enum RoleType
|
|
147
|
+
declare enum RoleType {
|
|
185
148
|
Admin = "ADMIN",
|
|
186
149
|
Driver = "DRIVER",
|
|
187
150
|
FullAccess = "FULL_ACCESS",
|
|
188
151
|
Manager = "MANAGER",
|
|
189
152
|
ViewOnly = "VIEW_ONLY",
|
|
190
153
|
}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
position: PositionInput$2;
|
|
203
|
-
requestId: Scalars$2['ID']['input'];
|
|
204
|
-
vehicleId: Scalars$2['ID']['input'];
|
|
205
|
-
};
|
|
206
|
-
type SpendRestrictionsDayInput$2 = {
|
|
207
|
-
isEnabled: Scalars$2['Boolean']['input'];
|
|
208
|
-
purchaseTimes?: InputMaybe$2<Array<InputMaybe$2<PurchaseTimeRangeInput$2>>>;
|
|
209
|
-
};
|
|
210
|
-
type SpendRestrictionsDaysOfWeekInput$2 = {
|
|
211
|
-
friday: SpendRestrictionsDayInput$2;
|
|
212
|
-
monday: SpendRestrictionsDayInput$2;
|
|
213
|
-
saturday: SpendRestrictionsDayInput$2;
|
|
214
|
-
sunday: SpendRestrictionsDayInput$2;
|
|
215
|
-
thursday: SpendRestrictionsDayInput$2;
|
|
216
|
-
tuesday: SpendRestrictionsDayInput$2;
|
|
217
|
-
wednesday: SpendRestrictionsDayInput$2;
|
|
154
|
+
declare enum SortDirection {
|
|
155
|
+
Asc = "ASC",
|
|
156
|
+
AscNullsFirst = "ASC_NULLS_FIRST",
|
|
157
|
+
AscNullsLast = "ASC_NULLS_LAST",
|
|
158
|
+
Desc = "DESC",
|
|
159
|
+
DescNullsFirst = "DESC_NULLS_FIRST",
|
|
160
|
+
DescNullsLast = "DESC_NULLS_LAST",
|
|
161
|
+
}
|
|
162
|
+
type SpendRestrictionsDayInput = {
|
|
163
|
+
isEnabled: Scalars$1['Boolean']['input'];
|
|
164
|
+
purchaseTimes?: InputMaybe$1<Array<InputMaybe$1<PurchaseTimeRangeInput>>>;
|
|
218
165
|
};
|
|
219
|
-
type
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
noOfTransactions?: InputMaybe$2<Scalars$2['Int']['input']>;
|
|
228
|
-
predefinedRule?: InputMaybe$2<Scalars$2['String']['input']>;
|
|
166
|
+
type SpendRestrictionsDaysOfWeekInput = {
|
|
167
|
+
friday: SpendRestrictionsDayInput;
|
|
168
|
+
monday: SpendRestrictionsDayInput;
|
|
169
|
+
saturday: SpendRestrictionsDayInput;
|
|
170
|
+
sunday: SpendRestrictionsDayInput;
|
|
171
|
+
thursday: SpendRestrictionsDayInput;
|
|
172
|
+
tuesday: SpendRestrictionsDayInput;
|
|
173
|
+
wednesday: SpendRestrictionsDayInput;
|
|
229
174
|
};
|
|
230
|
-
type
|
|
231
|
-
|
|
232
|
-
|
|
175
|
+
type SpendRestrictionsInput = {
|
|
176
|
+
amountPerDay?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
177
|
+
amountPerTransaction?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
178
|
+
amountPerWeek?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
179
|
+
checkLocation?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
180
|
+
daysOfWeek?: InputMaybe$1<SpendRestrictionsDaysOfWeekInput>;
|
|
181
|
+
enforceFuelSpendEstimation?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
182
|
+
fuel?: InputMaybe$1<FuelRestrictionsInput>;
|
|
183
|
+
noOfTransactions?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
184
|
+
predefinedRule?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
233
185
|
};
|
|
234
|
-
type UserCreateInput
|
|
235
|
-
additionalInfo?: InputMaybe$
|
|
236
|
-
email?: InputMaybe$
|
|
237
|
-
employeeId?: InputMaybe$
|
|
238
|
-
entityId: Scalars$
|
|
239
|
-
firstName: Scalars$
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
186
|
+
type UserCreateInput = {
|
|
187
|
+
additionalInfo?: InputMaybe$1<AdditionalInfoInput>;
|
|
188
|
+
email?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
189
|
+
employeeId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
190
|
+
entityId: Scalars$1['ID']['input'];
|
|
191
|
+
firstName: Scalars$1['String']['input'];
|
|
192
|
+
id?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
193
|
+
lastName: Scalars$1['String']['input'];
|
|
194
|
+
loginType?: InputMaybe$1<LoginType>;
|
|
195
|
+
organizationId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
196
|
+
phoneNumber?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
197
|
+
role: RoleType;
|
|
245
198
|
};
|
|
246
|
-
declare enum UserStatus
|
|
199
|
+
declare enum UserStatus {
|
|
247
200
|
Deactivated = "DEACTIVATED",
|
|
248
201
|
Deleted = "DELETED",
|
|
249
202
|
Invited = "INVITED",
|
|
@@ -251,57 +204,83 @@ declare enum UserStatus$2 {
|
|
|
251
204
|
Onboarded = "ONBOARDED",
|
|
252
205
|
Unknown = "UNKNOWN",
|
|
253
206
|
}
|
|
254
|
-
type VehicleGroupCreateInput
|
|
255
|
-
description?: InputMaybe$
|
|
256
|
-
driverEnteredOdometerEnabled?: InputMaybe$
|
|
257
|
-
drivers?: InputMaybe$
|
|
258
|
-
entityId?: InputMaybe$
|
|
259
|
-
externalId?: InputMaybe$
|
|
260
|
-
jobCodeEnabled?: InputMaybe$
|
|
261
|
-
jobCodeEntryOption?: InputMaybe$
|
|
262
|
-
jobCodeEntryOptional?: InputMaybe$
|
|
263
|
-
jobCodeOptions?: InputMaybe$
|
|
264
|
-
name: Scalars$
|
|
265
|
-
organizationId?: InputMaybe$
|
|
266
|
-
spendRestrictions: SpendRestrictionsInput
|
|
267
|
-
vehicles?: InputMaybe$
|
|
207
|
+
type VehicleGroupCreateInput = {
|
|
208
|
+
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
209
|
+
driverEnteredOdometerEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
210
|
+
drivers?: InputMaybe$1<Array<InputMaybe$1<Scalars$1['ID']['input']>>>;
|
|
211
|
+
entityId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
212
|
+
externalId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
213
|
+
jobCodeEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
214
|
+
jobCodeEntryOption?: InputMaybe$1<JobCodeEntryOptionEnum>;
|
|
215
|
+
jobCodeEntryOptional?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
216
|
+
jobCodeOptions?: InputMaybe$1<Array<InputMaybe$1<Scalars$1['String']['input']>>>;
|
|
217
|
+
name: Scalars$1['String']['input'];
|
|
218
|
+
organizationId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
219
|
+
spendRestrictions: SpendRestrictionsInput;
|
|
220
|
+
vehicles?: InputMaybe$1<Array<InputMaybe$1<Scalars$1['ID']['input']>>>;
|
|
221
|
+
};
|
|
222
|
+
type VehicleGroupDriversAddInput = {
|
|
223
|
+
drivers: Array<Scalars$1['ID']['input']>;
|
|
224
|
+
vehicleGroupId: Scalars$1['ID']['input'];
|
|
268
225
|
};
|
|
269
|
-
type
|
|
270
|
-
|
|
271
|
-
|
|
226
|
+
type VehicleGroupVehiclesAddInput = {
|
|
227
|
+
vehicleGroupId: Scalars$1['ID']['input'];
|
|
228
|
+
vehicles: Array<Scalars$1['ID']['input']>;
|
|
272
229
|
};
|
|
273
|
-
type
|
|
274
|
-
|
|
275
|
-
|
|
230
|
+
type VehicleGroupsFilterInput = {
|
|
231
|
+
filter: VehicleGroupsFilterOptions;
|
|
232
|
+
page: PageRequest;
|
|
233
|
+
sortOptions?: InputMaybe$1<VehicleGroupsSortOptions>;
|
|
276
234
|
};
|
|
277
|
-
type
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
235
|
+
type VehicleGroupsFilterOptions = {
|
|
236
|
+
driverId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
237
|
+
entityId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
238
|
+
includeChildren?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
239
|
+
includeSpendControls?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
240
|
+
};
|
|
241
|
+
declare enum VehicleGroupsSortField {
|
|
242
|
+
Description = "DESCRIPTION",
|
|
243
|
+
DriverCount = "DRIVER_COUNT",
|
|
244
|
+
LastTransactionDate = "LAST_TRANSACTION_DATE",
|
|
245
|
+
Name = "NAME",
|
|
246
|
+
VehicleCount = "VEHICLE_COUNT",
|
|
247
|
+
}
|
|
248
|
+
type VehicleGroupsSortOptions = {
|
|
249
|
+
direction: SortDirection;
|
|
250
|
+
orderBy: VehicleGroupsSortField;
|
|
251
|
+
};
|
|
252
|
+
type VehicleUpdateInput = {
|
|
253
|
+
customFields?: InputMaybe$1<Array<InputMaybe$1<HashMapInput>>>;
|
|
254
|
+
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
255
|
+
id: Scalars$1['ID']['input'];
|
|
256
|
+
licensePlate?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
257
|
+
licensePlateState?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
258
|
+
number?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
286
259
|
};
|
|
287
|
-
type
|
|
288
|
-
|
|
260
|
+
type VehiclesOnboardInput = {
|
|
261
|
+
customFields?: InputMaybe$1<Array<InputMaybe$1<HashMapInput>>>;
|
|
262
|
+
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
263
|
+
id?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
264
|
+
licensePlate?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
265
|
+
licensePlateState?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
266
|
+
number?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
267
|
+
vehicleGroupId: Scalars$1['ID']['input'];
|
|
268
|
+
vin?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
289
269
|
};
|
|
290
|
-
type
|
|
291
|
-
|
|
292
|
-
odometer?: InputMaybe$2<Scalars$2['Int']['input']>;
|
|
270
|
+
type VehiclesOnboardInputList = {
|
|
271
|
+
vehicles?: InputMaybe$1<Array<InputMaybe$1<VehiclesOnboardInput>>>;
|
|
293
272
|
};
|
|
294
|
-
type ApiKeyCreateMutationVariables
|
|
295
|
-
input: ApiKeyCreateInput
|
|
273
|
+
type ApiKeyCreateMutationVariables = Exact$1<{
|
|
274
|
+
input: ApiKeyCreateInput;
|
|
296
275
|
}>;
|
|
297
|
-
type ApiKeyCreateMutation
|
|
276
|
+
type ApiKeyCreateMutation = {
|
|
298
277
|
__typename?: 'Mutation';
|
|
299
278
|
apiKeyCreate?: {
|
|
300
279
|
__typename?: 'ApiKeyCreateOutput';
|
|
301
280
|
apiKey: string;
|
|
302
281
|
} | null;
|
|
303
282
|
};
|
|
304
|
-
type ClientOnboardMutationVariables = Exact$
|
|
283
|
+
type ClientOnboardMutationVariables = Exact$1<{
|
|
305
284
|
input: ClientOnboardInput;
|
|
306
285
|
}>;
|
|
307
286
|
type ClientOnboardMutation = {
|
|
@@ -316,10 +295,10 @@ type ClientOnboardMutation = {
|
|
|
316
295
|
deletedAt?: string | null;
|
|
317
296
|
} | null;
|
|
318
297
|
};
|
|
319
|
-
type OrganizationCreateMutationVariables
|
|
320
|
-
input: OrganizationCreateInput
|
|
298
|
+
type OrganizationCreateMutationVariables = Exact$1<{
|
|
299
|
+
input: OrganizationCreateInput;
|
|
321
300
|
}>;
|
|
322
|
-
type OrganizationCreateMutation
|
|
301
|
+
type OrganizationCreateMutation = {
|
|
323
302
|
__typename?: 'Mutation';
|
|
324
303
|
organizationCreate?: {
|
|
325
304
|
__typename?: 'Organization';
|
|
@@ -341,10 +320,10 @@ type OrganizationCreateMutation$2 = {
|
|
|
341
320
|
} | null;
|
|
342
321
|
} | null;
|
|
343
322
|
};
|
|
344
|
-
type EntityCreateMutationVariables
|
|
345
|
-
input: EntityCreateInput
|
|
323
|
+
type EntityCreateMutationVariables = Exact$1<{
|
|
324
|
+
input: EntityCreateInput;
|
|
346
325
|
}>;
|
|
347
|
-
type EntityCreateMutation
|
|
326
|
+
type EntityCreateMutation = {
|
|
348
327
|
__typename?: 'Mutation';
|
|
349
328
|
entityCreate?: {
|
|
350
329
|
__typename?: 'Entity';
|
|
@@ -354,13 +333,13 @@ type EntityCreateMutation$2 = {
|
|
|
354
333
|
externalId?: string | null;
|
|
355
334
|
parentId?: string | null;
|
|
356
335
|
hasFinance?: boolean | null;
|
|
357
|
-
funding?: FundingSource
|
|
336
|
+
funding?: FundingSource | null;
|
|
358
337
|
insertedAt?: string | null;
|
|
359
338
|
updatedAt?: string | null;
|
|
360
339
|
} | null;
|
|
361
340
|
};
|
|
362
|
-
type EntityGetExternalIdQueryVariables = Exact$
|
|
363
|
-
externalId?: InputMaybe$
|
|
341
|
+
type EntityGetExternalIdQueryVariables = Exact$1<{
|
|
342
|
+
externalId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
364
343
|
}>;
|
|
365
344
|
type EntityGetExternalIdQuery = {
|
|
366
345
|
__typename?: 'Query';
|
|
@@ -373,7 +352,7 @@ type EntityGetExternalIdQuery = {
|
|
|
373
352
|
hasFinance?: boolean | null;
|
|
374
353
|
code?: string | null;
|
|
375
354
|
path?: string | null;
|
|
376
|
-
funding?: FundingSource
|
|
355
|
+
funding?: FundingSource | null;
|
|
377
356
|
insertedAt?: string | null;
|
|
378
357
|
updatedAt?: string | null;
|
|
379
358
|
deletedAt?: string | null;
|
|
@@ -408,10 +387,10 @@ type EntityGetExternalIdQuery = {
|
|
|
408
387
|
} | null;
|
|
409
388
|
} | null;
|
|
410
389
|
};
|
|
411
|
-
type MachineTokenizeUserMutationVariables
|
|
412
|
-
input?: InputMaybe$
|
|
390
|
+
type MachineTokenizeUserMutationVariables = Exact$1<{
|
|
391
|
+
input?: InputMaybe$1<MachineTokenizeUserInput>;
|
|
413
392
|
}>;
|
|
414
|
-
type MachineTokenizeUserMutation
|
|
393
|
+
type MachineTokenizeUserMutation = {
|
|
415
394
|
__typename?: 'Mutation';
|
|
416
395
|
machineTokenizeUser?: {
|
|
417
396
|
__typename?: 'MachineUserToken';
|
|
@@ -419,70 +398,10 @@ type MachineTokenizeUserMutation$2 = {
|
|
|
419
398
|
expires_in: number;
|
|
420
399
|
} | null;
|
|
421
400
|
};
|
|
422
|
-
type
|
|
423
|
-
input:
|
|
424
|
-
}>;
|
|
425
|
-
type ProvisionCardMutation$2 = {
|
|
426
|
-
__typename?: 'Mutation';
|
|
427
|
-
provisionCard: {
|
|
428
|
-
__typename?: 'ProvisionCardResponse';
|
|
429
|
-
encryptedData?: string | null;
|
|
430
|
-
activationData?: string | null;
|
|
431
|
-
publicKey?: string | null;
|
|
432
|
-
lastFourDigits?: string | null;
|
|
433
|
-
displayName?: string | null;
|
|
434
|
-
cardNetwork?: CardNetwork$2 | null;
|
|
435
|
-
};
|
|
436
|
-
};
|
|
437
|
-
type ProvisionStatusUpdateMutationVariables$2 = Exact$2<{
|
|
438
|
-
input: ProvisionStatusUpdateInput$2;
|
|
439
|
-
}>;
|
|
440
|
-
type ProvisionStatusUpdateMutation$2 = {
|
|
441
|
-
__typename?: 'Mutation';
|
|
442
|
-
provisionStatusUpdate: {
|
|
443
|
-
__typename?: 'BooleanSuccessOutput';
|
|
444
|
-
success: boolean;
|
|
445
|
-
};
|
|
446
|
-
};
|
|
447
|
-
type ServicePayMutationVariables$2 = Exact$2<{
|
|
448
|
-
input: ServicePayInput$2;
|
|
449
|
-
}>;
|
|
450
|
-
type ServicePayMutation$2 = {
|
|
451
|
-
__typename?: 'Mutation';
|
|
452
|
-
servicePay?: {
|
|
453
|
-
__typename?: 'ServicePayOutput';
|
|
454
|
-
requestId: string;
|
|
455
|
-
transactionId: string;
|
|
456
|
-
} | null;
|
|
457
|
-
};
|
|
458
|
-
type TtpTokenizationMutationVariables$1 = Exact$2<{
|
|
459
|
-
input: TtpTokenizationInput$1;
|
|
460
|
-
}>;
|
|
461
|
-
type TtpTokenizationMutation$1 = {
|
|
462
|
-
__typename?: 'Mutation';
|
|
463
|
-
ttpTokenization?: {
|
|
464
|
-
__typename?: 'TtpTokenizationOutput';
|
|
465
|
-
requestId?: string | null;
|
|
466
|
-
success?: boolean | null;
|
|
467
|
-
paymentProviderAccountId?: string | null;
|
|
468
|
-
deviceAccountId?: string | null;
|
|
469
|
-
lastFourDigits?: string | null;
|
|
470
|
-
displayName?: string | null;
|
|
471
|
-
cardFlag?: CardNetwork$2 | null;
|
|
472
|
-
programSupports?: {
|
|
473
|
-
__typename?: 'ProgramSupports';
|
|
474
|
-
isCloseLoopSupported?: boolean | null;
|
|
475
|
-
isDcSupported?: boolean | null;
|
|
476
|
-
isPhysicalCardSupported?: boolean | null;
|
|
477
|
-
isTtpSupported?: boolean | null;
|
|
478
|
-
isUsingInternalProgram?: boolean | null;
|
|
479
|
-
} | null;
|
|
480
|
-
} | null;
|
|
481
|
-
};
|
|
482
|
-
type UserCreateMutationVariables$2 = Exact$2<{
|
|
483
|
-
input: UserCreateInput$2;
|
|
401
|
+
type UserCreateMutationVariables = Exact$1<{
|
|
402
|
+
input: UserCreateInput;
|
|
484
403
|
}>;
|
|
485
|
-
type UserCreateMutation
|
|
404
|
+
type UserCreateMutation = {
|
|
486
405
|
__typename?: 'Mutation';
|
|
487
406
|
userCreate?: {
|
|
488
407
|
__typename?: 'User';
|
|
@@ -494,19 +413,19 @@ type UserCreateMutation$2 = {
|
|
|
494
413
|
email?: string | null;
|
|
495
414
|
phoneNumber?: string | null;
|
|
496
415
|
employeeId?: string | null;
|
|
497
|
-
role?: RoleType
|
|
498
|
-
status?: UserStatus
|
|
499
|
-
loginType?: LoginType
|
|
416
|
+
role?: RoleType | null;
|
|
417
|
+
status?: UserStatus | null;
|
|
418
|
+
loginType?: LoginType | null;
|
|
500
419
|
externalId?: string | null;
|
|
501
420
|
organizationId?: string | null;
|
|
502
421
|
insertedAt?: string | null;
|
|
503
422
|
updatedAt?: string | null;
|
|
504
423
|
} | null;
|
|
505
424
|
};
|
|
506
|
-
type VehicleGroupCreateMutationVariables
|
|
507
|
-
input: VehicleGroupCreateInput
|
|
425
|
+
type VehicleGroupCreateMutationVariables = Exact$1<{
|
|
426
|
+
input: VehicleGroupCreateInput;
|
|
508
427
|
}>;
|
|
509
|
-
type VehicleGroupCreateMutation
|
|
428
|
+
type VehicleGroupCreateMutation = {
|
|
510
429
|
__typename?: 'Mutation';
|
|
511
430
|
vehicleGroupCreate?: {
|
|
512
431
|
__typename?: 'IndividualVehicleGroup';
|
|
@@ -521,10 +440,10 @@ type VehicleGroupCreateMutation$2 = {
|
|
|
521
440
|
updatedAt?: string | null;
|
|
522
441
|
} | null;
|
|
523
442
|
};
|
|
524
|
-
type VehicleGroupDriversAddMutationVariables
|
|
525
|
-
input: VehicleGroupDriversAddInput
|
|
443
|
+
type VehicleGroupDriversAddMutationVariables = Exact$1<{
|
|
444
|
+
input: VehicleGroupDriversAddInput;
|
|
526
445
|
}>;
|
|
527
|
-
type VehicleGroupDriversAddMutation
|
|
446
|
+
type VehicleGroupDriversAddMutation = {
|
|
528
447
|
__typename?: 'Mutation';
|
|
529
448
|
vehicleGroupDriversAdd?: {
|
|
530
449
|
__typename?: 'VehicleGroup';
|
|
@@ -538,10 +457,10 @@ type VehicleGroupDriversAddMutation$2 = {
|
|
|
538
457
|
updatedAt?: string | null;
|
|
539
458
|
} | null;
|
|
540
459
|
};
|
|
541
|
-
type VehicleGroupVehiclesAddMutationVariables
|
|
542
|
-
input: VehicleGroupVehiclesAddInput
|
|
460
|
+
type VehicleGroupVehiclesAddMutationVariables = Exact$1<{
|
|
461
|
+
input: VehicleGroupVehiclesAddInput;
|
|
543
462
|
}>;
|
|
544
|
-
type VehicleGroupVehiclesAddMutation
|
|
463
|
+
type VehicleGroupVehiclesAddMutation = {
|
|
545
464
|
__typename?: 'Mutation';
|
|
546
465
|
vehicleGroupVehiclesAdd?: {
|
|
547
466
|
__typename?: 'VehicleGroup';
|
|
@@ -555,10 +474,39 @@ type VehicleGroupVehiclesAddMutation$2 = {
|
|
|
555
474
|
updatedAt?: string | null;
|
|
556
475
|
} | null;
|
|
557
476
|
};
|
|
558
|
-
type
|
|
559
|
-
input:
|
|
477
|
+
type VehicleUpdateMutationVariables = Exact$1<{
|
|
478
|
+
input: VehicleUpdateInput;
|
|
479
|
+
}>;
|
|
480
|
+
type VehicleUpdateMutation = {
|
|
481
|
+
__typename?: 'Mutation';
|
|
482
|
+
vehicleUpdate?: string | null;
|
|
483
|
+
};
|
|
484
|
+
type VehicleGroupsFilterQueryVariables = Exact$1<{
|
|
485
|
+
input: VehicleGroupsFilterInput;
|
|
486
|
+
}>;
|
|
487
|
+
type VehicleGroupsFilterQuery = {
|
|
488
|
+
__typename?: 'Query';
|
|
489
|
+
vehicleGroupsFilter?: {
|
|
490
|
+
__typename?: 'VehicleGroupsPage';
|
|
491
|
+
data?: Array<{
|
|
492
|
+
__typename?: 'VehicleGroup';
|
|
493
|
+
id: string;
|
|
494
|
+
name?: string | null;
|
|
495
|
+
description?: string | null;
|
|
496
|
+
externalId?: string | null;
|
|
497
|
+
} | null> | null;
|
|
498
|
+
meta?: {
|
|
499
|
+
__typename?: 'PageMeta';
|
|
500
|
+
limit?: number | null;
|
|
501
|
+
offset?: number | null;
|
|
502
|
+
total?: number | null;
|
|
503
|
+
} | null;
|
|
504
|
+
} | null;
|
|
505
|
+
};
|
|
506
|
+
type VehiclesOnboardMutationVariables = Exact$1<{
|
|
507
|
+
input: VehiclesOnboardInputList;
|
|
560
508
|
}>;
|
|
561
|
-
type VehiclesOnboardMutation
|
|
509
|
+
type VehiclesOnboardMutation = {
|
|
562
510
|
__typename?: 'Mutation';
|
|
563
511
|
vehiclesOnboard?: {
|
|
564
512
|
__typename?: 'VehiclesOnboardOutputList';
|
|
@@ -572,33 +520,36 @@ type VehiclesOnboardMutation$2 = {
|
|
|
572
520
|
} | null> | null;
|
|
573
521
|
} | null;
|
|
574
522
|
};
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
523
|
+
//#endregion
|
|
524
|
+
//#region src/organization.d.ts
|
|
525
|
+
interface ElementPayOrganizationConfig {
|
|
526
|
+
apiKey: string;
|
|
527
|
+
environment?: 'int' | 'stage';
|
|
528
|
+
endpoint?: string;
|
|
529
|
+
}
|
|
530
|
+
declare function getOrganizaionSdk(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>;
|
|
592
544
|
};
|
|
593
545
|
//#endregion
|
|
594
|
-
//#region src/generated/
|
|
595
|
-
type Maybe
|
|
596
|
-
type InputMaybe
|
|
597
|
-
type Exact
|
|
546
|
+
//#region src/generated/user/sdk.d.ts
|
|
547
|
+
type Maybe<T> = T | null;
|
|
548
|
+
type InputMaybe<T> = Maybe<T>;
|
|
549
|
+
type Exact<T extends {
|
|
598
550
|
[key: string]: unknown;
|
|
599
551
|
}> = { [K in keyof T]: T[K] };
|
|
600
|
-
type
|
|
601
|
-
type Scalars$1 = {
|
|
552
|
+
type Scalars = {
|
|
602
553
|
ID: {
|
|
603
554
|
input: string;
|
|
604
555
|
output: string;
|
|
@@ -628,497 +579,6 @@ type Scalars$1 = {
|
|
|
628
579
|
output: any;
|
|
629
580
|
};
|
|
630
581
|
};
|
|
631
|
-
type AddressInput$1 = {
|
|
632
|
-
city: Scalars$1['String']['input'];
|
|
633
|
-
country: Scalars$1['String']['input'];
|
|
634
|
-
line1: Scalars$1['String']['input'];
|
|
635
|
-
line2?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
636
|
-
state: Scalars$1['String']['input'];
|
|
637
|
-
zip: Scalars$1['String']['input'];
|
|
638
|
-
};
|
|
639
|
-
type ApiKeyCreateInput$1 = {
|
|
640
|
-
entityId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
641
|
-
name: Scalars$1['String']['input'];
|
|
642
|
-
organizationId: Scalars$1['ID']['input'];
|
|
643
|
-
};
|
|
644
|
-
declare enum CardNetwork$1 {
|
|
645
|
-
Mastercard = "MASTERCARD",
|
|
646
|
-
Visa = "VISA",
|
|
647
|
-
}
|
|
648
|
-
declare enum DigitalWallet$1 {
|
|
649
|
-
DigitalWalletAndroid = "DIGITAL_WALLET_ANDROID",
|
|
650
|
-
DigitalWalletApple = "DIGITAL_WALLET_APPLE",
|
|
651
|
-
}
|
|
652
|
-
type EntityCreateInput$1 = {
|
|
653
|
-
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
654
|
-
externalId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
655
|
-
funding?: InputMaybe$1<FundingSource$1>;
|
|
656
|
-
hasFinance?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
657
|
-
name: Scalars$1['String']['input'];
|
|
658
|
-
organizationId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
659
|
-
parentId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
660
|
-
};
|
|
661
|
-
declare enum FeeNetworkDesignationType {
|
|
662
|
-
ExtendedNetwork = "EXTENDED_NETWORK",
|
|
663
|
-
InNetwork = "IN_NETWORK",
|
|
664
|
-
OutOfNetwork = "OUT_OF_NETWORK",
|
|
665
|
-
}
|
|
666
|
-
type FuelRestrictionsInput$1 = {
|
|
667
|
-
amountPerDay?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
668
|
-
amountPerTransaction?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
669
|
-
checkLocation?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
670
|
-
daysOfWeek?: InputMaybe$1<PurchaseDaysOfWeekInput$1>;
|
|
671
|
-
hours?: InputMaybe$1<PurchaseTimeRangeInput$1>;
|
|
672
|
-
isEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
673
|
-
noOfTransactions?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
674
|
-
};
|
|
675
|
-
declare enum FundingSource$1 {
|
|
676
|
-
Ach = "ACH",
|
|
677
|
-
Parent = "PARENT",
|
|
678
|
-
Unknown = "UNKNOWN",
|
|
679
|
-
}
|
|
680
|
-
type HashMapInput$1 = {
|
|
681
|
-
key: Scalars$1['String']['input'];
|
|
682
|
-
value: Scalars$1['String']['input'];
|
|
683
|
-
};
|
|
684
|
-
declare enum JobCodeEntryOptionEnum$1 {
|
|
685
|
-
Freeform = "FREEFORM",
|
|
686
|
-
Predefined = "PREDEFINED",
|
|
687
|
-
}
|
|
688
|
-
declare enum LoginType$1 {
|
|
689
|
-
Email = "EMAIL",
|
|
690
|
-
Phone = "PHONE",
|
|
691
|
-
Unknown = "UNKNOWN",
|
|
692
|
-
}
|
|
693
|
-
type MachineTokenizeUserInput$1 = {
|
|
694
|
-
email?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
695
|
-
externalId: Scalars$1['String']['input'];
|
|
696
|
-
firstName?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
697
|
-
lastName?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
698
|
-
organizationId: Scalars$1['ID']['input'];
|
|
699
|
-
phoneNumber?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
700
|
-
username?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
701
|
-
};
|
|
702
|
-
type OrganizationCreateInput$1 = {
|
|
703
|
-
address: AddressInput$1;
|
|
704
|
-
checkLocationOverride?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
705
|
-
costFactorEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
706
|
-
email?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
707
|
-
integratorId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
708
|
-
name: Scalars$1['String']['input'];
|
|
709
|
-
onboardedBy?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
710
|
-
taxId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
711
|
-
unitsId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
712
|
-
useTspMetadata?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
713
|
-
};
|
|
714
|
-
type PositionInput$1 = {
|
|
715
|
-
latitude: Scalars$1['Float']['input'];
|
|
716
|
-
longitude: Scalars$1['Float']['input'];
|
|
717
|
-
};
|
|
718
|
-
type ProvisionCardInput$1 = {
|
|
719
|
-
deviceAccountId: Scalars$1['String']['input'];
|
|
720
|
-
googleHardwareId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
721
|
-
intermediateCertificate?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
722
|
-
leafCertificate?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
723
|
-
nonceSignature?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
724
|
-
nonceValue?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
725
|
-
paymentProviderAccountId: Scalars$1['String']['input'];
|
|
726
|
-
walletId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
727
|
-
walletType: DigitalWallet$1;
|
|
728
|
-
};
|
|
729
|
-
type ProvisionStatusUpdateInput$1 = {
|
|
730
|
-
deviceAccountId: Scalars$1['String']['input'];
|
|
731
|
-
errorDescription?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
732
|
-
paymentProviderAccountId: Scalars$1['String']['input'];
|
|
733
|
-
status: ProvisioningStatus$1;
|
|
734
|
-
};
|
|
735
|
-
declare enum ProvisioningStatus$1 {
|
|
736
|
-
Error = "ERROR",
|
|
737
|
-
Success = "SUCCESS",
|
|
738
|
-
}
|
|
739
|
-
type PurchaseDaysOfWeekInput$1 = {
|
|
740
|
-
friday: Scalars$1['Boolean']['input'];
|
|
741
|
-
monday: Scalars$1['Boolean']['input'];
|
|
742
|
-
saturday: Scalars$1['Boolean']['input'];
|
|
743
|
-
sunday: Scalars$1['Boolean']['input'];
|
|
744
|
-
thursday: Scalars$1['Boolean']['input'];
|
|
745
|
-
tuesday: Scalars$1['Boolean']['input'];
|
|
746
|
-
wednesday: Scalars$1['Boolean']['input'];
|
|
747
|
-
};
|
|
748
|
-
type PurchaseTimeRangeInput$1 = {
|
|
749
|
-
from?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
750
|
-
to?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
751
|
-
};
|
|
752
|
-
declare enum RoleType$1 {
|
|
753
|
-
Admin = "ADMIN",
|
|
754
|
-
Driver = "DRIVER",
|
|
755
|
-
FullAccess = "FULL_ACCESS",
|
|
756
|
-
Manager = "MANAGER",
|
|
757
|
-
ViewOnly = "VIEW_ONLY",
|
|
758
|
-
}
|
|
759
|
-
type ServiceFuelInput$1 = {
|
|
760
|
-
additionalInfo?: InputMaybe$1<AdditionalServicePayInfoInput$1>;
|
|
761
|
-
pumpNumber: Scalars$1['Int']['input'];
|
|
762
|
-
};
|
|
763
|
-
type ServicePayInput$1 = {
|
|
764
|
-
deviceId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
765
|
-
fuel?: InputMaybe$1<ServiceFuelInput$1>;
|
|
766
|
-
localTime?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
767
|
-
locationId: Scalars$1['ID']['input'];
|
|
768
|
-
openloopFallback?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
769
|
-
position: PositionInput$1;
|
|
770
|
-
requestId: Scalars$1['ID']['input'];
|
|
771
|
-
vehicleId: Scalars$1['ID']['input'];
|
|
772
|
-
};
|
|
773
|
-
type SpendRestrictionsDayInput$1 = {
|
|
774
|
-
isEnabled: Scalars$1['Boolean']['input'];
|
|
775
|
-
purchaseTimes?: InputMaybe$1<Array<InputMaybe$1<PurchaseTimeRangeInput$1>>>;
|
|
776
|
-
};
|
|
777
|
-
type SpendRestrictionsDaysOfWeekInput$1 = {
|
|
778
|
-
friday: SpendRestrictionsDayInput$1;
|
|
779
|
-
monday: SpendRestrictionsDayInput$1;
|
|
780
|
-
saturday: SpendRestrictionsDayInput$1;
|
|
781
|
-
sunday: SpendRestrictionsDayInput$1;
|
|
782
|
-
thursday: SpendRestrictionsDayInput$1;
|
|
783
|
-
tuesday: SpendRestrictionsDayInput$1;
|
|
784
|
-
wednesday: SpendRestrictionsDayInput$1;
|
|
785
|
-
};
|
|
786
|
-
type SpendRestrictionsInput$1 = {
|
|
787
|
-
amountPerDay?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
788
|
-
amountPerTransaction?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
789
|
-
amountPerWeek?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
790
|
-
checkLocation?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
791
|
-
daysOfWeek?: InputMaybe$1<SpendRestrictionsDaysOfWeekInput$1>;
|
|
792
|
-
enforceFuelSpendEstimation?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
793
|
-
fuel?: InputMaybe$1<FuelRestrictionsInput$1>;
|
|
794
|
-
noOfTransactions?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
795
|
-
predefinedRule?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
796
|
-
};
|
|
797
|
-
type UserCreateInput$1 = {
|
|
798
|
-
email?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
799
|
-
employeeId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
800
|
-
entityId: Scalars$1['ID']['input'];
|
|
801
|
-
firstName: Scalars$1['String']['input'];
|
|
802
|
-
isCorporatePhone?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
803
|
-
lastName: Scalars$1['String']['input'];
|
|
804
|
-
login?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
805
|
-
loginType?: InputMaybe$1<LoginType$1>;
|
|
806
|
-
middleName?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
807
|
-
organizationId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
808
|
-
phoneNumber: Scalars$1['String']['input'];
|
|
809
|
-
role: RoleType$1;
|
|
810
|
-
};
|
|
811
|
-
declare enum UserStatus$1 {
|
|
812
|
-
Deactivated = "DEACTIVATED",
|
|
813
|
-
Deleted = "DELETED",
|
|
814
|
-
Invited = "INVITED",
|
|
815
|
-
LockedOut = "LOCKED_OUT",
|
|
816
|
-
Onboarded = "ONBOARDED",
|
|
817
|
-
Unknown = "UNKNOWN",
|
|
818
|
-
}
|
|
819
|
-
type VehicleGroupCreateInput$1 = {
|
|
820
|
-
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
821
|
-
driverEnteredOdometerEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
822
|
-
drivers?: InputMaybe$1<Array<InputMaybe$1<Scalars$1['ID']['input']>>>;
|
|
823
|
-
entityId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
824
|
-
externalId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
825
|
-
jobCodeEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
826
|
-
jobCodeEntryOption?: InputMaybe$1<JobCodeEntryOptionEnum$1>;
|
|
827
|
-
jobCodeEntryOptional?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
828
|
-
jobCodeOptions?: InputMaybe$1<Array<InputMaybe$1<Scalars$1['String']['input']>>>;
|
|
829
|
-
name: Scalars$1['String']['input'];
|
|
830
|
-
organizationId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
831
|
-
spendRestrictions: SpendRestrictionsInput$1;
|
|
832
|
-
vehicles?: InputMaybe$1<Array<InputMaybe$1<Scalars$1['ID']['input']>>>;
|
|
833
|
-
};
|
|
834
|
-
type VehicleGroupDriversAddInput$1 = {
|
|
835
|
-
drivers: Array<Scalars$1['ID']['input']>;
|
|
836
|
-
vehicleGroupId: Scalars$1['ID']['input'];
|
|
837
|
-
};
|
|
838
|
-
type VehicleGroupVehiclesAddInput$1 = {
|
|
839
|
-
vehicleGroupId: Scalars$1['ID']['input'];
|
|
840
|
-
vehicles: Array<Scalars$1['ID']['input']>;
|
|
841
|
-
};
|
|
842
|
-
type VehiclesOnboardInput$1 = {
|
|
843
|
-
customFields?: InputMaybe$1<Array<InputMaybe$1<HashMapInput$1>>>;
|
|
844
|
-
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
845
|
-
id?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
846
|
-
licensePlate?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
847
|
-
licensePlateState?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
848
|
-
number?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
849
|
-
vehicleGroupId: Scalars$1['ID']['input'];
|
|
850
|
-
vin?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
851
|
-
};
|
|
852
|
-
type VehiclesOnboardInputList$1 = {
|
|
853
|
-
vehicles?: InputMaybe$1<Array<InputMaybe$1<VehiclesOnboardInput$1>>>;
|
|
854
|
-
};
|
|
855
|
-
type AdditionalServicePayInfoInput$1 = {
|
|
856
|
-
jobCode?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
857
|
-
odometer?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
858
|
-
};
|
|
859
|
-
type ApiKeyCreateMutationVariables$1 = Exact$1<{
|
|
860
|
-
input: ApiKeyCreateInput$1;
|
|
861
|
-
}>;
|
|
862
|
-
type ApiKeyCreateMutation$1 = {
|
|
863
|
-
__typename?: 'Mutation';
|
|
864
|
-
apiKeyCreate?: {
|
|
865
|
-
__typename?: 'ApiKeyCreateOutput';
|
|
866
|
-
apiKey: string;
|
|
867
|
-
} | null;
|
|
868
|
-
};
|
|
869
|
-
type OrganizationCreateMutationVariables$1 = Exact$1<{
|
|
870
|
-
input: OrganizationCreateInput$1;
|
|
871
|
-
}>;
|
|
872
|
-
type OrganizationCreateMutation$1 = {
|
|
873
|
-
__typename?: 'Mutation';
|
|
874
|
-
organizationCreate?: {
|
|
875
|
-
__typename?: 'Organization';
|
|
876
|
-
id: string;
|
|
877
|
-
name?: string | null;
|
|
878
|
-
onboardedAt?: string | null;
|
|
879
|
-
onboardedBy?: string | null;
|
|
880
|
-
insertedAt?: string | null;
|
|
881
|
-
updatedAt?: string | null;
|
|
882
|
-
deletedAt?: string | null;
|
|
883
|
-
address?: {
|
|
884
|
-
__typename?: 'Address';
|
|
885
|
-
line1?: string | null;
|
|
886
|
-
line2?: string | null;
|
|
887
|
-
city?: string | null;
|
|
888
|
-
state?: string | null;
|
|
889
|
-
country?: string | null;
|
|
890
|
-
zip?: string | null;
|
|
891
|
-
} | null;
|
|
892
|
-
} | null;
|
|
893
|
-
};
|
|
894
|
-
type EntityCreateMutationVariables$1 = Exact$1<{
|
|
895
|
-
input: EntityCreateInput$1;
|
|
896
|
-
}>;
|
|
897
|
-
type EntityCreateMutation$1 = {
|
|
898
|
-
__typename?: 'Mutation';
|
|
899
|
-
entityCreate?: {
|
|
900
|
-
__typename?: 'Entity';
|
|
901
|
-
id: string;
|
|
902
|
-
name?: string | null;
|
|
903
|
-
description?: string | null;
|
|
904
|
-
externalId?: string | null;
|
|
905
|
-
parentId?: string | null;
|
|
906
|
-
hasFinance?: boolean | null;
|
|
907
|
-
funding?: FundingSource$1 | null;
|
|
908
|
-
insertedAt?: string | null;
|
|
909
|
-
updatedAt?: string | null;
|
|
910
|
-
} | null;
|
|
911
|
-
};
|
|
912
|
-
type MachineTokenizeUserMutationVariables$1 = Exact$1<{
|
|
913
|
-
input?: InputMaybe$1<MachineTokenizeUserInput$1>;
|
|
914
|
-
}>;
|
|
915
|
-
type MachineTokenizeUserMutation$1 = {
|
|
916
|
-
__typename?: 'Mutation';
|
|
917
|
-
machineTokenizeUser?: {
|
|
918
|
-
__typename?: 'MachineUserToken';
|
|
919
|
-
access_token: string;
|
|
920
|
-
expires_in: number;
|
|
921
|
-
} | null;
|
|
922
|
-
};
|
|
923
|
-
type ProvisionCardMutationVariables$1 = Exact$1<{
|
|
924
|
-
input: ProvisionCardInput$1;
|
|
925
|
-
}>;
|
|
926
|
-
type ProvisionCardMutation$1 = {
|
|
927
|
-
__typename?: 'Mutation';
|
|
928
|
-
provisionCard: {
|
|
929
|
-
__typename?: 'ProvisionCardResponse';
|
|
930
|
-
encryptedData?: string | null;
|
|
931
|
-
activationData?: string | null;
|
|
932
|
-
publicKey?: string | null;
|
|
933
|
-
lastFourDigits?: string | null;
|
|
934
|
-
displayName?: string | null;
|
|
935
|
-
cardNetwork?: CardNetwork$1 | null;
|
|
936
|
-
};
|
|
937
|
-
};
|
|
938
|
-
type ProvisionStatusUpdateMutationVariables$1 = Exact$1<{
|
|
939
|
-
input: ProvisionStatusUpdateInput$1;
|
|
940
|
-
}>;
|
|
941
|
-
type ProvisionStatusUpdateMutation$1 = {
|
|
942
|
-
__typename?: 'Mutation';
|
|
943
|
-
provisionStatusUpdate: {
|
|
944
|
-
__typename?: 'BooleanSuccessOutput';
|
|
945
|
-
success: boolean;
|
|
946
|
-
};
|
|
947
|
-
};
|
|
948
|
-
type ServicePayMutationVariables$1 = Exact$1<{
|
|
949
|
-
input: ServicePayInput$1;
|
|
950
|
-
}>;
|
|
951
|
-
type ServicePayMutation$1 = {
|
|
952
|
-
__typename?: 'Mutation';
|
|
953
|
-
servicePay?: {
|
|
954
|
-
__typename?: 'ServicePayOutput';
|
|
955
|
-
requestId: string;
|
|
956
|
-
transactionId: string;
|
|
957
|
-
} | null;
|
|
958
|
-
};
|
|
959
|
-
type UserCreateMutationVariables$1 = Exact$1<{
|
|
960
|
-
input: UserCreateInput$1;
|
|
961
|
-
}>;
|
|
962
|
-
type UserCreateMutation$1 = {
|
|
963
|
-
__typename?: 'Mutation';
|
|
964
|
-
userCreate?: {
|
|
965
|
-
__typename?: 'User';
|
|
966
|
-
id?: string | null;
|
|
967
|
-
firstName?: string | null;
|
|
968
|
-
lastName?: string | null;
|
|
969
|
-
middleName?: string | null;
|
|
970
|
-
fullName?: string | null;
|
|
971
|
-
email?: string | null;
|
|
972
|
-
phoneNumber?: string | null;
|
|
973
|
-
employeeId?: string | null;
|
|
974
|
-
role?: RoleType$1 | null;
|
|
975
|
-
status?: UserStatus$1 | null;
|
|
976
|
-
loginType?: LoginType$1 | null;
|
|
977
|
-
externalId?: string | null;
|
|
978
|
-
organizationId?: string | null;
|
|
979
|
-
insertedAt?: string | null;
|
|
980
|
-
updatedAt?: string | null;
|
|
981
|
-
} | null;
|
|
982
|
-
};
|
|
983
|
-
type VehicleGroupCreateMutationVariables$1 = Exact$1<{
|
|
984
|
-
input: VehicleGroupCreateInput$1;
|
|
985
|
-
}>;
|
|
986
|
-
type VehicleGroupCreateMutation$1 = {
|
|
987
|
-
__typename?: 'Mutation';
|
|
988
|
-
vehicleGroupCreate?: {
|
|
989
|
-
__typename?: 'IndividualVehicleGroup';
|
|
990
|
-
id: string;
|
|
991
|
-
code?: string | null;
|
|
992
|
-
name?: string | null;
|
|
993
|
-
description?: string | null;
|
|
994
|
-
externalId?: string | null;
|
|
995
|
-
driverCount?: number | null;
|
|
996
|
-
vehicleCount?: number | null;
|
|
997
|
-
insertedAt?: string | null;
|
|
998
|
-
updatedAt?: string | null;
|
|
999
|
-
} | null;
|
|
1000
|
-
};
|
|
1001
|
-
type VehicleGroupDriversAddMutationVariables$1 = Exact$1<{
|
|
1002
|
-
input: VehicleGroupDriversAddInput$1;
|
|
1003
|
-
}>;
|
|
1004
|
-
type VehicleGroupDriversAddMutation$1 = {
|
|
1005
|
-
__typename?: 'Mutation';
|
|
1006
|
-
vehicleGroupDriversAdd?: {
|
|
1007
|
-
__typename?: 'VehicleGroup';
|
|
1008
|
-
id: string;
|
|
1009
|
-
name?: string | null;
|
|
1010
|
-
description?: string | null;
|
|
1011
|
-
externalId?: string | null;
|
|
1012
|
-
driverCount?: number | null;
|
|
1013
|
-
vehicleCount?: number | null;
|
|
1014
|
-
insertedAt?: string | null;
|
|
1015
|
-
updatedAt?: string | null;
|
|
1016
|
-
} | null;
|
|
1017
|
-
};
|
|
1018
|
-
type VehicleGroupVehiclesAddMutationVariables$1 = Exact$1<{
|
|
1019
|
-
input: VehicleGroupVehiclesAddInput$1;
|
|
1020
|
-
}>;
|
|
1021
|
-
type VehicleGroupVehiclesAddMutation$1 = {
|
|
1022
|
-
__typename?: 'Mutation';
|
|
1023
|
-
vehicleGroupVehiclesAdd?: {
|
|
1024
|
-
__typename?: 'VehicleGroup';
|
|
1025
|
-
id: string;
|
|
1026
|
-
name?: string | null;
|
|
1027
|
-
description?: string | null;
|
|
1028
|
-
externalId?: string | null;
|
|
1029
|
-
driverCount?: number | null;
|
|
1030
|
-
vehicleCount?: number | null;
|
|
1031
|
-
insertedAt?: string | null;
|
|
1032
|
-
updatedAt?: string | null;
|
|
1033
|
-
} | null;
|
|
1034
|
-
};
|
|
1035
|
-
type VehiclesOnboardMutationVariables$1 = Exact$1<{
|
|
1036
|
-
input: VehiclesOnboardInputList$1;
|
|
1037
|
-
}>;
|
|
1038
|
-
type VehiclesOnboardMutation$1 = {
|
|
1039
|
-
__typename?: 'Mutation';
|
|
1040
|
-
vehiclesOnboard?: {
|
|
1041
|
-
__typename?: 'VehiclesOnboardOutputList';
|
|
1042
|
-
vehicles?: Array<{
|
|
1043
|
-
__typename?: 'VehiclesOnboardOutput';
|
|
1044
|
-
id?: string | null;
|
|
1045
|
-
vin?: string | null;
|
|
1046
|
-
vehicleGroupId: string;
|
|
1047
|
-
success?: boolean | null;
|
|
1048
|
-
error?: string | null;
|
|
1049
|
-
} | null> | null;
|
|
1050
|
-
} | null;
|
|
1051
|
-
};
|
|
1052
|
-
type SdkFunctionWrapper$1 = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
1053
|
-
declare function getSdk$1(client: GraphQLClient, withWrapper?: SdkFunctionWrapper$1): {
|
|
1054
|
-
apiKeyCreate(variables: ApiKeyCreateMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<ApiKeyCreateMutation$1>;
|
|
1055
|
-
organizationCreate(variables: OrganizationCreateMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<OrganizationCreateMutation$1>;
|
|
1056
|
-
entityCreate(variables: EntityCreateMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<EntityCreateMutation$1>;
|
|
1057
|
-
machineTokenizeUser(variables?: MachineTokenizeUserMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<MachineTokenizeUserMutation$1>;
|
|
1058
|
-
provisionCard(variables: ProvisionCardMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<ProvisionCardMutation$1>;
|
|
1059
|
-
provisionStatusUpdate(variables: ProvisionStatusUpdateMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<ProvisionStatusUpdateMutation$1>;
|
|
1060
|
-
servicePay(variables: ServicePayMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<ServicePayMutation$1>;
|
|
1061
|
-
userCreate(variables: UserCreateMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<UserCreateMutation$1>;
|
|
1062
|
-
vehicleGroupCreate(variables: VehicleGroupCreateMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<VehicleGroupCreateMutation$1>;
|
|
1063
|
-
vehicleGroupDriversAdd(variables: VehicleGroupDriversAddMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<VehicleGroupDriversAddMutation$1>;
|
|
1064
|
-
vehicleGroupVehiclesAdd(variables: VehicleGroupVehiclesAddMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<VehicleGroupVehiclesAddMutation$1>;
|
|
1065
|
-
vehiclesOnboard(variables: VehiclesOnboardMutationVariables$1, requestHeaders?: GraphQLClientRequestHeaders$1, signal?: RequestInit["signal"]): Promise<VehiclesOnboardMutation$1>;
|
|
1066
|
-
};
|
|
1067
|
-
//#endregion
|
|
1068
|
-
//#region src/generated/stage/sdk.d.ts
|
|
1069
|
-
type Maybe<T> = T | null;
|
|
1070
|
-
type InputMaybe<T> = Maybe<T>;
|
|
1071
|
-
type Exact<T extends {
|
|
1072
|
-
[key: string]: unknown;
|
|
1073
|
-
}> = { [K in keyof T]: T[K] };
|
|
1074
|
-
type GraphQLClientRequestHeaders = RequestOptions['requestHeaders'];
|
|
1075
|
-
type Scalars = {
|
|
1076
|
-
ID: {
|
|
1077
|
-
input: string;
|
|
1078
|
-
output: string;
|
|
1079
|
-
};
|
|
1080
|
-
String: {
|
|
1081
|
-
input: string;
|
|
1082
|
-
output: string;
|
|
1083
|
-
};
|
|
1084
|
-
Boolean: {
|
|
1085
|
-
input: boolean;
|
|
1086
|
-
output: boolean;
|
|
1087
|
-
};
|
|
1088
|
-
Int: {
|
|
1089
|
-
input: number;
|
|
1090
|
-
output: number;
|
|
1091
|
-
};
|
|
1092
|
-
Float: {
|
|
1093
|
-
input: number;
|
|
1094
|
-
output: number;
|
|
1095
|
-
};
|
|
1096
|
-
JSON: {
|
|
1097
|
-
input: any;
|
|
1098
|
-
output: any;
|
|
1099
|
-
};
|
|
1100
|
-
JSONObject: {
|
|
1101
|
-
input: any;
|
|
1102
|
-
output: any;
|
|
1103
|
-
};
|
|
1104
|
-
};
|
|
1105
|
-
type AdditionalInfoInput = {
|
|
1106
|
-
contactPhoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
1107
|
-
isCorporatePhone?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1108
|
-
};
|
|
1109
|
-
type AddressInput = {
|
|
1110
|
-
city: Scalars['String']['input'];
|
|
1111
|
-
country: Scalars['String']['input'];
|
|
1112
|
-
line1: Scalars['String']['input'];
|
|
1113
|
-
line2?: InputMaybe<Scalars['String']['input']>;
|
|
1114
|
-
state: Scalars['String']['input'];
|
|
1115
|
-
zip: Scalars['String']['input'];
|
|
1116
|
-
};
|
|
1117
|
-
type ApiKeyCreateInput = {
|
|
1118
|
-
entityId?: InputMaybe<Scalars['ID']['input']>;
|
|
1119
|
-
name: Scalars['String']['input'];
|
|
1120
|
-
organizationId: Scalars['ID']['input'];
|
|
1121
|
-
};
|
|
1122
582
|
declare enum CardNetwork {
|
|
1123
583
|
Mastercard = "MASTERCARD",
|
|
1124
584
|
Visa = "VISA",
|
|
@@ -1127,63 +587,6 @@ declare enum DigitalWallet {
|
|
|
1127
587
|
DigitalWalletAndroid = "DIGITAL_WALLET_ANDROID",
|
|
1128
588
|
DigitalWalletApple = "DIGITAL_WALLET_APPLE",
|
|
1129
589
|
}
|
|
1130
|
-
type EntityCreateInput = {
|
|
1131
|
-
description?: InputMaybe<Scalars['String']['input']>;
|
|
1132
|
-
externalId?: InputMaybe<Scalars['String']['input']>;
|
|
1133
|
-
funding?: InputMaybe<FundingSource>;
|
|
1134
|
-
hasFinance?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1135
|
-
name: Scalars['String']['input'];
|
|
1136
|
-
organizationId?: InputMaybe<Scalars['ID']['input']>;
|
|
1137
|
-
parentId?: InputMaybe<Scalars['ID']['input']>;
|
|
1138
|
-
};
|
|
1139
|
-
type FuelRestrictionsInput = {
|
|
1140
|
-
amountPerDay?: InputMaybe<Scalars['String']['input']>;
|
|
1141
|
-
amountPerTransaction?: InputMaybe<Scalars['String']['input']>;
|
|
1142
|
-
checkLocation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1143
|
-
daysOfWeek?: InputMaybe<PurchaseDaysOfWeekInput>;
|
|
1144
|
-
hours?: InputMaybe<PurchaseTimeRangeInput>;
|
|
1145
|
-
isEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1146
|
-
noOfTransactions?: InputMaybe<Scalars['Int']['input']>;
|
|
1147
|
-
};
|
|
1148
|
-
declare enum FundingSource {
|
|
1149
|
-
Ach = "ACH",
|
|
1150
|
-
Parent = "PARENT",
|
|
1151
|
-
Unknown = "UNKNOWN",
|
|
1152
|
-
}
|
|
1153
|
-
type HashMapInput = {
|
|
1154
|
-
key: Scalars['String']['input'];
|
|
1155
|
-
value: Scalars['String']['input'];
|
|
1156
|
-
};
|
|
1157
|
-
declare enum JobCodeEntryOptionEnum {
|
|
1158
|
-
Freeform = "FREEFORM",
|
|
1159
|
-
Predefined = "PREDEFINED",
|
|
1160
|
-
}
|
|
1161
|
-
declare enum LoginType {
|
|
1162
|
-
Email = "EMAIL",
|
|
1163
|
-
Phone = "PHONE",
|
|
1164
|
-
Unknown = "UNKNOWN",
|
|
1165
|
-
}
|
|
1166
|
-
type MachineTokenizeUserInput = {
|
|
1167
|
-
email?: InputMaybe<Scalars['String']['input']>;
|
|
1168
|
-
externalId: Scalars['String']['input'];
|
|
1169
|
-
firstName?: InputMaybe<Scalars['String']['input']>;
|
|
1170
|
-
lastName?: InputMaybe<Scalars['String']['input']>;
|
|
1171
|
-
organizationId: Scalars['ID']['input'];
|
|
1172
|
-
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
1173
|
-
username?: InputMaybe<Scalars['String']['input']>;
|
|
1174
|
-
};
|
|
1175
|
-
type OrganizationCreateInput = {
|
|
1176
|
-
address: AddressInput;
|
|
1177
|
-
checkLocationOverride?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1178
|
-
costFactorEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1179
|
-
email?: InputMaybe<Scalars['String']['input']>;
|
|
1180
|
-
integratorId?: InputMaybe<Scalars['ID']['input']>;
|
|
1181
|
-
name: Scalars['String']['input'];
|
|
1182
|
-
onboardedBy?: InputMaybe<Scalars['String']['input']>;
|
|
1183
|
-
taxId?: InputMaybe<Scalars['String']['input']>;
|
|
1184
|
-
unitsId?: InputMaybe<Scalars['String']['input']>;
|
|
1185
|
-
useTspMetadata?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1186
|
-
};
|
|
1187
590
|
declare enum PaymentMethodType {
|
|
1188
591
|
DirectConnect = "DIRECT_CONNECT",
|
|
1189
592
|
LinkedCard = "LINKED_CARD",
|
|
@@ -1215,26 +618,6 @@ declare enum ProvisioningStatus {
|
|
|
1215
618
|
Error = "ERROR",
|
|
1216
619
|
Success = "SUCCESS",
|
|
1217
620
|
}
|
|
1218
|
-
type PurchaseDaysOfWeekInput = {
|
|
1219
|
-
friday: Scalars['Boolean']['input'];
|
|
1220
|
-
monday: Scalars['Boolean']['input'];
|
|
1221
|
-
saturday: Scalars['Boolean']['input'];
|
|
1222
|
-
sunday: Scalars['Boolean']['input'];
|
|
1223
|
-
thursday: Scalars['Boolean']['input'];
|
|
1224
|
-
tuesday: Scalars['Boolean']['input'];
|
|
1225
|
-
wednesday: Scalars['Boolean']['input'];
|
|
1226
|
-
};
|
|
1227
|
-
type PurchaseTimeRangeInput = {
|
|
1228
|
-
from?: InputMaybe<Scalars['String']['input']>;
|
|
1229
|
-
to?: InputMaybe<Scalars['String']['input']>;
|
|
1230
|
-
};
|
|
1231
|
-
declare enum RoleType {
|
|
1232
|
-
Admin = "ADMIN",
|
|
1233
|
-
Driver = "DRIVER",
|
|
1234
|
-
FullAccess = "FULL_ACCESS",
|
|
1235
|
-
Manager = "MANAGER",
|
|
1236
|
-
ViewOnly = "VIEW_ONLY",
|
|
1237
|
-
}
|
|
1238
621
|
type ServiceFuelInput = {
|
|
1239
622
|
additionalInfo?: InputMaybe<AdditionalServicePayInfoInput>;
|
|
1240
623
|
pumpNumber: Scalars['Int']['input'];
|
|
@@ -1250,158 +633,14 @@ type ServicePayInput = {
|
|
|
1250
633
|
requestId: Scalars['ID']['input'];
|
|
1251
634
|
vehicleId: Scalars['ID']['input'];
|
|
1252
635
|
};
|
|
1253
|
-
type SpendRestrictionsDayInput = {
|
|
1254
|
-
isEnabled: Scalars['Boolean']['input'];
|
|
1255
|
-
purchaseTimes?: InputMaybe<Array<InputMaybe<PurchaseTimeRangeInput>>>;
|
|
1256
|
-
};
|
|
1257
|
-
type SpendRestrictionsDaysOfWeekInput = {
|
|
1258
|
-
friday: SpendRestrictionsDayInput;
|
|
1259
|
-
monday: SpendRestrictionsDayInput;
|
|
1260
|
-
saturday: SpendRestrictionsDayInput;
|
|
1261
|
-
sunday: SpendRestrictionsDayInput;
|
|
1262
|
-
thursday: SpendRestrictionsDayInput;
|
|
1263
|
-
tuesday: SpendRestrictionsDayInput;
|
|
1264
|
-
wednesday: SpendRestrictionsDayInput;
|
|
1265
|
-
};
|
|
1266
|
-
type SpendRestrictionsInput = {
|
|
1267
|
-
amountPerDay?: InputMaybe<Scalars['String']['input']>;
|
|
1268
|
-
amountPerTransaction?: InputMaybe<Scalars['String']['input']>;
|
|
1269
|
-
amountPerWeek?: InputMaybe<Scalars['Int']['input']>;
|
|
1270
|
-
checkLocation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1271
|
-
daysOfWeek?: InputMaybe<SpendRestrictionsDaysOfWeekInput>;
|
|
1272
|
-
enforceFuelSpendEstimation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1273
|
-
fuel?: InputMaybe<FuelRestrictionsInput>;
|
|
1274
|
-
noOfTransactions?: InputMaybe<Scalars['Int']['input']>;
|
|
1275
|
-
predefinedRule?: InputMaybe<Scalars['String']['input']>;
|
|
1276
|
-
};
|
|
1277
636
|
type TtpTokenizationInput = {
|
|
1278
637
|
deviceId: Scalars['String']['input'];
|
|
1279
638
|
requestId?: InputMaybe<Scalars['String']['input']>;
|
|
1280
639
|
};
|
|
1281
|
-
type UserCreateInput = {
|
|
1282
|
-
additionalInfo?: InputMaybe<AdditionalInfoInput>;
|
|
1283
|
-
email?: InputMaybe<Scalars['String']['input']>;
|
|
1284
|
-
employeeId?: InputMaybe<Scalars['String']['input']>;
|
|
1285
|
-
entityId: Scalars['ID']['input'];
|
|
1286
|
-
firstName: Scalars['String']['input'];
|
|
1287
|
-
lastName: Scalars['String']['input'];
|
|
1288
|
-
loginType?: InputMaybe<LoginType>;
|
|
1289
|
-
organizationId?: InputMaybe<Scalars['ID']['input']>;
|
|
1290
|
-
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
1291
|
-
role: RoleType;
|
|
1292
|
-
};
|
|
1293
|
-
declare enum UserStatus {
|
|
1294
|
-
Deactivated = "DEACTIVATED",
|
|
1295
|
-
Deleted = "DELETED",
|
|
1296
|
-
Invited = "INVITED",
|
|
1297
|
-
LockedOut = "LOCKED_OUT",
|
|
1298
|
-
Onboarded = "ONBOARDED",
|
|
1299
|
-
Unknown = "UNKNOWN",
|
|
1300
|
-
}
|
|
1301
|
-
type VehicleGroupCreateInput = {
|
|
1302
|
-
description?: InputMaybe<Scalars['String']['input']>;
|
|
1303
|
-
driverEnteredOdometerEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1304
|
-
drivers?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
1305
|
-
entityId?: InputMaybe<Scalars['ID']['input']>;
|
|
1306
|
-
externalId?: InputMaybe<Scalars['String']['input']>;
|
|
1307
|
-
jobCodeEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1308
|
-
jobCodeEntryOption?: InputMaybe<JobCodeEntryOptionEnum>;
|
|
1309
|
-
jobCodeEntryOptional?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1310
|
-
jobCodeOptions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1311
|
-
name: Scalars['String']['input'];
|
|
1312
|
-
organizationId?: InputMaybe<Scalars['ID']['input']>;
|
|
1313
|
-
spendRestrictions: SpendRestrictionsInput;
|
|
1314
|
-
vehicles?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
1315
|
-
};
|
|
1316
|
-
type VehicleGroupDriversAddInput = {
|
|
1317
|
-
drivers: Array<Scalars['ID']['input']>;
|
|
1318
|
-
vehicleGroupId: Scalars['ID']['input'];
|
|
1319
|
-
};
|
|
1320
|
-
type VehicleGroupVehiclesAddInput = {
|
|
1321
|
-
vehicleGroupId: Scalars['ID']['input'];
|
|
1322
|
-
vehicles: Array<Scalars['ID']['input']>;
|
|
1323
|
-
};
|
|
1324
|
-
type VehiclesOnboardInput = {
|
|
1325
|
-
customFields?: InputMaybe<Array<InputMaybe<HashMapInput>>>;
|
|
1326
|
-
description?: InputMaybe<Scalars['String']['input']>;
|
|
1327
|
-
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1328
|
-
licensePlate?: InputMaybe<Scalars['String']['input']>;
|
|
1329
|
-
licensePlateState?: InputMaybe<Scalars['String']['input']>;
|
|
1330
|
-
number?: InputMaybe<Scalars['String']['input']>;
|
|
1331
|
-
vehicleGroupId: Scalars['ID']['input'];
|
|
1332
|
-
vin?: InputMaybe<Scalars['String']['input']>;
|
|
1333
|
-
};
|
|
1334
|
-
type VehiclesOnboardInputList = {
|
|
1335
|
-
vehicles?: InputMaybe<Array<InputMaybe<VehiclesOnboardInput>>>;
|
|
1336
|
-
};
|
|
1337
640
|
type AdditionalServicePayInfoInput = {
|
|
1338
641
|
jobCode?: InputMaybe<Scalars['String']['input']>;
|
|
1339
642
|
odometer?: InputMaybe<Scalars['Int']['input']>;
|
|
1340
643
|
};
|
|
1341
|
-
type ApiKeyCreateMutationVariables = Exact<{
|
|
1342
|
-
input: ApiKeyCreateInput;
|
|
1343
|
-
}>;
|
|
1344
|
-
type ApiKeyCreateMutation = {
|
|
1345
|
-
__typename?: 'Mutation';
|
|
1346
|
-
apiKeyCreate?: {
|
|
1347
|
-
__typename?: 'ApiKeyCreateOutput';
|
|
1348
|
-
apiKey: string;
|
|
1349
|
-
} | null;
|
|
1350
|
-
};
|
|
1351
|
-
type OrganizationCreateMutationVariables = Exact<{
|
|
1352
|
-
input: OrganizationCreateInput;
|
|
1353
|
-
}>;
|
|
1354
|
-
type OrganizationCreateMutation = {
|
|
1355
|
-
__typename?: 'Mutation';
|
|
1356
|
-
organizationCreate?: {
|
|
1357
|
-
__typename?: 'Organization';
|
|
1358
|
-
id: string;
|
|
1359
|
-
name?: string | null;
|
|
1360
|
-
onboardedAt?: string | null;
|
|
1361
|
-
onboardedBy?: string | null;
|
|
1362
|
-
insertedAt?: string | null;
|
|
1363
|
-
updatedAt?: string | null;
|
|
1364
|
-
deletedAt?: string | null;
|
|
1365
|
-
address?: {
|
|
1366
|
-
__typename?: 'Address';
|
|
1367
|
-
line1?: string | null;
|
|
1368
|
-
line2?: string | null;
|
|
1369
|
-
city?: string | null;
|
|
1370
|
-
state?: string | null;
|
|
1371
|
-
country?: string | null;
|
|
1372
|
-
zip?: string | null;
|
|
1373
|
-
} | null;
|
|
1374
|
-
} | null;
|
|
1375
|
-
};
|
|
1376
|
-
type EntityCreateMutationVariables = Exact<{
|
|
1377
|
-
input: EntityCreateInput;
|
|
1378
|
-
}>;
|
|
1379
|
-
type EntityCreateMutation = {
|
|
1380
|
-
__typename?: 'Mutation';
|
|
1381
|
-
entityCreate?: {
|
|
1382
|
-
__typename?: 'Entity';
|
|
1383
|
-
id: string;
|
|
1384
|
-
name?: string | null;
|
|
1385
|
-
description?: string | null;
|
|
1386
|
-
externalId?: string | null;
|
|
1387
|
-
parentId?: string | null;
|
|
1388
|
-
hasFinance?: boolean | null;
|
|
1389
|
-
funding?: FundingSource | null;
|
|
1390
|
-
insertedAt?: string | null;
|
|
1391
|
-
updatedAt?: string | null;
|
|
1392
|
-
} | null;
|
|
1393
|
-
};
|
|
1394
|
-
type MachineTokenizeUserMutationVariables = Exact<{
|
|
1395
|
-
input?: InputMaybe<MachineTokenizeUserInput>;
|
|
1396
|
-
}>;
|
|
1397
|
-
type MachineTokenizeUserMutation = {
|
|
1398
|
-
__typename?: 'Mutation';
|
|
1399
|
-
machineTokenizeUser?: {
|
|
1400
|
-
__typename?: 'MachineUserToken';
|
|
1401
|
-
access_token: string;
|
|
1402
|
-
expires_in: number;
|
|
1403
|
-
} | null;
|
|
1404
|
-
};
|
|
1405
644
|
type ProvisionCardMutationVariables = Exact<{
|
|
1406
645
|
input: ProvisionCardInput;
|
|
1407
646
|
}>;
|
|
@@ -1462,123 +701,19 @@ type TtpTokenizationMutation = {
|
|
|
1462
701
|
} | null;
|
|
1463
702
|
} | null;
|
|
1464
703
|
};
|
|
1465
|
-
type UserCreateMutationVariables = Exact<{
|
|
1466
|
-
input: UserCreateInput;
|
|
1467
|
-
}>;
|
|
1468
|
-
type UserCreateMutation = {
|
|
1469
|
-
__typename?: 'Mutation';
|
|
1470
|
-
userCreate?: {
|
|
1471
|
-
__typename?: 'User';
|
|
1472
|
-
id?: string | null;
|
|
1473
|
-
firstName?: string | null;
|
|
1474
|
-
lastName?: string | null;
|
|
1475
|
-
middleName?: string | null;
|
|
1476
|
-
fullName?: string | null;
|
|
1477
|
-
email?: string | null;
|
|
1478
|
-
phoneNumber?: string | null;
|
|
1479
|
-
employeeId?: string | null;
|
|
1480
|
-
role?: RoleType | null;
|
|
1481
|
-
status?: UserStatus | null;
|
|
1482
|
-
loginType?: LoginType | null;
|
|
1483
|
-
externalId?: string | null;
|
|
1484
|
-
organizationId?: string | null;
|
|
1485
|
-
insertedAt?: string | null;
|
|
1486
|
-
updatedAt?: string | null;
|
|
1487
|
-
} | null;
|
|
1488
|
-
};
|
|
1489
|
-
type VehicleGroupCreateMutationVariables = Exact<{
|
|
1490
|
-
input: VehicleGroupCreateInput;
|
|
1491
|
-
}>;
|
|
1492
|
-
type VehicleGroupCreateMutation = {
|
|
1493
|
-
__typename?: 'Mutation';
|
|
1494
|
-
vehicleGroupCreate?: {
|
|
1495
|
-
__typename?: 'IndividualVehicleGroup';
|
|
1496
|
-
id: string;
|
|
1497
|
-
code?: string | null;
|
|
1498
|
-
name?: string | null;
|
|
1499
|
-
description?: string | null;
|
|
1500
|
-
externalId?: string | null;
|
|
1501
|
-
driverCount?: number | null;
|
|
1502
|
-
vehicleCount?: number | null;
|
|
1503
|
-
insertedAt?: string | null;
|
|
1504
|
-
updatedAt?: string | null;
|
|
1505
|
-
} | null;
|
|
1506
|
-
};
|
|
1507
|
-
type VehicleGroupDriversAddMutationVariables = Exact<{
|
|
1508
|
-
input: VehicleGroupDriversAddInput;
|
|
1509
|
-
}>;
|
|
1510
|
-
type VehicleGroupDriversAddMutation = {
|
|
1511
|
-
__typename?: 'Mutation';
|
|
1512
|
-
vehicleGroupDriversAdd?: {
|
|
1513
|
-
__typename?: 'VehicleGroup';
|
|
1514
|
-
id: string;
|
|
1515
|
-
name?: string | null;
|
|
1516
|
-
description?: string | null;
|
|
1517
|
-
externalId?: string | null;
|
|
1518
|
-
driverCount?: number | null;
|
|
1519
|
-
vehicleCount?: number | null;
|
|
1520
|
-
insertedAt?: string | null;
|
|
1521
|
-
updatedAt?: string | null;
|
|
1522
|
-
} | null;
|
|
1523
|
-
};
|
|
1524
|
-
type VehicleGroupVehiclesAddMutationVariables = Exact<{
|
|
1525
|
-
input: VehicleGroupVehiclesAddInput;
|
|
1526
|
-
}>;
|
|
1527
|
-
type VehicleGroupVehiclesAddMutation = {
|
|
1528
|
-
__typename?: 'Mutation';
|
|
1529
|
-
vehicleGroupVehiclesAdd?: {
|
|
1530
|
-
__typename?: 'VehicleGroup';
|
|
1531
|
-
id: string;
|
|
1532
|
-
name?: string | null;
|
|
1533
|
-
description?: string | null;
|
|
1534
|
-
externalId?: string | null;
|
|
1535
|
-
driverCount?: number | null;
|
|
1536
|
-
vehicleCount?: number | null;
|
|
1537
|
-
insertedAt?: string | null;
|
|
1538
|
-
updatedAt?: string | null;
|
|
1539
|
-
} | null;
|
|
1540
|
-
};
|
|
1541
|
-
type VehiclesOnboardMutationVariables = Exact<{
|
|
1542
|
-
input: VehiclesOnboardInputList;
|
|
1543
|
-
}>;
|
|
1544
|
-
type VehiclesOnboardMutation = {
|
|
1545
|
-
__typename?: 'Mutation';
|
|
1546
|
-
vehiclesOnboard?: {
|
|
1547
|
-
__typename?: 'VehiclesOnboardOutputList';
|
|
1548
|
-
vehicles?: Array<{
|
|
1549
|
-
__typename?: 'VehiclesOnboardOutput';
|
|
1550
|
-
id?: string | null;
|
|
1551
|
-
vin?: string | null;
|
|
1552
|
-
vehicleGroupId: string;
|
|
1553
|
-
success?: boolean | null;
|
|
1554
|
-
error?: string | null;
|
|
1555
|
-
} | null> | null;
|
|
1556
|
-
} | null;
|
|
1557
|
-
};
|
|
1558
|
-
type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
1559
|
-
declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
1560
|
-
apiKeyCreate(variables: ApiKeyCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ApiKeyCreateMutation>;
|
|
1561
|
-
organizationCreate(variables: OrganizationCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<OrganizationCreateMutation>;
|
|
1562
|
-
entityCreate(variables: EntityCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<EntityCreateMutation>;
|
|
1563
|
-
machineTokenizeUser(variables?: MachineTokenizeUserMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MachineTokenizeUserMutation>;
|
|
1564
|
-
provisionCard(variables: ProvisionCardMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ProvisionCardMutation>;
|
|
1565
|
-
provisionStatusUpdate(variables: ProvisionStatusUpdateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ProvisionStatusUpdateMutation>;
|
|
1566
|
-
servicePay(variables: ServicePayMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ServicePayMutation>;
|
|
1567
|
-
ttpTokenization(variables: TtpTokenizationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<TtpTokenizationMutation>;
|
|
1568
|
-
userCreate(variables: UserCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UserCreateMutation>;
|
|
1569
|
-
vehicleGroupCreate(variables: VehicleGroupCreateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<VehicleGroupCreateMutation>;
|
|
1570
|
-
vehicleGroupDriversAdd(variables: VehicleGroupDriversAddMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<VehicleGroupDriversAddMutation>;
|
|
1571
|
-
vehicleGroupVehiclesAdd(variables: VehicleGroupVehiclesAddMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<VehicleGroupVehiclesAddMutation>;
|
|
1572
|
-
vehiclesOnboard(variables: VehiclesOnboardMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<VehiclesOnboardMutation>;
|
|
1573
|
-
};
|
|
1574
704
|
//#endregion
|
|
1575
|
-
//#region src/
|
|
1576
|
-
interface
|
|
1577
|
-
|
|
1578
|
-
environment?: 'int' | '
|
|
705
|
+
//#region src/user.d.ts
|
|
706
|
+
interface ElementPayUserConfig {
|
|
707
|
+
accessToken: string;
|
|
708
|
+
environment?: 'int' | 'stage';
|
|
1579
709
|
endpoint?: string;
|
|
1580
710
|
}
|
|
1581
|
-
declare function
|
|
711
|
+
declare function getUserSdk(config: ElementPayUserConfig): {
|
|
712
|
+
provisionCard(variables: ProvisionCardMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ProvisionCardMutation>;
|
|
713
|
+
provisionStatusUpdate(variables: ProvisionStatusUpdateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ProvisionStatusUpdateMutation>;
|
|
714
|
+
servicePay(variables: ServicePayMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ServicePayMutation>;
|
|
715
|
+
ttpTokenization(variables: TtpTokenizationMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<TtpTokenizationMutation>;
|
|
716
|
+
};
|
|
1582
717
|
//#endregion
|
|
1583
718
|
//#region src/pubSub/interfaces.d.ts
|
|
1584
719
|
interface RawProvider {
|
|
@@ -1656,5 +791,5 @@ declare const serviceLocationEventToFuelSupplier: ({
|
|
|
1656
791
|
//#region src/service-locations/index.d.ts
|
|
1657
792
|
declare const serviceLocationPubSubMessageToFuelSupplier: (message: string) => ReturnType<typeof serviceLocationEventToFuelSupplier>;
|
|
1658
793
|
//#endregion
|
|
1659
|
-
export { type
|
|
794
|
+
export { type ElementPayOrganizationConfig, type ElementPayUserConfig, getOrganizaionSdk, getUserSdk, serviceLocationPubSubMessageToFuelSupplier };
|
|
1660
795
|
//# sourceMappingURL=index.d.cts.map
|