@truetms/truetms-node 0.4.0 → 0.4.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/src/graphql/generated.ts
CHANGED
|
@@ -164,7 +164,8 @@ export type BillingRateParameterInput = {
|
|
|
164
164
|
export enum BillingRateParameterType {
|
|
165
165
|
FreeLocationCount = 'FREE_LOCATION_COUNT',
|
|
166
166
|
GoodProfile = 'GOOD_PROFILE',
|
|
167
|
-
LocationType = 'LOCATION_TYPE'
|
|
167
|
+
LocationType = 'LOCATION_TYPE',
|
|
168
|
+
QuantityType = 'QUANTITY_TYPE'
|
|
168
169
|
}
|
|
169
170
|
|
|
170
171
|
/** A customer billing rule */
|
|
@@ -250,6 +251,7 @@ export type BillingRulePaginatedResult = {
|
|
|
250
251
|
|
|
251
252
|
export enum BillingRuleType {
|
|
252
253
|
Accessorial = 'ACCESSORIAL',
|
|
254
|
+
OrderCancellation = 'ORDER_CANCELLATION',
|
|
253
255
|
Primary = 'PRIMARY',
|
|
254
256
|
Tax = 'TAX'
|
|
255
257
|
}
|
|
@@ -285,8 +287,11 @@ export type Broker = {
|
|
|
285
287
|
billingAddress?: Maybe<TextualAddress>;
|
|
286
288
|
/** Billing email for the business entity. Invoices are sent here */
|
|
287
289
|
billingEmail?: Maybe<Scalars['String']>;
|
|
290
|
+
/** Criteria for invoice consolidation */
|
|
291
|
+
billingInvoiceConsolidationCriteria?: Maybe<InvoiceConsolidationCriteria>;
|
|
288
292
|
/** Billing terms for the business entity in days. */
|
|
289
293
|
billingTermsDay?: Maybe<Scalars['Float']>;
|
|
294
|
+
billingWeekStartsOn?: Maybe<Scalars['Float']>;
|
|
290
295
|
/** Unique code identifying the business entity. */
|
|
291
296
|
code?: Maybe<Scalars['String']>;
|
|
292
297
|
/** Primary contact for the business entity. */
|
|
@@ -300,6 +305,8 @@ export type Broker = {
|
|
|
300
305
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
301
306
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
302
307
|
defaultShipperId?: Maybe<Scalars['ObjectId']>;
|
|
308
|
+
/** Document requirements for invoicing for this business entity */
|
|
309
|
+
documentRequirements?: Maybe<Array<DocumentRequirement>>;
|
|
303
310
|
/** Documents for the business entity */
|
|
304
311
|
documents?: Maybe<Array<Document>>;
|
|
305
312
|
/** DOT Number for carriers and brokers */
|
|
@@ -315,6 +322,7 @@ export type Broker = {
|
|
|
315
322
|
mcNumber?: Maybe<Scalars['String']>;
|
|
316
323
|
/** Legal name of the business entity. */
|
|
317
324
|
name: Scalars['String'];
|
|
325
|
+
notes?: Maybe<Array<BusinessEntityNote>>;
|
|
318
326
|
/** Opening schedules for the business entity. */
|
|
319
327
|
openingSchedules?: Maybe<Array<OpeningSchedule>>;
|
|
320
328
|
/** The business entity that this business entity belongs to */
|
|
@@ -348,6 +356,12 @@ export type Broker = {
|
|
|
348
356
|
type: BusinessEntityType;
|
|
349
357
|
};
|
|
350
358
|
|
|
359
|
+
|
|
360
|
+
/** A Broker Business entity */
|
|
361
|
+
export type BrokerStorageFacilitiesArgs = {
|
|
362
|
+
includeLinkedFacilities?: InputMaybe<Scalars['Boolean']>;
|
|
363
|
+
};
|
|
364
|
+
|
|
351
365
|
export type BrokerPaginatedResult = {
|
|
352
366
|
__typename?: 'BrokerPaginatedResult';
|
|
353
367
|
count: Scalars['Int'];
|
|
@@ -384,8 +398,11 @@ export type BusinessEntity = {
|
|
|
384
398
|
billingAddress?: Maybe<TextualAddress>;
|
|
385
399
|
/** Billing email for the business entity. Invoices are sent here */
|
|
386
400
|
billingEmail?: Maybe<Scalars['String']>;
|
|
401
|
+
/** Criteria for invoice consolidation */
|
|
402
|
+
billingInvoiceConsolidationCriteria?: Maybe<InvoiceConsolidationCriteria>;
|
|
387
403
|
/** Billing terms for the business entity in days. */
|
|
388
404
|
billingTermsDay?: Maybe<Scalars['Float']>;
|
|
405
|
+
billingWeekStartsOn?: Maybe<Scalars['Float']>;
|
|
389
406
|
/** Unique code identifying the business entity. */
|
|
390
407
|
code?: Maybe<Scalars['String']>;
|
|
391
408
|
/** Primary contact for the business entity. */
|
|
@@ -399,6 +416,8 @@ export type BusinessEntity = {
|
|
|
399
416
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
400
417
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
401
418
|
defaultShipperId?: Maybe<Scalars['ObjectId']>;
|
|
419
|
+
/** Document requirements for invoicing for this business entity */
|
|
420
|
+
documentRequirements?: Maybe<Array<DocumentRequirement>>;
|
|
402
421
|
/** Documents for the business entity */
|
|
403
422
|
documents?: Maybe<Array<Document>>;
|
|
404
423
|
/** DOT Number for carriers and brokers */
|
|
@@ -414,6 +433,7 @@ export type BusinessEntity = {
|
|
|
414
433
|
mcNumber?: Maybe<Scalars['String']>;
|
|
415
434
|
/** Legal name of the business entity. */
|
|
416
435
|
name: Scalars['String'];
|
|
436
|
+
notes?: Maybe<Array<BusinessEntityNote>>;
|
|
417
437
|
/** Opening schedules for the business entity. */
|
|
418
438
|
openingSchedules?: Maybe<Array<OpeningSchedule>>;
|
|
419
439
|
/** The business entity that this business entity belongs to */
|
|
@@ -447,6 +467,27 @@ export type BusinessEntity = {
|
|
|
447
467
|
type: BusinessEntityType;
|
|
448
468
|
};
|
|
449
469
|
|
|
470
|
+
|
|
471
|
+
/** Business entity */
|
|
472
|
+
export type BusinessEntityStorageFacilitiesArgs = {
|
|
473
|
+
includeLinkedFacilities?: InputMaybe<Scalars['Boolean']>;
|
|
474
|
+
};
|
|
475
|
+
|
|
476
|
+
export type BusinessEntityNote = {
|
|
477
|
+
__typename?: 'BusinessEntityNote';
|
|
478
|
+
_id?: Maybe<Scalars['ObjectId']>;
|
|
479
|
+
accessLevel?: Maybe<Array<NoteAccessLevel>>;
|
|
480
|
+
addToShipment: Scalars['Boolean'];
|
|
481
|
+
content: Scalars['String'];
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
export type BusinessEntityNoteInput = {
|
|
485
|
+
_id?: InputMaybe<Scalars['ObjectId']>;
|
|
486
|
+
accessLevel?: InputMaybe<Array<NoteAccessLevel>>;
|
|
487
|
+
addToShipment?: InputMaybe<Scalars['Boolean']>;
|
|
488
|
+
content: Scalars['String'];
|
|
489
|
+
};
|
|
490
|
+
|
|
450
491
|
export type BusinessEntityPaginatedResult = {
|
|
451
492
|
__typename?: 'BusinessEntityPaginatedResult';
|
|
452
493
|
count: Scalars['Int'];
|
|
@@ -475,13 +516,18 @@ export type BusinessEntityUpdateInput = {
|
|
|
475
516
|
address?: InputMaybe<NewAddressInput>;
|
|
476
517
|
billingAddress?: InputMaybe<NewTextualAddressInput>;
|
|
477
518
|
billingEmail?: InputMaybe<Scalars['String']>;
|
|
519
|
+
/** Criteria for invoice consolidation */
|
|
520
|
+
billingInvoiceConsolidationCriteria?: InputMaybe<InvoiceConsolidationCriteria>;
|
|
478
521
|
billingTermsDay?: InputMaybe<Scalars['Float']>;
|
|
522
|
+
billingWeekStartsOn?: InputMaybe<Scalars['Float']>;
|
|
479
523
|
code?: InputMaybe<Scalars['String']>;
|
|
480
524
|
contact?: InputMaybe<NewContactInput>;
|
|
481
525
|
creditTerms?: InputMaybe<Scalars['String']>;
|
|
482
526
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
483
527
|
defaultReferenceNumbers?: InputMaybe<Array<DefaultReferenceNumberInput>>;
|
|
484
528
|
defaultShipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
529
|
+
/** Document requirements for invoicing for this business entity */
|
|
530
|
+
documentRequirements?: InputMaybe<Array<DocumentRequirementInput>>;
|
|
485
531
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
486
532
|
dotNumber?: InputMaybe<Scalars['String']>;
|
|
487
533
|
externalId?: InputMaybe<Scalars['String']>;
|
|
@@ -490,6 +536,7 @@ export type BusinessEntityUpdateInput = {
|
|
|
490
536
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
491
537
|
mcNumber?: InputMaybe<Scalars['String']>;
|
|
492
538
|
name?: InputMaybe<Scalars['String']>;
|
|
539
|
+
notes?: InputMaybe<Array<BusinessEntityNoteInput>>;
|
|
493
540
|
openingSchedules?: InputMaybe<Array<OpeningScheduleInput>>;
|
|
494
541
|
parentBusinessEntityId?: InputMaybe<Scalars['ObjectId']>;
|
|
495
542
|
payToProfileId?: InputMaybe<Scalars['ObjectId']>;
|
|
@@ -525,8 +572,11 @@ export type Carrier = {
|
|
|
525
572
|
billingAddress?: Maybe<TextualAddress>;
|
|
526
573
|
/** Billing email for the business entity. Invoices are sent here */
|
|
527
574
|
billingEmail?: Maybe<Scalars['String']>;
|
|
575
|
+
/** Criteria for invoice consolidation */
|
|
576
|
+
billingInvoiceConsolidationCriteria?: Maybe<InvoiceConsolidationCriteria>;
|
|
528
577
|
/** Billing terms for the business entity in days. */
|
|
529
578
|
billingTermsDay?: Maybe<Scalars['Float']>;
|
|
579
|
+
billingWeekStartsOn?: Maybe<Scalars['Float']>;
|
|
530
580
|
/** Unique code identifying the business entity. */
|
|
531
581
|
code?: Maybe<Scalars['String']>;
|
|
532
582
|
/** Primary contact for the business entity. */
|
|
@@ -540,6 +590,8 @@ export type Carrier = {
|
|
|
540
590
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
541
591
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
542
592
|
defaultShipperId?: Maybe<Scalars['ObjectId']>;
|
|
593
|
+
/** Document requirements for invoicing for this business entity */
|
|
594
|
+
documentRequirements?: Maybe<Array<DocumentRequirement>>;
|
|
543
595
|
/** Documents for the business entity */
|
|
544
596
|
documents?: Maybe<Array<Document>>;
|
|
545
597
|
/** DOT Number for carriers and brokers */
|
|
@@ -555,6 +607,7 @@ export type Carrier = {
|
|
|
555
607
|
mcNumber?: Maybe<Scalars['String']>;
|
|
556
608
|
/** Legal name of the business entity. */
|
|
557
609
|
name: Scalars['String'];
|
|
610
|
+
notes?: Maybe<Array<BusinessEntityNote>>;
|
|
558
611
|
/** Opening schedules for the business entity. */
|
|
559
612
|
openingSchedules?: Maybe<Array<OpeningSchedule>>;
|
|
560
613
|
/** The business entity that this business entity belongs to */
|
|
@@ -588,6 +641,12 @@ export type Carrier = {
|
|
|
588
641
|
type: BusinessEntityType;
|
|
589
642
|
};
|
|
590
643
|
|
|
644
|
+
|
|
645
|
+
/** A Carrier Business entity */
|
|
646
|
+
export type CarrierStorageFacilitiesArgs = {
|
|
647
|
+
includeLinkedFacilities?: InputMaybe<Scalars['Boolean']>;
|
|
648
|
+
};
|
|
649
|
+
|
|
591
650
|
export type ChangeTripStartTimeInput = {
|
|
592
651
|
etaFromPreviousTrip?: InputMaybe<Scalars['Float']>;
|
|
593
652
|
etaToNextTrip?: InputMaybe<Scalars['Float']>;
|
|
@@ -600,6 +659,7 @@ export type ChangeTripStartTimeInput = {
|
|
|
600
659
|
export enum ChargeType {
|
|
601
660
|
Accessorial = 'ACCESSORIAL',
|
|
602
661
|
Linehaul = 'LINEHAUL',
|
|
662
|
+
OrderCancellation = 'ORDER_CANCELLATION',
|
|
603
663
|
Tax = 'TAX'
|
|
604
664
|
}
|
|
605
665
|
|
|
@@ -808,8 +868,11 @@ export type Customer = {
|
|
|
808
868
|
billingAddress?: Maybe<TextualAddress>;
|
|
809
869
|
/** Billing email for the business entity. Invoices are sent here */
|
|
810
870
|
billingEmail?: Maybe<Scalars['String']>;
|
|
871
|
+
/** Criteria for invoice consolidation */
|
|
872
|
+
billingInvoiceConsolidationCriteria?: Maybe<InvoiceConsolidationCriteria>;
|
|
811
873
|
/** Billing terms for the business entity in days. */
|
|
812
874
|
billingTermsDay?: Maybe<Scalars['Float']>;
|
|
875
|
+
billingWeekStartsOn?: Maybe<Scalars['Float']>;
|
|
813
876
|
/** Unique code identifying the business entity. */
|
|
814
877
|
code?: Maybe<Scalars['String']>;
|
|
815
878
|
/** Primary contact for the business entity. */
|
|
@@ -823,6 +886,8 @@ export type Customer = {
|
|
|
823
886
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
824
887
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
825
888
|
defaultShipperId?: Maybe<Scalars['ObjectId']>;
|
|
889
|
+
/** Document requirements for invoicing for this business entity */
|
|
890
|
+
documentRequirements?: Maybe<Array<DocumentRequirement>>;
|
|
826
891
|
/** Documents for the business entity */
|
|
827
892
|
documents?: Maybe<Array<Document>>;
|
|
828
893
|
/** DOT Number for carriers and brokers */
|
|
@@ -838,6 +903,7 @@ export type Customer = {
|
|
|
838
903
|
mcNumber?: Maybe<Scalars['String']>;
|
|
839
904
|
/** Legal name of the business entity. */
|
|
840
905
|
name: Scalars['String'];
|
|
906
|
+
notes?: Maybe<Array<BusinessEntityNote>>;
|
|
841
907
|
/** Opening schedules for the business entity. */
|
|
842
908
|
openingSchedules?: Maybe<Array<OpeningSchedule>>;
|
|
843
909
|
/** The business entity that this business entity belongs to */
|
|
@@ -871,6 +937,12 @@ export type Customer = {
|
|
|
871
937
|
type: BusinessEntityType;
|
|
872
938
|
};
|
|
873
939
|
|
|
940
|
+
|
|
941
|
+
/** A Customer Business entity */
|
|
942
|
+
export type CustomerStorageFacilitiesArgs = {
|
|
943
|
+
includeLinkedFacilities?: InputMaybe<Scalars['Boolean']>;
|
|
944
|
+
};
|
|
945
|
+
|
|
874
946
|
export type CustomerPaginatedResult = {
|
|
875
947
|
__typename?: 'CustomerPaginatedResult';
|
|
876
948
|
count: Scalars['Int'];
|
|
@@ -1002,13 +1074,19 @@ export type DispatchingSettings = {
|
|
|
1002
1074
|
__typename?: 'DispatchingSettings';
|
|
1003
1075
|
canChangeTripOrder?: Maybe<Scalars['Boolean']>;
|
|
1004
1076
|
canConsolidateInProgressShipments?: Maybe<Scalars['Boolean']>;
|
|
1077
|
+
canDriverSetAlternateSupplierPinCode?: Maybe<Scalars['Boolean']>;
|
|
1005
1078
|
canUseAdHocAddress?: Maybe<Scalars['Boolean']>;
|
|
1079
|
+
/** Enable warnings when delivery quantity exceeds tank capacity in order entry for monitored tanks */
|
|
1080
|
+
enableCapacityWarnings?: Maybe<Scalars['Boolean']>;
|
|
1006
1081
|
};
|
|
1007
1082
|
|
|
1008
1083
|
export type DispatchingSettingsInput = {
|
|
1009
1084
|
canChangeTripOrder?: InputMaybe<Scalars['Boolean']>;
|
|
1010
1085
|
canConsolidateInProgressShipments?: InputMaybe<Scalars['Boolean']>;
|
|
1086
|
+
canDriverSetAlternateSupplierPinCode?: InputMaybe<Scalars['Boolean']>;
|
|
1011
1087
|
canUseAdHocAddress?: InputMaybe<Scalars['Boolean']>;
|
|
1088
|
+
/** Enable warnings when delivery quantity exceeds tank capacity in order entry for monitored tanks */
|
|
1089
|
+
enableCapacityWarnings?: InputMaybe<Scalars['Boolean']>;
|
|
1012
1090
|
};
|
|
1013
1091
|
|
|
1014
1092
|
export type Document = {
|
|
@@ -1024,6 +1102,22 @@ export type DocumentInput = {
|
|
|
1024
1102
|
url: Scalars['String'];
|
|
1025
1103
|
};
|
|
1026
1104
|
|
|
1105
|
+
/** Document requirement for invoicing */
|
|
1106
|
+
export type DocumentRequirement = {
|
|
1107
|
+
__typename?: 'DocumentRequirement';
|
|
1108
|
+
attachToInvoice: Scalars['Boolean'];
|
|
1109
|
+
documentName?: Maybe<Scalars['String']>;
|
|
1110
|
+
documentType: DocumentType;
|
|
1111
|
+
requiredForInvoicing: Scalars['Boolean'];
|
|
1112
|
+
};
|
|
1113
|
+
|
|
1114
|
+
export type DocumentRequirementInput = {
|
|
1115
|
+
attachToInvoice?: InputMaybe<Scalars['Boolean']>;
|
|
1116
|
+
documentName?: InputMaybe<Scalars['String']>;
|
|
1117
|
+
documentType: DocumentType;
|
|
1118
|
+
requiredForInvoicing?: InputMaybe<Scalars['Boolean']>;
|
|
1119
|
+
};
|
|
1120
|
+
|
|
1027
1121
|
export type DocumentSignedUrl = {
|
|
1028
1122
|
__typename?: 'DocumentSignedUrl';
|
|
1029
1123
|
key: Scalars['String'];
|
|
@@ -1036,6 +1130,20 @@ export type DocumentSignedUrlInput = {
|
|
|
1036
1130
|
operation: S3_Operation;
|
|
1037
1131
|
};
|
|
1038
1132
|
|
|
1133
|
+
/** Types of documents that can be required by customers */
|
|
1134
|
+
export enum DocumentType {
|
|
1135
|
+
CustomsForm = 'CUSTOMS_FORM',
|
|
1136
|
+
DeliveryBol = 'DELIVERY_BOL',
|
|
1137
|
+
DeliveryReceipt = 'DELIVERY_RECEIPT',
|
|
1138
|
+
Invoice = 'INVOICE',
|
|
1139
|
+
Other = 'OTHER',
|
|
1140
|
+
PackingList = 'PACKING_LIST',
|
|
1141
|
+
PickupBol = 'PICKUP_BOL',
|
|
1142
|
+
ProofOfDelivery = 'PROOF_OF_DELIVERY',
|
|
1143
|
+
Ratecon = 'RATECON',
|
|
1144
|
+
WeightTicket = 'WEIGHT_TICKET'
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1039
1147
|
/** Driver entity */
|
|
1040
1148
|
export type Driver = {
|
|
1041
1149
|
__typename?: 'Driver';
|
|
@@ -1049,6 +1157,7 @@ export type Driver = {
|
|
|
1049
1157
|
domicileEntity?: Maybe<BusinessEntity>;
|
|
1050
1158
|
domicileId?: Maybe<Scalars['ObjectId']>;
|
|
1051
1159
|
eldId?: Maybe<Scalars['String']>;
|
|
1160
|
+
externalId?: Maybe<Scalars['String']>;
|
|
1052
1161
|
firstname: Scalars['String'];
|
|
1053
1162
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
1054
1163
|
hos?: Maybe<DriverHos>;
|
|
@@ -1373,6 +1482,7 @@ export type DriverUpdateInput = {
|
|
|
1373
1482
|
domicileId?: InputMaybe<Scalars['ObjectId']>;
|
|
1374
1483
|
eldId?: InputMaybe<Scalars['String']>;
|
|
1375
1484
|
email?: InputMaybe<Scalars['String']>;
|
|
1485
|
+
externalId?: InputMaybe<Scalars['String']>;
|
|
1376
1486
|
firstname?: InputMaybe<Scalars['String']>;
|
|
1377
1487
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
1378
1488
|
hos?: InputMaybe<DriverHosInput>;
|
|
@@ -1412,6 +1522,8 @@ export type EditShipmentDocumentInput = {
|
|
|
1412
1522
|
accessLevel: Array<NoteAccessLevel>;
|
|
1413
1523
|
associatedCharge?: InputMaybe<Scalars['String']>;
|
|
1414
1524
|
isBillable: Scalars['Boolean'];
|
|
1525
|
+
isForRatecons: Scalars['Boolean'];
|
|
1526
|
+
isForReceivers: Scalars['Boolean'];
|
|
1415
1527
|
name: Scalars['String'];
|
|
1416
1528
|
receiver?: InputMaybe<Scalars['String']>;
|
|
1417
1529
|
shipment?: InputMaybe<Scalars['String']>;
|
|
@@ -1445,6 +1557,7 @@ export enum Events {
|
|
|
1445
1557
|
OrgUserDeleted = 'ORG_USER_DELETED',
|
|
1446
1558
|
OrgUserRolesUpdated = 'ORG_USER_ROLES_UPDATED',
|
|
1447
1559
|
ShipmentAssigned = 'SHIPMENT_ASSIGNED',
|
|
1560
|
+
ShipmentCancelled = 'SHIPMENT_CANCELLED',
|
|
1448
1561
|
ShipmentCompleted = 'SHIPMENT_COMPLETED',
|
|
1449
1562
|
ShipmentCreated = 'SHIPMENT_CREATED',
|
|
1450
1563
|
ShipmentDeleted = 'SHIPMENT_DELETED',
|
|
@@ -1453,6 +1566,7 @@ export enum Events {
|
|
|
1453
1566
|
ShipmentEventUpdated = 'SHIPMENT_EVENT_UPDATED',
|
|
1454
1567
|
ShipmentGoodPinCodeUpdated = 'SHIPMENT_GOOD_PIN_CODE_UPDATED',
|
|
1455
1568
|
ShipmentGoodWeightUpdated = 'SHIPMENT_GOOD_WEIGHT_UPDATED',
|
|
1569
|
+
ShipmentRestored = 'SHIPMENT_RESTORED',
|
|
1456
1570
|
ShipmentUpdated = 'SHIPMENT_UPDATED',
|
|
1457
1571
|
TractorPositionUpdated = 'TRACTOR_POSITION_UPDATED',
|
|
1458
1572
|
TrailerPositionUpdated = 'TRAILER_POSITION_UPDATED',
|
|
@@ -1887,6 +2001,7 @@ export type GeneralSettings = {
|
|
|
1887
2001
|
measurementSystem?: Maybe<MeasurementSystem>;
|
|
1888
2002
|
singleClickTripCompletion?: Maybe<Scalars['Boolean']>;
|
|
1889
2003
|
useSimpleWorkflow?: Maybe<Scalars['Boolean']>;
|
|
2004
|
+
weekStartsOn?: Maybe<Scalars['Float']>;
|
|
1890
2005
|
};
|
|
1891
2006
|
|
|
1892
2007
|
export type GeneralSettingsInput = {
|
|
@@ -1896,6 +2011,7 @@ export type GeneralSettingsInput = {
|
|
|
1896
2011
|
measurementSystem?: InputMaybe<MeasurementSystem>;
|
|
1897
2012
|
singleClickTripCompletion?: InputMaybe<Scalars['Boolean']>;
|
|
1898
2013
|
useSimpleWorkflow?: InputMaybe<Scalars['Boolean']>;
|
|
2014
|
+
weekStartsOn?: InputMaybe<Scalars['Float']>;
|
|
1899
2015
|
};
|
|
1900
2016
|
|
|
1901
2017
|
export type GenerateTripInput = {
|
|
@@ -1918,8 +2034,11 @@ export type GenerateTripInput = {
|
|
|
1918
2034
|
export type Good = {
|
|
1919
2035
|
__typename?: 'Good';
|
|
1920
2036
|
_id: Scalars['String'];
|
|
2037
|
+
alternativePinCodes?: Maybe<Array<Scalars['String']>>;
|
|
1921
2038
|
goodProfileId?: Maybe<Scalars['ObjectId']>;
|
|
1922
2039
|
label: Scalars['String'];
|
|
2040
|
+
/** The quantity that was loaded by the driver */
|
|
2041
|
+
loadedQuantity?: Maybe<Scalars['Float']>;
|
|
1923
2042
|
pallet?: Maybe<Scalars['Float']>;
|
|
1924
2043
|
pieces?: Maybe<Scalars['Float']>;
|
|
1925
2044
|
pinCode?: Maybe<Scalars['String']>;
|
|
@@ -1932,30 +2051,41 @@ export type Good = {
|
|
|
1932
2051
|
|
|
1933
2052
|
export type GoodDistribution = {
|
|
1934
2053
|
__typename?: 'GoodDistribution';
|
|
2054
|
+
alternativePinCodes?: Maybe<Array<Scalars['String']>>;
|
|
2055
|
+
/** The quantity that was actually delivered to the customer */
|
|
2056
|
+
deliveredQuantity?: Maybe<Scalars['Float']>;
|
|
1935
2057
|
goodId: Scalars['String'];
|
|
1936
2058
|
goodProfile?: Maybe<GoodProfile>;
|
|
1937
2059
|
goodProfileId?: Maybe<Scalars['ObjectId']>;
|
|
1938
2060
|
pinCode?: Maybe<Scalars['String']>;
|
|
1939
2061
|
quantity?: Maybe<Scalars['Float']>;
|
|
1940
2062
|
shipperId?: Maybe<Scalars['ObjectId']>;
|
|
2063
|
+
storageFacilityId?: Maybe<Scalars['String']>;
|
|
1941
2064
|
supplierId?: Maybe<Scalars['ObjectId']>;
|
|
1942
2065
|
unitPrice?: Maybe<Scalars['Float']>;
|
|
1943
2066
|
};
|
|
1944
2067
|
|
|
1945
2068
|
export type GoodDistributionInput = {
|
|
2069
|
+
alternativePinCodes?: InputMaybe<Array<Scalars['String']>>;
|
|
2070
|
+
/** The quantity that was actually delivered to the customer */
|
|
2071
|
+
deliveredQuantity?: InputMaybe<Scalars['Float']>;
|
|
1946
2072
|
goodId: Scalars['String'];
|
|
1947
2073
|
goodProfileId?: InputMaybe<Scalars['ObjectId']>;
|
|
1948
2074
|
pinCode?: InputMaybe<Scalars['String']>;
|
|
1949
2075
|
quantity?: InputMaybe<Scalars['Float']>;
|
|
1950
2076
|
shipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
2077
|
+
storageFacilityId?: InputMaybe<Scalars['String']>;
|
|
1951
2078
|
supplierId?: InputMaybe<Scalars['ObjectId']>;
|
|
1952
2079
|
unitPrice?: InputMaybe<Scalars['Float']>;
|
|
1953
2080
|
};
|
|
1954
2081
|
|
|
1955
2082
|
export type GoodInput = {
|
|
1956
2083
|
_id: Scalars['String'];
|
|
2084
|
+
alternativePinCodes?: InputMaybe<Array<Scalars['String']>>;
|
|
1957
2085
|
goodProfileId?: InputMaybe<Scalars['ObjectId']>;
|
|
1958
2086
|
label: Scalars['String'];
|
|
2087
|
+
/** The quantity that was loaded by the driver */
|
|
2088
|
+
loadedQuantity?: InputMaybe<Scalars['Float']>;
|
|
1959
2089
|
pallet?: InputMaybe<Scalars['Float']>;
|
|
1960
2090
|
pieces?: InputMaybe<Scalars['Float']>;
|
|
1961
2091
|
pinCode?: InputMaybe<Scalars['String']>;
|
|
@@ -1988,6 +2118,10 @@ export type GoodProfile = {
|
|
|
1988
2118
|
customFields?: Maybe<Array<CustomField>>;
|
|
1989
2119
|
documents?: Maybe<Array<Document>>;
|
|
1990
2120
|
equivalences?: Maybe<Array<GoodProfileEquivalence>>;
|
|
2121
|
+
/** ID of the commodity profile in an external system. */
|
|
2122
|
+
externalId?: Maybe<Scalars['String']>;
|
|
2123
|
+
goodProfileClass?: Maybe<GoodProfileClass>;
|
|
2124
|
+
goodProfileClassId?: Maybe<Scalars['ObjectId']>;
|
|
1991
2125
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
1992
2126
|
label: Scalars['String'];
|
|
1993
2127
|
liquidGravity?: Maybe<Scalars['Float']>;
|
|
@@ -1999,6 +2133,24 @@ export type GoodProfile = {
|
|
|
1999
2133
|
weight: Scalars['Float'];
|
|
2000
2134
|
};
|
|
2001
2135
|
|
|
2136
|
+
export type GoodProfileClass = {
|
|
2137
|
+
__typename?: 'GoodProfileClass';
|
|
2138
|
+
_id: Scalars['ObjectId'];
|
|
2139
|
+
description?: Maybe<Scalars['String']>;
|
|
2140
|
+
label: Scalars['String'];
|
|
2141
|
+
};
|
|
2142
|
+
|
|
2143
|
+
export type GoodProfileClassPaginatedResult = {
|
|
2144
|
+
__typename?: 'GoodProfileClassPaginatedResult';
|
|
2145
|
+
count: Scalars['Int'];
|
|
2146
|
+
data: Array<GoodProfileClass>;
|
|
2147
|
+
};
|
|
2148
|
+
|
|
2149
|
+
export type GoodProfileClassUpdateInput = {
|
|
2150
|
+
description?: InputMaybe<Scalars['String']>;
|
|
2151
|
+
label?: InputMaybe<Scalars['String']>;
|
|
2152
|
+
};
|
|
2153
|
+
|
|
2002
2154
|
export type GoodProfileEquivalence = {
|
|
2003
2155
|
__typename?: 'GoodProfileEquivalence';
|
|
2004
2156
|
conditions: Array<GoodProfileEquivalenceCondition>;
|
|
@@ -2066,6 +2218,9 @@ export type GoodProfileUpdateInput = {
|
|
|
2066
2218
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
2067
2219
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
2068
2220
|
equivalences?: InputMaybe<Array<GoodProfileEquivalenceInput>>;
|
|
2221
|
+
/** ID of the commodity profile in an external system. */
|
|
2222
|
+
externalId?: InputMaybe<Scalars['String']>;
|
|
2223
|
+
goodProfileClassId?: InputMaybe<Scalars['ObjectId']>;
|
|
2069
2224
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
2070
2225
|
label?: InputMaybe<Scalars['String']>;
|
|
2071
2226
|
liquidGravity?: InputMaybe<Scalars['Float']>;
|
|
@@ -2127,7 +2282,10 @@ export type Invoice = {
|
|
|
2127
2282
|
charges: Array<ShipmentCharge>;
|
|
2128
2283
|
closingNote?: Maybe<Scalars['String']>;
|
|
2129
2284
|
customer?: Maybe<BusinessEntity>;
|
|
2285
|
+
/** IDs of the groups the invoice is associated with */
|
|
2286
|
+
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
2130
2287
|
invoiceNumber: Scalars['String'];
|
|
2288
|
+
missingRequiredDocuments?: Maybe<Array<DocumentRequirement>>;
|
|
2131
2289
|
paidAmount?: Maybe<Scalars['Float']>;
|
|
2132
2290
|
payments?: Maybe<Array<InvoicePayment>>;
|
|
2133
2291
|
pdfDocument: InvoicePdf;
|
|
@@ -2138,6 +2296,32 @@ export type Invoice = {
|
|
|
2138
2296
|
taxRate?: Maybe<Scalars['Float']>;
|
|
2139
2297
|
};
|
|
2140
2298
|
|
|
2299
|
+
export type InvoiceBatchResult = {
|
|
2300
|
+
__typename?: 'InvoiceBatchResult';
|
|
2301
|
+
invoicesUpdated: Array<Invoice>;
|
|
2302
|
+
textError: Scalars['String'];
|
|
2303
|
+
};
|
|
2304
|
+
|
|
2305
|
+
export type InvoiceBulkUpdateInput = {
|
|
2306
|
+
charges?: InputMaybe<Array<ShipmentChargeInput>>;
|
|
2307
|
+
closingNote?: InputMaybe<Scalars['String']>;
|
|
2308
|
+
/** IDs of the groups the invoice is associated with */
|
|
2309
|
+
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
2310
|
+
missingRequiredDocuments?: InputMaybe<Array<DocumentRequirementInput>>;
|
|
2311
|
+
paidAmount?: InputMaybe<Scalars['Float']>;
|
|
2312
|
+
payments?: InputMaybe<Array<InvoicePaymentInput>>;
|
|
2313
|
+
status?: InputMaybe<InvoiceStatus>;
|
|
2314
|
+
taxRate?: InputMaybe<Scalars['Float']>;
|
|
2315
|
+
};
|
|
2316
|
+
|
|
2317
|
+
/** Criteria for invoice consolidation */
|
|
2318
|
+
export enum InvoiceConsolidationCriteria {
|
|
2319
|
+
BolNumber = 'BOL_NUMBER',
|
|
2320
|
+
Day = 'DAY',
|
|
2321
|
+
PoNumber = 'PO_NUMBER',
|
|
2322
|
+
Week = 'WEEK'
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2141
2325
|
export type InvoiceCreatedEvent = {
|
|
2142
2326
|
__typename?: 'InvoiceCreatedEvent';
|
|
2143
2327
|
name: Events;
|
|
@@ -2209,6 +2393,9 @@ export enum InvoiceStatus {
|
|
|
2209
2393
|
export type InvoiceUpdateInput = {
|
|
2210
2394
|
charges: Array<ShipmentChargeInput>;
|
|
2211
2395
|
closingNote?: InputMaybe<Scalars['String']>;
|
|
2396
|
+
/** IDs of the groups the invoice is associated with */
|
|
2397
|
+
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
2398
|
+
missingRequiredDocuments?: InputMaybe<Array<DocumentRequirementInput>>;
|
|
2212
2399
|
paidAmount?: InputMaybe<Scalars['Float']>;
|
|
2213
2400
|
payments?: InputMaybe<Array<InvoicePaymentInput>>;
|
|
2214
2401
|
status?: InputMaybe<InvoiceStatus>;
|
|
@@ -2228,28 +2415,36 @@ export type InvoicingSettings = {
|
|
|
2228
2415
|
companyEmail?: Maybe<Scalars['String']>;
|
|
2229
2416
|
/** @deprecated Use Organization.phoneNumber instead */
|
|
2230
2417
|
companyPhone?: Maybe<Scalars['String']>;
|
|
2418
|
+
enableConsolidatedInvoicing?: Maybe<Scalars['Boolean']>;
|
|
2231
2419
|
enableTaxRate?: Maybe<Scalars['Boolean']>;
|
|
2232
2420
|
logoUrl?: Maybe<Scalars['String']>;
|
|
2233
2421
|
prefix?: Maybe<Scalars['String']>;
|
|
2234
2422
|
primaryColor?: Maybe<Scalars['String']>;
|
|
2235
2423
|
processes?: Maybe<Array<InvoicingProcess>>;
|
|
2424
|
+
receiverDocumentationBodyTemplate?: Maybe<Scalars['String']>;
|
|
2425
|
+
receiverDocumentationSubjectTemplate?: Maybe<Scalars['String']>;
|
|
2236
2426
|
remitAddress?: Maybe<TextualAddress>;
|
|
2237
2427
|
remitCompanyName?: Maybe<Scalars['String']>;
|
|
2238
2428
|
remitEmail?: Maybe<Scalars['String']>;
|
|
2429
|
+
showLoadedDeliveredQuantities?: Maybe<Scalars['Boolean']>;
|
|
2239
2430
|
};
|
|
2240
2431
|
|
|
2241
2432
|
export type InvoicingSettingsInput = {
|
|
2242
2433
|
companyAddress?: InputMaybe<Scalars['String']>;
|
|
2243
2434
|
companyEmail?: InputMaybe<Scalars['String']>;
|
|
2244
2435
|
companyPhone?: InputMaybe<Scalars['String']>;
|
|
2436
|
+
enableConsolidatedInvoicing?: InputMaybe<Scalars['Boolean']>;
|
|
2245
2437
|
enableTaxRate?: InputMaybe<Scalars['Boolean']>;
|
|
2246
2438
|
logoUrl?: InputMaybe<Scalars['String']>;
|
|
2247
2439
|
prefix?: InputMaybe<Scalars['String']>;
|
|
2248
2440
|
primaryColor?: InputMaybe<Scalars['String']>;
|
|
2249
2441
|
processes?: InputMaybe<Array<InvoicingProcess>>;
|
|
2442
|
+
receiverDocumentationBodyTemplate?: InputMaybe<Scalars['String']>;
|
|
2443
|
+
receiverDocumentationSubjectTemplate?: InputMaybe<Scalars['String']>;
|
|
2250
2444
|
remitAddress?: InputMaybe<TextualAddressInput>;
|
|
2251
2445
|
remitCompanyName?: InputMaybe<Scalars['String']>;
|
|
2252
2446
|
remitEmail?: InputMaybe<Scalars['String']>;
|
|
2447
|
+
showLoadedDeliveredQuantities?: InputMaybe<Scalars['Boolean']>;
|
|
2253
2448
|
};
|
|
2254
2449
|
|
|
2255
2450
|
export type KeycloakOrganizationAttributes = {
|
|
@@ -2488,6 +2683,7 @@ export type Mutation = {
|
|
|
2488
2683
|
addBillingRule: BillingRule;
|
|
2489
2684
|
addBroker: Broker;
|
|
2490
2685
|
addBusinessEntity: BusinessEntity;
|
|
2686
|
+
addCharge: Shipment;
|
|
2491
2687
|
addChassis: Chassis;
|
|
2492
2688
|
addCustomFieldDefinition: CustomFieldDefinition;
|
|
2493
2689
|
addCustomer: Customer;
|
|
@@ -2497,6 +2693,7 @@ export type Mutation = {
|
|
|
2497
2693
|
addDriverShift: DriverShift;
|
|
2498
2694
|
addDriverShiftAssignment: DriverShiftAssignment;
|
|
2499
2695
|
addGoodProfile: GoodProfile;
|
|
2696
|
+
addGoodProfileClass: GoodProfileClass;
|
|
2500
2697
|
addGroup: Group;
|
|
2501
2698
|
addMaintenanceTask: MaintenanceTask;
|
|
2502
2699
|
addNotesShipment: Shipment;
|
|
@@ -2505,6 +2702,8 @@ export type Mutation = {
|
|
|
2505
2702
|
addOrgUser: OrgUser;
|
|
2506
2703
|
addPaymentRule: PaymentRule;
|
|
2507
2704
|
addQualification: Qualification;
|
|
2705
|
+
addRateTable: RateTable;
|
|
2706
|
+
addReasonCode: ReasonCode;
|
|
2508
2707
|
addReceiver: Receiver;
|
|
2509
2708
|
addReceiverForecast: ReceiverForecast;
|
|
2510
2709
|
addRelationship: Relationship;
|
|
@@ -2525,8 +2724,10 @@ export type Mutation = {
|
|
|
2525
2724
|
assignTripAsset: Trip;
|
|
2526
2725
|
assignTripAssets?: Maybe<Trip>;
|
|
2527
2726
|
assignTripTrailerCompartments: Trip;
|
|
2727
|
+
batchProcessInvoices?: Maybe<InvoiceBatchResult>;
|
|
2528
2728
|
bulkAddBusinessEntities: Array<BusinessEntity>;
|
|
2529
2729
|
bulkAddDrivers: Array<Driver>;
|
|
2730
|
+
bulkAddGoodProfileClasses: Array<GoodProfileClass>;
|
|
2530
2731
|
bulkAddGoodProfiles: Array<GoodProfile>;
|
|
2531
2732
|
bulkAddGroups: Array<Group>;
|
|
2532
2733
|
bulkAddOrders: Array<Order>;
|
|
@@ -2541,6 +2742,7 @@ export type Mutation = {
|
|
|
2541
2742
|
bulkEditBusinessEntities: BulkUpdateResult;
|
|
2542
2743
|
bulkEditDrivers: BulkUpdateResult;
|
|
2543
2744
|
bulkEditGoodProfiles: BulkUpdateResult;
|
|
2745
|
+
bulkEditInvoices?: Maybe<Array<Invoice>>;
|
|
2544
2746
|
bulkEditShipments: BulkUpdateResult;
|
|
2545
2747
|
bulkEditTractors: BulkUpdateResult;
|
|
2546
2748
|
bulkEditTrailers: BulkUpdateResult;
|
|
@@ -2556,6 +2758,7 @@ export type Mutation = {
|
|
|
2556
2758
|
deleteBillingRule: Scalars['Boolean'];
|
|
2557
2759
|
deleteBroker: Scalars['Boolean'];
|
|
2558
2760
|
deleteBusinessEntity: Scalars['Boolean'];
|
|
2761
|
+
deleteCharge: Shipment;
|
|
2559
2762
|
deleteCustomFieldDefinition: Scalars['Boolean'];
|
|
2560
2763
|
deleteCustomer: Scalars['Boolean'];
|
|
2561
2764
|
deleteCustomerOrder: Scalars['Boolean'];
|
|
@@ -2566,6 +2769,7 @@ export type Mutation = {
|
|
|
2566
2769
|
deleteDriverShift: Scalars['Boolean'];
|
|
2567
2770
|
deleteDriverShiftAssignment: Scalars['Boolean'];
|
|
2568
2771
|
deleteGoodProfile: Scalars['Boolean'];
|
|
2772
|
+
deleteGoodProfileClass?: Maybe<Scalars['Boolean']>;
|
|
2569
2773
|
deleteGroup: Scalars['Boolean'];
|
|
2570
2774
|
deleteInvoice: Scalars['Boolean'];
|
|
2571
2775
|
deleteMaintenanceTask: Scalars['Boolean'];
|
|
@@ -2574,6 +2778,8 @@ export type Mutation = {
|
|
|
2574
2778
|
deleteOrgUser: Scalars['Boolean'];
|
|
2575
2779
|
deletePaymentRule: Scalars['Boolean'];
|
|
2576
2780
|
deleteQualification: Scalars['Boolean'];
|
|
2781
|
+
deleteRateTable: Scalars['Boolean'];
|
|
2782
|
+
deleteReasonCode: Scalars['Boolean'];
|
|
2577
2783
|
deleteReceiver: Scalars['Boolean'];
|
|
2578
2784
|
deleteReceiverForecast: Scalars['Boolean'];
|
|
2579
2785
|
deleteRelationship: Scalars['Boolean'];
|
|
@@ -2594,6 +2800,7 @@ export type Mutation = {
|
|
|
2594
2800
|
editBillingRule: BillingRule;
|
|
2595
2801
|
editBroker: Broker;
|
|
2596
2802
|
editBusinessEntity: BusinessEntity;
|
|
2803
|
+
editCharge: Shipment;
|
|
2597
2804
|
editCustomFieldDefinition: CustomFieldDefinition;
|
|
2598
2805
|
editCustomer: Customer;
|
|
2599
2806
|
editCustomerOrder: Order;
|
|
@@ -2606,6 +2813,7 @@ export type Mutation = {
|
|
|
2606
2813
|
/** Edit good pin code */
|
|
2607
2814
|
editGoodPinCode?: Maybe<Shipment>;
|
|
2608
2815
|
editGoodProfile: GoodProfile;
|
|
2816
|
+
editGoodProfileClass?: Maybe<GoodProfileClass>;
|
|
2609
2817
|
/** Edit good weight */
|
|
2610
2818
|
editGoodWeight?: Maybe<Shipment>;
|
|
2611
2819
|
editGroup: Group;
|
|
@@ -2618,6 +2826,8 @@ export type Mutation = {
|
|
|
2618
2826
|
editOrganization: Scalars['String'];
|
|
2619
2827
|
editPaymentRule?: Maybe<PaymentRule>;
|
|
2620
2828
|
editQualification: Qualification;
|
|
2829
|
+
editRateTable: RateTable;
|
|
2830
|
+
editReasonCode: ReasonCode;
|
|
2621
2831
|
editReceiver: Receiver;
|
|
2622
2832
|
editReceiverForecast: ReceiverForecast;
|
|
2623
2833
|
editRelationship: Relationship;
|
|
@@ -2637,6 +2847,7 @@ export type Mutation = {
|
|
|
2637
2847
|
generateDriverSettlement: DriverSettlement;
|
|
2638
2848
|
generateDriverSettlementForTrips: DriverSettlement;
|
|
2639
2849
|
generateInvoice: Invoice;
|
|
2850
|
+
generateReportCsv: ReportCsv;
|
|
2640
2851
|
generateReportPdf: ReportPdf;
|
|
2641
2852
|
generateShipmentRoute: ShipmentRoute;
|
|
2642
2853
|
generateTrip: Trip;
|
|
@@ -2654,6 +2865,7 @@ export type Mutation = {
|
|
|
2654
2865
|
rankSupplierContractsForPurchases: Array<SupplierContractRanking>;
|
|
2655
2866
|
removeShipmentFromTrip: RemoveShipmentFromTripResult;
|
|
2656
2867
|
reportShipmentIssue: Shipment;
|
|
2868
|
+
resendDocumentsToReceivers: Scalars['String'];
|
|
2657
2869
|
restoreLatestSnapshot: Scalars['Boolean'];
|
|
2658
2870
|
restoreShipment: Shipment;
|
|
2659
2871
|
saveDataSnapshot: Snapshot;
|
|
@@ -2668,6 +2880,8 @@ export type Mutation = {
|
|
|
2668
2880
|
uninstallExtension: Scalars['Boolean'];
|
|
2669
2881
|
updateAccountStatus: Scalars['Boolean'];
|
|
2670
2882
|
updateDriverSettlementStatus?: Maybe<DriverSettlement>;
|
|
2883
|
+
updateGoodDeliveredQuantity: Shipment;
|
|
2884
|
+
updateGoodLoadedQuantity: Shipment;
|
|
2671
2885
|
updateInvoiceStatus?: Maybe<Invoice>;
|
|
2672
2886
|
updateInvoiceTaxRate?: Maybe<Invoice>;
|
|
2673
2887
|
updateMyAccount: OrgUser;
|
|
@@ -2699,6 +2913,12 @@ export type MutationAddBusinessEntityArgs = {
|
|
|
2699
2913
|
};
|
|
2700
2914
|
|
|
2701
2915
|
|
|
2916
|
+
export type MutationAddChargeArgs = {
|
|
2917
|
+
chargeData: ShipmentChargeInput;
|
|
2918
|
+
shipmentId: Scalars['String'];
|
|
2919
|
+
};
|
|
2920
|
+
|
|
2921
|
+
|
|
2702
2922
|
export type MutationAddChassisArgs = {
|
|
2703
2923
|
newChassisData: NewTractorInput;
|
|
2704
2924
|
};
|
|
@@ -2744,6 +2964,11 @@ export type MutationAddGoodProfileArgs = {
|
|
|
2744
2964
|
};
|
|
2745
2965
|
|
|
2746
2966
|
|
|
2967
|
+
export type MutationAddGoodProfileClassArgs = {
|
|
2968
|
+
newGoodProfileClassData: NewGoodProfileClassInput;
|
|
2969
|
+
};
|
|
2970
|
+
|
|
2971
|
+
|
|
2747
2972
|
export type MutationAddGroupArgs = {
|
|
2748
2973
|
newGroupData: NewGroupInput;
|
|
2749
2974
|
};
|
|
@@ -2784,6 +3009,16 @@ export type MutationAddQualificationArgs = {
|
|
|
2784
3009
|
};
|
|
2785
3010
|
|
|
2786
3011
|
|
|
3012
|
+
export type MutationAddRateTableArgs = {
|
|
3013
|
+
newRateTableData: NewRateTableInput;
|
|
3014
|
+
};
|
|
3015
|
+
|
|
3016
|
+
|
|
3017
|
+
export type MutationAddReasonCodeArgs = {
|
|
3018
|
+
newReasonCodeData: NewReasonCodeInput;
|
|
3019
|
+
};
|
|
3020
|
+
|
|
3021
|
+
|
|
2787
3022
|
export type MutationAddReceiverArgs = {
|
|
2788
3023
|
newReceiverData: NewBusinessEntityInput;
|
|
2789
3024
|
};
|
|
@@ -2885,6 +3120,12 @@ export type MutationAssignTripTrailerCompartmentsArgs = {
|
|
|
2885
3120
|
};
|
|
2886
3121
|
|
|
2887
3122
|
|
|
3123
|
+
export type MutationBatchProcessInvoicesArgs = {
|
|
3124
|
+
invoiceIds: Array<Scalars['ObjectId']>;
|
|
3125
|
+
status: InvoiceStatus;
|
|
3126
|
+
};
|
|
3127
|
+
|
|
3128
|
+
|
|
2888
3129
|
export type MutationBulkAddBusinessEntitiesArgs = {
|
|
2889
3130
|
newBusinessEntityData: Array<NewBusinessEntityInputWithType>;
|
|
2890
3131
|
};
|
|
@@ -2895,6 +3136,11 @@ export type MutationBulkAddDriversArgs = {
|
|
|
2895
3136
|
};
|
|
2896
3137
|
|
|
2897
3138
|
|
|
3139
|
+
export type MutationBulkAddGoodProfileClassesArgs = {
|
|
3140
|
+
newGoodProfileClassesData: Array<NewGoodProfileClassInput>;
|
|
3141
|
+
};
|
|
3142
|
+
|
|
3143
|
+
|
|
2898
3144
|
export type MutationBulkAddGoodProfilesArgs = {
|
|
2899
3145
|
newGoodProfilesData: Array<NewGoodProfileInput>;
|
|
2900
3146
|
};
|
|
@@ -2969,6 +3215,12 @@ export type MutationBulkEditGoodProfilesArgs = {
|
|
|
2969
3215
|
};
|
|
2970
3216
|
|
|
2971
3217
|
|
|
3218
|
+
export type MutationBulkEditInvoicesArgs = {
|
|
3219
|
+
bulkEditInvoiceData: InvoiceBulkUpdateInput;
|
|
3220
|
+
ids: Array<Scalars['ObjectId']>;
|
|
3221
|
+
};
|
|
3222
|
+
|
|
3223
|
+
|
|
2972
3224
|
export type MutationBulkEditShipmentsArgs = {
|
|
2973
3225
|
editshipmentsData: ShipmentUpdateInput;
|
|
2974
3226
|
ids: Array<Scalars['ObjectId']>;
|
|
@@ -3050,6 +3302,12 @@ export type MutationDeleteBusinessEntityArgs = {
|
|
|
3050
3302
|
};
|
|
3051
3303
|
|
|
3052
3304
|
|
|
3305
|
+
export type MutationDeleteChargeArgs = {
|
|
3306
|
+
chargeId: Scalars['String'];
|
|
3307
|
+
shipmentId: Scalars['String'];
|
|
3308
|
+
};
|
|
3309
|
+
|
|
3310
|
+
|
|
3053
3311
|
export type MutationDeleteCustomFieldDefinitionArgs = {
|
|
3054
3312
|
id: Scalars['String'];
|
|
3055
3313
|
};
|
|
@@ -3100,6 +3358,11 @@ export type MutationDeleteGoodProfileArgs = {
|
|
|
3100
3358
|
};
|
|
3101
3359
|
|
|
3102
3360
|
|
|
3361
|
+
export type MutationDeleteGoodProfileClassArgs = {
|
|
3362
|
+
id: Scalars['ObjectId'];
|
|
3363
|
+
};
|
|
3364
|
+
|
|
3365
|
+
|
|
3103
3366
|
export type MutationDeleteGroupArgs = {
|
|
3104
3367
|
id: Scalars['String'];
|
|
3105
3368
|
};
|
|
@@ -3140,6 +3403,16 @@ export type MutationDeleteQualificationArgs = {
|
|
|
3140
3403
|
};
|
|
3141
3404
|
|
|
3142
3405
|
|
|
3406
|
+
export type MutationDeleteRateTableArgs = {
|
|
3407
|
+
id: Scalars['String'];
|
|
3408
|
+
};
|
|
3409
|
+
|
|
3410
|
+
|
|
3411
|
+
export type MutationDeleteReasonCodeArgs = {
|
|
3412
|
+
id: Scalars['ObjectId'];
|
|
3413
|
+
};
|
|
3414
|
+
|
|
3415
|
+
|
|
3143
3416
|
export type MutationDeleteReceiverArgs = {
|
|
3144
3417
|
id: Scalars['String'];
|
|
3145
3418
|
};
|
|
@@ -3247,6 +3520,12 @@ export type MutationEditBusinessEntityArgs = {
|
|
|
3247
3520
|
};
|
|
3248
3521
|
|
|
3249
3522
|
|
|
3523
|
+
export type MutationEditChargeArgs = {
|
|
3524
|
+
editChargeData: ShipmentChargeInput;
|
|
3525
|
+
shipmentId: Scalars['String'];
|
|
3526
|
+
};
|
|
3527
|
+
|
|
3528
|
+
|
|
3250
3529
|
export type MutationEditCustomFieldDefinitionArgs = {
|
|
3251
3530
|
editCustomFieldDefinitionData: CustomFieldDefinitionUpdateInput;
|
|
3252
3531
|
id: Scalars['String'];
|
|
@@ -3313,6 +3592,12 @@ export type MutationEditGoodProfileArgs = {
|
|
|
3313
3592
|
};
|
|
3314
3593
|
|
|
3315
3594
|
|
|
3595
|
+
export type MutationEditGoodProfileClassArgs = {
|
|
3596
|
+
editGoodProfileClassData: GoodProfileClassUpdateInput;
|
|
3597
|
+
id: Scalars['ObjectId'];
|
|
3598
|
+
};
|
|
3599
|
+
|
|
3600
|
+
|
|
3316
3601
|
export type MutationEditGoodWeightArgs = {
|
|
3317
3602
|
goodId: Scalars['String'];
|
|
3318
3603
|
id: Scalars['ObjectId'];
|
|
@@ -3378,6 +3663,18 @@ export type MutationEditQualificationArgs = {
|
|
|
3378
3663
|
};
|
|
3379
3664
|
|
|
3380
3665
|
|
|
3666
|
+
export type MutationEditRateTableArgs = {
|
|
3667
|
+
editRateTableData: RateTableUpdateInput;
|
|
3668
|
+
id: Scalars['String'];
|
|
3669
|
+
};
|
|
3670
|
+
|
|
3671
|
+
|
|
3672
|
+
export type MutationEditReasonCodeArgs = {
|
|
3673
|
+
editReasonCodeData: ReasonCodeUpdateInput;
|
|
3674
|
+
id: Scalars['ObjectId'];
|
|
3675
|
+
};
|
|
3676
|
+
|
|
3677
|
+
|
|
3381
3678
|
export type MutationEditReceiverArgs = {
|
|
3382
3679
|
editReceiverData: BusinessEntityUpdateInput;
|
|
3383
3680
|
id: Scalars['String'];
|
|
@@ -3491,6 +3788,15 @@ export type MutationGenerateInvoiceArgs = {
|
|
|
3491
3788
|
};
|
|
3492
3789
|
|
|
3493
3790
|
|
|
3791
|
+
export type MutationGenerateReportCsvArgs = {
|
|
3792
|
+
filter?: InputMaybe<Scalars['ReportFilter']>;
|
|
3793
|
+
lang: Scalars['String'];
|
|
3794
|
+
period: PeriodInput;
|
|
3795
|
+
reportType: ReportType;
|
|
3796
|
+
timezone: Scalars['String'];
|
|
3797
|
+
};
|
|
3798
|
+
|
|
3799
|
+
|
|
3494
3800
|
export type MutationGenerateReportPdfArgs = {
|
|
3495
3801
|
filter?: InputMaybe<Scalars['ReportFilter']>;
|
|
3496
3802
|
lang: Scalars['String'];
|
|
@@ -3576,6 +3882,11 @@ export type MutationReportShipmentIssueArgs = {
|
|
|
3576
3882
|
};
|
|
3577
3883
|
|
|
3578
3884
|
|
|
3885
|
+
export type MutationResendDocumentsToReceiversArgs = {
|
|
3886
|
+
shipmentId: Scalars['ObjectId'];
|
|
3887
|
+
};
|
|
3888
|
+
|
|
3889
|
+
|
|
3579
3890
|
export type MutationRestoreShipmentArgs = {
|
|
3580
3891
|
id: Scalars['String'];
|
|
3581
3892
|
};
|
|
@@ -3644,6 +3955,16 @@ export type MutationUpdateDriverSettlementStatusArgs = {
|
|
|
3644
3955
|
};
|
|
3645
3956
|
|
|
3646
3957
|
|
|
3958
|
+
export type MutationUpdateGoodDeliveredQuantityArgs = {
|
|
3959
|
+
input: UpdateGoodDeliveredQuantityInput;
|
|
3960
|
+
};
|
|
3961
|
+
|
|
3962
|
+
|
|
3963
|
+
export type MutationUpdateGoodLoadedQuantityArgs = {
|
|
3964
|
+
input: UpdateGoodLoadedQuantityInput;
|
|
3965
|
+
};
|
|
3966
|
+
|
|
3967
|
+
|
|
3647
3968
|
export type MutationUpdateInvoiceStatusArgs = {
|
|
3648
3969
|
closingNote?: InputMaybe<Scalars['String']>;
|
|
3649
3970
|
invoiceId: Scalars['String'];
|
|
@@ -3729,13 +4050,18 @@ export type NewBusinessEntityInput = {
|
|
|
3729
4050
|
address: NewAddressInput;
|
|
3730
4051
|
billingAddress?: InputMaybe<NewTextualAddressInput>;
|
|
3731
4052
|
billingEmail?: InputMaybe<Scalars['String']>;
|
|
4053
|
+
/** Criteria for invoice consolidation */
|
|
4054
|
+
billingInvoiceConsolidationCriteria?: InputMaybe<InvoiceConsolidationCriteria>;
|
|
3732
4055
|
billingTermsDay?: InputMaybe<Scalars['Float']>;
|
|
4056
|
+
billingWeekStartsOn?: InputMaybe<Scalars['Float']>;
|
|
3733
4057
|
code?: InputMaybe<Scalars['String']>;
|
|
3734
4058
|
contact?: InputMaybe<NewContactInput>;
|
|
3735
4059
|
creditTerms?: InputMaybe<Scalars['String']>;
|
|
3736
4060
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
3737
4061
|
defaultReferenceNumbers?: InputMaybe<Array<DefaultReferenceNumberInput>>;
|
|
3738
4062
|
defaultShipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
4063
|
+
/** Document requirements for invoicing for this business entity */
|
|
4064
|
+
documentRequirements?: InputMaybe<Array<DocumentRequirementInput>>;
|
|
3739
4065
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
3740
4066
|
dotNumber?: InputMaybe<Scalars['String']>;
|
|
3741
4067
|
externalId?: InputMaybe<Scalars['String']>;
|
|
@@ -3744,6 +4070,7 @@ export type NewBusinessEntityInput = {
|
|
|
3744
4070
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3745
4071
|
mcNumber?: InputMaybe<Scalars['String']>;
|
|
3746
4072
|
name: Scalars['String'];
|
|
4073
|
+
notes?: InputMaybe<Array<BusinessEntityNoteInput>>;
|
|
3747
4074
|
openingSchedules?: InputMaybe<Array<OpeningScheduleInput>>;
|
|
3748
4075
|
parentBusinessEntityId?: InputMaybe<Scalars['ObjectId']>;
|
|
3749
4076
|
payToProfileId?: InputMaybe<Scalars['ObjectId']>;
|
|
@@ -3767,13 +4094,18 @@ export type NewBusinessEntityInputWithType = {
|
|
|
3767
4094
|
address: NewAddressInput;
|
|
3768
4095
|
billingAddress?: InputMaybe<NewTextualAddressInput>;
|
|
3769
4096
|
billingEmail?: InputMaybe<Scalars['String']>;
|
|
4097
|
+
/** Criteria for invoice consolidation */
|
|
4098
|
+
billingInvoiceConsolidationCriteria?: InputMaybe<InvoiceConsolidationCriteria>;
|
|
3770
4099
|
billingTermsDay?: InputMaybe<Scalars['Float']>;
|
|
4100
|
+
billingWeekStartsOn?: InputMaybe<Scalars['Float']>;
|
|
3771
4101
|
code?: InputMaybe<Scalars['String']>;
|
|
3772
4102
|
contact?: InputMaybe<NewContactInput>;
|
|
3773
4103
|
creditTerms?: InputMaybe<Scalars['String']>;
|
|
3774
4104
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
3775
4105
|
defaultReferenceNumbers?: InputMaybe<Array<DefaultReferenceNumberInput>>;
|
|
3776
4106
|
defaultShipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
4107
|
+
/** Document requirements for invoicing for this business entity */
|
|
4108
|
+
documentRequirements?: InputMaybe<Array<DocumentRequirementInput>>;
|
|
3777
4109
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
3778
4110
|
dotNumber?: InputMaybe<Scalars['String']>;
|
|
3779
4111
|
externalId?: InputMaybe<Scalars['String']>;
|
|
@@ -3782,6 +4114,7 @@ export type NewBusinessEntityInputWithType = {
|
|
|
3782
4114
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3783
4115
|
mcNumber?: InputMaybe<Scalars['String']>;
|
|
3784
4116
|
name: Scalars['String'];
|
|
4117
|
+
notes?: InputMaybe<Array<BusinessEntityNoteInput>>;
|
|
3785
4118
|
openingSchedules?: InputMaybe<Array<OpeningScheduleInput>>;
|
|
3786
4119
|
parentBusinessEntityId?: InputMaybe<Scalars['ObjectId']>;
|
|
3787
4120
|
payToProfileId?: InputMaybe<Scalars['ObjectId']>;
|
|
@@ -3844,6 +4177,7 @@ export type NewDriverInput = {
|
|
|
3844
4177
|
domicileId?: InputMaybe<Scalars['ObjectId']>;
|
|
3845
4178
|
eldId?: InputMaybe<Scalars['String']>;
|
|
3846
4179
|
email?: InputMaybe<Scalars['String']>;
|
|
4180
|
+
externalId?: InputMaybe<Scalars['String']>;
|
|
3847
4181
|
firstname: Scalars['String'];
|
|
3848
4182
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3849
4183
|
hos?: InputMaybe<DriverHosInput>;
|
|
@@ -3878,12 +4212,20 @@ export type NewDriverShiftInput = {
|
|
|
3878
4212
|
startTime: TimeInput;
|
|
3879
4213
|
};
|
|
3880
4214
|
|
|
4215
|
+
export type NewGoodProfileClassInput = {
|
|
4216
|
+
description?: InputMaybe<Scalars['String']>;
|
|
4217
|
+
label: Scalars['String'];
|
|
4218
|
+
};
|
|
4219
|
+
|
|
3881
4220
|
export type NewGoodProfileInput = {
|
|
3882
4221
|
code?: InputMaybe<Scalars['String']>;
|
|
3883
4222
|
color?: InputMaybe<Scalars['String']>;
|
|
3884
4223
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
3885
4224
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
3886
4225
|
equivalences?: InputMaybe<Array<GoodProfileEquivalenceInput>>;
|
|
4226
|
+
/** ID of the commodity profile in an external system. */
|
|
4227
|
+
externalId?: InputMaybe<Scalars['String']>;
|
|
4228
|
+
goodProfileClassId?: InputMaybe<Scalars['ObjectId']>;
|
|
3887
4229
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3888
4230
|
label: Scalars['String'];
|
|
3889
4231
|
liquidGravity?: InputMaybe<Scalars['Float']>;
|
|
@@ -3943,6 +4285,7 @@ export type NewOrganizationInput = {
|
|
|
3943
4285
|
email?: InputMaybe<Scalars['Email']>;
|
|
3944
4286
|
name: Scalars['String'];
|
|
3945
4287
|
phoneNumber?: InputMaybe<Scalars['String']>;
|
|
4288
|
+
taxId?: InputMaybe<Scalars['String']>;
|
|
3946
4289
|
};
|
|
3947
4290
|
|
|
3948
4291
|
export type NewPaymentRuleInput = {
|
|
@@ -3963,6 +4306,30 @@ export type NewQualificationInput = {
|
|
|
3963
4306
|
startDate: Scalars['DateTime'];
|
|
3964
4307
|
};
|
|
3965
4308
|
|
|
4309
|
+
export type NewRateTableInput = {
|
|
4310
|
+
/** Matrix of rate cells. For 1D tables, use cells[i][0]. For 2D tables, use cells[i][j] where i=row, j=column */
|
|
4311
|
+
cells: Array<Array<RateTableCellInput>>;
|
|
4312
|
+
/** Only required for two-dimensional tables */
|
|
4313
|
+
columnAxis?: InputMaybe<RateTableAxisInput>;
|
|
4314
|
+
description?: InputMaybe<Scalars['String']>;
|
|
4315
|
+
entityId: Scalars['ObjectId'];
|
|
4316
|
+
entityType: RateTableEntityType;
|
|
4317
|
+
isActive?: InputMaybe<Scalars['Boolean']>;
|
|
4318
|
+
label: Scalars['String'];
|
|
4319
|
+
priority?: InputMaybe<Scalars['Float']>;
|
|
4320
|
+
rateType: RateTableType;
|
|
4321
|
+
referenceNumber?: InputMaybe<Scalars['String']>;
|
|
4322
|
+
rowAxis: RateTableAxisInput;
|
|
4323
|
+
};
|
|
4324
|
+
|
|
4325
|
+
export type NewReasonCodeInput = {
|
|
4326
|
+
description?: InputMaybe<Scalars['String']>;
|
|
4327
|
+
locationId?: InputMaybe<Scalars['String']>;
|
|
4328
|
+
shipmentId?: InputMaybe<Scalars['ObjectId']>;
|
|
4329
|
+
tripId?: InputMaybe<Scalars['ObjectId']>;
|
|
4330
|
+
type: ReasonCodeType;
|
|
4331
|
+
};
|
|
4332
|
+
|
|
3966
4333
|
export type NewReceiverForecastInput = {
|
|
3967
4334
|
models: Array<ForecastingModelInput>;
|
|
3968
4335
|
readingsFileConfiguration?: InputMaybe<ReadingsFileConfigurationInput>;
|
|
@@ -3998,6 +4365,7 @@ export type NewShipmentInput = {
|
|
|
3998
4365
|
orderId?: InputMaybe<Scalars['ObjectId']>;
|
|
3999
4366
|
postOfficeNumber?: InputMaybe<Scalars['String']>;
|
|
4000
4367
|
purchaseOrderNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
4368
|
+
rateConNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
4001
4369
|
recurrence?: InputMaybe<ShipmentRecurrenceInput>;
|
|
4002
4370
|
referenceNumber?: InputMaybe<Scalars['String']>;
|
|
4003
4371
|
referenceNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
@@ -4017,13 +4385,13 @@ export type NewStorageFacilityReadingInput = {
|
|
|
4017
4385
|
|
|
4018
4386
|
export type NewSupplierContractInput = {
|
|
4019
4387
|
/** The maximum quantities of product allowed by the contract */
|
|
4020
|
-
allocation
|
|
4388
|
+
allocation?: InputMaybe<SupplierContractAllocationInput>;
|
|
4021
4389
|
/** The conditions that must be met for the contract to apply */
|
|
4022
4390
|
conditions?: InputMaybe<Array<SupplierContractConditionInput>>;
|
|
4023
4391
|
/** The identifier of the contract */
|
|
4024
4392
|
contractNumber: Scalars['String'];
|
|
4025
4393
|
/** The id of the customer that the contract is for */
|
|
4026
|
-
customerId
|
|
4394
|
+
customerId?: InputMaybe<Scalars['ObjectId']>;
|
|
4027
4395
|
/** The end date of the contract. The contract cannot be used after this date */
|
|
4028
4396
|
endDate: Scalars['DateTime'];
|
|
4029
4397
|
/** The id of the commodity that the contract is for */
|
|
@@ -4031,7 +4399,7 @@ export type NewSupplierContractInput = {
|
|
|
4031
4399
|
/** The pin code to use the contract */
|
|
4032
4400
|
pinCode?: InputMaybe<Scalars['String']>;
|
|
4033
4401
|
/** The id of the shipper where the commodity can be picked up at */
|
|
4034
|
-
shipperId
|
|
4402
|
+
shipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
4035
4403
|
/** The start date of the contract. The contract cannot be used before this date */
|
|
4036
4404
|
startDate: Scalars['DateTime'];
|
|
4037
4405
|
/** The id of the supplier that the contract is with */
|
|
@@ -4057,6 +4425,7 @@ export type NewTractorInput = {
|
|
|
4057
4425
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
4058
4426
|
domicile?: InputMaybe<NewAddressInput>;
|
|
4059
4427
|
eldId?: InputMaybe<Scalars['String']>;
|
|
4428
|
+
externalId?: InputMaybe<Scalars['String']>;
|
|
4060
4429
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
4061
4430
|
licenseNumber?: InputMaybe<Scalars['String']>;
|
|
4062
4431
|
make?: InputMaybe<Scalars['String']>;
|
|
@@ -4118,6 +4487,7 @@ export type NewTripInput = {
|
|
|
4118
4487
|
};
|
|
4119
4488
|
|
|
4120
4489
|
export enum NoteAccessLevel {
|
|
4490
|
+
Carrier = 'CARRIER',
|
|
4121
4491
|
Customer = 'CUSTOMER',
|
|
4122
4492
|
Dispatcher = 'DISPATCHER',
|
|
4123
4493
|
Driver = 'DRIVER'
|
|
@@ -4255,6 +4625,7 @@ export type Organization = {
|
|
|
4255
4625
|
phoneNumber?: Maybe<Scalars['String']>;
|
|
4256
4626
|
/** @deprecated This field should not be used by any client. The realm is the same accross all orgs */
|
|
4257
4627
|
realm: Scalars['String'];
|
|
4628
|
+
taxId?: Maybe<Scalars['String']>;
|
|
4258
4629
|
};
|
|
4259
4630
|
|
|
4260
4631
|
export type OrganizationDocument = {
|
|
@@ -4297,6 +4668,7 @@ export type OrganizationUpdateInput = {
|
|
|
4297
4668
|
email?: InputMaybe<Scalars['Email']>;
|
|
4298
4669
|
name?: InputMaybe<Scalars['String']>;
|
|
4299
4670
|
phoneNumber?: InputMaybe<Scalars['String']>;
|
|
4671
|
+
taxId?: InputMaybe<Scalars['String']>;
|
|
4300
4672
|
};
|
|
4301
4673
|
|
|
4302
4674
|
export type PartialShipment = {
|
|
@@ -4337,6 +4709,8 @@ export type PartialShipment = {
|
|
|
4337
4709
|
expenses?: Maybe<Array<Transaction>>;
|
|
4338
4710
|
/** IDs of the groups the shipment is associated with */
|
|
4339
4711
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
4712
|
+
/** Whether the shipment is applicable for charge order cancellation */
|
|
4713
|
+
isApplicableChargeOrderCancellation?: Maybe<Scalars['Boolean']>;
|
|
4340
4714
|
/** Set for child shipments of a master shipment with rotations */
|
|
4341
4715
|
isFromRotation?: Maybe<Scalars['Boolean']>;
|
|
4342
4716
|
/** Whether the shipment is a child of a split shipment */
|
|
@@ -4362,6 +4736,8 @@ export type PartialShipment = {
|
|
|
4362
4736
|
postOfficeNumber?: Maybe<Scalars['String']>;
|
|
4363
4737
|
/** Purchase order numbers for the shipment */
|
|
4364
4738
|
purchaseOrderNumbers?: Maybe<Array<Scalars['String']>>;
|
|
4739
|
+
/** Rate confirmation numbers for the shipment */
|
|
4740
|
+
rateConNumbers?: Maybe<Array<Scalars['String']>>;
|
|
4365
4741
|
/** For cancelled shipments, the reason for cancellation */
|
|
4366
4742
|
reasonForCancellation?: Maybe<Scalars['String']>;
|
|
4367
4743
|
/** For recurrent shipments, the recurrence pattern */
|
|
@@ -4539,6 +4915,12 @@ export type QualificationUpdateInput = {
|
|
|
4539
4915
|
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
4540
4916
|
};
|
|
4541
4917
|
|
|
4918
|
+
export enum QuantityType {
|
|
4919
|
+
Delivered = 'DELIVERED',
|
|
4920
|
+
Loaded = 'LOADED',
|
|
4921
|
+
Ordered = 'ORDERED'
|
|
4922
|
+
}
|
|
4923
|
+
|
|
4542
4924
|
export type Query = {
|
|
4543
4925
|
__typename?: 'Query';
|
|
4544
4926
|
assetLinkingByDriverId?: Maybe<AssetLinking>;
|
|
@@ -4561,6 +4943,7 @@ export type Query = {
|
|
|
4561
4943
|
customerById: Customer;
|
|
4562
4944
|
customerOrderById: Order;
|
|
4563
4945
|
customerOrders: OrderPaginatedResult;
|
|
4946
|
+
customerRateTables: RateTablePaginatedResult;
|
|
4564
4947
|
customerShipments: ShipmentPaginatedResult;
|
|
4565
4948
|
customers: CustomerPaginatedResult;
|
|
4566
4949
|
cutomFieldDefinitions: CustomFieldDefinitionPaginatedResult;
|
|
@@ -4569,6 +4952,7 @@ export type Query = {
|
|
|
4569
4952
|
driverByEldId?: Maybe<Driver>;
|
|
4570
4953
|
driverById: Driver;
|
|
4571
4954
|
driverByLicenseNumber?: Maybe<Driver>;
|
|
4955
|
+
driverRateTables: RateTablePaginatedResult;
|
|
4572
4956
|
driverSettlementById?: Maybe<DriverSettlement>;
|
|
4573
4957
|
driverSettlementByNumber: DriverSettlement;
|
|
4574
4958
|
driverSettlements: DriverSettlementPaginatedResult;
|
|
@@ -4587,6 +4971,8 @@ export type Query = {
|
|
|
4587
4971
|
extensionsWidgets: Array<ExtensionWidgetWithExtensionInfo>;
|
|
4588
4972
|
forecastingNotifications: Array<ForecastingNotification>;
|
|
4589
4973
|
goodProfileById: GoodProfile;
|
|
4974
|
+
goodProfileClassById?: Maybe<GoodProfileClass>;
|
|
4975
|
+
goodProfileClasses: GoodProfileClassPaginatedResult;
|
|
4590
4976
|
goodProfiles: GoodProfilePaginatedResult;
|
|
4591
4977
|
groupById: Group;
|
|
4592
4978
|
groups: GroupPaginatedResult;
|
|
@@ -4615,6 +5001,12 @@ export type Query = {
|
|
|
4615
5001
|
qualificationByDriverId?: Maybe<Qualification>;
|
|
4616
5002
|
qualificationById?: Maybe<Qualification>;
|
|
4617
5003
|
qualifications: QualificationPaginatedResult;
|
|
5004
|
+
rateTableById: RateTable;
|
|
5005
|
+
rateTables: RateTablePaginatedResult;
|
|
5006
|
+
reasonCodeById?: Maybe<ReasonCode>;
|
|
5007
|
+
reasonCodes: ReasonCodePaginatedResult;
|
|
5008
|
+
reasonCodesByShipment: ReasonCodePaginatedResult;
|
|
5009
|
+
reasonCodesByTrip: ReasonCodePaginatedResult;
|
|
4618
5010
|
receiverById: Receiver;
|
|
4619
5011
|
receiverForecastById: ReceiverForecast;
|
|
4620
5012
|
receiverForecasts: ReceiverForecastPaginatedResult;
|
|
@@ -4791,6 +5183,17 @@ export type QueryCustomerOrdersArgs = {
|
|
|
4791
5183
|
};
|
|
4792
5184
|
|
|
4793
5185
|
|
|
5186
|
+
export type QueryCustomerRateTablesArgs = {
|
|
5187
|
+
customerId?: InputMaybe<Scalars['ObjectId']>;
|
|
5188
|
+
filter?: InputMaybe<Scalars['JSON']>;
|
|
5189
|
+
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
5190
|
+
rateType?: InputMaybe<RateTableType>;
|
|
5191
|
+
search?: InputMaybe<Scalars['String']>;
|
|
5192
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
5193
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
5194
|
+
};
|
|
5195
|
+
|
|
5196
|
+
|
|
4794
5197
|
export type QueryCustomerShipmentsArgs = {
|
|
4795
5198
|
filter?: InputMaybe<Scalars['JSON']>;
|
|
4796
5199
|
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
@@ -4849,6 +5252,17 @@ export type QueryDriverByLicenseNumberArgs = {
|
|
|
4849
5252
|
};
|
|
4850
5253
|
|
|
4851
5254
|
|
|
5255
|
+
export type QueryDriverRateTablesArgs = {
|
|
5256
|
+
driverId?: InputMaybe<Scalars['ObjectId']>;
|
|
5257
|
+
filter?: InputMaybe<Scalars['JSON']>;
|
|
5258
|
+
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
5259
|
+
rateType?: InputMaybe<RateTableType>;
|
|
5260
|
+
search?: InputMaybe<Scalars['String']>;
|
|
5261
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
5262
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
5263
|
+
};
|
|
5264
|
+
|
|
5265
|
+
|
|
4852
5266
|
export type QueryDriverSettlementByIdArgs = {
|
|
4853
5267
|
id: Scalars['String'];
|
|
4854
5268
|
};
|
|
@@ -4957,6 +5371,20 @@ export type QueryGoodProfileByIdArgs = {
|
|
|
4957
5371
|
};
|
|
4958
5372
|
|
|
4959
5373
|
|
|
5374
|
+
export type QueryGoodProfileClassByIdArgs = {
|
|
5375
|
+
id: Scalars['ObjectId'];
|
|
5376
|
+
};
|
|
5377
|
+
|
|
5378
|
+
|
|
5379
|
+
export type QueryGoodProfileClassesArgs = {
|
|
5380
|
+
filter?: InputMaybe<Scalars['JSON']>;
|
|
5381
|
+
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
5382
|
+
search?: InputMaybe<Scalars['String']>;
|
|
5383
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
5384
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
5385
|
+
};
|
|
5386
|
+
|
|
5387
|
+
|
|
4960
5388
|
export type QueryGoodProfilesArgs = {
|
|
4961
5389
|
filter?: InputMaybe<Scalars['JSON']>;
|
|
4962
5390
|
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
@@ -5123,6 +5551,47 @@ export type QueryQualificationsArgs = {
|
|
|
5123
5551
|
};
|
|
5124
5552
|
|
|
5125
5553
|
|
|
5554
|
+
export type QueryRateTableByIdArgs = {
|
|
5555
|
+
id: Scalars['String'];
|
|
5556
|
+
};
|
|
5557
|
+
|
|
5558
|
+
|
|
5559
|
+
export type QueryRateTablesArgs = {
|
|
5560
|
+
entityId?: InputMaybe<Scalars['ObjectId']>;
|
|
5561
|
+
entityType?: InputMaybe<RateTableEntityType>;
|
|
5562
|
+
filter?: InputMaybe<Scalars['JSON']>;
|
|
5563
|
+
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
5564
|
+
rateType?: InputMaybe<RateTableType>;
|
|
5565
|
+
search?: InputMaybe<Scalars['String']>;
|
|
5566
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
5567
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
5568
|
+
};
|
|
5569
|
+
|
|
5570
|
+
|
|
5571
|
+
export type QueryReasonCodeByIdArgs = {
|
|
5572
|
+
id: Scalars['ObjectId'];
|
|
5573
|
+
};
|
|
5574
|
+
|
|
5575
|
+
|
|
5576
|
+
export type QueryReasonCodesArgs = {
|
|
5577
|
+
filter?: InputMaybe<Scalars['JSON']>;
|
|
5578
|
+
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
5579
|
+
search?: InputMaybe<Scalars['String']>;
|
|
5580
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
5581
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
5582
|
+
};
|
|
5583
|
+
|
|
5584
|
+
|
|
5585
|
+
export type QueryReasonCodesByShipmentArgs = {
|
|
5586
|
+
shipmentId: Scalars['ObjectId'];
|
|
5587
|
+
};
|
|
5588
|
+
|
|
5589
|
+
|
|
5590
|
+
export type QueryReasonCodesByTripArgs = {
|
|
5591
|
+
tripId: Scalars['ObjectId'];
|
|
5592
|
+
};
|
|
5593
|
+
|
|
5594
|
+
|
|
5126
5595
|
export type QueryReceiverByIdArgs = {
|
|
5127
5596
|
id: Scalars['String'];
|
|
5128
5597
|
};
|
|
@@ -5376,6 +5845,83 @@ export type QueryTripsArgs = {
|
|
|
5376
5845
|
timezone?: InputMaybe<Scalars['String']>;
|
|
5377
5846
|
};
|
|
5378
5847
|
|
|
5848
|
+
/** A unified rate table for automated billing and driver settlements */
|
|
5849
|
+
export type RateTable = {
|
|
5850
|
+
__typename?: 'RateTable';
|
|
5851
|
+
_id: Scalars['String'];
|
|
5852
|
+
/** Matrix of rate cells. For 1D tables, use cells[i][0]. For 2D tables, use cells[i][j] where i=row, j=column */
|
|
5853
|
+
cells: Array<Array<RateTableCell>>;
|
|
5854
|
+
/** Only required for two-dimensional tables */
|
|
5855
|
+
columnAxis?: Maybe<RateTableAxis>;
|
|
5856
|
+
createdAt: Scalars['DateTime'];
|
|
5857
|
+
customer?: Maybe<BusinessEntity>;
|
|
5858
|
+
description?: Maybe<Scalars['String']>;
|
|
5859
|
+
driver?: Maybe<Driver>;
|
|
5860
|
+
entityId: Scalars['ObjectId'];
|
|
5861
|
+
entityType: RateTableEntityType;
|
|
5862
|
+
isActive: Scalars['Boolean'];
|
|
5863
|
+
label: Scalars['String'];
|
|
5864
|
+
priority?: Maybe<Scalars['Float']>;
|
|
5865
|
+
rateType: RateTableType;
|
|
5866
|
+
referenceNumber?: Maybe<Scalars['String']>;
|
|
5867
|
+
rowAxis: RateTableAxis;
|
|
5868
|
+
updatedAt: Scalars['DateTime'];
|
|
5869
|
+
};
|
|
5870
|
+
|
|
5871
|
+
export type RateTableAxis = {
|
|
5872
|
+
__typename?: 'RateTableAxis';
|
|
5873
|
+
conditions: Array<BillingRuleCondition>;
|
|
5874
|
+
};
|
|
5875
|
+
|
|
5876
|
+
export type RateTableAxisInput = {
|
|
5877
|
+
conditions: Array<BillingRuleConditionInput>;
|
|
5878
|
+
};
|
|
5879
|
+
|
|
5880
|
+
export type RateTableCell = {
|
|
5881
|
+
__typename?: 'RateTableCell';
|
|
5882
|
+
rates: Array<BillingRate>;
|
|
5883
|
+
};
|
|
5884
|
+
|
|
5885
|
+
export type RateTableCellInput = {
|
|
5886
|
+
rates: Array<BillingRateInput>;
|
|
5887
|
+
};
|
|
5888
|
+
|
|
5889
|
+
export enum RateTableEntityType {
|
|
5890
|
+
Customer = 'CUSTOMER',
|
|
5891
|
+
Driver = 'DRIVER'
|
|
5892
|
+
}
|
|
5893
|
+
|
|
5894
|
+
export type RateTablePaginatedResult = {
|
|
5895
|
+
__typename?: 'RateTablePaginatedResult';
|
|
5896
|
+
count: Scalars['Int'];
|
|
5897
|
+
data: Array<RateTable>;
|
|
5898
|
+
};
|
|
5899
|
+
|
|
5900
|
+
export enum RateTableType {
|
|
5901
|
+
Accessorial = 'ACCESSORIAL',
|
|
5902
|
+
Bonus = 'BONUS',
|
|
5903
|
+
Deduction = 'DEDUCTION',
|
|
5904
|
+
OrderCancellation = 'ORDER_CANCELLATION',
|
|
5905
|
+
Primary = 'PRIMARY',
|
|
5906
|
+
Tax = 'TAX'
|
|
5907
|
+
}
|
|
5908
|
+
|
|
5909
|
+
export type RateTableUpdateInput = {
|
|
5910
|
+
/** Matrix of rate cells. For 1D tables, use cells[i][0]. For 2D tables, use cells[i][j] where i=row, j=column */
|
|
5911
|
+
cells?: InputMaybe<Array<Array<RateTableCellInput>>>;
|
|
5912
|
+
/** Only required for two-dimensional tables */
|
|
5913
|
+
columnAxis?: InputMaybe<RateTableAxisInput>;
|
|
5914
|
+
description?: InputMaybe<Scalars['String']>;
|
|
5915
|
+
entityId?: InputMaybe<Scalars['ObjectId']>;
|
|
5916
|
+
entityType?: InputMaybe<RateTableEntityType>;
|
|
5917
|
+
isActive?: InputMaybe<Scalars['Boolean']>;
|
|
5918
|
+
label?: InputMaybe<Scalars['String']>;
|
|
5919
|
+
priority?: InputMaybe<Scalars['Float']>;
|
|
5920
|
+
rateType?: InputMaybe<RateTableType>;
|
|
5921
|
+
referenceNumber?: InputMaybe<Scalars['String']>;
|
|
5922
|
+
rowAxis?: InputMaybe<RateTableAxisInput>;
|
|
5923
|
+
};
|
|
5924
|
+
|
|
5379
5925
|
export type RateconSettings = {
|
|
5380
5926
|
__typename?: 'RateconSettings';
|
|
5381
5927
|
bodyTemplate?: Maybe<Scalars['String']>;
|
|
@@ -5460,6 +6006,46 @@ export type ReadingsFileConfigurationInput = {
|
|
|
5460
6006
|
timeFormat: Scalars['String'];
|
|
5461
6007
|
};
|
|
5462
6008
|
|
|
6009
|
+
export type ReasonCode = {
|
|
6010
|
+
__typename?: 'ReasonCode';
|
|
6011
|
+
_id: Scalars['ObjectId'];
|
|
6012
|
+
createdAt: Scalars['DateTime'];
|
|
6013
|
+
createdBy: Scalars['String'];
|
|
6014
|
+
description?: Maybe<Scalars['String']>;
|
|
6015
|
+
locationId?: Maybe<Scalars['String']>;
|
|
6016
|
+
shipmentId?: Maybe<Scalars['ObjectId']>;
|
|
6017
|
+
tripId?: Maybe<Scalars['ObjectId']>;
|
|
6018
|
+
type: ReasonCodeType;
|
|
6019
|
+
updatedAt: Scalars['DateTime'];
|
|
6020
|
+
};
|
|
6021
|
+
|
|
6022
|
+
export type ReasonCodePaginatedResult = {
|
|
6023
|
+
__typename?: 'ReasonCodePaginatedResult';
|
|
6024
|
+
count: Scalars['Int'];
|
|
6025
|
+
data: Array<ReasonCode>;
|
|
6026
|
+
};
|
|
6027
|
+
|
|
6028
|
+
/** Types of reason codes for exceptional situations */
|
|
6029
|
+
export enum ReasonCodeType {
|
|
6030
|
+
Customer = 'CUSTOMER',
|
|
6031
|
+
Damage = 'DAMAGE',
|
|
6032
|
+
Delay = 'DELAY',
|
|
6033
|
+
DeliveredQuantityMismatch = 'DELIVERED_QUANTITY_MISMATCH',
|
|
6034
|
+
LoadedQuantityMismatch = 'LOADED_QUANTITY_MISMATCH',
|
|
6035
|
+
Mechanical = 'MECHANICAL',
|
|
6036
|
+
Other = 'OTHER',
|
|
6037
|
+
Traffic = 'TRAFFIC',
|
|
6038
|
+
Weather = 'WEATHER'
|
|
6039
|
+
}
|
|
6040
|
+
|
|
6041
|
+
export type ReasonCodeUpdateInput = {
|
|
6042
|
+
description?: InputMaybe<Scalars['String']>;
|
|
6043
|
+
id: Scalars['ObjectId'];
|
|
6044
|
+
locationId?: InputMaybe<Scalars['String']>;
|
|
6045
|
+
shipmentId?: InputMaybe<Scalars['ObjectId']>;
|
|
6046
|
+
tripId?: InputMaybe<Scalars['ObjectId']>;
|
|
6047
|
+
};
|
|
6048
|
+
|
|
5463
6049
|
/** A Receiver Business entity */
|
|
5464
6050
|
export type Receiver = {
|
|
5465
6051
|
__typename?: 'Receiver';
|
|
@@ -5478,8 +6064,11 @@ export type Receiver = {
|
|
|
5478
6064
|
billingAddress?: Maybe<TextualAddress>;
|
|
5479
6065
|
/** Billing email for the business entity. Invoices are sent here */
|
|
5480
6066
|
billingEmail?: Maybe<Scalars['String']>;
|
|
6067
|
+
/** Criteria for invoice consolidation */
|
|
6068
|
+
billingInvoiceConsolidationCriteria?: Maybe<InvoiceConsolidationCriteria>;
|
|
5481
6069
|
/** Billing terms for the business entity in days. */
|
|
5482
6070
|
billingTermsDay?: Maybe<Scalars['Float']>;
|
|
6071
|
+
billingWeekStartsOn?: Maybe<Scalars['Float']>;
|
|
5483
6072
|
/** Unique code identifying the business entity. */
|
|
5484
6073
|
code?: Maybe<Scalars['String']>;
|
|
5485
6074
|
/** Primary contact for the business entity. */
|
|
@@ -5493,6 +6082,8 @@ export type Receiver = {
|
|
|
5493
6082
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
5494
6083
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
5495
6084
|
defaultShipperId?: Maybe<Scalars['ObjectId']>;
|
|
6085
|
+
/** Document requirements for invoicing for this business entity */
|
|
6086
|
+
documentRequirements?: Maybe<Array<DocumentRequirement>>;
|
|
5496
6087
|
/** Documents for the business entity */
|
|
5497
6088
|
documents?: Maybe<Array<Document>>;
|
|
5498
6089
|
/** DOT Number for carriers and brokers */
|
|
@@ -5508,6 +6099,7 @@ export type Receiver = {
|
|
|
5508
6099
|
mcNumber?: Maybe<Scalars['String']>;
|
|
5509
6100
|
/** Legal name of the business entity. */
|
|
5510
6101
|
name: Scalars['String'];
|
|
6102
|
+
notes?: Maybe<Array<BusinessEntityNote>>;
|
|
5511
6103
|
/** Opening schedules for the business entity. */
|
|
5512
6104
|
openingSchedules?: Maybe<Array<OpeningSchedule>>;
|
|
5513
6105
|
/** The business entity that this business entity belongs to */
|
|
@@ -5541,6 +6133,12 @@ export type Receiver = {
|
|
|
5541
6133
|
type: BusinessEntityType;
|
|
5542
6134
|
};
|
|
5543
6135
|
|
|
6136
|
+
|
|
6137
|
+
/** A Receiver Business entity */
|
|
6138
|
+
export type ReceiverStorageFacilitiesArgs = {
|
|
6139
|
+
includeLinkedFacilities?: InputMaybe<Scalars['Boolean']>;
|
|
6140
|
+
};
|
|
6141
|
+
|
|
5544
6142
|
export type ReceiverForecast = {
|
|
5545
6143
|
__typename?: 'ReceiverForecast';
|
|
5546
6144
|
_id: Scalars['String'];
|
|
@@ -5604,6 +6202,11 @@ export type RemoveShipmentFromTripResult = {
|
|
|
5604
6202
|
trip?: Maybe<Trip>;
|
|
5605
6203
|
};
|
|
5606
6204
|
|
|
6205
|
+
export type ReportCsv = {
|
|
6206
|
+
__typename?: 'ReportCsv';
|
|
6207
|
+
url: Scalars['String'];
|
|
6208
|
+
};
|
|
6209
|
+
|
|
5607
6210
|
export type ReportData = {
|
|
5608
6211
|
__typename?: 'ReportData';
|
|
5609
6212
|
data: Array<ReportItem>;
|
|
@@ -5630,6 +6233,7 @@ export type ReportPdf = {
|
|
|
5630
6233
|
|
|
5631
6234
|
export enum ReportType {
|
|
5632
6235
|
CustomerRevenue = 'CUSTOMER_REVENUE',
|
|
6236
|
+
DeliveryReport = 'DELIVERY_REPORT',
|
|
5633
6237
|
DriverMileagePerTrip = 'DRIVER_MILEAGE_PER_TRIP',
|
|
5634
6238
|
RevenueByLoad = 'REVENUE_BY_LOAD',
|
|
5635
6239
|
RevenuePerDay = 'REVENUE_PER_DAY',
|
|
@@ -5780,6 +6384,8 @@ export type Shipment = {
|
|
|
5780
6384
|
expenses?: Maybe<Array<Transaction>>;
|
|
5781
6385
|
/** IDs of the groups the shipment is associated with */
|
|
5782
6386
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
6387
|
+
/** Whether the shipment is applicable for charge order cancellation */
|
|
6388
|
+
isApplicableChargeOrderCancellation?: Maybe<Scalars['Boolean']>;
|
|
5783
6389
|
/** Set for child shipments of a master shipment with rotations */
|
|
5784
6390
|
isFromRotation?: Maybe<Scalars['Boolean']>;
|
|
5785
6391
|
/** Whether the shipment is a child of a split shipment */
|
|
@@ -5805,6 +6411,8 @@ export type Shipment = {
|
|
|
5805
6411
|
postOfficeNumber?: Maybe<Scalars['String']>;
|
|
5806
6412
|
/** Purchase order numbers for the shipment */
|
|
5807
6413
|
purchaseOrderNumbers?: Maybe<Array<Scalars['String']>>;
|
|
6414
|
+
/** Rate confirmation numbers for the shipment */
|
|
6415
|
+
rateConNumbers?: Maybe<Array<Scalars['String']>>;
|
|
5808
6416
|
/** For cancelled shipments, the reason for cancellation */
|
|
5809
6417
|
reasonForCancellation?: Maybe<Scalars['String']>;
|
|
5810
6418
|
/** For recurrent shipments, the recurrence pattern */
|
|
@@ -5858,6 +6466,11 @@ export type ShipmentAssignedEventPayload = {
|
|
|
5858
6466
|
trailerId?: Maybe<Scalars['String']>;
|
|
5859
6467
|
};
|
|
5860
6468
|
|
|
6469
|
+
export type ShipmentCancelledEventPayload = {
|
|
6470
|
+
__typename?: 'ShipmentCancelledEventPayload';
|
|
6471
|
+
shipment: Shipment;
|
|
6472
|
+
};
|
|
6473
|
+
|
|
5861
6474
|
export type ShipmentCarrierAssignment = {
|
|
5862
6475
|
__typename?: 'ShipmentCarrierAssignment';
|
|
5863
6476
|
accepted: Scalars['Boolean'];
|
|
@@ -5886,10 +6499,14 @@ export type ShipmentCharge = {
|
|
|
5886
6499
|
number?: Maybe<Scalars['String']>;
|
|
5887
6500
|
/** Rate per unit */
|
|
5888
6501
|
rate: Scalars['Float'];
|
|
6502
|
+
/** Rating table for this charge */
|
|
6503
|
+
ratingTable?: Maybe<RateTable>;
|
|
5889
6504
|
/** Whether to reimburse to driver */
|
|
5890
6505
|
reimburseToDriver?: Maybe<Scalars['Boolean']>;
|
|
5891
6506
|
/** Related transaction ID */
|
|
5892
6507
|
relatedTransactionId?: Maybe<Scalars['ObjectId']>;
|
|
6508
|
+
/** Shipment ID this charge is for */
|
|
6509
|
+
shipmentId?: Maybe<Scalars['ObjectId']>;
|
|
5893
6510
|
/** Whether the transaction is taxable */
|
|
5894
6511
|
taxable?: Maybe<Scalars['Boolean']>;
|
|
5895
6512
|
/** Total amount of the charge */
|
|
@@ -5911,8 +6528,11 @@ export type ShipmentChargeInput = {
|
|
|
5911
6528
|
document?: InputMaybe<TransactionDocumentInput>;
|
|
5912
6529
|
label: Scalars['String'];
|
|
5913
6530
|
rate: Scalars['Float'];
|
|
6531
|
+
ratingTable?: InputMaybe<Scalars['String']>;
|
|
5914
6532
|
reimburseToDriver?: InputMaybe<Scalars['Boolean']>;
|
|
5915
6533
|
relatedTransactionId?: InputMaybe<Scalars['ObjectId']>;
|
|
6534
|
+
/** Shipment ID this charge is for */
|
|
6535
|
+
shipmentId?: InputMaybe<Scalars['ObjectId']>;
|
|
5916
6536
|
taxable?: InputMaybe<Scalars['Boolean']>;
|
|
5917
6537
|
type?: InputMaybe<TransactionType>;
|
|
5918
6538
|
unit: Scalars['Float'];
|
|
@@ -5959,6 +6579,7 @@ export type ShipmentCreatedEventPayload = {
|
|
|
5959
6579
|
};
|
|
5960
6580
|
|
|
5961
6581
|
export type ShipmentDeleteInput = {
|
|
6582
|
+
isApplicableChargeOrderCancellation?: InputMaybe<Scalars['Boolean']>;
|
|
5962
6583
|
reason: Scalars['String'];
|
|
5963
6584
|
};
|
|
5964
6585
|
|
|
@@ -5976,10 +6597,13 @@ export type ShipmentDocument = {
|
|
|
5976
6597
|
createdAt: Scalars['DateTime'];
|
|
5977
6598
|
createdBy: Scalars['String'];
|
|
5978
6599
|
isBillable: Scalars['Boolean'];
|
|
6600
|
+
isForRatecons: Scalars['Boolean'];
|
|
6601
|
+
isForReceivers: Scalars['Boolean'];
|
|
5979
6602
|
lastUpdatedBy: Scalars['String'];
|
|
5980
6603
|
name: Scalars['String'];
|
|
5981
6604
|
receiver?: Maybe<BusinessEntity>;
|
|
5982
6605
|
shipper?: Maybe<BusinessEntity>;
|
|
6606
|
+
/** The type of document (BOL, DELIVERY_RECEIPT, etc.) */
|
|
5983
6607
|
type: Scalars['String'];
|
|
5984
6608
|
updatedAt: Scalars['DateTime'];
|
|
5985
6609
|
url: Scalars['String'];
|
|
@@ -5989,6 +6613,8 @@ export type ShipmentDocumentInfoInput = {
|
|
|
5989
6613
|
accessLevel: Array<NoteAccessLevel>;
|
|
5990
6614
|
associatedCharge?: InputMaybe<Scalars['String']>;
|
|
5991
6615
|
isBillable: Scalars['Boolean'];
|
|
6616
|
+
isForRatecons: Scalars['Boolean'];
|
|
6617
|
+
isForReceivers: Scalars['Boolean'];
|
|
5992
6618
|
name: Scalars['String'];
|
|
5993
6619
|
receiver?: InputMaybe<Scalars['String']>;
|
|
5994
6620
|
shipper?: InputMaybe<Scalars['String']>;
|
|
@@ -6000,6 +6626,8 @@ export type ShipmentDocumentInput = {
|
|
|
6000
6626
|
accessLevel: Array<NoteAccessLevel>;
|
|
6001
6627
|
associatedCharge?: InputMaybe<Scalars['String']>;
|
|
6002
6628
|
isBillable: Scalars['Boolean'];
|
|
6629
|
+
isForRatecons: Scalars['Boolean'];
|
|
6630
|
+
isForReceivers: Scalars['Boolean'];
|
|
6003
6631
|
name: Scalars['String'];
|
|
6004
6632
|
receiver?: InputMaybe<Scalars['String']>;
|
|
6005
6633
|
shipment?: InputMaybe<Scalars['String']>;
|
|
@@ -6289,6 +6917,7 @@ export type ShipmentRecurrenceWeekdayInput = {
|
|
|
6289
6917
|
export enum ShipmentReferenceNumberType {
|
|
6290
6918
|
BillOfLadingNumber = 'BILL_OF_LADING_NUMBER',
|
|
6291
6919
|
PurchaseOrderNumber = 'PURCHASE_ORDER_NUMBER',
|
|
6920
|
+
RateConNumber = 'RATE_CON_NUMBER',
|
|
6292
6921
|
ReferenceNumber = 'REFERENCE_NUMBER',
|
|
6293
6922
|
TicketNumber = 'TICKET_NUMBER'
|
|
6294
6923
|
}
|
|
@@ -6296,6 +6925,7 @@ export enum ShipmentReferenceNumberType {
|
|
|
6296
6925
|
export type ShipmentReferencesUpdateInput = {
|
|
6297
6926
|
billOfLadingNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
6298
6927
|
purchaseOrderNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
6928
|
+
rateConNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
6299
6929
|
referenceNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
6300
6930
|
ticketNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
6301
6931
|
};
|
|
@@ -6384,6 +7014,7 @@ export type ShipmentUpdateInput = {
|
|
|
6384
7014
|
orderId?: InputMaybe<Scalars['ObjectId']>;
|
|
6385
7015
|
postOfficeNumber?: InputMaybe<Scalars['String']>;
|
|
6386
7016
|
purchaseOrderNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
7017
|
+
rateConNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
6387
7018
|
recurrence?: InputMaybe<ShipmentRecurrenceInput>;
|
|
6388
7019
|
referenceNumber?: InputMaybe<Scalars['String']>;
|
|
6389
7020
|
referenceNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
@@ -6426,8 +7057,11 @@ export type Shipper = {
|
|
|
6426
7057
|
billingAddress?: Maybe<TextualAddress>;
|
|
6427
7058
|
/** Billing email for the business entity. Invoices are sent here */
|
|
6428
7059
|
billingEmail?: Maybe<Scalars['String']>;
|
|
7060
|
+
/** Criteria for invoice consolidation */
|
|
7061
|
+
billingInvoiceConsolidationCriteria?: Maybe<InvoiceConsolidationCriteria>;
|
|
6429
7062
|
/** Billing terms for the business entity in days. */
|
|
6430
7063
|
billingTermsDay?: Maybe<Scalars['Float']>;
|
|
7064
|
+
billingWeekStartsOn?: Maybe<Scalars['Float']>;
|
|
6431
7065
|
/** Unique code identifying the business entity. */
|
|
6432
7066
|
code?: Maybe<Scalars['String']>;
|
|
6433
7067
|
/** Primary contact for the business entity. */
|
|
@@ -6441,6 +7075,8 @@ export type Shipper = {
|
|
|
6441
7075
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
6442
7076
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
6443
7077
|
defaultShipperId?: Maybe<Scalars['ObjectId']>;
|
|
7078
|
+
/** Document requirements for invoicing for this business entity */
|
|
7079
|
+
documentRequirements?: Maybe<Array<DocumentRequirement>>;
|
|
6444
7080
|
/** Documents for the business entity */
|
|
6445
7081
|
documents?: Maybe<Array<Document>>;
|
|
6446
7082
|
/** DOT Number for carriers and brokers */
|
|
@@ -6456,6 +7092,7 @@ export type Shipper = {
|
|
|
6456
7092
|
mcNumber?: Maybe<Scalars['String']>;
|
|
6457
7093
|
/** Legal name of the business entity. */
|
|
6458
7094
|
name: Scalars['String'];
|
|
7095
|
+
notes?: Maybe<Array<BusinessEntityNote>>;
|
|
6459
7096
|
/** Opening schedules for the business entity. */
|
|
6460
7097
|
openingSchedules?: Maybe<Array<OpeningSchedule>>;
|
|
6461
7098
|
/** The business entity that this business entity belongs to */
|
|
@@ -6489,6 +7126,12 @@ export type Shipper = {
|
|
|
6489
7126
|
type: BusinessEntityType;
|
|
6490
7127
|
};
|
|
6491
7128
|
|
|
7129
|
+
|
|
7130
|
+
/** A Shipper Business entity */
|
|
7131
|
+
export type ShipperStorageFacilitiesArgs = {
|
|
7132
|
+
includeLinkedFacilities?: InputMaybe<Scalars['Boolean']>;
|
|
7133
|
+
};
|
|
7134
|
+
|
|
6492
7135
|
export type ShipperPaginatedResult = {
|
|
6493
7136
|
__typename?: 'ShipperPaginatedResult';
|
|
6494
7137
|
count: Scalars['Int'];
|
|
@@ -6559,8 +7202,12 @@ export type Step = {
|
|
|
6559
7202
|
export type StorageFacility = {
|
|
6560
7203
|
__typename?: 'StorageFacility';
|
|
6561
7204
|
capacity: Scalars['Float'];
|
|
7205
|
+
commodities?: Maybe<Array<GoodProfile>>;
|
|
7206
|
+
/** @deprecated Use commodities instead */
|
|
6562
7207
|
commodity?: Maybe<GoodProfile>;
|
|
6563
|
-
|
|
7208
|
+
/** @deprecated Use commodityIds instead */
|
|
7209
|
+
commodityId?: Maybe<Scalars['ObjectId']>;
|
|
7210
|
+
commodityIds: Array<Scalars['ObjectId']>;
|
|
6564
7211
|
currentForecastedReading?: Maybe<Reading>;
|
|
6565
7212
|
currentSalesTrend?: Maybe<Scalars['Float']>;
|
|
6566
7213
|
defaultPinCode?: Maybe<Scalars['String']>;
|
|
@@ -6568,6 +7215,7 @@ export type StorageFacility = {
|
|
|
6568
7215
|
defaultSupplierId?: Maybe<Scalars['ObjectId']>;
|
|
6569
7216
|
identifier: Scalars['String'];
|
|
6570
7217
|
latestReading?: Maybe<Reading>;
|
|
7218
|
+
linkedStorageFacilityIds?: Maybe<Array<Scalars['String']>>;
|
|
6571
7219
|
runoutDate?: Maybe<Scalars['DateTime']>;
|
|
6572
7220
|
runoutDateAfterNextShipment?: Maybe<Scalars['DateTime']>;
|
|
6573
7221
|
safeFillLevel?: Maybe<Scalars['Float']>;
|
|
@@ -6584,10 +7232,12 @@ export type StorageFacilityDateRangeSales = {
|
|
|
6584
7232
|
|
|
6585
7233
|
export type StorageFacilityInput = {
|
|
6586
7234
|
capacity: Scalars['Float'];
|
|
6587
|
-
commodityId
|
|
7235
|
+
commodityId?: InputMaybe<Scalars['ObjectId']>;
|
|
7236
|
+
commodityIds: Array<Scalars['ObjectId']>;
|
|
6588
7237
|
defaultPinCode?: InputMaybe<Scalars['String']>;
|
|
6589
7238
|
defaultSupplierId?: InputMaybe<Scalars['ObjectId']>;
|
|
6590
7239
|
identifier: Scalars['String'];
|
|
7240
|
+
linkedStorageFacilityIds?: InputMaybe<Array<Scalars['String']>>;
|
|
6591
7241
|
safeFillLevel?: InputMaybe<Scalars['Float']>;
|
|
6592
7242
|
safeFillPercentage?: InputMaybe<Scalars['Float']>;
|
|
6593
7243
|
shutDownLevel?: InputMaybe<Scalars['Float']>;
|
|
@@ -6683,14 +7333,14 @@ export type SupplierContract = {
|
|
|
6683
7333
|
__typename?: 'SupplierContract';
|
|
6684
7334
|
_id: Scalars['String'];
|
|
6685
7335
|
/** The maximum quantities of product allowed by the contract */
|
|
6686
|
-
allocation
|
|
7336
|
+
allocation?: Maybe<SupplierContractAllocation>;
|
|
6687
7337
|
/** The conditions that must be met for the contract to apply */
|
|
6688
7338
|
conditions?: Maybe<Array<SupplierContractCondition>>;
|
|
6689
7339
|
/** The identifier of the contract */
|
|
6690
7340
|
contractNumber: Scalars['String'];
|
|
6691
7341
|
customer?: Maybe<BusinessEntity>;
|
|
6692
7342
|
/** The id of the customer that the contract is for */
|
|
6693
|
-
customerId
|
|
7343
|
+
customerId?: Maybe<Scalars['ObjectId']>;
|
|
6694
7344
|
/** The end date of the contract. The contract cannot be used after this date */
|
|
6695
7345
|
endDate: Scalars['DateTime'];
|
|
6696
7346
|
goodProfile?: Maybe<GoodProfile>;
|
|
@@ -6700,7 +7350,7 @@ export type SupplierContract = {
|
|
|
6700
7350
|
pinCode?: Maybe<Scalars['String']>;
|
|
6701
7351
|
shipper?: Maybe<BusinessEntity>;
|
|
6702
7352
|
/** The id of the shipper where the commodity can be picked up at */
|
|
6703
|
-
shipperId
|
|
7353
|
+
shipperId?: Maybe<Scalars['ObjectId']>;
|
|
6704
7354
|
/** The start date of the contract. The contract cannot be used before this date */
|
|
6705
7355
|
startDate: Scalars['DateTime'];
|
|
6706
7356
|
supplier?: Maybe<BusinessEntity>;
|
|
@@ -6860,6 +7510,7 @@ export type Tractor = {
|
|
|
6860
7510
|
documents?: Maybe<Array<Document>>;
|
|
6861
7511
|
domicile?: Maybe<Address>;
|
|
6862
7512
|
eldId?: Maybe<Scalars['String']>;
|
|
7513
|
+
externalId?: Maybe<Scalars['String']>;
|
|
6863
7514
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
6864
7515
|
/** The last known location from the ELD. This is the safest location to use if you want to know the exact location of the tractor but it might not update as often */
|
|
6865
7516
|
lastKnownEldLocation?: Maybe<Coordinates>;
|
|
@@ -6923,6 +7574,7 @@ export type TractorUpdateInput = {
|
|
|
6923
7574
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
6924
7575
|
domicile?: InputMaybe<NewAddressInput>;
|
|
6925
7576
|
eldId?: InputMaybe<Scalars['String']>;
|
|
7577
|
+
externalId?: InputMaybe<Scalars['String']>;
|
|
6926
7578
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
6927
7579
|
licenseNumber?: InputMaybe<Scalars['String']>;
|
|
6928
7580
|
make?: InputMaybe<Scalars['String']>;
|
|
@@ -7133,6 +7785,8 @@ export type Transaction = {
|
|
|
7133
7785
|
reimburseToDriver?: Maybe<Scalars['Boolean']>;
|
|
7134
7786
|
/** Related transaction ID */
|
|
7135
7787
|
relatedTransactionId?: Maybe<Scalars['ObjectId']>;
|
|
7788
|
+
/** Shipment ID this charge is for */
|
|
7789
|
+
shipmentId?: Maybe<Scalars['ObjectId']>;
|
|
7136
7790
|
/** Whether the transaction is taxable */
|
|
7137
7791
|
taxable?: Maybe<Scalars['Boolean']>;
|
|
7138
7792
|
/** Type of transaction */
|
|
@@ -7164,6 +7818,8 @@ export type TransactionInput = {
|
|
|
7164
7818
|
rate: Scalars['Float'];
|
|
7165
7819
|
reimburseToDriver?: InputMaybe<Scalars['Boolean']>;
|
|
7166
7820
|
relatedTransactionId?: InputMaybe<Scalars['ObjectId']>;
|
|
7821
|
+
/** Shipment ID this charge is for */
|
|
7822
|
+
shipmentId?: InputMaybe<Scalars['ObjectId']>;
|
|
7167
7823
|
taxable?: InputMaybe<Scalars['Boolean']>;
|
|
7168
7824
|
type?: InputMaybe<TransactionType>;
|
|
7169
7825
|
unit: Scalars['Float'];
|
|
@@ -7179,6 +7835,8 @@ export type TransactionInputObject = {
|
|
|
7179
7835
|
rate: Scalars['Float'];
|
|
7180
7836
|
reimburseToDriver?: Maybe<Scalars['Boolean']>;
|
|
7181
7837
|
relatedTransactionId?: Maybe<Scalars['ObjectId']>;
|
|
7838
|
+
/** Shipment ID this charge is for */
|
|
7839
|
+
shipmentId?: Maybe<Scalars['ObjectId']>;
|
|
7182
7840
|
taxable?: Maybe<Scalars['Boolean']>;
|
|
7183
7841
|
type?: Maybe<TransactionType>;
|
|
7184
7842
|
unit: Scalars['Float'];
|
|
@@ -7204,6 +7862,8 @@ export type TransactionUpdateInput = {
|
|
|
7204
7862
|
rate?: InputMaybe<Scalars['Float']>;
|
|
7205
7863
|
reimburseToDriver?: InputMaybe<Scalars['Boolean']>;
|
|
7206
7864
|
relatedTransactionId?: InputMaybe<Scalars['ObjectId']>;
|
|
7865
|
+
/** Shipment ID this charge is for */
|
|
7866
|
+
shipmentId?: InputMaybe<Scalars['ObjectId']>;
|
|
7207
7867
|
taxable?: InputMaybe<Scalars['Boolean']>;
|
|
7208
7868
|
type?: InputMaybe<TransactionType>;
|
|
7209
7869
|
unit?: InputMaybe<Scalars['Float']>;
|
|
@@ -7349,6 +8009,7 @@ export type TripPayment = {
|
|
|
7349
8009
|
label: Scalars['String'];
|
|
7350
8010
|
paymentRule?: Maybe<PaymentRule>;
|
|
7351
8011
|
rate: Scalars['Float'];
|
|
8012
|
+
rateTableId?: Maybe<Scalars['ObjectId']>;
|
|
7352
8013
|
trip: Scalars['ObjectId'];
|
|
7353
8014
|
unit: Scalars['Float'];
|
|
7354
8015
|
unitType: Scalars['String'];
|
|
@@ -7462,6 +8123,20 @@ export type UpdateAccountInput = {
|
|
|
7462
8123
|
lastName?: InputMaybe<Scalars['String']>;
|
|
7463
8124
|
};
|
|
7464
8125
|
|
|
8126
|
+
export type UpdateGoodDeliveredQuantityInput = {
|
|
8127
|
+
/** The quantity that was actually delivered to the customer */
|
|
8128
|
+
deliveredQuantity: Scalars['Float'];
|
|
8129
|
+
goodId: Scalars['String'];
|
|
8130
|
+
shipmentId: Scalars['String'];
|
|
8131
|
+
};
|
|
8132
|
+
|
|
8133
|
+
export type UpdateGoodLoadedQuantityInput = {
|
|
8134
|
+
goodId: Scalars['String'];
|
|
8135
|
+
/** The quantity that was loaded by the driver */
|
|
8136
|
+
loadedQuantity: Scalars['Float'];
|
|
8137
|
+
shipmentId: Scalars['String'];
|
|
8138
|
+
};
|
|
8139
|
+
|
|
7465
8140
|
export type UpdateShipmentEventInput = {
|
|
7466
8141
|
date?: InputMaybe<Scalars['DateTime']>;
|
|
7467
8142
|
};
|
|
@@ -7558,14 +8233,14 @@ export type GetBusinessEntityListQueryVariables = Exact<{
|
|
|
7558
8233
|
}>;
|
|
7559
8234
|
|
|
7560
8235
|
|
|
7561
|
-
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
|
|
8236
|
+
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 | null, safeFillLevel?: number | null, shutDownLevel?: number | null }> | null }> } };
|
|
7562
8237
|
|
|
7563
8238
|
export type GetBusinessEntityDetailsQueryVariables = Exact<{
|
|
7564
8239
|
id: Scalars['String'];
|
|
7565
8240
|
}>;
|
|
7566
8241
|
|
|
7567
8242
|
|
|
7568
|
-
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
|
|
8243
|
+
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 | null, safeFillLevel?: number | null, shutDownLevel?: number | null, commodity?: { __typename?: 'GoodProfile', _id: string, label: string, unit: GoodUnits, weight: number } | null }> | null } };
|
|
7569
8244
|
|
|
7570
8245
|
export type GetBusinessEntityDetailsByExternalIdQueryVariables = Exact<{
|
|
7571
8246
|
externalId: Scalars['String'];
|
|
@@ -7625,14 +8300,14 @@ export type GetDriverByEldIdQueryVariables = Exact<{
|
|
|
7625
8300
|
}>;
|
|
7626
8301
|
|
|
7627
8302
|
|
|
7628
|
-
export type GetDriverByEldIdQuery = { __typename?: 'Query', driverByEldId?: { __typename?: 'Driver', _id: string } | null };
|
|
8303
|
+
export type GetDriverByEldIdQuery = { __typename?: 'Query', driverByEldId?: { __typename?: 'Driver', _id: string, firstname: string, lastname: string, phoneNumber?: string | null, status: AssetStatus, eldId?: string | null, license?: { __typename?: 'DriverLicense', licenseNumber?: string | null, issuedState?: string | null } | null } | null };
|
|
7629
8304
|
|
|
7630
8305
|
export type GetDriverByLicenseNumberQueryVariables = Exact<{
|
|
7631
8306
|
licenseNumber: Scalars['String'];
|
|
7632
8307
|
}>;
|
|
7633
8308
|
|
|
7634
8309
|
|
|
7635
|
-
export type GetDriverByLicenseNumberQuery = { __typename?: 'Query', driverByLicenseNumber?: { __typename?: 'Driver', _id: string } | null };
|
|
8310
|
+
export type GetDriverByLicenseNumberQuery = { __typename?: 'Query', driverByLicenseNumber?: { __typename?: 'Driver', _id: string, firstname: string, lastname: string, phoneNumber?: string | null, status: AssetStatus, eldId?: string | null, license?: { __typename?: 'DriverLicense', licenseNumber?: string | null, issuedState?: string | null } | null } | null };
|
|
7636
8311
|
|
|
7637
8312
|
export type AddDriverMutationVariables = Exact<{
|
|
7638
8313
|
newDriverData: NewDriverInput;
|
|
@@ -8209,6 +8884,15 @@ export const GetDriverByEldIdDocument = gql`
|
|
|
8209
8884
|
query getDriverByEldId($eldId: String!) {
|
|
8210
8885
|
driverByEldId(eldId: $eldId) {
|
|
8211
8886
|
_id
|
|
8887
|
+
firstname
|
|
8888
|
+
lastname
|
|
8889
|
+
phoneNumber
|
|
8890
|
+
status
|
|
8891
|
+
license {
|
|
8892
|
+
licenseNumber
|
|
8893
|
+
issuedState
|
|
8894
|
+
}
|
|
8895
|
+
eldId
|
|
8212
8896
|
}
|
|
8213
8897
|
}
|
|
8214
8898
|
`;
|
|
@@ -8216,6 +8900,15 @@ export const GetDriverByLicenseNumberDocument = gql`
|
|
|
8216
8900
|
query getDriverByLicenseNumber($licenseNumber: String!) {
|
|
8217
8901
|
driverByLicenseNumber(licenseNumber: $licenseNumber) {
|
|
8218
8902
|
_id
|
|
8903
|
+
firstname
|
|
8904
|
+
lastname
|
|
8905
|
+
phoneNumber
|
|
8906
|
+
status
|
|
8907
|
+
license {
|
|
8908
|
+
licenseNumber
|
|
8909
|
+
issuedState
|
|
8910
|
+
}
|
|
8911
|
+
eldId
|
|
8219
8912
|
}
|
|
8220
8913
|
}
|
|
8221
8914
|
`;
|