@truetms/truetms-node 0.3.3 → 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/dist/src/graphql/generated.js +678 -3
- package/dist/src/graphql/generated.js.map +1 -1
- package/dist/src/sdk/index.js +2 -0
- package/dist/src/sdk/index.js.map +1 -1
- package/dist/src/sdk/shipments.js +16 -0
- package/dist/src/sdk/shipments.js.map +1 -0
- package/dist/src/sdk/trips.js +2 -0
- package/dist/src/sdk/trips.js.map +1 -1
- package/package.json +1 -1
- package/src/graphql/drivers.graphql +18 -0
- package/src/graphql/generated.ts +1354 -35
- package/src/graphql/shipments.graphql +403 -0
- package/src/graphql/trips.graphql +186 -0
- package/src/sdk/index.ts +3 -0
- package/src/sdk/shipments.ts +11 -0
- package/src/sdk/trips.ts +2 -0
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',
|
|
@@ -1612,6 +1726,8 @@ export type ExtensionHook = {
|
|
|
1612
1726
|
export enum ExtensionHookOperation {
|
|
1613
1727
|
GetInvoiceTemplate = 'GET_INVOICE_TEMPLATE',
|
|
1614
1728
|
GetLoadBoardLoadDetails = 'GET_LOAD_BOARD_LOAD_DETAILS',
|
|
1729
|
+
GetRoutingDirections = 'GET_ROUTING_DIRECTIONS',
|
|
1730
|
+
GetRoutingDistanceMatrix = 'GET_ROUTING_DISTANCE_MATRIX',
|
|
1615
1731
|
SearchLoadBoard = 'SEARCH_LOAD_BOARD',
|
|
1616
1732
|
SendInvoice = 'SEND_INVOICE'
|
|
1617
1733
|
}
|
|
@@ -1885,6 +2001,7 @@ export type GeneralSettings = {
|
|
|
1885
2001
|
measurementSystem?: Maybe<MeasurementSystem>;
|
|
1886
2002
|
singleClickTripCompletion?: Maybe<Scalars['Boolean']>;
|
|
1887
2003
|
useSimpleWorkflow?: Maybe<Scalars['Boolean']>;
|
|
2004
|
+
weekStartsOn?: Maybe<Scalars['Float']>;
|
|
1888
2005
|
};
|
|
1889
2006
|
|
|
1890
2007
|
export type GeneralSettingsInput = {
|
|
@@ -1894,6 +2011,7 @@ export type GeneralSettingsInput = {
|
|
|
1894
2011
|
measurementSystem?: InputMaybe<MeasurementSystem>;
|
|
1895
2012
|
singleClickTripCompletion?: InputMaybe<Scalars['Boolean']>;
|
|
1896
2013
|
useSimpleWorkflow?: InputMaybe<Scalars['Boolean']>;
|
|
2014
|
+
weekStartsOn?: InputMaybe<Scalars['Float']>;
|
|
1897
2015
|
};
|
|
1898
2016
|
|
|
1899
2017
|
export type GenerateTripInput = {
|
|
@@ -1916,8 +2034,11 @@ export type GenerateTripInput = {
|
|
|
1916
2034
|
export type Good = {
|
|
1917
2035
|
__typename?: 'Good';
|
|
1918
2036
|
_id: Scalars['String'];
|
|
2037
|
+
alternativePinCodes?: Maybe<Array<Scalars['String']>>;
|
|
1919
2038
|
goodProfileId?: Maybe<Scalars['ObjectId']>;
|
|
1920
2039
|
label: Scalars['String'];
|
|
2040
|
+
/** The quantity that was loaded by the driver */
|
|
2041
|
+
loadedQuantity?: Maybe<Scalars['Float']>;
|
|
1921
2042
|
pallet?: Maybe<Scalars['Float']>;
|
|
1922
2043
|
pieces?: Maybe<Scalars['Float']>;
|
|
1923
2044
|
pinCode?: Maybe<Scalars['String']>;
|
|
@@ -1930,30 +2051,41 @@ export type Good = {
|
|
|
1930
2051
|
|
|
1931
2052
|
export type GoodDistribution = {
|
|
1932
2053
|
__typename?: 'GoodDistribution';
|
|
2054
|
+
alternativePinCodes?: Maybe<Array<Scalars['String']>>;
|
|
2055
|
+
/** The quantity that was actually delivered to the customer */
|
|
2056
|
+
deliveredQuantity?: Maybe<Scalars['Float']>;
|
|
1933
2057
|
goodId: Scalars['String'];
|
|
1934
2058
|
goodProfile?: Maybe<GoodProfile>;
|
|
1935
2059
|
goodProfileId?: Maybe<Scalars['ObjectId']>;
|
|
1936
2060
|
pinCode?: Maybe<Scalars['String']>;
|
|
1937
2061
|
quantity?: Maybe<Scalars['Float']>;
|
|
1938
2062
|
shipperId?: Maybe<Scalars['ObjectId']>;
|
|
2063
|
+
storageFacilityId?: Maybe<Scalars['String']>;
|
|
1939
2064
|
supplierId?: Maybe<Scalars['ObjectId']>;
|
|
1940
2065
|
unitPrice?: Maybe<Scalars['Float']>;
|
|
1941
2066
|
};
|
|
1942
2067
|
|
|
1943
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']>;
|
|
1944
2072
|
goodId: Scalars['String'];
|
|
1945
2073
|
goodProfileId?: InputMaybe<Scalars['ObjectId']>;
|
|
1946
2074
|
pinCode?: InputMaybe<Scalars['String']>;
|
|
1947
2075
|
quantity?: InputMaybe<Scalars['Float']>;
|
|
1948
2076
|
shipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
2077
|
+
storageFacilityId?: InputMaybe<Scalars['String']>;
|
|
1949
2078
|
supplierId?: InputMaybe<Scalars['ObjectId']>;
|
|
1950
2079
|
unitPrice?: InputMaybe<Scalars['Float']>;
|
|
1951
2080
|
};
|
|
1952
2081
|
|
|
1953
2082
|
export type GoodInput = {
|
|
1954
2083
|
_id: Scalars['String'];
|
|
2084
|
+
alternativePinCodes?: InputMaybe<Array<Scalars['String']>>;
|
|
1955
2085
|
goodProfileId?: InputMaybe<Scalars['ObjectId']>;
|
|
1956
2086
|
label: Scalars['String'];
|
|
2087
|
+
/** The quantity that was loaded by the driver */
|
|
2088
|
+
loadedQuantity?: InputMaybe<Scalars['Float']>;
|
|
1957
2089
|
pallet?: InputMaybe<Scalars['Float']>;
|
|
1958
2090
|
pieces?: InputMaybe<Scalars['Float']>;
|
|
1959
2091
|
pinCode?: InputMaybe<Scalars['String']>;
|
|
@@ -1986,6 +2118,10 @@ export type GoodProfile = {
|
|
|
1986
2118
|
customFields?: Maybe<Array<CustomField>>;
|
|
1987
2119
|
documents?: Maybe<Array<Document>>;
|
|
1988
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']>;
|
|
1989
2125
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
1990
2126
|
label: Scalars['String'];
|
|
1991
2127
|
liquidGravity?: Maybe<Scalars['Float']>;
|
|
@@ -1997,6 +2133,24 @@ export type GoodProfile = {
|
|
|
1997
2133
|
weight: Scalars['Float'];
|
|
1998
2134
|
};
|
|
1999
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
|
+
|
|
2000
2154
|
export type GoodProfileEquivalence = {
|
|
2001
2155
|
__typename?: 'GoodProfileEquivalence';
|
|
2002
2156
|
conditions: Array<GoodProfileEquivalenceCondition>;
|
|
@@ -2064,6 +2218,9 @@ export type GoodProfileUpdateInput = {
|
|
|
2064
2218
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
2065
2219
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
2066
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']>;
|
|
2067
2224
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
2068
2225
|
label?: InputMaybe<Scalars['String']>;
|
|
2069
2226
|
liquidGravity?: InputMaybe<Scalars['Float']>;
|
|
@@ -2125,7 +2282,10 @@ export type Invoice = {
|
|
|
2125
2282
|
charges: Array<ShipmentCharge>;
|
|
2126
2283
|
closingNote?: Maybe<Scalars['String']>;
|
|
2127
2284
|
customer?: Maybe<BusinessEntity>;
|
|
2285
|
+
/** IDs of the groups the invoice is associated with */
|
|
2286
|
+
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
2128
2287
|
invoiceNumber: Scalars['String'];
|
|
2288
|
+
missingRequiredDocuments?: Maybe<Array<DocumentRequirement>>;
|
|
2129
2289
|
paidAmount?: Maybe<Scalars['Float']>;
|
|
2130
2290
|
payments?: Maybe<Array<InvoicePayment>>;
|
|
2131
2291
|
pdfDocument: InvoicePdf;
|
|
@@ -2136,6 +2296,32 @@ export type Invoice = {
|
|
|
2136
2296
|
taxRate?: Maybe<Scalars['Float']>;
|
|
2137
2297
|
};
|
|
2138
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
|
+
|
|
2139
2325
|
export type InvoiceCreatedEvent = {
|
|
2140
2326
|
__typename?: 'InvoiceCreatedEvent';
|
|
2141
2327
|
name: Events;
|
|
@@ -2207,6 +2393,9 @@ export enum InvoiceStatus {
|
|
|
2207
2393
|
export type InvoiceUpdateInput = {
|
|
2208
2394
|
charges: Array<ShipmentChargeInput>;
|
|
2209
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>>;
|
|
2210
2399
|
paidAmount?: InputMaybe<Scalars['Float']>;
|
|
2211
2400
|
payments?: InputMaybe<Array<InvoicePaymentInput>>;
|
|
2212
2401
|
status?: InputMaybe<InvoiceStatus>;
|
|
@@ -2226,28 +2415,36 @@ export type InvoicingSettings = {
|
|
|
2226
2415
|
companyEmail?: Maybe<Scalars['String']>;
|
|
2227
2416
|
/** @deprecated Use Organization.phoneNumber instead */
|
|
2228
2417
|
companyPhone?: Maybe<Scalars['String']>;
|
|
2418
|
+
enableConsolidatedInvoicing?: Maybe<Scalars['Boolean']>;
|
|
2229
2419
|
enableTaxRate?: Maybe<Scalars['Boolean']>;
|
|
2230
2420
|
logoUrl?: Maybe<Scalars['String']>;
|
|
2231
2421
|
prefix?: Maybe<Scalars['String']>;
|
|
2232
2422
|
primaryColor?: Maybe<Scalars['String']>;
|
|
2233
2423
|
processes?: Maybe<Array<InvoicingProcess>>;
|
|
2424
|
+
receiverDocumentationBodyTemplate?: Maybe<Scalars['String']>;
|
|
2425
|
+
receiverDocumentationSubjectTemplate?: Maybe<Scalars['String']>;
|
|
2234
2426
|
remitAddress?: Maybe<TextualAddress>;
|
|
2235
2427
|
remitCompanyName?: Maybe<Scalars['String']>;
|
|
2236
2428
|
remitEmail?: Maybe<Scalars['String']>;
|
|
2429
|
+
showLoadedDeliveredQuantities?: Maybe<Scalars['Boolean']>;
|
|
2237
2430
|
};
|
|
2238
2431
|
|
|
2239
2432
|
export type InvoicingSettingsInput = {
|
|
2240
2433
|
companyAddress?: InputMaybe<Scalars['String']>;
|
|
2241
2434
|
companyEmail?: InputMaybe<Scalars['String']>;
|
|
2242
2435
|
companyPhone?: InputMaybe<Scalars['String']>;
|
|
2436
|
+
enableConsolidatedInvoicing?: InputMaybe<Scalars['Boolean']>;
|
|
2243
2437
|
enableTaxRate?: InputMaybe<Scalars['Boolean']>;
|
|
2244
2438
|
logoUrl?: InputMaybe<Scalars['String']>;
|
|
2245
2439
|
prefix?: InputMaybe<Scalars['String']>;
|
|
2246
2440
|
primaryColor?: InputMaybe<Scalars['String']>;
|
|
2247
2441
|
processes?: InputMaybe<Array<InvoicingProcess>>;
|
|
2442
|
+
receiverDocumentationBodyTemplate?: InputMaybe<Scalars['String']>;
|
|
2443
|
+
receiverDocumentationSubjectTemplate?: InputMaybe<Scalars['String']>;
|
|
2248
2444
|
remitAddress?: InputMaybe<TextualAddressInput>;
|
|
2249
2445
|
remitCompanyName?: InputMaybe<Scalars['String']>;
|
|
2250
2446
|
remitEmail?: InputMaybe<Scalars['String']>;
|
|
2447
|
+
showLoadedDeliveredQuantities?: InputMaybe<Scalars['Boolean']>;
|
|
2251
2448
|
};
|
|
2252
2449
|
|
|
2253
2450
|
export type KeycloakOrganizationAttributes = {
|
|
@@ -2486,6 +2683,7 @@ export type Mutation = {
|
|
|
2486
2683
|
addBillingRule: BillingRule;
|
|
2487
2684
|
addBroker: Broker;
|
|
2488
2685
|
addBusinessEntity: BusinessEntity;
|
|
2686
|
+
addCharge: Shipment;
|
|
2489
2687
|
addChassis: Chassis;
|
|
2490
2688
|
addCustomFieldDefinition: CustomFieldDefinition;
|
|
2491
2689
|
addCustomer: Customer;
|
|
@@ -2495,6 +2693,7 @@ export type Mutation = {
|
|
|
2495
2693
|
addDriverShift: DriverShift;
|
|
2496
2694
|
addDriverShiftAssignment: DriverShiftAssignment;
|
|
2497
2695
|
addGoodProfile: GoodProfile;
|
|
2696
|
+
addGoodProfileClass: GoodProfileClass;
|
|
2498
2697
|
addGroup: Group;
|
|
2499
2698
|
addMaintenanceTask: MaintenanceTask;
|
|
2500
2699
|
addNotesShipment: Shipment;
|
|
@@ -2503,6 +2702,8 @@ export type Mutation = {
|
|
|
2503
2702
|
addOrgUser: OrgUser;
|
|
2504
2703
|
addPaymentRule: PaymentRule;
|
|
2505
2704
|
addQualification: Qualification;
|
|
2705
|
+
addRateTable: RateTable;
|
|
2706
|
+
addReasonCode: ReasonCode;
|
|
2506
2707
|
addReceiver: Receiver;
|
|
2507
2708
|
addReceiverForecast: ReceiverForecast;
|
|
2508
2709
|
addRelationship: Relationship;
|
|
@@ -2523,8 +2724,10 @@ export type Mutation = {
|
|
|
2523
2724
|
assignTripAsset: Trip;
|
|
2524
2725
|
assignTripAssets?: Maybe<Trip>;
|
|
2525
2726
|
assignTripTrailerCompartments: Trip;
|
|
2727
|
+
batchProcessInvoices?: Maybe<InvoiceBatchResult>;
|
|
2526
2728
|
bulkAddBusinessEntities: Array<BusinessEntity>;
|
|
2527
2729
|
bulkAddDrivers: Array<Driver>;
|
|
2730
|
+
bulkAddGoodProfileClasses: Array<GoodProfileClass>;
|
|
2528
2731
|
bulkAddGoodProfiles: Array<GoodProfile>;
|
|
2529
2732
|
bulkAddGroups: Array<Group>;
|
|
2530
2733
|
bulkAddOrders: Array<Order>;
|
|
@@ -2539,6 +2742,7 @@ export type Mutation = {
|
|
|
2539
2742
|
bulkEditBusinessEntities: BulkUpdateResult;
|
|
2540
2743
|
bulkEditDrivers: BulkUpdateResult;
|
|
2541
2744
|
bulkEditGoodProfiles: BulkUpdateResult;
|
|
2745
|
+
bulkEditInvoices?: Maybe<Array<Invoice>>;
|
|
2542
2746
|
bulkEditShipments: BulkUpdateResult;
|
|
2543
2747
|
bulkEditTractors: BulkUpdateResult;
|
|
2544
2748
|
bulkEditTrailers: BulkUpdateResult;
|
|
@@ -2554,6 +2758,7 @@ export type Mutation = {
|
|
|
2554
2758
|
deleteBillingRule: Scalars['Boolean'];
|
|
2555
2759
|
deleteBroker: Scalars['Boolean'];
|
|
2556
2760
|
deleteBusinessEntity: Scalars['Boolean'];
|
|
2761
|
+
deleteCharge: Shipment;
|
|
2557
2762
|
deleteCustomFieldDefinition: Scalars['Boolean'];
|
|
2558
2763
|
deleteCustomer: Scalars['Boolean'];
|
|
2559
2764
|
deleteCustomerOrder: Scalars['Boolean'];
|
|
@@ -2564,6 +2769,7 @@ export type Mutation = {
|
|
|
2564
2769
|
deleteDriverShift: Scalars['Boolean'];
|
|
2565
2770
|
deleteDriverShiftAssignment: Scalars['Boolean'];
|
|
2566
2771
|
deleteGoodProfile: Scalars['Boolean'];
|
|
2772
|
+
deleteGoodProfileClass?: Maybe<Scalars['Boolean']>;
|
|
2567
2773
|
deleteGroup: Scalars['Boolean'];
|
|
2568
2774
|
deleteInvoice: Scalars['Boolean'];
|
|
2569
2775
|
deleteMaintenanceTask: Scalars['Boolean'];
|
|
@@ -2572,6 +2778,8 @@ export type Mutation = {
|
|
|
2572
2778
|
deleteOrgUser: Scalars['Boolean'];
|
|
2573
2779
|
deletePaymentRule: Scalars['Boolean'];
|
|
2574
2780
|
deleteQualification: Scalars['Boolean'];
|
|
2781
|
+
deleteRateTable: Scalars['Boolean'];
|
|
2782
|
+
deleteReasonCode: Scalars['Boolean'];
|
|
2575
2783
|
deleteReceiver: Scalars['Boolean'];
|
|
2576
2784
|
deleteReceiverForecast: Scalars['Boolean'];
|
|
2577
2785
|
deleteRelationship: Scalars['Boolean'];
|
|
@@ -2592,6 +2800,7 @@ export type Mutation = {
|
|
|
2592
2800
|
editBillingRule: BillingRule;
|
|
2593
2801
|
editBroker: Broker;
|
|
2594
2802
|
editBusinessEntity: BusinessEntity;
|
|
2803
|
+
editCharge: Shipment;
|
|
2595
2804
|
editCustomFieldDefinition: CustomFieldDefinition;
|
|
2596
2805
|
editCustomer: Customer;
|
|
2597
2806
|
editCustomerOrder: Order;
|
|
@@ -2604,6 +2813,7 @@ export type Mutation = {
|
|
|
2604
2813
|
/** Edit good pin code */
|
|
2605
2814
|
editGoodPinCode?: Maybe<Shipment>;
|
|
2606
2815
|
editGoodProfile: GoodProfile;
|
|
2816
|
+
editGoodProfileClass?: Maybe<GoodProfileClass>;
|
|
2607
2817
|
/** Edit good weight */
|
|
2608
2818
|
editGoodWeight?: Maybe<Shipment>;
|
|
2609
2819
|
editGroup: Group;
|
|
@@ -2616,6 +2826,8 @@ export type Mutation = {
|
|
|
2616
2826
|
editOrganization: Scalars['String'];
|
|
2617
2827
|
editPaymentRule?: Maybe<PaymentRule>;
|
|
2618
2828
|
editQualification: Qualification;
|
|
2829
|
+
editRateTable: RateTable;
|
|
2830
|
+
editReasonCode: ReasonCode;
|
|
2619
2831
|
editReceiver: Receiver;
|
|
2620
2832
|
editReceiverForecast: ReceiverForecast;
|
|
2621
2833
|
editRelationship: Relationship;
|
|
@@ -2635,6 +2847,7 @@ export type Mutation = {
|
|
|
2635
2847
|
generateDriverSettlement: DriverSettlement;
|
|
2636
2848
|
generateDriverSettlementForTrips: DriverSettlement;
|
|
2637
2849
|
generateInvoice: Invoice;
|
|
2850
|
+
generateReportCsv: ReportCsv;
|
|
2638
2851
|
generateReportPdf: ReportPdf;
|
|
2639
2852
|
generateShipmentRoute: ShipmentRoute;
|
|
2640
2853
|
generateTrip: Trip;
|
|
@@ -2652,6 +2865,7 @@ export type Mutation = {
|
|
|
2652
2865
|
rankSupplierContractsForPurchases: Array<SupplierContractRanking>;
|
|
2653
2866
|
removeShipmentFromTrip: RemoveShipmentFromTripResult;
|
|
2654
2867
|
reportShipmentIssue: Shipment;
|
|
2868
|
+
resendDocumentsToReceivers: Scalars['String'];
|
|
2655
2869
|
restoreLatestSnapshot: Scalars['Boolean'];
|
|
2656
2870
|
restoreShipment: Shipment;
|
|
2657
2871
|
saveDataSnapshot: Snapshot;
|
|
@@ -2666,6 +2880,8 @@ export type Mutation = {
|
|
|
2666
2880
|
uninstallExtension: Scalars['Boolean'];
|
|
2667
2881
|
updateAccountStatus: Scalars['Boolean'];
|
|
2668
2882
|
updateDriverSettlementStatus?: Maybe<DriverSettlement>;
|
|
2883
|
+
updateGoodDeliveredQuantity: Shipment;
|
|
2884
|
+
updateGoodLoadedQuantity: Shipment;
|
|
2669
2885
|
updateInvoiceStatus?: Maybe<Invoice>;
|
|
2670
2886
|
updateInvoiceTaxRate?: Maybe<Invoice>;
|
|
2671
2887
|
updateMyAccount: OrgUser;
|
|
@@ -2697,6 +2913,12 @@ export type MutationAddBusinessEntityArgs = {
|
|
|
2697
2913
|
};
|
|
2698
2914
|
|
|
2699
2915
|
|
|
2916
|
+
export type MutationAddChargeArgs = {
|
|
2917
|
+
chargeData: ShipmentChargeInput;
|
|
2918
|
+
shipmentId: Scalars['String'];
|
|
2919
|
+
};
|
|
2920
|
+
|
|
2921
|
+
|
|
2700
2922
|
export type MutationAddChassisArgs = {
|
|
2701
2923
|
newChassisData: NewTractorInput;
|
|
2702
2924
|
};
|
|
@@ -2742,6 +2964,11 @@ export type MutationAddGoodProfileArgs = {
|
|
|
2742
2964
|
};
|
|
2743
2965
|
|
|
2744
2966
|
|
|
2967
|
+
export type MutationAddGoodProfileClassArgs = {
|
|
2968
|
+
newGoodProfileClassData: NewGoodProfileClassInput;
|
|
2969
|
+
};
|
|
2970
|
+
|
|
2971
|
+
|
|
2745
2972
|
export type MutationAddGroupArgs = {
|
|
2746
2973
|
newGroupData: NewGroupInput;
|
|
2747
2974
|
};
|
|
@@ -2782,6 +3009,16 @@ export type MutationAddQualificationArgs = {
|
|
|
2782
3009
|
};
|
|
2783
3010
|
|
|
2784
3011
|
|
|
3012
|
+
export type MutationAddRateTableArgs = {
|
|
3013
|
+
newRateTableData: NewRateTableInput;
|
|
3014
|
+
};
|
|
3015
|
+
|
|
3016
|
+
|
|
3017
|
+
export type MutationAddReasonCodeArgs = {
|
|
3018
|
+
newReasonCodeData: NewReasonCodeInput;
|
|
3019
|
+
};
|
|
3020
|
+
|
|
3021
|
+
|
|
2785
3022
|
export type MutationAddReceiverArgs = {
|
|
2786
3023
|
newReceiverData: NewBusinessEntityInput;
|
|
2787
3024
|
};
|
|
@@ -2883,6 +3120,12 @@ export type MutationAssignTripTrailerCompartmentsArgs = {
|
|
|
2883
3120
|
};
|
|
2884
3121
|
|
|
2885
3122
|
|
|
3123
|
+
export type MutationBatchProcessInvoicesArgs = {
|
|
3124
|
+
invoiceIds: Array<Scalars['ObjectId']>;
|
|
3125
|
+
status: InvoiceStatus;
|
|
3126
|
+
};
|
|
3127
|
+
|
|
3128
|
+
|
|
2886
3129
|
export type MutationBulkAddBusinessEntitiesArgs = {
|
|
2887
3130
|
newBusinessEntityData: Array<NewBusinessEntityInputWithType>;
|
|
2888
3131
|
};
|
|
@@ -2893,6 +3136,11 @@ export type MutationBulkAddDriversArgs = {
|
|
|
2893
3136
|
};
|
|
2894
3137
|
|
|
2895
3138
|
|
|
3139
|
+
export type MutationBulkAddGoodProfileClassesArgs = {
|
|
3140
|
+
newGoodProfileClassesData: Array<NewGoodProfileClassInput>;
|
|
3141
|
+
};
|
|
3142
|
+
|
|
3143
|
+
|
|
2896
3144
|
export type MutationBulkAddGoodProfilesArgs = {
|
|
2897
3145
|
newGoodProfilesData: Array<NewGoodProfileInput>;
|
|
2898
3146
|
};
|
|
@@ -2967,6 +3215,12 @@ export type MutationBulkEditGoodProfilesArgs = {
|
|
|
2967
3215
|
};
|
|
2968
3216
|
|
|
2969
3217
|
|
|
3218
|
+
export type MutationBulkEditInvoicesArgs = {
|
|
3219
|
+
bulkEditInvoiceData: InvoiceBulkUpdateInput;
|
|
3220
|
+
ids: Array<Scalars['ObjectId']>;
|
|
3221
|
+
};
|
|
3222
|
+
|
|
3223
|
+
|
|
2970
3224
|
export type MutationBulkEditShipmentsArgs = {
|
|
2971
3225
|
editshipmentsData: ShipmentUpdateInput;
|
|
2972
3226
|
ids: Array<Scalars['ObjectId']>;
|
|
@@ -3048,6 +3302,12 @@ export type MutationDeleteBusinessEntityArgs = {
|
|
|
3048
3302
|
};
|
|
3049
3303
|
|
|
3050
3304
|
|
|
3305
|
+
export type MutationDeleteChargeArgs = {
|
|
3306
|
+
chargeId: Scalars['String'];
|
|
3307
|
+
shipmentId: Scalars['String'];
|
|
3308
|
+
};
|
|
3309
|
+
|
|
3310
|
+
|
|
3051
3311
|
export type MutationDeleteCustomFieldDefinitionArgs = {
|
|
3052
3312
|
id: Scalars['String'];
|
|
3053
3313
|
};
|
|
@@ -3098,6 +3358,11 @@ export type MutationDeleteGoodProfileArgs = {
|
|
|
3098
3358
|
};
|
|
3099
3359
|
|
|
3100
3360
|
|
|
3361
|
+
export type MutationDeleteGoodProfileClassArgs = {
|
|
3362
|
+
id: Scalars['ObjectId'];
|
|
3363
|
+
};
|
|
3364
|
+
|
|
3365
|
+
|
|
3101
3366
|
export type MutationDeleteGroupArgs = {
|
|
3102
3367
|
id: Scalars['String'];
|
|
3103
3368
|
};
|
|
@@ -3138,6 +3403,16 @@ export type MutationDeleteQualificationArgs = {
|
|
|
3138
3403
|
};
|
|
3139
3404
|
|
|
3140
3405
|
|
|
3406
|
+
export type MutationDeleteRateTableArgs = {
|
|
3407
|
+
id: Scalars['String'];
|
|
3408
|
+
};
|
|
3409
|
+
|
|
3410
|
+
|
|
3411
|
+
export type MutationDeleteReasonCodeArgs = {
|
|
3412
|
+
id: Scalars['ObjectId'];
|
|
3413
|
+
};
|
|
3414
|
+
|
|
3415
|
+
|
|
3141
3416
|
export type MutationDeleteReceiverArgs = {
|
|
3142
3417
|
id: Scalars['String'];
|
|
3143
3418
|
};
|
|
@@ -3245,6 +3520,12 @@ export type MutationEditBusinessEntityArgs = {
|
|
|
3245
3520
|
};
|
|
3246
3521
|
|
|
3247
3522
|
|
|
3523
|
+
export type MutationEditChargeArgs = {
|
|
3524
|
+
editChargeData: ShipmentChargeInput;
|
|
3525
|
+
shipmentId: Scalars['String'];
|
|
3526
|
+
};
|
|
3527
|
+
|
|
3528
|
+
|
|
3248
3529
|
export type MutationEditCustomFieldDefinitionArgs = {
|
|
3249
3530
|
editCustomFieldDefinitionData: CustomFieldDefinitionUpdateInput;
|
|
3250
3531
|
id: Scalars['String'];
|
|
@@ -3311,6 +3592,12 @@ export type MutationEditGoodProfileArgs = {
|
|
|
3311
3592
|
};
|
|
3312
3593
|
|
|
3313
3594
|
|
|
3595
|
+
export type MutationEditGoodProfileClassArgs = {
|
|
3596
|
+
editGoodProfileClassData: GoodProfileClassUpdateInput;
|
|
3597
|
+
id: Scalars['ObjectId'];
|
|
3598
|
+
};
|
|
3599
|
+
|
|
3600
|
+
|
|
3314
3601
|
export type MutationEditGoodWeightArgs = {
|
|
3315
3602
|
goodId: Scalars['String'];
|
|
3316
3603
|
id: Scalars['ObjectId'];
|
|
@@ -3376,6 +3663,18 @@ export type MutationEditQualificationArgs = {
|
|
|
3376
3663
|
};
|
|
3377
3664
|
|
|
3378
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
|
+
|
|
3379
3678
|
export type MutationEditReceiverArgs = {
|
|
3380
3679
|
editReceiverData: BusinessEntityUpdateInput;
|
|
3381
3680
|
id: Scalars['String'];
|
|
@@ -3489,6 +3788,15 @@ export type MutationGenerateInvoiceArgs = {
|
|
|
3489
3788
|
};
|
|
3490
3789
|
|
|
3491
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
|
+
|
|
3492
3800
|
export type MutationGenerateReportPdfArgs = {
|
|
3493
3801
|
filter?: InputMaybe<Scalars['ReportFilter']>;
|
|
3494
3802
|
lang: Scalars['String'];
|
|
@@ -3574,6 +3882,11 @@ export type MutationReportShipmentIssueArgs = {
|
|
|
3574
3882
|
};
|
|
3575
3883
|
|
|
3576
3884
|
|
|
3885
|
+
export type MutationResendDocumentsToReceiversArgs = {
|
|
3886
|
+
shipmentId: Scalars['ObjectId'];
|
|
3887
|
+
};
|
|
3888
|
+
|
|
3889
|
+
|
|
3577
3890
|
export type MutationRestoreShipmentArgs = {
|
|
3578
3891
|
id: Scalars['String'];
|
|
3579
3892
|
};
|
|
@@ -3642,6 +3955,16 @@ export type MutationUpdateDriverSettlementStatusArgs = {
|
|
|
3642
3955
|
};
|
|
3643
3956
|
|
|
3644
3957
|
|
|
3958
|
+
export type MutationUpdateGoodDeliveredQuantityArgs = {
|
|
3959
|
+
input: UpdateGoodDeliveredQuantityInput;
|
|
3960
|
+
};
|
|
3961
|
+
|
|
3962
|
+
|
|
3963
|
+
export type MutationUpdateGoodLoadedQuantityArgs = {
|
|
3964
|
+
input: UpdateGoodLoadedQuantityInput;
|
|
3965
|
+
};
|
|
3966
|
+
|
|
3967
|
+
|
|
3645
3968
|
export type MutationUpdateInvoiceStatusArgs = {
|
|
3646
3969
|
closingNote?: InputMaybe<Scalars['String']>;
|
|
3647
3970
|
invoiceId: Scalars['String'];
|
|
@@ -3727,13 +4050,18 @@ export type NewBusinessEntityInput = {
|
|
|
3727
4050
|
address: NewAddressInput;
|
|
3728
4051
|
billingAddress?: InputMaybe<NewTextualAddressInput>;
|
|
3729
4052
|
billingEmail?: InputMaybe<Scalars['String']>;
|
|
4053
|
+
/** Criteria for invoice consolidation */
|
|
4054
|
+
billingInvoiceConsolidationCriteria?: InputMaybe<InvoiceConsolidationCriteria>;
|
|
3730
4055
|
billingTermsDay?: InputMaybe<Scalars['Float']>;
|
|
4056
|
+
billingWeekStartsOn?: InputMaybe<Scalars['Float']>;
|
|
3731
4057
|
code?: InputMaybe<Scalars['String']>;
|
|
3732
4058
|
contact?: InputMaybe<NewContactInput>;
|
|
3733
4059
|
creditTerms?: InputMaybe<Scalars['String']>;
|
|
3734
4060
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
3735
4061
|
defaultReferenceNumbers?: InputMaybe<Array<DefaultReferenceNumberInput>>;
|
|
3736
4062
|
defaultShipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
4063
|
+
/** Document requirements for invoicing for this business entity */
|
|
4064
|
+
documentRequirements?: InputMaybe<Array<DocumentRequirementInput>>;
|
|
3737
4065
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
3738
4066
|
dotNumber?: InputMaybe<Scalars['String']>;
|
|
3739
4067
|
externalId?: InputMaybe<Scalars['String']>;
|
|
@@ -3742,6 +4070,7 @@ export type NewBusinessEntityInput = {
|
|
|
3742
4070
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3743
4071
|
mcNumber?: InputMaybe<Scalars['String']>;
|
|
3744
4072
|
name: Scalars['String'];
|
|
4073
|
+
notes?: InputMaybe<Array<BusinessEntityNoteInput>>;
|
|
3745
4074
|
openingSchedules?: InputMaybe<Array<OpeningScheduleInput>>;
|
|
3746
4075
|
parentBusinessEntityId?: InputMaybe<Scalars['ObjectId']>;
|
|
3747
4076
|
payToProfileId?: InputMaybe<Scalars['ObjectId']>;
|
|
@@ -3765,13 +4094,18 @@ export type NewBusinessEntityInputWithType = {
|
|
|
3765
4094
|
address: NewAddressInput;
|
|
3766
4095
|
billingAddress?: InputMaybe<NewTextualAddressInput>;
|
|
3767
4096
|
billingEmail?: InputMaybe<Scalars['String']>;
|
|
4097
|
+
/** Criteria for invoice consolidation */
|
|
4098
|
+
billingInvoiceConsolidationCriteria?: InputMaybe<InvoiceConsolidationCriteria>;
|
|
3768
4099
|
billingTermsDay?: InputMaybe<Scalars['Float']>;
|
|
4100
|
+
billingWeekStartsOn?: InputMaybe<Scalars['Float']>;
|
|
3769
4101
|
code?: InputMaybe<Scalars['String']>;
|
|
3770
4102
|
contact?: InputMaybe<NewContactInput>;
|
|
3771
4103
|
creditTerms?: InputMaybe<Scalars['String']>;
|
|
3772
4104
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
3773
4105
|
defaultReferenceNumbers?: InputMaybe<Array<DefaultReferenceNumberInput>>;
|
|
3774
4106
|
defaultShipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
4107
|
+
/** Document requirements for invoicing for this business entity */
|
|
4108
|
+
documentRequirements?: InputMaybe<Array<DocumentRequirementInput>>;
|
|
3775
4109
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
3776
4110
|
dotNumber?: InputMaybe<Scalars['String']>;
|
|
3777
4111
|
externalId?: InputMaybe<Scalars['String']>;
|
|
@@ -3780,6 +4114,7 @@ export type NewBusinessEntityInputWithType = {
|
|
|
3780
4114
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3781
4115
|
mcNumber?: InputMaybe<Scalars['String']>;
|
|
3782
4116
|
name: Scalars['String'];
|
|
4117
|
+
notes?: InputMaybe<Array<BusinessEntityNoteInput>>;
|
|
3783
4118
|
openingSchedules?: InputMaybe<Array<OpeningScheduleInput>>;
|
|
3784
4119
|
parentBusinessEntityId?: InputMaybe<Scalars['ObjectId']>;
|
|
3785
4120
|
payToProfileId?: InputMaybe<Scalars['ObjectId']>;
|
|
@@ -3842,6 +4177,7 @@ export type NewDriverInput = {
|
|
|
3842
4177
|
domicileId?: InputMaybe<Scalars['ObjectId']>;
|
|
3843
4178
|
eldId?: InputMaybe<Scalars['String']>;
|
|
3844
4179
|
email?: InputMaybe<Scalars['String']>;
|
|
4180
|
+
externalId?: InputMaybe<Scalars['String']>;
|
|
3845
4181
|
firstname: Scalars['String'];
|
|
3846
4182
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3847
4183
|
hos?: InputMaybe<DriverHosInput>;
|
|
@@ -3876,12 +4212,20 @@ export type NewDriverShiftInput = {
|
|
|
3876
4212
|
startTime: TimeInput;
|
|
3877
4213
|
};
|
|
3878
4214
|
|
|
4215
|
+
export type NewGoodProfileClassInput = {
|
|
4216
|
+
description?: InputMaybe<Scalars['String']>;
|
|
4217
|
+
label: Scalars['String'];
|
|
4218
|
+
};
|
|
4219
|
+
|
|
3879
4220
|
export type NewGoodProfileInput = {
|
|
3880
4221
|
code?: InputMaybe<Scalars['String']>;
|
|
3881
4222
|
color?: InputMaybe<Scalars['String']>;
|
|
3882
4223
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
3883
4224
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
3884
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']>;
|
|
3885
4229
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3886
4230
|
label: Scalars['String'];
|
|
3887
4231
|
liquidGravity?: InputMaybe<Scalars['Float']>;
|
|
@@ -3941,6 +4285,7 @@ export type NewOrganizationInput = {
|
|
|
3941
4285
|
email?: InputMaybe<Scalars['Email']>;
|
|
3942
4286
|
name: Scalars['String'];
|
|
3943
4287
|
phoneNumber?: InputMaybe<Scalars['String']>;
|
|
4288
|
+
taxId?: InputMaybe<Scalars['String']>;
|
|
3944
4289
|
};
|
|
3945
4290
|
|
|
3946
4291
|
export type NewPaymentRuleInput = {
|
|
@@ -3961,6 +4306,30 @@ export type NewQualificationInput = {
|
|
|
3961
4306
|
startDate: Scalars['DateTime'];
|
|
3962
4307
|
};
|
|
3963
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
|
+
|
|
3964
4333
|
export type NewReceiverForecastInput = {
|
|
3965
4334
|
models: Array<ForecastingModelInput>;
|
|
3966
4335
|
readingsFileConfiguration?: InputMaybe<ReadingsFileConfigurationInput>;
|
|
@@ -3996,6 +4365,7 @@ export type NewShipmentInput = {
|
|
|
3996
4365
|
orderId?: InputMaybe<Scalars['ObjectId']>;
|
|
3997
4366
|
postOfficeNumber?: InputMaybe<Scalars['String']>;
|
|
3998
4367
|
purchaseOrderNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
4368
|
+
rateConNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
3999
4369
|
recurrence?: InputMaybe<ShipmentRecurrenceInput>;
|
|
4000
4370
|
referenceNumber?: InputMaybe<Scalars['String']>;
|
|
4001
4371
|
referenceNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
@@ -4015,13 +4385,13 @@ export type NewStorageFacilityReadingInput = {
|
|
|
4015
4385
|
|
|
4016
4386
|
export type NewSupplierContractInput = {
|
|
4017
4387
|
/** The maximum quantities of product allowed by the contract */
|
|
4018
|
-
allocation
|
|
4388
|
+
allocation?: InputMaybe<SupplierContractAllocationInput>;
|
|
4019
4389
|
/** The conditions that must be met for the contract to apply */
|
|
4020
4390
|
conditions?: InputMaybe<Array<SupplierContractConditionInput>>;
|
|
4021
4391
|
/** The identifier of the contract */
|
|
4022
4392
|
contractNumber: Scalars['String'];
|
|
4023
4393
|
/** The id of the customer that the contract is for */
|
|
4024
|
-
customerId
|
|
4394
|
+
customerId?: InputMaybe<Scalars['ObjectId']>;
|
|
4025
4395
|
/** The end date of the contract. The contract cannot be used after this date */
|
|
4026
4396
|
endDate: Scalars['DateTime'];
|
|
4027
4397
|
/** The id of the commodity that the contract is for */
|
|
@@ -4029,7 +4399,7 @@ export type NewSupplierContractInput = {
|
|
|
4029
4399
|
/** The pin code to use the contract */
|
|
4030
4400
|
pinCode?: InputMaybe<Scalars['String']>;
|
|
4031
4401
|
/** The id of the shipper where the commodity can be picked up at */
|
|
4032
|
-
shipperId
|
|
4402
|
+
shipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
4033
4403
|
/** The start date of the contract. The contract cannot be used before this date */
|
|
4034
4404
|
startDate: Scalars['DateTime'];
|
|
4035
4405
|
/** The id of the supplier that the contract is with */
|
|
@@ -4055,6 +4425,7 @@ export type NewTractorInput = {
|
|
|
4055
4425
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
4056
4426
|
domicile?: InputMaybe<NewAddressInput>;
|
|
4057
4427
|
eldId?: InputMaybe<Scalars['String']>;
|
|
4428
|
+
externalId?: InputMaybe<Scalars['String']>;
|
|
4058
4429
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
4059
4430
|
licenseNumber?: InputMaybe<Scalars['String']>;
|
|
4060
4431
|
make?: InputMaybe<Scalars['String']>;
|
|
@@ -4116,6 +4487,7 @@ export type NewTripInput = {
|
|
|
4116
4487
|
};
|
|
4117
4488
|
|
|
4118
4489
|
export enum NoteAccessLevel {
|
|
4490
|
+
Carrier = 'CARRIER',
|
|
4119
4491
|
Customer = 'CUSTOMER',
|
|
4120
4492
|
Dispatcher = 'DISPATCHER',
|
|
4121
4493
|
Driver = 'DRIVER'
|
|
@@ -4253,6 +4625,7 @@ export type Organization = {
|
|
|
4253
4625
|
phoneNumber?: Maybe<Scalars['String']>;
|
|
4254
4626
|
/** @deprecated This field should not be used by any client. The realm is the same accross all orgs */
|
|
4255
4627
|
realm: Scalars['String'];
|
|
4628
|
+
taxId?: Maybe<Scalars['String']>;
|
|
4256
4629
|
};
|
|
4257
4630
|
|
|
4258
4631
|
export type OrganizationDocument = {
|
|
@@ -4295,6 +4668,7 @@ export type OrganizationUpdateInput = {
|
|
|
4295
4668
|
email?: InputMaybe<Scalars['Email']>;
|
|
4296
4669
|
name?: InputMaybe<Scalars['String']>;
|
|
4297
4670
|
phoneNumber?: InputMaybe<Scalars['String']>;
|
|
4671
|
+
taxId?: InputMaybe<Scalars['String']>;
|
|
4298
4672
|
};
|
|
4299
4673
|
|
|
4300
4674
|
export type PartialShipment = {
|
|
@@ -4335,6 +4709,8 @@ export type PartialShipment = {
|
|
|
4335
4709
|
expenses?: Maybe<Array<Transaction>>;
|
|
4336
4710
|
/** IDs of the groups the shipment is associated with */
|
|
4337
4711
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
4712
|
+
/** Whether the shipment is applicable for charge order cancellation */
|
|
4713
|
+
isApplicableChargeOrderCancellation?: Maybe<Scalars['Boolean']>;
|
|
4338
4714
|
/** Set for child shipments of a master shipment with rotations */
|
|
4339
4715
|
isFromRotation?: Maybe<Scalars['Boolean']>;
|
|
4340
4716
|
/** Whether the shipment is a child of a split shipment */
|
|
@@ -4360,6 +4736,8 @@ export type PartialShipment = {
|
|
|
4360
4736
|
postOfficeNumber?: Maybe<Scalars['String']>;
|
|
4361
4737
|
/** Purchase order numbers for the shipment */
|
|
4362
4738
|
purchaseOrderNumbers?: Maybe<Array<Scalars['String']>>;
|
|
4739
|
+
/** Rate confirmation numbers for the shipment */
|
|
4740
|
+
rateConNumbers?: Maybe<Array<Scalars['String']>>;
|
|
4363
4741
|
/** For cancelled shipments, the reason for cancellation */
|
|
4364
4742
|
reasonForCancellation?: Maybe<Scalars['String']>;
|
|
4365
4743
|
/** For recurrent shipments, the recurrence pattern */
|
|
@@ -4537,6 +4915,12 @@ export type QualificationUpdateInput = {
|
|
|
4537
4915
|
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
4538
4916
|
};
|
|
4539
4917
|
|
|
4918
|
+
export enum QuantityType {
|
|
4919
|
+
Delivered = 'DELIVERED',
|
|
4920
|
+
Loaded = 'LOADED',
|
|
4921
|
+
Ordered = 'ORDERED'
|
|
4922
|
+
}
|
|
4923
|
+
|
|
4540
4924
|
export type Query = {
|
|
4541
4925
|
__typename?: 'Query';
|
|
4542
4926
|
assetLinkingByDriverId?: Maybe<AssetLinking>;
|
|
@@ -4559,6 +4943,7 @@ export type Query = {
|
|
|
4559
4943
|
customerById: Customer;
|
|
4560
4944
|
customerOrderById: Order;
|
|
4561
4945
|
customerOrders: OrderPaginatedResult;
|
|
4946
|
+
customerRateTables: RateTablePaginatedResult;
|
|
4562
4947
|
customerShipments: ShipmentPaginatedResult;
|
|
4563
4948
|
customers: CustomerPaginatedResult;
|
|
4564
4949
|
cutomFieldDefinitions: CustomFieldDefinitionPaginatedResult;
|
|
@@ -4567,6 +4952,7 @@ export type Query = {
|
|
|
4567
4952
|
driverByEldId?: Maybe<Driver>;
|
|
4568
4953
|
driverById: Driver;
|
|
4569
4954
|
driverByLicenseNumber?: Maybe<Driver>;
|
|
4955
|
+
driverRateTables: RateTablePaginatedResult;
|
|
4570
4956
|
driverSettlementById?: Maybe<DriverSettlement>;
|
|
4571
4957
|
driverSettlementByNumber: DriverSettlement;
|
|
4572
4958
|
driverSettlements: DriverSettlementPaginatedResult;
|
|
@@ -4585,6 +4971,8 @@ export type Query = {
|
|
|
4585
4971
|
extensionsWidgets: Array<ExtensionWidgetWithExtensionInfo>;
|
|
4586
4972
|
forecastingNotifications: Array<ForecastingNotification>;
|
|
4587
4973
|
goodProfileById: GoodProfile;
|
|
4974
|
+
goodProfileClassById?: Maybe<GoodProfileClass>;
|
|
4975
|
+
goodProfileClasses: GoodProfileClassPaginatedResult;
|
|
4588
4976
|
goodProfiles: GoodProfilePaginatedResult;
|
|
4589
4977
|
groupById: Group;
|
|
4590
4978
|
groups: GroupPaginatedResult;
|
|
@@ -4613,6 +5001,12 @@ export type Query = {
|
|
|
4613
5001
|
qualificationByDriverId?: Maybe<Qualification>;
|
|
4614
5002
|
qualificationById?: Maybe<Qualification>;
|
|
4615
5003
|
qualifications: QualificationPaginatedResult;
|
|
5004
|
+
rateTableById: RateTable;
|
|
5005
|
+
rateTables: RateTablePaginatedResult;
|
|
5006
|
+
reasonCodeById?: Maybe<ReasonCode>;
|
|
5007
|
+
reasonCodes: ReasonCodePaginatedResult;
|
|
5008
|
+
reasonCodesByShipment: ReasonCodePaginatedResult;
|
|
5009
|
+
reasonCodesByTrip: ReasonCodePaginatedResult;
|
|
4616
5010
|
receiverById: Receiver;
|
|
4617
5011
|
receiverForecastById: ReceiverForecast;
|
|
4618
5012
|
receiverForecasts: ReceiverForecastPaginatedResult;
|
|
@@ -4789,6 +5183,17 @@ export type QueryCustomerOrdersArgs = {
|
|
|
4789
5183
|
};
|
|
4790
5184
|
|
|
4791
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
|
+
|
|
4792
5197
|
export type QueryCustomerShipmentsArgs = {
|
|
4793
5198
|
filter?: InputMaybe<Scalars['JSON']>;
|
|
4794
5199
|
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
@@ -4847,6 +5252,17 @@ export type QueryDriverByLicenseNumberArgs = {
|
|
|
4847
5252
|
};
|
|
4848
5253
|
|
|
4849
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
|
+
|
|
4850
5266
|
export type QueryDriverSettlementByIdArgs = {
|
|
4851
5267
|
id: Scalars['String'];
|
|
4852
5268
|
};
|
|
@@ -4955,6 +5371,20 @@ export type QueryGoodProfileByIdArgs = {
|
|
|
4955
5371
|
};
|
|
4956
5372
|
|
|
4957
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
|
+
|
|
4958
5388
|
export type QueryGoodProfilesArgs = {
|
|
4959
5389
|
filter?: InputMaybe<Scalars['JSON']>;
|
|
4960
5390
|
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
@@ -5121,6 +5551,47 @@ export type QueryQualificationsArgs = {
|
|
|
5121
5551
|
};
|
|
5122
5552
|
|
|
5123
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
|
+
|
|
5124
5595
|
export type QueryReceiverByIdArgs = {
|
|
5125
5596
|
id: Scalars['String'];
|
|
5126
5597
|
};
|
|
@@ -5374,32 +5845,109 @@ export type QueryTripsArgs = {
|
|
|
5374
5845
|
timezone?: InputMaybe<Scalars['String']>;
|
|
5375
5846
|
};
|
|
5376
5847
|
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
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'];
|
|
5388
5869
|
};
|
|
5389
5870
|
|
|
5390
|
-
export type
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
companyEmail?: InputMaybe<Scalars['String']>;
|
|
5394
|
-
companyPhone?: InputMaybe<Scalars['String']>;
|
|
5395
|
-
subjectTemplate?: InputMaybe<Scalars['String']>;
|
|
5396
|
-
termsAndConditions?: InputMaybe<Scalars['String']>;
|
|
5871
|
+
export type RateTableAxis = {
|
|
5872
|
+
__typename?: 'RateTableAxis';
|
|
5873
|
+
conditions: Array<BillingRuleCondition>;
|
|
5397
5874
|
};
|
|
5398
5875
|
|
|
5399
|
-
export type
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
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
|
+
|
|
5925
|
+
export type RateconSettings = {
|
|
5926
|
+
__typename?: 'RateconSettings';
|
|
5927
|
+
bodyTemplate?: Maybe<Scalars['String']>;
|
|
5928
|
+
/** @deprecated Use Organization.address instead */
|
|
5929
|
+
companyAddress?: Maybe<Scalars['String']>;
|
|
5930
|
+
/** @deprecated Use Organization.email instead */
|
|
5931
|
+
companyEmail?: Maybe<Scalars['String']>;
|
|
5932
|
+
/** @deprecated Use Organization.phoneNumber instead */
|
|
5933
|
+
companyPhone?: Maybe<Scalars['String']>;
|
|
5934
|
+
subjectTemplate?: Maybe<Scalars['String']>;
|
|
5935
|
+
termsAndConditions?: Maybe<Scalars['String']>;
|
|
5936
|
+
};
|
|
5937
|
+
|
|
5938
|
+
export type RateconSettingsInput = {
|
|
5939
|
+
bodyTemplate?: InputMaybe<Scalars['String']>;
|
|
5940
|
+
companyAddress?: InputMaybe<Scalars['String']>;
|
|
5941
|
+
companyEmail?: InputMaybe<Scalars['String']>;
|
|
5942
|
+
companyPhone?: InputMaybe<Scalars['String']>;
|
|
5943
|
+
subjectTemplate?: InputMaybe<Scalars['String']>;
|
|
5944
|
+
termsAndConditions?: InputMaybe<Scalars['String']>;
|
|
5945
|
+
};
|
|
5946
|
+
|
|
5947
|
+
export type Reading = {
|
|
5948
|
+
__typename?: 'Reading';
|
|
5949
|
+
date: Scalars['DateTime'];
|
|
5950
|
+
level: Scalars['Float'];
|
|
5403
5951
|
};
|
|
5404
5952
|
|
|
5405
5953
|
export type ReadingInput = {
|
|
@@ -5458,6 +6006,46 @@ export type ReadingsFileConfigurationInput = {
|
|
|
5458
6006
|
timeFormat: Scalars['String'];
|
|
5459
6007
|
};
|
|
5460
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
|
+
|
|
5461
6049
|
/** A Receiver Business entity */
|
|
5462
6050
|
export type Receiver = {
|
|
5463
6051
|
__typename?: 'Receiver';
|
|
@@ -5476,8 +6064,11 @@ export type Receiver = {
|
|
|
5476
6064
|
billingAddress?: Maybe<TextualAddress>;
|
|
5477
6065
|
/** Billing email for the business entity. Invoices are sent here */
|
|
5478
6066
|
billingEmail?: Maybe<Scalars['String']>;
|
|
6067
|
+
/** Criteria for invoice consolidation */
|
|
6068
|
+
billingInvoiceConsolidationCriteria?: Maybe<InvoiceConsolidationCriteria>;
|
|
5479
6069
|
/** Billing terms for the business entity in days. */
|
|
5480
6070
|
billingTermsDay?: Maybe<Scalars['Float']>;
|
|
6071
|
+
billingWeekStartsOn?: Maybe<Scalars['Float']>;
|
|
5481
6072
|
/** Unique code identifying the business entity. */
|
|
5482
6073
|
code?: Maybe<Scalars['String']>;
|
|
5483
6074
|
/** Primary contact for the business entity. */
|
|
@@ -5491,6 +6082,8 @@ export type Receiver = {
|
|
|
5491
6082
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
5492
6083
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
5493
6084
|
defaultShipperId?: Maybe<Scalars['ObjectId']>;
|
|
6085
|
+
/** Document requirements for invoicing for this business entity */
|
|
6086
|
+
documentRequirements?: Maybe<Array<DocumentRequirement>>;
|
|
5494
6087
|
/** Documents for the business entity */
|
|
5495
6088
|
documents?: Maybe<Array<Document>>;
|
|
5496
6089
|
/** DOT Number for carriers and brokers */
|
|
@@ -5506,6 +6099,7 @@ export type Receiver = {
|
|
|
5506
6099
|
mcNumber?: Maybe<Scalars['String']>;
|
|
5507
6100
|
/** Legal name of the business entity. */
|
|
5508
6101
|
name: Scalars['String'];
|
|
6102
|
+
notes?: Maybe<Array<BusinessEntityNote>>;
|
|
5509
6103
|
/** Opening schedules for the business entity. */
|
|
5510
6104
|
openingSchedules?: Maybe<Array<OpeningSchedule>>;
|
|
5511
6105
|
/** The business entity that this business entity belongs to */
|
|
@@ -5539,6 +6133,12 @@ export type Receiver = {
|
|
|
5539
6133
|
type: BusinessEntityType;
|
|
5540
6134
|
};
|
|
5541
6135
|
|
|
6136
|
+
|
|
6137
|
+
/** A Receiver Business entity */
|
|
6138
|
+
export type ReceiverStorageFacilitiesArgs = {
|
|
6139
|
+
includeLinkedFacilities?: InputMaybe<Scalars['Boolean']>;
|
|
6140
|
+
};
|
|
6141
|
+
|
|
5542
6142
|
export type ReceiverForecast = {
|
|
5543
6143
|
__typename?: 'ReceiverForecast';
|
|
5544
6144
|
_id: Scalars['String'];
|
|
@@ -5602,6 +6202,11 @@ export type RemoveShipmentFromTripResult = {
|
|
|
5602
6202
|
trip?: Maybe<Trip>;
|
|
5603
6203
|
};
|
|
5604
6204
|
|
|
6205
|
+
export type ReportCsv = {
|
|
6206
|
+
__typename?: 'ReportCsv';
|
|
6207
|
+
url: Scalars['String'];
|
|
6208
|
+
};
|
|
6209
|
+
|
|
5605
6210
|
export type ReportData = {
|
|
5606
6211
|
__typename?: 'ReportData';
|
|
5607
6212
|
data: Array<ReportItem>;
|
|
@@ -5628,6 +6233,7 @@ export type ReportPdf = {
|
|
|
5628
6233
|
|
|
5629
6234
|
export enum ReportType {
|
|
5630
6235
|
CustomerRevenue = 'CUSTOMER_REVENUE',
|
|
6236
|
+
DeliveryReport = 'DELIVERY_REPORT',
|
|
5631
6237
|
DriverMileagePerTrip = 'DRIVER_MILEAGE_PER_TRIP',
|
|
5632
6238
|
RevenueByLoad = 'REVENUE_BY_LOAD',
|
|
5633
6239
|
RevenuePerDay = 'REVENUE_PER_DAY',
|
|
@@ -5671,9 +6277,12 @@ export type RoutingDirectionsInput = {
|
|
|
5671
6277
|
avoidPolygons?: InputMaybe<AvoidPolygons>;
|
|
5672
6278
|
avoidables?: InputMaybe<Array<Scalars['String']>>;
|
|
5673
6279
|
coordinates: Array<Array<Scalars['Float']>>;
|
|
6280
|
+
customerId: Scalars['ObjectId'];
|
|
5674
6281
|
extraInfos?: InputMaybe<Array<Scalars['String']>>;
|
|
5675
6282
|
profile?: InputMaybe<RouteProfile>;
|
|
5676
6283
|
restrictions?: InputMaybe<Restrictions>;
|
|
6284
|
+
shipmentId: Scalars['ObjectId'];
|
|
6285
|
+
tripId: Scalars['ObjectId'];
|
|
5677
6286
|
};
|
|
5678
6287
|
|
|
5679
6288
|
export type RoutingDistanceMatrix = {
|
|
@@ -5775,6 +6384,8 @@ export type Shipment = {
|
|
|
5775
6384
|
expenses?: Maybe<Array<Transaction>>;
|
|
5776
6385
|
/** IDs of the groups the shipment is associated with */
|
|
5777
6386
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
6387
|
+
/** Whether the shipment is applicable for charge order cancellation */
|
|
6388
|
+
isApplicableChargeOrderCancellation?: Maybe<Scalars['Boolean']>;
|
|
5778
6389
|
/** Set for child shipments of a master shipment with rotations */
|
|
5779
6390
|
isFromRotation?: Maybe<Scalars['Boolean']>;
|
|
5780
6391
|
/** Whether the shipment is a child of a split shipment */
|
|
@@ -5800,6 +6411,8 @@ export type Shipment = {
|
|
|
5800
6411
|
postOfficeNumber?: Maybe<Scalars['String']>;
|
|
5801
6412
|
/** Purchase order numbers for the shipment */
|
|
5802
6413
|
purchaseOrderNumbers?: Maybe<Array<Scalars['String']>>;
|
|
6414
|
+
/** Rate confirmation numbers for the shipment */
|
|
6415
|
+
rateConNumbers?: Maybe<Array<Scalars['String']>>;
|
|
5803
6416
|
/** For cancelled shipments, the reason for cancellation */
|
|
5804
6417
|
reasonForCancellation?: Maybe<Scalars['String']>;
|
|
5805
6418
|
/** For recurrent shipments, the recurrence pattern */
|
|
@@ -5853,6 +6466,11 @@ export type ShipmentAssignedEventPayload = {
|
|
|
5853
6466
|
trailerId?: Maybe<Scalars['String']>;
|
|
5854
6467
|
};
|
|
5855
6468
|
|
|
6469
|
+
export type ShipmentCancelledEventPayload = {
|
|
6470
|
+
__typename?: 'ShipmentCancelledEventPayload';
|
|
6471
|
+
shipment: Shipment;
|
|
6472
|
+
};
|
|
6473
|
+
|
|
5856
6474
|
export type ShipmentCarrierAssignment = {
|
|
5857
6475
|
__typename?: 'ShipmentCarrierAssignment';
|
|
5858
6476
|
accepted: Scalars['Boolean'];
|
|
@@ -5881,10 +6499,14 @@ export type ShipmentCharge = {
|
|
|
5881
6499
|
number?: Maybe<Scalars['String']>;
|
|
5882
6500
|
/** Rate per unit */
|
|
5883
6501
|
rate: Scalars['Float'];
|
|
6502
|
+
/** Rating table for this charge */
|
|
6503
|
+
ratingTable?: Maybe<RateTable>;
|
|
5884
6504
|
/** Whether to reimburse to driver */
|
|
5885
6505
|
reimburseToDriver?: Maybe<Scalars['Boolean']>;
|
|
5886
6506
|
/** Related transaction ID */
|
|
5887
6507
|
relatedTransactionId?: Maybe<Scalars['ObjectId']>;
|
|
6508
|
+
/** Shipment ID this charge is for */
|
|
6509
|
+
shipmentId?: Maybe<Scalars['ObjectId']>;
|
|
5888
6510
|
/** Whether the transaction is taxable */
|
|
5889
6511
|
taxable?: Maybe<Scalars['Boolean']>;
|
|
5890
6512
|
/** Total amount of the charge */
|
|
@@ -5906,8 +6528,11 @@ export type ShipmentChargeInput = {
|
|
|
5906
6528
|
document?: InputMaybe<TransactionDocumentInput>;
|
|
5907
6529
|
label: Scalars['String'];
|
|
5908
6530
|
rate: Scalars['Float'];
|
|
6531
|
+
ratingTable?: InputMaybe<Scalars['String']>;
|
|
5909
6532
|
reimburseToDriver?: InputMaybe<Scalars['Boolean']>;
|
|
5910
6533
|
relatedTransactionId?: InputMaybe<Scalars['ObjectId']>;
|
|
6534
|
+
/** Shipment ID this charge is for */
|
|
6535
|
+
shipmentId?: InputMaybe<Scalars['ObjectId']>;
|
|
5911
6536
|
taxable?: InputMaybe<Scalars['Boolean']>;
|
|
5912
6537
|
type?: InputMaybe<TransactionType>;
|
|
5913
6538
|
unit: Scalars['Float'];
|
|
@@ -5954,6 +6579,7 @@ export type ShipmentCreatedEventPayload = {
|
|
|
5954
6579
|
};
|
|
5955
6580
|
|
|
5956
6581
|
export type ShipmentDeleteInput = {
|
|
6582
|
+
isApplicableChargeOrderCancellation?: InputMaybe<Scalars['Boolean']>;
|
|
5957
6583
|
reason: Scalars['String'];
|
|
5958
6584
|
};
|
|
5959
6585
|
|
|
@@ -5971,10 +6597,13 @@ export type ShipmentDocument = {
|
|
|
5971
6597
|
createdAt: Scalars['DateTime'];
|
|
5972
6598
|
createdBy: Scalars['String'];
|
|
5973
6599
|
isBillable: Scalars['Boolean'];
|
|
6600
|
+
isForRatecons: Scalars['Boolean'];
|
|
6601
|
+
isForReceivers: Scalars['Boolean'];
|
|
5974
6602
|
lastUpdatedBy: Scalars['String'];
|
|
5975
6603
|
name: Scalars['String'];
|
|
5976
6604
|
receiver?: Maybe<BusinessEntity>;
|
|
5977
6605
|
shipper?: Maybe<BusinessEntity>;
|
|
6606
|
+
/** The type of document (BOL, DELIVERY_RECEIPT, etc.) */
|
|
5978
6607
|
type: Scalars['String'];
|
|
5979
6608
|
updatedAt: Scalars['DateTime'];
|
|
5980
6609
|
url: Scalars['String'];
|
|
@@ -5984,6 +6613,8 @@ export type ShipmentDocumentInfoInput = {
|
|
|
5984
6613
|
accessLevel: Array<NoteAccessLevel>;
|
|
5985
6614
|
associatedCharge?: InputMaybe<Scalars['String']>;
|
|
5986
6615
|
isBillable: Scalars['Boolean'];
|
|
6616
|
+
isForRatecons: Scalars['Boolean'];
|
|
6617
|
+
isForReceivers: Scalars['Boolean'];
|
|
5987
6618
|
name: Scalars['String'];
|
|
5988
6619
|
receiver?: InputMaybe<Scalars['String']>;
|
|
5989
6620
|
shipper?: InputMaybe<Scalars['String']>;
|
|
@@ -5995,6 +6626,8 @@ export type ShipmentDocumentInput = {
|
|
|
5995
6626
|
accessLevel: Array<NoteAccessLevel>;
|
|
5996
6627
|
associatedCharge?: InputMaybe<Scalars['String']>;
|
|
5997
6628
|
isBillable: Scalars['Boolean'];
|
|
6629
|
+
isForRatecons: Scalars['Boolean'];
|
|
6630
|
+
isForReceivers: Scalars['Boolean'];
|
|
5998
6631
|
name: Scalars['String'];
|
|
5999
6632
|
receiver?: InputMaybe<Scalars['String']>;
|
|
6000
6633
|
shipment?: InputMaybe<Scalars['String']>;
|
|
@@ -6284,6 +6917,7 @@ export type ShipmentRecurrenceWeekdayInput = {
|
|
|
6284
6917
|
export enum ShipmentReferenceNumberType {
|
|
6285
6918
|
BillOfLadingNumber = 'BILL_OF_LADING_NUMBER',
|
|
6286
6919
|
PurchaseOrderNumber = 'PURCHASE_ORDER_NUMBER',
|
|
6920
|
+
RateConNumber = 'RATE_CON_NUMBER',
|
|
6287
6921
|
ReferenceNumber = 'REFERENCE_NUMBER',
|
|
6288
6922
|
TicketNumber = 'TICKET_NUMBER'
|
|
6289
6923
|
}
|
|
@@ -6291,6 +6925,7 @@ export enum ShipmentReferenceNumberType {
|
|
|
6291
6925
|
export type ShipmentReferencesUpdateInput = {
|
|
6292
6926
|
billOfLadingNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
6293
6927
|
purchaseOrderNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
6928
|
+
rateConNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
6294
6929
|
referenceNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
6295
6930
|
ticketNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
6296
6931
|
};
|
|
@@ -6379,6 +7014,7 @@ export type ShipmentUpdateInput = {
|
|
|
6379
7014
|
orderId?: InputMaybe<Scalars['ObjectId']>;
|
|
6380
7015
|
postOfficeNumber?: InputMaybe<Scalars['String']>;
|
|
6381
7016
|
purchaseOrderNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
7017
|
+
rateConNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
6382
7018
|
recurrence?: InputMaybe<ShipmentRecurrenceInput>;
|
|
6383
7019
|
referenceNumber?: InputMaybe<Scalars['String']>;
|
|
6384
7020
|
referenceNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
@@ -6421,8 +7057,11 @@ export type Shipper = {
|
|
|
6421
7057
|
billingAddress?: Maybe<TextualAddress>;
|
|
6422
7058
|
/** Billing email for the business entity. Invoices are sent here */
|
|
6423
7059
|
billingEmail?: Maybe<Scalars['String']>;
|
|
7060
|
+
/** Criteria for invoice consolidation */
|
|
7061
|
+
billingInvoiceConsolidationCriteria?: Maybe<InvoiceConsolidationCriteria>;
|
|
6424
7062
|
/** Billing terms for the business entity in days. */
|
|
6425
7063
|
billingTermsDay?: Maybe<Scalars['Float']>;
|
|
7064
|
+
billingWeekStartsOn?: Maybe<Scalars['Float']>;
|
|
6426
7065
|
/** Unique code identifying the business entity. */
|
|
6427
7066
|
code?: Maybe<Scalars['String']>;
|
|
6428
7067
|
/** Primary contact for the business entity. */
|
|
@@ -6436,6 +7075,8 @@ export type Shipper = {
|
|
|
6436
7075
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
6437
7076
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
6438
7077
|
defaultShipperId?: Maybe<Scalars['ObjectId']>;
|
|
7078
|
+
/** Document requirements for invoicing for this business entity */
|
|
7079
|
+
documentRequirements?: Maybe<Array<DocumentRequirement>>;
|
|
6439
7080
|
/** Documents for the business entity */
|
|
6440
7081
|
documents?: Maybe<Array<Document>>;
|
|
6441
7082
|
/** DOT Number for carriers and brokers */
|
|
@@ -6451,6 +7092,7 @@ export type Shipper = {
|
|
|
6451
7092
|
mcNumber?: Maybe<Scalars['String']>;
|
|
6452
7093
|
/** Legal name of the business entity. */
|
|
6453
7094
|
name: Scalars['String'];
|
|
7095
|
+
notes?: Maybe<Array<BusinessEntityNote>>;
|
|
6454
7096
|
/** Opening schedules for the business entity. */
|
|
6455
7097
|
openingSchedules?: Maybe<Array<OpeningSchedule>>;
|
|
6456
7098
|
/** The business entity that this business entity belongs to */
|
|
@@ -6484,6 +7126,12 @@ export type Shipper = {
|
|
|
6484
7126
|
type: BusinessEntityType;
|
|
6485
7127
|
};
|
|
6486
7128
|
|
|
7129
|
+
|
|
7130
|
+
/** A Shipper Business entity */
|
|
7131
|
+
export type ShipperStorageFacilitiesArgs = {
|
|
7132
|
+
includeLinkedFacilities?: InputMaybe<Scalars['Boolean']>;
|
|
7133
|
+
};
|
|
7134
|
+
|
|
6487
7135
|
export type ShipperPaginatedResult = {
|
|
6488
7136
|
__typename?: 'ShipperPaginatedResult';
|
|
6489
7137
|
count: Scalars['Int'];
|
|
@@ -6554,8 +7202,12 @@ export type Step = {
|
|
|
6554
7202
|
export type StorageFacility = {
|
|
6555
7203
|
__typename?: 'StorageFacility';
|
|
6556
7204
|
capacity: Scalars['Float'];
|
|
7205
|
+
commodities?: Maybe<Array<GoodProfile>>;
|
|
7206
|
+
/** @deprecated Use commodities instead */
|
|
6557
7207
|
commodity?: Maybe<GoodProfile>;
|
|
6558
|
-
|
|
7208
|
+
/** @deprecated Use commodityIds instead */
|
|
7209
|
+
commodityId?: Maybe<Scalars['ObjectId']>;
|
|
7210
|
+
commodityIds: Array<Scalars['ObjectId']>;
|
|
6559
7211
|
currentForecastedReading?: Maybe<Reading>;
|
|
6560
7212
|
currentSalesTrend?: Maybe<Scalars['Float']>;
|
|
6561
7213
|
defaultPinCode?: Maybe<Scalars['String']>;
|
|
@@ -6563,6 +7215,7 @@ export type StorageFacility = {
|
|
|
6563
7215
|
defaultSupplierId?: Maybe<Scalars['ObjectId']>;
|
|
6564
7216
|
identifier: Scalars['String'];
|
|
6565
7217
|
latestReading?: Maybe<Reading>;
|
|
7218
|
+
linkedStorageFacilityIds?: Maybe<Array<Scalars['String']>>;
|
|
6566
7219
|
runoutDate?: Maybe<Scalars['DateTime']>;
|
|
6567
7220
|
runoutDateAfterNextShipment?: Maybe<Scalars['DateTime']>;
|
|
6568
7221
|
safeFillLevel?: Maybe<Scalars['Float']>;
|
|
@@ -6579,10 +7232,12 @@ export type StorageFacilityDateRangeSales = {
|
|
|
6579
7232
|
|
|
6580
7233
|
export type StorageFacilityInput = {
|
|
6581
7234
|
capacity: Scalars['Float'];
|
|
6582
|
-
commodityId
|
|
7235
|
+
commodityId?: InputMaybe<Scalars['ObjectId']>;
|
|
7236
|
+
commodityIds: Array<Scalars['ObjectId']>;
|
|
6583
7237
|
defaultPinCode?: InputMaybe<Scalars['String']>;
|
|
6584
7238
|
defaultSupplierId?: InputMaybe<Scalars['ObjectId']>;
|
|
6585
7239
|
identifier: Scalars['String'];
|
|
7240
|
+
linkedStorageFacilityIds?: InputMaybe<Array<Scalars['String']>>;
|
|
6586
7241
|
safeFillLevel?: InputMaybe<Scalars['Float']>;
|
|
6587
7242
|
safeFillPercentage?: InputMaybe<Scalars['Float']>;
|
|
6588
7243
|
shutDownLevel?: InputMaybe<Scalars['Float']>;
|
|
@@ -6678,14 +7333,14 @@ export type SupplierContract = {
|
|
|
6678
7333
|
__typename?: 'SupplierContract';
|
|
6679
7334
|
_id: Scalars['String'];
|
|
6680
7335
|
/** The maximum quantities of product allowed by the contract */
|
|
6681
|
-
allocation
|
|
7336
|
+
allocation?: Maybe<SupplierContractAllocation>;
|
|
6682
7337
|
/** The conditions that must be met for the contract to apply */
|
|
6683
7338
|
conditions?: Maybe<Array<SupplierContractCondition>>;
|
|
6684
7339
|
/** The identifier of the contract */
|
|
6685
7340
|
contractNumber: Scalars['String'];
|
|
6686
7341
|
customer?: Maybe<BusinessEntity>;
|
|
6687
7342
|
/** The id of the customer that the contract is for */
|
|
6688
|
-
customerId
|
|
7343
|
+
customerId?: Maybe<Scalars['ObjectId']>;
|
|
6689
7344
|
/** The end date of the contract. The contract cannot be used after this date */
|
|
6690
7345
|
endDate: Scalars['DateTime'];
|
|
6691
7346
|
goodProfile?: Maybe<GoodProfile>;
|
|
@@ -6695,7 +7350,7 @@ export type SupplierContract = {
|
|
|
6695
7350
|
pinCode?: Maybe<Scalars['String']>;
|
|
6696
7351
|
shipper?: Maybe<BusinessEntity>;
|
|
6697
7352
|
/** The id of the shipper where the commodity can be picked up at */
|
|
6698
|
-
shipperId
|
|
7353
|
+
shipperId?: Maybe<Scalars['ObjectId']>;
|
|
6699
7354
|
/** The start date of the contract. The contract cannot be used before this date */
|
|
6700
7355
|
startDate: Scalars['DateTime'];
|
|
6701
7356
|
supplier?: Maybe<BusinessEntity>;
|
|
@@ -6855,6 +7510,7 @@ export type Tractor = {
|
|
|
6855
7510
|
documents?: Maybe<Array<Document>>;
|
|
6856
7511
|
domicile?: Maybe<Address>;
|
|
6857
7512
|
eldId?: Maybe<Scalars['String']>;
|
|
7513
|
+
externalId?: Maybe<Scalars['String']>;
|
|
6858
7514
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
6859
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 */
|
|
6860
7516
|
lastKnownEldLocation?: Maybe<Coordinates>;
|
|
@@ -6918,6 +7574,7 @@ export type TractorUpdateInput = {
|
|
|
6918
7574
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
6919
7575
|
domicile?: InputMaybe<NewAddressInput>;
|
|
6920
7576
|
eldId?: InputMaybe<Scalars['String']>;
|
|
7577
|
+
externalId?: InputMaybe<Scalars['String']>;
|
|
6921
7578
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
6922
7579
|
licenseNumber?: InputMaybe<Scalars['String']>;
|
|
6923
7580
|
make?: InputMaybe<Scalars['String']>;
|
|
@@ -7128,6 +7785,8 @@ export type Transaction = {
|
|
|
7128
7785
|
reimburseToDriver?: Maybe<Scalars['Boolean']>;
|
|
7129
7786
|
/** Related transaction ID */
|
|
7130
7787
|
relatedTransactionId?: Maybe<Scalars['ObjectId']>;
|
|
7788
|
+
/** Shipment ID this charge is for */
|
|
7789
|
+
shipmentId?: Maybe<Scalars['ObjectId']>;
|
|
7131
7790
|
/** Whether the transaction is taxable */
|
|
7132
7791
|
taxable?: Maybe<Scalars['Boolean']>;
|
|
7133
7792
|
/** Type of transaction */
|
|
@@ -7159,6 +7818,8 @@ export type TransactionInput = {
|
|
|
7159
7818
|
rate: Scalars['Float'];
|
|
7160
7819
|
reimburseToDriver?: InputMaybe<Scalars['Boolean']>;
|
|
7161
7820
|
relatedTransactionId?: InputMaybe<Scalars['ObjectId']>;
|
|
7821
|
+
/** Shipment ID this charge is for */
|
|
7822
|
+
shipmentId?: InputMaybe<Scalars['ObjectId']>;
|
|
7162
7823
|
taxable?: InputMaybe<Scalars['Boolean']>;
|
|
7163
7824
|
type?: InputMaybe<TransactionType>;
|
|
7164
7825
|
unit: Scalars['Float'];
|
|
@@ -7174,6 +7835,8 @@ export type TransactionInputObject = {
|
|
|
7174
7835
|
rate: Scalars['Float'];
|
|
7175
7836
|
reimburseToDriver?: Maybe<Scalars['Boolean']>;
|
|
7176
7837
|
relatedTransactionId?: Maybe<Scalars['ObjectId']>;
|
|
7838
|
+
/** Shipment ID this charge is for */
|
|
7839
|
+
shipmentId?: Maybe<Scalars['ObjectId']>;
|
|
7177
7840
|
taxable?: Maybe<Scalars['Boolean']>;
|
|
7178
7841
|
type?: Maybe<TransactionType>;
|
|
7179
7842
|
unit: Scalars['Float'];
|
|
@@ -7199,6 +7862,8 @@ export type TransactionUpdateInput = {
|
|
|
7199
7862
|
rate?: InputMaybe<Scalars['Float']>;
|
|
7200
7863
|
reimburseToDriver?: InputMaybe<Scalars['Boolean']>;
|
|
7201
7864
|
relatedTransactionId?: InputMaybe<Scalars['ObjectId']>;
|
|
7865
|
+
/** Shipment ID this charge is for */
|
|
7866
|
+
shipmentId?: InputMaybe<Scalars['ObjectId']>;
|
|
7202
7867
|
taxable?: InputMaybe<Scalars['Boolean']>;
|
|
7203
7868
|
type?: InputMaybe<TransactionType>;
|
|
7204
7869
|
unit?: InputMaybe<Scalars['Float']>;
|
|
@@ -7344,6 +8009,7 @@ export type TripPayment = {
|
|
|
7344
8009
|
label: Scalars['String'];
|
|
7345
8010
|
paymentRule?: Maybe<PaymentRule>;
|
|
7346
8011
|
rate: Scalars['Float'];
|
|
8012
|
+
rateTableId?: Maybe<Scalars['ObjectId']>;
|
|
7347
8013
|
trip: Scalars['ObjectId'];
|
|
7348
8014
|
unit: Scalars['Float'];
|
|
7349
8015
|
unitType: Scalars['String'];
|
|
@@ -7457,6 +8123,20 @@ export type UpdateAccountInput = {
|
|
|
7457
8123
|
lastName?: InputMaybe<Scalars['String']>;
|
|
7458
8124
|
};
|
|
7459
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
|
+
|
|
7460
8140
|
export type UpdateShipmentEventInput = {
|
|
7461
8141
|
date?: InputMaybe<Scalars['DateTime']>;
|
|
7462
8142
|
};
|
|
@@ -7553,14 +8233,14 @@ export type GetBusinessEntityListQueryVariables = Exact<{
|
|
|
7553
8233
|
}>;
|
|
7554
8234
|
|
|
7555
8235
|
|
|
7556
|
-
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 }> } };
|
|
7557
8237
|
|
|
7558
8238
|
export type GetBusinessEntityDetailsQueryVariables = Exact<{
|
|
7559
8239
|
id: Scalars['String'];
|
|
7560
8240
|
}>;
|
|
7561
8241
|
|
|
7562
8242
|
|
|
7563
|
-
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 } };
|
|
7564
8244
|
|
|
7565
8245
|
export type GetBusinessEntityDetailsByExternalIdQueryVariables = Exact<{
|
|
7566
8246
|
externalId: Scalars['String'];
|
|
@@ -7620,14 +8300,14 @@ export type GetDriverByEldIdQueryVariables = Exact<{
|
|
|
7620
8300
|
}>;
|
|
7621
8301
|
|
|
7622
8302
|
|
|
7623
|
-
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 };
|
|
7624
8304
|
|
|
7625
8305
|
export type GetDriverByLicenseNumberQueryVariables = Exact<{
|
|
7626
8306
|
licenseNumber: Scalars['String'];
|
|
7627
8307
|
}>;
|
|
7628
8308
|
|
|
7629
8309
|
|
|
7630
|
-
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 };
|
|
7631
8311
|
|
|
7632
8312
|
export type AddDriverMutationVariables = Exact<{
|
|
7633
8313
|
newDriverData: NewDriverInput;
|
|
@@ -7683,6 +8363,28 @@ export type GetMyOrganizationQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
7683
8363
|
|
|
7684
8364
|
export type GetMyOrganizationQuery = { __typename?: 'Query', myOrganization: { __typename?: 'Organization', id?: string | null, displayName: string, name: string, realm: string, attributes: { __typename?: 'KeycloakOrganizationAttributes', chargebeeCustomerId?: string | null, dotNumber?: string | null } } };
|
|
7685
8365
|
|
|
8366
|
+
export type GetShipmentListQueryVariables = Exact<{
|
|
8367
|
+
search?: InputMaybe<Scalars['String']>;
|
|
8368
|
+
sort?: InputMaybe<ShipmentSort>;
|
|
8369
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
8370
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
8371
|
+
status?: InputMaybe<Status>;
|
|
8372
|
+
receiverId?: InputMaybe<Scalars['String']>;
|
|
8373
|
+
excludePastShipments?: InputMaybe<Scalars['Boolean']>;
|
|
8374
|
+
filter?: InputMaybe<Scalars['JSON']>;
|
|
8375
|
+
orderBy?: InputMaybe<Array<OrderByItem> | OrderByItem>;
|
|
8376
|
+
}>;
|
|
8377
|
+
|
|
8378
|
+
|
|
8379
|
+
export type GetShipmentListQuery = { __typename?: 'Query', shipments: { __typename?: 'ShipmentPaginatedResult', count: number, data: Array<{ __typename?: 'Shipment', _id: string, shipmentNumber: string, purchaseOrderNumbers?: Array<string> | null, billOfLadingNumbers?: Array<string> | null, referenceNumbers?: Array<string> | null, ticketNumbers?: Array<string> | null, status: Status, trailerType: TrailerType, additionalTrailerTypes?: Array<TrailerType> | null, tripId?: string | null, isSplit?: boolean | null, isFromSplit?: boolean | null, isFromRotation?: boolean | null, tags?: Array<string> | null, groupIds?: Array<any> | null, shipmentLocations: Array<{ __typename?: 'ShipmentLocation', _id: string, locationType: ShipmentLocationType, timeWindows: Array<{ __typename?: 'DateTimeWindow', fromDate: any, toDate: any }>, shippedGoods?: Array<{ __typename?: 'Good', _id: string, goodProfileId?: any | null, label: string, quantity: number, unit?: GoodUnits | null, weight?: number | null, supplierId?: any | null }> | null, shipper?: { __typename?: 'BusinessEntity', _id: string } | null }>, route?: { __typename?: 'ShipmentRoute', firstPickupTime: any, lastDropoffTime: any, locations?: Array<{ __typename?: 'TripShipmentLocation', _id: string, locationType: ShipmentLocationType, name?: string | null, addressLabel?: string | null, addressTimezone?: string | null, location: { __typename?: 'Coordinates', latitude: number, longitude: number }, shipper?: { __typename?: 'BusinessEntity', _id: string, name: string, addressTimezone?: string | null, address: { __typename?: 'Address', label: string } } | null, receiver?: { __typename?: 'BusinessEntity', _id: string, name: string, addressTimezone?: string | null, address: { __typename?: 'Address', label: string } } | null, timeWindows: Array<{ __typename?: 'DateTimeWindow', fromDate: any, toDate: any }> }> | null } | null, trip?: { __typename?: 'ShipmentTrip', _id: string, tripNumber?: string | null, driver?: string | null, tractor?: string | null, trailer?: string | null, carrier?: string | null, driverEntity?: { __typename?: 'Driver', _id: string, firstname: string, lastname: string, phoneNumber?: string | null, status: AssetStatus } | null, tractorEntity?: { __typename?: 'Tractor', _id: string, serialNumber: string, licenseNumber?: string | null, status: AssetStatus } | null, trailerEntity?: { __typename?: 'Trailer', _id: string, serialNumber: string, licenseNumber?: string | null, status: AssetStatus, type: TrailerType } | null, carrierEntity?: { __typename?: 'Carrier', _id: string, name: string, status: AssetStatus, type: BusinessEntityType, contact: { __typename?: 'Contact', firstname: string, lastname: string, phoneNumber: string }, address: { __typename?: 'Address', label: string, coordinates: { __typename?: 'Coordinates', latitude: number, longitude: number } } } | null } | null, parentShipment?: { __typename?: 'Shipment', _id: string } | null, customFields?: Array<{ __typename?: 'CustomField', key: string, value?: any | null }> | null }> } };
|
|
8380
|
+
|
|
8381
|
+
export type GetShipmentDetailsQueryVariables = Exact<{
|
|
8382
|
+
id: Scalars['String'];
|
|
8383
|
+
}>;
|
|
8384
|
+
|
|
8385
|
+
|
|
8386
|
+
export type GetShipmentDetailsQuery = { __typename?: 'Query', shipmentById: { __typename?: 'Shipment', _id: string, shipmentNumber: string, commodityType?: ShipmentCommodityType | null, purchaseOrderNumbers?: Array<string> | null, billOfLadingNumbers?: Array<string> | null, referenceNumbers?: Array<string> | null, ticketNumbers?: Array<string> | null, status: Status, createdBy: string, trailerType: TrailerType, additionalTrailerTypes?: Array<TrailerType> | null, loadType: LoadType, tripId?: string | null, reasonForCancellation?: string | null, isSplit?: boolean | null, isFromSplit?: boolean | null, childShipmentIds?: Array<string> | null, dailyRotationCount?: number | null, tags?: Array<string> | null, groupIds?: Array<any> | null, events?: Array<{ __typename?: 'ShipmentEvent', _id: string, createdBy: string, date: any, shipmentLocation?: string | null, type: ShipmentEventType, label?: string | null, description?: string | null, metadata?: any | null, coordinates?: { __typename?: 'Coordinates', altitude?: number | null, heading?: number | null, latitude: number, longitude: number, speed?: number | null } | null }> | null, issues?: Array<{ __typename?: 'ShipmentIssue', _id: string, type: string, content: string, date: any, shipmentLocation?: string | null, delayAmount?: number | null }> | null, constraints?: Array<{ __typename?: 'ShipmentConstraint', type: ShipmentConstraintType, value: string, unit?: string | null }> | null, documents?: Array<{ __typename?: 'ShipmentDocument', _id: string, associatedCharge?: string | null, accessLevel: Array<NoteAccessLevel>, isBillable: boolean, name: string, type: string, url: string, shipper?: { __typename?: 'BusinessEntity', _id: string, name: string } | null, receiver?: { __typename?: 'BusinessEntity', _id: string, name: string } | null }> | null, notes?: Array<{ __typename?: 'ShipmentNote', _id: string, accessLevel: Array<NoteAccessLevel>, content: string, receiver?: { __typename?: 'BusinessEntity', _id: string, name: string } | null, shipper?: { __typename?: 'BusinessEntity', _id: string, name: string } | null }> | null, customer: { __typename?: 'BusinessEntity', _id: string, name: string, referenceNumberTypes?: Array<ShipmentReferenceNumberType> | null, type: BusinessEntityType, address: { __typename?: 'Address', label: string, coordinates: { __typename?: 'Coordinates', latitude: number, longitude: number } }, contact: { __typename?: 'Contact', firstname: string, lastname: string, phoneNumber: string } }, shipmentLocations: Array<{ __typename?: 'ShipmentLocation', _id: string, name?: string | null, addressLabel?: string | null, addressTimezone?: string | null, locationType: ShipmentLocationType, shipper?: { __typename?: 'BusinessEntity', _id: string, name: string, addressTimezone?: string | null, address: { __typename?: 'Address', label: string, coordinates: { __typename?: 'Coordinates', latitude: number } } } | null, receiver?: { __typename?: 'BusinessEntity', _id: string, name: string, addressTimezone?: string | null, address: { __typename?: 'Address', label: string, coordinates: { __typename?: 'Coordinates', latitude: number } } } | null, shippedGoods?: Array<{ __typename?: 'Good', _id: string, quantity: number, weight?: number | null, label: string, unit?: GoodUnits | null, goodProfileId?: any | null, supplierId?: any | null, pinCode?: string | null }> | null, receivedGoods?: Array<{ __typename?: 'GoodDistribution', goodId: string, quantity?: number | null, goodProfileId?: any | null, shipperId?: any | null, supplierId?: any | null, pinCode?: string | null }> | null, timeWindows: Array<{ __typename?: 'DateTimeWindow', fromDate: any, toDate: any }>, location: { __typename?: 'Coordinates', latitude: number, longitude: number } }>, charges: Array<{ __typename?: 'ShipmentCharge', _id: string, total: number, label: string, rate: number, unit: number, unitType: string, reimburseToDriver?: boolean | null, relatedTransactionId?: any | null, taxable?: boolean | null, billingRule?: { __typename?: 'BillingRule', _id: string, label?: string | null, referenceNumber?: string | null } | null, document?: { __typename?: 'TransactionDocument', name: string, url: string } | null }>, expenses?: Array<{ __typename?: 'Transaction', _id: string, label: string, rate: number, unit: number, unitType: string, reimburseToDriver?: boolean | null, document?: { __typename?: 'TransactionDocument', name: string, url: string } | null, customFields?: Array<{ __typename?: 'CustomField', key: string, value?: any | null }> | null }> | null, route?: { __typename?: 'ShipmentRoute', routeDistance: number, predictedLoadedDistance?: number | null, firstPickupTime: any, locations?: Array<{ __typename?: 'TripShipmentLocation', _id: string, shipper?: { __typename?: 'BusinessEntity', _id: string } | null, receiver?: { __typename?: 'BusinessEntity', _id: string } | null, timeWindows: Array<{ __typename?: 'DateTimeWindow', fromDate: any, toDate: any }> }> | null } | null, recurrence?: { __typename?: 'ShipmentRecurrence', freq: Frequency, interval: number, dtstart: any, until: any, count?: number | null, bysetpos?: Array<number> | null, bymonth?: Array<number> | null, bymonthday?: Array<number> | null, bynmonthday?: Array<number> | null, byyearday?: Array<number> | null, byweekno?: Array<number> | null, byhour?: Array<number> | null, byminute?: Array<number> | null, bysecond?: Array<number> | null, byweekday?: Array<{ __typename?: 'ShipmentRecurrenceWeekday', weekday: number, n?: number | null }> | null } | null, parentShipment?: { __typename?: 'Shipment', _id: string } | null, customFields?: Array<{ __typename?: 'CustomField', key: string, value?: any | null }> | null } };
|
|
8387
|
+
|
|
7686
8388
|
export type AddStorageFacilityReadingMutationVariables = Exact<{
|
|
7687
8389
|
newStorageFacilityReadingData: NewStorageFacilityReadingInput;
|
|
7688
8390
|
}>;
|
|
@@ -7799,6 +8501,13 @@ export type ListTripsQueryVariables = Exact<{
|
|
|
7799
8501
|
|
|
7800
8502
|
export type ListTripsQuery = { __typename?: 'Query', trips: { __typename?: 'TripPaginatedResult', count: number, data: Array<{ __typename?: 'Trip', _id: string, tripNumber?: string | null, status: Status, firstPickupTime?: any | null, lastDropoffTime?: any | null, tags?: Array<string> | null, shipments: Array<{ __typename?: 'Shipment', _id: string, shipmentNumber: string, referenceNumbers?: Array<string> | null, isFromSplit?: boolean | null, isFromRotation?: boolean | null, parentShipment?: { __typename?: 'Shipment', _id: string } | null }>, shipmentLocations: Array<{ __typename?: 'TripShipmentLocation', _id: string, name?: string | null, addressLabel?: string | null, addressTimezone?: string | null, locationType: ShipmentLocationType, arrivalTime: any, waitingDuration: number, setupDuration: number, serviceDuration: number, location: { __typename?: 'Coordinates', latitude: number, longitude: number }, shipper?: { __typename?: 'BusinessEntity', _id: string, name: string, addressTimezone?: string | null, address: { __typename?: 'Address', label: string } } | null, receiver?: { __typename?: 'BusinessEntity', _id: string, name: string, addressTimezone?: string | null, address: { __typename?: 'Address', label: string } } | null, timeWindows: Array<{ __typename?: 'DateTimeWindow', fromDate: any, toDate: any }> }>, trailer?: { __typename?: 'Trailer', _id: string, type: TrailerType, serialNumber: string } | null, tractor?: { __typename?: 'Tractor', _id: string, serialNumber: string } | null, driver?: { __typename?: 'Driver', _id: string, firstname: string, lastname: string } | null, carrier?: { __typename?: 'BusinessEntity', _id: string, name: string, code?: string | null } | null, customFields?: Array<{ __typename?: 'CustomField', key: string, value?: any | null }> | null }> } };
|
|
7801
8503
|
|
|
8504
|
+
export type GetTripDetailsQueryVariables = Exact<{
|
|
8505
|
+
id: Scalars['String'];
|
|
8506
|
+
}>;
|
|
8507
|
+
|
|
8508
|
+
|
|
8509
|
+
export type GetTripDetailsQuery = { __typename?: 'Query', tripById?: { __typename?: 'Trip', _id: string, tripNumber?: string | null, status: Status, routeDistance: number, totalDistance?: number | null, loadedDistance?: number | null, firstPickupTime?: any | null, polyline: string, lastTrailerLocationDate?: any | null, tags?: Array<string> | null, shipmentLocations: Array<{ __typename?: 'TripShipmentLocation', _id: string, name?: string | null, addressLabel?: string | null, addressTimezone?: string | null, locationType: ShipmentLocationType, arrivalTime: any, waitingDuration: number, setupDuration: number, serviceDuration: number, shipmentId?: string | null, location: { __typename?: 'Coordinates', latitude: number, longitude: number }, shipper?: { __typename?: 'BusinessEntity', _id: string, name: string, addressTimezone?: string | null, address: { __typename?: 'Address', label: string } } | null, timeWindows: Array<{ __typename?: 'DateTimeWindow', fromDate: any, toDate: any }>, receiver?: { __typename?: 'BusinessEntity', _id: string, name: string, addressTimezone?: string | null, address: { __typename?: 'Address', label: string } } | null, shippedGoods?: Array<{ __typename?: 'Good', _id: string, label: string, quantity: number, weight?: number | null, unit?: GoodUnits | null, goodProfileId?: any | null, supplierId?: any | null, pinCode?: string | null }> | null, receivedGoods?: Array<{ __typename?: 'GoodDistribution', goodId: string, quantity?: number | null, goodProfileId?: any | null }> | null }>, violations?: Array<{ __typename?: 'TripViolation', cause: ViolationCause, duration?: number | null, locationId?: string | null }> | null, shipments: Array<{ __typename?: 'Shipment', _id: string, isFromSplit?: boolean | null, isFromRotation?: boolean | null, shipmentNumber: string, referenceNumbers?: Array<string> | null, status: Status, trailerType: TrailerType, additionalTrailerTypes?: Array<TrailerType> | null, parentShipment?: { __typename?: 'Shipment', _id: string } | null, charges: Array<{ __typename?: 'ShipmentCharge', _id: string, rate: number, unit: number, total: number }>, events?: Array<{ __typename?: 'ShipmentEvent', _id: string, type: ShipmentEventType, label?: string | null, description?: string | null, date: any, shipmentLocation?: string | null, metadata?: any | null, coordinates?: { __typename?: 'Coordinates', latitude: number, longitude: number } | null }> | null, customer: { __typename?: 'BusinessEntity', _id: string, code?: string | null, name: string }, route?: { __typename?: 'ShipmentRoute', locations?: Array<{ __typename?: 'TripShipmentLocation', locationType: ShipmentLocationType, shipper?: { __typename?: 'BusinessEntity', _id: string, name: string, addressTimezone?: string | null, address: { __typename?: 'Address', label: string } } | null, receiver?: { __typename?: 'BusinessEntity', _id: string, name: string, addressTimezone?: string | null, address: { __typename?: 'Address', label: string } } | null, timeWindows: Array<{ __typename?: 'DateTimeWindow', fromDate: any, toDate: any }> }> | null } | null }>, trailer?: { __typename?: 'Trailer', _id: string, type: TrailerType, serialNumber: string } | null, additionalTrailers?: Array<{ __typename?: 'Trailer', _id: string, type: TrailerType, serialNumber: string }> | null, tractor?: { __typename?: 'Tractor', _id: string, serialNumber: string } | null, driver?: { __typename?: 'Driver', _id: string, firstname: string, lastname: string } | null, trailerCompartmentAssignments?: Array<{ __typename?: 'TrailerCompartmentAssignment', trailerId?: any | null, compartmentId: string, commodityId: string, quantity: number, targetStorageFacilityId?: string | null }> | null, carrier?: { __typename?: 'BusinessEntity', _id: string, name: string, code?: string | null, contact: { __typename?: 'Contact', email?: string | null }, additionalContacts?: Array<{ __typename?: 'Contact', email?: string | null, includeInInvoicing?: boolean | null }> | null } | null, lastTrailerLocation?: { __typename?: 'Coordinates', latitude: number, longitude: number, heading?: number | null, speed?: number | null } | null, customFields?: Array<{ __typename?: 'CustomField', key: string, value?: any | null }> | null } | null };
|
|
8510
|
+
|
|
7802
8511
|
export type GetOrgUserByIdQueryVariables = Exact<{
|
|
7803
8512
|
id: Scalars['String'];
|
|
7804
8513
|
}>;
|
|
@@ -8175,6 +8884,15 @@ export const GetDriverByEldIdDocument = gql`
|
|
|
8175
8884
|
query getDriverByEldId($eldId: String!) {
|
|
8176
8885
|
driverByEldId(eldId: $eldId) {
|
|
8177
8886
|
_id
|
|
8887
|
+
firstname
|
|
8888
|
+
lastname
|
|
8889
|
+
phoneNumber
|
|
8890
|
+
status
|
|
8891
|
+
license {
|
|
8892
|
+
licenseNumber
|
|
8893
|
+
issuedState
|
|
8894
|
+
}
|
|
8895
|
+
eldId
|
|
8178
8896
|
}
|
|
8179
8897
|
}
|
|
8180
8898
|
`;
|
|
@@ -8182,6 +8900,15 @@ export const GetDriverByLicenseNumberDocument = gql`
|
|
|
8182
8900
|
query getDriverByLicenseNumber($licenseNumber: String!) {
|
|
8183
8901
|
driverByLicenseNumber(licenseNumber: $licenseNumber) {
|
|
8184
8902
|
_id
|
|
8903
|
+
firstname
|
|
8904
|
+
lastname
|
|
8905
|
+
phoneNumber
|
|
8906
|
+
status
|
|
8907
|
+
license {
|
|
8908
|
+
licenseNumber
|
|
8909
|
+
issuedState
|
|
8910
|
+
}
|
|
8911
|
+
eldId
|
|
8185
8912
|
}
|
|
8186
8913
|
}
|
|
8187
8914
|
`;
|
|
@@ -8500,6 +9227,402 @@ export const GetMyOrganizationDocument = gql`
|
|
|
8500
9227
|
}
|
|
8501
9228
|
}
|
|
8502
9229
|
`;
|
|
9230
|
+
export const GetShipmentListDocument = gql`
|
|
9231
|
+
query getShipmentList($search: String, $sort: ShipmentSort, $skip: Int, $take: Int, $status: Status, $receiverId: String, $excludePastShipments: Boolean, $filter: JSON, $orderBy: [OrderByItem!]) {
|
|
9232
|
+
shipments(
|
|
9233
|
+
search: $search
|
|
9234
|
+
sort: $sort
|
|
9235
|
+
skip: $skip
|
|
9236
|
+
take: $take
|
|
9237
|
+
status: $status
|
|
9238
|
+
filter: $filter
|
|
9239
|
+
orderBy: $orderBy
|
|
9240
|
+
excludeRecurrentShipments: true
|
|
9241
|
+
excludeRotationShipments: true
|
|
9242
|
+
receiverId: $receiverId
|
|
9243
|
+
excludePastShipments: $excludePastShipments
|
|
9244
|
+
) {
|
|
9245
|
+
data {
|
|
9246
|
+
_id
|
|
9247
|
+
shipmentNumber
|
|
9248
|
+
purchaseOrderNumbers
|
|
9249
|
+
billOfLadingNumbers
|
|
9250
|
+
referenceNumbers
|
|
9251
|
+
ticketNumbers
|
|
9252
|
+
status
|
|
9253
|
+
trailerType
|
|
9254
|
+
additionalTrailerTypes
|
|
9255
|
+
shipmentLocations {
|
|
9256
|
+
_id
|
|
9257
|
+
locationType
|
|
9258
|
+
timeWindows {
|
|
9259
|
+
fromDate
|
|
9260
|
+
toDate
|
|
9261
|
+
}
|
|
9262
|
+
shippedGoods {
|
|
9263
|
+
_id
|
|
9264
|
+
goodProfileId
|
|
9265
|
+
label
|
|
9266
|
+
quantity
|
|
9267
|
+
unit
|
|
9268
|
+
weight
|
|
9269
|
+
supplierId
|
|
9270
|
+
}
|
|
9271
|
+
shipper {
|
|
9272
|
+
_id
|
|
9273
|
+
}
|
|
9274
|
+
}
|
|
9275
|
+
route {
|
|
9276
|
+
locations {
|
|
9277
|
+
_id
|
|
9278
|
+
locationType
|
|
9279
|
+
location {
|
|
9280
|
+
latitude
|
|
9281
|
+
longitude
|
|
9282
|
+
}
|
|
9283
|
+
name
|
|
9284
|
+
addressLabel
|
|
9285
|
+
addressTimezone
|
|
9286
|
+
shipper {
|
|
9287
|
+
_id
|
|
9288
|
+
name
|
|
9289
|
+
address {
|
|
9290
|
+
label
|
|
9291
|
+
}
|
|
9292
|
+
addressTimezone
|
|
9293
|
+
}
|
|
9294
|
+
receiver {
|
|
9295
|
+
_id
|
|
9296
|
+
name
|
|
9297
|
+
address {
|
|
9298
|
+
label
|
|
9299
|
+
}
|
|
9300
|
+
addressTimezone
|
|
9301
|
+
}
|
|
9302
|
+
timeWindows {
|
|
9303
|
+
fromDate
|
|
9304
|
+
toDate
|
|
9305
|
+
}
|
|
9306
|
+
}
|
|
9307
|
+
firstPickupTime
|
|
9308
|
+
lastDropoffTime
|
|
9309
|
+
}
|
|
9310
|
+
tripId
|
|
9311
|
+
trip {
|
|
9312
|
+
_id
|
|
9313
|
+
tripNumber
|
|
9314
|
+
driver
|
|
9315
|
+
tractor
|
|
9316
|
+
trailer
|
|
9317
|
+
driverEntity {
|
|
9318
|
+
_id
|
|
9319
|
+
firstname
|
|
9320
|
+
lastname
|
|
9321
|
+
phoneNumber
|
|
9322
|
+
status
|
|
9323
|
+
}
|
|
9324
|
+
tractorEntity {
|
|
9325
|
+
_id
|
|
9326
|
+
serialNumber
|
|
9327
|
+
licenseNumber
|
|
9328
|
+
status
|
|
9329
|
+
}
|
|
9330
|
+
trailerEntity {
|
|
9331
|
+
_id
|
|
9332
|
+
serialNumber
|
|
9333
|
+
licenseNumber
|
|
9334
|
+
status
|
|
9335
|
+
type
|
|
9336
|
+
}
|
|
9337
|
+
carrier
|
|
9338
|
+
carrierEntity {
|
|
9339
|
+
_id
|
|
9340
|
+
name
|
|
9341
|
+
contact {
|
|
9342
|
+
firstname
|
|
9343
|
+
lastname
|
|
9344
|
+
phoneNumber
|
|
9345
|
+
}
|
|
9346
|
+
status
|
|
9347
|
+
type
|
|
9348
|
+
address {
|
|
9349
|
+
label
|
|
9350
|
+
coordinates {
|
|
9351
|
+
latitude
|
|
9352
|
+
longitude
|
|
9353
|
+
}
|
|
9354
|
+
}
|
|
9355
|
+
}
|
|
9356
|
+
}
|
|
9357
|
+
isSplit
|
|
9358
|
+
isFromSplit
|
|
9359
|
+
isFromRotation
|
|
9360
|
+
parentShipment {
|
|
9361
|
+
_id
|
|
9362
|
+
}
|
|
9363
|
+
tags
|
|
9364
|
+
customFields {
|
|
9365
|
+
key
|
|
9366
|
+
value
|
|
9367
|
+
}
|
|
9368
|
+
groupIds
|
|
9369
|
+
}
|
|
9370
|
+
count
|
|
9371
|
+
}
|
|
9372
|
+
}
|
|
9373
|
+
`;
|
|
9374
|
+
export const GetShipmentDetailsDocument = gql`
|
|
9375
|
+
query getShipmentDetails($id: String!) {
|
|
9376
|
+
shipmentById(id: $id) {
|
|
9377
|
+
_id
|
|
9378
|
+
shipmentNumber
|
|
9379
|
+
commodityType
|
|
9380
|
+
events {
|
|
9381
|
+
_id
|
|
9382
|
+
coordinates {
|
|
9383
|
+
altitude
|
|
9384
|
+
heading
|
|
9385
|
+
latitude
|
|
9386
|
+
longitude
|
|
9387
|
+
speed
|
|
9388
|
+
}
|
|
9389
|
+
createdBy
|
|
9390
|
+
date
|
|
9391
|
+
shipmentLocation
|
|
9392
|
+
type
|
|
9393
|
+
label
|
|
9394
|
+
description
|
|
9395
|
+
metadata
|
|
9396
|
+
}
|
|
9397
|
+
issues {
|
|
9398
|
+
_id
|
|
9399
|
+
type
|
|
9400
|
+
content
|
|
9401
|
+
date
|
|
9402
|
+
shipmentLocation
|
|
9403
|
+
delayAmount
|
|
9404
|
+
}
|
|
9405
|
+
constraints {
|
|
9406
|
+
type
|
|
9407
|
+
value
|
|
9408
|
+
unit
|
|
9409
|
+
}
|
|
9410
|
+
documents {
|
|
9411
|
+
_id
|
|
9412
|
+
associatedCharge
|
|
9413
|
+
accessLevel
|
|
9414
|
+
isBillable
|
|
9415
|
+
name
|
|
9416
|
+
type
|
|
9417
|
+
url
|
|
9418
|
+
shipper {
|
|
9419
|
+
_id
|
|
9420
|
+
name
|
|
9421
|
+
}
|
|
9422
|
+
receiver {
|
|
9423
|
+
_id
|
|
9424
|
+
name
|
|
9425
|
+
}
|
|
9426
|
+
}
|
|
9427
|
+
notes {
|
|
9428
|
+
_id
|
|
9429
|
+
accessLevel
|
|
9430
|
+
receiver {
|
|
9431
|
+
_id
|
|
9432
|
+
name
|
|
9433
|
+
}
|
|
9434
|
+
shipper {
|
|
9435
|
+
_id
|
|
9436
|
+
name
|
|
9437
|
+
}
|
|
9438
|
+
content
|
|
9439
|
+
}
|
|
9440
|
+
customer {
|
|
9441
|
+
_id
|
|
9442
|
+
name
|
|
9443
|
+
referenceNumberTypes
|
|
9444
|
+
address {
|
|
9445
|
+
coordinates {
|
|
9446
|
+
latitude
|
|
9447
|
+
longitude
|
|
9448
|
+
}
|
|
9449
|
+
label
|
|
9450
|
+
}
|
|
9451
|
+
contact {
|
|
9452
|
+
firstname
|
|
9453
|
+
lastname
|
|
9454
|
+
phoneNumber
|
|
9455
|
+
}
|
|
9456
|
+
name
|
|
9457
|
+
type
|
|
9458
|
+
}
|
|
9459
|
+
purchaseOrderNumbers
|
|
9460
|
+
billOfLadingNumbers
|
|
9461
|
+
referenceNumbers
|
|
9462
|
+
purchaseOrderNumbers
|
|
9463
|
+
billOfLadingNumbers
|
|
9464
|
+
referenceNumbers
|
|
9465
|
+
ticketNumbers
|
|
9466
|
+
status
|
|
9467
|
+
shipmentLocations {
|
|
9468
|
+
_id
|
|
9469
|
+
name
|
|
9470
|
+
addressLabel
|
|
9471
|
+
addressTimezone
|
|
9472
|
+
addressTimezone
|
|
9473
|
+
shipper {
|
|
9474
|
+
_id
|
|
9475
|
+
name
|
|
9476
|
+
address {
|
|
9477
|
+
coordinates {
|
|
9478
|
+
latitude
|
|
9479
|
+
latitude
|
|
9480
|
+
}
|
|
9481
|
+
label
|
|
9482
|
+
}
|
|
9483
|
+
addressTimezone
|
|
9484
|
+
}
|
|
9485
|
+
receiver {
|
|
9486
|
+
_id
|
|
9487
|
+
name
|
|
9488
|
+
address {
|
|
9489
|
+
coordinates {
|
|
9490
|
+
latitude
|
|
9491
|
+
latitude
|
|
9492
|
+
}
|
|
9493
|
+
label
|
|
9494
|
+
}
|
|
9495
|
+
addressTimezone
|
|
9496
|
+
}
|
|
9497
|
+
shippedGoods {
|
|
9498
|
+
_id
|
|
9499
|
+
quantity
|
|
9500
|
+
weight
|
|
9501
|
+
label
|
|
9502
|
+
unit
|
|
9503
|
+
goodProfileId
|
|
9504
|
+
supplierId
|
|
9505
|
+
pinCode
|
|
9506
|
+
}
|
|
9507
|
+
receivedGoods {
|
|
9508
|
+
goodId
|
|
9509
|
+
quantity
|
|
9510
|
+
goodProfileId
|
|
9511
|
+
shipperId
|
|
9512
|
+
supplierId
|
|
9513
|
+
pinCode
|
|
9514
|
+
}
|
|
9515
|
+
timeWindows {
|
|
9516
|
+
fromDate
|
|
9517
|
+
toDate
|
|
9518
|
+
}
|
|
9519
|
+
location {
|
|
9520
|
+
latitude
|
|
9521
|
+
longitude
|
|
9522
|
+
}
|
|
9523
|
+
locationType
|
|
9524
|
+
}
|
|
9525
|
+
constraints {
|
|
9526
|
+
type
|
|
9527
|
+
value
|
|
9528
|
+
unit
|
|
9529
|
+
}
|
|
9530
|
+
charges {
|
|
9531
|
+
_id
|
|
9532
|
+
total
|
|
9533
|
+
label
|
|
9534
|
+
rate
|
|
9535
|
+
unit
|
|
9536
|
+
unitType
|
|
9537
|
+
reimburseToDriver
|
|
9538
|
+
relatedTransactionId
|
|
9539
|
+
billingRule {
|
|
9540
|
+
_id
|
|
9541
|
+
label
|
|
9542
|
+
referenceNumber
|
|
9543
|
+
}
|
|
9544
|
+
document {
|
|
9545
|
+
name
|
|
9546
|
+
url
|
|
9547
|
+
}
|
|
9548
|
+
taxable
|
|
9549
|
+
}
|
|
9550
|
+
expenses {
|
|
9551
|
+
_id
|
|
9552
|
+
label
|
|
9553
|
+
rate
|
|
9554
|
+
unit
|
|
9555
|
+
unitType
|
|
9556
|
+
reimburseToDriver
|
|
9557
|
+
document {
|
|
9558
|
+
name
|
|
9559
|
+
url
|
|
9560
|
+
}
|
|
9561
|
+
customFields {
|
|
9562
|
+
key
|
|
9563
|
+
value
|
|
9564
|
+
}
|
|
9565
|
+
}
|
|
9566
|
+
route {
|
|
9567
|
+
routeDistance
|
|
9568
|
+
predictedLoadedDistance
|
|
9569
|
+
locations {
|
|
9570
|
+
_id
|
|
9571
|
+
shipper {
|
|
9572
|
+
_id
|
|
9573
|
+
}
|
|
9574
|
+
receiver {
|
|
9575
|
+
_id
|
|
9576
|
+
}
|
|
9577
|
+
timeWindows {
|
|
9578
|
+
fromDate
|
|
9579
|
+
toDate
|
|
9580
|
+
}
|
|
9581
|
+
}
|
|
9582
|
+
firstPickupTime
|
|
9583
|
+
}
|
|
9584
|
+
createdBy
|
|
9585
|
+
trailerType
|
|
9586
|
+
additionalTrailerTypes
|
|
9587
|
+
loadType
|
|
9588
|
+
tripId
|
|
9589
|
+
reasonForCancellation
|
|
9590
|
+
isSplit
|
|
9591
|
+
isFromSplit
|
|
9592
|
+
childShipmentIds
|
|
9593
|
+
recurrence {
|
|
9594
|
+
freq
|
|
9595
|
+
interval
|
|
9596
|
+
dtstart
|
|
9597
|
+
until
|
|
9598
|
+
byweekday {
|
|
9599
|
+
weekday
|
|
9600
|
+
n
|
|
9601
|
+
}
|
|
9602
|
+
count
|
|
9603
|
+
bysetpos
|
|
9604
|
+
bymonth
|
|
9605
|
+
bymonthday
|
|
9606
|
+
bynmonthday
|
|
9607
|
+
byyearday
|
|
9608
|
+
byweekno
|
|
9609
|
+
byhour
|
|
9610
|
+
byminute
|
|
9611
|
+
bysecond
|
|
9612
|
+
}
|
|
9613
|
+
dailyRotationCount
|
|
9614
|
+
parentShipment {
|
|
9615
|
+
_id
|
|
9616
|
+
}
|
|
9617
|
+
tags
|
|
9618
|
+
customFields {
|
|
9619
|
+
key
|
|
9620
|
+
value
|
|
9621
|
+
}
|
|
9622
|
+
groupIds
|
|
9623
|
+
}
|
|
9624
|
+
}
|
|
9625
|
+
`;
|
|
8503
9626
|
export const AddStorageFacilityReadingDocument = gql`
|
|
8504
9627
|
mutation addStorageFacilityReading($newStorageFacilityReadingData: NewStorageFacilityReadingInput!) {
|
|
8505
9628
|
addStorageFacilityReading(
|
|
@@ -8715,6 +9838,193 @@ export const ListTripsDocument = gql`
|
|
|
8715
9838
|
}
|
|
8716
9839
|
}
|
|
8717
9840
|
`;
|
|
9841
|
+
export const GetTripDetailsDocument = gql`
|
|
9842
|
+
query getTripDetails($id: String!) {
|
|
9843
|
+
tripById(id: $id) {
|
|
9844
|
+
_id
|
|
9845
|
+
tripNumber
|
|
9846
|
+
status
|
|
9847
|
+
routeDistance
|
|
9848
|
+
totalDistance
|
|
9849
|
+
loadedDistance
|
|
9850
|
+
firstPickupTime
|
|
9851
|
+
shipmentLocations {
|
|
9852
|
+
_id
|
|
9853
|
+
name
|
|
9854
|
+
addressLabel
|
|
9855
|
+
addressTimezone
|
|
9856
|
+
location {
|
|
9857
|
+
latitude
|
|
9858
|
+
longitude
|
|
9859
|
+
}
|
|
9860
|
+
locationType
|
|
9861
|
+
shipper {
|
|
9862
|
+
_id
|
|
9863
|
+
name
|
|
9864
|
+
address {
|
|
9865
|
+
label
|
|
9866
|
+
}
|
|
9867
|
+
addressTimezone
|
|
9868
|
+
}
|
|
9869
|
+
timeWindows {
|
|
9870
|
+
fromDate
|
|
9871
|
+
toDate
|
|
9872
|
+
}
|
|
9873
|
+
receiver {
|
|
9874
|
+
_id
|
|
9875
|
+
name
|
|
9876
|
+
address {
|
|
9877
|
+
label
|
|
9878
|
+
}
|
|
9879
|
+
addressTimezone
|
|
9880
|
+
}
|
|
9881
|
+
shippedGoods {
|
|
9882
|
+
_id
|
|
9883
|
+
label
|
|
9884
|
+
quantity
|
|
9885
|
+
weight
|
|
9886
|
+
unit
|
|
9887
|
+
goodProfileId
|
|
9888
|
+
supplierId
|
|
9889
|
+
pinCode
|
|
9890
|
+
}
|
|
9891
|
+
receivedGoods {
|
|
9892
|
+
goodId
|
|
9893
|
+
quantity
|
|
9894
|
+
goodProfileId
|
|
9895
|
+
}
|
|
9896
|
+
arrivalTime
|
|
9897
|
+
waitingDuration
|
|
9898
|
+
setupDuration
|
|
9899
|
+
serviceDuration
|
|
9900
|
+
shipmentId
|
|
9901
|
+
}
|
|
9902
|
+
violations {
|
|
9903
|
+
cause
|
|
9904
|
+
duration
|
|
9905
|
+
locationId
|
|
9906
|
+
}
|
|
9907
|
+
shipments {
|
|
9908
|
+
_id
|
|
9909
|
+
isFromSplit
|
|
9910
|
+
isFromRotation
|
|
9911
|
+
parentShipment {
|
|
9912
|
+
_id
|
|
9913
|
+
}
|
|
9914
|
+
shipmentNumber
|
|
9915
|
+
referenceNumbers
|
|
9916
|
+
status
|
|
9917
|
+
charges {
|
|
9918
|
+
_id
|
|
9919
|
+
rate
|
|
9920
|
+
unit
|
|
9921
|
+
total
|
|
9922
|
+
}
|
|
9923
|
+
trailerType
|
|
9924
|
+
additionalTrailerTypes
|
|
9925
|
+
events {
|
|
9926
|
+
_id
|
|
9927
|
+
type
|
|
9928
|
+
label
|
|
9929
|
+
description
|
|
9930
|
+
date
|
|
9931
|
+
shipmentLocation
|
|
9932
|
+
coordinates {
|
|
9933
|
+
latitude
|
|
9934
|
+
longitude
|
|
9935
|
+
}
|
|
9936
|
+
metadata
|
|
9937
|
+
}
|
|
9938
|
+
customer {
|
|
9939
|
+
_id
|
|
9940
|
+
code
|
|
9941
|
+
name
|
|
9942
|
+
}
|
|
9943
|
+
route {
|
|
9944
|
+
locations {
|
|
9945
|
+
locationType
|
|
9946
|
+
shipper {
|
|
9947
|
+
_id
|
|
9948
|
+
name
|
|
9949
|
+
address {
|
|
9950
|
+
label
|
|
9951
|
+
}
|
|
9952
|
+
addressTimezone
|
|
9953
|
+
}
|
|
9954
|
+
receiver {
|
|
9955
|
+
_id
|
|
9956
|
+
name
|
|
9957
|
+
address {
|
|
9958
|
+
label
|
|
9959
|
+
}
|
|
9960
|
+
addressTimezone
|
|
9961
|
+
}
|
|
9962
|
+
timeWindows {
|
|
9963
|
+
fromDate
|
|
9964
|
+
toDate
|
|
9965
|
+
}
|
|
9966
|
+
}
|
|
9967
|
+
}
|
|
9968
|
+
}
|
|
9969
|
+
polyline
|
|
9970
|
+
trailer {
|
|
9971
|
+
_id
|
|
9972
|
+
type
|
|
9973
|
+
serialNumber
|
|
9974
|
+
}
|
|
9975
|
+
additionalTrailers {
|
|
9976
|
+
_id
|
|
9977
|
+
type
|
|
9978
|
+
serialNumber
|
|
9979
|
+
}
|
|
9980
|
+
tractor {
|
|
9981
|
+
_id
|
|
9982
|
+
serialNumber
|
|
9983
|
+
}
|
|
9984
|
+
driver {
|
|
9985
|
+
_id
|
|
9986
|
+
firstname
|
|
9987
|
+
lastname
|
|
9988
|
+
}
|
|
9989
|
+
trailerCompartmentAssignments {
|
|
9990
|
+
trailerId
|
|
9991
|
+
compartmentId
|
|
9992
|
+
commodityId
|
|
9993
|
+
quantity
|
|
9994
|
+
targetStorageFacilityId
|
|
9995
|
+
}
|
|
9996
|
+
carrier {
|
|
9997
|
+
_id
|
|
9998
|
+
name
|
|
9999
|
+
code
|
|
10000
|
+
contact {
|
|
10001
|
+
email
|
|
10002
|
+
}
|
|
10003
|
+
additionalContacts {
|
|
10004
|
+
email
|
|
10005
|
+
includeInInvoicing
|
|
10006
|
+
}
|
|
10007
|
+
}
|
|
10008
|
+
additionalTrailers {
|
|
10009
|
+
_id
|
|
10010
|
+
type
|
|
10011
|
+
serialNumber
|
|
10012
|
+
}
|
|
10013
|
+
lastTrailerLocation {
|
|
10014
|
+
latitude
|
|
10015
|
+
longitude
|
|
10016
|
+
heading
|
|
10017
|
+
speed
|
|
10018
|
+
}
|
|
10019
|
+
lastTrailerLocationDate
|
|
10020
|
+
tags
|
|
10021
|
+
customFields {
|
|
10022
|
+
key
|
|
10023
|
+
value
|
|
10024
|
+
}
|
|
10025
|
+
}
|
|
10026
|
+
}
|
|
10027
|
+
`;
|
|
8718
10028
|
export const GetOrgUserByIdDocument = gql`
|
|
8719
10029
|
query getOrgUserById($id: String!) {
|
|
8720
10030
|
orgUserById(id: $id) {
|
|
@@ -8795,6 +10105,12 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
8795
10105
|
getMyOrganization(variables?: GetMyOrganizationQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetMyOrganizationQuery> {
|
|
8796
10106
|
return withWrapper((wrappedRequestHeaders) => client.request<GetMyOrganizationQuery>(GetMyOrganizationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getMyOrganization', 'query');
|
|
8797
10107
|
},
|
|
10108
|
+
getShipmentList(variables?: GetShipmentListQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetShipmentListQuery> {
|
|
10109
|
+
return withWrapper((wrappedRequestHeaders) => client.request<GetShipmentListQuery>(GetShipmentListDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getShipmentList', 'query');
|
|
10110
|
+
},
|
|
10111
|
+
getShipmentDetails(variables: GetShipmentDetailsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetShipmentDetailsQuery> {
|
|
10112
|
+
return withWrapper((wrappedRequestHeaders) => client.request<GetShipmentDetailsQuery>(GetShipmentDetailsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getShipmentDetails', 'query');
|
|
10113
|
+
},
|
|
8798
10114
|
addStorageFacilityReading(variables: AddStorageFacilityReadingMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddStorageFacilityReadingMutation> {
|
|
8799
10115
|
return withWrapper((wrappedRequestHeaders) => client.request<AddStorageFacilityReadingMutation>(AddStorageFacilityReadingDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'addStorageFacilityReading', 'mutation');
|
|
8800
10116
|
},
|
|
@@ -8840,6 +10156,9 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
8840
10156
|
listTrips(variables?: ListTripsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ListTripsQuery> {
|
|
8841
10157
|
return withWrapper((wrappedRequestHeaders) => client.request<ListTripsQuery>(ListTripsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'listTrips', 'query');
|
|
8842
10158
|
},
|
|
10159
|
+
getTripDetails(variables: GetTripDetailsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetTripDetailsQuery> {
|
|
10160
|
+
return withWrapper((wrappedRequestHeaders) => client.request<GetTripDetailsQuery>(GetTripDetailsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getTripDetails', 'query');
|
|
10161
|
+
},
|
|
8843
10162
|
getOrgUserById(variables: GetOrgUserByIdQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetOrgUserByIdQuery> {
|
|
8844
10163
|
return withWrapper((wrappedRequestHeaders) => client.request<GetOrgUserByIdQuery>(GetOrgUserByIdDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getOrgUserById', 'query');
|
|
8845
10164
|
}
|