@pax2pay/model-banking 0.1.423 → 0.1.424

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 (104) hide show
  1. package/dist/Account/Creatable.d.ts +3 -3
  2. package/dist/Account/History.d.ts +3 -3
  3. package/dist/Account/Status.d.ts +3 -3
  4. package/dist/Account/index.d.ts +3 -3
  5. package/dist/Acquirer/index.d.ts +1 -2
  6. package/dist/Amount.d.ts +2 -2
  7. package/dist/Amounts.d.ts +2 -2
  8. package/dist/Authorization/Creatable.d.ts +3 -3
  9. package/dist/Authorization/Exchange.d.ts +1 -2
  10. package/dist/Authorization/index.d.ts +1 -2
  11. package/dist/Balance.d.ts +1 -1
  12. package/dist/Balances.d.ts +2 -2
  13. package/dist/Card/Changeable.d.ts +4 -4
  14. package/dist/Card/Creatable.d.ts +2 -3
  15. package/dist/Card/Expiry.d.ts +1 -1
  16. package/dist/Card/Operation/Authorization.d.ts +2 -3
  17. package/dist/Card/Operation/Card.d.ts +2 -3
  18. package/dist/Card/Operation/index.d.ts +1 -1
  19. package/dist/Card/Preset.d.ts +2 -2
  20. package/dist/Card/Stack.d.ts +2 -2
  21. package/dist/Card/index.d.ts +2 -3
  22. package/dist/Counterbalance.d.ts +1 -1
  23. package/dist/Exchange.d.ts +363 -3
  24. package/dist/Identifier.d.ts +2 -2
  25. package/dist/Key/Roles.d.ts +1 -1
  26. package/dist/Label.d.ts +5 -5
  27. package/dist/Log/Entry.d.ts +2 -3
  28. package/dist/Log/Message/Configuration.d.ts +1 -2
  29. package/dist/Log/Message/Entry.d.ts +1 -2
  30. package/dist/Log/index.d.ts +1 -2
  31. package/dist/Merchant/index.d.ts +3 -3
  32. package/dist/Operation/Change.d.ts +9 -9
  33. package/dist/Operation/Changes.d.ts +2 -2
  34. package/dist/Operation/Creatable.d.ts +3 -3
  35. package/dist/Operation/Status.d.ts +2 -2
  36. package/dist/Operation/index.d.ts +3 -3
  37. package/dist/Organization/Changeable.d.ts +3 -3
  38. package/dist/Organization/Contact/Address/GB.d.ts +3 -3
  39. package/dist/Organization/Contact/Address/General.d.ts +3 -3
  40. package/dist/Organization/Contact/Address/SE.d.ts +3 -3
  41. package/dist/Organization/Contact/Address/index.d.ts +2 -2
  42. package/dist/Organization/Contact/Addresses.d.ts +3 -3
  43. package/dist/Organization/Contact/index.d.ts +2 -3
  44. package/dist/Organization/index.d.ts +3 -3
  45. package/dist/Rail/Address/Card.d.ts +4 -4
  46. package/dist/Rail/Address/Iban.d.ts +2 -3
  47. package/dist/Rail/Address/PaxGiro.d.ts +2 -3
  48. package/dist/Rail/Address/PaxgiroCredit.d.ts +1 -2
  49. package/dist/Rail/Address/Route.d.ts +2 -2
  50. package/dist/Rail/Address/Scan.d.ts +2 -3
  51. package/dist/Rail/Address/index.d.ts +1 -1
  52. package/dist/Rail/Address/internal.d.ts +3 -3
  53. package/dist/Realm.d.ts +2 -2
  54. package/dist/Rule/Base.d.ts +1 -1
  55. package/dist/Rule/Charge.d.ts +1 -2
  56. package/dist/Rule/Other.d.ts +1 -1
  57. package/dist/Rule/Reserve.d.ts +2 -3
  58. package/dist/Rule/Score.d.ts +1 -1
  59. package/dist/Rule/State/Authorization.d.ts +3 -3
  60. package/dist/Rule/State/Card.d.ts +3 -3
  61. package/dist/Rule/State/Partial.d.ts +3 -3
  62. package/dist/Settlement/Amount.d.ts +1 -2
  63. package/dist/Settlement/Batch.d.ts +1 -1
  64. package/dist/Settlement/Creatable.d.ts +3 -3
  65. package/dist/Settlement/Entry/Cancel.d.ts +6 -6
  66. package/dist/Settlement/Entry/Capture.d.ts +6 -6
  67. package/dist/Settlement/Entry/Creatable.d.ts +2 -2
  68. package/dist/Settlement/Entry/Refund.d.ts +6 -6
  69. package/dist/Settlement/Entry/Summary.d.ts +3 -3
  70. package/dist/Settlement/Entry/Unknown.d.ts +6 -6
  71. package/dist/Settlement/Entry/index.d.ts +2 -2
  72. package/dist/Settlement/Fee.d.ts +3 -3
  73. package/dist/Settlement/Status.d.ts +3 -3
  74. package/dist/Settlement/Total.d.ts +2 -3
  75. package/dist/Settlement/index.d.ts +3 -3
  76. package/dist/Supplier/index.d.ts +1 -1
  77. package/dist/Transaction/Creatable.d.ts +4 -4
  78. package/dist/Transaction/Incoming.d.ts +3 -3
  79. package/dist/Transaction/Note.d.ts +4 -5
  80. package/dist/Transaction/Reference.d.ts +2 -3
  81. package/dist/Transaction/Statistics.d.ts +1 -1
  82. package/dist/Transaction/index.d.ts +9 -9
  83. package/dist/Treasury/Account/Conditions.d.ts +2 -3
  84. package/dist/Treasury/Account/Fetchable.d.ts +1 -2
  85. package/dist/Treasury/Account/Storable.d.ts +1 -2
  86. package/dist/Treasury/Account/index.d.ts +1 -2
  87. package/dist/Treasury/Balance/index.d.ts +2 -2
  88. package/dist/Treasury/Snapshot/Fragment.d.ts +2 -2
  89. package/dist/Treasury/Snapshot/funding.d.ts +1 -1
  90. package/dist/Treasury/Transaction/Creatable.d.ts +1 -2
  91. package/dist/Treasury/Transaction/index.d.ts +1 -2
  92. package/dist/Warning/Base.d.ts +1 -2
  93. package/dist/Warning/Issue.d.ts +2 -3
  94. package/dist/Warning/Settlement/MissingFile.d.ts +1 -2
  95. package/dist/Warning/Settlement/NegativeAmount.d.ts +1 -2
  96. package/dist/Warning/Settlement/UnknownEntry.d.ts +1 -2
  97. package/dist/Warning/Snapshot/Counterbalance.d.ts +1 -2
  98. package/dist/Warning/Snapshot/MissingBuffer.d.ts +1 -2
  99. package/dist/Warning/Snapshot/MissingEmoney.d.ts +1 -2
  100. package/dist/Warning/Snapshot/MissingFiat.d.ts +1 -2
  101. package/dist/Warning/Snapshot/Overdraft.d.ts +1 -2
  102. package/dist/Warning/Snapshot/StaleFiat.d.ts +1 -2
  103. package/package.json +10 -10
  104. package/verifier/index.ts +2 -2
@@ -183,7 +183,7 @@ export declare namespace Exchange {
183
183
  ZMW: any;
184
184
  ZWL: any;
185
185
  }>;
186
- const is: isly.Type.IsFunction<{
186
+ const is: (value: any | {
187
187
  BTN: any;
188
188
  CHE: any;
189
189
  MKD: any;
@@ -363,7 +363,367 @@ export declare namespace Exchange {
363
363
  ZAR: any;
364
364
  ZMW: any;
365
365
  ZWL: any;
366
- }>;
367
- const flaw: isly.Type.FlawFunction;
366
+ }) => value is {
367
+ BTN: any;
368
+ CHE: any;
369
+ MKD: any;
370
+ AED: any;
371
+ AFN: any;
372
+ ALL: any;
373
+ AMD: any;
374
+ ANG: any;
375
+ AOA: any;
376
+ ARS: any;
377
+ AUD: any;
378
+ AWG: any;
379
+ AZN: any;
380
+ BAM: any;
381
+ BBD: any;
382
+ BDT: any;
383
+ BGN: any;
384
+ BHD: any;
385
+ BIF: any;
386
+ BMD: any;
387
+ BND: any;
388
+ BOB: any;
389
+ BOV: any;
390
+ BRL: any;
391
+ BSD: any;
392
+ BWP: any;
393
+ BYN: any;
394
+ BZD: any;
395
+ CAD: any;
396
+ CDF: any;
397
+ CHF: any;
398
+ CHW: any;
399
+ CLF: any;
400
+ CLP: any;
401
+ CNY: any;
402
+ COP: any;
403
+ COU: any;
404
+ CRC: any;
405
+ CUC: any;
406
+ CUP: any;
407
+ CVE: any;
408
+ CZK: any;
409
+ DJF: any;
410
+ DKK: any;
411
+ DOP: any;
412
+ DZD: any;
413
+ EGP: any;
414
+ ERN: any;
415
+ ETB: any;
416
+ EUR: any;
417
+ FJD: any;
418
+ FKP: any;
419
+ GBP: any;
420
+ GEL: any;
421
+ GHS: any;
422
+ GIP: any;
423
+ GMD: any;
424
+ GNF: any;
425
+ GTQ: any;
426
+ GYD: any;
427
+ HKD: any;
428
+ HNL: any;
429
+ HRK: any;
430
+ HTG: any;
431
+ HUF: any;
432
+ IDR: any;
433
+ ILS: any;
434
+ INR: any;
435
+ IQD: any;
436
+ IRR: any;
437
+ ISK: any;
438
+ JMD: any;
439
+ JOD: any;
440
+ JPY: any;
441
+ KES: any;
442
+ KGS: any;
443
+ KHR: any;
444
+ KMF: any;
445
+ KPW: any;
446
+ KRW: any;
447
+ KWD: any;
448
+ KYD: any;
449
+ KZT: any;
450
+ LAK: any;
451
+ LBP: any;
452
+ LKR: any;
453
+ LRD: any;
454
+ LSL: any;
455
+ LYD: any;
456
+ MAD: any;
457
+ MDL: any;
458
+ MGA: any;
459
+ MMK: any;
460
+ MNT: any;
461
+ MOP: any;
462
+ MRU: any;
463
+ MUR: any;
464
+ MVR: any;
465
+ MWK: any;
466
+ MXN: any;
467
+ MXV: any;
468
+ MYR: any;
469
+ MZN: any;
470
+ NAD: any;
471
+ NGN: any;
472
+ NIO: any;
473
+ NOK: any;
474
+ NPR: any;
475
+ NZD: any;
476
+ OMR: any;
477
+ PAB: any;
478
+ PEN: any;
479
+ PGK: any;
480
+ PHP: any;
481
+ PKR: any;
482
+ PLN: any;
483
+ PYG: any;
484
+ QAR: any;
485
+ RON: any;
486
+ RSD: any;
487
+ RUB: any;
488
+ RWF: any;
489
+ SAR: any;
490
+ SBD: any;
491
+ SCR: any;
492
+ SDG: any;
493
+ SEK: any;
494
+ SGD: any;
495
+ SHP: any;
496
+ SLL: any;
497
+ SOS: any;
498
+ SRD: any;
499
+ SSP: any;
500
+ STN: any;
501
+ SVC: any;
502
+ SYP: any;
503
+ SZL: any;
504
+ THB: any;
505
+ TJS: any;
506
+ TMT: any;
507
+ TND: any;
508
+ TOP: any;
509
+ TRY: any;
510
+ TTD: any;
511
+ TWD: any;
512
+ TZS: any;
513
+ UAH: any;
514
+ UGX: any;
515
+ USD: any;
516
+ USN: any;
517
+ UYI: any;
518
+ UYU: any;
519
+ UYW: any;
520
+ UZS: any;
521
+ VES: any;
522
+ VND: any;
523
+ VUV: any;
524
+ WST: any;
525
+ XAF: any;
526
+ XAG: any;
527
+ XAU: any;
528
+ XBA: any;
529
+ XBB: any;
530
+ XBC: any;
531
+ XBD: any;
532
+ XCD: any;
533
+ XDR: any;
534
+ XOF: any;
535
+ XPD: any;
536
+ XPF: any;
537
+ XPT: any;
538
+ XSU: any;
539
+ XTS: any;
540
+ XUA: any;
541
+ XXX: any;
542
+ YER: any;
543
+ ZAR: any;
544
+ ZMW: any;
545
+ ZWL: any;
546
+ };
547
+ const flaw: (value: {
548
+ BTN: any;
549
+ CHE: any;
550
+ MKD: any;
551
+ AED: any;
552
+ AFN: any;
553
+ ALL: any;
554
+ AMD: any;
555
+ ANG: any;
556
+ AOA: any;
557
+ ARS: any;
558
+ AUD: any;
559
+ AWG: any;
560
+ AZN: any;
561
+ BAM: any;
562
+ BBD: any;
563
+ BDT: any;
564
+ BGN: any;
565
+ BHD: any;
566
+ BIF: any;
567
+ BMD: any;
568
+ BND: any;
569
+ BOB: any;
570
+ BOV: any;
571
+ BRL: any;
572
+ BSD: any;
573
+ BWP: any;
574
+ BYN: any;
575
+ BZD: any;
576
+ CAD: any;
577
+ CDF: any;
578
+ CHF: any;
579
+ CHW: any;
580
+ CLF: any;
581
+ CLP: any;
582
+ CNY: any;
583
+ COP: any;
584
+ COU: any;
585
+ CRC: any;
586
+ CUC: any;
587
+ CUP: any;
588
+ CVE: any;
589
+ CZK: any;
590
+ DJF: any;
591
+ DKK: any;
592
+ DOP: any;
593
+ DZD: any;
594
+ EGP: any;
595
+ ERN: any;
596
+ ETB: any;
597
+ EUR: any;
598
+ FJD: any;
599
+ FKP: any;
600
+ GBP: any;
601
+ GEL: any;
602
+ GHS: any;
603
+ GIP: any;
604
+ GMD: any;
605
+ GNF: any;
606
+ GTQ: any;
607
+ GYD: any;
608
+ HKD: any;
609
+ HNL: any;
610
+ HRK: any;
611
+ HTG: any;
612
+ HUF: any;
613
+ IDR: any;
614
+ ILS: any;
615
+ INR: any;
616
+ IQD: any;
617
+ IRR: any;
618
+ ISK: any;
619
+ JMD: any;
620
+ JOD: any;
621
+ JPY: any;
622
+ KES: any;
623
+ KGS: any;
624
+ KHR: any;
625
+ KMF: any;
626
+ KPW: any;
627
+ KRW: any;
628
+ KWD: any;
629
+ KYD: any;
630
+ KZT: any;
631
+ LAK: any;
632
+ LBP: any;
633
+ LKR: any;
634
+ LRD: any;
635
+ LSL: any;
636
+ LYD: any;
637
+ MAD: any;
638
+ MDL: any;
639
+ MGA: any;
640
+ MMK: any;
641
+ MNT: any;
642
+ MOP: any;
643
+ MRU: any;
644
+ MUR: any;
645
+ MVR: any;
646
+ MWK: any;
647
+ MXN: any;
648
+ MXV: any;
649
+ MYR: any;
650
+ MZN: any;
651
+ NAD: any;
652
+ NGN: any;
653
+ NIO: any;
654
+ NOK: any;
655
+ NPR: any;
656
+ NZD: any;
657
+ OMR: any;
658
+ PAB: any;
659
+ PEN: any;
660
+ PGK: any;
661
+ PHP: any;
662
+ PKR: any;
663
+ PLN: any;
664
+ PYG: any;
665
+ QAR: any;
666
+ RON: any;
667
+ RSD: any;
668
+ RUB: any;
669
+ RWF: any;
670
+ SAR: any;
671
+ SBD: any;
672
+ SCR: any;
673
+ SDG: any;
674
+ SEK: any;
675
+ SGD: any;
676
+ SHP: any;
677
+ SLL: any;
678
+ SOS: any;
679
+ SRD: any;
680
+ SSP: any;
681
+ STN: any;
682
+ SVC: any;
683
+ SYP: any;
684
+ SZL: any;
685
+ THB: any;
686
+ TJS: any;
687
+ TMT: any;
688
+ TND: any;
689
+ TOP: any;
690
+ TRY: any;
691
+ TTD: any;
692
+ TWD: any;
693
+ TZS: any;
694
+ UAH: any;
695
+ UGX: any;
696
+ USD: any;
697
+ USN: any;
698
+ UYI: any;
699
+ UYU: any;
700
+ UYW: any;
701
+ UZS: any;
702
+ VES: any;
703
+ VND: any;
704
+ VUV: any;
705
+ WST: any;
706
+ XAF: any;
707
+ XAG: any;
708
+ XAU: any;
709
+ XBA: any;
710
+ XBB: any;
711
+ XBC: any;
712
+ XBD: any;
713
+ XCD: any;
714
+ XDR: any;
715
+ XOF: any;
716
+ XPD: any;
717
+ XPF: any;
718
+ XPT: any;
719
+ XSU: any;
720
+ XTS: any;
721
+ XUA: any;
722
+ XXX: any;
723
+ YER: any;
724
+ ZAR: any;
725
+ ZMW: any;
726
+ ZWL: any;
727
+ } | any) => isly.Flaw;
368
728
  function convert(amount: number, from: isoly.Currency, to: isoly.Currency, table: Exchange.Rates): number | undefined;
369
729
  }
@@ -6,6 +6,6 @@ export declare namespace Identifier {
6
6
  function generate(date?: isoly.DateTime, length?: cryptly.Identifier.Length, ordering?: "ordered" | "reversed"): string;
7
7
  function timeOf(identifier: cryptly.Identifier, ordering?: "ordered" | "reversed"): isoly.DateTime;
8
8
  const type: isly.Type<string>;
9
- const is: isly.Type.IsFunction<string>;
10
- const flaw: isly.Type.FlawFunction;
9
+ const is: (value: any | string) => value is string;
10
+ const flaw: (value: string | any) => isly.Flaw;
11
11
  }
@@ -15,7 +15,7 @@ export declare namespace Roles {
15
15
  type Role = typeof roles[number];
16
16
  const roles: readonly ["admin", "fincrime-readonly", "fincrime", "finance", "operations", "support"];
17
17
  const type: isly.Type<"fincrime" | "operations" | "admin" | "fincrime-readonly" | "finance" | "support">;
18
- const is: isly.Type.IsFunction<"fincrime" | "operations" | "admin" | "fincrime-readonly" | "finance" | "support">;
18
+ const is: (value: any | ("fincrime" | "operations" | "admin" | "fincrime-readonly" | "finance" | "support")) => value is "fincrime" | "operations" | "admin" | "fincrime-readonly" | "finance" | "support";
19
19
  const definitions: Record<Role, Permissions.Realm | true>;
20
20
  }
21
21
  namespace Organization {
package/dist/Label.d.ts CHANGED
@@ -5,14 +5,14 @@ export interface Label {
5
5
  description: string;
6
6
  }
7
7
  export declare namespace Label {
8
- const type: isly.object.ExtendableType<Label>;
9
- const is: isly.Type.IsFunction<Label>;
10
- const flaw: isly.Type.FlawFunction;
8
+ const type: import("isly/dist/cjs/object").IslyObject<Label, object>;
9
+ const is: (value: Label | any) => value is Label;
10
+ const flaw: (value: Label | any) => isly.Flaw;
11
11
  type Type = typeof Type.values[number];
12
12
  namespace Type {
13
13
  const values: readonly ["flag", "group"];
14
14
  const type: isly.Type<"group" | "flag">;
15
- const is: isly.Type.IsFunction<"group" | "flag">;
16
- const flaw: isly.Type.FlawFunction;
15
+ const is: (value: any | ("group" | "flag")) => value is "group" | "flag";
16
+ const flaw: (value: ("group" | "flag") | any) => isly.Flaw;
17
17
  }
18
18
  }
@@ -1,4 +1,3 @@
1
- import { isly } from "isly";
2
1
  export interface Entry {
3
2
  message: string;
4
3
  data?: any;
@@ -7,9 +6,9 @@ export declare namespace Entry {
7
6
  type Message = Entry & {
8
7
  resource?: string;
9
8
  };
10
- const type: isly.object.ExtendableType<Entry>;
9
+ const type: import("isly/dist/cjs/object").IslyObject<Entry, object>;
11
10
  namespace Message {
12
- const type: isly.object.ExtendableType<Message>;
11
+ const type: import("isly/dist/cjs/object").IslyObject<Message, Entry>;
13
12
  function to(message: string, data: any | undefined, resource: string | undefined): Entry.Message;
14
13
  }
15
14
  }
@@ -1,5 +1,4 @@
1
1
  import { TraceLog } from "@cloudflare/workers-types";
2
- import { isly } from "isly";
3
2
  import { Realm } from "../../Realm";
4
3
  export interface Configuration {
5
4
  realm: Realm;
@@ -8,6 +7,6 @@ export interface Configuration {
8
7
  requireEntries?: boolean;
9
8
  }
10
9
  export declare namespace Configuration {
11
- const type: isly.object.ExtendableType<Configuration>;
10
+ const type: import("isly/dist/cjs/object").IslyObject<Configuration, object>;
12
11
  function fromTraceLog(trace: TraceLog | undefined): Configuration | undefined;
13
12
  }
@@ -1,5 +1,4 @@
1
1
  import { TraceLog } from "@cloudflare/workers-types";
2
- import { isly } from "isly";
3
2
  import type { Log } from "../index";
4
3
  export interface Entry {
5
4
  message: string;
@@ -7,7 +6,7 @@ export interface Entry {
7
6
  data?: any;
8
7
  }
9
8
  export declare namespace Entry {
10
- const type: isly.object.ExtendableType<Log.Message.Entry>;
9
+ const type: import("isly/dist/cjs/object").IslyObject<Log.Message.Entry, object>;
11
10
  function fromEventLogs(trace: TraceLog): {
12
11
  entry: Log.Entry;
13
12
  resource: Log["resource"];
@@ -1,6 +1,5 @@
1
1
  import { isoly } from "isoly";
2
2
  import { TraceItem } from "@cloudflare/workers-types";
3
- import { isly } from "isly";
4
3
  import { Identifier } from "../Identifier";
5
4
  import { Realm } from "../Realm";
6
5
  import { Entry as LogEntry } from "./Entry";
@@ -17,7 +16,7 @@ export interface Log {
17
16
  export declare namespace Log {
18
17
  export import Message = LogMessage;
19
18
  export import Entry = LogEntry;
20
- const type: isly.object.ExtendableType<Log>;
19
+ const type: import("isly/dist/cjs/object").IslyObject<Log, object>;
21
20
  function fromEvents(events: TraceItem[]): Log[];
22
21
  function configure(collection: string, realm: string | undefined, resource?: string, requireEntries?: boolean): void;
23
22
  function log(message: string, data?: any, resource?: string): void;
@@ -11,7 +11,7 @@ export interface Merchant {
11
11
  country: isoly.CountryCode.Alpha2;
12
12
  }
13
13
  export declare namespace Merchant {
14
- const type: isly.object.ExtendableType<Merchant>;
15
- const is: isly.Type.IsFunction<Merchant>;
16
- const flaw: isly.Type.FlawFunction;
14
+ const type: import("isly/dist/cjs/object").IslyObject<Merchant, object>;
15
+ const is: (value: Merchant | any) => value is Merchant;
16
+ const flaw: (value: Merchant | any) => isly.Flaw;
17
17
  }
@@ -9,17 +9,17 @@ export interface Change<T extends Change.Operand = Change.Operand> {
9
9
  export declare namespace Change {
10
10
  const operand: readonly ["add", "subtract"];
11
11
  type Operand = typeof operand[number];
12
- const type: isly.object.ExtendableType<Change<"add" | "subtract">>;
13
- const is: isly.Type.IsFunction<Change<"add" | "subtract">>;
14
- const flaw: isly.Type.FlawFunction;
12
+ const type: import("isly/dist/cjs/object").IslyObject<Change<"add" | "subtract">, object>;
13
+ const is: (value: Change<"add" | "subtract"> | any) => value is Change<"add" | "subtract">;
14
+ const flaw: (value: Change<"add" | "subtract"> | any) => isly.Flaw;
15
15
  namespace Add {
16
- const type: isly.object.ExtendableType<Change<"add">>;
17
- const is: isly.Type.IsFunction<Change<"add">>;
18
- const flaw: isly.Type.FlawFunction;
16
+ const type: import("isly/dist/cjs/object").IslyObject<Change<"add">, Change<"add" | "subtract">>;
17
+ const is: (value: Change<"add"> | any) => value is Change<"add">;
18
+ const flaw: (value: Change<"add"> | any) => isly.Flaw;
19
19
  }
20
20
  namespace Subtract {
21
- const type: isly.object.ExtendableType<Change<"subtract">>;
22
- const is: isly.Type.IsFunction<Change<"subtract">>;
23
- const flaw: isly.Type.FlawFunction;
21
+ const type: import("isly/dist/cjs/object").IslyObject<Change<"subtract">, Change<"add" | "subtract">>;
22
+ const is: (value: Change<"subtract"> | any) => value is Change<"subtract">;
23
+ const flaw: (value: Change<"subtract"> | any) => isly.Flaw;
24
24
  }
25
25
  }
@@ -15,8 +15,8 @@ export declare namespace Changes {
15
15
  type Legacy = Partial<Record<AccountBalance.Legacy.Entry, Change>> & Record<Changes.Entry.Counterbalance, Change>;
16
16
  namespace Legacy {
17
17
  const type: isly.Type<Legacy>;
18
- const is: isly.Type.IsFunction<Legacy>;
19
- const flaw: isly.Type.FlawFunction;
18
+ const is: (value: any | Legacy) => value is Legacy;
19
+ const flaw: (value: Legacy | any) => isly.Flaw;
20
20
  type Entry = AccountBalance.Legacy.Entry | Legacy.Entry.Counterbalance;
21
21
  namespace Entry {
22
22
  function split(counterbalance: Counterbalance): [isoly.DateTime, CounterbalanceOperation.Link];
@@ -12,8 +12,8 @@ export interface Creatable {
12
12
  export declare namespace Creatable {
13
13
  const types: readonly ["incoming", "finalizeIncoming", "outgoing", "finalizeOutgoing", "authorization", "capture", "charge", "refund", "cancel", "remove", "collect", "manual", "fund", "legacy", "adjustBuffer"];
14
14
  type Type = typeof types[number];
15
- const type: isly.object.ExtendableType<Creatable>;
16
- const is: isly.Type.IsFunction<Creatable>;
17
- const flaw: isly.Type.FlawFunction;
15
+ const type: import("isly/dist/cjs/object").IslyObject<Creatable, object>;
16
+ const is: (value: Creatable | any) => value is Creatable;
17
+ const flaw: (value: Creatable | any) => isly.Flaw;
18
18
  function fromRefund(account: string, settlement: string, entry: Settlement.Entry.Refund.Creatable): Creatable;
19
19
  }
@@ -3,6 +3,6 @@ export type Status = typeof Status.values[number];
3
3
  export declare namespace Status {
4
4
  const values: readonly ["pending", "success", "failed"];
5
5
  const type: isly.Type<"pending" | "success" | "failed">;
6
- const is: isly.Type.IsFunction<"pending" | "success" | "failed">;
7
- const flaw: isly.Type.FlawFunction;
6
+ const is: (value: any | ("pending" | "success" | "failed")) => value is "pending" | "success" | "failed";
7
+ const flaw: (value: ("pending" | "success" | "failed") | any) => isly.Flaw;
8
8
  }
@@ -18,8 +18,8 @@ export declare namespace Operation {
18
18
  export import Creatable = OperationCreatable;
19
19
  export import Changes = OperationChanges;
20
20
  export import Change = OperationChange;
21
- const type: isly.object.ExtendableType<Operation>;
22
- const is: isly.Type.IsFunction<Operation>;
23
- const flaw: isly.Type.FlawFunction;
21
+ const type: import("isly/dist/cjs/object").IslyObject<Operation, Creatable>;
22
+ const is: (value: Operation | any) => value is Operation;
23
+ const flaw: (value: Operation | any) => isly.Flaw;
24
24
  function fromCreatable(transaction: string, creatable: Creatable): Operation;
25
25
  }
@@ -5,7 +5,7 @@ export interface Changeable {
5
5
  contact?: Contact;
6
6
  }
7
7
  export declare namespace Changeable {
8
- const type: isly.object.ExtendableType<Changeable>;
9
- const is: isly.Type.IsFunction<Changeable>;
10
- const flaw: isly.Type.FlawFunction;
8
+ const type: import("isly/dist/cjs/object").IslyObject<Changeable, object>;
9
+ const is: (value: Changeable | any) => value is Changeable;
10
+ const flaw: (value: Changeable | any) => isly.Flaw;
11
11
  }
@@ -8,7 +8,7 @@ export interface GB {
8
8
  }
9
9
  export declare namespace GB {
10
10
  const name: string;
11
- const type: isly.object.ExtendableType<GB>;
12
- const is: isly.Type.IsFunction<GB>;
13
- const flaw: isly.Type.FlawFunction;
11
+ const type: import("isly/dist/cjs/object").IslyObject<GB, object>;
12
+ const is: (value: GB | any) => value is GB;
13
+ const flaw: (value: GB | any) => isly.Flaw;
14
14
  }
@@ -9,7 +9,7 @@ export interface Default {
9
9
  street: string;
10
10
  }
11
11
  export declare namespace Default {
12
- const type: isly.object.ExtendableType<Default>;
13
- const is: isly.Type.IsFunction<Default>;
14
- const flaw: isly.Type.FlawFunction;
12
+ const type: import("isly/dist/cjs/object").IslyObject<Default, object>;
13
+ const is: (value: Default | any) => value is Default;
14
+ const flaw: (value: Default | any) => isly.Flaw;
15
15
  }
@@ -6,7 +6,7 @@ export interface SE {
6
6
  street: string;
7
7
  }
8
8
  export declare namespace SE {
9
- const type: isly.object.ExtendableType<SE>;
10
- const is: isly.Type.IsFunction<SE>;
11
- const flaw: isly.Type.FlawFunction;
9
+ const type: import("isly/dist/cjs/object").IslyObject<SE, object>;
10
+ const is: (value: SE | any) => value is SE;
11
+ const flaw: (value: SE | any) => isly.Flaw;
12
12
  }
@@ -5,6 +5,6 @@ import { SE } from "./SE";
5
5
  export type Address = GB | SE | Default;
6
6
  export declare namespace Address {
7
7
  const type: isly.Type<GB | Default | SE>;
8
- const is: isly.Type.IsFunction<GB | Default | SE>;
9
- const flaw: isly.Type.FlawFunction;
8
+ const is: (value: any | (GB | Default | SE)) => value is GB | Default | SE;
9
+ const flaw: (value: (GB | Default | SE) | any) => isly.Flaw;
10
10
  }
@@ -7,7 +7,7 @@ export interface Addresses {
7
7
  visit?: Address;
8
8
  }
9
9
  export declare namespace Addresses {
10
- const type: isly.object.ExtendableType<Addresses>;
11
- const is: isly.Type.IsFunction<Addresses>;
12
- const flaw: isly.Type.FlawFunction;
10
+ const type: import("isly/dist/cjs/object").IslyObject<Addresses, object>;
11
+ const is: (value: Addresses | any) => value is Addresses;
12
+ const flaw: (value: Addresses | any) => isly.Flaw;
13
13
  }
@@ -1,5 +1,4 @@
1
1
  import { isoly } from "isoly";
2
- import { isly } from "isly";
3
2
  import { Address as ContactAddress } from "./Address";
4
3
  import { Addresses as ContactAddresses } from "./Addresses";
5
4
  export interface Contact {
@@ -19,6 +18,6 @@ export declare namespace Contact {
19
18
  type Addresses = ContactAddresses;
20
19
  const Address: typeof ContactAddress;
21
20
  type Address = ContactAddress;
22
- const type: isly.object.ExtendableType<Contact>;
23
- const is: isly.Type.IsFunction<Contact>;
21
+ const type: import("isly/dist/cjs/object").IslyObject<Contact, object>;
22
+ const is: (value: Contact | any) => value is Contact;
24
23
  }
@@ -12,9 +12,9 @@ export interface Organization {
12
12
  groups?: string[];
13
13
  }
14
14
  export declare namespace Organization {
15
- const type: isly.object.ExtendableType<Rule.State.Organization>;
16
- const is: isly.Type.IsFunction<Rule.State.Organization>;
17
- const flaw: isly.Type.FlawFunction;
15
+ const type: import("isly/dist/cjs/object").IslyObject<Rule.State.Organization, object>;
16
+ const is: (value: Rule.State.Organization | any) => value is Rule.State.Organization;
17
+ const flaw: (value: Rule.State.Organization | any) => isly.Flaw;
18
18
  type Changeable = OrganizationChangeable;
19
19
  const Changeable: typeof OrganizationChangeable;
20
20
  type Contact = OrganizationContact;