@bringg/dashboard-sdk 9.32.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.
@@ -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.32.0';
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, WebhookAuthenticationConfigurationListItemDto } 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<WebhookAuthenticationConfiguration>;
6
+ create(configuration: WebhookAuthenticationConfiguration): Promise<WebhookAuthenticationConfigurationDto>;
7
7
  list(): Promise<WebhookAuthenticationConfigurationListItemDto[]>;
8
- getById(id: number): Promise<WebhookAuthenticationConfiguration>;
9
- update(id: number, configuration: Partial<WebhookAuthenticationConfiguration>): Promise<WebhookAuthenticationConfiguration>;
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,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"}
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.WebhookAuthenticationConfiguration>;
6
+ create(configuration: Bringg.WebhookAuthenticationConfiguration): Promise<Bringg.WebhookAuthenticationConfigurationDto>;
7
7
  list(): Promise<Bringg.WebhookAuthenticationConfigurationListItemDto[]>;
8
- getById(id: number): Promise<Bringg.WebhookAuthenticationConfiguration>;
9
- update(id: number, configuration: Partial<Bringg.WebhookAuthenticationConfiguration>): Promise<Bringg.WebhookAuthenticationConfiguration>;
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
  }
@@ -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.32.0';
22412
+ var version = '9.33.0';
22413
22413
  function logErrorResponse(response) {
22414
22414
  var data = response.data, status = response.status;
22415
22415
  try {
@@ -37283,6 +37283,7 @@ var FleetType;
37283
37283
  FleetType[FleetType["Internal"] = 33] = "Internal";
37284
37284
  FleetType[FleetType["Faction"] = 34] = "Faction";
37285
37285
  FleetType[FleetType["Walmart"] = 35] = "Walmart";
37286
+ FleetType[FleetType["JustEat"] = 36] = "JustEat";
37286
37287
  FleetType[FleetType["EmulatedDeliveryProvider"] = 999] = "EmulatedDeliveryProvider";
37287
37288
  })(FleetType || (exports.FleetType = FleetType = {}));
37288
37289
  exports.FleetTypeToCapabilities = (_a = {},
@@ -37343,6 +37344,13 @@ exports.FleetTypeToCapabilities = (_a = {},
37343
37344
  _a[FleetType.Internal] = { create_delivery: true, get_quote: true, update_delivery: true, is_green: false },
37344
37345
  _a[FleetType.Faction] = { create_delivery: true, get_quote: true, update_delivery: true, is_green: true },
37345
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
+ },
37346
37354
  _a);
37347
37355
  //# sourceMappingURL=fleet.js.map
37348
37356