camara-sdk 0.1.1
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.
- package/CHANGELOG.md +9 -0
- package/LICENSE +201 -0
- package/README.md +355 -0
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +294 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +294 -0
- package/client.d.ts.map +1 -0
- package/client.js +611 -0
- package/client.js.map +1 -0
- package/client.mjs +607 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +2 -0
- package/error.d.ts.map +1 -0
- package/error.js +6 -0
- package/error.js.map +1 -0
- package/error.mjs +2 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +6 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -0
- package/index.js +30 -0
- package/index.js.map +1 -0
- package/index.mjs +7 -0
- package/index.mjs.map +1 -0
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +35 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +32 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/request-options.d.mts +75 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +75 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +92 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +85 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +79 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +7 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +7 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +11 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +8 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +138 -0
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +2 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +6 -0
- package/resource.js.map +1 -0
- package/resource.mjs +2 -0
- package/resource.mjs.map +1 -0
- package/resources/callforwardingsignal.d.mts +94 -0
- package/resources/callforwardingsignal.d.mts.map +1 -0
- package/resources/callforwardingsignal.d.ts +94 -0
- package/resources/callforwardingsignal.d.ts.map +1 -0
- package/resources/callforwardingsignal.js +54 -0
- package/resources/callforwardingsignal.js.map +1 -0
- package/resources/callforwardingsignal.mjs +50 -0
- package/resources/callforwardingsignal.mjs.map +1 -0
- package/resources/connectednetworktype/connectednetworktype.d.mts +10 -0
- package/resources/connectednetworktype/connectednetworktype.d.mts.map +1 -0
- package/resources/connectednetworktype/connectednetworktype.d.ts +10 -0
- package/resources/connectednetworktype/connectednetworktype.d.ts.map +1 -0
- package/resources/connectednetworktype/connectednetworktype.js +17 -0
- package/resources/connectednetworktype/connectednetworktype.js.map +1 -0
- package/resources/connectednetworktype/connectednetworktype.mjs +12 -0
- package/resources/connectednetworktype/connectednetworktype.mjs.map +1 -0
- package/resources/connectednetworktype/index.d.mts +3 -0
- package/resources/connectednetworktype/index.d.mts.map +1 -0
- package/resources/connectednetworktype/index.d.ts +3 -0
- package/resources/connectednetworktype/index.d.ts.map +1 -0
- package/resources/connectednetworktype/index.js +9 -0
- package/resources/connectednetworktype/index.js.map +1 -0
- package/resources/connectednetworktype/index.mjs +4 -0
- package/resources/connectednetworktype/index.mjs.map +1 -0
- package/resources/connectednetworktype/subscriptions.d.mts +380 -0
- package/resources/connectednetworktype/subscriptions.d.mts.map +1 -0
- package/resources/connectednetworktype/subscriptions.d.ts +380 -0
- package/resources/connectednetworktype/subscriptions.d.ts.map +1 -0
- package/resources/connectednetworktype/subscriptions.js +114 -0
- package/resources/connectednetworktype/subscriptions.js.map +1 -0
- package/resources/connectednetworktype/subscriptions.mjs +110 -0
- package/resources/connectednetworktype/subscriptions.mjs.map +1 -0
- package/resources/connectednetworktype.d.mts +2 -0
- package/resources/connectednetworktype.d.mts.map +1 -0
- package/resources/connectednetworktype.d.ts +2 -0
- package/resources/connectednetworktype.d.ts.map +1 -0
- package/resources/connectednetworktype.js +6 -0
- package/resources/connectednetworktype.js.map +1 -0
- package/resources/connectednetworktype.mjs +3 -0
- package/resources/connectednetworktype.mjs.map +1 -0
- package/resources/connectivityinsights/connectivityinsights.d.mts +10 -0
- package/resources/connectivityinsights/connectivityinsights.d.mts.map +1 -0
- package/resources/connectivityinsights/connectivityinsights.d.ts +10 -0
- package/resources/connectivityinsights/connectivityinsights.d.ts.map +1 -0
- package/resources/connectivityinsights/connectivityinsights.js +17 -0
- package/resources/connectivityinsights/connectivityinsights.js.map +1 -0
- package/resources/connectivityinsights/connectivityinsights.mjs +12 -0
- package/resources/connectivityinsights/connectivityinsights.mjs.map +1 -0
- package/resources/connectivityinsights/index.d.mts +3 -0
- package/resources/connectivityinsights/index.d.mts.map +1 -0
- package/resources/connectivityinsights/index.d.ts +3 -0
- package/resources/connectivityinsights/index.d.ts.map +1 -0
- package/resources/connectivityinsights/index.js +9 -0
- package/resources/connectivityinsights/index.js.map +1 -0
- package/resources/connectivityinsights/index.mjs +4 -0
- package/resources/connectivityinsights/index.mjs.map +1 -0
- package/resources/connectivityinsights/subscriptions.d.mts +445 -0
- package/resources/connectivityinsights/subscriptions.d.mts.map +1 -0
- package/resources/connectivityinsights/subscriptions.d.ts +445 -0
- package/resources/connectivityinsights/subscriptions.d.ts.map +1 -0
- package/resources/connectivityinsights/subscriptions.js +106 -0
- package/resources/connectivityinsights/subscriptions.js.map +1 -0
- package/resources/connectivityinsights/subscriptions.mjs +102 -0
- package/resources/connectivityinsights/subscriptions.mjs.map +1 -0
- package/resources/connectivityinsights.d.mts +2 -0
- package/resources/connectivityinsights.d.mts.map +1 -0
- package/resources/connectivityinsights.d.ts +2 -0
- package/resources/connectivityinsights.d.ts.map +1 -0
- package/resources/connectivityinsights.js +6 -0
- package/resources/connectivityinsights.js.map +1 -0
- package/resources/connectivityinsights.mjs +3 -0
- package/resources/connectivityinsights.mjs.map +1 -0
- package/resources/customerinsights/customerinsights.d.mts +10 -0
- package/resources/customerinsights/customerinsights.d.mts.map +1 -0
- package/resources/customerinsights/customerinsights.d.ts +10 -0
- package/resources/customerinsights/customerinsights.d.ts.map +1 -0
- package/resources/customerinsights/customerinsights.js +17 -0
- package/resources/customerinsights/customerinsights.js.map +1 -0
- package/resources/customerinsights/customerinsights.mjs +12 -0
- package/resources/customerinsights/customerinsights.mjs.map +1 -0
- package/resources/customerinsights/index.d.mts +3 -0
- package/resources/customerinsights/index.d.mts.map +1 -0
- package/resources/customerinsights/index.d.ts +3 -0
- package/resources/customerinsights/index.d.ts.map +1 -0
- package/resources/customerinsights/index.js +9 -0
- package/resources/customerinsights/index.js.map +1 -0
- package/resources/customerinsights/index.mjs +4 -0
- package/resources/customerinsights/index.mjs.map +1 -0
- package/resources/customerinsights/scoring.d.mts +71 -0
- package/resources/customerinsights/scoring.d.mts.map +1 -0
- package/resources/customerinsights/scoring.d.ts +71 -0
- package/resources/customerinsights/scoring.d.ts.map +1 -0
- package/resources/customerinsights/scoring.js +34 -0
- package/resources/customerinsights/scoring.js.map +1 -0
- package/resources/customerinsights/scoring.mjs +30 -0
- package/resources/customerinsights/scoring.mjs.map +1 -0
- package/resources/customerinsights.d.mts +2 -0
- package/resources/customerinsights.d.mts.map +1 -0
- package/resources/customerinsights.d.ts +2 -0
- package/resources/customerinsights.d.ts.map +1 -0
- package/resources/customerinsights.js +6 -0
- package/resources/customerinsights.js.map +1 -0
- package/resources/customerinsights.mjs +3 -0
- package/resources/customerinsights.mjs.map +1 -0
- package/resources/deviceidentifier.d.mts +334 -0
- package/resources/deviceidentifier.d.mts.map +1 -0
- package/resources/deviceidentifier.d.ts +334 -0
- package/resources/deviceidentifier.d.ts.map +1 -0
- package/resources/deviceidentifier.js +70 -0
- package/resources/deviceidentifier.js.map +1 -0
- package/resources/deviceidentifier.mjs +66 -0
- package/resources/deviceidentifier.mjs.map +1 -0
- package/resources/devicelocation/devicelocation.d.mts +10 -0
- package/resources/devicelocation/devicelocation.d.mts.map +1 -0
- package/resources/devicelocation/devicelocation.d.ts +10 -0
- package/resources/devicelocation/devicelocation.d.ts.map +1 -0
- package/resources/devicelocation/devicelocation.js +17 -0
- package/resources/devicelocation/devicelocation.js.map +1 -0
- package/resources/devicelocation/devicelocation.mjs +12 -0
- package/resources/devicelocation/devicelocation.mjs.map +1 -0
- package/resources/devicelocation/index.d.mts +3 -0
- package/resources/devicelocation/index.d.mts.map +1 -0
- package/resources/devicelocation/index.d.ts +3 -0
- package/resources/devicelocation/index.d.ts.map +1 -0
- package/resources/devicelocation/index.js +9 -0
- package/resources/devicelocation/index.js.map +1 -0
- package/resources/devicelocation/index.mjs +4 -0
- package/resources/devicelocation/index.mjs.map +1 -0
- package/resources/devicelocation/subscriptions.d.mts +448 -0
- package/resources/devicelocation/subscriptions.d.mts.map +1 -0
- package/resources/devicelocation/subscriptions.d.ts +448 -0
- package/resources/devicelocation/subscriptions.d.ts.map +1 -0
- package/resources/devicelocation/subscriptions.js +115 -0
- package/resources/devicelocation/subscriptions.js.map +1 -0
- package/resources/devicelocation/subscriptions.mjs +111 -0
- package/resources/devicelocation/subscriptions.mjs.map +1 -0
- package/resources/devicelocation.d.mts +2 -0
- package/resources/devicelocation.d.mts.map +1 -0
- package/resources/devicelocation.d.ts +2 -0
- package/resources/devicelocation.d.ts.map +1 -0
- package/resources/devicelocation.js +6 -0
- package/resources/devicelocation.js.map +1 -0
- package/resources/devicelocation.mjs +3 -0
- package/resources/devicelocation.mjs.map +1 -0
- package/resources/devicereachabilitystatus/devicereachabilitystatus.d.mts +10 -0
- package/resources/devicereachabilitystatus/devicereachabilitystatus.d.mts.map +1 -0
- package/resources/devicereachabilitystatus/devicereachabilitystatus.d.ts +10 -0
- package/resources/devicereachabilitystatus/devicereachabilitystatus.d.ts.map +1 -0
- package/resources/devicereachabilitystatus/devicereachabilitystatus.js +17 -0
- package/resources/devicereachabilitystatus/devicereachabilitystatus.js.map +1 -0
- package/resources/devicereachabilitystatus/devicereachabilitystatus.mjs +12 -0
- package/resources/devicereachabilitystatus/devicereachabilitystatus.mjs.map +1 -0
- package/resources/devicereachabilitystatus/index.d.mts +3 -0
- package/resources/devicereachabilitystatus/index.d.mts.map +1 -0
- package/resources/devicereachabilitystatus/index.d.ts +3 -0
- package/resources/devicereachabilitystatus/index.d.ts.map +1 -0
- package/resources/devicereachabilitystatus/index.js +9 -0
- package/resources/devicereachabilitystatus/index.js.map +1 -0
- package/resources/devicereachabilitystatus/index.mjs +4 -0
- package/resources/devicereachabilitystatus/index.mjs.map +1 -0
- package/resources/devicereachabilitystatus/subscriptions.d.mts +387 -0
- package/resources/devicereachabilitystatus/subscriptions.d.mts.map +1 -0
- package/resources/devicereachabilitystatus/subscriptions.d.ts +387 -0
- package/resources/devicereachabilitystatus/subscriptions.d.ts.map +1 -0
- package/resources/devicereachabilitystatus/subscriptions.js +114 -0
- package/resources/devicereachabilitystatus/subscriptions.js.map +1 -0
- package/resources/devicereachabilitystatus/subscriptions.mjs +110 -0
- package/resources/devicereachabilitystatus/subscriptions.mjs.map +1 -0
- package/resources/devicereachabilitystatus.d.mts +2 -0
- package/resources/devicereachabilitystatus.d.mts.map +1 -0
- package/resources/devicereachabilitystatus.d.ts +2 -0
- package/resources/devicereachabilitystatus.d.ts.map +1 -0
- package/resources/devicereachabilitystatus.js +6 -0
- package/resources/devicereachabilitystatus.js.map +1 -0
- package/resources/devicereachabilitystatus.mjs +3 -0
- package/resources/devicereachabilitystatus.mjs.map +1 -0
- package/resources/deviceroamingstatus/deviceroamingstatus.d.mts +10 -0
- package/resources/deviceroamingstatus/deviceroamingstatus.d.mts.map +1 -0
- package/resources/deviceroamingstatus/deviceroamingstatus.d.ts +10 -0
- package/resources/deviceroamingstatus/deviceroamingstatus.d.ts.map +1 -0
- package/resources/deviceroamingstatus/deviceroamingstatus.js +17 -0
- package/resources/deviceroamingstatus/deviceroamingstatus.js.map +1 -0
- package/resources/deviceroamingstatus/deviceroamingstatus.mjs +12 -0
- package/resources/deviceroamingstatus/deviceroamingstatus.mjs.map +1 -0
- package/resources/deviceroamingstatus/index.d.mts +3 -0
- package/resources/deviceroamingstatus/index.d.mts.map +1 -0
- package/resources/deviceroamingstatus/index.d.ts +3 -0
- package/resources/deviceroamingstatus/index.d.ts.map +1 -0
- package/resources/deviceroamingstatus/index.js +9 -0
- package/resources/deviceroamingstatus/index.js.map +1 -0
- package/resources/deviceroamingstatus/index.mjs +4 -0
- package/resources/deviceroamingstatus/index.mjs.map +1 -0
- package/resources/deviceroamingstatus/subscriptions.d.mts +391 -0
- package/resources/deviceroamingstatus/subscriptions.d.mts.map +1 -0
- package/resources/deviceroamingstatus/subscriptions.d.ts +391 -0
- package/resources/deviceroamingstatus/subscriptions.d.ts.map +1 -0
- package/resources/deviceroamingstatus/subscriptions.js +113 -0
- package/resources/deviceroamingstatus/subscriptions.js.map +1 -0
- package/resources/deviceroamingstatus/subscriptions.mjs +109 -0
- package/resources/deviceroamingstatus/subscriptions.mjs.map +1 -0
- package/resources/deviceroamingstatus.d.mts +2 -0
- package/resources/deviceroamingstatus.d.mts.map +1 -0
- package/resources/deviceroamingstatus.d.ts +2 -0
- package/resources/deviceroamingstatus.d.ts.map +1 -0
- package/resources/deviceroamingstatus.js +6 -0
- package/resources/deviceroamingstatus.js.map +1 -0
- package/resources/deviceroamingstatus.mjs +3 -0
- package/resources/deviceroamingstatus.mjs.map +1 -0
- package/resources/deviceswap.d.mts +81 -0
- package/resources/deviceswap.d.mts.map +1 -0
- package/resources/deviceswap.d.ts +81 -0
- package/resources/deviceswap.d.ts.map +1 -0
- package/resources/deviceswap.js +51 -0
- package/resources/deviceswap.js.map +1 -0
- package/resources/deviceswap.mjs +47 -0
- package/resources/deviceswap.mjs.map +1 -0
- package/resources/index.d.mts +21 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +21 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +45 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +22 -0
- package/resources/index.mjs.map +1 -0
- package/resources/knowyourcustomerageverification.d.mts +168 -0
- package/resources/knowyourcustomerageverification.d.mts.map +1 -0
- package/resources/knowyourcustomerageverification.d.ts +168 -0
- package/resources/knowyourcustomerageverification.d.ts.map +1 -0
- package/resources/knowyourcustomerageverification.js +67 -0
- package/resources/knowyourcustomerageverification.js.map +1 -0
- package/resources/knowyourcustomerageverification.mjs +63 -0
- package/resources/knowyourcustomerageverification.mjs.map +1 -0
- package/resources/knowyourcustomerfill-in.d.mts +165 -0
- package/resources/knowyourcustomerfill-in.d.mts.map +1 -0
- package/resources/knowyourcustomerfill-in.d.ts +165 -0
- package/resources/knowyourcustomerfill-in.d.ts.map +1 -0
- package/resources/knowyourcustomerfill-in.js +33 -0
- package/resources/knowyourcustomerfill-in.js.map +1 -0
- package/resources/knowyourcustomerfill-in.mjs +29 -0
- package/resources/knowyourcustomerfill-in.mjs.map +1 -0
- package/resources/knowyourcustomermatch.d.mts +492 -0
- package/resources/knowyourcustomermatch.d.mts.map +1 -0
- package/resources/knowyourcustomermatch.d.ts +492 -0
- package/resources/knowyourcustomermatch.d.ts.map +1 -0
- package/resources/knowyourcustomermatch.js +85 -0
- package/resources/knowyourcustomermatch.js.map +1 -0
- package/resources/knowyourcustomermatch.mjs +81 -0
- package/resources/knowyourcustomermatch.mjs.map +1 -0
- package/resources/numberrecycling.d.mts +47 -0
- package/resources/numberrecycling.d.mts.map +1 -0
- package/resources/numberrecycling.d.ts +47 -0
- package/resources/numberrecycling.d.ts.map +1 -0
- package/resources/numberrecycling.js +32 -0
- package/resources/numberrecycling.js.map +1 -0
- package/resources/numberrecycling.mjs +28 -0
- package/resources/numberrecycling.mjs.map +1 -0
- package/resources/otpvalidation.d.mts +77 -0
- package/resources/otpvalidation.d.mts.map +1 -0
- package/resources/otpvalidation.d.ts +77 -0
- package/resources/otpvalidation.d.ts.map +1 -0
- package/resources/otpvalidation.js +56 -0
- package/resources/otpvalidation.js.map +1 -0
- package/resources/otpvalidation.mjs +52 -0
- package/resources/otpvalidation.mjs.map +1 -0
- package/resources/populationdensitydata.d.mts +180 -0
- package/resources/populationdensitydata.d.mts.map +1 -0
- package/resources/populationdensitydata.d.ts +180 -0
- package/resources/populationdensitydata.d.ts.map +1 -0
- package/resources/populationdensitydata.js +47 -0
- package/resources/populationdensitydata.js.map +1 -0
- package/resources/populationdensitydata.mjs +43 -0
- package/resources/populationdensitydata.mjs.map +1 -0
- package/resources/qualityondemand.d.mts +406 -0
- package/resources/qualityondemand.d.mts.map +1 -0
- package/resources/qualityondemand.d.ts +406 -0
- package/resources/qualityondemand.d.ts.map +1 -0
- package/resources/qualityondemand.js +73 -0
- package/resources/qualityondemand.js.map +1 -0
- package/resources/qualityondemand.mjs +69 -0
- package/resources/qualityondemand.mjs.map +1 -0
- package/resources/regiondevicecount.d.mts +178 -0
- package/resources/regiondevicecount.d.mts.map +1 -0
- package/resources/regiondevicecount.d.ts +178 -0
- package/resources/regiondevicecount.d.ts.map +1 -0
- package/resources/regiondevicecount.js +57 -0
- package/resources/regiondevicecount.js.map +1 -0
- package/resources/regiondevicecount.mjs +53 -0
- package/resources/regiondevicecount.mjs.map +1 -0
- package/resources/simswap/index.d.mts +3 -0
- package/resources/simswap/index.d.mts.map +1 -0
- package/resources/simswap/index.d.ts +3 -0
- package/resources/simswap/index.d.ts.map +1 -0
- package/resources/simswap/index.js +9 -0
- package/resources/simswap/index.js.map +1 -0
- package/resources/simswap/index.mjs +4 -0
- package/resources/simswap/index.mjs.map +1 -0
- package/resources/simswap/simswap.d.mts +10 -0
- package/resources/simswap/simswap.d.mts.map +1 -0
- package/resources/simswap/simswap.d.ts +10 -0
- package/resources/simswap/simswap.d.ts.map +1 -0
- package/resources/simswap/simswap.js +17 -0
- package/resources/simswap/simswap.js.map +1 -0
- package/resources/simswap/simswap.mjs +12 -0
- package/resources/simswap/simswap.mjs.map +1 -0
- package/resources/simswap/subscriptions.d.mts +264 -0
- package/resources/simswap/subscriptions.d.mts.map +1 -0
- package/resources/simswap/subscriptions.d.ts +264 -0
- package/resources/simswap/subscriptions.d.ts.map +1 -0
- package/resources/simswap/subscriptions.js +109 -0
- package/resources/simswap/subscriptions.js.map +1 -0
- package/resources/simswap/subscriptions.mjs +105 -0
- package/resources/simswap/subscriptions.mjs.map +1 -0
- package/resources/simswap.d.mts +2 -0
- package/resources/simswap.d.mts.map +1 -0
- package/resources/simswap.d.ts +2 -0
- package/resources/simswap.d.ts.map +1 -0
- package/resources/simswap.js +6 -0
- package/resources/simswap.js.map +1 -0
- package/resources/simswap.mjs +3 -0
- package/resources/simswap.mjs.map +1 -0
- package/resources/tenure.d.mts +59 -0
- package/resources/tenure.d.mts.map +1 -0
- package/resources/tenure.d.ts +59 -0
- package/resources/tenure.d.ts.map +1 -0
- package/resources/tenure.js +33 -0
- package/resources/tenure.js.map +1 -0
- package/resources/tenure.mjs +29 -0
- package/resources/tenure.mjs.map +1 -0
- package/resources/webrtc/index.d.mts +3 -0
- package/resources/webrtc/index.d.mts.map +1 -0
- package/resources/webrtc/index.d.ts +3 -0
- package/resources/webrtc/index.d.ts.map +1 -0
- package/resources/webrtc/index.js +9 -0
- package/resources/webrtc/index.js.map +1 -0
- package/resources/webrtc/index.mjs +4 -0
- package/resources/webrtc/index.mjs.map +1 -0
- package/resources/webrtc/sessions.d.mts +358 -0
- package/resources/webrtc/sessions.d.mts.map +1 -0
- package/resources/webrtc/sessions.d.ts +358 -0
- package/resources/webrtc/sessions.d.ts.map +1 -0
- package/resources/webrtc/sessions.js +115 -0
- package/resources/webrtc/sessions.js.map +1 -0
- package/resources/webrtc/sessions.mjs +111 -0
- package/resources/webrtc/sessions.mjs.map +1 -0
- package/resources/webrtc/webrtc.d.mts +10 -0
- package/resources/webrtc/webrtc.d.mts.map +1 -0
- package/resources/webrtc/webrtc.d.ts +10 -0
- package/resources/webrtc/webrtc.d.ts.map +1 -0
- package/resources/webrtc/webrtc.js +17 -0
- package/resources/webrtc/webrtc.js.map +1 -0
- package/resources/webrtc/webrtc.mjs +12 -0
- package/resources/webrtc/webrtc.mjs.map +1 -0
- package/resources/webrtc.d.mts +2 -0
- package/resources/webrtc.d.mts.map +1 -0
- package/resources/webrtc.d.ts +2 -0
- package/resources/webrtc.d.ts.map +1 -0
- package/resources/webrtc.js +6 -0
- package/resources/webrtc.js.map +1 -0
- package/resources/webrtc.mjs +3 -0
- package/resources/webrtc.mjs.map +1 -0
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +5 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/api-promise.ts +2 -0
- package/src/client.ts +1146 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/index.ts +22 -0
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +97 -0
- package/src/internal/parse.ts +50 -0
- package/src/internal/request-options.ts +91 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +95 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +126 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +8 -0
- package/src/lib/.keep +4 -0
- package/src/resource.ts +2 -0
- package/src/resources/callforwardingsignal.ts +140 -0
- package/src/resources/connectednetworktype/connectednetworktype.ts +39 -0
- package/src/resources/connectednetworktype/index.ts +16 -0
- package/src/resources/connectednetworktype/subscriptions.ts +485 -0
- package/src/resources/connectednetworktype.ts +3 -0
- package/src/resources/connectivityinsights/connectivityinsights.ts +39 -0
- package/src/resources/connectivityinsights/index.ts +16 -0
- package/src/resources/connectivityinsights/subscriptions.ts +556 -0
- package/src/resources/connectivityinsights.ts +3 -0
- package/src/resources/customerinsights/customerinsights.ts +19 -0
- package/src/resources/customerinsights/index.ts +4 -0
- package/src/resources/customerinsights/scoring.ts +94 -0
- package/src/resources/customerinsights.ts +3 -0
- package/src/resources/deviceidentifier.ts +418 -0
- package/src/resources/devicelocation/devicelocation.ts +43 -0
- package/src/resources/devicelocation/index.ts +18 -0
- package/src/resources/devicelocation/subscriptions.ts +558 -0
- package/src/resources/devicelocation.ts +3 -0
- package/src/resources/devicereachabilitystatus/devicereachabilitystatus.ts +39 -0
- package/src/resources/devicereachabilitystatus/index.ts +16 -0
- package/src/resources/devicereachabilitystatus/subscriptions.ts +494 -0
- package/src/resources/devicereachabilitystatus.ts +3 -0
- package/src/resources/deviceroamingstatus/deviceroamingstatus.ts +39 -0
- package/src/resources/deviceroamingstatus/index.ts +16 -0
- package/src/resources/deviceroamingstatus/subscriptions.ts +499 -0
- package/src/resources/deviceroamingstatus.ts +3 -0
- package/src/resources/deviceswap.ts +122 -0
- package/src/resources/index.ts +85 -0
- package/src/resources/knowyourcustomerageverification.ts +206 -0
- package/src/resources/knowyourcustomerfill-in.ts +219 -0
- package/src/resources/knowyourcustomermatch.ts +585 -0
- package/src/resources/numberrecycling.ts +71 -0
- package/src/resources/otpvalidation.ts +116 -0
- package/src/resources/populationdensitydata.ts +217 -0
- package/src/resources/qualityondemand.ts +493 -0
- package/src/resources/regiondevicecount.ts +216 -0
- package/src/resources/simswap/index.ts +16 -0
- package/src/resources/simswap/simswap.ts +39 -0
- package/src/resources/simswap/subscriptions.ts +357 -0
- package/src/resources/simswap.ts +3 -0
- package/src/resources/tenure.ts +78 -0
- package/src/resources/webrtc/index.ts +12 -0
- package/src/resources/webrtc/sessions.ts +519 -0
- package/src/resources/webrtc/webrtc.ts +31 -0
- package/src/resources/webrtc.ts +3 -0
- package/src/resources.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +2 -0
- package/src/version.ts +1 -0
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +2 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +6 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +2 -0
- package/uploads.mjs.map +1 -0
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
|
@@ -0,0 +1,492 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
export declare class Knowyourcustomermatch extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Verify matching of a number of attributes related to a customer identity against
|
|
7
|
+
* the verified data bound to their phone number in the Operator systems.
|
|
8
|
+
* Regardless of whether the `phoneNumber` is explicitly stated in the request
|
|
9
|
+
* body, at least one of the other fields must be provided, otherwise a
|
|
10
|
+
* `HTTP 400 - KNOW_YOUR_CUSTOMER.INVALID_PARAM_COMBINATION` error will be
|
|
11
|
+
* returned.
|
|
12
|
+
*
|
|
13
|
+
* In order to proceed with the match check, some Operators may have the
|
|
14
|
+
* requirement to perform an additional level of validation based on the
|
|
15
|
+
* `idDocument` property. This means that, in those cases, the `idDocument` is
|
|
16
|
+
* required and the provided value needs to match the one stored in the Operator
|
|
17
|
+
* system associated with the indicated `phoneNumber`. This validation will be done
|
|
18
|
+
* before proceeding with the match check of the rest of the properties. The
|
|
19
|
+
* following two rules apply only in the cases where the Operator have the
|
|
20
|
+
* requirement to validate the `idDocument`:
|
|
21
|
+
*
|
|
22
|
+
* - If no `idDocument` is provided, then a
|
|
23
|
+
* `HTTP 403 - KNOW_YOUR_CUSTOMER.ID_DOCUMENT_REQUIRED` error will be returned.
|
|
24
|
+
* - If the provided `idDocument` does not match the one stored in the Operator
|
|
25
|
+
* systems, then a `HTTP 403 - KNOW_YOUR_CUSTOMER.ID_DOCUMENT_MISMATCH` error
|
|
26
|
+
* will be returned.
|
|
27
|
+
*
|
|
28
|
+
* The API will return the result of the matching process for each requested
|
|
29
|
+
* attribute. This means that the response will **only** contain the attributes for
|
|
30
|
+
* which validation has been requested. Possible values are:
|
|
31
|
+
*
|
|
32
|
+
* - **true**: the attribute provided matches with the one in the Operator systems,
|
|
33
|
+
* which is equal to a `match_score` of 100.
|
|
34
|
+
* - **false**: the attribute provided does not match with the one in the Operator
|
|
35
|
+
* systems.
|
|
36
|
+
* - **not_available**: the attribute is not available to validate.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const response = await client.knowyourcustomermatch.match({
|
|
41
|
+
* address: 'Tokyo-to Chiyoda-ku Iidabashi 3-10-10',
|
|
42
|
+
* birthdate: '1978-08-22',
|
|
43
|
+
* cityOfBirth: 'Madrid',
|
|
44
|
+
* country: 'JP',
|
|
45
|
+
* countryOfBirth: 'ES',
|
|
46
|
+
* email: 'abc@example.com',
|
|
47
|
+
* familyName: 'Sanchez Arjona',
|
|
48
|
+
* familyNameAtBirth: 'YYYY',
|
|
49
|
+
* gender: 'OTHER',
|
|
50
|
+
* givenName: 'Federica',
|
|
51
|
+
* houseNumberExtension: 'VVVV',
|
|
52
|
+
* idDocument: '66666666q',
|
|
53
|
+
* idDocumentExpiryDate: '2027-07-12',
|
|
54
|
+
* idDocumentType: 'passport',
|
|
55
|
+
* locality: 'ZZZZ',
|
|
56
|
+
* middleNames: 'Sanchez',
|
|
57
|
+
* name: 'Federica Sanchez Arjona',
|
|
58
|
+
* nameKanaHankaku: 'federica',
|
|
59
|
+
* nameKanaZenkaku: 'Federica',
|
|
60
|
+
* nationality: 'ES',
|
|
61
|
+
* phoneNumber: '+34629255833',
|
|
62
|
+
* postalCode: '1028460',
|
|
63
|
+
* region: 'Tokyo',
|
|
64
|
+
* streetName: 'Nicolas Salmeron',
|
|
65
|
+
* streetNumber: '4',
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
match(params: KnowyourcustomermatchMatchParams, options?: RequestOptions): APIPromise<KnowyourcustomermatchMatchResponse>;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
73
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
74
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
75
|
+
* not available to validate.
|
|
76
|
+
*/
|
|
77
|
+
export type MatchResult = 'true' | 'false' | 'not_available';
|
|
78
|
+
export interface KnowyourcustomermatchMatchResponse {
|
|
79
|
+
/**
|
|
80
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
81
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
82
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
83
|
+
* not available to validate.
|
|
84
|
+
*/
|
|
85
|
+
addressMatch?: MatchResult;
|
|
86
|
+
/**
|
|
87
|
+
* Indicates the similarity score assigned to the input value when it does not
|
|
88
|
+
* exactly match the value stored in the operator's system. This property shall
|
|
89
|
+
* only be returned when the value of the corresponding match field is `false`. A
|
|
90
|
+
* perfect match with a score of 100 is indicated by `match` being 'true' and no
|
|
91
|
+
* `matchScore` is returned in this case.
|
|
92
|
+
*/
|
|
93
|
+
addressMatchScore?: number;
|
|
94
|
+
/**
|
|
95
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
96
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
97
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
98
|
+
* not available to validate.
|
|
99
|
+
*/
|
|
100
|
+
birthdateMatch?: MatchResult;
|
|
101
|
+
/**
|
|
102
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
103
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
104
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
105
|
+
* not available to validate.
|
|
106
|
+
*/
|
|
107
|
+
cityOfBirthMatch?: MatchResult;
|
|
108
|
+
/**
|
|
109
|
+
* Indicates the similarity score assigned to the input value when it does not
|
|
110
|
+
* exactly match the value stored in the operator's system. This property shall
|
|
111
|
+
* only be returned when the value of the corresponding match field is `false`. A
|
|
112
|
+
* perfect match with a score of 100 is indicated by `match` being 'true' and no
|
|
113
|
+
* `matchScore` is returned in this case.
|
|
114
|
+
*/
|
|
115
|
+
cityOfBirthMatchScore?: number;
|
|
116
|
+
/**
|
|
117
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
118
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
119
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
120
|
+
* not available to validate.
|
|
121
|
+
*/
|
|
122
|
+
countryMatch?: MatchResult;
|
|
123
|
+
/**
|
|
124
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
125
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
126
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
127
|
+
* not available to validate.
|
|
128
|
+
*/
|
|
129
|
+
countryOfBirthMatch?: MatchResult;
|
|
130
|
+
/**
|
|
131
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
132
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
133
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
134
|
+
* not available to validate.
|
|
135
|
+
*/
|
|
136
|
+
emailMatch?: MatchResult;
|
|
137
|
+
/**
|
|
138
|
+
* Indicates the similarity score assigned to the input value when it does not
|
|
139
|
+
* exactly match the value stored in the operator's system. This property shall
|
|
140
|
+
* only be returned when the value of the corresponding match field is `false`. A
|
|
141
|
+
* perfect match with a score of 100 is indicated by `match` being 'true' and no
|
|
142
|
+
* `matchScore` is returned in this case.
|
|
143
|
+
*/
|
|
144
|
+
emailMatchScore?: number;
|
|
145
|
+
/**
|
|
146
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
147
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
148
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
149
|
+
* not available to validate.
|
|
150
|
+
*/
|
|
151
|
+
familyNameAtBirthMatch?: MatchResult;
|
|
152
|
+
/**
|
|
153
|
+
* Indicates the similarity score assigned to the input value when it does not
|
|
154
|
+
* exactly match the value stored in the operator's system. This property shall
|
|
155
|
+
* only be returned when the value of the corresponding match field is `false`. A
|
|
156
|
+
* perfect match with a score of 100 is indicated by `match` being 'true' and no
|
|
157
|
+
* `matchScore` is returned in this case.
|
|
158
|
+
*/
|
|
159
|
+
familyNameAtBirthMatchScore?: number;
|
|
160
|
+
/**
|
|
161
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
162
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
163
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
164
|
+
* not available to validate.
|
|
165
|
+
*/
|
|
166
|
+
familyNameMatch?: MatchResult;
|
|
167
|
+
/**
|
|
168
|
+
* Indicates the similarity score assigned to the input value when it does not
|
|
169
|
+
* exactly match the value stored in the operator's system. This property shall
|
|
170
|
+
* only be returned when the value of the corresponding match field is `false`. A
|
|
171
|
+
* perfect match with a score of 100 is indicated by `match` being 'true' and no
|
|
172
|
+
* `matchScore` is returned in this case.
|
|
173
|
+
*/
|
|
174
|
+
familyNameMatchScore?: number;
|
|
175
|
+
/**
|
|
176
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
177
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
178
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
179
|
+
* not available to validate.
|
|
180
|
+
*/
|
|
181
|
+
genderMatch?: MatchResult;
|
|
182
|
+
/**
|
|
183
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
184
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
185
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
186
|
+
* not available to validate.
|
|
187
|
+
*/
|
|
188
|
+
givenNameMatch?: MatchResult;
|
|
189
|
+
/**
|
|
190
|
+
* Indicates the similarity score assigned to the input value when it does not
|
|
191
|
+
* exactly match the value stored in the operator's system. This property shall
|
|
192
|
+
* only be returned when the value of the corresponding match field is `false`. A
|
|
193
|
+
* perfect match with a score of 100 is indicated by `match` being 'true' and no
|
|
194
|
+
* `matchScore` is returned in this case.
|
|
195
|
+
*/
|
|
196
|
+
givenNameMatchScore?: number;
|
|
197
|
+
/**
|
|
198
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
199
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
200
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
201
|
+
* not available to validate.
|
|
202
|
+
*/
|
|
203
|
+
houseNumberExtensionMatch?: MatchResult;
|
|
204
|
+
/**
|
|
205
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
206
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
207
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
208
|
+
* not available to validate.
|
|
209
|
+
*/
|
|
210
|
+
idDocumentExpiryDateMatch?: MatchResult;
|
|
211
|
+
/**
|
|
212
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
213
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
214
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
215
|
+
* not available to validate.
|
|
216
|
+
*/
|
|
217
|
+
idDocumentMatch?: MatchResult;
|
|
218
|
+
/**
|
|
219
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
220
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
221
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
222
|
+
* not available to validate.
|
|
223
|
+
*/
|
|
224
|
+
idDocumentTypeMatch?: MatchResult;
|
|
225
|
+
/**
|
|
226
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
227
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
228
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
229
|
+
* not available to validate.
|
|
230
|
+
*/
|
|
231
|
+
localityMatch?: MatchResult;
|
|
232
|
+
/**
|
|
233
|
+
* Indicates the similarity score assigned to the input value when it does not
|
|
234
|
+
* exactly match the value stored in the operator's system. This property shall
|
|
235
|
+
* only be returned when the value of the corresponding match field is `false`. A
|
|
236
|
+
* perfect match with a score of 100 is indicated by `match` being 'true' and no
|
|
237
|
+
* `matchScore` is returned in this case.
|
|
238
|
+
*/
|
|
239
|
+
localityMatchScore?: number;
|
|
240
|
+
/**
|
|
241
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
242
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
243
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
244
|
+
* not available to validate.
|
|
245
|
+
*/
|
|
246
|
+
middleNamesMatch?: MatchResult;
|
|
247
|
+
/**
|
|
248
|
+
* Indicates the similarity score assigned to the input value when it does not
|
|
249
|
+
* exactly match the value stored in the operator's system. This property shall
|
|
250
|
+
* only be returned when the value of the corresponding match field is `false`. A
|
|
251
|
+
* perfect match with a score of 100 is indicated by `match` being 'true' and no
|
|
252
|
+
* `matchScore` is returned in this case.
|
|
253
|
+
*/
|
|
254
|
+
middleNamesMatchScore?: number;
|
|
255
|
+
/**
|
|
256
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
257
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
258
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
259
|
+
* not available to validate.
|
|
260
|
+
*/
|
|
261
|
+
nameKanaHankakuMatch?: MatchResult;
|
|
262
|
+
/**
|
|
263
|
+
* Indicates the similarity score assigned to the input value when it does not
|
|
264
|
+
* exactly match the value stored in the operator's system. This property shall
|
|
265
|
+
* only be returned when the value of the corresponding match field is `false`. A
|
|
266
|
+
* perfect match with a score of 100 is indicated by `match` being 'true' and no
|
|
267
|
+
* `matchScore` is returned in this case.
|
|
268
|
+
*/
|
|
269
|
+
nameKanaHankakuMatchScore?: number;
|
|
270
|
+
/**
|
|
271
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
272
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
273
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
274
|
+
* not available to validate.
|
|
275
|
+
*/
|
|
276
|
+
nameKanaZenkakuMatch?: MatchResult;
|
|
277
|
+
/**
|
|
278
|
+
* Indicates the similarity score assigned to the input value when it does not
|
|
279
|
+
* exactly match the value stored in the operator's system. This property shall
|
|
280
|
+
* only be returned when the value of the corresponding match field is `false`. A
|
|
281
|
+
* perfect match with a score of 100 is indicated by `match` being 'true' and no
|
|
282
|
+
* `matchScore` is returned in this case.
|
|
283
|
+
*/
|
|
284
|
+
nameKanaZenkakuMatchScore?: number;
|
|
285
|
+
/**
|
|
286
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
287
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
288
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
289
|
+
* not available to validate.
|
|
290
|
+
*/
|
|
291
|
+
nameMatch?: MatchResult;
|
|
292
|
+
/**
|
|
293
|
+
* Indicates the similarity score assigned to the input value when it does not
|
|
294
|
+
* exactly match the value stored in the operator's system. This property shall
|
|
295
|
+
* only be returned when the value of the corresponding match field is `false`. A
|
|
296
|
+
* perfect match with a score of 100 is indicated by `match` being 'true' and no
|
|
297
|
+
* `matchScore` is returned in this case.
|
|
298
|
+
*/
|
|
299
|
+
nameMatchScore?: number;
|
|
300
|
+
/**
|
|
301
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
302
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
303
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
304
|
+
* not available to validate.
|
|
305
|
+
*/
|
|
306
|
+
nationalityMatch?: MatchResult;
|
|
307
|
+
/**
|
|
308
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
309
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
310
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
311
|
+
* not available to validate.
|
|
312
|
+
*/
|
|
313
|
+
postalCodeMatch?: MatchResult;
|
|
314
|
+
/**
|
|
315
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
316
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
317
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
318
|
+
* not available to validate.
|
|
319
|
+
*/
|
|
320
|
+
regionMatch?: MatchResult;
|
|
321
|
+
/**
|
|
322
|
+
* Indicates the similarity score assigned to the input value when it does not
|
|
323
|
+
* exactly match the value stored in the operator's system. This property shall
|
|
324
|
+
* only be returned when the value of the corresponding match field is `false`. A
|
|
325
|
+
* perfect match with a score of 100 is indicated by `match` being 'true' and no
|
|
326
|
+
* `matchScore` is returned in this case.
|
|
327
|
+
*/
|
|
328
|
+
regionMatchScore?: number;
|
|
329
|
+
/**
|
|
330
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
331
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
332
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
333
|
+
* not available to validate.
|
|
334
|
+
*/
|
|
335
|
+
streetNameMatch?: MatchResult;
|
|
336
|
+
/**
|
|
337
|
+
* Indicates the similarity score assigned to the input value when it does not
|
|
338
|
+
* exactly match the value stored in the operator's system. This property shall
|
|
339
|
+
* only be returned when the value of the corresponding match field is `false`. A
|
|
340
|
+
* perfect match with a score of 100 is indicated by `match` being 'true' and no
|
|
341
|
+
* `matchScore` is returned in this case.
|
|
342
|
+
*/
|
|
343
|
+
streetNameMatchScore?: number;
|
|
344
|
+
/**
|
|
345
|
+
* true - the attribute provided matches with the one in the Operator systems,
|
|
346
|
+
* which is equal to a `match_score` of 100. false - the attribute provided does
|
|
347
|
+
* not match with the one in the Operator systems. not_available - the attribute is
|
|
348
|
+
* not available to validate.
|
|
349
|
+
*/
|
|
350
|
+
streetNumberMatch?: MatchResult;
|
|
351
|
+
/**
|
|
352
|
+
* Indicates the similarity score assigned to the input value when it does not
|
|
353
|
+
* exactly match the value stored in the operator's system. This property shall
|
|
354
|
+
* only be returned when the value of the corresponding match field is `false`. A
|
|
355
|
+
* perfect match with a score of 100 is indicated by `match` being 'true' and no
|
|
356
|
+
* `matchScore` is returned in this case.
|
|
357
|
+
*/
|
|
358
|
+
streetNumberMatchScore?: number;
|
|
359
|
+
}
|
|
360
|
+
export interface KnowyourcustomermatchMatchParams {
|
|
361
|
+
/**
|
|
362
|
+
* Body param: Complete address of the customer. For some countries, it is built
|
|
363
|
+
* following the usual concatenation of parameters in a country, but for other
|
|
364
|
+
* countries, this is not the case. For some countries, it can use streetName,
|
|
365
|
+
* streetNumber and/or houseNumberExtension. For example, in ESP,
|
|
366
|
+
* streetName+streetNumber; in NLD, it can be streetName+streetNumber or
|
|
367
|
+
* streetName+streetNumber+houseNumberExtension.
|
|
368
|
+
*/
|
|
369
|
+
address?: string;
|
|
370
|
+
/**
|
|
371
|
+
* Body param: The birthdate of the customer, in RFC 3339 / ISO 8601 calendar date
|
|
372
|
+
* format (YYYY-MM-DD).
|
|
373
|
+
*/
|
|
374
|
+
birthdate?: string;
|
|
375
|
+
/**
|
|
376
|
+
* Body param: City where the customer was born.
|
|
377
|
+
*/
|
|
378
|
+
cityOfBirth?: string;
|
|
379
|
+
/**
|
|
380
|
+
* Body param: Country of the customer's address. Format ISO 3166-1 alpha-2
|
|
381
|
+
*/
|
|
382
|
+
country?: string;
|
|
383
|
+
/**
|
|
384
|
+
* Body param: Country where the customer was born. Format ISO 3166-1 alpha-2.
|
|
385
|
+
*/
|
|
386
|
+
countryOfBirth?: string;
|
|
387
|
+
/**
|
|
388
|
+
* Body param: Email address of the customer in the RFC specified format
|
|
389
|
+
* (local-part@domain).
|
|
390
|
+
*/
|
|
391
|
+
email?: string;
|
|
392
|
+
/**
|
|
393
|
+
* Body param: Last name, family name, or surname of the customer.
|
|
394
|
+
*/
|
|
395
|
+
familyName?: string;
|
|
396
|
+
/**
|
|
397
|
+
* Body param: Last/family/sur- name at birth of the customer.
|
|
398
|
+
*/
|
|
399
|
+
familyNameAtBirth?: string;
|
|
400
|
+
/**
|
|
401
|
+
* Body param: Gender of the customer (Male/Female/Other).
|
|
402
|
+
*/
|
|
403
|
+
gender?: 'MALE' | 'FEMALE' | 'OTHER';
|
|
404
|
+
/**
|
|
405
|
+
* Body param: First/given name or compound first/given name of the customer.
|
|
406
|
+
*/
|
|
407
|
+
givenName?: string;
|
|
408
|
+
/**
|
|
409
|
+
* Body param: Specific identifier of the house needed depending on the property
|
|
410
|
+
* type. For example, number of apartment in an apartment building.
|
|
411
|
+
*/
|
|
412
|
+
houseNumberExtension?: string;
|
|
413
|
+
/**
|
|
414
|
+
* Body param: Id number associated to the official identity document in the
|
|
415
|
+
* country. It may contain alphanumeric characters.
|
|
416
|
+
*/
|
|
417
|
+
idDocument?: string;
|
|
418
|
+
/**
|
|
419
|
+
* Body param: Expiration date of the identity document (ISO 8601).
|
|
420
|
+
*/
|
|
421
|
+
idDocumentExpiryDate?: string;
|
|
422
|
+
/**
|
|
423
|
+
* Body param: Type of the official identity document provided.
|
|
424
|
+
*/
|
|
425
|
+
idDocumentType?: 'passport' | 'national_id_card' | 'residence_permit' | 'diplomatic_id' | 'driver_licence' | 'social_security_id' | 'other';
|
|
426
|
+
/**
|
|
427
|
+
* Body param: Locality of the customer's address
|
|
428
|
+
*/
|
|
429
|
+
locality?: string;
|
|
430
|
+
/**
|
|
431
|
+
* Body param: Middle name/s of the customer.
|
|
432
|
+
*/
|
|
433
|
+
middleNames?: string;
|
|
434
|
+
/**
|
|
435
|
+
* Body param: Complete name of the customer, usually composed of first/given name
|
|
436
|
+
* and last/family/sur- name in a country. Depending on the country, the order of
|
|
437
|
+
* first/give name and last/family/sur- name varies, and middle name could be
|
|
438
|
+
* included. It can use givenName, middleNames, familyName and/or
|
|
439
|
+
* familyNameAtBirth. For example, in ESP, name+familyName; in NLD, it can be
|
|
440
|
+
* name+middleNames+familyName or name+middleNames+familyNameAtBirth, etc.
|
|
441
|
+
*/
|
|
442
|
+
name?: string;
|
|
443
|
+
/**
|
|
444
|
+
* Body param: Complete name of the customer in Hankaku-Kana format (reading of
|
|
445
|
+
* name) for Japan.
|
|
446
|
+
*/
|
|
447
|
+
nameKanaHankaku?: string;
|
|
448
|
+
/**
|
|
449
|
+
* Body param: Complete name of the customer in Zenkaku-Kana format (reading of
|
|
450
|
+
* name) for Japan.
|
|
451
|
+
*/
|
|
452
|
+
nameKanaZenkaku?: string;
|
|
453
|
+
/**
|
|
454
|
+
* Body param: ISO 3166-1 alpha-2 code of the customer’s nationality. In the case a
|
|
455
|
+
* customer has more than one nationality, it is supposed to be the nationality
|
|
456
|
+
* related to the ID document provided in the match request.
|
|
457
|
+
*/
|
|
458
|
+
nationality?: string;
|
|
459
|
+
/**
|
|
460
|
+
* Body param: A public identifier addressing a telephone subscription. In mobile
|
|
461
|
+
* networks it corresponds to the MSISDN (Mobile Station International Subscriber
|
|
462
|
+
* Directory Number). In order to be globally unique it has to be formatted in
|
|
463
|
+
* international format, according to E.164 standard, prefixed with '+'.
|
|
464
|
+
*/
|
|
465
|
+
phoneNumber?: string;
|
|
466
|
+
/**
|
|
467
|
+
* Body param: Zip code or postal code
|
|
468
|
+
*/
|
|
469
|
+
postalCode?: string;
|
|
470
|
+
/**
|
|
471
|
+
* Body param: Region/prefecture of the customer's address
|
|
472
|
+
*/
|
|
473
|
+
region?: string;
|
|
474
|
+
/**
|
|
475
|
+
* Body param: Name of the street of the customer's address. It should not include
|
|
476
|
+
* the type of the street.
|
|
477
|
+
*/
|
|
478
|
+
streetName?: string;
|
|
479
|
+
/**
|
|
480
|
+
* Body param: The street number of the customer's address. Number identifying a
|
|
481
|
+
* specific property on the 'streetName'.
|
|
482
|
+
*/
|
|
483
|
+
streetNumber?: string;
|
|
484
|
+
/**
|
|
485
|
+
* Header param: Correlation id for the different services
|
|
486
|
+
*/
|
|
487
|
+
'x-correlator'?: string;
|
|
488
|
+
}
|
|
489
|
+
export declare namespace Knowyourcustomermatch {
|
|
490
|
+
export { type MatchResult as MatchResult, type KnowyourcustomermatchMatchResponse as KnowyourcustomermatchMatchResponse, type KnowyourcustomermatchMatchParams as KnowyourcustomermatchMatchParams, };
|
|
491
|
+
}
|
|
492
|
+
//# sourceMappingURL=knowyourcustomermatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"knowyourcustomermatch.d.ts","sourceRoot":"","sources":["../src/resources/knowyourcustomermatch.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Knowyourcustomermatch = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const headers_1 = require("../internal/headers.js");
|
|
7
|
+
class Knowyourcustomermatch extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Verify matching of a number of attributes related to a customer identity against
|
|
10
|
+
* the verified data bound to their phone number in the Operator systems.
|
|
11
|
+
* Regardless of whether the `phoneNumber` is explicitly stated in the request
|
|
12
|
+
* body, at least one of the other fields must be provided, otherwise a
|
|
13
|
+
* `HTTP 400 - KNOW_YOUR_CUSTOMER.INVALID_PARAM_COMBINATION` error will be
|
|
14
|
+
* returned.
|
|
15
|
+
*
|
|
16
|
+
* In order to proceed with the match check, some Operators may have the
|
|
17
|
+
* requirement to perform an additional level of validation based on the
|
|
18
|
+
* `idDocument` property. This means that, in those cases, the `idDocument` is
|
|
19
|
+
* required and the provided value needs to match the one stored in the Operator
|
|
20
|
+
* system associated with the indicated `phoneNumber`. This validation will be done
|
|
21
|
+
* before proceeding with the match check of the rest of the properties. The
|
|
22
|
+
* following two rules apply only in the cases where the Operator have the
|
|
23
|
+
* requirement to validate the `idDocument`:
|
|
24
|
+
*
|
|
25
|
+
* - If no `idDocument` is provided, then a
|
|
26
|
+
* `HTTP 403 - KNOW_YOUR_CUSTOMER.ID_DOCUMENT_REQUIRED` error will be returned.
|
|
27
|
+
* - If the provided `idDocument` does not match the one stored in the Operator
|
|
28
|
+
* systems, then a `HTTP 403 - KNOW_YOUR_CUSTOMER.ID_DOCUMENT_MISMATCH` error
|
|
29
|
+
* will be returned.
|
|
30
|
+
*
|
|
31
|
+
* The API will return the result of the matching process for each requested
|
|
32
|
+
* attribute. This means that the response will **only** contain the attributes for
|
|
33
|
+
* which validation has been requested. Possible values are:
|
|
34
|
+
*
|
|
35
|
+
* - **true**: the attribute provided matches with the one in the Operator systems,
|
|
36
|
+
* which is equal to a `match_score` of 100.
|
|
37
|
+
* - **false**: the attribute provided does not match with the one in the Operator
|
|
38
|
+
* systems.
|
|
39
|
+
* - **not_available**: the attribute is not available to validate.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* const response = await client.knowyourcustomermatch.match({
|
|
44
|
+
* address: 'Tokyo-to Chiyoda-ku Iidabashi 3-10-10',
|
|
45
|
+
* birthdate: '1978-08-22',
|
|
46
|
+
* cityOfBirth: 'Madrid',
|
|
47
|
+
* country: 'JP',
|
|
48
|
+
* countryOfBirth: 'ES',
|
|
49
|
+
* email: 'abc@example.com',
|
|
50
|
+
* familyName: 'Sanchez Arjona',
|
|
51
|
+
* familyNameAtBirth: 'YYYY',
|
|
52
|
+
* gender: 'OTHER',
|
|
53
|
+
* givenName: 'Federica',
|
|
54
|
+
* houseNumberExtension: 'VVVV',
|
|
55
|
+
* idDocument: '66666666q',
|
|
56
|
+
* idDocumentExpiryDate: '2027-07-12',
|
|
57
|
+
* idDocumentType: 'passport',
|
|
58
|
+
* locality: 'ZZZZ',
|
|
59
|
+
* middleNames: 'Sanchez',
|
|
60
|
+
* name: 'Federica Sanchez Arjona',
|
|
61
|
+
* nameKanaHankaku: 'federica',
|
|
62
|
+
* nameKanaZenkaku: 'Federica',
|
|
63
|
+
* nationality: 'ES',
|
|
64
|
+
* phoneNumber: '+34629255833',
|
|
65
|
+
* postalCode: '1028460',
|
|
66
|
+
* region: 'Tokyo',
|
|
67
|
+
* streetName: 'Nicolas Salmeron',
|
|
68
|
+
* streetNumber: '4',
|
|
69
|
+
* });
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
match(params, options) {
|
|
73
|
+
const { 'x-correlator': xCorrelator, ...body } = params;
|
|
74
|
+
return this._client.post('/knowyourcustomermatch/match', {
|
|
75
|
+
body,
|
|
76
|
+
...options,
|
|
77
|
+
headers: (0, headers_1.buildHeaders)([
|
|
78
|
+
{ ...(xCorrelator != null ? { 'x-correlator': xCorrelator } : undefined) },
|
|
79
|
+
options?.headers,
|
|
80
|
+
]),
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.Knowyourcustomermatch = Knowyourcustomermatch;
|
|
85
|
+
//# sourceMappingURL=knowyourcustomermatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"knowyourcustomermatch.js","sourceRoot":"","sources":["../src/resources/knowyourcustomermatch.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,oDAAmD;AAGnD,MAAa,qBAAsB,SAAQ,sBAAW;IACpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+DG;IACH,KAAK,CACH,MAAwC,EACxC,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE;YACvD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,WAAW,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBAC1E,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AA/ED,sDA+EC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../internal/headers.mjs";
|
|
4
|
+
export class Knowyourcustomermatch extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Verify matching of a number of attributes related to a customer identity against
|
|
7
|
+
* the verified data bound to their phone number in the Operator systems.
|
|
8
|
+
* Regardless of whether the `phoneNumber` is explicitly stated in the request
|
|
9
|
+
* body, at least one of the other fields must be provided, otherwise a
|
|
10
|
+
* `HTTP 400 - KNOW_YOUR_CUSTOMER.INVALID_PARAM_COMBINATION` error will be
|
|
11
|
+
* returned.
|
|
12
|
+
*
|
|
13
|
+
* In order to proceed with the match check, some Operators may have the
|
|
14
|
+
* requirement to perform an additional level of validation based on the
|
|
15
|
+
* `idDocument` property. This means that, in those cases, the `idDocument` is
|
|
16
|
+
* required and the provided value needs to match the one stored in the Operator
|
|
17
|
+
* system associated with the indicated `phoneNumber`. This validation will be done
|
|
18
|
+
* before proceeding with the match check of the rest of the properties. The
|
|
19
|
+
* following two rules apply only in the cases where the Operator have the
|
|
20
|
+
* requirement to validate the `idDocument`:
|
|
21
|
+
*
|
|
22
|
+
* - If no `idDocument` is provided, then a
|
|
23
|
+
* `HTTP 403 - KNOW_YOUR_CUSTOMER.ID_DOCUMENT_REQUIRED` error will be returned.
|
|
24
|
+
* - If the provided `idDocument` does not match the one stored in the Operator
|
|
25
|
+
* systems, then a `HTTP 403 - KNOW_YOUR_CUSTOMER.ID_DOCUMENT_MISMATCH` error
|
|
26
|
+
* will be returned.
|
|
27
|
+
*
|
|
28
|
+
* The API will return the result of the matching process for each requested
|
|
29
|
+
* attribute. This means that the response will **only** contain the attributes for
|
|
30
|
+
* which validation has been requested. Possible values are:
|
|
31
|
+
*
|
|
32
|
+
* - **true**: the attribute provided matches with the one in the Operator systems,
|
|
33
|
+
* which is equal to a `match_score` of 100.
|
|
34
|
+
* - **false**: the attribute provided does not match with the one in the Operator
|
|
35
|
+
* systems.
|
|
36
|
+
* - **not_available**: the attribute is not available to validate.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const response = await client.knowyourcustomermatch.match({
|
|
41
|
+
* address: 'Tokyo-to Chiyoda-ku Iidabashi 3-10-10',
|
|
42
|
+
* birthdate: '1978-08-22',
|
|
43
|
+
* cityOfBirth: 'Madrid',
|
|
44
|
+
* country: 'JP',
|
|
45
|
+
* countryOfBirth: 'ES',
|
|
46
|
+
* email: 'abc@example.com',
|
|
47
|
+
* familyName: 'Sanchez Arjona',
|
|
48
|
+
* familyNameAtBirth: 'YYYY',
|
|
49
|
+
* gender: 'OTHER',
|
|
50
|
+
* givenName: 'Federica',
|
|
51
|
+
* houseNumberExtension: 'VVVV',
|
|
52
|
+
* idDocument: '66666666q',
|
|
53
|
+
* idDocumentExpiryDate: '2027-07-12',
|
|
54
|
+
* idDocumentType: 'passport',
|
|
55
|
+
* locality: 'ZZZZ',
|
|
56
|
+
* middleNames: 'Sanchez',
|
|
57
|
+
* name: 'Federica Sanchez Arjona',
|
|
58
|
+
* nameKanaHankaku: 'federica',
|
|
59
|
+
* nameKanaZenkaku: 'Federica',
|
|
60
|
+
* nationality: 'ES',
|
|
61
|
+
* phoneNumber: '+34629255833',
|
|
62
|
+
* postalCode: '1028460',
|
|
63
|
+
* region: 'Tokyo',
|
|
64
|
+
* streetName: 'Nicolas Salmeron',
|
|
65
|
+
* streetNumber: '4',
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
match(params, options) {
|
|
70
|
+
const { 'x-correlator': xCorrelator, ...body } = params;
|
|
71
|
+
return this._client.post('/knowyourcustomermatch/match', {
|
|
72
|
+
body,
|
|
73
|
+
...options,
|
|
74
|
+
headers: buildHeaders([
|
|
75
|
+
{ ...(xCorrelator != null ? { 'x-correlator': xCorrelator } : undefined) },
|
|
76
|
+
options?.headers,
|
|
77
|
+
]),
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=knowyourcustomermatch.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"knowyourcustomermatch.mjs","sourceRoot":"","sources":["../src/resources/knowyourcustomermatch.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,qBAAsB,SAAQ,WAAW;IACpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+DG;IACH,KAAK,CACH,MAAwC,EACxC,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE;YACvD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,GAAG,CAAC,WAAW,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBAC1E,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|