@devizovaburza/payments-api-sdk 2.0.2 → 2.0.4

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.
@@ -592,6 +592,113 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
592
592
  };
593
593
  };
594
594
  };
595
+ } & {
596
+ v1: {
597
+ organizations: {
598
+ ":id": {
599
+ payments: {
600
+ ":paymentId": hono_client.ClientRequest<string, "/v1/organizations/:id/payments/:paymentId", {
601
+ $get: {
602
+ input: {
603
+ param: {
604
+ id: string;
605
+ paymentId: string;
606
+ } & {
607
+ id: string;
608
+ paymentId: string;
609
+ };
610
+ };
611
+ output: {
612
+ id: string;
613
+ status: string;
614
+ direction: "INCOMING" | "OUTGOING";
615
+ type: string;
616
+ amount: {
617
+ value: number;
618
+ currency: string;
619
+ };
620
+ debtor: {
621
+ name: string | null;
622
+ iban: string | null;
623
+ accountNumber?: string | undefined;
624
+ accountId?: string | undefined;
625
+ bankCode?: string | undefined;
626
+ };
627
+ creditor: {
628
+ name: string | null;
629
+ iban?: string | undefined;
630
+ accountNumber?: string | undefined;
631
+ bankCode?: string | undefined;
632
+ swiftBic?: string | undefined;
633
+ address?: {
634
+ streetName?: string | undefined;
635
+ buildingNumber?: string | undefined;
636
+ city?: string | undefined;
637
+ postalCode?: string | undefined;
638
+ countryCode?: string | undefined;
639
+ } | undefined;
640
+ };
641
+ dates: {
642
+ created: string | null;
643
+ initiated?: string | undefined;
644
+ processed?: string | undefined;
645
+ updated?: string | undefined;
646
+ };
647
+ referenceId?: string | undefined;
648
+ bankRefId?: string | undefined;
649
+ authorization?: {
650
+ url: string;
651
+ } | undefined;
652
+ remittanceInfo?: {
653
+ message?: string | undefined;
654
+ variableSymbol?: string | undefined;
655
+ specificSymbol?: string | undefined;
656
+ constantSymbol?: string | undefined;
657
+ } | undefined;
658
+ statusReason?: string | undefined;
659
+ batch?: {
660
+ id: string;
661
+ } | undefined;
662
+ instructionPriority?: "NORMAL" | "INSTANT" | undefined;
663
+ };
664
+ outputFormat: "json";
665
+ status: 200;
666
+ } | {
667
+ input: {
668
+ param: {
669
+ id: string;
670
+ paymentId: string;
671
+ } & {
672
+ id: string;
673
+ paymentId: string;
674
+ };
675
+ };
676
+ output: {
677
+ message: string;
678
+ };
679
+ outputFormat: "json";
680
+ status: 404;
681
+ } | {
682
+ input: {
683
+ param: {
684
+ id: string;
685
+ paymentId: string;
686
+ } & {
687
+ id: string;
688
+ paymentId: string;
689
+ };
690
+ };
691
+ output: {
692
+ message: string;
693
+ };
694
+ outputFormat: "json";
695
+ status: 500;
696
+ };
697
+ }>;
698
+ };
699
+ };
700
+ };
701
+ };
595
702
  } & {
596
703
  v1: {
597
704
  organizations: {
@@ -592,6 +592,113 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
592
592
  };
593
593
  };
594
594
  };
595
+ } & {
596
+ v1: {
597
+ organizations: {
598
+ ":id": {
599
+ payments: {
600
+ ":paymentId": hono_client.ClientRequest<string, "/v1/organizations/:id/payments/:paymentId", {
601
+ $get: {
602
+ input: {
603
+ param: {
604
+ id: string;
605
+ paymentId: string;
606
+ } & {
607
+ id: string;
608
+ paymentId: string;
609
+ };
610
+ };
611
+ output: {
612
+ id: string;
613
+ status: string;
614
+ direction: "INCOMING" | "OUTGOING";
615
+ type: string;
616
+ amount: {
617
+ value: number;
618
+ currency: string;
619
+ };
620
+ debtor: {
621
+ name: string | null;
622
+ iban: string | null;
623
+ accountNumber?: string | undefined;
624
+ accountId?: string | undefined;
625
+ bankCode?: string | undefined;
626
+ };
627
+ creditor: {
628
+ name: string | null;
629
+ iban?: string | undefined;
630
+ accountNumber?: string | undefined;
631
+ bankCode?: string | undefined;
632
+ swiftBic?: string | undefined;
633
+ address?: {
634
+ streetName?: string | undefined;
635
+ buildingNumber?: string | undefined;
636
+ city?: string | undefined;
637
+ postalCode?: string | undefined;
638
+ countryCode?: string | undefined;
639
+ } | undefined;
640
+ };
641
+ dates: {
642
+ created: string | null;
643
+ initiated?: string | undefined;
644
+ processed?: string | undefined;
645
+ updated?: string | undefined;
646
+ };
647
+ referenceId?: string | undefined;
648
+ bankRefId?: string | undefined;
649
+ authorization?: {
650
+ url: string;
651
+ } | undefined;
652
+ remittanceInfo?: {
653
+ message?: string | undefined;
654
+ variableSymbol?: string | undefined;
655
+ specificSymbol?: string | undefined;
656
+ constantSymbol?: string | undefined;
657
+ } | undefined;
658
+ statusReason?: string | undefined;
659
+ batch?: {
660
+ id: string;
661
+ } | undefined;
662
+ instructionPriority?: "NORMAL" | "INSTANT" | undefined;
663
+ };
664
+ outputFormat: "json";
665
+ status: 200;
666
+ } | {
667
+ input: {
668
+ param: {
669
+ id: string;
670
+ paymentId: string;
671
+ } & {
672
+ id: string;
673
+ paymentId: string;
674
+ };
675
+ };
676
+ output: {
677
+ message: string;
678
+ };
679
+ outputFormat: "json";
680
+ status: 404;
681
+ } | {
682
+ input: {
683
+ param: {
684
+ id: string;
685
+ paymentId: string;
686
+ } & {
687
+ id: string;
688
+ paymentId: string;
689
+ };
690
+ };
691
+ output: {
692
+ message: string;
693
+ };
694
+ outputFormat: "json";
695
+ status: 500;
696
+ };
697
+ }>;
698
+ };
699
+ };
700
+ };
701
+ };
595
702
  } & {
596
703
  v1: {
597
704
  organizations: {
@@ -592,6 +592,113 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
592
592
  };
593
593
  };
594
594
  };
595
+ } & {
596
+ v1: {
597
+ organizations: {
598
+ ":id": {
599
+ payments: {
600
+ ":paymentId": hono_client.ClientRequest<string, "/v1/organizations/:id/payments/:paymentId", {
601
+ $get: {
602
+ input: {
603
+ param: {
604
+ id: string;
605
+ paymentId: string;
606
+ } & {
607
+ id: string;
608
+ paymentId: string;
609
+ };
610
+ };
611
+ output: {
612
+ id: string;
613
+ status: string;
614
+ direction: "INCOMING" | "OUTGOING";
615
+ type: string;
616
+ amount: {
617
+ value: number;
618
+ currency: string;
619
+ };
620
+ debtor: {
621
+ name: string | null;
622
+ iban: string | null;
623
+ accountNumber?: string | undefined;
624
+ accountId?: string | undefined;
625
+ bankCode?: string | undefined;
626
+ };
627
+ creditor: {
628
+ name: string | null;
629
+ iban?: string | undefined;
630
+ accountNumber?: string | undefined;
631
+ bankCode?: string | undefined;
632
+ swiftBic?: string | undefined;
633
+ address?: {
634
+ streetName?: string | undefined;
635
+ buildingNumber?: string | undefined;
636
+ city?: string | undefined;
637
+ postalCode?: string | undefined;
638
+ countryCode?: string | undefined;
639
+ } | undefined;
640
+ };
641
+ dates: {
642
+ created: string | null;
643
+ initiated?: string | undefined;
644
+ processed?: string | undefined;
645
+ updated?: string | undefined;
646
+ };
647
+ referenceId?: string | undefined;
648
+ bankRefId?: string | undefined;
649
+ authorization?: {
650
+ url: string;
651
+ } | undefined;
652
+ remittanceInfo?: {
653
+ message?: string | undefined;
654
+ variableSymbol?: string | undefined;
655
+ specificSymbol?: string | undefined;
656
+ constantSymbol?: string | undefined;
657
+ } | undefined;
658
+ statusReason?: string | undefined;
659
+ batch?: {
660
+ id: string;
661
+ } | undefined;
662
+ instructionPriority?: "NORMAL" | "INSTANT" | undefined;
663
+ };
664
+ outputFormat: "json";
665
+ status: 200;
666
+ } | {
667
+ input: {
668
+ param: {
669
+ id: string;
670
+ paymentId: string;
671
+ } & {
672
+ id: string;
673
+ paymentId: string;
674
+ };
675
+ };
676
+ output: {
677
+ message: string;
678
+ };
679
+ outputFormat: "json";
680
+ status: 404;
681
+ } | {
682
+ input: {
683
+ param: {
684
+ id: string;
685
+ paymentId: string;
686
+ } & {
687
+ id: string;
688
+ paymentId: string;
689
+ };
690
+ };
691
+ output: {
692
+ message: string;
693
+ };
694
+ outputFormat: "json";
695
+ status: 500;
696
+ };
697
+ }>;
698
+ };
699
+ };
700
+ };
701
+ };
595
702
  } & {
596
703
  v1: {
597
704
  organizations: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devizovaburza/payments-api-sdk",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "author": "Devizová burza a.s.",
5
5
  "license": "ISC",
6
6
  "type": "module",