@bringg/dashboard-sdk 9.85.0 → 9.86.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Analyst/Analyst.consts.d.ts +5 -0
- package/dist/Analyst/Analyst.consts.js +9 -0
- package/dist/Analyst/Analyst.consts.js.map +1 -0
- package/dist/Analyst/AnalystApi.d.ts +65 -4
- package/dist/Analyst/AnalystApi.js +140 -3
- package/dist/Analyst/AnalystApi.js.map +1 -1
- package/dist/Analyst/Chat/AnalystChat.consts.d.ts +18 -0
- package/dist/Analyst/Chat/AnalystChat.consts.js +23 -0
- package/dist/Analyst/Chat/AnalystChat.consts.js.map +1 -0
- package/dist/Analyst/Chat/AnalystChatEntity.d.ts +22 -0
- package/dist/Analyst/Chat/AnalystChatEntity.js +122 -0
- package/dist/Analyst/Chat/AnalystChatEntity.js.map +1 -0
- package/dist/Analyst/{Services → Findings}/AnalystFindingsService.d.ts +1 -1
- package/dist/Analyst/{Services → Findings}/AnalystFindingsService.js +3 -4
- package/dist/Analyst/Findings/AnalystFindingsService.js.map +1 -0
- package/dist/Analyst/index.d.ts +1 -0
- package/dist/Analyst/index.js +18 -0
- package/dist/Analyst/index.js.map +1 -0
- package/dist/BringgDashboardSDK.d.ts +2 -0
- package/dist/BringgDashboardSDK.js +2 -0
- package/dist/BringgDashboardSDK.js.map +1 -1
- package/dist/CapacityPlanningInsights/CapacityInsights.consts.d.ts +1 -0
- package/dist/CapacityPlanningInsights/CapacityInsights.consts.js +2 -1
- package/dist/CapacityPlanningInsights/CapacityInsights.consts.js.map +1 -1
- package/dist/CapacityPlanningInsights/CapacityInsightsApi.d.ts +2 -1
- package/dist/CapacityPlanningInsights/CapacityInsightsApi.js +7 -0
- package/dist/CapacityPlanningInsights/CapacityInsightsApi.js.map +1 -1
- package/dist/CapacityPlanningInsights/Entity/CapacityInsightsEntity.d.ts +2 -1
- package/dist/CapacityPlanningInsights/Entity/CapacityInsightsEntity.js +13 -0
- package/dist/CapacityPlanningInsights/Entity/CapacityInsightsEntity.js.map +1 -1
- package/dist/ForceScheduling/ForceScheduling.consts.d.ts +8 -0
- package/dist/ForceScheduling/ForceScheduling.consts.js +8 -0
- package/dist/ForceScheduling/ForceScheduling.consts.js.map +1 -0
- package/dist/ForceScheduling/ForceSchedulingApi.d.ts +12 -0
- package/dist/ForceScheduling/ForceSchedulingApi.js +61 -0
- package/dist/ForceScheduling/ForceSchedulingApi.js.map +1 -0
- package/dist/ForceScheduling/Service/ForceScheduling.service.d.ts +8 -0
- package/dist/ForceScheduling/Service/ForceScheduling.service.js +63 -0
- package/dist/ForceScheduling/Service/ForceScheduling.service.js.map +1 -0
- package/dist/bringg-dashboard-sdk-cjs2.js +609 -23
- package/dist/bringg-dashboard-sdk-cjs2.js.map +1 -1
- package/dist/bringg-dashboard-sdk.js +122 -23
- package/dist/bringg-dashboard-sdk.min.js +1 -1
- package/dist/bringg-dashboard-sdk.min.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/Analyst/Services/AnalystFindingsService.js.map +0 -1
- package/dist/Analyst/constants.d.ts +0 -1
- package/dist/Analyst/constants.js +0 -5
- package/dist/Analyst/constants.js.map +0 -1
|
@@ -488,31 +488,343 @@ exports["default"] = AlertsEntity;
|
|
|
488
488
|
|
|
489
489
|
/***/ }),
|
|
490
490
|
|
|
491
|
+
/***/ 93359:
|
|
492
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
493
|
+
|
|
494
|
+
"use strict";
|
|
495
|
+
|
|
496
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
497
|
+
exports.FINDINGS = exports.AGENT_CHAT = exports.GATEWAY_PATH = exports.API_PREFIX = exports.SERVICE_NAME = void 0;
|
|
498
|
+
exports.SERVICE_NAME = 'analyst-service';
|
|
499
|
+
exports.API_PREFIX = '/api';
|
|
500
|
+
exports.GATEWAY_PATH = "/".concat(exports.SERVICE_NAME);
|
|
501
|
+
exports.AGENT_CHAT = 'agent-chat';
|
|
502
|
+
exports.FINDINGS = 'findings';
|
|
503
|
+
//# sourceMappingURL=Analyst.consts.js.map
|
|
504
|
+
|
|
505
|
+
/***/ }),
|
|
506
|
+
|
|
491
507
|
/***/ 1219:
|
|
492
508
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
493
509
|
|
|
494
510
|
"use strict";
|
|
495
511
|
|
|
512
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
513
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
514
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
515
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
516
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
517
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
518
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
519
|
+
});
|
|
520
|
+
};
|
|
521
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
522
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
523
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
524
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
525
|
+
function step(op) {
|
|
526
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
527
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
528
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
529
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
530
|
+
switch (op[0]) {
|
|
531
|
+
case 0: case 1: t = op; break;
|
|
532
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
533
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
534
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
535
|
+
default:
|
|
536
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
537
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
538
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
539
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
540
|
+
if (t[2]) _.ops.pop();
|
|
541
|
+
_.trys.pop(); continue;
|
|
542
|
+
}
|
|
543
|
+
op = body.call(thisArg, _);
|
|
544
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
545
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
546
|
+
}
|
|
547
|
+
};
|
|
496
548
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
497
549
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
498
550
|
};
|
|
499
551
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
500
|
-
|
|
552
|
+
exports.AnalystApi = void 0;
|
|
553
|
+
var Analyst_consts_1 = __webpack_require__(93359);
|
|
554
|
+
var AnalystChat_consts_1 = __webpack_require__(94377);
|
|
555
|
+
var AnalystChatEntity_1 = __importDefault(__webpack_require__(65009));
|
|
556
|
+
var AnalystFindingsService_1 = __importDefault(__webpack_require__(41687));
|
|
557
|
+
var isSameConfig = function (a, b) {
|
|
558
|
+
if (a.apiUrl !== b.apiUrl || a.chatUrl !== b.chatUrl) {
|
|
559
|
+
return false;
|
|
560
|
+
}
|
|
561
|
+
var keys = Object.keys(a.defaultHeaders);
|
|
562
|
+
return (keys.length === Object.keys(b.defaultHeaders).length &&
|
|
563
|
+
keys.every(function (key) { return a.defaultHeaders[key] === b.defaultHeaders[key]; }));
|
|
564
|
+
};
|
|
565
|
+
/**
|
|
566
|
+
* Public SDK surface for analyst-service: findings and agent chat.
|
|
567
|
+
* Everything the dashboard requests *itself* - latest findings, the thread list, one thread,
|
|
568
|
+
* cancelling a run - is an ordinary SDK call on this class.
|
|
569
|
+
*/
|
|
501
570
|
var AnalystApi = /** @class */ (function () {
|
|
502
571
|
function AnalystApi(session) {
|
|
503
|
-
this.
|
|
572
|
+
this.session = session;
|
|
573
|
+
this.chat = new AnalystChatEntity_1.default(session);
|
|
574
|
+
this.findings = new AnalystFindingsService_1.default(session);
|
|
504
575
|
}
|
|
576
|
+
/**
|
|
577
|
+
* The most recent findings run for the signed-in merchant.
|
|
578
|
+
*
|
|
579
|
+
* @returns The latest findings payload from analyst-service
|
|
580
|
+
*/
|
|
505
581
|
AnalystApi.prototype.getLatest = function () {
|
|
506
|
-
return this.
|
|
582
|
+
return this.findings.latest();
|
|
583
|
+
};
|
|
584
|
+
/**
|
|
585
|
+
* The signed-in user's conversations, most recently active first.
|
|
586
|
+
*
|
|
587
|
+
* Carries no messages - the History list stays cheap, and opening a conversation hydrates it
|
|
588
|
+
* through {@link getThread}.
|
|
589
|
+
*/
|
|
590
|
+
AnalystApi.prototype.listThreads = function () {
|
|
591
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
592
|
+
return __generator(this, function (_a) {
|
|
593
|
+
return [2 /*return*/, this.chat.listThreads()];
|
|
594
|
+
});
|
|
595
|
+
});
|
|
596
|
+
};
|
|
597
|
+
/**
|
|
598
|
+
* One conversation, with its messages and whether a run is executing on it right now.
|
|
599
|
+
* Rejects on 404, which is also the answer for a thread belonging to someone else: the service
|
|
600
|
+
* deliberately does not distinguish "not yours" from "not there".
|
|
601
|
+
*/
|
|
602
|
+
AnalystApi.prototype.getThread = function (threadId) {
|
|
603
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
604
|
+
return __generator(this, function (_a) {
|
|
605
|
+
return [2 /*return*/, this.chat.getThread(threadId)];
|
|
606
|
+
});
|
|
607
|
+
});
|
|
608
|
+
};
|
|
609
|
+
/**
|
|
610
|
+
* Cancel the run in flight on a thread.
|
|
611
|
+
* A cancelled run ends with no terminal event: the stream simply closes, with neither
|
|
612
|
+
* `RUN_FINISHED` nor `RUN_ERROR`. Callers that drive their loading state off terminal events
|
|
613
|
+
* alone will hang, and must treat stream close as its own case.
|
|
614
|
+
*/
|
|
615
|
+
AnalystApi.prototype.cancelRun = function (threadId) {
|
|
616
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
617
|
+
return __generator(this, function (_a) {
|
|
618
|
+
return [2 /*return*/, this.chat.cancelRun(threadId)];
|
|
619
|
+
});
|
|
620
|
+
});
|
|
621
|
+
};
|
|
622
|
+
/**
|
|
623
|
+
* Returns the **same object** while the values are unchanged.
|
|
624
|
+
*
|
|
625
|
+
* Referential stability is load-bearing, not a micro-optimisation: a protocol client treats its
|
|
626
|
+
* config as a dependency and rebuilds itself whenever the identity changes. A fresh object per
|
|
627
|
+
* call rebuilds on every render, which refetches, which renders again - a loop.
|
|
628
|
+
*
|
|
629
|
+
* Recomputed each call and compared by value, so a changed session (login, region switch,
|
|
630
|
+
* impersonation) still produces a new config rather than a stale one.
|
|
631
|
+
*/
|
|
632
|
+
AnalystApi.prototype.getClientConfig = function () {
|
|
633
|
+
// Resolved from the SIGNED-IN USER's region, not the environment default: a user's region can
|
|
634
|
+
// differ from it, and resolving against the default points them at the wrong cluster.
|
|
635
|
+
var apiEndpoint = this.session.config.getApiEndpoint().encode();
|
|
636
|
+
var next = {
|
|
637
|
+
apiUrl: "".concat(apiEndpoint).concat(Analyst_consts_1.GATEWAY_PATH),
|
|
638
|
+
chatUrl: "".concat(apiEndpoint).concat(AnalystChat_consts_1.Routes.CHAT),
|
|
639
|
+
defaultHeaders: this.getDefaultHeaders()
|
|
640
|
+
};
|
|
641
|
+
if (this.cached && isSameConfig(this.cached, next)) {
|
|
642
|
+
return this.cached;
|
|
643
|
+
}
|
|
644
|
+
this.cached = next;
|
|
645
|
+
return next;
|
|
646
|
+
};
|
|
647
|
+
/** Matches the headers `ServiceRequest` builds for every other service. */
|
|
648
|
+
AnalystApi.prototype.getDefaultHeaders = function () {
|
|
649
|
+
var _a;
|
|
650
|
+
var headers = {};
|
|
651
|
+
var token = (_a = this.session.user) === null || _a === void 0 ? void 0 : _a.authentication_token;
|
|
652
|
+
if (token) {
|
|
653
|
+
headers.Authorization = "Token token=".concat(token);
|
|
654
|
+
}
|
|
655
|
+
if (this.session.clientId) {
|
|
656
|
+
headers.Client = String(this.session.clientId);
|
|
657
|
+
}
|
|
658
|
+
return headers;
|
|
507
659
|
};
|
|
508
660
|
return AnalystApi;
|
|
509
661
|
}());
|
|
662
|
+
exports.AnalystApi = AnalystApi;
|
|
510
663
|
exports["default"] = AnalystApi;
|
|
511
664
|
//# sourceMappingURL=AnalystApi.js.map
|
|
512
665
|
|
|
513
666
|
/***/ }),
|
|
514
667
|
|
|
515
|
-
/***/
|
|
668
|
+
/***/ 94377:
|
|
669
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
670
|
+
|
|
671
|
+
"use strict";
|
|
672
|
+
|
|
673
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
674
|
+
exports.Routes = exports.BASE_PATH = exports.MOUNT_PATH = void 0;
|
|
675
|
+
var Analyst_consts_1 = __webpack_require__(93359);
|
|
676
|
+
/**
|
|
677
|
+
* A chat URL has three parts, and only the last is the platform's to choose:
|
|
678
|
+
* /analyst-service /api/agent-chat /chat
|
|
679
|
+
* service name mount path endpoint
|
|
680
|
+
*/
|
|
681
|
+
exports.MOUNT_PATH = "".concat(Analyst_consts_1.API_PREFIX, "/").concat(Analyst_consts_1.AGENT_CHAT);
|
|
682
|
+
exports.BASE_PATH = "".concat(Analyst_consts_1.GATEWAY_PATH).concat(exports.MOUNT_PATH);
|
|
683
|
+
/**
|
|
684
|
+
* `CHAT` is declared here for completeness but is **not** called from this package: it is the ag-ui
|
|
685
|
+
* protocol endpoint, opened by the consumer's `HttpAgent` as a streaming POST. It is exposed through
|
|
686
|
+
* {@link AnalystClientConfig.chatUrl} instead, so the URL is still built in one place.
|
|
687
|
+
*/
|
|
688
|
+
exports.Routes = {
|
|
689
|
+
CHAT: "".concat(exports.BASE_PATH, "/chat"),
|
|
690
|
+
THREADS: "".concat(exports.BASE_PATH, "/threads"),
|
|
691
|
+
THREAD: "".concat(exports.BASE_PATH, "/threads/{:threadId}"),
|
|
692
|
+
CANCEL_RUN: "".concat(exports.BASE_PATH, "/threads/{:threadId}/cancel")
|
|
693
|
+
};
|
|
694
|
+
//# sourceMappingURL=AnalystChat.consts.js.map
|
|
695
|
+
|
|
696
|
+
/***/ }),
|
|
697
|
+
|
|
698
|
+
/***/ 65009:
|
|
699
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
700
|
+
|
|
701
|
+
"use strict";
|
|
702
|
+
|
|
703
|
+
var __extends = (this && this.__extends) || (function () {
|
|
704
|
+
var extendStatics = function (d, b) {
|
|
705
|
+
extendStatics = Object.setPrototypeOf ||
|
|
706
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
707
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
708
|
+
return extendStatics(d, b);
|
|
709
|
+
};
|
|
710
|
+
return function (d, b) {
|
|
711
|
+
if (typeof b !== "function" && b !== null)
|
|
712
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
713
|
+
extendStatics(d, b);
|
|
714
|
+
function __() { this.constructor = d; }
|
|
715
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
716
|
+
};
|
|
717
|
+
})();
|
|
718
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
719
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
720
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
721
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
722
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
723
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
724
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
725
|
+
});
|
|
726
|
+
};
|
|
727
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
728
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
729
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
730
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
731
|
+
function step(op) {
|
|
732
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
733
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
734
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
735
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
736
|
+
switch (op[0]) {
|
|
737
|
+
case 0: case 1: t = op; break;
|
|
738
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
739
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
740
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
741
|
+
default:
|
|
742
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
743
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
744
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
745
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
746
|
+
if (t[2]) _.ops.pop();
|
|
747
|
+
_.trys.pop(); continue;
|
|
748
|
+
}
|
|
749
|
+
op = body.call(thisArg, _);
|
|
750
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
751
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
752
|
+
}
|
|
753
|
+
};
|
|
754
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
755
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
756
|
+
};
|
|
757
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
758
|
+
var Entity_1 = __importDefault(__webpack_require__(7483));
|
|
759
|
+
var AnalystChat_consts_1 = __webpack_require__(94377);
|
|
760
|
+
/**
|
|
761
|
+
* The Analyst agent-chat REST surface.
|
|
762
|
+
*/
|
|
763
|
+
var AnalystChatEntity = /** @class */ (function (_super) {
|
|
764
|
+
__extends(AnalystChatEntity, _super);
|
|
765
|
+
function AnalystChatEntity(session) {
|
|
766
|
+
return _super.call(this, {
|
|
767
|
+
session: session,
|
|
768
|
+
entityName: 'threads',
|
|
769
|
+
routePrefix: 'analyst-service'
|
|
770
|
+
}) || this;
|
|
771
|
+
}
|
|
772
|
+
/** The signed-in user's threads, most recently active first. A bare array, no envelope. */
|
|
773
|
+
AnalystChatEntity.prototype.listThreads = function () {
|
|
774
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
775
|
+
var threads;
|
|
776
|
+
return __generator(this, function (_a) {
|
|
777
|
+
switch (_a.label) {
|
|
778
|
+
case 0: return [4 /*yield*/, this.service.routeGenerator
|
|
779
|
+
.get(AnalystChat_consts_1.Routes.THREADS)
|
|
780
|
+
.setException('Failed to fetch analyst chat threads')
|
|
781
|
+
.invoke()];
|
|
782
|
+
case 1:
|
|
783
|
+
threads = _a.sent();
|
|
784
|
+
return [2 /*return*/, threads !== null && threads !== void 0 ? threads : []];
|
|
785
|
+
}
|
|
786
|
+
});
|
|
787
|
+
});
|
|
788
|
+
};
|
|
789
|
+
/**
|
|
790
|
+
* One thread, with its messages and whether a run is currently executing on it.
|
|
791
|
+
*
|
|
792
|
+
* A thread belonging to another user answers **404**, never 403 - so a rejected id is
|
|
793
|
+
* indistinguishable from a missing one, by design.
|
|
794
|
+
*/
|
|
795
|
+
AnalystChatEntity.prototype.getThread = function (threadId) {
|
|
796
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
797
|
+
return __generator(this, function (_a) {
|
|
798
|
+
return [2 /*return*/, this.service.routeGenerator
|
|
799
|
+
.get(AnalystChat_consts_1.Routes.THREAD)
|
|
800
|
+
.withRouteParams({ threadId: threadId })
|
|
801
|
+
.setException('Failed to fetch analyst chat thread')
|
|
802
|
+
.invoke()];
|
|
803
|
+
});
|
|
804
|
+
});
|
|
805
|
+
};
|
|
806
|
+
/**
|
|
807
|
+
* Cancel the run in flight on a thread.
|
|
808
|
+
*/
|
|
809
|
+
AnalystChatEntity.prototype.cancelRun = function (threadId) {
|
|
810
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
811
|
+
return __generator(this, function (_a) {
|
|
812
|
+
return [2 /*return*/, this.service.routeGenerator
|
|
813
|
+
.post(AnalystChat_consts_1.Routes.CANCEL_RUN)
|
|
814
|
+
.withRouteParams({ threadId: threadId })
|
|
815
|
+
.setException('Failed to cancel the analyst chat run')
|
|
816
|
+
.invoke()];
|
|
817
|
+
});
|
|
818
|
+
});
|
|
819
|
+
};
|
|
820
|
+
return AnalystChatEntity;
|
|
821
|
+
}(Entity_1.default));
|
|
822
|
+
exports["default"] = AnalystChatEntity;
|
|
823
|
+
//# sourceMappingURL=AnalystChatEntity.js.map
|
|
824
|
+
|
|
825
|
+
/***/ }),
|
|
826
|
+
|
|
827
|
+
/***/ 41687:
|
|
516
828
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
517
829
|
|
|
518
830
|
"use strict";
|
|
@@ -574,11 +886,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
574
886
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
575
887
|
exports.Routes = void 0;
|
|
576
888
|
var BaseService_1 = __importDefault(__webpack_require__(41992));
|
|
577
|
-
var
|
|
578
|
-
var
|
|
579
|
-
var ROOT = "".concat(constants_1.API_PREFIX, "/").concat(SERVICE_NAME);
|
|
889
|
+
var Analyst_consts_1 = __webpack_require__(93359);
|
|
890
|
+
var ROOT = "".concat(Analyst_consts_1.GATEWAY_PATH).concat(Analyst_consts_1.API_PREFIX);
|
|
580
891
|
exports.Routes = {
|
|
581
|
-
LATEST: "".concat(ROOT, "/
|
|
892
|
+
LATEST: "".concat(ROOT, "/").concat(Analyst_consts_1.FINDINGS, "/latest")
|
|
582
893
|
};
|
|
583
894
|
var AnalystFindingsService = /** @class */ (function (_super) {
|
|
584
895
|
__extends(AnalystFindingsService, _super);
|
|
@@ -599,15 +910,28 @@ exports["default"] = AnalystFindingsService;
|
|
|
599
910
|
|
|
600
911
|
/***/ }),
|
|
601
912
|
|
|
602
|
-
/***/
|
|
603
|
-
/***/ ((__unused_webpack_module, exports)
|
|
913
|
+
/***/ 82661:
|
|
914
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
604
915
|
|
|
605
916
|
"use strict";
|
|
606
917
|
|
|
918
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
919
|
+
if (k2 === undefined) k2 = k;
|
|
920
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
921
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
922
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
923
|
+
}
|
|
924
|
+
Object.defineProperty(o, k2, desc);
|
|
925
|
+
}) : (function(o, m, k, k2) {
|
|
926
|
+
if (k2 === undefined) k2 = k;
|
|
927
|
+
o[k2] = m[k];
|
|
928
|
+
}));
|
|
929
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
930
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
931
|
+
};
|
|
607
932
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
608
|
-
exports
|
|
609
|
-
|
|
610
|
-
//# sourceMappingURL=constants.js.map
|
|
933
|
+
__exportStar(__webpack_require__(1219), exports);
|
|
934
|
+
//# sourceMappingURL=index.js.map
|
|
611
935
|
|
|
612
936
|
/***/ }),
|
|
613
937
|
|
|
@@ -2835,6 +3159,7 @@ var FleetRouterApi_1 = __importDefault(__webpack_require__(13696));
|
|
|
2835
3159
|
var FleetTemplateApi_1 = __importDefault(__webpack_require__(73102));
|
|
2836
3160
|
var FloatingInventoryApi_1 = __importDefault(__webpack_require__(36242));
|
|
2837
3161
|
var floating_inventories_api_1 = __webpack_require__(66122);
|
|
3162
|
+
var ForceSchedulingApi_1 = __importDefault(__webpack_require__(87632));
|
|
2838
3163
|
var GeocodingApi_1 = __importDefault(__webpack_require__(87206));
|
|
2839
3164
|
var GoogleMapsHelperApi_1 = __importDefault(__webpack_require__(37828));
|
|
2840
3165
|
var Inventory_1 = __importDefault(__webpack_require__(74033));
|
|
@@ -3234,6 +3559,7 @@ function init(session) {
|
|
|
3234
3559
|
floatingInventories: new floating_inventories_api_1.FloatingInventoriesApi(session),
|
|
3235
3560
|
deliveryWindows: new delivery_windows_api_1.default(session),
|
|
3236
3561
|
taskManagedAttributes: new TaskManagedAttributes_1.TaskManagedAttributesApi(session),
|
|
3562
|
+
forceScheduling: new ForceSchedulingApi_1.default(session),
|
|
3237
3563
|
chat: new Chat_1.default(session),
|
|
3238
3564
|
optimizationKpi: new OptimizationKpiApi_1.default(session),
|
|
3239
3565
|
tasksExplorer: new tasks_explorer_api_1.default(session),
|
|
@@ -3514,7 +3840,8 @@ exports.Routes = {
|
|
|
3514
3840
|
UPDATE_INSIGHT_DONE: "".concat(SERVICE_PREFIX, "/{:insightId}/done"),
|
|
3515
3841
|
SUBMIT_INSIGHT_FEEDBACK: "".concat(SERVICE_PREFIX, "/{:insightId}/feedback"),
|
|
3516
3842
|
QUERY_INSIGHT_FEEDBACKS: "".concat(SERVICE_PREFIX, "/feedback/query"),
|
|
3517
|
-
DELETE_INSIGHT_FEEDBACK: "".concat(SERVICE_PREFIX, "/{:insightId}/feedback")
|
|
3843
|
+
DELETE_INSIGHT_FEEDBACK: "".concat(SERVICE_PREFIX, "/{:insightId}/feedback"),
|
|
3844
|
+
APPLY_RECOMMENDATION: "".concat(SERVICE_PREFIX, "/{:insightId}/recommendations/{:recommendationId}/apply")
|
|
3518
3845
|
};
|
|
3519
3846
|
//# sourceMappingURL=CapacityInsights.consts.js.map
|
|
3520
3847
|
|
|
@@ -3708,6 +4035,13 @@ var CapacityInsightsApi = /** @class */ (function () {
|
|
|
3708
4035
|
});
|
|
3709
4036
|
});
|
|
3710
4037
|
};
|
|
4038
|
+
CapacityInsightsApi.prototype.applyRecommendation = function (insightId, recommendationId) {
|
|
4039
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4040
|
+
return __generator(this, function (_a) {
|
|
4041
|
+
return [2 /*return*/, this.capacityInsightsEntity.applyRecommendation(insightId, recommendationId)];
|
|
4042
|
+
});
|
|
4043
|
+
});
|
|
4044
|
+
};
|
|
3711
4045
|
return CapacityInsightsApi;
|
|
3712
4046
|
}());
|
|
3713
4047
|
exports["default"] = CapacityInsightsApi;
|
|
@@ -3870,6 +4204,19 @@ var CapacityInsightsEntity = /** @class */ (function (_super) {
|
|
|
3870
4204
|
});
|
|
3871
4205
|
});
|
|
3872
4206
|
};
|
|
4207
|
+
CapacityInsightsEntity.prototype.applyRecommendation = function (insightId, recommendationId) {
|
|
4208
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4209
|
+
return __generator(this, function (_a) {
|
|
4210
|
+
return [2 /*return*/, this.service.routeGenerator
|
|
4211
|
+
.post(CapacityInsights_consts_1.Routes.APPLY_RECOMMENDATION)
|
|
4212
|
+
.withRouteParams({
|
|
4213
|
+
insightId: insightId,
|
|
4214
|
+
recommendationId: recommendationId
|
|
4215
|
+
})
|
|
4216
|
+
.invoke()];
|
|
4217
|
+
});
|
|
4218
|
+
});
|
|
4219
|
+
};
|
|
3873
4220
|
return CapacityInsightsEntity;
|
|
3874
4221
|
}(Entity_1.default));
|
|
3875
4222
|
exports["default"] = CapacityInsightsEntity;
|
|
@@ -11769,6 +12116,159 @@ exports.userIdsExtractor = userIdsExtractor;
|
|
|
11769
12116
|
|
|
11770
12117
|
/***/ }),
|
|
11771
12118
|
|
|
12119
|
+
/***/ 77891:
|
|
12120
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
12121
|
+
|
|
12122
|
+
"use strict";
|
|
12123
|
+
|
|
12124
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
12125
|
+
exports.Routes = exports.baseRoute = void 0;
|
|
12126
|
+
exports.baseRoute = '/task-service/force-scheduling';
|
|
12127
|
+
exports.Routes = {
|
|
12128
|
+
SET_DRIVER: "".concat(exports.baseRoute, "/set-driver")
|
|
12129
|
+
};
|
|
12130
|
+
//# sourceMappingURL=ForceScheduling.consts.js.map
|
|
12131
|
+
|
|
12132
|
+
/***/ }),
|
|
12133
|
+
|
|
12134
|
+
/***/ 87632:
|
|
12135
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
12136
|
+
|
|
12137
|
+
"use strict";
|
|
12138
|
+
|
|
12139
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
12140
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
12141
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
12142
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
12143
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
12144
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
12145
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
12146
|
+
});
|
|
12147
|
+
};
|
|
12148
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12149
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
12150
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
12151
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
12152
|
+
function step(op) {
|
|
12153
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
12154
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
12155
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
12156
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
12157
|
+
switch (op[0]) {
|
|
12158
|
+
case 0: case 1: t = op; break;
|
|
12159
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
12160
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
12161
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
12162
|
+
default:
|
|
12163
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
12164
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
12165
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
12166
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
12167
|
+
if (t[2]) _.ops.pop();
|
|
12168
|
+
_.trys.pop(); continue;
|
|
12169
|
+
}
|
|
12170
|
+
op = body.call(thisArg, _);
|
|
12171
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
12172
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
12173
|
+
}
|
|
12174
|
+
};
|
|
12175
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12176
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
12177
|
+
};
|
|
12178
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
12179
|
+
var ForceScheduling_service_1 = __importDefault(__webpack_require__(53002));
|
|
12180
|
+
var ForceSchedulingApi = /** @class */ (function () {
|
|
12181
|
+
function ForceSchedulingApi(session) {
|
|
12182
|
+
this.forceSchedulingService = new ForceScheduling_service_1.default(session);
|
|
12183
|
+
}
|
|
12184
|
+
/**
|
|
12185
|
+
* Sets or removes (driver_id: null) the forced driver for a single task. Linked orders are
|
|
12186
|
+
* handled server-side - task-service writes or deletes both legs.
|
|
12187
|
+
*/
|
|
12188
|
+
ForceSchedulingApi.prototype.setDriver = function (request) {
|
|
12189
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12190
|
+
return __generator(this, function (_a) {
|
|
12191
|
+
return [2 /*return*/, this.forceSchedulingService.setDriver(request)];
|
|
12192
|
+
});
|
|
12193
|
+
});
|
|
12194
|
+
};
|
|
12195
|
+
return ForceSchedulingApi;
|
|
12196
|
+
}());
|
|
12197
|
+
exports["default"] = ForceSchedulingApi;
|
|
12198
|
+
//# sourceMappingURL=ForceSchedulingApi.js.map
|
|
12199
|
+
|
|
12200
|
+
/***/ }),
|
|
12201
|
+
|
|
12202
|
+
/***/ 53002:
|
|
12203
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
12204
|
+
|
|
12205
|
+
"use strict";
|
|
12206
|
+
|
|
12207
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
12208
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
12209
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
12210
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
12211
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
12212
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
12213
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
12214
|
+
});
|
|
12215
|
+
};
|
|
12216
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12217
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
12218
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
12219
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
12220
|
+
function step(op) {
|
|
12221
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
12222
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
12223
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
12224
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
12225
|
+
switch (op[0]) {
|
|
12226
|
+
case 0: case 1: t = op; break;
|
|
12227
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
12228
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
12229
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
12230
|
+
default:
|
|
12231
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
12232
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
12233
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
12234
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
12235
|
+
if (t[2]) _.ops.pop();
|
|
12236
|
+
_.trys.pop(); continue;
|
|
12237
|
+
}
|
|
12238
|
+
op = body.call(thisArg, _);
|
|
12239
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
12240
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
12241
|
+
}
|
|
12242
|
+
};
|
|
12243
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12244
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
12245
|
+
};
|
|
12246
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
12247
|
+
var CrudService_1 = __importDefault(__webpack_require__(14809));
|
|
12248
|
+
var ForceScheduling_consts_1 = __webpack_require__(77891);
|
|
12249
|
+
var ForceSchedulingService = /** @class */ (function () {
|
|
12250
|
+
function ForceSchedulingService(session) {
|
|
12251
|
+
this.service = new CrudService_1.default(session, 'force-scheduling', 'task-service');
|
|
12252
|
+
}
|
|
12253
|
+
ForceSchedulingService.prototype.setDriver = function (request, commonOptions) {
|
|
12254
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12255
|
+
return __generator(this, function (_a) {
|
|
12256
|
+
return [2 /*return*/, this.service.routeGenerator
|
|
12257
|
+
.post(ForceScheduling_consts_1.Routes.SET_DRIVER)
|
|
12258
|
+
.withPayload(request)
|
|
12259
|
+
.setException("failed to set forced driver for task ".concat(request.task_id))
|
|
12260
|
+
.withCommonOptions(commonOptions)
|
|
12261
|
+
.invoke()];
|
|
12262
|
+
});
|
|
12263
|
+
});
|
|
12264
|
+
};
|
|
12265
|
+
return ForceSchedulingService;
|
|
12266
|
+
}());
|
|
12267
|
+
exports["default"] = ForceSchedulingService;
|
|
12268
|
+
//# sourceMappingURL=ForceScheduling.service.js.map
|
|
12269
|
+
|
|
12270
|
+
/***/ }),
|
|
12271
|
+
|
|
11772
12272
|
/***/ 84431:
|
|
11773
12273
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
11774
12274
|
|
|
@@ -24173,7 +24673,7 @@ var lodash_1 = __webpack_require__(96486);
|
|
|
24173
24673
|
var BringgException_1 = __webpack_require__(43605);
|
|
24174
24674
|
var Logger_1 = __importDefault(__webpack_require__(55860));
|
|
24175
24675
|
var abort_1 = __webpack_require__(34179);
|
|
24176
|
-
var version = '9.
|
|
24676
|
+
var version = '9.86.1';
|
|
24177
24677
|
function logErrorResponse(response) {
|
|
24178
24678
|
var data = response.data, status = response.status;
|
|
24179
24679
|
try {
|
|
@@ -36142,6 +36642,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36142
36642
|
};
|
|
36143
36643
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36144
36644
|
exports.WorkflowsApi = exports.VehicleTypeConsts = exports.VehicleCategoryConsts = exports.VehicleGroup = exports.VehiclesApi = exports.AbortUtils = exports.UsersApi = exports.UserGroupValues = exports.UserGroupTypes = exports.UploadApi = exports.UploadConsts = exports.TasksExplorerApi = exports.TaskRejectReasonsApi = exports.TaskInventoryConsts = exports.TasksApi = exports.TaskGroupValues = exports.TaskGroupTypes = exports.TagConsts = exports.ServiceAreaApi = exports.ServiceAreaFilterGroups = exports.RunsApi = exports.RunStatus = exports.RunConsts = exports.ResourceUploadType = exports.ReasonToChangeInventory = exports.PrivilegesConsts = exports.PlannedRoutesConsts = exports.PlannedDeliveryWindowsApi = exports.RecurrenceType = exports.PlannedDeliveryWindowsFilterGroups = exports.OptimizationResultApi = exports.NotificationTypesConsts = exports.NotificationTemplateConsts = exports.LookupConsts = exports.LanguageConsts = exports.ExclusionWindowApiV2 = exports.ExclusionWindowsFilterGroups = exports.DeliveryWindowsApi = exports.DeliveryBlockConsts = exports.CrewConsts = exports.Responses = exports.ChatMessageConsts = exports.ChatConversationConsts = void 0;
|
|
36645
|
+
__exportStar(__webpack_require__(82661), exports);
|
|
36145
36646
|
__exportStar(__webpack_require__(37360), exports);
|
|
36146
36647
|
__exportStar(__webpack_require__(5655), exports);
|
|
36147
36648
|
exports.ChatConversationConsts = __importStar(__webpack_require__(44448));
|
|
@@ -39376,6 +39877,38 @@ var AlertDisplayCategory;
|
|
|
39376
39877
|
|
|
39377
39878
|
/***/ }),
|
|
39378
39879
|
|
|
39880
|
+
/***/ 39625:
|
|
39881
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
39882
|
+
|
|
39883
|
+
"use strict";
|
|
39884
|
+
|
|
39885
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
39886
|
+
exports.ToolName = exports.ChartKind = exports.toRole = exports.Role = void 0;
|
|
39887
|
+
var Role;
|
|
39888
|
+
(function (Role) {
|
|
39889
|
+
Role["Human"] = "human";
|
|
39890
|
+
Role["Ai"] = "ai";
|
|
39891
|
+
})(Role || (exports.Role = Role = {}));
|
|
39892
|
+
var toRole = function (role) { return (role === Role.Ai || role === 'assistant' ? Role.Ai : Role.Human); };
|
|
39893
|
+
exports.toRole = toRole;
|
|
39894
|
+
var ChartKind;
|
|
39895
|
+
(function (ChartKind) {
|
|
39896
|
+
ChartKind["Bar"] = "bar";
|
|
39897
|
+
ChartKind["Line"] = "line";
|
|
39898
|
+
ChartKind["Pie"] = "pie";
|
|
39899
|
+
ChartKind["Area"] = "area";
|
|
39900
|
+
ChartKind["Scatter"] = "scatter";
|
|
39901
|
+
ChartKind["StackedBar"] = "stacked_bar";
|
|
39902
|
+
})(ChartKind || (exports.ChartKind = ChartKind = {}));
|
|
39903
|
+
var ToolName;
|
|
39904
|
+
(function (ToolName) {
|
|
39905
|
+
ToolName["CreateVisualization"] = "create_visualization";
|
|
39906
|
+
ToolName["SuggestFollowupQuestions"] = "suggest_followup_questions";
|
|
39907
|
+
})(ToolName || (exports.ToolName = ToolName = {}));
|
|
39908
|
+
//# sourceMappingURL=analyst_chat.js.map
|
|
39909
|
+
|
|
39910
|
+
/***/ }),
|
|
39911
|
+
|
|
39379
39912
|
/***/ 67823:
|
|
39380
39913
|
/***/ ((__unused_webpack_module, exports) => {
|
|
39381
39914
|
|
|
@@ -39414,6 +39947,22 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
39414
39947
|
|
|
39415
39948
|
/***/ }),
|
|
39416
39949
|
|
|
39950
|
+
/***/ 77857:
|
|
39951
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
39952
|
+
|
|
39953
|
+
"use strict";
|
|
39954
|
+
|
|
39955
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
39956
|
+
exports.AnalystEmailRecipientType = void 0;
|
|
39957
|
+
var AnalystEmailRecipientType;
|
|
39958
|
+
(function (AnalystEmailRecipientType) {
|
|
39959
|
+
AnalystEmailRecipientType["User"] = "user";
|
|
39960
|
+
AnalystEmailRecipientType["ExternalEmail"] = "external_email";
|
|
39961
|
+
})(AnalystEmailRecipientType || (exports.AnalystEmailRecipientType = AnalystEmailRecipientType = {}));
|
|
39962
|
+
//# sourceMappingURL=analyst_settings.js.map
|
|
39963
|
+
|
|
39964
|
+
/***/ }),
|
|
39965
|
+
|
|
39417
39966
|
/***/ 76797:
|
|
39418
39967
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
39419
39968
|
|
|
@@ -39434,8 +39983,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
39434
39983
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
39435
39984
|
};
|
|
39436
39985
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
39986
|
+
exports.AnalystChat = void 0;
|
|
39987
|
+
exports.AnalystChat = __webpack_require__(39625);
|
|
39437
39988
|
__exportStar(__webpack_require__(67823), exports);
|
|
39438
39989
|
__exportStar(__webpack_require__(56381), exports);
|
|
39990
|
+
__exportStar(__webpack_require__(77857), exports);
|
|
39439
39991
|
//# sourceMappingURL=index.js.map
|
|
39440
39992
|
|
|
39441
39993
|
/***/ }),
|
|
@@ -40442,8 +40994,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
40442
40994
|
"use strict";
|
|
40443
40995
|
|
|
40444
40996
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
40445
|
-
exports.TaskTimePredictionApplicationFieldName = exports.ApplicationUuid =
|
|
40446
|
-
exports.DELIVERY_WINDOW_CAPACITY_ACTIVATED = 'deliveryWindowCapacityActivated';
|
|
40997
|
+
exports.TaskTimePredictionApplicationFieldName = exports.ApplicationUuid = void 0;
|
|
40447
40998
|
var ApplicationUuid;
|
|
40448
40999
|
(function (ApplicationUuid) {
|
|
40449
41000
|
ApplicationUuid["AutoAssign"] = "7083ab3d-c7de-40fd-83bb-f2c10bd0fa88";
|
|
@@ -40471,6 +41022,7 @@ var ApplicationUuid;
|
|
|
40471
41022
|
ApplicationUuid["DetectDriverOffRoute"] = "dd2ad97a-ffee-11e5-86aa-5e5517507c66";
|
|
40472
41023
|
ApplicationUuid["DHL"] = "ec424a40-a9b9-11e6-80f5-76304dec7eb7";
|
|
40473
41024
|
ApplicationUuid["DispatcherNotifier"] = "f574941d-fd43-4c4e-bd85-9b4107e569f3";
|
|
41025
|
+
ApplicationUuid["DocumentsApp"] = "33ef15a7-7d1b-4eec-b45f-a631ede1bb4f";
|
|
40474
41026
|
ApplicationUuid["DriverActivityVerifier"] = "f68bae82-dac7-411c-a772-792226bc8ea4";
|
|
40475
41027
|
ApplicationUuid["DriverPayments"] = "88260a80-c003-4d66-bf81-5f15443286ed";
|
|
40476
41028
|
ApplicationUuid["ETA"] = "9369f5d4-57d8-4806-b2c9-fcc6f4e51531";
|
|
@@ -40706,6 +41258,34 @@ var CapacityPlanningInsightFeedbackReason;
|
|
|
40706
41258
|
|
|
40707
41259
|
/***/ }),
|
|
40708
41260
|
|
|
41261
|
+
/***/ 93182:
|
|
41262
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
41263
|
+
|
|
41264
|
+
"use strict";
|
|
41265
|
+
|
|
41266
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
41267
|
+
exports.CapacityPlanningRecommendationStatus = exports.CapacityPlanningRecommendationApplyMode = exports.CapacityPlanningRecommendationType = void 0;
|
|
41268
|
+
var CapacityPlanningRecommendationType;
|
|
41269
|
+
(function (CapacityPlanningRecommendationType) {
|
|
41270
|
+
CapacityPlanningRecommendationType[CapacityPlanningRecommendationType["EXTEND_DELIVERY_BLOCK"] = 0] = "EXTEND_DELIVERY_BLOCK";
|
|
41271
|
+
})(CapacityPlanningRecommendationType || (exports.CapacityPlanningRecommendationType = CapacityPlanningRecommendationType = {}));
|
|
41272
|
+
var CapacityPlanningRecommendationApplyMode;
|
|
41273
|
+
(function (CapacityPlanningRecommendationApplyMode) {
|
|
41274
|
+
CapacityPlanningRecommendationApplyMode[CapacityPlanningRecommendationApplyMode["AUTO"] = 0] = "AUTO";
|
|
41275
|
+
CapacityPlanningRecommendationApplyMode[CapacityPlanningRecommendationApplyMode["MANUAL"] = 1] = "MANUAL";
|
|
41276
|
+
})(CapacityPlanningRecommendationApplyMode || (exports.CapacityPlanningRecommendationApplyMode = CapacityPlanningRecommendationApplyMode = {}));
|
|
41277
|
+
var CapacityPlanningRecommendationStatus;
|
|
41278
|
+
(function (CapacityPlanningRecommendationStatus) {
|
|
41279
|
+
CapacityPlanningRecommendationStatus[CapacityPlanningRecommendationStatus["PENDING"] = 0] = "PENDING";
|
|
41280
|
+
CapacityPlanningRecommendationStatus[CapacityPlanningRecommendationStatus["QUEUED"] = 1] = "QUEUED";
|
|
41281
|
+
CapacityPlanningRecommendationStatus[CapacityPlanningRecommendationStatus["APPLYING"] = 2] = "APPLYING";
|
|
41282
|
+
CapacityPlanningRecommendationStatus[CapacityPlanningRecommendationStatus["APPLIED"] = 3] = "APPLIED";
|
|
41283
|
+
CapacityPlanningRecommendationStatus[CapacityPlanningRecommendationStatus["FAILED"] = 4] = "FAILED";
|
|
41284
|
+
})(CapacityPlanningRecommendationStatus || (exports.CapacityPlanningRecommendationStatus = CapacityPlanningRecommendationStatus = {}));
|
|
41285
|
+
//# sourceMappingURL=capacity_planning_insight_recommendation.js.map
|
|
41286
|
+
|
|
41287
|
+
/***/ }),
|
|
41288
|
+
|
|
40709
41289
|
/***/ 6533:
|
|
40710
41290
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
40711
41291
|
|
|
@@ -40729,6 +41309,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
40729
41309
|
__exportStar(__webpack_require__(57465), exports);
|
|
40730
41310
|
__exportStar(__webpack_require__(48711), exports);
|
|
40731
41311
|
__exportStar(__webpack_require__(3201), exports);
|
|
41312
|
+
__exportStar(__webpack_require__(93182), exports);
|
|
40732
41313
|
__exportStar(__webpack_require__(10870), exports);
|
|
40733
41314
|
//# sourceMappingURL=index.js.map
|
|
40734
41315
|
|
|
@@ -41992,6 +42573,7 @@ var EventType;
|
|
|
41992
42573
|
EventType["ApplicationTeamConfigurationUpdated"] = "application_team_configuration:updated";
|
|
41993
42574
|
EventType["ApplicationTeamConfigurationRemoved"] = "application_team_configuration:removed";
|
|
41994
42575
|
EventType["VehicleUpdated"] = "vehicle:update";
|
|
42576
|
+
EventType["DocumentsReady"] = "documents_ready";
|
|
41995
42577
|
})(EventType || (exports.EventType = EventType = {}));
|
|
41996
42578
|
var AvailabilityCalculationOrigin;
|
|
41997
42579
|
(function (AvailabilityCalculationOrigin) {
|
|
@@ -44258,6 +44840,7 @@ var NoteType;
|
|
|
44258
44840
|
NoteType["Signature"] = "Signature";
|
|
44259
44841
|
NoteType["Document"] = "Document";
|
|
44260
44842
|
NoteType["DeliveryReceipt"] = "DeliveryReceipt";
|
|
44843
|
+
NoteType["DeliveryReport"] = "DeliveryReport";
|
|
44261
44844
|
})(NoteType || (exports.NoteType = NoteType = {}));
|
|
44262
44845
|
var CarrierSelectorType;
|
|
44263
44846
|
(function (CarrierSelectorType) {
|
|
@@ -44691,6 +45274,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
44691
45274
|
"use strict";
|
|
44692
45275
|
|
|
44693
45276
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
45277
|
+
exports.AVAILABILITY_ACTIVATED = void 0;
|
|
45278
|
+
exports.AVAILABILITY_ACTIVATED = 'availability_activated';
|
|
44694
45279
|
//# sourceMappingURL=teams.js.map
|
|
44695
45280
|
|
|
44696
45281
|
/***/ }),
|
|
@@ -44742,6 +45327,7 @@ var TemplateRpcActions;
|
|
|
44742
45327
|
TemplateRpcActions["GENERATE_LABEL"] = "generate:package_label";
|
|
44743
45328
|
TemplateRpcActions["GET_TEMPLATE_DISPLAY_TYPE"] = "get:template_display_type";
|
|
44744
45329
|
TemplateRpcActions["RENDER_PRINT_ORDER"] = "render:print_order";
|
|
45330
|
+
TemplateRpcActions["RENDER_PRINT_ORDER_PDF"] = "render:print_order_pdf";
|
|
44745
45331
|
})(TemplateRpcActions || (exports.TemplateRpcActions = TemplateRpcActions = {}));
|
|
44746
45332
|
//# sourceMappingURL=templates.js.map
|
|
44747
45333
|
|
|
@@ -113650,7 +114236,7 @@ const util_js_1 = __webpack_require__(89622);
|
|
|
113650
114236
|
const parseqs_js_1 = __webpack_require__(75754);
|
|
113651
114237
|
const parseuri_js_1 = __webpack_require__(75222);
|
|
113652
114238
|
const component_emitter_1 = __webpack_require__(95260);
|
|
113653
|
-
const engine_io_parser_1 = __webpack_require__(
|
|
114239
|
+
const engine_io_parser_1 = __webpack_require__(64076);
|
|
113654
114240
|
const globals_node_js_1 = __webpack_require__(15010);
|
|
113655
114241
|
const debug_1 = __importDefault(__webpack_require__(14802)); // debug()
|
|
113656
114242
|
const debug = (0, debug_1.default)("engine.io-client:socket"); // debug()
|
|
@@ -114418,7 +115004,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
114418
115004
|
};
|
|
114419
115005
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
114420
115006
|
exports.Transport = exports.TransportError = void 0;
|
|
114421
|
-
const engine_io_parser_1 = __webpack_require__(
|
|
115007
|
+
const engine_io_parser_1 = __webpack_require__(64076);
|
|
114422
115008
|
const component_emitter_1 = __webpack_require__(95260);
|
|
114423
115009
|
const util_js_1 = __webpack_require__(89622);
|
|
114424
115010
|
const parseqs_js_1 = __webpack_require__(75754);
|
|
@@ -114961,7 +115547,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
114961
115547
|
exports.Polling = void 0;
|
|
114962
115548
|
const transport_js_1 = __webpack_require__(29870);
|
|
114963
115549
|
const util_js_1 = __webpack_require__(89622);
|
|
114964
|
-
const engine_io_parser_1 = __webpack_require__(
|
|
115550
|
+
const engine_io_parser_1 = __webpack_require__(64076);
|
|
114965
115551
|
const debug_1 = __importDefault(__webpack_require__(14802)); // debug()
|
|
114966
115552
|
const debug = (0, debug_1.default)("engine.io-client:polling"); // debug()
|
|
114967
115553
|
class Polling extends transport_js_1.Transport {
|
|
@@ -115134,7 +115720,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
115134
115720
|
exports.WS = exports.BaseWS = void 0;
|
|
115135
115721
|
const transport_js_1 = __webpack_require__(29870);
|
|
115136
115722
|
const util_js_1 = __webpack_require__(89622);
|
|
115137
|
-
const engine_io_parser_1 = __webpack_require__(
|
|
115723
|
+
const engine_io_parser_1 = __webpack_require__(64076);
|
|
115138
115724
|
const globals_node_js_1 = __webpack_require__(15010);
|
|
115139
115725
|
const debug_1 = __importDefault(__webpack_require__(14802)); // debug()
|
|
115140
115726
|
const debug = (0, debug_1.default)("engine.io-client:websocket"); // debug()
|
|
@@ -115278,7 +115864,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
115278
115864
|
exports.WT = void 0;
|
|
115279
115865
|
const transport_js_1 = __webpack_require__(29870);
|
|
115280
115866
|
const globals_node_js_1 = __webpack_require__(15010);
|
|
115281
|
-
const engine_io_parser_1 = __webpack_require__(
|
|
115867
|
+
const engine_io_parser_1 = __webpack_require__(64076);
|
|
115282
115868
|
const debug_1 = __importDefault(__webpack_require__(14802)); // debug()
|
|
115283
115869
|
const debug = (0, debug_1.default)("engine.io-client:webtransport"); // debug()
|
|
115284
115870
|
/**
|
|
@@ -115678,7 +116264,7 @@ function encodePacketToBinary(packet, callback) {
|
|
|
115678
116264
|
|
|
115679
116265
|
/***/ }),
|
|
115680
116266
|
|
|
115681
|
-
/***/
|
|
116267
|
+
/***/ 64076:
|
|
115682
116268
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
115683
116269
|
|
|
115684
116270
|
"use strict";
|