@silkline/paramify 0.0.2
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 +10 -0
- package/LICENSE +201 -0
- package/README.md +402 -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 +199 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +199 -0
- package/client.d.ts.map +1 -0
- package/client.js +494 -0
- package/client.js.map +1 -0
- package/client.mjs +490 -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 +40 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +37 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/qs/formats.d.mts +7 -0
- package/internal/qs/formats.d.mts.map +1 -0
- package/internal/qs/formats.d.ts +7 -0
- package/internal/qs/formats.d.ts.map +1 -0
- package/internal/qs/formats.js +13 -0
- package/internal/qs/formats.js.map +1 -0
- package/internal/qs/formats.mjs +9 -0
- package/internal/qs/formats.mjs.map +1 -0
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts +10 -0
- package/internal/qs/index.d.ts.map +1 -0
- package/internal/qs/index.js +14 -0
- package/internal/qs/index.js.map +1 -0
- package/internal/qs/index.mjs +10 -0
- package/internal/qs/index.mjs.map +1 -0
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts +3 -0
- package/internal/qs/stringify.d.ts.map +1 -0
- package/internal/qs/stringify.js +277 -0
- package/internal/qs/stringify.js.map +1 -0
- package/internal/qs/stringify.mjs +274 -0
- package/internal/qs/stringify.mjs.map +1 -0
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/types.d.ts +57 -0
- package/internal/qs/types.d.ts.map +1 -0
- package/internal/qs/types.js +3 -0
- package/internal/qs/types.js.map +1 -0
- package/internal/qs/types.mjs +2 -0
- package/internal/qs/types.mjs.map +1 -0
- package/internal/qs/utils.d.mts +15 -0
- package/internal/qs/utils.d.mts.map +1 -0
- package/internal/qs/utils.d.ts +15 -0
- package/internal/qs/utils.d.ts.map +1 -0
- package/internal/qs/utils.js +230 -0
- package/internal/qs/utils.js.map +1 -0
- package/internal/qs/utils.mjs +217 -0
- package/internal/qs/utils.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 +87 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +81 -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/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.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 +8 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +8 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +12 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +9 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +149 -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/assessments/assessments.d.mts +269 -0
- package/resources/assessments/assessments.d.mts.map +1 -0
- package/resources/assessments/assessments.d.ts +269 -0
- package/resources/assessments/assessments.d.ts.map +1 -0
- package/resources/assessments/assessments.js +100 -0
- package/resources/assessments/assessments.js.map +1 -0
- package/resources/assessments/assessments.mjs +95 -0
- package/resources/assessments/assessments.mjs.map +1 -0
- package/resources/assessments/cycles.d.mts +209 -0
- package/resources/assessments/cycles.d.mts.map +1 -0
- package/resources/assessments/cycles.d.ts +209 -0
- package/resources/assessments/cycles.d.ts.map +1 -0
- package/resources/assessments/cycles.js +76 -0
- package/resources/assessments/cycles.js.map +1 -0
- package/resources/assessments/cycles.mjs +72 -0
- package/resources/assessments/cycles.mjs.map +1 -0
- package/resources/assessments/index.d.mts +3 -0
- package/resources/assessments/index.d.mts.map +1 -0
- package/resources/assessments/index.d.ts +3 -0
- package/resources/assessments/index.d.ts.map +1 -0
- package/resources/assessments/index.js +9 -0
- package/resources/assessments/index.js.map +1 -0
- package/resources/assessments/index.mjs +4 -0
- package/resources/assessments/index.mjs.map +1 -0
- package/resources/assessments.d.mts +2 -0
- package/resources/assessments.d.mts.map +1 -0
- package/resources/assessments.d.ts +2 -0
- package/resources/assessments.d.ts.map +1 -0
- package/resources/assessments.js +6 -0
- package/resources/assessments.js.map +1 -0
- package/resources/assessments.mjs +3 -0
- package/resources/assessments.mjs.map +1 -0
- package/resources/audit-assessments/audit-assessments.d.mts +63 -0
- package/resources/audit-assessments/audit-assessments.d.mts.map +1 -0
- package/resources/audit-assessments/audit-assessments.d.ts +63 -0
- package/resources/audit-assessments/audit-assessments.d.ts.map +1 -0
- package/resources/audit-assessments/audit-assessments.js +31 -0
- package/resources/audit-assessments/audit-assessments.js.map +1 -0
- package/resources/audit-assessments/audit-assessments.mjs +26 -0
- package/resources/audit-assessments/audit-assessments.mjs.map +1 -0
- package/resources/audit-assessments/control-implementations.d.mts +38 -0
- package/resources/audit-assessments/control-implementations.d.mts.map +1 -0
- package/resources/audit-assessments/control-implementations.d.ts +38 -0
- package/resources/audit-assessments/control-implementations.d.ts.map +1 -0
- package/resources/audit-assessments/control-implementations.js +18 -0
- package/resources/audit-assessments/control-implementations.js.map +1 -0
- package/resources/audit-assessments/control-implementations.mjs +14 -0
- package/resources/audit-assessments/control-implementations.mjs.map +1 -0
- package/resources/audit-assessments/index.d.mts +3 -0
- package/resources/audit-assessments/index.d.mts.map +1 -0
- package/resources/audit-assessments/index.d.ts +3 -0
- package/resources/audit-assessments/index.d.ts.map +1 -0
- package/resources/audit-assessments/index.js +9 -0
- package/resources/audit-assessments/index.js.map +1 -0
- package/resources/audit-assessments/index.mjs +4 -0
- package/resources/audit-assessments/index.mjs.map +1 -0
- package/resources/audit-assessments.d.mts +2 -0
- package/resources/audit-assessments.d.mts.map +1 -0
- package/resources/audit-assessments.d.ts +2 -0
- package/resources/audit-assessments.d.ts.map +1 -0
- package/resources/audit-assessments.js +6 -0
- package/resources/audit-assessments.js.map +1 -0
- package/resources/audit-assessments.mjs +3 -0
- package/resources/audit-assessments.mjs.map +1 -0
- package/resources/elements.d.mts +67 -0
- package/resources/elements.d.mts.map +1 -0
- package/resources/elements.d.ts +67 -0
- package/resources/elements.d.ts.map +1 -0
- package/resources/elements.js +23 -0
- package/resources/elements.js.map +1 -0
- package/resources/elements.mjs +19 -0
- package/resources/elements.mjs.map +1 -0
- package/resources/evidence/artifacts.d.mts +531 -0
- package/resources/evidence/artifacts.d.mts.map +1 -0
- package/resources/evidence/artifacts.d.ts +531 -0
- package/resources/evidence/artifacts.d.ts.map +1 -0
- package/resources/evidence/artifacts.js +145 -0
- package/resources/evidence/artifacts.js.map +1 -0
- package/resources/evidence/artifacts.mjs +141 -0
- package/resources/evidence/artifacts.mjs.map +1 -0
- package/resources/evidence/evidence.d.mts +397 -0
- package/resources/evidence/evidence.d.mts.map +1 -0
- package/resources/evidence/evidence.d.ts +397 -0
- package/resources/evidence/evidence.d.ts.map +1 -0
- package/resources/evidence/evidence.js +118 -0
- package/resources/evidence/evidence.js.map +1 -0
- package/resources/evidence/evidence.mjs +113 -0
- package/resources/evidence/evidence.mjs.map +1 -0
- package/resources/evidence/index.d.mts +3 -0
- package/resources/evidence/index.d.mts.map +1 -0
- package/resources/evidence/index.d.ts +3 -0
- package/resources/evidence/index.d.ts.map +1 -0
- package/resources/evidence/index.js +9 -0
- package/resources/evidence/index.js.map +1 -0
- package/resources/evidence/index.mjs +4 -0
- package/resources/evidence/index.mjs.map +1 -0
- package/resources/evidence.d.mts +2 -0
- package/resources/evidence.d.mts.map +1 -0
- package/resources/evidence.d.ts +2 -0
- package/resources/evidence.d.ts.map +1 -0
- package/resources/evidence.js +6 -0
- package/resources/evidence.js.map +1 -0
- package/resources/evidence.mjs +3 -0
- package/resources/evidence.mjs.map +1 -0
- package/resources/index.d.mts +9 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +9 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +21 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +10 -0
- package/resources/index.mjs.map +1 -0
- package/resources/issues/deviations.d.mts +267 -0
- package/resources/issues/deviations.d.mts.map +1 -0
- package/resources/issues/deviations.d.ts +267 -0
- package/resources/issues/deviations.d.ts.map +1 -0
- package/resources/issues/deviations.js +105 -0
- package/resources/issues/deviations.js.map +1 -0
- package/resources/issues/deviations.mjs +101 -0
- package/resources/issues/deviations.mjs.map +1 -0
- package/resources/issues/index.d.mts +5 -0
- package/resources/issues/index.d.mts.map +1 -0
- package/resources/issues/index.d.ts +5 -0
- package/resources/issues/index.d.ts.map +1 -0
- package/resources/issues/index.js +13 -0
- package/resources/issues/index.js.map +1 -0
- package/resources/issues/index.mjs +6 -0
- package/resources/issues/index.mjs.map +1 -0
- package/resources/issues/issues.d.mts +878 -0
- package/resources/issues/issues.d.mts.map +1 -0
- package/resources/issues/issues.d.ts +878 -0
- package/resources/issues/issues.d.ts.map +1 -0
- package/resources/issues/issues.js +156 -0
- package/resources/issues/issues.js.map +1 -0
- package/resources/issues/issues.mjs +151 -0
- package/resources/issues/issues.mjs.map +1 -0
- package/resources/issues/milestones.d.mts +260 -0
- package/resources/issues/milestones.d.mts.map +1 -0
- package/resources/issues/milestones.d.ts +260 -0
- package/resources/issues/milestones.d.ts.map +1 -0
- package/resources/issues/milestones.js +101 -0
- package/resources/issues/milestones.js.map +1 -0
- package/resources/issues/milestones.mjs +97 -0
- package/resources/issues/milestones.mjs.map +1 -0
- package/resources/issues/recommendations.d.mts +210 -0
- package/resources/issues/recommendations.d.mts.map +1 -0
- package/resources/issues/recommendations.d.ts +210 -0
- package/resources/issues/recommendations.d.ts.map +1 -0
- package/resources/issues/recommendations.js +106 -0
- package/resources/issues/recommendations.js.map +1 -0
- package/resources/issues/recommendations.mjs +102 -0
- package/resources/issues/recommendations.mjs.map +1 -0
- package/resources/issues.d.mts +2 -0
- package/resources/issues.d.mts.map +1 -0
- package/resources/issues.d.ts +2 -0
- package/resources/issues.d.ts.map +1 -0
- package/resources/issues.js +6 -0
- package/resources/issues.js.map +1 -0
- package/resources/issues.mjs +3 -0
- package/resources/issues.mjs.map +1 -0
- package/resources/projects/control-implementations.d.mts +36 -0
- package/resources/projects/control-implementations.d.mts.map +1 -0
- package/resources/projects/control-implementations.d.ts +36 -0
- package/resources/projects/control-implementations.d.ts.map +1 -0
- package/resources/projects/control-implementations.js +16 -0
- package/resources/projects/control-implementations.js.map +1 -0
- package/resources/projects/control-implementations.mjs +12 -0
- package/resources/projects/control-implementations.mjs.map +1 -0
- package/resources/projects/index.d.mts +3 -0
- package/resources/projects/index.d.mts.map +1 -0
- package/resources/projects/index.d.ts +3 -0
- package/resources/projects/index.d.ts.map +1 -0
- package/resources/projects/index.js +9 -0
- package/resources/projects/index.js.map +1 -0
- package/resources/projects/index.mjs +4 -0
- package/resources/projects/index.mjs.map +1 -0
- package/resources/projects/projects.d.mts +59 -0
- package/resources/projects/projects.d.mts.map +1 -0
- package/resources/projects/projects.d.ts +59 -0
- package/resources/projects/projects.d.ts.map +1 -0
- package/resources/projects/projects.js +36 -0
- package/resources/projects/projects.js.map +1 -0
- package/resources/projects/projects.mjs +31 -0
- package/resources/projects/projects.mjs.map +1 -0
- package/resources/projects.d.mts +2 -0
- package/resources/projects.d.mts.map +1 -0
- package/resources/projects.d.ts +2 -0
- package/resources/projects.d.ts.map +1 -0
- package/resources/projects.js +6 -0
- package/resources/projects.js.map +1 -0
- package/resources/projects.mjs +3 -0
- package/resources/projects.mjs.map +1 -0
- package/resources/solution-capabilities.d.mts +61 -0
- package/resources/solution-capabilities.d.mts.map +1 -0
- package/resources/solution-capabilities.d.ts +61 -0
- package/resources/solution-capabilities.d.ts.map +1 -0
- package/resources/solution-capabilities.js +23 -0
- package/resources/solution-capabilities.js.map +1 -0
- package/resources/solution-capabilities.mjs +19 -0
- package/resources/solution-capabilities.mjs.map +1 -0
- package/resources/validators.d.mts +518 -0
- package/resources/validators.d.mts.map +1 -0
- package/resources/validators.d.ts +518 -0
- package/resources/validators.d.ts.map +1 -0
- package/resources/validators.js +66 -0
- package/resources/validators.js.map +1 -0
- package/resources/validators.mjs +62 -0
- package/resources/validators.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 +868 -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 +56 -0
- package/src/internal/qs/LICENSE.md +13 -0
- package/src/internal/qs/README.md +3 -0
- package/src/internal/qs/formats.ts +10 -0
- package/src/internal/qs/index.ts +13 -0
- package/src/internal/qs/stringify.ts +385 -0
- package/src/internal/qs/types.ts +71 -0
- package/src/internal/qs/utils.ts +265 -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 +93 -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 +128 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/query.ts +7 -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 +9 -0
- package/src/lib/.keep +4 -0
- package/src/resource.ts +2 -0
- package/src/resources/assessments/assessments.ts +350 -0
- package/src/resources/assessments/cycles.ts +267 -0
- package/src/resources/assessments/index.ts +20 -0
- package/src/resources/assessments.ts +3 -0
- package/src/resources/audit-assessments/audit-assessments.ts +92 -0
- package/src/resources/audit-assessments/control-implementations.ts +49 -0
- package/src/resources/audit-assessments/index.ts +8 -0
- package/src/resources/audit-assessments.ts +3 -0
- package/src/resources/elements.ts +152 -0
- package/src/resources/evidence/artifacts.ts +682 -0
- package/src/resources/evidence/evidence.ts +609 -0
- package/src/resources/evidence/index.ts +31 -0
- package/src/resources/evidence.ts +3 -0
- package/src/resources/index.ts +55 -0
- package/src/resources/issues/deviations.ts +360 -0
- package/src/resources/issues/index.ts +51 -0
- package/src/resources/issues/issues.ts +1345 -0
- package/src/resources/issues/milestones.ts +350 -0
- package/src/resources/issues/recommendations.ts +417 -0
- package/src/resources/issues.ts +3 -0
- package/src/resources/projects/control-implementations.ts +47 -0
- package/src/resources/projects/index.ts +4 -0
- package/src/resources/projects/projects.ts +128 -0
- package/src/resources/projects.ts +3 -0
- package/src/resources/solution-capabilities.ts +85 -0
- package/src/resources/validators.ts +691 -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":"index.js","sourceRoot":"","sources":["../../src/resources/evidence/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAgBqB;AAfnB,sGAAA,SAAS,OAAA;AAgBX,0CAWoB;AAVlB,oGAAA,QAAQ,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/evidence/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GAeV;OACM,EACL,QAAQ,GAUT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evidence.d.mts","sourceRoot":"","sources":["../src/resources/evidence.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evidence.d.ts","sourceRoot":"","sources":["../src/resources/evidence.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
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
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./evidence/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=evidence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evidence.js","sourceRoot":"","sources":["../src/resources/evidence.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8DAAiC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evidence.mjs","sourceRoot":"","sources":["../src/resources/evidence.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { Assessments, type Assessment, type AssessmentRetrieveResponse, type AssessmentListResponse, type AssessmentIntakeResponse, type AssessmentListParams, type AssessmentIntakeParams, } from "./assessments/assessments.mjs";
|
|
2
|
+
export { AuditAssessments, type AuditAssessmentRetrieveResponse, type AuditAssessmentListResponse, } from "./audit-assessments/audit-assessments.mjs";
|
|
3
|
+
export { Elements, type ElementRetrieveResponse, type ElementListResponse } from "./elements.mjs";
|
|
4
|
+
export { Evidence, type PostEvidence, type EvidenceCreateResponse, type EvidenceRetrieveResponse, type EvidenceUpdateResponse, type EvidenceListResponse, type EvidenceCreateParams, type EvidenceUpdateParams, type EvidenceListParams, type EvidenceAssociateParams, } from "./evidence/evidence.mjs";
|
|
5
|
+
export { Issues, type Issue, type IssueObservationTypes, type Origin, type IssueUpdateResponse, type IssueListResponse, type IssueCreateParams, type IssueUpdateParams, type IssueListParams, type IssueExportOscalParams, } from "./issues/issues.mjs";
|
|
6
|
+
export { Projects, type Project, type ProjectListResponse } from "./projects/projects.mjs";
|
|
7
|
+
export { SolutionCapabilities, type SolutionCapabilityRetrieveResponse, type SolutionCapabilityListResponse, } from "./solution-capabilities.mjs";
|
|
8
|
+
export { Validators, type PostValidator, type Validator, type ValidatorListResponse, type ValidatorCreateParams, type ValidatorListParams, } from "./validators.mjs";
|
|
9
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B;OACM,EACL,gBAAgB,EAChB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,GACjC;OACM,EAAE,QAAQ,EAAE,KAAK,uBAAuB,EAAE,KAAK,mBAAmB,EAAE;OACpE,EACL,QAAQ,EACR,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,GAC7B;OACM,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACX,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,sBAAsB,GAC5B;OACM,EAAE,QAAQ,EAAE,KAAK,OAAO,EAAE,KAAK,mBAAmB,EAAE;OACpD,EACL,oBAAoB,EACpB,KAAK,kCAAkC,EACvC,KAAK,8BAA8B,GACpC;OACM,EACL,UAAU,EACV,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { Assessments, type Assessment, type AssessmentRetrieveResponse, type AssessmentListResponse, type AssessmentIntakeResponse, type AssessmentListParams, type AssessmentIntakeParams, } from "./assessments/assessments.js";
|
|
2
|
+
export { AuditAssessments, type AuditAssessmentRetrieveResponse, type AuditAssessmentListResponse, } from "./audit-assessments/audit-assessments.js";
|
|
3
|
+
export { Elements, type ElementRetrieveResponse, type ElementListResponse } from "./elements.js";
|
|
4
|
+
export { Evidence, type PostEvidence, type EvidenceCreateResponse, type EvidenceRetrieveResponse, type EvidenceUpdateResponse, type EvidenceListResponse, type EvidenceCreateParams, type EvidenceUpdateParams, type EvidenceListParams, type EvidenceAssociateParams, } from "./evidence/evidence.js";
|
|
5
|
+
export { Issues, type Issue, type IssueObservationTypes, type Origin, type IssueUpdateResponse, type IssueListResponse, type IssueCreateParams, type IssueUpdateParams, type IssueListParams, type IssueExportOscalParams, } from "./issues/issues.js";
|
|
6
|
+
export { Projects, type Project, type ProjectListResponse } from "./projects/projects.js";
|
|
7
|
+
export { SolutionCapabilities, type SolutionCapabilityRetrieveResponse, type SolutionCapabilityListResponse, } from "./solution-capabilities.js";
|
|
8
|
+
export { Validators, type PostValidator, type Validator, type ValidatorListResponse, type ValidatorCreateParams, type ValidatorListParams, } from "./validators.js";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B;OACM,EACL,gBAAgB,EAChB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,GACjC;OACM,EAAE,QAAQ,EAAE,KAAK,uBAAuB,EAAE,KAAK,mBAAmB,EAAE;OACpE,EACL,QAAQ,EACR,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,GAC7B;OACM,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACX,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,sBAAsB,GAC5B;OACM,EAAE,QAAQ,EAAE,KAAK,OAAO,EAAE,KAAK,mBAAmB,EAAE;OACpD,EACL,oBAAoB,EACpB,KAAK,kCAAkC,EACvC,KAAK,8BAA8B,GACpC;OACM,EACL,UAAU,EACV,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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.Validators = exports.SolutionCapabilities = exports.Projects = exports.Issues = exports.Evidence = exports.Elements = exports.AuditAssessments = exports.Assessments = void 0;
|
|
5
|
+
var assessments_1 = require("./assessments/assessments.js");
|
|
6
|
+
Object.defineProperty(exports, "Assessments", { enumerable: true, get: function () { return assessments_1.Assessments; } });
|
|
7
|
+
var audit_assessments_1 = require("./audit-assessments/audit-assessments.js");
|
|
8
|
+
Object.defineProperty(exports, "AuditAssessments", { enumerable: true, get: function () { return audit_assessments_1.AuditAssessments; } });
|
|
9
|
+
var elements_1 = require("./elements.js");
|
|
10
|
+
Object.defineProperty(exports, "Elements", { enumerable: true, get: function () { return elements_1.Elements; } });
|
|
11
|
+
var evidence_1 = require("./evidence/evidence.js");
|
|
12
|
+
Object.defineProperty(exports, "Evidence", { enumerable: true, get: function () { return evidence_1.Evidence; } });
|
|
13
|
+
var issues_1 = require("./issues/issues.js");
|
|
14
|
+
Object.defineProperty(exports, "Issues", { enumerable: true, get: function () { return issues_1.Issues; } });
|
|
15
|
+
var projects_1 = require("./projects/projects.js");
|
|
16
|
+
Object.defineProperty(exports, "Projects", { enumerable: true, get: function () { return projects_1.Projects; } });
|
|
17
|
+
var solution_capabilities_1 = require("./solution-capabilities.js");
|
|
18
|
+
Object.defineProperty(exports, "SolutionCapabilities", { enumerable: true, get: function () { return solution_capabilities_1.SolutionCapabilities; } });
|
|
19
|
+
var validators_1 = require("./validators.js");
|
|
20
|
+
Object.defineProperty(exports, "Validators", { enumerable: true, get: function () { return validators_1.Validators; } });
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4DAQmC;AAPjC,0GAAA,WAAW,OAAA;AAQb,8EAI+C;AAH7C,qHAAA,gBAAgB,OAAA;AAIlB,0CAA8F;AAArF,oGAAA,QAAQ,OAAA;AACjB,mDAW6B;AAV3B,oGAAA,QAAQ,OAAA;AAWV,6CAWyB;AAVvB,gGAAA,MAAM,OAAA;AAWR,mDAAuF;AAA9E,oGAAA,QAAQ,OAAA;AACjB,oEAIiC;AAH/B,6HAAA,oBAAoB,OAAA;AAItB,8CAOsB;AANpB,wGAAA,UAAU,OAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { Assessments, } from "./assessments/assessments.mjs";
|
|
3
|
+
export { AuditAssessments, } from "./audit-assessments/audit-assessments.mjs";
|
|
4
|
+
export { Elements } from "./elements.mjs";
|
|
5
|
+
export { Evidence, } from "./evidence/evidence.mjs";
|
|
6
|
+
export { Issues, } from "./issues/issues.mjs";
|
|
7
|
+
export { Projects } from "./projects/projects.mjs";
|
|
8
|
+
export { SolutionCapabilities, } from "./solution-capabilities.mjs";
|
|
9
|
+
export { Validators, } from "./validators.mjs";
|
|
10
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GAOZ;OACM,EACL,gBAAgB,GAGjB;OACM,EAAE,QAAQ,EAA0D;OACpE,EACL,QAAQ,GAUT;OACM,EACL,MAAM,GAUP;OACM,EAAE,QAAQ,EAA0C;OACpD,EACL,oBAAoB,GAGrB;OACM,EACL,UAAU,GAMX"}
|
|
@@ -0,0 +1,267 @@
|
|
|
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 Deviations extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new deviation on the issue specified by the `issueId` path parameter.
|
|
7
|
+
* The `id` value of the deviation returned can be used as the `deviationId`
|
|
8
|
+
* parameter in the `deviations` route.Note that if not provided, the
|
|
9
|
+
* `acceptanceStatusDate` field will be set to the current date if the status field
|
|
10
|
+
* is set to accepted or rejected.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const deviation = await client.issues.deviations.create(
|
|
15
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
16
|
+
* {
|
|
17
|
+
* description: 'description',
|
|
18
|
+
* deviationMetadata: { status: 'PENDING' },
|
|
19
|
+
* method: 'TEST',
|
|
20
|
+
* type: 'VENDOR_DEPENDENCY',
|
|
21
|
+
* },
|
|
22
|
+
* );
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
create(issueID: string, body: DeviationCreateParams, options?: RequestOptions): APIPromise<Deviation>;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the deviation specified by the `deviationId` path parameter and
|
|
28
|
+
* associated with the issue specified by `issueId`. The `id` value of the
|
|
29
|
+
* deviation returned can be used as the `deviationId` parameter in the
|
|
30
|
+
* `deviations` route.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const deviation = await client.issues.deviations.retrieve(
|
|
35
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
36
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
37
|
+
* );
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
retrieve(deviationID: string, params: DeviationRetrieveParams, options?: RequestOptions): APIPromise<Deviation>;
|
|
41
|
+
/**
|
|
42
|
+
* Updates the deviation specified by the `deviationId` path parameter and
|
|
43
|
+
* associated with the issue specified by `issueId`. Upon successful operation, all
|
|
44
|
+
* fields that are not arrays will be overwritten. Fields that accept array values
|
|
45
|
+
* will add the provided values to the existing values.Note that if not provided,
|
|
46
|
+
* the `acceptanceStatusDate` field will be set to the current date if the status
|
|
47
|
+
* field is set to accepted or rejected.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* const deviation = await client.issues.deviations.update(
|
|
52
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
53
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
54
|
+
* );
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
update(deviationID: string, params: DeviationUpdateParams, options?: RequestOptions): APIPromise<DeviationUpdateResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* This endpoint returns all deviations for the specified issue. You may filter the
|
|
60
|
+
* results by `id` to retrieve several specific deviations at once.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```ts
|
|
64
|
+
* const deviations = await client.issues.deviations.list(
|
|
65
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
66
|
+
* );
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
list(issueID: string, query?: DeviationListParams | null | undefined, options?: RequestOptions): APIPromise<DeviationListResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* Deletes the deviation specified by the `deviationId` path parameter (scoped to
|
|
72
|
+
* the issue specified by `issueId`). Warning: This action is irreversible.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* ```ts
|
|
76
|
+
* await client.issues.deviations.delete(
|
|
77
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
78
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
79
|
+
* );
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
delete(deviationID: string, params: DeviationDeleteParams, options?: RequestOptions): APIPromise<void>;
|
|
83
|
+
}
|
|
84
|
+
export interface Deviation {
|
|
85
|
+
/**
|
|
86
|
+
* A uuid that uniquely identifies a deviation within Paramify
|
|
87
|
+
*/
|
|
88
|
+
id: string;
|
|
89
|
+
/**
|
|
90
|
+
* The date the deviation was created
|
|
91
|
+
*/
|
|
92
|
+
createdAt: string;
|
|
93
|
+
/**
|
|
94
|
+
* The description of the deviation
|
|
95
|
+
*/
|
|
96
|
+
description: string;
|
|
97
|
+
/**
|
|
98
|
+
* The method used to create the deviation
|
|
99
|
+
*/
|
|
100
|
+
method: 'TEST' | 'EXAMINE' | 'INTERVIEW' | 'UNKNOWN';
|
|
101
|
+
/**
|
|
102
|
+
* Deviation observation types
|
|
103
|
+
*/
|
|
104
|
+
type: DeviationObservationTypes;
|
|
105
|
+
/**
|
|
106
|
+
* Deviation metadata object
|
|
107
|
+
*/
|
|
108
|
+
deviationMetadata?: Deviation.DeviationMetadata;
|
|
109
|
+
}
|
|
110
|
+
export declare namespace Deviation {
|
|
111
|
+
/**
|
|
112
|
+
* Deviation metadata object
|
|
113
|
+
*/
|
|
114
|
+
interface DeviationMetadata {
|
|
115
|
+
status: 'PENDING' | 'ACCEPTED' | 'REJECTED';
|
|
116
|
+
/**
|
|
117
|
+
* The date the deviation status was accepted or rejected
|
|
118
|
+
*/
|
|
119
|
+
acceptanceStatusDate?: string | null;
|
|
120
|
+
adjustedLevel?: 'NOT_SET' | 'CHILL' | 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL' | null;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Deviation metadata object
|
|
125
|
+
*/
|
|
126
|
+
export interface DeviationMetadata {
|
|
127
|
+
/**
|
|
128
|
+
* The date the deviation status was accepted or rejected
|
|
129
|
+
*/
|
|
130
|
+
acceptanceStatusDate?: string | null;
|
|
131
|
+
adjustedLevel?: 'NOT_SET' | 'CHILL' | 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL';
|
|
132
|
+
status?: 'PENDING' | 'ACCEPTED' | 'REJECTED';
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Deviation observation types
|
|
136
|
+
*/
|
|
137
|
+
export type DeviationObservationTypes = 'FALSE_POSITIVE' | 'OPERATIONAL_REQUIREMENT' | 'RISK_ADJUSTMENT' | 'VENDOR_DEPENDENCY';
|
|
138
|
+
/**
|
|
139
|
+
* The deviation as it exists after the operation
|
|
140
|
+
*/
|
|
141
|
+
export interface DeviationUpdateResponse {
|
|
142
|
+
/**
|
|
143
|
+
* A uuid that uniquely identifies a deviation within Paramify
|
|
144
|
+
*/
|
|
145
|
+
id: string;
|
|
146
|
+
/**
|
|
147
|
+
* The date the deviation was created
|
|
148
|
+
*/
|
|
149
|
+
createdAt: string;
|
|
150
|
+
/**
|
|
151
|
+
* The description of the deviation
|
|
152
|
+
*/
|
|
153
|
+
description: string;
|
|
154
|
+
/**
|
|
155
|
+
* The method used to create the deviation
|
|
156
|
+
*/
|
|
157
|
+
method: 'TEST' | 'EXAMINE' | 'INTERVIEW' | 'UNKNOWN';
|
|
158
|
+
/**
|
|
159
|
+
* Deviation observation types
|
|
160
|
+
*/
|
|
161
|
+
type: DeviationObservationTypes;
|
|
162
|
+
/**
|
|
163
|
+
* Deviation metadata object
|
|
164
|
+
*/
|
|
165
|
+
deviationMetadata?: DeviationUpdateResponse.DeviationMetadata;
|
|
166
|
+
}
|
|
167
|
+
export declare namespace DeviationUpdateResponse {
|
|
168
|
+
/**
|
|
169
|
+
* Deviation metadata object
|
|
170
|
+
*/
|
|
171
|
+
interface DeviationMetadata {
|
|
172
|
+
status: 'PENDING' | 'ACCEPTED' | 'REJECTED';
|
|
173
|
+
/**
|
|
174
|
+
* The date the deviation status was accepted or rejected
|
|
175
|
+
*/
|
|
176
|
+
acceptanceStatusDate?: string | null;
|
|
177
|
+
adjustedLevel?: 'NOT_SET' | 'CHILL' | 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL' | null;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
export interface DeviationListResponse {
|
|
181
|
+
deviations: Array<Deviation>;
|
|
182
|
+
}
|
|
183
|
+
export interface DeviationCreateParams {
|
|
184
|
+
/**
|
|
185
|
+
* The description of the deviation
|
|
186
|
+
*/
|
|
187
|
+
description: string;
|
|
188
|
+
/**
|
|
189
|
+
* Deviation schema
|
|
190
|
+
*/
|
|
191
|
+
deviationMetadata: DeviationCreateParams.DeviationMetadata;
|
|
192
|
+
method: 'TEST' | 'EXAMINE' | 'INTERVIEW' | 'UNKNOWN';
|
|
193
|
+
/**
|
|
194
|
+
* Deviation observation types
|
|
195
|
+
*/
|
|
196
|
+
type: DeviationObservationTypes;
|
|
197
|
+
/**
|
|
198
|
+
* The date the deviation was created
|
|
199
|
+
*/
|
|
200
|
+
createdAt?: string | null;
|
|
201
|
+
}
|
|
202
|
+
export declare namespace DeviationCreateParams {
|
|
203
|
+
/**
|
|
204
|
+
* Deviation schema
|
|
205
|
+
*/
|
|
206
|
+
interface DeviationMetadata {
|
|
207
|
+
status: 'PENDING' | 'ACCEPTED' | 'REJECTED';
|
|
208
|
+
/**
|
|
209
|
+
* The date the deviation status was accepted or rejected
|
|
210
|
+
*/
|
|
211
|
+
acceptanceStatusDate?: string | null;
|
|
212
|
+
adjustedLevel?: 'NOT_SET' | 'CHILL' | 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL';
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
export interface DeviationRetrieveParams {
|
|
216
|
+
/**
|
|
217
|
+
* An id that represents an issue within the Paramify application.
|
|
218
|
+
*/
|
|
219
|
+
issueId: string;
|
|
220
|
+
}
|
|
221
|
+
export interface DeviationUpdateParams {
|
|
222
|
+
/**
|
|
223
|
+
* Path param: An id that represents an issue within the Paramify application.
|
|
224
|
+
*/
|
|
225
|
+
issueId: string;
|
|
226
|
+
/**
|
|
227
|
+
* Body param
|
|
228
|
+
*/
|
|
229
|
+
id?: string;
|
|
230
|
+
/**
|
|
231
|
+
* Body param: The date the deviation was created
|
|
232
|
+
*/
|
|
233
|
+
createdAt?: string;
|
|
234
|
+
/**
|
|
235
|
+
* Body param
|
|
236
|
+
*/
|
|
237
|
+
description?: string;
|
|
238
|
+
/**
|
|
239
|
+
* Body param: Deviation metadata object
|
|
240
|
+
*/
|
|
241
|
+
deviationMetadata?: DeviationMetadata;
|
|
242
|
+
/**
|
|
243
|
+
* Body param
|
|
244
|
+
*/
|
|
245
|
+
method?: 'TEST' | 'EXAMINE' | 'INTERVIEW' | 'UNKNOWN';
|
|
246
|
+
/**
|
|
247
|
+
* Body param: Deviation observation types
|
|
248
|
+
*/
|
|
249
|
+
type?: DeviationObservationTypes;
|
|
250
|
+
}
|
|
251
|
+
export interface DeviationListParams {
|
|
252
|
+
/**
|
|
253
|
+
* Filter deviations by ID. Multiple IDs can be provided to retrieve multiple
|
|
254
|
+
* deviations at once.
|
|
255
|
+
*/
|
|
256
|
+
id?: Array<string>;
|
|
257
|
+
}
|
|
258
|
+
export interface DeviationDeleteParams {
|
|
259
|
+
/**
|
|
260
|
+
* An id that represents an issue within the Paramify application.
|
|
261
|
+
*/
|
|
262
|
+
issueId: string;
|
|
263
|
+
}
|
|
264
|
+
export declare namespace Deviations {
|
|
265
|
+
export { type Deviation as Deviation, type DeviationMetadata as DeviationMetadata, type DeviationObservationTypes as DeviationObservationTypes, type DeviationUpdateResponse as DeviationUpdateResponse, type DeviationListResponse as DeviationListResponse, type DeviationCreateParams as DeviationCreateParams, type DeviationRetrieveParams as DeviationRetrieveParams, type DeviationUpdateParams as DeviationUpdateParams, type DeviationListParams as DeviationListParams, type DeviationDeleteParams as DeviationDeleteParams, };
|
|
266
|
+
}
|
|
267
|
+
//# sourceMappingURL=deviations.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deviations.d.mts","sourceRoot":"","sources":["../../src/resources/issues/deviations.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,267 @@
|
|
|
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 Deviations extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new deviation on the issue specified by the `issueId` path parameter.
|
|
7
|
+
* The `id` value of the deviation returned can be used as the `deviationId`
|
|
8
|
+
* parameter in the `deviations` route.Note that if not provided, the
|
|
9
|
+
* `acceptanceStatusDate` field will be set to the current date if the status field
|
|
10
|
+
* is set to accepted or rejected.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const deviation = await client.issues.deviations.create(
|
|
15
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
16
|
+
* {
|
|
17
|
+
* description: 'description',
|
|
18
|
+
* deviationMetadata: { status: 'PENDING' },
|
|
19
|
+
* method: 'TEST',
|
|
20
|
+
* type: 'VENDOR_DEPENDENCY',
|
|
21
|
+
* },
|
|
22
|
+
* );
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
create(issueID: string, body: DeviationCreateParams, options?: RequestOptions): APIPromise<Deviation>;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the deviation specified by the `deviationId` path parameter and
|
|
28
|
+
* associated with the issue specified by `issueId`. The `id` value of the
|
|
29
|
+
* deviation returned can be used as the `deviationId` parameter in the
|
|
30
|
+
* `deviations` route.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const deviation = await client.issues.deviations.retrieve(
|
|
35
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
36
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
37
|
+
* );
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
retrieve(deviationID: string, params: DeviationRetrieveParams, options?: RequestOptions): APIPromise<Deviation>;
|
|
41
|
+
/**
|
|
42
|
+
* Updates the deviation specified by the `deviationId` path parameter and
|
|
43
|
+
* associated with the issue specified by `issueId`. Upon successful operation, all
|
|
44
|
+
* fields that are not arrays will be overwritten. Fields that accept array values
|
|
45
|
+
* will add the provided values to the existing values.Note that if not provided,
|
|
46
|
+
* the `acceptanceStatusDate` field will be set to the current date if the status
|
|
47
|
+
* field is set to accepted or rejected.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* const deviation = await client.issues.deviations.update(
|
|
52
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
53
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
54
|
+
* );
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
update(deviationID: string, params: DeviationUpdateParams, options?: RequestOptions): APIPromise<DeviationUpdateResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* This endpoint returns all deviations for the specified issue. You may filter the
|
|
60
|
+
* results by `id` to retrieve several specific deviations at once.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```ts
|
|
64
|
+
* const deviations = await client.issues.deviations.list(
|
|
65
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
66
|
+
* );
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
list(issueID: string, query?: DeviationListParams | null | undefined, options?: RequestOptions): APIPromise<DeviationListResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* Deletes the deviation specified by the `deviationId` path parameter (scoped to
|
|
72
|
+
* the issue specified by `issueId`). Warning: This action is irreversible.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* ```ts
|
|
76
|
+
* await client.issues.deviations.delete(
|
|
77
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
78
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
79
|
+
* );
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
delete(deviationID: string, params: DeviationDeleteParams, options?: RequestOptions): APIPromise<void>;
|
|
83
|
+
}
|
|
84
|
+
export interface Deviation {
|
|
85
|
+
/**
|
|
86
|
+
* A uuid that uniquely identifies a deviation within Paramify
|
|
87
|
+
*/
|
|
88
|
+
id: string;
|
|
89
|
+
/**
|
|
90
|
+
* The date the deviation was created
|
|
91
|
+
*/
|
|
92
|
+
createdAt: string;
|
|
93
|
+
/**
|
|
94
|
+
* The description of the deviation
|
|
95
|
+
*/
|
|
96
|
+
description: string;
|
|
97
|
+
/**
|
|
98
|
+
* The method used to create the deviation
|
|
99
|
+
*/
|
|
100
|
+
method: 'TEST' | 'EXAMINE' | 'INTERVIEW' | 'UNKNOWN';
|
|
101
|
+
/**
|
|
102
|
+
* Deviation observation types
|
|
103
|
+
*/
|
|
104
|
+
type: DeviationObservationTypes;
|
|
105
|
+
/**
|
|
106
|
+
* Deviation metadata object
|
|
107
|
+
*/
|
|
108
|
+
deviationMetadata?: Deviation.DeviationMetadata;
|
|
109
|
+
}
|
|
110
|
+
export declare namespace Deviation {
|
|
111
|
+
/**
|
|
112
|
+
* Deviation metadata object
|
|
113
|
+
*/
|
|
114
|
+
interface DeviationMetadata {
|
|
115
|
+
status: 'PENDING' | 'ACCEPTED' | 'REJECTED';
|
|
116
|
+
/**
|
|
117
|
+
* The date the deviation status was accepted or rejected
|
|
118
|
+
*/
|
|
119
|
+
acceptanceStatusDate?: string | null;
|
|
120
|
+
adjustedLevel?: 'NOT_SET' | 'CHILL' | 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL' | null;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Deviation metadata object
|
|
125
|
+
*/
|
|
126
|
+
export interface DeviationMetadata {
|
|
127
|
+
/**
|
|
128
|
+
* The date the deviation status was accepted or rejected
|
|
129
|
+
*/
|
|
130
|
+
acceptanceStatusDate?: string | null;
|
|
131
|
+
adjustedLevel?: 'NOT_SET' | 'CHILL' | 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL';
|
|
132
|
+
status?: 'PENDING' | 'ACCEPTED' | 'REJECTED';
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Deviation observation types
|
|
136
|
+
*/
|
|
137
|
+
export type DeviationObservationTypes = 'FALSE_POSITIVE' | 'OPERATIONAL_REQUIREMENT' | 'RISK_ADJUSTMENT' | 'VENDOR_DEPENDENCY';
|
|
138
|
+
/**
|
|
139
|
+
* The deviation as it exists after the operation
|
|
140
|
+
*/
|
|
141
|
+
export interface DeviationUpdateResponse {
|
|
142
|
+
/**
|
|
143
|
+
* A uuid that uniquely identifies a deviation within Paramify
|
|
144
|
+
*/
|
|
145
|
+
id: string;
|
|
146
|
+
/**
|
|
147
|
+
* The date the deviation was created
|
|
148
|
+
*/
|
|
149
|
+
createdAt: string;
|
|
150
|
+
/**
|
|
151
|
+
* The description of the deviation
|
|
152
|
+
*/
|
|
153
|
+
description: string;
|
|
154
|
+
/**
|
|
155
|
+
* The method used to create the deviation
|
|
156
|
+
*/
|
|
157
|
+
method: 'TEST' | 'EXAMINE' | 'INTERVIEW' | 'UNKNOWN';
|
|
158
|
+
/**
|
|
159
|
+
* Deviation observation types
|
|
160
|
+
*/
|
|
161
|
+
type: DeviationObservationTypes;
|
|
162
|
+
/**
|
|
163
|
+
* Deviation metadata object
|
|
164
|
+
*/
|
|
165
|
+
deviationMetadata?: DeviationUpdateResponse.DeviationMetadata;
|
|
166
|
+
}
|
|
167
|
+
export declare namespace DeviationUpdateResponse {
|
|
168
|
+
/**
|
|
169
|
+
* Deviation metadata object
|
|
170
|
+
*/
|
|
171
|
+
interface DeviationMetadata {
|
|
172
|
+
status: 'PENDING' | 'ACCEPTED' | 'REJECTED';
|
|
173
|
+
/**
|
|
174
|
+
* The date the deviation status was accepted or rejected
|
|
175
|
+
*/
|
|
176
|
+
acceptanceStatusDate?: string | null;
|
|
177
|
+
adjustedLevel?: 'NOT_SET' | 'CHILL' | 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL' | null;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
export interface DeviationListResponse {
|
|
181
|
+
deviations: Array<Deviation>;
|
|
182
|
+
}
|
|
183
|
+
export interface DeviationCreateParams {
|
|
184
|
+
/**
|
|
185
|
+
* The description of the deviation
|
|
186
|
+
*/
|
|
187
|
+
description: string;
|
|
188
|
+
/**
|
|
189
|
+
* Deviation schema
|
|
190
|
+
*/
|
|
191
|
+
deviationMetadata: DeviationCreateParams.DeviationMetadata;
|
|
192
|
+
method: 'TEST' | 'EXAMINE' | 'INTERVIEW' | 'UNKNOWN';
|
|
193
|
+
/**
|
|
194
|
+
* Deviation observation types
|
|
195
|
+
*/
|
|
196
|
+
type: DeviationObservationTypes;
|
|
197
|
+
/**
|
|
198
|
+
* The date the deviation was created
|
|
199
|
+
*/
|
|
200
|
+
createdAt?: string | null;
|
|
201
|
+
}
|
|
202
|
+
export declare namespace DeviationCreateParams {
|
|
203
|
+
/**
|
|
204
|
+
* Deviation schema
|
|
205
|
+
*/
|
|
206
|
+
interface DeviationMetadata {
|
|
207
|
+
status: 'PENDING' | 'ACCEPTED' | 'REJECTED';
|
|
208
|
+
/**
|
|
209
|
+
* The date the deviation status was accepted or rejected
|
|
210
|
+
*/
|
|
211
|
+
acceptanceStatusDate?: string | null;
|
|
212
|
+
adjustedLevel?: 'NOT_SET' | 'CHILL' | 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL';
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
export interface DeviationRetrieveParams {
|
|
216
|
+
/**
|
|
217
|
+
* An id that represents an issue within the Paramify application.
|
|
218
|
+
*/
|
|
219
|
+
issueId: string;
|
|
220
|
+
}
|
|
221
|
+
export interface DeviationUpdateParams {
|
|
222
|
+
/**
|
|
223
|
+
* Path param: An id that represents an issue within the Paramify application.
|
|
224
|
+
*/
|
|
225
|
+
issueId: string;
|
|
226
|
+
/**
|
|
227
|
+
* Body param
|
|
228
|
+
*/
|
|
229
|
+
id?: string;
|
|
230
|
+
/**
|
|
231
|
+
* Body param: The date the deviation was created
|
|
232
|
+
*/
|
|
233
|
+
createdAt?: string;
|
|
234
|
+
/**
|
|
235
|
+
* Body param
|
|
236
|
+
*/
|
|
237
|
+
description?: string;
|
|
238
|
+
/**
|
|
239
|
+
* Body param: Deviation metadata object
|
|
240
|
+
*/
|
|
241
|
+
deviationMetadata?: DeviationMetadata;
|
|
242
|
+
/**
|
|
243
|
+
* Body param
|
|
244
|
+
*/
|
|
245
|
+
method?: 'TEST' | 'EXAMINE' | 'INTERVIEW' | 'UNKNOWN';
|
|
246
|
+
/**
|
|
247
|
+
* Body param: Deviation observation types
|
|
248
|
+
*/
|
|
249
|
+
type?: DeviationObservationTypes;
|
|
250
|
+
}
|
|
251
|
+
export interface DeviationListParams {
|
|
252
|
+
/**
|
|
253
|
+
* Filter deviations by ID. Multiple IDs can be provided to retrieve multiple
|
|
254
|
+
* deviations at once.
|
|
255
|
+
*/
|
|
256
|
+
id?: Array<string>;
|
|
257
|
+
}
|
|
258
|
+
export interface DeviationDeleteParams {
|
|
259
|
+
/**
|
|
260
|
+
* An id that represents an issue within the Paramify application.
|
|
261
|
+
*/
|
|
262
|
+
issueId: string;
|
|
263
|
+
}
|
|
264
|
+
export declare namespace Deviations {
|
|
265
|
+
export { type Deviation as Deviation, type DeviationMetadata as DeviationMetadata, type DeviationObservationTypes as DeviationObservationTypes, type DeviationUpdateResponse as DeviationUpdateResponse, type DeviationListResponse as DeviationListResponse, type DeviationCreateParams as DeviationCreateParams, type DeviationRetrieveParams as DeviationRetrieveParams, type DeviationUpdateParams as DeviationUpdateParams, type DeviationListParams as DeviationListParams, type DeviationDeleteParams as DeviationDeleteParams, };
|
|
266
|
+
}
|
|
267
|
+
//# sourceMappingURL=deviations.d.ts.map
|