@rippling/rippling-sdk 0.2.0-alpha.29 → 0.2.0-alpha.30
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 +22 -94
- package/client.d.mts.map +1 -1
- package/client.d.ts +22 -94
- package/client.d.ts.map +1 -1
- package/client.js +20 -92
- package/client.js.map +1 -1
- package/client.mjs +20 -92
- package/client.mjs.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/business-partner-groups.d.mts +1 -1
- package/resources/business-partner-groups.d.ts +1 -1
- package/resources/business-partner-groups.js +1 -1
- package/resources/business-partner-groups.mjs +1 -1
- package/resources/business-partners.d.mts +1 -1
- package/resources/business-partners.d.ts +1 -1
- package/resources/business-partners.js +1 -1
- package/resources/business-partners.mjs +1 -1
- package/resources/candidate-applications.d.mts +1 -1
- package/resources/candidate-applications.d.ts +1 -1
- package/resources/candidate-applications.js +1 -1
- package/resources/candidate-applications.mjs +1 -1
- package/resources/candidates.d.mts +1 -1
- package/resources/candidates.d.ts +1 -1
- package/resources/candidates.js +1 -1
- package/resources/candidates.mjs +1 -1
- package/resources/companies.d.mts +1 -1
- package/resources/companies.d.ts +1 -1
- package/resources/companies.js +1 -1
- package/resources/companies.mjs +1 -1
- package/resources/compensation-bands-details.d.mts +1 -1
- package/resources/compensation-bands-details.d.ts +1 -1
- package/resources/compensation-bands-details.js +1 -1
- package/resources/compensation-bands-details.mjs +1 -1
- package/resources/compensations.d.mts +1 -1
- package/resources/compensations.d.ts +1 -1
- package/resources/compensations.js +1 -1
- package/resources/compensations.mjs +1 -1
- package/resources/custom-apps.d.mts +3 -3
- package/resources/custom-apps.d.ts +3 -3
- package/resources/custom-apps.js +3 -3
- package/resources/custom-apps.mjs +3 -3
- package/resources/custom-fields.d.mts +1 -1
- package/resources/custom-fields.d.ts +1 -1
- package/resources/custom-fields.js +1 -1
- package/resources/custom-fields.mjs +1 -1
- package/resources/custom-objects/custom-objects.d.mts +29 -5
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts +29 -5
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.js +5 -5
- package/resources/custom-objects/custom-objects.js.map +1 -1
- package/resources/custom-objects/custom-objects.mjs +5 -5
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/fields.d.mts +71 -5
- package/resources/custom-objects/fields.d.mts.map +1 -1
- package/resources/custom-objects/fields.d.ts +71 -5
- package/resources/custom-objects/fields.d.ts.map +1 -1
- package/resources/custom-objects/fields.js +5 -5
- package/resources/custom-objects/fields.mjs +5 -5
- package/resources/custom-objects/records.d.mts +68 -11
- package/resources/custom-objects/records.d.mts.map +1 -1
- package/resources/custom-objects/records.d.ts +68 -11
- package/resources/custom-objects/records.d.ts.map +1 -1
- package/resources/custom-objects/records.js +10 -10
- package/resources/custom-objects/records.mjs +10 -10
- package/resources/custom-pages.d.mts +3 -3
- package/resources/custom-pages.d.ts +3 -3
- package/resources/custom-pages.js +3 -3
- package/resources/custom-pages.mjs +3 -3
- package/resources/custom-settings.d.mts +2 -2
- package/resources/custom-settings.d.ts +2 -2
- package/resources/custom-settings.js +2 -2
- package/resources/custom-settings.mjs +2 -2
- package/resources/departments.d.mts +2 -2
- package/resources/departments.d.ts +2 -2
- package/resources/departments.js +2 -2
- package/resources/departments.mjs +2 -2
- package/resources/earning-types.d.mts +48 -0
- package/resources/earning-types.d.mts.map +1 -0
- package/resources/earning-types.d.ts +48 -0
- package/resources/earning-types.d.ts.map +1 -0
- package/resources/earning-types.js +21 -0
- package/resources/earning-types.js.map +1 -0
- package/resources/earning-types.mjs +17 -0
- package/resources/earning-types.mjs.map +1 -0
- package/resources/employment-types.d.mts +1 -1
- package/resources/employment-types.d.ts +1 -1
- package/resources/employment-types.js +1 -1
- package/resources/employment-types.mjs +1 -1
- package/resources/entitlements.d.mts +1 -1
- package/resources/entitlements.d.ts +1 -1
- package/resources/entitlements.js +1 -1
- package/resources/entitlements.mjs +1 -1
- package/resources/functions/deployments.d.mts +10 -4
- package/resources/functions/deployments.d.mts.map +1 -1
- package/resources/functions/deployments.d.ts +10 -4
- package/resources/functions/deployments.d.ts.map +1 -1
- package/resources/functions/deployments.js +4 -4
- package/resources/functions/deployments.mjs +4 -4
- package/resources/functions/executions.d.mts +10 -4
- package/resources/functions/executions.d.mts.map +1 -1
- package/resources/functions/executions.d.ts +10 -4
- package/resources/functions/executions.d.ts.map +1 -1
- package/resources/functions/executions.js +4 -4
- package/resources/functions/executions.mjs +4 -4
- package/resources/functions/functions.d.mts +8 -14
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts +8 -14
- package/resources/functions/functions.d.ts.map +1 -1
- package/resources/functions/functions.js +6 -6
- package/resources/functions/functions.js.map +1 -1
- package/resources/functions/functions.mjs +6 -6
- package/resources/functions/functions.mjs.map +1 -1
- package/resources/functions/index.d.mts +1 -1
- package/resources/functions/index.d.mts.map +1 -1
- package/resources/functions/index.d.ts +1 -1
- package/resources/functions/index.d.ts.map +1 -1
- package/resources/functions/index.js.map +1 -1
- package/resources/functions/index.mjs.map +1 -1
- package/resources/headcount-positions.d.mts +1 -1
- package/resources/headcount-positions.d.ts +1 -1
- package/resources/headcount-positions.js +1 -1
- package/resources/headcount-positions.mjs +1 -1
- package/resources/headcount-priorities.d.mts +1 -1
- package/resources/headcount-priorities.d.ts +1 -1
- package/resources/headcount-priorities.js +1 -1
- package/resources/headcount-priorities.mjs +1 -1
- package/resources/index.d.mts +5 -17
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -17
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +10 -34
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -16
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.d.mts +3 -3
- package/resources/job-assignments.d.ts +3 -3
- package/resources/job-assignments.js +3 -3
- package/resources/job-assignments.mjs +3 -3
- package/resources/job-codes.d.mts +3 -3
- package/resources/job-codes.d.ts +3 -3
- package/resources/job-codes.js +3 -3
- package/resources/job-codes.mjs +3 -3
- package/resources/job-dimensions.d.mts +2 -2
- package/resources/job-dimensions.d.ts +2 -2
- package/resources/job-dimensions.js +2 -2
- package/resources/job-dimensions.mjs +2 -2
- package/resources/job-functions.d.mts +1 -1
- package/resources/job-functions.d.ts +1 -1
- package/resources/job-functions.js +1 -1
- package/resources/job-functions.mjs +1 -1
- package/resources/job-pay-rate-exceptions.d.mts +2 -2
- package/resources/job-pay-rate-exceptions.d.ts +2 -2
- package/resources/job-pay-rate-exceptions.js +2 -2
- package/resources/job-pay-rate-exceptions.mjs +2 -2
- package/resources/job-requisitions.d.mts +1 -1
- package/resources/job-requisitions.d.ts +1 -1
- package/resources/job-requisitions.js +1 -1
- package/resources/job-requisitions.mjs +1 -1
- package/resources/kiosk-badges.d.mts +2 -2
- package/resources/kiosk-badges.d.ts +2 -2
- package/resources/kiosk-badges.js +2 -2
- package/resources/kiosk-badges.mjs +2 -2
- package/resources/leave-accruals.d.mts +1 -1
- package/resources/leave-accruals.d.ts +1 -1
- package/resources/leave-accruals.js +1 -1
- package/resources/leave-accruals.mjs +1 -1
- package/resources/leave-balances.d.mts +1 -1
- package/resources/leave-balances.d.ts +1 -1
- package/resources/leave-balances.js +1 -1
- package/resources/leave-balances.mjs +1 -1
- package/resources/leave-requests.d.mts +2 -2
- package/resources/leave-requests.d.ts +2 -2
- package/resources/leave-requests.js +2 -2
- package/resources/leave-requests.mjs +2 -2
- package/resources/leave-types.d.mts +1 -1
- package/resources/leave-types.d.ts +1 -1
- package/resources/leave-types.js +1 -1
- package/resources/leave-types.mjs +1 -1
- package/resources/legal-entities.d.mts +1 -1
- package/resources/legal-entities.d.ts +1 -1
- package/resources/legal-entities.js +1 -1
- package/resources/legal-entities.mjs +1 -1
- package/resources/levels.d.mts +1 -1
- package/resources/levels.d.ts +1 -1
- package/resources/levels.js +1 -1
- package/resources/levels.mjs +1 -1
- package/resources/location-factors.d.mts +1 -1
- package/resources/location-factors.d.ts +1 -1
- package/resources/location-factors.js +1 -1
- package/resources/location-factors.mjs +1 -1
- package/resources/metadata/components.d.mts +2 -2
- package/resources/metadata/components.d.ts +2 -2
- package/resources/metadata/components.js +2 -2
- package/resources/metadata/components.mjs +2 -2
- package/resources/metadata/metadata.d.mts +2 -2
- package/resources/metadata/metadata.d.ts +2 -2
- package/resources/metadata/metadata.js +2 -2
- package/resources/metadata/metadata.mjs +2 -2
- package/resources/metadata/summary.d.mts +2 -2
- package/resources/metadata/summary.d.ts +2 -2
- package/resources/metadata/summary.js +2 -2
- package/resources/metadata/summary.mjs +2 -2
- package/resources/metadata/types.d.mts +2 -2
- package/resources/metadata/types.d.ts +2 -2
- package/resources/metadata/types.js +2 -2
- package/resources/metadata/types.mjs +2 -2
- package/resources/object-categories.d.mts +17 -5
- package/resources/object-categories.d.mts.map +1 -1
- package/resources/object-categories.d.ts +17 -5
- package/resources/object-categories.d.ts.map +1 -1
- package/resources/object-categories.js +5 -5
- package/resources/object-categories.mjs +5 -5
- package/resources/payroll-runs.d.mts +195 -0
- package/resources/payroll-runs.d.mts.map +1 -0
- package/resources/payroll-runs.d.ts +195 -0
- package/resources/payroll-runs.d.ts.map +1 -0
- package/resources/payroll-runs.js +32 -0
- package/resources/payroll-runs.js.map +1 -0
- package/resources/payroll-runs.mjs +28 -0
- package/resources/payroll-runs.mjs.map +1 -0
- package/resources/platform-capabilities.d.mts +2 -2
- package/resources/platform-capabilities.d.ts +2 -2
- package/resources/platform-capabilities.js +2 -2
- package/resources/platform-capabilities.mjs +2 -2
- package/resources/report-runs.d.mts +60 -0
- package/resources/report-runs.d.mts.map +1 -1
- package/resources/report-runs.d.ts +60 -0
- package/resources/report-runs.d.ts.map +1 -1
- package/resources/reports/available-filters.d.mts +49 -0
- package/resources/reports/available-filters.d.mts.map +1 -0
- package/resources/reports/available-filters.d.ts +49 -0
- package/resources/reports/available-filters.d.ts.map +1 -0
- package/resources/reports/available-filters.js +20 -0
- package/resources/reports/available-filters.js.map +1 -0
- package/resources/reports/available-filters.mjs +16 -0
- package/resources/reports/available-filters.mjs.map +1 -0
- package/resources/reports/index.d.mts +3 -0
- package/resources/reports/index.d.mts.map +1 -0
- package/resources/reports/index.d.ts +3 -0
- package/resources/reports/index.d.ts.map +1 -0
- package/resources/reports/index.js +9 -0
- package/resources/reports/index.js.map +1 -0
- package/resources/reports/index.mjs +4 -0
- package/resources/reports/index.mjs.map +1 -0
- package/resources/reports/reports.d.mts +85 -0
- package/resources/reports/reports.d.mts.map +1 -0
- package/resources/reports/reports.d.ts +85 -0
- package/resources/reports/reports.d.ts.map +1 -0
- package/resources/reports/reports.js +27 -0
- package/resources/reports/reports.js.map +1 -0
- package/resources/reports/reports.mjs +22 -0
- package/resources/reports/reports.mjs.map +1 -0
- package/resources/reports.d.mts +2 -0
- package/resources/reports.d.mts.map +1 -0
- package/resources/reports.d.ts +2 -0
- package/resources/reports.d.ts.map +1 -0
- package/resources/reports.js +6 -0
- package/resources/reports.js.map +1 -0
- package/resources/reports.mjs +3 -0
- package/resources/reports.mjs.map +1 -0
- package/resources/schedules.d.mts +2 -2
- package/resources/schedules.d.ts +2 -2
- package/resources/schedules.js +2 -2
- package/resources/schedules.mjs +2 -2
- package/resources/shift-inputs.d.mts +2 -2
- package/resources/shift-inputs.d.ts +2 -2
- package/resources/shift-inputs.js +2 -2
- package/resources/shift-inputs.mjs +2 -2
- package/resources/shiftassignments.d.mts +2 -2
- package/resources/shiftassignments.d.ts +2 -2
- package/resources/shiftassignments.js +2 -2
- package/resources/shiftassignments.mjs +2 -2
- package/resources/teams.d.mts +1 -1
- package/resources/teams.d.ts +1 -1
- package/resources/teams.js +1 -1
- package/resources/teams.mjs +1 -1
- package/resources/time-cards.d.mts +1 -1
- package/resources/time-cards.d.ts +1 -1
- package/resources/time-cards.js +1 -1
- package/resources/time-cards.mjs +1 -1
- package/resources/time-entries.d.mts +2 -2
- package/resources/time-entries.d.ts +2 -2
- package/resources/time-entries.js +2 -2
- package/resources/time-entries.mjs +2 -2
- package/resources/titles.d.mts +2 -2
- package/resources/titles.d.ts +2 -2
- package/resources/titles.js +2 -2
- package/resources/titles.mjs +2 -2
- package/resources/tracks.d.mts +1 -1
- package/resources/tracks.d.ts +1 -1
- package/resources/tracks.js +1 -1
- package/resources/tracks.mjs +1 -1
- package/resources/unassignedshifts.d.mts +2 -2
- package/resources/unassignedshifts.d.ts +2 -2
- package/resources/unassignedshifts.js +2 -2
- package/resources/unassignedshifts.mjs +2 -2
- package/resources/users.d.mts +1 -1
- package/resources/users.d.ts +1 -1
- package/resources/users.js +1 -1
- package/resources/users.mjs +1 -1
- package/resources/work-locations.d.mts +2 -2
- package/resources/work-locations.d.ts +2 -2
- package/resources/work-locations.js +2 -2
- package/resources/work-locations.mjs +2 -2
- package/resources/workers.d.mts +1 -1
- package/resources/workers.d.ts +1 -1
- package/resources/workers.js +1 -1
- package/resources/workers.mjs +1 -1
- package/resources/workflow-action-executions.d.mts +572 -0
- package/resources/workflow-action-executions.d.mts.map +1 -0
- package/resources/workflow-action-executions.d.ts +572 -0
- package/resources/workflow-action-executions.d.ts.map +1 -0
- package/resources/{create-app-notification.js → workflow-action-executions.js} +6 -6
- package/resources/workflow-action-executions.js.map +1 -0
- package/resources/{evaluate-rql.mjs → workflow-action-executions.mjs} +4 -4
- package/resources/workflow-action-executions.mjs.map +1 -0
- package/src/client.ts +55 -221
- package/src/internal/utils/env.ts +2 -2
- package/src/resources/business-partner-groups.ts +1 -1
- package/src/resources/business-partners.ts +1 -1
- package/src/resources/candidate-applications.ts +1 -1
- package/src/resources/candidates.ts +1 -1
- package/src/resources/companies.ts +1 -1
- package/src/resources/compensation-bands-details.ts +1 -1
- package/src/resources/compensations.ts +1 -1
- package/src/resources/custom-apps.ts +3 -3
- package/src/resources/custom-fields.ts +1 -1
- package/src/resources/custom-objects/custom-objects.ts +29 -5
- package/src/resources/custom-objects/fields.ts +71 -5
- package/src/resources/custom-objects/records.ts +68 -11
- package/src/resources/custom-pages.ts +3 -3
- package/src/resources/custom-settings.ts +2 -2
- package/src/resources/departments.ts +2 -2
- package/src/resources/earning-types.ts +64 -0
- package/src/resources/employment-types.ts +1 -1
- package/src/resources/entitlements.ts +1 -1
- package/src/resources/functions/deployments.ts +10 -4
- package/src/resources/functions/executions.ts +10 -4
- package/src/resources/functions/functions.ts +9 -15
- package/src/resources/functions/index.ts +1 -0
- package/src/resources/headcount-positions.ts +1 -1
- package/src/resources/headcount-priorities.ts +1 -1
- package/src/resources/index.ts +19 -52
- package/src/resources/job-assignments.ts +3 -3
- package/src/resources/job-codes.ts +3 -3
- package/src/resources/job-dimensions.ts +2 -2
- package/src/resources/job-functions.ts +1 -1
- package/src/resources/job-pay-rate-exceptions.ts +2 -2
- package/src/resources/job-requisitions.ts +1 -1
- package/src/resources/kiosk-badges.ts +2 -2
- package/src/resources/leave-accruals.ts +1 -1
- package/src/resources/leave-balances.ts +1 -1
- package/src/resources/leave-requests.ts +2 -2
- package/src/resources/leave-types.ts +1 -1
- package/src/resources/legal-entities.ts +1 -1
- package/src/resources/levels.ts +1 -1
- package/src/resources/location-factors.ts +1 -1
- package/src/resources/metadata/components.ts +2 -2
- package/src/resources/metadata/metadata.ts +2 -2
- package/src/resources/metadata/summary.ts +2 -2
- package/src/resources/metadata/types.ts +2 -2
- package/src/resources/object-categories.ts +17 -5
- package/src/resources/payroll-runs.ts +251 -0
- package/src/resources/platform-capabilities.ts +2 -2
- package/src/resources/report-runs.ts +90 -0
- package/src/resources/reports/available-filters.ts +60 -0
- package/src/resources/reports/index.ts +4 -0
- package/src/resources/reports/reports.ts +112 -0
- package/src/resources/reports.ts +3 -0
- package/src/resources/schedules.ts +2 -2
- package/src/resources/shift-inputs.ts +2 -2
- package/src/resources/shiftassignments.ts +2 -2
- package/src/resources/teams.ts +1 -1
- package/src/resources/time-cards.ts +1 -1
- package/src/resources/time-entries.ts +2 -2
- package/src/resources/titles.ts +2 -2
- package/src/resources/tracks.ts +1 -1
- package/src/resources/unassignedshifts.ts +2 -2
- package/src/resources/users.ts +1 -1
- package/src/resources/work-locations.ts +2 -2
- package/src/resources/workers.ts +1 -1
- package/src/resources/workflow-action-executions.ts +925 -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
- package/resources/assign-review.d.mts +0 -31
- package/resources/assign-review.d.mts.map +0 -1
- package/resources/assign-review.d.ts +0 -31
- package/resources/assign-review.d.ts.map +0 -1
- package/resources/assign-review.js +0 -18
- package/resources/assign-review.js.map +0 -1
- package/resources/assign-review.mjs +0 -14
- package/resources/assign-review.mjs.map +0 -1
- package/resources/create-app-notification.d.mts +0 -29
- package/resources/create-app-notification.d.mts.map +0 -1
- package/resources/create-app-notification.d.ts +0 -29
- package/resources/create-app-notification.d.ts.map +0 -1
- package/resources/create-app-notification.js.map +0 -1
- package/resources/create-app-notification.mjs +0 -14
- package/resources/create-app-notification.mjs.map +0 -1
- package/resources/create-gcal-event.d.mts +0 -55
- package/resources/create-gcal-event.d.mts.map +0 -1
- package/resources/create-gcal-event.d.ts +0 -55
- package/resources/create-gcal-event.d.ts.map +0 -1
- package/resources/create-gcal-event.js +0 -18
- package/resources/create-gcal-event.js.map +0 -1
- package/resources/create-gcal-event.mjs +0 -14
- package/resources/create-gcal-event.mjs.map +0 -1
- package/resources/delete-custom-object-record.d.mts +0 -26
- package/resources/delete-custom-object-record.d.mts.map +0 -1
- package/resources/delete-custom-object-record.d.ts +0 -26
- package/resources/delete-custom-object-record.d.ts.map +0 -1
- package/resources/delete-custom-object-record.js +0 -18
- package/resources/delete-custom-object-record.js.map +0 -1
- package/resources/delete-custom-object-record.mjs +0 -14
- package/resources/delete-custom-object-record.mjs.map +0 -1
- package/resources/evaluate-rql.d.mts +0 -31
- package/resources/evaluate-rql.d.mts.map +0 -1
- package/resources/evaluate-rql.d.ts +0 -31
- package/resources/evaluate-rql.d.ts.map +0 -1
- package/resources/evaluate-rql.js +0 -18
- package/resources/evaluate-rql.js.map +0 -1
- package/resources/evaluate-rql.mjs.map +0 -1
- package/resources/run-query.d.mts +0 -39
- package/resources/run-query.d.mts.map +0 -1
- package/resources/run-query.d.ts +0 -39
- package/resources/run-query.d.ts.map +0 -1
- package/resources/run-query.js +0 -21
- package/resources/run-query.js.map +0 -1
- package/resources/run-query.mjs +0 -17
- package/resources/run-query.mjs.map +0 -1
- package/resources/send-email.d.mts +0 -33
- package/resources/send-email.d.mts.map +0 -1
- package/resources/send-email.d.ts +0 -33
- package/resources/send-email.d.ts.map +0 -1
- package/resources/send-email.js +0 -18
- package/resources/send-email.js.map +0 -1
- package/resources/send-email.mjs +0 -14
- package/resources/send-email.mjs.map +0 -1
- package/resources/send-http-request.d.mts +0 -32
- package/resources/send-http-request.d.mts.map +0 -1
- package/resources/send-http-request.d.ts +0 -32
- package/resources/send-http-request.d.ts.map +0 -1
- package/resources/send-http-request.js +0 -18
- package/resources/send-http-request.js.map +0 -1
- package/resources/send-http-request.mjs +0 -14
- package/resources/send-http-request.mjs.map +0 -1
- package/resources/send-push-notification.d.mts +0 -27
- package/resources/send-push-notification.d.mts.map +0 -1
- package/resources/send-push-notification.d.ts +0 -27
- package/resources/send-push-notification.d.ts.map +0 -1
- package/resources/send-push-notification.js +0 -18
- package/resources/send-push-notification.js.map +0 -1
- package/resources/send-push-notification.mjs +0 -14
- package/resources/send-push-notification.mjs.map +0 -1
- package/resources/send-report-sftp.d.mts +0 -42
- package/resources/send-report-sftp.d.mts.map +0 -1
- package/resources/send-report-sftp.d.ts +0 -42
- package/resources/send-report-sftp.d.ts.map +0 -1
- package/resources/send-report-sftp.js +0 -18
- package/resources/send-report-sftp.js.map +0 -1
- package/resources/send-report-sftp.mjs +0 -14
- package/resources/send-report-sftp.mjs.map +0 -1
- package/resources/send-slack.d.mts +0 -30
- package/resources/send-slack.d.mts.map +0 -1
- package/resources/send-slack.d.ts +0 -30
- package/resources/send-slack.d.ts.map +0 -1
- package/resources/send-slack.js +0 -18
- package/resources/send-slack.js.map +0 -1
- package/resources/send-slack.mjs +0 -14
- package/resources/send-slack.mjs.map +0 -1
- package/resources/send-sms.d.mts +0 -26
- package/resources/send-sms.d.mts.map +0 -1
- package/resources/send-sms.d.ts +0 -26
- package/resources/send-sms.d.ts.map +0 -1
- package/resources/send-sms.js +0 -18
- package/resources/send-sms.js.map +0 -1
- package/resources/send-sms.mjs +0 -14
- package/resources/send-sms.mjs.map +0 -1
- package/resources/send-survey.d.mts +0 -29
- package/resources/send-survey.d.mts.map +0 -1
- package/resources/send-survey.d.ts +0 -29
- package/resources/send-survey.d.ts.map +0 -1
- package/resources/send-survey.js +0 -18
- package/resources/send-survey.js.map +0 -1
- package/resources/send-survey.mjs +0 -14
- package/resources/send-survey.mjs.map +0 -1
- package/resources/send-teams.d.mts +0 -30
- package/resources/send-teams.d.mts.map +0 -1
- package/resources/send-teams.d.ts +0 -30
- package/resources/send-teams.d.ts.map +0 -1
- package/resources/send-teams.js +0 -18
- package/resources/send-teams.js.map +0 -1
- package/resources/send-teams.mjs +0 -14
- package/resources/send-teams.mjs.map +0 -1
- package/resources/update-custom-object-record.d.mts +0 -27
- package/resources/update-custom-object-record.d.mts.map +0 -1
- package/resources/update-custom-object-record.d.ts +0 -27
- package/resources/update-custom-object-record.d.ts.map +0 -1
- package/resources/update-custom-object-record.js +0 -18
- package/resources/update-custom-object-record.js.map +0 -1
- package/resources/update-custom-object-record.mjs +0 -14
- package/resources/update-custom-object-record.mjs.map +0 -1
- package/resources/upsert-custom-object.d.mts +0 -26
- package/resources/upsert-custom-object.d.mts.map +0 -1
- package/resources/upsert-custom-object.d.ts +0 -26
- package/resources/upsert-custom-object.d.ts.map +0 -1
- package/resources/upsert-custom-object.js +0 -18
- package/resources/upsert-custom-object.js.map +0 -1
- package/resources/upsert-custom-object.mjs +0 -14
- package/resources/upsert-custom-object.mjs.map +0 -1
- package/src/resources/assign-review.ts +0 -44
- package/src/resources/create-app-notification.ts +0 -46
- package/src/resources/create-gcal-event.ts +0 -86
- package/src/resources/delete-custom-object-record.ts +0 -40
- package/src/resources/evaluate-rql.ts +0 -44
- package/src/resources/run-query.ts +0 -51
- package/src/resources/send-email.ts +0 -48
- package/src/resources/send-http-request.ts +0 -49
- package/src/resources/send-push-notification.ts +0 -42
- package/src/resources/send-report-sftp.ts +0 -66
- package/src/resources/send-slack.ts +0 -42
- package/src/resources/send-sms.ts +0 -37
- package/src/resources/send-survey.ts +0 -43
- package/src/resources/send-teams.ts +0 -42
- package/src/resources/update-custom-object-record.ts +0 -42
- package/src/resources/upsert-custom-object.ts +0 -40
|
@@ -35,7 +35,7 @@ export class Functions extends APIResource {
|
|
|
35
35
|
executions: ExecutionsAPI.Executions = new ExecutionsAPI.Executions(this._client);
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
|
-
* A
|
|
38
|
+
* A list of functions.
|
|
39
39
|
*
|
|
40
40
|
* - Requires: `API Tier 2`
|
|
41
41
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -48,14 +48,14 @@ export class Functions extends APIResource {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* Create a new function
|
|
51
|
+
* Create a new function.
|
|
52
52
|
*/
|
|
53
53
|
create(body: FunctionCreateParams | null | undefined = {}, options?: RequestOptions): APIPromise<Function> {
|
|
54
54
|
return this._client.post('/functions/', { body, ...options });
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
* Retrieve a specific function
|
|
58
|
+
* Retrieve a specific function.
|
|
59
59
|
*/
|
|
60
60
|
retrieve(functionAPIName: string, options?: RequestOptions): APIPromise<Function> {
|
|
61
61
|
return this._client.get(path`/functions/${functionAPIName}/`, options);
|
|
@@ -73,13 +73,14 @@ export class Functions extends APIResource {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
|
-
* Create a new function dev bundle
|
|
76
|
+
* Create a new function dev bundle.
|
|
77
77
|
*/
|
|
78
78
|
createDevBundle(
|
|
79
79
|
functionAPIName: string,
|
|
80
|
+
body?: FunctionCreateDevBundleParams | null | undefined,
|
|
80
81
|
options?: RequestOptions,
|
|
81
82
|
): APIPromise<FunctionCreateDevBundleResponse> {
|
|
82
|
-
return this._client.post(path`/functions/${functionAPIName}/dev_bundles/`, options);
|
|
83
|
+
return this._client.post(path`/functions/${functionAPIName}/dev_bundles/`, { body, ...options });
|
|
83
84
|
}
|
|
84
85
|
}
|
|
85
86
|
|
|
@@ -176,11 +177,6 @@ export interface FunctionCreateParams {
|
|
|
176
177
|
}
|
|
177
178
|
|
|
178
179
|
export interface FunctionUpdateParams {
|
|
179
|
-
/**
|
|
180
|
-
* The API name of the function
|
|
181
|
-
*/
|
|
182
|
-
api_name?: string;
|
|
183
|
-
|
|
184
180
|
/**
|
|
185
181
|
* The current draft of code for the function
|
|
186
182
|
*/
|
|
@@ -196,17 +192,14 @@ export interface FunctionUpdateParams {
|
|
|
196
192
|
*/
|
|
197
193
|
description?: string;
|
|
198
194
|
|
|
199
|
-
/**
|
|
200
|
-
* Whether this function runs asynchronously
|
|
201
|
-
*/
|
|
202
|
-
is_async?: boolean;
|
|
203
|
-
|
|
204
195
|
/**
|
|
205
196
|
* The function name
|
|
206
197
|
*/
|
|
207
198
|
name?: string;
|
|
208
199
|
}
|
|
209
200
|
|
|
201
|
+
export interface FunctionCreateDevBundleParams {}
|
|
202
|
+
|
|
210
203
|
Functions.Deployments = Deployments;
|
|
211
204
|
Functions.Executions = Executions;
|
|
212
205
|
|
|
@@ -218,6 +211,7 @@ export declare namespace Functions {
|
|
|
218
211
|
type FunctionListParams as FunctionListParams,
|
|
219
212
|
type FunctionCreateParams as FunctionCreateParams,
|
|
220
213
|
type FunctionUpdateParams as FunctionUpdateParams,
|
|
214
|
+
type FunctionCreateDevBundleParams as FunctionCreateDevBundleParams,
|
|
221
215
|
};
|
|
222
216
|
|
|
223
217
|
export {
|
|
@@ -19,7 +19,7 @@ import { path } from '../internal/utils/path';
|
|
|
19
19
|
*/
|
|
20
20
|
export class HeadcountPositions extends APIResource {
|
|
21
21
|
/**
|
|
22
|
-
* A
|
|
22
|
+
* A list of headcount positions.
|
|
23
23
|
*
|
|
24
24
|
* - Requires: `API Tier 2`
|
|
25
25
|
* - Filterable fields: `created_at`, `position_id`, `position_type`,
|
|
@@ -12,7 +12,7 @@ import { path } from '../internal/utils/path';
|
|
|
12
12
|
*/
|
|
13
13
|
export class HeadcountPriorities extends APIResource {
|
|
14
14
|
/**
|
|
15
|
-
* A
|
|
15
|
+
* A list of headcount priorities.
|
|
16
16
|
*
|
|
17
17
|
* - Requires: `API Tier 2`
|
|
18
18
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
package/src/resources/index.ts
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
export * from './shared';
|
|
4
|
-
export {
|
|
5
|
-
AssignReview,
|
|
6
|
-
type AssignReviewCreateResponse,
|
|
7
|
-
type AssignReviewCreateParams,
|
|
8
|
-
} from './assign-review';
|
|
9
4
|
export {
|
|
10
5
|
BusinessPartnerGroups,
|
|
11
6
|
type BusinessPartnerGroup,
|
|
@@ -54,16 +49,6 @@ export {
|
|
|
54
49
|
type CompensationRetrieveParams,
|
|
55
50
|
type CompensationsPageCursorURL,
|
|
56
51
|
} from './compensations';
|
|
57
|
-
export {
|
|
58
|
-
CreateAppNotification,
|
|
59
|
-
type CreateAppNotificationCreateResponse,
|
|
60
|
-
type CreateAppNotificationCreateParams,
|
|
61
|
-
} from './create-app-notification';
|
|
62
|
-
export {
|
|
63
|
-
CreateGcalEvent,
|
|
64
|
-
type CreateGcalEventCreateResponse,
|
|
65
|
-
type CreateGcalEventCreateParams,
|
|
66
|
-
} from './create-gcal-event';
|
|
67
52
|
export {
|
|
68
53
|
CustomApps,
|
|
69
54
|
type CustomAppListResponse,
|
|
@@ -108,11 +93,6 @@ export {
|
|
|
108
93
|
type CustomSettingUpdateParams,
|
|
109
94
|
type CustomSettingListResponsesPageCursorURL,
|
|
110
95
|
} from './custom-settings';
|
|
111
|
-
export {
|
|
112
|
-
DeleteCustomObjectRecord,
|
|
113
|
-
type DeleteCustomObjectRecordCreateResponse,
|
|
114
|
-
type DeleteCustomObjectRecordCreateParams,
|
|
115
|
-
} from './delete-custom-object-record';
|
|
116
96
|
export {
|
|
117
97
|
Departments,
|
|
118
98
|
type Department,
|
|
@@ -124,6 +104,11 @@ export {
|
|
|
124
104
|
type DepartmentsPageCursorURL,
|
|
125
105
|
} from './departments';
|
|
126
106
|
export { DraftHires, type DraftHireCreateResponse, type DraftHireCreateParams } from './draft-hires';
|
|
107
|
+
export {
|
|
108
|
+
EarningTypes,
|
|
109
|
+
type EarningTypeListResponse,
|
|
110
|
+
type EarningTypeListResponsesPageCursorURL,
|
|
111
|
+
} from './earning-types';
|
|
127
112
|
export {
|
|
128
113
|
EmploymentTypes,
|
|
129
114
|
type CompanyEmploymentType,
|
|
@@ -136,7 +121,6 @@ export {
|
|
|
136
121
|
type EntitlementListResponse,
|
|
137
122
|
type EntitlementListResponsesPageCursorURL,
|
|
138
123
|
} from './entitlements';
|
|
139
|
-
export { EvaluateRql, type EvaluateRqlCreateResponse, type EvaluateRqlCreateParams } from './evaluate-rql';
|
|
140
124
|
export {
|
|
141
125
|
Functions,
|
|
142
126
|
type Function,
|
|
@@ -144,6 +128,7 @@ export {
|
|
|
144
128
|
type FunctionListParams,
|
|
145
129
|
type FunctionCreateParams,
|
|
146
130
|
type FunctionUpdateParams,
|
|
131
|
+
type FunctionCreateDevBundleParams,
|
|
147
132
|
type FunctionsPageCursorURL,
|
|
148
133
|
} from './functions/functions';
|
|
149
134
|
export {
|
|
@@ -309,6 +294,13 @@ export {
|
|
|
309
294
|
type ObjectCategoryUpdateParams,
|
|
310
295
|
type ObjectCategoriesPageCursorURL,
|
|
311
296
|
} from './object-categories';
|
|
297
|
+
export {
|
|
298
|
+
PayrollRuns,
|
|
299
|
+
type PayrollRunListResponse,
|
|
300
|
+
type PayrollRunRetrieveResponse,
|
|
301
|
+
type PayrollRunListParams,
|
|
302
|
+
type PayrollRunListResponsesPageCursorURL,
|
|
303
|
+
} from './payroll-runs';
|
|
312
304
|
export {
|
|
313
305
|
PlatformCapabilities,
|
|
314
306
|
type PlatformCapabilityListResponse,
|
|
@@ -320,7 +312,7 @@ export {
|
|
|
320
312
|
type ReportRunRetrieveResponse,
|
|
321
313
|
type ReportRunCreateParams,
|
|
322
314
|
} from './report-runs';
|
|
323
|
-
export {
|
|
315
|
+
export { Reports, type ReportRetrieveResponse } from './reports/reports';
|
|
324
316
|
export { SSOMeResource, type SSOMe, type SSOMeListParams } from './sso-me';
|
|
325
317
|
export {
|
|
326
318
|
Schedules,
|
|
@@ -334,26 +326,6 @@ export {
|
|
|
334
326
|
type ScheduleUpdateParams,
|
|
335
327
|
type ScheduleListResponsesPageCursorURL,
|
|
336
328
|
} from './schedules';
|
|
337
|
-
export { SendEmail, type SendEmailCreateResponse, type SendEmailCreateParams } from './send-email';
|
|
338
|
-
export {
|
|
339
|
-
SendHTTPRequest,
|
|
340
|
-
type SendHTTPRequestCreateResponse,
|
|
341
|
-
type SendHTTPRequestCreateParams,
|
|
342
|
-
} from './send-http-request';
|
|
343
|
-
export {
|
|
344
|
-
SendPushNotification,
|
|
345
|
-
type SendPushNotificationCreateResponse,
|
|
346
|
-
type SendPushNotificationCreateParams,
|
|
347
|
-
} from './send-push-notification';
|
|
348
|
-
export {
|
|
349
|
-
SendReportSftp,
|
|
350
|
-
type SendReportSftpCreateResponse,
|
|
351
|
-
type SendReportSftpCreateParams,
|
|
352
|
-
} from './send-report-sftp';
|
|
353
|
-
export { SendSMS, type SendSMSCreateResponse, type SendSMSCreateParams } from './send-sms';
|
|
354
|
-
export { SendSlack, type SendSlackCreateResponse, type SendSlackCreateParams } from './send-slack';
|
|
355
|
-
export { SendSurvey, type SendSurveyCreateResponse, type SendSurveyCreateParams } from './send-survey';
|
|
356
|
-
export { SendTeams, type SendTeamCreateResponse, type SendTeamCreateParams } from './send-teams';
|
|
357
329
|
export {
|
|
358
330
|
ShiftAssignments,
|
|
359
331
|
type ShiftAssignmentUpdateCustomfieldsResponse,
|
|
@@ -458,16 +430,6 @@ export {
|
|
|
458
430
|
type UnassignedshiftUpdateParams,
|
|
459
431
|
type UnassignedshiftListResponsesPageCursorURL,
|
|
460
432
|
} from './unassignedshifts';
|
|
461
|
-
export {
|
|
462
|
-
UpdateCustomObjectRecord,
|
|
463
|
-
type UpdateCustomObjectRecordCreateResponse,
|
|
464
|
-
type UpdateCustomObjectRecordCreateParams,
|
|
465
|
-
} from './update-custom-object-record';
|
|
466
|
-
export {
|
|
467
|
-
UpsertCustomObject,
|
|
468
|
-
type UpsertCustomObjectCreateResponse,
|
|
469
|
-
type UpsertCustomObjectCreateParams,
|
|
470
|
-
} from './upsert-custom-object';
|
|
471
433
|
export {
|
|
472
434
|
Users,
|
|
473
435
|
type User,
|
|
@@ -492,3 +454,8 @@ export {
|
|
|
492
454
|
type WorkerRetrieveParams,
|
|
493
455
|
type WorkersPageCursorURL,
|
|
494
456
|
} from './workers';
|
|
457
|
+
export {
|
|
458
|
+
WorkflowActionExecutions,
|
|
459
|
+
type WorkflowActionExecutionCreateResponse,
|
|
460
|
+
type WorkflowActionExecutionCreateParams,
|
|
461
|
+
} from './workflow-action-executions';
|
|
@@ -16,7 +16,7 @@ import { path } from '../internal/utils/path';
|
|
|
16
16
|
*/
|
|
17
17
|
export class JobAssignments extends APIResource {
|
|
18
18
|
/**
|
|
19
|
-
* A
|
|
19
|
+
* A list of job assignments.
|
|
20
20
|
*
|
|
21
21
|
* - Requires: `API Tier 2`
|
|
22
22
|
* - Filterable fields: `worker_id`, `job_code_id`
|
|
@@ -49,7 +49,7 @@ export class JobAssignments extends APIResource {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* Update a specific job assignment.
|
|
53
53
|
*/
|
|
54
54
|
update(id: string, body: JobAssignmentUpdateParams, options?: RequestOptions): APIPromise<JobAssignment> {
|
|
55
55
|
return this._client.patch(path`/job-assignments/${id}/`, { body, ...options });
|
|
@@ -66,7 +66,7 @@ export class JobAssignments extends APIResource {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
* A
|
|
69
|
+
* A list of attribute change logs.
|
|
70
70
|
*
|
|
71
71
|
* - Requires: `API Tier 2`
|
|
72
72
|
* - Expandable fields: `changed_by_worker`
|
|
@@ -20,7 +20,7 @@ import { path } from '../internal/utils/path';
|
|
|
20
20
|
*/
|
|
21
21
|
export class JobCodes extends APIResource {
|
|
22
22
|
/**
|
|
23
|
-
* A
|
|
23
|
+
* A list of job codes.
|
|
24
24
|
*
|
|
25
25
|
* - Requires: `API Tier 2`
|
|
26
26
|
* - Filterable fields: `job_dimension_id`, `group_id`
|
|
@@ -54,7 +54,7 @@ export class JobCodes extends APIResource {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Update a specific job code.
|
|
58
58
|
*/
|
|
59
59
|
update(id: string, body: JobCodeUpdateParams, options?: RequestOptions): APIPromise<JobCode> {
|
|
60
60
|
return this._client.patch(path`/job-codes/${id}/`, { body, ...options });
|
|
@@ -71,7 +71,7 @@ export class JobCodes extends APIResource {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
* A
|
|
74
|
+
* A list of attribute change logs.
|
|
75
75
|
*
|
|
76
76
|
* - Requires: `API Tier 2`
|
|
77
77
|
* - Expandable fields: `changed_by_worker`
|
|
@@ -13,7 +13,7 @@ import { path } from '../internal/utils/path';
|
|
|
13
13
|
*/
|
|
14
14
|
export class JobDimensions extends APIResource {
|
|
15
15
|
/**
|
|
16
|
-
* A
|
|
16
|
+
* A list of job dimensions.
|
|
17
17
|
*
|
|
18
18
|
* - Requires: `API Tier 2`
|
|
19
19
|
* - Filterable fields: `name`
|
|
@@ -41,7 +41,7 @@ export class JobDimensions extends APIResource {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Update a specific job dimension.
|
|
45
45
|
*/
|
|
46
46
|
update(id: string, body: JobDimensionUpdateParams, options?: RequestOptions): APIPromise<JobDimension> {
|
|
47
47
|
return this._client.patch(path`/job-dimensions/${id}/`, { body, ...options });
|
|
@@ -12,7 +12,7 @@ import { path } from '../internal/utils/path';
|
|
|
12
12
|
*/
|
|
13
13
|
export class JobFunctions extends APIResource {
|
|
14
14
|
/**
|
|
15
|
-
* A
|
|
15
|
+
* A list of job functions.
|
|
16
16
|
*
|
|
17
17
|
* - Requires: `API Tier 1`
|
|
18
18
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -15,7 +15,7 @@ import { path } from '../internal/utils/path';
|
|
|
15
15
|
*/
|
|
16
16
|
export class JobPayRateExceptions extends APIResource {
|
|
17
17
|
/**
|
|
18
|
-
* A
|
|
18
|
+
* A list of job pay rate exceptions.
|
|
19
19
|
*
|
|
20
20
|
* - Requires: `API Tier 2`
|
|
21
21
|
* - Filterable fields: `job_code_id`
|
|
@@ -44,7 +44,7 @@ export class JobPayRateExceptions extends APIResource {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* A
|
|
47
|
+
* A list of attribute change logs.
|
|
48
48
|
*
|
|
49
49
|
* - Requires: `API Tier 2`
|
|
50
50
|
* - Expandable fields: `changed_by_worker`
|
|
@@ -9,7 +9,7 @@ import { RequestOptions } from '../internal/request-options';
|
|
|
9
9
|
*/
|
|
10
10
|
export class JobRequisitions extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of job requisitions.
|
|
13
13
|
*
|
|
14
14
|
* - Requires: `API Tier 2`
|
|
15
15
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -14,7 +14,7 @@ import { path } from '../internal/utils/path';
|
|
|
14
14
|
*/
|
|
15
15
|
export class KioskBadges extends APIResource {
|
|
16
16
|
/**
|
|
17
|
-
* A
|
|
17
|
+
* A list of kiosk badges.
|
|
18
18
|
*
|
|
19
19
|
* - Requires: `API Tier 2`
|
|
20
20
|
* - Filterable fields: `badge_id`
|
|
@@ -50,7 +50,7 @@ export class KioskBadges extends APIResource {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Update a specific kiosk badge.
|
|
54
54
|
*/
|
|
55
55
|
update(
|
|
56
56
|
id: string,
|
|
@@ -13,7 +13,7 @@ import { path } from '../internal/utils/path';
|
|
|
13
13
|
*/
|
|
14
14
|
export class LeaveAccruals extends APIResource {
|
|
15
15
|
/**
|
|
16
|
-
* A
|
|
16
|
+
* A list of leave accruals.
|
|
17
17
|
*
|
|
18
18
|
* - Requires: `API Tier 2`
|
|
19
19
|
* - Filterable fields: `worker_id`, `leave_type_id`, `accrual_date`
|
|
@@ -14,7 +14,7 @@ import { path } from '../internal/utils/path';
|
|
|
14
14
|
*/
|
|
15
15
|
export class LeaveBalances extends APIResource {
|
|
16
16
|
/**
|
|
17
|
-
* A
|
|
17
|
+
* A list of leave balances.
|
|
18
18
|
*
|
|
19
19
|
* - Requires: `API Tier 2`
|
|
20
20
|
* - Filterable fields: `worker_id`, `leave_type_id`
|
|
@@ -14,7 +14,7 @@ import { path } from '../internal/utils/path';
|
|
|
14
14
|
*/
|
|
15
15
|
export class LeaveRequests extends APIResource {
|
|
16
16
|
/**
|
|
17
|
-
* A
|
|
17
|
+
* A list of leave requests.
|
|
18
18
|
*
|
|
19
19
|
* - Requires: `API Tier 2`
|
|
20
20
|
* - Filterable fields: `worker_id`, `requester_id`, `reviewer_id`, `status`,
|
|
@@ -51,7 +51,7 @@ export class LeaveRequests extends APIResource {
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Update a specific leave request.
|
|
55
55
|
*/
|
|
56
56
|
update(
|
|
57
57
|
id: string,
|
package/src/resources/levels.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { path } from '../internal/utils/path';
|
|
|
12
12
|
*/
|
|
13
13
|
export class LocationFactors extends APIResource {
|
|
14
14
|
/**
|
|
15
|
-
* A
|
|
15
|
+
* A list of location factors.
|
|
16
16
|
*
|
|
17
17
|
* - Requires: `API Tier 2`
|
|
18
18
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -9,9 +9,9 @@ import { RequestOptions } from '../../internal/request-options';
|
|
|
9
9
|
*/
|
|
10
10
|
export class Components extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of metadata components.
|
|
13
13
|
*
|
|
14
|
-
* - Requires: `
|
|
14
|
+
* - Requires: `Metadata Platform API`
|
|
15
15
|
*/
|
|
16
16
|
list(options?: RequestOptions): PagePromise<ComponentListResponsesPageCursorURL, ComponentListResponse> {
|
|
17
17
|
return this._client.getAPIList('/metadata/components/', PageCursorURL<ComponentListResponse>, options);
|
|
@@ -19,9 +19,9 @@ export class Metadata extends APIResource {
|
|
|
19
19
|
types: TypesAPI.Types = new TypesAPI.Types(this._client);
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* A
|
|
22
|
+
* A list of metadata components.
|
|
23
23
|
*
|
|
24
|
-
* - Requires: `
|
|
24
|
+
* - Requires: `Metadata Platform API`
|
|
25
25
|
*/
|
|
26
26
|
list(options?: RequestOptions): PagePromise<MetadataListResponsesPageCursorURL, MetadataListResponse> {
|
|
27
27
|
return this._client.getAPIList('/metadata/', PageCursorURL<MetadataListResponse>, options);
|
|
@@ -9,9 +9,9 @@ import { RequestOptions } from '../../internal/request-options';
|
|
|
9
9
|
*/
|
|
10
10
|
export class Summary extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of metadata summary.
|
|
13
13
|
*
|
|
14
|
-
* - Requires: `
|
|
14
|
+
* - Requires: `Metadata Platform API`
|
|
15
15
|
*/
|
|
16
16
|
list(options?: RequestOptions): PagePromise<SummaryListResponsesPageCursorURL, SummaryListResponse> {
|
|
17
17
|
return this._client.getAPIList('/metadata/summary/', PageCursorURL<SummaryListResponse>, options);
|
|
@@ -9,9 +9,9 @@ import { RequestOptions } from '../../internal/request-options';
|
|
|
9
9
|
*/
|
|
10
10
|
export class Types extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of metadata types.
|
|
13
13
|
*
|
|
14
|
-
* - Requires: `
|
|
14
|
+
* - Requires: `Metadata Platform API`
|
|
15
15
|
*/
|
|
16
16
|
list(options?: RequestOptions): PagePromise<TypeListResponsesPageCursorURL, TypeListResponse> {
|
|
17
17
|
return this._client.getAPIList('/metadata/types/', PageCursorURL<TypeListResponse>, options);
|
|
@@ -12,7 +12,7 @@ import { path } from '../internal/utils/path';
|
|
|
12
12
|
*/
|
|
13
13
|
export class ObjectCategories extends APIResource {
|
|
14
14
|
/**
|
|
15
|
-
* A
|
|
15
|
+
* A list of object categories.
|
|
16
16
|
*
|
|
17
17
|
* - Requires: `API Tier 1`
|
|
18
18
|
*/
|
|
@@ -21,7 +21,7 @@ export class ObjectCategories extends APIResource {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* Create a new object category
|
|
24
|
+
* Create a new object category.
|
|
25
25
|
*/
|
|
26
26
|
create(
|
|
27
27
|
body: ObjectCategoryCreateParams | null | undefined = {},
|
|
@@ -31,14 +31,14 @@ export class ObjectCategories extends APIResource {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* Retrieve a specific object category
|
|
34
|
+
* Retrieve a specific object category.
|
|
35
35
|
*/
|
|
36
36
|
retrieve(id: string, options?: RequestOptions): APIPromise<ObjectCategory> {
|
|
37
37
|
return this._client.get(path`/object-categories/${id}/`, options);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Update a specific object category.
|
|
42
42
|
*/
|
|
43
43
|
update(
|
|
44
44
|
id: string,
|
|
@@ -49,7 +49,7 @@ export class ObjectCategories extends APIResource {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Delete a object category
|
|
52
|
+
* Delete a object category.
|
|
53
53
|
*/
|
|
54
54
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
55
55
|
return this._client.delete(path`/object-categories/${id}/`, {
|
|
@@ -89,14 +89,26 @@ export interface ObjectCategory {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
export interface ObjectCategoryCreateParams {
|
|
92
|
+
/**
|
|
93
|
+
* A description of the category.
|
|
94
|
+
*/
|
|
92
95
|
description?: string;
|
|
93
96
|
|
|
97
|
+
/**
|
|
98
|
+
* The name of the category.
|
|
99
|
+
*/
|
|
94
100
|
name?: string;
|
|
95
101
|
}
|
|
96
102
|
|
|
97
103
|
export interface ObjectCategoryUpdateParams {
|
|
104
|
+
/**
|
|
105
|
+
* A description of the category.
|
|
106
|
+
*/
|
|
98
107
|
description?: string;
|
|
99
108
|
|
|
109
|
+
/**
|
|
110
|
+
* The name of the category.
|
|
111
|
+
*/
|
|
100
112
|
name?: string;
|
|
101
113
|
}
|
|
102
114
|
|