@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,260 @@
|
|
|
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 Milestones extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new milestone associated with the issue specified by the `issueId`
|
|
7
|
+
* path parameter. The `id` value of the milestone returned can be used as the
|
|
8
|
+
* `milestoneId` parameter in other milestone routes.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const milestone = await client.issues.milestones.create(
|
|
13
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
14
|
+
* {
|
|
15
|
+
* description:
|
|
16
|
+
* 'This is a detailed description of the task.',
|
|
17
|
+
* dueEnd: '2022-01-01T00:00:00.000Z',
|
|
18
|
+
* title: 'Task Title Example',
|
|
19
|
+
* },
|
|
20
|
+
* );
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
create(issueID: string, body: MilestoneCreateParams, options?: RequestOptions): APIPromise<MilestoneCreateResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Returns the milestone specified by the `milestoneId` path parameter and
|
|
26
|
+
* associated with the given `issueId`. The `id` value of the milestone returned
|
|
27
|
+
* can be used as the `milestoneId` parameter in other milestone routes.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const milestone = await client.issues.milestones.retrieve(
|
|
32
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
33
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
34
|
+
* );
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
retrieve(milestoneID: string, params: MilestoneRetrieveParams, options?: RequestOptions): APIPromise<MilestoneRetrieveResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Updates the milestone specified by the `milestoneId` path parameter. Only the
|
|
40
|
+
* fields provided in the request body will be modified; all other fields will
|
|
41
|
+
* remain unchanged.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const milestone = await client.issues.milestones.update(
|
|
46
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
47
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
48
|
+
* );
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
update(milestoneID: string, params: MilestoneUpdateParams, options?: RequestOptions): APIPromise<MilestoneUpdateResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Gets all milestones associated with the issue specified by the `issueId` path
|
|
54
|
+
* parameter, and optionally filters by one or more milestone IDs. The `id` value
|
|
55
|
+
* of the milestone(s) returned can be used as the `milestoneId` parameter in other
|
|
56
|
+
* milestone routes.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```ts
|
|
60
|
+
* const milestones = await client.issues.milestones.list(
|
|
61
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
62
|
+
* );
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
list(issueID: string, query?: MilestoneListParams | null | undefined, options?: RequestOptions): APIPromise<MilestoneListResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* Deletes the milestone specified by the `milestoneId` path parameter and
|
|
68
|
+
* associated with the given `issueId`. Warning: This action is irreversible.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* ```ts
|
|
72
|
+
* await client.issues.milestones.delete(
|
|
73
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
74
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
75
|
+
* );
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
delete(milestoneID: string, params: MilestoneDeleteParams, options?: RequestOptions): APIPromise<void>;
|
|
79
|
+
}
|
|
80
|
+
export interface Milestone {
|
|
81
|
+
/**
|
|
82
|
+
* The description of the task
|
|
83
|
+
*/
|
|
84
|
+
description: string;
|
|
85
|
+
/**
|
|
86
|
+
* The end date of the task
|
|
87
|
+
*/
|
|
88
|
+
dueEnd: string;
|
|
89
|
+
/**
|
|
90
|
+
* The title of the task
|
|
91
|
+
*/
|
|
92
|
+
title: string;
|
|
93
|
+
/**
|
|
94
|
+
* The start date of the task
|
|
95
|
+
*/
|
|
96
|
+
dueStart?: string | null;
|
|
97
|
+
}
|
|
98
|
+
export interface MilestoneCreateResponse {
|
|
99
|
+
/**
|
|
100
|
+
* A uuid that uniquely identifies the milestone
|
|
101
|
+
*/
|
|
102
|
+
id: string;
|
|
103
|
+
/**
|
|
104
|
+
* The description of the milestone
|
|
105
|
+
*/
|
|
106
|
+
description: string;
|
|
107
|
+
/**
|
|
108
|
+
* The end date of the milestone
|
|
109
|
+
*/
|
|
110
|
+
dueEnd: string | null;
|
|
111
|
+
/**
|
|
112
|
+
* The start date of the milestone
|
|
113
|
+
*/
|
|
114
|
+
dueStart: string | null;
|
|
115
|
+
/**
|
|
116
|
+
* The title of the milestone
|
|
117
|
+
*/
|
|
118
|
+
title: string;
|
|
119
|
+
}
|
|
120
|
+
export interface MilestoneRetrieveResponse {
|
|
121
|
+
/**
|
|
122
|
+
* A uuid that uniquely identifies the milestone
|
|
123
|
+
*/
|
|
124
|
+
id: string;
|
|
125
|
+
/**
|
|
126
|
+
* The description of the milestone
|
|
127
|
+
*/
|
|
128
|
+
description: string;
|
|
129
|
+
/**
|
|
130
|
+
* The end date of the milestone
|
|
131
|
+
*/
|
|
132
|
+
dueEnd: string | null;
|
|
133
|
+
/**
|
|
134
|
+
* The start date of the milestone
|
|
135
|
+
*/
|
|
136
|
+
dueStart: string | null;
|
|
137
|
+
/**
|
|
138
|
+
* The title of the milestone
|
|
139
|
+
*/
|
|
140
|
+
title: string;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* The milestone as it exists after the operation
|
|
144
|
+
*/
|
|
145
|
+
export interface MilestoneUpdateResponse {
|
|
146
|
+
/**
|
|
147
|
+
* A uuid that uniquely identifies the milestone
|
|
148
|
+
*/
|
|
149
|
+
id: string;
|
|
150
|
+
/**
|
|
151
|
+
* The description of the milestone
|
|
152
|
+
*/
|
|
153
|
+
description: string;
|
|
154
|
+
/**
|
|
155
|
+
* The end date of the milestone
|
|
156
|
+
*/
|
|
157
|
+
dueEnd: string | null;
|
|
158
|
+
/**
|
|
159
|
+
* The start date of the milestone
|
|
160
|
+
*/
|
|
161
|
+
dueStart: string | null;
|
|
162
|
+
/**
|
|
163
|
+
* The title of the milestone
|
|
164
|
+
*/
|
|
165
|
+
title: string;
|
|
166
|
+
}
|
|
167
|
+
export interface MilestoneListResponse {
|
|
168
|
+
milestones: Array<MilestoneListResponse.Milestone>;
|
|
169
|
+
}
|
|
170
|
+
export declare namespace MilestoneListResponse {
|
|
171
|
+
interface Milestone {
|
|
172
|
+
/**
|
|
173
|
+
* A uuid that uniquely identifies the milestone
|
|
174
|
+
*/
|
|
175
|
+
id: string;
|
|
176
|
+
/**
|
|
177
|
+
* The description of the milestone
|
|
178
|
+
*/
|
|
179
|
+
description: string;
|
|
180
|
+
/**
|
|
181
|
+
* The end date of the milestone
|
|
182
|
+
*/
|
|
183
|
+
dueEnd: string | null;
|
|
184
|
+
/**
|
|
185
|
+
* The start date of the milestone
|
|
186
|
+
*/
|
|
187
|
+
dueStart: string | null;
|
|
188
|
+
/**
|
|
189
|
+
* The title of the milestone
|
|
190
|
+
*/
|
|
191
|
+
title: string;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
export interface MilestoneCreateParams {
|
|
195
|
+
/**
|
|
196
|
+
* The description of the task
|
|
197
|
+
*/
|
|
198
|
+
description: string;
|
|
199
|
+
/**
|
|
200
|
+
* The end date of the task
|
|
201
|
+
*/
|
|
202
|
+
dueEnd: string;
|
|
203
|
+
/**
|
|
204
|
+
* The title of the task
|
|
205
|
+
*/
|
|
206
|
+
title: string;
|
|
207
|
+
/**
|
|
208
|
+
* The start date of the task
|
|
209
|
+
*/
|
|
210
|
+
dueStart?: string | null;
|
|
211
|
+
}
|
|
212
|
+
export interface MilestoneRetrieveParams {
|
|
213
|
+
/**
|
|
214
|
+
* An id that represents an issue within the Paramify application.
|
|
215
|
+
*/
|
|
216
|
+
issueId: string;
|
|
217
|
+
}
|
|
218
|
+
export interface MilestoneUpdateParams {
|
|
219
|
+
/**
|
|
220
|
+
* Path param: An id that represents an issue within the Paramify application.
|
|
221
|
+
*/
|
|
222
|
+
issueId: string;
|
|
223
|
+
/**
|
|
224
|
+
* Body param: A uuid that uniquely identifies the milestone
|
|
225
|
+
*/
|
|
226
|
+
id?: string;
|
|
227
|
+
/**
|
|
228
|
+
* Body param: The description of the milestone
|
|
229
|
+
*/
|
|
230
|
+
description?: string;
|
|
231
|
+
/**
|
|
232
|
+
* Body param: The date the milestone is due to be completed
|
|
233
|
+
*/
|
|
234
|
+
dueEnd?: string;
|
|
235
|
+
/**
|
|
236
|
+
* Body param: The date progress on the milestone should start
|
|
237
|
+
*/
|
|
238
|
+
dueStart?: string;
|
|
239
|
+
/**
|
|
240
|
+
* Body param: The title of the milestone
|
|
241
|
+
*/
|
|
242
|
+
title?: string;
|
|
243
|
+
}
|
|
244
|
+
export interface MilestoneListParams {
|
|
245
|
+
/**
|
|
246
|
+
* Filter milestones by ID. Multiple IDs can be provided to retrieve multiple
|
|
247
|
+
* milestones at once.
|
|
248
|
+
*/
|
|
249
|
+
id?: Array<string>;
|
|
250
|
+
}
|
|
251
|
+
export interface MilestoneDeleteParams {
|
|
252
|
+
/**
|
|
253
|
+
* An id that represents an issue within the Paramify application.
|
|
254
|
+
*/
|
|
255
|
+
issueId: string;
|
|
256
|
+
}
|
|
257
|
+
export declare namespace Milestones {
|
|
258
|
+
export { type Milestone as Milestone, type MilestoneCreateResponse as MilestoneCreateResponse, type MilestoneRetrieveResponse as MilestoneRetrieveResponse, type MilestoneUpdateResponse as MilestoneUpdateResponse, type MilestoneListResponse as MilestoneListResponse, type MilestoneCreateParams as MilestoneCreateParams, type MilestoneRetrieveParams as MilestoneRetrieveParams, type MilestoneUpdateParams as MilestoneUpdateParams, type MilestoneListParams as MilestoneListParams, type MilestoneDeleteParams as MilestoneDeleteParams, };
|
|
259
|
+
}
|
|
260
|
+
//# sourceMappingURL=milestones.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"milestones.d.ts","sourceRoot":"","sources":["../../src/resources/issues/milestones.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,101 @@
|
|
|
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.Milestones = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const headers_1 = require("../../internal/headers.js");
|
|
7
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
8
|
+
class Milestones extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new milestone associated with the issue specified by the `issueId`
|
|
11
|
+
* path parameter. The `id` value of the milestone returned can be used as the
|
|
12
|
+
* `milestoneId` parameter in other milestone routes.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const milestone = await client.issues.milestones.create(
|
|
17
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
18
|
+
* {
|
|
19
|
+
* description:
|
|
20
|
+
* 'This is a detailed description of the task.',
|
|
21
|
+
* dueEnd: '2022-01-01T00:00:00.000Z',
|
|
22
|
+
* title: 'Task Title Example',
|
|
23
|
+
* },
|
|
24
|
+
* );
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
create(issueID, body, options) {
|
|
28
|
+
return this._client.post((0, path_1.path) `/issues/${issueID}/milestones`, { body, ...options });
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns the milestone specified by the `milestoneId` path parameter and
|
|
32
|
+
* associated with the given `issueId`. The `id` value of the milestone returned
|
|
33
|
+
* can be used as the `milestoneId` parameter in other milestone routes.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```ts
|
|
37
|
+
* const milestone = await client.issues.milestones.retrieve(
|
|
38
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
39
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
40
|
+
* );
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
retrieve(milestoneID, params, options) {
|
|
44
|
+
const { issueId } = params;
|
|
45
|
+
return this._client.get((0, path_1.path) `/issues/${issueId}/milestones/${milestoneID}`, options);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Updates the milestone specified by the `milestoneId` path parameter. Only the
|
|
49
|
+
* fields provided in the request body will be modified; all other fields will
|
|
50
|
+
* remain unchanged.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```ts
|
|
54
|
+
* const milestone = await client.issues.milestones.update(
|
|
55
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
56
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
57
|
+
* );
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
update(milestoneID, params, options) {
|
|
61
|
+
const { issueId, ...body } = params;
|
|
62
|
+
return this._client.patch((0, path_1.path) `/issues/${issueId}/milestones/${milestoneID}`, { body, ...options });
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Gets all milestones associated with the issue specified by the `issueId` path
|
|
66
|
+
* parameter, and optionally filters by one or more milestone IDs. The `id` value
|
|
67
|
+
* of the milestone(s) returned can be used as the `milestoneId` parameter in other
|
|
68
|
+
* milestone routes.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* ```ts
|
|
72
|
+
* const milestones = await client.issues.milestones.list(
|
|
73
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
74
|
+
* );
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
list(issueID, query = {}, options) {
|
|
78
|
+
return this._client.get((0, path_1.path) `/issues/${issueID}/milestones`, { query, ...options });
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Deletes the milestone specified by the `milestoneId` path parameter and
|
|
82
|
+
* associated with the given `issueId`. Warning: This action is irreversible.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ```ts
|
|
86
|
+
* await client.issues.milestones.delete(
|
|
87
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
88
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
89
|
+
* );
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
delete(milestoneID, params, options) {
|
|
93
|
+
const { issueId } = params;
|
|
94
|
+
return this._client.delete((0, path_1.path) `/issues/${issueId}/milestones/${milestoneID}`, {
|
|
95
|
+
...options,
|
|
96
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.Milestones = Milestones;
|
|
101
|
+
//# sourceMappingURL=milestones.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"milestones.js","sourceRoot":"","sources":["../../src/resources/issues/milestones.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,OAAe,EACf,IAA2B,EAC3B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,WAAW,OAAO,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,WAAmB,EACnB,MAA+B,EAC/B,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,WAAW,OAAO,eAAe,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,WAAmB,EACnB,MAA6B,EAC7B,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,WAAW,OAAO,eAAe,WAAW,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtG,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,OAAe,EACf,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,WAAW,OAAO,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,WAAmB,EAAE,MAA6B,EAAE,OAAwB;QACjF,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,WAAW,OAAO,eAAe,WAAW,EAAE,EAAE;YAC7E,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA/GD,gCA+GC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../../internal/headers.mjs";
|
|
4
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
5
|
+
export class Milestones extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Creates a new milestone associated with the issue specified by the `issueId`
|
|
8
|
+
* path parameter. The `id` value of the milestone returned can be used as the
|
|
9
|
+
* `milestoneId` parameter in other milestone routes.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const milestone = await client.issues.milestones.create(
|
|
14
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
15
|
+
* {
|
|
16
|
+
* description:
|
|
17
|
+
* 'This is a detailed description of the task.',
|
|
18
|
+
* dueEnd: '2022-01-01T00:00:00.000Z',
|
|
19
|
+
* title: 'Task Title Example',
|
|
20
|
+
* },
|
|
21
|
+
* );
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
create(issueID, body, options) {
|
|
25
|
+
return this._client.post(path `/issues/${issueID}/milestones`, { body, ...options });
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Returns the milestone specified by the `milestoneId` path parameter and
|
|
29
|
+
* associated with the given `issueId`. The `id` value of the milestone returned
|
|
30
|
+
* can be used as the `milestoneId` parameter in other milestone routes.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const milestone = await client.issues.milestones.retrieve(
|
|
35
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
36
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
37
|
+
* );
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
retrieve(milestoneID, params, options) {
|
|
41
|
+
const { issueId } = params;
|
|
42
|
+
return this._client.get(path `/issues/${issueId}/milestones/${milestoneID}`, options);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Updates the milestone specified by the `milestoneId` path parameter. Only the
|
|
46
|
+
* fields provided in the request body will be modified; all other fields will
|
|
47
|
+
* remain unchanged.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* const milestone = await client.issues.milestones.update(
|
|
52
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
53
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
54
|
+
* );
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
update(milestoneID, params, options) {
|
|
58
|
+
const { issueId, ...body } = params;
|
|
59
|
+
return this._client.patch(path `/issues/${issueId}/milestones/${milestoneID}`, { body, ...options });
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Gets all milestones associated with the issue specified by the `issueId` path
|
|
63
|
+
* parameter, and optionally filters by one or more milestone IDs. The `id` value
|
|
64
|
+
* of the milestone(s) returned can be used as the `milestoneId` parameter in other
|
|
65
|
+
* milestone routes.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```ts
|
|
69
|
+
* const milestones = await client.issues.milestones.list(
|
|
70
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
71
|
+
* );
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
list(issueID, query = {}, options) {
|
|
75
|
+
return this._client.get(path `/issues/${issueID}/milestones`, { query, ...options });
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Deletes the milestone specified by the `milestoneId` path parameter and
|
|
79
|
+
* associated with the given `issueId`. Warning: This action is irreversible.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* ```ts
|
|
83
|
+
* await client.issues.milestones.delete(
|
|
84
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
85
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
86
|
+
* );
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
delete(milestoneID, params, options) {
|
|
90
|
+
const { issueId } = params;
|
|
91
|
+
return this._client.delete(path `/issues/${issueId}/milestones/${milestoneID}`, {
|
|
92
|
+
...options,
|
|
93
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=milestones.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"milestones.mjs","sourceRoot":"","sources":["../../src/resources/issues/milestones.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,OAAe,EACf,IAA2B,EAC3B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,WAAW,OAAO,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,WAAmB,EACnB,MAA+B,EAC/B,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,WAAW,OAAO,eAAe,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,WAAmB,EACnB,MAA6B,EAC7B,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,WAAW,OAAO,eAAe,WAAW,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtG,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,OAAe,EACf,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,WAAW,OAAO,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,WAAmB,EAAE,MAA6B,EAAE,OAAwB;QACjF,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,WAAW,OAAO,eAAe,WAAW,EAAE,EAAE;YAC7E,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,210 @@
|
|
|
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 Recommendations extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new recommendation within the issue specified by the `issueId`. The
|
|
7
|
+
* `id` value of the recommendation returned can be used as the `recommendationId`
|
|
8
|
+
* parameter in other routes or request bodies.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const recommendation =
|
|
13
|
+
* await client.issues.recommendations.create(
|
|
14
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
15
|
+
* {
|
|
16
|
+
* description:
|
|
17
|
+
* 'This is a detailed description of the recommendation.',
|
|
18
|
+
* },
|
|
19
|
+
* );
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
create(issueID: string, body: RecommendationCreateParams, options?: RequestOptions): APIPromise<Recommendation>;
|
|
23
|
+
/**
|
|
24
|
+
* Gets the recommendation specified by the `recommendationId` within the issue
|
|
25
|
+
* specified by the `issueId`. The `id` value of the recommendation returned can be
|
|
26
|
+
* used as the `recommendationId` parameter in other routes or request bodies.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```ts
|
|
30
|
+
* const recommendation =
|
|
31
|
+
* await client.issues.recommendations.retrieve(
|
|
32
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
33
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
34
|
+
* );
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
retrieve(recommendationID: string, params: RecommendationRetrieveParams, options?: RequestOptions): APIPromise<Recommendation>;
|
|
38
|
+
/**
|
|
39
|
+
* Updates the recommendation specified by the `recommendationId`. Upon successful
|
|
40
|
+
* operation, all fields that are not arrays will be overwritten. Fields that
|
|
41
|
+
* accept array values will add the provided values to the existing values.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const recommendation =
|
|
46
|
+
* await client.issues.recommendations.update(
|
|
47
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
48
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
49
|
+
* );
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
update(recommendationID: string, params: RecommendationUpdateParams, options?: RequestOptions): APIPromise<RecommendationUpdateResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Gets all recommendations within the issue specified by the `issueId`, and
|
|
55
|
+
* optionally filtered by `id`. The `id` value of the recommendation(s) returned
|
|
56
|
+
* can be used as the `recommendationId` parameter in other routes or request
|
|
57
|
+
* bodies.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* const recommendations =
|
|
62
|
+
* await client.issues.recommendations.list(
|
|
63
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
64
|
+
* );
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
list(issueID: string, query?: RecommendationListParams | null | undefined, options?: RequestOptions): APIPromise<RecommendationListResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* Deletes the recommendation specified by the `recommendationId` within the issue
|
|
70
|
+
* specified by the `issueId`. Warning: This action is irreversible.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* ```ts
|
|
74
|
+
* await client.issues.recommendations.delete(
|
|
75
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
76
|
+
* { issueId: '123e4567-e89b-12d3-a456-426614174000' },
|
|
77
|
+
* );
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
delete(recommendationID: string, params: RecommendationDeleteParams, options?: RequestOptions): APIPromise<void>;
|
|
81
|
+
}
|
|
82
|
+
export interface Recommendation {
|
|
83
|
+
/**
|
|
84
|
+
* A uuid that uniquely identifies the recommendation
|
|
85
|
+
*/
|
|
86
|
+
id: string;
|
|
87
|
+
/**
|
|
88
|
+
* A uuid that uniquely identifies the issue associated with the recommendation
|
|
89
|
+
*/
|
|
90
|
+
issueId: string;
|
|
91
|
+
/**
|
|
92
|
+
* The origins of the recommendation
|
|
93
|
+
*/
|
|
94
|
+
origins: Array<Recommendation.Origin>;
|
|
95
|
+
/**
|
|
96
|
+
* The description of the recommendation
|
|
97
|
+
*/
|
|
98
|
+
description?: string;
|
|
99
|
+
}
|
|
100
|
+
export declare namespace Recommendation {
|
|
101
|
+
/**
|
|
102
|
+
* The name and subtype of the element within Paramify that created the issue
|
|
103
|
+
*/
|
|
104
|
+
interface Origin {
|
|
105
|
+
name: string;
|
|
106
|
+
subtype: 'COM_AGREEMENT' | 'COM_CUSTOMER_MANAGED' | 'COM_FEDRAMP_SYSTEM' | 'COM_HARDWARE' | 'COM_IAAS' | 'COM_INTERCONNECTION' | 'COM_PAAS' | 'COM_PLAN' | 'COM_POLICY' | 'COM_PROCEDURE' | 'COM_PROCESS' | 'COM_SAAS' | 'COM_SERVICE' | 'COM_SOFTWARE' | 'COM_SUBNET' | 'COM_CRYPTOGRAPHIC_MODULE' | 'COM_STACK_PARAMETER' | 'PAR_ORGANIZATION' | 'PAR_PERSON' | 'ROL_NO_LOGICAL_ACCESS' | 'ROL_NOT_PRIVILEGED' | 'ROL_PRIVILEGED' | 'LOC_CAMPUS' | 'LOC_DATA_CENTER' | 'LOC_DATA_REGION_CLOUD' | 'LOC_OTHER' | 'LOC_REMOTE' | 'DAT_ACCOUNT_DATA' | 'DAT_CUSTOMER_DATA' | 'DAT_METADATA' | 'DAT_SUPPORT_ADMIN';
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* The recommendation as it exists after the operation
|
|
111
|
+
*/
|
|
112
|
+
export interface RecommendationUpdateResponse {
|
|
113
|
+
/**
|
|
114
|
+
* A uuid that uniquely identifies the recommendation
|
|
115
|
+
*/
|
|
116
|
+
id: string;
|
|
117
|
+
/**
|
|
118
|
+
* A uuid that uniquely identifies the issue associated with the recommendation
|
|
119
|
+
*/
|
|
120
|
+
issueId: string;
|
|
121
|
+
/**
|
|
122
|
+
* The origins of the recommendation
|
|
123
|
+
*/
|
|
124
|
+
origins: Array<RecommendationUpdateResponse.Origin>;
|
|
125
|
+
/**
|
|
126
|
+
* The description of the recommendation
|
|
127
|
+
*/
|
|
128
|
+
description?: string;
|
|
129
|
+
}
|
|
130
|
+
export declare namespace RecommendationUpdateResponse {
|
|
131
|
+
/**
|
|
132
|
+
* The name and subtype of the element within Paramify that created the issue
|
|
133
|
+
*/
|
|
134
|
+
interface Origin {
|
|
135
|
+
name: string;
|
|
136
|
+
subtype: 'COM_AGREEMENT' | 'COM_CUSTOMER_MANAGED' | 'COM_FEDRAMP_SYSTEM' | 'COM_HARDWARE' | 'COM_IAAS' | 'COM_INTERCONNECTION' | 'COM_PAAS' | 'COM_PLAN' | 'COM_POLICY' | 'COM_PROCEDURE' | 'COM_PROCESS' | 'COM_SAAS' | 'COM_SERVICE' | 'COM_SOFTWARE' | 'COM_SUBNET' | 'COM_CRYPTOGRAPHIC_MODULE' | 'COM_STACK_PARAMETER' | 'PAR_ORGANIZATION' | 'PAR_PERSON' | 'ROL_NO_LOGICAL_ACCESS' | 'ROL_NOT_PRIVILEGED' | 'ROL_PRIVILEGED' | 'LOC_CAMPUS' | 'LOC_DATA_CENTER' | 'LOC_DATA_REGION_CLOUD' | 'LOC_OTHER' | 'LOC_REMOTE' | 'DAT_ACCOUNT_DATA' | 'DAT_CUSTOMER_DATA' | 'DAT_METADATA' | 'DAT_SUPPORT_ADMIN';
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
export interface RecommendationListResponse {
|
|
140
|
+
recommendations: Array<Recommendation>;
|
|
141
|
+
}
|
|
142
|
+
export interface RecommendationCreateParams {
|
|
143
|
+
/**
|
|
144
|
+
* The description of the recommendation
|
|
145
|
+
*/
|
|
146
|
+
description: string;
|
|
147
|
+
/**
|
|
148
|
+
* The origins of the recommendation
|
|
149
|
+
*/
|
|
150
|
+
origins?: Array<RecommendationCreateParams.Origin> | null;
|
|
151
|
+
}
|
|
152
|
+
export declare namespace RecommendationCreateParams {
|
|
153
|
+
/**
|
|
154
|
+
* The name and subtype of the element within Paramify that created the issue
|
|
155
|
+
*/
|
|
156
|
+
interface Origin {
|
|
157
|
+
name: string;
|
|
158
|
+
subtype: 'COM_AGREEMENT' | 'COM_CUSTOMER_MANAGED' | 'COM_FEDRAMP_SYSTEM' | 'COM_HARDWARE' | 'COM_IAAS' | 'COM_INTERCONNECTION' | 'COM_PAAS' | 'COM_PLAN' | 'COM_POLICY' | 'COM_PROCEDURE' | 'COM_PROCESS' | 'COM_SAAS' | 'COM_SERVICE' | 'COM_SOFTWARE' | 'COM_SUBNET' | 'COM_CRYPTOGRAPHIC_MODULE' | 'COM_STACK_PARAMETER' | 'PAR_ORGANIZATION' | 'PAR_PERSON' | 'ROL_NO_LOGICAL_ACCESS' | 'ROL_NOT_PRIVILEGED' | 'ROL_PRIVILEGED' | 'LOC_CAMPUS' | 'LOC_DATA_CENTER' | 'LOC_DATA_REGION_CLOUD' | 'LOC_OTHER' | 'LOC_REMOTE' | 'DAT_ACCOUNT_DATA' | 'DAT_CUSTOMER_DATA' | 'DAT_METADATA' | 'DAT_SUPPORT_ADMIN';
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
export interface RecommendationRetrieveParams {
|
|
162
|
+
/**
|
|
163
|
+
* An id that represents an issue within the Paramify application.
|
|
164
|
+
*/
|
|
165
|
+
issueId: string;
|
|
166
|
+
}
|
|
167
|
+
export interface RecommendationUpdateParams {
|
|
168
|
+
/**
|
|
169
|
+
* Path param: An id that represents an issue within the Paramify application.
|
|
170
|
+
*/
|
|
171
|
+
issueId: string;
|
|
172
|
+
/**
|
|
173
|
+
* Body param: A uuid that uniquely identifies the recommendation
|
|
174
|
+
*/
|
|
175
|
+
id?: string;
|
|
176
|
+
/**
|
|
177
|
+
* Body param: The description of the recommendation
|
|
178
|
+
*/
|
|
179
|
+
description?: string;
|
|
180
|
+
/**
|
|
181
|
+
* Body param: The origins of the recommendation
|
|
182
|
+
*/
|
|
183
|
+
origins?: Array<RecommendationUpdateParams.Origin>;
|
|
184
|
+
}
|
|
185
|
+
export declare namespace RecommendationUpdateParams {
|
|
186
|
+
/**
|
|
187
|
+
* The name and subtype of the element within Paramify that created the issue
|
|
188
|
+
*/
|
|
189
|
+
interface Origin {
|
|
190
|
+
name: string;
|
|
191
|
+
subtype: 'COM_AGREEMENT' | 'COM_CUSTOMER_MANAGED' | 'COM_FEDRAMP_SYSTEM' | 'COM_HARDWARE' | 'COM_IAAS' | 'COM_INTERCONNECTION' | 'COM_PAAS' | 'COM_PLAN' | 'COM_POLICY' | 'COM_PROCEDURE' | 'COM_PROCESS' | 'COM_SAAS' | 'COM_SERVICE' | 'COM_SOFTWARE' | 'COM_SUBNET' | 'COM_CRYPTOGRAPHIC_MODULE' | 'COM_STACK_PARAMETER' | 'PAR_ORGANIZATION' | 'PAR_PERSON' | 'ROL_NO_LOGICAL_ACCESS' | 'ROL_NOT_PRIVILEGED' | 'ROL_PRIVILEGED' | 'LOC_CAMPUS' | 'LOC_DATA_CENTER' | 'LOC_DATA_REGION_CLOUD' | 'LOC_OTHER' | 'LOC_REMOTE' | 'DAT_ACCOUNT_DATA' | 'DAT_CUSTOMER_DATA' | 'DAT_METADATA' | 'DAT_SUPPORT_ADMIN';
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
export interface RecommendationListParams {
|
|
195
|
+
/**
|
|
196
|
+
* Filter recommendations by ID. Multiple IDs can be provided to retrieve multiple
|
|
197
|
+
* recommendations at once.
|
|
198
|
+
*/
|
|
199
|
+
id?: Array<string>;
|
|
200
|
+
}
|
|
201
|
+
export interface RecommendationDeleteParams {
|
|
202
|
+
/**
|
|
203
|
+
* An id that represents an issue within the Paramify application.
|
|
204
|
+
*/
|
|
205
|
+
issueId: string;
|
|
206
|
+
}
|
|
207
|
+
export declare namespace Recommendations {
|
|
208
|
+
export { type Recommendation as Recommendation, type RecommendationUpdateResponse as RecommendationUpdateResponse, type RecommendationListResponse as RecommendationListResponse, type RecommendationCreateParams as RecommendationCreateParams, type RecommendationRetrieveParams as RecommendationRetrieveParams, type RecommendationUpdateParams as RecommendationUpdateParams, type RecommendationListParams as RecommendationListParams, type RecommendationDeleteParams as RecommendationDeleteParams, };
|
|
209
|
+
}
|
|
210
|
+
//# sourceMappingURL=recommendations.d.mts.map
|