@bringg/dashboard-sdk 9.31.0 → 9.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Services/ServiceRequest.js +1 -1
- package/dist/WebhookAuthenticationConfiguration/Service/WebhookAuthenticationConfiguration.service.d.ts +5 -5
- package/dist/WebhookAuthenticationConfiguration/Service/WebhookAuthenticationConfiguration.service.js.map +1 -1
- package/dist/WebhookAuthenticationConfiguration/WebhookAuthenticationConfiguration.d.ts +4 -4
- package/dist/WebhookAuthenticationConfiguration/WebhookAuthenticationConfiguration.js.map +1 -1
- package/dist/bringg-dashboard-sdk-cjs2.js +66 -39
- package/dist/bringg-dashboard-sdk-cjs2.js.map +1 -1
- package/dist/bringg-dashboard-sdk.js +27 -16
- package/dist/bringg-dashboard-sdk.min.js +1 -1
- package/dist/bringg-dashboard-sdk.min.js.map +1 -1
- package/package.json +2 -2
|
@@ -56,7 +56,7 @@ var lodash_1 = require("lodash");
|
|
|
56
56
|
var BringgException_1 = require("../Core/BringgException");
|
|
57
57
|
var Logger_1 = __importDefault(require("../Core/Logger"));
|
|
58
58
|
var abort_1 = require("../utils/abort");
|
|
59
|
-
var version = '9.
|
|
59
|
+
var version = '9.33.0';
|
|
60
60
|
function logErrorResponse(response) {
|
|
61
61
|
var data = response.data, status = response.status;
|
|
62
62
|
try {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { WebhookAuthenticationConfiguration } from '@bringg/types';
|
|
1
|
+
import { WebhookAuthenticationConfiguration, WebhookAuthenticationConfigurationDto, WebhookAuthenticationConfigurationListItemDto } from '@bringg/types';
|
|
2
2
|
import BaseService from '../../Core/BaseService';
|
|
3
3
|
import Session from '../../Services/Identity/Session';
|
|
4
4
|
export default class WebhookAuthenticationConfigurationService extends BaseService<WebhookAuthenticationConfigurationService> {
|
|
5
5
|
constructor(session: Session);
|
|
6
|
-
create(configuration: WebhookAuthenticationConfiguration): Promise<
|
|
7
|
-
list(): Promise<
|
|
8
|
-
getById(id: number): Promise<
|
|
9
|
-
update(id: number, configuration: Partial<WebhookAuthenticationConfiguration>): Promise<
|
|
6
|
+
create(configuration: WebhookAuthenticationConfiguration): Promise<WebhookAuthenticationConfigurationDto>;
|
|
7
|
+
list(): Promise<WebhookAuthenticationConfigurationListItemDto[]>;
|
|
8
|
+
getById(id: number): Promise<WebhookAuthenticationConfigurationDto>;
|
|
9
|
+
update(id: number, configuration: Partial<WebhookAuthenticationConfiguration>): Promise<WebhookAuthenticationConfigurationDto>;
|
|
10
10
|
delete(id: number): Promise<void>;
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebhookAuthenticationConfiguration.service.js","sourceRoot":"","sources":["../../../src/WebhookAuthenticationConfiguration/Service/WebhookAuthenticationConfiguration.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"WebhookAuthenticationConfiguration.service.js","sourceRoot":"","sources":["../../../src/WebhookAuthenticationConfiguration/Service/WebhookAuthenticationConfiguration.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,uEAAiD;AAGjD,IAAM,YAAY,GAAG,kBAAkB,CAAC;AAExC;IAAuE,6DAAsD;IAC5H,mDAAY,OAAgB;eAC3B,kBAAM,OAAO,EAAE,oCAAoC,CAAC;IACrD,CAAC;IAED,0DAAM,GAAN,UAAO,aAAiD;QACvD,OAAO,IAAI,CAAC,cAAc;aACxB,IAAI,CAAC,WAAI,YAAY,2CAAwC,CAAC;aAC9D,WAAW,CAAC,aAAa,CAAC;aAC1B,MAAM,EAAE,CAAC;IACZ,CAAC;IAED,wDAAI,GAAJ;QACC,OAAO,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,WAAI,YAAY,2CAAwC,CAAC,CAAC,MAAM,EAAE,CAAC;IACnG,CAAC;IAED,2DAAO,GAAP,UAAQ,EAAU;QACjB,OAAO,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,WAAI,YAAY,oDAA0C,EAAE,CAAE,CAAC,CAAC,MAAM,EAAE,CAAC;IACzG,CAAC;IAED,0DAAM,GAAN,UACC,EAAU,EACV,aAA0D;QAE1D,OAAO,IAAI,CAAC,cAAc;aACxB,KAAK,CAAC,WAAI,YAAY,oDAA0C,EAAE,CAAE,CAAC;aACrE,WAAW,CAAC,aAAa,CAAC;aAC1B,MAAM,EAAE,CAAC;IACZ,CAAC;IAEK,0DAAM,GAAZ,UAAa,EAAU;;;;4BACtB,qBAAM,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,WAAI,YAAY,oDAA0C,EAAE,CAAE,CAAC,CAAC,MAAM,EAAE,EAAA;;wBAAzG,SAAyG,CAAC;;;;;KAC1G;IACF,gDAAC;AAAD,CAAC,AAjCD,CAAuE,qBAAW,GAiCjF"}
|
|
@@ -3,9 +3,9 @@ import Session from '../Services/Identity/Session';
|
|
|
3
3
|
export default class WebhookAuthenticationConfiguration {
|
|
4
4
|
private webhookAuthenticationConfigurationService;
|
|
5
5
|
constructor(session: Session);
|
|
6
|
-
create(configuration: Bringg.WebhookAuthenticationConfiguration): Promise<Bringg.
|
|
7
|
-
list(): Promise<Bringg.
|
|
8
|
-
getById(id: number): Promise<Bringg.
|
|
9
|
-
update(id: number, configuration: Partial<Bringg.WebhookAuthenticationConfiguration>): Promise<Bringg.
|
|
6
|
+
create(configuration: Bringg.WebhookAuthenticationConfiguration): Promise<Bringg.WebhookAuthenticationConfigurationDto>;
|
|
7
|
+
list(): Promise<Bringg.WebhookAuthenticationConfigurationListItemDto[]>;
|
|
8
|
+
getById(id: number): Promise<Bringg.WebhookAuthenticationConfigurationDto>;
|
|
9
|
+
update(id: number, configuration: Partial<Bringg.WebhookAuthenticationConfiguration>): Promise<Bringg.WebhookAuthenticationConfigurationDto>;
|
|
10
10
|
delete(id: number): Promise<void>;
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebhookAuthenticationConfiguration.js","sourceRoot":"","sources":["../../src/WebhookAuthenticationConfiguration/WebhookAuthenticationConfiguration.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"WebhookAuthenticationConfiguration.js","sourceRoot":"","sources":["../../src/WebhookAuthenticationConfiguration/WebhookAuthenticationConfiguration.ts"],"names":[],"mappings":";;;;;AAIA,oIAA6G;AAE7G;IAGC,4CAAY,OAAgB;QAC3B,IAAI,CAAC,yCAAyC,GAAG,IAAI,oDAAyC,CAAC,OAAO,CAAC,CAAC;IACzG,CAAC;IAED,mDAAM,GAAN,UACC,aAAwD;QAExD,OAAO,IAAI,CAAC,yCAAyC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IAC7E,CAAC;IAED,iDAAI,GAAJ;QACC,OAAO,IAAI,CAAC,yCAAyC,CAAC,IAAI,EAAE,CAAC;IAC9D,CAAC;IAED,oDAAO,GAAP,UAAQ,EAAU;QACjB,OAAO,IAAI,CAAC,yCAAyC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,mDAAM,GAAN,UACC,EAAU,EACV,aAAiE;QAEjE,OAAO,IAAI,CAAC,yCAAyC,CAAC,MAAM,CAAC,EAAE,EAAE,aAAa,CAAC,CAAC;IACjF,CAAC;IAED,mDAAM,GAAN,UAAO,EAAU;QAChB,OAAO,IAAI,CAAC,yCAAyC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACF,yCAAC;AAAD,CAAC,AA/BD,IA+BC"}
|
|
@@ -22409,7 +22409,7 @@ var lodash_1 = __webpack_require__(96486);
|
|
|
22409
22409
|
var BringgException_1 = __webpack_require__(43605);
|
|
22410
22410
|
var Logger_1 = __importDefault(__webpack_require__(55860));
|
|
22411
22411
|
var abort_1 = __webpack_require__(34179);
|
|
22412
|
-
var version = '9.
|
|
22412
|
+
var version = '9.33.0';
|
|
22413
22413
|
function logErrorResponse(response) {
|
|
22414
22414
|
var data = response.data, status = response.status;
|
|
22415
22415
|
try {
|
|
@@ -35369,7 +35369,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
35369
35369
|
exports.AnalyticsServiceRpcAction = void 0;
|
|
35370
35370
|
var AnalyticsServiceRpcAction;
|
|
35371
35371
|
(function (AnalyticsServiceRpcAction) {
|
|
35372
|
-
AnalyticsServiceRpcAction["
|
|
35372
|
+
AnalyticsServiceRpcAction["CheckIsWebhookAuthConfigUsedInReportScheduledJobs"] = "analytics-service:report-scheduled-jobs:check-is-webhook-auth-config-used";
|
|
35373
|
+
AnalyticsServiceRpcAction["GetScheduledJobsCountByWebhookAuthConfigIds"] = "analytics-service:scheduled-jobs:get-count-by-webhook-auth-config-ids";
|
|
35373
35374
|
})(AnalyticsServiceRpcAction || (exports.AnalyticsServiceRpcAction = AnalyticsServiceRpcAction = {}));
|
|
35374
35375
|
//# sourceMappingURL=rpc.js.map
|
|
35375
35376
|
|
|
@@ -35732,9 +35733,10 @@ __exportStar(__webpack_require__(91684), exports);
|
|
|
35732
35733
|
__exportStar(__webpack_require__(28327), exports);
|
|
35733
35734
|
__exportStar(__webpack_require__(42586), exports);
|
|
35734
35735
|
__exportStar(__webpack_require__(25720), exports);
|
|
35736
|
+
__exportStar(__webpack_require__(87024), exports);
|
|
35737
|
+
__exportStar(__webpack_require__(12772), exports);
|
|
35735
35738
|
__exportStar(__webpack_require__(89792), exports);
|
|
35736
35739
|
__exportStar(__webpack_require__(29414), exports);
|
|
35737
|
-
__exportStar(__webpack_require__(5961), exports);
|
|
35738
35740
|
__exportStar(__webpack_require__(72615), exports);
|
|
35739
35741
|
//# sourceMappingURL=index.js.map
|
|
35740
35742
|
|
|
@@ -35801,40 +35803,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
35801
35803
|
|
|
35802
35804
|
/***/ }),
|
|
35803
35805
|
|
|
35804
|
-
/***/
|
|
35805
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
35806
|
-
|
|
35807
|
-
"use strict";
|
|
35808
|
-
|
|
35809
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35810
|
-
//# sourceMappingURL=report_share.js.map
|
|
35811
|
-
|
|
35812
|
-
/***/ }),
|
|
35813
|
-
|
|
35814
|
-
/***/ 29414:
|
|
35815
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
35816
|
-
|
|
35817
|
-
"use strict";
|
|
35818
|
-
|
|
35819
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35820
|
-
exports.DeliveryHubReportCoreObjects = exports.OwnFleetReportCoreObjects = void 0;
|
|
35821
|
-
var OwnFleetReportCoreObjects;
|
|
35822
|
-
(function (OwnFleetReportCoreObjects) {
|
|
35823
|
-
OwnFleetReportCoreObjects["None"] = "None";
|
|
35824
|
-
OwnFleetReportCoreObjects["Tasks"] = "Tasks";
|
|
35825
|
-
OwnFleetReportCoreObjects["Users"] = "Users";
|
|
35826
|
-
OwnFleetReportCoreObjects["Vehicles"] = "Vehicles";
|
|
35827
|
-
OwnFleetReportCoreObjects["Carriers"] = "Carriers";
|
|
35828
|
-
})(OwnFleetReportCoreObjects || (exports.OwnFleetReportCoreObjects = OwnFleetReportCoreObjects = {}));
|
|
35829
|
-
var DeliveryHubReportCoreObjects;
|
|
35830
|
-
(function (DeliveryHubReportCoreObjects) {
|
|
35831
|
-
DeliveryHubReportCoreObjects["Shipments"] = "Shipments";
|
|
35832
|
-
})(DeliveryHubReportCoreObjects || (exports.DeliveryHubReportCoreObjects = DeliveryHubReportCoreObjects = {}));
|
|
35833
|
-
//# sourceMappingURL=report_templates.js.map
|
|
35834
|
-
|
|
35835
|
-
/***/ }),
|
|
35836
|
-
|
|
35837
|
-
/***/ 5961:
|
|
35806
|
+
/***/ 87024:
|
|
35838
35807
|
/***/ ((__unused_webpack_module, exports) => {
|
|
35839
35808
|
|
|
35840
35809
|
"use strict";
|
|
@@ -35874,7 +35843,50 @@ var CronDayOfWeek;
|
|
|
35874
35843
|
CronDayOfWeek[CronDayOfWeek["Friday"] = 5] = "Friday";
|
|
35875
35844
|
CronDayOfWeek[CronDayOfWeek["Saturday"] = 6] = "Saturday";
|
|
35876
35845
|
})(CronDayOfWeek || (exports.CronDayOfWeek = CronDayOfWeek = {}));
|
|
35877
|
-
//# sourceMappingURL=
|
|
35846
|
+
//# sourceMappingURL=reports_scheduled_job.js.map
|
|
35847
|
+
|
|
35848
|
+
/***/ }),
|
|
35849
|
+
|
|
35850
|
+
/***/ 12772:
|
|
35851
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
35852
|
+
|
|
35853
|
+
"use strict";
|
|
35854
|
+
|
|
35855
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35856
|
+
//# sourceMappingURL=webhook_auth_config.js.map
|
|
35857
|
+
|
|
35858
|
+
/***/ }),
|
|
35859
|
+
|
|
35860
|
+
/***/ 89792:
|
|
35861
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
35862
|
+
|
|
35863
|
+
"use strict";
|
|
35864
|
+
|
|
35865
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35866
|
+
//# sourceMappingURL=report_share.js.map
|
|
35867
|
+
|
|
35868
|
+
/***/ }),
|
|
35869
|
+
|
|
35870
|
+
/***/ 29414:
|
|
35871
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
35872
|
+
|
|
35873
|
+
"use strict";
|
|
35874
|
+
|
|
35875
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35876
|
+
exports.DeliveryHubReportCoreObjects = exports.OwnFleetReportCoreObjects = void 0;
|
|
35877
|
+
var OwnFleetReportCoreObjects;
|
|
35878
|
+
(function (OwnFleetReportCoreObjects) {
|
|
35879
|
+
OwnFleetReportCoreObjects["None"] = "None";
|
|
35880
|
+
OwnFleetReportCoreObjects["Tasks"] = "Tasks";
|
|
35881
|
+
OwnFleetReportCoreObjects["Users"] = "Users";
|
|
35882
|
+
OwnFleetReportCoreObjects["Vehicles"] = "Vehicles";
|
|
35883
|
+
OwnFleetReportCoreObjects["Carriers"] = "Carriers";
|
|
35884
|
+
})(OwnFleetReportCoreObjects || (exports.OwnFleetReportCoreObjects = OwnFleetReportCoreObjects = {}));
|
|
35885
|
+
var DeliveryHubReportCoreObjects;
|
|
35886
|
+
(function (DeliveryHubReportCoreObjects) {
|
|
35887
|
+
DeliveryHubReportCoreObjects["Shipments"] = "Shipments";
|
|
35888
|
+
})(DeliveryHubReportCoreObjects || (exports.DeliveryHubReportCoreObjects = DeliveryHubReportCoreObjects = {}));
|
|
35889
|
+
//# sourceMappingURL=report_templates.js.map
|
|
35878
35890
|
|
|
35879
35891
|
/***/ }),
|
|
35880
35892
|
|
|
@@ -37271,6 +37283,7 @@ var FleetType;
|
|
|
37271
37283
|
FleetType[FleetType["Internal"] = 33] = "Internal";
|
|
37272
37284
|
FleetType[FleetType["Faction"] = 34] = "Faction";
|
|
37273
37285
|
FleetType[FleetType["Walmart"] = 35] = "Walmart";
|
|
37286
|
+
FleetType[FleetType["JustEat"] = 36] = "JustEat";
|
|
37274
37287
|
FleetType[FleetType["EmulatedDeliveryProvider"] = 999] = "EmulatedDeliveryProvider";
|
|
37275
37288
|
})(FleetType || (exports.FleetType = FleetType = {}));
|
|
37276
37289
|
exports.FleetTypeToCapabilities = (_a = {},
|
|
@@ -37331,6 +37344,13 @@ exports.FleetTypeToCapabilities = (_a = {},
|
|
|
37331
37344
|
_a[FleetType.Internal] = { create_delivery: true, get_quote: true, update_delivery: true, is_green: false },
|
|
37332
37345
|
_a[FleetType.Faction] = { create_delivery: true, get_quote: true, update_delivery: true, is_green: true },
|
|
37333
37346
|
_a[FleetType.Walmart] = { create_delivery: true, get_quote: true, update_delivery: true, is_green: false },
|
|
37347
|
+
_a[FleetType.JustEat] = {
|
|
37348
|
+
create_delivery: true,
|
|
37349
|
+
get_quote: true,
|
|
37350
|
+
update_delivery: false,
|
|
37351
|
+
is_green: false,
|
|
37352
|
+
pickup_eta_available: true
|
|
37353
|
+
},
|
|
37334
37354
|
_a);
|
|
37335
37355
|
//# sourceMappingURL=fleet.js.map
|
|
37336
37356
|
|
|
@@ -38163,7 +38183,6 @@ var PrivilegeTypes;
|
|
|
38163
38183
|
PrivilegeTypes["ACCESS_TO_ALL_TASKS"] = "access_to_all_tasks";
|
|
38164
38184
|
PrivilegeTypes["ACCESS_COMPANY_TASKS_ONLY"] = "access_company_tasks_only";
|
|
38165
38185
|
PrivilegeTypes["EDIT_COMPANY"] = "edit_company";
|
|
38166
|
-
PrivilegeTypes["ENABLE_BI_DASHBOARD"] = "enable_bi_dashboard";
|
|
38167
38186
|
PrivilegeTypes["EDIT_EXCLUSION_WINDOWS"] = "edit_exclusion_windows";
|
|
38168
38187
|
PrivilegeTypes["VIEW_EXCLUSION_WINDOWS"] = "view_exclusion_windows";
|
|
38169
38188
|
PrivilegeTypes["EDIT_TASK_DETAILS"] = "edit_task_details";
|
|
@@ -38206,6 +38225,14 @@ var PrivilegeTypes;
|
|
|
38206
38225
|
PrivilegeTypes["IS_ANALYTICS_CAPACITY_UTILIZATION_REPORT_ENABLED"] = "is_analytics_capacity_utilization_report_enabled";
|
|
38207
38226
|
PrivilegeTypes["VIEW_PLANNED_DELIVERY_WINDOWS"] = "view_planned_delivery_windows";
|
|
38208
38227
|
PrivilegeTypes["EDIT_PLANNED_DELIVERY_WINDOWS"] = "edit_planned_delivery_windows";
|
|
38228
|
+
PrivilegeTypes["DRIVER_PROFILE_V2"] = "driver_profile_v2";
|
|
38229
|
+
PrivilegeTypes["DRIVER_PROFILE_V2_EDIT"] = "edit";
|
|
38230
|
+
PrivilegeTypes["DRIVER_PROFILE_V2_VIEW"] = "view";
|
|
38231
|
+
PrivilegeTypes["DRIVER_PROFILE_V2_NONE"] = "none";
|
|
38232
|
+
PrivilegeTypes["TEAMS_V2"] = "teams_v2";
|
|
38233
|
+
PrivilegeTypes["TEAMS_V2_EDIT"] = "edit";
|
|
38234
|
+
PrivilegeTypes["TEAMS_V2_VIEW"] = "view";
|
|
38235
|
+
PrivilegeTypes["TEAMS_V2_NONE"] = "none";
|
|
38209
38236
|
})(PrivilegeTypes || (exports.PrivilegeTypes = PrivilegeTypes = {}));
|
|
38210
38237
|
exports.PRIVILEGES_DEFAULTS = (_a = {},
|
|
38211
38238
|
_a[PrivilegeTypes.CANCEL_TASK] = true,
|