@truetms/truetms-node 0.2.8 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/graphql/generated.js +74 -2
- package/dist/src/graphql/generated.js.map +1 -1
- package/dist/src/sdk/index.js +2 -0
- package/dist/src/sdk/index.js.map +1 -1
- package/dist/src/sdk/storageFacilityReadings.js +16 -0
- package/dist/src/sdk/storageFacilityReadings.js.map +1 -0
- package/package.json +1 -1
- package/src/graphql/business-entities.graphql +22 -0
- package/src/graphql/generated.ts +520 -18
- package/src/graphql/storage-facility-reading.graphql +20 -0
- package/src/sdk/index.ts +5 -0
- package/src/sdk/storageFacilityReadings.ts +15 -0
package/src/graphql/generated.ts
CHANGED
|
@@ -16,6 +16,7 @@ export type Scalars = {
|
|
|
16
16
|
ConditionValue: any;
|
|
17
17
|
CustomFieldValue: any;
|
|
18
18
|
DateTime: any;
|
|
19
|
+
Email: any;
|
|
19
20
|
JSON: any;
|
|
20
21
|
Mixed: any;
|
|
21
22
|
ObjectId: any;
|
|
@@ -56,7 +57,9 @@ export type AssetLinking = {
|
|
|
56
57
|
_id: Scalars['String'];
|
|
57
58
|
additionalTrailers?: Maybe<Array<Trailer>>;
|
|
58
59
|
driver?: Maybe<Driver>;
|
|
60
|
+
endDate?: Maybe<Scalars['DateTime']>;
|
|
59
61
|
isHardLinked?: Maybe<Scalars['Boolean']>;
|
|
62
|
+
startDate?: Maybe<Scalars['DateTime']>;
|
|
60
63
|
tractor?: Maybe<Tractor>;
|
|
61
64
|
trailer?: Maybe<Trailer>;
|
|
62
65
|
};
|
|
@@ -64,7 +67,9 @@ export type AssetLinking = {
|
|
|
64
67
|
export type AssetLinkingInput = {
|
|
65
68
|
additionalTrailers?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
66
69
|
driver?: InputMaybe<Scalars['ObjectId']>;
|
|
70
|
+
endDate?: InputMaybe<Scalars['DateTime']>;
|
|
67
71
|
isHardLinked?: InputMaybe<Scalars['Boolean']>;
|
|
72
|
+
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
68
73
|
tractor?: InputMaybe<Scalars['ObjectId']>;
|
|
69
74
|
trailer?: InputMaybe<Scalars['ObjectId']>;
|
|
70
75
|
};
|
|
@@ -78,7 +83,9 @@ export type AssetLinkingPaginatedResult = {
|
|
|
78
83
|
export type AssetLinkingUpdateInput = {
|
|
79
84
|
additionalTrailers?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
80
85
|
driver?: InputMaybe<Scalars['ObjectId']>;
|
|
86
|
+
endDate?: InputMaybe<Scalars['DateTime']>;
|
|
81
87
|
isHardLinked?: InputMaybe<Scalars['Boolean']>;
|
|
88
|
+
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
82
89
|
tractor?: InputMaybe<Scalars['ObjectId']>;
|
|
83
90
|
trailer?: InputMaybe<Scalars['ObjectId']>;
|
|
84
91
|
};
|
|
@@ -102,13 +109,17 @@ export type Battery = {
|
|
|
102
109
|
|
|
103
110
|
export enum BillingMethod {
|
|
104
111
|
FlatFee = 'FLAT_FEE',
|
|
112
|
+
PercentageOfLineHaul = 'PERCENTAGE_OF_LINE_HAUL',
|
|
105
113
|
PerDetentionHour = 'PER_DETENTION_HOUR',
|
|
106
114
|
PerEmptyKm = 'PER_EMPTY_KM',
|
|
107
115
|
PerEmptyMile = 'PER_EMPTY_MILE',
|
|
116
|
+
PerGallon = 'PER_GALLON',
|
|
108
117
|
PerHour = 'PER_HOUR',
|
|
109
118
|
PerKg = 'PER_KG',
|
|
110
119
|
PerKm = 'PER_KM',
|
|
111
120
|
PerKmWithDeadhead = 'PER_KM_WITH_DEADHEAD',
|
|
121
|
+
PerLiter = 'PER_LITER',
|
|
122
|
+
PerLocation = 'PER_LOCATION',
|
|
112
123
|
PerMile = 'PER_MILE',
|
|
113
124
|
PerMileWithDeadhead = 'PER_MILE_WITH_DEADHEAD',
|
|
114
125
|
PerPound = 'PER_POUND',
|
|
@@ -119,16 +130,37 @@ export enum BillingMethod {
|
|
|
119
130
|
export type BillingRate = {
|
|
120
131
|
__typename?: 'BillingRate';
|
|
121
132
|
amount: Scalars['Float'];
|
|
133
|
+
label?: Maybe<Scalars['String']>;
|
|
122
134
|
method: BillingMethod;
|
|
135
|
+
parameters?: Maybe<Array<BillingRateParameter>>;
|
|
123
136
|
referenceNumber?: Maybe<Scalars['String']>;
|
|
124
137
|
};
|
|
125
138
|
|
|
126
139
|
export type BillingRateInput = {
|
|
127
140
|
amount: Scalars['Float'];
|
|
141
|
+
label?: InputMaybe<Scalars['String']>;
|
|
128
142
|
method: BillingMethod;
|
|
143
|
+
parameters?: InputMaybe<Array<BillingRateParameterInput>>;
|
|
129
144
|
referenceNumber?: InputMaybe<Scalars['String']>;
|
|
130
145
|
};
|
|
131
146
|
|
|
147
|
+
export type BillingRateParameter = {
|
|
148
|
+
__typename?: 'BillingRateParameter';
|
|
149
|
+
type: BillingRateParameterType;
|
|
150
|
+
value?: Maybe<Scalars['ConditionValue']>;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
export type BillingRateParameterInput = {
|
|
154
|
+
type: BillingRateParameterType;
|
|
155
|
+
value?: InputMaybe<Scalars['ConditionValue']>;
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
export enum BillingRateParameterType {
|
|
159
|
+
FreeLocationCount = 'FREE_LOCATION_COUNT',
|
|
160
|
+
GoodProfile = 'GOOD_PROFILE',
|
|
161
|
+
LocationType = 'LOCATION_TYPE'
|
|
162
|
+
}
|
|
163
|
+
|
|
132
164
|
/** A customer billing rule */
|
|
133
165
|
export type BillingRule = {
|
|
134
166
|
__typename?: 'BillingRule';
|
|
@@ -151,12 +183,14 @@ export type BillingRule = {
|
|
|
151
183
|
export type BillingRuleCondition = {
|
|
152
184
|
__typename?: 'BillingRuleCondition';
|
|
153
185
|
operator: BillingRuleConditionOperator;
|
|
186
|
+
parameters?: Maybe<Array<BillingRuleConditionParameter>>;
|
|
154
187
|
target: BillingRuleConditionTarget;
|
|
155
188
|
value?: Maybe<Scalars['ConditionValue']>;
|
|
156
189
|
};
|
|
157
190
|
|
|
158
191
|
export type BillingRuleConditionInput = {
|
|
159
192
|
operator: BillingRuleConditionOperator;
|
|
193
|
+
parameters?: InputMaybe<Array<BillingRuleConditionParameterInput>>;
|
|
160
194
|
target: BillingRuleConditionTarget;
|
|
161
195
|
value?: InputMaybe<Scalars['ConditionValue']>;
|
|
162
196
|
};
|
|
@@ -169,9 +203,25 @@ export enum BillingRuleConditionOperator {
|
|
|
169
203
|
NotEquals = 'NOT_EQUALS'
|
|
170
204
|
}
|
|
171
205
|
|
|
206
|
+
export type BillingRuleConditionParameter = {
|
|
207
|
+
__typename?: 'BillingRuleConditionParameter';
|
|
208
|
+
type: BillingRuleConditionParameterType;
|
|
209
|
+
value?: Maybe<Scalars['ConditionValue']>;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
export type BillingRuleConditionParameterInput = {
|
|
213
|
+
type: BillingRuleConditionParameterType;
|
|
214
|
+
value?: InputMaybe<Scalars['ConditionValue']>;
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
export enum BillingRuleConditionParameterType {
|
|
218
|
+
FuelCostArea = 'FUEL_COST_AREA'
|
|
219
|
+
}
|
|
220
|
+
|
|
172
221
|
export enum BillingRuleConditionTarget {
|
|
173
222
|
Date = 'DATE',
|
|
174
223
|
DetentionTime = 'DETENTION_TIME',
|
|
224
|
+
FuelCost = 'FUEL_COST',
|
|
175
225
|
Goods = 'GOODS',
|
|
176
226
|
Mileage = 'MILEAGE',
|
|
177
227
|
Otherwise = 'OTHERWISE',
|
|
@@ -179,7 +229,8 @@ export enum BillingRuleConditionTarget {
|
|
|
179
229
|
Shipper = 'SHIPPER',
|
|
180
230
|
Time = 'TIME',
|
|
181
231
|
Trailer = 'TRAILER',
|
|
182
|
-
TrailerType = 'TRAILER_TYPE'
|
|
232
|
+
TrailerType = 'TRAILER_TYPE',
|
|
233
|
+
Volume = 'VOLUME'
|
|
183
234
|
}
|
|
184
235
|
|
|
185
236
|
export type BillingRulePaginatedResult = {
|
|
@@ -234,6 +285,7 @@ export type Broker = {
|
|
|
234
285
|
creditTerms?: Maybe<Scalars['String']>;
|
|
235
286
|
/** Custom fields for the business entity */
|
|
236
287
|
customFields?: Maybe<Array<CustomField>>;
|
|
288
|
+
defaultReferenceNumbers?: Maybe<Array<DefaultReferenceNumber>>;
|
|
237
289
|
/** The default shipper for this business entity */
|
|
238
290
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
239
291
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
@@ -271,6 +323,8 @@ export type Broker = {
|
|
|
271
323
|
remitCompanyName?: Maybe<Scalars['String']>;
|
|
272
324
|
/** Remit email for the business entity */
|
|
273
325
|
remitEmail?: Maybe<Scalars['String']>;
|
|
326
|
+
/** Shipmentp documents to receive via email on completion */
|
|
327
|
+
shipmentDocumentsToReceive?: Maybe<Array<Scalars['String']>>;
|
|
274
328
|
/** SCAC code for carriers */
|
|
275
329
|
standardCarrierAlphaCode?: Maybe<Scalars['String']>;
|
|
276
330
|
status: AssetStatus;
|
|
@@ -330,6 +384,7 @@ export type BusinessEntity = {
|
|
|
330
384
|
creditTerms?: Maybe<Scalars['String']>;
|
|
331
385
|
/** Custom fields for the business entity */
|
|
332
386
|
customFields?: Maybe<Array<CustomField>>;
|
|
387
|
+
defaultReferenceNumbers?: Maybe<Array<DefaultReferenceNumber>>;
|
|
333
388
|
/** The default shipper for this business entity */
|
|
334
389
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
335
390
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
@@ -367,6 +422,8 @@ export type BusinessEntity = {
|
|
|
367
422
|
remitCompanyName?: Maybe<Scalars['String']>;
|
|
368
423
|
/** Remit email for the business entity */
|
|
369
424
|
remitEmail?: Maybe<Scalars['String']>;
|
|
425
|
+
/** Shipmentp documents to receive via email on completion */
|
|
426
|
+
shipmentDocumentsToReceive?: Maybe<Array<Scalars['String']>>;
|
|
370
427
|
/** SCAC code for carriers */
|
|
371
428
|
standardCarrierAlphaCode?: Maybe<Scalars['String']>;
|
|
372
429
|
status: AssetStatus;
|
|
@@ -413,6 +470,7 @@ export type BusinessEntityUpdateInput = {
|
|
|
413
470
|
contact?: InputMaybe<NewContactInput>;
|
|
414
471
|
creditTerms?: InputMaybe<Scalars['String']>;
|
|
415
472
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
473
|
+
defaultReferenceNumbers?: InputMaybe<Array<DefaultReferenceNumberInput>>;
|
|
416
474
|
defaultShipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
417
475
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
418
476
|
dotNumber?: InputMaybe<Scalars['String']>;
|
|
@@ -430,6 +488,7 @@ export type BusinessEntityUpdateInput = {
|
|
|
430
488
|
/** Remit company name for the business entity */
|
|
431
489
|
remitCompanyName?: InputMaybe<Scalars['String']>;
|
|
432
490
|
remitEmail?: InputMaybe<Scalars['String']>;
|
|
491
|
+
shipmentDocumentsToReceive?: InputMaybe<Array<Scalars['String']>>;
|
|
433
492
|
standardCarrierAlphaCode?: InputMaybe<Scalars['String']>;
|
|
434
493
|
status?: InputMaybe<AssetStatus>;
|
|
435
494
|
storageFacilities?: InputMaybe<Array<StorageFacilityInput>>;
|
|
@@ -466,6 +525,7 @@ export type Carrier = {
|
|
|
466
525
|
creditTerms?: Maybe<Scalars['String']>;
|
|
467
526
|
/** Custom fields for the business entity */
|
|
468
527
|
customFields?: Maybe<Array<CustomField>>;
|
|
528
|
+
defaultReferenceNumbers?: Maybe<Array<DefaultReferenceNumber>>;
|
|
469
529
|
/** The default shipper for this business entity */
|
|
470
530
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
471
531
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
@@ -503,6 +563,8 @@ export type Carrier = {
|
|
|
503
563
|
remitCompanyName?: Maybe<Scalars['String']>;
|
|
504
564
|
/** Remit email for the business entity */
|
|
505
565
|
remitEmail?: Maybe<Scalars['String']>;
|
|
566
|
+
/** Shipmentp documents to receive via email on completion */
|
|
567
|
+
shipmentDocumentsToReceive?: Maybe<Array<Scalars['String']>>;
|
|
506
568
|
/** SCAC code for carriers */
|
|
507
569
|
standardCarrierAlphaCode?: Maybe<Scalars['String']>;
|
|
508
570
|
status: AssetStatus;
|
|
@@ -739,6 +801,7 @@ export type Customer = {
|
|
|
739
801
|
creditTerms?: Maybe<Scalars['String']>;
|
|
740
802
|
/** Custom fields for the business entity */
|
|
741
803
|
customFields?: Maybe<Array<CustomField>>;
|
|
804
|
+
defaultReferenceNumbers?: Maybe<Array<DefaultReferenceNumber>>;
|
|
742
805
|
/** The default shipper for this business entity */
|
|
743
806
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
744
807
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
@@ -776,6 +839,8 @@ export type Customer = {
|
|
|
776
839
|
remitCompanyName?: Maybe<Scalars['String']>;
|
|
777
840
|
/** Remit email for the business entity */
|
|
778
841
|
remitEmail?: Maybe<Scalars['String']>;
|
|
842
|
+
/** Shipmentp documents to receive via email on completion */
|
|
843
|
+
shipmentDocumentsToReceive?: Maybe<Array<Scalars['String']>>;
|
|
779
844
|
/** SCAC code for carriers */
|
|
780
845
|
standardCarrierAlphaCode?: Maybe<Scalars['String']>;
|
|
781
846
|
status: AssetStatus;
|
|
@@ -895,6 +960,17 @@ export enum DeductionType {
|
|
|
895
960
|
Deduction = 'DEDUCTION'
|
|
896
961
|
}
|
|
897
962
|
|
|
963
|
+
export type DefaultReferenceNumber = {
|
|
964
|
+
__typename?: 'DefaultReferenceNumber';
|
|
965
|
+
referenceNumberType: ShipmentReferenceNumberType;
|
|
966
|
+
referenceNumberValue: Scalars['String'];
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
export type DefaultReferenceNumberInput = {
|
|
970
|
+
referenceNumberType: ShipmentReferenceNumberType;
|
|
971
|
+
referenceNumberValue: Scalars['String'];
|
|
972
|
+
};
|
|
973
|
+
|
|
898
974
|
export type DeleteShipmentDocumentInput = {
|
|
899
975
|
_id?: InputMaybe<Scalars['String']>;
|
|
900
976
|
shipment?: InputMaybe<Scalars['String']>;
|
|
@@ -1212,9 +1288,47 @@ export type DriverShift = {
|
|
|
1212
1288
|
domicileId?: Maybe<Scalars['ObjectId']>;
|
|
1213
1289
|
driverIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
1214
1290
|
endTime: Time;
|
|
1291
|
+
/** Ad hoc driver shifts are one time shifts that have been assigned directly from the planning tool */
|
|
1292
|
+
isAdhoc?: Maybe<Scalars['Boolean']>;
|
|
1293
|
+
label?: Maybe<Scalars['String']>;
|
|
1215
1294
|
startTime: Time;
|
|
1216
1295
|
};
|
|
1217
1296
|
|
|
1297
|
+
export type DriverShiftAssignment = {
|
|
1298
|
+
__typename?: 'DriverShiftAssignment';
|
|
1299
|
+
_id: Scalars['String'];
|
|
1300
|
+
driver?: Maybe<Driver>;
|
|
1301
|
+
driverId: Scalars['ObjectId'];
|
|
1302
|
+
driverShift?: Maybe<DriverShift>;
|
|
1303
|
+
driverShiftId: Scalars['ObjectId'];
|
|
1304
|
+
endDate?: Maybe<Scalars['DateTime']>;
|
|
1305
|
+
startDate?: Maybe<Scalars['DateTime']>;
|
|
1306
|
+
};
|
|
1307
|
+
|
|
1308
|
+
export type DriverShiftAssignmentPaginatedResult = {
|
|
1309
|
+
__typename?: 'DriverShiftAssignmentPaginatedResult';
|
|
1310
|
+
count: Scalars['Int'];
|
|
1311
|
+
data: Array<DriverShiftAssignment>;
|
|
1312
|
+
};
|
|
1313
|
+
|
|
1314
|
+
export type DriverShiftAssignmentUpdateInput = {
|
|
1315
|
+
driverId?: InputMaybe<Scalars['ObjectId']>;
|
|
1316
|
+
driverShiftId?: InputMaybe<Scalars['ObjectId']>;
|
|
1317
|
+
endDate?: InputMaybe<Scalars['DateTime']>;
|
|
1318
|
+
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
1319
|
+
};
|
|
1320
|
+
|
|
1321
|
+
export type DriverShiftDeletedEvent = {
|
|
1322
|
+
__typename?: 'DriverShiftDeletedEvent';
|
|
1323
|
+
name: Events;
|
|
1324
|
+
payload: DriverShiftDeletedEventPayload;
|
|
1325
|
+
};
|
|
1326
|
+
|
|
1327
|
+
export type DriverShiftDeletedEventPayload = {
|
|
1328
|
+
__typename?: 'DriverShiftDeletedEventPayload';
|
|
1329
|
+
driverShiftId: Scalars['ObjectId'];
|
|
1330
|
+
};
|
|
1331
|
+
|
|
1218
1332
|
export type DriverShiftPaginatedResult = {
|
|
1219
1333
|
__typename?: 'DriverShiftPaginatedResult';
|
|
1220
1334
|
count: Scalars['Int'];
|
|
@@ -1226,6 +1340,9 @@ export type DriverShiftUpdateInput = {
|
|
|
1226
1340
|
domicileId?: InputMaybe<Scalars['ObjectId']>;
|
|
1227
1341
|
driverIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
1228
1342
|
endTime?: InputMaybe<TimeInput>;
|
|
1343
|
+
/** Ad hoc driver shifts are one time shifts that have been assigned directly from the planning tool */
|
|
1344
|
+
isAdhoc?: InputMaybe<Scalars['Boolean']>;
|
|
1345
|
+
label?: InputMaybe<Scalars['String']>;
|
|
1229
1346
|
startTime?: InputMaybe<TimeInput>;
|
|
1230
1347
|
};
|
|
1231
1348
|
|
|
@@ -1269,6 +1386,7 @@ export type DriverUpdatedEventPayload = {
|
|
|
1269
1386
|
};
|
|
1270
1387
|
|
|
1271
1388
|
export type DriverWhere = {
|
|
1389
|
+
domicile?: InputMaybe<Scalars['String']>;
|
|
1272
1390
|
status?: InputMaybe<AssetStatus>;
|
|
1273
1391
|
};
|
|
1274
1392
|
|
|
@@ -1300,6 +1418,7 @@ export enum Events {
|
|
|
1300
1418
|
DriverPositionUpdated = 'DRIVER_POSITION_UPDATED',
|
|
1301
1419
|
DriverSettlementCreated = 'DRIVER_SETTLEMENT_CREATED',
|
|
1302
1420
|
DriverSettlementDeleted = 'DRIVER_SETTLEMENT_DELETED',
|
|
1421
|
+
DriverShiftDeleted = 'DRIVER_SHIFT_DELETED',
|
|
1303
1422
|
DriverUpdated = 'DRIVER_UPDATED',
|
|
1304
1423
|
ExpenseCreated = 'EXPENSE_CREATED',
|
|
1305
1424
|
ExpenseDeleted = 'EXPENSE_DELETED',
|
|
@@ -1322,6 +1441,7 @@ export enum Events {
|
|
|
1322
1441
|
TrailerPositionUpdated = 'TRAILER_POSITION_UPDATED',
|
|
1323
1442
|
TripCompleted = 'TRIP_COMPLETED',
|
|
1324
1443
|
TripCreated = 'TRIP_CREATED',
|
|
1444
|
+
TripDistancesCalculated = 'TRIP_DISTANCES_CALCULATED',
|
|
1325
1445
|
TripFullyAssigned = 'TRIP_FULLY_ASSIGNED',
|
|
1326
1446
|
TripUpdated = 'TRIP_UPDATED',
|
|
1327
1447
|
UserStatusUpdated = 'USER_STATUS_UPDATED'
|
|
@@ -1564,6 +1684,28 @@ export type ExtensionSettings = {
|
|
|
1564
1684
|
operations: Array<ExtensionOperation>;
|
|
1565
1685
|
rootUrl: Scalars['String'];
|
|
1566
1686
|
uninstallEndpoint: Scalars['String'];
|
|
1687
|
+
widgets: Array<ExtensionWidget>;
|
|
1688
|
+
};
|
|
1689
|
+
|
|
1690
|
+
/** Extension widget */
|
|
1691
|
+
export type ExtensionWidget = {
|
|
1692
|
+
__typename?: 'ExtensionWidget';
|
|
1693
|
+
context: ExtensionWidgetContext;
|
|
1694
|
+
endpoint: Scalars['String'];
|
|
1695
|
+
label: Scalars['String'];
|
|
1696
|
+
};
|
|
1697
|
+
|
|
1698
|
+
export enum ExtensionWidgetContext {
|
|
1699
|
+
PlanningToolHeader = 'PLANNING_TOOL_HEADER'
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
export type ExtensionWidgetWithExtensionInfo = {
|
|
1703
|
+
__typename?: 'ExtensionWidgetWithExtensionInfo';
|
|
1704
|
+
context: ExtensionWidgetContext;
|
|
1705
|
+
endpoint: Scalars['String'];
|
|
1706
|
+
extensionId: Scalars['String'];
|
|
1707
|
+
label: Scalars['String'];
|
|
1708
|
+
rootUrl: Scalars['String'];
|
|
1567
1709
|
};
|
|
1568
1710
|
|
|
1569
1711
|
export type ExtensionWithStatus = {
|
|
@@ -1735,6 +1877,23 @@ export type GeneralSettingsInput = {
|
|
|
1735
1877
|
useSimpleWorkflow?: InputMaybe<Scalars['Boolean']>;
|
|
1736
1878
|
};
|
|
1737
1879
|
|
|
1880
|
+
export type GenerateTripInput = {
|
|
1881
|
+
additionalTrailers?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
1882
|
+
carrier?: InputMaybe<Scalars['String']>;
|
|
1883
|
+
chassis?: InputMaybe<Scalars['String']>;
|
|
1884
|
+
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
1885
|
+
driver?: InputMaybe<Scalars['String']>;
|
|
1886
|
+
etaFromPreviousTrip?: InputMaybe<Scalars['Float']>;
|
|
1887
|
+
etaToNextTrip?: InputMaybe<Scalars['Float']>;
|
|
1888
|
+
shipments: Array<Scalars['String']>;
|
|
1889
|
+
startTime?: InputMaybe<Scalars['DateTime']>;
|
|
1890
|
+
tags?: InputMaybe<Array<Scalars['String']>>;
|
|
1891
|
+
tractor?: InputMaybe<Scalars['String']>;
|
|
1892
|
+
trailer?: InputMaybe<Scalars['String']>;
|
|
1893
|
+
trailerCompartmentAssignments?: InputMaybe<Array<TrailerCompartmentAssignmentInput>>;
|
|
1894
|
+
violations?: InputMaybe<Array<TripViolationInput>>;
|
|
1895
|
+
};
|
|
1896
|
+
|
|
1738
1897
|
export type Good = {
|
|
1739
1898
|
__typename?: 'Good';
|
|
1740
1899
|
_id: Scalars['String'];
|
|
@@ -1755,13 +1914,21 @@ export type GoodDistribution = {
|
|
|
1755
1914
|
goodId: Scalars['String'];
|
|
1756
1915
|
goodProfile?: Maybe<GoodProfile>;
|
|
1757
1916
|
goodProfileId?: Maybe<Scalars['ObjectId']>;
|
|
1917
|
+
pinCode?: Maybe<Scalars['String']>;
|
|
1758
1918
|
quantity?: Maybe<Scalars['Float']>;
|
|
1919
|
+
shipperId?: Maybe<Scalars['ObjectId']>;
|
|
1920
|
+
supplierId?: Maybe<Scalars['ObjectId']>;
|
|
1921
|
+
unitPrice?: Maybe<Scalars['Float']>;
|
|
1759
1922
|
};
|
|
1760
1923
|
|
|
1761
1924
|
export type GoodDistributionInput = {
|
|
1762
1925
|
goodId: Scalars['String'];
|
|
1763
1926
|
goodProfileId?: InputMaybe<Scalars['ObjectId']>;
|
|
1927
|
+
pinCode?: InputMaybe<Scalars['String']>;
|
|
1764
1928
|
quantity?: InputMaybe<Scalars['Float']>;
|
|
1929
|
+
shipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
1930
|
+
supplierId?: InputMaybe<Scalars['ObjectId']>;
|
|
1931
|
+
unitPrice?: InputMaybe<Scalars['Float']>;
|
|
1765
1932
|
};
|
|
1766
1933
|
|
|
1767
1934
|
export type GoodInput = {
|
|
@@ -2001,8 +2168,11 @@ export enum InvoicingProcess {
|
|
|
2001
2168
|
|
|
2002
2169
|
export type InvoicingSettings = {
|
|
2003
2170
|
__typename?: 'InvoicingSettings';
|
|
2171
|
+
/** @deprecated Use Organization.address instead */
|
|
2004
2172
|
companyAddress?: Maybe<Scalars['String']>;
|
|
2173
|
+
/** @deprecated Use Organization.email instead */
|
|
2005
2174
|
companyEmail?: Maybe<Scalars['String']>;
|
|
2175
|
+
/** @deprecated Use Organization.phoneNumber instead */
|
|
2006
2176
|
companyPhone?: Maybe<Scalars['String']>;
|
|
2007
2177
|
enableTaxRate?: Maybe<Scalars['Boolean']>;
|
|
2008
2178
|
logoUrl?: Maybe<Scalars['String']>;
|
|
@@ -2028,15 +2198,6 @@ export type InvoicingSettingsInput = {
|
|
|
2028
2198
|
remitEmail?: InputMaybe<Scalars['String']>;
|
|
2029
2199
|
};
|
|
2030
2200
|
|
|
2031
|
-
export type KeycloakOrganization = {
|
|
2032
|
-
__typename?: 'KeycloakOrganization';
|
|
2033
|
-
attributes?: Maybe<KeycloakOrganizationAttributes>;
|
|
2034
|
-
displayName: Scalars['String'];
|
|
2035
|
-
id: Scalars['String'];
|
|
2036
|
-
name: Scalars['String'];
|
|
2037
|
-
realm: Scalars['String'];
|
|
2038
|
-
};
|
|
2039
|
-
|
|
2040
2201
|
export type KeycloakOrganizationAttributes = {
|
|
2041
2202
|
__typename?: 'KeycloakOrganizationAttributes';
|
|
2042
2203
|
chargebeeCustomerId?: Maybe<Scalars['String']>;
|
|
@@ -2280,11 +2441,13 @@ export type Mutation = {
|
|
|
2280
2441
|
addDeductionRule: DeductionRule;
|
|
2281
2442
|
addDriver: Driver;
|
|
2282
2443
|
addDriverShift: DriverShift;
|
|
2444
|
+
addDriverShiftAssignment: DriverShiftAssignment;
|
|
2283
2445
|
addGoodProfile: GoodProfile;
|
|
2284
2446
|
addGroup: Group;
|
|
2285
2447
|
addMaintenanceTask: MaintenanceTask;
|
|
2286
2448
|
addNotesShipment: Shipment;
|
|
2287
2449
|
addOrder: Order;
|
|
2450
|
+
addOrgDoc: OrganizationDocument;
|
|
2288
2451
|
addOrgUser: OrgUser;
|
|
2289
2452
|
addPaymentRule: PaymentRule;
|
|
2290
2453
|
addQualification: Qualification;
|
|
@@ -2302,6 +2465,7 @@ export type Mutation = {
|
|
|
2302
2465
|
addTrailer: Trailer;
|
|
2303
2466
|
addTrailerEvent: TrailerEvent;
|
|
2304
2467
|
addTransaction: Transaction;
|
|
2468
|
+
/** @deprecated Use generateTrip instead */
|
|
2305
2469
|
addTrip: Trip;
|
|
2306
2470
|
addTripPayment?: Maybe<Trip>;
|
|
2307
2471
|
assignTripAsset: Trip;
|
|
@@ -2330,6 +2494,7 @@ export type Mutation = {
|
|
|
2330
2494
|
callExtensionOperation: ExtensionOperationResponse;
|
|
2331
2495
|
cancelShipmentSplit?: Maybe<Shipment>;
|
|
2332
2496
|
changeTripStartTime?: Maybe<Trip>;
|
|
2497
|
+
checkShipmentsCombinability: Scalars['Boolean'];
|
|
2333
2498
|
completeMaintenanceTask: MaintenanceTask;
|
|
2334
2499
|
computeLineHaulForTrip?: Maybe<Trip>;
|
|
2335
2500
|
deleteAssetLinking: Scalars['Boolean'];
|
|
@@ -2344,11 +2509,13 @@ export type Mutation = {
|
|
|
2344
2509
|
deleteDriver: Scalars['Boolean'];
|
|
2345
2510
|
deleteDriverSettlement: Scalars['Boolean'];
|
|
2346
2511
|
deleteDriverShift: Scalars['Boolean'];
|
|
2512
|
+
deleteDriverShiftAssignment: Scalars['Boolean'];
|
|
2347
2513
|
deleteGoodProfile: Scalars['Boolean'];
|
|
2348
2514
|
deleteGroup: Scalars['Boolean'];
|
|
2349
2515
|
deleteInvoice: Scalars['Boolean'];
|
|
2350
2516
|
deleteMaintenanceTask: Scalars['Boolean'];
|
|
2351
2517
|
deleteOrder: Scalars['Boolean'];
|
|
2518
|
+
deleteOrgDoc: Scalars['Boolean'];
|
|
2352
2519
|
deleteOrgUser: Scalars['Boolean'];
|
|
2353
2520
|
deletePaymentRule: Scalars['Boolean'];
|
|
2354
2521
|
deleteQualification: Scalars['Boolean'];
|
|
@@ -2380,6 +2547,7 @@ export type Mutation = {
|
|
|
2380
2547
|
editDriver: Driver;
|
|
2381
2548
|
editDriverSettlement?: Maybe<DriverSettlement>;
|
|
2382
2549
|
editDriverShift: DriverShift;
|
|
2550
|
+
editDriverShiftAssignment: DriverShiftAssignment;
|
|
2383
2551
|
/** Edit good pin code */
|
|
2384
2552
|
editGoodPinCode?: Maybe<Shipment>;
|
|
2385
2553
|
editGoodProfile: GoodProfile;
|
|
@@ -2389,7 +2557,9 @@ export type Mutation = {
|
|
|
2389
2557
|
editMaintenanceTask: MaintenanceTask;
|
|
2390
2558
|
editNoteShipment: Shipment;
|
|
2391
2559
|
editOrder: Order;
|
|
2560
|
+
editOrgDoc: Scalars['String'];
|
|
2392
2561
|
editOrgUser: OrgUser;
|
|
2562
|
+
editOrganization: Scalars['String'];
|
|
2393
2563
|
editPaymentRule?: Maybe<PaymentRule>;
|
|
2394
2564
|
editQualification: Qualification;
|
|
2395
2565
|
editReceiver: Receiver;
|
|
@@ -2413,6 +2583,7 @@ export type Mutation = {
|
|
|
2413
2583
|
generateInvoice: Invoice;
|
|
2414
2584
|
generateReportPdf: ReportPdf;
|
|
2415
2585
|
generateShipmentRoute: ShipmentRoute;
|
|
2586
|
+
generateTrip: Trip;
|
|
2416
2587
|
generateTripsForPendingShipments: TripGenerationResult;
|
|
2417
2588
|
generateTripsForShipments: TripGenerationResult;
|
|
2418
2589
|
getCheckoutSession: SubscriptionCheckoutSession;
|
|
@@ -2425,11 +2596,13 @@ export type Mutation = {
|
|
|
2425
2596
|
purgeForecastedOrders: Scalars['Boolean'];
|
|
2426
2597
|
rankSupplierContractsForPurchase: Array<SupplierContractRanking>;
|
|
2427
2598
|
rankSupplierContractsForPurchases: Array<SupplierContractRanking>;
|
|
2599
|
+
removeShipmentFromTrip: RemoveShipmentFromTripResult;
|
|
2428
2600
|
reportShipmentIssue: Shipment;
|
|
2429
2601
|
restoreLatestSnapshot: Scalars['Boolean'];
|
|
2430
2602
|
restoreShipment: Shipment;
|
|
2431
2603
|
saveDataSnapshot: Snapshot;
|
|
2432
2604
|
saveOrganizationSettings?: Maybe<OrganizationSettings>;
|
|
2605
|
+
saveTrip: Trip;
|
|
2433
2606
|
sendInvoice?: Maybe<Invoice>;
|
|
2434
2607
|
sendRatecon: SendRateconResult;
|
|
2435
2608
|
sendReportPdf: SendReportResult;
|
|
@@ -2505,6 +2678,11 @@ export type MutationAddDriverShiftArgs = {
|
|
|
2505
2678
|
};
|
|
2506
2679
|
|
|
2507
2680
|
|
|
2681
|
+
export type MutationAddDriverShiftAssignmentArgs = {
|
|
2682
|
+
newDriverShiftAssignmentData: NewDriverShiftAssignmentInput;
|
|
2683
|
+
};
|
|
2684
|
+
|
|
2685
|
+
|
|
2508
2686
|
export type MutationAddGoodProfileArgs = {
|
|
2509
2687
|
newGoodProfileData: NewGoodProfileInput;
|
|
2510
2688
|
};
|
|
@@ -2530,6 +2708,11 @@ export type MutationAddOrderArgs = {
|
|
|
2530
2708
|
};
|
|
2531
2709
|
|
|
2532
2710
|
|
|
2711
|
+
export type MutationAddOrgDocArgs = {
|
|
2712
|
+
newOrganizationDocumentData: NewOrganizationDocumentInput;
|
|
2713
|
+
};
|
|
2714
|
+
|
|
2715
|
+
|
|
2533
2716
|
export type MutationAddOrgUserArgs = {
|
|
2534
2717
|
newOrgUserData: NewOrgUserInput;
|
|
2535
2718
|
};
|
|
@@ -2771,6 +2954,11 @@ export type MutationChangeTripStartTimeArgs = {
|
|
|
2771
2954
|
};
|
|
2772
2955
|
|
|
2773
2956
|
|
|
2957
|
+
export type MutationCheckShipmentsCombinabilityArgs = {
|
|
2958
|
+
generateTripData: GenerateTripInput;
|
|
2959
|
+
};
|
|
2960
|
+
|
|
2961
|
+
|
|
2774
2962
|
export type MutationCompleteMaintenanceTaskArgs = {
|
|
2775
2963
|
id: Scalars['ObjectId'];
|
|
2776
2964
|
};
|
|
@@ -2841,6 +3029,11 @@ export type MutationDeleteDriverShiftArgs = {
|
|
|
2841
3029
|
};
|
|
2842
3030
|
|
|
2843
3031
|
|
|
3032
|
+
export type MutationDeleteDriverShiftAssignmentArgs = {
|
|
3033
|
+
id: Scalars['String'];
|
|
3034
|
+
};
|
|
3035
|
+
|
|
3036
|
+
|
|
2844
3037
|
export type MutationDeleteGoodProfileArgs = {
|
|
2845
3038
|
id: Scalars['String'];
|
|
2846
3039
|
};
|
|
@@ -2866,6 +3059,11 @@ export type MutationDeleteOrderArgs = {
|
|
|
2866
3059
|
};
|
|
2867
3060
|
|
|
2868
3061
|
|
|
3062
|
+
export type MutationDeleteOrgDocArgs = {
|
|
3063
|
+
id: Scalars['ObjectId'];
|
|
3064
|
+
};
|
|
3065
|
+
|
|
3066
|
+
|
|
2869
3067
|
export type MutationDeleteOrgUserArgs = {
|
|
2870
3068
|
id: Scalars['String'];
|
|
2871
3069
|
};
|
|
@@ -3035,6 +3233,12 @@ export type MutationEditDriverShiftArgs = {
|
|
|
3035
3233
|
};
|
|
3036
3234
|
|
|
3037
3235
|
|
|
3236
|
+
export type MutationEditDriverShiftAssignmentArgs = {
|
|
3237
|
+
editDriverShiftAssignmentData: DriverShiftAssignmentUpdateInput;
|
|
3238
|
+
id: Scalars['String'];
|
|
3239
|
+
};
|
|
3240
|
+
|
|
3241
|
+
|
|
3038
3242
|
export type MutationEditGoodPinCodeArgs = {
|
|
3039
3243
|
goodId: Scalars['String'];
|
|
3040
3244
|
id: Scalars['ObjectId'];
|
|
@@ -3078,12 +3282,23 @@ export type MutationEditOrderArgs = {
|
|
|
3078
3282
|
};
|
|
3079
3283
|
|
|
3080
3284
|
|
|
3285
|
+
export type MutationEditOrgDocArgs = {
|
|
3286
|
+
id: Scalars['ObjectId'];
|
|
3287
|
+
organizationDocumentData: OrganizationDocumentUpdateInput;
|
|
3288
|
+
};
|
|
3289
|
+
|
|
3290
|
+
|
|
3081
3291
|
export type MutationEditOrgUserArgs = {
|
|
3082
3292
|
editOrgUserData: OrgUserUpdateInput;
|
|
3083
3293
|
id: Scalars['String'];
|
|
3084
3294
|
};
|
|
3085
3295
|
|
|
3086
3296
|
|
|
3297
|
+
export type MutationEditOrganizationArgs = {
|
|
3298
|
+
organizationSetupData: OrganizationUpdateInput;
|
|
3299
|
+
};
|
|
3300
|
+
|
|
3301
|
+
|
|
3087
3302
|
export type MutationEditPaymentRuleArgs = {
|
|
3088
3303
|
editPaymentRuleData: PaymentRuleUpdateInput;
|
|
3089
3304
|
id: Scalars['String'];
|
|
@@ -3223,6 +3438,12 @@ export type MutationGenerateShipmentRouteArgs = {
|
|
|
3223
3438
|
};
|
|
3224
3439
|
|
|
3225
3440
|
|
|
3441
|
+
export type MutationGenerateTripArgs = {
|
|
3442
|
+
generateTripData: GenerateTripInput;
|
|
3443
|
+
ignoreDriverShifts?: InputMaybe<Scalars['Boolean']>;
|
|
3444
|
+
};
|
|
3445
|
+
|
|
3446
|
+
|
|
3226
3447
|
export type MutationGenerateTripsForShipmentsArgs = {
|
|
3227
3448
|
endDate: Scalars['DateTime'];
|
|
3228
3449
|
shipmentIds: Array<Scalars['ObjectId']>;
|
|
@@ -3253,8 +3474,11 @@ export type MutationPersistTractorPositionsArgs = {
|
|
|
3253
3474
|
|
|
3254
3475
|
|
|
3255
3476
|
export type MutationPlanTripsForDriverArgs = {
|
|
3477
|
+
additionalTrailerIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3256
3478
|
driverId: Scalars['ObjectId'];
|
|
3257
3479
|
planTimezone?: InputMaybe<Scalars['String']>;
|
|
3480
|
+
tractorId?: InputMaybe<Scalars['ObjectId']>;
|
|
3481
|
+
trailerId?: InputMaybe<Scalars['ObjectId']>;
|
|
3258
3482
|
trips: Array<TripForPlanningInput>;
|
|
3259
3483
|
};
|
|
3260
3484
|
|
|
@@ -3274,6 +3498,12 @@ export type MutationRankSupplierContractsForPurchasesArgs = {
|
|
|
3274
3498
|
};
|
|
3275
3499
|
|
|
3276
3500
|
|
|
3501
|
+
export type MutationRemoveShipmentFromTripArgs = {
|
|
3502
|
+
shipmentIds: Array<Scalars['ObjectId']>;
|
|
3503
|
+
tripId: Scalars['ObjectId'];
|
|
3504
|
+
};
|
|
3505
|
+
|
|
3506
|
+
|
|
3277
3507
|
export type MutationReportShipmentIssueArgs = {
|
|
3278
3508
|
shipmentIssueData: ShipmentIssueInput;
|
|
3279
3509
|
};
|
|
@@ -3289,6 +3519,11 @@ export type MutationSaveOrganizationSettingsArgs = {
|
|
|
3289
3519
|
};
|
|
3290
3520
|
|
|
3291
3521
|
|
|
3522
|
+
export type MutationSaveTripArgs = {
|
|
3523
|
+
saveTripData: SaveTripInput;
|
|
3524
|
+
};
|
|
3525
|
+
|
|
3526
|
+
|
|
3292
3527
|
export type MutationSendInvoiceArgs = {
|
|
3293
3528
|
invoiceId: Scalars['String'];
|
|
3294
3529
|
};
|
|
@@ -3310,7 +3545,7 @@ export type MutationSendReportPdfArgs = {
|
|
|
3310
3545
|
|
|
3311
3546
|
|
|
3312
3547
|
export type MutationSetupOrganizationArgs = {
|
|
3313
|
-
organizationSetupData:
|
|
3548
|
+
organizationSetupData: NewOrganizationInput;
|
|
3314
3549
|
};
|
|
3315
3550
|
|
|
3316
3551
|
|
|
@@ -3432,6 +3667,7 @@ export type NewBusinessEntityInput = {
|
|
|
3432
3667
|
contact?: InputMaybe<NewContactInput>;
|
|
3433
3668
|
creditTerms?: InputMaybe<Scalars['String']>;
|
|
3434
3669
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
3670
|
+
defaultReferenceNumbers?: InputMaybe<Array<DefaultReferenceNumberInput>>;
|
|
3435
3671
|
defaultShipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
3436
3672
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
3437
3673
|
dotNumber?: InputMaybe<Scalars['String']>;
|
|
@@ -3449,6 +3685,7 @@ export type NewBusinessEntityInput = {
|
|
|
3449
3685
|
/** Remit company name for the business entity */
|
|
3450
3686
|
remitCompanyName?: InputMaybe<Scalars['String']>;
|
|
3451
3687
|
remitEmail?: InputMaybe<Scalars['String']>;
|
|
3688
|
+
shipmentDocumentsToReceive?: InputMaybe<Array<Scalars['String']>>;
|
|
3452
3689
|
standardCarrierAlphaCode?: InputMaybe<Scalars['String']>;
|
|
3453
3690
|
status?: InputMaybe<AssetStatus>;
|
|
3454
3691
|
storageFacilities?: InputMaybe<Array<StorageFacilityInput>>;
|
|
@@ -3468,6 +3705,7 @@ export type NewBusinessEntityInputWithType = {
|
|
|
3468
3705
|
contact?: InputMaybe<NewContactInput>;
|
|
3469
3706
|
creditTerms?: InputMaybe<Scalars['String']>;
|
|
3470
3707
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
3708
|
+
defaultReferenceNumbers?: InputMaybe<Array<DefaultReferenceNumberInput>>;
|
|
3471
3709
|
defaultShipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
3472
3710
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
3473
3711
|
dotNumber?: InputMaybe<Scalars['String']>;
|
|
@@ -3485,6 +3723,7 @@ export type NewBusinessEntityInputWithType = {
|
|
|
3485
3723
|
/** Remit company name for the business entity */
|
|
3486
3724
|
remitCompanyName?: InputMaybe<Scalars['String']>;
|
|
3487
3725
|
remitEmail?: InputMaybe<Scalars['String']>;
|
|
3726
|
+
shipmentDocumentsToReceive?: InputMaybe<Array<Scalars['String']>>;
|
|
3488
3727
|
standardCarrierAlphaCode?: InputMaybe<Scalars['String']>;
|
|
3489
3728
|
status?: InputMaybe<AssetStatus>;
|
|
3490
3729
|
storageFacilities?: InputMaybe<Array<StorageFacilityInput>>;
|
|
@@ -3554,11 +3793,21 @@ export type NewDriverInput = {
|
|
|
3554
3793
|
username?: InputMaybe<Scalars['String']>;
|
|
3555
3794
|
};
|
|
3556
3795
|
|
|
3796
|
+
export type NewDriverShiftAssignmentInput = {
|
|
3797
|
+
driverId: Scalars['ObjectId'];
|
|
3798
|
+
driverShiftId: Scalars['ObjectId'];
|
|
3799
|
+
endDate?: InputMaybe<Scalars['DateTime']>;
|
|
3800
|
+
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
3801
|
+
};
|
|
3802
|
+
|
|
3557
3803
|
export type NewDriverShiftInput = {
|
|
3558
3804
|
days: Array<Scalars['Int']>;
|
|
3559
3805
|
domicileId?: InputMaybe<Scalars['ObjectId']>;
|
|
3560
3806
|
driverIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3561
3807
|
endTime: TimeInput;
|
|
3808
|
+
/** Ad hoc driver shifts are one time shifts that have been assigned directly from the planning tool */
|
|
3809
|
+
isAdhoc?: InputMaybe<Scalars['Boolean']>;
|
|
3810
|
+
label?: InputMaybe<Scalars['String']>;
|
|
3562
3811
|
startTime: TimeInput;
|
|
3563
3812
|
};
|
|
3564
3813
|
|
|
@@ -3613,6 +3862,21 @@ export type NewOrgUserInput = {
|
|
|
3613
3862
|
username: Scalars['String'];
|
|
3614
3863
|
};
|
|
3615
3864
|
|
|
3865
|
+
export type NewOrganizationDocumentInput = {
|
|
3866
|
+
_id?: InputMaybe<Scalars['String']>;
|
|
3867
|
+
name: Scalars['String'];
|
|
3868
|
+
url?: InputMaybe<Scalars['String']>;
|
|
3869
|
+
};
|
|
3870
|
+
|
|
3871
|
+
export type NewOrganizationInput = {
|
|
3872
|
+
address?: InputMaybe<Scalars['String']>;
|
|
3873
|
+
contactFullname?: InputMaybe<Scalars['String']>;
|
|
3874
|
+
dotNumber: Scalars['String'];
|
|
3875
|
+
email?: InputMaybe<Scalars['Email']>;
|
|
3876
|
+
name: Scalars['String'];
|
|
3877
|
+
phoneNumber?: InputMaybe<Scalars['String']>;
|
|
3878
|
+
};
|
|
3879
|
+
|
|
3616
3880
|
export type NewPaymentRuleInput = {
|
|
3617
3881
|
amount: Scalars['Float'];
|
|
3618
3882
|
driver?: InputMaybe<Scalars['String']>;
|
|
@@ -3722,6 +3986,7 @@ export type NewTextualAddressInput = {
|
|
|
3722
3986
|
|
|
3723
3987
|
export type NewTractorInput = {
|
|
3724
3988
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
3989
|
+
documents?: InputMaybe<Array<DocumentInput>>;
|
|
3725
3990
|
domicile?: InputMaybe<NewAddressInput>;
|
|
3726
3991
|
eldId?: InputMaybe<Scalars['String']>;
|
|
3727
3992
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
@@ -3746,6 +4011,7 @@ export type NewTrailerEventInput = {
|
|
|
3746
4011
|
export type NewTrailerInput = {
|
|
3747
4012
|
compartments?: InputMaybe<Array<TrailerCompartmentInput>>;
|
|
3748
4013
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
4014
|
+
documents?: InputMaybe<Array<DocumentInput>>;
|
|
3749
4015
|
domicile?: InputMaybe<NewAddressInput>;
|
|
3750
4016
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3751
4017
|
height?: InputMaybe<Scalars['Float']>;
|
|
@@ -3902,12 +4168,44 @@ export type OrgUserUpdateInput = {
|
|
|
3902
4168
|
username?: InputMaybe<Scalars['String']>;
|
|
3903
4169
|
};
|
|
3904
4170
|
|
|
4171
|
+
export type Organization = {
|
|
4172
|
+
__typename?: 'Organization';
|
|
4173
|
+
_id?: Maybe<Scalars['String']>;
|
|
4174
|
+
address?: Maybe<Scalars['String']>;
|
|
4175
|
+
/** @deprecated Use company fields directly */
|
|
4176
|
+
attributes: KeycloakOrganizationAttributes;
|
|
4177
|
+
contactFullname?: Maybe<Scalars['String']>;
|
|
4178
|
+
/** @deprecated This field is the same as name */
|
|
4179
|
+
displayName: Scalars['String'];
|
|
4180
|
+
dotNumber: Scalars['String'];
|
|
4181
|
+
email?: Maybe<Scalars['Email']>;
|
|
4182
|
+
/** @deprecated Use _id instead */
|
|
4183
|
+
id?: Maybe<Scalars['String']>;
|
|
4184
|
+
name: Scalars['String'];
|
|
4185
|
+
phoneNumber?: Maybe<Scalars['String']>;
|
|
4186
|
+
/** @deprecated This field should not be used by any client. The realm is the same accross all orgs */
|
|
4187
|
+
realm: Scalars['String'];
|
|
4188
|
+
};
|
|
4189
|
+
|
|
4190
|
+
export type OrganizationDocument = {
|
|
4191
|
+
__typename?: 'OrganizationDocument';
|
|
4192
|
+
_id?: Maybe<Scalars['String']>;
|
|
4193
|
+
name: Scalars['String'];
|
|
4194
|
+
url?: Maybe<Scalars['String']>;
|
|
4195
|
+
};
|
|
4196
|
+
|
|
4197
|
+
export type OrganizationDocumentUpdateInput = {
|
|
4198
|
+
name?: InputMaybe<Scalars['String']>;
|
|
4199
|
+
url?: InputMaybe<Scalars['String']>;
|
|
4200
|
+
};
|
|
4201
|
+
|
|
3905
4202
|
export type OrganizationSettings = {
|
|
3906
4203
|
__typename?: 'OrganizationSettings';
|
|
3907
4204
|
_id?: Maybe<Scalars['String']>;
|
|
3908
4205
|
dispatching?: Maybe<DispatchingSettings>;
|
|
3909
4206
|
general?: Maybe<GeneralSettings>;
|
|
3910
4207
|
invoicing?: Maybe<InvoicingSettings>;
|
|
4208
|
+
name?: Maybe<Scalars['String']>;
|
|
3911
4209
|
ratecon?: Maybe<RateconSettings>;
|
|
3912
4210
|
transactionTemplates?: Maybe<Array<TransactionInputObject>>;
|
|
3913
4211
|
};
|
|
@@ -3917,13 +4215,18 @@ export type OrganizationSettingsInput = {
|
|
|
3917
4215
|
dispatching?: InputMaybe<DispatchingSettingsInput>;
|
|
3918
4216
|
general?: InputMaybe<GeneralSettingsInput>;
|
|
3919
4217
|
invoicing?: InputMaybe<InvoicingSettingsInput>;
|
|
4218
|
+
name?: InputMaybe<Scalars['String']>;
|
|
3920
4219
|
ratecon?: InputMaybe<RateconSettingsInput>;
|
|
3921
4220
|
transactionTemplates?: InputMaybe<Array<TransactionInput>>;
|
|
3922
4221
|
};
|
|
3923
4222
|
|
|
3924
|
-
export type
|
|
3925
|
-
|
|
3926
|
-
|
|
4223
|
+
export type OrganizationUpdateInput = {
|
|
4224
|
+
address?: InputMaybe<Scalars['String']>;
|
|
4225
|
+
contactFullname?: InputMaybe<Scalars['String']>;
|
|
4226
|
+
dotNumber?: InputMaybe<Scalars['String']>;
|
|
4227
|
+
email?: InputMaybe<Scalars['Email']>;
|
|
4228
|
+
name?: InputMaybe<Scalars['String']>;
|
|
4229
|
+
phoneNumber?: InputMaybe<Scalars['String']>;
|
|
3927
4230
|
};
|
|
3928
4231
|
|
|
3929
4232
|
export type PartialShipment = {
|
|
@@ -4181,6 +4484,7 @@ export type Query = {
|
|
|
4181
4484
|
customerById: Customer;
|
|
4182
4485
|
customerOrderById: Order;
|
|
4183
4486
|
customerOrders: OrderPaginatedResult;
|
|
4487
|
+
customerShipments: ShipmentPaginatedResult;
|
|
4184
4488
|
customers: CustomerPaginatedResult;
|
|
4185
4489
|
cutomFieldDefinitions: CustomFieldDefinitionPaginatedResult;
|
|
4186
4490
|
deductionRuleById: DeductionRule;
|
|
@@ -4191,6 +4495,9 @@ export type Query = {
|
|
|
4191
4495
|
driverSettlementById?: Maybe<DriverSettlement>;
|
|
4192
4496
|
driverSettlementByNumber: DriverSettlement;
|
|
4193
4497
|
driverSettlements: DriverSettlementPaginatedResult;
|
|
4498
|
+
driverShiftAssignmentByDriverId?: Maybe<DriverShiftAssignment>;
|
|
4499
|
+
driverShiftAssignmentById?: Maybe<DriverShiftAssignment>;
|
|
4500
|
+
driverShiftAssignments: DriverShiftAssignmentPaginatedResult;
|
|
4194
4501
|
driverShiftByDriverId?: Maybe<DriverShift>;
|
|
4195
4502
|
driverShiftById?: Maybe<DriverShift>;
|
|
4196
4503
|
driverShifts: DriverShiftPaginatedResult;
|
|
@@ -4200,6 +4507,7 @@ export type Query = {
|
|
|
4200
4507
|
extensionsCustomFields: Array<ExtensionCustomFieldWithExtensionId>;
|
|
4201
4508
|
extensionsMessages: Array<ExtensionMessage>;
|
|
4202
4509
|
extensionsOperations: Array<ExtensionOperationWithExtensionId>;
|
|
4510
|
+
extensionsWidgets: Array<ExtensionWidgetWithExtensionInfo>;
|
|
4203
4511
|
forecastingNotifications: Array<ForecastingNotification>;
|
|
4204
4512
|
goodProfileById: GoodProfile;
|
|
4205
4513
|
goodProfiles: GoodProfilePaginatedResult;
|
|
@@ -4216,8 +4524,9 @@ export type Query = {
|
|
|
4216
4524
|
maintenanceTaskById?: Maybe<MaintenanceTask>;
|
|
4217
4525
|
maintenanceTasks: MaintenanceTaskPaginatedResult;
|
|
4218
4526
|
metrics: Array<Metric>;
|
|
4527
|
+
myDocuments: Array<OrganizationDocument>;
|
|
4219
4528
|
myDriverSettlements: MyDriverSettlementPaginatedResult;
|
|
4220
|
-
myOrganization:
|
|
4529
|
+
myOrganization: Organization;
|
|
4221
4530
|
orderById: Order;
|
|
4222
4531
|
orders: OrderPaginatedResult;
|
|
4223
4532
|
orgUserById: OrgUser;
|
|
@@ -4405,6 +4714,16 @@ export type QueryCustomerOrdersArgs = {
|
|
|
4405
4714
|
};
|
|
4406
4715
|
|
|
4407
4716
|
|
|
4717
|
+
export type QueryCustomerShipmentsArgs = {
|
|
4718
|
+
filter?: InputMaybe<Scalars['JSON']>;
|
|
4719
|
+
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
4720
|
+
search?: InputMaybe<Scalars['String']>;
|
|
4721
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
4722
|
+
status?: InputMaybe<Status>;
|
|
4723
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
4724
|
+
};
|
|
4725
|
+
|
|
4726
|
+
|
|
4408
4727
|
export type QueryCustomersArgs = {
|
|
4409
4728
|
filter?: InputMaybe<Scalars['JSON']>;
|
|
4410
4729
|
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
@@ -4474,6 +4793,25 @@ export type QueryDriverSettlementsArgs = {
|
|
|
4474
4793
|
};
|
|
4475
4794
|
|
|
4476
4795
|
|
|
4796
|
+
export type QueryDriverShiftAssignmentByDriverIdArgs = {
|
|
4797
|
+
driverId: Scalars['ObjectId'];
|
|
4798
|
+
};
|
|
4799
|
+
|
|
4800
|
+
|
|
4801
|
+
export type QueryDriverShiftAssignmentByIdArgs = {
|
|
4802
|
+
id: Scalars['String'];
|
|
4803
|
+
};
|
|
4804
|
+
|
|
4805
|
+
|
|
4806
|
+
export type QueryDriverShiftAssignmentsArgs = {
|
|
4807
|
+
filter?: InputMaybe<Scalars['JSON']>;
|
|
4808
|
+
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
4809
|
+
search?: InputMaybe<Scalars['String']>;
|
|
4810
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
4811
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
4812
|
+
};
|
|
4813
|
+
|
|
4814
|
+
|
|
4477
4815
|
export type QueryDriverShiftByDriverIdArgs = {
|
|
4478
4816
|
driverId: Scalars['ObjectId'];
|
|
4479
4817
|
};
|
|
@@ -4527,6 +4865,11 @@ export type QueryExtensionsOperationsArgs = {
|
|
|
4527
4865
|
};
|
|
4528
4866
|
|
|
4529
4867
|
|
|
4868
|
+
export type QueryExtensionsWidgetsArgs = {
|
|
4869
|
+
context: ExtensionWidgetContext;
|
|
4870
|
+
};
|
|
4871
|
+
|
|
4872
|
+
|
|
4530
4873
|
export type QueryForecastingNotificationsArgs = {
|
|
4531
4874
|
receiverId?: InputMaybe<Scalars['ObjectId']>;
|
|
4532
4875
|
};
|
|
@@ -4657,6 +5000,7 @@ export type QueryOrgUserByIdArgs = {
|
|
|
4657
5000
|
|
|
4658
5001
|
|
|
4659
5002
|
export type QueryOrgUsersArgs = {
|
|
5003
|
+
enabled?: InputMaybe<Scalars['Boolean']>;
|
|
4660
5004
|
filter?: InputMaybe<Scalars['JSON']>;
|
|
4661
5005
|
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
4662
5006
|
roles?: InputMaybe<Array<Scalars['String']>>;
|
|
@@ -4958,8 +5302,11 @@ export type QueryTripsArgs = {
|
|
|
4958
5302
|
export type RateconSettings = {
|
|
4959
5303
|
__typename?: 'RateconSettings';
|
|
4960
5304
|
bodyTemplate?: Maybe<Scalars['String']>;
|
|
5305
|
+
/** @deprecated Use Organization.address instead */
|
|
4961
5306
|
companyAddress?: Maybe<Scalars['String']>;
|
|
5307
|
+
/** @deprecated Use Organization.email instead */
|
|
4962
5308
|
companyEmail?: Maybe<Scalars['String']>;
|
|
5309
|
+
/** @deprecated Use Organization.phoneNumber instead */
|
|
4963
5310
|
companyPhone?: Maybe<Scalars['String']>;
|
|
4964
5311
|
subjectTemplate?: Maybe<Scalars['String']>;
|
|
4965
5312
|
termsAndConditions?: Maybe<Scalars['String']>;
|
|
@@ -5064,6 +5411,7 @@ export type Receiver = {
|
|
|
5064
5411
|
creditTerms?: Maybe<Scalars['String']>;
|
|
5065
5412
|
/** Custom fields for the business entity */
|
|
5066
5413
|
customFields?: Maybe<Array<CustomField>>;
|
|
5414
|
+
defaultReferenceNumbers?: Maybe<Array<DefaultReferenceNumber>>;
|
|
5067
5415
|
/** The default shipper for this business entity */
|
|
5068
5416
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
5069
5417
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
@@ -5101,6 +5449,8 @@ export type Receiver = {
|
|
|
5101
5449
|
remitCompanyName?: Maybe<Scalars['String']>;
|
|
5102
5450
|
/** Remit email for the business entity */
|
|
5103
5451
|
remitEmail?: Maybe<Scalars['String']>;
|
|
5452
|
+
/** Shipmentp documents to receive via email on completion */
|
|
5453
|
+
shipmentDocumentsToReceive?: Maybe<Array<Scalars['String']>>;
|
|
5104
5454
|
/** SCAC code for carriers */
|
|
5105
5455
|
standardCarrierAlphaCode?: Maybe<Scalars['String']>;
|
|
5106
5456
|
status: AssetStatus;
|
|
@@ -5172,6 +5522,11 @@ export type RelationshipUpdateInput = {
|
|
|
5172
5522
|
supplierIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
5173
5523
|
};
|
|
5174
5524
|
|
|
5525
|
+
export type RemoveShipmentFromTripResult = {
|
|
5526
|
+
__typename?: 'RemoveShipmentFromTripResult';
|
|
5527
|
+
trip?: Maybe<Trip>;
|
|
5528
|
+
};
|
|
5529
|
+
|
|
5175
5530
|
export type ReportData = {
|
|
5176
5531
|
__typename?: 'ReportData';
|
|
5177
5532
|
data: Array<ReportItem>;
|
|
@@ -5220,6 +5575,38 @@ export enum S3_Operation {
|
|
|
5220
5575
|
PutObject = 'putObject'
|
|
5221
5576
|
}
|
|
5222
5577
|
|
|
5578
|
+
export type SaveTripInput = {
|
|
5579
|
+
additionalTrailers?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
5580
|
+
carrier?: InputMaybe<Scalars['ObjectId']>;
|
|
5581
|
+
chassis?: InputMaybe<Scalars['ObjectId']>;
|
|
5582
|
+
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
5583
|
+
deadheadDistance?: InputMaybe<Scalars['Float']>;
|
|
5584
|
+
distanceToEnd: Scalars['Float'];
|
|
5585
|
+
distanceToStart: Scalars['Float'];
|
|
5586
|
+
driver?: InputMaybe<Scalars['ObjectId']>;
|
|
5587
|
+
etaFromPreviousTrip?: InputMaybe<Scalars['Float']>;
|
|
5588
|
+
etaToNextTrip?: InputMaybe<Scalars['Float']>;
|
|
5589
|
+
firstPickupTime?: InputMaybe<Scalars['DateTime']>;
|
|
5590
|
+
lastDropoffTime?: InputMaybe<Scalars['DateTime']>;
|
|
5591
|
+
lastTrafficCheck?: InputMaybe<Scalars['DateTime']>;
|
|
5592
|
+
lastTrailerLocation?: InputMaybe<CoordinatesInput>;
|
|
5593
|
+
lastTrailerLocationDate?: InputMaybe<Scalars['DateTime']>;
|
|
5594
|
+
lastWeatherCheck?: InputMaybe<Scalars['DateTime']>;
|
|
5595
|
+
loadedDistance?: InputMaybe<Scalars['Float']>;
|
|
5596
|
+
polyline: Scalars['String'];
|
|
5597
|
+
predictedLoadedDistance?: InputMaybe<Scalars['Float']>;
|
|
5598
|
+
routeDistance: Scalars['Float'];
|
|
5599
|
+
shipmentLocations: Array<TripShipmentLocationInput>;
|
|
5600
|
+
shipments?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
5601
|
+
status: Status;
|
|
5602
|
+
tags?: InputMaybe<Array<Scalars['String']>>;
|
|
5603
|
+
totalDistance?: InputMaybe<Scalars['Float']>;
|
|
5604
|
+
tractor?: InputMaybe<Scalars['ObjectId']>;
|
|
5605
|
+
trailer?: InputMaybe<Scalars['ObjectId']>;
|
|
5606
|
+
trailerCompartmentAssignments?: InputMaybe<Array<TrailerCompartmentAssignmentInput>>;
|
|
5607
|
+
violations?: InputMaybe<Array<TripViolationInput>>;
|
|
5608
|
+
};
|
|
5609
|
+
|
|
5223
5610
|
export type SendRateconResult = {
|
|
5224
5611
|
__typename?: 'SendRateconResult';
|
|
5225
5612
|
success: Scalars['Boolean'];
|
|
@@ -5576,6 +5963,13 @@ export type ShipmentEventUpdatedEventPayload = {
|
|
|
5576
5963
|
shipment: Shipment;
|
|
5577
5964
|
};
|
|
5578
5965
|
|
|
5966
|
+
export type ShipmentGoodPinCodeUpdatedEvent = {
|
|
5967
|
+
__typename?: 'ShipmentGoodPinCodeUpdatedEvent';
|
|
5968
|
+
name: Events;
|
|
5969
|
+
organizationId?: Maybe<Scalars['String']>;
|
|
5970
|
+
payload: ShipmentGoodPinCodeUpdatedPayload;
|
|
5971
|
+
};
|
|
5972
|
+
|
|
5579
5973
|
export type ShipmentGoodPinCodeUpdatedPayload = {
|
|
5580
5974
|
__typename?: 'ShipmentGoodPinCodeUpdatedPayload';
|
|
5581
5975
|
goodId: Scalars['String'];
|
|
@@ -5820,6 +6214,8 @@ export type ShipmentTrip = {
|
|
|
5820
6214
|
carrier?: Maybe<Scalars['String']>;
|
|
5821
6215
|
carrierEntity?: Maybe<Carrier>;
|
|
5822
6216
|
deadheadDistance?: Maybe<Scalars['Float']>;
|
|
6217
|
+
distanceToEnd: Scalars['Float'];
|
|
6218
|
+
distanceToStart: Scalars['Float'];
|
|
5823
6219
|
driver?: Maybe<Scalars['String']>;
|
|
5824
6220
|
driverEntity?: Maybe<Driver>;
|
|
5825
6221
|
etaFromPreviousTrip?: Maybe<Scalars['Float']>;
|
|
@@ -5912,6 +6308,7 @@ export type Shipper = {
|
|
|
5912
6308
|
creditTerms?: Maybe<Scalars['String']>;
|
|
5913
6309
|
/** Custom fields for the business entity */
|
|
5914
6310
|
customFields?: Maybe<Array<CustomField>>;
|
|
6311
|
+
defaultReferenceNumbers?: Maybe<Array<DefaultReferenceNumber>>;
|
|
5915
6312
|
/** The default shipper for this business entity */
|
|
5916
6313
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
5917
6314
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
@@ -5949,6 +6346,8 @@ export type Shipper = {
|
|
|
5949
6346
|
remitCompanyName?: Maybe<Scalars['String']>;
|
|
5950
6347
|
/** Remit email for the business entity */
|
|
5951
6348
|
remitEmail?: Maybe<Scalars['String']>;
|
|
6349
|
+
/** Shipmentp documents to receive via email on completion */
|
|
6350
|
+
shipmentDocumentsToReceive?: Maybe<Array<Scalars['String']>>;
|
|
5952
6351
|
/** SCAC code for carriers */
|
|
5953
6352
|
standardCarrierAlphaCode?: Maybe<Scalars['String']>;
|
|
5954
6353
|
status: AssetStatus;
|
|
@@ -6314,6 +6713,7 @@ export type Tractor = {
|
|
|
6314
6713
|
_id: Scalars['String'];
|
|
6315
6714
|
currentDriverEldId?: Maybe<Scalars['String']>;
|
|
6316
6715
|
customFields?: Maybe<Array<CustomField>>;
|
|
6716
|
+
documents?: Maybe<Array<Document>>;
|
|
6317
6717
|
domicile?: Maybe<Address>;
|
|
6318
6718
|
eldId?: Maybe<Scalars['String']>;
|
|
6319
6719
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
@@ -6376,6 +6776,7 @@ export type TractorPositionUpdatedEventPayload = {
|
|
|
6376
6776
|
|
|
6377
6777
|
export type TractorUpdateInput = {
|
|
6378
6778
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
6779
|
+
documents?: InputMaybe<Array<DocumentInput>>;
|
|
6379
6780
|
domicile?: InputMaybe<NewAddressInput>;
|
|
6380
6781
|
eldId?: InputMaybe<Scalars['String']>;
|
|
6381
6782
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
@@ -6397,6 +6798,7 @@ export type Trailer = {
|
|
|
6397
6798
|
_id: Scalars['String'];
|
|
6398
6799
|
compartments?: Maybe<Array<TrailerCompartment>>;
|
|
6399
6800
|
customFields?: Maybe<Array<CustomField>>;
|
|
6801
|
+
documents?: Maybe<Array<Document>>;
|
|
6400
6802
|
domicile?: Maybe<Address>;
|
|
6401
6803
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
6402
6804
|
height?: Maybe<Scalars['Float']>;
|
|
@@ -6547,6 +6949,7 @@ export enum TrailerType {
|
|
|
6547
6949
|
export type TrailerUpdateInput = {
|
|
6548
6950
|
compartments?: InputMaybe<Array<TrailerCompartmentInput>>;
|
|
6549
6951
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
6952
|
+
documents?: InputMaybe<Array<DocumentInput>>;
|
|
6550
6953
|
domicile?: InputMaybe<NewAddressInput>;
|
|
6551
6954
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
6552
6955
|
height?: InputMaybe<Scalars['Float']>;
|
|
@@ -6737,6 +7140,11 @@ export type TripCreatedEventPayload = {
|
|
|
6737
7140
|
trip: Trip;
|
|
6738
7141
|
};
|
|
6739
7142
|
|
|
7143
|
+
export type TripDistancesCalculatedEventPayload = {
|
|
7144
|
+
__typename?: 'TripDistancesCalculatedEventPayload';
|
|
7145
|
+
tripId: Scalars['ObjectId'];
|
|
7146
|
+
};
|
|
7147
|
+
|
|
6740
7148
|
/** TripDriverPosition entity */
|
|
6741
7149
|
export type TripDriverPosition = {
|
|
6742
7150
|
__typename?: 'TripDriverPosition';
|
|
@@ -6833,6 +7241,30 @@ export type TripShipmentLocation = {
|
|
|
6833
7241
|
weatherInfo?: Maybe<LocationWeather>;
|
|
6834
7242
|
};
|
|
6835
7243
|
|
|
7244
|
+
/** Trip shipment location entity */
|
|
7245
|
+
export type TripShipmentLocationInput = {
|
|
7246
|
+
_id?: InputMaybe<Scalars['String']>;
|
|
7247
|
+
addressLabel?: InputMaybe<Scalars['String']>;
|
|
7248
|
+
addressTimezone?: InputMaybe<Scalars['String']>;
|
|
7249
|
+
arrivalTime: Scalars['DateTime'];
|
|
7250
|
+
distanceTo?: InputMaybe<Scalars['Float']>;
|
|
7251
|
+
location: CoordinatesInput;
|
|
7252
|
+
locationType: ShipmentLocationType;
|
|
7253
|
+
name?: InputMaybe<Scalars['String']>;
|
|
7254
|
+
receivedGoods: Array<GoodDistributionInput>;
|
|
7255
|
+
receiver?: InputMaybe<Scalars['String']>;
|
|
7256
|
+
rotationIndex?: InputMaybe<Scalars['Float']>;
|
|
7257
|
+
serviceDuration: Scalars['Float'];
|
|
7258
|
+
setupDuration: Scalars['Float'];
|
|
7259
|
+
shipmentId?: InputMaybe<Scalars['String']>;
|
|
7260
|
+
shippedGoods: Array<GoodInput>;
|
|
7261
|
+
shipper?: InputMaybe<Scalars['String']>;
|
|
7262
|
+
timeWindows: Array<DateTimeWindowInput>;
|
|
7263
|
+
/** This is the ID of the shipment location as defined in the trip */
|
|
7264
|
+
tripShipmentLocationId: Scalars['String'];
|
|
7265
|
+
waitingDuration: Scalars['Float'];
|
|
7266
|
+
};
|
|
7267
|
+
|
|
6836
7268
|
export type TripSort = {
|
|
6837
7269
|
criteria: TripSortCriteria;
|
|
6838
7270
|
desc?: InputMaybe<Scalars['Boolean']>;
|
|
@@ -6926,6 +7358,13 @@ export type UserAttributesInput = {
|
|
|
6926
7358
|
trialDays?: InputMaybe<Scalars['String']>;
|
|
6927
7359
|
};
|
|
6928
7360
|
|
|
7361
|
+
export type UserStatusUpdatedEvent = {
|
|
7362
|
+
__typename?: 'UserStatusUpdatedEvent';
|
|
7363
|
+
name: Events;
|
|
7364
|
+
organizationId: Scalars['String'];
|
|
7365
|
+
payload: UserStatusUpdatedEventPayload;
|
|
7366
|
+
};
|
|
7367
|
+
|
|
6929
7368
|
export type UserStatusUpdatedEventPayload = {
|
|
6930
7369
|
__typename?: 'UserStatusUpdatedEventPayload';
|
|
6931
7370
|
enabled: Scalars['Boolean'];
|
|
@@ -6971,14 +7410,14 @@ export type GetBusinessEntityListQueryVariables = Exact<{
|
|
|
6971
7410
|
}>;
|
|
6972
7411
|
|
|
6973
7412
|
|
|
6974
|
-
export type GetBusinessEntityListQuery = { __typename?: 'Query', businessEntities: { __typename?: 'BusinessEntityPaginatedResult', count: number, data: Array<{ __typename?: 'BusinessEntity', _id: string, code?: string | null, mcNumber?: string | null, name: string, type: BusinessEntityType, additionalTypes?: Array<BusinessEntityType> | null, address: { __typename?: 'Address', label: string }, contact: { __typename?: 'Contact', firstname: string, lastname: string, email?: string | null, phoneNumber: string } }> } };
|
|
7413
|
+
export type GetBusinessEntityListQuery = { __typename?: 'Query', businessEntities: { __typename?: 'BusinessEntityPaginatedResult', count: number, data: Array<{ __typename?: 'BusinessEntity', _id: string, code?: string | null, mcNumber?: string | null, name: string, type: BusinessEntityType, additionalTypes?: Array<BusinessEntityType> | null, address: { __typename?: 'Address', label: string }, contact: { __typename?: 'Contact', firstname: string, lastname: string, email?: string | null, phoneNumber: string }, storageFacilities?: Array<{ __typename?: 'StorageFacility', identifier: string, capacity: number, unit: StorageFacilityUnit, commodityId: any, safeFillLevel?: number | null, shutDownLevel?: number | null }> | null }> } };
|
|
6975
7414
|
|
|
6976
7415
|
export type GetBusinessEntityDetailsQueryVariables = Exact<{
|
|
6977
7416
|
id: Scalars['String'];
|
|
6978
7417
|
}>;
|
|
6979
7418
|
|
|
6980
7419
|
|
|
6981
|
-
export type GetBusinessEntityDetailsQuery = { __typename?: 'Query', businessEntityById: { __typename?: 'BusinessEntity', _id: string, name: string, code?: string | null, mcNumber?: string | null, additionalTypes?: Array<BusinessEntityType> | null, addressTimezone?: string | null, billingEmail?: string | null, billingTermsDay?: number | null, remitEmail?: string | null, type: BusinessEntityType, address: { __typename?: 'Address', label: string, city?: string | null, country?: string | null, googlePlaceId?: string | null, line1?: string | null, line2?: string | null, postalCode?: string | null, state?: string | null, coordinates: { __typename?: 'Coordinates', latitude: number, longitude: number } }, billingAddress?: { __typename?: 'TextualAddress', city?: string | null, country?: string | null, googlePlaceId?: string | null, line1?: string | null, line2?: string | null, postalCode?: string | null, state?: string | null } | null, remitAddress?: { __typename?: 'TextualAddress', city?: string | null, country?: string | null, googlePlaceId?: string | null, line1?: string | null, line2?: string | null, postalCode?: string | null, state?: string | null } | null, contact: { __typename?: 'Contact', email?: string | null, firstname: string, lastname: string, phoneNumber: string }, openingSchedules?: Array<{ __typename?: 'OpeningSchedule', openingTime: string, closingTime: string, days: Array<number> }> | null, additionalContacts?: Array<{ __typename?: 'Contact', firstname: string, lastname: string, email?: string | null, phoneNumber: string }> | null, goodInventoryItems?: Array<{ __typename?: 'GoodInventoryItem', _id?: string | null, label: string, weight?: number | null }> | null } };
|
|
7420
|
+
export type GetBusinessEntityDetailsQuery = { __typename?: 'Query', businessEntityById: { __typename?: 'BusinessEntity', _id: string, name: string, code?: string | null, mcNumber?: string | null, additionalTypes?: Array<BusinessEntityType> | null, addressTimezone?: string | null, billingEmail?: string | null, billingTermsDay?: number | null, remitEmail?: string | null, type: BusinessEntityType, address: { __typename?: 'Address', label: string, city?: string | null, country?: string | null, googlePlaceId?: string | null, line1?: string | null, line2?: string | null, postalCode?: string | null, state?: string | null, coordinates: { __typename?: 'Coordinates', latitude: number, longitude: number } }, billingAddress?: { __typename?: 'TextualAddress', city?: string | null, country?: string | null, googlePlaceId?: string | null, line1?: string | null, line2?: string | null, postalCode?: string | null, state?: string | null } | null, remitAddress?: { __typename?: 'TextualAddress', city?: string | null, country?: string | null, googlePlaceId?: string | null, line1?: string | null, line2?: string | null, postalCode?: string | null, state?: string | null } | null, contact: { __typename?: 'Contact', email?: string | null, firstname: string, lastname: string, phoneNumber: string }, openingSchedules?: Array<{ __typename?: 'OpeningSchedule', openingTime: string, closingTime: string, days: Array<number> }> | null, additionalContacts?: Array<{ __typename?: 'Contact', firstname: string, lastname: string, email?: string | null, phoneNumber: string }> | null, goodInventoryItems?: Array<{ __typename?: 'GoodInventoryItem', _id?: string | null, label: string, weight?: number | null }> | null, storageFacilities?: Array<{ __typename?: 'StorageFacility', identifier: string, capacity: number, unit: StorageFacilityUnit, commodityId: any, safeFillLevel?: number | null, shutDownLevel?: number | null, commodity?: { __typename?: 'GoodProfile', _id: string, label: string, unit: GoodUnits, weight: number } | null }> | null } };
|
|
6982
7421
|
|
|
6983
7422
|
export type GetBusinessEntityDetailsByExternalIdQueryVariables = Exact<{
|
|
6984
7423
|
externalId: Scalars['String'];
|
|
@@ -7087,7 +7526,21 @@ export type UpdateInvoiceStatusMutation = { __typename?: 'Mutation', updateInvoi
|
|
|
7087
7526
|
export type GetMyOrganizationQueryVariables = Exact<{ [key: string]: never; }>;
|
|
7088
7527
|
|
|
7089
7528
|
|
|
7090
|
-
export type GetMyOrganizationQuery = { __typename?: 'Query', myOrganization: { __typename?: '
|
|
7529
|
+
export type GetMyOrganizationQuery = { __typename?: 'Query', myOrganization: { __typename?: 'Organization', id?: string | null, displayName: string, name: string, realm: string, attributes: { __typename?: 'KeycloakOrganizationAttributes', chargebeeCustomerId?: string | null, dotNumber?: string | null } } };
|
|
7530
|
+
|
|
7531
|
+
export type AddStorageFacilityReadingMutationVariables = Exact<{
|
|
7532
|
+
newStorageFacilityReadingData: NewStorageFacilityReadingInput;
|
|
7533
|
+
}>;
|
|
7534
|
+
|
|
7535
|
+
|
|
7536
|
+
export type AddStorageFacilityReadingMutation = { __typename?: 'Mutation', addStorageFacilityReading: { __typename?: 'StorageFacilityReading', _id: string } };
|
|
7537
|
+
|
|
7538
|
+
export type GetReceiverReadingsQueryVariables = Exact<{
|
|
7539
|
+
receiverId: Scalars['ObjectId'];
|
|
7540
|
+
}>;
|
|
7541
|
+
|
|
7542
|
+
|
|
7543
|
+
export type GetReceiverReadingsQuery = { __typename?: 'Query', storageFacilityReadings: { __typename?: 'StorageFacilityReadingPaginatedResult', data: Array<{ __typename?: 'StorageFacilityReading', _id: string, storageFacilityId: string, date: any, level: number }> } };
|
|
7091
7544
|
|
|
7092
7545
|
export type GetTractorByEldIdQueryVariables = Exact<{
|
|
7093
7546
|
eldId: Scalars['String'];
|
|
@@ -7223,6 +7676,14 @@ export const GetBusinessEntityListDocument = gql`
|
|
|
7223
7676
|
name
|
|
7224
7677
|
type
|
|
7225
7678
|
additionalTypes
|
|
7679
|
+
storageFacilities {
|
|
7680
|
+
identifier
|
|
7681
|
+
capacity
|
|
7682
|
+
unit
|
|
7683
|
+
commodityId
|
|
7684
|
+
safeFillLevel
|
|
7685
|
+
shutDownLevel
|
|
7686
|
+
}
|
|
7226
7687
|
}
|
|
7227
7688
|
count
|
|
7228
7689
|
}
|
|
@@ -7295,6 +7756,20 @@ export const GetBusinessEntityDetailsDocument = gql`
|
|
|
7295
7756
|
weight
|
|
7296
7757
|
}
|
|
7297
7758
|
type
|
|
7759
|
+
storageFacilities {
|
|
7760
|
+
identifier
|
|
7761
|
+
capacity
|
|
7762
|
+
unit
|
|
7763
|
+
commodityId
|
|
7764
|
+
safeFillLevel
|
|
7765
|
+
shutDownLevel
|
|
7766
|
+
commodity {
|
|
7767
|
+
_id
|
|
7768
|
+
label
|
|
7769
|
+
unit
|
|
7770
|
+
weight
|
|
7771
|
+
}
|
|
7772
|
+
}
|
|
7298
7773
|
}
|
|
7299
7774
|
}
|
|
7300
7775
|
`;
|
|
@@ -7783,6 +8258,27 @@ export const GetMyOrganizationDocument = gql`
|
|
|
7783
8258
|
}
|
|
7784
8259
|
}
|
|
7785
8260
|
`;
|
|
8261
|
+
export const AddStorageFacilityReadingDocument = gql`
|
|
8262
|
+
mutation addStorageFacilityReading($newStorageFacilityReadingData: NewStorageFacilityReadingInput!) {
|
|
8263
|
+
addStorageFacilityReading(
|
|
8264
|
+
newStorageFacilityReadingData: $newStorageFacilityReadingData
|
|
8265
|
+
) {
|
|
8266
|
+
_id
|
|
8267
|
+
}
|
|
8268
|
+
}
|
|
8269
|
+
`;
|
|
8270
|
+
export const GetReceiverReadingsDocument = gql`
|
|
8271
|
+
query getReceiverReadings($receiverId: ObjectId!) {
|
|
8272
|
+
storageFacilityReadings(receiverId: $receiverId) {
|
|
8273
|
+
data {
|
|
8274
|
+
_id
|
|
8275
|
+
storageFacilityId
|
|
8276
|
+
date
|
|
8277
|
+
level
|
|
8278
|
+
}
|
|
8279
|
+
}
|
|
8280
|
+
}
|
|
8281
|
+
`;
|
|
7786
8282
|
export const GetTractorByEldIdDocument = gql`
|
|
7787
8283
|
query getTractorByEldId($eldId: String!) {
|
|
7788
8284
|
tractorByEldId(eldId: $eldId) {
|
|
@@ -8054,6 +8550,12 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
8054
8550
|
getMyOrganization(variables?: GetMyOrganizationQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetMyOrganizationQuery> {
|
|
8055
8551
|
return withWrapper((wrappedRequestHeaders) => client.request<GetMyOrganizationQuery>(GetMyOrganizationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getMyOrganization', 'query');
|
|
8056
8552
|
},
|
|
8553
|
+
addStorageFacilityReading(variables: AddStorageFacilityReadingMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddStorageFacilityReadingMutation> {
|
|
8554
|
+
return withWrapper((wrappedRequestHeaders) => client.request<AddStorageFacilityReadingMutation>(AddStorageFacilityReadingDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'addStorageFacilityReading', 'mutation');
|
|
8555
|
+
},
|
|
8556
|
+
getReceiverReadings(variables: GetReceiverReadingsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetReceiverReadingsQuery> {
|
|
8557
|
+
return withWrapper((wrappedRequestHeaders) => client.request<GetReceiverReadingsQuery>(GetReceiverReadingsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getReceiverReadings', 'query');
|
|
8558
|
+
},
|
|
8057
8559
|
getTractorByEldId(variables: GetTractorByEldIdQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetTractorByEldIdQuery> {
|
|
8058
8560
|
return withWrapper((wrappedRequestHeaders) => client.request<GetTractorByEldIdQuery>(GetTractorByEldIdDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getTractorByEldId', 'query');
|
|
8059
8561
|
},
|