sysone-api-mapper 1.0.185 → 1.0.187
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.
|
@@ -17,6 +17,7 @@ export interface Api {
|
|
|
17
17
|
getPaymentMethodsByPartyCode: (partyCode: string) => Promise<any>;
|
|
18
18
|
updatePaymentMethodsByPartyCode: (partyCode: string, data: any) => Promise<any>;
|
|
19
19
|
updatePerson: (partyCode: string, data: any) => Promise<any>;
|
|
20
|
+
updateOrganization: (partyCode: string, data: any) => Promise<any>;
|
|
20
21
|
getPartyValidation: (indentificationType: string, identificationValue: string) => Promise<any>;
|
|
21
22
|
postPartyValidation: (indentificationType: string, identificationValue: string, data: any) => Promise<any>;
|
|
22
23
|
getPartyOnboarding: (indentificationType: string, identificationValue: string) => Promise<any>;
|
|
@@ -10,6 +10,7 @@ export function partyAdapter(tenant: any): {
|
|
|
10
10
|
getPaymentMethodsByPartyCode: (partyCode: any) => Promise<any>;
|
|
11
11
|
updatePaymentMethodsByPartyCode: (partyCode: any, data: any) => Promise<any>;
|
|
12
12
|
updatePerson: (partyCode: any, data: any) => Promise<any>;
|
|
13
|
+
updateOrganization: (partyCode: any, data: any) => Promise<any>;
|
|
13
14
|
getPartyValidation: (indentificationType: any, identificationValue: any) => Promise<any>;
|
|
14
15
|
postPartyValidation: (indentificationType: any, identificationValue: any, data: any) => Promise<any>;
|
|
15
16
|
getPartyOnboarding: (indentificationType: any, identificationValue: any) => Promise<any>;
|
|
@@ -14,6 +14,7 @@ const partyAdapter = (tenant) => ({
|
|
|
14
14
|
getPaymentMethodsByPartyCode: (partyCode) => (0, Mapper_1.apiMapper)("GET_PAYMENT_METHODS_BY_PARTY_CODE", tenant, [partyCode]),
|
|
15
15
|
updatePaymentMethodsByPartyCode: (partyCode, data) => (0, Mapper_1.apiMapper)("PUT_PAYMENT_METHODS_BY_PARTY_CODE", tenant, [partyCode], data),
|
|
16
16
|
updatePerson: (partyCode, data) => (0, Mapper_1.apiMapper)("PUT_PERSON", tenant, [partyCode], data),
|
|
17
|
+
updateOrganization: (partyCode, data) => (0, Mapper_1.apiMapper)("PUT_ORGANIZATION", tenant, [partyCode], data),
|
|
17
18
|
getPartyValidation: (indentificationType, identificationValue) => (0, Mapper_1.apiMapper)("GET_PARTY_VALIDATION", tenant, [indentificationType, identificationValue]),
|
|
18
19
|
postPartyValidation: (indentificationType, identificationValue, data) => (0, Mapper_1.apiMapper)("POST_PARTY_VALIDATION", tenant, [indentificationType, identificationValue], data),
|
|
19
20
|
getPartyOnboarding: (indentificationType, identificationValue) => (0, Mapper_1.apiMapper)("GET_PARTY_ONBOARDING", tenant, [indentificationType, identificationValue]),
|
|
@@ -2506,23 +2506,26 @@ export namespace tenantsConfig {
|
|
|
2506
2506
|
}
|
|
2507
2507
|
export { _default_46 as default };
|
|
2508
2508
|
}
|
|
2509
|
-
namespace
|
|
2509
|
+
namespace PUT_ORGANIZATION {
|
|
2510
2510
|
namespace _default_47 {
|
|
2511
2511
|
let url_89: string;
|
|
2512
2512
|
export { url_89 as url };
|
|
2513
|
-
import method_89 = methods.
|
|
2513
|
+
import method_89 = methods.PUT;
|
|
2514
2514
|
export { method_89 as method };
|
|
2515
2515
|
let source_48: string;
|
|
2516
2516
|
export { source_48 as source };
|
|
2517
2517
|
export function requestMapper_89(request: any): {
|
|
2518
|
-
mappedParams:
|
|
2518
|
+
mappedParams: null;
|
|
2519
|
+
mappedBody: any;
|
|
2519
2520
|
};
|
|
2520
2521
|
export { requestMapper_89 as requestMapper };
|
|
2521
2522
|
export function responseMapper_89(response: any): any;
|
|
2522
2523
|
export { responseMapper_89 as responseMapper };
|
|
2523
2524
|
}
|
|
2524
2525
|
export { _default_47 as default };
|
|
2525
|
-
|
|
2526
|
+
}
|
|
2527
|
+
namespace GET_COUNTRIES {
|
|
2528
|
+
namespace _default_48 {
|
|
2526
2529
|
let url_90: string;
|
|
2527
2530
|
export { url_90 as url };
|
|
2528
2531
|
import method_90 = methods.GET;
|
|
@@ -2533,15 +2536,11 @@ export namespace tenantsConfig {
|
|
|
2533
2536
|
mappedParams: any;
|
|
2534
2537
|
};
|
|
2535
2538
|
export { requestMapper_90 as requestMapper };
|
|
2536
|
-
export function responseMapper_90(response: any):
|
|
2537
|
-
countries: any;
|
|
2538
|
-
}>;
|
|
2539
|
+
export function responseMapper_90(response: any): any;
|
|
2539
2540
|
export { responseMapper_90 as responseMapper };
|
|
2540
2541
|
}
|
|
2541
|
-
export {
|
|
2542
|
-
|
|
2543
|
-
namespace GET_PROVINCES {
|
|
2544
|
-
namespace _default_48 {
|
|
2542
|
+
export { _default_48 as default };
|
|
2543
|
+
export namespace cnp_42 {
|
|
2545
2544
|
let url_91: string;
|
|
2546
2545
|
export { url_91 as url };
|
|
2547
2546
|
import method_91 = methods.GET;
|
|
@@ -2552,11 +2551,15 @@ export namespace tenantsConfig {
|
|
|
2552
2551
|
mappedParams: any;
|
|
2553
2552
|
};
|
|
2554
2553
|
export { requestMapper_91 as requestMapper };
|
|
2555
|
-
export function responseMapper_91(response: any):
|
|
2554
|
+
export function responseMapper_91(response: any): Promise<{
|
|
2555
|
+
countries: any;
|
|
2556
|
+
}>;
|
|
2556
2557
|
export { responseMapper_91 as responseMapper };
|
|
2557
2558
|
}
|
|
2558
|
-
export {
|
|
2559
|
-
|
|
2559
|
+
export { cnp_42 as cnp };
|
|
2560
|
+
}
|
|
2561
|
+
namespace GET_PROVINCES {
|
|
2562
|
+
namespace _default_49 {
|
|
2560
2563
|
let url_92: string;
|
|
2561
2564
|
export { url_92 as url };
|
|
2562
2565
|
import method_92 = methods.GET;
|
|
@@ -2567,18 +2570,14 @@ export namespace tenantsConfig {
|
|
|
2567
2570
|
mappedParams: any;
|
|
2568
2571
|
};
|
|
2569
2572
|
export { requestMapper_92 as requestMapper };
|
|
2570
|
-
export function responseMapper_92(response: any):
|
|
2571
|
-
provinces: any;
|
|
2572
|
-
}>;
|
|
2573
|
+
export function responseMapper_92(response: any): any;
|
|
2573
2574
|
export { responseMapper_92 as responseMapper };
|
|
2574
2575
|
}
|
|
2575
|
-
export {
|
|
2576
|
-
|
|
2577
|
-
namespace GET_CITIES {
|
|
2578
|
-
namespace _default_49 {
|
|
2576
|
+
export { _default_49 as default };
|
|
2577
|
+
export namespace cnp_43 {
|
|
2579
2578
|
let url_93: string;
|
|
2580
2579
|
export { url_93 as url };
|
|
2581
|
-
|
|
2580
|
+
import method_93 = methods.GET;
|
|
2582
2581
|
export { method_93 as method };
|
|
2583
2582
|
let source_52: string;
|
|
2584
2583
|
export { source_52 as source };
|
|
@@ -2586,12 +2585,14 @@ export namespace tenantsConfig {
|
|
|
2586
2585
|
mappedParams: any;
|
|
2587
2586
|
};
|
|
2588
2587
|
export { requestMapper_93 as requestMapper };
|
|
2589
|
-
export function responseMapper_93(response: any):
|
|
2588
|
+
export function responseMapper_93(response: any): Promise<{
|
|
2589
|
+
provinces: any;
|
|
2590
|
+
}>;
|
|
2590
2591
|
export { responseMapper_93 as responseMapper };
|
|
2591
2592
|
}
|
|
2592
|
-
export {
|
|
2593
|
+
export { cnp_43 as cnp };
|
|
2593
2594
|
}
|
|
2594
|
-
namespace
|
|
2595
|
+
namespace GET_CITIES {
|
|
2595
2596
|
namespace _default_50 {
|
|
2596
2597
|
let url_94: string;
|
|
2597
2598
|
export { url_94 as url };
|
|
@@ -2608,11 +2609,11 @@ export namespace tenantsConfig {
|
|
|
2608
2609
|
}
|
|
2609
2610
|
export { _default_50 as default };
|
|
2610
2611
|
}
|
|
2611
|
-
namespace
|
|
2612
|
+
namespace GET_POSTAL_CODES {
|
|
2612
2613
|
namespace _default_51 {
|
|
2613
2614
|
let url_95: string;
|
|
2614
2615
|
export { url_95 as url };
|
|
2615
|
-
|
|
2616
|
+
let method_95: any;
|
|
2616
2617
|
export { method_95 as method };
|
|
2617
2618
|
let source_54: string;
|
|
2618
2619
|
export { source_54 as source };
|
|
@@ -2624,7 +2625,9 @@ export namespace tenantsConfig {
|
|
|
2624
2625
|
export { responseMapper_95 as responseMapper };
|
|
2625
2626
|
}
|
|
2626
2627
|
export { _default_51 as default };
|
|
2627
|
-
|
|
2628
|
+
}
|
|
2629
|
+
namespace GET_MARITAL_STATUS {
|
|
2630
|
+
namespace _default_52 {
|
|
2628
2631
|
let url_96: string;
|
|
2629
2632
|
export { url_96 as url };
|
|
2630
2633
|
import method_96 = methods.GET;
|
|
@@ -2635,15 +2638,11 @@ export namespace tenantsConfig {
|
|
|
2635
2638
|
mappedParams: any;
|
|
2636
2639
|
};
|
|
2637
2640
|
export { requestMapper_96 as requestMapper };
|
|
2638
|
-
export function responseMapper_96(response: any):
|
|
2639
|
-
values: any;
|
|
2640
|
-
}>;
|
|
2641
|
+
export function responseMapper_96(response: any): any;
|
|
2641
2642
|
export { responseMapper_96 as responseMapper };
|
|
2642
2643
|
}
|
|
2643
|
-
export {
|
|
2644
|
-
|
|
2645
|
-
namespace GET_ACTIVITY {
|
|
2646
|
-
namespace _default_52 {
|
|
2644
|
+
export { _default_52 as default };
|
|
2645
|
+
export namespace cnp_44 {
|
|
2647
2646
|
let url_97: string;
|
|
2648
2647
|
export { url_97 as url };
|
|
2649
2648
|
import method_97 = methods.GET;
|
|
@@ -2654,11 +2653,15 @@ export namespace tenantsConfig {
|
|
|
2654
2653
|
mappedParams: any;
|
|
2655
2654
|
};
|
|
2656
2655
|
export { requestMapper_97 as requestMapper };
|
|
2657
|
-
export function responseMapper_97(response: any):
|
|
2656
|
+
export function responseMapper_97(response: any): Promise<{
|
|
2657
|
+
values: any;
|
|
2658
|
+
}>;
|
|
2658
2659
|
export { responseMapper_97 as responseMapper };
|
|
2659
2660
|
}
|
|
2660
|
-
export {
|
|
2661
|
-
|
|
2661
|
+
export { cnp_44 as cnp };
|
|
2662
|
+
}
|
|
2663
|
+
namespace GET_ACTIVITY {
|
|
2664
|
+
namespace _default_53 {
|
|
2662
2665
|
let url_98: string;
|
|
2663
2666
|
export { url_98 as url };
|
|
2664
2667
|
import method_98 = methods.GET;
|
|
@@ -2669,15 +2672,11 @@ export namespace tenantsConfig {
|
|
|
2669
2672
|
mappedParams: any;
|
|
2670
2673
|
};
|
|
2671
2674
|
export { requestMapper_98 as requestMapper };
|
|
2672
|
-
export function responseMapper_98(response: any):
|
|
2673
|
-
values: any;
|
|
2674
|
-
}>;
|
|
2675
|
+
export function responseMapper_98(response: any): any;
|
|
2675
2676
|
export { responseMapper_98 as responseMapper };
|
|
2676
2677
|
}
|
|
2677
|
-
export {
|
|
2678
|
-
|
|
2679
|
-
namespace GET_BLOOD_PRESSURES {
|
|
2680
|
-
export namespace cnp_46 {
|
|
2678
|
+
export { _default_53 as default };
|
|
2679
|
+
export namespace cnp_45 {
|
|
2681
2680
|
let url_99: string;
|
|
2682
2681
|
export { url_99 as url };
|
|
2683
2682
|
import method_99 = methods.GET;
|
|
@@ -2688,17 +2687,21 @@ export namespace tenantsConfig {
|
|
|
2688
2687
|
mappedParams: any;
|
|
2689
2688
|
};
|
|
2690
2689
|
export { requestMapper_99 as requestMapper };
|
|
2691
|
-
export function responseMapper_99(response: any):
|
|
2690
|
+
export function responseMapper_99(response: any): Promise<{
|
|
2691
|
+
values: any;
|
|
2692
|
+
}>;
|
|
2692
2693
|
export { responseMapper_99 as responseMapper };
|
|
2693
2694
|
}
|
|
2694
|
-
export {
|
|
2695
|
+
export { cnp_45 as cnp };
|
|
2695
2696
|
}
|
|
2696
|
-
namespace
|
|
2697
|
-
namespace
|
|
2697
|
+
namespace GET_BLOOD_PRESSURES {
|
|
2698
|
+
export namespace cnp_46 {
|
|
2698
2699
|
let url_100: string;
|
|
2699
2700
|
export { url_100 as url };
|
|
2700
2701
|
import method_100 = methods.GET;
|
|
2701
2702
|
export { method_100 as method };
|
|
2703
|
+
let source_59: string;
|
|
2704
|
+
export { source_59 as source };
|
|
2702
2705
|
export function requestMapper_100(request: any): {
|
|
2703
2706
|
mappedParams: any;
|
|
2704
2707
|
};
|
|
@@ -2706,46 +2709,46 @@ export namespace tenantsConfig {
|
|
|
2706
2709
|
export function responseMapper_100(response: any): any;
|
|
2707
2710
|
export { responseMapper_100 as responseMapper };
|
|
2708
2711
|
}
|
|
2709
|
-
export {
|
|
2710
|
-
|
|
2712
|
+
export { cnp_46 as cnp };
|
|
2713
|
+
}
|
|
2714
|
+
namespace GET_PAYMENT_FRECUENCIES {
|
|
2715
|
+
namespace _default_54 {
|
|
2711
2716
|
let url_101: string;
|
|
2712
2717
|
export { url_101 as url };
|
|
2713
2718
|
import method_101 = methods.GET;
|
|
2714
2719
|
export { method_101 as method };
|
|
2715
|
-
let source_59: string;
|
|
2716
|
-
export { source_59 as source };
|
|
2717
2720
|
export function requestMapper_101(request: any): {
|
|
2718
2721
|
mappedParams: any;
|
|
2719
2722
|
};
|
|
2720
2723
|
export { requestMapper_101 as requestMapper };
|
|
2721
|
-
export function responseMapper_101(response: any):
|
|
2722
|
-
frequencies: any;
|
|
2723
|
-
}>;
|
|
2724
|
+
export function responseMapper_101(response: any): any;
|
|
2724
2725
|
export { responseMapper_101 as responseMapper };
|
|
2725
2726
|
}
|
|
2726
|
-
export {
|
|
2727
|
-
|
|
2728
|
-
namespace GET_PAYMENT_TYPES {
|
|
2729
|
-
namespace _default_54 {
|
|
2727
|
+
export { _default_54 as default };
|
|
2728
|
+
export namespace cnp_47 {
|
|
2730
2729
|
let url_102: string;
|
|
2731
2730
|
export { url_102 as url };
|
|
2732
2731
|
import method_102 = methods.GET;
|
|
2733
2732
|
export { method_102 as method };
|
|
2733
|
+
let source_60: string;
|
|
2734
|
+
export { source_60 as source };
|
|
2734
2735
|
export function requestMapper_102(request: any): {
|
|
2735
2736
|
mappedParams: any;
|
|
2736
2737
|
};
|
|
2737
2738
|
export { requestMapper_102 as requestMapper };
|
|
2738
|
-
export function responseMapper_102(response: any):
|
|
2739
|
+
export function responseMapper_102(response: any): Promise<{
|
|
2740
|
+
frequencies: any;
|
|
2741
|
+
}>;
|
|
2739
2742
|
export { responseMapper_102 as responseMapper };
|
|
2740
2743
|
}
|
|
2741
|
-
export {
|
|
2742
|
-
|
|
2744
|
+
export { cnp_47 as cnp };
|
|
2745
|
+
}
|
|
2746
|
+
namespace GET_PAYMENT_TYPES {
|
|
2747
|
+
namespace _default_55 {
|
|
2743
2748
|
let url_103: string;
|
|
2744
2749
|
export { url_103 as url };
|
|
2745
2750
|
import method_103 = methods.GET;
|
|
2746
2751
|
export { method_103 as method };
|
|
2747
|
-
let source_60: string;
|
|
2748
|
-
export { source_60 as source };
|
|
2749
2752
|
export function requestMapper_103(request: any): {
|
|
2750
2753
|
mappedParams: any;
|
|
2751
2754
|
};
|
|
@@ -2753,10 +2756,8 @@ export namespace tenantsConfig {
|
|
|
2753
2756
|
export function responseMapper_103(response: any): any;
|
|
2754
2757
|
export { responseMapper_103 as responseMapper };
|
|
2755
2758
|
}
|
|
2756
|
-
export {
|
|
2757
|
-
|
|
2758
|
-
namespace GET_BRANCHES {
|
|
2759
|
-
export namespace cnp_49 {
|
|
2759
|
+
export { _default_55 as default };
|
|
2760
|
+
export namespace cnp_48 {
|
|
2760
2761
|
let url_104: string;
|
|
2761
2762
|
export { url_104 as url };
|
|
2762
2763
|
import method_104 = methods.GET;
|
|
@@ -2770,10 +2771,10 @@ export namespace tenantsConfig {
|
|
|
2770
2771
|
export function responseMapper_104(response: any): any;
|
|
2771
2772
|
export { responseMapper_104 as responseMapper };
|
|
2772
2773
|
}
|
|
2773
|
-
export {
|
|
2774
|
+
export { cnp_48 as cnp };
|
|
2774
2775
|
}
|
|
2775
|
-
namespace
|
|
2776
|
-
namespace
|
|
2776
|
+
namespace GET_BRANCHES {
|
|
2777
|
+
export namespace cnp_49 {
|
|
2777
2778
|
let url_105: string;
|
|
2778
2779
|
export { url_105 as url };
|
|
2779
2780
|
import method_105 = methods.GET;
|
|
@@ -2787,8 +2788,10 @@ export namespace tenantsConfig {
|
|
|
2787
2788
|
export function responseMapper_105(response: any): any;
|
|
2788
2789
|
export { responseMapper_105 as responseMapper };
|
|
2789
2790
|
}
|
|
2790
|
-
export {
|
|
2791
|
-
|
|
2791
|
+
export { cnp_49 as cnp };
|
|
2792
|
+
}
|
|
2793
|
+
namespace GET_PARTIES {
|
|
2794
|
+
namespace _default_56 {
|
|
2792
2795
|
let url_106: string;
|
|
2793
2796
|
export { url_106 as url };
|
|
2794
2797
|
import method_106 = methods.GET;
|
|
@@ -2796,22 +2799,14 @@ export namespace tenantsConfig {
|
|
|
2796
2799
|
let source_63: string;
|
|
2797
2800
|
export { source_63 as source };
|
|
2798
2801
|
export function requestMapper_106(request: any): {
|
|
2799
|
-
mappedParams:
|
|
2800
|
-
firstName: any;
|
|
2801
|
-
lastName: any;
|
|
2802
|
-
identification: any;
|
|
2803
|
-
};
|
|
2802
|
+
mappedParams: any;
|
|
2804
2803
|
};
|
|
2805
2804
|
export { requestMapper_106 as requestMapper };
|
|
2806
|
-
export function responseMapper_106(response: any):
|
|
2807
|
-
values: any;
|
|
2808
|
-
};
|
|
2805
|
+
export function responseMapper_106(response: any): any;
|
|
2809
2806
|
export { responseMapper_106 as responseMapper };
|
|
2810
2807
|
}
|
|
2811
|
-
export {
|
|
2812
|
-
|
|
2813
|
-
namespace GET_SECTION {
|
|
2814
|
-
namespace _default_56 {
|
|
2808
|
+
export { _default_56 as default };
|
|
2809
|
+
export namespace cnp_50 {
|
|
2815
2810
|
let url_107: string;
|
|
2816
2811
|
export { url_107 as url };
|
|
2817
2812
|
import method_107 = methods.GET;
|
|
@@ -2819,14 +2814,22 @@ export namespace tenantsConfig {
|
|
|
2819
2814
|
let source_64: string;
|
|
2820
2815
|
export { source_64 as source };
|
|
2821
2816
|
export function requestMapper_107(request: any): {
|
|
2822
|
-
mappedParams:
|
|
2817
|
+
mappedParams: {
|
|
2818
|
+
firstName: any;
|
|
2819
|
+
lastName: any;
|
|
2820
|
+
identification: any;
|
|
2821
|
+
};
|
|
2823
2822
|
};
|
|
2824
2823
|
export { requestMapper_107 as requestMapper };
|
|
2825
|
-
export function responseMapper_107(response: any):
|
|
2824
|
+
export function responseMapper_107(response: any): {
|
|
2825
|
+
values: any;
|
|
2826
|
+
};
|
|
2826
2827
|
export { responseMapper_107 as responseMapper };
|
|
2827
2828
|
}
|
|
2828
|
-
export {
|
|
2829
|
-
|
|
2829
|
+
export { cnp_50 as cnp };
|
|
2830
|
+
}
|
|
2831
|
+
namespace GET_SECTION {
|
|
2832
|
+
namespace _default_57 {
|
|
2830
2833
|
let url_108: string;
|
|
2831
2834
|
export { url_108 as url };
|
|
2832
2835
|
import method_108 = methods.GET;
|
|
@@ -2837,15 +2840,11 @@ export namespace tenantsConfig {
|
|
|
2837
2840
|
mappedParams: any;
|
|
2838
2841
|
};
|
|
2839
2842
|
export { requestMapper_108 as requestMapper };
|
|
2840
|
-
export function responseMapper_108(response: any):
|
|
2841
|
-
sections: any;
|
|
2842
|
-
};
|
|
2843
|
+
export function responseMapper_108(response: any): any;
|
|
2843
2844
|
export { responseMapper_108 as responseMapper };
|
|
2844
2845
|
}
|
|
2845
|
-
export {
|
|
2846
|
-
|
|
2847
|
-
namespace GET_SUBSECTION_BY_CODE {
|
|
2848
|
-
namespace _default_57 {
|
|
2846
|
+
export { _default_57 as default };
|
|
2847
|
+
export namespace cnp_51 {
|
|
2849
2848
|
let url_109: string;
|
|
2850
2849
|
export { url_109 as url };
|
|
2851
2850
|
import method_109 = methods.GET;
|
|
@@ -2856,11 +2855,15 @@ export namespace tenantsConfig {
|
|
|
2856
2855
|
mappedParams: any;
|
|
2857
2856
|
};
|
|
2858
2857
|
export { requestMapper_109 as requestMapper };
|
|
2859
|
-
export function responseMapper_109(response: any):
|
|
2858
|
+
export function responseMapper_109(response: any): {
|
|
2859
|
+
sections: any;
|
|
2860
|
+
};
|
|
2860
2861
|
export { responseMapper_109 as responseMapper };
|
|
2861
2862
|
}
|
|
2862
|
-
export {
|
|
2863
|
-
|
|
2863
|
+
export { cnp_51 as cnp };
|
|
2864
|
+
}
|
|
2865
|
+
namespace GET_SUBSECTION_BY_CODE {
|
|
2866
|
+
namespace _default_58 {
|
|
2864
2867
|
let url_110: string;
|
|
2865
2868
|
export { url_110 as url };
|
|
2866
2869
|
import method_110 = methods.GET;
|
|
@@ -2871,15 +2874,11 @@ export namespace tenantsConfig {
|
|
|
2871
2874
|
mappedParams: any;
|
|
2872
2875
|
};
|
|
2873
2876
|
export { requestMapper_110 as requestMapper };
|
|
2874
|
-
export function responseMapper_110(response: any):
|
|
2875
|
-
subSections: any;
|
|
2876
|
-
};
|
|
2877
|
+
export function responseMapper_110(response: any): any;
|
|
2877
2878
|
export { responseMapper_110 as responseMapper };
|
|
2878
2879
|
}
|
|
2879
|
-
export {
|
|
2880
|
-
|
|
2881
|
-
namespace GET_PARTY_VALIDATION {
|
|
2882
|
-
namespace _default_58 {
|
|
2880
|
+
export { _default_58 as default };
|
|
2881
|
+
export namespace cnp_52 {
|
|
2883
2882
|
let url_111: string;
|
|
2884
2883
|
export { url_111 as url };
|
|
2885
2884
|
import method_111 = methods.GET;
|
|
@@ -2890,21 +2889,23 @@ export namespace tenantsConfig {
|
|
|
2890
2889
|
mappedParams: any;
|
|
2891
2890
|
};
|
|
2892
2891
|
export { requestMapper_111 as requestMapper };
|
|
2893
|
-
export function responseMapper_111(response: any):
|
|
2892
|
+
export function responseMapper_111(response: any): {
|
|
2893
|
+
subSections: any;
|
|
2894
|
+
};
|
|
2894
2895
|
export { responseMapper_111 as responseMapper };
|
|
2895
2896
|
}
|
|
2896
|
-
export {
|
|
2897
|
+
export { cnp_52 as cnp };
|
|
2897
2898
|
}
|
|
2898
|
-
namespace
|
|
2899
|
+
namespace GET_PARTY_VALIDATION {
|
|
2899
2900
|
namespace _default_59 {
|
|
2900
2901
|
let url_112: string;
|
|
2901
2902
|
export { url_112 as url };
|
|
2902
|
-
import method_112 = methods.
|
|
2903
|
+
import method_112 = methods.GET;
|
|
2903
2904
|
export { method_112 as method };
|
|
2904
2905
|
let source_69: string;
|
|
2905
2906
|
export { source_69 as source };
|
|
2906
2907
|
export function requestMapper_112(request: any): {
|
|
2907
|
-
|
|
2908
|
+
mappedParams: any;
|
|
2908
2909
|
};
|
|
2909
2910
|
export { requestMapper_112 as requestMapper };
|
|
2910
2911
|
export function responseMapper_112(response: any): any;
|
|
@@ -2912,16 +2913,16 @@ export namespace tenantsConfig {
|
|
|
2912
2913
|
}
|
|
2913
2914
|
export { _default_59 as default };
|
|
2914
2915
|
}
|
|
2915
|
-
namespace
|
|
2916
|
+
namespace POST_PARTY_VALIDATION {
|
|
2916
2917
|
namespace _default_60 {
|
|
2917
2918
|
let url_113: string;
|
|
2918
2919
|
export { url_113 as url };
|
|
2919
|
-
|
|
2920
|
+
import method_113 = methods.POST;
|
|
2920
2921
|
export { method_113 as method };
|
|
2921
2922
|
let source_70: string;
|
|
2922
2923
|
export { source_70 as source };
|
|
2923
2924
|
export function requestMapper_113(request: any): {
|
|
2924
|
-
|
|
2925
|
+
mappedBody: any;
|
|
2925
2926
|
};
|
|
2926
2927
|
export { requestMapper_113 as requestMapper };
|
|
2927
2928
|
export function responseMapper_113(response: any): any;
|
|
@@ -2929,7 +2930,7 @@ export namespace tenantsConfig {
|
|
|
2929
2930
|
}
|
|
2930
2931
|
export { _default_60 as default };
|
|
2931
2932
|
}
|
|
2932
|
-
namespace
|
|
2933
|
+
namespace GET_PARTY_ONBOARDING {
|
|
2933
2934
|
namespace _default_61 {
|
|
2934
2935
|
let url_114: string;
|
|
2935
2936
|
export { url_114 as url };
|
|
@@ -2938,7 +2939,7 @@ export namespace tenantsConfig {
|
|
|
2938
2939
|
let source_71: string;
|
|
2939
2940
|
export { source_71 as source };
|
|
2940
2941
|
export function requestMapper_114(request: any): {
|
|
2941
|
-
|
|
2942
|
+
mappedParams: any;
|
|
2942
2943
|
};
|
|
2943
2944
|
export { requestMapper_114 as requestMapper };
|
|
2944
2945
|
export function responseMapper_114(response: any): any;
|
|
@@ -2946,15 +2947,15 @@ export namespace tenantsConfig {
|
|
|
2946
2947
|
}
|
|
2947
2948
|
export { _default_61 as default };
|
|
2948
2949
|
}
|
|
2949
|
-
namespace
|
|
2950
|
+
namespace POST_PARTY_ONBOARDING {
|
|
2950
2951
|
namespace _default_62 {
|
|
2951
2952
|
let url_115: string;
|
|
2952
2953
|
export { url_115 as url };
|
|
2953
|
-
|
|
2954
|
+
let method_115: any;
|
|
2954
2955
|
export { method_115 as method };
|
|
2955
2956
|
let source_72: string;
|
|
2956
2957
|
export { source_72 as source };
|
|
2957
|
-
export function requestMapper_115(
|
|
2958
|
+
export function requestMapper_115(request: any): {
|
|
2958
2959
|
mappedBody: any;
|
|
2959
2960
|
};
|
|
2960
2961
|
export { requestMapper_115 as requestMapper };
|
|
@@ -2962,7 +2963,9 @@ export namespace tenantsConfig {
|
|
|
2962
2963
|
export { responseMapper_115 as responseMapper };
|
|
2963
2964
|
}
|
|
2964
2965
|
export { _default_62 as default };
|
|
2965
|
-
|
|
2966
|
+
}
|
|
2967
|
+
namespace POST_AGE {
|
|
2968
|
+
namespace _default_63 {
|
|
2966
2969
|
let url_116: string;
|
|
2967
2970
|
export { url_116 as url };
|
|
2968
2971
|
import method_116 = methods.POST;
|
|
@@ -2976,24 +2979,24 @@ export namespace tenantsConfig {
|
|
|
2976
2979
|
export function responseMapper_116(response: any): any;
|
|
2977
2980
|
export { responseMapper_116 as responseMapper };
|
|
2978
2981
|
}
|
|
2979
|
-
export {
|
|
2980
|
-
|
|
2981
|
-
namespace GET_INTERMEDIARY_STRUCTURE {
|
|
2982
|
-
namespace _default_63 {
|
|
2982
|
+
export { _default_63 as default };
|
|
2983
|
+
export namespace cnp_53 {
|
|
2983
2984
|
let url_117: string;
|
|
2984
2985
|
export { url_117 as url };
|
|
2985
|
-
import method_117 = methods.
|
|
2986
|
+
import method_117 = methods.POST;
|
|
2986
2987
|
export { method_117 as method };
|
|
2987
|
-
|
|
2988
|
-
|
|
2988
|
+
let source_74: string;
|
|
2989
|
+
export { source_74 as source };
|
|
2990
|
+
export function requestMapper_117(params: any): {
|
|
2991
|
+
mappedBody: any;
|
|
2989
2992
|
};
|
|
2990
2993
|
export { requestMapper_117 as requestMapper };
|
|
2991
2994
|
export function responseMapper_117(response: any): any;
|
|
2992
2995
|
export { responseMapper_117 as responseMapper };
|
|
2993
2996
|
}
|
|
2994
|
-
export {
|
|
2997
|
+
export { cnp_53 as cnp };
|
|
2995
2998
|
}
|
|
2996
|
-
namespace
|
|
2999
|
+
namespace GET_INTERMEDIARY_STRUCTURE {
|
|
2997
3000
|
namespace _default_64 {
|
|
2998
3001
|
let url_118: string;
|
|
2999
3002
|
export { url_118 as url };
|
|
@@ -3008,7 +3011,7 @@ export namespace tenantsConfig {
|
|
|
3008
3011
|
}
|
|
3009
3012
|
export { _default_64 as default };
|
|
3010
3013
|
}
|
|
3011
|
-
namespace
|
|
3014
|
+
namespace GET_INTERMEDIARY_BY_CODE {
|
|
3012
3015
|
namespace _default_65 {
|
|
3013
3016
|
let url_119: string;
|
|
3014
3017
|
export { url_119 as url };
|
|
@@ -3023,7 +3026,7 @@ export namespace tenantsConfig {
|
|
|
3023
3026
|
}
|
|
3024
3027
|
export { _default_65 as default };
|
|
3025
3028
|
}
|
|
3026
|
-
namespace
|
|
3029
|
+
namespace GET_COMMERCIAL_STRUCTURE {
|
|
3027
3030
|
namespace _default_66 {
|
|
3028
3031
|
let url_120: string;
|
|
3029
3032
|
export { url_120 as url };
|
|
@@ -3037,35 +3040,50 @@ export namespace tenantsConfig {
|
|
|
3037
3040
|
export { responseMapper_120 as responseMapper };
|
|
3038
3041
|
}
|
|
3039
3042
|
export { _default_66 as default };
|
|
3040
|
-
|
|
3043
|
+
}
|
|
3044
|
+
namespace GET_MODULES {
|
|
3045
|
+
namespace _default_67 {
|
|
3041
3046
|
let url_121: string;
|
|
3042
3047
|
export { url_121 as url };
|
|
3043
3048
|
import method_121 = methods.GET;
|
|
3044
3049
|
export { method_121 as method };
|
|
3045
3050
|
export function requestMapper_121(request: any): {
|
|
3046
|
-
mappedParams:
|
|
3047
|
-
roles: any;
|
|
3048
|
-
};
|
|
3051
|
+
mappedParams: any;
|
|
3049
3052
|
};
|
|
3050
3053
|
export { requestMapper_121 as requestMapper };
|
|
3051
3054
|
export function responseMapper_121(response: any): any;
|
|
3052
3055
|
export { responseMapper_121 as responseMapper };
|
|
3053
3056
|
}
|
|
3054
|
-
export {
|
|
3055
|
-
|
|
3056
|
-
namespace GET_POWERBI_TOKEN {
|
|
3057
|
-
export namespace cnp_55 {
|
|
3057
|
+
export { _default_67 as default };
|
|
3058
|
+
export namespace cnp_54 {
|
|
3058
3059
|
let url_122: string;
|
|
3059
3060
|
export { url_122 as url };
|
|
3060
3061
|
import method_122 = methods.GET;
|
|
3061
3062
|
export { method_122 as method };
|
|
3062
3063
|
export function requestMapper_122(request: any): {
|
|
3063
|
-
mappedParams:
|
|
3064
|
+
mappedParams: {
|
|
3065
|
+
roles: any;
|
|
3066
|
+
};
|
|
3064
3067
|
};
|
|
3065
3068
|
export { requestMapper_122 as requestMapper };
|
|
3066
3069
|
export function responseMapper_122(response: any): any;
|
|
3067
3070
|
export { responseMapper_122 as responseMapper };
|
|
3068
3071
|
}
|
|
3072
|
+
export { cnp_54 as cnp };
|
|
3073
|
+
}
|
|
3074
|
+
namespace GET_POWERBI_TOKEN {
|
|
3075
|
+
export namespace cnp_55 {
|
|
3076
|
+
let url_123: string;
|
|
3077
|
+
export { url_123 as url };
|
|
3078
|
+
import method_123 = methods.GET;
|
|
3079
|
+
export { method_123 as method };
|
|
3080
|
+
export function requestMapper_123(request: any): {
|
|
3081
|
+
mappedParams: any;
|
|
3082
|
+
};
|
|
3083
|
+
export { requestMapper_123 as requestMapper };
|
|
3084
|
+
export function responseMapper_123(response: any): any;
|
|
3085
|
+
export { responseMapper_123 as responseMapper };
|
|
3086
|
+
}
|
|
3069
3087
|
export { cnp_55 as cnp };
|
|
3070
3088
|
}
|
|
3071
3089
|
}
|
|
@@ -278,6 +278,18 @@ const partyModule = {
|
|
|
278
278
|
responseMapper: (response) => response.data,
|
|
279
279
|
},
|
|
280
280
|
},
|
|
281
|
+
PUT_ORGANIZATION: {
|
|
282
|
+
default: {
|
|
283
|
+
url: "party/v1/organisations/{0}",
|
|
284
|
+
method: exports.methods.PUT,
|
|
285
|
+
source: 'https://apidoc.sysone.com/party/v1/open-api.html#/paths/~1v1~1organisations~1%7Bcode%7D/put',
|
|
286
|
+
requestMapper: (request) => ({
|
|
287
|
+
mappedParams: null,
|
|
288
|
+
mappedBody: request,
|
|
289
|
+
}),
|
|
290
|
+
responseMapper: (response) => response.data,
|
|
291
|
+
},
|
|
292
|
+
},
|
|
281
293
|
GET_COUNTRIES: {
|
|
282
294
|
default: {
|
|
283
295
|
url: 'location/v1/countries',
|