@truetms/truetms-node 0.4.0 → 0.4.2
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 +313 -3
- package/dist/src/graphql/generated.js.map +1 -1
- package/dist/src/sdk/goodProfiles.js +21 -0
- package/dist/src/sdk/goodProfiles.js.map +1 -0
- package/dist/src/sdk/index.js +2 -0
- package/dist/src/sdk/index.js.map +1 -1
- package/dist/src/sdk/shipments.js +3 -0
- package/dist/src/sdk/shipments.js.map +1 -1
- package/package.json +1 -1
- package/src/graphql/drivers.graphql +18 -0
- package/src/graphql/generated.ts +1188 -28
- package/src/graphql/good-profile.graphql +129 -0
- package/src/graphql/shipments.graphql +51 -0
- package/src/sdk/goodProfiles.ts +26 -0
- package/src/sdk/index.ts +3 -0
- package/src/sdk/shipments.ts +3 -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 */
|
|
@@ -233,8 +234,10 @@ export enum BillingRuleConditionTarget {
|
|
|
233
234
|
Mileage = 'MILEAGE',
|
|
234
235
|
Otherwise = 'OTHERWISE',
|
|
235
236
|
Receiver = 'RECEIVER',
|
|
237
|
+
ReceiverCity = 'RECEIVER_CITY',
|
|
236
238
|
ReceiverState = 'RECEIVER_STATE',
|
|
237
239
|
Shipper = 'SHIPPER',
|
|
240
|
+
ShipperCity = 'SHIPPER_CITY',
|
|
238
241
|
ShipperState = 'SHIPPER_STATE',
|
|
239
242
|
Time = 'TIME',
|
|
240
243
|
Trailer = 'TRAILER',
|
|
@@ -250,6 +253,7 @@ export type BillingRulePaginatedResult = {
|
|
|
250
253
|
|
|
251
254
|
export enum BillingRuleType {
|
|
252
255
|
Accessorial = 'ACCESSORIAL',
|
|
256
|
+
OrderCancellation = 'ORDER_CANCELLATION',
|
|
253
257
|
Primary = 'PRIMARY',
|
|
254
258
|
Tax = 'TAX'
|
|
255
259
|
}
|
|
@@ -285,8 +289,11 @@ export type Broker = {
|
|
|
285
289
|
billingAddress?: Maybe<TextualAddress>;
|
|
286
290
|
/** Billing email for the business entity. Invoices are sent here */
|
|
287
291
|
billingEmail?: Maybe<Scalars['String']>;
|
|
292
|
+
/** Criteria for invoice consolidation */
|
|
293
|
+
billingInvoiceConsolidationCriteria?: Maybe<InvoiceConsolidationCriteria>;
|
|
288
294
|
/** Billing terms for the business entity in days. */
|
|
289
295
|
billingTermsDay?: Maybe<Scalars['Float']>;
|
|
296
|
+
billingWeekStartsOn?: Maybe<Scalars['Float']>;
|
|
290
297
|
/** Unique code identifying the business entity. */
|
|
291
298
|
code?: Maybe<Scalars['String']>;
|
|
292
299
|
/** Primary contact for the business entity. */
|
|
@@ -300,13 +307,15 @@ export type Broker = {
|
|
|
300
307
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
301
308
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
302
309
|
defaultShipperId?: Maybe<Scalars['ObjectId']>;
|
|
310
|
+
/** Document requirements for invoicing for this business entity */
|
|
311
|
+
documentRequirements?: Maybe<Array<DocumentRequirement>>;
|
|
303
312
|
/** Documents for the business entity */
|
|
304
313
|
documents?: Maybe<Array<Document>>;
|
|
305
314
|
/** DOT Number for carriers and brokers */
|
|
306
315
|
dotNumber?: Maybe<Scalars['String']>;
|
|
307
316
|
/** ID of the business entity in an external system. */
|
|
308
317
|
externalId?: Maybe<Scalars['String']>;
|
|
309
|
-
/** Federal ID for
|
|
318
|
+
/** Federal ID for business entities */
|
|
310
319
|
federalId?: Maybe<Scalars['String']>;
|
|
311
320
|
goodInventoryItems?: Maybe<Array<GoodInventoryItem>>;
|
|
312
321
|
/** IDs of the groups that this business entity belongs to */
|
|
@@ -315,6 +324,7 @@ export type Broker = {
|
|
|
315
324
|
mcNumber?: Maybe<Scalars['String']>;
|
|
316
325
|
/** Legal name of the business entity. */
|
|
317
326
|
name: Scalars['String'];
|
|
327
|
+
notes?: Maybe<Array<BusinessEntityNote>>;
|
|
318
328
|
/** Opening schedules for the business entity. */
|
|
319
329
|
openingSchedules?: Maybe<Array<OpeningSchedule>>;
|
|
320
330
|
/** The business entity that this business entity belongs to */
|
|
@@ -348,6 +358,12 @@ export type Broker = {
|
|
|
348
358
|
type: BusinessEntityType;
|
|
349
359
|
};
|
|
350
360
|
|
|
361
|
+
|
|
362
|
+
/** A Broker Business entity */
|
|
363
|
+
export type BrokerStorageFacilitiesArgs = {
|
|
364
|
+
includeLinkedFacilities?: InputMaybe<Scalars['Boolean']>;
|
|
365
|
+
};
|
|
366
|
+
|
|
351
367
|
export type BrokerPaginatedResult = {
|
|
352
368
|
__typename?: 'BrokerPaginatedResult';
|
|
353
369
|
count: Scalars['Int'];
|
|
@@ -358,6 +374,23 @@ export type BulkEditDriverInput = {
|
|
|
358
374
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
359
375
|
};
|
|
360
376
|
|
|
377
|
+
export type BulkExtensionOperationResponse = {
|
|
378
|
+
__typename?: 'BulkExtensionOperationResponse';
|
|
379
|
+
failureCount: Scalars['Float'];
|
|
380
|
+
message?: Maybe<Scalars['String']>;
|
|
381
|
+
results: Array<BulkOperationRecordResult>;
|
|
382
|
+
successCount: Scalars['Float'];
|
|
383
|
+
totalProcessed: Scalars['Float'];
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
export type BulkOperationRecordResult = {
|
|
387
|
+
__typename?: 'BulkOperationRecordResult';
|
|
388
|
+
error?: Maybe<Scalars['String']>;
|
|
389
|
+
message?: Maybe<Scalars['String']>;
|
|
390
|
+
recordId: Scalars['String'];
|
|
391
|
+
success: Scalars['Boolean'];
|
|
392
|
+
};
|
|
393
|
+
|
|
361
394
|
export type BulkUpdateResult = {
|
|
362
395
|
__typename?: 'BulkUpdateResult';
|
|
363
396
|
acknowledged: Scalars['Boolean'];
|
|
@@ -384,8 +417,11 @@ export type BusinessEntity = {
|
|
|
384
417
|
billingAddress?: Maybe<TextualAddress>;
|
|
385
418
|
/** Billing email for the business entity. Invoices are sent here */
|
|
386
419
|
billingEmail?: Maybe<Scalars['String']>;
|
|
420
|
+
/** Criteria for invoice consolidation */
|
|
421
|
+
billingInvoiceConsolidationCriteria?: Maybe<InvoiceConsolidationCriteria>;
|
|
387
422
|
/** Billing terms for the business entity in days. */
|
|
388
423
|
billingTermsDay?: Maybe<Scalars['Float']>;
|
|
424
|
+
billingWeekStartsOn?: Maybe<Scalars['Float']>;
|
|
389
425
|
/** Unique code identifying the business entity. */
|
|
390
426
|
code?: Maybe<Scalars['String']>;
|
|
391
427
|
/** Primary contact for the business entity. */
|
|
@@ -399,13 +435,15 @@ export type BusinessEntity = {
|
|
|
399
435
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
400
436
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
401
437
|
defaultShipperId?: Maybe<Scalars['ObjectId']>;
|
|
438
|
+
/** Document requirements for invoicing for this business entity */
|
|
439
|
+
documentRequirements?: Maybe<Array<DocumentRequirement>>;
|
|
402
440
|
/** Documents for the business entity */
|
|
403
441
|
documents?: Maybe<Array<Document>>;
|
|
404
442
|
/** DOT Number for carriers and brokers */
|
|
405
443
|
dotNumber?: Maybe<Scalars['String']>;
|
|
406
444
|
/** ID of the business entity in an external system. */
|
|
407
445
|
externalId?: Maybe<Scalars['String']>;
|
|
408
|
-
/** Federal ID for
|
|
446
|
+
/** Federal ID for business entities */
|
|
409
447
|
federalId?: Maybe<Scalars['String']>;
|
|
410
448
|
goodInventoryItems?: Maybe<Array<GoodInventoryItem>>;
|
|
411
449
|
/** IDs of the groups that this business entity belongs to */
|
|
@@ -414,6 +452,7 @@ export type BusinessEntity = {
|
|
|
414
452
|
mcNumber?: Maybe<Scalars['String']>;
|
|
415
453
|
/** Legal name of the business entity. */
|
|
416
454
|
name: Scalars['String'];
|
|
455
|
+
notes?: Maybe<Array<BusinessEntityNote>>;
|
|
417
456
|
/** Opening schedules for the business entity. */
|
|
418
457
|
openingSchedules?: Maybe<Array<OpeningSchedule>>;
|
|
419
458
|
/** The business entity that this business entity belongs to */
|
|
@@ -447,6 +486,27 @@ export type BusinessEntity = {
|
|
|
447
486
|
type: BusinessEntityType;
|
|
448
487
|
};
|
|
449
488
|
|
|
489
|
+
|
|
490
|
+
/** Business entity */
|
|
491
|
+
export type BusinessEntityStorageFacilitiesArgs = {
|
|
492
|
+
includeLinkedFacilities?: InputMaybe<Scalars['Boolean']>;
|
|
493
|
+
};
|
|
494
|
+
|
|
495
|
+
export type BusinessEntityNote = {
|
|
496
|
+
__typename?: 'BusinessEntityNote';
|
|
497
|
+
_id?: Maybe<Scalars['ObjectId']>;
|
|
498
|
+
accessLevel?: Maybe<Array<NoteAccessLevel>>;
|
|
499
|
+
addToShipment: Scalars['Boolean'];
|
|
500
|
+
content: Scalars['String'];
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
export type BusinessEntityNoteInput = {
|
|
504
|
+
_id?: InputMaybe<Scalars['ObjectId']>;
|
|
505
|
+
accessLevel?: InputMaybe<Array<NoteAccessLevel>>;
|
|
506
|
+
addToShipment?: InputMaybe<Scalars['Boolean']>;
|
|
507
|
+
content: Scalars['String'];
|
|
508
|
+
};
|
|
509
|
+
|
|
450
510
|
export type BusinessEntityPaginatedResult = {
|
|
451
511
|
__typename?: 'BusinessEntityPaginatedResult';
|
|
452
512
|
count: Scalars['Int'];
|
|
@@ -475,13 +535,18 @@ export type BusinessEntityUpdateInput = {
|
|
|
475
535
|
address?: InputMaybe<NewAddressInput>;
|
|
476
536
|
billingAddress?: InputMaybe<NewTextualAddressInput>;
|
|
477
537
|
billingEmail?: InputMaybe<Scalars['String']>;
|
|
538
|
+
/** Criteria for invoice consolidation */
|
|
539
|
+
billingInvoiceConsolidationCriteria?: InputMaybe<InvoiceConsolidationCriteria>;
|
|
478
540
|
billingTermsDay?: InputMaybe<Scalars['Float']>;
|
|
541
|
+
billingWeekStartsOn?: InputMaybe<Scalars['Float']>;
|
|
479
542
|
code?: InputMaybe<Scalars['String']>;
|
|
480
543
|
contact?: InputMaybe<NewContactInput>;
|
|
481
544
|
creditTerms?: InputMaybe<Scalars['String']>;
|
|
482
545
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
483
546
|
defaultReferenceNumbers?: InputMaybe<Array<DefaultReferenceNumberInput>>;
|
|
484
547
|
defaultShipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
548
|
+
/** Document requirements for invoicing for this business entity */
|
|
549
|
+
documentRequirements?: InputMaybe<Array<DocumentRequirementInput>>;
|
|
485
550
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
486
551
|
dotNumber?: InputMaybe<Scalars['String']>;
|
|
487
552
|
externalId?: InputMaybe<Scalars['String']>;
|
|
@@ -490,6 +555,7 @@ export type BusinessEntityUpdateInput = {
|
|
|
490
555
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
491
556
|
mcNumber?: InputMaybe<Scalars['String']>;
|
|
492
557
|
name?: InputMaybe<Scalars['String']>;
|
|
558
|
+
notes?: InputMaybe<Array<BusinessEntityNoteInput>>;
|
|
493
559
|
openingSchedules?: InputMaybe<Array<OpeningScheduleInput>>;
|
|
494
560
|
parentBusinessEntityId?: InputMaybe<Scalars['ObjectId']>;
|
|
495
561
|
payToProfileId?: InputMaybe<Scalars['ObjectId']>;
|
|
@@ -525,8 +591,11 @@ export type Carrier = {
|
|
|
525
591
|
billingAddress?: Maybe<TextualAddress>;
|
|
526
592
|
/** Billing email for the business entity. Invoices are sent here */
|
|
527
593
|
billingEmail?: Maybe<Scalars['String']>;
|
|
594
|
+
/** Criteria for invoice consolidation */
|
|
595
|
+
billingInvoiceConsolidationCriteria?: Maybe<InvoiceConsolidationCriteria>;
|
|
528
596
|
/** Billing terms for the business entity in days. */
|
|
529
597
|
billingTermsDay?: Maybe<Scalars['Float']>;
|
|
598
|
+
billingWeekStartsOn?: Maybe<Scalars['Float']>;
|
|
530
599
|
/** Unique code identifying the business entity. */
|
|
531
600
|
code?: Maybe<Scalars['String']>;
|
|
532
601
|
/** Primary contact for the business entity. */
|
|
@@ -540,13 +609,15 @@ export type Carrier = {
|
|
|
540
609
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
541
610
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
542
611
|
defaultShipperId?: Maybe<Scalars['ObjectId']>;
|
|
612
|
+
/** Document requirements for invoicing for this business entity */
|
|
613
|
+
documentRequirements?: Maybe<Array<DocumentRequirement>>;
|
|
543
614
|
/** Documents for the business entity */
|
|
544
615
|
documents?: Maybe<Array<Document>>;
|
|
545
616
|
/** DOT Number for carriers and brokers */
|
|
546
617
|
dotNumber?: Maybe<Scalars['String']>;
|
|
547
618
|
/** ID of the business entity in an external system. */
|
|
548
619
|
externalId?: Maybe<Scalars['String']>;
|
|
549
|
-
/** Federal ID for
|
|
620
|
+
/** Federal ID for business entities */
|
|
550
621
|
federalId?: Maybe<Scalars['String']>;
|
|
551
622
|
goodInventoryItems?: Maybe<Array<GoodInventoryItem>>;
|
|
552
623
|
/** IDs of the groups that this business entity belongs to */
|
|
@@ -555,6 +626,7 @@ export type Carrier = {
|
|
|
555
626
|
mcNumber?: Maybe<Scalars['String']>;
|
|
556
627
|
/** Legal name of the business entity. */
|
|
557
628
|
name: Scalars['String'];
|
|
629
|
+
notes?: Maybe<Array<BusinessEntityNote>>;
|
|
558
630
|
/** Opening schedules for the business entity. */
|
|
559
631
|
openingSchedules?: Maybe<Array<OpeningSchedule>>;
|
|
560
632
|
/** The business entity that this business entity belongs to */
|
|
@@ -588,6 +660,12 @@ export type Carrier = {
|
|
|
588
660
|
type: BusinessEntityType;
|
|
589
661
|
};
|
|
590
662
|
|
|
663
|
+
|
|
664
|
+
/** A Carrier Business entity */
|
|
665
|
+
export type CarrierStorageFacilitiesArgs = {
|
|
666
|
+
includeLinkedFacilities?: InputMaybe<Scalars['Boolean']>;
|
|
667
|
+
};
|
|
668
|
+
|
|
591
669
|
export type ChangeTripStartTimeInput = {
|
|
592
670
|
etaFromPreviousTrip?: InputMaybe<Scalars['Float']>;
|
|
593
671
|
etaToNextTrip?: InputMaybe<Scalars['Float']>;
|
|
@@ -600,6 +678,7 @@ export type ChangeTripStartTimeInput = {
|
|
|
600
678
|
export enum ChargeType {
|
|
601
679
|
Accessorial = 'ACCESSORIAL',
|
|
602
680
|
Linehaul = 'LINEHAUL',
|
|
681
|
+
OrderCancellation = 'ORDER_CANCELLATION',
|
|
603
682
|
Tax = 'TAX'
|
|
604
683
|
}
|
|
605
684
|
|
|
@@ -639,6 +718,7 @@ export type Contact = {
|
|
|
639
718
|
extensionNumber?: Maybe<Scalars['String']>;
|
|
640
719
|
faxNumber?: Maybe<Scalars['String']>;
|
|
641
720
|
firstname: Scalars['String'];
|
|
721
|
+
includeInDocumentSending?: Maybe<Scalars['Boolean']>;
|
|
642
722
|
includeInInvoicing?: Maybe<Scalars['Boolean']>;
|
|
643
723
|
lastname: Scalars['String'];
|
|
644
724
|
middlename?: Maybe<Scalars['String']>;
|
|
@@ -808,8 +888,11 @@ export type Customer = {
|
|
|
808
888
|
billingAddress?: Maybe<TextualAddress>;
|
|
809
889
|
/** Billing email for the business entity. Invoices are sent here */
|
|
810
890
|
billingEmail?: Maybe<Scalars['String']>;
|
|
891
|
+
/** Criteria for invoice consolidation */
|
|
892
|
+
billingInvoiceConsolidationCriteria?: Maybe<InvoiceConsolidationCriteria>;
|
|
811
893
|
/** Billing terms for the business entity in days. */
|
|
812
894
|
billingTermsDay?: Maybe<Scalars['Float']>;
|
|
895
|
+
billingWeekStartsOn?: Maybe<Scalars['Float']>;
|
|
813
896
|
/** Unique code identifying the business entity. */
|
|
814
897
|
code?: Maybe<Scalars['String']>;
|
|
815
898
|
/** Primary contact for the business entity. */
|
|
@@ -823,13 +906,15 @@ export type Customer = {
|
|
|
823
906
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
824
907
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
825
908
|
defaultShipperId?: Maybe<Scalars['ObjectId']>;
|
|
909
|
+
/** Document requirements for invoicing for this business entity */
|
|
910
|
+
documentRequirements?: Maybe<Array<DocumentRequirement>>;
|
|
826
911
|
/** Documents for the business entity */
|
|
827
912
|
documents?: Maybe<Array<Document>>;
|
|
828
913
|
/** DOT Number for carriers and brokers */
|
|
829
914
|
dotNumber?: Maybe<Scalars['String']>;
|
|
830
915
|
/** ID of the business entity in an external system. */
|
|
831
916
|
externalId?: Maybe<Scalars['String']>;
|
|
832
|
-
/** Federal ID for
|
|
917
|
+
/** Federal ID for business entities */
|
|
833
918
|
federalId?: Maybe<Scalars['String']>;
|
|
834
919
|
goodInventoryItems?: Maybe<Array<GoodInventoryItem>>;
|
|
835
920
|
/** IDs of the groups that this business entity belongs to */
|
|
@@ -838,6 +923,7 @@ export type Customer = {
|
|
|
838
923
|
mcNumber?: Maybe<Scalars['String']>;
|
|
839
924
|
/** Legal name of the business entity. */
|
|
840
925
|
name: Scalars['String'];
|
|
926
|
+
notes?: Maybe<Array<BusinessEntityNote>>;
|
|
841
927
|
/** Opening schedules for the business entity. */
|
|
842
928
|
openingSchedules?: Maybe<Array<OpeningSchedule>>;
|
|
843
929
|
/** The business entity that this business entity belongs to */
|
|
@@ -871,6 +957,12 @@ export type Customer = {
|
|
|
871
957
|
type: BusinessEntityType;
|
|
872
958
|
};
|
|
873
959
|
|
|
960
|
+
|
|
961
|
+
/** A Customer Business entity */
|
|
962
|
+
export type CustomerStorageFacilitiesArgs = {
|
|
963
|
+
includeLinkedFacilities?: InputMaybe<Scalars['Boolean']>;
|
|
964
|
+
};
|
|
965
|
+
|
|
874
966
|
export type CustomerPaginatedResult = {
|
|
875
967
|
__typename?: 'CustomerPaginatedResult';
|
|
876
968
|
count: Scalars['Int'];
|
|
@@ -1002,13 +1094,19 @@ export type DispatchingSettings = {
|
|
|
1002
1094
|
__typename?: 'DispatchingSettings';
|
|
1003
1095
|
canChangeTripOrder?: Maybe<Scalars['Boolean']>;
|
|
1004
1096
|
canConsolidateInProgressShipments?: Maybe<Scalars['Boolean']>;
|
|
1097
|
+
canDriverSetAlternateSupplierPinCode?: Maybe<Scalars['Boolean']>;
|
|
1005
1098
|
canUseAdHocAddress?: Maybe<Scalars['Boolean']>;
|
|
1099
|
+
/** Enable warnings when delivery quantity exceeds tank capacity in order entry for monitored tanks */
|
|
1100
|
+
enableCapacityWarnings?: Maybe<Scalars['Boolean']>;
|
|
1006
1101
|
};
|
|
1007
1102
|
|
|
1008
1103
|
export type DispatchingSettingsInput = {
|
|
1009
1104
|
canChangeTripOrder?: InputMaybe<Scalars['Boolean']>;
|
|
1010
1105
|
canConsolidateInProgressShipments?: InputMaybe<Scalars['Boolean']>;
|
|
1106
|
+
canDriverSetAlternateSupplierPinCode?: InputMaybe<Scalars['Boolean']>;
|
|
1011
1107
|
canUseAdHocAddress?: InputMaybe<Scalars['Boolean']>;
|
|
1108
|
+
/** Enable warnings when delivery quantity exceeds tank capacity in order entry for monitored tanks */
|
|
1109
|
+
enableCapacityWarnings?: InputMaybe<Scalars['Boolean']>;
|
|
1012
1110
|
};
|
|
1013
1111
|
|
|
1014
1112
|
export type Document = {
|
|
@@ -1024,6 +1122,22 @@ export type DocumentInput = {
|
|
|
1024
1122
|
url: Scalars['String'];
|
|
1025
1123
|
};
|
|
1026
1124
|
|
|
1125
|
+
/** Document requirement for invoicing */
|
|
1126
|
+
export type DocumentRequirement = {
|
|
1127
|
+
__typename?: 'DocumentRequirement';
|
|
1128
|
+
attachToInvoice: Scalars['Boolean'];
|
|
1129
|
+
documentName?: Maybe<Scalars['String']>;
|
|
1130
|
+
documentType: DocumentType;
|
|
1131
|
+
requiredForInvoicing: Scalars['Boolean'];
|
|
1132
|
+
};
|
|
1133
|
+
|
|
1134
|
+
export type DocumentRequirementInput = {
|
|
1135
|
+
attachToInvoice?: InputMaybe<Scalars['Boolean']>;
|
|
1136
|
+
documentName?: InputMaybe<Scalars['String']>;
|
|
1137
|
+
documentType: DocumentType;
|
|
1138
|
+
requiredForInvoicing?: InputMaybe<Scalars['Boolean']>;
|
|
1139
|
+
};
|
|
1140
|
+
|
|
1027
1141
|
export type DocumentSignedUrl = {
|
|
1028
1142
|
__typename?: 'DocumentSignedUrl';
|
|
1029
1143
|
key: Scalars['String'];
|
|
@@ -1036,6 +1150,20 @@ export type DocumentSignedUrlInput = {
|
|
|
1036
1150
|
operation: S3_Operation;
|
|
1037
1151
|
};
|
|
1038
1152
|
|
|
1153
|
+
/** Types of documents that can be required by customers */
|
|
1154
|
+
export enum DocumentType {
|
|
1155
|
+
CustomsForm = 'CUSTOMS_FORM',
|
|
1156
|
+
DeliveryBol = 'DELIVERY_BOL',
|
|
1157
|
+
DeliveryReceipt = 'DELIVERY_RECEIPT',
|
|
1158
|
+
Invoice = 'INVOICE',
|
|
1159
|
+
Other = 'OTHER',
|
|
1160
|
+
PackingList = 'PACKING_LIST',
|
|
1161
|
+
PickupBol = 'PICKUP_BOL',
|
|
1162
|
+
ProofOfDelivery = 'PROOF_OF_DELIVERY',
|
|
1163
|
+
Ratecon = 'RATECON',
|
|
1164
|
+
WeightTicket = 'WEIGHT_TICKET'
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1039
1167
|
/** Driver entity */
|
|
1040
1168
|
export type Driver = {
|
|
1041
1169
|
__typename?: 'Driver';
|
|
@@ -1049,6 +1177,7 @@ export type Driver = {
|
|
|
1049
1177
|
domicileEntity?: Maybe<BusinessEntity>;
|
|
1050
1178
|
domicileId?: Maybe<Scalars['ObjectId']>;
|
|
1051
1179
|
eldId?: Maybe<Scalars['String']>;
|
|
1180
|
+
externalId?: Maybe<Scalars['String']>;
|
|
1052
1181
|
firstname: Scalars['String'];
|
|
1053
1182
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
1054
1183
|
hos?: Maybe<DriverHos>;
|
|
@@ -1373,6 +1502,7 @@ export type DriverUpdateInput = {
|
|
|
1373
1502
|
domicileId?: InputMaybe<Scalars['ObjectId']>;
|
|
1374
1503
|
eldId?: InputMaybe<Scalars['String']>;
|
|
1375
1504
|
email?: InputMaybe<Scalars['String']>;
|
|
1505
|
+
externalId?: InputMaybe<Scalars['String']>;
|
|
1376
1506
|
firstname?: InputMaybe<Scalars['String']>;
|
|
1377
1507
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
1378
1508
|
hos?: InputMaybe<DriverHosInput>;
|
|
@@ -1412,6 +1542,8 @@ export type EditShipmentDocumentInput = {
|
|
|
1412
1542
|
accessLevel: Array<NoteAccessLevel>;
|
|
1413
1543
|
associatedCharge?: InputMaybe<Scalars['String']>;
|
|
1414
1544
|
isBillable: Scalars['Boolean'];
|
|
1545
|
+
isForRatecons: Scalars['Boolean'];
|
|
1546
|
+
isForReceivers: Scalars['Boolean'];
|
|
1415
1547
|
name: Scalars['String'];
|
|
1416
1548
|
receiver?: InputMaybe<Scalars['String']>;
|
|
1417
1549
|
shipment?: InputMaybe<Scalars['String']>;
|
|
@@ -1441,10 +1573,13 @@ export enum Events {
|
|
|
1441
1573
|
ExpenseDeleted = 'EXPENSE_DELETED',
|
|
1442
1574
|
InvoiceCreated = 'INVOICE_CREATED',
|
|
1443
1575
|
InvoiceDeleted = 'INVOICE_DELETED',
|
|
1576
|
+
InvoiceUpdated = 'INVOICE_UPDATED',
|
|
1444
1577
|
OrgUserCreated = 'ORG_USER_CREATED',
|
|
1445
1578
|
OrgUserDeleted = 'ORG_USER_DELETED',
|
|
1446
1579
|
OrgUserRolesUpdated = 'ORG_USER_ROLES_UPDATED',
|
|
1447
1580
|
ShipmentAssigned = 'SHIPMENT_ASSIGNED',
|
|
1581
|
+
ShipmentCancelled = 'SHIPMENT_CANCELLED',
|
|
1582
|
+
ShipmentChargesUpdated = 'SHIPMENT_CHARGES_UPDATED',
|
|
1448
1583
|
ShipmentCompleted = 'SHIPMENT_COMPLETED',
|
|
1449
1584
|
ShipmentCreated = 'SHIPMENT_CREATED',
|
|
1450
1585
|
ShipmentDeleted = 'SHIPMENT_DELETED',
|
|
@@ -1453,6 +1588,7 @@ export enum Events {
|
|
|
1453
1588
|
ShipmentEventUpdated = 'SHIPMENT_EVENT_UPDATED',
|
|
1454
1589
|
ShipmentGoodPinCodeUpdated = 'SHIPMENT_GOOD_PIN_CODE_UPDATED',
|
|
1455
1590
|
ShipmentGoodWeightUpdated = 'SHIPMENT_GOOD_WEIGHT_UPDATED',
|
|
1591
|
+
ShipmentRestored = 'SHIPMENT_RESTORED',
|
|
1456
1592
|
ShipmentUpdated = 'SHIPMENT_UPDATED',
|
|
1457
1593
|
TractorPositionUpdated = 'TRACTOR_POSITION_UPDATED',
|
|
1458
1594
|
TrailerPositionUpdated = 'TRAILER_POSITION_UPDATED',
|
|
@@ -1510,6 +1646,8 @@ export type Extension = {
|
|
|
1510
1646
|
coverImage?: Maybe<Scalars['String']>;
|
|
1511
1647
|
description: Scalars['String'];
|
|
1512
1648
|
name: Scalars['String'];
|
|
1649
|
+
/** Required subscription feature for this extension to be available */
|
|
1650
|
+
requiredFeatureId?: Maybe<Scalars['String']>;
|
|
1513
1651
|
settings: ExtensionSettings;
|
|
1514
1652
|
websiteUrl?: Maybe<Scalars['String']>;
|
|
1515
1653
|
};
|
|
@@ -1655,6 +1793,7 @@ export type ExtensionOperation = {
|
|
|
1655
1793
|
context: ExtensionOperationContext;
|
|
1656
1794
|
description: Scalars['String'];
|
|
1657
1795
|
endpoint: Scalars['String'];
|
|
1796
|
+
filter?: Maybe<Scalars['JSON']>;
|
|
1658
1797
|
icon: Scalars['String'];
|
|
1659
1798
|
key: Scalars['String'];
|
|
1660
1799
|
name: Scalars['String'];
|
|
@@ -1663,6 +1802,8 @@ export type ExtensionOperation = {
|
|
|
1663
1802
|
export enum ExtensionOperationContext {
|
|
1664
1803
|
BusinessEntity = 'BUSINESS_ENTITY',
|
|
1665
1804
|
BusinessLocation = 'BUSINESS_LOCATION',
|
|
1805
|
+
Invoice = 'INVOICE',
|
|
1806
|
+
/** @deprecated Use INVOICE instead */
|
|
1666
1807
|
InvoiceDetails = 'INVOICE_DETAILS'
|
|
1667
1808
|
}
|
|
1668
1809
|
|
|
@@ -1679,6 +1820,7 @@ export type ExtensionOperationWithExtensionId = {
|
|
|
1679
1820
|
description: Scalars['String'];
|
|
1680
1821
|
endpoint: Scalars['String'];
|
|
1681
1822
|
extensionId: Scalars['String'];
|
|
1823
|
+
filter?: Maybe<Scalars['JSON']>;
|
|
1682
1824
|
icon: Scalars['String'];
|
|
1683
1825
|
key: Scalars['String'];
|
|
1684
1826
|
name: Scalars['String'];
|
|
@@ -1702,10 +1844,32 @@ export type ExtensionSettings = {
|
|
|
1702
1844
|
messagesEndpoint?: Maybe<Scalars['String']>;
|
|
1703
1845
|
operations: Array<ExtensionOperation>;
|
|
1704
1846
|
rootUrl: Scalars['String'];
|
|
1847
|
+
uiComponents?: Maybe<Array<ExtensionUiComponent>>;
|
|
1705
1848
|
uninstallEndpoint: Scalars['String'];
|
|
1706
1849
|
widgets: Array<ExtensionWidget>;
|
|
1707
1850
|
};
|
|
1708
1851
|
|
|
1852
|
+
/** Extension UI component */
|
|
1853
|
+
export type ExtensionUiComponent = {
|
|
1854
|
+
__typename?: 'ExtensionUIComponent';
|
|
1855
|
+
endpoint: Scalars['String'];
|
|
1856
|
+
type: Scalars['String'];
|
|
1857
|
+
};
|
|
1858
|
+
|
|
1859
|
+
export enum ExtensionUiComponentType {
|
|
1860
|
+
Map = 'MAP',
|
|
1861
|
+
MapMarker = 'MAP_MARKER',
|
|
1862
|
+
MapPopup = 'MAP_POPUP'
|
|
1863
|
+
}
|
|
1864
|
+
|
|
1865
|
+
export type ExtensionUiComponentWithExtensionInfo = {
|
|
1866
|
+
__typename?: 'ExtensionUIComponentWithExtensionInfo';
|
|
1867
|
+
endpoint: Scalars['String'];
|
|
1868
|
+
extensionId: Scalars['String'];
|
|
1869
|
+
rootUrl: Scalars['String'];
|
|
1870
|
+
type: Scalars['String'];
|
|
1871
|
+
};
|
|
1872
|
+
|
|
1709
1873
|
/** Extension widget */
|
|
1710
1874
|
export type ExtensionWidget = {
|
|
1711
1875
|
__typename?: 'ExtensionWidget';
|
|
@@ -1887,6 +2051,7 @@ export type GeneralSettings = {
|
|
|
1887
2051
|
measurementSystem?: Maybe<MeasurementSystem>;
|
|
1888
2052
|
singleClickTripCompletion?: Maybe<Scalars['Boolean']>;
|
|
1889
2053
|
useSimpleWorkflow?: Maybe<Scalars['Boolean']>;
|
|
2054
|
+
weekStartsOn?: Maybe<Scalars['Float']>;
|
|
1890
2055
|
};
|
|
1891
2056
|
|
|
1892
2057
|
export type GeneralSettingsInput = {
|
|
@@ -1896,6 +2061,7 @@ export type GeneralSettingsInput = {
|
|
|
1896
2061
|
measurementSystem?: InputMaybe<MeasurementSystem>;
|
|
1897
2062
|
singleClickTripCompletion?: InputMaybe<Scalars['Boolean']>;
|
|
1898
2063
|
useSimpleWorkflow?: InputMaybe<Scalars['Boolean']>;
|
|
2064
|
+
weekStartsOn?: InputMaybe<Scalars['Float']>;
|
|
1899
2065
|
};
|
|
1900
2066
|
|
|
1901
2067
|
export type GenerateTripInput = {
|
|
@@ -1918,8 +2084,11 @@ export type GenerateTripInput = {
|
|
|
1918
2084
|
export type Good = {
|
|
1919
2085
|
__typename?: 'Good';
|
|
1920
2086
|
_id: Scalars['String'];
|
|
2087
|
+
alternativePinCodes?: Maybe<Array<Scalars['String']>>;
|
|
1921
2088
|
goodProfileId?: Maybe<Scalars['ObjectId']>;
|
|
1922
2089
|
label: Scalars['String'];
|
|
2090
|
+
/** The quantity that was loaded by the driver */
|
|
2091
|
+
loadedQuantity?: Maybe<Scalars['Float']>;
|
|
1923
2092
|
pallet?: Maybe<Scalars['Float']>;
|
|
1924
2093
|
pieces?: Maybe<Scalars['Float']>;
|
|
1925
2094
|
pinCode?: Maybe<Scalars['String']>;
|
|
@@ -1932,30 +2101,41 @@ export type Good = {
|
|
|
1932
2101
|
|
|
1933
2102
|
export type GoodDistribution = {
|
|
1934
2103
|
__typename?: 'GoodDistribution';
|
|
2104
|
+
alternativePinCodes?: Maybe<Array<Scalars['String']>>;
|
|
2105
|
+
/** The quantity that was actually delivered to the customer */
|
|
2106
|
+
deliveredQuantity?: Maybe<Scalars['Float']>;
|
|
1935
2107
|
goodId: Scalars['String'];
|
|
1936
2108
|
goodProfile?: Maybe<GoodProfile>;
|
|
1937
2109
|
goodProfileId?: Maybe<Scalars['ObjectId']>;
|
|
1938
2110
|
pinCode?: Maybe<Scalars['String']>;
|
|
1939
2111
|
quantity?: Maybe<Scalars['Float']>;
|
|
1940
2112
|
shipperId?: Maybe<Scalars['ObjectId']>;
|
|
2113
|
+
storageFacilityId?: Maybe<Scalars['String']>;
|
|
1941
2114
|
supplierId?: Maybe<Scalars['ObjectId']>;
|
|
1942
2115
|
unitPrice?: Maybe<Scalars['Float']>;
|
|
1943
2116
|
};
|
|
1944
2117
|
|
|
1945
2118
|
export type GoodDistributionInput = {
|
|
2119
|
+
alternativePinCodes?: InputMaybe<Array<Scalars['String']>>;
|
|
2120
|
+
/** The quantity that was actually delivered to the customer */
|
|
2121
|
+
deliveredQuantity?: InputMaybe<Scalars['Float']>;
|
|
1946
2122
|
goodId: Scalars['String'];
|
|
1947
2123
|
goodProfileId?: InputMaybe<Scalars['ObjectId']>;
|
|
1948
2124
|
pinCode?: InputMaybe<Scalars['String']>;
|
|
1949
2125
|
quantity?: InputMaybe<Scalars['Float']>;
|
|
1950
2126
|
shipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
2127
|
+
storageFacilityId?: InputMaybe<Scalars['String']>;
|
|
1951
2128
|
supplierId?: InputMaybe<Scalars['ObjectId']>;
|
|
1952
2129
|
unitPrice?: InputMaybe<Scalars['Float']>;
|
|
1953
2130
|
};
|
|
1954
2131
|
|
|
1955
2132
|
export type GoodInput = {
|
|
1956
2133
|
_id: Scalars['String'];
|
|
2134
|
+
alternativePinCodes?: InputMaybe<Array<Scalars['String']>>;
|
|
1957
2135
|
goodProfileId?: InputMaybe<Scalars['ObjectId']>;
|
|
1958
2136
|
label: Scalars['String'];
|
|
2137
|
+
/** The quantity that was loaded by the driver */
|
|
2138
|
+
loadedQuantity?: InputMaybe<Scalars['Float']>;
|
|
1959
2139
|
pallet?: InputMaybe<Scalars['Float']>;
|
|
1960
2140
|
pieces?: InputMaybe<Scalars['Float']>;
|
|
1961
2141
|
pinCode?: InputMaybe<Scalars['String']>;
|
|
@@ -1988,6 +2168,10 @@ export type GoodProfile = {
|
|
|
1988
2168
|
customFields?: Maybe<Array<CustomField>>;
|
|
1989
2169
|
documents?: Maybe<Array<Document>>;
|
|
1990
2170
|
equivalences?: Maybe<Array<GoodProfileEquivalence>>;
|
|
2171
|
+
/** ID of the commodity profile in an external system. */
|
|
2172
|
+
externalId?: Maybe<Scalars['String']>;
|
|
2173
|
+
goodProfileClass?: Maybe<GoodProfileClass>;
|
|
2174
|
+
goodProfileClassId?: Maybe<Scalars['ObjectId']>;
|
|
1991
2175
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
1992
2176
|
label: Scalars['String'];
|
|
1993
2177
|
liquidGravity?: Maybe<Scalars['Float']>;
|
|
@@ -1999,6 +2183,24 @@ export type GoodProfile = {
|
|
|
1999
2183
|
weight: Scalars['Float'];
|
|
2000
2184
|
};
|
|
2001
2185
|
|
|
2186
|
+
export type GoodProfileClass = {
|
|
2187
|
+
__typename?: 'GoodProfileClass';
|
|
2188
|
+
_id: Scalars['ObjectId'];
|
|
2189
|
+
description?: Maybe<Scalars['String']>;
|
|
2190
|
+
label: Scalars['String'];
|
|
2191
|
+
};
|
|
2192
|
+
|
|
2193
|
+
export type GoodProfileClassPaginatedResult = {
|
|
2194
|
+
__typename?: 'GoodProfileClassPaginatedResult';
|
|
2195
|
+
count: Scalars['Int'];
|
|
2196
|
+
data: Array<GoodProfileClass>;
|
|
2197
|
+
};
|
|
2198
|
+
|
|
2199
|
+
export type GoodProfileClassUpdateInput = {
|
|
2200
|
+
description?: InputMaybe<Scalars['String']>;
|
|
2201
|
+
label?: InputMaybe<Scalars['String']>;
|
|
2202
|
+
};
|
|
2203
|
+
|
|
2002
2204
|
export type GoodProfileEquivalence = {
|
|
2003
2205
|
__typename?: 'GoodProfileEquivalence';
|
|
2004
2206
|
conditions: Array<GoodProfileEquivalenceCondition>;
|
|
@@ -2066,6 +2268,9 @@ export type GoodProfileUpdateInput = {
|
|
|
2066
2268
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
2067
2269
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
2068
2270
|
equivalences?: InputMaybe<Array<GoodProfileEquivalenceInput>>;
|
|
2271
|
+
/** ID of the commodity profile in an external system. */
|
|
2272
|
+
externalId?: InputMaybe<Scalars['String']>;
|
|
2273
|
+
goodProfileClassId?: InputMaybe<Scalars['ObjectId']>;
|
|
2069
2274
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
2070
2275
|
label?: InputMaybe<Scalars['String']>;
|
|
2071
2276
|
liquidGravity?: InputMaybe<Scalars['Float']>;
|
|
@@ -2127,7 +2332,10 @@ export type Invoice = {
|
|
|
2127
2332
|
charges: Array<ShipmentCharge>;
|
|
2128
2333
|
closingNote?: Maybe<Scalars['String']>;
|
|
2129
2334
|
customer?: Maybe<BusinessEntity>;
|
|
2335
|
+
/** IDs of the groups the invoice is associated with */
|
|
2336
|
+
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
2130
2337
|
invoiceNumber: Scalars['String'];
|
|
2338
|
+
missingRequiredDocuments?: Maybe<Array<DocumentRequirement>>;
|
|
2131
2339
|
paidAmount?: Maybe<Scalars['Float']>;
|
|
2132
2340
|
payments?: Maybe<Array<InvoicePayment>>;
|
|
2133
2341
|
pdfDocument: InvoicePdf;
|
|
@@ -2138,6 +2346,33 @@ export type Invoice = {
|
|
|
2138
2346
|
taxRate?: Maybe<Scalars['Float']>;
|
|
2139
2347
|
};
|
|
2140
2348
|
|
|
2349
|
+
export type InvoiceBatchResult = {
|
|
2350
|
+
__typename?: 'InvoiceBatchResult';
|
|
2351
|
+
invoicesUpdated: Array<Invoice>;
|
|
2352
|
+
textError: Scalars['String'];
|
|
2353
|
+
textWarning: Scalars['String'];
|
|
2354
|
+
};
|
|
2355
|
+
|
|
2356
|
+
export type InvoiceBulkUpdateInput = {
|
|
2357
|
+
charges?: InputMaybe<Array<ShipmentChargeInput>>;
|
|
2358
|
+
closingNote?: InputMaybe<Scalars['String']>;
|
|
2359
|
+
/** IDs of the groups the invoice is associated with */
|
|
2360
|
+
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
2361
|
+
missingRequiredDocuments?: InputMaybe<Array<DocumentRequirementInput>>;
|
|
2362
|
+
paidAmount?: InputMaybe<Scalars['Float']>;
|
|
2363
|
+
payments?: InputMaybe<Array<InvoicePaymentInput>>;
|
|
2364
|
+
status?: InputMaybe<InvoiceStatus>;
|
|
2365
|
+
taxRate?: InputMaybe<Scalars['Float']>;
|
|
2366
|
+
};
|
|
2367
|
+
|
|
2368
|
+
/** Criteria for invoice consolidation */
|
|
2369
|
+
export enum InvoiceConsolidationCriteria {
|
|
2370
|
+
BolNumber = 'BOL_NUMBER',
|
|
2371
|
+
Day = 'DAY',
|
|
2372
|
+
PoNumber = 'PO_NUMBER',
|
|
2373
|
+
Week = 'WEEK'
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2141
2376
|
export type InvoiceCreatedEvent = {
|
|
2142
2377
|
__typename?: 'InvoiceCreatedEvent';
|
|
2143
2378
|
name: Events;
|
|
@@ -2209,12 +2444,22 @@ export enum InvoiceStatus {
|
|
|
2209
2444
|
export type InvoiceUpdateInput = {
|
|
2210
2445
|
charges: Array<ShipmentChargeInput>;
|
|
2211
2446
|
closingNote?: InputMaybe<Scalars['String']>;
|
|
2447
|
+
/** IDs of the groups the invoice is associated with */
|
|
2448
|
+
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
2449
|
+
missingRequiredDocuments?: InputMaybe<Array<DocumentRequirementInput>>;
|
|
2212
2450
|
paidAmount?: InputMaybe<Scalars['Float']>;
|
|
2213
2451
|
payments?: InputMaybe<Array<InvoicePaymentInput>>;
|
|
2214
2452
|
status?: InputMaybe<InvoiceStatus>;
|
|
2215
2453
|
taxRate?: InputMaybe<Scalars['Float']>;
|
|
2216
2454
|
};
|
|
2217
2455
|
|
|
2456
|
+
export type InvoiceUpdatedEventPayload = {
|
|
2457
|
+
__typename?: 'InvoiceUpdatedEventPayload';
|
|
2458
|
+
changes?: Maybe<Invoice>;
|
|
2459
|
+
invoice: Invoice;
|
|
2460
|
+
previousInvoice: Invoice;
|
|
2461
|
+
};
|
|
2462
|
+
|
|
2218
2463
|
export enum InvoicingProcess {
|
|
2219
2464
|
LoadBased = 'LOAD_BASED',
|
|
2220
2465
|
QueueBased = 'QUEUE_BASED'
|
|
@@ -2228,28 +2473,36 @@ export type InvoicingSettings = {
|
|
|
2228
2473
|
companyEmail?: Maybe<Scalars['String']>;
|
|
2229
2474
|
/** @deprecated Use Organization.phoneNumber instead */
|
|
2230
2475
|
companyPhone?: Maybe<Scalars['String']>;
|
|
2476
|
+
enableConsolidatedInvoicing?: Maybe<Scalars['Boolean']>;
|
|
2231
2477
|
enableTaxRate?: Maybe<Scalars['Boolean']>;
|
|
2232
2478
|
logoUrl?: Maybe<Scalars['String']>;
|
|
2233
2479
|
prefix?: Maybe<Scalars['String']>;
|
|
2234
2480
|
primaryColor?: Maybe<Scalars['String']>;
|
|
2235
2481
|
processes?: Maybe<Array<InvoicingProcess>>;
|
|
2482
|
+
receiverDocumentationBodyTemplate?: Maybe<Scalars['String']>;
|
|
2483
|
+
receiverDocumentationSubjectTemplate?: Maybe<Scalars['String']>;
|
|
2236
2484
|
remitAddress?: Maybe<TextualAddress>;
|
|
2237
2485
|
remitCompanyName?: Maybe<Scalars['String']>;
|
|
2238
2486
|
remitEmail?: Maybe<Scalars['String']>;
|
|
2487
|
+
showLoadedDeliveredQuantities?: Maybe<Scalars['Boolean']>;
|
|
2239
2488
|
};
|
|
2240
2489
|
|
|
2241
2490
|
export type InvoicingSettingsInput = {
|
|
2242
2491
|
companyAddress?: InputMaybe<Scalars['String']>;
|
|
2243
2492
|
companyEmail?: InputMaybe<Scalars['String']>;
|
|
2244
2493
|
companyPhone?: InputMaybe<Scalars['String']>;
|
|
2494
|
+
enableConsolidatedInvoicing?: InputMaybe<Scalars['Boolean']>;
|
|
2245
2495
|
enableTaxRate?: InputMaybe<Scalars['Boolean']>;
|
|
2246
2496
|
logoUrl?: InputMaybe<Scalars['String']>;
|
|
2247
2497
|
prefix?: InputMaybe<Scalars['String']>;
|
|
2248
2498
|
primaryColor?: InputMaybe<Scalars['String']>;
|
|
2249
2499
|
processes?: InputMaybe<Array<InvoicingProcess>>;
|
|
2500
|
+
receiverDocumentationBodyTemplate?: InputMaybe<Scalars['String']>;
|
|
2501
|
+
receiverDocumentationSubjectTemplate?: InputMaybe<Scalars['String']>;
|
|
2250
2502
|
remitAddress?: InputMaybe<TextualAddressInput>;
|
|
2251
2503
|
remitCompanyName?: InputMaybe<Scalars['String']>;
|
|
2252
2504
|
remitEmail?: InputMaybe<Scalars['String']>;
|
|
2505
|
+
showLoadedDeliveredQuantities?: InputMaybe<Scalars['Boolean']>;
|
|
2253
2506
|
};
|
|
2254
2507
|
|
|
2255
2508
|
export type KeycloakOrganizationAttributes = {
|
|
@@ -2488,6 +2741,7 @@ export type Mutation = {
|
|
|
2488
2741
|
addBillingRule: BillingRule;
|
|
2489
2742
|
addBroker: Broker;
|
|
2490
2743
|
addBusinessEntity: BusinessEntity;
|
|
2744
|
+
addCharge: Shipment;
|
|
2491
2745
|
addChassis: Chassis;
|
|
2492
2746
|
addCustomFieldDefinition: CustomFieldDefinition;
|
|
2493
2747
|
addCustomer: Customer;
|
|
@@ -2497,14 +2751,18 @@ export type Mutation = {
|
|
|
2497
2751
|
addDriverShift: DriverShift;
|
|
2498
2752
|
addDriverShiftAssignment: DriverShiftAssignment;
|
|
2499
2753
|
addGoodProfile: GoodProfile;
|
|
2754
|
+
addGoodProfileClass: GoodProfileClass;
|
|
2500
2755
|
addGroup: Group;
|
|
2501
2756
|
addMaintenanceTask: MaintenanceTask;
|
|
2502
2757
|
addNotesShipment: Shipment;
|
|
2503
2758
|
addOrder: Order;
|
|
2504
2759
|
addOrgDoc: OrganizationDocument;
|
|
2760
|
+
addOrgMaintenanceTask: OrgMaintenanceTask;
|
|
2505
2761
|
addOrgUser: OrgUser;
|
|
2506
2762
|
addPaymentRule: PaymentRule;
|
|
2507
2763
|
addQualification: Qualification;
|
|
2764
|
+
addRateTable: RateTable;
|
|
2765
|
+
addReasonCode: ReasonCode;
|
|
2508
2766
|
addReceiver: Receiver;
|
|
2509
2767
|
addReceiverForecast: ReceiverForecast;
|
|
2510
2768
|
addRelationship: Relationship;
|
|
@@ -2525,8 +2783,10 @@ export type Mutation = {
|
|
|
2525
2783
|
assignTripAsset: Trip;
|
|
2526
2784
|
assignTripAssets?: Maybe<Trip>;
|
|
2527
2785
|
assignTripTrailerCompartments: Trip;
|
|
2786
|
+
batchProcessInvoices?: Maybe<InvoiceBatchResult>;
|
|
2528
2787
|
bulkAddBusinessEntities: Array<BusinessEntity>;
|
|
2529
2788
|
bulkAddDrivers: Array<Driver>;
|
|
2789
|
+
bulkAddGoodProfileClasses: Array<GoodProfileClass>;
|
|
2530
2790
|
bulkAddGoodProfiles: Array<GoodProfile>;
|
|
2531
2791
|
bulkAddGroups: Array<Group>;
|
|
2532
2792
|
bulkAddOrders: Array<Order>;
|
|
@@ -2541,21 +2801,25 @@ export type Mutation = {
|
|
|
2541
2801
|
bulkEditBusinessEntities: BulkUpdateResult;
|
|
2542
2802
|
bulkEditDrivers: BulkUpdateResult;
|
|
2543
2803
|
bulkEditGoodProfiles: BulkUpdateResult;
|
|
2804
|
+
bulkEditInvoices?: Maybe<Array<Invoice>>;
|
|
2544
2805
|
bulkEditShipments: BulkUpdateResult;
|
|
2545
2806
|
bulkEditTractors: BulkUpdateResult;
|
|
2546
2807
|
bulkEditTrailers: BulkUpdateResult;
|
|
2547
2808
|
bulkUpdateContractForShipments: Array<Shipment>;
|
|
2809
|
+
callBulkExtensionOperation: BulkExtensionOperationResponse;
|
|
2548
2810
|
callExtensionOperation: ExtensionOperationResponse;
|
|
2549
2811
|
cancelShipmentSplit?: Maybe<Shipment>;
|
|
2550
2812
|
changeTripStartTime?: Maybe<Trip>;
|
|
2551
2813
|
checkShipmentsCombinability: Scalars['Boolean'];
|
|
2552
2814
|
completeMaintenanceTask: MaintenanceTask;
|
|
2815
|
+
completeOrgMaintenanceTask: OrgMaintenanceTask;
|
|
2553
2816
|
computeLineHaulForTrip?: Maybe<Trip>;
|
|
2554
2817
|
consolidateInvoices?: Maybe<Invoice>;
|
|
2555
2818
|
deleteAssetLinking: Scalars['Boolean'];
|
|
2556
2819
|
deleteBillingRule: Scalars['Boolean'];
|
|
2557
2820
|
deleteBroker: Scalars['Boolean'];
|
|
2558
2821
|
deleteBusinessEntity: Scalars['Boolean'];
|
|
2822
|
+
deleteCharge: Shipment;
|
|
2559
2823
|
deleteCustomFieldDefinition: Scalars['Boolean'];
|
|
2560
2824
|
deleteCustomer: Scalars['Boolean'];
|
|
2561
2825
|
deleteCustomerOrder: Scalars['Boolean'];
|
|
@@ -2566,14 +2830,18 @@ export type Mutation = {
|
|
|
2566
2830
|
deleteDriverShift: Scalars['Boolean'];
|
|
2567
2831
|
deleteDriverShiftAssignment: Scalars['Boolean'];
|
|
2568
2832
|
deleteGoodProfile: Scalars['Boolean'];
|
|
2833
|
+
deleteGoodProfileClass?: Maybe<Scalars['Boolean']>;
|
|
2569
2834
|
deleteGroup: Scalars['Boolean'];
|
|
2570
2835
|
deleteInvoice: Scalars['Boolean'];
|
|
2571
2836
|
deleteMaintenanceTask: Scalars['Boolean'];
|
|
2572
2837
|
deleteOrder: Scalars['Boolean'];
|
|
2573
2838
|
deleteOrgDoc: Scalars['Boolean'];
|
|
2839
|
+
deleteOrgMaintenanceTask: Scalars['Boolean'];
|
|
2574
2840
|
deleteOrgUser: Scalars['Boolean'];
|
|
2575
2841
|
deletePaymentRule: Scalars['Boolean'];
|
|
2576
2842
|
deleteQualification: Scalars['Boolean'];
|
|
2843
|
+
deleteRateTable: Scalars['Boolean'];
|
|
2844
|
+
deleteReasonCode: Scalars['Boolean'];
|
|
2577
2845
|
deleteReceiver: Scalars['Boolean'];
|
|
2578
2846
|
deleteReceiverForecast: Scalars['Boolean'];
|
|
2579
2847
|
deleteRelationship: Scalars['Boolean'];
|
|
@@ -2594,6 +2862,7 @@ export type Mutation = {
|
|
|
2594
2862
|
editBillingRule: BillingRule;
|
|
2595
2863
|
editBroker: Broker;
|
|
2596
2864
|
editBusinessEntity: BusinessEntity;
|
|
2865
|
+
editCharge: Shipment;
|
|
2597
2866
|
editCustomFieldDefinition: CustomFieldDefinition;
|
|
2598
2867
|
editCustomer: Customer;
|
|
2599
2868
|
editCustomerOrder: Order;
|
|
@@ -2606,6 +2875,7 @@ export type Mutation = {
|
|
|
2606
2875
|
/** Edit good pin code */
|
|
2607
2876
|
editGoodPinCode?: Maybe<Shipment>;
|
|
2608
2877
|
editGoodProfile: GoodProfile;
|
|
2878
|
+
editGoodProfileClass?: Maybe<GoodProfileClass>;
|
|
2609
2879
|
/** Edit good weight */
|
|
2610
2880
|
editGoodWeight?: Maybe<Shipment>;
|
|
2611
2881
|
editGroup: Group;
|
|
@@ -2614,10 +2884,13 @@ export type Mutation = {
|
|
|
2614
2884
|
editNoteShipment: Shipment;
|
|
2615
2885
|
editOrder: Order;
|
|
2616
2886
|
editOrgDoc: Scalars['String'];
|
|
2887
|
+
editOrgMaintenanceTask: OrgMaintenanceTask;
|
|
2617
2888
|
editOrgUser: OrgUser;
|
|
2618
2889
|
editOrganization: Scalars['String'];
|
|
2619
2890
|
editPaymentRule?: Maybe<PaymentRule>;
|
|
2620
2891
|
editQualification: Qualification;
|
|
2892
|
+
editRateTable: RateTable;
|
|
2893
|
+
editReasonCode: ReasonCode;
|
|
2621
2894
|
editReceiver: Receiver;
|
|
2622
2895
|
editReceiverForecast: ReceiverForecast;
|
|
2623
2896
|
editRelationship: Relationship;
|
|
@@ -2637,6 +2910,7 @@ export type Mutation = {
|
|
|
2637
2910
|
generateDriverSettlement: DriverSettlement;
|
|
2638
2911
|
generateDriverSettlementForTrips: DriverSettlement;
|
|
2639
2912
|
generateInvoice: Invoice;
|
|
2913
|
+
generateReportCsv: ReportCsv;
|
|
2640
2914
|
generateReportPdf: ReportPdf;
|
|
2641
2915
|
generateShipmentRoute: ShipmentRoute;
|
|
2642
2916
|
generateTrip: Trip;
|
|
@@ -2654,6 +2928,7 @@ export type Mutation = {
|
|
|
2654
2928
|
rankSupplierContractsForPurchases: Array<SupplierContractRanking>;
|
|
2655
2929
|
removeShipmentFromTrip: RemoveShipmentFromTripResult;
|
|
2656
2930
|
reportShipmentIssue: Shipment;
|
|
2931
|
+
resendDocumentsToReceivers: Scalars['String'];
|
|
2657
2932
|
restoreLatestSnapshot: Scalars['Boolean'];
|
|
2658
2933
|
restoreShipment: Shipment;
|
|
2659
2934
|
saveDataSnapshot: Snapshot;
|
|
@@ -2668,6 +2943,8 @@ export type Mutation = {
|
|
|
2668
2943
|
uninstallExtension: Scalars['Boolean'];
|
|
2669
2944
|
updateAccountStatus: Scalars['Boolean'];
|
|
2670
2945
|
updateDriverSettlementStatus?: Maybe<DriverSettlement>;
|
|
2946
|
+
updateGoodDeliveredQuantity: Shipment;
|
|
2947
|
+
updateGoodLoadedQuantity: Shipment;
|
|
2671
2948
|
updateInvoiceStatus?: Maybe<Invoice>;
|
|
2672
2949
|
updateInvoiceTaxRate?: Maybe<Invoice>;
|
|
2673
2950
|
updateMyAccount: OrgUser;
|
|
@@ -2699,6 +2976,12 @@ export type MutationAddBusinessEntityArgs = {
|
|
|
2699
2976
|
};
|
|
2700
2977
|
|
|
2701
2978
|
|
|
2979
|
+
export type MutationAddChargeArgs = {
|
|
2980
|
+
chargeData: ShipmentChargeInput;
|
|
2981
|
+
shipmentId: Scalars['String'];
|
|
2982
|
+
};
|
|
2983
|
+
|
|
2984
|
+
|
|
2702
2985
|
export type MutationAddChassisArgs = {
|
|
2703
2986
|
newChassisData: NewTractorInput;
|
|
2704
2987
|
};
|
|
@@ -2744,6 +3027,11 @@ export type MutationAddGoodProfileArgs = {
|
|
|
2744
3027
|
};
|
|
2745
3028
|
|
|
2746
3029
|
|
|
3030
|
+
export type MutationAddGoodProfileClassArgs = {
|
|
3031
|
+
newGoodProfileClassData: NewGoodProfileClassInput;
|
|
3032
|
+
};
|
|
3033
|
+
|
|
3034
|
+
|
|
2747
3035
|
export type MutationAddGroupArgs = {
|
|
2748
3036
|
newGroupData: NewGroupInput;
|
|
2749
3037
|
};
|
|
@@ -2769,6 +3057,11 @@ export type MutationAddOrgDocArgs = {
|
|
|
2769
3057
|
};
|
|
2770
3058
|
|
|
2771
3059
|
|
|
3060
|
+
export type MutationAddOrgMaintenanceTaskArgs = {
|
|
3061
|
+
newOrgMaintenanceTaskData: OrgMaintenanceTaskInput;
|
|
3062
|
+
};
|
|
3063
|
+
|
|
3064
|
+
|
|
2772
3065
|
export type MutationAddOrgUserArgs = {
|
|
2773
3066
|
newOrgUserData: NewOrgUserInput;
|
|
2774
3067
|
};
|
|
@@ -2784,6 +3077,16 @@ export type MutationAddQualificationArgs = {
|
|
|
2784
3077
|
};
|
|
2785
3078
|
|
|
2786
3079
|
|
|
3080
|
+
export type MutationAddRateTableArgs = {
|
|
3081
|
+
newRateTableData: NewRateTableInput;
|
|
3082
|
+
};
|
|
3083
|
+
|
|
3084
|
+
|
|
3085
|
+
export type MutationAddReasonCodeArgs = {
|
|
3086
|
+
newReasonCodeData: NewReasonCodeInput;
|
|
3087
|
+
};
|
|
3088
|
+
|
|
3089
|
+
|
|
2787
3090
|
export type MutationAddReceiverArgs = {
|
|
2788
3091
|
newReceiverData: NewBusinessEntityInput;
|
|
2789
3092
|
};
|
|
@@ -2885,6 +3188,12 @@ export type MutationAssignTripTrailerCompartmentsArgs = {
|
|
|
2885
3188
|
};
|
|
2886
3189
|
|
|
2887
3190
|
|
|
3191
|
+
export type MutationBatchProcessInvoicesArgs = {
|
|
3192
|
+
invoiceIds: Array<Scalars['ObjectId']>;
|
|
3193
|
+
status: InvoiceStatus;
|
|
3194
|
+
};
|
|
3195
|
+
|
|
3196
|
+
|
|
2888
3197
|
export type MutationBulkAddBusinessEntitiesArgs = {
|
|
2889
3198
|
newBusinessEntityData: Array<NewBusinessEntityInputWithType>;
|
|
2890
3199
|
};
|
|
@@ -2895,6 +3204,11 @@ export type MutationBulkAddDriversArgs = {
|
|
|
2895
3204
|
};
|
|
2896
3205
|
|
|
2897
3206
|
|
|
3207
|
+
export type MutationBulkAddGoodProfileClassesArgs = {
|
|
3208
|
+
newGoodProfileClassesData: Array<NewGoodProfileClassInput>;
|
|
3209
|
+
};
|
|
3210
|
+
|
|
3211
|
+
|
|
2898
3212
|
export type MutationBulkAddGoodProfilesArgs = {
|
|
2899
3213
|
newGoodProfilesData: Array<NewGoodProfileInput>;
|
|
2900
3214
|
};
|
|
@@ -2969,6 +3283,12 @@ export type MutationBulkEditGoodProfilesArgs = {
|
|
|
2969
3283
|
};
|
|
2970
3284
|
|
|
2971
3285
|
|
|
3286
|
+
export type MutationBulkEditInvoicesArgs = {
|
|
3287
|
+
bulkEditInvoiceData: InvoiceBulkUpdateInput;
|
|
3288
|
+
ids: Array<Scalars['ObjectId']>;
|
|
3289
|
+
};
|
|
3290
|
+
|
|
3291
|
+
|
|
2972
3292
|
export type MutationBulkEditShipmentsArgs = {
|
|
2973
3293
|
editshipmentsData: ShipmentUpdateInput;
|
|
2974
3294
|
ids: Array<Scalars['ObjectId']>;
|
|
@@ -2993,6 +3313,13 @@ export type MutationBulkUpdateContractForShipmentsArgs = {
|
|
|
2993
3313
|
};
|
|
2994
3314
|
|
|
2995
3315
|
|
|
3316
|
+
export type MutationCallBulkExtensionOperationArgs = {
|
|
3317
|
+
extensionId: Scalars['String'];
|
|
3318
|
+
operationKey: Scalars['String'];
|
|
3319
|
+
recordIds: Array<Scalars['String']>;
|
|
3320
|
+
};
|
|
3321
|
+
|
|
3322
|
+
|
|
2996
3323
|
export type MutationCallExtensionOperationArgs = {
|
|
2997
3324
|
extensionId: Scalars['String'];
|
|
2998
3325
|
operationKey: Scalars['String'];
|
|
@@ -3020,6 +3347,11 @@ export type MutationCompleteMaintenanceTaskArgs = {
|
|
|
3020
3347
|
};
|
|
3021
3348
|
|
|
3022
3349
|
|
|
3350
|
+
export type MutationCompleteOrgMaintenanceTaskArgs = {
|
|
3351
|
+
id: Scalars['ObjectId'];
|
|
3352
|
+
};
|
|
3353
|
+
|
|
3354
|
+
|
|
3023
3355
|
export type MutationComputeLineHaulForTripArgs = {
|
|
3024
3356
|
tripId: Scalars['String'];
|
|
3025
3357
|
};
|
|
@@ -3050,6 +3382,12 @@ export type MutationDeleteBusinessEntityArgs = {
|
|
|
3050
3382
|
};
|
|
3051
3383
|
|
|
3052
3384
|
|
|
3385
|
+
export type MutationDeleteChargeArgs = {
|
|
3386
|
+
chargeId: Scalars['String'];
|
|
3387
|
+
shipmentId: Scalars['String'];
|
|
3388
|
+
};
|
|
3389
|
+
|
|
3390
|
+
|
|
3053
3391
|
export type MutationDeleteCustomFieldDefinitionArgs = {
|
|
3054
3392
|
id: Scalars['String'];
|
|
3055
3393
|
};
|
|
@@ -3100,6 +3438,11 @@ export type MutationDeleteGoodProfileArgs = {
|
|
|
3100
3438
|
};
|
|
3101
3439
|
|
|
3102
3440
|
|
|
3441
|
+
export type MutationDeleteGoodProfileClassArgs = {
|
|
3442
|
+
id: Scalars['ObjectId'];
|
|
3443
|
+
};
|
|
3444
|
+
|
|
3445
|
+
|
|
3103
3446
|
export type MutationDeleteGroupArgs = {
|
|
3104
3447
|
id: Scalars['String'];
|
|
3105
3448
|
};
|
|
@@ -3125,6 +3468,11 @@ export type MutationDeleteOrgDocArgs = {
|
|
|
3125
3468
|
};
|
|
3126
3469
|
|
|
3127
3470
|
|
|
3471
|
+
export type MutationDeleteOrgMaintenanceTaskArgs = {
|
|
3472
|
+
id: Scalars['String'];
|
|
3473
|
+
};
|
|
3474
|
+
|
|
3475
|
+
|
|
3128
3476
|
export type MutationDeleteOrgUserArgs = {
|
|
3129
3477
|
id: Scalars['String'];
|
|
3130
3478
|
};
|
|
@@ -3140,6 +3488,16 @@ export type MutationDeleteQualificationArgs = {
|
|
|
3140
3488
|
};
|
|
3141
3489
|
|
|
3142
3490
|
|
|
3491
|
+
export type MutationDeleteRateTableArgs = {
|
|
3492
|
+
id: Scalars['String'];
|
|
3493
|
+
};
|
|
3494
|
+
|
|
3495
|
+
|
|
3496
|
+
export type MutationDeleteReasonCodeArgs = {
|
|
3497
|
+
id: Scalars['ObjectId'];
|
|
3498
|
+
};
|
|
3499
|
+
|
|
3500
|
+
|
|
3143
3501
|
export type MutationDeleteReceiverArgs = {
|
|
3144
3502
|
id: Scalars['String'];
|
|
3145
3503
|
};
|
|
@@ -3247,6 +3605,12 @@ export type MutationEditBusinessEntityArgs = {
|
|
|
3247
3605
|
};
|
|
3248
3606
|
|
|
3249
3607
|
|
|
3608
|
+
export type MutationEditChargeArgs = {
|
|
3609
|
+
editChargeData: ShipmentChargeInput;
|
|
3610
|
+
shipmentId: Scalars['String'];
|
|
3611
|
+
};
|
|
3612
|
+
|
|
3613
|
+
|
|
3250
3614
|
export type MutationEditCustomFieldDefinitionArgs = {
|
|
3251
3615
|
editCustomFieldDefinitionData: CustomFieldDefinitionUpdateInput;
|
|
3252
3616
|
id: Scalars['String'];
|
|
@@ -3313,6 +3677,12 @@ export type MutationEditGoodProfileArgs = {
|
|
|
3313
3677
|
};
|
|
3314
3678
|
|
|
3315
3679
|
|
|
3680
|
+
export type MutationEditGoodProfileClassArgs = {
|
|
3681
|
+
editGoodProfileClassData: GoodProfileClassUpdateInput;
|
|
3682
|
+
id: Scalars['ObjectId'];
|
|
3683
|
+
};
|
|
3684
|
+
|
|
3685
|
+
|
|
3316
3686
|
export type MutationEditGoodWeightArgs = {
|
|
3317
3687
|
goodId: Scalars['String'];
|
|
3318
3688
|
id: Scalars['ObjectId'];
|
|
@@ -3355,6 +3725,12 @@ export type MutationEditOrgDocArgs = {
|
|
|
3355
3725
|
};
|
|
3356
3726
|
|
|
3357
3727
|
|
|
3728
|
+
export type MutationEditOrgMaintenanceTaskArgs = {
|
|
3729
|
+
editOrgMaintenanceTaskData: OrgMaintenanceTaskUpdateInput;
|
|
3730
|
+
id: Scalars['String'];
|
|
3731
|
+
};
|
|
3732
|
+
|
|
3733
|
+
|
|
3358
3734
|
export type MutationEditOrgUserArgs = {
|
|
3359
3735
|
editOrgUserData: OrgUserUpdateInput;
|
|
3360
3736
|
id: Scalars['String'];
|
|
@@ -3378,6 +3754,18 @@ export type MutationEditQualificationArgs = {
|
|
|
3378
3754
|
};
|
|
3379
3755
|
|
|
3380
3756
|
|
|
3757
|
+
export type MutationEditRateTableArgs = {
|
|
3758
|
+
editRateTableData: RateTableUpdateInput;
|
|
3759
|
+
id: Scalars['String'];
|
|
3760
|
+
};
|
|
3761
|
+
|
|
3762
|
+
|
|
3763
|
+
export type MutationEditReasonCodeArgs = {
|
|
3764
|
+
editReasonCodeData: ReasonCodeUpdateInput;
|
|
3765
|
+
id: Scalars['ObjectId'];
|
|
3766
|
+
};
|
|
3767
|
+
|
|
3768
|
+
|
|
3381
3769
|
export type MutationEditReceiverArgs = {
|
|
3382
3770
|
editReceiverData: BusinessEntityUpdateInput;
|
|
3383
3771
|
id: Scalars['String'];
|
|
@@ -3491,6 +3879,15 @@ export type MutationGenerateInvoiceArgs = {
|
|
|
3491
3879
|
};
|
|
3492
3880
|
|
|
3493
3881
|
|
|
3882
|
+
export type MutationGenerateReportCsvArgs = {
|
|
3883
|
+
filter?: InputMaybe<Scalars['ReportFilter']>;
|
|
3884
|
+
lang: Scalars['String'];
|
|
3885
|
+
period: PeriodInput;
|
|
3886
|
+
reportType: ReportType;
|
|
3887
|
+
timezone: Scalars['String'];
|
|
3888
|
+
};
|
|
3889
|
+
|
|
3890
|
+
|
|
3494
3891
|
export type MutationGenerateReportPdfArgs = {
|
|
3495
3892
|
filter?: InputMaybe<Scalars['ReportFilter']>;
|
|
3496
3893
|
lang: Scalars['String'];
|
|
@@ -3576,6 +3973,11 @@ export type MutationReportShipmentIssueArgs = {
|
|
|
3576
3973
|
};
|
|
3577
3974
|
|
|
3578
3975
|
|
|
3976
|
+
export type MutationResendDocumentsToReceiversArgs = {
|
|
3977
|
+
shipmentId: Scalars['ObjectId'];
|
|
3978
|
+
};
|
|
3979
|
+
|
|
3980
|
+
|
|
3579
3981
|
export type MutationRestoreShipmentArgs = {
|
|
3580
3982
|
id: Scalars['String'];
|
|
3581
3983
|
};
|
|
@@ -3644,6 +4046,16 @@ export type MutationUpdateDriverSettlementStatusArgs = {
|
|
|
3644
4046
|
};
|
|
3645
4047
|
|
|
3646
4048
|
|
|
4049
|
+
export type MutationUpdateGoodDeliveredQuantityArgs = {
|
|
4050
|
+
input: UpdateGoodDeliveredQuantityInput;
|
|
4051
|
+
};
|
|
4052
|
+
|
|
4053
|
+
|
|
4054
|
+
export type MutationUpdateGoodLoadedQuantityArgs = {
|
|
4055
|
+
input: UpdateGoodLoadedQuantityInput;
|
|
4056
|
+
};
|
|
4057
|
+
|
|
4058
|
+
|
|
3647
4059
|
export type MutationUpdateInvoiceStatusArgs = {
|
|
3648
4060
|
closingNote?: InputMaybe<Scalars['String']>;
|
|
3649
4061
|
invoiceId: Scalars['String'];
|
|
@@ -3729,13 +4141,18 @@ export type NewBusinessEntityInput = {
|
|
|
3729
4141
|
address: NewAddressInput;
|
|
3730
4142
|
billingAddress?: InputMaybe<NewTextualAddressInput>;
|
|
3731
4143
|
billingEmail?: InputMaybe<Scalars['String']>;
|
|
4144
|
+
/** Criteria for invoice consolidation */
|
|
4145
|
+
billingInvoiceConsolidationCriteria?: InputMaybe<InvoiceConsolidationCriteria>;
|
|
3732
4146
|
billingTermsDay?: InputMaybe<Scalars['Float']>;
|
|
4147
|
+
billingWeekStartsOn?: InputMaybe<Scalars['Float']>;
|
|
3733
4148
|
code?: InputMaybe<Scalars['String']>;
|
|
3734
4149
|
contact?: InputMaybe<NewContactInput>;
|
|
3735
4150
|
creditTerms?: InputMaybe<Scalars['String']>;
|
|
3736
4151
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
3737
4152
|
defaultReferenceNumbers?: InputMaybe<Array<DefaultReferenceNumberInput>>;
|
|
3738
4153
|
defaultShipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
4154
|
+
/** Document requirements for invoicing for this business entity */
|
|
4155
|
+
documentRequirements?: InputMaybe<Array<DocumentRequirementInput>>;
|
|
3739
4156
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
3740
4157
|
dotNumber?: InputMaybe<Scalars['String']>;
|
|
3741
4158
|
externalId?: InputMaybe<Scalars['String']>;
|
|
@@ -3744,6 +4161,7 @@ export type NewBusinessEntityInput = {
|
|
|
3744
4161
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3745
4162
|
mcNumber?: InputMaybe<Scalars['String']>;
|
|
3746
4163
|
name: Scalars['String'];
|
|
4164
|
+
notes?: InputMaybe<Array<BusinessEntityNoteInput>>;
|
|
3747
4165
|
openingSchedules?: InputMaybe<Array<OpeningScheduleInput>>;
|
|
3748
4166
|
parentBusinessEntityId?: InputMaybe<Scalars['ObjectId']>;
|
|
3749
4167
|
payToProfileId?: InputMaybe<Scalars['ObjectId']>;
|
|
@@ -3767,13 +4185,18 @@ export type NewBusinessEntityInputWithType = {
|
|
|
3767
4185
|
address: NewAddressInput;
|
|
3768
4186
|
billingAddress?: InputMaybe<NewTextualAddressInput>;
|
|
3769
4187
|
billingEmail?: InputMaybe<Scalars['String']>;
|
|
4188
|
+
/** Criteria for invoice consolidation */
|
|
4189
|
+
billingInvoiceConsolidationCriteria?: InputMaybe<InvoiceConsolidationCriteria>;
|
|
3770
4190
|
billingTermsDay?: InputMaybe<Scalars['Float']>;
|
|
4191
|
+
billingWeekStartsOn?: InputMaybe<Scalars['Float']>;
|
|
3771
4192
|
code?: InputMaybe<Scalars['String']>;
|
|
3772
4193
|
contact?: InputMaybe<NewContactInput>;
|
|
3773
4194
|
creditTerms?: InputMaybe<Scalars['String']>;
|
|
3774
4195
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
3775
4196
|
defaultReferenceNumbers?: InputMaybe<Array<DefaultReferenceNumberInput>>;
|
|
3776
4197
|
defaultShipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
4198
|
+
/** Document requirements for invoicing for this business entity */
|
|
4199
|
+
documentRequirements?: InputMaybe<Array<DocumentRequirementInput>>;
|
|
3777
4200
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
3778
4201
|
dotNumber?: InputMaybe<Scalars['String']>;
|
|
3779
4202
|
externalId?: InputMaybe<Scalars['String']>;
|
|
@@ -3782,6 +4205,7 @@ export type NewBusinessEntityInputWithType = {
|
|
|
3782
4205
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3783
4206
|
mcNumber?: InputMaybe<Scalars['String']>;
|
|
3784
4207
|
name: Scalars['String'];
|
|
4208
|
+
notes?: InputMaybe<Array<BusinessEntityNoteInput>>;
|
|
3785
4209
|
openingSchedules?: InputMaybe<Array<OpeningScheduleInput>>;
|
|
3786
4210
|
parentBusinessEntityId?: InputMaybe<Scalars['ObjectId']>;
|
|
3787
4211
|
payToProfileId?: InputMaybe<Scalars['ObjectId']>;
|
|
@@ -3804,6 +4228,7 @@ export type NewContactInput = {
|
|
|
3804
4228
|
extensionNumber?: InputMaybe<Scalars['String']>;
|
|
3805
4229
|
faxNumber?: InputMaybe<Scalars['String']>;
|
|
3806
4230
|
firstname?: InputMaybe<Scalars['String']>;
|
|
4231
|
+
includeInDocumentSending?: InputMaybe<Scalars['Boolean']>;
|
|
3807
4232
|
includeInInvoicing?: InputMaybe<Scalars['Boolean']>;
|
|
3808
4233
|
lastname?: InputMaybe<Scalars['String']>;
|
|
3809
4234
|
middlename?: InputMaybe<Scalars['String']>;
|
|
@@ -3844,6 +4269,7 @@ export type NewDriverInput = {
|
|
|
3844
4269
|
domicileId?: InputMaybe<Scalars['ObjectId']>;
|
|
3845
4270
|
eldId?: InputMaybe<Scalars['String']>;
|
|
3846
4271
|
email?: InputMaybe<Scalars['String']>;
|
|
4272
|
+
externalId?: InputMaybe<Scalars['String']>;
|
|
3847
4273
|
firstname: Scalars['String'];
|
|
3848
4274
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3849
4275
|
hos?: InputMaybe<DriverHosInput>;
|
|
@@ -3878,12 +4304,20 @@ export type NewDriverShiftInput = {
|
|
|
3878
4304
|
startTime: TimeInput;
|
|
3879
4305
|
};
|
|
3880
4306
|
|
|
4307
|
+
export type NewGoodProfileClassInput = {
|
|
4308
|
+
description?: InputMaybe<Scalars['String']>;
|
|
4309
|
+
label: Scalars['String'];
|
|
4310
|
+
};
|
|
4311
|
+
|
|
3881
4312
|
export type NewGoodProfileInput = {
|
|
3882
4313
|
code?: InputMaybe<Scalars['String']>;
|
|
3883
4314
|
color?: InputMaybe<Scalars['String']>;
|
|
3884
4315
|
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
3885
4316
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
3886
4317
|
equivalences?: InputMaybe<Array<GoodProfileEquivalenceInput>>;
|
|
4318
|
+
/** ID of the commodity profile in an external system. */
|
|
4319
|
+
externalId?: InputMaybe<Scalars['String']>;
|
|
4320
|
+
goodProfileClassId?: InputMaybe<Scalars['ObjectId']>;
|
|
3887
4321
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
3888
4322
|
label: Scalars['String'];
|
|
3889
4323
|
liquidGravity?: InputMaybe<Scalars['Float']>;
|
|
@@ -3943,6 +4377,7 @@ export type NewOrganizationInput = {
|
|
|
3943
4377
|
email?: InputMaybe<Scalars['Email']>;
|
|
3944
4378
|
name: Scalars['String'];
|
|
3945
4379
|
phoneNumber?: InputMaybe<Scalars['String']>;
|
|
4380
|
+
taxId?: InputMaybe<Scalars['String']>;
|
|
3946
4381
|
};
|
|
3947
4382
|
|
|
3948
4383
|
export type NewPaymentRuleInput = {
|
|
@@ -3963,6 +4398,30 @@ export type NewQualificationInput = {
|
|
|
3963
4398
|
startDate: Scalars['DateTime'];
|
|
3964
4399
|
};
|
|
3965
4400
|
|
|
4401
|
+
export type NewRateTableInput = {
|
|
4402
|
+
/** Matrix of rate cells. For 1D tables, use cells[i][0]. For 2D tables, use cells[i][j] where i=row, j=column */
|
|
4403
|
+
cells: Array<Array<RateTableCellInput>>;
|
|
4404
|
+
/** Only required for two-dimensional tables */
|
|
4405
|
+
columnAxis?: InputMaybe<RateTableAxisInput>;
|
|
4406
|
+
description?: InputMaybe<Scalars['String']>;
|
|
4407
|
+
entityId: Scalars['ObjectId'];
|
|
4408
|
+
entityType: RateTableEntityType;
|
|
4409
|
+
isActive?: InputMaybe<Scalars['Boolean']>;
|
|
4410
|
+
label: Scalars['String'];
|
|
4411
|
+
priority?: InputMaybe<Scalars['Float']>;
|
|
4412
|
+
rateType: RateTableType;
|
|
4413
|
+
referenceNumber?: InputMaybe<Scalars['String']>;
|
|
4414
|
+
rowAxis: RateTableAxisInput;
|
|
4415
|
+
};
|
|
4416
|
+
|
|
4417
|
+
export type NewReasonCodeInput = {
|
|
4418
|
+
description?: InputMaybe<Scalars['String']>;
|
|
4419
|
+
locationId?: InputMaybe<Scalars['String']>;
|
|
4420
|
+
shipmentId?: InputMaybe<Scalars['ObjectId']>;
|
|
4421
|
+
tripId?: InputMaybe<Scalars['ObjectId']>;
|
|
4422
|
+
type: ReasonCodeType;
|
|
4423
|
+
};
|
|
4424
|
+
|
|
3966
4425
|
export type NewReceiverForecastInput = {
|
|
3967
4426
|
models: Array<ForecastingModelInput>;
|
|
3968
4427
|
readingsFileConfiguration?: InputMaybe<ReadingsFileConfigurationInput>;
|
|
@@ -3998,6 +4457,7 @@ export type NewShipmentInput = {
|
|
|
3998
4457
|
orderId?: InputMaybe<Scalars['ObjectId']>;
|
|
3999
4458
|
postOfficeNumber?: InputMaybe<Scalars['String']>;
|
|
4000
4459
|
purchaseOrderNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
4460
|
+
rateConNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
4001
4461
|
recurrence?: InputMaybe<ShipmentRecurrenceInput>;
|
|
4002
4462
|
referenceNumber?: InputMaybe<Scalars['String']>;
|
|
4003
4463
|
referenceNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
@@ -4017,13 +4477,13 @@ export type NewStorageFacilityReadingInput = {
|
|
|
4017
4477
|
|
|
4018
4478
|
export type NewSupplierContractInput = {
|
|
4019
4479
|
/** The maximum quantities of product allowed by the contract */
|
|
4020
|
-
allocation
|
|
4480
|
+
allocation?: InputMaybe<SupplierContractAllocationInput>;
|
|
4021
4481
|
/** The conditions that must be met for the contract to apply */
|
|
4022
4482
|
conditions?: InputMaybe<Array<SupplierContractConditionInput>>;
|
|
4023
4483
|
/** The identifier of the contract */
|
|
4024
4484
|
contractNumber: Scalars['String'];
|
|
4025
4485
|
/** The id of the customer that the contract is for */
|
|
4026
|
-
customerId
|
|
4486
|
+
customerId?: InputMaybe<Scalars['ObjectId']>;
|
|
4027
4487
|
/** The end date of the contract. The contract cannot be used after this date */
|
|
4028
4488
|
endDate: Scalars['DateTime'];
|
|
4029
4489
|
/** The id of the commodity that the contract is for */
|
|
@@ -4031,7 +4491,7 @@ export type NewSupplierContractInput = {
|
|
|
4031
4491
|
/** The pin code to use the contract */
|
|
4032
4492
|
pinCode?: InputMaybe<Scalars['String']>;
|
|
4033
4493
|
/** The id of the shipper where the commodity can be picked up at */
|
|
4034
|
-
shipperId
|
|
4494
|
+
shipperId?: InputMaybe<Scalars['ObjectId']>;
|
|
4035
4495
|
/** The start date of the contract. The contract cannot be used before this date */
|
|
4036
4496
|
startDate: Scalars['DateTime'];
|
|
4037
4497
|
/** The id of the supplier that the contract is with */
|
|
@@ -4057,6 +4517,7 @@ export type NewTractorInput = {
|
|
|
4057
4517
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
4058
4518
|
domicile?: InputMaybe<NewAddressInput>;
|
|
4059
4519
|
eldId?: InputMaybe<Scalars['String']>;
|
|
4520
|
+
externalId?: InputMaybe<Scalars['String']>;
|
|
4060
4521
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
4061
4522
|
licenseNumber?: InputMaybe<Scalars['String']>;
|
|
4062
4523
|
make?: InputMaybe<Scalars['String']>;
|
|
@@ -4118,6 +4579,7 @@ export type NewTripInput = {
|
|
|
4118
4579
|
};
|
|
4119
4580
|
|
|
4120
4581
|
export enum NoteAccessLevel {
|
|
4582
|
+
Carrier = 'CARRIER',
|
|
4121
4583
|
Customer = 'CUSTOMER',
|
|
4122
4584
|
Dispatcher = 'DISPATCHER',
|
|
4123
4585
|
Driver = 'DRIVER'
|
|
@@ -4172,6 +4634,63 @@ export type OrderUpdateInput = {
|
|
|
4172
4634
|
status?: InputMaybe<Status>;
|
|
4173
4635
|
};
|
|
4174
4636
|
|
|
4637
|
+
export type OrgMaintenanceTask = {
|
|
4638
|
+
__typename?: 'OrgMaintenanceTask';
|
|
4639
|
+
_id: Scalars['String'];
|
|
4640
|
+
alertBeforeDays?: Maybe<Scalars['Int']>;
|
|
4641
|
+
assignedTo?: Maybe<Scalars['String']>;
|
|
4642
|
+
assignedToUser?: Maybe<OrgUser>;
|
|
4643
|
+
endDate?: Maybe<Scalars['DateTime']>;
|
|
4644
|
+
label: Scalars['String'];
|
|
4645
|
+
recurrence?: Maybe<OrgMaintenanceTaskRecurrence>;
|
|
4646
|
+
startDate: Scalars['DateTime'];
|
|
4647
|
+
status?: Maybe<MaintenanceTaskStatus>;
|
|
4648
|
+
};
|
|
4649
|
+
|
|
4650
|
+
export type OrgMaintenanceTaskInput = {
|
|
4651
|
+
alertBeforeDays?: InputMaybe<Scalars['Int']>;
|
|
4652
|
+
assignedTo?: InputMaybe<Scalars['String']>;
|
|
4653
|
+
endDate?: InputMaybe<Scalars['DateTime']>;
|
|
4654
|
+
label: Scalars['String'];
|
|
4655
|
+
recurrence?: InputMaybe<OrgMaintenanceTaskRecurrenceInput>;
|
|
4656
|
+
startDate: Scalars['DateTime'];
|
|
4657
|
+
status?: InputMaybe<MaintenanceTaskStatus>;
|
|
4658
|
+
};
|
|
4659
|
+
|
|
4660
|
+
export type OrgMaintenanceTaskPaginatedResult = {
|
|
4661
|
+
__typename?: 'OrgMaintenanceTaskPaginatedResult';
|
|
4662
|
+
count: Scalars['Int'];
|
|
4663
|
+
data: Array<OrgMaintenanceTask>;
|
|
4664
|
+
};
|
|
4665
|
+
|
|
4666
|
+
export type OrgMaintenanceTaskRecurrence = {
|
|
4667
|
+
__typename?: 'OrgMaintenanceTaskRecurrence';
|
|
4668
|
+
frequency: OrgMaintenanceTaskRecurrenceFrequency;
|
|
4669
|
+
interval: Scalars['Float'];
|
|
4670
|
+
};
|
|
4671
|
+
|
|
4672
|
+
export enum OrgMaintenanceTaskRecurrenceFrequency {
|
|
4673
|
+
Daily = 'DAILY',
|
|
4674
|
+
Monthly = 'MONTHLY',
|
|
4675
|
+
Weekly = 'WEEKLY',
|
|
4676
|
+
Yearly = 'YEARLY'
|
|
4677
|
+
}
|
|
4678
|
+
|
|
4679
|
+
export type OrgMaintenanceTaskRecurrenceInput = {
|
|
4680
|
+
frequency: OrgMaintenanceTaskRecurrenceFrequency;
|
|
4681
|
+
interval: Scalars['Float'];
|
|
4682
|
+
};
|
|
4683
|
+
|
|
4684
|
+
export type OrgMaintenanceTaskUpdateInput = {
|
|
4685
|
+
alertBeforeDays?: InputMaybe<Scalars['Int']>;
|
|
4686
|
+
assignedTo?: InputMaybe<Scalars['String']>;
|
|
4687
|
+
endDate?: InputMaybe<Scalars['DateTime']>;
|
|
4688
|
+
label?: InputMaybe<Scalars['String']>;
|
|
4689
|
+
recurrence?: InputMaybe<OrgMaintenanceTaskRecurrenceInput>;
|
|
4690
|
+
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
4691
|
+
status?: InputMaybe<MaintenanceTaskStatus>;
|
|
4692
|
+
};
|
|
4693
|
+
|
|
4175
4694
|
export type OrgUser = {
|
|
4176
4695
|
__typename?: 'OrgUser';
|
|
4177
4696
|
_id: Scalars['String'];
|
|
@@ -4255,6 +4774,7 @@ export type Organization = {
|
|
|
4255
4774
|
phoneNumber?: Maybe<Scalars['String']>;
|
|
4256
4775
|
/** @deprecated This field should not be used by any client. The realm is the same accross all orgs */
|
|
4257
4776
|
realm: Scalars['String'];
|
|
4777
|
+
taxId?: Maybe<Scalars['String']>;
|
|
4258
4778
|
};
|
|
4259
4779
|
|
|
4260
4780
|
export type OrganizationDocument = {
|
|
@@ -4297,6 +4817,7 @@ export type OrganizationUpdateInput = {
|
|
|
4297
4817
|
email?: InputMaybe<Scalars['Email']>;
|
|
4298
4818
|
name?: InputMaybe<Scalars['String']>;
|
|
4299
4819
|
phoneNumber?: InputMaybe<Scalars['String']>;
|
|
4820
|
+
taxId?: InputMaybe<Scalars['String']>;
|
|
4300
4821
|
};
|
|
4301
4822
|
|
|
4302
4823
|
export type PartialShipment = {
|
|
@@ -4337,6 +4858,8 @@ export type PartialShipment = {
|
|
|
4337
4858
|
expenses?: Maybe<Array<Transaction>>;
|
|
4338
4859
|
/** IDs of the groups the shipment is associated with */
|
|
4339
4860
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
4861
|
+
/** Whether the shipment is applicable for charge order cancellation */
|
|
4862
|
+
isApplicableChargeOrderCancellation?: Maybe<Scalars['Boolean']>;
|
|
4340
4863
|
/** Set for child shipments of a master shipment with rotations */
|
|
4341
4864
|
isFromRotation?: Maybe<Scalars['Boolean']>;
|
|
4342
4865
|
/** Whether the shipment is a child of a split shipment */
|
|
@@ -4362,6 +4885,8 @@ export type PartialShipment = {
|
|
|
4362
4885
|
postOfficeNumber?: Maybe<Scalars['String']>;
|
|
4363
4886
|
/** Purchase order numbers for the shipment */
|
|
4364
4887
|
purchaseOrderNumbers?: Maybe<Array<Scalars['String']>>;
|
|
4888
|
+
/** Rate confirmation numbers for the shipment */
|
|
4889
|
+
rateConNumbers?: Maybe<Array<Scalars['String']>>;
|
|
4365
4890
|
/** For cancelled shipments, the reason for cancellation */
|
|
4366
4891
|
reasonForCancellation?: Maybe<Scalars['String']>;
|
|
4367
4892
|
/** For recurrent shipments, the recurrence pattern */
|
|
@@ -4539,6 +5064,12 @@ export type QualificationUpdateInput = {
|
|
|
4539
5064
|
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
4540
5065
|
};
|
|
4541
5066
|
|
|
5067
|
+
export enum QuantityType {
|
|
5068
|
+
Delivered = 'DELIVERED',
|
|
5069
|
+
Loaded = 'LOADED',
|
|
5070
|
+
Ordered = 'ORDERED'
|
|
5071
|
+
}
|
|
5072
|
+
|
|
4542
5073
|
export type Query = {
|
|
4543
5074
|
__typename?: 'Query';
|
|
4544
5075
|
assetLinkingByDriverId?: Maybe<AssetLinking>;
|
|
@@ -4561,6 +5092,7 @@ export type Query = {
|
|
|
4561
5092
|
customerById: Customer;
|
|
4562
5093
|
customerOrderById: Order;
|
|
4563
5094
|
customerOrders: OrderPaginatedResult;
|
|
5095
|
+
customerRateTables: RateTablePaginatedResult;
|
|
4564
5096
|
customerShipments: ShipmentPaginatedResult;
|
|
4565
5097
|
customers: CustomerPaginatedResult;
|
|
4566
5098
|
cutomFieldDefinitions: CustomFieldDefinitionPaginatedResult;
|
|
@@ -4569,6 +5101,7 @@ export type Query = {
|
|
|
4569
5101
|
driverByEldId?: Maybe<Driver>;
|
|
4570
5102
|
driverById: Driver;
|
|
4571
5103
|
driverByLicenseNumber?: Maybe<Driver>;
|
|
5104
|
+
driverRateTables: RateTablePaginatedResult;
|
|
4572
5105
|
driverSettlementById?: Maybe<DriverSettlement>;
|
|
4573
5106
|
driverSettlementByNumber: DriverSettlement;
|
|
4574
5107
|
driverSettlements: DriverSettlementPaginatedResult;
|
|
@@ -4584,9 +5117,12 @@ export type Query = {
|
|
|
4584
5117
|
extensionsCustomFields: Array<ExtensionCustomFieldWithExtensionId>;
|
|
4585
5118
|
extensionsMessages: Array<ExtensionMessage>;
|
|
4586
5119
|
extensionsOperations: Array<ExtensionOperationWithExtensionId>;
|
|
5120
|
+
extensionsUIComponents: Array<ExtensionUiComponentWithExtensionInfo>;
|
|
4587
5121
|
extensionsWidgets: Array<ExtensionWidgetWithExtensionInfo>;
|
|
4588
5122
|
forecastingNotifications: Array<ForecastingNotification>;
|
|
4589
5123
|
goodProfileById: GoodProfile;
|
|
5124
|
+
goodProfileClassById?: Maybe<GoodProfileClass>;
|
|
5125
|
+
goodProfileClasses: GoodProfileClassPaginatedResult;
|
|
4590
5126
|
goodProfiles: GoodProfilePaginatedResult;
|
|
4591
5127
|
groupById: Group;
|
|
4592
5128
|
groups: GroupPaginatedResult;
|
|
@@ -4606,6 +5142,8 @@ export type Query = {
|
|
|
4606
5142
|
myOrganization: Organization;
|
|
4607
5143
|
orderById: Order;
|
|
4608
5144
|
orders: OrderPaginatedResult;
|
|
5145
|
+
orgMaintenanceTaskById?: Maybe<OrgMaintenanceTask>;
|
|
5146
|
+
orgMaintenanceTasks: OrgMaintenanceTaskPaginatedResult;
|
|
4609
5147
|
orgUserById: OrgUser;
|
|
4610
5148
|
orgUsers: OrgUserPaginatedResult;
|
|
4611
5149
|
organizationSettings?: Maybe<OrganizationSettings>;
|
|
@@ -4615,6 +5153,12 @@ export type Query = {
|
|
|
4615
5153
|
qualificationByDriverId?: Maybe<Qualification>;
|
|
4616
5154
|
qualificationById?: Maybe<Qualification>;
|
|
4617
5155
|
qualifications: QualificationPaginatedResult;
|
|
5156
|
+
rateTableById: RateTable;
|
|
5157
|
+
rateTables: RateTablePaginatedResult;
|
|
5158
|
+
reasonCodeById?: Maybe<ReasonCode>;
|
|
5159
|
+
reasonCodes: ReasonCodePaginatedResult;
|
|
5160
|
+
reasonCodesByShipment: ReasonCodePaginatedResult;
|
|
5161
|
+
reasonCodesByTrip: ReasonCodePaginatedResult;
|
|
4618
5162
|
receiverById: Receiver;
|
|
4619
5163
|
receiverForecastById: ReceiverForecast;
|
|
4620
5164
|
receiverForecasts: ReceiverForecastPaginatedResult;
|
|
@@ -4791,6 +5335,17 @@ export type QueryCustomerOrdersArgs = {
|
|
|
4791
5335
|
};
|
|
4792
5336
|
|
|
4793
5337
|
|
|
5338
|
+
export type QueryCustomerRateTablesArgs = {
|
|
5339
|
+
customerId?: InputMaybe<Scalars['ObjectId']>;
|
|
5340
|
+
filter?: InputMaybe<Scalars['JSON']>;
|
|
5341
|
+
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
5342
|
+
rateType?: InputMaybe<RateTableType>;
|
|
5343
|
+
search?: InputMaybe<Scalars['String']>;
|
|
5344
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
5345
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
5346
|
+
};
|
|
5347
|
+
|
|
5348
|
+
|
|
4794
5349
|
export type QueryCustomerShipmentsArgs = {
|
|
4795
5350
|
filter?: InputMaybe<Scalars['JSON']>;
|
|
4796
5351
|
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
@@ -4849,13 +5404,24 @@ export type QueryDriverByLicenseNumberArgs = {
|
|
|
4849
5404
|
};
|
|
4850
5405
|
|
|
4851
5406
|
|
|
4852
|
-
export type
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
5407
|
+
export type QueryDriverRateTablesArgs = {
|
|
5408
|
+
driverId?: InputMaybe<Scalars['ObjectId']>;
|
|
5409
|
+
filter?: InputMaybe<Scalars['JSON']>;
|
|
5410
|
+
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
5411
|
+
rateType?: InputMaybe<RateTableType>;
|
|
5412
|
+
search?: InputMaybe<Scalars['String']>;
|
|
5413
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
5414
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
5415
|
+
};
|
|
5416
|
+
|
|
5417
|
+
|
|
5418
|
+
export type QueryDriverSettlementByIdArgs = {
|
|
5419
|
+
id: Scalars['String'];
|
|
5420
|
+
};
|
|
5421
|
+
|
|
5422
|
+
|
|
5423
|
+
export type QueryDriverSettlementByNumberArgs = {
|
|
5424
|
+
driverSettlementNumber: Scalars['String'];
|
|
4859
5425
|
};
|
|
4860
5426
|
|
|
4861
5427
|
|
|
@@ -4942,6 +5508,11 @@ export type QueryExtensionsOperationsArgs = {
|
|
|
4942
5508
|
};
|
|
4943
5509
|
|
|
4944
5510
|
|
|
5511
|
+
export type QueryExtensionsUiComponentsArgs = {
|
|
5512
|
+
type: ExtensionUiComponentType;
|
|
5513
|
+
};
|
|
5514
|
+
|
|
5515
|
+
|
|
4945
5516
|
export type QueryExtensionsWidgetsArgs = {
|
|
4946
5517
|
context: ExtensionWidgetContext;
|
|
4947
5518
|
};
|
|
@@ -4957,6 +5528,20 @@ export type QueryGoodProfileByIdArgs = {
|
|
|
4957
5528
|
};
|
|
4958
5529
|
|
|
4959
5530
|
|
|
5531
|
+
export type QueryGoodProfileClassByIdArgs = {
|
|
5532
|
+
id: Scalars['ObjectId'];
|
|
5533
|
+
};
|
|
5534
|
+
|
|
5535
|
+
|
|
5536
|
+
export type QueryGoodProfileClassesArgs = {
|
|
5537
|
+
filter?: InputMaybe<Scalars['JSON']>;
|
|
5538
|
+
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
5539
|
+
search?: InputMaybe<Scalars['String']>;
|
|
5540
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
5541
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
5542
|
+
};
|
|
5543
|
+
|
|
5544
|
+
|
|
4960
5545
|
export type QueryGoodProfilesArgs = {
|
|
4961
5546
|
filter?: InputMaybe<Scalars['JSON']>;
|
|
4962
5547
|
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
@@ -5071,6 +5656,23 @@ export type QueryOrdersArgs = {
|
|
|
5071
5656
|
};
|
|
5072
5657
|
|
|
5073
5658
|
|
|
5659
|
+
export type QueryOrgMaintenanceTaskByIdArgs = {
|
|
5660
|
+
id: Scalars['String'];
|
|
5661
|
+
};
|
|
5662
|
+
|
|
5663
|
+
|
|
5664
|
+
export type QueryOrgMaintenanceTasksArgs = {
|
|
5665
|
+
assetId?: InputMaybe<Scalars['ObjectId']>;
|
|
5666
|
+
assetType?: InputMaybe<TripAssetTypes>;
|
|
5667
|
+
filter?: InputMaybe<Scalars['JSON']>;
|
|
5668
|
+
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
5669
|
+
search?: InputMaybe<Scalars['String']>;
|
|
5670
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
5671
|
+
status?: InputMaybe<MaintenanceTaskStatus>;
|
|
5672
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
5673
|
+
};
|
|
5674
|
+
|
|
5675
|
+
|
|
5074
5676
|
export type QueryOrgUserByIdArgs = {
|
|
5075
5677
|
id: Scalars['String'];
|
|
5076
5678
|
};
|
|
@@ -5123,6 +5725,47 @@ export type QueryQualificationsArgs = {
|
|
|
5123
5725
|
};
|
|
5124
5726
|
|
|
5125
5727
|
|
|
5728
|
+
export type QueryRateTableByIdArgs = {
|
|
5729
|
+
id: Scalars['String'];
|
|
5730
|
+
};
|
|
5731
|
+
|
|
5732
|
+
|
|
5733
|
+
export type QueryRateTablesArgs = {
|
|
5734
|
+
entityId?: InputMaybe<Scalars['ObjectId']>;
|
|
5735
|
+
entityType?: InputMaybe<RateTableEntityType>;
|
|
5736
|
+
filter?: InputMaybe<Scalars['JSON']>;
|
|
5737
|
+
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
5738
|
+
rateType?: InputMaybe<RateTableType>;
|
|
5739
|
+
search?: InputMaybe<Scalars['String']>;
|
|
5740
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
5741
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
5742
|
+
};
|
|
5743
|
+
|
|
5744
|
+
|
|
5745
|
+
export type QueryReasonCodeByIdArgs = {
|
|
5746
|
+
id: Scalars['ObjectId'];
|
|
5747
|
+
};
|
|
5748
|
+
|
|
5749
|
+
|
|
5750
|
+
export type QueryReasonCodesArgs = {
|
|
5751
|
+
filter?: InputMaybe<Scalars['JSON']>;
|
|
5752
|
+
orderBy?: InputMaybe<Array<OrderByItem>>;
|
|
5753
|
+
search?: InputMaybe<Scalars['String']>;
|
|
5754
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
5755
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
5756
|
+
};
|
|
5757
|
+
|
|
5758
|
+
|
|
5759
|
+
export type QueryReasonCodesByShipmentArgs = {
|
|
5760
|
+
shipmentId: Scalars['ObjectId'];
|
|
5761
|
+
};
|
|
5762
|
+
|
|
5763
|
+
|
|
5764
|
+
export type QueryReasonCodesByTripArgs = {
|
|
5765
|
+
tripId: Scalars['ObjectId'];
|
|
5766
|
+
};
|
|
5767
|
+
|
|
5768
|
+
|
|
5126
5769
|
export type QueryReceiverByIdArgs = {
|
|
5127
5770
|
id: Scalars['String'];
|
|
5128
5771
|
};
|
|
@@ -5376,6 +6019,83 @@ export type QueryTripsArgs = {
|
|
|
5376
6019
|
timezone?: InputMaybe<Scalars['String']>;
|
|
5377
6020
|
};
|
|
5378
6021
|
|
|
6022
|
+
/** A unified rate table for automated billing and driver settlements */
|
|
6023
|
+
export type RateTable = {
|
|
6024
|
+
__typename?: 'RateTable';
|
|
6025
|
+
_id: Scalars['String'];
|
|
6026
|
+
/** Matrix of rate cells. For 1D tables, use cells[i][0]. For 2D tables, use cells[i][j] where i=row, j=column */
|
|
6027
|
+
cells: Array<Array<RateTableCell>>;
|
|
6028
|
+
/** Only required for two-dimensional tables */
|
|
6029
|
+
columnAxis?: Maybe<RateTableAxis>;
|
|
6030
|
+
createdAt: Scalars['DateTime'];
|
|
6031
|
+
customer?: Maybe<BusinessEntity>;
|
|
6032
|
+
description?: Maybe<Scalars['String']>;
|
|
6033
|
+
driver?: Maybe<Driver>;
|
|
6034
|
+
entityId: Scalars['ObjectId'];
|
|
6035
|
+
entityType: RateTableEntityType;
|
|
6036
|
+
isActive: Scalars['Boolean'];
|
|
6037
|
+
label: Scalars['String'];
|
|
6038
|
+
priority?: Maybe<Scalars['Float']>;
|
|
6039
|
+
rateType: RateTableType;
|
|
6040
|
+
referenceNumber?: Maybe<Scalars['String']>;
|
|
6041
|
+
rowAxis: RateTableAxis;
|
|
6042
|
+
updatedAt: Scalars['DateTime'];
|
|
6043
|
+
};
|
|
6044
|
+
|
|
6045
|
+
export type RateTableAxis = {
|
|
6046
|
+
__typename?: 'RateTableAxis';
|
|
6047
|
+
conditions: Array<BillingRuleCondition>;
|
|
6048
|
+
};
|
|
6049
|
+
|
|
6050
|
+
export type RateTableAxisInput = {
|
|
6051
|
+
conditions: Array<BillingRuleConditionInput>;
|
|
6052
|
+
};
|
|
6053
|
+
|
|
6054
|
+
export type RateTableCell = {
|
|
6055
|
+
__typename?: 'RateTableCell';
|
|
6056
|
+
rates: Array<BillingRate>;
|
|
6057
|
+
};
|
|
6058
|
+
|
|
6059
|
+
export type RateTableCellInput = {
|
|
6060
|
+
rates: Array<BillingRateInput>;
|
|
6061
|
+
};
|
|
6062
|
+
|
|
6063
|
+
export enum RateTableEntityType {
|
|
6064
|
+
Customer = 'CUSTOMER',
|
|
6065
|
+
Driver = 'DRIVER'
|
|
6066
|
+
}
|
|
6067
|
+
|
|
6068
|
+
export type RateTablePaginatedResult = {
|
|
6069
|
+
__typename?: 'RateTablePaginatedResult';
|
|
6070
|
+
count: Scalars['Int'];
|
|
6071
|
+
data: Array<RateTable>;
|
|
6072
|
+
};
|
|
6073
|
+
|
|
6074
|
+
export enum RateTableType {
|
|
6075
|
+
Accessorial = 'ACCESSORIAL',
|
|
6076
|
+
Bonus = 'BONUS',
|
|
6077
|
+
Deduction = 'DEDUCTION',
|
|
6078
|
+
OrderCancellation = 'ORDER_CANCELLATION',
|
|
6079
|
+
Primary = 'PRIMARY',
|
|
6080
|
+
Tax = 'TAX'
|
|
6081
|
+
}
|
|
6082
|
+
|
|
6083
|
+
export type RateTableUpdateInput = {
|
|
6084
|
+
/** Matrix of rate cells. For 1D tables, use cells[i][0]. For 2D tables, use cells[i][j] where i=row, j=column */
|
|
6085
|
+
cells?: InputMaybe<Array<Array<RateTableCellInput>>>;
|
|
6086
|
+
/** Only required for two-dimensional tables */
|
|
6087
|
+
columnAxis?: InputMaybe<RateTableAxisInput>;
|
|
6088
|
+
description?: InputMaybe<Scalars['String']>;
|
|
6089
|
+
entityId?: InputMaybe<Scalars['ObjectId']>;
|
|
6090
|
+
entityType?: InputMaybe<RateTableEntityType>;
|
|
6091
|
+
isActive?: InputMaybe<Scalars['Boolean']>;
|
|
6092
|
+
label?: InputMaybe<Scalars['String']>;
|
|
6093
|
+
priority?: InputMaybe<Scalars['Float']>;
|
|
6094
|
+
rateType?: InputMaybe<RateTableType>;
|
|
6095
|
+
referenceNumber?: InputMaybe<Scalars['String']>;
|
|
6096
|
+
rowAxis?: InputMaybe<RateTableAxisInput>;
|
|
6097
|
+
};
|
|
6098
|
+
|
|
5379
6099
|
export type RateconSettings = {
|
|
5380
6100
|
__typename?: 'RateconSettings';
|
|
5381
6101
|
bodyTemplate?: Maybe<Scalars['String']>;
|
|
@@ -5460,6 +6180,46 @@ export type ReadingsFileConfigurationInput = {
|
|
|
5460
6180
|
timeFormat: Scalars['String'];
|
|
5461
6181
|
};
|
|
5462
6182
|
|
|
6183
|
+
export type ReasonCode = {
|
|
6184
|
+
__typename?: 'ReasonCode';
|
|
6185
|
+
_id: Scalars['ObjectId'];
|
|
6186
|
+
createdAt: Scalars['DateTime'];
|
|
6187
|
+
createdBy: Scalars['String'];
|
|
6188
|
+
description?: Maybe<Scalars['String']>;
|
|
6189
|
+
locationId?: Maybe<Scalars['String']>;
|
|
6190
|
+
shipmentId?: Maybe<Scalars['ObjectId']>;
|
|
6191
|
+
tripId?: Maybe<Scalars['ObjectId']>;
|
|
6192
|
+
type: ReasonCodeType;
|
|
6193
|
+
updatedAt: Scalars['DateTime'];
|
|
6194
|
+
};
|
|
6195
|
+
|
|
6196
|
+
export type ReasonCodePaginatedResult = {
|
|
6197
|
+
__typename?: 'ReasonCodePaginatedResult';
|
|
6198
|
+
count: Scalars['Int'];
|
|
6199
|
+
data: Array<ReasonCode>;
|
|
6200
|
+
};
|
|
6201
|
+
|
|
6202
|
+
/** Types of reason codes for exceptional situations */
|
|
6203
|
+
export enum ReasonCodeType {
|
|
6204
|
+
Customer = 'CUSTOMER',
|
|
6205
|
+
Damage = 'DAMAGE',
|
|
6206
|
+
Delay = 'DELAY',
|
|
6207
|
+
DeliveredQuantityMismatch = 'DELIVERED_QUANTITY_MISMATCH',
|
|
6208
|
+
LoadedQuantityMismatch = 'LOADED_QUANTITY_MISMATCH',
|
|
6209
|
+
Mechanical = 'MECHANICAL',
|
|
6210
|
+
Other = 'OTHER',
|
|
6211
|
+
Traffic = 'TRAFFIC',
|
|
6212
|
+
Weather = 'WEATHER'
|
|
6213
|
+
}
|
|
6214
|
+
|
|
6215
|
+
export type ReasonCodeUpdateInput = {
|
|
6216
|
+
description?: InputMaybe<Scalars['String']>;
|
|
6217
|
+
id: Scalars['ObjectId'];
|
|
6218
|
+
locationId?: InputMaybe<Scalars['String']>;
|
|
6219
|
+
shipmentId?: InputMaybe<Scalars['ObjectId']>;
|
|
6220
|
+
tripId?: InputMaybe<Scalars['ObjectId']>;
|
|
6221
|
+
};
|
|
6222
|
+
|
|
5463
6223
|
/** A Receiver Business entity */
|
|
5464
6224
|
export type Receiver = {
|
|
5465
6225
|
__typename?: 'Receiver';
|
|
@@ -5478,8 +6238,11 @@ export type Receiver = {
|
|
|
5478
6238
|
billingAddress?: Maybe<TextualAddress>;
|
|
5479
6239
|
/** Billing email for the business entity. Invoices are sent here */
|
|
5480
6240
|
billingEmail?: Maybe<Scalars['String']>;
|
|
6241
|
+
/** Criteria for invoice consolidation */
|
|
6242
|
+
billingInvoiceConsolidationCriteria?: Maybe<InvoiceConsolidationCriteria>;
|
|
5481
6243
|
/** Billing terms for the business entity in days. */
|
|
5482
6244
|
billingTermsDay?: Maybe<Scalars['Float']>;
|
|
6245
|
+
billingWeekStartsOn?: Maybe<Scalars['Float']>;
|
|
5483
6246
|
/** Unique code identifying the business entity. */
|
|
5484
6247
|
code?: Maybe<Scalars['String']>;
|
|
5485
6248
|
/** Primary contact for the business entity. */
|
|
@@ -5493,13 +6256,15 @@ export type Receiver = {
|
|
|
5493
6256
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
5494
6257
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
5495
6258
|
defaultShipperId?: Maybe<Scalars['ObjectId']>;
|
|
6259
|
+
/** Document requirements for invoicing for this business entity */
|
|
6260
|
+
documentRequirements?: Maybe<Array<DocumentRequirement>>;
|
|
5496
6261
|
/** Documents for the business entity */
|
|
5497
6262
|
documents?: Maybe<Array<Document>>;
|
|
5498
6263
|
/** DOT Number for carriers and brokers */
|
|
5499
6264
|
dotNumber?: Maybe<Scalars['String']>;
|
|
5500
6265
|
/** ID of the business entity in an external system. */
|
|
5501
6266
|
externalId?: Maybe<Scalars['String']>;
|
|
5502
|
-
/** Federal ID for
|
|
6267
|
+
/** Federal ID for business entities */
|
|
5503
6268
|
federalId?: Maybe<Scalars['String']>;
|
|
5504
6269
|
goodInventoryItems?: Maybe<Array<GoodInventoryItem>>;
|
|
5505
6270
|
/** IDs of the groups that this business entity belongs to */
|
|
@@ -5508,6 +6273,7 @@ export type Receiver = {
|
|
|
5508
6273
|
mcNumber?: Maybe<Scalars['String']>;
|
|
5509
6274
|
/** Legal name of the business entity. */
|
|
5510
6275
|
name: Scalars['String'];
|
|
6276
|
+
notes?: Maybe<Array<BusinessEntityNote>>;
|
|
5511
6277
|
/** Opening schedules for the business entity. */
|
|
5512
6278
|
openingSchedules?: Maybe<Array<OpeningSchedule>>;
|
|
5513
6279
|
/** The business entity that this business entity belongs to */
|
|
@@ -5541,6 +6307,12 @@ export type Receiver = {
|
|
|
5541
6307
|
type: BusinessEntityType;
|
|
5542
6308
|
};
|
|
5543
6309
|
|
|
6310
|
+
|
|
6311
|
+
/** A Receiver Business entity */
|
|
6312
|
+
export type ReceiverStorageFacilitiesArgs = {
|
|
6313
|
+
includeLinkedFacilities?: InputMaybe<Scalars['Boolean']>;
|
|
6314
|
+
};
|
|
6315
|
+
|
|
5544
6316
|
export type ReceiverForecast = {
|
|
5545
6317
|
__typename?: 'ReceiverForecast';
|
|
5546
6318
|
_id: Scalars['String'];
|
|
@@ -5604,6 +6376,11 @@ export type RemoveShipmentFromTripResult = {
|
|
|
5604
6376
|
trip?: Maybe<Trip>;
|
|
5605
6377
|
};
|
|
5606
6378
|
|
|
6379
|
+
export type ReportCsv = {
|
|
6380
|
+
__typename?: 'ReportCsv';
|
|
6381
|
+
url: Scalars['String'];
|
|
6382
|
+
};
|
|
6383
|
+
|
|
5607
6384
|
export type ReportData = {
|
|
5608
6385
|
__typename?: 'ReportData';
|
|
5609
6386
|
data: Array<ReportItem>;
|
|
@@ -5630,6 +6407,7 @@ export type ReportPdf = {
|
|
|
5630
6407
|
|
|
5631
6408
|
export enum ReportType {
|
|
5632
6409
|
CustomerRevenue = 'CUSTOMER_REVENUE',
|
|
6410
|
+
DeliveryReport = 'DELIVERY_REPORT',
|
|
5633
6411
|
DriverMileagePerTrip = 'DRIVER_MILEAGE_PER_TRIP',
|
|
5634
6412
|
RevenueByLoad = 'REVENUE_BY_LOAD',
|
|
5635
6413
|
RevenuePerDay = 'REVENUE_PER_DAY',
|
|
@@ -5780,6 +6558,8 @@ export type Shipment = {
|
|
|
5780
6558
|
expenses?: Maybe<Array<Transaction>>;
|
|
5781
6559
|
/** IDs of the groups the shipment is associated with */
|
|
5782
6560
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
6561
|
+
/** Whether the shipment is applicable for charge order cancellation */
|
|
6562
|
+
isApplicableChargeOrderCancellation?: Maybe<Scalars['Boolean']>;
|
|
5783
6563
|
/** Set for child shipments of a master shipment with rotations */
|
|
5784
6564
|
isFromRotation?: Maybe<Scalars['Boolean']>;
|
|
5785
6565
|
/** Whether the shipment is a child of a split shipment */
|
|
@@ -5805,6 +6585,8 @@ export type Shipment = {
|
|
|
5805
6585
|
postOfficeNumber?: Maybe<Scalars['String']>;
|
|
5806
6586
|
/** Purchase order numbers for the shipment */
|
|
5807
6587
|
purchaseOrderNumbers?: Maybe<Array<Scalars['String']>>;
|
|
6588
|
+
/** Rate confirmation numbers for the shipment */
|
|
6589
|
+
rateConNumbers?: Maybe<Array<Scalars['String']>>;
|
|
5808
6590
|
/** For cancelled shipments, the reason for cancellation */
|
|
5809
6591
|
reasonForCancellation?: Maybe<Scalars['String']>;
|
|
5810
6592
|
/** For recurrent shipments, the recurrence pattern */
|
|
@@ -5858,6 +6640,11 @@ export type ShipmentAssignedEventPayload = {
|
|
|
5858
6640
|
trailerId?: Maybe<Scalars['String']>;
|
|
5859
6641
|
};
|
|
5860
6642
|
|
|
6643
|
+
export type ShipmentCancelledEventPayload = {
|
|
6644
|
+
__typename?: 'ShipmentCancelledEventPayload';
|
|
6645
|
+
shipment: Shipment;
|
|
6646
|
+
};
|
|
6647
|
+
|
|
5861
6648
|
export type ShipmentCarrierAssignment = {
|
|
5862
6649
|
__typename?: 'ShipmentCarrierAssignment';
|
|
5863
6650
|
accepted: Scalars['Boolean'];
|
|
@@ -5886,10 +6673,14 @@ export type ShipmentCharge = {
|
|
|
5886
6673
|
number?: Maybe<Scalars['String']>;
|
|
5887
6674
|
/** Rate per unit */
|
|
5888
6675
|
rate: Scalars['Float'];
|
|
6676
|
+
/** Rating table for this charge */
|
|
6677
|
+
ratingTable?: Maybe<RateTable>;
|
|
5889
6678
|
/** Whether to reimburse to driver */
|
|
5890
6679
|
reimburseToDriver?: Maybe<Scalars['Boolean']>;
|
|
5891
6680
|
/** Related transaction ID */
|
|
5892
6681
|
relatedTransactionId?: Maybe<Scalars['ObjectId']>;
|
|
6682
|
+
/** Shipment ID this charge is for */
|
|
6683
|
+
shipmentId?: Maybe<Scalars['ObjectId']>;
|
|
5893
6684
|
/** Whether the transaction is taxable */
|
|
5894
6685
|
taxable?: Maybe<Scalars['Boolean']>;
|
|
5895
6686
|
/** Total amount of the charge */
|
|
@@ -5911,14 +6702,23 @@ export type ShipmentChargeInput = {
|
|
|
5911
6702
|
document?: InputMaybe<TransactionDocumentInput>;
|
|
5912
6703
|
label: Scalars['String'];
|
|
5913
6704
|
rate: Scalars['Float'];
|
|
6705
|
+
ratingTable?: InputMaybe<Scalars['String']>;
|
|
5914
6706
|
reimburseToDriver?: InputMaybe<Scalars['Boolean']>;
|
|
5915
6707
|
relatedTransactionId?: InputMaybe<Scalars['ObjectId']>;
|
|
6708
|
+
/** Shipment ID this charge is for */
|
|
6709
|
+
shipmentId?: InputMaybe<Scalars['ObjectId']>;
|
|
5916
6710
|
taxable?: InputMaybe<Scalars['Boolean']>;
|
|
5917
6711
|
type?: InputMaybe<TransactionType>;
|
|
5918
6712
|
unit: Scalars['Float'];
|
|
5919
6713
|
unitType: Scalars['String'];
|
|
5920
6714
|
};
|
|
5921
6715
|
|
|
6716
|
+
export type ShipmentChargesUpdatedEventPayload = {
|
|
6717
|
+
__typename?: 'ShipmentChargesUpdatedEventPayload';
|
|
6718
|
+
charges: Array<ShipmentCharge>;
|
|
6719
|
+
shipmentId: Scalars['String'];
|
|
6720
|
+
};
|
|
6721
|
+
|
|
5922
6722
|
/** The type of commodity to be delivered in the shipment */
|
|
5923
6723
|
export enum ShipmentCommodityType {
|
|
5924
6724
|
Dry = 'DRY',
|
|
@@ -5959,6 +6759,7 @@ export type ShipmentCreatedEventPayload = {
|
|
|
5959
6759
|
};
|
|
5960
6760
|
|
|
5961
6761
|
export type ShipmentDeleteInput = {
|
|
6762
|
+
isApplicableChargeOrderCancellation?: InputMaybe<Scalars['Boolean']>;
|
|
5962
6763
|
reason: Scalars['String'];
|
|
5963
6764
|
};
|
|
5964
6765
|
|
|
@@ -5976,10 +6777,13 @@ export type ShipmentDocument = {
|
|
|
5976
6777
|
createdAt: Scalars['DateTime'];
|
|
5977
6778
|
createdBy: Scalars['String'];
|
|
5978
6779
|
isBillable: Scalars['Boolean'];
|
|
6780
|
+
isForRatecons: Scalars['Boolean'];
|
|
6781
|
+
isForReceivers: Scalars['Boolean'];
|
|
5979
6782
|
lastUpdatedBy: Scalars['String'];
|
|
5980
6783
|
name: Scalars['String'];
|
|
5981
6784
|
receiver?: Maybe<BusinessEntity>;
|
|
5982
6785
|
shipper?: Maybe<BusinessEntity>;
|
|
6786
|
+
/** The type of document (BOL, DELIVERY_RECEIPT, etc.) */
|
|
5983
6787
|
type: Scalars['String'];
|
|
5984
6788
|
updatedAt: Scalars['DateTime'];
|
|
5985
6789
|
url: Scalars['String'];
|
|
@@ -5989,6 +6793,8 @@ export type ShipmentDocumentInfoInput = {
|
|
|
5989
6793
|
accessLevel: Array<NoteAccessLevel>;
|
|
5990
6794
|
associatedCharge?: InputMaybe<Scalars['String']>;
|
|
5991
6795
|
isBillable: Scalars['Boolean'];
|
|
6796
|
+
isForRatecons: Scalars['Boolean'];
|
|
6797
|
+
isForReceivers: Scalars['Boolean'];
|
|
5992
6798
|
name: Scalars['String'];
|
|
5993
6799
|
receiver?: InputMaybe<Scalars['String']>;
|
|
5994
6800
|
shipper?: InputMaybe<Scalars['String']>;
|
|
@@ -6000,6 +6806,8 @@ export type ShipmentDocumentInput = {
|
|
|
6000
6806
|
accessLevel: Array<NoteAccessLevel>;
|
|
6001
6807
|
associatedCharge?: InputMaybe<Scalars['String']>;
|
|
6002
6808
|
isBillable: Scalars['Boolean'];
|
|
6809
|
+
isForRatecons: Scalars['Boolean'];
|
|
6810
|
+
isForReceivers: Scalars['Boolean'];
|
|
6003
6811
|
name: Scalars['String'];
|
|
6004
6812
|
receiver?: InputMaybe<Scalars['String']>;
|
|
6005
6813
|
shipment?: InputMaybe<Scalars['String']>;
|
|
@@ -6056,8 +6864,8 @@ export type ShipmentEventInput = {
|
|
|
6056
6864
|
location: CoordinatesInput;
|
|
6057
6865
|
metadata?: InputMaybe<Scalars['JSON']>;
|
|
6058
6866
|
shipment: Scalars['String'];
|
|
6059
|
-
shipmentLocation
|
|
6060
|
-
trip
|
|
6867
|
+
shipmentLocation?: InputMaybe<Scalars['String']>;
|
|
6868
|
+
trip?: InputMaybe<Scalars['String']>;
|
|
6061
6869
|
tripShipmentLocation?: InputMaybe<Scalars['String']>;
|
|
6062
6870
|
type: ShipmentEventType;
|
|
6063
6871
|
};
|
|
@@ -6070,6 +6878,7 @@ export enum ShipmentEventType {
|
|
|
6070
6878
|
PickupCheckpointArrive = 'PICKUP_CHECKPOINT_ARRIVE',
|
|
6071
6879
|
PickupCheckpointLeft = 'PICKUP_CHECKPOINT_LEFT',
|
|
6072
6880
|
PickupCheckpointLoadStart = 'PICKUP_CHECKPOINT_LOAD_START',
|
|
6881
|
+
ShipmentAccepted = 'SHIPMENT_ACCEPTED',
|
|
6073
6882
|
ShipmentComplete = 'SHIPMENT_COMPLETE',
|
|
6074
6883
|
TripAssetAssignmentUpdated = 'TRIP_ASSET_ASSIGNMENT_UPDATED',
|
|
6075
6884
|
TripBreakStarted = 'TRIP_BREAK_STARTED',
|
|
@@ -6289,6 +7098,7 @@ export type ShipmentRecurrenceWeekdayInput = {
|
|
|
6289
7098
|
export enum ShipmentReferenceNumberType {
|
|
6290
7099
|
BillOfLadingNumber = 'BILL_OF_LADING_NUMBER',
|
|
6291
7100
|
PurchaseOrderNumber = 'PURCHASE_ORDER_NUMBER',
|
|
7101
|
+
RateConNumber = 'RATE_CON_NUMBER',
|
|
6292
7102
|
ReferenceNumber = 'REFERENCE_NUMBER',
|
|
6293
7103
|
TicketNumber = 'TICKET_NUMBER'
|
|
6294
7104
|
}
|
|
@@ -6296,6 +7106,7 @@ export enum ShipmentReferenceNumberType {
|
|
|
6296
7106
|
export type ShipmentReferencesUpdateInput = {
|
|
6297
7107
|
billOfLadingNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
6298
7108
|
purchaseOrderNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
7109
|
+
rateConNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
6299
7110
|
referenceNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
6300
7111
|
ticketNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
6301
7112
|
};
|
|
@@ -6384,6 +7195,7 @@ export type ShipmentUpdateInput = {
|
|
|
6384
7195
|
orderId?: InputMaybe<Scalars['ObjectId']>;
|
|
6385
7196
|
postOfficeNumber?: InputMaybe<Scalars['String']>;
|
|
6386
7197
|
purchaseOrderNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
7198
|
+
rateConNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
6387
7199
|
recurrence?: InputMaybe<ShipmentRecurrenceInput>;
|
|
6388
7200
|
referenceNumber?: InputMaybe<Scalars['String']>;
|
|
6389
7201
|
referenceNumbers?: InputMaybe<Array<Scalars['String']>>;
|
|
@@ -6426,8 +7238,11 @@ export type Shipper = {
|
|
|
6426
7238
|
billingAddress?: Maybe<TextualAddress>;
|
|
6427
7239
|
/** Billing email for the business entity. Invoices are sent here */
|
|
6428
7240
|
billingEmail?: Maybe<Scalars['String']>;
|
|
7241
|
+
/** Criteria for invoice consolidation */
|
|
7242
|
+
billingInvoiceConsolidationCriteria?: Maybe<InvoiceConsolidationCriteria>;
|
|
6429
7243
|
/** Billing terms for the business entity in days. */
|
|
6430
7244
|
billingTermsDay?: Maybe<Scalars['Float']>;
|
|
7245
|
+
billingWeekStartsOn?: Maybe<Scalars['Float']>;
|
|
6431
7246
|
/** Unique code identifying the business entity. */
|
|
6432
7247
|
code?: Maybe<Scalars['String']>;
|
|
6433
7248
|
/** Primary contact for the business entity. */
|
|
@@ -6441,13 +7256,15 @@ export type Shipper = {
|
|
|
6441
7256
|
defaultShipper?: Maybe<BusinessEntity>;
|
|
6442
7257
|
/** ID of the default shipper for this business entity. This is used by default when a shipment is sent to this business entity */
|
|
6443
7258
|
defaultShipperId?: Maybe<Scalars['ObjectId']>;
|
|
7259
|
+
/** Document requirements for invoicing for this business entity */
|
|
7260
|
+
documentRequirements?: Maybe<Array<DocumentRequirement>>;
|
|
6444
7261
|
/** Documents for the business entity */
|
|
6445
7262
|
documents?: Maybe<Array<Document>>;
|
|
6446
7263
|
/** DOT Number for carriers and brokers */
|
|
6447
7264
|
dotNumber?: Maybe<Scalars['String']>;
|
|
6448
7265
|
/** ID of the business entity in an external system. */
|
|
6449
7266
|
externalId?: Maybe<Scalars['String']>;
|
|
6450
|
-
/** Federal ID for
|
|
7267
|
+
/** Federal ID for business entities */
|
|
6451
7268
|
federalId?: Maybe<Scalars['String']>;
|
|
6452
7269
|
goodInventoryItems?: Maybe<Array<GoodInventoryItem>>;
|
|
6453
7270
|
/** IDs of the groups that this business entity belongs to */
|
|
@@ -6456,6 +7273,7 @@ export type Shipper = {
|
|
|
6456
7273
|
mcNumber?: Maybe<Scalars['String']>;
|
|
6457
7274
|
/** Legal name of the business entity. */
|
|
6458
7275
|
name: Scalars['String'];
|
|
7276
|
+
notes?: Maybe<Array<BusinessEntityNote>>;
|
|
6459
7277
|
/** Opening schedules for the business entity. */
|
|
6460
7278
|
openingSchedules?: Maybe<Array<OpeningSchedule>>;
|
|
6461
7279
|
/** The business entity that this business entity belongs to */
|
|
@@ -6489,6 +7307,12 @@ export type Shipper = {
|
|
|
6489
7307
|
type: BusinessEntityType;
|
|
6490
7308
|
};
|
|
6491
7309
|
|
|
7310
|
+
|
|
7311
|
+
/** A Shipper Business entity */
|
|
7312
|
+
export type ShipperStorageFacilitiesArgs = {
|
|
7313
|
+
includeLinkedFacilities?: InputMaybe<Scalars['Boolean']>;
|
|
7314
|
+
};
|
|
7315
|
+
|
|
6492
7316
|
export type ShipperPaginatedResult = {
|
|
6493
7317
|
__typename?: 'ShipperPaginatedResult';
|
|
6494
7318
|
count: Scalars['Int'];
|
|
@@ -6559,8 +7383,12 @@ export type Step = {
|
|
|
6559
7383
|
export type StorageFacility = {
|
|
6560
7384
|
__typename?: 'StorageFacility';
|
|
6561
7385
|
capacity: Scalars['Float'];
|
|
7386
|
+
commodities?: Maybe<Array<GoodProfile>>;
|
|
7387
|
+
/** @deprecated Use commodities instead */
|
|
6562
7388
|
commodity?: Maybe<GoodProfile>;
|
|
6563
|
-
|
|
7389
|
+
/** @deprecated Use commodityIds instead */
|
|
7390
|
+
commodityId?: Maybe<Scalars['ObjectId']>;
|
|
7391
|
+
commodityIds: Array<Scalars['ObjectId']>;
|
|
6564
7392
|
currentForecastedReading?: Maybe<Reading>;
|
|
6565
7393
|
currentSalesTrend?: Maybe<Scalars['Float']>;
|
|
6566
7394
|
defaultPinCode?: Maybe<Scalars['String']>;
|
|
@@ -6568,6 +7396,7 @@ export type StorageFacility = {
|
|
|
6568
7396
|
defaultSupplierId?: Maybe<Scalars['ObjectId']>;
|
|
6569
7397
|
identifier: Scalars['String'];
|
|
6570
7398
|
latestReading?: Maybe<Reading>;
|
|
7399
|
+
linkedStorageFacilityIds?: Maybe<Array<Scalars['String']>>;
|
|
6571
7400
|
runoutDate?: Maybe<Scalars['DateTime']>;
|
|
6572
7401
|
runoutDateAfterNextShipment?: Maybe<Scalars['DateTime']>;
|
|
6573
7402
|
safeFillLevel?: Maybe<Scalars['Float']>;
|
|
@@ -6584,10 +7413,12 @@ export type StorageFacilityDateRangeSales = {
|
|
|
6584
7413
|
|
|
6585
7414
|
export type StorageFacilityInput = {
|
|
6586
7415
|
capacity: Scalars['Float'];
|
|
6587
|
-
commodityId
|
|
7416
|
+
commodityId?: InputMaybe<Scalars['ObjectId']>;
|
|
7417
|
+
commodityIds: Array<Scalars['ObjectId']>;
|
|
6588
7418
|
defaultPinCode?: InputMaybe<Scalars['String']>;
|
|
6589
7419
|
defaultSupplierId?: InputMaybe<Scalars['ObjectId']>;
|
|
6590
7420
|
identifier: Scalars['String'];
|
|
7421
|
+
linkedStorageFacilityIds?: InputMaybe<Array<Scalars['String']>>;
|
|
6591
7422
|
safeFillLevel?: InputMaybe<Scalars['Float']>;
|
|
6592
7423
|
safeFillPercentage?: InputMaybe<Scalars['Float']>;
|
|
6593
7424
|
shutDownLevel?: InputMaybe<Scalars['Float']>;
|
|
@@ -6683,14 +7514,14 @@ export type SupplierContract = {
|
|
|
6683
7514
|
__typename?: 'SupplierContract';
|
|
6684
7515
|
_id: Scalars['String'];
|
|
6685
7516
|
/** The maximum quantities of product allowed by the contract */
|
|
6686
|
-
allocation
|
|
7517
|
+
allocation?: Maybe<SupplierContractAllocation>;
|
|
6687
7518
|
/** The conditions that must be met for the contract to apply */
|
|
6688
7519
|
conditions?: Maybe<Array<SupplierContractCondition>>;
|
|
6689
7520
|
/** The identifier of the contract */
|
|
6690
7521
|
contractNumber: Scalars['String'];
|
|
6691
7522
|
customer?: Maybe<BusinessEntity>;
|
|
6692
7523
|
/** The id of the customer that the contract is for */
|
|
6693
|
-
customerId
|
|
7524
|
+
customerId?: Maybe<Scalars['ObjectId']>;
|
|
6694
7525
|
/** The end date of the contract. The contract cannot be used after this date */
|
|
6695
7526
|
endDate: Scalars['DateTime'];
|
|
6696
7527
|
goodProfile?: Maybe<GoodProfile>;
|
|
@@ -6700,7 +7531,7 @@ export type SupplierContract = {
|
|
|
6700
7531
|
pinCode?: Maybe<Scalars['String']>;
|
|
6701
7532
|
shipper?: Maybe<BusinessEntity>;
|
|
6702
7533
|
/** The id of the shipper where the commodity can be picked up at */
|
|
6703
|
-
shipperId
|
|
7534
|
+
shipperId?: Maybe<Scalars['ObjectId']>;
|
|
6704
7535
|
/** The start date of the contract. The contract cannot be used before this date */
|
|
6705
7536
|
startDate: Scalars['DateTime'];
|
|
6706
7537
|
supplier?: Maybe<BusinessEntity>;
|
|
@@ -6860,6 +7691,7 @@ export type Tractor = {
|
|
|
6860
7691
|
documents?: Maybe<Array<Document>>;
|
|
6861
7692
|
domicile?: Maybe<Address>;
|
|
6862
7693
|
eldId?: Maybe<Scalars['String']>;
|
|
7694
|
+
externalId?: Maybe<Scalars['String']>;
|
|
6863
7695
|
groupIds?: Maybe<Array<Scalars['ObjectId']>>;
|
|
6864
7696
|
/** The last known location from the ELD. This is the safest location to use if you want to know the exact location of the tractor but it might not update as often */
|
|
6865
7697
|
lastKnownEldLocation?: Maybe<Coordinates>;
|
|
@@ -6923,6 +7755,7 @@ export type TractorUpdateInput = {
|
|
|
6923
7755
|
documents?: InputMaybe<Array<DocumentInput>>;
|
|
6924
7756
|
domicile?: InputMaybe<NewAddressInput>;
|
|
6925
7757
|
eldId?: InputMaybe<Scalars['String']>;
|
|
7758
|
+
externalId?: InputMaybe<Scalars['String']>;
|
|
6926
7759
|
groupIds?: InputMaybe<Array<Scalars['ObjectId']>>;
|
|
6927
7760
|
licenseNumber?: InputMaybe<Scalars['String']>;
|
|
6928
7761
|
make?: InputMaybe<Scalars['String']>;
|
|
@@ -7133,6 +7966,8 @@ export type Transaction = {
|
|
|
7133
7966
|
reimburseToDriver?: Maybe<Scalars['Boolean']>;
|
|
7134
7967
|
/** Related transaction ID */
|
|
7135
7968
|
relatedTransactionId?: Maybe<Scalars['ObjectId']>;
|
|
7969
|
+
/** Shipment ID this charge is for */
|
|
7970
|
+
shipmentId?: Maybe<Scalars['ObjectId']>;
|
|
7136
7971
|
/** Whether the transaction is taxable */
|
|
7137
7972
|
taxable?: Maybe<Scalars['Boolean']>;
|
|
7138
7973
|
/** Type of transaction */
|
|
@@ -7164,6 +7999,8 @@ export type TransactionInput = {
|
|
|
7164
7999
|
rate: Scalars['Float'];
|
|
7165
8000
|
reimburseToDriver?: InputMaybe<Scalars['Boolean']>;
|
|
7166
8001
|
relatedTransactionId?: InputMaybe<Scalars['ObjectId']>;
|
|
8002
|
+
/** Shipment ID this charge is for */
|
|
8003
|
+
shipmentId?: InputMaybe<Scalars['ObjectId']>;
|
|
7167
8004
|
taxable?: InputMaybe<Scalars['Boolean']>;
|
|
7168
8005
|
type?: InputMaybe<TransactionType>;
|
|
7169
8006
|
unit: Scalars['Float'];
|
|
@@ -7179,6 +8016,8 @@ export type TransactionInputObject = {
|
|
|
7179
8016
|
rate: Scalars['Float'];
|
|
7180
8017
|
reimburseToDriver?: Maybe<Scalars['Boolean']>;
|
|
7181
8018
|
relatedTransactionId?: Maybe<Scalars['ObjectId']>;
|
|
8019
|
+
/** Shipment ID this charge is for */
|
|
8020
|
+
shipmentId?: Maybe<Scalars['ObjectId']>;
|
|
7182
8021
|
taxable?: Maybe<Scalars['Boolean']>;
|
|
7183
8022
|
type?: Maybe<TransactionType>;
|
|
7184
8023
|
unit: Scalars['Float'];
|
|
@@ -7204,6 +8043,8 @@ export type TransactionUpdateInput = {
|
|
|
7204
8043
|
rate?: InputMaybe<Scalars['Float']>;
|
|
7205
8044
|
reimburseToDriver?: InputMaybe<Scalars['Boolean']>;
|
|
7206
8045
|
relatedTransactionId?: InputMaybe<Scalars['ObjectId']>;
|
|
8046
|
+
/** Shipment ID this charge is for */
|
|
8047
|
+
shipmentId?: InputMaybe<Scalars['ObjectId']>;
|
|
7207
8048
|
taxable?: InputMaybe<Scalars['Boolean']>;
|
|
7208
8049
|
type?: InputMaybe<TransactionType>;
|
|
7209
8050
|
unit?: InputMaybe<Scalars['Float']>;
|
|
@@ -7349,6 +8190,7 @@ export type TripPayment = {
|
|
|
7349
8190
|
label: Scalars['String'];
|
|
7350
8191
|
paymentRule?: Maybe<PaymentRule>;
|
|
7351
8192
|
rate: Scalars['Float'];
|
|
8193
|
+
rateTableId?: Maybe<Scalars['ObjectId']>;
|
|
7352
8194
|
trip: Scalars['ObjectId'];
|
|
7353
8195
|
unit: Scalars['Float'];
|
|
7354
8196
|
unitType: Scalars['String'];
|
|
@@ -7462,6 +8304,20 @@ export type UpdateAccountInput = {
|
|
|
7462
8304
|
lastName?: InputMaybe<Scalars['String']>;
|
|
7463
8305
|
};
|
|
7464
8306
|
|
|
8307
|
+
export type UpdateGoodDeliveredQuantityInput = {
|
|
8308
|
+
/** The quantity that was actually delivered to the customer */
|
|
8309
|
+
deliveredQuantity: Scalars['Float'];
|
|
8310
|
+
goodId: Scalars['String'];
|
|
8311
|
+
shipmentId: Scalars['String'];
|
|
8312
|
+
};
|
|
8313
|
+
|
|
8314
|
+
export type UpdateGoodLoadedQuantityInput = {
|
|
8315
|
+
goodId: Scalars['String'];
|
|
8316
|
+
/** The quantity that was loaded by the driver */
|
|
8317
|
+
loadedQuantity: Scalars['Float'];
|
|
8318
|
+
shipmentId: Scalars['String'];
|
|
8319
|
+
};
|
|
8320
|
+
|
|
7465
8321
|
export type UpdateShipmentEventInput = {
|
|
7466
8322
|
date?: InputMaybe<Scalars['DateTime']>;
|
|
7467
8323
|
};
|
|
@@ -7558,14 +8414,14 @@ export type GetBusinessEntityListQueryVariables = Exact<{
|
|
|
7558
8414
|
}>;
|
|
7559
8415
|
|
|
7560
8416
|
|
|
7561
|
-
export type GetBusinessEntityListQuery = { __typename?: 'Query', businessEntities: { __typename?: 'BusinessEntityPaginatedResult', count: number, data: Array<{ __typename?: 'BusinessEntity', _id: string, code?: string | null, mcNumber?: string | null, name: string, type: BusinessEntityType, additionalTypes?: Array<BusinessEntityType> | null, address: { __typename?: 'Address', label: string }, contact: { __typename?: 'Contact', firstname: string, lastname: string, email?: string | null, phoneNumber: string }, storageFacilities?: Array<{ __typename?: 'StorageFacility', identifier: string, capacity: number, unit: StorageFacilityUnit, commodityId
|
|
8417
|
+
export type GetBusinessEntityListQuery = { __typename?: 'Query', businessEntities: { __typename?: 'BusinessEntityPaginatedResult', count: number, data: Array<{ __typename?: 'BusinessEntity', _id: string, code?: string | null, mcNumber?: string | null, name: string, type: BusinessEntityType, additionalTypes?: Array<BusinessEntityType> | null, address: { __typename?: 'Address', label: string }, contact: { __typename?: 'Contact', firstname: string, lastname: string, email?: string | null, phoneNumber: string }, storageFacilities?: Array<{ __typename?: 'StorageFacility', identifier: string, capacity: number, unit: StorageFacilityUnit, commodityId?: any | null, safeFillLevel?: number | null, shutDownLevel?: number | null }> | null }> } };
|
|
7562
8418
|
|
|
7563
8419
|
export type GetBusinessEntityDetailsQueryVariables = Exact<{
|
|
7564
8420
|
id: Scalars['String'];
|
|
7565
8421
|
}>;
|
|
7566
8422
|
|
|
7567
8423
|
|
|
7568
|
-
export type GetBusinessEntityDetailsQuery = { __typename?: 'Query', businessEntityById: { __typename?: 'BusinessEntity', _id: string, name: string, code?: string | null, mcNumber?: string | null, additionalTypes?: Array<BusinessEntityType> | null, addressTimezone?: string | null, billingEmail?: string | null, billingTermsDay?: number | null, remitEmail?: string | null, type: BusinessEntityType, address: { __typename?: 'Address', label: string, city?: string | null, country?: string | null, googlePlaceId?: string | null, line1?: string | null, line2?: string | null, postalCode?: string | null, state?: string | null, coordinates: { __typename?: 'Coordinates', latitude: number, longitude: number } }, billingAddress?: { __typename?: 'TextualAddress', city?: string | null, country?: string | null, googlePlaceId?: string | null, line1?: string | null, line2?: string | null, postalCode?: string | null, state?: string | null } | null, remitAddress?: { __typename?: 'TextualAddress', city?: string | null, country?: string | null, googlePlaceId?: string | null, line1?: string | null, line2?: string | null, postalCode?: string | null, state?: string | null } | null, contact: { __typename?: 'Contact', email?: string | null, firstname: string, lastname: string, phoneNumber: string }, openingSchedules?: Array<{ __typename?: 'OpeningSchedule', openingTime: string, closingTime: string, days: Array<number> }> | null, additionalContacts?: Array<{ __typename?: 'Contact', firstname: string, lastname: string, email?: string | null, phoneNumber: string }> | null, goodInventoryItems?: Array<{ __typename?: 'GoodInventoryItem', _id?: string | null, label: string, weight?: number | null }> | null, storageFacilities?: Array<{ __typename?: 'StorageFacility', identifier: string, capacity: number, unit: StorageFacilityUnit, commodityId
|
|
8424
|
+
export type GetBusinessEntityDetailsQuery = { __typename?: 'Query', businessEntityById: { __typename?: 'BusinessEntity', _id: string, name: string, code?: string | null, mcNumber?: string | null, additionalTypes?: Array<BusinessEntityType> | null, addressTimezone?: string | null, billingEmail?: string | null, billingTermsDay?: number | null, remitEmail?: string | null, type: BusinessEntityType, address: { __typename?: 'Address', label: string, city?: string | null, country?: string | null, googlePlaceId?: string | null, line1?: string | null, line2?: string | null, postalCode?: string | null, state?: string | null, coordinates: { __typename?: 'Coordinates', latitude: number, longitude: number } }, billingAddress?: { __typename?: 'TextualAddress', city?: string | null, country?: string | null, googlePlaceId?: string | null, line1?: string | null, line2?: string | null, postalCode?: string | null, state?: string | null } | null, remitAddress?: { __typename?: 'TextualAddress', city?: string | null, country?: string | null, googlePlaceId?: string | null, line1?: string | null, line2?: string | null, postalCode?: string | null, state?: string | null } | null, contact: { __typename?: 'Contact', email?: string | null, firstname: string, lastname: string, phoneNumber: string }, openingSchedules?: Array<{ __typename?: 'OpeningSchedule', openingTime: string, closingTime: string, days: Array<number> }> | null, additionalContacts?: Array<{ __typename?: 'Contact', firstname: string, lastname: string, email?: string | null, phoneNumber: string }> | null, goodInventoryItems?: Array<{ __typename?: 'GoodInventoryItem', _id?: string | null, label: string, weight?: number | null }> | null, storageFacilities?: Array<{ __typename?: 'StorageFacility', identifier: string, capacity: number, unit: StorageFacilityUnit, commodityId?: any | null, safeFillLevel?: number | null, shutDownLevel?: number | null, commodity?: { __typename?: 'GoodProfile', _id: string, label: string, unit: GoodUnits, weight: number } | null }> | null } };
|
|
7569
8425
|
|
|
7570
8426
|
export type GetBusinessEntityDetailsByExternalIdQueryVariables = Exact<{
|
|
7571
8427
|
externalId: Scalars['String'];
|
|
@@ -7625,14 +8481,14 @@ export type GetDriverByEldIdQueryVariables = Exact<{
|
|
|
7625
8481
|
}>;
|
|
7626
8482
|
|
|
7627
8483
|
|
|
7628
|
-
export type GetDriverByEldIdQuery = { __typename?: 'Query', driverByEldId?: { __typename?: 'Driver', _id: string } | null };
|
|
8484
|
+
export type GetDriverByEldIdQuery = { __typename?: 'Query', driverByEldId?: { __typename?: 'Driver', _id: string, firstname: string, lastname: string, phoneNumber?: string | null, status: AssetStatus, eldId?: string | null, license?: { __typename?: 'DriverLicense', licenseNumber?: string | null, issuedState?: string | null } | null } | null };
|
|
7629
8485
|
|
|
7630
8486
|
export type GetDriverByLicenseNumberQueryVariables = Exact<{
|
|
7631
8487
|
licenseNumber: Scalars['String'];
|
|
7632
8488
|
}>;
|
|
7633
8489
|
|
|
7634
8490
|
|
|
7635
|
-
export type GetDriverByLicenseNumberQuery = { __typename?: 'Query', driverByLicenseNumber?: { __typename?: 'Driver', _id: string } | null };
|
|
8491
|
+
export type GetDriverByLicenseNumberQuery = { __typename?: 'Query', driverByLicenseNumber?: { __typename?: 'Driver', _id: string, firstname: string, lastname: string, phoneNumber?: string | null, status: AssetStatus, eldId?: string | null, license?: { __typename?: 'DriverLicense', licenseNumber?: string | null, issuedState?: string | null } | null } | null };
|
|
7636
8492
|
|
|
7637
8493
|
export type AddDriverMutationVariables = Exact<{
|
|
7638
8494
|
newDriverData: NewDriverInput;
|
|
@@ -7649,6 +8505,61 @@ export type EditDriverMutationVariables = Exact<{
|
|
|
7649
8505
|
|
|
7650
8506
|
export type EditDriverMutation = { __typename?: 'Mutation', editDriver: { __typename?: 'Driver', _id: string } };
|
|
7651
8507
|
|
|
8508
|
+
export type GetGoodProfileListQueryVariables = Exact<{
|
|
8509
|
+
search?: InputMaybe<Scalars['String']>;
|
|
8510
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
8511
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
8512
|
+
filter?: InputMaybe<Scalars['JSON']>;
|
|
8513
|
+
orderBy?: InputMaybe<Array<OrderByItem> | OrderByItem>;
|
|
8514
|
+
}>;
|
|
8515
|
+
|
|
8516
|
+
|
|
8517
|
+
export type GetGoodProfileListQuery = { __typename?: 'Query', goodProfiles: { __typename?: 'GoodProfilePaginatedResult', count: number, data: Array<{ __typename?: 'GoodProfile', _id: string, code?: string | null, label: string, weight: number, liquidGravity?: number | null, unit: GoodUnits, supplierIds?: Array<string> | null, shipperIds?: Array<string> | null, color?: string | null, goodProfileClassId?: any | null, tags?: Array<string> | null, groupIds?: Array<any> | null, goodProfileClass?: { __typename?: 'GoodProfileClass', _id: any, label: string } | null, equivalences?: Array<{ __typename?: 'GoodProfileEquivalence', equivalentGoodId: any, conditions: Array<{ __typename?: 'GoodProfileEquivalenceCondition', operator: GoodProfileEquivalenceConditionOperator, target: GoodProfileEquivalenceConditionTarget, value?: any | null }> }> | null, restrictions?: Array<{ __typename?: 'GoodProfileRestriction', type: GoodProfileRestrictionType, value?: any | null }> | null, customFields?: Array<{ __typename?: 'CustomField', key: string, value?: any | null }> | null }> } };
|
|
8518
|
+
|
|
8519
|
+
export type GetGoodProfileDetailsQueryVariables = Exact<{
|
|
8520
|
+
id: Scalars['String'];
|
|
8521
|
+
}>;
|
|
8522
|
+
|
|
8523
|
+
|
|
8524
|
+
export type GetGoodProfileDetailsQuery = { __typename?: 'Query', goodProfileById: { __typename?: 'GoodProfile', _id: string, code?: string | null, label: string, weight: number, liquidGravity?: number | null, unit: GoodUnits, supplierIds?: Array<string> | null, shipperIds?: Array<string> | null, color?: string | null, goodProfileClassId?: any | null, tags?: Array<string> | null, groupIds?: Array<any> | null, documents?: Array<{ __typename?: 'Document', _id?: string | null, name: string, url: string }> | null, goodProfileClass?: { __typename?: 'GoodProfileClass', _id: any, label: string } | null, equivalences?: Array<{ __typename?: 'GoodProfileEquivalence', equivalentGoodId: any, conditions: Array<{ __typename?: 'GoodProfileEquivalenceCondition', operator: GoodProfileEquivalenceConditionOperator, target: GoodProfileEquivalenceConditionTarget, value?: any | null }> }> | null, restrictions?: Array<{ __typename?: 'GoodProfileRestriction', type: GoodProfileRestrictionType, value?: any | null }> | null, customFields?: Array<{ __typename?: 'CustomField', key: string, value?: any | null }> | null } };
|
|
8525
|
+
|
|
8526
|
+
export type DeleteGoodProfileMutationVariables = Exact<{
|
|
8527
|
+
id: Scalars['String'];
|
|
8528
|
+
}>;
|
|
8529
|
+
|
|
8530
|
+
|
|
8531
|
+
export type DeleteGoodProfileMutation = { __typename?: 'Mutation', deleteGoodProfile: boolean };
|
|
8532
|
+
|
|
8533
|
+
export type AddGoodProfileMutationVariables = Exact<{
|
|
8534
|
+
newGoodProfileData: NewGoodProfileInput;
|
|
8535
|
+
}>;
|
|
8536
|
+
|
|
8537
|
+
|
|
8538
|
+
export type AddGoodProfileMutation = { __typename?: 'Mutation', addGoodProfile: { __typename?: 'GoodProfile', _id: string } };
|
|
8539
|
+
|
|
8540
|
+
export type EditGoodProfileMutationVariables = Exact<{
|
|
8541
|
+
id: Scalars['String'];
|
|
8542
|
+
editGoodProfileData: GoodProfileUpdateInput;
|
|
8543
|
+
}>;
|
|
8544
|
+
|
|
8545
|
+
|
|
8546
|
+
export type EditGoodProfileMutation = { __typename?: 'Mutation', editGoodProfile: { __typename?: 'GoodProfile', _id: string } };
|
|
8547
|
+
|
|
8548
|
+
export type BulkAddGoodProfilesMutationVariables = Exact<{
|
|
8549
|
+
newGoodProfilesData: Array<NewGoodProfileInput> | NewGoodProfileInput;
|
|
8550
|
+
}>;
|
|
8551
|
+
|
|
8552
|
+
|
|
8553
|
+
export type BulkAddGoodProfilesMutation = { __typename?: 'Mutation', bulkAddGoodProfiles: Array<{ __typename?: 'GoodProfile', _id: string }> };
|
|
8554
|
+
|
|
8555
|
+
export type BulkEditGoodProfilesMutationVariables = Exact<{
|
|
8556
|
+
editGoodProfileData: GoodProfileUpdateInput;
|
|
8557
|
+
ids: Array<Scalars['ObjectId']> | Scalars['ObjectId'];
|
|
8558
|
+
}>;
|
|
8559
|
+
|
|
8560
|
+
|
|
8561
|
+
export type BulkEditGoodProfilesMutation = { __typename?: 'Mutation', bulkEditGoodProfiles: { __typename?: 'BulkUpdateResult', matchedCount?: number | null, modifiedCount?: number | null, upsertedCount?: number | null } };
|
|
8562
|
+
|
|
7652
8563
|
export type GetInvoiceListQueryVariables = Exact<{
|
|
7653
8564
|
search?: InputMaybe<Scalars['String']>;
|
|
7654
8565
|
skip?: InputMaybe<Scalars['Int']>;
|
|
@@ -7710,6 +8621,28 @@ export type GetShipmentDetailsQueryVariables = Exact<{
|
|
|
7710
8621
|
|
|
7711
8622
|
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 } };
|
|
7712
8623
|
|
|
8624
|
+
export type CreateShipmentMutationVariables = Exact<{
|
|
8625
|
+
shipment: NewShipmentInput;
|
|
8626
|
+
}>;
|
|
8627
|
+
|
|
8628
|
+
|
|
8629
|
+
export type CreateShipmentMutation = { __typename?: 'Mutation', addShipment: { __typename?: 'Shipment', _id: string, shipmentNumber: string, shipmentLocations: Array<{ __typename?: 'ShipmentLocation', shipper?: { __typename?: 'BusinessEntity', _id: string } | null }> } };
|
|
8630
|
+
|
|
8631
|
+
export type GenerateShipmentRouteMutationVariables = Exact<{
|
|
8632
|
+
shipment: NewShipmentInput;
|
|
8633
|
+
}>;
|
|
8634
|
+
|
|
8635
|
+
|
|
8636
|
+
export type GenerateShipmentRouteMutation = { __typename?: 'Mutation', generateShipmentRoute: { __typename?: 'ShipmentRoute', routeDistance: number, firstPickupTime: any, distanceToStart: number, distanceToEnd: number, lastDropoffTime: any, locations?: Array<{ __typename?: 'TripShipmentLocation', _id: string, locationType: ShipmentLocationType, arrivalTime: any, serviceDuration: number, setupDuration: number, tripShipmentLocationId: string, waitingDuration: number, timeWindows: Array<{ __typename?: 'DateTimeWindow', fromDate: any, toDate: any }>, location: { __typename?: 'Coordinates', latitude: number, longitude: number } }> | null } };
|
|
8637
|
+
|
|
8638
|
+
export type UpdateShipmentMutationVariables = Exact<{
|
|
8639
|
+
editShipmentData: ShipmentUpdateInput;
|
|
8640
|
+
id: Scalars['String'];
|
|
8641
|
+
}>;
|
|
8642
|
+
|
|
8643
|
+
|
|
8644
|
+
export type UpdateShipmentMutation = { __typename?: 'Mutation', editShipment: { __typename?: 'Shipment', _id: string, shipmentLocations: Array<{ __typename?: 'ShipmentLocation', shipper?: { __typename?: 'BusinessEntity', _id: string } | null }> } };
|
|
8645
|
+
|
|
7713
8646
|
export type AddStorageFacilityReadingMutationVariables = Exact<{
|
|
7714
8647
|
newStorageFacilityReadingData: NewStorageFacilityReadingInput;
|
|
7715
8648
|
}>;
|
|
@@ -8209,6 +9142,15 @@ export const GetDriverByEldIdDocument = gql`
|
|
|
8209
9142
|
query getDriverByEldId($eldId: String!) {
|
|
8210
9143
|
driverByEldId(eldId: $eldId) {
|
|
8211
9144
|
_id
|
|
9145
|
+
firstname
|
|
9146
|
+
lastname
|
|
9147
|
+
phoneNumber
|
|
9148
|
+
status
|
|
9149
|
+
license {
|
|
9150
|
+
licenseNumber
|
|
9151
|
+
issuedState
|
|
9152
|
+
}
|
|
9153
|
+
eldId
|
|
8212
9154
|
}
|
|
8213
9155
|
}
|
|
8214
9156
|
`;
|
|
@@ -8216,6 +9158,15 @@ export const GetDriverByLicenseNumberDocument = gql`
|
|
|
8216
9158
|
query getDriverByLicenseNumber($licenseNumber: String!) {
|
|
8217
9159
|
driverByLicenseNumber(licenseNumber: $licenseNumber) {
|
|
8218
9160
|
_id
|
|
9161
|
+
firstname
|
|
9162
|
+
lastname
|
|
9163
|
+
phoneNumber
|
|
9164
|
+
status
|
|
9165
|
+
license {
|
|
9166
|
+
licenseNumber
|
|
9167
|
+
issuedState
|
|
9168
|
+
}
|
|
9169
|
+
eldId
|
|
8219
9170
|
}
|
|
8220
9171
|
}
|
|
8221
9172
|
`;
|
|
@@ -8233,6 +9184,131 @@ export const EditDriverDocument = gql`
|
|
|
8233
9184
|
}
|
|
8234
9185
|
}
|
|
8235
9186
|
`;
|
|
9187
|
+
export const GetGoodProfileListDocument = gql`
|
|
9188
|
+
query getGoodProfileList($search: String, $skip: Int, $take: Int, $filter: JSON, $orderBy: [OrderByItem!]) {
|
|
9189
|
+
goodProfiles(
|
|
9190
|
+
search: $search
|
|
9191
|
+
skip: $skip
|
|
9192
|
+
take: $take
|
|
9193
|
+
filter: $filter
|
|
9194
|
+
orderBy: $orderBy
|
|
9195
|
+
) {
|
|
9196
|
+
data {
|
|
9197
|
+
_id
|
|
9198
|
+
code
|
|
9199
|
+
label
|
|
9200
|
+
weight
|
|
9201
|
+
liquidGravity
|
|
9202
|
+
unit
|
|
9203
|
+
supplierIds
|
|
9204
|
+
shipperIds
|
|
9205
|
+
color
|
|
9206
|
+
goodProfileClassId
|
|
9207
|
+
goodProfileClass {
|
|
9208
|
+
_id
|
|
9209
|
+
label
|
|
9210
|
+
}
|
|
9211
|
+
equivalences {
|
|
9212
|
+
equivalentGoodId
|
|
9213
|
+
conditions {
|
|
9214
|
+
operator
|
|
9215
|
+
target
|
|
9216
|
+
value
|
|
9217
|
+
}
|
|
9218
|
+
}
|
|
9219
|
+
restrictions {
|
|
9220
|
+
type
|
|
9221
|
+
value
|
|
9222
|
+
}
|
|
9223
|
+
tags
|
|
9224
|
+
customFields {
|
|
9225
|
+
key
|
|
9226
|
+
value
|
|
9227
|
+
}
|
|
9228
|
+
groupIds
|
|
9229
|
+
}
|
|
9230
|
+
count
|
|
9231
|
+
}
|
|
9232
|
+
}
|
|
9233
|
+
`;
|
|
9234
|
+
export const GetGoodProfileDetailsDocument = gql`
|
|
9235
|
+
query getGoodProfileDetails($id: String!) {
|
|
9236
|
+
goodProfileById(id: $id) {
|
|
9237
|
+
_id
|
|
9238
|
+
code
|
|
9239
|
+
label
|
|
9240
|
+
documents {
|
|
9241
|
+
_id
|
|
9242
|
+
name
|
|
9243
|
+
url
|
|
9244
|
+
}
|
|
9245
|
+
weight
|
|
9246
|
+
liquidGravity
|
|
9247
|
+
unit
|
|
9248
|
+
supplierIds
|
|
9249
|
+
shipperIds
|
|
9250
|
+
color
|
|
9251
|
+
goodProfileClassId
|
|
9252
|
+
goodProfileClass {
|
|
9253
|
+
_id
|
|
9254
|
+
label
|
|
9255
|
+
}
|
|
9256
|
+
equivalences {
|
|
9257
|
+
equivalentGoodId
|
|
9258
|
+
conditions {
|
|
9259
|
+
operator
|
|
9260
|
+
target
|
|
9261
|
+
value
|
|
9262
|
+
}
|
|
9263
|
+
}
|
|
9264
|
+
restrictions {
|
|
9265
|
+
type
|
|
9266
|
+
value
|
|
9267
|
+
}
|
|
9268
|
+
tags
|
|
9269
|
+
customFields {
|
|
9270
|
+
key
|
|
9271
|
+
value
|
|
9272
|
+
}
|
|
9273
|
+
groupIds
|
|
9274
|
+
}
|
|
9275
|
+
}
|
|
9276
|
+
`;
|
|
9277
|
+
export const DeleteGoodProfileDocument = gql`
|
|
9278
|
+
mutation deleteGoodProfile($id: String!) {
|
|
9279
|
+
deleteGoodProfile(id: $id)
|
|
9280
|
+
}
|
|
9281
|
+
`;
|
|
9282
|
+
export const AddGoodProfileDocument = gql`
|
|
9283
|
+
mutation addGoodProfile($newGoodProfileData: NewGoodProfileInput!) {
|
|
9284
|
+
addGoodProfile(newGoodProfileData: $newGoodProfileData) {
|
|
9285
|
+
_id
|
|
9286
|
+
}
|
|
9287
|
+
}
|
|
9288
|
+
`;
|
|
9289
|
+
export const EditGoodProfileDocument = gql`
|
|
9290
|
+
mutation editGoodProfile($id: String!, $editGoodProfileData: GoodProfileUpdateInput!) {
|
|
9291
|
+
editGoodProfile(id: $id, editGoodProfileData: $editGoodProfileData) {
|
|
9292
|
+
_id
|
|
9293
|
+
}
|
|
9294
|
+
}
|
|
9295
|
+
`;
|
|
9296
|
+
export const BulkAddGoodProfilesDocument = gql`
|
|
9297
|
+
mutation bulkAddGoodProfiles($newGoodProfilesData: [NewGoodProfileInput!]!) {
|
|
9298
|
+
bulkAddGoodProfiles(newGoodProfilesData: $newGoodProfilesData) {
|
|
9299
|
+
_id
|
|
9300
|
+
}
|
|
9301
|
+
}
|
|
9302
|
+
`;
|
|
9303
|
+
export const BulkEditGoodProfilesDocument = gql`
|
|
9304
|
+
mutation bulkEditGoodProfiles($editGoodProfileData: GoodProfileUpdateInput!, $ids: [ObjectId!]!) {
|
|
9305
|
+
bulkEditGoodProfiles(editGoodProfileData: $editGoodProfileData, ids: $ids) {
|
|
9306
|
+
matchedCount
|
|
9307
|
+
modifiedCount
|
|
9308
|
+
upsertedCount
|
|
9309
|
+
}
|
|
9310
|
+
}
|
|
9311
|
+
`;
|
|
8236
9312
|
export const GetInvoiceListDocument = gql`
|
|
8237
9313
|
query getInvoiceList($search: String, $skip: Int, $take: Int, $status: InvoiceStatus, $filter: JSON, $orderBy: [OrderByItem!]) {
|
|
8238
9314
|
invoices(
|
|
@@ -8930,6 +10006,60 @@ export const GetShipmentDetailsDocument = gql`
|
|
|
8930
10006
|
}
|
|
8931
10007
|
}
|
|
8932
10008
|
`;
|
|
10009
|
+
export const CreateShipmentDocument = gql`
|
|
10010
|
+
mutation createShipment($shipment: NewShipmentInput!) {
|
|
10011
|
+
addShipment(newShipmentData: $shipment) {
|
|
10012
|
+
_id
|
|
10013
|
+
shipmentNumber
|
|
10014
|
+
shipmentLocations {
|
|
10015
|
+
shipper {
|
|
10016
|
+
_id
|
|
10017
|
+
}
|
|
10018
|
+
}
|
|
10019
|
+
}
|
|
10020
|
+
}
|
|
10021
|
+
`;
|
|
10022
|
+
export const GenerateShipmentRouteDocument = gql`
|
|
10023
|
+
mutation generateShipmentRoute($shipment: NewShipmentInput!) {
|
|
10024
|
+
generateShipmentRoute(shipmentData: $shipment) {
|
|
10025
|
+
locations {
|
|
10026
|
+
_id
|
|
10027
|
+
locationType
|
|
10028
|
+
arrivalTime
|
|
10029
|
+
timeWindows {
|
|
10030
|
+
fromDate
|
|
10031
|
+
toDate
|
|
10032
|
+
}
|
|
10033
|
+
location {
|
|
10034
|
+
latitude
|
|
10035
|
+
longitude
|
|
10036
|
+
}
|
|
10037
|
+
serviceDuration
|
|
10038
|
+
setupDuration
|
|
10039
|
+
tripShipmentLocationId
|
|
10040
|
+
waitingDuration
|
|
10041
|
+
}
|
|
10042
|
+
routeDistance
|
|
10043
|
+
firstPickupTime
|
|
10044
|
+
distanceToStart
|
|
10045
|
+
distanceToEnd
|
|
10046
|
+
firstPickupTime
|
|
10047
|
+
lastDropoffTime
|
|
10048
|
+
}
|
|
10049
|
+
}
|
|
10050
|
+
`;
|
|
10051
|
+
export const UpdateShipmentDocument = gql`
|
|
10052
|
+
mutation updateShipment($editShipmentData: ShipmentUpdateInput!, $id: String!) {
|
|
10053
|
+
editShipment(editShipmentData: $editShipmentData, id: $id) {
|
|
10054
|
+
_id
|
|
10055
|
+
shipmentLocations {
|
|
10056
|
+
shipper {
|
|
10057
|
+
_id
|
|
10058
|
+
}
|
|
10059
|
+
}
|
|
10060
|
+
}
|
|
10061
|
+
}
|
|
10062
|
+
`;
|
|
8933
10063
|
export const AddStorageFacilityReadingDocument = gql`
|
|
8934
10064
|
mutation addStorageFacilityReading($newStorageFacilityReadingData: NewStorageFacilityReadingInput!) {
|
|
8935
10065
|
addStorageFacilityReading(
|
|
@@ -9397,6 +10527,27 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
9397
10527
|
editDriver(variables: EditDriverMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<EditDriverMutation> {
|
|
9398
10528
|
return withWrapper((wrappedRequestHeaders) => client.request<EditDriverMutation>(EditDriverDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'editDriver', 'mutation');
|
|
9399
10529
|
},
|
|
10530
|
+
getGoodProfileList(variables?: GetGoodProfileListQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetGoodProfileListQuery> {
|
|
10531
|
+
return withWrapper((wrappedRequestHeaders) => client.request<GetGoodProfileListQuery>(GetGoodProfileListDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getGoodProfileList', 'query');
|
|
10532
|
+
},
|
|
10533
|
+
getGoodProfileDetails(variables: GetGoodProfileDetailsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetGoodProfileDetailsQuery> {
|
|
10534
|
+
return withWrapper((wrappedRequestHeaders) => client.request<GetGoodProfileDetailsQuery>(GetGoodProfileDetailsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getGoodProfileDetails', 'query');
|
|
10535
|
+
},
|
|
10536
|
+
deleteGoodProfile(variables: DeleteGoodProfileMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<DeleteGoodProfileMutation> {
|
|
10537
|
+
return withWrapper((wrappedRequestHeaders) => client.request<DeleteGoodProfileMutation>(DeleteGoodProfileDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'deleteGoodProfile', 'mutation');
|
|
10538
|
+
},
|
|
10539
|
+
addGoodProfile(variables: AddGoodProfileMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddGoodProfileMutation> {
|
|
10540
|
+
return withWrapper((wrappedRequestHeaders) => client.request<AddGoodProfileMutation>(AddGoodProfileDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'addGoodProfile', 'mutation');
|
|
10541
|
+
},
|
|
10542
|
+
editGoodProfile(variables: EditGoodProfileMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<EditGoodProfileMutation> {
|
|
10543
|
+
return withWrapper((wrappedRequestHeaders) => client.request<EditGoodProfileMutation>(EditGoodProfileDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'editGoodProfile', 'mutation');
|
|
10544
|
+
},
|
|
10545
|
+
bulkAddGoodProfiles(variables: BulkAddGoodProfilesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<BulkAddGoodProfilesMutation> {
|
|
10546
|
+
return withWrapper((wrappedRequestHeaders) => client.request<BulkAddGoodProfilesMutation>(BulkAddGoodProfilesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'bulkAddGoodProfiles', 'mutation');
|
|
10547
|
+
},
|
|
10548
|
+
bulkEditGoodProfiles(variables: BulkEditGoodProfilesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<BulkEditGoodProfilesMutation> {
|
|
10549
|
+
return withWrapper((wrappedRequestHeaders) => client.request<BulkEditGoodProfilesMutation>(BulkEditGoodProfilesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'bulkEditGoodProfiles', 'mutation');
|
|
10550
|
+
},
|
|
9400
10551
|
getInvoiceList(variables?: GetInvoiceListQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetInvoiceListQuery> {
|
|
9401
10552
|
return withWrapper((wrappedRequestHeaders) => client.request<GetInvoiceListQuery>(GetInvoiceListDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getInvoiceList', 'query');
|
|
9402
10553
|
},
|
|
@@ -9418,6 +10569,15 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
9418
10569
|
getShipmentDetails(variables: GetShipmentDetailsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetShipmentDetailsQuery> {
|
|
9419
10570
|
return withWrapper((wrappedRequestHeaders) => client.request<GetShipmentDetailsQuery>(GetShipmentDetailsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getShipmentDetails', 'query');
|
|
9420
10571
|
},
|
|
10572
|
+
createShipment(variables: CreateShipmentMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CreateShipmentMutation> {
|
|
10573
|
+
return withWrapper((wrappedRequestHeaders) => client.request<CreateShipmentMutation>(CreateShipmentDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'createShipment', 'mutation');
|
|
10574
|
+
},
|
|
10575
|
+
generateShipmentRoute(variables: GenerateShipmentRouteMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GenerateShipmentRouteMutation> {
|
|
10576
|
+
return withWrapper((wrappedRequestHeaders) => client.request<GenerateShipmentRouteMutation>(GenerateShipmentRouteDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'generateShipmentRoute', 'mutation');
|
|
10577
|
+
},
|
|
10578
|
+
updateShipment(variables: UpdateShipmentMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateShipmentMutation> {
|
|
10579
|
+
return withWrapper((wrappedRequestHeaders) => client.request<UpdateShipmentMutation>(UpdateShipmentDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'updateShipment', 'mutation');
|
|
10580
|
+
},
|
|
9421
10581
|
addStorageFacilityReading(variables: AddStorageFacilityReadingMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddStorageFacilityReadingMutation> {
|
|
9422
10582
|
return withWrapper((wrappedRequestHeaders) => client.request<AddStorageFacilityReadingMutation>(AddStorageFacilityReadingDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'addStorageFacilityReading', 'mutation');
|
|
9423
10583
|
},
|