sysone-api-mapper 1.0.193 → 1.0.194
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.
|
@@ -687,6 +687,44 @@ const policyModule = {
|
|
|
687
687
|
responseMapper: (response) => response.data,
|
|
688
688
|
},
|
|
689
689
|
},
|
|
690
|
+
GET_OWNERS: {
|
|
691
|
+
default: {
|
|
692
|
+
url: "policy-life/v1/owners/{0}",
|
|
693
|
+
method: exports.methods.GET,
|
|
694
|
+
source: 'https://apidoc.sysone.com/policy-life/v1/open-api.html#/paths/~1v1~1insureds/get',
|
|
695
|
+
requestMapper: (request) => ({ mappedParams: request }),
|
|
696
|
+
responseMapper: (response) => response.data,
|
|
697
|
+
},
|
|
698
|
+
},
|
|
699
|
+
GET_ADHERENTS_BY_OWNER: {
|
|
700
|
+
default: {
|
|
701
|
+
url: "policy-life/v1/owners/{0}/adherents",
|
|
702
|
+
method: exports.methods.GET,
|
|
703
|
+
source: 'https://apidoc.sysone.com/policy-life/v1/open-api.html#/paths/~1v1~1insureds/get',
|
|
704
|
+
requestMapper: (request) => ({ mappedParams: request }),
|
|
705
|
+
responseMapper: (response) => response.data,
|
|
706
|
+
},
|
|
707
|
+
},
|
|
708
|
+
GET_EXCLUSION_TYPES: {
|
|
709
|
+
default: {
|
|
710
|
+
url: "policy-life/v1/exclusion-reason-types",
|
|
711
|
+
method: exports.methods.GET,
|
|
712
|
+
requestMapper: (request) => ({ mappedParams: request }),
|
|
713
|
+
responseMapper: (response) => response.data,
|
|
714
|
+
},
|
|
715
|
+
},
|
|
716
|
+
EXCLUDE_INSURED_FROM_POLICY: {
|
|
717
|
+
default: {
|
|
718
|
+
url: 'policy-life/v1/policies/{0}/insureds/{1}/exclusion',
|
|
719
|
+
method: exports.methods.PUT,
|
|
720
|
+
source: '',
|
|
721
|
+
requestMapper: (request) => ({
|
|
722
|
+
mappedParams: null,
|
|
723
|
+
mappedBody: request,
|
|
724
|
+
}),
|
|
725
|
+
responseMapper: (response) => response.data,
|
|
726
|
+
},
|
|
727
|
+
},
|
|
690
728
|
GET_POLICIES: {
|
|
691
729
|
default: {
|
|
692
730
|
url: 'policy/v1/policies',
|