@rippling/rippling-sdk 0.2.0-alpha.26 → 0.2.0-alpha.28
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 +195 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +195 -5
- package/client.d.ts.map +1 -1
- package/client.js +215 -20
- package/client.js.map +1 -1
- package/client.mjs +215 -20
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/utils/query.d.mts +5 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +5 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +23 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +20 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +1 -0
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +12 -1
- package/resources/business-partner-groups.d.mts +3 -0
- package/resources/business-partner-groups.d.mts.map +1 -1
- package/resources/business-partner-groups.d.ts +3 -0
- package/resources/business-partner-groups.d.ts.map +1 -1
- package/resources/business-partner-groups.js +7 -4
- package/resources/business-partner-groups.js.map +1 -1
- package/resources/business-partner-groups.mjs +7 -4
- package/resources/business-partner-groups.mjs.map +1 -1
- package/resources/business-partners.d.mts +3 -0
- package/resources/business-partners.d.mts.map +1 -1
- package/resources/business-partners.d.ts +3 -0
- package/resources/business-partners.d.ts.map +1 -1
- package/resources/business-partners.js +7 -4
- package/resources/business-partners.js.map +1 -1
- package/resources/business-partners.mjs +7 -4
- package/resources/business-partners.mjs.map +1 -1
- package/resources/candidate-applications.d.mts +3 -0
- package/resources/candidate-applications.d.mts.map +1 -1
- package/resources/candidate-applications.d.ts +3 -0
- package/resources/candidate-applications.d.ts.map +1 -1
- package/resources/candidate-applications.js +4 -1
- package/resources/candidate-applications.js.map +1 -1
- package/resources/candidate-applications.mjs +4 -1
- package/resources/candidate-applications.mjs.map +1 -1
- package/resources/candidates.d.mts +3 -0
- package/resources/candidates.d.mts.map +1 -1
- package/resources/candidates.d.ts +3 -0
- package/resources/candidates.d.ts.map +1 -1
- package/resources/candidates.js +4 -1
- package/resources/candidates.js.map +1 -1
- package/resources/candidates.mjs +4 -1
- package/resources/candidates.mjs.map +1 -1
- package/resources/companies.d.mts +3 -0
- package/resources/companies.d.mts.map +1 -1
- package/resources/companies.d.ts +3 -0
- package/resources/companies.d.ts.map +1 -1
- package/resources/companies.js +4 -1
- package/resources/companies.js.map +1 -1
- package/resources/companies.mjs +4 -1
- package/resources/companies.mjs.map +1 -1
- package/resources/compensation-bands-details.d.mts +3 -0
- package/resources/compensation-bands-details.d.mts.map +1 -1
- package/resources/compensation-bands-details.d.ts +3 -0
- package/resources/compensation-bands-details.d.ts.map +1 -1
- package/resources/compensation-bands-details.js +5 -2
- package/resources/compensation-bands-details.js.map +1 -1
- package/resources/compensation-bands-details.mjs +5 -2
- package/resources/compensation-bands-details.mjs.map +1 -1
- package/resources/compensations.d.mts +3 -0
- package/resources/compensations.d.mts.map +1 -1
- package/resources/compensations.d.ts +3 -0
- package/resources/compensations.d.ts.map +1 -1
- package/resources/compensations.js +5 -2
- package/resources/compensations.js.map +1 -1
- package/resources/compensations.mjs +5 -2
- package/resources/compensations.mjs.map +1 -1
- package/resources/create-app-notification.d.mts +29 -0
- package/resources/create-app-notification.d.mts.map +1 -0
- package/resources/create-app-notification.d.ts +29 -0
- package/resources/create-app-notification.d.ts.map +1 -0
- package/resources/create-app-notification.js +18 -0
- package/resources/create-app-notification.js.map +1 -0
- package/resources/create-app-notification.mjs +14 -0
- package/resources/create-app-notification.mjs.map +1 -0
- package/resources/custom-apps.d.mts +341 -0
- package/resources/custom-apps.d.mts.map +1 -0
- package/resources/custom-apps.d.ts +341 -0
- package/resources/custom-apps.d.ts.map +1 -0
- package/resources/custom-apps.js +47 -0
- package/resources/custom-apps.js.map +1 -0
- package/resources/custom-apps.mjs +43 -0
- package/resources/custom-apps.mjs.map +1 -0
- package/resources/custom-fields.d.mts +3 -0
- package/resources/custom-fields.d.mts.map +1 -1
- package/resources/custom-fields.d.ts +3 -0
- package/resources/custom-fields.d.ts.map +1 -1
- package/resources/custom-fields.js +4 -1
- package/resources/custom-fields.js.map +1 -1
- package/resources/custom-fields.mjs +4 -1
- package/resources/custom-fields.mjs.map +1 -1
- package/resources/custom-objects/custom-objects.d.mts +3 -0
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts +3 -0
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.js +3 -0
- package/resources/custom-objects/custom-objects.js.map +1 -1
- package/resources/custom-objects/custom-objects.mjs +3 -0
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/fields.d.mts +3 -0
- package/resources/custom-objects/fields.d.mts.map +1 -1
- package/resources/custom-objects/fields.d.ts +3 -0
- package/resources/custom-objects/fields.d.ts.map +1 -1
- package/resources/custom-objects/fields.js +3 -0
- package/resources/custom-objects/fields.js.map +1 -1
- package/resources/custom-objects/fields.mjs +3 -0
- package/resources/custom-objects/fields.mjs.map +1 -1
- package/resources/custom-objects/records.d.mts +3 -0
- package/resources/custom-objects/records.d.mts.map +1 -1
- package/resources/custom-objects/records.d.ts +3 -0
- package/resources/custom-objects/records.d.ts.map +1 -1
- package/resources/custom-objects/records.js +3 -0
- package/resources/custom-objects/records.js.map +1 -1
- package/resources/custom-objects/records.mjs +3 -0
- package/resources/custom-objects/records.mjs.map +1 -1
- package/resources/custom-pages.d.mts +177 -0
- package/resources/custom-pages.d.mts.map +1 -0
- package/resources/custom-pages.d.ts +177 -0
- package/resources/custom-pages.d.ts.map +1 -0
- package/resources/custom-pages.js +47 -0
- package/resources/custom-pages.js.map +1 -0
- package/resources/custom-pages.mjs +43 -0
- package/resources/custom-pages.mjs.map +1 -0
- package/resources/custom-settings.js +5 -5
- package/resources/custom-settings.js.map +1 -1
- package/resources/custom-settings.mjs +5 -5
- package/resources/custom-settings.mjs.map +1 -1
- package/resources/departments.d.mts +3 -0
- package/resources/departments.d.mts.map +1 -1
- package/resources/departments.d.ts +3 -0
- package/resources/departments.d.ts.map +1 -1
- package/resources/departments.js +7 -4
- package/resources/departments.js.map +1 -1
- package/resources/departments.mjs +7 -4
- package/resources/departments.mjs.map +1 -1
- package/resources/draft-hires.d.mts +3 -0
- package/resources/draft-hires.d.mts.map +1 -1
- package/resources/draft-hires.d.ts +3 -0
- package/resources/draft-hires.d.ts.map +1 -1
- package/resources/draft-hires.js +3 -0
- package/resources/draft-hires.js.map +1 -1
- package/resources/draft-hires.mjs +3 -0
- package/resources/draft-hires.mjs.map +1 -1
- package/resources/employment-types.d.mts +3 -0
- package/resources/employment-types.d.mts.map +1 -1
- package/resources/employment-types.d.ts +3 -0
- package/resources/employment-types.d.ts.map +1 -1
- package/resources/employment-types.js +5 -2
- package/resources/employment-types.js.map +1 -1
- package/resources/employment-types.mjs +5 -2
- package/resources/employment-types.mjs.map +1 -1
- package/resources/entitlements.d.mts +3 -0
- package/resources/entitlements.d.mts.map +1 -1
- package/resources/entitlements.d.ts +3 -0
- package/resources/entitlements.d.ts.map +1 -1
- package/resources/entitlements.js +4 -1
- package/resources/entitlements.js.map +1 -1
- package/resources/entitlements.mjs +4 -1
- package/resources/entitlements.mjs.map +1 -1
- package/resources/functions/deployments.d.mts +3 -0
- package/resources/functions/deployments.d.mts.map +1 -1
- package/resources/functions/deployments.d.ts +3 -0
- package/resources/functions/deployments.d.ts.map +1 -1
- package/resources/functions/deployments.js +3 -0
- package/resources/functions/deployments.js.map +1 -1
- package/resources/functions/deployments.mjs +3 -0
- package/resources/functions/deployments.mjs.map +1 -1
- package/resources/functions/executions.d.mts +3 -0
- package/resources/functions/executions.d.mts.map +1 -1
- package/resources/functions/executions.d.ts +3 -0
- package/resources/functions/executions.d.ts.map +1 -1
- package/resources/functions/executions.js +3 -0
- package/resources/functions/executions.js.map +1 -1
- package/resources/functions/executions.mjs +3 -0
- package/resources/functions/executions.mjs.map +1 -1
- package/resources/functions/functions.d.mts +15 -0
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts +15 -0
- package/resources/functions/functions.d.ts.map +1 -1
- package/resources/functions/functions.js +3 -0
- package/resources/functions/functions.js.map +1 -1
- package/resources/functions/functions.mjs +3 -0
- package/resources/functions/functions.mjs.map +1 -1
- package/resources/headcount-positions.d.mts +3 -0
- package/resources/headcount-positions.d.mts.map +1 -1
- package/resources/headcount-positions.d.ts +3 -0
- package/resources/headcount-positions.d.ts.map +1 -1
- package/resources/headcount-positions.js +5 -2
- package/resources/headcount-positions.js.map +1 -1
- package/resources/headcount-positions.mjs +5 -2
- package/resources/headcount-positions.mjs.map +1 -1
- package/resources/headcount-priorities.d.mts +3 -0
- package/resources/headcount-priorities.d.mts.map +1 -1
- package/resources/headcount-priorities.d.ts +3 -0
- package/resources/headcount-priorities.d.ts.map +1 -1
- package/resources/headcount-priorities.js +5 -2
- package/resources/headcount-priorities.js.map +1 -1
- package/resources/headcount-priorities.mjs +5 -2
- package/resources/headcount-priorities.mjs.map +1 -1
- package/resources/index.d.mts +9 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +18 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +8 -0
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.d.mts +3 -0
- package/resources/job-assignments.d.mts.map +1 -1
- package/resources/job-assignments.d.ts +3 -0
- package/resources/job-assignments.d.ts.map +1 -1
- package/resources/job-assignments.js +9 -6
- package/resources/job-assignments.js.map +1 -1
- package/resources/job-assignments.mjs +9 -6
- package/resources/job-assignments.mjs.map +1 -1
- package/resources/job-codes.d.mts +3 -0
- package/resources/job-codes.d.mts.map +1 -1
- package/resources/job-codes.d.ts +3 -0
- package/resources/job-codes.d.ts.map +1 -1
- package/resources/job-codes.js +9 -6
- package/resources/job-codes.js.map +1 -1
- package/resources/job-codes.mjs +9 -6
- package/resources/job-codes.mjs.map +1 -1
- package/resources/job-dimensions.d.mts +3 -0
- package/resources/job-dimensions.d.mts.map +1 -1
- package/resources/job-dimensions.d.ts +3 -0
- package/resources/job-dimensions.d.ts.map +1 -1
- package/resources/job-dimensions.js +8 -5
- package/resources/job-dimensions.js.map +1 -1
- package/resources/job-dimensions.mjs +8 -5
- package/resources/job-dimensions.mjs.map +1 -1
- package/resources/job-functions.d.mts +3 -0
- package/resources/job-functions.d.mts.map +1 -1
- package/resources/job-functions.d.ts +3 -0
- package/resources/job-functions.d.ts.map +1 -1
- package/resources/job-functions.js +5 -2
- package/resources/job-functions.js.map +1 -1
- package/resources/job-functions.mjs +5 -2
- package/resources/job-functions.mjs.map +1 -1
- package/resources/job-pay-rate-exceptions.d.mts +3 -0
- package/resources/job-pay-rate-exceptions.d.mts.map +1 -1
- package/resources/job-pay-rate-exceptions.d.ts +3 -0
- package/resources/job-pay-rate-exceptions.d.ts.map +1 -1
- package/resources/job-pay-rate-exceptions.js +6 -3
- package/resources/job-pay-rate-exceptions.js.map +1 -1
- package/resources/job-pay-rate-exceptions.mjs +6 -3
- package/resources/job-pay-rate-exceptions.mjs.map +1 -1
- package/resources/job-requisitions-write.d.mts +3 -0
- package/resources/job-requisitions-write.d.mts.map +1 -1
- package/resources/job-requisitions-write.d.ts +3 -0
- package/resources/job-requisitions-write.d.ts.map +1 -1
- package/resources/job-requisitions-write.js +4 -1
- package/resources/job-requisitions-write.js.map +1 -1
- package/resources/job-requisitions-write.mjs +4 -1
- package/resources/job-requisitions-write.mjs.map +1 -1
- package/resources/job-requisitions.d.mts +3 -0
- package/resources/job-requisitions.d.mts.map +1 -1
- package/resources/job-requisitions.d.ts +3 -0
- package/resources/job-requisitions.d.ts.map +1 -1
- package/resources/job-requisitions.js +7 -1
- package/resources/job-requisitions.js.map +1 -1
- package/resources/job-requisitions.mjs +7 -1
- package/resources/job-requisitions.mjs.map +1 -1
- package/resources/kiosk-badges.d.mts +3 -0
- package/resources/kiosk-badges.d.mts.map +1 -1
- package/resources/kiosk-badges.d.ts +3 -0
- package/resources/kiosk-badges.d.ts.map +1 -1
- package/resources/kiosk-badges.js +8 -5
- package/resources/kiosk-badges.js.map +1 -1
- package/resources/kiosk-badges.mjs +8 -5
- package/resources/kiosk-badges.mjs.map +1 -1
- package/resources/leave-accruals.d.mts +7 -4
- package/resources/leave-accruals.d.mts.map +1 -1
- package/resources/leave-accruals.d.ts +7 -4
- package/resources/leave-accruals.d.ts.map +1 -1
- package/resources/leave-accruals.js +6 -3
- package/resources/leave-accruals.js.map +1 -1
- package/resources/leave-accruals.mjs +6 -3
- package/resources/leave-accruals.mjs.map +1 -1
- package/resources/leave-balances.d.mts +3 -0
- package/resources/leave-balances.d.mts.map +1 -1
- package/resources/leave-balances.d.ts +3 -0
- package/resources/leave-balances.d.ts.map +1 -1
- package/resources/leave-balances.js +5 -2
- package/resources/leave-balances.js.map +1 -1
- package/resources/leave-balances.mjs +5 -2
- package/resources/leave-balances.mjs.map +1 -1
- package/resources/leave-requests.d.mts +3 -0
- package/resources/leave-requests.d.mts.map +1 -1
- package/resources/leave-requests.d.ts +3 -0
- package/resources/leave-requests.d.ts.map +1 -1
- package/resources/leave-requests.js +7 -4
- package/resources/leave-requests.js.map +1 -1
- package/resources/leave-requests.mjs +7 -4
- package/resources/leave-requests.mjs.map +1 -1
- package/resources/leave-types.d.mts +3 -0
- package/resources/leave-types.d.mts.map +1 -1
- package/resources/leave-types.d.ts +3 -0
- package/resources/leave-types.d.ts.map +1 -1
- package/resources/leave-types.js +5 -2
- package/resources/leave-types.js.map +1 -1
- package/resources/leave-types.mjs +5 -2
- package/resources/leave-types.mjs.map +1 -1
- package/resources/legal-entities.d.mts +3 -0
- package/resources/legal-entities.d.mts.map +1 -1
- package/resources/legal-entities.d.ts +3 -0
- package/resources/legal-entities.d.ts.map +1 -1
- package/resources/legal-entities.js +5 -2
- package/resources/legal-entities.js.map +1 -1
- package/resources/legal-entities.mjs +5 -2
- package/resources/legal-entities.mjs.map +1 -1
- package/resources/levels.d.mts +3 -0
- package/resources/levels.d.mts.map +1 -1
- package/resources/levels.d.ts +3 -0
- package/resources/levels.d.ts.map +1 -1
- package/resources/levels.js +5 -2
- package/resources/levels.js.map +1 -1
- package/resources/levels.mjs +5 -2
- package/resources/levels.mjs.map +1 -1
- package/resources/location-factors.d.mts +3 -0
- package/resources/location-factors.d.mts.map +1 -1
- package/resources/location-factors.d.ts +3 -0
- package/resources/location-factors.d.ts.map +1 -1
- package/resources/location-factors.js +5 -2
- package/resources/location-factors.js.map +1 -1
- package/resources/location-factors.mjs +5 -2
- package/resources/location-factors.mjs.map +1 -1
- package/resources/metadata/components.d.mts +28 -0
- package/resources/metadata/components.d.mts.map +1 -0
- package/resources/metadata/components.d.ts +28 -0
- package/resources/metadata/components.d.ts.map +1 -0
- package/resources/metadata/components.js +21 -0
- package/resources/metadata/components.js.map +1 -0
- package/resources/metadata/components.mjs +17 -0
- package/resources/metadata/components.mjs.map +1 -0
- package/resources/metadata/index.d.mts +5 -0
- package/resources/metadata/index.d.mts.map +1 -0
- package/resources/metadata/index.d.ts +5 -0
- package/resources/metadata/index.d.ts.map +1 -0
- package/resources/metadata/index.js +13 -0
- package/resources/metadata/index.js.map +1 -0
- package/resources/metadata/index.mjs +6 -0
- package/resources/metadata/index.mjs.map +1 -0
- package/resources/metadata/metadata.d.mts +40 -0
- package/resources/metadata/metadata.d.mts.map +1 -0
- package/resources/metadata/metadata.d.ts +40 -0
- package/resources/metadata/metadata.d.ts.map +1 -0
- package/resources/metadata/metadata.js +37 -0
- package/resources/metadata/metadata.js.map +1 -0
- package/resources/metadata/metadata.mjs +32 -0
- package/resources/metadata/metadata.mjs.map +1 -0
- package/resources/metadata/summary.d.mts +28 -0
- package/resources/metadata/summary.d.mts.map +1 -0
- package/resources/metadata/summary.d.ts +28 -0
- package/resources/metadata/summary.d.ts.map +1 -0
- package/resources/metadata/summary.js +21 -0
- package/resources/metadata/summary.js.map +1 -0
- package/resources/metadata/summary.mjs +17 -0
- package/resources/metadata/summary.mjs.map +1 -0
- package/resources/metadata/types.d.mts +28 -0
- package/resources/metadata/types.d.mts.map +1 -0
- package/resources/metadata/types.d.ts +28 -0
- package/resources/metadata/types.d.ts.map +1 -0
- package/resources/metadata/types.js +21 -0
- package/resources/metadata/types.js.map +1 -0
- package/resources/metadata/types.mjs +17 -0
- package/resources/metadata/types.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 +3 -0
- package/resources/object-categories.d.mts.map +1 -1
- package/resources/object-categories.d.ts +3 -0
- package/resources/object-categories.d.ts.map +1 -1
- package/resources/object-categories.js +3 -0
- package/resources/object-categories.js.map +1 -1
- package/resources/object-categories.mjs +3 -0
- package/resources/object-categories.mjs.map +1 -1
- package/resources/platform-capabilities.d.mts +25 -0
- package/resources/platform-capabilities.d.mts.map +1 -0
- package/resources/platform-capabilities.d.ts +25 -0
- package/resources/platform-capabilities.d.ts.map +1 -0
- package/resources/platform-capabilities.js +21 -0
- package/resources/platform-capabilities.js.map +1 -0
- package/resources/platform-capabilities.mjs +17 -0
- package/resources/platform-capabilities.mjs.map +1 -0
- package/resources/report-runs.d.mts +21 -12
- package/resources/report-runs.d.mts.map +1 -1
- package/resources/report-runs.d.ts +21 -12
- package/resources/report-runs.d.ts.map +1 -1
- package/resources/report-runs.js +5 -2
- package/resources/report-runs.js.map +1 -1
- package/resources/report-runs.mjs +5 -2
- package/resources/report-runs.mjs.map +1 -1
- package/resources/run-query.d.mts +39 -0
- package/resources/run-query.d.mts.map +1 -0
- package/resources/run-query.d.ts +39 -0
- package/resources/run-query.d.ts.map +1 -0
- package/resources/run-query.js +21 -0
- package/resources/run-query.js.map +1 -0
- package/resources/run-query.mjs +17 -0
- package/resources/run-query.mjs.map +1 -0
- package/resources/schedules.d.mts +3 -0
- package/resources/schedules.d.mts.map +1 -1
- package/resources/schedules.d.ts +3 -0
- package/resources/schedules.d.ts.map +1 -1
- package/resources/schedules.js +7 -4
- package/resources/schedules.js.map +1 -1
- package/resources/schedules.mjs +7 -4
- package/resources/schedules.mjs.map +1 -1
- package/resources/send-email.d.mts +33 -0
- package/resources/send-email.d.mts.map +1 -0
- package/resources/send-email.d.ts +33 -0
- package/resources/send-email.d.ts.map +1 -0
- package/resources/send-email.js +18 -0
- package/resources/send-email.js.map +1 -0
- package/resources/send-email.mjs +14 -0
- package/resources/send-email.mjs.map +1 -0
- package/resources/send-slack.d.mts +30 -0
- package/resources/send-slack.d.mts.map +1 -0
- package/resources/send-slack.d.ts +30 -0
- package/resources/send-slack.d.ts.map +1 -0
- package/resources/send-slack.js +18 -0
- package/resources/send-slack.js.map +1 -0
- package/resources/send-slack.mjs +14 -0
- package/resources/send-slack.mjs.map +1 -0
- package/resources/shift-assignments.d.mts +3 -0
- package/resources/shift-assignments.d.mts.map +1 -1
- package/resources/shift-assignments.d.ts +3 -0
- package/resources/shift-assignments.d.ts.map +1 -1
- package/resources/shift-assignments.js +4 -1
- package/resources/shift-assignments.js.map +1 -1
- package/resources/shift-assignments.mjs +4 -1
- package/resources/shift-assignments.mjs.map +1 -1
- package/resources/shift-inputs.d.mts +3 -0
- package/resources/shift-inputs.d.mts.map +1 -1
- package/resources/shift-inputs.d.ts +3 -0
- package/resources/shift-inputs.d.ts.map +1 -1
- package/resources/shift-inputs.js +8 -5
- package/resources/shift-inputs.js.map +1 -1
- package/resources/shift-inputs.mjs +8 -5
- package/resources/shift-inputs.mjs.map +1 -1
- package/resources/shiftassignments.d.mts +3 -0
- package/resources/shiftassignments.d.mts.map +1 -1
- package/resources/shiftassignments.d.ts +3 -0
- package/resources/shiftassignments.d.ts.map +1 -1
- package/resources/shiftassignments.js +7 -4
- package/resources/shiftassignments.js.map +1 -1
- package/resources/shiftassignments.mjs +7 -4
- package/resources/shiftassignments.mjs.map +1 -1
- package/resources/sso-me.d.mts +6 -3
- package/resources/sso-me.d.mts.map +1 -1
- package/resources/sso-me.d.ts +6 -3
- package/resources/sso-me.d.ts.map +1 -1
- package/resources/sso-me.js +5 -2
- package/resources/sso-me.js.map +1 -1
- package/resources/sso-me.mjs +5 -2
- package/resources/sso-me.mjs.map +1 -1
- package/resources/supergroups/exclusion-members.d.mts +3 -0
- package/resources/supergroups/exclusion-members.d.mts.map +1 -1
- package/resources/supergroups/exclusion-members.d.ts +3 -0
- package/resources/supergroups/exclusion-members.d.ts.map +1 -1
- package/resources/supergroups/exclusion-members.js +5 -2
- package/resources/supergroups/exclusion-members.js.map +1 -1
- package/resources/supergroups/exclusion-members.mjs +5 -2
- package/resources/supergroups/exclusion-members.mjs.map +1 -1
- package/resources/supergroups/inclusion-members.d.mts +3 -0
- package/resources/supergroups/inclusion-members.d.mts.map +1 -1
- package/resources/supergroups/inclusion-members.d.ts +3 -0
- package/resources/supergroups/inclusion-members.d.ts.map +1 -1
- package/resources/supergroups/inclusion-members.js +5 -2
- package/resources/supergroups/inclusion-members.js.map +1 -1
- package/resources/supergroups/inclusion-members.mjs +5 -2
- package/resources/supergroups/inclusion-members.mjs.map +1 -1
- package/resources/supergroups/members.d.mts +3 -0
- package/resources/supergroups/members.d.mts.map +1 -1
- package/resources/supergroups/members.d.ts +3 -0
- package/resources/supergroups/members.d.ts.map +1 -1
- package/resources/supergroups/members.js +4 -4
- package/resources/supergroups/members.js.map +1 -1
- package/resources/supergroups/members.mjs +4 -4
- package/resources/supergroups/members.mjs.map +1 -1
- package/resources/supergroups/supergroups.d.mts +3 -0
- package/resources/supergroups/supergroups.d.mts.map +1 -1
- package/resources/supergroups/supergroups.d.ts +3 -0
- package/resources/supergroups/supergroups.d.ts.map +1 -1
- package/resources/supergroups/supergroups.js +5 -2
- package/resources/supergroups/supergroups.js.map +1 -1
- package/resources/supergroups/supergroups.mjs +5 -2
- package/resources/supergroups/supergroups.mjs.map +1 -1
- package/resources/teams.d.mts +3 -0
- package/resources/teams.d.mts.map +1 -1
- package/resources/teams.d.ts +3 -0
- package/resources/teams.d.ts.map +1 -1
- package/resources/teams.js +5 -2
- package/resources/teams.js.map +1 -1
- package/resources/teams.mjs +5 -2
- package/resources/teams.mjs.map +1 -1
- package/resources/time-cards.d.mts +3 -0
- package/resources/time-cards.d.mts.map +1 -1
- package/resources/time-cards.d.ts +3 -0
- package/resources/time-cards.d.ts.map +1 -1
- package/resources/time-cards.js +5 -2
- package/resources/time-cards.js.map +1 -1
- package/resources/time-cards.mjs +5 -2
- package/resources/time-cards.mjs.map +1 -1
- package/resources/time-entries.d.mts +5 -1
- package/resources/time-entries.d.mts.map +1 -1
- package/resources/time-entries.d.ts +5 -1
- package/resources/time-entries.d.ts.map +1 -1
- package/resources/time-entries.js +10 -6
- package/resources/time-entries.js.map +1 -1
- package/resources/time-entries.mjs +10 -6
- package/resources/time-entries.mjs.map +1 -1
- package/resources/titles.d.mts +3 -0
- package/resources/titles.d.mts.map +1 -1
- package/resources/titles.d.ts +3 -0
- package/resources/titles.d.ts.map +1 -1
- package/resources/titles.js +8 -5
- package/resources/titles.js.map +1 -1
- package/resources/titles.mjs +8 -5
- package/resources/titles.mjs.map +1 -1
- package/resources/tracks.d.mts +3 -0
- package/resources/tracks.d.mts.map +1 -1
- package/resources/tracks.d.ts +3 -0
- package/resources/tracks.d.ts.map +1 -1
- package/resources/tracks.js +5 -2
- package/resources/tracks.js.map +1 -1
- package/resources/tracks.mjs +5 -2
- package/resources/tracks.mjs.map +1 -1
- package/resources/unassigned-shifts.d.mts +3 -0
- package/resources/unassigned-shifts.d.mts.map +1 -1
- package/resources/unassigned-shifts.d.ts +3 -0
- package/resources/unassigned-shifts.d.ts.map +1 -1
- package/resources/unassigned-shifts.js +5 -2
- package/resources/unassigned-shifts.js.map +1 -1
- package/resources/unassigned-shifts.mjs +5 -2
- package/resources/unassigned-shifts.mjs.map +1 -1
- package/resources/unassignedshifts.d.mts +3 -0
- package/resources/unassignedshifts.d.mts.map +1 -1
- package/resources/unassignedshifts.d.ts +3 -0
- package/resources/unassignedshifts.d.ts.map +1 -1
- package/resources/unassignedshifts.js +7 -4
- package/resources/unassignedshifts.js.map +1 -1
- package/resources/unassignedshifts.mjs +7 -4
- package/resources/unassignedshifts.mjs.map +1 -1
- package/resources/users.d.mts +3 -0
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +3 -0
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +5 -2
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +5 -2
- package/resources/users.mjs.map +1 -1
- package/resources/work-locations.d.mts +7 -0
- package/resources/work-locations.d.mts.map +1 -1
- package/resources/work-locations.d.ts +7 -0
- package/resources/work-locations.d.ts.map +1 -1
- package/resources/work-locations.js +17 -4
- package/resources/work-locations.js.map +1 -1
- package/resources/work-locations.mjs +17 -4
- package/resources/work-locations.mjs.map +1 -1
- package/resources/workers.d.mts +11 -4
- package/resources/workers.d.mts.map +1 -1
- package/resources/workers.d.ts +11 -4
- package/resources/workers.d.ts.map +1 -1
- package/resources/workers.js +5 -2
- package/resources/workers.js.map +1 -1
- package/resources/workers.mjs +5 -2
- package/resources/workers.mjs.map +1 -1
- package/src/client.ts +315 -33
- package/src/internal/parse.ts +6 -0
- package/src/internal/utils/query.ts +23 -0
- package/src/internal/utils.ts +1 -0
- package/src/resources/business-partner-groups.ts +7 -4
- package/src/resources/business-partners.ts +7 -4
- package/src/resources/candidate-applications.ts +4 -1
- package/src/resources/candidates.ts +4 -1
- package/src/resources/companies.ts +4 -1
- package/src/resources/compensation-bands-details.ts +5 -2
- package/src/resources/compensations.ts +5 -2
- package/src/resources/create-app-notification.ts +46 -0
- package/src/resources/custom-apps.ts +442 -0
- package/src/resources/custom-fields.ts +4 -1
- package/src/resources/custom-objects/custom-objects.ts +3 -0
- package/src/resources/custom-objects/fields.ts +3 -0
- package/src/resources/custom-objects/records.ts +3 -0
- package/src/resources/custom-pages.ts +247 -0
- package/src/resources/custom-settings.ts +5 -5
- package/src/resources/departments.ts +7 -4
- package/src/resources/draft-hires.ts +3 -0
- package/src/resources/employment-types.ts +5 -2
- package/src/resources/entitlements.ts +4 -1
- package/src/resources/functions/deployments.ts +3 -0
- package/src/resources/functions/executions.ts +3 -0
- package/src/resources/functions/functions.ts +18 -0
- package/src/resources/headcount-positions.ts +5 -2
- package/src/resources/headcount-priorities.ts +5 -2
- package/src/resources/index.ts +39 -1
- package/src/resources/job-assignments.ts +9 -6
- package/src/resources/job-codes.ts +9 -6
- package/src/resources/job-dimensions.ts +8 -5
- package/src/resources/job-functions.ts +5 -2
- package/src/resources/job-pay-rate-exceptions.ts +6 -3
- package/src/resources/job-requisitions-write.ts +4 -1
- package/src/resources/job-requisitions.ts +7 -1
- package/src/resources/kiosk-badges.ts +8 -5
- package/src/resources/leave-accruals.ts +14 -7
- package/src/resources/leave-balances.ts +5 -2
- package/src/resources/leave-requests.ts +7 -4
- package/src/resources/leave-types.ts +5 -2
- package/src/resources/legal-entities.ts +5 -2
- package/src/resources/levels.ts +5 -2
- package/src/resources/location-factors.ts +5 -2
- package/src/resources/metadata/components.ts +38 -0
- package/src/resources/metadata/index.ts +10 -0
- package/src/resources/metadata/metadata.ts +70 -0
- package/src/resources/metadata/summary.ts +38 -0
- package/src/resources/metadata/types.ts +38 -0
- package/src/resources/metadata.ts +3 -0
- package/src/resources/object-categories.ts +3 -0
- package/src/resources/platform-capabilities.ts +41 -0
- package/src/resources/report-runs.ts +24 -14
- package/src/resources/run-query.ts +51 -0
- package/src/resources/schedules.ts +7 -4
- package/src/resources/send-email.ts +48 -0
- package/src/resources/send-slack.ts +42 -0
- package/src/resources/shift-assignments.ts +4 -1
- package/src/resources/shift-inputs.ts +8 -5
- package/src/resources/shiftassignments.ts +7 -4
- package/src/resources/sso-me.ts +7 -4
- package/src/resources/supergroups/exclusion-members.ts +5 -2
- package/src/resources/supergroups/inclusion-members.ts +5 -2
- package/src/resources/supergroups/members.ts +8 -4
- package/src/resources/supergroups/supergroups.ts +5 -2
- package/src/resources/teams.ts +5 -2
- package/src/resources/time-cards.ts +5 -2
- package/src/resources/time-entries.ts +10 -6
- package/src/resources/titles.ts +8 -5
- package/src/resources/tracks.ts +5 -2
- package/src/resources/unassigned-shifts.ts +5 -2
- package/src/resources/unassignedshifts.ts +7 -4
- package/src/resources/users.ts +5 -2
- package/src/resources/work-locations.ts +18 -4
- package/src/resources/workers.ts +13 -5
- 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,247 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import * as BusinessPartnersAPI from './business-partners';
|
|
5
|
+
import { APIPromise } from '../core/api-promise';
|
|
6
|
+
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
7
|
+
import { buildHeaders } from '../internal/headers';
|
|
8
|
+
import { RequestOptions } from '../internal/request-options';
|
|
9
|
+
import { path } from '../internal/utils/path';
|
|
10
|
+
|
|
11
|
+
export class CustomPages extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* A List of CustomPage
|
|
14
|
+
*
|
|
15
|
+
* - Requires: `API Tier 1`
|
|
16
|
+
*/
|
|
17
|
+
list(options?: RequestOptions): PagePromise<CustomPageListResponsesPageCursorURL, CustomPageListResponse> {
|
|
18
|
+
return this._client.getAPIList('/custom-pages/', PageCursorURL<CustomPageListResponse>, options);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Create a new CustomPage
|
|
23
|
+
*/
|
|
24
|
+
create(
|
|
25
|
+
body: CustomPageCreateParams | null | undefined = {},
|
|
26
|
+
options?: RequestOptions,
|
|
27
|
+
): APIPromise<CustomPageCreateResponse> {
|
|
28
|
+
return this._client.post('/custom-pages/', { body, ...options });
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Retrieve a specific CustomPage
|
|
33
|
+
*/
|
|
34
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<CustomPageRetrieveResponse> {
|
|
35
|
+
return this._client.get(path`/custom-pages/${id}/`, options);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Updated a specific CustomPage
|
|
40
|
+
*/
|
|
41
|
+
update(
|
|
42
|
+
id: string,
|
|
43
|
+
body: CustomPageUpdateParams | null | undefined = {},
|
|
44
|
+
options?: RequestOptions,
|
|
45
|
+
): APIPromise<CustomPageUpdateResponse> {
|
|
46
|
+
return this._client.patch(path`/custom-pages/${id}/`, { body, ...options });
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Delete a CustomPage
|
|
51
|
+
*/
|
|
52
|
+
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
53
|
+
return this._client.delete(path`/custom-pages/${id}/`, {
|
|
54
|
+
...options,
|
|
55
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export type CustomPageListResponsesPageCursorURL = PageCursorURL<CustomPageListResponse>;
|
|
61
|
+
|
|
62
|
+
export interface CustomPageListResponse {
|
|
63
|
+
/**
|
|
64
|
+
* Identifier field
|
|
65
|
+
*/
|
|
66
|
+
id?: string;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Record creation date
|
|
70
|
+
*/
|
|
71
|
+
created_at?: string;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* The ID of the role that created the page
|
|
75
|
+
*/
|
|
76
|
+
created_by?: string;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* The ID of the Rippling Function that renders this page
|
|
80
|
+
*/
|
|
81
|
+
function_id?: string;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* The display name of the custom page
|
|
85
|
+
*/
|
|
86
|
+
name?: string;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Record update date
|
|
90
|
+
*/
|
|
91
|
+
updated_at?: string;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* The ID of the role that last modified the page
|
|
95
|
+
*/
|
|
96
|
+
updated_by?: string;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export interface CustomPageCreateResponse {
|
|
100
|
+
/**
|
|
101
|
+
* Identifier field
|
|
102
|
+
*/
|
|
103
|
+
id?: string;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Record creation date
|
|
107
|
+
*/
|
|
108
|
+
created_at?: string;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* The ID of the role that created the page
|
|
112
|
+
*/
|
|
113
|
+
created_by?: string;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* The ID of the Rippling Function that renders this page
|
|
117
|
+
*/
|
|
118
|
+
function_id?: string;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* The display name of the custom page
|
|
122
|
+
*/
|
|
123
|
+
name?: string;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Record update date
|
|
127
|
+
*/
|
|
128
|
+
updated_at?: string;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* The ID of the role that last modified the page
|
|
132
|
+
*/
|
|
133
|
+
updated_by?: string;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Meta information for the response.
|
|
138
|
+
*/
|
|
139
|
+
export interface CustomPageRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
140
|
+
/**
|
|
141
|
+
* Identifier field
|
|
142
|
+
*/
|
|
143
|
+
id?: string;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Record creation date
|
|
147
|
+
*/
|
|
148
|
+
created_at?: string;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* The ID of the role that created the page
|
|
152
|
+
*/
|
|
153
|
+
created_by?: string;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* The ID of the Rippling Function that renders this page
|
|
157
|
+
*/
|
|
158
|
+
function_id?: string;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* The display name of the custom page
|
|
162
|
+
*/
|
|
163
|
+
name?: string;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Record update date
|
|
167
|
+
*/
|
|
168
|
+
updated_at?: string;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* The ID of the role that last modified the page
|
|
172
|
+
*/
|
|
173
|
+
updated_by?: string;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export interface CustomPageUpdateResponse {
|
|
177
|
+
/**
|
|
178
|
+
* Identifier field
|
|
179
|
+
*/
|
|
180
|
+
id?: string;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Record creation date
|
|
184
|
+
*/
|
|
185
|
+
created_at?: string;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* The ID of the role that created the page
|
|
189
|
+
*/
|
|
190
|
+
created_by?: string;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* The ID of the Rippling Function that renders this page
|
|
194
|
+
*/
|
|
195
|
+
function_id?: string;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* The display name of the custom page
|
|
199
|
+
*/
|
|
200
|
+
name?: string;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Record update date
|
|
204
|
+
*/
|
|
205
|
+
updated_at?: string;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* The ID of the role that last modified the page
|
|
209
|
+
*/
|
|
210
|
+
updated_by?: string;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export interface CustomPageCreateParams {
|
|
214
|
+
/**
|
|
215
|
+
* The ID of the Rippling Function that renders this page
|
|
216
|
+
*/
|
|
217
|
+
function_id?: string;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* The display name of the custom page
|
|
221
|
+
*/
|
|
222
|
+
name?: string;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export interface CustomPageUpdateParams {
|
|
226
|
+
/**
|
|
227
|
+
* The ID of the Rippling Function that renders this page
|
|
228
|
+
*/
|
|
229
|
+
function_id?: string;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* The display name of the custom page
|
|
233
|
+
*/
|
|
234
|
+
name?: string;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export declare namespace CustomPages {
|
|
238
|
+
export {
|
|
239
|
+
type CustomPageListResponse as CustomPageListResponse,
|
|
240
|
+
type CustomPageCreateResponse as CustomPageCreateResponse,
|
|
241
|
+
type CustomPageRetrieveResponse as CustomPageRetrieveResponse,
|
|
242
|
+
type CustomPageUpdateResponse as CustomPageUpdateResponse,
|
|
243
|
+
type CustomPageListResponsesPageCursorURL as CustomPageListResponsesPageCursorURL,
|
|
244
|
+
type CustomPageCreateParams as CustomPageCreateParams,
|
|
245
|
+
type CustomPageUpdateParams as CustomPageUpdateParams,
|
|
246
|
+
};
|
|
247
|
+
}
|
|
@@ -19,7 +19,7 @@ export class CustomSettings extends APIResource {
|
|
|
19
19
|
query: CustomSettingListParams | null | undefined = {},
|
|
20
20
|
options?: RequestOptions,
|
|
21
21
|
): PagePromise<CustomSettingListResponsesPageCursorURL, CustomSettingListResponse> {
|
|
22
|
-
return this._client.getAPIList('/custom-settings', PageCursorURL<CustomSettingListResponse>, {
|
|
22
|
+
return this._client.getAPIList('/custom-settings/', PageCursorURL<CustomSettingListResponse>, {
|
|
23
23
|
query,
|
|
24
24
|
...options,
|
|
25
25
|
});
|
|
@@ -32,14 +32,14 @@ export class CustomSettings extends APIResource {
|
|
|
32
32
|
body: CustomSettingCreateParams | null | undefined = {},
|
|
33
33
|
options?: RequestOptions,
|
|
34
34
|
): APIPromise<CustomSettingCreateResponse> {
|
|
35
|
-
return this._client.post('/custom-settings', { body, ...options });
|
|
35
|
+
return this._client.post('/custom-settings/', { body, ...options });
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Retrieve a specific Setting
|
|
40
40
|
*/
|
|
41
41
|
retrieve(id: string, options?: RequestOptions): APIPromise<CustomSettingRetrieveResponse> {
|
|
42
|
-
return this._client.get(path`/custom-settings/${id}
|
|
42
|
+
return this._client.get(path`/custom-settings/${id}/`, options);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
@@ -50,14 +50,14 @@ export class CustomSettings extends APIResource {
|
|
|
50
50
|
body: CustomSettingUpdateParams | null | undefined = {},
|
|
51
51
|
options?: RequestOptions,
|
|
52
52
|
): APIPromise<CustomSettingUpdateResponse> {
|
|
53
|
-
return this._client.patch(path`/custom-settings/${id}
|
|
53
|
+
return this._client.patch(path`/custom-settings/${id}/`, { body, ...options });
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
57
|
* Delete a Setting
|
|
58
58
|
*/
|
|
59
59
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
60
|
-
return this._client.delete(path`/custom-settings/${id}
|
|
60
|
+
return this._client.delete(path`/custom-settings/${id}/`, {
|
|
61
61
|
...options,
|
|
62
62
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
63
63
|
});
|
|
@@ -7,6 +7,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
|
7
7
|
import { RequestOptions } from '../internal/request-options';
|
|
8
8
|
import { path } from '../internal/utils/path';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Departments used by the company
|
|
12
|
+
*/
|
|
10
13
|
export class Departments extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* A List of departments
|
|
@@ -19,14 +22,14 @@ export class Departments extends APIResource {
|
|
|
19
22
|
query: DepartmentListParams | null | undefined = {},
|
|
20
23
|
options?: RequestOptions,
|
|
21
24
|
): PagePromise<DepartmentsPageCursorURL, Department> {
|
|
22
|
-
return this._client.getAPIList('/departments', PageCursorURL<Department>, { query, ...options });
|
|
25
|
+
return this._client.getAPIList('/departments/', PageCursorURL<Department>, { query, ...options });
|
|
23
26
|
}
|
|
24
27
|
|
|
25
28
|
/**
|
|
26
29
|
* Create a new department
|
|
27
30
|
*/
|
|
28
31
|
create(body: DepartmentCreateParams, options?: RequestOptions): APIPromise<Department> {
|
|
29
|
-
return this._client.post('/departments', { body, ...options });
|
|
32
|
+
return this._client.post('/departments/', { body, ...options });
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
/**
|
|
@@ -37,14 +40,14 @@ export class Departments extends APIResource {
|
|
|
37
40
|
query: DepartmentRetrieveParams | null | undefined = {},
|
|
38
41
|
options?: RequestOptions,
|
|
39
42
|
): APIPromise<DepartmentRetrieveResponse> {
|
|
40
|
-
return this._client.get(path`/departments/${id}
|
|
43
|
+
return this._client.get(path`/departments/${id}/`, { query, ...options });
|
|
41
44
|
}
|
|
42
45
|
|
|
43
46
|
/**
|
|
44
47
|
* Updated a specific department
|
|
45
48
|
*/
|
|
46
49
|
update(id: string, body: DepartmentUpdateParams, options?: RequestOptions): APIPromise<Department> {
|
|
47
|
-
return this._client.patch(path`/departments/${id}
|
|
50
|
+
return this._client.patch(path`/departments/${id}/`, { body, ...options });
|
|
48
51
|
}
|
|
49
52
|
}
|
|
50
53
|
|
|
@@ -5,6 +5,9 @@ import * as Shared from './shared';
|
|
|
5
5
|
import { APIPromise } from '../core/api-promise';
|
|
6
6
|
import { RequestOptions } from '../internal/request-options';
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Candidates who have not yet started work at the company
|
|
10
|
+
*/
|
|
8
11
|
export class DraftHires extends APIResource {
|
|
9
12
|
/**
|
|
10
13
|
* Create bulk draft hire
|
|
@@ -7,6 +7,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
|
7
7
|
import { RequestOptions } from '../internal/request-options';
|
|
8
8
|
import { path } from '../internal/utils/path';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Employment types used by the company
|
|
12
|
+
*/
|
|
10
13
|
export class EmploymentTypes extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* A List of employment types
|
|
@@ -18,7 +21,7 @@ export class EmploymentTypes extends APIResource {
|
|
|
18
21
|
query: EmploymentTypeListParams | null | undefined = {},
|
|
19
22
|
options?: RequestOptions,
|
|
20
23
|
): PagePromise<CompanyEmploymentTypesPageCursorURL, CompanyEmploymentType> {
|
|
21
|
-
return this._client.getAPIList('/employment-types', PageCursorURL<CompanyEmploymentType>, {
|
|
24
|
+
return this._client.getAPIList('/employment-types/', PageCursorURL<CompanyEmploymentType>, {
|
|
22
25
|
query,
|
|
23
26
|
...options,
|
|
24
27
|
});
|
|
@@ -28,7 +31,7 @@ export class EmploymentTypes extends APIResource {
|
|
|
28
31
|
* Retrieve a specific employment type
|
|
29
32
|
*/
|
|
30
33
|
retrieve(id: string, options?: RequestOptions): APIPromise<EmploymentTypeRetrieveResponse> {
|
|
31
|
-
return this._client.get(path`/employment-types/${id}
|
|
34
|
+
return this._client.get(path`/employment-types/${id}/`, options);
|
|
32
35
|
}
|
|
33
36
|
}
|
|
34
37
|
|
|
@@ -4,6 +4,9 @@ import { APIResource } from '../core/resource';
|
|
|
4
4
|
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
5
5
|
import { RequestOptions } from '../internal/request-options';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* Availability of API features to the company or Partners.
|
|
9
|
+
*/
|
|
7
10
|
export class Entitlements extends APIResource {
|
|
8
11
|
/**
|
|
9
12
|
* A List of entitlements
|
|
@@ -13,7 +16,7 @@ export class Entitlements extends APIResource {
|
|
|
13
16
|
list(
|
|
14
17
|
options?: RequestOptions,
|
|
15
18
|
): PagePromise<EntitlementListResponsesPageCursorURL, EntitlementListResponse> {
|
|
16
|
-
return this._client.getAPIList('/entitlements', PageCursorURL<EntitlementListResponse>, options);
|
|
19
|
+
return this._client.getAPIList('/entitlements/', PageCursorURL<EntitlementListResponse>, options);
|
|
17
20
|
}
|
|
18
21
|
}
|
|
19
22
|
|
|
@@ -5,6 +5,9 @@ import { APIPromise } from '../../core/api-promise';
|
|
|
5
5
|
import { RequestOptions } from '../../internal/request-options';
|
|
6
6
|
import { path } from '../../internal/utils/path';
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Functions defined by the company
|
|
10
|
+
*/
|
|
8
11
|
export class Deployments extends APIResource {
|
|
9
12
|
/**
|
|
10
13
|
* A List of function deployments
|
|
@@ -6,6 +6,9 @@ import { PageCursorURL, PagePromise } from '../../core/pagination';
|
|
|
6
6
|
import { RequestOptions } from '../../internal/request-options';
|
|
7
7
|
import { path } from '../../internal/utils/path';
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Functions defined by the company
|
|
11
|
+
*/
|
|
9
12
|
export class Executions extends APIResource {
|
|
10
13
|
/**
|
|
11
14
|
* A List of function executions
|
|
@@ -27,6 +27,9 @@ import { PageCursorURL, PagePromise } from '../../core/pagination';
|
|
|
27
27
|
import { RequestOptions } from '../../internal/request-options';
|
|
28
28
|
import { path } from '../../internal/utils/path';
|
|
29
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Functions defined by the company
|
|
32
|
+
*/
|
|
30
33
|
export class Functions extends APIResource {
|
|
31
34
|
deployments: DeploymentsAPI.Deployments = new DeploymentsAPI.Deployments(this._client);
|
|
32
35
|
executions: ExecutionsAPI.Executions = new ExecutionsAPI.Executions(this._client);
|
|
@@ -118,6 +121,11 @@ export interface Function {
|
|
|
118
121
|
*/
|
|
119
122
|
description?: string;
|
|
120
123
|
|
|
124
|
+
/**
|
|
125
|
+
* Whether this function runs asynchronously
|
|
126
|
+
*/
|
|
127
|
+
is_async?: boolean;
|
|
128
|
+
|
|
121
129
|
/**
|
|
122
130
|
* The function name
|
|
123
131
|
*/
|
|
@@ -156,6 +164,11 @@ export interface FunctionCreateParams {
|
|
|
156
164
|
*/
|
|
157
165
|
description?: string;
|
|
158
166
|
|
|
167
|
+
/**
|
|
168
|
+
* Whether this function runs asynchronously
|
|
169
|
+
*/
|
|
170
|
+
is_async?: boolean;
|
|
171
|
+
|
|
159
172
|
/**
|
|
160
173
|
* The function name
|
|
161
174
|
*/
|
|
@@ -183,6 +196,11 @@ export interface FunctionUpdateParams {
|
|
|
183
196
|
*/
|
|
184
197
|
description?: string;
|
|
185
198
|
|
|
199
|
+
/**
|
|
200
|
+
* Whether this function runs asynchronously
|
|
201
|
+
*/
|
|
202
|
+
is_async?: boolean;
|
|
203
|
+
|
|
186
204
|
/**
|
|
187
205
|
* The function name
|
|
188
206
|
*/
|
|
@@ -14,6 +14,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
|
14
14
|
import { RequestOptions } from '../internal/request-options';
|
|
15
15
|
import { path } from '../internal/utils/path';
|
|
16
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Headcount allocations for the company
|
|
19
|
+
*/
|
|
17
20
|
export class HeadcountPositions extends APIResource {
|
|
18
21
|
/**
|
|
19
22
|
* A List of headcount positions
|
|
@@ -37,7 +40,7 @@ export class HeadcountPositions extends APIResource {
|
|
|
37
40
|
query: HeadcountPositionListParams | null | undefined = {},
|
|
38
41
|
options?: RequestOptions,
|
|
39
42
|
): PagePromise<HeadcountPositionListResponsesPageCursorURL, HeadcountPositionListResponse> {
|
|
40
|
-
return this._client.getAPIList('/headcount-positions', PageCursorURL<HeadcountPositionListResponse>, {
|
|
43
|
+
return this._client.getAPIList('/headcount-positions/', PageCursorURL<HeadcountPositionListResponse>, {
|
|
41
44
|
query,
|
|
42
45
|
...options,
|
|
43
46
|
});
|
|
@@ -51,7 +54,7 @@ export class HeadcountPositions extends APIResource {
|
|
|
51
54
|
query: HeadcountPositionRetrieveParams | null | undefined = {},
|
|
52
55
|
options?: RequestOptions,
|
|
53
56
|
): APIPromise<HeadcountPositionRetrieveResponse> {
|
|
54
|
-
return this._client.get(path`/headcount-positions/${id}
|
|
57
|
+
return this._client.get(path`/headcount-positions/${id}/`, { query, ...options });
|
|
55
58
|
}
|
|
56
59
|
}
|
|
57
60
|
|
|
@@ -7,6 +7,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
|
7
7
|
import { RequestOptions } from '../internal/request-options';
|
|
8
8
|
import { path } from '../internal/utils/path';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Organizational classifications used to categorize hiring needs based on business urgency and strategic importance
|
|
12
|
+
*/
|
|
10
13
|
export class HeadcountPriorities extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* A List of headcount priorities
|
|
@@ -18,7 +21,7 @@ export class HeadcountPriorities extends APIResource {
|
|
|
18
21
|
query: HeadcountPriorityListParams | null | undefined = {},
|
|
19
22
|
options?: RequestOptions,
|
|
20
23
|
): PagePromise<HeadcountPriorityListResponsesPageCursorURL, HeadcountPriorityListResponse> {
|
|
21
|
-
return this._client.getAPIList('/headcount-priorities', PageCursorURL<HeadcountPriorityListResponse>, {
|
|
24
|
+
return this._client.getAPIList('/headcount-priorities/', PageCursorURL<HeadcountPriorityListResponse>, {
|
|
22
25
|
query,
|
|
23
26
|
...options,
|
|
24
27
|
});
|
|
@@ -28,7 +31,7 @@ export class HeadcountPriorities extends APIResource {
|
|
|
28
31
|
* Retrieve a specific headcount priority
|
|
29
32
|
*/
|
|
30
33
|
retrieve(id: string, options?: RequestOptions): APIPromise<HeadcountPriorityRetrieveResponse> {
|
|
31
|
-
return this._client.get(path`/headcount-priorities/${id}
|
|
34
|
+
return this._client.get(path`/headcount-priorities/${id}/`, options);
|
|
32
35
|
}
|
|
33
36
|
}
|
|
34
37
|
|
package/src/resources/index.ts
CHANGED
|
@@ -49,6 +49,21 @@ export {
|
|
|
49
49
|
type CompensationRetrieveParams,
|
|
50
50
|
type CompensationsPageCursorURL,
|
|
51
51
|
} from './compensations';
|
|
52
|
+
export {
|
|
53
|
+
CreateAppNotification,
|
|
54
|
+
type CreateAppNotificationCreateResponse,
|
|
55
|
+
type CreateAppNotificationCreateParams,
|
|
56
|
+
} from './create-app-notification';
|
|
57
|
+
export {
|
|
58
|
+
CustomApps,
|
|
59
|
+
type CustomAppListResponse,
|
|
60
|
+
type CustomAppCreateResponse,
|
|
61
|
+
type CustomAppRetrieveResponse,
|
|
62
|
+
type CustomAppUpdateResponse,
|
|
63
|
+
type CustomAppCreateParams,
|
|
64
|
+
type CustomAppUpdateParams,
|
|
65
|
+
type CustomAppListResponsesPageCursorURL,
|
|
66
|
+
} from './custom-apps';
|
|
52
67
|
export {
|
|
53
68
|
CustomFields,
|
|
54
69
|
type CustomFieldListResponse,
|
|
@@ -62,6 +77,16 @@ export {
|
|
|
62
77
|
type CustomObjectUpdateParams,
|
|
63
78
|
type CustomObjectsPageCursorURL,
|
|
64
79
|
} from './custom-objects/custom-objects';
|
|
80
|
+
export {
|
|
81
|
+
CustomPages,
|
|
82
|
+
type CustomPageListResponse,
|
|
83
|
+
type CustomPageCreateResponse,
|
|
84
|
+
type CustomPageRetrieveResponse,
|
|
85
|
+
type CustomPageUpdateResponse,
|
|
86
|
+
type CustomPageCreateParams,
|
|
87
|
+
type CustomPageUpdateParams,
|
|
88
|
+
type CustomPageListResponsesPageCursorURL,
|
|
89
|
+
} from './custom-pages';
|
|
65
90
|
export {
|
|
66
91
|
CustomSettings,
|
|
67
92
|
type CustomSettingListResponse,
|
|
@@ -256,6 +281,11 @@ export {
|
|
|
256
281
|
type LocationFactorListParams,
|
|
257
282
|
type LocationFactorListResponsesPageCursorURL,
|
|
258
283
|
} from './location-factors';
|
|
284
|
+
export {
|
|
285
|
+
Metadata,
|
|
286
|
+
type MetadataListResponse,
|
|
287
|
+
type MetadataListResponsesPageCursorURL,
|
|
288
|
+
} from './metadata/metadata';
|
|
259
289
|
export {
|
|
260
290
|
ObjectCategories,
|
|
261
291
|
type ObjectCategory,
|
|
@@ -263,13 +293,19 @@ export {
|
|
|
263
293
|
type ObjectCategoryUpdateParams,
|
|
264
294
|
type ObjectCategoriesPageCursorURL,
|
|
265
295
|
} from './object-categories';
|
|
296
|
+
export {
|
|
297
|
+
PlatformCapabilities,
|
|
298
|
+
type PlatformCapabilityListResponse,
|
|
299
|
+
type PlatformCapabilityListResponsesPageCursorURL,
|
|
300
|
+
} from './platform-capabilities';
|
|
266
301
|
export {
|
|
267
302
|
ReportRuns,
|
|
268
303
|
type ReportRunCreateResponse,
|
|
269
304
|
type ReportRunRetrieveResponse,
|
|
270
305
|
type ReportRunCreateParams,
|
|
271
306
|
} from './report-runs';
|
|
272
|
-
export {
|
|
307
|
+
export { RunQuery, type RunQueryCreateResponse, type RunQueryCreateParams } from './run-query';
|
|
308
|
+
export { SSOMeResource, type SSOMe, type SSOMeListParams } from './sso-me';
|
|
273
309
|
export {
|
|
274
310
|
Schedules,
|
|
275
311
|
type ScheduleListResponse,
|
|
@@ -282,6 +318,8 @@ export {
|
|
|
282
318
|
type ScheduleUpdateParams,
|
|
283
319
|
type ScheduleListResponsesPageCursorURL,
|
|
284
320
|
} from './schedules';
|
|
321
|
+
export { SendEmail, type SendEmailCreateResponse, type SendEmailCreateParams } from './send-email';
|
|
322
|
+
export { SendSlack, type SendSlackCreateResponse, type SendSlackCreateParams } from './send-slack';
|
|
285
323
|
export {
|
|
286
324
|
ShiftAssignments,
|
|
287
325
|
type ShiftAssignmentUpdateCustomfieldsResponse,
|
|
@@ -11,6 +11,9 @@ import { buildHeaders } from '../internal/headers';
|
|
|
11
11
|
import { RequestOptions } from '../internal/request-options';
|
|
12
12
|
import { path } from '../internal/utils/path';
|
|
13
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Job related information for the company
|
|
16
|
+
*/
|
|
14
17
|
export class JobAssignments extends APIResource {
|
|
15
18
|
/**
|
|
16
19
|
* A List of job assignments
|
|
@@ -24,14 +27,14 @@ export class JobAssignments extends APIResource {
|
|
|
24
27
|
query: JobAssignmentListParams | null | undefined = {},
|
|
25
28
|
options?: RequestOptions,
|
|
26
29
|
): PagePromise<JobAssignmentsPageCursorURL, JobAssignment> {
|
|
27
|
-
return this._client.getAPIList('/job-assignments', PageCursorURL<JobAssignment>, { query, ...options });
|
|
30
|
+
return this._client.getAPIList('/job-assignments/', PageCursorURL<JobAssignment>, { query, ...options });
|
|
28
31
|
}
|
|
29
32
|
|
|
30
33
|
/**
|
|
31
34
|
* Create a new job assignment
|
|
32
35
|
*/
|
|
33
36
|
create(body: JobAssignmentCreateParams, options?: RequestOptions): APIPromise<JobAssignment> {
|
|
34
|
-
return this._client.post('/job-assignments', { body, ...options });
|
|
37
|
+
return this._client.post('/job-assignments/', { body, ...options });
|
|
35
38
|
}
|
|
36
39
|
|
|
37
40
|
/**
|
|
@@ -42,21 +45,21 @@ export class JobAssignments extends APIResource {
|
|
|
42
45
|
query: JobAssignmentRetrieveParams | null | undefined = {},
|
|
43
46
|
options?: RequestOptions,
|
|
44
47
|
): APIPromise<JobAssignmentRetrieveResponse> {
|
|
45
|
-
return this._client.get(path`/job-assignments/${id}
|
|
48
|
+
return this._client.get(path`/job-assignments/${id}/`, { query, ...options });
|
|
46
49
|
}
|
|
47
50
|
|
|
48
51
|
/**
|
|
49
52
|
* Updated a specific job assignment
|
|
50
53
|
*/
|
|
51
54
|
update(id: string, body: JobAssignmentUpdateParams, options?: RequestOptions): APIPromise<JobAssignment> {
|
|
52
|
-
return this._client.patch(path`/job-assignments/${id}
|
|
55
|
+
return this._client.patch(path`/job-assignments/${id}/`, { body, ...options });
|
|
53
56
|
}
|
|
54
57
|
|
|
55
58
|
/**
|
|
56
59
|
* Delete a job assignment
|
|
57
60
|
*/
|
|
58
61
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
59
|
-
return this._client.delete(path`/job-assignments/${id}
|
|
62
|
+
return this._client.delete(path`/job-assignments/${id}/`, {
|
|
60
63
|
...options,
|
|
61
64
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
62
65
|
});
|
|
@@ -75,7 +78,7 @@ export class JobAssignments extends APIResource {
|
|
|
75
78
|
options?: RequestOptions,
|
|
76
79
|
): PagePromise<AttributeChangeDetailsPageCursorURL, AttributeChangeDetails> {
|
|
77
80
|
return this._client.getAPIList(
|
|
78
|
-
path`/job-assignments/${jobAssignmentID}/change-log
|
|
81
|
+
path`/job-assignments/${jobAssignmentID}/change-log/`,
|
|
79
82
|
PageCursorURL<AttributeChangeDetails>,
|
|
80
83
|
{ query, ...options },
|
|
81
84
|
);
|