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 @@
|
|
|
1
|
+
{"version":3,"file":"connectivityinsights.d.mts","sourceRoot":"","sources":["../../src/resources/connectivityinsights/connectivityinsights.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,EACL,MAAM,EACN,QAAQ,EACR,YAAY,EACZ,wBAAwB,EACxB,wBAAwB,EACxB,0BAA0B,EAC1B,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,aAAa,EACd;AAED,qBAAa,oBAAqB,SAAQ,WAAW;IACnD,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;CAClG;AAID,MAAM,CAAC,OAAO,WAAW,oBAAoB,CAAC;IAC5C,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as SubscriptionsAPI from "./subscriptions.js";
|
|
3
|
+
import { Config, Protocol, Subscription, SubscriptionCreateParams, SubscriptionDeleteParams, SubscriptionDeleteResponse, SubscriptionEventType, SubscriptionListParams, SubscriptionListResponse, SubscriptionRetrieveParams, Subscriptions } from "./subscriptions.js";
|
|
4
|
+
export declare class Connectivityinsights extends APIResource {
|
|
5
|
+
subscriptions: SubscriptionsAPI.Subscriptions;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace Connectivityinsights {
|
|
8
|
+
export { Subscriptions as Subscriptions, type Config as Config, type Protocol as Protocol, type Subscription as Subscription, type SubscriptionEventType as SubscriptionEventType, type SubscriptionListResponse as SubscriptionListResponse, type SubscriptionDeleteResponse as SubscriptionDeleteResponse, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionRetrieveParams as SubscriptionRetrieveParams, type SubscriptionListParams as SubscriptionListParams, type SubscriptionDeleteParams as SubscriptionDeleteParams, };
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=connectivityinsights.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectivityinsights.d.ts","sourceRoot":"","sources":["../../src/resources/connectivityinsights/connectivityinsights.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,EACL,MAAM,EACN,QAAQ,EACR,YAAY,EACZ,wBAAwB,EACxB,wBAAwB,EACxB,0BAA0B,EAC1B,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,aAAa,EACd;AAED,qBAAa,oBAAqB,SAAQ,WAAW;IACnD,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;CAClG;AAID,MAAM,CAAC,OAAO,WAAW,oBAAoB,CAAC;IAC5C,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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.Connectivityinsights = void 0;
|
|
5
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../core/resource.js");
|
|
7
|
+
const SubscriptionsAPI = tslib_1.__importStar(require("./subscriptions.js"));
|
|
8
|
+
const subscriptions_1 = require("./subscriptions.js");
|
|
9
|
+
class Connectivityinsights extends resource_1.APIResource {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.subscriptions = new SubscriptionsAPI.Subscriptions(this._client);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.Connectivityinsights = Connectivityinsights;
|
|
16
|
+
Connectivityinsights.Subscriptions = subscriptions_1.Subscriptions;
|
|
17
|
+
//# sourceMappingURL=connectivityinsights.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectivityinsights.js","sourceRoot":"","sources":["../../src/resources/connectivityinsights/connectivityinsights.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,6EAAoD;AACpD,sDAYyB;AAEzB,MAAa,oBAAqB,SAAQ,sBAAW;IAArD;;QACE,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnG,CAAC;CAAA;AAFD,oDAEC;AAED,oBAAoB,CAAC,aAAa,GAAG,6BAAa,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import * as SubscriptionsAPI from "./subscriptions.mjs";
|
|
4
|
+
import { Subscriptions, } from "./subscriptions.mjs";
|
|
5
|
+
export class Connectivityinsights extends APIResource {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.subscriptions = new SubscriptionsAPI.Subscriptions(this._client);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
Connectivityinsights.Subscriptions = Subscriptions;
|
|
12
|
+
//# sourceMappingURL=connectivityinsights.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectivityinsights.mjs","sourceRoot":"","sources":["../../src/resources/connectivityinsights/connectivityinsights.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,EAWL,aAAa,GACd;AAED,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IAArD;;QACE,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnG,CAAC;CAAA;AAED,oBAAoB,CAAC,aAAa,GAAG,aAAa,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Connectivityinsights } from "./connectivityinsights.mjs";
|
|
2
|
+
export { Subscriptions, type Config, type Protocol, type Subscription, type SubscriptionEventType, type SubscriptionListResponse, type SubscriptionDeleteResponse, type SubscriptionCreateParams, type SubscriptionRetrieveParams, type SubscriptionListParams, type SubscriptionDeleteParams, } from "./subscriptions.mjs";
|
|
3
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/connectivityinsights/index.ts"],"names":[],"mappings":"OAEO,EAAE,oBAAoB,EAAE;OACxB,EACL,aAAa,EACb,KAAK,MAAM,EACX,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Connectivityinsights } from "./connectivityinsights.js";
|
|
2
|
+
export { Subscriptions, type Config, type Protocol, type Subscription, type SubscriptionEventType, type SubscriptionListResponse, type SubscriptionDeleteResponse, type SubscriptionCreateParams, type SubscriptionRetrieveParams, type SubscriptionListParams, type SubscriptionDeleteParams, } from "./subscriptions.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/connectivityinsights/index.ts"],"names":[],"mappings":"OAEO,EAAE,oBAAoB,EAAE;OACxB,EACL,aAAa,EACb,KAAK,MAAM,EACX,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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.Subscriptions = exports.Connectivityinsights = void 0;
|
|
5
|
+
var connectivityinsights_1 = require("./connectivityinsights.js");
|
|
6
|
+
Object.defineProperty(exports, "Connectivityinsights", { enumerable: true, get: function () { return connectivityinsights_1.Connectivityinsights; } });
|
|
7
|
+
var subscriptions_1 = require("./subscriptions.js");
|
|
8
|
+
Object.defineProperty(exports, "Subscriptions", { enumerable: true, get: function () { return subscriptions_1.Subscriptions; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/connectivityinsights/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kEAA8D;AAArD,4HAAA,oBAAoB,OAAA;AAC7B,oDAYyB;AAXvB,8GAAA,aAAa,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/connectivityinsights/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,oBAAoB,EAAE;OACxB,EACL,aAAa,GAWd"}
|
|
@@ -0,0 +1,445 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
|
+
export declare class Subscriptions extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Create a Connectivity insights subscription for a device
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const subscription =
|
|
11
|
+
* await client.connectivityinsights.subscriptions.create({
|
|
12
|
+
* config: {
|
|
13
|
+
* subscriptionDetail: {
|
|
14
|
+
* applicationProfileId:
|
|
15
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
16
|
+
* device: {},
|
|
17
|
+
* },
|
|
18
|
+
* },
|
|
19
|
+
* protocol: 'HTTP',
|
|
20
|
+
* sink: 'https://endpoint.example.com/sink',
|
|
21
|
+
* types: [
|
|
22
|
+
* 'org.camaraproject.connectivity-insights-subscriptions.v0.network-quality',
|
|
23
|
+
* ],
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
create(params: SubscriptionCreateParams, options?: RequestOptions): APIPromise<Subscription>;
|
|
28
|
+
/**
|
|
29
|
+
* Retrieve a given subscription by ID
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const subscription =
|
|
34
|
+
* await client.connectivityinsights.subscriptions.retrieve(
|
|
35
|
+
* 'qs15-h556-rt89-1298',
|
|
36
|
+
* );
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
retrieve(subscriptionID: string, params?: SubscriptionRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Subscription>;
|
|
40
|
+
/**
|
|
41
|
+
* Operation to list subscriptions authorized to be retrieved by the provided
|
|
42
|
+
* access token.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* const subscriptions =
|
|
47
|
+
* await client.connectivityinsights.subscriptions.list();
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
list(params?: SubscriptionListParams | null | undefined, options?: RequestOptions): APIPromise<SubscriptionListResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* Delete a given subscription by ID
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```ts
|
|
56
|
+
* const subscription =
|
|
57
|
+
* await client.connectivityinsights.subscriptions.delete(
|
|
58
|
+
* 'qs15-h556-rt89-1298',
|
|
59
|
+
* );
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
delete(subscriptionID: string, params?: SubscriptionDeleteParams | null | undefined, options?: RequestOptions): APIPromise<SubscriptionDeleteResponse>;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Implementation-specific configuration parameters needed by the subscription
|
|
66
|
+
* manager for acquiring events. In CAMARA we have predefined attributes like
|
|
67
|
+
* `subscriptionExpireTime`, `subscriptionMaxEvents`, `initialEvent` Specific event
|
|
68
|
+
* type attributes must be defined in `subscriptionDetail` Note: if a request is
|
|
69
|
+
* performed for several event type, all subscribed event will use same `config`
|
|
70
|
+
* parameters.
|
|
71
|
+
*/
|
|
72
|
+
export interface Config {
|
|
73
|
+
/**
|
|
74
|
+
* The detail of the requested event subscription
|
|
75
|
+
*/
|
|
76
|
+
subscriptionDetail: Config.SubscriptionDetail;
|
|
77
|
+
/**
|
|
78
|
+
* Set to `true` by API consumer if consumer wants to get an event as soon as the
|
|
79
|
+
* subscription is created and current situation reflects event request.
|
|
80
|
+
*/
|
|
81
|
+
initialEvent?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* The subscription expiration time (in date-time format) requested by the API
|
|
84
|
+
* consumer. Up to API project decision to keep it. It must follow
|
|
85
|
+
* [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must
|
|
86
|
+
* have time zone.
|
|
87
|
+
*/
|
|
88
|
+
subscriptionExpireTime?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Identifies the maximum number of event reports to be generated (>=1) requested
|
|
91
|
+
* by the API consumer - Once this number is reached, the subscription ends. Note
|
|
92
|
+
* on combined usage of `initialEvent` and `subscriptionMaxEvents`: If an event is
|
|
93
|
+
* triggered following `initialEvent` set to `true`, this event will be counted
|
|
94
|
+
* towards `subscriptionMaxEvents`.
|
|
95
|
+
*/
|
|
96
|
+
subscriptionMaxEvents?: number;
|
|
97
|
+
}
|
|
98
|
+
export declare namespace Config {
|
|
99
|
+
/**
|
|
100
|
+
* The detail of the requested event subscription
|
|
101
|
+
*/
|
|
102
|
+
interface SubscriptionDetail {
|
|
103
|
+
/**
|
|
104
|
+
* Identifier for the Application Profile
|
|
105
|
+
*/
|
|
106
|
+
applicationProfileId: string;
|
|
107
|
+
/**
|
|
108
|
+
* End-user equipment able to connect to a mobile network. Examples of devices
|
|
109
|
+
* include smartphones or IoT sensors/actuators. The developer can choose to
|
|
110
|
+
* provide the below specified device identifiers: _ `ipv4Address` _ `ipv6Address`
|
|
111
|
+
* _ `phoneNumber` _ `networkAccessIdentifier` NOTE1: the network operator might
|
|
112
|
+
* support only a subset of these options. The API invoker can provide multiple
|
|
113
|
+
* identifiers to be compatible across different network operators. In this case
|
|
114
|
+
* the identifiers MUST belong to the same device. NOTE2: as for this Commonalities
|
|
115
|
+
* release, we are enforcing that the networkAccessIdentifier is only part of the
|
|
116
|
+
* schema for future-proofing, and CAMARA does not currently allow its use. After
|
|
117
|
+
* the CAMARA meta-release work is concluded and the relevant issues are resolved,
|
|
118
|
+
* its use will need to be explicitly documented in the guidelines.
|
|
119
|
+
*/
|
|
120
|
+
device: SubscriptionDetail.Device;
|
|
121
|
+
/**
|
|
122
|
+
* A server hosting backend applications to deliver some business logic to clients.
|
|
123
|
+
*
|
|
124
|
+
* The developer can choose to provide the below specified device identifiers:
|
|
125
|
+
*
|
|
126
|
+
* - `ipv4Address`
|
|
127
|
+
* - `ipv6Address`
|
|
128
|
+
*
|
|
129
|
+
* The Operator will use this information to calculate the end to end network
|
|
130
|
+
* performance in scenarios where its feasible.
|
|
131
|
+
*/
|
|
132
|
+
applicationServer?: SubscriptionDetail.ApplicationServer;
|
|
133
|
+
/**
|
|
134
|
+
* Specification of several TCP or UDP ports
|
|
135
|
+
*/
|
|
136
|
+
applicationServerPorts?: SubscriptionDetail.ApplicationServerPorts;
|
|
137
|
+
}
|
|
138
|
+
namespace SubscriptionDetail {
|
|
139
|
+
/**
|
|
140
|
+
* End-user equipment able to connect to a mobile network. Examples of devices
|
|
141
|
+
* include smartphones or IoT sensors/actuators. The developer can choose to
|
|
142
|
+
* provide the below specified device identifiers: _ `ipv4Address` _ `ipv6Address`
|
|
143
|
+
* _ `phoneNumber` _ `networkAccessIdentifier` NOTE1: the network operator might
|
|
144
|
+
* support only a subset of these options. The API invoker can provide multiple
|
|
145
|
+
* identifiers to be compatible across different network operators. In this case
|
|
146
|
+
* the identifiers MUST belong to the same device. NOTE2: as for this Commonalities
|
|
147
|
+
* release, we are enforcing that the networkAccessIdentifier is only part of the
|
|
148
|
+
* schema for future-proofing, and CAMARA does not currently allow its use. After
|
|
149
|
+
* the CAMARA meta-release work is concluded and the relevant issues are resolved,
|
|
150
|
+
* its use will need to be explicitly documented in the guidelines.
|
|
151
|
+
*/
|
|
152
|
+
interface Device {
|
|
153
|
+
/**
|
|
154
|
+
* The device should be identified by either the public (observed) IP address and
|
|
155
|
+
* port as seen by the application server, or the private (local) and any public
|
|
156
|
+
* (observed) IP addresses in use by the device (this information can be obtained
|
|
157
|
+
* by various means, for example from some DNS servers).
|
|
158
|
+
*
|
|
159
|
+
* If the allocated and observed IP addresses are the same (i.e. NAT is not in use)
|
|
160
|
+
* then the same address should be specified for both publicAddress and
|
|
161
|
+
* privateAddress.
|
|
162
|
+
*
|
|
163
|
+
* If NAT64 is in use, the device should be identified by its publicAddress and
|
|
164
|
+
* publicPort, or separately by its allocated IPv6 address (field ipv6Address of
|
|
165
|
+
* the Device object)
|
|
166
|
+
*
|
|
167
|
+
* In all cases, publicAddress must be specified, along with at least one of either
|
|
168
|
+
* privateAddress or publicPort, dependent upon which is known. In general, mobile
|
|
169
|
+
* devices cannot be identified by their public IPv4 address alone.
|
|
170
|
+
*/
|
|
171
|
+
ipv4Address?: Device.Ipv4Address;
|
|
172
|
+
/**
|
|
173
|
+
* The device should be identified by the observed IPv6 address, or by any single
|
|
174
|
+
* IPv6 address from within the subnet allocated to the device (e.g. adding ::0 to
|
|
175
|
+
* the /64 prefix).
|
|
176
|
+
*
|
|
177
|
+
* The session shall apply to all IP flows between the device subnet and the
|
|
178
|
+
* specified application server, unless further restricted by the optional
|
|
179
|
+
* parameters devicePorts or applicationServerPorts.
|
|
180
|
+
*/
|
|
181
|
+
ipv6Address?: string;
|
|
182
|
+
/**
|
|
183
|
+
* A public identifier addressing a subscription in a mobile network. In 3GPP
|
|
184
|
+
* terminology, it corresponds to the GPSI formatted with the External Identifier
|
|
185
|
+
* ({Local Identifier}@{Domain Identifier}). Unlike the telephone number, the
|
|
186
|
+
* network access identifier is not subjected to portability ruling in force, and
|
|
187
|
+
* is individually managed by each operator.
|
|
188
|
+
*/
|
|
189
|
+
networkAccessIdentifier?: string;
|
|
190
|
+
/**
|
|
191
|
+
* A public identifier addressing a telephone subscription. In mobile networks it
|
|
192
|
+
* corresponds to the MSISDN (Mobile Station International Subscriber Directory
|
|
193
|
+
* Number). In order to be globally unique it has to be formatted in international
|
|
194
|
+
* format, according to E.164 standard, prefixed with '+'.
|
|
195
|
+
*/
|
|
196
|
+
phoneNumber?: string;
|
|
197
|
+
}
|
|
198
|
+
namespace Device {
|
|
199
|
+
/**
|
|
200
|
+
* The device should be identified by either the public (observed) IP address and
|
|
201
|
+
* port as seen by the application server, or the private (local) and any public
|
|
202
|
+
* (observed) IP addresses in use by the device (this information can be obtained
|
|
203
|
+
* by various means, for example from some DNS servers).
|
|
204
|
+
*
|
|
205
|
+
* If the allocated and observed IP addresses are the same (i.e. NAT is not in use)
|
|
206
|
+
* then the same address should be specified for both publicAddress and
|
|
207
|
+
* privateAddress.
|
|
208
|
+
*
|
|
209
|
+
* If NAT64 is in use, the device should be identified by its publicAddress and
|
|
210
|
+
* publicPort, or separately by its allocated IPv6 address (field ipv6Address of
|
|
211
|
+
* the Device object)
|
|
212
|
+
*
|
|
213
|
+
* In all cases, publicAddress must be specified, along with at least one of either
|
|
214
|
+
* privateAddress or publicPort, dependent upon which is known. In general, mobile
|
|
215
|
+
* devices cannot be identified by their public IPv4 address alone.
|
|
216
|
+
*/
|
|
217
|
+
interface Ipv4Address {
|
|
218
|
+
/**
|
|
219
|
+
* A single IPv4 address with no subnet mask
|
|
220
|
+
*/
|
|
221
|
+
privateAddress?: string;
|
|
222
|
+
/**
|
|
223
|
+
* A single IPv4 address with no subnet mask
|
|
224
|
+
*/
|
|
225
|
+
publicAddress?: string;
|
|
226
|
+
/**
|
|
227
|
+
* TCP or UDP port number
|
|
228
|
+
*/
|
|
229
|
+
publicPort?: number;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* A server hosting backend applications to deliver some business logic to clients.
|
|
234
|
+
*
|
|
235
|
+
* The developer can choose to provide the below specified device identifiers:
|
|
236
|
+
*
|
|
237
|
+
* - `ipv4Address`
|
|
238
|
+
* - `ipv6Address`
|
|
239
|
+
*
|
|
240
|
+
* The Operator will use this information to calculate the end to end network
|
|
241
|
+
* performance in scenarios where its feasible.
|
|
242
|
+
*/
|
|
243
|
+
interface ApplicationServer {
|
|
244
|
+
/**
|
|
245
|
+
* IPv4 address may be specified in form <address/mask> as:
|
|
246
|
+
*
|
|
247
|
+
* - address - an IPv4 number in dotted-quad form 1.2.3.4. Only this exact IP
|
|
248
|
+
* number will match the flow control rule.
|
|
249
|
+
* - address/mask - an IP number as above with a mask width of the form 1.2.3.4/24.
|
|
250
|
+
* In this case, all IP numbers from 1.2.3.0 to 1.2.3.255 will match. The bit
|
|
251
|
+
* width MUST be valid for the IP version.
|
|
252
|
+
*/
|
|
253
|
+
ipv4Address?: string;
|
|
254
|
+
/**
|
|
255
|
+
* IPv6 address may be specified in form <address/mask> as:
|
|
256
|
+
*
|
|
257
|
+
* - address - The /128 subnet is optional for single addresses:
|
|
258
|
+
* - 2001:db8:85a3:8d3:1319:8a2e:370:7344
|
|
259
|
+
* - 2001:db8:85a3:8d3:1319:8a2e:370:7344/128
|
|
260
|
+
* - address/mask - an IP v6 number with a mask:
|
|
261
|
+
* - 2001:db8:85a3:8d3::0/64
|
|
262
|
+
* - 2001:db8:85a3:8d3::/64
|
|
263
|
+
*/
|
|
264
|
+
ipv6Address?: string;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Specification of several TCP or UDP ports
|
|
268
|
+
*/
|
|
269
|
+
interface ApplicationServerPorts {
|
|
270
|
+
/**
|
|
271
|
+
* Array of TCP or UDP ports
|
|
272
|
+
*/
|
|
273
|
+
ports?: Array<number>;
|
|
274
|
+
/**
|
|
275
|
+
* Range of TCP or UDP ports
|
|
276
|
+
*/
|
|
277
|
+
ranges?: Array<ApplicationServerPorts.Range>;
|
|
278
|
+
}
|
|
279
|
+
namespace ApplicationServerPorts {
|
|
280
|
+
interface Range {
|
|
281
|
+
/**
|
|
282
|
+
* TCP or UDP port number
|
|
283
|
+
*/
|
|
284
|
+
from: number;
|
|
285
|
+
/**
|
|
286
|
+
* TCP or UDP port number
|
|
287
|
+
*/
|
|
288
|
+
to: number;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* Identifier of a delivery protocol. Only HTTP is allowed for now
|
|
295
|
+
*/
|
|
296
|
+
export type Protocol = 'HTTP' | 'MQTT3' | 'MQTT5' | 'AMQP' | 'NATS' | 'KAFKA';
|
|
297
|
+
/**
|
|
298
|
+
* Represents a event-type subscription.
|
|
299
|
+
*/
|
|
300
|
+
export interface Subscription {
|
|
301
|
+
/**
|
|
302
|
+
* Implementation-specific configuration parameters needed by the subscription
|
|
303
|
+
* manager for acquiring events. In CAMARA we have predefined attributes like
|
|
304
|
+
* `subscriptionExpireTime`, `subscriptionMaxEvents`, `initialEvent` Specific event
|
|
305
|
+
* type attributes must be defined in `subscriptionDetail` Note: if a request is
|
|
306
|
+
* performed for several event type, all subscribed event will use same `config`
|
|
307
|
+
* parameters.
|
|
308
|
+
*/
|
|
309
|
+
config: Config;
|
|
310
|
+
/**
|
|
311
|
+
* Identifier of a delivery protocol. Only HTTP is allowed for now
|
|
312
|
+
*/
|
|
313
|
+
protocol: Protocol;
|
|
314
|
+
/**
|
|
315
|
+
* The address to which events shall be delivered using the selected protocol.
|
|
316
|
+
*/
|
|
317
|
+
sink: string;
|
|
318
|
+
/**
|
|
319
|
+
* Date when the event subscription will begin/began It must follow
|
|
320
|
+
* [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must
|
|
321
|
+
* have time zone.
|
|
322
|
+
*/
|
|
323
|
+
startsAt: string;
|
|
324
|
+
/**
|
|
325
|
+
* Camara Event types eligible to be delivered by this subscription.
|
|
326
|
+
*/
|
|
327
|
+
types: Array<SubscriptionEventType>;
|
|
328
|
+
/**
|
|
329
|
+
* Date when the event subscription will expire. Only provided when
|
|
330
|
+
* `subscriptionExpireTime` is indicated by API client or Telco Operator has
|
|
331
|
+
* specific policy about that. It must follow
|
|
332
|
+
* [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must
|
|
333
|
+
* have time zone.
|
|
334
|
+
*/
|
|
335
|
+
expiresAt?: string;
|
|
336
|
+
/**
|
|
337
|
+
* Current status of the subscription - Management of Subscription State engine is
|
|
338
|
+
* not mandatory for now. Note not all statuses may be considered to be
|
|
339
|
+
* implemented. Details:
|
|
340
|
+
*
|
|
341
|
+
* - `ACTIVATION_REQUESTED`: Subscription creation (POST) is triggered but
|
|
342
|
+
* subscription creation process is not finished yet.
|
|
343
|
+
* - `ACTIVE`: Subscription creation process is completed. Subscription is fully
|
|
344
|
+
* operative.
|
|
345
|
+
* - `DEACTIVE`: Subscription is temporarily inactive, but its workflow logic is
|
|
346
|
+
* not deleted.
|
|
347
|
+
* - `EXPIRED`: Subscription is ended (no longer active). This status applies when
|
|
348
|
+
* subscription is ended due to `SUBSCRIPTION_EXPIRED` or `ACCESS_TOKEN_EXPIRED`
|
|
349
|
+
* event.
|
|
350
|
+
* - `DELETED`: Subscription is ended as deleted (no longer active). This status
|
|
351
|
+
* applies when subscription information is kept (i.e. subscription workflow is
|
|
352
|
+
* no longer active but its metainformation is kept).
|
|
353
|
+
*/
|
|
354
|
+
status?: 'ACTIVATION_REQUESTED' | 'ACTIVE' | 'EXPIRED' | 'DEACTIVE' | 'DELETED';
|
|
355
|
+
/**
|
|
356
|
+
* When this information is contained within an event notification, it SHALL be
|
|
357
|
+
* referred to as `subscriptionId` as per the Commonalities Event Notification
|
|
358
|
+
* Model.
|
|
359
|
+
*/
|
|
360
|
+
subscriptionId?: string;
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* event-type - Event triggered when an event-type event occurred
|
|
364
|
+
*/
|
|
365
|
+
export type SubscriptionEventType = 'org.camaraproject.connectivity-insights-subscriptions.v0.network-quality';
|
|
366
|
+
export type SubscriptionListResponse = Array<Subscription>;
|
|
367
|
+
/**
|
|
368
|
+
* Response for a event-type subscription request managed asynchronously (Creation
|
|
369
|
+
* or Deletion)
|
|
370
|
+
*/
|
|
371
|
+
export interface SubscriptionDeleteResponse {
|
|
372
|
+
/**
|
|
373
|
+
* When this information is contained within an event notification, it SHALL be
|
|
374
|
+
* referred to as `subscriptionId` as per the Commonalities Event Notification
|
|
375
|
+
* Model.
|
|
376
|
+
*/
|
|
377
|
+
subscriptionId?: string;
|
|
378
|
+
}
|
|
379
|
+
export interface SubscriptionCreateParams {
|
|
380
|
+
/**
|
|
381
|
+
* Body param: Implementation-specific configuration parameters needed by the
|
|
382
|
+
* subscription manager for acquiring events. In CAMARA we have predefined
|
|
383
|
+
* attributes like `subscriptionExpireTime`, `subscriptionMaxEvents`,
|
|
384
|
+
* `initialEvent` Specific event type attributes must be defined in
|
|
385
|
+
* `subscriptionDetail` Note: if a request is performed for several event type, all
|
|
386
|
+
* subscribed event will use same `config` parameters.
|
|
387
|
+
*/
|
|
388
|
+
config: Config;
|
|
389
|
+
/**
|
|
390
|
+
* Body param: Identifier of a delivery protocol. Only HTTP is allowed for now
|
|
391
|
+
*/
|
|
392
|
+
protocol: Protocol;
|
|
393
|
+
/**
|
|
394
|
+
* Body param: The address to which events shall be delivered using the selected
|
|
395
|
+
* protocol.
|
|
396
|
+
*/
|
|
397
|
+
sink: string;
|
|
398
|
+
/**
|
|
399
|
+
* Body param: Camara Event types eligible to be delivered by this subscription.
|
|
400
|
+
*/
|
|
401
|
+
types: Array<SubscriptionEventType>;
|
|
402
|
+
/**
|
|
403
|
+
* Body param: A sink credential provides authentication or authorization
|
|
404
|
+
* information
|
|
405
|
+
*/
|
|
406
|
+
sinkCredential?: SubscriptionCreateParams.SinkCredential;
|
|
407
|
+
/**
|
|
408
|
+
* Header param: Correlation id for the different services
|
|
409
|
+
*/
|
|
410
|
+
'x-correlator'?: string;
|
|
411
|
+
}
|
|
412
|
+
export declare namespace SubscriptionCreateParams {
|
|
413
|
+
/**
|
|
414
|
+
* A sink credential provides authentication or authorization information
|
|
415
|
+
*/
|
|
416
|
+
interface SinkCredential {
|
|
417
|
+
/**
|
|
418
|
+
* The type of the credential. Note: Type of the credential - MUST be set to
|
|
419
|
+
* ACCESSTOKEN for now
|
|
420
|
+
*/
|
|
421
|
+
credentialType: 'PLAIN' | 'ACCESSTOKEN' | 'REFRESHTOKEN';
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
export interface SubscriptionRetrieveParams {
|
|
425
|
+
/**
|
|
426
|
+
* Correlation id for the different services
|
|
427
|
+
*/
|
|
428
|
+
'x-correlator'?: string;
|
|
429
|
+
}
|
|
430
|
+
export interface SubscriptionListParams {
|
|
431
|
+
/**
|
|
432
|
+
* Correlation id for the different services
|
|
433
|
+
*/
|
|
434
|
+
'x-correlator'?: string;
|
|
435
|
+
}
|
|
436
|
+
export interface SubscriptionDeleteParams {
|
|
437
|
+
/**
|
|
438
|
+
* Correlation id for the different services
|
|
439
|
+
*/
|
|
440
|
+
'x-correlator'?: string;
|
|
441
|
+
}
|
|
442
|
+
export declare namespace Subscriptions {
|
|
443
|
+
export { type Config as Config, type Protocol as Protocol, type Subscription as Subscription, type SubscriptionEventType as SubscriptionEventType, type SubscriptionListResponse as SubscriptionListResponse, type SubscriptionDeleteResponse as SubscriptionDeleteResponse, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionRetrieveParams as SubscriptionRetrieveParams, type SubscriptionListParams as SubscriptionListParams, type SubscriptionDeleteParams as SubscriptionDeleteParams, };
|
|
444
|
+
}
|
|
445
|
+
//# sourceMappingURL=subscriptions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptions.d.mts","sourceRoot":"","sources":["../../src/resources/connectivityinsights/subscriptions.ts"],"names":[],"mappings":"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"}
|