@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,417 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
7
|
+
import { path } from '../../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
export class Recommendations extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Creates a new recommendation within the issue specified by the `issueId`. The
|
|
12
|
+
* `id` value of the recommendation returned can be used as the `recommendationId`
|
|
13
|
+
* parameter in other routes or request bodies.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* const recommendation =
|
|
18
|
+
* await client.issues.recommendations.create(
|
|
19
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
20
|
+
* {
|
|
21
|
+
* description:
|
|
22
|
+
* 'This is a detailed description of the recommendation.',
|
|
23
|
+
* },
|
|
24
|
+
* );
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
create(
|
|
28
|
+
issueID: string,
|
|
29
|
+
body: RecommendationCreateParams,
|
|
30
|
+
options?: RequestOptions,
|
|
31
|
+
): APIPromise<Recommendation> {
|
|
32
|
+
return this._client.post(path`/issues/${issueID}/recommendations`, { body, ...options });
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Gets the recommendation specified by the `recommendationId` within the issue
|
|
37
|
+
* specified by the `issueId`. The `id` value of the recommendation returned can be
|
|
38
|
+
* used as the `recommendationId` parameter in other routes or request bodies.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const recommendation =
|
|
43
|
+
* await client.issues.recommendations.retrieve(
|
|
44
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
45
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
46
|
+
* );
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
retrieve(
|
|
50
|
+
recommendationID: string,
|
|
51
|
+
params: RecommendationRetrieveParams,
|
|
52
|
+
options?: RequestOptions,
|
|
53
|
+
): APIPromise<Recommendation> {
|
|
54
|
+
const { issueId } = params;
|
|
55
|
+
return this._client.get(path`/issues/${issueId}/recommendations/${recommendationID}`, options);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Updates the recommendation specified by the `recommendationId`. Upon successful
|
|
60
|
+
* operation, all fields that are not arrays will be overwritten. Fields that
|
|
61
|
+
* accept array values will add the provided values to the existing values.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```ts
|
|
65
|
+
* const recommendation =
|
|
66
|
+
* await client.issues.recommendations.update(
|
|
67
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
68
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
69
|
+
* );
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
update(
|
|
73
|
+
recommendationID: string,
|
|
74
|
+
params: RecommendationUpdateParams,
|
|
75
|
+
options?: RequestOptions,
|
|
76
|
+
): APIPromise<RecommendationUpdateResponse> {
|
|
77
|
+
const { issueId, ...body } = params;
|
|
78
|
+
return this._client.patch(path`/issues/${issueId}/recommendations/${recommendationID}`, {
|
|
79
|
+
body,
|
|
80
|
+
...options,
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Gets all recommendations within the issue specified by the `issueId`, and
|
|
86
|
+
* optionally filtered by `id`. The `id` value of the recommendation(s) returned
|
|
87
|
+
* can be used as the `recommendationId` parameter in other routes or request
|
|
88
|
+
* bodies.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* ```ts
|
|
92
|
+
* const recommendations =
|
|
93
|
+
* await client.issues.recommendations.list(
|
|
94
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
95
|
+
* );
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
list(
|
|
99
|
+
issueID: string,
|
|
100
|
+
query: RecommendationListParams | null | undefined = {},
|
|
101
|
+
options?: RequestOptions,
|
|
102
|
+
): APIPromise<RecommendationListResponse> {
|
|
103
|
+
return this._client.get(path`/issues/${issueID}/recommendations`, { query, ...options });
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Deletes the recommendation specified by the `recommendationId` within the issue
|
|
108
|
+
* specified by the `issueId`. Warning: This action is irreversible.
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* ```ts
|
|
112
|
+
* await client.issues.recommendations.delete(
|
|
113
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
114
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
115
|
+
* );
|
|
116
|
+
* ```
|
|
117
|
+
*/
|
|
118
|
+
delete(
|
|
119
|
+
recommendationID: string,
|
|
120
|
+
params: RecommendationDeleteParams,
|
|
121
|
+
options?: RequestOptions,
|
|
122
|
+
): APIPromise<void> {
|
|
123
|
+
const { issueId } = params;
|
|
124
|
+
return this._client.delete(path`/issues/${issueId}/recommendations/${recommendationID}`, {
|
|
125
|
+
...options,
|
|
126
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export interface Recommendation {
|
|
132
|
+
/**
|
|
133
|
+
* A uuid that uniquely identifies the recommendation
|
|
134
|
+
*/
|
|
135
|
+
id: string;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* A uuid that uniquely identifies the issue associated with the recommendation
|
|
139
|
+
*/
|
|
140
|
+
issueId: string;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* The origins of the recommendation
|
|
144
|
+
*/
|
|
145
|
+
origins: Array<Recommendation.Origin>;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* The description of the recommendation
|
|
149
|
+
*/
|
|
150
|
+
description?: string;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export namespace Recommendation {
|
|
154
|
+
/**
|
|
155
|
+
* The name and subtype of the element within Paramify that created the issue
|
|
156
|
+
*/
|
|
157
|
+
export interface Origin {
|
|
158
|
+
name: string;
|
|
159
|
+
|
|
160
|
+
subtype:
|
|
161
|
+
| 'COM_AGREEMENT'
|
|
162
|
+
| 'COM_CUSTOMER_MANAGED'
|
|
163
|
+
| 'COM_FEDRAMP_SYSTEM'
|
|
164
|
+
| 'COM_HARDWARE'
|
|
165
|
+
| 'COM_IAAS'
|
|
166
|
+
| 'COM_INTERCONNECTION'
|
|
167
|
+
| 'COM_PAAS'
|
|
168
|
+
| 'COM_PLAN'
|
|
169
|
+
| 'COM_POLICY'
|
|
170
|
+
| 'COM_PROCEDURE'
|
|
171
|
+
| 'COM_PROCESS'
|
|
172
|
+
| 'COM_SAAS'
|
|
173
|
+
| 'COM_SERVICE'
|
|
174
|
+
| 'COM_SOFTWARE'
|
|
175
|
+
| 'COM_SUBNET'
|
|
176
|
+
| 'COM_CRYPTOGRAPHIC_MODULE'
|
|
177
|
+
| 'COM_STACK_PARAMETER'
|
|
178
|
+
| 'PAR_ORGANIZATION'
|
|
179
|
+
| 'PAR_PERSON'
|
|
180
|
+
| 'ROL_NO_LOGICAL_ACCESS'
|
|
181
|
+
| 'ROL_NOT_PRIVILEGED'
|
|
182
|
+
| 'ROL_PRIVILEGED'
|
|
183
|
+
| 'LOC_CAMPUS'
|
|
184
|
+
| 'LOC_DATA_CENTER'
|
|
185
|
+
| 'LOC_DATA_REGION_CLOUD'
|
|
186
|
+
| 'LOC_OTHER'
|
|
187
|
+
| 'LOC_REMOTE'
|
|
188
|
+
| 'DAT_ACCOUNT_DATA'
|
|
189
|
+
| 'DAT_CUSTOMER_DATA'
|
|
190
|
+
| 'DAT_METADATA'
|
|
191
|
+
| 'DAT_SUPPORT_ADMIN';
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* The recommendation as it exists after the operation
|
|
197
|
+
*/
|
|
198
|
+
export interface RecommendationUpdateResponse {
|
|
199
|
+
/**
|
|
200
|
+
* A uuid that uniquely identifies the recommendation
|
|
201
|
+
*/
|
|
202
|
+
id: string;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* A uuid that uniquely identifies the issue associated with the recommendation
|
|
206
|
+
*/
|
|
207
|
+
issueId: string;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* The origins of the recommendation
|
|
211
|
+
*/
|
|
212
|
+
origins: Array<RecommendationUpdateResponse.Origin>;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* The description of the recommendation
|
|
216
|
+
*/
|
|
217
|
+
description?: string;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export namespace RecommendationUpdateResponse {
|
|
221
|
+
/**
|
|
222
|
+
* The name and subtype of the element within Paramify that created the issue
|
|
223
|
+
*/
|
|
224
|
+
export interface Origin {
|
|
225
|
+
name: string;
|
|
226
|
+
|
|
227
|
+
subtype:
|
|
228
|
+
| 'COM_AGREEMENT'
|
|
229
|
+
| 'COM_CUSTOMER_MANAGED'
|
|
230
|
+
| 'COM_FEDRAMP_SYSTEM'
|
|
231
|
+
| 'COM_HARDWARE'
|
|
232
|
+
| 'COM_IAAS'
|
|
233
|
+
| 'COM_INTERCONNECTION'
|
|
234
|
+
| 'COM_PAAS'
|
|
235
|
+
| 'COM_PLAN'
|
|
236
|
+
| 'COM_POLICY'
|
|
237
|
+
| 'COM_PROCEDURE'
|
|
238
|
+
| 'COM_PROCESS'
|
|
239
|
+
| 'COM_SAAS'
|
|
240
|
+
| 'COM_SERVICE'
|
|
241
|
+
| 'COM_SOFTWARE'
|
|
242
|
+
| 'COM_SUBNET'
|
|
243
|
+
| 'COM_CRYPTOGRAPHIC_MODULE'
|
|
244
|
+
| 'COM_STACK_PARAMETER'
|
|
245
|
+
| 'PAR_ORGANIZATION'
|
|
246
|
+
| 'PAR_PERSON'
|
|
247
|
+
| 'ROL_NO_LOGICAL_ACCESS'
|
|
248
|
+
| 'ROL_NOT_PRIVILEGED'
|
|
249
|
+
| 'ROL_PRIVILEGED'
|
|
250
|
+
| 'LOC_CAMPUS'
|
|
251
|
+
| 'LOC_DATA_CENTER'
|
|
252
|
+
| 'LOC_DATA_REGION_CLOUD'
|
|
253
|
+
| 'LOC_OTHER'
|
|
254
|
+
| 'LOC_REMOTE'
|
|
255
|
+
| 'DAT_ACCOUNT_DATA'
|
|
256
|
+
| 'DAT_CUSTOMER_DATA'
|
|
257
|
+
| 'DAT_METADATA'
|
|
258
|
+
| 'DAT_SUPPORT_ADMIN';
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export interface RecommendationListResponse {
|
|
263
|
+
recommendations: Array<Recommendation>;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export interface RecommendationCreateParams {
|
|
267
|
+
/**
|
|
268
|
+
* The description of the recommendation
|
|
269
|
+
*/
|
|
270
|
+
description: string;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* The origins of the recommendation
|
|
274
|
+
*/
|
|
275
|
+
origins?: Array<RecommendationCreateParams.Origin> | null;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export namespace RecommendationCreateParams {
|
|
279
|
+
/**
|
|
280
|
+
* The name and subtype of the element within Paramify that created the issue
|
|
281
|
+
*/
|
|
282
|
+
export interface Origin {
|
|
283
|
+
name: string;
|
|
284
|
+
|
|
285
|
+
subtype:
|
|
286
|
+
| 'COM_AGREEMENT'
|
|
287
|
+
| 'COM_CUSTOMER_MANAGED'
|
|
288
|
+
| 'COM_FEDRAMP_SYSTEM'
|
|
289
|
+
| 'COM_HARDWARE'
|
|
290
|
+
| 'COM_IAAS'
|
|
291
|
+
| 'COM_INTERCONNECTION'
|
|
292
|
+
| 'COM_PAAS'
|
|
293
|
+
| 'COM_PLAN'
|
|
294
|
+
| 'COM_POLICY'
|
|
295
|
+
| 'COM_PROCEDURE'
|
|
296
|
+
| 'COM_PROCESS'
|
|
297
|
+
| 'COM_SAAS'
|
|
298
|
+
| 'COM_SERVICE'
|
|
299
|
+
| 'COM_SOFTWARE'
|
|
300
|
+
| 'COM_SUBNET'
|
|
301
|
+
| 'COM_CRYPTOGRAPHIC_MODULE'
|
|
302
|
+
| 'COM_STACK_PARAMETER'
|
|
303
|
+
| 'PAR_ORGANIZATION'
|
|
304
|
+
| 'PAR_PERSON'
|
|
305
|
+
| 'ROL_NO_LOGICAL_ACCESS'
|
|
306
|
+
| 'ROL_NOT_PRIVILEGED'
|
|
307
|
+
| 'ROL_PRIVILEGED'
|
|
308
|
+
| 'LOC_CAMPUS'
|
|
309
|
+
| 'LOC_DATA_CENTER'
|
|
310
|
+
| 'LOC_DATA_REGION_CLOUD'
|
|
311
|
+
| 'LOC_OTHER'
|
|
312
|
+
| 'LOC_REMOTE'
|
|
313
|
+
| 'DAT_ACCOUNT_DATA'
|
|
314
|
+
| 'DAT_CUSTOMER_DATA'
|
|
315
|
+
| 'DAT_METADATA'
|
|
316
|
+
| 'DAT_SUPPORT_ADMIN';
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export interface RecommendationRetrieveParams {
|
|
321
|
+
/**
|
|
322
|
+
* An id that represents an issue within the Paramify application.
|
|
323
|
+
*/
|
|
324
|
+
issueId: string;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
export interface RecommendationUpdateParams {
|
|
328
|
+
/**
|
|
329
|
+
* Path param: An id that represents an issue within the Paramify application.
|
|
330
|
+
*/
|
|
331
|
+
issueId: string;
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Body param: A uuid that uniquely identifies the recommendation
|
|
335
|
+
*/
|
|
336
|
+
id?: string;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Body param: The description of the recommendation
|
|
340
|
+
*/
|
|
341
|
+
description?: string;
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* Body param: The origins of the recommendation
|
|
345
|
+
*/
|
|
346
|
+
origins?: Array<RecommendationUpdateParams.Origin>;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export namespace RecommendationUpdateParams {
|
|
350
|
+
/**
|
|
351
|
+
* The name and subtype of the element within Paramify that created the issue
|
|
352
|
+
*/
|
|
353
|
+
export interface Origin {
|
|
354
|
+
name: string;
|
|
355
|
+
|
|
356
|
+
subtype:
|
|
357
|
+
| 'COM_AGREEMENT'
|
|
358
|
+
| 'COM_CUSTOMER_MANAGED'
|
|
359
|
+
| 'COM_FEDRAMP_SYSTEM'
|
|
360
|
+
| 'COM_HARDWARE'
|
|
361
|
+
| 'COM_IAAS'
|
|
362
|
+
| 'COM_INTERCONNECTION'
|
|
363
|
+
| 'COM_PAAS'
|
|
364
|
+
| 'COM_PLAN'
|
|
365
|
+
| 'COM_POLICY'
|
|
366
|
+
| 'COM_PROCEDURE'
|
|
367
|
+
| 'COM_PROCESS'
|
|
368
|
+
| 'COM_SAAS'
|
|
369
|
+
| 'COM_SERVICE'
|
|
370
|
+
| 'COM_SOFTWARE'
|
|
371
|
+
| 'COM_SUBNET'
|
|
372
|
+
| 'COM_CRYPTOGRAPHIC_MODULE'
|
|
373
|
+
| 'COM_STACK_PARAMETER'
|
|
374
|
+
| 'PAR_ORGANIZATION'
|
|
375
|
+
| 'PAR_PERSON'
|
|
376
|
+
| 'ROL_NO_LOGICAL_ACCESS'
|
|
377
|
+
| 'ROL_NOT_PRIVILEGED'
|
|
378
|
+
| 'ROL_PRIVILEGED'
|
|
379
|
+
| 'LOC_CAMPUS'
|
|
380
|
+
| 'LOC_DATA_CENTER'
|
|
381
|
+
| 'LOC_DATA_REGION_CLOUD'
|
|
382
|
+
| 'LOC_OTHER'
|
|
383
|
+
| 'LOC_REMOTE'
|
|
384
|
+
| 'DAT_ACCOUNT_DATA'
|
|
385
|
+
| 'DAT_CUSTOMER_DATA'
|
|
386
|
+
| 'DAT_METADATA'
|
|
387
|
+
| 'DAT_SUPPORT_ADMIN';
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
export interface RecommendationListParams {
|
|
392
|
+
/**
|
|
393
|
+
* Filter recommendations by ID. Multiple IDs can be provided to retrieve multiple
|
|
394
|
+
* recommendations at once.
|
|
395
|
+
*/
|
|
396
|
+
id?: Array<string>;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export interface RecommendationDeleteParams {
|
|
400
|
+
/**
|
|
401
|
+
* An id that represents an issue within the Paramify application.
|
|
402
|
+
*/
|
|
403
|
+
issueId: string;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export declare namespace Recommendations {
|
|
407
|
+
export {
|
|
408
|
+
type Recommendation as Recommendation,
|
|
409
|
+
type RecommendationUpdateResponse as RecommendationUpdateResponse,
|
|
410
|
+
type RecommendationListResponse as RecommendationListResponse,
|
|
411
|
+
type RecommendationCreateParams as RecommendationCreateParams,
|
|
412
|
+
type RecommendationRetrieveParams as RecommendationRetrieveParams,
|
|
413
|
+
type RecommendationUpdateParams as RecommendationUpdateParams,
|
|
414
|
+
type RecommendationListParams as RecommendationListParams,
|
|
415
|
+
type RecommendationDeleteParams as RecommendationDeleteParams,
|
|
416
|
+
};
|
|
417
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
6
|
+
import { path } from '../../internal/utils/path';
|
|
7
|
+
|
|
8
|
+
export class ControlImplementations extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves all control implementations associated with the specified project.
|
|
11
|
+
*/
|
|
12
|
+
list(projectID: string, options?: RequestOptions): APIPromise<ControlImplementationListResponse> {
|
|
13
|
+
return this._client.get(path`/projects/${projectID}/control-implementations`, options);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface ControlImplementationListResponse {
|
|
18
|
+
controlImplementations: Array<ControlImplementationListResponse.ControlImplementation>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export namespace ControlImplementationListResponse {
|
|
22
|
+
export interface ControlImplementation {
|
|
23
|
+
/**
|
|
24
|
+
* A uuid that uniquely identifies an individual element within Paramify
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* The name of the control
|
|
30
|
+
*/
|
|
31
|
+
control: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* The full name of the control implementation
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* The name of the requirement
|
|
40
|
+
*/
|
|
41
|
+
requirement: string;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export declare namespace ControlImplementations {
|
|
46
|
+
export { type ControlImplementationListResponse as ControlImplementationListResponse };
|
|
47
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export { ControlImplementations, type ControlImplementationListResponse } from './control-implementations';
|
|
4
|
+
export { Projects, type Project, type ProjectListResponse } from './projects';
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as ControlImplementationsAPI from './control-implementations';
|
|
5
|
+
import { ControlImplementationListResponse, ControlImplementations } from './control-implementations';
|
|
6
|
+
import { APIPromise } from '../../core/api-promise';
|
|
7
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
8
|
+
import { path } from '../../internal/utils/path';
|
|
9
|
+
|
|
10
|
+
export class Projects extends APIResource {
|
|
11
|
+
controlImplementations: ControlImplementationsAPI.ControlImplementations =
|
|
12
|
+
new ControlImplementationsAPI.ControlImplementations(this._client);
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Returns the project specified by the `projectId` query parameter and accessible
|
|
16
|
+
* to the api key. A project is called a `Program` in the Paramify application.The
|
|
17
|
+
* `id` value of the project returned can be used as the `projectId` parameter in
|
|
18
|
+
* other routes or request bodies.
|
|
19
|
+
*/
|
|
20
|
+
retrieve(projectID: string, options?: RequestOptions): APIPromise<Project> {
|
|
21
|
+
return this._client.get(path`/projects/${projectID}`, options);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Returns all projects accessible to the api key. These are referred to as
|
|
26
|
+
* `Programs` in the Paramify application.The `id` value of any of the projects
|
|
27
|
+
* listed is referred to as the `projectId` query parameter in other routes or
|
|
28
|
+
* request bodies.
|
|
29
|
+
*/
|
|
30
|
+
list(options?: RequestOptions): APIPromise<ProjectListResponse> {
|
|
31
|
+
return this._client.get('/projects', options);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* An object containing information about projects accessible to the API key.
|
|
37
|
+
*/
|
|
38
|
+
export interface Project {
|
|
39
|
+
/**
|
|
40
|
+
* A uuid that uniquely identifies an individual project within Paramify
|
|
41
|
+
*/
|
|
42
|
+
id: string;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* The name of the project
|
|
46
|
+
*/
|
|
47
|
+
name: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* The impact levels of the project
|
|
51
|
+
*/
|
|
52
|
+
programImpactLevels: Array<Project.ProgramImpactLevel>;
|
|
53
|
+
|
|
54
|
+
systemName: string;
|
|
55
|
+
|
|
56
|
+
systemShortName: string;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* The type of project
|
|
60
|
+
*/
|
|
61
|
+
type:
|
|
62
|
+
| 'CUSTOM'
|
|
63
|
+
| 'FEDRAMP_REV_4'
|
|
64
|
+
| 'FEDRAMP_REV_5'
|
|
65
|
+
| 'FEDRAMP_20x_P1'
|
|
66
|
+
| 'FEDRAMP_20x_P2'
|
|
67
|
+
| 'DOD_ADDENDUM_REV_4'
|
|
68
|
+
| 'DOD_REV_5'
|
|
69
|
+
| 'DOD_ADDENDUM_REV_5'
|
|
70
|
+
| 'STATERAMP'
|
|
71
|
+
| 'TXRAMP'
|
|
72
|
+
| 'CMMC_REV_2'
|
|
73
|
+
| 'ADOBE_CCF_V5'
|
|
74
|
+
| 'FISMA';
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export namespace Project {
|
|
78
|
+
export interface ProgramImpactLevel {
|
|
79
|
+
programImpactLevel:
|
|
80
|
+
| 'CMMC_LEVEL_1'
|
|
81
|
+
| 'CMMC_LEVEL_2'
|
|
82
|
+
| 'CMMC_LEVEL_3'
|
|
83
|
+
| 'LI_SAAS'
|
|
84
|
+
| 'LOW'
|
|
85
|
+
| 'MODERATE'
|
|
86
|
+
| 'HIGH'
|
|
87
|
+
| 'LOW_SR'
|
|
88
|
+
| 'MODERATE_SR'
|
|
89
|
+
| 'TX_LEVEL_1'
|
|
90
|
+
| 'TX_LEVEL_2'
|
|
91
|
+
| 'IL2_ADDENDUM'
|
|
92
|
+
| 'IL4_ADDENDUM'
|
|
93
|
+
| 'IL5_ADDENDUM'
|
|
94
|
+
| 'IL6_ADDENDUM'
|
|
95
|
+
| 'IL2'
|
|
96
|
+
| 'IL4_FEDRAMP_MODERATE'
|
|
97
|
+
| 'IL4_FEDRAMP_HIGH'
|
|
98
|
+
| 'IL5'
|
|
99
|
+
| 'IL6'
|
|
100
|
+
| 'SOC_2_C'
|
|
101
|
+
| 'SOC_2_CC'
|
|
102
|
+
| 'SOC_2_A'
|
|
103
|
+
| 'FISMA_LOW'
|
|
104
|
+
| 'FISMA_MODERATE'
|
|
105
|
+
| 'FISMA_HIGH'
|
|
106
|
+
| 'FEDRAMP_20x_P1_LOW'
|
|
107
|
+
| 'FEDRAMP_20x_P2_LOW'
|
|
108
|
+
| 'FEDRAMP_20x_P2_MODERATE'
|
|
109
|
+
| 'FEDRAMP_20x_P2_HIGH';
|
|
110
|
+
|
|
111
|
+
remarks: string | null;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export interface ProjectListResponse {
|
|
116
|
+
projects: Array<Project>;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
Projects.ControlImplementations = ControlImplementations;
|
|
120
|
+
|
|
121
|
+
export declare namespace Projects {
|
|
122
|
+
export { type Project as Project, type ProjectListResponse as ProjectListResponse };
|
|
123
|
+
|
|
124
|
+
export {
|
|
125
|
+
ControlImplementations as ControlImplementations,
|
|
126
|
+
type ControlImplementationListResponse as ControlImplementationListResponse,
|
|
127
|
+
};
|
|
128
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
6
|
+
import { path } from '../internal/utils/path';
|
|
7
|
+
|
|
8
|
+
export class SolutionCapabilities extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves a specific solution capability by its internal ID (UUID). Returns the
|
|
11
|
+
* complete solution capability object.
|
|
12
|
+
*/
|
|
13
|
+
retrieve(
|
|
14
|
+
solutionCapabilityID: string,
|
|
15
|
+
options?: RequestOptions,
|
|
16
|
+
): APIPromise<SolutionCapabilityRetrieveResponse> {
|
|
17
|
+
return this._client.get(path`/solution-capabilities/${solutionCapabilityID}`, options);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Get all solution capabilities
|
|
22
|
+
*/
|
|
23
|
+
list(options?: RequestOptions): APIPromise<SolutionCapabilityListResponse> {
|
|
24
|
+
return this._client.get('/solution-capabilities', options);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface SolutionCapabilityRetrieveResponse {
|
|
29
|
+
/**
|
|
30
|
+
* A uuid that uniquely identifies an individual solution capability within
|
|
31
|
+
* Paramify
|
|
32
|
+
*/
|
|
33
|
+
id: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* The family of the solution capability
|
|
37
|
+
*/
|
|
38
|
+
family: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* The name of the solution capability
|
|
42
|
+
*/
|
|
43
|
+
name: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* The subfamily of the solution capability
|
|
47
|
+
*/
|
|
48
|
+
subfamily: string;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface SolutionCapabilityListResponse {
|
|
52
|
+
solutionCapabilities: Array<SolutionCapabilityListResponse.SolutionCapability>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export namespace SolutionCapabilityListResponse {
|
|
56
|
+
export interface SolutionCapability {
|
|
57
|
+
/**
|
|
58
|
+
* A uuid that uniquely identifies an individual solution capability within
|
|
59
|
+
* Paramify
|
|
60
|
+
*/
|
|
61
|
+
id: string;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* The family of the solution capability
|
|
65
|
+
*/
|
|
66
|
+
family: string;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* The name of the solution capability
|
|
70
|
+
*/
|
|
71
|
+
name: string;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* The subfamily of the solution capability
|
|
75
|
+
*/
|
|
76
|
+
subfamily: string;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export declare namespace SolutionCapabilities {
|
|
81
|
+
export {
|
|
82
|
+
type SolutionCapabilityRetrieveResponse as SolutionCapabilityRetrieveResponse,
|
|
83
|
+
type SolutionCapabilityListResponse as SolutionCapabilityListResponse,
|
|
84
|
+
};
|
|
85
|
+
}
|