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,406 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
export declare class Qualityondemand extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Returns a QoS Profile that matches the given name.
|
|
7
|
+
*
|
|
8
|
+
* The access token may be either a 2-legged or 3-legged access token. If the
|
|
9
|
+
* access token is 3-legged, a QoS Profile is only returned if available to all
|
|
10
|
+
* subjects associated with the access token.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const qosProfile =
|
|
15
|
+
* await client.qualityondemand.retrieveQosProfile('voice');
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
retrieveQosProfile(name: string, params?: QualityondemandRetrieveQosProfileParams | null | undefined, options?: RequestOptions): APIPromise<QosProfile>;
|
|
19
|
+
/**
|
|
20
|
+
* Returns all QoS Profiles that match the given criteria. **NOTES:**
|
|
21
|
+
*
|
|
22
|
+
* - The access token may be either a 2-legged or 3-legged access token.
|
|
23
|
+
* - If the access token is 3-legged, all returned QoS Profiles will be available
|
|
24
|
+
* to the subject (device) associated with the access token.
|
|
25
|
+
* - If the access token is 2-legged and a device filter is provided, all returned
|
|
26
|
+
* QoS Profiles will be available to that device. If multiple device identifiers
|
|
27
|
+
* are provided within the device property, only QoS Profiles available to the
|
|
28
|
+
* device identifier chosen by the implementation will be returned, even if the
|
|
29
|
+
* identifiers do not match the same device. API provider does not perform any
|
|
30
|
+
* logic to validate/correlate that the indicated device identifiers match the
|
|
31
|
+
* same device. No error should be returned if the identifiers are otherwise
|
|
32
|
+
* valid to prevent API consumers correlating different identifiers with a given
|
|
33
|
+
* end user.
|
|
34
|
+
* - This call uses the POST method instead of GET to comply with the CAMARA
|
|
35
|
+
* Commonalities guidelines for sending sensitive or complex data in API calls.
|
|
36
|
+
* Since the device field may contain personally identifiable information, it
|
|
37
|
+
* should not be sent via GET. Additionally, this call may include complex data
|
|
38
|
+
* structures.
|
|
39
|
+
* [CAMARA API Design Guidelines](https://github.com/camaraproject/Commonalities/blob/r3.3/documentation/API-design-guidelines.md#post-or-get-for-transferring-sensitive-or-complex-data)
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* const qosProfiles =
|
|
44
|
+
* await client.qualityondemand.retrieveQosProfiles();
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
retrieveQosProfiles(params: QualityondemandRetrieveQosProfilesParams, options?: RequestOptions): APIPromise<QualityondemandRetrieveQosProfilesResponse>;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Specification of duration
|
|
51
|
+
*/
|
|
52
|
+
export interface Duration {
|
|
53
|
+
/**
|
|
54
|
+
* Units of time
|
|
55
|
+
*/
|
|
56
|
+
unit?: 'Days' | 'Hours' | 'Minutes' | 'Seconds' | 'Milliseconds' | 'Microseconds' | 'Nanoseconds';
|
|
57
|
+
/**
|
|
58
|
+
* Quantity of duration
|
|
59
|
+
*/
|
|
60
|
+
value?: number;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Data type with attributes of a QosProfile
|
|
64
|
+
*/
|
|
65
|
+
export interface QosProfile {
|
|
66
|
+
/**
|
|
67
|
+
* A unique name for identifying a specific QoS profile. This may follow different
|
|
68
|
+
* formats depending on the service providers implementation. Some options
|
|
69
|
+
* addresses:
|
|
70
|
+
*
|
|
71
|
+
* - A UUID style string
|
|
72
|
+
* - Support for predefined profile names like `QOS_E`, `QOS_S`, `QOS_M`, and
|
|
73
|
+
* `QOS_L`
|
|
74
|
+
* - A searchable descriptive name
|
|
75
|
+
*/
|
|
76
|
+
name: string;
|
|
77
|
+
/**
|
|
78
|
+
* The current status of the QoS Profile
|
|
79
|
+
*
|
|
80
|
+
* - `ACTIVE`- QoS Profile is available to be used
|
|
81
|
+
* - `INACTIVE`- QoS Profile is not currently available to be deployed
|
|
82
|
+
* - `DEPRECATED`- QoS profile is actively being used in a QoD session, but can not
|
|
83
|
+
* be deployed in new QoD sessions
|
|
84
|
+
*/
|
|
85
|
+
status: QosProfileStatus;
|
|
86
|
+
/**
|
|
87
|
+
* A list of countries, and optionally networks, for which the API provider makes
|
|
88
|
+
* the profile available
|
|
89
|
+
*/
|
|
90
|
+
countryAvailability?: Array<QosProfile.CountryAvailability>;
|
|
91
|
+
/**
|
|
92
|
+
* A description of the QoS profile.
|
|
93
|
+
*/
|
|
94
|
+
description?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Specification of duration
|
|
97
|
+
*/
|
|
98
|
+
jitter?: Duration;
|
|
99
|
+
/**
|
|
100
|
+
* **NOTE**: l4sQueueType is experimental and could change or be removed in a
|
|
101
|
+
* future release.
|
|
102
|
+
*
|
|
103
|
+
* Specifies the type of queue for L4S (Low Latency, Low Loss, Scalable Throughput)
|
|
104
|
+
* traffic management. L4S is an advanced queue management approach designed to
|
|
105
|
+
* provide ultra-low latency and high throughput for internet traffic, particularly
|
|
106
|
+
* beneficial for interactive applications such as gaming, video conferencing, and
|
|
107
|
+
* virtual reality.
|
|
108
|
+
*
|
|
109
|
+
* **Queue Type Descriptions:**
|
|
110
|
+
*
|
|
111
|
+
* - **non-l4s-queue**: A traditional queue used for legacy internet traffic that
|
|
112
|
+
* does not utilize L4S enhancements. It provides standard latency and throughput
|
|
113
|
+
* levels.
|
|
114
|
+
*
|
|
115
|
+
* - **l4s-queue**: A dedicated queue optimized for L4S traffic, delivering
|
|
116
|
+
* ultra-low latency, low loss, and scalable throughput to support
|
|
117
|
+
* latency-sensitive applications.
|
|
118
|
+
*
|
|
119
|
+
* - **mixed-queue**: A shared queue that can handle both L4S and traditional
|
|
120
|
+
* traffic, offering a balance between ultra-low latency for L4S flows and
|
|
121
|
+
* compatibility with non-L4S flows.
|
|
122
|
+
*/
|
|
123
|
+
l4sQueueType?: 'non-l4s-queue' | 'l4s-queue' | 'mixed-queue';
|
|
124
|
+
/**
|
|
125
|
+
* Specification of rate
|
|
126
|
+
*/
|
|
127
|
+
maxDownstreamBurstRate?: Rate;
|
|
128
|
+
/**
|
|
129
|
+
* Specification of rate
|
|
130
|
+
*/
|
|
131
|
+
maxDownstreamRate?: Rate;
|
|
132
|
+
/**
|
|
133
|
+
* Specification of duration
|
|
134
|
+
*/
|
|
135
|
+
maxDuration?: Duration;
|
|
136
|
+
/**
|
|
137
|
+
* Specification of rate
|
|
138
|
+
*/
|
|
139
|
+
maxUpstreamBurstRate?: Rate;
|
|
140
|
+
/**
|
|
141
|
+
* Specification of rate
|
|
142
|
+
*/
|
|
143
|
+
maxUpstreamRate?: Rate;
|
|
144
|
+
/**
|
|
145
|
+
* Specification of duration
|
|
146
|
+
*/
|
|
147
|
+
minDuration?: Duration;
|
|
148
|
+
/**
|
|
149
|
+
* Specification of duration
|
|
150
|
+
*/
|
|
151
|
+
packetDelayBudget?: Duration;
|
|
152
|
+
/**
|
|
153
|
+
* This field specifies the acceptable level of data loss during transmission. The
|
|
154
|
+
* value is an exponent of 10, so a value of 3 means that up to 10⁻³, or 0.1%, of
|
|
155
|
+
* the data packets may be lost. This setting is part of a broader system that
|
|
156
|
+
* categorizes different types of network traffic (like phone calls, video streams,
|
|
157
|
+
* or data transfers) to ensure they perform reliably on the network.
|
|
158
|
+
*/
|
|
159
|
+
packetErrorLossRate?: number;
|
|
160
|
+
/**
|
|
161
|
+
* Priority levels allow efficient resource allocation and ensure optimal
|
|
162
|
+
* performance for various services in each technology, with the highest priority
|
|
163
|
+
* traffic receiving preferential treatment. The lower value the higher priority.
|
|
164
|
+
* Not all access networks use the same priority range, so this priority will be
|
|
165
|
+
* scaled to the access network's priority range.
|
|
166
|
+
*/
|
|
167
|
+
priority?: number;
|
|
168
|
+
/**
|
|
169
|
+
* **NOTE**: serviceClass is experimental and could change or be removed in a
|
|
170
|
+
* future release.
|
|
171
|
+
*
|
|
172
|
+
* The name of a Service Class, representing a QoS Profile designed to provide
|
|
173
|
+
* optimized behavior for a specific application type. While DSCP values are
|
|
174
|
+
* commonly associated with Service Classes, their use may vary across network
|
|
175
|
+
* segments and may not be applied throughout the entire end-to-end QoS session.
|
|
176
|
+
* This aligns with the serviceClass concept used in HomeDevicesQoQ for consistent
|
|
177
|
+
* terminology.
|
|
178
|
+
*
|
|
179
|
+
* Service classes define specific QoS behaviors that map to DSCP (Differentiated
|
|
180
|
+
* Services Code Point) values or Microsoft QoS traffic types.
|
|
181
|
+
*
|
|
182
|
+
* The supported mappings are:
|
|
183
|
+
*
|
|
184
|
+
* 1. Values aligned with the
|
|
185
|
+
* [RFC4594](https://datatracker.ietf.org/doc/html/rfc4594) guidelines for
|
|
186
|
+
* differentiated traffic classes.
|
|
187
|
+
* 2. Microsoft
|
|
188
|
+
* [QOS_TRAFFIC_TYPE](https://learn.microsoft.com/en-us/windows/win32/api/qos2/ne-qos2-qos_traffic_type)
|
|
189
|
+
* values for Windows developers.
|
|
190
|
+
*
|
|
191
|
+
* **Supported Service Classes**:
|
|
192
|
+
*
|
|
193
|
+
* | Service Class Name | DSCP Name | DSCP value (decimal) | DCSP value (binary) | Microsoft Value | Application Examples |
|
|
194
|
+
* | --------------------- | --------- | -------------------- | ------------------- | --------------- | -------------------------------------------------------------------- |
|
|
195
|
+
* | Microsoft Voice | CS7 | 56 | 111000 | 4,5 | Microsoft QOSTrafficTypeVoice and QOSTrafficTypeControl |
|
|
196
|
+
* | Microsoft Audio/Video | CS5 | 40 | 101000 | 2,3 | Microsoft QOSTrafficTypeExcellentEffort and QOSTrafficTypeAudioVideo |
|
|
197
|
+
* | Real-Time Interactive | CS4 | 32 | 100000 | | Video conferencing and Interactive gaming |
|
|
198
|
+
* | Multimedia Streaming | AF31 | 26 | 011010 | | Streaming video and audio on demand |
|
|
199
|
+
* | Broadcast Video | CS3 | 24 | 011000 | | Broadcast TV & live events |
|
|
200
|
+
* | Low-Latency Data | AF21 | 18 | 010010 | | Client/server transactions Web-based ordering |
|
|
201
|
+
* | High-Throughput Data | AF11 | 10 | 001010 | | Store and forward applications |
|
|
202
|
+
* | Low-Priority Data | CS1 | 8 | 001000 | 1 | Any flow that has no BW assurance - also: |
|
|
203
|
+
* | | | | | | Microsoft QOSTrafficTypeBackground |
|
|
204
|
+
* | Standard | DF(CS0) | 0 | 000000 | 0 | Undifferentiated applications - also: |
|
|
205
|
+
* | | | | | | Microsoft QOSTrafficTypeBestEffort |
|
|
206
|
+
*/
|
|
207
|
+
serviceClass?: 'microsoft_voice' | 'microsoft_audio_video' | 'real_time_interactive' | 'multimedia_streaming' | 'broadcast_video' | 'low_latency_data' | 'high_throughput_data' | 'low_priority_data' | 'standard';
|
|
208
|
+
/**
|
|
209
|
+
* Specification of rate
|
|
210
|
+
*/
|
|
211
|
+
targetMinDownstreamRate?: Rate;
|
|
212
|
+
/**
|
|
213
|
+
* Specification of rate
|
|
214
|
+
*/
|
|
215
|
+
targetMinUpstreamRate?: Rate;
|
|
216
|
+
}
|
|
217
|
+
export declare namespace QosProfile {
|
|
218
|
+
interface CountryAvailability {
|
|
219
|
+
/**
|
|
220
|
+
* The two letter ISO 3166-2 country code for the country in which the QoS profile
|
|
221
|
+
* is available in at least one network
|
|
222
|
+
*/
|
|
223
|
+
countryName: string;
|
|
224
|
+
/**
|
|
225
|
+
* A list of networks within the country for which the QoS profile is available
|
|
226
|
+
* from the API provider
|
|
227
|
+
*/
|
|
228
|
+
networks?: Array<string>;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* The current status of the QoS Profile
|
|
233
|
+
*
|
|
234
|
+
* - `ACTIVE`- QoS Profile is available to be used
|
|
235
|
+
* - `INACTIVE`- QoS Profile is not currently available to be deployed
|
|
236
|
+
* - `DEPRECATED`- QoS profile is actively being used in a QoD session, but can not
|
|
237
|
+
* be deployed in new QoD sessions
|
|
238
|
+
*/
|
|
239
|
+
export type QosProfileStatus = 'ACTIVE' | 'INACTIVE' | 'DEPRECATED';
|
|
240
|
+
/**
|
|
241
|
+
* Specification of rate
|
|
242
|
+
*/
|
|
243
|
+
export interface Rate {
|
|
244
|
+
/**
|
|
245
|
+
* Units of rate
|
|
246
|
+
*/
|
|
247
|
+
unit?: 'bps' | 'kbps' | 'Mbps' | 'Gbps' | 'Tbps';
|
|
248
|
+
/**
|
|
249
|
+
* Quantity of rate
|
|
250
|
+
*/
|
|
251
|
+
value?: number;
|
|
252
|
+
}
|
|
253
|
+
export type QualityondemandRetrieveQosProfilesResponse = Array<QosProfile>;
|
|
254
|
+
export interface QualityondemandRetrieveQosProfileParams {
|
|
255
|
+
/**
|
|
256
|
+
* Value for the x-correlator
|
|
257
|
+
*/
|
|
258
|
+
'x-correlator'?: string;
|
|
259
|
+
}
|
|
260
|
+
export interface QualityondemandRetrieveQosProfilesParams {
|
|
261
|
+
/**
|
|
262
|
+
* Body param: End-user equipment able to connect to a mobile network. Examples of
|
|
263
|
+
* devices include smartphones or IoT sensors/actuators.
|
|
264
|
+
*
|
|
265
|
+
* The developer can choose to provide the below specified device identifiers:
|
|
266
|
+
*
|
|
267
|
+
* - `ipv4Address`
|
|
268
|
+
* - `ipv6Address`
|
|
269
|
+
* - `phoneNumber` NOTE1: the network operator might support only a subset of these
|
|
270
|
+
* options. The API consumer can provide multiple identifiers to be compatible
|
|
271
|
+
* across different operators. In this case the identifiers MUST belong to the
|
|
272
|
+
* same device. NOTE2: as for this Commonalities release, we are enforcing that
|
|
273
|
+
* the networkAccessIdentifier is only part of the schema for future-proofing,
|
|
274
|
+
* and CAMARA does not currently allow its use. After the CAMARA meta-release
|
|
275
|
+
* work is concluded and the relevant issues are resolved, its use will need to
|
|
276
|
+
* be explicitly documented in the guidelines.
|
|
277
|
+
*/
|
|
278
|
+
device?: QualityondemandRetrieveQosProfilesParams.Device;
|
|
279
|
+
/**
|
|
280
|
+
* Body param: A unique name for identifying a specific QoS profile. This may
|
|
281
|
+
* follow different formats depending on the service providers implementation. Some
|
|
282
|
+
* options addresses:
|
|
283
|
+
*
|
|
284
|
+
* - A UUID style string
|
|
285
|
+
* - Support for predefined profile names like `QOS_E`, `QOS_S`, `QOS_M`, and
|
|
286
|
+
* `QOS_L`
|
|
287
|
+
* - A searchable descriptive name
|
|
288
|
+
*/
|
|
289
|
+
name?: string;
|
|
290
|
+
/**
|
|
291
|
+
* Body param: The current status of the QoS Profile
|
|
292
|
+
*
|
|
293
|
+
* - `ACTIVE`- QoS Profile is available to be used
|
|
294
|
+
* - `INACTIVE`- QoS Profile is not currently available to be deployed
|
|
295
|
+
* - `DEPRECATED`- QoS profile is actively being used in a QoD session, but can not
|
|
296
|
+
* be deployed in new QoD sessions
|
|
297
|
+
*/
|
|
298
|
+
status?: QosProfileStatus;
|
|
299
|
+
/**
|
|
300
|
+
* Header param: Value for the x-correlator
|
|
301
|
+
*/
|
|
302
|
+
'x-correlator'?: string;
|
|
303
|
+
}
|
|
304
|
+
export declare namespace QualityondemandRetrieveQosProfilesParams {
|
|
305
|
+
/**
|
|
306
|
+
* End-user equipment able to connect to a mobile network. Examples of devices
|
|
307
|
+
* include smartphones or IoT sensors/actuators.
|
|
308
|
+
*
|
|
309
|
+
* The developer can choose to provide the below specified device identifiers:
|
|
310
|
+
*
|
|
311
|
+
* - `ipv4Address`
|
|
312
|
+
* - `ipv6Address`
|
|
313
|
+
* - `phoneNumber` NOTE1: the network operator might support only a subset of these
|
|
314
|
+
* options. The API consumer can provide multiple identifiers to be compatible
|
|
315
|
+
* across different operators. In this case the identifiers MUST belong to the
|
|
316
|
+
* same device. NOTE2: as for this Commonalities release, we are enforcing that
|
|
317
|
+
* the networkAccessIdentifier is only part of the schema for future-proofing,
|
|
318
|
+
* and CAMARA does not currently allow its use. After the CAMARA meta-release
|
|
319
|
+
* work is concluded and the relevant issues are resolved, its use will need to
|
|
320
|
+
* be explicitly documented in the guidelines.
|
|
321
|
+
*/
|
|
322
|
+
interface Device {
|
|
323
|
+
/**
|
|
324
|
+
* The device should be identified by either the public (observed) IP address and
|
|
325
|
+
* port as seen by the application server, or the private (local) and any public
|
|
326
|
+
* (observed) IP addresses in use by the device (this information can be obtained
|
|
327
|
+
* by various means, for example from some DNS servers).
|
|
328
|
+
*
|
|
329
|
+
* If the allocated and observed IP addresses are the same (i.e. NAT is not in use)
|
|
330
|
+
* then the same address should be specified for both publicAddress and
|
|
331
|
+
* privateAddress.
|
|
332
|
+
*
|
|
333
|
+
* If NAT64 is in use, the device should be identified by its publicAddress and
|
|
334
|
+
* publicPort, or separately by its allocated IPv6 address (field ipv6Address of
|
|
335
|
+
* the Device object)
|
|
336
|
+
*
|
|
337
|
+
* In all cases, publicAddress must be specified, along with at least one of either
|
|
338
|
+
* privateAddress or publicPort, dependent upon which is known. In general, mobile
|
|
339
|
+
* devices cannot be identified by their public IPv4 address alone.
|
|
340
|
+
*/
|
|
341
|
+
ipv4Address?: Device.Ipv4Address;
|
|
342
|
+
/**
|
|
343
|
+
* The device should be identified by the observed IPv6 address, or by any single
|
|
344
|
+
* IPv6 address from within the subnet allocated to the device (e.g. adding ::0 to
|
|
345
|
+
* the /64 prefix).
|
|
346
|
+
*
|
|
347
|
+
* The session shall apply to all IP flows between the device subnet and the
|
|
348
|
+
* specified application server, unless further restricted by the optional
|
|
349
|
+
* parameters devicePorts or applicationServerPorts.
|
|
350
|
+
*/
|
|
351
|
+
ipv6Address?: string;
|
|
352
|
+
/**
|
|
353
|
+
* A public identifier addressing a subscription in a mobile network. In 3GPP
|
|
354
|
+
* terminology, it corresponds to the GPSI formatted with the External Identifier
|
|
355
|
+
* ({Local Identifier}@{Domain Identifier}). Unlike the telephone number, the
|
|
356
|
+
* network access identifier is not subjected to portability ruling in force, and
|
|
357
|
+
* is individually managed by each operator.
|
|
358
|
+
*/
|
|
359
|
+
networkAccessIdentifier?: string;
|
|
360
|
+
/**
|
|
361
|
+
* A public identifier addressing a telephone subscription. In mobile networks it
|
|
362
|
+
* corresponds to the MSISDN (Mobile Station International Subscriber Directory
|
|
363
|
+
* Number). In order to be globally unique it has to be formatted in international
|
|
364
|
+
* format, according to E.164 standard, prefixed with '+'.
|
|
365
|
+
*/
|
|
366
|
+
phoneNumber?: string;
|
|
367
|
+
}
|
|
368
|
+
namespace Device {
|
|
369
|
+
/**
|
|
370
|
+
* The device should be identified by either the public (observed) IP address and
|
|
371
|
+
* port as seen by the application server, or the private (local) and any public
|
|
372
|
+
* (observed) IP addresses in use by the device (this information can be obtained
|
|
373
|
+
* by various means, for example from some DNS servers).
|
|
374
|
+
*
|
|
375
|
+
* If the allocated and observed IP addresses are the same (i.e. NAT is not in use)
|
|
376
|
+
* then the same address should be specified for both publicAddress and
|
|
377
|
+
* privateAddress.
|
|
378
|
+
*
|
|
379
|
+
* If NAT64 is in use, the device should be identified by its publicAddress and
|
|
380
|
+
* publicPort, or separately by its allocated IPv6 address (field ipv6Address of
|
|
381
|
+
* the Device object)
|
|
382
|
+
*
|
|
383
|
+
* In all cases, publicAddress must be specified, along with at least one of either
|
|
384
|
+
* privateAddress or publicPort, dependent upon which is known. In general, mobile
|
|
385
|
+
* devices cannot be identified by their public IPv4 address alone.
|
|
386
|
+
*/
|
|
387
|
+
interface Ipv4Address {
|
|
388
|
+
/**
|
|
389
|
+
* A single IPv4 address with no subnet mask
|
|
390
|
+
*/
|
|
391
|
+
privateAddress?: string;
|
|
392
|
+
/**
|
|
393
|
+
* A single IPv4 address with no subnet mask
|
|
394
|
+
*/
|
|
395
|
+
publicAddress?: string;
|
|
396
|
+
/**
|
|
397
|
+
* TCP or UDP port number
|
|
398
|
+
*/
|
|
399
|
+
publicPort?: number;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
export declare namespace Qualityondemand {
|
|
404
|
+
export { type Duration as Duration, type QosProfile as QosProfile, type QosProfileStatus as QosProfileStatus, type Rate as Rate, type QualityondemandRetrieveQosProfilesResponse as QualityondemandRetrieveQosProfilesResponse, type QualityondemandRetrieveQosProfileParams as QualityondemandRetrieveQosProfileParams, type QualityondemandRetrieveQosProfilesParams as QualityondemandRetrieveQosProfilesParams, };
|
|
405
|
+
}
|
|
406
|
+
//# sourceMappingURL=qualityondemand.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qualityondemand.d.ts","sourceRoot":"","sources":["../src/resources/qualityondemand.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;;;OAYG;IACH,kBAAkB,CAChB,IAAI,EAAE,MAAM,EACZ,MAAM,GAAE,uCAAuC,GAAG,IAAI,GAAG,SAAc,EACvE,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,UAAU,CAAC;IAWzB;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,mBAAmB,CACjB,MAAM,EAAE,wCAAwC,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0CAA0C,CAAC;CAW1D;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,cAAc,GAAG,cAAc,GAAG,aAAa,CAAC;IAElG;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;;;;;;;;OASG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;;OAOG;IACH,MAAM,EAAE,gBAAgB,CAAC;IAEzB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC;IAE5D;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,QAAQ,CAAC;IAElB;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,YAAY,CAAC,EAAE,eAAe,GAAG,WAAW,GAAG,aAAa,CAAC;IAE7D;;OAEG;IACH,sBAAsB,CAAC,EAAE,IAAI,CAAC;IAE9B;;OAEG;IACH,iBAAiB,CAAC,EAAE,IAAI,CAAC;IAEzB;;OAEG;IACH,WAAW,CAAC,EAAE,QAAQ,CAAC;IAEvB;;OAEG;IACH,oBAAoB,CAAC,EAAE,IAAI,CAAC;IAE5B;;OAEG;IACH,eAAe,CAAC,EAAE,IAAI,CAAC;IAEvB;;OAEG;IACH,WAAW,CAAC,EAAE,QAAQ,CAAC;IAEvB;;OAEG;IACH,iBAAiB,CAAC,EAAE,QAAQ,CAAC;IAE7B;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACH,YAAY,CAAC,EACT,iBAAiB,GACjB,uBAAuB,GACvB,uBAAuB,GACvB,sBAAsB,GACtB,iBAAiB,GACjB,kBAAkB,GAClB,sBAAsB,GACtB,mBAAmB,GACnB,UAAU,CAAC;IAEf;;OAEG;IACH,uBAAuB,CAAC,EAAE,IAAI,CAAC;IAE/B;;OAEG;IACH,qBAAqB,CAAC,EAAE,IAAI,CAAC;CAC9B;AAED,yBAAiB,UAAU,CAAC;IAC1B,UAAiB,mBAAmB;QAClC;;;WAGG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;;WAGG;QACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KAC1B;CACF;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,UAAU,GAAG,YAAY,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IAEjD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,0CAA0C,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC;AAE3E,MAAM,WAAW,uCAAuC;IACtD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,wCAAwC;IACvD;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,EAAE,wCAAwC,CAAC,MAAM,CAAC;IAEzD;;;;;;;;;OASG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAE1B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,yBAAiB,wCAAwC,CAAC;IACxD;;;;;;;;;;;;;;;;OAgBG;IACH,UAAiB,MAAM;QACrB;;;;;;;;;;;;;;;;;WAiBG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC,WAAW,CAAC;QAEjC;;;;;;;;WAQG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;;;;;WAMG;QACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;QAEjC;;;;;WAKG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB;IAED,UAAiB,MAAM,CAAC;QACtB;;;;;;;;;;;;;;;;;WAiBG;QACH,UAAiB,WAAW;YAC1B;;eAEG;YACH,cAAc,CAAC,EAAE,MAAM,CAAC;YAExB;;eAEG;YACH,aAAa,CAAC,EAAE,MAAM,CAAC;YAEvB;;eAEG;YACH,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,0CAA0C,IAAI,0CAA0C,EAC7F,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,wCAAwC,IAAI,wCAAwC,GAC1F,CAAC;CACH"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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.Qualityondemand = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const headers_1 = require("../internal/headers.js");
|
|
7
|
+
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
class Qualityondemand extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns a QoS Profile that matches the given name.
|
|
11
|
+
*
|
|
12
|
+
* The access token may be either a 2-legged or 3-legged access token. If the
|
|
13
|
+
* access token is 3-legged, a QoS Profile is only returned if available to all
|
|
14
|
+
* subjects associated with the access token.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* const qosProfile =
|
|
19
|
+
* await client.qualityondemand.retrieveQosProfile('voice');
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
retrieveQosProfile(name, params = {}, options) {
|
|
23
|
+
const { 'x-correlator': xCorrelator } = params ?? {};
|
|
24
|
+
return this._client.get((0, path_1.path) `/qualityondemand/qos-profiles/${name}`, {
|
|
25
|
+
...options,
|
|
26
|
+
headers: (0, headers_1.buildHeaders)([
|
|
27
|
+
{ ...(xCorrelator != null ? { 'x-correlator': xCorrelator } : undefined) },
|
|
28
|
+
options?.headers,
|
|
29
|
+
]),
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Returns all QoS Profiles that match the given criteria. **NOTES:**
|
|
34
|
+
*
|
|
35
|
+
* - The access token may be either a 2-legged or 3-legged access token.
|
|
36
|
+
* - If the access token is 3-legged, all returned QoS Profiles will be available
|
|
37
|
+
* to the subject (device) associated with the access token.
|
|
38
|
+
* - If the access token is 2-legged and a device filter is provided, all returned
|
|
39
|
+
* QoS Profiles will be available to that device. If multiple device identifiers
|
|
40
|
+
* are provided within the device property, only QoS Profiles available to the
|
|
41
|
+
* device identifier chosen by the implementation will be returned, even if the
|
|
42
|
+
* identifiers do not match the same device. API provider does not perform any
|
|
43
|
+
* logic to validate/correlate that the indicated device identifiers match the
|
|
44
|
+
* same device. No error should be returned if the identifiers are otherwise
|
|
45
|
+
* valid to prevent API consumers correlating different identifiers with a given
|
|
46
|
+
* end user.
|
|
47
|
+
* - This call uses the POST method instead of GET to comply with the CAMARA
|
|
48
|
+
* Commonalities guidelines for sending sensitive or complex data in API calls.
|
|
49
|
+
* Since the device field may contain personally identifiable information, it
|
|
50
|
+
* should not be sent via GET. Additionally, this call may include complex data
|
|
51
|
+
* structures.
|
|
52
|
+
* [CAMARA API Design Guidelines](https://github.com/camaraproject/Commonalities/blob/r3.3/documentation/API-design-guidelines.md#post-or-get-for-transferring-sensitive-or-complex-data)
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```ts
|
|
56
|
+
* const qosProfiles =
|
|
57
|
+
* await client.qualityondemand.retrieveQosProfiles();
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
retrieveQosProfiles(params, options) {
|
|
61
|
+
const { 'x-correlator': xCorrelator, ...body } = params;
|
|
62
|
+
return this._client.post('/qualityondemand/retrieve-qos-profiles', {
|
|
63
|
+
body,
|
|
64
|
+
...options,
|
|
65
|
+
headers: (0, headers_1.buildHeaders)([
|
|
66
|
+
{ ...(xCorrelator != null ? { 'x-correlator': xCorrelator } : undefined) },
|
|
67
|
+
options?.headers,
|
|
68
|
+
]),
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.Qualityondemand = Qualityondemand;
|
|
73
|
+
//# sourceMappingURL=qualityondemand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qualityondemand.js","sourceRoot":"","sources":["../src/resources/qualityondemand.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,oDAAmD;AAEnD,oDAA8C;AAE9C,MAAa,eAAgB,SAAQ,sBAAW;IAC9C;;;;;;;;;;;;OAYG;IACH,kBAAkB,CAChB,IAAY,EACZ,SAAqE,EAAE,EACvE,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,iCAAiC,IAAI,EAAE,EAAE;YACnE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,WAAW,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBAC1E,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,mBAAmB,CACjB,MAAgD,EAChD,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wCAAwC,EAAE;YACjE,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,WAAW,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBAC1E,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAvED,0CAuEC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../internal/headers.mjs";
|
|
4
|
+
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
export class Qualityondemand extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Returns a QoS Profile that matches the given name.
|
|
8
|
+
*
|
|
9
|
+
* The access token may be either a 2-legged or 3-legged access token. If the
|
|
10
|
+
* access token is 3-legged, a QoS Profile is only returned if available to all
|
|
11
|
+
* subjects associated with the access token.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const qosProfile =
|
|
16
|
+
* await client.qualityondemand.retrieveQosProfile('voice');
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
retrieveQosProfile(name, params = {}, options) {
|
|
20
|
+
const { 'x-correlator': xCorrelator } = params ?? {};
|
|
21
|
+
return this._client.get(path `/qualityondemand/qos-profiles/${name}`, {
|
|
22
|
+
...options,
|
|
23
|
+
headers: buildHeaders([
|
|
24
|
+
{ ...(xCorrelator != null ? { 'x-correlator': xCorrelator } : undefined) },
|
|
25
|
+
options?.headers,
|
|
26
|
+
]),
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Returns all QoS Profiles that match the given criteria. **NOTES:**
|
|
31
|
+
*
|
|
32
|
+
* - The access token may be either a 2-legged or 3-legged access token.
|
|
33
|
+
* - If the access token is 3-legged, all returned QoS Profiles will be available
|
|
34
|
+
* to the subject (device) associated with the access token.
|
|
35
|
+
* - If the access token is 2-legged and a device filter is provided, all returned
|
|
36
|
+
* QoS Profiles will be available to that device. If multiple device identifiers
|
|
37
|
+
* are provided within the device property, only QoS Profiles available to the
|
|
38
|
+
* device identifier chosen by the implementation will be returned, even if the
|
|
39
|
+
* identifiers do not match the same device. API provider does not perform any
|
|
40
|
+
* logic to validate/correlate that the indicated device identifiers match the
|
|
41
|
+
* same device. No error should be returned if the identifiers are otherwise
|
|
42
|
+
* valid to prevent API consumers correlating different identifiers with a given
|
|
43
|
+
* end user.
|
|
44
|
+
* - This call uses the POST method instead of GET to comply with the CAMARA
|
|
45
|
+
* Commonalities guidelines for sending sensitive or complex data in API calls.
|
|
46
|
+
* Since the device field may contain personally identifiable information, it
|
|
47
|
+
* should not be sent via GET. Additionally, this call may include complex data
|
|
48
|
+
* structures.
|
|
49
|
+
* [CAMARA API Design Guidelines](https://github.com/camaraproject/Commonalities/blob/r3.3/documentation/API-design-guidelines.md#post-or-get-for-transferring-sensitive-or-complex-data)
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```ts
|
|
53
|
+
* const qosProfiles =
|
|
54
|
+
* await client.qualityondemand.retrieveQosProfiles();
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
retrieveQosProfiles(params, options) {
|
|
58
|
+
const { 'x-correlator': xCorrelator, ...body } = params;
|
|
59
|
+
return this._client.post('/qualityondemand/retrieve-qos-profiles', {
|
|
60
|
+
body,
|
|
61
|
+
...options,
|
|
62
|
+
headers: buildHeaders([
|
|
63
|
+
{ ...(xCorrelator != null ? { 'x-correlator': xCorrelator } : undefined) },
|
|
64
|
+
options?.headers,
|
|
65
|
+
]),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=qualityondemand.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qualityondemand.mjs","sourceRoot":"","sources":["../src/resources/qualityondemand.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;;;OAYG;IACH,kBAAkB,CAChB,IAAY,EACZ,SAAqE,EAAE,EACvE,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,iCAAiC,IAAI,EAAE,EAAE;YACnE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,GAAG,CAAC,WAAW,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBAC1E,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,mBAAmB,CACjB,MAAgD,EAChD,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wCAAwC,EAAE;YACjE,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,GAAG,CAAC,WAAW,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBAC1E,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|