@bigbinary/neeto-webhooks-frontend 1.6.6 → 1.6.8

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/index.cjs.js CHANGED
@@ -93,31 +93,31 @@ function _arrayWithHoles(arr) {
93
93
  if (Array.isArray(arr)) return arr;
94
94
  }
95
95
 
96
- function _iterableToArrayLimit(arr, i) {
97
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
98
- if (null != _i) {
99
- var _s,
100
- _e,
101
- _x,
102
- _r,
103
- _arr = [],
104
- _n = !0,
105
- _d = !1;
96
+ function _iterableToArrayLimit(r, l) {
97
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
98
+ if (null != t) {
99
+ var e,
100
+ n,
101
+ i,
102
+ u,
103
+ a = [],
104
+ f = !0,
105
+ o = !1;
106
106
  try {
107
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
108
- if (Object(_i) !== _i) return;
109
- _n = !1;
110
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
111
- } catch (err) {
112
- _d = !0, _e = err;
107
+ if (i = (t = t.call(r)).next, 0 === l) {
108
+ if (Object(t) !== t) return;
109
+ f = !1;
110
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
111
+ } catch (r) {
112
+ o = !0, n = r;
113
113
  } finally {
114
114
  try {
115
- if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
115
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
116
116
  } finally {
117
- if (_d) throw _e;
117
+ if (o) throw n;
118
118
  }
119
119
  }
120
- return _arr;
120
+ return a;
121
121
  }
122
122
  }
123
123
 
@@ -247,14 +247,14 @@ var _typeof$1 = {exports: {}};
247
247
  _typeof$1.exports;
248
248
 
249
249
  (function (module) {
250
- function _typeof(obj) {
250
+ function _typeof(o) {
251
251
  "@babel/helpers - typeof";
252
252
 
253
- return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
254
- return typeof obj;
255
- } : function (obj) {
256
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
257
- }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
253
+ return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
254
+ return typeof o;
255
+ } : function (o) {
256
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
257
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
258
258
  }
259
259
  module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
260
260
  } (_typeof$1));
@@ -267,304 +267,304 @@ regeneratorRuntime$1.exports;
267
267
  var _typeof = _typeofExports["default"];
268
268
  function _regeneratorRuntime() {
269
269
  module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
270
- return exports;
270
+ return e;
271
271
  }, module.exports.__esModule = true, module.exports["default"] = module.exports;
272
- var exports = {},
273
- Op = Object.prototype,
274
- hasOwn = Op.hasOwnProperty,
275
- defineProperty = Object.defineProperty || function (obj, key, desc) {
276
- obj[key] = desc.value;
272
+ var t,
273
+ e = {},
274
+ r = Object.prototype,
275
+ n = r.hasOwnProperty,
276
+ o = Object.defineProperty || function (t, e, r) {
277
+ t[e] = r.value;
277
278
  },
278
- $Symbol = "function" == typeof Symbol ? Symbol : {},
279
- iteratorSymbol = $Symbol.iterator || "@@iterator",
280
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
281
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
282
- function define(obj, key, value) {
283
- return Object.defineProperty(obj, key, {
284
- value: value,
279
+ i = "function" == typeof Symbol ? Symbol : {},
280
+ a = i.iterator || "@@iterator",
281
+ c = i.asyncIterator || "@@asyncIterator",
282
+ u = i.toStringTag || "@@toStringTag";
283
+ function define(t, e, r) {
284
+ return Object.defineProperty(t, e, {
285
+ value: r,
285
286
  enumerable: !0,
286
287
  configurable: !0,
287
288
  writable: !0
288
- }), obj[key];
289
+ }), t[e];
289
290
  }
290
291
  try {
291
292
  define({}, "");
292
- } catch (err) {
293
- define = function define(obj, key, value) {
294
- return obj[key] = value;
293
+ } catch (t) {
294
+ define = function define(t, e, r) {
295
+ return t[e] = r;
295
296
  };
296
297
  }
297
- function wrap(innerFn, outerFn, self, tryLocsList) {
298
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
299
- generator = Object.create(protoGenerator.prototype),
300
- context = new Context(tryLocsList || []);
301
- return defineProperty(generator, "_invoke", {
302
- value: makeInvokeMethod(innerFn, self, context)
303
- }), generator;
298
+ function wrap(t, e, r, n) {
299
+ var i = e && e.prototype instanceof Generator ? e : Generator,
300
+ a = Object.create(i.prototype),
301
+ c = new Context(n || []);
302
+ return o(a, "_invoke", {
303
+ value: makeInvokeMethod(t, r, c)
304
+ }), a;
304
305
  }
305
- function tryCatch(fn, obj, arg) {
306
+ function tryCatch(t, e, r) {
306
307
  try {
307
308
  return {
308
309
  type: "normal",
309
- arg: fn.call(obj, arg)
310
+ arg: t.call(e, r)
310
311
  };
311
- } catch (err) {
312
+ } catch (t) {
312
313
  return {
313
314
  type: "throw",
314
- arg: err
315
+ arg: t
315
316
  };
316
317
  }
317
318
  }
318
- exports.wrap = wrap;
319
- var ContinueSentinel = {};
319
+ e.wrap = wrap;
320
+ var h = "suspendedStart",
321
+ l = "suspendedYield",
322
+ f = "executing",
323
+ s = "completed",
324
+ y = {};
320
325
  function Generator() {}
321
326
  function GeneratorFunction() {}
322
327
  function GeneratorFunctionPrototype() {}
323
- var IteratorPrototype = {};
324
- define(IteratorPrototype, iteratorSymbol, function () {
328
+ var p = {};
329
+ define(p, a, function () {
325
330
  return this;
326
331
  });
327
- var getProto = Object.getPrototypeOf,
328
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
329
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
330
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
331
- function defineIteratorMethods(prototype) {
332
- ["next", "throw", "return"].forEach(function (method) {
333
- define(prototype, method, function (arg) {
334
- return this._invoke(method, arg);
332
+ var d = Object.getPrototypeOf,
333
+ v = d && d(d(values([])));
334
+ v && v !== r && n.call(v, a) && (p = v);
335
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
336
+ function defineIteratorMethods(t) {
337
+ ["next", "throw", "return"].forEach(function (e) {
338
+ define(t, e, function (t) {
339
+ return this._invoke(e, t);
335
340
  });
336
341
  });
337
342
  }
338
- function AsyncIterator(generator, PromiseImpl) {
339
- function invoke(method, arg, resolve, reject) {
340
- var record = tryCatch(generator[method], generator, arg);
341
- if ("throw" !== record.type) {
342
- var result = record.arg,
343
- value = result.value;
344
- return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
345
- invoke("next", value, resolve, reject);
346
- }, function (err) {
347
- invoke("throw", err, resolve, reject);
348
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
349
- result.value = unwrapped, resolve(result);
350
- }, function (error) {
351
- return invoke("throw", error, resolve, reject);
343
+ function AsyncIterator(t, e) {
344
+ function invoke(r, o, i, a) {
345
+ var c = tryCatch(t[r], t, o);
346
+ if ("throw" !== c.type) {
347
+ var u = c.arg,
348
+ h = u.value;
349
+ return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
350
+ invoke("next", t, i, a);
351
+ }, function (t) {
352
+ invoke("throw", t, i, a);
353
+ }) : e.resolve(h).then(function (t) {
354
+ u.value = t, i(u);
355
+ }, function (t) {
356
+ return invoke("throw", t, i, a);
352
357
  });
353
358
  }
354
- reject(record.arg);
359
+ a(c.arg);
355
360
  }
356
- var previousPromise;
357
- defineProperty(this, "_invoke", {
358
- value: function value(method, arg) {
361
+ var r;
362
+ o(this, "_invoke", {
363
+ value: function value(t, n) {
359
364
  function callInvokeWithMethodAndArg() {
360
- return new PromiseImpl(function (resolve, reject) {
361
- invoke(method, arg, resolve, reject);
365
+ return new e(function (e, r) {
366
+ invoke(t, n, e, r);
362
367
  });
363
368
  }
364
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
369
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
365
370
  }
366
371
  });
367
372
  }
368
- function makeInvokeMethod(innerFn, self, context) {
369
- var state = "suspendedStart";
370
- return function (method, arg) {
371
- if ("executing" === state) throw new Error("Generator is already running");
372
- if ("completed" === state) {
373
- if ("throw" === method) throw arg;
374
- return doneResult();
373
+ function makeInvokeMethod(e, r, n) {
374
+ var o = h;
375
+ return function (i, a) {
376
+ if (o === f) throw new Error("Generator is already running");
377
+ if (o === s) {
378
+ if ("throw" === i) throw a;
379
+ return {
380
+ value: t,
381
+ done: !0
382
+ };
375
383
  }
376
- for (context.method = method, context.arg = arg;;) {
377
- var delegate = context.delegate;
378
- if (delegate) {
379
- var delegateResult = maybeInvokeDelegate(delegate, context);
380
- if (delegateResult) {
381
- if (delegateResult === ContinueSentinel) continue;
382
- return delegateResult;
384
+ for (n.method = i, n.arg = a;;) {
385
+ var c = n.delegate;
386
+ if (c) {
387
+ var u = maybeInvokeDelegate(c, n);
388
+ if (u) {
389
+ if (u === y) continue;
390
+ return u;
383
391
  }
384
392
  }
385
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
386
- if ("suspendedStart" === state) throw state = "completed", context.arg;
387
- context.dispatchException(context.arg);
388
- } else "return" === context.method && context.abrupt("return", context.arg);
389
- state = "executing";
390
- var record = tryCatch(innerFn, self, context);
391
- if ("normal" === record.type) {
392
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
393
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
394
+ if (o === h) throw o = s, n.arg;
395
+ n.dispatchException(n.arg);
396
+ } else "return" === n.method && n.abrupt("return", n.arg);
397
+ o = f;
398
+ var p = tryCatch(e, r, n);
399
+ if ("normal" === p.type) {
400
+ if (o = n.done ? s : l, p.arg === y) continue;
393
401
  return {
394
- value: record.arg,
395
- done: context.done
402
+ value: p.arg,
403
+ done: n.done
396
404
  };
397
405
  }
398
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
406
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
399
407
  }
400
408
  };
401
409
  }
402
- function maybeInvokeDelegate(delegate, context) {
403
- var methodName = context.method,
404
- method = delegate.iterator[methodName];
405
- if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
406
- var record = tryCatch(method, delegate.iterator, context.arg);
407
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
408
- var info = record.arg;
409
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
410
+ function maybeInvokeDelegate(e, r) {
411
+ var n = r.method,
412
+ o = e.iterator[n];
413
+ if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
414
+ var i = tryCatch(o, e.iterator, r.arg);
415
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
416
+ var a = i.arg;
417
+ return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
410
418
  }
411
- function pushTryEntry(locs) {
412
- var entry = {
413
- tryLoc: locs[0]
419
+ function pushTryEntry(t) {
420
+ var e = {
421
+ tryLoc: t[0]
414
422
  };
415
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
423
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
416
424
  }
417
- function resetTryEntry(entry) {
418
- var record = entry.completion || {};
419
- record.type = "normal", delete record.arg, entry.completion = record;
425
+ function resetTryEntry(t) {
426
+ var e = t.completion || {};
427
+ e.type = "normal", delete e.arg, t.completion = e;
420
428
  }
421
- function Context(tryLocsList) {
429
+ function Context(t) {
422
430
  this.tryEntries = [{
423
431
  tryLoc: "root"
424
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
432
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
425
433
  }
426
- function values(iterable) {
427
- if (iterable) {
428
- var iteratorMethod = iterable[iteratorSymbol];
429
- if (iteratorMethod) return iteratorMethod.call(iterable);
430
- if ("function" == typeof iterable.next) return iterable;
431
- if (!isNaN(iterable.length)) {
432
- var i = -1,
433
- next = function next() {
434
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
435
- return next.value = undefined, next.done = !0, next;
434
+ function values(e) {
435
+ if (e || "" === e) {
436
+ var r = e[a];
437
+ if (r) return r.call(e);
438
+ if ("function" == typeof e.next) return e;
439
+ if (!isNaN(e.length)) {
440
+ var o = -1,
441
+ i = function next() {
442
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
443
+ return next.value = t, next.done = !0, next;
436
444
  };
437
- return next.next = next;
445
+ return i.next = i;
438
446
  }
439
447
  }
440
- return {
441
- next: doneResult
442
- };
443
- }
444
- function doneResult() {
445
- return {
446
- value: undefined,
447
- done: !0
448
- };
448
+ throw new TypeError(_typeof(e) + " is not iterable");
449
449
  }
450
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
450
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
451
451
  value: GeneratorFunctionPrototype,
452
452
  configurable: !0
453
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
453
+ }), o(GeneratorFunctionPrototype, "constructor", {
454
454
  value: GeneratorFunction,
455
455
  configurable: !0
456
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
457
- var ctor = "function" == typeof genFun && genFun.constructor;
458
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
459
- }, exports.mark = function (genFun) {
460
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
461
- }, exports.awrap = function (arg) {
456
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
457
+ var e = "function" == typeof t && t.constructor;
458
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
459
+ }, e.mark = function (t) {
460
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
461
+ }, e.awrap = function (t) {
462
462
  return {
463
- __await: arg
463
+ __await: t
464
464
  };
465
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
465
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
466
466
  return this;
467
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
468
- void 0 === PromiseImpl && (PromiseImpl = Promise);
469
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
470
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
471
- return result.done ? result.value : iter.next();
467
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
468
+ void 0 === i && (i = Promise);
469
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
470
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
471
+ return t.done ? t.value : a.next();
472
472
  });
473
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
473
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
474
474
  return this;
475
- }), define(Gp, "toString", function () {
475
+ }), define(g, "toString", function () {
476
476
  return "[object Generator]";
477
- }), exports.keys = function (val) {
478
- var object = Object(val),
479
- keys = [];
480
- for (var key in object) keys.push(key);
481
- return keys.reverse(), function next() {
482
- for (; keys.length;) {
483
- var key = keys.pop();
484
- if (key in object) return next.value = key, next.done = !1, next;
477
+ }), e.keys = function (t) {
478
+ var e = Object(t),
479
+ r = [];
480
+ for (var n in e) r.push(n);
481
+ return r.reverse(), function next() {
482
+ for (; r.length;) {
483
+ var t = r.pop();
484
+ if (t in e) return next.value = t, next.done = !1, next;
485
485
  }
486
486
  return next.done = !0, next;
487
487
  };
488
- }, exports.values = values, Context.prototype = {
488
+ }, e.values = values, Context.prototype = {
489
489
  constructor: Context,
490
- reset: function reset(skipTempReset) {
491
- if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
490
+ reset: function reset(e) {
491
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
492
492
  },
493
493
  stop: function stop() {
494
494
  this.done = !0;
495
- var rootRecord = this.tryEntries[0].completion;
496
- if ("throw" === rootRecord.type) throw rootRecord.arg;
495
+ var t = this.tryEntries[0].completion;
496
+ if ("throw" === t.type) throw t.arg;
497
497
  return this.rval;
498
498
  },
499
- dispatchException: function dispatchException(exception) {
500
- if (this.done) throw exception;
501
- var context = this;
502
- function handle(loc, caught) {
503
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
499
+ dispatchException: function dispatchException(e) {
500
+ if (this.done) throw e;
501
+ var r = this;
502
+ function handle(n, o) {
503
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
504
504
  }
505
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
506
- var entry = this.tryEntries[i],
507
- record = entry.completion;
508
- if ("root" === entry.tryLoc) return handle("end");
509
- if (entry.tryLoc <= this.prev) {
510
- var hasCatch = hasOwn.call(entry, "catchLoc"),
511
- hasFinally = hasOwn.call(entry, "finallyLoc");
512
- if (hasCatch && hasFinally) {
513
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
514
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
515
- } else if (hasCatch) {
516
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
505
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
506
+ var i = this.tryEntries[o],
507
+ a = i.completion;
508
+ if ("root" === i.tryLoc) return handle("end");
509
+ if (i.tryLoc <= this.prev) {
510
+ var c = n.call(i, "catchLoc"),
511
+ u = n.call(i, "finallyLoc");
512
+ if (c && u) {
513
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
514
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
515
+ } else if (c) {
516
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
517
517
  } else {
518
- if (!hasFinally) throw new Error("try statement without catch or finally");
519
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
518
+ if (!u) throw new Error("try statement without catch or finally");
519
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
520
520
  }
521
521
  }
522
522
  }
523
523
  },
524
- abrupt: function abrupt(type, arg) {
525
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
526
- var entry = this.tryEntries[i];
527
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
528
- var finallyEntry = entry;
524
+ abrupt: function abrupt(t, e) {
525
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
526
+ var o = this.tryEntries[r];
527
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
528
+ var i = o;
529
529
  break;
530
530
  }
531
531
  }
532
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
533
- var record = finallyEntry ? finallyEntry.completion : {};
534
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
532
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
533
+ var a = i ? i.completion : {};
534
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
535
535
  },
536
- complete: function complete(record, afterLoc) {
537
- if ("throw" === record.type) throw record.arg;
538
- return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
536
+ complete: function complete(t, e) {
537
+ if ("throw" === t.type) throw t.arg;
538
+ return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
539
539
  },
540
- finish: function finish(finallyLoc) {
541
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
542
- var entry = this.tryEntries[i];
543
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
540
+ finish: function finish(t) {
541
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
542
+ var r = this.tryEntries[e];
543
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
544
544
  }
545
545
  },
546
- "catch": function _catch(tryLoc) {
547
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
548
- var entry = this.tryEntries[i];
549
- if (entry.tryLoc === tryLoc) {
550
- var record = entry.completion;
551
- if ("throw" === record.type) {
552
- var thrown = record.arg;
553
- resetTryEntry(entry);
546
+ "catch": function _catch(t) {
547
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
548
+ var r = this.tryEntries[e];
549
+ if (r.tryLoc === t) {
550
+ var n = r.completion;
551
+ if ("throw" === n.type) {
552
+ var o = n.arg;
553
+ resetTryEntry(r);
554
554
  }
555
- return thrown;
555
+ return o;
556
556
  }
557
557
  }
558
558
  throw new Error("illegal catch attempt");
559
559
  },
560
- delegateYield: function delegateYield(iterable, resultName, nextLoc) {
560
+ delegateYield: function delegateYield(e, r, n) {
561
561
  return this.delegate = {
562
- iterator: values(iterable),
563
- resultName: resultName,
564
- nextLoc: nextLoc
565
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
562
+ iterator: values(e),
563
+ resultName: r,
564
+ nextLoc: n
565
+ }, "next" === this.method && (this.arg = t), y;
566
566
  }
567
- }, exports;
567
+ }, e;
568
568
  }
569
569
  module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
570
570
  } (regeneratorRuntime$1));
@@ -595,9 +595,12 @@ var DELIVERY_TAB = {
595
595
  };
596
596
 
597
597
  var Snippet = function Snippet(_ref) {
598
- var children = _ref.children;
598
+ var children = _ref.children,
599
+ _ref$dataCy = _ref.dataCy,
600
+ dataCy = _ref$dataCy === void 0 ? "" : _ref$dataCy;
599
601
  return /*#__PURE__*/React__default["default"].createElement("div", {
600
- className: "neeto-ui-rounded neeto-ui-border-gray-300 neeto-ui-bg-gray-100 my-2 whitespace-pre-wrap break-all border p-4"
602
+ className: "neeto-ui-rounded neeto-ui-border-gray-300 neeto-ui-bg-gray-100 my-2 whitespace-pre-wrap break-all border p-4",
603
+ "data-cy": dataCy
601
604
  }, children);
602
605
  };
603
606
 
@@ -632,11 +635,13 @@ var TransactionDetails = function TransactionDetails(_ref) {
632
635
  className: "flex items-center space-x-1"
633
636
  }, t("neetoWebhooks.delivery.identifier"), ":", /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
634
637
  className: "px-2 font-bold",
638
+ "data-cy": "delivery-identifier",
635
639
  style: "body2"
636
640
  }, identifier)), /*#__PURE__*/React__default["default"].createElement("span", {
637
641
  className: "flex items-center"
638
642
  }, t("neetoWebhooks.common.responseStatus"), ":", /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
639
643
  className: "px-2 font-bold",
644
+ "data-cy": "delivery-response-code",
640
645
  style: "body2"
641
646
  }, responseStatusCode), /*#__PURE__*/React__default["default"].createElement(neetoui.Tag, {
642
647
  style: status === "success" ? "success" : "warning"
@@ -656,15 +661,23 @@ var TransactionDetails = function TransactionDetails(_ref) {
656
661
  className: "space-y-4"
657
662
  }, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
658
663
  style: "h5"
659
- }, t("neetoWebhooks.delivery.header")), /*#__PURE__*/React__default["default"].createElement(Snippet, null, deliveryDetails.requestHeader)), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
664
+ }, t("neetoWebhooks.delivery.header")), /*#__PURE__*/React__default["default"].createElement(Snippet, {
665
+ dataCy: "delivery-request-header"
666
+ }, deliveryDetails.requestHeader)), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
660
667
  style: "h5"
661
- }, t("neetoWebhooks.delivery.payload")), /*#__PURE__*/React__default["default"].createElement(Snippet, null, JSON.stringify(JSON.parse(deliveryDetails.requestBody), null, 2)))) : /*#__PURE__*/React__default["default"].createElement("div", {
668
+ }, t("neetoWebhooks.delivery.payload")), /*#__PURE__*/React__default["default"].createElement(Snippet, {
669
+ dataCy: "delivery-request-payload"
670
+ }, JSON.stringify(JSON.parse(deliveryDetails.requestBody), null, 2)))) : /*#__PURE__*/React__default["default"].createElement("div", {
662
671
  className: "space-y-4"
663
672
  }, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
664
673
  style: "h5"
665
- }, t("neetoWebhooks.delivery.header")), /*#__PURE__*/React__default["default"].createElement(Snippet, null, deliveryDetails.responseHeader)), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
674
+ }, t("neetoWebhooks.delivery.header")), /*#__PURE__*/React__default["default"].createElement(Snippet, {
675
+ dataCy: "delivery-response-header"
676
+ }, deliveryDetails.responseHeader)), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
666
677
  style: "h5"
667
- }, t("neetoWebhooks.delivery.body")), /*#__PURE__*/React__default["default"].createElement(Snippet, null, deliveryDetails.responseBody)))));
678
+ }, t("neetoWebhooks.delivery.body")), /*#__PURE__*/React__default["default"].createElement(Snippet, {
679
+ dataCy: "delivery-response-body"
680
+ }, deliveryDetails.responseBody)))));
668
681
  };
669
682
 
670
683
  var Details = function Details(_ref) {
@@ -739,16 +752,18 @@ var buildColumns$1 = function buildColumns(_ref) {
739
752
  return [{
740
753
  title: i18next.t("neetoWebhooks.delivery.identifier", constants.SINGULAR),
741
754
  key: "identifier",
742
- width: "35%",
743
- render: function render(_ref2) {
744
- var identifier = _ref2.identifier,
745
- redelivery = _ref2.redelivery;
755
+ dataIndex: "identifier",
756
+ width: 390,
757
+ render: function render(_, delivery) {
746
758
  return /*#__PURE__*/React__default["default"].createElement("div", {
747
759
  className: "flex items-center gap-x-3"
748
- }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
749
- style: "body2",
750
- weight: "semibold"
751
- }, identifier), redelivery && /*#__PURE__*/React__default["default"].createElement(neetoui.Tag, {
760
+ }, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
761
+ style: "link",
762
+ weight: "semibold",
763
+ onClick: function onClick() {
764
+ return handleDetailsClick(delivery);
765
+ }
766
+ }, delivery.identifier), delivery.redelivery && /*#__PURE__*/React__default["default"].createElement(neetoui.Tag, {
752
767
  style: "info"
753
768
  }, i18next.t("neetoWebhooks.delivery.redelivery")));
754
769
  }
@@ -756,6 +771,7 @@ var buildColumns$1 = function buildColumns(_ref) {
756
771
  title: i18next.t("neetoWebhooks.tableHeaders.createdAt"),
757
772
  key: "createdAt",
758
773
  dataIndex: "createdAt",
774
+ width: 280,
759
775
  render: function render(createdAt) {
760
776
  return /*#__PURE__*/React__default["default"].createElement("div", {
761
777
  className: "flex items-center justify-between space-x-1"
@@ -766,10 +782,10 @@ var buildColumns$1 = function buildColumns(_ref) {
766
782
  }, {
767
783
  title: i18next.t("neetoWebhooks.common.responseStatus"),
768
784
  key: "responseStatusCode",
769
- width: "15%",
770
- render: function render(_ref3) {
771
- var responseStatusCode = _ref3.responseStatusCode,
772
- status = _ref3.status;
785
+ width: 160,
786
+ render: function render(_ref2) {
787
+ var responseStatusCode = _ref2.responseStatusCode,
788
+ status = _ref2.status;
773
789
  return /*#__PURE__*/React__default["default"].createElement("span", {
774
790
  className: "flex items-center"
775
791
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
@@ -783,20 +799,8 @@ var buildColumns$1 = function buildColumns(_ref) {
783
799
  title: i18next.t("neetoWebhooks.common.event", constants.SINGULAR),
784
800
  key: "event",
785
801
  dataIndex: "event",
802
+ width: 270,
786
803
  render: ramda.prop("label")
787
- }, {
788
- title: i18next.t("neetoWebhooks.tableHeaders.details"),
789
- key: "details",
790
- dataIndex: "details",
791
- render: function render(_, delivery) {
792
- return /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
793
- label: i18next.t("neetoWebhooks.buttons.viewDetails"),
794
- size: "small",
795
- onClick: function onClick() {
796
- return handleDetailsClick(delivery);
797
- }
798
- });
799
- }
800
804
  }];
801
805
  };
802
806
 
@@ -916,7 +920,7 @@ var useCreateWebhook = function useCreateWebhook(options) {
916
920
  onSuccess: function onSuccess() {
917
921
  var _options$onSuccess;
918
922
  queryClient.invalidateQueries(QUERY_KEYS.WEBHOOK_LIST);
919
- options === null || options === void 0 || (_options$onSuccess = options.onSuccess) === null || _options$onSuccess === void 0 ? void 0 : _options$onSuccess.call(options);
923
+ options === null || options === void 0 || (_options$onSuccess = options.onSuccess) === null || _options$onSuccess === void 0 || _options$onSuccess.call(options);
920
924
  }
921
925
  });
922
926
  };
@@ -940,7 +944,7 @@ var useUpdateWebhook = function useUpdateWebhook(id, options) {
940
944
  queryClient.invalidateQueries(QUERY_KEYS.WEBHOOK_LIST);
941
945
  queryClient.invalidateQueries([QUERY_KEYS.WEBHOOK_DETAILS, id]);
942
946
  queryClient.invalidateQueries([QUERY_KEYS.DELIVERY_LIST, id]);
943
- options === null || options === void 0 || (_options$onSuccess2 = options.onSuccess) === null || _options$onSuccess2 === void 0 ? void 0 : _options$onSuccess2.call(options);
947
+ options === null || options === void 0 || (_options$onSuccess2 = options.onSuccess) === null || _options$onSuccess2 === void 0 || _options$onSuccess2.call(options);
944
948
  }
945
949
  });
946
950
  };
@@ -950,19 +954,19 @@ var useDestroyWebhook = function useDestroyWebhook(options) {
950
954
  onSuccess: function onSuccess() {
951
955
  var _options$onSuccess3;
952
956
  queryClient.invalidateQueries(QUERY_KEYS.WEBHOOK_LIST);
953
- options === null || options === void 0 || (_options$onSuccess3 = options.onSuccess) === null || _options$onSuccess3 === void 0 ? void 0 : _options$onSuccess3.call(options);
957
+ options === null || options === void 0 || (_options$onSuccess3 = options.onSuccess) === null || _options$onSuccess3 === void 0 || _options$onSuccess3.call(options);
954
958
  }
955
959
  });
956
960
  };
957
961
 
958
- function _typeof(obj) {
962
+ function _typeof(o) {
959
963
  "@babel/helpers - typeof";
960
964
 
961
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
962
- return typeof obj;
963
- } : function (obj) {
964
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
965
- }, _typeof(obj);
965
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
966
+ return typeof o;
967
+ } : function (o) {
968
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
969
+ }, _typeof(o);
966
970
  }
967
971
 
968
972
  function _toPrimitive(input, hint) {
@@ -1017,8 +1021,8 @@ var MENU_ITEMS = {
1017
1021
  DELETE: "delete"
1018
1022
  };
1019
1023
 
1020
- function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1021
- function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1024
+ function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1025
+ function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1022
1026
  var getMenuItems = function getMenuItems(_ref) {
1023
1027
  var onEdit = _ref.onEdit,
1024
1028
  onDelete = _ref.onDelete;
@@ -1079,6 +1083,7 @@ var buildColumns = function buildColumns(_ref6) {
1079
1083
  title: i18next.t("neetoWebhooks.common.endpoint"),
1080
1084
  key: "endpoint",
1081
1085
  dataIndex: "endpoint",
1086
+ width: 830,
1082
1087
  render: function render(endpoint, webhook) {
1083
1088
  return /*#__PURE__*/React__default["default"].createElement("div", {
1084
1089
  className: "flex items-center justify-between space-x-3"
@@ -1120,20 +1125,22 @@ var buildColumns = function buildColumns(_ref6) {
1120
1125
  }];
1121
1126
  };
1122
1127
 
1123
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1124
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1128
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1129
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1125
1130
  var AddWebhookPane = function AddWebhookPane(_ref) {
1126
1131
  var editingWebhookId = _ref.editingWebhookId,
1127
1132
  entityId = _ref.entityId,
1128
1133
  entityType = _ref.entityType,
1129
1134
  isOpen = _ref.isOpen,
1130
1135
  onClose = _ref.onClose,
1136
+ onCreate = _ref.onCreate,
1131
1137
  webhooks = _ref.webhooks;
1132
1138
  var _useTranslation = reactI18next.useTranslation(),
1133
1139
  t = _useTranslation.t;
1134
1140
  var _useCreateWebhook = useCreateWebhook({
1135
1141
  onSuccess: function onSuccess() {
1136
- return onClose();
1142
+ onClose();
1143
+ onCreate === null || onCreate === void 0 || onCreate();
1137
1144
  }
1138
1145
  }),
1139
1146
  createWebhook = _useCreateWebhook.mutate;
@@ -1143,9 +1150,7 @@ var AddWebhookPane = function AddWebhookPane(_ref) {
1143
1150
  _useShowWebhook$data3 = _useShowWebhook$data2.webhook,
1144
1151
  webhook = _useShowWebhook$data3 === void 0 ? {} : _useShowWebhook$data3;
1145
1152
  var _useUpdateWebhook = useUpdateWebhook(editingWebhookId, {
1146
- onSuccess: function onSuccess() {
1147
- return onClose();
1148
- }
1153
+ onSuccess: onClose
1149
1154
  }),
1150
1155
  updateWebhook = _useUpdateWebhook.mutate;
1151
1156
  var endpointRef = React.useRef();
@@ -1173,9 +1178,9 @@ var AddWebhookPane = function AddWebhookPane(_ref) {
1173
1178
  }));
1174
1179
  };
1175
1180
  return /*#__PURE__*/React__default["default"].createElement(neetoui.Pane, {
1176
- initialFocusRef: endpointRef,
1177
1181
  isOpen: isOpen,
1178
- onClose: onClose
1182
+ onClose: onClose,
1183
+ initialFocusRef: endpointRef
1179
1184
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Header, {
1180
1185
  className: "flex items-center space-x-3"
1181
1186
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
@@ -1290,7 +1295,9 @@ var Webhooks = function Webhooks(_ref) {
1290
1295
  var deliveriesPath = _ref.deliveriesPath,
1291
1296
  entityType = _ref.entityType,
1292
1297
  breadcrumbs = _ref.breadcrumbs,
1293
- entityId = _ref.entityId;
1298
+ entityId = _ref.entityId,
1299
+ onCreate = _ref.onCreate,
1300
+ onDelete = _ref.onDelete;
1294
1301
  var _useState = React.useState(),
1295
1302
  _useState2 = _slicedToArray(_useState, 2),
1296
1303
  editingWebhookId = _useState2[0],
@@ -1328,7 +1335,8 @@ var Webhooks = function Webhooks(_ref) {
1328
1335
  totalCount = _useFetchWebhooks$dat4 === void 0 ? 0 : _useFetchWebhooks$dat4;
1329
1336
  var _useDestroyWebhook = useDestroyWebhook({
1330
1337
  onSuccess: function onSuccess() {
1331
- return setIsDeleteAlertOpen(false);
1338
+ setIsDeleteAlertOpen(false);
1339
+ onDelete === null || onDelete === void 0 || onDelete();
1332
1340
  }
1333
1341
  }),
1334
1342
  isDeleting = _useDestroyWebhook.isLoading,
@@ -1378,6 +1386,7 @@ var Webhooks = function Webhooks(_ref) {
1378
1386
  editingWebhookId: editingWebhookId,
1379
1387
  entityId: entityId,
1380
1388
  entityType: entityType,
1389
+ onCreate: onCreate,
1381
1390
  webhooks: webhooks,
1382
1391
  isOpen: isAddWebhookPaneOpen,
1383
1392
  onClose: handlePaneClose
@@ -1405,7 +1414,9 @@ var NeetoWebhooks = function NeetoWebhooks(_ref) {
1405
1414
  var entityType = _ref.entityType,
1406
1415
  entityId = _ref.entityId,
1407
1416
  _ref$breadcrumbs = _ref.breadcrumbs,
1408
- breadcrumbs = _ref$breadcrumbs === void 0 ? [] : _ref$breadcrumbs;
1417
+ breadcrumbs = _ref$breadcrumbs === void 0 ? [] : _ref$breadcrumbs,
1418
+ onCreate = _ref.onCreate,
1419
+ onDelete = _ref.onDelete;
1409
1420
  var _useRouteMatch = reactRouterDom.useRouteMatch(),
1410
1421
  webhooksPath = _useRouteMatch.path,
1411
1422
  webhooksUrl = _useRouteMatch.url;
@@ -1418,19 +1429,26 @@ var NeetoWebhooks = function NeetoWebhooks(_ref) {
1418
1429
  breadcrumbs: breadcrumbs,
1419
1430
  deliveriesPath: deliveriesPath,
1420
1431
  entityId: entityId,
1421
- entityType: entityType
1432
+ entityType: entityType,
1433
+ onCreate: onCreate,
1434
+ onDelete: onDelete
1422
1435
  });
1423
1436
  }
1424
1437
  }), /*#__PURE__*/React__default["default"].createElement(reactRouterDom.Route, {
1425
- path: deliveriesPath,
1426
1438
  component: function component() {
1427
1439
  return /*#__PURE__*/React__default["default"].createElement(Deliveries$1, {
1428
1440
  breadcrumbs: breadcrumbs,
1429
1441
  webhooksUrl: webhooksUrl
1430
1442
  });
1431
- }
1443
+ },
1444
+ path: deliveriesPath
1432
1445
  }));
1433
1446
  };
1434
1447
 
1448
+ var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
1449
+
1450
+ var css = ".neeto-molecules-header .neeto-molecules-header__breadcrumbs-wrap{flex-wrap:wrap}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFwcC9qYXZhc2NyaXB0L3NyYy9zdHlsZXNoZWV0cy9tYWluLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0Usa0VBQ0UsY0FBSiIsInNvdXJjZXNDb250ZW50IjpbIi5uZWV0by1tb2xlY3VsZXMtaGVhZGVyIHtcbiAgLm5lZXRvLW1vbGVjdWxlcy1oZWFkZXJfX2JyZWFkY3J1bWJzLXdyYXAge1xuICAgIGZsZXgtd3JhcDogd3JhcDtcbiAgfVxufVxuIl19 */";
1451
+ n(css,{});
1452
+
1435
1453
  exports.NeetoWebhooks = NeetoWebhooks;
1436
1454
  //# sourceMappingURL=index.cjs.js.map