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,334 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import * as DeviceidentifierAPI from "./deviceidentifier.mjs";
|
|
3
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
5
|
+
export declare class Deviceidentifier extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get details about the specific device being used by a given mobile subscriber
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const response =
|
|
12
|
+
* await client.deviceidentifier.retrieveIdentifier();
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
retrieveIdentifier(params: DeviceidentifierRetrieveIdentifierParams, options?: RequestOptions): APIPromise<DeviceidentifierRetrieveIdentifierResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Get a pseudonymous identifier for device being used by a given mobile subscriber
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const response =
|
|
22
|
+
* await client.deviceidentifier.retrievePpid();
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
retrievePpid(params: DeviceidentifierRetrievePpidParams, options?: RequestOptions): APIPromise<DeviceidentifierRetrievePpidResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Get details about the type of device being used by a given mobile subscriber
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const response =
|
|
32
|
+
* await client.deviceidentifier.retrieveType();
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
retrieveType(params: DeviceidentifierRetrieveTypeParams, options?: RequestOptions): APIPromise<DeviceidentifierRetrieveTypeResponse>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* End-user equipment able to connect to a mobile network. Examples of devices
|
|
39
|
+
* include smartphones or IoT sensors/actuators. The developer can choose to
|
|
40
|
+
* provide the below specified device identifiers:
|
|
41
|
+
*
|
|
42
|
+
* - `ipv4Address`
|
|
43
|
+
* - `ipv6Address`
|
|
44
|
+
* - `phoneNumber`
|
|
45
|
+
* - `networkAccessIdentifier` NOTE 1: The MNO might support only a subset of these
|
|
46
|
+
* options. The API invoker can provide multiple identifiers to be compatible
|
|
47
|
+
* across different MNOs. In this case the identifiers MUST belong to the same
|
|
48
|
+
* device. NOTE 2: For the current Commonalities release, we are enforcing that
|
|
49
|
+
* the networkAccessIdentifier is only part of the schema for future-proofing,
|
|
50
|
+
* and CAMARA does not currently allow its use. After the CAMARA meta-release
|
|
51
|
+
* work is concluded and the relevant issues are resolved, its use will need to
|
|
52
|
+
* be explicitly documented in the guidelines.
|
|
53
|
+
*/
|
|
54
|
+
export interface DeviceIdentifierDevice {
|
|
55
|
+
/**
|
|
56
|
+
* The device should be identified by either the public (observed) IP address and
|
|
57
|
+
* port as seen by the application server, or the private (local) and any public
|
|
58
|
+
* (observed) IP addresses in use by the device (this information can be obtained
|
|
59
|
+
* by various means, for example from some DNS servers).
|
|
60
|
+
*
|
|
61
|
+
* If the allocated and observed IP addresses are the same (i.e. NAT is not in use)
|
|
62
|
+
* then the same address should be specified for both publicAddress and
|
|
63
|
+
* privateAddress.
|
|
64
|
+
*
|
|
65
|
+
* If NAT64 is in use, the device should be identified by its publicAddress and
|
|
66
|
+
* publicPort, or separately by its allocated IPv6 address (field ipv6Address of
|
|
67
|
+
* the Device object)
|
|
68
|
+
*
|
|
69
|
+
* In all cases, publicAddress must be specified, along with at least one of either
|
|
70
|
+
* privateAddress or publicPort, dependent upon which is known. In general, mobile
|
|
71
|
+
* devices cannot be identified by their public IPv4 address alone.
|
|
72
|
+
*/
|
|
73
|
+
ipv4Address?: DeviceIdentifierDeviceIpv4Addr;
|
|
74
|
+
/**
|
|
75
|
+
* The device should be identified by the observed IPv6 address, or by any single
|
|
76
|
+
* IPv6 address from within the subnet allocated to the device (e.g. adding ::0 to
|
|
77
|
+
* the /64 prefix).
|
|
78
|
+
*/
|
|
79
|
+
ipv6Address?: string;
|
|
80
|
+
/**
|
|
81
|
+
* A public identifier addressing a subscription in a mobile network. In 3GPP
|
|
82
|
+
* terminology, it corresponds to the GPSI formatted with the External Identifier
|
|
83
|
+
* ({Local Identifier}@{Domain Identifier}). Unlike the telephone number, the
|
|
84
|
+
* network access identifier is not subjected to portability ruling in force, and
|
|
85
|
+
* is individually managed by each operator.
|
|
86
|
+
*/
|
|
87
|
+
networkAccessIdentifier?: string;
|
|
88
|
+
/**
|
|
89
|
+
* A public identifier addressing a telephone subscription. In mobile networks it
|
|
90
|
+
* corresponds to the MSISDN (Mobile Station International Subscriber Directory
|
|
91
|
+
* Number). In order to be globally unique it has to be formatted in international
|
|
92
|
+
* format, according to E.164 standard, prefixed with '+'.
|
|
93
|
+
*/
|
|
94
|
+
phoneNumber?: string;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* The device should be identified by either the public (observed) IP address and
|
|
98
|
+
* port as seen by the application server, or the private (local) and any public
|
|
99
|
+
* (observed) IP addresses in use by the device (this information can be obtained
|
|
100
|
+
* by various means, for example from some DNS servers).
|
|
101
|
+
*
|
|
102
|
+
* If the allocated and observed IP addresses are the same (i.e. NAT is not in use)
|
|
103
|
+
* then the same address should be specified for both publicAddress and
|
|
104
|
+
* privateAddress.
|
|
105
|
+
*
|
|
106
|
+
* If NAT64 is in use, the device should be identified by its publicAddress and
|
|
107
|
+
* publicPort, or separately by its allocated IPv6 address (field ipv6Address of
|
|
108
|
+
* the Device object)
|
|
109
|
+
*
|
|
110
|
+
* In all cases, publicAddress must be specified, along with at least one of either
|
|
111
|
+
* privateAddress or publicPort, dependent upon which is known. In general, mobile
|
|
112
|
+
* devices cannot be identified by their public IPv4 address alone.
|
|
113
|
+
*/
|
|
114
|
+
export interface DeviceIdentifierDeviceIpv4Addr {
|
|
115
|
+
/**
|
|
116
|
+
* A single IPv4 address with no subnet mask
|
|
117
|
+
*/
|
|
118
|
+
privateAddress?: string;
|
|
119
|
+
/**
|
|
120
|
+
* A single IPv4 address with no subnet mask
|
|
121
|
+
*/
|
|
122
|
+
publicAddress?: string;
|
|
123
|
+
/**
|
|
124
|
+
* TCP or UDP port number
|
|
125
|
+
*/
|
|
126
|
+
publicPort?: number;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Common request body to allow optional Device object to be passed
|
|
130
|
+
*/
|
|
131
|
+
export interface DeviceIdentifierRequestBody {
|
|
132
|
+
/**
|
|
133
|
+
* End-user equipment able to connect to a mobile network. Examples of devices
|
|
134
|
+
* include smartphones or IoT sensors/actuators. The developer can choose to
|
|
135
|
+
* provide the below specified device identifiers:
|
|
136
|
+
*
|
|
137
|
+
* - `ipv4Address`
|
|
138
|
+
* - `ipv6Address`
|
|
139
|
+
* - `phoneNumber`
|
|
140
|
+
* - `networkAccessIdentifier` NOTE 1: The MNO might support only a subset of these
|
|
141
|
+
* options. The API invoker can provide multiple identifiers to be compatible
|
|
142
|
+
* across different MNOs. In this case the identifiers MUST belong to the same
|
|
143
|
+
* device. NOTE 2: For the current Commonalities release, we are enforcing that
|
|
144
|
+
* the networkAccessIdentifier is only part of the schema for future-proofing,
|
|
145
|
+
* and CAMARA does not currently allow its use. After the CAMARA meta-release
|
|
146
|
+
* work is concluded and the relevant issues are resolved, its use will need to
|
|
147
|
+
* be explicitly documented in the guidelines.
|
|
148
|
+
*/
|
|
149
|
+
device?: DeviceIdentifierDevice;
|
|
150
|
+
}
|
|
151
|
+
export interface DeviceidentifierRetrieveIdentifierResponse {
|
|
152
|
+
/**
|
|
153
|
+
* The device subscription identifier that was used to identify the device whose
|
|
154
|
+
* identifier is being returned. If this property is not present, then the device
|
|
155
|
+
* subscription identifier specified in the request was used.
|
|
156
|
+
*/
|
|
157
|
+
device?: DeviceidentifierRetrieveIdentifierResponse.Device;
|
|
158
|
+
/**
|
|
159
|
+
* IMEI of the device
|
|
160
|
+
*/
|
|
161
|
+
imei?: string;
|
|
162
|
+
/**
|
|
163
|
+
* IMEISV of the device
|
|
164
|
+
*/
|
|
165
|
+
imeisv?: string;
|
|
166
|
+
/**
|
|
167
|
+
* Date and time that the information was last confirmed by the mobile operator to
|
|
168
|
+
* be correct. It must follow
|
|
169
|
+
* [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must
|
|
170
|
+
* have time zone.
|
|
171
|
+
*/
|
|
172
|
+
lastChecked?: string;
|
|
173
|
+
/**
|
|
174
|
+
* Manufacturer of the device
|
|
175
|
+
*/
|
|
176
|
+
manufacturer?: string;
|
|
177
|
+
/**
|
|
178
|
+
* Model of the device
|
|
179
|
+
*/
|
|
180
|
+
model?: string;
|
|
181
|
+
/**
|
|
182
|
+
* IMEI TAC of the device
|
|
183
|
+
*/
|
|
184
|
+
tac?: string;
|
|
185
|
+
}
|
|
186
|
+
export declare namespace DeviceidentifierRetrieveIdentifierResponse {
|
|
187
|
+
/**
|
|
188
|
+
* The device subscription identifier that was used to identify the device whose
|
|
189
|
+
* identifier is being returned. If this property is not present, then the device
|
|
190
|
+
* subscription identifier specified in the request was used.
|
|
191
|
+
*/
|
|
192
|
+
interface Device extends DeviceidentifierAPI.DeviceIdentifierDevice {
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
export interface DeviceidentifierRetrievePpidResponse {
|
|
196
|
+
/**
|
|
197
|
+
* The device subscription identifier that was used to identify the device whose
|
|
198
|
+
* identifier is being returned. If this property is not present, then the device
|
|
199
|
+
* subscription identifier specified in the request was used.
|
|
200
|
+
*/
|
|
201
|
+
device?: DeviceidentifierRetrievePpidResponse.Device;
|
|
202
|
+
/**
|
|
203
|
+
* Date and time that the information was last confirmed by the mobile operator to
|
|
204
|
+
* be correct. It must follow
|
|
205
|
+
* [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must
|
|
206
|
+
* have time zone.
|
|
207
|
+
*/
|
|
208
|
+
lastChecked?: string;
|
|
209
|
+
/**
|
|
210
|
+
* A PPID for the identified physical device
|
|
211
|
+
*/
|
|
212
|
+
ppid?: string;
|
|
213
|
+
}
|
|
214
|
+
export declare namespace DeviceidentifierRetrievePpidResponse {
|
|
215
|
+
/**
|
|
216
|
+
* The device subscription identifier that was used to identify the device whose
|
|
217
|
+
* identifier is being returned. If this property is not present, then the device
|
|
218
|
+
* subscription identifier specified in the request was used.
|
|
219
|
+
*/
|
|
220
|
+
interface Device extends DeviceidentifierAPI.DeviceIdentifierDevice {
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
export interface DeviceidentifierRetrieveTypeResponse {
|
|
224
|
+
/**
|
|
225
|
+
* The device subscription identifier that was used to identify the device whose
|
|
226
|
+
* identifier is being returned. If this property is not present, then the device
|
|
227
|
+
* subscription identifier specified in the request was used.
|
|
228
|
+
*/
|
|
229
|
+
device?: DeviceidentifierRetrieveTypeResponse.Device;
|
|
230
|
+
/**
|
|
231
|
+
* Date and time that the information was last confirmed by the mobile operator to
|
|
232
|
+
* be correct. It must follow
|
|
233
|
+
* [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must
|
|
234
|
+
* have time zone.
|
|
235
|
+
*/
|
|
236
|
+
lastChecked?: string;
|
|
237
|
+
/**
|
|
238
|
+
* Manufacturer of the device
|
|
239
|
+
*/
|
|
240
|
+
manufacturer?: string;
|
|
241
|
+
/**
|
|
242
|
+
* Model of the device
|
|
243
|
+
*/
|
|
244
|
+
model?: string;
|
|
245
|
+
/**
|
|
246
|
+
* IMEI TAC of the device
|
|
247
|
+
*/
|
|
248
|
+
tac?: string;
|
|
249
|
+
}
|
|
250
|
+
export declare namespace DeviceidentifierRetrieveTypeResponse {
|
|
251
|
+
/**
|
|
252
|
+
* The device subscription identifier that was used to identify the device whose
|
|
253
|
+
* identifier is being returned. If this property is not present, then the device
|
|
254
|
+
* subscription identifier specified in the request was used.
|
|
255
|
+
*/
|
|
256
|
+
interface Device extends DeviceidentifierAPI.DeviceIdentifierDevice {
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
export interface DeviceidentifierRetrieveIdentifierParams {
|
|
260
|
+
/**
|
|
261
|
+
* Body param: End-user equipment able to connect to a mobile network. Examples of
|
|
262
|
+
* devices include smartphones or IoT sensors/actuators. The developer can choose
|
|
263
|
+
* to provide the below specified device identifiers:
|
|
264
|
+
*
|
|
265
|
+
* - `ipv4Address`
|
|
266
|
+
* - `ipv6Address`
|
|
267
|
+
* - `phoneNumber`
|
|
268
|
+
* - `networkAccessIdentifier` NOTE 1: The MNO might support only a subset of these
|
|
269
|
+
* options. The API invoker can provide multiple identifiers to be compatible
|
|
270
|
+
* across different MNOs. In this case the identifiers MUST belong to the same
|
|
271
|
+
* device. NOTE 2: For the current Commonalities release, we are enforcing that
|
|
272
|
+
* the networkAccessIdentifier is only part of the schema for future-proofing,
|
|
273
|
+
* and CAMARA does not currently allow its use. After the CAMARA meta-release
|
|
274
|
+
* work is concluded and the relevant issues are resolved, its use will need to
|
|
275
|
+
* be explicitly documented in the guidelines.
|
|
276
|
+
*/
|
|
277
|
+
device?: DeviceIdentifierDevice;
|
|
278
|
+
/**
|
|
279
|
+
* Header param: Correlation id for the different services
|
|
280
|
+
*/
|
|
281
|
+
'x-correlator'?: string;
|
|
282
|
+
}
|
|
283
|
+
export interface DeviceidentifierRetrievePpidParams {
|
|
284
|
+
/**
|
|
285
|
+
* Body param: End-user equipment able to connect to a mobile network. Examples of
|
|
286
|
+
* devices include smartphones or IoT sensors/actuators. The developer can choose
|
|
287
|
+
* to provide the below specified device identifiers:
|
|
288
|
+
*
|
|
289
|
+
* - `ipv4Address`
|
|
290
|
+
* - `ipv6Address`
|
|
291
|
+
* - `phoneNumber`
|
|
292
|
+
* - `networkAccessIdentifier` NOTE 1: The MNO might support only a subset of these
|
|
293
|
+
* options. The API invoker can provide multiple identifiers to be compatible
|
|
294
|
+
* across different MNOs. In this case the identifiers MUST belong to the same
|
|
295
|
+
* device. NOTE 2: For the current Commonalities release, we are enforcing that
|
|
296
|
+
* the networkAccessIdentifier is only part of the schema for future-proofing,
|
|
297
|
+
* and CAMARA does not currently allow its use. After the CAMARA meta-release
|
|
298
|
+
* work is concluded and the relevant issues are resolved, its use will need to
|
|
299
|
+
* be explicitly documented in the guidelines.
|
|
300
|
+
*/
|
|
301
|
+
device?: DeviceIdentifierDevice;
|
|
302
|
+
/**
|
|
303
|
+
* Header param: Correlation id for the different services
|
|
304
|
+
*/
|
|
305
|
+
'x-correlator'?: string;
|
|
306
|
+
}
|
|
307
|
+
export interface DeviceidentifierRetrieveTypeParams {
|
|
308
|
+
/**
|
|
309
|
+
* Body param: End-user equipment able to connect to a mobile network. Examples of
|
|
310
|
+
* devices include smartphones or IoT sensors/actuators. The developer can choose
|
|
311
|
+
* to provide the below specified device identifiers:
|
|
312
|
+
*
|
|
313
|
+
* - `ipv4Address`
|
|
314
|
+
* - `ipv6Address`
|
|
315
|
+
* - `phoneNumber`
|
|
316
|
+
* - `networkAccessIdentifier` NOTE 1: The MNO might support only a subset of these
|
|
317
|
+
* options. The API invoker can provide multiple identifiers to be compatible
|
|
318
|
+
* across different MNOs. In this case the identifiers MUST belong to the same
|
|
319
|
+
* device. NOTE 2: For the current Commonalities release, we are enforcing that
|
|
320
|
+
* the networkAccessIdentifier is only part of the schema for future-proofing,
|
|
321
|
+
* and CAMARA does not currently allow its use. After the CAMARA meta-release
|
|
322
|
+
* work is concluded and the relevant issues are resolved, its use will need to
|
|
323
|
+
* be explicitly documented in the guidelines.
|
|
324
|
+
*/
|
|
325
|
+
device?: DeviceIdentifierDevice;
|
|
326
|
+
/**
|
|
327
|
+
* Header param: Correlation id for the different services
|
|
328
|
+
*/
|
|
329
|
+
'x-correlator'?: string;
|
|
330
|
+
}
|
|
331
|
+
export declare namespace Deviceidentifier {
|
|
332
|
+
export { type DeviceIdentifierDevice as DeviceIdentifierDevice, type DeviceIdentifierDeviceIpv4Addr as DeviceIdentifierDeviceIpv4Addr, type DeviceIdentifierRequestBody as DeviceIdentifierRequestBody, type DeviceidentifierRetrieveIdentifierResponse as DeviceidentifierRetrieveIdentifierResponse, type DeviceidentifierRetrievePpidResponse as DeviceidentifierRetrievePpidResponse, type DeviceidentifierRetrieveTypeResponse as DeviceidentifierRetrieveTypeResponse, type DeviceidentifierRetrieveIdentifierParams as DeviceidentifierRetrieveIdentifierParams, type DeviceidentifierRetrievePpidParams as DeviceidentifierRetrievePpidParams, type DeviceidentifierRetrieveTypeParams as DeviceidentifierRetrieveTypeParams, };
|
|
333
|
+
}
|
|
334
|
+
//# sourceMappingURL=deviceidentifier.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deviceidentifier.d.mts","sourceRoot":"","sources":["../src/resources/deviceidentifier.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;OAQG;IACH,kBAAkB,CAChB,MAAM,EAAE,wCAAwC,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0CAA0C,CAAC;IAYzD;;;;;;;;OAQG;IACH,YAAY,CACV,MAAM,EAAE,kCAAkC,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oCAAoC,CAAC;IAYnD;;;;;;;;OAQG;IACH,YAAY,CACV,MAAM,EAAE,kCAAkC,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oCAAoC,CAAC;CAWpD;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;;;;;;;;;;;;;;;OAiBG;IACH,WAAW,CAAC,EAAE,8BAA8B,CAAC;IAE7C;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,EAAE,sBAAsB,CAAC;CACjC;AAED,MAAM,WAAW,0CAA0C;IACzD;;;;OAIG;IACH,MAAM,CAAC,EAAE,0CAA0C,CAAC,MAAM,CAAC;IAE3D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,yBAAiB,0CAA0C,CAAC;IAC1D;;;;OAIG;IACH,UAAiB,MAAO,SAAQ,mBAAmB,CAAC,sBAAsB;KAAG;CAC9E;AAED,MAAM,WAAW,oCAAoC;IACnD;;;;OAIG;IACH,MAAM,CAAC,EAAE,oCAAoC,CAAC,MAAM,CAAC;IAErD;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,yBAAiB,oCAAoC,CAAC;IACpD;;;;OAIG;IACH,UAAiB,MAAO,SAAQ,mBAAmB,CAAC,sBAAsB;KAAG;CAC9E;AAED,MAAM,WAAW,oCAAoC;IACnD;;;;OAIG;IACH,MAAM,CAAC,EAAE,oCAAoC,CAAC,MAAM,CAAC;IAErD;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,yBAAiB,oCAAoC,CAAC;IACpD;;;;OAIG;IACH,UAAiB,MAAO,SAAQ,mBAAmB,CAAC,sBAAsB;KAAG;CAC9E;AAED,MAAM,WAAW,wCAAwC;IACvD;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAEhC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,kCAAkC;IACjD;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAEhC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,kCAAkC;IACjD;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAEhC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,0CAA0C,IAAI,0CAA0C,EAC7F,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,kCAAkC,IAAI,kCAAkC,GAC9E,CAAC;CACH"}
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as DeviceidentifierAPI from "./deviceidentifier.js";
|
|
3
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
5
|
+
export declare class Deviceidentifier extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get details about the specific device being used by a given mobile subscriber
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const response =
|
|
12
|
+
* await client.deviceidentifier.retrieveIdentifier();
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
retrieveIdentifier(params: DeviceidentifierRetrieveIdentifierParams, options?: RequestOptions): APIPromise<DeviceidentifierRetrieveIdentifierResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Get a pseudonymous identifier for device being used by a given mobile subscriber
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const response =
|
|
22
|
+
* await client.deviceidentifier.retrievePpid();
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
retrievePpid(params: DeviceidentifierRetrievePpidParams, options?: RequestOptions): APIPromise<DeviceidentifierRetrievePpidResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Get details about the type of device being used by a given mobile subscriber
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const response =
|
|
32
|
+
* await client.deviceidentifier.retrieveType();
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
retrieveType(params: DeviceidentifierRetrieveTypeParams, options?: RequestOptions): APIPromise<DeviceidentifierRetrieveTypeResponse>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* End-user equipment able to connect to a mobile network. Examples of devices
|
|
39
|
+
* include smartphones or IoT sensors/actuators. The developer can choose to
|
|
40
|
+
* provide the below specified device identifiers:
|
|
41
|
+
*
|
|
42
|
+
* - `ipv4Address`
|
|
43
|
+
* - `ipv6Address`
|
|
44
|
+
* - `phoneNumber`
|
|
45
|
+
* - `networkAccessIdentifier` NOTE 1: The MNO might support only a subset of these
|
|
46
|
+
* options. The API invoker can provide multiple identifiers to be compatible
|
|
47
|
+
* across different MNOs. In this case the identifiers MUST belong to the same
|
|
48
|
+
* device. NOTE 2: For the current Commonalities release, we are enforcing that
|
|
49
|
+
* the networkAccessIdentifier is only part of the schema for future-proofing,
|
|
50
|
+
* and CAMARA does not currently allow its use. After the CAMARA meta-release
|
|
51
|
+
* work is concluded and the relevant issues are resolved, its use will need to
|
|
52
|
+
* be explicitly documented in the guidelines.
|
|
53
|
+
*/
|
|
54
|
+
export interface DeviceIdentifierDevice {
|
|
55
|
+
/**
|
|
56
|
+
* The device should be identified by either the public (observed) IP address and
|
|
57
|
+
* port as seen by the application server, or the private (local) and any public
|
|
58
|
+
* (observed) IP addresses in use by the device (this information can be obtained
|
|
59
|
+
* by various means, for example from some DNS servers).
|
|
60
|
+
*
|
|
61
|
+
* If the allocated and observed IP addresses are the same (i.e. NAT is not in use)
|
|
62
|
+
* then the same address should be specified for both publicAddress and
|
|
63
|
+
* privateAddress.
|
|
64
|
+
*
|
|
65
|
+
* If NAT64 is in use, the device should be identified by its publicAddress and
|
|
66
|
+
* publicPort, or separately by its allocated IPv6 address (field ipv6Address of
|
|
67
|
+
* the Device object)
|
|
68
|
+
*
|
|
69
|
+
* In all cases, publicAddress must be specified, along with at least one of either
|
|
70
|
+
* privateAddress or publicPort, dependent upon which is known. In general, mobile
|
|
71
|
+
* devices cannot be identified by their public IPv4 address alone.
|
|
72
|
+
*/
|
|
73
|
+
ipv4Address?: DeviceIdentifierDeviceIpv4Addr;
|
|
74
|
+
/**
|
|
75
|
+
* The device should be identified by the observed IPv6 address, or by any single
|
|
76
|
+
* IPv6 address from within the subnet allocated to the device (e.g. adding ::0 to
|
|
77
|
+
* the /64 prefix).
|
|
78
|
+
*/
|
|
79
|
+
ipv6Address?: string;
|
|
80
|
+
/**
|
|
81
|
+
* A public identifier addressing a subscription in a mobile network. In 3GPP
|
|
82
|
+
* terminology, it corresponds to the GPSI formatted with the External Identifier
|
|
83
|
+
* ({Local Identifier}@{Domain Identifier}). Unlike the telephone number, the
|
|
84
|
+
* network access identifier is not subjected to portability ruling in force, and
|
|
85
|
+
* is individually managed by each operator.
|
|
86
|
+
*/
|
|
87
|
+
networkAccessIdentifier?: string;
|
|
88
|
+
/**
|
|
89
|
+
* A public identifier addressing a telephone subscription. In mobile networks it
|
|
90
|
+
* corresponds to the MSISDN (Mobile Station International Subscriber Directory
|
|
91
|
+
* Number). In order to be globally unique it has to be formatted in international
|
|
92
|
+
* format, according to E.164 standard, prefixed with '+'.
|
|
93
|
+
*/
|
|
94
|
+
phoneNumber?: string;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* The device should be identified by either the public (observed) IP address and
|
|
98
|
+
* port as seen by the application server, or the private (local) and any public
|
|
99
|
+
* (observed) IP addresses in use by the device (this information can be obtained
|
|
100
|
+
* by various means, for example from some DNS servers).
|
|
101
|
+
*
|
|
102
|
+
* If the allocated and observed IP addresses are the same (i.e. NAT is not in use)
|
|
103
|
+
* then the same address should be specified for both publicAddress and
|
|
104
|
+
* privateAddress.
|
|
105
|
+
*
|
|
106
|
+
* If NAT64 is in use, the device should be identified by its publicAddress and
|
|
107
|
+
* publicPort, or separately by its allocated IPv6 address (field ipv6Address of
|
|
108
|
+
* the Device object)
|
|
109
|
+
*
|
|
110
|
+
* In all cases, publicAddress must be specified, along with at least one of either
|
|
111
|
+
* privateAddress or publicPort, dependent upon which is known. In general, mobile
|
|
112
|
+
* devices cannot be identified by their public IPv4 address alone.
|
|
113
|
+
*/
|
|
114
|
+
export interface DeviceIdentifierDeviceIpv4Addr {
|
|
115
|
+
/**
|
|
116
|
+
* A single IPv4 address with no subnet mask
|
|
117
|
+
*/
|
|
118
|
+
privateAddress?: string;
|
|
119
|
+
/**
|
|
120
|
+
* A single IPv4 address with no subnet mask
|
|
121
|
+
*/
|
|
122
|
+
publicAddress?: string;
|
|
123
|
+
/**
|
|
124
|
+
* TCP or UDP port number
|
|
125
|
+
*/
|
|
126
|
+
publicPort?: number;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Common request body to allow optional Device object to be passed
|
|
130
|
+
*/
|
|
131
|
+
export interface DeviceIdentifierRequestBody {
|
|
132
|
+
/**
|
|
133
|
+
* End-user equipment able to connect to a mobile network. Examples of devices
|
|
134
|
+
* include smartphones or IoT sensors/actuators. The developer can choose to
|
|
135
|
+
* provide the below specified device identifiers:
|
|
136
|
+
*
|
|
137
|
+
* - `ipv4Address`
|
|
138
|
+
* - `ipv6Address`
|
|
139
|
+
* - `phoneNumber`
|
|
140
|
+
* - `networkAccessIdentifier` NOTE 1: The MNO might support only a subset of these
|
|
141
|
+
* options. The API invoker can provide multiple identifiers to be compatible
|
|
142
|
+
* across different MNOs. In this case the identifiers MUST belong to the same
|
|
143
|
+
* device. NOTE 2: For the current Commonalities release, we are enforcing that
|
|
144
|
+
* the networkAccessIdentifier is only part of the schema for future-proofing,
|
|
145
|
+
* and CAMARA does not currently allow its use. After the CAMARA meta-release
|
|
146
|
+
* work is concluded and the relevant issues are resolved, its use will need to
|
|
147
|
+
* be explicitly documented in the guidelines.
|
|
148
|
+
*/
|
|
149
|
+
device?: DeviceIdentifierDevice;
|
|
150
|
+
}
|
|
151
|
+
export interface DeviceidentifierRetrieveIdentifierResponse {
|
|
152
|
+
/**
|
|
153
|
+
* The device subscription identifier that was used to identify the device whose
|
|
154
|
+
* identifier is being returned. If this property is not present, then the device
|
|
155
|
+
* subscription identifier specified in the request was used.
|
|
156
|
+
*/
|
|
157
|
+
device?: DeviceidentifierRetrieveIdentifierResponse.Device;
|
|
158
|
+
/**
|
|
159
|
+
* IMEI of the device
|
|
160
|
+
*/
|
|
161
|
+
imei?: string;
|
|
162
|
+
/**
|
|
163
|
+
* IMEISV of the device
|
|
164
|
+
*/
|
|
165
|
+
imeisv?: string;
|
|
166
|
+
/**
|
|
167
|
+
* Date and time that the information was last confirmed by the mobile operator to
|
|
168
|
+
* be correct. It must follow
|
|
169
|
+
* [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must
|
|
170
|
+
* have time zone.
|
|
171
|
+
*/
|
|
172
|
+
lastChecked?: string;
|
|
173
|
+
/**
|
|
174
|
+
* Manufacturer of the device
|
|
175
|
+
*/
|
|
176
|
+
manufacturer?: string;
|
|
177
|
+
/**
|
|
178
|
+
* Model of the device
|
|
179
|
+
*/
|
|
180
|
+
model?: string;
|
|
181
|
+
/**
|
|
182
|
+
* IMEI TAC of the device
|
|
183
|
+
*/
|
|
184
|
+
tac?: string;
|
|
185
|
+
}
|
|
186
|
+
export declare namespace DeviceidentifierRetrieveIdentifierResponse {
|
|
187
|
+
/**
|
|
188
|
+
* The device subscription identifier that was used to identify the device whose
|
|
189
|
+
* identifier is being returned. If this property is not present, then the device
|
|
190
|
+
* subscription identifier specified in the request was used.
|
|
191
|
+
*/
|
|
192
|
+
interface Device extends DeviceidentifierAPI.DeviceIdentifierDevice {
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
export interface DeviceidentifierRetrievePpidResponse {
|
|
196
|
+
/**
|
|
197
|
+
* The device subscription identifier that was used to identify the device whose
|
|
198
|
+
* identifier is being returned. If this property is not present, then the device
|
|
199
|
+
* subscription identifier specified in the request was used.
|
|
200
|
+
*/
|
|
201
|
+
device?: DeviceidentifierRetrievePpidResponse.Device;
|
|
202
|
+
/**
|
|
203
|
+
* Date and time that the information was last confirmed by the mobile operator to
|
|
204
|
+
* be correct. It must follow
|
|
205
|
+
* [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must
|
|
206
|
+
* have time zone.
|
|
207
|
+
*/
|
|
208
|
+
lastChecked?: string;
|
|
209
|
+
/**
|
|
210
|
+
* A PPID for the identified physical device
|
|
211
|
+
*/
|
|
212
|
+
ppid?: string;
|
|
213
|
+
}
|
|
214
|
+
export declare namespace DeviceidentifierRetrievePpidResponse {
|
|
215
|
+
/**
|
|
216
|
+
* The device subscription identifier that was used to identify the device whose
|
|
217
|
+
* identifier is being returned. If this property is not present, then the device
|
|
218
|
+
* subscription identifier specified in the request was used.
|
|
219
|
+
*/
|
|
220
|
+
interface Device extends DeviceidentifierAPI.DeviceIdentifierDevice {
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
export interface DeviceidentifierRetrieveTypeResponse {
|
|
224
|
+
/**
|
|
225
|
+
* The device subscription identifier that was used to identify the device whose
|
|
226
|
+
* identifier is being returned. If this property is not present, then the device
|
|
227
|
+
* subscription identifier specified in the request was used.
|
|
228
|
+
*/
|
|
229
|
+
device?: DeviceidentifierRetrieveTypeResponse.Device;
|
|
230
|
+
/**
|
|
231
|
+
* Date and time that the information was last confirmed by the mobile operator to
|
|
232
|
+
* be correct. It must follow
|
|
233
|
+
* [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must
|
|
234
|
+
* have time zone.
|
|
235
|
+
*/
|
|
236
|
+
lastChecked?: string;
|
|
237
|
+
/**
|
|
238
|
+
* Manufacturer of the device
|
|
239
|
+
*/
|
|
240
|
+
manufacturer?: string;
|
|
241
|
+
/**
|
|
242
|
+
* Model of the device
|
|
243
|
+
*/
|
|
244
|
+
model?: string;
|
|
245
|
+
/**
|
|
246
|
+
* IMEI TAC of the device
|
|
247
|
+
*/
|
|
248
|
+
tac?: string;
|
|
249
|
+
}
|
|
250
|
+
export declare namespace DeviceidentifierRetrieveTypeResponse {
|
|
251
|
+
/**
|
|
252
|
+
* The device subscription identifier that was used to identify the device whose
|
|
253
|
+
* identifier is being returned. If this property is not present, then the device
|
|
254
|
+
* subscription identifier specified in the request was used.
|
|
255
|
+
*/
|
|
256
|
+
interface Device extends DeviceidentifierAPI.DeviceIdentifierDevice {
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
export interface DeviceidentifierRetrieveIdentifierParams {
|
|
260
|
+
/**
|
|
261
|
+
* Body param: End-user equipment able to connect to a mobile network. Examples of
|
|
262
|
+
* devices include smartphones or IoT sensors/actuators. The developer can choose
|
|
263
|
+
* to provide the below specified device identifiers:
|
|
264
|
+
*
|
|
265
|
+
* - `ipv4Address`
|
|
266
|
+
* - `ipv6Address`
|
|
267
|
+
* - `phoneNumber`
|
|
268
|
+
* - `networkAccessIdentifier` NOTE 1: The MNO might support only a subset of these
|
|
269
|
+
* options. The API invoker can provide multiple identifiers to be compatible
|
|
270
|
+
* across different MNOs. In this case the identifiers MUST belong to the same
|
|
271
|
+
* device. NOTE 2: For the current Commonalities release, we are enforcing that
|
|
272
|
+
* the networkAccessIdentifier is only part of the schema for future-proofing,
|
|
273
|
+
* and CAMARA does not currently allow its use. After the CAMARA meta-release
|
|
274
|
+
* work is concluded and the relevant issues are resolved, its use will need to
|
|
275
|
+
* be explicitly documented in the guidelines.
|
|
276
|
+
*/
|
|
277
|
+
device?: DeviceIdentifierDevice;
|
|
278
|
+
/**
|
|
279
|
+
* Header param: Correlation id for the different services
|
|
280
|
+
*/
|
|
281
|
+
'x-correlator'?: string;
|
|
282
|
+
}
|
|
283
|
+
export interface DeviceidentifierRetrievePpidParams {
|
|
284
|
+
/**
|
|
285
|
+
* Body param: End-user equipment able to connect to a mobile network. Examples of
|
|
286
|
+
* devices include smartphones or IoT sensors/actuators. The developer can choose
|
|
287
|
+
* to provide the below specified device identifiers:
|
|
288
|
+
*
|
|
289
|
+
* - `ipv4Address`
|
|
290
|
+
* - `ipv6Address`
|
|
291
|
+
* - `phoneNumber`
|
|
292
|
+
* - `networkAccessIdentifier` NOTE 1: The MNO might support only a subset of these
|
|
293
|
+
* options. The API invoker can provide multiple identifiers to be compatible
|
|
294
|
+
* across different MNOs. In this case the identifiers MUST belong to the same
|
|
295
|
+
* device. NOTE 2: For the current Commonalities release, we are enforcing that
|
|
296
|
+
* the networkAccessIdentifier is only part of the schema for future-proofing,
|
|
297
|
+
* and CAMARA does not currently allow its use. After the CAMARA meta-release
|
|
298
|
+
* work is concluded and the relevant issues are resolved, its use will need to
|
|
299
|
+
* be explicitly documented in the guidelines.
|
|
300
|
+
*/
|
|
301
|
+
device?: DeviceIdentifierDevice;
|
|
302
|
+
/**
|
|
303
|
+
* Header param: Correlation id for the different services
|
|
304
|
+
*/
|
|
305
|
+
'x-correlator'?: string;
|
|
306
|
+
}
|
|
307
|
+
export interface DeviceidentifierRetrieveTypeParams {
|
|
308
|
+
/**
|
|
309
|
+
* Body param: End-user equipment able to connect to a mobile network. Examples of
|
|
310
|
+
* devices include smartphones or IoT sensors/actuators. The developer can choose
|
|
311
|
+
* to provide the below specified device identifiers:
|
|
312
|
+
*
|
|
313
|
+
* - `ipv4Address`
|
|
314
|
+
* - `ipv6Address`
|
|
315
|
+
* - `phoneNumber`
|
|
316
|
+
* - `networkAccessIdentifier` NOTE 1: The MNO might support only a subset of these
|
|
317
|
+
* options. The API invoker can provide multiple identifiers to be compatible
|
|
318
|
+
* across different MNOs. In this case the identifiers MUST belong to the same
|
|
319
|
+
* device. NOTE 2: For the current Commonalities release, we are enforcing that
|
|
320
|
+
* the networkAccessIdentifier is only part of the schema for future-proofing,
|
|
321
|
+
* and CAMARA does not currently allow its use. After the CAMARA meta-release
|
|
322
|
+
* work is concluded and the relevant issues are resolved, its use will need to
|
|
323
|
+
* be explicitly documented in the guidelines.
|
|
324
|
+
*/
|
|
325
|
+
device?: DeviceIdentifierDevice;
|
|
326
|
+
/**
|
|
327
|
+
* Header param: Correlation id for the different services
|
|
328
|
+
*/
|
|
329
|
+
'x-correlator'?: string;
|
|
330
|
+
}
|
|
331
|
+
export declare namespace Deviceidentifier {
|
|
332
|
+
export { type DeviceIdentifierDevice as DeviceIdentifierDevice, type DeviceIdentifierDeviceIpv4Addr as DeviceIdentifierDeviceIpv4Addr, type DeviceIdentifierRequestBody as DeviceIdentifierRequestBody, type DeviceidentifierRetrieveIdentifierResponse as DeviceidentifierRetrieveIdentifierResponse, type DeviceidentifierRetrievePpidResponse as DeviceidentifierRetrievePpidResponse, type DeviceidentifierRetrieveTypeResponse as DeviceidentifierRetrieveTypeResponse, type DeviceidentifierRetrieveIdentifierParams as DeviceidentifierRetrieveIdentifierParams, type DeviceidentifierRetrievePpidParams as DeviceidentifierRetrievePpidParams, type DeviceidentifierRetrieveTypeParams as DeviceidentifierRetrieveTypeParams, };
|
|
333
|
+
}
|
|
334
|
+
//# sourceMappingURL=deviceidentifier.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deviceidentifier.d.ts","sourceRoot":"","sources":["../src/resources/deviceidentifier.ts"],"names":[],"mappings":"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"}
|