@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.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { GraphQLClient
|
|
1
|
+
import { GraphQLClient } from "graphql-request";
|
|
2
2
|
import { FuelSupplier } from "@autofleet/common-types/lib/pit-stop";
|
|
3
3
|
|
|
4
|
-
//#region src/generated/
|
|
5
|
-
type Maybe$
|
|
6
|
-
type InputMaybe$
|
|
7
|
-
type Exact$
|
|
4
|
+
//#region src/generated/organization/sdk.d.ts
|
|
5
|
+
type Maybe$1<T> = T | null;
|
|
6
|
+
type InputMaybe$1<T> = Maybe$1<T>;
|
|
7
|
+
type Exact$1<T extends {
|
|
8
8
|
[key: string]: unknown;
|
|
9
9
|
}> = { [K in keyof T]: T[K] };
|
|
10
|
-
type
|
|
11
|
-
type Scalars$2 = {
|
|
10
|
+
type Scalars$1 = {
|
|
12
11
|
ID: {
|
|
13
12
|
input: string;
|
|
14
13
|
output: string;
|
|
@@ -42,208 +41,163 @@ declare enum AccountType {
|
|
|
42
41
|
Credit = "CREDIT",
|
|
43
42
|
PrePaid = "PRE_PAID",
|
|
44
43
|
}
|
|
45
|
-
type AdditionalInfoInput
|
|
46
|
-
contactPhoneNumber?: InputMaybe$
|
|
47
|
-
isCorporatePhone?: InputMaybe$
|
|
44
|
+
type AdditionalInfoInput = {
|
|
45
|
+
contactPhoneNumber?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
46
|
+
isCorporatePhone?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
48
47
|
};
|
|
49
|
-
type AddressInput
|
|
50
|
-
city: Scalars$
|
|
51
|
-
country: Scalars$
|
|
52
|
-
line1: Scalars$
|
|
53
|
-
line2?: InputMaybe$
|
|
54
|
-
state: Scalars$
|
|
55
|
-
zip: Scalars$
|
|
48
|
+
type AddressInput = {
|
|
49
|
+
city: Scalars$1['String']['input'];
|
|
50
|
+
country: Scalars$1['String']['input'];
|
|
51
|
+
line1: Scalars$1['String']['input'];
|
|
52
|
+
line2?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
53
|
+
state: Scalars$1['String']['input'];
|
|
54
|
+
zip: Scalars$1['String']['input'];
|
|
56
55
|
};
|
|
57
|
-
type ApiKeyCreateInput
|
|
58
|
-
entityId?: InputMaybe$
|
|
59
|
-
name: Scalars$
|
|
60
|
-
organizationId: Scalars$
|
|
56
|
+
type ApiKeyCreateInput = {
|
|
57
|
+
entityId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
58
|
+
name: Scalars$1['String']['input'];
|
|
59
|
+
organizationId: Scalars$1['ID']['input'];
|
|
61
60
|
};
|
|
62
|
-
declare enum CardNetwork$2 {
|
|
63
|
-
Mastercard = "MASTERCARD",
|
|
64
|
-
Visa = "VISA",
|
|
65
|
-
}
|
|
66
61
|
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$
|
|
62
|
+
address: AddressInput;
|
|
63
|
+
checkLocationOverride?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
64
|
+
costFactorEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
65
|
+
email?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
66
|
+
externalId: Scalars$1['String']['input'];
|
|
67
|
+
integratorId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
68
|
+
name: Scalars$1['String']['input'];
|
|
69
|
+
onboardedBy?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
70
|
+
taxId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
71
|
+
unitsId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
72
|
+
useTspMetadata?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
78
73
|
};
|
|
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']>;
|
|
74
|
+
type EntityCreateInput = {
|
|
75
|
+
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
76
|
+
externalId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
77
|
+
funding?: InputMaybe$1<FundingSource>;
|
|
78
|
+
hasFinance?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
79
|
+
name: Scalars$1['String']['input'];
|
|
80
|
+
organizationId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
81
|
+
parentId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
91
82
|
};
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
83
|
+
declare enum FeeNetworkDesignationType {
|
|
84
|
+
ExtendedNetwork = "EXTENDED_NETWORK",
|
|
85
|
+
InNetwork = "IN_NETWORK",
|
|
86
|
+
OutOfNetwork = "OUT_OF_NETWORK",
|
|
87
|
+
}
|
|
88
|
+
type FuelRestrictionsInput = {
|
|
89
|
+
amountPerDay?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
90
|
+
amountPerTransaction?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
91
|
+
checkLocation?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
92
|
+
daysOfWeek?: InputMaybe$1<PurchaseDaysOfWeekInput>;
|
|
93
|
+
hours?: InputMaybe$1<PurchaseTimeRangeInput>;
|
|
94
|
+
isEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
95
|
+
noOfTransactions?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
100
96
|
};
|
|
101
|
-
declare enum FundingSource
|
|
97
|
+
declare enum FundingSource {
|
|
102
98
|
Ach = "ACH",
|
|
103
99
|
Parent = "PARENT",
|
|
104
100
|
Unknown = "UNKNOWN",
|
|
105
101
|
}
|
|
106
|
-
type HashMapInput
|
|
107
|
-
key: Scalars$
|
|
108
|
-
value: Scalars$
|
|
102
|
+
type HashMapInput = {
|
|
103
|
+
key: Scalars$1['String']['input'];
|
|
104
|
+
value: Scalars$1['String']['input'];
|
|
109
105
|
};
|
|
110
|
-
declare enum JobCodeEntryOptionEnum
|
|
106
|
+
declare enum JobCodeEntryOptionEnum {
|
|
111
107
|
Freeform = "FREEFORM",
|
|
112
108
|
Predefined = "PREDEFINED",
|
|
113
109
|
}
|
|
114
|
-
declare enum LoginType
|
|
110
|
+
declare enum LoginType {
|
|
115
111
|
Email = "EMAIL",
|
|
112
|
+
External = "EXTERNAL",
|
|
116
113
|
Phone = "PHONE",
|
|
117
114
|
Unknown = "UNKNOWN",
|
|
118
115
|
}
|
|
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'];
|
|
116
|
+
type MachineTokenizeUserInput = {
|
|
117
|
+
userId: Scalars$1['ID']['input'];
|
|
149
118
|
};
|
|
150
|
-
type
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
119
|
+
type OrganizationCreateInput = {
|
|
120
|
+
address: AddressInput;
|
|
121
|
+
checkLocationOverride?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
122
|
+
costFactorEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
123
|
+
email?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
124
|
+
integratorId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
125
|
+
name: Scalars$1['String']['input'];
|
|
126
|
+
onboardedBy?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
127
|
+
taxId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
128
|
+
unitsId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
129
|
+
useTspMetadata?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
160
130
|
};
|
|
161
|
-
type
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
paymentProviderAccountId: Scalars$2['String']['input'];
|
|
165
|
-
status: ProvisioningStatus$2;
|
|
131
|
+
type PageRequest = {
|
|
132
|
+
limit?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
133
|
+
offset?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
166
134
|
};
|
|
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'];
|
|
135
|
+
type PurchaseDaysOfWeekInput = {
|
|
136
|
+
friday: Scalars$1['Boolean']['input'];
|
|
137
|
+
monday: Scalars$1['Boolean']['input'];
|
|
138
|
+
saturday: Scalars$1['Boolean']['input'];
|
|
139
|
+
sunday: Scalars$1['Boolean']['input'];
|
|
140
|
+
thursday: Scalars$1['Boolean']['input'];
|
|
141
|
+
tuesday: Scalars$1['Boolean']['input'];
|
|
142
|
+
wednesday: Scalars$1['Boolean']['input'];
|
|
179
143
|
};
|
|
180
|
-
type PurchaseTimeRangeInput
|
|
181
|
-
from?: InputMaybe$
|
|
182
|
-
to?: InputMaybe$
|
|
144
|
+
type PurchaseTimeRangeInput = {
|
|
145
|
+
from?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
146
|
+
to?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
183
147
|
};
|
|
184
|
-
declare enum RoleType
|
|
148
|
+
declare enum RoleType {
|
|
185
149
|
Admin = "ADMIN",
|
|
186
150
|
Driver = "DRIVER",
|
|
187
151
|
FullAccess = "FULL_ACCESS",
|
|
188
152
|
Manager = "MANAGER",
|
|
189
153
|
ViewOnly = "VIEW_ONLY",
|
|
190
154
|
}
|
|
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;
|
|
155
|
+
declare enum SortDirection {
|
|
156
|
+
Asc = "ASC",
|
|
157
|
+
AscNullsFirst = "ASC_NULLS_FIRST",
|
|
158
|
+
AscNullsLast = "ASC_NULLS_LAST",
|
|
159
|
+
Desc = "DESC",
|
|
160
|
+
DescNullsFirst = "DESC_NULLS_FIRST",
|
|
161
|
+
DescNullsLast = "DESC_NULLS_LAST",
|
|
162
|
+
}
|
|
163
|
+
type SpendRestrictionsDayInput = {
|
|
164
|
+
isEnabled: Scalars$1['Boolean']['input'];
|
|
165
|
+
purchaseTimes?: InputMaybe$1<Array<InputMaybe$1<PurchaseTimeRangeInput>>>;
|
|
218
166
|
};
|
|
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']>;
|
|
167
|
+
type SpendRestrictionsDaysOfWeekInput = {
|
|
168
|
+
friday: SpendRestrictionsDayInput;
|
|
169
|
+
monday: SpendRestrictionsDayInput;
|
|
170
|
+
saturday: SpendRestrictionsDayInput;
|
|
171
|
+
sunday: SpendRestrictionsDayInput;
|
|
172
|
+
thursday: SpendRestrictionsDayInput;
|
|
173
|
+
tuesday: SpendRestrictionsDayInput;
|
|
174
|
+
wednesday: SpendRestrictionsDayInput;
|
|
229
175
|
};
|
|
230
|
-
type
|
|
231
|
-
|
|
232
|
-
|
|
176
|
+
type SpendRestrictionsInput = {
|
|
177
|
+
amountPerDay?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
178
|
+
amountPerTransaction?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
179
|
+
amountPerWeek?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
180
|
+
checkLocation?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
181
|
+
daysOfWeek?: InputMaybe$1<SpendRestrictionsDaysOfWeekInput>;
|
|
182
|
+
enforceFuelSpendEstimation?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
183
|
+
fuel?: InputMaybe$1<FuelRestrictionsInput>;
|
|
184
|
+
noOfTransactions?: InputMaybe$1<Scalars$1['Int']['input']>;
|
|
185
|
+
predefinedRule?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
233
186
|
};
|
|
234
|
-
type UserCreateInput
|
|
235
|
-
additionalInfo?: InputMaybe$
|
|
236
|
-
email?: InputMaybe$
|
|
237
|
-
employeeId?: InputMaybe$
|
|
238
|
-
entityId: Scalars$
|
|
239
|
-
firstName: Scalars$
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
187
|
+
type UserCreateInput = {
|
|
188
|
+
additionalInfo?: InputMaybe$1<AdditionalInfoInput>;
|
|
189
|
+
email?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
190
|
+
employeeId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
191
|
+
entityId: Scalars$1['ID']['input'];
|
|
192
|
+
firstName: Scalars$1['String']['input'];
|
|
193
|
+
id?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
194
|
+
lastName: Scalars$1['String']['input'];
|
|
195
|
+
loginType?: InputMaybe$1<LoginType>;
|
|
196
|
+
organizationId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
197
|
+
phoneNumber?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
198
|
+
role: RoleType;
|
|
245
199
|
};
|
|
246
|
-
declare enum UserStatus
|
|
200
|
+
declare enum UserStatus {
|
|
247
201
|
Deactivated = "DEACTIVATED",
|
|
248
202
|
Deleted = "DELETED",
|
|
249
203
|
Invited = "INVITED",
|
|
@@ -251,57 +205,83 @@ declare enum UserStatus$2 {
|
|
|
251
205
|
Onboarded = "ONBOARDED",
|
|
252
206
|
Unknown = "UNKNOWN",
|
|
253
207
|
}
|
|
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$
|
|
208
|
+
type VehicleGroupCreateInput = {
|
|
209
|
+
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
210
|
+
driverEnteredOdometerEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
211
|
+
drivers?: InputMaybe$1<Array<InputMaybe$1<Scalars$1['ID']['input']>>>;
|
|
212
|
+
entityId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
213
|
+
externalId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
214
|
+
jobCodeEnabled?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
215
|
+
jobCodeEntryOption?: InputMaybe$1<JobCodeEntryOptionEnum>;
|
|
216
|
+
jobCodeEntryOptional?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
217
|
+
jobCodeOptions?: InputMaybe$1<Array<InputMaybe$1<Scalars$1['String']['input']>>>;
|
|
218
|
+
name: Scalars$1['String']['input'];
|
|
219
|
+
organizationId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
220
|
+
spendRestrictions: SpendRestrictionsInput;
|
|
221
|
+
vehicles?: InputMaybe$1<Array<InputMaybe$1<Scalars$1['ID']['input']>>>;
|
|
222
|
+
};
|
|
223
|
+
type VehicleGroupDriversAddInput = {
|
|
224
|
+
drivers: Array<Scalars$1['ID']['input']>;
|
|
225
|
+
vehicleGroupId: Scalars$1['ID']['input'];
|
|
268
226
|
};
|
|
269
|
-
type
|
|
270
|
-
|
|
271
|
-
|
|
227
|
+
type VehicleGroupVehiclesAddInput = {
|
|
228
|
+
vehicleGroupId: Scalars$1['ID']['input'];
|
|
229
|
+
vehicles: Array<Scalars$1['ID']['input']>;
|
|
272
230
|
};
|
|
273
|
-
type
|
|
274
|
-
|
|
275
|
-
|
|
231
|
+
type VehicleGroupsFilterInput = {
|
|
232
|
+
filter: VehicleGroupsFilterOptions;
|
|
233
|
+
page: PageRequest;
|
|
234
|
+
sortOptions?: InputMaybe$1<VehicleGroupsSortOptions>;
|
|
276
235
|
};
|
|
277
|
-
type
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
236
|
+
type VehicleGroupsFilterOptions = {
|
|
237
|
+
driverId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
238
|
+
entityId?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
239
|
+
includeChildren?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
240
|
+
includeSpendControls?: InputMaybe$1<Scalars$1['Boolean']['input']>;
|
|
241
|
+
};
|
|
242
|
+
declare enum VehicleGroupsSortField {
|
|
243
|
+
Description = "DESCRIPTION",
|
|
244
|
+
DriverCount = "DRIVER_COUNT",
|
|
245
|
+
LastTransactionDate = "LAST_TRANSACTION_DATE",
|
|
246
|
+
Name = "NAME",
|
|
247
|
+
VehicleCount = "VEHICLE_COUNT",
|
|
248
|
+
}
|
|
249
|
+
type VehicleGroupsSortOptions = {
|
|
250
|
+
direction: SortDirection;
|
|
251
|
+
orderBy: VehicleGroupsSortField;
|
|
252
|
+
};
|
|
253
|
+
type VehicleUpdateInput = {
|
|
254
|
+
customFields?: InputMaybe$1<Array<InputMaybe$1<HashMapInput>>>;
|
|
255
|
+
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
256
|
+
id: Scalars$1['ID']['input'];
|
|
257
|
+
licensePlate?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
258
|
+
licensePlateState?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
259
|
+
number?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
286
260
|
};
|
|
287
|
-
type
|
|
288
|
-
|
|
261
|
+
type VehiclesOnboardInput = {
|
|
262
|
+
customFields?: InputMaybe$1<Array<InputMaybe$1<HashMapInput>>>;
|
|
263
|
+
description?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
264
|
+
id?: InputMaybe$1<Scalars$1['ID']['input']>;
|
|
265
|
+
licensePlate?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
266
|
+
licensePlateState?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
267
|
+
number?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
268
|
+
vehicleGroupId: Scalars$1['ID']['input'];
|
|
269
|
+
vin?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
289
270
|
};
|
|
290
|
-
type
|
|
291
|
-
|
|
292
|
-
odometer?: InputMaybe$2<Scalars$2['Int']['input']>;
|
|
271
|
+
type VehiclesOnboardInputList = {
|
|
272
|
+
vehicles?: InputMaybe$1<Array<InputMaybe$1<VehiclesOnboardInput>>>;
|
|
293
273
|
};
|
|
294
|
-
type ApiKeyCreateMutationVariables
|
|
295
|
-
input: ApiKeyCreateInput
|
|
274
|
+
type ApiKeyCreateMutationVariables = Exact$1<{
|
|
275
|
+
input: ApiKeyCreateInput;
|
|
296
276
|
}>;
|
|
297
|
-
type ApiKeyCreateMutation
|
|
277
|
+
type ApiKeyCreateMutation = {
|
|
298
278
|
__typename?: 'Mutation';
|
|
299
279
|
apiKeyCreate?: {
|
|
300
280
|
__typename?: 'ApiKeyCreateOutput';
|
|
301
281
|
apiKey: string;
|
|
302
282
|
} | null;
|
|
303
283
|
};
|
|
304
|
-
type ClientOnboardMutationVariables = Exact$
|
|
284
|
+
type ClientOnboardMutationVariables = Exact$1<{
|
|
305
285
|
input: ClientOnboardInput;
|
|
306
286
|
}>;
|
|
307
287
|
type ClientOnboardMutation = {
|
|
@@ -316,10 +296,10 @@ type ClientOnboardMutation = {
|
|
|
316
296
|
deletedAt?: string | null;
|
|
317
297
|
} | null;
|
|
318
298
|
};
|
|
319
|
-
type OrganizationCreateMutationVariables
|
|
320
|
-
input: OrganizationCreateInput
|
|
299
|
+
type OrganizationCreateMutationVariables = Exact$1<{
|
|
300
|
+
input: OrganizationCreateInput;
|
|
321
301
|
}>;
|
|
322
|
-
type OrganizationCreateMutation
|
|
302
|
+
type OrganizationCreateMutation = {
|
|
323
303
|
__typename?: 'Mutation';
|
|
324
304
|
organizationCreate?: {
|
|
325
305
|
__typename?: 'Organization';
|
|
@@ -341,10 +321,10 @@ type OrganizationCreateMutation$2 = {
|
|
|
341
321
|
} | null;
|
|
342
322
|
} | null;
|
|
343
323
|
};
|
|
344
|
-
type EntityCreateMutationVariables
|
|
345
|
-
input: EntityCreateInput
|
|
324
|
+
type EntityCreateMutationVariables = Exact$1<{
|
|
325
|
+
input: EntityCreateInput;
|
|
346
326
|
}>;
|
|
347
|
-
type EntityCreateMutation
|
|
327
|
+
type EntityCreateMutation = {
|
|
348
328
|
__typename?: 'Mutation';
|
|
349
329
|
entityCreate?: {
|
|
350
330
|
__typename?: 'Entity';
|
|
@@ -354,13 +334,13 @@ type EntityCreateMutation$2 = {
|
|
|
354
334
|
externalId?: string | null;
|
|
355
335
|
parentId?: string | null;
|
|
356
336
|
hasFinance?: boolean | null;
|
|
357
|
-
funding?: FundingSource
|
|
337
|
+
funding?: FundingSource | null;
|
|
358
338
|
insertedAt?: string | null;
|
|
359
339
|
updatedAt?: string | null;
|
|
360
340
|
} | null;
|
|
361
341
|
};
|
|
362
|
-
type EntityGetExternalIdQueryVariables = Exact$
|
|
363
|
-
externalId?: InputMaybe$
|
|
342
|
+
type EntityGetExternalIdQueryVariables = Exact$1<{
|
|
343
|
+
externalId?: InputMaybe$1<Scalars$1['String']['input']>;
|
|
364
344
|
}>;
|
|
365
345
|
type EntityGetExternalIdQuery = {
|
|
366
346
|
__typename?: 'Query';
|
|
@@ -373,7 +353,7 @@ type EntityGetExternalIdQuery = {
|
|
|
373
353
|
hasFinance?: boolean | null;
|
|
374
354
|
code?: string | null;
|
|
375
355
|
path?: string | null;
|
|
376
|
-
funding?: FundingSource
|
|
356
|
+
funding?: FundingSource | null;
|
|
377
357
|
insertedAt?: string | null;
|
|
378
358
|
updatedAt?: string | null;
|
|
379
359
|
deletedAt?: string | null;
|
|
@@ -408,10 +388,10 @@ type EntityGetExternalIdQuery = {
|
|
|
408
388
|
} | null;
|
|
409
389
|
} | null;
|
|
410
390
|
};
|
|
411
|
-
type MachineTokenizeUserMutationVariables
|
|
412
|
-
input?: InputMaybe$
|
|
391
|
+
type MachineTokenizeUserMutationVariables = Exact$1<{
|
|
392
|
+
input?: InputMaybe$1<MachineTokenizeUserInput>;
|
|
413
393
|
}>;
|
|
414
|
-
type MachineTokenizeUserMutation
|
|
394
|
+
type MachineTokenizeUserMutation = {
|
|
415
395
|
__typename?: 'Mutation';
|
|
416
396
|
machineTokenizeUser?: {
|
|
417
397
|
__typename?: 'MachineUserToken';
|
|
@@ -419,70 +399,10 @@ type MachineTokenizeUserMutation$2 = {
|
|
|
419
399
|
expires_in: number;
|
|
420
400
|
} | null;
|
|
421
401
|
};
|
|
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;
|
|
402
|
+
type UserCreateMutationVariables = Exact$1<{
|
|
403
|
+
input: UserCreateInput;
|
|
484
404
|
}>;
|
|
485
|
-
type UserCreateMutation
|
|
405
|
+
type UserCreateMutation = {
|
|
486
406
|
__typename?: 'Mutation';
|
|
487
407
|
userCreate?: {
|
|
488
408
|
__typename?: 'User';
|
|
@@ -494,19 +414,19 @@ type UserCreateMutation$2 = {
|
|
|
494
414
|
email?: string | null;
|
|
495
415
|
phoneNumber?: string | null;
|
|
496
416
|
employeeId?: string | null;
|
|
497
|
-
role?: RoleType
|
|
498
|
-
status?: UserStatus
|
|
499
|
-
loginType?: LoginType
|
|
417
|
+
role?: RoleType | null;
|
|
418
|
+
status?: UserStatus | null;
|
|
419
|
+
loginType?: LoginType | null;
|
|
500
420
|
externalId?: string | null;
|
|
501
421
|
organizationId?: string | null;
|
|
502
422
|
insertedAt?: string | null;
|
|
503
423
|
updatedAt?: string | null;
|
|
504
424
|
} | null;
|
|
505
425
|
};
|
|
506
|
-
type VehicleGroupCreateMutationVariables
|
|
507
|
-
input: VehicleGroupCreateInput
|
|
426
|
+
type VehicleGroupCreateMutationVariables = Exact$1<{
|
|
427
|
+
input: VehicleGroupCreateInput;
|
|
508
428
|
}>;
|
|
509
|
-
type VehicleGroupCreateMutation
|
|
429
|
+
type VehicleGroupCreateMutation = {
|
|
510
430
|
__typename?: 'Mutation';
|
|
511
431
|
vehicleGroupCreate?: {
|
|
512
432
|
__typename?: 'IndividualVehicleGroup';
|
|
@@ -521,10 +441,10 @@ type VehicleGroupCreateMutation$2 = {
|
|
|
521
441
|
updatedAt?: string | null;
|
|
522
442
|
} | null;
|
|
523
443
|
};
|
|
524
|
-
type VehicleGroupDriversAddMutationVariables
|
|
525
|
-
input: VehicleGroupDriversAddInput
|
|
444
|
+
type VehicleGroupDriversAddMutationVariables = Exact$1<{
|
|
445
|
+
input: VehicleGroupDriversAddInput;
|
|
526
446
|
}>;
|
|
527
|
-
type VehicleGroupDriversAddMutation
|
|
447
|
+
type VehicleGroupDriversAddMutation = {
|
|
528
448
|
__typename?: 'Mutation';
|
|
529
449
|
vehicleGroupDriversAdd?: {
|
|
530
450
|
__typename?: 'VehicleGroup';
|
|
@@ -538,10 +458,10 @@ type VehicleGroupDriversAddMutation$2 = {
|
|
|
538
458
|
updatedAt?: string | null;
|
|
539
459
|
} | null;
|
|
540
460
|
};
|
|
541
|
-
type VehicleGroupVehiclesAddMutationVariables
|
|
542
|
-
input: VehicleGroupVehiclesAddInput
|
|
461
|
+
type VehicleGroupVehiclesAddMutationVariables = Exact$1<{
|
|
462
|
+
input: VehicleGroupVehiclesAddInput;
|
|
543
463
|
}>;
|
|
544
|
-
type VehicleGroupVehiclesAddMutation
|
|
464
|
+
type VehicleGroupVehiclesAddMutation = {
|
|
545
465
|
__typename?: 'Mutation';
|
|
546
466
|
vehicleGroupVehiclesAdd?: {
|
|
547
467
|
__typename?: 'VehicleGroup';
|
|
@@ -555,10 +475,39 @@ type VehicleGroupVehiclesAddMutation$2 = {
|
|
|
555
475
|
updatedAt?: string | null;
|
|
556
476
|
} | null;
|
|
557
477
|
};
|
|
558
|
-
type
|
|
559
|
-
input:
|
|
478
|
+
type VehicleUpdateMutationVariables = Exact$1<{
|
|
479
|
+
input: VehicleUpdateInput;
|
|
480
|
+
}>;
|
|
481
|
+
type VehicleUpdateMutation = {
|
|
482
|
+
__typename?: 'Mutation';
|
|
483
|
+
vehicleUpdate?: string | null;
|
|
484
|
+
};
|
|
485
|
+
type VehicleGroupsFilterQueryVariables = Exact$1<{
|
|
486
|
+
input: VehicleGroupsFilterInput;
|
|
487
|
+
}>;
|
|
488
|
+
type VehicleGroupsFilterQuery = {
|
|
489
|
+
__typename?: 'Query';
|
|
490
|
+
vehicleGroupsFilter?: {
|
|
491
|
+
__typename?: 'VehicleGroupsPage';
|
|
492
|
+
data?: Array<{
|
|
493
|
+
__typename?: 'VehicleGroup';
|
|
494
|
+
id: string;
|
|
495
|
+
name?: string | null;
|
|
496
|
+
description?: string | null;
|
|
497
|
+
externalId?: string | null;
|
|
498
|
+
} | null> | null;
|
|
499
|
+
meta?: {
|
|
500
|
+
__typename?: 'PageMeta';
|
|
501
|
+
limit?: number | null;
|
|
502
|
+
offset?: number | null;
|
|
503
|
+
total?: number | null;
|
|
504
|
+
} | null;
|
|
505
|
+
} | null;
|
|
506
|
+
};
|
|
507
|
+
type VehiclesOnboardMutationVariables = Exact$1<{
|
|
508
|
+
input: VehiclesOnboardInputList;
|
|
560
509
|
}>;
|
|
561
|
-
type VehiclesOnboardMutation
|
|
510
|
+
type VehiclesOnboardMutation = {
|
|
562
511
|
__typename?: 'Mutation';
|
|
563
512
|
vehiclesOnboard?: {
|
|
564
513
|
__typename?: 'VehiclesOnboardOutputList';
|
|
@@ -572,33 +521,36 @@ type VehiclesOnboardMutation$2 = {
|
|
|
572
521
|
} | null> | null;
|
|
573
522
|
} | null;
|
|
574
523
|
};
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
524
|
+
//#endregion
|
|
525
|
+
//#region src/organization.d.ts
|
|
526
|
+
interface ElementPayOrganizationConfig {
|
|
527
|
+
apiKey: string;
|
|
528
|
+
environment?: 'int' | 'stage';
|
|
529
|
+
endpoint?: string;
|
|
530
|
+
}
|
|
531
|
+
declare function getOrganizaionSdk(config: ElementPayOrganizationConfig): {
|
|
532
|
+
apiKeyCreate(variables: ApiKeyCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ApiKeyCreateMutation>;
|
|
533
|
+
clientOnboard(variables: ClientOnboardMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ClientOnboardMutation>;
|
|
534
|
+
organizationCreate(variables: OrganizationCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<OrganizationCreateMutation>;
|
|
535
|
+
entityCreate(variables: EntityCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<EntityCreateMutation>;
|
|
536
|
+
entityGetExternalId(variables?: EntityGetExternalIdQueryVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<EntityGetExternalIdQuery>;
|
|
537
|
+
machineTokenizeUser(variables?: MachineTokenizeUserMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<MachineTokenizeUserMutation>;
|
|
538
|
+
userCreate(variables: UserCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<UserCreateMutation>;
|
|
539
|
+
vehicleGroupCreate(variables: VehicleGroupCreateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupCreateMutation>;
|
|
540
|
+
vehicleGroupDriversAdd(variables: VehicleGroupDriversAddMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupDriversAddMutation>;
|
|
541
|
+
vehicleGroupVehiclesAdd(variables: VehicleGroupVehiclesAddMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupVehiclesAddMutation>;
|
|
542
|
+
vehicleUpdate(variables: VehicleUpdateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleUpdateMutation>;
|
|
543
|
+
vehicleGroupsFilter(variables: VehicleGroupsFilterQueryVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehicleGroupsFilterQuery>;
|
|
544
|
+
vehiclesOnboard(variables: VehiclesOnboardMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<VehiclesOnboardMutation>;
|
|
592
545
|
};
|
|
593
546
|
//#endregion
|
|
594
|
-
//#region src/generated/
|
|
595
|
-
type Maybe
|
|
596
|
-
type InputMaybe
|
|
597
|
-
type Exact
|
|
547
|
+
//#region src/generated/user/sdk.d.ts
|
|
548
|
+
type Maybe<T> = T | null;
|
|
549
|
+
type InputMaybe<T> = Maybe<T>;
|
|
550
|
+
type Exact<T extends {
|
|
598
551
|
[key: string]: unknown;
|
|
599
552
|
}> = { [K in keyof T]: T[K] };
|
|
600
|
-
type
|
|
601
|
-
type Scalars$1 = {
|
|
553
|
+
type Scalars = {
|
|
602
554
|
ID: {
|
|
603
555
|
input: string;
|
|
604
556
|
output: string;
|
|
@@ -628,497 +580,6 @@ type Scalars$1 = {
|
|
|
628
580
|
output: any;
|
|
629
581
|
};
|
|
630
582
|
};
|
|
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
583
|
declare enum CardNetwork {
|
|
1123
584
|
Mastercard = "MASTERCARD",
|
|
1124
585
|
Visa = "VISA",
|
|
@@ -1127,63 +588,6 @@ declare enum DigitalWallet {
|
|
|
1127
588
|
DigitalWalletAndroid = "DIGITAL_WALLET_ANDROID",
|
|
1128
589
|
DigitalWalletApple = "DIGITAL_WALLET_APPLE",
|
|
1129
590
|
}
|
|
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
591
|
declare enum PaymentMethodType {
|
|
1188
592
|
DirectConnect = "DIRECT_CONNECT",
|
|
1189
593
|
LinkedCard = "LINKED_CARD",
|
|
@@ -1215,26 +619,6 @@ declare enum ProvisioningStatus {
|
|
|
1215
619
|
Error = "ERROR",
|
|
1216
620
|
Success = "SUCCESS",
|
|
1217
621
|
}
|
|
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
622
|
type ServiceFuelInput = {
|
|
1239
623
|
additionalInfo?: InputMaybe<AdditionalServicePayInfoInput>;
|
|
1240
624
|
pumpNumber: Scalars['Int']['input'];
|
|
@@ -1250,158 +634,14 @@ type ServicePayInput = {
|
|
|
1250
634
|
requestId: Scalars['ID']['input'];
|
|
1251
635
|
vehicleId: Scalars['ID']['input'];
|
|
1252
636
|
};
|
|
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
637
|
type TtpTokenizationInput = {
|
|
1278
638
|
deviceId: Scalars['String']['input'];
|
|
1279
639
|
requestId?: InputMaybe<Scalars['String']['input']>;
|
|
1280
640
|
};
|
|
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
641
|
type AdditionalServicePayInfoInput = {
|
|
1338
642
|
jobCode?: InputMaybe<Scalars['String']['input']>;
|
|
1339
643
|
odometer?: InputMaybe<Scalars['Int']['input']>;
|
|
1340
644
|
};
|
|
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
645
|
type ProvisionCardMutationVariables = Exact<{
|
|
1406
646
|
input: ProvisionCardInput;
|
|
1407
647
|
}>;
|
|
@@ -1462,123 +702,19 @@ type TtpTokenizationMutation = {
|
|
|
1462
702
|
} | null;
|
|
1463
703
|
} | null;
|
|
1464
704
|
};
|
|
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
705
|
//#endregion
|
|
1575
|
-
//#region src/
|
|
1576
|
-
interface
|
|
1577
|
-
|
|
1578
|
-
environment?: 'int' | '
|
|
706
|
+
//#region src/user.d.ts
|
|
707
|
+
interface ElementPayUserConfig {
|
|
708
|
+
accessToken: string;
|
|
709
|
+
environment?: 'int' | 'stage';
|
|
1579
710
|
endpoint?: string;
|
|
1580
711
|
}
|
|
1581
|
-
declare function
|
|
712
|
+
declare function getUserSdk(config: ElementPayUserConfig): {
|
|
713
|
+
provisionCard(variables: ProvisionCardMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ProvisionCardMutation>;
|
|
714
|
+
provisionStatusUpdate(variables: ProvisionStatusUpdateMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ProvisionStatusUpdateMutation>;
|
|
715
|
+
servicePay(variables: ServicePayMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<ServicePayMutation>;
|
|
716
|
+
ttpTokenization(variables: TtpTokenizationMutationVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<TtpTokenizationMutation>;
|
|
717
|
+
};
|
|
1582
718
|
//#endregion
|
|
1583
719
|
//#region src/pubSub/interfaces.d.ts
|
|
1584
720
|
interface RawProvider {
|
|
@@ -1656,5 +792,5 @@ declare const serviceLocationEventToFuelSupplier: ({
|
|
|
1656
792
|
//#region src/service-locations/index.d.ts
|
|
1657
793
|
declare const serviceLocationPubSubMessageToFuelSupplier: (message: string) => ReturnType<typeof serviceLocationEventToFuelSupplier>;
|
|
1658
794
|
//#endregion
|
|
1659
|
-
export { type
|
|
795
|
+
export { type ElementPayOrganizationConfig, type ElementPayUserConfig, getOrganizaionSdk, getUserSdk, serviceLocationPubSubMessageToFuelSupplier };
|
|
1660
796
|
//# sourceMappingURL=index.d.ts.map
|