increase 0.248.0 → 0.249.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -345,6 +345,13 @@ export namespace DeclinedTransaction {
345
345
  */
346
346
  actioner: 'user' | 'increase' | 'network';
347
347
 
348
+ /**
349
+ * Additional amounts associated with the card authorization, such as ATM
350
+ * surcharges fees. These are usually a subset of the `amount` field and are used
351
+ * to provide more detailed information about the transaction.
352
+ */
353
+ additional_amounts: CardDecline.AdditionalAmounts;
354
+
348
355
  /**
349
356
  * The declined amount in the minor unit of the destination account currency. For
350
357
  * dollars, for example, this is cents.
@@ -595,6 +602,204 @@ export namespace DeclinedTransaction {
595
602
  }
596
603
 
597
604
  export namespace CardDecline {
605
+ /**
606
+ * Additional amounts associated with the card authorization, such as ATM
607
+ * surcharges fees. These are usually a subset of the `amount` field and are used
608
+ * to provide more detailed information about the transaction.
609
+ */
610
+ export interface AdditionalAmounts {
611
+ /**
612
+ * The part of this transaction amount that was for clinic-related services.
613
+ */
614
+ clinic: AdditionalAmounts.Clinic | null;
615
+
616
+ /**
617
+ * The part of this transaction amount that was for dental-related services.
618
+ */
619
+ dental: AdditionalAmounts.Dental | null;
620
+
621
+ /**
622
+ * The part of this transaction amount that was for healthcare prescriptions.
623
+ */
624
+ prescription: AdditionalAmounts.Prescription | null;
625
+
626
+ /**
627
+ * The surcharge amount charged for this transaction by the merchant.
628
+ */
629
+ surcharge: AdditionalAmounts.Surcharge | null;
630
+
631
+ /**
632
+ * The total amount of a series of incremental authorizations, optionally provided.
633
+ */
634
+ total_cumulative: AdditionalAmounts.TotalCumulative | null;
635
+
636
+ /**
637
+ * The total amount of healthcare-related additional amounts.
638
+ */
639
+ total_healthcare: AdditionalAmounts.TotalHealthcare | null;
640
+
641
+ /**
642
+ * The part of this transaction amount that was for transit-related services.
643
+ */
644
+ transit: AdditionalAmounts.Transit | null;
645
+
646
+ /**
647
+ * An unknown additional amount.
648
+ */
649
+ unknown: AdditionalAmounts.Unknown | null;
650
+
651
+ /**
652
+ * The part of this transaction amount that was for vision-related services.
653
+ */
654
+ vision: AdditionalAmounts.Vision | null;
655
+ }
656
+
657
+ export namespace AdditionalAmounts {
658
+ /**
659
+ * The part of this transaction amount that was for clinic-related services.
660
+ */
661
+ export interface Clinic {
662
+ /**
663
+ * The amount in minor units of the `currency` field.
664
+ */
665
+ amount: number;
666
+
667
+ /**
668
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
669
+ * amount's currency.
670
+ */
671
+ currency: string;
672
+ }
673
+
674
+ /**
675
+ * The part of this transaction amount that was for dental-related services.
676
+ */
677
+ export interface Dental {
678
+ /**
679
+ * The amount in minor units of the `currency` field.
680
+ */
681
+ amount: number;
682
+
683
+ /**
684
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
685
+ * amount's currency.
686
+ */
687
+ currency: string;
688
+ }
689
+
690
+ /**
691
+ * The part of this transaction amount that was for healthcare prescriptions.
692
+ */
693
+ export interface Prescription {
694
+ /**
695
+ * The amount in minor units of the `currency` field.
696
+ */
697
+ amount: number;
698
+
699
+ /**
700
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
701
+ * amount's currency.
702
+ */
703
+ currency: string;
704
+ }
705
+
706
+ /**
707
+ * The surcharge amount charged for this transaction by the merchant.
708
+ */
709
+ export interface Surcharge {
710
+ /**
711
+ * The amount in minor units of the `currency` field.
712
+ */
713
+ amount: number;
714
+
715
+ /**
716
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
717
+ * amount's currency.
718
+ */
719
+ currency: string;
720
+ }
721
+
722
+ /**
723
+ * The total amount of a series of incremental authorizations, optionally provided.
724
+ */
725
+ export interface TotalCumulative {
726
+ /**
727
+ * The amount in minor units of the `currency` field.
728
+ */
729
+ amount: number;
730
+
731
+ /**
732
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
733
+ * amount's currency.
734
+ */
735
+ currency: string;
736
+ }
737
+
738
+ /**
739
+ * The total amount of healthcare-related additional amounts.
740
+ */
741
+ export interface TotalHealthcare {
742
+ /**
743
+ * The amount in minor units of the `currency` field.
744
+ */
745
+ amount: number;
746
+
747
+ /**
748
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
749
+ * amount's currency.
750
+ */
751
+ currency: string;
752
+ }
753
+
754
+ /**
755
+ * The part of this transaction amount that was for transit-related services.
756
+ */
757
+ export interface Transit {
758
+ /**
759
+ * The amount in minor units of the `currency` field.
760
+ */
761
+ amount: number;
762
+
763
+ /**
764
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
765
+ * amount's currency.
766
+ */
767
+ currency: string;
768
+ }
769
+
770
+ /**
771
+ * An unknown additional amount.
772
+ */
773
+ export interface Unknown {
774
+ /**
775
+ * The amount in minor units of the `currency` field.
776
+ */
777
+ amount: number;
778
+
779
+ /**
780
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
781
+ * amount's currency.
782
+ */
783
+ currency: string;
784
+ }
785
+
786
+ /**
787
+ * The part of this transaction amount that was for vision-related services.
788
+ */
789
+ export interface Vision {
790
+ /**
791
+ * The amount in minor units of the `currency` field.
792
+ */
793
+ amount: number;
794
+
795
+ /**
796
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
797
+ * amount's currency.
798
+ */
799
+ currency: string;
800
+ }
801
+ }
802
+
598
803
  /**
599
804
  * Fields specific to the `network`.
600
805
  */
@@ -408,6 +408,13 @@ export namespace PendingTransaction {
408
408
  */
409
409
  actioner: 'user' | 'increase' | 'network';
410
410
 
411
+ /**
412
+ * Additional amounts associated with the card authorization, such as ATM
413
+ * surcharges fees. These are usually a subset of the `amount` field and are used
414
+ * to provide more detailed information about the transaction.
415
+ */
416
+ additional_amounts: CardAuthorization.AdditionalAmounts;
417
+
411
418
  /**
412
419
  * The pending amount in the minor unit of the transaction's currency. For dollars,
413
420
  * for example, this is cents.
@@ -589,6 +596,204 @@ export namespace PendingTransaction {
589
596
  }
590
597
 
591
598
  export namespace CardAuthorization {
599
+ /**
600
+ * Additional amounts associated with the card authorization, such as ATM
601
+ * surcharges fees. These are usually a subset of the `amount` field and are used
602
+ * to provide more detailed information about the transaction.
603
+ */
604
+ export interface AdditionalAmounts {
605
+ /**
606
+ * The part of this transaction amount that was for clinic-related services.
607
+ */
608
+ clinic: AdditionalAmounts.Clinic | null;
609
+
610
+ /**
611
+ * The part of this transaction amount that was for dental-related services.
612
+ */
613
+ dental: AdditionalAmounts.Dental | null;
614
+
615
+ /**
616
+ * The part of this transaction amount that was for healthcare prescriptions.
617
+ */
618
+ prescription: AdditionalAmounts.Prescription | null;
619
+
620
+ /**
621
+ * The surcharge amount charged for this transaction by the merchant.
622
+ */
623
+ surcharge: AdditionalAmounts.Surcharge | null;
624
+
625
+ /**
626
+ * The total amount of a series of incremental authorizations, optionally provided.
627
+ */
628
+ total_cumulative: AdditionalAmounts.TotalCumulative | null;
629
+
630
+ /**
631
+ * The total amount of healthcare-related additional amounts.
632
+ */
633
+ total_healthcare: AdditionalAmounts.TotalHealthcare | null;
634
+
635
+ /**
636
+ * The part of this transaction amount that was for transit-related services.
637
+ */
638
+ transit: AdditionalAmounts.Transit | null;
639
+
640
+ /**
641
+ * An unknown additional amount.
642
+ */
643
+ unknown: AdditionalAmounts.Unknown | null;
644
+
645
+ /**
646
+ * The part of this transaction amount that was for vision-related services.
647
+ */
648
+ vision: AdditionalAmounts.Vision | null;
649
+ }
650
+
651
+ export namespace AdditionalAmounts {
652
+ /**
653
+ * The part of this transaction amount that was for clinic-related services.
654
+ */
655
+ export interface Clinic {
656
+ /**
657
+ * The amount in minor units of the `currency` field.
658
+ */
659
+ amount: number;
660
+
661
+ /**
662
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
663
+ * amount's currency.
664
+ */
665
+ currency: string;
666
+ }
667
+
668
+ /**
669
+ * The part of this transaction amount that was for dental-related services.
670
+ */
671
+ export interface Dental {
672
+ /**
673
+ * The amount in minor units of the `currency` field.
674
+ */
675
+ amount: number;
676
+
677
+ /**
678
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
679
+ * amount's currency.
680
+ */
681
+ currency: string;
682
+ }
683
+
684
+ /**
685
+ * The part of this transaction amount that was for healthcare prescriptions.
686
+ */
687
+ export interface Prescription {
688
+ /**
689
+ * The amount in minor units of the `currency` field.
690
+ */
691
+ amount: number;
692
+
693
+ /**
694
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
695
+ * amount's currency.
696
+ */
697
+ currency: string;
698
+ }
699
+
700
+ /**
701
+ * The surcharge amount charged for this transaction by the merchant.
702
+ */
703
+ export interface Surcharge {
704
+ /**
705
+ * The amount in minor units of the `currency` field.
706
+ */
707
+ amount: number;
708
+
709
+ /**
710
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
711
+ * amount's currency.
712
+ */
713
+ currency: string;
714
+ }
715
+
716
+ /**
717
+ * The total amount of a series of incremental authorizations, optionally provided.
718
+ */
719
+ export interface TotalCumulative {
720
+ /**
721
+ * The amount in minor units of the `currency` field.
722
+ */
723
+ amount: number;
724
+
725
+ /**
726
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
727
+ * amount's currency.
728
+ */
729
+ currency: string;
730
+ }
731
+
732
+ /**
733
+ * The total amount of healthcare-related additional amounts.
734
+ */
735
+ export interface TotalHealthcare {
736
+ /**
737
+ * The amount in minor units of the `currency` field.
738
+ */
739
+ amount: number;
740
+
741
+ /**
742
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
743
+ * amount's currency.
744
+ */
745
+ currency: string;
746
+ }
747
+
748
+ /**
749
+ * The part of this transaction amount that was for transit-related services.
750
+ */
751
+ export interface Transit {
752
+ /**
753
+ * The amount in minor units of the `currency` field.
754
+ */
755
+ amount: number;
756
+
757
+ /**
758
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
759
+ * amount's currency.
760
+ */
761
+ currency: string;
762
+ }
763
+
764
+ /**
765
+ * An unknown additional amount.
766
+ */
767
+ export interface Unknown {
768
+ /**
769
+ * The amount in minor units of the `currency` field.
770
+ */
771
+ amount: number;
772
+
773
+ /**
774
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
775
+ * amount's currency.
776
+ */
777
+ currency: string;
778
+ }
779
+
780
+ /**
781
+ * The part of this transaction amount that was for vision-related services.
782
+ */
783
+ export interface Vision {
784
+ /**
785
+ * The amount in minor units of the `currency` field.
786
+ */
787
+ amount: number;
788
+
789
+ /**
790
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
791
+ * amount's currency.
792
+ */
793
+ currency: string;
794
+ }
795
+ }
796
+
592
797
  /**
593
798
  * Fields specific to the `network`.
594
799
  */
@@ -200,6 +200,13 @@ export namespace RealTimeDecision {
200
200
  */
201
201
  account_id: string;
202
202
 
203
+ /**
204
+ * Additional amounts associated with the card authorization, such as ATM
205
+ * surcharges fees. These are usually a subset of the `amount` field and are used
206
+ * to provide more detailed information about the transaction.
207
+ */
208
+ additional_amounts: CardAuthorization.AdditionalAmounts;
209
+
203
210
  /**
204
211
  * The identifier of the Card that is being authorized.
205
212
  */
@@ -372,6 +379,204 @@ export namespace RealTimeDecision {
372
379
  }
373
380
 
374
381
  export namespace CardAuthorization {
382
+ /**
383
+ * Additional amounts associated with the card authorization, such as ATM
384
+ * surcharges fees. These are usually a subset of the `amount` field and are used
385
+ * to provide more detailed information about the transaction.
386
+ */
387
+ export interface AdditionalAmounts {
388
+ /**
389
+ * The part of this transaction amount that was for clinic-related services.
390
+ */
391
+ clinic: AdditionalAmounts.Clinic | null;
392
+
393
+ /**
394
+ * The part of this transaction amount that was for dental-related services.
395
+ */
396
+ dental: AdditionalAmounts.Dental | null;
397
+
398
+ /**
399
+ * The part of this transaction amount that was for healthcare prescriptions.
400
+ */
401
+ prescription: AdditionalAmounts.Prescription | null;
402
+
403
+ /**
404
+ * The surcharge amount charged for this transaction by the merchant.
405
+ */
406
+ surcharge: AdditionalAmounts.Surcharge | null;
407
+
408
+ /**
409
+ * The total amount of a series of incremental authorizations, optionally provided.
410
+ */
411
+ total_cumulative: AdditionalAmounts.TotalCumulative | null;
412
+
413
+ /**
414
+ * The total amount of healthcare-related additional amounts.
415
+ */
416
+ total_healthcare: AdditionalAmounts.TotalHealthcare | null;
417
+
418
+ /**
419
+ * The part of this transaction amount that was for transit-related services.
420
+ */
421
+ transit: AdditionalAmounts.Transit | null;
422
+
423
+ /**
424
+ * An unknown additional amount.
425
+ */
426
+ unknown: AdditionalAmounts.Unknown | null;
427
+
428
+ /**
429
+ * The part of this transaction amount that was for vision-related services.
430
+ */
431
+ vision: AdditionalAmounts.Vision | null;
432
+ }
433
+
434
+ export namespace AdditionalAmounts {
435
+ /**
436
+ * The part of this transaction amount that was for clinic-related services.
437
+ */
438
+ export interface Clinic {
439
+ /**
440
+ * The amount in minor units of the `currency` field.
441
+ */
442
+ amount: number;
443
+
444
+ /**
445
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
446
+ * amount's currency.
447
+ */
448
+ currency: string;
449
+ }
450
+
451
+ /**
452
+ * The part of this transaction amount that was for dental-related services.
453
+ */
454
+ export interface Dental {
455
+ /**
456
+ * The amount in minor units of the `currency` field.
457
+ */
458
+ amount: number;
459
+
460
+ /**
461
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
462
+ * amount's currency.
463
+ */
464
+ currency: string;
465
+ }
466
+
467
+ /**
468
+ * The part of this transaction amount that was for healthcare prescriptions.
469
+ */
470
+ export interface Prescription {
471
+ /**
472
+ * The amount in minor units of the `currency` field.
473
+ */
474
+ amount: number;
475
+
476
+ /**
477
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
478
+ * amount's currency.
479
+ */
480
+ currency: string;
481
+ }
482
+
483
+ /**
484
+ * The surcharge amount charged for this transaction by the merchant.
485
+ */
486
+ export interface Surcharge {
487
+ /**
488
+ * The amount in minor units of the `currency` field.
489
+ */
490
+ amount: number;
491
+
492
+ /**
493
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
494
+ * amount's currency.
495
+ */
496
+ currency: string;
497
+ }
498
+
499
+ /**
500
+ * The total amount of a series of incremental authorizations, optionally provided.
501
+ */
502
+ export interface TotalCumulative {
503
+ /**
504
+ * The amount in minor units of the `currency` field.
505
+ */
506
+ amount: number;
507
+
508
+ /**
509
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
510
+ * amount's currency.
511
+ */
512
+ currency: string;
513
+ }
514
+
515
+ /**
516
+ * The total amount of healthcare-related additional amounts.
517
+ */
518
+ export interface TotalHealthcare {
519
+ /**
520
+ * The amount in minor units of the `currency` field.
521
+ */
522
+ amount: number;
523
+
524
+ /**
525
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
526
+ * amount's currency.
527
+ */
528
+ currency: string;
529
+ }
530
+
531
+ /**
532
+ * The part of this transaction amount that was for transit-related services.
533
+ */
534
+ export interface Transit {
535
+ /**
536
+ * The amount in minor units of the `currency` field.
537
+ */
538
+ amount: number;
539
+
540
+ /**
541
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
542
+ * amount's currency.
543
+ */
544
+ currency: string;
545
+ }
546
+
547
+ /**
548
+ * An unknown additional amount.
549
+ */
550
+ export interface Unknown {
551
+ /**
552
+ * The amount in minor units of the `currency` field.
553
+ */
554
+ amount: number;
555
+
556
+ /**
557
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
558
+ * amount's currency.
559
+ */
560
+ currency: string;
561
+ }
562
+
563
+ /**
564
+ * The part of this transaction amount that was for vision-related services.
565
+ */
566
+ export interface Vision {
567
+ /**
568
+ * The amount in minor units of the `currency` field.
569
+ */
570
+ amount: number;
571
+
572
+ /**
573
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
574
+ * amount's currency.
575
+ */
576
+ currency: string;
577
+ }
578
+ }
579
+
375
580
  /**
376
581
  * Fields specific to the `network`.
377
582
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.248.0'; // x-release-please-version
1
+ export const VERSION = '0.249.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.248.0";
1
+ export declare const VERSION = "0.249.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.248.0'; // x-release-please-version
4
+ exports.VERSION = '0.249.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.248.0'; // x-release-please-version
1
+ export const VERSION = '0.249.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map