@rippling/rippling-sdk 0.2.0-alpha.88 → 0.2.0-alpha.89
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/client.d.mts +46 -10
- package/client.d.mts.map +1 -1
- package/client.d.ts +46 -10
- package/client.d.ts.map +1 -1
- package/client.js +36 -0
- package/client.js.map +1 -1
- package/client.mjs +36 -0
- package/client.mjs.map +1 -1
- package/examples/manifest/acp-agent/acp-agent.ts +52 -0
- package/examples/manifest/acp-agent/agent/index.ts +9 -0
- package/lib/manifest/_existing-component-fields.d.mts.map +1 -1
- package/lib/manifest/_existing-component-fields.d.ts.map +1 -1
- package/lib/manifest/_existing-component-fields.js +1 -0
- package/lib/manifest/_existing-component-fields.js.map +1 -1
- package/lib/manifest/_existing-component-fields.mjs +1 -0
- package/lib/manifest/_existing-component-fields.mjs.map +1 -1
- package/lib/manifest/acp-agent.d.mts +66 -0
- package/lib/manifest/acp-agent.d.mts.map +1 -0
- package/lib/manifest/acp-agent.d.ts +66 -0
- package/lib/manifest/acp-agent.d.ts.map +1 -0
- package/lib/manifest/acp-agent.js +135 -0
- package/lib/manifest/acp-agent.js.map +1 -0
- package/lib/manifest/acp-agent.mjs +131 -0
- package/lib/manifest/acp-agent.mjs.map +1 -0
- package/lib/manifest/existing-manifest-context.d.mts +3 -0
- package/lib/manifest/existing-manifest-context.d.mts.map +1 -1
- package/lib/manifest/existing-manifest-context.d.ts +3 -0
- package/lib/manifest/existing-manifest-context.d.ts.map +1 -1
- package/lib/manifest/existing-manifest-context.js +14 -0
- package/lib/manifest/existing-manifest-context.js.map +1 -1
- package/lib/manifest/existing-manifest-context.mjs +14 -0
- package/lib/manifest/existing-manifest-context.mjs.map +1 -1
- package/lib/manifest/index.d.mts +1 -0
- package/lib/manifest/index.d.mts.map +1 -1
- package/lib/manifest/index.d.ts +1 -0
- package/lib/manifest/index.d.ts.map +1 -1
- package/lib/manifest/index.js +3 -1
- package/lib/manifest/index.js.map +1 -1
- package/lib/manifest/index.mjs +1 -0
- package/lib/manifest/index.mjs.map +1 -1
- package/lib/manifest/manifest-builder.d.mts +1 -1
- package/lib/manifest/manifest-builder.d.mts.map +1 -1
- package/lib/manifest/manifest-builder.d.ts +1 -1
- package/lib/manifest/manifest-builder.d.ts.map +1 -1
- package/lib/manifest/manifest-builder.js.map +1 -1
- package/lib/manifest/manifest-builder.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/app-users.d.mts +4 -0
- package/resources/app-users.d.mts.map +1 -1
- package/resources/app-users.d.ts +4 -0
- package/resources/app-users.d.ts.map +1 -1
- package/resources/break-policies.d.mts +4 -0
- package/resources/break-policies.d.mts.map +1 -1
- package/resources/break-policies.d.ts +4 -0
- package/resources/break-policies.d.ts.map +1 -1
- package/resources/break-types.d.mts +4 -0
- package/resources/break-types.d.mts.map +1 -1
- package/resources/break-types.d.ts +4 -0
- package/resources/break-types.d.ts.map +1 -1
- package/resources/business-partner-groups.d.mts +4 -0
- package/resources/business-partner-groups.d.mts.map +1 -1
- package/resources/business-partner-groups.d.ts +4 -0
- package/resources/business-partner-groups.d.ts.map +1 -1
- package/resources/business-partners.d.mts +4 -0
- package/resources/business-partners.d.mts.map +1 -1
- package/resources/business-partners.d.ts +4 -0
- package/resources/business-partners.d.ts.map +1 -1
- package/resources/business-structure-paths.d.mts +4 -0
- package/resources/business-structure-paths.d.mts.map +1 -1
- package/resources/business-structure-paths.d.ts +4 -0
- package/resources/business-structure-paths.d.ts.map +1 -1
- package/resources/candidate-applications.d.mts +4 -0
- package/resources/candidate-applications.d.mts.map +1 -1
- package/resources/candidate-applications.d.ts +4 -0
- package/resources/candidate-applications.d.ts.map +1 -1
- package/resources/candidates.d.mts +4 -0
- package/resources/candidates.d.mts.map +1 -1
- package/resources/candidates.d.ts +4 -0
- package/resources/candidates.d.ts.map +1 -1
- package/resources/companies.d.mts +4 -0
- package/resources/companies.d.mts.map +1 -1
- package/resources/companies.d.ts +4 -0
- package/resources/companies.d.ts.map +1 -1
- package/resources/company-legal-entities.d.mts +4 -0
- package/resources/company-legal-entities.d.mts.map +1 -1
- package/resources/company-legal-entities.d.ts +4 -0
- package/resources/company-legal-entities.d.ts.map +1 -1
- package/resources/company-legal-entity-workers.d.mts +4 -0
- package/resources/company-legal-entity-workers.d.mts.map +1 -1
- package/resources/company-legal-entity-workers.d.ts +4 -0
- package/resources/company-legal-entity-workers.d.ts.map +1 -1
- package/resources/compensation-bands-details.d.mts +4 -0
- package/resources/compensation-bands-details.d.mts.map +1 -1
- package/resources/compensation-bands-details.d.ts +4 -0
- package/resources/compensation-bands-details.d.ts.map +1 -1
- package/resources/compensations.d.mts +4 -0
- package/resources/compensations.d.mts.map +1 -1
- package/resources/compensations.d.ts +4 -0
- package/resources/compensations.d.ts.map +1 -1
- package/resources/custom-fields.d.mts +4 -0
- package/resources/custom-fields.d.mts.map +1 -1
- package/resources/custom-fields.d.ts +4 -0
- package/resources/custom-fields.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.d.mts +13 -6
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts +13 -6
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.js +2 -2
- package/resources/custom-objects/custom-objects.js.map +1 -1
- package/resources/custom-objects/custom-objects.mjs +2 -2
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/fields.d.mts +9 -2
- package/resources/custom-objects/fields.d.mts.map +1 -1
- package/resources/custom-objects/fields.d.ts +9 -2
- package/resources/custom-objects/fields.d.ts.map +1 -1
- package/resources/custom-objects/fields.js +2 -2
- package/resources/custom-objects/fields.js.map +1 -1
- package/resources/custom-objects/fields.mjs +2 -2
- package/resources/custom-objects/fields.mjs.map +1 -1
- package/resources/custom-objects/index.d.mts +3 -3
- package/resources/custom-objects/index.d.mts.map +1 -1
- package/resources/custom-objects/index.d.ts +3 -3
- package/resources/custom-objects/index.d.ts.map +1 -1
- package/resources/custom-objects/index.js.map +1 -1
- package/resources/custom-objects/index.mjs.map +1 -1
- package/resources/custom-objects/records.d.mts +9 -2
- package/resources/custom-objects/records.d.mts.map +1 -1
- package/resources/custom-objects/records.d.ts +9 -2
- package/resources/custom-objects/records.d.ts.map +1 -1
- package/resources/custom-objects/records.js +2 -2
- package/resources/custom-objects/records.js.map +1 -1
- package/resources/custom-objects/records.mjs +2 -2
- package/resources/custom-objects/records.mjs.map +1 -1
- package/resources/custom-settings.d.mts +4 -0
- package/resources/custom-settings.d.mts.map +1 -1
- package/resources/custom-settings.d.ts +4 -0
- package/resources/custom-settings.d.ts.map +1 -1
- package/resources/departments.d.mts +4 -0
- package/resources/departments.d.mts.map +1 -1
- package/resources/departments.d.ts +4 -0
- package/resources/departments.d.ts.map +1 -1
- package/resources/device-orders.d.mts +4 -0
- package/resources/device-orders.d.mts.map +1 -1
- package/resources/device-orders.d.ts +4 -0
- package/resources/device-orders.d.ts.map +1 -1
- package/resources/devices.d.mts +4 -0
- package/resources/devices.d.mts.map +1 -1
- package/resources/devices.d.ts +4 -0
- package/resources/devices.d.ts.map +1 -1
- package/resources/earning-types.d.mts +9 -2
- package/resources/earning-types.d.mts.map +1 -1
- package/resources/earning-types.d.ts +9 -2
- package/resources/earning-types.d.ts.map +1 -1
- package/resources/earning-types.js +5 -2
- package/resources/earning-types.js.map +1 -1
- package/resources/earning-types.mjs +5 -2
- package/resources/earning-types.mjs.map +1 -1
- package/resources/earnings-inputs.d.mts +9 -2
- package/resources/earnings-inputs.d.mts.map +1 -1
- package/resources/earnings-inputs.d.ts +9 -2
- package/resources/earnings-inputs.d.ts.map +1 -1
- package/resources/earnings-inputs.js +5 -2
- package/resources/earnings-inputs.js.map +1 -1
- package/resources/earnings-inputs.mjs +5 -2
- package/resources/earnings-inputs.mjs.map +1 -1
- package/resources/employment-types.d.mts +4 -0
- package/resources/employment-types.d.mts.map +1 -1
- package/resources/employment-types.d.ts +4 -0
- package/resources/employment-types.d.ts.map +1 -1
- package/resources/functions/executions.d.mts +5 -0
- package/resources/functions/executions.d.mts.map +1 -1
- package/resources/functions/executions.d.ts +5 -0
- package/resources/functions/executions.d.ts.map +1 -1
- package/resources/functions/functions.d.mts +5 -0
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts +5 -0
- package/resources/functions/functions.d.ts.map +1 -1
- package/resources/functions/functions.js.map +1 -1
- package/resources/functions/functions.mjs.map +1 -1
- package/resources/headcount-positions.d.mts +4 -0
- package/resources/headcount-positions.d.mts.map +1 -1
- package/resources/headcount-positions.d.ts +4 -0
- package/resources/headcount-positions.d.ts.map +1 -1
- package/resources/headcount-priorities.d.mts +4 -0
- package/resources/headcount-priorities.d.mts.map +1 -1
- package/resources/headcount-priorities.d.ts +4 -0
- package/resources/headcount-priorities.d.ts.map +1 -1
- package/resources/index.d.mts +11 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +14 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +6 -0
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.d.mts +8 -0
- package/resources/job-assignments.d.mts.map +1 -1
- package/resources/job-assignments.d.ts +8 -0
- package/resources/job-assignments.d.ts.map +1 -1
- package/resources/job-codes.d.mts +8 -0
- package/resources/job-codes.d.mts.map +1 -1
- package/resources/job-codes.d.ts +8 -0
- package/resources/job-codes.d.ts.map +1 -1
- package/resources/job-dimensions.d.mts +4 -0
- package/resources/job-dimensions.d.mts.map +1 -1
- package/resources/job-dimensions.d.ts +4 -0
- package/resources/job-dimensions.d.ts.map +1 -1
- package/resources/job-functions.d.mts +4 -0
- package/resources/job-functions.d.mts.map +1 -1
- package/resources/job-functions.d.ts +4 -0
- package/resources/job-functions.d.ts.map +1 -1
- package/resources/job-pay-rate-exceptions.d.mts +8 -0
- package/resources/job-pay-rate-exceptions.d.mts.map +1 -1
- package/resources/job-pay-rate-exceptions.d.ts +8 -0
- package/resources/job-pay-rate-exceptions.d.ts.map +1 -1
- package/resources/job-requisitions.d.mts +4 -0
- package/resources/job-requisitions.d.mts.map +1 -1
- package/resources/job-requisitions.d.ts +4 -0
- package/resources/job-requisitions.d.ts.map +1 -1
- package/resources/kiosk-badges.d.mts +4 -0
- package/resources/kiosk-badges.d.mts.map +1 -1
- package/resources/kiosk-badges.d.ts +4 -0
- package/resources/kiosk-badges.d.ts.map +1 -1
- package/resources/leave-accruals.d.mts +4 -0
- package/resources/leave-accruals.d.mts.map +1 -1
- package/resources/leave-accruals.d.ts +4 -0
- package/resources/leave-accruals.d.ts.map +1 -1
- package/resources/leave-balances.d.mts +4 -0
- package/resources/leave-balances.d.mts.map +1 -1
- package/resources/leave-balances.d.ts +4 -0
- package/resources/leave-balances.d.ts.map +1 -1
- package/resources/leave-requests.d.mts +4 -0
- package/resources/leave-requests.d.mts.map +1 -1
- package/resources/leave-requests.d.ts +4 -0
- package/resources/leave-requests.d.ts.map +1 -1
- package/resources/leave-types.d.mts +4 -0
- package/resources/leave-types.d.mts.map +1 -1
- package/resources/leave-types.d.ts +4 -0
- package/resources/leave-types.d.ts.map +1 -1
- package/resources/legal-entities.d.mts +4 -0
- package/resources/legal-entities.d.mts.map +1 -1
- package/resources/legal-entities.d.ts +4 -0
- package/resources/legal-entities.d.ts.map +1 -1
- package/resources/levels.d.mts +4 -0
- package/resources/levels.d.mts.map +1 -1
- package/resources/levels.d.ts +4 -0
- package/resources/levels.d.ts.map +1 -1
- package/resources/location-factors.d.mts +4 -0
- package/resources/location-factors.d.mts.map +1 -1
- package/resources/location-factors.d.ts +4 -0
- package/resources/location-factors.d.ts.map +1 -1
- package/resources/metadata/component-schemas.d.mts +93 -0
- package/resources/metadata/component-schemas.d.mts.map +1 -0
- package/resources/metadata/component-schemas.d.ts +93 -0
- package/resources/metadata/component-schemas.d.ts.map +1 -0
- package/resources/metadata/component-schemas.js +28 -0
- package/resources/metadata/component-schemas.js.map +1 -0
- package/resources/metadata/component-schemas.mjs +24 -0
- package/resources/metadata/component-schemas.mjs.map +1 -0
- package/resources/metadata/component-types.d.mts +47 -0
- package/resources/metadata/component-types.d.mts.map +1 -0
- package/resources/metadata/component-types.d.ts +47 -0
- package/resources/metadata/component-types.d.ts.map +1 -0
- package/resources/metadata/component-types.js +27 -0
- package/resources/metadata/component-types.js.map +1 -0
- package/resources/metadata/component-types.mjs +23 -0
- package/resources/metadata/component-types.mjs.map +1 -0
- package/resources/metadata/components.d.mts +544 -0
- package/resources/metadata/components.d.mts.map +1 -0
- package/resources/metadata/components.d.ts +544 -0
- package/resources/metadata/components.d.ts.map +1 -0
- package/resources/metadata/components.js +134 -0
- package/resources/metadata/components.js.map +1 -0
- package/resources/metadata/components.mjs +130 -0
- package/resources/metadata/components.mjs.map +1 -0
- package/resources/metadata/deployment-runs.d.mts +275 -0
- package/resources/metadata/deployment-runs.d.mts.map +1 -0
- package/resources/metadata/deployment-runs.d.ts +275 -0
- package/resources/metadata/deployment-runs.d.ts.map +1 -0
- package/resources/metadata/deployment-runs.js +133 -0
- package/resources/metadata/deployment-runs.js.map +1 -0
- package/resources/metadata/deployment-runs.mjs +129 -0
- package/resources/metadata/deployment-runs.mjs.map +1 -0
- package/resources/metadata/index.d.mts +9 -0
- package/resources/metadata/index.d.mts.map +1 -0
- package/resources/metadata/index.d.ts +9 -0
- package/resources/metadata/index.d.ts.map +1 -0
- package/resources/metadata/index.js +21 -0
- package/resources/metadata/index.js.map +1 -0
- package/resources/metadata/index.mjs +10 -0
- package/resources/metadata/index.mjs.map +1 -0
- package/resources/metadata/metadata.d.mts +125 -0
- package/resources/metadata/metadata.d.mts.map +1 -0
- package/resources/metadata/metadata.d.ts +125 -0
- package/resources/metadata/metadata.d.ts.map +1 -0
- package/resources/metadata/metadata.js +58 -0
- package/resources/metadata/metadata.js.map +1 -0
- package/resources/metadata/metadata.mjs +53 -0
- package/resources/metadata/metadata.mjs.map +1 -0
- package/resources/metadata/schema.d.mts +92 -0
- package/resources/metadata/schema.d.mts.map +1 -0
- package/resources/metadata/schema.d.ts +92 -0
- package/resources/metadata/schema.d.ts.map +1 -0
- package/resources/metadata/schema.js +27 -0
- package/resources/metadata/schema.js.map +1 -0
- package/resources/metadata/schema.mjs +23 -0
- package/resources/metadata/schema.mjs.map +1 -0
- package/resources/metadata/types.d.mts +46 -0
- package/resources/metadata/types.d.mts.map +1 -0
- package/resources/metadata/types.d.ts +46 -0
- package/resources/metadata/types.d.ts.map +1 -0
- package/resources/metadata/types.js +26 -0
- package/resources/metadata/types.js.map +1 -0
- package/resources/metadata/types.mjs +22 -0
- package/resources/metadata/types.mjs.map +1 -0
- package/resources/metadata/validation-runs.d.mts +275 -0
- package/resources/metadata/validation-runs.d.mts.map +1 -0
- package/resources/metadata/validation-runs.d.ts +275 -0
- package/resources/metadata/validation-runs.d.ts.map +1 -0
- package/resources/metadata/validation-runs.js +133 -0
- package/resources/metadata/validation-runs.js.map +1 -0
- package/resources/metadata/validation-runs.mjs +129 -0
- package/resources/metadata/validation-runs.mjs.map +1 -0
- package/resources/metadata.d.mts +2 -0
- package/resources/metadata.d.mts.map +1 -0
- package/resources/metadata.d.ts +2 -0
- package/resources/metadata.d.ts.map +1 -0
- package/resources/metadata.js +6 -0
- package/resources/metadata.js.map +1 -0
- package/resources/metadata.mjs +3 -0
- package/resources/metadata.mjs.map +1 -0
- package/resources/object-categories.d.mts +9 -2
- package/resources/object-categories.d.mts.map +1 -1
- package/resources/object-categories.d.ts +9 -2
- package/resources/object-categories.d.ts.map +1 -1
- package/resources/object-categories.js +5 -2
- package/resources/object-categories.js.map +1 -1
- package/resources/object-categories.mjs +5 -2
- package/resources/object-categories.mjs.map +1 -1
- package/resources/package-installs.d.mts +108 -0
- package/resources/package-installs.d.mts.map +1 -0
- package/resources/package-installs.d.ts +108 -0
- package/resources/package-installs.d.ts.map +1 -0
- package/resources/package-installs.js +25 -0
- package/resources/package-installs.js.map +1 -0
- package/resources/package-installs.mjs +21 -0
- package/resources/package-installs.mjs.map +1 -0
- package/resources/package-uninstalls.d.mts +128 -0
- package/resources/package-uninstalls.d.mts.map +1 -0
- package/resources/package-uninstalls.d.ts +128 -0
- package/resources/package-uninstalls.d.ts.map +1 -0
- package/resources/package-uninstalls.js +25 -0
- package/resources/package-uninstalls.js.map +1 -0
- package/resources/package-uninstalls.mjs +21 -0
- package/resources/package-uninstalls.mjs.map +1 -0
- package/resources/package-version-component-updates.d.mts +117 -0
- package/resources/package-version-component-updates.d.mts.map +1 -0
- package/resources/package-version-component-updates.d.ts +117 -0
- package/resources/package-version-component-updates.d.ts.map +1 -0
- package/resources/package-version-component-updates.js +33 -0
- package/resources/package-version-component-updates.js.map +1 -0
- package/resources/package-version-component-updates.mjs +29 -0
- package/resources/package-version-component-updates.mjs.map +1 -0
- package/resources/package-versions/index.d.mts +3 -0
- package/resources/package-versions/index.d.mts.map +1 -0
- package/resources/package-versions/index.d.ts +3 -0
- package/resources/package-versions/index.d.ts.map +1 -0
- package/resources/package-versions/index.js +9 -0
- package/resources/package-versions/index.js.map +1 -0
- package/resources/package-versions/index.mjs +4 -0
- package/resources/package-versions/index.mjs.map +1 -0
- package/resources/package-versions/next-versions.d.mts +70 -0
- package/resources/package-versions/next-versions.d.mts.map +1 -0
- package/resources/package-versions/next-versions.d.ts +70 -0
- package/resources/package-versions/next-versions.d.ts.map +1 -0
- package/resources/package-versions/next-versions.js +21 -0
- package/resources/package-versions/next-versions.js.map +1 -0
- package/resources/package-versions/next-versions.mjs +17 -0
- package/resources/package-versions/next-versions.mjs.map +1 -0
- package/resources/package-versions/package-versions.d.mts +68 -0
- package/resources/package-versions/package-versions.d.mts.map +1 -0
- package/resources/package-versions/package-versions.d.ts +68 -0
- package/resources/package-versions/package-versions.d.ts.map +1 -0
- package/resources/package-versions/package-versions.js +27 -0
- package/resources/package-versions/package-versions.js.map +1 -0
- package/resources/package-versions/package-versions.mjs +22 -0
- package/resources/package-versions/package-versions.mjs.map +1 -0
- package/resources/package-versions.d.mts +2 -0
- package/resources/package-versions.d.mts.map +1 -0
- package/resources/package-versions.d.ts +2 -0
- package/resources/package-versions.d.ts.map +1 -0
- package/resources/package-versions.js +6 -0
- package/resources/package-versions.js.map +1 -0
- package/resources/package-versions.mjs +3 -0
- package/resources/package-versions.mjs.map +1 -0
- package/resources/packages/packages.d.mts +4 -0
- package/resources/packages/packages.d.mts.map +1 -1
- package/resources/packages/packages.d.ts +4 -0
- package/resources/packages/packages.d.ts.map +1 -1
- package/resources/packages/packages.js.map +1 -1
- package/resources/packages/packages.mjs.map +1 -1
- package/resources/packages/versions.d.mts +12 -16
- package/resources/packages/versions.d.mts.map +1 -1
- package/resources/packages/versions.d.ts +12 -16
- package/resources/packages/versions.d.ts.map +1 -1
- package/resources/payroll-runs/payroll-runs.d.mts +5 -0
- package/resources/payroll-runs/payroll-runs.d.mts.map +1 -1
- package/resources/payroll-runs/payroll-runs.d.ts +5 -0
- package/resources/payroll-runs/payroll-runs.d.ts.map +1 -1
- package/resources/payroll-runs/payroll-runs.js.map +1 -1
- package/resources/payroll-runs/payroll-runs.mjs.map +1 -1
- package/resources/payroll-runs/worker-payroll-records.d.mts +4 -0
- package/resources/payroll-runs/worker-payroll-records.d.mts.map +1 -1
- package/resources/payroll-runs/worker-payroll-records.d.ts +4 -0
- package/resources/payroll-runs/worker-payroll-records.d.ts.map +1 -1
- package/resources/sandboxes.d.mts +668 -0
- package/resources/sandboxes.d.mts.map +1 -0
- package/resources/sandboxes.d.ts +668 -0
- package/resources/sandboxes.d.ts.map +1 -0
- package/resources/sandboxes.js +40 -0
- package/resources/sandboxes.js.map +1 -0
- package/resources/sandboxes.mjs +36 -0
- package/resources/sandboxes.mjs.map +1 -0
- package/resources/scheduled-job-assignments.d.mts +4 -0
- package/resources/scheduled-job-assignments.d.mts.map +1 -1
- package/resources/scheduled-job-assignments.d.ts +4 -0
- package/resources/scheduled-job-assignments.d.ts.map +1 -1
- package/resources/schedules.d.mts +4 -0
- package/resources/schedules.d.mts.map +1 -1
- package/resources/schedules.d.ts +4 -0
- package/resources/schedules.d.ts.map +1 -1
- package/resources/shift-inputs.d.mts +4 -0
- package/resources/shift-inputs.d.mts.map +1 -1
- package/resources/shift-inputs.d.ts +4 -0
- package/resources/shift-inputs.d.ts.map +1 -1
- package/resources/shiftassignments.d.mts +4 -0
- package/resources/shiftassignments.d.mts.map +1 -1
- package/resources/shiftassignments.d.ts +4 -0
- package/resources/shiftassignments.d.ts.map +1 -1
- package/resources/sites.d.mts +9 -2
- package/resources/sites.d.mts.map +1 -1
- package/resources/sites.d.ts +9 -2
- package/resources/sites.d.ts.map +1 -1
- package/resources/sites.js +2 -2
- package/resources/sites.js.map +1 -1
- package/resources/sites.mjs +2 -2
- package/resources/sites.mjs.map +1 -1
- package/resources/software-deployments.d.mts +4 -0
- package/resources/software-deployments.d.mts.map +1 -1
- package/resources/software-deployments.d.ts +4 -0
- package/resources/software-deployments.d.ts.map +1 -1
- package/resources/sso-me.d.mts +4 -0
- package/resources/sso-me.d.mts.map +1 -1
- package/resources/sso-me.d.ts +4 -0
- package/resources/sso-me.d.ts.map +1 -1
- package/resources/supergroups/exclusion-members.d.mts +5 -0
- package/resources/supergroups/exclusion-members.d.mts.map +1 -1
- package/resources/supergroups/exclusion-members.d.ts +5 -0
- package/resources/supergroups/exclusion-members.d.ts.map +1 -1
- package/resources/supergroups/inclusion-members.d.mts +5 -0
- package/resources/supergroups/inclusion-members.d.mts.map +1 -1
- package/resources/supergroups/inclusion-members.d.ts +5 -0
- package/resources/supergroups/inclusion-members.d.ts.map +1 -1
- package/resources/supergroups/members.d.mts +5 -0
- package/resources/supergroups/members.d.mts.map +1 -1
- package/resources/supergroups/members.d.ts +5 -0
- package/resources/supergroups/members.d.ts.map +1 -1
- package/resources/supergroups/supergroups.d.mts +5 -0
- package/resources/supergroups/supergroups.d.mts.map +1 -1
- package/resources/supergroups/supergroups.d.ts +5 -0
- package/resources/supergroups/supergroups.d.ts.map +1 -1
- package/resources/supergroups/supergroups.js.map +1 -1
- package/resources/supergroups/supergroups.mjs.map +1 -1
- package/resources/teams.d.mts +4 -0
- package/resources/teams.d.mts.map +1 -1
- package/resources/teams.d.ts +4 -0
- package/resources/teams.d.ts.map +1 -1
- package/resources/time-cards.d.mts +4 -0
- package/resources/time-cards.d.mts.map +1 -1
- package/resources/time-cards.d.ts +4 -0
- package/resources/time-cards.d.ts.map +1 -1
- package/resources/time-entries.d.mts +4 -0
- package/resources/time-entries.d.mts.map +1 -1
- package/resources/time-entries.d.ts +4 -0
- package/resources/time-entries.d.ts.map +1 -1
- package/resources/titles.d.mts +4 -0
- package/resources/titles.d.mts.map +1 -1
- package/resources/titles.d.ts +4 -0
- package/resources/titles.d.ts.map +1 -1
- package/resources/tracks.d.mts +4 -0
- package/resources/tracks.d.mts.map +1 -1
- package/resources/tracks.d.ts +4 -0
- package/resources/tracks.d.ts.map +1 -1
- package/resources/unassignedshifts.d.mts +4 -0
- package/resources/unassignedshifts.d.mts.map +1 -1
- package/resources/unassignedshifts.d.ts +4 -0
- package/resources/unassignedshifts.d.ts.map +1 -1
- package/resources/users.d.mts +4 -0
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +4 -0
- package/resources/users.d.ts.map +1 -1
- package/resources/work-locations.d.mts +4 -0
- package/resources/work-locations.d.mts.map +1 -1
- package/resources/work-locations.d.ts +4 -0
- package/resources/work-locations.d.ts.map +1 -1
- package/resources/worker-changes.d.mts +4 -0
- package/resources/worker-changes.d.mts.map +1 -1
- package/resources/worker-changes.d.ts +4 -0
- package/resources/worker-changes.d.ts.map +1 -1
- package/resources/worker-time-splits.d.mts +4 -0
- package/resources/worker-time-splits.d.mts.map +1 -1
- package/resources/worker-time-splits.d.ts +4 -0
- package/resources/worker-time-splits.d.ts.map +1 -1
- package/resources/workers.d.mts +4 -0
- package/resources/workers.d.mts.map +1 -1
- package/resources/workers.d.ts +4 -0
- package/resources/workers.d.ts.map +1 -1
- package/src/client.ts +116 -0
- package/src/lib/manifest/_existing-component-fields.ts +1 -0
- package/src/lib/manifest/acp-agent.ts +207 -0
- package/src/lib/manifest/existing-manifest-context.ts +22 -0
- package/src/lib/manifest/index.ts +8 -0
- package/src/lib/manifest/manifest-builder.ts +1 -0
- package/src/resources/app-users.ts +5 -0
- package/src/resources/break-policies.ts +5 -0
- package/src/resources/break-types.ts +5 -0
- package/src/resources/business-partner-groups.ts +5 -0
- package/src/resources/business-partners.ts +5 -0
- package/src/resources/business-structure-paths.ts +5 -0
- package/src/resources/candidate-applications.ts +5 -0
- package/src/resources/candidates.ts +5 -0
- package/src/resources/companies.ts +5 -0
- package/src/resources/company-legal-entities.ts +5 -0
- package/src/resources/company-legal-entity-workers.ts +5 -0
- package/src/resources/compensation-bands-details.ts +5 -0
- package/src/resources/compensations.ts +5 -0
- package/src/resources/custom-fields.ts +5 -0
- package/src/resources/custom-objects/custom-objects.ts +19 -2
- package/src/resources/custom-objects/fields.ts +12 -1
- package/src/resources/custom-objects/index.ts +3 -0
- package/src/resources/custom-objects/records.ts +12 -1
- package/src/resources/custom-settings.ts +5 -0
- package/src/resources/departments.ts +5 -0
- package/src/resources/device-orders.ts +5 -0
- package/src/resources/devices.ts +5 -0
- package/src/resources/earning-types.ts +15 -1
- package/src/resources/earnings-inputs.ts +15 -1
- package/src/resources/employment-types.ts +5 -0
- package/src/resources/functions/executions.ts +7 -0
- package/src/resources/functions/functions.ts +7 -0
- package/src/resources/headcount-positions.ts +5 -0
- package/src/resources/headcount-priorities.ts +5 -0
- package/src/resources/index.ts +37 -0
- package/src/resources/job-assignments.ts +10 -0
- package/src/resources/job-codes.ts +10 -0
- package/src/resources/job-dimensions.ts +5 -0
- package/src/resources/job-functions.ts +5 -0
- package/src/resources/job-pay-rate-exceptions.ts +10 -0
- package/src/resources/job-requisitions.ts +5 -0
- package/src/resources/kiosk-badges.ts +5 -0
- package/src/resources/leave-accruals.ts +5 -0
- package/src/resources/leave-balances.ts +5 -0
- package/src/resources/leave-requests.ts +5 -0
- package/src/resources/leave-types.ts +5 -0
- package/src/resources/legal-entities.ts +5 -0
- package/src/resources/levels.ts +5 -0
- package/src/resources/location-factors.ts +5 -0
- package/src/resources/metadata/component-schemas.ts +109 -0
- package/src/resources/metadata/component-types.ts +56 -0
- package/src/resources/metadata/components.ts +630 -0
- package/src/resources/metadata/deployment-runs.ts +356 -0
- package/src/resources/metadata/index.ts +40 -0
- package/src/resources/metadata/metadata.ts +221 -0
- package/src/resources/metadata/schema.ts +105 -0
- package/src/resources/metadata/types.ts +55 -0
- package/src/resources/metadata/validation-runs.ts +356 -0
- package/src/resources/metadata.ts +3 -0
- package/src/resources/object-categories.ts +18 -2
- package/src/resources/package-installs.ts +143 -0
- package/src/resources/package-uninstalls.ts +168 -0
- package/src/resources/package-version-component-updates.ts +154 -0
- package/src/resources/package-versions/index.ts +8 -0
- package/src/resources/package-versions/next-versions.ts +95 -0
- package/src/resources/package-versions/package-versions.ts +100 -0
- package/src/resources/package-versions.ts +3 -0
- package/src/resources/packages/packages.ts +5 -0
- package/src/resources/packages/versions.ts +13 -18
- package/src/resources/payroll-runs/payroll-runs.ts +7 -0
- package/src/resources/payroll-runs/worker-payroll-records.ts +5 -0
- package/src/resources/sandboxes.ts +808 -0
- package/src/resources/scheduled-job-assignments.ts +5 -0
- package/src/resources/schedules.ts +5 -0
- package/src/resources/shift-inputs.ts +5 -0
- package/src/resources/shiftassignments.ts +5 -0
- package/src/resources/sites.ts +15 -2
- package/src/resources/software-deployments.ts +5 -0
- package/src/resources/sso-me.ts +5 -0
- package/src/resources/supergroups/exclusion-members.ts +7 -0
- package/src/resources/supergroups/inclusion-members.ts +7 -0
- package/src/resources/supergroups/members.ts +7 -0
- package/src/resources/supergroups/supergroups.ts +7 -0
- package/src/resources/teams.ts +5 -0
- package/src/resources/time-cards.ts +5 -0
- package/src/resources/time-entries.ts +5 -0
- package/src/resources/titles.ts +5 -0
- package/src/resources/tracks.ts +5 -0
- package/src/resources/unassignedshifts.ts +5 -0
- package/src/resources/users.ts +5 -0
- package/src/resources/work-locations.ts +5 -0
- package/src/resources/worker-changes.ts +5 -0
- package/src/resources/worker-time-splits.ts +5 -0
- package/src/resources/workers.ts +5 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment-runs.d.ts","sourceRoot":"","sources":["../../src/resources/metadata/deployment-runs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,QAAQ,CACN,MAAM,EAAE,2BAA2B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAY5C;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAItF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,MAAM,CACJ,MAAM,EAAE,yBAAyB,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;IAY1C;;;;;;;;;;OAUG;IACH,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;CAGnF;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX,QAAQ,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAErC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB,MAAM,EAAE,QAAQ,GA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AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -0,0 +1,133 @@
|
|
|
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.DeploymentRuns = 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
|
+
/**
|
|
9
|
+
* Custom objects defined by the company
|
|
10
|
+
*/
|
|
11
|
+
class DeploymentRuns extends resource_1.APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Queue deployment for a metadata component package and return a run id for
|
|
14
|
+
* polling.
|
|
15
|
+
*
|
|
16
|
+
* Requires the Metadata entitlement.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* const response =
|
|
21
|
+
* await client.metadata.deploymentRuns.createV2({
|
|
22
|
+
* components: [
|
|
23
|
+
* {
|
|
24
|
+
* type: 'CUSTOM_OBJECT',
|
|
25
|
+
* api_name: 'purchase_order__c',
|
|
26
|
+
* name: 'Purchase Order',
|
|
27
|
+
* description: 'Tracks purchase requests',
|
|
28
|
+
* category_api_name: 'procurement__c',
|
|
29
|
+
* },
|
|
30
|
+
* {
|
|
31
|
+
* type: 'CUSTOM_OBJECT_FIELD',
|
|
32
|
+
* custom_object_api_name: 'purchase_order__c',
|
|
33
|
+
* field_api_name: 'amount__c',
|
|
34
|
+
* field_display_name: 'Amount',
|
|
35
|
+
* data_type: {
|
|
36
|
+
* field_type: 'CURRENCY',
|
|
37
|
+
* currency: 'USD',
|
|
38
|
+
* num_of_decimal_places: 2,
|
|
39
|
+
* },
|
|
40
|
+
* is_standard: false,
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
createV2(params, options) {
|
|
47
|
+
const { 'Idempotency-Key': idempotencyKey, ...body } = params;
|
|
48
|
+
return this._client.post('/metadata/v2/deployment-runs/', {
|
|
49
|
+
body,
|
|
50
|
+
...options,
|
|
51
|
+
headers: (0, headers_1.buildHeaders)([
|
|
52
|
+
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
53
|
+
options?.headers,
|
|
54
|
+
]),
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Poll a metadata deployment run until the terminal field is true.
|
|
59
|
+
*
|
|
60
|
+
* Requires the Metadata entitlement.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```ts
|
|
64
|
+
* const response = await client.metadata.deploymentRuns.getV2(
|
|
65
|
+
* 'run_id',
|
|
66
|
+
* );
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
getV2(runID, options) {
|
|
70
|
+
return this._client.get((0, path_1.path) `/metadata/v2/deployment-runs/${runID}/`, options);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Queue deployment for a metadata component package and return a run id for
|
|
74
|
+
* polling.
|
|
75
|
+
*
|
|
76
|
+
* Requires the Metadata entitlement.
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* ```ts
|
|
80
|
+
* const deploymentRun =
|
|
81
|
+
* await client.metadata.deploymentRuns.create({
|
|
82
|
+
* components: [
|
|
83
|
+
* {
|
|
84
|
+
* type: 'CUSTOM_OBJECT',
|
|
85
|
+
* api_name: 'purchase_order__c',
|
|
86
|
+
* name: 'Purchase Order',
|
|
87
|
+
* description: 'Tracks purchase requests',
|
|
88
|
+
* category_api_name: 'procurement__c',
|
|
89
|
+
* },
|
|
90
|
+
* {
|
|
91
|
+
* type: 'CUSTOM_OBJECT_FIELD',
|
|
92
|
+
* custom_object_api_name: 'purchase_order__c',
|
|
93
|
+
* field_api_name: 'amount__c',
|
|
94
|
+
* field_display_name: 'Amount',
|
|
95
|
+
* data_type: {
|
|
96
|
+
* field_type: 'CURRENCY',
|
|
97
|
+
* currency: 'USD',
|
|
98
|
+
* num_of_decimal_places: 2,
|
|
99
|
+
* },
|
|
100
|
+
* is_standard: false,
|
|
101
|
+
* },
|
|
102
|
+
* ],
|
|
103
|
+
* });
|
|
104
|
+
* ```
|
|
105
|
+
*/
|
|
106
|
+
create(params, options) {
|
|
107
|
+
const { 'Idempotency-Key': idempotencyKey, ...body } = params;
|
|
108
|
+
return this._client.post('/metadata/deployment-runs/', {
|
|
109
|
+
body,
|
|
110
|
+
...options,
|
|
111
|
+
headers: (0, headers_1.buildHeaders)([
|
|
112
|
+
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
113
|
+
options?.headers,
|
|
114
|
+
]),
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Poll a metadata deployment run until the terminal field is true.
|
|
119
|
+
*
|
|
120
|
+
* Requires the Metadata entitlement.
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* ```ts
|
|
124
|
+
* const deploymentRun =
|
|
125
|
+
* await client.metadata.deploymentRuns.get('run_id');
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
get(runID, options) {
|
|
129
|
+
return this._client.get((0, path_1.path) `/metadata/deployment-runs/${runID}/`, options);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
exports.DeploymentRuns = DeploymentRuns;
|
|
133
|
+
//# sourceMappingURL=deployment-runs.js.map
|
|
@@ -0,0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AC,CAAC,CAAC,EAAE,iBAAiB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACnF,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CAAC,KAAa,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,6BAA6B,KAAK,GAAG,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;CACF;AAjID,wCAiIC"}
|
|
@@ -0,0 +1,129 @@
|
|
|
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
|
+
/**
|
|
6
|
+
* Custom objects defined by the company
|
|
7
|
+
*/
|
|
8
|
+
export class DeploymentRuns extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Queue deployment for a metadata component package and return a run id for
|
|
11
|
+
* polling.
|
|
12
|
+
*
|
|
13
|
+
* Requires the Metadata entitlement.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* const response =
|
|
18
|
+
* await client.metadata.deploymentRuns.createV2({
|
|
19
|
+
* components: [
|
|
20
|
+
* {
|
|
21
|
+
* type: 'CUSTOM_OBJECT',
|
|
22
|
+
* api_name: 'purchase_order__c',
|
|
23
|
+
* name: 'Purchase Order',
|
|
24
|
+
* description: 'Tracks purchase requests',
|
|
25
|
+
* category_api_name: 'procurement__c',
|
|
26
|
+
* },
|
|
27
|
+
* {
|
|
28
|
+
* type: 'CUSTOM_OBJECT_FIELD',
|
|
29
|
+
* custom_object_api_name: 'purchase_order__c',
|
|
30
|
+
* field_api_name: 'amount__c',
|
|
31
|
+
* field_display_name: 'Amount',
|
|
32
|
+
* data_type: {
|
|
33
|
+
* field_type: 'CURRENCY',
|
|
34
|
+
* currency: 'USD',
|
|
35
|
+
* num_of_decimal_places: 2,
|
|
36
|
+
* },
|
|
37
|
+
* is_standard: false,
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
createV2(params, options) {
|
|
44
|
+
const { 'Idempotency-Key': idempotencyKey, ...body } = params;
|
|
45
|
+
return this._client.post('/metadata/v2/deployment-runs/', {
|
|
46
|
+
body,
|
|
47
|
+
...options,
|
|
48
|
+
headers: buildHeaders([
|
|
49
|
+
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
50
|
+
options?.headers,
|
|
51
|
+
]),
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Poll a metadata deployment run until the terminal field is true.
|
|
56
|
+
*
|
|
57
|
+
* Requires the Metadata entitlement.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* const response = await client.metadata.deploymentRuns.getV2(
|
|
62
|
+
* 'run_id',
|
|
63
|
+
* );
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
getV2(runID, options) {
|
|
67
|
+
return this._client.get(path `/metadata/v2/deployment-runs/${runID}/`, options);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Queue deployment for a metadata component package and return a run id for
|
|
71
|
+
* polling.
|
|
72
|
+
*
|
|
73
|
+
* Requires the Metadata entitlement.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```ts
|
|
77
|
+
* const deploymentRun =
|
|
78
|
+
* await client.metadata.deploymentRuns.create({
|
|
79
|
+
* components: [
|
|
80
|
+
* {
|
|
81
|
+
* type: 'CUSTOM_OBJECT',
|
|
82
|
+
* api_name: 'purchase_order__c',
|
|
83
|
+
* name: 'Purchase Order',
|
|
84
|
+
* description: 'Tracks purchase requests',
|
|
85
|
+
* category_api_name: 'procurement__c',
|
|
86
|
+
* },
|
|
87
|
+
* {
|
|
88
|
+
* type: 'CUSTOM_OBJECT_FIELD',
|
|
89
|
+
* custom_object_api_name: 'purchase_order__c',
|
|
90
|
+
* field_api_name: 'amount__c',
|
|
91
|
+
* field_display_name: 'Amount',
|
|
92
|
+
* data_type: {
|
|
93
|
+
* field_type: 'CURRENCY',
|
|
94
|
+
* currency: 'USD',
|
|
95
|
+
* num_of_decimal_places: 2,
|
|
96
|
+
* },
|
|
97
|
+
* is_standard: false,
|
|
98
|
+
* },
|
|
99
|
+
* ],
|
|
100
|
+
* });
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
create(params, options) {
|
|
104
|
+
const { 'Idempotency-Key': idempotencyKey, ...body } = params;
|
|
105
|
+
return this._client.post('/metadata/deployment-runs/', {
|
|
106
|
+
body,
|
|
107
|
+
...options,
|
|
108
|
+
headers: buildHeaders([
|
|
109
|
+
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
110
|
+
options?.headers,
|
|
111
|
+
]),
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Poll a metadata deployment run until the terminal field is true.
|
|
116
|
+
*
|
|
117
|
+
* Requires the Metadata entitlement.
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* ```ts
|
|
121
|
+
* const deploymentRun =
|
|
122
|
+
* await client.metadata.deploymentRuns.get('run_id');
|
|
123
|
+
* ```
|
|
124
|
+
*/
|
|
125
|
+
get(runID, options) {
|
|
126
|
+
return this._client.get(path `/metadata/deployment-runs/${runID}/`, options);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
//# sourceMappingURL=deployment-runs.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment-runs.mjs","sourceRoot":"","sources":["../../src/resources/metadata/deployment-runs.ts"],"names":[],"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,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACnF,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CAAC,KAAa,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,6BAA6B,KAAK,GAAG,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;CACF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { ComponentSchemas, type ComponentSchemaGetResponse, type ComponentSchemaGetParams, } from "./component-schemas.mjs";
|
|
2
|
+
export { ComponentTypes, type ComponentTypeListResponse } from "./component-types.mjs";
|
|
3
|
+
export { Components, type ComponentExtractResponse, type ComponentValidateV2Response, type ComponentValidateResponse, type ComponentDeployResponse, type ComponentExtractParams, type ComponentValidateV2Params, type ComponentValidateParams, type ComponentDeployParams, } from "./components.mjs";
|
|
4
|
+
export { DeploymentRuns, type DeploymentRunCreateV2Response, type DeploymentRunGetV2Response, type DeploymentRunCreateResponse, type DeploymentRunGetResponse, type DeploymentRunCreateV2Params, type DeploymentRunCreateParams, } from "./deployment-runs.mjs";
|
|
5
|
+
export { Metadata, type MetadataExtractResponse, type MetadataExtractParams } from "./metadata.mjs";
|
|
6
|
+
export { Schema, type SchemaGetResponse, type SchemaGetParams } from "./schema.mjs";
|
|
7
|
+
export { Types, type TypeListResponse } from "./types.mjs";
|
|
8
|
+
export { ValidationRuns, type ValidationRunCreateV2Response, type ValidationRunGetV2Response, type ValidationRunCreateResponse, type ValidationRunGetResponse, type ValidationRunCreateV2Params, type ValidationRunCreateParams, } from "./validation-runs.mjs";
|
|
9
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/metadata/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gBAAgB,EAChB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B,gCAA4B;AAC7B,OAAO,EAAE,cAAc,EAAE,KAAK,yBAAyB,EAAE,8BAA0B;AACnF,OAAO,EACL,UAAU,EACV,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,GAC3B,yBAAqB;AACtB,OAAO,EACL,cAAc,EACd,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,GAC/B,8BAA0B;AAC3B,OAAO,EAAE,QAAQ,EAAE,KAAK,uBAAuB,EAAE,KAAK,qBAAqB,EAAE,uBAAmB;AAChG,OAAO,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE,qBAAiB;AAChF,OAAO,EAAE,KAAK,EAAE,KAAK,gBAAgB,EAAE,oBAAgB;AACvD,OAAO,EACL,cAAc,EACd,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,GAC/B,8BAA0B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { ComponentSchemas, type ComponentSchemaGetResponse, type ComponentSchemaGetParams, } from "./component-schemas.js";
|
|
2
|
+
export { ComponentTypes, type ComponentTypeListResponse } from "./component-types.js";
|
|
3
|
+
export { Components, type ComponentExtractResponse, type ComponentValidateV2Response, type ComponentValidateResponse, type ComponentDeployResponse, type ComponentExtractParams, type ComponentValidateV2Params, type ComponentValidateParams, type ComponentDeployParams, } from "./components.js";
|
|
4
|
+
export { DeploymentRuns, type DeploymentRunCreateV2Response, type DeploymentRunGetV2Response, type DeploymentRunCreateResponse, type DeploymentRunGetResponse, type DeploymentRunCreateV2Params, type DeploymentRunCreateParams, } from "./deployment-runs.js";
|
|
5
|
+
export { Metadata, type MetadataExtractResponse, type MetadataExtractParams } from "./metadata.js";
|
|
6
|
+
export { Schema, type SchemaGetResponse, type SchemaGetParams } from "./schema.js";
|
|
7
|
+
export { Types, type TypeListResponse } from "./types.js";
|
|
8
|
+
export { ValidationRuns, type ValidationRunCreateV2Response, type ValidationRunGetV2Response, type ValidationRunCreateResponse, type ValidationRunGetResponse, type ValidationRunCreateV2Params, type ValidationRunCreateParams, } from "./validation-runs.js";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/metadata/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gBAAgB,EAChB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B,+BAA4B;AAC7B,OAAO,EAAE,cAAc,EAAE,KAAK,yBAAyB,EAAE,6BAA0B;AACnF,OAAO,EACL,UAAU,EACV,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,GAC3B,wBAAqB;AACtB,OAAO,EACL,cAAc,EACd,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,GAC/B,6BAA0B;AAC3B,OAAO,EAAE,QAAQ,EAAE,KAAK,uBAAuB,EAAE,KAAK,qBAAqB,EAAE,sBAAmB;AAChG,OAAO,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE,oBAAiB;AAChF,OAAO,EAAE,KAAK,EAAE,KAAK,gBAAgB,EAAE,mBAAgB;AACvD,OAAO,EACL,cAAc,EACd,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,GAC/B,6BAA0B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ValidationRuns = exports.Types = exports.Schema = exports.Metadata = exports.DeploymentRuns = exports.Components = exports.ComponentTypes = exports.ComponentSchemas = void 0;
|
|
5
|
+
var component_schemas_1 = require("./component-schemas.js");
|
|
6
|
+
Object.defineProperty(exports, "ComponentSchemas", { enumerable: true, get: function () { return component_schemas_1.ComponentSchemas; } });
|
|
7
|
+
var component_types_1 = require("./component-types.js");
|
|
8
|
+
Object.defineProperty(exports, "ComponentTypes", { enumerable: true, get: function () { return component_types_1.ComponentTypes; } });
|
|
9
|
+
var components_1 = require("./components.js");
|
|
10
|
+
Object.defineProperty(exports, "Components", { enumerable: true, get: function () { return components_1.Components; } });
|
|
11
|
+
var deployment_runs_1 = require("./deployment-runs.js");
|
|
12
|
+
Object.defineProperty(exports, "DeploymentRuns", { enumerable: true, get: function () { return deployment_runs_1.DeploymentRuns; } });
|
|
13
|
+
var metadata_1 = require("./metadata.js");
|
|
14
|
+
Object.defineProperty(exports, "Metadata", { enumerable: true, get: function () { return metadata_1.Metadata; } });
|
|
15
|
+
var schema_1 = require("./schema.js");
|
|
16
|
+
Object.defineProperty(exports, "Schema", { enumerable: true, get: function () { return schema_1.Schema; } });
|
|
17
|
+
var types_1 = require("./types.js");
|
|
18
|
+
Object.defineProperty(exports, "Types", { enumerable: true, get: function () { return types_1.Types; } });
|
|
19
|
+
var validation_runs_1 = require("./validation-runs.js");
|
|
20
|
+
Object.defineProperty(exports, "ValidationRuns", { enumerable: true, get: function () { return validation_runs_1.ValidationRuns; } });
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/metadata/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4DAI6B;AAH3B,qHAAA,gBAAgB,OAAA;AAIlB,wDAAmF;AAA1E,iHAAA,cAAc,OAAA;AACvB,8CAUsB;AATpB,wGAAA,UAAU,OAAA;AAUZ,wDAQ2B;AAPzB,iHAAA,cAAc,OAAA;AAQhB,0CAAgG;AAAvF,oGAAA,QAAQ,OAAA;AACjB,sCAAgF;AAAvE,gGAAA,MAAM,OAAA;AACf,oCAAuD;AAA9C,8FAAA,KAAK,OAAA;AACd,wDAQ2B;AAPzB,iHAAA,cAAc,OAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { ComponentSchemas, } from "./component-schemas.mjs";
|
|
3
|
+
export { ComponentTypes } from "./component-types.mjs";
|
|
4
|
+
export { Components, } from "./components.mjs";
|
|
5
|
+
export { DeploymentRuns, } from "./deployment-runs.mjs";
|
|
6
|
+
export { Metadata } from "./metadata.mjs";
|
|
7
|
+
export { Schema } from "./schema.mjs";
|
|
8
|
+
export { Types } from "./types.mjs";
|
|
9
|
+
export { ValidationRuns, } from "./validation-runs.mjs";
|
|
10
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/metadata/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,gBAAgB,GAGjB,gCAA4B;AAC7B,OAAO,EAAE,cAAc,EAAkC,8BAA0B;AACnF,OAAO,EACL,UAAU,GASX,yBAAqB;AACtB,OAAO,EACL,cAAc,GAOf,8BAA0B;AAC3B,OAAO,EAAE,QAAQ,EAA4D,uBAAmB;AAChG,OAAO,EAAE,MAAM,EAAgD,qBAAiB;AAChF,OAAO,EAAE,KAAK,EAAyB,oBAAgB;AACvD,OAAO,EACL,cAAc,GAOf,8BAA0B"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as ComponentSchemasAPI from "./component-schemas.mjs";
|
|
3
|
+
import { ComponentSchemaGetParams, ComponentSchemaGetResponse, ComponentSchemas } from "./component-schemas.mjs";
|
|
4
|
+
import * as ComponentTypesAPI from "./component-types.mjs";
|
|
5
|
+
import { ComponentTypeListResponse, ComponentTypes } from "./component-types.mjs";
|
|
6
|
+
import * as ComponentsAPI from "./components.mjs";
|
|
7
|
+
import { ComponentDeployParams, ComponentDeployResponse, ComponentExtractParams, ComponentExtractResponse, ComponentValidateParams, ComponentValidateResponse, ComponentValidateV2Params, ComponentValidateV2Response, Components } from "./components.mjs";
|
|
8
|
+
import * as DeploymentRunsAPI from "./deployment-runs.mjs";
|
|
9
|
+
import { DeploymentRunCreateParams, DeploymentRunCreateResponse, DeploymentRunCreateV2Params, DeploymentRunCreateV2Response, DeploymentRunGetResponse, DeploymentRunGetV2Response, DeploymentRuns } from "./deployment-runs.mjs";
|
|
10
|
+
import * as SchemaAPI from "./schema.mjs";
|
|
11
|
+
import { Schema, SchemaGetParams, SchemaGetResponse } from "./schema.mjs";
|
|
12
|
+
import * as TypesAPI from "./types.mjs";
|
|
13
|
+
import { TypeListResponse, Types } from "./types.mjs";
|
|
14
|
+
import * as ValidationRunsAPI from "./validation-runs.mjs";
|
|
15
|
+
import { ValidationRunCreateParams, ValidationRunCreateResponse, ValidationRunCreateV2Params, ValidationRunCreateV2Response, ValidationRunGetResponse, ValidationRunGetV2Response, ValidationRuns } from "./validation-runs.mjs";
|
|
16
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
17
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
18
|
+
/**
|
|
19
|
+
* Custom objects defined by the company
|
|
20
|
+
*/
|
|
21
|
+
export declare class Metadata extends APIResource {
|
|
22
|
+
types: TypesAPI.Types;
|
|
23
|
+
schema: SchemaAPI.Schema;
|
|
24
|
+
componentTypes: ComponentTypesAPI.ComponentTypes;
|
|
25
|
+
componentSchemas: ComponentSchemasAPI.ComponentSchemas;
|
|
26
|
+
components: ComponentsAPI.Components;
|
|
27
|
+
validationRuns: ValidationRunsAPI.ValidationRuns;
|
|
28
|
+
deploymentRuns: DeploymentRunsAPI.DeploymentRuns;
|
|
29
|
+
/**
|
|
30
|
+
* Extract the company's selectable metadata components, optionally filtered by a
|
|
31
|
+
* search query.
|
|
32
|
+
*
|
|
33
|
+
* Requires the Metadata entitlement.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```ts
|
|
37
|
+
* const response = await client.metadata.extract();
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
extract(query?: MetadataExtractParams | null | undefined, options?: RequestOptions): APIPromise<MetadataExtractResponse>;
|
|
41
|
+
}
|
|
42
|
+
export interface MetadataExtractResponse {
|
|
43
|
+
/**
|
|
44
|
+
* Full component configs needed to recreate the selected roots.
|
|
45
|
+
*/
|
|
46
|
+
component_configs: Array<MetadataExtractResponse.ComponentConfig>;
|
|
47
|
+
/**
|
|
48
|
+
* Serialized dependency graph for the extracted package.
|
|
49
|
+
*/
|
|
50
|
+
dependency_graph: {
|
|
51
|
+
[key: string]: unknown;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Topological install order for the extracted package.
|
|
55
|
+
*/
|
|
56
|
+
install_order: Array<{
|
|
57
|
+
[key: string]: unknown;
|
|
58
|
+
}>;
|
|
59
|
+
/**
|
|
60
|
+
* Components selected as extraction roots.
|
|
61
|
+
*/
|
|
62
|
+
root_components: Array<MetadataExtractResponse.RootComponent>;
|
|
63
|
+
/**
|
|
64
|
+
* For search-backed extraction, whether contextual expansion completed.
|
|
65
|
+
*/
|
|
66
|
+
context_complete?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Warnings from search-backed contextual expansion.
|
|
69
|
+
*/
|
|
70
|
+
context_warnings?: Array<string>;
|
|
71
|
+
external_managed_dependencies?: Array<{
|
|
72
|
+
[key: string]: unknown;
|
|
73
|
+
}>;
|
|
74
|
+
[k: string]: unknown;
|
|
75
|
+
}
|
|
76
|
+
export declare namespace MetadataExtractResponse {
|
|
77
|
+
/**
|
|
78
|
+
* A metadata component config. The `type` field selects the concrete component
|
|
79
|
+
* schema. Fetch type-specific fields from GET /metadata/schema/?type=<TYPE>.
|
|
80
|
+
*/
|
|
81
|
+
interface ComponentConfig {
|
|
82
|
+
/**
|
|
83
|
+
* Metadata component type, such as CUSTOM_OBJECT or CUSTOM_OBJECT_FIELD.
|
|
84
|
+
*/
|
|
85
|
+
type: string;
|
|
86
|
+
[k: string]: unknown;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Selectable package root returned by metadata extraction.
|
|
90
|
+
*/
|
|
91
|
+
interface RootComponent {
|
|
92
|
+
/**
|
|
93
|
+
* Identifier for the selected component.
|
|
94
|
+
*/
|
|
95
|
+
identifier?: {
|
|
96
|
+
[key: string]: unknown;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Display name for the selectable component.
|
|
100
|
+
*/
|
|
101
|
+
name?: string;
|
|
102
|
+
[k: string]: unknown;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
export interface MetadataExtractParams {
|
|
106
|
+
/**
|
|
107
|
+
* Maximum search results to return when q is provided.
|
|
108
|
+
*/
|
|
109
|
+
limit?: number;
|
|
110
|
+
/**
|
|
111
|
+
* Optional text search over selectable components.
|
|
112
|
+
*/
|
|
113
|
+
q?: string;
|
|
114
|
+
}
|
|
115
|
+
export declare namespace Metadata {
|
|
116
|
+
export { type MetadataExtractResponse as MetadataExtractResponse, type MetadataExtractParams as MetadataExtractParams, };
|
|
117
|
+
export { Types as Types, type TypeListResponse as TypeListResponse };
|
|
118
|
+
export { Schema as Schema, type SchemaGetResponse as SchemaGetResponse, type SchemaGetParams as SchemaGetParams, };
|
|
119
|
+
export { ComponentTypes as ComponentTypes, type ComponentTypeListResponse as ComponentTypeListResponse };
|
|
120
|
+
export { ComponentSchemas as ComponentSchemas, type ComponentSchemaGetResponse as ComponentSchemaGetResponse, type ComponentSchemaGetParams as ComponentSchemaGetParams, };
|
|
121
|
+
export { Components as Components, type ComponentExtractResponse as ComponentExtractResponse, type ComponentValidateV2Response as ComponentValidateV2Response, type ComponentValidateResponse as ComponentValidateResponse, type ComponentDeployResponse as ComponentDeployResponse, type ComponentExtractParams as ComponentExtractParams, type ComponentValidateV2Params as ComponentValidateV2Params, type ComponentValidateParams as ComponentValidateParams, type ComponentDeployParams as ComponentDeployParams, };
|
|
122
|
+
export { ValidationRuns as ValidationRuns, type ValidationRunCreateV2Response as ValidationRunCreateV2Response, type ValidationRunGetV2Response as ValidationRunGetV2Response, type ValidationRunCreateResponse as ValidationRunCreateResponse, type ValidationRunGetResponse as ValidationRunGetResponse, type ValidationRunCreateV2Params as ValidationRunCreateV2Params, type ValidationRunCreateParams as ValidationRunCreateParams, };
|
|
123
|
+
export { DeploymentRuns as DeploymentRuns, type DeploymentRunCreateV2Response as DeploymentRunCreateV2Response, type DeploymentRunGetV2Response as DeploymentRunGetV2Response, type DeploymentRunCreateResponse as DeploymentRunCreateResponse, type DeploymentRunGetResponse as DeploymentRunGetResponse, type DeploymentRunCreateV2Params as DeploymentRunCreateV2Params, type DeploymentRunCreateParams as DeploymentRunCreateParams, };
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=metadata.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metadata.d.mts","sourceRoot":"","sources":["../../src/resources/metadata/metadata.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,mBAAmB,gCAA4B;AAC3D,OAAO,EAAE,w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,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EACL,cAAc,IAAI,cAAc,EAChC,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as ComponentSchemasAPI from "./component-schemas.js";
|
|
3
|
+
import { ComponentSchemaGetParams, ComponentSchemaGetResponse, ComponentSchemas } from "./component-schemas.js";
|
|
4
|
+
import * as ComponentTypesAPI from "./component-types.js";
|
|
5
|
+
import { ComponentTypeListResponse, ComponentTypes } from "./component-types.js";
|
|
6
|
+
import * as ComponentsAPI from "./components.js";
|
|
7
|
+
import { ComponentDeployParams, ComponentDeployResponse, ComponentExtractParams, ComponentExtractResponse, ComponentValidateParams, ComponentValidateResponse, ComponentValidateV2Params, ComponentValidateV2Response, Components } from "./components.js";
|
|
8
|
+
import * as DeploymentRunsAPI from "./deployment-runs.js";
|
|
9
|
+
import { DeploymentRunCreateParams, DeploymentRunCreateResponse, DeploymentRunCreateV2Params, DeploymentRunCreateV2Response, DeploymentRunGetResponse, DeploymentRunGetV2Response, DeploymentRuns } from "./deployment-runs.js";
|
|
10
|
+
import * as SchemaAPI from "./schema.js";
|
|
11
|
+
import { Schema, SchemaGetParams, SchemaGetResponse } from "./schema.js";
|
|
12
|
+
import * as TypesAPI from "./types.js";
|
|
13
|
+
import { TypeListResponse, Types } from "./types.js";
|
|
14
|
+
import * as ValidationRunsAPI from "./validation-runs.js";
|
|
15
|
+
import { ValidationRunCreateParams, ValidationRunCreateResponse, ValidationRunCreateV2Params, ValidationRunCreateV2Response, ValidationRunGetResponse, ValidationRunGetV2Response, ValidationRuns } from "./validation-runs.js";
|
|
16
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
17
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
18
|
+
/**
|
|
19
|
+
* Custom objects defined by the company
|
|
20
|
+
*/
|
|
21
|
+
export declare class Metadata extends APIResource {
|
|
22
|
+
types: TypesAPI.Types;
|
|
23
|
+
schema: SchemaAPI.Schema;
|
|
24
|
+
componentTypes: ComponentTypesAPI.ComponentTypes;
|
|
25
|
+
componentSchemas: ComponentSchemasAPI.ComponentSchemas;
|
|
26
|
+
components: ComponentsAPI.Components;
|
|
27
|
+
validationRuns: ValidationRunsAPI.ValidationRuns;
|
|
28
|
+
deploymentRuns: DeploymentRunsAPI.DeploymentRuns;
|
|
29
|
+
/**
|
|
30
|
+
* Extract the company's selectable metadata components, optionally filtered by a
|
|
31
|
+
* search query.
|
|
32
|
+
*
|
|
33
|
+
* Requires the Metadata entitlement.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```ts
|
|
37
|
+
* const response = await client.metadata.extract();
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
extract(query?: MetadataExtractParams | null | undefined, options?: RequestOptions): APIPromise<MetadataExtractResponse>;
|
|
41
|
+
}
|
|
42
|
+
export interface MetadataExtractResponse {
|
|
43
|
+
/**
|
|
44
|
+
* Full component configs needed to recreate the selected roots.
|
|
45
|
+
*/
|
|
46
|
+
component_configs: Array<MetadataExtractResponse.ComponentConfig>;
|
|
47
|
+
/**
|
|
48
|
+
* Serialized dependency graph for the extracted package.
|
|
49
|
+
*/
|
|
50
|
+
dependency_graph: {
|
|
51
|
+
[key: string]: unknown;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Topological install order for the extracted package.
|
|
55
|
+
*/
|
|
56
|
+
install_order: Array<{
|
|
57
|
+
[key: string]: unknown;
|
|
58
|
+
}>;
|
|
59
|
+
/**
|
|
60
|
+
* Components selected as extraction roots.
|
|
61
|
+
*/
|
|
62
|
+
root_components: Array<MetadataExtractResponse.RootComponent>;
|
|
63
|
+
/**
|
|
64
|
+
* For search-backed extraction, whether contextual expansion completed.
|
|
65
|
+
*/
|
|
66
|
+
context_complete?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Warnings from search-backed contextual expansion.
|
|
69
|
+
*/
|
|
70
|
+
context_warnings?: Array<string>;
|
|
71
|
+
external_managed_dependencies?: Array<{
|
|
72
|
+
[key: string]: unknown;
|
|
73
|
+
}>;
|
|
74
|
+
[k: string]: unknown;
|
|
75
|
+
}
|
|
76
|
+
export declare namespace MetadataExtractResponse {
|
|
77
|
+
/**
|
|
78
|
+
* A metadata component config. The `type` field selects the concrete component
|
|
79
|
+
* schema. Fetch type-specific fields from GET /metadata/schema/?type=<TYPE>.
|
|
80
|
+
*/
|
|
81
|
+
interface ComponentConfig {
|
|
82
|
+
/**
|
|
83
|
+
* Metadata component type, such as CUSTOM_OBJECT or CUSTOM_OBJECT_FIELD.
|
|
84
|
+
*/
|
|
85
|
+
type: string;
|
|
86
|
+
[k: string]: unknown;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Selectable package root returned by metadata extraction.
|
|
90
|
+
*/
|
|
91
|
+
interface RootComponent {
|
|
92
|
+
/**
|
|
93
|
+
* Identifier for the selected component.
|
|
94
|
+
*/
|
|
95
|
+
identifier?: {
|
|
96
|
+
[key: string]: unknown;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Display name for the selectable component.
|
|
100
|
+
*/
|
|
101
|
+
name?: string;
|
|
102
|
+
[k: string]: unknown;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
export interface MetadataExtractParams {
|
|
106
|
+
/**
|
|
107
|
+
* Maximum search results to return when q is provided.
|
|
108
|
+
*/
|
|
109
|
+
limit?: number;
|
|
110
|
+
/**
|
|
111
|
+
* Optional text search over selectable components.
|
|
112
|
+
*/
|
|
113
|
+
q?: string;
|
|
114
|
+
}
|
|
115
|
+
export declare namespace Metadata {
|
|
116
|
+
export { type MetadataExtractResponse as MetadataExtractResponse, type MetadataExtractParams as MetadataExtractParams, };
|
|
117
|
+
export { Types as Types, type TypeListResponse as TypeListResponse };
|
|
118
|
+
export { Schema as Schema, type SchemaGetResponse as SchemaGetResponse, type SchemaGetParams as SchemaGetParams, };
|
|
119
|
+
export { ComponentTypes as ComponentTypes, type ComponentTypeListResponse as ComponentTypeListResponse };
|
|
120
|
+
export { ComponentSchemas as ComponentSchemas, type ComponentSchemaGetResponse as ComponentSchemaGetResponse, type ComponentSchemaGetParams as ComponentSchemaGetParams, };
|
|
121
|
+
export { Components as Components, type ComponentExtractResponse as ComponentExtractResponse, type ComponentValidateV2Response as ComponentValidateV2Response, type ComponentValidateResponse as ComponentValidateResponse, type ComponentDeployResponse as ComponentDeployResponse, type ComponentExtractParams as ComponentExtractParams, type ComponentValidateV2Params as ComponentValidateV2Params, type ComponentValidateParams as ComponentValidateParams, type ComponentDeployParams as ComponentDeployParams, };
|
|
122
|
+
export { ValidationRuns as ValidationRuns, type ValidationRunCreateV2Response as ValidationRunCreateV2Response, type ValidationRunGetV2Response as ValidationRunGetV2Response, type ValidationRunCreateResponse as ValidationRunCreateResponse, type ValidationRunGetResponse as ValidationRunGetResponse, type ValidationRunCreateV2Params as ValidationRunCreateV2Params, type ValidationRunCreateParams as ValidationRunCreateParams, };
|
|
123
|
+
export { DeploymentRuns as DeploymentRuns, type DeploymentRunCreateV2Response as DeploymentRunCreateV2Response, type DeploymentRunGetV2Response as DeploymentRunGetV2Response, type DeploymentRunCreateResponse as DeploymentRunCreateResponse, type DeploymentRunGetResponse as DeploymentRunGetResponse, type DeploymentRunCreateV2Params as DeploymentRunCreateV2Params, type DeploymentRunCreateParams as DeploymentRunCreateParams, };
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=metadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metadata.d.ts","source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