@truetms/truetms-node 0.2.8 → 0.3.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/dist/src/graphql/generated.js +66 -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 +14 -0
- package/src/graphql/generated.ts +509 -17
- 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',
|
|
@@ -120,15 +131,34 @@ export type BillingRate = {
|
|
|
120
131
|
__typename?: 'BillingRate';
|
|
121
132
|
amount: Scalars['Float'];
|
|
122
133
|
method: BillingMethod;
|
|
134
|
+
parameters?: Maybe<Array<BillingRateParameter>>;
|
|
123
135
|
referenceNumber?: Maybe<Scalars['String']>;
|
|
124
136
|
};
|
|
125
137
|
|
|
126
138
|
export type BillingRateInput = {
|
|
127
139
|
amount: Scalars['Float'];
|
|
128
140
|
method: BillingMethod;
|
|
141
|
+
parameters?: InputMaybe<Array<BillingRateParameterInput>>;
|
|
129
142
|
referenceNumber?: InputMaybe<Scalars['String']>;
|
|
130
143
|
};
|
|
131
144
|
|
|
145
|
+
export type BillingRateParameter = {
|
|
146
|
+
__typename?: 'BillingRateParameter';
|
|
147
|
+
type: BillingRateParameterType;
|
|
148
|
+
value?: Maybe<Scalars['ConditionValue']>;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
export type BillingRateParameterInput = {
|
|
152
|
+
type: BillingRateParameterType;
|
|
153
|
+
value?: InputMaybe<Scalars['ConditionValue']>;
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
export enum BillingRateParameterType {
|
|
157
|
+
FreeLocationCount = 'FREE_LOCATION_COUNT',
|
|
158
|
+
GoodProfile = 'GOOD_PROFILE',
|
|
159
|
+
LocationType = 'LOCATION_TYPE'
|
|
160
|
+
}
|
|
161
|
+
|
|
132
162
|
/** A customer billing rule */
|
|
133
163
|
export type BillingRule = {
|
|
134
164
|
__typename?: 'BillingRule';
|
|
@@ -151,12 +181,14 @@ export type BillingRule = {
|
|
|
151
181
|
export type BillingRuleCondition = {
|
|
152
182
|
__typename?: 'BillingRuleCondition';
|
|
153
183
|
operator: BillingRuleConditionOperator;
|
|
184
|
+
parameters?: Maybe<Array<BillingRuleConditionParameter>>;
|
|
154
185
|
target: BillingRuleConditionTarget;
|
|
155
186
|
value?: Maybe<Scalars['ConditionValue']>;
|
|
156
187
|
};
|
|
157
188
|
|
|
158
189
|
export type BillingRuleConditionInput = {
|
|
159
190
|
operator: BillingRuleConditionOperator;
|
|
191
|
+
parameters?: InputMaybe<Array<BillingRuleConditionParameterInput>>;
|
|
160
192
|
target: BillingRuleConditionTarget;
|
|
161
193
|
value?: InputMaybe<Scalars['ConditionValue']>;
|
|
162
194
|
};
|
|
@@ -169,9 +201,25 @@ export enum BillingRuleConditionOperator {
|
|
|
169
201
|
NotEquals = 'NOT_EQUALS'
|
|
170
202
|
}
|
|
171
203
|
|
|
204
|
+
export type BillingRuleConditionParameter = {
|
|
205
|
+
__typename?: 'BillingRuleConditionParameter';
|
|
206
|
+
type: BillingRuleConditionParameterType;
|
|
207
|
+
value?: Maybe<Scalars['ConditionValue']>;
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
export type BillingRuleConditionParameterInput = {
|
|
211
|
+
type: BillingRuleConditionParameterType;
|
|
212
|
+
value?: InputMaybe<Scalars['ConditionValue']>;
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
export enum BillingRuleConditionParameterType {
|
|
216
|
+
FuelCostArea = 'FUEL_COST_AREA'
|
|
217
|
+
}
|
|
218
|
+
|
|
172
219
|
export enum BillingRuleConditionTarget {
|
|
173
220
|
Date = 'DATE',
|
|
174
221
|
DetentionTime = 'DETENTION_TIME',
|
|
222
|
+
FuelCost = 'FUEL_COST',
|
|
175
223
|
Goods = 'GOODS',
|
|
176
224
|
Mileage = 'MILEAGE',
|
|
177
225
|
Otherwise = 'OTHERWISE',
|
|
@@ -179,7 +227,8 @@ export enum BillingRuleConditionTarget {
|
|
|
179
227
|
Shipper = 'SHIPPER',
|
|
180
228
|
Time = 'TIME',
|
|
181
229
|
Trailer = 'TRAILER',
|
|
182
|
-
TrailerType = 'TRAILER_TYPE'
|
|
230
|
+
TrailerType = 'TRAILER_TYPE',
|
|
231
|
+
Volume = 'VOLUME'
|
|
183
232
|
}
|
|
184
233
|
|
|
185
234
|
export type BillingRulePaginatedResult = {
|
|
@@ -234,6 +283,7 @@ export type Broker = {
|
|
|
234
283
|
creditTerms?: Maybe<Scalars['String']>;
|
|
235
284
|
/** Custom fields for the business entity */
|
|
236
285
|
customFields?: Maybe<Array<CustomField>>;
|
|
286
|
+
defaultReferenceNumbers?: Maybe<Array<DefaultReferenceNumber>>;
|
|
237
287
|
/** The default shipper for this business entity */
|
|
238
288
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
239
289
|
/** 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 +321,8 @@ export type Broker = {
|
|
|
271
321
|
remitCompanyName?: Maybe<Scalars['String']>;
|
|
272
322
|
/** Remit email for the business entity */
|
|
273
323
|
remitEmail?: Maybe<Scalars['String']>;
|
|
324
|
+
/** Shipmentp documents to receive via email on completion */
|
|
325
|
+
shipmentDocumentsToReceive?: Maybe<Array<Scalars['String']>>;
|
|
274
326
|
/** SCAC code for carriers */
|
|
275
327
|
standardCarrierAlphaCode?: Maybe<Scalars['String']>;
|
|
276
328
|
status: AssetStatus;
|
|
@@ -330,6 +382,7 @@ export type BusinessEntity = {
|
|
|
330
382
|
creditTerms?: Maybe<Scalars['String']>;
|
|
331
383
|
/** Custom fields for the business entity */
|
|
332
384
|
customFields?: Maybe<Array<CustomField>>;
|
|
385
|
+
defaultReferenceNumbers?: Maybe<Array<DefaultReferenceNumber>>;
|
|
333
386
|
/** The default shipper for this business entity */
|
|
334
387
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
335
388
|
/** 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 +420,8 @@ export type BusinessEntity = {
|
|
|
367
420
|
remitCompanyName?: Maybe<Scalars['String']>;
|
|
368
421
|
/** Remit email for the business entity */
|
|
369
422
|
remitEmail?: Maybe<Scalars['String']>;
|
|
423
|
+
/** Shipmentp documents to receive via email on completion */
|
|
424
|
+
shipmentDocumentsToReceive?: Maybe<Array<Scalars['String']>>;
|
|
370
425
|
/** SCAC code for carriers */
|
|
371
426
|
standardCarrierAlphaCode?: Maybe<Scalars['String']>;
|
|
372
427
|
status: AssetStatus;
|
|
@@ -413,6 +468,7 @@ export type BusinessEntityUpdateInput = {
|
|
|
413
468
|
contact?: InputMaybe<NewContactInput>;
|
|
414
469
|
creditTerms?: InputMaybe<Scalars['String']>;
|
|
415
470
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
471
|
+
defaultReferenceNumbers?: InputMaybe<Array<DefaultReferenceNumberInput>>;
|
|
416
472
|
defaultShipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
417
473
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
418
474
|
dotNumber?: InputMaybe<Scalars['String']>;
|
|
@@ -430,6 +486,7 @@ export type BusinessEntityUpdateInput = {
|
|
|
430
486
|
/** Remit company name for the business entity */
|
|
431
487
|
remitCompanyName?: InputMaybe<Scalars['String']>;
|
|
432
488
|
remitEmail?: InputMaybe<Scalars['String']>;
|
|
489
|
+
shipmentDocumentsToReceive?: InputMaybe<Array<Scalars['String']>>;
|
|
433
490
|
standardCarrierAlphaCode?: InputMaybe<Scalars['String']>;
|
|
434
491
|
status?: InputMaybe<AssetStatus>;
|
|
435
492
|
storageFacilities?: InputMaybe<Array<StorageFacilityInput>>;
|
|
@@ -466,6 +523,7 @@ export type Carrier = {
|
|
|
466
523
|
creditTerms?: Maybe<Scalars['String']>;
|
|
467
524
|
/** Custom fields for the business entity */
|
|
468
525
|
customFields?: Maybe<Array<CustomField>>;
|
|
526
|
+
defaultReferenceNumbers?: Maybe<Array<DefaultReferenceNumber>>;
|
|
469
527
|
/** The default shipper for this business entity */
|
|
470
528
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
471
529
|
/** 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 +561,8 @@ export type Carrier = {
|
|
|
503
561
|
remitCompanyName?: Maybe<Scalars['String']>;
|
|
504
562
|
/** Remit email for the business entity */
|
|
505
563
|
remitEmail?: Maybe<Scalars['String']>;
|
|
564
|
+
/** Shipmentp documents to receive via email on completion */
|
|
565
|
+
shipmentDocumentsToReceive?: Maybe<Array<Scalars['String']>>;
|
|
506
566
|
/** SCAC code for carriers */
|
|
507
567
|
standardCarrierAlphaCode?: Maybe<Scalars['String']>;
|
|
508
568
|
status: AssetStatus;
|
|
@@ -739,6 +799,7 @@ export type Customer = {
|
|
|
739
799
|
creditTerms?: Maybe<Scalars['String']>;
|
|
740
800
|
/** Custom fields for the business entity */
|
|
741
801
|
customFields?: Maybe<Array<CustomField>>;
|
|
802
|
+
defaultReferenceNumbers?: Maybe<Array<DefaultReferenceNumber>>;
|
|
742
803
|
/** The default shipper for this business entity */
|
|
743
804
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
744
805
|
/** 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 +837,8 @@ export type Customer = {
|
|
|
776
837
|
remitCompanyName?: Maybe<Scalars['String']>;
|
|
777
838
|
/** Remit email for the business entity */
|
|
778
839
|
remitEmail?: Maybe<Scalars['String']>;
|
|
840
|
+
/** Shipmentp documents to receive via email on completion */
|
|
841
|
+
shipmentDocumentsToReceive?: Maybe<Array<Scalars['String']>>;
|
|
779
842
|
/** SCAC code for carriers */
|
|
780
843
|
standardCarrierAlphaCode?: Maybe<Scalars['String']>;
|
|
781
844
|
status: AssetStatus;
|
|
@@ -895,6 +958,17 @@ export enum DeductionType {
|
|
|
895
958
|
Deduction = 'DEDUCTION'
|
|
896
959
|
}
|
|
897
960
|
|
|
961
|
+
export type DefaultReferenceNumber = {
|
|
962
|
+
__typename?: 'DefaultReferenceNumber';
|
|
963
|
+
referenceNumberType: ShipmentReferenceNumberType;
|
|
964
|
+
referenceNumberValue: Scalars['String'];
|
|
965
|
+
};
|
|
966
|
+
|
|
967
|
+
export type DefaultReferenceNumberInput = {
|
|
968
|
+
referenceNumberType: ShipmentReferenceNumberType;
|
|
969
|
+
referenceNumberValue: Scalars['String'];
|
|
970
|
+
};
|
|
971
|
+
|
|
898
972
|
export type DeleteShipmentDocumentInput = {
|
|
899
973
|
_id?: InputMaybe<Scalars['String']>;
|
|
900
974
|
shipment?: InputMaybe<Scalars['String']>;
|
|
@@ -1212,9 +1286,47 @@ export type DriverShift = {
|
|
|
1212
1286
|
domicileId?: Maybe<Scalars['ObjectId']>;
|
|
1213
1287
|
driverIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
1214
1288
|
endTime: Time;
|
|
1289
|
+
/** Ad hoc driver shifts are one time shifts that have been assigned directly from the planning tool */
|
|
1290
|
+
isAdhoc?: Maybe<Scalars['Boolean']>;
|
|
1291
|
+
label?: Maybe<Scalars['String']>;
|
|
1215
1292
|
startTime: Time;
|
|
1216
1293
|
};
|
|
1217
1294
|
|
|
1295
|
+
export type DriverShiftAssignment = {
|
|
1296
|
+
__typename?: 'DriverShiftAssignment';
|
|
1297
|
+
_id: Scalars['String'];
|
|
1298
|
+
driver?: Maybe<Driver>;
|
|
1299
|
+
driverId: Scalars['ObjectId'];
|
|
1300
|
+
driverShift?: Maybe<DriverShift>;
|
|
1301
|
+
driverShiftId: Scalars['ObjectId'];
|
|
1302
|
+
endDate?: Maybe<Scalars['DateTime']>;
|
|
1303
|
+
startDate?: Maybe<Scalars['DateTime']>;
|
|
1304
|
+
};
|
|
1305
|
+
|
|
1306
|
+
export type DriverShiftAssignmentPaginatedResult = {
|
|
1307
|
+
__typename?: 'DriverShiftAssignmentPaginatedResult';
|
|
1308
|
+
count: Scalars['Int'];
|
|
1309
|
+
data: Array<DriverShiftAssignment>;
|
|
1310
|
+
};
|
|
1311
|
+
|
|
1312
|
+
export type DriverShiftAssignmentUpdateInput = {
|
|
1313
|
+
driverId?: InputMaybe<Scalars['ObjectId']>;
|
|
1314
|
+
driverShiftId?: InputMaybe<Scalars['ObjectId']>;
|
|
1315
|
+
endDate?: InputMaybe<Scalars['DateTime']>;
|
|
1316
|
+
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
1317
|
+
};
|
|
1318
|
+
|
|
1319
|
+
export type DriverShiftDeletedEvent = {
|
|
1320
|
+
__typename?: 'DriverShiftDeletedEvent';
|
|
1321
|
+
name: Events;
|
|
1322
|
+
payload: DriverShiftDeletedEventPayload;
|
|
1323
|
+
};
|
|
1324
|
+
|
|
1325
|
+
export type DriverShiftDeletedEventPayload = {
|
|
1326
|
+
__typename?: 'DriverShiftDeletedEventPayload';
|
|
1327
|
+
driverShiftId: Scalars['ObjectId'];
|
|
1328
|
+
};
|
|
1329
|
+
|
|
1218
1330
|
export type DriverShiftPaginatedResult = {
|
|
1219
1331
|
__typename?: 'DriverShiftPaginatedResult';
|
|
1220
1332
|
count: Scalars['Int'];
|
|
@@ -1226,6 +1338,9 @@ export type DriverShiftUpdateInput = {
|
|
|
1226
1338
|
domicileId?: InputMaybe<Scalars['ObjectId']>;
|
|
1227
1339
|
driverIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
1228
1340
|
endTime?: InputMaybe<TimeInput>;
|
|
1341
|
+
/** Ad hoc driver shifts are one time shifts that have been assigned directly from the planning tool */
|
|
1342
|
+
isAdhoc?: InputMaybe<Scalars['Boolean']>;
|
|
1343
|
+
label?: InputMaybe<Scalars['String']>;
|
|
1229
1344
|
startTime?: InputMaybe<TimeInput>;
|
|
1230
1345
|
};
|
|
1231
1346
|
|
|
@@ -1269,6 +1384,7 @@ export type DriverUpdatedEventPayload = {
|
|
|
1269
1384
|
};
|
|
1270
1385
|
|
|
1271
1386
|
export type DriverWhere = {
|
|
1387
|
+
domicile?: InputMaybe<Scalars['String']>;
|
|
1272
1388
|
status?: InputMaybe<AssetStatus>;
|
|
1273
1389
|
};
|
|
1274
1390
|
|
|
@@ -1300,6 +1416,7 @@ export enum Events {
|
|
|
1300
1416
|
DriverPositionUpdated = 'DRIVER_POSITION_UPDATED',
|
|
1301
1417
|
DriverSettlementCreated = 'DRIVER_SETTLEMENT_CREATED',
|
|
1302
1418
|
DriverSettlementDeleted = 'DRIVER_SETTLEMENT_DELETED',
|
|
1419
|
+
DriverShiftDeleted = 'DRIVER_SHIFT_DELETED',
|
|
1303
1420
|
DriverUpdated = 'DRIVER_UPDATED',
|
|
1304
1421
|
ExpenseCreated = 'EXPENSE_CREATED',
|
|
1305
1422
|
ExpenseDeleted = 'EXPENSE_DELETED',
|
|
@@ -1322,6 +1439,7 @@ export enum Events {
|
|
|
1322
1439
|
TrailerPositionUpdated = 'TRAILER_POSITION_UPDATED',
|
|
1323
1440
|
TripCompleted = 'TRIP_COMPLETED',
|
|
1324
1441
|
TripCreated = 'TRIP_CREATED',
|
|
1442
|
+
TripDistancesCalculated = 'TRIP_DISTANCES_CALCULATED',
|
|
1325
1443
|
TripFullyAssigned = 'TRIP_FULLY_ASSIGNED',
|
|
1326
1444
|
TripUpdated = 'TRIP_UPDATED',
|
|
1327
1445
|
UserStatusUpdated = 'USER_STATUS_UPDATED'
|
|
@@ -1564,6 +1682,28 @@ export type ExtensionSettings = {
|
|
|
1564
1682
|
operations: Array<ExtensionOperation>;
|
|
1565
1683
|
rootUrl: Scalars['String'];
|
|
1566
1684
|
uninstallEndpoint: Scalars['String'];
|
|
1685
|
+
widgets: Array<ExtensionWidget>;
|
|
1686
|
+
};
|
|
1687
|
+
|
|
1688
|
+
/** Extension widget */
|
|
1689
|
+
export type ExtensionWidget = {
|
|
1690
|
+
__typename?: 'ExtensionWidget';
|
|
1691
|
+
context: ExtensionWidgetContext;
|
|
1692
|
+
endpoint: Scalars['String'];
|
|
1693
|
+
label: Scalars['String'];
|
|
1694
|
+
};
|
|
1695
|
+
|
|
1696
|
+
export enum ExtensionWidgetContext {
|
|
1697
|
+
PlanningToolHeader = 'PLANNING_TOOL_HEADER'
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
export type ExtensionWidgetWithExtensionInfo = {
|
|
1701
|
+
__typename?: 'ExtensionWidgetWithExtensionInfo';
|
|
1702
|
+
context: ExtensionWidgetContext;
|
|
1703
|
+
endpoint: Scalars['String'];
|
|
1704
|
+
extensionId: Scalars['String'];
|
|
1705
|
+
label: Scalars['String'];
|
|
1706
|
+
rootUrl: Scalars['String'];
|
|
1567
1707
|
};
|
|
1568
1708
|
|
|
1569
1709
|
export type ExtensionWithStatus = {
|
|
@@ -1735,6 +1875,23 @@ export type GeneralSettingsInput = {
|
|
|
1735
1875
|
useSimpleWorkflow?: InputMaybe<Scalars['Boolean']>;
|
|
1736
1876
|
};
|
|
1737
1877
|
|
|
1878
|
+
export type GenerateTripInput = {
|
|
1879
|
+
additionalTrailers?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
1880
|
+
carrier?: InputMaybe<Scalars['String']>;
|
|
1881
|
+
chassis?: InputMaybe<Scalars['String']>;
|
|
1882
|
+
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
1883
|
+
driver?: InputMaybe<Scalars['String']>;
|
|
1884
|
+
etaFromPreviousTrip?: InputMaybe<Scalars['Float']>;
|
|
1885
|
+
etaToNextTrip?: InputMaybe<Scalars['Float']>;
|
|
1886
|
+
shipments: Array<Scalars['String']>;
|
|
1887
|
+
startTime?: InputMaybe<Scalars['DateTime']>;
|
|
1888
|
+
tags?: InputMaybe<Array<Scalars['String']>>;
|
|
1889
|
+
tractor?: InputMaybe<Scalars['String']>;
|
|
1890
|
+
trailer?: InputMaybe<Scalars['String']>;
|
|
1891
|
+
trailerCompartmentAssignments?: InputMaybe<Array<TrailerCompartmentAssignmentInput>>;
|
|
1892
|
+
violations?: InputMaybe<Array<TripViolationInput>>;
|
|
1893
|
+
};
|
|
1894
|
+
|
|
1738
1895
|
export type Good = {
|
|
1739
1896
|
__typename?: 'Good';
|
|
1740
1897
|
_id: Scalars['String'];
|
|
@@ -1755,13 +1912,21 @@ export type GoodDistribution = {
|
|
|
1755
1912
|
goodId: Scalars['String'];
|
|
1756
1913
|
goodProfile?: Maybe<GoodProfile>;
|
|
1757
1914
|
goodProfileId?: Maybe<Scalars['ObjectId']>;
|
|
1915
|
+
pinCode?: Maybe<Scalars['String']>;
|
|
1758
1916
|
quantity?: Maybe<Scalars['Float']>;
|
|
1917
|
+
shipperId?: Maybe<Scalars['ObjectId']>;
|
|
1918
|
+
supplierId?: Maybe<Scalars['ObjectId']>;
|
|
1919
|
+
unitPrice?: Maybe<Scalars['Float']>;
|
|
1759
1920
|
};
|
|
1760
1921
|
|
|
1761
1922
|
export type GoodDistributionInput = {
|
|
1762
1923
|
goodId: Scalars['String'];
|
|
1763
1924
|
goodProfileId?: InputMaybe<Scalars['ObjectId']>;
|
|
1925
|
+
pinCode?: InputMaybe<Scalars['String']>;
|
|
1764
1926
|
quantity?: InputMaybe<Scalars['Float']>;
|
|
1927
|
+
shipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
1928
|
+
supplierId?: InputMaybe<Scalars['ObjectId']>;
|
|
1929
|
+
unitPrice?: InputMaybe<Scalars['Float']>;
|
|
1765
1930
|
};
|
|
1766
1931
|
|
|
1767
1932
|
export type GoodInput = {
|
|
@@ -2001,8 +2166,11 @@ export enum InvoicingProcess {
|
|
|
2001
2166
|
|
|
2002
2167
|
export type InvoicingSettings = {
|
|
2003
2168
|
__typename?: 'InvoicingSettings';
|
|
2169
|
+
/** @deprecated Use Organization.address instead */
|
|
2004
2170
|
companyAddress?: Maybe<Scalars['String']>;
|
|
2171
|
+
/** @deprecated Use Organization.email instead */
|
|
2005
2172
|
companyEmail?: Maybe<Scalars['String']>;
|
|
2173
|
+
/** @deprecated Use Organization.phoneNumber instead */
|
|
2006
2174
|
companyPhone?: Maybe<Scalars['String']>;
|
|
2007
2175
|
enableTaxRate?: Maybe<Scalars['Boolean']>;
|
|
2008
2176
|
logoUrl?: Maybe<Scalars['String']>;
|
|
@@ -2028,15 +2196,6 @@ export type InvoicingSettingsInput = {
|
|
|
2028
2196
|
remitEmail?: InputMaybe<Scalars['String']>;
|
|
2029
2197
|
};
|
|
2030
2198
|
|
|
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
2199
|
export type KeycloakOrganizationAttributes = {
|
|
2041
2200
|
__typename?: 'KeycloakOrganizationAttributes';
|
|
2042
2201
|
chargebeeCustomerId?: Maybe<Scalars['String']>;
|
|
@@ -2280,11 +2439,13 @@ export type Mutation = {
|
|
|
2280
2439
|
addDeductionRule: DeductionRule;
|
|
2281
2440
|
addDriver: Driver;
|
|
2282
2441
|
addDriverShift: DriverShift;
|
|
2442
|
+
addDriverShiftAssignment: DriverShiftAssignment;
|
|
2283
2443
|
addGoodProfile: GoodProfile;
|
|
2284
2444
|
addGroup: Group;
|
|
2285
2445
|
addMaintenanceTask: MaintenanceTask;
|
|
2286
2446
|
addNotesShipment: Shipment;
|
|
2287
2447
|
addOrder: Order;
|
|
2448
|
+
addOrgDoc: OrganizationDocument;
|
|
2288
2449
|
addOrgUser: OrgUser;
|
|
2289
2450
|
addPaymentRule: PaymentRule;
|
|
2290
2451
|
addQualification: Qualification;
|
|
@@ -2302,6 +2463,7 @@ export type Mutation = {
|
|
|
2302
2463
|
addTrailer: Trailer;
|
|
2303
2464
|
addTrailerEvent: TrailerEvent;
|
|
2304
2465
|
addTransaction: Transaction;
|
|
2466
|
+
/** @deprecated Use generateTrip instead */
|
|
2305
2467
|
addTrip: Trip;
|
|
2306
2468
|
addTripPayment?: Maybe<Trip>;
|
|
2307
2469
|
assignTripAsset: Trip;
|
|
@@ -2330,6 +2492,7 @@ export type Mutation = {
|
|
|
2330
2492
|
callExtensionOperation: ExtensionOperationResponse;
|
|
2331
2493
|
cancelShipmentSplit?: Maybe<Shipment>;
|
|
2332
2494
|
changeTripStartTime?: Maybe<Trip>;
|
|
2495
|
+
checkShipmentsCombinability: Scalars['Boolean'];
|
|
2333
2496
|
completeMaintenanceTask: MaintenanceTask;
|
|
2334
2497
|
computeLineHaulForTrip?: Maybe<Trip>;
|
|
2335
2498
|
deleteAssetLinking: Scalars['Boolean'];
|
|
@@ -2344,11 +2507,13 @@ export type Mutation = {
|
|
|
2344
2507
|
deleteDriver: Scalars['Boolean'];
|
|
2345
2508
|
deleteDriverSettlement: Scalars['Boolean'];
|
|
2346
2509
|
deleteDriverShift: Scalars['Boolean'];
|
|
2510
|
+
deleteDriverShiftAssignment: Scalars['Boolean'];
|
|
2347
2511
|
deleteGoodProfile: Scalars['Boolean'];
|
|
2348
2512
|
deleteGroup: Scalars['Boolean'];
|
|
2349
2513
|
deleteInvoice: Scalars['Boolean'];
|
|
2350
2514
|
deleteMaintenanceTask: Scalars['Boolean'];
|
|
2351
2515
|
deleteOrder: Scalars['Boolean'];
|
|
2516
|
+
deleteOrgDoc: Scalars['Boolean'];
|
|
2352
2517
|
deleteOrgUser: Scalars['Boolean'];
|
|
2353
2518
|
deletePaymentRule: Scalars['Boolean'];
|
|
2354
2519
|
deleteQualification: Scalars['Boolean'];
|
|
@@ -2380,6 +2545,7 @@ export type Mutation = {
|
|
|
2380
2545
|
editDriver: Driver;
|
|
2381
2546
|
editDriverSettlement?: Maybe<DriverSettlement>;
|
|
2382
2547
|
editDriverShift: DriverShift;
|
|
2548
|
+
editDriverShiftAssignment: DriverShiftAssignment;
|
|
2383
2549
|
/** Edit good pin code */
|
|
2384
2550
|
editGoodPinCode?: Maybe<Shipment>;
|
|
2385
2551
|
editGoodProfile: GoodProfile;
|
|
@@ -2389,7 +2555,9 @@ export type Mutation = {
|
|
|
2389
2555
|
editMaintenanceTask: MaintenanceTask;
|
|
2390
2556
|
editNoteShipment: Shipment;
|
|
2391
2557
|
editOrder: Order;
|
|
2558
|
+
editOrgDoc: Scalars['String'];
|
|
2392
2559
|
editOrgUser: OrgUser;
|
|
2560
|
+
editOrganization: Scalars['String'];
|
|
2393
2561
|
editPaymentRule?: Maybe<PaymentRule>;
|
|
2394
2562
|
editQualification: Qualification;
|
|
2395
2563
|
editReceiver: Receiver;
|
|
@@ -2413,6 +2581,7 @@ export type Mutation = {
|
|
|
2413
2581
|
generateInvoice: Invoice;
|
|
2414
2582
|
generateReportPdf: ReportPdf;
|
|
2415
2583
|
generateShipmentRoute: ShipmentRoute;
|
|
2584
|
+
generateTrip: Trip;
|
|
2416
2585
|
generateTripsForPendingShipments: TripGenerationResult;
|
|
2417
2586
|
generateTripsForShipments: TripGenerationResult;
|
|
2418
2587
|
getCheckoutSession: SubscriptionCheckoutSession;
|
|
@@ -2425,11 +2594,13 @@ export type Mutation = {
|
|
|
2425
2594
|
purgeForecastedOrders: Scalars['Boolean'];
|
|
2426
2595
|
rankSupplierContractsForPurchase: Array<SupplierContractRanking>;
|
|
2427
2596
|
rankSupplierContractsForPurchases: Array<SupplierContractRanking>;
|
|
2597
|
+
removeShipmentFromTrip: RemoveShipmentFromTripResult;
|
|
2428
2598
|
reportShipmentIssue: Shipment;
|
|
2429
2599
|
restoreLatestSnapshot: Scalars['Boolean'];
|
|
2430
2600
|
restoreShipment: Shipment;
|
|
2431
2601
|
saveDataSnapshot: Snapshot;
|
|
2432
2602
|
saveOrganizationSettings?: Maybe<OrganizationSettings>;
|
|
2603
|
+
saveTrip: Trip;
|
|
2433
2604
|
sendInvoice?: Maybe<Invoice>;
|
|
2434
2605
|
sendRatecon: SendRateconResult;
|
|
2435
2606
|
sendReportPdf: SendReportResult;
|
|
@@ -2505,6 +2676,11 @@ export type MutationAddDriverShiftArgs = {
|
|
|
2505
2676
|
};
|
|
2506
2677
|
|
|
2507
2678
|
|
|
2679
|
+
export type MutationAddDriverShiftAssignmentArgs = {
|
|
2680
|
+
newDriverShiftAssignmentData: NewDriverShiftAssignmentInput;
|
|
2681
|
+
};
|
|
2682
|
+
|
|
2683
|
+
|
|
2508
2684
|
export type MutationAddGoodProfileArgs = {
|
|
2509
2685
|
newGoodProfileData: NewGoodProfileInput;
|
|
2510
2686
|
};
|
|
@@ -2530,6 +2706,11 @@ export type MutationAddOrderArgs = {
|
|
|
2530
2706
|
};
|
|
2531
2707
|
|
|
2532
2708
|
|
|
2709
|
+
export type MutationAddOrgDocArgs = {
|
|
2710
|
+
newOrganizationDocumentData: NewOrganizationDocumentInput;
|
|
2711
|
+
};
|
|
2712
|
+
|
|
2713
|
+
|
|
2533
2714
|
export type MutationAddOrgUserArgs = {
|
|
2534
2715
|
newOrgUserData: NewOrgUserInput;
|
|
2535
2716
|
};
|
|
@@ -2771,6 +2952,11 @@ export type MutationChangeTripStartTimeArgs = {
|
|
|
2771
2952
|
};
|
|
2772
2953
|
|
|
2773
2954
|
|
|
2955
|
+
export type MutationCheckShipmentsCombinabilityArgs = {
|
|
2956
|
+
generateTripData: GenerateTripInput;
|
|
2957
|
+
};
|
|
2958
|
+
|
|
2959
|
+
|
|
2774
2960
|
export type MutationCompleteMaintenanceTaskArgs = {
|
|
2775
2961
|
id: Scalars['ObjectId'];
|
|
2776
2962
|
};
|
|
@@ -2841,6 +3027,11 @@ export type MutationDeleteDriverShiftArgs = {
|
|
|
2841
3027
|
};
|
|
2842
3028
|
|
|
2843
3029
|
|
|
3030
|
+
export type MutationDeleteDriverShiftAssignmentArgs = {
|
|
3031
|
+
id: Scalars['String'];
|
|
3032
|
+
};
|
|
3033
|
+
|
|
3034
|
+
|
|
2844
3035
|
export type MutationDeleteGoodProfileArgs = {
|
|
2845
3036
|
id: Scalars['String'];
|
|
2846
3037
|
};
|
|
@@ -2866,6 +3057,11 @@ export type MutationDeleteOrderArgs = {
|
|
|
2866
3057
|
};
|
|
2867
3058
|
|
|
2868
3059
|
|
|
3060
|
+
export type MutationDeleteOrgDocArgs = {
|
|
3061
|
+
id: Scalars['ObjectId'];
|
|
3062
|
+
};
|
|
3063
|
+
|
|
3064
|
+
|
|
2869
3065
|
export type MutationDeleteOrgUserArgs = {
|
|
2870
3066
|
id: Scalars['String'];
|
|
2871
3067
|
};
|
|
@@ -3035,6 +3231,12 @@ export type MutationEditDriverShiftArgs = {
|
|
|
3035
3231
|
};
|
|
3036
3232
|
|
|
3037
3233
|
|
|
3234
|
+
export type MutationEditDriverShiftAssignmentArgs = {
|
|
3235
|
+
editDriverShiftAssignmentData: DriverShiftAssignmentUpdateInput;
|
|
3236
|
+
id: Scalars['String'];
|
|
3237
|
+
};
|
|
3238
|
+
|
|
3239
|
+
|
|
3038
3240
|
export type MutationEditGoodPinCodeArgs = {
|
|
3039
3241
|
goodId: Scalars['String'];
|
|
3040
3242
|
id: Scalars['ObjectId'];
|
|
@@ -3078,12 +3280,23 @@ export type MutationEditOrderArgs = {
|
|
|
3078
3280
|
};
|
|
3079
3281
|
|
|
3080
3282
|
|
|
3283
|
+
export type MutationEditOrgDocArgs = {
|
|
3284
|
+
id: Scalars['ObjectId'];
|
|
3285
|
+
organizationDocumentData: OrganizationDocumentUpdateInput;
|
|
3286
|
+
};
|
|
3287
|
+
|
|
3288
|
+
|
|
3081
3289
|
export type MutationEditOrgUserArgs = {
|
|
3082
3290
|
editOrgUserData: OrgUserUpdateInput;
|
|
3083
3291
|
id: Scalars['String'];
|
|
3084
3292
|
};
|
|
3085
3293
|
|
|
3086
3294
|
|
|
3295
|
+
export type MutationEditOrganizationArgs = {
|
|
3296
|
+
organizationSetupData: OrganizationUpdateInput;
|
|
3297
|
+
};
|
|
3298
|
+
|
|
3299
|
+
|
|
3087
3300
|
export type MutationEditPaymentRuleArgs = {
|
|
3088
3301
|
editPaymentRuleData: PaymentRuleUpdateInput;
|
|
3089
3302
|
id: Scalars['String'];
|
|
@@ -3223,6 +3436,12 @@ export type MutationGenerateShipmentRouteArgs = {
|
|
|
3223
3436
|
};
|
|
3224
3437
|
|
|
3225
3438
|
|
|
3439
|
+
export type MutationGenerateTripArgs = {
|
|
3440
|
+
generateTripData: GenerateTripInput;
|
|
3441
|
+
ignoreDriverShifts?: InputMaybe<Scalars['Boolean']>;
|
|
3442
|
+
};
|
|
3443
|
+
|
|
3444
|
+
|
|
3226
3445
|
export type MutationGenerateTripsForShipmentsArgs = {
|
|
3227
3446
|
endDate: Scalars['DateTime'];
|
|
3228
3447
|
shipmentIds: Array<Scalars['ObjectId']>;
|
|
@@ -3253,8 +3472,11 @@ export type MutationPersistTractorPositionsArgs = {
|
|
|
3253
3472
|
|
|
3254
3473
|
|
|
3255
3474
|
export type MutationPlanTripsForDriverArgs = {
|
|
3475
|
+
additionalTrailerIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3256
3476
|
driverId: Scalars['ObjectId'];
|
|
3257
3477
|
planTimezone?: InputMaybe<Scalars['String']>;
|
|
3478
|
+
tractorId?: InputMaybe<Scalars['ObjectId']>;
|
|
3479
|
+
trailerId?: InputMaybe<Scalars['ObjectId']>;
|
|
3258
3480
|
trips: Array<TripForPlanningInput>;
|
|
3259
3481
|
};
|
|
3260
3482
|
|
|
@@ -3274,6 +3496,12 @@ export type MutationRankSupplierContractsForPurchasesArgs = {
|
|
|
3274
3496
|
};
|
|
3275
3497
|
|
|
3276
3498
|
|
|
3499
|
+
export type MutationRemoveShipmentFromTripArgs = {
|
|
3500
|
+
shipmentIds: Array<Scalars['ObjectId']>;
|
|
3501
|
+
tripId: Scalars['ObjectId'];
|
|
3502
|
+
};
|
|
3503
|
+
|
|
3504
|
+
|
|
3277
3505
|
export type MutationReportShipmentIssueArgs = {
|
|
3278
3506
|
shipmentIssueData: ShipmentIssueInput;
|
|
3279
3507
|
};
|
|
@@ -3289,6 +3517,11 @@ export type MutationSaveOrganizationSettingsArgs = {
|
|
|
3289
3517
|
};
|
|
3290
3518
|
|
|
3291
3519
|
|
|
3520
|
+
export type MutationSaveTripArgs = {
|
|
3521
|
+
saveTripData: SaveTripInput;
|
|
3522
|
+
};
|
|
3523
|
+
|
|
3524
|
+
|
|
3292
3525
|
export type MutationSendInvoiceArgs = {
|
|
3293
3526
|
invoiceId: Scalars['String'];
|
|
3294
3527
|
};
|
|
@@ -3310,7 +3543,7 @@ export type MutationSendReportPdfArgs = {
|
|
|
3310
3543
|
|
|
3311
3544
|
|
|
3312
3545
|
export type MutationSetupOrganizationArgs = {
|
|
3313
|
-
organizationSetupData:
|
|
3546
|
+
organizationSetupData: NewOrganizationInput;
|
|
3314
3547
|
};
|
|
3315
3548
|
|
|
3316
3549
|
|
|
@@ -3432,6 +3665,7 @@ export type NewBusinessEntityInput = {
|
|
|
3432
3665
|
contact?: InputMaybe<NewContactInput>;
|
|
3433
3666
|
creditTerms?: InputMaybe<Scalars['String']>;
|
|
3434
3667
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
3668
|
+
defaultReferenceNumbers?: InputMaybe<Array<DefaultReferenceNumberInput>>;
|
|
3435
3669
|
defaultShipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
3436
3670
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
3437
3671
|
dotNumber?: InputMaybe<Scalars['String']>;
|
|
@@ -3449,6 +3683,7 @@ export type NewBusinessEntityInput = {
|
|
|
3449
3683
|
/** Remit company name for the business entity */
|
|
3450
3684
|
remitCompanyName?: InputMaybe<Scalars['String']>;
|
|
3451
3685
|
remitEmail?: InputMaybe<Scalars['String']>;
|
|
3686
|
+
shipmentDocumentsToReceive?: InputMaybe<Array<Scalars['String']>>;
|
|
3452
3687
|
standardCarrierAlphaCode?: InputMaybe<Scalars['String']>;
|
|
3453
3688
|
status?: InputMaybe<AssetStatus>;
|
|
3454
3689
|
storageFacilities?: InputMaybe<Array<StorageFacilityInput>>;
|
|
@@ -3468,6 +3703,7 @@ export type NewBusinessEntityInputWithType = {
|
|
|
3468
3703
|
contact?: InputMaybe<NewContactInput>;
|
|
3469
3704
|
creditTerms?: InputMaybe<Scalars['String']>;
|
|
3470
3705
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
3706
|
+
defaultReferenceNumbers?: InputMaybe<Array<DefaultReferenceNumberInput>>;
|
|
3471
3707
|
defaultShipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
3472
3708
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
3473
3709
|
dotNumber?: InputMaybe<Scalars['String']>;
|
|
@@ -3485,6 +3721,7 @@ export type NewBusinessEntityInputWithType = {
|
|
|
3485
3721
|
/** Remit company name for the business entity */
|
|
3486
3722
|
remitCompanyName?: InputMaybe<Scalars['String']>;
|
|
3487
3723
|
remitEmail?: InputMaybe<Scalars['String']>;
|
|
3724
|
+
shipmentDocumentsToReceive?: InputMaybe<Array<Scalars['String']>>;
|
|
3488
3725
|
standardCarrierAlphaCode?: InputMaybe<Scalars['String']>;
|
|
3489
3726
|
status?: InputMaybe<AssetStatus>;
|
|
3490
3727
|
storageFacilities?: InputMaybe<Array<StorageFacilityInput>>;
|
|
@@ -3554,11 +3791,21 @@ export type NewDriverInput = {
|
|
|
3554
3791
|
username?: InputMaybe<Scalars['String']>;
|
|
3555
3792
|
};
|
|
3556
3793
|
|
|
3794
|
+
export type NewDriverShiftAssignmentInput = {
|
|
3795
|
+
driverId: Scalars['ObjectId'];
|
|
3796
|
+
driverShiftId: Scalars['ObjectId'];
|
|
3797
|
+
endDate?: InputMaybe<Scalars['DateTime']>;
|
|
3798
|
+
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
3799
|
+
};
|
|
3800
|
+
|
|
3557
3801
|
export type NewDriverShiftInput = {
|
|
3558
3802
|
days: Array<Scalars['Int']>;
|
|
3559
3803
|
domicileId?: InputMaybe<Scalars['ObjectId']>;
|
|
3560
3804
|
driverIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3561
3805
|
endTime: TimeInput;
|
|
3806
|
+
/** Ad hoc driver shifts are one time shifts that have been assigned directly from the planning tool */
|
|
3807
|
+
isAdhoc?: InputMaybe<Scalars['Boolean']>;
|
|
3808
|
+
label?: InputMaybe<Scalars['String']>;
|
|
3562
3809
|
startTime: TimeInput;
|
|
3563
3810
|
};
|
|
3564
3811
|
|
|
@@ -3613,6 +3860,21 @@ export type NewOrgUserInput = {
|
|
|
3613
3860
|
username: Scalars['String'];
|
|
3614
3861
|
};
|
|
3615
3862
|
|
|
3863
|
+
export type NewOrganizationDocumentInput = {
|
|
3864
|
+
_id?: InputMaybe<Scalars['String']>;
|
|
3865
|
+
name: Scalars['String'];
|
|
3866
|
+
url?: InputMaybe<Scalars['String']>;
|
|
3867
|
+
};
|
|
3868
|
+
|
|
3869
|
+
export type NewOrganizationInput = {
|
|
3870
|
+
address?: InputMaybe<Scalars['String']>;
|
|
3871
|
+
contactFullname?: InputMaybe<Scalars['String']>;
|
|
3872
|
+
dotNumber: Scalars['String'];
|
|
3873
|
+
email?: InputMaybe<Scalars['Email']>;
|
|
3874
|
+
name: Scalars['String'];
|
|
3875
|
+
phoneNumber?: InputMaybe<Scalars['String']>;
|
|
3876
|
+
};
|
|
3877
|
+
|
|
3616
3878
|
export type NewPaymentRuleInput = {
|
|
3617
3879
|
amount: Scalars['Float'];
|
|
3618
3880
|
driver?: InputMaybe<Scalars['String']>;
|
|
@@ -3722,6 +3984,7 @@ export type NewTextualAddressInput = {
|
|
|
3722
3984
|
|
|
3723
3985
|
export type NewTractorInput = {
|
|
3724
3986
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
3987
|
+
documents?: InputMaybe<Array<DocumentInput>>;
|
|
3725
3988
|
domicile?: InputMaybe<NewAddressInput>;
|
|
3726
3989
|
eldId?: InputMaybe<Scalars['String']>;
|
|
3727
3990
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
@@ -3746,6 +4009,7 @@ export type NewTrailerEventInput = {
|
|
|
3746
4009
|
export type NewTrailerInput = {
|
|
3747
4010
|
compartments?: InputMaybe<Array<TrailerCompartmentInput>>;
|
|
3748
4011
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
4012
|
+
documents?: InputMaybe<Array<DocumentInput>>;
|
|
3749
4013
|
domicile?: InputMaybe<NewAddressInput>;
|
|
3750
4014
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3751
4015
|
height?: InputMaybe<Scalars['Float']>;
|
|
@@ -3902,12 +4166,44 @@ export type OrgUserUpdateInput = {
|
|
|
3902
4166
|
username?: InputMaybe<Scalars['String']>;
|
|
3903
4167
|
};
|
|
3904
4168
|
|
|
4169
|
+
export type Organization = {
|
|
4170
|
+
__typename?: 'Organization';
|
|
4171
|
+
_id?: Maybe<Scalars['String']>;
|
|
4172
|
+
address?: Maybe<Scalars['String']>;
|
|
4173
|
+
/** @deprecated Use company fields directly */
|
|
4174
|
+
attributes: KeycloakOrganizationAttributes;
|
|
4175
|
+
contactFullname?: Maybe<Scalars['String']>;
|
|
4176
|
+
/** @deprecated This field is the same as name */
|
|
4177
|
+
displayName: Scalars['String'];
|
|
4178
|
+
dotNumber: Scalars['String'];
|
|
4179
|
+
email?: Maybe<Scalars['Email']>;
|
|
4180
|
+
/** @deprecated Use _id instead */
|
|
4181
|
+
id?: Maybe<Scalars['String']>;
|
|
4182
|
+
name: Scalars['String'];
|
|
4183
|
+
phoneNumber?: Maybe<Scalars['String']>;
|
|
4184
|
+
/** @deprecated This field should not be used by any client. The realm is the same accross all orgs */
|
|
4185
|
+
realm: Scalars['String'];
|
|
4186
|
+
};
|
|
4187
|
+
|
|
4188
|
+
export type OrganizationDocument = {
|
|
4189
|
+
__typename?: 'OrganizationDocument';
|
|
4190
|
+
_id?: Maybe<Scalars['String']>;
|
|
4191
|
+
name: Scalars['String'];
|
|
4192
|
+
url?: Maybe<Scalars['String']>;
|
|
4193
|
+
};
|
|
4194
|
+
|
|
4195
|
+
export type OrganizationDocumentUpdateInput = {
|
|
4196
|
+
name?: InputMaybe<Scalars['String']>;
|
|
4197
|
+
url?: InputMaybe<Scalars['String']>;
|
|
4198
|
+
};
|
|
4199
|
+
|
|
3905
4200
|
export type OrganizationSettings = {
|
|
3906
4201
|
__typename?: 'OrganizationSettings';
|
|
3907
4202
|
_id?: Maybe<Scalars['String']>;
|
|
3908
4203
|
dispatching?: Maybe<DispatchingSettings>;
|
|
3909
4204
|
general?: Maybe<GeneralSettings>;
|
|
3910
4205
|
invoicing?: Maybe<InvoicingSettings>;
|
|
4206
|
+
name?: Maybe<Scalars['String']>;
|
|
3911
4207
|
ratecon?: Maybe<RateconSettings>;
|
|
3912
4208
|
transactionTemplates?: Maybe<Array<TransactionInputObject>>;
|
|
3913
4209
|
};
|
|
@@ -3917,13 +4213,18 @@ export type OrganizationSettingsInput = {
|
|
|
3917
4213
|
dispatching?: InputMaybe<DispatchingSettingsInput>;
|
|
3918
4214
|
general?: InputMaybe<GeneralSettingsInput>;
|
|
3919
4215
|
invoicing?: InputMaybe<InvoicingSettingsInput>;
|
|
4216
|
+
name?: InputMaybe<Scalars['String']>;
|
|
3920
4217
|
ratecon?: InputMaybe<RateconSettingsInput>;
|
|
3921
4218
|
transactionTemplates?: InputMaybe<Array<TransactionInput>>;
|
|
3922
4219
|
};
|
|
3923
4220
|
|
|
3924
|
-
export type
|
|
3925
|
-
|
|
3926
|
-
|
|
4221
|
+
export type OrganizationUpdateInput = {
|
|
4222
|
+
address?: InputMaybe<Scalars['String']>;
|
|
4223
|
+
contactFullname?: InputMaybe<Scalars['String']>;
|
|
4224
|
+
dotNumber?: InputMaybe<Scalars['String']>;
|
|
4225
|
+
email?: InputMaybe<Scalars['Email']>;
|
|
4226
|
+
name?: InputMaybe<Scalars['String']>;
|
|
4227
|
+
phoneNumber?: InputMaybe<Scalars['String']>;
|
|
3927
4228
|
};
|
|
3928
4229
|
|
|
3929
4230
|
export type PartialShipment = {
|
|
@@ -4181,6 +4482,7 @@ export type Query = {
|
|
|
4181
4482
|
customerById: Customer;
|
|
4182
4483
|
customerOrderById: Order;
|
|
4183
4484
|
customerOrders: OrderPaginatedResult;
|
|
4485
|
+
customerShipments: ShipmentPaginatedResult;
|
|
4184
4486
|
customers: CustomerPaginatedResult;
|
|
4185
4487
|
cutomFieldDefinitions: CustomFieldDefinitionPaginatedResult;
|
|
4186
4488
|
deductionRuleById: DeductionRule;
|
|
@@ -4191,6 +4493,9 @@ export type Query = {
|
|
|
4191
4493
|
driverSettlementById?: Maybe<DriverSettlement>;
|
|
4192
4494
|
driverSettlementByNumber: DriverSettlement;
|
|
4193
4495
|
driverSettlements: DriverSettlementPaginatedResult;
|
|
4496
|
+
driverShiftAssignmentByDriverId?: Maybe<DriverShiftAssignment>;
|
|
4497
|
+
driverShiftAssignmentById?: Maybe<DriverShiftAssignment>;
|
|
4498
|
+
driverShiftAssignments: DriverShiftAssignmentPaginatedResult;
|
|
4194
4499
|
driverShiftByDriverId?: Maybe<DriverShift>;
|
|
4195
4500
|
driverShiftById?: Maybe<DriverShift>;
|
|
4196
4501
|
driverShifts: DriverShiftPaginatedResult;
|
|
@@ -4200,6 +4505,7 @@ export type Query = {
|
|
|
4200
4505
|
extensionsCustomFields: Array<ExtensionCustomFieldWithExtensionId>;
|
|
4201
4506
|
extensionsMessages: Array<ExtensionMessage>;
|
|
4202
4507
|
extensionsOperations: Array<ExtensionOperationWithExtensionId>;
|
|
4508
|
+
extensionsWidgets: Array<ExtensionWidgetWithExtensionInfo>;
|
|
4203
4509
|
forecastingNotifications: Array<ForecastingNotification>;
|
|
4204
4510
|
goodProfileById: GoodProfile;
|
|
4205
4511
|
goodProfiles: GoodProfilePaginatedResult;
|
|
@@ -4216,8 +4522,9 @@ export type Query = {
|
|
|
4216
4522
|
maintenanceTaskById?: Maybe<MaintenanceTask>;
|
|
4217
4523
|
maintenanceTasks: MaintenanceTaskPaginatedResult;
|
|
4218
4524
|
metrics: Array<Metric>;
|
|
4525
|
+
myDocuments: Array<OrganizationDocument>;
|
|
4219
4526
|
myDriverSettlements: MyDriverSettlementPaginatedResult;
|
|
4220
|
-
myOrganization:
|
|
4527
|
+
myOrganization: Organization;
|
|
4221
4528
|
orderById: Order;
|
|
4222
4529
|
orders: OrderPaginatedResult;
|
|
4223
4530
|
orgUserById: OrgUser;
|
|
@@ -4405,6 +4712,16 @@ export type QueryCustomerOrdersArgs = {
|
|
|
4405
4712
|
};
|
|
4406
4713
|
|
|
4407
4714
|
|
|
4715
|
+
export type QueryCustomerShipmentsArgs = {
|
|
4716
|
+
filter?: InputMaybe<Scalars['JSON']>;
|
|
4717
|
+
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
4718
|
+
search?: InputMaybe<Scalars['String']>;
|
|
4719
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
4720
|
+
status?: InputMaybe<Status>;
|
|
4721
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
4722
|
+
};
|
|
4723
|
+
|
|
4724
|
+
|
|
4408
4725
|
export type QueryCustomersArgs = {
|
|
4409
4726
|
filter?: InputMaybe<Scalars['JSON']>;
|
|
4410
4727
|
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
@@ -4474,6 +4791,25 @@ export type QueryDriverSettlementsArgs = {
|
|
|
4474
4791
|
};
|
|
4475
4792
|
|
|
4476
4793
|
|
|
4794
|
+
export type QueryDriverShiftAssignmentByDriverIdArgs = {
|
|
4795
|
+
driverId: Scalars['ObjectId'];
|
|
4796
|
+
};
|
|
4797
|
+
|
|
4798
|
+
|
|
4799
|
+
export type QueryDriverShiftAssignmentByIdArgs = {
|
|
4800
|
+
id: Scalars['String'];
|
|
4801
|
+
};
|
|
4802
|
+
|
|
4803
|
+
|
|
4804
|
+
export type QueryDriverShiftAssignmentsArgs = {
|
|
4805
|
+
filter?: InputMaybe<Scalars['JSON']>;
|
|
4806
|
+
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
4807
|
+
search?: InputMaybe<Scalars['String']>;
|
|
4808
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
4809
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
4810
|
+
};
|
|
4811
|
+
|
|
4812
|
+
|
|
4477
4813
|
export type QueryDriverShiftByDriverIdArgs = {
|
|
4478
4814
|
driverId: Scalars['ObjectId'];
|
|
4479
4815
|
};
|
|
@@ -4527,6 +4863,11 @@ export type QueryExtensionsOperationsArgs = {
|
|
|
4527
4863
|
};
|
|
4528
4864
|
|
|
4529
4865
|
|
|
4866
|
+
export type QueryExtensionsWidgetsArgs = {
|
|
4867
|
+
context: ExtensionWidgetContext;
|
|
4868
|
+
};
|
|
4869
|
+
|
|
4870
|
+
|
|
4530
4871
|
export type QueryForecastingNotificationsArgs = {
|
|
4531
4872
|
receiverId?: InputMaybe<Scalars['ObjectId']>;
|
|
4532
4873
|
};
|
|
@@ -4657,6 +4998,7 @@ export type QueryOrgUserByIdArgs = {
|
|
|
4657
4998
|
|
|
4658
4999
|
|
|
4659
5000
|
export type QueryOrgUsersArgs = {
|
|
5001
|
+
enabled?: InputMaybe<Scalars['Boolean']>;
|
|
4660
5002
|
filter?: InputMaybe<Scalars['JSON']>;
|
|
4661
5003
|
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
4662
5004
|
roles?: InputMaybe<Array<Scalars['String']>>;
|
|
@@ -4958,8 +5300,11 @@ export type QueryTripsArgs = {
|
|
|
4958
5300
|
export type RateconSettings = {
|
|
4959
5301
|
__typename?: 'RateconSettings';
|
|
4960
5302
|
bodyTemplate?: Maybe<Scalars['String']>;
|
|
5303
|
+
/** @deprecated Use Organization.address instead */
|
|
4961
5304
|
companyAddress?: Maybe<Scalars['String']>;
|
|
5305
|
+
/** @deprecated Use Organization.email instead */
|
|
4962
5306
|
companyEmail?: Maybe<Scalars['String']>;
|
|
5307
|
+
/** @deprecated Use Organization.phoneNumber instead */
|
|
4963
5308
|
companyPhone?: Maybe<Scalars['String']>;
|
|
4964
5309
|
subjectTemplate?: Maybe<Scalars['String']>;
|
|
4965
5310
|
termsAndConditions?: Maybe<Scalars['String']>;
|
|
@@ -5064,6 +5409,7 @@ export type Receiver = {
|
|
|
5064
5409
|
creditTerms?: Maybe<Scalars['String']>;
|
|
5065
5410
|
/** Custom fields for the business entity */
|
|
5066
5411
|
customFields?: Maybe<Array<CustomField>>;
|
|
5412
|
+
defaultReferenceNumbers?: Maybe<Array<DefaultReferenceNumber>>;
|
|
5067
5413
|
/** The default shipper for this business entity */
|
|
5068
5414
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
5069
5415
|
/** 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 +5447,8 @@ export type Receiver = {
|
|
|
5101
5447
|
remitCompanyName?: Maybe<Scalars['String']>;
|
|
5102
5448
|
/** Remit email for the business entity */
|
|
5103
5449
|
remitEmail?: Maybe<Scalars['String']>;
|
|
5450
|
+
/** Shipmentp documents to receive via email on completion */
|
|
5451
|
+
shipmentDocumentsToReceive?: Maybe<Array<Scalars['String']>>;
|
|
5104
5452
|
/** SCAC code for carriers */
|
|
5105
5453
|
standardCarrierAlphaCode?: Maybe<Scalars['String']>;
|
|
5106
5454
|
status: AssetStatus;
|
|
@@ -5172,6 +5520,11 @@ export type RelationshipUpdateInput = {
|
|
|
5172
5520
|
supplierIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
5173
5521
|
};
|
|
5174
5522
|
|
|
5523
|
+
export type RemoveShipmentFromTripResult = {
|
|
5524
|
+
__typename?: 'RemoveShipmentFromTripResult';
|
|
5525
|
+
trip?: Maybe<Trip>;
|
|
5526
|
+
};
|
|
5527
|
+
|
|
5175
5528
|
export type ReportData = {
|
|
5176
5529
|
__typename?: 'ReportData';
|
|
5177
5530
|
data: Array<ReportItem>;
|
|
@@ -5220,6 +5573,38 @@ export enum S3_Operation {
|
|
|
5220
5573
|
PutObject = 'putObject'
|
|
5221
5574
|
}
|
|
5222
5575
|
|
|
5576
|
+
export type SaveTripInput = {
|
|
5577
|
+
additionalTrailers?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
5578
|
+
carrier?: InputMaybe<Scalars['ObjectId']>;
|
|
5579
|
+
chassis?: InputMaybe<Scalars['ObjectId']>;
|
|
5580
|
+
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
5581
|
+
deadheadDistance?: InputMaybe<Scalars['Float']>;
|
|
5582
|
+
distanceToEnd: Scalars['Float'];
|
|
5583
|
+
distanceToStart: Scalars['Float'];
|
|
5584
|
+
driver?: InputMaybe<Scalars['ObjectId']>;
|
|
5585
|
+
etaFromPreviousTrip?: InputMaybe<Scalars['Float']>;
|
|
5586
|
+
etaToNextTrip?: InputMaybe<Scalars['Float']>;
|
|
5587
|
+
firstPickupTime?: InputMaybe<Scalars['DateTime']>;
|
|
5588
|
+
lastDropoffTime?: InputMaybe<Scalars['DateTime']>;
|
|
5589
|
+
lastTrafficCheck?: InputMaybe<Scalars['DateTime']>;
|
|
5590
|
+
lastTrailerLocation?: InputMaybe<CoordinatesInput>;
|
|
5591
|
+
lastTrailerLocationDate?: InputMaybe<Scalars['DateTime']>;
|
|
5592
|
+
lastWeatherCheck?: InputMaybe<Scalars['DateTime']>;
|
|
5593
|
+
loadedDistance?: InputMaybe<Scalars['Float']>;
|
|
5594
|
+
polyline: Scalars['String'];
|
|
5595
|
+
predictedLoadedDistance?: InputMaybe<Scalars['Float']>;
|
|
5596
|
+
routeDistance: Scalars['Float'];
|
|
5597
|
+
shipmentLocations: Array<TripShipmentLocationInput>;
|
|
5598
|
+
shipments?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
5599
|
+
status: Status;
|
|
5600
|
+
tags?: InputMaybe<Array<Scalars['String']>>;
|
|
5601
|
+
totalDistance?: InputMaybe<Scalars['Float']>;
|
|
5602
|
+
tractor?: InputMaybe<Scalars['ObjectId']>;
|
|
5603
|
+
trailer?: InputMaybe<Scalars['ObjectId']>;
|
|
5604
|
+
trailerCompartmentAssignments?: InputMaybe<Array<TrailerCompartmentAssignmentInput>>;
|
|
5605
|
+
violations?: InputMaybe<Array<TripViolationInput>>;
|
|
5606
|
+
};
|
|
5607
|
+
|
|
5223
5608
|
export type SendRateconResult = {
|
|
5224
5609
|
__typename?: 'SendRateconResult';
|
|
5225
5610
|
success: Scalars['Boolean'];
|
|
@@ -5576,6 +5961,13 @@ export type ShipmentEventUpdatedEventPayload = {
|
|
|
5576
5961
|
shipment: Shipment;
|
|
5577
5962
|
};
|
|
5578
5963
|
|
|
5964
|
+
export type ShipmentGoodPinCodeUpdatedEvent = {
|
|
5965
|
+
__typename?: 'ShipmentGoodPinCodeUpdatedEvent';
|
|
5966
|
+
name: Events;
|
|
5967
|
+
organizationId?: Maybe<Scalars['String']>;
|
|
5968
|
+
payload: ShipmentGoodPinCodeUpdatedPayload;
|
|
5969
|
+
};
|
|
5970
|
+
|
|
5579
5971
|
export type ShipmentGoodPinCodeUpdatedPayload = {
|
|
5580
5972
|
__typename?: 'ShipmentGoodPinCodeUpdatedPayload';
|
|
5581
5973
|
goodId: Scalars['String'];
|
|
@@ -5820,6 +6212,8 @@ export type ShipmentTrip = {
|
|
|
5820
6212
|
carrier?: Maybe<Scalars['String']>;
|
|
5821
6213
|
carrierEntity?: Maybe<Carrier>;
|
|
5822
6214
|
deadheadDistance?: Maybe<Scalars['Float']>;
|
|
6215
|
+
distanceToEnd: Scalars['Float'];
|
|
6216
|
+
distanceToStart: Scalars['Float'];
|
|
5823
6217
|
driver?: Maybe<Scalars['String']>;
|
|
5824
6218
|
driverEntity?: Maybe<Driver>;
|
|
5825
6219
|
etaFromPreviousTrip?: Maybe<Scalars['Float']>;
|
|
@@ -5912,6 +6306,7 @@ export type Shipper = {
|
|
|
5912
6306
|
creditTerms?: Maybe<Scalars['String']>;
|
|
5913
6307
|
/** Custom fields for the business entity */
|
|
5914
6308
|
customFields?: Maybe<Array<CustomField>>;
|
|
6309
|
+
defaultReferenceNumbers?: Maybe<Array<DefaultReferenceNumber>>;
|
|
5915
6310
|
/** The default shipper for this business entity */
|
|
5916
6311
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
5917
6312
|
/** 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 +6344,8 @@ export type Shipper = {
|
|
|
5949
6344
|
remitCompanyName?: Maybe<Scalars['String']>;
|
|
5950
6345
|
/** Remit email for the business entity */
|
|
5951
6346
|
remitEmail?: Maybe<Scalars['String']>;
|
|
6347
|
+
/** Shipmentp documents to receive via email on completion */
|
|
6348
|
+
shipmentDocumentsToReceive?: Maybe<Array<Scalars['String']>>;
|
|
5952
6349
|
/** SCAC code for carriers */
|
|
5953
6350
|
standardCarrierAlphaCode?: Maybe<Scalars['String']>;
|
|
5954
6351
|
status: AssetStatus;
|
|
@@ -6314,6 +6711,7 @@ export type Tractor = {
|
|
|
6314
6711
|
_id: Scalars['String'];
|
|
6315
6712
|
currentDriverEldId?: Maybe<Scalars['String']>;
|
|
6316
6713
|
customFields?: Maybe<Array<CustomField>>;
|
|
6714
|
+
documents?: Maybe<Array<Document>>;
|
|
6317
6715
|
domicile?: Maybe<Address>;
|
|
6318
6716
|
eldId?: Maybe<Scalars['String']>;
|
|
6319
6717
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
@@ -6376,6 +6774,7 @@ export type TractorPositionUpdatedEventPayload = {
|
|
|
6376
6774
|
|
|
6377
6775
|
export type TractorUpdateInput = {
|
|
6378
6776
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
6777
|
+
documents?: InputMaybe<Array<DocumentInput>>;
|
|
6379
6778
|
domicile?: InputMaybe<NewAddressInput>;
|
|
6380
6779
|
eldId?: InputMaybe<Scalars['String']>;
|
|
6381
6780
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
@@ -6397,6 +6796,7 @@ export type Trailer = {
|
|
|
6397
6796
|
_id: Scalars['String'];
|
|
6398
6797
|
compartments?: Maybe<Array<TrailerCompartment>>;
|
|
6399
6798
|
customFields?: Maybe<Array<CustomField>>;
|
|
6799
|
+
documents?: Maybe<Array<Document>>;
|
|
6400
6800
|
domicile?: Maybe<Address>;
|
|
6401
6801
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
6402
6802
|
height?: Maybe<Scalars['Float']>;
|
|
@@ -6547,6 +6947,7 @@ export enum TrailerType {
|
|
|
6547
6947
|
export type TrailerUpdateInput = {
|
|
6548
6948
|
compartments?: InputMaybe<Array<TrailerCompartmentInput>>;
|
|
6549
6949
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
6950
|
+
documents?: InputMaybe<Array<DocumentInput>>;
|
|
6550
6951
|
domicile?: InputMaybe<NewAddressInput>;
|
|
6551
6952
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
6552
6953
|
height?: InputMaybe<Scalars['Float']>;
|
|
@@ -6737,6 +7138,11 @@ export type TripCreatedEventPayload = {
|
|
|
6737
7138
|
trip: Trip;
|
|
6738
7139
|
};
|
|
6739
7140
|
|
|
7141
|
+
export type TripDistancesCalculatedEventPayload = {
|
|
7142
|
+
__typename?: 'TripDistancesCalculatedEventPayload';
|
|
7143
|
+
tripId: Scalars['ObjectId'];
|
|
7144
|
+
};
|
|
7145
|
+
|
|
6740
7146
|
/** TripDriverPosition entity */
|
|
6741
7147
|
export type TripDriverPosition = {
|
|
6742
7148
|
__typename?: 'TripDriverPosition';
|
|
@@ -6833,6 +7239,30 @@ export type TripShipmentLocation = {
|
|
|
6833
7239
|
weatherInfo?: Maybe<LocationWeather>;
|
|
6834
7240
|
};
|
|
6835
7241
|
|
|
7242
|
+
/** Trip shipment location entity */
|
|
7243
|
+
export type TripShipmentLocationInput = {
|
|
7244
|
+
_id?: InputMaybe<Scalars['String']>;
|
|
7245
|
+
addressLabel?: InputMaybe<Scalars['String']>;
|
|
7246
|
+
addressTimezone?: InputMaybe<Scalars['String']>;
|
|
7247
|
+
arrivalTime: Scalars['DateTime'];
|
|
7248
|
+
distanceTo?: InputMaybe<Scalars['Float']>;
|
|
7249
|
+
location: CoordinatesInput;
|
|
7250
|
+
locationType: ShipmentLocationType;
|
|
7251
|
+
name?: InputMaybe<Scalars['String']>;
|
|
7252
|
+
receivedGoods: Array<GoodDistributionInput>;
|
|
7253
|
+
receiver?: InputMaybe<Scalars['String']>;
|
|
7254
|
+
rotationIndex?: InputMaybe<Scalars['Float']>;
|
|
7255
|
+
serviceDuration: Scalars['Float'];
|
|
7256
|
+
setupDuration: Scalars['Float'];
|
|
7257
|
+
shipmentId?: InputMaybe<Scalars['String']>;
|
|
7258
|
+
shippedGoods: Array<GoodInput>;
|
|
7259
|
+
shipper?: InputMaybe<Scalars['String']>;
|
|
7260
|
+
timeWindows: Array<DateTimeWindowInput>;
|
|
7261
|
+
/** This is the ID of the shipment location as defined in the trip */
|
|
7262
|
+
tripShipmentLocationId: Scalars['String'];
|
|
7263
|
+
waitingDuration: Scalars['Float'];
|
|
7264
|
+
};
|
|
7265
|
+
|
|
6836
7266
|
export type TripSort = {
|
|
6837
7267
|
criteria: TripSortCriteria;
|
|
6838
7268
|
desc?: InputMaybe<Scalars['Boolean']>;
|
|
@@ -6926,6 +7356,13 @@ export type UserAttributesInput = {
|
|
|
6926
7356
|
trialDays?: InputMaybe<Scalars['String']>;
|
|
6927
7357
|
};
|
|
6928
7358
|
|
|
7359
|
+
export type UserStatusUpdatedEvent = {
|
|
7360
|
+
__typename?: 'UserStatusUpdatedEvent';
|
|
7361
|
+
name: Events;
|
|
7362
|
+
organizationId: Scalars['String'];
|
|
7363
|
+
payload: UserStatusUpdatedEventPayload;
|
|
7364
|
+
};
|
|
7365
|
+
|
|
6929
7366
|
export type UserStatusUpdatedEventPayload = {
|
|
6930
7367
|
__typename?: 'UserStatusUpdatedEventPayload';
|
|
6931
7368
|
enabled: Scalars['Boolean'];
|
|
@@ -6978,7 +7415,7 @@ export type GetBusinessEntityDetailsQueryVariables = Exact<{
|
|
|
6978
7415
|
}>;
|
|
6979
7416
|
|
|
6980
7417
|
|
|
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 } };
|
|
7418
|
+
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
7419
|
|
|
6983
7420
|
export type GetBusinessEntityDetailsByExternalIdQueryVariables = Exact<{
|
|
6984
7421
|
externalId: Scalars['String'];
|
|
@@ -7087,7 +7524,21 @@ export type UpdateInvoiceStatusMutation = { __typename?: 'Mutation', updateInvoi
|
|
|
7087
7524
|
export type GetMyOrganizationQueryVariables = Exact<{ [key: string]: never; }>;
|
|
7088
7525
|
|
|
7089
7526
|
|
|
7090
|
-
export type GetMyOrganizationQuery = { __typename?: 'Query', myOrganization: { __typename?: '
|
|
7527
|
+
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 } } };
|
|
7528
|
+
|
|
7529
|
+
export type AddStorageFacilityReadingMutationVariables = Exact<{
|
|
7530
|
+
newStorageFacilityReadingData: NewStorageFacilityReadingInput;
|
|
7531
|
+
}>;
|
|
7532
|
+
|
|
7533
|
+
|
|
7534
|
+
export type AddStorageFacilityReadingMutation = { __typename?: 'Mutation', addStorageFacilityReading: { __typename?: 'StorageFacilityReading', _id: string } };
|
|
7535
|
+
|
|
7536
|
+
export type GetReceiverReadingsQueryVariables = Exact<{
|
|
7537
|
+
receiverId: Scalars['ObjectId'];
|
|
7538
|
+
}>;
|
|
7539
|
+
|
|
7540
|
+
|
|
7541
|
+
export type GetReceiverReadingsQuery = { __typename?: 'Query', storageFacilityReadings: { __typename?: 'StorageFacilityReadingPaginatedResult', data: Array<{ __typename?: 'StorageFacilityReading', _id: string, storageFacilityId: string, date: any, level: number }> } };
|
|
7091
7542
|
|
|
7092
7543
|
export type GetTractorByEldIdQueryVariables = Exact<{
|
|
7093
7544
|
eldId: Scalars['String'];
|
|
@@ -7295,6 +7746,20 @@ export const GetBusinessEntityDetailsDocument = gql`
|
|
|
7295
7746
|
weight
|
|
7296
7747
|
}
|
|
7297
7748
|
type
|
|
7749
|
+
storageFacilities {
|
|
7750
|
+
identifier
|
|
7751
|
+
capacity
|
|
7752
|
+
unit
|
|
7753
|
+
commodityId
|
|
7754
|
+
safeFillLevel
|
|
7755
|
+
shutDownLevel
|
|
7756
|
+
commodity {
|
|
7757
|
+
_id
|
|
7758
|
+
label
|
|
7759
|
+
unit
|
|
7760
|
+
weight
|
|
7761
|
+
}
|
|
7762
|
+
}
|
|
7298
7763
|
}
|
|
7299
7764
|
}
|
|
7300
7765
|
`;
|
|
@@ -7783,6 +8248,27 @@ export const GetMyOrganizationDocument = gql`
|
|
|
7783
8248
|
}
|
|
7784
8249
|
}
|
|
7785
8250
|
`;
|
|
8251
|
+
export const AddStorageFacilityReadingDocument = gql`
|
|
8252
|
+
mutation addStorageFacilityReading($newStorageFacilityReadingData: NewStorageFacilityReadingInput!) {
|
|
8253
|
+
addStorageFacilityReading(
|
|
8254
|
+
newStorageFacilityReadingData: $newStorageFacilityReadingData
|
|
8255
|
+
) {
|
|
8256
|
+
_id
|
|
8257
|
+
}
|
|
8258
|
+
}
|
|
8259
|
+
`;
|
|
8260
|
+
export const GetReceiverReadingsDocument = gql`
|
|
8261
|
+
query getReceiverReadings($receiverId: ObjectId!) {
|
|
8262
|
+
storageFacilityReadings(receiverId: $receiverId) {
|
|
8263
|
+
data {
|
|
8264
|
+
_id
|
|
8265
|
+
storageFacilityId
|
|
8266
|
+
date
|
|
8267
|
+
level
|
|
8268
|
+
}
|
|
8269
|
+
}
|
|
8270
|
+
}
|
|
8271
|
+
`;
|
|
7786
8272
|
export const GetTractorByEldIdDocument = gql`
|
|
7787
8273
|
query getTractorByEldId($eldId: String!) {
|
|
7788
8274
|
tractorByEldId(eldId: $eldId) {
|
|
@@ -8054,6 +8540,12 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
8054
8540
|
getMyOrganization(variables?: GetMyOrganizationQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetMyOrganizationQuery> {
|
|
8055
8541
|
return withWrapper((wrappedRequestHeaders) => client.request<GetMyOrganizationQuery>(GetMyOrganizationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getMyOrganization', 'query');
|
|
8056
8542
|
},
|
|
8543
|
+
addStorageFacilityReading(variables: AddStorageFacilityReadingMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddStorageFacilityReadingMutation> {
|
|
8544
|
+
return withWrapper((wrappedRequestHeaders) => client.request<AddStorageFacilityReadingMutation>(AddStorageFacilityReadingDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'addStorageFacilityReading', 'mutation');
|
|
8545
|
+
},
|
|
8546
|
+
getReceiverReadings(variables: GetReceiverReadingsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetReceiverReadingsQuery> {
|
|
8547
|
+
return withWrapper((wrappedRequestHeaders) => client.request<GetReceiverReadingsQuery>(GetReceiverReadingsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getReceiverReadings', 'query');
|
|
8548
|
+
},
|
|
8057
8549
|
getTractorByEldId(variables: GetTractorByEldIdQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetTractorByEldIdQuery> {
|
|
8058
8550
|
return withWrapper((wrappedRequestHeaders) => client.request<GetTractorByEldIdQuery>(GetTractorByEldIdDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getTractorByEldId', 'query');
|
|
8059
8551
|
},
|