@bringg/dashboard-sdk 8.9.0 → 8.9.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/Services/ServiceRequest.js +1 -1
- package/dist/SupportTicket/Entity/SupportTicket.d.ts +2 -1
- package/dist/SupportTicket/Entity/SupportTicket.js +0 -2
- package/dist/SupportTicket/Entity/SupportTicket.js.map +1 -1
- package/dist/SupportTicket/SupportTicketApi.d.ts +2 -1
- package/dist/SupportTicket/SupportTicketApi.js +0 -1
- package/dist/SupportTicket/SupportTicketApi.js.map +1 -1
- package/dist/bringg-dashboard-sdk-cjs2.js +50 -4
- package/dist/bringg-dashboard-sdk-cjs2.js.map +1 -1
- package/dist/bringg-dashboard-sdk.js +39 -6
- package/dist/bringg-dashboard-sdk.min.js +1 -1
- package/dist/bringg-dashboard-sdk.min.js.map +1 -1
- package/package.json +2 -2
|
@@ -53,7 +53,7 @@ var lodash_1 = require("lodash");
|
|
|
53
53
|
var BringgException_1 = require("../Core/BringgException");
|
|
54
54
|
var Logger_1 = require("../Core/Logger");
|
|
55
55
|
var abort_1 = require("../utils/abort");
|
|
56
|
-
var version = '8.9.
|
|
56
|
+
var version = '8.9.1';
|
|
57
57
|
function logErrorResponse(response) {
|
|
58
58
|
var data = response.data, status = response.status;
|
|
59
59
|
try {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { SupportTicket, SupportTicketResponse } from '@bringg/types';
|
|
1
2
|
import Session from '../../Services/Identity/Session';
|
|
2
3
|
export declare class SupportTicketEntity {
|
|
3
4
|
private readonly service;
|
|
4
5
|
constructor(session: Session);
|
|
5
|
-
createSupportTicket(payload:
|
|
6
|
+
createSupportTicket(payload: SupportTicket): Promise<SupportTicketResponse>;
|
|
6
7
|
}
|
|
@@ -40,12 +40,10 @@ exports.SupportTicketEntity = void 0;
|
|
|
40
40
|
var BaseService_1 = require("../../Core/BaseService");
|
|
41
41
|
var RouteGenerator_1 = require("../../Core/RouteGenerator");
|
|
42
42
|
var SupportTicket_consts_1 = require("../SupportTicket.consts");
|
|
43
|
-
// TODO: add types when backend will be finalized
|
|
44
43
|
var SupportTicketEntity = /** @class */ (function () {
|
|
45
44
|
function SupportTicketEntity(session) {
|
|
46
45
|
this.service = new BaseService_1.default(session, 'support_ticket');
|
|
47
46
|
}
|
|
48
|
-
// TODO: add types when backend will be finalized
|
|
49
47
|
SupportTicketEntity.prototype.createSupportTicket = function (payload) {
|
|
50
48
|
return __awaiter(this, void 0, void 0, function () {
|
|
51
49
|
return __generator(this, function (_a) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SupportTicket.js","sourceRoot":"","sources":["../../../src/SupportTicket/Entity/SupportTicket.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"SupportTicket.js","sourceRoot":"","sources":["../../../src/SupportTicket/Entity/SupportTicket.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAiD;AAEjD,4DAA6D;AAE7D,gEAAiD;AAEjD;IAGC,6BAAY,OAAgB;QAC3B,IAAI,CAAC,OAAO,GAAG,IAAI,qBAAW,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAC;IAC3D,CAAC;IAEK,iDAAmB,GAAzB,UAA0B,OAAsB;;;;4BACxC,qBAAM,IAAI,CAAC,OAAO,CAAC,cAAc;6BACtC,IAAI,CAAC,6BAAM,CAAC,aAAa,CAAC;6BAC1B,WAAW,CAAC,OAAO,CAAC;6BACpB,aAAa,CAAC,iCAAgB,CAAC;6BAC/B,YAAY,CAAC,iCAAiC,CAAC;6BAC/C,MAAM,EAAE,EAAA;4BALV,sBAAO,SAKG,EAAC;;;;KACX;IACF,0BAAC;AAAD,CAAC,AAfD,IAeC;AAfY,kDAAmB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { SupportTicket, SupportTicketResponse } from '@bringg/types';
|
|
1
2
|
import type Session from '../Services/Identity/Session';
|
|
2
3
|
export default class SupportTicketApi {
|
|
3
4
|
private readonly supportTicketEntity;
|
|
4
5
|
constructor(session: Session);
|
|
5
|
-
createSupportTicket(payload:
|
|
6
|
+
createSupportTicket(payload: SupportTicket): Promise<SupportTicketResponse>;
|
|
6
7
|
}
|
|
@@ -41,7 +41,6 @@ var SupportTicketApi = /** @class */ (function () {
|
|
|
41
41
|
function SupportTicketApi(session) {
|
|
42
42
|
this.supportTicketEntity = new SupportTicket_1.SupportTicketEntity(session);
|
|
43
43
|
}
|
|
44
|
-
// TODO: add types when backend will be finalized
|
|
45
44
|
SupportTicketApi.prototype.createSupportTicket = function (payload) {
|
|
46
45
|
return __awaiter(this, void 0, void 0, function () {
|
|
47
46
|
return __generator(this, function (_a) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SupportTicketApi.js","sourceRoot":"","sources":["../../src/SupportTicket/SupportTicketApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"SupportTicketApi.js","sourceRoot":"","sources":["../../src/SupportTicket/SupportTicketApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wDAA6D;AAE7D;IAGC,0BAAY,OAAgB;QAC3B,IAAI,CAAC,mBAAmB,GAAG,IAAI,mCAAmB,CAAC,OAAO,CAAC,CAAC;IAC7D,CAAC;IACK,8CAAmB,GAAzB,UAA0B,OAAsB;;;gBAC/C,sBAAO,IAAI,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,OAAO,CAAC,EAAC;;;KAC7D;IACF,uBAAC;AAAD,CAAC,AATD,IASC"}
|
|
@@ -20065,7 +20065,7 @@ var lodash_1 = __webpack_require__(96486);
|
|
|
20065
20065
|
var BringgException_1 = __webpack_require__(43605);
|
|
20066
20066
|
var Logger_1 = __webpack_require__(55860);
|
|
20067
20067
|
var abort_1 = __webpack_require__(34179);
|
|
20068
|
-
var version = '8.9.
|
|
20068
|
+
var version = '8.9.1';
|
|
20069
20069
|
function logErrorResponse(response) {
|
|
20070
20070
|
var data = response.data, status = response.status;
|
|
20071
20071
|
try {
|
|
@@ -20922,12 +20922,10 @@ exports.SupportTicketEntity = void 0;
|
|
|
20922
20922
|
var BaseService_1 = __webpack_require__(41992);
|
|
20923
20923
|
var RouteGenerator_1 = __webpack_require__(84075);
|
|
20924
20924
|
var SupportTicket_consts_1 = __webpack_require__(60637);
|
|
20925
|
-
// TODO: add types when backend will be finalized
|
|
20926
20925
|
var SupportTicketEntity = /** @class */ (function () {
|
|
20927
20926
|
function SupportTicketEntity(session) {
|
|
20928
20927
|
this.service = new BaseService_1.default(session, 'support_ticket');
|
|
20929
20928
|
}
|
|
20930
|
-
// TODO: add types when backend will be finalized
|
|
20931
20929
|
SupportTicketEntity.prototype.createSupportTicket = function (payload) {
|
|
20932
20930
|
return __awaiter(this, void 0, void 0, function () {
|
|
20933
20931
|
return __generator(this, function (_a) {
|
|
@@ -21011,7 +21009,6 @@ var SupportTicketApi = /** @class */ (function () {
|
|
|
21011
21009
|
function SupportTicketApi(session) {
|
|
21012
21010
|
this.supportTicketEntity = new SupportTicket_1.SupportTicketEntity(session);
|
|
21013
21011
|
}
|
|
21014
|
-
// TODO: add types when backend will be finalized
|
|
21015
21012
|
SupportTicketApi.prototype.createSupportTicket = function (payload) {
|
|
21016
21013
|
return __awaiter(this, void 0, void 0, function () {
|
|
21017
21014
|
return __generator(this, function (_a) {
|
|
@@ -30767,6 +30764,7 @@ __exportStar(__webpack_require__(12073), exports);
|
|
|
30767
30764
|
__exportStar(__webpack_require__(17050), exports);
|
|
30768
30765
|
__exportStar(__webpack_require__(656), exports);
|
|
30769
30766
|
__exportStar(__webpack_require__(68270), exports);
|
|
30767
|
+
__exportStar(__webpack_require__(59969), exports);
|
|
30770
30768
|
__exportStar(__webpack_require__(32578), exports);
|
|
30771
30769
|
__exportStar(__webpack_require__(78395), exports);
|
|
30772
30770
|
__exportStar(__webpack_require__(77967), exports);
|
|
@@ -30793,6 +30791,7 @@ __exportStar(__webpack_require__(55166), exports);
|
|
|
30793
30791
|
__exportStar(__webpack_require__(56628), exports);
|
|
30794
30792
|
__exportStar(__webpack_require__(69424), exports);
|
|
30795
30793
|
__exportStar(__webpack_require__(70879), exports);
|
|
30794
|
+
__exportStar(__webpack_require__(24079), exports);
|
|
30796
30795
|
__exportStar(__webpack_require__(55009), exports);
|
|
30797
30796
|
__exportStar(__webpack_require__(53569), exports);
|
|
30798
30797
|
__exportStar(__webpack_require__(78623), exports);
|
|
@@ -30833,6 +30832,7 @@ __exportStar(__webpack_require__(29323), exports);
|
|
|
30833
30832
|
__exportStar(__webpack_require__(98795), exports);
|
|
30834
30833
|
__exportStar(__webpack_require__(84217), exports);
|
|
30835
30834
|
__exportStar(__webpack_require__(92342), exports);
|
|
30835
|
+
__exportStar(__webpack_require__(44329), exports);
|
|
30836
30836
|
__exportStar(__webpack_require__(30828), exports);
|
|
30837
30837
|
__exportStar(__webpack_require__(13789), exports);
|
|
30838
30838
|
__exportStar(__webpack_require__(9508), exports);
|
|
@@ -32361,6 +32361,21 @@ var EmulatedDeliveryEvents;
|
|
|
32361
32361
|
|
|
32362
32362
|
/***/ }),
|
|
32363
32363
|
|
|
32364
|
+
/***/ 59969:
|
|
32365
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
32366
|
+
|
|
32367
|
+
"use strict";
|
|
32368
|
+
|
|
32369
|
+
exports.__esModule = true;
|
|
32370
|
+
exports.ErrorCode = void 0;
|
|
32371
|
+
var ErrorCode;
|
|
32372
|
+
(function (ErrorCode) {
|
|
32373
|
+
ErrorCode["TierCanUpgradeToIsFalse"] = "TIER_CAN_UPGRADE_TO_IS_FALSE";
|
|
32374
|
+
})(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {}));
|
|
32375
|
+
//# sourceMappingURL=error_code.js.map
|
|
32376
|
+
|
|
32377
|
+
/***/ }),
|
|
32378
|
+
|
|
32364
32379
|
/***/ 32578:
|
|
32365
32380
|
/***/ ((__unused_webpack_module, exports) => {
|
|
32366
32381
|
|
|
@@ -32425,6 +32440,7 @@ var EventType;
|
|
|
32425
32440
|
EventType["UsersReadyToExecute"] = "users:ready_to_execute";
|
|
32426
32441
|
EventType["UserReadyToExecute"] = "user:ready_to_execute";
|
|
32427
32442
|
EventType["RequestOptimizeRoute"] = "request_optimize_route";
|
|
32443
|
+
EventType["RequestRecalculateEta"] = "request_recalculate_eta";
|
|
32428
32444
|
EventType["RequestOptimizeDriverRoute"] = "request_optimize_driver_route";
|
|
32429
32445
|
EventType["RequestRescheduleCancelledTask"] = "request_reschedule_cancelled_task";
|
|
32430
32446
|
EventType["SharedLocationCreated"] = "shared_location:created";
|
|
@@ -32920,6 +32936,7 @@ var EnvironmentTypes;
|
|
|
32920
32936
|
EnvironmentTypes[EnvironmentTypes["Test"] = 1] = "Test";
|
|
32921
32937
|
EnvironmentTypes[EnvironmentTypes["Internal"] = 2] = "Internal";
|
|
32922
32938
|
EnvironmentTypes[EnvironmentTypes["Carrier"] = 3] = "Carrier";
|
|
32939
|
+
EnvironmentTypes[EnvironmentTypes["Template"] = 4] = "Template";
|
|
32923
32940
|
})(EnvironmentTypes = exports.EnvironmentTypes || (exports.EnvironmentTypes = {}));
|
|
32924
32941
|
//# sourceMappingURL=merchant.js.map
|
|
32925
32942
|
|
|
@@ -33131,6 +33148,25 @@ exports.__esModule = true;
|
|
|
33131
33148
|
|
|
33132
33149
|
/***/ }),
|
|
33133
33150
|
|
|
33151
|
+
/***/ 24079:
|
|
33152
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
33153
|
+
|
|
33154
|
+
"use strict";
|
|
33155
|
+
|
|
33156
|
+
exports.__esModule = true;
|
|
33157
|
+
exports.OptimizationEntityType = void 0;
|
|
33158
|
+
var OptimizationEntityType;
|
|
33159
|
+
(function (OptimizationEntityType) {
|
|
33160
|
+
OptimizationEntityType["Task"] = "task";
|
|
33161
|
+
OptimizationEntityType["ActualBreak"] = "actual_break";
|
|
33162
|
+
OptimizationEntityType["RouteInfo"] = "route_info";
|
|
33163
|
+
OptimizationEntityType["Directions"] = "directions";
|
|
33164
|
+
OptimizationEntityType["UnassignedTask"] = "unassigned_task";
|
|
33165
|
+
})(OptimizationEntityType = exports.OptimizationEntityType || (exports.OptimizationEntityType = {}));
|
|
33166
|
+
//# sourceMappingURL=optimization_result.js.map
|
|
33167
|
+
|
|
33168
|
+
/***/ }),
|
|
33169
|
+
|
|
33134
33170
|
/***/ 55009:
|
|
33135
33171
|
/***/ ((__unused_webpack_module, exports) => {
|
|
33136
33172
|
|
|
@@ -33995,6 +34031,16 @@ exports.__esModule = true;
|
|
|
33995
34031
|
|
|
33996
34032
|
/***/ }),
|
|
33997
34033
|
|
|
34034
|
+
/***/ 44329:
|
|
34035
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
34036
|
+
|
|
34037
|
+
"use strict";
|
|
34038
|
+
|
|
34039
|
+
exports.__esModule = true;
|
|
34040
|
+
//# sourceMappingURL=support-ticket.js.map
|
|
34041
|
+
|
|
34042
|
+
/***/ }),
|
|
34043
|
+
|
|
33998
34044
|
/***/ 30828:
|
|
33999
34045
|
/***/ ((__unused_webpack_module, exports) => {
|
|
34000
34046
|
|