increase 0.248.0 → 0.250.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.
@@ -391,6 +398,12 @@ export namespace DeclinedTransaction {
391
398
  */
392
399
  direction: 'settlement' | 'refund';
393
400
 
401
+ /**
402
+ * The identifier of the card authorization this request attempted to incrementally
403
+ * authorize.
404
+ */
405
+ incremented_card_authorization_id: string | null;
406
+
394
407
  /**
395
408
  * The merchant identifier (commonly abbreviated as MID) of the merchant the card
396
409
  * is transacting with.
@@ -595,6 +608,204 @@ export namespace DeclinedTransaction {
595
608
  }
596
609
 
597
610
  export namespace CardDecline {
611
+ /**
612
+ * Additional amounts associated with the card authorization, such as ATM
613
+ * surcharges fees. These are usually a subset of the `amount` field and are used
614
+ * to provide more detailed information about the transaction.
615
+ */
616
+ export interface AdditionalAmounts {
617
+ /**
618
+ * The part of this transaction amount that was for clinic-related services.
619
+ */
620
+ clinic: AdditionalAmounts.Clinic | null;
621
+
622
+ /**
623
+ * The part of this transaction amount that was for dental-related services.
624
+ */
625
+ dental: AdditionalAmounts.Dental | null;
626
+
627
+ /**
628
+ * The part of this transaction amount that was for healthcare prescriptions.
629
+ */
630
+ prescription: AdditionalAmounts.Prescription | null;
631
+
632
+ /**
633
+ * The surcharge amount charged for this transaction by the merchant.
634
+ */
635
+ surcharge: AdditionalAmounts.Surcharge | null;
636
+
637
+ /**
638
+ * The total amount of a series of incremental authorizations, optionally provided.
639
+ */
640
+ total_cumulative: AdditionalAmounts.TotalCumulative | null;
641
+
642
+ /**
643
+ * The total amount of healthcare-related additional amounts.
644
+ */
645
+ total_healthcare: AdditionalAmounts.TotalHealthcare | null;
646
+
647
+ /**
648
+ * The part of this transaction amount that was for transit-related services.
649
+ */
650
+ transit: AdditionalAmounts.Transit | null;
651
+
652
+ /**
653
+ * An unknown additional amount.
654
+ */
655
+ unknown: AdditionalAmounts.Unknown | null;
656
+
657
+ /**
658
+ * The part of this transaction amount that was for vision-related services.
659
+ */
660
+ vision: AdditionalAmounts.Vision | null;
661
+ }
662
+
663
+ export namespace AdditionalAmounts {
664
+ /**
665
+ * The part of this transaction amount that was for clinic-related services.
666
+ */
667
+ export interface Clinic {
668
+ /**
669
+ * The amount in minor units of the `currency` field.
670
+ */
671
+ amount: number;
672
+
673
+ /**
674
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
675
+ * amount's currency.
676
+ */
677
+ currency: string;
678
+ }
679
+
680
+ /**
681
+ * The part of this transaction amount that was for dental-related services.
682
+ */
683
+ export interface Dental {
684
+ /**
685
+ * The amount in minor units of the `currency` field.
686
+ */
687
+ amount: number;
688
+
689
+ /**
690
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
691
+ * amount's currency.
692
+ */
693
+ currency: string;
694
+ }
695
+
696
+ /**
697
+ * The part of this transaction amount that was for healthcare prescriptions.
698
+ */
699
+ export interface Prescription {
700
+ /**
701
+ * The amount in minor units of the `currency` field.
702
+ */
703
+ amount: number;
704
+
705
+ /**
706
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
707
+ * amount's currency.
708
+ */
709
+ currency: string;
710
+ }
711
+
712
+ /**
713
+ * The surcharge amount charged for this transaction by the merchant.
714
+ */
715
+ export interface Surcharge {
716
+ /**
717
+ * The amount in minor units of the `currency` field.
718
+ */
719
+ amount: number;
720
+
721
+ /**
722
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
723
+ * amount's currency.
724
+ */
725
+ currency: string;
726
+ }
727
+
728
+ /**
729
+ * The total amount of a series of incremental authorizations, optionally provided.
730
+ */
731
+ export interface TotalCumulative {
732
+ /**
733
+ * The amount in minor units of the `currency` field.
734
+ */
735
+ amount: number;
736
+
737
+ /**
738
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
739
+ * amount's currency.
740
+ */
741
+ currency: string;
742
+ }
743
+
744
+ /**
745
+ * The total amount of healthcare-related additional amounts.
746
+ */
747
+ export interface TotalHealthcare {
748
+ /**
749
+ * The amount in minor units of the `currency` field.
750
+ */
751
+ amount: number;
752
+
753
+ /**
754
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
755
+ * amount's currency.
756
+ */
757
+ currency: string;
758
+ }
759
+
760
+ /**
761
+ * The part of this transaction amount that was for transit-related services.
762
+ */
763
+ export interface Transit {
764
+ /**
765
+ * The amount in minor units of the `currency` field.
766
+ */
767
+ amount: number;
768
+
769
+ /**
770
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
771
+ * amount's currency.
772
+ */
773
+ currency: string;
774
+ }
775
+
776
+ /**
777
+ * An unknown additional amount.
778
+ */
779
+ export interface Unknown {
780
+ /**
781
+ * The amount in minor units of the `currency` field.
782
+ */
783
+ amount: number;
784
+
785
+ /**
786
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
787
+ * amount's currency.
788
+ */
789
+ currency: string;
790
+ }
791
+
792
+ /**
793
+ * The part of this transaction amount that was for vision-related services.
794
+ */
795
+ export interface Vision {
796
+ /**
797
+ * The amount in minor units of the `currency` field.
798
+ */
799
+ amount: number;
800
+
801
+ /**
802
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
803
+ * amount's currency.
804
+ */
805
+ currency: string;
806
+ }
807
+ }
808
+
598
809
  /**
599
810
  * Fields specific to the `network`.
600
811
  */
@@ -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.250.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.250.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.250.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.250.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map