@mikemo-coposit/am-accounting-shared 1.0.7 → 1.0.9

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.
Files changed (41) hide show
  1. package/dist/cjs/constants/common/package-version.constant.d.ts +1 -1
  2. package/dist/cjs/index.cjs +612 -8
  3. package/dist/cjs/schemas/cma/cma.rest.schema.d.ts +7 -7
  4. package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +12 -12
  5. package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +7 -7
  6. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +13 -13
  7. package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +1 -1
  8. package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +12 -12
  9. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +6 -6
  10. package/dist/cjs/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +1 -1
  11. package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +1 -1
  12. package/dist/cjs/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.entity.schema.d.ts +2 -2
  13. package/dist/cjs/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts +99 -99
  14. package/dist/cjs/schemas/payout/payout-provision-data.entity.schema.d.ts +2 -2
  15. package/dist/cjs/schemas/payout/payout.entity.schema.d.ts +2 -2
  16. package/dist/cjs/schemas/payout/payout.rest.schema.d.ts +132 -132
  17. package/dist/cjs/schemas/payout/settlement-payout/provision-data.settlement-payout.entity.schema.d.ts +2 -2
  18. package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +13 -13
  19. package/dist/cjs/schemas/property/property.entity.schema.d.ts +2 -2
  20. package/dist/cjs/schemas/property/property.rest.schema.d.ts +14 -14
  21. package/dist/esm/constants/common/package-version.constant.d.ts +1 -1
  22. package/dist/esm/index.js +3 -3
  23. package/dist/esm/schemas/cma/cma.rest.schema.d.ts +7 -7
  24. package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +12 -12
  25. package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +7 -7
  26. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +13 -13
  27. package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +1 -1
  28. package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +12 -12
  29. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +6 -6
  30. package/dist/esm/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +1 -1
  31. package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +1 -1
  32. package/dist/esm/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.entity.schema.d.ts +2 -2
  33. package/dist/esm/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts +99 -99
  34. package/dist/esm/schemas/payout/payout-provision-data.entity.schema.d.ts +2 -2
  35. package/dist/esm/schemas/payout/payout.entity.schema.d.ts +2 -2
  36. package/dist/esm/schemas/payout/payout.rest.schema.d.ts +132 -132
  37. package/dist/esm/schemas/payout/settlement-payout/provision-data.settlement-payout.entity.schema.d.ts +2 -2
  38. package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +13 -13
  39. package/dist/esm/schemas/property/property.entity.schema.d.ts +2 -2
  40. package/dist/esm/schemas/property/property.rest.schema.d.ts +14 -14
  41. package/package.json +2 -2
@@ -1,2 +1,2 @@
1
- export declare const PACKAGE_VERSION = "1.0.6";
1
+ export declare const PACKAGE_VERSION = "1.0.9";
2
2
  //# sourceMappingURL=package-version.constant.d.ts.map
@@ -310,6 +310,444 @@ var __webpack_modules__ = {
310
310
  this.emit('error', err);
311
311
  };
312
312
  },
313
+ "./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.js": function(module, exports1, __webpack_require__) {
314
+ exports1.formatArgs = formatArgs;
315
+ exports1.save = save;
316
+ exports1.load = load;
317
+ exports1.useColors = useColors;
318
+ exports1.storage = localstorage();
319
+ exports1.destroy = (()=>{
320
+ let warned = false;
321
+ return ()=>{
322
+ if (!warned) {
323
+ warned = true;
324
+ console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
325
+ }
326
+ };
327
+ })();
328
+ exports1.colors = [
329
+ '#0000CC',
330
+ '#0000FF',
331
+ '#0033CC',
332
+ '#0033FF',
333
+ '#0066CC',
334
+ '#0066FF',
335
+ '#0099CC',
336
+ '#0099FF',
337
+ '#00CC00',
338
+ '#00CC33',
339
+ '#00CC66',
340
+ '#00CC99',
341
+ '#00CCCC',
342
+ '#00CCFF',
343
+ '#3300CC',
344
+ '#3300FF',
345
+ '#3333CC',
346
+ '#3333FF',
347
+ '#3366CC',
348
+ '#3366FF',
349
+ '#3399CC',
350
+ '#3399FF',
351
+ '#33CC00',
352
+ '#33CC33',
353
+ '#33CC66',
354
+ '#33CC99',
355
+ '#33CCCC',
356
+ '#33CCFF',
357
+ '#6600CC',
358
+ '#6600FF',
359
+ '#6633CC',
360
+ '#6633FF',
361
+ '#66CC00',
362
+ '#66CC33',
363
+ '#9900CC',
364
+ '#9900FF',
365
+ '#9933CC',
366
+ '#9933FF',
367
+ '#99CC00',
368
+ '#99CC33',
369
+ '#CC0000',
370
+ '#CC0033',
371
+ '#CC0066',
372
+ '#CC0099',
373
+ '#CC00CC',
374
+ '#CC00FF',
375
+ '#CC3300',
376
+ '#CC3333',
377
+ '#CC3366',
378
+ '#CC3399',
379
+ '#CC33CC',
380
+ '#CC33FF',
381
+ '#CC6600',
382
+ '#CC6633',
383
+ '#CC9900',
384
+ '#CC9933',
385
+ '#CCCC00',
386
+ '#CCCC33',
387
+ '#FF0000',
388
+ '#FF0033',
389
+ '#FF0066',
390
+ '#FF0099',
391
+ '#FF00CC',
392
+ '#FF00FF',
393
+ '#FF3300',
394
+ '#FF3333',
395
+ '#FF3366',
396
+ '#FF3399',
397
+ '#FF33CC',
398
+ '#FF33FF',
399
+ '#FF6600',
400
+ '#FF6633',
401
+ '#FF9900',
402
+ '#FF9933',
403
+ '#FFCC00',
404
+ '#FFCC33'
405
+ ];
406
+ function useColors() {
407
+ if ('undefined' != typeof window && window.process && ('renderer' === window.process.type || window.process.__nwjs)) return true;
408
+ if ('undefined' != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) return false;
409
+ let m;
410
+ return 'undefined' != typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || 'undefined' != typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || 'undefined' != typeof navigator && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || 'undefined' != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
411
+ }
412
+ function formatArgs(args) {
413
+ args[0] = (this.useColors ? '%c' : '') + this.namespace + (this.useColors ? ' %c' : ' ') + args[0] + (this.useColors ? '%c ' : ' ') + '+' + module.exports.humanize(this.diff);
414
+ if (!this.useColors) return;
415
+ const c = 'color: ' + this.color;
416
+ args.splice(1, 0, c, 'color: inherit');
417
+ let index = 0;
418
+ let lastC = 0;
419
+ args[0].replace(/%[a-zA-Z%]/g, (match)=>{
420
+ if ('%%' === match) return;
421
+ index++;
422
+ if ('%c' === match) lastC = index;
423
+ });
424
+ args.splice(lastC, 0, c);
425
+ }
426
+ exports1.log = console.debug || console.log || (()=>{});
427
+ function save(namespaces) {
428
+ try {
429
+ if (namespaces) exports1.storage.setItem('debug', namespaces);
430
+ else exports1.storage.removeItem('debug');
431
+ } catch (error) {}
432
+ }
433
+ function load() {
434
+ let r;
435
+ try {
436
+ r = exports1.storage.getItem('debug') || exports1.storage.getItem('DEBUG');
437
+ } catch (error) {}
438
+ if (!r && 'undefined' != typeof process && 'env' in process) r = process.env.DEBUG;
439
+ return r;
440
+ }
441
+ function localstorage() {
442
+ try {
443
+ return localStorage;
444
+ } catch (error) {}
445
+ }
446
+ module.exports = __webpack_require__("./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js")(exports1);
447
+ const { formatters } = module.exports;
448
+ formatters.j = function(v) {
449
+ try {
450
+ return JSON.stringify(v);
451
+ } catch (error) {
452
+ return '[UnexpectedJSONParseError]: ' + error.message;
453
+ }
454
+ };
455
+ },
456
+ "./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js": function(module, __unused_webpack_exports, __webpack_require__) {
457
+ function setup(env) {
458
+ createDebug.debug = createDebug;
459
+ createDebug.default = createDebug;
460
+ createDebug.coerce = coerce;
461
+ createDebug.disable = disable;
462
+ createDebug.enable = enable;
463
+ createDebug.enabled = enabled;
464
+ createDebug.humanize = __webpack_require__("./node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js");
465
+ createDebug.destroy = destroy;
466
+ Object.keys(env).forEach((key)=>{
467
+ createDebug[key] = env[key];
468
+ });
469
+ createDebug.names = [];
470
+ createDebug.skips = [];
471
+ createDebug.formatters = {};
472
+ function selectColor(namespace) {
473
+ let hash = 0;
474
+ for(let i = 0; i < namespace.length; i++){
475
+ hash = (hash << 5) - hash + namespace.charCodeAt(i);
476
+ hash |= 0;
477
+ }
478
+ return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
479
+ }
480
+ createDebug.selectColor = selectColor;
481
+ function createDebug(namespace) {
482
+ let prevTime;
483
+ let enableOverride = null;
484
+ let namespacesCache;
485
+ let enabledCache;
486
+ function debug(...args) {
487
+ if (!debug.enabled) return;
488
+ const self1 = debug;
489
+ const curr = Number(new Date());
490
+ const ms = curr - (prevTime || curr);
491
+ self1.diff = ms;
492
+ self1.prev = prevTime;
493
+ self1.curr = curr;
494
+ prevTime = curr;
495
+ args[0] = createDebug.coerce(args[0]);
496
+ if ('string' != typeof args[0]) args.unshift('%O');
497
+ let index = 0;
498
+ args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format)=>{
499
+ if ('%%' === match) return '%';
500
+ index++;
501
+ const formatter = createDebug.formatters[format];
502
+ if ('function' == typeof formatter) {
503
+ const val = args[index];
504
+ match = formatter.call(self1, val);
505
+ args.splice(index, 1);
506
+ index--;
507
+ }
508
+ return match;
509
+ });
510
+ createDebug.formatArgs.call(self1, args);
511
+ const logFn = self1.log || createDebug.log;
512
+ logFn.apply(self1, args);
513
+ }
514
+ debug.namespace = namespace;
515
+ debug.useColors = createDebug.useColors();
516
+ debug.color = createDebug.selectColor(namespace);
517
+ debug.extend = extend;
518
+ debug.destroy = createDebug.destroy;
519
+ Object.defineProperty(debug, 'enabled', {
520
+ enumerable: true,
521
+ configurable: false,
522
+ get: ()=>{
523
+ if (null !== enableOverride) return enableOverride;
524
+ if (namespacesCache !== createDebug.namespaces) {
525
+ namespacesCache = createDebug.namespaces;
526
+ enabledCache = createDebug.enabled(namespace);
527
+ }
528
+ return enabledCache;
529
+ },
530
+ set: (v)=>{
531
+ enableOverride = v;
532
+ }
533
+ });
534
+ if ('function' == typeof createDebug.init) createDebug.init(debug);
535
+ return debug;
536
+ }
537
+ function extend(namespace, delimiter) {
538
+ const newDebug = createDebug(this.namespace + (void 0 === delimiter ? ':' : delimiter) + namespace);
539
+ newDebug.log = this.log;
540
+ return newDebug;
541
+ }
542
+ function enable(namespaces) {
543
+ createDebug.save(namespaces);
544
+ createDebug.namespaces = namespaces;
545
+ createDebug.names = [];
546
+ createDebug.skips = [];
547
+ const split = ('string' == typeof namespaces ? namespaces : '').trim().replace(/\s+/g, ',').split(',').filter(Boolean);
548
+ for (const ns of split)if ('-' === ns[0]) createDebug.skips.push(ns.slice(1));
549
+ else createDebug.names.push(ns);
550
+ }
551
+ function matchesTemplate(search, template) {
552
+ let searchIndex = 0;
553
+ let templateIndex = 0;
554
+ let starIndex = -1;
555
+ let matchIndex = 0;
556
+ while(searchIndex < search.length)if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || '*' === template[templateIndex])) if ('*' === template[templateIndex]) {
557
+ starIndex = templateIndex;
558
+ matchIndex = searchIndex;
559
+ templateIndex++;
560
+ } else {
561
+ searchIndex++;
562
+ templateIndex++;
563
+ }
564
+ else {
565
+ if (-1 === starIndex) return false;
566
+ templateIndex = starIndex + 1;
567
+ matchIndex++;
568
+ searchIndex = matchIndex;
569
+ }
570
+ while(templateIndex < template.length && '*' === template[templateIndex])templateIndex++;
571
+ return templateIndex === template.length;
572
+ }
573
+ function disable() {
574
+ const namespaces = [
575
+ ...createDebug.names,
576
+ ...createDebug.skips.map((namespace)=>'-' + namespace)
577
+ ].join(',');
578
+ createDebug.enable('');
579
+ return namespaces;
580
+ }
581
+ function enabled(name) {
582
+ for (const skip of createDebug.skips)if (matchesTemplate(name, skip)) return false;
583
+ for (const ns of createDebug.names)if (matchesTemplate(name, ns)) return true;
584
+ return false;
585
+ }
586
+ function coerce(val) {
587
+ if (val instanceof Error) return val.stack || val.message;
588
+ return val;
589
+ }
590
+ function destroy() {
591
+ console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
592
+ }
593
+ createDebug.enable(createDebug.load());
594
+ return createDebug;
595
+ }
596
+ module.exports = setup;
597
+ },
598
+ "./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
599
+ if ('undefined' == typeof process || 'renderer' === process.type || true === process.browser || process.__nwjs) module.exports = __webpack_require__("./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.js");
600
+ else module.exports = __webpack_require__("./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.js");
601
+ },
602
+ "./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.js": function(module, exports1, __webpack_require__) {
603
+ const tty = __webpack_require__("tty");
604
+ const util = __webpack_require__("util");
605
+ exports1.init = init;
606
+ exports1.log = log;
607
+ exports1.formatArgs = formatArgs;
608
+ exports1.save = save;
609
+ exports1.load = load;
610
+ exports1.useColors = useColors;
611
+ exports1.destroy = util.deprecate(()=>{}, 'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
612
+ exports1.colors = [
613
+ 6,
614
+ 2,
615
+ 3,
616
+ 4,
617
+ 5,
618
+ 1
619
+ ];
620
+ try {
621
+ const supportsColor = __webpack_require__("./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js");
622
+ if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) exports1.colors = [
623
+ 20,
624
+ 21,
625
+ 26,
626
+ 27,
627
+ 32,
628
+ 33,
629
+ 38,
630
+ 39,
631
+ 40,
632
+ 41,
633
+ 42,
634
+ 43,
635
+ 44,
636
+ 45,
637
+ 56,
638
+ 57,
639
+ 62,
640
+ 63,
641
+ 68,
642
+ 69,
643
+ 74,
644
+ 75,
645
+ 76,
646
+ 77,
647
+ 78,
648
+ 79,
649
+ 80,
650
+ 81,
651
+ 92,
652
+ 93,
653
+ 98,
654
+ 99,
655
+ 112,
656
+ 113,
657
+ 128,
658
+ 129,
659
+ 134,
660
+ 135,
661
+ 148,
662
+ 149,
663
+ 160,
664
+ 161,
665
+ 162,
666
+ 163,
667
+ 164,
668
+ 165,
669
+ 166,
670
+ 167,
671
+ 168,
672
+ 169,
673
+ 170,
674
+ 171,
675
+ 172,
676
+ 173,
677
+ 178,
678
+ 179,
679
+ 184,
680
+ 185,
681
+ 196,
682
+ 197,
683
+ 198,
684
+ 199,
685
+ 200,
686
+ 201,
687
+ 202,
688
+ 203,
689
+ 204,
690
+ 205,
691
+ 206,
692
+ 207,
693
+ 208,
694
+ 209,
695
+ 214,
696
+ 215,
697
+ 220,
698
+ 221
699
+ ];
700
+ } catch (error) {}
701
+ exports1.inspectOpts = Object.keys(process.env).filter((key)=>/^debug_/i.test(key)).reduce((obj, key)=>{
702
+ const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k)=>k.toUpperCase());
703
+ let val = process.env[key];
704
+ val = /^(yes|on|true|enabled)$/i.test(val) ? true : /^(no|off|false|disabled)$/i.test(val) ? false : 'null' === val ? null : Number(val);
705
+ obj[prop] = val;
706
+ return obj;
707
+ }, {});
708
+ function useColors() {
709
+ return 'colors' in exports1.inspectOpts ? Boolean(exports1.inspectOpts.colors) : tty.isatty(process.stderr.fd);
710
+ }
711
+ function formatArgs(args) {
712
+ const { namespace: name, useColors } = this;
713
+ if (useColors) {
714
+ const c = this.color;
715
+ const colorCode = '\u001B[3' + (c < 8 ? c : '8;5;' + c);
716
+ const prefix = ` ${colorCode};1m${name} \u001B[0m`;
717
+ args[0] = prefix + args[0].split('\n').join('\n' + prefix);
718
+ args.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\u001B[0m');
719
+ } else args[0] = getDate() + name + ' ' + args[0];
720
+ }
721
+ function getDate() {
722
+ if (exports1.inspectOpts.hideDate) return '';
723
+ return new Date().toISOString() + ' ';
724
+ }
725
+ function log(...args) {
726
+ return process.stderr.write(util.formatWithOptions(exports1.inspectOpts, ...args) + '\n');
727
+ }
728
+ function save(namespaces) {
729
+ if (namespaces) process.env.DEBUG = namespaces;
730
+ else delete process.env.DEBUG;
731
+ }
732
+ function load() {
733
+ return process.env.DEBUG;
734
+ }
735
+ function init(debug) {
736
+ debug.inspectOpts = {};
737
+ const keys = Object.keys(exports1.inspectOpts);
738
+ for(let i = 0; i < keys.length; i++)debug.inspectOpts[keys[i]] = exports1.inspectOpts[keys[i]];
739
+ }
740
+ module.exports = __webpack_require__("./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js")(exports1);
741
+ const { formatters } = module.exports;
742
+ formatters.o = function(v) {
743
+ this.inspectOpts.colors = this.useColors;
744
+ return util.inspect(v, this.inspectOpts).split('\n').map((str)=>str.trim()).join(' ');
745
+ };
746
+ formatters.O = function(v) {
747
+ this.inspectOpts.colors = this.useColors;
748
+ return util.inspect(v, this.inspectOpts);
749
+ };
750
+ },
313
751
  "./node_modules/.pnpm/delayed-stream@1.0.0/node_modules/delayed-stream/lib/delayed_stream.js": function(module, __unused_webpack_exports, __webpack_require__) {
314
752
  var Stream = __webpack_require__("stream").Stream;
315
753
  var util = __webpack_require__("util");
@@ -472,11 +910,7 @@ var __webpack_modules__ = {
472
910
  module.exports = function() {
473
911
  if (!debug) {
474
912
  try {
475
- debug = __webpack_require__(Object(function() {
476
- var e = new Error("Cannot find module 'debug'");
477
- e.code = 'MODULE_NOT_FOUND';
478
- throw e;
479
- }()))("follow-redirects");
913
+ debug = __webpack_require__("./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js")("follow-redirects");
480
914
  } catch (error) {}
481
915
  if ("function" != typeof debug) debug = function() {};
482
916
  }
@@ -1711,6 +2145,15 @@ var __webpack_modules__ = {
1711
2145
  }
1712
2146
  module.exports = $gOPD;
1713
2147
  },
2148
+ "./node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js": function(module) {
2149
+ "use strict";
2150
+ module.exports = (flag, argv = process.argv)=>{
2151
+ const prefix = flag.startsWith('-') ? '' : 1 === flag.length ? '-' : '--';
2152
+ const position = argv.indexOf(prefix + flag);
2153
+ const terminatorPosition = argv.indexOf('--');
2154
+ return -1 !== position && (-1 === terminatorPosition || position < terminatorPosition);
2155
+ };
2156
+ },
1714
2157
  "./node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
1715
2158
  "use strict";
1716
2159
  var origSymbol = 'undefined' != typeof Symbol && Symbol;
@@ -1885,6 +2328,91 @@ var __webpack_modules__ = {
1885
2328
  });
1886
2329
  }
1887
2330
  },
2331
+ "./node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js": function(module) {
2332
+ var s = 1000;
2333
+ var m = 60 * s;
2334
+ var h = 60 * m;
2335
+ var d = 24 * h;
2336
+ var w = 7 * d;
2337
+ var y = 365.25 * d;
2338
+ module.exports = function(val, options) {
2339
+ options = options || {};
2340
+ var type = typeof val;
2341
+ if ('string' === type && val.length > 0) return parse(val);
2342
+ if ('number' === type && isFinite(val)) return options.long ? fmtLong(val) : fmtShort(val);
2343
+ throw new Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(val));
2344
+ };
2345
+ function parse(str) {
2346
+ str = String(str);
2347
+ if (str.length > 100) return;
2348
+ var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str);
2349
+ if (!match) return;
2350
+ var n = parseFloat(match[1]);
2351
+ var type = (match[2] || 'ms').toLowerCase();
2352
+ switch(type){
2353
+ case 'years':
2354
+ case 'year':
2355
+ case 'yrs':
2356
+ case 'yr':
2357
+ case 'y':
2358
+ return n * y;
2359
+ case 'weeks':
2360
+ case 'week':
2361
+ case 'w':
2362
+ return n * w;
2363
+ case 'days':
2364
+ case 'day':
2365
+ case 'd':
2366
+ return n * d;
2367
+ case 'hours':
2368
+ case 'hour':
2369
+ case 'hrs':
2370
+ case 'hr':
2371
+ case 'h':
2372
+ return n * h;
2373
+ case 'minutes':
2374
+ case 'minute':
2375
+ case 'mins':
2376
+ case 'min':
2377
+ case 'm':
2378
+ return n * m;
2379
+ case 'seconds':
2380
+ case 'second':
2381
+ case 'secs':
2382
+ case 'sec':
2383
+ case 's':
2384
+ return n * s;
2385
+ case 'milliseconds':
2386
+ case 'millisecond':
2387
+ case 'msecs':
2388
+ case 'msec':
2389
+ case 'ms':
2390
+ return n;
2391
+ default:
2392
+ return;
2393
+ }
2394
+ }
2395
+ function fmtShort(ms) {
2396
+ var msAbs = Math.abs(ms);
2397
+ if (msAbs >= d) return Math.round(ms / d) + 'd';
2398
+ if (msAbs >= h) return Math.round(ms / h) + 'h';
2399
+ if (msAbs >= m) return Math.round(ms / m) + 'm';
2400
+ if (msAbs >= s) return Math.round(ms / s) + 's';
2401
+ return ms + 'ms';
2402
+ }
2403
+ function fmtLong(ms) {
2404
+ var msAbs = Math.abs(ms);
2405
+ if (msAbs >= d) return plural(ms, msAbs, d, 'day');
2406
+ if (msAbs >= h) return plural(ms, msAbs, h, 'hour');
2407
+ if (msAbs >= m) return plural(ms, msAbs, m, 'minute');
2408
+ if (msAbs >= s) return plural(ms, msAbs, s, 'second');
2409
+ return ms + ' ms';
2410
+ }
2411
+ function plural(ms, msAbs, n, name) {
2412
+ var isPlural = msAbs >= 1.5 * n;
2413
+ return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
2414
+ }
2415
+ },
1888
2416
  "./node_modules/.pnpm/proxy-from-env@1.1.0/node_modules/proxy-from-env/index.js": function(__unused_webpack_module, exports1, __webpack_require__) {
1889
2417
  "use strict";
1890
2418
  var parseUrl = __webpack_require__("url").parse;
@@ -1933,6 +2461,74 @@ var __webpack_modules__ = {
1933
2461
  }
1934
2462
  exports1.getProxyForUrl = getProxyForUrl;
1935
2463
  },
2464
+ "./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
2465
+ "use strict";
2466
+ const os = __webpack_require__("os");
2467
+ const tty = __webpack_require__("tty");
2468
+ const hasFlag = __webpack_require__("./node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js");
2469
+ const { env } = process;
2470
+ let forceColor;
2471
+ if (hasFlag('no-color') || hasFlag('no-colors') || hasFlag('color=false') || hasFlag('color=never')) forceColor = 0;
2472
+ else if (hasFlag('color') || hasFlag('colors') || hasFlag('color=true') || hasFlag('color=always')) forceColor = 1;
2473
+ if ('FORCE_COLOR' in env) forceColor = 'true' === env.FORCE_COLOR ? 1 : 'false' === env.FORCE_COLOR ? 0 : 0 === env.FORCE_COLOR.length ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
2474
+ function translateLevel(level) {
2475
+ if (0 === level) return false;
2476
+ return {
2477
+ level,
2478
+ hasBasic: true,
2479
+ has256: level >= 2,
2480
+ has16m: level >= 3
2481
+ };
2482
+ }
2483
+ function supportsColor(haveStream, streamIsTTY) {
2484
+ if (0 === forceColor) return 0;
2485
+ if (hasFlag('color=16m') || hasFlag('color=full') || hasFlag('color=truecolor')) return 3;
2486
+ if (hasFlag('color=256')) return 2;
2487
+ if (haveStream && !streamIsTTY && void 0 === forceColor) return 0;
2488
+ const min = forceColor || 0;
2489
+ if ('dumb' === env.TERM) return min;
2490
+ if ('win32' === process.platform) {
2491
+ const osRelease = os.release().split('.');
2492
+ if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) return Number(osRelease[2]) >= 14931 ? 3 : 2;
2493
+ return 1;
2494
+ }
2495
+ if ('CI' in env) {
2496
+ if ([
2497
+ 'TRAVIS',
2498
+ 'CIRCLECI',
2499
+ 'APPVEYOR',
2500
+ 'GITLAB_CI',
2501
+ 'GITHUB_ACTIONS',
2502
+ 'BUILDKITE'
2503
+ ].some((sign)=>sign in env) || 'codeship' === env.CI_NAME) return 1;
2504
+ return min;
2505
+ }
2506
+ if ('TEAMCITY_VERSION' in env) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
2507
+ if ('truecolor' === env.COLORTERM) return 3;
2508
+ if ('TERM_PROGRAM' in env) {
2509
+ const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
2510
+ switch(env.TERM_PROGRAM){
2511
+ case 'iTerm.app':
2512
+ return version >= 3 ? 3 : 2;
2513
+ case 'Apple_Terminal':
2514
+ return 2;
2515
+ }
2516
+ }
2517
+ if (/-256(color)?$/i.test(env.TERM)) return 2;
2518
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) return 1;
2519
+ if ('COLORTERM' in env) return 1;
2520
+ return min;
2521
+ }
2522
+ function getSupportLevel(stream) {
2523
+ const level = supportsColor(stream, stream && stream.isTTY);
2524
+ return translateLevel(level);
2525
+ }
2526
+ module.exports = {
2527
+ supportsColor: getSupportLevel,
2528
+ stdout: translateLevel(supportsColor(true, tty.isatty(1))),
2529
+ stderr: translateLevel(supportsColor(true, tty.isatty(2)))
2530
+ };
2531
+ },
1936
2532
  assert: function(module) {
1937
2533
  "use strict";
1938
2534
  module.exports = require("assert");
@@ -1953,6 +2549,10 @@ var __webpack_modules__ = {
1953
2549
  "use strict";
1954
2550
  module.exports = require("https");
1955
2551
  },
2552
+ os: function(module) {
2553
+ "use strict";
2554
+ module.exports = require("os");
2555
+ },
1956
2556
  path: function(module) {
1957
2557
  "use strict";
1958
2558
  module.exports = require("path");
@@ -1961,6 +2561,10 @@ var __webpack_modules__ = {
1961
2561
  "use strict";
1962
2562
  module.exports = require("stream");
1963
2563
  },
2564
+ tty: function(module) {
2565
+ "use strict";
2566
+ module.exports = require("tty");
2567
+ },
1964
2568
  url: function(module) {
1965
2569
  "use strict";
1966
2570
  module.exports = require("url");
@@ -2253,7 +2857,7 @@ var __webpack_exports__ = {};
2253
2857
  MtaTransactionPaymentMethod: ()=>mta_payment_method_constant_MtaTransactionPaymentMethod,
2254
2858
  JsonNullableFilterSchema: ()=>JsonNullableFilterSchema,
2255
2859
  stringToEndOfDaySchema: ()=>stringToEndOfDaySchema,
2256
- PACKAGE_VERSION: ()=>"1.0.6",
2860
+ PACKAGE_VERSION: ()=>"1.0.9",
2257
2861
  createSettlementPayoutRestReqSchema: ()=>createSettlementPayoutRestReqSchema,
2258
2862
  DEFAULT_PAYOUT_TARGET_BANK_REF: ()=>DEFAULT_PAYOUT_TARGET_BANK_REF,
2259
2863
  CmaTransactionStatus: ()=>CmaTransactionStatus,
@@ -3273,7 +3877,7 @@ var __webpack_exports__ = {};
3273
3877
  external_zod_namespaceObject.z.coerce.bigint(),
3274
3878
  external_zod_namespaceObject.z.coerce.number()
3275
3879
  ]).pipe(external_zod_namespaceObject.z.bigint()),
3276
- isCmaRequired: external_zod_namespaceObject.z.boolean(),
3880
+ isCmaRequired: external_zod_namespaceObject.z.boolean().prefault(true).default(true),
3277
3881
  cmaNotRequiredReason: external_zod_namespaceObject.z.string().nullish(),
3278
3882
  stage: external_zod_namespaceObject.z.string(),
3279
3883
  status: external_zod_namespaceObject.z.string(),
@@ -4560,7 +5164,7 @@ var __webpack_exports__ = {};
4560
5164
  });
4561
5165
  const mtaToCmaPayoutSourceDetailRestSchema = mtaToCmaPayoutSourceDetailEntitySchema.extend({
4562
5166
  debitAmountCents: centsToDollarsSchema,
4563
- property: external_zod_namespaceObject.z.lazy(()=>propertyRestResBaseSchema).nullish(),
5167
+ property: external_zod_namespaceObject.z.lazy(()=>propertyRestResBaseSchema.partial()).nullish(),
4564
5168
  mtaTransaction: external_zod_namespaceObject.z.lazy(()=>mtaTransactionRestResSchema).nullish()
4565
5169
  }).loose();
4566
5170
  const mtaToCmaPayoutTargetDetailRestSchema = mtaToCmaPayoutTargetDetailEntitySchema.extend({