@rippling/rippling-sdk 0.2.0-alpha.27 → 0.2.0-alpha.29
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 +74 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +74 -2
- package/client.d.ts.map +1 -1
- package/client.js +72 -0
- package/client.js.map +1 -1
- package/client.mjs +72 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/assign-review.d.mts +31 -0
- package/resources/assign-review.d.mts.map +1 -0
- package/resources/assign-review.d.ts +31 -0
- package/resources/assign-review.d.ts.map +1 -0
- package/resources/assign-review.js +18 -0
- package/resources/assign-review.js.map +1 -0
- package/resources/assign-review.mjs +14 -0
- package/resources/assign-review.mjs.map +1 -0
- package/resources/business-partner-groups.js +4 -4
- package/resources/business-partner-groups.js.map +1 -1
- package/resources/business-partner-groups.mjs +4 -4
- package/resources/business-partner-groups.mjs.map +1 -1
- package/resources/business-partners.js +4 -4
- package/resources/business-partners.js.map +1 -1
- package/resources/business-partners.mjs +4 -4
- package/resources/business-partners.mjs.map +1 -1
- package/resources/candidate-applications.js +1 -1
- package/resources/candidate-applications.js.map +1 -1
- package/resources/candidate-applications.mjs +1 -1
- package/resources/candidate-applications.mjs.map +1 -1
- package/resources/candidates.js +1 -1
- package/resources/candidates.js.map +1 -1
- package/resources/candidates.mjs +1 -1
- package/resources/candidates.mjs.map +1 -1
- package/resources/companies.js +1 -1
- package/resources/companies.js.map +1 -1
- package/resources/companies.mjs +1 -1
- package/resources/companies.mjs.map +1 -1
- package/resources/compensation-bands-details.js +2 -2
- package/resources/compensation-bands-details.js.map +1 -1
- package/resources/compensation-bands-details.mjs +2 -2
- package/resources/compensation-bands-details.mjs.map +1 -1
- package/resources/compensations.js +2 -2
- package/resources/compensations.js.map +1 -1
- package/resources/compensations.mjs +2 -2
- package/resources/compensations.mjs.map +1 -1
- package/resources/create-app-notification.d.mts +1 -1
- package/resources/create-app-notification.d.ts +1 -1
- package/resources/create-app-notification.js +2 -2
- package/resources/create-app-notification.js.map +1 -1
- package/resources/create-app-notification.mjs +2 -2
- package/resources/create-app-notification.mjs.map +1 -1
- package/resources/create-gcal-event.d.mts +55 -0
- package/resources/create-gcal-event.d.mts.map +1 -0
- package/resources/create-gcal-event.d.ts +55 -0
- package/resources/create-gcal-event.d.ts.map +1 -0
- package/resources/create-gcal-event.js +18 -0
- package/resources/create-gcal-event.js.map +1 -0
- package/resources/create-gcal-event.mjs +14 -0
- package/resources/create-gcal-event.mjs.map +1 -0
- package/resources/custom-apps.d.mts +84 -4
- package/resources/custom-apps.d.mts.map +1 -1
- package/resources/custom-apps.d.ts +84 -4
- package/resources/custom-apps.d.ts.map +1 -1
- package/resources/custom-apps.js +5 -5
- package/resources/custom-apps.js.map +1 -1
- package/resources/custom-apps.mjs +5 -5
- package/resources/custom-apps.mjs.map +1 -1
- package/resources/custom-fields.js +1 -1
- package/resources/custom-fields.js.map +1 -1
- package/resources/custom-fields.mjs +1 -1
- package/resources/custom-fields.mjs.map +1 -1
- package/resources/custom-pages.d.mts +40 -64
- package/resources/custom-pages.d.mts.map +1 -1
- package/resources/custom-pages.d.ts +40 -64
- package/resources/custom-pages.d.ts.map +1 -1
- package/resources/custom-pages.js +5 -5
- package/resources/custom-pages.js.map +1 -1
- package/resources/custom-pages.mjs +5 -5
- package/resources/custom-pages.mjs.map +1 -1
- 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/delete-custom-object-record.d.mts +26 -0
- package/resources/delete-custom-object-record.d.mts.map +1 -0
- package/resources/delete-custom-object-record.d.ts +26 -0
- package/resources/delete-custom-object-record.d.ts.map +1 -0
- package/resources/delete-custom-object-record.js +18 -0
- package/resources/delete-custom-object-record.js.map +1 -0
- package/resources/delete-custom-object-record.mjs +14 -0
- package/resources/delete-custom-object-record.mjs.map +1 -0
- package/resources/departments.js +4 -4
- package/resources/departments.js.map +1 -1
- package/resources/departments.mjs +4 -4
- package/resources/departments.mjs.map +1 -1
- package/resources/draft-hires.d.mts +8 -0
- package/resources/draft-hires.d.mts.map +1 -1
- package/resources/draft-hires.d.ts +8 -0
- package/resources/draft-hires.d.ts.map +1 -1
- package/resources/employment-types.js +2 -2
- package/resources/employment-types.js.map +1 -1
- package/resources/employment-types.mjs +2 -2
- package/resources/employment-types.mjs.map +1 -1
- package/resources/entitlements.js +1 -1
- package/resources/entitlements.js.map +1 -1
- package/resources/entitlements.mjs +1 -1
- package/resources/entitlements.mjs.map +1 -1
- package/resources/evaluate-rql.d.mts +31 -0
- package/resources/evaluate-rql.d.mts.map +1 -0
- package/resources/evaluate-rql.d.ts +31 -0
- package/resources/evaluate-rql.d.ts.map +1 -0
- package/resources/evaluate-rql.js +18 -0
- package/resources/evaluate-rql.js.map +1 -0
- package/resources/evaluate-rql.mjs +14 -0
- package/resources/evaluate-rql.mjs.map +1 -0
- package/resources/headcount-positions.js +2 -2
- package/resources/headcount-positions.js.map +1 -1
- package/resources/headcount-positions.mjs +2 -2
- package/resources/headcount-positions.mjs.map +1 -1
- package/resources/headcount-priorities.js +2 -2
- package/resources/headcount-priorities.js.map +1 -1
- package/resources/headcount-priorities.mjs +2 -2
- package/resources/headcount-priorities.mjs.map +1 -1
- package/resources/index.d.mts +13 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +13 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +26 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +12 -0
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.js +6 -6
- package/resources/job-assignments.js.map +1 -1
- package/resources/job-assignments.mjs +6 -6
- package/resources/job-assignments.mjs.map +1 -1
- package/resources/job-codes.js +6 -6
- package/resources/job-codes.js.map +1 -1
- package/resources/job-codes.mjs +6 -6
- package/resources/job-codes.mjs.map +1 -1
- package/resources/job-dimensions.js +5 -5
- package/resources/job-dimensions.js.map +1 -1
- package/resources/job-dimensions.mjs +5 -5
- package/resources/job-dimensions.mjs.map +1 -1
- package/resources/job-functions.js +2 -2
- package/resources/job-functions.js.map +1 -1
- package/resources/job-functions.mjs +2 -2
- package/resources/job-functions.mjs.map +1 -1
- package/resources/job-pay-rate-exceptions.js +3 -3
- package/resources/job-pay-rate-exceptions.js.map +1 -1
- package/resources/job-pay-rate-exceptions.mjs +3 -3
- package/resources/job-pay-rate-exceptions.mjs.map +1 -1
- package/resources/job-requisitions-write.js +1 -1
- package/resources/job-requisitions-write.js.map +1 -1
- package/resources/job-requisitions-write.mjs +1 -1
- package/resources/job-requisitions-write.mjs.map +1 -1
- package/resources/job-requisitions.d.mts.map +1 -1
- package/resources/job-requisitions.d.ts.map +1 -1
- package/resources/job-requisitions.js +4 -1
- package/resources/job-requisitions.js.map +1 -1
- package/resources/job-requisitions.mjs +4 -1
- package/resources/job-requisitions.mjs.map +1 -1
- package/resources/kiosk-badges.js +5 -5
- package/resources/kiosk-badges.js.map +1 -1
- package/resources/kiosk-badges.mjs +5 -5
- package/resources/kiosk-badges.mjs.map +1 -1
- package/resources/leave-accruals.js +3 -3
- package/resources/leave-accruals.js.map +1 -1
- package/resources/leave-accruals.mjs +3 -3
- package/resources/leave-accruals.mjs.map +1 -1
- package/resources/leave-balances.js +2 -2
- package/resources/leave-balances.js.map +1 -1
- package/resources/leave-balances.mjs +2 -2
- package/resources/leave-balances.mjs.map +1 -1
- package/resources/leave-requests.js +4 -4
- package/resources/leave-requests.js.map +1 -1
- package/resources/leave-requests.mjs +4 -4
- package/resources/leave-requests.mjs.map +1 -1
- package/resources/leave-types.js +2 -2
- package/resources/leave-types.js.map +1 -1
- package/resources/leave-types.mjs +2 -2
- package/resources/leave-types.mjs.map +1 -1
- package/resources/legal-entities.js +2 -2
- package/resources/legal-entities.js.map +1 -1
- package/resources/legal-entities.mjs +2 -2
- package/resources/legal-entities.mjs.map +1 -1
- package/resources/levels.js +2 -2
- package/resources/levels.js.map +1 -1
- package/resources/levels.mjs +2 -2
- package/resources/levels.mjs.map +1 -1
- package/resources/location-factors.js +2 -2
- package/resources/location-factors.js.map +1 -1
- package/resources/location-factors.mjs +2 -2
- package/resources/location-factors.mjs.map +1 -1
- package/resources/metadata/components.js +1 -1
- package/resources/metadata/components.js.map +1 -1
- package/resources/metadata/components.mjs +1 -1
- package/resources/metadata/components.mjs.map +1 -1
- package/resources/metadata/metadata.js +1 -1
- package/resources/metadata/metadata.js.map +1 -1
- package/resources/metadata/metadata.mjs +1 -1
- package/resources/metadata/metadata.mjs.map +1 -1
- package/resources/metadata/summary.js +1 -1
- package/resources/metadata/summary.js.map +1 -1
- package/resources/metadata/summary.mjs +1 -1
- package/resources/metadata/summary.mjs.map +1 -1
- package/resources/metadata/types.js +1 -1
- package/resources/metadata/types.js.map +1 -1
- package/resources/metadata/types.mjs +1 -1
- package/resources/metadata/types.mjs.map +1 -1
- package/resources/platform-capabilities.js +1 -1
- package/resources/platform-capabilities.js.map +1 -1
- package/resources/platform-capabilities.mjs +1 -1
- package/resources/platform-capabilities.mjs.map +1 -1
- package/resources/report-runs.js +2 -2
- package/resources/report-runs.js.map +1 -1
- package/resources/report-runs.mjs +2 -2
- package/resources/report-runs.mjs.map +1 -1
- package/resources/run-query.js +1 -1
- package/resources/run-query.js.map +1 -1
- package/resources/run-query.mjs +1 -1
- package/resources/run-query.mjs.map +1 -1
- package/resources/schedules.js +4 -4
- package/resources/schedules.js.map +1 -1
- package/resources/schedules.mjs +4 -4
- package/resources/schedules.mjs.map +1 -1
- package/resources/send-email.d.mts +1 -1
- package/resources/send-email.d.ts +1 -1
- package/resources/send-email.js +2 -2
- package/resources/send-email.js.map +1 -1
- package/resources/send-email.mjs +2 -2
- package/resources/send-email.mjs.map +1 -1
- package/resources/send-http-request.d.mts +32 -0
- package/resources/send-http-request.d.mts.map +1 -0
- package/resources/send-http-request.d.ts +32 -0
- package/resources/send-http-request.d.ts.map +1 -0
- package/resources/send-http-request.js +18 -0
- package/resources/send-http-request.js.map +1 -0
- package/resources/send-http-request.mjs +14 -0
- package/resources/send-http-request.mjs.map +1 -0
- package/resources/send-push-notification.d.mts +27 -0
- package/resources/send-push-notification.d.mts.map +1 -0
- package/resources/send-push-notification.d.ts +27 -0
- package/resources/send-push-notification.d.ts.map +1 -0
- package/resources/send-push-notification.js +18 -0
- package/resources/send-push-notification.js.map +1 -0
- package/resources/send-push-notification.mjs +14 -0
- package/resources/send-push-notification.mjs.map +1 -0
- package/resources/send-report-sftp.d.mts +42 -0
- package/resources/send-report-sftp.d.mts.map +1 -0
- package/resources/send-report-sftp.d.ts +42 -0
- package/resources/send-report-sftp.d.ts.map +1 -0
- package/resources/send-report-sftp.js +18 -0
- package/resources/send-report-sftp.js.map +1 -0
- package/resources/send-report-sftp.mjs +14 -0
- package/resources/send-report-sftp.mjs.map +1 -0
- package/resources/send-slack.d.mts +1 -1
- package/resources/send-slack.d.ts +1 -1
- package/resources/send-slack.js +2 -2
- package/resources/send-slack.js.map +1 -1
- package/resources/send-slack.mjs +2 -2
- package/resources/send-slack.mjs.map +1 -1
- package/resources/send-sms.d.mts +26 -0
- package/resources/send-sms.d.mts.map +1 -0
- package/resources/send-sms.d.ts +26 -0
- package/resources/send-sms.d.ts.map +1 -0
- package/resources/send-sms.js +18 -0
- package/resources/send-sms.js.map +1 -0
- package/resources/send-sms.mjs +14 -0
- package/resources/send-sms.mjs.map +1 -0
- package/resources/send-survey.d.mts +29 -0
- package/resources/send-survey.d.mts.map +1 -0
- package/resources/send-survey.d.ts +29 -0
- package/resources/send-survey.d.ts.map +1 -0
- package/resources/send-survey.js +18 -0
- package/resources/send-survey.js.map +1 -0
- package/resources/send-survey.mjs +14 -0
- package/resources/send-survey.mjs.map +1 -0
- package/resources/send-teams.d.mts +30 -0
- package/resources/send-teams.d.mts.map +1 -0
- package/resources/send-teams.d.ts +30 -0
- package/resources/send-teams.d.ts.map +1 -0
- package/resources/send-teams.js +18 -0
- package/resources/send-teams.js.map +1 -0
- package/resources/send-teams.mjs +14 -0
- package/resources/send-teams.mjs.map +1 -0
- package/resources/shift-assignments.js +1 -1
- package/resources/shift-assignments.js.map +1 -1
- package/resources/shift-assignments.mjs +1 -1
- package/resources/shift-assignments.mjs.map +1 -1
- package/resources/shift-inputs.js +5 -5
- package/resources/shift-inputs.js.map +1 -1
- package/resources/shift-inputs.mjs +5 -5
- package/resources/shift-inputs.mjs.map +1 -1
- package/resources/shiftassignments.js +4 -4
- package/resources/shiftassignments.js.map +1 -1
- package/resources/shiftassignments.mjs +4 -4
- package/resources/shiftassignments.mjs.map +1 -1
- package/resources/sso-me.d.mts +3 -3
- package/resources/sso-me.d.mts.map +1 -1
- package/resources/sso-me.d.ts +3 -3
- package/resources/sso-me.d.ts.map +1 -1
- package/resources/sso-me.js +2 -2
- package/resources/sso-me.js.map +1 -1
- package/resources/sso-me.mjs +2 -2
- package/resources/sso-me.mjs.map +1 -1
- package/resources/supergroups/exclusion-members.js +2 -2
- package/resources/supergroups/exclusion-members.js.map +1 -1
- package/resources/supergroups/exclusion-members.mjs +2 -2
- package/resources/supergroups/exclusion-members.mjs.map +1 -1
- package/resources/supergroups/inclusion-members.js +2 -2
- package/resources/supergroups/inclusion-members.js.map +1 -1
- package/resources/supergroups/inclusion-members.mjs +2 -2
- package/resources/supergroups/inclusion-members.mjs.map +1 -1
- package/resources/supergroups/members.d.mts.map +1 -1
- package/resources/supergroups/members.d.ts.map +1 -1
- package/resources/supergroups/members.js +1 -4
- package/resources/supergroups/members.js.map +1 -1
- package/resources/supergroups/members.mjs +1 -4
- package/resources/supergroups/members.mjs.map +1 -1
- package/resources/supergroups/supergroups.js +2 -2
- package/resources/supergroups/supergroups.js.map +1 -1
- package/resources/supergroups/supergroups.mjs +2 -2
- package/resources/supergroups/supergroups.mjs.map +1 -1
- package/resources/teams.js +2 -2
- package/resources/teams.js.map +1 -1
- package/resources/teams.mjs +2 -2
- package/resources/teams.mjs.map +1 -1
- package/resources/time-cards.js +2 -2
- package/resources/time-cards.js.map +1 -1
- package/resources/time-cards.mjs +2 -2
- package/resources/time-cards.mjs.map +1 -1
- package/resources/time-entries.js +5 -5
- package/resources/time-entries.js.map +1 -1
- package/resources/time-entries.mjs +5 -5
- package/resources/time-entries.mjs.map +1 -1
- package/resources/titles.js +5 -5
- package/resources/titles.js.map +1 -1
- package/resources/titles.mjs +5 -5
- package/resources/titles.mjs.map +1 -1
- package/resources/tracks.js +2 -2
- package/resources/tracks.js.map +1 -1
- package/resources/tracks.mjs +2 -2
- package/resources/tracks.mjs.map +1 -1
- package/resources/unassigned-shifts.js +2 -2
- package/resources/unassigned-shifts.js.map +1 -1
- package/resources/unassigned-shifts.mjs +2 -2
- package/resources/unassigned-shifts.mjs.map +1 -1
- package/resources/unassignedshifts.js +4 -4
- package/resources/unassignedshifts.js.map +1 -1
- package/resources/unassignedshifts.mjs +4 -4
- package/resources/unassignedshifts.mjs.map +1 -1
- package/resources/update-custom-object-record.d.mts +27 -0
- package/resources/update-custom-object-record.d.mts.map +1 -0
- package/resources/update-custom-object-record.d.ts +27 -0
- package/resources/update-custom-object-record.d.ts.map +1 -0
- package/resources/update-custom-object-record.js +18 -0
- package/resources/update-custom-object-record.js.map +1 -0
- package/resources/update-custom-object-record.mjs +14 -0
- package/resources/update-custom-object-record.mjs.map +1 -0
- package/resources/upsert-custom-object.d.mts +26 -0
- package/resources/upsert-custom-object.d.mts.map +1 -0
- package/resources/upsert-custom-object.d.ts +26 -0
- package/resources/upsert-custom-object.d.ts.map +1 -0
- package/resources/upsert-custom-object.js +18 -0
- package/resources/upsert-custom-object.js.map +1 -0
- package/resources/upsert-custom-object.mjs +14 -0
- package/resources/upsert-custom-object.mjs.map +1 -0
- package/resources/users.js +2 -2
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +2 -2
- package/resources/users.mjs.map +1 -1
- package/resources/work-locations.js +5 -5
- package/resources/work-locations.js.map +1 -1
- package/resources/work-locations.mjs +5 -5
- package/resources/work-locations.mjs.map +1 -1
- package/resources/workers.js +2 -2
- package/resources/workers.js.map +1 -1
- package/resources/workers.mjs +2 -2
- package/resources/workers.mjs.map +1 -1
- package/src/client.ts +178 -6
- package/src/resources/assign-review.ts +44 -0
- package/src/resources/business-partner-groups.ts +4 -4
- package/src/resources/business-partners.ts +4 -4
- 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 +2 -2
- package/src/resources/compensations.ts +2 -2
- package/src/resources/create-app-notification.ts +2 -2
- package/src/resources/create-gcal-event.ts +86 -0
- package/src/resources/custom-apps.ts +109 -9
- package/src/resources/custom-fields.ts +1 -1
- package/src/resources/custom-pages.ts +47 -77
- package/src/resources/custom-settings.ts +5 -5
- package/src/resources/delete-custom-object-record.ts +40 -0
- package/src/resources/departments.ts +4 -4
- package/src/resources/draft-hires.ts +10 -0
- package/src/resources/employment-types.ts +2 -2
- package/src/resources/entitlements.ts +1 -1
- package/src/resources/evaluate-rql.ts +44 -0
- package/src/resources/headcount-positions.ts +2 -2
- package/src/resources/headcount-priorities.ts +2 -2
- package/src/resources/index.ts +45 -1
- package/src/resources/job-assignments.ts +6 -6
- package/src/resources/job-codes.ts +6 -6
- package/src/resources/job-dimensions.ts +5 -5
- package/src/resources/job-functions.ts +2 -2
- package/src/resources/job-pay-rate-exceptions.ts +3 -3
- package/src/resources/job-requisitions-write.ts +1 -1
- package/src/resources/job-requisitions.ts +4 -1
- package/src/resources/kiosk-badges.ts +5 -5
- package/src/resources/leave-accruals.ts +3 -3
- package/src/resources/leave-balances.ts +2 -2
- package/src/resources/leave-requests.ts +4 -4
- package/src/resources/leave-types.ts +2 -2
- package/src/resources/legal-entities.ts +2 -2
- package/src/resources/levels.ts +2 -2
- package/src/resources/location-factors.ts +2 -2
- package/src/resources/metadata/components.ts +1 -1
- package/src/resources/metadata/metadata.ts +1 -1
- package/src/resources/metadata/summary.ts +1 -1
- package/src/resources/metadata/types.ts +1 -1
- package/src/resources/platform-capabilities.ts +1 -1
- package/src/resources/report-runs.ts +2 -2
- package/src/resources/run-query.ts +1 -1
- package/src/resources/schedules.ts +4 -4
- package/src/resources/send-email.ts +2 -2
- package/src/resources/send-http-request.ts +49 -0
- package/src/resources/send-push-notification.ts +42 -0
- package/src/resources/send-report-sftp.ts +66 -0
- package/src/resources/send-slack.ts +2 -2
- package/src/resources/send-sms.ts +37 -0
- package/src/resources/send-survey.ts +43 -0
- package/src/resources/send-teams.ts +42 -0
- package/src/resources/shift-assignments.ts +1 -1
- package/src/resources/shift-inputs.ts +5 -5
- package/src/resources/shiftassignments.ts +4 -4
- package/src/resources/sso-me.ts +4 -4
- package/src/resources/supergroups/exclusion-members.ts +2 -2
- package/src/resources/supergroups/inclusion-members.ts +2 -2
- package/src/resources/supergroups/members.ts +5 -4
- package/src/resources/supergroups/supergroups.ts +2 -2
- package/src/resources/teams.ts +2 -2
- package/src/resources/time-cards.ts +2 -2
- package/src/resources/time-entries.ts +5 -5
- package/src/resources/titles.ts +5 -5
- package/src/resources/tracks.ts +2 -2
- package/src/resources/unassigned-shifts.ts +2 -2
- package/src/resources/unassignedshifts.ts +4 -4
- package/src/resources/update-custom-object-record.ts +42 -0
- package/src/resources/upsert-custom-object.ts +40 -0
- package/src/resources/users.ts +2 -2
- package/src/resources/work-locations.ts +5 -5
- package/src/resources/workers.ts +2 -2
- 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
|
@@ -22,14 +22,14 @@ export class Departments extends APIResource {
|
|
|
22
22
|
query: DepartmentListParams | null | undefined = {},
|
|
23
23
|
options?: RequestOptions,
|
|
24
24
|
): PagePromise<DepartmentsPageCursorURL, Department> {
|
|
25
|
-
return this._client.getAPIList('/departments', PageCursorURL<Department>, { query, ...options });
|
|
25
|
+
return this._client.getAPIList('/departments/', PageCursorURL<Department>, { query, ...options });
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* Create a new department
|
|
30
30
|
*/
|
|
31
31
|
create(body: DepartmentCreateParams, options?: RequestOptions): APIPromise<Department> {
|
|
32
|
-
return this._client.post('/departments', { body, ...options });
|
|
32
|
+
return this._client.post('/departments/', { body, ...options });
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/**
|
|
@@ -40,14 +40,14 @@ export class Departments extends APIResource {
|
|
|
40
40
|
query: DepartmentRetrieveParams | null | undefined = {},
|
|
41
41
|
options?: RequestOptions,
|
|
42
42
|
): APIPromise<DepartmentRetrieveResponse> {
|
|
43
|
-
return this._client.get(path`/departments/${id}
|
|
43
|
+
return this._client.get(path`/departments/${id}/`, { query, ...options });
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
47
|
* Updated a specific department
|
|
48
48
|
*/
|
|
49
49
|
update(id: string, body: DepartmentUpdateParams, options?: RequestOptions): APIPromise<Department> {
|
|
50
|
-
return this._client.patch(path`/departments/${id}
|
|
50
|
+
return this._client.patch(path`/departments/${id}/`, { body, ...options });
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -247,6 +247,11 @@ export namespace DraftHireCreateParams {
|
|
|
247
247
|
*/
|
|
248
248
|
target_annual_bonus?: number;
|
|
249
249
|
|
|
250
|
+
/**
|
|
251
|
+
* Target annual bonus as a percentage
|
|
252
|
+
*/
|
|
253
|
+
target_annual_bonus_percent?: number;
|
|
254
|
+
|
|
250
255
|
/**
|
|
251
256
|
* Teams IDs
|
|
252
257
|
*/
|
|
@@ -510,6 +515,11 @@ export namespace DraftHireCreateParams {
|
|
|
510
515
|
* Work location ID
|
|
511
516
|
*/
|
|
512
517
|
location_id?: string;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* State code of the work location
|
|
521
|
+
*/
|
|
522
|
+
state_code?: string;
|
|
513
523
|
}
|
|
514
524
|
|
|
515
525
|
/**
|
|
@@ -21,7 +21,7 @@ export class EmploymentTypes extends APIResource {
|
|
|
21
21
|
query: EmploymentTypeListParams | null | undefined = {},
|
|
22
22
|
options?: RequestOptions,
|
|
23
23
|
): PagePromise<CompanyEmploymentTypesPageCursorURL, CompanyEmploymentType> {
|
|
24
|
-
return this._client.getAPIList('/employment-types', PageCursorURL<CompanyEmploymentType>, {
|
|
24
|
+
return this._client.getAPIList('/employment-types/', PageCursorURL<CompanyEmploymentType>, {
|
|
25
25
|
query,
|
|
26
26
|
...options,
|
|
27
27
|
});
|
|
@@ -31,7 +31,7 @@ export class EmploymentTypes extends APIResource {
|
|
|
31
31
|
* Retrieve a specific employment type
|
|
32
32
|
*/
|
|
33
33
|
retrieve(id: string, options?: RequestOptions): APIPromise<EmploymentTypeRetrieveResponse> {
|
|
34
|
-
return this._client.get(path`/employment-types/${id}
|
|
34
|
+
return this._client.get(path`/employment-types/${id}/`, options);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -16,7 +16,7 @@ export class Entitlements extends APIResource {
|
|
|
16
16
|
list(
|
|
17
17
|
options?: RequestOptions,
|
|
18
18
|
): PagePromise<EntitlementListResponsesPageCursorURL, EntitlementListResponse> {
|
|
19
|
-
return this._client.getAPIList('/entitlements', PageCursorURL<EntitlementListResponse>, options);
|
|
19
|
+
return this._client.getAPIList('/entitlements/', PageCursorURL<EntitlementListResponse>, options);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
9
|
+
*/
|
|
10
|
+
export class EvaluateRql extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Execute the rql evaluation action.
|
|
13
|
+
*/
|
|
14
|
+
create(body: EvaluateRqlCreateParams, options?: RequestOptions): APIPromise<EvaluateRqlCreateResponse> {
|
|
15
|
+
return this._client.post('/evaluate-rql/', { body, ...options });
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface EvaluateRqlCreateResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Result of the evaluate RQL action
|
|
22
|
+
*/
|
|
23
|
+
result: unknown;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface EvaluateRqlCreateParams {
|
|
27
|
+
/**
|
|
28
|
+
* An enumeration.
|
|
29
|
+
*/
|
|
30
|
+
queryType: 'SELECTION' | 'QUERY';
|
|
31
|
+
|
|
32
|
+
rqlCondition?: string | null;
|
|
33
|
+
|
|
34
|
+
rqlFormula?: string | null;
|
|
35
|
+
|
|
36
|
+
rqlModelName?: string | null;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export declare namespace EvaluateRql {
|
|
40
|
+
export {
|
|
41
|
+
type EvaluateRqlCreateResponse as EvaluateRqlCreateResponse,
|
|
42
|
+
type EvaluateRqlCreateParams as EvaluateRqlCreateParams,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -40,7 +40,7 @@ export class HeadcountPositions extends APIResource {
|
|
|
40
40
|
query: HeadcountPositionListParams | null | undefined = {},
|
|
41
41
|
options?: RequestOptions,
|
|
42
42
|
): PagePromise<HeadcountPositionListResponsesPageCursorURL, HeadcountPositionListResponse> {
|
|
43
|
-
return this._client.getAPIList('/headcount-positions', PageCursorURL<HeadcountPositionListResponse>, {
|
|
43
|
+
return this._client.getAPIList('/headcount-positions/', PageCursorURL<HeadcountPositionListResponse>, {
|
|
44
44
|
query,
|
|
45
45
|
...options,
|
|
46
46
|
});
|
|
@@ -54,7 +54,7 @@ export class HeadcountPositions extends APIResource {
|
|
|
54
54
|
query: HeadcountPositionRetrieveParams | null | undefined = {},
|
|
55
55
|
options?: RequestOptions,
|
|
56
56
|
): APIPromise<HeadcountPositionRetrieveResponse> {
|
|
57
|
-
return this._client.get(path`/headcount-positions/${id}
|
|
57
|
+
return this._client.get(path`/headcount-positions/${id}/`, { query, ...options });
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -21,7 +21,7 @@ export class HeadcountPriorities extends APIResource {
|
|
|
21
21
|
query: HeadcountPriorityListParams | null | undefined = {},
|
|
22
22
|
options?: RequestOptions,
|
|
23
23
|
): PagePromise<HeadcountPriorityListResponsesPageCursorURL, HeadcountPriorityListResponse> {
|
|
24
|
-
return this._client.getAPIList('/headcount-priorities', PageCursorURL<HeadcountPriorityListResponse>, {
|
|
24
|
+
return this._client.getAPIList('/headcount-priorities/', PageCursorURL<HeadcountPriorityListResponse>, {
|
|
25
25
|
query,
|
|
26
26
|
...options,
|
|
27
27
|
});
|
|
@@ -31,7 +31,7 @@ export class HeadcountPriorities extends APIResource {
|
|
|
31
31
|
* Retrieve a specific headcount priority
|
|
32
32
|
*/
|
|
33
33
|
retrieve(id: string, options?: RequestOptions): APIPromise<HeadcountPriorityRetrieveResponse> {
|
|
34
|
-
return this._client.get(path`/headcount-priorities/${id}
|
|
34
|
+
return this._client.get(path`/headcount-priorities/${id}/`, options);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
package/src/resources/index.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
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';
|
|
4
9
|
export {
|
|
5
10
|
BusinessPartnerGroups,
|
|
6
11
|
type BusinessPartnerGroup,
|
|
@@ -54,6 +59,11 @@ export {
|
|
|
54
59
|
type CreateAppNotificationCreateResponse,
|
|
55
60
|
type CreateAppNotificationCreateParams,
|
|
56
61
|
} from './create-app-notification';
|
|
62
|
+
export {
|
|
63
|
+
CreateGcalEvent,
|
|
64
|
+
type CreateGcalEventCreateResponse,
|
|
65
|
+
type CreateGcalEventCreateParams,
|
|
66
|
+
} from './create-gcal-event';
|
|
57
67
|
export {
|
|
58
68
|
CustomApps,
|
|
59
69
|
type CustomAppListResponse,
|
|
@@ -98,6 +108,11 @@ export {
|
|
|
98
108
|
type CustomSettingUpdateParams,
|
|
99
109
|
type CustomSettingListResponsesPageCursorURL,
|
|
100
110
|
} from './custom-settings';
|
|
111
|
+
export {
|
|
112
|
+
DeleteCustomObjectRecord,
|
|
113
|
+
type DeleteCustomObjectRecordCreateResponse,
|
|
114
|
+
type DeleteCustomObjectRecordCreateParams,
|
|
115
|
+
} from './delete-custom-object-record';
|
|
101
116
|
export {
|
|
102
117
|
Departments,
|
|
103
118
|
type Department,
|
|
@@ -121,6 +136,7 @@ export {
|
|
|
121
136
|
type EntitlementListResponse,
|
|
122
137
|
type EntitlementListResponsesPageCursorURL,
|
|
123
138
|
} from './entitlements';
|
|
139
|
+
export { EvaluateRql, type EvaluateRqlCreateResponse, type EvaluateRqlCreateParams } from './evaluate-rql';
|
|
124
140
|
export {
|
|
125
141
|
Functions,
|
|
126
142
|
type Function,
|
|
@@ -305,7 +321,7 @@ export {
|
|
|
305
321
|
type ReportRunCreateParams,
|
|
306
322
|
} from './report-runs';
|
|
307
323
|
export { RunQuery, type RunQueryCreateResponse, type RunQueryCreateParams } from './run-query';
|
|
308
|
-
export { SSOMeResource, type SSOMe, type
|
|
324
|
+
export { SSOMeResource, type SSOMe, type SSOMeListParams } from './sso-me';
|
|
309
325
|
export {
|
|
310
326
|
Schedules,
|
|
311
327
|
type ScheduleListResponse,
|
|
@@ -319,7 +335,25 @@ export {
|
|
|
319
335
|
type ScheduleListResponsesPageCursorURL,
|
|
320
336
|
} from './schedules';
|
|
321
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';
|
|
322
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';
|
|
323
357
|
export {
|
|
324
358
|
ShiftAssignments,
|
|
325
359
|
type ShiftAssignmentUpdateCustomfieldsResponse,
|
|
@@ -424,6 +458,16 @@ export {
|
|
|
424
458
|
type UnassignedshiftUpdateParams,
|
|
425
459
|
type UnassignedshiftListResponsesPageCursorURL,
|
|
426
460
|
} 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';
|
|
427
471
|
export {
|
|
428
472
|
Users,
|
|
429
473
|
type User,
|
|
@@ -27,14 +27,14 @@ export class JobAssignments extends APIResource {
|
|
|
27
27
|
query: JobAssignmentListParams | null | undefined = {},
|
|
28
28
|
options?: RequestOptions,
|
|
29
29
|
): PagePromise<JobAssignmentsPageCursorURL, JobAssignment> {
|
|
30
|
-
return this._client.getAPIList('/job-assignments', PageCursorURL<JobAssignment>, { query, ...options });
|
|
30
|
+
return this._client.getAPIList('/job-assignments/', PageCursorURL<JobAssignment>, { query, ...options });
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* Create a new job assignment
|
|
35
35
|
*/
|
|
36
36
|
create(body: JobAssignmentCreateParams, options?: RequestOptions): APIPromise<JobAssignment> {
|
|
37
|
-
return this._client.post('/job-assignments', { body, ...options });
|
|
37
|
+
return this._client.post('/job-assignments/', { body, ...options });
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/**
|
|
@@ -45,21 +45,21 @@ export class JobAssignments extends APIResource {
|
|
|
45
45
|
query: JobAssignmentRetrieveParams | null | undefined = {},
|
|
46
46
|
options?: RequestOptions,
|
|
47
47
|
): APIPromise<JobAssignmentRetrieveResponse> {
|
|
48
|
-
return this._client.get(path`/job-assignments/${id}
|
|
48
|
+
return this._client.get(path`/job-assignments/${id}/`, { query, ...options });
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
52
|
* Updated a specific job assignment
|
|
53
53
|
*/
|
|
54
54
|
update(id: string, body: JobAssignmentUpdateParams, options?: RequestOptions): APIPromise<JobAssignment> {
|
|
55
|
-
return this._client.patch(path`/job-assignments/${id}
|
|
55
|
+
return this._client.patch(path`/job-assignments/${id}/`, { body, ...options });
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* Delete a job assignment
|
|
60
60
|
*/
|
|
61
61
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
62
|
-
return this._client.delete(path`/job-assignments/${id}
|
|
62
|
+
return this._client.delete(path`/job-assignments/${id}/`, {
|
|
63
63
|
...options,
|
|
64
64
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
65
65
|
});
|
|
@@ -78,7 +78,7 @@ export class JobAssignments extends APIResource {
|
|
|
78
78
|
options?: RequestOptions,
|
|
79
79
|
): PagePromise<AttributeChangeDetailsPageCursorURL, AttributeChangeDetails> {
|
|
80
80
|
return this._client.getAPIList(
|
|
81
|
-
path`/job-assignments/${jobAssignmentID}/change-log
|
|
81
|
+
path`/job-assignments/${jobAssignmentID}/change-log/`,
|
|
82
82
|
PageCursorURL<AttributeChangeDetails>,
|
|
83
83
|
{ query, ...options },
|
|
84
84
|
);
|
|
@@ -32,14 +32,14 @@ export class JobCodes extends APIResource {
|
|
|
32
32
|
query: JobCodeListParams | null | undefined = {},
|
|
33
33
|
options?: RequestOptions,
|
|
34
34
|
): PagePromise<JobCodesPageCursorURL, JobCode> {
|
|
35
|
-
return this._client.getAPIList('/job-codes', PageCursorURL<JobCode>, { query, ...options });
|
|
35
|
+
return this._client.getAPIList('/job-codes/', PageCursorURL<JobCode>, { query, ...options });
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Create a new job code
|
|
40
40
|
*/
|
|
41
41
|
create(body: JobCodeCreateParams, options?: RequestOptions): APIPromise<JobCode> {
|
|
42
|
-
return this._client.post('/job-codes', { body, ...options });
|
|
42
|
+
return this._client.post('/job-codes/', { body, ...options });
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
@@ -50,21 +50,21 @@ export class JobCodes extends APIResource {
|
|
|
50
50
|
query: JobCodeRetrieveParams | null | undefined = {},
|
|
51
51
|
options?: RequestOptions,
|
|
52
52
|
): APIPromise<JobCodeRetrieveResponse> {
|
|
53
|
-
return this._client.get(path`/job-codes/${id}
|
|
53
|
+
return this._client.get(path`/job-codes/${id}/`, { query, ...options });
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
57
|
* Updated a specific job code
|
|
58
58
|
*/
|
|
59
59
|
update(id: string, body: JobCodeUpdateParams, options?: RequestOptions): APIPromise<JobCode> {
|
|
60
|
-
return this._client.patch(path`/job-codes/${id}
|
|
60
|
+
return this._client.patch(path`/job-codes/${id}/`, { body, ...options });
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* Delete a job code
|
|
65
65
|
*/
|
|
66
66
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
67
|
-
return this._client.delete(path`/job-codes/${id}
|
|
67
|
+
return this._client.delete(path`/job-codes/${id}/`, {
|
|
68
68
|
...options,
|
|
69
69
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
70
70
|
});
|
|
@@ -83,7 +83,7 @@ export class JobCodes extends APIResource {
|
|
|
83
83
|
options?: RequestOptions,
|
|
84
84
|
): PagePromise<AttributeChangeDetailsPageCursorURL, JobAssignmentsAPI.AttributeChangeDetails> {
|
|
85
85
|
return this._client.getAPIList(
|
|
86
|
-
path`/job-codes/${jobCodeID}/change-log
|
|
86
|
+
path`/job-codes/${jobCodeID}/change-log/`,
|
|
87
87
|
PageCursorURL<JobAssignmentsAPI.AttributeChangeDetails>,
|
|
88
88
|
{ query, ...options },
|
|
89
89
|
);
|
|
@@ -23,35 +23,35 @@ export class JobDimensions extends APIResource {
|
|
|
23
23
|
query: JobDimensionListParams | null | undefined = {},
|
|
24
24
|
options?: RequestOptions,
|
|
25
25
|
): PagePromise<JobDimensionsPageCursorURL, JobDimension> {
|
|
26
|
-
return this._client.getAPIList('/job-dimensions', PageCursorURL<JobDimension>, { query, ...options });
|
|
26
|
+
return this._client.getAPIList('/job-dimensions/', PageCursorURL<JobDimension>, { query, ...options });
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Create a new job dimension
|
|
31
31
|
*/
|
|
32
32
|
create(body: JobDimensionCreateParams, options?: RequestOptions): APIPromise<JobDimension> {
|
|
33
|
-
return this._client.post('/job-dimensions', { body, ...options });
|
|
33
|
+
return this._client.post('/job-dimensions/', { body, ...options });
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* Retrieve a specific job dimension
|
|
38
38
|
*/
|
|
39
39
|
retrieve(id: string, options?: RequestOptions): APIPromise<JobDimensionRetrieveResponse> {
|
|
40
|
-
return this._client.get(path`/job-dimensions/${id}
|
|
40
|
+
return this._client.get(path`/job-dimensions/${id}/`, options);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
44
|
* Updated a specific job dimension
|
|
45
45
|
*/
|
|
46
46
|
update(id: string, body: JobDimensionUpdateParams, options?: RequestOptions): APIPromise<JobDimension> {
|
|
47
|
-
return this._client.patch(path`/job-dimensions/${id}
|
|
47
|
+
return this._client.patch(path`/job-dimensions/${id}/`, { body, ...options });
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
51
|
* Delete a job dimension
|
|
52
52
|
*/
|
|
53
53
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
54
|
-
return this._client.delete(path`/job-dimensions/${id}
|
|
54
|
+
return this._client.delete(path`/job-dimensions/${id}/`, {
|
|
55
55
|
...options,
|
|
56
56
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
57
57
|
});
|
|
@@ -21,7 +21,7 @@ export class JobFunctions extends APIResource {
|
|
|
21
21
|
query: JobFunctionListParams | null | undefined = {},
|
|
22
22
|
options?: RequestOptions,
|
|
23
23
|
): PagePromise<JobFunctionListResponsesPageCursorURL, JobFunctionListResponse> {
|
|
24
|
-
return this._client.getAPIList('/job-functions', PageCursorURL<JobFunctionListResponse>, {
|
|
24
|
+
return this._client.getAPIList('/job-functions/', PageCursorURL<JobFunctionListResponse>, {
|
|
25
25
|
query,
|
|
26
26
|
...options,
|
|
27
27
|
});
|
|
@@ -31,7 +31,7 @@ export class JobFunctions extends APIResource {
|
|
|
31
31
|
* Retrieve a specific job function
|
|
32
32
|
*/
|
|
33
33
|
retrieve(id: string, options?: RequestOptions): APIPromise<JobFunctionRetrieveResponse> {
|
|
34
|
-
return this._client.get(path`/job-functions/${id}
|
|
34
|
+
return this._client.get(path`/job-functions/${id}/`, options);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -26,7 +26,7 @@ export class JobPayRateExceptions extends APIResource {
|
|
|
26
26
|
query: JobPayRateExceptionListParams | null | undefined = {},
|
|
27
27
|
options?: RequestOptions,
|
|
28
28
|
): PagePromise<JobPayRateExceptionsPageCursorURL, JobPayRateException> {
|
|
29
|
-
return this._client.getAPIList('/job-pay-rate-exceptions', PageCursorURL<JobPayRateException>, {
|
|
29
|
+
return this._client.getAPIList('/job-pay-rate-exceptions/', PageCursorURL<JobPayRateException>, {
|
|
30
30
|
query,
|
|
31
31
|
...options,
|
|
32
32
|
});
|
|
@@ -40,7 +40,7 @@ export class JobPayRateExceptions extends APIResource {
|
|
|
40
40
|
query: JobPayRateExceptionRetrieveParams | null | undefined = {},
|
|
41
41
|
options?: RequestOptions,
|
|
42
42
|
): APIPromise<JobPayRateExceptionRetrieveResponse> {
|
|
43
|
-
return this._client.get(path`/job-pay-rate-exceptions/${id}
|
|
43
|
+
return this._client.get(path`/job-pay-rate-exceptions/${id}/`, { query, ...options });
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/**
|
|
@@ -56,7 +56,7 @@ export class JobPayRateExceptions extends APIResource {
|
|
|
56
56
|
options?: RequestOptions,
|
|
57
57
|
): PagePromise<AttributeChangeDetailsPageCursorURL, JobAssignmentsAPI.AttributeChangeDetails> {
|
|
58
58
|
return this._client.getAPIList(
|
|
59
|
-
path`/job-pay-rate-exceptions/${jobPayRateExceptionID}/change-log
|
|
59
|
+
path`/job-pay-rate-exceptions/${jobPayRateExceptionID}/change-log/`,
|
|
60
60
|
PageCursorURL<JobAssignmentsAPI.AttributeChangeDetails>,
|
|
61
61
|
{ query, ...options },
|
|
62
62
|
);
|
|
@@ -15,7 +15,7 @@ export class JobRequisitionsWrite extends APIResource {
|
|
|
15
15
|
body: JobRequisitionsWriteCreateParams,
|
|
16
16
|
options?: RequestOptions,
|
|
17
17
|
): APIPromise<JobRequisitionsWriteCreateResponse> {
|
|
18
|
-
return this._client.post('/job-requisitions-write', { body, ...options });
|
|
18
|
+
return this._client.post('/job-requisitions-write/', { body, ...options });
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -18,7 +18,10 @@ export class JobRequisitions extends APIResource {
|
|
|
18
18
|
query: JobRequisitionListParams | null | undefined = {},
|
|
19
19
|
options?: RequestOptions,
|
|
20
20
|
): PagePromise<JobRequisitionsPageCursorURL, JobRequisition> {
|
|
21
|
-
return this._client.getAPIList('/job-requisitions', PageCursorURL<JobRequisition>, {
|
|
21
|
+
return this._client.getAPIList('/job-requisitions/', PageCursorURL<JobRequisition>, {
|
|
22
|
+
query,
|
|
23
|
+
...options,
|
|
24
|
+
});
|
|
22
25
|
}
|
|
23
26
|
}
|
|
24
27
|
|
|
@@ -25,7 +25,7 @@ export class KioskBadges extends APIResource {
|
|
|
25
25
|
query: KioskBadgeListParams | null | undefined = {},
|
|
26
26
|
options?: RequestOptions,
|
|
27
27
|
): PagePromise<KioskBadgeListResponsesPageCursorURL, KioskBadgeListResponse> {
|
|
28
|
-
return this._client.getAPIList('/kiosk-badges', PageCursorURL<KioskBadgeListResponse>, {
|
|
28
|
+
return this._client.getAPIList('/kiosk-badges/', PageCursorURL<KioskBadgeListResponse>, {
|
|
29
29
|
query,
|
|
30
30
|
...options,
|
|
31
31
|
});
|
|
@@ -35,7 +35,7 @@ export class KioskBadges extends APIResource {
|
|
|
35
35
|
* Create a new kiosk badge
|
|
36
36
|
*/
|
|
37
37
|
create(body: KioskBadgeCreateParams, options?: RequestOptions): APIPromise<KioskBadgeCreateResponse> {
|
|
38
|
-
return this._client.post('/kiosk-badges', { body, ...options });
|
|
38
|
+
return this._client.post('/kiosk-badges/', { body, ...options });
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -46,7 +46,7 @@ export class KioskBadges extends APIResource {
|
|
|
46
46
|
query: KioskBadgeRetrieveParams | null | undefined = {},
|
|
47
47
|
options?: RequestOptions,
|
|
48
48
|
): APIPromise<KioskBadgeRetrieveResponse> {
|
|
49
|
-
return this._client.get(path`/kiosk-badges/${id}
|
|
49
|
+
return this._client.get(path`/kiosk-badges/${id}/`, { query, ...options });
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
/**
|
|
@@ -57,14 +57,14 @@ export class KioskBadges extends APIResource {
|
|
|
57
57
|
body: KioskBadgeUpdateParams,
|
|
58
58
|
options?: RequestOptions,
|
|
59
59
|
): APIPromise<KioskBadgeUpdateResponse> {
|
|
60
|
-
return this._client.patch(path`/kiosk-badges/${id}
|
|
60
|
+
return this._client.patch(path`/kiosk-badges/${id}/`, { body, ...options });
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* Delete a kiosk badge
|
|
65
65
|
*/
|
|
66
66
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
67
|
-
return this._client.delete(path`/kiosk-badges/${id}
|
|
67
|
+
return this._client.delete(path`/kiosk-badges/${id}/`, {
|
|
68
68
|
...options,
|
|
69
69
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
70
70
|
});
|
|
@@ -25,7 +25,7 @@ export class LeaveAccruals extends APIResource {
|
|
|
25
25
|
query: LeaveAccrualListParams | null | undefined = {},
|
|
26
26
|
options?: RequestOptions,
|
|
27
27
|
): PagePromise<LeaveAccrualListResponsesPageCursorURL, LeaveAccrualListResponse> {
|
|
28
|
-
return this._client.getAPIList('/leave-accruals', PageCursorURL<LeaveAccrualListResponse>, {
|
|
28
|
+
return this._client.getAPIList('/leave-accruals/', PageCursorURL<LeaveAccrualListResponse>, {
|
|
29
29
|
query,
|
|
30
30
|
...options,
|
|
31
31
|
});
|
|
@@ -35,7 +35,7 @@ export class LeaveAccruals extends APIResource {
|
|
|
35
35
|
* Create a new leave accrual
|
|
36
36
|
*/
|
|
37
37
|
create(body: LeaveAccrualCreateParams, options?: RequestOptions): APIPromise<LeaveAccrualCreateResponse> {
|
|
38
|
-
return this._client.post('/leave-accruals', { body, ...options });
|
|
38
|
+
return this._client.post('/leave-accruals/', { body, ...options });
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -46,7 +46,7 @@ export class LeaveAccruals extends APIResource {
|
|
|
46
46
|
query: LeaveAccrualRetrieveParams | null | undefined = {},
|
|
47
47
|
options?: RequestOptions,
|
|
48
48
|
): APIPromise<LeaveAccrualRetrieveResponse> {
|
|
49
|
-
return this._client.get(path`/leave-accruals/${id}
|
|
49
|
+
return this._client.get(path`/leave-accruals/${id}/`, { query, ...options });
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -25,7 +25,7 @@ export class LeaveBalances extends APIResource {
|
|
|
25
25
|
query: LeaveBalanceListParams | null | undefined = {},
|
|
26
26
|
options?: RequestOptions,
|
|
27
27
|
): PagePromise<LeaveBalancesPageCursorURL, LeaveBalance> {
|
|
28
|
-
return this._client.getAPIList('/leave-balances', PageCursorURL<LeaveBalance>, { query, ...options });
|
|
28
|
+
return this._client.getAPIList('/leave-balances/', PageCursorURL<LeaveBalance>, { query, ...options });
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/**
|
|
@@ -36,7 +36,7 @@ export class LeaveBalances extends APIResource {
|
|
|
36
36
|
query: LeaveBalanceRetrieveParams | null | undefined = {},
|
|
37
37
|
options?: RequestOptions,
|
|
38
38
|
): APIPromise<LeaveBalanceRetrieveResponse> {
|
|
39
|
-
return this._client.get(path`/leave-balances/${id}
|
|
39
|
+
return this._client.get(path`/leave-balances/${id}/`, { query, ...options });
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -26,7 +26,7 @@ export class LeaveRequests extends APIResource {
|
|
|
26
26
|
query: LeaveRequestListParams | null | undefined = {},
|
|
27
27
|
options?: RequestOptions,
|
|
28
28
|
): PagePromise<LeaveRequestListResponsesPageCursorURL, LeaveRequestListResponse> {
|
|
29
|
-
return this._client.getAPIList('/leave-requests', PageCursorURL<LeaveRequestListResponse>, {
|
|
29
|
+
return this._client.getAPIList('/leave-requests/', PageCursorURL<LeaveRequestListResponse>, {
|
|
30
30
|
query,
|
|
31
31
|
...options,
|
|
32
32
|
});
|
|
@@ -36,7 +36,7 @@ export class LeaveRequests extends APIResource {
|
|
|
36
36
|
* Create a new leave request
|
|
37
37
|
*/
|
|
38
38
|
create(body: LeaveRequestCreateParams, options?: RequestOptions): APIPromise<LeaveRequestCreateResponse> {
|
|
39
|
-
return this._client.post('/leave-requests', { body, ...options });
|
|
39
|
+
return this._client.post('/leave-requests/', { body, ...options });
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
@@ -47,7 +47,7 @@ export class LeaveRequests extends APIResource {
|
|
|
47
47
|
query: LeaveRequestRetrieveParams | null | undefined = {},
|
|
48
48
|
options?: RequestOptions,
|
|
49
49
|
): APIPromise<LeaveRequestRetrieveResponse> {
|
|
50
|
-
return this._client.get(path`/leave-requests/${id}
|
|
50
|
+
return this._client.get(path`/leave-requests/${id}/`, { query, ...options });
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/**
|
|
@@ -58,7 +58,7 @@ export class LeaveRequests extends APIResource {
|
|
|
58
58
|
body: LeaveRequestUpdateParams,
|
|
59
59
|
options?: RequestOptions,
|
|
60
60
|
): APIPromise<LeaveRequestUpdateResponse> {
|
|
61
|
-
return this._client.patch(path`/leave-requests/${id}
|
|
61
|
+
return this._client.patch(path`/leave-requests/${id}/`, { body, ...options });
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -22,14 +22,14 @@ export class LeaveTypes extends APIResource {
|
|
|
22
22
|
query: LeaveTypeListParams | null | undefined = {},
|
|
23
23
|
options?: RequestOptions,
|
|
24
24
|
): PagePromise<LeaveTypesPageCursorURL, LeaveType> {
|
|
25
|
-
return this._client.getAPIList('/leave-types', PageCursorURL<LeaveType>, { query, ...options });
|
|
25
|
+
return this._client.getAPIList('/leave-types/', PageCursorURL<LeaveType>, { query, ...options });
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* Retrieve a specific leave type
|
|
30
30
|
*/
|
|
31
31
|
retrieve(id: string, options?: RequestOptions): APIPromise<LeaveTypeRetrieveResponse> {
|
|
32
|
-
return this._client.get(path`/leave-types/${id}
|
|
32
|
+
return this._client.get(path`/leave-types/${id}/`, options);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -24,7 +24,7 @@ export class LegalEntities extends APIResource {
|
|
|
24
24
|
query: LegalEntityListParams | null | undefined = {},
|
|
25
25
|
options?: RequestOptions,
|
|
26
26
|
): PagePromise<LegalEntitiesPageCursorURL, LegalEntity> {
|
|
27
|
-
return this._client.getAPIList('/legal-entities', PageCursorURL<LegalEntity>, { query, ...options });
|
|
27
|
+
return this._client.getAPIList('/legal-entities/', PageCursorURL<LegalEntity>, { query, ...options });
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
@@ -35,7 +35,7 @@ export class LegalEntities extends APIResource {
|
|
|
35
35
|
query: LegalEntityRetrieveParams | null | undefined = {},
|
|
36
36
|
options?: RequestOptions,
|
|
37
37
|
): APIPromise<LegalEntityRetrieveResponse> {
|
|
38
|
-
return this._client.get(path`/legal-entities/${id}
|
|
38
|
+
return this._client.get(path`/legal-entities/${id}/`, { query, ...options });
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
package/src/resources/levels.ts
CHANGED
|
@@ -23,7 +23,7 @@ export class Levels extends APIResource {
|
|
|
23
23
|
query: LevelListParams | null | undefined = {},
|
|
24
24
|
options?: RequestOptions,
|
|
25
25
|
): PagePromise<LevelsPageCursorURL, Level> {
|
|
26
|
-
return this._client.getAPIList('/levels', PageCursorURL<Level>, { query, ...options });
|
|
26
|
+
return this._client.getAPIList('/levels/', PageCursorURL<Level>, { query, ...options });
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/**
|
|
@@ -34,7 +34,7 @@ export class Levels extends APIResource {
|
|
|
34
34
|
query: LevelRetrieveParams | null | undefined = {},
|
|
35
35
|
options?: RequestOptions,
|
|
36
36
|
): APIPromise<LevelRetrieveResponse> {
|
|
37
|
-
return this._client.get(path`/levels/${id}
|
|
37
|
+
return this._client.get(path`/levels/${id}/`, { query, ...options });
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|