@truetms/truetms-node 0.0.3 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/codegen.yml +1 -1
- package/dist/src/graphql/generated.js +169 -3
- package/dist/src/graphql/generated.js.map +1 -1
- package/dist/src/sdk/driverSettlements.js +16 -0
- package/dist/src/sdk/driverSettlements.js.map +1 -0
- package/dist/src/sdk/index.js +4 -0
- package/dist/src/sdk/index.js.map +1 -1
- package/dist/src/sdk/users.js +15 -0
- package/dist/src/sdk/users.js.map +1 -0
- package/package.json +1 -1
- package/src/graphql/driver-settlements.graphql +110 -0
- package/src/graphql/generated.ts +366 -7
- package/src/graphql/invoices.graphql +11 -2
- package/src/graphql/users.graphql +16 -0
- package/src/sdk/driverSettlements.ts +15 -0
- package/src/sdk/index.ts +6 -0
- package/src/sdk/users.ts +10 -0
- package/dist/src/TrueTms.js +0 -2
- package/dist/src/TrueTms.js.map +0 -1
- package/dist/src/sdk/TrueTMS.js +0 -2
- package/dist/src/sdk/TrueTMS.js.map +0 -1
package/codegen.yml
CHANGED
|
@@ -3,7 +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.
|
|
6
|
+
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.TripSortCriteria = exports.TripAssetTypes = exports.TransactionType = exports.TrailerType = exports.Status = exports.ShipmentSortCriteria = exports.ShipmentLocationType = exports.ShipmentEventType = exports.ShipmentConstraintType = exports.S3_Operation = exports.ReportType = exports.PaymentPeriodUnit = exports.NoteAccessLevel = exports.MeasurementSystem = exports.LoadType = exports.InvoiceStatus = exports.ExtensionOperationContext = exports.ExtensionMessageType = exports.ExtensionHookOperation = exports.ExtensionCustomFieldType = exports.ExtensionCustomFieldContext = exports.Events = exports.DriverPaymentMethod = exports.DriverLicenseRestriction = exports.DriverLicenseEndorsement = exports.DriverLicenseClassification = exports.DriverHosStatus = exports.DriverDeductionMethod = exports.DeductionType = exports.DeductionPeriodUnit = exports.BusinessEntityType = exports.BillingRuleType = exports.BillingRuleConditionTarget = exports.BillingRuleConditionOperator = exports.BillingMethod = exports.AssetStatus = void 0;
|
|
7
|
+
exports.getSdk = exports.GetOrgUserByIdDocument = exports.PersistTractorPositionsDocument = exports.EditTractorDocument = exports.AddTractorDocument = exports.GetTractorBySerialNumberDocument = void 0;
|
|
7
8
|
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
|
8
9
|
var AssetStatus;
|
|
9
10
|
(function (AssetStatus) {
|
|
@@ -113,6 +114,8 @@ var DriverPaymentMethod;
|
|
|
113
114
|
var Events;
|
|
114
115
|
(function (Events) {
|
|
115
116
|
Events["DriverPositionUpdated"] = "DRIVER_POSITION_UPDATED";
|
|
117
|
+
Events["DriverSettlementCreated"] = "DRIVER_SETTLEMENT_CREATED";
|
|
118
|
+
Events["DriverSettlementDeleted"] = "DRIVER_SETTLEMENT_DELETED";
|
|
116
119
|
Events["InvoiceCreated"] = "INVOICE_CREATED";
|
|
117
120
|
Events["InvoiceDeleted"] = "INVOICE_DELETED";
|
|
118
121
|
Events["ShipmentCreated"] = "SHIPMENT_CREATED";
|
|
@@ -125,6 +128,21 @@ var Events;
|
|
|
125
128
|
Events["TripFullyAssigned"] = "TRIP_FULLY_ASSIGNED";
|
|
126
129
|
Events["TripUpdated"] = "TRIP_UPDATED";
|
|
127
130
|
})(Events = exports.Events || (exports.Events = {}));
|
|
131
|
+
var ExtensionCustomFieldContext;
|
|
132
|
+
(function (ExtensionCustomFieldContext) {
|
|
133
|
+
ExtensionCustomFieldContext["Expense"] = "EXPENSE";
|
|
134
|
+
})(ExtensionCustomFieldContext = exports.ExtensionCustomFieldContext || (exports.ExtensionCustomFieldContext = {}));
|
|
135
|
+
var ExtensionCustomFieldType;
|
|
136
|
+
(function (ExtensionCustomFieldType) {
|
|
137
|
+
ExtensionCustomFieldType["Boolean"] = "BOOLEAN";
|
|
138
|
+
ExtensionCustomFieldType["Date"] = "DATE";
|
|
139
|
+
ExtensionCustomFieldType["Datetime"] = "DATETIME";
|
|
140
|
+
ExtensionCustomFieldType["Multiselect"] = "MULTISELECT";
|
|
141
|
+
ExtensionCustomFieldType["Number"] = "NUMBER";
|
|
142
|
+
ExtensionCustomFieldType["Select"] = "SELECT";
|
|
143
|
+
ExtensionCustomFieldType["String"] = "STRING";
|
|
144
|
+
ExtensionCustomFieldType["Time"] = "TIME";
|
|
145
|
+
})(ExtensionCustomFieldType = exports.ExtensionCustomFieldType || (exports.ExtensionCustomFieldType = {}));
|
|
128
146
|
var ExtensionHookOperation;
|
|
129
147
|
(function (ExtensionHookOperation) {
|
|
130
148
|
ExtensionHookOperation["GetInvoiceTemplate"] = "GET_INVOICE_TEMPLATE";
|
|
@@ -249,6 +267,11 @@ var TrailerType;
|
|
|
249
267
|
TrailerType["Tanker"] = "TANKER";
|
|
250
268
|
TrailerType["Van"] = "VAN";
|
|
251
269
|
})(TrailerType = exports.TrailerType || (exports.TrailerType = {}));
|
|
270
|
+
var TransactionType;
|
|
271
|
+
(function (TransactionType) {
|
|
272
|
+
TransactionType["Expense"] = "EXPENSE";
|
|
273
|
+
TransactionType["Income"] = "INCOME";
|
|
274
|
+
})(TransactionType = exports.TransactionType || (exports.TransactionType = {}));
|
|
252
275
|
var TripAssetTypes;
|
|
253
276
|
(function (TripAssetTypes) {
|
|
254
277
|
TripAssetTypes["Chassis"] = "CHASSIS";
|
|
@@ -264,6 +287,110 @@ var TripSortCriteria;
|
|
|
264
287
|
TripSortCriteria["StartDate"] = "START_DATE";
|
|
265
288
|
TripSortCriteria["StartLocation"] = "START_LOCATION";
|
|
266
289
|
})(TripSortCriteria = exports.TripSortCriteria || (exports.TripSortCriteria = {}));
|
|
290
|
+
exports.GetDriverSettlementsForDriverDocument = (0, graphql_tag_1.default) `
|
|
291
|
+
query getDriverSettlementsForDriver($driverId: String!, $search: String, $skip: Int, $take: Int) {
|
|
292
|
+
driverSettlements(driver: $driverId, search: $search, skip: $skip, take: $take) {
|
|
293
|
+
data {
|
|
294
|
+
_id
|
|
295
|
+
driverSettlementNumber
|
|
296
|
+
startDate
|
|
297
|
+
endDate
|
|
298
|
+
pdfDocument {
|
|
299
|
+
isGenerating
|
|
300
|
+
url
|
|
301
|
+
error
|
|
302
|
+
}
|
|
303
|
+
payments {
|
|
304
|
+
_id
|
|
305
|
+
unit
|
|
306
|
+
rate
|
|
307
|
+
}
|
|
308
|
+
deductions {
|
|
309
|
+
amount
|
|
310
|
+
}
|
|
311
|
+
trips {
|
|
312
|
+
_id
|
|
313
|
+
tripNumber
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
count
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
`;
|
|
320
|
+
exports.GetDriverSettlementByIdDocument = (0, graphql_tag_1.default) `
|
|
321
|
+
query getDriverSettlementById($id: String!) {
|
|
322
|
+
driverSettlementById(id: $id) {
|
|
323
|
+
_id
|
|
324
|
+
driverSettlementNumber
|
|
325
|
+
startDate
|
|
326
|
+
endDate
|
|
327
|
+
pdfDocument {
|
|
328
|
+
isGenerating
|
|
329
|
+
url
|
|
330
|
+
error
|
|
331
|
+
}
|
|
332
|
+
payments {
|
|
333
|
+
_id
|
|
334
|
+
label
|
|
335
|
+
unit
|
|
336
|
+
rate
|
|
337
|
+
}
|
|
338
|
+
deductions {
|
|
339
|
+
label
|
|
340
|
+
amount
|
|
341
|
+
}
|
|
342
|
+
trips {
|
|
343
|
+
_id
|
|
344
|
+
tripNumber
|
|
345
|
+
}
|
|
346
|
+
driver {
|
|
347
|
+
_id
|
|
348
|
+
firstname
|
|
349
|
+
middlename
|
|
350
|
+
lastname
|
|
351
|
+
phoneNumber
|
|
352
|
+
userId
|
|
353
|
+
status
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
`;
|
|
358
|
+
exports.GetDriverSettlementByNumberDocument = (0, graphql_tag_1.default) `
|
|
359
|
+
query getDriverSettlementByNumber($driverSettlementNumber: String!) {
|
|
360
|
+
driverSettlementByNumber(driverSettlementNumber: $driverSettlementNumber) {
|
|
361
|
+
_id
|
|
362
|
+
driverSettlementNumber
|
|
363
|
+
startDate
|
|
364
|
+
endDate
|
|
365
|
+
pdfDocument {
|
|
366
|
+
isGenerating
|
|
367
|
+
url
|
|
368
|
+
error
|
|
369
|
+
}
|
|
370
|
+
payments {
|
|
371
|
+
_id
|
|
372
|
+
unit
|
|
373
|
+
rate
|
|
374
|
+
}
|
|
375
|
+
deductions {
|
|
376
|
+
amount
|
|
377
|
+
}
|
|
378
|
+
trips {
|
|
379
|
+
_id
|
|
380
|
+
tripNumber
|
|
381
|
+
}
|
|
382
|
+
driver {
|
|
383
|
+
_id
|
|
384
|
+
firstname
|
|
385
|
+
middlename
|
|
386
|
+
lastname
|
|
387
|
+
phoneNumber
|
|
388
|
+
userId
|
|
389
|
+
status
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
`;
|
|
267
394
|
exports.GetDriverByEldIdDocument = (0, graphql_tag_1.default) `
|
|
268
395
|
query getDriverByEldId($eldId: String!) {
|
|
269
396
|
driverByEldId(eldId: $eldId) {
|
|
@@ -298,7 +425,6 @@ exports.GetInvoiceByIdDocument = (0, graphql_tag_1.default) `
|
|
|
298
425
|
_id
|
|
299
426
|
charges {
|
|
300
427
|
_id
|
|
301
|
-
billToClient
|
|
302
428
|
billingRule {
|
|
303
429
|
_id
|
|
304
430
|
referenceNumber
|
|
@@ -324,6 +450,17 @@ exports.GetInvoiceByIdDocument = (0, graphql_tag_1.default) `
|
|
|
324
450
|
_id
|
|
325
451
|
shipmentNumber
|
|
326
452
|
referenceNumber
|
|
453
|
+
expenses {
|
|
454
|
+
_id
|
|
455
|
+
label
|
|
456
|
+
rate
|
|
457
|
+
unit
|
|
458
|
+
unitType
|
|
459
|
+
customFields {
|
|
460
|
+
key
|
|
461
|
+
value
|
|
462
|
+
}
|
|
463
|
+
}
|
|
327
464
|
}
|
|
328
465
|
status
|
|
329
466
|
}
|
|
@@ -335,7 +472,6 @@ exports.GetInvoiceByNumberDocument = (0, graphql_tag_1.default) `
|
|
|
335
472
|
_id
|
|
336
473
|
charges {
|
|
337
474
|
_id
|
|
338
|
-
billToClient
|
|
339
475
|
billingRule {
|
|
340
476
|
_id
|
|
341
477
|
referenceNumber
|
|
@@ -435,9 +571,36 @@ exports.PersistTractorPositionsDocument = (0, graphql_tag_1.default) `
|
|
|
435
571
|
persistTractorPositions(id: $id, positions: $positions)
|
|
436
572
|
}
|
|
437
573
|
`;
|
|
574
|
+
exports.GetOrgUserByIdDocument = (0, graphql_tag_1.default) `
|
|
575
|
+
query getOrgUserById($id: String!) {
|
|
576
|
+
orgUserById(id: $id) {
|
|
577
|
+
_id
|
|
578
|
+
email
|
|
579
|
+
username
|
|
580
|
+
firstName
|
|
581
|
+
lastName
|
|
582
|
+
attributes {
|
|
583
|
+
driverId
|
|
584
|
+
}
|
|
585
|
+
roles {
|
|
586
|
+
id
|
|
587
|
+
name
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
`;
|
|
438
592
|
const defaultWrapper = (action, _operationName, _operationType) => action();
|
|
439
593
|
function getSdk(client, withWrapper = defaultWrapper) {
|
|
440
594
|
return {
|
|
595
|
+
getDriverSettlementsForDriver(variables, requestHeaders) {
|
|
596
|
+
return withWrapper((wrappedRequestHeaders) => client.request(exports.GetDriverSettlementsForDriverDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getDriverSettlementsForDriver', 'query');
|
|
597
|
+
},
|
|
598
|
+
getDriverSettlementById(variables, requestHeaders) {
|
|
599
|
+
return withWrapper((wrappedRequestHeaders) => client.request(exports.GetDriverSettlementByIdDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getDriverSettlementById', 'query');
|
|
600
|
+
},
|
|
601
|
+
getDriverSettlementByNumber(variables, requestHeaders) {
|
|
602
|
+
return withWrapper((wrappedRequestHeaders) => client.request(exports.GetDriverSettlementByNumberDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getDriverSettlementByNumber', 'query');
|
|
603
|
+
},
|
|
441
604
|
getDriverByEldId(variables, requestHeaders) {
|
|
442
605
|
return withWrapper((wrappedRequestHeaders) => client.request(exports.GetDriverByEldIdDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getDriverByEldId', 'query');
|
|
443
606
|
},
|
|
@@ -482,6 +645,9 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
482
645
|
},
|
|
483
646
|
persistTractorPositions(variables, requestHeaders) {
|
|
484
647
|
return withWrapper((wrappedRequestHeaders) => client.request(exports.PersistTractorPositionsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'persistTractorPositions', 'mutation');
|
|
648
|
+
},
|
|
649
|
+
getOrgUserById(variables, requestHeaders) {
|
|
650
|
+
return withWrapper((wrappedRequestHeaders) => client.request(exports.GetOrgUserByIdDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getOrgUserById', 'query');
|
|
485
651
|
}
|
|
486
652
|
};
|
|
487
653
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated.js","sourceRoot":"","sources":["../../../src/graphql/generated.ts"],"names":[],"mappings":";;;;;;AAEA,8DAA8B;AAwC9B,IA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AC,CAAC;QACnO,CAAC;KACF,CAAC;AACJ,CAAC;AAhDD,wBAgDC"}
|
|
1
|
+
{"version":3,"file":"generated.js","sourceRoot":"","sources":["../../../src/graphql/generated.ts"],"names":[],"mappings":";;;;;;;AAEA,8DAA8B;AAyC9B,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;AACvB,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB;AAQD,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,qCAAoB,CAAA;IACpB,wDAAuC,CAAA;IACvC,qCAAoB,CAAA;IACpB,qCAAoB,CAAA;AACtB,CAAC,EALW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAKxB;AA4BD,IAAY,4BAKX;AALD,WAAY,4BAA4B;IACtC,iDAAiB,CAAA;IACjB,wDAAwB,CAAA;IACxB,iFAAiD,CAAA;IACjD,2EAA2C,CAAA;AAC7C,CAAC,EALW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAKvC;AAED,IAAY,0BAUX;AAVD,WAAY,0BAA0B;IACpC,2CAAa,CAAA;IACb,8DAAgC,CAAA;IAChC,iDAAmB,CAAA;IACnB,qDAAuB,CAAA;IACvB,mDAAqB,CAAA;IACrB,iDAAmB,CAAA;IACnB,2CAAa,CAAA;IACb,iDAAmB,CAAA;IACnB,0DAA4B,CAAA;AAC9B,CAAC,EAVW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAUrC;AAQD,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,8CAA2B,CAAA;IAC3B,sCAAmB,CAAA;AACrB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AA4DD,IAAY,kBAMX;AAND,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;IACrB,2CAAqB,CAAA;IACrB,yCAAmB,CAAA;AACrB,CAA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AE,EAAE,CAAC,MAAM,CAAC,OAAO,CAAqB,0BAAkB,EAAE,SAAS,kCAAM,cAAc,GAAK,qBAAqB,EAAE,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;QAC5L,CAAC;QACD,WAAW,CAAC,SAAuC,EAAE,cAA2C;YAC9F,OAAO,WAAW,CAAC,CAAC,qBAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,CAAsB,2BAAmB,EAAE,SAAS,kCAAM,cAAc,GAAK,qBAAqB,EAAE,EAAE,aAAa,EAAE,UAAU,CAAC,CAAC;QAC/L,CAAC;QACD,uBAAuB,CAAC,SAAmD,EAAE,cAA2C;YACtH,OAAO,WAAW,CAAC,CAAC,qBAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,CAAkC,uCAA+B,EAAE,SAAS,kCAAM,cAAc,GAAK,qBAAqB,EAAE,EAAE,yBAAyB,EAAE,UAAU,CAAC,CAAC;QACnO,CAAC;QACD,cAAc,CAAC,SAAuC,EAAE,cAA2C;YACjG,OAAO,WAAW,CAAC,CAAC,qBAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,CAAsB,8BAAsB,EAAE,SAAS,kCAAM,cAAc,GAAK,qBAAqB,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAC;QAClM,CAAC;KACF,CAAC;AACJ,CAAC;AA5DD,wBA4DC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const _1 = require(".");
|
|
7
|
+
const truetms_graphql_client_1 = __importDefault(require("../providers/truetms-graphql-client"));
|
|
8
|
+
class TrueTMSDriverSettlementsSdk {
|
|
9
|
+
constructor(options) {
|
|
10
|
+
this.options = options;
|
|
11
|
+
this.getDriverSettlementById = (0, _1.authenticateApiCall)(truetms_graphql_client_1.default.getDriverSettlementById);
|
|
12
|
+
this.getDriverSettlementByNumber = (0, _1.authenticateApiCall)(truetms_graphql_client_1.default.getDriverSettlementByNumber);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.default = TrueTMSDriverSettlementsSdk;
|
|
16
|
+
//# sourceMappingURL=driverSettlements.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"driverSettlements.js","sourceRoot":"","sources":["../../../src/sdk/driverSettlements.ts"],"names":[],"mappings":";;;;;AAAA,wBAAwD;AACxD,iGAAuE;AAEvE,MAAM,2BAA2B;IAC/B,YAAoB,OAAuB;QAAvB,YAAO,GAAP,OAAO,CAAgB;QAE3C,4BAAuB,GAAG,IAAA,sBAAmB,EAC3C,gCAAoB,CAAC,uBAAuB,CAC7C,CAAC;QACF,gCAA2B,GAAG,IAAA,sBAAmB,EAC/C,gCAAoB,CAAC,2BAA2B,CACjD,CAAC;IAP4C,CAAC;CAQhD;AAED,kBAAe,2BAA2B,CAAC"}
|
package/dist/src/sdk/index.js
CHANGED
|
@@ -38,8 +38,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
38
38
|
exports.authenticateApiCall = void 0;
|
|
39
39
|
const auth_1 = __importStar(require("./auth"));
|
|
40
40
|
const drivers_1 = __importDefault(require("./drivers"));
|
|
41
|
+
const driverSettlements_1 = __importDefault(require("./driverSettlements"));
|
|
41
42
|
const invoices_1 = __importDefault(require("./invoices"));
|
|
42
43
|
const tractors_1 = __importDefault(require("./tractors"));
|
|
44
|
+
const users_1 = __importDefault(require("./users"));
|
|
43
45
|
class TrueTMS {
|
|
44
46
|
constructor(options) {
|
|
45
47
|
this.options = options;
|
|
@@ -47,6 +49,8 @@ class TrueTMS {
|
|
|
47
49
|
this.auth = new auth_1.default(options);
|
|
48
50
|
this.tractors = new tractors_1.default(options);
|
|
49
51
|
this.invoices = new invoices_1.default(options);
|
|
52
|
+
this.driverSettlements = new driverSettlements_1.default(options);
|
|
53
|
+
this.users = new users_1.default(options);
|
|
50
54
|
}
|
|
51
55
|
}
|
|
52
56
|
exports.default = TrueTMS;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/sdk/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAyE;AACzE,wDAAyC;AACzC,0DAA4C;AAC5C,0DAA4C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/sdk/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAyE;AACzE,wDAAyC;AACzC,4EAA8D;AAC9D,0DAA4C;AAC5C,0DAA4C;AAC5C,oDAAsC;AAStC,MAAM,OAAO;IAQX,YAAoB,OAAuB;QAAvB,YAAO,GAAP,OAAO,CAAgB;QACzC,IAAI,CAAC,OAAO,GAAG,IAAI,iBAAgB,CAAC,OAAO,CAAC,CAAC;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,cAAW,CAAC,OAAO,CAAC,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,IAAI,kBAAkB,CAAC,OAAO,CAAC,CAAC;QAChD,IAAI,CAAC,QAAQ,GAAG,IAAI,kBAAkB,CAAC,OAAO,CAAC,CAAC;QAChD,IAAI,CAAC,iBAAiB,GAAG,IAAI,2BAA2B,CAAC,OAAO,CAAC,CAAC;QAClE,IAAI,CAAC,KAAK,GAAG,IAAI,eAAe,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CACF;AAED,kBAAe,OAAO,CAAC;AAEvB,SAAgB,mBAAmB,CAAwB,SAAY;IACrE,aAAa;IACb,OAAO,UAAgB,GAAG,IAAe;;YACvC,aAAa;YACb,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,KAAe,CAAC;YAClD,aAAa;YACb,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAkB,CAAC;YACjD,aAAa;YACb,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,YAAsB,CAAC;YACzD,MAAM,WAAW,GAAG,CAClB,MAAM,IAAA,yCAAkC,EACtC,YAAY,EACZ,QAAQ,EACR,YAAY,CACb,CACF,CAAC,YAAY,CAAC;YACf,OAAO,SAAS,CAAC,GAAG,IAAI,EAAE;gBACxB,aAAa,EAAE,UAAU,WAAW,EAAE;aACvC,CAAC,CAAC;QACL,CAAC;KAAK,CAAC;AACT,CAAC;AApBD,kDAoBC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const _1 = require(".");
|
|
7
|
+
const truetms_graphql_client_1 = __importDefault(require("../providers/truetms-graphql-client"));
|
|
8
|
+
class TrueTMSUsersSdk {
|
|
9
|
+
constructor(options) {
|
|
10
|
+
this.options = options;
|
|
11
|
+
this.getOrgUserById = (0, _1.authenticateApiCall)(truetms_graphql_client_1.default.getOrgUserById);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.default = TrueTMSUsersSdk;
|
|
15
|
+
//# sourceMappingURL=users.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../../src/sdk/users.ts"],"names":[],"mappings":";;;;;AAAA,wBAAwD;AACxD,iGAAuE;AAEvE,MAAM,eAAe;IACnB,YAAoB,OAAuB;QAAvB,YAAO,GAAP,OAAO,CAAgB;QAE3C,mBAAc,GAAG,IAAA,sBAAmB,EAAC,gCAAoB,CAAC,cAAc,CAAC,CAAC;IAF5B,CAAC;CAGhD;AAED,kBAAe,eAAe,CAAC"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
query getDriverSettlementsForDriver(
|
|
2
|
+
$driverId: String!
|
|
3
|
+
$search: String
|
|
4
|
+
$skip: Int
|
|
5
|
+
$take: Int
|
|
6
|
+
) {
|
|
7
|
+
driverSettlements(
|
|
8
|
+
driver: $driverId
|
|
9
|
+
search: $search
|
|
10
|
+
skip: $skip
|
|
11
|
+
take: $take
|
|
12
|
+
) {
|
|
13
|
+
data {
|
|
14
|
+
_id
|
|
15
|
+
driverSettlementNumber
|
|
16
|
+
startDate
|
|
17
|
+
endDate
|
|
18
|
+
pdfDocument {
|
|
19
|
+
isGenerating
|
|
20
|
+
url
|
|
21
|
+
error
|
|
22
|
+
}
|
|
23
|
+
payments {
|
|
24
|
+
_id
|
|
25
|
+
unit
|
|
26
|
+
rate
|
|
27
|
+
}
|
|
28
|
+
deductions {
|
|
29
|
+
amount
|
|
30
|
+
}
|
|
31
|
+
trips {
|
|
32
|
+
_id
|
|
33
|
+
tripNumber
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
count
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
query getDriverSettlementById($id: String!) {
|
|
41
|
+
driverSettlementById(id: $id) {
|
|
42
|
+
_id
|
|
43
|
+
driverSettlementNumber
|
|
44
|
+
startDate
|
|
45
|
+
endDate
|
|
46
|
+
pdfDocument {
|
|
47
|
+
isGenerating
|
|
48
|
+
url
|
|
49
|
+
error
|
|
50
|
+
}
|
|
51
|
+
payments {
|
|
52
|
+
_id
|
|
53
|
+
label
|
|
54
|
+
unit
|
|
55
|
+
rate
|
|
56
|
+
}
|
|
57
|
+
deductions {
|
|
58
|
+
label
|
|
59
|
+
amount
|
|
60
|
+
}
|
|
61
|
+
trips {
|
|
62
|
+
_id
|
|
63
|
+
tripNumber
|
|
64
|
+
}
|
|
65
|
+
driver {
|
|
66
|
+
_id
|
|
67
|
+
firstname
|
|
68
|
+
middlename
|
|
69
|
+
lastname
|
|
70
|
+
phoneNumber
|
|
71
|
+
userId
|
|
72
|
+
status
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
query getDriverSettlementByNumber($driverSettlementNumber: String!) {
|
|
78
|
+
driverSettlementByNumber(driverSettlementNumber: $driverSettlementNumber) {
|
|
79
|
+
_id
|
|
80
|
+
driverSettlementNumber
|
|
81
|
+
startDate
|
|
82
|
+
endDate
|
|
83
|
+
pdfDocument {
|
|
84
|
+
isGenerating
|
|
85
|
+
url
|
|
86
|
+
error
|
|
87
|
+
}
|
|
88
|
+
payments {
|
|
89
|
+
_id
|
|
90
|
+
unit
|
|
91
|
+
rate
|
|
92
|
+
}
|
|
93
|
+
deductions {
|
|
94
|
+
amount
|
|
95
|
+
}
|
|
96
|
+
trips {
|
|
97
|
+
_id
|
|
98
|
+
tripNumber
|
|
99
|
+
}
|
|
100
|
+
driver {
|
|
101
|
+
_id
|
|
102
|
+
firstname
|
|
103
|
+
middlename
|
|
104
|
+
lastname
|
|
105
|
+
phoneNumber
|
|
106
|
+
userId
|
|
107
|
+
status
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
package/src/graphql/generated.ts
CHANGED
|
@@ -14,6 +14,7 @@ export type Scalars = {
|
|
|
14
14
|
Int: number;
|
|
15
15
|
Float: number;
|
|
16
16
|
ConditionValue: any;
|
|
17
|
+
CustomFieldValue: any;
|
|
17
18
|
DateTime: any;
|
|
18
19
|
Mixed: any;
|
|
19
20
|
ReportFilter: any;
|
|
@@ -266,6 +267,17 @@ export type CoordinatesInput = {
|
|
|
266
267
|
speed?: InputMaybe<Scalars['Float']>;
|
|
267
268
|
};
|
|
268
269
|
|
|
270
|
+
export type CustomField = {
|
|
271
|
+
__typename?: 'CustomField';
|
|
272
|
+
key: Scalars['String'];
|
|
273
|
+
value?: Maybe<Scalars['CustomFieldValue']>;
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
export type CustomFieldInput = {
|
|
277
|
+
key: Scalars['String'];
|
|
278
|
+
value?: InputMaybe<Scalars['CustomFieldValue']>;
|
|
279
|
+
};
|
|
280
|
+
|
|
269
281
|
/** A Customer Business entity */
|
|
270
282
|
export type Customer = {
|
|
271
283
|
__typename?: 'Customer';
|
|
@@ -566,6 +578,31 @@ export type DriverSettlement = {
|
|
|
566
578
|
trips?: Maybe<Array<Trip>>;
|
|
567
579
|
};
|
|
568
580
|
|
|
581
|
+
export type DriverSettlementCreatedEvent = {
|
|
582
|
+
__typename?: 'DriverSettlementCreatedEvent';
|
|
583
|
+
name: Events;
|
|
584
|
+
organizationId?: Maybe<Scalars['String']>;
|
|
585
|
+
payload: DriverSettlementCreatedEventPayload;
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
export type DriverSettlementCreatedEventPayload = {
|
|
589
|
+
__typename?: 'DriverSettlementCreatedEventPayload';
|
|
590
|
+
driverSettlement: DriverSettlement;
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
export type DriverSettlementDeletedEvent = {
|
|
594
|
+
__typename?: 'DriverSettlementDeletedEvent';
|
|
595
|
+
name: Events;
|
|
596
|
+
organizationId?: Maybe<Scalars['String']>;
|
|
597
|
+
payload: DriverSettlementDeletedEventPayload;
|
|
598
|
+
};
|
|
599
|
+
|
|
600
|
+
export type DriverSettlementDeletedEventPayload = {
|
|
601
|
+
__typename?: 'DriverSettlementDeletedEventPayload';
|
|
602
|
+
driverSettlementId: Scalars['String'];
|
|
603
|
+
driverSettlementNumber: Scalars['String'];
|
|
604
|
+
};
|
|
605
|
+
|
|
569
606
|
export type DriverSettlementPaginatedResult = {
|
|
570
607
|
__typename?: 'DriverSettlementPaginatedResult';
|
|
571
608
|
count: Scalars['Int'];
|
|
@@ -625,6 +662,8 @@ export type EditShipmentNoteInput = {
|
|
|
625
662
|
|
|
626
663
|
export enum Events {
|
|
627
664
|
DriverPositionUpdated = 'DRIVER_POSITION_UPDATED',
|
|
665
|
+
DriverSettlementCreated = 'DRIVER_SETTLEMENT_CREATED',
|
|
666
|
+
DriverSettlementDeleted = 'DRIVER_SETTLEMENT_DELETED',
|
|
628
667
|
InvoiceCreated = 'INVOICE_CREATED',
|
|
629
668
|
InvoiceDeleted = 'INVOICE_DELETED',
|
|
630
669
|
ShipmentCreated = 'SHIPMENT_CREATED',
|
|
@@ -673,6 +712,52 @@ export type ExtensionConfigurationValueInput = {
|
|
|
673
712
|
value: Scalars['Mixed'];
|
|
674
713
|
};
|
|
675
714
|
|
|
715
|
+
export enum ExtensionCustomFieldContext {
|
|
716
|
+
Expense = 'EXPENSE'
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
/** Extension custom field */
|
|
720
|
+
export type ExtensionCustomFieldDefinition = {
|
|
721
|
+
__typename?: 'ExtensionCustomFieldDefinition';
|
|
722
|
+
context: Scalars['String'];
|
|
723
|
+
description: Scalars['String'];
|
|
724
|
+
key: Scalars['String'];
|
|
725
|
+
label: Scalars['String'];
|
|
726
|
+
selectOptions?: Maybe<Array<ExtensionCustomFieldSelectOption>>;
|
|
727
|
+
selectOptionsEndpoint?: Maybe<Scalars['String']>;
|
|
728
|
+
type: ExtensionCustomFieldType;
|
|
729
|
+
};
|
|
730
|
+
|
|
731
|
+
/** Extension custom field select option */
|
|
732
|
+
export type ExtensionCustomFieldSelectOption = {
|
|
733
|
+
__typename?: 'ExtensionCustomFieldSelectOption';
|
|
734
|
+
key: Scalars['String'];
|
|
735
|
+
label: Scalars['String'];
|
|
736
|
+
};
|
|
737
|
+
|
|
738
|
+
export enum ExtensionCustomFieldType {
|
|
739
|
+
Boolean = 'BOOLEAN',
|
|
740
|
+
Date = 'DATE',
|
|
741
|
+
Datetime = 'DATETIME',
|
|
742
|
+
Multiselect = 'MULTISELECT',
|
|
743
|
+
Number = 'NUMBER',
|
|
744
|
+
Select = 'SELECT',
|
|
745
|
+
String = 'STRING',
|
|
746
|
+
Time = 'TIME'
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
export type ExtensionCustomFieldWithExtensionId = {
|
|
750
|
+
__typename?: 'ExtensionCustomFieldWithExtensionId';
|
|
751
|
+
context: Scalars['String'];
|
|
752
|
+
description: Scalars['String'];
|
|
753
|
+
extensionId: Scalars['String'];
|
|
754
|
+
key: Scalars['String'];
|
|
755
|
+
label: Scalars['String'];
|
|
756
|
+
selectOptions?: Maybe<Array<ExtensionCustomFieldSelectOption>>;
|
|
757
|
+
selectOptionsEndpoint?: Maybe<Scalars['String']>;
|
|
758
|
+
type: ExtensionCustomFieldType;
|
|
759
|
+
};
|
|
760
|
+
|
|
676
761
|
/** Extension event handler */
|
|
677
762
|
export type ExtensionEventHandler = {
|
|
678
763
|
__typename?: 'ExtensionEventHandler';
|
|
@@ -757,10 +842,12 @@ export type ExtensionPaginatedResult = {
|
|
|
757
842
|
export type ExtensionSettings = {
|
|
758
843
|
__typename?: 'ExtensionSettings';
|
|
759
844
|
authEndpoint: Scalars['String'];
|
|
845
|
+
configureEndpoint?: Maybe<Scalars['String']>;
|
|
846
|
+
customFields: Array<ExtensionCustomFieldDefinition>;
|
|
760
847
|
eventHandlers: Array<ExtensionEventHandler>;
|
|
761
848
|
hooks: Array<ExtensionHook>;
|
|
762
849
|
installEndpoint: Scalars['String'];
|
|
763
|
-
messagesEndpoint
|
|
850
|
+
messagesEndpoint?: Maybe<Scalars['String']>;
|
|
764
851
|
operations: Array<ExtensionOperation>;
|
|
765
852
|
rootUrl: Scalars['String'];
|
|
766
853
|
uninstallEndpoint: Scalars['String'];
|
|
@@ -1032,6 +1119,7 @@ export type Mutation = {
|
|
|
1032
1119
|
addShipper: Shipper;
|
|
1033
1120
|
addTractor: Tractor;
|
|
1034
1121
|
addTrailer: Trailer;
|
|
1122
|
+
addTransaction: Transaction;
|
|
1035
1123
|
addTrip: Trip;
|
|
1036
1124
|
assignTripAsset: Trip;
|
|
1037
1125
|
callExtensionOperation: ExtensionOperationResponse;
|
|
@@ -1051,6 +1139,7 @@ export type Mutation = {
|
|
|
1051
1139
|
deleteShipper: Scalars['Boolean'];
|
|
1052
1140
|
deleteTractor: Scalars['Boolean'];
|
|
1053
1141
|
deleteTrailer: Scalars['Boolean'];
|
|
1142
|
+
deleteTransaction: Scalars['Boolean'];
|
|
1054
1143
|
deleteTrip: Trip;
|
|
1055
1144
|
documentSignedUrl: DocumentSignedUrl;
|
|
1056
1145
|
editBillingRule: BillingRule;
|
|
@@ -1067,6 +1156,7 @@ export type Mutation = {
|
|
|
1067
1156
|
editShipper: Shipper;
|
|
1068
1157
|
editTractor: Tractor;
|
|
1069
1158
|
editTrailer: Trailer;
|
|
1159
|
+
editTransaction: Transaction;
|
|
1070
1160
|
generateDriverSettlement: DriverSettlement;
|
|
1071
1161
|
generateInvoice: Invoice;
|
|
1072
1162
|
generateReportPdf: ReportPdf;
|
|
@@ -1180,6 +1270,11 @@ export type MutationAddTrailerArgs = {
|
|
|
1180
1270
|
};
|
|
1181
1271
|
|
|
1182
1272
|
|
|
1273
|
+
export type MutationAddTransactionArgs = {
|
|
1274
|
+
newTransactionData: TransactionInput;
|
|
1275
|
+
};
|
|
1276
|
+
|
|
1277
|
+
|
|
1183
1278
|
export type MutationAddTripArgs = {
|
|
1184
1279
|
newTripData: NewTripInput;
|
|
1185
1280
|
};
|
|
@@ -1278,6 +1373,11 @@ export type MutationDeleteTrailerArgs = {
|
|
|
1278
1373
|
};
|
|
1279
1374
|
|
|
1280
1375
|
|
|
1376
|
+
export type MutationDeleteTransactionArgs = {
|
|
1377
|
+
id: Scalars['String'];
|
|
1378
|
+
};
|
|
1379
|
+
|
|
1380
|
+
|
|
1281
1381
|
export type MutationDeleteTripArgs = {
|
|
1282
1382
|
id: Scalars['String'];
|
|
1283
1383
|
};
|
|
@@ -1370,6 +1470,12 @@ export type MutationEditTrailerArgs = {
|
|
|
1370
1470
|
};
|
|
1371
1471
|
|
|
1372
1472
|
|
|
1473
|
+
export type MutationEditTransactionArgs = {
|
|
1474
|
+
editTransactionData: TransactionUpdateInput;
|
|
1475
|
+
id: Scalars['String'];
|
|
1476
|
+
};
|
|
1477
|
+
|
|
1478
|
+
|
|
1373
1479
|
export type MutationGenerateDriverSettlementArgs = {
|
|
1374
1480
|
driverId: Scalars['String'];
|
|
1375
1481
|
driverSettlementNumber?: InputMaybe<Scalars['String']>;
|
|
@@ -1560,6 +1666,7 @@ export type NewShipmentInput = {
|
|
|
1560
1666
|
createdBy?: InputMaybe<Scalars['String']>;
|
|
1561
1667
|
customer: Scalars['String'];
|
|
1562
1668
|
documents?: InputMaybe<Array<ShipmentDocumentInput>>;
|
|
1669
|
+
expenses?: InputMaybe<Array<TransactionInput>>;
|
|
1563
1670
|
loadType: LoadType;
|
|
1564
1671
|
notes?: InputMaybe<Array<SingleShipmentNoteInput>>;
|
|
1565
1672
|
postOfficeNumber: Scalars['String'];
|
|
@@ -1692,6 +1799,7 @@ export type PartialShipment = {
|
|
|
1692
1799
|
customer?: Maybe<BusinessEntity>;
|
|
1693
1800
|
documents?: Maybe<Array<ShipmentDocument>>;
|
|
1694
1801
|
events?: Maybe<Array<ShipmentEvent>>;
|
|
1802
|
+
expenses?: Maybe<Array<Transaction>>;
|
|
1695
1803
|
issues?: Maybe<Array<ShipmentIssue>>;
|
|
1696
1804
|
loadType?: Maybe<LoadType>;
|
|
1697
1805
|
notes?: Maybe<Array<ShipmentNote>>;
|
|
@@ -1812,10 +1920,12 @@ export type Query = {
|
|
|
1812
1920
|
driverById: Driver;
|
|
1813
1921
|
driverByLicenseNumber?: Maybe<Driver>;
|
|
1814
1922
|
driverSettlementById: DriverSettlement;
|
|
1923
|
+
driverSettlementByNumber: DriverSettlement;
|
|
1815
1924
|
driverSettlements: DriverSettlementPaginatedResult;
|
|
1816
1925
|
drivers: DriverPaginatedResult;
|
|
1817
1926
|
extensionById: Extension;
|
|
1818
1927
|
extensions: ExtensionPaginatedResult;
|
|
1928
|
+
extensionsCustomFields: Array<ExtensionCustomFieldWithExtensionId>;
|
|
1819
1929
|
extensionsMessages: Array<ExtensionMessage>;
|
|
1820
1930
|
extensionsOperations: Array<ExtensionOperationWithExtensionId>;
|
|
1821
1931
|
invoiceById: Invoice;
|
|
@@ -1847,6 +1957,8 @@ export type Query = {
|
|
|
1847
1957
|
tractors: TractorPaginatedResult;
|
|
1848
1958
|
trailerById: Trailer;
|
|
1849
1959
|
trailers: TrailerPaginatedResult;
|
|
1960
|
+
transactionById: Transaction;
|
|
1961
|
+
transactions: TransactionPaginatedResult;
|
|
1850
1962
|
tripById: Trip;
|
|
1851
1963
|
tripPositions: Array<TripDriverPosition>;
|
|
1852
1964
|
trips: TripPaginatedResult;
|
|
@@ -1949,6 +2061,11 @@ export type QueryDriverSettlementByIdArgs = {
|
|
|
1949
2061
|
};
|
|
1950
2062
|
|
|
1951
2063
|
|
|
2064
|
+
export type QueryDriverSettlementByNumberArgs = {
|
|
2065
|
+
driverSettlementNumber: Scalars['String'];
|
|
2066
|
+
};
|
|
2067
|
+
|
|
2068
|
+
|
|
1952
2069
|
export type QueryDriverSettlementsArgs = {
|
|
1953
2070
|
driver?: InputMaybe<Scalars['String']>;
|
|
1954
2071
|
search?: InputMaybe<Scalars['String']>;
|
|
@@ -1976,6 +2093,11 @@ export type QueryExtensionsArgs = {
|
|
|
1976
2093
|
};
|
|
1977
2094
|
|
|
1978
2095
|
|
|
2096
|
+
export type QueryExtensionsCustomFieldsArgs = {
|
|
2097
|
+
context: ExtensionCustomFieldContext;
|
|
2098
|
+
};
|
|
2099
|
+
|
|
2100
|
+
|
|
1979
2101
|
export type QueryExtensionsOperationsArgs = {
|
|
1980
2102
|
context: ExtensionOperationContext;
|
|
1981
2103
|
};
|
|
@@ -2126,6 +2248,19 @@ export type QueryTrailersArgs = {
|
|
|
2126
2248
|
};
|
|
2127
2249
|
|
|
2128
2250
|
|
|
2251
|
+
export type QueryTransactionByIdArgs = {
|
|
2252
|
+
id: Scalars['String'];
|
|
2253
|
+
};
|
|
2254
|
+
|
|
2255
|
+
|
|
2256
|
+
export type QueryTransactionsArgs = {
|
|
2257
|
+
customer?: InputMaybe<Scalars['String']>;
|
|
2258
|
+
search?: InputMaybe<Scalars['String']>;
|
|
2259
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
2260
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
2261
|
+
};
|
|
2262
|
+
|
|
2263
|
+
|
|
2129
2264
|
export type QueryTripByIdArgs = {
|
|
2130
2265
|
id: Scalars['String'];
|
|
2131
2266
|
};
|
|
@@ -2219,6 +2354,7 @@ export type Shipment = {
|
|
|
2219
2354
|
customer: BusinessEntity;
|
|
2220
2355
|
documents?: Maybe<Array<ShipmentDocument>>;
|
|
2221
2356
|
events?: Maybe<Array<ShipmentEvent>>;
|
|
2357
|
+
expenses?: Maybe<Array<Transaction>>;
|
|
2222
2358
|
issues?: Maybe<Array<ShipmentIssue>>;
|
|
2223
2359
|
loadType: LoadType;
|
|
2224
2360
|
notes?: Maybe<Array<ShipmentNote>>;
|
|
@@ -2248,22 +2384,25 @@ export type ShipmentCarrierAssignmentInput = {
|
|
|
2248
2384
|
export type ShipmentCharge = {
|
|
2249
2385
|
__typename?: 'ShipmentCharge';
|
|
2250
2386
|
_id: Scalars['String'];
|
|
2251
|
-
billToClient?: Maybe<Scalars['Boolean']>;
|
|
2252
2387
|
billingRule?: Maybe<BillingRule>;
|
|
2388
|
+
customFields?: Maybe<Array<CustomField>>;
|
|
2253
2389
|
label: Scalars['String'];
|
|
2254
2390
|
rate: Scalars['Float'];
|
|
2255
2391
|
reimburseToDriver?: Maybe<Scalars['Boolean']>;
|
|
2256
2392
|
total: Scalars['Float'];
|
|
2393
|
+
type?: Maybe<TransactionType>;
|
|
2257
2394
|
unit: Scalars['Float'];
|
|
2258
2395
|
unitType: Scalars['String'];
|
|
2259
2396
|
};
|
|
2260
2397
|
|
|
2261
2398
|
export type ShipmentChargeInput = {
|
|
2262
|
-
|
|
2399
|
+
_id?: InputMaybe<Scalars['String']>;
|
|
2263
2400
|
billingRule?: InputMaybe<Scalars['String']>;
|
|
2401
|
+
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
2264
2402
|
label: Scalars['String'];
|
|
2265
2403
|
rate: Scalars['Float'];
|
|
2266
2404
|
reimburseToDriver?: InputMaybe<Scalars['Boolean']>;
|
|
2405
|
+
type?: InputMaybe<TransactionType>;
|
|
2267
2406
|
unit: Scalars['Float'];
|
|
2268
2407
|
unitType: Scalars['String'];
|
|
2269
2408
|
};
|
|
@@ -2529,6 +2668,7 @@ export type ShipmentUpdateInput = {
|
|
|
2529
2668
|
createdBy?: InputMaybe<Scalars['String']>;
|
|
2530
2669
|
customer?: InputMaybe<Scalars['String']>;
|
|
2531
2670
|
documents?: InputMaybe<Array<ShipmentDocumentInput>>;
|
|
2671
|
+
expenses?: InputMaybe<Array<TransactionInput>>;
|
|
2532
2672
|
loadType?: InputMaybe<LoadType>;
|
|
2533
2673
|
notes?: InputMaybe<Array<SingleShipmentNoteInput>>;
|
|
2534
2674
|
postOfficeNumber?: InputMaybe<Scalars['String']>;
|
|
@@ -2782,6 +2922,51 @@ export type TrailerUpdateInput = {
|
|
|
2782
2922
|
width?: InputMaybe<Scalars['Float']>;
|
|
2783
2923
|
};
|
|
2784
2924
|
|
|
2925
|
+
export type Transaction = {
|
|
2926
|
+
__typename?: 'Transaction';
|
|
2927
|
+
_id: Scalars['String'];
|
|
2928
|
+
customFields?: Maybe<Array<CustomField>>;
|
|
2929
|
+
label: Scalars['String'];
|
|
2930
|
+
rate: Scalars['Float'];
|
|
2931
|
+
reimburseToDriver?: Maybe<Scalars['Boolean']>;
|
|
2932
|
+
type?: Maybe<TransactionType>;
|
|
2933
|
+
unit: Scalars['Float'];
|
|
2934
|
+
unitType: Scalars['String'];
|
|
2935
|
+
};
|
|
2936
|
+
|
|
2937
|
+
export type TransactionInput = {
|
|
2938
|
+
_id?: InputMaybe<Scalars['String']>;
|
|
2939
|
+
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
2940
|
+
label: Scalars['String'];
|
|
2941
|
+
rate: Scalars['Float'];
|
|
2942
|
+
reimburseToDriver?: InputMaybe<Scalars['Boolean']>;
|
|
2943
|
+
type?: InputMaybe<TransactionType>;
|
|
2944
|
+
unit: Scalars['Float'];
|
|
2945
|
+
unitType: Scalars['String'];
|
|
2946
|
+
};
|
|
2947
|
+
|
|
2948
|
+
export type TransactionPaginatedResult = {
|
|
2949
|
+
__typename?: 'TransactionPaginatedResult';
|
|
2950
|
+
count: Scalars['Int'];
|
|
2951
|
+
data: Array<Transaction>;
|
|
2952
|
+
};
|
|
2953
|
+
|
|
2954
|
+
export enum TransactionType {
|
|
2955
|
+
Expense = 'EXPENSE',
|
|
2956
|
+
Income = 'INCOME'
|
|
2957
|
+
}
|
|
2958
|
+
|
|
2959
|
+
export type TransactionUpdateInput = {
|
|
2960
|
+
_id?: InputMaybe<Scalars['String']>;
|
|
2961
|
+
customFields?: InputMaybe<Array<CustomFieldInput>>;
|
|
2962
|
+
label?: InputMaybe<Scalars['String']>;
|
|
2963
|
+
rate?: InputMaybe<Scalars['Float']>;
|
|
2964
|
+
reimburseToDriver?: InputMaybe<Scalars['Boolean']>;
|
|
2965
|
+
type?: InputMaybe<TransactionType>;
|
|
2966
|
+
unit?: InputMaybe<Scalars['Float']>;
|
|
2967
|
+
unitType?: InputMaybe<Scalars['String']>;
|
|
2968
|
+
};
|
|
2969
|
+
|
|
2785
2970
|
/** Trip entity */
|
|
2786
2971
|
export type Trip = {
|
|
2787
2972
|
__typename?: 'Trip';
|
|
@@ -2962,6 +3147,30 @@ export type WeatherInfo = {
|
|
|
2962
3147
|
main?: Maybe<Scalars['String']>;
|
|
2963
3148
|
};
|
|
2964
3149
|
|
|
3150
|
+
export type GetDriverSettlementsForDriverQueryVariables = Exact<{
|
|
3151
|
+
driverId: Scalars['String'];
|
|
3152
|
+
search?: InputMaybe<Scalars['String']>;
|
|
3153
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
3154
|
+
take?: InputMaybe<Scalars['Int']>;
|
|
3155
|
+
}>;
|
|
3156
|
+
|
|
3157
|
+
|
|
3158
|
+
export type GetDriverSettlementsForDriverQuery = { __typename?: 'Query', driverSettlements: { __typename?: 'DriverSettlementPaginatedResult', count: number, data: Array<{ __typename?: 'DriverSettlement', _id: string, driverSettlementNumber: string, startDate: any, endDate: any, pdfDocument: { __typename?: 'DriverSettlementPdf', isGenerating: boolean, url?: string | null, error?: string | null }, payments: Array<{ __typename?: 'TripPayment', _id: string, unit: number, rate: number }>, deductions: Array<{ __typename?: 'Deduction', amount: number }>, trips?: Array<{ __typename?: 'Trip', _id: string, tripNumber: string }> | null }> } };
|
|
3159
|
+
|
|
3160
|
+
export type GetDriverSettlementByIdQueryVariables = Exact<{
|
|
3161
|
+
id: Scalars['String'];
|
|
3162
|
+
}>;
|
|
3163
|
+
|
|
3164
|
+
|
|
3165
|
+
export type GetDriverSettlementByIdQuery = { __typename?: 'Query', driverSettlementById: { __typename?: 'DriverSettlement', _id: string, driverSettlementNumber: string, startDate: any, endDate: any, pdfDocument: { __typename?: 'DriverSettlementPdf', isGenerating: boolean, url?: string | null, error?: string | null }, payments: Array<{ __typename?: 'TripPayment', _id: string, label: string, unit: number, rate: number }>, deductions: Array<{ __typename?: 'Deduction', label: string, amount: number }>, trips?: Array<{ __typename?: 'Trip', _id: string, tripNumber: string }> | null, driver?: { __typename?: 'Driver', _id: string, firstname: string, middlename?: string | null, lastname: string, phoneNumber: string, userId?: string | null, status: AssetStatus } | null } };
|
|
3166
|
+
|
|
3167
|
+
export type GetDriverSettlementByNumberQueryVariables = Exact<{
|
|
3168
|
+
driverSettlementNumber: Scalars['String'];
|
|
3169
|
+
}>;
|
|
3170
|
+
|
|
3171
|
+
|
|
3172
|
+
export type GetDriverSettlementByNumberQuery = { __typename?: 'Query', driverSettlementByNumber: { __typename?: 'DriverSettlement', _id: string, driverSettlementNumber: string, startDate: any, endDate: any, pdfDocument: { __typename?: 'DriverSettlementPdf', isGenerating: boolean, url?: string | null, error?: string | null }, payments: Array<{ __typename?: 'TripPayment', _id: string, unit: number, rate: number }>, deductions: Array<{ __typename?: 'Deduction', amount: number }>, trips?: Array<{ __typename?: 'Trip', _id: string, tripNumber: string }> | null, driver?: { __typename?: 'Driver', _id: string, firstname: string, middlename?: string | null, lastname: string, phoneNumber: string, userId?: string | null, status: AssetStatus } | null } };
|
|
3173
|
+
|
|
2965
3174
|
export type GetDriverByEldIdQueryVariables = Exact<{
|
|
2966
3175
|
eldId: Scalars['String'];
|
|
2967
3176
|
}>;
|
|
@@ -2996,14 +3205,14 @@ export type GetInvoiceByIdQueryVariables = Exact<{
|
|
|
2996
3205
|
}>;
|
|
2997
3206
|
|
|
2998
3207
|
|
|
2999
|
-
export type GetInvoiceByIdQuery = { __typename?: 'Query', invoiceById: { __typename?: 'Invoice', _id: string, invoiceNumber: string, status: InvoiceStatus, charges: Array<{ __typename?: 'ShipmentCharge', _id: string,
|
|
3208
|
+
export type GetInvoiceByIdQuery = { __typename?: 'Query', invoiceById: { __typename?: 'Invoice', _id: string, invoiceNumber: string, status: InvoiceStatus, charges: Array<{ __typename?: 'ShipmentCharge', _id: string, label: string, rate: number, unit: number, unitType: string, billingRule?: { __typename?: 'BillingRule', _id: string, referenceNumber?: string | null, label?: string | null } | null }>, customer?: { __typename?: 'BusinessEntity', _id: string, name: string, code?: string | null, billingEmail?: string | null, billingTermsDay?: number | null } | null, pdfDocument: { __typename?: 'InvoicePdf', url?: string | null }, shipment?: { __typename?: 'Shipment', _id: string, shipmentNumber: string, referenceNumber?: string | null, expenses?: Array<{ __typename?: 'Transaction', _id: string, label: string, rate: number, unit: number, unitType: string, customFields?: Array<{ __typename?: 'CustomField', key: string, value?: any | null }> | null }> | null } | null } };
|
|
3000
3209
|
|
|
3001
3210
|
export type GetInvoiceByNumberQueryVariables = Exact<{
|
|
3002
3211
|
invoiceNumber: Scalars['String'];
|
|
3003
3212
|
}>;
|
|
3004
3213
|
|
|
3005
3214
|
|
|
3006
|
-
export type GetInvoiceByNumberQuery = { __typename?: 'Query', invoiceByInvoiceNumber?: { __typename?: 'Invoice', _id: string, invoiceNumber: string, status: InvoiceStatus, charges: Array<{ __typename?: 'ShipmentCharge', _id: string,
|
|
3215
|
+
export type GetInvoiceByNumberQuery = { __typename?: 'Query', invoiceByInvoiceNumber?: { __typename?: 'Invoice', _id: string, invoiceNumber: string, status: InvoiceStatus, charges: Array<{ __typename?: 'ShipmentCharge', _id: string, label: string, rate: number, unit: number, unitType: string, billingRule?: { __typename?: 'BillingRule', _id: string, referenceNumber?: string | null, label?: string | null } | null }>, customer?: { __typename?: 'BusinessEntity', _id: string, name: string, code?: string | null, billingEmail?: string | null, billingTermsDay?: number | null } | null, pdfDocument: { __typename?: 'InvoicePdf', url?: string | null }, shipment?: { __typename?: 'Shipment', _id: string, shipmentNumber: string, referenceNumber?: string | null } | null } | null };
|
|
3007
3216
|
|
|
3008
3217
|
export type UpdateInvoiceStatusMutationVariables = Exact<{
|
|
3009
3218
|
invoiceId: Scalars['String'];
|
|
@@ -3069,7 +3278,118 @@ export type PersistTractorPositionsMutationVariables = Exact<{
|
|
|
3069
3278
|
|
|
3070
3279
|
export type PersistTractorPositionsMutation = { __typename?: 'Mutation', persistTractorPositions: boolean };
|
|
3071
3280
|
|
|
3281
|
+
export type GetOrgUserByIdQueryVariables = Exact<{
|
|
3282
|
+
id: Scalars['String'];
|
|
3283
|
+
}>;
|
|
3284
|
+
|
|
3285
|
+
|
|
3286
|
+
export type GetOrgUserByIdQuery = { __typename?: 'Query', orgUserById: { __typename?: 'OrgUser', _id: string, email?: string | null, username: string, firstName?: string | null, lastName?: string | null, attributes: { __typename?: 'UserAttributes', driverId?: string | null }, roles: Array<{ __typename?: 'KeycloakUserRole', id: string, name: string }> } };
|
|
3287
|
+
|
|
3072
3288
|
|
|
3289
|
+
export const GetDriverSettlementsForDriverDocument = gql`
|
|
3290
|
+
query getDriverSettlementsForDriver($driverId: String!, $search: String, $skip: Int, $take: Int) {
|
|
3291
|
+
driverSettlements(driver: $driverId, search: $search, skip: $skip, take: $take) {
|
|
3292
|
+
data {
|
|
3293
|
+
_id
|
|
3294
|
+
driverSettlementNumber
|
|
3295
|
+
startDate
|
|
3296
|
+
endDate
|
|
3297
|
+
pdfDocument {
|
|
3298
|
+
isGenerating
|
|
3299
|
+
url
|
|
3300
|
+
error
|
|
3301
|
+
}
|
|
3302
|
+
payments {
|
|
3303
|
+
_id
|
|
3304
|
+
unit
|
|
3305
|
+
rate
|
|
3306
|
+
}
|
|
3307
|
+
deductions {
|
|
3308
|
+
amount
|
|
3309
|
+
}
|
|
3310
|
+
trips {
|
|
3311
|
+
_id
|
|
3312
|
+
tripNumber
|
|
3313
|
+
}
|
|
3314
|
+
}
|
|
3315
|
+
count
|
|
3316
|
+
}
|
|
3317
|
+
}
|
|
3318
|
+
`;
|
|
3319
|
+
export const GetDriverSettlementByIdDocument = gql`
|
|
3320
|
+
query getDriverSettlementById($id: String!) {
|
|
3321
|
+
driverSettlementById(id: $id) {
|
|
3322
|
+
_id
|
|
3323
|
+
driverSettlementNumber
|
|
3324
|
+
startDate
|
|
3325
|
+
endDate
|
|
3326
|
+
pdfDocument {
|
|
3327
|
+
isGenerating
|
|
3328
|
+
url
|
|
3329
|
+
error
|
|
3330
|
+
}
|
|
3331
|
+
payments {
|
|
3332
|
+
_id
|
|
3333
|
+
label
|
|
3334
|
+
unit
|
|
3335
|
+
rate
|
|
3336
|
+
}
|
|
3337
|
+
deductions {
|
|
3338
|
+
label
|
|
3339
|
+
amount
|
|
3340
|
+
}
|
|
3341
|
+
trips {
|
|
3342
|
+
_id
|
|
3343
|
+
tripNumber
|
|
3344
|
+
}
|
|
3345
|
+
driver {
|
|
3346
|
+
_id
|
|
3347
|
+
firstname
|
|
3348
|
+
middlename
|
|
3349
|
+
lastname
|
|
3350
|
+
phoneNumber
|
|
3351
|
+
userId
|
|
3352
|
+
status
|
|
3353
|
+
}
|
|
3354
|
+
}
|
|
3355
|
+
}
|
|
3356
|
+
`;
|
|
3357
|
+
export const GetDriverSettlementByNumberDocument = gql`
|
|
3358
|
+
query getDriverSettlementByNumber($driverSettlementNumber: String!) {
|
|
3359
|
+
driverSettlementByNumber(driverSettlementNumber: $driverSettlementNumber) {
|
|
3360
|
+
_id
|
|
3361
|
+
driverSettlementNumber
|
|
3362
|
+
startDate
|
|
3363
|
+
endDate
|
|
3364
|
+
pdfDocument {
|
|
3365
|
+
isGenerating
|
|
3366
|
+
url
|
|
3367
|
+
error
|
|
3368
|
+
}
|
|
3369
|
+
payments {
|
|
3370
|
+
_id
|
|
3371
|
+
unit
|
|
3372
|
+
rate
|
|
3373
|
+
}
|
|
3374
|
+
deductions {
|
|
3375
|
+
amount
|
|
3376
|
+
}
|
|
3377
|
+
trips {
|
|
3378
|
+
_id
|
|
3379
|
+
tripNumber
|
|
3380
|
+
}
|
|
3381
|
+
driver {
|
|
3382
|
+
_id
|
|
3383
|
+
firstname
|
|
3384
|
+
middlename
|
|
3385
|
+
lastname
|
|
3386
|
+
phoneNumber
|
|
3387
|
+
userId
|
|
3388
|
+
status
|
|
3389
|
+
}
|
|
3390
|
+
}
|
|
3391
|
+
}
|
|
3392
|
+
`;
|
|
3073
3393
|
export const GetDriverByEldIdDocument = gql`
|
|
3074
3394
|
query getDriverByEldId($eldId: String!) {
|
|
3075
3395
|
driverByEldId(eldId: $eldId) {
|
|
@@ -3104,7 +3424,6 @@ export const GetInvoiceByIdDocument = gql`
|
|
|
3104
3424
|
_id
|
|
3105
3425
|
charges {
|
|
3106
3426
|
_id
|
|
3107
|
-
billToClient
|
|
3108
3427
|
billingRule {
|
|
3109
3428
|
_id
|
|
3110
3429
|
referenceNumber
|
|
@@ -3130,6 +3449,17 @@ export const GetInvoiceByIdDocument = gql`
|
|
|
3130
3449
|
_id
|
|
3131
3450
|
shipmentNumber
|
|
3132
3451
|
referenceNumber
|
|
3452
|
+
expenses {
|
|
3453
|
+
_id
|
|
3454
|
+
label
|
|
3455
|
+
rate
|
|
3456
|
+
unit
|
|
3457
|
+
unitType
|
|
3458
|
+
customFields {
|
|
3459
|
+
key
|
|
3460
|
+
value
|
|
3461
|
+
}
|
|
3462
|
+
}
|
|
3133
3463
|
}
|
|
3134
3464
|
status
|
|
3135
3465
|
}
|
|
@@ -3141,7 +3471,6 @@ export const GetInvoiceByNumberDocument = gql`
|
|
|
3141
3471
|
_id
|
|
3142
3472
|
charges {
|
|
3143
3473
|
_id
|
|
3144
|
-
billToClient
|
|
3145
3474
|
billingRule {
|
|
3146
3475
|
_id
|
|
3147
3476
|
referenceNumber
|
|
@@ -3241,6 +3570,24 @@ export const PersistTractorPositionsDocument = gql`
|
|
|
3241
3570
|
persistTractorPositions(id: $id, positions: $positions)
|
|
3242
3571
|
}
|
|
3243
3572
|
`;
|
|
3573
|
+
export const GetOrgUserByIdDocument = gql`
|
|
3574
|
+
query getOrgUserById($id: String!) {
|
|
3575
|
+
orgUserById(id: $id) {
|
|
3576
|
+
_id
|
|
3577
|
+
email
|
|
3578
|
+
username
|
|
3579
|
+
firstName
|
|
3580
|
+
lastName
|
|
3581
|
+
attributes {
|
|
3582
|
+
driverId
|
|
3583
|
+
}
|
|
3584
|
+
roles {
|
|
3585
|
+
id
|
|
3586
|
+
name
|
|
3587
|
+
}
|
|
3588
|
+
}
|
|
3589
|
+
}
|
|
3590
|
+
`;
|
|
3244
3591
|
|
|
3245
3592
|
export type SdkFunctionWrapper = <T>(action: (requestHeaders?:Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>;
|
|
3246
3593
|
|
|
@@ -3249,6 +3596,15 @@ const defaultWrapper: SdkFunctionWrapper = (action, _operationName, _operationTy
|
|
|
3249
3596
|
|
|
3250
3597
|
export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = defaultWrapper) {
|
|
3251
3598
|
return {
|
|
3599
|
+
getDriverSettlementsForDriver(variables: GetDriverSettlementsForDriverQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetDriverSettlementsForDriverQuery> {
|
|
3600
|
+
return withWrapper((wrappedRequestHeaders) => client.request<GetDriverSettlementsForDriverQuery>(GetDriverSettlementsForDriverDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getDriverSettlementsForDriver', 'query');
|
|
3601
|
+
},
|
|
3602
|
+
getDriverSettlementById(variables: GetDriverSettlementByIdQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetDriverSettlementByIdQuery> {
|
|
3603
|
+
return withWrapper((wrappedRequestHeaders) => client.request<GetDriverSettlementByIdQuery>(GetDriverSettlementByIdDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getDriverSettlementById', 'query');
|
|
3604
|
+
},
|
|
3605
|
+
getDriverSettlementByNumber(variables: GetDriverSettlementByNumberQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetDriverSettlementByNumberQuery> {
|
|
3606
|
+
return withWrapper((wrappedRequestHeaders) => client.request<GetDriverSettlementByNumberQuery>(GetDriverSettlementByNumberDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getDriverSettlementByNumber', 'query');
|
|
3607
|
+
},
|
|
3252
3608
|
getDriverByEldId(variables: GetDriverByEldIdQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetDriverByEldIdQuery> {
|
|
3253
3609
|
return withWrapper((wrappedRequestHeaders) => client.request<GetDriverByEldIdQuery>(GetDriverByEldIdDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getDriverByEldId', 'query');
|
|
3254
3610
|
},
|
|
@@ -3293,6 +3649,9 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
3293
3649
|
},
|
|
3294
3650
|
persistTractorPositions(variables: PersistTractorPositionsMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<PersistTractorPositionsMutation> {
|
|
3295
3651
|
return withWrapper((wrappedRequestHeaders) => client.request<PersistTractorPositionsMutation>(PersistTractorPositionsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'persistTractorPositions', 'mutation');
|
|
3652
|
+
},
|
|
3653
|
+
getOrgUserById(variables: GetOrgUserByIdQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetOrgUserByIdQuery> {
|
|
3654
|
+
return withWrapper((wrappedRequestHeaders) => client.request<GetOrgUserByIdQuery>(GetOrgUserByIdDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getOrgUserById', 'query');
|
|
3296
3655
|
}
|
|
3297
3656
|
};
|
|
3298
3657
|
}
|
|
@@ -3,7 +3,6 @@ query getInvoiceById($id: String!) {
|
|
|
3
3
|
_id
|
|
4
4
|
charges {
|
|
5
5
|
_id
|
|
6
|
-
billToClient
|
|
7
6
|
billingRule {
|
|
8
7
|
_id
|
|
9
8
|
referenceNumber
|
|
@@ -29,6 +28,17 @@ query getInvoiceById($id: String!) {
|
|
|
29
28
|
_id
|
|
30
29
|
shipmentNumber
|
|
31
30
|
referenceNumber
|
|
31
|
+
expenses {
|
|
32
|
+
_id
|
|
33
|
+
label
|
|
34
|
+
rate
|
|
35
|
+
unit
|
|
36
|
+
unitType
|
|
37
|
+
customFields {
|
|
38
|
+
key
|
|
39
|
+
value
|
|
40
|
+
}
|
|
41
|
+
}
|
|
32
42
|
}
|
|
33
43
|
status
|
|
34
44
|
}
|
|
@@ -39,7 +49,6 @@ query getInvoiceByNumber($invoiceNumber: String!) {
|
|
|
39
49
|
_id
|
|
40
50
|
charges {
|
|
41
51
|
_id
|
|
42
|
-
billToClient
|
|
43
52
|
billingRule {
|
|
44
53
|
_id
|
|
45
54
|
referenceNumber
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TrueTMSOptions, authenticateApiCall } from ".";
|
|
2
|
+
import trueTmsGraphqlClient from "../providers/truetms-graphql-client";
|
|
3
|
+
|
|
4
|
+
class TrueTMSDriverSettlementsSdk {
|
|
5
|
+
constructor(private options: TrueTMSOptions) {}
|
|
6
|
+
|
|
7
|
+
getDriverSettlementById = authenticateApiCall(
|
|
8
|
+
trueTmsGraphqlClient.getDriverSettlementById
|
|
9
|
+
);
|
|
10
|
+
getDriverSettlementByNumber = authenticateApiCall(
|
|
11
|
+
trueTmsGraphqlClient.getDriverSettlementByNumber
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default TrueTMSDriverSettlementsSdk;
|
package/src/sdk/index.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import TrueTMSAuth, { exchangeRefreshTokenForAccessToken } from "./auth";
|
|
2
2
|
import TrueTMSDriverSdk from "./drivers";
|
|
3
|
+
import TrueTMSDriverSettlementsSdk from "./driverSettlements";
|
|
3
4
|
import TrueTMSInvoicesSdk from "./invoices";
|
|
4
5
|
import TrueTMSTractorsSdk from "./tractors";
|
|
6
|
+
import TrueTMSUsersSdk from "./users";
|
|
5
7
|
|
|
6
8
|
export type TrueTMSOptions = {
|
|
7
9
|
token: string;
|
|
@@ -15,12 +17,16 @@ class TrueTMS {
|
|
|
15
17
|
public drivers: TrueTMSDriverSdk;
|
|
16
18
|
public tractors: TrueTMSTractorsSdk;
|
|
17
19
|
public invoices: TrueTMSInvoicesSdk;
|
|
20
|
+
public driverSettlements: TrueTMSDriverSettlementsSdk;
|
|
21
|
+
public users: TrueTMSUsersSdk;
|
|
18
22
|
|
|
19
23
|
constructor(private options: TrueTMSOptions) {
|
|
20
24
|
this.drivers = new TrueTMSDriverSdk(options);
|
|
21
25
|
this.auth = new TrueTMSAuth(options);
|
|
22
26
|
this.tractors = new TrueTMSTractorsSdk(options);
|
|
23
27
|
this.invoices = new TrueTMSInvoicesSdk(options);
|
|
28
|
+
this.driverSettlements = new TrueTMSDriverSettlementsSdk(options);
|
|
29
|
+
this.users = new TrueTMSUsersSdk(options);
|
|
24
30
|
}
|
|
25
31
|
}
|
|
26
32
|
|
package/src/sdk/users.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TrueTMSOptions, authenticateApiCall } from ".";
|
|
2
|
+
import trueTmsGraphqlClient from "../providers/truetms-graphql-client";
|
|
3
|
+
|
|
4
|
+
class TrueTMSUsersSdk {
|
|
5
|
+
constructor(private options: TrueTMSOptions) {}
|
|
6
|
+
|
|
7
|
+
getOrgUserById = authenticateApiCall(trueTmsGraphqlClient.getOrgUserById);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export default TrueTMSUsersSdk;
|
package/dist/src/TrueTms.js
DELETED
package/dist/src/TrueTms.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TrueTms.js","sourceRoot":"","sources":["../../src/TrueTms.ts"],"names":[],"mappings":""}
|
package/dist/src/sdk/TrueTMS.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TrueTMS.js","sourceRoot":"","sources":["../../../src/sdk/TrueTMS.ts"],"names":[],"mappings":""}
|