@bringg/dashboard-sdk 9.80.1 → 9.82.0-pre.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.
@@ -488,6 +488,332 @@ 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.Routes = exports.GATEWAY_PATH = void 0;
498
+ /**
499
+ * api-gateway path prefix the analyst service is registered under.
500
+ *
501
+ * From `analyst-service/helm/service/_default.yaml`:
502
+ *
503
+ * service:
504
+ * endpoints:
505
+ * - path: /analyst-service
506
+ * stripPath: true
507
+ *
508
+ * `stripPath: true` means the gateway strips the prefix before forwarding, so the service receives
509
+ * `/threads/search` rather than `/analyst-service/threads/search`.
510
+ */
511
+ exports.GATEWAY_PATH = '/analyst-service';
512
+ exports.Routes = {
513
+ SEARCH_THREADS: "".concat(exports.GATEWAY_PATH, "/threads/search")
514
+ };
515
+ //# sourceMappingURL=Analyst.consts.js.map
516
+
517
+ /***/ }),
518
+
519
+ /***/ 68625:
520
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
521
+
522
+ "use strict";
523
+
524
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
525
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
526
+ return new (P || (P = Promise))(function (resolve, reject) {
527
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
528
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
529
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
530
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
531
+ });
532
+ };
533
+ var __generator = (this && this.__generator) || function (thisArg, body) {
534
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
535
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
536
+ function verb(n) { return function (v) { return step([n, v]); }; }
537
+ function step(op) {
538
+ if (f) throw new TypeError("Generator is already executing.");
539
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
540
+ 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;
541
+ if (y = 0, t) op = [op[0] & 2, t.value];
542
+ switch (op[0]) {
543
+ case 0: case 1: t = op; break;
544
+ case 4: _.label++; return { value: op[1], done: false };
545
+ case 5: _.label++; y = op[1]; op = [0]; continue;
546
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
547
+ default:
548
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
549
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
550
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
551
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
552
+ if (t[2]) _.ops.pop();
553
+ _.trys.pop(); continue;
554
+ }
555
+ op = body.call(thisArg, _);
556
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
557
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
558
+ }
559
+ };
560
+ var __importDefault = (this && this.__importDefault) || function (mod) {
561
+ return (mod && mod.__esModule) ? mod : { "default": mod };
562
+ };
563
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
564
+ exports.Analyst = void 0;
565
+ var Analyst_consts_1 = __webpack_require__(93359);
566
+ var AnalystEntity_1 = __importDefault(__webpack_require__(68485));
567
+ var isSameConfig = function (a, b) {
568
+ if (a.apiUrl !== b.apiUrl) {
569
+ return false;
570
+ }
571
+ var keys = Object.keys(a.defaultHeaders);
572
+ return (keys.length === Object.keys(b.defaultHeaders).length &&
573
+ keys.every(function (key) { return a.defaultHeaders[key] === b.defaultHeaders[key]; }));
574
+ };
575
+ /**
576
+ * Where the dashboard reaches the Analyst agent, and how it authenticates.
577
+ *
578
+ * The browser never talks to analyst-service directly - it is reached through api-gateway under a
579
+ * path prefix, exactly like `data-query-service`. The service declares `bringg-jwt`, but no JWT
580
+ * exists client-side: the gateway performs the exchange from the ordinary Bringg session token, so
581
+ * we send the same `Authorization: Token token=...` plus `Client` that every other non-hagmonia
582
+ * call sends.
583
+ *
584
+ * **Why config and not a client.** The protocol client lives in `@langchain/langgraph-sdk`, which
585
+ * pulls in `@langchain/core` and, through it, Node built-ins that this bundle cannot resolve for
586
+ * the browser. Since the only consumer is `@langchain/react`'s `useStream` - a React hook, which
587
+ * cannot live here anyway - the split falls naturally: this package owns *where and how to
588
+ * connect*, which it already knows from `Session`, and the consumer owns the transport.
589
+ *
590
+ * ```ts
591
+ * const stream = useStream({ ...sdk.analyst.getClientConfig(), assistantId: 'analyst' });
592
+ * ```
593
+ *
594
+ * Everything the dashboard requests *itself* - today just the conversation list - is an ordinary
595
+ * SDK call on this class, typed from the `AnalystChat` contract in `@bringg/types` so the shape is
596
+ * enforced by the compiler in both this repo and analyst-service.
597
+ */
598
+ var Analyst = /** @class */ (function () {
599
+ function Analyst(session) {
600
+ this.session = session;
601
+ this.entity = new AnalystEntity_1.default(session);
602
+ }
603
+ /**
604
+ * The signed-in user's conversations, most recently updated first.
605
+ *
606
+ * Carries no messages - the History list stays cheap, and opening a conversation hydrates it
607
+ * through the protocol client.
608
+ */
609
+ Analyst.prototype.listThreads = function () {
610
+ return __awaiter(this, void 0, void 0, function () {
611
+ return __generator(this, function (_a) {
612
+ return [2 /*return*/, this.entity.searchThreads()];
613
+ });
614
+ });
615
+ };
616
+ /**
617
+ * Returns the **same object** while the values are unchanged.
618
+ *
619
+ * Referential stability is load-bearing, not a micro-optimisation: `useStream` treats
620
+ * `defaultHeaders` as a client dependency and rebuilds its client whenever the identity
621
+ * changes. A fresh object per call rebuilds on every render, which refetches, which renders
622
+ * again - an endless loop of `/commands` and `/state`.
623
+ *
624
+ * Recomputed each call and compared by value, so a changed session (login, region switch,
625
+ * impersonation) still produces a new config rather than a stale one.
626
+ */
627
+ Analyst.prototype.getClientConfig = function () {
628
+ var next = {
629
+ apiUrl: this.getApiUrl(),
630
+ defaultHeaders: this.getDefaultHeaders()
631
+ };
632
+ if (this.cached && isSameConfig(this.cached, next)) {
633
+ return this.cached;
634
+ }
635
+ this.cached = next;
636
+ return next;
637
+ };
638
+ /**
639
+ * `{api endpoint}/analyst-service`, resolved from the **signed-in user's region**.
640
+ *
641
+ * A user's region can differ from the environment default, and resolving against the default
642
+ * would point them at the wrong cluster.
643
+ */
644
+ Analyst.prototype.getApiUrl = function () {
645
+ return "".concat(this.session.config.getApiEndpoint().encode()).concat(Analyst_consts_1.GATEWAY_PATH);
646
+ };
647
+ /** Matches the headers `ServiceRequest` builds for every other service. */
648
+ Analyst.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;
659
+ };
660
+ return Analyst;
661
+ }());
662
+ exports.Analyst = Analyst;
663
+ exports["default"] = Analyst;
664
+ //# sourceMappingURL=Analyst.js.map
665
+
666
+ /***/ }),
667
+
668
+ /***/ 68485:
669
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
670
+
671
+ "use strict";
672
+
673
+ var __extends = (this && this.__extends) || (function () {
674
+ var extendStatics = function (d, b) {
675
+ extendStatics = Object.setPrototypeOf ||
676
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
677
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
678
+ return extendStatics(d, b);
679
+ };
680
+ return function (d, b) {
681
+ if (typeof b !== "function" && b !== null)
682
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
683
+ extendStatics(d, b);
684
+ function __() { this.constructor = d; }
685
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
686
+ };
687
+ })();
688
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
689
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
690
+ return new (P || (P = Promise))(function (resolve, reject) {
691
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
692
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
693
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
694
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
695
+ });
696
+ };
697
+ var __generator = (this && this.__generator) || function (thisArg, body) {
698
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
699
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
700
+ function verb(n) { return function (v) { return step([n, v]); }; }
701
+ function step(op) {
702
+ if (f) throw new TypeError("Generator is already executing.");
703
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
704
+ 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;
705
+ if (y = 0, t) op = [op[0] & 2, t.value];
706
+ switch (op[0]) {
707
+ case 0: case 1: t = op; break;
708
+ case 4: _.label++; return { value: op[1], done: false };
709
+ case 5: _.label++; y = op[1]; op = [0]; continue;
710
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
711
+ default:
712
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
713
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
714
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
715
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
716
+ if (t[2]) _.ops.pop();
717
+ _.trys.pop(); continue;
718
+ }
719
+ op = body.call(thisArg, _);
720
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
721
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
722
+ }
723
+ };
724
+ var __importDefault = (this && this.__importDefault) || function (mod) {
725
+ return (mod && mod.__esModule) ? mod : { "default": mod };
726
+ };
727
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
728
+ var Entity_1 = __importDefault(__webpack_require__(7483));
729
+ var Analyst_consts_1 = __webpack_require__(93359);
730
+ /**
731
+ * The Analyst REST surface.
732
+ *
733
+ * **Why this is the only endpoint declared here.** The analyst service exposes four more -
734
+ * `POST /threads/:id/commands`, `POST /threads/:id/stream/events`, `GET /threads/:id/state` and
735
+ * cancel - and none of them can become an SDK method. The dividing line is not REST versus
736
+ * streaming, it is *who decides to make the call*:
737
+ *
738
+ * - `/commands` - the protocol client builds the JSON-RPC envelope, allocates the command id and
739
+ * correlates the returned run. It sends this itself, on submit.
740
+ * - `/stream/events` - a long-lived SSE connection. The client opens it, splits frames, ignores
741
+ * keep-alives, dedupes by `event_id` and resumes from `seq` after a drop. A method returning a
742
+ * `Promise` cannot express a stream, and re-implementing the framing here would duplicate the
743
+ * very transport we are deferring to.
744
+ * - `/state` - called by the client during its own hydrate lifecycle, not when we ask.
745
+ * - cancel - keyed to the run id the client is tracking internally.
746
+ *
747
+ * All four are initiated *by the client*, so wrapping them would produce methods nothing calls.
748
+ * The SDK's contribution to those is {@link Analyst.getClientConfig} - where to connect and how to
749
+ * authenticate - and the client does the rest.
750
+ *
751
+ * `POST /threads/search` is different: the dashboard decides to ask for it, when the user opens
752
+ * the History tab. That makes it ours, and it is the only one.
753
+ */
754
+ var AnalystEntity = /** @class */ (function (_super) {
755
+ __extends(AnalystEntity, _super);
756
+ function AnalystEntity(session) {
757
+ return _super.call(this, {
758
+ session: session,
759
+ entityName: 'threads',
760
+ routePrefix: 'analyst-service'
761
+ }) || this;
762
+ }
763
+ /**
764
+ * Unwraps the `threads` envelope so callers receive entities directly, matching how the rest
765
+ * of the SDK reads (`getInsights()` returns insights, not a response wrapper).
766
+ */
767
+ AnalystEntity.prototype.searchThreads = function () {
768
+ var _a;
769
+ return __awaiter(this, void 0, void 0, function () {
770
+ var response;
771
+ return __generator(this, function (_b) {
772
+ switch (_b.label) {
773
+ case 0: return [4 /*yield*/, this.service.routeGenerator
774
+ .post(Analyst_consts_1.Routes.SEARCH_THREADS)
775
+ .withPayload({})
776
+ .setException('Failed to fetch analyst chat threads')
777
+ .invoke()];
778
+ case 1:
779
+ response = _b.sent();
780
+ return [2 /*return*/, (_a = response === null || response === void 0 ? void 0 : response.threads) !== null && _a !== void 0 ? _a : []];
781
+ }
782
+ });
783
+ });
784
+ };
785
+ return AnalystEntity;
786
+ }(Entity_1.default));
787
+ exports["default"] = AnalystEntity;
788
+ //# sourceMappingURL=AnalystEntity.js.map
789
+
790
+ /***/ }),
791
+
792
+ /***/ 82661:
793
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
794
+
795
+ "use strict";
796
+
797
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
798
+ if (k2 === undefined) k2 = k;
799
+ var desc = Object.getOwnPropertyDescriptor(m, k);
800
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
801
+ desc = { enumerable: true, get: function() { return m[k]; } };
802
+ }
803
+ Object.defineProperty(o, k2, desc);
804
+ }) : (function(o, m, k, k2) {
805
+ if (k2 === undefined) k2 = k;
806
+ o[k2] = m[k];
807
+ }));
808
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
809
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
810
+ };
811
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
812
+ __exportStar(__webpack_require__(68625), exports);
813
+ //# sourceMappingURL=index.js.map
814
+
815
+ /***/ }),
816
+
491
817
  /***/ 80034:
492
818
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
493
819
 
@@ -2680,6 +3006,7 @@ exports.newConfigurationProvider = exports.getFullConfiguration = exports.setEnv
2680
3006
  var mobx = __importStar(__webpack_require__(68949));
2681
3007
  var AddonsApi_1 = __importDefault(__webpack_require__(22464));
2682
3008
  var AlertsApi_1 = __importDefault(__webpack_require__(86776));
3009
+ var Analyst_1 = __webpack_require__(82661);
2683
3010
  var AnalyticsReportsApi_1 = __importDefault(__webpack_require__(80034));
2684
3011
  var ApplicationApi_1 = __importDefault(__webpack_require__(50513));
2685
3012
  var ApplicationMerchantConfigurationApi_1 = __importDefault(__webpack_require__(82996));
@@ -3200,6 +3527,7 @@ function init(session) {
3200
3527
  bringg.parkingSpotApi = new ParkingSpotApi_1.default(session);
3201
3528
  bringg.customAttributesApi = new CustomAttributesApi_1.default(session);
3202
3529
  bringg.asyncOperationStatus = new AsyncOperationStatus_1.AsyncOperationStatus(session);
3530
+ bringg.analyst = new Analyst_1.Analyst(session);
3203
3531
  bringg.addons = new AddonsApi_1.default(session);
3204
3532
  bringg.supportTicket = new SupportTicketApi_1.default(session);
3205
3533
  bringg.optimizationKpi = new OptimizationKpiApi_1.default(session);
@@ -24032,7 +24360,7 @@ var lodash_1 = __webpack_require__(96486);
24032
24360
  var BringgException_1 = __webpack_require__(43605);
24033
24361
  var Logger_1 = __importDefault(__webpack_require__(55860));
24034
24362
  var abort_1 = __webpack_require__(34179);
24035
- var version = '9.80.1';
24363
+ var version = '9.82.0-pre.1';
24036
24364
  function logErrorResponse(response) {
24037
24365
  var data = response.data, status = response.status;
24038
24366
  try {
@@ -35925,6 +36253,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
35925
36253
  };
35926
36254
  Object.defineProperty(exports, "__esModule", ({ value: true }));
35927
36255
  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;
36256
+ __exportStar(__webpack_require__(82661), exports);
35928
36257
  __exportStar(__webpack_require__(37360), exports);
35929
36258
  __exportStar(__webpack_require__(5655), exports);
35930
36259
  exports.ChatConversationConsts = __importStar(__webpack_require__(44448));
@@ -37968,6 +38297,7 @@ __exportStar(__webpack_require__(63725), exports);
37968
38297
  __exportStar(__webpack_require__(26383), exports);
37969
38298
  __exportStar(__webpack_require__(11168), exports);
37970
38299
  __exportStar(__webpack_require__(82849), exports);
38300
+ __exportStar(__webpack_require__(76797), exports);
37971
38301
  __exportStar(__webpack_require__(54581), exports);
37972
38302
  __exportStar(__webpack_require__(21434), exports);
37973
38303
  __exportStar(__webpack_require__(30983), exports);
@@ -37984,6 +38314,7 @@ __exportStar(__webpack_require__(51837), exports);
37984
38314
  __exportStar(__webpack_require__(55936), exports);
37985
38315
  __exportStar(__webpack_require__(58466), exports);
37986
38316
  __exportStar(__webpack_require__(14570), exports);
38317
+ __exportStar(__webpack_require__(47551), exports);
37987
38318
  __exportStar(__webpack_require__(29384), exports);
37988
38319
  __exportStar(__webpack_require__(97935), exports);
37989
38320
  __exportStar(__webpack_require__(18980), exports);
@@ -38404,6 +38735,90 @@ var AlertDisplayCategory;
38404
38735
 
38405
38736
  /***/ }),
38406
38737
 
38738
+ /***/ 39625:
38739
+ /***/ ((__unused_webpack_module, exports) => {
38740
+
38741
+ "use strict";
38742
+
38743
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
38744
+ exports.ChartKind = exports.RunMethod = exports.Role = void 0;
38745
+ var Role;
38746
+ (function (Role) {
38747
+ Role["Human"] = "human";
38748
+ Role["Ai"] = "ai";
38749
+ })(Role || (exports.Role = Role = {}));
38750
+ var RunMethod;
38751
+ (function (RunMethod) {
38752
+ RunMethod["Start"] = "run.start";
38753
+ })(RunMethod || (exports.RunMethod = RunMethod = {}));
38754
+ var ChartKind;
38755
+ (function (ChartKind) {
38756
+ ChartKind["Bar"] = "bar";
38757
+ ChartKind["Line"] = "line";
38758
+ ChartKind["Pie"] = "pie";
38759
+ ChartKind["Area"] = "area";
38760
+ ChartKind["Scatter"] = "scatter";
38761
+ ChartKind["StackedBar"] = "stacked_bar";
38762
+ })(ChartKind || (exports.ChartKind = ChartKind = {}));
38763
+ //# sourceMappingURL=analyst_chat.js.map
38764
+
38765
+ /***/ }),
38766
+
38767
+ /***/ 67823:
38768
+ /***/ ((__unused_webpack_module, exports) => {
38769
+
38770
+ "use strict";
38771
+
38772
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
38773
+ exports.AnalystFindingTag = exports.AnalystFindingSeverity = void 0;
38774
+ var AnalystFindingSeverity;
38775
+ (function (AnalystFindingSeverity) {
38776
+ AnalystFindingSeverity[AnalystFindingSeverity["Critical"] = 0] = "Critical";
38777
+ AnalystFindingSeverity[AnalystFindingSeverity["High"] = 1] = "High";
38778
+ AnalystFindingSeverity[AnalystFindingSeverity["Medium"] = 2] = "Medium";
38779
+ AnalystFindingSeverity[AnalystFindingSeverity["Low"] = 3] = "Low";
38780
+ })(AnalystFindingSeverity || (exports.AnalystFindingSeverity = AnalystFindingSeverity = {}));
38781
+ var AnalystFindingTag;
38782
+ (function (AnalystFindingTag) {
38783
+ AnalystFindingTag[AnalystFindingTag["OnTimePerformance"] = 0] = "OnTimePerformance";
38784
+ AnalystFindingTag[AnalystFindingTag["DeliveryCost"] = 1] = "DeliveryCost";
38785
+ AnalystFindingTag[AnalystFindingTag["CustomerExperience"] = 2] = "CustomerExperience";
38786
+ AnalystFindingTag[AnalystFindingTag["OperationalEfficiency"] = 3] = "OperationalEfficiency";
38787
+ AnalystFindingTag[AnalystFindingTag["OrderFulfillment"] = 4] = "OrderFulfillment";
38788
+ AnalystFindingTag[AnalystFindingTag["PlanReliability"] = 5] = "PlanReliability";
38789
+ AnalystFindingTag[AnalystFindingTag["Compliance"] = 6] = "Compliance";
38790
+ })(AnalystFindingTag || (exports.AnalystFindingTag = AnalystFindingTag = {}));
38791
+ //# sourceMappingURL=analyst_finding.js.map
38792
+
38793
+ /***/ }),
38794
+
38795
+ /***/ 76797:
38796
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
38797
+
38798
+ "use strict";
38799
+
38800
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
38801
+ if (k2 === undefined) k2 = k;
38802
+ var desc = Object.getOwnPropertyDescriptor(m, k);
38803
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
38804
+ desc = { enumerable: true, get: function() { return m[k]; } };
38805
+ }
38806
+ Object.defineProperty(o, k2, desc);
38807
+ }) : (function(o, m, k, k2) {
38808
+ if (k2 === undefined) k2 = k;
38809
+ o[k2] = m[k];
38810
+ }));
38811
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
38812
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
38813
+ };
38814
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
38815
+ exports.AnalystChat = void 0;
38816
+ exports.AnalystChat = __webpack_require__(39625);
38817
+ __exportStar(__webpack_require__(67823), exports);
38818
+ //# sourceMappingURL=index.js.map
38819
+
38820
+ /***/ }),
38821
+
38407
38822
  /***/ 9439:
38408
38823
  /***/ ((__unused_webpack_module, exports) => {
38409
38824
 
@@ -39395,6 +39810,7 @@ var ApplicationUuid;
39395
39810
  (function (ApplicationUuid) {
39396
39811
  ApplicationUuid["AutoAssign"] = "7083ab3d-c7de-40fd-83bb-f2c10bd0fa88";
39397
39812
  ApplicationUuid["AAA"] = "3ecfa3f6-1a21-11e8-accf-0ed5f89f718b";
39813
+ ApplicationUuid["Analyst"] = "b7faf917-4441-4c2e-ada4-fa5550d9dde4";
39398
39814
  ApplicationUuid["CustomAttributeApplication"] = "eb377388-08b9-48e2-9752-5066b4446d50";
39399
39815
  ApplicationUuid["ActOnTriggerApp"] = "8ebe8358-62d3-11ea-bc55-0242ac130003";
39400
39816
  ApplicationUuid["AutoBreaks"] = "9310325e-d7d5-11ea-87d0-0242ac130003";
@@ -39913,6 +40329,23 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
39913
40329
 
39914
40330
  /***/ }),
39915
40331
 
40332
+ /***/ 47551:
40333
+ /***/ ((__unused_webpack_module, exports) => {
40334
+
40335
+ "use strict";
40336
+
40337
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
40338
+ exports.ContactPhoneSource = void 0;
40339
+ var ContactPhoneSource;
40340
+ (function (ContactPhoneSource) {
40341
+ ContactPhoneSource["DRIVER"] = "driver";
40342
+ ContactPhoneSource["MERCHANT"] = "merchant";
40343
+ ContactPhoneSource["MANAGED_ATTRIBUTE"] = "managed_attribute";
40344
+ })(ContactPhoneSource || (exports.ContactPhoneSource = ContactPhoneSource = {}));
40345
+ //# sourceMappingURL=contact_phone_source.js.map
40346
+
40347
+ /***/ }),
40348
+
39916
40349
  /***/ 29384:
39917
40350
  /***/ ((__unused_webpack_module, exports) => {
39918
40351
 
@@ -43931,12 +44364,14 @@ var WebhookDefinitionDisabledOrigin;
43931
44364
  "use strict";
43932
44365
 
43933
44366
  Object.defineProperty(exports, "__esModule", ({ value: true }));
43934
- exports.WebhookKey = void 0;
44367
+ exports.ANALYTICS_WEBHOOK_UNASSIGNED_CONDITION_VALUE = exports.ANALYTICS_WEBHOOK_CONDITION_KEY = exports.WebhookKey = void 0;
43935
44368
  var WebhookKey;
43936
44369
  (function (WebhookKey) {
43937
44370
  WebhookKey["AnalyticsScheduledReportReady"] = "AnalyticsScheduledReportReady";
43938
44371
  WebhookKey["RealtimeDriverLocation"] = "RealtimeDriverLocation";
43939
44372
  })(WebhookKey || (exports.WebhookKey = WebhookKey = {}));
44373
+ exports.ANALYTICS_WEBHOOK_CONDITION_KEY = 'scheduled_report.scheduled_job_id';
44374
+ exports.ANALYTICS_WEBHOOK_UNASSIGNED_CONDITION_VALUE = 'unassigned';
43940
44375
  //# sourceMappingURL=webhooks.js.map
43941
44376
 
43942
44377
  /***/ }),