@bringg/dashboard-sdk 9.37.1107-pre → 9.38.0-pre

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bringg/dashboard-sdk",
3
- "version": "9.37.1107-pre",
3
+ "version": "9.38.0-pre",
4
4
  "description": "Bringg dashboard SDK",
5
5
  "main": "dist/bringg-dashboard-sdk.js",
6
6
  "typings": "dist/index.d.ts",
@@ -63,7 +63,7 @@
63
63
  "devDependencies": {
64
64
  "@bringg/eslint-config": "^1.6.2",
65
65
  "@bringg/prettier-config": "^2.0.0",
66
- "@bringg/types": "^4.184.9",
66
+ "@bringg/types": "^4.184.5",
67
67
  "@bringg/user-analytics": "3.3.0",
68
68
  "@faker-js/faker": "^8.0.2",
69
69
  "@types/lodash": "^4.14.179",
@@ -1,19 +0,0 @@
1
- import { ConflictingPlannedRoutesResponse, PlannedRoute } from '@bringg/types';
2
- import { DataOptions } from '../../data-entity';
3
- import Session from '../../Services/Identity/Session';
4
- export declare enum PlanedRoutesGroupTypes {
5
- Team = "Team"
6
- }
7
- export default class PlanedRoutesApiV2 {
8
- private readonly plannedServiceApiStore;
9
- private readonly plannedService;
10
- private readonly storableDataService;
11
- constructor(session: Session);
12
- loadAll(options?: DataOptions): Promise<PlannedRoute[]>;
13
- loadAllByTeam(teamId: number, options?: DataOptions): Promise<PlannedRoute[]>;
14
- getBatch(idsToLoad: number[], options?: DataOptions): Promise<PlannedRoute[]>;
15
- getBatchByTeamIds(teamIdsToLoad: number[], options?: DataOptions): Promise<PlannedRoute[]>;
16
- getConflictPlannedRouteIds(runId: number): Promise<ConflictingPlannedRoutesResponse>;
17
- get(id: number): PlannedRoute;
18
- getAll(): PlannedRoute[];
19
- }
@@ -1,132 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
14
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
15
- return new (P || (P = Promise))(function (resolve, reject) {
16
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
17
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
18
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
19
- step((generator = generator.apply(thisArg, _arguments || [])).next());
20
- });
21
- };
22
- var __generator = (this && this.__generator) || function (thisArg, body) {
23
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
24
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
25
- function verb(n) { return function (v) { return step([n, v]); }; }
26
- function step(op) {
27
- if (f) throw new TypeError("Generator is already executing.");
28
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
29
- 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;
30
- if (y = 0, t) op = [op[0] & 2, t.value];
31
- switch (op[0]) {
32
- case 0: case 1: t = op; break;
33
- case 4: _.label++; return { value: op[1], done: false };
34
- case 5: _.label++; y = op[1]; op = [0]; continue;
35
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
36
- default:
37
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
38
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
39
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
40
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
41
- if (t[2]) _.ops.pop();
42
- _.trys.pop(); continue;
43
- }
44
- op = body.call(thisArg, _);
45
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
46
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
47
- }
48
- };
49
- var __importDefault = (this && this.__importDefault) || function (mod) {
50
- return (mod && mod.__esModule) ? mod : { "default": mod };
51
- };
52
- Object.defineProperty(exports, "__esModule", { value: true });
53
- exports.PlanedRoutesGroupTypes = void 0;
54
- var data_entity_1 = require("../../data-entity");
55
- var data_store_1 = __importDefault(require("../../data-store"));
56
- var storable_data_service_1 = __importDefault(require("../../storable-data-service"));
57
- var planned_routes_service_1 = require("./planned-routes-service");
58
- var PlanedRoutesGroupTypes;
59
- (function (PlanedRoutesGroupTypes) {
60
- PlanedRoutesGroupTypes["Team"] = "Team";
61
- })(PlanedRoutesGroupTypes = exports.PlanedRoutesGroupTypes || (exports.PlanedRoutesGroupTypes = {}));
62
- var PlanedRoutesApiV2 = /** @class */ (function () {
63
- function PlanedRoutesApiV2(session) {
64
- this.plannedServiceApiStore = new data_store_1.default([
65
- {
66
- groupType: PlanedRoutesGroupTypes.Team,
67
- keyFunc: function (plannedRoute) { return plannedRoute.team_id; }
68
- }
69
- ]);
70
- this.plannedService = new planned_routes_service_1.PlannedRoutesService(session);
71
- this.storableDataService = new storable_data_service_1.default(this.plannedServiceApiStore);
72
- }
73
- PlanedRoutesApiV2.prototype.loadAll = function (options) {
74
- return __awaiter(this, void 0, void 0, function () {
75
- var _this = this;
76
- return __generator(this, function (_a) {
77
- switch (_a.label) {
78
- case 0: return [4 /*yield*/, this.storableDataService.loadAll('loadAll', function () { return _this.plannedService.loadAll(); }, options)];
79
- case 1: return [2 /*return*/, _a.sent()];
80
- }
81
- });
82
- });
83
- };
84
- PlanedRoutesApiV2.prototype.loadAllByTeam = function (teamId, options) {
85
- return __awaiter(this, void 0, void 0, function () {
86
- var response;
87
- var _this = this;
88
- return __generator(this, function (_a) {
89
- switch (_a.label) {
90
- case 0: return [4 /*yield*/, this.storableDataService.loadAll('loadAllByTeam', function () { return _this.plannedService.loadAllByTeam(teamId); }, __assign(__assign({}, options), { groupType: PlanedRoutesGroupTypes.Team, groupValue: teamId }))];
91
- case 1:
92
- response = _a.sent();
93
- return [2 /*return*/, response];
94
- }
95
- });
96
- });
97
- };
98
- PlanedRoutesApiV2.prototype.getBatch = function (idsToLoad, options) {
99
- if (options === void 0) { options = data_entity_1.DEFAULT_OPTIONS; }
100
- return __awaiter(this, void 0, void 0, function () {
101
- var _this = this;
102
- return __generator(this, function (_a) {
103
- return [2 /*return*/, this.storableDataService.loadMany('getBatch', function (idsToLoad) { return _this.plannedService.getBatch(idsToLoad, options); }, idsToLoad, __assign({}, options))];
104
- });
105
- });
106
- };
107
- PlanedRoutesApiV2.prototype.getBatchByTeamIds = function (teamIdsToLoad, options) {
108
- if (options === void 0) { options = data_entity_1.DEFAULT_OPTIONS; }
109
- return __awaiter(this, void 0, void 0, function () {
110
- var _this = this;
111
- return __generator(this, function (_a) {
112
- return [2 /*return*/, this.storableDataService.loadMany('getBatch', function (teamIdsToLoad) { return _this.plannedService.getBatchByTeamIds(teamIdsToLoad, options); }, teamIdsToLoad, __assign({}, options))];
113
- });
114
- });
115
- };
116
- PlanedRoutesApiV2.prototype.getConflictPlannedRouteIds = function (runId) {
117
- return __awaiter(this, void 0, void 0, function () {
118
- return __generator(this, function (_a) {
119
- return [2 /*return*/, this.plannedService.conflictPlannedRouteIds(runId)];
120
- });
121
- });
122
- };
123
- PlanedRoutesApiV2.prototype.get = function (id) {
124
- return this.plannedServiceApiStore.get(id);
125
- };
126
- PlanedRoutesApiV2.prototype.getAll = function () {
127
- return this.plannedServiceApiStore.getAll();
128
- };
129
- return PlanedRoutesApiV2;
130
- }());
131
- exports.default = PlanedRoutesApiV2;
132
- //# sourceMappingURL=planned-routes-api.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"planned-routes-api.js","sourceRoot":"","sources":["../../../src/PlannedRoutes/v2/planned-routes-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,iDAAiE;AACjE,gEAAyC;AAEzC,sFAA8D;AAC9D,mEAAgE;AAEhE,IAAY,sBAEX;AAFD,WAAY,sBAAsB;IACjC,uCAAa,CAAA;AACd,CAAC,EAFW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAEjC;AAED;IAKC,2BAAY,OAAgB;QAC3B,IAAI,CAAC,sBAAsB,GAAG,IAAI,oBAAS,CAAe;YACzD;gBACC,SAAS,EAAE,sBAAsB,CAAC,IAAI;gBACtC,OAAO,EAAE,UAAC,YAA0B,IAAK,OAAA,YAAY,CAAC,OAAO,EAApB,CAAoB;aAC7D;SACD,CAAC,CAAC;QACH,IAAI,CAAC,cAAc,GAAG,IAAI,6CAAoB,CAAC,OAAO,CAAC,CAAC;QACxD,IAAI,CAAC,mBAAmB,GAAG,IAAI,+BAAmB,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;IACjF,CAAC;IAEY,mCAAO,GAApB,UAAqB,OAAqB;;;;;4BAClC,qBAAM,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,SAAS,EAAE,cAAM,OAAA,KAAI,CAAC,cAAc,CAAC,OAAO,EAAE,EAA7B,CAA6B,EAAE,OAAO,CAAC,EAAA;4BAAtG,sBAAO,SAA+F,EAAC;;;;KACvG;IAEY,yCAAa,GAA1B,UAA2B,MAAc,EAAE,OAAqB;;;;;;4BAC9C,qBAAM,IAAI,CAAC,mBAAmB,CAAC,OAAO,CACtD,eAAe,EACf,cAAM,OAAA,KAAI,CAAC,cAAc,CAAC,aAAa,CAAC,MAAM,CAAC,EAAzC,CAAyC,wBAC1C,OAAO,KAAE,SAAS,EAAE,sBAAsB,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,IACxE,EAAA;;wBAJK,QAAQ,GAAG,SAIhB;wBAED,sBAAO,QAAQ,EAAC;;;;KAChB;IAEY,oCAAQ,GAArB,UAAsB,SAAmB,EAAE,OAAsC;QAAtC,wBAAA,EAAA,UAAuB,6BAAe;;;;gBAChF,sBAAO,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CACvC,UAAU,EACV,UAAA,SAAS,IAAI,OAAA,KAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,EAAhD,CAAgD,EAC7D,SAAS,eACJ,OAAO,EACZ,EAAC;;;KACF;IAEY,6CAAiB,GAA9B,UACC,aAAuB,EACvB,OAAsC;QAAtC,wBAAA,EAAA,UAAuB,6BAAe;;;;gBAEtC,sBAAO,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CACvC,UAAU,EACV,UAAA,aAAa,IAAI,OAAA,KAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,aAAa,EAAE,OAAO,CAAC,EAA7D,CAA6D,EAC9E,aAAa,eACR,OAAO,EACZ,EAAC;;;KACF;IAEY,sDAA0B,GAAvC,UAAwC,KAAa;;;gBACpD,sBAAO,IAAI,CAAC,cAAc,CAAC,uBAAuB,CAAC,KAAK,CAAC,EAAC;;;KAC1D;IAEM,+BAAG,GAAV,UAAW,EAAU;QACpB,OAAO,IAAI,CAAC,sBAAsB,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAC5C,CAAC;IAEM,kCAAM,GAAb;QACC,OAAO,IAAI,CAAC,sBAAsB,CAAC,MAAM,EAAE,CAAC;IAC7C,CAAC;IACF,wBAAC;AAAD,CAAC,AA9DD,IA8DC"}
@@ -1,12 +0,0 @@
1
- import { ConflictingPlannedRoutesResponse, PlannedRoute } from '@bringg/types';
2
- import { CommonOptions } from '../../Core/RouteGenerator';
3
- import Session from '../../Services/Identity/Session';
4
- export declare class PlannedRoutesService {
5
- private readonly service;
6
- constructor(session: Session);
7
- loadAll(): Promise<PlannedRoute[]>;
8
- loadAllByTeam(teamId: number, commonOptions?: CommonOptions): Promise<PlannedRoute[]>;
9
- getBatch(ids: number[], commonOptions?: CommonOptions): Promise<PlannedRoute[]>;
10
- getBatchByTeamIds(team_ids: number[], commonOptions?: CommonOptions): Promise<PlannedRoute[]>;
11
- conflictPlannedRouteIds(run_id: number): Promise<ConflictingPlannedRoutesResponse>;
12
- }
@@ -1,137 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __generator = (this && this.__generator) || function (thisArg, body) {
12
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
13
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
- function verb(n) { return function (v) { return step([n, v]); }; }
15
- function step(op) {
16
- if (f) throw new TypeError("Generator is already executing.");
17
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
- 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;
19
- if (y = 0, t) op = [op[0] & 2, t.value];
20
- switch (op[0]) {
21
- case 0: case 1: t = op; break;
22
- case 4: _.label++; return { value: op[1], done: false };
23
- case 5: _.label++; y = op[1]; op = [0]; continue;
24
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
25
- default:
26
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30
- if (t[2]) _.ops.pop();
31
- _.trys.pop(); continue;
32
- }
33
- op = body.call(thisArg, _);
34
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
36
- }
37
- };
38
- var __importDefault = (this && this.__importDefault) || function (mod) {
39
- return (mod && mod.__esModule) ? mod : { "default": mod };
40
- };
41
- Object.defineProperty(exports, "__esModule", { value: true });
42
- exports.PlannedRoutesService = void 0;
43
- var CrudService_1 = __importDefault(require("../../Core/CrudService"));
44
- var entityName = 'planned_routes';
45
- var Routes = {
46
- GET_PLANNED_ROUTES_BY_TEAM: '/teams/{:teamId}/planned_routes',
47
- GET_BATCH_BY_TEAM_IDS: "/".concat(entityName, "/batch_get"),
48
- GET_BATCH: "/".concat(entityName, "/batch_get_by_ids"),
49
- POST_CONFLICT_PLANNED_ROUTES: '/data-query-service/conflicting-planned-routes'
50
- };
51
- var PlannedRoutesService = /** @class */ (function () {
52
- function PlannedRoutesService(session) {
53
- this.service = new CrudService_1.default(session, entityName);
54
- }
55
- PlannedRoutesService.prototype.loadAll = function () {
56
- return __awaiter(this, void 0, void 0, function () {
57
- var result;
58
- return __generator(this, function (_a) {
59
- switch (_a.label) {
60
- case 0: return [4 /*yield*/, this.service.getAll()];
61
- case 1:
62
- result = _a.sent();
63
- return [2 /*return*/, result.planned_routes];
64
- }
65
- });
66
- });
67
- };
68
- PlannedRoutesService.prototype.loadAllByTeam = function (teamId, commonOptions) {
69
- return __awaiter(this, void 0, void 0, function () {
70
- var result;
71
- return __generator(this, function (_a) {
72
- switch (_a.label) {
73
- case 0: return [4 /*yield*/, this.service.routeGenerator
74
- .get(Routes.GET_PLANNED_ROUTES_BY_TEAM)
75
- .withCommonOptions(commonOptions)
76
- .setException("Could not fetch planned routes of the team #".concat(teamId))
77
- .withRouteParams({ teamId: teamId })
78
- .invoke()];
79
- case 1:
80
- result = _a.sent();
81
- return [2 /*return*/, result.planned_routes];
82
- }
83
- });
84
- });
85
- };
86
- PlannedRoutesService.prototype.getBatch = function (ids, commonOptions) {
87
- return __awaiter(this, void 0, void 0, function () {
88
- var result;
89
- return __generator(this, function (_a) {
90
- switch (_a.label) {
91
- case 0: return [4 /*yield*/, this.service.routeGenerator
92
- .get(Routes.GET_BATCH)
93
- .withCommonOptions(commonOptions)
94
- .setException("Could not fetch planned routes with ids ".concat(ids.toString()))
95
- .withQueryString({ ids: ids })
96
- .invoke()];
97
- case 1:
98
- result = _a.sent();
99
- return [2 /*return*/, result.planned_routes];
100
- }
101
- });
102
- });
103
- };
104
- PlannedRoutesService.prototype.getBatchByTeamIds = function (team_ids, commonOptions) {
105
- if (commonOptions === void 0) { commonOptions = {}; }
106
- return __awaiter(this, void 0, void 0, function () {
107
- var result;
108
- return __generator(this, function (_a) {
109
- switch (_a.label) {
110
- case 0: return [4 /*yield*/, this.service.routeGenerator
111
- .get(Routes.GET_BATCH_BY_TEAM_IDS)
112
- .withCommonOptions(commonOptions)
113
- .setException("Could not fetch planned routes for the teams ".concat(team_ids.toString()))
114
- .withQueryString({ team_ids: team_ids })
115
- .invoke()];
116
- case 1:
117
- result = _a.sent();
118
- return [2 /*return*/, result.planned_routes];
119
- }
120
- });
121
- });
122
- };
123
- PlannedRoutesService.prototype.conflictPlannedRouteIds = function (run_id) {
124
- return __awaiter(this, void 0, void 0, function () {
125
- return __generator(this, function (_a) {
126
- return [2 /*return*/, this.service.routeGenerator
127
- .post(Routes.POST_CONFLICT_PLANNED_ROUTES)
128
- .withPayload({ run_id: run_id })
129
- .setException("Could not fetch planned routes for run ".concat(run_id))
130
- .invoke()];
131
- });
132
- });
133
- };
134
- return PlannedRoutesService;
135
- }());
136
- exports.PlannedRoutesService = PlannedRoutesService;
137
- //# sourceMappingURL=planned-routes-service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"planned-routes-service.js","sourceRoot":"","sources":["../../../src/PlannedRoutes/v2/planned-routes-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,uEAAiD;AAKjD,IAAM,UAAU,GAAG,gBAAgB,CAAC;AAEpC,IAAM,MAAM,GAAG;IACd,0BAA0B,EAAE,iCAAiC;IAC7D,qBAAqB,EAAE,WAAI,UAAU,eAAY;IACjD,SAAS,EAAE,WAAI,UAAU,sBAAmB;IAC5C,4BAA4B,EAAE,gDAAgD;CAC9E,CAAC;AAEF;IAGC,8BAAY,OAAgB;QAC3B,IAAI,CAAC,OAAO,GAAG,IAAI,qBAAW,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;IACrD,CAAC;IAEK,sCAAO,GAAb;;;;;4BACuC,qBAAM,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,EAAA;;wBAA3D,MAAM,GAA0B,SAA2B;wBAEjE,sBAAO,MAAM,CAAC,cAAc,EAAC;;;;KAC7B;IAEK,4CAAa,GAAnB,UAAoB,MAAc,EAAE,aAA6B;;;;;4BAC1B,qBAAM,IAAI,CAAC,OAAO,CAAC,cAAc;6BACrE,GAAG,CAAC,MAAM,CAAC,0BAA0B,CAAC;6BACtC,iBAAiB,CAAC,aAAa,CAAC;6BAChC,YAAY,CAAC,sDAA+C,MAAM,CAAE,CAAC;6BACrE,eAAe,CAAC,EAAE,MAAM,QAAA,EAAE,CAAC;6BAC3B,MAAM,EAAE,EAAA;;wBALJ,MAAM,GAA0B,SAK5B;wBAEV,sBAAO,MAAM,CAAC,cAAc,EAAC;;;;KAC7B;IAEK,uCAAQ,GAAd,UAAe,GAAa,EAAE,aAA6B;;;;;4BACpB,qBAAM,IAAI,CAAC,OAAO,CAAC,cAAc;6BACrE,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC;6BACrB,iBAAiB,CAAC,aAAa,CAAC;6BAChC,YAAY,CAAC,kDAA2C,GAAG,CAAC,QAAQ,EAAE,CAAE,CAAC;6BACzE,eAAe,CAAC,EAAE,GAAG,KAAA,EAAE,CAAC;6BACxB,MAAM,EAAE,EAAA;;wBALJ,MAAM,GAA0B,SAK5B;wBAEV,sBAAO,MAAM,CAAC,cAAc,EAAC;;;;KAC7B;IAEK,gDAAiB,GAAvB,UAAwB,QAAkB,EAAE,aAAiC;QAAjC,8BAAA,EAAA,kBAAiC;;;;;4BACtC,qBAAM,IAAI,CAAC,OAAO,CAAC,cAAc;6BACrE,GAAG,CAAC,MAAM,CAAC,qBAAqB,CAAC;6BACjC,iBAAiB,CAAC,aAAa,CAAC;6BAChC,YAAY,CAAC,uDAAgD,QAAQ,CAAC,QAAQ,EAAE,CAAE,CAAC;6BACnF,eAAe,CAAC,EAAE,QAAQ,UAAA,EAAE,CAAC;6BAC7B,MAAM,EAAE,EAAA;;wBALJ,MAAM,GAA0B,SAK5B;wBAEV,sBAAO,MAAM,CAAC,cAAc,EAAC;;;;KAC7B;IAEK,sDAAuB,GAA7B,UAA8B,MAAc;;;gBAC3C,sBAAO,IAAI,CAAC,OAAO,CAAC,cAAc;yBAChC,IAAI,CAAC,MAAM,CAAC,4BAA4B,CAAC;yBACzC,WAAW,CAAC,EAAE,MAAM,QAAA,EAAE,CAAC;yBACvB,YAAY,CAAC,iDAA0C,MAAM,CAAE,CAAC;yBAChE,MAAM,EAAE,EAAC;;;KACX;IACF,2BAAC;AAAD,CAAC,AArDD,IAqDC;AArDY,oDAAoB"}
@@ -1,5 +0,0 @@
1
- import { PlannedRoute } from '@bringg/types';
2
- import { BasicResponse } from '../../Core/Responses';
3
- export type PlannedRoutesResponse = BasicResponse & {
4
- planned_routes: PlannedRoute[];
5
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=planned-routes.consts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"planned-routes.consts.js","sourceRoot":"","sources":["../../../src/PlannedRoutes/v2/planned-routes.consts.ts"],"names":[],"mappings":""}