@truetms/truetms-node 0.2.6 → 0.2.8
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 +356 -2
- package/dist/src/graphql/generated.js.map +1 -1
- package/dist/src/providers/truetms-graphql-client.js +1 -1
- package/dist/src/sdk/index.js +3 -1
- package/dist/src/sdk/index.js.map +1 -1
- package/dist/src/sdk/trips.js +15 -0
- package/dist/src/sdk/trips.js.map +1 -0
- package/package.json +1 -1
- package/src/graphql/generated.ts +3367 -31
- package/src/graphql/trips.graphql +97 -0
- package/src/providers/truetms-graphql-client.ts +1 -1
- package/src/sdk/index.ts +4 -1
- package/src/sdk/trips.ts +10 -0
|
@@ -3,8 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.getSdk = exports.GetOrgUserByIdDocument = exports.EditTransactionDocument = exports.AddTransactionDocument = exports.DeleteTransactionDocument = exports.GetTransactionByIdDocument = exports.GetTransactionListDocument = exports.PersistTractorPositionsDocument = exports.EditTractorDocument = exports.AddTractorDocument = exports.GetTractorBySerialNumberDocument = exports.GetTractorByPlateNumberDocument = exports.GetTractorByLicenseNumberDocument = exports.GetTractorByEldIdDocument = exports.GetMyOrganizationDocument = exports.UpdateInvoiceStatusDocument = exports.GetInvoiceByNumberDocument = exports.GetInvoiceByIdDocument = exports.EditDriverDocument = exports.AddDriverDocument = void 0;
|
|
6
|
+
exports.ShipmentCommodityType = exports.S3_Operation = exports.Role = exports.ReportType = exports.PaymentPeriodUnit = exports.OrderByDirection = exports.NoteAccessLevel = exports.MetricType = exports.MeasurementSystem = exports.MaintenanceTaskStatus = exports.MaintenanceTaskRecurrenceFrequency = exports.LoadType = exports.Language = exports.InvoicingProcess = exports.InvoiceStatus = exports.GoodUnits = exports.GoodProfileRestrictionType = exports.GoodProfileEquivalenceConditionTarget = exports.GoodProfileEquivalenceConditionOperator = exports.Frequency = exports.ForecastingNotificationLevel = exports.ForecastingModelSlotType = exports.ExtensionOperationContext = exports.ExtensionMessageType = exports.ExtensionMessageContext = exports.ExtensionHookOperation = exports.ExtensionCustomFieldType = exports.ExtensionCustomFieldContext = exports.ExtensionActionType = exports.ExceptionType = exports.Events = exports.DriverSettlementStatus = exports.DriverPaymentMethod = exports.DriverLicenseRestriction = exports.DriverLicenseEndorsement = exports.DriverLicenseClassification = exports.DriverHosStatus = exports.DriverDeductionMethod = exports.DeductionType = exports.DeductionPeriodUnit = exports.CustomFieldType = exports.CustomFieldSelectOptionEntity = exports.CustomFieldContext = exports.Currency = exports.BusinessEntityType = exports.BillingRuleType = exports.BillingRuleConditionTarget = exports.BillingRuleConditionOperator = exports.BillingMethod = exports.AssetStatus = void 0;
|
|
7
|
+
exports.getSdk = exports.GetOrgUserByIdDocument = exports.ListTripsDocument = exports.EditTransactionDocument = exports.AddTransactionDocument = exports.DeleteTransactionDocument = exports.GetTransactionByIdDocument = exports.GetTransactionListDocument = exports.PersistTractorPositionsDocument = exports.EditTractorDocument = exports.AddTractorDocument = exports.GetTractorBySerialNumberDocument = exports.GetTractorByPlateNumberDocument = exports.GetTractorByLicenseNumberDocument = exports.GetTractorByEldIdDocument = exports.GetMyOrganizationDocument = exports.UpdateInvoiceStatusDocument = exports.GetInvoiceByNumberDocument = exports.GetInvoiceByIdDocument = exports.EditDriverDocument = exports.AddDriverDocument = exports.GetDriverByLicenseNumberDocument = exports.GetDriverByEldIdDocument = exports.GetDriverSettlementByNumberDocument = exports.GetDriverSettlementByIdDocument = exports.GetDriverSettlementsForDriverDocument = exports.DeleteBusinessEntityDocument = exports.EditBusinessEntityDocument = exports.AddBusinessEntityDocument = exports.GetBusinessEntityDetailsByExternalIdDocument = exports.GetBusinessEntityDetailsDocument = exports.GetBusinessEntityListDocument = exports.VroomError = exports.ViolationCause = exports.TripSortCriteria = exports.TripAssetTypes = exports.TransactionType = exports.TrailerType = exports.TrailerEventType = exports.TrailerCompartmentUnit = exports.SupplierContractConditionTarget = exports.SubscriptionStatus = exports.SubscriptionEntitlementAvailability = exports.StorageFacilityUnit = exports.Status = exports.ShipmentSortCriteria = exports.ShipmentReferenceNumberType = exports.ShipmentLocationType = exports.ShipmentEventType = exports.ShipmentConstraintType = void 0;
|
|
8
8
|
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
|
9
9
|
var AssetStatus;
|
|
10
10
|
(function (AssetStatus) {
|
|
@@ -15,8 +15,16 @@ var BillingMethod;
|
|
|
15
15
|
(function (BillingMethod) {
|
|
16
16
|
BillingMethod["FlatFee"] = "FLAT_FEE";
|
|
17
17
|
BillingMethod["PerDetentionHour"] = "PER_DETENTION_HOUR";
|
|
18
|
+
BillingMethod["PerEmptyKm"] = "PER_EMPTY_KM";
|
|
19
|
+
BillingMethod["PerEmptyMile"] = "PER_EMPTY_MILE";
|
|
18
20
|
BillingMethod["PerHour"] = "PER_HOUR";
|
|
21
|
+
BillingMethod["PerKg"] = "PER_KG";
|
|
22
|
+
BillingMethod["PerKm"] = "PER_KM";
|
|
23
|
+
BillingMethod["PerKmWithDeadhead"] = "PER_KM_WITH_DEADHEAD";
|
|
19
24
|
BillingMethod["PerMile"] = "PER_MILE";
|
|
25
|
+
BillingMethod["PerMileWithDeadhead"] = "PER_MILE_WITH_DEADHEAD";
|
|
26
|
+
BillingMethod["PerPound"] = "PER_POUND";
|
|
27
|
+
BillingMethod["PerUnit"] = "PER_UNIT";
|
|
20
28
|
})(BillingMethod = exports.BillingMethod || (exports.BillingMethod = {}));
|
|
21
29
|
var BillingRuleConditionOperator;
|
|
22
30
|
(function (BillingRuleConditionOperator) {
|
|
@@ -24,6 +32,7 @@ var BillingRuleConditionOperator;
|
|
|
24
32
|
BillingRuleConditionOperator["IsBetween"] = "IS_BETWEEN";
|
|
25
33
|
BillingRuleConditionOperator["IsGreaterThanOrEqual"] = "IS_GREATER_THAN_OR_EQUAL";
|
|
26
34
|
BillingRuleConditionOperator["IsLessThanOrEqual"] = "IS_LESS_THAN_OR_EQUAL";
|
|
35
|
+
BillingRuleConditionOperator["NotEquals"] = "NOT_EQUALS";
|
|
27
36
|
})(BillingRuleConditionOperator = exports.BillingRuleConditionOperator || (exports.BillingRuleConditionOperator = {}));
|
|
28
37
|
var BillingRuleConditionTarget;
|
|
29
38
|
(function (BillingRuleConditionTarget) {
|
|
@@ -48,13 +57,70 @@ var BusinessEntityType;
|
|
|
48
57
|
BusinessEntityType["Broker"] = "BROKER";
|
|
49
58
|
BusinessEntityType["Carrier"] = "CARRIER";
|
|
50
59
|
BusinessEntityType["Customer"] = "CUSTOMER";
|
|
60
|
+
BusinessEntityType["Domicile"] = "DOMICILE";
|
|
51
61
|
BusinessEntityType["GeneralLocation"] = "GENERAL_LOCATION";
|
|
62
|
+
BusinessEntityType["PayToProfile"] = "PAY_TO_PROFILE";
|
|
52
63
|
BusinessEntityType["Port"] = "PORT";
|
|
53
64
|
BusinessEntityType["Receiver"] = "RECEIVER";
|
|
54
65
|
BusinessEntityType["Shipper"] = "SHIPPER";
|
|
66
|
+
BusinessEntityType["Supplier"] = "SUPPLIER";
|
|
55
67
|
BusinessEntityType["Terminal"] = "TERMINAL";
|
|
56
68
|
BusinessEntityType["TruckStop"] = "TRUCK_STOP";
|
|
57
69
|
})(BusinessEntityType = exports.BusinessEntityType || (exports.BusinessEntityType = {}));
|
|
70
|
+
var Currency;
|
|
71
|
+
(function (Currency) {
|
|
72
|
+
Currency["Cad"] = "CAD";
|
|
73
|
+
Currency["Eur"] = "EUR";
|
|
74
|
+
Currency["Usd"] = "USD";
|
|
75
|
+
Currency["Zar"] = "ZAR";
|
|
76
|
+
})(Currency = exports.Currency || (exports.Currency = {}));
|
|
77
|
+
var CustomFieldContext;
|
|
78
|
+
(function (CustomFieldContext) {
|
|
79
|
+
CustomFieldContext["Carrier"] = "CARRIER";
|
|
80
|
+
CustomFieldContext["Commodity"] = "COMMODITY";
|
|
81
|
+
CustomFieldContext["Customer"] = "CUSTOMER";
|
|
82
|
+
CustomFieldContext["Domicile"] = "DOMICILE";
|
|
83
|
+
CustomFieldContext["Driver"] = "DRIVER";
|
|
84
|
+
CustomFieldContext["Expense"] = "EXPENSE";
|
|
85
|
+
CustomFieldContext["Location"] = "LOCATION";
|
|
86
|
+
CustomFieldContext["Receiver"] = "RECEIVER";
|
|
87
|
+
CustomFieldContext["Shipment"] = "SHIPMENT";
|
|
88
|
+
CustomFieldContext["Shipper"] = "SHIPPER";
|
|
89
|
+
CustomFieldContext["Supplier"] = "SUPPLIER";
|
|
90
|
+
CustomFieldContext["Tractor"] = "TRACTOR";
|
|
91
|
+
CustomFieldContext["Trailer"] = "TRAILER";
|
|
92
|
+
CustomFieldContext["Trip"] = "TRIP";
|
|
93
|
+
CustomFieldContext["User"] = "USER";
|
|
94
|
+
})(CustomFieldContext = exports.CustomFieldContext || (exports.CustomFieldContext = {}));
|
|
95
|
+
var CustomFieldSelectOptionEntity;
|
|
96
|
+
(function (CustomFieldSelectOptionEntity) {
|
|
97
|
+
CustomFieldSelectOptionEntity["Carrier"] = "CARRIER";
|
|
98
|
+
CustomFieldSelectOptionEntity["Commodity"] = "COMMODITY";
|
|
99
|
+
CustomFieldSelectOptionEntity["Customer"] = "CUSTOMER";
|
|
100
|
+
CustomFieldSelectOptionEntity["Domicile"] = "DOMICILE";
|
|
101
|
+
CustomFieldSelectOptionEntity["Driver"] = "DRIVER";
|
|
102
|
+
CustomFieldSelectOptionEntity["Expense"] = "EXPENSE";
|
|
103
|
+
CustomFieldSelectOptionEntity["Location"] = "LOCATION";
|
|
104
|
+
CustomFieldSelectOptionEntity["Receiver"] = "RECEIVER";
|
|
105
|
+
CustomFieldSelectOptionEntity["Shipment"] = "SHIPMENT";
|
|
106
|
+
CustomFieldSelectOptionEntity["Shipper"] = "SHIPPER";
|
|
107
|
+
CustomFieldSelectOptionEntity["Supplier"] = "SUPPLIER";
|
|
108
|
+
CustomFieldSelectOptionEntity["Tractor"] = "TRACTOR";
|
|
109
|
+
CustomFieldSelectOptionEntity["Trailer"] = "TRAILER";
|
|
110
|
+
CustomFieldSelectOptionEntity["Trip"] = "TRIP";
|
|
111
|
+
CustomFieldSelectOptionEntity["User"] = "USER";
|
|
112
|
+
})(CustomFieldSelectOptionEntity = exports.CustomFieldSelectOptionEntity || (exports.CustomFieldSelectOptionEntity = {}));
|
|
113
|
+
var CustomFieldType;
|
|
114
|
+
(function (CustomFieldType) {
|
|
115
|
+
CustomFieldType["Boolean"] = "BOOLEAN";
|
|
116
|
+
CustomFieldType["Date"] = "DATE";
|
|
117
|
+
CustomFieldType["Datetime"] = "DATETIME";
|
|
118
|
+
CustomFieldType["Multiselect"] = "MULTISELECT";
|
|
119
|
+
CustomFieldType["Number"] = "NUMBER";
|
|
120
|
+
CustomFieldType["Select"] = "SELECT";
|
|
121
|
+
CustomFieldType["String"] = "STRING";
|
|
122
|
+
CustomFieldType["Time"] = "TIME";
|
|
123
|
+
})(CustomFieldType = exports.CustomFieldType || (exports.CustomFieldType = {}));
|
|
58
124
|
var DeductionPeriodUnit;
|
|
59
125
|
(function (DeductionPeriodUnit) {
|
|
60
126
|
DeductionPeriodUnit["Day"] = "DAY";
|
|
@@ -113,6 +179,7 @@ var DriverLicenseRestriction;
|
|
|
113
179
|
var DriverPaymentMethod;
|
|
114
180
|
(function (DriverPaymentMethod) {
|
|
115
181
|
DriverPaymentMethod["PerHour"] = "PER_HOUR";
|
|
182
|
+
DriverPaymentMethod["PerKm"] = "PER_KM";
|
|
116
183
|
DriverPaymentMethod["PerMile"] = "PER_MILE";
|
|
117
184
|
DriverPaymentMethod["RevenueShare"] = "REVENUE_SHARE";
|
|
118
185
|
})(DriverPaymentMethod = exports.DriverPaymentMethod || (exports.DriverPaymentMethod = {}));
|
|
@@ -121,14 +188,19 @@ var DriverSettlementStatus;
|
|
|
121
188
|
DriverSettlementStatus["Cancelled"] = "CANCELLED";
|
|
122
189
|
DriverSettlementStatus["Closed"] = "CLOSED";
|
|
123
190
|
DriverSettlementStatus["Generated"] = "GENERATED";
|
|
191
|
+
DriverSettlementStatus["NotSettled"] = "NOT_SETTLED";
|
|
192
|
+
DriverSettlementStatus["OnHold"] = "ON_HOLD";
|
|
124
193
|
DriverSettlementStatus["Paid"] = "PAID";
|
|
125
194
|
DriverSettlementStatus["Sent"] = "SENT";
|
|
126
195
|
})(DriverSettlementStatus = exports.DriverSettlementStatus || (exports.DriverSettlementStatus = {}));
|
|
127
196
|
var Events;
|
|
128
197
|
(function (Events) {
|
|
198
|
+
Events["DriverCreated"] = "DRIVER_CREATED";
|
|
199
|
+
Events["DriverDeleted"] = "DRIVER_DELETED";
|
|
129
200
|
Events["DriverPositionUpdated"] = "DRIVER_POSITION_UPDATED";
|
|
130
201
|
Events["DriverSettlementCreated"] = "DRIVER_SETTLEMENT_CREATED";
|
|
131
202
|
Events["DriverSettlementDeleted"] = "DRIVER_SETTLEMENT_DELETED";
|
|
203
|
+
Events["DriverUpdated"] = "DRIVER_UPDATED";
|
|
132
204
|
Events["ExpenseCreated"] = "EXPENSE_CREATED";
|
|
133
205
|
Events["ExpenseDeleted"] = "EXPENSE_DELETED";
|
|
134
206
|
Events["InvoiceCreated"] = "INVOICE_CREATED";
|
|
@@ -136,18 +208,32 @@ var Events;
|
|
|
136
208
|
Events["OrgUserCreated"] = "ORG_USER_CREATED";
|
|
137
209
|
Events["OrgUserDeleted"] = "ORG_USER_DELETED";
|
|
138
210
|
Events["OrgUserRolesUpdated"] = "ORG_USER_ROLES_UPDATED";
|
|
211
|
+
Events["ShipmentAssigned"] = "SHIPMENT_ASSIGNED";
|
|
212
|
+
Events["ShipmentCompleted"] = "SHIPMENT_COMPLETED";
|
|
139
213
|
Events["ShipmentCreated"] = "SHIPMENT_CREATED";
|
|
140
214
|
Events["ShipmentDeleted"] = "SHIPMENT_DELETED";
|
|
141
215
|
Events["ShipmentEventAdded"] = "SHIPMENT_EVENT_ADDED";
|
|
142
216
|
Events["ShipmentEventDeleted"] = "SHIPMENT_EVENT_DELETED";
|
|
143
217
|
Events["ShipmentEventUpdated"] = "SHIPMENT_EVENT_UPDATED";
|
|
218
|
+
Events["ShipmentGoodPinCodeUpdated"] = "SHIPMENT_GOOD_PIN_CODE_UPDATED";
|
|
219
|
+
Events["ShipmentGoodWeightUpdated"] = "SHIPMENT_GOOD_WEIGHT_UPDATED";
|
|
144
220
|
Events["ShipmentUpdated"] = "SHIPMENT_UPDATED";
|
|
145
221
|
Events["TractorPositionUpdated"] = "TRACTOR_POSITION_UPDATED";
|
|
222
|
+
Events["TrailerPositionUpdated"] = "TRAILER_POSITION_UPDATED";
|
|
146
223
|
Events["TripCompleted"] = "TRIP_COMPLETED";
|
|
147
224
|
Events["TripCreated"] = "TRIP_CREATED";
|
|
148
225
|
Events["TripFullyAssigned"] = "TRIP_FULLY_ASSIGNED";
|
|
149
226
|
Events["TripUpdated"] = "TRIP_UPDATED";
|
|
227
|
+
Events["UserStatusUpdated"] = "USER_STATUS_UPDATED";
|
|
150
228
|
})(Events = exports.Events || (exports.Events = {}));
|
|
229
|
+
var ExceptionType;
|
|
230
|
+
(function (ExceptionType) {
|
|
231
|
+
ExceptionType["ConstraintValidation"] = "CONSTRAINT_VALIDATION";
|
|
232
|
+
})(ExceptionType = exports.ExceptionType || (exports.ExceptionType = {}));
|
|
233
|
+
var ExtensionActionType;
|
|
234
|
+
(function (ExtensionActionType) {
|
|
235
|
+
ExtensionActionType["Url"] = "URL";
|
|
236
|
+
})(ExtensionActionType = exports.ExtensionActionType || (exports.ExtensionActionType = {}));
|
|
151
237
|
var ExtensionCustomFieldContext;
|
|
152
238
|
(function (ExtensionCustomFieldContext) {
|
|
153
239
|
ExtensionCustomFieldContext["Expense"] = "EXPENSE";
|
|
@@ -170,6 +256,11 @@ var ExtensionHookOperation;
|
|
|
170
256
|
ExtensionHookOperation["SearchLoadBoard"] = "SEARCH_LOAD_BOARD";
|
|
171
257
|
ExtensionHookOperation["SendInvoice"] = "SEND_INVOICE";
|
|
172
258
|
})(ExtensionHookOperation = exports.ExtensionHookOperation || (exports.ExtensionHookOperation = {}));
|
|
259
|
+
var ExtensionMessageContext;
|
|
260
|
+
(function (ExtensionMessageContext) {
|
|
261
|
+
ExtensionMessageContext["OrdersList"] = "ORDERS_LIST";
|
|
262
|
+
ExtensionMessageContext["PlanningTool"] = "PLANNING_TOOL";
|
|
263
|
+
})(ExtensionMessageContext = exports.ExtensionMessageContext || (exports.ExtensionMessageContext = {}));
|
|
173
264
|
var ExtensionMessageType;
|
|
174
265
|
(function (ExtensionMessageType) {
|
|
175
266
|
ExtensionMessageType["Error"] = "ERROR";
|
|
@@ -182,6 +273,20 @@ var ExtensionOperationContext;
|
|
|
182
273
|
ExtensionOperationContext["BusinessLocation"] = "BUSINESS_LOCATION";
|
|
183
274
|
ExtensionOperationContext["InvoiceDetails"] = "INVOICE_DETAILS";
|
|
184
275
|
})(ExtensionOperationContext = exports.ExtensionOperationContext || (exports.ExtensionOperationContext = {}));
|
|
276
|
+
var ForecastingModelSlotType;
|
|
277
|
+
(function (ForecastingModelSlotType) {
|
|
278
|
+
ForecastingModelSlotType["Daily"] = "DAILY";
|
|
279
|
+
ForecastingModelSlotType["Hourly"] = "HOURLY";
|
|
280
|
+
ForecastingModelSlotType["Monthly"] = "MONTHLY";
|
|
281
|
+
ForecastingModelSlotType["Weekly"] = "WEEKLY";
|
|
282
|
+
})(ForecastingModelSlotType = exports.ForecastingModelSlotType || (exports.ForecastingModelSlotType = {}));
|
|
283
|
+
var ForecastingNotificationLevel;
|
|
284
|
+
(function (ForecastingNotificationLevel) {
|
|
285
|
+
ForecastingNotificationLevel["Critical"] = "CRITICAL";
|
|
286
|
+
ForecastingNotificationLevel["Danger"] = "DANGER";
|
|
287
|
+
ForecastingNotificationLevel["Info"] = "INFO";
|
|
288
|
+
ForecastingNotificationLevel["Warning"] = "WARNING";
|
|
289
|
+
})(ForecastingNotificationLevel = exports.ForecastingNotificationLevel || (exports.ForecastingNotificationLevel = {}));
|
|
185
290
|
var Frequency;
|
|
186
291
|
(function (Frequency) {
|
|
187
292
|
Frequency["Daily"] = "DAILY";
|
|
@@ -192,30 +297,97 @@ var Frequency;
|
|
|
192
297
|
Frequency["Weekly"] = "WEEKLY";
|
|
193
298
|
Frequency["Yearly"] = "YEARLY";
|
|
194
299
|
})(Frequency = exports.Frequency || (exports.Frequency = {}));
|
|
300
|
+
var GoodProfileEquivalenceConditionOperator;
|
|
301
|
+
(function (GoodProfileEquivalenceConditionOperator) {
|
|
302
|
+
GoodProfileEquivalenceConditionOperator["Equals"] = "EQUALS";
|
|
303
|
+
GoodProfileEquivalenceConditionOperator["IsBetween"] = "IS_BETWEEN";
|
|
304
|
+
GoodProfileEquivalenceConditionOperator["IsGreaterThanOrEqual"] = "IS_GREATER_THAN_OR_EQUAL";
|
|
305
|
+
GoodProfileEquivalenceConditionOperator["IsLessThanOrEqual"] = "IS_LESS_THAN_OR_EQUAL";
|
|
306
|
+
})(GoodProfileEquivalenceConditionOperator = exports.GoodProfileEquivalenceConditionOperator || (exports.GoodProfileEquivalenceConditionOperator = {}));
|
|
307
|
+
var GoodProfileEquivalenceConditionTarget;
|
|
308
|
+
(function (GoodProfileEquivalenceConditionTarget) {
|
|
309
|
+
GoodProfileEquivalenceConditionTarget["Date"] = "DATE";
|
|
310
|
+
GoodProfileEquivalenceConditionTarget["Receiver"] = "RECEIVER";
|
|
311
|
+
GoodProfileEquivalenceConditionTarget["Shipper"] = "SHIPPER";
|
|
312
|
+
GoodProfileEquivalenceConditionTarget["Time"] = "TIME";
|
|
313
|
+
})(GoodProfileEquivalenceConditionTarget = exports.GoodProfileEquivalenceConditionTarget || (exports.GoodProfileEquivalenceConditionTarget = {}));
|
|
314
|
+
var GoodProfileRestrictionType;
|
|
315
|
+
(function (GoodProfileRestrictionType) {
|
|
316
|
+
GoodProfileRestrictionType["DriverEndorsement"] = "DRIVER_ENDORSEMENT";
|
|
317
|
+
GoodProfileRestrictionType["ExclusiveDelivery"] = "EXCLUSIVE_DELIVERY";
|
|
318
|
+
GoodProfileRestrictionType["TrailerWash"] = "TRAILER_WASH";
|
|
319
|
+
})(GoodProfileRestrictionType = exports.GoodProfileRestrictionType || (exports.GoodProfileRestrictionType = {}));
|
|
320
|
+
/** The units of measure for a good */
|
|
321
|
+
var GoodUnits;
|
|
322
|
+
(function (GoodUnits) {
|
|
323
|
+
GoodUnits["Gallons"] = "GALLONS";
|
|
324
|
+
GoodUnits["Item"] = "ITEM";
|
|
325
|
+
GoodUnits["Kilograms"] = "KILOGRAMS";
|
|
326
|
+
GoodUnits["Liters"] = "LITERS";
|
|
327
|
+
GoodUnits["Pounds"] = "POUNDS";
|
|
328
|
+
})(GoodUnits = exports.GoodUnits || (exports.GoodUnits = {}));
|
|
195
329
|
var InvoiceStatus;
|
|
196
330
|
(function (InvoiceStatus) {
|
|
197
331
|
InvoiceStatus["Cancelled"] = "CANCELLED";
|
|
198
332
|
InvoiceStatus["Closed"] = "CLOSED";
|
|
199
333
|
InvoiceStatus["Draft"] = "DRAFT";
|
|
334
|
+
InvoiceStatus["NotInvoiced"] = "NOT_INVOICED";
|
|
335
|
+
InvoiceStatus["OnHold"] = "ON_HOLD";
|
|
200
336
|
InvoiceStatus["Paid"] = "PAID";
|
|
201
337
|
InvoiceStatus["Sent"] = "SENT";
|
|
202
338
|
})(InvoiceStatus = exports.InvoiceStatus || (exports.InvoiceStatus = {}));
|
|
339
|
+
var InvoicingProcess;
|
|
340
|
+
(function (InvoicingProcess) {
|
|
341
|
+
InvoicingProcess["LoadBased"] = "LOAD_BASED";
|
|
342
|
+
InvoicingProcess["QueueBased"] = "QUEUE_BASED";
|
|
343
|
+
})(InvoicingProcess = exports.InvoicingProcess || (exports.InvoicingProcess = {}));
|
|
344
|
+
var Language;
|
|
345
|
+
(function (Language) {
|
|
346
|
+
Language["En"] = "EN";
|
|
347
|
+
Language["Fr"] = "FR";
|
|
348
|
+
})(Language = exports.Language || (exports.Language = {}));
|
|
203
349
|
var LoadType;
|
|
204
350
|
(function (LoadType) {
|
|
205
351
|
LoadType["FullTruckLoad"] = "FULL_TRUCK_LOAD";
|
|
206
352
|
LoadType["LessThanTruckLoad"] = "LESS_THAN_TRUCK_LOAD";
|
|
207
353
|
})(LoadType = exports.LoadType || (exports.LoadType = {}));
|
|
354
|
+
var MaintenanceTaskRecurrenceFrequency;
|
|
355
|
+
(function (MaintenanceTaskRecurrenceFrequency) {
|
|
356
|
+
MaintenanceTaskRecurrenceFrequency["Daily"] = "DAILY";
|
|
357
|
+
MaintenanceTaskRecurrenceFrequency["Miles"] = "MILES";
|
|
358
|
+
MaintenanceTaskRecurrenceFrequency["Monthly"] = "MONTHLY";
|
|
359
|
+
MaintenanceTaskRecurrenceFrequency["Weekly"] = "WEEKLY";
|
|
360
|
+
MaintenanceTaskRecurrenceFrequency["Yearly"] = "YEARLY";
|
|
361
|
+
})(MaintenanceTaskRecurrenceFrequency = exports.MaintenanceTaskRecurrenceFrequency || (exports.MaintenanceTaskRecurrenceFrequency = {}));
|
|
362
|
+
var MaintenanceTaskStatus;
|
|
363
|
+
(function (MaintenanceTaskStatus) {
|
|
364
|
+
MaintenanceTaskStatus["Cancelled"] = "CANCELLED";
|
|
365
|
+
MaintenanceTaskStatus["Completed"] = "COMPLETED";
|
|
366
|
+
MaintenanceTaskStatus["Pending"] = "PENDING";
|
|
367
|
+
})(MaintenanceTaskStatus = exports.MaintenanceTaskStatus || (exports.MaintenanceTaskStatus = {}));
|
|
208
368
|
var MeasurementSystem;
|
|
209
369
|
(function (MeasurementSystem) {
|
|
210
370
|
MeasurementSystem["Imperial"] = "IMPERIAL";
|
|
211
371
|
MeasurementSystem["Metric"] = "METRIC";
|
|
212
372
|
})(MeasurementSystem = exports.MeasurementSystem || (exports.MeasurementSystem = {}));
|
|
373
|
+
/** The type of metric */
|
|
374
|
+
var MetricType;
|
|
375
|
+
(function (MetricType) {
|
|
376
|
+
MetricType["DeliveryCost"] = "DELIVERY_COST";
|
|
377
|
+
MetricType["Mileage"] = "MILEAGE";
|
|
378
|
+
MetricType["ProductPurchaseCost"] = "PRODUCT_PURCHASE_COST";
|
|
379
|
+
})(MetricType = exports.MetricType || (exports.MetricType = {}));
|
|
213
380
|
var NoteAccessLevel;
|
|
214
381
|
(function (NoteAccessLevel) {
|
|
215
382
|
NoteAccessLevel["Customer"] = "CUSTOMER";
|
|
216
383
|
NoteAccessLevel["Dispatcher"] = "DISPATCHER";
|
|
217
384
|
NoteAccessLevel["Driver"] = "DRIVER";
|
|
218
385
|
})(NoteAccessLevel = exports.NoteAccessLevel || (exports.NoteAccessLevel = {}));
|
|
386
|
+
var OrderByDirection;
|
|
387
|
+
(function (OrderByDirection) {
|
|
388
|
+
OrderByDirection["Asc"] = "ASC";
|
|
389
|
+
OrderByDirection["Desc"] = "DESC";
|
|
390
|
+
})(OrderByDirection = exports.OrderByDirection || (exports.OrderByDirection = {}));
|
|
219
391
|
var PaymentPeriodUnit;
|
|
220
392
|
(function (PaymentPeriodUnit) {
|
|
221
393
|
PaymentPeriodUnit["Day"] = "DAY";
|
|
@@ -230,12 +402,29 @@ var ReportType;
|
|
|
230
402
|
ReportType["RevenueByLoad"] = "REVENUE_BY_LOAD";
|
|
231
403
|
ReportType["RevenuePerDay"] = "REVENUE_PER_DAY";
|
|
232
404
|
ReportType["RevenuePerMile"] = "REVENUE_PER_MILE";
|
|
405
|
+
ReportType["TripSheet"] = "TRIP_SHEET";
|
|
233
406
|
})(ReportType = exports.ReportType || (exports.ReportType = {}));
|
|
407
|
+
var Role;
|
|
408
|
+
(function (Role) {
|
|
409
|
+
Role["Accounting"] = "Accounting";
|
|
410
|
+
Role["CarrierAdmin"] = "CarrierAdmin";
|
|
411
|
+
Role["CarrierDriver"] = "CarrierDriver";
|
|
412
|
+
Role["Clerical"] = "Clerical";
|
|
413
|
+
Role["Dispatcher"] = "Dispatcher";
|
|
414
|
+
Role["Hr"] = "HR";
|
|
415
|
+
Role["Manager"] = "Manager";
|
|
416
|
+
})(Role = exports.Role || (exports.Role = {}));
|
|
234
417
|
var S3_Operation;
|
|
235
418
|
(function (S3_Operation) {
|
|
236
419
|
S3_Operation["GetObject"] = "getObject";
|
|
237
420
|
S3_Operation["PutObject"] = "putObject";
|
|
238
421
|
})(S3_Operation = exports.S3_Operation || (exports.S3_Operation = {}));
|
|
422
|
+
/** The type of commodity to be delivered in the shipment */
|
|
423
|
+
var ShipmentCommodityType;
|
|
424
|
+
(function (ShipmentCommodityType) {
|
|
425
|
+
ShipmentCommodityType["Dry"] = "DRY";
|
|
426
|
+
ShipmentCommodityType["Liquid"] = "LIQUID";
|
|
427
|
+
})(ShipmentCommodityType = exports.ShipmentCommodityType || (exports.ShipmentCommodityType = {}));
|
|
239
428
|
var ShipmentConstraintType;
|
|
240
429
|
(function (ShipmentConstraintType) {
|
|
241
430
|
ShipmentConstraintType["Height"] = "HEIGHT";
|
|
@@ -246,6 +435,7 @@ var ShipmentConstraintType;
|
|
|
246
435
|
})(ShipmentConstraintType = exports.ShipmentConstraintType || (exports.ShipmentConstraintType = {}));
|
|
247
436
|
var ShipmentEventType;
|
|
248
437
|
(function (ShipmentEventType) {
|
|
438
|
+
ShipmentEventType["CheckCall"] = "CHECK_CALL";
|
|
249
439
|
ShipmentEventType["DropoffCheckpointUnloadStart"] = "DROPOFF_CHECKPOINT_UNLOAD_START";
|
|
250
440
|
ShipmentEventType["DropOffCheckpointArrive"] = "DROP_OFF_CHECKPOINT_ARRIVE";
|
|
251
441
|
ShipmentEventType["DropOffCheckpointLeft"] = "DROP_OFF_CHECKPOINT_LEFT";
|
|
@@ -253,6 +443,7 @@ var ShipmentEventType;
|
|
|
253
443
|
ShipmentEventType["PickupCheckpointLeft"] = "PICKUP_CHECKPOINT_LEFT";
|
|
254
444
|
ShipmentEventType["PickupCheckpointLoadStart"] = "PICKUP_CHECKPOINT_LOAD_START";
|
|
255
445
|
ShipmentEventType["ShipmentComplete"] = "SHIPMENT_COMPLETE";
|
|
446
|
+
ShipmentEventType["TripAssetAssignmentUpdated"] = "TRIP_ASSET_ASSIGNMENT_UPDATED";
|
|
256
447
|
ShipmentEventType["TripBreakStarted"] = "TRIP_BREAK_STARTED";
|
|
257
448
|
ShipmentEventType["TripEnd"] = "TRIP_END";
|
|
258
449
|
ShipmentEventType["TripResumed"] = "TRIP_RESUMED";
|
|
@@ -266,12 +457,22 @@ var ShipmentLocationType;
|
|
|
266
457
|
ShipmentLocationType["Pickup"] = "PICKUP";
|
|
267
458
|
ShipmentLocationType["TrailerPickup"] = "TRAILER_PICKUP";
|
|
268
459
|
})(ShipmentLocationType = exports.ShipmentLocationType || (exports.ShipmentLocationType = {}));
|
|
460
|
+
var ShipmentReferenceNumberType;
|
|
461
|
+
(function (ShipmentReferenceNumberType) {
|
|
462
|
+
ShipmentReferenceNumberType["BillOfLadingNumber"] = "BILL_OF_LADING_NUMBER";
|
|
463
|
+
ShipmentReferenceNumberType["PurchaseOrderNumber"] = "PURCHASE_ORDER_NUMBER";
|
|
464
|
+
ShipmentReferenceNumberType["ReferenceNumber"] = "REFERENCE_NUMBER";
|
|
465
|
+
ShipmentReferenceNumberType["TicketNumber"] = "TICKET_NUMBER";
|
|
466
|
+
})(ShipmentReferenceNumberType = exports.ShipmentReferenceNumberType || (exports.ShipmentReferenceNumberType = {}));
|
|
269
467
|
var ShipmentSortCriteria;
|
|
270
468
|
(function (ShipmentSortCriteria) {
|
|
271
469
|
ShipmentSortCriteria["DropoffDate"] = "DROPOFF_DATE";
|
|
272
470
|
ShipmentSortCriteria["DropoffDistance"] = "DROPOFF_DISTANCE";
|
|
273
471
|
ShipmentSortCriteria["PickupDate"] = "PICKUP_DATE";
|
|
274
472
|
ShipmentSortCriteria["PickupDistance"] = "PICKUP_DISTANCE";
|
|
473
|
+
ShipmentSortCriteria["Revenue"] = "REVENUE";
|
|
474
|
+
ShipmentSortCriteria["RevenuePerMile"] = "REVENUE_PER_MILE";
|
|
475
|
+
ShipmentSortCriteria["ShipmentNumber"] = "SHIPMENT_NUMBER";
|
|
275
476
|
})(ShipmentSortCriteria = exports.ShipmentSortCriteria || (exports.ShipmentSortCriteria = {}));
|
|
276
477
|
var Status;
|
|
277
478
|
(function (Status) {
|
|
@@ -281,13 +482,28 @@ var Status;
|
|
|
281
482
|
Status["Complete"] = "COMPLETE";
|
|
282
483
|
Status["Deleted"] = "DELETED";
|
|
283
484
|
Status["Delivered"] = "DELIVERED";
|
|
485
|
+
Status["Forecasted"] = "FORECASTED";
|
|
486
|
+
Status["ForecastedLocked"] = "FORECASTED_LOCKED";
|
|
284
487
|
Status["InProgress"] = "IN_PROGRESS";
|
|
285
488
|
Status["Pending"] = "PENDING";
|
|
286
489
|
Status["Planned"] = "PLANNED";
|
|
287
490
|
Status["Unassigned"] = "UNASSIGNED";
|
|
491
|
+
Status["Unplanned"] = "UNPLANNED";
|
|
288
492
|
Status["WaitingForApproval"] = "WAITING_FOR_APPROVAL";
|
|
289
493
|
Status["WaitingForAssignment"] = "WAITING_FOR_ASSIGNMENT";
|
|
290
494
|
})(Status = exports.Status || (exports.Status = {}));
|
|
495
|
+
/** The units of measure for the capacity of a receiver storage facility */
|
|
496
|
+
var StorageFacilityUnit;
|
|
497
|
+
(function (StorageFacilityUnit) {
|
|
498
|
+
StorageFacilityUnit["Gallons"] = "GALLONS";
|
|
499
|
+
StorageFacilityUnit["Liters"] = "LITERS";
|
|
500
|
+
StorageFacilityUnit["Units"] = "UNITS";
|
|
501
|
+
})(StorageFacilityUnit = exports.StorageFacilityUnit || (exports.StorageFacilityUnit = {}));
|
|
502
|
+
var SubscriptionEntitlementAvailability;
|
|
503
|
+
(function (SubscriptionEntitlementAvailability) {
|
|
504
|
+
SubscriptionEntitlementAvailability["Available"] = "AVAILABLE";
|
|
505
|
+
SubscriptionEntitlementAvailability["Unavailable"] = "UNAVAILABLE";
|
|
506
|
+
})(SubscriptionEntitlementAvailability = exports.SubscriptionEntitlementAvailability || (exports.SubscriptionEntitlementAvailability = {}));
|
|
291
507
|
var SubscriptionStatus;
|
|
292
508
|
(function (SubscriptionStatus) {
|
|
293
509
|
SubscriptionStatus["Active"] = "ACTIVE";
|
|
@@ -299,6 +515,23 @@ var SubscriptionStatus;
|
|
|
299
515
|
SubscriptionStatus["Paused"] = "PAUSED";
|
|
300
516
|
SubscriptionStatus["Unknown"] = "UNKNOWN";
|
|
301
517
|
})(SubscriptionStatus = exports.SubscriptionStatus || (exports.SubscriptionStatus = {}));
|
|
518
|
+
var SupplierContractConditionTarget;
|
|
519
|
+
(function (SupplierContractConditionTarget) {
|
|
520
|
+
SupplierContractConditionTarget["PurchaseQuantity"] = "PURCHASE_QUANTITY";
|
|
521
|
+
SupplierContractConditionTarget["PurchaseTime"] = "PURCHASE_TIME";
|
|
522
|
+
})(SupplierContractConditionTarget = exports.SupplierContractConditionTarget || (exports.SupplierContractConditionTarget = {}));
|
|
523
|
+
/** The units of measure for the capacity of a trailer compartment */
|
|
524
|
+
var TrailerCompartmentUnit;
|
|
525
|
+
(function (TrailerCompartmentUnit) {
|
|
526
|
+
TrailerCompartmentUnit["Gallons"] = "GALLONS";
|
|
527
|
+
TrailerCompartmentUnit["Liters"] = "LITERS";
|
|
528
|
+
TrailerCompartmentUnit["Units"] = "UNITS";
|
|
529
|
+
})(TrailerCompartmentUnit = exports.TrailerCompartmentUnit || (exports.TrailerCompartmentUnit = {}));
|
|
530
|
+
/** Type of trailer event */
|
|
531
|
+
var TrailerEventType;
|
|
532
|
+
(function (TrailerEventType) {
|
|
533
|
+
TrailerEventType["TrailerWash"] = "TRAILER_WASH";
|
|
534
|
+
})(TrailerEventType = exports.TrailerEventType || (exports.TrailerEventType = {}));
|
|
302
535
|
var TrailerType;
|
|
303
536
|
(function (TrailerType) {
|
|
304
537
|
TrailerType["AutoCarrier"] = "AUTO_CARRIER";
|
|
@@ -315,9 +548,11 @@ var TrailerType;
|
|
|
315
548
|
TrailerType["PowerOnly"] = "POWER_ONLY";
|
|
316
549
|
TrailerType["Refrigerated"] = "REFRIGERATED";
|
|
317
550
|
TrailerType["SpecializedDeck"] = "SPECIALIZED_DECK";
|
|
551
|
+
TrailerType["SprinterVan"] = "SPRINTER_VAN";
|
|
318
552
|
TrailerType["StandardDeck"] = "STANDARD_DECK";
|
|
319
553
|
TrailerType["StraightBoxTruck"] = "STRAIGHT_BOX_TRUCK";
|
|
320
554
|
TrailerType["Tanker"] = "TANKER";
|
|
555
|
+
TrailerType["TankWagon"] = "TANK_WAGON";
|
|
321
556
|
TrailerType["Van"] = "VAN";
|
|
322
557
|
})(TrailerType = exports.TrailerType || (exports.TrailerType = {}));
|
|
323
558
|
var TransactionType;
|
|
@@ -327,6 +562,8 @@ var TransactionType;
|
|
|
327
562
|
})(TransactionType = exports.TransactionType || (exports.TransactionType = {}));
|
|
328
563
|
var TripAssetTypes;
|
|
329
564
|
(function (TripAssetTypes) {
|
|
565
|
+
TripAssetTypes["AdditionalTrailers"] = "ADDITIONAL_TRAILERS";
|
|
566
|
+
TripAssetTypes["Carrier"] = "CARRIER";
|
|
330
567
|
TripAssetTypes["Chassis"] = "CHASSIS";
|
|
331
568
|
TripAssetTypes["Driver"] = "DRIVER";
|
|
332
569
|
TripAssetTypes["Tractor"] = "TRACTOR";
|
|
@@ -340,6 +577,29 @@ var TripSortCriteria;
|
|
|
340
577
|
TripSortCriteria["StartDate"] = "START_DATE";
|
|
341
578
|
TripSortCriteria["StartLocation"] = "START_LOCATION";
|
|
342
579
|
})(TripSortCriteria = exports.TripSortCriteria || (exports.TripSortCriteria = {}));
|
|
580
|
+
/** The cause of the violation */
|
|
581
|
+
var ViolationCause;
|
|
582
|
+
(function (ViolationCause) {
|
|
583
|
+
ViolationCause["BreakDelay"] = "BREAK_DELAY";
|
|
584
|
+
ViolationCause["BreakLeadTime"] = "BREAK_LEAD_TIME";
|
|
585
|
+
ViolationCause["Delay"] = "DELAY";
|
|
586
|
+
ViolationCause["EndDelay"] = "END_DELAY";
|
|
587
|
+
ViolationCause["EndLeadTime"] = "END_LEAD_TIME";
|
|
588
|
+
ViolationCause["LeadTime"] = "LEAD_TIME";
|
|
589
|
+
ViolationCause["Load"] = "LOAD";
|
|
590
|
+
ViolationCause["MaxDistance"] = "MAX_DISTANCE";
|
|
591
|
+
ViolationCause["MaxLoad"] = "MAX_LOAD";
|
|
592
|
+
ViolationCause["MaxTasks"] = "MAX_TASKS";
|
|
593
|
+
ViolationCause["MaxTravelTime"] = "MAX_TRAVEL_TIME";
|
|
594
|
+
ViolationCause["MissingBreak"] = "MISSING_BREAK";
|
|
595
|
+
ViolationCause["Precedence"] = "PRECEDENCE";
|
|
596
|
+
ViolationCause["Skills"] = "SKILLS";
|
|
597
|
+
})(ViolationCause = exports.ViolationCause || (exports.ViolationCause = {}));
|
|
598
|
+
var VroomError;
|
|
599
|
+
(function (VroomError) {
|
|
600
|
+
VroomError["InfeasibleRoute"] = "INFEASIBLE_ROUTE";
|
|
601
|
+
VroomError["InternalError"] = "INTERNAL_ERROR";
|
|
602
|
+
})(VroomError = exports.VroomError || (exports.VroomError = {}));
|
|
343
603
|
exports.GetBusinessEntityListDocument = (0, graphql_tag_1.default) `
|
|
344
604
|
query getBusinessEntityList($search: String, $skip: Int, $take: Int, $businessEntityTypes: [BusinessEntityType!]) {
|
|
345
605
|
businessEntities(
|
|
@@ -1027,6 +1287,97 @@ exports.EditTransactionDocument = (0, graphql_tag_1.default) `
|
|
|
1027
1287
|
}
|
|
1028
1288
|
}
|
|
1029
1289
|
`;
|
|
1290
|
+
exports.ListTripsDocument = (0, graphql_tag_1.default) `
|
|
1291
|
+
query listTrips($search: String, $sort: TripSort, $skip: Int, $take: Int, $status: Status, $excludeCarrierAssigned: Boolean, $excludeDriverAssigned: Boolean) {
|
|
1292
|
+
trips(
|
|
1293
|
+
search: $search
|
|
1294
|
+
sort: $sort
|
|
1295
|
+
skip: $skip
|
|
1296
|
+
take: $take
|
|
1297
|
+
status: $status
|
|
1298
|
+
excludeCarrierAssigned: $excludeCarrierAssigned
|
|
1299
|
+
excludeDriverAssigned: $excludeDriverAssigned
|
|
1300
|
+
) {
|
|
1301
|
+
count
|
|
1302
|
+
data {
|
|
1303
|
+
_id
|
|
1304
|
+
tripNumber
|
|
1305
|
+
status
|
|
1306
|
+
shipments {
|
|
1307
|
+
_id
|
|
1308
|
+
shipmentNumber
|
|
1309
|
+
referenceNumbers
|
|
1310
|
+
isFromSplit
|
|
1311
|
+
isFromRotation
|
|
1312
|
+
parentShipment {
|
|
1313
|
+
_id
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
shipmentLocations {
|
|
1317
|
+
_id
|
|
1318
|
+
name
|
|
1319
|
+
addressLabel
|
|
1320
|
+
location {
|
|
1321
|
+
latitude
|
|
1322
|
+
longitude
|
|
1323
|
+
}
|
|
1324
|
+
addressTimezone
|
|
1325
|
+
locationType
|
|
1326
|
+
arrivalTime
|
|
1327
|
+
waitingDuration
|
|
1328
|
+
setupDuration
|
|
1329
|
+
serviceDuration
|
|
1330
|
+
shipper {
|
|
1331
|
+
_id
|
|
1332
|
+
name
|
|
1333
|
+
address {
|
|
1334
|
+
label
|
|
1335
|
+
}
|
|
1336
|
+
addressTimezone
|
|
1337
|
+
}
|
|
1338
|
+
receiver {
|
|
1339
|
+
_id
|
|
1340
|
+
name
|
|
1341
|
+
address {
|
|
1342
|
+
label
|
|
1343
|
+
}
|
|
1344
|
+
addressTimezone
|
|
1345
|
+
}
|
|
1346
|
+
timeWindows {
|
|
1347
|
+
fromDate
|
|
1348
|
+
toDate
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
trailer {
|
|
1352
|
+
_id
|
|
1353
|
+
type
|
|
1354
|
+
serialNumber
|
|
1355
|
+
}
|
|
1356
|
+
tractor {
|
|
1357
|
+
_id
|
|
1358
|
+
serialNumber
|
|
1359
|
+
}
|
|
1360
|
+
driver {
|
|
1361
|
+
_id
|
|
1362
|
+
firstname
|
|
1363
|
+
lastname
|
|
1364
|
+
}
|
|
1365
|
+
carrier {
|
|
1366
|
+
_id
|
|
1367
|
+
name
|
|
1368
|
+
code
|
|
1369
|
+
}
|
|
1370
|
+
firstPickupTime
|
|
1371
|
+
lastDropoffTime
|
|
1372
|
+
tags
|
|
1373
|
+
customFields {
|
|
1374
|
+
key
|
|
1375
|
+
value
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1380
|
+
`;
|
|
1030
1381
|
exports.GetOrgUserByIdDocument = (0, graphql_tag_1.default) `
|
|
1031
1382
|
query getOrgUserById($id: String!) {
|
|
1032
1383
|
orgUserById(id: $id) {
|
|
@@ -1135,6 +1486,9 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
1135
1486
|
editTransaction(variables, requestHeaders) {
|
|
1136
1487
|
return withWrapper((wrappedRequestHeaders) => client.request(exports.EditTransactionDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'editTransaction', 'mutation');
|
|
1137
1488
|
},
|
|
1489
|
+
listTrips(variables, requestHeaders) {
|
|
1490
|
+
return withWrapper((wrappedRequestHeaders) => client.request(exports.ListTripsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'listTrips', 'query');
|
|
1491
|
+
},
|
|
1138
1492
|
getOrgUserById(variables, requestHeaders) {
|
|
1139
1493
|
return withWrapper((wrappedRequestHeaders) => client.request(exports.GetOrgUserByIdDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getOrgUserById', 'query');
|
|
1140
1494
|
}
|